diff --git a/docs/assets/AdminForbidden-17545195-balabala-1786725044461.css b/docs/assets/AdminForbidden-17545195-balabala-1786807848259.css similarity index 100% rename from docs/assets/AdminForbidden-17545195-balabala-1786725044461.css rename to docs/assets/AdminForbidden-17545195-balabala-1786807848259.css diff --git a/docs/assets/AdminForbidden-22d59179-1786725044461.js b/docs/assets/AdminForbidden-1d2d2690-1786807848259.js similarity index 80% rename from docs/assets/AdminForbidden-22d59179-1786725044461.js rename to docs/assets/AdminForbidden-1d2d2690-1786807848259.js index c5a498d..94a384d 100644 --- a/docs/assets/AdminForbidden-22d59179-1786725044461.js +++ b/docs/assets/AdminForbidden-1d2d2690-1786807848259.js @@ -1 +1 @@ -import{_}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{O as t,o as d,c,b as o,x as n,B as i}from"./index-1786725044461.js";const l={},p={class:"forbidden-page"};function f(s,e){const r=t("a-button"),a=t("a-result");return d(),c("div",p,[o(a,{status:"403",title:"无后台管理权限","sub-title":"当前账号可以访问业务大屏,但未被授予后台管理员角色。"},{extra:n(()=>[o(r,{type:"primary",onClick:e[0]||(e[0]=m=>s.$router.replace("/platform"))},{default:n(()=>[...e[1]||(e[1]=[i("返回业务大屏",-1)])]),_:1})]),_:1})])}const x=_(l,[["render",f],["__scopeId","data-v-59c03ff7"]]);export{x as default}; +import{_}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{O as t,o as d,c,b as o,x as n,B as i}from"./index-1786807848259.js";const l={},p={class:"forbidden-page"};function f(s,e){const r=t("a-button"),a=t("a-result");return d(),c("div",p,[o(a,{status:"403",title:"无后台管理权限","sub-title":"当前账号可以访问业务大屏,但未被授予后台管理员角色。"},{extra:n(()=>[o(r,{type:"primary",onClick:e[0]||(e[0]=m=>s.$router.replace("/platform"))},{default:n(()=>[...e[1]||(e[1]=[i("返回业务大屏",-1)])]),_:1})]),_:1})])}const x=_(l,[["render",f],["__scopeId","data-v-59c03ff7"]]);export{x as default}; diff --git a/docs/assets/AdminLayout-65f8f230-1786725044461.js b/docs/assets/AdminLayout-65f8f230-1786725044461.js deleted file mode 100644 index 6860b6f..0000000 --- a/docs/assets/AdminLayout-65f8f230-1786725044461.js +++ /dev/null @@ -1 +0,0 @@ -var w=(n,e,t)=>new Promise((a,r)=>{var p=m=>{try{b(t.next(m))}catch(c){r(c)}},y=m=>{try{b(t.throw(m))}catch(c){r(c)}},b=m=>m.done?a(m.value):Promise.resolve(m.value).then(p,y);b((t=t.apply(n,e)).next())});import{b as o,M as v,l as Y,m as Z,d as C,g as K,w as ee,q as te,N as ne,O as i,o as _,C as S,x as u,L as ae,a as s,c as re,j as oe,u as d,B as f,t as h,P as le,E as ue}from"./index-1786725044461.js";import{_ as ce}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";var ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};const se=ie;function L(n){for(var e=1;eString(p.nickName||p.userName||"管").slice(0,1));ee(()=>e.path,c=>{r.value=[c]}),te(()=>w(this,null,function*(){try{const c=yield ne();Object.assign(p,c.user||{})}catch(c){}}));function b({key:c}){c!==e.path&&t.push(c)}function m(l){return w(this,arguments,function*({key:c}){c==="platform"?t.push("/platform"):c==="logout"&&(yield ue())})}return(c,l)=>{const O=i("a-menu-item"),E=i("a-sub-menu"),N=i("a-menu"),T=i("a-layout-sider"),x=i("a-breadcrumb-item"),R=i("a-breadcrumb"),I=i("a-button"),q=i("a-avatar"),W=i("a-menu-divider"),G=i("a-dropdown"),J=i("a-layout-header"),Q=i("router-view"),X=i("a-layout-content"),A=i("a-layout");return _(),S(A,{class:"admin-shell"},{default:u(()=>[o(T,{collapsed:a.value,"onUpdate:collapsed":l[1]||(l[1]=g=>a.value=g),trigger:null,collapsible:"",width:216,class:"admin-sider"},{default:u(()=>[s("div",Ae,[l[5]||(l[5]=s("div",{class:"admin-brand-mark"},"红",-1)),a.value?oe("",!0):(_(),re("div",Ce,[...l[4]||(l[4]=[s("strong",null,"红原数字畜牧",-1),s("span",null,"后台管理系统",-1)])]))]),o(N,{selectedKeys:r.value,"onUpdate:selectedKeys":l[0]||(l[0]=g=>r.value=g),theme:"dark",mode:"inline",class:"admin-menu",onClick:b},{default:u(()=>[o(O,{key:"/admin/users"},{icon:u(()=>[o(d(xe))]),default:u(()=>[l[6]||(l[6]=s("span",null,"用户管理",-1))]),_:1}),o(E,{key:"logs"},{icon:u(()=>[o(d(ve))]),title:u(()=>[...l[7]||(l[7]=[f("日志管理",-1)])]),default:u(()=>[o(O,{key:"/admin/operation-logs"},{default:u(()=>[...l[8]||(l[8]=[f("操作日志",-1)])]),_:1}),o(O,{key:"/admin/login-logs"},{default:u(()=>[...l[9]||(l[9]=[f("登录日志",-1)])]),_:1})]),_:1})]),_:1},8,["selectedKeys"])]),_:1},8,["collapsed"]),o(A,{class:"admin-main-layout"},{default:u(()=>[o(J,{class:"admin-header"},{default:u(()=>[s("div",Le,[s("button",{class:"admin-collapse",type:"button","aria-label":a.value?"展开菜单":"收起菜单",onClick:l[2]||(l[2]=g=>a.value=!a.value)},[a.value?(_(),S(d($e),{key:0})):(_(),S(d(Se),{key:1}))],8,De),o(R,null,{default:u(()=>[o(x,null,{default:u(()=>[...l[10]||(l[10]=[f("后台管理",-1)])]),_:1}),o(x,null,{default:u(()=>[f(h(d(e).meta.title||"用户管理"),1)]),_:1})]),_:1})]),s("div",ke,[o(I,{type:"text",onClick:l[3]||(l[3]=g=>d(t).push("/platform"))},{icon:u(()=>[o(d(D))]),default:u(()=>[l[11]||(l[11]=f(" 返回大屏 ",-1))]),_:1}),o(G,{placement:"bottomRight"},{overlay:u(()=>[o(N,{onClick:m},{default:u(()=>[o(O,{key:"platform"},{default:u(()=>[o(d(D)),l[12]||(l[12]=f(" 返回大屏",-1))]),_:1}),o(W),o(O,{key:"logout"},{default:u(()=>[o(d(_e)),l[13]||(l[13]=f(" 退出登录",-1))]),_:1})]),_:1})]),default:u(()=>[s("button",Fe,[o(q,{size:32,class:"admin-avatar"},{default:u(()=>[f(h(y.value),1)]),_:1}),s("span",Be,[s("strong",null,h(p.nickName||p.userName||"管理员"),1),s("small",null,h(p.userName||""),1)]),o(d(le),{class:"admin-user-arrow"})])]),_:1})])]),_:1}),o(X,{class:"admin-content"},{default:u(()=>[o(Q)]),_:1})]),_:1})]),_:1})}}},Re=ce(Ue,[["__scopeId","data-v-b321818c"]]);export{Re as default}; diff --git a/docs/assets/AdminLayout-8db5b2b6-balabala-1786807848259.css b/docs/assets/AdminLayout-8db5b2b6-balabala-1786807848259.css new file mode 100644 index 0000000..7b9a1d0 --- /dev/null +++ b/docs/assets/AdminLayout-8db5b2b6-balabala-1786807848259.css @@ -0,0 +1 @@ +.admin-shell[data-v-db35a763]{width:100%;height:100%;min-width:0;background:#f3f5f8;color:#1f2937;font-family:AlibabaPuHuiTi,PingFang SC,Microsoft YaHei,sans-serif}.admin-sider[data-v-db35a763]{position:relative;z-index:2;overflow:hidden;background:#001529!important;box-shadow:2px 0 12px #0015291f}.admin-brand[data-v-db35a763]{height:64px;display:flex;align-items:center;gap:11px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08);color:#fff;white-space:nowrap}.admin-brand-mark[data-v-db35a763]{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#1677ff,#4096ff);font-size:18px;font-weight:700;box-shadow:0 6px 18px #1677ff57}.admin-brand-copy[data-v-db35a763]{display:flex;flex-direction:column;line-height:1.2}.admin-brand-copy strong[data-v-db35a763]{font-size:15px;letter-spacing:.5px}.admin-brand-copy span[data-v-db35a763]{margin-top:4px;color:#ffffff8a;font-size:11px}.admin-menu[data-v-db35a763]{margin-top:12px;border-inline-end:0!important}.admin-main-layout[data-v-db35a763]{min-width:0;background:#f3f5f8}.admin-header[data-v-db35a763]{height:64px;padding:0 22px 0 12px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #edf0f4;box-shadow:0 1px 4px #0f172a0a}.admin-header-left[data-v-db35a763],.admin-header-actions[data-v-db35a763],.admin-user[data-v-db35a763]{display:flex;align-items:center}.admin-header-left[data-v-db35a763]{gap:14px}.admin-header-actions[data-v-db35a763]{gap:6px}.admin-collapse[data-v-db35a763]{width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#4b5563;font-size:18px;cursor:pointer}.admin-collapse[data-v-db35a763]:hover{background:#f2f5f9;color:#1677ff}.admin-user[data-v-db35a763]{gap:9px;padding:5px 7px;border:0;border-radius:8px;background:transparent;color:#27364a;cursor:pointer}.admin-user[data-v-db35a763]:hover{background:#f4f7fb}.admin-avatar[data-v-db35a763]{background:#1677ff;font-weight:600}.admin-user-copy[data-v-db35a763]{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.admin-user-copy strong[data-v-db35a763]{font-size:13px;font-weight:600}.admin-user-copy small[data-v-db35a763]{margin-top:3px;color:#8c97a8;font-size:11px}.admin-user-arrow[data-v-db35a763]{color:#9aa4b2;font-size:10px}.admin-content[data-v-db35a763]{min-height:0;overflow:auto;padding:20px}@media (max-width: 900px){.admin-header[data-v-db35a763]{padding-right:12px}.admin-header-actions[data-v-db35a763]>.ant-btn{display:none}.admin-user-copy[data-v-db35a763],.admin-user-arrow[data-v-db35a763]{display:none}.admin-content[data-v-db35a763]{padding:14px}} diff --git a/docs/assets/AdminLayout-a2b9311f-balabala-1786725044461.css b/docs/assets/AdminLayout-a2b9311f-balabala-1786725044461.css deleted file mode 100644 index ca41f85..0000000 --- a/docs/assets/AdminLayout-a2b9311f-balabala-1786725044461.css +++ /dev/null @@ -1 +0,0 @@ -.admin-shell[data-v-b321818c]{width:100%;height:100%;min-width:0;background:#f3f5f8;color:#1f2937;font-family:AlibabaPuHuiTi,PingFang SC,Microsoft YaHei,sans-serif}.admin-sider[data-v-b321818c]{position:relative;z-index:2;overflow:hidden;background:#001529!important;box-shadow:2px 0 12px #0015291f}.admin-brand[data-v-b321818c]{height:64px;display:flex;align-items:center;gap:11px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08);color:#fff;white-space:nowrap}.admin-brand-mark[data-v-b321818c]{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#1677ff,#4096ff);font-size:18px;font-weight:700;box-shadow:0 6px 18px #1677ff57}.admin-brand-copy[data-v-b321818c]{display:flex;flex-direction:column;line-height:1.2}.admin-brand-copy strong[data-v-b321818c]{font-size:15px;letter-spacing:.5px}.admin-brand-copy span[data-v-b321818c]{margin-top:4px;color:#ffffff8a;font-size:11px}.admin-menu[data-v-b321818c]{margin-top:12px;border-inline-end:0!important}.admin-main-layout[data-v-b321818c]{min-width:0;background:#f3f5f8}.admin-header[data-v-b321818c]{height:64px;padding:0 22px 0 12px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #edf0f4;box-shadow:0 1px 4px #0f172a0a}.admin-header-left[data-v-b321818c],.admin-header-actions[data-v-b321818c],.admin-user[data-v-b321818c]{display:flex;align-items:center}.admin-header-left[data-v-b321818c]{gap:14px}.admin-header-actions[data-v-b321818c]{gap:6px}.admin-collapse[data-v-b321818c]{width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#4b5563;font-size:18px;cursor:pointer}.admin-collapse[data-v-b321818c]:hover{background:#f2f5f9;color:#1677ff}.admin-user[data-v-b321818c]{gap:9px;padding:5px 7px;border:0;border-radius:8px;background:transparent;color:#27364a;cursor:pointer}.admin-user[data-v-b321818c]:hover{background:#f4f7fb}.admin-avatar[data-v-b321818c]{background:#1677ff;font-weight:600}.admin-user-copy[data-v-b321818c]{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.admin-user-copy strong[data-v-b321818c]{font-size:13px;font-weight:600}.admin-user-copy small[data-v-b321818c]{margin-top:3px;color:#8c97a8;font-size:11px}.admin-user-arrow[data-v-b321818c]{color:#9aa4b2;font-size:10px}.admin-content[data-v-b321818c]{min-height:0;overflow:auto;padding:20px}@media (max-width: 900px){.admin-header[data-v-b321818c]{padding-right:12px}.admin-header-actions[data-v-b321818c]>.ant-btn{display:none}.admin-user-copy[data-v-b321818c],.admin-user-arrow[data-v-b321818c]{display:none}.admin-content[data-v-b321818c]{padding:14px}} diff --git a/docs/assets/AdminLayout-a6cc5677-1786807848259.js b/docs/assets/AdminLayout-a6cc5677-1786807848259.js new file mode 100644 index 0000000..773b974 --- /dev/null +++ b/docs/assets/AdminLayout-a6cc5677-1786807848259.js @@ -0,0 +1 @@ +var w=(n,t,e)=>new Promise((a,r)=>{var p=m=>{try{O(e.next(m))}catch(c){r(c)}},y=m=>{try{O(e.throw(m))}catch(c){r(c)}},O=m=>m.done?a(m.value):Promise.resolve(m.value).then(p,y);O((e=e.apply(n,t)).next())});import{b as o,M as v,l as K,m as tt,d as D,g as et,w as nt,q as at,N as rt,O as i,o as _,C as P,x as u,L as ot,a as s,c as lt,j as ut,u as d,B as f,t as h,P as ct,E as it}from"./index-1786807848259.js";import{_ as st}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";var dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};const mt=dt;function L(n){for(var t=1;tString(p.nickName||p.userName||"管").slice(0,1));nt(()=>t.path,c=>{r.value=[c]}),at(()=>w(this,null,function*(){try{const c=yield rt();Object.assign(p,c.user||{})}catch(c){}}));function O({key:c}){c!==t.path&&e.push(c)}function m(l){return w(this,arguments,function*({key:c}){c==="platform"?e.push("/platform"):c==="logout"&&(yield it())})}return(c,l)=>{const b=i("a-menu-item"),T=i("a-sub-menu"),x=i("a-menu"),I=i("a-layout-sider"),A=i("a-breadcrumb-item"),q=i("a-breadcrumb"),W=i("a-button"),G=i("a-avatar"),J=i("a-menu-divider"),Q=i("a-dropdown"),X=i("a-layout-header"),Y=i("router-view"),Z=i("a-layout-content"),C=i("a-layout");return _(),P(C,{class:"admin-shell"},{default:u(()=>[o(I,{collapsed:a.value,"onUpdate:collapsed":l[1]||(l[1]=g=>a.value=g),trigger:null,collapsible:"",width:216,class:"admin-sider"},{default:u(()=>[s("div",Ft,[l[5]||(l[5]=s("div",{class:"admin-brand-mark"},"红",-1)),a.value?ut("",!0):(_(),lt("div",Vt,[...l[4]||(l[4]=[s("strong",null,"红原数字畜牧",-1),s("span",null,"后台管理系统",-1)])]))]),o(x,{selectedKeys:r.value,"onUpdate:selectedKeys":l[0]||(l[0]=g=>r.value=g),theme:"dark",mode:"inline",class:"admin-menu",onClick:O},{default:u(()=>[o(b,{key:"/admin/users"},{icon:u(()=>[o(d(Bt))]),default:u(()=>[l[6]||(l[6]=s("span",null,"用户管理",-1))]),_:1}),o(b,{key:"/admin/smart-management"},{icon:u(()=>[o(d(Ct))]),default:u(()=>[l[7]||(l[7]=s("span",null,"智慧管理配置",-1))]),_:1}),o(T,{key:"logs"},{icon:u(()=>[o(d(Ot))]),title:u(()=>[...l[8]||(l[8]=[f("日志管理",-1)])]),default:u(()=>[o(b,{key:"/admin/operation-logs"},{default:u(()=>[...l[9]||(l[9]=[f("操作日志",-1)])]),_:1}),o(b,{key:"/admin/login-logs"},{default:u(()=>[...l[10]||(l[10]=[f("登录日志",-1)])]),_:1})]),_:1})]),_:1},8,["selectedKeys"])]),_:1},8,["collapsed"]),o(C,{class:"admin-main-layout"},{default:u(()=>[o(X,{class:"admin-header"},{default:u(()=>[s("div",Ut,[s("button",{class:"admin-collapse",type:"button","aria-label":a.value?"展开菜单":"收起菜单",onClick:l[2]||(l[2]=g=>a.value=!a.value)},[a.value?(_(),P(d(Ht),{key:0})):(_(),P(d(jt),{key:1}))],8,Et),o(q,null,{default:u(()=>[o(A,null,{default:u(()=>[...l[11]||(l[11]=[f("后台管理",-1)])]),_:1}),o(A,null,{default:u(()=>[f(h(d(t).meta.title||"用户管理"),1)]),_:1})]),_:1})]),s("div",Rt,[o(W,{type:"text",onClick:l[3]||(l[3]=g=>d(e).push("/platform"))},{icon:u(()=>[o(d(k))]),default:u(()=>[l[12]||(l[12]=f(" 返回大屏 ",-1))]),_:1}),o(Q,{placement:"bottomRight"},{overlay:u(()=>[o(x,{onClick:m},{default:u(()=>[o(b,{key:"platform"},{default:u(()=>[o(d(k)),l[13]||(l[13]=f(" 返回大屏",-1))]),_:1}),o(J),o(b,{key:"logout"},{default:u(()=>[o(d(yt)),l[14]||(l[14]=f(" 退出登录",-1))]),_:1})]),_:1})]),default:u(()=>[s("button",Tt,[o(G,{size:32,class:"admin-avatar"},{default:u(()=>[f(h(y.value),1)]),_:1}),s("span",It,[s("strong",null,h(p.nickName||p.userName||"管理员"),1),s("small",null,h(p.userName||""),1)]),o(d(ct),{class:"admin-user-arrow"})])]),_:1})])]),_:1}),o(Z,{class:"admin-content"},{default:u(()=>[o(Y)]),_:1})]),_:1})]),_:1})}}},Qt=st(qt,[["__scopeId","data-v-db35a763"]]);export{Qt as default}; diff --git a/docs/assets/AlibabaPuHuiTi-14435b65-balabala-1786725044461.woff2 b/docs/assets/AlibabaPuHuiTi-14435b65-balabala-1786807848259.woff2 similarity index 100% rename from docs/assets/AlibabaPuHuiTi-14435b65-balabala-1786725044461.woff2 rename to docs/assets/AlibabaPuHuiTi-14435b65-balabala-1786807848259.woff2 diff --git a/docs/assets/AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786725044461.ttf b/docs/assets/AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786807848259.ttf similarity index 100% rename from docs/assets/AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786725044461.ttf rename to docs/assets/AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786807848259.ttf diff --git a/docs/assets/AlimamaShuHeiTi-Bold-a95023f2-balabala-1786725044461.woff b/docs/assets/AlimamaShuHeiTi-Bold-a95023f2-balabala-1786807848259.woff similarity index 100% rename from docs/assets/AlimamaShuHeiTi-Bold-a95023f2-balabala-1786725044461.woff rename to docs/assets/AlimamaShuHeiTi-Bold-a95023f2-balabala-1786807848259.woff diff --git a/docs/assets/AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786725044461.woff2 b/docs/assets/AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786807848259.woff2 similarity index 100% rename from docs/assets/AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786725044461.woff2 rename to docs/assets/AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786807848259.woff2 diff --git a/docs/assets/FeatureInfoPanel-8c5860b5-1786725044461.js b/docs/assets/FeatureInfoPanel-9b5cdecf-1786807848259.js similarity index 99% rename from docs/assets/FeatureInfoPanel-8c5860b5-1786725044461.js rename to docs/assets/FeatureInfoPanel-9b5cdecf-1786807848259.js index b7ca87e..def5439 100644 --- a/docs/assets/FeatureInfoPanel-8c5860b5-1786725044461.js +++ b/docs/assets/FeatureInfoPanel-9b5cdecf-1786807848259.js @@ -1,3 +1,3 @@ -var lt=Object.defineProperty,rt=Object.defineProperties;var ut=Object.getOwnPropertyDescriptors;var Mn=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Nn=(f,G,v)=>G in f?lt(f,G,{enumerable:!0,configurable:!0,writable:!0,value:v}):f[G]=v,Ue=(f,G)=>{for(var v in G||(G={}))ot.call(G,v)&&Nn(f,v,G[v]);if(Mn)for(var v of Mn(G))it.call(G,v)&&Nn(f,v,G[v]);return f},Oe=(f,G)=>rt(f,ut(G));import{g as _,o as t,c as s,j as m,F as x,y as j,a as u,t as o,K as L,n as N,q as ct,h as dt,w as Pa,C as aa,B as I,x as za,f as Q,s as mn,H as Sn,e as xe,a5 as _t,d as ke}from"./index-1786725044461.js";import{K as ga,M as vt}from"./screen2Standard-3427eaf8-1786725044461.js";import{_ as pt}from"./index-262a2c3c-1786725044461.js";import{i as yt,q as Cn}from"./index-151544a4-1786725044461.js";const gt={key:0,class:"business-stat-empty"},ht=["data-chart-tooltip"],ft={class:"business-stat-rank"},bt={class:"business-stat-main"},xt={class:"business-stat-name"},kt={class:"business-stat-bar"},wt={class:"business-stat-value"},$t={key:0},Ln={__name:"BusinessStatList",props:{rows:{type:Array,default:()=>[]},compact:{type:Boolean,default:!1}},setup(f){const G=f,v=_(()=>{const C=G.rows.map(D=>Number(D.value)).filter(D=>!Number.isNaN(D));return Math.max(...C,1)});function He(C){const D=Number(C.value);return Number.isNaN(D)?36:Math.max(8,Math.round(D/v.value*100))}function we(C){const D=(C==null?void 0:C.value)===void 0||(C==null?void 0:C.value)===null||(C==null?void 0:C.value)===""?"--":C.value,g=(C==null?void 0:C.unit)||"",S=[`数值:${D}${g}`];return C!=null&&C.extra&&S.push(String(C.extra)),[(C==null?void 0:C.name)||"数据",...S].join(` +var lt=Object.defineProperty,rt=Object.defineProperties;var ut=Object.getOwnPropertyDescriptors;var Mn=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Nn=(f,G,v)=>G in f?lt(f,G,{enumerable:!0,configurable:!0,writable:!0,value:v}):f[G]=v,Ue=(f,G)=>{for(var v in G||(G={}))ot.call(G,v)&&Nn(f,v,G[v]);if(Mn)for(var v of Mn(G))it.call(G,v)&&Nn(f,v,G[v]);return f},Oe=(f,G)=>rt(f,ut(G));import{g as _,o as t,c as s,j as m,F as x,y as j,a as u,t as o,K as L,n as N,q as ct,h as dt,w as Pa,C as aa,B as I,x as za,f as Q,s as mn,H as Sn,e as xe,aa as _t,d as ke}from"./index-1786807848259.js";import{K as ga,M as vt}from"./screen2Standard-03f7f908-1786807848259.js";import{_ as pt}from"./index-0eddac6c-1786807848259.js";import{i as yt,q as Cn}from"./index-80cb981f-1786807848259.js";const gt={key:0,class:"business-stat-empty"},ht=["data-chart-tooltip"],ft={class:"business-stat-rank"},bt={class:"business-stat-main"},xt={class:"business-stat-name"},kt={class:"business-stat-bar"},wt={class:"business-stat-value"},$t={key:0},Ln={__name:"BusinessStatList",props:{rows:{type:Array,default:()=>[]},compact:{type:Boolean,default:!1}},setup(f){const G=f,v=_(()=>{const C=G.rows.map(D=>Number(D.value)).filter(D=>!Number.isNaN(D));return Math.max(...C,1)});function He(C){const D=Number(C.value);return Number.isNaN(D)?36:Math.max(8,Math.round(D/v.value*100))}function we(C){const D=(C==null?void 0:C.value)===void 0||(C==null?void 0:C.value)===null||(C==null?void 0:C.value)===""?"--":C.value,g=(C==null?void 0:C.unit)||"",S=[`数值:${D}${g}`];return C!=null&&C.extra&&S.push(String(C.extra)),[(C==null?void 0:C.name)||"数据",...S].join(` `)}return(C,D)=>(t(),s("div",{class:N(["business-stat-list",{"is-compact":f.compact,"is-dense":f.rows.length>10}])},[f.rows.length?m("",!0):(t(),s("div",gt,"暂无业务统计数据")),(t(!0),s(x,null,j(f.rows,(g,S)=>(t(),s("div",{key:g.key||g.name,class:"business-stat-row","data-chart-tooltip":we(g)},[u("div",ft,o(S+1),1),u("div",bt,[u("div",xt,o(g.name),1),u("div",kt,[u("span",{style:L({width:`${He(g)}%`})},null,4)])]),u("div",wt,[u("strong",null,o(g.value),1),u("em",null,o(g.unit),1),g.extra?(t(),s("span",$t,o(g.extra),1)):m("",!0)])],8,ht))),128))],2))}};const jt={key:0,class:"business-panel-empty"},Mt={key:2,class:"business-metrics"},Nt=["data-chart-tooltip"],mt={key:3,class:"business-icon-metrics"},St=["data-chart-tooltip"],Ct={class:"business-icon-metric-copy"},Lt={key:0},Tt={key:4,class:"business-spotlight"},At=["data-chart-tooltip"],qt={class:"business-spotlight-side"},Pt=["data-chart-tooltip"],zt={key:0},Ft={key:1,class:"business-panel-empty"},Vt={key:0,class:"business-ring-visual"},Bt={class:"business-ring-chart",viewBox:"0 0 160 160",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true"},Rt=["stroke","stroke-dasharray","stroke-dashoffset","data-chart-tooltip"],Yt={class:"business-ring-inner"},It={key:1,class:"business-donut-visual"},Kt={class:"business-three-pie-center"},Gt={class:"business-donut-legend"},Wt=["data-chart-tooltip"],Dt={key:1,class:"business-panel-empty"},Ut={class:"business-rose-visual"},Ot={viewBox:"0 0 150 150",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true"},Ht={class:"business-rose-guides"},Et=["x1","y1","x2","y2","stroke"],Xt={class:"business-rose-segments"},Zt=["d","fill","stroke","data-chart-tooltip"],Jt={class:"business-rose-labels"},Qt=["x","y","text-anchor"],es={class:"business-donut-legend business-rose-legend"},as=["data-chart-tooltip"],ns={key:1,class:"business-panel-empty"},ts={key:7,class:"business-structure"},ss={class:"business-structure-overview"},ls={class:"business-structure-band"},rs=["title","data-chart-tooltip"],us={class:"business-structure-list"},os=["data-chart-tooltip"],is={key:1,class:"business-panel-empty"},cs={key:8,class:"business-capacity"},ds=["data-chart-tooltip"],_s={class:"business-capacity-band"},vs=["title","data-chart-tooltip"],ps={class:"business-capacity-list"},ys=["data-chart-tooltip"],gs=["data-chart-tooltip"],hs={key:1,class:"business-panel-empty"},fs=["data-chart-tooltip"],bs={key:0,class:"business-bar-rank"},xs={class:"business-bar-name"},ks={class:"business-bar-track"},ws={key:0},$s={key:1},js={key:0,class:"business-column-trend",viewBox:"0 0 320 90",preserveAspectRatio:"none","aria-hidden":"true"},Ms=["points"],Ns=["points"],ms=["cx","cy"],Ss={key:1,class:"business-column-unit"},Cs=["data-hover-value","title","data-chart-tooltip"],Ls={class:"business-column-value"},Ts={key:0},As={key:0,class:"business-project-search"},qs=["placeholder"],Ps={class:"business-project-frame"},zs=["tabindex","onClick","onKeydown"],Fs=["title"],Vs={key:0},Bs={key:0},Rs=["onClick","onKeydown"],Ys={key:2},Is=["aria-label"],Ks={key:4},Gs={key:0,class:"business-project-empty"},Ws={key:12,class:"business-project-ledger"},Ds={class:"business-project-search"},Us=["placeholder"],Os={class:"business-project-ledger__summary"},Hs={class:"business-project-ledger__summary-main"},Es={key:0,class:"business-project-ledger__pager"},Xs=["disabled"],Zs=["disabled"],Js=["tabindex","onClick","onKeydown"],Qs={class:"business-project-ledger__info"},el=["title"],al=["title"],nl=["onClick","onKeydown"],tl={key:1,class:"business-project-ledger__unlocated"},sl={key:0,class:"business-project-empty"},ll={key:13,class:"business-spec-grid"},rl={class:"business-spec-grid__index"},ul=["title"],ol={class:"business-spec-grid__count"},il={key:0},cl={class:"business-spec-grid__specs"},dl=["title"],_l={key:0},vl={key:0,class:"business-support-matrix__note"},pl={class:"business-support-matrix__head"},yl={key:0},gl={class:"business-support-matrix__body"},hl=["title"],fl=["title"],bl={class:"business-table-head"},xl={class:"business-table-body"},kl=["data-chart-tooltip"],wl={class:"business-table-name"},$l={class:"business-table-value"},jl={key:0},Ml={class:"business-stack-legend"},Nl={key:0,class:"business-stack-unit"},ml={class:"business-stack-chart"},Sl=["data-hover-value","title","data-chart-tooltip"],Cl={key:0,class:"business-stack-total"},Ll={key:0},Tl={class:"business-stack-track"},Al=["data-chart-tooltip"],ql={key:0,class:"business-column-unit business-peak-unit"},Pl=["data-hover-value","title","data-chart-tooltip"],zl={key:0},Fl={key:0,class:"business-column-unit business-line-unit"},Vl={viewBox:"0 0 320 86",preserveAspectRatio:"none","aria-hidden":"true"},Bl=["points"],Rl=["points"],Yl=["x","y"],Il=["cx","cy"],Kl=["cx","cy","onMouseenter"],Gl=["onMouseenter"],Wl={key:0},Dl=["data-chart-tooltip"],Ul={class:"business-balance-gauge-head"},Ol={class:"business-balance-gauge-ring"},Hl={class:"business-balance-gauge-value"},El={key:0},Xl={class:"business-balance-gauge-name"},Zl={key:0,class:"business-balance-gauge-extra"},Jl=["data-chart-tooltip"],Ql={class:"business-gauge-visual"},er={viewBox:"0 0 152 96",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true"},ar=["stroke-dasharray"],nr={class:"business-gauge-value"},tr={key:0},sr={class:"business-gauge-name"},lr={key:0,class:"business-gauge-extra"},rr=["data-chart-tooltip"],ur={key:0},or={class:"business-split-band"},ir=["data-chart-tooltip"],cr={class:"business-split-list"},dr=["data-chart-tooltip"],_r="#43d9e8",Tn=3e3,Cr={__name:"BusinessPanelRenderer",props:{panel:{type:Object,default:()=>({rows:[]})},compact:{type:Boolean,default:!1},columnLabelStandard:{type:Boolean,default:!1},visualVersion:{type:String,default:"legacy"}},emits:["row-select"],setup(f,{emit:G}){const v=f,He=G,we=[ga.accentCyan,ga.accentMint,ga.accentWater,ga.accentOrange,"#16b6e8","#a8fbff"],C=["#43d9ff","#46e6ad","#f0c35a","#6ba7ff","#a78bfa","#ff8c78"],D=_(()=>v.visualVersion==="v21"?C:we),g=_(()=>{var e;return((e=v.panel)==null?void 0:e.type)||"rank"}),S=_(()=>{var e;return(((e=v.panel)==null?void 0:e.rows)||[]).filter(a=>a==null?void 0:a.name)}),W=_(()=>S.value.map(e=>Oe(Ue({},e),{value:z(e)})).filter(e=>e.value>0)),Pe=_(()=>S.value.map(e=>z(e)).filter(e=>e>0)),Fa=_(()=>Math.max(...Pe.value,1)),J=_(()=>Pe.value.reduce((e,a)=>e+a,0)),de=_(()=>S.value.filter(e=>z(e)>0)),na=_(()=>{var e;return["raceBar","raceBarNoWrap","raceBarRelaxed","degradation"].includes((e=v.panel)==null?void 0:e.variant)}),P=_(()=>g.value==="line"?S.value.filter(e=>(e==null?void 0:e.value)!==void 0&&(e==null?void 0:e.value)!==null&&(e==null?void 0:e.value)!==""):S.value.filter(e=>z(e)>0)),Ee=_(()=>P.value),ze=_(()=>g.value!=="column"?"":$a()),Xe=_(()=>g.value!=="peak"?"":$a()),Ze=_(()=>g.value!=="line"?"":$a()),pe=_(()=>S.value.filter(e=>z(e)>0)),Fe=_(()=>{var e;return P.value.slice(0,((e=v.panel)==null?void 0:e.limit)||8)}),Ve=_(()=>{var e;return S.value.filter(a=>(a==null?void 0:a.value)!==void 0&&(a==null?void 0:a.value)!==null&&(a==null?void 0:a.value)!=="").slice(0,((e=v.panel)==null?void 0:e.limit)||6)}),ae=_(()=>{var e;return S.value.filter(a=>(a==null?void 0:a.value)!==void 0&&(a==null?void 0:a.value)!==null&&(a==null?void 0:a.value)!=="").slice(0,((e=v.panel)==null?void 0:e.limit)||3)}),re=_(()=>{var e;return((e=v.panel)==null?void 0:e.segments)||[]}),_e=_(()=>S.value.filter(e=>{var a;return Le(e)>0||((a=v.panel)==null?void 0:a.showZero)===!0})),ta=_(()=>Math.max(..._e.value.map(e=>Le(e)),1)),E=ke(""),Be=ke(null),Z=[{key:"name",label:"项目名称",field:"name",width:"45%",className:"business-project-col-name"},{key:"year",label:"年份",field:"year",width:"13%",fallback:"未知",align:"right",className:"business-project-col-year"},{key:"category",label:"类型",field:"category",width:"20%",className:"business-project-col-category"},{key:"scale",label:"规模",field:"value",width:"22%",align:"right",strong:!0,unitField:"unit",className:"business-project-col-scale"}],Re=_(()=>{var a;return(Array.isArray((a=v.panel)==null?void 0:a.columns)&&v.panel.columns.length?v.panel.columns:Z).map((r,p)=>({key:r.key||r.field||`column-${p}`,label:r.label||r.title||r.name||"",field:r.field||r.dataIndex||r.key,fields:r.fields||[],width:r.width,align:r.align,strong:!!r.strong,unit:r.unit,unitField:r.unitField,fallback:r.fallback,format:r.format,icon:r.icon,action:r.action,className:r.className}))}),Je=_(()=>{var e;return((e=v.panel)==null?void 0:e.rowSelectOnClick)!==!1}),sa=_(()=>{var e;return((e=v.panel)==null?void 0:e.searchPlaceholder)||"搜索项目"}),la=_(()=>{var e;return((e=v.panel)==null?void 0:e.emptyText)||"无匹配项目"}),ra=_(()=>{var a;const e=Array.isArray((a=v.panel)==null?void 0:a.searchKeys)?v.panel.searchKeys:[];return e.length?e:[...Re.value.flatMap(r=>[r.field,...r.fields||[]]),"projectName","category","year","measure","townships","metric"].filter(Boolean)}),$e=_(()=>{const e=en(E.value);return e?S.value.filter(a=>en(Rn(a)).includes(e)):Yn(S.value)}),ue=ke(1),Ye=_(()=>{var e;return Math.max(1,Number((e=v.panel)==null?void 0:e.pageSize)||15)}),ua=_(()=>$e.value),U=_(()=>Math.max(1,Math.ceil(ua.value.length/Ye.value))),Ie=_(()=>{const e=Math.min(ue.value,U.value),a=Math.max(0,e-1)*Ye.value;return ua.value.slice(a,a+Ye.value)}),ha=_(()=>Math.max(1,Ie.value.length)),fa=_(()=>{var e;return((e=v.panel)==null?void 0:e.summaryValue)||O(S.value.length)}),ba=_(()=>{var e;return((e=v.panel)==null?void 0:e.summaryLabel)||"条建设台账"}),je=_(()=>S.value.filter(e=>e==null?void 0:e.canLocate).length),xa=_(()=>S.value.filter(e=>e==null?void 0:e.name)),Qe=_(()=>S.value.filter(e=>e==null?void 0:e.name)),ye=_(()=>{var e;return!!((e=v.panel)!=null&&e.showTotal)}),ne=_(()=>S.value.find(e=>["forage-total","wetland-yield-total"].includes(e.key))||S.value[0]),Ke=_(()=>S.value.filter(e=>["forage-edible","forage-unavailable","wetland-yield-edible","wetland-yield-unavailable"].includes(e.key))),Me=_(()=>S.value.find(e=>["forage-top-town","wetland-yield-top-town"].includes(e.key))),Ne=ke(0),ee=ke(null),me=ke(null),Se=ke(!0),oe=ke({visible:!1,x:0,y:0,title:"",lines:[]});let Ce=null,te=null;const ka=_(()=>{var e,a;return`${((e=v.panel)==null?void 0:e.key)||((a=v.panel)==null?void 0:a.title)||"pie"}-${W.value.map(r=>`${r.name}:${r.value}`).join("|")}`}),l=_(()=>{var e,a;return((e=v.panel)==null?void 0:e.fixedActiveIndex)===!0||((a=v.panel)==null?void 0:a.disableAutoLoop)===!0}),i=_(()=>{const p=typeof window=="undefined"?1920:window.innerWidth,y=typeof window=="undefined"?1080:window.innerHeight,h=Math.min(p-190-8,oe.value.x+14),M=Math.min(y-82-8,oe.value.y+14);return{left:`${Math.max(8,h)}px`,top:`${Math.max(8,M)}px`}}),c=_(()=>{const e=w.value;return!e||l.value?0:Ne.value%e}),w=_(()=>{var e;return g.value==="structure"?pe.value.length:g.value==="donut"||g.value==="rose"?W.value.length:g.value==="bar"&&((e=v.panel)==null?void 0:e.variant)==="capacity"?Ke.value.length:g.value==="bar"||g.value==="column"?P.value.length:g.value==="table"?Ee.value.length:g.value==="line"?P.value.length:g.value==="balanceGaugeGrid"?ae.value.length:g.value==="gauge"?Ve.value.length:g.value==="stackColumn"?_e.value.length:g.value==="split"?de.value.length:0}),k=_(()=>W.value[c.value]||W.value[0]);_(()=>pe.value[c.value]||pe.value[0]);const $=_(()=>S.value[0]),b=_(()=>{var e;return Math.max(1,Number((e=v.panel)==null?void 0:e.limit)||4)}),Y=_(()=>S.value.slice(0,b.value).map((e,a)=>Oe(Ue({},e),{icon:et(e,a)}))),K=_(()=>pe.value.map((e,a)=>Oe(Ue({},e),{displayIndex:a}))),X=_(()=>{var e;return g.value!=="donut"?"standard":((e=v.panel)==null?void 0:e.variant)==="ring"?"ring":"three"}),ge=_(()=>{const e=W.value,a=e.length;if(!a)return[];const r=52,p=2*Math.PI*r,y=e.reduce((T,F)=>T+z(F),0)||1,h=a>1?Math.min(12,Math.max(7,p*.028)):0;let M=0;return e.map((T,F)=>{const R=z(T)/y*p,le=a>1?Math.max(5,R-h):p,ve=M+(a>1?h/2:0);return M+=R,{key:T.key||T.name||F,index:F,item:T,color:B(F),dasharray:`${le.toFixed(2)} ${p.toFixed(2)}`,dashoffset:`${(-ve).toFixed(2)}`}})}),he=_(()=>{const e=W.value,a=e.length;if(!a)return[];const r=Math.max(...e.map(h=>z(h)),1),p=360/a,y=Math.min(8,p*.16);return e.map((h,M)=>{const T=z(h),F=M===c.value,q=36+Math.sqrt(T/r)*31+(F?5:0),R=17,le=-90+M*p+y/2,ve=-90+(M+1)*p-y/2,qe=(le+ve)/2,va=Ae(75,75,q+3,qe),pa=Ae(75,75,q+15,qe),ya=Ae(75,75,q+20,qe);return{key:h.key||h.name||M,index:M,item:h,color:B(M),path:Qn(75,75,R,q,le,ve),lineStart:va,lineEnd:pa,label:ya,anchor:Math.cos(qe*Math.PI/180)>=0?"start":"end"}})});ct(()=>{nt(),Aa()}),dt(()=>{tt(),qa()}),Pa(()=>{var e;return[(e=v.panel)==null?void 0:e.key,S.value.length]},()=>{Ne.value=0,ee.value=null,E.value="",ue.value=1,Be.value=null,da(),Aa()}),Pa(E,()=>{ue.value=1}),Pa(Se,()=>{Aa()});const se=_(()=>{const e=P.value,a=18,r=284,p=66,y=10,h=e.length>1?r/(e.length-1):r,M=e.map(R=>z(R)).filter(R=>Number.isFinite(R)&&R>=0),T=M.length?Math.min(...M):0,F=M.length?Math.max(...M):1,q=Math.max(F-T,F*.08,1);return e.map((R,le)=>{const ve=z(R);return{x:Math.round(a+le*h),y:Math.round(y+p-(ve-T)/q*p),item:R}})}),Va=_(()=>se.value.map(e=>`${e.x},${e.y}`).join(" ")),An=_(()=>se.value.length?`0,86 ${Va.value} 320,86`:""),Ba=_(()=>{var e,a;return g.value==="column"&&(((e=v.panel)==null?void 0:e.lineOverlay)===!0||((a=v.panel)==null?void 0:a.variant)==="trendColumn")&&P.value.length>1}),wa=_(()=>{if(!Ba.value)return[];const e=P.value,a=e.map(q=>z(q)).filter(q=>Number.isFinite(q)&&q>=0),r=Math.max(...a,1),p=Math.min(...a,0),y=Math.max(r-p,r*.08,1),h=320,M=9,T=67,F=e.length>1?h/(e.length-1):0;return e.map((q,R)=>{const le=z(q);return{key:q.key||q.name||R,x:Number((R*F).toFixed(2)),y:Number((M+T-(le-p)/y*T).toFixed(2))}})}),Ra=_(()=>wa.value.map(e=>`${e.x},${e.y}`).join(" ")),qn=_(()=>wa.value.length?`0,82 ${Ra.value} 320,82`:""),Ya=_(()=>P.value),Ia=_(()=>({gridTemplateColumns:`repeat(${Math.max(Ya.value.length,1)}, minmax(0, 1fr))`})),Ka=_(()=>Number.isInteger(ee.value)?se.value[ee.value]:null),Ga=_(()=>se.value.length?Number.isInteger(ee.value)?ee.value:c.value:0),Ge=_(()=>Ka.value?Ka.value:se.value[Ga.value]||se.value[0]),Pn=_(()=>{const e=Ge.value;if(!e)return{};const a=e.x/320*100;return{left:`${Math.min(84,Math.max(16,a))}%`,top:"6px",transform:"translateX(-50%)"}});function z(e){const a=Number(e==null?void 0:e.value);if(!Number.isNaN(a)&&a>0)return a;const r=Number(e==null?void 0:e.percent);return Number.isNaN(r)?0:r}function Le(e){const a=(e==null?void 0:e.segments)||(e==null?void 0:e.values)||{};return re.value.reduce((r,p)=>r+(Number(a[p.key])||0),0)}function Wa(e){const a=Le(e),r=(e==null?void 0:e.segments)||(e==null?void 0:e.values)||{};return a?re.value.map((p,y)=>{var T,F,q;const h=Number(r[p.key])||0,M=((T=v.panel)==null?void 0:T.variant)==="dual"||((F=v.panel)==null?void 0:F.variant)==="parkSlim"||((q=v.panel)==null?void 0:q.sharedScale)===!0?ta.value:a;return Oe(Ue({},p),{value:h,percent:Math.max(h>0?3:0,h/Math.max(M,1)*100),color:Da(p,y)})}):[]}function Da(e,a){var r;return(r=v.panel)!=null&&r.preserveColors&&(e!=null&&e.color||e!=null&&e.fillColor)?e.color||e.fillColor:B(a)}function O(e){const a=Number(e);return Number.isNaN(a)?"--":Number.isInteger(a)?`${a}`:`${Number(a.toFixed(2))}`}function A(e){return(e==null?void 0:e.displayValue)!==void 0&&(e==null?void 0:e.displayValue)!==null&&(e==null?void 0:e.displayValue)!==""?e.displayValue:(e==null?void 0:e.value)===void 0||(e==null?void 0:e.value)===null||(e==null?void 0:e.value)===""?"--":O(e.value)}function fe(e){var p;const a=(e==null?void 0:e.displayUnit)||(e==null?void 0:e.unit)||"";if(!a)return"";const r=String((p=A(e))!=null?p:"");return r&&r.endsWith(String(a))?"":a}function $a(){const e=[...new Set(P.value.map(a=>(a==null?void 0:a.displayUnit)||(a==null?void 0:a.unit)).filter(Boolean))];return e.length===1?e[0]:""}function Ua(e){const a=fe(e);return a?ze.value===a?"":a:""}function Oa(e){const a=fe(e);return a?Xe.value===a?"":a:""}function be(e){return String(e||"").trim().replace(/\s+/g,"").replace(/[乡镇]$/u,"")}function zn(e){return Array.from(be(e)).slice(0,3).join("")}function oa(e){var a;return((a=v.panel)==null?void 0:a.labelMode)==="horizontal"?be(e):v.columnLabelStandard?zn(e):be(e)}function ia(e){const a=be(e==null?void 0:e.name)||"数据",r=fe(e);return`${a}:${A(e)}${r}`}function ja(e,a=[]){return[be(e)||"数据",...a.filter(r=>r!=null&&String(r).trim()!=="").map(r=>String(r))].join(` `)}function H(e,a=[]){if(!e)return"";const r=fe(e),p=A(e),y=[];return p!=="--"&&y.push(`数值:${p}${r}`),e.extra&&y.push(String(e.extra)),ja(e.name,[...y,...a])}function ca(e){return H(e,[`占比:${La(e)}`])}function Ha(e){return H(e,[`占比:${Sa(e)}`])}function Ea(e){return H(e,[`占比:${Ca(e)}`])}function Fn(e){var y;const a=Te(e),r=Wa(e).filter(h=>h.value>0).map(h=>`${h.name}:${h.valuePrefix||""}${O(h.value)}${a}`),p=((y=v.panel)==null?void 0:y.totalLabel)||"合计";return ja(e==null?void 0:e.name,[`${p}:${Ma(e)}${O(Le(e))}${a}`,...r])}function Vn(e,a){const r=Te(e);return ja(`${be(e==null?void 0:e.name)} ${(a==null?void 0:a.name)||""}`,[`数值:${(a==null?void 0:a.valuePrefix)||""}${O((a==null?void 0:a.value)||0)}${r}`])}function Xa(e){return H(e,[`状态:${ma(e)}`])}function Za(e){const a=J.value?`${O(z(e)/J.value*100)}%`:"--";return H(e,[`占比:${a}`])}function Bn(e){var y,h,M;const a=(h=(y=e.target)==null?void 0:y.closest)==null?void 0:h.call(y,"[data-chart-tooltip], [data-hover-value]");if(!a||!((M=me.value)!=null&&M.contains(a))){da();return}const r=a.getAttribute("data-chart-tooltip")||a.getAttribute("data-hover-value")||"",p=String(r).split(/\n+/).map(T=>T.trim()).filter(Boolean);if(!p.length){da();return}oe.value={visible:!0,x:e.clientX,y:e.clientY,title:p[0],lines:p.slice(1)}}function da(){oe.value.visible&&(oe.value={visible:!1,x:0,y:0,title:"",lines:[]})}function Ja(e){const a=be(e==null?void 0:e.name)||"数据",r=Te(e);return`${a}:${Ma(e)}${O(Le(e))}${r}`}function Te(e){var a;return(e==null?void 0:e.displayUnit)||(e==null?void 0:e.unit)||((a=v.panel)==null?void 0:a.unit)||""}function Ma(e){const a=(e==null?void 0:e.segments)||(e==null?void 0:e.values)||{};return re.value.some(r=>(r==null?void 0:r.valuePrefix)&&Number(a[r.key])>0)?"≥":""}function Qa(){var e,a,r;return((e=v.panel)==null?void 0:e.showValue)===!0||((a=v.panel)==null?void 0:a.variant)==="dual"||((r=v.panel)==null?void 0:r.variant)==="parkSlim"}function en(e){return String(e||"").trim().toLowerCase()}function Rn(e){const a=ra.value.map(r=>an(e,{field:r})).filter(r=>r!=null);return[e==null?void 0:e.searchText,...a].filter(Boolean).join(" ")}function Yn(e=[]){var r;const a=Number((r=v.panel)==null?void 0:r.maxRows);return!Number.isFinite(a)||a<=0?e:e.slice(0,a)}function an(e,a){const r=[a==null?void 0:a.field,...(a==null?void 0:a.fields)||[]].filter(Boolean);for(const p of r){const y=String(p).split(".").reduce((h,M)=>h==null?void 0:h[M],e);if(y!=null&&y!=="")return y}}function ea(e,a){const r=an(e,a);if((a==null?void 0:a.format)==="townVillage"){const p=String((e==null?void 0:e.town)||"").trim(),y=String((e==null?void 0:e.village)||"").trim();return[p,y].filter(Boolean).join(" / ")||(a==null?void 0:a.fallback)||"--"}return r==null||r===""?(a==null?void 0:a.fallback)||"--":(a==null?void 0:a.format)==="number"?O(r):(a==null?void 0:a.format)==="displayValue"?A({value:r}):String(r)}function nn(e,a){return a!=null&&a.unitField&&(e!=null&&e[a.unitField])?e[a.unitField]:(a==null?void 0:a.unit)||""}function tn(e){return{"business-project-name":(e==null?void 0:e.key)==="name","business-project-locate":(e==null?void 0:e.key)==="locate","is-right":(e==null?void 0:e.align)==="right","is-center":(e==null?void 0:e.align)==="center","is-strong":e==null?void 0:e.strong}}function Na(e,a={}){(a==null?void 0:a.action)==="locate"&&ie(e,!0)}function ie(e,a=!1){!a&&!Je.value||(e==null?void 0:e.canLocate)!==!1&&(Be.value=(e==null?void 0:e.key)||(e==null?void 0:e.name)||null,He("row-select",e))}function sn(e=0){const a=ue.value+Number(e||0);ue.value=Math.max(1,Math.min(U.value,a))}function ln(e={}){return e.ledgerName||e.name||"--"}function rn(e={}){return e.ledgerLocation||[e.town,e.village].filter(Boolean).join(" · ")||"--"}function un(e={},a={}){var p,y,h,M;const r=Number((M=(h=(p=e==null?void 0:e.segments)==null?void 0:p[a.key])!=null?h:(y=e==null?void 0:e.values)==null?void 0:y[a.key])!=null?M:0);return!Number.isFinite(r)||r<=0?"—":`${(a==null?void 0:a.valuePrefix)||""}${O(r)}`}function on(e={}){const a=re.value.map(y=>{var h,M,T,F;return Number((F=(T=(h=e==null?void 0:e.segments)==null?void 0:h[y.key])!=null?T:(M=e==null?void 0:e.values)==null?void 0:M[y.key])!=null?F:0)}),r=a.reduce((y,h)=>y+(Number.isFinite(h)&&h>0?h:0),0);return r?`${re.value.some((y,h)=>(y==null?void 0:y.valuePrefix)&&a[h]>0)?"≥":""}${O(r)}`:"—"}function In(e){const a=e==null?void 0:e.currentTarget;if(!a||a.scrollWidth<=a.clientWidth)return;e.preventDefault();const r=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;a.scrollLeft+=r}function We(e){var h,M;const a=Number(e==null?void 0:e.scaleValue);if(!(g.value==="column"&&((h=v.panel)==null?void 0:h.variant)==="plain")&&!Number.isNaN(a)&&a>0)return Math.max(8,Math.min(100,Math.round(a)));const p=z(e);if(!p)return 8;const y=g.value==="column"&&((M=v.panel)==null?void 0:M.variant)==="plain"?Math.max(...Pe.value,p):Fa.value;return Math.max(8,Math.round(p/y*100))}function Kn(e,a){const r=We(e),p=Math.max(.04,Math.min(.1,r/360));return{"--heat-color":B(a),"--heat-bg":De(B(a),p)}}function ce(e){const a=Number(e==null?void 0:e.value);return Number.isFinite(a)?a:0}function Gn(){var r;const e=Number((r=v.panel)==null?void 0:r.max);if(Number.isFinite(e)&&e>0)return e;const a=Math.max(...Ve.value.map(p=>ce(p)),100);return Math.max(a,100)}function cn(e){const a=ce(e),r=Gn();return!r||a<=0?0:Number(Math.min(100,a/r*100).toFixed(1))}function Wn(e){return Number((-180+cn(e)*1.8).toFixed(1))}function Dn(e,a){var r;return(r=v.panel)!=null&&r.preserveColors&&(e!=null&&e.color||e!=null&&e.fillColor)?e.color||e.fillColor:B(a)}function Un(e){const a=Math.max(0,ce(e)),r=Math.max(5,...ae.value.map(p=>Math.max(0,ce(p))));return Math.max(6,Math.min(100,Number((a/r*100).toFixed(1))))}function On(e){const a=ce(e),r=String((e==null?void 0:e.status)||(e==null?void 0:e.level)||"");return a>20||/严重|重度|高超载/.test(r)?"#8bf7ff":a>10||/中度|预警/.test(r)?"#48cfff":a>5||/轻度/.test(r)?"#b9fbff":a<=0||/总体可控|合理|正常|达标|无超载/.test(r)?"#24f6c4":"#30dcff"}function Hn(e){return{"--balance-color":On(e),"--balance-progress":`${Un(e)}%`}}function ma(e){if(e!=null&&e.status||e!=null&&e.level)return e.status||e.level;const a=ce(e);return a<0?"合理":a<=5?"基本实现草畜平衡":a<=10?"轻度超载":a>100?"高超载":"超载预警"}function De(e,a=.2){const r=String(e||"").replace("#","");if(r.length!==6)return`rgba(48, 220, 255, ${a})`;const p=parseInt(r,16),y=p>>16&255,h=p>>8&255,M=p&255;return`rgba(${y}, ${h}, ${M}, ${a})`}function En(e){const a=se.value.length;if(!a)return;const r=e.currentTarget.getBoundingClientRect(),p=r.width?(e.clientX-r.left)/r.width:0,y=Math.min(a-1,Math.max(0,Math.round(p*(a-1))));ee.value=y}function Xn(e){const a=z(e);return!J.value||!a?0:Math.max(6,a/J.value*100)}function dn(e){const a=z(e);return!J.value||!a?0:Math.max(2,a/J.value*100)}function Sa(e){if(!e)return"--";if(e.extra)return e.extra;const a=z(e);return!J.value||!a?"--":`${O(a/J.value*100)}%`}function _n(){const e=z(ne.value);return e>0?e:Ke.value.reduce((a,r)=>a+z(r),0)}function Zn(e){const a=_n(),r=z(e);return!a||!r?0:Math.max(6,r/a*100)}function Ca(e){const a=_n(),r=z(e);return!a||!r?"--":`${O(r/a*100)}%`}function _a(e,a){return["forage-edible","wetland-yield-edible"].includes(e==null?void 0:e.key)?"#24f6c4":["forage-unavailable","wetland-yield-unavailable"].includes(e==null?void 0:e.key)?"#8bf7ff":B(a)}function La(e){const a=z(e),r=Number(e==null?void 0:e.count)||J.value;return!a||!r?"0%":`${O(a/r*100)}%`}function Jn(e){const a=z(e),r=Number(e==null?void 0:e.count)||J.value;return!a||!r?0:a/r*100}function Ae(e,a,r,p){const y=p*Math.PI/180;return{x:Number((e+r*Math.cos(y)).toFixed(2)),y:Number((a+r*Math.sin(y)).toFixed(2))}}function Qn(e,a,r,p,y,h){const M=Ae(e,a,p,y),T=Ae(e,a,p,h),F=Ae(e,a,r,h),q=Ae(e,a,r,y),R=h-y>180?1:0;return[`M ${M.x} ${M.y}`,`A ${p} ${p} 0 ${R} 1 ${T.x} ${T.y}`,`L ${F.x} ${F.y}`,`A ${r} ${r} 0 ${R} 0 ${q.x} ${q.y}`,"Z"].join(" ")}function B(e){return D.value[e%D.value.length]}function Ta(e,a={}){var r,p,y;return(r=v.panel)!=null&&r.preserveColors&&(a!=null&&a.color||a!=null&&a.fillColor)?a.color||a.fillColor:["bar","column","peak"].includes(g.value)&&((p=v.panel)==null?void 0:p.categoricalColors)!==!0?((y=v.panel)==null?void 0:y.color)||_r:B(e)}function et(e,a){if(e!=null&&e.icon)return String(e.icon).replace(/[^a-z0-9-]/gi,"");const r=String((e==null?void 0:e.name)||"");return r.includes("利用率")||r.includes("占比")?"rate":r.includes("重度")||r.includes("退化")?"risk":r.includes("可食")||r.includes("供给")?"leaf":r.includes("不可")?"stack":r.includes("产量")||r.includes("鲜草")?"yield":r.includes("乡镇")?"town":r.includes("面积")?"area":["yield","leaf","rate","risk"][a%4]}function at(){if(qa(),l.value)return;const e=w.value;Se.value&&(e<2||(Ce=window.setInterval(()=>{Ne.value=(Ne.value+1)%e},Tn)))}function Aa(){Se.value?at():qa()}function qa(){Ce&&(window.clearInterval(Ce),Ce=null)}function nt(){vn(),!(!me.value||typeof window.IntersectionObserver!="function")&&(te=new IntersectionObserver(e=>{const a=e[0];Se.value=!!(a!=null&&a.isIntersecting)&&pn()}),te.observe(me.value),window.requestAnimationFrame(vn))}function tt(){var e;(e=te==null?void 0:te.disconnect)==null||e.call(te),te=null}function vn(){Se.value=pn()}function pn(){const e=me.value;return e?!!(e.offsetParent||e.getClientRects().length):!0}function yn(e,a={}){const r=Ta(e,a);return`linear-gradient(90deg, ${De(r,.14)} 0%, ${De(r,.68)} 58%, ${r} 100%)`}function st(e,a={}){const r=Ta(e,a);return`linear-gradient(180deg, ${De(r,.94)} 0%, ${De(r,.68)} 52%, ${De(r,.14)} 100%)`}return(e,a)=>{var r,p,y,h,M,T,F,q,R,le,ve,qe,va,pa,ya,gn,hn,fn,bn,xn,kn,wn,$n,jn;return t(),s("div",{ref_key:"panelRef",ref:me,class:N(["business-panel",[`is-${g.value}`,`is-${X.value}`,`is-${f.visualVersion}`,{"is-compact":f.compact,"is-column-label-standard":f.columnLabelStandard,"is-column-label-horizontal":((r=v.panel)==null?void 0:r.labelMode)==="horizontal","is-icon-metric-extended":g.value==="iconMetric"&&Number(((p=v.panel)==null?void 0:p.limit)||4)>4}]]),onMousemove:Bn,onMouseleave:da},[S.value.length?g.value==="rank"?(t(),aa(Ln,{key:1,rows:S.value,compact:""},null,8,["rows"])):g.value==="metric"?(t(),s("div",Mt,[(t(!0),s(x,null,j(S.value.slice(0,4),n=>(t(),s("div",{key:n.key||n.name,class:"business-metric-item","data-chart-tooltip":H(n)},[u("span",null,o(n.name),1),u("strong",null,o(A(n)),1),u("em",null,o(n.unit),1)],8,Nt))),128))])):g.value==="iconMetric"?(t(),s("div",mt,[(t(!0),s(x,null,j(Y.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-icon-metric-item",`is-tone-${d%D.value.length}`]),"data-chart-tooltip":H(n)},[u("i",{class:N(["business-icon-metric-mark",`is-${n.icon}`])},[...a[6]||(a[6]=[u("span",null,null,-1)])],2),u("div",Ct,[u("span",null,o(n.name),1),u("strong",null,[I(o(A(n)),1),n.unit?(t(),s("em",Lt,o(n.unit),1)):m("",!0)])])],10,St))),128))])):g.value==="spotlight"?(t(),s("div",Tt,[$.value?(t(),s(x,{key:0},[u("div",{class:"business-spotlight-main","data-chart-tooltip":H($.value)},[u("span",null,o($.value.name),1),u("strong",null,[I(o(A($.value)),1),u("em",null,o($.value.unit),1)]),u("small",null,o($.value.extra||((y=f.panel)==null?void 0:y.note)||"核心业务指标"),1)],8,At),u("div",qt,[(t(!0),s(x,null,j(S.value.slice(1,4),(n,d)=>(t(),s("div",{key:n.key||n.name,class:"business-spotlight-chip","data-chart-tooltip":H(n)},[u("i",{style:L({borderColor:B(d+1)})},null,4),u("span",null,o(n.name),1),u("strong",null,[I(o(A(n)),1),u("em",null,o(n.unit),1)]),n.extra?(t(),s("small",zt,o(n.extra),1)):m("",!0)],8,Pt))),128))])],64)):(t(),s("div",Ft,"暂无业务统计数据"))])):g.value==="donut"?(t(),s("div",{key:5,class:N(["business-donut",[`is-variant-${X.value}`,{"is-dense":W.value.length>5}]])},[W.value.length?(t(),s(x,{key:0},[X.value==="ring"?(t(),s("div",Vt,[(t(),s("svg",Bt,[a[7]||(a[7]=u("circle",{class:"business-ring-halo",cx:"80",cy:"80",r:"39"},null,-1)),a[8]||(a[8]=u("circle",{class:"business-ring-track",cx:"80",cy:"80",r:"52"},null,-1)),(t(!0),s(x,null,j(ge.value,n=>(t(),s("circle",{key:n.key,class:N(["business-ring-segment",{"is-active":n.index===c.value}]),cx:"80",cy:"80",r:"52",stroke:n.color,"stroke-dasharray":n.dasharray,"stroke-dashoffset":n.dashoffset,style:L({color:n.color}),"data-chart-tooltip":ca(n.item)},null,14,Rt))),128))])),u("div",Yt,[u("strong",null,o(La(k.value)),1),u("span",null,o(((h=k.value)==null?void 0:h.name)||"结构占比"),1)])])):(t(),s("div",It,[(t(),aa(vt,{key:ka.value,data:W.value,delay:Tn,"auto-play":!l.value,colors:D.value,opacity:.62,class:"business-three-pie"},{default:za(({data:n})=>[u("div",Kt,[u("strong",null,o(La(n)),1),u("span",null,o((n==null?void 0:n.name)||"结构占比"),1)])]),_:1},8,["data","auto-play","colors"]))])),u("div",Gt,[(t(!0),s(x,null,j(W.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-donut-row",{"is-active":d===c.value}]),style:L({"--row-color":B(d),"--row-percent":`${Math.max(4,Jn(n))}%`}),"data-chart-tooltip":ca(n)},[u("i",{style:L({borderColor:B(d)})},null,4),u("span",null,o(n.name),1),u("strong",null,o(A(n)),1),u("em",null,o(n.unit),1)],14,Wt))),128))])],64)):(t(),s("div",Dt,"暂无业务统计数据"))],2)):g.value==="rose"?(t(),s("div",{key:6,class:N(["business-rose",{"is-dense":W.value.length>5}])},[W.value.length?(t(),s(x,{key:0},[u("div",Ut,[(t(),s("svg",Ot,[u("g",Ht,[(t(!0),s(x,null,j(he.value,n=>(t(),s("line",{key:`guide-${n.key}`,x1:n.lineStart.x,y1:n.lineStart.y,x2:n.lineEnd.x,y2:n.lineEnd.y,stroke:n.color},null,8,Et))),128))]),u("g",Xt,[(t(!0),s(x,null,j(he.value,n=>(t(),s("path",{key:n.key,class:N(["business-rose-segment",{"is-active":n.index===c.value}]),d:n.path,fill:n.color,stroke:n.color,"data-chart-tooltip":ca(n.item)},null,10,Zt))),128))]),a[9]||(a[9]=u("circle",{class:"business-rose-glow",cx:"75",cy:"75",r:"24"},null,-1)),a[10]||(a[10]=u("circle",{class:"business-rose-hole",cx:"75",cy:"75",r:"16"},null,-1)),u("g",Jt,[(t(!0),s(x,null,j(he.value,n=>(t(),s("text",{key:`label-${n.key}`,x:n.label.x,y:n.label.y,"text-anchor":n.anchor},o(n.item.name),9,Qt))),128))])]))]),u("div",es,[(t(!0),s(x,null,j(W.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-donut-row business-rose-row",{"is-active":d===c.value}]),"data-chart-tooltip":ca(n)},[u("i",{style:L({borderColor:B(d),background:B(d),color:B(d)})},null,4),u("span",null,o(n.name),1),u("strong",null,o(A(n)),1),u("em",null,o(n.unit),1)],10,as))),128))])],64)):(t(),s("div",ns,"暂无业务统计数据"))],2)):g.value==="structure"?(t(),s("div",ts,[pe.value.length?(t(),s(x,{key:0},[u("div",ss,[u("div",ls,[(t(!0),s(x,null,j(pe.value,(n,d)=>(t(),s("i",{key:n.key||n.name,class:N({"is-active":d===c.value}),style:L({width:`${dn(n)}%`,background:B(d),color:B(d)}),title:`${n.name}:${A(n)}${n.unit||""} ${Sa(n)}`,"data-chart-tooltip":Ha(n)},null,14,rs))),128))])]),u("div",us,[(t(!0),s(x,null,j(K.value,n=>(t(),s("div",{key:n.key||n.name,class:N(["business-structure-row",{"is-active":n.displayIndex===c.value}]),style:L({"--row-color":B(n.displayIndex),"--row-percent":`${Math.max(4,dn(n))}%`}),"data-chart-tooltip":Ha(n)},[u("i",{style:L({background:B(n.displayIndex),color:B(n.displayIndex)})},null,4),u("span",null,o(n.name),1),u("strong",null,[I(o(A(n)),1),u("em",null,o(n.unit),1)]),u("small",null,o(Sa(n)),1)],14,os))),128))])],64)):(t(),s("div",is,"暂无业务统计数据"))])):g.value==="bar"&&((M=f.panel)==null?void 0:M.variant)==="capacity"?(t(),s("div",cs,[ne.value?(t(),s(x,{key:0},[u("div",{class:"business-capacity-head","data-chart-tooltip":H(ne.value)},[u("span",null,o(ne.value.name),1),u("strong",null,[I(o(A(ne.value)),1),u("em",null,o(ne.value.unit),1)])],8,ds),u("div",_s,[(t(!0),s(x,null,j(Ke.value,(n,d)=>(t(),s("i",{key:n.key||n.name,class:N({"is-active":d===c.value}),style:L({width:`${Zn(n)}%`,background:_a(n,d),color:_a(n,d)}),title:`${n.name}:${A(n)}${n.unit||""} ${Ca(n)}`,"data-chart-tooltip":Ea(n)},null,14,vs))),128))]),u("div",ps,[(t(!0),s(x,null,j(Ke.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-capacity-row",{"is-active":d===c.value}]),"data-chart-tooltip":Ea(n)},[u("i",{style:L({background:_a(n,d),color:_a(n,d)})},null,4),u("span",null,o(n.name),1),u("strong",null,[I(o(A(n)),1),u("em",null,o(n.unit),1)]),u("small",null,o(Ca(n)),1)],10,ys))),128))]),Me.value?(t(),s("div",{key:0,class:"business-capacity-town","data-chart-tooltip":H(Me.value)},[u("span",null,o(Me.value.name),1),u("strong",null,[I(o(A(Me.value)),1),u("em",null,o(Me.value.unit),1)])],8,gs)):m("",!0)],64)):(t(),s("div",hs,"暂无业务统计数据"))])):g.value==="bar"?(t(),s("div",{key:9,class:N(["business-bars",{"is-dense":P.value.length>=5,"is-long":P.value.length>10,"is-scrollable":P.value.length>10,"is-single":((T=f.panel)==null?void 0:T.span)===1,"is-distribution":((F=f.panel)==null?void 0:F.variant)==="distribution","is-capacity":((q=f.panel)==null?void 0:q.variant)==="capacity","is-rank-bar":((R=f.panel)==null?void 0:R.variant)==="rankBar","is-park-bar":((le=f.panel)==null?void 0:le.variant)==="parkBar","is-race-bar":na.value,"is-few-rows":na.value&&P.value.length<=3,"is-degradation":((ve=f.panel)==null?void 0:ve.variant)==="degradation","is-race-nowrap":((qe=f.panel)==null?void 0:qe.variant)==="raceBarNoWrap","is-race-relaxed":((va=f.panel)==null?void 0:va.variant)==="raceBarRelaxed"}]),style:L({"--bar-row-count":Math.max(P.value.length,1)}),onWheel:a[0]||(a[0]=Q(()=>{},["stop"]))},[(t(!0),s(x,null,j(P.value,(n,d)=>{var V;return t(),s("div",{key:n.key||n.name,class:N(["business-bar-row",{"is-active":d===c.value}]),style:L({"--bar-color":Ta(d,n)}),"data-chart-tooltip":H(n)},[((V=f.panel)==null?void 0:V.variant)==="rankBar"?(t(),s("span",bs,o(d+1),1)):m("",!0),u("span",xs,o(n.name),1),u("div",ks,[u("i",{style:L({width:`${We(n)}%`,background:yn(d,n)})},null,4)]),u("strong",null,[I(o(A(n))+" ",1),n.unit?(t(),s("em",ws,o(n.unit),1)):m("",!0),n.extra?(t(),s("small",$s,o(n.extra),1)):m("",!0)])],14,fs)}),128))],38)):g.value==="column"?(t(),s("div",{key:10,class:N(["business-columns",[`is-variant-${((pa=f.panel)==null?void 0:pa.variant)||"solid"}`,{"is-dense":P.value.length>6,"is-scrollable":P.value.length>6&&((ya=f.panel)==null?void 0:ya.scrollable)!==!1,"has-unit-label":!!ze.value}]]),onWheel:Q(In,["stop"])},[Ba.value?(t(),s("svg",js,[u("polyline",{class:"business-column-trend-area",points:qn.value},null,8,Ms),u("polyline",{class:"business-column-trend-line",points:Ra.value},null,8,Ns),(t(!0),s(x,null,j(wa.value,n=>(t(),s("circle",{key:n.key,class:"business-column-trend-dot",cx:n.x,cy:n.y,r:"2.3"},null,8,ms))),128))])):m("",!0),ze.value?(t(),s("small",Ss,"单位:"+o(ze.value),1)):m("",!0),(t(!0),s(x,null,j(P.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-column-item",{"is-active":d===c.value,"is-zero":(n==null?void 0:n.zero)===!0||(n==null?void 0:n.isZero)===!0}]),"data-hover-value":ia(n),title:ia(n),"data-chart-tooltip":H(n)},[u("div",{class:"business-column-track",style:L({"--column-percent":`${We(n)}%`})},[u("i",{style:L({height:`${We(n)}%`,background:st(d,n),"--column-load-delay":`${d*.075}s`})},null,4),u("strong",Ls,[I(o(A(n)),1),Ua(n)?(t(),s("em",Ts,o(Ua(n)),1)):m("",!0)])],4),u("span",null,o(oa(n.name)),1)],10,Cs))),128))],34)):g.value==="projectTable"?(t(),s("div",{key:11,class:N(["business-project-table",{"is-without-search":((gn=f.panel)==null?void 0:gn.showSearch)===!1,"is-fill-rows":((hn=f.panel)==null?void 0:hn.fillRows)===!0}])},[((fn=f.panel)==null?void 0:fn.showSearch)!==!1?(t(),s("div",As,[mn(u("input",{"onUpdate:modelValue":a[1]||(a[1]=n=>E.value=n),type:"search",placeholder:sa.value},null,8,qs),[[Sn,E.value]])])):m("",!0),u("div",Ps,[u("table",null,[u("colgroup",null,[(t(!0),s(x,null,j(Re.value,n=>(t(),s("col",{key:n.key,class:N(n.className),style:L({width:n.width||void 0})},null,6))),128))]),u("thead",null,[u("tr",null,[(t(!0),s(x,null,j(Re.value,n=>(t(),s("th",{key:n.key,class:N(tn(n))},o(n.label),3))),128))])]),u("tbody",null,[(t(!0),s(x,null,j($e.value,n=>(t(),s("tr",{key:n.key||n.name,class:N({"is-active":Be.value===(n.key||n.name)}),tabindex:Je.value?0:-1,onClick:d=>ie(n),onKeydown:[xe(Q(d=>ie(n),["prevent"]),["enter"]),xe(Q(d=>ie(n),["prevent"]),["space"])]},[(t(!0),s(x,null,j(Re.value,d=>(t(),s("td",{key:d.key,class:N(tn(d)),title:ea(n,d)},[d.strong?(t(),s("strong",Vs,[I(o(ea(n,d)),1),nn(n,d)?(t(),s("em",Bs,o(nn(n,d)),1)):m("",!0)])):d.action==="locate"&&n.canLocate?(t(),s("button",{key:1,type:"button",class:"business-project-locate-button",title:"定位并查看详情","aria-label":"定位并查看详情",onClick:Q(V=>Na(n,d),["stop"]),onKeydown:[xe(Q(V=>Na(n,d),["stop","prevent"]),["enter"]),xe(Q(V=>Na(n,d),["stop","prevent"]),["space"])]},[...a[11]||(a[11]=[u("span",{class:"business-project-cell-icon business-project-cell-icon--locate","aria-hidden":"true"},null,-1)])],40,Rs)):d.action==="locate"?(t(),s("span",Ys,"--")):d.icon&&ea(n,d)!=="--"?(t(),s("span",{key:3,class:N(["business-project-cell-icon",`business-project-cell-icon--${d.icon}`]),role:"img","aria-label":ea(n,d)},null,10,Is)):(t(),s("span",Ks,o(ea(n,d)),1))],10,Fs))),128))],42,zs))),128))])]),$e.value.length?m("",!0):(t(),s("div",Gs,o(la.value),1))])],2)):g.value==="projectLedger"?(t(),s("div",Ws,[u("div",Ds,[mn(u("input",{"onUpdate:modelValue":a[2]||(a[2]=n=>E.value=n),type:"search",placeholder:sa.value},null,8,Us),[[Sn,E.value]])]),u("div",Os,[u("div",Hs,[u("strong",null,o(fa.value),1),u("span",null,o(ba.value),1)]),u("small",null,"已定位 "+o(je.value)+" 处",1),U.value>1?(t(),s("div",Es,[u("button",{type:"button",class:"business-project-ledger__page-button is-previous",title:"上一页","aria-label":"上一页",disabled:ue.value<=1,onClick:a[3]||(a[3]=n=>sn(-1))},[...a[12]||(a[12]=[u("i",{"aria-hidden":"true"},null,-1)])],8,Xs),u("span",null,o(ue.value)+" / "+o(U.value),1),u("button",{type:"button",class:"business-project-ledger__page-button is-next",title:"下一页","aria-label":"下一页",disabled:ue.value>=U.value,onClick:a[4]||(a[4]=n=>sn(1))},[...a[13]||(a[13]=[u("i",{"aria-hidden":"true"},null,-1)])],8,Zs)])):m("",!0)]),u("div",{class:"business-project-ledger__list business-project-frame",style:L({"--ledger-row-count":ha.value})},[(t(!0),s(x,null,j(Ie.value,n=>(t(),s("div",{key:n.key||n.name,class:N(["business-project-ledger__row",{"is-active":Be.value===(n.key||n.name),"is-locatable":n.canLocate,"is-unlocated":n.canLocate===!1}]),tabindex:n.canLocate?0:-1,onClick:d=>ie(n),onKeydown:[xe(Q(d=>ie(n),["prevent"]),["enter"]),xe(Q(d=>ie(n),["prevent"]),["space"])]},[u("div",Qs,[u("strong",{title:ln(n)},o(ln(n)),9,el),u("div",null,[u("span",{title:rn(n)},o(rn(n)),9,al)])]),n.canLocate?(t(),s("button",{key:0,type:"button",class:"business-project-locate-button",title:"定位并查看详情","aria-label":"定位并查看详情",onClick:Q(d=>ie(n,!0),["stop"]),onKeydown:[xe(Q(d=>ie(n,!0),["stop","prevent"]),["enter"]),xe(Q(d=>ie(n,!0),["stop","prevent"]),["space"])]},[...a[14]||(a[14]=[u("span",{class:"business-project-cell-icon business-project-cell-icon--locate","aria-hidden":"true"},null,-1)])],40,nl)):(t(),s("span",tl,"暂无坐标"))],42,Js))),128)),Ie.value.length?m("",!0):(t(),s("div",sl,o(la.value),1))],4)])):g.value==="specGrid"?(t(),s("div",ll,[(t(!0),s(x,null,j(xa.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:"business-spec-grid__row"},[u("span",rl,o(String(d+1).padStart(2,"0")),1),u("span",{class:"business-spec-grid__name",title:n.name},o(n.name),9,ul),u("strong",ol,[I(o(A(n)),1),n.unit?(t(),s("em",il,o(n.unit),1)):m("",!0)]),u("div",cl,[(t(!0),s(x,null,j(n.specs||[],V=>(t(),s("span",{key:V.label,title:`${V.label} ${O(V.value)}${V.unit||""}`},[u("small",null,o(V.label),1),u("strong",null,[I(o(O(V.value)),1),V.unit?(t(),s("em",_l,o(V.unit),1)):m("",!0)])],8,dl))),128))])]))),128))])):g.value==="supportMatrix"?(t(),s("div",{key:14,class:N(["business-support-matrix",{"is-with-total":ye.value}])},[(bn=f.panel)!=null&&bn.note?(t(),s("small",vl,o(f.panel.note),1)):m("",!0),u("div",pl,[a[15]||(a[15]=u("span",null,"乡镇",-1)),ye.value?(t(),s("span",yl,o(((xn=f.panel)==null?void 0:xn.totalLabel)||"合计"),1)):m("",!0),(t(!0),s(x,null,j(re.value,n=>(t(),s("span",{key:n.key},o(n.headerName||n.name),1))),128))]),u("div",gl,[(t(!0),s(x,null,j(Qe.value,n=>(t(),s("div",{key:n.key||n.name},[u("span",null,o(be(n.name)),1),ye.value?(t(),s("strong",{key:0,class:"business-support-matrix__total",title:on(n)},o(on(n)),9,hl)):m("",!0),(t(!0),s(x,null,j(re.value,d=>(t(),s("strong",{key:d.key,title:un(n,d)},o(un(n,d)),9,fl))),128))]))),128))])],2)):g.value==="table"?(t(),s("div",{key:15,class:N(["business-table",{"is-dense":Ee.value.length>8}])},[u("div",bl,[(t(),s(x,null,j(2,n=>u("div",{key:n,class:"business-table-head-group"},[...a[16]||(a[16]=[u("span",null,"乡镇",-1),u("span",null,"亩产",-1)])])),64))]),u("div",xl,[(t(!0),s(x,null,j(Ee.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-table-row",{"is-active":d===c.value}]),"data-chart-tooltip":H(n)},[u("span",wl,o(n.name),1),u("div",$l,[u("strong",null,[I(o(A(n)),1),n.unit?(t(),s("em",jl,o(n.unit),1)):m("",!0)]),u("i",null,[u("b",{style:L({width:`${We(n)}%`,background:yn(d)})},null,4)])])],10,kl))),128))])],2)):g.value==="stackColumn"?(t(),s("div",{key:16,class:N(["business-stack-columns",[`is-variant-${((kn=f.panel)==null?void 0:kn.variant)||"standard"}`,{"is-dense":_e.value.length>6,"is-with-values":Qa()}]])},[u("div",Ml,[(t(!0),s(x,null,j(re.value,(n,d)=>(t(),s("span",{key:n.key||n.name},[u("i",{style:L({background:Da(n,d)})},null,4),I(o(n.name),1)]))),128)),Te(_e.value[0])?(t(),s("small",Nl,"单位:"+o(Te(_e.value[0])),1)):m("",!0)]),u("div",ml,[(t(!0),s(x,null,j(_e.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-stack-item",{"is-active":d===c.value}]),"data-hover-value":Ja(n),title:Ja(n),"data-chart-tooltip":Fn(n)},[Qa()&&Le(n)>0?(t(),s("strong",Cl,[I(o(Ma(n))+o(O(Le(n))),1),Te(n)?(t(),s("em",Ll,o(Te(n)),1)):m("",!0)])):m("",!0),u("div",Tl,[(t(!0),s(x,null,j(Wa(n),(V,$r)=>(t(),s("i",{key:V.key||V.name,style:L({height:`${V.percent}%`,background:V.color,color:V.color}),"data-chart-tooltip":Vn(n,V)},null,12,Al))),128))]),u("span",null,o(oa(n.name)),1)],10,Sl))),128))])],2)):g.value==="peak"?(t(),s("div",{key:17,class:N(["business-peaks",{"is-dense":P.value.length>5}])},[Xe.value?(t(),s("small",ql,"单位:"+o(Xe.value),1)):m("",!0),(t(!0),s(x,null,j(P.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:"business-peak-item",style:L({"--peak-height":`${We(n)}%`,"--peak-color":B(d)}),"data-hover-value":ia(n),title:ia(n),"data-chart-tooltip":H(n)},[u("strong",null,[I(o(A(n)),1),Oa(n)?(t(),s("em",zl,o(Oa(n)),1)):m("",!0)]),a[17]||(a[17]=u("div",{class:"business-peak-stage"},[u("i")],-1)),u("span",null,o(oa(n.name)),1)],12,Pl))),128))],2)):g.value==="line"?(t(),s("div",{key:18,class:N(["business-line",{"has-unit-label":!!Ze.value}])},[Ze.value?(t(),s("small",Fl,"单位:"+o(Ze.value),1)):m("",!0),u("div",{class:"business-line-chart",onMousemove:En,onMouseleave:a[5]||(a[5]=n=>ee.value=null)},[(t(),s("svg",Vl,[a[18]||(a[18]=u("path",{class:"business-line-grid",d:"M0 18H320M0 44H320M0 70H320"},null,-1)),u("polyline",{class:"business-line-area",points:An.value},null,8,Bl),u("polyline",{class:"business-line-stroke",points:Va.value},null,8,Rl),(t(!0),s(x,null,j(((wn=f.panel)==null?void 0:wn.showValues)===!0?se.value:[],(n,d)=>(t(),s("text",{key:`value-${d}`,x:n.x,y:n.y<22?n.y+15:n.y-6,class:"business-line-value"},o(A(n.item)),9,Yl))),128)),(t(!0),s(x,null,j(se.value,(n,d)=>(t(),s("circle",{key:d,cx:n.x,cy:n.y,r:"3",class:N(["business-line-dot",{"is-active":d===Ga.value}])},null,10,Il))),128)),(t(!0),s(x,null,j(se.value,(n,d)=>(t(),s("circle",{key:`hit-${d}`,cx:n.x,cy:n.y,r:"13",class:"business-line-hit",onMouseenter:V=>ee.value=d},null,40,Kl))),128))])),u("div",{class:"business-line-hover-zones",style:L(Ia.value)},[(t(!0),s(x,null,j(se.value,(n,d)=>(t(),s("i",{key:`zone-${d}`,onMouseenter:V=>ee.value=d},null,40,Gl))),128))],4),Ge.value&&((($n=f.panel)==null?void 0:$n.tooltipOnHoverOnly)!==!0||Number.isInteger(ee.value))?(t(),s("div",{key:0,class:"business-line-tooltip",style:L(Pn.value)},[u("span",null,o(Ge.value.item.name),1),u("strong",null,[I(o(A(Ge.value.item)),1),Ge.value.item.unit?(t(),s("em",Wl,o(Ge.value.item.unit),1)):m("",!0)])],4)):m("",!0)],32),u("div",{class:"business-line-labels",style:L(Ia.value)},[(t(!0),s(x,null,j(Ya.value,n=>(t(),s("span",{key:n.key||n.name},o(oa(n.name)),1))),128))],4)],2)):g.value==="balanceGaugeGrid"?(t(),s("div",{key:19,class:N(["business-balance-gauge-grid",{"is-single":ae.value.length===1}])},[(t(!0),s(x,null,j(ae.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-balance-gauge-card",{"is-active":d===c.value}]),style:L(Hn(n)),"data-chart-tooltip":Xa(n)},[u("div",Ul,[u("strong",null,o(ma(n)),1)]),u("div",Ol,[u("div",Hl,[u("strong",null,o(A(n)),1),fe(n)?(t(),s("em",El,o(fe(n)),1)):m("",!0)])]),u("div",Xl,o(n.name),1),n.extra?(t(),s("div",Zl,o(n.extra),1)):m("",!0)],14,Dl))),128))],2)):g.value==="gauge"?(t(),s("div",{key:20,class:N(["business-gauges",{"is-dense":Ve.value.length>3}])},[(t(!0),s(x,null,j(Ve.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:N(["business-gauge-item",{"is-active":d===c.value,"is-safe":ce(n)<=0,"is-low-rate":ce(n)>0&&ce(n)<5,"is-alert":ce(n)>100}]),style:L({"--gauge-color":Dn(n,d),"--needle-rotate":`${Wn(n)}deg`}),"data-chart-tooltip":Xa(n)},[u("div",Ql,[(t(),s("svg",er,[a[19]||(a[19]=u("path",{class:"business-gauge-track",d:"M24 76 A52 52 0 0 1 128 76",pathLength:"100"},null,-1)),u("path",{class:"business-gauge-progress",d:"M24 76 A52 52 0 0 1 128 76",pathLength:"100","stroke-dasharray":`${cn(n)} 100`},null,8,ar),a[20]||(a[20]=u("path",{class:"business-gauge-glow",d:"M38 76 A38 38 0 0 1 114 76"},null,-1))])),a[21]||(a[21]=u("i",{class:"business-gauge-needle"},null,-1)),a[22]||(a[22]=u("b",{class:"business-gauge-pivot"},null,-1)),u("div",nr,[u("strong",null,[I(o(A(n)),1),fe(n)?(t(),s("em",tr,o(fe(n)),1)):m("",!0)]),u("small",null,o(ma(n)),1)])]),u("span",sr,o(n.name),1),n.extra?(t(),s("small",lr,o(n.extra),1)):m("",!0)],14,Jl))),128))],2)):g.value==="heat"?(t(),s("div",{key:21,class:N(["business-heat",{"is-dense":Fe.value.length>6,"is-four-column":Fe.value.length===8}])},[(t(!0),s(x,null,j(Fe.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:"business-heat-cell",style:L(Kn(n,d)),"data-chart-tooltip":H(n)},[a[23]||(a[23]=u("i",null,null,-1)),u("span",null,o(n.name),1),u("strong",null,[I(o(A(n)),1),n.unit?(t(),s("em",ur,o(n.unit),1)):m("",!0)])],12,rr))),128))],2)):g.value==="split"?(t(),s("div",{key:22,class:N(["business-split",{"is-dense":de.value.length>8||((jn=f.panel)==null?void 0:jn.variant)==="compact"}])},[u("div",or,[(t(!0),s(x,null,j(de.value,(n,d)=>(t(),s("i",{key:n.key||n.name,style:L({width:`${Xn(n)}%`,background:B(d)}),"data-chart-tooltip":Za(n)},null,12,ir))),128))]),u("div",cr,[(t(!0),s(x,null,j(de.value,(n,d)=>(t(),s("div",{key:n.key||n.name,class:"business-split-row","data-chart-tooltip":Za(n)},[u("span",null,[u("i",{style:L({background:B(d)})},null,4),I(o(n.name),1)]),u("strong",null,o(A(n))+o(n.unit),1)],8,dr))),128))])],2)):(t(),aa(Ln,{key:23,rows:S.value,compact:""},null,8,["rows"])):(t(),s("div",jt,"暂无业务统计数据")),(t(),aa(_t,{to:"body"},[oe.value.visible?(t(),s("div",{key:0,class:N(["business-chart-tooltip",`is-${f.visualVersion}`]),style:L(i.value)},[u("strong",null,o(oe.value.title),1),(t(!0),s(x,null,j(oe.value.lines,n=>(t(),s("span",{key:n},o(n),1))),128))],6)):m("",!0)]))],34)}}};const vr={class:"feature-info-actions"},pr={key:0},yr=["aria-label","title"],gr={class:"feature-info"},hr={key:0,class:"feature-info-state",role:"status","aria-live":"polite"},fr={key:1,class:"feature-info-state",role:"status"},br={key:2,class:"feature-info-state",role:"status"},xr={key:0,class:"feature-table"},kr=["title"],wr={key:1,class:"feature-info-state is-inline"},Lr={__name:"FeatureInfoPanel",props:{feature:{type:Object,default:null},empty:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},height:{type:Number,default:380},width:{type:Number,default:430},title:{type:String,default:"详情"},compactGrassland:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},rows:{type:Array,default:()=>[]}},emits:["close"],setup(f,{emit:G}){const v=f,He=G,we=_(()=>v.title||"详情"),C=_(()=>we.value.replace(/详情$/,"")||"要素"),D=_(()=>`已选${C.value}`),g=_(()=>`关闭${we.value}`),S=[[["townName","town_name","xiangName","xiang_name","xiang","xzqmc","xzqdm","town_code","areaCode","area_code"],"所在乡镇"],[["village_name","cunName","cun_name","cun","c_name","cmc"],"所在村"],[["full_name"],"所在区域"],[["area_mu","acreage","mj","xbmj","tbdlmj","tbmj","geomj","shape_area","areaWanMu","area_wan_mu"],"图斑面积"]],W=[[["investigator"],"调查人"],[["survey_time","dc_rq","sjnf","delimitation_year"],"调查时间"],[["adjust_opinion_name"],"调整意见"],[["adjust_reason"],"调整原因"]],Pe=[[["pastureName","pasture_name"],"所属牧场"],[["recognizedYakCount","recognized_yak_count","yakCount","yak_count"],"牦牛数量"],[["acreage","area_mu","mj","xbmj","tbdlmj","tbmj","geomj","shape_area","areaWanMu","area_wan_mu"],"草地面积"],[["grasslandAreaMu","grassland_area_mu"],"草地面积"],[["wetlandAreaMu","wetland_area_mu"],"湿地面积"],[["otherAreaMu","other_area_mu"],"其他面积"],[["resourceFreshMuYield","resource_fresh_mu_yield"],"综合鲜草亩产"],[["resourceDryMuYield","resource_dry_mu_yield"],"综合干草亩产"],[["grasslandVegetationCover","grassland_vegetation_cover"],"草地植被盖度"],[["fullName","full_name","townName","town_name","xiangName","xiang_name","xiang","xzqmc","xzqdm","town_code","areaCode","area_code"],"所在区域"]],J={"artificial-grassland":[[["plot_code","plotNo","id","name"],"图斑编号"],[["town","town_name","townName"],"所在乡镇"],[["village","village_name","villageName"],"所在村"],[["area_mu","areaMu","area_m2","areaM2"],"图斑面积"]],woodland:[[["dlmc","layer_class_name"],"地类名称"],...S,[["qsdwmc"],"权属单位"],[["zldwmc"],"坐落单位"],[["lin_ban"],"林班"],[["xiao_ban"],"小班"],[["ld_qs","tdsyqs","qsxz","ownership_name","ownership"],"土地权属"],[["gjgyl_bhdj","bh_dj","protection_level_name","protection_level"],"保护等级"],[["sen_lin_lb","forest_type"],"森林类别"],[["lin_zhong","forest_category"],"林种"],[["zl_dj","quality_level_name","quality_level"],"质量等级"],[["you_shi_sz","tree_species","dominant_tree_species"],"优势树种"],[["qi_yuan","origin"],"起源"],[["ling_zu"],"龄组"],[["yu_bi_du"],"郁闭度"],[["pingjun_sg"],"平均树高"],[["mei_gq_zs"],"每公顷株数"],[["mei_gq_xj"],"每公顷蓄积"],[["huo_lm_xj"],"活立木蓄积"],[["sheng_wu_l"],"生物量"],[["tan_chu_l"],"碳储量"],[["stqwmc"],"生态区位"],[["po_du","slope"],"坡度"],[["po_wei"],"坡位"],[["tu_ceng_hd","soil_depth"],"土层厚度"],...W],grassland:[...Pe,[["pastureName","pasture_name"],"所属牧场"],...S,[["land_class_name","landUseName","land_use_name","landUse","land_use"],"地类名称"],[["landType","land_type"],"资源大类"],[["resourceType","resource_type"],"资源类别"],[["grasslandCategory","grassland_category_name","grassland category","base_grass"],"草原类别"],[["basic_type_name"],"基本草原类型"],[["grassTypeName","grass_type_name","grassland_type_name","grassType","grass_type"],"草原类"],[["grassMinType","grass_min_type"],"草原型"],[["grasslandLevelName","grassland_level_name","grasslandLevel","grassland_level","level_name","level"],"草原级别"],[["degradationLevelName","degradation_level_name","degradationLevel","degradation_level"],"退化等级"],[["vegetationStructureName","vegetation_structure_name","vegetationStructure","vegetation_structure"],"植被结构"],[["vegetationCover","vegetation_cover"],"植被盖度"],[["lbmjbl"],"裸斑面积比例"],[["dominanceLevel","dominance_level"],"优势度"],[["dominantGrassSpecies","dominant_grass_species"],"优势草种"],[["functionalCategory","functional_category"],"功能类别"],[["xcYield","xc_yield"],"鲜草产量"],[["xcMuYield","xc_mu_yield","xbXcMuYield","xb_xc_mu_yield","mu_yield"],"鲜草亩产"],[["xbXcYield","xb_xc_yield"],"小班鲜草产量"],[["xbXcMuYield","xb_xc_mu_yield"],"小班鲜草亩产"],[["gcYield","gc_yield"],"干草产量"],[["gcMuYield","gc_mu_yield","xbGcMuYield","xb_gc_mu_yield"],"干草亩产"],[["xbGcYield","xb_gc_yield"],"小班干草产量"],[["xbGcMuYield","xb_gc_mu_yield"],"小班干草亩产"],[["elevation"],"海拔"],[["landformName","landform_name","landform"],"地貌"],[["slope"],"坡度"],[["aspect"],"坡向"],[["soilDepth","soil_depth","tu_ceng_hd"],"土层厚度"],[["soil texture"],"土壤质地"],[["sddl"],"三调地类"],[["hqlm"],"划区轮牧"],[["cdsyq"],"草地所有权"],[["cdsyq2"],"草地使用权"],[["cdjjq"],"草地经营权"],...W],wetland:[[["grass_min_type","grassland_category_name","grassland_type_name","land_class_name","land_use_name"],"湿地类型"],...S,[["grass_type_name","grass_type"],"湿地草地型"],[["grassland_level_name","grassland_level","level_name","level"],"湿地级别"],[["vegetation_structure_name","vegetation_structure"],"植被结构"],[["vegetation_cover"],"植被盖度"],[["dominant_grass_species"],"优势草种"],[["functional_category"],"功能类别"],[["xc_yield","xb_xc_yield"],"鲜草产量"],[["xc_mu_yield","xb_xc_mu_yield","mu_yield"],"鲜草亩产"],[["edible_xc_yield"],"可食鲜草产量"],[["edible_xc_mu_yield"],"可食鲜草亩产"],[["gc_yield","xb_gc_yield"],"干草产量"],[["elevation"],"海拔"],[["landform_name","landform"],"地貌"],[["soil_depth","tu_ceng_hd"],"土层厚度"],...W],ecological:[[["engineering_name"],"工程类型"],[["township_name"],"所在乡镇"],[["location_unit_name"],"所在村(单位)"],[["land_type"],"地类名称"],[["source_area_mu"],"候选面积"],[["altitude_m"],"海拔"],[["slope_class"],"坡度分级"],[["latest_same_type_project_year"],"最近同类工程年份"],[["latest_same_type_project_name"],"最近同类工程"],[["same_type_project_count"],"相交同类工程数"],[["latest_project_year"],"最近工程年份"],[["latest_project_name"],"最近工程"],[["reserve_name","natural_protected_area_name"],"自然保护地名称"],[["redline_name"],"红线名称"],[["redline_code"],"红线编码"],[["functional_zone","natural_protected_area_zone"],"功能分区"],[["type"],"管控分区"],[["redline_type","ecosystem_service_type"],"红线类型"],[["management_control_requirement"],"管控要求"],[["reserve_level","natural_protected_area_level"],"保护地级别"],[["reserve_type","natural_protected_area_type"],"保护地类型"],[["area_source_mj","area_mu","area_m2"],"图斑面积"],[["original_area_m2"],"原始面积"],[["adjusted_area_m2"],"调整面积"],[["remarks"],"备注"],[["project_name","projectName","name"],"项目名称"],[["project_category","projectCategory"],"项目类型"],[["company"],"实施单位"],[["leader"],"负责人"],[["project_status","projectStatus","status"],"项目状态"],[["full_name","fullName"],"所在区域"],[["address"],"项目地址"],[["measure_type"],"措施类型"],[["feature_role"],"要素类型"],[["township"],"涉及乡镇"],[["year"],"建设年份"],[["progress_count","progressCount"],"进度记录"],[["totalAcreage"],"总面积"],[["cdAcreage"],"草地面积"],[["sdAcreage"],"湿地面积"],[["area_mu"],"治理面积"],[["length_meter"],"工程长度"],[["cdScl"],"草地生产力"],[["sdScl"],"湿地生产力"],[["geometry_type"],"几何类型"]]},de={land_type:{1:"草地",2:"湿地",caodi:"草地",shidi:"湿地",woodland:"林地",grassland:"草地",wetland:"湿地"},landType:{1:"草地",2:"湿地",caodi:"草地",shidi:"湿地",woodland:"林地",grassland:"草地",wetland:"湿地"},vegetation_structure:{1:"草本型"},landform:{2:"平原",5:"中山",6:"高山"},land_use:{"0401":"天然牧草地","0403":"人工牧草地","0404":"其他草地"},reserve_level:{1:"国家级",2:"省级",3:"市级",4:"县级"},natural_protected_area_level:{1:"国家级",2:"省级",3:"市级",4:"县级"},reserve_type:{ZZ_NR:"自然保护区"},natural_protected_area_type:{ZZ_NR:"自然保护区"},sddl:{"0401":"天然牧草地","0403":"人工牧草地","0404":"其他草地"},ld_qs:{10:"集体林地",20:"国有或其他"},qsxz:{10:"集体林地",20:"国有或其他"},tdsyqs:{10:"集体林地",20:"国有或其他"},gjgyl_bhdj:{0:"未划定",1:"国家一级公益林",2:"国家二级公益林"},bh_dj:{0:"未划定",1:"国家一级公益林",2:"国家二级公益林"},zl_dj:{2:"二级质量",3:"三级质量",4:"四级质量",5:"五级质量"},po_wei:{1:"脊部",2:"上坡",3:"中坡",4:"下坡",5:"谷地",6:"平地"}},na=new Set(["lin_zhong","sen_lin_lb","you_shi_sz","qi_yuan","ling_zu","po_xiang","tu_rang_lx","ownership","ownership_name","protection_level","forest_category","forest_type","quality_level","origin","tree_species","dominant_tree_species","base_grass","degradation_level","land_class","grass_type"]),P={xiang:"所在乡镇",xzqdm:"所在乡镇",xzqmc:"所在乡镇",town_code:"所在乡镇",area_code:"所在乡镇",areaCode:"所在乡镇",cun:"所在村",cmc:"所在村",c_name:"所在村",acreage:"图斑面积",mj:"图斑面积",xbmj:"小班面积",tbdlmj:"图斑地类面积",geomj:"图斑面积",tbmj:"图斑面积",shape_area:"图斑面积",area_mu:"图斑面积",pastureName:"所属牧场",pasture_name:"所属牧场",pastureAcreage:"牧场面积",pasture_acreage:"牧场面积",relationAcreage:"关系面积",relation_acreage:"关系面积",pastureOverlapAcreage:"重叠面积",pasture_overlap_acreage:"重叠面积",relatedPastureCount:"关联牧场数",related_pasture_count:"关联牧场数",relatedPastureNames:"关联牧场",related_pasture_names:"关联牧场",yakCount:"牦牛数量",yak_count:"牦牛数量",recognizedYakCount:"牦牛数量",recognized_yak_count:"牦牛数量",grasslandAreaMu:"草地面积",grassland_area_mu:"草地面积",wetlandAreaMu:"湿地面积",wetland_area_mu:"湿地面积",otherAreaMu:"其他面积",other_area_mu:"其他面积",grasslandAreaPercent:"草地占比",grassland_area_percent:"草地占比",wetlandAreaPercent:"湿地占比",wetland_area_percent:"湿地占比",otherAreaPercent:"其他占比",other_area_percent:"其他占比",resourceFreshMuYield:"综合鲜草亩产",resource_fresh_mu_yield:"综合鲜草亩产",resourceDryMuYield:"综合干草亩产",resource_dry_mu_yield:"综合干草亩产",resourceFreshYieldJin:"鲜草产量",resource_fresh_yield_jin:"鲜草产量",resourceDryYieldJin:"干草产量",resource_dry_yield_jin:"干草产量",grasslandVegetationCover:"草地植被盖度",grassland_vegetation_cover:"草地植被盖度",grass_min_type:"草原型",grassMinType:"草原型",grass_type:"草原类",grassType:"草原类",grass_type_name:"草原类",grassTypeName:"草原类",grassland_type_name:"草原类",patch_no:"图斑编号",land_number:"图斑编号",grassland_level:"草原级别",grasslandLevel:"草原级别",grassland_level_name:"草原级别",grasslandLevelName:"草原级别",level:"等级",level_name:"等级",land_class_name:"地类名称",land_use_name:"地类名称",landUseName:"地类名称",landUse:"地类名称",basic_type_name:"草原类型",grassland_category_name:"草原类别",grasslandCategory:"草原类别",degradation_level:"退化等级",degradationLevel:"退化等级",degradation_level_name:"退化等级",degradationLevelName:"退化等级",vegetation_structure:"植被结构",vegetationStructure:"植被结构",vegetation_structure_name:"植被结构",vegetationStructureName:"植被结构",xc_yield:"鲜草产量",xcYield:"鲜草产量",gc_yield:"干草产量",gcYield:"干草产量",xc_mu_yield:"鲜草亩产",xcMuYield:"鲜草亩产",gc_mu_yield:"干草亩产",gcMuYield:"干草亩产",mu_yield:"亩产",edible_xc_yield:"可食鲜草产量",edible_xc_mu_yield:"可食鲜草亩产",dlmc:"地类名称",qsdwmc:"权属单位",zldwmc:"坐落单位",lin_ban:"林班",xiao_ban:"小班",ld_qs:"土地权属",tdsyqs:"土地权属",qsxz:"土地权属",gjgyl_bhdj:"保护等级",bh_dj:"保护等级",sen_lin_lb:"森林类别",lin_zhong:"林种",zl_dj:"质量等级",you_shi_sz:"优势树种",qi_yuan:"起源",cdsyq:"草地所有权",cdsyq2:"草地使用权",cdjjq:"草地经营权",resource_type:"资源类型","grassland category":"草原类别",dominant_grass_species:"优势草种",functional_category:"功能类别",functionalCategory:"功能类别",vegetation_cover:"植被盖度",vegetationCover:"植被盖度",xb_xc_yield:"小班鲜草产量",xbXcYield:"小班鲜草产量",xb_gc_yield:"小班干草产量",xbGcYield:"小班干草产量",base_grass:"基本草原",hqlm:"划区轮牧",elevation:"海拔",soil_depth:"土层厚度","soil texture":"土壤质地",aspect:"坡向",slope:"坡度",landform:"地貌",landform_name:"地貌",sddl:"三调地类",dominance_level:"优势度",investigator:"调查人",survey_time:"调查时间",land_type:"土地类型",landType:"土地类型",status:"状态",type:"类型",reserve_name:"自然保护地名称",natural_protected_area_name:"自然保护地名称",reserve_level:"保护地级别",natural_protected_area_level:"保护地级别",reserve_type:"保护地类型",natural_protected_area_type:"保护地类型",reserve_zone:"自然保护地范围",functional_zone:"功能分区",natural_protected_area_zone:"功能分区",redline_name:"红线名称",redline_type:"红线类型",ecosystem_service_type:"生态系统服务类型",management_control_requirement:"管控要求",area_source_mj:"图斑面积",area_m2:"图斑面积",original_area_m2:"原始面积",adjusted_area_m2:"调整面积",remarks:"备注",province_name:"所在省",county_name:"所在县域",county_display_name:"所在县域",administrative_area_name:"行政区划",redline_code:"红线编码",source_identifier:"源标识码",prefecture_name:"所在州",xb_gc_mu_yield:"干草亩产",xbGcMuYield:"干草亩产",xb_xc_mu_yield:"鲜草亩产",xbXcMuYield:"鲜草亩产",grass_yield:"草地产量",grassYield:"草地产量",full_name:"所在区域",fullName:"所在区域",gyl_bhlx:"公益林保护类型",ling_zu:"龄组",yu_bi_du:"郁闭度",pingjun_xj:"平均胸径",mei_gq_zs:"每公顷株数",mei_gq_xj:"每公顷蓄积",stqwmc:"生态区位",lyfq:"林业分区",qykz:"区域控制",po_wei:"坡位",tu_rang_zd:"土壤质地",zzsxmc:"主导属性",lin_chang:"林场",di_mao:"地貌",jt_qw:"交通区位",zbfglx:"植被覆盖类型",disaster_c:"灾害类型",dispe:"病虫害",pingjun_sg:"平均树高",huo_lm_xj:"活立木蓄积",sheng_wu_l:"生物量",tan_chu_l:"碳储量",g_cheng_lb:"工程类别",shi_quan_d:"事权等级",sf_tbq:"是否特别区",td_th_lx:"土地退化类型",project_name:"项目名称",projectName:"项目名称",project_category:"项目类型",projectCategory:"项目类型",company:"实施单位",leader:"负责人",project_status:"项目状态",projectStatus:"项目状态",address:"项目地址",conclusion:"工程结论",progress_count:"进度记录",progressCount:"进度记录",measure_type:"措施类型",measureType:"措施类型",feature_role:"要素类型",featureRole:"要素类型",township:"涉及乡镇",year:"建设年份",length_meter:"工程长度",lengthMeter:"工程长度",geometry_type:"几何类型",geometryType:"几何类型",totalAcreage:"总面积",cdAcreage:"草地面积",sdAcreage:"湿地面积",cdScl:"草地生产力",sdScl:"湿地生产力"},Ee=new Set(Object.keys(P)),ze=new Set(["pingjun_sg","pingjun_xj","mei_gq_zs","mei_gq_xj","huo_lm_xj","sheng_wu_l","tan_chu_l","yu_bi_du","grass_yield","xb_xc_yield","xb_xc_mu_yield","xc_mu_yield","xb_gc_yield","xb_gc_mu_yield","gc_mu_yield"]),Xe=new Set(["xb_xc_yield","xb_gc_yield","grass_yield","gc_yield","xc_yield","yield","output","remark1","remark2","remark3","remark4","remark5","remarks"]),Ze=new Set(["province_name","county_name","county_display_name","administrative_area_name","prefecture_name","source_identifier"]),pe=new Set(["full_name","fullName","townName","town_name","xiangName","xiang_name","xiang","xzqmc","xzqdm","town","town_code","areaCode","area_code"]),Fe=new Set(["areaWanMu","area_wan_mu","area_mu","source_area_mu","area_m2","acreage","area_source_mj","original_area_m2","adjusted_area_m2","mj","xbmj","tbdlmj","tbmj","geomj","shape_area","area_square_meter"]),Ve=[...yt].sort((l,i)=>i.length-l.length),ae=_(()=>{var l;return((l=v.feature)==null?void 0:l.properties)||{}}),re=_(()=>{var l,i,c;return((i=(l=v.feature)==null?void 0:l.feature)==null?void 0:i.geometry)||((c=v.feature)==null?void 0:c.geometry)||null}),_e=_(()=>(Array.isArray(v.rows)?v.rows:[]).map((l,i)=>({key:l.key||l.sourceKey||l.label||l.name||`external-row-${i}`,sourceKey:l.sourceKey||l.key||`external-row-${i}`,label:l.label||l.name||"",value:l.value})).filter(l=>U(l.label)&&U(l.value))),ta=_(()=>{var c,w;const l=String(((w=(c=v.feature)==null?void 0:c.layer)==null?void 0:w.key)||"").toLowerCase(),i=ae.value;return l.includes("artificial-grassland")||String(i.stageKey||"")==="artificial-grassland"}),E=_(()=>{var w,k,$,b;const l=String(((k=(w=v.feature)==null?void 0:w.layer)==null?void 0:k.key)||"").toLowerCase(),i=String(((b=($=v.feature)==null?void 0:$.layer)==null?void 0:b.layerName)||"").toLowerCase(),c=`${l} ${i}`;return c.includes("ecological-redline")||c.includes("ecological_redline")||c.includes("natural-protected-area")||c.includes("natural_protected_area")}),Be=_(()=>{var i,c;return String(((c=(i=v.feature)==null?void 0:i.layer)==null?void 0:c.key)||"").toLowerCase().includes("engineering-suitability")||!!ae.value.engineering_name}),Z=_(()=>{var $,b,Y,K,X;const l=String((($=v.feature)==null?void 0:$.id)||"").toLowerCase(),i=String(((Y=(b=v.feature)==null?void 0:b.layer)==null?void 0:Y.key)||"").toLowerCase(),c=String(((X=(K=v.feature)==null?void 0:K.layer)==null?void 0:X.layerName)||"").toLowerCase(),w=`${i} ${c}`,k=ae.value;return ta.value?"artificial-grassland":E.value||w.includes("national-park")||w.includes("restoration")||w.includes("engineering-suitability")||k.engineering_name||k.project_name||k.project_category||k.totalAcreage?"ecological":k.dlmc||l.includes("woodland")||l.includes("t_woodland")||w.includes("woodland")?"woodland":w.includes("wetland")||w.includes("shidi")||l.includes("shidi")||k.land_type==="shidi"||k.landType==="shidi"||k.land_type==="湿地"||k.landType==="湿地"||k.land_type===2||k.landType===2||k.landType==="2"?"wetland":w.includes("grassland")||w.includes("caodi")||k.grassland_category_name||k.grasslandCategory||k.basic_type_name||l.includes("caodi")||k.land_type==="caodi"||k.landType==="caodi"||k.land_type===1||k.landType===1||k.landType==="1"?"grassland":"woodland"}),Re=_(()=>{const l=[],i=new Set,w=(Z.value==="grassland"||Z.value==="wetland")&&v.compactGrassland;(w?Pe:J[Z.value]||J.woodland).forEach(([b,Y])=>{const K=ua(ae.value,b,ra(Y,b),i);K&&!l.some(X=>X.label===K.label)&&(l.push(K),i.add(K.sourceKey))});const $=Ye(Z.value);return!ta.value&&!Be.value&&!l.some(b=>b.label===$||$e(b.label))&&la(l,i,$,Se(re.value),"geometry-area"),w?l.slice(0,10):(Object.entries(ae.value).forEach(([b,Y])=>{if(i.has(b)||ee(b,Y))return;const K=Ie(b,Y);if(!U(K))return;const X=ra(P[b]||ka(b));l.some(ge=>ge.value===K||ge.label===X)||(l.push({key:`fallback-${b}`,sourceKey:b,label:X,value:K}),i.add(b))}),l)}),Je=_(()=>_e.value.length?_e.value:Re.value.map((l,i)=>Oe(Ue({},l),{displayOrder:sa(l,i)})).sort((l,i)=>l.displayOrder-i.displayOrder));function sa(l,i){const c=(l==null?void 0:l.label)||"",w=String((l==null?void 0:l.sourceKey)||"").toLowerCase();return["所属牧场","牦牛数量","草场面积","草地面积","湿地面积","林地面积","湿地面积","其他面积","综合鲜草亩产","综合干草亩产","草地植被盖度","所在区域","牧场面积","关系面积","重叠面积","关联牧场数","关联牧场"].includes(c)||["图斑名称","所在乡镇","所在村","所在区域","图斑编号","图斑类别","数据状态","资料类型","数据来源","图斑面积","小班面积","图斑地类面积","地类名称","湿地类型"].includes(c)?i:["基本草原类型","草原类型","草原类","草原型","湿地草地型","草原级别","湿地级别","退化等级","功能类别","保护等级","森林类别","林种","质量等级","优势树种","起源","龄组"].includes(c)?100+i:c.includes("产量")||c.includes("亩产")||c.includes("植被")||c.includes("优势草种")||c.includes("优势度")||c.includes("海拔")||c.includes("地貌")||c.includes("坡")||c.includes("土壤")||c.includes("郁闭度")||c.includes("树高")||c.includes("蓄积")||c.includes("生物量")||c.includes("碳储量")?200+i:c.includes("权属")||c.includes("所有权")||c.includes("使用权")||c.includes("经营权")||c.includes("调查")||c.includes("调整")||c.includes("划区")||c.includes("单位")||w.includes("owner")||w.includes("qsdw")||w.includes("zldw")?300+i:150+i}function la(l,i,c,w,k){!U(w)||l.some($=>$.label===c||$.value===w)||(l.push({key:`static-${k}`,sourceKey:k,label:c,value:w}),i.add(k))}function ra(l,i=[]){return Z.value==="ecological"&&E.value&&ue(l,i)?"图斑面积":$e(l)?Ye(Z.value):l}function $e(l){return["图斑面积","图斑地类面积","小班面积"].includes(String(l||""))}function ue(l,i=[]){return String(l||"")==="治理面积"||$e(l)?!0:i.some(c=>Fe.has(c))}function Ye(l){return l==="grassland"||l==="artificial-grassland"?"草地面积":l==="wetland"?"湿地面积":l==="woodland"?"林地面积":l==="ecological"&&E.value?"图斑面积":"面积"}function ua(l,i,c,w=new Set){for(const k of i)if(!(w.has(k)||Ne(k))&&U(l==null?void 0:l[k])){const $=Ie(k,l[k]);if(!U($))continue;return{key:`${c}-${k}`,sourceKey:k,label:c,value:$}}return null}function U(l){return l!=null&&l!==""&&l!==" "&&l!=="null"&&l!=="undefined"}function Ie(l,i){var k;if(!U(i))return"";if((k=de[l])!=null&&k[String(i)])return de[l][String(i)];if(pe.has(l))return ha(l,i);if(["cun","village_code"].includes(l)&&je(i))return"";if(["grassland_level","grasslandLevel","level"].includes(l)&&xa(i))return Z.value==="wetland"?`${Number(i)}级湿地`:`${Number(i)}级草原`;if(na.has(l)&&je(i)||me(l,i))return"";if(Ke(l))return Me(i);if(typeof i=="number"||/^-?\d+(\.\d+)?$/.test(String(i))){const $=Number(i);if(Fe.has(l)&&$===0||$===0&&ze.has(l))return"";const b=Number.isInteger($)?`${$}`:`${Number($.toFixed(2))}`;if(l==="area_source_mj")return`${ne($*15)} 万亩`;if(Z.value==="ecological"&&E.value&&["area_mu","acreage","mj"].includes(l))return`${ne($)} 万亩`;if(Z.value==="ecological"&&E.value&&["area_m2","original_area_m2","adjusted_area_m2"].includes(l))return`${ne($/666.6667)} 万亩`;if(["xbmj","tbdlmj","geomj","area_square_meter"].includes(l))return`${ye($/666.6667)} 亩`;if(["grasslandAreaMu","grassland_area_mu","wetlandAreaMu","wetland_area_mu","otherAreaMu","other_area_mu"].includes(l)){const K=(l.startsWith("grassland")?["grasslandAreaPercent","grassland_area_percent"]:l.startsWith("wetland")?["wetlandAreaPercent","wetland_area_percent"]:["otherAreaPercent","other_area_percent"]).map(ge=>{var he;return(he=ae.value)==null?void 0:he[ge]}).find(U),X=U(K)&&Number.isFinite(Number(K))?`(${Number(Number(K).toFixed(2))}%)`:"";return`${b} 亩${X}`}return["acreage","mj","area_mu","source_area_mu","pastureAcreage","pasture_acreage","relationAcreage","relation_acreage","pastureOverlapAcreage","pasture_overlap_acreage"].includes(l)?`${ye($)} 亩`:l==="altitude_m"?`${Qe($)} 米`:["recognizedYakCount","recognized_yak_count","yakCount","yak_count"].includes(l)?`${b} 头`:["relatedPastureCount","related_pasture_count"].includes(l)?`${b} 个`:["length_meter"].includes(l)?`${b} 米`:["totalAcreage","cdAcreage","sdAcreage"].includes(l)?`${b} 万亩`:["cdScl","sdScl"].includes(l)?`${b} 万吨`:["areaWanMu","area_wan_mu"].includes(l)?`${ye($*1e4)} 亩`:["xc_yield","xcYield","xb_xc_yield","xbXcYield","gc_yield","gcYield","xb_gc_yield","xbGcYield","edible_xc_yield","grass_yield","grassYield","resourceFreshYieldJin","resource_fresh_yield_jin","resourceDryYieldJin","resource_dry_yield_jin"].includes(l)?`${b} 斤`:["mu_yield","xc_mu_yield","xcMuYield","gc_mu_yield","gcMuYield","xb_xc_mu_yield","xbXcMuYield","xb_gc_mu_yield","xbGcMuYield","edible_xc_mu_yield","resourceFreshMuYield","resource_fresh_mu_yield","resourceDryMuYield","resource_dry_mu_yield"].includes(l)?`${b} 斤/亩`:["vegetation_cover","vegetationCover","grasslandVegetationCover","grassland_vegetation_cover","lbmjbl","yu_bi_du"].includes(l)?`${b}%`:["elevation","tu_ceng_hd","soilDepth","soil_depth","pingjun_sg"].includes(l)?`${b} 米`:["po_du","slope"].includes(l)?`${b}°`:b}const w=String(i);return Z.value==="wetland"&&["grassland_level","grasslandLevel","level"].includes(l)?w.replace(/草原/g,"湿地"):w}function ha(l,i){if(["xiang","xzqdm","town_code","area_code","areaCode"].includes(l)){const c=ba(i);if(c)return c}return fa(i)}function fa(l){const i=String(l||"").trim();if(!i)return"";const c=i.replace(/\s+/g,""),w=Cn(c);if(w)return w;const k=Ve.find(Y=>c.includes(Y));if(k)return c.slice(c.indexOf(k));const $=c.indexOf("红原县");if($>=0)return c.slice($+3)||c;const b=c.match(/县(.+)$/);return(b==null?void 0:b[1])||i}function ba(l){const i=String(l||"").trim();if(!i)return"";const c=i.replace(/\D/g,""),w=Cn(c||i);return w||(je(i)?"":i)}function je(l){return/^[0-9A-Za-z_-]{1,12}$/.test(String(l).trim())}function xa(l){return/^-?\d+(\.\d+)?$/.test(String(l).trim())}function Qe(l){return Number.isInteger(l)?`${l}`:`${Number(l.toFixed(2))}`}function ye(l){const i=Number(l);return Number.isFinite(i)?i>0&&i<.01?"<0.01":Qe(i):""}function ne(l){const i=Number(l)/1e4;return Number.isFinite(i)?i>0&&i<.01?"<0.01":Qe(i):""}function Ke(l){return["survey_time","dc_rq","create_time","update_time"].includes(String(l))}function Me(l){const i=String(l);return/^\d{4}-\d{2}-\d{2}/.test(i)?i.slice(0,10):i}function Ne(l){const i=String(l).toLowerCase();return["geom","wkt","geometry","the_geom","raw_properties"].includes(i)||["bsm","ysdm","gid","id","objectid","object_id","fid","key_uid"].includes(i)||["shape_leng","shape_length","length","perimeter"].includes(i)||["patch_no","land_number","plot_code","patch_code","tbybh"].includes(i)?!0:["xzqdm","area_code","town_code","redline_code","redline_type_code","reserve_code","source_code","administrative_area_code","county_code"].includes(i)?!1:["di_lei","qykz","stqw","lyfq","tbybh","patch_code"].includes(i)||i.endsWith("_code")||i.endsWith("dm")||i.endsWith("_id")||["create_by","create_time","update_by","update_time"].includes(i)?!0:i.includes("geom")||i.includes("boundary")||i.includes("wkb")}function ee(l,i){var w;if(Ne(l)||!U(i))return!0;const c=String(l).toLowerCase();return!!(Z.value==="ecological"&&E.value&&Ze.has(c)||Xe.has(c)||c.includes("number")||c.includes("patch_no")||!Ee.has(l)||je(i)&&!((w=de[l])!=null&&w[String(i)])&&!["xiang","xzqdm","town_code","area_code","cun","land_type","grassland_level","level","gjgyl_bhdj","bh_dj","ld_qs","qsxz","tdsyqs","zl_dj"].includes(l))}function me(l,i){var c;return!je(i)||(c=de[l])!=null&&c[String(i)]?!1:["resource_type","grassland category","functional_category","aspect","soil_depth","soil texture","cdsyq","cdsyq2","cdjjq"].includes(l)}function Se(l){const i=oe(l);if(!i)return"";const c=i/666.6667;return Z.value==="ecological"&&E.value?`${ne(c)} 万亩`:`${ye(c)} 亩`}function oe(l){return l!=null&&l.coordinates?l.type==="Polygon"?Ce(l.coordinates):l.type==="MultiPolygon"?l.coordinates.reduce((i,c)=>i+Ce(c),0):0:0}function Ce(l=[]){if(!l.length)return 0;const[i,...c]=l,w=Math.abs(te(i)),k=c.reduce(($,b)=>$+Math.abs(te(b)),0);return Math.max(0,w-k)}function te(l=[]){if(l.length<3)return 0;const i=l.reduce(($,b)=>$+Number((b==null?void 0:b[1])||0),0)/l.length,c=111320,w=c*Math.cos(i*Math.PI/180);let k=0;for(let $=0;$i.toUpperCase())}return(l,i)=>(t(),aa(pt,{class:"feature-info-card",title:we.value,width:f.width,height:f.height},{extra:za(()=>[u("div",vr,[f.feature&&!f.loading?(t(),s("span",pr,o(D.value),1)):m("",!0),f.closable?(t(),s("button",{key:1,type:"button","aria-label":g.value,title:g.value,onClick:i[0]||(i[0]=Q(c=>He("close"),["stop"]))}," 关闭 ",8,yr)):m("",!0)])]),default:za(()=>[u("div",gr,[f.loading?(t(),s("div",hr,"正在查询"+o(C.value)+"信息",1)):f.empty?(t(),s("div",fr,"当前点击位置未查询到"+o(C.value),1)):f.feature?(t(),s(x,{key:3},[Je.value.length?(t(),s("div",xr,[(t(!0),s(x,null,j(Je.value,c=>(t(),s("div",{key:c.key,class:"feature-row"},[u("span",null,o(c.label),1),u("strong",{title:c.value},o(c.value),9,kr)]))),128))])):(t(),s("div",wr,"当前图斑暂无可展示的业务字段"))],64)):(t(),s("div",br,"点击地图图层查看"+o(C.value)+"信息",1))])]),_:1},8,["title","width","height"]))}};export{Lr as _,Cr as a}; diff --git a/docs/assets/FeatureInfoPanel-ca5da623-balabala-1786725044461.css b/docs/assets/FeatureInfoPanel-ca5da623-balabala-1786807848259.css similarity index 100% rename from docs/assets/FeatureInfoPanel-ca5da623-balabala-1786725044461.css rename to docs/assets/FeatureInfoPanel-ca5da623-balabala-1786807848259.css diff --git a/docs/assets/LayerPanel-60397a69-balabala-1786725044461.css b/docs/assets/LayerPanel-60397a69-balabala-1786807848259.css similarity index 100% rename from docs/assets/LayerPanel-60397a69-balabala-1786725044461.css rename to docs/assets/LayerPanel-60397a69-balabala-1786807848259.css diff --git a/docs/assets/LayerPanel-48d446bf-1786725044461.js b/docs/assets/LayerPanel-e92912ff-1786807848259.js similarity index 95% rename from docs/assets/LayerPanel-48d446bf-1786725044461.js rename to docs/assets/LayerPanel-e92912ff-1786807848259.js index 0ca70d3..9875bbc 100644 --- a/docs/assets/LayerPanel-48d446bf-1786725044461.js +++ b/docs/assets/LayerPanel-e92912ff-1786807848259.js @@ -1 +1 @@ -import{g as o,o as s,C as z,x as I,a as i,n as g,c as r,F as k,y as m,f as L,t as w,K as C,j as h}from"./index-1786725044461.js";import{_ as R}from"./index-262a2c3c-1786725044461.js";import{d as j}from"./index-151544a4-1786725044461.js";const D={key:0,class:"layer-panel-list"},E=["onClick"],$=["onClick"],G={key:0,class:"layer-panel-empty"},J={key:1,class:"layer-panel-legend"},Q=["disabled","title","onClick"],U={class:"legend-name"},W={key:0,class:"legend-check"},X={key:1,class:"layer-panel-empty is-legend"},le={__name:"LayerPanel",props:{topicKey:{type:String,required:!0},modelValue:{type:[String,Array],default:""},legends:{type:Array,default:()=>[]},selectedLegendKey:{type:String,default:""},height:{type:Number,default:0},width:{type:Number,default:248},layers:{type:Array,default:null},overlayLayers:{type:Array,default:()=>[]},overlayKeys:{type:Array,default:()=>[]},legendOnly:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},showLegend:{type:Boolean,default:!0}},emits:["update:modelValue","update:selectedLegendKey","update:overlayKeys"],setup(d,{emit:V}){const t=d,p=V,f=o(()=>Array.isArray(t.layers)?t.layers:j(t.topicKey)),v=o(()=>Array.isArray(t.overlayLayers)?t.overlayLayers:[]),c=o(()=>Array.isArray(t.legends)?t.legends:[]),b=o(()=>Array.isArray(t.modelValue)?t.modelValue.map(String).filter(Boolean):t.modelValue?[String(t.modelValue)]:[]),A=o(()=>Array.isArray(t.overlayKeys)?t.overlayKeys.map(String).filter(Boolean):[]),x=o(()=>c.value.filter(K).length>1),M=o(()=>c.value.length===1),O=o(()=>t.legendOnly?"图例":t.compact?"图层":"图层控制"),T=o(()=>{const l=t.legendOnly?0:f.value.length+v.value.length,e=t.showLegend?Math.ceil(c.value.length/2):0,a=l?l*34+Math.max(0,l-1)*5:30,u=t.showLegend?c.value.length?30+Math.max(28,e*28):28:0,q=t.showLegend?172:108;return Math.max(q,Math.min(430,72+a+u))}),N=o(()=>t.compact?t.height||T.value:t.height?t.height:430);function F(n,l){var e,a;if((a=(e=n.currentTarget)==null?void 0:e.blur)==null||a.call(e),t.multiple){const u=new Set(b.value);u.has(l)?u.delete(l):u.add(l),p("update:modelValue",Array.from(u));return}p("update:modelValue",t.modelValue===l?"":l)}function S(n){return b.value.includes(String(n))}function H(n,l){var a,u;(u=(a=n.currentTarget)==null?void 0:a.blur)==null||u.call(a);const e=new Set(A.value);e.has(l)?e.delete(l):e.add(l),p("update:overlayKeys",Array.from(e))}function _(n){return A.value.includes(String(n))}function B(n={}){const l=n.color||n.fillColor||n.strokeColor||"";return l?{"--layer-item-color":l}:null}function P(n,l){var e,a;(a=(e=n.currentTarget)==null?void 0:e.blur)==null||a.call(e),y(l)&&p("update:selectedLegendKey",t.selectedLegendKey===l.key?"":l.key)}function K(n){return(n==null?void 0:n.selectable)===!1?!1:!!(n!=null&&n.key&&(n.cqlFilter||n.rankingValueKey))}function y(n){return x.value&&K(n)}return(n,l)=>(s(),z(R,{title:O.value,width:d.width,height:N.value},{default:I(()=>[i("div",{class:g(["layer-panel",{"is-legend-only":d.legendOnly,"is-compact":d.compact,"is-without-legend":!d.showLegend}])},[d.legendOnly?h("",!0):(s(),r("div",D,[(s(!0),r(k,null,m(f.value,e=>(s(),r("button",{key:e.key,class:g(["layer-panel-item",{"is-active":S(e.key),"is-checked":S(e.key)}]),type:"button",onMousedown:l[0]||(l[0]=L(()=>{},["prevent"])),onClick:a=>F(a,e.key)},[i("span",null,w(e.name),1),i("i",{style:C(B(e))},null,4)],42,E))),128)),(s(!0),r(k,null,m(v.value,e=>(s(),r("button",{key:e.key,class:g(["layer-panel-item is-overlay",{"is-active":_(e.key),"is-checked":_(e.key)}]),type:"button",onMousedown:l[1]||(l[1]=L(()=>{},["prevent"])),onClick:a=>H(a,e.key)},[i("span",null,w(e.name),1),i("i",{style:C(B(e))},null,4)],42,$))),128)),!f.value.length&&!v.value.length?(s(),r("div",G,"暂无图层配置")):h("",!0)])),d.showLegend?(s(),r("div",J,[l[3]||(l[3]=i("div",{class:"layer-panel-section-title"},"图例",-1)),c.value.length?(s(),r("div",{key:0,class:g(["layer-panel-legend-grid",{"is-single":M.value}])},[(s(!0),r(k,null,m(c.value,e=>(s(),r("button",{key:e.key||e.name,class:g(["layer-panel-legend-row",{"is-selected":y(e)&&e.key===d.selectedLegendKey,"is-checkable":y(e),"is-disabled":!y(e)}]),type:"button",disabled:!y(e),title:e.name,onMousedown:l[2]||(l[2]=L(()=>{},["prevent"])),onClick:a=>P(a,e)},[i("span",{class:"legend-swatch",style:C({backgroundColor:e.fillColor,borderColor:e.strokeColor||e.fillColor})},null,4),i("span",U,w(e.name),1),y(e)?(s(),r("i",W)):h("",!0)],42,Q))),128))],2)):(s(),r("div",X,"暂无图例"))])):h("",!0)],2)]),_:1},8,["title","width","height"]))}};export{le as _}; +import{g as o,o as s,C as z,x as I,a as i,n as g,c as r,F as k,y as m,f as L,t as w,K as C,j as h}from"./index-1786807848259.js";import{_ as R}from"./index-0eddac6c-1786807848259.js";import{d as j}from"./index-80cb981f-1786807848259.js";const D={key:0,class:"layer-panel-list"},E=["onClick"],$=["onClick"],G={key:0,class:"layer-panel-empty"},J={key:1,class:"layer-panel-legend"},Q=["disabled","title","onClick"],U={class:"legend-name"},W={key:0,class:"legend-check"},X={key:1,class:"layer-panel-empty is-legend"},le={__name:"LayerPanel",props:{topicKey:{type:String,required:!0},modelValue:{type:[String,Array],default:""},legends:{type:Array,default:()=>[]},selectedLegendKey:{type:String,default:""},height:{type:Number,default:0},width:{type:Number,default:248},layers:{type:Array,default:null},overlayLayers:{type:Array,default:()=>[]},overlayKeys:{type:Array,default:()=>[]},legendOnly:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},showLegend:{type:Boolean,default:!0}},emits:["update:modelValue","update:selectedLegendKey","update:overlayKeys"],setup(d,{emit:V}){const t=d,p=V,f=o(()=>Array.isArray(t.layers)?t.layers:j(t.topicKey)),v=o(()=>Array.isArray(t.overlayLayers)?t.overlayLayers:[]),c=o(()=>Array.isArray(t.legends)?t.legends:[]),b=o(()=>Array.isArray(t.modelValue)?t.modelValue.map(String).filter(Boolean):t.modelValue?[String(t.modelValue)]:[]),A=o(()=>Array.isArray(t.overlayKeys)?t.overlayKeys.map(String).filter(Boolean):[]),x=o(()=>c.value.filter(K).length>1),M=o(()=>c.value.length===1),O=o(()=>t.legendOnly?"图例":t.compact?"图层":"图层控制"),T=o(()=>{const l=t.legendOnly?0:f.value.length+v.value.length,e=t.showLegend?Math.ceil(c.value.length/2):0,a=l?l*34+Math.max(0,l-1)*5:30,u=t.showLegend?c.value.length?30+Math.max(28,e*28):28:0,q=t.showLegend?172:108;return Math.max(q,Math.min(430,72+a+u))}),N=o(()=>t.compact?t.height||T.value:t.height?t.height:430);function F(n,l){var e,a;if((a=(e=n.currentTarget)==null?void 0:e.blur)==null||a.call(e),t.multiple){const u=new Set(b.value);u.has(l)?u.delete(l):u.add(l),p("update:modelValue",Array.from(u));return}p("update:modelValue",t.modelValue===l?"":l)}function S(n){return b.value.includes(String(n))}function H(n,l){var a,u;(u=(a=n.currentTarget)==null?void 0:a.blur)==null||u.call(a);const e=new Set(A.value);e.has(l)?e.delete(l):e.add(l),p("update:overlayKeys",Array.from(e))}function _(n){return A.value.includes(String(n))}function B(n={}){const l=n.color||n.fillColor||n.strokeColor||"";return l?{"--layer-item-color":l}:null}function P(n,l){var e,a;(a=(e=n.currentTarget)==null?void 0:e.blur)==null||a.call(e),y(l)&&p("update:selectedLegendKey",t.selectedLegendKey===l.key?"":l.key)}function K(n){return(n==null?void 0:n.selectable)===!1?!1:!!(n!=null&&n.key&&(n.cqlFilter||n.rankingValueKey))}function y(n){return x.value&&K(n)}return(n,l)=>(s(),z(R,{title:O.value,width:d.width,height:N.value},{default:I(()=>[i("div",{class:g(["layer-panel",{"is-legend-only":d.legendOnly,"is-compact":d.compact,"is-without-legend":!d.showLegend}])},[d.legendOnly?h("",!0):(s(),r("div",D,[(s(!0),r(k,null,m(f.value,e=>(s(),r("button",{key:e.key,class:g(["layer-panel-item",{"is-active":S(e.key),"is-checked":S(e.key)}]),type:"button",onMousedown:l[0]||(l[0]=L(()=>{},["prevent"])),onClick:a=>F(a,e.key)},[i("span",null,w(e.name),1),i("i",{style:C(B(e))},null,4)],42,E))),128)),(s(!0),r(k,null,m(v.value,e=>(s(),r("button",{key:e.key,class:g(["layer-panel-item is-overlay",{"is-active":_(e.key),"is-checked":_(e.key)}]),type:"button",onMousedown:l[1]||(l[1]=L(()=>{},["prevent"])),onClick:a=>H(a,e.key)},[i("span",null,w(e.name),1),i("i",{style:C(B(e))},null,4)],42,$))),128)),!f.value.length&&!v.value.length?(s(),r("div",G,"暂无图层配置")):h("",!0)])),d.showLegend?(s(),r("div",J,[l[3]||(l[3]=i("div",{class:"layer-panel-section-title"},"图例",-1)),c.value.length?(s(),r("div",{key:0,class:g(["layer-panel-legend-grid",{"is-single":M.value}])},[(s(!0),r(k,null,m(c.value,e=>(s(),r("button",{key:e.key||e.name,class:g(["layer-panel-legend-row",{"is-selected":y(e)&&e.key===d.selectedLegendKey,"is-checkable":y(e),"is-disabled":!y(e)}]),type:"button",disabled:!y(e),title:e.name,onMousedown:l[2]||(l[2]=L(()=>{},["prevent"])),onClick:a=>P(a,e)},[i("span",{class:"legend-swatch",style:C({backgroundColor:e.fillColor,borderColor:e.strokeColor||e.fillColor})},null,4),i("span",U,w(e.name),1),y(e)?(s(),r("i",W)):h("",!0)],42,Q))),128))],2)):(s(),r("div",X,"暂无图例"))])):h("",!0)],2)]),_:1},8,["title","width","height"]))}};export{le as _}; diff --git a/docs/assets/LoginLogs-100aa744-balabala-1786725044461.css b/docs/assets/LoginLogs-100aa744-balabala-1786807848259.css similarity index 100% rename from docs/assets/LoginLogs-100aa744-balabala-1786725044461.css rename to docs/assets/LoginLogs-100aa744-balabala-1786807848259.css diff --git a/docs/assets/LoginLogs-bb7668a2-1786725044461.js b/docs/assets/LoginLogs-75fd6d65-1786807848259.js similarity index 97% rename from docs/assets/LoginLogs-bb7668a2-1786725044461.js rename to docs/assets/LoginLogs-75fd6d65-1786807848259.js index b2e1623..1cb1f83 100644 --- a/docs/assets/LoginLogs-bb7668a2-1786725044461.js +++ b/docs/assets/LoginLogs-75fd6d65-1786807848259.js @@ -1 +1 @@ -var W=Object.defineProperty,$=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var B=(s,l,e)=>l in s?W(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,V=(s,l)=>{for(var e in l||(l={}))F.call(l,e)&&B(s,e,l[e]);if(z)for(var e of z(l))G.call(l,e)&&B(s,e,l[e]);return s},q=(s,l)=>$(s,A(l));var O=(s,l,e)=>new Promise((c,f)=>{var m=i=>{try{r(e.next(i))}catch(v){f(v)}},u=i=>{try{r(e.throw(i))}catch(v){f(v)}},r=i=>i.done?c(i.value):Promise.resolve(i.value).then(m,u);r((e=e.apply(s,l)).next())});import{O as n,o as w,c as H,a as g,b as t,x as o,a1 as K,S as X,B as k,u as N,V as Z,W as U,t as h,C,j as ee,L as Y,d as I}from"./index-1786725044461.js";/* empty css */import{_ as ae}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const te={class:"admin-page"},oe={class:"admin-table-toolbar"},le={style:{color:"#8c97a8"}},ne={class:"log-message"},se={__name:"LoginLogs",setup(s){const l=[{title:"日志编号",dataIndex:"infoId",key:"infoId",width:105},{title:"用户账号",dataIndex:"userName",key:"userName",width:140},{title:"登录地址",dataIndex:"ipaddr",key:"ipaddr",width:145},{title:"登录地点",dataIndex:"loginLocation",key:"loginLocation",width:150,ellipsis:!0},{title:"浏览器",key:"browser",width:110},{title:"操作系统",dataIndex:"os",key:"os",width:120},{title:"登录状态",key:"status",width:100},{title:"提示消息",key:"msg",width:220,ellipsis:!0},{title:"登录时间",dataIndex:"loginTime",key:"loginTime",width:175}],e=Y({userName:"",ipaddr:"",status:void 0}),c=I([]),f=I([]),m=I(!1),u=Y({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:_=>`共 ${_} 条`});function r(){return O(this,null,function*(){var _,a;m.value=!0;try{const p=yield K(q(V({},e),{beginTime:(_=c.value)==null?void 0:_[0],endTime:(a=c.value)==null?void 0:a[1],pageNum:u.current,pageSize:u.pageSize}));f.value=p.rows||[],u.total=Number(p.total||0)}catch(p){X.error(p.message)}finally{m.value=!1}})}function i(){u.current=1,r()}function v(){Object.assign(e,{userName:"",ipaddr:"",status:void 0}),c.value=[],i()}function D(_){u.current=_.current,u.pageSize=_.pageSize,r()}return r(),(_,a)=>{const p=n("a-input"),y=n("a-form-item"),L=n("a-select-option"),E=n("a-select"),P=n("a-range-picker"),x=n("a-button"),S=n("a-space"),R=n("a-form"),T=n("a-card"),j=n("a-badge"),M=n("a-tag"),Q=n("a-tooltip"),J=n("a-table");return w(),H("div",te,[a[9]||(a[9]=g("div",{class:"admin-page-heading"},[g("h1",null,"登录日志")],-1)),t(T,{class:"admin-query-card",bordered:!1},{default:o(()=>[t(R,{class:"admin-query-form",model:e},{default:o(()=>[t(y,{label:"用户账号"},{default:o(()=>[t(p,{value:e.userName,"onUpdate:value":a[0]||(a[0]=d=>e.userName=d),"allow-clear":"",placeholder:"请输入用户账号",onPressEnter:i},null,8,["value"])]),_:1}),t(y,{label:"登录地址"},{default:o(()=>[t(p,{value:e.ipaddr,"onUpdate:value":a[1]||(a[1]=d=>e.ipaddr=d),"allow-clear":"",placeholder:"请输入 IP 地址",onPressEnter:i},null,8,["value"])]),_:1}),t(y,{label:"登录状态"},{default:o(()=>[t(E,{value:e.status,"onUpdate:value":a[2]||(a[2]=d=>e.status=d),"allow-clear":"",placeholder:"全部状态"},{default:o(()=>[t(L,{value:"0"},{default:o(()=>[...a[4]||(a[4]=[k("成功",-1)])]),_:1}),t(L,{value:"1"},{default:o(()=>[...a[5]||(a[5]=[k("失败",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),t(y,{label:"登录时间"},{default:o(()=>[t(P,{value:c.value,"onUpdate:value":a[3]||(a[3]=d=>c.value=d),"value-format":"YYYY-MM-DD"},null,8,["value"])]),_:1}),t(y,{class:"admin-query-actions"},{default:o(()=>[t(S,null,{default:o(()=>[t(x,{type:"primary",onClick:i},{default:o(()=>[t(N(Z)),a[6]||(a[6]=k(" 查询",-1))]),_:1}),t(x,{onClick:v},{default:o(()=>[t(N(U)),a[7]||(a[7]=k(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(T,{class:"admin-table-card",bordered:!1},{default:o(()=>[g("div",oe,[a[8]||(a[8]=g("strong",null,"登录日志列表",-1)),t(S,null,{default:o(()=>[g("span",le,"共 "+h(u.total)+" 条",1),t(x,{type:"text",loading:m.value,onClick:r},{default:o(()=>[t(N(U))]),_:1},8,["loading"])]),_:1})]),t(J,{"row-key":"infoId",columns:l,"data-source":f.value,loading:m.value,pagination:u,scroll:{x:1180},onChange:D},{bodyCell:o(({column:d,record:b})=>[d.key==="status"?(w(),C(j,{key:0,status:b.status==="0"?"success":"error",text:b.status==="0"?"成功":"失败"},null,8,["status","text"])):d.key==="browser"?(w(),C(M,{key:1},{default:o(()=>[k(h(b.browser||"未知"),1)]),_:2},1024)):d.key==="msg"?(w(),C(Q,{key:2,title:b.msg},{default:o(()=>[g("span",ne,h(b.msg||"—"),1)]),_:2},1032,["title"])):ee("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1})])}}},_e=ae(se,[["__scopeId","data-v-bf0e68fe"]]);export{_e as default}; +var W=Object.defineProperty,$=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var B=(s,l,e)=>l in s?W(s,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[l]=e,V=(s,l)=>{for(var e in l||(l={}))F.call(l,e)&&B(s,e,l[e]);if(z)for(var e of z(l))G.call(l,e)&&B(s,e,l[e]);return s},q=(s,l)=>$(s,A(l));var O=(s,l,e)=>new Promise((c,f)=>{var m=i=>{try{r(e.next(i))}catch(v){f(v)}},u=i=>{try{r(e.throw(i))}catch(v){f(v)}},r=i=>i.done?c(i.value):Promise.resolve(i.value).then(m,u);r((e=e.apply(s,l)).next())});import{O as n,o as w,c as H,a as g,b as t,x as o,a1 as K,S as X,B as k,u as N,V as Z,W as U,t as h,C,j as ee,L as Y,d as I}from"./index-1786807848259.js";/* empty css */import{_ as ae}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const te={class:"admin-page"},oe={class:"admin-table-toolbar"},le={style:{color:"#8c97a8"}},ne={class:"log-message"},se={__name:"LoginLogs",setup(s){const l=[{title:"日志编号",dataIndex:"infoId",key:"infoId",width:105},{title:"用户账号",dataIndex:"userName",key:"userName",width:140},{title:"登录地址",dataIndex:"ipaddr",key:"ipaddr",width:145},{title:"登录地点",dataIndex:"loginLocation",key:"loginLocation",width:150,ellipsis:!0},{title:"浏览器",key:"browser",width:110},{title:"操作系统",dataIndex:"os",key:"os",width:120},{title:"登录状态",key:"status",width:100},{title:"提示消息",key:"msg",width:220,ellipsis:!0},{title:"登录时间",dataIndex:"loginTime",key:"loginTime",width:175}],e=Y({userName:"",ipaddr:"",status:void 0}),c=I([]),f=I([]),m=I(!1),u=Y({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:_=>`共 ${_} 条`});function r(){return O(this,null,function*(){var _,a;m.value=!0;try{const p=yield K(q(V({},e),{beginTime:(_=c.value)==null?void 0:_[0],endTime:(a=c.value)==null?void 0:a[1],pageNum:u.current,pageSize:u.pageSize}));f.value=p.rows||[],u.total=Number(p.total||0)}catch(p){X.error(p.message)}finally{m.value=!1}})}function i(){u.current=1,r()}function v(){Object.assign(e,{userName:"",ipaddr:"",status:void 0}),c.value=[],i()}function D(_){u.current=_.current,u.pageSize=_.pageSize,r()}return r(),(_,a)=>{const p=n("a-input"),y=n("a-form-item"),L=n("a-select-option"),E=n("a-select"),P=n("a-range-picker"),x=n("a-button"),S=n("a-space"),R=n("a-form"),T=n("a-card"),j=n("a-badge"),M=n("a-tag"),Q=n("a-tooltip"),J=n("a-table");return w(),H("div",te,[a[9]||(a[9]=g("div",{class:"admin-page-heading"},[g("h1",null,"登录日志")],-1)),t(T,{class:"admin-query-card",bordered:!1},{default:o(()=>[t(R,{class:"admin-query-form",model:e},{default:o(()=>[t(y,{label:"用户账号"},{default:o(()=>[t(p,{value:e.userName,"onUpdate:value":a[0]||(a[0]=d=>e.userName=d),"allow-clear":"",placeholder:"请输入用户账号",onPressEnter:i},null,8,["value"])]),_:1}),t(y,{label:"登录地址"},{default:o(()=>[t(p,{value:e.ipaddr,"onUpdate:value":a[1]||(a[1]=d=>e.ipaddr=d),"allow-clear":"",placeholder:"请输入 IP 地址",onPressEnter:i},null,8,["value"])]),_:1}),t(y,{label:"登录状态"},{default:o(()=>[t(E,{value:e.status,"onUpdate:value":a[2]||(a[2]=d=>e.status=d),"allow-clear":"",placeholder:"全部状态"},{default:o(()=>[t(L,{value:"0"},{default:o(()=>[...a[4]||(a[4]=[k("成功",-1)])]),_:1}),t(L,{value:"1"},{default:o(()=>[...a[5]||(a[5]=[k("失败",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),t(y,{label:"登录时间"},{default:o(()=>[t(P,{value:c.value,"onUpdate:value":a[3]||(a[3]=d=>c.value=d),"value-format":"YYYY-MM-DD"},null,8,["value"])]),_:1}),t(y,{class:"admin-query-actions"},{default:o(()=>[t(S,null,{default:o(()=>[t(x,{type:"primary",onClick:i},{default:o(()=>[t(N(Z)),a[6]||(a[6]=k(" 查询",-1))]),_:1}),t(x,{onClick:v},{default:o(()=>[t(N(U)),a[7]||(a[7]=k(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(T,{class:"admin-table-card",bordered:!1},{default:o(()=>[g("div",oe,[a[8]||(a[8]=g("strong",null,"登录日志列表",-1)),t(S,null,{default:o(()=>[g("span",le,"共 "+h(u.total)+" 条",1),t(x,{type:"text",loading:m.value,onClick:r},{default:o(()=>[t(N(U))]),_:1},8,["loading"])]),_:1})]),t(J,{"row-key":"infoId",columns:l,"data-source":f.value,loading:m.value,pagination:u,scroll:{x:1180},onChange:D},{bodyCell:o(({column:d,record:b})=>[d.key==="status"?(w(),C(j,{key:0,status:b.status==="0"?"success":"error",text:b.status==="0"?"成功":"失败"},null,8,["status","text"])):d.key==="browser"?(w(),C(M,{key:1},{default:o(()=>[k(h(b.browser||"未知"),1)]),_:2},1024)):d.key==="msg"?(w(),C(Q,{key:2,title:b.msg},{default:o(()=>[g("span",ne,h(b.msg||"—"),1)]),_:2},1032,["title"])):ee("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1})])}}},_e=ae(se,[["__scopeId","data-v-bf0e68fe"]]);export{_e as default}; diff --git a/docs/assets/OperationLogs-2a1ead4a-balabala-1786725044461.css b/docs/assets/OperationLogs-2a1ead4a-balabala-1786807848259.css similarity index 100% rename from docs/assets/OperationLogs-2a1ead4a-balabala-1786725044461.css rename to docs/assets/OperationLogs-2a1ead4a-balabala-1786807848259.css diff --git a/docs/assets/OperationLogs-5fb909d8-1786725044461.js b/docs/assets/OperationLogs-5a9b02d9-1786807848259.js similarity index 98% rename from docs/assets/OperationLogs-5fb909d8-1786725044461.js rename to docs/assets/OperationLogs-5a9b02d9-1786807848259.js index a1569b4..aa6f80f 100644 --- a/docs/assets/OperationLogs-5fb909d8-1786725044461.js +++ b/docs/assets/OperationLogs-5a9b02d9-1786807848259.js @@ -1 +1 @@ -var le=Object.defineProperty,oe=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var D=(_,s,u)=>s in _?le(_,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):_[s]=u,P=(_,s)=>{for(var u in s||(s={}))se.call(s,u)&&D(_,u,s[u]);if(V)for(var u of V(s))ue.call(s,u)&&D(_,u,s[u]);return _},Y=(_,s)=>oe(_,ne(s));var E=(_,s,u)=>new Promise((p,f)=>{var I=l=>{try{b(u.next(l))}catch(c){f(c)}},g=l=>{try{b(u.throw(l))}catch(c){f(c)}},b=l=>l.done?p(l.value):Promise.resolve(l.value).then(I,g);b((u=u.apply(_,s)).next())});import{w as re,O as r,o as y,c as R,a as N,b as e,x as a,d as T,a0 as ie,S as de,F as pe,y as _e,B as o,t as i,u as U,V as ce,W as j,C as x,j as F,L as Q}from"./index-1786725044461.js";/* empty css */import{_ as me}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const fe={class:"admin-page"},ve={class:"admin-table-toolbar"},be={style:{color:"#8c97a8"}},ye={__name:"OperationLogs",setup(_){const s=[{value:"0",label:"其他"},{value:"1",label:"新增"},{value:"2",label:"修改"},{value:"3",label:"删除"},{value:"4",label:"授权"},{value:"5",label:"导出"},{value:"6",label:"导入"},{value:"7",label:"强退"},{value:"8",label:"生成代码"},{value:"9",label:"清空数据"}],u=[{title:"日志编号",dataIndex:"operId",key:"operId",width:100},{title:"系统模块",dataIndex:"title",key:"title",width:130,ellipsis:!0},{title:"操作类型",key:"businessType",width:95},{title:"请求方式",key:"requestMethod",width:95},{title:"操作人员",dataIndex:"operName",key:"operName",width:120},{title:"操作地址",dataIndex:"operUrl",key:"operUrl",width:220,ellipsis:!0},{title:"操作 IP",dataIndex:"operIp",key:"operIp",width:140},{title:"状态",key:"status",width:90},{title:"操作时间",dataIndex:"operTime",key:"operTime",width:170},{title:"操作",key:"operation",fixed:"right",width:100}],p=Q({title:"",operName:"",businessType:void 0,status:void 0}),f=T([]),I=T([]),g=T(!1),b=T(!1),l=T(null),c=Q({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:d=>`共 ${d} 条`});re(f,()=>{},{deep:!0});function C(){return E(this,null,function*(){var d,t;g.value=!0;try{const v=yield ie(Y(P({},p),{beginTime:(d=f.value)==null?void 0:d[0],endTime:(t=f.value)==null?void 0:t[1],pageNum:c.current,pageSize:c.pageSize}));I.value=v.rows||[],c.total=Number(v.total||0)}catch(v){de.error(v.message)}finally{g.value=!1}})}function h(){c.current=1,C()}function $(){Object.assign(p,{title:"",operName:"",businessType:void 0,status:void 0}),f.value=[],h()}function J(d){c.current=d.current,c.pageSize=d.pageSize,C()}function q(d){var t;return((t=s.find(v=>Number(v.value)===Number(d)))==null?void 0:t.label)||"其他"}function W(d){return{1:"green",2:"blue",3:"red",4:"purple",5:"cyan",6:"geekblue"}[Number(d)]||"default"}function A(d){l.value=d,b.value=!0}return C(),(d,t)=>{const v=r("a-input"),k=r("a-form-item"),S=r("a-select-option"),z=r("a-select"),G=r("a-range-picker"),O=r("a-button"),L=r("a-space"),H=r("a-form"),M=r("a-card"),B=r("a-tag"),K=r("a-badge"),X=r("a-table"),m=r("a-descriptions-item"),Z=r("a-descriptions"),ee=r("a-divider"),ae=r("a-alert"),te=r("a-drawer");return y(),R("div",fe,[t[13]||(t[13]=N("div",{class:"admin-page-heading"},[N("h1",null,"操作日志")],-1)),e(M,{class:"admin-query-card",bordered:!1},{default:a(()=>[e(H,{class:"admin-query-form",model:p},{default:a(()=>[e(k,{label:"系统模块"},{default:a(()=>[e(v,{value:p.title,"onUpdate:value":t[0]||(t[0]=n=>p.title=n),"allow-clear":"",placeholder:"请输入模块名称",onPressEnter:h},null,8,["value"])]),_:1}),e(k,{label:"操作人员"},{default:a(()=>[e(v,{value:p.operName,"onUpdate:value":t[1]||(t[1]=n=>p.operName=n),"allow-clear":"",placeholder:"请输入操作人员",onPressEnter:h},null,8,["value"])]),_:1}),e(k,{label:"操作类型"},{default:a(()=>[e(z,{value:p.businessType,"onUpdate:value":t[2]||(t[2]=n=>p.businessType=n),"allow-clear":"",placeholder:"全部类型"},{default:a(()=>[(y(),R(pe,null,_e(s,n=>e(S,{key:n.value,value:n.value},{default:a(()=>[o(i(n.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"])]),_:1}),e(k,{label:"操作状态"},{default:a(()=>[e(z,{value:p.status,"onUpdate:value":t[3]||(t[3]=n=>p.status=n),"allow-clear":"",placeholder:"全部状态"},{default:a(()=>[e(S,{value:"0"},{default:a(()=>[...t[6]||(t[6]=[o("成功",-1)])]),_:1}),e(S,{value:"1"},{default:a(()=>[...t[7]||(t[7]=[o("失败",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),e(k,{label:"操作时间"},{default:a(()=>[e(G,{value:f.value,"onUpdate:value":t[4]||(t[4]=n=>f.value=n),"value-format":"YYYY-MM-DD"},null,8,["value"])]),_:1}),e(k,{class:"admin-query-actions"},{default:a(()=>[e(L,null,{default:a(()=>[e(O,{type:"primary",onClick:h},{default:a(()=>[e(U(ce)),t[8]||(t[8]=o(" 查询",-1))]),_:1}),e(O,{onClick:$},{default:a(()=>[e(U(j)),t[9]||(t[9]=o(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(M,{class:"admin-table-card",bordered:!1},{default:a(()=>[N("div",ve,[t[10]||(t[10]=N("strong",null,"操作日志列表",-1)),e(L,null,{default:a(()=>[N("span",be,"共 "+i(c.total)+" 条",1),e(O,{type:"text",loading:g.value,onClick:C},{default:a(()=>[e(U(j))]),_:1},8,["loading"])]),_:1})]),e(X,{"row-key":"operId",columns:u,"data-source":I.value,loading:g.value,pagination:c,scroll:{x:1280},onChange:J},{bodyCell:a(({column:n,record:w})=>[n.key==="businessType"?(y(),x(B,{key:0,color:W(w.businessType)},{default:a(()=>[o(i(q(w.businessType)),1)]),_:2},1032,["color"])):n.key==="requestMethod"?(y(),x(B,{key:1},{default:a(()=>[o(i(w.requestMethod||"—"),1)]),_:2},1024)):n.key==="status"?(y(),x(K,{key:2,status:Number(w.status)===0?"success":"error",text:Number(w.status)===0?"成功":"失败"},null,8,["status","text"])):n.key==="operation"?(y(),x(O,{key:3,type:"link",size:"small",onClick:ge=>A(w)},{default:a(()=>[...t[11]||(t[11]=[o("查看详情",-1)])]),_:1},8,["onClick"])):F("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1}),e(te,{open:b.value,"onUpdate:open":t[5]||(t[5]=n=>b.value=n),title:"操作日志详情",width:"620"},{default:a(()=>[l.value?(y(),x(Z,{key:0,bordered:"",column:2,size:"small"},{default:a(()=>[e(m,{label:"日志编号"},{default:a(()=>[o(i(l.value.operId),1)]),_:1}),e(m,{label:"系统模块"},{default:a(()=>[o(i(l.value.title||"—"),1)]),_:1}),e(m,{label:"操作类型"},{default:a(()=>[o(i(q(l.value.businessType)),1)]),_:1}),e(m,{label:"操作状态"},{default:a(()=>[o(i(Number(l.value.status)===0?"成功":"失败"),1)]),_:1}),e(m,{label:"操作人员"},{default:a(()=>[o(i(l.value.operName||"—"),1)]),_:1}),e(m,{label:"部门"},{default:a(()=>[o(i(l.value.deptName||"—"),1)]),_:1}),e(m,{label:"请求方式"},{default:a(()=>[o(i(l.value.requestMethod||"—"),1)]),_:1}),e(m,{label:"操作时间"},{default:a(()=>[o(i(l.value.operTime||"—"),1)]),_:1}),e(m,{label:"操作 IP"},{default:a(()=>[o(i(l.value.operIp||"—"),1)]),_:1}),e(m,{label:"操作地点"},{default:a(()=>[o(i(l.value.operLocation||"—"),1)]),_:1}),e(m,{label:"请求地址",span:2},{default:a(()=>[o(i(l.value.operUrl||"—"),1)]),_:1}),e(m,{label:"方法名称",span:2},{default:a(()=>[o(i(l.value.method||"—"),1)]),_:1})]),_:1})):F("",!0),e(ee,{orientation:"left"},{default:a(()=>[...t[12]||(t[12]=[o("请求与响应正文",-1)])]),_:1}),e(ae,{message:"敏感正文未下发",description:"请求参数、返回结果和异常正文仅保留在受控日志侧,后台列表不直接展示。",type:"info","show-icon":""})]),_:1},8,["open"])])}}},xe=me(ye,[["__scopeId","data-v-823675cb"]]);export{xe as default}; +var le=Object.defineProperty,oe=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var D=(_,s,u)=>s in _?le(_,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):_[s]=u,P=(_,s)=>{for(var u in s||(s={}))se.call(s,u)&&D(_,u,s[u]);if(V)for(var u of V(s))ue.call(s,u)&&D(_,u,s[u]);return _},Y=(_,s)=>oe(_,ne(s));var E=(_,s,u)=>new Promise((p,f)=>{var I=l=>{try{b(u.next(l))}catch(c){f(c)}},g=l=>{try{b(u.throw(l))}catch(c){f(c)}},b=l=>l.done?p(l.value):Promise.resolve(l.value).then(I,g);b((u=u.apply(_,s)).next())});import{w as re,O as r,o as y,c as R,a as N,b as e,x as a,d as T,a0 as ie,S as de,F as pe,y as _e,B as o,t as i,u as U,V as ce,W as j,C as x,j as F,L as Q}from"./index-1786807848259.js";/* empty css */import{_ as me}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const fe={class:"admin-page"},ve={class:"admin-table-toolbar"},be={style:{color:"#8c97a8"}},ye={__name:"OperationLogs",setup(_){const s=[{value:"0",label:"其他"},{value:"1",label:"新增"},{value:"2",label:"修改"},{value:"3",label:"删除"},{value:"4",label:"授权"},{value:"5",label:"导出"},{value:"6",label:"导入"},{value:"7",label:"强退"},{value:"8",label:"生成代码"},{value:"9",label:"清空数据"}],u=[{title:"日志编号",dataIndex:"operId",key:"operId",width:100},{title:"系统模块",dataIndex:"title",key:"title",width:130,ellipsis:!0},{title:"操作类型",key:"businessType",width:95},{title:"请求方式",key:"requestMethod",width:95},{title:"操作人员",dataIndex:"operName",key:"operName",width:120},{title:"操作地址",dataIndex:"operUrl",key:"operUrl",width:220,ellipsis:!0},{title:"操作 IP",dataIndex:"operIp",key:"operIp",width:140},{title:"状态",key:"status",width:90},{title:"操作时间",dataIndex:"operTime",key:"operTime",width:170},{title:"操作",key:"operation",fixed:"right",width:100}],p=Q({title:"",operName:"",businessType:void 0,status:void 0}),f=T([]),I=T([]),g=T(!1),b=T(!1),l=T(null),c=Q({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:d=>`共 ${d} 条`});re(f,()=>{},{deep:!0});function C(){return E(this,null,function*(){var d,t;g.value=!0;try{const v=yield ie(Y(P({},p),{beginTime:(d=f.value)==null?void 0:d[0],endTime:(t=f.value)==null?void 0:t[1],pageNum:c.current,pageSize:c.pageSize}));I.value=v.rows||[],c.total=Number(v.total||0)}catch(v){de.error(v.message)}finally{g.value=!1}})}function h(){c.current=1,C()}function $(){Object.assign(p,{title:"",operName:"",businessType:void 0,status:void 0}),f.value=[],h()}function J(d){c.current=d.current,c.pageSize=d.pageSize,C()}function q(d){var t;return((t=s.find(v=>Number(v.value)===Number(d)))==null?void 0:t.label)||"其他"}function W(d){return{1:"green",2:"blue",3:"red",4:"purple",5:"cyan",6:"geekblue"}[Number(d)]||"default"}function A(d){l.value=d,b.value=!0}return C(),(d,t)=>{const v=r("a-input"),k=r("a-form-item"),S=r("a-select-option"),z=r("a-select"),G=r("a-range-picker"),O=r("a-button"),L=r("a-space"),H=r("a-form"),M=r("a-card"),B=r("a-tag"),K=r("a-badge"),X=r("a-table"),m=r("a-descriptions-item"),Z=r("a-descriptions"),ee=r("a-divider"),ae=r("a-alert"),te=r("a-drawer");return y(),R("div",fe,[t[13]||(t[13]=N("div",{class:"admin-page-heading"},[N("h1",null,"操作日志")],-1)),e(M,{class:"admin-query-card",bordered:!1},{default:a(()=>[e(H,{class:"admin-query-form",model:p},{default:a(()=>[e(k,{label:"系统模块"},{default:a(()=>[e(v,{value:p.title,"onUpdate:value":t[0]||(t[0]=n=>p.title=n),"allow-clear":"",placeholder:"请输入模块名称",onPressEnter:h},null,8,["value"])]),_:1}),e(k,{label:"操作人员"},{default:a(()=>[e(v,{value:p.operName,"onUpdate:value":t[1]||(t[1]=n=>p.operName=n),"allow-clear":"",placeholder:"请输入操作人员",onPressEnter:h},null,8,["value"])]),_:1}),e(k,{label:"操作类型"},{default:a(()=>[e(z,{value:p.businessType,"onUpdate:value":t[2]||(t[2]=n=>p.businessType=n),"allow-clear":"",placeholder:"全部类型"},{default:a(()=>[(y(),R(pe,null,_e(s,n=>e(S,{key:n.value,value:n.value},{default:a(()=>[o(i(n.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"])]),_:1}),e(k,{label:"操作状态"},{default:a(()=>[e(z,{value:p.status,"onUpdate:value":t[3]||(t[3]=n=>p.status=n),"allow-clear":"",placeholder:"全部状态"},{default:a(()=>[e(S,{value:"0"},{default:a(()=>[...t[6]||(t[6]=[o("成功",-1)])]),_:1}),e(S,{value:"1"},{default:a(()=>[...t[7]||(t[7]=[o("失败",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),e(k,{label:"操作时间"},{default:a(()=>[e(G,{value:f.value,"onUpdate:value":t[4]||(t[4]=n=>f.value=n),"value-format":"YYYY-MM-DD"},null,8,["value"])]),_:1}),e(k,{class:"admin-query-actions"},{default:a(()=>[e(L,null,{default:a(()=>[e(O,{type:"primary",onClick:h},{default:a(()=>[e(U(ce)),t[8]||(t[8]=o(" 查询",-1))]),_:1}),e(O,{onClick:$},{default:a(()=>[e(U(j)),t[9]||(t[9]=o(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(M,{class:"admin-table-card",bordered:!1},{default:a(()=>[N("div",ve,[t[10]||(t[10]=N("strong",null,"操作日志列表",-1)),e(L,null,{default:a(()=>[N("span",be,"共 "+i(c.total)+" 条",1),e(O,{type:"text",loading:g.value,onClick:C},{default:a(()=>[e(U(j))]),_:1},8,["loading"])]),_:1})]),e(X,{"row-key":"operId",columns:u,"data-source":I.value,loading:g.value,pagination:c,scroll:{x:1280},onChange:J},{bodyCell:a(({column:n,record:w})=>[n.key==="businessType"?(y(),x(B,{key:0,color:W(w.businessType)},{default:a(()=>[o(i(q(w.businessType)),1)]),_:2},1032,["color"])):n.key==="requestMethod"?(y(),x(B,{key:1},{default:a(()=>[o(i(w.requestMethod||"—"),1)]),_:2},1024)):n.key==="status"?(y(),x(K,{key:2,status:Number(w.status)===0?"success":"error",text:Number(w.status)===0?"成功":"失败"},null,8,["status","text"])):n.key==="operation"?(y(),x(O,{key:3,type:"link",size:"small",onClick:ge=>A(w)},{default:a(()=>[...t[11]||(t[11]=[o("查看详情",-1)])]),_:1},8,["onClick"])):F("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1}),e(te,{open:b.value,"onUpdate:open":t[5]||(t[5]=n=>b.value=n),title:"操作日志详情",width:"620"},{default:a(()=>[l.value?(y(),x(Z,{key:0,bordered:"",column:2,size:"small"},{default:a(()=>[e(m,{label:"日志编号"},{default:a(()=>[o(i(l.value.operId),1)]),_:1}),e(m,{label:"系统模块"},{default:a(()=>[o(i(l.value.title||"—"),1)]),_:1}),e(m,{label:"操作类型"},{default:a(()=>[o(i(q(l.value.businessType)),1)]),_:1}),e(m,{label:"操作状态"},{default:a(()=>[o(i(Number(l.value.status)===0?"成功":"失败"),1)]),_:1}),e(m,{label:"操作人员"},{default:a(()=>[o(i(l.value.operName||"—"),1)]),_:1}),e(m,{label:"部门"},{default:a(()=>[o(i(l.value.deptName||"—"),1)]),_:1}),e(m,{label:"请求方式"},{default:a(()=>[o(i(l.value.requestMethod||"—"),1)]),_:1}),e(m,{label:"操作时间"},{default:a(()=>[o(i(l.value.operTime||"—"),1)]),_:1}),e(m,{label:"操作 IP"},{default:a(()=>[o(i(l.value.operIp||"—"),1)]),_:1}),e(m,{label:"操作地点"},{default:a(()=>[o(i(l.value.operLocation||"—"),1)]),_:1}),e(m,{label:"请求地址",span:2},{default:a(()=>[o(i(l.value.operUrl||"—"),1)]),_:1}),e(m,{label:"方法名称",span:2},{default:a(()=>[o(i(l.value.method||"—"),1)]),_:1})]),_:1})):F("",!0),e(ee,{orientation:"left"},{default:a(()=>[...t[12]||(t[12]=[o("请求与响应正文",-1)])]),_:1}),e(ae,{message:"敏感正文未下发",description:"请求参数、返回结果和异常正文仅保留在受控日志侧,后台列表不直接展示。",type:"info","show-icon":""})]),_:1},8,["open"])])}}},xe=me(ye,[["__scopeId","data-v-823675cb"]]);export{xe as default}; diff --git a/docs/assets/SmartChartRenderer-b8de4b80-1786725044461.js b/docs/assets/SmartChartRenderer-3587e73a-1786807848259.js similarity index 96% rename from docs/assets/SmartChartRenderer-b8de4b80-1786725044461.js rename to docs/assets/SmartChartRenderer-3587e73a-1786807848259.js index 5308e0d..1f77891 100644 --- a/docs/assets/SmartChartRenderer-b8de4b80-1786725044461.js +++ b/docs/assets/SmartChartRenderer-3587e73a-1786807848259.js @@ -1,2 +1,2 @@ -var D=Object.defineProperty,R=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var L=(a,r,o)=>r in a?D(a,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[r]=o,m=(a,r)=>{for(var o in r||(r={}))H.call(r,o)&&L(a,o,r[o]);if(z)for(var o of z(r))P.call(r,o)&&L(a,o,r[o]);return a},d=(a,r)=>R(a,W(r));import{g as p,q as Z,A as F,a4 as b,o as g,c as h,a as y,t as x,j as _,b as V,u as q,n as E}from"./index-1786725044461.js";import{H as j}from"./index.esm.min-90d27a39-1786725044461.js";const G={class:"smart-chart-header"},I={key:0},M={key:0},A="口径",Q={__name:"SmartChartRenderer",props:{chart:{type:Object,required:!0}},emits:["ready"],setup(a,{emit:r}){const o=r,i=a,l=["#30dcff","#27f0c0","#ffd76c","#7aa7ff","#ff8f6b","#a6f06d"],k=p(()=>{const t=(i.chart.rows||[]).filter(e=>Number.isFinite(Number(e.value)));return i.chart.type==="pie"?T(t):i.chart.type==="line"?$(t):C(t)}),w=p(()=>{const t=i.chart.rows||[];return i.chart.type==="bar"&&v(t)}),S=p(()=>B(i.chart.subtitle));Z(()=>{F(()=>{window.requestAnimationFrame(()=>o("ready"))})});function C(t){return v(t)?N(t):{animationDuration:700,grid:{left:52,right:26,top:28,bottom:54},tooltip:c(),xAxis:{type:"category",data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisLabel:{color:"rgba(223, 250, 255, 0.76)",fontSize:11,interval:0,rotate:t.length>6?28:0}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},series:[{name:i.chart.title,type:"bar",barWidth:t.length>7?16:22,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[8,8,0,0],color:new b(0,0,0,1,[{offset:0,color:l[n%l.length]},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}})),label:{show:!0,position:"top",color:"#ffffff",fontSize:11,formatter:({value:e})=>u(e)}}]}}function N(t){return{animationDuration:700,grid:{left:78,right:72,top:22,bottom:20},tooltip:d(m({},c()),{trigger:"axis",axisPointer:{type:"shadow"}}),xAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},yAxis:{type:"category",inverse:!0,data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisLabel:{color:"rgba(223, 250, 255, 0.82)",fontSize:12}},series:[{name:i.chart.title,type:"bar",barWidth:13,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[0,8,8,0],color:new b(0,0,1,0,[{offset:0,color:"rgba(48, 220, 255, 0.16)"},{offset:1,color:l[n%l.length]}])}})),label:{show:!0,position:"right",color:"#ffffff",fontSize:11,formatter:({value:e})=>u(e)}}]}}function T(t){return{animationDuration:700,tooltip:c(),legend:{orient:"vertical",right:10,top:"middle",itemWidth:10,itemHeight:10,textStyle:{color:"rgba(223, 250, 255, 0.78)",fontSize:11}},series:[{name:i.chart.title,type:"pie",radius:["48%","68%"],center:["35%","52%"],avoidLabelOverlap:!0,label:{color:"#fff",fontSize:11,formatter:`{b} +var D=Object.defineProperty,R=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var L=(a,r,o)=>r in a?D(a,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[r]=o,m=(a,r)=>{for(var o in r||(r={}))H.call(r,o)&&L(a,o,r[o]);if(z)for(var o of z(r))P.call(r,o)&&L(a,o,r[o]);return a},d=(a,r)=>R(a,W(r));import{g as p,q as Z,A as F,a9 as b,o as g,c as h,a as y,t as x,j as _,b as V,u as q,n as E}from"./index-1786807848259.js";import{H as j}from"./index.esm.min-024ee703-1786807848259.js";const G={class:"smart-chart-header"},I={key:0},M={key:0},A="口径",Q={__name:"SmartChartRenderer",props:{chart:{type:Object,required:!0}},emits:["ready"],setup(a,{emit:r}){const o=r,i=a,l=["#30dcff","#27f0c0","#ffd76c","#7aa7ff","#ff8f6b","#a6f06d"],k=p(()=>{const t=(i.chart.rows||[]).filter(e=>Number.isFinite(Number(e.value)));return i.chart.type==="pie"?T(t):i.chart.type==="line"?$(t):C(t)}),w=p(()=>{const t=i.chart.rows||[];return i.chart.type==="bar"&&v(t)}),S=p(()=>B(i.chart.subtitle));Z(()=>{F(()=>{window.requestAnimationFrame(()=>o("ready"))})});function C(t){return v(t)?N(t):{animationDuration:700,grid:{left:52,right:26,top:28,bottom:54},tooltip:c(),xAxis:{type:"category",data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisLabel:{color:"rgba(223, 250, 255, 0.76)",fontSize:11,interval:0,rotate:t.length>6?28:0}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},series:[{name:i.chart.title,type:"bar",barWidth:t.length>7?16:22,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[8,8,0,0],color:new b(0,0,0,1,[{offset:0,color:l[n%l.length]},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}})),label:{show:!0,position:"top",color:"#ffffff",fontSize:11,formatter:({value:e})=>u(e)}}]}}function N(t){return{animationDuration:700,grid:{left:78,right:72,top:22,bottom:20},tooltip:d(m({},c()),{trigger:"axis",axisPointer:{type:"shadow"}}),xAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},yAxis:{type:"category",inverse:!0,data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisLabel:{color:"rgba(223, 250, 255, 0.82)",fontSize:12}},series:[{name:i.chart.title,type:"bar",barWidth:13,data:t.map((e,n)=>({value:e.value,name:e.name,itemStyle:{borderRadius:[0,8,8,0],color:new b(0,0,1,0,[{offset:0,color:"rgba(48, 220, 255, 0.16)"},{offset:1,color:l[n%l.length]}])}})),label:{show:!0,position:"right",color:"#ffffff",fontSize:11,formatter:({value:e})=>u(e)}}]}}function T(t){return{animationDuration:700,tooltip:c(),legend:{orient:"vertical",right:10,top:"middle",itemWidth:10,itemHeight:10,textStyle:{color:"rgba(223, 250, 255, 0.78)",fontSize:11}},series:[{name:i.chart.title,type:"pie",radius:["48%","68%"],center:["35%","52%"],avoidLabelOverlap:!0,label:{color:"#fff",fontSize:11,formatter:`{b} {d}%`},labelLine:{lineStyle:{color:"rgba(223, 250, 255, 0.42)"}},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:t.map((e,n)=>({name:e.name,value:e.value,itemStyle:{color:l[n%l.length]}}))}]}}function $(t){return{animationDuration:760,grid:{left:52,right:28,top:30,bottom:48},tooltip:d(m({},c()),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(255, 215, 108, 0.52)"}}}),xAxis:{type:"category",boundaryGap:!1,data:t.map(e=>e.name),axisTick:{show:!1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisLabel:{color:"rgba(223, 250, 255, 0.76)",fontSize:11,interval:0}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.1)",type:"dashed"}},axisLabel:{color:"rgba(223, 250, 255, 0.58)",fontSize:11}},series:[{name:i.chart.title,type:"line",smooth:!0,symbol:"circle",symbolSize:8,lineStyle:{width:3,color:"#30dcff"},itemStyle:{color:"#ffd76c",borderColor:"#041522",borderWidth:2},areaStyle:{color:new b(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.24)"},{offset:1,color:"rgba(48, 220, 255, 0.02)"}])},label:{show:!0,position:"top",color:"#ffffff",fontSize:11,formatter:({value:e})=>u(e)},data:t.map(e=>({value:e.value,name:e.name}))}]}}function c(){return{trigger:"item",backgroundColor:"rgba(2, 13, 22, 0.94)",borderColor:"rgba(48, 220, 255, 0.34)",borderWidth:1,textStyle:{color:"#fff",fontSize:12},formatter:t=>{const e=(i.chart.rows||[]).find(s=>s.name===t.name),n=(e==null?void 0:e.unit)||i.chart.unit||"",f=e!=null&&e.extra?`
${e.extra}`:"";return`${t.marker}${t.name}: ${u(t.value)}${n}${f}`}}}function v(t=[]){return t.length>6||t.some(e=>String(e.name||"").length>4)}function B(t){const e=String(t||"").trim();if(!e||/^(数据)?来源[::]/.test(e)||e.includes("固定展示"))return"";const n=new RegExp(A,"g"),f=new RegExp(`统计${A}`,"g"),s=e.replace(f,"统计数据").replace(n,"数据").replace(/来源[::]\s*openApi\s*统计库\s*[a-zA-Z0-9_./:-]*[,,、]?\s*/gi,"").replace(/openApi\s*统计库\s*/gi,"").replace(/\b[a-zA-Z][a-zA-Z0-9]*(?:_[a-zA-Z0-9]+){2,}\b/g,"").replace(/[,,、]\s*[,,、]+/g,",").replace(/^[\s,,、::]+|[\s,,、]+$/g,"");return!s||/^来源[::]?$/.test(s)||O(s)?"":s}function O(t){return/^[a-zA-Z0-9_./:-]+$/.test(t)&&(t.includes("_")||t.length>24)}function u(t){const e=Number(t);return Number.isFinite(e)?Number.isInteger(e)?e.toLocaleString("zh-CN"):e.toLocaleString("zh-CN",{maximumFractionDigits:2}):"--"}return(t,e)=>(g(),h("div",{class:E(["smart-chart-card",{"is-horizontal":w.value}])},[y("div",G,[y("div",null,[y("strong",null,x(a.chart.title),1),S.value?(g(),h("span",I,x(S.value),1)):_("",!0)]),a.chart.unit?(g(),h("em",M,x(a.chart.unit),1)):_("",!0)]),V(q(j),{class:"smart-chart",option:k.value,autoresize:""},null,8,["option"])],2))}};export{Q as default}; diff --git a/docs/assets/SmartChartRenderer-7a3a96b9-balabala-1786725044461.css b/docs/assets/SmartChartRenderer-7a3a96b9-balabala-1786807848259.css similarity index 100% rename from docs/assets/SmartChartRenderer-7a3a96b9-balabala-1786725044461.css rename to docs/assets/SmartChartRenderer-7a3a96b9-balabala-1786807848259.css diff --git a/docs/assets/SmartManagementSettings-51339aa1-balabala-1786807848259.css b/docs/assets/SmartManagementSettings-51339aa1-balabala-1786807848259.css new file mode 100644 index 0000000..458e01a --- /dev/null +++ b/docs/assets/SmartManagementSettings-51339aa1-balabala-1786807848259.css @@ -0,0 +1 @@ +.smart-admin-page[data-v-958d95b5]{display:flex;flex-direction:column;gap:18px;color:#1f2937}.page-heading[data-v-958d95b5]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.page-heading h1[data-v-958d95b5]{margin:0;color:#172033;font-size:22px;font-weight:650}.page-heading p[data-v-958d95b5]{margin:7px 0 0;color:#7b8798;font-size:13px}.settings-card[data-v-958d95b5]{border-radius:10px;box-shadow:0 2px 10px #0f172a0d}.model-form[data-v-958d95b5]{max-width:1120px}.switch-line[data-v-958d95b5]{display:flex;align-items:center;gap:12px;min-height:32px;color:#667085}.field-help[data-v-958d95b5]{margin-top:6px;color:#98a2b3;font-size:12px}.form-actions[data-v-958d95b5]{display:flex;justify-content:flex-end;gap:10px}.context-alert[data-v-958d95b5]{margin-bottom:16px}.context-summary[data-v-958d95b5]{margin-top:4px}.snapshot-collapse[data-v-958d95b5]{margin-top:18px;background:#fff}.snapshot-toolbar[data-v-958d95b5]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;color:#7b8798;font-size:12px}.snapshot-viewer[data-v-958d95b5]{max-height:560px;margin:0;overflow:auto;padding:16px;border:1px solid #e5e9f0;border-radius:6px;background:#f7f9fc;color:#24324a;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width: 900px){.page-heading[data-v-958d95b5]{align-items:center}.snapshot-toolbar[data-v-958d95b5]{align-items:flex-start;flex-direction:column}} diff --git a/docs/assets/SmartManagementSettings-f7b2af66-1786807848259.js b/docs/assets/SmartManagementSettings-f7b2af66-1786807848259.js new file mode 100644 index 0000000..c8bd2b7 --- /dev/null +++ b/docs/assets/SmartManagementSettings-f7b2af66-1786807848259.js @@ -0,0 +1 @@ +var w=(d,i,r)=>new Promise((p,f)=>{var x=s=>{try{y(r.next(s))}catch(o){f(o)}},K=s=>{try{y(r.throw(s))}catch(o){f(o)}},y=s=>s.done?p(s.value):Promise.resolve(s.value).then(x,K);y((r=r.apply(d,i)).next())});import{b as a,M as ue,g as O,q as ce,S as b,a2 as de,a3 as pe,O as u,o as M,c as fe,a as g,x as n,C as D,j,d as C,L as B,u as T,W as me,B as c,t as _,f as ge,a4 as _e,a5 as ye,a6 as ve}from"./index-1786807848259.js";import{_ as be}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";var he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const Se=he;function E(d){for(var i=1;iJSON.stringify(o.snapshot,null,2)),W=O(()=>y.apiKeyConfigured?`已配置 ${y.apiKeyMasked||""},留空不修改`:"请输入 DeepSeek API Key"),F=O(()=>{var e;const t=(e=o.status)==null?void 0:e.state;return t==="success"?"刷新正常":t==="refreshing"?"刷新中":t==="failed"?"最近刷新失败":t==="unknown"?"状态未知":o.available?"可用":"尚未生成"}),R=O(()=>{var e;const t=(e=o.status)==null?void 0:e.state;return t==="success"?"green":t==="refreshing"?"blue":t==="failed"?"red":"default"}),G=O(()=>window.innerWidth<900?1:4);ce(L);function L(){return w(this,null,function*(){var m;i.value=!0,r.value=!0;const e=(yield Promise.allSettled([H(),P()])).find(k=>k.status==="rejected");e&&b.error(((m=e.reason)==null?void 0:m.message)||"后台配置读取失败。"),i.value=!1,r.value=!1})}function H(){return w(this,null,function*(){const e=(yield de()).config||{};s.enabled=!!e.enabled,s.model=e.model||"deepseek-chat",s.url=e.url||"https://api.deepseek.com/chat/completions",s.apiKey="",Object.assign(y,e)})}function P(){return w(this,null,function*(){const t=yield pe();Object.assign(o,{available:!!t.available,refreshIntervalMinutes:t.refreshIntervalMinutes||30,status:t.status||{state:"idle"},summary:t.summary||{},snapshot:t.snapshot||null})})}function U(){return{enabled:s.enabled,model:s.model.trim(),url:s.url.trim(),apiKey:s.apiKey.trim()}}function Q(){return w(this,null,function*(){p.value=!0;try{const t=yield _e(U()),e=t.config||{};Object.assign(y,e),s.enabled=!!e.enabled,s.model=e.model||s.model,s.url=e.url||s.url,s.apiKey="",b.success(t.message||"模型配置已保存。")}catch(t){b.error(t.message||"模型配置保存失败。")}finally{p.value=!1}})}function X(){return w(this,null,function*(){var t;f.value=!0;try{const m=(t=(yield ye(U())).result)==null?void 0:t.elapsedMillis;b.success(m?`连接成功,耗时 ${m} 毫秒。`:"DeepSeek 连接成功。")}catch(e){b.error(e.message||"DeepSeek 连接测试失败。")}finally{f.value=!1}})}function Y(){return w(this,null,function*(){x.value=!0;try{const t=yield ve();b.success(t.message||"上下文刷新成功。"),yield P()}catch(t){b.error(t.message||"上下文刷新失败,已保留上一版。"),yield P().catch(()=>{})}finally{x.value=!1}})}function Z(){return w(this,null,function*(){try{yield navigator.clipboard.writeText(z.value),b.success("上下文 JSON 已复制。")}catch(t){b.error("复制失败,请在内容区域手动选择。")}})}function $(t){if(!t)return"--";const e=new Date(t);return Number.isNaN(e.getTime())?t:e.toLocaleString("zh-CN",{hour12:!1})}function ee(t){const e=Number(t);return Number.isFinite(e)?`${e.toLocaleString("zh-CN")} 字符`:"--"}return(t,e)=>{const m=u("a-button"),k=u("a-alert"),V=u("a-tag"),ae=u("a-switch"),N=u("a-form-item"),A=u("a-col"),q=u("a-input"),te=u("a-input-password"),ne=u("a-row"),se=u("a-form"),J=u("a-card"),le=u("a-space"),h=u("a-descriptions-item"),oe=u("a-descriptions"),re=u("a-collapse-panel"),ie=u("a-collapse");return M(),fe("section",xe,[g("header",ke,[e[7]||(e[7]=g("div",null,[g("h1",null,"智慧管理配置"),g("p",null,"配置 DeepSeek,并管理智慧分析使用的全量业务上下文。")],-1)),a(m,{loading:i.value,onClick:L},{icon:n(()=>[a(T(me))]),default:n(()=>[e[6]||(e[6]=c(" 重新读取 ",-1))]),_:1},8,["loading"])]),y.storageAvailable===!1?(M(),D(k,{key:0,type:"warning","show-icon":"",message:"模型配置表尚未初始化",description:"请先执行 14-smart-context-admin 数据迁移;当前模型调用仍使用服务环境配置。"})):j("",!0),a(J,{class:"settings-card",title:"DeepSeek 模型配置",bordered:!1,loading:i.value},{extra:n(()=>[a(V,{color:s.enabled?"green":"default"},{default:n(()=>[c(_(s.enabled?"已启用":"已停用"),1)]),_:1},8,["color"])]),default:n(()=>[a(se,{layout:"vertical",class:"model-form",onSubmit:e[4]||(e[4]=ge(()=>{},["prevent"]))},{default:n(()=>[a(ne,{gutter:20},{default:n(()=>[a(A,{xs:24,lg:12},{default:n(()=>[a(N,{label:"启用 DeepSeek"},{default:n(()=>[g("div",Oe,[a(ae,{checked:s.enabled,"onUpdate:checked":e[0]||(e[0]=v=>s.enabled=v)},null,8,["checked"]),e[8]||(e[8]=g("span",null,"关闭后智慧管理不会向外部模型发送业务快照。",-1))])]),_:1})]),_:1}),a(A,{xs:24,lg:12},{default:n(()=>[a(N,{label:"模型名称",required:""},{default:n(()=>[a(q,{value:s.model,"onUpdate:value":e[1]||(e[1]=v=>s.model=v),placeholder:"例如 deepseek-chat",maxlength:120},null,8,["value"])]),_:1})]),_:1}),a(A,{xs:24,lg:12},{default:n(()=>[a(N,{label:"API Key"},{default:n(()=>[a(te,{value:s.apiKey,"onUpdate:value":e[2]||(e[2]=v=>s.apiKey=v),placeholder:W.value,autocomplete:"new-password",maxlength:500},null,8,["value","placeholder"]),e[9]||(e[9]=g("div",{class:"field-help"},"留空表示保留现有密钥;后台不会返回完整密钥。",-1))]),_:1})]),_:1}),a(A,{xs:24,lg:12},{default:n(()=>[a(N,{label:"接口地址",required:""},{default:n(()=>[a(q,{value:s.url,"onUpdate:value":e[3]||(e[3]=v=>s.url=v),placeholder:"https://api.deepseek.com/chat/completions"},null,8,["value"])]),_:1})]),_:1})]),_:1}),g("div",Me,[a(m,{loading:f.value,onClick:X},{default:n(()=>[...e[10]||(e[10]=[c("测试连接",-1)])]),_:1},8,["loading"]),a(m,{type:"primary",loading:p.value,disabled:y.storageAvailable===!1,onClick:Q},{default:n(()=>[...e[11]||(e[11]=[c(" 保存配置 ",-1)])]),_:1},8,["loading","disabled"])])]),_:1})]),_:1},8,["loading"]),a(J,{class:"settings-card context-card",title:"智慧管理上下文",bordered:!1,loading:r.value},{extra:n(()=>[a(le,null,{default:n(()=>[a(V,{color:R.value},{default:n(()=>[c(_(F.value),1)]),_:1},8,["color"]),a(m,{type:"primary",loading:x.value,onClick:Y},{icon:n(()=>[a(T(Ce))]),default:n(()=>[e[12]||(e[12]=c(" 立即刷新 ",-1))]),_:1},8,["loading"])]),_:1})]),default:n(()=>{var v;return[((v=o.status)==null?void 0:v.state)==="failed"?(M(),D(k,{key:0,type:"error","show-icon":"",message:o.status.error||"最近一次刷新失败,当前仍使用上一份成功快照。",description:"刷新失败不会覆盖上一份成功快照。",class:"context-alert"},null,8,["message"])):o.available?j("",!0):(M(),D(k,{key:1,type:"info","show-icon":"",message:"上下文尚未生成",description:"点击“立即刷新”生成第一份全量业务快照。",class:"context-alert"})),a(oe,{bordered:"",column:G.value,size:"small",class:"context-summary"},{default:n(()=>[a(h,{label:"快照版本"},{default:n(()=>{var l;return[c(_(((l=o.summary)==null?void 0:l.version)||"--"),1)]}),_:1}),a(h,{label:"生成时间"},{default:n(()=>{var l;return[c(_($((l=o.summary)==null?void 0:l.generatedAt)),1)]}),_:1}),a(h,{label:"数据截至"},{default:n(()=>{var l;return[c(_($((l=o.summary)==null?void 0:l.dataAsOf)),1)]}),_:1}),a(h,{label:"刷新周期"},{default:n(()=>[c("每 "+_(o.refreshIntervalMinutes||30)+" 分钟",1)]),_:1}),a(h,{label:"业务模块"},{default:n(()=>{var l,S;return[c(_((S=(l=o.summary)==null?void 0:l.moduleCount)!=null?S:"--"),1)]}),_:1}),a(h,{label:"数据集"},{default:n(()=>{var l,S;return[c(_((S=(l=o.summary)==null?void 0:l.datasetCount)!=null?S:"--"),1)]}),_:1}),a(h,{label:"汇总记录"},{default:n(()=>{var l,S;return[c(_((S=(l=o.summary)==null?void 0:l.rowCount)!=null?S:"--"),1)]}),_:1}),a(h,{label:"上下文大小"},{default:n(()=>{var l;return[c(_(ee((l=o.summary)==null?void 0:l.charCount)),1)]}),_:1})]),_:1},8,["column"]),o.snapshot?(M(),D(ie,{key:2,activeKey:K.value,"onUpdate:activeKey":e[5]||(e[5]=l=>K.value=l),class:"snapshot-collapse"},{default:n(()=>[a(re,{key:"snapshot",header:"查看完整上下文内容"},{default:n(()=>[g("div",Ke,[e[14]||(e[14]=g("span",null,"这里只展示服务端已过滤的安全业务快照,不包含历史对话和敏感明细。",-1)),a(m,{size:"small",onClick:Z},{default:n(()=>[...e[13]||(e[13]=[c("复制 JSON",-1)])]),_:1})]),g("pre",Ne,_(z.value),1)]),_:1})]),_:1},8,["activeKey"])):j("",!0)]}),_:1},8,["loading"])])}}},Be=be(Ae,[["__scopeId","data-v-958d95b5"]]);export{Be as default}; diff --git a/docs/assets/TopicSwitcher-b6474311-balabala-1786725044461.css b/docs/assets/TopicSwitcher-b6474311-balabala-1786807848259.css similarity index 100% rename from docs/assets/TopicSwitcher-b6474311-balabala-1786725044461.css rename to docs/assets/TopicSwitcher-b6474311-balabala-1786807848259.css diff --git a/docs/assets/TopicSwitcher-06eba150-1786725044461.js b/docs/assets/TopicSwitcher-c91bad20-1786807848259.js similarity index 99% rename from docs/assets/TopicSwitcher-06eba150-1786725044461.js rename to docs/assets/TopicSwitcher-c91bad20-1786807848259.js index 0ee40fc..78a9b4a 100644 --- a/docs/assets/TopicSwitcher-06eba150-1786725044461.js +++ b/docs/assets/TopicSwitcher-c91bad20-1786807848259.js @@ -1,2 +1,2 @@ -var Oe=Object.defineProperty,Ge=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Qe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable;var ae=(d,t,e)=>t in d?Oe(d,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[t]=e,ce=(d,t)=>{for(var e in t||(t={}))Qe.call(t,e)&&ae(d,e,t[e]);if(oe)for(var e of oe(t))Pe.call(t,e)&&ae(d,e,t[e]);return d},le=(d,t)=>Ge(d,Fe(t));import{ao as He,ap as te,aq as Ie,z as Ae,w as O,ar as ie,as as H,p as V,C as M,at as y,au as ve,f as Ke,d as je,a as P,S as N,av as S,a6 as ye,a7 as Y,V as U,aw as Ve,ax as Ye,O as Se,ay as Be,az as Xe,aA as Je,v as be,aB as ke,R as se,m as We,aC as J,L as qe,h as Le,D as ze,aD as _e,aE as Ze,b as $e,aF as et,H as tt,E as st,a5 as nt,G as W,_ as rt,am as At,Z as it,aG as ot,aH as at,aI as ct,aJ as Me,aK as ue,a8 as De,N as lt,aL as ut,aM as dt,aN as ft,u as ht,aO as pt,aP as gt,aQ as mt,ad as Tt,aR as de,aS as fe,aT as he,aU as pe,aa as Et,af as Rt,aV as wt,aW as Ct}from"./screen2Standard-3427eaf8-1786725044461.js";import{f as ge}from"./index-151544a4-1786725044461.js";import{g as xt,o as v,c as K,a as q,F as It,y as yt,n as z,K as St,t as me,j as Bt}from"./index-1786725044461.js";class bt{constructor(){this.events=new Map}on(t,e){let r=this.events.get(t);r||(r=new Set,this.events.set(t,r)),r.add(e)}off(t,e){const r=this.events.get(t);r&&(e?r.delete(e):this.events.delete(t))}emit(t,...e){const r=this.events.get(t);r&&r.forEach(s=>{s(...e)})}once(t,e){const r=(...s)=>{e(...s),this.off(t,r)};this.on(t,r)}}function Rs(d,t=!1){const e=d[0].index!==null,r=new Set(Object.keys(d[0].attributes)),s=new Set(Object.keys(d[0].morphAttributes)),A={},n={},o=d[0].morphTargetsRelative,i=new Ae;let a=0;for(let c=0;c=2.0 are supported."));return}const a=new os(A,{path:e||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});a.fileLoader.setRequestHeader(this.requestHeader);for(let c=0;c=0&&o[l]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+l+'".')}}a.setExtensions(n),a.setPlugins(o),a.parse(r,s)}parseAsync(t,e){const r=this;return new Promise(function(s,A){r.parse(t,e,s,A)})}}function Lt(){let d={};return{get:function(t){return d[t]},add:function(t,e){d[t]=e},remove:function(t){delete d[t]},removeAll:function(){d={}}}}const T={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class Mt{constructor(t){this.parser=t,this.name=T.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const t=this.parser,e=this.parser.json.nodes||[];for(let r=0,s=e.length;r=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return e.loadTextureImage(t,A.source,n)}}class Vt{constructor(t){this.parser=t,this.name=T.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(t){const e=this.name,r=this.parser,s=r.json,A=s.textures[t];if(!A.extensions||!A.extensions[e])return null;const n=A.extensions[e],o=s.images[n.source];let i=r.textureLoader;if(o.uri){const a=r.options.manager.getHandler(o.uri);a!==null&&(i=a)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(t,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(e)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(t)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(t){const e=new Image;e.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",e.onload=e.onerror=function(){t(e.height===1)}})),this.isSupported}}class Yt{constructor(t){this.parser=t,this.name=T.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(t){const e=this.name,r=this.parser,s=r.json,A=s.textures[t];if(!A.extensions||!A.extensions[e])return null;const n=A.extensions[e],o=s.images[n.source];let i=r.textureLoader;if(o.uri){const a=r.options.manager.getHandler(o.uri);a!==null&&(i=a)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(t,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(e)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return r.loadTexture(t)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(t){const e=new Image;e.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",e.onload=e.onerror=function(){t(e.height===1)}})),this.isSupported}}class Xt{constructor(t){this.name=T.EXT_MESHOPT_COMPRESSION,this.parser=t}loadBufferView(t){const e=this.parser.json,r=e.bufferViews[t];if(r.extensions&&r.extensions[this.name]){const s=r.extensions[this.name],A=this.parser.getDependency("buffer",s.buffer),n=this.parser.options.meshoptDecoder;if(!n||!n.supported){if(e.extensionsRequired&&e.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return A.then(function(o){const i=s.byteOffset||0,a=s.byteLength||0,c=s.count,l=s.byteStride,u=new Uint8Array(o,i,a);return n.decodeGltfBufferAsync?n.decodeGltfBufferAsync(c,l,u,s.mode,s.filter).then(function(f){return f.buffer}):n.ready.then(function(){const f=new ArrayBuffer(c*l);return n.decodeGltfBuffer(new Uint8Array(f),c,l,u,s.mode,s.filter),f})})}else return null}}class Jt{constructor(t){this.name=T.EXT_MESH_GPU_INSTANCING,this.parser=t}createNodeMesh(t){const e=this.parser.json,r=e.nodes[t];if(!r.extensions||!r.extensions[this.name]||r.mesh===void 0)return null;const s=e.meshes[r.mesh];for(const a of s.primitives)if(a.mode!==C.TRIANGLES&&a.mode!==C.TRIANGLE_STRIP&&a.mode!==C.TRIANGLE_FAN&&a.mode!==void 0)return null;const n=r.extensions[this.name].attributes,o=[],i={};for(const a in n)o.push(this.parser.getDependency("accessor",n[a]).then(c=>(i[a]=c,i[a])));return o.length<1?null:(o.push(this.parser.createNodeMesh(t)),Promise.all(o).then(a=>{const c=a.pop(),l=c.isGroup?c.children:[c],u=a[0].count,f=[];for(const h of l){const g=new Y,p=new U,m=new De,E=new U(1,1,1),w=new Ve(h.geometry,h.material,u);for(let R=0;R0||d.search(/^data\:image\/jpeg/)===0?"image/jpeg":d.search(/\.webp($|\?)/i)>0||d.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const is=new Y;class os{constructor(t={},e={}){this.json=t,this.extensions={},this.plugins={},this.options=e,this.cache=new Lt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let r=!1,s=!1,A=-1;typeof navigator!="undefined"&&(r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,s=navigator.userAgent.indexOf("Firefox")>-1,A=s?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap=="undefined"||r||s&&A<98?this.textureLoader=new Be(this.options.manager):this.textureLoader=new Xe(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new V(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(t){this.extensions=t}setPlugins(t){this.plugins=t}parse(t,e){const r=this,s=this.json,A=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(n){return n._markDefs&&n._markDefs()}),Promise.all(this._invokeAll(function(n){return n.beforeRoot&&n.beforeRoot()})).then(function(){return Promise.all([r.getDependencies("scene"),r.getDependencies("animation"),r.getDependencies("camera")])}).then(function(n){const o={scene:n[0][s.scene||0],scenes:n[0],animations:n[1],cameras:n[2],asset:s.asset,parser:r,userData:{}};return D(A,o,s),L(o,s),Promise.all(r._invokeAll(function(i){return i.afterRoot&&i.afterRoot(o)})).then(function(){t(o)})}).catch(e)}_markDefs(){const t=this.json.nodes||[],e=this.json.skins||[],r=this.json.meshes||[];for(let s=0,A=e.length;s{const i=this.associations.get(n);i!=null&&this.associations.set(o,i);for(const[a,c]of n.children.entries())A(c,o.children[a])};return A(r,s),s.name+="_instance_"+t.uses[e]++,s}_invokeOne(t){const e=Object.values(this.plugins);e.push(this);for(let r=0;r=2&&p.setY(b,B[x*i+1]),i>=3&&p.setZ(b,B[x*i+2]),i>=4&&p.setW(b,B[x*i+3]),i>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return p})}loadTexture(t){const e=this.json,r=this.options,A=e.textures[t].source,n=e.images[A];let o=this.textureLoader;if(n.uri){const i=r.manager.getHandler(n.uri);i!==null&&(o=i)}return this.loadTextureImage(t,A,o)}loadTextureImage(t,e,r){const s=this,A=this.json,n=A.textures[t],o=A.images[e],i=(o.uri||o.bufferView)+":"+n.sampler;if(this.textureCache[i])return this.textureCache[i];const a=this.loadImageSource(e,r).then(function(c){c.flipY=!1,c.name=n.name||o.name||"",c.name===""&&typeof o.uri=="string"&&o.uri.startsWith("data:image/")===!1&&(c.name=o.uri);const u=(A.samplers||{})[n.sampler]||{};return c.magFilter=we[u.magFilter]||be,c.minFilter=we[u.minFilter]||ke,c.wrapS=Ce[u.wrapS]||se,c.wrapT=Ce[u.wrapT]||se,s.associations.set(c,{textures:t}),c}).catch(function(){return null});return this.textureCache[i]=a,a}loadImageSource(t,e){const r=this,s=this.json,A=this.options;if(this.sourceCache[t]!==void 0)return this.sourceCache[t].then(l=>l.clone());const n=s.images[t],o=self.URL||self.webkitURL;let i=n.uri||"",a=!1;if(n.bufferView!==void 0)i=r.getDependency("bufferView",n.bufferView).then(function(l){a=!0;const u=new Blob([l],{type:n.mimeType});return i=o.createObjectURL(u),i});else if(n.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+t+" is missing URI and bufferView");const c=Promise.resolve(i).then(function(l){return new Promise(function(u,f){let h=u;e.isImageBitmapLoader===!0&&(h=function(g){const p=new de(g);p.needsUpdate=!0,u(p)}),e.load(H.resolveURL(l,A.path),h,void 0,f)})}).then(function(l){return a===!0&&o.revokeObjectURL(i),l.userData.mimeType=n.mimeType||As(n.uri),l}).catch(function(l){throw console.error("THREE.GLTFLoader: Couldn't load texture",i),l});return this.sourceCache[t]=c,c}assignTexture(t,e,r,s){const A=this;return this.getDependency("texture",r.index).then(function(n){if(!n)return null;if(r.texCoord!==void 0&&r.texCoord>0&&(n=n.clone(),n.channel=r.texCoord),A.extensions[T.KHR_TEXTURE_TRANSFORM]){const o=r.extensions!==void 0?r.extensions[T.KHR_TEXTURE_TRANSFORM]:void 0;if(o){const i=A.associations.get(n);n=A.extensions[T.KHR_TEXTURE_TRANSFORM].extendTexture(n,o),A.associations.set(n,i)}}return s!==void 0&&(n.colorSpace=s),t[e]=n,n})}assignFinalMaterial(t){const e=t.geometry;let r=t.material;const s=e.attributes.tangent===void 0,A=e.attributes.color!==void 0,n=e.attributes.normal===void 0;if(t.isPoints){const o="PointsMaterial:"+r.uuid;let i=this.cache.get(o);i||(i=new We,J.prototype.copy.call(i,r),i.color.copy(r.color),i.map=r.map,i.sizeAttenuation=!1,this.cache.add(o,i)),r=i}else if(t.isLine){const o="LineBasicMaterial:"+r.uuid;let i=this.cache.get(o);i||(i=new qe,J.prototype.copy.call(i,r),i.color.copy(r.color),i.map=r.map,this.cache.add(o,i)),r=i}if(s||A||n){let o="ClonedMaterial:"+r.uuid+":";s&&(o+="derivative-tangents:"),A&&(o+="vertex-colors:"),n&&(o+="flat-shading:");let i=this.cache.get(o);i||(i=r.clone(),A&&(i.vertexColors=!0),n&&(i.flatShading=!0),s&&(i.normalScale&&(i.normalScale.y*=-1),i.clearcoatNormalScale&&(i.clearcoatNormalScale.y*=-1)),this.cache.add(o,i),this.associations.set(i,this.associations.get(r))),r=i}t.material=r}getMaterialType(){return Le}loadMaterial(t){const e=this,r=this.json,s=this.extensions,A=r.materials[t];let n;const o={},i=A.extensions||{},a=[];if(i[T.KHR_MATERIALS_UNLIT]){const l=s[T.KHR_MATERIALS_UNLIT];n=l.getMaterialType(),a.push(l.extendParams(o,A,e))}else{const l=A.pbrMetallicRoughness||{};if(o.color=new M(1,1,1),o.opacity=1,Array.isArray(l.baseColorFactor)){const u=l.baseColorFactor;o.color.setRGB(u[0],u[1],u[2],y),o.opacity=u[3]}l.baseColorTexture!==void 0&&a.push(e.assignTexture(o,"map",l.baseColorTexture,N)),o.metalness=l.metallicFactor!==void 0?l.metallicFactor:1,o.roughness=l.roughnessFactor!==void 0?l.roughnessFactor:1,l.metallicRoughnessTexture!==void 0&&(a.push(e.assignTexture(o,"metalnessMap",l.metallicRoughnessTexture)),a.push(e.assignTexture(o,"roughnessMap",l.metallicRoughnessTexture))),n=this._invokeOne(function(u){return u.getMaterialType&&u.getMaterialType(t)}),a.push(Promise.all(this._invokeAll(function(u){return u.extendMaterialParams&&u.extendMaterialParams(t,o)})))}A.doubleSided===!0&&(o.side=ze);const c=A.alphaMode||Z.OPAQUE;if(c===Z.BLEND?(o.transparent=!0,o.depthWrite=!1):(o.transparent=!1,c===Z.MASK&&(o.alphaTest=A.alphaCutoff!==void 0?A.alphaCutoff:.5)),A.normalTexture!==void 0&&n!==P&&(a.push(e.assignTexture(o,"normalMap",A.normalTexture)),o.normalScale=new ye(1,1),A.normalTexture.scale!==void 0)){const l=A.normalTexture.scale;o.normalScale.set(l,l)}if(A.occlusionTexture!==void 0&&n!==P&&(a.push(e.assignTexture(o,"aoMap",A.occlusionTexture)),A.occlusionTexture.strength!==void 0&&(o.aoMapIntensity=A.occlusionTexture.strength)),A.emissiveFactor!==void 0&&n!==P){const l=A.emissiveFactor;o.emissive=new M().setRGB(l[0],l[1],l[2],y)}return A.emissiveTexture!==void 0&&n!==P&&a.push(e.assignTexture(o,"emissiveMap",A.emissiveTexture,N)),Promise.all(a).then(function(){const l=new n(o);return A.name&&(l.name=A.name),L(l,A),e.associations.set(l,{materials:t}),A.extensions&&D(s,l,A),l})}createUniqueName(t){const e=_e.sanitizeNodeName(t||"");return e in this.nodeNamesUsed?e+"_"+ ++this.nodeNamesUsed[e]:(this.nodeNamesUsed[e]=0,e)}loadGeometries(t){const e=this,r=this.extensions,s=this.primitiveCache;function A(o){return r[T.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(o,e).then(function(i){return xe(i,o,e)})}const n=[];for(let o=0,i=t.length;o0&&ns(m,A),m.name=e.createUniqueName(A.name||"mesh_"+t),L(m,A),p.extensions&&D(s,m,p),e.assignFinalMaterial(m),l.push(m)}for(let f=0,h=l.length;f1?c=new W:a.length===1?c=a[0]:c=new Se,c!==a[0])for(let l=0,u=a.length;l{const l=new Map;for(const[u,f]of s.associations)(u instanceof J||u instanceof de)&&l.set(u,f);return c.traverse(u=>{const f=s.associations.get(u);f!=null&&l.set(u,f)}),l};return s.associations=a(A),A})}_createAnimationTracks(t,e,r,s,A){const n=[],o=t.name?t.name:t.uuid,i=[];k[A.path]===k.weights?t.traverse(function(u){u.morphTargetInfluences&&i.push(u.name?u.name:u.uuid)}):i.push(o);let a;switch(k[A.path]){case k.weights:a=he;break;case k.rotation:a=pe;break;case k.position:case k.scale:a=fe;break;default:switch(r.itemSize){case 1:a=he;break;case 2:case 3:default:a=fe;break}break}const c=s.interpolation!==void 0?es[s.interpolation]:Me,l=this._getArrayFromAccessor(r);for(let u=0,f=i.length;u{this.parse(n,e,s)},r,s)}parse(t,e,r=()=>{}){this.decodeDracoFile(t,e,null,null,N).catch(r)}decodeDracoFile(t,e,r,s,A=y,n=()=>{}){const o={attributeIDs:r||this.defaultAttributeIDs,attributeTypes:s||this.defaultAttributeTypes,useUniqueIDs:!!r,vertexColorSpace:A};return this.decodeGeometry(t,o).then(e).catch(n)}decodeGeometry(t,e){const r=JSON.stringify(e);if(ee.has(t)){const i=ee.get(t);if(i.key===r)return i.promise;if(t.byteLength===0)throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let s;const A=this.workerNextTaskID++,n=t.byteLength,o=this._getWorker(A,n).then(i=>(s=i,new Promise((a,c)=>{s._callbacks[A]={resolve:a,reject:c},s.postMessage({type:"decode",id:A,taskConfig:e,buffer:t},[t])}))).then(i=>this._createGeometry(i.geometry));return o.catch(()=>!0).then(()=>{s&&A&&this._releaseTask(s,A)}),ee.set(t,{key:r,promise:o}),o}_createGeometry(t){const e=new Ae;t.index&&e.setIndex(new O(t.index.array,1));for(let r=0;r{r.load(t,s,void 0,A)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const t=typeof WebAssembly!="object"||this.decoderConfig.type==="js",e=[];return t?e.push(this._loadLibrary("draco_decoder.js","text")):(e.push(this._loadLibrary("draco_wasm_wrapper.js","text")),e.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(e).then(r=>{const s=r[0];t||(this.decoderConfig.wasmBinary=r[1]);const A=ls.toString(),n=["/* draco decoder */",s,"","/* worker */",A.substring(A.indexOf("{")+1,A.lastIndexOf("}"))].join(` -`);this.workerSourceURL=URL.createObjectURL(new Blob([n]))}),this.decoderPending}_getWorker(t,e){return this._initDecoder().then(()=>{if(this.workerPool.lengthA._taskLoad?-1:1});const r=this.workerPool[this.workerPool.length-1];return r._taskCosts[t]=e,r._taskLoad+=e,r})}_releaseTask(t,e){t._taskLoad-=t._taskCosts[e],delete t._callbacks[e],delete t._taskCosts[e]}debug(){console.log("Task load: ",this.workerPool.map(t=>t._taskLoad))}dispose(){for(let t=0;t{const l=c.draco,u=new l.Decoder;try{const f=e(l,u,new Int8Array(i),a),h=f.attributes.map(g=>g.array.buffer);f.index&&h.push(f.index.array.buffer),self.postMessage({type:"decode",id:o.id,geometry:f},h)}catch(f){console.error(f),self.postMessage({type:"error",id:o.id,error:f.message})}finally{l.destroy(u)}});break}};function e(n,o,i,a){const c=a.attributeIDs,l=a.attributeTypes;let u,f;const h=o.GetEncodedGeometryType(i);if(h===n.TRIANGULAR_MESH)u=new n.Mesh,f=o.DecodeArrayToMesh(i,i.byteLength,u);else if(h===n.POINT_CLOUD)u=new n.PointCloud,f=o.DecodeArrayToPointCloud(i,i.byteLength,u);else throw new Error("THREE.DRACOLoader: Unexpected geometry type.");if(!f.ok()||u.ptr===0)throw new Error("THREE.DRACOLoader: Decoding failed: "+f.error_msg());const g={index:null,attributes:[]};for(const p in c){const m=self[l[p]];let E,w;if(a.useUniqueIDs)w=c[p],E=o.GetAttributeByUniqueId(u,w);else{if(w=o.GetAttributeId(u,n[c[p]]),w===-1)continue;E=o.GetAttribute(u,w)}const R=s(n,o,u,p,m,E);p==="color"&&(R.vertexColorSpace=a.vertexColorSpace),g.attributes.push(R)}return h===n.TRIANGULAR_MESH&&(g.index=r(n,o,u)),n.destroy(u),g}function r(n,o,i){const c=i.num_faces()*3,l=c*4,u=n._malloc(l);o.GetTrianglesUInt32Array(i,l,u);const f=new Uint32Array(n.HEAPF32.buffer,u,c).slice();return n._free(u),{array:f,itemSize:1}}function s(n,o,i,a,c,l){const u=l.num_components(),h=i.num_points()*u,g=h*c.BYTES_PER_ELEMENT,p=A(n,c),m=n._malloc(g);o.GetAttributeDataArrayForAllPoints(i,l,p,g,m);const E=new c(n.HEAPF32.buffer,m,h).slice();return n._free(m),{name:a,array:E,itemSize:u}}function A(n,o){switch(o){case Float32Array:return n.DT_FLOAT32;case Int8Array:return n.DT_INT8;case Int16Array:return n.DT_INT16;case Int32Array:return n.DT_INT32;case Uint8Array:return n.DT_UINT8;case Uint16Array:return n.DT_UINT16;case Uint32Array:return n.DT_UINT32}}}let j={GLTFLoader:"GLTF",TextureLoader:"Texture",FontLoader:"Font",MMDLoader:"MMD",MTLLoader:"MTL",OBJLoader:"OBJ",PCDLoader:"PCD",FileLoader:"File",ImageLoader:"Image",ObjectLoader:"Object",MaterialLoader:"Material",CubeTextureLoader:"CubeTexture",RGBELoader:"RGBELoader",FBXLoader:"FBX"};const us=Object.values(j);class ws extends bt{constructor({dracoPath:t,cloneTextures:e=!1}={}){super(),this.dracoPath=t||"./draco/gltf/",this.cloneTextures=e,this.loaded=!1,this.itemsLoaded=0,this.itemsTotal=0,this.assets=[],this.loaders={},this.initDefaultLoader()}initManager(){const t=new Ct;return t.onProgress=(e,r,s)=>{this.itemsLoaded=r,this.itemsTotal=s,this.emit("onProgress",e,r,s)},t.onError=e=>{this.emit("onError",e)},t}initDefaultLoader(){[{loader:kt,name:"GLTFLoader"},{loader:Be,name:"TextureLoader"}].map(t=>this.addLoader(t.loader,t.name))}initDraco(t){const e=new cs;e.setDecoderPath(this.dracoPath),e.preload(),t.setDRACOLoader(e)}addLoader(t,e=""){if(t.name&&j[e]){if(!this.loaders[e]){let s=new t(this.manager),A=e;s instanceof ie&&(A==="GLTFLoader"&&this.initDraco(s),this.loaders[j[A]]=s)}}else throw new Error("请配置正确的加载器")}loadItem(t){return new Promise((e,r)=>{if(!this.loaders[t.type])throw new Error(`资源${t.path}没有配置加载器`);this.loaders[t.type].load(t.path,s=>{this.itemsLoaded++,this.emit("onProgress",t.path,this.itemsLoaded,this.itemsTotal),e(le(ce({},t),{data:s}))},null,s=>{this.emit("onError",s),r(s)})})}loadAll(t){return this.itemsLoaded=0,this.itemsTotal=0,new Promise((e,r)=>{let s=this.matchType(t),A=[];this.itemsTotal=s.length,s.map(n=>{let o=this.loadItem(n);A.push(o)}),Promise.all(A).then(n=>{this.assets=n,this.loaded=!0,this.emit("onLoad"),e(n)}).catch(n=>{this.emit("onError",n),r(n)})})}matchType(t){return this.assets=t.map(e=>({type:us.includes(e.type)?e.type:"",path:e.path,name:e.name,data:null})).filter(e=>{if(!e.type)throw new Error(`资源${e.path},type不正确`);return e.type}),this.assets}getResource(t){var r;let e=this.assets.find(s=>s.name===t);if(!e)throw new Error(`资源${t}不存在`);return this.cloneTextures&&e.type===j.TextureLoader&&((r=e.data)!=null&&r.isTexture)?e.data.clone():e.data}destroy(){this.off("onProgress"),this.off("onLoad"),this.off("onError"),this.assets=[]}}const Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD0SURBVHgB7dEBDcAgEACxZ/5NTgkg40JaC137mgesf57wDSlCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTEHKbcBaYZyb5dAAAAAElFTkSuQmCC",xs=""+new URL("pathLine2-d4134d4b-balabala-1786725044461.png",import.meta.url).href,Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADzSURBVHgB7dEBDcAwDMCw9vw5f4MRTTYF73/NC3bnBd+QIiRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSMwBQCIExogIrTYAAAAASUVORK5CYII=",ys="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMxSURBVHgB7dZBDcJQFADBB/kCuHAgAQckHAA3Tf27aIXsjIjNXv7bfgyQdB0gSwAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgbN2erwGaHACECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCErfv7M0CTA4AwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYCw9fj+BmhyABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABB2Amb1BS2MWc5zAAAAAElFTkSuQmCC",Ss=""+new URL("ocean-bg-8c848b8f-balabala-1786725044461.png",import.meta.url).href,Bs=""+new URL("rotationBorder1-2ce8e0ef-balabala-1786725044461.png",import.meta.url).href,bs=""+new URL("rotationBorder2-7496b968-balabala-1786725044461.png",import.meta.url).href,ks=""+new URL("chinaBlurLine-1a2cbc0f-balabala-1786725044461.png",import.meta.url).href,Ls="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0ESURBVHgB7Z3/VRu7E8XFO+9/kgpIKoAOEioAKoBUAFSAqSCkAkwFQAVABUAFhAoIFfjt3bzl+TlGtndG0oz2fs6ZY/L94R2v9u6MpJG0FkKYBELIXP4KhJB3oUAIiUCBEBKBAiEkAgVCSAQKhJAIFAghESgQQiJQIIREoEAIiUCBEBKBAiEkAgVCSAQKhJAIFAghESgQQiJQIIREoEAIiUCBEBKBAiEkAgVCSAQKhJAIfweSlA8fPoRPnz6Fra2t9u+NjY23/wyfsBg/f/58+/z161d4fn5++/vh4aH9JOlYC9wXSw089F+/fg2bm5tvosBnSjqhwO7u7lrx4G+iAwUiAA//7u5uKwh8LooGuehEcn19HW5vb9+iEFkdCmRFECF2dnZaQaSODlpAIBDKxcVF+0lWY0Jb3s7OziaeeXp6mpyfn08aobu67wXNlbPFDQ9WLUAsBwcHkyYSumqDzObKWRP28vIyqQ1EFQrlT+M8SA+Qy9dGE0lCE1HCzc1N288i/+FK0RaspjTrPRqhsJ/y21w5a8ZqTLPmMfTUa3ApFuYqMEQrpcY0ax5d6tUIxc2wtjauFC2xw8PDtze/NH0YQpo1SzfqVbINC5grZ3sZUgTk1NPg39LvHUqaNcv9/f2Q0i5Xzq5s01FjlibVEn33eDyeDJmTkxMz7ZzQXDm7tM2LGrMgZWj6JL2vMcQ0axbc45qjSZW1WBjHv7y8XKp48PT0NIxGo9AHfD86sKsUKaL6FrVRXcn66+vruyXr+N719fW3znFXMm8N/Jbj4+NwdXUVasSNmpcxhP1VQPoleQO+l2bhe/F2Re0WOrbNwy2KVp3hOxC5kB7iu3ENK32hSlMuV85GH5wmakz6gLH+vtfFgwo6QRwdHbViyP37cU1ce1FamRq0gcaLwJC5cnauIQKgPyGh77Bv90a39lBAuIhuJaIL2qKifokrZ/8wvDml4gAaw75WDSle7shSkUhcOfs/gzg035C1T4LhgUVU0XihLAPapkS6qWyunH2z/f199fQB31dZ/jzXIBS8DHIIBfcUbeXp/syYK2dbww1PRTPk6+peSA0d+xxCcSwSV84mFQfAG8/T/dAwRJQcS4mdisSPs9p9jllqnxVeZMtUH0hw2ifx4SgaL5U48L1INbzci9SWsn/iUCT2ndSY53iPoUeN2D1PFU2cDQHbdhCjSqnEwaix2DBokQJpoWhGs+1g3/KRRY3D9dbLm9Zk7CxoWwe/365zqxYeLsPAFvuoGe4Z7p02DgocbTrWFQFqglnkIUwEprQUi8SMR3N7TqXolA9tAjClafdLpEsOEps9p7RHTygOfdMWieFiUVsOafc7KI50pi0So6OKdpxBmNWE4khvmiIxmmrZcUZzlITiyGeaIjGYatlwBOUNWmCkxcrvGoppjm4ZS7XKO6E5aoUoZOE3Dc0wfK6VARhbl1PeCWyaoEFla6HdmeaL7vv371Z+V/mbqkUFyzvdm+Zmekbas6wDWtGDnXI7hj6EBkY67OUurvW2qXlHEq+mNdlroAzF901kv8OmaS1wM/DyK3NhregxwPMq3JhWqlU4ipS5sEb0YGpl3ypo5/wX1Rq5Ympl37TaulQUKXJG4cnJSZDy48ePdtt9Yhu0EY6YkKJxrmRf3L1R2DH3ZZgVl3bYS82uZ48gGofUM3r4AgcEoc0k4OCgptMfSpBVkdJSBPz/c/tMk5tGFClUZ5fvYhpDuxzW9WsaZfG5O+tZU6z9/f0gAWnV7e1tID45Ozt79zzGZSnRWc+mRml6JTkqjWbDpFGkwObieS6kkV5x5Mq/oS8iJWealS3FkqZXSK04cuUfpFjSNDl3mpVFidL0ip3zeky6KWDmkcz0F5FODg7xUJuaTWPId2NjI4uvWVIs6eTg1dVVIPWANOv6+jpI2NvbCznIIpCdnZ0gQXoziT3G43GQsLm5GXKwFn6HkqQ0OWNo0qzQl7W1tUDqAqUjeC7w2QdEoY8fP4bUJI8gW1tbInFwYrBO8IA/PDyEvkBYTT8kpCa5QCTiAEyv6kXattvb2yE1yQUi7aAzgtSLtG2RnaQmuUAknSlpGCa2QdtKarOk2ckyZOmD9IXiqB9JG+cYyUoqEHSk+o5SgMfHx0DqRtLGiCCS52sZkgpEmiOy/1E/0iwhdZqVPIJIkK4dIPaRCiR1Rz2pQKTqZh+kfqQV2q5TLIlAED0YQepH2s6DTbG49mM4SNp6fX09pCSpQCSlAIwew0EiENcRRAIjyHB4fX0NfRlsH0Ry04gvJNmCa4FIYIo1HCy3tVmBEGIBCoSQCBQIKc5oNGpXjfaxz58/h5RQIIREoEAIiWBWIKmH7whZhqQCkQzfpS4hIGQZzAokx5YuhCwiqUCen59DX3Js6ULIIsxGkBwL8glZRFKBSAoOpevZCdHAbAQBjCKkNEkFYn29MSGLMJtiAQqElCZ5iiURSa4t7kk5rKfRf4fEIM3qexMYQern/v6+/cRzcnd31+6FJt2SVJukR1idnZ1NJDQiyXLUFi2/oW3foxHO5PLycnJ0dJT1VNtZyxJBJGB3eO6PVSexnf+RPcCmT7TFc4AIg+1K8Xeu5yKpAqUHeN7c3BR7e9DSGtpWQo7sIssRbC8vL6KjtrAohmvU66N5xkNfMPiTerEUyFLuLjlJCMJiZ70+plOnPuTa+T+LQKS54v7+fiB1IT35OOfR4MnzOGk/BIfO4/D5HL7S8hjaVAKeqRx+ZokgyBelhYvSsw6JHQ4ODsT7NufaeTPbklvpiaaHh4eB1IE0Zc59sFKWUIXJHilMs/ybNN0GmScO890cad45Go1y3hhaAjs/P59IeHp6yupv1l1NLi4uggSkWVxE5RfU5En7krnTq6wCkQ7NQRxHR0eB+ATikFbvSl+yfcgaslCEJoFDvn4N6ZGn9AqWfeM46WgWo4hPkB5Lo8fp6WkoQVZF4u0v7awzivgyjFxJowfINTk4bdkjCIoOpXkko4gvNKLHeDwudixfdlVqzImUeqPQVjONeY/CbV3kouK1AIBrRexbBe1c5sJaUQRLMgvePFrEDg4OJhqUXHIbCl5Y5e2CDjtTLXum1TE3kCWUu7hWFGGqZc80Xn6gcPSAFb242o1kqmXHTk5OJhqgbsvA7ynrQGzrl1Ux8LYZvGm2p5HUubgD4r2zOpDzsj9SzrT6HcBI9ICVd0Jjdr0DtV6cZS9j0jq7DmMvOhNOtH0ILQy9fQZj0nUe02B42NBvM+OIWocdoKNo6bfVbFqdcoAoZOz32XEGYVUr1QIUSXrTFAcw2Ic05YxqqgUoknSmLQ6jS6rNOaSaagGKRN+0xWF4steeU9qpFuBEop5pi8P48LxJp9TKUADrtXQMw+eao1Udu7u7ln+3WcfanFQDHsIjN7xgtOY5pnGwlZNp59pThiQYG1N3aYjmWjPk06BtHfx+2w4irPdtHG40J7fDw8NJCtCmTioezDvYq8aH4pDfc+3RxA5nNXMunGz7EcuObKH40cvvsmiIGtqjiB0OB0zcOLqUSJzktSYtZdToxOFwwMSVs9F1zlqVvBjnH9KwMO6Z9tzGPJwOmLhytrV5ItHKa7sHBd9X++RiJ4xU6VQF4oC5cvbNcMO7htUSx7zBAPwb16opouQUBq7hfKjdlbP/M+SzmiMisVliXAf/vWeh5BRGJ44KJmldOZvMVtkBEB1ZL29FiAKlHCk73/PAC6WSCgZXziazPmUUeEMiqlirJYIoMPsN33JFi2kq2xvAlbNJTGsHQLyl0bEv8ebENXFt+FBCFB0YZq9pT4C1f/8YNM0bT7z7+CzYxf7h4aG1u7u7t3/jUwJ2toevjSDC5uZm+wmzcDQdzu8YjUahJgYvkKbTmrVRIRBs4z/9+fr6Ovd/u76+3j74nShgFs9oxG/Y29vLfn5gDgYtEDxwiB6kPxDFt2/fip3dkZrsB+hYAtGD9ANR4/j4OGxvb1crjg7zHaUUprlF5tDAQMCASnFcOatmKRYA1Q5Gxwa4tt+Vsyqmud59KGAJwUC3dHXlrJohRRiPxxMSB+nUwNf0u3JW3RBNcpdheAD3hMdJBAqkMwrlNxTGH+bK2eQ2xNQLnW/0MSiMuebK2WwGoaBGq+bRLhRoYnMLnqcSNVfOFjG8WRFVahALo8VqxmLFFWkerNBElvDlyxf1AsdUYKb7+vo6XF1dVVkvlRIKRAAEAsHs7Oy0FbVWBIMyEIjh8fGx/ay9FCQlFIginUggmq4UPXX1LR5+lNE/Pz+3n4gQFIQeFEhiIJBOKF3JOsrYu2izKOogGnSl8SiL70rkIYbub5IOCoSQCIMudydkERQIIREoEEIiUCCERKBACIlAgRASgQIhJAIFQkgECoSQCBQIIREoEEIiUCCERKBACIlAgRASgQIhJAIFQkgECoSQCBQIIREoEEIiUCCERKBACIlAgRAS4R+Py6dcyrAs4QAAAABJRU5ErkJggg==",Ms="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA4qSURBVHgB7Z3xVdvMEsX15bz/k1RAOoBUQDrAHUAHpgOgAkgF2BWAKwBXEKggUEGcCvx09d76M/LMalfalXal+zvnHhPFllbWXu3MrCT/UxTFtiCEiHwqCCEqNAghFmgQQizQIIRYoEEIsfCfgkThy5cvlU5OTopv375Vfx8dHe2WY9n++yQ2m00l8Pb2tnt9f3+vlr+8vFSvWGbeR8LyT8Eyb2dgAuj4+Ljq+MYUfQKTQDDNer3e/U26QYN4YkaFs7OznTG0EWBozCgDrVar3YhD3KFBHPjx40dxenpavUI58/z8XI0weIWIHRpEAUbAKHFxcRF8hDC5xX6OoWFyFFuu0haEYTDJcrmkWRRokD1CmcLE/0imTW5gEmmTbLcFuY1J+s3fyH1M6NelzTTLIZM3CDrWfD4vZrNZqw5mOtbr62v1OmRFyZhkv2jQdp9ubm52+zN1tlNUOVpsHx4etn/+/Nn68OvXr+3d3d22NNS27JDJ7yfaiLaizWi7L/f399V3lfp+RlRWje0sHOynpyfnDgID4f2Xl5dZGKJJZUi2LUPI6uTgA74DfC6nfQ2krBrbWji4v3//duoMxhT4zBhMoQn75msWfIcTM0pWjfWWjzHGNFL4yowsrmHYhIySVWOd5RpKYbRAfD7xOPuDysR+u1gsti7AKMhxcto/T2XV2EbhTOhqjOvr60mOFj7fpesIjGQe789p/xyVVWNVoaNfXV01Hkgc7KmGUV3kahQcg5F9t1k1VhTCo6aDN8HkMopcjDKy7zqrxn4QzlRNFRiGUnHkYpSRhF1ZNXYnl1EDyTeNEU/o/PiORz6aZNXYqsPf3t5aDwqS9JEmjEnKpTCCY5bpySqfxuJA2EYNhFNIwHPapzGpKezC/2V44sqjofP53HrdFHIRhlPDCwawzaFkeBJLv5G2kApf+MgnqrJU02iCcnAm+5Ju4zAi2GJb5hppqyk3wWUtGRy/NBvWlG+gdJtq26mPwrHSyCAvSa9RuBZIyzewnNdN5SdbWR7LccwTbXtaDTo/P1fNkcmQTClqigpw7BNsdzqNQaVKA5URVqnyF46hbXIxwQpXGg2xXWjIfGN8suUliVW4hm+EzRyc+BuvMjHJsA2wmYNX345fOMaJm2S4jWs5BytV0xKOtVaYSSCCGGbDqFho5ki45EdFkq20P3B1a5gvg+agpH4hmWTgftHvBm21cIZVFPqAdvIcaA6sv43ZzMGEnDLSEnf0nQHmwvrbmPbMJc5zUHUhOZfAxY89t6WfDWnlXJqD0qTNk+D2hx7bEX8jWjkXlxz0uKNUhtJuvuqx/Bt3A8g7pMrEQPEklZnQR6TQvMekPe7OSUl5pvcmUwNp4JNsvJVrt8qynEv5Siv/9pCPxFmxVqpjUk61lZa0Rz7hhl+pNt8xQImOGpmke9wjh1rhV4pHTko7wbyD6iotH8FjnyJtM+wKtdCKM+VUKOExTz2GWuFWplWtMKLE+KKo6Up6aHmkUCvcyqTZcoZWVAzBCFKoFaEIFGZFMAFDK6pPaddrBT4hh1mRlJizakXFllTVCtzvuq9ES5oYWlGxpUUuARP27iuREnNeiEj1Jek5WwFHkW4rkMq6TMypPqUl7IHy324rkEYPJuZU35IuQ0HfDLDu9h/WRo8+vhCK2pc2BxfgZN3+wxw9qJQU6YSdVGMoqpOkk3bHila7D0r1Z44e1NCSJg87VrT8PyTdvMLRg0pBWkWr7SjyqWjB+fn5wbKbm5uCkKHZbDbFz58/D5bP5/OiLV6O0mYuOe9BpSJpFMG/21zp6z2ClEPVwbLFYlG8vb0VhKQARpHlcvlhWWmOosxPijZ4OUqqEvCB01RqkvJkPD6oxboG2ShFRZdUafVN1r1CLCk5lxIiQlJgtVodLJvNZoUvzm6Swism51Sq0pJ1z/W4vVEKrx4fHwf/EijKpq5hlnOIJYVXpUEKQlKmXs0CvmGWk5Ok8IoPn6ZSV9cwy2kEwdxHmWt8WIYECPVmQlIGffTl5eXDMsyJSPN5Es4GqcPwiuSCVM1yNQhoHGakRIfVKyoXIcyq43GFr//KOTlI5SbpR3hccujGEOvk5ORg2Xq9LgjJCanPSn27TqNBpJLY8/NzQUhOSH3WpdzbaJDj42OnjRGSMlKflfq2hDUGq9eQmX9Quao+l+cyH2IdQRCjoWa8T72mTEgu1PMQ9O2mPMRqkPrkIHh9fS0IyRHp5N7JINJkCkcQkitSHtLJIFISQ4OQXJFuC5eipH28QiyYg9dfkVxB362bpKmSpRoECUzdIDQHyZ16BIQ+Xi9E7aMahAk6GSPv7+8Hyz5//qy+3zqC1OGjfUjuSH34+/fv6vtVg0jZPQ1Ccsc3UfcaQZiDkNyRDBIsBymn6gtCckY6yR8dHanvVw0ifUhKcAjJCWkE+fr1q/p+56eaMLwiY6Hel1tVsTgHQsZKvS+3StKbVkpIrvj0ZecqFg1CxkK9L7eqYtk+RMiYaGUQQggNQogVGoQQCzQIIRZoEEIsqAZhWZdMBVtfdzYIy75kLPjM8TmHWDQIGQs+fVk1SP2qRxqEjIV6X7bdCMgQi0yOICPI379/D5bZbiwhJAekK3dbjSC+N5YQkgOSQWw3AnqVeZueQkdI6vg+a8FrBKFBSO5Ifdj2OF3VINKHaBCSO1IfDjJRqK2ckJyQnsXbuszr+6BfQlJHmgNpPZPu+6BfQlJG+kWppqeFWg0ilb8YZpFckR6n2/RAdq8RBEi/OkVIDkgGafrFZm+DMA8hueKboBusP4Nb/xlo/JRu02coKkXhJ8yD/gw0YKJOxoCUoLv83majQaQkhnkIyQ2pz7r8YlqjQR4fH502RkjKSH1W6tsS1hisHJq2dRDLNX2OolJSPf8A6NsOn21e+dPTU9uVU9TgKvPmg/6LPu3yWad70tfr9cGyi4uLgpAckMIrqU9LOBlEmkw5OzsrCMkBqa82TRDu4zTU1OdD8G+GWVTqknJon7k858f+LJfLD/9GXXk2mxWEpIzUR31GD+DkpDKOa53oUNRQenh4OOi36Mse63DfGMMsKidJ1SvfS6W8Hl4thVmsZpFUkapXvuEVcHYTwywqJ0mTg57hFTTIRikqqk5OTjqHV5D374OsVquDZaxmkdSYz+cHy25uboo2eDkKSTmTdSplSck5wHLfdXmPIHgCRD3RQbJ+eXlZEJICUnK+WCyc7h6U8HaVlKxzFKFSEXKNgHlyu0ZIV/iWo8ggXwhFGZXTDgf9smOltd0HpVGE96tTQ0saPWCaDutMqjEU1VrS6BHgpB2+QcxFqCEU6YQdvlHX19e9fSkUBUUaPaDwDWNFi+pTmN+IGO53b6BU0bq9ve3tC6KmLfS1SKMH1H0lUkULtJm5pCgfabPms9ks1DbCNFQaRXilLxVbUr+7v78PuY0wK9KczMlDKpak/DdC5BKuwahe1WHCTsWQlphHqKCGWxmMIDUa9wXH+qKoaQphVJ1Ic3BhG64l7AGTJmri0kKrSFdxhN8B6UkSCLVY1aK6SgutAifm+wq/Ui3UYlWL6iqpaoW+FvHkG2dHtFDr6uoq1o5QIxf6To+hlVG8Hbq7uxN3iA95oHylnXDRxyJvO97KtVCL+QjlIy3v6OnK8fg7V3/IA8Djgzg/QjUpgZNs/J3EbLpExMoDNRJJFyKCHq/Q6GUjaj7CpJ3SpCXlPd9v1NuGxBJdz2cDKhNp5hjg9zH725gWT4Lz8/O+d5xKVOgLEpHnOzT1ujE1aQcs/1JaOXcgc0C9b7B6sLBkEizD/w3RJmp4af0CDNgvBtmoesEZTTJN2cwx8KOkBtuwWv7FF8VwazrCsdbMkUABZ9CNizdZGZi4j19aQg4SeXzU4A2wmoTzJOPVfD5P3RxQEo2gSSYmbZ4jMXNAyTREzUkALjngtVv5C8dQul3WkOCkcVKNUatbYMBaOBVAOHbSb1wCJOmJPvg8uQZVJT9txh3LWeHKT7ZKVeKl/SQbpd4DYGBeko9s+UYGUUGyDbMOyQAXPzLkSvv4aReomuOXQV6ZdOMq2SpcOAPxR3vSEx7zpIVUoIdbZUMpi0ZW1Q3bF47KCEeT4YURQXrskwHHMLPbG7JpaGNewtFkWGHiz3YSy7QKmVVjqzOUdneigblJv2rKNQCOWabzWFk1dieMFLbRBGBykUaJJ3R47Z7x/VEj87J8Vo39IHT+xWLReIAYdoUVjIHSrS2cAshFRnD1Q1aNFeUymtAo/X7XI5rMzaqxqnCmspWDaZRu3y0qT03GADgGI7tmLqvGNsol7No3CnMUXa6hFBhxYSSrxjoLE1UuZzyAORTe5vuvEB4h+XY1xsivjcuqsd5yiZkNuKxlqqOKCaOayrWGCYWqWTW2tXyMAlCBwWfGfA8K9g37CFO4jBYTM4ZRVo3tLNMhfDBmGcPIsj9SuJoCTCCU0pRVY4MJB9slma+DMAzxOXKcHEYXtBFtRZttV0ZLwEA4OUz5/pt//v/HZClHhaLsAEVZran+9uXl5aXS6+vr7u/NZlMMQWmG3f4cHx9Xr233abVaFXd3d4PtSypM3iD7oEOVoVRxenraqmMZjEnw+v7+Xry9vVX/xivUBbTLGAE6OjqqXssqXKc2o33L5bJ4fHwsnp+fC/I/aBCFUGaRQGfclw2YYV+h20FT2KFBHIBZIJgFrzkDI6zX6+qVpmiGBvEEZ3GEM2XiW8X5+Dv0mT0UJsxDfoRRYsj8KFdokACY+N8kxyY/6BPkNibnMcUCiHSDBomESaTNiINXk1AD82rLLfZzFJPoQzCBSfrNqMCRIQ40CCEWPhWEEBUahBALNAghFmgQQizQIIRY+C9cNXNlJEjHoQAAAABJRU5ErkJggg==",Ds=""+new URL("huiguang-3c5dfda5-balabala-1786725044461.png",import.meta.url).href,Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFPSURBVHgB7ddhbcMwEAXglyEoBEPoGARCIYTBymBhMAgrhDFoIZTBIATC21lxtGhdYieOW7u6T7L6x5HvfPXJBpRSSj0jko2MGqWTJL7tQMkkgSN/tSiRBG5cNQadjB1KI0GfeOsDJXHVmFKjFBLseSaRM0rg2q3PAbn7c8Cn2Dn5HnwJ7p3hWuSI/QHvFiRi5xrkhv+3W59P5ITz7danRi4YdsCn5NGOGdZufRo8kgSwi6zGIPoe9oI4bzIM4tkkjngExh3wqaoYrBRTkRbbslW5bzuWnTswnRorVFiB/dPVII1rVVWvWGjxX4t9qzRIZy9rpD34vH2+zrnIaN03dtj3+zXw27TPYvrvUxcXsMH8ZjRu7pw0z2JOt9sh+MU7GJCUwdZG1ejcwg03LP8oqa9RItvew9i325P7Tf6yY3/1GdbcQymllFJKKaUy9gO4eI9ILG1riwAAAABJRU5ErkJggg==",Us="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA5BSURBVHgB7VxbjxxHFT516Znd9a537axDAhGJkQKCkEDCA5ECT0TwgBTxjgQviN/DD+BP8IgEAolAECQkcYAkCiEX2TGxY+9lrt1dF75T1T1T055ZO9u9thPtkdo909Ndl6/P+c6lak10KqdyKqdyKqdyKqdyKp8rEXQXxXvfqj8hhKe7JHcFmASQ+iwb31c+isM1vt8VgE4EmCVAiCWHpNv3b6kCgyJAPvl+oiB1DkwDlBSEWktU9VkN4mextBkchsgADb8bAaqBqcFKQeocoE6BqUBJgakBYQA0fwYYGhe04LnMQaLqM890NnEgYfi7jWe/Q1RQBKgGaaZF9y0wCSj1MdMMPoZEvQoQhaMnIlAMjhwRZXU7ZzBZzLBkBHoApQ9QxkQ5rjkAVJ6NwJU0B8hWjwYu6gqgToBpgCKTQ0ND+ls4TwAILqzhmjIF9YFIJjLqGWNkRlrjHMbiNRmttfUlFT4jC8QKHw82q5K1aBNAfQIgducalGpPJ+C0BibhlBQQtY8XDlXRUIv+Oj7n0Apwxrotyz70fksL8QVM4DFJ/itSyl3n3QU8l0shPoYNXYN6vEfSf2i8+hgojTeybAoNKgFwbqMGWbRZVPyDpucmdj8BU2uKqo4+E6uK5rPGgODcd8acxaC/pIT4IQD4Dp7+GkWTWjawgSX/qrP+RU/6j47MUGo9xs1jzH5SaQ+Dk+9G06oJuhOTagVMw4QCueLIBlFbAig4ztiSNpww2xjp93pK/gQ3f4Mqsr0D2Xfk/2Qd/UYo9TZMbKwyGlSmlQP0KWvOhag1M3DuF2CCpsDuM5BlvwbFFrTppNmEhpzD8QK05Od4qr/YhB9D98GvlFfX+FnQCG0s9EXifev9rwrn3si03gcCQXtwnmxGrjG0CE4rk9LUTlKy1ZhxjzlFxMmdAWwbNoLyPED5Ge7pJ+8iN879s/T+iifogfdlbFFkuKOfKXUBbT2FK+tVR4+Bl35BUv46n5pLPaUJrO3AOQ4eL9jSuUUibiXHBqYZyO1BY+BBJIPCnKJKOlMKs9MT8hlo0C8pgBK9hvH+KgD5O0Y/AmAMpAAgvbptXB8XxrxrhPior9QzAPnL1U9PAJyfukxcF4pK9GPZvVdo8KkmYVV9PrZ0pTF4f5SpGJ+wtvQttEU5t6u0ZvOpzcJbTx/kzv0DQJSsVYrduFwYhwefWCvl2Dk3nRrz0prWEog/wv3BOJ4GOM/mxtyASZXQFIOHjYxzYXBrrRGURMafVtoAMyNeuOYM2qKg8/1RCcIFKF7YLQz8OUH+sfoBjPjj3NrXMbtSk+gDkAwj34L27cAw1gIqgqZw0wMZIl85dYLGubOv9qRUMMmH0aOGlr0grHitAGyZWisRDzEwFqRvt+KLstSSP7vQGKFiNMu5j4Y9aWeCNzqnpHhSxIGGN2e9ewvvfD8Tcg3g9IHUdiYl4hixW0XCfCPCf3+zZFgk3cQ9hXHihpXiTeX9rogctNtT4slCZmxSQ3zna5xqqJs4zlcEzOZ+XAKWdAxJg7pPYpgvNypwQrgvEMl78RB+v1iDxwSLGX7E90rpGYQ1EOzjigO95AXFCYoLGcnH8XkTGtfXirR17ipAnVbtQSvFU6EvY/ommnDoXyX5VxvpooGQ70zjW8uECWeYidwGoz5Q3wcsP8S1AmaGuWICQu7I4EiWqryQwZvJXWgda4JgQkbKfbP6XUENdgDWjmWyL0vOteoX00ma0xqY81WWzG8azKcsmV5pEeWSY8JN3fM07Vd6fvTIIE9BzXYpguAUa533B/EnRpfWBKkNyxorBCeiQXPP3nkR7EhpA0zoeD8CE8wFLkIZC3+kmoMS9T9sg+xe/R0Mu26XOYJBhfcWtjFfD1Q0W19/nsXLvZitpyWQTy2tNaYWuE0JWxdaqdgmkhuMKp+RkaB1fC5BqFPcYOC2wdVHulMuMxzSvKxAbF58jm2Kwjrr7OrJt5pbZ8Cw6GSiFkEpVD9wQnx14lHmIAAGb0FD3Pg/XN5b1RbI+gD3XMa9AzxXyDjW3QoFCzd+TWpZqgS4LqUzYKrIk8uR0TUTDXFcTX5XCNMetSQ4JwJobs+QfwfXD/wtbXl+9m00ycAi6hc5nr0oYj2HJffWvmeRX5tQwlnUPN8oex5H2sQxoWOUGz1GziGnR+7igYwNma+Xk9L5d7US36ToTuGuxFfBoFcAznV2TajByJAWkHhICnk+NuoPEO98BE25ga97IKMxnnkQsc63aV7puzqy/oNeBi8HhA1CH8R9s3rM+XlqcM+SSPafnC6DcUNdlo/SB27xo9z6NxGxfhcuq851HkH8/5x37veOxCFMDRZBe6i7oBi1YBFTHwhXMOYbPaW+j/OD/AP3gQz7JTj0EfKLXPV0juKX4zEwqW92kECyHMuUmtFkVcBGlWEBnALF22Hh3e/weTh7FkEfPMnzoOgv4hsAEOAbcb1xHPJvuPc8gP0RHnu07gptvTE07m0EfTmi3rxETVRlWT6NfZqDOTD3zJRYHNS2hHvJKkCs8pqTw7GT9hCE2x8bxyXKP6xr9QOKNRYO0y/qSMavw6DewrXcxcoBhWRQyj6g/xY07euUvDzUYz4cGfdnBDgDmNcQGjfJ0B+vIvSq1YTtpIrXRtpyTHgrLsYmPDgD4y7G5STTvV6OyQ2FpLNQnUvgghy5wo9FVV+BSGjN0zgxB3GhalI1ywS7wcVyP3fFzFtXpsb9tvT2ak+oMZc+RQSU67+8ksDhb1r/vaeFqlAU2o5aozCaQmc0QcgineccBt7Ei5uoM7pxWb5ls0yuh1ovPSxiiYCFCXW7OqjGoq4bwBxHAPblnNwlFL2uKKn2MP1DAD21pZ6srYfab86xURlBae2RWFqTL1Wqi3S/HMZClQY4OYqxeYbyQXxtXpZey2lp37VK7K8L+WwmBRfC60W2W6K0anb78Gx/HVt7Cea1D4I5yBwNwS8ARk+he9OKz8LSyk6jtEkt5NjA8HxZqgFYZNmqH1WeuSZHgWpisVbkwY2Ih9e1sKjsi3FpXOYkvbIhpIX7fkJEMJfJ4cTavxSOPoA5jrW3I8G5qgJ/eT9CrxMfTWnKmrpVOQBasnx7HOnElHCIagmD3Q+TJXMOyrKaHPQHwdihBwNnLhSnHGotcuLcK8i2N+GhLi5pdzq19kVU+i4rL/axsjBADoF4hph0cdYTB5PF4KdAorCx75Lma9utpQtTSt8QxxIc01gedGDBEiUI4SWnhEqixBkIUYODrMTkXzuj9RYXnpLGfOncf6EGl4VQN+CZJkB6Aq1hUAZcfkDFbpJFTWETMnauLTUorRfdWgFTmVOdAQcXiVim5FnCS3AqTOCbTJbaO22gOWKAKhzqB24DvFMUXlxDqfOdNaU4OYx84/313Ps3OD9CYmWElANcO0RBeYLqdwEtHKlqyRbtT7fisktqQvcuwEulejOztWOA4vYqzeElVdYcqH2OItwY5TXwArhC0iEmfAMZxKTEehEmPgsA8eD7OFD+9Pu4Z8imI8ErYK4JYiQ2HwaFib5wi6uPna5dd5pdU7X74FxceOfAa7Ygz2+5NH6qlCp5kQ0aMQbrInbxe7CHf1XPj7HA9F5PAAwpJxyryJAwBmAZ4GlNuCD6opjveqj7bg1ILV0Bk3qB2fYMX3kp8EGOIhbMIIA0RqcFNGGEcvdIWD8syf2HeAHO+3/DxK7hHngg5EreF9AWeCLPMQrvfGDXXG5EbrG7i9rSqbQm3xUbDoNpbcUBl1NeoQxLHDp4D6fsFBWmPiLfEuYyRu32GkB52Tp/GcWoIY4c5oZcSTF/QFsAhI4RLQONYNJvL2pI89xauvBKTUk5JxxrMcEMOxJM1KACJoW37gb86pFxC8QmfxNxiWCMp+DRwTTIvr3iNlSuI6e49blLTvfndS4nAcwy4TfN0WBYNsU/TgcHhqURKQrOnxD4DOKdvJ6EQJkk4kAVch9XmWV/kVNmbdMJyEkAc2QRWoc4R1XaJHh1YUNy8CsJlsdkzCuSIWYc189wMlWsjmYlNcBps9CWjPP40uCXIwHpc+C2GIShnBK4X2MGD1QrAlj94CRUhoU137Gn+TRykqa0LC8M3krF4Iz3tPBCGu924J0QO/UzfE3OkuuVuxbEku91sNlaunLXTW2pd0GkYip3ywXzmSZUN4WVxOrrmbQt3Bt2NPSW50Bdx2Ez6UpjavsXjWu1pLEGEyi74b6PxaY9Jl8fNYiFl0puyLAHL65eZvMdU7Si/c7lpEypNhtVfTZVX+xduNLG4Ix43ZlNRQRemVX2uCJ3gN9GHAyuzZd2Q0xEtwLe7LcT6SqJZFmmNSw1QIFferHSFvbbYfL7GW9JAwgUTYifZyCQlNOA86wyApkn7ddVuqb4dFzUUk4qwGMQ6n0xdUDGEwrmkkUPFVbPTASCi+S8HJvxhkMTF/F5IW1SzE2vCUiagnQuJ+mVal6p44zaVdfgTItoRky8rBWijJoispgghj11vcVai0naWhXXdCJdApOaUpoW1N4k/RsAFtebAxW8SxLI8W+1ptXE29wBnhJ65yC1BuY2PJMCRLQIGk803U0epHerRjQBadZ106Mz6dqUmuWH5m9NYDQlkXDjXtO41y05p/fHRjr665OTIl+WELkm1+u9t7WH4nOR3Nt8nuhWs2mCMqscUsdy7B1HTVmRN6XbviQt7iRPry1LH9K/Q6onv4xXZuB3+cdcJxngsaRuO6TMtGhuR4X0Ta1Yde1EpDONYVlSzWtqTn2N6PZ/LLqKWJeaz339N5EsK8BhaYJzJ30vK10u9UD3PTC1rKgFC1oEhSezzJyaGuKXXI8Nflb+vHiZHKFFy3KrWx5vXvjM/kH6Kjn9LwzuUG4H1N0Eoin/B14zT4gj8tU+AAAAAElFTkSuQmCC",Os="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAnCSURBVHgB7d3tURtXGwbgR563AN4OtgToADrAFYRUYKjASgV2KrBTAUkF0AHuQOrATgUn53iXQBxE9LHfuq6ZM/J4BKPhz3Pv2fusIgAAAAAAAAAAAAAAgGlYBDALKaVP+eU8pu2PxWJxHUDnBACYiRwATvLLQ15VTNM6r7McAL4F0Lk3AcxCMzgvoh6kU7PO68Lwh/7YAYCZyTsBp1HvBExJufL/EkBv7ADAzDSD9Cam48bwB4CW5J2AZRq/ZQAA7coD9nMar9sABqMDADOW6pMBd3mdxrisQ+MfBqUDADPWDNi3Ma6TAevQ+IfB2QGAI5DqkwFlJ+AkhvX9qKLSHwD0JIeAqzQ8T/kDgL6lYU8GLAMAGEYa5mTAxwAAhpOH8UleD6k/q1SfRgAAhpQHctUM5j6GfxUAwDjkwXya19fUna+GPwCMUOr2ZMBlAADjlLo5GbAMAGDcUrsnAzT+AWAqUjsnAx4CAJiOdPjJgFVS+gOA6WlCwD4nAzT+AWDK8iC/TLvT+AeAqUu7nQxYBgAwD3mwf9xi+Gv8A8Dc5AF/98rw1/gHgDlK9RcHrV4Y/uX/qgAA5in9+2SA4Q8AxyAP/PNnAeA8AIDjkAf/tcY/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwGFSSpdlBQAwOXmGn+T1KXaVf+gq1d4HADAZeXZXea3Kil09CwDFhwAARi/P7NNm+Kc2AkDxUBJFAACjlOf0ux9mdysB4PsvEgIAYHzKLfuX5nbsakMAKL4qBwLAODyW/TbM7FYDwCPlQAAYUKrLfg+vzOpOAkChHAgAA0j/LPvtHADexGGuk3IgAPQqz92f8stdXlXs6dAAUJyWDyEEAED3mlvwn/M6iQO0EQCKKuoQcB4AQOvS05P9ltGCtgJAUUUdApQDAaBFzS572fK/ipa0GQAeLYUAAGhHKftFPfxPo0VdBICihIDbsl0RAMBe2ij7bdJVACjKw4KcEACAPbRV9tukywBQVFH3AlrdtgCAOWuz7LdJ1wGgqKLeCbgOAGCjxyf7RYtlv036CACPPigHAsDLnjX9e9k17zMAFMqBAPCDVH/JXrnyr6InfQeAQjkQABrN7vhtdFT222SIAFBUoRwIwJFrvlRvGQMYKgAUVSgHAnCEmsf6lvv9g83AIQPAI+VAAI5Gcwu83O8/jwGNIQAUyoEAzF7zpXm9lv02GUsAKJQDAZitPN/eRX3MbxQXu2MKAMW3AIB5+n+MyJgCwG95XSwWi3UAwMzk+bbMLxcxkovdsQSAX/If5iovOwAAzFaec/f55SyvdQxs6ABQBv7PTSoCgNlrdrrLTsCXGNCQAWAd9Zb/5wCAI1JCQF5lJ+DXGMhQAWAd9fAfNP0AwJDyHCwPAvolBjBEAPg9rzNlPwD4uxz4NnouB/YdAErZ762yHwA8yXPx+8Vx9FgO7DMA3Cj7AcDL+i4H9hEAytV+ud//MQCAjfosB3YdANZR3++/DwBgK32UA7sMAPeh7AcAe+m6HNhVAPg1f/ALZT8A2F+X5cAuAsBNs3UBABzoWTlwHS1qMwAo+wFAB5oQ0Go5sK0AsA5lPwDoTLmt3mY5sI0AcB/KfgDQi6YceBMHOjQAKPsBQM+a2+3dPDkwpXSVXqfoBwADyrO4ymv1yqxebfrZfXYAlP0AYASelQN/j7Zs2AFYlbQRAMCo5Pm83GUH4LVf9GMAeDD8AWC8yu35tgOA7X4AmIA8s0/TUy/goACwDABgMp6VA/cKAJclBAQAMDl5hp/k9SEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6XUqrKCgDgOOTBf5LXKq+H8u8AAOYvD/1P6cmnAADmLQ/89+nf3gcAME950L9Lm/0UAMC85AF/ml73tbwnAIB5aBr/q/TfynuqAACmLT01/rdV3utkAABMWR7mt2l3twEATFN6ufG/LScDAGBq0uuN/21dBwAwDem/G/+7cDIAAMYubd/431Y5HlgFADBOaffG/7ZWyckAABintF/jf1t3AQCMSzqs8b+tDwEAjENPw/+RkwEAMLQ8kM9T/84DGJVFAEcj1e38cm++in59y+tssVisAxgFAQCOxIDD/9E66hDwLYDBvQngWJTn9VcxnKr5DMAICABwBFLdxh/DE/rOk5MBANC91G/jf1tOBsDAdABgxvKgvYzxbrtfLBaL+wAGIQDATKW69PeQ11gfyetkAAxIBwBmKD01/sf8PP7y2e6SLw6CQdgBgBnKQ7Vc+U/la3m/5F2AswB6ZQcAZiaNp/G/rdPkZAAA7C+Ns/G/rfcB9MYtAJiJNO7G/7au8u2A3wLo3P8CmJOfY9r+DAAAAAAAAAAAAAAAAOCZvwCgkvxAcNS/iwAAAABJRU5ErkJggg==",Gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAD/CAMAAABb2Q/2AAAAsVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+3mHKcAAAAO3RSTlMABQoPExgdISgxJTYsQDtTRUr+9vpOWXJdaWVhgIx2om2n6oiWmYTKr5G68J22eqvBfeHZ5c++1LPdxUM4ZWUAAAZvSURBVGjerdrZdpswFAXQmnk0EMB4Ajwbz2Mc1///Yb0SuLg1km66mtfsdRBXRyIP+fH205IURZZa7794h7KqKZKEkrqFCgVpOSpOKoaJljZWOm1VwUnTRUv7/0sbvc62r2FlgJOy0o6x0kVL30NJiUh0ZkfHZuLXGWj/PTNArzPu68hMr4/MVEGqMlJaWNkDKWGukM4IK70uTipq3NVBthASMoWb1CJS644cIoG2OJDIQUYlm4KDH7mWxDJoKfX+3iSyooxEMqRSyhVlJFJp9YY2SGZoiyGZkMh+YtPRN4eWDqQCckSl1CoxIxKkQTMVSWp+pyeUQY4WbSqftuG9S+kkqWupitwkgdZSe5VSo5SeMgOpiaWqmfuVb1BZUUbkU6pyHdokJSJPs0AoZcjU7WRBMhWgQjnkSqmW2dB3ailx5HAW1FJqzJRLOd3Gjo6R7cVTym+y9aecbr1KCjLdae7hMt0090yupBAq/yLld1lHapa7WMVEElqNnimnr1JiS3+Rxqal8aVCZZp3+FJ+ylnRBalSyperA1IGM7ScFwNbIJXvSSOY3/u2QaTSIKVXudp2uVIupW7Eq3kHLetMmSu3RQ8p8/XoVQJtGieVu55A0lfXHY9m6iqhQpkg5fhNtljySKSGkPNxry2SKpGdec6VciUtIvtIOV5nbQekypLKUx4ep1rKHNk9PPZIWdRSEcmTi5KDYjl0HatZSn/IO1Kag/E9E0m1kkVSSlUg++Mic02UvD8WCKkbZn/3ORVLrZSLb0kdIdf06brGkspT9tZf6T9KiSmL25Aj5Ve5Bml8VyqNUn2u8zP1cfJ2mQmlRuToeJnRp2v/TdpE+jaVKk86IH8iZfJAy/UjRcrdkUhLIC0iH1j5uMwDnFyec7TcBrYjkDrIrJI6RuYYaYK8YqRh2vvP61gkNSpPy69t0EbI9pDK+iDx5GUbU6kJ5OIyKQKc/LnZ4TKnZ5R0zHZ63qxxmatreItdkbQM011NwqPHk1WVcJIWxJ2dJzuQDl5aukjOr5O159oYOYmWT6ny5Sb6xMktSkI9fSp9jMw30VcHpCGW4QeRpki2vyM34bITtHmSFqSSPkaO8TKMvujT4WZiSZ3IYBx+XLoI6WKljZVOJQccqbxJhyeNSv4cBLRMfBnDPD8HMVIuqTQwmRjpx7BHF5GkVYoP8EZ9DyG9UkJBOdJ6le3/JB2okleA7OFlWVBmQ0C6IDfhF5UOS2oaLUjnXkqXJ+kWUTnCyTA6j7qwSSxJBw+yew8/zgmVhqaxpe91d7XUEXIQ+zRTZUnYokEpq41XBPKaVZKb2aeSbDxb0hukAzK8iCSMs5J72CS+hMzeGuSJSJsnYfAgP64nsp0Mqfwhh1Q6fDkqZTcWy1v4McHIAZWLpC5Tk4QqeThJNzP5jgzPC6iISPaTI8gpXxovstx4kYR1iiUUJDtGONnLHiDTPU/qpdx/W9KCsiQUuTuicnXqieWJyqFIxiCXYXRd0YIypUPlcBmGRMJHli+TWvIzB8liCeucLWiV2dKv5Ga2SKjUm6RGpFfJOZRJIPsZXk5LmdF7kSVJ6fbTz0p6bGnWcgu140lakPQzjCbbVCxPIEOBtF5kXhaUKeH2HA1XX7DOfLXvYeWJL6EgtewEzVKt5GJG5LiqcrM0XuWsklqjpKWjMgQ5EshsSjMPAul7IOdfUbQ5zKHKIC2uvEThBGTCl1C6LchNQWTMlynIj7DYTkG6PLmv5YAre/vVU2YCeVrlP4nMsfKep3A8GFIH2flL2oxMUuThbFzJfZ8ldQfkiMpos8tXWDkm0ufJxfwpT0J5OMM61wcoPUiDKRMiP4ic8WU3mW6pvEFBhbI4RyALjLxSOYfSs2VM5P0KTz9CQblykKQ5kdHxLpIZkVEUVrLNkC6VOyIf9y3IgCHNV7mD0nPlfjXekXUudzkcJLb0+iDXE5ycVXItkqdapgypUNk7zQ63/y2Hv+U4zVjSKmVxm8A8P29COS+Ov+WgUcog/VouK+nwJawTl0nlmitdpNRrWc8TLW2OpJOvukROh6pITZ33+q8STodpNUgFZFz2k3SenCPPfZctkOT+pKeDyCO5Q0CW/3vyJu3qZgC5Jrdi7Dram6xGT+9kuEOie135Ur4dOfLlOoOsLjCr/rzXki6U/nVBvkf0c1Qu809Z9w4+8GeYUnrqkWm+LvMXnJRTlwruvBIAAAAASUVORK5CYII=",Fs=""+new URL("focus_bg-b6803e2d-balabala-1786725044461.png",import.meta.url).href,Qs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAOVBMVEUAAAD///////////////////////////////////////////////////////////////////////8KOjVvAAAAEnRSTlMA3yDvvxBAn3CAYFCQzzCgj6+a/gWFAAAIxklEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGB27gRJcRiGAqi8O2sH3f+wM1XM1lOAHZwQKfnvBF3tjyxbBgAAAAAAAAAAAAAAAAAAAAAAAAAAAACAvfBPxkz+lro8xEBwMfyd87dumAkugx9xfhkswRXwUyb1CMH58UvTEgm0CjOVcYlLA4FCMTkOVQFABs4nLo5/ylTEdUxCP6BGyJ7vPBVxNd8TKBA6x3+EugCgDJxGTPyvnkp4HURAtOj5O18RAETgLKLn/7lQDgAicA7W8wN9OQCIwBmEhR/y5QAgAieQHT/mwj4BYJMJpIgTPxVLAXibwdRYhrDwC6kmANgHFBsc/7V+D+AWBpeDRws3LojFAKAI6BUdl4zFAKAIaBUWLnOFADRb8JL0INZwjUiv+MkYw00MtoFDZMdVRqpgY8zdbXL8Doc7gQMsXMnRCvPQ3RyvthB8lp24WqSV5v7L8DoTtoGPmg3XG+kNc+/RCIg1OK7nB3pP6G9cz+Hh6MdkruZzoAZ2TR3oCD6i40pujNTMfhkkQJSlemAbaBOhN0iAHImr+Egbqo1AIthZalj+tgggARIkrjBF2kFvkIDDpUMvZnuDBBwrcVkXaDe2QwKO1HGRt7QrO2EwcJhOxFiuNzgNHqM7/ON/Zz2XYDy8g0HCx7/2Khpzgc1ZJ2gcZ00pjPjOwKf/5WOgDwqjoDhewiRt18382kSwoUXet7Rmg8Pgx2SJ9dYaYUXpvAoNoA90iOD5FYc2YCPB8CtfdJgvfsXgGyPbWOReu3VoA/bXy13/UgLwQ8MbsEbw+hcS4LAJtEui17+QgBtBo174+hN1GArsyBqZ/f+/vrAJNGjYADwJ4XES2Mus4pgdDE4COzHS7n8fswZToV1kfk7UxH3GTGAP1qj5t2b0gTtI/NRIwozoAzdnNTSANY2goG5FlaTqX2qd/POqLlZNA3CXcRTcVtL2ifLa/mDZrIobgH9ZhxLwkQIg9td5M0rAdqzGqzWPErCZpOkE8JvFd8a3YmW/AVj/NkDcxYVwSVsHeBecytwKZNR1gHcZE4F9H4IZEm5SdXkllldaAIgiToIbsGoLAJHHSbBdUlsAiKKaCbZgRm8BeF4CHEGlQXEBIIrYA1olzQWAyOA2sJHTXACIMq4C2gxq3oE9FpyGh8yCJe0ldOQHfFaS3+M5fWPAQhvofI/Vrxb1X6V5rH6DUXcL+L0NdCli9VeatO8AROHX6o9Y/fXsGX5swzO7ERc/b+n17wBEA1b/bQlvqq7NqD8DQAt7hh0A3jfgGvXaRtWDQGjmlc8BoJFDC3BpM1qAaxvwnu7auhPcA8MP9u40yU0ghgIw6s2AWcy7/2EzNUmq8iMzeNwNSNb7jgCNpFYvVNh4ss63xEu3fYusAV3LrAF9K+ZuhaGm7pwE+NZzEuDbwMsVfFt5rNK3jQPAt2R+RzgdcSagIyeEA8A34X4w37gh0DkOAOe4FOAcTwXR+0ic0vjGpoZzbGo4xwHgHLtazrGp4RybGr4FNjV8K9zg6lvhTQe+cYezc9zh7NzGc66+zdzh7FvkjaeuLTzo7NudfSDfeNuRc7ztyLnIWaBrvPHSuZGTAN9unAT4JvivqSMXFrAGdG20//NDqpG4I9S1bP0H6OqUh6ns+RZ/v9SjPKKxCdTGEqCVXB7R3EJ6AM8ENJHLLVrcTDeCXYB6eUzRaBMtgdvBGrx9s48vgAsBVXKfTAfQGyeBh7RRo5EyMAv7wFVyhOkzFSMzQKUVphupwgxQqcByFT2CGaBWhOHtFGI7fqkwGQ4BI5gBqhXYDQECrgPUS2ZDwGh47CrSw+pyioArwQ3kCJu9gBEsAZsYYLIdGIQlYBsZgMHDdQNYAjayWnyUAQwArRQYLKdni6NWqwRzdeDIAHBKCIhKP6cgDAAtJWtJIDEANFVgKwn0YABoK5lKAgEMAOc9UlHXDsrCANDchC89OmUeDADt5WimDOjxJWEAqHusFm5bWmBmqNoy2/iwggBcBjxCgYVCMIuVSGXPBOjvByWwAjxKjvof7g02EpVNdwC69wYM+MCNYIfZlI+AAfpjlGk5qh4BA5gADlageAQMYAI43KR3BAz4xBthDpUFSvPsDTDRqLAuRHwn5e4SOeGDqTVrq3pAX60VBADXAM4x4VuydKdbBCwAzjND2efW4zezhxiNCYLvPXJ3ovyAxqz0zpao6JEHAVgAnuwOaEkDfcQfvA7oRD32pNCdICR80Nucel8D9sjYHa6PfP9XmbBrDt2hQgLf/3VW7BtCd5g8YN/a0WFW4MI80Ee+/6utuGwIlBl8/9dbcc0QKAl8/yqsuGAIlAS+fy0GPEfG3DWRe8FfXABSYMCT5Bba/LPuE+d/agx4WhpDq5/X6GlF0z3iedvLqeCe8LzI/v+JguAn0rjUdx717UnxLMz4GbmN4eUN6de3oGn/89wXt+G+dD8QwfJfrz7iFXHehr6U0HCQRZZ/lwiCKiIyp2dygKK9SPSvPKFafQ6YeP7jOqOgUm0OiOp/YvPewoo6lfOAjZ//j+kKAntn09n8Ua8uCHTfW5n9DVgEL3u9FzQz++vRy0EDIEfO/U14OQ90OxKjvxEvDoGXfgOT2Pr5xc6d4zAIAwEUDdjsm+D+h02X1pZFgcN7V5ivGRr8REUJFLxRFR3/pypI4JMSjb8m7VESQP4NGIz/6dqjuTWA7voJk0+/KsyxIIDkDYij8Vcjfw1k/pYeVru/MssR7gmgu4LLX6ecBj5pu9Vfr37dEgHw79r5aATwcu2yxiCAl9uX6YxBAC/X9cs4DWfcmkYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMC3PTgkAAAAABD0/7UrbAAAAAAAAAAAAAAAAAAAAAAAAHAKGbwwCsmp53wAAAAASUVORK5CYII=",Ps=""+new URL("focus_move_bg-cf41417a-balabala-1786725044461.png",import.meta.url).href;const ds={class:"topic-switcher-menu"},fs=["aria-selected","onPointerup","onClick"],hs={class:"topic-title"},ps={key:0},Hs={__name:"TopicSwitcher",props:{modelValue:{type:String,required:!0},topics:{type:Array,default:()=>ge},compact:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(d,{emit:t}){const e=d,r=t;let s="",A=0;const n=xt(()=>{var i;return(i=e.topics)!=null&&i.length?e.topics:ge});function o(i,a){var l,u;if((u=(l=i.currentTarget)==null?void 0:l.blur)==null||u.call(l),a===e.modelValue)return;const c=Date.now();i.type==="click"&&s===a&&c-A<450||(i.type==="pointerup"&&(s=a,A=c),r("update:modelValue",a))}return(i,a)=>(v(),K("div",{class:z(["topic-switcher",{"is-compact":d.compact}]),role:"tablist","aria-label":"专题切换"},[q("div",ds,[(v(!0),K(It,null,yt(n.value,c=>(v(),K("button",{key:c.key,class:z(["topic-switcher-item",{"is-active":c.key===d.modelValue}]),style:St({"--topic-color":c.color,"--topic-item-width":c.width?`${c.width}px`:void 0}),type:"button",role:"tab","aria-selected":c.key===d.modelValue,onPointerup:l=>o(l,c.key),onClick:l=>o(l,c.key)},[q("span",{class:z(["topic-name",{"has-sub-name":c.subName}])},[q("span",hs,me(c.name),1),c.subName?(v(),K("small",ps,me(c.subName),1)):Bt("",!0)],2)],46,fs))),128))])],2))}};export{bt as E,ws as R,Hs as _,bs as a,Cs as b,ks as c,Is as d,Ms as e,Ns as f,Ls as g,Ds as h,Us as i,Os as j,Gs as k,Fs as l,Qs as m,Ps as n,Ss as o,xs as p,Rs as q,Bs as r,ys as s}; +var Oe=Object.defineProperty,Ge=Object.defineProperties;var Fe=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Qe=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable;var ae=(d,t,e)=>t in d?Oe(d,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[t]=e,ce=(d,t)=>{for(var e in t||(t={}))Qe.call(t,e)&&ae(d,e,t[e]);if(oe)for(var e of oe(t))Pe.call(t,e)&&ae(d,e,t[e]);return d},le=(d,t)=>Ge(d,Fe(t));import{ao as He,ap as te,aq as Ie,z as Ae,w as O,ar as ie,as as H,p as V,C as M,at as y,au as ve,f as Ke,d as je,a as P,S as N,av as S,a6 as ye,a7 as Y,V as U,aw as Ve,ax as Ye,O as Se,ay as Be,az as Xe,aA as Je,v as be,aB as ke,R as se,m as We,aC as J,L as qe,h as Le,D as ze,aD as _e,aE as Ze,b as $e,aF as et,H as tt,E as st,a5 as nt,G as W,_ as rt,am as At,Z as it,aG as ot,aH as at,aI as ct,aJ as Me,aK as ue,a8 as De,N as lt,aL as ut,aM as dt,aN as ft,u as ht,aO as pt,aP as gt,aQ as mt,ad as Tt,aR as de,aS as fe,aT as he,aU as pe,aa as Et,af as Rt,aV as wt,aW as Ct}from"./screen2Standard-03f7f908-1786807848259.js";import{f as ge}from"./index-80cb981f-1786807848259.js";import{g as xt,o as v,c as K,a as q,F as It,y as yt,n as z,K as St,t as me,j as Bt}from"./index-1786807848259.js";class bt{constructor(){this.events=new Map}on(t,e){let r=this.events.get(t);r||(r=new Set,this.events.set(t,r)),r.add(e)}off(t,e){const r=this.events.get(t);r&&(e?r.delete(e):this.events.delete(t))}emit(t,...e){const r=this.events.get(t);r&&r.forEach(s=>{s(...e)})}once(t,e){const r=(...s)=>{e(...s),this.off(t,r)};this.on(t,r)}}function Rs(d,t=!1){const e=d[0].index!==null,r=new Set(Object.keys(d[0].attributes)),s=new Set(Object.keys(d[0].morphAttributes)),A={},n={},o=d[0].morphTargetsRelative,i=new Ae;let a=0;for(let c=0;c=2.0 are supported."));return}const a=new os(A,{path:e||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});a.fileLoader.setRequestHeader(this.requestHeader);for(let c=0;c=0&&o[l]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+l+'".')}}a.setExtensions(n),a.setPlugins(o),a.parse(r,s)}parseAsync(t,e){const r=this;return new Promise(function(s,A){r.parse(t,e,s,A)})}}function Lt(){let d={};return{get:function(t){return d[t]},add:function(t,e){d[t]=e},remove:function(t){delete d[t]},removeAll:function(){d={}}}}const T={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class Mt{constructor(t){this.parser=t,this.name=T.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const t=this.parser,e=this.parser.json.nodes||[];for(let r=0,s=e.length;r=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return e.loadTextureImage(t,A.source,n)}}class Vt{constructor(t){this.parser=t,this.name=T.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(t){const e=this.name,r=this.parser,s=r.json,A=s.textures[t];if(!A.extensions||!A.extensions[e])return null;const n=A.extensions[e],o=s.images[n.source];let i=r.textureLoader;if(o.uri){const a=r.options.manager.getHandler(o.uri);a!==null&&(i=a)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(t,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(e)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(t)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(t){const e=new Image;e.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",e.onload=e.onerror=function(){t(e.height===1)}})),this.isSupported}}class Yt{constructor(t){this.parser=t,this.name=T.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(t){const e=this.name,r=this.parser,s=r.json,A=s.textures[t];if(!A.extensions||!A.extensions[e])return null;const n=A.extensions[e],o=s.images[n.source];let i=r.textureLoader;if(o.uri){const a=r.options.manager.getHandler(o.uri);a!==null&&(i=a)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(t,n.source,i);if(s.extensionsRequired&&s.extensionsRequired.indexOf(e)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return r.loadTexture(t)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(t){const e=new Image;e.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",e.onload=e.onerror=function(){t(e.height===1)}})),this.isSupported}}class Xt{constructor(t){this.name=T.EXT_MESHOPT_COMPRESSION,this.parser=t}loadBufferView(t){const e=this.parser.json,r=e.bufferViews[t];if(r.extensions&&r.extensions[this.name]){const s=r.extensions[this.name],A=this.parser.getDependency("buffer",s.buffer),n=this.parser.options.meshoptDecoder;if(!n||!n.supported){if(e.extensionsRequired&&e.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return A.then(function(o){const i=s.byteOffset||0,a=s.byteLength||0,c=s.count,l=s.byteStride,u=new Uint8Array(o,i,a);return n.decodeGltfBufferAsync?n.decodeGltfBufferAsync(c,l,u,s.mode,s.filter).then(function(f){return f.buffer}):n.ready.then(function(){const f=new ArrayBuffer(c*l);return n.decodeGltfBuffer(new Uint8Array(f),c,l,u,s.mode,s.filter),f})})}else return null}}class Jt{constructor(t){this.name=T.EXT_MESH_GPU_INSTANCING,this.parser=t}createNodeMesh(t){const e=this.parser.json,r=e.nodes[t];if(!r.extensions||!r.extensions[this.name]||r.mesh===void 0)return null;const s=e.meshes[r.mesh];for(const a of s.primitives)if(a.mode!==C.TRIANGLES&&a.mode!==C.TRIANGLE_STRIP&&a.mode!==C.TRIANGLE_FAN&&a.mode!==void 0)return null;const n=r.extensions[this.name].attributes,o=[],i={};for(const a in n)o.push(this.parser.getDependency("accessor",n[a]).then(c=>(i[a]=c,i[a])));return o.length<1?null:(o.push(this.parser.createNodeMesh(t)),Promise.all(o).then(a=>{const c=a.pop(),l=c.isGroup?c.children:[c],u=a[0].count,f=[];for(const h of l){const g=new Y,p=new U,m=new De,E=new U(1,1,1),w=new Ve(h.geometry,h.material,u);for(let R=0;R0||d.search(/^data\:image\/jpeg/)===0?"image/jpeg":d.search(/\.webp($|\?)/i)>0||d.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const is=new Y;class os{constructor(t={},e={}){this.json=t,this.extensions={},this.plugins={},this.options=e,this.cache=new Lt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let r=!1,s=!1,A=-1;typeof navigator!="undefined"&&(r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,s=navigator.userAgent.indexOf("Firefox")>-1,A=s?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap=="undefined"||r||s&&A<98?this.textureLoader=new Be(this.options.manager):this.textureLoader=new Xe(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new V(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(t){this.extensions=t}setPlugins(t){this.plugins=t}parse(t,e){const r=this,s=this.json,A=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(n){return n._markDefs&&n._markDefs()}),Promise.all(this._invokeAll(function(n){return n.beforeRoot&&n.beforeRoot()})).then(function(){return Promise.all([r.getDependencies("scene"),r.getDependencies("animation"),r.getDependencies("camera")])}).then(function(n){const o={scene:n[0][s.scene||0],scenes:n[0],animations:n[1],cameras:n[2],asset:s.asset,parser:r,userData:{}};return D(A,o,s),L(o,s),Promise.all(r._invokeAll(function(i){return i.afterRoot&&i.afterRoot(o)})).then(function(){t(o)})}).catch(e)}_markDefs(){const t=this.json.nodes||[],e=this.json.skins||[],r=this.json.meshes||[];for(let s=0,A=e.length;s{const i=this.associations.get(n);i!=null&&this.associations.set(o,i);for(const[a,c]of n.children.entries())A(c,o.children[a])};return A(r,s),s.name+="_instance_"+t.uses[e]++,s}_invokeOne(t){const e=Object.values(this.plugins);e.push(this);for(let r=0;r=2&&p.setY(b,B[x*i+1]),i>=3&&p.setZ(b,B[x*i+2]),i>=4&&p.setW(b,B[x*i+3]),i>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return p})}loadTexture(t){const e=this.json,r=this.options,A=e.textures[t].source,n=e.images[A];let o=this.textureLoader;if(n.uri){const i=r.manager.getHandler(n.uri);i!==null&&(o=i)}return this.loadTextureImage(t,A,o)}loadTextureImage(t,e,r){const s=this,A=this.json,n=A.textures[t],o=A.images[e],i=(o.uri||o.bufferView)+":"+n.sampler;if(this.textureCache[i])return this.textureCache[i];const a=this.loadImageSource(e,r).then(function(c){c.flipY=!1,c.name=n.name||o.name||"",c.name===""&&typeof o.uri=="string"&&o.uri.startsWith("data:image/")===!1&&(c.name=o.uri);const u=(A.samplers||{})[n.sampler]||{};return c.magFilter=we[u.magFilter]||be,c.minFilter=we[u.minFilter]||ke,c.wrapS=Ce[u.wrapS]||se,c.wrapT=Ce[u.wrapT]||se,s.associations.set(c,{textures:t}),c}).catch(function(){return null});return this.textureCache[i]=a,a}loadImageSource(t,e){const r=this,s=this.json,A=this.options;if(this.sourceCache[t]!==void 0)return this.sourceCache[t].then(l=>l.clone());const n=s.images[t],o=self.URL||self.webkitURL;let i=n.uri||"",a=!1;if(n.bufferView!==void 0)i=r.getDependency("bufferView",n.bufferView).then(function(l){a=!0;const u=new Blob([l],{type:n.mimeType});return i=o.createObjectURL(u),i});else if(n.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+t+" is missing URI and bufferView");const c=Promise.resolve(i).then(function(l){return new Promise(function(u,f){let h=u;e.isImageBitmapLoader===!0&&(h=function(g){const p=new de(g);p.needsUpdate=!0,u(p)}),e.load(H.resolveURL(l,A.path),h,void 0,f)})}).then(function(l){return a===!0&&o.revokeObjectURL(i),l.userData.mimeType=n.mimeType||As(n.uri),l}).catch(function(l){throw console.error("THREE.GLTFLoader: Couldn't load texture",i),l});return this.sourceCache[t]=c,c}assignTexture(t,e,r,s){const A=this;return this.getDependency("texture",r.index).then(function(n){if(!n)return null;if(r.texCoord!==void 0&&r.texCoord>0&&(n=n.clone(),n.channel=r.texCoord),A.extensions[T.KHR_TEXTURE_TRANSFORM]){const o=r.extensions!==void 0?r.extensions[T.KHR_TEXTURE_TRANSFORM]:void 0;if(o){const i=A.associations.get(n);n=A.extensions[T.KHR_TEXTURE_TRANSFORM].extendTexture(n,o),A.associations.set(n,i)}}return s!==void 0&&(n.colorSpace=s),t[e]=n,n})}assignFinalMaterial(t){const e=t.geometry;let r=t.material;const s=e.attributes.tangent===void 0,A=e.attributes.color!==void 0,n=e.attributes.normal===void 0;if(t.isPoints){const o="PointsMaterial:"+r.uuid;let i=this.cache.get(o);i||(i=new We,J.prototype.copy.call(i,r),i.color.copy(r.color),i.map=r.map,i.sizeAttenuation=!1,this.cache.add(o,i)),r=i}else if(t.isLine){const o="LineBasicMaterial:"+r.uuid;let i=this.cache.get(o);i||(i=new qe,J.prototype.copy.call(i,r),i.color.copy(r.color),i.map=r.map,this.cache.add(o,i)),r=i}if(s||A||n){let o="ClonedMaterial:"+r.uuid+":";s&&(o+="derivative-tangents:"),A&&(o+="vertex-colors:"),n&&(o+="flat-shading:");let i=this.cache.get(o);i||(i=r.clone(),A&&(i.vertexColors=!0),n&&(i.flatShading=!0),s&&(i.normalScale&&(i.normalScale.y*=-1),i.clearcoatNormalScale&&(i.clearcoatNormalScale.y*=-1)),this.cache.add(o,i),this.associations.set(i,this.associations.get(r))),r=i}t.material=r}getMaterialType(){return Le}loadMaterial(t){const e=this,r=this.json,s=this.extensions,A=r.materials[t];let n;const o={},i=A.extensions||{},a=[];if(i[T.KHR_MATERIALS_UNLIT]){const l=s[T.KHR_MATERIALS_UNLIT];n=l.getMaterialType(),a.push(l.extendParams(o,A,e))}else{const l=A.pbrMetallicRoughness||{};if(o.color=new M(1,1,1),o.opacity=1,Array.isArray(l.baseColorFactor)){const u=l.baseColorFactor;o.color.setRGB(u[0],u[1],u[2],y),o.opacity=u[3]}l.baseColorTexture!==void 0&&a.push(e.assignTexture(o,"map",l.baseColorTexture,N)),o.metalness=l.metallicFactor!==void 0?l.metallicFactor:1,o.roughness=l.roughnessFactor!==void 0?l.roughnessFactor:1,l.metallicRoughnessTexture!==void 0&&(a.push(e.assignTexture(o,"metalnessMap",l.metallicRoughnessTexture)),a.push(e.assignTexture(o,"roughnessMap",l.metallicRoughnessTexture))),n=this._invokeOne(function(u){return u.getMaterialType&&u.getMaterialType(t)}),a.push(Promise.all(this._invokeAll(function(u){return u.extendMaterialParams&&u.extendMaterialParams(t,o)})))}A.doubleSided===!0&&(o.side=ze);const c=A.alphaMode||Z.OPAQUE;if(c===Z.BLEND?(o.transparent=!0,o.depthWrite=!1):(o.transparent=!1,c===Z.MASK&&(o.alphaTest=A.alphaCutoff!==void 0?A.alphaCutoff:.5)),A.normalTexture!==void 0&&n!==P&&(a.push(e.assignTexture(o,"normalMap",A.normalTexture)),o.normalScale=new ye(1,1),A.normalTexture.scale!==void 0)){const l=A.normalTexture.scale;o.normalScale.set(l,l)}if(A.occlusionTexture!==void 0&&n!==P&&(a.push(e.assignTexture(o,"aoMap",A.occlusionTexture)),A.occlusionTexture.strength!==void 0&&(o.aoMapIntensity=A.occlusionTexture.strength)),A.emissiveFactor!==void 0&&n!==P){const l=A.emissiveFactor;o.emissive=new M().setRGB(l[0],l[1],l[2],y)}return A.emissiveTexture!==void 0&&n!==P&&a.push(e.assignTexture(o,"emissiveMap",A.emissiveTexture,N)),Promise.all(a).then(function(){const l=new n(o);return A.name&&(l.name=A.name),L(l,A),e.associations.set(l,{materials:t}),A.extensions&&D(s,l,A),l})}createUniqueName(t){const e=_e.sanitizeNodeName(t||"");return e in this.nodeNamesUsed?e+"_"+ ++this.nodeNamesUsed[e]:(this.nodeNamesUsed[e]=0,e)}loadGeometries(t){const e=this,r=this.extensions,s=this.primitiveCache;function A(o){return r[T.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(o,e).then(function(i){return xe(i,o,e)})}const n=[];for(let o=0,i=t.length;o0&&ns(m,A),m.name=e.createUniqueName(A.name||"mesh_"+t),L(m,A),p.extensions&&D(s,m,p),e.assignFinalMaterial(m),l.push(m)}for(let f=0,h=l.length;f1?c=new W:a.length===1?c=a[0]:c=new Se,c!==a[0])for(let l=0,u=a.length;l{const l=new Map;for(const[u,f]of s.associations)(u instanceof J||u instanceof de)&&l.set(u,f);return c.traverse(u=>{const f=s.associations.get(u);f!=null&&l.set(u,f)}),l};return s.associations=a(A),A})}_createAnimationTracks(t,e,r,s,A){const n=[],o=t.name?t.name:t.uuid,i=[];k[A.path]===k.weights?t.traverse(function(u){u.morphTargetInfluences&&i.push(u.name?u.name:u.uuid)}):i.push(o);let a;switch(k[A.path]){case k.weights:a=he;break;case k.rotation:a=pe;break;case k.position:case k.scale:a=fe;break;default:switch(r.itemSize){case 1:a=he;break;case 2:case 3:default:a=fe;break}break}const c=s.interpolation!==void 0?es[s.interpolation]:Me,l=this._getArrayFromAccessor(r);for(let u=0,f=i.length;u{this.parse(n,e,s)},r,s)}parse(t,e,r=()=>{}){this.decodeDracoFile(t,e,null,null,N).catch(r)}decodeDracoFile(t,e,r,s,A=y,n=()=>{}){const o={attributeIDs:r||this.defaultAttributeIDs,attributeTypes:s||this.defaultAttributeTypes,useUniqueIDs:!!r,vertexColorSpace:A};return this.decodeGeometry(t,o).then(e).catch(n)}decodeGeometry(t,e){const r=JSON.stringify(e);if(ee.has(t)){const i=ee.get(t);if(i.key===r)return i.promise;if(t.byteLength===0)throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let s;const A=this.workerNextTaskID++,n=t.byteLength,o=this._getWorker(A,n).then(i=>(s=i,new Promise((a,c)=>{s._callbacks[A]={resolve:a,reject:c},s.postMessage({type:"decode",id:A,taskConfig:e,buffer:t},[t])}))).then(i=>this._createGeometry(i.geometry));return o.catch(()=>!0).then(()=>{s&&A&&this._releaseTask(s,A)}),ee.set(t,{key:r,promise:o}),o}_createGeometry(t){const e=new Ae;t.index&&e.setIndex(new O(t.index.array,1));for(let r=0;r{r.load(t,s,void 0,A)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const t=typeof WebAssembly!="object"||this.decoderConfig.type==="js",e=[];return t?e.push(this._loadLibrary("draco_decoder.js","text")):(e.push(this._loadLibrary("draco_wasm_wrapper.js","text")),e.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(e).then(r=>{const s=r[0];t||(this.decoderConfig.wasmBinary=r[1]);const A=ls.toString(),n=["/* draco decoder */",s,"","/* worker */",A.substring(A.indexOf("{")+1,A.lastIndexOf("}"))].join(` +`);this.workerSourceURL=URL.createObjectURL(new Blob([n]))}),this.decoderPending}_getWorker(t,e){return this._initDecoder().then(()=>{if(this.workerPool.lengthA._taskLoad?-1:1});const r=this.workerPool[this.workerPool.length-1];return r._taskCosts[t]=e,r._taskLoad+=e,r})}_releaseTask(t,e){t._taskLoad-=t._taskCosts[e],delete t._callbacks[e],delete t._taskCosts[e]}debug(){console.log("Task load: ",this.workerPool.map(t=>t._taskLoad))}dispose(){for(let t=0;t{const l=c.draco,u=new l.Decoder;try{const f=e(l,u,new Int8Array(i),a),h=f.attributes.map(g=>g.array.buffer);f.index&&h.push(f.index.array.buffer),self.postMessage({type:"decode",id:o.id,geometry:f},h)}catch(f){console.error(f),self.postMessage({type:"error",id:o.id,error:f.message})}finally{l.destroy(u)}});break}};function e(n,o,i,a){const c=a.attributeIDs,l=a.attributeTypes;let u,f;const h=o.GetEncodedGeometryType(i);if(h===n.TRIANGULAR_MESH)u=new n.Mesh,f=o.DecodeArrayToMesh(i,i.byteLength,u);else if(h===n.POINT_CLOUD)u=new n.PointCloud,f=o.DecodeArrayToPointCloud(i,i.byteLength,u);else throw new Error("THREE.DRACOLoader: Unexpected geometry type.");if(!f.ok()||u.ptr===0)throw new Error("THREE.DRACOLoader: Decoding failed: "+f.error_msg());const g={index:null,attributes:[]};for(const p in c){const m=self[l[p]];let E,w;if(a.useUniqueIDs)w=c[p],E=o.GetAttributeByUniqueId(u,w);else{if(w=o.GetAttributeId(u,n[c[p]]),w===-1)continue;E=o.GetAttribute(u,w)}const R=s(n,o,u,p,m,E);p==="color"&&(R.vertexColorSpace=a.vertexColorSpace),g.attributes.push(R)}return h===n.TRIANGULAR_MESH&&(g.index=r(n,o,u)),n.destroy(u),g}function r(n,o,i){const c=i.num_faces()*3,l=c*4,u=n._malloc(l);o.GetTrianglesUInt32Array(i,l,u);const f=new Uint32Array(n.HEAPF32.buffer,u,c).slice();return n._free(u),{array:f,itemSize:1}}function s(n,o,i,a,c,l){const u=l.num_components(),h=i.num_points()*u,g=h*c.BYTES_PER_ELEMENT,p=A(n,c),m=n._malloc(g);o.GetAttributeDataArrayForAllPoints(i,l,p,g,m);const E=new c(n.HEAPF32.buffer,m,h).slice();return n._free(m),{name:a,array:E,itemSize:u}}function A(n,o){switch(o){case Float32Array:return n.DT_FLOAT32;case Int8Array:return n.DT_INT8;case Int16Array:return n.DT_INT16;case Int32Array:return n.DT_INT32;case Uint8Array:return n.DT_UINT8;case Uint16Array:return n.DT_UINT16;case Uint32Array:return n.DT_UINT32}}}let j={GLTFLoader:"GLTF",TextureLoader:"Texture",FontLoader:"Font",MMDLoader:"MMD",MTLLoader:"MTL",OBJLoader:"OBJ",PCDLoader:"PCD",FileLoader:"File",ImageLoader:"Image",ObjectLoader:"Object",MaterialLoader:"Material",CubeTextureLoader:"CubeTexture",RGBELoader:"RGBELoader",FBXLoader:"FBX"};const us=Object.values(j);class ws extends bt{constructor({dracoPath:t,cloneTextures:e=!1}={}){super(),this.dracoPath=t||"./draco/gltf/",this.cloneTextures=e,this.loaded=!1,this.itemsLoaded=0,this.itemsTotal=0,this.assets=[],this.loaders={},this.initDefaultLoader()}initManager(){const t=new Ct;return t.onProgress=(e,r,s)=>{this.itemsLoaded=r,this.itemsTotal=s,this.emit("onProgress",e,r,s)},t.onError=e=>{this.emit("onError",e)},t}initDefaultLoader(){[{loader:kt,name:"GLTFLoader"},{loader:Be,name:"TextureLoader"}].map(t=>this.addLoader(t.loader,t.name))}initDraco(t){const e=new cs;e.setDecoderPath(this.dracoPath),e.preload(),t.setDRACOLoader(e)}addLoader(t,e=""){if(t.name&&j[e]){if(!this.loaders[e]){let s=new t(this.manager),A=e;s instanceof ie&&(A==="GLTFLoader"&&this.initDraco(s),this.loaders[j[A]]=s)}}else throw new Error("请配置正确的加载器")}loadItem(t){return new Promise((e,r)=>{if(!this.loaders[t.type])throw new Error(`资源${t.path}没有配置加载器`);this.loaders[t.type].load(t.path,s=>{this.itemsLoaded++,this.emit("onProgress",t.path,this.itemsLoaded,this.itemsTotal),e(le(ce({},t),{data:s}))},null,s=>{this.emit("onError",s),r(s)})})}loadAll(t){return this.itemsLoaded=0,this.itemsTotal=0,new Promise((e,r)=>{let s=this.matchType(t),A=[];this.itemsTotal=s.length,s.map(n=>{let o=this.loadItem(n);A.push(o)}),Promise.all(A).then(n=>{this.assets=n,this.loaded=!0,this.emit("onLoad"),e(n)}).catch(n=>{this.emit("onError",n),r(n)})})}matchType(t){return this.assets=t.map(e=>({type:us.includes(e.type)?e.type:"",path:e.path,name:e.name,data:null})).filter(e=>{if(!e.type)throw new Error(`资源${e.path},type不正确`);return e.type}),this.assets}getResource(t){var r;let e=this.assets.find(s=>s.name===t);if(!e)throw new Error(`资源${t}不存在`);return this.cloneTextures&&e.type===j.TextureLoader&&((r=e.data)!=null&&r.isTexture)?e.data.clone():e.data}destroy(){this.off("onProgress"),this.off("onLoad"),this.off("onError"),this.assets=[]}}const Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD0SURBVHgB7dEBDcAgEACxZ/5NTgkg40JaC137mgesf57wDSlCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTEHKbcBaYZyb5dAAAAAElFTkSuQmCC",xs=""+new URL("pathLine2-d4134d4b-balabala-1786807848259.png",import.meta.url).href,Is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADzSURBVHgB7dEBDcAwDMCw9vw5f4MRTTYF73/NC3bnBd+QIiRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSIyQGCExQmKExAiJERIjJEZIjJAYITFCYoTECIkREiMkRkiMkBghMUJihMQIiRESIyRGSMwBQCIExogIrTYAAAAASUVORK5CYII=",ys="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMxSURBVHgB7dZBDcJQFADBB/kCuHAgAQckHAA3Tf27aIXsjIjNXv7bfgyQdB0gSwAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgTAAgbN2erwGaHACECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCECQCErfv7M0CTA4AwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYAwAYCw9fj+BmhyABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABAmABB2Amb1BS2MWc5zAAAAAElFTkSuQmCC",Ss=""+new URL("ocean-bg-8c848b8f-balabala-1786807848259.png",import.meta.url).href,Bs=""+new URL("rotationBorder1-2ce8e0ef-balabala-1786807848259.png",import.meta.url).href,bs=""+new URL("rotationBorder2-7496b968-balabala-1786807848259.png",import.meta.url).href,ks=""+new URL("chinaBlurLine-1a2cbc0f-balabala-1786807848259.png",import.meta.url).href,Ls="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0ESURBVHgB7Z3/VRu7E8XFO+9/kgpIKoAOEioAKoBUAFSAqSCkAkwFQAVABUAFhAoIFfjt3bzl+TlGtndG0oz2fs6ZY/L94R2v9u6MpJG0FkKYBELIXP4KhJB3oUAIiUCBEBKBAiEkAgVCSAQKhJAIFAghESgQQiJQIIREoEAIiUCBEBKBAiEkAgVCSAQKhJAIFAghESgQQiJQIIREoEAIiUCBEBKBAiEkAgVCSAQKhJAIfweSlA8fPoRPnz6Fra2t9u+NjY23/wyfsBg/f/58+/z161d4fn5++/vh4aH9JOlYC9wXSw089F+/fg2bm5tvosBnSjqhwO7u7lrx4G+iAwUiAA//7u5uKwh8LooGuehEcn19HW5vb9+iEFkdCmRFECF2dnZaQaSODlpAIBDKxcVF+0lWY0Jb3s7OziaeeXp6mpyfn08aobu67wXNlbPFDQ9WLUAsBwcHkyYSumqDzObKWRP28vIyqQ1EFQrlT+M8SA+Qy9dGE0lCE1HCzc1N288i/+FK0RaspjTrPRqhsJ/y21w5a8ZqTLPmMfTUa3ApFuYqMEQrpcY0ax5d6tUIxc2wtjauFC2xw8PDtze/NH0YQpo1SzfqVbINC5grZ3sZUgTk1NPg39LvHUqaNcv9/f2Q0i5Xzq5s01FjlibVEn33eDyeDJmTkxMz7ZzQXDm7tM2LGrMgZWj6JL2vMcQ0axbc45qjSZW1WBjHv7y8XKp48PT0NIxGo9AHfD86sKsUKaL6FrVRXcn66+vruyXr+N719fW3znFXMm8N/Jbj4+NwdXUVasSNmpcxhP1VQPoleQO+l2bhe/F2Re0WOrbNwy2KVp3hOxC5kB7iu3ENK32hSlMuV85GH5wmakz6gLH+vtfFgwo6QRwdHbViyP37cU1ce1FamRq0gcaLwJC5cnauIQKgPyGh77Bv90a39lBAuIhuJaIL2qKifokrZ/8wvDml4gAaw75WDSle7shSkUhcOfs/gzg035C1T4LhgUVU0XihLAPapkS6qWyunH2z/f199fQB31dZ/jzXIBS8DHIIBfcUbeXp/syYK2dbww1PRTPk6+peSA0d+xxCcSwSV84mFQfAG8/T/dAwRJQcS4mdisSPs9p9jllqnxVeZMtUH0hw2ifx4SgaL5U48L1INbzci9SWsn/iUCT2ndSY53iPoUeN2D1PFU2cDQHbdhCjSqnEwaix2DBokQJpoWhGs+1g3/KRRY3D9dbLm9Zk7CxoWwe/365zqxYeLsPAFvuoGe4Z7p02DgocbTrWFQFqglnkIUwEprQUi8SMR3N7TqXolA9tAjClafdLpEsOEps9p7RHTygOfdMWieFiUVsOafc7KI50pi0So6OKdpxBmNWE4khvmiIxmmrZcUZzlITiyGeaIjGYatlwBOUNWmCkxcrvGoppjm4ZS7XKO6E5aoUoZOE3Dc0wfK6VARhbl1PeCWyaoEFla6HdmeaL7vv371Z+V/mbqkUFyzvdm+Zmekbas6wDWtGDnXI7hj6EBkY67OUurvW2qXlHEq+mNdlroAzF901kv8OmaS1wM/DyK3NhregxwPMq3JhWqlU4ipS5sEb0YGpl3ypo5/wX1Rq5Ympl37TaulQUKXJG4cnJSZDy48ePdtt9Yhu0EY6YkKJxrmRf3L1R2DH3ZZgVl3bYS82uZ48gGofUM3r4AgcEoc0k4OCgptMfSpBVkdJSBPz/c/tMk5tGFClUZ5fvYhpDuxzW9WsaZfG5O+tZU6z9/f0gAWnV7e1tID45Ozt79zzGZSnRWc+mRml6JTkqjWbDpFGkwObieS6kkV5x5Mq/oS8iJWealS3FkqZXSK04cuUfpFjSNDl3mpVFidL0ip3zeky6KWDmkcz0F5FODg7xUJuaTWPId2NjI4uvWVIs6eTg1dVVIPWANOv6+jpI2NvbCznIIpCdnZ0gQXoziT3G43GQsLm5GXKwFn6HkqQ0OWNo0qzQl7W1tUDqAqUjeC7w2QdEoY8fP4bUJI8gW1tbInFwYrBO8IA/PDyEvkBYTT8kpCa5QCTiAEyv6kXattvb2yE1yQUi7aAzgtSLtG2RnaQmuUAknSlpGCa2QdtKarOk2ckyZOmD9IXiqB9JG+cYyUoqEHSk+o5SgMfHx0DqRtLGiCCS52sZkgpEmiOy/1E/0iwhdZqVPIJIkK4dIPaRCiR1Rz2pQKTqZh+kfqQV2q5TLIlAED0YQepH2s6DTbG49mM4SNp6fX09pCSpQCSlAIwew0EiENcRRAIjyHB4fX0NfRlsH0Ry04gvJNmCa4FIYIo1HCy3tVmBEGIBCoSQCBQIKc5oNGpXjfaxz58/h5RQIIREoEAIiWBWIKmH7whZhqQCkQzfpS4hIGQZzAokx5YuhCwiqUCen59DX3Js6ULIIsxGkBwL8glZRFKBSAoOpevZCdHAbAQBjCKkNEkFYn29MSGLMJtiAQqElCZ5iiURSa4t7kk5rKfRf4fEIM3qexMYQern/v6+/cRzcnd31+6FJt2SVJukR1idnZ1NJDQiyXLUFi2/oW3foxHO5PLycnJ0dJT1VNtZyxJBJGB3eO6PVSexnf+RPcCmT7TFc4AIg+1K8Xeu5yKpAqUHeN7c3BR7e9DSGtpWQo7sIssRbC8vL6KjtrAohmvU66N5xkNfMPiTerEUyFLuLjlJCMJiZ70+plOnPuTa+T+LQKS54v7+fiB1IT35OOfR4MnzOGk/BIfO4/D5HL7S8hjaVAKeqRx+ZokgyBelhYvSsw6JHQ4ODsT7NufaeTPbklvpiaaHh4eB1IE0Zc59sFKWUIXJHilMs/ybNN0GmScO890cad45Go1y3hhaAjs/P59IeHp6yupv1l1NLi4uggSkWVxE5RfU5En7krnTq6wCkQ7NQRxHR0eB+ATikFbvSl+yfcgaslCEJoFDvn4N6ZGn9AqWfeM46WgWo4hPkB5Lo8fp6WkoQVZF4u0v7awzivgyjFxJowfINTk4bdkjCIoOpXkko4gvNKLHeDwudixfdlVqzImUeqPQVjONeY/CbV3kouK1AIBrRexbBe1c5sJaUQRLMgvePFrEDg4OJhqUXHIbCl5Y5e2CDjtTLXum1TE3kCWUu7hWFGGqZc80Xn6gcPSAFb242o1kqmXHTk5OJhqgbsvA7ynrQGzrl1Ux8LYZvGm2p5HUubgD4r2zOpDzsj9SzrT6HcBI9ICVd0Jjdr0DtV6cZS9j0jq7DmMvOhNOtH0ILQy9fQZj0nUe02B42NBvM+OIWocdoKNo6bfVbFqdcoAoZOz32XEGYVUr1QIUSXrTFAcw2Ic05YxqqgUoknSmLQ6jS6rNOaSaagGKRN+0xWF4steeU9qpFuBEop5pi8P48LxJp9TKUADrtXQMw+eao1Udu7u7ln+3WcfanFQDHsIjN7xgtOY5pnGwlZNp59pThiQYG1N3aYjmWjPk06BtHfx+2w4irPdtHG40J7fDw8NJCtCmTioezDvYq8aH4pDfc+3RxA5nNXMunGz7EcuObKH40cvvsmiIGtqjiB0OB0zcOLqUSJzktSYtZdToxOFwwMSVs9F1zlqVvBjnH9KwMO6Z9tzGPJwOmLhytrV5ItHKa7sHBd9X++RiJ4xU6VQF4oC5cvbNcMO7htUSx7zBAPwb16opouQUBq7hfKjdlbP/M+SzmiMisVliXAf/vWeh5BRGJ44KJmldOZvMVtkBEB1ZL29FiAKlHCk73/PAC6WSCgZXziazPmUUeEMiqlirJYIoMPsN33JFi2kq2xvAlbNJTGsHQLyl0bEv8ebENXFt+FBCFB0YZq9pT4C1f/8YNM0bT7z7+CzYxf7h4aG1u7u7t3/jUwJ2toevjSDC5uZm+wmzcDQdzu8YjUahJgYvkKbTmrVRIRBs4z/9+fr6Ovd/u76+3j74nShgFs9oxG/Y29vLfn5gDgYtEDxwiB6kPxDFt2/fip3dkZrsB+hYAtGD9ANR4/j4OGxvb1crjg7zHaUUprlF5tDAQMCASnFcOatmKRYA1Q5Gxwa4tt+Vsyqmud59KGAJwUC3dHXlrJohRRiPxxMSB+nUwNf0u3JW3RBNcpdheAD3hMdJBAqkMwrlNxTGH+bK2eQ2xNQLnW/0MSiMuebK2WwGoaBGq+bRLhRoYnMLnqcSNVfOFjG8WRFVahALo8VqxmLFFWkerNBElvDlyxf1AsdUYKb7+vo6XF1dVVkvlRIKRAAEAsHs7Oy0FbVWBIMyEIjh8fGx/ay9FCQlFIginUggmq4UPXX1LR5+lNE/Pz+3n4gQFIQeFEhiIJBOKF3JOsrYu2izKOogGnSl8SiL70rkIYbub5IOCoSQCIMudydkERQIIREoEEIiUCCERKBACIlAgRASgQIhJAIFQkgECoSQCBQIIREoEEIiUCCERKBACIlAgRASgQIhJAIFQkgECoSQCBQIIREoEEIiUCCERKBACIlAgRAS4R+Py6dcyrAs4QAAAABJRU5ErkJggg==",Ms="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA4qSURBVHgB7Z3xVdvMEsX15bz/k1RAOoBUQDrAHUAHpgOgAkgF2BWAKwBXEKggUEGcCvx09d76M/LMalfalXal+zvnHhPFllbWXu3MrCT/UxTFtiCEiHwqCCEqNAghFmgQQizQIIRYoEEIsfCfgkThy5cvlU5OTopv375Vfx8dHe2WY9n++yQ2m00l8Pb2tnt9f3+vlr+8vFSvWGbeR8LyT8Eyb2dgAuj4+Ljq+MYUfQKTQDDNer3e/U26QYN4YkaFs7OznTG0EWBozCgDrVar3YhD3KFBHPjx40dxenpavUI58/z8XI0weIWIHRpEAUbAKHFxcRF8hDC5xX6OoWFyFFuu0haEYTDJcrmkWRRokD1CmcLE/0imTW5gEmmTbLcFuY1J+s3fyH1M6NelzTTLIZM3CDrWfD4vZrNZqw5mOtbr62v1OmRFyZhkv2jQdp9ubm52+zN1tlNUOVpsHx4etn/+/Nn68OvXr+3d3d22NNS27JDJ7yfaiLaizWi7L/f399V3lfp+RlRWje0sHOynpyfnDgID4f2Xl5dZGKJJZUi2LUPI6uTgA74DfC6nfQ2krBrbWji4v3//duoMxhT4zBhMoQn75msWfIcTM0pWjfWWjzHGNFL4yowsrmHYhIySVWOd5RpKYbRAfD7xOPuDysR+u1gsti7AKMhxcto/T2XV2EbhTOhqjOvr60mOFj7fpesIjGQe789p/xyVVWNVoaNfXV01Hkgc7KmGUV3kahQcg5F9t1k1VhTCo6aDN8HkMopcjDKy7zqrxn4QzlRNFRiGUnHkYpSRhF1ZNXYnl1EDyTeNEU/o/PiORz6aZNXYqsPf3t5aDwqS9JEmjEnKpTCCY5bpySqfxuJA2EYNhFNIwHPapzGpKezC/2V44sqjofP53HrdFHIRhlPDCwawzaFkeBJLv5G2kApf+MgnqrJU02iCcnAm+5Ju4zAi2GJb5hppqyk3wWUtGRy/NBvWlG+gdJtq26mPwrHSyCAvSa9RuBZIyzewnNdN5SdbWR7LccwTbXtaDTo/P1fNkcmQTClqigpw7BNsdzqNQaVKA5URVqnyF46hbXIxwQpXGg2xXWjIfGN8suUliVW4hm+EzRyc+BuvMjHJsA2wmYNX345fOMaJm2S4jWs5BytV0xKOtVaYSSCCGGbDqFho5ki45EdFkq20P3B1a5gvg+agpH4hmWTgftHvBm21cIZVFPqAdvIcaA6sv43ZzMGEnDLSEnf0nQHmwvrbmPbMJc5zUHUhOZfAxY89t6WfDWnlXJqD0qTNk+D2hx7bEX8jWjkXlxz0uKNUhtJuvuqx/Bt3A8g7pMrEQPEklZnQR6TQvMekPe7OSUl5pvcmUwNp4JNsvJVrt8qynEv5Siv/9pCPxFmxVqpjUk61lZa0Rz7hhl+pNt8xQImOGpmke9wjh1rhV4pHTko7wbyD6iotH8FjnyJtM+wKtdCKM+VUKOExTz2GWuFWplWtMKLE+KKo6Up6aHmkUCvcyqTZcoZWVAzBCFKoFaEIFGZFMAFDK6pPaddrBT4hh1mRlJizakXFllTVCtzvuq9ES5oYWlGxpUUuARP27iuREnNeiEj1Jek5WwFHkW4rkMq6TMypPqUl7IHy324rkEYPJuZU35IuQ0HfDLDu9h/WRo8+vhCK2pc2BxfgZN3+wxw9qJQU6YSdVGMoqpOkk3bHila7D0r1Z44e1NCSJg87VrT8PyTdvMLRg0pBWkWr7SjyqWjB+fn5wbKbm5uCkKHZbDbFz58/D5bP5/OiLV6O0mYuOe9BpSJpFMG/21zp6z2ClEPVwbLFYlG8vb0VhKQARpHlcvlhWWmOosxPijZ4OUqqEvCB01RqkvJkPD6oxboG2ShFRZdUafVN1r1CLCk5lxIiQlJgtVodLJvNZoUvzm6Swism51Sq0pJ1z/W4vVEKrx4fHwf/EijKpq5hlnOIJYVXpUEKQlKmXs0CvmGWk5Ok8IoPn6ZSV9cwy2kEwdxHmWt8WIYECPVmQlIGffTl5eXDMsyJSPN5Es4GqcPwiuSCVM1yNQhoHGakRIfVKyoXIcyq43GFr//KOTlI5SbpR3hccujGEOvk5ORg2Xq9LgjJCanPSn27TqNBpJLY8/NzQUhOSH3WpdzbaJDj42OnjRGSMlKflfq2hDUGq9eQmX9Quao+l+cyH2IdQRCjoWa8T72mTEgu1PMQ9O2mPMRqkPrkIHh9fS0IyRHp5N7JINJkCkcQkitSHtLJIFISQ4OQXJFuC5eipH28QiyYg9dfkVxB362bpKmSpRoECUzdIDQHyZ16BIQ+Xi9E7aMahAk6GSPv7+8Hyz5//qy+3zqC1OGjfUjuSH34+/fv6vtVg0jZPQ1Ccsc3UfcaQZiDkNyRDBIsBymn6gtCckY6yR8dHanvVw0ifUhKcAjJCWkE+fr1q/p+56eaMLwiY6Hel1tVsTgHQsZKvS+3StKbVkpIrvj0ZecqFg1CxkK9L7eqYtk+RMiYaGUQQggNQogVGoQQCzQIIRZoEEIsqAZhWZdMBVtfdzYIy75kLPjM8TmHWDQIGQs+fVk1SP2qRxqEjIV6X7bdCMgQi0yOICPI379/D5bZbiwhJAekK3dbjSC+N5YQkgOSQWw3AnqVeZueQkdI6vg+a8FrBKFBSO5Ifdj2OF3VINKHaBCSO1IfDjJRqK2ckJyQnsXbuszr+6BfQlJHmgNpPZPu+6BfQlJG+kWppqeFWg0ilb8YZpFckR6n2/RAdq8RBEi/OkVIDkgGafrFZm+DMA8hueKboBusP4Nb/xlo/JRu02coKkXhJ8yD/gw0YKJOxoCUoLv83majQaQkhnkIyQ2pz7r8YlqjQR4fH502RkjKSH1W6tsS1hisHJq2dRDLNX2OolJSPf8A6NsOn21e+dPTU9uVU9TgKvPmg/6LPu3yWad70tfr9cGyi4uLgpAckMIrqU9LOBlEmkw5OzsrCMkBqa82TRDu4zTU1OdD8G+GWVTqknJon7k858f+LJfLD/9GXXk2mxWEpIzUR31GD+DkpDKOa53oUNRQenh4OOi36Mse63DfGMMsKidJ1SvfS6W8Hl4thVmsZpFUkapXvuEVcHYTwywqJ0mTg57hFTTIRikqqk5OTjqHV5D374OsVquDZaxmkdSYz+cHy25uboo2eDkKSTmTdSplSck5wHLfdXmPIHgCRD3RQbJ+eXlZEJICUnK+WCyc7h6U8HaVlKxzFKFSEXKNgHlyu0ZIV/iWo8ggXwhFGZXTDgf9smOltd0HpVGE96tTQ0saPWCaDutMqjEU1VrS6BHgpB2+QcxFqCEU6YQdvlHX19e9fSkUBUUaPaDwDWNFi+pTmN+IGO53b6BU0bq9ve3tC6KmLfS1SKMH1H0lUkULtJm5pCgfabPms9ks1DbCNFQaRXilLxVbUr+7v78PuY0wK9KczMlDKpak/DdC5BKuwahe1WHCTsWQlphHqKCGWxmMIDUa9wXH+qKoaQphVJ1Ic3BhG64l7AGTJmri0kKrSFdxhN8B6UkSCLVY1aK6SgutAifm+wq/Ui3UYlWL6iqpaoW+FvHkG2dHtFDr6uoq1o5QIxf6To+hlVG8Hbq7uxN3iA95oHylnXDRxyJvO97KtVCL+QjlIy3v6OnK8fg7V3/IA8Djgzg/QjUpgZNs/J3EbLpExMoDNRJJFyKCHq/Q6GUjaj7CpJ3SpCXlPd9v1NuGxBJdz2cDKhNp5hjg9zH725gWT4Lz8/O+d5xKVOgLEpHnOzT1ujE1aQcs/1JaOXcgc0C9b7B6sLBkEizD/w3RJmp4af0CDNgvBtmoesEZTTJN2cwx8KOkBtuwWv7FF8VwazrCsdbMkUABZ9CNizdZGZi4j19aQg4SeXzU4A2wmoTzJOPVfD5P3RxQEo2gSSYmbZ4jMXNAyTREzUkALjngtVv5C8dQul3WkOCkcVKNUatbYMBaOBVAOHbSb1wCJOmJPvg8uQZVJT9txh3LWeHKT7ZKVeKl/SQbpd4DYGBeko9s+UYGUUGyDbMOyQAXPzLkSvv4aReomuOXQV6ZdOMq2SpcOAPxR3vSEx7zpIVUoIdbZUMpi0ZW1Q3bF47KCEeT4YURQXrskwHHMLPbG7JpaGNewtFkWGHiz3YSy7QKmVVjqzOUdneigblJv2rKNQCOWabzWFk1dieMFLbRBGBykUaJJ3R47Z7x/VEj87J8Vo39IHT+xWLReIAYdoUVjIHSrS2cAshFRnD1Q1aNFeUymtAo/X7XI5rMzaqxqnCmspWDaZRu3y0qT03GADgGI7tmLqvGNsol7No3CnMUXa6hFBhxYSSrxjoLE1UuZzyAORTe5vuvEB4h+XY1xsivjcuqsd5yiZkNuKxlqqOKCaOayrWGCYWqWTW2tXyMAlCBwWfGfA8K9g37CFO4jBYTM4ZRVo3tLNMhfDBmGcPIsj9SuJoCTCCU0pRVY4MJB9slma+DMAzxOXKcHEYXtBFtRZttV0ZLwEA4OUz5/pt//v/HZClHhaLsAEVZran+9uXl5aXS6+vr7u/NZlMMQWmG3f4cHx9Xr233abVaFXd3d4PtSypM3iD7oEOVoVRxenraqmMZjEnw+v7+Xry9vVX/xivUBbTLGAE6OjqqXssqXKc2o33L5bJ4fHwsnp+fC/I/aBCFUGaRQGfclw2YYV+h20FT2KFBHIBZIJgFrzkDI6zX6+qVpmiGBvEEZ3GEM2XiW8X5+Dv0mT0UJsxDfoRRYsj8KFdokACY+N8kxyY/6BPkNibnMcUCiHSDBomESaTNiINXk1AD82rLLfZzFJPoQzCBSfrNqMCRIQ40CCEWPhWEEBUahBALNAghFmgQQizQIIRY+C9cNXNlJEjHoQAAAABJRU5ErkJggg==",Ds=""+new URL("huiguang-3c5dfda5-balabala-1786807848259.png",import.meta.url).href,Ns="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFPSURBVHgB7ddhbcMwEAXglyEoBEPoGARCIYTBymBhMAgrhDFoIZTBIATC21lxtGhdYieOW7u6T7L6x5HvfPXJBpRSSj0jko2MGqWTJL7tQMkkgSN/tSiRBG5cNQadjB1KI0GfeOsDJXHVmFKjFBLseSaRM0rg2q3PAbn7c8Cn2Dn5HnwJ7p3hWuSI/QHvFiRi5xrkhv+3W59P5ITz7danRi4YdsCn5NGOGdZufRo8kgSwi6zGIPoe9oI4bzIM4tkkjngExh3wqaoYrBRTkRbbslW5bzuWnTswnRorVFiB/dPVII1rVVWvWGjxX4t9qzRIZy9rpD34vH2+zrnIaN03dtj3+zXw27TPYvrvUxcXsMH8ZjRu7pw0z2JOt9sh+MU7GJCUwdZG1ejcwg03LP8oqa9RItvew9i325P7Tf6yY3/1GdbcQymllFJKKaUy9gO4eI9ILG1riwAAAABJRU5ErkJggg==",Us="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA5BSURBVHgB7VxbjxxHFT516Znd9a537axDAhGJkQKCkEDCA5ECT0TwgBTxjgQviN/DD+BP8IgEAolAECQkcYAkCiEX2TGxY+9lrt1dF75T1T1T055ZO9u9thPtkdo909Ndl6/P+c6lak10KqdyKqdyKqdyKqdyKp8rEXQXxXvfqj8hhKe7JHcFmASQ+iwb31c+isM1vt8VgE4EmCVAiCWHpNv3b6kCgyJAPvl+oiB1DkwDlBSEWktU9VkN4mextBkchsgADb8bAaqBqcFKQeocoE6BqUBJgakBYQA0fwYYGhe04LnMQaLqM890NnEgYfi7jWe/Q1RQBKgGaaZF9y0wCSj1MdMMPoZEvQoQhaMnIlAMjhwRZXU7ZzBZzLBkBHoApQ9QxkQ5rjkAVJ6NwJU0B8hWjwYu6gqgToBpgCKTQ0ND+ls4TwAILqzhmjIF9YFIJjLqGWNkRlrjHMbiNRmttfUlFT4jC8QKHw82q5K1aBNAfQIgducalGpPJ+C0BibhlBQQtY8XDlXRUIv+Oj7n0Apwxrotyz70fksL8QVM4DFJ/itSyl3n3QU8l0shPoYNXYN6vEfSf2i8+hgojTeybAoNKgFwbqMGWbRZVPyDpucmdj8BU2uKqo4+E6uK5rPGgODcd8acxaC/pIT4IQD4Dp7+GkWTWjawgSX/qrP+RU/6j47MUGo9xs1jzH5SaQ+Dk+9G06oJuhOTagVMw4QCueLIBlFbAig4ztiSNpww2xjp93pK/gQ3f4Mqsr0D2Xfk/2Qd/UYo9TZMbKwyGlSmlQP0KWvOhag1M3DuF2CCpsDuM5BlvwbFFrTppNmEhpzD8QK05Od4qr/YhB9D98GvlFfX+FnQCG0s9EXifev9rwrn3si03gcCQXtwnmxGrjG0CE4rk9LUTlKy1ZhxjzlFxMmdAWwbNoLyPED5Ge7pJ+8iN879s/T+iifogfdlbFFkuKOfKXUBbT2FK+tVR4+Bl35BUv46n5pLPaUJrO3AOQ4eL9jSuUUibiXHBqYZyO1BY+BBJIPCnKJKOlMKs9MT8hlo0C8pgBK9hvH+KgD5O0Y/AmAMpAAgvbptXB8XxrxrhPior9QzAPnL1U9PAJyfukxcF4pK9GPZvVdo8KkmYVV9PrZ0pTF4f5SpGJ+wtvQttEU5t6u0ZvOpzcJbTx/kzv0DQJSsVYrduFwYhwefWCvl2Dk3nRrz0prWEog/wv3BOJ4GOM/mxtyASZXQFIOHjYxzYXBrrRGURMafVtoAMyNeuOYM2qKg8/1RCcIFKF7YLQz8OUH+sfoBjPjj3NrXMbtSk+gDkAwj34L27cAw1gIqgqZw0wMZIl85dYLGubOv9qRUMMmH0aOGlr0grHitAGyZWisRDzEwFqRvt+KLstSSP7vQGKFiNMu5j4Y9aWeCNzqnpHhSxIGGN2e9ewvvfD8Tcg3g9IHUdiYl4hixW0XCfCPCf3+zZFgk3cQ9hXHihpXiTeX9rogctNtT4slCZmxSQ3zna5xqqJs4zlcEzOZ+XAKWdAxJg7pPYpgvNypwQrgvEMl78RB+v1iDxwSLGX7E90rpGYQ1EOzjigO95AXFCYoLGcnH8XkTGtfXirR17ipAnVbtQSvFU6EvY/ommnDoXyX5VxvpooGQ70zjW8uECWeYidwGoz5Q3wcsP8S1AmaGuWICQu7I4EiWqryQwZvJXWgda4JgQkbKfbP6XUENdgDWjmWyL0vOteoX00ma0xqY81WWzG8azKcsmV5pEeWSY8JN3fM07Vd6fvTIIE9BzXYpguAUa533B/EnRpfWBKkNyxorBCeiQXPP3nkR7EhpA0zoeD8CE8wFLkIZC3+kmoMS9T9sg+xe/R0Mu26XOYJBhfcWtjFfD1Q0W19/nsXLvZitpyWQTy2tNaYWuE0JWxdaqdgmkhuMKp+RkaB1fC5BqFPcYOC2wdVHulMuMxzSvKxAbF58jm2Kwjrr7OrJt5pbZ8Cw6GSiFkEpVD9wQnx14lHmIAAGb0FD3Pg/XN5b1RbI+gD3XMa9AzxXyDjW3QoFCzd+TWpZqgS4LqUzYKrIk8uR0TUTDXFcTX5XCNMetSQ4JwJobs+QfwfXD/wtbXl+9m00ycAi6hc5nr0oYj2HJffWvmeRX5tQwlnUPN8oex5H2sQxoWOUGz1GziGnR+7igYwNma+Xk9L5d7US36ToTuGuxFfBoFcAznV2TajByJAWkHhICnk+NuoPEO98BE25ga97IKMxnnkQsc63aV7puzqy/oNeBi8HhA1CH8R9s3rM+XlqcM+SSPafnC6DcUNdlo/SB27xo9z6NxGxfhcuq851HkH8/5x37veOxCFMDRZBe6i7oBi1YBFTHwhXMOYbPaW+j/OD/AP3gQz7JTj0EfKLXPV0juKX4zEwqW92kECyHMuUmtFkVcBGlWEBnALF22Hh3e/weTh7FkEfPMnzoOgv4hsAEOAbcb1xHPJvuPc8gP0RHnu07gptvTE07m0EfTmi3rxETVRlWT6NfZqDOTD3zJRYHNS2hHvJKkCs8pqTw7GT9hCE2x8bxyXKP6xr9QOKNRYO0y/qSMavw6DewrXcxcoBhWRQyj6g/xY07euUvDzUYz4cGfdnBDgDmNcQGjfJ0B+vIvSq1YTtpIrXRtpyTHgrLsYmPDgD4y7G5STTvV6OyQ2FpLNQnUvgghy5wo9FVV+BSGjN0zgxB3GhalI1ywS7wcVyP3fFzFtXpsb9tvT2ak+oMZc+RQSU67+8ksDhb1r/vaeFqlAU2o5aozCaQmc0QcgineccBt7Ei5uoM7pxWb5ls0yuh1ovPSxiiYCFCXW7OqjGoq4bwBxHAPblnNwlFL2uKKn2MP1DAD21pZ6srYfab86xURlBae2RWFqTL1Wqi3S/HMZClQY4OYqxeYbyQXxtXpZey2lp37VK7K8L+WwmBRfC60W2W6K0anb78Gx/HVt7Cea1D4I5yBwNwS8ARk+he9OKz8LSyk6jtEkt5NjA8HxZqgFYZNmqH1WeuSZHgWpisVbkwY2Ih9e1sKjsi3FpXOYkvbIhpIX7fkJEMJfJ4cTavxSOPoA5jrW3I8G5qgJ/eT9CrxMfTWnKmrpVOQBasnx7HOnElHCIagmD3Q+TJXMOyrKaHPQHwdihBwNnLhSnHGotcuLcK8i2N+GhLi5pdzq19kVU+i4rL/axsjBADoF4hph0cdYTB5PF4KdAorCx75Lma9utpQtTSt8QxxIc01gedGDBEiUI4SWnhEqixBkIUYODrMTkXzuj9RYXnpLGfOncf6EGl4VQN+CZJkB6Aq1hUAZcfkDFbpJFTWETMnauLTUorRfdWgFTmVOdAQcXiVim5FnCS3AqTOCbTJbaO22gOWKAKhzqB24DvFMUXlxDqfOdNaU4OYx84/313Ps3OD9CYmWElANcO0RBeYLqdwEtHKlqyRbtT7fisktqQvcuwEulejOztWOA4vYqzeElVdYcqH2OItwY5TXwArhC0iEmfAMZxKTEehEmPgsA8eD7OFD+9Pu4Z8imI8ErYK4JYiQ2HwaFib5wi6uPna5dd5pdU7X74FxceOfAa7Ygz2+5NH6qlCp5kQ0aMQbrInbxe7CHf1XPj7HA9F5PAAwpJxyryJAwBmAZ4GlNuCD6opjveqj7bg1ILV0Bk3qB2fYMX3kp8EGOIhbMIIA0RqcFNGGEcvdIWD8syf2HeAHO+3/DxK7hHngg5EreF9AWeCLPMQrvfGDXXG5EbrG7i9rSqbQm3xUbDoNpbcUBl1NeoQxLHDp4D6fsFBWmPiLfEuYyRu32GkB52Tp/GcWoIY4c5oZcSTF/QFsAhI4RLQONYNJvL2pI89xauvBKTUk5JxxrMcEMOxJM1KACJoW37gb86pFxC8QmfxNxiWCMp+DRwTTIvr3iNlSuI6e49blLTvfndS4nAcwy4TfN0WBYNsU/TgcHhqURKQrOnxD4DOKdvJ6EQJkk4kAVch9XmWV/kVNmbdMJyEkAc2QRWoc4R1XaJHh1YUNy8CsJlsdkzCuSIWYc189wMlWsjmYlNcBps9CWjPP40uCXIwHpc+C2GIShnBK4X2MGD1QrAlj94CRUhoU137Gn+TRykqa0LC8M3krF4Iz3tPBCGu924J0QO/UzfE3OkuuVuxbEku91sNlaunLXTW2pd0GkYip3ywXzmSZUN4WVxOrrmbQt3Bt2NPSW50Bdx2Ez6UpjavsXjWu1pLEGEyi74b6PxaY9Jl8fNYiFl0puyLAHL65eZvMdU7Si/c7lpEypNhtVfTZVX+xduNLG4Ix43ZlNRQRemVX2uCJ3gN9GHAyuzZd2Q0xEtwLe7LcT6SqJZFmmNSw1QIFferHSFvbbYfL7GW9JAwgUTYifZyCQlNOA86wyApkn7ddVuqb4dFzUUk4qwGMQ6n0xdUDGEwrmkkUPFVbPTASCi+S8HJvxhkMTF/F5IW1SzE2vCUiagnQuJ+mVal6p44zaVdfgTItoRky8rBWijJoispgghj11vcVai0naWhXXdCJdApOaUpoW1N4k/RsAFtebAxW8SxLI8W+1ptXE29wBnhJ65yC1BuY2PJMCRLQIGk803U0epHerRjQBadZ106Mz6dqUmuWH5m9NYDQlkXDjXtO41y05p/fHRjr665OTIl+WELkm1+u9t7WH4nOR3Nt8nuhWs2mCMqscUsdy7B1HTVmRN6XbviQt7iRPry1LH9K/Q6onv4xXZuB3+cdcJxngsaRuO6TMtGhuR4X0Ta1Yde1EpDONYVlSzWtqTn2N6PZ/LLqKWJeaz339N5EsK8BhaYJzJ30vK10u9UD3PTC1rKgFC1oEhSezzJyaGuKXXI8Nflb+vHiZHKFFy3KrWx5vXvjM/kH6Kjn9LwzuUG4H1N0Eoin/B14zT4gj8tU+AAAAAElFTkSuQmCC",Os="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAnCSURBVHgB7d3tURtXGwbgR563AN4OtgToADrAFYRUYKjASgV2KrBTAUkF0AHuQOrATgUn53iXQBxE9LHfuq6ZM/J4BKPhz3Pv2fusIgAAAAAAAAAAAAAAgGlYBDALKaVP+eU8pu2PxWJxHUDnBACYiRwATvLLQ15VTNM6r7McAL4F0Lk3AcxCMzgvoh6kU7PO68Lwh/7YAYCZyTsBp1HvBExJufL/EkBv7ADAzDSD9Cam48bwB4CW5J2AZRq/ZQAA7coD9nMar9sABqMDADOW6pMBd3mdxrisQ+MfBqUDADPWDNi3Ma6TAevQ+IfB2QGAI5DqkwFlJ+AkhvX9qKLSHwD0JIeAqzQ8T/kDgL6lYU8GLAMAGEYa5mTAxwAAhpOH8UleD6k/q1SfRgAAhpQHctUM5j6GfxUAwDjkwXya19fUna+GPwCMUOr2ZMBlAADjlLo5GbAMAGDcUrsnAzT+AWAqUjsnAx4CAJiOdPjJgFVS+gOA6WlCwD4nAzT+AWDK8iC/TLvT+AeAqUu7nQxYBgAwD3mwf9xi+Gv8A8Dc5AF/98rw1/gHgDlK9RcHrV4Y/uX/qgAA5in9+2SA4Q8AxyAP/PNnAeA8AIDjkAf/tcY/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwGFSSpdlBQAwOXmGn+T1KXaVf+gq1d4HADAZeXZXea3Kil09CwDFhwAARi/P7NNm+Kc2AkDxUBJFAACjlOf0ux9mdysB4PsvEgIAYHzKLfuX5nbsakMAKL4qBwLAODyW/TbM7FYDwCPlQAAYUKrLfg+vzOpOAkChHAgAA0j/LPvtHADexGGuk3IgAPQqz92f8stdXlXs6dAAUJyWDyEEAED3mlvwn/M6iQO0EQCKKuoQcB4AQOvS05P9ltGCtgJAUUUdApQDAaBFzS572fK/ipa0GQAeLYUAAGhHKftFPfxPo0VdBICihIDbsl0RAMBe2ij7bdJVACjKw4KcEACAPbRV9tukywBQVFH3AlrdtgCAOWuz7LdJ1wGgqKLeCbgOAGCjxyf7RYtlv036CACPPigHAsDLnjX9e9k17zMAFMqBAPCDVH/JXrnyr6InfQeAQjkQABrN7vhtdFT222SIAFBUoRwIwJFrvlRvGQMYKgAUVSgHAnCEmsf6lvv9g83AIQPAI+VAAI5Gcwu83O8/jwGNIQAUyoEAzF7zpXm9lv02GUsAKJQDAZitPN/eRX3MbxQXu2MKAMW3AIB5+n+MyJgCwG95XSwWi3UAwMzk+bbMLxcxkovdsQSAX/If5iovOwAAzFaec/f55SyvdQxs6ABQBv7PTSoCgNlrdrrLTsCXGNCQAWAd9Zb/5wCAI1JCQF5lJ+DXGMhQAWAd9fAfNP0AwJDyHCwPAvolBjBEAPg9rzNlPwD4uxz4NnouB/YdAErZ762yHwA8yXPx+8Vx9FgO7DMA3Cj7AcDL+i4H9hEAytV+ud//MQCAjfosB3YdANZR3++/DwBgK32UA7sMAPeh7AcAe+m6HNhVAPg1f/ALZT8A2F+X5cAuAsBNs3UBABzoWTlwHS1qMwAo+wFAB5oQ0Go5sK0AsA5lPwDoTLmt3mY5sI0AcB/KfgDQi6YceBMHOjQAKPsBQM+a2+3dPDkwpXSVXqfoBwADyrO4ymv1yqxebfrZfXYAlP0AYASelQN/j7Zs2AFYlbQRAMCo5Pm83GUH4LVf9GMAeDD8AWC8yu35tgOA7X4AmIA8s0/TUy/goACwDABgMp6VA/cKAJclBAQAMDl5hp/k9SEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6XUqrKCgDgOOTBf5LXKq+H8u8AAOYvD/1P6cmnAADmLQ/89+nf3gcAME950L9Lm/0UAMC85AF/ml73tbwnAIB5aBr/q/TfynuqAACmLT01/rdV3utkAABMWR7mt2l3twEATFN6ufG/LScDAGBq0uuN/21dBwAwDem/G/+7cDIAAMYubd/431Y5HlgFADBOaffG/7ZWyckAABintF/jf1t3AQCMSzqs8b+tDwEAjENPw/+RkwEAMLQ8kM9T/84DGJVFAEcj1e38cm++in59y+tssVisAxgFAQCOxIDD/9E66hDwLYDBvQngWJTn9VcxnKr5DMAICABwBFLdxh/DE/rOk5MBANC91G/jf1tOBsDAdABgxvKgvYzxbrtfLBaL+wAGIQDATKW69PeQ11gfyetkAAxIBwBmKD01/sf8PP7y2e6SLw6CQdgBgBnKQ7Vc+U/la3m/5F2AswB6ZQcAZiaNp/G/rdPkZAAA7C+Ns/G/rfcB9MYtAJiJNO7G/7au8u2A3wLo3P8CmJOfY9r+DAAAAAAAAAAAAAAAAOCZvwCgkvxAcNS/iwAAAABJRU5ErkJggg==",Gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAD/CAMAAABb2Q/2AAAAsVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+3mHKcAAAAO3RSTlMABQoPExgdISgxJTYsQDtTRUr+9vpOWXJdaWVhgIx2om2n6oiWmYTKr5G68J22eqvBfeHZ5c++1LPdxUM4ZWUAAAZvSURBVGjerdrZdpswFAXQmnk0EMB4Ajwbz2Mc1///Yb0SuLg1km66mtfsdRBXRyIP+fH205IURZZa7794h7KqKZKEkrqFCgVpOSpOKoaJljZWOm1VwUnTRUv7/0sbvc62r2FlgJOy0o6x0kVL30NJiUh0ZkfHZuLXGWj/PTNArzPu68hMr4/MVEGqMlJaWNkDKWGukM4IK70uTipq3NVBthASMoWb1CJS644cIoG2OJDIQUYlm4KDH7mWxDJoKfX+3iSyooxEMqRSyhVlJFJp9YY2SGZoiyGZkMh+YtPRN4eWDqQCckSl1CoxIxKkQTMVSWp+pyeUQY4WbSqftuG9S+kkqWupitwkgdZSe5VSo5SeMgOpiaWqmfuVb1BZUUbkU6pyHdokJSJPs0AoZcjU7WRBMhWgQjnkSqmW2dB3ailx5HAW1FJqzJRLOd3Gjo6R7cVTym+y9aecbr1KCjLdae7hMt0090yupBAq/yLld1lHapa7WMVEElqNnimnr1JiS3+Rxqal8aVCZZp3+FJ+ylnRBalSyperA1IGM7ScFwNbIJXvSSOY3/u2QaTSIKVXudp2uVIupW7Eq3kHLetMmSu3RQ8p8/XoVQJtGieVu55A0lfXHY9m6iqhQpkg5fhNtljySKSGkPNxry2SKpGdec6VciUtIvtIOV5nbQekypLKUx4ep1rKHNk9PPZIWdRSEcmTi5KDYjl0HatZSn/IO1Kag/E9E0m1kkVSSlUg++Mic02UvD8WCKkbZn/3ORVLrZSLb0kdIdf06brGkspT9tZf6T9KiSmL25Aj5Ve5Bml8VyqNUn2u8zP1cfJ2mQmlRuToeJnRp2v/TdpE+jaVKk86IH8iZfJAy/UjRcrdkUhLIC0iH1j5uMwDnFyec7TcBrYjkDrIrJI6RuYYaYK8YqRh2vvP61gkNSpPy69t0EbI9pDK+iDx5GUbU6kJ5OIyKQKc/LnZ4TKnZ5R0zHZ63qxxmatreItdkbQM011NwqPHk1WVcJIWxJ2dJzuQDl5aukjOr5O159oYOYmWT6ny5Sb6xMktSkI9fSp9jMw30VcHpCGW4QeRpki2vyM34bITtHmSFqSSPkaO8TKMvujT4WZiSZ3IYBx+XLoI6WKljZVOJQccqbxJhyeNSv4cBLRMfBnDPD8HMVIuqTQwmRjpx7BHF5GkVYoP8EZ9DyG9UkJBOdJ6le3/JB2okleA7OFlWVBmQ0C6IDfhF5UOS2oaLUjnXkqXJ+kWUTnCyTA6j7qwSSxJBw+yew8/zgmVhqaxpe91d7XUEXIQ+zRTZUnYokEpq41XBPKaVZKb2aeSbDxb0hukAzK8iCSMs5J72CS+hMzeGuSJSJsnYfAgP64nsp0Mqfwhh1Q6fDkqZTcWy1v4McHIAZWLpC5Tk4QqeThJNzP5jgzPC6iISPaTI8gpXxovstx4kYR1iiUUJDtGONnLHiDTPU/qpdx/W9KCsiQUuTuicnXqieWJyqFIxiCXYXRd0YIypUPlcBmGRMJHli+TWvIzB8liCeucLWiV2dKv5Ga2SKjUm6RGpFfJOZRJIPsZXk5LmdF7kSVJ6fbTz0p6bGnWcgu140lakPQzjCbbVCxPIEOBtF5kXhaUKeH2HA1XX7DOfLXvYeWJL6EgtewEzVKt5GJG5LiqcrM0XuWsklqjpKWjMgQ5EshsSjMPAul7IOdfUbQ5zKHKIC2uvEThBGTCl1C6LchNQWTMlynIj7DYTkG6PLmv5YAre/vVU2YCeVrlP4nMsfKep3A8GFIH2flL2oxMUuThbFzJfZ8ldQfkiMpos8tXWDkm0ufJxfwpT0J5OMM61wcoPUiDKRMiP4ic8WU3mW6pvEFBhbI4RyALjLxSOYfSs2VM5P0KTz9CQblykKQ5kdHxLpIZkVEUVrLNkC6VOyIf9y3IgCHNV7mD0nPlfjXekXUudzkcJLb0+iDXE5ycVXItkqdapgypUNk7zQ63/y2Hv+U4zVjSKmVxm8A8P29COS+Ov+WgUcog/VouK+nwJawTl0nlmitdpNRrWc8TLW2OpJOvukROh6pITZ33+q8STodpNUgFZFz2k3SenCPPfZctkOT+pKeDyCO5Q0CW/3vyJu3qZgC5Jrdi7Dram6xGT+9kuEOie135Ur4dOfLlOoOsLjCr/rzXki6U/nVBvkf0c1Qu809Z9w4+8GeYUnrqkWm+LvMXnJRTlwruvBIAAAAASUVORK5CYII=",Fs=""+new URL("focus_bg-b6803e2d-balabala-1786807848259.png",import.meta.url).href,Qs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAOVBMVEUAAAD///////////////////////////////////////////////////////////////////////8KOjVvAAAAEnRSTlMA3yDvvxBAn3CAYFCQzzCgj6+a/gWFAAAIxklEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGB27gRJcRiGAqi8O2sH3f+wM1XM1lOAHZwQKfnvBF3tjyxbBgAAAAAAAAAAAAAAAAAAAAAAAAAAAACAvfBPxkz+lro8xEBwMfyd87dumAkugx9xfhkswRXwUyb1CMH58UvTEgm0CjOVcYlLA4FCMTkOVQFABs4nLo5/ylTEdUxCP6BGyJ7vPBVxNd8TKBA6x3+EugCgDJxGTPyvnkp4HURAtOj5O18RAETgLKLn/7lQDgAicA7W8wN9OQCIwBmEhR/y5QAgAieQHT/mwj4BYJMJpIgTPxVLAXibwdRYhrDwC6kmANgHFBsc/7V+D+AWBpeDRws3LojFAKAI6BUdl4zFAKAIaBUWLnOFADRb8JL0INZwjUiv+MkYw00MtoFDZMdVRqpgY8zdbXL8Doc7gQMsXMnRCvPQ3RyvthB8lp24WqSV5v7L8DoTtoGPmg3XG+kNc+/RCIg1OK7nB3pP6G9cz+Hh6MdkruZzoAZ2TR3oCD6i40pujNTMfhkkQJSlemAbaBOhN0iAHImr+Egbqo1AIthZalj+tgggARIkrjBF2kFvkIDDpUMvZnuDBBwrcVkXaDe2QwKO1HGRt7QrO2EwcJhOxFiuNzgNHqM7/ON/Zz2XYDy8g0HCx7/2Khpzgc1ZJ2gcZ00pjPjOwKf/5WOgDwqjoDhewiRt18382kSwoUXet7Rmg8Pgx2SJ9dYaYUXpvAoNoA90iOD5FYc2YCPB8CtfdJgvfsXgGyPbWOReu3VoA/bXy13/UgLwQ8MbsEbw+hcS4LAJtEui17+QgBtBo174+hN1GArsyBqZ/f+/vrAJNGjYADwJ4XES2Mus4pgdDE4COzHS7n8fswZToV1kfk7UxH3GTGAP1qj5t2b0gTtI/NRIwozoAzdnNTSANY2goG5FlaTqX2qd/POqLlZNA3CXcRTcVtL2ifLa/mDZrIobgH9ZhxLwkQIg9td5M0rAdqzGqzWPErCZpOkE8JvFd8a3YmW/AVj/NkDcxYVwSVsHeBecytwKZNR1gHcZE4F9H4IZEm5SdXkllldaAIgiToIbsGoLAJHHSbBdUlsAiKKaCbZgRm8BeF4CHEGlQXEBIIrYA1olzQWAyOA2sJHTXACIMq4C2gxq3oE9FpyGh8yCJe0ldOQHfFaS3+M5fWPAQhvofI/Vrxb1X6V5rH6DUXcL+L0NdCli9VeatO8AROHX6o9Y/fXsGX5swzO7ERc/b+n17wBEA1b/bQlvqq7NqD8DQAt7hh0A3jfgGvXaRtWDQGjmlc8BoJFDC3BpM1qAaxvwnu7auhPcA8MP9u40yU0ghgIw6s2AWcy7/2EzNUmq8iMzeNwNSNb7jgCNpFYvVNh4ss63xEu3fYusAV3LrAF9K+ZuhaGm7pwE+NZzEuDbwMsVfFt5rNK3jQPAt2R+RzgdcSagIyeEA8A34X4w37gh0DkOAOe4FOAcTwXR+0ic0vjGpoZzbGo4xwHgHLtazrGp4RybGr4FNjV8K9zg6lvhTQe+cYezc9zh7NzGc66+zdzh7FvkjaeuLTzo7NudfSDfeNuRc7ztyLnIWaBrvPHSuZGTAN9unAT4JvivqSMXFrAGdG20//NDqpG4I9S1bP0H6OqUh6ns+RZ/v9SjPKKxCdTGEqCVXB7R3EJ6AM8ENJHLLVrcTDeCXYB6eUzRaBMtgdvBGrx9s48vgAsBVXKfTAfQGyeBh7RRo5EyMAv7wFVyhOkzFSMzQKUVphupwgxQqcByFT2CGaBWhOHtFGI7fqkwGQ4BI5gBqhXYDQECrgPUS2ZDwGh47CrSw+pyioArwQ3kCJu9gBEsAZsYYLIdGIQlYBsZgMHDdQNYAjayWnyUAQwArRQYLKdni6NWqwRzdeDIAHBKCIhKP6cgDAAtJWtJIDEANFVgKwn0YABoK5lKAgEMAOc9UlHXDsrCANDchC89OmUeDADt5WimDOjxJWEAqHusFm5bWmBmqNoy2/iwggBcBjxCgYVCMIuVSGXPBOjvByWwAjxKjvof7g02EpVNdwC69wYM+MCNYIfZlI+AAfpjlGk5qh4BA5gADlageAQMYAI43KR3BAz4xBthDpUFSvPsDTDRqLAuRHwn5e4SOeGDqTVrq3pAX60VBADXAM4x4VuydKdbBCwAzjND2efW4zezhxiNCYLvPXJ3ovyAxqz0zpao6JEHAVgAnuwOaEkDfcQfvA7oRD32pNCdICR80Nucel8D9sjYHa6PfP9XmbBrDt2hQgLf/3VW7BtCd5g8YN/a0WFW4MI80Ee+/6utuGwIlBl8/9dbcc0QKAl8/yqsuGAIlAS+fy0GPEfG3DWRe8FfXABSYMCT5Bba/LPuE+d/agx4WhpDq5/X6GlF0z3iedvLqeCe8LzI/v+JguAn0rjUdx717UnxLMz4GbmN4eUN6de3oGn/89wXt+G+dD8QwfJfrz7iFXHehr6U0HCQRZZ/lwiCKiIyp2dygKK9SPSvPKFafQ6YeP7jOqOgUm0OiOp/YvPewoo6lfOAjZ//j+kKAntn09n8Ua8uCHTfW5n9DVgEL3u9FzQz++vRy0EDIEfO/U14OQ90OxKjvxEvDoGXfgOT2Pr5xc6d4zAIAwEUDdjsm+D+h02X1pZFgcN7V5ivGRr8REUJFLxRFR3/pypI4JMSjb8m7VESQP4NGIz/6dqjuTWA7voJk0+/KsyxIIDkDYij8Vcjfw1k/pYeVru/MssR7gmgu4LLX6ecBj5pu9Vfr37dEgHw79r5aATwcu2yxiCAl9uX6YxBAC/X9cs4DWfcmkYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMC3PTgkAAAAABD0/7UrbAAAAAAAAAAAAAAAAAAAAAAAAHAKGbwwCsmp53wAAAAASUVORK5CYII=",Ps=""+new URL("focus_move_bg-cf41417a-balabala-1786807848259.png",import.meta.url).href;const ds={class:"topic-switcher-menu"},fs=["aria-selected","onPointerup","onClick"],hs={class:"topic-title"},ps={key:0},Hs={__name:"TopicSwitcher",props:{modelValue:{type:String,required:!0},topics:{type:Array,default:()=>ge},compact:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(d,{emit:t}){const e=d,r=t;let s="",A=0;const n=xt(()=>{var i;return(i=e.topics)!=null&&i.length?e.topics:ge});function o(i,a){var l,u;if((u=(l=i.currentTarget)==null?void 0:l.blur)==null||u.call(l),a===e.modelValue)return;const c=Date.now();i.type==="click"&&s===a&&c-A<450||(i.type==="pointerup"&&(s=a,A=c),r("update:modelValue",a))}return(i,a)=>(v(),K("div",{class:z(["topic-switcher",{"is-compact":d.compact}]),role:"tablist","aria-label":"专题切换"},[q("div",ds,[(v(!0),K(It,null,yt(n.value,c=>(v(),K("button",{key:c.key,class:z(["topic-switcher-item",{"is-active":c.key===d.modelValue}]),style:St({"--topic-color":c.color,"--topic-item-width":c.width?`${c.width}px`:void 0}),type:"button",role:"tab","aria-selected":c.key===d.modelValue,onPointerup:l=>o(l,c.key),onClick:l=>o(l,c.key)},[q("span",{class:z(["topic-name",{"has-sub-name":c.subName}])},[q("span",hs,me(c.name),1),c.subName?(v(),K("small",ps,me(c.subName),1)):Bt("",!0)],2)],46,fs))),128))])],2))}};export{bt as E,ws as R,Hs as _,bs as a,Cs as b,ks as c,Is as d,Ms as e,Ns as f,Ls as g,Ds as h,Us as i,Os as j,Gs as k,Fs as l,Qs as m,Ps as n,Ss as o,xs as p,Rs as q,Bs as r,ys as s}; diff --git a/docs/assets/UserManagement-03008e91-balabala-1786725044461.css b/docs/assets/UserManagement-03008e91-balabala-1786807848259.css similarity index 100% rename from docs/assets/UserManagement-03008e91-balabala-1786725044461.css rename to docs/assets/UserManagement-03008e91-balabala-1786807848259.css diff --git a/docs/assets/UserManagement-55ee5757-1786725044461.js b/docs/assets/UserManagement-a36e0e73-1786807848259.js similarity index 99% rename from docs/assets/UserManagement-55ee5757-1786725044461.js rename to docs/assets/UserManagement-a36e0e73-1786807848259.js index af99a2a..a9b5c40 100644 --- a/docs/assets/UserManagement-55ee5757-1786725044461.js +++ b/docs/assets/UserManagement-a36e0e73-1786807848259.js @@ -1 +1 @@ -var Ne=Object.defineProperty,Ue=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable;var le=(c,m,s)=>m in c?Ne(c,m,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[m]=s,D=(c,m)=>{for(var s in m||(m={}))Ce.call(m,s)&&le(c,s,m[s]);if(ae)for(var s of ae(m))Se.call(m,s)&&le(c,s,m[s]);return c},F=(c,m)=>Ue(c,xe(m));var S=(c,m,s)=>new Promise((N,h)=>{var P=f=>{try{C(s.next(f))}catch(z){h(z)}},U=f=>{try{C(s.throw(f))}catch(z){h(z)}},C=f=>f.done?N(f.value):Promise.resolve(f.value).then(P,U);C((s=s.apply(c,m)).next())});import{q as he,Q as Pe,N as ze,R as Oe,S as I,O as r,o as p,c as b,a as _,b as a,x as t,L as Q,d as y,T as qe,u as L,U as Ae,B as u,F as E,y as J,C as x,t as k,V as Re,W as te,j as ne,X as Te,Y as $e,Z as Be,$ as Ee}from"./index-1786725044461.js";/* empty css */import{_ as Ve}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const je={class:"admin-page"},Me={class:"admin-page-heading"},De={class:"admin-table-toolbar"},Fe={style:{color:"#8c97a8"}},Qe={key:0,class:"user-identity"},Le={key:1,class:"muted"},Je={key:2,class:"contact-cell"},We={class:"form-grid"},Xe={class:"drawer-footer"},Ye={__name:"UserManagement",setup(c){const m=[{title:"用户",key:"identity",fixed:"left",width:190},{title:"所属部门",dataIndex:"deptName",key:"deptName",width:150,ellipsis:!0},{title:"角色",key:"roleNames",width:180,ellipsis:!0},{title:"联系方式",key:"contact",width:180},{title:"最后登录 IP",dataIndex:"loginIp",key:"loginIp",width:140},{title:"最后登录时间",dataIndex:"loginDate",key:"loginDate",width:170},{title:"创建时间",dataIndex:"createTime",key:"createTime",width:170},{title:"状态",key:"status",width:100,fixed:"right"},{title:"操作",key:"operation",width:220,fixed:"right"}],s=Q({userName:"",nickName:"",phonenumber:"",deptId:void 0,roleId:void 0,status:void 0}),N=Q({departments:[],roles:[]}),h=y([]),P=y(!1),U=y(!1),C=y(!1),f=y(""),z=y(),V=y(""),j=y(!1),M=y(null),O=y(""),W=y(!1),w=Q({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:n=>`共 ${n} 条`}),o=Q(X()),se={userName:[{required:!0,message:"请输入用户账号"}],nickName:[{required:!0,message:"请输入用户昵称"}],password:[{required:!0,min:8,max:64,message:"初始密码长度应为 8 至 64 位"}],email:[{type:"email",message:"邮箱格式不正确"}]};he(()=>S(this,null,function*(){var v;const[n,e]=yield Promise.all([Pe(),ze()]);N.departments=n.departments||[],N.roles=n.roles||[],V.value=String(((v=e.user)==null?void 0:v.userId)||""),yield q()}));function X(){return{userName:"",nickName:"",password:"",deptId:void 0,roleIds:[],phonenumber:"",email:"",sex:"0",status:"0",areaCode:"",remark:""}}function q(){return S(this,null,function*(){P.value=!0;try{const n=yield Oe(F(D({},s),{pageNum:w.current,pageSize:w.pageSize}));h.value=(n.rows||[]).map(e=>F(D({},e),{roleIds:e.roleIdsCsv?e.roleIdsCsv.split(",").filter(Boolean):[]})),w.total=Number(n.total||0)}catch(n){I.error(n.message)}finally{P.value=!1}})}function T(){w.current=1,q()}function oe(){Object.assign(s,{userName:"",nickName:"",phonenumber:"",deptId:void 0,roleId:void 0,status:void 0}),T()}function ue(n){w.current=n.current,w.pageSize=n.pageSize,q()}function re(){f.value="",Object.assign(o,X()),U.value=!0}function de(n){f.value=String(n.userId),Object.assign(o,X(),n,{roleIds:n.roleIds||[]}),U.value=!0}function ie(){return S(this,null,function*(){var n;try{yield(n=z.value)==null?void 0:n.validate()}catch(e){return}C.value=!0;try{const e=F(D({},o),{userId:f.value||void 0});f.value&&delete e.password;const v=f.value?yield Te(e):yield $e(e);I.success(v.message),U.value=!1,yield q()}catch(e){I.error(e.message)}finally{C.value=!1}})}function pe(n,e){return S(this,null,function*(){const v=n.status;n.status=e?"0":"1";try{const g=yield Be({userId:n.userId,status:n.status});I.success(g.message)}catch(g){n.status=v,I.error(g.message)}})}function me(n){M.value=n,O.value="",j.value=!0}function G(){return S(this,null,function*(){if(O.value.length<8||O.value.length>64)return I.warning("新密码长度应为 8 至 64 位");W.value=!0;try{const n=yield qe({userId:M.value.userId,password:O.value});I.success(n.message),j.value=!1}catch(n){I.error(n.message)}finally{W.value=!1}})}function ve(n){return S(this,null,function*(){try{const e=yield Ee(n.userId);I.success(e.message),h.value.length===1&&w.current>1&&(w.current-=1),yield q()}catch(e){I.error(e.message)}})}return(n,e)=>{const v=r("a-button"),g=r("a-input"),d=r("a-form-item"),A=r("a-select-option"),$=r("a-select"),Y=r("a-space"),Z=r("a-form"),H=r("a-card"),fe=r("a-avatar"),ce=r("a-tag"),ge=r("a-switch"),_e=r("a-popconfirm"),ye=r("a-table"),K=r("a-input-password"),B=r("a-radio"),ee=r("a-radio-group"),ke=r("a-textarea"),we=r("a-drawer"),Ie=r("a-alert"),be=r("a-modal");return p(),b("div",je,[_("div",Me,[e[22]||(e[22]=_("h1",null,"用户管理",-1)),a(v,{type:"primary",onClick:re},{icon:t(()=>[a(L(Ae))]),default:t(()=>[e[21]||(e[21]=u(" 新增用户 ",-1))]),_:1})]),a(H,{class:"admin-query-card",bordered:!1},{default:t(()=>[a(Z,{class:"admin-query-form",model:s},{default:t(()=>[a(d,{label:"用户账号"},{default:t(()=>[a(g,{value:s.userName,"onUpdate:value":e[0]||(e[0]=l=>s.userName=l),"allow-clear":"",placeholder:"请输入用户账号",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"用户昵称"},{default:t(()=>[a(g,{value:s.nickName,"onUpdate:value":e[1]||(e[1]=l=>s.nickName=l),"allow-clear":"",placeholder:"请输入用户昵称",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"手机号码"},{default:t(()=>[a(g,{value:s.phonenumber,"onUpdate:value":e[2]||(e[2]=l=>s.phonenumber=l),"allow-clear":"",placeholder:"请输入手机号码",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"部门"},{default:t(()=>[a($,{value:s.deptId,"onUpdate:value":e[3]||(e[3]=l=>s.deptId=l),"allow-clear":"",placeholder:"全部部门"},{default:t(()=>[(p(!0),b(E,null,J(N.departments,l=>(p(),x(A,{key:l.deptId,value:l.deptId},{default:t(()=>[u(k(l.deptName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"角色"},{default:t(()=>[a($,{value:s.roleId,"onUpdate:value":e[4]||(e[4]=l=>s.roleId=l),"allow-clear":"",placeholder:"全部角色"},{default:t(()=>[(p(!0),b(E,null,J(N.roles,l=>(p(),x(A,{key:l.roleId,value:l.roleId},{default:t(()=>[u(k(l.roleName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"状态"},{default:t(()=>[a($,{value:s.status,"onUpdate:value":e[5]||(e[5]=l=>s.status=l),"allow-clear":"",placeholder:"全部状态"},{default:t(()=>[a(A,{value:"0"},{default:t(()=>[...e[23]||(e[23]=[u("正常",-1)])]),_:1}),a(A,{value:"1"},{default:t(()=>[...e[24]||(e[24]=[u("停用",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),a(d,{class:"admin-query-actions"},{default:t(()=>[a(Y,null,{default:t(()=>[a(v,{type:"primary",onClick:T},{default:t(()=>[a(L(Re)),e[25]||(e[25]=u(" 查询",-1))]),_:1}),a(v,{onClick:oe},{default:t(()=>[a(L(te)),e[26]||(e[26]=u(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(H,{class:"admin-table-card",bordered:!1},{default:t(()=>[_("div",De,[e[27]||(e[27]=_("strong",null,"用户列表",-1)),a(Y,null,{default:t(()=>[_("span",Fe,"共 "+k(w.total)+" 条",1),a(v,{type:"text",loading:P.value,onClick:q},{default:t(()=>[a(L(te))]),_:1},8,["loading"])]),_:1})]),a(ye,{"row-key":"userId",columns:m,"data-source":h.value,loading:P.value,pagination:w,scroll:{x:1360},onChange:ue},{bodyCell:t(({column:l,record:i})=>[l.key==="identity"?(p(),b("div",Qe,[a(fe,{size:34,class:"user-avatar"},{default:t(()=>[u(k(String(i.nickName||i.userName).slice(0,1)),1)]),_:2},1024),_("div",null,[_("strong",null,k(i.nickName||"—"),1),_("span",null,k(i.userName),1)])])):l.key==="roleNames"?(p(),b(E,{key:1},[i.roleNames?(p(),x(ce,{key:0,color:"blue"},{default:t(()=>[u(k(i.roleNames),1)]),_:2},1024)):(p(),b("span",Le,"未分配"))],64)):l.key==="contact"?(p(),b("div",Je,[_("span",null,k(i.phonenumber||"—"),1),_("small",null,k(i.email||""),1)])):l.key==="status"?(p(),x(ge,{key:3,checked:i.status==="0","checked-children":"正常","un-checked-children":"停用",disabled:String(i.userId)===String(V.value),onChange:R=>pe(i,R)},null,8,["checked","disabled","onChange"])):l.key==="operation"?(p(),x(Y,{key:4,size:4},{default:t(()=>[a(v,{type:"link",size:"small",onClick:R=>de(i)},{default:t(()=>[...e[28]||(e[28]=[u("编辑",-1)])]),_:1},8,["onClick"]),a(v,{type:"link",size:"small",onClick:R=>me(i)},{default:t(()=>[...e[29]||(e[29]=[u("重置密码",-1)])]),_:1},8,["onClick"]),a(_e,{title:"确认删除该用户吗?","ok-text":"删除","cancel-text":"取消",disabled:String(i.userId)===String(V.value),onConfirm:R=>ve(i)},{default:t(()=>[a(v,{type:"link",danger:"",size:"small",disabled:String(i.userId)===String(V.value)},{default:t(()=>[...e[30]||(e[30]=[u("删除",-1)])]),_:1},8,["disabled"])]),_:2},1032,["disabled","onConfirm"])]),_:2},1024)):ne("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1}),a(we,{open:U.value,"onUpdate:open":e[18]||(e[18]=l=>U.value=l),title:f.value?"编辑用户":"新增用户",width:"520","destroy-on-close":!0},{footer:t(()=>[_("div",Xe,[a(v,{onClick:e[17]||(e[17]=l=>U.value=!1)},{default:t(()=>[...e[36]||(e[36]=[u("取消",-1)])]),_:1}),a(v,{type:"primary",loading:C.value,onClick:ie},{default:t(()=>[...e[37]||(e[37]=[u("保存",-1)])]),_:1},8,["loading"])])]),default:t(()=>[a(Z,{ref_key:"formRef",ref:z,model:o,rules:se,layout:"vertical"},{default:t(()=>[_("div",We,[a(d,{label:"用户账号",name:"userName"},{default:t(()=>[a(g,{value:o.userName,"onUpdate:value":e[6]||(e[6]=l=>o.userName=l),maxlength:30,placeholder:"请输入用户账号"},null,8,["value"])]),_:1}),a(d,{label:"用户昵称",name:"nickName"},{default:t(()=>[a(g,{value:o.nickName,"onUpdate:value":e[7]||(e[7]=l=>o.nickName=l),maxlength:30,placeholder:"请输入用户昵称"},null,8,["value"])]),_:1}),f.value?ne("",!0):(p(),x(d,{key:0,label:"初始密码",name:"password"},{default:t(()=>[a(K,{value:o.password,"onUpdate:value":e[8]||(e[8]=l=>o.password=l),placeholder:"8 至 64 位"},null,8,["value"])]),_:1})),a(d,{label:"手机号码",name:"phonenumber"},{default:t(()=>[a(g,{value:o.phonenumber,"onUpdate:value":e[9]||(e[9]=l=>o.phonenumber=l),maxlength:50,placeholder:"请输入手机号码"},null,8,["value"])]),_:1}),a(d,{label:"所属部门",name:"deptId"},{default:t(()=>[a($,{value:o.deptId,"onUpdate:value":e[10]||(e[10]=l=>o.deptId=l),"allow-clear":"",placeholder:"请选择部门"},{default:t(()=>[(p(!0),b(E,null,J(N.departments,l=>(p(),x(A,{key:l.deptId,value:l.deptId},{default:t(()=>[u(k(l.deptName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"用户角色",name:"roleIds"},{default:t(()=>[a($,{value:o.roleIds,"onUpdate:value":e[11]||(e[11]=l=>o.roleIds=l),mode:"multiple",placeholder:"请选择角色"},{default:t(()=>[(p(!0),b(E,null,J(N.roles,l=>(p(),x(A,{key:l.roleId,value:l.roleId},{default:t(()=>[u(k(l.roleName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"性别",name:"sex"},{default:t(()=>[a(ee,{value:o.sex,"onUpdate:value":e[12]||(e[12]=l=>o.sex=l)},{default:t(()=>[a(B,{value:"0"},{default:t(()=>[...e[31]||(e[31]=[u("男",-1)])]),_:1}),a(B,{value:"1"},{default:t(()=>[...e[32]||(e[32]=[u("女",-1)])]),_:1}),a(B,{value:"2"},{default:t(()=>[...e[33]||(e[33]=[u("未知",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),a(d,{label:"账号状态",name:"status"},{default:t(()=>[a(ee,{value:o.status,"onUpdate:value":e[13]||(e[13]=l=>o.status=l)},{default:t(()=>[a(B,{value:"0"},{default:t(()=>[...e[34]||(e[34]=[u("正常",-1)])]),_:1}),a(B,{value:"1"},{default:t(()=>[...e[35]||(e[35]=[u("停用",-1)])]),_:1})]),_:1},8,["value"])]),_:1})]),a(d,{label:"邮箱",name:"email"},{default:t(()=>[a(g,{value:o.email,"onUpdate:value":e[14]||(e[14]=l=>o.email=l),maxlength:50,placeholder:"请输入邮箱"},null,8,["value"])]),_:1}),a(d,{label:"行政区代码",name:"areaCode"},{default:t(()=>[a(g,{value:o.areaCode,"onUpdate:value":e[15]||(e[15]=l=>o.areaCode=l),placeholder:"请输入行政区代码"},null,8,["value"])]),_:1}),a(d,{label:"备注",name:"remark"},{default:t(()=>[a(ke,{value:o.remark,"onUpdate:value":e[16]||(e[16]=l=>o.remark=l),rows:3,maxlength:500,"show-count":"",placeholder:"请输入备注"},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open","title"]),a(be,{open:j.value,"onUpdate:open":e[20]||(e[20]=l=>j.value=l),title:"重置用户密码","confirm-loading":W.value,onOk:G},{default:t(()=>{var l,i;return[a(Ie,{type:"warning","show-icon":"",message:`正在为 ${((l=M.value)==null?void 0:l.nickName)||((i=M.value)==null?void 0:i.userName)||""} 重置密码`},null,8,["message"]),a(Z,{layout:"vertical",style:{"margin-top":"18px"}},{default:t(()=>[a(d,{label:"新密码",required:""},{default:t(()=>[a(K,{value:O.value,"onUpdate:value":e[19]||(e[19]=R=>O.value=R),placeholder:"请输入 8 至 64 位新密码",onPressEnter:G},null,8,["value"])]),_:1})]),_:1})]}),_:1},8,["open","confirm-loading"])])}}},ea=Ve(Ye,[["__scopeId","data-v-c3907d06"]]);export{ea as default}; +var Ne=Object.defineProperty,Ue=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable;var le=(c,m,s)=>m in c?Ne(c,m,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[m]=s,D=(c,m)=>{for(var s in m||(m={}))Ce.call(m,s)&&le(c,s,m[s]);if(ae)for(var s of ae(m))Se.call(m,s)&&le(c,s,m[s]);return c},F=(c,m)=>Ue(c,xe(m));var S=(c,m,s)=>new Promise((N,h)=>{var P=f=>{try{C(s.next(f))}catch(z){h(z)}},U=f=>{try{C(s.throw(f))}catch(z){h(z)}},C=f=>f.done?N(f.value):Promise.resolve(f.value).then(P,U);C((s=s.apply(c,m)).next())});import{q as he,Q as Pe,N as ze,R as Oe,S as I,O as r,o as p,c as b,a as _,b as a,x as t,L as Q,d as y,T as qe,u as L,U as Ae,B as u,F as E,y as J,C as x,t as k,V as Re,W as te,j as ne,X as Te,Y as $e,Z as Be,$ as Ee}from"./index-1786807848259.js";/* empty css */import{_ as Ve}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const je={class:"admin-page"},Me={class:"admin-page-heading"},De={class:"admin-table-toolbar"},Fe={style:{color:"#8c97a8"}},Qe={key:0,class:"user-identity"},Le={key:1,class:"muted"},Je={key:2,class:"contact-cell"},We={class:"form-grid"},Xe={class:"drawer-footer"},Ye={__name:"UserManagement",setup(c){const m=[{title:"用户",key:"identity",fixed:"left",width:190},{title:"所属部门",dataIndex:"deptName",key:"deptName",width:150,ellipsis:!0},{title:"角色",key:"roleNames",width:180,ellipsis:!0},{title:"联系方式",key:"contact",width:180},{title:"最后登录 IP",dataIndex:"loginIp",key:"loginIp",width:140},{title:"最后登录时间",dataIndex:"loginDate",key:"loginDate",width:170},{title:"创建时间",dataIndex:"createTime",key:"createTime",width:170},{title:"状态",key:"status",width:100,fixed:"right"},{title:"操作",key:"operation",width:220,fixed:"right"}],s=Q({userName:"",nickName:"",phonenumber:"",deptId:void 0,roleId:void 0,status:void 0}),N=Q({departments:[],roles:[]}),h=y([]),P=y(!1),U=y(!1),C=y(!1),f=y(""),z=y(),V=y(""),j=y(!1),M=y(null),O=y(""),W=y(!1),w=Q({current:1,pageSize:20,total:0,showSizeChanger:!0,showQuickJumper:!0,showTotal:n=>`共 ${n} 条`}),o=Q(X()),se={userName:[{required:!0,message:"请输入用户账号"}],nickName:[{required:!0,message:"请输入用户昵称"}],password:[{required:!0,min:8,max:64,message:"初始密码长度应为 8 至 64 位"}],email:[{type:"email",message:"邮箱格式不正确"}]};he(()=>S(this,null,function*(){var v;const[n,e]=yield Promise.all([Pe(),ze()]);N.departments=n.departments||[],N.roles=n.roles||[],V.value=String(((v=e.user)==null?void 0:v.userId)||""),yield q()}));function X(){return{userName:"",nickName:"",password:"",deptId:void 0,roleIds:[],phonenumber:"",email:"",sex:"0",status:"0",areaCode:"",remark:""}}function q(){return S(this,null,function*(){P.value=!0;try{const n=yield Oe(F(D({},s),{pageNum:w.current,pageSize:w.pageSize}));h.value=(n.rows||[]).map(e=>F(D({},e),{roleIds:e.roleIdsCsv?e.roleIdsCsv.split(",").filter(Boolean):[]})),w.total=Number(n.total||0)}catch(n){I.error(n.message)}finally{P.value=!1}})}function T(){w.current=1,q()}function oe(){Object.assign(s,{userName:"",nickName:"",phonenumber:"",deptId:void 0,roleId:void 0,status:void 0}),T()}function ue(n){w.current=n.current,w.pageSize=n.pageSize,q()}function re(){f.value="",Object.assign(o,X()),U.value=!0}function de(n){f.value=String(n.userId),Object.assign(o,X(),n,{roleIds:n.roleIds||[]}),U.value=!0}function ie(){return S(this,null,function*(){var n;try{yield(n=z.value)==null?void 0:n.validate()}catch(e){return}C.value=!0;try{const e=F(D({},o),{userId:f.value||void 0});f.value&&delete e.password;const v=f.value?yield Te(e):yield $e(e);I.success(v.message),U.value=!1,yield q()}catch(e){I.error(e.message)}finally{C.value=!1}})}function pe(n,e){return S(this,null,function*(){const v=n.status;n.status=e?"0":"1";try{const g=yield Be({userId:n.userId,status:n.status});I.success(g.message)}catch(g){n.status=v,I.error(g.message)}})}function me(n){M.value=n,O.value="",j.value=!0}function G(){return S(this,null,function*(){if(O.value.length<8||O.value.length>64)return I.warning("新密码长度应为 8 至 64 位");W.value=!0;try{const n=yield qe({userId:M.value.userId,password:O.value});I.success(n.message),j.value=!1}catch(n){I.error(n.message)}finally{W.value=!1}})}function ve(n){return S(this,null,function*(){try{const e=yield Ee(n.userId);I.success(e.message),h.value.length===1&&w.current>1&&(w.current-=1),yield q()}catch(e){I.error(e.message)}})}return(n,e)=>{const v=r("a-button"),g=r("a-input"),d=r("a-form-item"),A=r("a-select-option"),$=r("a-select"),Y=r("a-space"),Z=r("a-form"),H=r("a-card"),fe=r("a-avatar"),ce=r("a-tag"),ge=r("a-switch"),_e=r("a-popconfirm"),ye=r("a-table"),K=r("a-input-password"),B=r("a-radio"),ee=r("a-radio-group"),ke=r("a-textarea"),we=r("a-drawer"),Ie=r("a-alert"),be=r("a-modal");return p(),b("div",je,[_("div",Me,[e[22]||(e[22]=_("h1",null,"用户管理",-1)),a(v,{type:"primary",onClick:re},{icon:t(()=>[a(L(Ae))]),default:t(()=>[e[21]||(e[21]=u(" 新增用户 ",-1))]),_:1})]),a(H,{class:"admin-query-card",bordered:!1},{default:t(()=>[a(Z,{class:"admin-query-form",model:s},{default:t(()=>[a(d,{label:"用户账号"},{default:t(()=>[a(g,{value:s.userName,"onUpdate:value":e[0]||(e[0]=l=>s.userName=l),"allow-clear":"",placeholder:"请输入用户账号",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"用户昵称"},{default:t(()=>[a(g,{value:s.nickName,"onUpdate:value":e[1]||(e[1]=l=>s.nickName=l),"allow-clear":"",placeholder:"请输入用户昵称",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"手机号码"},{default:t(()=>[a(g,{value:s.phonenumber,"onUpdate:value":e[2]||(e[2]=l=>s.phonenumber=l),"allow-clear":"",placeholder:"请输入手机号码",onPressEnter:T},null,8,["value"])]),_:1}),a(d,{label:"部门"},{default:t(()=>[a($,{value:s.deptId,"onUpdate:value":e[3]||(e[3]=l=>s.deptId=l),"allow-clear":"",placeholder:"全部部门"},{default:t(()=>[(p(!0),b(E,null,J(N.departments,l=>(p(),x(A,{key:l.deptId,value:l.deptId},{default:t(()=>[u(k(l.deptName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"角色"},{default:t(()=>[a($,{value:s.roleId,"onUpdate:value":e[4]||(e[4]=l=>s.roleId=l),"allow-clear":"",placeholder:"全部角色"},{default:t(()=>[(p(!0),b(E,null,J(N.roles,l=>(p(),x(A,{key:l.roleId,value:l.roleId},{default:t(()=>[u(k(l.roleName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"状态"},{default:t(()=>[a($,{value:s.status,"onUpdate:value":e[5]||(e[5]=l=>s.status=l),"allow-clear":"",placeholder:"全部状态"},{default:t(()=>[a(A,{value:"0"},{default:t(()=>[...e[23]||(e[23]=[u("正常",-1)])]),_:1}),a(A,{value:"1"},{default:t(()=>[...e[24]||(e[24]=[u("停用",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),a(d,{class:"admin-query-actions"},{default:t(()=>[a(Y,null,{default:t(()=>[a(v,{type:"primary",onClick:T},{default:t(()=>[a(L(Re)),e[25]||(e[25]=u(" 查询",-1))]),_:1}),a(v,{onClick:oe},{default:t(()=>[a(L(te)),e[26]||(e[26]=u(" 重置",-1))]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(H,{class:"admin-table-card",bordered:!1},{default:t(()=>[_("div",De,[e[27]||(e[27]=_("strong",null,"用户列表",-1)),a(Y,null,{default:t(()=>[_("span",Fe,"共 "+k(w.total)+" 条",1),a(v,{type:"text",loading:P.value,onClick:q},{default:t(()=>[a(L(te))]),_:1},8,["loading"])]),_:1})]),a(ye,{"row-key":"userId",columns:m,"data-source":h.value,loading:P.value,pagination:w,scroll:{x:1360},onChange:ue},{bodyCell:t(({column:l,record:i})=>[l.key==="identity"?(p(),b("div",Qe,[a(fe,{size:34,class:"user-avatar"},{default:t(()=>[u(k(String(i.nickName||i.userName).slice(0,1)),1)]),_:2},1024),_("div",null,[_("strong",null,k(i.nickName||"—"),1),_("span",null,k(i.userName),1)])])):l.key==="roleNames"?(p(),b(E,{key:1},[i.roleNames?(p(),x(ce,{key:0,color:"blue"},{default:t(()=>[u(k(i.roleNames),1)]),_:2},1024)):(p(),b("span",Le,"未分配"))],64)):l.key==="contact"?(p(),b("div",Je,[_("span",null,k(i.phonenumber||"—"),1),_("small",null,k(i.email||""),1)])):l.key==="status"?(p(),x(ge,{key:3,checked:i.status==="0","checked-children":"正常","un-checked-children":"停用",disabled:String(i.userId)===String(V.value),onChange:R=>pe(i,R)},null,8,["checked","disabled","onChange"])):l.key==="operation"?(p(),x(Y,{key:4,size:4},{default:t(()=>[a(v,{type:"link",size:"small",onClick:R=>de(i)},{default:t(()=>[...e[28]||(e[28]=[u("编辑",-1)])]),_:1},8,["onClick"]),a(v,{type:"link",size:"small",onClick:R=>me(i)},{default:t(()=>[...e[29]||(e[29]=[u("重置密码",-1)])]),_:1},8,["onClick"]),a(_e,{title:"确认删除该用户吗?","ok-text":"删除","cancel-text":"取消",disabled:String(i.userId)===String(V.value),onConfirm:R=>ve(i)},{default:t(()=>[a(v,{type:"link",danger:"",size:"small",disabled:String(i.userId)===String(V.value)},{default:t(()=>[...e[30]||(e[30]=[u("删除",-1)])]),_:1},8,["disabled"])]),_:2},1032,["disabled","onConfirm"])]),_:2},1024)):ne("",!0)]),_:1},8,["data-source","loading","pagination"])]),_:1}),a(we,{open:U.value,"onUpdate:open":e[18]||(e[18]=l=>U.value=l),title:f.value?"编辑用户":"新增用户",width:"520","destroy-on-close":!0},{footer:t(()=>[_("div",Xe,[a(v,{onClick:e[17]||(e[17]=l=>U.value=!1)},{default:t(()=>[...e[36]||(e[36]=[u("取消",-1)])]),_:1}),a(v,{type:"primary",loading:C.value,onClick:ie},{default:t(()=>[...e[37]||(e[37]=[u("保存",-1)])]),_:1},8,["loading"])])]),default:t(()=>[a(Z,{ref_key:"formRef",ref:z,model:o,rules:se,layout:"vertical"},{default:t(()=>[_("div",We,[a(d,{label:"用户账号",name:"userName"},{default:t(()=>[a(g,{value:o.userName,"onUpdate:value":e[6]||(e[6]=l=>o.userName=l),maxlength:30,placeholder:"请输入用户账号"},null,8,["value"])]),_:1}),a(d,{label:"用户昵称",name:"nickName"},{default:t(()=>[a(g,{value:o.nickName,"onUpdate:value":e[7]||(e[7]=l=>o.nickName=l),maxlength:30,placeholder:"请输入用户昵称"},null,8,["value"])]),_:1}),f.value?ne("",!0):(p(),x(d,{key:0,label:"初始密码",name:"password"},{default:t(()=>[a(K,{value:o.password,"onUpdate:value":e[8]||(e[8]=l=>o.password=l),placeholder:"8 至 64 位"},null,8,["value"])]),_:1})),a(d,{label:"手机号码",name:"phonenumber"},{default:t(()=>[a(g,{value:o.phonenumber,"onUpdate:value":e[9]||(e[9]=l=>o.phonenumber=l),maxlength:50,placeholder:"请输入手机号码"},null,8,["value"])]),_:1}),a(d,{label:"所属部门",name:"deptId"},{default:t(()=>[a($,{value:o.deptId,"onUpdate:value":e[10]||(e[10]=l=>o.deptId=l),"allow-clear":"",placeholder:"请选择部门"},{default:t(()=>[(p(!0),b(E,null,J(N.departments,l=>(p(),x(A,{key:l.deptId,value:l.deptId},{default:t(()=>[u(k(l.deptName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"用户角色",name:"roleIds"},{default:t(()=>[a($,{value:o.roleIds,"onUpdate:value":e[11]||(e[11]=l=>o.roleIds=l),mode:"multiple",placeholder:"请选择角色"},{default:t(()=>[(p(!0),b(E,null,J(N.roles,l=>(p(),x(A,{key:l.roleId,value:l.roleId},{default:t(()=>[u(k(l.roleName),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])]),_:1}),a(d,{label:"性别",name:"sex"},{default:t(()=>[a(ee,{value:o.sex,"onUpdate:value":e[12]||(e[12]=l=>o.sex=l)},{default:t(()=>[a(B,{value:"0"},{default:t(()=>[...e[31]||(e[31]=[u("男",-1)])]),_:1}),a(B,{value:"1"},{default:t(()=>[...e[32]||(e[32]=[u("女",-1)])]),_:1}),a(B,{value:"2"},{default:t(()=>[...e[33]||(e[33]=[u("未知",-1)])]),_:1})]),_:1},8,["value"])]),_:1}),a(d,{label:"账号状态",name:"status"},{default:t(()=>[a(ee,{value:o.status,"onUpdate:value":e[13]||(e[13]=l=>o.status=l)},{default:t(()=>[a(B,{value:"0"},{default:t(()=>[...e[34]||(e[34]=[u("正常",-1)])]),_:1}),a(B,{value:"1"},{default:t(()=>[...e[35]||(e[35]=[u("停用",-1)])]),_:1})]),_:1},8,["value"])]),_:1})]),a(d,{label:"邮箱",name:"email"},{default:t(()=>[a(g,{value:o.email,"onUpdate:value":e[14]||(e[14]=l=>o.email=l),maxlength:50,placeholder:"请输入邮箱"},null,8,["value"])]),_:1}),a(d,{label:"行政区代码",name:"areaCode"},{default:t(()=>[a(g,{value:o.areaCode,"onUpdate:value":e[15]||(e[15]=l=>o.areaCode=l),placeholder:"请输入行政区代码"},null,8,["value"])]),_:1}),a(d,{label:"备注",name:"remark"},{default:t(()=>[a(ke,{value:o.remark,"onUpdate:value":e[16]||(e[16]=l=>o.remark=l),rows:3,maxlength:500,"show-count":"",placeholder:"请输入备注"},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open","title"]),a(be,{open:j.value,"onUpdate:open":e[20]||(e[20]=l=>j.value=l),title:"重置用户密码","confirm-loading":W.value,onOk:G},{default:t(()=>{var l,i;return[a(Ie,{type:"warning","show-icon":"",message:`正在为 ${((l=M.value)==null?void 0:l.nickName)||((i=M.value)==null?void 0:i.userName)||""} 重置密码`},null,8,["message"]),a(Z,{layout:"vertical",style:{"margin-top":"18px"}},{default:t(()=>[a(d,{label:"新密码",required:""},{default:t(()=>[a(K,{value:O.value,"onUpdate:value":e[19]||(e[19]=R=>O.value=R),placeholder:"请输入 8 至 64 位新密码",onPressEnter:G},null,8,["value"])]),_:1})]),_:1})]}),_:1},8,["open","confirm-loading"])])}}},ea=Ve(Ye,[["__scopeId","data-v-c3907d06"]]);export{ea as default}; diff --git a/docs/assets/_plugin-vue_export-helper-c27b6911-1786725044461.js b/docs/assets/_plugin-vue_export-helper-c27b6911-1786807848259.js similarity index 100% rename from docs/assets/_plugin-vue_export-helper-c27b6911-1786725044461.js rename to docs/assets/_plugin-vue_export-helper-c27b6911-1786807848259.js diff --git a/docs/assets/admin-pages-c250a1ad-balabala-1786725044461.css b/docs/assets/admin-pages-c250a1ad-balabala-1786807848259.css similarity index 100% rename from docs/assets/admin-pages-c250a1ad-balabala-1786725044461.css rename to docs/assets/admin-pages-c250a1ad-balabala-1786807848259.css diff --git a/docs/assets/area-b57940eb-balabala-1786725044461.png b/docs/assets/area-b57940eb-balabala-1786807848259.png similarity index 100% rename from docs/assets/area-b57940eb-balabala-1786725044461.png rename to docs/assets/area-b57940eb-balabala-1786807848259.png diff --git a/docs/assets/assets-cf9c305b-1786725044461.js b/docs/assets/assets-8728b943-1786807848259.js similarity index 85% rename from docs/assets/assets-cf9c305b-1786725044461.js rename to docs/assets/assets-8728b943-1786807848259.js index 31361c1..3ed9fb2 100644 --- a/docs/assets/assets-cf9c305b-1786725044461.js +++ b/docs/assets/assets-8728b943-1786807848259.js @@ -1 +1 @@ -var m=Object.defineProperty;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var i=(t,e,a)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,o=(t,e)=>{for(var a in e||(e={}))y.call(e,a)&&i(t,a,e[a]);if(p)for(var a of p(e))T.call(e,a)&&i(t,a,e[a]);return t};import{p as d}from"./screen2Standard-3427eaf8-1786725044461.js";import{R as x,b as u,d as g,p as l,h as f,r as L,a as A,g as B,e as N,c as M,o as O,s as _,f as H,i as S,j as w,k as C,l as F,m as P,n as E}from"./TopicSwitcher-06eba150-1786725044461.js";import{g as n,b as h,H as q,C as G}from"./index-151544a4-1786725044461.js";const s=new Map;class Y{constructor(e={}){this.options=o({includeChinaMap:!1},e),this.ready=null,this.init()}init(){const e=this.getSharedKey(),a=R(e,()=>this.createAssetList());this.instance=a.instance,this.ready=a.ready}getSharedKey(){return this.options.includeChinaMap?"hongyuan-map-with-china":"hongyuan-map"}createAssetList(){let e=[{type:"Texture",name:"flyline",path:u},{type:"Texture",name:"pathLine",path:u},{type:"Texture",name:"pathLine2",path:g},{type:"Texture",name:"pathLine3",path:l},{type:"File",name:"china",path:n(h)},{type:"File",name:"mapJson",path:n(q)},{type:"File",name:"mapStroke",path:n(h)},{type:"Texture",name:"huiguang",path:f},{type:"Texture",name:"rotationBorder1",path:L},{type:"Texture",name:"rotationBorder2",path:A},{type:"Texture",name:"guangquan1",path:B},{type:"Texture",name:"guangquan2",path:N},{type:"Texture",name:"chinaBlurLine",path:M},{type:"Texture",name:"ocean",path:O},{type:"Texture",name:"side",path:_},{type:"Texture",name:"arrow",path:H},{type:"Texture",name:"point",path:S},{type:"Texture",name:"focusArrows",path:w},{type:"Texture",name:"focusBar",path:C},{type:"Texture",name:"focusBg",path:F},{type:"Texture",name:"focusMidQuan",path:P},{type:"Texture",name:"focusMoveBg",path:E}];return this.options.includeChinaMap&&e.push({type:"File",name:"chinaMap",path:n(G)}),e}}function R(t,e){if(s.has(t))return s.get(t);const a=new x({cloneTextures:!0});a.addLoader(d,"FileLoader");const c=a.loadAll(e()),r={instance:a,ready:c};return s.set(t,r),r}export{Y as A}; +var m=Object.defineProperty;var p=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var i=(t,e,a)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,o=(t,e)=>{for(var a in e||(e={}))y.call(e,a)&&i(t,a,e[a]);if(p)for(var a of p(e))T.call(e,a)&&i(t,a,e[a]);return t};import{p as d}from"./screen2Standard-03f7f908-1786807848259.js";import{R as x,b as u,d as g,p as l,h as f,r as L,a as A,g as B,e as N,c as M,o as O,s as _,f as H,i as S,j as w,k as C,l as F,m as P,n as E}from"./TopicSwitcher-c91bad20-1786807848259.js";import{g as n,b as h,H as q,C as G}from"./index-80cb981f-1786807848259.js";const s=new Map;class Y{constructor(e={}){this.options=o({includeChinaMap:!1},e),this.ready=null,this.init()}init(){const e=this.getSharedKey(),a=R(e,()=>this.createAssetList());this.instance=a.instance,this.ready=a.ready}getSharedKey(){return this.options.includeChinaMap?"hongyuan-map-with-china":"hongyuan-map"}createAssetList(){let e=[{type:"Texture",name:"flyline",path:u},{type:"Texture",name:"pathLine",path:u},{type:"Texture",name:"pathLine2",path:g},{type:"Texture",name:"pathLine3",path:l},{type:"File",name:"china",path:n(h)},{type:"File",name:"mapJson",path:n(q)},{type:"File",name:"mapStroke",path:n(h)},{type:"Texture",name:"huiguang",path:f},{type:"Texture",name:"rotationBorder1",path:L},{type:"Texture",name:"rotationBorder2",path:A},{type:"Texture",name:"guangquan1",path:B},{type:"Texture",name:"guangquan2",path:N},{type:"Texture",name:"chinaBlurLine",path:M},{type:"Texture",name:"ocean",path:O},{type:"Texture",name:"side",path:_},{type:"Texture",name:"arrow",path:H},{type:"Texture",name:"point",path:S},{type:"Texture",name:"focusArrows",path:w},{type:"Texture",name:"focusBar",path:C},{type:"Texture",name:"focusBg",path:F},{type:"Texture",name:"focusMidQuan",path:P},{type:"Texture",name:"focusMoveBg",path:E}];return this.options.includeChinaMap&&e.push({type:"File",name:"chinaMap",path:n(G)}),e}}function R(t,e){if(s.has(t))return s.get(t);const a=new x({cloneTextures:!0});a.addLoader(d,"FileLoader");const c=a.loadAll(e()),r={instance:a,ready:c};return s.set(t,r),r}export{Y as A}; diff --git a/docs/assets/bg-3acb94e3-balabala-1786725044461.png b/docs/assets/bg-3acb94e3-balabala-1786807848259.png similarity index 100% rename from docs/assets/bg-3acb94e3-balabala-1786725044461.png rename to docs/assets/bg-3acb94e3-balabala-1786807848259.png diff --git a/docs/assets/bottom-menu-arrow-big-180b7071-balabala-1786725044461.svg b/docs/assets/bottom-menu-arrow-big-180b7071-balabala-1786807848259.svg similarity index 100% rename from docs/assets/bottom-menu-arrow-big-180b7071-balabala-1786725044461.svg rename to docs/assets/bottom-menu-arrow-big-180b7071-balabala-1786807848259.svg diff --git a/docs/assets/bottom-menu-arrow-small-19304179-balabala-1786725044461.svg b/docs/assets/bottom-menu-arrow-small-19304179-balabala-1786807848259.svg similarity index 100% rename from docs/assets/bottom-menu-arrow-small-19304179-balabala-1786725044461.svg rename to docs/assets/bottom-menu-arrow-small-19304179-balabala-1786807848259.svg diff --git a/docs/assets/bottom-menu-bg-b465793d-balabala-1786725044461.png b/docs/assets/bottom-menu-bg-b465793d-balabala-1786807848259.png similarity index 100% rename from docs/assets/bottom-menu-bg-b465793d-balabala-1786725044461.png rename to docs/assets/bottom-menu-bg-b465793d-balabala-1786807848259.png diff --git a/docs/assets/bottom-menu-btn-ee5c8064-balabala-1786725044461.png b/docs/assets/bottom-menu-btn-ee5c8064-balabala-1786807848259.png similarity index 100% rename from docs/assets/bottom-menu-btn-ee5c8064-balabala-1786725044461.png rename to docs/assets/bottom-menu-btn-ee5c8064-balabala-1786807848259.png diff --git a/docs/assets/bottom-menu-btn-hover-df33e514-balabala-1786725044461.png b/docs/assets/bottom-menu-btn-hover-df33e514-balabala-1786807848259.png similarity index 100% rename from docs/assets/bottom-menu-btn-hover-df33e514-balabala-1786725044461.png rename to docs/assets/bottom-menu-btn-hover-df33e514-balabala-1786807848259.png diff --git a/docs/assets/chartTheme-31546a07-1786725044461.js b/docs/assets/chartTheme-7114e4ea-1786807848259.js similarity index 97% rename from docs/assets/chartTheme-31546a07-1786725044461.js rename to docs/assets/chartTheme-7114e4ea-1786807848259.js index eed5863..6c48cdf 100644 --- a/docs/assets/chartTheme-31546a07-1786725044461.js +++ b/docs/assets/chartTheme-7114e4ea-1786807848259.js @@ -1 +1 @@ -var _=Object.defineProperty,K=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var v=(t,e,a)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,o=(t,e)=>{for(var a in e||(e={}))j.call(e,a)&&v(t,a,e[a]);if(y)for(var a of y(e))W.call(e,a)&&v(t,a,e[a]);return t},x=(t,e)=>K(t,U(e));var G=(t,e)=>{var a={};for(var r in t)j.call(t,r)&&e.indexOf(r)<0&&(a[r]=t[r]);if(t!=null&&y)for(var r of y(t))e.indexOf(r)<0&&W.call(t,r)&&(a[r]=t[r]);return a};import{a4 as w}from"./index-1786725044461.js";import{U as B,K as c,W as d}from"./screen2Standard-3427eaf8-1786725044461.js";const S=B.ui,H=B.number,n=[c.accentCyan,c.accentMint,c.accentWater,c.accentOrange,"#16b6e8","#b9fbff"],D=c.textPrimary,V=c.textStrong,k=c.textSecondary,m=c.textMuted,q=c.chartGridLine,Z=new Map([["#ffd76c","#8bf7ff"],["#ffe06b","#8bf7ff"],["#ffcf62","#8bf7ff"],["#ffbf5a","#8bf7ff"],["#ff9a62","#48cfff"],["#ff9a5c","#48cfff"],["#ff8f6b","#48cfff"],["#ff5a64","#8bf7ff"],["#ff4054","#30dcff"],["#7ee269","#24f6c4"],["#86dc62","#24f6c4"],["#a6f06d","#24f6c4"],["#c7e86b","#8bf7ff"],["#9ea7ff","#48cfff"],["#7aa7ff","#48cfff"]]),E={color:m,fontFamily:S,fontSize:d.chartAxis};function L(t,e={}){return o({trigger:"item",appendToBody:!0,confine:!1,backgroundColor:"rgba(5, 31, 51, 0.96)",borderColor:"rgba(0, 210, 255, 0.54)",borderWidth:1,padding:[7,10],textStyle:{color:D,fontFamily:S,fontSize:d.tooltip,lineHeight:18},extraCssText:"box-shadow:0 0 10px rgba(0,210,255,.12);z-index:2147483647!important;pointer-events:none;",formatter:t},e)}function N(t={}){return o({itemWidth:10,itemHeight:7,itemGap:8,textStyle:x(o({},E),{color:k,fontSize:d.chartAxis})},t)}function g(t=[],e={}){return o({type:"category",data:t,axisLabel:o(x(o({},E),{color:m,interval:0,hideOverlap:!0,margin:8}),e.axisLabel||{}),axisLine:o({lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},e.axisLine||{}),axisTick:o({show:!1},e.axisTick||{}),splitLine:o({show:!1},e.splitLine||{})},M(e))}function h(t={}){return o({type:"value",axisLabel:o(x(o({},E),{color:m}),t.axisLabel||{}),axisLine:o({show:!1},t.axisLine||{}),axisTick:o({show:!1},t.axisTick||{}),splitLine:o({lineStyle:{color:q,type:"dashed"}},t.splitLine||{})},M(t))}function $(t={}){return o({left:42,right:28,top:30,bottom:24,containLabel:!1},t)}function I(t,e=`${t}12`){return new w(0,0,0,1,[{offset:0,color:t},{offset:1,color:e}])}function F(t=n[0]){return new w(0,0,0,1,[{offset:0,color:"rgba(255,255,255,0.96)"},{offset:.16,color:t},{offset:.72,color:`${t}a3`},{offset:1,color:`${t}14`}])}function J(t,e=`${t}20`,a="#ffffff"){return new w(0,0,1,0,[{offset:0,color:e},{offset:.68,color:t},{offset:1,color:a}])}function C(t={}){var a,r,i;const e=o({textStyle:o({fontFamily:S,color:m},t.textStyle||{}),animation:(a=t.animation)!=null?a:!0,animationDuration:(r=t.animationDuration)!=null?r:900,animationDurationUpdate:(i=t.animationDurationUpdate)!=null?i:700,animationEasing:t.animationEasing||"cubicOut"},t);return T(e),z(e),e}function at({categories:t=[],rows:e=[],unit:a="",name:r="指标",orientation:i="vertical",colorIndex:s=0,grid:l={},showLabel:f=!0}={}){const u=i==="horizontal",P=e.map((b,p)=>({name:b.name||t[p],value:Number(b.value)||0,itemStyle:{borderRadius:u?[0,6,6,0]:[7,7,1,1],color:u?J(n[(s+p)%n.length],"rgba(48, 220, 255, 0.1)",n[(s+p)%n.length]):F(n[(s+p)%n.length])}}));return C({color:n,grid:$(o(u?{left:72,right:f?58:26,top:24,bottom:22}:{left:46,right:24,top:28,bottom:42},l)),tooltip:L(b=>`${b.marker}${b.name}:${A(b.value)}${a}`),xAxis:u?h():g(t,{axisLabel:{rotate:t.length>6?24:0}}),yAxis:u?g(t,{inverse:!0,axisLabel:{color:D,fontWeight:700}}):h(),series:[{name:r,type:"bar",barWidth:u?8:t.length>7?6:8,data:P,label:{show:f,position:u?"right":"top",color:V,fontFamily:H,fontSize:d.chartLabel,fontWeight:700,formatter:({value:b})=>A(b)}}]})}function rt({categories:t=[],series:e=[],unit:a="",grid:r={}}={}){return C({color:n,grid:$(o({left:46,right:20,top:42,bottom:42},r)),tooltip:L(i=>O(i,a),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((i,s)=>({name:i.name,type:"bar",barWidth:t.length>7?6:8,data:i.values||[],itemStyle:{borderRadius:[7,7,1,1],color:F(n[s%n.length])}}))})}function ot({categories:t=[],series:e=[],unit:a="",grid:r={}}={}){return C({color:n,grid:$(o({left:48,right:22,top:42,bottom:42},r)),tooltip:L(i=>O(i,a),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((i,s)=>({name:i.name,type:"bar",stack:"total",barWidth:t.length>7?6:8,data:i.values||[],itemStyle:{color:F(n[s%n.length])}}))})}function it({categories:t=[],series:e=[],unit:a="",area:r=!1,grid:i={}}={}){return C({color:n,grid:$(o({left:46,right:24,top:42,bottom:38},i)),tooltip:L(s=>O(s,a),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(139, 247, 255, 0.42)"}}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((s,l)=>{const f=n[l%n.length];return{name:s.name,type:"line",smooth:!0,symbol:"circle",symbolSize:5,data:s.values||[],lineStyle:{width:1.6,color:f,shadowColor:`${f}22`,shadowBlur:1},itemStyle:{color:"#041522",borderColor:f,borderWidth:1},areaStyle:r?{color:I(f,`${f}08`)}:void 0}})})}function A(t){const e=Number(t);return Number.isFinite(e)?Number.isInteger(e)?e.toLocaleString("zh-CN"):e.toLocaleString("zh-CN",{maximumFractionDigits:2}):"--"}function M(t={}){const l=t,{axisLabel:e,axisLine:a,axisTick:r,splitLine:i}=l;return G(l,["axisLabel","axisLine","axisTick","splitLine"])}function O(t,e=""){var s,l;const a=Array.isArray(t)?t:[t],r=((s=a[0])==null?void 0:s.axisValueLabel)||((l=a[0])==null?void 0:l.name)||"",i=a.map(f=>`${f.marker}${f.seriesName||f.name}:${A(f.value)}${e}`).join("
");return`${r}
${i}`}function z(t){if(!t||typeof t!="object")return;["textStyle","axisLabel","nameTextStyle","label","axisName"].forEach(a=>{!t[a]||typeof t[a]!="object"||(t[a]=Q(t[a]))}),Object.keys(t).forEach(a=>{const r=t[a];if(!(!r||typeof r!="object")&&!(a==="color"||a==="itemStyle"||a==="areaStyle"||a==="lineStyle")){if(Array.isArray(r)){r.forEach(z);return}z(r)}})}function T(t){!t||typeof t!="object"||Object.keys(t).forEach(e=>{const a=t[e];if(typeof a=="string"){t[e]=R(a);return}if(Array.isArray(a)){a.forEach((r,i)=>{typeof r=="string"?a[i]=R(r):T(r)});return}a&&typeof a=="object"&&T(a)})}function R(t){let e=t;return Z.forEach((a,r)=>{e=e.replace(new RegExp(r,"gi"),a)}),e=e.replace(/rgba\(\s*255\s*,\s*215\s*,\s*108\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)").replace(/rgba\(\s*255\s*,\s*224\s*,\s*107\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)").replace(/rgba\(\s*255\s*,\s*154\s*,\s*98\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*255\s*,\s*143\s*,\s*107\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*126\s*,\s*226\s*,\s*105\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*134\s*,\s*220\s*,\s*98\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*166\s*,\s*240\s*,\s*109\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*158\s*,\s*167\s*,\s*255\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*122\s*,\s*167\s*,\s*255\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*255\s*,\s*64\s*,\s*84\s*,\s*([^)]+)\)/gi,"rgba(48, 220, 255, $1)").replace(/rgba\(\s*255\s*,\s*90\s*,\s*100\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)"),e}function Q(t){const e=o({fontFamily:t.fontFamily||S},t);return e.color=X(e.color),typeof e.fontSize=="number"&&e.fontSize<10&&(e.fontSize=10),e}function X(t){if(typeof t!="string")return t;const e=t.match(/^rgba\(\s*(22[0-9]|23[0-9]|24[0-9]|25[0-5])\s*,\s*(24[0-9]|25[0-5])\s*,\s*(24[0-9]|25[0-5])\s*,\s*([0-9.]+)\s*\)$/i);if(!e)return t;const a=Number(e[4]);return!Number.isFinite(a)||a>=.72?t:a<.6?m:k}export{rt as a,ot as b,at as c,it as d,n as e,L as f,N as g,$ as h,g as i,A as j,I as k,k as l,V as m,S as n,D as o,q as p,H as q,F as s,h as v,C as w}; +var _=Object.defineProperty,K=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var v=(t,e,a)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,o=(t,e)=>{for(var a in e||(e={}))j.call(e,a)&&v(t,a,e[a]);if(y)for(var a of y(e))W.call(e,a)&&v(t,a,e[a]);return t},x=(t,e)=>K(t,U(e));var G=(t,e)=>{var a={};for(var r in t)j.call(t,r)&&e.indexOf(r)<0&&(a[r]=t[r]);if(t!=null&&y)for(var r of y(t))e.indexOf(r)<0&&W.call(t,r)&&(a[r]=t[r]);return a};import{a9 as w}from"./index-1786807848259.js";import{U as B,K as c,W as d}from"./screen2Standard-03f7f908-1786807848259.js";const S=B.ui,H=B.number,n=[c.accentCyan,c.accentMint,c.accentWater,c.accentOrange,"#16b6e8","#b9fbff"],D=c.textPrimary,V=c.textStrong,k=c.textSecondary,m=c.textMuted,q=c.chartGridLine,Z=new Map([["#ffd76c","#8bf7ff"],["#ffe06b","#8bf7ff"],["#ffcf62","#8bf7ff"],["#ffbf5a","#8bf7ff"],["#ff9a62","#48cfff"],["#ff9a5c","#48cfff"],["#ff8f6b","#48cfff"],["#ff5a64","#8bf7ff"],["#ff4054","#30dcff"],["#7ee269","#24f6c4"],["#86dc62","#24f6c4"],["#a6f06d","#24f6c4"],["#c7e86b","#8bf7ff"],["#9ea7ff","#48cfff"],["#7aa7ff","#48cfff"]]),E={color:m,fontFamily:S,fontSize:d.chartAxis};function L(t,e={}){return o({trigger:"item",appendToBody:!0,confine:!1,backgroundColor:"rgba(5, 31, 51, 0.96)",borderColor:"rgba(0, 210, 255, 0.54)",borderWidth:1,padding:[7,10],textStyle:{color:D,fontFamily:S,fontSize:d.tooltip,lineHeight:18},extraCssText:"box-shadow:0 0 10px rgba(0,210,255,.12);z-index:2147483647!important;pointer-events:none;",formatter:t},e)}function N(t={}){return o({itemWidth:10,itemHeight:7,itemGap:8,textStyle:x(o({},E),{color:k,fontSize:d.chartAxis})},t)}function g(t=[],e={}){return o({type:"category",data:t,axisLabel:o(x(o({},E),{color:m,interval:0,hideOverlap:!0,margin:8}),e.axisLabel||{}),axisLine:o({lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},e.axisLine||{}),axisTick:o({show:!1},e.axisTick||{}),splitLine:o({show:!1},e.splitLine||{})},M(e))}function h(t={}){return o({type:"value",axisLabel:o(x(o({},E),{color:m}),t.axisLabel||{}),axisLine:o({show:!1},t.axisLine||{}),axisTick:o({show:!1},t.axisTick||{}),splitLine:o({lineStyle:{color:q,type:"dashed"}},t.splitLine||{})},M(t))}function $(t={}){return o({left:42,right:28,top:30,bottom:24,containLabel:!1},t)}function I(t,e=`${t}12`){return new w(0,0,0,1,[{offset:0,color:t},{offset:1,color:e}])}function F(t=n[0]){return new w(0,0,0,1,[{offset:0,color:"rgba(255,255,255,0.96)"},{offset:.16,color:t},{offset:.72,color:`${t}a3`},{offset:1,color:`${t}14`}])}function J(t,e=`${t}20`,a="#ffffff"){return new w(0,0,1,0,[{offset:0,color:e},{offset:.68,color:t},{offset:1,color:a}])}function C(t={}){var a,r,i;const e=o({textStyle:o({fontFamily:S,color:m},t.textStyle||{}),animation:(a=t.animation)!=null?a:!0,animationDuration:(r=t.animationDuration)!=null?r:900,animationDurationUpdate:(i=t.animationDurationUpdate)!=null?i:700,animationEasing:t.animationEasing||"cubicOut"},t);return T(e),z(e),e}function at({categories:t=[],rows:e=[],unit:a="",name:r="指标",orientation:i="vertical",colorIndex:s=0,grid:l={},showLabel:f=!0}={}){const u=i==="horizontal",P=e.map((b,p)=>({name:b.name||t[p],value:Number(b.value)||0,itemStyle:{borderRadius:u?[0,6,6,0]:[7,7,1,1],color:u?J(n[(s+p)%n.length],"rgba(48, 220, 255, 0.1)",n[(s+p)%n.length]):F(n[(s+p)%n.length])}}));return C({color:n,grid:$(o(u?{left:72,right:f?58:26,top:24,bottom:22}:{left:46,right:24,top:28,bottom:42},l)),tooltip:L(b=>`${b.marker}${b.name}:${A(b.value)}${a}`),xAxis:u?h():g(t,{axisLabel:{rotate:t.length>6?24:0}}),yAxis:u?g(t,{inverse:!0,axisLabel:{color:D,fontWeight:700}}):h(),series:[{name:r,type:"bar",barWidth:u?8:t.length>7?6:8,data:P,label:{show:f,position:u?"right":"top",color:V,fontFamily:H,fontSize:d.chartLabel,fontWeight:700,formatter:({value:b})=>A(b)}}]})}function rt({categories:t=[],series:e=[],unit:a="",grid:r={}}={}){return C({color:n,grid:$(o({left:46,right:20,top:42,bottom:42},r)),tooltip:L(i=>O(i,a),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((i,s)=>({name:i.name,type:"bar",barWidth:t.length>7?6:8,data:i.values||[],itemStyle:{borderRadius:[7,7,1,1],color:F(n[s%n.length])}}))})}function ot({categories:t=[],series:e=[],unit:a="",grid:r={}}={}){return C({color:n,grid:$(o({left:48,right:22,top:42,bottom:42},r)),tooltip:L(i=>O(i,a),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((i,s)=>({name:i.name,type:"bar",stack:"total",barWidth:t.length>7?6:8,data:i.values||[],itemStyle:{color:F(n[s%n.length])}}))})}function it({categories:t=[],series:e=[],unit:a="",area:r=!1,grid:i={}}={}){return C({color:n,grid:$(o({left:46,right:24,top:42,bottom:38},i)),tooltip:L(s=>O(s,a),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(139, 247, 255, 0.42)"}}}),legend:N({top:0,right:4}),xAxis:g(t),yAxis:h(),series:e.map((s,l)=>{const f=n[l%n.length];return{name:s.name,type:"line",smooth:!0,symbol:"circle",symbolSize:5,data:s.values||[],lineStyle:{width:1.6,color:f,shadowColor:`${f}22`,shadowBlur:1},itemStyle:{color:"#041522",borderColor:f,borderWidth:1},areaStyle:r?{color:I(f,`${f}08`)}:void 0}})})}function A(t){const e=Number(t);return Number.isFinite(e)?Number.isInteger(e)?e.toLocaleString("zh-CN"):e.toLocaleString("zh-CN",{maximumFractionDigits:2}):"--"}function M(t={}){const l=t,{axisLabel:e,axisLine:a,axisTick:r,splitLine:i}=l;return G(l,["axisLabel","axisLine","axisTick","splitLine"])}function O(t,e=""){var s,l;const a=Array.isArray(t)?t:[t],r=((s=a[0])==null?void 0:s.axisValueLabel)||((l=a[0])==null?void 0:l.name)||"",i=a.map(f=>`${f.marker}${f.seriesName||f.name}:${A(f.value)}${e}`).join("
");return`${r}
${i}`}function z(t){if(!t||typeof t!="object")return;["textStyle","axisLabel","nameTextStyle","label","axisName"].forEach(a=>{!t[a]||typeof t[a]!="object"||(t[a]=Q(t[a]))}),Object.keys(t).forEach(a=>{const r=t[a];if(!(!r||typeof r!="object")&&!(a==="color"||a==="itemStyle"||a==="areaStyle"||a==="lineStyle")){if(Array.isArray(r)){r.forEach(z);return}z(r)}})}function T(t){!t||typeof t!="object"||Object.keys(t).forEach(e=>{const a=t[e];if(typeof a=="string"){t[e]=R(a);return}if(Array.isArray(a)){a.forEach((r,i)=>{typeof r=="string"?a[i]=R(r):T(r)});return}a&&typeof a=="object"&&T(a)})}function R(t){let e=t;return Z.forEach((a,r)=>{e=e.replace(new RegExp(r,"gi"),a)}),e=e.replace(/rgba\(\s*255\s*,\s*215\s*,\s*108\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)").replace(/rgba\(\s*255\s*,\s*224\s*,\s*107\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)").replace(/rgba\(\s*255\s*,\s*154\s*,\s*98\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*255\s*,\s*143\s*,\s*107\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*126\s*,\s*226\s*,\s*105\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*134\s*,\s*220\s*,\s*98\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*166\s*,\s*240\s*,\s*109\s*,\s*([^)]+)\)/gi,"rgba(36, 246, 196, $1)").replace(/rgba\(\s*158\s*,\s*167\s*,\s*255\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*122\s*,\s*167\s*,\s*255\s*,\s*([^)]+)\)/gi,"rgba(72, 207, 255, $1)").replace(/rgba\(\s*255\s*,\s*64\s*,\s*84\s*,\s*([^)]+)\)/gi,"rgba(48, 220, 255, $1)").replace(/rgba\(\s*255\s*,\s*90\s*,\s*100\s*,\s*([^)]+)\)/gi,"rgba(139, 247, 255, $1)"),e}function Q(t){const e=o({fontFamily:t.fontFamily||S},t);return e.color=X(e.color),typeof e.fontSize=="number"&&e.fontSize<10&&(e.fontSize=10),e}function X(t){if(typeof t!="string")return t;const e=t.match(/^rgba\(\s*(22[0-9]|23[0-9]|24[0-9]|25[0-5])\s*,\s*(24[0-9]|25[0-5])\s*,\s*(24[0-9]|25[0-5])\s*,\s*([0-9.]+)\s*\)$/i);if(!e)return t;const a=Number(e[4]);return!Number.isFinite(a)||a>=.72?t:a<.6?m:k}export{rt as a,ot as b,at as c,it as d,n as e,L as f,N as g,$ as h,g as i,A as j,I as k,k as l,V as m,S as n,D as o,q as p,H as q,F as s,h as v,C as w}; diff --git a/docs/assets/chinaBlurLine-1a2cbc0f-balabala-1786725044461.png b/docs/assets/chinaBlurLine-1a2cbc0f-balabala-1786807848259.png similarity index 100% rename from docs/assets/chinaBlurLine-1a2cbc0f-balabala-1786725044461.png rename to docs/assets/chinaBlurLine-1a2cbc0f-balabala-1786807848259.png diff --git a/docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1786725044461.svg b/docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1786807848259.svg similarity index 100% rename from docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1786725044461.svg rename to docs/assets/content-bottom-left-arrow-3a8a61f3-balabala-1786807848259.svg diff --git a/docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1786725044461.svg b/docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1786807848259.svg similarity index 100% rename from docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1786725044461.svg rename to docs/assets/content-bottom-right-arrow-a3c5270d-balabala-1786807848259.svg diff --git a/docs/assets/content-middle-line-162bc0d5-balabala-1786725044461.svg b/docs/assets/content-middle-line-162bc0d5-balabala-1786807848259.svg similarity index 100% rename from docs/assets/content-middle-line-162bc0d5-balabala-1786725044461.svg rename to docs/assets/content-middle-line-162bc0d5-balabala-1786807848259.svg diff --git a/docs/assets/featurePanelLayout-f3191169-1786725044461.js b/docs/assets/featurePanelLayout-f3191169-1786807848259.js similarity index 100% rename from docs/assets/featurePanelLayout-f3191169-1786725044461.js rename to docs/assets/featurePanelLayout-f3191169-1786807848259.js diff --git a/docs/assets/flyline6-525edf67-balabala-1786725044461.png b/docs/assets/flyline6-525edf67-balabala-1786807848259.png similarity index 100% rename from docs/assets/flyline6-525edf67-balabala-1786725044461.png rename to docs/assets/flyline6-525edf67-balabala-1786807848259.png diff --git a/docs/assets/focus_bg-b6803e2d-balabala-1786725044461.png b/docs/assets/focus_bg-b6803e2d-balabala-1786807848259.png similarity index 100% rename from docs/assets/focus_bg-b6803e2d-balabala-1786725044461.png rename to docs/assets/focus_bg-b6803e2d-balabala-1786807848259.png diff --git a/docs/assets/focus_move_bg-cf41417a-balabala-1786725044461.png b/docs/assets/focus_move_bg-cf41417a-balabala-1786807848259.png similarity index 100% rename from docs/assets/focus_move_bg-cf41417a-balabala-1786725044461.png rename to docs/assets/focus_move_bg-cf41417a-balabala-1786807848259.png diff --git a/docs/assets/header-bg-65b38012-balabala-1786725044461.png b/docs/assets/header-bg-65b38012-balabala-1786807848259.png similarity index 100% rename from docs/assets/header-bg-65b38012-balabala-1786725044461.png rename to docs/assets/header-bg-65b38012-balabala-1786807848259.png diff --git a/docs/assets/huiguang-3c5dfda5-balabala-1786725044461.png b/docs/assets/huiguang-3c5dfda5-balabala-1786807848259.png similarity index 100% rename from docs/assets/huiguang-3c5dfda5-balabala-1786725044461.png rename to docs/assets/huiguang-3c5dfda5-balabala-1786807848259.png diff --git a/docs/assets/icon1-6f7c222f-balabala-1786725044461.png b/docs/assets/icon1-6f7c222f-balabala-1786807848259.png similarity index 100% rename from docs/assets/icon1-6f7c222f-balabala-1786725044461.png rename to docs/assets/icon1-6f7c222f-balabala-1786807848259.png diff --git a/docs/assets/icon2-4f77ccec-balabala-1786725044461.png b/docs/assets/icon2-4f77ccec-balabala-1786807848259.png similarity index 100% rename from docs/assets/icon2-4f77ccec-balabala-1786725044461.png rename to docs/assets/icon2-4f77ccec-balabala-1786807848259.png diff --git a/docs/assets/index-01de7c66-balabala-1786725044461.css b/docs/assets/index-01de7c66-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-01de7c66-balabala-1786725044461.css rename to docs/assets/index-01de7c66-balabala-1786807848259.css diff --git a/docs/assets/index-09f1c557-balabala-1786807848259.css b/docs/assets/index-09f1c557-balabala-1786807848259.css new file mode 100644 index 0000000..87f26d3 --- /dev/null +++ b/docs/assets/index-09f1c557-balabala-1786807848259.css @@ -0,0 +1 @@ +.analysis-workbench[data-v-97404235]{position:relative;z-index:2;box-sizing:border-box;display:grid;grid-template-rows:66px 76px minmax(0,1fr);gap:12px;width:100%;height:100%;padding:4px 0 0;color:#effcff}.analysis-toolbar[data-v-97404235],.object-banner[data-v-97404235],.stage-card[data-v-97404235]{border:1px solid rgba(70,199,211,.2);background:rgba(4,28,41,.78)}.analysis-toolbar[data-v-97404235]{display:flex;align-items:center;justify-content:space-between;padding:0 18px}.analysis-title span[data-v-97404235],.analysis-title strong[data-v-97404235]{display:block}.analysis-title span[data-v-97404235]{margin-bottom:5px;color:#66e1dab3;font-size:11px}.analysis-title strong[data-v-97404235]{font-size:23px;font-weight:600;letter-spacing:1px}.analysis-progress[data-v-97404235]{width:355px}.analysis-progress>div[data-v-97404235]{display:flex;align-items:center;justify-content:space-between}.analysis-progress span[data-v-97404235]{color:#dcf6f8a6;font-size:12px}.analysis-progress span i[data-v-97404235]{display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:#62decf;box-shadow:0 0 10px #62decf}.analysis-progress>div>strong[data-v-97404235]{color:#78e5d7;font-family:var(--screen-font-number);font-size:21px}.analysis-progress p[data-v-97404235]{height:4px;margin:7px 0 0;overflow:hidden;background:rgba(85,181,192,.12)}.analysis-progress p i[data-v-97404235]{position:relative;display:block;height:100%;overflow:hidden;background:linear-gradient(90deg,#35a9ba,#6ce4d2);box-shadow:0 0 12px #58e4d280;transition:width .2s linear}.analysis-progress p i[data-v-97404235]:after{content:"";position:absolute;top:0;bottom:0;width:56px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:progress-glint-97404235 1.5s linear infinite}.object-banner[data-v-97404235]{display:grid;grid-template-columns:260px 1fr 150px;align-items:center}.object-main[data-v-97404235]{height:100%;padding:12px 18px;border-right:1px solid rgba(70,199,211,.15)}.object-main span[data-v-97404235],.object-main strong[data-v-97404235],.object-main small[data-v-97404235],.object-status span[data-v-97404235],.object-status strong[data-v-97404235]{display:block}.object-main span[data-v-97404235],.object-status span[data-v-97404235]{color:#d2f1f47a;font-size:10px}.object-main strong[data-v-97404235]{margin:3px 0;overflow:hidden;color:#efffff;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.object-main small[data-v-97404235]{color:#8bccd385;font-family:var(--screen-font-number);font-size:10px}.analysis-steps[data-v-97404235]{display:flex;align-items:center;justify-content:center;padding:0 18px}.analysis-steps>div[data-v-97404235]{position:relative;display:flex;align-items:center;min-width:118px;color:#dbf2f54d}.analysis-steps>div[data-v-97404235]:not(:last-child):after{content:"";width:28px;height:1px;margin:0 10px;background:rgba(81,188,197,.18)}.analysis-steps span[data-v-97404235]{display:grid;place-items:center;width:22px;height:22px;margin-right:7px;border:1px solid currentColor;border-radius:50%;font-family:var(--screen-font-number);font-size:10px}.analysis-steps strong[data-v-97404235]{font-size:11px;font-weight:500;white-space:nowrap}.analysis-steps .active[data-v-97404235],.analysis-steps .done[data-v-97404235]{color:#75e2d3}.analysis-steps .active span[data-v-97404235]{animation:step-pulse-97404235 1.35s ease-in-out infinite}.analysis-steps .done[data-v-97404235]:not(:last-child):after{background:linear-gradient(90deg,#62dccc,rgba(98,220,204,.22))}.object-status[data-v-97404235]{padding-right:18px;text-align:right}.object-status strong[data-v-97404235]{margin-top:6px;color:#e9c85d;font-size:16px}.analysis-chain[data-v-97404235]{display:grid;grid-template-columns:minmax(300px,1.2fr) 24px minmax(238px,.92fr) 24px minmax(270px,1.02fr) 24px minmax(260px,1fr);gap:8px;min-height:0}.stage-card[data-v-97404235]{position:relative;min-width:0;overflow:hidden;transition:border-color .35s ease,background .35s ease,opacity .35s ease}.stage-card[data-v-97404235]:before{content:"";position:absolute;left:-1px;top:0;width:2px;height:72px;background:rgba(72,219,210,.3)}.stage-card.is-future[data-v-97404235]{opacity:.48}.stage-card.is-active[data-v-97404235]{border-color:#5fe5d98c;background:rgba(6,43,55,.9);box-shadow:inset 0 0 32px #4dded20d}.stage-card.is-active[data-v-97404235]:after{content:"";position:absolute;top:68px;bottom:0;width:1px;background:linear-gradient(180deg,transparent,rgba(112,232,217,.55),transparent);box-shadow:0 0 14px #70e8d957;pointer-events:none;animation:stage-scan-97404235 2.2s linear infinite}.stage-card.is-done[data-v-97404235]{border-color:#4cc7c057}.stage-heading[data-v-97404235]{display:grid;grid-template-columns:34px 1fr auto;align-items:center;height:68px;padding:0 12px;border-bottom:1px solid rgba(67,184,196,.14);background:rgba(17,58,72,.38)}.stage-heading>span[data-v-97404235]{color:#6ce0d1;font-family:var(--screen-font-number);font-size:18px}.stage-heading h2[data-v-97404235],.stage-heading p[data-v-97404235]{margin:0}.stage-heading h2[data-v-97404235]{font-size:16px;font-weight:600}.stage-heading p[data-v-97404235]{margin-top:4px;color:#c3e6e961;font-size:9px}.stage-heading small[data-v-97404235]{color:#69dbd099;font-size:9px}.stage-connector[data-v-97404235]{position:relative;display:grid;place-items:center}.stage-connector>i[data-v-97404235]{width:100%;height:1px;background:rgba(76,202,204,.18)}.stage-connector>i[data-v-97404235]:after{content:"";position:absolute;right:1px;top:calc(50% - 4px);width:7px;height:7px;border-top:1px solid rgba(90,220,213,.45);border-right:1px solid rgba(90,220,213,.45);transform:rotate(45deg)}.stage-connector>span[data-v-97404235]{position:absolute;left:0;width:6px;height:6px;border-radius:50%;background:#6ce4d2;box-shadow:0 0 10px #6ce4d2;opacity:0}.stage-connector.active>span[data-v-97404235]{opacity:1;animation:connector-flow-97404235 1.25s linear infinite}.resource-total-grid[data-v-97404235]{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 12px 10px}.resource-total-grid>div[data-v-97404235]{padding:11px 10px;border:1px solid rgba(66,181,194,.16);background:rgba(3,27,39,.56)}.resource-total-grid span[data-v-97404235],.resource-total-grid strong[data-v-97404235],.resource-total-grid small[data-v-97404235]{display:block}.resource-total-grid span[data-v-97404235]{color:#cdecef85;font-size:9px}.resource-total-grid strong[data-v-97404235]{margin-top:4px;overflow:hidden;color:#66dfc4;font-family:var(--screen-font-number);font-size:19px;text-overflow:ellipsis}.resource-total-grid small[data-v-97404235]{color:#d0f0f25c;font-size:8px}.resource-total-grid .wetland-total strong[data-v-97404235]{color:#e6c15a}.type-section[data-v-97404235]{padding:9px 12px 3px}.type-title[data-v-97404235],.type-row[data-v-97404235]{display:grid;align-items:center}.type-title[data-v-97404235]{grid-template-columns:1fr auto;padding-bottom:7px;color:#c8eef080}.type-title strong[data-v-97404235]{color:#75dccb;font-size:11px}.wetland-types .type-title strong[data-v-97404235]{color:#dfbd58}.type-title span[data-v-97404235]{font-size:8px}.type-row[data-v-97404235]{grid-template-columns:82px minmax(30px,1fr) 60px 34px;gap:6px;min-height:29px;font-size:8px}.type-row>span[data-v-97404235]{overflow:hidden;color:#e1f7f8b8;text-overflow:ellipsis;white-space:nowrap}.type-row>div[data-v-97404235]{height:5px;overflow:hidden;background:rgba(73,157,169,.12)}.type-row>div i[data-v-97404235]{display:block;height:100%;background:#65dec8;transition:width .7s ease}.wetland-types .type-row>div i[data-v-97404235]{background:#d8b648}.type-row strong[data-v-97404235],.type-row em[data-v-97404235]{color:#effdfdbf;font-family:var(--screen-font-number);font-size:8px;font-style:normal;font-weight:500;text-align:right;white-space:nowrap}.type-row em[data-v-97404235]{color:#78ddd3ad}.primary-metric[data-v-97404235]{padding:18px 14px 7px;text-align:center}.primary-metric span[data-v-97404235],.primary-metric small[data-v-97404235],.secondary-metric span[data-v-97404235],.secondary-metric small[data-v-97404235]{color:#d3eff17a;font-size:9px}.primary-metric strong[data-v-97404235]{margin:0 5px;color:#77e3ce;font-family:var(--screen-font-number);font-size:36px}.secondary-metric[data-v-97404235]{text-align:center}.secondary-metric strong[data-v-97404235]{margin:0 4px;color:#a7d8cf;font-family:var(--screen-font-number);font-size:17px}.productivity-donut[data-v-97404235]{display:grid;place-items:center;width:134px;height:134px;margin:20px auto 16px;border-radius:50%;box-shadow:0 0 22px #4cdacb1f}.reveal-block[data-v-97404235]{opacity:0;transform:translateY(10px);transition:opacity .7s ease,transform .7s ease}.reveal-block.is-revealed[data-v-97404235]{opacity:1;transform:translateY(0)}.productivity-donut[data-v-97404235]:before{content:"";grid-area:1/1;width:98px;height:98px;border-radius:50%;background:#082536;box-shadow:inset 0 0 18px #00000059}.productivity-donut>div[data-v-97404235]{z-index:1;grid-area:1/1;text-align:center}.productivity-donut strong[data-v-97404235],.productivity-donut span[data-v-97404235]{display:block}.productivity-donut strong[data-v-97404235]{color:#76e2cf;font-family:var(--screen-font-number);font-size:25px}.productivity-donut span[data-v-97404235]{margin-top:4px;color:#d8f1f36b;font-size:8px}.contribution-legend[data-v-97404235]{padding:0 13px}.contribution-legend>div[data-v-97404235]{display:grid;grid-template-columns:7px 1fr auto;gap:7px;align-items:center;min-height:37px;border-bottom:1px solid rgba(70,175,188,.1)}.contribution-legend>div>i[data-v-97404235]{width:6px;height:6px;border-radius:50%}.contribution-legend span[data-v-97404235]{color:#e5f8f9ad;font-size:9px}.contribution-legend span small[data-v-97404235]{display:block;margin-top:2px;color:#bfe0e359;font-size:8px}.contribution-legend strong[data-v-97404235]{color:#e8f8f8;font-family:var(--screen-font-number);font-size:10px}.grass-production[data-v-97404235]{display:grid;grid-template-columns:1fr 20px 1fr;gap:5px;align-items:center;padding:18px 12px 12px}.grass-production>div[data-v-97404235]{padding:10px 6px;border:1px solid rgba(70,181,193,.14);background:rgba(3,27,39,.5);text-align:center}.grass-production span[data-v-97404235],.grass-production strong[data-v-97404235],.grass-production small[data-v-97404235]{display:block}.grass-production span[data-v-97404235]{color:#cdebee73;font-size:8px}.grass-production strong[data-v-97404235]{margin:4px 0 1px;color:#70dfca;font-family:var(--screen-font-number);font-size:21px}.grass-production>div:last-child strong[data-v-97404235]{color:#dfbd55}.grass-production small[data-v-97404235]{color:#ceecef57;font-size:8px}.grass-production>i[data-v-97404235]{position:relative;height:1px;background:rgba(77,210,207,.28)}.grass-production>i[data-v-97404235]:after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid #64d9ce;border-right:1px solid #64d9ce;transform:rotate(45deg)}.capacity-bars[data-v-97404235]{display:grid;grid-template-columns:1fr 1fr;gap:24px;height:290px;padding:16px 35px 0;border-bottom:1px solid rgba(68,176,188,.12)}.capacity-bars>div[data-v-97404235]{display:grid;grid-template-rows:20px 1fr 24px 15px;text-align:center}.capacity-bars span[data-v-97404235]{color:#d7f0f27a;font-size:9px}.capacity-bars p[data-v-97404235]{position:relative;align-self:end;width:34px;height:190px;margin:0 auto;border-bottom:1px solid rgba(80,194,200,.25);background:linear-gradient(180deg,rgba(64,157,166,.03),rgba(64,157,166,.1))}.capacity-bars p i[data-v-97404235]{position:absolute;left:4px;right:4px;bottom:0;background:linear-gradient(180deg,#7ce6d1,#3ea796);box-shadow:0 0 16px #57e0cb2e;transition:height .9s ease}.capacity-bars .livestock-bar p i[data-v-97404235]{background:linear-gradient(180deg,#e4c557,#ae852d);box-shadow:0 0 16px #e2c04c29}.capacity-bars strong[data-v-97404235]{color:#75dfcc;font-family:var(--screen-font-number);font-size:16px}.capacity-bars .livestock-bar strong[data-v-97404235]{color:#e4c45a}.capacity-bars small[data-v-97404235]{color:#d1eef057;font-size:8px}.capacity-summary[data-v-97404235]{display:flex;align-items:baseline;justify-content:center;gap:8px;padding-top:18px}.capacity-summary span[data-v-97404235],.capacity-summary small[data-v-97404235]{color:#d2eff16b;font-size:9px}.capacity-summary strong[data-v-97404235]{color:#e0bb4d;font-family:var(--screen-font-number);font-size:21px}.capacity-summary strong.surplus[data-v-97404235]{color:#6ee0ca}.verdict-visual[data-v-97404235]{display:grid;grid-template-columns:105px 1fr;align-items:center;padding:38px 18px 24px}.verdict-scale[data-v-97404235]{position:relative;width:82px;height:82px;border:1px solid rgba(80,220,211,.3);border-radius:50%;box-shadow:inset 0 0 24px #3dd7cc1a,0 0 18px #3dd7cc1a}.verdict-scale[data-v-97404235]:before,.verdict-scale[data-v-97404235]:after{content:"";position:absolute;left:50%;background:#67dbcf}.verdict-scale[data-v-97404235]:before{top:19px;width:1px;height:40px}.verdict-scale[data-v-97404235]:after{top:32px;width:48px;height:1px;transform:translate(-50%)}.verdict-scale i[data-v-97404235],.verdict-scale span[data-v-97404235]{position:absolute;top:32px;width:26px;height:20px;border-bottom:1px solid #67dbcf;border-radius:0 0 50% 50%}.verdict-scale i[data-v-97404235]{left:9px}.verdict-scale span[data-v-97404235]{right:9px}.verdict-visual>div:last-child>span[data-v-97404235],.verdict-visual>div:last-child>strong[data-v-97404235],.verdict-visual>div:last-child>small[data-v-97404235]{display:block}.verdict-visual>div:last-child>span[data-v-97404235]{color:#ceeef073;font-size:9px}.verdict-visual>div:last-child>strong[data-v-97404235]{margin:7px 0;color:#71dfcc;font-size:25px;line-height:1.2}.verdict-visual>div:last-child>small[data-v-97404235]{color:#daf2f485;font-size:9px}.verdict-evidence[data-v-97404235]{display:grid;grid-template-columns:1.35fr .65fr;gap:8px;padding:0 12px}.verdict-evidence>div[data-v-97404235]{padding:12px 6px;border:1px solid rgba(73,181,194,.15);background:rgba(4,29,41,.54);text-align:center}.verdict-evidence span[data-v-97404235],.verdict-evidence strong[data-v-97404235]{display:block}.verdict-evidence span[data-v-97404235]{color:#cfedef6b;font-size:8px}.verdict-evidence strong[data-v-97404235]{margin-top:6px;color:#e1be52;font-family:var(--screen-font-number);font-size:14px}.verdict-evidence .overload-rate-card[data-v-97404235]{position:relative;overflow:hidden;padding:15px 8px 13px;border-color:#e5be4980;background:linear-gradient(135deg,rgba(110,76,8,.28),rgba(38,41,25,.2));box-shadow:inset 0 0 20px #e1b83e14,0 0 16px #e1b83e14}.verdict-evidence .overload-rate-card[data-v-97404235]:before{content:"";position:absolute;top:0;left:18%;right:18%;height:2px;background:linear-gradient(90deg,transparent,#e5c456,transparent);box-shadow:0 0 10px #e5c45680}.verdict-evidence .overload-rate-card span[data-v-97404235]{color:#f0d98fb8;font-size:10px;letter-spacing:1px}.verdict-evidence .overload-rate-card strong[data-v-97404235]{margin-top:7px;color:#f3cf5b;font-size:30px;font-weight:700;line-height:1;text-shadow:0 0 14px rgba(238,196,70,.34)}.verdict-evidence .overload-rate-card.is-surplus[data-v-97404235]{border-color:#5cdac26b;background:linear-gradient(135deg,rgba(18,99,87,.24),rgba(15,48,47,.18))}.verdict-evidence .overload-rate-card.is-surplus[data-v-97404235]:before{background:linear-gradient(90deg,transparent,#6ee0ca,transparent);box-shadow:0 0 10px #6ee0ca73}.verdict-evidence .overload-rate-card.is-surplus strong[data-v-97404235]{color:#71e2ce;text-shadow:0 0 14px rgba(99,222,200,.3)}.verdict-advice[data-v-97404235]{margin:16px 12px 0;padding:14px;border:1px solid rgba(207,177,68,.24);background:rgba(84,66,14,.12)}.verdict-advice span[data-v-97404235]{color:#d7b647;font-size:9px}.verdict-advice p[data-v-97404235]{margin:8px 0 0;color:#e7f4f1bd;font-size:11px;line-height:1.75}.stage-loading[data-v-97404235],.detail-unavailable[data-v-97404235]{display:grid;place-items:center;align-content:center;gap:13px;height:calc(100% - 70px);color:#cbebee57}.stage-loading i[data-v-97404235],.detail-unavailable i[data-v-97404235]{width:44px;height:4px;overflow:hidden;background:rgba(72,174,185,.12)}.stage-loading i[data-v-97404235]:after,.detail-unavailable i[data-v-97404235]:after{content:"";display:block;width:18px;height:100%;background:#65dacc;animation:loading-slide-97404235 1.2s ease-in-out infinite}.stage-loading strong[data-v-97404235],.detail-unavailable strong[data-v-97404235]{font-size:10px;font-weight:500}.productivity-empty[data-v-97404235]{height:calc(100% - 70px)}.resource-stage .detail-unavailable[data-v-97404235]{height:210px}@keyframes connector-flow-97404235{0%{transform:translate(0)}to{transform:translate(22px)}}@keyframes progress-glint-97404235{0%{transform:translate(-64px)}to{transform:translate(360px)}}@keyframes step-pulse-97404235{0%,to{box-shadow:0 0 #64e0d200}50%{box-shadow:0 0 14px #64e0d26b}}@keyframes stage-scan-97404235{0%{left:0;opacity:0}12%,88%{opacity:1}to{left:100%;opacity:0}}@keyframes loading-slide-97404235{0%,to{transform:translate(-18px);opacity:.3}50%{transform:translate(44px);opacity:1}}.grass-livestock-balance{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:radial-gradient(circle at 50% 35%,rgba(63,235,219,.16),transparent 28%),radial-gradient(circle at 73% 62%,rgba(255,211,103,.08),transparent 32%),radial-gradient(circle at 22% 78%,rgba(52,152,125,.1),transparent 30%),linear-gradient(135deg,#020a12 0%,#062439 50%,#03101b 100%)}.grass-livestock-balance:before,.grass-livestock-balance:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.grass-livestock-balance:before{background:linear-gradient(rgba(89,233,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(89,233,255,.014) 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:radial-gradient(circle at 50% 47%,#000 0 48%,transparent 78%);mask-image:radial-gradient(circle at 50% 47%,#000 0 48%,transparent 78%)}.grass-livestock-balance:after{background:linear-gradient(112deg,transparent 0 35%,rgba(126,251,246,.055) 44%,transparent 54% 100%),linear-gradient(180deg,rgba(1,7,13,.18),rgba(1,7,13,.58));mix-blend-mode:screen;opacity:.78}.balance-backdrop{position:absolute;left:50%;top:104px;z-index:1;width:1740px;height:944px;transform:translate(-50%);pointer-events:none;background:radial-gradient(ellipse at 50% 30%,rgba(126,251,246,.16),transparent 34%),linear-gradient(90deg,transparent,rgba(126,251,246,.045),rgba(255,215,108,.026),transparent),linear-gradient(rgba(48,220,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(48,220,255,.018) 1px,transparent 1px);background-size:100% 100%,100% 100%,42px 42px,42px 42px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent)}.balance-backdrop:before,.balance-backdrop:after{content:"";position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.5),rgba(255,215,108,.34),transparent);box-shadow:0 0 22px #7efbf633}.balance-backdrop:before{top:64px}.balance-backdrop:after{bottom:42px}.balance-energy-band{position:absolute;left:96px;right:96px;top:108px;height:460px;background:radial-gradient(ellipse at 50% 50%,rgba(36,246,196,.16),transparent 56%),linear-gradient(90deg,transparent,rgba(126,251,246,.1),rgba(255,215,108,.055),transparent),repeating-linear-gradient(90deg,transparent 0 32px,rgba(126,251,246,.04) 32px 33px);opacity:.78;transform:perspective(820px) rotateX(60deg);transform-origin:top;animation:balance-band-pulse 4.6s ease-in-out infinite}.balance-orbit{position:absolute;top:108px;width:282px;height:282px;border:1px solid rgba(126,251,246,.08);border-radius:50%;box-shadow:inset 0 0 38px #7efbf60d,0 0 36px #7efbf60a}.balance-orbit:before,.balance-orbit:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.balance-orbit:before{top:22px;right:22px;bottom:22px;left:22px;border:1px dashed rgba(126,251,246,.08)}.balance-orbit:after{top:72px;right:72px;bottom:72px;left:72px;border:1px solid rgba(255,215,108,.05)}.balance-orbit.is-left{left:285px}.balance-orbit.is-right{right:285px}.balance-screen{position:absolute;left:50%;top:128px;z-index:4;display:grid;grid-template-columns:326px 1310px;align-items:start;gap:24px;width:1660px;transform:translate(-50%);pointer-events:none}.balance-card{height:var(--balance-card-height)!important;filter:drop-shadow(0 18px 28px rgba(0,0,0,.28)) drop-shadow(0 0 24px rgba(31,209,220,.04));pointer-events:all}.balance-card .m-card-bd,.balance-card .m-card-bd-bg{height:var(--balance-card-height)!important}.balance-card .m-card-hd-bg,.balance-card .m-card-hd-zs1,.balance-card .m-card-bd-bg>svg,.balance-card .m-card-bd-bottom-left-arrow,.balance-card .m-card-bd-bottom-right-arrow,.balance-card .m-card-bd-middle-left-line,.balance-card .m-card-bd-middle-right-line{opacity:0}.balance-card .m-card-hd{height:44px;background:linear-gradient(90deg,rgba(48,220,255,.2),rgba(48,220,255,.05) 44%,transparent),linear-gradient(180deg,rgba(12,90,107,.58),rgba(4,28,44,0));clip-path:polygon(0 0,154px 0,178px 20px,100% 20px,100% 44px,0 44px)}.balance-card .m-card-hd:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.56),rgba(255,215,108,.22),transparent 72%);box-shadow:0 0 14px #7efbf62e}.balance-card .m-card-hd:after{content:"";position:absolute;right:18px;top:10px;width:168px;height:8px;background:repeating-linear-gradient(90deg,rgba(126,251,246,.28) 0 9px,transparent 9px 15px);opacity:.58;transform:skew(28deg)}.balance-card .m-card-bd{background:radial-gradient(circle at 50% 0,rgba(126,251,246,.075),transparent 34%),linear-gradient(135deg,rgba(126,251,246,.052),transparent 24%),linear-gradient(315deg,rgba(255,215,108,.028),transparent 32%),linear-gradient(180deg,rgba(4,39,54,.5),rgba(1,16,27,.58));clip-path:polygon(0 0,calc(100% - 30px) 0,100% 30px,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%)}.balance-card .m-card-bd:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(48,220,255,.12);box-shadow:inset 0 0 40px #30dcff06,inset 0 0 1px #7efbf62e;clip-path:inherit;pointer-events:none}.balance-card .m-card-bd:after{content:"";position:absolute;top:42px;right:1px;bottom:1px;left:1px;background:linear-gradient(rgba(126,251,246,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(126,251,246,.016) 1px,transparent 1px);background-size:38px 38px;opacity:.46;pointer-events:none}.balance-card .m-card-bd-content{top:44px;bottom:10px;color:#f3feff}.balance-card .m-card-bd-bg:after{content:"";position:absolute;top:5px;right:6px;bottom:7px;left:6px;pointer-events:none;border:0;background:linear-gradient(140deg,rgba(32,199,214,.035),transparent 34%),linear-gradient(180deg,rgba(17,72,90,.025),rgba(5,28,42,.035))}.balance-sheet-card{filter:none}.balance-sheet-card .m-card-hd{background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.055) 36%,transparent 58%)}.balance-sheet-card .m-card-hd:before{right:32%;background:linear-gradient(90deg,rgba(126,251,246,.62),rgba(255,215,108,.24),transparent)}.balance-sheet-card .m-card-hd:after{display:none}.balance-sheet-card .m-card-bd{background:radial-gradient(circle at 50% 43%,rgba(36,246,196,.075),transparent 30%),linear-gradient(180deg,rgba(6,48,63,.12),rgba(1,13,23,.16))}.balance-sheet-card .m-card-bd:before{border-color:transparent;box-shadow:none}.balance-sheet-card .m-card-bd:after{opacity:.24}.balance-sheet-card .m-card-bd-bg:after{background:none}.balance-target-card{filter:drop-shadow(0 14px 24px rgba(0,0,0,.26)) drop-shadow(0 0 16px rgba(31,209,220,.04))}.balance-target-card .m-card-hd{background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04) 58%,transparent)}.balance-target-card .m-card-hd:before{right:18%}.balance-target-card .m-card-bd{background:radial-gradient(circle at 84% 18%,rgba(255,215,108,.08),transparent 28%),linear-gradient(180deg,rgba(5,42,56,.34),rgba(1,15,25,.42))}.balance-target-card .m-card-bd:before{border-color:#30dcff0e;border-left-color:#30dcff29;border-bottom-color:#30dcff1f}.balance-target-card .m-card-bd-bg:after{background:radial-gradient(circle at 82% 28%,rgba(255,215,108,.045),transparent 28%),linear-gradient(180deg,rgba(48,220,255,.018),transparent 44%)}.grass-livestock-balance .m-card-hd-title{left:22px!important;height:44px!important;line-height:38px!important;color:#fff!important;font-size:15px!important;letter-spacing:1px!important;background:none!important;-webkit-text-fill-color:#fff!important;font-weight:800!important;filter:brightness(1.2) contrast(1.08)!important;text-shadow:0 0 1px rgba(255,255,255,.96),0 0 8px rgba(255,255,255,.22)!important}.balance-selector{display:grid;grid-template-rows:40px minmax(112px,1fr) 154px;gap:16px;height:100%;padding:10px 10px 12px;box-sizing:border-box}.balance-scope-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.balance-scope-tabs button{position:relative;height:36px;min-width:0;border:0;background:linear-gradient(180deg,rgba(9,53,69,.28),rgba(4,25,39,.18)),linear-gradient(90deg,rgba(126,251,246,.04),transparent);color:#dffaffc2;font-size:12px;cursor:pointer;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);transition:color .2s ease,border-color .2s ease,background .2s ease}.balance-scope-tabs button:after{content:"";position:absolute;left:18%;right:18%;bottom:4px;height:1px;background:rgba(126,251,246,.46);opacity:0;box-shadow:0 0 10px #7efbf64d}.balance-scope-tabs button.active,.balance-scope-tabs button:hover{background:linear-gradient(90deg,rgba(20,122,128,.5),rgba(255,215,108,.12)),rgba(3,28,39,.22);color:#fff}.balance-scope-tabs button.active:after,.balance-scope-tabs button:hover:after{opacity:1}.balance-target-list{display:grid;align-content:start;gap:9px;min-height:0;overflow-y:auto;padding-right:4px}.balance-target-list::-webkit-scrollbar{width:3px}.balance-target-list::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.balance-target-list button{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0;height:42px;padding:0 12px 0 15px;border:0;background:linear-gradient(90deg,rgba(48,220,255,.1),transparent 66%),linear-gradient(180deg,rgba(8,45,59,.22),rgba(3,20,31,.12));color:#dffaffc7;cursor:pointer;box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%);transition:transform .18s ease,color .18s ease,background .18s ease}.balance-target-list button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-target-list button:after{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;background:rgba(126,251,246,.38);opacity:0}.balance-target-list button:hover{transform:translate(3px);color:#fff}.balance-target-list button:hover:before{border-color:#7efbf63d}.balance-target-list span,.balance-target-list small{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:1}.balance-target-list span{font-size:14px}.balance-target-list small{color:#7efbf68f;font-size:12px;text-align:right}.balance-target-list button.active{background:linear-gradient(90deg,rgba(255,215,108,.24),rgba(31,122,130,.46) 58%,rgba(4,27,42,.14)),rgba(4,27,42,.26);color:#fff;transform:translate(5px)}.balance-target-list button.active:before{border-color:#ffd76c75;box-shadow:inset 0 0 16px #ffd76c1a}.balance-target-list button.active:after{opacity:1;background:#ffd76c;box-shadow:0 0 12px #ffd76c61}.balance-action-box{position:relative;display:grid;align-content:center;min-width:0;padding:16px;background:radial-gradient(circle at 90% 18%,rgba(255,215,108,.1),transparent 30%),linear-gradient(135deg,rgba(255,215,108,.055),transparent 42%),linear-gradient(180deg,rgba(4,27,42,.16),rgba(4,27,42,.08));box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);animation:balance-stream-reveal .18s ease both}.balance-action-box:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-left:1px solid rgba(48,220,255,.13);border-bottom:1px solid rgba(48,220,255,.06);clip-path:inherit;pointer-events:none}.balance-action-box:after{content:"";position:absolute;left:17px;right:17px;bottom:58px;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.38),transparent);pointer-events:none}.balance-action-box span,.balance-action-box strong,.balance-action-box small{position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:1}.balance-action-box span,.balance-action-box small{color:#dffaffa3;font-size:12px}.balance-action-box strong{margin-top:8px;color:#fff;font-size:25px;line-height:32px;text-shadow:0 0 16px rgba(126,251,246,.16)}.balance-action-box small{margin-top:4px;color:#7efbf6b8}.balance-action-box button{position:relative;z-index:1;width:148px;height:42px;margin-top:18px;border:1px solid rgba(255,215,108,.38);background:linear-gradient(90deg,rgba(255,215,108,.3),rgba(48,220,255,.14)),rgba(4,27,42,.55);color:#fff;cursor:pointer;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);box-shadow:inset 0 0 16px #ffd76c14,0 0 18px #ffd76c14;transition:transform .18s ease,box-shadow .18s ease}.balance-action-box button:not(:disabled):hover{transform:translateY(-1px);box-shadow:inset 0 0 18px #ffd76c1f,0 0 22px #ffd76c24}.balance-action-box button:disabled{cursor:default;opacity:.55}.balance-sheet{position:relative;height:100%;padding:8px 18px 18px;overflow:hidden;box-sizing:border-box}.balance-sheet:before{content:"";position:absolute;left:22px;right:22px;top:9px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.45),rgba(255,215,108,.28),transparent);animation:balance-scan 2.8s linear infinite;pointer-events:none}.balance-sheet:after{content:"";position:absolute;left:18px;right:18px;bottom:14px;height:38%;background:radial-gradient(ellipse at 50% 100%,rgba(126,251,246,.14),transparent 68%);pointer-events:none}.balance-field-lines{position:absolute;top:86px;right:70px;bottom:116px;left:70px;z-index:0;pointer-events:none}.balance-field-lines:before{content:"";position:absolute;left:4%;right:4%;top:45%;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.22),rgba(255,215,108,.14),rgba(126,251,246,.22),transparent);box-shadow:0 0 20px #7efbf614}.balance-field-lines:after{content:"";position:absolute;left:20%;right:20%;top:21%;height:330px;background:radial-gradient(ellipse at 50% 26%,rgba(36,246,196,.14),transparent 50%),repeating-linear-gradient(90deg,transparent 0 42px,rgba(126,251,246,.032) 42px 43px);transform:perspective(700px) rotateX(58deg);transform-origin:top;opacity:.86}.balance-field-lines i{position:absolute;top:44%;width:220px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.42),transparent);transform-origin:center;animation:balance-field-drift 5.2s ease-in-out infinite}.balance-field-lines i:nth-child(1){left:12%;transform:rotate(-16deg)}.balance-field-lines i:nth-child(2){left:42%;width:280px;animation-delay:-1.4s}.balance-field-lines i:nth-child(3){right:11%;transform:rotate(16deg);animation-delay:-2.6s}.balance-waiting,.balance-running{position:relative;z-index:1;display:grid;grid-template-rows:minmax(0,1fr) 86px;gap:22px;height:100%;text-align:center}.balance-wait-core{position:relative;display:grid;justify-items:center;align-content:center;gap:20px}.balance-wait-core:before{content:"";position:absolute;width:760px;height:330px;background:radial-gradient(ellipse at 50% 38%,rgba(36,246,196,.2),transparent 52%),linear-gradient(90deg,transparent,rgba(126,251,246,.1),transparent),repeating-linear-gradient(90deg,transparent 0 34px,rgba(126,251,246,.04) 34px 35px);transform:perspective(640px) rotateX(63deg) translateY(86px);transform-origin:bottom;pointer-events:none}.balance-wait-core>*{position:relative;z-index:1}.balance-core-ring{position:relative;display:grid;place-items:center;width:178px;height:178px;border-radius:50%;background:conic-gradient(from -90deg,#24f6c4 var(--usage-angle, 0deg),rgba(48,220,255,.12) var(--usage-angle, 0deg),rgba(48,220,255,.12) 360deg);box-shadow:0 0 34px #24f6c433,0 0 82px #24f6c411,inset 0 0 32px #02101ab8}.balance-core-ring:before,.balance-core-ring:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.balance-core-ring:before{top:9px;right:9px;bottom:9px;left:9px;border:1px solid rgba(126,251,246,.24);animation:balance-rotate 8s linear infinite;box-shadow:inset 0 0 18px #7efbf60f}.balance-core-ring:after{top:-10px;right:-10px;bottom:-10px;left:-10px;border:1px dashed rgba(126,251,246,.18);animation:balance-rotate 14s linear infinite reverse}.balance-core-ring.is-empty{--usage-angle: 42deg;background:conic-gradient(from -90deg,rgba(126,251,246,.28) 0deg 42deg,rgba(48,220,255,.1) 42deg 360deg)}.balance-core-ring.is-empty .balance-core-inner strong{max-width:134px;font-size:30px;line-height:34px}.balance-core-inner{position:relative;z-index:1;display:grid;place-items:center;align-content:center;width:136px;height:136px;border-radius:50%;background:radial-gradient(circle,rgba(8,48,58,.9),rgba(2,17,27,.96) 68%),rgba(2,17,27,.92);text-align:center}.balance-core-inner span,.balance-core-inner strong,.balance-core-inner small{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-core-inner span,.balance-core-inner small{color:#dffaffa8;font-size:12px}.balance-core-inner strong{margin:8px 0 5px;color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:34px;line-height:36px;text-shadow:0 0 18px rgba(36,246,196,.35)}.balance-waiting h2{max-width:940px;margin:0;overflow:hidden;color:#fff;font-size:33px;line-height:42px;text-overflow:ellipsis;white-space:nowrap}.balance-waiting p{max-width:720px;margin:0;color:#dffaffb3;font-size:15px;line-height:24px}.balance-retry-button{min-width:176px;height:40px;padding:0 20px;border:1px solid rgba(126,251,246,.66);border-radius:2px;color:#f8ffff;background:linear-gradient(180deg,rgba(24,115,133,.92),rgba(4,46,63,.94));box-shadow:0 8px 22px #00081042,inset 0 0 0 1px #ffffff0d;cursor:pointer;font-size:13px;font-weight:650}.balance-retry-button:hover:not(:disabled){border-color:#7efbf6;background:linear-gradient(180deg,rgba(34,145,158,.96),rgba(5,60,76,.96))}.balance-retry-button:disabled{cursor:wait;opacity:.66}.balance-preflight{display:grid;grid-template-columns:112px minmax(0,1fr) 136px minmax(0,1fr) 148px;align-items:center;max-width:760px;width:100%;margin:0 auto}.balance-preflight span{position:relative;height:34px;color:#dffaff85;font-size:13px;line-height:34px;text-align:center;background:transparent;clip-path:none}.balance-preflight span:before{content:"";position:absolute;left:50%;top:-8px;width:8px;height:8px;border:1px solid rgba(126,251,246,.4);background:rgba(6,44,58,.7);transform:translate(-50%) rotate(45deg);box-shadow:0 0 12px #7efbf61a}.balance-preflight span.active{color:#7efbf6;box-shadow:none}.balance-preflight span.active:before{border-color:#ffd76c94;background:rgba(255,215,108,.28)}.balance-preflight i{height:1px;background:linear-gradient(90deg,rgba(126,251,246,.1),rgba(126,251,246,.6),rgba(255,215,108,.34))}.balance-running{grid-template-rows:218px minmax(0,1fr);text-align:left}.balance-running-head{position:relative;display:grid;grid-template-columns:238px minmax(0,1fr);align-items:center;gap:34px;padding:34px 84px 22px}.balance-running-head:before{content:"";position:absolute;left:64px;right:64px;bottom:4px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.44),rgba(255,215,108,.28),transparent)}.balance-running-title{min-width:0}.balance-running-title span,.balance-running-title strong,.balance-running-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-running-title span{color:#7efbf6b8;font-size:16px}.balance-running-title strong{margin-top:12px;color:#fff;font-size:36px;line-height:44px;text-shadow:0 0 18px rgba(126,251,246,.14)}.balance-running-title small{margin-top:10px;color:#ffd76cb8;font-variant-numeric:tabular-nums;font-size:16px}.balance-progress-line{position:relative;height:13px;margin-top:22px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,.05)),rgba(1,12,21,.5);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-progress-line i{display:block;height:100%;background:linear-gradient(90deg,rgba(36,246,196,.18),#24f6c4,#ffd76c);box-shadow:0 0 18px #24f6c438;transition:width .16s linear}.balance-progress-line:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);animation:balance-flow-light 1.4s linear infinite}.balance-running-body{min-height:0;padding:0 84px 30px;overflow:hidden}.balance-stream-list{width:100%;height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%)}.balance-stream-list::-webkit-scrollbar{display:none}.balance-stream-items{display:grid;grid-auto-rows:72px;align-content:start;gap:10px;min-height:100%;padding:24px 0 30px;box-sizing:border-box}.balance-stream-line{position:relative;display:grid;grid-template-columns:46px minmax(132px,190px) minmax(0,1fr);align-items:center;gap:18px;width:100%;min-height:72px;padding:0 26px;overflow:hidden;background:linear-gradient(90deg,rgba(36,246,196,.13),rgba(48,220,255,.055) 56%,rgba(255,215,108,.03)),rgba(3,28,42,.82);border-left:2px solid rgba(36,246,196,.7);box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);opacity:.72;transition:opacity .22s ease,background .22s ease}.balance-stream-line:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,#24f6c4,rgba(48,220,255,.28),transparent)}.balance-stream-line>span{width:34px;height:34px;color:#7efbf6;border:1px solid rgba(126,251,246,.38);font-family:D-DIN,Arial,sans-serif;font-size:14px;line-height:32px;text-align:center}.balance-stream-line strong,.balance-stream-line p,.balance-stream-line em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-stream-line strong{color:#fff;font-size:19px}.balance-stream-line p{margin:0;color:#7efbf6;font-family:D-DIN,AlibabaPuHuiTi,Arial,sans-serif;font-size:18px}.balance-stream-line em{color:#ffd76c;font-style:normal}.balance-stream-line.is-loading{display:flex;justify-content:center;min-height:72px;margin-top:24px;color:#dffaffa8;font-size:16px;opacity:1}.balance-stream-line.is-current{background:linear-gradient(90deg,rgba(36,246,196,.19),rgba(48,220,255,.075) 56%,rgba(255,215,108,.045)),rgba(3,28,42,.9);opacity:1}.balance-stream-enter-active{animation:balance-stream-append .28s ease both}@keyframes balance-stream-append{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes balance-stream-reveal{0%{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.balance-stage-data{display:grid;grid-template-rows:36px minmax(0,1fr);gap:10px;min-width:0;min-height:0;padding:14px 16px;background:linear-gradient(180deg,rgba(7,48,62,.88),rgba(3,28,42,.86));border:1px solid rgba(48,220,255,.12);box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}.balance-stage-data-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid rgba(126,251,246,.16)}.balance-stage-data-title span{color:#fff;font-size:16px}.balance-stage-data-title small{color:#7efbf6ad;font-size:12px}.balance-stage-data-list{display:grid;align-content:start;gap:6px;min-height:0;overflow:hidden}.balance-stage-data-row{display:grid;grid-template-columns:minmax(90px,.74fr) minmax(150px,1fr) minmax(150px,1.12fr);align-items:center;gap:12px;min-height:34px;padding:0 12px;background:rgba(4,33,46,.76);border-left:2px solid rgba(36,246,196,.4);box-sizing:border-box}.balance-stage-data-row strong,.balance-stage-data-row span,.balance-stage-data-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-stage-data-row strong{color:#fff;font-size:13px}.balance-stage-data-row span{color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:13px}.balance-stage-data-row em{color:#ffd76cc7;font-size:12px;font-style:normal;text-align:right}.balance-stage-data-empty{display:grid;place-items:center;color:#dffaff94;font-size:14px}.balance-live-process{display:grid;gap:11px;min-height:0;padding:0}.balance-live-step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;min-height:74px;padding:0 20px;background:linear-gradient(90deg,rgba(48,220,255,.075),transparent 48%),linear-gradient(180deg,rgba(6,38,51,.22),rgba(2,20,32,.08));opacity:.42;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%);transition:opacity .2s ease,transform .2s ease}.balance-live-step:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.075);clip-path:inherit;pointer-events:none}.balance-live-step>span{width:32px;height:32px;border:1px solid rgba(126,251,246,.34);color:#7efbf6c7;font-family:D-DIN,Arial,sans-serif;font-size:14px;line-height:30px;text-align:center}.balance-live-step div{min-width:0}.balance-live-step strong,.balance-live-step p,.balance-live-step em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-live-step strong{display:block;color:#fff;font-size:15px}.balance-live-step p{margin:7px 0 0;color:#ffd76ca8;font-variant-numeric:tabular-nums;font-size:12px}.balance-live-step em{color:#dffaff9e;font-family:D-DIN,Arial,sans-serif;font-size:17px;font-style:normal;text-align:right}.balance-live-step.is-active,.balance-live-step.is-done{opacity:1}.balance-live-step.is-active{transform:translate(8px);background:linear-gradient(90deg,rgba(36,246,196,.18),rgba(255,215,108,.09),transparent 66%),linear-gradient(180deg,rgba(10,58,70,.56),rgba(4,34,48,.42))}.balance-live-step.is-active:before{border-color:#7efbf66b;box-shadow:inset 0 0 18px #7efbf61a}.balance-live-step.is-active>span{background:rgba(36,246,196,.1);box-shadow:0 0 18px #24f6c41f}.balance-live-step.is-active p{animation:balance-value-pulse .44s ease-in-out infinite alternate}.balance-live-step.is-done em,.balance-live-step.is-active em{color:#7efbf6}.balance-analysis{display:grid;position:relative;z-index:1;grid-template-rows:214px 108px minmax(0,1fr);gap:15px;height:100%}.balance-dashboard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 282px minmax(0,1fr);align-items:center;gap:24px;min-height:0;padding:18px 26px;background:radial-gradient(circle at 50% 50%,rgba(36,246,196,.2),transparent 36%),radial-gradient(ellipse at 50% 100%,rgba(48,220,255,.1),transparent 58%),linear-gradient(90deg,rgba(48,220,255,.07),rgba(2,18,30,.1) 48%,rgba(255,215,108,.055));clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px))}.balance-dashboard:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.12);border-bottom:1px solid rgba(48,220,255,.08);box-shadow:inset 0 0 34px #24f6c409;clip-path:inherit;pointer-events:none}.balance-dashboard:after{content:"";position:absolute;left:246px;right:246px;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.42),rgba(255,215,108,.34),transparent);pointer-events:none}.balance-dashboard>*{position:relative;z-index:1}.balance-object-block,.balance-verdict-card{position:relative;z-index:1;min-width:0;padding:18px 22px;background:radial-gradient(circle at 16% 0,rgba(126,251,246,.12),transparent 38%),linear-gradient(135deg,rgba(126,251,246,.075),transparent 50%),rgba(2,21,33,.2);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)}.balance-object-block:before,.balance-verdict-card:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.5),transparent)}.balance-object-block span,.balance-object-block strong,.balance-object-block small,.balance-verdict-card span,.balance-verdict-card strong,.balance-verdict-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-object-block span,.balance-object-block small,.balance-verdict-card span,.balance-verdict-card small{color:#dffaff9e;font-size:12px}.balance-object-block strong{margin-top:8px;color:#fff;font-size:38px;line-height:44px;text-shadow:0 0 18px rgba(255,255,255,.12)}.balance-verdict-card{text-align:right}.balance-verdict-card strong{margin-top:8px;color:#ffd76c;font-family:D-DIN,Arial,sans-serif;font-size:38px;line-height:44px;text-shadow:0 0 20px rgba(255,215,108,.34)}.balance-verdict-card.is-healthy strong,.balance-verdict-card.is-balanced strong,.balance-verdict-card.is-watch strong{color:#7efbf6}.balance-verdict-card.is-danger strong{color:#ff8f6b}.balance-core{position:relative;z-index:1;display:grid;justify-items:center;gap:9px}.balance-core:before{content:"";position:absolute;left:50%;top:50%;z-index:-1;width:332px;height:118px;background:radial-gradient(ellipse at 50% 50%,rgba(126,251,246,.14),transparent 70%);transform:translate(-50%,-50%);pointer-events:none}.balance-core-caption{color:#dffaff9e;font-size:12px}.balance-compare{position:relative;display:grid;align-content:center;gap:20px;padding:17px 24px;background:radial-gradient(ellipse at 50% 100%,rgba(126,251,246,.08),transparent 62%),linear-gradient(90deg,rgba(48,220,255,.08),transparent 45%,rgba(255,215,108,.065)),rgba(2,21,33,.16);clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%);box-sizing:border-box}.balance-compare:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.08);border-bottom:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-bar-row{position:relative;z-index:1;display:grid;grid-template-columns:98px minmax(0,1fr) 190px;align-items:center;gap:16px;min-width:0}.balance-bar-row span{color:#dffaffb8;font-size:13px;white-space:nowrap}.balance-bar-row div{position:relative;height:14px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.06)),rgba(1,12,21,.56);clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%)}.balance-bar-row div:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transform:translate(-100%);animation:balance-flow-light 2.4s linear infinite}.balance-bar-row i{display:block;height:100%;background:linear-gradient(90deg,rgba(36,246,196,.2),#24f6c4);box-shadow:0 0 18px #24f6c438}.balance-bar-row strong{overflow:hidden;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:23px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.balance-bar-row em{margin-left:4px;color:#ffffff94;font-family:AlibabaPuHuiTi,Arial,sans-serif;font-size:11px;font-style:normal}.balance-bar-row.is-livestock i{background:linear-gradient(90deg,rgba(255,215,108,.18),#ffd76c);box-shadow:0 0 16px #ffd76c2e}.balance-detail{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.82fr) 248px;gap:12px;min-height:0}.balance-detail.is-without-ranking{grid-template-columns:minmax(0,1fr) minmax(420px,.9fr)}.balance-process,.balance-decision,.balance-overload-ranking{position:relative;min-width:0;min-height:0;padding:16px 18px 15px;background:radial-gradient(circle at 18% 0,rgba(126,251,246,.11),transparent 30%),linear-gradient(135deg,rgba(48,220,255,.08),transparent 34%),linear-gradient(315deg,rgba(255,215,108,.038),transparent 42%),rgba(2,21,33,.16);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);box-sizing:border-box}.balance-process:before,.balance-decision:before,.balance-overload-ranking:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-process:after,.balance-decision:after,.balance-overload-ranking:after{content:"";position:absolute;left:18px;right:18px;top:48px;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.32),transparent);pointer-events:none}.balance-section-title{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;height:28px}.balance-section-title span{color:#fff;font-size:16px;text-shadow:0 0 12px rgba(126,251,246,.22)}.balance-section-title small{color:#7efbf69e;font-size:12px}.balance-process{display:grid;grid-template-rows:28px 38px repeat(4,minmax(0,1fr));gap:10px}.balance-process-track{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:center}.balance-process-track:before{content:"";position:absolute;left:5%;right:5%;top:50%;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.18),rgba(126,251,246,.5),rgba(255,215,108,.42))}.balance-process-track span{position:relative;z-index:1;height:28px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(2,19,31,.9)),rgba(2,19,31,.9);color:#dffaffb8;font-size:12px;line-height:28px;text-align:center;text-overflow:ellipsis;white-space:nowrap;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-process-track .is-done,.balance-process-track .is-active{color:#7efbf6;box-shadow:inset 0 0 14px #7efbf61f}.balance-formula-row{position:relative;z-index:1;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:0 14px;background:linear-gradient(90deg,rgba(48,220,255,.07),transparent 48%),linear-gradient(180deg,rgba(6,37,49,.22),rgba(2,20,32,.08));clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%);box-sizing:border-box}.balance-formula-row:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.065);clip-path:inherit;pointer-events:none}.balance-formula-row>span{width:30px;height:30px;border:1px solid rgba(126,251,246,.34);color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:13px;line-height:28px;text-align:center;background:rgba(36,246,196,.055)}.balance-formula-row div{min-width:0}.balance-formula-row strong,.balance-formula-row p,.balance-formula-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-formula-row strong{display:block;color:#fff;font-size:15px}.balance-formula-row p{margin:4px 0 0;color:#ffffffc2;font-size:12px}.balance-formula-row em{color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:21px;font-style:normal;text-align:right}.balance-decision{display:grid;grid-template-rows:28px 112px minmax(0,1fr);gap:12px}.balance-overload-ranking{display:grid;grid-template-rows:28px minmax(0,1fr);gap:10px}.balance-rank-list{position:relative;z-index:1;display:grid;align-content:start;gap:5px;min-height:0;overflow:hidden}.balance-rank-row{position:relative;display:grid;grid-template-columns:24px 58px minmax(0,1fr) 50px;align-items:center;gap:7px;height:25px;min-width:0;padding:0 8px 0 6px;background:linear-gradient(90deg,rgba(48,220,255,.08),transparent 62%),rgba(4,33,46,.62);clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%);box-sizing:border-box}.balance-rank-row:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-rank-row>span{position:relative;z-index:1;width:20px;height:18px;color:#7efbf6e6;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:18px;font-weight:800;text-align:center;background:rgba(126,251,246,.08)}.balance-rank-row strong{position:relative;z-index:1;min-width:0;overflow:hidden;color:#edfdffe6;font-size:12px;line-height:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.balance-rank-row div{position:relative;z-index:1;height:5px;overflow:hidden;background:rgba(126,251,246,.08)}.balance-rank-row div i{display:block;width:var(--rank-progress);height:100%;background:linear-gradient(90deg,rgba(126,251,246,.35),#7efbf6);box-shadow:0 0 10px #7efbf638}.balance-rank-row em{position:relative;z-index:1;color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:800;text-align:right;white-space:nowrap}.balance-rank-row.is-warning div i{background:linear-gradient(90deg,rgba(255,215,108,.32),#ffd76c);box-shadow:0 0 10px #ffd76c33}.balance-rank-row.is-warning em{color:#ffd76c}.balance-rank-row.is-alert div i{background:linear-gradient(90deg,rgba(255,143,107,.3),#ff8f6b);box-shadow:0 0 10px #ff8f6b3d}.balance-rank-row.is-alert em{color:#ffb15e}.balance-conclusion{position:relative;z-index:1;min-width:0;padding:16px 14px;background:radial-gradient(circle at 10% 0,rgba(255,215,108,.18),transparent 42%),linear-gradient(135deg,rgba(255,215,108,.13),transparent 60%),rgba(74,56,20,.14);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);box-sizing:border-box}.balance-conclusion:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,215,108,.2);clip-path:inherit;pointer-events:none}.balance-conclusion strong{position:relative;z-index:1;display:block;overflow:hidden;color:#ffd76c;font-size:14px;text-shadow:0 0 10px rgba(255,215,108,.18);line-height:20px;text-overflow:ellipsis;white-space:nowrap}.balance-conclusion p{position:relative;z-index:1;margin:8px 0 0;overflow:hidden;color:#ecfcffb8;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.balance-advice-list{position:relative;z-index:1;display:grid;align-content:start;gap:11px;min-height:0;overflow:hidden}.balance-advice-item{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px;min-height:43px;padding:3px 0}.balance-advice-item span{width:22px;height:22px;border:1px solid rgba(126,251,246,.44);color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:20px;text-align:center}.balance-advice-item p{min-width:0;margin:0;overflow:hidden;color:#ecfcffd1;font-size:12px;line-height:19px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}@keyframes balance-scan{0%{opacity:.2;transform:translate(-28%)}50%{opacity:.8}to{opacity:.2;transform:translate(28%)}}@keyframes balance-rotate{to{transform:rotate(360deg)}}@keyframes balance-flow-light{to{transform:translate(100%)}}@keyframes balance-band-pulse{0%,to{opacity:.56;filter:saturate(.92)}50%{opacity:.86;filter:saturate(1.08)}}@keyframes balance-value-pulse{0%{color:#ffd76cb3;text-shadow:0 0 0 rgba(255,215,108,0)}to{color:#ffe79df5;text-shadow:0 0 12px rgba(255,215,108,.2)}}@keyframes balance-field-drift{0%,to{opacity:.18;transform:translate(-18px)}50%{opacity:.58;transform:translate(18px)}}.grass-livestock-balance{background:linear-gradient(rgba(31,169,190,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(31,169,190,.022) 1px,transparent 1px),radial-gradient(circle at 50% 35%,rgba(35,128,133,.1),transparent 34%),linear-gradient(135deg,#020b13 0%,#061d2b 48%,#020b13 100%);background-size:44px 44px,44px 44px,100% 100%,100% 100%}.grass-livestock-balance:before,.grass-livestock-balance:after{opacity:.26}.balance-backdrop{top:104px;height:944px;background:linear-gradient(rgba(48,220,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(48,220,255,.016) 1px,transparent 1px);background-size:44px 44px}.balance-backdrop:before,.balance-backdrop:after{opacity:.32}.balance-orbit,.balance-energy-band,.balance-field-lines,.balance-wait-core:before,.balance-core:before{display:none}.balance-screen{top:128px}.balance-card{filter:drop-shadow(0 16px 26px rgba(0,0,0,.28))}.balance-card .m-card-hd{background:linear-gradient(90deg,rgba(24,117,135,.78),rgba(12,65,83,.52) 56%,rgba(6,32,46,.08))}.balance-card .m-card-hd:before{background:linear-gradient(90deg,#30dcff,rgba(126,251,246,.36),transparent 76%);box-shadow:none}.balance-card .m-card-bd{background:linear-gradient(180deg,rgba(8,49,64,.92),rgba(3,23,36,.92))}.balance-card .m-card-bd:before{border-color:#30dcff33;box-shadow:inset 0 0 0 1px #7efbf60a}.balance-card .m-card-bd:after{opacity:.22}.balance-sheet-card{filter:drop-shadow(0 18px 30px rgba(0,0,0,.24))}.balance-sheet-card .m-card-bd{background:linear-gradient(180deg,rgba(7,43,58,.92),rgba(2,19,31,.94))}.balance-sheet-card .m-card-bd:before{border-color:#30dcff2e;border-left-color:#30dcff47;border-bottom-color:#30dcff1f;box-shadow:inset 0 0 0 1px #7efbf609}.balance-target-card{filter:drop-shadow(0 16px 24px rgba(0,0,0,.26))}.balance-target-card .m-card-bd{background:linear-gradient(180deg,rgba(7,45,58,.9),rgba(2,20,32,.92))}.balance-target-card .m-card-bd:before{border-color:#30dcff29;border-left-color:#30dcff47;border-bottom-color:#30dcff1f}.balance-selector{grid-template-rows:40px minmax(0,1fr) 158px;gap:12px;padding:12px 12px 14px}.balance-scope-tabs button{border:1px solid rgba(48,220,255,.12);background:rgba(4,31,44,.58);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-scope-tabs button.active,.balance-scope-tabs button:hover{background:linear-gradient(180deg,rgba(19,98,112,.9),rgba(7,56,76,.86))}.balance-target-list button{background:rgba(5,39,53,.72)}.balance-target-list button:before{border:1px solid rgba(48,220,255,.1);border-left-color:#30dcff33}.balance-target-list button.active{background:linear-gradient(90deg,rgba(119,98,38,.9),rgba(7,70,77,.86))}.balance-action-box{background:rgba(3,28,40,.84)}.balance-action-box:before{border:1px solid rgba(48,220,255,.14)}.balance-sheet{padding:14px 22px 20px}.balance-sheet:before,.balance-sheet:after{display:none}.balance-waiting{grid-template-rows:minmax(0,1fr) 78px}.balance-wait-core{gap:18px;padding-top:16px}.balance-core-ring{width:164px;height:164px;box-shadow:0 0 18px #24f6c41f,inset 0 0 28px #02101abd}.balance-core-ring:after{opacity:.36}.balance-core-inner{width:126px;height:126px}.balance-core-inner strong{font-size:30px;line-height:34px;text-shadow:none}.balance-preflight span{background:rgba(4,32,45,.78);border:1px solid rgba(48,220,255,.1);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-preflight span:before{display:none}.balance-running-head{padding:30px 58px 18px}.balance-live-process{padding:0}.balance-live-step{background:rgba(5,36,50,.76)}.balance-live-step:before{border:1px solid rgba(48,220,255,.08)}.balance-live-step.is-active{background:linear-gradient(90deg,rgba(22,108,104,.82),rgba(7,53,66,.86))}.balance-analysis{grid-template-rows:188px 94px minmax(0,1fr);gap:12px}.balance-dashboard,.balance-compare,.balance-process,.balance-decision,.balance-overload-ranking{background:linear-gradient(180deg,rgba(7,48,62,.9),rgba(3,28,42,.9));clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}.balance-dashboard:before,.balance-compare:before,.balance-process:before,.balance-decision:before,.balance-overload-ranking:before{border:1px solid rgba(48,220,255,.12);box-shadow:none}.balance-dashboard{grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);padding:14px 20px}.balance-dashboard:after{display:none}.balance-object-block,.balance-verdict-card{background:rgba(4,31,44,.82);clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}.balance-object-block strong,.balance-verdict-card strong{font-size:34px;line-height:40px;text-shadow:none}.balance-verdict-card strong,.balance-core-inner strong,.balance-formula-row em,.balance-bar-row i{text-shadow:none;box-shadow:none}.balance-core-ring:before,.balance-core-ring:after{animation:none}.balance-dashboard .balance-core-ring{width:156px;height:156px}.balance-dashboard .balance-core-inner{width:120px;height:120px}.balance-compare{gap:18px;padding:14px 20px}.balance-detail{gap:12px}.balance-process,.balance-decision,.balance-overload-ranking{padding:14px 16px}.balance-formula-row{background:rgba(4,33,46,.82)}.balance-formula-row:before{border:1px solid rgba(48,220,255,.08)}.balance-conclusion{background:rgba(70,55,22,.7)}.balance-bar-row div:after,.balance-progress-line:after{display:none}.balance-core-caption{color:#dffaffb8}.balance-sheet.is-ready{padding:18px 22px 22px}.balance-sheet.is-ready .balance-analysis{grid-template-rows:158px 84px minmax(0,1fr);gap:14px}.balance-sheet.is-ready .balance-dashboard{grid-template-columns:minmax(0,1fr) 188px minmax(0,1fr);gap:18px;padding:14px 22px}.balance-sheet.is-ready .balance-object-block,.balance-sheet.is-ready .balance-verdict-card{min-height:104px;padding:18px 20px;box-sizing:border-box}.balance-sheet.is-ready .balance-object-block strong,.balance-sheet.is-ready .balance-verdict-card strong{margin-top:7px;font-size:28px;line-height:34px}.balance-sheet.is-ready .balance-object-block small,.balance-sheet.is-ready .balance-verdict-card small{margin-top:4px}.balance-sheet.is-ready .balance-dashboard .balance-core-ring{width:132px;height:132px}.balance-sheet.is-ready .balance-dashboard .balance-core-inner{width:102px;height:102px}.balance-sheet.is-ready .balance-core-inner strong{max-width:98px;margin:5px 0 3px;font-size:23px;line-height:28px}.balance-sheet.is-ready .balance-core-inner span,.balance-sheet.is-ready .balance-core-inner small{max-width:92px;font-size:11px}.balance-sheet.is-ready .balance-core{gap:5px}.balance-sheet.is-ready .balance-core-caption{font-size:11px}.balance-sheet.is-ready .balance-compare{gap:14px;padding:12px 20px}.balance-sheet.is-ready .balance-bar-row{grid-template-columns:92px minmax(0,1fr) 178px;gap:14px}.balance-sheet.is-ready .balance-bar-row strong{font-size:20px}.balance-sheet.is-ready .balance-detail{grid-template-columns:minmax(0,1fr) minmax(318px,.78fr) 238px;gap:12px}.balance-sheet.is-ready .balance-process,.balance-sheet.is-ready .balance-decision,.balance-sheet.is-ready .balance-overload-ranking{overflow:hidden;padding:13px 15px}.balance-sheet.is-ready .balance-process{grid-template-rows:26px 32px repeat(4,minmax(58px,1fr));gap:8px}.balance-sheet.is-ready .balance-decision{grid-template-rows:26px 92px minmax(0,1fr);gap:10px}.balance-sheet.is-ready .balance-overload-ranking{grid-template-rows:26px minmax(0,1fr);gap:8px}.balance-sheet.is-ready .balance-section-title{height:26px}.balance-sheet.is-ready .balance-section-title span{font-size:15px}.balance-sheet.is-ready .balance-process-track{height:32px}.balance-sheet.is-ready .balance-process-track span{height:26px;font-size:11px;line-height:26px}.balance-sheet.is-ready .balance-formula-row{grid-template-columns:36px minmax(0,1fr);gap:10px;min-height:58px;padding:8px 12px}.balance-sheet.is-ready .balance-formula-row>span{width:27px;height:27px;font-size:12px;line-height:25px}.balance-sheet.is-ready .balance-formula-row strong{font-size:14px}.balance-sheet.is-ready .balance-formula-row p{margin-top:3px;font-size:11px;line-height:16px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-conclusion{padding:13px 14px}.balance-sheet.is-ready .balance-conclusion strong{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-conclusion p{margin-top:6px}.balance-sheet.is-ready .balance-advice-list{gap:8px;overflow:hidden}.balance-sheet.is-ready .balance-advice-item{min-height:34px;padding:1px 0}.balance-sheet.is-ready .balance-advice-item p{line-height:18px;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-rank-list{gap:4px}.balance-sheet.is-ready .balance-rank-row{grid-template-columns:22px 54px minmax(0,1fr) 48px;gap:6px;height:23px;padding-right:7px} diff --git a/docs/assets/index-0a7426a0-balabala-1786725044461.css b/docs/assets/index-0a7426a0-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-0a7426a0-balabala-1786725044461.css rename to docs/assets/index-0a7426a0-balabala-1786807848259.css diff --git a/docs/assets/index-262a2c3c-1786725044461.js b/docs/assets/index-0eddac6c-1786807848259.js similarity index 95% rename from docs/assets/index-262a2c3c-1786725044461.js rename to docs/assets/index-0eddac6c-1786807848259.js index 792b6e9..18276dd 100644 --- a/docs/assets/index-262a2c3c-1786725044461.js +++ b/docs/assets/index-0eddac6c-1786807848259.js @@ -1,4 +1,4 @@ -import{g as p,q as g,aa as y,o as r,c as n,a as i,z as c,t as x,r as h,j as $,K as u,d as w}from"./index-1786725044461.js";const F=""+new URL("title-zs1-c15a5ee8-balabala-1786725044461.svg",import.meta.url).href,v=""+new URL("saoguang-ccf84a88-balabala-1786725044461.svg",import.meta.url).href,b=""+new URL("content-bottom-left-arrow-3a8a61f3-balabala-1786725044461.svg",import.meta.url).href,V=""+new URL("content-bottom-right-arrow-a3c5270d-balabala-1786725044461.svg",import.meta.url).href,f=""+new URL("content-middle-line-162bc0d5-balabala-1786725044461.svg",import.meta.url).href;const L={class:"m-card-hd"},H={class:"m-card-hd-bg"},U=["width","viewBox"],B=["clip-path"],E=["width"],M=["id"],S=["d"],Z=["d","fill"],G=["d","fill","mask"],C=["clip-path"],k=["x1"],D=["id","x1"],O=["id"],T=["id"],N=["width"],R=["id"],z={class:"m-card-hd-title"},A={key:0,class:"m-card-hd-extra"},P=["width","height","viewBox"],I=["opacity"],j=["d","fill"],q=["d"],K={class:"m-card-bd-content"},J={__name:"index",props:{width:{type:Number,default:398},height:{type:Number,default:200},title:{type:String,default:"标题"},bodyFill:{type:String,default:"rgba(26, 57, 77, 1)"},bodyOpacity:{type:Number,default:.6}},setup(e){const s=e,a=w(1),_=p(()=>{let l=s.width;return`M165 0.5 +import{g as p,q as g,af as y,o as r,c as n,a as i,z as c,t as x,r as h,j as $,K as u,d as w}from"./index-1786807848259.js";const F=""+new URL("title-zs1-c15a5ee8-balabala-1786807848259.svg",import.meta.url).href,v=""+new URL("saoguang-ccf84a88-balabala-1786807848259.svg",import.meta.url).href,b=""+new URL("content-bottom-left-arrow-3a8a61f3-balabala-1786807848259.svg",import.meta.url).href,V=""+new URL("content-bottom-right-arrow-a3c5270d-balabala-1786807848259.svg",import.meta.url).href,f=""+new URL("content-middle-line-162bc0d5-balabala-1786807848259.svg",import.meta.url).href;const L={class:"m-card-hd"},H={class:"m-card-hd-bg"},U=["width","viewBox"],B=["clip-path"],E=["width"],M=["id"],S=["d"],Z=["d","fill"],G=["d","fill","mask"],C=["clip-path"],k=["x1"],D=["id","x1"],O=["id"],T=["id"],N=["width"],R=["id"],z={class:"m-card-hd-title"},A={key:0,class:"m-card-hd-extra"},P=["width","height","viewBox"],I=["opacity"],j=["d","fill"],q=["d"],K={class:"m-card-bd-content"},J={__name:"index",props:{width:{type:Number,default:398},height:{type:Number,default:200},title:{type:String,default:"标题"},bodyFill:{type:String,default:"rgba(26, 57, 77, 1)"},bodyOpacity:{type:Number,default:.6}},setup(e){const s=e,a=w(1),_=p(()=>{let l=s.width;return`M165 0.5 L165.707 -0.207107 L165.414 -0.5 H165 diff --git a/docs/assets/index-0fc78849-balabala-1786725044461.css b/docs/assets/index-0fc78849-balabala-1786725044461.css deleted file mode 100644 index deb30be..0000000 --- a/docs/assets/index-0fc78849-balabala-1786725044461.css +++ /dev/null @@ -1 +0,0 @@ -.map{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background-color:#000}.map .info-point{background:rgba(0,0,0,.5);color:#a3dcde;font-size:14px;width:170px;height:106px;padding:16px 12px 0;margin-bottom:30px;will-change:transform}.map .info-point-wrap:after,.map .info-point-wrap:before{display:block;content:"";position:absolute;top:0;width:15px;height:15px;border-top:1px solid #4b87a6}.map .info-point-wrap:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap:after{right:0;border-right:1px solid #4b87a6}.map .info-point-wrap-inner:after,.map .info-point-wrap-inner:before{display:block;content:"";position:absolute;bottom:0;width:15px;height:15px;border-bottom:1px solid #4b87a6}.map .info-point-wrap-inner:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap-inner:after{right:0;border-right:1px solid #4b87a6}.map .info-point-line{position:absolute;top:7px;right:12px;display:flex}.map .info-point-line .line{width:5px;height:2px;margin-right:5px;background:#17e5c3}.map .info-point-content .content-item{display:flex;height:28px;line-height:28px;background:rgba(35,47,58,.6);margin-bottom:5px}.map .info-point-content .content-item .label{width:60px;padding-left:10px}.map .info-point-content .content-item .value{color:#fff}.map .provinces-label-wrap{position:relative;transform:translate3d(0,16px,0);transform-origin:center;opacity:0;display:flex;justify-content:center;align-items:center;gap:9px;padding:5px 34px 5px 12px;min-width:126px;height:50px;border-radius:30px 30px 30px 0;background:rgba(0,0,0,.4);box-sizing:border-box}.map .provinces-label .provinces-label-copy{display:grid;justify-items:center;gap:2px;width:100%;min-width:0;text-align:center}.map .provinces-label .town-name{color:#ebfdffdb;font-size:13px;font-weight:700;line-height:15px;white-space:nowrap}.map .provinces-label .number{color:#fff;font-size:20px;font-weight:700;line-height:22px}.map .provinces-label .number .unit{color:#fff;font-size:12px;font-weight:400;opacity:.5;padding-left:5px}.map .provinces-label .name{color:#fff;font-size:14px;font-weight:700}.map .provinces-label .name span{display:block}.map .provinces-label .name .en{color:#fff;font-size:10px;opacity:.5;font-weight:700}.map .provinces-label .no{position:absolute;top:50%;right:11px;color:#7efbf6;text-shadow:0 0 5px #7efbf6,0 0 10px #7efbf6;font-size:24px;font-weight:700;transform:translateY(-50%)}.map .provinces-label .yellow .no{color:#fef99e!important;text-shadow:0 0 5px #fef99e,0 0 10px #fef99e!important}.map .china-label{color:#fff;font-size:15px;font-weight:700;text-shadow:0 0 8px rgba(126,251,246,.8);will-change:transform;z-index:30}.map .china-label .other-label{display:flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid rgba(126,251,246,.35);border-radius:3px;background:rgba(3,21,33,.78);box-shadow:0 0 14px #30dcff33;will-change:transform;white-space:nowrap;text-align:center;transform:translate3d(0,18px,0);transform-origin:center}.map .china-label.blur{filter:none;opacity:1}.map .china-label .label-icon{display:none;width:20px;height:20px;margin:0 10px 0 0}.map .map-label{padding:5px;color:#fff;will-change:transform;font-size:36px;font-weight:700;letter-spacing:4.5px;-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3))}.map .map-label .other-label{display:flex;flex-direction:column}.map .map-label span{font-size:46px}.map .map-label span:last-child{font-size:12px;font-weight:400;letter-spacing:0px;color:#a7d5ef}.map .decoration-label .label-icon{display:block;width:40px;height:40px}.map .other-label{transform:translateY(200%);opacity:0;background:none;will-change:transform}.home-business-error{position:absolute;z-index:36;top:108px;left:50%;transform:translate(-50%);max-width:720px;padding:10px 18px;border:1px solid rgba(255,105,105,.72);border-radius:4px;color:#fff2f2;background:rgba(58,10,18,.9);box-shadow:0 8px 24px #0000004d;font-size:15px}.home-dashboard{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c}.home-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.home-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none}.home-map-scrim:before,.home-map-scrim:after{position:absolute;top:0;right:0;bottom:0;left:0;content:""}.home-map-scrim:before{opacity:.12;background:url(./bg-3acb94e3-balabala-1786725044461.png) center/cover no-repeat}.home-map-scrim:after{background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 54%,rgba(2,13,20,.06) 80%,rgba(2,12,18,.22) 100%),linear-gradient(90deg,rgba(0,14,24,.12),transparent 26%,transparent 74%,rgba(0,14,24,.12))}.home-bottom-switcher{position:absolute;left:50%;bottom:8px;z-index:10;width:max-content;transform:translate(-50%);pointer-events:auto}.home-layer-tools{position:absolute;top:auto;right:458px;bottom:72px;left:auto;z-index:7;width:248px;box-sizing:border-box;pointer-events:auto}.home-layer-tools .m-card{width:100%!important;height:430px!important;background:rgba(3,18,30,.54);backdrop-filter:blur(2px)}.home-map-feature-info{position:absolute;z-index:8;pointer-events:auto}.home-map-feature-info .m-card{background:rgba(3,18,30,.58);backdrop-filter:blur(2px)}.home-layer-tree-panel{display:grid;grid-template-rows:minmax(170px,236px) minmax(0,1fr);gap:12px;height:100%;box-sizing:border-box;padding:12px 12px 14px;overflow:hidden}.home-layer-tree-list{display:flex;flex-direction:column;gap:7px;min-height:0;padding-right:4px;overflow-y:auto;scrollbar-width:none}.home-layer-tree-list::-webkit-scrollbar{display:none}.home-layer-tree-group{display:flex;flex-direction:column;gap:6px}.home-layer-tree-parent,.home-layer-tree-child{display:flex;align-items:center;justify-content:space-between;min-width:0;height:27px;flex:0 0 27px;border:1px solid rgba(48,220,255,.22);color:#ffffffbd;font-size:12px;cursor:pointer;background:rgba(3,20,32,.58)}.home-layer-tree-parent span,.home-layer-tree-child span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-layer-tree-child.is-overlay i{border-radius:1px}.home-layer-tree-child.is-overlay.is-active i:after{content:"";display:block;width:4px;height:2px;margin:2px 0 0 1px;border-left:1px solid #08202d;border-bottom:1px solid #08202d;transform:rotate(-45deg)}.home-layer-tree-parent{padding:0 9px;font-weight:700}.home-layer-tree-parent i{width:7px;height:7px;border-right:1px solid rgba(255,255,255,.62);border-bottom:1px solid rgba(255,255,255,.62);transform:rotate(-45deg);transition:transform .18s ease}.home-layer-tree-group.is-open .home-layer-tree-parent i{transform:rotate(45deg) translateY(-2px)}.home-layer-tree-parent.is-active{color:#fff;border-color:#30dcffa8;background:linear-gradient(90deg,rgba(21,121,130,.5),rgba(3,20,32,.78))}.home-layer-tree-children{display:flex;flex-direction:column;gap:6px;padding-left:12px}.home-layer-tree-child{padding:0 9px}.home-layer-tree-child i{width:8px;height:8px;border:1px solid rgba(255,255,255,.42);border-radius:50%}.home-layer-tree-child.is-active{color:#fff;border-color:#30dcffb3;background:linear-gradient(90deg,rgba(21,121,130,.52),rgba(3,20,32,.78))}.home-layer-tree-child.is-active i{border-color:#30dcff;background:#30dcff;box-shadow:0 0 12px #30dcffe0}.home-layer-tree-legend{min-height:0;padding-top:9px;border-top:1px solid rgba(48,220,255,.18);overflow:visible}.home-layer-tree-title{position:relative;margin-bottom:7px;padding-left:10px;color:#dbf9ffe6;font-size:13px;font-weight:600;line-height:16px}.home-layer-tree-title:before{content:"";position:absolute;left:0;top:4px;width:4px;height:8px;background:#30dcff;box-shadow:0 0 10px #30dcffb3}.home-layer-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,96px));justify-content:center;align-content:start;gap:7px 8px;max-height:calc(100% - 24px);padding-right:4px;overflow-y:auto;scrollbar-width:none}.home-layer-legend-grid::-webkit-scrollbar{display:none}.home-layer-legend-grid.is-single{grid-template-columns:minmax(0,128px)}.home-layer-legend-row{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:start;column-gap:6px;min-width:0;min-height:22px;padding:3px 2px;border:1px solid transparent;color:inherit;text-align:left;cursor:pointer;background:transparent}.home-layer-legend-row:disabled{opacity:1}.home-layer-legend-row.is-checkable{grid-template-columns:15px minmax(0,1fr) 12px}.home-layer-legend-row.is-selected{border-color:#30dcff75;background:rgba(48,220,255,.08)}.home-layer-legend-row.is-disabled{cursor:default}.home-layer-legend-swatch{width:12px;height:12px;margin-top:2px;border:1px solid currentColor}.home-layer-legend-name{min-width:0;color:#ecfbffbd;font-size:11px;line-height:16px;word-break:break-all}.home-layer-legend-check{width:7px;height:7px;margin-top:4px;border:1px solid rgba(255,255,255,.42);border-radius:50%}.home-layer-legend-row.is-selected .home-layer-legend-check{border-color:#30dcff;background:#30dcff;box-shadow:0 0 10px #30dcffb8}.home-layer-tree-empty{padding-top:18px;color:#dbf9ff75;font-size:12px;text-align:center}.home-left,.home-right{position:absolute;top:128px;bottom:8px;z-index:5;width:398px;perspective-origin:50% 50%;pointer-events:all}.home-left{left:32px;perspective:var(--screen-side-perspective-left, 500px)}.home-right{right:32px;perspective:var(--screen-side-perspective-right, 800px)}.home-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.home-side-stack.is-left{transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(6deg) rotate(0) skew(0) skewY(0);transform-origin:left center}.home-side-stack.is-right{transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(-6deg) rotate(0) skew(0) skewY(0);transform-origin:right center}.home-card{flex:0 0 auto}.home-card .m-card-bd-content{top:36px;bottom:0;color:#f3feff}.home-card .m-card-hd-bg,.home-card .m-card-bd-bg{filter:none}.home-card .m-card-bd-bg:after{content:none}.home-card .m-card-hd-title{color:#fff!important;background:-webkit-linear-gradient(rgb(219,249,255),rgb(169,240,255))!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;font-weight:600!important;filter:none!important;text-shadow:none!important}.home-card-more{display:inline-flex;align-items:center;gap:2px;height:24px;padding:0 4px 0 8px;border:0;color:#dcfaffd1;font-size:11px;line-height:24px;font-weight:700;background:rgba(4,35,51,.72);cursor:pointer}.home-card-more span{color:#30dcff;font-size:18px;line-height:18px}.home-card-more:hover{color:#fff;background:rgba(14,83,106,.82)}.home-more-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:140;display:flex;align-items:center;justify-content:center;background:rgba(0,8,15,.76);backdrop-filter:blur(3px);pointer-events:auto}.home-more-dialog{display:flex;width:1240px;height:790px;flex-direction:column;padding:20px;border:1px solid rgba(48,220,255,.42);box-sizing:border-box;background:linear-gradient(180deg,rgba(11,47,64,.98),rgba(3,18,30,.99)),rgba(3,18,30,.98);box-shadow:0 0 34px #30dcff2e,inset 0 0 0 1px #ffffff09}.home-more-dialog-head{display:flex;height:56px;flex:0 0 56px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid rgba(48,220,255,.2)}.home-more-dialog-head h2,.home-more-dialog-head p{margin:0}.home-more-dialog-head h2{color:#fff;font-size:21px;line-height:27px;font-weight:800}.home-more-dialog-head p{margin-top:3px;color:#def9ffa6;font-size:12px;line-height:16px}.home-more-dialog-head>button{width:34px;height:34px;padding:0;border:1px solid rgba(48,220,255,.32);color:#ebfdffe6;font-size:25px;line-height:30px;background:rgba(48,220,255,.08);cursor:pointer}.home-more-dialog-head>button:hover{border-color:#30dcffb8;color:#fff;background:rgba(48,220,255,.16)}.home-video-modal-grid{position:relative;isolation:isolate;display:grid;min-height:0;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0 12px}.home-video-modal-item{position:relative;z-index:2;min-width:0;min-height:0;height:auto;padding:0;text-align:left}.home-video-modal-item.is-offline{cursor:default;filter:saturate(.52)}.home-video-modal-item.is-active{z-index:3}.home-video-modal-item:not(.is-active){z-index:8}.home-video-modal-item:not(.is-active) .home-video-hit{z-index:40;pointer-events:auto}.home-more-empty{display:flex;flex:1;align-items:center;justify-content:center;color:#def9ff94;font-size:15px}.home-more-pager{display:flex;height:34px;flex:0 0 34px;align-items:center;justify-content:center;gap:12px}.home-more-pager button{height:28px;padding:0 14px;border:1px solid rgba(48,220,255,.28);color:#e8fcffdb;font-size:12px;background:rgba(48,220,255,.08);cursor:pointer}.home-more-pager button:disabled{cursor:not-allowed;opacity:.38}.home-more-pager span{min-width:54px;color:#e8fcffb8;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;text-align:center}.home-balance-dialog{width:1180px;height:610px}.home-balance-modal-grid{display:grid;min-height:0;flex:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;padding-top:18px}.home-balance-modal-item{position:relative;display:flex;min-width:0;flex-direction:column;justify-content:center;padding:16px;overflow:hidden;border:1px solid color-mix(in srgb,var(--balance-color) 44%,rgba(48,220,255,.16));box-sizing:border-box;background:radial-gradient(circle at 82% 12%,color-mix(in srgb,var(--balance-color) 14%,transparent),transparent 44%),linear-gradient(180deg,rgba(15,57,72,.7),rgba(4,25,38,.78));box-shadow:inset 0 0 20px #30dcff0d}.home-balance-modal-item:before{position:absolute;left:0;top:0;bottom:0;width:3px;content:"";background:var(--balance-color);box-shadow:0 0 10px var(--balance-color)}.home-balance-modal-item p{margin:12px 0 0;color:#e1faffad;font-size:12px;line-height:16px}.home-balance-modal-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.home-balance-modal-title strong{overflow:hidden;color:#fff;font-size:17px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.home-balance-modal-title span{overflow:hidden;color:var(--balance-color);font-size:11px;line-height:16px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.home-balance-modal-value{display:flex;align-items:baseline;margin-top:22px}.home-balance-modal-value strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:36px;line-height:40px;text-shadow:0 0 12px color-mix(in srgb,var(--balance-color) 38%,transparent)}.home-balance-modal-value em{margin-left:3px;color:#ebfdffb8;font-size:13px;font-style:normal}.home-balance-modal-track{height:5px;margin-top:13px;overflow:hidden;background:rgba(113,181,199,.15)}.home-balance-modal-track i{display:block;width:var(--balance-progress);height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--balance-color) 62%,transparent),var(--balance-color));box-shadow:0 0 8px var(--balance-color)}.home-chart{width:100%;height:100%}.home-balance-gauge-grid{display:grid;height:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 12px 10px;box-sizing:border-box;overflow:hidden}.home-balance-empty{display:flex;grid-column:1/-1;align-items:center;justify-content:center;gap:10px;color:#eefdffb8;font-size:14px;font-weight:700}.home-balance-empty i{width:8px;height:8px;border-radius:50%;background:#30dcff;box-shadow:0 0 12px #30dcffdb;animation:home-balance-loading 1.25s ease-in-out infinite}@keyframes home-balance-loading{50%{opacity:.3;transform:scale(.72)}}.home-balance-gauge-card{position:relative;display:grid;min-width:0;min-height:0;grid-template-rows:32px minmax(72px,1fr) 22px 16px;justify-items:center;padding:10px 8px 9px;overflow:hidden;border:1px solid rgba(48,220,255,.18);background:radial-gradient(circle at 50% 46%,color-mix(in srgb,var(--balance-color) 14%,transparent),transparent 55%),linear-gradient(180deg,rgba(48,220,255,.075),rgba(5,27,40,.46));box-shadow:inset 0 0 18px #30dcff12,0 0 #30dcff00;transition:border-color .35s ease,box-shadow .35s ease,background .35s ease}.home-balance-gauge-card:before{position:absolute;top:9px;right:9px;bottom:9px;left:9px;content:"";border:1px solid rgba(255,255,255,.035);pointer-events:none}.home-balance-gauge-card.is-active{border-color:color-mix(in srgb,var(--balance-color) 64%,rgba(48,220,255,.22));background:radial-gradient(circle at 50% 46%,color-mix(in srgb,var(--balance-color) 20%,transparent),transparent 58%),linear-gradient(180deg,rgba(48,220,255,.095),rgba(5,27,40,.52));box-shadow:inset 0 0 22px #30dcff17,0 0 14px color-mix(in srgb,var(--balance-color) 16%,transparent)}.home-balance-gauge-head{position:relative;z-index:1;display:flex;width:100%;align-items:center;justify-content:center}.home-balance-gauge-head span,.home-balance-gauge-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-balance-gauge-head span{color:#eefdff94;font-size:10px;font-weight:700}.home-balance-gauge-head strong{width:100%;color:var(--balance-color);font-size:11px;font-weight:900;text-align:center;text-shadow:0 0 8px color-mix(in srgb,var(--balance-color) 34%,transparent)}.home-balance-gauge-ring{position:relative;z-index:1;align-self:center;width:min(94px,78%);aspect-ratio:1;border-radius:50%;background:conic-gradient(from 218deg,var(--balance-color) 0 var(--balance-progress),rgba(93,175,199,.18) var(--balance-progress) 100%),rgba(3,23,35,.78);box-shadow:0 0 18px color-mix(in srgb,var(--balance-color) 22%,transparent),inset 0 0 18px #0000006b}.home-balance-gauge-ring:before{position:absolute;top:12px;right:12px;bottom:12px;left:12px;content:"";border-radius:50%;background:radial-gradient(circle at 50% 45%,rgba(48,220,255,.12),rgba(3,23,35,.98) 62%),rgba(3,23,35,.96);box-shadow:inset 0 0 12px #0000006b,inset 0 0 0 1px #30dcff14}.home-balance-gauge-ring:after{position:absolute;left:50%;bottom:9px;width:2px;height:16px;content:"";background:rgba(0,10,18,.8);transform:translate(-50%) rotate(35deg);transform-origin:50% 100%;box-shadow:0 0 5px #000a1294}.home-balance-gauge-value{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center}.home-balance-gauge-value strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:24px;line-height:28px;font-weight:900;text-shadow:0 0 10px color-mix(in srgb,var(--balance-color) 42%,transparent)}.home-balance-gauge-value em{margin-left:2px;color:#eefdffc2;font-size:11px;font-style:normal;font-weight:800}.home-balance-gauge-name,.home-balance-gauge-extra{position:relative;z-index:1;max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.home-balance-gauge-name{color:#fff;font-size:15px;line-height:21px;font-weight:900;text-shadow:0 0 8px rgba(48,220,255,.18)}.home-balance-gauge-extra{color:#eefdffa8;font-size:11px;line-height:16px;font-weight:700}.home-forecast-trend-card{position:relative;width:100%;height:100%}.home-forecast-kline-chart{padding-top:14px;box-sizing:border-box}.home-forecast-density-switcher{position:absolute;top:0;left:4px;z-index:3;display:inline-flex;gap:2px;padding:2px;border:1px solid rgba(48,220,255,.22);border-radius:3px;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.home-forecast-density-switcher button{min-width:24px;height:18px;padding:0 6px;border:0;border-radius:2px;color:#e2faffa8;font-size:10px;line-height:18px;font-weight:800;background:transparent;cursor:pointer}.home-forecast-density-switcher button.active{color:#041c2b;background:linear-gradient(180deg,#7efbf6,#30dcff);box-shadow:0 0 10px #30dcff6b}.home-video-monitor{position:relative;display:block;height:100%;padding:2px 24px;box-sizing:border-box;pointer-events:auto}.home-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:100%;min-height:0}.home-video-grid.is-single{grid-template-columns:minmax(0,1fr)}.home-video-screen{position:relative;width:100%;height:100%;margin:0;min-width:0;overflow:hidden;cursor:pointer;border:1px solid rgba(48,220,255,.25);background-color:#020d14;background-position:center;background-size:cover;box-shadow:none}.home-video-screen.is-active{border-color:#7efbf6a8;box-shadow:none}.home-video-screen:not(.is-active){opacity:.88}.home-video-screen.is-playing{background-image:none!important}.home-video-web-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;overflow:hidden;background:#000000}.home-video-web-stage{width:100vw;height:100vh;border:0;cursor:default}.home-video-web-player-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.home-video-screen>.home-video-player-host,.home-video-screen>.home-video-player,.home-video-screen [id$=-wrap],.home-video-screen [id$=-player],.home-video-screen [id^=EZUIKitPlayer-],.home-video-screen .play-window,.home-video-screen video,.home-video-screen canvas,.home-video-screen iframe,.home-video-screen object,.home-video-screen embed,.home-video-screen [id$=-wrap]>.home-video-player>div,.home-video-screen [id$=-wrap]>.home-video-player .play-window,.home-video-screen [id$=-wrap]>.home-video-player [id$=-player],.home-video-screen [id$=-wrap]>.home-video-player video,.home-video-screen [id$=-wrap]>.home-video-player canvas,.home-video-screen [id$=-wrap]>.home-video-player iframe,.home-video-screen [id$=-wrap]>.home-video-player object,.home-video-screen [id$=-wrap]>.home-video-player embed{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:fill!important}.home-video-screen>.home-video-player-host,.home-video-screen>.home-video-player,.home-video-screen [id$=-wrap]{z-index:3;pointer-events:auto}.home-video-screen [id$=-wrap]{z-index:3!important;overflow:hidden;pointer-events:auto}.home-video-screen [id$=-wrap]>.home-video-player{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:1;display:block!important;width:100%!important;height:100%!important;overflow:hidden;pointer-events:auto}.home-video-screen [id$=-wrap]>.home-video-player>div,.home-video-screen [id$=-wrap]>.home-video-player .play-window,.home-video-screen [id$=-wrap]>.home-video-player [id$=-player],.home-video-screen [id$=-wrap]>.home-video-player video,.home-video-screen [id$=-wrap]>.home-video-player canvas,.home-video-screen [id$=-wrap]>.home-video-player iframe{z-index:1}.home-video-screen [id$=-ez-iframe-footer-container]{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:20!important;width:100%!important;margin-top:0!important;pointer-events:auto!important;visibility:visible!important;opacity:1!important}.home-video-screen [id$=-audioControls]{pointer-events:auto!important;visibility:visible!important;opacity:1!important}.home-video-screen .loading-container,.home-video-screen .loading-item,.home-video-screen #loading-icon{display:none!important;visibility:hidden!important;pointer-events:none!important}.home-video-nav{position:absolute;top:50%;z-index:6;width:22px;height:42px;border:1px solid rgba(48,220,255,.26);color:#e3fdffe0;font-size:20px;line-height:20px;cursor:pointer;background:linear-gradient(180deg,rgba(48,220,255,.18),rgba(10,39,54,.56));box-shadow:inset 0 0 12px #30dcff1a;transform:translateY(-50%)}.home-video-nav:disabled{cursor:not-allowed;opacity:.38}.home-video-prev{left:18px}.home-video-next{right:18px}.home-video-screen:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;content:"";pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 34%,rgba(0,0,0,.44)),repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 1px,transparent 1px,transparent 5px)}.home-video-screen.is-playing:before{z-index:2;background:linear-gradient(180deg,rgba(0,0,0,.14),transparent 28%,rgba(0,0,0,.18))}.home-video-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:7;padding:0;border:0;cursor:pointer;background:transparent}.home-video-point-name,.home-video-loading,.home-video-error{pointer-events:none}.home-video-point-name{position:absolute;left:10px;right:10px;bottom:8px;z-index:4;overflow:hidden;padding:4px 8px;border-left:2px solid rgba(69,233,164,.78);color:#fff;font-size:12px;line-height:15px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,.42)}.home-video-screen.is-playing .home-video-point-name{z-index:2;opacity:0}.home-video-loading,.home-video-error{position:absolute;left:50%;top:50%;z-index:5;min-width:72px;padding:4px 8px;border:1px solid rgba(48,220,255,.32);color:#fff;font-size:11px;line-height:14px;text-align:center;background:rgba(0,0,0,.62);transform:translate(-50%,-50%)}.home-video-error{border-color:#8bf7ff6b;color:#c9fbff} diff --git a/docs/assets/index-148a2898-balabala-1786725044461.css b/docs/assets/index-148a2898-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-148a2898-balabala-1786725044461.css rename to docs/assets/index-148a2898-balabala-1786807848259.css diff --git a/docs/assets/index-15d14f49-1786807848259.js b/docs/assets/index-15d14f49-1786807848259.js new file mode 100644 index 0000000..10f9ad4 --- /dev/null +++ b/docs/assets/index-15d14f49-1786807848259.js @@ -0,0 +1,16 @@ +var jt=Object.defineProperty,Kt=Object.defineProperties;var Bt=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var Gt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable;var rt=(a,i,n)=>i in a?jt(a,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[i]=n,J=(a,i)=>{for(var n in i||(i={}))Gt.call(i,n)&&rt(a,n,i[n]);if(st)for(var n of st(i))Ut.call(i,n)&&rt(a,n,i[n]);return a},Ae=(a,i)=>Kt(a,Bt(i));var he=(a,i,n)=>new Promise((u,r)=>{var h=w=>{try{_(n.next(w))}catch(p){r(p)}},v=w=>{try{_(n.throw(w))}catch(p){r(p)}},_=w=>w.done?u(w.value):Promise.resolve(w.value).then(h,v);_((n=n.apply(a,i)).next())});import{o as d,c as m,a as s,t as $,r as ye,b as x,d as y,p as ut,w as Oe,i as ct,n as K,u as A,e as pe,f as dt,g as R,h as pt,j as k,k as Yt,l as Qt,m as Zt,q as Jt,s as P,v as q,x as Le,F as ve,y as De,z as Xt,A as Fe,B as ea,C as ta,D as N,E as aa,_ as z}from"./index-1786807848259.js";import{g as ee}from"./index-db918426-1786807848259.js";import{_ as gt}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const mt=""+new URL("bottom-menu-arrow-big-180b7071-balabala-1786807848259.svg",import.meta.url).href,ft=""+new URL("bottom-menu-arrow-small-19304179-balabala-1786807848259.svg",import.meta.url).href;/** + * @name: autofit.js + * @author: Larry Zhu + * @version: 3.2.8 + * @description: autofit.js 是迄今为止最易用的自适应工具 + * @license: MIT + */let Ee=null,ae="",Ne="",ze="",Ie=null,ht=null,S=1,X=!1;const ke={isAutofitRunning:!1,init(a={},i=!0){i&&console.log("autofit.js is running");const{dw:n=1920,dh:u=1080,el:r=typeof a=="string"?a:"body",resize:h=!0,ignore:v=[],transition:_="none",delay:w=0,limit:p=.1,cssMode:C="scale",allowScroll:M=!1}=a;Ee=r;const c=document.querySelector(r);if(!c){console.error(`autofit: '${r}' is not exist`);return}const g=document.createElement("style"),V=document.createElement("style");g.lang="text/css",V.lang="text/css",g.id="autofit-style",V.id="ignoreStyle",!M&&(g.innerHTML="body {overflow: hidden;}");const T=document.querySelector("body");T.appendChild(g),T.appendChild(V),c.style.height=`${u}px`,c.style.width=`${n}px`,c.style.transformOrigin="0 0",!M&&(c.style.overflow="hidden"),Pe(n,u,c,v,p,C),Ie=()=>{clearTimeout(ht),w!=0?ht=setTimeout(()=>{Pe(n,u,c,v,p,C),X&&He(ae,ze,Ne)},w):(Pe(n,u,c,v,p,C),X&&He(ae,ze,Ne))},h&&window.addEventListener("resize",Ie),this.isAutofitRunning=!0,setTimeout(()=>{c.style.transition=`${_}s`})},off(a="body"){try{window.removeEventListener("resize",Ie);const i=document.querySelector("#autofit-style");i&&i.remove();const n=document.querySelector("#ignoreStyle");n&&n.remove();const u=document.querySelector(Ee||a);u&&(u.style.cssText=""),X&&kt()}catch(i){console.error("autofit: Failed to remove normally",i)}this.isAutofitRunning=!1,console.log("autofit.js is off")},elRectification:null,scale:S};function He(a,i=!0,n=1){if(!ke.isAutofitRunning){console.error("autofit.js:(elRectification): autofit has not been initialized yet");return}kt(),!a&&console.error(`autofit.js:elRectification bad selector: ${a}`),ae=a,Ne=n,ze=i;const u=Array.from(document.querySelectorAll(a));if(u.length==0){console.error(`autofit.js:elRectification found no element by selector: "${a}"`);return}for(const r of u){const h=S==1?1:Number(S)*Number(n);X||(r.originalWidth=r.clientWidth,r.originalHeight=r.clientHeight),i?(r.style.width=`${r.originalWidth*h}px`,r.style.height=`${r.originalHeight*h}px`):(r.style.width=`${100*h}%`,r.style.height=`${100*h}%`),r.style.transform=`translateZ(0) scale(${1/Number(S)})`,r.style.transformOrigin="0 0"}X=!0}function kt(){if(ae){X=!1;for(const a of Array.from(document.querySelectorAll(ae)))a.style.width="",a.style.height="",a.style.transform=""}}function Pe(a,i,n,u,r,h="scale"){const v=document.documentElement.clientHeight,_=document.documentElement.clientWidth;S=_/vr?S:1,ke.scale=+S;const w=Math.round(v/Number(S)),p=Math.round(_/Number(S));n.style.height=`${w}px`,n.style.width=`${p}px`,h==="zoom"?n.style.zoom=`${S}`:n.style.transform=`translateZ(0) scale(${S})`;const C=document.querySelector("#ignoreStyle");C.innerHTML="";for(const M of u){const c=M;let g=c.el||c.dom;if(typeof c=="string"&&(g=c),!g||typeof g=="object"&&!Object.keys(g).length){console.error(`autofit: found invalid or empty selector/object: ${g}`);continue}const V=c.scale?c.scale:1/Number(S),T=V!=S&&c.fontSize,I=V!=S&&c.width,B=V!=S&&c.height;C.innerHTML+=` +${g} { + transform: scale(${V})!important; + transform-origin: 0 0; + ${I?`width: ${I}!important;`:""} + ${B?`height: ${B}!important;`:""} + }`,T&&(C.innerHTML+=` +${g} div ,${g} span,${g} a,${g} * { + font-size: ${T}px; + }`)}}ke.elRectification=He;const na={name:"SvglineAnimation",props:{width:{type:Number,default:135},height:{type:Number,default:150},path:{type:String,default:"M0 72.5H682L732 0.5H3082"},color:{type:String,default:"#0091FF"},duration:{type:Number,default:3},length:{type:Number,default:100},begin:{type:Number,default:0},dir:{type:Array,default:()=>[0,1]},strokeWidth:{type:Number,default:4}},data(){let a=1;return{maskId:"svgline-"+a,radialGradientId:"radialGradient-"+a}},mounted(){let a=this._.uid;this.maskId="svgline-"+a,this.radialGradientId="radialGradient-"+a}},ia={class:"svg-line-animation"},oa=["viewBox"],la=["id"],sa=["stop-opacity"],ra=["stop-opacity"],ua=["id"],ca=["r","fill"],da=["begin","dur","path","keyPoints"],ma=["d","stroke","stroke-width","mask"];function fa(a,i,n,u,r,h){return d(),m("div",ia,[(d(),m("svg",{width:"100%",height:"100%",viewBox:`0 0 ${n.width} ${n.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("defs",null,[s("radialGradient",{id:r.radialGradientId,cx:"50%",cy:"50%",fx:"100%",fy:"50%",r:"50%"},[s("stop",{offset:"0%","stop-color":"#fff","stop-opacity":n.dir[1]},null,8,sa),s("stop",{offset:"100%","stop-color":"#fff","stop-opacity":n.dir[0]},null,8,ra)],8,la),s("mask",{id:r.maskId},[s("circle",{r:n.length,cx:"0",cy:"0",fill:`url(#${r.radialGradientId})`},[s("animateMotion",{begin:`${n.begin}s`,dur:`${n.duration}s`,path:n.path,rotate:"auto",keyPoints:`${n.dir[0]};${n.dir[1]}`,keyTimes:"0;1",repeatCount:"indefinite"},null,8,da)],8,ca)],8,ua)]),s("path",{class:"path-line",d:n.path,stroke:n.color,"stroke-width":n.strokeWidth,mask:`url(#${r.maskId})`},null,8,ma)],8,oa))])}const ge=gt(na,[["render",fa]]);const ha={class:"m-header"},va={class:"m-header-wrap"},ya={class:"m-header-title"},pa={class:"m-header-subtext"},ga={class:"m-header-left",style:{color:"#fff"}},ka={class:"m-header-right"},wa={class:"m-header-line"},_a={__name:"index",props:{title:{type:String,default:"红原县数字畜牧业监管平台"},subText:{type:String,default:"Hongyuan Digital Animal Husbandry Supervision Platform"}},setup(a){return(i,n)=>(d(),m("div",ha,[s("div",va,[s("div",ya,$(a.title),1),s("div",pa,$(a.subText),1)]),s("div",ga,[ye(i.$slots,"left")]),s("div",ka,[ye(i.$slots,"right")]),s("div",wa,[x(ge,{class:"m-header-line-left",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"}),x(ge,{class:"m-header-line-right",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"})])]))}};const ba={class:"m-menu"},Sa={__name:"index",props:{defaultActive:{type:[String,Number],default:""}},emits:["select"],setup(a,{emit:i}){const n=i,u=a,r=y(u.defaultActive);return ut("updateActive",v=>{v!==r.value&&(r.value=v,n("select",v))}),ut("activeIndex",r),Oe(()=>u.defaultActive,v=>{v!==r.value&&(r.value=v)}),(v,_)=>(d(),m("div",ba,[ye(v.$slots,"default")]))}},xa=["aria-current","onKeydown"],$a={__name:"index",props:{index:{type:[String,Number],required:!0}},setup(a){const i=a,n=ct("updateActive"),u=ct("activeIndex"),r=()=>{n(i.index)};return(h,v)=>(d(),m("div",{class:K(["m-menu-item",{"is-active":a.index===A(u)}]),role:"button",tabindex:"0","aria-current":a.index===A(u)?"page":void 0,onClick:r,onKeydown:[pe(dt(r,["prevent"]),["enter"]),pe(dt(r,["prevent"]),["space"])]},[ye(h.$slots,"default")],42,xa))}};let vt=0;const yt="webkit moz ms o".split(" ");let F,E;const Ma=typeof window=="undefined";if(Ma)F=function(){},E=function(){};else{F=window.requestAnimationFrame,E=window.cancelAnimationFrame;let a;for(let i=0;i{i(n+u)},u);return vt=n+u,r},E=function(i){window.clearTimeout(i)})}const Va={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(a,i,n,u){return n*(-Math.pow(2,-10*a/u)+1)*1024/1023+i}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=F(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){E(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,F(this.count)},reset(){this.startTime=null,E(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(a){this.startTime||(this.startTime=a),this.timestamp=a;const i=a-this.startTime;this.remaining=this.localDuration-i,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(i,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(i,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(i/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(i/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),i1?this.decimal+i[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(n);)n=n.replace(r,"$1"+this.separator+"$2");return this.prefix+n+u+this.suffix}},destroyed(){E(this.rAF)}};function Ta(a,i,n,u,r,h){return d(),m("span",null,$(r.displayValue),1)}const wt=gt(Va,[["render",Ta]]);typeof window!="undefined"&&window.Vue&&window.Vue.component("count-to",wt);const Ca={class:"count-card-left"},Ra={class:"count-card-title"},Aa={class:"title-zh"},La={key:0,class:"title-en"},Da={class:"count-card-right"},Fa={class:"unit"},Ea={__name:"index",props:{info:{type:Object,default:()=>({icon:"xiaoshoujine",zh:"2023年销售金额",en:"Sales amount in 2023",value:9500,unit:"万元",decimals:0})}},setup(a){const i=a,n=y(!0),u=y(!1),r=y(0);let h=null;const v=R(()=>i.info.duration||1800);Oe(()=>[i.info.value,i.info.zh],()=>{h&&window.clearTimeout(h),n.value=!0,u.value=!1,r.value+=1},{immediate:!0});function _(C){return C.toUpperCase()}function w(){n.value=!0,u.value=!1}function p(){n.value=!1,u.value=!0,h&&window.clearTimeout(h),h=window.setTimeout(()=>{u.value=!1},900)}return pt(()=>{h&&window.clearTimeout(h)}),(C,M)=>(d(),m("div",{class:K(["count-card",{"is-counting":n.value,"is-settled":u.value}])},[s("div",Ca,[s("div",{class:K(["count-card-icon","icon-"+a.info.icon])},null,2),s("div",Ra,[s("div",Aa,$(a.info.zh),1),a.info.en?(d(),m("div",La,$(_(a.info.en)),1)):k("",!0)])]),s("div",Da,[(d(),m("div",{class:"value",key:r.value},[x(A(wt),{startVal:0,endVal:a.info.value,decimals:a.info.decimals,duration:v.value,separator:"",autoplay:!0,onMountedCallback:w,onCallback:p},null,8,["endVal","decimals","duration"])])),s("div",Fa,$(a.info.unit),1)])],2))}},te=[{key:"home",label:"首页",bottomLabel:"核心指标",status:"ready"},{key:"forest-grass-wet",label:"林草湿资源",bottomLabel:"林草湿",status:"ready"},{key:"ecological-protection",label:"生态保护",bottomLabel:"生态保护",status:"ready"},{key:"yak-management",label:"牦牛管理",bottomLabel:"牦牛管理",status:"ready"},{key:"pasture-management",label:"牧场管理",bottomLabel:"牧场管理",status:"ready"},{key:"yak-industry-chain",label:"牦牛全产业链",bottomLabel:"牦牛全产业链",status:"ready"},{key:"smart-management",label:"智慧管理",bottomLabel:"智慧管理",status:"ready"},{key:"grass-livestock-balance",label:"草畜平衡",bottomLabel:"草畜平衡",status:"ready"}];function Ia(a){return te.find(i=>i.key===a)||te[1]}const qe=[{key:"ecological-redline",label:"生态保护红线",bottomLabel:"生态保护红线"},{key:"natural-protected-area",label:"自然保护地",bottomLabel:"自然保护地"},{key:"national-park",label:"若尔盖国家公园",bottomLabel:"若尔盖国家公园"},{key:"restoration",label:"生态修复工程",bottomLabel:"生态修复工程"},{key:"engineering-analysis",label:"生态工程分析",bottomLabel:"生态工程分析"}];function Pa(a){var v,_,w,p;const i=(_=(v=a==null?void 0:a.data)!=null?v:a==null?void 0:a.result)!=null?_:a,n=Array.isArray(i)?i[0]:Array.isArray(i==null?void 0:i.rows)?i.rows[0]:Array.isArray(i==null?void 0:i.list)?i.list[0]:i;if(!n||typeof n!="object")return null;const u=(...C)=>C.find(M=>M!=null&&M!==""),r=u(n.temp,n.temperature,n.temperature_float,n.tempDay,n.temperatureDay),h=u(n.humidity,n.humidity_float,n.pop,n.relativeHumidity);return{condition:n.conditionDay||n.condition||n.weather||n.weatherText||"",temperature:r==null||r===""?"--":r,humidity:h==null||h===""?"--":h,windDirection:n.windDir||n.windDirection||"",windLevel:n.windLevel||n.windScale||n.windPower||"",icon:(p=(w=n.icon)!=null?w:n.weatherIcon)!=null?p:null}}function qa(){return he(this,null,function*(){const a=yield Yt("/openApi/screen2/external/weather",{timeout:8e3}),i=Pa(a);if(!i)throw new Error((a==null?void 0:a.msg)||"天气服务暂无数据");return i})}const Na=["aria-hidden","inert"],za=["aria-hidden","inert"],Ha=["aria-hidden","inert"],Oa=["aria-hidden","inert"],Wa=["aria-hidden","inert"],ja=["aria-hidden","inert"],Ka=["aria-hidden","inert"],Ba=["aria-hidden","inert"],Ga={class:"large-screen-wrap"},Ua={class:"m-header-tools"},Ya=["src","alt"],Qa={key:1,class:"platform-weather__fallback-icon","aria-hidden":"true"},Za={class:"platform-weather__copy"},Ja={class:"platform-weather__primary"},Xa={key:0},en={key:0},tn={key:0},an={key:1,"aria-hidden":"true"},nn={key:2},on={class:"platform-datetime","aria-label":"当前日期和时间"},ln={class:"top-menu"},sn={key:0,class:"top-menu-mid-space"},rn={key:1,class:"platform-map-tools","aria-label":"地图工具"},un=["title","aria-label"],cn={key:2,class:"module-coming"},dn={class:"module-coming-title"},mn={key:3,class:"bottom-tray"},fn={class:"bottom-menu"},hn=["onClick"],vn={key:8,class:"loading platform-loading"},yn={class:"loading-progress"},pn={class:"value"},gn=2,kn=650,xn={__name:"index",setup(a){const i=N(()=>z(()=>import("./index-51b64c4c-1786807848259.js"),["./index-51b64c4c-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./live-scene-1-60a25a2c-1786807848259.js","./index.esm.min-024ee703-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./index-80cb981f-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./screen2Standard-03f7f908-1786807848259.js","./index-db918426-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./yakApi-0d53b9e4-1786807848259.js","./TopicSwitcher-c91bad20-1786807848259.js","./TopicSwitcher-b6474311-balabala-1786807848259.css","./FeatureInfoPanel-9b5cdecf-1786807848259.js","./FeatureInfoPanel-ca5da623-balabala-1786807848259.css","./resourceDetailRows-4a1c39d1-1786807848259.js","./layers-3f51b190-1786807848259.js","./chartTheme-7114e4ea-1786807848259.js","./featurePanelLayout-f3191169-1786807848259.js","./index-5095c6be-balabala-1786807848259.css"],import.meta.url)),n=N(()=>z(()=>import("./index-1b1ea210-1786807848259.js"),["./index-1b1ea210-1786807848259.js","./index-db918426-1786807848259.js","./assets-8728b943-1786807848259.js","./screen2Standard-03f7f908-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./screen2Standard-cdb21878-balabala-1786807848259.css","./TopicSwitcher-c91bad20-1786807848259.js","./index-80cb981f-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./TopicSwitcher-b6474311-balabala-1786807848259.css","./resourceDetailRows-4a1c39d1-1786807848259.js","./featurePanelLayout-f3191169-1786807848259.js","./LayerPanel-e92912ff-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./LayerPanel-60397a69-balabala-1786807848259.css","./FeatureInfoPanel-9b5cdecf-1786807848259.js","./FeatureInfoPanel-ca5da623-balabala-1786807848259.css","./index-fea14f56-balabala-1786807848259.css","./layout-9e63e529-balabala-1786807848259.css"],import.meta.url)),u=N(()=>z(()=>import("./index-a69833c7-1786807848259.js"),["./index-a69833c7-1786807848259.js","./index-db918426-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index-148a2898-balabala-1786807848259.css","./index-80cb981f-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./assets-8728b943-1786807848259.js","./screen2Standard-03f7f908-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./TopicSwitcher-c91bad20-1786807848259.js","./TopicSwitcher-b6474311-balabala-1786807848259.css","./featurePanelLayout-f3191169-1786807848259.js","./LayerPanel-e92912ff-1786807848259.js","./LayerPanel-60397a69-balabala-1786807848259.css","./FeatureInfoPanel-9b5cdecf-1786807848259.js","./FeatureInfoPanel-ca5da623-balabala-1786807848259.css","./index-e1561386-balabala-1786807848259.css","./layout-9e63e529-balabala-1786807848259.css"],import.meta.url)),r=N(()=>z(()=>import("./index-a70f7349-1786807848259.js"),["./index-a70f7349-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-09f1c557-balabala-1786807848259.css"],import.meta.url)),h=N(()=>z(()=>import("./index-d5f4c71b-1786807848259.js"),["./index-d5f4c71b-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index.esm.min-024ee703-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./screen2Standard-03f7f908-1786807848259.js","./index-db918426-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./yakApi-0d53b9e4-1786807848259.js","./TopicSwitcher-c91bad20-1786807848259.js","./index-80cb981f-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./TopicSwitcher-b6474311-balabala-1786807848259.css","./LayerPanel-e92912ff-1786807848259.js","./LayerPanel-60397a69-balabala-1786807848259.css","./assets-8728b943-1786807848259.js","./index-e9538252-balabala-1786807848259.css"],import.meta.url)),v=N(()=>z(()=>import("./index-d7f6acfe-1786807848259.js"),["./index-d7f6acfe-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./live-scene-1-60a25a2c-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./index-80cb981f-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./LayerPanel-e92912ff-1786807848259.js","./LayerPanel-60397a69-balabala-1786807848259.css","./FeatureInfoPanel-9b5cdecf-1786807848259.js","./screen2Standard-03f7f908-1786807848259.js","./index-db918426-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./FeatureInfoPanel-ca5da623-balabala-1786807848259.css","./featurePanelLayout-f3191169-1786807848259.js","./index-c633956d-balabala-1786807848259.css"],import.meta.url)),_=N(()=>z(()=>import("./index-188d593b-1786807848259.js"),["./index-188d593b-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index.esm.min-024ee703-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./index-80cb981f-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-ee3df49c-balabala-1786807848259.css","./FeatureInfoPanel-9b5cdecf-1786807848259.js","./screen2Standard-03f7f908-1786807848259.js","./index-db918426-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./FeatureInfoPanel-ca5da623-balabala-1786807848259.css","./LayerPanel-e92912ff-1786807848259.js","./LayerPanel-60397a69-balabala-1786807848259.css","./TopicSwitcher-c91bad20-1786807848259.js","./TopicSwitcher-b6474311-balabala-1786807848259.css","./assets-8728b943-1786807848259.js","./layers-3f51b190-1786807848259.js","./chartTheme-7114e4ea-1786807848259.js","./index-80d486d8-balabala-1786807848259.css"],import.meta.url)),w=N(()=>z(()=>import("./index-daf8fb63-1786807848259.js"),["./index-daf8fb63-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index-0a7426a0-balabala-1786807848259.css"],import.meta.url)),p=Qt(),C=Zt(),M=se(p.query.module),c=y(M),g=y(M==="ecological-protection"?tt(p.query.view):"ecological-redline"),V=y(M==="yak-management"?Ce(p.query.view):"structure"),T=y({[M]:!0});let I=[M];const B=y({}),G=y(!0),U=y(0),we=y(null),_e=y(null),We=y(null),je=y(null),Ke=y(null),Be=y(null),Ge=y(null),Ue=y(!1),Ye=y(""),Qe=y(""),L=y({condition:"",temperature:"--",humidity:"--",windDirection:"",windLevel:"",icon:null}),Y=y(!1),be=y(!1);let Q=null,Se=null,xe=null,ne=!1,ie=null;const _t=Date.now(),H={progress:0},bt=new Set(["home","grass-livestock-balance","pasture-management","yak-industry-chain"]),O=["town","area","wetland","yield","rate","stack","leaf","risk","grass-basic","grass-general","forest","park","project","length","device","certificate"],St=new Set(O),l=R(()=>Ia(c.value)),xt=R(()=>`/images/weather/W${L.value.icon}.png`),$t=R(()=>Y.value&&L.value.icon!==null&&!be.value),$e=R(()=>!["","--",null,void 0].includes(L.value.humidity)),oe=R(()=>{const e=String(L.value.windDirection||"").trim(),t=String(L.value.windLevel||"").trim();return!e&&!t?"":`${e}${e&&t?" ":""}${t?`${t}级`:""}`}),Ze=R(()=>Ue.value?"退出":"全屏"),Mt=R(()=>!["smart-management","grass-livestock-balance"].includes(l.value.key)),Vt=R(()=>W.value.length===5&&(l.value.key==="home"||l.value.key==="ecological-protection"&&Me.value==="national-park")),Tt=R(()=>c.value==="ecological-protection"?qe:te),Me=R(()=>c.value==="ecological-protection"?g.value:c.value),W=R(()=>{const e=B.value[c.value];return Array.isArray(e)?e:[]});Jt(()=>{Je(),Xe(),Se=window.setInterval(Je,1e3),xe=window.setInterval(Xe,30*60*1e3),Q=ke.init({dh:1080,dw:1920,el:"#large-screen",resize:!0,cssMode:"zoom"}),Nt(),me(),Re(),Dt(c.value)?Ft(c.value):(ne=!0,U.value=100,G.value=!1)}),pt(()=>{var e;Se&&window.clearInterval(Se),xe&&window.clearInterval(xe),ce(),(e=Q==null?void 0:Q.off)==null||e.call(Q,"#large-screen"),zt(),ee.killTweensOf(H)});function Je(){const e=new Date,t=b=>String(b).padStart(2,"0"),o=["周日","周一","周二","周三","周四","周五","周六"];Ye.value=`${e.getFullYear()}.${t(e.getMonth()+1)}.${t(e.getDate())} ${o[e.getDay()]}`,Qe.value=`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function Xe(){return he(this,null,function*(){try{L.value=yield qa(),Y.value=!0,be.value=!1}catch(e){Y.value=!1,console.warn("[platform] weather unavailable",e)}})}function Ct(){be.value=!0}function Ve(e,t={}){const o=se(e),b=o==="home"&&!t.fromRoute;if(o==="yak-management"&&!t.fromRoute&&(V.value="structure"),o===c.value){b&&de(),le(o);return}c.value=o,qt(o),le(o),b&&de(),Fe(Re)}function Te(e){se(e)==="home"&&c.value==="home"&&de()}function Rt(e){if(e!=null&&e.key){if(c.value==="ecological-protection"){et(e.key);return}Ve(e.key)}}function et(e){const t=qe.some(o=>o.key===e)?e:"ecological-redline";t===g.value&&c.value==="ecological-protection"||(g.value=t,c.value==="ecological-protection"&&le("ecological-protection"),Fe(Re))}function At(e){const t=Ce(e);t!==V.value&&(V.value=t,c.value==="yak-management"&&le("yak-management"))}Oe(()=>[p.query.module,p.query.view],([e,t])=>{const o=se(e);o==="ecological-protection"&&(g.value=tt(t)),o==="yak-management"&&(V.value=Ce(t)),o!==c.value&&Ve(o,{fromRoute:!0})});function le(e=c.value){const t=Ae(J({},p.query),{module:e});e==="yak-management"?t.view=V.value:e==="ecological-protection"?t.view=g.value:delete t.view;const o=p.query||{},b=String(o.module||"")===String(t.module||"")&&String(o.view||"")===String(t.view||"");p.path==="/platform"&&b||C.replace({path:"/platform",query:t}).catch(()=>{})}function se(e){const t=Array.isArray(e)?e[0]:e;return te.some(o=>o.key===t)?t:"home"}function Ce(e){const t=Array.isArray(e)?e[0]:e;return["structure","forecast","epidemic","trade","slaughter"].includes(t)?t:"structure"}function tt(e){const t=Array.isArray(e)?e[0]:e;return qe.some(o=>o.key===t)?t:"ecological-redline"}function j(e){const t=e.moduleKey||(e.topicKey?"forest-grass-wet":c.value);B.value=Ae(J({},B.value),{[t]:Et(e.items||[])})}function re(e={}){const t=typeof e=="number"?e:e.progress;Lt(t)}function ue(){ce(),ee.killTweensOf(H),H.progress=100,U.value=100;const e=Date.now()-_t,t=Math.max(80,kn-e);window.setTimeout(at,t)}function Lt(e){if(!G.value)return;const t=Math.max(0,Math.min(100,Math.floor(Number(e)||0)));t{U.value=Math.floor(H.progress)}})}function at(){if(!G.value||ne)return;ce(),ne=!0;const e=ee.timeline({onComplete:()=>{G.value=!1}});e.to(".platform-loading .loading-text span",{y:"200%",opacity:0,ease:"power4.inOut",duration:.45,stagger:.035}),e.to(".platform-loading .loading-progress",{opacity:0,ease:"power4.inOut",duration:.3},"<"),e.to(".platform-loading",{opacity:0,ease:"power4.inOut",duration:.28},"-=0.12")}function Dt(e){return bt.has(e)}function Ft(e){ce();const t=e==="home"?12e3:8e3;ie=window.setTimeout(()=>{!G.value||ne||(ee.killTweensOf(H),H.progress=100,U.value=100,window.setTimeout(at,120))},t)}function ce(){ie&&(window.clearTimeout(ie),ie=null)}function Et(e=[]){const t=new Set;return e.slice(0,10).map((o,b)=>{var Z;const f=Number(o.value)||0,D={zh:o.zh||o.name||`指标${b+1}`,en:o.en||"",value:f,unit:o.unit||"",decimals:(Z=o.decimals)!=null?Z:Number.isInteger(f)?0:2},fe=It(J(J({},o),D),b,t);return t.add(fe),J({icon:fe},D)})}function It(e={},t=0,o=new Set){const f=Pt(e,t).find(D=>St.has(D)&&!o.has(D));return f||O.find(D=>!o.has(D))||O[t%O.length]}function Pt(e={},t=0){const o=`${e.zh||e.name||""}${e.unit||""}`,b=[],f=(...fe)=>{fe.forEach(Z=>{Z&&!b.includes(Z)&&b.push(Z)})};f(e.icon),/风险|预警|告警/.test(o)&&f("risk","rate"),/模型|修正|共识|预测|变化|净/.test(o)&&f("rate","stack"),/率|占比|比例|超载/.test(o)&&f("rate","project"),/生态牧场|家庭生态/.test(o)&&f("leaf","town"),/出证|证书|证/.test(o)&&f("certificate","project"),/交易|销售/.test(o)&&f("yield","certificate"),/流通|出栏|流出/.test(o)&&f("length","certificate","project"),/运输|车辆|无人机|识别|设备|监测/.test(o)&&f("device","length"),/工程长度|长度|公里/.test(o)&&f("length","project"),/修复项目|项目|工程|治理/.test(o)&&f("project","length"),/国家公园|保护范围|保护区|划定/.test(o)&&f("park","leaf"),/产量|库容|鲜草|饲草|收入|产值|繁殖|补充/.test(o)&&f("yield","leaf"),/湿地/.test(o)&&f("wetland","leaf"),/基本草原/.test(o)&&f("grass-basic","area"),/一般草原/.test(o)&&f("grass-general","area"),/林地|森林|公益林/.test(o)&&f("forest","leaf"),/面积|草地|草原|草场|万亩|亩/.test(o)&&f("area","grass-basic","grass-general"),/牦牛|存栏|头|结构/.test(o)&&f("stack","yield","leaf"),/乡镇|镇域|村|点位|主体|牧户|农户|联户|户|个|覆盖/.test(o)&&f("town","project"),/生态|林草/.test(o)&&f("leaf","wetland");const D=t%O.length;return f(...O.slice(D),...O.slice(0,D)),b}function qt(e){["home","forest-grass-wet","ecological-protection","grass-livestock-balance","yak-management","pasture-management","yak-industry-chain","smart-management"].includes(e)&&(I=I.filter(t=>t!==e),I.push(e),I=I.slice(-gn),T.value=Object.fromEntries(I.map(t=>[t,!0])))}function Re(){window.scrollTo(0,0),document.documentElement.scrollTop=0,document.body.scrollTop=0;const e=document.querySelector("#app");e&&(e.scrollTop=0)}function de(e=4){Fe(()=>{const t=_e.value;if(t!=null&&t.showDefaultThreeMap){t.showDefaultThreeMap();return}e>0&&window.setTimeout(()=>de(e-1),80)})}const nt=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];function it(){return typeof document=="undefined"?null:document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||null}function me(){var o;const e=it(),t=we.value;Ue.value=!!(t&&e&&(e===t||t.contains(e)||(o=e.contains)!=null&&o.call(e,t)))}function Nt(){typeof document!="undefined"&&nt.forEach(e=>document.addEventListener(e,me))}function zt(){typeof document!="undefined"&&nt.forEach(e=>document.removeEventListener(e,me))}function ot(){var e,t;(t=(e=lt())==null?void 0:e.refreshMapView)==null||t.call(e)}function Ht(){return he(this,null,function*(){if(typeof document=="undefined")return;const e=it();try{if(e){const t=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;yield t==null?void 0:t.call(document)}else{const t=we.value||document.documentElement,o=t.requestFullscreen||t.webkitRequestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen;yield o==null?void 0:o.call(t)}}catch(t){console.warn("[platform] fullscreen toggle failed",t)}finally{me(),window.setTimeout(ot,80),window.setTimeout(ot,280)}})}function Ot(){var e,t;(t=(e=lt())==null?void 0:e.resetMap)==null||t.call(e)}function lt(){return l.value.key==="home"?_e.value:l.value.key==="forest-grass-wet"?We.value:l.value.key==="ecological-protection"?je.value:l.value.key==="yak-management"?Ke.value:l.value.key==="pasture-management"?Be.value:l.value.key==="yak-industry-chain"?Ge.value:null}function Wt(){aa()}return(e,t)=>(d(),m("div",{ref_key:"platformScreenRef",ref:we,class:K(["large-screen platform-screen",{"is-home":l.value.key==="home","is-forest-grass-wet":l.value.key==="forest-grass-wet","is-ecological-protection":l.value.key==="ecological-protection","is-grass-livestock-balance":l.value.key==="grass-livestock-balance","is-yak-management":l.value.key==="yak-management","is-pasture-management":l.value.key==="pasture-management","is-yak-industry-chain":l.value.key==="yak-industry-chain","is-smart-management":l.value.key==="smart-management","is-ecology-national-park":l.value.key==="ecological-protection"&&Me.value==="national-park"}]),id:"large-screen"},[T.value.home?P((d(),m("div",{key:0,class:"platform-module-pane","aria-hidden":l.value.key!=="home",inert:l.value.key!=="home"},[x(A(i),{ref_key:"homeDashboardRef",ref:_e,active:l.value.key==="home",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Na)),[[q,l.value.key==="home"]]):k("",!0),T.value["forest-grass-wet"]?P((d(),m("div",{key:1,class:"platform-module-pane","aria-hidden":l.value.key!=="forest-grass-wet",inert:l.value.key!=="forest-grass-wet"},[x(A(n),{ref_key:"forestGrassWetRef",ref:We,active:l.value.key==="forest-grass-wet","show-loading":!1,onTopicStats:j},null,8,["active"])],8,za)),[[q,l.value.key==="forest-grass-wet"]]):k("",!0),T.value["ecological-protection"]?P((d(),m("div",{key:2,class:"platform-module-pane","aria-hidden":l.value.key!=="ecological-protection",inert:l.value.key!=="ecological-protection"},[x(A(u),{ref_key:"ecologicalProtectionRef",ref:je,active:l.value.key==="ecological-protection","active-view":g.value,"show-loading":!1,onModuleStats:j,onViewChange:et},null,8,["active","active-view"])],8,Ha)),[[q,l.value.key==="ecological-protection"]]):k("",!0),T.value["grass-livestock-balance"]?P((d(),m("div",{key:3,class:"platform-module-pane","aria-hidden":l.value.key!=="grass-livestock-balance",inert:l.value.key!=="grass-livestock-balance"},[x(A(r),{active:l.value.key==="grass-livestock-balance",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Oa)),[[q,l.value.key==="grass-livestock-balance"]]):k("",!0),T.value["yak-management"]?P((d(),m("div",{key:4,class:"platform-module-pane","aria-hidden":l.value.key!=="yak-management",inert:l.value.key!=="yak-management"},[x(A(h),{ref_key:"yakManagementRef",ref:Ke,active:l.value.key==="yak-management","view-key":V.value,onModuleStats:j,onViewChange:At},null,8,["active","view-key"])],8,Wa)),[[q,l.value.key==="yak-management"]]):k("",!0),T.value["pasture-management"]?P((d(),m("div",{key:5,class:"platform-module-pane","aria-hidden":l.value.key!=="pasture-management",inert:l.value.key!=="pasture-management"},[x(A(v),{ref_key:"pastureManagementRef",ref:Be,active:l.value.key==="pasture-management",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,ja)),[[q,l.value.key==="pasture-management"]]):k("",!0),T.value["yak-industry-chain"]?P((d(),m("div",{key:6,class:"platform-module-pane","aria-hidden":l.value.key!=="yak-industry-chain",inert:l.value.key!=="yak-industry-chain"},[x(A(_),{ref_key:"yakIndustryChainRef",ref:Ge,active:l.value.key==="yak-industry-chain",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Ka)),[[q,l.value.key==="yak-industry-chain"]]):k("",!0),T.value["smart-management"]?P((d(),m("div",{key:7,class:"platform-module-pane","aria-hidden":l.value.key!=="smart-management",inert:l.value.key!=="smart-management"},[x(A(w),{active:l.value.key==="smart-management"},null,8,["active"])],8,Ba)),[[q,l.value.key==="smart-management"]]):k("",!0),s("div",Ga,[x(_a,{title:"红原县数字畜牧业监管平台","sub-text":"Hongyuan Digital Animal Husbandry Supervision Platform"},{right:Le(()=>[s("div",Ua,[s("div",{class:K(["platform-weather",{"is-unavailable":!Y.value}])},[$t.value?(d(),m("img",{key:0,class:"platform-weather__icon",src:xt.value,alt:L.value.condition||"天气",onError:Ct},null,40,Ya)):(d(),m("span",Qa)),s("div",Za,[s("div",Ja,[s("strong",null,$(Y.value?L.value.condition||"实时天气":"天气暂无数据"),1),Y.value?(d(),m("em",Xa,$(L.value.temperature)+"℃",1)):k("",!0)]),$e.value||oe.value?(d(),m("small",en,[$e.value?(d(),m("span",tn,"湿度 "+$(L.value.humidity)+"%",1)):k("",!0),$e.value&&oe.value?(d(),m("i",an)):k("",!0),oe.value?(d(),m("span",nn,$(oe.value),1)):k("",!0)])):k("",!0)])],2),s("div",on,[s("strong",null,$(Qe.value),1),s("span",null,$(Ye.value),1)]),s("button",{class:"logout-button","aria-label":"退出登录",title:"退出登录",type:"button",onClick:Wt},[...t[0]||(t[0]=[s("svg",{class:"logout-icon",viewBox:"0 0 24 24","aria-hidden":"true"},[s("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),s("path",{d:"M16 17l5-5-5-5"}),s("path",{d:"M21 12H9"})],-1)])])])]),_:1}),s("div",ln,[x(Sa,{"default-active":c.value,onSelect:Ve},{default:Le(()=>[(d(!0),m(ve,null,De(A(te),(o,b)=>(d(),m(ve,{key:o.key},[x($a,{index:o.key,onClick:f=>Te(o.key),onKeydown:[pe(f=>Te(o.key),["enter"]),pe(f=>Te(o.key),["space"])]},{default:Le(()=>[ea($(o.label),1)]),_:2},1032,["index","onClick","onKeydown"]),b===3?(d(),m("div",sn)):k("",!0)],64))),128))]),_:1},8,["default-active"])]),W.value.length&&!["smart-management","grass-livestock-balance"].includes(l.value.key)?(d(),m("div",{key:0,class:K(["top-count-card",{"is-four":W.value.length>3&&W.value.length<=4,"is-multi":W.value.length>4,"is-count-five":W.value.length===5,"is-home-five":Vt.value}])},[(d(!0),m(ve,null,De(W.value,o=>(d(),ta(Ea,{key:o.zh,info:o},null,8,["info"]))),128))],2)):k("",!0),Mt.value?(d(),m("div",rn,[s("button",{type:"button",title:Ze.value,"aria-label":Ze.value,onClick:Ht},[...t[1]||(t[1]=[s("span",{class:"platform-map-tool-icon is-fullscreen","aria-hidden":"true"},null,-1)])],8,un),s("button",{type:"button",title:"复位地图","aria-label":"复位地图",onClick:Ot},[...t[2]||(t[2]=[s("span",{class:"platform-map-tool-icon is-reset","aria-hidden":"true"},null,-1)])])])):k("",!0),l.value.status!=="ready"?(d(),m("div",cn,[s("div",dn,$(l.value.label),1),t[3]||(t[3]=s("div",{class:"module-coming-text"},"模块建设中,平台框架已预留入口",-1))])):k("",!0),["home","forest-grass-wet","ecological-protection","grass-livestock-balance","yak-management","pasture-management","yak-industry-chain","smart-management"].includes(l.value.key)?k("",!0):(d(),m("div",mn,[x(ge,{class:"bottom-svg-line-left",width:721,height:57,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:50,path:"M1 56.6105C1 31.5123 185.586 10.0503 451.904 1.35519C458.942 1.12543 465.781 4.00883 470.505 9.22964L484.991 25.2383C487.971 28.4775 492.938 30.4201 498.254 30.4201H720.142"}),x(ge,{class:"bottom-svg-line-left bottom-svg-line-right",width:721,height:57,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:50,path:"M1 56.6105C1 31.5123 185.586 10.0503 451.904 1.35519C458.942 1.12543 465.781 4.00883 470.505 9.22964L484.991 25.2383C487.971 28.4775 492.938 30.4201 498.254 30.4201H720.142"}),t[4]||(t[4]=s("div",{class:"bottom-tray-arrow"},[s("img",{src:mt,alt:""}),s("img",{src:ft,alt:""})],-1)),s("div",fn,[(d(!0),m(ve,null,De(Tt.value,o=>(d(),m("div",{key:o.key,class:K(["bottom-menu-item",{"is-active":o.key===Me.value}]),onClick:b=>Rt(o)},[s("span",null,$(o.bottomLabel),1)],10,hn))),128))]),t[5]||(t[5]=s("div",{class:"bottom-tray-arrow is-reverse"},[s("img",{src:mt,alt:""}),s("img",{src:ft,alt:""})],-1))])),t[6]||(t[6]=s("div",{class:"large-screen-left-zsline"},null,-1)),t[7]||(t[7]=s("div",{class:"large-screen-right-zsline"},null,-1))]),G.value?(d(),m("div",vn,[t[9]||(t[9]=Xt('
LOADING
',1)),s("div",yn,[s("span",pn,$(U.value),1),t[8]||(t[8]=s("span",{class:"unit"},"%",-1))])])):k("",!0)],2))}};export{xn as default}; diff --git a/docs/assets/index-1683923b-balabala-1786725044461.css b/docs/assets/index-1683923b-balabala-1786725044461.css deleted file mode 100644 index 3897068..0000000 --- a/docs/assets/index-1683923b-balabala-1786725044461.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.map{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background-color:#000}.map canvas{display:block;width:100%;height:100%}.map .yak-industry-point-label{width:172px;min-height:72px;margin-bottom:28px;color:#f2feff;font-size:12px;pointer-events:none;will-change:transform}.map .yak-industry-point-label-wrap{position:relative;width:172px;padding:8px 10px 9px;border:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 56%,transparent);border-radius:4px;background:linear-gradient(120deg,rgba(6,37,49,.88),rgba(3,16,27,.76)),linear-gradient(90deg,color-mix(in srgb,var(--yak-point-color, #24f6c4) 18%,transparent),transparent 72%);box-shadow:0 0 18px color-mix(in srgb,var(--yak-point-color, #24f6c4) 26%,transparent),inset 0 0 14px #30dcff14}.map .yak-industry-point-label-wrap:after{content:"";position:absolute;left:14px;bottom:-9px;width:14px;height:14px;border-right:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 52%,transparent);border-bottom:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 52%,transparent);background:rgba(3,16,27,.82);transform:rotate(45deg)}.map .yak-industry-point-label-head,.map .yak-industry-point-label-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.map .yak-industry-point-label-head{color:#daf9ffb3;font-size:10px}.map .yak-industry-point-label-head i{width:7px;height:7px;border-radius:50%;background:var(--yak-point-color, #24f6c4);box-shadow:0 0 10px var(--yak-point-color, #24f6c4)}.map .yak-industry-point-label-head span,.map .yak-industry-point-label-name,.map .yak-industry-point-label-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .yak-industry-point-label-name{margin-top:5px;color:#fff;font-size:13px;font-weight:800;line-height:1.35}.map .yak-industry-point-label-meta{margin-top:5px;color:#d3f1f6ad;font-size:10px}.map .yak-industry-point-label-meta strong{flex:0 0 auto;color:#c9fbff;font-size:11px;font-weight:800}.map .info-point{color:#eaffff;font-size:13px;width:178px;min-height:82px;margin-bottom:24px;will-change:transform}.map .info-point-wrap{position:relative;width:178px;padding:8px 10px 9px;border:1px solid rgba(104,236,255,.38);border-radius:5px;background:linear-gradient(120deg,rgba(6,36,48,.92),rgba(4,18,29,.78)),rgba(2,16,25,.82);box-shadow:0 0 18px #30dcff33,inset 0 0 18px #27f0c014;transform:translate(42%,-12%)}.map .info-point-wrap-inner{position:relative}.map .info-point-wrap-inner:after,.map .info-point-wrap-inner:before{position:absolute;left:-18px;content:""}.map .info-point-wrap-inner:before{top:42px;width:16px;height:1px;background:linear-gradient(90deg,rgba(104,236,255,0),rgba(104,236,255,.88))}.map .info-point-wrap-inner:after{top:38px;width:7px;height:7px;border-radius:50%;background:#c9fbff;box-shadow:0 0 8px #30dcff80}.map .info-point-wrap.is-prime{border-color:#30dcff80;background:linear-gradient(120deg,rgba(12,65,83,.7),rgba(4,24,34,.82)),rgba(2,16,25,.86)}.map .info-point-head{display:flex;align-items:center;gap:7px;min-width:0}.map .info-point-head .rank{flex:0 0 auto;color:#c9fbff;font-size:12px;line-height:14px;font-weight:900}.map .info-point-head strong{overflow:hidden;color:#fff;font-size:15px;line-height:18px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.map .info-point-metric{margin-top:4px;overflow:hidden;color:#a6f4ffc7;font-size:11px;line-height:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.map .info-point-value{display:flex;align-items:baseline;gap:4px;margin-top:2px}.map .info-point-value span{color:#fff;font-size:25px;line-height:28px;font-weight:900;text-shadow:0 0 12px rgba(126,251,246,.6)}.map .info-point-value em{color:#ebfcffc7;font-size:11px;line-height:13px;font-style:normal;font-weight:800}.map .provinces-label-wrap{transform:translate3d(0,200%,0);opacity:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;width:136px;min-height:58px;border:1px solid rgba(126,251,246,.22);border-radius:8px 8px 8px 0;background:rgba(1,19,30,.62);box-shadow:0 0 16px #30dcff29}.map .provinces-label .label-main{min-width:0}.map .provinces-label .label-title{max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7efbf6d1;font-size:10px;line-height:12px;font-weight:500}.map .provinces-label .number{color:#fff;font-size:21px;line-height:25px;font-weight:700}.map .provinces-label .number .unit{color:#fff;font-size:11px;font-weight:400;opacity:.64;padding-left:4px}.map .provinces-label .name{color:#fff;font-size:12px;line-height:14px;font-weight:700;max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .provinces-label .name span{display:block}.map .provinces-label .name .en{color:#fff;font-size:10px;opacity:.5;font-weight:700}.map .provinces-label .no{color:#7efbf6;text-shadow:0 0 5px #7efbf6,0 0 10px #7efbf6;font-size:22px;font-weight:700;flex:0 0 auto}.map .provinces-label.yellow .no{color:#c9fbff!important;text-shadow:0 0 5px rgba(48,220,255,.42)!important}.map .epidemic-village-label{will-change:transform}.map .epidemic-village-label .epidemic-village-card{position:relative;width:142px;padding:7px 9px 6px;border:1px solid rgba(91,236,235,.42);border-radius:4px;color:#eaffff;background:linear-gradient(90deg,rgba(5,35,45,.92),rgba(2,18,29,.78)),rgba(1,17,27,.86);box-shadow:0 0 16px #2ddeff38,inset 0 0 16px #27f0c014;transform:translate(48%,-12%)}.map .epidemic-village-label .epidemic-village-card:before{position:absolute;left:-10px;top:50%;width:10px;height:1px;content:"";background:linear-gradient(90deg,rgba(91,236,235,0),rgba(91,236,235,.78))}.map .epidemic-village-label .epidemic-village-card:after{position:absolute;left:-14px;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;content:"";background:#c9fbff;box-shadow:0 0 8px #30dcff75}.map .epidemic-village-label .epidemic-village-card.is-small{transform:translate(42%,-8%) scale(.92)}.map .epidemic-village-label .village-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.map .epidemic-village-label .village-card-head strong{overflow:hidden;color:#fff;font-size:13px;line-height:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.map .epidemic-village-label .village-card-head span{flex:0 0 auto;padding:1px 5px 2px;border:1px solid rgba(39,240,192,.28);border-radius:2px;color:#79f8e5;font-size:10px;line-height:11px;background:rgba(39,240,192,.08)}.map .epidemic-village-label .village-card-body{display:flex;align-items:baseline;gap:3px;margin-top:4px;white-space:nowrap}.map .epidemic-village-label .village-card-body .metric{color:#c9fffbc2;font-size:10px;line-height:12px}.map .epidemic-village-label .village-card-body .number{color:#fff;font-size:20px;line-height:22px;font-weight:900;text-shadow:0 0 10px rgba(126,251,246,.7)}.map .epidemic-village-label .village-card-body .unit{color:#e8fcffcc;font-size:10px;line-height:12px;font-weight:700}.map .epidemic-village-label .village-card-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:3px;color:#e2faff9e;font-size:10px;line-height:11px;white-space:nowrap}.map .trade-market-label,.map .trade-flow-label,.map .trade-national-label{color:#fff;will-change:transform;pointer-events:none}.map .trade-national-name{padding:2px 6px;border:1px solid rgba(72,231,255,.24);border-radius:3px;background:rgba(3,23,35,.42);color:#ffffff9e;font-size:10px;line-height:12px;font-weight:800;text-shadow:0 0 6px rgba(48,220,255,.42);white-space:nowrap;transform:translate(-50%,-50%)}.map .trade-market-card{position:relative;width:128px;padding:6px 8px;border:1px solid rgba(139,247,255,.52);border-radius:4px;background:linear-gradient(110deg,rgba(12,68,78,.58),rgba(4,24,34,.58)),rgba(5,20,30,.58);box-shadow:0 0 10px #30dcff24,inset 0 0 10px #30dcff0f;transform:translate(60%)}.map .trade-market-card:before{position:absolute;left:-14px;top:calc(50% - 1px);width:14px;height:1px;content:"";background:linear-gradient(90deg,rgba(255,221,117,0),rgba(255,221,117,.92))}.map .trade-market-card:after{position:absolute;left:-18px;top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;content:"";background:#fff06a;box-shadow:0 0 12px #fff06ae6}.map .trade-market-card .market-title{overflow:hidden;color:#fff;font-size:11px;line-height:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.map .trade-market-card .market-total{display:flex;align-items:baseline;gap:4px;margin-top:3px}.map .trade-market-card .market-total span{color:#fff;font-size:15px;line-height:18px;font-weight:900;text-shadow:0 0 10px rgba(255,221,117,.6)}.map .trade-market-card .market-total em{color:#ffffffc2;font-size:10px;line-height:12px;font-style:normal}.map .trade-flow-card{position:relative;width:96px;padding:5px 7px;border:1px solid rgba(85,226,255,.32);border-radius:3px;background:linear-gradient(105deg,rgba(4,37,50,.58),rgba(3,17,27,.48)),rgba(1,17,27,.46);box-shadow:0 0 8px #30dcff1f,inset 0 0 8px #27f0c00d;transform:translate(60%)}.map .trade-flow-card.is-left{transform:translate(-66%)}.map .trade-flow-card.is-left:before{right:-10px;left:auto;background:linear-gradient(90deg,rgba(85,226,255,.84),rgba(85,226,255,0))}.map .trade-flow-card.is-left:after{right:-14px;left:auto}.map .trade-flow-card.is-top{transform:translateY(-108%)}.map .trade-flow-card.is-top:before{left:50%;top:auto;bottom:-10px;width:1px;height:10px;background:linear-gradient(180deg,rgba(85,226,255,.84),rgba(85,226,255,0))}.map .trade-flow-card.is-top:after{left:calc(50% - 3px);top:auto;bottom:-14px}.map .trade-flow-card.is-bottom{transform:translateY(82%)}.map .trade-flow-card.is-bottom:before{left:50%;top:-10px;width:1px;height:10px;background:linear-gradient(180deg,rgba(85,226,255,0),rgba(85,226,255,.84))}.map .trade-flow-card.is-bottom:after{left:calc(50% - 3px);top:-14px}.map .trade-flow-card:before{position:absolute;left:-10px;top:50%;width:10px;height:1px;content:"";background:linear-gradient(90deg,rgba(85,226,255,0),rgba(85,226,255,.84))}.map .trade-flow-card:after{position:absolute;left:-14px;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;content:"";background:#30dcff;box-shadow:0 0 10px #30dcffcc}.map .trade-flow-card .flow-head{display:flex;align-items:center;gap:6px;min-width:0}.map .trade-flow-card .flow-head span{flex:0 0 auto;color:#ffe076;font-size:10px;line-height:12px;font-weight:900}.map .trade-flow-card .flow-head strong{overflow:hidden;color:#fff;font-size:10px;line-height:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.map .trade-flow-card .flow-body{display:flex;align-items:baseline;gap:3px;margin-top:2px}.map .trade-flow-card .flow-body em{color:#fff;font-size:13px;line-height:15px;font-style:normal;font-weight:900;text-shadow:0 0 10px rgba(48,220,255,.55)}.map .trade-flow-card .flow-body b{color:#ffffffc2;font-size:10px;line-height:12px}.map .china-label{color:#fff;font-size:14px;font-weight:700;text-shadow:0 0 8px rgba(126,251,246,.8);will-change:transform;z-index:30}.map .china-label .other-label{display:flex;align-items:center;padding:6px 10px;border:1px solid rgba(126,251,246,.35);border-radius:3px;background:rgba(3,21,33,.78);box-shadow:0 0 14px #30dcff33;will-change:transform;white-space:nowrap}.map .china-label .town-stat-label{flex-direction:column;align-items:center;gap:4px;min-width:74px;padding:5px 8px 4px;border-color:#7efbf64d;background:linear-gradient(180deg,rgba(4,33,46,.66),rgba(3,20,32,.56));box-shadow:0 0 10px #30dcff1f;text-align:center;transform:translateZ(0)}.map .china-label .town-name-row{display:flex;align-items:center;justify-content:center;gap:6px;min-height:18px;line-height:18px}.map .china-label .town-name{color:#fff;font-size:13px;line-height:18px;font-weight:800}.map .china-label .town-rank{display:none;flex:0 0 auto;padding:1px 5px;border:1px solid rgba(126,251,246,.32);border-radius:2px;color:#7efbf6;font-size:10px;line-height:13px;font-weight:700;text-shadow:none;background:rgba(126,251,246,.1)}.map .china-label .town-stat-row{display:none;align-items:baseline;justify-content:center;gap:3px;min-height:18px;line-height:18px}.map .china-label .town-stat-metric{max-width:72px;overflow:hidden;color:#7efbf6e6;font-size:10px;line-height:12px;font-weight:700;text-overflow:ellipsis;text-shadow:none;white-space:nowrap}.map .china-label .town-stat-value{color:#fff;font-size:18px;line-height:18px;font-weight:800;text-shadow:0 0 10px rgba(126,251,246,.72)}.map .china-label .town-stat-unit{color:#e8fcffc2;font-size:10px;line-height:12px;font-weight:600}.map .china-label .town-stat-label.has-stat{min-width:108px}.map .china-label .town-stat-label.has-stat .town-rank,.map .china-label .town-stat-label.has-stat .town-stat-row{display:flex}.map .china-label.blur{filter:none;opacity:1}.map .china-label .label-icon{display:none;width:20px;height:20px;margin:0 10px 0 0}.map .map-label{padding:5px;color:#fff;will-change:transform;font-size:36px;font-weight:700;letter-spacing:4.5px;-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3))}.map .map-label .other-label{display:flex;flex-direction:column}.map .map-label span{font-size:46px}.map .map-label span:last-child{font-size:12px;font-weight:400;letter-spacing:0px;color:#a7d5ef}.map .decoration-label .label-icon{display:block;width:40px;height:40px}.map .other-label{transform:translateY(200%);opacity:0;background:none;will-change:transform}.yak-management{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c;height:100%;overscroll-behavior:none}.yak-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;background:transparent!important}.yak-map-scene>canvas{display:block;width:100%!important;height:100%!important}.yak-map-scene>div{width:100%!important;height:100%!important}.yak-map-scene .china-label .town-stat-label{transform:translateY(-50%) scale(.92)}.yak-ol-map-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.yak-management-ui{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.yak-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 42%,rgba(1,9,15,.22) 74%,rgba(1,8,13,.58) 100%),linear-gradient(90deg,rgba(0,12,20,.36),transparent 24%,transparent 76%,rgba(0,12,20,.36)),linear-gradient(180deg,rgba(2,16,27,.02),rgba(2,13,22,.22))}.yak-map-scrim.is-ol-map{background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 58%,rgba(1,9,15,.16) 82%,rgba(1,8,13,.42) 100%),linear-gradient(90deg,rgba(0,12,20,.24),transparent 22%,transparent 78%,rgba(0,12,20,.24)),linear-gradient(180deg,rgba(2,16,27,.01),rgba(2,13,22,.12))}.yak-left,.yak-right{position:absolute;top:128px;bottom:8px;z-index:6;width:398px;perspective-origin:50% 50%;pointer-events:all}.yak-left{left:32px;perspective:var(--screen-side-perspective-left, 500px)}.yak-right{right:32px;perspective:var(--screen-side-perspective-right, 800px)}.yak-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.yak-side-stack.is-left{transform:translateZ(0) rotateY(6deg);transform-origin:left center}.yak-side-stack.is-right{transform:translateZ(0) rotateY(-6deg);transform-origin:right center}.yak-side-card{flex:0 0 auto}.yak-side-card .m-card-bd-content{top:36px;bottom:0;color:#f3feff;overflow:hidden}.trade-source-card .m-card-bd-content{top:38px;bottom:8px}.yak-chart{width:100%;height:100%;box-sizing:border-box}.forecast-trend-card,.structure-chart-card{position:relative;width:100%;height:100%}.breeding-health-card{display:grid;grid-template-rows:34px minmax(0,1fr);gap:9px;height:100%;padding:10px 13px;overflow:hidden;box-sizing:border-box}.breeding-health-head{display:flex;align-items:center;min-width:0;padding:0 12px;border-left:3px solid rgba(48,220,255,.72);background:radial-gradient(circle at 18% 50%,rgba(48,220,255,.12),transparent 48%),linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.035));box-sizing:border-box}.breeding-health-head strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:16px;line-height:20px;font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.62)}.breeding-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px;min-height:0}.breeding-health-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:18px 14px 6px;align-content:center;gap:2px 6px;min-width:0;min-height:0;padding:7px 9px;overflow:hidden;border:1px solid rgba(48,220,255,.13);background:linear-gradient(90deg,color-mix(in srgb,var(--health-color) 16%,transparent),rgba(5,27,41,.32)),rgba(3,25,40,.18);box-sizing:border-box}.breeding-health-item span,.breeding-health-item strong,.breeding-health-item em{position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breeding-health-item span{color:#e5fdffd6;font-size:12px;line-height:15px;font-weight:800}.breeding-health-item strong{color:color-mix(in srgb,var(--health-color) 82%,#ffffff);font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;line-height:18px;font-weight:900;text-align:right}.breeding-health-item i{grid-column:1/3;position:relative;z-index:1;display:block;height:4px;overflow:hidden;background:rgba(48,220,255,.12)}.breeding-health-item i b{display:block;width:var(--health-width);height:100%;background:var(--health-color);box-shadow:0 0 5px color-mix(in srgb,var(--health-color) 34%,transparent)}.breeding-health-item em{grid-column:1/3;grid-row:2;color:color-mix(in srgb,var(--health-color) 74%,#ffffff);font-size:11px;line-height:13px;font-style:normal}.structure-ratio-card{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:center;gap:10px;height:100%;overflow:hidden;padding:2px 10px 6px 8px;box-sizing:border-box}.structure-ratio-chart{position:relative;width:142px;height:132px;min-width:0}.structure-ratio-chart svg{width:100%;height:100%;overflow:visible}.structure-ratio-list{display:flex;flex-direction:column;justify-content:center;min-width:0;height:100%;gap:5px;overflow:hidden}.structure-ratio-row{position:relative;display:grid;grid-template-columns:11px minmax(0,1fr) 50px 16px;align-items:center;gap:6px;min-width:0;min-height:22px;height:23px;padding:0 5px 0 3px;overflow:hidden;border:1px solid rgba(48,220,255,.12);background:rgba(48,220,255,.055);color:#e1f9ffc2;font-size:10px;line-height:13px;box-sizing:border-box;transition:background .35s ease,border-color .35s ease}.structure-ratio-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--row-percent);background:linear-gradient(90deg,var(--row-color),rgba(48,220,255,0));opacity:.18;pointer-events:none}.structure-ratio-row i{position:relative;z-index:1;width:9px;height:9px;border:1px solid #30dcff;border-radius:50%;box-sizing:border-box;box-shadow:none}.structure-ratio-row span{position:relative;z-index:1;display:flex;align-items:baseline;gap:4px;min-width:0;overflow:hidden;color:#ebfdffe6;font-size:13px;line-height:15px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.62);text-overflow:ellipsis;white-space:nowrap}.structure-ratio-row span small{flex:none;color:color-mix(in srgb,var(--row-color) 78%,rgba(255,255,255,.65));font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:10px;font-weight:800;line-height:12px}.structure-ratio-row strong{position:relative;z-index:1;color:#fffffff0;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;font-weight:800;line-height:20px;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.62);white-space:nowrap}.structure-ratio-row em{position:relative;z-index:1;color:#ffffff8a;font-size:10px;font-style:normal;white-space:nowrap}.structure-ratio-row.is-active{color:var(--row-color);border-color:#30dcff38;background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04))}.structure-rose-segment{opacity:.92;stroke-width:1.5;stroke-opacity:.5;transform-box:fill-box;transform-origin:center;transition:opacity .3s ease,filter .3s ease,transform .3s ease;filter:drop-shadow(0 2px 2px rgba(0,10,18,.34)) drop-shadow(0 0 3px rgba(48,220,255,.12))}.structure-rose-segment.is-active{opacity:1;transform:scale(1.035);filter:drop-shadow(0 3px 5px rgba(0,10,18,.42)) drop-shadow(0 0 5px rgba(48,220,255,.22))}.structure-rose-glow{fill:#30dcff12;stroke:#30dcff2e;stroke-width:1;filter:none}.structure-rose-hole{fill:#03121ef0;stroke:#e3fdff38;stroke-width:1.2}.structure-rose-center{fill:#e7feffdb;font-size:10px;font-weight:800;dominant-baseline:middle;pointer-events:none}.structure-rose-center.is-sub{fill:#e7feff8a;font-size:7px;font-weight:700}.structure-summary-card{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));align-content:center;gap:10px;height:100%;overflow:hidden;padding:15px 18px 14px;box-sizing:border-box}.structure-summary-row{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr) 58px;grid-template-rows:22px 14px;align-items:center;column-gap:10px;min-width:0;min-height:0;padding:2px 0;color:#e1f9ffb8}.structure-summary-row span{grid-row:1/3;display:inline-flex;min-width:0;align-items:center;gap:8px;overflow:hidden;color:#ebfdffe6;font-size:13px;line-height:17px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.62);text-overflow:ellipsis;white-space:nowrap}.structure-summary-row i{width:9px;height:9px;flex:0 0 auto;border-radius:2px;background:var(--structure-color);box-shadow:none}.structure-summary-row strong{grid-column:3;grid-row:1;color:#fffffff0;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;line-height:15px;font-weight:800;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.62);white-space:nowrap}.structure-summary-row strong em{margin-left:3px;color:#e2fcffad;font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);font-size:10px;font-style:normal;font-weight:700}.structure-summary-row b{position:relative;grid-column:2;grid-row:1/3;height:17px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px),rgba(48,220,255,.05)}.structure-summary-row b em{display:block;width:var(--structure-width);height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--structure-color) 20%,transparent),var(--structure-color));box-shadow:0 0 5px color-mix(in srgb,var(--structure-color) 28%,transparent)}.structure-summary-row small{grid-column:3;grid-row:2;color:color-mix(in srgb,var(--structure-color) 76%,rgba(255,255,255,.72));font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:10px;line-height:11px;font-weight:800;text-align:right;white-space:nowrap}.yak-data-status{position:absolute;left:12px;bottom:6px;z-index:2;max-width:calc(100% - 24px);padding:2px 8px;border:1px solid rgba(48,220,255,.24);border-radius:3px;color:#defaffbd;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.yak-data-status.is-warning{border-color:#8bf7ff47;color:#c9fbffdb;background:rgba(4,24,37,.62)}.forecast-kline-chart{padding-top:16px}.forecast-density-switcher{position:absolute;top:0;left:4px;z-index:3;display:inline-flex;gap:2px;padding:2px;border:1px solid rgba(48,220,255,.22);border-radius:3px;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.forecast-density-switcher button{min-width:24px;height:18px;padding:0 6px;border:0;border-radius:2px;color:#e2faffa8;font-size:10px;line-height:18px;font-weight:800;background:transparent;cursor:pointer}.forecast-density-switcher button.active{color:#041c2b;background:linear-gradient(180deg,#7efbf6,#30dcff);box-shadow:0 0 6px #30dcff2e}.yak-map-loading{position:absolute;left:50%;top:50%;z-index:8;display:grid;justify-items:center;gap:9px;min-width:290px;padding:18px 22px;border:1px solid rgba(91,224,244,.28);border-radius:3px;color:#dffaffb8;font-size:13px;background:rgba(2,20,32,.78);box-shadow:0 14px 34px #00070e57;transform:translate(-50%,-50%)}.yak-map-loading strong{color:#fff;font-size:17px;font-weight:650}.yak-map-loading span{line-height:20px}.yak-map-loading button{min-width:132px;height:36px;margin-top:4px;border:1px solid rgba(126,251,246,.66);border-radius:2px;color:#fff;background:linear-gradient(180deg,rgba(24,115,133,.94),rgba(4,46,63,.96));cursor:pointer;font-size:13px}.yak-map-loading.is-timeout{border-color:#ffd76c70;background:rgba(12,30,37,.9)}.yak-map-loading.is-timeout strong{color:#ffd76c}.yak-bottom-topic{position:absolute;left:50%;bottom:48px;z-index:8;transform:translate(-50%);pointer-events:all}.yak-map-layer-tools{position:absolute;right:458px;bottom:116px;z-index:8;width:248px;pointer-events:all}.yak-map-layer-tools .m-card{width:100%!important;background:rgba(3,18,30,.58);backdrop-filter:blur(2px)}.trade-year-switcher,.forecast-year-switcher,.epidemic-year-switcher{position:absolute;left:462px;top:218px;z-index:8;display:flex;width:78px;flex-direction:column;gap:8px;padding:10px 8px;border:1px solid rgba(139,247,255,.28);background:linear-gradient(180deg,rgba(9,42,55,.72),rgba(4,18,30,.82)),rgba(3,18,31,.62);box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d;pointer-events:all;transform:perspective(620px) rotateY(6deg);transform-origin:left center;box-sizing:border-box}.trade-year-switcher span,.forecast-year-switcher span,.epidemic-year-switcher span{color:#ffffffdb;font-size:12px;font-weight:700;line-height:14px;text-align:center;white-space:nowrap}.trade-year-switcher button,.forecast-year-switcher button,.epidemic-year-switcher button{width:100%;height:30px;border:1px solid rgba(255,255,255,.18);background:rgba(48,220,255,.08);color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;font-weight:900;cursor:pointer;box-sizing:border-box}.trade-year-switcher button.active,.trade-year-switcher button:hover,.forecast-year-switcher button.active,.forecast-year-switcher button:hover,.epidemic-year-switcher button.active,.epidemic-year-switcher button:hover{border-color:#8bf7ffb3;background:rgba(139,247,255,.18);color:#8bf7ff;box-shadow:0 0 7px #30dcff1f}.forecast-year-switcher{border-color:#30dcff47;box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d}.forecast-year-switcher button.active,.forecast-year-switcher button:hover{border-color:#30dcffb3;background:rgba(48,220,255,.16);color:#30dcff;box-shadow:0 0 7px #30dcff1f}.epidemic-year-switcher{border-color:#30dcff42;box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d}.epidemic-year-switcher button.active,.epidemic-year-switcher button:hover{border-color:#30dcffad;background:rgba(48,220,255,.16);color:#8bf7ff;box-shadow:0 0 7px #30dcff1f}.forecast-waterfall-card{display:grid;grid-template-rows:32px minmax(0,1fr);gap:8px;height:100%;padding:9px 13px 10px;overflow:hidden;box-sizing:border-box}.forecast-waterfall-head{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:0 10px;border-left:3px solid rgba(48,220,255,.72);background:linear-gradient(90deg,rgba(48,220,255,.13),rgba(48,220,255,.025)),rgba(3,25,40,.18);box-sizing:border-box}.forecast-waterfall-head span,.forecast-waterfall-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-waterfall-head span{color:#e2fcffc7;font-size:12px;line-height:16px;font-weight:800}.forecast-waterfall-head strong{color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;line-height:18px;font-weight:900;text-align:right}.forecast-waterfall-head strong.negative{color:#48cfff}.forecast-waterfall-head strong em{margin-left:2px;color:#e2fcff99;font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);font-size:10px;font-style:normal;font-weight:700}.forecast-waterfall-list{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:5px;min-height:0}.forecast-waterfall-row{display:grid;grid-template-columns:78px minmax(0,1fr) 76px;align-items:center;gap:8px;min-width:0;min-height:0}.forecast-waterfall-row span,.forecast-waterfall-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-waterfall-row span{color:#e2fcffc7;font-size:12px;line-height:14px;font-weight:800}.forecast-waterfall-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;line-height:15px;font-weight:900;text-align:right}.forecast-waterfall-row i{position:relative;display:block;height:18px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 18px),rgba(48,220,255,.045);box-sizing:border-box}.forecast-waterfall-row i:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(226,252,255,.12);transform:translateY(-50%)}.forecast-waterfall-row i b{position:absolute;left:var(--waterfall-left);top:3px;width:var(--waterfall-width);height:10px;background:linear-gradient(90deg,color-mix(in srgb,var(--waterfall-color) 22%,transparent),var(--waterfall-color));box-shadow:0 0 5px color-mix(in srgb,var(--waterfall-color) 34%,transparent)}.forecast-waterfall-row.is-anchor span,.forecast-waterfall-row.is-final span{color:#ffffffe6}.forecast-waterfall-row.is-anchor i b,.forecast-waterfall-row.is-final i b{top:3px;height:10px;border-radius:8px;background:var(--waterfall-color)}.forecast-waterfall-row.positive strong{color:#8bf7ff}.forecast-waterfall-row.negative strong{color:#48cfff}.forecast-waterfall-row.is-final strong{color:#fff}.estimate-summary-card,.forecast-summary-card{height:100%;padding:6px 14px 8px;box-sizing:border-box}.estimate-summary-card{display:grid;grid-template-rows:minmax(58px,.88fr) minmax(86px,1.12fr);row-gap:10px;padding:7px 14px 10px;overflow:hidden}.estimate-flow-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0}.estimate-flow-item{min-width:0;height:100%;padding:8px 10px 7px;border-left:2px solid rgba(48,220,255,.64);background:linear-gradient(90deg,rgba(48,220,255,.13),rgba(48,220,255,.025)),rgba(3,25,40,.18);box-sizing:border-box}.estimate-flow-item em,.estimate-flow-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.estimate-flow-item em{color:#dffaff99;font-style:normal;font-size:11px;line-height:14px}.estimate-flow-item strong{margin-top:5px;color:#30dcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:20px;font-weight:900;line-height:24px}.estimate-flow-item small{margin-left:3px;color:#dffaff94;font-size:10px;font-weight:600}.estimate-flow-item.is-adjustment{border-left-color:#8bf7ffa3;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.025)),rgba(3,25,40,.18)}.estimate-flow-item.is-adjustment strong{color:#8bf7ff}.estimate-flow-item.is-adjustment strong.negative{color:#48cfff}.estimate-result-band{position:relative;min-width:0;display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow:hidden;padding:10px 14px 9px;border:1px solid rgba(48,220,255,.18);border-left:3px solid rgba(48,220,255,.76);background:radial-gradient(circle at 18% 50%,rgba(48,220,255,.16),transparent 46%),linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04)),rgba(3,25,40,.22);box-sizing:border-box}.estimate-result-band:after{content:"";position:absolute;right:-12px;bottom:-18px;width:118px;height:76px;pointer-events:none;background:radial-gradient(circle at center,rgba(48,220,255,.16),transparent 58%),linear-gradient(135deg,transparent 0 42%,rgba(48,220,255,.12) 43% 45%,transparent 46% 100%)}.estimate-result-band span,.estimate-result-band strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.estimate-result-band span{color:#dffaffb8;font-size:13px;line-height:16px}.estimate-result-band strong{position:relative;z-index:1;margin-top:0;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:38px;font-weight:900;line-height:42px}.estimate-result-band em{margin-left:5px;color:#dffaff9e;font-style:normal;font-size:12px}.forecast-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.forecast-simple-grid span{min-width:0;height:38px;padding:5px 7px;border-left:2px solid rgba(48,220,255,.58);background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,.02));box-sizing:border-box}.forecast-simple-grid em,.forecast-simple-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-simple-grid em{color:#dffaff8f;font-style:normal;font-size:10px;line-height:11px}.forecast-simple-grid strong{margin-top:3px;color:#30dcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;font-weight:900;line-height:15px}.forecast-simple-grid .positive{color:#8bf7ff}.forecast-simple-grid .negative{color:#48cfff}.forecast-summary-card{display:grid;grid-template-rows:minmax(84px,1fr) minmax(44px,.55fr);row-gap:9px;padding:8px 14px 10px;overflow:hidden}.forecast-result-row{display:grid;grid-template-columns:minmax(0,1fr) 98px;align-items:center;column-gap:8px;height:100%;min-height:0}.forecast-result-main{min-width:0;display:flex;height:100%;flex-direction:column;justify-content:space-between;padding:10px 12px;border-left:2px solid rgba(48,220,255,.7);background:radial-gradient(circle at 22% 50%,rgba(48,220,255,.16),transparent 48%),linear-gradient(90deg,rgba(48,220,255,.16),rgba(48,220,255,.035)),rgba(3,25,40,.18);box-sizing:border-box}.forecast-result-main span,.forecast-result-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-result-main span{color:#dffaffa8;font-size:13px;line-height:16px}.forecast-result-main strong{margin-top:0;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:35px;font-weight:900;line-height:39px}.forecast-result-main strong em{margin-left:4px;color:#dffaff9e;font-style:normal;font-size:11px}.forecast-change-badge{min-width:0;height:66px;padding:11px 9px 8px;border:1px solid rgba(139,247,255,.28);background:rgba(139,247,255,.06);box-sizing:border-box}.forecast-change-badge span,.forecast-change-badge strong{display:block;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.forecast-change-badge span{color:#dffaff8c;font-size:10px;line-height:11px}.forecast-change-badge strong{margin-top:2px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;font-weight:900;line-height:16px}.forecast-change-badge strong em{margin-left:2px;color:#dffaff94;font-style:normal;font-size:10px}.forecast-change-badge.negative{border-color:#48cfff47;background:rgba(72,207,255,.06)}.forecast-change-badge.negative strong{color:#48cfff}.forecast-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:0}.forecast-simple-grid span{height:100%;min-height:42px;padding:6px 8px}.forecast-simple-grid strong{margin-top:3px;font-size:15px;line-height:17px}.forecast-heat-list{display:flex;height:100%;flex-direction:column;gap:4px;padding:8px 13px 9px;box-sizing:border-box}.heat-row{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) 60px;align-items:center;gap:8px;min-height:0;flex:1 1 0;padding:0 8px;overflow:visible;border:1px solid rgba(48,220,255,.14);background:linear-gradient(90deg,rgba(48,220,255,.08),transparent 34%,rgba(36,246,196,.04)),rgba(2,18,30,.58);box-shadow:inset 0 0 0 1px #ffffff05,inset 0 0 12px #30dcff0a}.heat-row:before{content:"";position:absolute;left:78px;right:68px;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.24),transparent);transform:translateY(-50%)}.heat-row:after{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;background:rgba(48,220,255,.82);box-shadow:none;opacity:.78}.heat-row span,.heat-row strong,.heat-row b{position:relative;z-index:1;white-space:nowrap}.heat-row span{color:#ecfdffe6;font-size:12px;line-height:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.66)}.heat-row b{display:block;height:11px;padding:2px;border:1px solid rgba(48,220,255,.22);background:linear-gradient(90deg,rgba(48,220,255,.08),rgba(48,220,255,.025)),rgba(0,14,24,.66);box-shadow:inset 0 0 10px #00000057,0 0 10px #30dcff14}.heat-row b i{position:relative;display:block;width:var(--heat-width);height:100%;min-width:8px;background:linear-gradient(90deg,rgba(255,255,255,.86),var(--heat-color) 16%,rgba(48,220,255,.72) 78%,rgba(255,255,255,.9)),linear-gradient(90deg,var(--heat-color-soft),transparent);box-shadow:0 0 5px #30dcff24;overflow:visible}.heat-row b i:after{content:"";position:absolute;right:-4px;top:50%;width:7px;height:7px;border-radius:50%;background:#ffffff;box-shadow:0 0 5px #ffffff52;transform:translateY(-50%)}.heat-row b i:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);opacity:.72}.heat-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;line-height:17px;font-weight:900;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.66)}.heat-row.is-negative{border-color:#48cfff2e}.epidemic-overview-chart-card{height:100%;padding:7px 9px 5px;box-sizing:border-box}.epidemic-overview-chart{width:100%;height:100%}.epidemic-chain-chart-card{height:100%;padding:7px 8px 5px;box-sizing:border-box}.epidemic-chain-chart{width:100%;height:100%}.epidemic-chain-card{height:100%;padding:9px 13px;box-sizing:border-box}.epidemic-chain-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;column-gap:8px}.epidemic-chain-row span{min-width:0;height:48px;padding:6px;border:1px solid rgba(48,220,255,.16);background:rgba(48,220,255,.05);box-sizing:border-box}.epidemic-chain-row em,.epidemic-chain-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-chain-row em{color:#dffaff8f;font-style:normal;font-size:10px}.epidemic-chain-row strong{margin-top:5px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;font-weight:900}.epidemic-chain-row i{color:#8bf7ffcc;font-style:normal;text-align:center}.epidemic-chain-note{margin:8px 0;padding:7px 9px;border-left:2px solid rgba(139,247,255,.76);background:rgba(139,247,255,.06)}.epidemic-chain-note span{display:block;color:#eafcffd6;font-size:11px;line-height:17px}.epidemic-chain-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.epidemic-chain-metrics span{min-width:0;display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 8px;border:1px solid rgba(48,220,255,.14);background:rgba(48,220,255,.04)}.epidemic-chain-metrics em{color:#dffaff94;font-style:normal;font-size:10px}.epidemic-chain-metrics strong{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-card{display:grid;grid-template-columns:142px minmax(0,1fr);align-items:center;gap:8px;height:100%;padding:8px 12px 8px 10px;box-sizing:border-box}.epidemic-three-pie-visual{position:relative;width:136px;height:136px;min-width:0}.epidemic-three-pie{width:100%;height:100%}.epidemic-three-pie-center{position:absolute;left:0;top:0;display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;text-shadow:0 0 10px rgba(0,0,0,.96);pointer-events:none}.epidemic-three-pie-center strong{overflow:hidden;max-width:84px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:21px;line-height:22px;font-weight:900;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-2px)}.epidemic-three-pie-center span{overflow:hidden;max-width:86px;color:#fffffff5;font-size:10px;line-height:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-legend{display:flex;min-width:0;height:100%;flex-direction:column;justify-content:center;gap:6px}.epidemic-three-pie-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;column-gap:5px;min-height:17px}.epidemic-three-pie-row i{width:8px;height:8px;border:2px solid #30dcff;border-radius:2px;box-sizing:border-box;background:rgba(3,20,31,.84)}.epidemic-three-pie-row span{overflow:hidden;color:#e2faffd1;font-size:10px;line-height:13px;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;line-height:13px;font-weight:800;white-space:nowrap}.epidemic-three-pie-row em{color:#dffaff8a;font-style:normal;font-size:10px;line-height:12px;white-space:nowrap}.epidemic-record-table{display:flex;height:100%;flex-direction:column;gap:5px;padding:7px 9px 8px;box-sizing:border-box}.epidemic-record-table.is-double{gap:5px}.epidemic-record-table.is-full{gap:6px;padding:9px 10px 10px}.epidemic-record-toolbar{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;column-gap:7px;height:29px}.epidemic-record-toolbar>span{overflow:hidden;color:#ffffffe6;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-record-toolbar>div{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 44px 62px;gap:5px}.epidemic-record-toolbar input,.epidemic-record-toolbar button{height:25px;min-width:0;border:1px solid rgba(48,220,255,.16);background:rgba(3,25,40,.62);color:#fff;font-size:10px;box-sizing:border-box}.epidemic-record-toolbar input{padding:0 7px}.epidemic-record-toolbar input::placeholder{color:#ffffff94}.epidemic-record-toolbar button{border-color:#8bf7ff6b;background:rgba(139,247,255,.12);color:#fff;cursor:pointer}.epidemic-record-toolbar button.is-more{border-color:#30dcff57;background:rgba(48,220,255,.12)}.epidemic-record-header,.epidemic-record-rows button{display:grid;grid-template-columns:112px 56px 42px 54px 64px;column-gap:4px;align-items:center}.epidemic-record-header{height:24px;padding:0 6px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.06);box-sizing:border-box}.epidemic-record-header span{color:#ffffffc7;font-size:10px}.epidemic-record-rows{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;overflow:hidden}.epidemic-record-rows button{min-height:0;flex:1 1 0;padding:0 6px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);color:#ffffffe0;cursor:pointer;text-align:left}.epidemic-record-rows button:hover,.epidemic-record-rows button.active{border-color:#8bf7ff5c;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.04));color:#fff}.epidemic-record-rows span,.epidemic-record-rows strong{color:#fff;overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-record-rows strong{color:#8bf7ff;font-weight:700}.epidemic-record-table.is-full .epidemic-record-rows{gap:4px}.epidemic-record-pager{display:flex;align-items:center;justify-content:flex-end;gap:7px;height:24px}.epidemic-record-pager span{margin-right:auto;color:#ffffffd6;font-size:10px}.epidemic-record-pager button{height:22px;padding:0 8px;border:1px solid rgba(48,220,255,.18);background:rgba(48,220,255,.07);color:#fff;font-size:10px;cursor:pointer}.epidemic-record-pager button:disabled{opacity:.36;cursor:not-allowed}.epidemic-empty{display:flex;height:100%;align-items:center;justify-content:center;color:#dffaff8f;font-size:12px}.epidemic-detail-head{display:flex;align-items:center;justify-content:space-between;height:28px;border-bottom:1px solid rgba(48,220,255,.14)}.epidemic-detail-head span{overflow:hidden;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.epidemic-detail-head strong{color:#dffaffb8;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;white-space:nowrap}.epidemic-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.epidemic-detail-grid span{min-width:0;height:34px;padding:4px 7px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.035);box-sizing:border-box}.epidemic-detail-grid em,.epidemic-detail-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-detail-grid em{color:#dffaff85;font-style:normal;font-size:10px;line-height:10px}.epidemic-detail-grid strong{margin-top:4px;color:#fff;font-size:11px;line-height:12px}.epidemic-detail-grid.is-modal{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}.epidemic-detail-grid.is-modal span{height:39px;padding:5px 8px}.epidemic-detail-grid.is-modal .is-wide{grid-column:1/-1}.epidemic-ledger-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;background:rgba(0,8,14,.68);pointer-events:all}.epidemic-ledger-dialog{width:1260px;height:724px;padding:18px;border:1px solid rgba(139,247,255,.36);background:linear-gradient(180deg,rgba(12,38,48,.97),rgba(4,17,28,.99)),rgba(3,18,31,.98);box-shadow:0 0 34px #8bf7ff29,inset 0 0 0 1px #ffffff0f;box-sizing:border-box}.epidemic-ledger-dialog-head{display:flex;align-items:center;justify-content:space-between;height:42px;border-bottom:1px solid rgba(48,220,255,.18)}.epidemic-ledger-dialog-head span{display:block;color:#fff;font-size:19px;font-weight:800}.epidemic-ledger-dialog-head strong{display:block;margin-top:3px;color:#ffffffdb;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px}.epidemic-ledger-dialog-head button{width:68px;height:28px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.epidemic-ledger-filters{display:grid;grid-template-columns:220px 130px 130px 132px 132px 66px 66px;gap:10px;align-items:center;margin:16px 0 14px}.epidemic-ledger-filters input,.epidemic-ledger-filters select,.epidemic-ledger-filters button{height:32px;min-width:0;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.045);color:#fff;font-size:12px;box-sizing:border-box}.epidemic-ledger-filters input::placeholder{color:#ffffff9e}.epidemic-ledger-filters select option{color:#dffcff;background:#061926}.epidemic-ledger-filters input,.epidemic-ledger-filters select{padding:0 9px}.epidemic-ledger-filters button{cursor:pointer;background:rgba(139,247,255,.13);border-color:#8bf7ff5c;color:#fff;font-weight:700}.epidemic-ledger-filters button.is-ghost{background:rgba(255,255,255,.06);border-color:#ffffff2e}.epidemic-ledger-workspace{display:grid;grid-template-columns:minmax(0,1fr) 376px;gap:14px;height:548px}.epidemic-ledger-list{display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px;overflow:hidden;border:1px solid rgba(139,247,255,.16);background:rgba(255,255,255,.035);box-shadow:inset 0 0 24px #8bf7ff08;box-sizing:border-box}.epidemic-ledger-table-head,.epidemic-ledger-list button{display:grid;grid-template-columns:minmax(126px,1.5fr) minmax(76px,.9fr) 72px minmax(96px,1fr) 72px 82px 42px;align-items:center;column-gap:8px}.epidemic-ledger-table-head{height:34px;padding:0 12px;border:0;border-bottom:1px solid rgba(139,247,255,.14);border-radius:0;background:rgba(255,255,255,.07)}.epidemic-ledger-table-head span{overflow:hidden;color:#ffffffd1;font-size:11px;font-weight:700;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.epidemic-ledger-list button{position:relative;width:100%;height:30px;padding:0 10px 0 12px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:3px;background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(48,220,255,.018)),rgba(255,255,255,.025);color:#ffffffe6;cursor:pointer;text-align:left;transition:border-color .18s ease,background .18s ease,color .18s ease}.epidemic-ledger-list button:before{position:absolute;left:0;top:6px;width:2px;height:18px;content:"";opacity:0;background:var(--screen-icon-primary, #30dcff);box-shadow:0 0 8px var(--screen-icon-glow, rgba(48, 220, 255, .22))}.epidemic-ledger-list button.active,.epidemic-ledger-list button:hover{border-color:#30dcff5c;background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.05)),rgba(255,255,255,.045);color:#fff}.epidemic-ledger-list button.active:before,.epidemic-ledger-list button:hover:before{opacity:1}.epidemic-ledger-list button span,.epidemic-ledger-list button strong{overflow:hidden;font-size:10px;line-height:12px;color:#fff;text-overflow:ellipsis;white-space:nowrap}.epidemic-ledger-list button strong{color:#c9fbff;font-weight:800}.epidemic-ledger-detail{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px;border:1px solid rgba(48,220,255,.15);background:rgba(48,220,255,.04);box-sizing:border-box}.epidemic-detail-scroll{flex:1 1 0;min-height:0;margin-top:10px;padding-right:4px;overflow-y:auto}.epidemic-detail-section+.epidemic-detail-section{margin-top:10px}.epidemic-detail-section-title{display:flex;align-items:center;height:18px;color:#8bf7ff;font-size:12px;font-weight:700;line-height:18px}.epidemic-modal-photo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px;overflow:hidden}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb{position:relative;width:100%;height:96px;padding:0;overflow:hidden;border:1px solid rgba(48,220,255,.24);background:rgba(48,220,255,.04);cursor:zoom-in;box-sizing:border-box}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:hover{border-color:#8bf7ff94;box-shadow:0 0 7px #8bf7ff1f}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:after{position:absolute;right:0;bottom:0;left:0;height:18px;content:"";background:linear-gradient(180deg,rgba(0,12,20,0),rgba(0,12,20,.92) 52%,rgba(0,12,20,.98));pointer-events:none}.epidemic-modal-photo-strip img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:hover img{transform:scale(1.03)}.epidemic-modal-photo-strip span{grid-column:1/-1;display:flex;height:96px;align-items:center;justify-content:center;border:1px solid rgba(48,220,255,.12);color:#dffaff8a;font-size:11px}.epidemic-image-preview-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:48;display:flex;align-items:center;justify-content:center;padding:46px;background:rgba(0,8,14,.78);pointer-events:all;box-sizing:border-box}.epidemic-image-preview-dialog{display:flex;width:min(920px,78vw);max-height:78vh;flex-direction:column;border:1px solid rgba(139,247,255,.34);background:linear-gradient(180deg,rgba(9,38,50,.97),rgba(2,15,26,.99)),rgba(2,17,28,.98);box-shadow:0 0 34px #8bf7ff24,inset 0 0 0 1px #ffffff0e}.epidemic-image-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;height:52px;padding:0 16px 0 18px;border-bottom:1px solid rgba(48,220,255,.16);box-sizing:border-box}.epidemic-image-preview-head div{min-width:0}.epidemic-image-preview-head span,.epidemic-image-preview-head strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-image-preview-head span{color:#fff;font-size:16px;font-weight:800}.epidemic-image-preview-head strong{margin-top:3px;color:#8bf7ffd1;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px}.epidemic-image-preview-head button{width:68px;height:28px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.epidemic-image-preview-body{display:flex;min-height:0;flex:1;align-items:center;justify-content:center;padding:16px;background:rgba(0,10,17,.42)}.epidemic-image-preview-frame{position:relative;display:flex;max-width:100%;max-height:calc(78vh - 84px);align-items:center;justify-content:center;overflow:hidden}.epidemic-image-preview-frame img{display:block;max-width:100%;max-height:calc(78vh - 84px);object-fit:contain}.epidemic-image-preview-frame:after{position:absolute;right:0;bottom:0;left:0;height:38px;content:"";background:linear-gradient(180deg,rgba(0,10,17,0),rgba(0,10,17,.96) 58%,rgba(0,10,17,.99));pointer-events:none}.epidemic-ledger-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;height:42px}.epidemic-ledger-pager span{color:#ffffffb8;font-size:12px}.epidemic-ledger-pager button{height:26px;padding:0 12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.055);color:#fff;cursor:pointer}.epidemic-ledger-pager button:disabled{opacity:.38;cursor:not-allowed}.trade-ledger-dialog{width:1260px;height:724px;border-color:#8bf7ff5c;background:linear-gradient(180deg,rgba(12,38,48,.97),rgba(4,17,28,.99)),rgba(3,18,31,.98);box-shadow:0 0 34px #8bf7ff29,inset 0 0 0 1px #ffffff0f}.trade-ledger-dialog .epidemic-ledger-dialog-head strong{color:#ffffffdb}.trade-ledger-dialog .epidemic-ledger-dialog-head button{border-color:#ffffff47;background:rgba(255,255,255,.08);color:#fff}.trade-ledger-filters{grid-template-columns:260px 150px 142px 142px 70px 70px}.trade-ledger-filters input,.trade-ledger-filters select,.trade-ledger-filters button{color:#fff}.trade-ledger-filters button{color:#fff;font-weight:700}.trade-ledger-workspace{grid-template-columns:minmax(0,1fr) 376px}.trade-ledger-modal-table-head,.trade-ledger-modal-list button{display:grid;grid-template-columns:128px 84px 92px 58px 88px 90px 102px 68px;align-items:center;column-gap:10px}.trade-ledger-modal-table-head{height:34px;padding:0 12px;border-bottom:1px solid rgba(139,247,255,.14);background:rgba(255,255,255,.07)}.trade-ledger-modal-table-head span{overflow:hidden;color:#ffffffd1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-modal-list{border-color:#30dcff29;background:rgba(255,255,255,.035)}.trade-ledger-modal-list button{height:34px;color:#ffffffe6}.trade-ledger-modal-list button.active,.trade-ledger-modal-list button:hover{background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.05));color:#fff}.trade-ledger-modal-list button span,.trade-ledger-modal-list button strong{color:#fff}.trade-ledger-modal-list button strong{color:#c9fbff}.trade-ledger-detail{display:flex;flex-direction:column;padding:0;overflow:hidden;border-color:#30dcff3d;background:linear-gradient(180deg,rgba(8,42,54,.84),rgba(3,19,30,.92)),radial-gradient(circle at 10% 0,rgba(48,220,255,.12),transparent 38%),rgba(3,25,40,.48);box-shadow:inset 0 0 22px #30dcff0e,inset 0 0 0 1px #ffffff09}.trade-ledger-detail .trade-detail-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:76px;padding:15px 16px 13px;border-bottom:1px solid rgba(48,220,255,.18);background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.035)),rgba(3,26,38,.62);box-sizing:border-box}.trade-ledger-detail .trade-detail-head:before{position:absolute;left:0;top:16px;width:3px;height:44px;content:"";background:var(--screen-icon-primary, #30dcff);box-shadow:0 0 8px var(--screen-icon-glow, rgba(48, 220, 255, .22))}.trade-ledger-detail .trade-detail-head div{min-width:0}.trade-ledger-detail .trade-detail-head span,.trade-ledger-detail .trade-detail-head em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-detail .trade-detail-head span{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:21px;font-weight:800;line-height:24px}.trade-ledger-detail .trade-detail-head em{margin-top:6px;color:#c9fbff;font-size:12px;font-style:normal;font-weight:800;line-height:16px}.trade-ledger-detail .trade-detail-head strong{padding:5px 9px;border:1px solid rgba(48,220,255,.18);background:rgba(5,27,38,.58);color:#edfdffd1;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;font-weight:800;white-space:nowrap}.epidemic-ledger-record-detail .trade-detail-head em{color:#8bf7ff}.epidemic-ledger-record-detail .epidemic-detail-flat-grid{padding-bottom:0}.epidemic-detail-grid.is-modal.trade-detail-grid{flex:0 0 auto;align-content:start;grid-template-columns:66px minmax(0,1fr) 66px minmax(0,1fr);gap:0;margin:0;padding:14px 16px 0;overflow:hidden;border:1px solid rgba(48,220,255,.1);border-bottom:0}.epidemic-detail-grid.is-modal.trade-detail-grid span{min-width:0;height:auto;padding:0;border:0;background:transparent;box-shadow:none}.epidemic-detail-grid.is-modal.trade-detail-grid:before{display:none}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide){display:contents}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide) em,.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide) strong,.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide em,.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide strong{display:flex;min-width:0;height:30px;align-items:center;padding:0 8px;border-bottom:1px solid rgba(48,220,255,.1);box-sizing:border-box}.epidemic-detail-grid.is-modal.trade-detail-grid em{justify-content:flex-end;color:#cdeff6a3;font-size:10px;font-style:normal;line-height:14px;text-align:right;background:rgba(139,247,255,.055);border-right:1px solid rgba(48,220,255,.085)}.epidemic-detail-grid.is-modal.trade-detail-grid em:after{content:":"}.epidemic-detail-grid.is-modal.trade-detail-grid strong{min-width:0;margin-top:0;overflow:hidden;color:#fff;font-size:13px;line-height:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;background:rgba(255,255,255,.03)}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide):nth-child(odd) strong{border-right:1px solid rgba(48,220,255,.065)}.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide{display:grid;grid-column:1/-1;grid-template-columns:66px minmax(0,1fr)}.epidemic-detail-photos{min-height:0;margin:12px 16px 16px;padding-top:10px;border-top:1px solid rgba(48,220,255,.12)}.epidemic-detail-photo-title{height:18px;color:#8bf7ff;font-size:12px;font-weight:800;line-height:18px}.epidemic-ledger-record-detail .epidemic-modal-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.epidemic-ledger-record-detail .epidemic-modal-photo-strip .epidemic-modal-photo-thumb{height:76px;border-color:#30dcff38;border-radius:2px;background:rgba(4,28,41,.62)}.trade-detail-locate{width:calc(100% - 32px);height:36px;margin:auto 16px 16px;border:1px solid rgba(48,220,255,.34);background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(139,247,255,.08)),rgba(4,28,41,.74);color:#fff;font-size:13px;font-weight:800;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.trade-detail-locate:hover:not(:disabled){border-color:#8bf7ff85;background:linear-gradient(90deg,rgba(139,247,255,.16),rgba(48,220,255,.11)),rgba(8,36,48,.84);box-shadow:0 0 7px #8bf7ff1a}.trade-detail-locate:disabled{opacity:.38;cursor:not-allowed}.trade-overview-card{display:grid;grid-template-rows:minmax(0,1fr) 46px;row-gap:10px;height:100%;padding:14px 13px 10px;box-sizing:border-box}.trade-main-metric{display:flex;min-width:0;flex-direction:column;justify-content:center}.trade-main-metric span,.trade-main-metric strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-main-metric span{color:#ffffffd6;font-size:12px;line-height:14px}.trade-main-metric strong{margin-top:3px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:27px;font-weight:900;line-height:29px}.trade-main-metric strong em{margin-left:5px;color:#ffffffd1;font-style:normal;font-size:12px}.trade-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.trade-metric-grid span{min-width:0;padding:5px 7px;border-left:2px solid rgba(139,247,255,.62);background:linear-gradient(90deg,rgba(139,247,255,.11),rgba(48,220,255,.03));box-sizing:border-box}.trade-metric-grid em,.trade-metric-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-metric-grid em{color:#ffffffc7;font-style:normal;font-size:10px;line-height:11px}.trade-metric-grid strong{margin-top:4px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;line-height:15px;font-weight:900}.trade-risk-card{display:grid;grid-template-rows:30px minmax(0,1fr);gap:5px;height:100%;padding:9px 12px 10px;overflow:hidden;box-sizing:border-box}.trade-risk-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:0 9px;border-left:3px solid rgba(139,247,255,.78);background:linear-gradient(90deg,rgba(139,247,255,.14),rgba(48,220,255,.025)),rgba(3,25,40,.2);box-sizing:border-box}.trade-risk-head span,.trade-risk-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-risk-head span{color:#e2fcffc7;font-size:12px;line-height:16px;font-weight:800}.trade-risk-head strong{flex:0 0 auto;color:#8bf7ff;font-size:12px;line-height:16px;font-weight:900;text-align:right}.trade-risk-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:4px;min-height:0}.trade-risk-row{position:relative;display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:0;padding:3px 8px 3px 10px;overflow:hidden;border:1px solid rgba(48,220,255,.11);background:linear-gradient(90deg,color-mix(in srgb,var(--risk-color) 12%,transparent),rgba(48,220,255,.02)),rgba(4,24,37,.2);box-sizing:border-box}.trade-risk-row:before{content:"";position:absolute;left:0;top:50%;width:2px;height:22px;background:rgba(48,220,255,.78);box-shadow:none;transform:translateY(-50%)}.trade-risk-row i{position:relative;z-index:1;width:8px;height:8px;border-radius:50%;background:var(--risk-color);box-shadow:none}.trade-risk-row span{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;min-width:0;gap:8px}.trade-risk-row em,.trade-risk-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-risk-row em{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-width:0;color:#ffffffe6;font-size:11px;line-height:14px;font-style:normal;font-weight:900}.trade-risk-row em b{flex:0 0 auto;min-width:28px;height:15px;padding:0 5px;border:1px solid color-mix(in srgb,var(--risk-color) 52%,transparent);border-radius:1px;color:var(--risk-color);font-size:10px;line-height:13px;font-weight:900;text-align:center;background:color-mix(in srgb,var(--risk-color) 13%,rgba(3,25,40,.62));box-sizing:border-box}.trade-risk-row small{flex:1 1 auto;min-width:0;color:#e2fcffc2;font-size:10px;line-height:12px;text-align:right}.trade-risk-row.is-high{border-color:#48cfff3d}.trade-risk-row.is-high small{color:#c9fbffe0}.trade-risk-row.is-watch small{color:#8bf7ffd1}.trade-cert-card{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;height:100%;padding:9px 12px;box-sizing:border-box}.trade-cert-main{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px}.trade-cert-main span{min-width:0;padding:7px 8px;border:1px solid rgba(48,220,255,.12);background:rgba(48,220,255,.045)}.trade-cert-main em,.trade-cert-main strong,.trade-cert-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-cert-main em{color:#ffffffc7;font-style:normal;font-size:10px}.trade-cert-main strong{margin-top:4px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;line-height:20px;font-weight:900}.trade-cert-main strong b{margin-left:3px;color:#ffffffd1;font-size:10px;font-weight:500}.trade-cert-main small{margin-top:3px;color:#ffffffd1;font-size:10px}.trade-cert-chart{width:108px;height:100%}.trade-dest-list{display:flex;height:100%;flex-direction:column;gap:3px;padding:7px 10px 8px;box-sizing:border-box}.trade-dest-row{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 66px;align-items:center;min-height:0;flex:1 1 0;column-gap:6px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035)}.trade-dest-row:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--trade-ratio);background:linear-gradient(90deg,rgba(139,247,255,.22),rgba(48,220,255,.08))}.trade-dest-row span,.trade-dest-row strong,.trade-dest-row em{position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-dest-row span{padding-left:7px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;font-weight:900}.trade-dest-row strong{color:#fff;font-size:11px;line-height:13px}.trade-dest-row em{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-style:normal;font-size:11px;line-height:13px;text-align:right}.trade-ledger-table{display:flex;height:100%;flex-direction:column;gap:5px;padding:7px 9px 8px;box-sizing:border-box}.trade-ledger-toolbar{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;column-gap:7px;height:29px}.trade-ledger-toolbar>span{overflow:hidden;color:#ffffffe6;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-toolbar>div{display:grid;grid-template-columns:minmax(0,1fr) 44px 62px;gap:5px}.trade-ledger-toolbar input,.trade-ledger-toolbar button{height:25px;min-width:0;border:1px solid rgba(48,220,255,.16);background:rgba(3,25,40,.62);color:#fff;font-size:10px;box-sizing:border-box}.trade-ledger-toolbar input{padding:0 7px}.trade-ledger-toolbar input::placeholder{color:#ffffff94}.trade-ledger-toolbar button{border-color:#8bf7ff6b;background:rgba(139,247,255,.12);color:#fff;cursor:pointer}.trade-ledger-toolbar button.is-more{border-color:#30dcff57;background:rgba(48,220,255,.12)}.trade-ledger-header,.trade-ledger-rows button{display:grid;grid-template-columns:98px 56px 39px 38px 34px 64px;column-gap:4px;align-items:center}.trade-ledger-header{height:24px;padding:0 6px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.06);box-sizing:border-box}.trade-ledger-header span{color:#ffffffc7;font-size:10px}.trade-ledger-rows{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;overflow:hidden}.trade-ledger-rows button{min-height:0;flex:1 1 0;padding:0 6px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);color:#ffffffe0;cursor:pointer;text-align:left}.trade-ledger-rows button:hover{border-color:#8bf7ff5c;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.04));color:#fff}.trade-ledger-rows span,.trade-ledger-rows strong{color:#fff;overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-rows span:first-child{line-height:12px;white-space:normal;word-break:break-all;text-overflow:clip}.trade-ledger-rows strong{color:#8bf7ff;font-weight:700}.trade-ledger-pager{display:flex;align-items:center;justify-content:flex-end;gap:7px;height:24px}.trade-ledger-pager span{margin-right:auto;color:#ffffffd6;font-size:10px}.trade-ledger-pager button{height:22px;padding:0 8px;border:1px solid rgba(48,220,255,.18);background:rgba(48,220,255,.07);color:#fff;font-size:10px;cursor:pointer}.trade-ledger-pager button:disabled{opacity:.36;cursor:not-allowed} diff --git a/docs/assets/index-1786725044461.js b/docs/assets/index-1786807848259.js similarity index 80% rename from docs/assets/index-1786725044461.js rename to docs/assets/index-1786807848259.js index 5bab696..d64c30d 100644 --- a/docs/assets/index-1786725044461.js +++ b/docs/assets/index-1786807848259.js @@ -2,30 +2,30 @@ var _le=Object.defineProperty,Tle=Object.defineProperties;var Ile=Object.getOwnP * @vue/shared v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function VA(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const mn={},Qf=[],Qo=()=>{},Aj=()=>!1,Ox=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Dx=e=>e.startsWith("onUpdate:"),Bn=Object.assign,WA=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ple=Object.prototype.hasOwnProperty,un=(e,t)=>Ple.call(e,t),Ct=Array.isArray,Jf=e=>Am(e)==="[object Map]",qh=e=>Am(e)==="[object Set]",IL=e=>Am(e)==="[object Date]",Et=e=>typeof e=="function",Fn=e=>typeof e=="string",Qi=e=>typeof e=="symbol",an=e=>e!==null&&typeof e=="object",Oj=e=>(an(e)||Et(e))&&Et(e.then)&&Et(e.catch),Dj=Object.prototype.toString,Am=e=>Dj.call(e),Mle=e=>Am(e).slice(8,-1),Ej=e=>Am(e)==="[object Object]",Ex=e=>Fn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ep=VA(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rx=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ale=/-\w/g,di=Rx(e=>e.replace(Ale,t=>t.slice(1).toUpperCase())),Ole=/\B([A-Z])/g,_u=Rx(e=>e.replace(Ole,"-$1").toLowerCase()),Lx=Rx(e=>e.charAt(0).toUpperCase()+e.slice(1)),n$=Rx(e=>e?`on${Lx(e)}`:""),Na=(e,t)=>!Object.is(e,t),gb=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Nx=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dle=e=>{const t=Fn(e)?Number(e):NaN;return isNaN(t)?e:t};let PL;const kx=()=>PL||(PL=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function jA(e){if(Ct(e)){const t={};for(let n=0;n{if(n){const r=n.split(Rle);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function GA(e){let t="";if(Fn(e))t=e;else if(Ct(e))for(let n=0;ncu(n,t))}const Nj=e=>!!(e&&e.__v_isRef===!0),zle=e=>Fn(e)?e:e==null?"":Ct(e)||an(e)&&(e.toString===Dj||!Et(e.toString))?Nj(e)?zle(e.value):JSON.stringify(e,kj,2):String(e),kj=(e,t)=>Nj(t)?kj(e,t.value):Jf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[r$(r,o)+" =>"]=i,n),{})}:qh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>r$(n))}:Qi(t)?r$(t):an(t)&&!Ct(t)&&!Ej(t)?String(t):t,r$=(e,t="")=>{var n;return Qi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function VA(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const mn={},Jf=[],Jo=()=>{},Aj=()=>!1,Ox=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Dx=e=>e.startsWith("onUpdate:"),Bn=Object.assign,WA=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ple=Object.prototype.hasOwnProperty,un=(e,t)=>Ple.call(e,t),Ct=Array.isArray,eh=e=>Om(e)==="[object Map]",Zh=e=>Om(e)==="[object Set]",IL=e=>Om(e)==="[object Date]",Et=e=>typeof e=="function",Fn=e=>typeof e=="string",Ji=e=>typeof e=="symbol",an=e=>e!==null&&typeof e=="object",Oj=e=>(an(e)||Et(e))&&Et(e.then)&&Et(e.catch),Dj=Object.prototype.toString,Om=e=>Dj.call(e),Mle=e=>Om(e).slice(8,-1),Ej=e=>Om(e)==="[object Object]",Ex=e=>Fn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rp=VA(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rx=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ale=/-\w/g,di=Rx(e=>e.replace(Ale,t=>t.slice(1).toUpperCase())),Ole=/\B([A-Z])/g,_u=Rx(e=>e.replace(Ole,"-$1").toLowerCase()),Lx=Rx(e=>e.charAt(0).toUpperCase()+e.slice(1)),n$=Rx(e=>e?`on${Lx(e)}`:""),ka=(e,t)=>!Object.is(e,t),gb=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Nx=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dle=e=>{const t=Fn(e)?Number(e):NaN;return isNaN(t)?e:t};let PL;const kx=()=>PL||(PL=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function jA(e){if(Ct(e)){const t={};for(let n=0;n{if(n){const r=n.split(Rle);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function GA(e){let t="";if(Fn(e))t=e;else if(Ct(e))for(let n=0;ncu(n,t))}const Nj=e=>!!(e&&e.__v_isRef===!0),zle=e=>Fn(e)?e:e==null?"":Ct(e)||an(e)&&(e.toString===Dj||!Et(e.toString))?Nj(e)?zle(e.value):JSON.stringify(e,kj,2):String(e),kj=(e,t)=>Nj(t)?kj(e,t.value):eh(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[r$(r,o)+" =>"]=i,n),{})}:Zh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>r$(n))}:Ji(t)?r$(t):an(t)&&!Ct(t)&&!Ej(t)?String(t):t,r$=(e,t="")=>{var n;return Ji(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Fr;class Hle{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Fr,!t&&Fr&&(this.index=(Fr.scopes||(Fr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Fr=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Lp){let t=Lp;for(Lp=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rp;){let t=Rp;for(Rp=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Vj(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wj(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),YA(r),Wle(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function aI(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jj(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jj(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Tg)||(e.globalVersion=Tg,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!aI(e))))return;e.flags|=2;const t=e.dep,n=$n,r=Jo;$n=e,Jo=!0;try{Vj(e);const i=e.fn(e._value);(t.version===0||Na(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{$n=n,Jo=r,Wj(e),e.flags&=-3}}function YA(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)YA(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wle(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jo=!0;const Gj=[];function zl(){Gj.push(Jo),Jo=!1}function Hl(){const e=Gj.pop();Jo=e===void 0?!0:e}function ML(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=$n;$n=void 0;try{t()}finally{$n=n}}}let Tg=0,jle=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class qA{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!$n||!Jo||$n===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==$n)n=this.activeLink=new jle($n,this),$n.deps?(n.prevDep=$n.depsTail,$n.depsTail.nextDep=n,$n.depsTail=n):$n.deps=$n.depsTail=n,Kj(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=$n.depsTail,n.nextDep=void 0,$n.depsTail.nextDep=n,$n.depsTail=n,$n.deps===n&&($n.deps=r)}return n}trigger(t){this.version++,Tg++,this.notify(t)}notify(t){UA();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{XA()}}}function Kj(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Kj(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const P1=new WeakMap,Uc=Symbol(""),lI=Symbol(""),Ig=Symbol("");function Vr(e,t,n){if(Jo&&$n){let r=P1.get(e);r||P1.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new qA),i.map=r,i.key=n),i.track()}}function $l(e,t,n,r,i,o){const a=P1.get(e);if(!a){Tg++;return}const l=s=>{s&&s.trigger()};if(UA(),t==="clear")a.forEach(l);else{const s=Ct(e),u=s&&Ex(n);if(s&&n==="length"){const c=Number(r);a.forEach((d,f)=>{(f==="length"||f===Ig||!Qi(f)&&f>=c)&&l(d)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),u&&l(a.get(Ig)),t){case"add":s?u&&l(a.get("length")):(l(a.get(Uc)),Jf(e)&&l(a.get(lI)));break;case"delete":s||(l(a.get(Uc)),Jf(e)&&l(a.get(lI)));break;case"set":Jf(e)&&l(a.get(Uc));break}}XA()}function Gle(e,t){const n=P1.get(e);return n&&n.get(t)}function Zd(e){const t=mt(e);return t===e?t:(Vr(t,"iterate",Ig),Xi(e)?t:t.map(ra))}function Bx(e){return Vr(e=mt(e),"iterate",Ig),e}function Ra(e,t){return Vl(e)?xh(Xc(e)?ra(t):t):ra(t)}const Kle={__proto__:null,[Symbol.iterator](){return o$(this,Symbol.iterator,e=>Ra(this,e))},concat(...e){return Zd(this).concat(...e.map(t=>Ct(t)?Zd(t):t))},entries(){return o$(this,"entries",e=>(e[1]=Ra(this,e[1]),e))},every(e,t){return ul(this,"every",e,t,void 0,arguments)},filter(e,t){return ul(this,"filter",e,t,n=>n.map(r=>Ra(this,r)),arguments)},find(e,t){return ul(this,"find",e,t,n=>Ra(this,n),arguments)},findIndex(e,t){return ul(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ul(this,"findLast",e,t,n=>Ra(this,n),arguments)},findLastIndex(e,t){return ul(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ul(this,"forEach",e,t,void 0,arguments)},includes(...e){return a$(this,"includes",e)},indexOf(...e){return a$(this,"indexOf",e)},join(e){return Zd(this).join(e)},lastIndexOf(...e){return a$(this,"lastIndexOf",e)},map(e,t){return ul(this,"map",e,t,void 0,arguments)},pop(){return Pv(this,"pop")},push(...e){return Pv(this,"push",e)},reduce(e,...t){return AL(this,"reduce",e,t)},reduceRight(e,...t){return AL(this,"reduceRight",e,t)},shift(){return Pv(this,"shift")},some(e,t){return ul(this,"some",e,t,void 0,arguments)},splice(...e){return Pv(this,"splice",e)},toReversed(){return Zd(this).toReversed()},toSorted(e){return Zd(this).toSorted(e)},toSpliced(...e){return Zd(this).toSpliced(...e)},unshift(...e){return Pv(this,"unshift",e)},values(){return o$(this,"values",e=>Ra(this,e))}};function o$(e,t,n){const r=Bx(e),i=r[t]();return r!==e&&!Xi(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const Ule=Array.prototype;function ul(e,t,n,r,i,o){const a=Bx(e),l=a!==e&&!Xi(e),s=a[t];if(s!==Ule[t]){const d=s.apply(e,o);return l?ra(d):d}let u=n;a!==e&&(l?u=function(d,f){return n.call(this,Ra(e,d),f,e)}:n.length>2&&(u=function(d,f){return n.call(this,d,f,e)}));const c=s.call(a,u,r);return l&&i?i(c):c}function AL(e,t,n,r){const i=Bx(e),o=i!==e&&!Xi(e);let a=n,l=!1;i!==e&&(o?(l=r.length===0,a=function(u,c,d){return l&&(l=!1,u=Ra(e,u)),n.call(this,u,Ra(e,c),d,e)}):n.length>3&&(a=function(u,c,d){return n.call(this,u,c,d,e)}));const s=i[t](a,...r);return l?Ra(e,s):s}function a$(e,t,n){const r=mt(e);Vr(r,"iterate",Ig);const i=r[t](...n);return(i===-1||i===!1)&&Fx(n[0])?(n[0]=mt(n[0]),r[t](...n)):i}function Pv(e,t,n=[]){zl(),UA();const r=mt(e)[t].apply(e,n);return XA(),Hl(),r}const Xle=VA("__proto__,__v_isRef,__isVue"),Uj=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qi));function Yle(e){Qi(e)||(e=String(e));const t=mt(this);return Vr(t,"has",e),t.hasOwnProperty(e)}class Xj{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?ose:Qj:o?Zj:qj).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Ct(t);if(!i){let s;if(a&&(s=Kle[n]))return s;if(n==="hasOwnProperty")return Yle}const l=Reflect.get(t,n,Kn(t)?t:r);if((Qi(n)?Uj.has(n):Xle(n))||(i||Vr(t,"get",n),o))return l;if(Kn(l)){const s=a&&Ex(n)?l:l.value;return i&&an(s)?uI(s):s}return an(l)?i?uI(l):Bt(l):l}}class Yj extends Xj{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];const a=Ct(t)&&Ex(n);if(!this._isShallow){const u=Vl(o);if(!Xi(r)&&!Vl(r)&&(o=mt(o),r=mt(r)),!a&&Kn(o)&&!Kn(r))return u||(o.value=r),!0}const l=a?Number(n)e,Ty=e=>Reflect.getPrototypeOf(e);function ese(e,t,n){return function(...r){const i=this.__v_raw,o=mt(i),a=Jf(o),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,u=i[e](...r),c=n?sI:t?xh:ra;return!t&&Vr(o,"iterate",s?lI:Uc),Bn(Object.create(u),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:l?[c(d[0]),c(d[1])]:c(d),done:f}}})}}function Iy(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tse(e,t){const n={get(i){const o=this.__v_raw,a=mt(o),l=mt(i);e||(Na(i,l)&&Vr(a,"get",i),Vr(a,"get",l));const{has:s}=Ty(a),u=t?sI:e?xh:ra;if(s.call(a,i))return u(o.get(i));if(s.call(a,l))return u(o.get(l));o!==a&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Vr(mt(i),"iterate",Uc),i.size},has(i){const o=this.__v_raw,a=mt(o),l=mt(i);return e||(Na(i,l)&&Vr(a,"has",i),Vr(a,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const a=this,l=a.__v_raw,s=mt(l),u=t?sI:e?xh:ra;return!e&&Vr(s,"iterate",Uc),l.forEach((c,d)=>i.call(o,u(c),u(d),a))}};return Bn(n,e?{add:Iy("add"),set:Iy("set"),delete:Iy("delete"),clear:Iy("clear")}:{add(i){const o=mt(this),a=Ty(o),l=mt(i),s=!t&&!Xi(i)&&!Vl(i)?l:i;return a.has.call(o,s)||Na(i,s)&&a.has.call(o,i)||Na(l,s)&&a.has.call(o,l)||(o.add(s),$l(o,"add",s,s)),this},set(i,o){!t&&!Xi(o)&&!Vl(o)&&(o=mt(o));const a=mt(this),{has:l,get:s}=Ty(a);let u=l.call(a,i);u||(i=mt(i),u=l.call(a,i));const c=s.call(a,i);return a.set(i,o),u?Na(o,c)&&$l(a,"set",i,o):$l(a,"add",i,o),this},delete(i){const o=mt(this),{has:a,get:l}=Ty(o);let s=a.call(o,i);s||(i=mt(i),s=a.call(o,i)),l&&l.call(o,i);const u=o.delete(i);return s&&$l(o,"delete",i,void 0),u},clear(){const i=mt(this),o=i.size!==0,a=i.clear();return o&&$l(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ese(i,e,t)}),n}function ZA(e,t){const n=tse(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(un(n,i)&&i in r?n:r,i,o)}const nse={get:ZA(!1,!1)},rse={get:ZA(!1,!0)},ise={get:ZA(!0,!1)};const qj=new WeakMap,Zj=new WeakMap,Qj=new WeakMap,ose=new WeakMap;function ase(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lse(e){return e.__v_skip||!Object.isExtensible(e)?0:ase(Mle(e))}function Bt(e){return Vl(e)?e:QA(e,!1,Zle,nse,qj)}function Jj(e){return QA(e,!1,Jle,rse,Zj)}function uI(e){return QA(e,!0,Qle,ise,Qj)}function QA(e,t,n,r,i){if(!an(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=lse(e);if(o===0)return e;const a=i.get(e);if(a)return a;const l=new Proxy(e,o===2?r:n);return i.set(e,l),l}function Xc(e){return Vl(e)?Xc(e.__v_raw):!!(e&&e.__v_isReactive)}function Vl(e){return!!(e&&e.__v_isReadonly)}function Xi(e){return!!(e&&e.__v_isShallow)}function Fx(e){return e?!!e.__v_raw:!1}function mt(e){const t=e&&e.__v_raw;return t?mt(t):e}function sse(e){return!un(e,"__v_skip")&&Object.isExtensible(e)&&Rj(e,"__v_skip",!0),e}const ra=e=>an(e)?Bt(e):e,xh=e=>an(e)?uI(e):e;function Kn(e){return e?e.__v_isRef===!0:!1}function ue(e){return eG(e,!1)}function ae(e){return eG(e,!0)}function eG(e,t){return Kn(e)?e:new use(e,t)}class use{constructor(t,n){this.dep=new qA,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:mt(t),this._value=n?t:ra(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Xi(t)||Vl(t);t=r?t:mt(t),Na(t,n)&&(this._rawValue=t,this._value=r?t:ra(t),this.dep.trigger())}}function tG(e){e.dep&&e.dep.trigger()}function yn(e){return Kn(e)?e.value:e}const cse={get:(e,t,n)=>t==="__v_raw"?e:yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Kn(i)&&!Kn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function nG(e){return Xc(e)?e:new Proxy(e,cse)}function ja(e){const t=Ct(e)?new Array(e.length):{};for(const n in e)t[n]=rG(e,n);return t}class dse{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Qi(n)?n:String(n),this._raw=mt(t);let i=!0,o=t;if(!Ct(t)||Qi(this._key)||!Ex(this._key))do i=!Fx(o)||Xi(o);while(i&&(o=o.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=yn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Kn(this._raw[this._key])){const n=this._object[this._key];if(Kn(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Gle(this._raw,this._key)}}class fse{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function qe(e,t,n){return Kn(e)?e:Et(e)?new fse(e):an(e)&&arguments.length>1?rG(e,t,n):ue(e)}function rG(e,t,n){return new dse(e,t,n)}class hse{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qA(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Tg-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&$n!==this)return Hj(this,!0),!0}get value(){const t=this.dep.track();return jj(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vse(e,t,n=!1){let r,i;return Et(e)?r=e:(r=e.get,i=e.set),new hse(r,i,n)}const Py={},M1=new WeakMap;let pc;function pse(e,t=!1,n=pc){if(n){let r=M1.get(n);r||M1.set(n,r=[]),r.push(e)}}function gse(e,t,n=mn){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:l,call:s}=n,u=S=>i?S:Xi(S)||i===!1||i===0?_l(S,1):_l(S);let c,d,f,h,v=!1,p=!1;if(Kn(e)?(d=()=>e.value,v=Xi(e)):Xc(e)?(d=()=>u(e),v=!0):Ct(e)?(p=!0,v=e.some(S=>Xc(S)||Xi(S)),d=()=>e.map(S=>{if(Kn(S))return S.value;if(Xc(S))return u(S);if(Et(S))return s?s(S,2):S()})):Et(e)?t?d=s?()=>s(e,2):e:d=()=>{if(f){zl();try{f()}finally{Hl()}}const S=pc;pc=c;try{return s?s(e,3,[h]):e(h)}finally{pc=S}}:d=Qo,t&&i){const S=d,x=i===!0?1/0:i;d=()=>_l(S(),x)}const g=Bj(),m=()=>{c.stop(),g&&g.active&&WA(g.effects,c)};if(o&&t){const S=t;t=(...x)=>{S(...x),m()}}let y=p?new Array(e.length).fill(Py):Py;const b=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const x=c.run();if(i||v||(p?x.some(($,C)=>Na($,y[C])):Na(x,y))){f&&f();const $=pc;pc=c;try{const C=[x,y===Py?void 0:p&&y[0]===Py?[]:y,h];y=x,s?s(t,3,C):t(...C)}finally{pc=$}}}else c.run()};return l&&l(b),c=new Fj(d),c.scheduler=a?()=>a(b,!1):b,h=S=>pse(S,!1,c),f=c.onStop=()=>{const S=M1.get(c);if(S){if(s)s(S,4);else for(const x of S)x();M1.delete(c)}},t?r?b(!0):y=c.run():a?a(b.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function _l(e,t=1/0,n){if(t<=0||!an(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Kn(e))_l(e.value,t,n);else if(Ct(e))for(let r=0;r{_l(r,t,n)});else if(Ej(e)){for(const r in e)_l(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_l(e[r],t,n)}return e}/** +**/let Fr;class Hle{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Fr,!t&&Fr&&(this.index=(Fr.scopes||(Fr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Fr=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Np){let t=Np;for(Np=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Lp;){let t=Lp;for(Lp=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Vj(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wj(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),YA(r),Wle(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function aI(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jj(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jj(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ig)||(e.globalVersion=Ig,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!aI(e))))return;e.flags|=2;const t=e.dep,n=$n,r=ea;$n=e,ea=!0;try{Vj(e);const i=e.fn(e._value);(t.version===0||ka(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{$n=n,ea=r,Wj(e),e.flags&=-3}}function YA(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)YA(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wle(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ea=!0;const Gj=[];function Hl(){Gj.push(ea),ea=!1}function Vl(){const e=Gj.pop();ea=e===void 0?!0:e}function ML(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=$n;$n=void 0;try{t()}finally{$n=n}}}let Ig=0,jle=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class qA{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!$n||!ea||$n===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==$n)n=this.activeLink=new jle($n,this),$n.deps?(n.prevDep=$n.depsTail,$n.depsTail.nextDep=n,$n.depsTail=n):$n.deps=$n.depsTail=n,Kj(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=$n.depsTail,n.nextDep=void 0,$n.depsTail.nextDep=n,$n.depsTail=n,$n.deps===n&&($n.deps=r)}return n}trigger(t){this.version++,Ig++,this.notify(t)}notify(t){UA();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{XA()}}}function Kj(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Kj(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const P1=new WeakMap,Uc=Symbol(""),lI=Symbol(""),Pg=Symbol("");function Vr(e,t,n){if(ea&&$n){let r=P1.get(e);r||P1.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new qA),i.map=r,i.key=n),i.track()}}function _l(e,t,n,r,i,o){const a=P1.get(e);if(!a){Ig++;return}const l=s=>{s&&s.trigger()};if(UA(),t==="clear")a.forEach(l);else{const s=Ct(e),u=s&&Ex(n);if(s&&n==="length"){const c=Number(r);a.forEach((d,f)=>{(f==="length"||f===Pg||!Ji(f)&&f>=c)&&l(d)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),u&&l(a.get(Pg)),t){case"add":s?u&&l(a.get("length")):(l(a.get(Uc)),eh(e)&&l(a.get(lI)));break;case"delete":s||(l(a.get(Uc)),eh(e)&&l(a.get(lI)));break;case"set":eh(e)&&l(a.get(Uc));break}}XA()}function Gle(e,t){const n=P1.get(e);return n&&n.get(t)}function Qd(e){const t=mt(e);return t===e?t:(Vr(t,"iterate",Pg),Yi(e)?t:t.map(ia))}function Bx(e){return Vr(e=mt(e),"iterate",Pg),e}function La(e,t){return Wl(e)?wh(Xc(e)?ia(t):t):ia(t)}const Kle={__proto__:null,[Symbol.iterator](){return o$(this,Symbol.iterator,e=>La(this,e))},concat(...e){return Qd(this).concat(...e.map(t=>Ct(t)?Qd(t):t))},entries(){return o$(this,"entries",e=>(e[1]=La(this,e[1]),e))},every(e,t){return cl(this,"every",e,t,void 0,arguments)},filter(e,t){return cl(this,"filter",e,t,n=>n.map(r=>La(this,r)),arguments)},find(e,t){return cl(this,"find",e,t,n=>La(this,n),arguments)},findIndex(e,t){return cl(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return cl(this,"findLast",e,t,n=>La(this,n),arguments)},findLastIndex(e,t){return cl(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return cl(this,"forEach",e,t,void 0,arguments)},includes(...e){return a$(this,"includes",e)},indexOf(...e){return a$(this,"indexOf",e)},join(e){return Qd(this).join(e)},lastIndexOf(...e){return a$(this,"lastIndexOf",e)},map(e,t){return cl(this,"map",e,t,void 0,arguments)},pop(){return Mv(this,"pop")},push(...e){return Mv(this,"push",e)},reduce(e,...t){return AL(this,"reduce",e,t)},reduceRight(e,...t){return AL(this,"reduceRight",e,t)},shift(){return Mv(this,"shift")},some(e,t){return cl(this,"some",e,t,void 0,arguments)},splice(...e){return Mv(this,"splice",e)},toReversed(){return Qd(this).toReversed()},toSorted(e){return Qd(this).toSorted(e)},toSpliced(...e){return Qd(this).toSpliced(...e)},unshift(...e){return Mv(this,"unshift",e)},values(){return o$(this,"values",e=>La(this,e))}};function o$(e,t,n){const r=Bx(e),i=r[t]();return r!==e&&!Yi(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const Ule=Array.prototype;function cl(e,t,n,r,i,o){const a=Bx(e),l=a!==e&&!Yi(e),s=a[t];if(s!==Ule[t]){const d=s.apply(e,o);return l?ia(d):d}let u=n;a!==e&&(l?u=function(d,f){return n.call(this,La(e,d),f,e)}:n.length>2&&(u=function(d,f){return n.call(this,d,f,e)}));const c=s.call(a,u,r);return l&&i?i(c):c}function AL(e,t,n,r){const i=Bx(e),o=i!==e&&!Yi(e);let a=n,l=!1;i!==e&&(o?(l=r.length===0,a=function(u,c,d){return l&&(l=!1,u=La(e,u)),n.call(this,u,La(e,c),d,e)}):n.length>3&&(a=function(u,c,d){return n.call(this,u,c,d,e)}));const s=i[t](a,...r);return l?La(e,s):s}function a$(e,t,n){const r=mt(e);Vr(r,"iterate",Pg);const i=r[t](...n);return(i===-1||i===!1)&&Fx(n[0])?(n[0]=mt(n[0]),r[t](...n)):i}function Mv(e,t,n=[]){Hl(),UA();const r=mt(e)[t].apply(e,n);return XA(),Vl(),r}const Xle=VA("__proto__,__v_isRef,__isVue"),Uj=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ji));function Yle(e){Ji(e)||(e=String(e));const t=mt(this);return Vr(t,"has",e),t.hasOwnProperty(e)}class Xj{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?ose:Qj:o?Zj:qj).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Ct(t);if(!i){let s;if(a&&(s=Kle[n]))return s;if(n==="hasOwnProperty")return Yle}const l=Reflect.get(t,n,Kn(t)?t:r);if((Ji(n)?Uj.has(n):Xle(n))||(i||Vr(t,"get",n),o))return l;if(Kn(l)){const s=a&&Ex(n)?l:l.value;return i&&an(s)?uI(s):s}return an(l)?i?uI(l):Bt(l):l}}class Yj extends Xj{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];const a=Ct(t)&&Ex(n);if(!this._isShallow){const u=Wl(o);if(!Yi(r)&&!Wl(r)&&(o=mt(o),r=mt(r)),!a&&Kn(o)&&!Kn(r))return u||(o.value=r),!0}const l=a?Number(n)e,Ty=e=>Reflect.getPrototypeOf(e);function ese(e,t,n){return function(...r){const i=this.__v_raw,o=mt(i),a=eh(o),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,u=i[e](...r),c=n?sI:t?wh:ia;return!t&&Vr(o,"iterate",s?lI:Uc),Bn(Object.create(u),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:l?[c(d[0]),c(d[1])]:c(d),done:f}}})}}function Iy(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tse(e,t){const n={get(i){const o=this.__v_raw,a=mt(o),l=mt(i);e||(ka(i,l)&&Vr(a,"get",i),Vr(a,"get",l));const{has:s}=Ty(a),u=t?sI:e?wh:ia;if(s.call(a,i))return u(o.get(i));if(s.call(a,l))return u(o.get(l));o!==a&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Vr(mt(i),"iterate",Uc),i.size},has(i){const o=this.__v_raw,a=mt(o),l=mt(i);return e||(ka(i,l)&&Vr(a,"has",i),Vr(a,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const a=this,l=a.__v_raw,s=mt(l),u=t?sI:e?wh:ia;return!e&&Vr(s,"iterate",Uc),l.forEach((c,d)=>i.call(o,u(c),u(d),a))}};return Bn(n,e?{add:Iy("add"),set:Iy("set"),delete:Iy("delete"),clear:Iy("clear")}:{add(i){const o=mt(this),a=Ty(o),l=mt(i),s=!t&&!Yi(i)&&!Wl(i)?l:i;return a.has.call(o,s)||ka(i,s)&&a.has.call(o,i)||ka(l,s)&&a.has.call(o,l)||(o.add(s),_l(o,"add",s,s)),this},set(i,o){!t&&!Yi(o)&&!Wl(o)&&(o=mt(o));const a=mt(this),{has:l,get:s}=Ty(a);let u=l.call(a,i);u||(i=mt(i),u=l.call(a,i));const c=s.call(a,i);return a.set(i,o),u?ka(o,c)&&_l(a,"set",i,o):_l(a,"add",i,o),this},delete(i){const o=mt(this),{has:a,get:l}=Ty(o);let s=a.call(o,i);s||(i=mt(i),s=a.call(o,i)),l&&l.call(o,i);const u=o.delete(i);return s&&_l(o,"delete",i,void 0),u},clear(){const i=mt(this),o=i.size!==0,a=i.clear();return o&&_l(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ese(i,e,t)}),n}function ZA(e,t){const n=tse(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(un(n,i)&&i in r?n:r,i,o)}const nse={get:ZA(!1,!1)},rse={get:ZA(!1,!0)},ise={get:ZA(!0,!1)};const qj=new WeakMap,Zj=new WeakMap,Qj=new WeakMap,ose=new WeakMap;function ase(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lse(e){return e.__v_skip||!Object.isExtensible(e)?0:ase(Mle(e))}function Bt(e){return Wl(e)?e:QA(e,!1,Zle,nse,qj)}function Jj(e){return QA(e,!1,Jle,rse,Zj)}function uI(e){return QA(e,!0,Qle,ise,Qj)}function QA(e,t,n,r,i){if(!an(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=lse(e);if(o===0)return e;const a=i.get(e);if(a)return a;const l=new Proxy(e,o===2?r:n);return i.set(e,l),l}function Xc(e){return Wl(e)?Xc(e.__v_raw):!!(e&&e.__v_isReactive)}function Wl(e){return!!(e&&e.__v_isReadonly)}function Yi(e){return!!(e&&e.__v_isShallow)}function Fx(e){return e?!!e.__v_raw:!1}function mt(e){const t=e&&e.__v_raw;return t?mt(t):e}function sse(e){return!un(e,"__v_skip")&&Object.isExtensible(e)&&Rj(e,"__v_skip",!0),e}const ia=e=>an(e)?Bt(e):e,wh=e=>an(e)?uI(e):e;function Kn(e){return e?e.__v_isRef===!0:!1}function ue(e){return eG(e,!1)}function ae(e){return eG(e,!0)}function eG(e,t){return Kn(e)?e:new use(e,t)}class use{constructor(t,n){this.dep=new qA,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:mt(t),this._value=n?t:ia(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Yi(t)||Wl(t);t=r?t:mt(t),ka(t,n)&&(this._rawValue=t,this._value=r?t:ia(t),this.dep.trigger())}}function tG(e){e.dep&&e.dep.trigger()}function yn(e){return Kn(e)?e.value:e}const cse={get:(e,t,n)=>t==="__v_raw"?e:yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Kn(i)&&!Kn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function nG(e){return Xc(e)?e:new Proxy(e,cse)}function Ga(e){const t=Ct(e)?new Array(e.length):{};for(const n in e)t[n]=rG(e,n);return t}class dse{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Ji(n)?n:String(n),this._raw=mt(t);let i=!0,o=t;if(!Ct(t)||Ji(this._key)||!Ex(this._key))do i=!Fx(o)||Yi(o);while(i&&(o=o.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=yn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Kn(this._raw[this._key])){const n=this._object[this._key];if(Kn(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Gle(this._raw,this._key)}}class fse{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function qe(e,t,n){return Kn(e)?e:Et(e)?new fse(e):an(e)&&arguments.length>1?rG(e,t,n):ue(e)}function rG(e,t,n){return new dse(e,t,n)}class hse{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qA(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ig-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&$n!==this)return Hj(this,!0),!0}get value(){const t=this.dep.track();return jj(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vse(e,t,n=!1){let r,i;return Et(e)?r=e:(r=e.get,i=e.set),new hse(r,i,n)}const Py={},M1=new WeakMap;let pc;function pse(e,t=!1,n=pc){if(n){let r=M1.get(n);r||M1.set(n,r=[]),r.push(e)}}function gse(e,t,n=mn){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:l,call:s}=n,u=S=>i?S:Yi(S)||i===!1||i===0?Tl(S,1):Tl(S);let c,d,f,h,v=!1,p=!1;if(Kn(e)?(d=()=>e.value,v=Yi(e)):Xc(e)?(d=()=>u(e),v=!0):Ct(e)?(p=!0,v=e.some(S=>Xc(S)||Yi(S)),d=()=>e.map(S=>{if(Kn(S))return S.value;if(Xc(S))return u(S);if(Et(S))return s?s(S,2):S()})):Et(e)?t?d=s?()=>s(e,2):e:d=()=>{if(f){Hl();try{f()}finally{Vl()}}const S=pc;pc=c;try{return s?s(e,3,[h]):e(h)}finally{pc=S}}:d=Jo,t&&i){const S=d,x=i===!0?1/0:i;d=()=>Tl(S(),x)}const g=Bj(),m=()=>{c.stop(),g&&g.active&&WA(g.effects,c)};if(o&&t){const S=t;t=(...x)=>{S(...x),m()}}let y=p?new Array(e.length).fill(Py):Py;const b=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const x=c.run();if(i||v||(p?x.some(($,C)=>ka($,y[C])):ka(x,y))){f&&f();const $=pc;pc=c;try{const C=[x,y===Py?void 0:p&&y[0]===Py?[]:y,h];y=x,s?s(t,3,C):t(...C)}finally{pc=$}}}else c.run()};return l&&l(b),c=new Fj(d),c.scheduler=a?()=>a(b,!1):b,h=S=>pse(S,!1,c),f=c.onStop=()=>{const S=M1.get(c);if(S){if(s)s(S,4);else for(const x of S)x();M1.delete(c)}},t?r?b(!0):y=c.run():a?a(b.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function Tl(e,t=1/0,n){if(t<=0||!an(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Kn(e))Tl(e.value,t,n);else if(Ct(e))for(let r=0;r{Tl(r,t,n)});else if(Ej(e)){for(const r in e)Tl(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Tl(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Om(e,t,n,r){try{return r?e(...r):e()}catch(i){Dm(i,t,n)}}function ia(e,t,n,r){if(Et(e)){const i=Om(e,t,n,r);return i&&Oj(i)&&i.catch(o=>{Dm(o,t,n)}),i}if(Ct(e)){const i=[];for(let o=0;o>>1,i=li[r],o=Pg(i);o=Pg(n)?li.push(e):li.splice(yse(t),0,e),e.flags|=1,oG()}}function oG(){A1||(A1=iG.then(lG))}function bse(e){Ct(e)?eh.push(...e):Ls&&e.id===-1?Ls.splice(Mf+1,0,e):e.flags&1||(eh.push(e),e.flags|=1),oG()}function OL(e,t,n=Pa+1){for(;nPg(n)-Pg(r));if(eh.length=0,Ls){Ls.push(...t);return}for(Ls=t,Mf=0;Mfe.id==null?e.flags&2?-1:1/0:e.id;function lG(e){const t=Qo;try{for(Pa=0;Pa{r._d&&L1(-1);const o=O1(t);let a;try{a=e(...i)}finally{O1(o),r._d&&L1(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ur(e,t){if(_r===null)return e;const n=Gx(_r),r=e.dirs||(e.dirs=[]);for(let i=0;i1)return n&&Et(t)?t.call(r&&r.proxy):t}}const Sse=Symbol.for("v-scx"),xse=()=>Je(Sse);function Ye(e,t){return eO(e,null,t)}function Se(e,t,n){return eO(e,t,n)}function eO(e,t,n=mn){const{immediate:r,deep:i,flush:o,once:a}=n,l=Bn({},n),s=t&&r||!t&&o!=="post";let u;if(wh){if(o==="sync"){const h=xse();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!s){const h=()=>{};return h.stop=Qo,h.resume=Qo,h.pause=Qo,h}}const c=$r;l.call=(h,v,p)=>ia(h,c,v,p);let d=!1;o==="post"?l.scheduler=h=>{Br(h,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(h,v)=>{v?h():JA(h)}),l.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const f=gse(e,t,l);return wh&&(u?u.push(f):s&&f()),f}function wse(e,t,n){const r=this.proxy,i=Fn(e)?e.includes(".")?cG(r,e):()=>r[e]:e.bind(r,r);let o;Et(t)?o=t:(o=t.handler,n=t);const a=Rm(this),l=eO(i,o.bind(r),n);return a(),l}function cG(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;ie.__isTeleport,Np=e=>e&&(e.disabled||e.disabled===""),Cse=e=>e&&(e.defer||e.defer===""),DL=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,EL=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,cI=(e,t)=>{const n=e&&e.to;return Fn(n)?t?t(n):null:n},hG={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,l,s,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:v,createText:p,createComment:g}}=u,m=Np(t.props);let{shapeFlag:y,children:b,dynamicChildren:S}=t;if(e==null){const x=t.el=p(""),$=t.anchor=p("");h(x,n,r),h($,n,r);const C=(I,P)=>{y&16&&c(b,I,P,i,o,a,l,s)},T=()=>{const I=t.target=cI(t.props,v),P=dI(I,t,p,h);I&&(a!=="svg"&&DL(I)?a="svg":a!=="mathml"&&EL(I)&&(a="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(I),m||(C(I,P),mb(t,!1)))};m&&(C(n,$),mb(t,!0)),Cse(t.props)||o&&o.pendingBranch?(t.el.__isMounted=!1,Br(()=>{t.el.__isMounted===!1&&(T(),delete t.el.__isMounted)},o)):T()}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,$=t.target=e.target,C=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){Br(()=>{hG.process(e,t,n,r,i,o,a,l,s,u)},o);return}const T=Np(e.props),I=T?n:$,P=T?x:C;if(a==="svg"||DL($)?a="svg":(a==="mathml"||EL($))&&(a="mathml"),S?(f(e.dynamicChildren,S,I,i,o,a,l),lO(e,t,!0)):s||d(e,t,I,P,i,o,a,l,!1),m)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):My(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=cI(t.props,v);M&&My(t,M,null,u,0)}else T&&My(t,$,C,u,1);mb(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:s,targetStart:u,targetAnchor:c,target:d,props:f}=e;if(d&&(i(u),i(c)),o&&i(s),a&16){const h=o||!Np(f);for(let v=0;v{e.isMounted=!0}),ht(()=>{e.isUnmounting=!0}),e}const oo=[Function,Array],pG={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:oo,onEnter:oo,onAfterEnter:oo,onEnterCancelled:oo,onBeforeLeave:oo,onLeave:oo,onAfterLeave:oo,onLeaveCancelled:oo,onBeforeAppear:oo,onAppear:oo,onAfterAppear:oo,onAppearCancelled:oo},gG=e=>{const t=e.subTree;return t.component?gG(t.component):t},_se={name:"BaseTransition",props:pG,setup(e,{slots:t}){const n=gr(),r=vG();return()=>{const i=t.default&&nO(t.default(),!0);if(!i||!i.length)return;const o=mG(i),a=mt(e),{mode:l}=a;if(r.isLeaving)return l$(o);const s=RL(o);if(!s)return l$(o);let u=Mg(s,a,r,n,d=>u=d);s.type!==yr&&dd(s,u);let c=n.subTree&&RL(n.subTree);if(c&&c.type!==yr&&!$c(c,s)&&gG(n).type!==yr){let d=Mg(c,a,r,n);if(dd(c,d),l==="out-in"&&s.type!==yr)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},l$(o);l==="in-out"&&s.type!==yr?d.delayLeave=(f,h,v)=>{const p=yG(r,c);p[String(c.key)]=c,f[Aa]=()=>{h(),f[Aa]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function mG(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==yr){t=n;break}}return t}const Tse=_se;function yG(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Mg(e,t,n,r,i){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:b}=t,S=String(e.key),x=yG(n,e),$=(I,P)=>{I&&ia(I,r,9,P)},C=(I,P)=>{const M=P[1];$(I,P),Ct(I)?I.every(O=>O.length<=1)&&M():I.length<=1&&M()},T={mode:a,persisted:l,beforeEnter(I){let P=s;if(!n.isMounted)if(o)P=g||s;else return;I[Aa]&&I[Aa](!0);const M=x[S];M&&$c(e,M)&&M.el[Aa]&&M.el[Aa](),$(P,[I])},enter(I){if(x[S]===e)return;let P=u,M=c,O=d;if(!n.isMounted)if(o)P=m||u,M=y||c,O=b||d;else return;let D=!1;I[Mv]=A=>{D||(D=!0,A?$(O,[I]):$(M,[I]),T.delayedLeave&&T.delayedLeave(),I[Mv]=void 0)};const R=I[Mv].bind(null,!1);P?C(P,[I,R]):R()},leave(I,P){const M=String(e.key);if(I[Mv]&&I[Mv](!0),n.isUnmounting)return P();$(f,[I]);let O=!1;I[Aa]=R=>{O||(O=!0,P(),R?$(p,[I]):$(v,[I]),I[Aa]=void 0,x[M]===e&&delete x[M])};const D=I[Aa].bind(null,!1);x[M]=e,h?C(h,[I,D]):D()},clone(I){const P=Mg(I,t,n,r,i);return i&&i(P),P}};return T}function l$(e){if(Em(e))return e=cr(e),e.children=null,e}function RL(e){if(!Em(e))return fG(e.type)&&e.children?mG(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Et(n.default))return n.default()}}function dd(e,t){e.shapeFlag&6&&e.component?(e.transition=t,dd(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nO(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oBn({name:e.name},t,{setup:e}))():e}function rO(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function LL(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const D1=new WeakMap;function kp(e,t,n,r,i=!1){if(Ct(e)){e.forEach((p,g)=>kp(p,t&&(Ct(t)?t[g]:t),n,r,i));return}if(th(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&kp(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Gx(r.component):r.el,a=i?null:o,{i:l,r:s}=e,u=t&&t.r,c=l.refs===mn?l.refs={}:l.refs,d=l.setupState,f=mt(d),h=d===mn?Aj:p=>LL(c,p)?!1:un(f,p),v=(p,g)=>!(g&&LL(c,g));if(u!=null&&u!==s){if(NL(t),Fn(u))c[u]=null,h(u)&&(d[u]=null);else if(Kn(u)){const p=t;v(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(Et(s))Om(s,l,12,[a,c]);else{const p=Fn(s),g=Kn(s);if(p||g){const m=()=>{if(e.f){const y=p?h(s)?d[s]:c[s]:v()||!e.k?s.value:c[e.k];if(i)Ct(y)&&WA(y,o);else if(Ct(y))y.includes(o)||y.push(o);else if(p)c[s]=[o],h(s)&&(d[s]=c[s]);else{const b=[o];v(s,e.k)&&(s.value=b),e.k&&(c[e.k]=b)}}else p?(c[s]=a,h(s)&&(d[s]=a)):g&&(v(s,e.k)&&(s.value=a),e.k&&(c[e.k]=a))};if(a){const y=()=>{m(),D1.delete(e)};y.id=-1,D1.set(e,y),Br(y,n)}else NL(e),m()}}}function NL(e){const t=D1.get(e);t&&(t.flags|=8,D1.delete(e))}const kL=e=>e.nodeType===8;kx().requestIdleCallback;kx().cancelIdleCallback;function Ise(e,t){if(kL(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(kL(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const th=e=>!!e.type.__asyncLoader;function xht(e){Et(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:a,suspensible:l=!0,onError:s}=e;let u=null,c,d=0;const f=()=>(d++,u=null,h()),h=()=>{let v;return u||(v=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((g,m)=>{s(p,()=>g(f()),()=>m(p),d+1)});throw p}).then(p=>v!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return se({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(v,p,g){let m=!1;(p.bu||(p.bu=[])).push(()=>m=!0);const y=()=>{m||g()},b=o?()=>{const S=o(y,x=>Ise(v,x));S&&(p.bum||(p.bum=[])).push(S)}:y;c?b():h().then(()=>!p.isUnmounted&&b())},get __asyncResolved(){return c},setup(){const v=$r;if(rO(v),c)return()=>Ay(c,v);const p=b=>{u=null,Dm(b,v,13,!r)};if(l&&v.suspense||wh)return h().then(b=>()=>Ay(b,v)).catch(b=>(p(b),()=>r?w(r,{error:b}):null));const g=ue(!1),m=ue(),y=ue(!!i);return i&&setTimeout(()=>{y.value=!1},i),a!=null&&setTimeout(()=>{if(!g.value&&!m.value){const b=new Error(`Async component timed out after ${a}ms.`);p(b),m.value=b}},a),h().then(()=>{g.value=!0,v.parent&&Em(v.parent.vnode)&&v.parent.update()}).catch(b=>{p(b),m.value=b}),()=>{if(g.value&&c)return Ay(c,v);if(m.value&&r)return w(r,{error:m.value});if(n&&!y.value)return Ay(n,v)}}})}function Ay(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=w(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Em=e=>e.type.__isKeepAlive;function zx(e,t){SG(e,"a",t)}function bG(e,t){SG(e,"da",t)}function SG(e,t,n=$r){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Hx(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Em(i.parent.vnode)&&Pse(r,t,n,i),i=i.parent}}function Pse(e,t,n,r){const i=Hx(t,e,r,!0);Jr(()=>{WA(r[t],i)},n)}function Hx(e,t,n=$r,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{zl();const l=Rm(n),s=ia(t,n,e,a);return l(),Hl(),s});return r?i.unshift(o):i.push(o),o}}const ts=e=>(t,n=$r)=>{(!wh||e==="sp")&&Hx(e,(...r)=>t(...r),n)},Vx=ts("bm"),tt=ts("m"),Wx=ts("bu"),Qr=ts("u"),ht=ts("bum"),Jr=ts("um"),Mse=ts("sp"),Ase=ts("rtg"),Ose=ts("rtc");function Dse(e,t=$r){Hx("ec",e,t)}const xG="components",Ese="directives";function BL(e,t){return wG(xG,e,!0,t)||e}const Rse=Symbol.for("v-ndc");function Lse(e){return wG(Ese,e)}function wG(e,t,n=!0,r=!1){const i=_r||$r;if(i){const o=i.type;if(e===xG){const l=Sue(o,!1);if(l&&(l===t||l===di(t)||l===Lx(di(t))))return o}const a=FL(i[e]||o[e],t)||FL(i.appContext[e],t);return!a&&r?o:a}}function FL(e,t){return e&&(e[t]||e[di(t)]||e[Lx(di(t))])}function wht(e,t,n,r){let i;const o=n&&n[r],a=Ct(e);if(a||Fn(e)){const l=a&&Xc(e);let s=!1,u=!1;l&&(s=!Xi(e),u=Vl(e),e=Bx(e)),i=new Array(e.length);for(let c=0,d=e.length;ct(l,s,void 0,o&&o[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s0;return t!=="default"&&(n.name=t),R1(),N1(Qe,null,[w("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),R1();const a=o&&CG(o(n)),l=n.key||a&&a.key,s=N1(Qe,{key:(l&&!Qi(l)?l:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function CG(e){return e.some(t=>Nn(t)?!(t.type===yr||t.type===Qe&&!CG(t.children)):!0)?e:null}const fI=e=>e?VG(e)?Gx(e):fI(e.parent):null,Bp=Bn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fI(e.parent),$root:e=>fI(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>iO(e),$forceUpdate:e=>e.f||(e.f=()=>{JA(e.update)}),$nextTick:e=>e.n||(e.n=_t.bind(e.proxy)),$watch:e=>wse.bind(e)}),s$=(e,t)=>e!==mn&&!e.__isScriptSetup&&un(e,t),Nse={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:l,appContext:s}=e;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(s$(r,t))return a[t]=1,r[t];if(i!==mn&&un(i,t))return a[t]=2,i[t];if(un(o,t))return a[t]=3,o[t];if(n!==mn&&un(n,t))return a[t]=4,n[t];hI&&(a[t]=0)}}const u=Bp[t];let c,d;if(u)return t==="$attrs"&&Vr(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==mn&&un(n,t))return a[t]=4,n[t];if(d=s.config.globalProperties,un(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return s$(i,t)?(i[t]=n,!0):r!==mn&&un(r,t)?(r[t]=n,!0):un(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:o,type:a}},l){let s;return!!(n[l]||e!==mn&&l[0]!=="$"&&un(e,l)||s$(t,l)||un(o,l)||un(r,l)||un(Bp,l)||un(i.config.globalProperties,l)||(s=a.__cssModules)&&s[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:un(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kse(){return Bse().attrs}function Bse(e){const t=gr();return t.setupContext||(t.setupContext=jG(t))}function zL(e){return Ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hI=!0;function Fse(e){const t=iO(e),n=e.proxy,r=e.ctx;hI=!1,t.beforeCreate&&HL(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:l,provide:s,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:v,activated:p,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:b,unmounted:S,render:x,renderTracked:$,renderTriggered:C,errorCaptured:T,serverPrefetch:I,expose:P,inheritAttrs:M,components:O,directives:D,filters:R}=t;if(u&&zse(u,r,null),a)for(const k in a){const N=a[k];Et(N)&&(r[k]=N.bind(n))}if(i){const k=i.call(n,n);an(k)&&(e.data=Bt(k))}if(hI=!0,o)for(const k in o){const N=o[k],B=Et(N)?N.bind(n,n):Et(N.get)?N.get.bind(n,n):Qo,F=!Et(N)&&Et(N.set)?N.set.bind(n):Qo,H=L({get:B,set:F});Object.defineProperty(r,k,{enumerable:!0,configurable:!0,get:()=>H.value,set:V=>H.value=V})}if(l)for(const k in l)$G(l[k],r,n,k);if(s){const k=Et(s)?s.call(n):s;Reflect.ownKeys(k).forEach(N=>{at(N,k[N])})}c&&HL(c,e,"c");function E(k,N){Ct(N)?N.forEach(B=>k(B.bind(n))):N&&k(N.bind(n))}if(E(Vx,d),E(tt,f),E(Wx,h),E(Qr,v),E(zx,p),E(bG,g),E(Dse,T),E(Ose,$),E(Ase,C),E(ht,y),E(Jr,S),E(Mse,I),Ct(P))if(P.length){const k=e.exposed||(e.exposed={});P.forEach(N=>{Object.defineProperty(k,N,{get:()=>n[N],set:B=>n[N]=B,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===Qo&&(e.render=x),M!=null&&(e.inheritAttrs=M),O&&(e.components=O),D&&(e.directives=D),I&&rO(e)}function zse(e,t,n=Qo){Ct(e)&&(e=vI(e));for(const r in e){const i=e[r];let o;an(i)?"default"in i?o=Je(i.from||r,i.default,!0):o=Je(i.from||r):o=Je(i),Kn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function HL(e,t,n){ia(Ct(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $G(e,t,n,r){let i=r.includes(".")?cG(n,r):()=>n[r];if(Fn(e)){const o=t[e];Et(o)&&Se(i,o)}else if(Et(e))Se(i,e.bind(n));else if(an(e))if(Ct(e))e.forEach(o=>$G(o,t,n,r));else{const o=Et(e.handler)?e.handler.bind(n):t[e.handler];Et(o)&&Se(i,o,e)}}function iO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let s;return l?s=l:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(u=>E1(s,u,a,!0)),E1(s,t,a)),an(t)&&o.set(t,s),s}function E1(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&E1(e,o,n,!0),i&&i.forEach(a=>E1(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const l=Hse[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Hse={data:VL,props:WL,emits:WL,methods:pp,computed:pp,beforeCreate:ti,created:ti,beforeMount:ti,mounted:ti,beforeUpdate:ti,updated:ti,beforeDestroy:ti,beforeUnmount:ti,destroyed:ti,unmounted:ti,activated:ti,deactivated:ti,errorCaptured:ti,serverPrefetch:ti,components:pp,directives:pp,watch:Wse,provide:VL,inject:Vse};function VL(e,t){return t?e?function(){return Bn(Et(e)?e.call(this,this):e,Et(t)?t.call(this,this):t)}:t:e}function Vse(e,t){return pp(vI(e),vI(t))}function vI(e){if(Ct(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${di(t)}Modifiers`]||e[`${_u(t)}Modifiers`];function Use(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||mn;let i=n;const o=t.startsWith("update:"),a=o&&Kse(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Fn(c)?c.trim():c)),a.number&&(i=n.map(Nx)));let l,s=r[l=n$(t)]||r[l=n$(di(t))];!s&&o&&(s=r[l=n$(_u(t))]),s&&ia(s,e,6,i);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ia(u,e,6,i)}}const Xse=new WeakMap;function TG(e,t,n=!1){const r=n?Xse:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},l=!1;if(!Et(e)){const s=u=>{const c=TG(u,t,!0);c&&(l=!0,Bn(a,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!o&&!l?(an(e)&&r.set(e,null),null):(Ct(o)?o.forEach(s=>a[s]=null):Bn(a,o),an(e)&&r.set(e,a),a)}function jx(e,t){return!e||!Ox(t)?!1:(t=t.slice(2).replace(/Once$/,""),un(e,t[0].toLowerCase()+t.slice(1))||un(e,_u(t))||un(e,t))}function u$(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:l,emit:s,render:u,renderCache:c,props:d,data:f,setupState:h,ctx:v,inheritAttrs:p}=e,g=O1(e);let m,y;try{if(n.shapeFlag&4){const S=i||r,x=S;m=La(u.call(x,S,c,d,h,f,v)),y=l}else{const S=t;m=La(S.length>1?S(d,{attrs:l,slots:a,emit:s}):S(d,null)),y=t.props?l:Yse(l)}}catch(S){Fp.length=0,Dm(S,e,1),m=w(yr)}let b=m;if(y&&p!==!1){const S=Object.keys(y),{shapeFlag:x}=b;S.length&&x&7&&(o&&S.some(Dx)&&(y=qse(y,o)),b=cr(b,y,!1,!0))}return n.dirs&&(b=cr(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&dd(b,n.transition),m=b,O1(g),m}const Yse=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ox(n))&&((t||(t={}))[n]=e[n]);return t},qse=(e,t)=>{const n={};for(const r in e)(!Dx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zse(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:l,patchFlag:s}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?jL(r,a,u):!!a;if(s&8){const c=t.dynamicProps;for(let d=0;dObject.create(PG),AG=e=>Object.getPrototypeOf(e)===PG;function Jse(e,t,n,r=!1){const i={},o=MG();e.propsDefaults=Object.create(null),OG(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:Jj(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function eue(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,l=mt(i),[s]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{s=!0;const[f,h]=DG(d,t,!0);Bn(a,f),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!s)return an(e)&&r.set(e,Qf),Qf;if(Ct(o))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",aO=e=>Ct(e)?e.map(La):[La(e)],nue=(e,t,n)=>{if(t._n)return t;const r=uG((...i)=>aO(t(...i)),n);return r._c=!1,r},EG=(e,t,n)=>{const r=e._ctx;for(const i in e){if(oO(i))continue;const o=e[i];if(Et(o))t[i]=nue(i,o,r);else if(o!=null){const a=aO(o);t[i]=()=>a}}},RG=(e,t)=>{const n=aO(t);e.slots.default=()=>n},LG=(e,t,n)=>{for(const r in t)(n||!oO(r))&&(e[r]=t[r])},rue=(e,t,n)=>{const r=e.slots=MG();if(e.vnode.shapeFlag&32){const i=t._;i?(LG(r,t,n),n&&Rj(r,"_",i,!0)):EG(t,r)}else t&&RG(e,t)},iue=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=mn;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:LG(i,t,n):(o=!t.$stable,EG(t,i)),a=t}else t&&(RG(e,t),a={default:1});if(o)for(const l in i)!oO(l)&&a[l]==null&&delete i[l]},Br=uue;function oue(e){return aue(e)}function aue(e,t){const n=kx();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:l,createComment:s,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Qo,insertStaticContent:v}=e,p=(W,Z,ne,re=null,le=null,ie=null,de=void 0,pe=null,me=!!Z.dynamicChildren)=>{if(W===Z)return;W&&!$c(W,Z)&&(re=q(W),V(W,le,ie,!0),W=null),Z.patchFlag===-2&&(me=!1,Z.dynamicChildren=null);const{type:he,ref:xe,shapeFlag:Ce}=Z;switch(he){case Tu:g(W,Z,ne,re);break;case yr:m(W,Z,ne,re);break;case yb:W==null&&y(Z,ne,re,de);break;case Qe:O(W,Z,ne,re,le,ie,de,pe,me);break;default:Ce&1?x(W,Z,ne,re,le,ie,de,pe,me):Ce&6?D(W,Z,ne,re,le,ie,de,pe,me):(Ce&64||Ce&128)&&he.process(W,Z,ne,re,le,ie,de,pe,me,G)}xe!=null&&le?kp(xe,W&&W.ref,ie,Z||W,!Z):xe==null&&W&&W.ref!=null&&kp(W.ref,null,ie,W,!0)},g=(W,Z,ne,re)=>{if(W==null)r(Z.el=l(Z.children),ne,re);else{const le=Z.el=W.el;Z.children!==W.children&&u(le,Z.children)}},m=(W,Z,ne,re)=>{W==null?r(Z.el=s(Z.children||""),ne,re):Z.el=W.el},y=(W,Z,ne,re)=>{[W.el,W.anchor]=v(W.children,Z,ne,re,W.el,W.anchor)},b=({el:W,anchor:Z},ne,re)=>{let le;for(;W&&W!==Z;)le=f(W),r(W,ne,re),W=le;r(Z,ne,re)},S=({el:W,anchor:Z})=>{let ne;for(;W&&W!==Z;)ne=f(W),i(W),W=ne;i(Z)},x=(W,Z,ne,re,le,ie,de,pe,me)=>{if(Z.type==="svg"?de="svg":Z.type==="math"&&(de="mathml"),W==null)$(Z,ne,re,le,ie,de,pe,me);else{const he=W.el&&W.el._isVueCE?W.el:null;try{he&&he._beginPatch(),I(W,Z,le,ie,de,pe,me)}finally{he&&he._endPatch()}}},$=(W,Z,ne,re,le,ie,de,pe)=>{let me,he;const{props:xe,shapeFlag:Ce,transition:ve,dirs:fe}=W;if(me=W.el=a(W.type,ie,xe&&xe.is,xe),Ce&8?c(me,W.children):Ce&16&&T(W.children,me,null,re,le,c$(W,ie),de,pe),fe&&Nu(W,null,re,"created"),C(me,W,W.scopeId,de,re),xe){for(const Me in xe)Me!=="value"&&!Ep(Me)&&o(me,Me,null,xe[Me],ie,re);"value"in xe&&o(me,"value",null,xe.value,ie),(he=xe.onVnodeBeforeMount)&&ma(he,re,W)}fe&&Nu(W,null,re,"beforeMount");const ye=lue(le,ve);ye&&ve.beforeEnter(me),r(me,Z,ne),((he=xe&&xe.onVnodeMounted)||ye||fe)&&Br(()=>{try{he&&ma(he,re,W),ye&&ve.enter(me),fe&&Nu(W,null,re,"mounted")}finally{}},le)},C=(W,Z,ne,re,le)=>{if(ne&&h(W,ne),re)for(let ie=0;ie{for(let he=me;he{const pe=Z.el=W.el;let{patchFlag:me,dynamicChildren:he,dirs:xe}=Z;me|=W.patchFlag&16;const Ce=W.props||mn,ve=Z.props||mn;let fe;if(ne&&ku(ne,!1),(fe=ve.onVnodeBeforeUpdate)&&ma(fe,ne,Z,W),xe&&Nu(Z,W,ne,"beforeUpdate"),ne&&ku(ne,!0),(Ce.innerHTML&&ve.innerHTML==null||Ce.textContent&&ve.textContent==null)&&c(pe,""),he?P(W.dynamicChildren,he,pe,ne,re,c$(Z,le),ie):de||N(W,Z,pe,null,ne,re,c$(Z,le),ie,!1),me>0){if(me&16)M(pe,Ce,ve,ne,le);else if(me&2&&Ce.class!==ve.class&&o(pe,"class",null,ve.class,le),me&4&&o(pe,"style",Ce.style,ve.style,le),me&8){const ye=Z.dynamicProps;for(let Me=0;Me{fe&&ma(fe,ne,Z,W),xe&&Nu(Z,W,ne,"updated")},re)},P=(W,Z,ne,re,le,ie,de)=>{for(let pe=0;pe{if(Z!==ne){if(Z!==mn)for(const ie in Z)!Ep(ie)&&!(ie in ne)&&o(W,ie,Z[ie],null,le,re);for(const ie in ne){if(Ep(ie))continue;const de=ne[ie],pe=Z[ie];de!==pe&&ie!=="value"&&o(W,ie,pe,de,le,re)}"value"in ne&&o(W,"value",Z.value,ne.value,le)}},O=(W,Z,ne,re,le,ie,de,pe,me)=>{const he=Z.el=W?W.el:l(""),xe=Z.anchor=W?W.anchor:l("");let{patchFlag:Ce,dynamicChildren:ve,slotScopeIds:fe}=Z;fe&&(pe=pe?pe.concat(fe):fe),W==null?(r(he,ne,re),r(xe,ne,re),T(Z.children||[],ne,xe,le,ie,de,pe,me)):Ce>0&&Ce&64&&ve&&W.dynamicChildren&&W.dynamicChildren.length===ve.length?(P(W.dynamicChildren,ve,ne,le,ie,de,pe),(Z.key!=null||le&&Z===le.subTree)&&lO(W,Z,!0)):N(W,Z,ne,xe,le,ie,de,pe,me)},D=(W,Z,ne,re,le,ie,de,pe,me)=>{Z.slotScopeIds=pe,W==null?Z.shapeFlag&512?le.ctx.activate(Z,ne,re,de,me):R(Z,ne,re,le,ie,de,me):A(W,Z,me)},R=(W,Z,ne,re,le,ie,de)=>{const pe=W.component=gue(W,re,le);if(Em(W)&&(pe.ctx.renderer=G),mue(pe,!1,de),pe.asyncDep){if(le&&le.registerDep(pe,E,de),!W.el){const me=pe.subTree=w(yr);m(null,me,Z,ne),W.placeholder=me.el}}else E(pe,W,Z,ne,le,ie,de)},A=(W,Z,ne)=>{const re=Z.component=W.component;if(Zse(W,Z,ne))if(re.asyncDep&&!re.asyncResolved){k(re,Z,ne);return}else re.next=Z,re.update();else Z.el=W.el,re.vnode=Z},E=(W,Z,ne,re,le,ie,de)=>{const pe=()=>{if(W.isMounted){let{next:Ce,bu:ve,u:fe,parent:ye,vnode:Me}=W;{const Ie=NG(W);if(Ie){Ce&&(Ce.el=Me.el,k(W,Ce,de)),Ie.asyncDep.then(()=>{Br(()=>{W.isUnmounted||he()},le)});return}}let De=Ce,Be;ku(W,!1),Ce?(Ce.el=Me.el,k(W,Ce,de)):Ce=Me,ve&&gb(ve),(Be=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&ma(Be,ye,Ce,Me),ku(W,!0);const we=u$(W),_e=W.subTree;W.subTree=we,p(_e,we,d(_e.el),q(_e),W,le,ie),Ce.el=we.el,De===null&&Qse(W,we.el),fe&&Br(fe,le),(Be=Ce.props&&Ce.props.onVnodeUpdated)&&Br(()=>ma(Be,ye,Ce,Me),le)}else{let Ce;const{el:ve,props:fe}=Z,{bm:ye,m:Me,parent:De,root:Be,type:we}=W,_e=th(Z);if(ku(W,!1),ye&&gb(ye),!_e&&(Ce=fe&&fe.onVnodeBeforeMount)&&ma(Ce,De,Z),ku(W,!0),ve&&oe){const Ie=()=>{W.subTree=u$(W),oe(ve,W.subTree,W,le,null)};_e&&we.__asyncHydrate?we.__asyncHydrate(ve,W,Ie):Ie()}else{Be.ce&&Be.ce._hasShadowRoot()&&Be.ce._injectChildStyle(we,W.parent?W.parent.type:void 0);const Ie=W.subTree=u$(W);p(null,Ie,ne,re,W,le,ie),Z.el=Ie.el}if(Me&&Br(Me,le),!_e&&(Ce=fe&&fe.onVnodeMounted)){const Ie=Z;Br(()=>ma(Ce,De,Ie),le)}(Z.shapeFlag&256||De&&th(De.vnode)&&De.vnode.shapeFlag&256)&&W.a&&Br(W.a,le),W.isMounted=!0,Z=ne=re=null}};W.scope.on();const me=W.effect=new Fj(pe);W.scope.off();const he=W.update=me.run.bind(me),xe=W.job=me.runIfDirty.bind(me);xe.i=W,xe.id=W.uid,me.scheduler=()=>JA(xe),ku(W,!0),he()},k=(W,Z,ne)=>{Z.component=W;const re=W.vnode.props;W.vnode=Z,W.next=null,eue(W,Z.props,re,ne),iue(W,Z.children,ne),zl(),OL(W),Hl()},N=(W,Z,ne,re,le,ie,de,pe,me=!1)=>{const he=W&&W.children,xe=W?W.shapeFlag:0,Ce=Z.children,{patchFlag:ve,shapeFlag:fe}=Z;if(ve>0){if(ve&128){F(he,Ce,ne,re,le,ie,de,pe,me);return}else if(ve&256){B(he,Ce,ne,re,le,ie,de,pe,me);return}}fe&8?(xe&16&&te(he,le,ie),Ce!==he&&c(ne,Ce)):xe&16?fe&16?F(he,Ce,ne,re,le,ie,de,pe,me):te(he,le,ie,!0):(xe&8&&c(ne,""),fe&16&&T(Ce,ne,re,le,ie,de,pe,me))},B=(W,Z,ne,re,le,ie,de,pe,me)=>{W=W||Qf,Z=Z||Qf;const he=W.length,xe=Z.length,Ce=Math.min(he,xe);let ve;for(ve=0;vexe?te(W,le,ie,!0,!1,Ce):T(Z,ne,re,le,ie,de,pe,me,Ce)},F=(W,Z,ne,re,le,ie,de,pe,me)=>{let he=0;const xe=Z.length;let Ce=W.length-1,ve=xe-1;for(;he<=Ce&&he<=ve;){const fe=W[he],ye=Z[he]=me?Cl(Z[he]):La(Z[he]);if($c(fe,ye))p(fe,ye,ne,null,le,ie,de,pe,me);else break;he++}for(;he<=Ce&&he<=ve;){const fe=W[Ce],ye=Z[ve]=me?Cl(Z[ve]):La(Z[ve]);if($c(fe,ye))p(fe,ye,ne,null,le,ie,de,pe,me);else break;Ce--,ve--}if(he>Ce){if(he<=ve){const fe=ve+1,ye=feve)for(;he<=Ce;)V(W[he],le,ie,!0),he++;else{const fe=he,ye=he,Me=new Map;for(he=ye;he<=ve;he++){const ke=Z[he]=me?Cl(Z[he]):La(Z[he]);ke.key!=null&&Me.set(ke.key,he)}let De,Be=0;const we=ve-ye+1;let _e=!1,Ie=0;const Le=new Array(we);for(he=0;he=we){V(ke,le,ie,!0);continue}let We;if(ke.key!=null)We=Me.get(ke.key);else for(De=ye;De<=ve;De++)if(Le[De-ye]===0&&$c(ke,Z[De])){We=De;break}We===void 0?V(ke,le,ie,!0):(Le[We-ye]=he+1,We>=Ie?Ie=We:_e=!0,p(ke,Z[We],ne,null,le,ie,de,pe,me),Be++)}const Ke=_e?sue(Le):Qf;for(De=Ke.length-1,he=we-1;he>=0;he--){const ke=ye+he,We=Z[ke],gt=Z[ke+1],Dt=ke+1{const{el:ie,type:de,transition:pe,children:me,shapeFlag:he}=W;if(he&6){H(W.component.subTree,Z,ne,re);return}if(he&128){W.suspense.move(Z,ne,re);return}if(he&64){de.move(W,Z,ne,G);return}if(de===Qe){r(ie,Z,ne);for(let Ce=0;Cepe.enter(ie),le);else{const{leave:Ce,delayLeave:ve,afterLeave:fe}=pe,ye=()=>{W.ctx.isUnmounted?i(ie):r(ie,Z,ne)},Me=()=>{ie._isLeaving&&ie[Aa](!0),Ce(ie,()=>{ye(),fe&&fe()})};ve?ve(ie,ye,Me):Me()}else r(ie,Z,ne)},V=(W,Z,ne,re=!1,le=!1)=>{const{type:ie,props:de,ref:pe,children:me,dynamicChildren:he,shapeFlag:xe,patchFlag:Ce,dirs:ve,cacheIndex:fe,memo:ye}=W;if(Ce===-2&&(le=!1),pe!=null&&(zl(),kp(pe,null,ne,W,!0),Hl()),fe!=null&&(Z.renderCache[fe]=void 0),xe&256){Z.ctx.deactivate(W);return}const Me=xe&1&&ve,De=!th(W);let Be;if(De&&(Be=de&&de.onVnodeBeforeUnmount)&&ma(Be,Z,W),xe&6)K(W.component,ne,re);else{if(xe&128){W.suspense.unmount(ne,re);return}Me&&Nu(W,null,Z,"beforeUnmount"),xe&64?W.type.remove(W,Z,ne,G,re):he&&!he.hasOnce&&(ie!==Qe||Ce>0&&Ce&64)?te(he,Z,ne,!1,!0):(ie===Qe&&Ce&384||!le&&xe&16)&&te(me,Z,ne),re&&X(W)}const we=ye!=null&&fe==null;(De&&(Be=de&&de.onVnodeUnmounted)||Me||we)&&Br(()=>{Be&&ma(Be,Z,W),Me&&Nu(W,null,Z,"unmounted"),we&&(W.el=null)},ne)},X=W=>{const{type:Z,el:ne,anchor:re,transition:le}=W;if(Z===Qe){Q(ne,re);return}if(Z===yb){S(W);return}const ie=()=>{i(ne),le&&!le.persisted&&le.afterLeave&&le.afterLeave()};if(W.shapeFlag&1&&le&&!le.persisted){const{leave:de,delayLeave:pe}=le,me=()=>de(ne,ie);pe?pe(W.el,ie,me):me()}else ie()},Q=(W,Z)=>{let ne;for(;W!==Z;)ne=f(W),i(W),W=ne;i(Z)},K=(W,Z,ne)=>{const{bum:re,scope:le,job:ie,subTree:de,um:pe,m:me,a:he}=W;KL(me),KL(he),re&&gb(re),le.stop(),ie&&(ie.flags|=8,V(de,W,Z,ne)),pe&&Br(pe,Z),Br(()=>{W.isUnmounted=!0},Z)},te=(W,Z,ne,re=!1,le=!1,ie=0)=>{for(let de=ie;de{if(W.shapeFlag&6)return q(W.component.subTree);if(W.shapeFlag&128)return W.suspense.next();const Z=f(W.anchor||W.el),ne=Z&&Z[dG];return ne?f(ne):Z};let ee=!1;const J=(W,Z,ne)=>{let re;W==null?Z._vnode&&(V(Z._vnode,null,null,!0),re=Z._vnode.component):p(Z._vnode||null,W,Z,null,null,null,ne),Z._vnode=W,ee||(ee=!0,OL(re),aG(),ee=!1)},G={p,um:V,m:H,r:X,mt:R,mc:T,pc:N,pbc:P,n:q,o:e};let Y,oe;return t&&([Y,oe]=t(G)),{render:J,hydrate:Y,createApp:Gse(J,Y)}}function c$({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ku({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lue(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lO(e,t,n=!1){const r=e.children,i=t.children;if(Ct(r)&&Ct(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function NG(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:NG(t)}function KL(e){if(e)for(let t=0;te.__isSuspense;function uue(e,t){t&&t.pendingBranch?Ct(e)?t.effects.push(...e):t.effects.push(e):bse(e)}const Qe=Symbol.for("v-fgt"),Tu=Symbol.for("v-txt"),yr=Symbol.for("v-cmt"),yb=Symbol.for("v-stc"),Fp=[];let Gi=null;function R1(e=!1){Fp.push(Gi=e?null:[])}function cue(){Fp.pop(),Gi=Fp[Fp.length-1]||null}let Ag=1;function L1(e,t=!1){Ag+=e,e<0&&Gi&&t&&(Gi.hasOnce=!0)}function FG(e){return e.dynamicChildren=Ag>0?Gi||Qf:null,cue(),Ag>0&&Gi&&Gi.push(e),e}function $ht(e,t,n,r,i,o){return FG(HG(e,t,n,r,i,o,!0))}function N1(e,t,n,r,i){return FG(w(e,t,n,r,i,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function $c(e,t){return e.type===t.type&&e.key===t.key}const zG=({key:e})=>e!=null?e:null,bb=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fn(e)||Kn(e)||Et(e)?{i:_r,r:e,k:t,f:!!n}:e:null);function HG(e,t=null,n=null,r=0,i=null,o=e===Qe?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zG(t),ref:t&&bb(t),scopeId:sG,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_r};return l?(sO(s,n),o&128&&e.normalize(s)):n&&(s.shapeFlag|=Fn(n)?8:16),Ag>0&&!a&&Gi&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&Gi.push(s),s}const w=due;function due(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Rse)&&(e=yr),Nn(e)){const l=cr(e,t,!0);return n&&sO(l,n),Ag>0&&!o&&Gi&&(l.shapeFlag&6?Gi[Gi.indexOf(e)]=l:Gi.push(l)),l.patchFlag=-2,l}if(xue(e)&&(e=e.__vccOpts),t){t=fue(t);let{class:l,style:s}=t;l&&!Fn(l)&&(t.class=GA(l)),an(s)&&(Fx(s)&&!Ct(s)&&(s=Bn({},s)),t.style=jA(s))}const a=Fn(e)?1:BG(e)?128:fG(e)?64:an(e)?4:Et(e)?2:0;return HG(e,t,n,r,i,a,o,!0)}function fue(e){return e?Fx(e)||AG(e)?Bn({},e):e:null}function cr(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:l,transition:s}=e,u=t?hue(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&zG(u),ref:t&&t.ref?n&&o?Ct(o)?o.concat(bb(t)):[o,bb(t)]:bb(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cr(e.ssContent),ssFallback:e.ssFallback&&cr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&dd(c,s.clone(c)),c}function Gr(e=" ",t=0){return w(Tu,null,e,t)}function _ht(e,t){const n=w(yb,null,e);return n.staticCount=t,n}function Tht(e="",t=!1){return t?(R1(),N1(yr,null,e)):w(yr,null,e)}function La(e){return e==null||typeof e=="boolean"?w(yr):Ct(e)?w(Qe,null,e.slice()):Nn(e)?Cl(e):w(Tu,null,String(e))}function Cl(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cr(e)}function sO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ct(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),sO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!AG(t)?t._ctx=_r:i===3&&_r&&(_r.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Et(t)?(t={default:t,_ctx:_r},n=32):(t=String(t),r&64?(n=16,t=[Gr(t)]):n=8);e.children=t,e.shapeFlag|=n}function hue(...e){const t={};for(let n=0;n$r||_r;let k1,gI;{const e=kx(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};k1=t("__VUE_INSTANCE_SETTERS__",n=>$r=n),gI=t("__VUE_SSR_SETTERS__",n=>wh=n)}const Rm=e=>{const t=$r;return k1(e),e.scope.on(),()=>{e.scope.off(),k1(t)}},UL=()=>{$r&&$r.scope.off(),k1(null)};function VG(e){return e.vnode.shapeFlag&4}let wh=!1;function mue(e,t=!1,n=!1){t&&gI(t);const{props:r,children:i}=e.vnode,o=VG(e);Jse(e,r,o,t),rue(e,i,n||t);const a=o?yue(e,t):void 0;return t&&gI(!1),a}function yue(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nse);const{setup:r}=n;if(r){zl();const i=e.setupContext=r.length>1?jG(e):null,o=Rm(e),a=Om(r,e,0,[e.props,i]),l=Oj(a);if(Hl(),o(),(l||e.sp)&&!th(e)&&rO(e),l){if(a.then(UL,UL),t)return a.then(s=>{XL(e,s,t)}).catch(s=>{Dm(s,e,0)});e.asyncDep=a}else XL(e,a,t)}else WG(e,t)}function XL(e,t,n){Et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:an(t)&&(e.setupState=nG(t)),WG(e,n)}let YL;function WG(e,t,n){const r=e.type;if(!e.render){if(!t&&YL&&!r.render){const i=r.template||iO(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=Bn(Bn({isCustomElement:o,delimiters:l},a),s);r.render=YL(i,u)}}e.render=r.render||Qo}{const i=Rm(e);zl();try{Fse(e)}finally{Hl(),i()}}}const bue={get(e,t){return Vr(e,"get",""),e[t]}};function jG(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bue),slots:e.slots,emit:e.emit,expose:t}}function Gx(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(nG(sse(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bp)return Bp[n](e)},has(t,n){return n in t||n in Bp}})):e.proxy}function Sue(e,t=!0){return Et(e)?e.displayName||e.name:e.name||t&&e.__name}function xue(e){return Et(e)&&"__vccOpts"in e}const L=(e,t)=>vse(e,t,wh);function Wl(e,t,n){try{L1(-1);const r=arguments.length;return r===2?an(t)&&!Ct(t)?Nn(t)?w(e,null,[t]):w(e,t):w(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),w(e,t,n))}finally{L1(1)}}const wue="3.5.31";/** +**/function Dm(e,t,n,r){try{return r?e(...r):e()}catch(i){Em(i,t,n)}}function oa(e,t,n,r){if(Et(e)){const i=Dm(e,t,n,r);return i&&Oj(i)&&i.catch(o=>{Em(o,t,n)}),i}if(Ct(e)){const i=[];for(let o=0;o>>1,i=li[r],o=Mg(i);o=Mg(n)?li.push(e):li.splice(yse(t),0,e),e.flags|=1,oG()}}function oG(){A1||(A1=iG.then(lG))}function bse(e){Ct(e)?th.push(...e):Ls&&e.id===-1?Ls.splice(Af+1,0,e):e.flags&1||(th.push(e),e.flags|=1),oG()}function OL(e,t,n=Ma+1){for(;nMg(n)-Mg(r));if(th.length=0,Ls){Ls.push(...t);return}for(Ls=t,Af=0;Afe.id==null?e.flags&2?-1:1/0:e.id;function lG(e){const t=Jo;try{for(Ma=0;Ma{r._d&&L1(-1);const o=O1(t);let a;try{a=e(...i)}finally{O1(o),r._d&&L1(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ur(e,t){if(_r===null)return e;const n=Gx(_r),r=e.dirs||(e.dirs=[]);for(let i=0;i1)return n&&Et(t)?t.call(r&&r.proxy):t}}const Sse=Symbol.for("v-scx"),xse=()=>Je(Sse);function Ye(e,t){return eO(e,null,t)}function Se(e,t,n){return eO(e,t,n)}function eO(e,t,n=mn){const{immediate:r,deep:i,flush:o,once:a}=n,l=Bn({},n),s=t&&r||!t&&o!=="post";let u;if(Ch){if(o==="sync"){const h=xse();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!s){const h=()=>{};return h.stop=Jo,h.resume=Jo,h.pause=Jo,h}}const c=$r;l.call=(h,v,p)=>oa(h,c,v,p);let d=!1;o==="post"?l.scheduler=h=>{Br(h,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(h,v)=>{v?h():JA(h)}),l.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const f=gse(e,t,l);return Ch&&(u?u.push(f):s&&f()),f}function wse(e,t,n){const r=this.proxy,i=Fn(e)?e.includes(".")?cG(r,e):()=>r[e]:e.bind(r,r);let o;Et(t)?o=t:(o=t.handler,n=t);const a=Lm(this),l=eO(i,o.bind(r),n);return a(),l}function cG(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;ie.__isTeleport,kp=e=>e&&(e.disabled||e.disabled===""),Cse=e=>e&&(e.defer||e.defer===""),DL=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,EL=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,cI=(e,t)=>{const n=e&&e.to;return Fn(n)?t?t(n):null:n},hG={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,l,s,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:v,createText:p,createComment:g}}=u,m=kp(t.props);let{shapeFlag:y,children:b,dynamicChildren:S}=t;if(e==null){const x=t.el=p(""),$=t.anchor=p("");h(x,n,r),h($,n,r);const C=(I,P)=>{y&16&&c(b,I,P,i,o,a,l,s)},T=()=>{const I=t.target=cI(t.props,v),P=dI(I,t,p,h);I&&(a!=="svg"&&DL(I)?a="svg":a!=="mathml"&&EL(I)&&(a="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(I),m||(C(I,P),mb(t,!1)))};m&&(C(n,$),mb(t,!0)),Cse(t.props)||o&&o.pendingBranch?(t.el.__isMounted=!1,Br(()=>{t.el.__isMounted===!1&&(T(),delete t.el.__isMounted)},o)):T()}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,$=t.target=e.target,C=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){Br(()=>{hG.process(e,t,n,r,i,o,a,l,s,u)},o);return}const T=kp(e.props),I=T?n:$,P=T?x:C;if(a==="svg"||DL($)?a="svg":(a==="mathml"||EL($))&&(a="mathml"),S?(f(e.dynamicChildren,S,I,i,o,a,l),lO(e,t,!0)):s||d(e,t,I,P,i,o,a,l,!1),m)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):My(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=cI(t.props,v);M&&My(t,M,null,u,0)}else T&&My(t,$,C,u,1);mb(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:s,targetStart:u,targetAnchor:c,target:d,props:f}=e;if(d&&(i(u),i(c)),o&&i(s),a&16){const h=o||!kp(f);for(let v=0;v{e.isMounted=!0}),ht(()=>{e.isUnmounting=!0}),e}const ao=[Function,Array],pG={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ao,onEnter:ao,onAfterEnter:ao,onEnterCancelled:ao,onBeforeLeave:ao,onLeave:ao,onAfterLeave:ao,onLeaveCancelled:ao,onBeforeAppear:ao,onAppear:ao,onAfterAppear:ao,onAppearCancelled:ao},gG=e=>{const t=e.subTree;return t.component?gG(t.component):t},_se={name:"BaseTransition",props:pG,setup(e,{slots:t}){const n=gr(),r=vG();return()=>{const i=t.default&&nO(t.default(),!0);if(!i||!i.length)return;const o=mG(i),a=mt(e),{mode:l}=a;if(r.isLeaving)return l$(o);const s=RL(o);if(!s)return l$(o);let u=Ag(s,a,r,n,d=>u=d);s.type!==yr&&dd(s,u);let c=n.subTree&&RL(n.subTree);if(c&&c.type!==yr&&!$c(c,s)&&gG(n).type!==yr){let d=Ag(c,a,r,n);if(dd(c,d),l==="out-in"&&s.type!==yr)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},l$(o);l==="in-out"&&s.type!==yr?d.delayLeave=(f,h,v)=>{const p=yG(r,c);p[String(c.key)]=c,f[Oa]=()=>{h(),f[Oa]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function mG(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==yr){t=n;break}}return t}const Tse=_se;function yG(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ag(e,t,n,r,i){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:b}=t,S=String(e.key),x=yG(n,e),$=(I,P)=>{I&&oa(I,r,9,P)},C=(I,P)=>{const M=P[1];$(I,P),Ct(I)?I.every(O=>O.length<=1)&&M():I.length<=1&&M()},T={mode:a,persisted:l,beforeEnter(I){let P=s;if(!n.isMounted)if(o)P=g||s;else return;I[Oa]&&I[Oa](!0);const M=x[S];M&&$c(e,M)&&M.el[Oa]&&M.el[Oa](),$(P,[I])},enter(I){if(x[S]===e)return;let P=u,M=c,O=d;if(!n.isMounted)if(o)P=m||u,M=y||c,O=b||d;else return;let D=!1;I[Av]=A=>{D||(D=!0,A?$(O,[I]):$(M,[I]),T.delayedLeave&&T.delayedLeave(),I[Av]=void 0)};const R=I[Av].bind(null,!1);P?C(P,[I,R]):R()},leave(I,P){const M=String(e.key);if(I[Av]&&I[Av](!0),n.isUnmounting)return P();$(f,[I]);let O=!1;I[Oa]=R=>{O||(O=!0,P(),R?$(p,[I]):$(v,[I]),I[Oa]=void 0,x[M]===e&&delete x[M])};const D=I[Oa].bind(null,!1);x[M]=e,h?C(h,[I,D]):D()},clone(I){const P=Ag(I,t,n,r,i);return i&&i(P),P}};return T}function l$(e){if(Rm(e))return e=cr(e),e.children=null,e}function RL(e){if(!Rm(e))return fG(e.type)&&e.children?mG(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Et(n.default))return n.default()}}function dd(e,t){e.shapeFlag&6&&e.component?(e.transition=t,dd(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nO(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oBn({name:e.name},t,{setup:e}))():e}function rO(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function LL(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const D1=new WeakMap;function Bp(e,t,n,r,i=!1){if(Ct(e)){e.forEach((p,g)=>Bp(p,t&&(Ct(t)?t[g]:t),n,r,i));return}if(nh(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Bp(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Gx(r.component):r.el,a=i?null:o,{i:l,r:s}=e,u=t&&t.r,c=l.refs===mn?l.refs={}:l.refs,d=l.setupState,f=mt(d),h=d===mn?Aj:p=>LL(c,p)?!1:un(f,p),v=(p,g)=>!(g&&LL(c,g));if(u!=null&&u!==s){if(NL(t),Fn(u))c[u]=null,h(u)&&(d[u]=null);else if(Kn(u)){const p=t;v(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(Et(s))Dm(s,l,12,[a,c]);else{const p=Fn(s),g=Kn(s);if(p||g){const m=()=>{if(e.f){const y=p?h(s)?d[s]:c[s]:v()||!e.k?s.value:c[e.k];if(i)Ct(y)&&WA(y,o);else if(Ct(y))y.includes(o)||y.push(o);else if(p)c[s]=[o],h(s)&&(d[s]=c[s]);else{const b=[o];v(s,e.k)&&(s.value=b),e.k&&(c[e.k]=b)}}else p?(c[s]=a,h(s)&&(d[s]=a)):g&&(v(s,e.k)&&(s.value=a),e.k&&(c[e.k]=a))};if(a){const y=()=>{m(),D1.delete(e)};y.id=-1,D1.set(e,y),Br(y,n)}else NL(e),m()}}}function NL(e){const t=D1.get(e);t&&(t.flags|=8,D1.delete(e))}const kL=e=>e.nodeType===8;kx().requestIdleCallback;kx().cancelIdleCallback;function Ise(e,t){if(kL(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(kL(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const nh=e=>!!e.type.__asyncLoader;function wht(e){Et(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:a,suspensible:l=!0,onError:s}=e;let u=null,c,d=0;const f=()=>(d++,u=null,h()),h=()=>{let v;return u||(v=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((g,m)=>{s(p,()=>g(f()),()=>m(p),d+1)});throw p}).then(p=>v!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return se({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(v,p,g){let m=!1;(p.bu||(p.bu=[])).push(()=>m=!0);const y=()=>{m||g()},b=o?()=>{const S=o(y,x=>Ise(v,x));S&&(p.bum||(p.bum=[])).push(S)}:y;c?b():h().then(()=>!p.isUnmounted&&b())},get __asyncResolved(){return c},setup(){const v=$r;if(rO(v),c)return()=>Ay(c,v);const p=b=>{u=null,Em(b,v,13,!r)};if(l&&v.suspense||Ch)return h().then(b=>()=>Ay(b,v)).catch(b=>(p(b),()=>r?w(r,{error:b}):null));const g=ue(!1),m=ue(),y=ue(!!i);return i&&setTimeout(()=>{y.value=!1},i),a!=null&&setTimeout(()=>{if(!g.value&&!m.value){const b=new Error(`Async component timed out after ${a}ms.`);p(b),m.value=b}},a),h().then(()=>{g.value=!0,v.parent&&Rm(v.parent.vnode)&&v.parent.update()}).catch(b=>{p(b),m.value=b}),()=>{if(g.value&&c)return Ay(c,v);if(m.value&&r)return w(r,{error:m.value});if(n&&!y.value)return Ay(n,v)}}})}function Ay(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=w(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Rm=e=>e.type.__isKeepAlive;function zx(e,t){SG(e,"a",t)}function bG(e,t){SG(e,"da",t)}function SG(e,t,n=$r){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Hx(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Rm(i.parent.vnode)&&Pse(r,t,n,i),i=i.parent}}function Pse(e,t,n,r){const i=Hx(t,e,r,!0);Jr(()=>{WA(r[t],i)},n)}function Hx(e,t,n=$r,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Hl();const l=Lm(n),s=oa(t,n,e,a);return l(),Vl(),s});return r?i.unshift(o):i.push(o),o}}const ns=e=>(t,n=$r)=>{(!Ch||e==="sp")&&Hx(e,(...r)=>t(...r),n)},Vx=ns("bm"),tt=ns("m"),Wx=ns("bu"),Qr=ns("u"),ht=ns("bum"),Jr=ns("um"),Mse=ns("sp"),Ase=ns("rtg"),Ose=ns("rtc");function Dse(e,t=$r){Hx("ec",e,t)}const xG="components",Ese="directives";function BL(e,t){return wG(xG,e,!0,t)||e}const Rse=Symbol.for("v-ndc");function Lse(e){return wG(Ese,e)}function wG(e,t,n=!0,r=!1){const i=_r||$r;if(i){const o=i.type;if(e===xG){const l=Sue(o,!1);if(l&&(l===t||l===di(t)||l===Lx(di(t))))return o}const a=FL(i[e]||o[e],t)||FL(i.appContext[e],t);return!a&&r?o:a}}function FL(e,t){return e&&(e[t]||e[di(t)]||e[Lx(di(t))])}function Cht(e,t,n,r){let i;const o=n&&n[r],a=Ct(e);if(a||Fn(e)){const l=a&&Xc(e);let s=!1,u=!1;l&&(s=!Yi(e),u=Wl(e),e=Bx(e)),i=new Array(e.length);for(let c=0,d=e.length;ct(l,s,void 0,o&&o[s]));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,u=l.length;s0;return t!=="default"&&(n.name=t),R1(),N1(Qe,null,[w("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),R1();const a=o&&CG(o(n)),l=n.key||a&&a.key,s=N1(Qe,{key:(l&&!Ji(l)?l:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function CG(e){return e.some(t=>Nn(t)?!(t.type===yr||t.type===Qe&&!CG(t.children)):!0)?e:null}const fI=e=>e?VG(e)?Gx(e):fI(e.parent):null,Fp=Bn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fI(e.parent),$root:e=>fI(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>iO(e),$forceUpdate:e=>e.f||(e.f=()=>{JA(e.update)}),$nextTick:e=>e.n||(e.n=_t.bind(e.proxy)),$watch:e=>wse.bind(e)}),s$=(e,t)=>e!==mn&&!e.__isScriptSetup&&un(e,t),Nse={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:l,appContext:s}=e;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(s$(r,t))return a[t]=1,r[t];if(i!==mn&&un(i,t))return a[t]=2,i[t];if(un(o,t))return a[t]=3,o[t];if(n!==mn&&un(n,t))return a[t]=4,n[t];hI&&(a[t]=0)}}const u=Fp[t];let c,d;if(u)return t==="$attrs"&&Vr(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==mn&&un(n,t))return a[t]=4,n[t];if(d=s.config.globalProperties,un(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return s$(i,t)?(i[t]=n,!0):r!==mn&&un(r,t)?(r[t]=n,!0):un(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:o,type:a}},l){let s;return!!(n[l]||e!==mn&&l[0]!=="$"&&un(e,l)||s$(t,l)||un(o,l)||un(r,l)||un(Fp,l)||un(i.config.globalProperties,l)||(s=a.__cssModules)&&s[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:un(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kse(){return Bse().attrs}function Bse(e){const t=gr();return t.setupContext||(t.setupContext=jG(t))}function zL(e){return Ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let hI=!0;function Fse(e){const t=iO(e),n=e.proxy,r=e.ctx;hI=!1,t.beforeCreate&&HL(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:l,provide:s,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:v,activated:p,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:b,unmounted:S,render:x,renderTracked:$,renderTriggered:C,errorCaptured:T,serverPrefetch:I,expose:P,inheritAttrs:M,components:O,directives:D,filters:R}=t;if(u&&zse(u,r,null),a)for(const k in a){const N=a[k];Et(N)&&(r[k]=N.bind(n))}if(i){const k=i.call(n,n);an(k)&&(e.data=Bt(k))}if(hI=!0,o)for(const k in o){const N=o[k],B=Et(N)?N.bind(n,n):Et(N.get)?N.get.bind(n,n):Jo,F=!Et(N)&&Et(N.set)?N.set.bind(n):Jo,H=L({get:B,set:F});Object.defineProperty(r,k,{enumerable:!0,configurable:!0,get:()=>H.value,set:V=>H.value=V})}if(l)for(const k in l)$G(l[k],r,n,k);if(s){const k=Et(s)?s.call(n):s;Reflect.ownKeys(k).forEach(N=>{at(N,k[N])})}c&&HL(c,e,"c");function E(k,N){Ct(N)?N.forEach(B=>k(B.bind(n))):N&&k(N.bind(n))}if(E(Vx,d),E(tt,f),E(Wx,h),E(Qr,v),E(zx,p),E(bG,g),E(Dse,T),E(Ose,$),E(Ase,C),E(ht,y),E(Jr,S),E(Mse,I),Ct(P))if(P.length){const k=e.exposed||(e.exposed={});P.forEach(N=>{Object.defineProperty(k,N,{get:()=>n[N],set:B=>n[N]=B,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===Jo&&(e.render=x),M!=null&&(e.inheritAttrs=M),O&&(e.components=O),D&&(e.directives=D),I&&rO(e)}function zse(e,t,n=Jo){Ct(e)&&(e=vI(e));for(const r in e){const i=e[r];let o;an(i)?"default"in i?o=Je(i.from||r,i.default,!0):o=Je(i.from||r):o=Je(i),Kn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function HL(e,t,n){oa(Ct(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $G(e,t,n,r){let i=r.includes(".")?cG(n,r):()=>n[r];if(Fn(e)){const o=t[e];Et(o)&&Se(i,o)}else if(Et(e))Se(i,e.bind(n));else if(an(e))if(Ct(e))e.forEach(o=>$G(o,t,n,r));else{const o=Et(e.handler)?e.handler.bind(n):t[e.handler];Et(o)&&Se(i,o,e)}}function iO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let s;return l?s=l:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(u=>E1(s,u,a,!0)),E1(s,t,a)),an(t)&&o.set(t,s),s}function E1(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&E1(e,o,n,!0),i&&i.forEach(a=>E1(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const l=Hse[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Hse={data:VL,props:WL,emits:WL,methods:gp,computed:gp,beforeCreate:ti,created:ti,beforeMount:ti,mounted:ti,beforeUpdate:ti,updated:ti,beforeDestroy:ti,beforeUnmount:ti,destroyed:ti,unmounted:ti,activated:ti,deactivated:ti,errorCaptured:ti,serverPrefetch:ti,components:gp,directives:gp,watch:Wse,provide:VL,inject:Vse};function VL(e,t){return t?e?function(){return Bn(Et(e)?e.call(this,this):e,Et(t)?t.call(this,this):t)}:t:e}function Vse(e,t){return gp(vI(e),vI(t))}function vI(e){if(Ct(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${di(t)}Modifiers`]||e[`${_u(t)}Modifiers`];function Use(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||mn;let i=n;const o=t.startsWith("update:"),a=o&&Kse(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Fn(c)?c.trim():c)),a.number&&(i=n.map(Nx)));let l,s=r[l=n$(t)]||r[l=n$(di(t))];!s&&o&&(s=r[l=n$(_u(t))]),s&&oa(s,e,6,i);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,oa(u,e,6,i)}}const Xse=new WeakMap;function TG(e,t,n=!1){const r=n?Xse:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},l=!1;if(!Et(e)){const s=u=>{const c=TG(u,t,!0);c&&(l=!0,Bn(a,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!o&&!l?(an(e)&&r.set(e,null),null):(Ct(o)?o.forEach(s=>a[s]=null):Bn(a,o),an(e)&&r.set(e,a),a)}function jx(e,t){return!e||!Ox(t)?!1:(t=t.slice(2).replace(/Once$/,""),un(e,t[0].toLowerCase()+t.slice(1))||un(e,_u(t))||un(e,t))}function u$(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:l,emit:s,render:u,renderCache:c,props:d,data:f,setupState:h,ctx:v,inheritAttrs:p}=e,g=O1(e);let m,y;try{if(n.shapeFlag&4){const S=i||r,x=S;m=Na(u.call(x,S,c,d,h,f,v)),y=l}else{const S=t;m=Na(S.length>1?S(d,{attrs:l,slots:a,emit:s}):S(d,null)),y=t.props?l:Yse(l)}}catch(S){zp.length=0,Em(S,e,1),m=w(yr)}let b=m;if(y&&p!==!1){const S=Object.keys(y),{shapeFlag:x}=b;S.length&&x&7&&(o&&S.some(Dx)&&(y=qse(y,o)),b=cr(b,y,!1,!0))}return n.dirs&&(b=cr(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&dd(b,n.transition),m=b,O1(g),m}const Yse=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ox(n))&&((t||(t={}))[n]=e[n]);return t},qse=(e,t)=>{const n={};for(const r in e)(!Dx(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zse(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:l,patchFlag:s}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?jL(r,a,u):!!a;if(s&8){const c=t.dynamicProps;for(let d=0;dObject.create(PG),AG=e=>Object.getPrototypeOf(e)===PG;function Jse(e,t,n,r=!1){const i={},o=MG();e.propsDefaults=Object.create(null),OG(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:Jj(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function eue(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,l=mt(i),[s]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{s=!0;const[f,h]=DG(d,t,!0);Bn(a,f),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!s)return an(e)&&r.set(e,Jf),Jf;if(Ct(o))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",aO=e=>Ct(e)?e.map(Na):[Na(e)],nue=(e,t,n)=>{if(t._n)return t;const r=uG((...i)=>aO(t(...i)),n);return r._c=!1,r},EG=(e,t,n)=>{const r=e._ctx;for(const i in e){if(oO(i))continue;const o=e[i];if(Et(o))t[i]=nue(i,o,r);else if(o!=null){const a=aO(o);t[i]=()=>a}}},RG=(e,t)=>{const n=aO(t);e.slots.default=()=>n},LG=(e,t,n)=>{for(const r in t)(n||!oO(r))&&(e[r]=t[r])},rue=(e,t,n)=>{const r=e.slots=MG();if(e.vnode.shapeFlag&32){const i=t._;i?(LG(r,t,n),n&&Rj(r,"_",i,!0)):EG(t,r)}else t&&RG(e,t)},iue=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=mn;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:LG(i,t,n):(o=!t.$stable,EG(t,i)),a=t}else t&&(RG(e,t),a={default:1});if(o)for(const l in i)!oO(l)&&a[l]==null&&delete i[l]},Br=uue;function oue(e){return aue(e)}function aue(e,t){const n=kx();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:l,createComment:s,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Jo,insertStaticContent:v}=e,p=(W,Z,ne,re=null,le=null,ie=null,de=void 0,pe=null,me=!!Z.dynamicChildren)=>{if(W===Z)return;W&&!$c(W,Z)&&(re=q(W),V(W,le,ie,!0),W=null),Z.patchFlag===-2&&(me=!1,Z.dynamicChildren=null);const{type:he,ref:xe,shapeFlag:Ce}=Z;switch(he){case Tu:g(W,Z,ne,re);break;case yr:m(W,Z,ne,re);break;case yb:W==null&&y(Z,ne,re,de);break;case Qe:O(W,Z,ne,re,le,ie,de,pe,me);break;default:Ce&1?x(W,Z,ne,re,le,ie,de,pe,me):Ce&6?D(W,Z,ne,re,le,ie,de,pe,me):(Ce&64||Ce&128)&&he.process(W,Z,ne,re,le,ie,de,pe,me,G)}xe!=null&&le?Bp(xe,W&&W.ref,ie,Z||W,!Z):xe==null&&W&&W.ref!=null&&Bp(W.ref,null,ie,W,!0)},g=(W,Z,ne,re)=>{if(W==null)r(Z.el=l(Z.children),ne,re);else{const le=Z.el=W.el;Z.children!==W.children&&u(le,Z.children)}},m=(W,Z,ne,re)=>{W==null?r(Z.el=s(Z.children||""),ne,re):Z.el=W.el},y=(W,Z,ne,re)=>{[W.el,W.anchor]=v(W.children,Z,ne,re,W.el,W.anchor)},b=({el:W,anchor:Z},ne,re)=>{let le;for(;W&&W!==Z;)le=f(W),r(W,ne,re),W=le;r(Z,ne,re)},S=({el:W,anchor:Z})=>{let ne;for(;W&&W!==Z;)ne=f(W),i(W),W=ne;i(Z)},x=(W,Z,ne,re,le,ie,de,pe,me)=>{if(Z.type==="svg"?de="svg":Z.type==="math"&&(de="mathml"),W==null)$(Z,ne,re,le,ie,de,pe,me);else{const he=W.el&&W.el._isVueCE?W.el:null;try{he&&he._beginPatch(),I(W,Z,le,ie,de,pe,me)}finally{he&&he._endPatch()}}},$=(W,Z,ne,re,le,ie,de,pe)=>{let me,he;const{props:xe,shapeFlag:Ce,transition:ve,dirs:fe}=W;if(me=W.el=a(W.type,ie,xe&&xe.is,xe),Ce&8?c(me,W.children):Ce&16&&T(W.children,me,null,re,le,c$(W,ie),de,pe),fe&&Nu(W,null,re,"created"),C(me,W,W.scopeId,de,re),xe){for(const Me in xe)Me!=="value"&&!Rp(Me)&&o(me,Me,null,xe[Me],ie,re);"value"in xe&&o(me,"value",null,xe.value,ie),(he=xe.onVnodeBeforeMount)&&ya(he,re,W)}fe&&Nu(W,null,re,"beforeMount");const ye=lue(le,ve);ye&&ve.beforeEnter(me),r(me,Z,ne),((he=xe&&xe.onVnodeMounted)||ye||fe)&&Br(()=>{try{he&&ya(he,re,W),ye&&ve.enter(me),fe&&Nu(W,null,re,"mounted")}finally{}},le)},C=(W,Z,ne,re,le)=>{if(ne&&h(W,ne),re)for(let ie=0;ie{for(let he=me;he{const pe=Z.el=W.el;let{patchFlag:me,dynamicChildren:he,dirs:xe}=Z;me|=W.patchFlag&16;const Ce=W.props||mn,ve=Z.props||mn;let fe;if(ne&&ku(ne,!1),(fe=ve.onVnodeBeforeUpdate)&&ya(fe,ne,Z,W),xe&&Nu(Z,W,ne,"beforeUpdate"),ne&&ku(ne,!0),(Ce.innerHTML&&ve.innerHTML==null||Ce.textContent&&ve.textContent==null)&&c(pe,""),he?P(W.dynamicChildren,he,pe,ne,re,c$(Z,le),ie):de||N(W,Z,pe,null,ne,re,c$(Z,le),ie,!1),me>0){if(me&16)M(pe,Ce,ve,ne,le);else if(me&2&&Ce.class!==ve.class&&o(pe,"class",null,ve.class,le),me&4&&o(pe,"style",Ce.style,ve.style,le),me&8){const ye=Z.dynamicProps;for(let Me=0;Me{fe&&ya(fe,ne,Z,W),xe&&Nu(Z,W,ne,"updated")},re)},P=(W,Z,ne,re,le,ie,de)=>{for(let pe=0;pe{if(Z!==ne){if(Z!==mn)for(const ie in Z)!Rp(ie)&&!(ie in ne)&&o(W,ie,Z[ie],null,le,re);for(const ie in ne){if(Rp(ie))continue;const de=ne[ie],pe=Z[ie];de!==pe&&ie!=="value"&&o(W,ie,pe,de,le,re)}"value"in ne&&o(W,"value",Z.value,ne.value,le)}},O=(W,Z,ne,re,le,ie,de,pe,me)=>{const he=Z.el=W?W.el:l(""),xe=Z.anchor=W?W.anchor:l("");let{patchFlag:Ce,dynamicChildren:ve,slotScopeIds:fe}=Z;fe&&(pe=pe?pe.concat(fe):fe),W==null?(r(he,ne,re),r(xe,ne,re),T(Z.children||[],ne,xe,le,ie,de,pe,me)):Ce>0&&Ce&64&&ve&&W.dynamicChildren&&W.dynamicChildren.length===ve.length?(P(W.dynamicChildren,ve,ne,le,ie,de,pe),(Z.key!=null||le&&Z===le.subTree)&&lO(W,Z,!0)):N(W,Z,ne,xe,le,ie,de,pe,me)},D=(W,Z,ne,re,le,ie,de,pe,me)=>{Z.slotScopeIds=pe,W==null?Z.shapeFlag&512?le.ctx.activate(Z,ne,re,de,me):R(Z,ne,re,le,ie,de,me):A(W,Z,me)},R=(W,Z,ne,re,le,ie,de)=>{const pe=W.component=gue(W,re,le);if(Rm(W)&&(pe.ctx.renderer=G),mue(pe,!1,de),pe.asyncDep){if(le&&le.registerDep(pe,E,de),!W.el){const me=pe.subTree=w(yr);m(null,me,Z,ne),W.placeholder=me.el}}else E(pe,W,Z,ne,le,ie,de)},A=(W,Z,ne)=>{const re=Z.component=W.component;if(Zse(W,Z,ne))if(re.asyncDep&&!re.asyncResolved){k(re,Z,ne);return}else re.next=Z,re.update();else Z.el=W.el,re.vnode=Z},E=(W,Z,ne,re,le,ie,de)=>{const pe=()=>{if(W.isMounted){let{next:Ce,bu:ve,u:fe,parent:ye,vnode:Me}=W;{const Ie=NG(W);if(Ie){Ce&&(Ce.el=Me.el,k(W,Ce,de)),Ie.asyncDep.then(()=>{Br(()=>{W.isUnmounted||he()},le)});return}}let De=Ce,Be;ku(W,!1),Ce?(Ce.el=Me.el,k(W,Ce,de)):Ce=Me,ve&&gb(ve),(Be=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&ya(Be,ye,Ce,Me),ku(W,!0);const we=u$(W),_e=W.subTree;W.subTree=we,p(_e,we,d(_e.el),q(_e),W,le,ie),Ce.el=we.el,De===null&&Qse(W,we.el),fe&&Br(fe,le),(Be=Ce.props&&Ce.props.onVnodeUpdated)&&Br(()=>ya(Be,ye,Ce,Me),le)}else{let Ce;const{el:ve,props:fe}=Z,{bm:ye,m:Me,parent:De,root:Be,type:we}=W,_e=nh(Z);if(ku(W,!1),ye&&gb(ye),!_e&&(Ce=fe&&fe.onVnodeBeforeMount)&&ya(Ce,De,Z),ku(W,!0),ve&&oe){const Ie=()=>{W.subTree=u$(W),oe(ve,W.subTree,W,le,null)};_e&&we.__asyncHydrate?we.__asyncHydrate(ve,W,Ie):Ie()}else{Be.ce&&Be.ce._hasShadowRoot()&&Be.ce._injectChildStyle(we,W.parent?W.parent.type:void 0);const Ie=W.subTree=u$(W);p(null,Ie,ne,re,W,le,ie),Z.el=Ie.el}if(Me&&Br(Me,le),!_e&&(Ce=fe&&fe.onVnodeMounted)){const Ie=Z;Br(()=>ya(Ce,De,Ie),le)}(Z.shapeFlag&256||De&&nh(De.vnode)&&De.vnode.shapeFlag&256)&&W.a&&Br(W.a,le),W.isMounted=!0,Z=ne=re=null}};W.scope.on();const me=W.effect=new Fj(pe);W.scope.off();const he=W.update=me.run.bind(me),xe=W.job=me.runIfDirty.bind(me);xe.i=W,xe.id=W.uid,me.scheduler=()=>JA(xe),ku(W,!0),he()},k=(W,Z,ne)=>{Z.component=W;const re=W.vnode.props;W.vnode=Z,W.next=null,eue(W,Z.props,re,ne),iue(W,Z.children,ne),Hl(),OL(W),Vl()},N=(W,Z,ne,re,le,ie,de,pe,me=!1)=>{const he=W&&W.children,xe=W?W.shapeFlag:0,Ce=Z.children,{patchFlag:ve,shapeFlag:fe}=Z;if(ve>0){if(ve&128){F(he,Ce,ne,re,le,ie,de,pe,me);return}else if(ve&256){B(he,Ce,ne,re,le,ie,de,pe,me);return}}fe&8?(xe&16&&te(he,le,ie),Ce!==he&&c(ne,Ce)):xe&16?fe&16?F(he,Ce,ne,re,le,ie,de,pe,me):te(he,le,ie,!0):(xe&8&&c(ne,""),fe&16&&T(Ce,ne,re,le,ie,de,pe,me))},B=(W,Z,ne,re,le,ie,de,pe,me)=>{W=W||Jf,Z=Z||Jf;const he=W.length,xe=Z.length,Ce=Math.min(he,xe);let ve;for(ve=0;vexe?te(W,le,ie,!0,!1,Ce):T(Z,ne,re,le,ie,de,pe,me,Ce)},F=(W,Z,ne,re,le,ie,de,pe,me)=>{let he=0;const xe=Z.length;let Ce=W.length-1,ve=xe-1;for(;he<=Ce&&he<=ve;){const fe=W[he],ye=Z[he]=me?$l(Z[he]):Na(Z[he]);if($c(fe,ye))p(fe,ye,ne,null,le,ie,de,pe,me);else break;he++}for(;he<=Ce&&he<=ve;){const fe=W[Ce],ye=Z[ve]=me?$l(Z[ve]):Na(Z[ve]);if($c(fe,ye))p(fe,ye,ne,null,le,ie,de,pe,me);else break;Ce--,ve--}if(he>Ce){if(he<=ve){const fe=ve+1,ye=feve)for(;he<=Ce;)V(W[he],le,ie,!0),he++;else{const fe=he,ye=he,Me=new Map;for(he=ye;he<=ve;he++){const ke=Z[he]=me?$l(Z[he]):Na(Z[he]);ke.key!=null&&Me.set(ke.key,he)}let De,Be=0;const we=ve-ye+1;let _e=!1,Ie=0;const Le=new Array(we);for(he=0;he=we){V(ke,le,ie,!0);continue}let We;if(ke.key!=null)We=Me.get(ke.key);else for(De=ye;De<=ve;De++)if(Le[De-ye]===0&&$c(ke,Z[De])){We=De;break}We===void 0?V(ke,le,ie,!0):(Le[We-ye]=he+1,We>=Ie?Ie=We:_e=!0,p(ke,Z[We],ne,null,le,ie,de,pe,me),Be++)}const Ke=_e?sue(Le):Jf;for(De=Ke.length-1,he=we-1;he>=0;he--){const ke=ye+he,We=Z[ke],gt=Z[ke+1],Dt=ke+1{const{el:ie,type:de,transition:pe,children:me,shapeFlag:he}=W;if(he&6){H(W.component.subTree,Z,ne,re);return}if(he&128){W.suspense.move(Z,ne,re);return}if(he&64){de.move(W,Z,ne,G);return}if(de===Qe){r(ie,Z,ne);for(let Ce=0;Cepe.enter(ie),le);else{const{leave:Ce,delayLeave:ve,afterLeave:fe}=pe,ye=()=>{W.ctx.isUnmounted?i(ie):r(ie,Z,ne)},Me=()=>{ie._isLeaving&&ie[Oa](!0),Ce(ie,()=>{ye(),fe&&fe()})};ve?ve(ie,ye,Me):Me()}else r(ie,Z,ne)},V=(W,Z,ne,re=!1,le=!1)=>{const{type:ie,props:de,ref:pe,children:me,dynamicChildren:he,shapeFlag:xe,patchFlag:Ce,dirs:ve,cacheIndex:fe,memo:ye}=W;if(Ce===-2&&(le=!1),pe!=null&&(Hl(),Bp(pe,null,ne,W,!0),Vl()),fe!=null&&(Z.renderCache[fe]=void 0),xe&256){Z.ctx.deactivate(W);return}const Me=xe&1&&ve,De=!nh(W);let Be;if(De&&(Be=de&&de.onVnodeBeforeUnmount)&&ya(Be,Z,W),xe&6)K(W.component,ne,re);else{if(xe&128){W.suspense.unmount(ne,re);return}Me&&Nu(W,null,Z,"beforeUnmount"),xe&64?W.type.remove(W,Z,ne,G,re):he&&!he.hasOnce&&(ie!==Qe||Ce>0&&Ce&64)?te(he,Z,ne,!1,!0):(ie===Qe&&Ce&384||!le&&xe&16)&&te(me,Z,ne),re&&X(W)}const we=ye!=null&&fe==null;(De&&(Be=de&&de.onVnodeUnmounted)||Me||we)&&Br(()=>{Be&&ya(Be,Z,W),Me&&Nu(W,null,Z,"unmounted"),we&&(W.el=null)},ne)},X=W=>{const{type:Z,el:ne,anchor:re,transition:le}=W;if(Z===Qe){Q(ne,re);return}if(Z===yb){S(W);return}const ie=()=>{i(ne),le&&!le.persisted&&le.afterLeave&&le.afterLeave()};if(W.shapeFlag&1&&le&&!le.persisted){const{leave:de,delayLeave:pe}=le,me=()=>de(ne,ie);pe?pe(W.el,ie,me):me()}else ie()},Q=(W,Z)=>{let ne;for(;W!==Z;)ne=f(W),i(W),W=ne;i(Z)},K=(W,Z,ne)=>{const{bum:re,scope:le,job:ie,subTree:de,um:pe,m:me,a:he}=W;KL(me),KL(he),re&&gb(re),le.stop(),ie&&(ie.flags|=8,V(de,W,Z,ne)),pe&&Br(pe,Z),Br(()=>{W.isUnmounted=!0},Z)},te=(W,Z,ne,re=!1,le=!1,ie=0)=>{for(let de=ie;de{if(W.shapeFlag&6)return q(W.component.subTree);if(W.shapeFlag&128)return W.suspense.next();const Z=f(W.anchor||W.el),ne=Z&&Z[dG];return ne?f(ne):Z};let ee=!1;const J=(W,Z,ne)=>{let re;W==null?Z._vnode&&(V(Z._vnode,null,null,!0),re=Z._vnode.component):p(Z._vnode||null,W,Z,null,null,null,ne),Z._vnode=W,ee||(ee=!0,OL(re),aG(),ee=!1)},G={p,um:V,m:H,r:X,mt:R,mc:T,pc:N,pbc:P,n:q,o:e};let Y,oe;return t&&([Y,oe]=t(G)),{render:J,hydrate:Y,createApp:Gse(J,Y)}}function c$({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ku({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lue(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lO(e,t,n=!1){const r=e.children,i=t.children;if(Ct(r)&&Ct(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function NG(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:NG(t)}function KL(e){if(e)for(let t=0;te.__isSuspense;function uue(e,t){t&&t.pendingBranch?Ct(e)?t.effects.push(...e):t.effects.push(e):bse(e)}const Qe=Symbol.for("v-fgt"),Tu=Symbol.for("v-txt"),yr=Symbol.for("v-cmt"),yb=Symbol.for("v-stc"),zp=[];let Ki=null;function R1(e=!1){zp.push(Ki=e?null:[])}function cue(){zp.pop(),Ki=zp[zp.length-1]||null}let Og=1;function L1(e,t=!1){Og+=e,e<0&&Ki&&t&&(Ki.hasOnce=!0)}function FG(e){return e.dynamicChildren=Og>0?Ki||Jf:null,cue(),Og>0&&Ki&&Ki.push(e),e}function _ht(e,t,n,r,i,o){return FG(HG(e,t,n,r,i,o,!0))}function N1(e,t,n,r,i){return FG(w(e,t,n,r,i,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function $c(e,t){return e.type===t.type&&e.key===t.key}const zG=({key:e})=>e!=null?e:null,bb=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fn(e)||Kn(e)||Et(e)?{i:_r,r:e,k:t,f:!!n}:e:null);function HG(e,t=null,n=null,r=0,i=null,o=e===Qe?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zG(t),ref:t&&bb(t),scopeId:sG,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_r};return l?(sO(s,n),o&128&&e.normalize(s)):n&&(s.shapeFlag|=Fn(n)?8:16),Og>0&&!a&&Ki&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&&Ki.push(s),s}const w=due;function due(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Rse)&&(e=yr),Nn(e)){const l=cr(e,t,!0);return n&&sO(l,n),Og>0&&!o&&Ki&&(l.shapeFlag&6?Ki[Ki.indexOf(e)]=l:Ki.push(l)),l.patchFlag=-2,l}if(xue(e)&&(e=e.__vccOpts),t){t=fue(t);let{class:l,style:s}=t;l&&!Fn(l)&&(t.class=GA(l)),an(s)&&(Fx(s)&&!Ct(s)&&(s=Bn({},s)),t.style=jA(s))}const a=Fn(e)?1:BG(e)?128:fG(e)?64:an(e)?4:Et(e)?2:0;return HG(e,t,n,r,i,a,o,!0)}function fue(e){return e?Fx(e)||AG(e)?Bn({},e):e:null}function cr(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:l,transition:s}=e,u=t?hue(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&zG(u),ref:t&&t.ref?n&&o?Ct(o)?o.concat(bb(t)):[o,bb(t)]:bb(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cr(e.ssContent),ssFallback:e.ssFallback&&cr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&dd(c,s.clone(c)),c}function Gr(e=" ",t=0){return w(Tu,null,e,t)}function Tht(e,t){const n=w(yb,null,e);return n.staticCount=t,n}function Iht(e="",t=!1){return t?(R1(),N1(yr,null,e)):w(yr,null,e)}function Na(e){return e==null||typeof e=="boolean"?w(yr):Ct(e)?w(Qe,null,e.slice()):Nn(e)?$l(e):w(Tu,null,String(e))}function $l(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cr(e)}function sO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ct(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),sO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!AG(t)?t._ctx=_r:i===3&&_r&&(_r.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Et(t)?(t={default:t,_ctx:_r},n=32):(t=String(t),r&64?(n=16,t=[Gr(t)]):n=8);e.children=t,e.shapeFlag|=n}function hue(...e){const t={};for(let n=0;n$r||_r;let k1,gI;{const e=kx(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};k1=t("__VUE_INSTANCE_SETTERS__",n=>$r=n),gI=t("__VUE_SSR_SETTERS__",n=>Ch=n)}const Lm=e=>{const t=$r;return k1(e),e.scope.on(),()=>{e.scope.off(),k1(t)}},UL=()=>{$r&&$r.scope.off(),k1(null)};function VG(e){return e.vnode.shapeFlag&4}let Ch=!1;function mue(e,t=!1,n=!1){t&&gI(t);const{props:r,children:i}=e.vnode,o=VG(e);Jse(e,r,o,t),rue(e,i,n||t);const a=o?yue(e,t):void 0;return t&&gI(!1),a}function yue(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nse);const{setup:r}=n;if(r){Hl();const i=e.setupContext=r.length>1?jG(e):null,o=Lm(e),a=Dm(r,e,0,[e.props,i]),l=Oj(a);if(Vl(),o(),(l||e.sp)&&!nh(e)&&rO(e),l){if(a.then(UL,UL),t)return a.then(s=>{XL(e,s,t)}).catch(s=>{Em(s,e,0)});e.asyncDep=a}else XL(e,a,t)}else WG(e,t)}function XL(e,t,n){Et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:an(t)&&(e.setupState=nG(t)),WG(e,n)}let YL;function WG(e,t,n){const r=e.type;if(!e.render){if(!t&&YL&&!r.render){const i=r.template||iO(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=Bn(Bn({isCustomElement:o,delimiters:l},a),s);r.render=YL(i,u)}}e.render=r.render||Jo}{const i=Lm(e);Hl();try{Fse(e)}finally{Vl(),i()}}}const bue={get(e,t){return Vr(e,"get",""),e[t]}};function jG(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bue),slots:e.slots,emit:e.emit,expose:t}}function Gx(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(nG(sse(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Fp)return Fp[n](e)},has(t,n){return n in t||n in Fp}})):e.proxy}function Sue(e,t=!0){return Et(e)?e.displayName||e.name:e.name||t&&e.__name}function xue(e){return Et(e)&&"__vccOpts"in e}const L=(e,t)=>vse(e,t,Ch);function jl(e,t,n){try{L1(-1);const r=arguments.length;return r===2?an(t)&&!Ct(t)?Nn(t)?w(e,null,[t]):w(e,t):w(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),w(e,t,n))}finally{L1(1)}}const wue="3.5.31";/** * @vue/runtime-dom v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let mI;const qL=typeof window!="undefined"&&window.trustedTypes;if(qL)try{mI=qL.createPolicy("vue",{createHTML:e=>e})}catch(e){}const GG=mI?e=>mI.createHTML(e):e=>e,Cue="http://www.w3.org/2000/svg",$ue="http://www.w3.org/1998/Math/MathML",yl=typeof document!="undefined"?document:null,ZL=yl&&yl.createElement("template"),_ue={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?yl.createElementNS(Cue,e):t==="mathml"?yl.createElementNS($ue,e):n?yl.createElement(e,{is:n}):yl.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>yl.createTextNode(e),createComment:e=>yl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{ZL.innerHTML=GG(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ZL.content;if(r==="svg"||r==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ys="transition",Av="animation",Ch=Symbol("_vtc"),KG={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},UG=Bn({},pG,KG),Tue=e=>(e.displayName="Transition",e.props=UG,e),dr=Tue((e,{slots:t})=>Wl(Tse,XG(e),t)),Bu=(e,t=[])=>{Ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},QL=e=>e?Ct(e)?e.some(t=>t.length>1):e.length>1:!1;function XG(e){const t={};for(const O in e)O in KG||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:u=a,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=Iue(i),p=v&&v[0],g=v&&v[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:b,onLeave:S,onLeaveCancelled:x,onBeforeAppear:$=m,onAppear:C=y,onAppearCancelled:T=b}=t,I=(O,D,R,A)=>{O._enterCancelled=A,As(O,D?c:l),As(O,D?u:a),R&&R()},P=(O,D)=>{O._isLeaving=!1,As(O,d),As(O,h),As(O,f),D&&D()},M=O=>(D,R)=>{const A=O?C:y,E=()=>I(D,O,R);Bu(A,[D,E]),JL(()=>{As(D,O?s:o),Ca(D,O?c:l),QL(A)||e5(D,r,p,E)})};return Bn(t,{onBeforeEnter(O){Bu(m,[O]),Ca(O,o),Ca(O,a)},onBeforeAppear(O){Bu($,[O]),Ca(O,s),Ca(O,u)},onEnter:M(!1),onAppear:M(!0),onLeave(O,D){O._isLeaving=!0;const R=()=>P(O,D);Ca(O,d),O._enterCancelled?(Ca(O,f),yI(O)):(yI(O),Ca(O,f)),JL(()=>{O._isLeaving&&(As(O,d),Ca(O,h),QL(S)||e5(O,r,g,R))}),Bu(S,[O,R])},onEnterCancelled(O){I(O,!1,void 0,!0),Bu(b,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),Bu(T,[O])},onLeaveCancelled(O){P(O),Bu(x,[O])}})}function Iue(e){if(e==null)return null;if(an(e))return[d$(e.enter),d$(e.leave)];{const t=d$(e);return[t,t]}}function d$(e){return Dle(e)}function Ca(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ch]||(e[Ch]=new Set)).add(t)}function As(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ch];n&&(n.delete(t),n.size||(e[Ch]=void 0))}function JL(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pue=0;function e5(e,t,n,r){const i=e._endId=++Pue,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:s}=YG(e,t);if(!a)return r();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),o()},f=h=>{h.target===e&&++c>=s&&d()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(`${ys}Delay`),o=r(`${ys}Duration`),a=t5(i,o),l=r(`${Av}Delay`),s=r(`${Av}Duration`),u=t5(l,s);let c=null,d=0,f=0;t===ys?a>0&&(c=ys,d=a,f=o.length):t===Av?u>0&&(c=Av,d=u,f=s.length):(d=Math.max(a,u),c=d>0?a>u?ys:Av:null,f=c?c===ys?o.length:s.length:0);const h=c===ys&&/\b(?:transform|all)(?:,|$)/.test(r(`${ys}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function t5(e,t){for(;e.lengthn5(n)+n5(e[r])))}function n5(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yI(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mue(e,t,n){const r=e[Ch];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const B1=Symbol("_vod"),qG=Symbol("_vsh"),hi={name:"show",beforeMount(e,{value:t},{transition:n}){e[B1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ov(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ov(e,!0),r.enter(e)):r.leave(e,()=>{Ov(e,!1)}):Ov(e,t))},beforeUnmount(e,{value:t}){Ov(e,t)}};function Ov(e,t){e.style.display=t?e[B1]:"none",e[qG]=!t}const Aue=Symbol(""),Oue=/(?:^|;)\s*display\s*:/;function Due(e,t,n){const r=e.style,i=Fn(n);let o=!1;if(n&&!i){if(t)if(Fn(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Sb(r,l,"")}else for(const a in t)n[a]==null&&Sb(r,a,"");for(const a in n)a==="display"&&(o=!0),Sb(r,a,n[a])}else if(i){if(t!==n){const a=r[Aue];a&&(n+=";"+a),r.cssText=n,o=Oue.test(n)}}else t&&e.removeAttribute("style");B1 in e&&(e[B1]=o?r.display:"",e[qG]&&(r.display="none"))}const r5=/\s*!important$/;function Sb(e,t,n){if(Ct(n))n.forEach(r=>Sb(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Eue(e,t);r5.test(n)?e.setProperty(_u(r),n.replace(r5,""),"important"):e[r]=n}}const i5=["Webkit","Moz","ms"],f$={};function Eue(e,t){const n=f$[t];if(n)return n;let r=di(t);if(r!=="filter"&&r in e)return f$[t]=r;r=Lx(r);for(let i=0;ih$||(kue.then(()=>h$=0),h$=Date.now());function Fue(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ia(zue(r,n.value),t,5,[r])};return n.value=e,n.attached=Bue(),n}function zue(e,t){if(Ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const c5=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hue=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Mue(e,r,a):t==="style"?Due(e,n,r):Ox(t)?Dx(t)||Lue(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vue(e,t,r,a))?(l5(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&a5(e,t,r,a,o,t!=="value")):e._isVueCE&&(Wue(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Fn(r)))?l5(e,di(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),a5(e,t,r,a))};function Vue(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&c5(t)&&Et(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return c5(t)&&Fn(n)?!1:t in e}function Wue(e,t){const n=e._def.props;if(!n)return!1;const r=di(t);return Array.isArray(n)?n.some(i=>di(i)===r):Object.keys(n).some(i=>di(i)===r)}const ZG=new WeakMap,QG=new WeakMap,F1=Symbol("_moveCb"),d5=Symbol("_enterCb"),jue=e=>(delete e.props.mode,e),Gue=jue({name:"TransitionGroup",props:Bn({},UG,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=gr(),r=vG();let i,o;return Qr(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Yue(i[0].el,n.vnode.el,a)){i=[];return}i.forEach(Kue),i.forEach(Uue);const l=i.filter(Xue);yI(n.vnode.el),l.forEach(s=>{const u=s.el,c=u.style;Ca(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[F1]=f=>{f&&f.target!==u||(!f||f.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[F1]=null,As(u,a))};u.addEventListener("transitionend",d)}),i=[]}),()=>{const a=mt(e),l=XG(a);let s=a.tag||Qe;if(i=[],o)for(let u=0;u{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=YG(r);return o.removeChild(r),a}const du=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ct(t)?n=>gb(t,n):t};function que(e){e.target.composing=!0}function f5(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const _o=Symbol("_assign");function h5(e,t,n){return t&&(e=e.trim()),n&&(e=Nx(e)),e}const v5={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[_o]=du(i);const o=r||i.props&&i.props.type==="number";Tl(e,t?"change":"input",a=>{a.target.composing||e[_o](h5(e.value,n,o))}),(n||o)&&Tl(e,"change",()=>{e.value=h5(e.value,n,o)}),t||(Tl(e,"compositionstart",que),Tl(e,"compositionend",f5),Tl(e,"change",f5))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[_o]=du(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Nx(e.value):e.value,s=t==null?"":t;if(l===s)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===s)||(e.value=s)}},Zue={deep:!0,created(e,t,n){e[_o]=du(n),Tl(e,"change",()=>{const r=e._modelValue,i=$h(e),o=e.checked,a=e[_o];if(Ct(r)){const l=KA(r,i),s=l!==-1;if(o&&!s)a(r.concat(i));else if(!o&&s){const u=[...r];u.splice(l,1),a(u)}}else if(qh(r)){const l=new Set(r);o?l.add(i):l.delete(i),a(l)}else a(eK(e,o))})},mounted:p5,beforeUpdate(e,t,n){e[_o]=du(n),p5(e,t,n)}};function p5(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(Ct(t))i=KA(t,r.props.value)>-1;else if(qh(t))i=t.has(r.props.value);else{if(t===n)return;i=cu(t,eK(e,!0))}e.checked!==i&&(e.checked=i)}const Que={created(e,{value:t},n){e.checked=cu(t,n.props.value),e[_o]=du(n),Tl(e,"change",()=>{e[_o]($h(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[_o]=du(r),t!==n&&(e.checked=cu(t,r.props.value))}},Jue={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=qh(t);Tl(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Nx($h(a)):$h(a));e[_o](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,_t(()=>{e._assigning=!1})}),e[_o]=du(r)},mounted(e,{value:t}){g5(e,t)},beforeUpdate(e,t,n){e[_o]=du(n)},updated(e,{value:t}){e._assigning||g5(e,t)}};function g5(e,t){const n=e.multiple,r=Ct(t);if(!(n&&!r&&!qh(t))){for(let i=0,o=e.options.length;iString(u)===String(l)):a.selected=KA(t,l)>-1}else a.selected=t.has(l);else if(cu($h(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function $h(e){return"_value"in e?e._value:e.value}function eK(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Iht={created(e,t,n){Oy(e,t,n,null,"created")},mounted(e,t,n){Oy(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Oy(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Oy(e,t,n,r,"updated")}};function ece(e,t){switch(e){case"SELECT":return Jue;case"TEXTAREA":return v5;default:switch(t){case"checkbox":return Zue;case"radio":return Que;default:return v5}}}function Oy(e,t,n,r,i){const a=ece(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}const tce=["ctrl","shift","alt","meta"],nce={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tce.some(n=>e[`${n}Key`]&&!t.includes(n))},m5=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=_u(i.key);if(t.some(a=>a===o||rce[a]===o))return e(i)})},ice=Bn({patchProp:Hue},_ue);let y5;function tK(){return y5||(y5=oue(ice))}const fu=(...e)=>{tK().render(...e)},nK=(...e)=>{const t=tK().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=ace(r);if(!i)return;const o=t._component;!Et(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=n(i,!1,oce(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function oce(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ace(e){return Fn(e)?document.querySelector(e):e}const lce="modulepreload",sce=function(e,t){return new URL(e,t).href},b5={},ns=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=sce(o,r),o in b5)return;b5[o]=!0;const a=o.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===o&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":lce,a||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),a)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};/*! +**/let mI;const qL=typeof window!="undefined"&&window.trustedTypes;if(qL)try{mI=qL.createPolicy("vue",{createHTML:e=>e})}catch(e){}const GG=mI?e=>mI.createHTML(e):e=>e,Cue="http://www.w3.org/2000/svg",$ue="http://www.w3.org/1998/Math/MathML",bl=typeof document!="undefined"?document:null,ZL=bl&&bl.createElement("template"),_ue={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?bl.createElementNS(Cue,e):t==="mathml"?bl.createElementNS($ue,e):n?bl.createElement(e,{is:n}):bl.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>bl.createTextNode(e),createComment:e=>bl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{ZL.innerHTML=GG(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ZL.content;if(r==="svg"||r==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ys="transition",Ov="animation",$h=Symbol("_vtc"),KG={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},UG=Bn({},pG,KG),Tue=e=>(e.displayName="Transition",e.props=UG,e),dr=Tue((e,{slots:t})=>jl(Tse,XG(e),t)),Bu=(e,t=[])=>{Ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},QL=e=>e?Ct(e)?e.some(t=>t.length>1):e.length>1:!1;function XG(e){const t={};for(const O in e)O in KG||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:u=a,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=Iue(i),p=v&&v[0],g=v&&v[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:b,onLeave:S,onLeaveCancelled:x,onBeforeAppear:$=m,onAppear:C=y,onAppearCancelled:T=b}=t,I=(O,D,R,A)=>{O._enterCancelled=A,As(O,D?c:l),As(O,D?u:a),R&&R()},P=(O,D)=>{O._isLeaving=!1,As(O,d),As(O,h),As(O,f),D&&D()},M=O=>(D,R)=>{const A=O?C:y,E=()=>I(D,O,R);Bu(A,[D,E]),JL(()=>{As(D,O?s:o),$a(D,O?c:l),QL(A)||e5(D,r,p,E)})};return Bn(t,{onBeforeEnter(O){Bu(m,[O]),$a(O,o),$a(O,a)},onBeforeAppear(O){Bu($,[O]),$a(O,s),$a(O,u)},onEnter:M(!1),onAppear:M(!0),onLeave(O,D){O._isLeaving=!0;const R=()=>P(O,D);$a(O,d),O._enterCancelled?($a(O,f),yI(O)):(yI(O),$a(O,f)),JL(()=>{O._isLeaving&&(As(O,d),$a(O,h),QL(S)||e5(O,r,g,R))}),Bu(S,[O,R])},onEnterCancelled(O){I(O,!1,void 0,!0),Bu(b,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),Bu(T,[O])},onLeaveCancelled(O){P(O),Bu(x,[O])}})}function Iue(e){if(e==null)return null;if(an(e))return[d$(e.enter),d$(e.leave)];{const t=d$(e);return[t,t]}}function d$(e){return Dle(e)}function $a(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$h]||(e[$h]=new Set)).add(t)}function As(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$h];n&&(n.delete(t),n.size||(e[$h]=void 0))}function JL(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pue=0;function e5(e,t,n,r){const i=e._endId=++Pue,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:s}=YG(e,t);if(!a)return r();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),o()},f=h=>{h.target===e&&++c>=s&&d()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(`${ys}Delay`),o=r(`${ys}Duration`),a=t5(i,o),l=r(`${Ov}Delay`),s=r(`${Ov}Duration`),u=t5(l,s);let c=null,d=0,f=0;t===ys?a>0&&(c=ys,d=a,f=o.length):t===Ov?u>0&&(c=Ov,d=u,f=s.length):(d=Math.max(a,u),c=d>0?a>u?ys:Ov:null,f=c?c===ys?o.length:s.length:0);const h=c===ys&&/\b(?:transform|all)(?:,|$)/.test(r(`${ys}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function t5(e,t){for(;e.lengthn5(n)+n5(e[r])))}function n5(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yI(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mue(e,t,n){const r=e[$h];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const B1=Symbol("_vod"),qG=Symbol("_vsh"),hi={name:"show",beforeMount(e,{value:t},{transition:n}){e[B1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Dv(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Dv(e,!0),r.enter(e)):r.leave(e,()=>{Dv(e,!1)}):Dv(e,t))},beforeUnmount(e,{value:t}){Dv(e,t)}};function Dv(e,t){e.style.display=t?e[B1]:"none",e[qG]=!t}const Aue=Symbol(""),Oue=/(?:^|;)\s*display\s*:/;function Due(e,t,n){const r=e.style,i=Fn(n);let o=!1;if(n&&!i){if(t)if(Fn(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Sb(r,l,"")}else for(const a in t)n[a]==null&&Sb(r,a,"");for(const a in n)a==="display"&&(o=!0),Sb(r,a,n[a])}else if(i){if(t!==n){const a=r[Aue];a&&(n+=";"+a),r.cssText=n,o=Oue.test(n)}}else t&&e.removeAttribute("style");B1 in e&&(e[B1]=o?r.display:"",e[qG]&&(r.display="none"))}const r5=/\s*!important$/;function Sb(e,t,n){if(Ct(n))n.forEach(r=>Sb(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Eue(e,t);r5.test(n)?e.setProperty(_u(r),n.replace(r5,""),"important"):e[r]=n}}const i5=["Webkit","Moz","ms"],f$={};function Eue(e,t){const n=f$[t];if(n)return n;let r=di(t);if(r!=="filter"&&r in e)return f$[t]=r;r=Lx(r);for(let i=0;ih$||(kue.then(()=>h$=0),h$=Date.now());function Fue(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;oa(zue(r,n.value),t,5,[r])};return n.value=e,n.attached=Bue(),n}function zue(e,t){if(Ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const c5=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Hue=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Mue(e,r,a):t==="style"?Due(e,n,r):Ox(t)?Dx(t)||Lue(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vue(e,t,r,a))?(l5(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&a5(e,t,r,a,o,t!=="value")):e._isVueCE&&(Wue(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Fn(r)))?l5(e,di(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),a5(e,t,r,a))};function Vue(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&c5(t)&&Et(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return c5(t)&&Fn(n)?!1:t in e}function Wue(e,t){const n=e._def.props;if(!n)return!1;const r=di(t);return Array.isArray(n)?n.some(i=>di(i)===r):Object.keys(n).some(i=>di(i)===r)}const ZG=new WeakMap,QG=new WeakMap,F1=Symbol("_moveCb"),d5=Symbol("_enterCb"),jue=e=>(delete e.props.mode,e),Gue=jue({name:"TransitionGroup",props:Bn({},UG,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=gr(),r=vG();let i,o;return Qr(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Yue(i[0].el,n.vnode.el,a)){i=[];return}i.forEach(Kue),i.forEach(Uue);const l=i.filter(Xue);yI(n.vnode.el),l.forEach(s=>{const u=s.el,c=u.style;$a(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[F1]=f=>{f&&f.target!==u||(!f||f.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[F1]=null,As(u,a))};u.addEventListener("transitionend",d)}),i=[]}),()=>{const a=mt(e),l=XG(a);let s=a.tag||Qe;if(i=[],o)for(let u=0;u{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=YG(r);return o.removeChild(r),a}const du=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ct(t)?n=>gb(t,n):t};function que(e){e.target.composing=!0}function f5(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const To=Symbol("_assign");function h5(e,t,n){return t&&(e=e.trim()),n&&(e=Nx(e)),e}const v5={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[To]=du(i);const o=r||i.props&&i.props.type==="number";Il(e,t?"change":"input",a=>{a.target.composing||e[To](h5(e.value,n,o))}),(n||o)&&Il(e,"change",()=>{e.value=h5(e.value,n,o)}),t||(Il(e,"compositionstart",que),Il(e,"compositionend",f5),Il(e,"change",f5))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[To]=du(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Nx(e.value):e.value,s=t==null?"":t;if(l===s)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===s)||(e.value=s)}},Zue={deep:!0,created(e,t,n){e[To]=du(n),Il(e,"change",()=>{const r=e._modelValue,i=_h(e),o=e.checked,a=e[To];if(Ct(r)){const l=KA(r,i),s=l!==-1;if(o&&!s)a(r.concat(i));else if(!o&&s){const u=[...r];u.splice(l,1),a(u)}}else if(Zh(r)){const l=new Set(r);o?l.add(i):l.delete(i),a(l)}else a(eK(e,o))})},mounted:p5,beforeUpdate(e,t,n){e[To]=du(n),p5(e,t,n)}};function p5(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(Ct(t))i=KA(t,r.props.value)>-1;else if(Zh(t))i=t.has(r.props.value);else{if(t===n)return;i=cu(t,eK(e,!0))}e.checked!==i&&(e.checked=i)}const Que={created(e,{value:t},n){e.checked=cu(t,n.props.value),e[To]=du(n),Il(e,"change",()=>{e[To](_h(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[To]=du(r),t!==n&&(e.checked=cu(t,r.props.value))}},Jue={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Zh(t);Il(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Nx(_h(a)):_h(a));e[To](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,_t(()=>{e._assigning=!1})}),e[To]=du(r)},mounted(e,{value:t}){g5(e,t)},beforeUpdate(e,t,n){e[To]=du(n)},updated(e,{value:t}){e._assigning||g5(e,t)}};function g5(e,t){const n=e.multiple,r=Ct(t);if(!(n&&!r&&!Zh(t))){for(let i=0,o=e.options.length;iString(u)===String(l)):a.selected=KA(t,l)>-1}else a.selected=t.has(l);else if(cu(_h(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function _h(e){return"_value"in e?e._value:e.value}function eK(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Pht={created(e,t,n){Oy(e,t,n,null,"created")},mounted(e,t,n){Oy(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Oy(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Oy(e,t,n,r,"updated")}};function ece(e,t){switch(e){case"SELECT":return Jue;case"TEXTAREA":return v5;default:switch(t){case"checkbox":return Zue;case"radio":return Que;default:return v5}}}function Oy(e,t,n,r,i){const a=ece(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}const tce=["ctrl","shift","alt","meta"],nce={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tce.some(n=>e[`${n}Key`]&&!t.includes(n))},m5=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=_u(i.key);if(t.some(a=>a===o||rce[a]===o))return e(i)})},ice=Bn({patchProp:Hue},_ue);let y5;function tK(){return y5||(y5=oue(ice))}const fu=(...e)=>{tK().render(...e)},nK=(...e)=>{const t=tK().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=ace(r);if(!i)return;const o=t._component;!Et(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=n(i,!1,oce(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function oce(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ace(e){return Fn(e)?document.querySelector(e):e}const lce="modulepreload",sce=function(e,t){return new URL(e,t).href},b5={},ol=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=sce(o,r),o in b5)return;b5[o]=!0;const a=o.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===o&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":lce,a||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),a)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Af=typeof document!="undefined";function rK(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uce(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&rK(e.default)}const sn=Object.assign;function v$(e,t){const n={};for(const r in t){const i=t[r];n[r]=oa(i)?i.map(e):e(i)}return n}const zp=()=>{},oa=Array.isArray;function S5(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const iK=/#/g,cce=/&/g,dce=/\//g,fce=/=/g,hce=/\?/g,oK=/\+/g,vce=/%5B/g,pce=/%5D/g,aK=/%5E/g,gce=/%60/g,lK=/%7B/g,mce=/%7C/g,sK=/%7D/g,yce=/%20/g;function uO(e){return e==null?"":encodeURI(""+e).replace(mce,"|").replace(vce,"[").replace(pce,"]")}function bce(e){return uO(e).replace(lK,"{").replace(sK,"}").replace(aK,"^")}function bI(e){return uO(e).replace(oK,"%2B").replace(yce,"+").replace(iK,"%23").replace(cce,"%26").replace(gce,"`").replace(lK,"{").replace(sK,"}").replace(aK,"^")}function Sce(e){return bI(e).replace(fce,"%3D")}function xce(e){return uO(e).replace(iK,"%23").replace(hce,"%3F")}function wce(e){return xce(e).replace(dce,"%2F")}function Og(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Cce=/\/$/,$ce=e=>e.replace(Cce,"");function p$(e,t,n="/"){let r,i={},o="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return s=l>=0&&s>l?-1:s,s>=0&&(r=t.slice(0,s),o=t.slice(s,l>0?l:t.length),i=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=Pce(r!=null?r:t,n),{fullPath:r+o+a,path:r,query:i,hash:Og(a)}}function _ce(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function x5(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Tce(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&_h(t.matched[r],n.matched[i])&&uK(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _h(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function uK(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ice(e[n],t[n]))return!1;return!0}function Ice(e,t){return oa(e)?w5(e,t):oa(t)?w5(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function w5(e,t){return oa(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Pce(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const bs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let SI=function(e){return e.pop="pop",e.push="push",e}({}),g$=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Mce(e){if(!e)if(Af){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$ce(e)}const Ace=/^[^#]+#/;function Oce(e,t){return e.replace(Ace,"#")+t}function Dce(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ux=()=>({left:window.scrollX,top:window.scrollY});function Ece(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Dce(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function C5(e,t){return(history.state?history.state.position-t:-1)+e}const xI=new Map;function Rce(e,t){xI.set(e,t)}function Lce(e){const t=xI.get(e);return xI.delete(e),t}function Nce(e){return typeof e=="string"||e&&typeof e=="object"}function cK(e){return typeof e=="string"||typeof e=="symbol"}let En=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const dK=Symbol("");En.MATCHER_NOT_FOUND+"",En.NAVIGATION_GUARD_REDIRECT+"",En.NAVIGATION_ABORTED+"",En.NAVIGATION_CANCELLED+"",En.NAVIGATION_DUPLICATED+"";function Th(e,t){return sn(new Error,{type:e,[dK]:!0},t)}function cl(e,t){return e instanceof Error&&dK in e&&(t==null||!!(e.type&t))}const kce=["params","query","hash"];function Bce(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of kce)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Fce(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&bI(i)):[r&&bI(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function zce(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=oa(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Hce=Symbol(""),_5=Symbol(""),Xx=Symbol(""),cO=Symbol(""),wI=Symbol("");function Dv(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ns(e,t,n,r,i,o=a=>a()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,s)=>{const u=f=>{f===!1?s(Th(En.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?s(f):Nce(f)?s(Th(En.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(a&&r.enterCallbacks[i]===a&&typeof f=="function"&&a.push(f),l())},c=o(()=>e.call(r&&r.instances[i],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>s(f))})}function m$(e,t,n,r,i=o=>o()){const o=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(rK(s)){const u=(s.__vccOpts||s)[t];u&&o.push(Ns(u,n,r,a,l,i))}else{let u=s();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const d=uce(c)?c.default:c;a.mods[l]=c,a.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&Ns(f,n,r,a,l,i)()}))}}return o}function Vce(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a_h(u,l))?r.push(l):n.push(l));const s=e.matched[a];s&&(t.matched.find(u=>_h(u,s))||i.push(s))}return[n,r,i]}/*! + */const Of=typeof document!="undefined";function rK(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uce(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&rK(e.default)}const sn=Object.assign;function v$(e,t){const n={};for(const r in t){const i=t[r];n[r]=aa(i)?i.map(e):e(i)}return n}const Hp=()=>{},aa=Array.isArray;function S5(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const iK=/#/g,cce=/&/g,dce=/\//g,fce=/=/g,hce=/\?/g,oK=/\+/g,vce=/%5B/g,pce=/%5D/g,aK=/%5E/g,gce=/%60/g,lK=/%7B/g,mce=/%7C/g,sK=/%7D/g,yce=/%20/g;function uO(e){return e==null?"":encodeURI(""+e).replace(mce,"|").replace(vce,"[").replace(pce,"]")}function bce(e){return uO(e).replace(lK,"{").replace(sK,"}").replace(aK,"^")}function bI(e){return uO(e).replace(oK,"%2B").replace(yce,"+").replace(iK,"%23").replace(cce,"%26").replace(gce,"`").replace(lK,"{").replace(sK,"}").replace(aK,"^")}function Sce(e){return bI(e).replace(fce,"%3D")}function xce(e){return uO(e).replace(iK,"%23").replace(hce,"%3F")}function wce(e){return xce(e).replace(dce,"%2F")}function Dg(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Cce=/\/$/,$ce=e=>e.replace(Cce,"");function p$(e,t,n="/"){let r,i={},o="",a="";const l=t.indexOf("#");let s=t.indexOf("?");return s=l>=0&&s>l?-1:s,s>=0&&(r=t.slice(0,s),o=t.slice(s,l>0?l:t.length),i=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=Pce(r!=null?r:t,n),{fullPath:r+o+a,path:r,query:i,hash:Dg(a)}}function _ce(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function x5(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Tce(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Th(t.matched[r],n.matched[i])&&uK(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Th(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function uK(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ice(e[n],t[n]))return!1;return!0}function Ice(e,t){return aa(e)?w5(e,t):aa(t)?w5(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function w5(e,t){return aa(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Pce(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const bs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let SI=function(e){return e.pop="pop",e.push="push",e}({}),g$=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Mce(e){if(!e)if(Of){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$ce(e)}const Ace=/^[^#]+#/;function Oce(e,t){return e.replace(Ace,"#")+t}function Dce(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ux=()=>({left:window.scrollX,top:window.scrollY});function Ece(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Dce(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function C5(e,t){return(history.state?history.state.position-t:-1)+e}const xI=new Map;function Rce(e,t){xI.set(e,t)}function Lce(e){const t=xI.get(e);return xI.delete(e),t}function Nce(e){return typeof e=="string"||e&&typeof e=="object"}function cK(e){return typeof e=="string"||typeof e=="symbol"}let En=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const dK=Symbol("");En.MATCHER_NOT_FOUND+"",En.NAVIGATION_GUARD_REDIRECT+"",En.NAVIGATION_ABORTED+"",En.NAVIGATION_CANCELLED+"",En.NAVIGATION_DUPLICATED+"";function Ih(e,t){return sn(new Error,{type:e,[dK]:!0},t)}function dl(e,t){return e instanceof Error&&dK in e&&(t==null||!!(e.type&t))}const kce=["params","query","hash"];function Bce(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of kce)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Fce(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&bI(i)):[r&&bI(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function zce(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=aa(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Hce=Symbol(""),_5=Symbol(""),Xx=Symbol(""),cO=Symbol(""),wI=Symbol("");function Ev(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ns(e,t,n,r,i,o=a=>a()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((l,s)=>{const u=f=>{f===!1?s(Ih(En.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?s(f):Nce(f)?s(Ih(En.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(a&&r.enterCallbacks[i]===a&&typeof f=="function"&&a.push(f),l())},c=o(()=>e.call(r&&r.instances[i],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>s(f))})}function m$(e,t,n,r,i=o=>o()){const o=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(rK(s)){const u=(s.__vccOpts||s)[t];u&&o.push(Ns(u,n,r,a,l,i))}else{let u=s();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const d=uce(c)?c.default:c;a.mods[l]=c,a.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&Ns(f,n,r,a,l,i)()}))}}return o}function Vce(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aTh(u,l))?r.push(l):n.push(l));const s=e.matched[a];s&&(t.matched.find(u=>Th(u,s))||i.push(s))}return[n,r,i]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let Wce=()=>location.protocol+"//"+location.host;function fK(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),x5(l,"")}return x5(n,e)+r+i}function jce(e,t,n,r){let i=[],o=[],a=null;const l=({state:f})=>{const h=fK(e,location),v=n.value,p=t.value;let g=0;if(f){if(n.value=h,t.value=f,a&&a===v){a=null;return}g=p?f.position-p.position:0}else r(h);i.forEach(m=>{m(n.value,v,{delta:g,type:SI.pop,direction:g?g>0?g$.forward:g$.back:g$.unknown})})};function s(){a=n.value}function u(f){i.push(f);const h=()=>{const v=i.indexOf(f);v>-1&&i.splice(v,1)};return o.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(sn({},f.state,{scroll:Ux()}),"")}}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:s,listen:u,destroy:d}}function T5(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ux():null}}function Gce(e){const{history:t,location:n}=window,r={value:fK(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(s,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:Wce()+e+s;try{t[c?"replaceState":"pushState"](u,"",f),i.value=u}catch(h){console.error(h),n[c?"replace":"assign"](f)}}function a(s,u){o(s,sn({},t.state,T5(i.value.back,s,i.value.forward,!0),u,{position:i.value.position}),!0),r.value=s}function l(s,u){const c=sn({},i.value,t.state,{forward:s,scroll:Ux()});o(c.current,c,!0),o(s,sn({},T5(r.value,s,null),{position:c.position+1},u),!1),r.value=s}return{location:r,state:i,push:l,replace:a}}function Kce(e){e=Mce(e);const t=Gce(e),n=jce(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const i=sn({location:"",base:e,go:r,createHref:Oce.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Uce(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Kce(e)}let Lc=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ar=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(ar||{});const Xce={type:Lc.Static,value:""},Yce=/[a-zA-Z0-9_]/;function qce(e){if(!e)return[[]];if(e==="/")return[[Xce]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=ar.Static,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let l=0,s,u="",c="";function d(){u&&(n===ar.Static?o.push({type:Lc.Static,value:u}):n===ar.Param||n===ar.ParamRegExp||n===ar.ParamRegExpEnd?(o.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Lc.Param,value:u,regexp:c,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}for(;lt.length?t.length===1&&t[0]===ni.Static+ni.Segment?1:-1:0}function hK(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const tde={strict:!1,end:!0,sensitive:!1};function nde(e,t,n){const r=Jce(qce(e.path),n),i=sn(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function rde(e,t){const n=[],r=new Map;t=S5(tde,t);function i(d){return r.get(d)}function o(d,f,h){const v=!h,p=A5(d);p.aliasOf=h&&h.record;const g=S5(t,d),m=[p];if("alias"in d){const S=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of S)m.push(A5(sn({},p,{components:h?h.record.components:p.components,path:x,aliasOf:h?h.record:p})))}let y,b;for(const S of m){const{path:x}=S;if(f&&x[0]!=="/"){const $=f.record.path,C=$[$.length-1]==="/"?"":"/";S.path=f.record.path+(x&&C+x)}if(y=nde(S,f,g),h?h.alias.push(y):(b=b||y,b!==y&&b.alias.push(y),v&&d.name&&!O5(y)&&a(d.name)),vK(y)&&s(y),p.children){const $=p.children;for(let C=0;C<$.length;C++)o($[C],y,h&&h.children[C])}h=h||y}return b?()=>{a(b)}:zp}function a(d){if(cK(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function l(){return n}function s(d){const f=ade(d,n);n.splice(f,0,d),d.record.name&&!O5(d)&&r.set(d.record.name,d)}function u(d,f){let h,v={},p,g;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Th(En.MATCHER_NOT_FOUND,{location:d});g=h.record.name,v=sn(M5(f.params,h.keys.filter(b=>!b.optional).concat(h.parent?h.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),d.params&&M5(d.params,h.keys.map(b=>b.name))),p=h.stringify(v)}else if(d.path!=null)p=d.path,h=n.find(b=>b.re.test(p)),h&&(v=h.parse(p),g=h.record.name);else{if(h=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!h)throw Th(En.MATCHER_NOT_FOUND,{location:d,currentLocation:f});g=h.record.name,v=sn({},f.params,d.params),p=h.stringify(v)}const m=[];let y=h;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:p,params:v,matched:m,meta:ode(m)}}e.forEach(d=>o(d));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:l,getRecordMatcher:i}}function M5(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function A5(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ide(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ide(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function O5(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ode(e){return e.reduce((t,n)=>sn(t,n.meta),{})}function ade(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;hK(e,t[o])<0?r=o:n=o+1}const i=lde(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function lde(e){let t=e;for(;t=t.parent;)if(vK(t)&&hK(e,t)===0)return t}function vK({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function D5(e){const t=Je(Xx),n=Je(cO),r=L(()=>{const s=yn(e.to);return t.resolve(s)}),i=L(()=>{const{matched:s}=r.value,{length:u}=s,c=s[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(_h.bind(null,c));if(f>-1)return f;const h=E5(s[u-2]);return u>1&&E5(c)===h&&d[d.length-1].path!==h?d.findIndex(_h.bind(null,s[u-2])):f}),o=L(()=>i.value>-1&&fde(n.params,r.value.params)),a=L(()=>i.value>-1&&i.value===n.matched.length-1&&uK(n.params,r.value.params));function l(s={}){if(dde(s)){const u=t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(zp);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:o,isExactActive:a,navigate:l}}function sde(e){return e.length===1?e[0]:e}const ude=se({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:D5,setup(e,{slots:t}){const n=Bt(D5(e)),{options:r}=Je(Xx),i=L(()=>({[R5(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[R5(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&sde(t.default(n));return e.custom?o:Wl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),cde=ude;function dde(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fde(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!oa(i)||i.length!==r.length||r.some((o,a)=>o.valueOf()!==i[a].valueOf()))return!1}return!0}function E5(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const R5=(e,t,n)=>e!=null?e:t!=null?t:n,hde=se({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Je(wI),i=L(()=>e.route||r.value),o=Je(_5,0),a=L(()=>{let u=yn(o);const{matched:c}=i.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=L(()=>i.value.matched[a.value]);at(_5,L(()=>a.value+1)),at(Hce,l),at(wI,i);const s=ue();return Se(()=>[s.value,l.value,e.name],([u,c,d],[f,h,v])=>{c&&(c.instances[d]=u,h&&h!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!_h(c,h)||!f)&&(c.enterCallbacks[d]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,d=l.value,f=d&&d.components[c];if(!f)return L5(n.default,{Component:f,route:u});const h=d.props[c],v=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=Wl(f,sn({},v,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[c]=null)},ref:s}));return L5(n.default,{Component:g,route:u})||g}}});function L5(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vde=hde;function pde(e){const t=rde(e.routes,e),n=e.parseQuery||Fce,r=e.stringifyQuery||$5,i=e.history,o=Dv(),a=Dv(),l=Dv(),s=ae(bs);let u=bs;Af&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=v$.bind(null,q=>""+q),d=v$.bind(null,wce),f=v$.bind(null,Og);function h(q,ee){let J,G;return cK(q)?(J=t.getRecordMatcher(q),G=ee):G=q,t.addRoute(G,J)}function v(q){const ee=t.getRecordMatcher(q);ee&&t.removeRoute(ee)}function p(){return t.getRoutes().map(q=>q.record)}function g(q){return!!t.getRecordMatcher(q)}function m(q,ee){if(ee=sn({},ee||s.value),typeof q=="string"){const Z=p$(n,q,ee.path),ne=t.resolve({path:Z.path},ee),re=i.createHref(Z.fullPath);return sn(Z,ne,{params:f(ne.params),hash:Og(Z.hash),redirectedFrom:void 0,href:re})}let J;if(q.path!=null)J=sn({},q,{path:p$(n,q.path,ee.path).path});else{const Z=sn({},q.params);for(const ne in Z)Z[ne]==null&&delete Z[ne];J=sn({},q,{params:d(Z)}),ee.params=d(ee.params)}const G=t.resolve(J,ee),Y=q.hash||"";G.params=c(f(G.params));const oe=_ce(r,sn({},q,{hash:bce(Y),path:G.path})),W=i.createHref(oe);return sn({fullPath:oe,hash:Y,query:r===$5?zce(q.query):q.query||{}},G,{redirectedFrom:void 0,href:W})}function y(q){return typeof q=="string"?p$(n,q,s.value.path):sn({},q)}function b(q,ee){if(u!==q)return Th(En.NAVIGATION_CANCELLED,{from:ee,to:q})}function S(q){return C(q)}function x(q){return S(sn(y(q),{replace:!0}))}function $(q,ee){const J=q.matched[q.matched.length-1];if(J&&J.redirect){const{redirect:G}=J;let Y=typeof G=="function"?G(q,ee):G;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=y(Y):{path:Y},Y.params={}),sn({query:q.query,hash:q.hash,params:Y.path!=null?{}:q.params},Y)}}function C(q,ee){const J=u=m(q),G=s.value,Y=q.state,oe=q.force,W=q.replace===!0,Z=$(J,G);if(Z)return C(sn(y(Z),{state:typeof Z=="object"?sn({},Y,Z.state):Y,force:oe,replace:W}),ee||J);const ne=J;ne.redirectedFrom=ee;let re;return!oe&&Tce(r,G,J)&&(re=Th(En.NAVIGATION_DUPLICATED,{to:ne,from:G}),H(G,G,!0,!1)),(re?Promise.resolve(re):P(ne,G)).catch(le=>cl(le)?cl(le,En.NAVIGATION_GUARD_REDIRECT)?le:F(le):N(le,ne,G)).then(le=>{if(le){if(cl(le,En.NAVIGATION_GUARD_REDIRECT))return C(sn({replace:W},y(le.to),{state:typeof le.to=="object"?sn({},Y,le.to.state):Y,force:oe}),ee||ne)}else le=O(ne,G,!0,W,Y);return M(ne,G,le),le})}function T(q,ee){const J=b(q,ee);return J?Promise.reject(J):Promise.resolve()}function I(q){const ee=Q.values().next().value;return ee&&typeof ee.runWithContext=="function"?ee.runWithContext(q):q()}function P(q,ee){let J;const[G,Y,oe]=Vce(q,ee);J=m$(G.reverse(),"beforeRouteLeave",q,ee);for(const Z of G)Z.leaveGuards.forEach(ne=>{J.push(Ns(ne,q,ee))});const W=T.bind(null,q,ee);return J.push(W),te(J).then(()=>{J=[];for(const Z of o.list())J.push(Ns(Z,q,ee));return J.push(W),te(J)}).then(()=>{J=m$(Y,"beforeRouteUpdate",q,ee);for(const Z of Y)Z.updateGuards.forEach(ne=>{J.push(Ns(ne,q,ee))});return J.push(W),te(J)}).then(()=>{J=[];for(const Z of oe)if(Z.beforeEnter)if(oa(Z.beforeEnter))for(const ne of Z.beforeEnter)J.push(Ns(ne,q,ee));else J.push(Ns(Z.beforeEnter,q,ee));return J.push(W),te(J)}).then(()=>(q.matched.forEach(Z=>Z.enterCallbacks={}),J=m$(oe,"beforeRouteEnter",q,ee,I),J.push(W),te(J))).then(()=>{J=[];for(const Z of a.list())J.push(Ns(Z,q,ee));return J.push(W),te(J)}).catch(Z=>cl(Z,En.NAVIGATION_CANCELLED)?Z:Promise.reject(Z))}function M(q,ee,J){l.list().forEach(G=>I(()=>G(q,ee,J)))}function O(q,ee,J,G,Y){const oe=b(q,ee);if(oe)return oe;const W=ee===bs,Z=Af?history.state:{};J&&(G||W?i.replace(q.fullPath,sn({scroll:W&&Z&&Z.scroll},Y)):i.push(q.fullPath,Y)),s.value=q,H(q,ee,J,W),F()}let D;function R(){D||(D=i.listen((q,ee,J)=>{if(!K.listening)return;const G=m(q),Y=$(G,K.currentRoute.value);if(Y){C(sn(Y,{replace:!0,force:!0}),G).catch(zp);return}u=G;const oe=s.value;Af&&Rce(C5(oe.fullPath,J.delta),Ux()),P(G,oe).catch(W=>cl(W,En.NAVIGATION_ABORTED|En.NAVIGATION_CANCELLED)?W:cl(W,En.NAVIGATION_GUARD_REDIRECT)?(C(sn(y(W.to),{force:!0}),G).then(Z=>{cl(Z,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===SI.pop&&i.go(-1,!1)}).catch(zp),Promise.reject()):(J.delta&&i.go(-J.delta,!1),N(W,G,oe))).then(W=>{W=W||O(G,oe,!1),W&&(J.delta&&!cl(W,En.NAVIGATION_CANCELLED)?i.go(-J.delta,!1):J.type===SI.pop&&cl(W,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),M(G,oe,W)}).catch(zp)}))}let A=Dv(),E=Dv(),k;function N(q,ee,J){F(q);const G=E.list();return G.length?G.forEach(Y=>Y(q,ee,J)):console.error(q),Promise.reject(q)}function B(){return k&&s.value!==bs?Promise.resolve():new Promise((q,ee)=>{A.add([q,ee])})}function F(q){return k||(k=!q,R(),A.list().forEach(([ee,J])=>q?J(q):ee()),A.reset()),q}function H(q,ee,J,G){const{scrollBehavior:Y}=e;if(!Af||!Y)return Promise.resolve();const oe=!J&&Lce(C5(q.fullPath,0))||(G||!J)&&history.state&&history.state.scroll||null;return _t().then(()=>Y(q,ee,oe)).then(W=>W&&Ece(W)).catch(W=>N(W,q,ee))}const V=q=>i.go(q);let X;const Q=new Set,K={currentRoute:s,listening:!0,addRoute:h,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:p,resolve:m,options:e,push:S,replace:x,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:E.add,isReady:B,install(q){q.component("RouterLink",cde),q.component("RouterView",vde),q.config.globalProperties.$router=K,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(s)}),Af&&!X&&s.value===bs&&(X=!0,S(i.location).catch(G=>{}));const ee={};for(const G in bs)Object.defineProperty(ee,G,{get:()=>s.value[G],enumerable:!0});q.provide(Xx,K),q.provide(cO,Jj(ee)),q.provide(wI,s);const J=q.unmount;Q.add(q),q.unmount=function(){Q.delete(q),Q.size<1&&(u=bs,D&&D(),D=null,s.value=bs,X=!1,k=!1),J()}}};function te(q){return q.reduce((ee,J)=>ee.then(()=>I(J)),Promise.resolve())}return K}function Mht(){return Je(Xx)}function Aht(e){return Je(cO)}const Dy="Authorization",gde=["/","/screen2","/screen2/"];function mde(){const e=window.location.hostname;if(!e||/^\d{1,3}(\.\d{1,3}){3}$/.test(e))return e?[e]:[];const t=e.split(".").filter(Boolean),n=new Set([e,`.${e}`]);if(t.length>2){const r=t.slice(-2).join(".");n.add(r),n.add(`.${r}`)}return Array.from(n)}function yde(e){return encodeURIComponent(e||"/platform")}function pK(){const e=mde();gde.forEach(t=>{document.cookie=`${Dy}=; Max-Age=0; path=${t}`,document.cookie=`${Dy}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=${t}`,e.forEach(n=>{document.cookie=`${Dy}=; Max-Age=0; path=${t}; domain=${n}`,document.cookie=`${Dy}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=${t}; domain=${n}`})})}function gK(e=window.location.hash.replace(/^#/,"")||"/platform"){return`/login?redirect=${yde(e)}`}function CI(e){pK();const t=gK(e);window.location.hash.replace(/^#/,"")!==t&&(window.location.hash=t)}function Oht(e,t){return ms(this,null,function*(){pK();const n=yield fetch("/login",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json",Accept:"application/json","Content-Language":"zh_CN"},body:JSON.stringify({username:e,password:t})}),r=yield n.json().catch(()=>({}));if(!n.ok||(r==null?void 0:r.code)!==200){const i=new Error((r==null?void 0:r.msg)||"登录失败,请检查用户名或密码。");throw i.status=n.status,i.code=r==null?void 0:r.code,i}return r})}function Dht(){return ms(this,null,function*(){const e=yield fetch("/auth/status",{credentials:"include",headers:{Accept:"application/json"}}),t=yield e.json().catch(()=>({}));if(!e.ok||(t==null?void 0:t.code)!==200)throw new Error((t==null?void 0:t.msg)||"认证状态检查失败。");return t.data||{}})}function Eht(){return ms(this,null,function*(){yield fetch("/logout",{method:"POST",credentials:"include",headers:{Accept:"application/json","Content-Type":"application/json","Content-Language":"zh_CN"},body:"{}"}).catch(()=>null),CI("/platform")})}function bde(){return ms(this,null,function*(){const e=yield fetch("/getInfo",{credentials:"include",headers:{Accept:"application/json","Content-Language":"zh_CN"}}),t=yield e.json().catch(()=>({}));if(!e.ok||(t==null?void 0:t.code)!==200){const n=new Error((t==null?void 0:t.msg)||"用户未登录或授权已过期。");throw n.status=e.status||401,n.code=(t==null?void 0:t.code)||401,n}return t.data})}const Sde=12e3;function xde(e,t={}){const n=new URLSearchParams;Object.entries(t).forEach(([i,o])=>{o!=null&&o!==""&&n.append(i,o)});const r=n.toString();return r?`${e}${e.includes("?")?"&":"?"}${r}`:e}function wde(n){return ms(this,arguments,function*(e,t={}){const u=t,{params:r,timeout:i=Sde}=u,o=TL(u,["params","timeout"]),a=new AbortController;let l=!1;const s=window.setTimeout(()=>{l=!0,a.abort()},i);try{const c=yield fetch(xde(e,r),t$(_y({credentials:"include"},o),{signal:a.signal,headers:_y({Accept:"application/json"},o.headers||{})}));if(!c.ok){const f=new Error(c.status===401?"用户未登录或授权已过期。":`HTTP ${c.status}`);throw f.code=`HTTP_${c.status}`,f.status=c.status,c.status===401&&CI(),f}const d=yield c.json();if((d==null?void 0:d.code)===401||(d==null?void 0:d.code)==="401"){const f=new Error((d==null?void 0:d.msg)||"用户未登录或授权已过期。");throw f.code="HTTP_401",f.status=401,CI(),f}return d}catch(c){if(a.signal.aborted||(c==null?void 0:c.name)==="AbortError"||/aborted/i.test((c==null?void 0:c.message)||"")){const f=new Error(l?"服务响应超时,请稍后再试。":"请求已取消,请重新发送。");throw f.code=l?"REQUEST_TIMEOUT":"REQUEST_ABORTED",f}throw c}finally{window.clearTimeout(s)}})}function Rht(e){return(e==null?void 0:e.data)!==void 0?e.data:(e==null?void 0:e.result)!==void 0?e.result:e}const Cde="/admin";function il(n){return ms(this,arguments,function*(e,t={}){var a,l,s;const r=yield wde(`${Cde}${e}`,t),i=(a=r==null?void 0:r.data)!=null?a:r,o=Number((s=(l=i==null?void 0:i.code)!=null?l:r==null?void 0:r.code)!=null?s:200);if(o!==200){const u=new Error((i==null?void 0:i.message)||(r==null?void 0:r.message)||"后台服务请求失败。");throw u.code=o,u.status=o,u}return i})}function Lm(e,t){return{method:e,headers:{"Content-Type":"application/json"},body:JSON.stringify(t||{})}}function $de(){return il("/current")}function Lht(){return il("/options")}function Nht(e){return il("/users",{params:e})}function kht(e){return il("/users",Lm("POST",e))}function Bht(e){return il("/users/update",Lm("PUT",e))}function Fht(e){return il("/users/status",Lm("PUT",e))}function zht(e){return il("/users/password",Lm("PUT",e))}function Hht(e){return il("/users",Lm("DELETE",{userId:e}))}function Vht(e){return il("/operation-logs",{params:e})}function Wht(e){return il("/login-logs",{params:e})}const $I="v3:chunk-load-recovery",_de=6e4,Tde=1e4,Ide=[/Failed to fetch dynamically imported module/i,/Importing a module script failed/i,/error loading dynamically imported module/i,/Loading chunk [\w-]+ failed/i];function Pde(e){return String((e==null?void 0:e.message)||e||"")}function Mde(){return`${window.location.pathname}${window.location.hash}`}function mK(e){if(typeof window=="undefined"||!Ide.some(o=>o.test(Pde(e))))return!1;const t=Date.now(),n=Mde();let r=null;try{r=JSON.parse(window.sessionStorage.getItem($I)||"null")}catch(o){r=null}if((r==null?void 0:r.pageKey)===n&&t-Number((r==null?void 0:r.timestamp)||0)<_de)return console.error("[V3] 页面资源仍未就绪,已停止自动刷新。",e),!0;try{window.sessionStorage.setItem($I,JSON.stringify({pageKey:n,timestamp:t}))}catch(o){}const i=new URL(window.location.href);return i.searchParams.set("_v3_reload",String(t)),window.location.replace(i.href),!0}function Ade(){typeof window!="undefined"&&window.setTimeout(()=>{try{window.sessionStorage.removeItem($I)}catch(e){}},Tde)}const N5=()=>ns(()=>import("./index-a11fe06e-1786725044461.js"),["./index-a11fe06e-1786725044461.js","./index-db918426-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-338ef130-balabala-1786725044461.css"],import.meta.url),Ode=()=>ns(()=>import("./index-7ace4f0d-1786725044461.js"),["./index-7ace4f0d-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-f4d712b0-balabala-1786725044461.css"],import.meta.url),Dde=()=>ns(()=>import("./index-e38950d5-1786725044461.js"),["./index-e38950d5-1786725044461.js","./index.esm.min-90d27a39-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./screen2Standard-3427eaf8-1786725044461.js","./index-db918426-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./chartTheme-31546a07-1786725044461.js","./index-8d752fbe-balabala-1786725044461.css"],import.meta.url),Ede=()=>ns(()=>import("./index-e56f8284-1786725044461.js"),["./index-e56f8284-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-01de7c66-balabala-1786725044461.css"],import.meta.url),Rde=()=>ns(()=>import("./AdminLayout-65f8f230-1786725044461.js"),["./AdminLayout-65f8f230-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./AdminLayout-a2b9311f-balabala-1786725044461.css"],import.meta.url),Lde=()=>ns(()=>import("./UserManagement-55ee5757-1786725044461.js"),["./UserManagement-55ee5757-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./UserManagement-03008e91-balabala-1786725044461.css","./admin-pages-c250a1ad-balabala-1786725044461.css"],import.meta.url),Nde=()=>ns(()=>import("./OperationLogs-5fb909d8-1786725044461.js"),["./OperationLogs-5fb909d8-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./OperationLogs-2a1ead4a-balabala-1786725044461.css","./admin-pages-c250a1ad-balabala-1786725044461.css"],import.meta.url),kde=()=>ns(()=>import("./LoginLogs-bb7668a2-1786725044461.js"),["./LoginLogs-bb7668a2-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./LoginLogs-100aa744-balabala-1786725044461.css","./admin-pages-c250a1ad-balabala-1786725044461.css"],import.meta.url),Bde=()=>ns(()=>import("./AdminForbidden-22d59179-1786725044461.js"),["./AdminForbidden-22d59179-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./AdminForbidden-17545195-balabala-1786725044461.css"],import.meta.url),dO=pde({history:Uce(),routes:[{path:"/",redirect:"/platform"},{path:"/v3-isolation",component:Ede,meta:{public:!0,alwaysPublic:!0}},{path:"/login",component:Ode,meta:{public:!0}},{path:"/platform",component:N5},{path:"/forest-grass-wet",component:N5},{path:"/chart-style-guide",component:Dde},{path:"/admin/forbidden",component:Bde},{path:"/admin",component:Rde,redirect:"/admin/users",meta:{admin:!0},children:[{path:"users",name:"admin-users",component:Lde,meta:{title:"用户管理"}},{path:"operation-logs",name:"admin-operation-logs",component:Nde,meta:{title:"操作日志"}},{path:"login-logs",name:"admin-login-logs",component:kde,meta:{title:"登录日志"}}]},{path:"/:pathMatch(.*)",redirect:"/platform"}]});dO.onError(e=>{mK(e)||console.error("[V3] 路由加载失败。",e)});let Hp=null,xb=null;dO.beforeEach(e=>ms(void 0,null,function*(){if(e.meta.alwaysPublic)return!0;if(e.meta.public){try{return yield k5(),e.query.redirect?decodeURIComponent(e.query.redirect):"/platform"}catch(t){Hp=null}return!0}try{if(yield k5(),e.matched.some(t=>t.meta.admin))try{yield Fde()}catch(t){if(xb=null,Number((t==null?void 0:t.status)||(t==null?void 0:t.code))===403)return"/admin/forbidden";throw t}return!0}catch(t){return Hp=null,gK(e.fullPath)}}));function k5(){return Hp||(Hp=bde()),Hp}function Fde(){return xb||(xb=$de()),xb}const yK={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t=A?R:""+Array(A+1-k.length).join(E)+R},S={s:b,z:function(R){var A=-R.utcOffset(),E=Math.abs(A),k=Math.floor(E/60),N=E%60;return(A<=0?"+":"-")+b(k,2,"0")+":"+b(N,2,"0")},m:function R(A,E){if(A.date()1)return R(F[0])}else{var H=A.name;$[H]=A,N=H}return!k&&N&&(x=N),N||!k&&x},P=function(R,A){if(T(R))return R.clone();var E=typeof A=="object"?A:{};return E.date=R,E.args=arguments,new O(E)},M=S;M.l=I,M.i=T,M.w=function(R,A){return P(R,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var O=function(){function R(E){this.$L=I(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[C]=!0}var A=R.prototype;return A.parse=function(E){this.$d=function(k){var N=k.date,B=k.utc;if(N===null)return new Date(NaN);if(M.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var F=N.match(g);if(F){var H=F[2]-1||0,V=(F[7]||"0").substring(0,3);return B?new Date(Date.UTC(F[1],H,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)):new Date(F[1],H,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)}}return new Date(N)}(E),this.init()},A.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},A.$utils=function(){return M},A.isValid=function(){return this.$d.toString()!==p},A.isSame=function(E,k){var N=P(E);return this.startOf(k)<=N&&N<=this.endOf(k)},A.isAfter=function(E,k){return P(E){const r=BL("router-view"),i=BL("a-config-provider");return R1(),N1(i,{locale:yn(jde)},{default:uG(()=>[w(r)]),_:1},8,["locale"])}}};function Dg(e){"@babel/helpers - typeof";return Dg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dg(e)}function Xde(e,t){if(Dg(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Dg(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yde(e){var t=Xde(e,"string");return Dg(t)=="symbol"?t:t+""}function qde(e,t,n){return(t=Yde(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function z(e){for(var t=1;ttypeof e=="function",Zde=Array.isArray,Qde=e=>typeof e=="string",Jde=e=>e!==null&&typeof e=="object",efe=/^on[^a-z]/,tfe=e=>efe.test(e),fO=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nfe=/-(\w)/g,Pd=fO(e=>e.replace(nfe,(t,n)=>n?n.toUpperCase():"")),rfe=/\B([A-Z])/g,ife=fO(e=>e.replace(rfe,"-$1").toLowerCase()),ofe=fO(e=>e.charAt(0).toUpperCase()+e.slice(1)),afe=Object.prototype.hasOwnProperty,H5=(e,t)=>afe.call(e,t);function lfe(e,t,n,r){const i=e[n];if(i!=null){const o=H5(i,"default");if(o&&r===void 0){const a=i.default;r=i.type!==Function&&_I(a)?a():a}i.type===Boolean&&(!H5(t,n)&&!o?r=!1:r===""&&(r=!0))}return r}function sfe(e){return Object.keys(e).reduce((t,n)=>((n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n]),t),{})}function _c(e){return typeof e=="number"?`${e}px`:e}function zf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e!=null?e:n}function ufe(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}function ce(){const e=[];for(let t=0;t0},e.prototype.connect_=function(){!TI||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),pfe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!TI||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=vfe.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),CK=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),_K=typeof WeakMap!="undefined"?new WeakMap:new wK,TK=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=gfe.getInstance(),r=new Tfe(t,n,this);_K.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){TK.prototype[e]=function(){var t;return(t=_K.get(this))[e].apply(t,arguments)}});var Ife=function(){return typeof z1.ResizeObserver!="undefined"?z1.ResizeObserver:TK}();const hO=Ife,Pfe=e=>e!=null&&e!=="",II=Pfe,Mfe=(e,t)=>{const n=_({},e);return Object.keys(t).forEach(r=>{const i=n[r];if(i)i.type||i.default?i.default=t[r]:i.def?i.def(t[r]):n[r]={type:i,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},ft=Mfe,vO=e=>{const t=Object.keys(e),n={},r={},i={};for(let o=0,a=t.length;o0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},r=/;(?![^(]*\))/g,i=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(function(o){if(o){const a=o.split(i);if(a.length>1){const l=t?Pd(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},Il=(e,t)=>e[t]!==void 0,IK=Symbol("skipFlatten"),Jt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],r=[];return n.forEach(i=>{Array.isArray(i)?r.push(...Jt(i,t)):i&&i.type===Qe?i.key===IK?r.push(i):r.push(...Jt(i.children,t)):i&&Nn(i)?t&&!Nm(i)?r.push(i):t||r.push(i):II(i)&&r.push(i)}),r},qx=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Nn(e))return e.type===Qe?t==="default"?Jt(e.children):[]:e.children&&e.children[t]?Jt(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return Jt(r)}},ci=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},PK=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const i=e.$props[r],o=ife(r);(i!==void 0||o in n)&&(t[r]=i)})}else if(Nn(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(o=>{r[Pd(o)]=n[o]});const i=e.type.props||{};Object.keys(i).forEach(o=>{const a=lfe(i,r,o,r[o]);(a!==void 0||o in r)&&(t[o]=a)})}return t},MK=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i;if(e.$){const o=e[t];if(o!==void 0)return typeof o=="function"&&r?o(n):o;i=e.$slots[t],i=r&&i?i(n):i}else if(Nn(e)){const o=e.props&&e.props[t];if(o!==void 0&&e.props!==null)return typeof o=="function"&&r?o(n):o;e.type===Qe?i=e.children:e.children&&e.children[t]&&(i=e.children[t],i=r&&i?i(n):i)}return Array.isArray(i)&&(i=Jt(i),i=i.length===1?i[0]:i,i=i.length===0?void 0:i),i};function W5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=_(_({},n),e.$attrs):n=_(_({},n),e.props),vO(n)[t?"onEvents":"events"]}function Ofe(e){const n=((Nn(e)?e.props:e.$attrs)||{}).class||{};let r={};return typeof n=="string"?n.split(" ").forEach(i=>{r[i.trim()]=!0}):Array.isArray(n)?ce(n).split(" ").forEach(i=>{r[i.trim()]=!0}):r=_(_({},r),n),r}function AK(e,t){let r=((Nn(e)?e.props:e.$attrs)||{}).style||{};if(typeof r=="string")r=Afe(r,t);else if(t&&r){const i={};return Object.keys(r).forEach(o=>i[Pd(o)]=r[o]),i}return r}function Dfe(e){return e.length===1&&e[0].type===Qe}function Efe(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function Nm(e){return e&&(e.type===yr||e.type===Qe&&e.children.length===0||e.type===Tu&&e.children.trim()==="")}function Rfe(e){return e&&e.type===Tu}function xn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===Qe?t.push(...xn(n.children)):t.push(n)}),t.filter(n=>!Nm(n))}function Ev(e){if(e){const t=xn(e);return t.length?t:void 0}else return e}function zn(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function Un(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var r,i;return(r=t[n])!==null&&r!==void 0?r:(i=e[n])===null||i===void 0?void 0:i.call(e)}const Mo=se({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const r=Bt({width:0,height:0,offsetHeight:0,offsetWidth:0});let i=null,o=null;const a=()=>{o&&(o.disconnect(),o=null)},l=c=>{const{onResize:d}=e,f=c[0].target,{width:h,height:v}=f.getBoundingClientRect(),{offsetWidth:p,offsetHeight:g}=f,m=Math.floor(h),y=Math.floor(v);if(r.width!==m||r.height!==y||r.offsetWidth!==p||r.offsetHeight!==g){const b={width:m,height:y,offsetWidth:p,offsetHeight:g};_(r,b),d&&Promise.resolve().then(()=>{d(_(_({},b),{offsetWidth:p,offsetHeight:g}),f)})}},s=gr(),u=()=>{const{disabled:c}=e;if(c){a();return}const d=ci(s);d!==i&&(a(),i=d),!o&&d&&(o=new hO(l),o.observe(d))};return tt(()=>{u()}),Qr(()=>{u()}),Jr(()=>{a()}),Se(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});let OK=e=>setTimeout(e,16),DK=e=>clearTimeout(e);typeof window!="undefined"&&"requestAnimationFrame"in window&&(OK=e=>window.requestAnimationFrame(e),DK=e=>window.cancelAnimationFrame(e));let j5=0;const pO=new Map;function EK(e){pO.delete(e)}function dt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;j5+=1;const n=j5;function r(i){if(i===0)EK(n),e();else{const o=OK(()=>{r(i-1)});pO.set(n,o)}}return r(t),n}dt.cancel=e=>{const t=pO.get(e);return EK(t),DK(t)};function PI(e){let t;const n=i=>()=>{t=null,e(...i)},r=function(){if(t==null){for(var i=arguments.length,o=new Array(i),a=0;a{dt.cancel(t),t=null},r}const Ar=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function fd(){return{type:[Function,Array]}}function He(e){return{type:Object,default:e}}function $e(e){return{type:Boolean,default:e}}function be(e){return{type:Function,default:e}}function tn(e,t){const n={validator:()=>!0,default:e};return n}function Wr(){return{validator:()=>!0}}function Ot(e){return{type:Array,default:e}}function je(e){return{type:String,default:e}}function Xe(e,t){return e?{type:e,default:t}:tn(t)}let RK=!1;try{const e=Object.defineProperty({},"passive",{get(){RK=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(e){}const tr=RK;function bn(e,t,n,r){if(e&&e.addEventListener){let i=r;i===void 0&&tr&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(i={passive:!1}),e.addEventListener(t,n,i)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}function Ey(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function G5(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function K5(e,t,n){if(n!==void 0&&t.bottomr.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},Vp.push(n),LK.forEach(r=>{n.eventHandlers[r]=bn(e,r,()=>{n.affixList.forEach(i=>{const{lazyUpdatePosition:o}=i.exposed;o()},(r==="touchstart"||r==="touchmove")&&tr?{passive:!0}:!1)})}))}function X5(e){const t=Vp.find(n=>{const r=n.affixList.some(i=>i===e);return r&&(n.affixList=n.affixList.filter(i=>i!==e)),r});t&&t.affixList.length===0&&(Vp=Vp.filter(n=>n!==t),LK.forEach(n=>{const r=t.eventHandlers[n];r&&r.remove&&r.remove()}))}const gO="anticon",NK=Symbol("GlobalFormContextKey"),Nfe=e=>{at(NK,e)},kfe=()=>Je(NK,{validateMessages:L(()=>{})}),Bfe=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:He(),input:He(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:He(),pageHeader:He(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:He(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:He(),pagination:He(),theme:He(),select:He(),wave:He()}),mO=Symbol("configProvider"),kK={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:L(()=>gO),getPopupContainer:L(()=>()=>document.body),direction:L(()=>"ltr")},Zx=()=>Je(mO,kK),Ffe=e=>at(mO,e),BK=Symbol("DisabledContextKey"),Mi=()=>Je(BK,ue(void 0)),FK=e=>{const t=Mi();return at(BK,L(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},zK={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},zfe={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},Hfe=zfe,Vfe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},HK=Vfe,Wfe={lang:_({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Hfe),timePickerLocale:_({},HK)},Eg=Wfe,Bi="${label} is not a valid ${type}",jfe={locale:"en",Pagination:zK,DatePicker:Eg,TimePicker:HK,Calendar:Eg,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Bi,method:Bi,array:Bi,object:Bi,number:Bi,date:Bi,boolean:Bi,integer:Bi,float:Bi,regexp:Bi,email:Bi,url:Bi,hex:Bi},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},vi=jfe,Md=se({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=Je("localeData",{}),i=L(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||vi[a||"global"],{antLocale:u}=r,c=a&&u?u[a]:{};return _(_({},typeof s=="function"?s():s),c||{})}),o=L(()=>{const{antLocale:a}=r,l=a&&a.locale;return a&&a.exist&&!l?vi.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=r;return a==null?void 0:a(i.value,o.value,l)}}});function Ro(e,t,n){const r=Je("localeData",{});return[L(()=>{const{antLocale:o}=r,a=yn(t)||vi[e||"global"],l=e&&o?o[e]:{};return _(_(_({},typeof a=="function"?a():a),l||{}),yn(n)||{})})]}function yO(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const Y5="%";class Gfe{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Y5):t)||null}update(t,n){const r=Array.isArray(t)?t.join(Y5):t,i=this.cache.get(r),o=n(i);o===null?this.cache.delete(r):this.cache.set(r,o)}}const Kfe=Gfe,bO="data-token-hash",nu="data-css-hash",Hf="__cssinjs_instance__";function Ph(){const e=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${nu}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(i=>{i[Hf]=i[Hf]||e,i[Hf]===e&&document.head.insertBefore(i,n)});const r={};Array.from(document.querySelectorAll(`style[${nu}]`)).forEach(i=>{var o;const a=i.getAttribute(nu);r[a]?i[Hf]===e&&((o=i.parentNode)===null||o===void 0||o.removeChild(i)):r[a]=!0})}return new Kfe(e)}const VK=Symbol("StyleContextKey"),Ufe=()=>{var e,t,n;const r=gr();let i;if(r&&r.appContext){const o=(n=(t=(e=r.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;o?i=o:(i=Ph(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=i))}else i=Ph();return i},WK={cache:Ph(),defaultCache:!0,hashPriority:"low"},km=()=>{const e=Ufe();return Je(VK,ae(_(_({},WK),{cache:e})))},jK=e=>{const t=km(),n=ae(_(_({},WK),{cache:Ph()}));return Se([()=>yn(e),t],()=>{const r=_({},t.value),i=yn(e);Object.keys(i).forEach(a=>{const l=i[a];i[a]!==void 0&&(r[a]=l)});const{cache:o}=i;r.cache=r.cache||Ph(),r.defaultCache=!o&&t.value.defaultCache,n.value=r},{immediate:!0}),at(VK,n),n},Xfe=()=>({autoClear:$e(),mock:je(),cache:He(),defaultCache:$e(),hashPriority:je(),container:Xe(),ssrInline:$e(),transformers:Ot(),linters:Ot()}),Yfe=gn(se({name:"AStyleProvider",inheritAttrs:!1,props:Xfe(),setup(e,t){let{slots:n}=t;return jK(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function GK(e,t,n,r){const i=km(),o=ae(""),a=ae();Ye(()=>{o.value=[e,...t.value].join("%")});const l=s=>{i.value.cache.update(s,u=>{const[c=0,d]=u||[];return c-1===0?(r==null||r(d,!1),null):[c-1,d]})};return Se(o,(s,u)=>{u&&l(u),i.value.cache.update(s,c=>{const[d=0,f]=c||[],v=f||n();return[d+1,v]}),a.value=i.value.cache.get(o.value)[1]},{immediate:!0}),ht(()=>{l(o.value)}),a}function Xr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function zs(e,t){return e&&e.contains?e.contains(t):!1}const q5="data-vc-order",qfe="vc-util-key",MI=new Map;function KK(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:qfe}function Qx(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Zfe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function UK(e){return Array.from((MI.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function XK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Xr())return null;const{csp:n,prepend:r}=t,i=document.createElement("style");i.setAttribute(q5,Zfe(r)),n!=null&&n.nonce&&(i.nonce=n==null?void 0:n.nonce),i.innerHTML=e;const o=Qx(t),{firstChild:a}=o;if(r){if(r==="queue"){const l=UK(o).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(q5)));if(l.length)return o.insertBefore(i,l[l.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function YK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Qx(t);return UK(n).find(r=>r.getAttribute(KK(t))===e)}function V1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=YK(e,t);n&&Qx(t).removeChild(n)}function Qfe(e,t){const n=MI.get(e);if(!n||!zs(document,n)){const r=XK("",t),{parentNode:i}=r;MI.set(e,i),e.removeChild(r)}}function Rg(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,i,o;const a=Qx(n);Qfe(a,n);const l=YK(t,n);if(l)return!((r=n.csp)===null||r===void 0)&&r.nonce&&l.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)&&(l.nonce=(o=n.csp)===null||o===void 0?void 0:o.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=XK(e,n);return s.setAttribute(KK(n),t),s}function Jfe(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return t.forEach(i=>{var o;r?r=(o=r==null?void 0:r.map)===null||o===void 0?void 0:o.get(i):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Mh.MAX_CACHE_SIZE+Mh.MAX_CACHE_OFFSET){const[i]=this.keys.reduce((o,a)=>{const[,l]=o;return this.internalGet(a)[1]{if(o===t.length-1)r.set(i,{value:[n,this.cacheCallTimes++]});else{const a=r.get(i);a?a.map||(a.map=new Map):r.set(i,{map:new Map}),r=r.get(i).map}})}deleteByPath(t,n){var r;const i=t.get(n[0]);if(n.length===1)return i.map?t.set(n[0],{map:i.map}):t.delete(n[0]),(r=i.value)===null||r===void 0?void 0:r[0];const o=this.deleteByPath(i.map,n.slice(1));return(!i.map||i.map.size===0)&&!i.value&&t.delete(n[0]),o}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!Jfe(n,t)),this.deleteByPath(this.cache,t)}}Mh.MAX_CACHE_SIZE=20;Mh.MAX_CACHE_OFFSET=5;let Z5={};function ehe(e,t){}function the(e,t){}function qK(e,t,n){!t&&!Z5[n]&&(e(!1,n),Z5[n]=!0)}function Jx(e,t){qK(ehe,e,t)}function nhe(e,t){qK(the,e,t)}function rhe(){}let ihe=rhe;const vn=ihe;let Q5=0;class SO{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Q5,t.length===0&&vn(t.length>0),Q5+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const b$=new Mh;function xO(e){const t=Array.isArray(e)?e:[e];return b$.has(t)||b$.set(t,new SO(t)),b$.get(t)}const J5=new WeakMap;function W1(e){let t=J5.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof SO?t+=r.id:r&&typeof r=="object"?t+=W1(r):t+=r}),J5.set(e,t)),t}function ohe(e,t){return yO(`${t}_${W1(e)}`)}const Wp=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),ZK="_bAmBoO_";function ahe(e,t,n){var r,i;if(Xr()){Rg(e,Wp);const o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",t==null||t(o),document.body.appendChild(o);const a=n?n(o):(r=getComputedStyle(o).content)===null||r===void 0?void 0:r.includes(ZK);return(i=o.parentNode)===null||i===void 0||i.removeChild(o),V1(Wp),a}return!1}let S$;function lhe(){return S$===void 0&&(S$=ahe(`@layer ${Wp} { .${Wp} { content: "${ZK}"!important; } }`,e=>{e.className=Wp})),S$}const e6={},she=!0,uhe=!1,che=!she&&!uhe?"css-dev-only-do-not-override":"css",Tc=new Map;function dhe(e){Tc.set(e,(Tc.get(e)||0)+1)}function fhe(e,t){typeof document!="undefined"&&document.querySelectorAll(`style[${bO}="${e}"]`).forEach(r=>{var i;r[Hf]===t&&((i=r.parentNode)===null||i===void 0||i.removeChild(r))})}const hhe=0;function vhe(e,t){Tc.set(e,(Tc.get(e)||0)-1);const n=Array.from(Tc.keys()),r=n.filter(i=>(Tc.get(i)||0)<=0);n.length-r.length>hhe&&r.forEach(i=>{fhe(i,t),Tc.delete(i)})}const phe=(e,t,n,r)=>{const i=n.getDerivativeToken(e);let o=_(_({},i),t);return r&&(o=r(o)),o};function QK(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue({});const r=km(),i=L(()=>_({},...t.value)),o=L(()=>W1(i.value)),a=L(()=>W1(n.value.override||e6));return GK("token",L(()=>[n.value.salt||"",e.value.id,o.value,a.value]),()=>{const{salt:s="",override:u=e6,formatToken:c,getComputedToken:d}=n.value,f=d?d(i.value,u,e.value):phe(i.value,u,e.value,c),h=ohe(f,s);f._tokenKey=h,dhe(h);const v=`${che}-${yO(h)}`;return f._hashId=v,[f,v]},s=>{var u;vhe(s[0]._tokenKey,(u=r.value)===null||u===void 0?void 0:u.cache.instanceId)})}var JK={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eU="comm",tU="rule",nU="decl",ghe="@import",mhe="@namespace",yhe="@keyframes",bhe="@layer",She=Math.abs,jp=String.fromCharCode;function rU(e){return e.trim()}function AI(e,t,n){return e.replace(t,n)}function rh(e,t){return e.charCodeAt(t)|0}function Ah(e,t,n){return e.slice(t,n)}function Oa(e){return e.length}function xhe(e){return e.length}function Ry(e,t){return t.push(e),e}var ew=1,Oh=1,iU=0,Ao=0,nr=0,Zh="";function wO(e,t,n,r,i,o,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:ew,column:Oh,length:a,return:"",siblings:l}}function whe(){return nr}function Che(){return nr=Ao>0?rh(Zh,--Ao):0,Oh--,nr===10&&(Oh=1,ew--),nr}function ea(){return nr=Ao2||Lg(nr)>3?"":" "}function Ihe(e,t){for(;--t&&ea()&&!(nr<48||nr>102||nr>57&&nr<65||nr>70&&nr<97););return tw(e,wb()+(t<6&&Ws()==32&&ea()==32))}function OI(e){for(;ea();)switch(nr){case e:return Ao;case 34:case 39:e!==34&&e!==39&&OI(nr);break;case 40:e===41&&OI(e);break;case 92:ea();break}return Ao}function Phe(e,t){for(;ea()&&e+nr!==47+10;)if(e+nr===42+42&&Ws()===47)break;return"/*"+tw(t,Ao-1)+"*"+jp(e===47?e:ea())}function Mhe(e){for(;!Lg(Ws());)ea();return tw(e,Ao)}function Ahe(e){return _he(Cb("",null,null,null,[""],e=$he(e),0,[0],e))}function Cb(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,d=a,f=0,h=0,v=0,p=1,g=1,m=1,y=0,b=0,S="",x=i,$=o,C=r,T=S;g;)switch(v=b,b=ea()){case 40:v!=108&&rh(T,d-1)==58?(y++,T+="("):T+=x$(b);break;case 41:y--,T+=")";break;case 34:case 39:case 91:T+=x$(b);break;case 9:case 10:case 13:case 32:if(y>0){T+=jp(b);break}T+=The(v);break;case 92:T+=Ihe(wb()-1,7);continue;case 47:switch(Ws()){case 42:case 47:Ry(Ohe(Phe(ea(),wb()),t,n,s),s),(Lg(v||1)==5||Lg(Ws()||1)==5)&&Oa(T)&&Ah(T,-1,void 0)!==" "&&(T+=" ");break;default:T+="/"}break;case 123*p:l[u++]=Oa(T)*m;case 125*p:case 59:case 0:if(y>0&&b){T+=jp(b);break}switch(b){case 0:case 125:g=0;case 59+c:m==-1&&(T=AI(T,/\f/g,"")),h>0&&(Oa(T)-d||p===0)&&Ry(h>32?n6(T+";",r,n,d-1,s):n6(AI(T," ","")+";",r,n,d-2,s),s);break;case 59:T+=";";default:if(Ry(C=t6(T,t,n,u,c,i,l,S,x=[],$=[],d,o),o),b===123)if(c===0)Cb(T,t,C,C,x,o,d,l,$);else{switch(f){case 99:if(rh(T,3)===110)break;case 108:if(rh(T,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Cb(e,C,C,r&&Ry(t6(e,C,C,0,0,i,l,S,i,x=[],d,$),$),i,$,d,l,r?x:$):Cb(T,C,C,C,[""],$,0,l,$)}}u=c=h=0,p=m=1,S=T="",d=a;break;case 58:d=1+Oa(T),h=v;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&Che()==125)continue}switch(T+=jp(b),b*p){case 38:m=c>0?1:(T+="\f",-1);break;case 44:if(y>0)break;l[u++]=(Oa(T)-1)*m,m=1;break;case 64:Ws()===45&&(T+=x$(ea())),f=Ws(),c=d=Oa(S=T+=Mhe(wb())),b++;break;case 45:v===45&&Oa(T)==2&&(p=0)}}return o}function t6(e,t,n,r,i,o,a,l,s,u,c,d){for(var f=i-1,h=i===0?o:[""],v=xhe(h),p=0,g=0,m=0;p0?h[y]+" "+b:AI(b,/&\f/g,h[y])))&&(s[m++]=S);return wO(e,t,n,i===0?tU:l,s,u,c,d)}function Ohe(e,t,n,r){return wO(e,t,n,eU,jp(whe()),Ah(e,2,-2),0,r)}function n6(e,t,n,r,i){return wO(e,t,n,nU,Ah(e,0,r),Ah(e,r+1,-1),r,i)}function DI(e,t){for(var n="",r=0;r ")}`:""}`)}function Ehe(e){var t;return(((t=e.match(/:not\(([^)]*)\)/))===null||t===void 0?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(i=>i).length>1}function Rhe(e){return e.parentSelectors.reduce((t,n)=>t?n.includes("&")?n.replace(/&/g,t):`${t} ${n}`:n,"")}const Lhe=(e,t,n)=>{const i=Rhe(n).match(/:not\([^)]*\)/g)||[];i.length>0&&i.some(Ehe)&&Vf("Concat ':not' selector not support in legacy browsers.",n)},Nhe=Lhe,khe=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Vf(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof t=="string"){const r=t.split(" ").map(i=>i.trim());r.length===4&&r[1]!==r[3]&&Vf(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case"clear":case"textAlign":(t==="left"||t==="right")&&Vf(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"borderRadius":typeof t=="string"&&t.split("/").map(o=>o.trim()).reduce((o,a)=>{if(o)return o;const l=a.split(" ").map(s=>s.trim());return l.length>=2&&l[0]!==l[1]||l.length===3&&l[1]!==l[2]||l.length===4&&l[2]!==l[3]?!0:o},!1)&&Vf(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return}},Bhe=khe,Fhe=(e,t,n)=>{n.parentSelectors.some(r=>r.split(",").some(o=>o.split("&").length>2))&&Vf("Should not use more than one `&` in a selector.",n)},zhe=Fhe,Gp="data-ant-cssinjs-cache-path",Hhe="_FILE_STYLE__";function Vhe(e){return Object.keys(e).map(t=>{const n=e[t];return`${t}:${n}`}).join(";")}let Yc,oU=!0;function Whe(){var e;if(!Yc&&(Yc={},Xr())){const t=document.createElement("div");t.className=Gp,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(i=>{const[o,a]=i.split(":");Yc[o]=a});const r=document.querySelector(`style[${Gp}]`);r&&(oU=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function jhe(e){return Whe(),!!Yc[e]}function Ghe(e){const t=Yc[e];let n=null;if(t&&Xr())if(oU)n=Hhe;else{const r=document.querySelector(`style[${nu}="${Yc[e]}"]`);r?n=r.innerHTML:delete Yc[e]}return[n,t]}const r6=Xr(),Khe="_skip_check_",aU="_multi_value_";function EI(e){return DI(Ahe(e),Dhe).replace(/\{%%%\:[^;];}/g,";")}function Uhe(e){return typeof e=="object"&&e&&(Khe in e||aU in e)}function Xhe(e,t,n){if(!t)return e;const r=`.${t}`,i=n==="low"?`:where(${r})`:r;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let u=s[0]||"";const c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u=`${c}${i}${u.slice(c.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const i6=new Set,RI=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:o,layer:a,path:l,hashPriority:s,transformers:u=[],linters:c=[]}=t;let d="",f={};function h(g){const m=g.getName(o);if(!f[m]){const[y]=RI(g.style,t,{root:!1,parentSelectors:i});f[m]=`@keyframes ${g.getName(o)}${y}`}}function v(g){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return g.forEach(y=>{Array.isArray(y)?v(y,m):y&&m.push(y)}),m}if(v(Array.isArray(e)?e:[e]).forEach(g=>{const m=typeof g=="string"&&!n?{}:g;if(typeof m=="string")d+=`${m} -`;else if(m._keyframe)h(m);else{const y=u.reduce((b,S)=>{var x;return((x=S==null?void 0:S.visit)===null||x===void 0?void 0:x.call(S,b))||b},m);Object.keys(y).forEach(b=>{var S;const x=y[b];if(typeof x=="object"&&x&&(b!=="animationName"||!x._keyframe)&&!Uhe(x)){let $=!1,C=b.trim(),T=!1;(n||r)&&o?C.startsWith("@")?$=!0:C=Xhe(b,o,s):n&&!o&&(C==="&"||C==="")&&(C="",T=!0);const[I,P]=RI(x,t,{root:T,injectHash:$,parentSelectors:[...i,C]});f=_(_({},f),P),d+=`${C}${I}`}else{let $=function(T,I){const P=T.replace(/[A-Z]/g,O=>`-${O.toLowerCase()}`);let M=I;!JK[T]&&typeof M=="number"&&M!==0&&(M=`${M}px`),T==="animationName"&&(I!=null&&I._keyframe)&&(h(I),M=I.getName(o)),d+=`${P}:${M};`};const C=(S=x==null?void 0:x.value)!==null&&S!==void 0?S:x;typeof x=="object"&&(x!=null&&x[aU])&&Array.isArray(C)?C.forEach(T=>{$(b,T)}):$(b,C)}})}}),!n)d=`{${d}}`;else if(a&&lhe()){const g=a.split(",");d=`@layer ${g[g.length-1].trim()} {${d}}`,g.length>1&&(d=`@layer ${a}{%%%:%}${d}`)}return[d,f]};function Yhe(e,t){return yO(`${e.join("%")}${t}`)}function j1(e,t){const n=km(),r=L(()=>e.value.token._tokenKey),i=L(()=>[r.value,...e.value.path]);let o=r6;return GK("style",i,()=>{const{path:a,hashId:l,layer:s,nonce:u,clientOnly:c,order:d=0}=e.value,f=i.value.join("|");if(jhe(f)){const[C,T]=Ghe(f);if(C)return[C,r.value,T,{},c,d]}const h=t(),{hashPriority:v,container:p,transformers:g,linters:m,cache:y}=n.value,[b,S]=RI(h,{hashId:l,hashPriority:v,layer:s,path:a.join("-"),transformers:g,linters:m}),x=EI(b),$=Yhe(i.value,x);if(o){const C={mark:nu,prepend:"queue",attachTo:p,priority:d},T=typeof u=="function"?u():u;T&&(C.csp={nonce:T});const I=Rg(x,$,C);I[Hf]=y.instanceId,I.setAttribute(bO,r.value),Object.keys(S).forEach(P=>{i6.has(P)||(i6.add(P),Rg(EI(S[P]),`_effect-${P}`,{mark:nu,prepend:"queue",attachTo:p}))})}return[x,r.value,$,S,c,d]},(a,l)=>{let[,,s]=a;(l||n.value.autoClear)&&r6&&V1(s,{mark:nu})}),a=>a}function qhe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n="style%",r=Array.from(e.cache.keys()).filter(u=>u.startsWith(n)),i={},o={};let a="";function l(u,c,d){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const h=_(_({},f),{[bO]:c,[nu]:d}),v=Object.keys(h).map(p=>{const g=h[p];return g?`${p}="${g}"`:null}).filter(p=>p).join(" ");return t?u:``}return r.map(u=>{const c=u.slice(n.length).replace(/%/g,"|"),[d,f,h,v,p,g]=e.cache.get(u)[1];if(p)return null;const m={"data-vc-order":"prependQueue","data-vc-priority":`${g}`};let y=l(d,f,h,m);return o[c]=h,v&&Object.keys(v).forEach(S=>{i[S]||(i[S]=!0,y+=l(EI(v[S]),f,`_effect-${S}`,m))}),[g,y]}).filter(u=>u).sort((u,c)=>u[0]-c[0]).forEach(u=>{let[,c]=u;a+=c}),a+=l(`.${Gp}{content:"${Vhe(o)}";}`,void 0,void 0,{[Gp]:Gp}),a}class Zhe{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const xt=Zhe;function Qhe(e){if(typeof e=="number")return[e];const t=String(e).split(/\s+/);let n="",r=0;return t.reduce((i,o)=>(o.includes("(")?(n+=o,r+=o.split("(").length-1):o.includes(")")?(n+=` ${o}`,r-=o.split(")").length-1,r===0&&(i.push(n),n="")):r>0?n+=` ${o}`:i.push(o),i),[])}function Qd(e){return e.notSplit=!0,e}const Jhe={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Qd(["borderTop","borderBottom"]),borderBlockStart:Qd(["borderTop"]),borderBlockEnd:Qd(["borderBottom"]),borderInline:Qd(["borderLeft","borderRight"]),borderInlineStart:Qd(["borderLeft"]),borderInlineEnd:Qd(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Ly(e){return{_skip_check_:!0,value:e}}const eve={visit:e=>{const t={};return Object.keys(e).forEach(n=>{const r=e[n],i=Jhe[n];if(i&&(typeof r=="number"||typeof r=="string")){const o=Qhe(r);i.length&&i.notSplit?i.forEach(a=>{t[a]=Ly(r)}):i.length===1?t[i[0]]=Ly(r):i.length===2?i.forEach((a,l)=>{var s;t[a]=Ly((s=o[l])!==null&&s!==void 0?s:o[0])}):i.length===4?i.forEach((a,l)=>{var s,u;t[a]=Ly((u=(s=o[l])!==null&&s!==void 0?s:o[l-2])!==null&&u!==void 0?u:o[0])}):t[n]=r}else t[n]=r}),t}},tve=eve,w$=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function nve(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}const rve=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{rootValue:t=16,precision:n=5,mediaQuery:r=!1}=e,i=(a,l)=>{if(!l)return a;const s=parseFloat(l);return s<=1?a:`${nve(s/t,n)}rem`};return{visit:a=>{const l=_({},a);return Object.entries(a).forEach(s=>{let[u,c]=s;if(typeof c=="string"&&c.includes("px")){const f=c.replace(w$,i);l[u]=f}!JK[u]&&typeof c=="number"&&c!==0&&(l[u]=`${c}px`.replace(w$,i));const d=u.trim();if(d.startsWith("@")&&d.includes("px")&&r){const f=u.replace(w$,i);l[f]=l[u],delete l[u]}}),l}}},ive=rve,ove={Theme:SO,createTheme:xO,useStyleRegister:j1,useCacheToken:QK,createCache:Ph,useStyleInject:km,useStyleProvider:jK,Keyframes:xt,extractStyle:qhe,legacyLogicalPropertiesTransformer:tve,px2remTransformer:ive,logicalPropertiesLinter:Bhe,legacyNotSelectorLinter:Nhe,parentSelectorLinter:zhe,StyleProvider:Yfe},ave=ove,lU="4.2.6",Ng=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Ir(e,t){lve(e)&&(e="100%");var n=sve(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ny(e){return Math.min(1,Math.max(0,e))}function lve(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function sve(e){return typeof e=="string"&&e.indexOf("%")!==-1}function sU(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ky(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Nc(e){return e.length===1?"0"+e:String(e)}function uve(e,t,n){return{r:Ir(e,255)*255,g:Ir(t,255)*255,b:Ir(n,255)*255}}function o6(e,t,n){e=Ir(e,255),t=Ir(t,255),n=Ir(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,l=(r+i)/2;if(r===i)a=0,o=0;else{var s=r-i;switch(a=l>.5?s/(2-r-i):s/(r+i),r){case e:o=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function cve(e,t,n){var r,i,o;if(e=Ir(e,360),t=Ir(t,100),n=Ir(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=C$(l,a,e+1/3),i=C$(l,a,e),o=C$(l,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function LI(e,t,n){e=Ir(e,255),t=Ir(t,255),n=Ir(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,l=r-i,s=r===0?0:l/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var kI={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Of(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=mve(e)),typeof e=="object"&&(dl(e.r)&&dl(e.g)&&dl(e.b)?(t=uve(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):dl(e.h)&&dl(e.s)&&dl(e.v)?(r=ky(e.s),i=ky(e.v),t=dve(e.h,r,i),a=!0,l="hsv"):dl(e.h)&&dl(e.s)&&dl(e.l)&&(r=ky(e.s),o=ky(e.l),t=cve(e.h,r,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=sU(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var pve="[-\\+]?\\d+%?",gve="[-\\+]?\\d*\\.\\d+%?",js="(?:".concat(gve,")|(?:").concat(pve,")"),$$="[\\s|\\(]+(".concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")\\s*\\)?"),_$="[\\s|\\(]+(".concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")\\s*\\)?"),jo={CSS_UNIT:new RegExp(js),rgb:new RegExp("rgb"+$$),rgba:new RegExp("rgba"+_$),hsl:new RegExp("hsl"+$$),hsla:new RegExp("hsla"+_$),hsv:new RegExp("hsv"+$$),hsva:new RegExp("hsva"+_$),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function mve(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(kI[e])e=kI[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=jo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=jo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=jo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=jo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=jo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=jo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=jo.hex8.exec(e),n?{r:Vi(n[1]),g:Vi(n[2]),b:Vi(n[3]),a:a6(n[4]),format:t?"name":"hex8"}:(n=jo.hex6.exec(e),n?{r:Vi(n[1]),g:Vi(n[2]),b:Vi(n[3]),format:t?"name":"hex"}:(n=jo.hex4.exec(e),n?{r:Vi(n[1]+n[1]),g:Vi(n[2]+n[2]),b:Vi(n[3]+n[3]),a:a6(n[4]+n[4]),format:t?"name":"hex8"}:(n=jo.hex3.exec(e),n?{r:Vi(n[1]+n[1]),g:Vi(n[2]+n[2]),b:Vi(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function dl(e){return!!jo.CSS_UNIT.exec(String(e))}var zt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=vve(t)),this.originalInput=t;var i=Of(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=sU(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=LI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=LI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=o6(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=o6(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NI(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),fve(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ir(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ir(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NI(this.r,this.g,this.b,!1),n=0,r=Object.entries(kI);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ny(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ny(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ny(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ny(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-By*t:Math.round(e.h)+By*t:r=n?Math.round(e.h)+By*t:Math.round(e.h)-By*t,r<0?r+=360:r>=360&&(r-=360),r}function c6(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-l6*t:t===cU?r=e.s+l6:r=e.s+yve*t,r>1&&(r=1),n&&t===uU&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function d6(e,t,n){var r;return n?r=e.v+bve*t:r=e.v-Sve*t,r>1&&(r=1),Number(r.toFixed(2))}function hd(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Of(e),i=uU;i>0;i-=1){var o=s6(r),a=Fy(Of({h:u6(o,i,!0),s:c6(o,i,!0),v:d6(o,i,!0)}));n.push(a)}n.push(Fy(r));for(var l=1;l<=cU;l+=1){var s=s6(r),u=Fy(Of({h:u6(s,l),s:c6(s,l),v:d6(s,l)}));n.push(u)}return t.theme==="dark"?xve.map(function(c){var d=c.index,f=c.opacity,h=Fy(wve(Of(t.backgroundColor||"#141414"),Of(n[d]),f*100));return h}):n}var ih={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Kp={},T$={};Object.keys(ih).forEach(function(e){Kp[e]=hd(ih[e]),Kp[e].primary=Kp[e][5],T$[e]=hd(ih[e],{theme:"dark",backgroundColor:"#141414"}),T$[e].primary=T$[e][5]});var Cve=Kp.gold,$ve=Kp.blue;const _ve=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},Tve=_ve;function Ive(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const dU={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Pve=_(_({},dU),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + */let Wce=()=>location.protocol+"//"+location.host;function fK(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),x5(l,"")}return x5(n,e)+r+i}function jce(e,t,n,r){let i=[],o=[],a=null;const l=({state:f})=>{const h=fK(e,location),v=n.value,p=t.value;let g=0;if(f){if(n.value=h,t.value=f,a&&a===v){a=null;return}g=p?f.position-p.position:0}else r(h);i.forEach(m=>{m(n.value,v,{delta:g,type:SI.pop,direction:g?g>0?g$.forward:g$.back:g$.unknown})})};function s(){a=n.value}function u(f){i.push(f);const h=()=>{const v=i.indexOf(f);v>-1&&i.splice(v,1)};return o.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(sn({},f.state,{scroll:Ux()}),"")}}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:s,listen:u,destroy:d}}function T5(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ux():null}}function Gce(e){const{history:t,location:n}=window,r={value:fK(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(s,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:Wce()+e+s;try{t[c?"replaceState":"pushState"](u,"",f),i.value=u}catch(h){console.error(h),n[c?"replace":"assign"](f)}}function a(s,u){o(s,sn({},t.state,T5(i.value.back,s,i.value.forward,!0),u,{position:i.value.position}),!0),r.value=s}function l(s,u){const c=sn({},i.value,t.state,{forward:s,scroll:Ux()});o(c.current,c,!0),o(s,sn({},T5(r.value,s,null),{position:c.position+1},u),!1),r.value=s}return{location:r,state:i,push:l,replace:a}}function Kce(e){e=Mce(e);const t=Gce(e),n=jce(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const i=sn({location:"",base:e,go:r,createHref:Oce.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Uce(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Kce(e)}let Lc=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ar=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(ar||{});const Xce={type:Lc.Static,value:""},Yce=/[a-zA-Z0-9_]/;function qce(e){if(!e)return[[]];if(e==="/")return[[Xce]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=ar.Static,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let l=0,s,u="",c="";function d(){u&&(n===ar.Static?o.push({type:Lc.Static,value:u}):n===ar.Param||n===ar.ParamRegExp||n===ar.ParamRegExpEnd?(o.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Lc.Param,value:u,regexp:c,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}for(;lt.length?t.length===1&&t[0]===ni.Static+ni.Segment?1:-1:0}function hK(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const tde={strict:!1,end:!0,sensitive:!1};function nde(e,t,n){const r=Jce(qce(e.path),n),i=sn(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function rde(e,t){const n=[],r=new Map;t=S5(tde,t);function i(d){return r.get(d)}function o(d,f,h){const v=!h,p=A5(d);p.aliasOf=h&&h.record;const g=S5(t,d),m=[p];if("alias"in d){const S=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of S)m.push(A5(sn({},p,{components:h?h.record.components:p.components,path:x,aliasOf:h?h.record:p})))}let y,b;for(const S of m){const{path:x}=S;if(f&&x[0]!=="/"){const $=f.record.path,C=$[$.length-1]==="/"?"":"/";S.path=f.record.path+(x&&C+x)}if(y=nde(S,f,g),h?h.alias.push(y):(b=b||y,b!==y&&b.alias.push(y),v&&d.name&&!O5(y)&&a(d.name)),vK(y)&&s(y),p.children){const $=p.children;for(let C=0;C<$.length;C++)o($[C],y,h&&h.children[C])}h=h||y}return b?()=>{a(b)}:Hp}function a(d){if(cK(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function l(){return n}function s(d){const f=ade(d,n);n.splice(f,0,d),d.record.name&&!O5(d)&&r.set(d.record.name,d)}function u(d,f){let h,v={},p,g;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Ih(En.MATCHER_NOT_FOUND,{location:d});g=h.record.name,v=sn(M5(f.params,h.keys.filter(b=>!b.optional).concat(h.parent?h.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),d.params&&M5(d.params,h.keys.map(b=>b.name))),p=h.stringify(v)}else if(d.path!=null)p=d.path,h=n.find(b=>b.re.test(p)),h&&(v=h.parse(p),g=h.record.name);else{if(h=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!h)throw Ih(En.MATCHER_NOT_FOUND,{location:d,currentLocation:f});g=h.record.name,v=sn({},f.params,d.params),p=h.stringify(v)}const m=[];let y=h;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:p,params:v,matched:m,meta:ode(m)}}e.forEach(d=>o(d));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:l,getRecordMatcher:i}}function M5(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function A5(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ide(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ide(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function O5(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ode(e){return e.reduce((t,n)=>sn(t,n.meta),{})}function ade(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;hK(e,t[o])<0?r=o:n=o+1}const i=lde(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function lde(e){let t=e;for(;t=t.parent;)if(vK(t)&&hK(e,t)===0)return t}function vK({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function D5(e){const t=Je(Xx),n=Je(cO),r=L(()=>{const s=yn(e.to);return t.resolve(s)}),i=L(()=>{const{matched:s}=r.value,{length:u}=s,c=s[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(Th.bind(null,c));if(f>-1)return f;const h=E5(s[u-2]);return u>1&&E5(c)===h&&d[d.length-1].path!==h?d.findIndex(Th.bind(null,s[u-2])):f}),o=L(()=>i.value>-1&&fde(n.params,r.value.params)),a=L(()=>i.value>-1&&i.value===n.matched.length-1&&uK(n.params,r.value.params));function l(s={}){if(dde(s)){const u=t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(Hp);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:o,isExactActive:a,navigate:l}}function sde(e){return e.length===1?e[0]:e}const ude=se({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:D5,setup(e,{slots:t}){const n=Bt(D5(e)),{options:r}=Je(Xx),i=L(()=>({[R5(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[R5(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&sde(t.default(n));return e.custom?o:jl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),cde=ude;function dde(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fde(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!aa(i)||i.length!==r.length||r.some((o,a)=>o.valueOf()!==i[a].valueOf()))return!1}return!0}function E5(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const R5=(e,t,n)=>e!=null?e:t!=null?t:n,hde=se({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Je(wI),i=L(()=>e.route||r.value),o=Je(_5,0),a=L(()=>{let u=yn(o);const{matched:c}=i.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=L(()=>i.value.matched[a.value]);at(_5,L(()=>a.value+1)),at(Hce,l),at(wI,i);const s=ue();return Se(()=>[s.value,l.value,e.name],([u,c,d],[f,h,v])=>{c&&(c.instances[d]=u,h&&h!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Th(c,h)||!f)&&(c.enterCallbacks[d]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,d=l.value,f=d&&d.components[c];if(!f)return L5(n.default,{Component:f,route:u});const h=d.props[c],v=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=jl(f,sn({},v,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[c]=null)},ref:s}));return L5(n.default,{Component:g,route:u})||g}}});function L5(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vde=hde;function pde(e){const t=rde(e.routes,e),n=e.parseQuery||Fce,r=e.stringifyQuery||$5,i=e.history,o=Ev(),a=Ev(),l=Ev(),s=ae(bs);let u=bs;Of&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=v$.bind(null,q=>""+q),d=v$.bind(null,wce),f=v$.bind(null,Dg);function h(q,ee){let J,G;return cK(q)?(J=t.getRecordMatcher(q),G=ee):G=q,t.addRoute(G,J)}function v(q){const ee=t.getRecordMatcher(q);ee&&t.removeRoute(ee)}function p(){return t.getRoutes().map(q=>q.record)}function g(q){return!!t.getRecordMatcher(q)}function m(q,ee){if(ee=sn({},ee||s.value),typeof q=="string"){const Z=p$(n,q,ee.path),ne=t.resolve({path:Z.path},ee),re=i.createHref(Z.fullPath);return sn(Z,ne,{params:f(ne.params),hash:Dg(Z.hash),redirectedFrom:void 0,href:re})}let J;if(q.path!=null)J=sn({},q,{path:p$(n,q.path,ee.path).path});else{const Z=sn({},q.params);for(const ne in Z)Z[ne]==null&&delete Z[ne];J=sn({},q,{params:d(Z)}),ee.params=d(ee.params)}const G=t.resolve(J,ee),Y=q.hash||"";G.params=c(f(G.params));const oe=_ce(r,sn({},q,{hash:bce(Y),path:G.path})),W=i.createHref(oe);return sn({fullPath:oe,hash:Y,query:r===$5?zce(q.query):q.query||{}},G,{redirectedFrom:void 0,href:W})}function y(q){return typeof q=="string"?p$(n,q,s.value.path):sn({},q)}function b(q,ee){if(u!==q)return Ih(En.NAVIGATION_CANCELLED,{from:ee,to:q})}function S(q){return C(q)}function x(q){return S(sn(y(q),{replace:!0}))}function $(q,ee){const J=q.matched[q.matched.length-1];if(J&&J.redirect){const{redirect:G}=J;let Y=typeof G=="function"?G(q,ee):G;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=y(Y):{path:Y},Y.params={}),sn({query:q.query,hash:q.hash,params:Y.path!=null?{}:q.params},Y)}}function C(q,ee){const J=u=m(q),G=s.value,Y=q.state,oe=q.force,W=q.replace===!0,Z=$(J,G);if(Z)return C(sn(y(Z),{state:typeof Z=="object"?sn({},Y,Z.state):Y,force:oe,replace:W}),ee||J);const ne=J;ne.redirectedFrom=ee;let re;return!oe&&Tce(r,G,J)&&(re=Ih(En.NAVIGATION_DUPLICATED,{to:ne,from:G}),H(G,G,!0,!1)),(re?Promise.resolve(re):P(ne,G)).catch(le=>dl(le)?dl(le,En.NAVIGATION_GUARD_REDIRECT)?le:F(le):N(le,ne,G)).then(le=>{if(le){if(dl(le,En.NAVIGATION_GUARD_REDIRECT))return C(sn({replace:W},y(le.to),{state:typeof le.to=="object"?sn({},Y,le.to.state):Y,force:oe}),ee||ne)}else le=O(ne,G,!0,W,Y);return M(ne,G,le),le})}function T(q,ee){const J=b(q,ee);return J?Promise.reject(J):Promise.resolve()}function I(q){const ee=Q.values().next().value;return ee&&typeof ee.runWithContext=="function"?ee.runWithContext(q):q()}function P(q,ee){let J;const[G,Y,oe]=Vce(q,ee);J=m$(G.reverse(),"beforeRouteLeave",q,ee);for(const Z of G)Z.leaveGuards.forEach(ne=>{J.push(Ns(ne,q,ee))});const W=T.bind(null,q,ee);return J.push(W),te(J).then(()=>{J=[];for(const Z of o.list())J.push(Ns(Z,q,ee));return J.push(W),te(J)}).then(()=>{J=m$(Y,"beforeRouteUpdate",q,ee);for(const Z of Y)Z.updateGuards.forEach(ne=>{J.push(Ns(ne,q,ee))});return J.push(W),te(J)}).then(()=>{J=[];for(const Z of oe)if(Z.beforeEnter)if(aa(Z.beforeEnter))for(const ne of Z.beforeEnter)J.push(Ns(ne,q,ee));else J.push(Ns(Z.beforeEnter,q,ee));return J.push(W),te(J)}).then(()=>(q.matched.forEach(Z=>Z.enterCallbacks={}),J=m$(oe,"beforeRouteEnter",q,ee,I),J.push(W),te(J))).then(()=>{J=[];for(const Z of a.list())J.push(Ns(Z,q,ee));return J.push(W),te(J)}).catch(Z=>dl(Z,En.NAVIGATION_CANCELLED)?Z:Promise.reject(Z))}function M(q,ee,J){l.list().forEach(G=>I(()=>G(q,ee,J)))}function O(q,ee,J,G,Y){const oe=b(q,ee);if(oe)return oe;const W=ee===bs,Z=Of?history.state:{};J&&(G||W?i.replace(q.fullPath,sn({scroll:W&&Z&&Z.scroll},Y)):i.push(q.fullPath,Y)),s.value=q,H(q,ee,J,W),F()}let D;function R(){D||(D=i.listen((q,ee,J)=>{if(!K.listening)return;const G=m(q),Y=$(G,K.currentRoute.value);if(Y){C(sn(Y,{replace:!0,force:!0}),G).catch(Hp);return}u=G;const oe=s.value;Of&&Rce(C5(oe.fullPath,J.delta),Ux()),P(G,oe).catch(W=>dl(W,En.NAVIGATION_ABORTED|En.NAVIGATION_CANCELLED)?W:dl(W,En.NAVIGATION_GUARD_REDIRECT)?(C(sn(y(W.to),{force:!0}),G).then(Z=>{dl(Z,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===SI.pop&&i.go(-1,!1)}).catch(Hp),Promise.reject()):(J.delta&&i.go(-J.delta,!1),N(W,G,oe))).then(W=>{W=W||O(G,oe,!1),W&&(J.delta&&!dl(W,En.NAVIGATION_CANCELLED)?i.go(-J.delta,!1):J.type===SI.pop&&dl(W,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),M(G,oe,W)}).catch(Hp)}))}let A=Ev(),E=Ev(),k;function N(q,ee,J){F(q);const G=E.list();return G.length?G.forEach(Y=>Y(q,ee,J)):console.error(q),Promise.reject(q)}function B(){return k&&s.value!==bs?Promise.resolve():new Promise((q,ee)=>{A.add([q,ee])})}function F(q){return k||(k=!q,R(),A.list().forEach(([ee,J])=>q?J(q):ee()),A.reset()),q}function H(q,ee,J,G){const{scrollBehavior:Y}=e;if(!Of||!Y)return Promise.resolve();const oe=!J&&Lce(C5(q.fullPath,0))||(G||!J)&&history.state&&history.state.scroll||null;return _t().then(()=>Y(q,ee,oe)).then(W=>W&&Ece(W)).catch(W=>N(W,q,ee))}const V=q=>i.go(q);let X;const Q=new Set,K={currentRoute:s,listening:!0,addRoute:h,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:p,resolve:m,options:e,push:S,replace:x,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:E.add,isReady:B,install(q){q.component("RouterLink",cde),q.component("RouterView",vde),q.config.globalProperties.$router=K,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(s)}),Of&&!X&&s.value===bs&&(X=!0,S(i.location).catch(G=>{}));const ee={};for(const G in bs)Object.defineProperty(ee,G,{get:()=>s.value[G],enumerable:!0});q.provide(Xx,K),q.provide(cO,Jj(ee)),q.provide(wI,s);const J=q.unmount;Q.add(q),q.unmount=function(){Q.delete(q),Q.size<1&&(u=bs,D&&D(),D=null,s.value=bs,X=!1,k=!1),J()}}};function te(q){return q.reduce((ee,J)=>ee.then(()=>I(J)),Promise.resolve())}return K}function Aht(){return Je(Xx)}function Oht(e){return Je(cO)}const Dy="Authorization",gde=["/","/screen2","/screen2/"];function mde(){const e=window.location.hostname;if(!e||/^\d{1,3}(\.\d{1,3}){3}$/.test(e))return e?[e]:[];const t=e.split(".").filter(Boolean),n=new Set([e,`.${e}`]);if(t.length>2){const r=t.slice(-2).join(".");n.add(r),n.add(`.${r}`)}return Array.from(n)}function yde(e){return encodeURIComponent(e||"/platform")}function pK(){const e=mde();gde.forEach(t=>{document.cookie=`${Dy}=; Max-Age=0; path=${t}`,document.cookie=`${Dy}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=${t}`,e.forEach(n=>{document.cookie=`${Dy}=; Max-Age=0; path=${t}; domain=${n}`,document.cookie=`${Dy}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=${t}; domain=${n}`})})}function gK(e=window.location.hash.replace(/^#/,"")||"/platform"){return`/login?redirect=${yde(e)}`}function CI(e){pK();const t=gK(e);window.location.hash.replace(/^#/,"")!==t&&(window.location.hash=t)}function Dht(e,t){return ms(this,null,function*(){pK();const n=yield fetch("/login",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json",Accept:"application/json","Content-Language":"zh_CN"},body:JSON.stringify({username:e,password:t})}),r=yield n.json().catch(()=>({}));if(!n.ok||(r==null?void 0:r.code)!==200){const i=new Error((r==null?void 0:r.msg)||"登录失败,请检查用户名或密码。");throw i.status=n.status,i.code=r==null?void 0:r.code,i}return r})}function Eht(){return ms(this,null,function*(){const e=yield fetch("/auth/status",{credentials:"include",headers:{Accept:"application/json"}}),t=yield e.json().catch(()=>({}));if(!e.ok||(t==null?void 0:t.code)!==200)throw new Error((t==null?void 0:t.msg)||"认证状态检查失败。");return t.data||{}})}function Rht(){return ms(this,null,function*(){yield fetch("/logout",{method:"POST",credentials:"include",headers:{Accept:"application/json","Content-Type":"application/json","Content-Language":"zh_CN"},body:"{}"}).catch(()=>null),CI("/platform")})}function bde(){return ms(this,null,function*(){const e=yield fetch("/getInfo",{credentials:"include",headers:{Accept:"application/json","Content-Language":"zh_CN"}}),t=yield e.json().catch(()=>({}));if(!e.ok||(t==null?void 0:t.code)!==200){const n=new Error((t==null?void 0:t.msg)||"用户未登录或授权已过期。");throw n.status=e.status||401,n.code=(t==null?void 0:t.code)||401,n}return t.data})}const Sde=12e3;function xde(e,t={}){const n=new URLSearchParams;Object.entries(t).forEach(([i,o])=>{o!=null&&o!==""&&n.append(i,o)});const r=n.toString();return r?`${e}${e.includes("?")?"&":"?"}${r}`:e}function wde(n){return ms(this,arguments,function*(e,t={}){const u=t,{params:r,timeout:i=Sde}=u,o=TL(u,["params","timeout"]),a=new AbortController;let l=!1;const s=window.setTimeout(()=>{l=!0,a.abort()},i);try{const c=yield fetch(xde(e,r),t$(_y({credentials:"include"},o),{signal:a.signal,headers:_y({Accept:"application/json"},o.headers||{})}));if(!c.ok){const f=new Error(c.status===401?"用户未登录或授权已过期。":`HTTP ${c.status}`);throw f.code=`HTTP_${c.status}`,f.status=c.status,c.status===401&&CI(),f}const d=yield c.json();if((d==null?void 0:d.code)===401||(d==null?void 0:d.code)==="401"){const f=new Error((d==null?void 0:d.msg)||"用户未登录或授权已过期。");throw f.code="HTTP_401",f.status=401,CI(),f}return d}catch(c){if(a.signal.aborted||(c==null?void 0:c.name)==="AbortError"||/aborted/i.test((c==null?void 0:c.message)||"")){const f=new Error(l?"服务响应超时,请稍后再试。":"请求已取消,请重新发送。");throw f.code=l?"REQUEST_TIMEOUT":"REQUEST_ABORTED",f}throw c}finally{window.clearTimeout(s)}})}function Lht(e){return(e==null?void 0:e.data)!==void 0?e.data:(e==null?void 0:e.result)!==void 0?e.result:e}const Cde="/admin";function mi(n){return ms(this,arguments,function*(e,t={}){var a,l,s;const r=yield wde(`${Cde}${e}`,t),i=(a=r==null?void 0:r.data)!=null?a:r,o=Number((s=(l=i==null?void 0:i.code)!=null?l:r==null?void 0:r.code)!=null?s:200);if(o!==200){const u=new Error((i==null?void 0:i.message)||(r==null?void 0:r.message)||"后台服务请求失败。");throw u.code=o,u.status=o,u}return i})}function Pd(e,t){return{method:e,headers:{"Content-Type":"application/json"},body:JSON.stringify(t||{})}}function $de(){return mi("/current")}function Nht(){return mi("/options")}function kht(e){return mi("/users",{params:e})}function Bht(e){return mi("/users",Pd("POST",e))}function Fht(e){return mi("/users/update",Pd("PUT",e))}function zht(e){return mi("/users/status",Pd("PUT",e))}function Hht(e){return mi("/users/password",Pd("PUT",e))}function Vht(e){return mi("/users",Pd("DELETE",{userId:e}))}function Wht(e){return mi("/operation-logs",{params:e})}function jht(e){return mi("/login-logs",{params:e})}function Ght(){return mi("/smart-management/model-config")}function Kht(e){return mi("/smart-management/model-config",Pd("PUT",e))}function Uht(e){return mi("/smart-management/model-config/test",Pd("POST",e))}function Xht(){return mi("/smart-management/context",{timeout:3e4})}function Yht(){return mi("/smart-management/context/refresh",{method:"POST",timeout:12e4})}const $I="v3:chunk-load-recovery",_de=6e4,Tde=1e4,Ide=[/Failed to fetch dynamically imported module/i,/Importing a module script failed/i,/error loading dynamically imported module/i,/Loading chunk [\w-]+ failed/i];function Pde(e){return String((e==null?void 0:e.message)||e||"")}function Mde(){return`${window.location.pathname}${window.location.hash}`}function mK(e){if(typeof window=="undefined"||!Ide.some(o=>o.test(Pde(e))))return!1;const t=Date.now(),n=Mde();let r=null;try{r=JSON.parse(window.sessionStorage.getItem($I)||"null")}catch(o){r=null}if((r==null?void 0:r.pageKey)===n&&t-Number((r==null?void 0:r.timestamp)||0)<_de)return console.error("[V3] 页面资源仍未就绪,已停止自动刷新。",e),!0;try{window.sessionStorage.setItem($I,JSON.stringify({pageKey:n,timestamp:t}))}catch(o){}const i=new URL(window.location.href);return i.searchParams.set("_v3_reload",String(t)),window.location.replace(i.href),!0}function Ade(){typeof window!="undefined"&&window.setTimeout(()=>{try{window.sessionStorage.removeItem($I)}catch(e){}},Tde)}const N5=()=>ol(()=>import("./index-15d14f49-1786807848259.js"),["./index-15d14f49-1786807848259.js","./index-db918426-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-71d0c80d-balabala-1786807848259.css"],import.meta.url),Ode=()=>ol(()=>import("./index-7fb92827-1786807848259.js"),["./index-7fb92827-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-8e5212af-balabala-1786807848259.css"],import.meta.url),Dde=()=>ol(()=>import("./index-693b4119-1786807848259.js"),["./index-693b4119-1786807848259.js","./index.esm.min-024ee703-1786807848259.js","./index-0eddac6c-1786807848259.js","./index-148a2898-balabala-1786807848259.css","./screen2Standard-03f7f908-1786807848259.js","./index-db918426-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./screen2Standard-cdb21878-balabala-1786807848259.css","./chartTheme-7114e4ea-1786807848259.js","./index-8d752fbe-balabala-1786807848259.css"],import.meta.url),Ede=()=>ol(()=>import("./index-539da005-1786807848259.js"),["./index-539da005-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./index-01de7c66-balabala-1786807848259.css"],import.meta.url),Rde=()=>ol(()=>import("./AdminLayout-a6cc5677-1786807848259.js"),["./AdminLayout-a6cc5677-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./AdminLayout-8db5b2b6-balabala-1786807848259.css"],import.meta.url),Lde=()=>ol(()=>import("./UserManagement-a36e0e73-1786807848259.js"),["./UserManagement-a36e0e73-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./UserManagement-03008e91-balabala-1786807848259.css","./admin-pages-c250a1ad-balabala-1786807848259.css"],import.meta.url),Nde=()=>ol(()=>import("./OperationLogs-5a9b02d9-1786807848259.js"),["./OperationLogs-5a9b02d9-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./OperationLogs-2a1ead4a-balabala-1786807848259.css","./admin-pages-c250a1ad-balabala-1786807848259.css"],import.meta.url),kde=()=>ol(()=>import("./LoginLogs-75fd6d65-1786807848259.js"),["./LoginLogs-75fd6d65-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./LoginLogs-100aa744-balabala-1786807848259.css","./admin-pages-c250a1ad-balabala-1786807848259.css"],import.meta.url),Bde=()=>ol(()=>import("./SmartManagementSettings-f7b2af66-1786807848259.js"),["./SmartManagementSettings-f7b2af66-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./SmartManagementSettings-51339aa1-balabala-1786807848259.css"],import.meta.url),Fde=()=>ol(()=>import("./AdminForbidden-1d2d2690-1786807848259.js"),["./AdminForbidden-1d2d2690-1786807848259.js","./_plugin-vue_export-helper-c27b6911-1786807848259.js","./AdminForbidden-17545195-balabala-1786807848259.css"],import.meta.url),dO=pde({history:Uce(),routes:[{path:"/",redirect:"/platform"},{path:"/v3-isolation",component:Ede,meta:{public:!0,alwaysPublic:!0}},{path:"/login",component:Ode,meta:{public:!0}},{path:"/platform",component:N5},{path:"/forest-grass-wet",component:N5},{path:"/chart-style-guide",component:Dde},{path:"/admin/forbidden",component:Fde},{path:"/admin",component:Rde,redirect:"/admin/users",meta:{admin:!0},children:[{path:"users",name:"admin-users",component:Lde,meta:{title:"用户管理"}},{path:"operation-logs",name:"admin-operation-logs",component:Nde,meta:{title:"操作日志"}},{path:"login-logs",name:"admin-login-logs",component:kde,meta:{title:"登录日志"}},{path:"smart-management",name:"admin-smart-management",component:Bde,meta:{title:"智慧管理配置"}}]},{path:"/:pathMatch(.*)",redirect:"/platform"}]});dO.onError(e=>{mK(e)||console.error("[V3] 路由加载失败。",e)});let Vp=null,xb=null;dO.beforeEach(e=>ms(void 0,null,function*(){if(e.meta.alwaysPublic)return!0;if(e.meta.public){try{return yield k5(),e.query.redirect?decodeURIComponent(e.query.redirect):"/platform"}catch(t){Vp=null}return!0}try{if(yield k5(),e.matched.some(t=>t.meta.admin))try{yield zde()}catch(t){if(xb=null,Number((t==null?void 0:t.status)||(t==null?void 0:t.code))===403)return"/admin/forbidden";throw t}return!0}catch(t){return Vp=null,gK(e.fullPath)}}));function k5(){return Vp||(Vp=bde()),Vp}function zde(){return xb||(xb=$de()),xb}const yK={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"};function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t=A?R:""+Array(A+1-k.length).join(E)+R},S={s:b,z:function(R){var A=-R.utcOffset(),E=Math.abs(A),k=Math.floor(E/60),N=E%60;return(A<=0?"+":"-")+b(k,2,"0")+":"+b(N,2,"0")},m:function R(A,E){if(A.date()1)return R(F[0])}else{var H=A.name;$[H]=A,N=H}return!k&&N&&(x=N),N||!k&&x},P=function(R,A){if(T(R))return R.clone();var E=typeof A=="object"?A:{};return E.date=R,E.args=arguments,new O(E)},M=S;M.l=I,M.i=T,M.w=function(R,A){return P(R,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var O=function(){function R(E){this.$L=I(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[C]=!0}var A=R.prototype;return A.parse=function(E){this.$d=function(k){var N=k.date,B=k.utc;if(N===null)return new Date(NaN);if(M.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var F=N.match(g);if(F){var H=F[2]-1||0,V=(F[7]||"0").substring(0,3);return B?new Date(Date.UTC(F[1],H,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)):new Date(F[1],H,F[3]||1,F[4]||0,F[5]||0,F[6]||0,V)}}return new Date(N)}(E),this.init()},A.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},A.$utils=function(){return M},A.isValid=function(){return this.$d.toString()!==p},A.isSame=function(E,k){var N=P(E);return this.startOf(k)<=N&&N<=this.endOf(k)},A.isAfter=function(E,k){return P(E){const r=BL("router-view"),i=BL("a-config-provider");return R1(),N1(i,{locale:yn(Gde)},{default:uG(()=>[w(r)]),_:1},8,["locale"])}}};function Eg(e){"@babel/helpers - typeof";return Eg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eg(e)}function Yde(e,t){if(Eg(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Eg(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qde(e){var t=Yde(e,"string");return Eg(t)=="symbol"?t:t+""}function Zde(e,t,n){return(t=qde(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function z(e){for(var t=1;ttypeof e=="function",Qde=Array.isArray,Jde=e=>typeof e=="string",efe=e=>e!==null&&typeof e=="object",tfe=/^on[^a-z]/,nfe=e=>tfe.test(e),fO=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rfe=/-(\w)/g,Md=fO(e=>e.replace(rfe,(t,n)=>n?n.toUpperCase():"")),ife=/\B([A-Z])/g,ofe=fO(e=>e.replace(ife,"-$1").toLowerCase()),afe=fO(e=>e.charAt(0).toUpperCase()+e.slice(1)),lfe=Object.prototype.hasOwnProperty,H5=(e,t)=>lfe.call(e,t);function sfe(e,t,n,r){const i=e[n];if(i!=null){const o=H5(i,"default");if(o&&r===void 0){const a=i.default;r=i.type!==Function&&_I(a)?a():a}i.type===Boolean&&(!H5(t,n)&&!o?r=!1:r===""&&(r=!0))}return r}function ufe(e){return Object.keys(e).reduce((t,n)=>((n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n]),t),{})}function _c(e){return typeof e=="number"?`${e}px`:e}function Hf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e!=null?e:n}function cfe(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}function ce(){const e=[];for(let t=0;t0},e.prototype.connect_=function(){!TI||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),gfe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!TI||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=pfe.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),CK=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),_K=typeof WeakMap!="undefined"?new WeakMap:new wK,TK=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=mfe.getInstance(),r=new Ife(t,n,this);_K.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){TK.prototype[e]=function(){var t;return(t=_K.get(this))[e].apply(t,arguments)}});var Pfe=function(){return typeof z1.ResizeObserver!="undefined"?z1.ResizeObserver:TK}();const hO=Pfe,Mfe=e=>e!=null&&e!=="",II=Mfe,Afe=(e,t)=>{const n=_({},e);return Object.keys(t).forEach(r=>{const i=n[r];if(i)i.type||i.default?i.default=t[r]:i.def?i.def(t[r]):n[r]={type:i,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},ft=Afe,vO=e=>{const t=Object.keys(e),n={},r={},i={};for(let o=0,a=t.length;o0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},r=/;(?![^(]*\))/g,i=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(function(o){if(o){const a=o.split(i);if(a.length>1){const l=t?Md(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},Pl=(e,t)=>e[t]!==void 0,IK=Symbol("skipFlatten"),Jt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],r=[];return n.forEach(i=>{Array.isArray(i)?r.push(...Jt(i,t)):i&&i.type===Qe?i.key===IK?r.push(i):r.push(...Jt(i.children,t)):i&&Nn(i)?t&&!Nm(i)?r.push(i):t||r.push(i):II(i)&&r.push(i)}),r},qx=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Nn(e))return e.type===Qe?t==="default"?Jt(e.children):[]:e.children&&e.children[t]?Jt(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return Jt(r)}},ci=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},PK=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const i=e.$props[r],o=ofe(r);(i!==void 0||o in n)&&(t[r]=i)})}else if(Nn(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(o=>{r[Md(o)]=n[o]});const i=e.type.props||{};Object.keys(i).forEach(o=>{const a=sfe(i,r,o,r[o]);(a!==void 0||o in r)&&(t[o]=a)})}return t},MK=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i;if(e.$){const o=e[t];if(o!==void 0)return typeof o=="function"&&r?o(n):o;i=e.$slots[t],i=r&&i?i(n):i}else if(Nn(e)){const o=e.props&&e.props[t];if(o!==void 0&&e.props!==null)return typeof o=="function"&&r?o(n):o;e.type===Qe?i=e.children:e.children&&e.children[t]&&(i=e.children[t],i=r&&i?i(n):i)}return Array.isArray(i)&&(i=Jt(i),i=i.length===1?i[0]:i,i=i.length===0?void 0:i),i};function W5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=_(_({},n),e.$attrs):n=_(_({},n),e.props),vO(n)[t?"onEvents":"events"]}function Dfe(e){const n=((Nn(e)?e.props:e.$attrs)||{}).class||{};let r={};return typeof n=="string"?n.split(" ").forEach(i=>{r[i.trim()]=!0}):Array.isArray(n)?ce(n).split(" ").forEach(i=>{r[i.trim()]=!0}):r=_(_({},r),n),r}function AK(e,t){let r=((Nn(e)?e.props:e.$attrs)||{}).style||{};if(typeof r=="string")r=Ofe(r,t);else if(t&&r){const i={};return Object.keys(r).forEach(o=>i[Md(o)]=r[o]),i}return r}function Efe(e){return e.length===1&&e[0].type===Qe}function Rfe(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function Nm(e){return e&&(e.type===yr||e.type===Qe&&e.children.length===0||e.type===Tu&&e.children.trim()==="")}function Lfe(e){return e&&e.type===Tu}function xn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===Qe?t.push(...xn(n.children)):t.push(n)}),t.filter(n=>!Nm(n))}function Rv(e){if(e){const t=xn(e);return t.length?t:void 0}else return e}function zn(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function Un(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var r,i;return(r=t[n])!==null&&r!==void 0?r:(i=e[n])===null||i===void 0?void 0:i.call(e)}const Ao=se({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const r=Bt({width:0,height:0,offsetHeight:0,offsetWidth:0});let i=null,o=null;const a=()=>{o&&(o.disconnect(),o=null)},l=c=>{const{onResize:d}=e,f=c[0].target,{width:h,height:v}=f.getBoundingClientRect(),{offsetWidth:p,offsetHeight:g}=f,m=Math.floor(h),y=Math.floor(v);if(r.width!==m||r.height!==y||r.offsetWidth!==p||r.offsetHeight!==g){const b={width:m,height:y,offsetWidth:p,offsetHeight:g};_(r,b),d&&Promise.resolve().then(()=>{d(_(_({},b),{offsetWidth:p,offsetHeight:g}),f)})}},s=gr(),u=()=>{const{disabled:c}=e;if(c){a();return}const d=ci(s);d!==i&&(a(),i=d),!o&&d&&(o=new hO(l),o.observe(d))};return tt(()=>{u()}),Qr(()=>{u()}),Jr(()=>{a()}),Se(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});let OK=e=>setTimeout(e,16),DK=e=>clearTimeout(e);typeof window!="undefined"&&"requestAnimationFrame"in window&&(OK=e=>window.requestAnimationFrame(e),DK=e=>window.cancelAnimationFrame(e));let j5=0;const pO=new Map;function EK(e){pO.delete(e)}function dt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;j5+=1;const n=j5;function r(i){if(i===0)EK(n),e();else{const o=OK(()=>{r(i-1)});pO.set(n,o)}}return r(t),n}dt.cancel=e=>{const t=pO.get(e);return EK(t),DK(t)};function PI(e){let t;const n=i=>()=>{t=null,e(...i)},r=function(){if(t==null){for(var i=arguments.length,o=new Array(i),a=0;a{dt.cancel(t),t=null},r}const Ar=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function fd(){return{type:[Function,Array]}}function He(e){return{type:Object,default:e}}function $e(e){return{type:Boolean,default:e}}function be(e){return{type:Function,default:e}}function tn(e,t){const n={validator:()=>!0,default:e};return n}function Wr(){return{validator:()=>!0}}function Ot(e){return{type:Array,default:e}}function je(e){return{type:String,default:e}}function Xe(e,t){return e?{type:e,default:t}:tn(t)}let RK=!1;try{const e=Object.defineProperty({},"passive",{get(){RK=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(e){}const tr=RK;function bn(e,t,n,r){if(e&&e.addEventListener){let i=r;i===void 0&&tr&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(i={passive:!1}),e.addEventListener(t,n,i)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}function Ey(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function G5(e,t,n){if(n!==void 0&&t.top>e.top-n)return`${n+t.top}px`}function K5(e,t,n){if(n!==void 0&&t.bottomr.target===e);n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},Wp.push(n),LK.forEach(r=>{n.eventHandlers[r]=bn(e,r,()=>{n.affixList.forEach(i=>{const{lazyUpdatePosition:o}=i.exposed;o()},(r==="touchstart"||r==="touchmove")&&tr?{passive:!0}:!1)})}))}function X5(e){const t=Wp.find(n=>{const r=n.affixList.some(i=>i===e);return r&&(n.affixList=n.affixList.filter(i=>i!==e)),r});t&&t.affixList.length===0&&(Wp=Wp.filter(n=>n!==t),LK.forEach(n=>{const r=t.eventHandlers[n];r&&r.remove&&r.remove()}))}const gO="anticon",NK=Symbol("GlobalFormContextKey"),kfe=e=>{at(NK,e)},Bfe=()=>Je(NK,{validateMessages:L(()=>{})}),Ffe=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:He(),input:He(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:He(),pageHeader:He(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:He(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:He(),pagination:He(),theme:He(),select:He(),wave:He()}),mO=Symbol("configProvider"),kK={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:L(()=>gO),getPopupContainer:L(()=>()=>document.body),direction:L(()=>"ltr")},Zx=()=>Je(mO,kK),zfe=e=>at(mO,e),BK=Symbol("DisabledContextKey"),Ai=()=>Je(BK,ue(void 0)),FK=e=>{const t=Ai();return at(BK,L(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},zK={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},Hfe={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},Vfe=Hfe,Wfe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},HK=Wfe,jfe={lang:_({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Vfe),timePickerLocale:_({},HK)},Rg=jfe,Fi="${label} is not a valid ${type}",Gfe={locale:"en",Pagination:zK,DatePicker:Rg,TimePicker:HK,Calendar:Rg,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Fi,method:Fi,array:Fi,object:Fi,number:Fi,date:Fi,boolean:Fi,integer:Fi,float:Fi,regexp:Fi,email:Fi,url:Fi,hex:Fi},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},vi=Gfe,Ad=se({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=Je("localeData",{}),i=L(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||vi[a||"global"],{antLocale:u}=r,c=a&&u?u[a]:{};return _(_({},typeof s=="function"?s():s),c||{})}),o=L(()=>{const{antLocale:a}=r,l=a&&a.locale;return a&&a.exist&&!l?vi.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=r;return a==null?void 0:a(i.value,o.value,l)}}});function Lo(e,t,n){const r=Je("localeData",{});return[L(()=>{const{antLocale:o}=r,a=yn(t)||vi[e||"global"],l=e&&o?o[e]:{};return _(_(_({},typeof a=="function"?a():a),l||{}),yn(n)||{})})]}function yO(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const Y5="%";class Kfe{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Y5):t)||null}update(t,n){const r=Array.isArray(t)?t.join(Y5):t,i=this.cache.get(r),o=n(i);o===null?this.cache.delete(r):this.cache.set(r,o)}}const Ufe=Kfe,bO="data-token-hash",nu="data-css-hash",Vf="__cssinjs_instance__";function Mh(){const e=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${nu}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(i=>{i[Vf]=i[Vf]||e,i[Vf]===e&&document.head.insertBefore(i,n)});const r={};Array.from(document.querySelectorAll(`style[${nu}]`)).forEach(i=>{var o;const a=i.getAttribute(nu);r[a]?i[Vf]===e&&((o=i.parentNode)===null||o===void 0||o.removeChild(i)):r[a]=!0})}return new Ufe(e)}const VK=Symbol("StyleContextKey"),Xfe=()=>{var e,t,n;const r=gr();let i;if(r&&r.appContext){const o=(n=(t=(e=r.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;o?i=o:(i=Mh(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=i))}else i=Mh();return i},WK={cache:Mh(),defaultCache:!0,hashPriority:"low"},km=()=>{const e=Xfe();return Je(VK,ae(_(_({},WK),{cache:e})))},jK=e=>{const t=km(),n=ae(_(_({},WK),{cache:Mh()}));return Se([()=>yn(e),t],()=>{const r=_({},t.value),i=yn(e);Object.keys(i).forEach(a=>{const l=i[a];i[a]!==void 0&&(r[a]=l)});const{cache:o}=i;r.cache=r.cache||Mh(),r.defaultCache=!o&&t.value.defaultCache,n.value=r},{immediate:!0}),at(VK,n),n},Yfe=()=>({autoClear:$e(),mock:je(),cache:He(),defaultCache:$e(),hashPriority:je(),container:Xe(),ssrInline:$e(),transformers:Ot(),linters:Ot()}),qfe=gn(se({name:"AStyleProvider",inheritAttrs:!1,props:Yfe(),setup(e,t){let{slots:n}=t;return jK(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function GK(e,t,n,r){const i=km(),o=ae(""),a=ae();Ye(()=>{o.value=[e,...t.value].join("%")});const l=s=>{i.value.cache.update(s,u=>{const[c=0,d]=u||[];return c-1===0?(r==null||r(d,!1),null):[c-1,d]})};return Se(o,(s,u)=>{u&&l(u),i.value.cache.update(s,c=>{const[d=0,f]=c||[],v=f||n();return[d+1,v]}),a.value=i.value.cache.get(o.value)[1]},{immediate:!0}),ht(()=>{l(o.value)}),a}function Xr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function zs(e,t){return e&&e.contains?e.contains(t):!1}const q5="data-vc-order",Zfe="vc-util-key",MI=new Map;function KK(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Zfe}function Qx(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Qfe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function UK(e){return Array.from((MI.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function XK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Xr())return null;const{csp:n,prepend:r}=t,i=document.createElement("style");i.setAttribute(q5,Qfe(r)),n!=null&&n.nonce&&(i.nonce=n==null?void 0:n.nonce),i.innerHTML=e;const o=Qx(t),{firstChild:a}=o;if(r){if(r==="queue"){const l=UK(o).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(q5)));if(l.length)return o.insertBefore(i,l[l.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function YK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Qx(t);return UK(n).find(r=>r.getAttribute(KK(t))===e)}function V1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=YK(e,t);n&&Qx(t).removeChild(n)}function Jfe(e,t){const n=MI.get(e);if(!n||!zs(document,n)){const r=XK("",t),{parentNode:i}=r;MI.set(e,i),e.removeChild(r)}}function Lg(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,i,o;const a=Qx(n);Jfe(a,n);const l=YK(t,n);if(l)return!((r=n.csp)===null||r===void 0)&&r.nonce&&l.nonce!==((i=n.csp)===null||i===void 0?void 0:i.nonce)&&(l.nonce=(o=n.csp)===null||o===void 0?void 0:o.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=XK(e,n);return s.setAttribute(KK(n),t),s}function ehe(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return t.forEach(i=>{var o;r?r=(o=r==null?void 0:r.map)===null||o===void 0?void 0:o.get(i):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Ah.MAX_CACHE_SIZE+Ah.MAX_CACHE_OFFSET){const[i]=this.keys.reduce((o,a)=>{const[,l]=o;return this.internalGet(a)[1]{if(o===t.length-1)r.set(i,{value:[n,this.cacheCallTimes++]});else{const a=r.get(i);a?a.map||(a.map=new Map):r.set(i,{map:new Map}),r=r.get(i).map}})}deleteByPath(t,n){var r;const i=t.get(n[0]);if(n.length===1)return i.map?t.set(n[0],{map:i.map}):t.delete(n[0]),(r=i.value)===null||r===void 0?void 0:r[0];const o=this.deleteByPath(i.map,n.slice(1));return(!i.map||i.map.size===0)&&!i.value&&t.delete(n[0]),o}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!ehe(n,t)),this.deleteByPath(this.cache,t)}}Ah.MAX_CACHE_SIZE=20;Ah.MAX_CACHE_OFFSET=5;let Z5={};function the(e,t){}function nhe(e,t){}function qK(e,t,n){!t&&!Z5[n]&&(e(!1,n),Z5[n]=!0)}function Jx(e,t){qK(the,e,t)}function rhe(e,t){qK(nhe,e,t)}function ihe(){}let ohe=ihe;const vn=ohe;let Q5=0;class SO{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Q5,t.length===0&&vn(t.length>0),Q5+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const b$=new Ah;function xO(e){const t=Array.isArray(e)?e:[e];return b$.has(t)||b$.set(t,new SO(t)),b$.get(t)}const J5=new WeakMap;function W1(e){let t=J5.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof SO?t+=r.id:r&&typeof r=="object"?t+=W1(r):t+=r}),J5.set(e,t)),t}function ahe(e,t){return yO(`${t}_${W1(e)}`)}const jp=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),ZK="_bAmBoO_";function lhe(e,t,n){var r,i;if(Xr()){Lg(e,jp);const o=document.createElement("div");o.style.position="fixed",o.style.left="0",o.style.top="0",t==null||t(o),document.body.appendChild(o);const a=n?n(o):(r=getComputedStyle(o).content)===null||r===void 0?void 0:r.includes(ZK);return(i=o.parentNode)===null||i===void 0||i.removeChild(o),V1(jp),a}return!1}let S$;function she(){return S$===void 0&&(S$=lhe(`@layer ${jp} { .${jp} { content: "${ZK}"!important; } }`,e=>{e.className=jp})),S$}const e6={},uhe=!0,che=!1,dhe=!uhe&&!che?"css-dev-only-do-not-override":"css",Tc=new Map;function fhe(e){Tc.set(e,(Tc.get(e)||0)+1)}function hhe(e,t){typeof document!="undefined"&&document.querySelectorAll(`style[${bO}="${e}"]`).forEach(r=>{var i;r[Vf]===t&&((i=r.parentNode)===null||i===void 0||i.removeChild(r))})}const vhe=0;function phe(e,t){Tc.set(e,(Tc.get(e)||0)-1);const n=Array.from(Tc.keys()),r=n.filter(i=>(Tc.get(i)||0)<=0);n.length-r.length>vhe&&r.forEach(i=>{hhe(i,t),Tc.delete(i)})}const ghe=(e,t,n,r)=>{const i=n.getDerivativeToken(e);let o=_(_({},i),t);return r&&(o=r(o)),o};function QK(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue({});const r=km(),i=L(()=>_({},...t.value)),o=L(()=>W1(i.value)),a=L(()=>W1(n.value.override||e6));return GK("token",L(()=>[n.value.salt||"",e.value.id,o.value,a.value]),()=>{const{salt:s="",override:u=e6,formatToken:c,getComputedToken:d}=n.value,f=d?d(i.value,u,e.value):ghe(i.value,u,e.value,c),h=ahe(f,s);f._tokenKey=h,fhe(h);const v=`${dhe}-${yO(h)}`;return f._hashId=v,[f,v]},s=>{var u;phe(s[0]._tokenKey,(u=r.value)===null||u===void 0?void 0:u.cache.instanceId)})}var JK={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eU="comm",tU="rule",nU="decl",mhe="@import",yhe="@namespace",bhe="@keyframes",She="@layer",xhe=Math.abs,Gp=String.fromCharCode;function rU(e){return e.trim()}function AI(e,t,n){return e.replace(t,n)}function ih(e,t){return e.charCodeAt(t)|0}function Oh(e,t,n){return e.slice(t,n)}function Da(e){return e.length}function whe(e){return e.length}function Ry(e,t){return t.push(e),e}var ew=1,Dh=1,iU=0,Oo=0,nr=0,Qh="";function wO(e,t,n,r,i,o,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:ew,column:Dh,length:a,return:"",siblings:l}}function Che(){return nr}function $he(){return nr=Oo>0?ih(Qh,--Oo):0,Dh--,nr===10&&(Dh=1,ew--),nr}function ta(){return nr=Oo2||Ng(nr)>3?"":" "}function Phe(e,t){for(;--t&&ta()&&!(nr<48||nr>102||nr>57&&nr<65||nr>70&&nr<97););return tw(e,wb()+(t<6&&Ws()==32&&ta()==32))}function OI(e){for(;ta();)switch(nr){case e:return Oo;case 34:case 39:e!==34&&e!==39&&OI(nr);break;case 40:e===41&&OI(e);break;case 92:ta();break}return Oo}function Mhe(e,t){for(;ta()&&e+nr!==47+10;)if(e+nr===42+42&&Ws()===47)break;return"/*"+tw(t,Oo-1)+"*"+Gp(e===47?e:ta())}function Ahe(e){for(;!Ng(Ws());)ta();return tw(e,Oo)}function Ohe(e){return The(Cb("",null,null,null,[""],e=_he(e),0,[0],e))}function Cb(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,d=a,f=0,h=0,v=0,p=1,g=1,m=1,y=0,b=0,S="",x=i,$=o,C=r,T=S;g;)switch(v=b,b=ta()){case 40:v!=108&&ih(T,d-1)==58?(y++,T+="("):T+=x$(b);break;case 41:y--,T+=")";break;case 34:case 39:case 91:T+=x$(b);break;case 9:case 10:case 13:case 32:if(y>0){T+=Gp(b);break}T+=Ihe(v);break;case 92:T+=Phe(wb()-1,7);continue;case 47:switch(Ws()){case 42:case 47:Ry(Dhe(Mhe(ta(),wb()),t,n,s),s),(Ng(v||1)==5||Ng(Ws()||1)==5)&&Da(T)&&Oh(T,-1,void 0)!==" "&&(T+=" ");break;default:T+="/"}break;case 123*p:l[u++]=Da(T)*m;case 125*p:case 59:case 0:if(y>0&&b){T+=Gp(b);break}switch(b){case 0:case 125:g=0;case 59+c:m==-1&&(T=AI(T,/\f/g,"")),h>0&&(Da(T)-d||p===0)&&Ry(h>32?n6(T+";",r,n,d-1,s):n6(AI(T," ","")+";",r,n,d-2,s),s);break;case 59:T+=";";default:if(Ry(C=t6(T,t,n,u,c,i,l,S,x=[],$=[],d,o),o),b===123)if(c===0)Cb(T,t,C,C,x,o,d,l,$);else{switch(f){case 99:if(ih(T,3)===110)break;case 108:if(ih(T,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Cb(e,C,C,r&&Ry(t6(e,C,C,0,0,i,l,S,i,x=[],d,$),$),i,$,d,l,r?x:$):Cb(T,C,C,C,[""],$,0,l,$)}}u=c=h=0,p=m=1,S=T="",d=a;break;case 58:d=1+Da(T),h=v;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&$he()==125)continue}switch(T+=Gp(b),b*p){case 38:m=c>0?1:(T+="\f",-1);break;case 44:if(y>0)break;l[u++]=(Da(T)-1)*m,m=1;break;case 64:Ws()===45&&(T+=x$(ta())),f=Ws(),c=d=Da(S=T+=Ahe(wb())),b++;break;case 45:v===45&&Da(T)==2&&(p=0)}}return o}function t6(e,t,n,r,i,o,a,l,s,u,c,d){for(var f=i-1,h=i===0?o:[""],v=whe(h),p=0,g=0,m=0;p0?h[y]+" "+b:AI(b,/&\f/g,h[y])))&&(s[m++]=S);return wO(e,t,n,i===0?tU:l,s,u,c,d)}function Dhe(e,t,n,r){return wO(e,t,n,eU,Gp(Che()),Oh(e,2,-2),0,r)}function n6(e,t,n,r,i){return wO(e,t,n,nU,Oh(e,0,r),Oh(e,r+1,-1),r,i)}function DI(e,t){for(var n="",r=0;r ")}`:""}`)}function Rhe(e){var t;return(((t=e.match(/:not\(([^)]*)\)/))===null||t===void 0?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(i=>i).length>1}function Lhe(e){return e.parentSelectors.reduce((t,n)=>t?n.includes("&")?n.replace(/&/g,t):`${t} ${n}`:n,"")}const Nhe=(e,t,n)=>{const i=Lhe(n).match(/:not\([^)]*\)/g)||[];i.length>0&&i.some(Rhe)&&Wf("Concat ':not' selector not support in legacy browsers.",n)},khe=Nhe,Bhe=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Wf(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof t=="string"){const r=t.split(" ").map(i=>i.trim());r.length===4&&r[1]!==r[3]&&Wf(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case"clear":case"textAlign":(t==="left"||t==="right")&&Wf(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"borderRadius":typeof t=="string"&&t.split("/").map(o=>o.trim()).reduce((o,a)=>{if(o)return o;const l=a.split(" ").map(s=>s.trim());return l.length>=2&&l[0]!==l[1]||l.length===3&&l[1]!==l[2]||l.length===4&&l[2]!==l[3]?!0:o},!1)&&Wf(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return}},Fhe=Bhe,zhe=(e,t,n)=>{n.parentSelectors.some(r=>r.split(",").some(o=>o.split("&").length>2))&&Wf("Should not use more than one `&` in a selector.",n)},Hhe=zhe,Kp="data-ant-cssinjs-cache-path",Vhe="_FILE_STYLE__";function Whe(e){return Object.keys(e).map(t=>{const n=e[t];return`${t}:${n}`}).join(";")}let Yc,oU=!0;function jhe(){var e;if(!Yc&&(Yc={},Xr())){const t=document.createElement("div");t.className=Kp,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(i=>{const[o,a]=i.split(":");Yc[o]=a});const r=document.querySelector(`style[${Kp}]`);r&&(oU=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function Ghe(e){return jhe(),!!Yc[e]}function Khe(e){const t=Yc[e];let n=null;if(t&&Xr())if(oU)n=Vhe;else{const r=document.querySelector(`style[${nu}="${Yc[e]}"]`);r?n=r.innerHTML:delete Yc[e]}return[n,t]}const r6=Xr(),Uhe="_skip_check_",aU="_multi_value_";function EI(e){return DI(Ohe(e),Ehe).replace(/\{%%%\:[^;];}/g,";")}function Xhe(e){return typeof e=="object"&&e&&(Uhe in e||aU in e)}function Yhe(e,t,n){if(!t)return e;const r=`.${t}`,i=n==="low"?`:where(${r})`:r;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let u=s[0]||"";const c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u=`${c}${i}${u.slice(c.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const i6=new Set,RI=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:o,layer:a,path:l,hashPriority:s,transformers:u=[],linters:c=[]}=t;let d="",f={};function h(g){const m=g.getName(o);if(!f[m]){const[y]=RI(g.style,t,{root:!1,parentSelectors:i});f[m]=`@keyframes ${g.getName(o)}${y}`}}function v(g){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return g.forEach(y=>{Array.isArray(y)?v(y,m):y&&m.push(y)}),m}if(v(Array.isArray(e)?e:[e]).forEach(g=>{const m=typeof g=="string"&&!n?{}:g;if(typeof m=="string")d+=`${m} +`;else if(m._keyframe)h(m);else{const y=u.reduce((b,S)=>{var x;return((x=S==null?void 0:S.visit)===null||x===void 0?void 0:x.call(S,b))||b},m);Object.keys(y).forEach(b=>{var S;const x=y[b];if(typeof x=="object"&&x&&(b!=="animationName"||!x._keyframe)&&!Xhe(x)){let $=!1,C=b.trim(),T=!1;(n||r)&&o?C.startsWith("@")?$=!0:C=Yhe(b,o,s):n&&!o&&(C==="&"||C==="")&&(C="",T=!0);const[I,P]=RI(x,t,{root:T,injectHash:$,parentSelectors:[...i,C]});f=_(_({},f),P),d+=`${C}${I}`}else{let $=function(T,I){const P=T.replace(/[A-Z]/g,O=>`-${O.toLowerCase()}`);let M=I;!JK[T]&&typeof M=="number"&&M!==0&&(M=`${M}px`),T==="animationName"&&(I!=null&&I._keyframe)&&(h(I),M=I.getName(o)),d+=`${P}:${M};`};const C=(S=x==null?void 0:x.value)!==null&&S!==void 0?S:x;typeof x=="object"&&(x!=null&&x[aU])&&Array.isArray(C)?C.forEach(T=>{$(b,T)}):$(b,C)}})}}),!n)d=`{${d}}`;else if(a&&she()){const g=a.split(",");d=`@layer ${g[g.length-1].trim()} {${d}}`,g.length>1&&(d=`@layer ${a}{%%%:%}${d}`)}return[d,f]};function qhe(e,t){return yO(`${e.join("%")}${t}`)}function j1(e,t){const n=km(),r=L(()=>e.value.token._tokenKey),i=L(()=>[r.value,...e.value.path]);let o=r6;return GK("style",i,()=>{const{path:a,hashId:l,layer:s,nonce:u,clientOnly:c,order:d=0}=e.value,f=i.value.join("|");if(Ghe(f)){const[C,T]=Khe(f);if(C)return[C,r.value,T,{},c,d]}const h=t(),{hashPriority:v,container:p,transformers:g,linters:m,cache:y}=n.value,[b,S]=RI(h,{hashId:l,hashPriority:v,layer:s,path:a.join("-"),transformers:g,linters:m}),x=EI(b),$=qhe(i.value,x);if(o){const C={mark:nu,prepend:"queue",attachTo:p,priority:d},T=typeof u=="function"?u():u;T&&(C.csp={nonce:T});const I=Lg(x,$,C);I[Vf]=y.instanceId,I.setAttribute(bO,r.value),Object.keys(S).forEach(P=>{i6.has(P)||(i6.add(P),Lg(EI(S[P]),`_effect-${P}`,{mark:nu,prepend:"queue",attachTo:p}))})}return[x,r.value,$,S,c,d]},(a,l)=>{let[,,s]=a;(l||n.value.autoClear)&&r6&&V1(s,{mark:nu})}),a=>a}function Zhe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n="style%",r=Array.from(e.cache.keys()).filter(u=>u.startsWith(n)),i={},o={};let a="";function l(u,c,d){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const h=_(_({},f),{[bO]:c,[nu]:d}),v=Object.keys(h).map(p=>{const g=h[p];return g?`${p}="${g}"`:null}).filter(p=>p).join(" ");return t?u:``}return r.map(u=>{const c=u.slice(n.length).replace(/%/g,"|"),[d,f,h,v,p,g]=e.cache.get(u)[1];if(p)return null;const m={"data-vc-order":"prependQueue","data-vc-priority":`${g}`};let y=l(d,f,h,m);return o[c]=h,v&&Object.keys(v).forEach(S=>{i[S]||(i[S]=!0,y+=l(EI(v[S]),f,`_effect-${S}`,m))}),[g,y]}).filter(u=>u).sort((u,c)=>u[0]-c[0]).forEach(u=>{let[,c]=u;a+=c}),a+=l(`.${Kp}{content:"${Whe(o)}";}`,void 0,void 0,{[Kp]:Kp}),a}class Qhe{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const xt=Qhe;function Jhe(e){if(typeof e=="number")return[e];const t=String(e).split(/\s+/);let n="",r=0;return t.reduce((i,o)=>(o.includes("(")?(n+=o,r+=o.split("(").length-1):o.includes(")")?(n+=` ${o}`,r-=o.split(")").length-1,r===0&&(i.push(n),n="")):r>0?n+=` ${o}`:i.push(o),i),[])}function Jd(e){return e.notSplit=!0,e}const eve={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Jd(["borderTop","borderBottom"]),borderBlockStart:Jd(["borderTop"]),borderBlockEnd:Jd(["borderBottom"]),borderInline:Jd(["borderLeft","borderRight"]),borderInlineStart:Jd(["borderLeft"]),borderInlineEnd:Jd(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Ly(e){return{_skip_check_:!0,value:e}}const tve={visit:e=>{const t={};return Object.keys(e).forEach(n=>{const r=e[n],i=eve[n];if(i&&(typeof r=="number"||typeof r=="string")){const o=Jhe(r);i.length&&i.notSplit?i.forEach(a=>{t[a]=Ly(r)}):i.length===1?t[i[0]]=Ly(r):i.length===2?i.forEach((a,l)=>{var s;t[a]=Ly((s=o[l])!==null&&s!==void 0?s:o[0])}):i.length===4?i.forEach((a,l)=>{var s,u;t[a]=Ly((u=(s=o[l])!==null&&s!==void 0?s:o[l-2])!==null&&u!==void 0?u:o[0])}):t[n]=r}else t[n]=r}),t}},nve=tve,w$=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function rve(e,t){const n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}const ive=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{rootValue:t=16,precision:n=5,mediaQuery:r=!1}=e,i=(a,l)=>{if(!l)return a;const s=parseFloat(l);return s<=1?a:`${rve(s/t,n)}rem`};return{visit:a=>{const l=_({},a);return Object.entries(a).forEach(s=>{let[u,c]=s;if(typeof c=="string"&&c.includes("px")){const f=c.replace(w$,i);l[u]=f}!JK[u]&&typeof c=="number"&&c!==0&&(l[u]=`${c}px`.replace(w$,i));const d=u.trim();if(d.startsWith("@")&&d.includes("px")&&r){const f=u.replace(w$,i);l[f]=l[u],delete l[u]}}),l}}},ove=ive,ave={Theme:SO,createTheme:xO,useStyleRegister:j1,useCacheToken:QK,createCache:Mh,useStyleInject:km,useStyleProvider:jK,Keyframes:xt,extractStyle:Zhe,legacyLogicalPropertiesTransformer:nve,px2remTransformer:ove,logicalPropertiesLinter:Fhe,legacyNotSelectorLinter:khe,parentSelectorLinter:Hhe,StyleProvider:qfe},lve=ave,lU="4.2.6",kg=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Ir(e,t){sve(e)&&(e="100%");var n=uve(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ny(e){return Math.min(1,Math.max(0,e))}function sve(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function uve(e){return typeof e=="string"&&e.indexOf("%")!==-1}function sU(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ky(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Nc(e){return e.length===1?"0"+e:String(e)}function cve(e,t,n){return{r:Ir(e,255)*255,g:Ir(t,255)*255,b:Ir(n,255)*255}}function o6(e,t,n){e=Ir(e,255),t=Ir(t,255),n=Ir(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,l=(r+i)/2;if(r===i)a=0,o=0;else{var s=r-i;switch(a=l>.5?s/(2-r-i):s/(r+i),r){case e:o=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dve(e,t,n){var r,i,o;if(e=Ir(e,360),t=Ir(t,100),n=Ir(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=C$(l,a,e+1/3),i=C$(l,a,e),o=C$(l,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function LI(e,t,n){e=Ir(e,255),t=Ir(t,255),n=Ir(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,l=r-i,s=r===0?0:l/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var kI={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Df(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=yve(e)),typeof e=="object"&&(fl(e.r)&&fl(e.g)&&fl(e.b)?(t=cve(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):fl(e.h)&&fl(e.s)&&fl(e.v)?(r=ky(e.s),i=ky(e.v),t=fve(e.h,r,i),a=!0,l="hsv"):fl(e.h)&&fl(e.s)&&fl(e.l)&&(r=ky(e.s),o=ky(e.l),t=dve(e.h,r,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=sU(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var gve="[-\\+]?\\d+%?",mve="[-\\+]?\\d*\\.\\d+%?",js="(?:".concat(mve,")|(?:").concat(gve,")"),$$="[\\s|\\(]+(".concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")\\s*\\)?"),_$="[\\s|\\(]+(".concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")[,|\\s]+(").concat(js,")\\s*\\)?"),Go={CSS_UNIT:new RegExp(js),rgb:new RegExp("rgb"+$$),rgba:new RegExp("rgba"+_$),hsl:new RegExp("hsl"+$$),hsla:new RegExp("hsla"+_$),hsv:new RegExp("hsv"+$$),hsva:new RegExp("hsva"+_$),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function yve(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(kI[e])e=kI[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Go.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Go.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Go.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Go.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Go.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Go.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Go.hex8.exec(e),n?{r:Wi(n[1]),g:Wi(n[2]),b:Wi(n[3]),a:a6(n[4]),format:t?"name":"hex8"}:(n=Go.hex6.exec(e),n?{r:Wi(n[1]),g:Wi(n[2]),b:Wi(n[3]),format:t?"name":"hex"}:(n=Go.hex4.exec(e),n?{r:Wi(n[1]+n[1]),g:Wi(n[2]+n[2]),b:Wi(n[3]+n[3]),a:a6(n[4]+n[4]),format:t?"name":"hex8"}:(n=Go.hex3.exec(e),n?{r:Wi(n[1]+n[1]),g:Wi(n[2]+n[2]),b:Wi(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function fl(e){return!!Go.CSS_UNIT.exec(String(e))}var zt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=pve(t)),this.originalInput=t;var i=Df(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=sU(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=LI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=LI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=o6(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=o6(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),NI(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),hve(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ir(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ir(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+NI(this.r,this.g,this.b,!1),n=0,r=Object.entries(kI);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ny(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ny(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ny(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ny(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-By*t:Math.round(e.h)+By*t:r=n?Math.round(e.h)+By*t:Math.round(e.h)-By*t,r<0?r+=360:r>=360&&(r-=360),r}function c6(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-l6*t:t===cU?r=e.s+l6:r=e.s+bve*t,r>1&&(r=1),n&&t===uU&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function d6(e,t,n){var r;return n?r=e.v+Sve*t:r=e.v-xve*t,r>1&&(r=1),Number(r.toFixed(2))}function hd(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Df(e),i=uU;i>0;i-=1){var o=s6(r),a=Fy(Df({h:u6(o,i,!0),s:c6(o,i,!0),v:d6(o,i,!0)}));n.push(a)}n.push(Fy(r));for(var l=1;l<=cU;l+=1){var s=s6(r),u=Fy(Df({h:u6(s,l),s:c6(s,l),v:d6(s,l)}));n.push(u)}return t.theme==="dark"?wve.map(function(c){var d=c.index,f=c.opacity,h=Fy(Cve(Df(t.backgroundColor||"#141414"),Df(n[d]),f*100));return h}):n}var oh={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Up={},T$={};Object.keys(oh).forEach(function(e){Up[e]=hd(oh[e]),Up[e].primary=Up[e][5],T$[e]=hd(oh[e],{theme:"dark",backgroundColor:"#141414"}),T$[e].primary=T$[e][5]});var $ve=Up.gold,_ve=Up.blue;const Tve=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},Ive=Tve;function Pve(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const dU={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Mve=_(_({},dU),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),nw=Pve;function Mve(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,d=n(s),f=n(i),h=n(o),v=n(a),p=n(l),g=r(u,c);return _(_({},g),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:v[1],colorErrorBgHover:v[2],colorErrorBorder:v[3],colorErrorBorderHover:v[4],colorErrorHover:v[5],colorError:v[6],colorErrorActive:v[7],colorErrorTextHover:v[8],colorErrorText:v[9],colorErrorTextActive:v[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorBgMask:new zt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ave=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}},Ove=Ave;function Dve(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return _({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},Ove(r))}const fl=(e,t)=>new zt(e).setAlpha(t).toRgbString(),Rv=(e,t)=>new zt(e).darken(t).toHexString(),Eve=e=>{const t=hd(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Rve=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:fl(r,.88),colorTextSecondary:fl(r,.65),colorTextTertiary:fl(r,.45),colorTextQuaternary:fl(r,.25),colorFill:fl(r,.15),colorFillSecondary:fl(r,.06),colorFillTertiary:fl(r,.04),colorFillQuaternary:fl(r,.02),colorBgLayout:Rv(n,4),colorBgContainer:Rv(n,0),colorBgElevated:Rv(n,0),colorBgSpotlight:fl(r,.85),colorBorder:Rv(n,15),colorBorderSecondary:Rv(n,6)}};function Lve(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(2.71828,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const Nve=e=>{const t=Lve(e),n=t.map(i=>i.size),r=t.map(i=>i.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},kve=Nve;function Bve(e){const t=Object.keys(dU).map(n=>{const r=hd(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=_(_({},n),r),n),{});return _(_(_(_(_(_(_({},e),t),Mve(e,{generateColorPalettes:Eve,generateNeutralColorPalettes:Rve})),kve(e.fontSize)),Ive(e)),Tve(e)),Dve(e))}function I$(e){return e>=0&&e<=255}function zy(e,t){const{r:n,g:r,b:i,a:o}=new zt(e).toRgb();if(o<1)return e;const{r:a,g:l,b:s}=new zt(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-a*(1-u))/u),d=Math.round((r-l*(1-u))/u),f=Math.round((i-s*(1-u))/u);if(I$(c)&&I$(d)&&I$(f))return new zt({r:c,g:d,b:f,a:Math.round(u*100)/100}).toRgbString()}return new zt({r:n,g:r,b:i,a:1}).toRgbString()}var Fve=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[h]});const i=_(_({},n),r),o=480,a=576,l=768,s=992,u=1200,c=1600,d=2e3;return _(_(_({},i),{colorLink:i.colorInfoText,colorLinkHover:i.colorInfoHover,colorLinkActive:i.colorInfoActive,colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:zy(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:zy(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:zy(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:zy(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` +'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1}),nw=Mve;function Ave(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,d=n(s),f=n(i),h=n(o),v=n(a),p=n(l),g=r(u,c);return _(_({},g),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:v[1],colorErrorBgHover:v[2],colorErrorBorder:v[3],colorErrorBorderHover:v[4],colorErrorHover:v[5],colorError:v[6],colorErrorActive:v[7],colorErrorTextHover:v[8],colorErrorText:v[9],colorErrorTextActive:v[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorBgMask:new zt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ove=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}},Dve=Ove;function Eve(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return _({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},Dve(r))}const hl=(e,t)=>new zt(e).setAlpha(t).toRgbString(),Lv=(e,t)=>new zt(e).darken(t).toHexString(),Rve=e=>{const t=hd(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Lve=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:hl(r,.88),colorTextSecondary:hl(r,.65),colorTextTertiary:hl(r,.45),colorTextQuaternary:hl(r,.25),colorFill:hl(r,.15),colorFillSecondary:hl(r,.06),colorFillTertiary:hl(r,.04),colorFillQuaternary:hl(r,.02),colorBgLayout:Lv(n,4),colorBgContainer:Lv(n,0),colorBgElevated:Lv(n,0),colorBgSpotlight:hl(r,.85),colorBorder:Lv(n,15),colorBorderSecondary:Lv(n,6)}};function Nve(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(2.71828,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const kve=e=>{const t=Nve(e),n=t.map(i=>i.size),r=t.map(i=>i.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},Bve=kve;function Fve(e){const t=Object.keys(dU).map(n=>{const r=hd(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=_(_({},n),r),n),{});return _(_(_(_(_(_(_({},e),t),Ave(e,{generateColorPalettes:Rve,generateNeutralColorPalettes:Lve})),Bve(e.fontSize)),Pve(e)),Ive(e)),Eve(e))}function I$(e){return e>=0&&e<=255}function zy(e,t){const{r:n,g:r,b:i,a:o}=new zt(e).toRgb();if(o<1)return e;const{r:a,g:l,b:s}=new zt(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-a*(1-u))/u),d=Math.round((r-l*(1-u))/u),f=Math.round((i-s*(1-u))/u);if(I$(c)&&I$(d)&&I$(f))return new zt({r:c,g:d,b:f,a:Math.round(u*100)/100}).toRgbString()}return new zt({r:n,g:r,b:i,a:1}).toRgbString()}var zve=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[h]});const i=_(_({},n),r),o=480,a=576,l=768,s=992,u=1200,c=1600,d=2e3;return _(_(_({},i),{colorLink:i.colorInfoText,colorLinkHover:i.colorInfoHover,colorLinkActive:i.colorInfoActive,colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:zy(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:zy(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:zy(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:zy(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) @@ -57,18 +57,18 @@ var _le=Object.defineProperty,Tle=Object.defineProperties;var Ile=Object.getOwnP 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const rw=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),CO=(e,t,n,r,i)=>{const o=e/2,a=0,l=o,s=n*1/Math.sqrt(2),u=o-n*(1-1/Math.sqrt(2)),c=o-t*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),f=2*o-c,h=d,v=2*o-s,p=u,g=2*o-a,m=l,y=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:y,height:y,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:i,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`,`path('M ${a} ${l} A ${n} ${n} 0 0 0 ${s} ${u} L ${c} ${d} A ${t} ${t} 0 0 1 ${f} ${h} L ${v} ${p} A ${n} ${n} 0 0 0 ${g} ${m} Z')`]},content:'""'}}};function G1(e,t){return Ng.reduce((n,r)=>{const i=e[`${r}-1`],o=e[`${r}-3`],a=e[`${r}-6`],l=e[`${r}-7`];return _(_({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:l}))},{})}const Hn={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},st=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Ad=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),aa=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Hve=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Vve=(e,t)=>{const{fontFamily:n,fontSize:r}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[i]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},jl=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Gl=e=>({"&:focus-visible":_({},jl(e))});function it(e,t,n){return r=>{const i=L(()=>r==null?void 0:r.value),[o,a,l]=is(),{getPrefixCls:s,iconPrefixCls:u}=Zx(),c=L(()=>s()),d=L(()=>({theme:o.value,token:a.value,hashId:l.value,path:["Shared",c.value]}));j1(d,()=>[{"&":Hve(a.value)}]);const f=L(()=>({theme:o.value,token:a.value,hashId:l.value,path:[e,i.value,u.value]}));return[j1(f,()=>{const{token:h,flush:v}=jve(a.value),p=typeof n=="function"?n(h):n,g=_(_({},p),a.value[e]),m=`.${i.value}`,y=Ue(h,{componentCls:m,prefixCls:i.value,iconCls:`.${u.value}`,antCls:`.${c.value}`},g),b=t(y,{hashId:l.value,prefixCls:i.value,rootPrefixCls:c.value,iconPrefixCls:u.value,overrideComponentToken:a.value[e]});return v(e,g),[Vve(a.value,i.value),b]}),l]}}const fU=typeof CSSINJS_STATISTIC!="undefined";let BI=!0;function Ue(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(i).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>i[a]})})}),BI=!0,r}function Wve(){}function jve(e){let t,n=e,r=Wve;return fU&&(t=new Set,n=new Proxy(e,{get(i,o){return BI&&t.add(o),i[o]}}),r=(i,o)=>{Array.from(t)}),{token:n,keys:t,flush:r}}const Gve=xO(Bve),hU={token:nw,hashed:!0},vU=Symbol("DesignTokenContext"),FI=ae(),Kve=e=>{at(vU,e),Se(e,()=>{FI.value=yn(e),tG(FI)},{immediate:!0,deep:!0})},Uve=se({props:{value:He()},setup(e,t){let{slots:n}=t;return Kve(L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function is(){const e=Je(vU,L(()=>FI.value||hU)),t=L(()=>`${lU}-${e.value.hashed||""}`),n=L(()=>e.value.theme||Gve),r=QK(n,L(()=>[nw,e.value.token]),L(()=>({salt:t.value,override:_({override:e.value.token},e.value.components),formatToken:zve})));return[n,L(()=>r.value[0]),L(()=>e.value.hashed?r.value[1]:"")]}const pU=se({compatConfig:{MODE:3},setup(){const[,e]=is(),t=L(()=>new zt(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>w("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(24 31.67)"},[w("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),w("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),w("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),w("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),w("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),w("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),w("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[w("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),w("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});pU.PRESENTED_IMAGE_DEFAULT=!0;const gU=pU,mU=se({compatConfig:{MODE:3},setup(){const[,e]=is(),t=L(()=>{const{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:o}=e.value;return{borderColor:new zt(n).onBackground(o).toHexString(),shadowColor:new zt(r).onBackground(o).toHexString(),contentColor:new zt(i).onBackground(o).toHexString()}});return()=>w("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[w("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[w("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),w("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[w("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),w("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});mU.PRESENTED_IMAGE_SIMPLE=!0;const Xve=mU,Yve=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},qve=it("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=Ue(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[Yve(r)]});var Zve=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,imageStyle:He(),image:tn(),description:tn()}),$O=se({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:Qve(),setup(e,t){let{slots:n={},attrs:r}=t;const{direction:i,prefixCls:o}=Ee("empty",e),[a,l]=qve(o);return()=>{var s,u;const c=o.value,d=_(_({},e),r),{image:f=((s=n.image)===null||s===void 0?void 0:s.call(n))||Wl(gU),description:h=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:v,class:p=""}=d,g=Zve(d,["image","description","imageStyle","class"]),m=typeof f=="function"?f():f,y=typeof m=="object"&&"type"in m&&m.type.PRESENTED_IMAGE_SIMPLE;return a(w(Md,{componentName:"Empty",children:b=>{const S=typeof h!="undefined"?h:b.description,x=typeof S=="string"?S:"empty";let $=null;return typeof m=="string"?$=w("img",{alt:x,src:m},null):$=m,w("div",z({class:ce(c,p,l.value,{[`${c}-normal`]:y,[`${c}-rtl`]:i.value==="rtl"})},g),[w("div",{class:`${c}-image`,style:v},[$]),S&&w("p",{class:`${c}-description`},[S]),n.default&&w("div",{class:`${c}-footer`},[xn(n.default())])])}},null))}}});$O.PRESENTED_IMAGE_DEFAULT=()=>Wl(gU);$O.PRESENTED_IMAGE_SIMPLE=()=>Wl(Xve);const Hs=gn($O),_O=e=>{const{prefixCls:t}=Ee("empty",e);return(r=>{switch(r){case"Table":case"List":return w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return w(Hs,null,null)}})(e.componentName)};function Jve(e){return w(_O,{componentName:e},null)}const yU=Symbol("SizeContextKey"),bU=()=>Je(yU,ue(void 0)),SU=e=>{const t=bU();return at(yU,L(()=>e.value||t.value)),e},Ee=(e,t)=>{const n=bU(),r=Mi(),i=Je(mO,_(_({},kK),{renderEmpty:C=>Wl(_O,{componentName:C})})),o=L(()=>i.getPrefixCls(e,t.prefixCls)),a=L(()=>{var C,T;return(C=t.direction)!==null&&C!==void 0?C:(T=i.direction)===null||T===void 0?void 0:T.value}),l=L(()=>{var C;return(C=t.iconPrefixCls)!==null&&C!==void 0?C:i.iconPrefixCls.value}),s=L(()=>i.getPrefixCls()),u=L(()=>{var C;return(C=i.autoInsertSpaceInButton)===null||C===void 0?void 0:C.value}),c=i.renderEmpty,d=i.space,f=i.pageHeader,h=i.form,v=L(()=>{var C,T;return(C=t.getTargetContainer)!==null&&C!==void 0?C:(T=i.getTargetContainer)===null||T===void 0?void 0:T.value}),p=L(()=>{var C,T,I;return(T=(C=t.getContainer)!==null&&C!==void 0?C:t.getPopupContainer)!==null&&T!==void 0?T:(I=i.getPopupContainer)===null||I===void 0?void 0:I.value}),g=L(()=>{var C,T;return(C=t.dropdownMatchSelectWidth)!==null&&C!==void 0?C:(T=i.dropdownMatchSelectWidth)===null||T===void 0?void 0:T.value}),m=L(()=>{var C;return(t.virtual===void 0?((C=i.virtual)===null||C===void 0?void 0:C.value)!==!1:t.virtual!==!1)&&g.value!==!1}),y=L(()=>t.size||n.value),b=L(()=>{var C,T,I;return(C=t.autocomplete)!==null&&C!==void 0?C:(I=(T=i.input)===null||T===void 0?void 0:T.value)===null||I===void 0?void 0:I.autocomplete}),S=L(()=>{var C;return(C=t.disabled)!==null&&C!==void 0?C:r.value}),x=L(()=>{var C;return(C=t.csp)!==null&&C!==void 0?C:i.csp}),$=L(()=>{var C,T;return(C=t.wave)!==null&&C!==void 0?C:(T=i.wave)===null||T===void 0?void 0:T.value});return{configProvider:i,prefixCls:o,direction:a,size:y,getTargetContainer:v,getPopupContainer:p,space:d,pageHeader:f,form:h,autoInsertSpaceInButton:u,renderEmpty:c,virtual:m,dropdownMatchSelectWidth:g,rootPrefixCls:s,getPrefixCls:i.getPrefixCls,autocomplete:b,csp:x,iconPrefixCls:l,disabled:S,select:i.select,wave:$}};function yt(e,t){const n=_({},e);for(let r=0;r{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},tpe=it("Affix",e=>{const t=Ue(e,{zIndexPopup:e.zIndexBase+10});return[epe(t)]});function npe(){return typeof window!="undefined"?window:null}var Wf;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(Wf||(Wf={}));const rpe=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:npe},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),ipe=se({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:rpe(),setup(e,t){let{slots:n,emit:r,expose:i,attrs:o}=t;const a=ae(),l=ae(),s=Bt({affixStyle:void 0,placeholderStyle:void 0,status:Wf.None,lastAffix:!1,prevTarget:null,timeout:null}),u=gr(),c=L(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),d=L(()=>e.offsetBottom),f=()=>{const{status:b,lastAffix:S}=s,{target:x}=e;if(b!==Wf.Prepare||!l.value||!a.value||!x)return;const $=x();if(!$)return;const C={status:Wf.None},T=Ey(a.value);if(T.top===0&&T.left===0&&T.width===0&&T.height===0)return;const I=Ey($),P=G5(T,I,c.value),M=K5(T,I,d.value);if(!(T.top===0&&T.left===0&&T.width===0&&T.height===0)){if(P!==void 0){const O=`${T.width}px`,D=`${T.height}px`;C.affixStyle={position:"fixed",top:P,width:O,height:D},C.placeholderStyle={width:O,height:D}}else if(M!==void 0){const O=`${T.width}px`,D=`${T.height}px`;C.affixStyle={position:"fixed",bottom:M,width:O,height:D},C.placeholderStyle={width:O,height:D}}C.lastAffix=!!C.affixStyle,S!==C.lastAffix&&r("change",C.lastAffix),_(s,C)}},h=()=>{_(s,{status:Wf.Prepare,affixStyle:void 0,placeholderStyle:void 0})},v=PI(()=>{h()}),p=PI(()=>{const{target:b}=e,{affixStyle:S}=s;if(b&&S){const x=b();if(x&&a.value){const $=Ey(x),C=Ey(a.value),T=G5(C,$,c.value),I=K5(C,$,d.value);if(T!==void 0&&S.top===T||I!==void 0&&S.bottom===I)return}}h()});i({updatePosition:v,lazyUpdatePosition:p}),Se(()=>e.target,b=>{const S=(b==null?void 0:b())||null;s.prevTarget!==S&&(X5(u),S&&(U5(S,u),v()),s.prevTarget=S)}),Se(()=>[e.offsetTop,e.offsetBottom],v),tt(()=>{const{target:b}=e;b&&(s.timeout=setTimeout(()=>{U5(b(),u),v()}))}),Qr(()=>{f()}),Jr(()=>{clearTimeout(s.timeout),X5(u),v.cancel(),p.cancel()});const{prefixCls:g}=Ee("affix",e),[m,y]=tpe(g);return()=>{var b;const{affixStyle:S,placeholderStyle:x,status:$}=s,C=ce({[g.value]:S,[y.value]:!0}),T=yt(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return m(w(Mo,{onResize:v},{default:()=>[w("div",z(z(z({},T),o),{},{ref:a,"data-measure-status":$}),[S&&w("div",{style:x,"aria-hidden":"true"},null),w("div",{class:C,ref:l,style:S},[(b=n.default)===null||b===void 0?void 0:b.call(n)])])]}))}}}),xU=gn(ipe);function f6(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function h6(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function P$(e,t){if(e.clientHeightt||o>e&&a=t&&l>=n?o-e-r:a>t&&ln?a-t+i:0}var v6=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,s=typeof a=="function"?a:function(Z){return Z!==a};if(!f6(e))throw new TypeError("Invalid target");for(var u,c,d=document.scrollingElement||document.documentElement,f=[],h=e;f6(h)&&s(h);){if((h=(c=(u=h).parentElement)==null?u.getRootNode().host||null:c)===d){f.push(h);break}h!=null&&h===document.body&&P$(h)&&!P$(document.documentElement)||h!=null&&P$(h,l)&&f.push(h)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),b=y.height,S=y.width,x=y.top,$=y.right,C=y.bottom,T=y.left,I=i==="start"||i==="nearest"?x:i==="end"?C:x+b/2,P=o==="center"?T+S/2:o==="end"?$:T,M=[],O=0;O=0&&T>=0&&C<=p&&$<=v&&x>=k&&C<=B&&T>=F&&$<=N)return M;var H=getComputedStyle(D),V=parseInt(H.borderLeftWidth,10),X=parseInt(H.borderTopWidth,10),Q=parseInt(H.borderRightWidth,10),K=parseInt(H.borderBottomWidth,10),te=0,q=0,ee="offsetWidth"in D?D.offsetWidth-D.clientWidth-V-Q:0,J="offsetHeight"in D?D.offsetHeight-D.clientHeight-X-K:0,G="offsetWidth"in D?D.offsetWidth===0?0:E/D.offsetWidth:0,Y="offsetHeight"in D?D.offsetHeight===0?0:A/D.offsetHeight:0;if(d===D)te=i==="start"?I:i==="end"?I-p:i==="nearest"?Hy(m,m+p,p,X,K,m+I,m+I+b,b):I-p/2,q=o==="start"?P:o==="center"?P-v/2:o==="end"?P-v:Hy(g,g+v,v,V,Q,g+P,g+P+S,S),te=Math.max(0,te+m),q=Math.max(0,q+g);else{te=i==="start"?I-k-X:i==="end"?I-B+K+J:i==="nearest"?Hy(k,B,A,X,K+J,I,I+b,b):I-(k+A/2)+J/2,q=o==="start"?P-F-V:o==="center"?P-(F+E/2)+ee/2:o==="end"?P-N+Q+ee:Hy(F,N,E,V,Q+ee,P,P+S,S);var oe=D.scrollLeft,W=D.scrollTop;I+=W-(te=Math.max(0,Math.min(W+te/Y,D.scrollHeight-A/Y+J))),P+=oe-(q=Math.max(0,Math.min(oe+q/G,D.scrollWidth-E/G+ee)))}M.push({el:D,top:te,left:q})}return M};function wU(e){return e===Object(e)&&Object.keys(e).length!==0}function ope(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(r){var i=r.el,o=r.top,a=r.left;i.scroll&&n?i.scroll({top:o,left:a,behavior:t}):(i.scrollTop=o,i.scrollLeft=a)})}function ape(e){return e===!1?{block:"end",inline:"nearest"}:wU(e)?e:{block:"start",inline:"nearest"}}function CU(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(wU(t)&&typeof t.behavior=="function")return t.behavior(n?v6(e,t):[]);if(n){var r=ape(t);return ope(v6(e,r),r.behavior)}}function lpe(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function zI(e){return e!=null&&e===e.window}function TO(e,t){var n,r;if(typeof window=="undefined")return 0;const i=t?"scrollTop":"scrollLeft";let o=0;return zI(e)?o=e[t?"scrollY":"scrollX"]:e instanceof Document?o=e.documentElement[i]:(e instanceof HTMLElement||e)&&(o=e[i]),e&&!zI(e)&&typeof o!="number"&&(o=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[i]),o}function IO(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=TO(o,!0),l=Date.now(),s=()=>{const c=Date.now()-l,d=lpe(c>i?i:c,a,e,i);zI(o)?o.scrollTo(window.scrollX,d):o instanceof Document?o.documentElement.scrollTop=d:o.scrollTop=d,c{at($U,e)},upe=()=>Je($U,{registerLink:Vy,unregisterLink:Vy,scrollTo:Vy,activeLink:L(()=>""),handleClick:Vy,direction:L(()=>"vertical")}),cpe=spe,dpe=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:r,lineWidthBold:i,colorPrimary:o,lineType:a,colorSplit:l}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:_(_({},st(e)),{position:"relative",paddingInlineStart:i,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":_(_({},Hn),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${i}px ${a} ${l}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${r} ease-in-out`,width:i,backgroundColor:o,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},fpe=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:r,colorPrimary:i}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:r,backgroundColor:i}}}}},hpe=it("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:r,paddingXXS:i}=e,o=Ue(e,{holderOffsetBlock:i,anchorPaddingBlock:i,anchorPaddingBlockSecondary:i/2,anchorPaddingInline:r,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[dpe(o),fpe(o)]}),vpe=()=>({prefixCls:String,href:String,title:tn(),target:String,customTitleProps:He()}),PO=se({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:ft(vpe(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,i=null;const{handleClick:o,scrollTo:a,unregisterLink:l,registerLink:s,activeLink:u}=upe(),{prefixCls:c}=Ee("anchor",e),d=f=>{const{href:h}=e;o(f,{title:i,href:h}),a(h)};return Se(()=>e.href,(f,h)=>{_t(()=>{l(h),s(f)})}),tt(()=>{s(e.href)}),ht(()=>{l(e.href)}),()=>{var f;const{href:h,target:v,title:p=n.title,customTitleProps:g={}}=e,m=c.value;i=typeof p=="function"?p(g):p;const y=u.value===h,b=ce(`${m}-link`,{[`${m}-link-active`]:y},r.class),S=ce(`${m}-link-title`,{[`${m}-link-title-active`]:y});return w("div",z(z({},r),{},{class:b}),[w("a",{class:S,href:h,title:typeof i=="string"?i:"",target:v,onClick:d},[n.customTitle?n.customTitle(g):i]),(f=n.default)===null||f===void 0?void 0:f.call(n)])}}});function p6(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}function g6(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var PU=Object.prototype,MU=PU.toString,ppe=PU.hasOwnProperty,AU=/^\s*function (\w+)/;function m6(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var r=n.toString().match(AU);return r?r[1]:""}return""}var vd=function(e){var t,n;return g6(e)!==!1&&typeof(t=e.constructor)=="function"&&g6(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},gpe=function(e){return e},si=gpe,kg=function(e,t){return ppe.call(e,t)},mpe=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Dh=Array.isArray||function(e){return MU.call(e)==="[object Array]"},Eh=function(e){return MU.call(e)==="[object Function]"},K1=function(e){return vd(e)&&kg(e,"_vueTypes_name")},OU=function(e){return vd(e)&&(kg(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return kg(e,t)}))};function MO(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function Od(e,t,n){var r;n===void 0&&(n=!1);var i=!0,o="";r=vd(e)?e:{type:e};var a=K1(r)?r._vueTypes_name+" - ":"";if(OU(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return i;Dh(r.type)?(i=r.type.some(function(d){return Od(d,t,!0)===!0}),o=r.type.map(function(d){return m6(d)}).join(" or ")):i=(o=m6(r))==="Array"?Dh(t):o==="Object"?vd(t):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(d){if(d==null)return"";var f=d.constructor.toString().match(AU);return f?f[1]:""}(t)===o:t instanceof r.type}if(!i){var l=a+'value "'+t+'" should be of type "'+o+'"';return n===!1?(si(l),!1):l}if(kg(r,"validator")&&Eh(r.validator)){var s=si,u=[];if(si=function(d){u.push(d)},i=r.validator(t),si=s,!i){var c=(u.length>1?"* ":"")+u.join(` -* `);return u.length=0,n===!1?(si(c),i):c}}return i}function Ji(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(i){return i!==void 0||this.default?Eh(i)||Od(this,i,!0)===!0?(this.default=Dh(i)?function(){return[].concat(i)}:vd(i)?function(){return Object.assign({},i)}:i,this):(si(this._vueTypes_name+' - invalid default value: "'+i+'"'),this):this}}}),r=n.validator;return Eh(r)&&(n.validator=MO(r,n)),n}function Za(e,t){var n=Ji(e,t);return Object.defineProperty(n,"validate",{value:function(r){return Eh(this.validator)&&si(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: -`+JSON.stringify(this)),this.validator=MO(r,this),this}})}function y6(e,t,n){var r,i,o=(r=t,i={},Object.getOwnPropertyNames(r).forEach(function(d){i[d]=Object.getOwnPropertyDescriptor(r,d)}),Object.defineProperties({},i));if(o._vueTypes_name=e,!vd(n))return o;var a,l,s=n.validator,u=IU(n,["validator"]);if(Eh(s)){var c=o.validator;c&&(c=(l=(a=c).__original)!==null&&l!==void 0?l:a),o.validator=MO(c?function(d){return c.call(this,d)&&s.call(this,d)}:s,o)}return Object.assign(o,u)}function iw(e){return e.replace(/^(?!\s*$)/gm," ")}var ype=function(){return Za("any",{})},bpe=function(){return Za("function",{type:Function})},Spe=function(){return Za("boolean",{type:Boolean})},xpe=function(){return Za("string",{type:String})},wpe=function(){return Za("number",{type:Number})},Cpe=function(){return Za("array",{type:Array})},$pe=function(){return Za("object",{type:Object})},_pe=function(){return Ji("integer",{type:Number,validator:function(e){return mpe(e)}})},Tpe=function(){return Ji("symbol",{validator:function(e){return typeof e=="symbol"}})};function Ipe(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return Ji(e.name||"<>",{validator:function(n){var r=e(n);return r||si(this._vueTypes_name+" - "+t),r}})}function Ppe(e){if(!Dh(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(r,i){if(i!=null){var o=i.constructor;r.indexOf(o)===-1&&r.push(o)}return r},[]);return Ji("oneOf",{type:n.length>0?n:void 0,validator:function(r){var i=e.indexOf(r)!==-1;return i||si(t),i}})}function Mpe(e){if(!Dh(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),CO=(e,t,n,r,i)=>{const o=e/2,a=0,l=o,s=n*1/Math.sqrt(2),u=o-n*(1-1/Math.sqrt(2)),c=o-t*(1/Math.sqrt(2)),d=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),f=2*o-c,h=d,v=2*o-s,p=u,g=2*o-a,m=l,y=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:y,height:y,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:i,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${b}px 100%, 50% ${b}px, ${2*o-b}px 100%, ${b}px 100%)`,`path('M ${a} ${l} A ${n} ${n} 0 0 0 ${s} ${u} L ${c} ${d} A ${t} ${t} 0 0 1 ${f} ${h} L ${v} ${p} A ${n} ${n} 0 0 0 ${g} ${m} Z')`]},content:'""'}}};function G1(e,t){return kg.reduce((n,r)=>{const i=e[`${r}-1`],o=e[`${r}-3`],a=e[`${r}-6`],l=e[`${r}-7`];return _(_({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:l}))},{})}const Hn={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},st=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Od=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),la=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Vve=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Wve=(e,t)=>{const{fontFamily:n,fontSize:r}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[i]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Gl=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Kl=e=>({"&:focus-visible":_({},Gl(e))});function it(e,t,n){return r=>{const i=L(()=>r==null?void 0:r.value),[o,a,l]=is(),{getPrefixCls:s,iconPrefixCls:u}=Zx(),c=L(()=>s()),d=L(()=>({theme:o.value,token:a.value,hashId:l.value,path:["Shared",c.value]}));j1(d,()=>[{"&":Vve(a.value)}]);const f=L(()=>({theme:o.value,token:a.value,hashId:l.value,path:[e,i.value,u.value]}));return[j1(f,()=>{const{token:h,flush:v}=Gve(a.value),p=typeof n=="function"?n(h):n,g=_(_({},p),a.value[e]),m=`.${i.value}`,y=Ue(h,{componentCls:m,prefixCls:i.value,iconCls:`.${u.value}`,antCls:`.${c.value}`},g),b=t(y,{hashId:l.value,prefixCls:i.value,rootPrefixCls:c.value,iconPrefixCls:u.value,overrideComponentToken:a.value[e]});return v(e,g),[Wve(a.value,i.value),b]}),l]}}const fU=typeof CSSINJS_STATISTIC!="undefined";let BI=!0;function Ue(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(i).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>i[a]})})}),BI=!0,r}function jve(){}function Gve(e){let t,n=e,r=jve;return fU&&(t=new Set,n=new Proxy(e,{get(i,o){return BI&&t.add(o),i[o]}}),r=(i,o)=>{Array.from(t)}),{token:n,keys:t,flush:r}}const Kve=xO(Fve),hU={token:nw,hashed:!0},vU=Symbol("DesignTokenContext"),FI=ae(),Uve=e=>{at(vU,e),Se(e,()=>{FI.value=yn(e),tG(FI)},{immediate:!0,deep:!0})},Xve=se({props:{value:He()},setup(e,t){let{slots:n}=t;return Uve(L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function is(){const e=Je(vU,L(()=>FI.value||hU)),t=L(()=>`${lU}-${e.value.hashed||""}`),n=L(()=>e.value.theme||Kve),r=QK(n,L(()=>[nw,e.value.token]),L(()=>({salt:t.value,override:_({override:e.value.token},e.value.components),formatToken:Hve})));return[n,L(()=>r.value[0]),L(()=>e.value.hashed?r.value[1]:"")]}const pU=se({compatConfig:{MODE:3},setup(){const[,e]=is(),t=L(()=>new zt(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>w("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(24 31.67)"},[w("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),w("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),w("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),w("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),w("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),w("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),w("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[w("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),w("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});pU.PRESENTED_IMAGE_DEFAULT=!0;const gU=pU,mU=se({compatConfig:{MODE:3},setup(){const[,e]=is(),t=L(()=>{const{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:o}=e.value;return{borderColor:new zt(n).onBackground(o).toHexString(),shadowColor:new zt(r).onBackground(o).toHexString(),contentColor:new zt(i).onBackground(o).toHexString()}});return()=>w("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[w("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[w("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),w("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[w("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),w("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});mU.PRESENTED_IMAGE_SIMPLE=!0;const Yve=mU,qve=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Zve=it("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=Ue(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[qve(r)]});var Qve=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,imageStyle:He(),image:tn(),description:tn()}),$O=se({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:Jve(),setup(e,t){let{slots:n={},attrs:r}=t;const{direction:i,prefixCls:o}=Ee("empty",e),[a,l]=Zve(o);return()=>{var s,u;const c=o.value,d=_(_({},e),r),{image:f=((s=n.image)===null||s===void 0?void 0:s.call(n))||jl(gU),description:h=((u=n.description)===null||u===void 0?void 0:u.call(n))||void 0,imageStyle:v,class:p=""}=d,g=Qve(d,["image","description","imageStyle","class"]),m=typeof f=="function"?f():f,y=typeof m=="object"&&"type"in m&&m.type.PRESENTED_IMAGE_SIMPLE;return a(w(Ad,{componentName:"Empty",children:b=>{const S=typeof h!="undefined"?h:b.description,x=typeof S=="string"?S:"empty";let $=null;return typeof m=="string"?$=w("img",{alt:x,src:m},null):$=m,w("div",z({class:ce(c,p,l.value,{[`${c}-normal`]:y,[`${c}-rtl`]:i.value==="rtl"})},g),[w("div",{class:`${c}-image`,style:v},[$]),S&&w("p",{class:`${c}-description`},[S]),n.default&&w("div",{class:`${c}-footer`},[xn(n.default())])])}},null))}}});$O.PRESENTED_IMAGE_DEFAULT=()=>jl(gU);$O.PRESENTED_IMAGE_SIMPLE=()=>jl(Yve);const Hs=gn($O),_O=e=>{const{prefixCls:t}=Ee("empty",e);return(r=>{switch(r){case"Table":case"List":return w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return w(Hs,null,null)}})(e.componentName)};function epe(e){return w(_O,{componentName:e},null)}const yU=Symbol("SizeContextKey"),bU=()=>Je(yU,ue(void 0)),SU=e=>{const t=bU();return at(yU,L(()=>e.value||t.value)),e},Ee=(e,t)=>{const n=bU(),r=Ai(),i=Je(mO,_(_({},kK),{renderEmpty:C=>jl(_O,{componentName:C})})),o=L(()=>i.getPrefixCls(e,t.prefixCls)),a=L(()=>{var C,T;return(C=t.direction)!==null&&C!==void 0?C:(T=i.direction)===null||T===void 0?void 0:T.value}),l=L(()=>{var C;return(C=t.iconPrefixCls)!==null&&C!==void 0?C:i.iconPrefixCls.value}),s=L(()=>i.getPrefixCls()),u=L(()=>{var C;return(C=i.autoInsertSpaceInButton)===null||C===void 0?void 0:C.value}),c=i.renderEmpty,d=i.space,f=i.pageHeader,h=i.form,v=L(()=>{var C,T;return(C=t.getTargetContainer)!==null&&C!==void 0?C:(T=i.getTargetContainer)===null||T===void 0?void 0:T.value}),p=L(()=>{var C,T,I;return(T=(C=t.getContainer)!==null&&C!==void 0?C:t.getPopupContainer)!==null&&T!==void 0?T:(I=i.getPopupContainer)===null||I===void 0?void 0:I.value}),g=L(()=>{var C,T;return(C=t.dropdownMatchSelectWidth)!==null&&C!==void 0?C:(T=i.dropdownMatchSelectWidth)===null||T===void 0?void 0:T.value}),m=L(()=>{var C;return(t.virtual===void 0?((C=i.virtual)===null||C===void 0?void 0:C.value)!==!1:t.virtual!==!1)&&g.value!==!1}),y=L(()=>t.size||n.value),b=L(()=>{var C,T,I;return(C=t.autocomplete)!==null&&C!==void 0?C:(I=(T=i.input)===null||T===void 0?void 0:T.value)===null||I===void 0?void 0:I.autocomplete}),S=L(()=>{var C;return(C=t.disabled)!==null&&C!==void 0?C:r.value}),x=L(()=>{var C;return(C=t.csp)!==null&&C!==void 0?C:i.csp}),$=L(()=>{var C,T;return(C=t.wave)!==null&&C!==void 0?C:(T=i.wave)===null||T===void 0?void 0:T.value});return{configProvider:i,prefixCls:o,direction:a,size:y,getTargetContainer:v,getPopupContainer:p,space:d,pageHeader:f,form:h,autoInsertSpaceInButton:u,renderEmpty:c,virtual:m,dropdownMatchSelectWidth:g,rootPrefixCls:s,getPrefixCls:i.getPrefixCls,autocomplete:b,csp:x,iconPrefixCls:l,disabled:S,select:i.select,wave:$}};function yt(e,t){const n=_({},e);for(let r=0;r{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},npe=it("Affix",e=>{const t=Ue(e,{zIndexPopup:e.zIndexBase+10});return[tpe(t)]});function rpe(){return typeof window!="undefined"?window:null}var jf;(function(e){e[e.None=0]="None",e[e.Prepare=1]="Prepare"})(jf||(jf={}));const ipe=()=>({offsetTop:Number,offsetBottom:Number,target:{type:Function,default:rpe},prefixCls:String,onChange:Function,onTestUpdatePosition:Function}),ope=se({compatConfig:{MODE:3},name:"AAffix",inheritAttrs:!1,props:ipe(),setup(e,t){let{slots:n,emit:r,expose:i,attrs:o}=t;const a=ae(),l=ae(),s=Bt({affixStyle:void 0,placeholderStyle:void 0,status:jf.None,lastAffix:!1,prevTarget:null,timeout:null}),u=gr(),c=L(()=>e.offsetBottom===void 0&&e.offsetTop===void 0?0:e.offsetTop),d=L(()=>e.offsetBottom),f=()=>{const{status:b,lastAffix:S}=s,{target:x}=e;if(b!==jf.Prepare||!l.value||!a.value||!x)return;const $=x();if(!$)return;const C={status:jf.None},T=Ey(a.value);if(T.top===0&&T.left===0&&T.width===0&&T.height===0)return;const I=Ey($),P=G5(T,I,c.value),M=K5(T,I,d.value);if(!(T.top===0&&T.left===0&&T.width===0&&T.height===0)){if(P!==void 0){const O=`${T.width}px`,D=`${T.height}px`;C.affixStyle={position:"fixed",top:P,width:O,height:D},C.placeholderStyle={width:O,height:D}}else if(M!==void 0){const O=`${T.width}px`,D=`${T.height}px`;C.affixStyle={position:"fixed",bottom:M,width:O,height:D},C.placeholderStyle={width:O,height:D}}C.lastAffix=!!C.affixStyle,S!==C.lastAffix&&r("change",C.lastAffix),_(s,C)}},h=()=>{_(s,{status:jf.Prepare,affixStyle:void 0,placeholderStyle:void 0})},v=PI(()=>{h()}),p=PI(()=>{const{target:b}=e,{affixStyle:S}=s;if(b&&S){const x=b();if(x&&a.value){const $=Ey(x),C=Ey(a.value),T=G5(C,$,c.value),I=K5(C,$,d.value);if(T!==void 0&&S.top===T||I!==void 0&&S.bottom===I)return}}h()});i({updatePosition:v,lazyUpdatePosition:p}),Se(()=>e.target,b=>{const S=(b==null?void 0:b())||null;s.prevTarget!==S&&(X5(u),S&&(U5(S,u),v()),s.prevTarget=S)}),Se(()=>[e.offsetTop,e.offsetBottom],v),tt(()=>{const{target:b}=e;b&&(s.timeout=setTimeout(()=>{U5(b(),u),v()}))}),Qr(()=>{f()}),Jr(()=>{clearTimeout(s.timeout),X5(u),v.cancel(),p.cancel()});const{prefixCls:g}=Ee("affix",e),[m,y]=npe(g);return()=>{var b;const{affixStyle:S,placeholderStyle:x,status:$}=s,C=ce({[g.value]:S,[y.value]:!0}),T=yt(e,["prefixCls","offsetTop","offsetBottom","target","onChange","onTestUpdatePosition"]);return m(w(Ao,{onResize:v},{default:()=>[w("div",z(z(z({},T),o),{},{ref:a,"data-measure-status":$}),[S&&w("div",{style:x,"aria-hidden":"true"},null),w("div",{class:C,ref:l,style:S},[(b=n.default)===null||b===void 0?void 0:b.call(n)])])]}))}}}),xU=gn(ope);function f6(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function h6(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function P$(e,t){if(e.clientHeightt||o>e&&a=t&&l>=n?o-e-r:a>t&&ln?a-t+i:0}var v6=function(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,l=t.skipOverflowHiddenElements,s=typeof a=="function"?a:function(Z){return Z!==a};if(!f6(e))throw new TypeError("Invalid target");for(var u,c,d=document.scrollingElement||document.documentElement,f=[],h=e;f6(h)&&s(h);){if((h=(c=(u=h).parentElement)==null?u.getRootNode().host||null:c)===d){f.push(h);break}h!=null&&h===document.body&&P$(h)&&!P$(document.documentElement)||h!=null&&P$(h,l)&&f.push(h)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),b=y.height,S=y.width,x=y.top,$=y.right,C=y.bottom,T=y.left,I=i==="start"||i==="nearest"?x:i==="end"?C:x+b/2,P=o==="center"?T+S/2:o==="end"?$:T,M=[],O=0;O=0&&T>=0&&C<=p&&$<=v&&x>=k&&C<=B&&T>=F&&$<=N)return M;var H=getComputedStyle(D),V=parseInt(H.borderLeftWidth,10),X=parseInt(H.borderTopWidth,10),Q=parseInt(H.borderRightWidth,10),K=parseInt(H.borderBottomWidth,10),te=0,q=0,ee="offsetWidth"in D?D.offsetWidth-D.clientWidth-V-Q:0,J="offsetHeight"in D?D.offsetHeight-D.clientHeight-X-K:0,G="offsetWidth"in D?D.offsetWidth===0?0:E/D.offsetWidth:0,Y="offsetHeight"in D?D.offsetHeight===0?0:A/D.offsetHeight:0;if(d===D)te=i==="start"?I:i==="end"?I-p:i==="nearest"?Hy(m,m+p,p,X,K,m+I,m+I+b,b):I-p/2,q=o==="start"?P:o==="center"?P-v/2:o==="end"?P-v:Hy(g,g+v,v,V,Q,g+P,g+P+S,S),te=Math.max(0,te+m),q=Math.max(0,q+g);else{te=i==="start"?I-k-X:i==="end"?I-B+K+J:i==="nearest"?Hy(k,B,A,X,K+J,I,I+b,b):I-(k+A/2)+J/2,q=o==="start"?P-F-V:o==="center"?P-(F+E/2)+ee/2:o==="end"?P-N+Q+ee:Hy(F,N,E,V,Q+ee,P,P+S,S);var oe=D.scrollLeft,W=D.scrollTop;I+=W-(te=Math.max(0,Math.min(W+te/Y,D.scrollHeight-A/Y+J))),P+=oe-(q=Math.max(0,Math.min(oe+q/G,D.scrollWidth-E/G+ee)))}M.push({el:D,top:te,left:q})}return M};function wU(e){return e===Object(e)&&Object.keys(e).length!==0}function ape(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(r){var i=r.el,o=r.top,a=r.left;i.scroll&&n?i.scroll({top:o,left:a,behavior:t}):(i.scrollTop=o,i.scrollLeft=a)})}function lpe(e){return e===!1?{block:"end",inline:"nearest"}:wU(e)?e:{block:"start",inline:"nearest"}}function CU(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(wU(t)&&typeof t.behavior=="function")return t.behavior(n?v6(e,t):[]);if(n){var r=lpe(t);return ape(v6(e,r),r.behavior)}}function spe(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function zI(e){return e!=null&&e===e.window}function TO(e,t){var n,r;if(typeof window=="undefined")return 0;const i=t?"scrollTop":"scrollLeft";let o=0;return zI(e)?o=e[t?"scrollY":"scrollX"]:e instanceof Document?o=e.documentElement[i]:(e instanceof HTMLElement||e)&&(o=e[i]),e&&!zI(e)&&typeof o!="number"&&(o=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[i]),o}function IO(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=TO(o,!0),l=Date.now(),s=()=>{const c=Date.now()-l,d=spe(c>i?i:c,a,e,i);zI(o)?o.scrollTo(window.scrollX,d):o instanceof Document?o.documentElement.scrollTop=d:o.scrollTop=d,c{at($U,e)},cpe=()=>Je($U,{registerLink:Vy,unregisterLink:Vy,scrollTo:Vy,activeLink:L(()=>""),handleClick:Vy,direction:L(()=>"vertical")}),dpe=upe,fpe=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:r,lineWidthBold:i,colorPrimary:o,lineType:a,colorSplit:l}=e;return{[`${t}-wrapper`]:{marginBlockStart:-n,paddingBlockStart:n,backgroundColor:"transparent",[t]:_(_({},st(e)),{position:"relative",paddingInlineStart:i,[`${t}-link`]:{paddingBlock:e.anchorPaddingBlock,paddingInline:`${e.anchorPaddingInline}px 0`,"&-title":_(_({},Hn),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",left:{_skip_check_:!0,value:0},top:0,height:"100%",borderInlineStart:`${i}px ${a} ${l}`,content:'" "'},[`${t}-ink`]:{position:"absolute",left:{_skip_check_:!0,value:0},display:"none",transform:"translateY(-50%)",transition:`top ${r} ease-in-out`,width:i,backgroundColor:o,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},hpe=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:r,colorPrimary:i}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:r,backgroundColor:i}}}}},vpe=it("Anchor",e=>{const{fontSize:t,fontSizeLG:n,padding:r,paddingXXS:i}=e,o=Ue(e,{holderOffsetBlock:i,anchorPaddingBlock:i,anchorPaddingBlockSecondary:i/2,anchorPaddingInline:r,anchorTitleBlock:t/14*3,anchorBallSize:n/2});return[fpe(o),hpe(o)]}),ppe=()=>({prefixCls:String,href:String,title:tn(),target:String,customTitleProps:He()}),PO=se({compatConfig:{MODE:3},name:"AAnchorLink",inheritAttrs:!1,props:ft(ppe(),{href:"#"}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,i=null;const{handleClick:o,scrollTo:a,unregisterLink:l,registerLink:s,activeLink:u}=cpe(),{prefixCls:c}=Ee("anchor",e),d=f=>{const{href:h}=e;o(f,{title:i,href:h}),a(h)};return Se(()=>e.href,(f,h)=>{_t(()=>{l(h),s(f)})}),tt(()=>{s(e.href)}),ht(()=>{l(e.href)}),()=>{var f;const{href:h,target:v,title:p=n.title,customTitleProps:g={}}=e,m=c.value;i=typeof p=="function"?p(g):p;const y=u.value===h,b=ce(`${m}-link`,{[`${m}-link-active`]:y},r.class),S=ce(`${m}-link-title`,{[`${m}-link-title-active`]:y});return w("div",z(z({},r),{},{class:b}),[w("a",{class:S,href:h,title:typeof i=="string"?i:"",target:v,onClick:d},[n.customTitle?n.customTitle(g):i]),(f=n.default)===null||f===void 0?void 0:f.call(n)])}}});function p6(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}function g6(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var PU=Object.prototype,MU=PU.toString,gpe=PU.hasOwnProperty,AU=/^\s*function (\w+)/;function m6(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var r=n.toString().match(AU);return r?r[1]:""}return""}var vd=function(e){var t,n;return g6(e)!==!1&&typeof(t=e.constructor)=="function"&&g6(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},mpe=function(e){return e},si=mpe,Bg=function(e,t){return gpe.call(e,t)},ype=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Eh=Array.isArray||function(e){return MU.call(e)==="[object Array]"},Rh=function(e){return MU.call(e)==="[object Function]"},K1=function(e){return vd(e)&&Bg(e,"_vueTypes_name")},OU=function(e){return vd(e)&&(Bg(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Bg(e,t)}))};function MO(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function Dd(e,t,n){var r;n===void 0&&(n=!1);var i=!0,o="";r=vd(e)?e:{type:e};var a=K1(r)?r._vueTypes_name+" - ":"";if(OU(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return i;Eh(r.type)?(i=r.type.some(function(d){return Dd(d,t,!0)===!0}),o=r.type.map(function(d){return m6(d)}).join(" or ")):i=(o=m6(r))==="Array"?Eh(t):o==="Object"?vd(t):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(d){if(d==null)return"";var f=d.constructor.toString().match(AU);return f?f[1]:""}(t)===o:t instanceof r.type}if(!i){var l=a+'value "'+t+'" should be of type "'+o+'"';return n===!1?(si(l),!1):l}if(Bg(r,"validator")&&Rh(r.validator)){var s=si,u=[];if(si=function(d){u.push(d)},i=r.validator(t),si=s,!i){var c=(u.length>1?"* ":"")+u.join(` +* `);return u.length=0,n===!1?(si(c),i):c}}return i}function eo(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(i){return i!==void 0||this.default?Rh(i)||Dd(this,i,!0)===!0?(this.default=Eh(i)?function(){return[].concat(i)}:vd(i)?function(){return Object.assign({},i)}:i,this):(si(this._vueTypes_name+' - invalid default value: "'+i+'"'),this):this}}}),r=n.validator;return Rh(r)&&(n.validator=MO(r,n)),n}function Qa(e,t){var n=eo(e,t);return Object.defineProperty(n,"validate",{value:function(r){return Rh(this.validator)&&si(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: +`+JSON.stringify(this)),this.validator=MO(r,this),this}})}function y6(e,t,n){var r,i,o=(r=t,i={},Object.getOwnPropertyNames(r).forEach(function(d){i[d]=Object.getOwnPropertyDescriptor(r,d)}),Object.defineProperties({},i));if(o._vueTypes_name=e,!vd(n))return o;var a,l,s=n.validator,u=IU(n,["validator"]);if(Rh(s)){var c=o.validator;c&&(c=(l=(a=c).__original)!==null&&l!==void 0?l:a),o.validator=MO(c?function(d){return c.call(this,d)&&s.call(this,d)}:s,o)}return Object.assign(o,u)}function iw(e){return e.replace(/^(?!\s*$)/gm," ")}var bpe=function(){return Qa("any",{})},Spe=function(){return Qa("function",{type:Function})},xpe=function(){return Qa("boolean",{type:Boolean})},wpe=function(){return Qa("string",{type:String})},Cpe=function(){return Qa("number",{type:Number})},$pe=function(){return Qa("array",{type:Array})},_pe=function(){return Qa("object",{type:Object})},Tpe=function(){return eo("integer",{type:Number,validator:function(e){return ype(e)}})},Ipe=function(){return eo("symbol",{validator:function(e){return typeof e=="symbol"}})};function Ppe(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return eo(e.name||"<>",{validator:function(n){var r=e(n);return r||si(this._vueTypes_name+" - "+t),r}})}function Mpe(e){if(!Eh(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(r,i){if(i!=null){var o=i.constructor;r.indexOf(o)===-1&&r.push(o)}return r},[]);return eo("oneOf",{type:n.length>0?n:void 0,validator:function(r){var i=e.indexOf(r)!==-1;return i||si(t),i}})}function Ape(e){if(!Eh(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r0&&n.some(function(s){return a.indexOf(s)===-1})){var l=n.filter(function(s){return a.indexOf(s)===-1});return si(l.length===1?'shape - required property "'+l[0]+'" is not defined.':'shape - required properties "'+l.join('", "')+'" are not defined.'),!1}return a.every(function(s){if(t.indexOf(s)===-1)return o._vueTypes_isLoose===!0||(si('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var u=Od(e[s],i[s],!0);return typeof u=="string"&&si('shape - "'+s+`" property validation error: - `+iw(u)),u===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var $a=function(){function e(){}return e.extend=function(t){var n=this;if(Dh(t))return t.forEach(function(d){return n.extend(d)}),this;var r=t.name,i=t.validate,o=i!==void 0&&i,a=t.getter,l=a!==void 0&&a,s=IU(t,["name","validate","getter"]);if(kg(this,r))throw new TypeError('[VueTypes error]: Type "'+r+'" already defined');var u,c=s.type;return K1(c)?(delete s.type,Object.defineProperty(this,r,l?{get:function(){return y6(r,c,s)}}:{value:function(){var d,f=y6(r,c,s);return f.validator&&(f.validator=(d=f.validator).bind.apply(d,[f].concat([].slice.call(arguments)))),f}})):(u=l?{get:function(){var d=Object.assign({},s);return o?Za(r,d):Ji(r,d)},enumerable:!0}:{value:function(){var d,f,h=Object.assign({},s);return d=o?Za(r,h):Ji(r,h),h.validator&&(d.validator=(f=h.validator).bind.apply(f,[d].concat([].slice.call(arguments)))),d},enumerable:!0},Object.defineProperty(this,r,u))},_U(e,null,[{key:"any",get:function(){return ype()}},{key:"func",get:function(){return bpe().def(this.defaults.func)}},{key:"bool",get:function(){return Spe().def(this.defaults.bool)}},{key:"string",get:function(){return xpe().def(this.defaults.string)}},{key:"number",get:function(){return wpe().def(this.defaults.number)}},{key:"array",get:function(){return Cpe().def(this.defaults.array)}},{key:"object",get:function(){return $pe().def(this.defaults.object)}},{key:"integer",get:function(){return _pe().def(this.defaults.integer)}},{key:"symbol",get:function(){return Tpe()}}]),e}();function DU(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function r(){return n.apply(this,arguments)||this}return TU(r,n),_U(r,null,[{key:"sensibleDefaults",get:function(){return $b({},this.defaults)},set:function(i){this.defaults=i!==!1?$b({},i!==!0?i:e):{}}}]),r}($a)).defaults=$b({},e),t}$a.defaults={},$a.custom=Ipe,$a.oneOf=Ppe,$a.instanceOf=Ope,$a.oneOfType=Mpe,$a.arrayOf=Ape,$a.objectOf=Dpe,$a.shape=Epe,$a.utils={validate:function(e,t){return Od(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?Za(e,t):Ji(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return TU(t,e),t})(DU());const EU=DU({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});EU.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function RU(e){return e.default=void 0,e}const U=EU,on=(e,t,n)=>{Jx(e,`[ant-design-vue: ${t}] ${n}`)};function Rpe(){return window}function b6(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}const S6=/#([\S ]+)$/,Lpe=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:Ot(),direction:U.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),Ic=se({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:Lpe(),setup(e,t){let{emit:n,attrs:r,slots:i,expose:o}=t;const{prefixCls:a,getTargetContainer:l,direction:s}=Ee("anchor",e),u=L(()=>{var C;return(C=e.direction)!==null&&C!==void 0?C:"vertical"}),c=ue(null),d=ue(),f=Bt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),h=ue(null),v=L(()=>{const{getContainer:C}=e;return C||(l==null?void 0:l.value)||Rpe}),p=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const I=[],P=v.value();return f.links.forEach(M=>{const O=S6.exec(M.toString());if(!O)return;const D=document.getElementById(O[1]);if(D){const R=b6(D,P);RD.top>O.top?D:O).link:""},g=C=>{const{getCurrentAnchor:T}=e;h.value!==C&&(h.value=typeof T=="function"?T(C):C,n("change",C))},m=C=>{const{offsetTop:T,targetOffset:I}=e;g(C);const P=S6.exec(C);if(!P)return;const M=document.getElementById(P[1]);if(!M)return;const O=v.value(),D=TO(O,!0),R=b6(M,O);let A=D+R;A-=I!==void 0?I:T||0,f.animating=!0,IO(A,{callback:()=>{f.animating=!1},getContainer:v.value})};o({scrollTo:m});const y=()=>{if(f.animating)return;const{offsetTop:C,bounds:T,targetOffset:I}=e,P=p(I!==void 0?I:C||0,T);g(P)},b=()=>{const C=d.value.querySelector(`.${a.value}-link-title-active`);if(C&&c.value){const T=u.value==="horizontal";c.value.style.top=T?"":`${C.offsetTop+C.clientHeight/2}px`,c.value.style.height=T?"":`${C.clientHeight}px`,c.value.style.left=T?`${C.offsetLeft}px`:"",c.value.style.width=T?`${C.clientWidth}px`:"",T&&CU(C,{scrollMode:"if-needed",block:"nearest"})}};cpe({registerLink:C=>{f.links.includes(C)||f.links.push(C)},unregisterLink:C=>{const T=f.links.indexOf(C);T!==-1&&f.links.splice(T,1)},activeLink:h,scrollTo:m,handleClick:(C,T)=>{n("click",C,T)},direction:u}),tt(()=>{_t(()=>{const C=v.value();f.scrollContainer=C,f.scrollEvent=bn(f.scrollContainer,"scroll",y),y()})}),ht(()=>{f.scrollEvent&&f.scrollEvent.remove()}),Qr(()=>{if(f.scrollEvent){const C=v.value();f.scrollContainer!==C&&(f.scrollContainer=C,f.scrollEvent.remove(),f.scrollEvent=bn(f.scrollContainer,"scroll",y),y())}b()});const S=C=>Array.isArray(C)?C.map(T=>{const{children:I,key:P,href:M,target:O,class:D,style:R,title:A}=T;return w(PO,{key:P,href:M,target:O,class:D,style:R,title:A,customTitleProps:T},{default:()=>[u.value==="vertical"?S(I):null],customTitle:i.customTitle})}):null,[x,$]=hpe(a);return()=>{var C;const{offsetTop:T,affix:I,showInkInFixed:P}=e,M=a.value,O=ce(`${M}-ink`,{[`${M}-ink-visible`]:h.value}),D=ce($.value,e.wrapperClass,`${M}-wrapper`,{[`${M}-wrapper-horizontal`]:u.value==="horizontal",[`${M}-rtl`]:s.value==="rtl"}),R=ce(M,{[`${M}-fixed`]:!I&&!P}),A=_({maxHeight:T?`calc(100vh - ${T}px)`:"100vh"},e.wrapperStyle),E=w("div",{class:D,style:A,ref:d},[w("div",{class:R},[w("span",{class:O,ref:c},null),Array.isArray(e.items)?S(e.items):(C=i.default)===null||C===void 0?void 0:C.call(i)])]);return x(I?w(xU,z(z({},r),{},{offsetTop:T,target:v.value}),{default:()=>[E]}):E)}}});Ic.Link=PO;Ic.install=function(e){return e.component(Ic.name,Ic),e.component(Ic.Link.name,Ic.Link),e};function x6(e,t){const{key:n}=e;let r;return"value"in e&&({value:r}=e),n!=null?n:r!==void 0?r:`rc-index-key-${t}`}function LU(e,t){const{label:n,value:r,options:i}=e||{};return{label:n||(t?"children":"label"),value:r||"value",options:i||"options"}}function Npe(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=[],{label:i,value:o,options:a}=LU(t,!1);function l(s,u){s.forEach(c=>{const d=c[i];if(u||!(a in c)){const f=c[o];r.push({key:x6(c,r.length),groupOption:u,data:c,label:d,value:f})}else{let f=d;f===void 0&&n&&(f=c.label),r.push({key:x6(c,r.length),group:!0,data:c,label:f}),l(c[a],!0)}})}return l(e,!1),r}function HI(e){const t=_({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function kpe(e,t){if(!t||!t.length)return null;let n=!1;function r(o,a){let[l,...s]=a;if(!l)return[o];const u=o.split(l);return n=n||u.length>1,u.reduce((c,d)=>[...c,...r(d,s)],[]).filter(c=>c)}const i=r(e,t);return n?i:null}function Bpe(){return""}function Fpe(e){return e?e.ownerDocument:window.document}function NU(){}const kU=()=>({action:U.oneOfType([U.string,U.arrayOf(U.string)]).def([]),showAction:U.any.def([]),hideAction:U.any.def([]),getPopupClassNameFromAlign:U.any.def(Bpe),onPopupVisibleChange:Function,afterPopupVisibleChange:U.func.def(NU),popup:U.any,arrow:U.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:U.string.def("rc-trigger-popup"),popupClassName:U.string.def(""),popupPlacement:String,builtinPlacements:U.object,popupTransitionName:String,popupAnimation:U.any,mouseEnterDelay:U.number.def(0),mouseLeaveDelay:U.number.def(.1),zIndex:Number,focusDelay:U.number.def(0),blurDelay:U.number.def(.15),getPopupContainer:Function,getDocument:U.func.def(Fpe),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:U.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),AO={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},zpe=_(_({},AO),{mobile:{type:Object}}),Hpe=_(_({},AO),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function OO(e){let{prefixCls:t,animation:n,transitionName:r}=e;return n?{name:`${t}-${n}`}:r?{name:r}:{}}function BU(e){const{prefixCls:t,visible:n,zIndex:r,mask:i,maskAnimation:o,maskTransitionName:a}=e;if(!i)return null;let l={};return(a||o)&&(l=OO({prefixCls:t,transitionName:a,animation:o})),w(dr,z({appear:!0},l),{default:()=>[Ur(w("div",{style:{zIndex:r},class:`${t}-mask`},null),[[Lse("if"),n]])]})}BU.displayName="Mask";const Vpe=se({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:zpe,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:r}=t;const i=ue();return n({forceAlign:()=>{},getElement:()=>i.value}),()=>{var o;const{zIndex:a,visible:l,prefixCls:s,mobile:{popupClassName:u,popupStyle:c,popupMotion:d={},popupRender:f}={}}=e,h=_({zIndex:a},c);let v=Jt((o=r.default)===null||o===void 0?void 0:o.call(r));v.length>1&&(v=w("div",{class:`${s}-content`},[v])),f&&(v=f(v));const p=ce(s,u);return w(dr,z({ref:i},d),{default:()=>[l?w("div",{class:p,style:h},[v]):null]})}}});var Wpe=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const w6=["measure","align",null,"motion"],jpe=(e,t)=>{const n=ae(null),r=ae(),i=ae(!1);function o(s){i.value||(n.value=s)}function a(){dt.cancel(r.value)}function l(s){a(),r.value=dt(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}o(u),s==null||s()})}return Se(e,()=>{o("measure")},{immediate:!0,flush:"post"}),tt(()=>{Se(n,()=>{switch(n.value){case"measure":t();break}n.value&&(r.value=dt(()=>Wpe(void 0,void 0,void 0,function*(){const s=w6.indexOf(n.value),u=w6[s+1];u&&s!==-1&&o(u)})))},{immediate:!0,flush:"post"})}),ht(()=>{i.value=!0,a()}),[n,l]},Gpe=e=>{const t=ae({width:0,height:0});function n(i){t.value={width:i.offsetWidth,height:i.offsetHeight}}return[L(()=>{const i={};if(e.value){const{width:o,height:a}=t.value;e.value.indexOf("height")!==-1&&a?i.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(i.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&o?i.width=`${o}px`:e.value.indexOf("minWidth")!==-1&&o&&(i.minWidth=`${o}px`)}return i}),n]};function C6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $6(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function vge(e,t,n,r){var i=Lt.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),Lt.mix(i,o)}function LO(e){var t,n,r;if(!Lt.isWindow(e)&&e.nodeType!==9)t=Lt.offset(e),n=Lt.outerWidth(e),r=Lt.outerHeight(e);else{var i=Lt.getWindow(e);t={left:Lt.getWindowScrollLeft(i),top:Lt.getWindowScrollTop(i)},n=Lt.viewportWidth(i),r=Lt.viewportHeight(i)}return t.width=n,t.height=r,t}function D6(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,l=e.top;return n==="c"?l+=o/2:n==="b"&&(l+=o),r==="c"?a+=i/2:r==="r"&&(a+=i),{left:a,top:l}}function jy(e,t,n,r,i){var o=D6(t,n[1]),a=D6(e,n[0]),l=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-l[0]+r[0]-i[0]),top:Math.round(e.top-l[1]+r[1]-i[1])}}function E6(e,t,n){return e.leftn.right}function R6(e,t,n){return e.topn.bottom}function pge(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function NO(e,t,n){var r=n.target||t,i=LO(r),o=!mge(r,n.overflow&&n.overflow.alwaysByViewport);return KU(e,i,n,o)}NO.__getOffsetParent=GI;NO.__getVisibleRectForElement=RO;function yge(e,t,n){var r,i,o=Lt.getDocument(e),a=o.defaultView||o.parentWindow,l=Lt.getWindowScrollLeft(a),s=Lt.getWindowScrollTop(a),u=Lt.viewportWidth(a),c=Lt.viewportHeight(a);"pageX"in t?r=t.pageX:r=l+t.clientX,"pageY"in t?i=t.pageY:i=s+t.clientY;var d={left:r,top:i,width:0,height:0},f=r>=0&&r<=l+u&&i>=0&&i<=s+c,h=[n.points[0],"cc"];return KU(e,d,$6($6({},n),{},{points:h}),f)}function Nt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e;if(Array.isArray(e)&&(i=xn(e)[0]),!i)return null;const o=cr(i,t,r);return o.props=n?_(_({},o.props),t):o.props,vn(typeof o.props.class!="object"),o}function bge(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(r=>Nt(r,t,n))}function Up(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Array.isArray(e))return e.map(i=>Up(i,t,n,r));{if(!Nn(e))return e;const i=Nt(e,t,n,r);return Array.isArray(i.children)&&(i.children=Up(i.children)),i}}function Sge(e,t,n){fu(cr(e,_({},t)),n)}const UU=e=>(e||[]).some(t=>Nn(t)?!(t.type===yr||t.type===Qe&&!UU(t.children)):!0)?e:null;function aw(e,t,n,r){var i;const o=(i=e[t])===null||i===void 0?void 0:i.call(e,n);return UU(o)?o:r==null?void 0:r()}const lw=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function xge(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function wge(e,t){e!==document.activeElement&&zs(t,e)&&typeof e.focus=="function"&&e.focus()}function k6(e,t){let n=null,r=null;function i(a){let[{target:l}]=a;if(!document.documentElement.contains(l))return;const{width:s,height:u}=l.getBoundingClientRect(),c=Math.floor(s),d=Math.floor(u);(n!==c||r!==d)&&Promise.resolve().then(()=>{t({width:c,height:d})}),n=c,r=d}const o=new hO(i);return e&&o.observe(e),()=>{o.disconnect()}}const Cge=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r)}function o(a){if(!n||a===!0){if(e()===!1)return;n=!0,i(),r=setTimeout(()=>{n=!1},t.value)}else i(),r=setTimeout(()=>{n=!1,o()},t.value)}return[o,()=>{n=!1,i()}]};function $ge(){this.__data__=[],this.size=0}function kO(e,t){return e===t||e!==e&&t!==t}function sw(e,t){for(var n=e.length;n--;)if(kO(e[n][0],t))return n;return-1}var _ge=Array.prototype,Tge=_ge.splice;function Ige(e){var t=this.__data__,n=sw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Tge.call(t,n,1),--this.size,!0}function Pge(e){var t=this.__data__,n=sw(t,e);return n<0?void 0:t[n][1]}function Mge(e){return sw(this.__data__,e)>-1}function Age(e,t){var n=this.__data__,r=sw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function os(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tl))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,h=n&Nme?new Rh:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=pye}var gye="[object Arguments]",mye="[object Array]",yye="[object Boolean]",bye="[object Date]",Sye="[object Error]",xye="[object Function]",wye="[object Map]",Cye="[object Number]",$ye="[object Object]",_ye="[object RegExp]",Tye="[object Set]",Iye="[object String]",Pye="[object WeakMap]",Mye="[object ArrayBuffer]",Aye="[object DataView]",Oye="[object Float32Array]",Dye="[object Float64Array]",Eye="[object Int8Array]",Rye="[object Int16Array]",Lye="[object Int32Array]",Nye="[object Uint8Array]",kye="[object Uint8ClampedArray]",Bye="[object Uint16Array]",Fye="[object Uint32Array]",Tn={};Tn[Oye]=Tn[Dye]=Tn[Eye]=Tn[Rye]=Tn[Lye]=Tn[Nye]=Tn[kye]=Tn[Bye]=Tn[Fye]=!0;Tn[gye]=Tn[mye]=Tn[Mye]=Tn[yye]=Tn[Aye]=Tn[bye]=Tn[Sye]=Tn[xye]=Tn[wye]=Tn[Cye]=Tn[$ye]=Tn[_ye]=Tn[Tye]=Tn[Iye]=Tn[Pye]=!1;function zye(e){return sa(e)&&VO(e.length)&&!!Tn[Pu(e)]}function dw(e){return function(t){return e(t)}}var nX=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Xp=nX&&typeof module=="object"&&module&&!module.nodeType&&module,Hye=Xp&&Xp.exports===nX,L$=Hye&&XU.process,Vye=function(){try{var e=Xp&&Xp.require&&Xp.require("util").types;return e||L$&&L$.binding&&L$.binding("util")}catch(t){}}();const Lh=Vye;var G6=Lh&&Lh.isTypedArray,Wye=G6?dw(G6):zye;const WO=Wye;var jye=Object.prototype,Gye=jye.hasOwnProperty;function rX(e,t){var n=eo(e),r=!n&&cw(e),i=!n&&!r&&Hg(e),o=!n&&!r&&!i&&WO(e),a=n||r||i||o,l=a?iye(e.length,String):[],s=l.length;for(var u in e)(t||Gye.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||HO(u,s)))&&l.push(u);return l}var Kye=Object.prototype;function fw(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Kye;return e===n}function iX(e,t){return function(n){return e(t(n))}}var Uye=iX(Object.keys,Object);const Xye=Uye;var Yye=Object.prototype,qye=Yye.hasOwnProperty;function oX(e){if(!fw(e))return Xye(e);var t=[];for(var n in Object(e))qye.call(e,n)&&n!="constructor"&&t.push(n);return t}function Qh(e){return e!=null&&VO(e.length)&&!qU(e)}function Jh(e){return Qh(e)?rX(e):oX(e)}function KI(e){return QU(e,Jh,zO)}var Zye=1,Qye=Object.prototype,Jye=Qye.hasOwnProperty;function e0e(e,t,n,r,i,o){var a=n&Zye,l=KI(e),s=l.length,u=KI(t),c=u.length;if(s!=c&&!a)return!1;for(var d=s;d--;){var f=l[d];if(!(a?f in t:Jye.call(t,f)))return!1}var h=o.get(e),v=o.get(t);if(h&&v)return h==t&&v==e;var p=!0;o.set(e,t),o.set(t,e);for(var g=a;++d{const{disabled:f,target:h,align:v,onAlign:p}=e;if(!f&&h&&o.value){const g=o.value;let m;const y=e8(h),b=t8(h);i.value.element=y,i.value.point=b,i.value.align=v;const{activeElement:S}=document;return y&&lw(y)?m=NO(g,y,v):b&&(m=yge(g,b,v)),wge(S,g),p&&m&&p(g,m),!0}return!1},L(()=>e.monitorBufferTime)),s=ue({cancel:()=>{}}),u=ue({cancel:()=>{}}),c=()=>{const f=e.target,h=e8(f),v=t8(f);o.value!==u.value.element&&(u.value.cancel(),u.value.element=o.value,u.value.cancel=k6(o.value,a)),(i.value.element!==h||!xge(i.value.point,v)||!jO(i.value.align,e.align))&&(a(),s.value.element!==h&&(s.value.cancel(),s.value.element=h,s.value.cancel=k6(h,a)))};tt(()=>{_t(()=>{c()})}),Qr(()=>{_t(()=>{c()})}),Se(()=>e.disabled,f=>{f?l():a()},{immediate:!0,flush:"post"});const d=ue(null);return Se(()=>e.monitorWindowResize,f=>{f?d.value||(d.value=bn(window,"resize",a)):d.value&&(d.value.remove(),d.value=null)},{flush:"post"}),Jr(()=>{s.value.cancel(),u.value.cancel(),d.value&&d.value.remove(),l()}),n({forceAlign:()=>a(!0)}),()=>{const f=r==null?void 0:r.default();return f?Nt(f[0],{ref:o},!0,!0):null}}});Ar("bottomLeft","bottomRight","topLeft","topRight");const GO=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Do=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},vw=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Yr=(e,t,n)=>n!==void 0?n:`${e}-${t}`,g0e=se({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:AO,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=ae(),a=ae(),l=ae(),[s,u]=Gpe(qe(e,"stretch")),c=()=>{e.stretch&&u(e.getRootDomNode())},d=ae(!1);let f;Se(()=>e.visible,$=>{clearTimeout(f),$?f=setTimeout(()=>{d.value=e.visible}):d.value=!1},{immediate:!0});const[h,v]=jpe(d,c),p=ae(),g=()=>e.point?e.point:e.getRootDomNode,m=()=>{var $;($=o.value)===null||$===void 0||$.forceAlign()},y=($,C)=>{var T;const I=e.getClassNameFromAlign(C),P=l.value;l.value!==I&&(l.value=I),h.value==="align"&&(P!==I?Promise.resolve().then(()=>{m()}):v(()=>{var M;(M=p.value)===null||M===void 0||M.call(p)}),(T=e.onAlign)===null||T===void 0||T.call(e,$,C))},b=L(()=>{const $=typeof e.animation=="object"?e.animation:OO(e);return["onAfterEnter","onAfterLeave"].forEach(C=>{const T=$[C];$[C]=I=>{v(),h.value="stable",T==null||T(I)}}),$}),S=()=>new Promise($=>{p.value=$});Se([b,h],()=>{!b.value&&h.value==="motion"&&v()},{immediate:!0}),n({forceAlign:m,getElement:()=>a.value.$el||a.value});const x=L(()=>{var $;return!(!(($=e.align)===null||$===void 0)&&$.points&&(h.value==="align"||h.value==="stable"))});return()=>{var $;const{zIndex:C,align:T,prefixCls:I,destroyPopupOnHide:P,onMouseenter:M,onMouseleave:O,onTouchstart:D=()=>{},onMousedown:R}=e,A=h.value,E=[_(_({},s.value),{zIndex:C,opacity:A==="motion"||A==="stable"||!d.value?null:0,pointerEvents:!d.value&&A!=="stable"?"none":null}),r.style];let k=Jt(($=i.default)===null||$===void 0?void 0:$.call(i,{visible:e.visible}));k.length>1&&(k=w("div",{class:`${I}-content`},[k]));const N=ce(I,r.class,l.value,!e.arrow&&`${I}-arrow-hidden`),F=d.value||!e.visible?Do(b.value.name,b.value):{};return w(dr,z(z({ref:a},F),{},{onBeforeEnter:S}),{default:()=>!P||e.visible?Ur(w(p0e,{target:g(),key:"popup",ref:o,monitorWindowResize:!0,disabled:x.value,align:T,onAlign:y},{default:()=>w("div",{class:N,onMouseenter:M,onMouseleave:O,onMousedown:m5(R,["capture"]),[tr?"onTouchstartPassive":"onTouchstart"]:m5(D,["capture"]),style:E},[k])}),[[hi,d.value]]):null})}}}),m0e=se({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Hpe,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ae(!1),a=ae(!1),l=ae(),s=ae();return Se([()=>e.visible,()=>e.mobile],()=>{o.value=e.visible,e.visible&&e.mobile&&(a.value=!0)},{immediate:!0,flush:"post"}),i({forceAlign:()=>{var u;(u=l.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=l.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=_(_(_({},e),n),{visible:o.value}),c=a.value?w(Vpe,z(z({},u),{},{mobile:e.mobile,ref:l}),{default:r.default}):w(g0e,z(z({},u),{},{ref:l}),{default:r.default});return w("div",{ref:s},[w(BU,u,null),c])}}});function y0e(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function n8(e,t,n){const r=e[t]||{};return _(_({},r),n)}function b0e(e,t,n,r){const{points:i}=n,o=Object.keys(e);for(let a=0;a0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const r=this.getDerivedStateFromProps(PK(this),_(_({},this.$data),n));if(r===null)return;n=_(_({},n),r||{})}_(this.$data,n),this._.isMounted&&this.$forceUpdate(),_t(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let r=0,i=n.length;r1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};at(aX,{inTriggerContext:t.inTriggerContext,shouldRender:L(()=>{const{sPopupVisible:n,popupRef:r,forceRender:i,autoDestroy:o}=e||{};let a=!1;return(n||r||i)&&(a=!0),!n&&o&&(a=!1),a})})},S0e=()=>{KO({},{inTriggerContext:!1});const e=Je(aX,{shouldRender:L(()=>!1),inTriggerContext:!1});return{shouldRender:L(()=>e.shouldRender.value||e.inTriggerContext===!1)}},lX=se({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:U.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,r=!0,i;const{shouldRender:o}=S0e();function a(){o.value&&(i=e.getContainer())}Vx(()=>{r=!1,a()}),tt(()=>{i||a()});const l=Se(o,()=>{o.value&&!i&&(i=e.getContainer()),i&&l()});return Qr(()=>{_t(()=>{var s;o.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return o.value?r?(s=n.default)===null||s===void 0?void 0:s.call(n):i?w(tO,{to:i},n):null:null}}});let N$;function q1(e){if(typeof document=="undefined")return 0;if(e||N$===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const i=t.offsetWidth;n.style.overflow="scroll";let o=t.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),N$=i-o}return N$}function r8(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?q1():n}function x0e(e){if(typeof document=="undefined"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:r8(t),height:r8(n)}}const w0e=`vc-util-locker-${Date.now()}`;let i8=0;function C0e(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function $0e(e){const t=L(()=>!!e&&!!e.value);i8+=1;const n=`${w0e}_${i8}`;Ye(r=>{if(Xr()){if(t.value){const i=q1(),o=C0e();Rg(` +`))),l}}:{type:n})}function Ope(e){return eo("arrayOf",{type:Array,validator:function(t){var n,r=t.every(function(i){return(n=Dd(e,i,!0))===!0});return r||si(`arrayOf - value validation error: +`+iw(n)),r}})}function Dpe(e){return eo("instanceOf",{type:e})}function Epe(e){return eo("objectOf",{type:Object,validator:function(t){var n,r=Object.keys(t).every(function(i){return(n=Dd(e,t[i],!0))===!0});return r||si(`objectOf - value validation error: +`+iw(n)),r}})}function Rpe(e){var t=Object.keys(e),n=t.filter(function(i){var o;return!!(!((o=e[i])===null||o===void 0)&&o.required)}),r=eo("shape",{type:Object,validator:function(i){var o=this;if(!vd(i))return!1;var a=Object.keys(i);if(n.length>0&&n.some(function(s){return a.indexOf(s)===-1})){var l=n.filter(function(s){return a.indexOf(s)===-1});return si(l.length===1?'shape - required property "'+l[0]+'" is not defined.':'shape - required properties "'+l.join('", "')+'" are not defined.'),!1}return a.every(function(s){if(t.indexOf(s)===-1)return o._vueTypes_isLoose===!0||(si('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var u=Dd(e[s],i[s],!0);return typeof u=="string"&&si('shape - "'+s+`" property validation error: + `+iw(u)),u===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var _a=function(){function e(){}return e.extend=function(t){var n=this;if(Eh(t))return t.forEach(function(d){return n.extend(d)}),this;var r=t.name,i=t.validate,o=i!==void 0&&i,a=t.getter,l=a!==void 0&&a,s=IU(t,["name","validate","getter"]);if(Bg(this,r))throw new TypeError('[VueTypes error]: Type "'+r+'" already defined');var u,c=s.type;return K1(c)?(delete s.type,Object.defineProperty(this,r,l?{get:function(){return y6(r,c,s)}}:{value:function(){var d,f=y6(r,c,s);return f.validator&&(f.validator=(d=f.validator).bind.apply(d,[f].concat([].slice.call(arguments)))),f}})):(u=l?{get:function(){var d=Object.assign({},s);return o?Qa(r,d):eo(r,d)},enumerable:!0}:{value:function(){var d,f,h=Object.assign({},s);return d=o?Qa(r,h):eo(r,h),h.validator&&(d.validator=(f=h.validator).bind.apply(f,[d].concat([].slice.call(arguments)))),d},enumerable:!0},Object.defineProperty(this,r,u))},_U(e,null,[{key:"any",get:function(){return bpe()}},{key:"func",get:function(){return Spe().def(this.defaults.func)}},{key:"bool",get:function(){return xpe().def(this.defaults.bool)}},{key:"string",get:function(){return wpe().def(this.defaults.string)}},{key:"number",get:function(){return Cpe().def(this.defaults.number)}},{key:"array",get:function(){return $pe().def(this.defaults.array)}},{key:"object",get:function(){return _pe().def(this.defaults.object)}},{key:"integer",get:function(){return Tpe().def(this.defaults.integer)}},{key:"symbol",get:function(){return Ipe()}}]),e}();function DU(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function r(){return n.apply(this,arguments)||this}return TU(r,n),_U(r,null,[{key:"sensibleDefaults",get:function(){return $b({},this.defaults)},set:function(i){this.defaults=i!==!1?$b({},i!==!0?i:e):{}}}]),r}(_a)).defaults=$b({},e),t}_a.defaults={},_a.custom=Ppe,_a.oneOf=Mpe,_a.instanceOf=Dpe,_a.oneOfType=Ape,_a.arrayOf=Ope,_a.objectOf=Epe,_a.shape=Rpe,_a.utils={validate:function(e,t){return Dd(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?Qa(e,t):eo(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return TU(t,e),t})(DU());const EU=DU({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});EU.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function RU(e){return e.default=void 0,e}const U=EU,on=(e,t,n)=>{Jx(e,`[ant-design-vue: ${t}] ${n}`)};function Lpe(){return window}function b6(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}const S6=/#([\S ]+)$/,Npe=()=>({prefixCls:String,offsetTop:Number,bounds:Number,affix:{type:Boolean,default:!0},showInkInFixed:{type:Boolean,default:!1},getContainer:Function,wrapperClass:String,wrapperStyle:{type:Object,default:void 0},getCurrentAnchor:Function,targetOffset:Number,items:Ot(),direction:U.oneOf(["vertical","horizontal"]).def("vertical"),onChange:Function,onClick:Function}),Ic=se({compatConfig:{MODE:3},name:"AAnchor",inheritAttrs:!1,props:Npe(),setup(e,t){let{emit:n,attrs:r,slots:i,expose:o}=t;const{prefixCls:a,getTargetContainer:l,direction:s}=Ee("anchor",e),u=L(()=>{var C;return(C=e.direction)!==null&&C!==void 0?C:"vertical"}),c=ue(null),d=ue(),f=Bt({links:[],scrollContainer:null,scrollEvent:null,animating:!1}),h=ue(null),v=L(()=>{const{getContainer:C}=e;return C||(l==null?void 0:l.value)||Lpe}),p=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;const I=[],P=v.value();return f.links.forEach(M=>{const O=S6.exec(M.toString());if(!O)return;const D=document.getElementById(O[1]);if(D){const R=b6(D,P);RD.top>O.top?D:O).link:""},g=C=>{const{getCurrentAnchor:T}=e;h.value!==C&&(h.value=typeof T=="function"?T(C):C,n("change",C))},m=C=>{const{offsetTop:T,targetOffset:I}=e;g(C);const P=S6.exec(C);if(!P)return;const M=document.getElementById(P[1]);if(!M)return;const O=v.value(),D=TO(O,!0),R=b6(M,O);let A=D+R;A-=I!==void 0?I:T||0,f.animating=!0,IO(A,{callback:()=>{f.animating=!1},getContainer:v.value})};o({scrollTo:m});const y=()=>{if(f.animating)return;const{offsetTop:C,bounds:T,targetOffset:I}=e,P=p(I!==void 0?I:C||0,T);g(P)},b=()=>{const C=d.value.querySelector(`.${a.value}-link-title-active`);if(C&&c.value){const T=u.value==="horizontal";c.value.style.top=T?"":`${C.offsetTop+C.clientHeight/2}px`,c.value.style.height=T?"":`${C.clientHeight}px`,c.value.style.left=T?`${C.offsetLeft}px`:"",c.value.style.width=T?`${C.clientWidth}px`:"",T&&CU(C,{scrollMode:"if-needed",block:"nearest"})}};dpe({registerLink:C=>{f.links.includes(C)||f.links.push(C)},unregisterLink:C=>{const T=f.links.indexOf(C);T!==-1&&f.links.splice(T,1)},activeLink:h,scrollTo:m,handleClick:(C,T)=>{n("click",C,T)},direction:u}),tt(()=>{_t(()=>{const C=v.value();f.scrollContainer=C,f.scrollEvent=bn(f.scrollContainer,"scroll",y),y()})}),ht(()=>{f.scrollEvent&&f.scrollEvent.remove()}),Qr(()=>{if(f.scrollEvent){const C=v.value();f.scrollContainer!==C&&(f.scrollContainer=C,f.scrollEvent.remove(),f.scrollEvent=bn(f.scrollContainer,"scroll",y),y())}b()});const S=C=>Array.isArray(C)?C.map(T=>{const{children:I,key:P,href:M,target:O,class:D,style:R,title:A}=T;return w(PO,{key:P,href:M,target:O,class:D,style:R,title:A,customTitleProps:T},{default:()=>[u.value==="vertical"?S(I):null],customTitle:i.customTitle})}):null,[x,$]=vpe(a);return()=>{var C;const{offsetTop:T,affix:I,showInkInFixed:P}=e,M=a.value,O=ce(`${M}-ink`,{[`${M}-ink-visible`]:h.value}),D=ce($.value,e.wrapperClass,`${M}-wrapper`,{[`${M}-wrapper-horizontal`]:u.value==="horizontal",[`${M}-rtl`]:s.value==="rtl"}),R=ce(M,{[`${M}-fixed`]:!I&&!P}),A=_({maxHeight:T?`calc(100vh - ${T}px)`:"100vh"},e.wrapperStyle),E=w("div",{class:D,style:A,ref:d},[w("div",{class:R},[w("span",{class:O,ref:c},null),Array.isArray(e.items)?S(e.items):(C=i.default)===null||C===void 0?void 0:C.call(i)])]);return x(I?w(xU,z(z({},r),{},{offsetTop:T,target:v.value}),{default:()=>[E]}):E)}}});Ic.Link=PO;Ic.install=function(e){return e.component(Ic.name,Ic),e.component(Ic.Link.name,Ic.Link),e};function x6(e,t){const{key:n}=e;let r;return"value"in e&&({value:r}=e),n!=null?n:r!==void 0?r:`rc-index-key-${t}`}function LU(e,t){const{label:n,value:r,options:i}=e||{};return{label:n||(t?"children":"label"),value:r||"value",options:i||"options"}}function kpe(e){let{fieldNames:t,childrenAsData:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=[],{label:i,value:o,options:a}=LU(t,!1);function l(s,u){s.forEach(c=>{const d=c[i];if(u||!(a in c)){const f=c[o];r.push({key:x6(c,r.length),groupOption:u,data:c,label:d,value:f})}else{let f=d;f===void 0&&n&&(f=c.label),r.push({key:x6(c,r.length),group:!0,data:c,label:f}),l(c[a],!0)}})}return l(e,!1),r}function HI(e){const t=_({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function Bpe(e,t){if(!t||!t.length)return null;let n=!1;function r(o,a){let[l,...s]=a;if(!l)return[o];const u=o.split(l);return n=n||u.length>1,u.reduce((c,d)=>[...c,...r(d,s)],[]).filter(c=>c)}const i=r(e,t);return n?i:null}function Fpe(){return""}function zpe(e){return e?e.ownerDocument:window.document}function NU(){}const kU=()=>({action:U.oneOfType([U.string,U.arrayOf(U.string)]).def([]),showAction:U.any.def([]),hideAction:U.any.def([]),getPopupClassNameFromAlign:U.any.def(Fpe),onPopupVisibleChange:Function,afterPopupVisibleChange:U.func.def(NU),popup:U.any,arrow:U.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:U.string.def("rc-trigger-popup"),popupClassName:U.string.def(""),popupPlacement:String,builtinPlacements:U.object,popupTransitionName:String,popupAnimation:U.any,mouseEnterDelay:U.number.def(0),mouseLeaveDelay:U.number.def(.1),zIndex:Number,focusDelay:U.number.def(0),blurDelay:U.number.def(.15),getPopupContainer:Function,getDocument:U.func.def(zpe),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:U.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),AO={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},Hpe=_(_({},AO),{mobile:{type:Object}}),Vpe=_(_({},AO),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function OO(e){let{prefixCls:t,animation:n,transitionName:r}=e;return n?{name:`${t}-${n}`}:r?{name:r}:{}}function BU(e){const{prefixCls:t,visible:n,zIndex:r,mask:i,maskAnimation:o,maskTransitionName:a}=e;if(!i)return null;let l={};return(a||o)&&(l=OO({prefixCls:t,transitionName:a,animation:o})),w(dr,z({appear:!0},l),{default:()=>[Ur(w("div",{style:{zIndex:r},class:`${t}-mask`},null),[[Lse("if"),n]])]})}BU.displayName="Mask";const Wpe=se({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:Hpe,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:r}=t;const i=ue();return n({forceAlign:()=>{},getElement:()=>i.value}),()=>{var o;const{zIndex:a,visible:l,prefixCls:s,mobile:{popupClassName:u,popupStyle:c,popupMotion:d={},popupRender:f}={}}=e,h=_({zIndex:a},c);let v=Jt((o=r.default)===null||o===void 0?void 0:o.call(r));v.length>1&&(v=w("div",{class:`${s}-content`},[v])),f&&(v=f(v));const p=ce(s,u);return w(dr,z({ref:i},d),{default:()=>[l?w("div",{class:p,style:h},[v]):null]})}}});var jpe=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const w6=["measure","align",null,"motion"],Gpe=(e,t)=>{const n=ae(null),r=ae(),i=ae(!1);function o(s){i.value||(n.value=s)}function a(){dt.cancel(r.value)}function l(s){a(),r.value=dt(()=>{let u=n.value;switch(n.value){case"align":u="motion";break;case"motion":u="stable";break}o(u),s==null||s()})}return Se(e,()=>{o("measure")},{immediate:!0,flush:"post"}),tt(()=>{Se(n,()=>{switch(n.value){case"measure":t();break}n.value&&(r.value=dt(()=>jpe(void 0,void 0,void 0,function*(){const s=w6.indexOf(n.value),u=w6[s+1];u&&s!==-1&&o(u)})))},{immediate:!0,flush:"post"})}),ht(()=>{i.value=!0,a()}),[n,l]},Kpe=e=>{const t=ae({width:0,height:0});function n(i){t.value={width:i.offsetWidth,height:i.offsetHeight}}return[L(()=>{const i={};if(e.value){const{width:o,height:a}=t.value;e.value.indexOf("height")!==-1&&a?i.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(i.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&o?i.width=`${o}px`:e.value.indexOf("minWidth")!==-1&&o&&(i.minWidth=`${o}px`)}return i}),n]};function C6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $6(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function pge(e,t,n,r){var i=Lt.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),Lt.mix(i,o)}function LO(e){var t,n,r;if(!Lt.isWindow(e)&&e.nodeType!==9)t=Lt.offset(e),n=Lt.outerWidth(e),r=Lt.outerHeight(e);else{var i=Lt.getWindow(e);t={left:Lt.getWindowScrollLeft(i),top:Lt.getWindowScrollTop(i)},n=Lt.viewportWidth(i),r=Lt.viewportHeight(i)}return t.width=n,t.height=r,t}function D6(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,l=e.top;return n==="c"?l+=o/2:n==="b"&&(l+=o),r==="c"?a+=i/2:r==="r"&&(a+=i),{left:a,top:l}}function jy(e,t,n,r,i){var o=D6(t,n[1]),a=D6(e,n[0]),l=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-l[0]+r[0]-i[0]),top:Math.round(e.top-l[1]+r[1]-i[1])}}function E6(e,t,n){return e.leftn.right}function R6(e,t,n){return e.topn.bottom}function gge(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function NO(e,t,n){var r=n.target||t,i=LO(r),o=!yge(r,n.overflow&&n.overflow.alwaysByViewport);return KU(e,i,n,o)}NO.__getOffsetParent=GI;NO.__getVisibleRectForElement=RO;function bge(e,t,n){var r,i,o=Lt.getDocument(e),a=o.defaultView||o.parentWindow,l=Lt.getWindowScrollLeft(a),s=Lt.getWindowScrollTop(a),u=Lt.viewportWidth(a),c=Lt.viewportHeight(a);"pageX"in t?r=t.pageX:r=l+t.clientX,"pageY"in t?i=t.pageY:i=s+t.clientY;var d={left:r,top:i,width:0,height:0},f=r>=0&&r<=l+u&&i>=0&&i<=s+c,h=[n.points[0],"cc"];return KU(e,d,$6($6({},n),{},{points:h}),f)}function Nt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=e;if(Array.isArray(e)&&(i=xn(e)[0]),!i)return null;const o=cr(i,t,r);return o.props=n?_(_({},o.props),t):o.props,vn(typeof o.props.class!="object"),o}function Sge(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return e.map(r=>Nt(r,t,n))}function Xp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Array.isArray(e))return e.map(i=>Xp(i,t,n,r));{if(!Nn(e))return e;const i=Nt(e,t,n,r);return Array.isArray(i.children)&&(i.children=Xp(i.children)),i}}function xge(e,t,n){fu(cr(e,_({},t)),n)}const UU=e=>(e||[]).some(t=>Nn(t)?!(t.type===yr||t.type===Qe&&!UU(t.children)):!0)?e:null;function aw(e,t,n,r){var i;const o=(i=e[t])===null||i===void 0?void 0:i.call(e,n);return UU(o)?o:r==null?void 0:r()}const lw=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function wge(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function Cge(e,t){e!==document.activeElement&&zs(t,e)&&typeof e.focus=="function"&&e.focus()}function k6(e,t){let n=null,r=null;function i(a){let[{target:l}]=a;if(!document.documentElement.contains(l))return;const{width:s,height:u}=l.getBoundingClientRect(),c=Math.floor(s),d=Math.floor(u);(n!==c||r!==d)&&Promise.resolve().then(()=>{t({width:c,height:d})}),n=c,r=d}const o=new hO(i);return e&&o.observe(e),()=>{o.disconnect()}}const $ge=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r)}function o(a){if(!n||a===!0){if(e()===!1)return;n=!0,i(),r=setTimeout(()=>{n=!1},t.value)}else i(),r=setTimeout(()=>{n=!1,o()},t.value)}return[o,()=>{n=!1,i()}]};function _ge(){this.__data__=[],this.size=0}function kO(e,t){return e===t||e!==e&&t!==t}function sw(e,t){for(var n=e.length;n--;)if(kO(e[n][0],t))return n;return-1}var Tge=Array.prototype,Ige=Tge.splice;function Pge(e){var t=this.__data__,n=sw(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ige.call(t,n,1),--this.size,!0}function Mge(e){var t=this.__data__,n=sw(t,e);return n<0?void 0:t[n][1]}function Age(e){return sw(this.__data__,e)>-1}function Oge(e,t){var n=this.__data__,r=sw(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function os(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tl))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,h=n&kme?new Lh:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=gye}var mye="[object Arguments]",yye="[object Array]",bye="[object Boolean]",Sye="[object Date]",xye="[object Error]",wye="[object Function]",Cye="[object Map]",$ye="[object Number]",_ye="[object Object]",Tye="[object RegExp]",Iye="[object Set]",Pye="[object String]",Mye="[object WeakMap]",Aye="[object ArrayBuffer]",Oye="[object DataView]",Dye="[object Float32Array]",Eye="[object Float64Array]",Rye="[object Int8Array]",Lye="[object Int16Array]",Nye="[object Int32Array]",kye="[object Uint8Array]",Bye="[object Uint8ClampedArray]",Fye="[object Uint16Array]",zye="[object Uint32Array]",Tn={};Tn[Dye]=Tn[Eye]=Tn[Rye]=Tn[Lye]=Tn[Nye]=Tn[kye]=Tn[Bye]=Tn[Fye]=Tn[zye]=!0;Tn[mye]=Tn[yye]=Tn[Aye]=Tn[bye]=Tn[Oye]=Tn[Sye]=Tn[xye]=Tn[wye]=Tn[Cye]=Tn[$ye]=Tn[_ye]=Tn[Tye]=Tn[Iye]=Tn[Pye]=Tn[Mye]=!1;function Hye(e){return ua(e)&&VO(e.length)&&!!Tn[Pu(e)]}function dw(e){return function(t){return e(t)}}var nX=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yp=nX&&typeof module=="object"&&module&&!module.nodeType&&module,Vye=Yp&&Yp.exports===nX,L$=Vye&&XU.process,Wye=function(){try{var e=Yp&&Yp.require&&Yp.require("util").types;return e||L$&&L$.binding&&L$.binding("util")}catch(t){}}();const Nh=Wye;var G6=Nh&&Nh.isTypedArray,jye=G6?dw(G6):Hye;const WO=jye;var Gye=Object.prototype,Kye=Gye.hasOwnProperty;function rX(e,t){var n=to(e),r=!n&&cw(e),i=!n&&!r&&Vg(e),o=!n&&!r&&!i&&WO(e),a=n||r||i||o,l=a?oye(e.length,String):[],s=l.length;for(var u in e)(t||Kye.call(e,u))&&!(a&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||HO(u,s)))&&l.push(u);return l}var Uye=Object.prototype;function fw(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Uye;return e===n}function iX(e,t){return function(n){return e(t(n))}}var Xye=iX(Object.keys,Object);const Yye=Xye;var qye=Object.prototype,Zye=qye.hasOwnProperty;function oX(e){if(!fw(e))return Yye(e);var t=[];for(var n in Object(e))Zye.call(e,n)&&n!="constructor"&&t.push(n);return t}function Jh(e){return e!=null&&VO(e.length)&&!qU(e)}function ev(e){return Jh(e)?rX(e):oX(e)}function KI(e){return QU(e,ev,zO)}var Qye=1,Jye=Object.prototype,e0e=Jye.hasOwnProperty;function t0e(e,t,n,r,i,o){var a=n&Qye,l=KI(e),s=l.length,u=KI(t),c=u.length;if(s!=c&&!a)return!1;for(var d=s;d--;){var f=l[d];if(!(a?f in t:e0e.call(t,f)))return!1}var h=o.get(e),v=o.get(t);if(h&&v)return h==t&&v==e;var p=!0;o.set(e,t),o.set(t,e);for(var g=a;++d{const{disabled:f,target:h,align:v,onAlign:p}=e;if(!f&&h&&o.value){const g=o.value;let m;const y=e8(h),b=t8(h);i.value.element=y,i.value.point=b,i.value.align=v;const{activeElement:S}=document;return y&&lw(y)?m=NO(g,y,v):b&&(m=bge(g,b,v)),Cge(S,g),p&&m&&p(g,m),!0}return!1},L(()=>e.monitorBufferTime)),s=ue({cancel:()=>{}}),u=ue({cancel:()=>{}}),c=()=>{const f=e.target,h=e8(f),v=t8(f);o.value!==u.value.element&&(u.value.cancel(),u.value.element=o.value,u.value.cancel=k6(o.value,a)),(i.value.element!==h||!wge(i.value.point,v)||!jO(i.value.align,e.align))&&(a(),s.value.element!==h&&(s.value.cancel(),s.value.element=h,s.value.cancel=k6(h,a)))};tt(()=>{_t(()=>{c()})}),Qr(()=>{_t(()=>{c()})}),Se(()=>e.disabled,f=>{f?l():a()},{immediate:!0,flush:"post"});const d=ue(null);return Se(()=>e.monitorWindowResize,f=>{f?d.value||(d.value=bn(window,"resize",a)):d.value&&(d.value.remove(),d.value=null)},{flush:"post"}),Jr(()=>{s.value.cancel(),u.value.cancel(),d.value&&d.value.remove(),l()}),n({forceAlign:()=>a(!0)}),()=>{const f=r==null?void 0:r.default();return f?Nt(f[0],{ref:o},!0,!0):null}}});Ar("bottomLeft","bottomRight","topLeft","topRight");const GO=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",Eo=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},vw=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Yr=(e,t,n)=>n!==void 0?n:`${e}-${t}`,m0e=se({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:AO,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=ae(),a=ae(),l=ae(),[s,u]=Kpe(qe(e,"stretch")),c=()=>{e.stretch&&u(e.getRootDomNode())},d=ae(!1);let f;Se(()=>e.visible,$=>{clearTimeout(f),$?f=setTimeout(()=>{d.value=e.visible}):d.value=!1},{immediate:!0});const[h,v]=Gpe(d,c),p=ae(),g=()=>e.point?e.point:e.getRootDomNode,m=()=>{var $;($=o.value)===null||$===void 0||$.forceAlign()},y=($,C)=>{var T;const I=e.getClassNameFromAlign(C),P=l.value;l.value!==I&&(l.value=I),h.value==="align"&&(P!==I?Promise.resolve().then(()=>{m()}):v(()=>{var M;(M=p.value)===null||M===void 0||M.call(p)}),(T=e.onAlign)===null||T===void 0||T.call(e,$,C))},b=L(()=>{const $=typeof e.animation=="object"?e.animation:OO(e);return["onAfterEnter","onAfterLeave"].forEach(C=>{const T=$[C];$[C]=I=>{v(),h.value="stable",T==null||T(I)}}),$}),S=()=>new Promise($=>{p.value=$});Se([b,h],()=>{!b.value&&h.value==="motion"&&v()},{immediate:!0}),n({forceAlign:m,getElement:()=>a.value.$el||a.value});const x=L(()=>{var $;return!(!(($=e.align)===null||$===void 0)&&$.points&&(h.value==="align"||h.value==="stable"))});return()=>{var $;const{zIndex:C,align:T,prefixCls:I,destroyPopupOnHide:P,onMouseenter:M,onMouseleave:O,onTouchstart:D=()=>{},onMousedown:R}=e,A=h.value,E=[_(_({},s.value),{zIndex:C,opacity:A==="motion"||A==="stable"||!d.value?null:0,pointerEvents:!d.value&&A!=="stable"?"none":null}),r.style];let k=Jt(($=i.default)===null||$===void 0?void 0:$.call(i,{visible:e.visible}));k.length>1&&(k=w("div",{class:`${I}-content`},[k]));const N=ce(I,r.class,l.value,!e.arrow&&`${I}-arrow-hidden`),F=d.value||!e.visible?Eo(b.value.name,b.value):{};return w(dr,z(z({ref:a},F),{},{onBeforeEnter:S}),{default:()=>!P||e.visible?Ur(w(g0e,{target:g(),key:"popup",ref:o,monitorWindowResize:!0,disabled:x.value,align:T,onAlign:y},{default:()=>w("div",{class:N,onMouseenter:M,onMouseleave:O,onMousedown:m5(R,["capture"]),[tr?"onTouchstartPassive":"onTouchstart"]:m5(D,["capture"]),style:E},[k])}),[[hi,d.value]]):null})}}}),y0e=se({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:Vpe,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ae(!1),a=ae(!1),l=ae(),s=ae();return Se([()=>e.visible,()=>e.mobile],()=>{o.value=e.visible,e.visible&&e.mobile&&(a.value=!0)},{immediate:!0,flush:"post"}),i({forceAlign:()=>{var u;(u=l.value)===null||u===void 0||u.forceAlign()},getElement:()=>{var u;return(u=l.value)===null||u===void 0?void 0:u.getElement()}}),()=>{const u=_(_(_({},e),n),{visible:o.value}),c=a.value?w(Wpe,z(z({},u),{},{mobile:e.mobile,ref:l}),{default:r.default}):w(m0e,z(z({},u),{},{ref:l}),{default:r.default});return w("div",{ref:s},[w(BU,u,null),c])}}});function b0e(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function n8(e,t,n){const r=e[t]||{};return _(_({},r),n)}function S0e(e,t,n,r){const{points:i}=n,o=Object.keys(e);for(let a=0;a0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const r=this.getDerivedStateFromProps(PK(this),_(_({},this.$data),n));if(r===null)return;n=_(_({},n),r||{})}_(this.$data,n),this._.isMounted&&this.$forceUpdate(),_t(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let r=0,i=n.length;r1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};at(aX,{inTriggerContext:t.inTriggerContext,shouldRender:L(()=>{const{sPopupVisible:n,popupRef:r,forceRender:i,autoDestroy:o}=e||{};let a=!1;return(n||r||i)&&(a=!0),!n&&o&&(a=!1),a})})},x0e=()=>{KO({},{inTriggerContext:!1});const e=Je(aX,{shouldRender:L(()=>!1),inTriggerContext:!1});return{shouldRender:L(()=>e.shouldRender.value||e.inTriggerContext===!1)}},lX=se({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:U.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,r=!0,i;const{shouldRender:o}=x0e();function a(){o.value&&(i=e.getContainer())}Vx(()=>{r=!1,a()}),tt(()=>{i||a()});const l=Se(o,()=>{o.value&&!i&&(i=e.getContainer()),i&&l()});return Qr(()=>{_t(()=>{var s;o.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return o.value?r?(s=n.default)===null||s===void 0?void 0:s.call(n):i?w(tO,{to:i},n):null:null}}});let N$;function q1(e){if(typeof document=="undefined")return 0;if(e||N$===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const i=t.offsetWidth;n.style.overflow="scroll";let o=t.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),N$=i-o}return N$}function r8(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?q1():n}function w0e(e){if(typeof document=="undefined"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:r8(t),height:r8(n)}}const C0e=`vc-util-locker-${Date.now()}`;let i8=0;function $0e(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function _0e(e){const t=L(()=>!!e&&!!e.value);i8+=1;const n=`${C0e}_${i8}`;Ye(r=>{if(Xr()){if(t.value){const i=q1(),o=$0e();Lg(` html body { overflow-y: hidden; ${o?`width: calc(100% - ${i}px);`:""} -}`,n)}else V1(n);r(()=>{V1(n)})}},{flush:"post"})}let zu=0;const _b=Xr(),o8=e=>{if(!_b)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},Fm=se({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:U.any,visible:{type:Boolean,default:void 0},autoLock:$e(),didUpdate:Function},setup(e,t){let{slots:n}=t;const r=ae(),i=ae(),o=ae(),a=ae(1),l=Xr()&&document.createElement("div"),s=()=>{var h,v;r.value===l&&((v=(h=r.value)===null||h===void 0?void 0:h.parentNode)===null||v===void 0||v.removeChild(r.value)),r.value=null};let u=null;const c=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||r.value&&!r.value.parentNode?(u=o8(e.getContainer),u?(u.appendChild(r.value),!0):!1):!0},d=()=>_b?(r.value||(r.value=l,c(!0)),f(),r.value):null,f=()=>{const{wrapperClassName:h}=e;r.value&&h&&h!==r.value.className&&(r.value.className=h)};return Qr(()=>{f(),c()}),$0e(L(()=>e.autoLock&&e.visible&&Xr()&&(r.value===document.body||r.value===l))),tt(()=>{let h=!1;Se([()=>e.visible,()=>e.getContainer],(v,p)=>{let[g,m]=v,[y,b]=p;_b&&(u=o8(e.getContainer),u===document.body&&(g&&!y?zu+=1:h&&(zu-=1))),h&&(typeof m=="function"&&typeof b=="function"?m.toString()!==b.toString():m!==b)&&s(),h=!0},{immediate:!0,flush:"post"}),_t(()=>{c()||(o.value=dt(()=>{a.value+=1}))})}),ht(()=>{const{visible:h}=e;_b&&u===document.body&&(zu=h&&zu?zu-1:zu),s(),dt.cancel(o.value)}),()=>{const{forceRender:h,visible:v}=e;let p=null;const g={getOpenCount:()=>zu,getContainer:d};return a.value&&(h||v||i.value)&&(p=w(lX,{getContainer:d,ref:i,didUpdate:e.didUpdate},{default:()=>{var m;return(m=n.default)===null||m===void 0?void 0:m.call(n,g)}})),p}}}),_0e=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Ld=se({compatConfig:{MODE:3},name:"Trigger",mixins:[Rd],inheritAttrs:!1,props:kU(),setup(e){const t=L(()=>{const{popupPlacement:i,popupAlign:o,builtinPlacements:a}=e;return i&&a?n8(a,i,o):o}),n=ae(null),r=i=>{n.value=i};return{vcTriggerContext:Je("vcTriggerContext",{}),popupRef:n,setPopupRef:r,triggerRef:ae(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,_0e.forEach(n=>{this[`fire${n}`]=r=>{this.fireEvents(n,r)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){at("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),KO(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),dt.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=bn(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=bn(n,"touchstart",this.onDocumentClick,tr?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=bn(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=bn(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&zs((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){zs(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),r=this.getPopupDomNode();(!zs(n,t)||this.isContextMenuOnly())&&!zs(r,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,r;const{getTriggerDOMNode:i}=this.$props;if(i){const o=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:ci(this.triggerRef);return ci(i(o))}try{const o=((r=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||r===void 0?void 0:r.nodeName)==="#comment"?null:ci(this.triggerRef);if(o)return o}catch(o){}return ci(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:r,builtinPlacements:i,prefixCls:o,alignPoint:a,getPopupClassNameFromAlign:l}=n;return r&&i&&t.push(b0e(i,o,e,a)),l&&t.push(l(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:r}=e;return t&&r?n8(r,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[tr?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:r}=this,{prefixCls:i,destroyPopupOnHide:o,popupClassName:a,popupAnimation:l,popupTransitionName:s,popupStyle:u,mask:c,maskAnimation:d,maskTransitionName:f,zIndex:h,stretch:v,alignPoint:p,mobile:g,arrow:m,forceRender:y}=this.$props,{sPopupVisible:b,point:S}=this.$data,x=_(_({prefixCls:i,arrow:m,destroyPopupOnHide:o,visible:b,point:p?S:null,align:this.align,animation:l,getClassNameFromAlign:t,stretch:v,getRootDomNode:n,mask:c,zIndex:h,transitionName:s,maskAnimation:d,maskTransitionName:f,class:a,style:u,onAlign:r.onPopupAlign||NU},e),{ref:this.setPopupRef,mobile:g,forceRender:y});return w(m0e,x,{default:this.$slots.popup||(()=>MK(this,"popup"))})},attachParent(e){dt.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,r=this.getRootDomNode();let i;t?(r||t.length===0)&&(i=t(r)):i=n(this.getRootDomNode()).body,i?i.appendChild(e):this.attachId=dt(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:r,onPopupVisibleChange:i}=this;this.clearDelayTimer(),r!==e&&(Il(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),i&&i(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const r=t*1e3;if(this.clearDelayTimer(),r){const i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,i),this.clearDelayTimer()},r)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=W5(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=xn(qx(this)),{alignPoint:n,getPopupContainer:r}=this.$props,i=t[0];this.childOriginEvents=W5(i);const o={key:"trigger"};this.isContextmenuToShow()?o.onContextmenu=this.onContextmenu:o.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(o.onClick=this.onClick,o.onMousedown=this.onMousedown,o[tr?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(o.onClick=this.createTwoChains("onClick"),o.onMousedown=this.createTwoChains("onMousedown"),o[tr?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(o.onMouseenter=this.onMouseenter,n&&(o.onMousemove=this.onMouseMove)):o.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?o.onMouseleave=this.onMouseleave:o.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(o.onFocus=this.onFocus,o.onBlur=this.onBlur):(o.onFocus=this.createTwoChains("onFocus"),o.onBlur=u=>{u&&(!u.relatedTarget||!zs(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const a=ce(i&&i.props&&i.props.class,e.class);a&&(o.class=a);const l=Nt(i,_(_({},o),{ref:"triggerRef"}),!0,!0),s=w(Fm,{key:"portal",getContainer:r&&(()=>r(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return w(Qe,null,[l,s])}});var T0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},P0e=se({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:U.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:U.oneOfType([Number,Boolean]).def(!0),popupElement:U.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=L(()=>{const{dropdownMatchSelectWidth:l}=e;return I0e(l)}),a=ue();return i({getPopupElement:()=>a.value}),()=>{const l=_(_({},e),r),{empty:s=!1}=l,u=T0e(l,["empty"]),{visible:c,dropdownAlign:d,prefixCls:f,popupElement:h,dropdownClassName:v,dropdownStyle:p,direction:g="ltr",placement:m,dropdownMatchSelectWidth:y,containerWidth:b,dropdownRender:S,animation:x,transitionName:$,getPopupContainer:C,getTriggerDOMNode:T,onPopupVisibleChange:I,onPopupMouseEnter:P,onPopupFocusin:M,onPopupFocusout:O}=u,D=`${f}-dropdown`;let R=h;S&&(R=S({menuNode:h,props:e}));const A=x?`${D}-${x}`:$,E=_({minWidth:`${b}px`},p);return typeof y=="number"?E.width=`${y}px`:y&&(E.width=`${b}px`),w(Ld,z(z({},e),{},{showAction:I?["click"]:[],hideAction:I?["click"]:[],popupPlacement:m||(g==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:o.value,prefixCls:D,popupTransitionName:A,popupAlign:d,popupVisible:c,getPopupContainer:C,popupClassName:ce(v,{[`${D}-empty`]:s}),popupStyle:E,getTriggerDOMNode:T,onPopupVisibleChange:I}),{default:n.default,popup:()=>w("div",{ref:a,onMouseenter:P,onFocusin:M,onFocusout:O},[R])})}}}),M0e=P0e,It={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=It.F1&&n<=It.F12)return!1;switch(n){case It.ALT:case It.CAPS_LOCK:case It.CONTEXT_MENU:case It.CTRL:case It.DOWN:case It.END:case It.ESC:case It.HOME:case It.INSERT:case It.LEFT:case It.MAC_FF_META:case It.META:case It.NUMLOCK:case It.NUM_CENTER:case It.PAGE_DOWN:case It.PAGE_UP:case It.PAUSE:case It.PRINT_SCREEN:case It.RIGHT:case It.SHIFT:case It.UP:case It.WIN_KEY:case It.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=It.ZERO&&t<=It.NINE||t>=It.NUM_ZERO&&t<=It.NUM_MULTIPLY||t>=It.A&&t<=It.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case It.SPACE:case It.QUESTION_MARK:case It.NUM_PLUS:case It.NUM_MINUS:case It.NUM_PERIOD:case It.NUM_DIVISION:case It.SEMICOLON:case It.DASH:case It.EQUALS:case It.COMMA:case It.PERIOD:case It.SLASH:case It.APOSTROPHE:case It.SINGLE_QUOTE:case It.OPEN_SQUARE_BRACKET:case It.BACKSLASH:case It.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Pe=It,pw=(e,t)=>{let{slots:n}=t;var r;const{class:i,customizeIcon:o,customizeIconProps:a,onMousedown:l,onClick:s}=e;let u;return typeof o=="function"?u=o(a):u=Nn(o)?cr(o):o,w("span",{class:i,onMousedown:c=>{c.preventDefault(),l&&l(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[u!==void 0?u:w("span",{class:i.split(/\s+/).map(c=>`${c}-icon`)},[(r=n.default)===null||r===void 0?void 0:r.call(n)])])};pw.inheritAttrs=!1;pw.displayName="TransBtn";pw.props={class:String,customizeIcon:U.any,customizeIconProps:U.any,onMousedown:Function,onClick:Function};const Z1=pw;var A0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()},input:r,setSelectionRange:(s,u,c)=>{var d;(d=r.value)===null||d===void 0||d.setSelectionRange(s,u,c)},select:()=>{var s;(s=r.value)===null||s===void 0||s.select()},getSelectionStart:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionStart},getSelectionEnd:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionEnd},getScrollTop:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.scrollTop}}),()=>{const{tag:s,value:u}=e,c=A0e(e,["tag","value"]);return w(s,z(z({},c),{},{ref:r,value:u}),null)}}}),D0e=O0e;function E0e(){const e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function Q1(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.scrollX||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.scrollY||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function R0e(e){return Array.prototype.slice.apply(e).map(n=>`${n}: ${e.getPropertyValue(n)};`).join("")}function L0e(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return typeof r=="undefined"||r===null||(t+=`${n}: ${e[n]};`),t},"")}var N0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.value,l],()=>{l.value||(a.value=e.value)},{immediate:!0});const s=C=>{n("change",C)},u=C=>{l.value=!0,C.target.composing=!0,n("compositionstart",C)},c=C=>{l.value=!1,C.target.composing=!1,n("compositionend",C);const T=document.createEvent("HTMLEvents");T.initEvent("input",!0,!0),C.target.dispatchEvent(T),s(C)},d=C=>{if(l.value&&e.lazy){a.value=C.target.value;return}n("input",C)},f=C=>{n("blur",C)},h=C=>{n("focus",C)},v=()=>{o.value&&o.value.focus()},p=()=>{o.value&&o.value.blur()},g=C=>{n("keydown",C)},m=C=>{n("keyup",C)},y=(C,T,I)=>{var P;(P=o.value)===null||P===void 0||P.setSelectionRange(C,T,I)},b=()=>{var C;(C=o.value)===null||C===void 0||C.select()};i({focus:v,blur:p,input:L(()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.input}),setSelectionRange:y,select:b,getSelectionStart:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getSelectionStart()},getSelectionEnd:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getSelectionEnd()},getScrollTop:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getScrollTop()}});const S=C=>{n("mousedown",C)},x=C=>{n("paste",C)},$=L(()=>e.style&&typeof e.style!="string"?L0e(e.style):e.style);return()=>{const C=N0e(e,["style","lazy"]);return w(D0e,z(z(z({},C),r),{},{style:$.value,onInput:d,onChange:s,onBlur:f,onFocus:h,ref:o,value:a.value,onCompositionstart:u,onCompositionend:c,onKeyup:m,onKeydown:g,onPaste:x,onMousedown:S}),null)}}}),ev=k0e,B0e={inputRef:U.any,prefixCls:String,id:String,inputElement:U.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),attrs:U.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},F0e=se({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:B0e,setup(e){let t=null;const n=Je("VCSelectContainerEvent");return()=>{var r;const{prefixCls:i,id:o,inputElement:a,disabled:l,tabindex:s,autofocus:u,autocomplete:c,editable:d,activeDescendantId:f,value:h,onKeydown:v,onMousedown:p,onChange:g,onPaste:m,onCompositionstart:y,onCompositionend:b,onFocus:S,onBlur:x,open:$,inputRef:C,attrs:T}=e;let I=a||w(ev,null,null);const P=I.props||{},{onKeydown:M,onInput:O,onFocus:D,onBlur:R,onMousedown:A,onCompositionstart:E,onCompositionend:k,style:N}=P;return I=Nt(I,_(_(_(_(_({type:"search"},P),{id:o,ref:C,disabled:l,tabindex:s,lazy:!1,autocomplete:c||"off",autofocus:u,class:ce(`${i}-selection-search-input`,(r=I==null?void 0:I.props)===null||r===void 0?void 0:r.class),role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${o}_list`,"aria-autocomplete":"list","aria-controls":`${o}_list`,"aria-activedescendant":f}),T),{value:d?h:"",readonly:!d,unselectable:d?null:"on",style:_(_({},N),{opacity:d?null:0}),onKeydown:B=>{v(B),M&&M(B)},onMousedown:B=>{p(B),A&&A(B)},onInput:B=>{g(B),O&&O(B)},onCompositionstart(B){y(B),E&&E(B)},onCompositionend(B){b(B),k&&k(B)},onPaste:m,onFocus:function(){clearTimeout(t),D&&D(arguments.length<=0?void 0:arguments[0]),S&&S(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var B=arguments.length,F=new Array(B),H=0;H{R&&R(F[0]),x&&x(F[0]),n==null||n.blur(F[0])},100)}}),I.type==="textarea"?{}:{type:"search"}),!0,!0),I}}}),sX=F0e,z0e=`accept acceptcharset accesskey action allowfullscreen allowtransparency +}`,n)}else V1(n);r(()=>{V1(n)})}},{flush:"post"})}let zu=0;const _b=Xr(),o8=e=>{if(!_b)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},Fm=se({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:U.any,visible:{type:Boolean,default:void 0},autoLock:$e(),didUpdate:Function},setup(e,t){let{slots:n}=t;const r=ae(),i=ae(),o=ae(),a=ae(1),l=Xr()&&document.createElement("div"),s=()=>{var h,v;r.value===l&&((v=(h=r.value)===null||h===void 0?void 0:h.parentNode)===null||v===void 0||v.removeChild(r.value)),r.value=null};let u=null;const c=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||r.value&&!r.value.parentNode?(u=o8(e.getContainer),u?(u.appendChild(r.value),!0):!1):!0},d=()=>_b?(r.value||(r.value=l,c(!0)),f(),r.value):null,f=()=>{const{wrapperClassName:h}=e;r.value&&h&&h!==r.value.className&&(r.value.className=h)};return Qr(()=>{f(),c()}),_0e(L(()=>e.autoLock&&e.visible&&Xr()&&(r.value===document.body||r.value===l))),tt(()=>{let h=!1;Se([()=>e.visible,()=>e.getContainer],(v,p)=>{let[g,m]=v,[y,b]=p;_b&&(u=o8(e.getContainer),u===document.body&&(g&&!y?zu+=1:h&&(zu-=1))),h&&(typeof m=="function"&&typeof b=="function"?m.toString()!==b.toString():m!==b)&&s(),h=!0},{immediate:!0,flush:"post"}),_t(()=>{c()||(o.value=dt(()=>{a.value+=1}))})}),ht(()=>{const{visible:h}=e;_b&&u===document.body&&(zu=h&&zu?zu-1:zu),s(),dt.cancel(o.value)}),()=>{const{forceRender:h,visible:v}=e;let p=null;const g={getOpenCount:()=>zu,getContainer:d};return a.value&&(h||v||i.value)&&(p=w(lX,{getContainer:d,ref:i,didUpdate:e.didUpdate},{default:()=>{var m;return(m=n.default)===null||m===void 0?void 0:m.call(n,g)}})),p}}}),T0e=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Nd=se({compatConfig:{MODE:3},name:"Trigger",mixins:[Ld],inheritAttrs:!1,props:kU(),setup(e){const t=L(()=>{const{popupPlacement:i,popupAlign:o,builtinPlacements:a}=e;return i&&a?n8(a,i,o):o}),n=ae(null),r=i=>{n.value=i};return{vcTriggerContext:Je("vcTriggerContext",{}),popupRef:n,setPopupRef:r,triggerRef:ae(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,T0e.forEach(n=>{this[`fire${n}`]=r=>{this.fireEvents(n,r)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){at("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),KO(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),dt.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=bn(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=bn(n,"touchstart",this.onDocumentClick,tr?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=bn(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=bn(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&zs((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){zs(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),r=this.getPopupDomNode();(!zs(n,t)||this.isContextMenuOnly())&&!zs(r,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,r;const{getTriggerDOMNode:i}=this.$props;if(i){const o=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:ci(this.triggerRef);return ci(i(o))}try{const o=((r=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||r===void 0?void 0:r.nodeName)==="#comment"?null:ci(this.triggerRef);if(o)return o}catch(o){}return ci(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:r,builtinPlacements:i,prefixCls:o,alignPoint:a,getPopupClassNameFromAlign:l}=n;return r&&i&&t.push(S0e(i,o,e,a)),l&&t.push(l(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:r}=e;return t&&r?n8(r,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[tr?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:r}=this,{prefixCls:i,destroyPopupOnHide:o,popupClassName:a,popupAnimation:l,popupTransitionName:s,popupStyle:u,mask:c,maskAnimation:d,maskTransitionName:f,zIndex:h,stretch:v,alignPoint:p,mobile:g,arrow:m,forceRender:y}=this.$props,{sPopupVisible:b,point:S}=this.$data,x=_(_({prefixCls:i,arrow:m,destroyPopupOnHide:o,visible:b,point:p?S:null,align:this.align,animation:l,getClassNameFromAlign:t,stretch:v,getRootDomNode:n,mask:c,zIndex:h,transitionName:s,maskAnimation:d,maskTransitionName:f,class:a,style:u,onAlign:r.onPopupAlign||NU},e),{ref:this.setPopupRef,mobile:g,forceRender:y});return w(y0e,x,{default:this.$slots.popup||(()=>MK(this,"popup"))})},attachParent(e){dt.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,r=this.getRootDomNode();let i;t?(r||t.length===0)&&(i=t(r)):i=n(this.getRootDomNode()).body,i?i.appendChild(e):this.attachId=dt(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:r,onPopupVisibleChange:i}=this;this.clearDelayTimer(),r!==e&&(Pl(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:r}),i&&i(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const r=t*1e3;if(this.clearDelayTimer(),r){const i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,i),this.clearDelayTimer()},r)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=W5(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=xn(qx(this)),{alignPoint:n,getPopupContainer:r}=this.$props,i=t[0];this.childOriginEvents=W5(i);const o={key:"trigger"};this.isContextmenuToShow()?o.onContextmenu=this.onContextmenu:o.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(o.onClick=this.onClick,o.onMousedown=this.onMousedown,o[tr?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(o.onClick=this.createTwoChains("onClick"),o.onMousedown=this.createTwoChains("onMousedown"),o[tr?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(o.onMouseenter=this.onMouseenter,n&&(o.onMousemove=this.onMouseMove)):o.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?o.onMouseleave=this.onMouseleave:o.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(o.onFocus=this.onFocus,o.onBlur=this.onBlur):(o.onFocus=this.createTwoChains("onFocus"),o.onBlur=u=>{u&&(!u.relatedTarget||!zs(u.target,u.relatedTarget))&&this.createTwoChains("onBlur")(u)});const a=ce(i&&i.props&&i.props.class,e.class);a&&(o.class=a);const l=Nt(i,_(_({},o),{ref:"triggerRef"}),!0,!0),s=w(Fm,{key:"portal",getContainer:r&&(()=>r(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return w(Qe,null,[l,s])}});var I0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},M0e=se({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:U.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:U.oneOfType([Number,Boolean]).def(!0),popupElement:U.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=L(()=>{const{dropdownMatchSelectWidth:l}=e;return P0e(l)}),a=ue();return i({getPopupElement:()=>a.value}),()=>{const l=_(_({},e),r),{empty:s=!1}=l,u=I0e(l,["empty"]),{visible:c,dropdownAlign:d,prefixCls:f,popupElement:h,dropdownClassName:v,dropdownStyle:p,direction:g="ltr",placement:m,dropdownMatchSelectWidth:y,containerWidth:b,dropdownRender:S,animation:x,transitionName:$,getPopupContainer:C,getTriggerDOMNode:T,onPopupVisibleChange:I,onPopupMouseEnter:P,onPopupFocusin:M,onPopupFocusout:O}=u,D=`${f}-dropdown`;let R=h;S&&(R=S({menuNode:h,props:e}));const A=x?`${D}-${x}`:$,E=_({minWidth:`${b}px`},p);return typeof y=="number"?E.width=`${y}px`:y&&(E.width=`${b}px`),w(Nd,z(z({},e),{},{showAction:I?["click"]:[],hideAction:I?["click"]:[],popupPlacement:m||(g==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:o.value,prefixCls:D,popupTransitionName:A,popupAlign:d,popupVisible:c,getPopupContainer:C,popupClassName:ce(v,{[`${D}-empty`]:s}),popupStyle:E,getTriggerDOMNode:T,onPopupVisibleChange:I}),{default:n.default,popup:()=>w("div",{ref:a,onMouseenter:P,onFocusin:M,onFocusout:O},[R])})}}}),A0e=M0e,It={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=It.F1&&n<=It.F12)return!1;switch(n){case It.ALT:case It.CAPS_LOCK:case It.CONTEXT_MENU:case It.CTRL:case It.DOWN:case It.END:case It.ESC:case It.HOME:case It.INSERT:case It.LEFT:case It.MAC_FF_META:case It.META:case It.NUMLOCK:case It.NUM_CENTER:case It.PAGE_DOWN:case It.PAGE_UP:case It.PAUSE:case It.PRINT_SCREEN:case It.RIGHT:case It.SHIFT:case It.UP:case It.WIN_KEY:case It.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=It.ZERO&&t<=It.NINE||t>=It.NUM_ZERO&&t<=It.NUM_MULTIPLY||t>=It.A&&t<=It.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case It.SPACE:case It.QUESTION_MARK:case It.NUM_PLUS:case It.NUM_MINUS:case It.NUM_PERIOD:case It.NUM_DIVISION:case It.SEMICOLON:case It.DASH:case It.EQUALS:case It.COMMA:case It.PERIOD:case It.SLASH:case It.APOSTROPHE:case It.SINGLE_QUOTE:case It.OPEN_SQUARE_BRACKET:case It.BACKSLASH:case It.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Pe=It,pw=(e,t)=>{let{slots:n}=t;var r;const{class:i,customizeIcon:o,customizeIconProps:a,onMousedown:l,onClick:s}=e;let u;return typeof o=="function"?u=o(a):u=Nn(o)?cr(o):o,w("span",{class:i,onMousedown:c=>{c.preventDefault(),l&&l(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},[u!==void 0?u:w("span",{class:i.split(/\s+/).map(c=>`${c}-icon`)},[(r=n.default)===null||r===void 0?void 0:r.call(n)])])};pw.inheritAttrs=!1;pw.displayName="TransBtn";pw.props={class:String,customizeIcon:U.any,customizeIconProps:U.any,onMousedown:Function,onClick:Function};const Z1=pw;var O0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{r.value&&r.value.focus()},blur:()=>{r.value&&r.value.blur()},input:r,setSelectionRange:(s,u,c)=>{var d;(d=r.value)===null||d===void 0||d.setSelectionRange(s,u,c)},select:()=>{var s;(s=r.value)===null||s===void 0||s.select()},getSelectionStart:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionStart},getSelectionEnd:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.selectionEnd},getScrollTop:()=>{var s;return(s=r.value)===null||s===void 0?void 0:s.scrollTop}}),()=>{const{tag:s,value:u}=e,c=O0e(e,["tag","value"]);return w(s,z(z({},c),{},{ref:r,value:u}),null)}}}),E0e=D0e;function R0e(){const e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function Q1(e){const t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.scrollX||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.scrollY||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function L0e(e){return Array.prototype.slice.apply(e).map(n=>`${n}: ${e.getPropertyValue(n)};`).join("")}function N0e(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return typeof r=="undefined"||r===null||(t+=`${n}: ${e[n]};`),t},"")}var k0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.value,l],()=>{l.value||(a.value=e.value)},{immediate:!0});const s=C=>{n("change",C)},u=C=>{l.value=!0,C.target.composing=!0,n("compositionstart",C)},c=C=>{l.value=!1,C.target.composing=!1,n("compositionend",C);const T=document.createEvent("HTMLEvents");T.initEvent("input",!0,!0),C.target.dispatchEvent(T),s(C)},d=C=>{if(l.value&&e.lazy){a.value=C.target.value;return}n("input",C)},f=C=>{n("blur",C)},h=C=>{n("focus",C)},v=()=>{o.value&&o.value.focus()},p=()=>{o.value&&o.value.blur()},g=C=>{n("keydown",C)},m=C=>{n("keyup",C)},y=(C,T,I)=>{var P;(P=o.value)===null||P===void 0||P.setSelectionRange(C,T,I)},b=()=>{var C;(C=o.value)===null||C===void 0||C.select()};i({focus:v,blur:p,input:L(()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.input}),setSelectionRange:y,select:b,getSelectionStart:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getSelectionStart()},getSelectionEnd:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getSelectionEnd()},getScrollTop:()=>{var C;return(C=o.value)===null||C===void 0?void 0:C.getScrollTop()}});const S=C=>{n("mousedown",C)},x=C=>{n("paste",C)},$=L(()=>e.style&&typeof e.style!="string"?N0e(e.style):e.style);return()=>{const C=k0e(e,["style","lazy"]);return w(E0e,z(z(z({},C),r),{},{style:$.value,onInput:d,onChange:s,onBlur:f,onFocus:h,ref:o,value:a.value,onCompositionstart:u,onCompositionend:c,onKeyup:m,onKeydown:g,onPaste:x,onMousedown:S}),null)}}}),tv=B0e,F0e={inputRef:U.any,prefixCls:String,id:String,inputElement:U.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),attrs:U.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},z0e=se({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:F0e,setup(e){let t=null;const n=Je("VCSelectContainerEvent");return()=>{var r;const{prefixCls:i,id:o,inputElement:a,disabled:l,tabindex:s,autofocus:u,autocomplete:c,editable:d,activeDescendantId:f,value:h,onKeydown:v,onMousedown:p,onChange:g,onPaste:m,onCompositionstart:y,onCompositionend:b,onFocus:S,onBlur:x,open:$,inputRef:C,attrs:T}=e;let I=a||w(tv,null,null);const P=I.props||{},{onKeydown:M,onInput:O,onFocus:D,onBlur:R,onMousedown:A,onCompositionstart:E,onCompositionend:k,style:N}=P;return I=Nt(I,_(_(_(_(_({type:"search"},P),{id:o,ref:C,disabled:l,tabindex:s,lazy:!1,autocomplete:c||"off",autofocus:u,class:ce(`${i}-selection-search-input`,(r=I==null?void 0:I.props)===null||r===void 0?void 0:r.class),role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${o}_list`,"aria-autocomplete":"list","aria-controls":`${o}_list`,"aria-activedescendant":f}),T),{value:d?h:"",readonly:!d,unselectable:d?null:"on",style:_(_({},N),{opacity:d?null:0}),onKeydown:B=>{v(B),M&&M(B)},onMousedown:B=>{p(B),A&&A(B)},onInput:B=>{g(B),O&&O(B)},onCompositionstart(B){y(B),E&&E(B)},onCompositionend(B){b(B),k&&k(B)},onPaste:m,onFocus:function(){clearTimeout(t),D&&D(arguments.length<=0?void 0:arguments[0]),S&&S(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var B=arguments.length,F=new Array(B),H=0;H{R&&R(F[0]),x&&x(F[0]),n==null||n.blur(F[0])},100)}}),I.type==="textarea"?{}:{type:"search"}),!0,!0),I}}}),sX=z0e,H0e=`accept acceptcharset accesskey action allowfullscreen allowtransparency alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge charset checked classid classname colspan cols content contenteditable contextmenu controls coords crossorigin data datetime default defer dir disabled download draggable @@ -79,15 +79,15 @@ mediagroup method min minlength multiple muted name novalidate nonce open optimum pattern placeholder poster preload radiogroup readonly rel required reversed role rowspan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellcheck src srcdoc srclang srcset start step style -summary tabindex target title type usemap value width wmode wrap`,H0e=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown +summary tabindex target title type usemap value width wmode wrap`,V0e=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata - onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,a8=`${z0e} ${H0e}`.split(/[\s\n]+/),V0e="aria-",W0e="data-";function l8(e,t){return e.indexOf(t)===0}function Mu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=_({},t);const r={};return Object.keys(e).forEach(i=>{(n.aria&&(i==="role"||l8(i,V0e))||n.data&&l8(i,W0e)||n.attr&&(a8.includes(i)||a8.includes(i.toLowerCase())))&&(r[i]=e[i])}),r}const uX=Symbol("OverflowContextProviderKey"),qI=se({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return at(uX,L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),j0e=()=>Je(uX,L(()=>null));var G0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.responsive&&!e.display),o=ue();r({itemNodeRef:o});function a(l){e.registerSize(e.itemKey,l)}return Jr(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:u,item:c,renderItem:d,responsive:f,registerSize:h,itemKey:v,display:p,order:g,component:m="div"}=e,y=G0e(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),b=(l=n.default)===null||l===void 0?void 0:l.call(n),S=d&&c!==Jd?d(c):b;let x;u||(x={opacity:i.value?0:1,height:i.value?0:Jd,overflowY:i.value?"hidden":Jd,order:f?g:Jd,pointerEvents:i.value?"none":Jd,position:i.value?"absolute":Jd});const $={};return i.value&&($["aria-hidden"]=!0),w(Mo,{disabled:!f,onResize:C=>{let{offsetWidth:T}=C;a(T)}},{default:()=>w(m,z(z(z({class:ce(!u&&s),style:x},$),y),{},{ref:o}),{default:()=>[S]})})}}});var k$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var o;if(!i.value){const{component:d="div"}=e,f=k$(e,["component"]);return w(d,z(z({},f),r),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}const a=i.value,{className:l}=a,s=k$(a,["className"]),{class:u}=r,c=k$(r,["class"]);return w(qI,{value:null},{default:()=>[w(Tb,z(z(z({class:ce(l,u)},s),c),e),n)]})}}});var U0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:U.any,component:String,itemComponent:U.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),gw=se({name:"Overflow",inheritAttrs:!1,props:Y0e(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:r,slots:i}=t;const o=L(()=>e.ssr==="full"),a=ae(null),l=L(()=>a.value||0),s=ae(new Map),u=ae(0),c=ae(0),d=ae(0),f=ae(null),h=ae(null),v=L(()=>h.value===null&&o.value?Number.MAX_SAFE_INTEGER:h.value||0),p=ae(!1),g=L(()=>`${e.prefixCls}-item`),m=L(()=>Math.max(u.value,c.value)),y=L(()=>!!(e.data.length&&e.maxCount===cX)),b=L(()=>e.maxCount===dX),S=L(()=>y.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),x=L(()=>{let A=e.data;return y.value?a.value===null&&o.value?A=e.data:A=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(A=e.data.slice(0,e.maxCount)),A}),$=L(()=>y.value?e.data.slice(v.value+1):e.data.slice(x.value.length)),C=(A,E)=>{var k;return typeof e.itemKey=="function"?e.itemKey(A):(k=e.itemKey&&(A==null?void 0:A[e.itemKey]))!==null&&k!==void 0?k:E},T=L(()=>e.renderItem||(A=>A)),I=(A,E)=>{h.value=A,E||(p.value=A{a.value=E.clientWidth},M=(A,E)=>{const k=new Map(s.value);E===null?k.delete(A):k.set(A,E),s.value=k},O=(A,E)=>{u.value=c.value,c.value=E},D=(A,E)=>{d.value=E},R=A=>s.value.get(C(x.value[A],A));return Se([l,s,c,d,()=>e.itemKey,x],()=>{if(l.value&&m.value&&x.value){let A=d.value;const E=x.value.length,k=E-1;if(!E){I(0),f.value=null;return}for(let N=0;Nl.value){I(N-1),f.value=A-B-d.value+c.value;break}}e.suffix&&R(0)+d.value>l.value&&(f.value=null)}}),()=>{const A=p.value&&!!$.value.length,{itemComponent:E,renderRawItem:k,renderRawRest:N,renderRest:B,prefixCls:F="rc-overflow",suffix:H,component:V="div",id:X,onMousedown:Q}=e,{class:K,style:te}=n,q=U0e(n,["class","style"]);let ee={};f.value!==null&&y.value&&(ee={position:"absolute",left:`${f.value}px`,top:0});const J={prefixCls:g.value,responsive:y.value,component:E,invalidate:b.value},G=k?(Z,ne)=>{const re=C(Z,ne);return w(qI,{key:re,value:_(_({},J),{order:ne,item:Z,itemKey:re,registerSize:M,display:ne<=v.value})},{default:()=>[k(Z,ne)]})}:(Z,ne)=>{const re=C(Z,ne);return w(Tb,z(z({},J),{},{order:ne,key:re,item:Z,renderItem:T.value,itemKey:re,registerSize:M,display:ne<=v.value}),null)};let Y=()=>null;const oe={order:A?v.value:Number.MAX_SAFE_INTEGER,className:`${g.value} ${g.value}-rest`,registerSize:O,display:A};if(N)N&&(Y=()=>w(qI,{value:_(_({},J),oe)},{default:()=>[N($.value)]}));else{const Z=B||X0e;Y=()=>w(Tb,z(z({},J),oe),{default:()=>typeof Z=="function"?Z($.value):Z})}const W=()=>{var Z;return w(V,z({id:X,class:ce(!b.value&&F,K),style:te,onMousedown:Q,role:e.role},q),{default:()=>[x.value.map(G),S.value?Y():null,H&&w(Tb,z(z({},J),{},{order:v.value,class:`${g.value}-suffix`,registerSize:D,display:!0,style:ee}),{default:()=>H}),(Z=i.default)===null||Z===void 0?void 0:Z.call(i)]})};return w(Mo,{disabled:!y.value,onResize:P},{default:W})}}});gw.Item=K0e;gw.RESPONSIVE=cX;gw.INVALIDATE=dX;const lh=gw,fX=Symbol("TreeSelectLegacyContextPropsKey");function q0e(e){return at(fX,e)}function mw(){return Je(fX,{})}const Z0e={id:String,prefixCls:String,values:U.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:U.any,placeholder:U.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),compositionStatus:Boolean,removeIcon:U.any,choiceTransitionName:String,maxTagCount:U.oneOfType([U.number,U.string]),maxTagTextLength:Number,maxTagPlaceholder:U.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},s8=e=>{e.preventDefault(),e.stopPropagation()},Q0e=se({name:"MultipleSelectSelector",inheritAttrs:!1,props:Z0e,setup(e){const t=ae(),n=ae(0),r=ae(!1),i=mw(),o=L(()=>`${e.prefixCls}-selection`),a=L(()=>e.open||e.mode==="tags"?e.searchValue:""),l=L(()=>e.mode==="tags"||e.showSearch&&(e.open||r.value)),s=ue("");Ye(()=>{s.value=a.value}),tt(()=>{Se(s,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function u(v,p,g,m,y){return w("span",{class:ce(`${o.value}-item`,{[`${o.value}-item-disabled`]:g}),title:typeof v=="string"||typeof v=="number"?v.toString():void 0},[w("span",{class:`${o.value}-item-content`},[p]),m&&w(Z1,{class:`${o.value}-item-remove`,onMousedown:s8,onClick:y,customizeIcon:e.removeIcon},{default:()=>[Gr("×")]})])}function c(v,p,g,m,y,b){var S;const x=C=>{s8(C),e.onToggleOpen(!open)};let $=b;return i.keyEntities&&($=((S=i.keyEntities[v])===null||S===void 0?void 0:S.node)||{}),w("span",{key:v,onMousedown:x},[e.tagRender({label:p,value:v,disabled:g,closable:m,onClose:y,option:$})])}function d(v){const{disabled:p,label:g,value:m,option:y}=v,b=!e.disabled&&!p;let S=g;if(typeof e.maxTagTextLength=="number"&&(typeof g=="string"||typeof g=="number")){const $=String(S);$.length>e.maxTagTextLength&&(S=`${$.slice(0,e.maxTagTextLength)}...`)}const x=$=>{var C;$&&$.stopPropagation(),(C=e.onRemove)===null||C===void 0||C.call(e,v)};return typeof e.tagRender=="function"?c(m,S,p,b,x,y):u(g,S,p,b,x)}function f(v){const{maxTagPlaceholder:p=m=>`+ ${m.length} ...`}=e,g=typeof p=="function"?p(v):p;return u(g,g,!1)}const h=v=>{const p=v.target.composing;s.value=v.target.value,p||e.onInputChange(v)};return()=>{const{id:v,prefixCls:p,values:g,open:m,inputRef:y,placeholder:b,disabled:S,autofocus:x,autocomplete:$,activeDescendantId:C,tabindex:T,compositionStatus:I,onInputPaste:P,onInputKeyDown:M,onInputMouseDown:O,onInputCompositionStart:D,onInputCompositionEnd:R}=e,A=w("div",{class:`${o.value}-search`,style:{width:n.value+"px"},key:"input"},[w(sX,{inputRef:y,open:m,prefixCls:p,id:v,inputElement:null,disabled:S,autofocus:x,autocomplete:$,editable:l.value,activeDescendantId:C,value:s.value,onKeydown:M,onMousedown:O,onChange:h,onPaste:P,onCompositionstart:D,onCompositionend:R,tabindex:T,attrs:Mu(e,!0),onFocus:()=>r.value=!0,onBlur:()=>r.value=!1},null),w("span",{ref:t,class:`${o.value}-search-mirror`,"aria-hidden":!0},[s.value,Gr(" ")])]),E=w(lh,{prefixCls:`${o.value}-overflow`,data:g,renderItem:d,renderRest:f,suffix:A,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return w(Qe,null,[E,!g.length&&!a.value&&!I&&w("span",{class:`${o.value}-placeholder`},[b])])}}}),J0e=Q0e,ebe={inputElement:U.any,id:String,prefixCls:String,values:U.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:U.any,placeholder:U.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},UO=se({name:"SingleSelector",setup(e){const t=ae(!1),n=L(()=>e.mode==="combobox"),r=L(()=>n.value||e.showSearch),i=L(()=>{let c=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(c=e.activeValue),c}),o=mw();Se([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const a=L(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!i.value||e.compositionStatus),l=L(()=>{const c=e.values[0];return c&&(typeof c.label=="string"||typeof c.label=="number")?c.label.toString():void 0}),s=()=>{if(e.values[0])return null;const c=a.value?{visibility:"hidden"}:void 0;return w("span",{class:`${e.prefixCls}-selection-placeholder`,style:c},[e.placeholder])},u=c=>{c.target.composing||(t.value=!0,e.onInputChange(c))};return()=>{var c,d,f,h;const{inputElement:v,prefixCls:p,id:g,values:m,inputRef:y,disabled:b,autofocus:S,autocomplete:x,activeDescendantId:$,open:C,tabindex:T,optionLabelRender:I,onInputKeyDown:P,onInputMouseDown:M,onInputPaste:O,onInputCompositionStart:D,onInputCompositionEnd:R}=e,A=m[0];let E=null;if(A&&o.customSlots){const k=(c=A.key)!==null&&c!==void 0?c:A.value,N=((d=o.keyEntities[k])===null||d===void 0?void 0:d.node)||{};E=o.customSlots[(f=N.slots)===null||f===void 0?void 0:f.title]||o.customSlots.title||A.label,typeof E=="function"&&(E=E(N))}else E=I&&A?I(A.option):A==null?void 0:A.label;return w(Qe,null,[w("span",{class:`${p}-selection-search`},[w(sX,{inputRef:y,prefixCls:p,id:g,open:C,inputElement:v,disabled:b,autofocus:S,autocomplete:x,editable:r.value,activeDescendantId:$,value:i.value,onKeydown:P,onMousedown:M,onChange:u,onPaste:O,onCompositionstart:D,onCompositionend:R,tabindex:T,attrs:Mu(e,!0)},null)]),!n.value&&A&&!a.value&&w("span",{class:`${p}-selection-item`,title:l.value},[w(Qe,{key:(h=A.key)!==null&&h!==void 0?h:A.value},[E])]),s()])}}});UO.props=ebe;UO.inheritAttrs=!1;const tbe=UO;function nbe(e){return![Pe.ESC,Pe.SHIFT,Pe.BACKSPACE,Pe.TAB,Pe.WIN_KEY,Pe.ALT,Pe.META,Pe.WIN_KEY_RIGHT,Pe.CTRL,Pe.SEMICOLON,Pe.EQUALS,Pe.CAPS_LOCK,Pe.CONTEXT_MENU,Pe.F1,Pe.F2,Pe.F3,Pe.F4,Pe.F5,Pe.F6,Pe.F7,Pe.F8,Pe.F9,Pe.F10,Pe.F11,Pe.F12].includes(e)}function hX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;ht(()=>{clearTimeout(n)});function r(i){(i||t===null)&&(t=i),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,r]}function Vg(){const e=t=>{e.current=t};return e}const rbe=se({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:U.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:U.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),disabled:{type:Boolean,default:void 0},placeholder:U.any,removeIcon:U.any,maxTagCount:U.oneOfType([U.number,U.string]),maxTagTextLength:Number,maxTagPlaceholder:U.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const r=Vg(),i=ue(!1),[o,a]=hX(0),l=m=>{const{which:y}=m;(y===Pe.UP||y===Pe.DOWN)&&m.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(m),y===Pe.ENTER&&e.mode==="tags"&&!i.value&&!e.open&&e.onSearchSubmit(m.target.value),nbe(y)&&e.onToggleOpen(!0)},s=()=>{a(!0)};let u=null;const c=m=>{e.onSearch(m,!0,i.value)!==!1&&e.onToggleOpen(!0)},d=()=>{i.value=!0},f=m=>{i.value=!1,e.mode!=="combobox"&&c(m.target.value)},h=m=>{let{target:{value:y}}=m;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const b=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");y=y.replace(b,u)}u=null,c(y)},v=m=>{const{clipboardData:y}=m;u=y.getData("text")},p=m=>{let{target:y}=m;y!==r.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{r.current.focus()}):r.current.focus())},g=m=>{const y=o();m.target!==r.current&&!y&&m.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!y)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{r.current.focus()},blur:()=>{r.current.blur()}}),()=>{const{prefixCls:m,domRef:y,mode:b}=e,S={inputRef:r,onInputKeyDown:l,onInputMouseDown:s,onInputChange:h,onInputPaste:v,compositionStatus:i.value,onInputCompositionStart:d,onInputCompositionEnd:f},x=b==="multiple"||b==="tags"?w(J0e,z(z({},e),S),null):w(tbe,z(z({},e),S),null);return w("div",{ref:y,class:`${m}-selector`,onClick:p,onMousedown:g},[x])}}}),ibe=rbe;function obe(e,t,n){function r(i){var o,a,l;let s=i.target;s.shadowRoot&&i.composed&&(s=i.composedPath()[0]||s);const u=[(o=e[0])===null||o===void 0?void 0:o.value,(l=(a=e[1])===null||a===void 0?void 0:a.value)===null||l===void 0?void 0:l.getPopupElement()];t.value&&u.every(c=>c&&!c.contains(s)&&c!==s)&&n(!1)}tt(()=>{window.addEventListener("mousedown",r)}),ht(()=>{window.removeEventListener("mousedown",r)})}function abe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=ae(!1);let n;const r=()=>{clearTimeout(n)};return tt(()=>{r()}),[t,(o,a)=>{r(),n=setTimeout(()=>{t.value=o,a&&a()},e)},r]}const vX=Symbol("BaseSelectContextKey");function lbe(e){return at(vX,e)}function zm(){return Je(vX,{})}const XO=()=>{if(typeof navigator=="undefined"||typeof window=="undefined")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function J1(e){if(!Kn(e))return Bt(e);const t=new Proxy({},{get(n,r,i){return Reflect.get(e.value,r,i)},set(n,r,i){return e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Bt(t)}var sbe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:U.any,emptyOptions:Boolean}),yw=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:U.any,placeholder:U.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:U.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:U.any,clearIcon:U.any,removeIcon:U.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),dbe=()=>_(_({},cbe()),yw());function pX(e){return e==="tags"||e==="multiple"}const YO=se({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:ft(dbe(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=L(()=>pX(e.mode)),a=L(()=>e.showSearch!==void 0?e.showSearch:o.value||e.mode==="combobox"),l=ae(!1);tt(()=>{l.value=XO()});const s=mw(),u=ae(null),c=Vg(),d=ae(null),f=ae(null),h=ae(null),v=ue(!1),[p,g,m]=abe();r({focus:()=>{var G;(G=f.value)===null||G===void 0||G.focus()},blur:()=>{var G;(G=f.value)===null||G===void 0||G.blur()},scrollTo:G=>{var Y;return(Y=h.value)===null||Y===void 0?void 0:Y.scrollTo(G)}});const S=L(()=>{var G;if(e.mode!=="combobox")return e.searchValue;const Y=(G=e.displayValues[0])===null||G===void 0?void 0:G.value;return typeof Y=="string"||typeof Y=="number"?String(Y):""}),x=e.open!==void 0?e.open:e.defaultOpen,$=ae(x),C=ae(x),T=G=>{$.value=e.open!==void 0?e.open:G,C.value=$.value};Se(()=>e.open,()=>{T(e.open)});const I=L(()=>!e.notFoundContent&&e.emptyOptions);Ye(()=>{C.value=$.value,(e.disabled||I.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const P=L(()=>I.value?!1:C.value),M=G=>{const Y=G!==void 0?G:!C.value;C.value!==Y&&!e.disabled&&(T(Y),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(Y),!Y&&V.value&&(V.value=!1,g(!1,()=>{F.value=!1,v.value=!1})))},O=L(()=>(e.tokenSeparators||[]).some(G=>[` + onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,a8=`${H0e} ${V0e}`.split(/[\s\n]+/),W0e="aria-",j0e="data-";function l8(e,t){return e.indexOf(t)===0}function Mu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=_({},t);const r={};return Object.keys(e).forEach(i=>{(n.aria&&(i==="role"||l8(i,W0e))||n.data&&l8(i,j0e)||n.attr&&(a8.includes(i)||a8.includes(i.toLowerCase())))&&(r[i]=e[i])}),r}const uX=Symbol("OverflowContextProviderKey"),qI=se({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return at(uX,L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),G0e=()=>Je(uX,L(()=>null));var K0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.responsive&&!e.display),o=ue();r({itemNodeRef:o});function a(l){e.registerSize(e.itemKey,l)}return Jr(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:u,item:c,renderItem:d,responsive:f,registerSize:h,itemKey:v,display:p,order:g,component:m="div"}=e,y=K0e(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),b=(l=n.default)===null||l===void 0?void 0:l.call(n),S=d&&c!==ef?d(c):b;let x;u||(x={opacity:i.value?0:1,height:i.value?0:ef,overflowY:i.value?"hidden":ef,order:f?g:ef,pointerEvents:i.value?"none":ef,position:i.value?"absolute":ef});const $={};return i.value&&($["aria-hidden"]=!0),w(Ao,{disabled:!f,onResize:C=>{let{offsetWidth:T}=C;a(T)}},{default:()=>w(m,z(z(z({class:ce(!u&&s),style:x},$),y),{},{ref:o}),{default:()=>[S]})})}}});var k$=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var o;if(!i.value){const{component:d="div"}=e,f=k$(e,["component"]);return w(d,z(z({},f),r),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}const a=i.value,{className:l}=a,s=k$(a,["className"]),{class:u}=r,c=k$(r,["class"]);return w(qI,{value:null},{default:()=>[w(Tb,z(z(z({class:ce(l,u)},s),c),e),n)]})}}});var X0e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:U.any,component:String,itemComponent:U.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),gw=se({name:"Overflow",inheritAttrs:!1,props:q0e(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:r,slots:i}=t;const o=L(()=>e.ssr==="full"),a=ae(null),l=L(()=>a.value||0),s=ae(new Map),u=ae(0),c=ae(0),d=ae(0),f=ae(null),h=ae(null),v=L(()=>h.value===null&&o.value?Number.MAX_SAFE_INTEGER:h.value||0),p=ae(!1),g=L(()=>`${e.prefixCls}-item`),m=L(()=>Math.max(u.value,c.value)),y=L(()=>!!(e.data.length&&e.maxCount===cX)),b=L(()=>e.maxCount===dX),S=L(()=>y.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),x=L(()=>{let A=e.data;return y.value?a.value===null&&o.value?A=e.data:A=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(A=e.data.slice(0,e.maxCount)),A}),$=L(()=>y.value?e.data.slice(v.value+1):e.data.slice(x.value.length)),C=(A,E)=>{var k;return typeof e.itemKey=="function"?e.itemKey(A):(k=e.itemKey&&(A==null?void 0:A[e.itemKey]))!==null&&k!==void 0?k:E},T=L(()=>e.renderItem||(A=>A)),I=(A,E)=>{h.value=A,E||(p.value=A{a.value=E.clientWidth},M=(A,E)=>{const k=new Map(s.value);E===null?k.delete(A):k.set(A,E),s.value=k},O=(A,E)=>{u.value=c.value,c.value=E},D=(A,E)=>{d.value=E},R=A=>s.value.get(C(x.value[A],A));return Se([l,s,c,d,()=>e.itemKey,x],()=>{if(l.value&&m.value&&x.value){let A=d.value;const E=x.value.length,k=E-1;if(!E){I(0),f.value=null;return}for(let N=0;Nl.value){I(N-1),f.value=A-B-d.value+c.value;break}}e.suffix&&R(0)+d.value>l.value&&(f.value=null)}}),()=>{const A=p.value&&!!$.value.length,{itemComponent:E,renderRawItem:k,renderRawRest:N,renderRest:B,prefixCls:F="rc-overflow",suffix:H,component:V="div",id:X,onMousedown:Q}=e,{class:K,style:te}=n,q=X0e(n,["class","style"]);let ee={};f.value!==null&&y.value&&(ee={position:"absolute",left:`${f.value}px`,top:0});const J={prefixCls:g.value,responsive:y.value,component:E,invalidate:b.value},G=k?(Z,ne)=>{const re=C(Z,ne);return w(qI,{key:re,value:_(_({},J),{order:ne,item:Z,itemKey:re,registerSize:M,display:ne<=v.value})},{default:()=>[k(Z,ne)]})}:(Z,ne)=>{const re=C(Z,ne);return w(Tb,z(z({},J),{},{order:ne,key:re,item:Z,renderItem:T.value,itemKey:re,registerSize:M,display:ne<=v.value}),null)};let Y=()=>null;const oe={order:A?v.value:Number.MAX_SAFE_INTEGER,className:`${g.value} ${g.value}-rest`,registerSize:O,display:A};if(N)N&&(Y=()=>w(qI,{value:_(_({},J),oe)},{default:()=>[N($.value)]}));else{const Z=B||Y0e;Y=()=>w(Tb,z(z({},J),oe),{default:()=>typeof Z=="function"?Z($.value):Z})}const W=()=>{var Z;return w(V,z({id:X,class:ce(!b.value&&F,K),style:te,onMousedown:Q,role:e.role},q),{default:()=>[x.value.map(G),S.value?Y():null,H&&w(Tb,z(z({},J),{},{order:v.value,class:`${g.value}-suffix`,registerSize:D,display:!0,style:ee}),{default:()=>H}),(Z=i.default)===null||Z===void 0?void 0:Z.call(i)]})};return w(Ao,{disabled:!y.value,onResize:P},{default:W})}}});gw.Item=U0e;gw.RESPONSIVE=cX;gw.INVALIDATE=dX;const sh=gw,fX=Symbol("TreeSelectLegacyContextPropsKey");function Z0e(e){return at(fX,e)}function mw(){return Je(fX,{})}const Q0e={id:String,prefixCls:String,values:U.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:U.any,placeholder:U.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),compositionStatus:Boolean,removeIcon:U.any,choiceTransitionName:String,maxTagCount:U.oneOfType([U.number,U.string]),maxTagTextLength:Number,maxTagPlaceholder:U.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},s8=e=>{e.preventDefault(),e.stopPropagation()},J0e=se({name:"MultipleSelectSelector",inheritAttrs:!1,props:Q0e,setup(e){const t=ae(),n=ae(0),r=ae(!1),i=mw(),o=L(()=>`${e.prefixCls}-selection`),a=L(()=>e.open||e.mode==="tags"?e.searchValue:""),l=L(()=>e.mode==="tags"||e.showSearch&&(e.open||r.value)),s=ue("");Ye(()=>{s.value=a.value}),tt(()=>{Se(s,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function u(v,p,g,m,y){return w("span",{class:ce(`${o.value}-item`,{[`${o.value}-item-disabled`]:g}),title:typeof v=="string"||typeof v=="number"?v.toString():void 0},[w("span",{class:`${o.value}-item-content`},[p]),m&&w(Z1,{class:`${o.value}-item-remove`,onMousedown:s8,onClick:y,customizeIcon:e.removeIcon},{default:()=>[Gr("×")]})])}function c(v,p,g,m,y,b){var S;const x=C=>{s8(C),e.onToggleOpen(!open)};let $=b;return i.keyEntities&&($=((S=i.keyEntities[v])===null||S===void 0?void 0:S.node)||{}),w("span",{key:v,onMousedown:x},[e.tagRender({label:p,value:v,disabled:g,closable:m,onClose:y,option:$})])}function d(v){const{disabled:p,label:g,value:m,option:y}=v,b=!e.disabled&&!p;let S=g;if(typeof e.maxTagTextLength=="number"&&(typeof g=="string"||typeof g=="number")){const $=String(S);$.length>e.maxTagTextLength&&(S=`${$.slice(0,e.maxTagTextLength)}...`)}const x=$=>{var C;$&&$.stopPropagation(),(C=e.onRemove)===null||C===void 0||C.call(e,v)};return typeof e.tagRender=="function"?c(m,S,p,b,x,y):u(g,S,p,b,x)}function f(v){const{maxTagPlaceholder:p=m=>`+ ${m.length} ...`}=e,g=typeof p=="function"?p(v):p;return u(g,g,!1)}const h=v=>{const p=v.target.composing;s.value=v.target.value,p||e.onInputChange(v)};return()=>{const{id:v,prefixCls:p,values:g,open:m,inputRef:y,placeholder:b,disabled:S,autofocus:x,autocomplete:$,activeDescendantId:C,tabindex:T,compositionStatus:I,onInputPaste:P,onInputKeyDown:M,onInputMouseDown:O,onInputCompositionStart:D,onInputCompositionEnd:R}=e,A=w("div",{class:`${o.value}-search`,style:{width:n.value+"px"},key:"input"},[w(sX,{inputRef:y,open:m,prefixCls:p,id:v,inputElement:null,disabled:S,autofocus:x,autocomplete:$,editable:l.value,activeDescendantId:C,value:s.value,onKeydown:M,onMousedown:O,onChange:h,onPaste:P,onCompositionstart:D,onCompositionend:R,tabindex:T,attrs:Mu(e,!0),onFocus:()=>r.value=!0,onBlur:()=>r.value=!1},null),w("span",{ref:t,class:`${o.value}-search-mirror`,"aria-hidden":!0},[s.value,Gr(" ")])]),E=w(sh,{prefixCls:`${o.value}-overflow`,data:g,renderItem:d,renderRest:f,suffix:A,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return w(Qe,null,[E,!g.length&&!a.value&&!I&&w("span",{class:`${o.value}-placeholder`},[b])])}}}),ebe=J0e,tbe={inputElement:U.any,id:String,prefixCls:String,values:U.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:U.any,placeholder:U.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},UO=se({name:"SingleSelector",setup(e){const t=ae(!1),n=L(()=>e.mode==="combobox"),r=L(()=>n.value||e.showSearch),i=L(()=>{let c=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(c=e.activeValue),c}),o=mw();Se([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const a=L(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!i.value||e.compositionStatus),l=L(()=>{const c=e.values[0];return c&&(typeof c.label=="string"||typeof c.label=="number")?c.label.toString():void 0}),s=()=>{if(e.values[0])return null;const c=a.value?{visibility:"hidden"}:void 0;return w("span",{class:`${e.prefixCls}-selection-placeholder`,style:c},[e.placeholder])},u=c=>{c.target.composing||(t.value=!0,e.onInputChange(c))};return()=>{var c,d,f,h;const{inputElement:v,prefixCls:p,id:g,values:m,inputRef:y,disabled:b,autofocus:S,autocomplete:x,activeDescendantId:$,open:C,tabindex:T,optionLabelRender:I,onInputKeyDown:P,onInputMouseDown:M,onInputPaste:O,onInputCompositionStart:D,onInputCompositionEnd:R}=e,A=m[0];let E=null;if(A&&o.customSlots){const k=(c=A.key)!==null&&c!==void 0?c:A.value,N=((d=o.keyEntities[k])===null||d===void 0?void 0:d.node)||{};E=o.customSlots[(f=N.slots)===null||f===void 0?void 0:f.title]||o.customSlots.title||A.label,typeof E=="function"&&(E=E(N))}else E=I&&A?I(A.option):A==null?void 0:A.label;return w(Qe,null,[w("span",{class:`${p}-selection-search`},[w(sX,{inputRef:y,prefixCls:p,id:g,open:C,inputElement:v,disabled:b,autofocus:S,autocomplete:x,editable:r.value,activeDescendantId:$,value:i.value,onKeydown:P,onMousedown:M,onChange:u,onPaste:O,onCompositionstart:D,onCompositionend:R,tabindex:T,attrs:Mu(e,!0)},null)]),!n.value&&A&&!a.value&&w("span",{class:`${p}-selection-item`,title:l.value},[w(Qe,{key:(h=A.key)!==null&&h!==void 0?h:A.value},[E])]),s()])}}});UO.props=tbe;UO.inheritAttrs=!1;const nbe=UO;function rbe(e){return![Pe.ESC,Pe.SHIFT,Pe.BACKSPACE,Pe.TAB,Pe.WIN_KEY,Pe.ALT,Pe.META,Pe.WIN_KEY_RIGHT,Pe.CTRL,Pe.SEMICOLON,Pe.EQUALS,Pe.CAPS_LOCK,Pe.CONTEXT_MENU,Pe.F1,Pe.F2,Pe.F3,Pe.F4,Pe.F5,Pe.F6,Pe.F7,Pe.F8,Pe.F9,Pe.F10,Pe.F11,Pe.F12].includes(e)}function hX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;ht(()=>{clearTimeout(n)});function r(i){(i||t===null)&&(t=i),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,r]}function Wg(){const e=t=>{e.current=t};return e}const ibe=se({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:U.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:U.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:U.oneOfType([U.number,U.string]),disabled:{type:Boolean,default:void 0},placeholder:U.any,removeIcon:U.any,maxTagCount:U.oneOfType([U.number,U.string]),maxTagTextLength:Number,maxTagPlaceholder:U.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const r=Wg(),i=ue(!1),[o,a]=hX(0),l=m=>{const{which:y}=m;(y===Pe.UP||y===Pe.DOWN)&&m.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(m),y===Pe.ENTER&&e.mode==="tags"&&!i.value&&!e.open&&e.onSearchSubmit(m.target.value),rbe(y)&&e.onToggleOpen(!0)},s=()=>{a(!0)};let u=null;const c=m=>{e.onSearch(m,!0,i.value)!==!1&&e.onToggleOpen(!0)},d=()=>{i.value=!0},f=m=>{i.value=!1,e.mode!=="combobox"&&c(m.target.value)},h=m=>{let{target:{value:y}}=m;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const b=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");y=y.replace(b,u)}u=null,c(y)},v=m=>{const{clipboardData:y}=m;u=y.getData("text")},p=m=>{let{target:y}=m;y!==r.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{r.current.focus()}):r.current.focus())},g=m=>{const y=o();m.target!==r.current&&!y&&m.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!y)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{r.current.focus()},blur:()=>{r.current.blur()}}),()=>{const{prefixCls:m,domRef:y,mode:b}=e,S={inputRef:r,onInputKeyDown:l,onInputMouseDown:s,onInputChange:h,onInputPaste:v,compositionStatus:i.value,onInputCompositionStart:d,onInputCompositionEnd:f},x=b==="multiple"||b==="tags"?w(ebe,z(z({},e),S),null):w(nbe,z(z({},e),S),null);return w("div",{ref:y,class:`${m}-selector`,onClick:p,onMousedown:g},[x])}}}),obe=ibe;function abe(e,t,n){function r(i){var o,a,l;let s=i.target;s.shadowRoot&&i.composed&&(s=i.composedPath()[0]||s);const u=[(o=e[0])===null||o===void 0?void 0:o.value,(l=(a=e[1])===null||a===void 0?void 0:a.value)===null||l===void 0?void 0:l.getPopupElement()];t.value&&u.every(c=>c&&!c.contains(s)&&c!==s)&&n(!1)}tt(()=>{window.addEventListener("mousedown",r)}),ht(()=>{window.removeEventListener("mousedown",r)})}function lbe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=ae(!1);let n;const r=()=>{clearTimeout(n)};return tt(()=>{r()}),[t,(o,a)=>{r(),n=setTimeout(()=>{t.value=o,a&&a()},e)},r]}const vX=Symbol("BaseSelectContextKey");function sbe(e){return at(vX,e)}function zm(){return Je(vX,{})}const XO=()=>{if(typeof navigator=="undefined"||typeof window=="undefined")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function J1(e){if(!Kn(e))return Bt(e);const t=new Proxy({},{get(n,r,i){return Reflect.get(e.value,r,i)},set(n,r,i){return e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Bt(t)}var ube=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:U.any,emptyOptions:Boolean}),yw=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:U.any,placeholder:U.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:U.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:U.any,clearIcon:U.any,removeIcon:U.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),fbe=()=>_(_({},dbe()),yw());function pX(e){return e==="tags"||e==="multiple"}const YO=se({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:ft(fbe(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=L(()=>pX(e.mode)),a=L(()=>e.showSearch!==void 0?e.showSearch:o.value||e.mode==="combobox"),l=ae(!1);tt(()=>{l.value=XO()});const s=mw(),u=ae(null),c=Wg(),d=ae(null),f=ae(null),h=ae(null),v=ue(!1),[p,g,m]=lbe();r({focus:()=>{var G;(G=f.value)===null||G===void 0||G.focus()},blur:()=>{var G;(G=f.value)===null||G===void 0||G.blur()},scrollTo:G=>{var Y;return(Y=h.value)===null||Y===void 0?void 0:Y.scrollTo(G)}});const S=L(()=>{var G;if(e.mode!=="combobox")return e.searchValue;const Y=(G=e.displayValues[0])===null||G===void 0?void 0:G.value;return typeof Y=="string"||typeof Y=="number"?String(Y):""}),x=e.open!==void 0?e.open:e.defaultOpen,$=ae(x),C=ae(x),T=G=>{$.value=e.open!==void 0?e.open:G,C.value=$.value};Se(()=>e.open,()=>{T(e.open)});const I=L(()=>!e.notFoundContent&&e.emptyOptions);Ye(()=>{C.value=$.value,(e.disabled||I.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const P=L(()=>I.value?!1:C.value),M=G=>{const Y=G!==void 0?G:!C.value;C.value!==Y&&!e.disabled&&(T(Y),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(Y),!Y&&V.value&&(V.value=!1,g(!1,()=>{F.value=!1,v.value=!1})))},O=L(()=>(e.tokenSeparators||[]).some(G=>[` `,`\r -`].includes(G))),D=(G,Y,oe)=>{var W,Z;let ne=!0,re=G;(W=e.onActiveValueChange)===null||W===void 0||W.call(e,null);const le=oe?null:kpe(G,e.tokenSeparators);return e.mode!=="combobox"&&le&&(re="",(Z=e.onSearchSplit)===null||Z===void 0||Z.call(e,le),M(!1),ne=!1),e.onSearch&&S.value!==re&&e.onSearch(re,{source:Y?"typing":"effect"}),ne},R=G=>{var Y;!G||!G.trim()||(Y=e.onSearch)===null||Y===void 0||Y.call(e,G,{source:"submit"})};Se(C,()=>{!C.value&&!o.value&&e.mode!=="combobox"&&D("",!1,!1)},{immediate:!0,flush:"post"}),Se(()=>e.disabled,()=>{$.value&&e.disabled&&T(!1),e.disabled&&!v.value&&g(!1)},{immediate:!0});const[A,E]=hX(),k=function(G){var Y;const oe=A(),{which:W}=G;if(W===Pe.ENTER&&(e.mode!=="combobox"&&G.preventDefault(),C.value||M(!0)),E(!!S.value),W===Pe.BACKSPACE&&!oe&&o.value&&!S.value&&e.displayValues.length){const le=[...e.displayValues];let ie=null;for(let de=le.length-1;de>=0;de-=1){const pe=le[de];if(!pe.disabled){le.splice(de,1),ie=pe;break}}ie&&e.onDisplayValuesChange(le,{type:"remove",values:[ie]})}for(var Z=arguments.length,ne=new Array(Z>1?Z-1:0),re=1;re1?Y-1:0),W=1;W{const Y=e.displayValues.filter(oe=>oe!==G);e.onDisplayValuesChange(Y,{type:"remove",values:[G]})},F=ae(!1),H=function(){g(!0),e.disabled||(e.onFocus&&!F.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&M(!0)),F.value=!0},V=ue(!1),X=function(){if(V.value||(v.value=!0,g(!1,()=>{F.value=!1,v.value=!1,M(!1)}),e.disabled))return;const G=S.value;G&&(e.mode==="tags"?e.onSearch(G,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},Q=()=>{V.value=!0},K=()=>{V.value=!1};at("VCSelectContainerEvent",{focus:H,blur:X});const te=[];tt(()=>{te.forEach(G=>clearTimeout(G)),te.splice(0,te.length)}),ht(()=>{te.forEach(G=>clearTimeout(G)),te.splice(0,te.length)});const q=function(G){var Y,oe;const{target:W}=G,Z=(Y=d.value)===null||Y===void 0?void 0:Y.getPopupElement();if(Z&&Z.contains(W)){const ie=setTimeout(()=>{var de;const pe=te.indexOf(ie);pe!==-1&&te.splice(pe,1),m(),!l.value&&!Z.contains(document.activeElement)&&((de=f.value)===null||de===void 0||de.focus())});te.push(ie)}for(var ne=arguments.length,re=new Array(ne>1?ne-1:0),le=1;le{};return tt(()=>{Se(P,()=>{var G;if(P.value){const Y=Math.ceil((G=u.value)===null||G===void 0?void 0:G.offsetWidth);ee.value!==Y&&!Number.isNaN(Y)&&(ee.value=Y)}},{immediate:!0,flush:"post"})}),obe([u,d],P,M),lbe(J1(_(_({},ja(e)),{open:C,triggerOpen:P,showSearch:a,multiple:o,toggleOpen:M}))),()=>{const G=_(_({},e),n),{prefixCls:Y,id:oe,open:W,defaultOpen:Z,mode:ne,showSearch:re,searchValue:le,onSearch:ie,allowClear:de,clearIcon:pe,showArrow:me,inputIcon:he,disabled:xe,loading:Ce,getInputElement:ve,getPopupContainer:fe,placement:ye,animation:Me,transitionName:De,dropdownStyle:Be,dropdownClassName:we,dropdownMatchSelectWidth:_e,dropdownRender:Ie,dropdownAlign:Le,showAction:Ke,direction:ke,tokenSeparators:We,tagRender:gt,optionLabelRender:Dt,onPopupScroll:At,onDropdownVisibleChange:kt,onFocus:Ut,onBlur:Wn,onKeyup:Zn,onKeydown:or,onMousedown:On,onClear:Rr,omitDomProps:mi,getRawInputElement:no,displayValues:Bo,onDisplayValuesChange:yi,emptyOptions:Lu,activeDescendantId:Re,activeValue:ct,OptionList:ot}=G,nn=sbe(G,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Qn=ne==="combobox"&&ve&&ve()||null,Dn=typeof no=="function"&&no(),bi=_({},nn);let xr;Dn&&(xr=zo=>{M(zo)}),ube.forEach(zo=>{delete bi[zo]}),mi==null||mi.forEach(zo=>{delete bi[zo]});const ga=me!==void 0?me:Ce||!o.value&&ne!=="combobox";let Ni;ga&&(Ni=w(Z1,{class:ce(`${Y}-arrow`,{[`${Y}-arrow-loading`]:Ce}),customizeIcon:he,customizeIconProps:{loading:Ce,searchValue:S.value,open:C.value,focused:p.value,showSearch:a.value}},null));let ro;const wn=()=>{Rr==null||Rr(),yi([],{type:"clear",values:Bo}),D("",!1,!1)};!xe&&de&&(Bo.length||S.value)&&(ro=w(Z1,{class:`${Y}-clear`,onMousedown:wn,customizeIcon:pe},{default:()=>[Gr("×")]}));const Fo=w(ot,{ref:h},_(_({},s.customSlots),{option:i.option})),io=ce(Y,n.class,{[`${Y}-focused`]:p.value,[`${Y}-multiple`]:o.value,[`${Y}-single`]:!o.value,[`${Y}-allow-clear`]:de,[`${Y}-show-arrow`]:ga,[`${Y}-disabled`]:xe,[`${Y}-loading`]:Ce,[`${Y}-open`]:C.value,[`${Y}-customize-input`]:Qn,[`${Y}-show-search`]:a.value}),hs=w(M0e,{ref:d,disabled:xe,prefixCls:Y,visible:P.value,popupElement:Fo,containerWidth:ee.value,animation:Me,transitionName:De,dropdownStyle:Be,dropdownClassName:we,direction:ke,dropdownMatchSelectWidth:_e,dropdownRender:Ie,dropdownAlign:Le,placement:ye,getPopupContainer:fe,empty:Lu,getTriggerDOMNode:()=>c.current,onPopupVisibleChange:xr,onPopupMouseEnter:J,onPopupFocusin:Q,onPopupFocusout:K},{default:()=>Dn?zn(Dn)&&Nt(Dn,{ref:c},!1,!0):w(ibe,z(z({},e),{},{domRef:c,prefixCls:Y,inputElement:Qn,ref:f,id:oe,showSearch:a.value,mode:ne,activeDescendantId:Re,tagRender:gt,optionLabelRender:Dt,values:Bo,open:C.value,onToggleOpen:M,activeValue:ct,searchValue:S.value,onSearch:D,onSearchSubmit:R,onRemove:B,tokenWithEnter:O.value}),null)});let vs;return Dn?vs=hs:vs=w("div",z(z({},bi),{},{class:io,ref:u,onMousedown:q,onKeydown:k,onKeyup:N}),[p.value&&!C.value&&w("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Bo.map(zo=>{let{label:qd,value:Ho}=zo;return["number","string"].includes(typeof qd)?qd:Ho}).join(", ")}`]),hs,Ni,ro]),vs}}}),bw=(e,t)=>{let{height:n,offset:r,prefixCls:i,onInnerResize:o}=e,{slots:a}=t;var l;let s={},u={display:"flex",flexDirection:"column"};return r!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=_(_({},u),{transform:`translateY(${r}px)`,position:"absolute",left:0,right:0,top:0})),w("div",{style:s},[w(Mo,{onResize:c=>{let{offsetHeight:d}=c;d&&o&&o()}},{default:()=>[w("div",{style:u,class:ce({[`${i}-holder-inner`]:i})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};bw.displayName="Filter";bw.inheritAttrs=!1;bw.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const fbe=bw,gX=(e,t)=>{let{setRef:n}=e,{slots:r}=t;var i;const o=Jt((i=r.default)===null||i===void 0?void 0:i.call(r));return o&&o.length?cr(o[0],{ref:n}):o};gX.props={setRef:{type:Function,default:()=>{}}};const hbe=gX,vbe=20;function u8(e){return"touches"in e?e.touches[0].pageY:e.pageY}const pbe=se({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:Vg(),thumbRef:Vg(),visibleTimeout:null,state:Bt({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,tr?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,tr?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,tr?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,tr?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,tr?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,tr?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),dt.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;_(this.state,{dragging:!0,pageY:u8(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:r}=this.state,{onScroll:i}=this.$props;if(dt.cancel(this.moveRaf),t){const o=u8(e)-n,a=r+o,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?a/s:0,c=Math.ceil(u*l);this.moveRaf=dt(()=>{i(c)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,vbe),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,r=this.getSpinHeight()+"px",i=this.getTop()+"px",o=this.showScroll(),a=o&&t;return w("div",{ref:this.scrollbarRef,class:ce(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:o}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[w("div",{ref:this.thumbRef,class:ce(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:r,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function gbe(e,t,n,r){const i=new Map,o=new Map,a=ue(Symbol("update"));Se(e,()=>{a.value=Symbol("update")});let l;function s(){dt.cancel(l)}function u(){s(),l=dt(()=>{i.forEach((d,f)=>{if(d&&d.offsetParent){const{offsetHeight:h}=d;o.get(f)!==h&&(a.value=Symbol("update"),o.set(f,d.offsetHeight))}})})}function c(d,f){const h=t(d),v=i.get(h);f?(i.set(h,f.$el||f),u()):i.delete(h),!v!=!f&&(f?n==null||n(d):r==null||r(d))}return Jr(()=>{s()}),[c,u,o,a]}function mbe(e,t,n,r,i,o,a,l){let s;return u=>{if(u==null){l();return}dt.cancel(s);const c=t.value,d=r.itemHeight;if(typeof u=="number")a(u);else if(u&&typeof u=="object"){let f;const{align:h}=u;"index"in u?{index:f}=u:f=c.findIndex(g=>i(g)===u.key);const{offset:v=0}=u,p=(g,m)=>{if(g<0||!e.value)return;const y=e.value.clientHeight;let b=!1,S=m;if(y){const x=m||h;let $=0,C=0,T=0;const I=Math.min(c.length,f);for(let O=0;O<=I;O+=1){const D=i(c[O]);C=$;const R=n.get(D);T=C+(R===void 0?d:R),$=T,O===f&&R===void 0&&(b=!0)}const P=e.value.scrollTop;let M=null;switch(x){case"top":M=C-v;break;case"bottom":M=T-y+v;break;default:{const O=P+y;CO&&(S="bottom")}}M!==null&&M!==P&&a(M)}s=dt(()=>{b&&o(),p(g-1,S)},2)};p(5)}}}const ybe=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),bbe=ybe,mX=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r),n=!0,r=setTimeout(()=>{n=!1},50)}return function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=o<0&&e.value||o>0&&t.value;return a&&l?(clearTimeout(r),n=!1):(!l||n)&&i(),!n&&l}};function Sbe(e,t,n,r){let i=0,o=null,a=null,l=!1;const s=mX(t,n);function u(d){if(!e.value)return;dt.cancel(o);const{deltaY:f}=d;i+=f,a=f,!s(f)&&(bbe||d.preventDefault(),o=dt(()=>{r(i*(l?10:1)),i=0}))}function c(d){e.value&&(l=d.detail===a)}return[u,c]}const xbe=14/15;function wbe(e,t,n){let r=!1,i=0,o=null,a=null;const l=()=>{o&&(o.removeEventListener("touchmove",s),o.removeEventListener("touchend",u))},s=f=>{if(r){const h=Math.ceil(f.touches[0].pageY);let v=i-h;i=h,n(v)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{v*=xbe,(!n(v,!0)||Math.abs(v)<=.1)&&clearInterval(a)},16)}},u=()=>{r=!1,l()},c=f=>{l(),f.touches.length===1&&!r&&(r=!0,i=Math.ceil(f.touches[0].pageY),o=f.target,o.addEventListener("touchmove",s,{passive:!1}),o.addEventListener("touchend",u))},d=()=>{};tt(()=>{document.addEventListener("touchmove",d,{passive:!1}),Se(e,f=>{t.value.removeEventListener("touchstart",c),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",c,{passive:!1})},{immediate:!0})}),ht(()=>{document.removeEventListener("touchmove",d)})}var Cbe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const u=t+s,c=i(l,u,{}),d=a(l);return w(hbe,{key:d,setRef:f=>r(l,f)},{default:()=>[c]})})}const Ibe=se({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:U.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const r=L(()=>{const{height:B,itemHeight:F,virtual:H}=e;return!!(H!==!1&&B&&F)}),i=L(()=>{const{height:B,itemHeight:F,data:H}=e;return r.value&&H&&F*H.length>B}),o=Bt({scrollTop:0,scrollMoving:!1}),a=L(()=>e.data||$be),l=ae([]);Se(a,()=>{l.value=mt(a.value).slice()},{immediate:!0});const s=ae(B=>{});Se(()=>e.itemKey,B=>{typeof B=="function"?s.value=B:s.value=F=>F==null?void 0:F[B]},{immediate:!0});const u=ae(),c=ae(),d=ae(),f=B=>s.value(B),h={getKey:f};function v(B){let F;typeof B=="function"?F=B(o.scrollTop):F=B;const H=$(F);u.value&&(u.value.scrollTop=H),o.scrollTop=H}const[p,g,m,y]=gbe(l,f,null,null),b=Bt({scrollHeight:void 0,start:0,end:0,offset:void 0}),S=ae(0);tt(()=>{_t(()=>{var B;S.value=((B=c.value)===null||B===void 0?void 0:B.offsetHeight)||0})}),Qr(()=>{_t(()=>{var B;S.value=((B=c.value)===null||B===void 0?void 0:B.offsetHeight)||0})}),Se([r,l],()=>{r.value||_(b,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),Se([r,l,S,i],()=>{r.value&&!i.value&&_(b,{scrollHeight:S.value,start:0,end:l.value.length-1,offset:void 0}),u.value&&(o.scrollTop=u.value.scrollTop)},{immediate:!0}),Se([i,r,()=>o.scrollTop,l,y,()=>e.height,S],()=>{if(!r.value||!i.value)return;let B=0,F,H,V;const X=l.value.length,Q=l.value,K=o.scrollTop,{itemHeight:te,height:q}=e,ee=K+q;for(let J=0;J=K&&(F=J,H=B),V===void 0&&W>ee&&(V=J),B=W}F===void 0&&(F=0,H=0,V=Math.ceil(q/te)),V===void 0&&(V=X-1),V=Math.min(V+1,X),_(b,{scrollHeight:B,start:F,end:V,offset:H})},{immediate:!0});const x=L(()=>b.scrollHeight-e.height);function $(B){let F=B;return Number.isNaN(x.value)||(F=Math.min(F,x.value)),F=Math.max(F,0),F}const C=L(()=>o.scrollTop<=0),T=L(()=>o.scrollTop>=x.value),I=mX(C,T);function P(B){v(B)}function M(B){var F;const{scrollTop:H}=B.currentTarget;H!==o.scrollTop&&v(H),(F=e.onScroll)===null||F===void 0||F.call(e,B)}const[O,D]=Sbe(r,C,T,B=>{v(F=>F+B)});wbe(r,u,(B,F)=>I(B,F)?!1:(O({preventDefault(){},deltaY:B}),!0));function R(B){r.value&&B.preventDefault()}const A=()=>{u.value&&(u.value.removeEventListener("wheel",O,tr?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",D),u.value.removeEventListener("MozMousePixelScroll",R))};Ye(()=>{_t(()=>{u.value&&(A(),u.value.addEventListener("wheel",O,tr?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",D),u.value.addEventListener("MozMousePixelScroll",R))})}),ht(()=>{A()});const E=mbe(u,l,m,e,f,g,v,()=>{var B;(B=d.value)===null||B===void 0||B.delayHidden()});n({scrollTo:E});const k=L(()=>{let B=null;return e.height&&(B=_({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},_be),r.value&&(B.overflowY="hidden",o.scrollMoving&&(B.pointerEvents="none"))),B});return Se([()=>b.start,()=>b.end,l],()=>{if(e.onVisibleChange){const B=l.value.slice(b.start,b.end+1);e.onVisibleChange(B,l.value)}},{flush:"post"}),{state:o,mergedData:l,componentStyle:k,onFallbackScroll:M,onScrollBar:P,componentRef:u,useVirtual:r,calRes:b,collectHeight:g,setInstance:p,sharedConfig:h,scrollBarRef:d,fillerInnerRef:c,delayHideScrollBar:()=>{var B;(B=d.value)===null||B===void 0||B.delayHidden()}}},render(){const e=_(_({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:r,fullHeight:i,data:o,itemKey:a,virtual:l,component:s="div",onScroll:u,children:c=this.$slots.default,style:d,class:f}=e,h=Cbe(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),v=ce(t,f),{scrollTop:p}=this.state,{scrollHeight:g,offset:m,start:y,end:b}=this.calRes,{componentStyle:S,onFallbackScroll:x,onScrollBar:$,useVirtual:C,collectHeight:T,sharedConfig:I,setInstance:P,mergedData:M,delayHideScrollBar:O}=this;return w("div",z({style:_(_({},d),{position:"relative"}),class:v},h),[w(s,{class:`${t}-holder`,style:S,ref:"componentRef",onScroll:x,onMouseenter:O},{default:()=>[w(fbe,{prefixCls:t,height:g,offset:m,onInnerResize:T,ref:"fillerInnerRef"},{default:()=>Tbe(M,y,b,P,c,I)})]}),C&&w(pbe,{ref:"scrollBarRef",prefixCls:t,scrollTop:p,height:n,scrollHeight:g,count:M.length,onScroll:$,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}}),yX=Ibe;function qO(e,t,n){const r=ue(e());return Se(t,(i,o)=>{n?n(i,o)&&(r.value=e()):r.value=e()}),r}function Pbe(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const bX=Symbol("SelectContextKey");function Mbe(e){return at(bX,e)}function Abe(){return Je(bX,{})}var Obe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i`${i.prefixCls}-item`),l=qO(()=>o.flattenOptions,[()=>i.open,()=>o.flattenOptions],x=>x[0]),s=Vg(),u=x=>{x.preventDefault()},c=x=>{s.current&&s.current.scrollTo(typeof x=="number"?{index:x}:x)},d=function(x){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const C=l.value.length;for(let T=0;T1&&arguments[1]!==void 0?arguments[1]:!1;f.activeIndex=x;const C={source:$?"keyboard":"mouse"},T=l.value[x];if(!T){o.onActiveValue(null,-1,C);return}o.onActiveValue(T.value,x,C)};Se([()=>l.value.length,()=>i.searchValue],()=>{h(o.defaultActiveFirstOption!==!1?d(0):-1)},{immediate:!0});const v=x=>o.rawValues.has(x)&&i.mode!=="combobox";Se([()=>i.open,()=>i.searchValue],()=>{if(!i.multiple&&i.open&&o.rawValues.size===1){const x=Array.from(o.rawValues)[0],$=mt(l.value).findIndex(C=>{let{data:T}=C;return T[o.fieldNames.value]===x});$!==-1&&(h($),_t(()=>{c($)}))}i.open&&_t(()=>{var x;(x=s.current)===null||x===void 0||x.scrollTo(void 0)})},{immediate:!0,flush:"post"});const p=x=>{x!==void 0&&o.onSelect(x,{selected:!o.rawValues.has(x)}),i.multiple||i.toggleOpen(!1)},g=x=>typeof x.label=="function"?x.label():x.label;function m(x){const $=l.value[x];if(!$)return null;const C=$.data||{},{value:T}=C,{group:I}=$,P=Mu(C,!0),M=g($);return $?w("div",z(z({"aria-label":typeof M=="string"&&!I?M:null},P),{},{key:x,role:I?"presentation":"option",id:`${i.id}_list_${x}`,"aria-selected":v(T)}),[T]):null}return n({onKeydown:x=>{const{which:$,ctrlKey:C}=x;switch($){case Pe.N:case Pe.P:case Pe.UP:case Pe.DOWN:{let T=0;if($===Pe.UP?T=-1:$===Pe.DOWN?T=1:Pbe()&&C&&($===Pe.N?T=1:$===Pe.P&&(T=-1)),T!==0){const I=d(f.activeIndex+T,T);c(I),h(I,!0)}break}case Pe.ENTER:{const T=l.value[f.activeIndex];T&&!T.data.disabled?p(T.value):p(void 0),i.open&&x.preventDefault();break}case Pe.ESC:i.toggleOpen(!1),i.open&&x.stopPropagation()}},onKeyup:()=>{},scrollTo:x=>{c(x)}}),()=>{const{id:x,notFoundContent:$,onPopupScroll:C}=i,{menuItemSelectedIcon:T,fieldNames:I,virtual:P,listHeight:M,listItemHeight:O}=o,D=r.option,{activeIndex:R}=f,A=Object.keys(I).map(E=>I[E]);return l.value.length===0?w("div",{role:"listbox",id:`${x}_list`,class:`${a.value}-empty`,onMousedown:u},[$]):w(Qe,null,[w("div",{role:"listbox",id:`${x}_list`,style:{height:0,width:0,overflow:"hidden"}},[m(R-1),m(R),m(R+1)]),w(yX,{itemKey:"key",ref:s,data:l.value,height:M,itemHeight:O,fullHeight:!1,onMousedown:u,onScroll:C,virtual:P},{default:(E,k)=>{var N;const{group:B,groupOption:F,data:H,value:V}=E,{key:X}=H,Q=typeof E.label=="function"?E.label():E.label;if(B){const pe=(N=H.title)!==null&&N!==void 0?N:c8(Q)&&Q;return w("div",{class:ce(a.value,`${a.value}-group`),title:pe},[D?D(H):Q!==void 0?Q:X])}const{disabled:K,title:te,children:q,style:ee,class:J,className:G}=H,Y=Obe(H,["disabled","title","children","style","class","className"]),oe=yt(Y,A),W=v(V),Z=`${a.value}-option`,ne=ce(a.value,Z,J,G,{[`${Z}-grouped`]:F,[`${Z}-active`]:R===k&&!K,[`${Z}-disabled`]:K,[`${Z}-selected`]:W}),re=g(E),le=!T||typeof T=="function"||W,ie=typeof re=="number"?re:re||V;let de=c8(ie)?ie.toString():void 0;return te!==void 0&&(de=te),w("div",z(z({},oe),{},{"aria-selected":W,class:ne,title:de,onMousemove:pe=>{Y.onMousemove&&Y.onMousemove(pe),!(R===k||K)&&h(k)},onClick:pe=>{K||p(V),Y.onClick&&Y.onClick(pe)},style:ee}),[w("div",{class:`${Z}-content`},[D?D(H):ie]),zn(T)||W,le&&w(Z1,{class:`${a.value}-option-state`,customizeIcon:T,customizeIconProps:{isSelected:W}},{default:()=>[W?"✓":null]})])}})])}}}),Ebe=Dbe;var Rbe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i1&&arguments[1]!==void 0?arguments[1]:!1;return Jt(e).map((r,i)=>{var o;if(!zn(r)||!r.type)return null;const{type:{isSelectOptGroup:a},key:l,children:s,props:u}=r;if(t||!a)return Lbe(r);const c=s&&s.default?s.default():void 0,d=(u==null?void 0:u.label)||((o=s.label)===null||o===void 0?void 0:o.call(s))||l;return _(_({key:`__RC_SELECT_GRP__${l===null?i:String(l)}__`},u),{label:d,options:SX(c||[])})}).filter(r=>r)}function Nbe(e,t,n){const r=ae(),i=ae(),o=ae(),a=ae([]);return Se([e,t],()=>{e.value?a.value=mt(e.value).slice():a.value=SX(t.value)},{immediate:!0,deep:!0}),Ye(()=>{const l=a.value,s=new Map,u=new Map,c=n.value;function d(f){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let v=0;v0&&arguments[0]!==void 0?arguments[0]:ue("");const t=`rc_select_${Bbe()}`;return e.value||t}function xX(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function B$(e,t){return xX(e).join("").toUpperCase().includes(t)}const Fbe=(e,t,n,r,i)=>L(()=>{const o=n.value,a=i==null?void 0:i.value,l=r==null?void 0:r.value;if(!o||l===!1)return e.value;const{options:s,label:u,value:c}=t.value,d=[],f=typeof l=="function",h=o.toUpperCase(),v=f?l:(g,m)=>a?B$(m[a],h):m[s]?B$(m[u!=="children"?u:"label"],h):B$(m[c],h),p=f?g=>HI(g):g=>g;return e.value.forEach(g=>{if(g[s]){if(v(o,p(g)))d.push(g);else{const y=g[s].filter(b=>v(o,p(b)));y.length&&d.push(_(_({},g),{[s]:y}))}return}v(o,p(g))&&d.push(g)}),d}),zbe=(e,t)=>{const n=ae({values:new Map,options:new Map});return[L(()=>{const{values:o,options:a}=n.value,l=e.value.map(c=>{var d;return c.label===void 0?_(_({},c),{label:(d=o.get(c.value))===null||d===void 0?void 0:d.label}):c}),s=new Map,u=new Map;return l.forEach(c=>{s.set(c.value,c),u.set(c.value,t.value.get(c.value)||a.get(c.value))}),n.value.values=s,n.value.options=u,l}),o=>t.value.get(o)||n.value.options.get(o)]};function dn(e,t){const{defaultValue:n,value:r=ue()}=t||{};let i=typeof e=="function"?e():e;r.value!==void 0&&(i=yn(r)),n!==void 0&&(i=typeof n=="function"?n():n);const o=ue(i),a=ue(i);Ye(()=>{let s=r.value!==void 0?r.value:o.value;t.postState&&(s=t.postState(s)),a.value=s});function l(s){const u=a.value;o.value=s,mt(a.value)!==s&&t.onChange&&t.onChange(s,u)}return Se(r,()=>{o.value=r.value}),[a,l]}function Xt(e){const t=typeof e=="function"?e():e,n=ue(t);function r(i){n.value=i}return[n,r]}const Hbe=["inputValue"];function wX(){return _(_({},yw()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:U.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:U.any,defaultValue:U.any,onChange:Function,children:Array})}function Vbe(e){return!e||typeof e!="object"}const Wbe=se({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:ft(wX(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=ZO(qe(e,"id")),a=L(()=>pX(e.mode)),l=L(()=>!!(!e.options&&e.children)),s=L(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=L(()=>LU(e.fieldNames,l.value)),[c,d]=dn("",{value:L(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:J=>J||""}),f=Nbe(qe(e,"options"),qe(e,"children"),u),{valueOptions:h,labelOptions:v,options:p}=f,g=J=>xX(J).map(Y=>{var oe,W;let Z,ne,re,le;Vbe(Y)?Z=Y:(re=Y.key,ne=Y.label,Z=(oe=Y.value)!==null&&oe!==void 0?oe:re);const ie=h.value.get(Z);return ie&&(ne===void 0&&(ne=ie==null?void 0:ie[e.optionLabelProp||u.value.label]),re===void 0&&(re=(W=ie==null?void 0:ie.key)!==null&&W!==void 0?W:Z),le=ie==null?void 0:ie.disabled),{label:ne,value:Z,key:re,disabled:le,option:ie}}),[m,y]=dn(e.defaultValue,{value:qe(e,"value")}),b=L(()=>{var J;const G=g(m.value);return e.mode==="combobox"&&!(!((J=G[0])===null||J===void 0)&&J.value)?[]:G}),[S,x]=zbe(b,h),$=L(()=>{if(!e.mode&&S.value.length===1){const J=S.value[0];if(J.value===null&&(J.label===null||J.label===void 0))return[]}return S.value.map(J=>{var G;return _(_({},J),{label:(G=typeof J.label=="function"?J.label():J.label)!==null&&G!==void 0?G:J.value})})}),C=L(()=>new Set(S.value.map(J=>J.value)));Ye(()=>{var J;if(e.mode==="combobox"){const G=(J=S.value[0])===null||J===void 0?void 0:J.value;G!=null&&d(String(G))}},{flush:"post"});const T=(J,G)=>{const Y=G!=null?G:J;return{[u.value.value]:J,[u.value.label]:Y}},I=ae();Ye(()=>{if(e.mode!=="tags"){I.value=p.value;return}const J=p.value.slice(),G=Y=>h.value.has(Y);[...S.value].sort((Y,oe)=>Y.value{const oe=Y.value;G(oe)||J.push(T(oe,Y.label))}),I.value=J});const P=Fbe(I,u,c,s,qe(e,"optionFilterProp")),M=L(()=>e.mode!=="tags"||!c.value||P.value.some(J=>J[e.optionFilterProp||"value"]===c.value)?P.value:[T(c.value),...P.value]),O=L(()=>e.filterSort?[...M.value].sort((J,G)=>e.filterSort(J,G)):M.value),D=L(()=>Npe(O.value,{fieldNames:u.value,childrenAsData:l.value})),R=J=>{const G=g(J);if(y(G),e.onChange&&(G.length!==S.value.length||G.some((Y,oe)=>{var W;return((W=S.value[oe])===null||W===void 0?void 0:W.value)!==(Y==null?void 0:Y.value)}))){const Y=e.labelInValue?G.map(W=>_(_({},W),{originLabel:W.label,label:typeof W.label=="function"?W.label():W.label})):G.map(W=>W.value),oe=G.map(W=>HI(x(W.value)));e.onChange(a.value?Y:Y[0],a.value?oe:oe[0])}},[A,E]=Xt(null),[k,N]=Xt(0),B=L(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),F=function(J,G){let{source:Y="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};N(G),e.backfill&&e.mode==="combobox"&&J!==null&&Y==="keyboard"&&E(String(J))},H=(J,G)=>{const Y=()=>{var oe;const W=x(J),Z=W==null?void 0:W[u.value.label];return[e.labelInValue?{label:typeof Z=="function"?Z():Z,originLabel:Z,value:J,key:(oe=W==null?void 0:W.key)!==null&&oe!==void 0?oe:J}:J,HI(W)]};if(G&&e.onSelect){const[oe,W]=Y();e.onSelect(oe,W)}else if(!G&&e.onDeselect){const[oe,W]=Y();e.onDeselect(oe,W)}},V=(J,G)=>{let Y;const oe=a.value?G.selected:!0;oe?Y=a.value?[...S.value,J]:[J]:Y=S.value.filter(W=>W.value!==J),R(Y),H(J,oe),e.mode==="combobox"?E(""):(!a.value||e.autoClearSearchValue)&&(d(""),E(""))},X=(J,G)=>{R(J),(G.type==="remove"||G.type==="clear")&&G.values.forEach(Y=>{H(Y.value,!1)})},Q=(J,G)=>{var Y;if(d(J),E(null),G.source==="submit"){const oe=(J||"").trim();if(oe){const W=Array.from(new Set([...C.value,oe]));R(W),H(oe,!0),d("")}return}G.source!=="blur"&&(e.mode==="combobox"&&R(J),(Y=e.onSearch)===null||Y===void 0||Y.call(e,J))},K=J=>{let G=J;e.mode!=="tags"&&(G=J.map(oe=>{const W=v.value.get(oe);return W==null?void 0:W.value}).filter(oe=>oe!==void 0));const Y=Array.from(new Set([...C.value,...G]));R(Y),Y.forEach(oe=>{H(oe,!0)})},te=L(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);Mbe(J1(_(_({},f),{flattenOptions:D,onActiveValue:F,defaultActiveFirstOption:B,onSelect:V,menuItemSelectedIcon:qe(e,"menuItemSelectedIcon"),rawValues:C,fieldNames:u,virtual:te,listHeight:qe(e,"listHeight"),listItemHeight:qe(e,"listItemHeight"),childrenAsData:l})));const q=ue();n({focus(){var J;(J=q.value)===null||J===void 0||J.focus()},blur(){var J;(J=q.value)===null||J===void 0||J.blur()},scrollTo(J){var G;(G=q.value)===null||G===void 0||G.scrollTo(J)}});const ee=L(()=>yt(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>w(YO,z(z(z({},ee.value),r),{},{id:o,prefixCls:e.prefixCls,ref:q,omitDomProps:Hbe,mode:e.mode,displayValues:$.value,onDisplayValuesChange:X,searchValue:c.value,onSearch:Q,onSearchSplit:K,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:Ebe,emptyOptions:!D.value.length,activeValue:A.value,activeDescendantId:`${o}_list_${k.value}`}),i)}}),QO=()=>null;QO.isSelectOption=!0;QO.displayName="ASelectOption";const jbe=QO,JO=()=>null;JO.isSelectOptGroup=!0;JO.displayName="ASelectOptGroup";const Gbe=JO;var Kbe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const Ube=Kbe;var Xbe=Symbol("iconContext"),CX=function(){return Je(Xbe,{prefixCls:ue("anticon"),rootClassName:ue(""),csp:ue()})};function eD(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function Ybe(e,t){return e&&e.contains?e.contains(t):!1}var f8="data-vc-order",qbe="vc-icon-key",ZI=new Map;function $X(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):qbe}function tD(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Zbe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function _X(e){return Array.from((ZI.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function TX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!eD())return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(f8,Zbe(r)),n&&n.nonce&&(i.nonce=n.nonce),i.innerHTML=e;var o=tD(t),a=o.firstChild;if(r){if(r==="queue"){var l=_X(o).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(f8))});if(l.length)return o.insertBefore(i,l[l.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function Qbe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=tD(t);return _X(n).find(function(r){return r.getAttribute($X(t))===e})}function Jbe(e,t){var n=ZI.get(e);if(!n||!Ybe(document,n)){var r=TX("",t),i=r.parentNode;ZI.set(e,i),e.removeChild(r)}}function e1e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=tD(n);Jbe(r,n);var i=Qbe(t,n);if(i)return n.csp&&n.csp.nonce&&i.nonce!==n.csp.nonce&&(i.nonce=n.csp.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;var o=TX(e,n);return o.setAttribute($X(n),t),o}function h8(e){for(var t=1;t{var W,Z;let ne=!0,re=G;(W=e.onActiveValueChange)===null||W===void 0||W.call(e,null);const le=oe?null:Bpe(G,e.tokenSeparators);return e.mode!=="combobox"&&le&&(re="",(Z=e.onSearchSplit)===null||Z===void 0||Z.call(e,le),M(!1),ne=!1),e.onSearch&&S.value!==re&&e.onSearch(re,{source:Y?"typing":"effect"}),ne},R=G=>{var Y;!G||!G.trim()||(Y=e.onSearch)===null||Y===void 0||Y.call(e,G,{source:"submit"})};Se(C,()=>{!C.value&&!o.value&&e.mode!=="combobox"&&D("",!1,!1)},{immediate:!0,flush:"post"}),Se(()=>e.disabled,()=>{$.value&&e.disabled&&T(!1),e.disabled&&!v.value&&g(!1)},{immediate:!0});const[A,E]=hX(),k=function(G){var Y;const oe=A(),{which:W}=G;if(W===Pe.ENTER&&(e.mode!=="combobox"&&G.preventDefault(),C.value||M(!0)),E(!!S.value),W===Pe.BACKSPACE&&!oe&&o.value&&!S.value&&e.displayValues.length){const le=[...e.displayValues];let ie=null;for(let de=le.length-1;de>=0;de-=1){const pe=le[de];if(!pe.disabled){le.splice(de,1),ie=pe;break}}ie&&e.onDisplayValuesChange(le,{type:"remove",values:[ie]})}for(var Z=arguments.length,ne=new Array(Z>1?Z-1:0),re=1;re1?Y-1:0),W=1;W{const Y=e.displayValues.filter(oe=>oe!==G);e.onDisplayValuesChange(Y,{type:"remove",values:[G]})},F=ae(!1),H=function(){g(!0),e.disabled||(e.onFocus&&!F.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&M(!0)),F.value=!0},V=ue(!1),X=function(){if(V.value||(v.value=!0,g(!1,()=>{F.value=!1,v.value=!1,M(!1)}),e.disabled))return;const G=S.value;G&&(e.mode==="tags"?e.onSearch(G,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},Q=()=>{V.value=!0},K=()=>{V.value=!1};at("VCSelectContainerEvent",{focus:H,blur:X});const te=[];tt(()=>{te.forEach(G=>clearTimeout(G)),te.splice(0,te.length)}),ht(()=>{te.forEach(G=>clearTimeout(G)),te.splice(0,te.length)});const q=function(G){var Y,oe;const{target:W}=G,Z=(Y=d.value)===null||Y===void 0?void 0:Y.getPopupElement();if(Z&&Z.contains(W)){const ie=setTimeout(()=>{var de;const pe=te.indexOf(ie);pe!==-1&&te.splice(pe,1),m(),!l.value&&!Z.contains(document.activeElement)&&((de=f.value)===null||de===void 0||de.focus())});te.push(ie)}for(var ne=arguments.length,re=new Array(ne>1?ne-1:0),le=1;le{};return tt(()=>{Se(P,()=>{var G;if(P.value){const Y=Math.ceil((G=u.value)===null||G===void 0?void 0:G.offsetWidth);ee.value!==Y&&!Number.isNaN(Y)&&(ee.value=Y)}},{immediate:!0,flush:"post"})}),abe([u,d],P,M),sbe(J1(_(_({},Ga(e)),{open:C,triggerOpen:P,showSearch:a,multiple:o,toggleOpen:M}))),()=>{const G=_(_({},e),n),{prefixCls:Y,id:oe,open:W,defaultOpen:Z,mode:ne,showSearch:re,searchValue:le,onSearch:ie,allowClear:de,clearIcon:pe,showArrow:me,inputIcon:he,disabled:xe,loading:Ce,getInputElement:ve,getPopupContainer:fe,placement:ye,animation:Me,transitionName:De,dropdownStyle:Be,dropdownClassName:we,dropdownMatchSelectWidth:_e,dropdownRender:Ie,dropdownAlign:Le,showAction:Ke,direction:ke,tokenSeparators:We,tagRender:gt,optionLabelRender:Dt,onPopupScroll:At,onDropdownVisibleChange:kt,onFocus:Ut,onBlur:Wn,onKeyup:Zn,onKeydown:or,onMousedown:On,onClear:Rr,omitDomProps:yi,getRawInputElement:ro,displayValues:Fo,onDisplayValuesChange:bi,emptyOptions:Lu,activeDescendantId:Re,activeValue:ct,OptionList:ot}=G,nn=ube(G,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Qn=ne==="combobox"&&ve&&ve()||null,Dn=typeof ro=="function"&&ro(),Si=_({},nn);let xr;Dn&&(xr=Ho=>{M(Ho)}),cbe.forEach(Ho=>{delete Si[Ho]}),yi==null||yi.forEach(Ho=>{delete Si[Ho]});const ma=me!==void 0?me:Ce||!o.value&&ne!=="combobox";let ki;ma&&(ki=w(Z1,{class:ce(`${Y}-arrow`,{[`${Y}-arrow-loading`]:Ce}),customizeIcon:he,customizeIconProps:{loading:Ce,searchValue:S.value,open:C.value,focused:p.value,showSearch:a.value}},null));let io;const wn=()=>{Rr==null||Rr(),bi([],{type:"clear",values:Fo}),D("",!1,!1)};!xe&&de&&(Fo.length||S.value)&&(io=w(Z1,{class:`${Y}-clear`,onMousedown:wn,customizeIcon:pe},{default:()=>[Gr("×")]}));const zo=w(ot,{ref:h},_(_({},s.customSlots),{option:i.option})),oo=ce(Y,n.class,{[`${Y}-focused`]:p.value,[`${Y}-multiple`]:o.value,[`${Y}-single`]:!o.value,[`${Y}-allow-clear`]:de,[`${Y}-show-arrow`]:ma,[`${Y}-disabled`]:xe,[`${Y}-loading`]:Ce,[`${Y}-open`]:C.value,[`${Y}-customize-input`]:Qn,[`${Y}-show-search`]:a.value}),hs=w(A0e,{ref:d,disabled:xe,prefixCls:Y,visible:P.value,popupElement:zo,containerWidth:ee.value,animation:Me,transitionName:De,dropdownStyle:Be,dropdownClassName:we,direction:ke,dropdownMatchSelectWidth:_e,dropdownRender:Ie,dropdownAlign:Le,placement:ye,getPopupContainer:fe,empty:Lu,getTriggerDOMNode:()=>c.current,onPopupVisibleChange:xr,onPopupMouseEnter:J,onPopupFocusin:Q,onPopupFocusout:K},{default:()=>Dn?zn(Dn)&&Nt(Dn,{ref:c},!1,!0):w(obe,z(z({},e),{},{domRef:c,prefixCls:Y,inputElement:Qn,ref:f,id:oe,showSearch:a.value,mode:ne,activeDescendantId:Re,tagRender:gt,optionLabelRender:Dt,values:Fo,open:C.value,onToggleOpen:M,activeValue:ct,searchValue:S.value,onSearch:D,onSearchSubmit:R,onRemove:B,tokenWithEnter:O.value}),null)});let vs;return Dn?vs=hs:vs=w("div",z(z({},Si),{},{class:oo,ref:u,onMousedown:q,onKeydown:k,onKeyup:N}),[p.value&&!C.value&&w("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${Fo.map(Ho=>{let{label:Zd,value:Vo}=Ho;return["number","string"].includes(typeof Zd)?Zd:Vo}).join(", ")}`]),hs,ki,io]),vs}}}),bw=(e,t)=>{let{height:n,offset:r,prefixCls:i,onInnerResize:o}=e,{slots:a}=t;var l;let s={},u={display:"flex",flexDirection:"column"};return r!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=_(_({},u),{transform:`translateY(${r}px)`,position:"absolute",left:0,right:0,top:0})),w("div",{style:s},[w(Ao,{onResize:c=>{let{offsetHeight:d}=c;d&&o&&o()}},{default:()=>[w("div",{style:u,class:ce({[`${i}-holder-inner`]:i})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};bw.displayName="Filter";bw.inheritAttrs=!1;bw.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const hbe=bw,gX=(e,t)=>{let{setRef:n}=e,{slots:r}=t;var i;const o=Jt((i=r.default)===null||i===void 0?void 0:i.call(r));return o&&o.length?cr(o[0],{ref:n}):o};gX.props={setRef:{type:Function,default:()=>{}}};const vbe=gX,pbe=20;function u8(e){return"touches"in e?e.touches[0].pageY:e.pageY}const gbe=se({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:Wg(),thumbRef:Wg(),visibleTimeout:null,state:Bt({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,tr?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,tr?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,tr?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,tr?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,tr?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,tr?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),dt.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;_(this.state,{dragging:!0,pageY:u8(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:r}=this.state,{onScroll:i}=this.$props;if(dt.cancel(this.moveRaf),t){const o=u8(e)-n,a=r+o,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?a/s:0,c=Math.ceil(u*l);this.moveRaf=dt(()=>{i(c)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,pbe),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,r=this.getSpinHeight()+"px",i=this.getTop()+"px",o=this.showScroll(),a=o&&t;return w("div",{ref:this.scrollbarRef,class:ce(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:o}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[w("div",{ref:this.thumbRef,class:ce(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:r,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function mbe(e,t,n,r){const i=new Map,o=new Map,a=ue(Symbol("update"));Se(e,()=>{a.value=Symbol("update")});let l;function s(){dt.cancel(l)}function u(){s(),l=dt(()=>{i.forEach((d,f)=>{if(d&&d.offsetParent){const{offsetHeight:h}=d;o.get(f)!==h&&(a.value=Symbol("update"),o.set(f,d.offsetHeight))}})})}function c(d,f){const h=t(d),v=i.get(h);f?(i.set(h,f.$el||f),u()):i.delete(h),!v!=!f&&(f?n==null||n(d):r==null||r(d))}return Jr(()=>{s()}),[c,u,o,a]}function ybe(e,t,n,r,i,o,a,l){let s;return u=>{if(u==null){l();return}dt.cancel(s);const c=t.value,d=r.itemHeight;if(typeof u=="number")a(u);else if(u&&typeof u=="object"){let f;const{align:h}=u;"index"in u?{index:f}=u:f=c.findIndex(g=>i(g)===u.key);const{offset:v=0}=u,p=(g,m)=>{if(g<0||!e.value)return;const y=e.value.clientHeight;let b=!1,S=m;if(y){const x=m||h;let $=0,C=0,T=0;const I=Math.min(c.length,f);for(let O=0;O<=I;O+=1){const D=i(c[O]);C=$;const R=n.get(D);T=C+(R===void 0?d:R),$=T,O===f&&R===void 0&&(b=!0)}const P=e.value.scrollTop;let M=null;switch(x){case"top":M=C-v;break;case"bottom":M=T-y+v;break;default:{const O=P+y;CO&&(S="bottom")}}M!==null&&M!==P&&a(M)}s=dt(()=>{b&&o(),p(g-1,S)},2)};p(5)}}}const bbe=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),Sbe=bbe,mX=(e,t)=>{let n=!1,r=null;function i(){clearTimeout(r),n=!0,r=setTimeout(()=>{n=!1},50)}return function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=o<0&&e.value||o>0&&t.value;return a&&l?(clearTimeout(r),n=!1):(!l||n)&&i(),!n&&l}};function xbe(e,t,n,r){let i=0,o=null,a=null,l=!1;const s=mX(t,n);function u(d){if(!e.value)return;dt.cancel(o);const{deltaY:f}=d;i+=f,a=f,!s(f)&&(Sbe||d.preventDefault(),o=dt(()=>{r(i*(l?10:1)),i=0}))}function c(d){e.value&&(l=d.detail===a)}return[u,c]}const wbe=14/15;function Cbe(e,t,n){let r=!1,i=0,o=null,a=null;const l=()=>{o&&(o.removeEventListener("touchmove",s),o.removeEventListener("touchend",u))},s=f=>{if(r){const h=Math.ceil(f.touches[0].pageY);let v=i-h;i=h,n(v)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{v*=wbe,(!n(v,!0)||Math.abs(v)<=.1)&&clearInterval(a)},16)}},u=()=>{r=!1,l()},c=f=>{l(),f.touches.length===1&&!r&&(r=!0,i=Math.ceil(f.touches[0].pageY),o=f.target,o.addEventListener("touchmove",s,{passive:!1}),o.addEventListener("touchend",u))},d=()=>{};tt(()=>{document.addEventListener("touchmove",d,{passive:!1}),Se(e,f=>{t.value.removeEventListener("touchstart",c),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",c,{passive:!1})},{immediate:!0})}),ht(()=>{document.removeEventListener("touchmove",d)})}var $be=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const u=t+s,c=i(l,u,{}),d=a(l);return w(vbe,{key:d,setRef:f=>r(l,f)},{default:()=>[c]})})}const Pbe=se({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:U.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const r=L(()=>{const{height:B,itemHeight:F,virtual:H}=e;return!!(H!==!1&&B&&F)}),i=L(()=>{const{height:B,itemHeight:F,data:H}=e;return r.value&&H&&F*H.length>B}),o=Bt({scrollTop:0,scrollMoving:!1}),a=L(()=>e.data||_be),l=ae([]);Se(a,()=>{l.value=mt(a.value).slice()},{immediate:!0});const s=ae(B=>{});Se(()=>e.itemKey,B=>{typeof B=="function"?s.value=B:s.value=F=>F==null?void 0:F[B]},{immediate:!0});const u=ae(),c=ae(),d=ae(),f=B=>s.value(B),h={getKey:f};function v(B){let F;typeof B=="function"?F=B(o.scrollTop):F=B;const H=$(F);u.value&&(u.value.scrollTop=H),o.scrollTop=H}const[p,g,m,y]=mbe(l,f,null,null),b=Bt({scrollHeight:void 0,start:0,end:0,offset:void 0}),S=ae(0);tt(()=>{_t(()=>{var B;S.value=((B=c.value)===null||B===void 0?void 0:B.offsetHeight)||0})}),Qr(()=>{_t(()=>{var B;S.value=((B=c.value)===null||B===void 0?void 0:B.offsetHeight)||0})}),Se([r,l],()=>{r.value||_(b,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),Se([r,l,S,i],()=>{r.value&&!i.value&&_(b,{scrollHeight:S.value,start:0,end:l.value.length-1,offset:void 0}),u.value&&(o.scrollTop=u.value.scrollTop)},{immediate:!0}),Se([i,r,()=>o.scrollTop,l,y,()=>e.height,S],()=>{if(!r.value||!i.value)return;let B=0,F,H,V;const X=l.value.length,Q=l.value,K=o.scrollTop,{itemHeight:te,height:q}=e,ee=K+q;for(let J=0;J=K&&(F=J,H=B),V===void 0&&W>ee&&(V=J),B=W}F===void 0&&(F=0,H=0,V=Math.ceil(q/te)),V===void 0&&(V=X-1),V=Math.min(V+1,X),_(b,{scrollHeight:B,start:F,end:V,offset:H})},{immediate:!0});const x=L(()=>b.scrollHeight-e.height);function $(B){let F=B;return Number.isNaN(x.value)||(F=Math.min(F,x.value)),F=Math.max(F,0),F}const C=L(()=>o.scrollTop<=0),T=L(()=>o.scrollTop>=x.value),I=mX(C,T);function P(B){v(B)}function M(B){var F;const{scrollTop:H}=B.currentTarget;H!==o.scrollTop&&v(H),(F=e.onScroll)===null||F===void 0||F.call(e,B)}const[O,D]=xbe(r,C,T,B=>{v(F=>F+B)});Cbe(r,u,(B,F)=>I(B,F)?!1:(O({preventDefault(){},deltaY:B}),!0));function R(B){r.value&&B.preventDefault()}const A=()=>{u.value&&(u.value.removeEventListener("wheel",O,tr?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",D),u.value.removeEventListener("MozMousePixelScroll",R))};Ye(()=>{_t(()=>{u.value&&(A(),u.value.addEventListener("wheel",O,tr?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",D),u.value.addEventListener("MozMousePixelScroll",R))})}),ht(()=>{A()});const E=ybe(u,l,m,e,f,g,v,()=>{var B;(B=d.value)===null||B===void 0||B.delayHidden()});n({scrollTo:E});const k=L(()=>{let B=null;return e.height&&(B=_({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},Tbe),r.value&&(B.overflowY="hidden",o.scrollMoving&&(B.pointerEvents="none"))),B});return Se([()=>b.start,()=>b.end,l],()=>{if(e.onVisibleChange){const B=l.value.slice(b.start,b.end+1);e.onVisibleChange(B,l.value)}},{flush:"post"}),{state:o,mergedData:l,componentStyle:k,onFallbackScroll:M,onScrollBar:P,componentRef:u,useVirtual:r,calRes:b,collectHeight:g,setInstance:p,sharedConfig:h,scrollBarRef:d,fillerInnerRef:c,delayHideScrollBar:()=>{var B;(B=d.value)===null||B===void 0||B.delayHidden()}}},render(){const e=_(_({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:r,fullHeight:i,data:o,itemKey:a,virtual:l,component:s="div",onScroll:u,children:c=this.$slots.default,style:d,class:f}=e,h=$be(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),v=ce(t,f),{scrollTop:p}=this.state,{scrollHeight:g,offset:m,start:y,end:b}=this.calRes,{componentStyle:S,onFallbackScroll:x,onScrollBar:$,useVirtual:C,collectHeight:T,sharedConfig:I,setInstance:P,mergedData:M,delayHideScrollBar:O}=this;return w("div",z({style:_(_({},d),{position:"relative"}),class:v},h),[w(s,{class:`${t}-holder`,style:S,ref:"componentRef",onScroll:x,onMouseenter:O},{default:()=>[w(hbe,{prefixCls:t,height:g,offset:m,onInnerResize:T,ref:"fillerInnerRef"},{default:()=>Ibe(M,y,b,P,c,I)})]}),C&&w(gbe,{ref:"scrollBarRef",prefixCls:t,scrollTop:p,height:n,scrollHeight:g,count:M.length,onScroll:$,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}}),yX=Pbe;function qO(e,t,n){const r=ue(e());return Se(t,(i,o)=>{n?n(i,o)&&(r.value=e()):r.value=e()}),r}function Mbe(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const bX=Symbol("SelectContextKey");function Abe(e){return at(bX,e)}function Obe(){return Je(bX,{})}var Dbe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i`${i.prefixCls}-item`),l=qO(()=>o.flattenOptions,[()=>i.open,()=>o.flattenOptions],x=>x[0]),s=Wg(),u=x=>{x.preventDefault()},c=x=>{s.current&&s.current.scrollTo(typeof x=="number"?{index:x}:x)},d=function(x){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const C=l.value.length;for(let T=0;T1&&arguments[1]!==void 0?arguments[1]:!1;f.activeIndex=x;const C={source:$?"keyboard":"mouse"},T=l.value[x];if(!T){o.onActiveValue(null,-1,C);return}o.onActiveValue(T.value,x,C)};Se([()=>l.value.length,()=>i.searchValue],()=>{h(o.defaultActiveFirstOption!==!1?d(0):-1)},{immediate:!0});const v=x=>o.rawValues.has(x)&&i.mode!=="combobox";Se([()=>i.open,()=>i.searchValue],()=>{if(!i.multiple&&i.open&&o.rawValues.size===1){const x=Array.from(o.rawValues)[0],$=mt(l.value).findIndex(C=>{let{data:T}=C;return T[o.fieldNames.value]===x});$!==-1&&(h($),_t(()=>{c($)}))}i.open&&_t(()=>{var x;(x=s.current)===null||x===void 0||x.scrollTo(void 0)})},{immediate:!0,flush:"post"});const p=x=>{x!==void 0&&o.onSelect(x,{selected:!o.rawValues.has(x)}),i.multiple||i.toggleOpen(!1)},g=x=>typeof x.label=="function"?x.label():x.label;function m(x){const $=l.value[x];if(!$)return null;const C=$.data||{},{value:T}=C,{group:I}=$,P=Mu(C,!0),M=g($);return $?w("div",z(z({"aria-label":typeof M=="string"&&!I?M:null},P),{},{key:x,role:I?"presentation":"option",id:`${i.id}_list_${x}`,"aria-selected":v(T)}),[T]):null}return n({onKeydown:x=>{const{which:$,ctrlKey:C}=x;switch($){case Pe.N:case Pe.P:case Pe.UP:case Pe.DOWN:{let T=0;if($===Pe.UP?T=-1:$===Pe.DOWN?T=1:Mbe()&&C&&($===Pe.N?T=1:$===Pe.P&&(T=-1)),T!==0){const I=d(f.activeIndex+T,T);c(I),h(I,!0)}break}case Pe.ENTER:{const T=l.value[f.activeIndex];T&&!T.data.disabled?p(T.value):p(void 0),i.open&&x.preventDefault();break}case Pe.ESC:i.toggleOpen(!1),i.open&&x.stopPropagation()}},onKeyup:()=>{},scrollTo:x=>{c(x)}}),()=>{const{id:x,notFoundContent:$,onPopupScroll:C}=i,{menuItemSelectedIcon:T,fieldNames:I,virtual:P,listHeight:M,listItemHeight:O}=o,D=r.option,{activeIndex:R}=f,A=Object.keys(I).map(E=>I[E]);return l.value.length===0?w("div",{role:"listbox",id:`${x}_list`,class:`${a.value}-empty`,onMousedown:u},[$]):w(Qe,null,[w("div",{role:"listbox",id:`${x}_list`,style:{height:0,width:0,overflow:"hidden"}},[m(R-1),m(R),m(R+1)]),w(yX,{itemKey:"key",ref:s,data:l.value,height:M,itemHeight:O,fullHeight:!1,onMousedown:u,onScroll:C,virtual:P},{default:(E,k)=>{var N;const{group:B,groupOption:F,data:H,value:V}=E,{key:X}=H,Q=typeof E.label=="function"?E.label():E.label;if(B){const pe=(N=H.title)!==null&&N!==void 0?N:c8(Q)&&Q;return w("div",{class:ce(a.value,`${a.value}-group`),title:pe},[D?D(H):Q!==void 0?Q:X])}const{disabled:K,title:te,children:q,style:ee,class:J,className:G}=H,Y=Dbe(H,["disabled","title","children","style","class","className"]),oe=yt(Y,A),W=v(V),Z=`${a.value}-option`,ne=ce(a.value,Z,J,G,{[`${Z}-grouped`]:F,[`${Z}-active`]:R===k&&!K,[`${Z}-disabled`]:K,[`${Z}-selected`]:W}),re=g(E),le=!T||typeof T=="function"||W,ie=typeof re=="number"?re:re||V;let de=c8(ie)?ie.toString():void 0;return te!==void 0&&(de=te),w("div",z(z({},oe),{},{"aria-selected":W,class:ne,title:de,onMousemove:pe=>{Y.onMousemove&&Y.onMousemove(pe),!(R===k||K)&&h(k)},onClick:pe=>{K||p(V),Y.onClick&&Y.onClick(pe)},style:ee}),[w("div",{class:`${Z}-content`},[D?D(H):ie]),zn(T)||W,le&&w(Z1,{class:`${a.value}-option-state`,customizeIcon:T,customizeIconProps:{isSelected:W}},{default:()=>[W?"✓":null]})])}})])}}}),Rbe=Ebe;var Lbe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i1&&arguments[1]!==void 0?arguments[1]:!1;return Jt(e).map((r,i)=>{var o;if(!zn(r)||!r.type)return null;const{type:{isSelectOptGroup:a},key:l,children:s,props:u}=r;if(t||!a)return Nbe(r);const c=s&&s.default?s.default():void 0,d=(u==null?void 0:u.label)||((o=s.label)===null||o===void 0?void 0:o.call(s))||l;return _(_({key:`__RC_SELECT_GRP__${l===null?i:String(l)}__`},u),{label:d,options:SX(c||[])})}).filter(r=>r)}function kbe(e,t,n){const r=ae(),i=ae(),o=ae(),a=ae([]);return Se([e,t],()=>{e.value?a.value=mt(e.value).slice():a.value=SX(t.value)},{immediate:!0,deep:!0}),Ye(()=>{const l=a.value,s=new Map,u=new Map,c=n.value;function d(f){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let v=0;v0&&arguments[0]!==void 0?arguments[0]:ue("");const t=`rc_select_${Fbe()}`;return e.value||t}function xX(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function B$(e,t){return xX(e).join("").toUpperCase().includes(t)}const zbe=(e,t,n,r,i)=>L(()=>{const o=n.value,a=i==null?void 0:i.value,l=r==null?void 0:r.value;if(!o||l===!1)return e.value;const{options:s,label:u,value:c}=t.value,d=[],f=typeof l=="function",h=o.toUpperCase(),v=f?l:(g,m)=>a?B$(m[a],h):m[s]?B$(m[u!=="children"?u:"label"],h):B$(m[c],h),p=f?g=>HI(g):g=>g;return e.value.forEach(g=>{if(g[s]){if(v(o,p(g)))d.push(g);else{const y=g[s].filter(b=>v(o,p(b)));y.length&&d.push(_(_({},g),{[s]:y}))}return}v(o,p(g))&&d.push(g)}),d}),Hbe=(e,t)=>{const n=ae({values:new Map,options:new Map});return[L(()=>{const{values:o,options:a}=n.value,l=e.value.map(c=>{var d;return c.label===void 0?_(_({},c),{label:(d=o.get(c.value))===null||d===void 0?void 0:d.label}):c}),s=new Map,u=new Map;return l.forEach(c=>{s.set(c.value,c),u.set(c.value,t.value.get(c.value)||a.get(c.value))}),n.value.values=s,n.value.options=u,l}),o=>t.value.get(o)||n.value.options.get(o)]};function dn(e,t){const{defaultValue:n,value:r=ue()}=t||{};let i=typeof e=="function"?e():e;r.value!==void 0&&(i=yn(r)),n!==void 0&&(i=typeof n=="function"?n():n);const o=ue(i),a=ue(i);Ye(()=>{let s=r.value!==void 0?r.value:o.value;t.postState&&(s=t.postState(s)),a.value=s});function l(s){const u=a.value;o.value=s,mt(a.value)!==s&&t.onChange&&t.onChange(s,u)}return Se(r,()=>{o.value=r.value}),[a,l]}function Xt(e){const t=typeof e=="function"?e():e,n=ue(t);function r(i){n.value=i}return[n,r]}const Vbe=["inputValue"];function wX(){return _(_({},yw()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:U.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:U.any,defaultValue:U.any,onChange:Function,children:Array})}function Wbe(e){return!e||typeof e!="object"}const jbe=se({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:ft(wX(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:r,slots:i}=t;const o=ZO(qe(e,"id")),a=L(()=>pX(e.mode)),l=L(()=>!!(!e.options&&e.children)),s=L(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=L(()=>LU(e.fieldNames,l.value)),[c,d]=dn("",{value:L(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:J=>J||""}),f=kbe(qe(e,"options"),qe(e,"children"),u),{valueOptions:h,labelOptions:v,options:p}=f,g=J=>xX(J).map(Y=>{var oe,W;let Z,ne,re,le;Wbe(Y)?Z=Y:(re=Y.key,ne=Y.label,Z=(oe=Y.value)!==null&&oe!==void 0?oe:re);const ie=h.value.get(Z);return ie&&(ne===void 0&&(ne=ie==null?void 0:ie[e.optionLabelProp||u.value.label]),re===void 0&&(re=(W=ie==null?void 0:ie.key)!==null&&W!==void 0?W:Z),le=ie==null?void 0:ie.disabled),{label:ne,value:Z,key:re,disabled:le,option:ie}}),[m,y]=dn(e.defaultValue,{value:qe(e,"value")}),b=L(()=>{var J;const G=g(m.value);return e.mode==="combobox"&&!(!((J=G[0])===null||J===void 0)&&J.value)?[]:G}),[S,x]=Hbe(b,h),$=L(()=>{if(!e.mode&&S.value.length===1){const J=S.value[0];if(J.value===null&&(J.label===null||J.label===void 0))return[]}return S.value.map(J=>{var G;return _(_({},J),{label:(G=typeof J.label=="function"?J.label():J.label)!==null&&G!==void 0?G:J.value})})}),C=L(()=>new Set(S.value.map(J=>J.value)));Ye(()=>{var J;if(e.mode==="combobox"){const G=(J=S.value[0])===null||J===void 0?void 0:J.value;G!=null&&d(String(G))}},{flush:"post"});const T=(J,G)=>{const Y=G!=null?G:J;return{[u.value.value]:J,[u.value.label]:Y}},I=ae();Ye(()=>{if(e.mode!=="tags"){I.value=p.value;return}const J=p.value.slice(),G=Y=>h.value.has(Y);[...S.value].sort((Y,oe)=>Y.value{const oe=Y.value;G(oe)||J.push(T(oe,Y.label))}),I.value=J});const P=zbe(I,u,c,s,qe(e,"optionFilterProp")),M=L(()=>e.mode!=="tags"||!c.value||P.value.some(J=>J[e.optionFilterProp||"value"]===c.value)?P.value:[T(c.value),...P.value]),O=L(()=>e.filterSort?[...M.value].sort((J,G)=>e.filterSort(J,G)):M.value),D=L(()=>kpe(O.value,{fieldNames:u.value,childrenAsData:l.value})),R=J=>{const G=g(J);if(y(G),e.onChange&&(G.length!==S.value.length||G.some((Y,oe)=>{var W;return((W=S.value[oe])===null||W===void 0?void 0:W.value)!==(Y==null?void 0:Y.value)}))){const Y=e.labelInValue?G.map(W=>_(_({},W),{originLabel:W.label,label:typeof W.label=="function"?W.label():W.label})):G.map(W=>W.value),oe=G.map(W=>HI(x(W.value)));e.onChange(a.value?Y:Y[0],a.value?oe:oe[0])}},[A,E]=Xt(null),[k,N]=Xt(0),B=L(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),F=function(J,G){let{source:Y="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};N(G),e.backfill&&e.mode==="combobox"&&J!==null&&Y==="keyboard"&&E(String(J))},H=(J,G)=>{const Y=()=>{var oe;const W=x(J),Z=W==null?void 0:W[u.value.label];return[e.labelInValue?{label:typeof Z=="function"?Z():Z,originLabel:Z,value:J,key:(oe=W==null?void 0:W.key)!==null&&oe!==void 0?oe:J}:J,HI(W)]};if(G&&e.onSelect){const[oe,W]=Y();e.onSelect(oe,W)}else if(!G&&e.onDeselect){const[oe,W]=Y();e.onDeselect(oe,W)}},V=(J,G)=>{let Y;const oe=a.value?G.selected:!0;oe?Y=a.value?[...S.value,J]:[J]:Y=S.value.filter(W=>W.value!==J),R(Y),H(J,oe),e.mode==="combobox"?E(""):(!a.value||e.autoClearSearchValue)&&(d(""),E(""))},X=(J,G)=>{R(J),(G.type==="remove"||G.type==="clear")&&G.values.forEach(Y=>{H(Y.value,!1)})},Q=(J,G)=>{var Y;if(d(J),E(null),G.source==="submit"){const oe=(J||"").trim();if(oe){const W=Array.from(new Set([...C.value,oe]));R(W),H(oe,!0),d("")}return}G.source!=="blur"&&(e.mode==="combobox"&&R(J),(Y=e.onSearch)===null||Y===void 0||Y.call(e,J))},K=J=>{let G=J;e.mode!=="tags"&&(G=J.map(oe=>{const W=v.value.get(oe);return W==null?void 0:W.value}).filter(oe=>oe!==void 0));const Y=Array.from(new Set([...C.value,...G]));R(Y),Y.forEach(oe=>{H(oe,!0)})},te=L(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);Abe(J1(_(_({},f),{flattenOptions:D,onActiveValue:F,defaultActiveFirstOption:B,onSelect:V,menuItemSelectedIcon:qe(e,"menuItemSelectedIcon"),rawValues:C,fieldNames:u,virtual:te,listHeight:qe(e,"listHeight"),listItemHeight:qe(e,"listItemHeight"),childrenAsData:l})));const q=ue();n({focus(){var J;(J=q.value)===null||J===void 0||J.focus()},blur(){var J;(J=q.value)===null||J===void 0||J.blur()},scrollTo(J){var G;(G=q.value)===null||G===void 0||G.scrollTo(J)}});const ee=L(()=>yt(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>w(YO,z(z(z({},ee.value),r),{},{id:o,prefixCls:e.prefixCls,ref:q,omitDomProps:Vbe,mode:e.mode,displayValues:$.value,onDisplayValuesChange:X,searchValue:c.value,onSearch:Q,onSearchSplit:K,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:Rbe,emptyOptions:!D.value.length,activeValue:A.value,activeDescendantId:`${o}_list_${k.value}`}),i)}}),QO=()=>null;QO.isSelectOption=!0;QO.displayName="ASelectOption";const Gbe=QO,JO=()=>null;JO.isSelectOptGroup=!0;JO.displayName="ASelectOptGroup";const Kbe=JO;var Ube={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const Xbe=Ube;var Ybe=Symbol("iconContext"),CX=function(){return Je(Ybe,{prefixCls:ue("anticon"),rootClassName:ue(""),csp:ue()})};function eD(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function qbe(e,t){return e&&e.contains?e.contains(t):!1}var f8="data-vc-order",Zbe="vc-icon-key",ZI=new Map;function $X(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Zbe}function tD(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Qbe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function _X(e){return Array.from((ZI.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function TX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!eD())return null;var n=t.csp,r=t.prepend,i=document.createElement("style");i.setAttribute(f8,Qbe(r)),n&&n.nonce&&(i.nonce=n.nonce),i.innerHTML=e;var o=tD(t),a=o.firstChild;if(r){if(r==="queue"){var l=_X(o).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(f8))});if(l.length)return o.insertBefore(i,l[l.length-1].nextSibling),i}o.insertBefore(i,a)}else o.appendChild(i);return i}function Jbe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=tD(t);return _X(n).find(function(r){return r.getAttribute($X(t))===e})}function e1e(e,t){var n=ZI.get(e);if(!n||!qbe(document,n)){var r=TX("",t),i=r.parentNode;ZI.set(e,i),e.removeChild(r)}}function t1e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=tD(n);e1e(r,n);var i=Jbe(t,n);if(i)return n.csp&&n.csp.nonce&&i.nonce!==n.csp.nonce&&(i.nonce=n.csp.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;var o=TX(e,n);return o.setAttribute($X(n),t),o}function h8(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function s1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Ib(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function T1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}AX($ve.primary);var nv=function(t,n){var r,i=m8({},t,n.attrs),o=i.class,a=i.icon,l=i.spin,s=i.rotate,u=i.tabindex,c=i.twoToneColor,d=i.onClick,f=_1e(i,b1e),h=CX(),v=h.prefixCls,p=h.rootClassName,g=(r={},mp(r,p.value,!!p.value),mp(r,v.value,!0),mp(r,"".concat(v.value,"-").concat(a.name),!!a.name),mp(r,"".concat(v.value,"-spin"),!!l||a.name==="loading"),r),m=u;m===void 0&&d&&(m=-1);var y=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,b=PX(c),S=S1e(b,2),x=S[0],$=S[1];return w("span",m8({role:"img","aria-label":a.name},f,{onClick:d,class:[g,o],tabindex:m}),[w(nD,{icon:a,primaryColor:x,secondaryColor:$,style:y},null),w(y1e,null,null)])};nv.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};nv.displayName="AntdIcon";nv.inheritAttrs=!1;nv.getTwoToneColor=m1e;nv.setTwoToneColor=AX;const bt=nv;function y8(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:r,prefixCls:i,hasFeedback:o,feedbackIcon:a,showArrow:l}=e,s=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),u=e.clearIcon||t.clearIcon&&t.clearIcon(),c=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),d=e.removeIcon||t.removeIcon&&t.removeIcon(),f=u!=null?u:w(Ri,null,null),h=m=>w(Qe,null,[l!==!1&&m,o&&a]);let v=null;if(s!==void 0)v=h(s);else if(n)v=h(w(to,{spin:!0},null));else{const m=`${i}-suffix`;v=y=>{let{open:b,showSearch:S}=y;return h(b&&S?w(xw,{class:m},null):w(Hm,{class:m},null))}}let p=null;c!==void 0?p=c:r?p=w(Sw,null,null):p=null;let g=null;return d!==void 0?g=d:g=w(Ei,null,null),{clearIcon:f,suffixIcon:v,itemIcon:p,removeIcon:g}}function cD(e){const t=Symbol("contextKey");return{useProvide:(i,o)=>{const a=Bt({});return at(t,a),Ye(()=>{_(a,i,o||{})}),a},useInject:()=>Je(t,e)||{}}}const eS=Symbol("ContextProps"),tS=Symbol("InternalContextProps"),W1e=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L(()=>!0);const n=ue(new Map),r=(o,a)=>{n.value.set(o,a),n.value=new Map(n.value)},i=o=>{n.value.delete(o),n.value=new Map(n.value)};gr(),Se([t,n],()=>{}),at(eS,e),at(tS,{addFormItemField:r,removeFormItemField:i})},JI={id:L(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},eP={addFormItemField:()=>{},removeFormItemField:()=>{}},Xn=()=>{const e=Je(tS,eP),t=Symbol("FormItemFieldKey"),n=gr();return e.addFormItemField(t,n.type),ht(()=>{e.removeFormItemField(t)}),at(tS,eP),at(eS,JI),Je(eS,JI)},nS=se({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return at(tS,eP),at(eS,JI),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),fr=cD({}),rS=se({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return fr.useProvide({}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function Kr(e,t,n){return ce({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const ha=(e,t)=>t||e,j1e=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},G1e=j1e,K1e=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},OX=it("Space",e=>[K1e(e),G1e(e)]);var U1e="[object Symbol]";function ww(e){return typeof e=="symbol"||sa(e)&&Pu(e)==U1e}function Cw(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n0){if(++t>=dSe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function pSe(e){return function(){return e}}var gSe=function(){try{var e=Ed(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const iS=gSe;var mSe=iS?function(e,t){return iS(e,"toString",{configurable:!0,enumerable:!1,value:pSe(t),writable:!0})}:dD;const ySe=mSe;var bSe=vSe(ySe);const EX=bSe;function SSe(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}function fD(e,t,n){t=="__proto__"&&iS?iS(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var $Se=Object.prototype,_Se=$Se.hasOwnProperty;function hD(e,t,n){var r=e[t];(!(_Se.call(e,t)&&kO(r,n))||n===void 0&&!(t in e))&&fD(e,t,n)}function Vm(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o0&&n(l)?t>1?kX(l,t-1,n,r,i):FO(i,l):r||(i[i.length]=l)}return i}function jSe(e){var t=e==null?0:e.length;return t?kX(e,1):[]}function BX(e){return EX(NX(e,void 0,jSe),e+"")}var GSe=iX(Object.getPrototypeOf,Object);const mD=GSe;var KSe="[object Object]",USe=Function.prototype,XSe=Object.prototype,FX=USe.toString,YSe=XSe.hasOwnProperty,qSe=FX.call(Object);function yD(e){if(!sa(e)||Pu(e)!=KSe)return!1;var t=mD(e);if(t===null)return!0;var n=YSe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&FX.call(n)==qSe}function ZSe(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=t||C<0||d&&T>=o}function m(){var $=F$();if(g($))return y($);l=setTimeout(m,p($))}function y($){return l=void 0,f&&r?h($):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function S(){return l===void 0?a:y(F$())}function x(){var $=F$(),C=g($);if(r=arguments,i=this,s=$,C){if(l===void 0)return v(s);if(d)return clearTimeout(l),l=setTimeout(m,t),h(s)}return l===void 0&&(l=setTimeout(m,t)),a}return x.cancel=b,x.flush=S,x}function jwe(e){return sa(e)&&Qh(e)}function YX(e,t,n){for(var r=-1,i=e==null?0:e.length;++r-1?i[o?t[a]:a]:void 0}}var Uwe=Math.max;function Xwe(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:oSe(n);return i<0&&(i=Uwe(r+i,0)),RX(e,SD(t),i)}var Ywe=Kwe(Xwe);const qwe=Ywe;function Zwe(e){for(var t=-1,n=e==null?0:e.length,r={};++t=120&&c.length>=120)?new Rh(a&&c):void 0}c=e[0];var d=-1,f=l[0];e:for(;++d1),o}),Vm(e,VX(e),n),r&&(n=qp(n,vCe|pCe|gCe,hCe));for(var i=t.length;i--;)fCe(n,t[i]);return n});const yCe=mCe;function bCe(e,t,n,r){if(!la(e))return e;t=rv(t,e);for(var i=-1,o=t.length,a=o-1,l=e;l!=null&&++i=PCe){var u=t?null:ICe(e);if(u)return BO(u);a=!1,i=X1,s=new Rh}else s=t?[]:l;e:for(;++r({compactSize:String,compactDirection:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),isFirstItem:$e(),isLastItem:$e()}),_w=cD(null),Au=(e,t)=>{const n=_w.useInject(),r=L(()=>{if(!n||qX(n))return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,l=i==="vertical"?"-vertical-":"-";return ce({[`${e.value}-compact${l}item`]:!0,[`${e.value}-compact${l}first-item`]:o,[`${e.value}-compact${l}last-item`]:a,[`${e.value}-compact${l}item-rtl`]:t.value==="rtl"})});return{compactSize:L(()=>n==null?void 0:n.compactSize),compactDirection:L(()=>n==null?void 0:n.compactDirection),compactItemClassnames:r}},Wg=se({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return _w.useProvide(null),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),OCe=()=>({prefixCls:String,size:{type:String},direction:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),align:U.oneOf(Ar("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),DCe=se({name:"CompactItem",props:ACe(),setup(e,t){let{slots:n}=t;return _w.useProvide(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),ECe=se({name:"ASpaceCompact",inheritAttrs:!1,props:OCe(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,direction:o}=Ee("space-compact",e),a=_w.useInject(),[l,s]=OX(i),u=L(()=>ce(i.value,s.value,{[`${i.value}-rtl`]:o.value==="rtl",[`${i.value}-block`]:e.block,[`${i.value}-vertical`]:e.direction==="vertical"}));return()=>{var c;const d=Jt(((c=r.default)===null||c===void 0?void 0:c.call(r))||[]);return d.length===0?null:l(w("div",z(z({},n),{},{class:[u.value,n.class]}),[d.map((f,h)=>{var v;const p=f&&f.key||`${i.value}-item-${h}`,g=!a||qX(a);return w(DCe,{key:p,compactSize:(v=e.size)!==null&&v!==void 0?v:"middle",compactDirection:e.direction,isFirstItem:h===0&&(g||(a==null?void 0:a.isFirstItem)),isLastItem:h===d.length-1&&(g||(a==null?void 0:a.isLastItem))},{default:()=>[f]})})]))}}}),oS=ECe,RCe=e=>({animationDuration:e,animationFillMode:"both"}),LCe=e=>({animationDuration:e,animationFillMode:"both"}),Wm=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` +`;function MX(e){return e&&e.getRootNode&&e.getRootNode()}function i1e(e){return eD()?MX(e)instanceof ShadowRoot:!1}function o1e(e){return i1e(e)?MX(e):null}var a1e=function(){var t=CX(),n=t.prefixCls,r=t.csp,i=gr(),o=r1e;n&&(o=o.replace(/anticon/g,n.value)),_t(function(){if(eD()){var a=i.vnode.el,l=o1e(a);t1e(o,"@ant-design-vue-icons",{prepend:!0,csp:r.value,attachTo:l})}})},l1e=["icon","primaryColor","secondaryColor"];function s1e(e,t){if(e==null)return{};var n=u1e(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function u1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Ib(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function I1e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}AX(_ve.primary);var rv=function(t,n){var r,i=m8({},t,n.attrs),o=i.class,a=i.icon,l=i.spin,s=i.rotate,u=i.tabindex,c=i.twoToneColor,d=i.onClick,f=T1e(i,S1e),h=CX(),v=h.prefixCls,p=h.rootClassName,g=(r={},yp(r,p.value,!!p.value),yp(r,v.value,!0),yp(r,"".concat(v.value,"-").concat(a.name),!!a.name),yp(r,"".concat(v.value,"-spin"),!!l||a.name==="loading"),r),m=u;m===void 0&&d&&(m=-1);var y=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,b=PX(c),S=x1e(b,2),x=S[0],$=S[1];return w("span",m8({role:"img","aria-label":a.name},f,{onClick:d,class:[g,o],tabindex:m}),[w(nD,{icon:a,primaryColor:x,secondaryColor:$,style:y},null),w(b1e,null,null)])};rv.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};rv.displayName="AntdIcon";rv.inheritAttrs=!1;rv.getTwoToneColor=y1e;rv.setTwoToneColor=AX;const bt=rv;function y8(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:r,prefixCls:i,hasFeedback:o,feedbackIcon:a,showArrow:l}=e,s=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),u=e.clearIcon||t.clearIcon&&t.clearIcon(),c=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),d=e.removeIcon||t.removeIcon&&t.removeIcon(),f=u!=null?u:w(Li,null,null),h=m=>w(Qe,null,[l!==!1&&m,o&&a]);let v=null;if(s!==void 0)v=h(s);else if(n)v=h(w(no,{spin:!0},null));else{const m=`${i}-suffix`;v=y=>{let{open:b,showSearch:S}=y;return h(b&&S?w(xw,{class:m},null):w(Hm,{class:m},null))}}let p=null;c!==void 0?p=c:r?p=w(Sw,null,null):p=null;let g=null;return d!==void 0?g=d:g=w(Ri,null,null),{clearIcon:f,suffixIcon:v,itemIcon:p,removeIcon:g}}function cD(e){const t=Symbol("contextKey");return{useProvide:(i,o)=>{const a=Bt({});return at(t,a),Ye(()=>{_(a,i,o||{})}),a},useInject:()=>Je(t,e)||{}}}const eS=Symbol("ContextProps"),tS=Symbol("InternalContextProps"),j1e=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L(()=>!0);const n=ue(new Map),r=(o,a)=>{n.value.set(o,a),n.value=new Map(n.value)},i=o=>{n.value.delete(o),n.value=new Map(n.value)};gr(),Se([t,n],()=>{}),at(eS,e),at(tS,{addFormItemField:r,removeFormItemField:i})},JI={id:L(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},eP={addFormItemField:()=>{},removeFormItemField:()=>{}},Xn=()=>{const e=Je(tS,eP),t=Symbol("FormItemFieldKey"),n=gr();return e.addFormItemField(t,n.type),ht(()=>{e.removeFormItemField(t)}),at(tS,eP),at(eS,JI),Je(eS,JI)},nS=se({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return at(tS,eP),at(eS,JI),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),fr=cD({}),rS=se({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return fr.useProvide({}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function Kr(e,t,n){return ce({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const va=(e,t)=>t||e,G1e=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},K1e=G1e,U1e=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},OX=it("Space",e=>[U1e(e),K1e(e)]);var X1e="[object Symbol]";function ww(e){return typeof e=="symbol"||ua(e)&&Pu(e)==X1e}function Cw(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n0){if(++t>=fSe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function gSe(e){return function(){return e}}var mSe=function(){try{var e=Rd(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const iS=mSe;var ySe=iS?function(e,t){return iS(e,"toString",{configurable:!0,enumerable:!1,value:gSe(t),writable:!0})}:dD;const bSe=ySe;var SSe=pSe(bSe);const EX=SSe;function xSe(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}function fD(e,t,n){t=="__proto__"&&iS?iS(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var _Se=Object.prototype,TSe=_Se.hasOwnProperty;function hD(e,t,n){var r=e[t];(!(TSe.call(e,t)&&kO(r,n))||n===void 0&&!(t in e))&&fD(e,t,n)}function Vm(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o0&&n(l)?t>1?kX(l,t-1,n,r,i):FO(i,l):r||(i[i.length]=l)}return i}function GSe(e){var t=e==null?0:e.length;return t?kX(e,1):[]}function BX(e){return EX(NX(e,void 0,GSe),e+"")}var KSe=iX(Object.getPrototypeOf,Object);const mD=KSe;var USe="[object Object]",XSe=Function.prototype,YSe=Object.prototype,FX=XSe.toString,qSe=YSe.hasOwnProperty,ZSe=FX.call(Object);function yD(e){if(!ua(e)||Pu(e)!=USe)return!1;var t=mD(e);if(t===null)return!0;var n=qSe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&FX.call(n)==ZSe}function QSe(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=t||C<0||d&&T>=o}function m(){var $=F$();if(g($))return y($);l=setTimeout(m,p($))}function y($){return l=void 0,f&&r?h($):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function S(){return l===void 0?a:y(F$())}function x(){var $=F$(),C=g($);if(r=arguments,i=this,s=$,C){if(l===void 0)return v(s);if(d)return clearTimeout(l),l=setTimeout(m,t),h(s)}return l===void 0&&(l=setTimeout(m,t)),a}return x.cancel=b,x.flush=S,x}function Gwe(e){return ua(e)&&Jh(e)}function YX(e,t,n){for(var r=-1,i=e==null?0:e.length;++r-1?i[o?t[a]:a]:void 0}}var Xwe=Math.max;function Ywe(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:aSe(n);return i<0&&(i=Xwe(r+i,0)),RX(e,SD(t),i)}var qwe=Uwe(Ywe);const Zwe=qwe;function Qwe(e){for(var t=-1,n=e==null?0:e.length,r={};++t=120&&c.length>=120)?new Lh(a&&c):void 0}c=e[0];var d=-1,f=l[0];e:for(;++d1),o}),Vm(e,VX(e),n),r&&(n=Zp(n,pCe|gCe|mCe,vCe));for(var i=t.length;i--;)hCe(n,t[i]);return n});const bCe=yCe;function SCe(e,t,n,r){if(!sa(e))return e;t=iv(t,e);for(var i=-1,o=t.length,a=o-1,l=e;l!=null&&++i=MCe){var u=t?null:PCe(e);if(u)return BO(u);a=!1,i=X1,s=new Lh}else s=t?[]:l;e:for(;++r({compactSize:String,compactDirection:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),isFirstItem:$e(),isLastItem:$e()}),_w=cD(null),Au=(e,t)=>{const n=_w.useInject(),r=L(()=>{if(!n||qX(n))return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,l=i==="vertical"?"-vertical-":"-";return ce({[`${e.value}-compact${l}item`]:!0,[`${e.value}-compact${l}first-item`]:o,[`${e.value}-compact${l}last-item`]:a,[`${e.value}-compact${l}item-rtl`]:t.value==="rtl"})});return{compactSize:L(()=>n==null?void 0:n.compactSize),compactDirection:L(()=>n==null?void 0:n.compactDirection),compactItemClassnames:r}},jg=se({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return _w.useProvide(null),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),DCe=()=>({prefixCls:String,size:{type:String},direction:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),align:U.oneOf(Ar("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),ECe=se({name:"CompactItem",props:OCe(),setup(e,t){let{slots:n}=t;return _w.useProvide(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),RCe=se({name:"ASpaceCompact",inheritAttrs:!1,props:DCe(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,direction:o}=Ee("space-compact",e),a=_w.useInject(),[l,s]=OX(i),u=L(()=>ce(i.value,s.value,{[`${i.value}-rtl`]:o.value==="rtl",[`${i.value}-block`]:e.block,[`${i.value}-vertical`]:e.direction==="vertical"}));return()=>{var c;const d=Jt(((c=r.default)===null||c===void 0?void 0:c.call(r))||[]);return d.length===0?null:l(w("div",z(z({},n),{},{class:[u.value,n.class]}),[d.map((f,h)=>{var v;const p=f&&f.key||`${i.value}-item-${h}`,g=!a||qX(a);return w(ECe,{key:p,compactSize:(v=e.size)!==null&&v!==void 0?v:"middle",compactDirection:e.direction,isFirstItem:h===0&&(g||(a==null?void 0:a.isFirstItem)),isLastItem:h===d.length-1&&(g||(a==null?void 0:a.isLastItem))},{default:()=>[f]})})]))}}}),oS=RCe,LCe=e=>({animationDuration:e,animationFillMode:"both"}),NCe=e=>({animationDuration:e,animationFillMode:"both"}),Wm=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${o}${e}-enter, ${o}${e}-appear - `]:_(_({},RCe(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:_(_({},LCe(r)),{animationPlayState:"paused"}),[` + `]:_(_({},LCe(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:_(_({},NCe(r)),{animationPlayState:"paused"}),[` ${o}${e}-enter${e}-enter-active, ${o}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},NCe=new xt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),kCe=new xt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),wD=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[Wm(r,NCe,kCe,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},kCe=new xt("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),BCe=new xt("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),wD=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[Wm(r,kCe,BCe,e.motionDurationMid,t),{[` ${i}${r}-enter, ${i}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},BCe=new xt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),FCe=new xt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),zCe=new xt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),HCe=new xt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),VCe=new xt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),WCe=new xt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),jCe=new xt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),GCe=new xt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),KCe={"move-up":{inKeyframes:jCe,outKeyframes:GCe},"move-down":{inKeyframes:BCe,outKeyframes:FCe},"move-left":{inKeyframes:zCe,outKeyframes:HCe},"move-right":{inKeyframes:VCe,outKeyframes:WCe}},kh=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=KCe[t];return[Wm(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},FCe=new xt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zCe=new xt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),HCe=new xt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),VCe=new xt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),WCe=new xt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),jCe=new xt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),GCe=new xt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),KCe=new xt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),UCe={"move-up":{inKeyframes:GCe,outKeyframes:KCe},"move-down":{inKeyframes:FCe,outKeyframes:zCe},"move-left":{inKeyframes:HCe,outKeyframes:VCe},"move-right":{inKeyframes:WCe,outKeyframes:jCe}},Bh=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=UCe[t];return[Wm(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Tw=new xt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Iw=new xt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Pw=new xt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Mw=new xt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),UCe=new xt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),XCe=new xt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),YCe=new xt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),qCe=new xt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ZCe={"slide-up":{inKeyframes:Tw,outKeyframes:Iw},"slide-down":{inKeyframes:Pw,outKeyframes:Mw},"slide-left":{inKeyframes:UCe,outKeyframes:XCe},"slide-right":{inKeyframes:YCe,outKeyframes:qCe}},Qa=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=ZCe[t];return[Wm(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Tw=new xt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Iw=new xt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Pw=new xt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Mw=new xt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),XCe=new xt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),YCe=new xt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),qCe=new xt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),ZCe=new xt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),QCe={"slide-up":{inKeyframes:Tw,outKeyframes:Iw},"slide-down":{inKeyframes:Pw,outKeyframes:Mw},"slide-left":{inKeyframes:XCe,outKeyframes:YCe},"slide-right":{inKeyframes:qCe,outKeyframes:ZCe}},Ja=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=QCe[t];return[Wm(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},CD=new xt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),QCe=new xt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),B8=new xt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),F8=new xt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),JCe=new xt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),e$e=new xt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),t$e=new xt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),n$e=new xt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),r$e=new xt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),i$e=new xt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),o$e=new xt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),a$e=new xt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),l$e={zoom:{inKeyframes:CD,outKeyframes:QCe},"zoom-big":{inKeyframes:B8,outKeyframes:F8},"zoom-big-fast":{inKeyframes:B8,outKeyframes:F8},"zoom-left":{inKeyframes:t$e,outKeyframes:n$e},"zoom-right":{inKeyframes:r$e,outKeyframes:i$e},"zoom-up":{inKeyframes:JCe,outKeyframes:e$e},"zoom-down":{inKeyframes:o$e,outKeyframes:a$e}},iv=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=l$e[t];return[Wm(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},CD=new xt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),JCe=new xt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),B8=new xt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),F8=new xt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),e$e=new xt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),t$e=new xt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),n$e=new xt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),r$e=new xt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),i$e=new xt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),o$e=new xt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),a$e=new xt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),l$e=new xt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),s$e={zoom:{inKeyframes:CD,outKeyframes:JCe},"zoom-big":{inKeyframes:B8,outKeyframes:F8},"zoom-big-fast":{inKeyframes:B8,outKeyframes:F8},"zoom-left":{inKeyframes:n$e,outKeyframes:r$e},"zoom-right":{inKeyframes:i$e,outKeyframes:o$e},"zoom-up":{inKeyframes:e$e,outKeyframes:t$e},"zoom-down":{inKeyframes:a$e,outKeyframes:l$e}},ov=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=s$e[t];return[Wm(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},s$e=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},u$e=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),jm=s$e,z8=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},u$e=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:_(_({},st(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),jm=u$e,z8=e=>{const{controlPaddingHorizontal:t}=e;return{position:"relative",display:"block",minHeight:e.controlHeight,padding:`${(e.controlHeight-e.fontSize*e.lineHeight)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,boxSizing:"border-box"}},c$e=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`;return[{[`${n}-dropdown`]:_(_({},st(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-bottomLeft, &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-bottomLeft `]:{animationName:Tw},[` &${t}-slide-up-enter${t}-slide-up-enter-active${n}-dropdown-placement-topLeft, &${t}-slide-up-appear${t}-slide-up-appear-active${n}-dropdown-placement-topLeft - `]:{animationName:Pw},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:Iw},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:Mw},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${r}-empty`]:_(_({},z8(e)),{color:e.colorTextDisabled}),[`${r}`]:_(_({},z8(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":_({flex:"auto"},Hn),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},Qa(e,"slide-up"),Qa(e,"slide-down"),kh(e,"move-up"),kh(e,"move-down")]},c$e=u$e,ef=2;function QX(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const i=(n-t)/2-r,o=Math.ceil(i/2);return[i,o]}function H$(e,t){const{componentCls:n,iconCls:r}=e,i=`${n}-selection-overflow`,o=e.controlHeightSM,[a]=QX(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{fontSize:e.fontSize,[i]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-ef}px ${ef*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ef}px 0`,lineHeight:`${o}px`,content:'"\\a0"'}},[` + `]:{animationName:Pw},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-bottomLeft`]:{animationName:Iw},[`&${t}-slide-up-leave${t}-slide-up-leave-active${n}-dropdown-placement-topLeft`]:{animationName:Mw},"&-hidden":{display:"none"},"&-empty":{color:e.colorTextDisabled},[`${r}-empty`]:_(_({},z8(e)),{color:e.colorTextDisabled}),[`${r}`]:_(_({},z8(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":_({flex:"auto"},Hn),"&-state":{flex:"none"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},Ja(e,"slide-up"),Ja(e,"slide-down"),Bh(e,"move-up"),Bh(e,"move-down")]},d$e=c$e,tf=2;function QX(e){let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const i=(n-t)/2-r,o=Math.ceil(i/2);return[i,o]}function H$(e,t){const{componentCls:n,iconCls:r}=e,i=`${n}-selection-overflow`,o=e.controlHeightSM,[a]=QX(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{fontSize:e.fontSize,[i]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${a-tf}px ${tf*2}px`,borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${tf}px 0`,lineHeight:`${o}px`,content:'"\\a0"'}},[` &${n}-show-arrow ${n}-selector, &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:o,marginTop:ef,marginBottom:ef,lineHeight:`${o-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:ef*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":_(_({},Ad()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:`${o}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function d$e(e){const{componentCls:t}=e,n=Ue(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=QX(e);return[H$(e),H$(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:r}}},H$(Ue(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function V$(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,o=e.controlHeight-e.lineWidth*2,a=Math.ceil(e.fontSize*1.25),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,[`${n}-selector`]:_(_({},st(e)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[` + `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:o,marginTop:tf,marginBottom:tf,lineHeight:`${o-e.lineWidth*2}px`,background:e.colorFillSecondary,border:`${e.lineWidth}px solid ${e.colorSplit}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:tf*2,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,borderColor:e.colorBorder,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":_(_({},Od()),{display:"inline-block",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:`${o}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function f$e(e){const{componentCls:t}=e,n=Ue(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),[,r]=QX(e);return[H$(e),H$(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInlineStart:e.controlPaddingHorizontalSM-e.lineWidth,insetInlineEnd:"auto"},[`${t}-selection-search`]:{marginInlineStart:r}}},H$(Ue(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),"lg")]}function V$(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,o=e.controlHeight-e.lineWidth*2,a=Math.ceil(e.fontSize*1.25),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,[`${n}-selector`]:_(_({},st(e)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[` ${n}-selection-item, ${n}-selection-placeholder `]:{padding:0,lineHeight:`${o}px`,transition:`all ${e.motionDurationSlow}`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${o}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${n}-show-arrow ${n}-selection-item, &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:`${o}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function f$e(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[V$(e),V$(Ue(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` + `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:`${o}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function h$e(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[V$(e),V$(Ue(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+e.fontSize*1.5},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.fontSize*1.5}}}},V$(Ue(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function h$e(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",l=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":_(_({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function v$e(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ov(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:_(_({},h$e(e,r,t)),v$e(n,r,t))}}const p$e=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},W$=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:i,outlineColor:o,antCls:a}=t,l=n?{[`${r}-selector`]:{borderColor:i}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${a}-pagination-size-changer)`]:_(_({},l),{[`${r}-focused& ${r}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${o}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${r}-selector`]:{borderColor:i,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},g$e=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},m$e=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:_(_({},st(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:_(_({},p$e(e)),g$e(e)),[`${t}-selection-item`]:_({flex:1,fontWeight:"normal"},Hn),[`${t}-selection-placeholder`]:_(_({},Hn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:_(_({},Ad()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},y$e=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},m$e(e),f$e(e),d$e(e),c$e(e),{[`${t}-rtl`]:{direction:"rtl"}},W$(t,Ue(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),W$(`${t}-status-error`,Ue(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),W$(`${t}-status-warning`,Ue(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),ov(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},$D=it("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ue(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[y$e(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),Aw=()=>_(_({},yt(wX(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:Xe([Array,Object,String,Number]),defaultValue:Xe([Array,Object,String,Number]),notFoundContent:U.any,suffixIcon:U.any,itemIcon:U.any,size:je(),mode:je(),bordered:$e(!0),transitionName:String,choiceTransitionName:je(""),popupClassName:String,dropdownClassName:String,placement:je(),status:je(),"onUpdate:value":be()}),H8="SECRET_COMBOBOX_MODE_DO_NOT_USE",Da=se({compatConfig:{MODE:3},name:"ASelect",Option:jbe,OptGroup:Gbe,inheritAttrs:!1,props:ft(Aw(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:H8,slots:Object,setup(e,t){let{attrs:n,emit:r,slots:i,expose:o}=t;const a=ue(),l=Xn(),s=fr.useInject(),u=L(()=>ha(s.status,e.status)),c=()=>{var V;(V=a.value)===null||V===void 0||V.focus()},d=()=>{var V;(V=a.value)===null||V===void 0||V.blur()},f=V=>{var X;(X=a.value)===null||X===void 0||X.scrollTo(V)},h=L(()=>{const{mode:V}=e;if(V!=="combobox")return V===H8?"combobox":V}),{prefixCls:v,direction:p,configProvider:g,renderEmpty:m,size:y,getPrefixCls:b,getPopupContainer:S,disabled:x,select:$}=Ee("select",e),{compactSize:C,compactItemClassnames:T}=Au(v,p),I=L(()=>C.value||y.value),P=Mi(),M=L(()=>{var V;return(V=x.value)!==null&&V!==void 0?V:P.value}),[O,D]=$D(v),R=L(()=>b()),A=L(()=>e.placement!==void 0?e.placement:p.value==="rtl"?"bottomRight":"bottomLeft"),E=L(()=>Yr(R.value,GO(A.value),e.transitionName)),k=L(()=>ce({[`${v.value}-lg`]:I.value==="large",[`${v.value}-sm`]:I.value==="small",[`${v.value}-rtl`]:p.value==="rtl",[`${v.value}-borderless`]:!e.bordered,[`${v.value}-in-form-item`]:s.isFormItemInput},Kr(v.value,u.value,s.hasFeedback),T.value,D.value)),N=function(){for(var V=arguments.length,X=new Array(V),Q=0;Q{r("blur",V),l.onFieldBlur()};o({blur:d,focus:c,scrollTo:f});const F=L(()=>h.value==="multiple"||h.value==="tags"),H=L(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(F.value||h.value==="combobox"));return()=>{var V,X,Q,K;const{notFoundContent:te,listHeight:q=256,listItemHeight:ee=24,popupClassName:J,dropdownClassName:G,virtual:Y,dropdownMatchSelectWidth:oe,id:W=l.id.value,placeholder:Z=(V=i.placeholder)===null||V===void 0?void 0:V.call(i),showArrow:ne}=e,{hasFeedback:re,feedbackIcon:le}=s;let ie;te!==void 0?ie=te:i.notFoundContent?ie=i.notFoundContent():h.value==="combobox"?ie=null:ie=(m==null?void 0:m("Select"))||w(_O,{componentName:"Select"},null);const{suffixIcon:de,itemIcon:pe,removeIcon:me,clearIcon:he}=uD(_(_({},e),{multiple:F.value,prefixCls:v.value,hasFeedback:re,feedbackIcon:le,showArrow:H.value}),i),xe=yt(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Ce=ce(J||G,{[`${v.value}-dropdown-${p.value}`]:p.value==="rtl"},D.value);return O(w(Wbe,z(z(z({ref:a,virtual:Y,dropdownMatchSelectWidth:oe},xe),n),{},{showSearch:(X=e.showSearch)!==null&&X!==void 0?X:(Q=$==null?void 0:$.value)===null||Q===void 0?void 0:Q.showSearch,placeholder:Z,listHeight:q,listItemHeight:ee,mode:h.value,prefixCls:v.value,direction:p.value,inputIcon:de,menuItemSelectedIcon:pe,removeIcon:me,clearIcon:he,notFoundContent:ie,class:[k.value,n.class],getPopupContainer:S==null?void 0:S.value,dropdownClassName:Ce,onChange:N,onBlur:B,id:W,dropdownRender:xe.dropdownRender||i.dropdownRender,transitionName:E.value,children:(K=i.default)===null||K===void 0?void 0:K.call(i),tagRender:e.tagRender||i.tagRender,optionLabelRender:i.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||i.maxTagPlaceholder,showArrow:re||ne,disabled:M.value}),{option:i.option}))}}});Da.install=function(e){return e.component(Da.name,Da),e.component(Da.Option.displayName,Da.Option),e.component(Da.OptGroup.displayName,Da.OptGroup),e};const b$e=Da.Option,S$e=Da.OptGroup,Kl=Da,_D=()=>null;_D.isSelectOption=!0;_D.displayName="AAutoCompleteOption";const sh=_D,TD=()=>null;TD.isSelectOptGroup=!0;TD.displayName="AAutoCompleteOptGroup";const Mb=TD;function x$e(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const w$e=()=>_(_({},yt(Aw(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),C$e=sh,$$e=Mb,j$=se({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:w$e(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:i}=t;vn(),vn(),vn(!e.dropdownClassName);const o=ue(),a=()=>{var c;const d=Jt((c=n.default)===null||c===void 0?void 0:c.call(n));return d.length?d[0]:void 0};i({focus:()=>{var c;(c=o.value)===null||c===void 0||c.focus()},blur:()=>{var c;(c=o.value)===null||c===void 0||c.blur()}});const{prefixCls:u}=Ee("select",e);return()=>{var c,d,f;const{size:h,dataSource:v,notFoundContent:p=(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)}=e;let g;const{class:m}=r,y={[m]:!!m,[`${u.value}-lg`]:h==="large",[`${u.value}-sm`]:h==="small",[`${u.value}-show-search`]:!0,[`${u.value}-auto-complete`]:!0};if(e.options===void 0){const S=((d=n.dataSource)===null||d===void 0?void 0:d.call(n))||((f=n.options)===null||f===void 0?void 0:f.call(n))||[];S.length&&x$e(S[0])?g=S:g=v?v.map(x=>{if(zn(x))return x;switch(typeof x){case"string":return w(sh,{key:x,value:x},{default:()=>[x]});case"object":return w(sh,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const b=yt(_(_(_({},e),r),{mode:Kl.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:a,notFoundContent:p,class:y,popupClassName:e.popupClassName||e.dropdownClassName,ref:o}),["dataSource","loading"]);return w(Kl,b,z({default:()=>[g]},yt(n,["default","dataSource","options"])))}}}),_$e=_(j$,{Option:sh,OptGroup:Mb,install(e){return e.component(j$.name,j$),e.component(sh.displayName,sh),e.component(Mb.displayName,Mb),e}});var T$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const I$e=T$e;function V8(e){for(var t=1;t({backgroundColor:e,border:`${r.lineWidth}px ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),U$e=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:o,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:u,alertIconSizeLG:c,colorText:d,paddingContentVerticalSM:f,alertPaddingHorizontal:h,paddingMD:v,paddingContentHorizontalLG:p}=e;return{[t]:_(_({},st(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${f}px ${h}px`,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:l},"&-message":{color:d},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + `]:{paddingInlineEnd:e.fontSize*1.5}}}},V$(Ue(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function v$e(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",l=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":_(_({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function p$e(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function av(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:_(_({},v$e(e,r,t)),p$e(n,r,t))}}const g$e=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},W$=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:r,borderHoverColor:i,outlineColor:o,antCls:a}=t,l=n?{[`${r}-selector`]:{borderColor:i}}:{};return{[e]:{[`&:not(${r}-disabled):not(${r}-customize-input):not(${a}-pagination-size-changer)`]:_(_({},l),{[`${r}-focused& ${r}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${o}`,borderInlineEndWidth:`${t.controlLineWidth}px !important`,outline:0},[`&:hover ${r}-selector`]:{borderColor:i,borderInlineEndWidth:`${t.controlLineWidth}px !important`}})}}},m$e=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},y$e=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:_(_({},st(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:_(_({},g$e(e)),m$e(e)),[`${t}-selection-item`]:_({flex:1,fontWeight:"normal"},Hn),[`${t}-selection-placeholder`]:_(_({},Hn),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:_(_({},Od()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXXS}}}},b$e=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},y$e(e),h$e(e),f$e(e),d$e(e),{[`${t}-rtl`]:{direction:"rtl"}},W$(t,Ue(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),W$(`${t}-status-error`,Ue(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),W$(`${t}-status-warning`,Ue(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),av(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},$D=it("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ue(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[b$e(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),Aw=()=>_(_({},yt(wX(),["inputIcon","mode","getInputElement","getRawInputElement","backfill"])),{value:Xe([Array,Object,String,Number]),defaultValue:Xe([Array,Object,String,Number]),notFoundContent:U.any,suffixIcon:U.any,itemIcon:U.any,size:je(),mode:je(),bordered:$e(!0),transitionName:String,choiceTransitionName:je(""),popupClassName:String,dropdownClassName:String,placement:je(),status:je(),"onUpdate:value":be()}),H8="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ea=se({compatConfig:{MODE:3},name:"ASelect",Option:Gbe,OptGroup:Kbe,inheritAttrs:!1,props:ft(Aw(),{listHeight:256,listItemHeight:24}),SECRET_COMBOBOX_MODE_DO_NOT_USE:H8,slots:Object,setup(e,t){let{attrs:n,emit:r,slots:i,expose:o}=t;const a=ue(),l=Xn(),s=fr.useInject(),u=L(()=>va(s.status,e.status)),c=()=>{var V;(V=a.value)===null||V===void 0||V.focus()},d=()=>{var V;(V=a.value)===null||V===void 0||V.blur()},f=V=>{var X;(X=a.value)===null||X===void 0||X.scrollTo(V)},h=L(()=>{const{mode:V}=e;if(V!=="combobox")return V===H8?"combobox":V}),{prefixCls:v,direction:p,configProvider:g,renderEmpty:m,size:y,getPrefixCls:b,getPopupContainer:S,disabled:x,select:$}=Ee("select",e),{compactSize:C,compactItemClassnames:T}=Au(v,p),I=L(()=>C.value||y.value),P=Ai(),M=L(()=>{var V;return(V=x.value)!==null&&V!==void 0?V:P.value}),[O,D]=$D(v),R=L(()=>b()),A=L(()=>e.placement!==void 0?e.placement:p.value==="rtl"?"bottomRight":"bottomLeft"),E=L(()=>Yr(R.value,GO(A.value),e.transitionName)),k=L(()=>ce({[`${v.value}-lg`]:I.value==="large",[`${v.value}-sm`]:I.value==="small",[`${v.value}-rtl`]:p.value==="rtl",[`${v.value}-borderless`]:!e.bordered,[`${v.value}-in-form-item`]:s.isFormItemInput},Kr(v.value,u.value,s.hasFeedback),T.value,D.value)),N=function(){for(var V=arguments.length,X=new Array(V),Q=0;Q{r("blur",V),l.onFieldBlur()};o({blur:d,focus:c,scrollTo:f});const F=L(()=>h.value==="multiple"||h.value==="tags"),H=L(()=>e.showArrow!==void 0?e.showArrow:e.loading||!(F.value||h.value==="combobox"));return()=>{var V,X,Q,K;const{notFoundContent:te,listHeight:q=256,listItemHeight:ee=24,popupClassName:J,dropdownClassName:G,virtual:Y,dropdownMatchSelectWidth:oe,id:W=l.id.value,placeholder:Z=(V=i.placeholder)===null||V===void 0?void 0:V.call(i),showArrow:ne}=e,{hasFeedback:re,feedbackIcon:le}=s;let ie;te!==void 0?ie=te:i.notFoundContent?ie=i.notFoundContent():h.value==="combobox"?ie=null:ie=(m==null?void 0:m("Select"))||w(_O,{componentName:"Select"},null);const{suffixIcon:de,itemIcon:pe,removeIcon:me,clearIcon:he}=uD(_(_({},e),{multiple:F.value,prefixCls:v.value,hasFeedback:re,feedbackIcon:le,showArrow:H.value}),i),xe=yt(e,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered","status"]),Ce=ce(J||G,{[`${v.value}-dropdown-${p.value}`]:p.value==="rtl"},D.value);return O(w(jbe,z(z(z({ref:a,virtual:Y,dropdownMatchSelectWidth:oe},xe),n),{},{showSearch:(X=e.showSearch)!==null&&X!==void 0?X:(Q=$==null?void 0:$.value)===null||Q===void 0?void 0:Q.showSearch,placeholder:Z,listHeight:q,listItemHeight:ee,mode:h.value,prefixCls:v.value,direction:p.value,inputIcon:de,menuItemSelectedIcon:pe,removeIcon:me,clearIcon:he,notFoundContent:ie,class:[k.value,n.class],getPopupContainer:S==null?void 0:S.value,dropdownClassName:Ce,onChange:N,onBlur:B,id:W,dropdownRender:xe.dropdownRender||i.dropdownRender,transitionName:E.value,children:(K=i.default)===null||K===void 0?void 0:K.call(i),tagRender:e.tagRender||i.tagRender,optionLabelRender:i.optionLabel,maxTagPlaceholder:e.maxTagPlaceholder||i.maxTagPlaceholder,showArrow:re||ne,disabled:M.value}),{option:i.option}))}}});Ea.install=function(e){return e.component(Ea.name,Ea),e.component(Ea.Option.displayName,Ea.Option),e.component(Ea.OptGroup.displayName,Ea.OptGroup),e};const S$e=Ea.Option,x$e=Ea.OptGroup,Ul=Ea,_D=()=>null;_D.isSelectOption=!0;_D.displayName="AAutoCompleteOption";const uh=_D,TD=()=>null;TD.isSelectOptGroup=!0;TD.displayName="AAutoCompleteOptGroup";const Mb=TD;function w$e(e){var t,n;return((t=e==null?void 0:e.type)===null||t===void 0?void 0:t.isSelectOption)||((n=e==null?void 0:e.type)===null||n===void 0?void 0:n.isSelectOptGroup)}const C$e=()=>_(_({},yt(Aw(),["loading","mode","optionLabelProp","labelInValue"])),{dataSource:Array,dropdownMenuStyle:{type:Object,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},prefixCls:String,showSearch:{type:Boolean,default:void 0},transitionName:String,choiceTransitionName:{type:String,default:"zoom"},autofocus:{type:Boolean,default:void 0},backfill:{type:Boolean,default:void 0},filterOption:{type:[Boolean,Function],default:!1},defaultActiveFirstOption:{type:Boolean,default:!0},status:String}),$$e=uh,_$e=Mb,j$=se({compatConfig:{MODE:3},name:"AAutoComplete",inheritAttrs:!1,props:C$e(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:i}=t;vn(),vn(),vn(!e.dropdownClassName);const o=ue(),a=()=>{var c;const d=Jt((c=n.default)===null||c===void 0?void 0:c.call(n));return d.length?d[0]:void 0};i({focus:()=>{var c;(c=o.value)===null||c===void 0||c.focus()},blur:()=>{var c;(c=o.value)===null||c===void 0||c.blur()}});const{prefixCls:u}=Ee("select",e);return()=>{var c,d,f;const{size:h,dataSource:v,notFoundContent:p=(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)}=e;let g;const{class:m}=r,y={[m]:!!m,[`${u.value}-lg`]:h==="large",[`${u.value}-sm`]:h==="small",[`${u.value}-show-search`]:!0,[`${u.value}-auto-complete`]:!0};if(e.options===void 0){const S=((d=n.dataSource)===null||d===void 0?void 0:d.call(n))||((f=n.options)===null||f===void 0?void 0:f.call(n))||[];S.length&&w$e(S[0])?g=S:g=v?v.map(x=>{if(zn(x))return x;switch(typeof x){case"string":return w(uh,{key:x,value:x},{default:()=>[x]});case"object":return w(uh,{key:x.value,value:x.value},{default:()=>[x.text]});default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[]}const b=yt(_(_(_({},e),r),{mode:Ul.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:a,notFoundContent:p,class:y,popupClassName:e.popupClassName||e.dropdownClassName,ref:o}),["dataSource","loading"]);return w(Ul,b,z({default:()=>[g]},yt(n,["default","dataSource","options"])))}}}),T$e=_(j$,{Option:uh,OptGroup:Mb,install(e){return e.component(j$.name,j$),e.component(uh.displayName,uh),e.component(Mb.displayName,Mb),e}});var I$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const P$e=I$e;function V8(e){for(var t=1;t({backgroundColor:e,border:`${r.lineWidth}px ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),X$e=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:o,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:u,alertIconSizeLG:c,colorText:d,paddingContentVerticalSM:f,alertPaddingHorizontal:h,paddingMD:v,paddingContentHorizontalLG:p}=e;return{[t]:_(_({},st(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${f}px ${h}px`,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:l},"&-message":{color:d},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, padding-top ${n} ${u}, padding-bottom ${n} ${u}, - margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:p,paddingBlock:v,[`${t}-icon`]:{marginInlineEnd:i,fontSize:c,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:d,fontSize:a},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},X$e=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:u,colorErrorBg:c,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":Xy(i,r,n,e,t),"&-info":Xy(h,f,d,e,t),"&-warning":Xy(l,a,o,e,t),"&-error":_(_({},Xy(c,u,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},Y$e=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:`${o}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:l}}}}},q$e=e=>[U$e(e),X$e(e),Y$e(e)],Z$e=it("Alert",e=>{const{fontSizeHeading3:t}=e,n=Ue(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[q$e(n)]}),Q$e={success:ls,info:av,error:Ri,warning:ss},J$e={success:JX,info:tY,error:nY,warning:eY},e_e=Ar("success","info","warning","error"),t_e=()=>({type:U.oneOf(e_e),closable:{type:Boolean,default:void 0},closeText:U.any,message:U.any,description:U.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:U.any,closeIcon:U.any,onClose:Function}),n_e=se({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:t_e(),setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;const{prefixCls:a,direction:l}=Ee("alert",e),[s,u]=Z$e(a),c=ae(!1),d=ae(!1),f=ae(),h=m=>{m.preventDefault();const y=f.value;y.style.height=`${y.offsetHeight}px`,y.style.height=`${y.offsetHeight}px`,c.value=!0,r("close",m)},v=()=>{var m;c.value=!1,d.value=!0,(m=e.afterClose)===null||m===void 0||m.call(e)},p=L(()=>{const{type:m}=e;return m!==void 0?m:e.banner?"warning":"info"});o({animationEnd:v});const g=ae({});return()=>{var m,y,b,S,x,$,C,T,I,P;const{banner:M,closeIcon:O=(m=n.closeIcon)===null||m===void 0?void 0:m.call(n)}=e;let{closable:D,showIcon:R}=e;const A=(y=e.closeText)!==null&&y!==void 0?y:(b=n.closeText)===null||b===void 0?void 0:b.call(n),E=(S=e.description)!==null&&S!==void 0?S:(x=n.description)===null||x===void 0?void 0:x.call(n),k=($=e.message)!==null&&$!==void 0?$:(C=n.message)===null||C===void 0?void 0:C.call(n),N=(T=e.icon)!==null&&T!==void 0?T:(I=n.icon)===null||I===void 0?void 0:I.call(n),B=(P=n.action)===null||P===void 0?void 0:P.call(n);R=M&&R===void 0?!0:R;const F=(E?J$e:Q$e)[p.value]||null;A&&(D=!0);const H=a.value,V=ce(H,{[`${H}-${p.value}`]:!0,[`${H}-closing`]:c.value,[`${H}-with-description`]:!!E,[`${H}-no-icon`]:!R,[`${H}-banner`]:!!M,[`${H}-closable`]:D,[`${H}-rtl`]:l.value==="rtl",[u.value]:!0}),X=D?w("button",{type:"button",onClick:h,class:`${H}-close-icon`,tabindex:0},[A?w("span",{class:`${H}-close-text`},[A]):O===void 0?w(Ei,null,null):O]):null,Q=N&&(zn(N)?Nt(N,{class:`${H}-icon`}):w("span",{class:`${H}-icon`},[N]))||w(F,{class:`${H}-icon`},null),K=Do(`${H}-motion`,{appear:!1,css:!0,onAfterLeave:v,onBeforeLeave:te=>{te.style.maxHeight=`${te.offsetHeight}px`},onLeave:te=>{te.style.maxHeight="0px"}});return s(d.value?null:w(dr,K,{default:()=>[Ur(w("div",z(z({role:"alert"},i),{},{style:[i.style,g.value],class:[i.class,V],"data-show":!c.value,ref:f}),[R?Q:null,w("div",{class:`${H}-content`},[k?w("div",{class:`${H}-message`},[k]):null,E?w("div",{class:`${H}-description`},[E]):null]),B?w("div",{class:`${H}-action`},[B]):null,X]),[[hi,!c.value]])]}))}}}),r_e=gn(n_e),Ml=["xxxl","xxl","xl","lg","md","sm","xs"],i_e=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function RD(){const[,e]=is();return L(()=>{const t=i_e(e.value),n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],l=u=>{let{matches:c}=u;this.dispatch(_(_({},i),{[o]:c}))},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s)})},responsiveMap:t}})}function lv(){const e=ae({});let t=null;const n=RD();return tt(()=>{t=n.value.subscribe(r=>{e.value=r})}),Jr(()=>{n.value.unsubscribe(t)}),e}function Wi(e){const t=ae();return Ye(()=>{t.value=e()},{flush:"sync"}),t}const o_e=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:u,textFontSizeLG:c,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:v,lineWidth:p,lineType:g}=e,m=(y,b,S)=>({width:y,height:y,lineHeight:`${y-p*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:S},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:b,[`> ${r}`]:{margin:0}}});return{[n]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${p}px ${g} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),m(a,u,f)),{"&-lg":_({},m(l,c,h)),"&-sm":_({},m(s,d,v)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},a_e=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},rY=it("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Ue(e,{avatarBg:n,avatarColor:t});return[o_e(r),a_e(r)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:u,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:l,textFontSizeSM:i,groupSpace:u,groupOverlapping:-s,groupBorderColor:c}}),iY=Symbol("AvatarContextKey"),l_e=()=>Je(iY,{}),s_e=e=>at(iY,e),u_e=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:U.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),c_e=se({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:u_e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const i=ae(!0),o=ae(!1),a=ae(1),l=ae(null),s=ae(null),{prefixCls:u}=Ee("avatar",e),[c,d]=rY(u),f=l_e(),h=L(()=>e.size==="default"?f.size:e.size),v=lv(),p=Wi(()=>{if(typeof e.size!="object")return;const b=Ml.find(x=>v.value[x]);return e.size[b]}),g=b=>p.value?{width:`${p.value}px`,height:`${p.value}px`,lineHeight:`${p.value}px`,fontSize:`${b?p.value/2:18}px`}:{},m=()=>{if(!l.value||!s.value)return;const b=l.value.offsetWidth,S=s.value.offsetWidth;if(b!==0&&S!==0){const{gap:x=4}=e;x*2{const{loadError:b}=e;(b==null?void 0:b())!==!1&&(i.value=!1)};return Se(()=>e.src,()=>{_t(()=>{i.value=!0,a.value=1})}),Se(()=>e.gap,()=>{_t(()=>{m()})}),tt(()=>{_t(()=>{m(),o.value=!0})}),()=>{var b,S;const{shape:x,src:$,alt:C,srcset:T,draggable:I,crossOrigin:P}=e,M=(b=f.shape)!==null&&b!==void 0?b:x,O=Un(n,e,"icon"),D=u.value,R={[`${r.class}`]:!!r.class,[D]:!0,[`${D}-lg`]:h.value==="large",[`${D}-sm`]:h.value==="small",[`${D}-${M}`]:!0,[`${D}-image`]:$&&i.value,[`${D}-icon`]:O,[d.value]:!0},A=typeof h.value=="number"?{width:`${h.value}px`,height:`${h.value}px`,lineHeight:`${h.value}px`,fontSize:O?`${h.value/2}px`:"18px"}:{},E=(S=n.default)===null||S===void 0?void 0:S.call(n);let k;if($&&i.value)k=w("img",{draggable:I,src:$,srcset:T,onError:y,alt:C,crossorigin:P},null);else if(O)k=O;else if(o.value||a.value!==1){const N=`scale(${a.value}) translateX(-50%)`,B={msTransform:N,WebkitTransform:N,transform:N},F=typeof h.value=="number"?{lineHeight:`${h.value}px`}:{};k=w(Mo,{onResize:m},{default:()=>[w("span",{class:`${D}-string`,ref:l,style:_(_({},F),B)},[E])]})}else k=w("span",{class:`${D}-string`,ref:l,style:{opacity:0}},[E]);return c(w("span",z(z({},r),{},{ref:s,class:R,style:[A,g(!!O),r.style]}),[k]))}}}),qc=c_e,ao={adjustX:1,adjustY:1},lo=[0,0],oY={left:{points:["cr","cl"],overflow:ao,offset:[-4,0],targetOffset:lo},right:{points:["cl","cr"],overflow:ao,offset:[4,0],targetOffset:lo},top:{points:["bc","tc"],overflow:ao,offset:[0,-4],targetOffset:lo},bottom:{points:["tc","bc"],overflow:ao,offset:[0,4],targetOffset:lo},topLeft:{points:["bl","tl"],overflow:ao,offset:[0,-4],targetOffset:lo},leftTop:{points:["tr","tl"],overflow:ao,offset:[-4,0],targetOffset:lo},topRight:{points:["br","tr"],overflow:ao,offset:[0,-4],targetOffset:lo},rightTop:{points:["tl","tr"],overflow:ao,offset:[4,0],targetOffset:lo},bottomRight:{points:["tr","br"],overflow:ao,offset:[0,4],targetOffset:lo},rightBottom:{points:["bl","br"],overflow:ao,offset:[4,0],targetOffset:lo},bottomLeft:{points:["tl","bl"],overflow:ao,offset:[0,4],targetOffset:lo},leftBottom:{points:["br","bl"],overflow:ao,offset:[-4,0],targetOffset:lo}},d_e={prefixCls:String,id:String,overlayInnerStyle:U.any},f_e=se({compatConfig:{MODE:3},name:"TooltipContent",props:d_e,setup(e,t){let{slots:n}=t;return()=>{var r;return w("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(r=n.overlay)===null||r===void 0?void 0:r.call(n)])}}});var h_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:U.string.def("rc-tooltip"),mouseEnterDelay:U.number.def(.1),mouseLeaveDelay:U.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:U.object.def(()=>({})),arrowContent:U.any.def(null),tipId:String,builtinPlacements:U.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ae(),a=()=>{const{prefixCls:c,tipId:d,overlayInnerStyle:f}=e;return[e.arrow?w("div",{class:`${c}-arrow`,key:"arrow"},[Un(n,e,"arrowContent")]):null,w(f_e,{key:"content",prefixCls:c,id:d,overlayInnerStyle:f},{overlay:n.overlay})]};i({getPopupDomNode:()=>o.value.getPopupDomNode(),triggerDOM:o,forcePopupAlign:()=>{var c;return(c=o.value)===null||c===void 0?void 0:c.forcePopupAlign()}});const s=ae(!1),u=ae(!1);return Ye(()=>{const{destroyTooltipOnHide:c}=e;if(typeof c=="boolean")s.value=c;else if(c&&typeof c=="object"){const{keepParent:d}=c;s.value=d===!0,u.value=d===!1}}),()=>{const{overlayClassName:c,trigger:d,mouseEnterDelay:f,mouseLeaveDelay:h,overlayStyle:v,prefixCls:p,afterVisibleChange:g,transitionName:m,animation:y,placement:b,align:S,destroyTooltipOnHide:x,defaultVisible:$}=e,C=h_e(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),T=_({},C);e.visible!==void 0&&(T.popupVisible=e.visible);const I=_(_(_({popupClassName:c,prefixCls:p,action:d,builtinPlacements:oY,popupPlacement:b,popupAlign:S,afterPopupVisibleChange:g,popupTransitionName:m,popupAnimation:y,defaultPopupVisible:$,destroyPopupOnHide:s.value,autoDestroy:u.value,mouseLeaveDelay:h,popupStyle:v,mouseEnterDelay:f},T),r),{onPopupVisibleChange:e.onVisibleChange||Y8,onPopupAlign:e.onPopupAlign||Y8,ref:o,arrow:!!e.arrow,popup:a()});return w(Ld,I,{default:n.default})}}}),LD=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:He(),overlayInnerStyle:He(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:He(),builtinPlacements:He(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),p_e={adjustX:1,adjustY:1},q8={adjustX:0,adjustY:0},g_e=[0,0];function Z8(e){return typeof e=="boolean"?e?p_e:q8:_(_({},q8),e)}function ND(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:r=8,autoAdjustOverflow:i,arrowPointAtCenter:o}=e,a={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(r+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(r+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,r+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,r+t]}};return Object.keys(a).forEach(l=>{a[l]=o?_(_({},a[l]),{overflow:Z8(i),targetOffset:g_e}):_(_({},oY[l]),{overflow:Z8(i)}),a[l].ignoreShake=!0}),a}function aS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`),y_e=["success","processing","error","default","warning"];function Ow(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...m_e,...Ng].includes(e):Ng.includes(e)}function b_e(e){return y_e.includes(e)}function S_e(e,t){const n=Ow(t),r=ce({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}function Yy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const kD=8;function aY(e){const t=kD,{sizePopupArrow:n,contentRadius:r,borderRadiusOuter:i,limitVerticalRadius:o}=e,a=n/2-Math.ceil(i*(Math.sqrt(2)-1)),l=(r>12?r+2:12)-a,s=o?t-a:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:s}}function BD(e,t){const{componentCls:n,sizePopupArrow:r,marginXXS:i,borderRadiusXS:o,borderRadiusOuter:a,boxShadowPopoverArrow:l}=e,{colorBg:s,showArrowCls:u,contentRadius:c=e.borderRadiusLG,limitVerticalRadius:d}=t,{dropdownArrowOffsetVertical:f,dropdownArrowOffset:h}=aY({sizePopupArrow:r,contentRadius:c,borderRadiusOuter:a,limitVerticalRadius:d}),v=r/2+i;return{[n]:{[`${n}-arrow`]:[_(_({position:"absolute",zIndex:1,display:"block"},CO(r,o,a,s,l)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:f},[`&-placement-leftBottom ${n}-arrow`]:{bottom:f},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:f},[`&-placement-rightBottom ${n}-arrow`]:{bottom:f},[Yy(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingBottom:v},[Yy(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingTop:v},[Yy(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingRight:{_skip_check_:!0,value:v}},[Yy(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingLeft:{_skip_check_:!0,value:v}}}}}const x_e=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:o,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:c,tooltipRadiusOuter:d}=e;return[{[t]:_(_(_(_({},st(e)),{position:"absolute",zIndex:a,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${u/2}px ${c}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:o,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(o,kD)}},[`${t}-content`]:{position:"relative"}}),G1(e,(f,h)=>{let{darkColor:v}=h;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:v},[`${t}-arrow`]:{"--antd-arrow-background-color":v}}}})),{"&-rtl":{direction:"rtl"}})},BD(Ue(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:o,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},w_e=(e,t)=>it("Tooltip",r=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:i,colorTextLightSolid:o,colorBgDefault:a,borderRadiusOuter:l}=r,s=Ue(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a,tooltipRadiusOuter:l>4?4:l});return[x_e(s),iv(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:i,colorBgSpotlight:o}=r;return{zIndexPopup:i+70,colorBgDefault:o}})(e),C_e=(e,t)=>{const n={},r=_({},e);return t.forEach(i=>{e&&i in e&&(n[i]=e[i],delete r[i])}),{picked:n,omitted:r}},lY=()=>_(_({},LD()),{title:U.any}),sY=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),$_e=se({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:ft(lY(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;const{prefixCls:a,getPopupContainer:l,direction:s,rootPrefixCls:u}=Ee("tooltip",e),c=L(()=>{var P;return(P=e.open)!==null&&P!==void 0?P:e.visible}),d=ue(aS([e.open,e.visible])),f=ue();let h;Se(c,P=>{dt.cancel(h),h=dt(()=>{d.value=!!P})});const v=()=>{var P;const M=(P=e.title)!==null&&P!==void 0?P:n.title;return!M&&M!==0},p=P=>{const M=v();c.value===void 0&&(d.value=M?!1:P),M||(r("update:visible",P),r("visibleChange",P),r("update:open",P),r("openChange",P))};o({getPopupDomNode:()=>f.value.getPopupDomNode(),open:d,forcePopupAlign:()=>{var P;return(P=f.value)===null||P===void 0?void 0:P.forcePopupAlign()}});const m=L(()=>{var P;const{builtinPlacements:M,autoAdjustOverflow:O,arrow:D,arrowPointAtCenter:R}=e;let A=R;return typeof D=="object"&&(A=(P=D.pointAtCenter)!==null&&P!==void 0?P:R),M||ND({arrowPointAtCenter:A,autoAdjustOverflow:O})}),y=P=>P||P==="",b=P=>{const M=P.type;if(typeof M=="object"&&P.props&&((M.__ANT_BUTTON===!0||M==="button")&&y(P.props.disabled)||M.__ANT_SWITCH===!0&&(y(P.props.disabled)||y(P.props.loading))||M.__ANT_RADIO===!0&&y(P.props.disabled))){const{picked:O,omitted:D}=C_e(AK(P),["position","left","right","top","bottom","float","display","zIndex"]),R=_(_({display:"inline-block"},O),{cursor:"not-allowed",lineHeight:1,width:P.props&&P.props.block?"100%":void 0}),A=_(_({},D),{pointerEvents:"none"}),E=Nt(P,{style:A},!0);return w("span",{style:R,class:`${a.value}-disabled-compatible-wrapper`},[E])}return P},S=()=>{var P,M;return(P=e.title)!==null&&P!==void 0?P:(M=n.title)===null||M===void 0?void 0:M.call(n)},x=(P,M)=>{const O=m.value,D=Object.keys(O).find(R=>{var A,E;return O[R].points[0]===((A=M.points)===null||A===void 0?void 0:A[0])&&O[R].points[1]===((E=M.points)===null||E===void 0?void 0:E[1])});if(D){const R=P.getBoundingClientRect(),A={top:"50%",left:"50%"};D.indexOf("top")>=0||D.indexOf("Bottom")>=0?A.top=`${R.height-M.offset[1]}px`:(D.indexOf("Top")>=0||D.indexOf("bottom")>=0)&&(A.top=`${-M.offset[1]}px`),D.indexOf("left")>=0||D.indexOf("Right")>=0?A.left=`${R.width-M.offset[0]}px`:(D.indexOf("right")>=0||D.indexOf("Left")>=0)&&(A.left=`${-M.offset[0]}px`),P.style.transformOrigin=`${A.left} ${A.top}`}},$=L(()=>S_e(a.value,e.color)),C=L(()=>i["data-popover-inject"]),[T,I]=w_e(a,L(()=>!C.value));return()=>{var P,M;const{openClassName:O,overlayClassName:D,overlayStyle:R,overlayInnerStyle:A}=e;let E=(M=xn((P=n.default)===null||P===void 0?void 0:P.call(n)))!==null&&M!==void 0?M:null;E=E.length===1?E[0]:E;let k=d.value;if(c.value===void 0&&v()&&(k=!1),!E)return null;const N=b(zn(E)&&!Dfe(E)?E:w("span",null,[E])),B=ce({[O||`${a.value}-open`]:!0,[N.props&&N.props.class]:N.props&&N.props.class}),F=ce(D,{[`${a.value}-rtl`]:s.value==="rtl"},$.value.className,I.value),H=_(_({},$.value.overlayStyle),A),V=$.value.arrowStyle,X=_(_(_({},i),e),{prefixCls:a.value,arrow:!!e.arrow,getPopupContainer:l==null?void 0:l.value,builtinPlacements:m.value,visible:k,ref:f,overlayClassName:F,overlayStyle:_(_({},V),R),overlayInnerStyle:H,onVisibleChange:p,onPopupAlign:x,transitionName:Yr(u.value,"zoom-big-fast",e.transitionName)});return T(w(v_e,X,{default:()=>[d.value?Nt(N,{class:B}):N],arrowContent:()=>w("span",{class:`${a.value}-arrow-content`},null),overlay:S}))}}}),Pi=gn($_e),__e=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:i,fontWeightStrong:o,popoverPadding:a,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:c,marginXS:d,colorBgElevated:f}=e;return[{[t]:_(_({},st(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:a},[`${t}-title`]:{minWidth:i,marginBottom:d,color:s,fontWeight:o},[`${t}-inner-content`]:{color:r}})},BD(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},T_e=e=>{const{componentCls:t}=e;return{[t]:Ng.map(n=>{const r=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},I_e=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:u}=e,c=a-Math.round(l*s),d=c/2,f=c/2-n,h=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d}px ${h}px ${f}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${h}px`}}}},P_e=it("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,i=Ue(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[__e(i),T_e(i),r&&I_e(i),iv(i,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),M_e=()=>_(_({},LD()),{content:tn(),title:tn()}),A_e=se({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:ft(M_e(),_(_({},sY()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=ue();vn(e.visible===void 0),n({getPopupDomNode:()=>{var f,h;return(h=(f=o.value)===null||f===void 0?void 0:f.getPopupDomNode)===null||h===void 0?void 0:h.call(f)}});const{prefixCls:a,configProvider:l}=Ee("popover",e),[s,u]=P_e(a),c=L(()=>l.getPrefixCls()),d=()=>{var f,h;const{title:v=xn((f=r.title)===null||f===void 0?void 0:f.call(r)),content:p=xn((h=r.content)===null||h===void 0?void 0:h.call(r))}=e,g=!!(Array.isArray(v)?v.length:v),m=!!(Array.isArray(p)?p.length:v);return!g&&!m?null:w(Qe,null,[g&&w("div",{class:`${a.value}-title`},[v]),w("div",{class:`${a.value}-inner-content`},[p])])};return()=>{const f=ce(e.overlayClassName,u.value);return s(w(Pi,z(z(z({},yt(e,["title","content"])),i),{},{prefixCls:a.value,ref:o,overlayClassName:f,transitionName:Yr(c.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:d,default:r.default}))}}}),FD=gn(A_e),O_e=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),D_e=se({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:O_e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("avatar",e),a=L(()=>`${i.value}-group`),[l,s]=rY(i);return Ye(()=>{const u={size:e.size,shape:e.shape};s_e(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:c,maxStyle:d,maxPopoverTrigger:f="hover",shape:h}=e,v={[a.value]:!0,[`${a.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[s.value]:!0},p=Un(n,e),g=Jt(p).map((y,b)=>Nt(y,{key:`avatar-key-${b}`})),m=g.length;if(c&&c[w(qc,{style:d,shape:h},{default:()=>[`+${m-c}`]})]})),l(w("div",z(z({},r),{},{class:v,style:r.style}),[y]))}return l(w("div",z(z({},r),{},{class:v,style:r.style}),[g]))}}}),lS=D_e;qc.Group=lS;qc.install=function(e){return e.component(qc.name,qc),e.component(lS.name,lS),e};function Q8(e){let{prefixCls:t,value:n,current:r,offset:i=0}=e,o;return i&&(o={position:"absolute",top:`${i}00%`,left:0}),w("p",{style:o,class:ce(`${t}-only-unit`,{current:r})},[n])}function E_e(e,t,n){let r=e,i=0;for(;(r+10)%10!==t;)r+=n,i+=n;return i}const R_e=se({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(e){const t=L(()=>Number(e.value)),n=L(()=>Math.abs(e.count)),r=Bt({prevValue:t.value,prevCount:n.value}),i=()=>{r.prevValue=t.value,r.prevCount=n.value},o=ue();return Se(t,()=>{clearTimeout(o.value),o.value=setTimeout(()=>{i()},1e3)},{flush:"post"}),Jr(()=>{clearTimeout(o.value)}),()=>{let a,l={};const s=t.value;if(r.prevValue===s||Number.isNaN(s)||Number.isNaN(r.prevValue))a=[Q8(_(_({},e),{current:!0}))],l={transition:"none"};else{a=[];const u=s+10,c=[];for(let h=s;h<=u;h+=1)c.push(h);const d=c.findIndex(h=>h%10===r.prevValue);a=c.map((h,v)=>{const p=h%10;return Q8(_(_({},e),{value:p,offset:v-d,current:v===d}))});const f=r.prevCounti()},[a])}}});var L_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var o;const a=_(_({},e),n),{prefixCls:l,count:s,title:u,show:c,component:d="sup",class:f,style:h}=a,v=L_e(a,["prefixCls","count","title","show","component","class","style"]),p=_(_({},v),{style:h,"data-show":e.show,class:ce(i.value,f),title:u});let g=s;if(s&&Number(s)%1===0){const y=String(s).split("");g=y.map((b,S)=>w(R_e,{prefixCls:i.value,count:Number(s),value:b,key:y.length-S},null))}h&&h.borderColor&&(p.style=_(_({},h),{boxShadow:`0 0 0 1px ${h.borderColor} inset`}));const m=xn((o=r.default)===null||o===void 0?void 0:o.call(r));return m&&m.length?Nt(m,{class:ce(`${i.value}-custom-component`)},!1):w(d,p,{default:()=>[g]})}}}),B_e=new xt("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),F_e=new xt("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),z_e=new xt("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),H_e=new xt("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),V_e=new xt("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),W_e=new xt("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),j_e=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:i,badgeShadowSize:o,badgeHeightSm:a,motionDurationSlow:l,badgeStatusSize:s,marginXS:u,badgeRibbonOffset:c}=e,d=`${r}-scroll-number`,f=`${r}-ribbon`,h=`${r}-ribbon-wrapper`,v=G1(e,(g,m)=>{let{darkColor:y}=m;return{[`&${t} ${t}-color-${g}`]:{background:y,[`&:not(${t}-count)`]:{color:y}}}}),p=G1(e,(g,m)=>{let{darkColor:y}=m;return{[`&${f}-color-${g}`]:{background:y,color:y}}});return{[t]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:a,height:a,fontSize:e.badgeFontSizeSm,lineHeight:`${a}px`,borderRadius:a/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`},[`${t}-dot${d}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${d}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:W_e,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:B_e,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}}}),v),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:F_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:z_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:H_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:V_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${d}-custom-component, ${t}-count`]:{transform:"none"},[`${d}-custom-component, ${d}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${d}`]:{overflow:"hidden",[`${d}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${d}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${d}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${d}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${h}`]:{position:"relative"},[`${f}`]:_(_(_(_({},st(e)),{position:"absolute",top:u,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${i}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${f}-text`]:{color:e.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:c,height:c,color:"currentcolor",border:`${c/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),p),{[`&${f}-placement-end`]:{insetInlineEnd:-c,borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:-c,borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},uY=it("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:i,marginXS:o,colorBorderBg:a}=e,l=Math.round(t*n),s=i,u="auto",c=l-2*s,d=e.colorBgContainer,f="normal",h=r,v=e.colorError,p=e.colorErrorHover,g=t,m=r/2,y=r,b=r/2,S=Ue(e,{badgeFontHeight:l,badgeShadowSize:s,badgeZIndex:u,badgeHeight:c,badgeTextColor:d,badgeFontWeight:f,badgeFontSize:h,badgeColor:v,badgeColorHover:p,badgeShadowColor:a,badgeHeightSm:g,badgeDotSize:m,badgeFontSizeSm:y,badgeStatusSize:b,badgeProcessingDuration:"1.2s",badgeRibbonOffset:o,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[j_e(S)]});var G_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefix:String,color:{type:String},text:U.any,placement:{type:String,default:"end"}}),sS=se({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:K_e(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,direction:o}=Ee("ribbon",e),[a,l]=uY(i),s=L(()=>Ow(e.color,!1)),u=L(()=>[i.value,`${i.value}-placement-${e.placement}`,{[`${i.value}-rtl`]:o.value==="rtl",[`${i.value}-color-${e.color}`]:s.value}]);return()=>{var c,d;const{class:f,style:h}=n,v=G_e(n,["class","style"]),p={},g={};return e.color&&!s.value&&(p.background=e.color,g.color=e.color),a(w("div",z({class:`${i.value}-wrapper ${l.value}`},v),[(c=r.default)===null||c===void 0?void 0:c.call(r),w("div",{class:[u.value,f,l.value],style:_(_({},p),h)},[w("span",{class:`${i.value}-text`},[e.text||((d=r.text)===null||d===void 0?void 0:d.call(r))]),w("div",{class:`${i.value}-corner`,style:g},null)])]))}}}),U_e=e=>!isNaN(parseFloat(e))&&isFinite(e),uS=U_e,X_e=()=>({count:U.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:U.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Zp=se({compatConfig:{MODE:3},name:"ABadge",Ribbon:sS,inheritAttrs:!1,props:X_e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("badge",e),[a,l]=uY(i),s=L(()=>e.count>e.overflowCount?`${e.overflowCount}+`:e.count),u=L(()=>s.value==="0"||s.value===0),c=L(()=>e.count===null||u.value&&!e.showZero),d=L(()=>(e.status!==null&&e.status!==void 0||e.color!==null&&e.color!==void 0)&&c.value),f=L(()=>e.dot&&!u.value),h=L(()=>f.value?"":s.value),v=L(()=>(h.value===null||h.value===void 0||h.value===""||u.value&&!e.showZero)&&!f.value),p=ue(e.count),g=ue(h.value),m=ue(f.value);Se([()=>e.count,h,f],()=>{v.value||(p.value=e.count,g.value=h.value,m.value=f.value)},{immediate:!0});const y=L(()=>Ow(e.color,!1)),b=L(()=>({[`${i.value}-status-dot`]:d.value,[`${i.value}-status-${e.status}`]:!!e.status,[`${i.value}-color-${e.color}`]:y.value})),S=L(()=>e.color&&!y.value?{background:e.color,color:e.color}:{}),x=L(()=>({[`${i.value}-dot`]:m.value,[`${i.value}-count`]:!m.value,[`${i.value}-count-sm`]:e.size==="small",[`${i.value}-multiple-words`]:!m.value&&g.value&&g.value.toString().length>1,[`${i.value}-status-${e.status}`]:!!e.status,[`${i.value}-color-${e.color}`]:y.value}));return()=>{var $,C;const{offset:T,title:I,color:P}=e,M=r.style,O=Un(n,e,"text"),D=i.value,R=p.value;let A=Jt(($=n.default)===null||$===void 0?void 0:$.call(n));A=A.length?A:null;const E=!!(!v.value||n.count),k=(()=>{if(!T)return _({},M);const Q={marginTop:uS(T[1])?`${T[1]}px`:T[1]};return o.value==="rtl"?Q.left=`${parseInt(T[0],10)}px`:Q.right=`${-parseInt(T[0],10)}px`,_(_({},Q),M)})(),N=I!=null?I:typeof R=="string"||typeof R=="number"?R:void 0,B=E||!O?null:w("span",{class:`${D}-status-text`},[O]),F=typeof R=="object"||R===void 0&&n.count?Nt(R!=null?R:(C=n.count)===null||C===void 0?void 0:C.call(n),{style:k},!1):null,H=ce(D,{[`${D}-status`]:d.value,[`${D}-not-a-wrapper`]:!A,[`${D}-rtl`]:o.value==="rtl"},r.class,l.value);if(!A&&d.value){const Q=k.color;return a(w("span",z(z({},r),{},{class:H,style:k}),[w("span",{class:b.value,style:S.value},null),w("span",{style:{color:Q},class:`${D}-status-text`},[O])]))}const V=Do(A?`${D}-zoom`:"",{appear:!1});let X=_(_({},k),e.numberStyle);return P&&!y.value&&(X=X||{},X.background=P),a(w("span",z(z({},r),{},{class:H}),[A,w(dr,V,{default:()=>[Ur(w(k_e,{prefixCls:e.scrollNumberPrefixCls,show:E,class:x.value,count:g.value,title:N,style:X,key:"scrollNumber"},{default:()=>[F]}),[[hi,E]])]}),B]))}}});Zp.install=function(e){return e.component(Zp.name,Zp),e.component(sS.name,sS),e};const tf={adjustX:1,adjustY:1},nf=[0,0],Y_e={topLeft:{points:["bl","tl"],overflow:tf,offset:[0,-4],targetOffset:nf},topCenter:{points:["bc","tc"],overflow:tf,offset:[0,-4],targetOffset:nf},topRight:{points:["br","tr"],overflow:tf,offset:[0,-4],targetOffset:nf},bottomLeft:{points:["tl","bl"],overflow:tf,offset:[0,4],targetOffset:nf},bottomCenter:{points:["tc","bc"],overflow:tf,offset:[0,4],targetOffset:nf},bottomRight:{points:["tr","br"],overflow:tf,offset:[0,4],targetOffset:nf}},q_e=Y_e;var Z_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.visible,h=>{h!==void 0&&(o.value=h)});const a=ue();i({triggerRef:a});const l=h=>{e.visible===void 0&&(o.value=!1),r("overlayClick",h)},s=h=>{e.visible===void 0&&(o.value=h),r("visibleChange",h)},u=()=>{var h;const v=(h=n.overlay)===null||h===void 0?void 0:h.call(n),p={prefixCls:`${e.prefixCls}-menu`,onClick:l};return w(Qe,{key:IK},[e.arrow&&w("div",{class:`${e.prefixCls}-arrow`},null),Nt(v,p,!1)])},c=L(()=>{const{minOverlayWidthMatchTrigger:h=!e.alignPoint}=e;return h}),d=()=>{var h;const v=(h=n.default)===null||h===void 0?void 0:h.call(n);return o.value&&v?Nt(v[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):v},f=L(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:h,arrow:v,showAction:p,overlayStyle:g,trigger:m,placement:y,align:b,getPopupContainer:S,transitionName:x,animation:$,overlayClassName:C}=e,T=Z_e(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return w(Ld,z(z({},T),{},{prefixCls:h,ref:a,popupClassName:ce(C,{[`${h}-show-arrow`]:v}),popupStyle:g,builtinPlacements:q_e,action:m,showAction:p,hideAction:f.value||[],popupPlacement:y,popupAlign:b,popupTransitionName:x,popupAnimation:$,popupVisible:o.value,stretch:c.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:S}),{popup:u,default:d})}}}),Q_e=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},J_e=it("Wave",e=>[Q_e(e)]);function e2e(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function G$(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&e2e(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function t2e(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return G$(t)?t:G$(n)?n:G$(r)?r:null}function K$(e){return Number.isNaN(e)?0:e}const n2e=se({props:{target:He(),className:String},setup(e){const t=ae(null),[n,r]=Xt(null),[i,o]=Xt([]),[a,l]=Xt(0),[s,u]=Xt(0),[c,d]=Xt(0),[f,h]=Xt(0),[v,p]=Xt(!1);function g(){const{target:C}=e,T=getComputedStyle(C);r(t2e(C));const I=T.position==="static",{borderLeftWidth:P,borderTopWidth:M}=T;l(I?C.offsetLeft:K$(-parseFloat(P))),u(I?C.offsetTop:K$(-parseFloat(M))),d(C.offsetWidth),h(C.offsetHeight);const{borderTopLeftRadius:O,borderTopRightRadius:D,borderBottomLeftRadius:R,borderBottomRightRadius:A}=T;o([O,D,A,R].map(E=>K$(parseFloat(E))))}let m,y,b;const S=()=>{clearTimeout(b),dt.cancel(y),m==null||m.disconnect()},x=()=>{var C;const T=(C=t.value)===null||C===void 0?void 0:C.parentElement;T&&(fu(null,T),T.parentElement&&T.parentElement.removeChild(T))};tt(()=>{S(),b=setTimeout(()=>{x()},5e3);const{target:C}=e;C&&(y=dt(()=>{g(),p(!0)}),typeof ResizeObserver!="undefined"&&(m=new ResizeObserver(g),m.observe(C)))}),ht(()=>{S()});const $=C=>{C.propertyName==="opacity"&&x()};return()=>{if(!v.value)return null;const C={left:`${a.value}px`,top:`${s.value}px`,width:`${c.value}px`,height:`${f.value}px`,borderRadius:i.value.map(T=>`${T}px`).join(" ")};return n&&(C["--wave-color"]=n.value),w(dr,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[w("div",{ref:t,class:e.className,style:C,onTransitionend:$},null)]})}}});function r2e(e,t){const n=document.createElement("div");return n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),fu(w(n2e,{target:e,className:t},null),n),()=>{fu(null,n),n.parentElement&&n.parentElement.removeChild(n)}}function i2e(e,t){const n=gr();let r;function i(){var o;const a=ci(n);r==null||r(),!(!((o=t==null?void 0:t.value)===null||o===void 0)&&o.disabled||!a)&&(r=r2e(a,e.value))}return ht(()=>{r==null||r()}),i}const zD=se({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const r=gr(),{prefixCls:i,wave:o}=Ee("wave",e),[,a]=J_e(i),l=i2e(L(()=>ce(i.value,a.value)),o);let s;const u=()=>{ci(r).removeEventListener("click",s,!0)};return tt(()=>{Se(()=>e.disabled,()=>{u(),_t(()=>{const c=ci(r);c==null||c.removeEventListener("click",s,!0),!(!c||c.nodeType!==1||e.disabled)&&(s=d=>{d.target.tagName==="INPUT"||!lw(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||l()},c.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),ht(()=>{u()}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});function cS(e){return e==="danger"?{danger:!0}:{type:e}}const o2e=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:U.any,href:String,target:String,title:String,onClick:fd(),onMousedown:fd()}),dY=o2e,J8=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},eN=e=>{_t(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},tN=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},a2e=se({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:r}=e;if(t)return w("span",{class:`${n}-loading-icon`},[w(to,null,null)]);const i=!!r;return w(dr,{name:`${n}-loading-icon-motion`,onBeforeEnter:J8,onEnter:eN,onAfterEnter:tN,onBeforeLeave:eN,onLeave:o=>{setTimeout(()=>{J8(o)})},onAfterLeave:tN},{default:()=>[i?w("span",{class:`${n}-loading-icon`},[w(to,null,null)]):null]})}}}),nN=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),l2e=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},nN(`${t}-primary`,i),nN(`${t}-danger`,o)]}},s2e=l2e;function u2e(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function c2e(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function d2e(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:_(_({},u2e(e,t)),c2e(e.componentCls,t))}}const f2e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":_({},Gl(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Ul=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),h2e=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),v2e=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),nP=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),dS=(e,t,n,r,i,o,a)=>({[`&${e}-background-ghost`]:_(_({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Ul(_({backgroundColor:"transparent"},o),_({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}})}),HD=e=>({"&:disabled":_({},nP(e))}),fY=e=>_({},HD(e)),fS=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),hY=e=>_(_(_(_(_({},fY(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Ul({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),dS(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:_(_(_({color:e.colorError,borderColor:e.colorError},Ul({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),dS(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),HD(e))}),p2e=e=>_(_(_(_(_({},fY(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Ul({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),dS(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:_(_(_({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Ul({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),dS(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),HD(e))}),g2e=e=>_(_({},hY(e)),{borderStyle:"dashed"}),m2e=e=>_(_(_({color:e.colorLink},Ul({color:e.colorLinkHover},{color:e.colorLinkActive})),fS(e)),{[`&${e.componentCls}-dangerous`]:_(_({color:e.colorError},Ul({color:e.colorErrorHover},{color:e.colorErrorActive})),fS(e))}),y2e=e=>_(_(_({},Ul({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),fS(e)),{[`&${e.componentCls}-dangerous`]:_(_({color:e.colorError},fS(e)),Ul({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),b2e=e=>_(_({},nP(e)),{[`&${e.componentCls}:hover`]:_({},nP(e))}),S2e=e=>{const{componentCls:t}=e;return{[`${t}-default`]:hY(e),[`${t}-primary`]:p2e(e),[`${t}-dashed`]:g2e(e),[`${t}-link`]:m2e(e),[`${t}-text`]:y2e(e),[`${t}-disabled`]:b2e(e)}},VD=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:i,fontSize:o,lineHeight:a,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:u}=e,c=Math.max(0,(i-o*a)/2-l),d=u-l,f=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:i,padding:`${c}px ${d}px`,borderRadius:s,[`&${f}`]:{width:i,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${f}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:h2e(e)},{[`${n}${n}-round${t}`]:v2e(e)}]},x2e=e=>VD(e),w2e=e=>{const t=Ue(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return VD(t,`${e.componentCls}-sm`)},C2e=e=>{const t=Ue(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return VD(t,`${e.componentCls}-lg`)},$2e=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},_2e=it("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Ue(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[f2e(r),w2e(r),x2e(r),C2e(r),$2e(r),S2e(r),s2e(r),ov(e,{focus:!1}),d2e(e)]}),T2e=()=>({prefixCls:String,size:{type:String}}),vY=cD(),hS=se({compatConfig:{MODE:3},name:"AButtonGroup",props:T2e(),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:i}=Ee("btn-group",e),[,,o]=is();vY.useProvide(Bt({size:L(()=>e.size)}));const a=L(()=>{const{size:l}=e;let s="";switch(l){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:on(!l,"Button.Group","Invalid prop `size`.")}return{[`${r.value}`]:!0,[`${r.value}-${s}`]:s,[`${r.value}-rtl`]:i.value==="rtl",[o.value]:!0}});return()=>{var l;return w("div",{class:a.value},[Jt((l=n.default)===null||l===void 0?void 0:l.call(n))])}}}),rN=/^[\u4e00-\u9fa5]{2}$/,iN=rN.test.bind(rN);function qy(e){return e==="text"||e==="link"}const An=se({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:ft(dY(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const{prefixCls:a,autoInsertSpaceInButton:l,direction:s,size:u}=Ee("btn",e),[c,d]=_2e(a),f=vY.useInject(),h=Mi(),v=L(()=>{var A;return(A=e.disabled)!==null&&A!==void 0?A:h.value}),p=ae(null),g=ae(void 0);let m=!1;const y=ae(!1),b=ae(!1),S=L(()=>l.value!==!1),{compactSize:x,compactItemClassnames:$}=Au(a,s),C=L(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);Se(C,A=>{clearTimeout(g.value),typeof C.value=="number"?g.value=setTimeout(()=>{y.value=A},C.value):y.value=A},{immediate:!0});const T=L(()=>{const{type:A,shape:E="default",ghost:k,block:N,danger:B}=e,F=a.value,H={large:"lg",small:"sm",middle:void 0},V=x.value||(f==null?void 0:f.size)||u.value,X=V&&H[V]||"";return[$.value,{[d.value]:!0,[`${F}`]:!0,[`${F}-${E}`]:E!=="default"&&E,[`${F}-${A}`]:A,[`${F}-${X}`]:X,[`${F}-loading`]:y.value,[`${F}-background-ghost`]:k&&!qy(A),[`${F}-two-chinese-chars`]:b.value&&S.value,[`${F}-block`]:N,[`${F}-dangerous`]:!!B,[`${F}-rtl`]:s.value==="rtl"}]}),I=()=>{const A=p.value;if(!A||l.value===!1)return;const E=A.textContent;m&&iN(E)?b.value||(b.value=!0):b.value&&(b.value=!1)},P=A=>{if(y.value||v.value){A.preventDefault();return}i("click",A)},M=A=>{i("mousedown",A)},O=(A,E)=>{const k=E?" ":"";if(A.type===Tu){let N=A.children.trim();return iN(N)&&(N=N.split("").join(k)),w("span",null,[N])}return A};return Ye(()=>{on(!(e.ghost&&qy(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),tt(I),Qr(I),ht(()=>{g.value&&clearTimeout(g.value)}),o({focus:()=>{var A;(A=p.value)===null||A===void 0||A.focus()},blur:()=>{var A;(A=p.value)===null||A===void 0||A.blur()}}),()=>{var A,E;const{icon:k=(A=n.icon)===null||A===void 0?void 0:A.call(n)}=e,N=Jt((E=n.default)===null||E===void 0?void 0:E.call(n));m=N.length===1&&!k&&!qy(e.type);const{type:B,htmlType:F,href:H,title:V,target:X}=e,Q=y.value?"loading":k,K=_(_({},r),{title:V,disabled:v.value,class:[T.value,r.class,{[`${a.value}-icon-only`]:N.length===0&&!!Q}],onClick:P,onMousedown:M});v.value||delete K.disabled;const te=k&&!y.value?k:w(a2e,{existIcon:!!k,prefixCls:a.value,loading:!!y.value},null),q=N.map(J=>O(J,m&&S.value));if(H!==void 0)return c(w("a",z(z({},K),{},{href:H,target:X,ref:p}),[te,q]));let ee=w("button",z(z({},K),{},{ref:p,type:F}),[te,q]);if(!qy(B)){const J=function(){return ee}();ee=w(zD,{ref:"wave",disabled:!!y.value},{default:()=>[J]})}return c(ee)}}});An.Group=hS;An.install=function(e){return e.component(An.name,An),e.component(hS.name,hS),e};const pY=()=>({arrow:Xe([Boolean,Object]),trigger:{type:[Array,String]},menu:He(),overlay:U.any,visible:$e(),open:$e(),disabled:$e(),danger:$e(),autofocus:$e(),align:He(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:He(),forceRender:$e(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:$e(),destroyPopupOnHide:$e(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),U$=dY(),I2e=()=>_(_({},pY()),{type:U$.type,size:String,htmlType:U$.htmlType,href:String,disabled:$e(),prefixCls:String,icon:U.any,title:String,loading:U$.loading,onClick:fd()});var P2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const M2e=P2e;function oN(e){for(var t=1;t{const{componentCls:t,antCls:n,paddingXS:r,opacityLoading:i}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:i},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:r}}}}},D2e=O2e,E2e=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},R2e=E2e,L2e=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,dropdownArrowOffset:o,sizePopupArrow:a,antCls:l,iconCls:s,motionDurationMid:u,dropdownPaddingVertical:c,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:h,fontSizeIcon:v,controlPaddingHorizontal:p,colorBgElevated:g,boxShadowPopoverArrow:m}=e;return[{[t]:_(_({},st(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-i+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:v},[`${s}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:p,paddingBlock:v,[`${t}-icon`]:{marginInlineEnd:i,fontSize:c,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:d,fontSize:a},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},Y$e=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:u,colorErrorBg:c,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":Xy(i,r,n,e,t),"&-info":Xy(h,f,d,e,t),"&-warning":Xy(l,a,o,e,t),"&-error":_(_({},Xy(c,u,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},q$e=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:`${o}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:l}}}}},Z$e=e=>[X$e(e),Y$e(e),q$e(e)],Q$e=it("Alert",e=>{const{fontSizeHeading3:t}=e,n=Ue(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[Z$e(n)]}),J$e={success:ls,info:lv,error:Li,warning:ss},e_e={success:JX,info:tY,error:nY,warning:eY},t_e=Ar("success","info","warning","error"),n_e=()=>({type:U.oneOf(t_e),closable:{type:Boolean,default:void 0},closeText:U.any,message:U.any,description:U.any,afterClose:Function,showIcon:{type:Boolean,default:void 0},prefixCls:String,banner:{type:Boolean,default:void 0},icon:U.any,closeIcon:U.any,onClose:Function}),r_e=se({compatConfig:{MODE:3},name:"AAlert",inheritAttrs:!1,props:n_e(),setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;const{prefixCls:a,direction:l}=Ee("alert",e),[s,u]=Q$e(a),c=ae(!1),d=ae(!1),f=ae(),h=m=>{m.preventDefault();const y=f.value;y.style.height=`${y.offsetHeight}px`,y.style.height=`${y.offsetHeight}px`,c.value=!0,r("close",m)},v=()=>{var m;c.value=!1,d.value=!0,(m=e.afterClose)===null||m===void 0||m.call(e)},p=L(()=>{const{type:m}=e;return m!==void 0?m:e.banner?"warning":"info"});o({animationEnd:v});const g=ae({});return()=>{var m,y,b,S,x,$,C,T,I,P;const{banner:M,closeIcon:O=(m=n.closeIcon)===null||m===void 0?void 0:m.call(n)}=e;let{closable:D,showIcon:R}=e;const A=(y=e.closeText)!==null&&y!==void 0?y:(b=n.closeText)===null||b===void 0?void 0:b.call(n),E=(S=e.description)!==null&&S!==void 0?S:(x=n.description)===null||x===void 0?void 0:x.call(n),k=($=e.message)!==null&&$!==void 0?$:(C=n.message)===null||C===void 0?void 0:C.call(n),N=(T=e.icon)!==null&&T!==void 0?T:(I=n.icon)===null||I===void 0?void 0:I.call(n),B=(P=n.action)===null||P===void 0?void 0:P.call(n);R=M&&R===void 0?!0:R;const F=(E?e_e:J$e)[p.value]||null;A&&(D=!0);const H=a.value,V=ce(H,{[`${H}-${p.value}`]:!0,[`${H}-closing`]:c.value,[`${H}-with-description`]:!!E,[`${H}-no-icon`]:!R,[`${H}-banner`]:!!M,[`${H}-closable`]:D,[`${H}-rtl`]:l.value==="rtl",[u.value]:!0}),X=D?w("button",{type:"button",onClick:h,class:`${H}-close-icon`,tabindex:0},[A?w("span",{class:`${H}-close-text`},[A]):O===void 0?w(Ri,null,null):O]):null,Q=N&&(zn(N)?Nt(N,{class:`${H}-icon`}):w("span",{class:`${H}-icon`},[N]))||w(F,{class:`${H}-icon`},null),K=Eo(`${H}-motion`,{appear:!1,css:!0,onAfterLeave:v,onBeforeLeave:te=>{te.style.maxHeight=`${te.offsetHeight}px`},onLeave:te=>{te.style.maxHeight="0px"}});return s(d.value?null:w(dr,K,{default:()=>[Ur(w("div",z(z({role:"alert"},i),{},{style:[i.style,g.value],class:[i.class,V],"data-show":!c.value,ref:f}),[R?Q:null,w("div",{class:`${H}-content`},[k?w("div",{class:`${H}-message`},[k]):null,E?w("div",{class:`${H}-description`},[E]):null]),B?w("div",{class:`${H}-action`},[B]):null,X]),[[hi,!c.value]])]}))}}}),i_e=gn(r_e),Al=["xxxl","xxl","xl","lg","md","sm","xs"],o_e=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`{min-width: ${e.screenXXXL}px}`});function RD(){const[,e]=is();return L(()=>{const t=o_e(e.value),n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],l=u=>{let{matches:c}=u;this.dispatch(_(_({},i),{[o]:c}))},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s)})},responsiveMap:t}})}function sv(){const e=ae({});let t=null;const n=RD();return tt(()=>{t=n.value.subscribe(r=>{e.value=r})}),Jr(()=>{n.value.unsubscribe(t)}),e}function ji(e){const t=ae();return Ye(()=>{t.value=e()},{flush:"sync"}),t}const a_e=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:u,textFontSizeLG:c,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:v,lineWidth:p,lineType:g}=e,m=(y,b,S)=>({width:y,height:y,lineHeight:`${y-p*2}px`,borderRadius:"50%",[`&${n}-square`]:{borderRadius:S},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:b,[`> ${r}`]:{margin:0}}});return{[n]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${p}px ${g} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),m(a,u,f)),{"&-lg":_({},m(l,c,h)),"&-sm":_({},m(s,d,v)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},l_e=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},rY=it("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Ue(e,{avatarBg:n,avatarColor:t});return[a_e(r),l_e(r)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:u,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:l,textFontSizeSM:i,groupSpace:u,groupOverlapping:-s,groupBorderColor:c}}),iY=Symbol("AvatarContextKey"),s_e=()=>Je(iY,{}),u_e=e=>at(iY,e),c_e=()=>({prefixCls:String,shape:{type:String,default:"circle"},size:{type:[Number,String,Object],default:()=>"default"},src:String,srcset:String,icon:U.any,alt:String,gap:Number,draggable:{type:Boolean,default:void 0},crossOrigin:String,loadError:{type:Function}}),d_e=se({compatConfig:{MODE:3},name:"AAvatar",inheritAttrs:!1,props:c_e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const i=ae(!0),o=ae(!1),a=ae(1),l=ae(null),s=ae(null),{prefixCls:u}=Ee("avatar",e),[c,d]=rY(u),f=s_e(),h=L(()=>e.size==="default"?f.size:e.size),v=sv(),p=ji(()=>{if(typeof e.size!="object")return;const b=Al.find(x=>v.value[x]);return e.size[b]}),g=b=>p.value?{width:`${p.value}px`,height:`${p.value}px`,lineHeight:`${p.value}px`,fontSize:`${b?p.value/2:18}px`}:{},m=()=>{if(!l.value||!s.value)return;const b=l.value.offsetWidth,S=s.value.offsetWidth;if(b!==0&&S!==0){const{gap:x=4}=e;x*2{const{loadError:b}=e;(b==null?void 0:b())!==!1&&(i.value=!1)};return Se(()=>e.src,()=>{_t(()=>{i.value=!0,a.value=1})}),Se(()=>e.gap,()=>{_t(()=>{m()})}),tt(()=>{_t(()=>{m(),o.value=!0})}),()=>{var b,S;const{shape:x,src:$,alt:C,srcset:T,draggable:I,crossOrigin:P}=e,M=(b=f.shape)!==null&&b!==void 0?b:x,O=Un(n,e,"icon"),D=u.value,R={[`${r.class}`]:!!r.class,[D]:!0,[`${D}-lg`]:h.value==="large",[`${D}-sm`]:h.value==="small",[`${D}-${M}`]:!0,[`${D}-image`]:$&&i.value,[`${D}-icon`]:O,[d.value]:!0},A=typeof h.value=="number"?{width:`${h.value}px`,height:`${h.value}px`,lineHeight:`${h.value}px`,fontSize:O?`${h.value/2}px`:"18px"}:{},E=(S=n.default)===null||S===void 0?void 0:S.call(n);let k;if($&&i.value)k=w("img",{draggable:I,src:$,srcset:T,onError:y,alt:C,crossorigin:P},null);else if(O)k=O;else if(o.value||a.value!==1){const N=`scale(${a.value}) translateX(-50%)`,B={msTransform:N,WebkitTransform:N,transform:N},F=typeof h.value=="number"?{lineHeight:`${h.value}px`}:{};k=w(Ao,{onResize:m},{default:()=>[w("span",{class:`${D}-string`,ref:l,style:_(_({},F),B)},[E])]})}else k=w("span",{class:`${D}-string`,ref:l,style:{opacity:0}},[E]);return c(w("span",z(z({},r),{},{ref:s,class:R,style:[A,g(!!O),r.style]}),[k]))}}}),qc=d_e,lo={adjustX:1,adjustY:1},so=[0,0],oY={left:{points:["cr","cl"],overflow:lo,offset:[-4,0],targetOffset:so},right:{points:["cl","cr"],overflow:lo,offset:[4,0],targetOffset:so},top:{points:["bc","tc"],overflow:lo,offset:[0,-4],targetOffset:so},bottom:{points:["tc","bc"],overflow:lo,offset:[0,4],targetOffset:so},topLeft:{points:["bl","tl"],overflow:lo,offset:[0,-4],targetOffset:so},leftTop:{points:["tr","tl"],overflow:lo,offset:[-4,0],targetOffset:so},topRight:{points:["br","tr"],overflow:lo,offset:[0,-4],targetOffset:so},rightTop:{points:["tl","tr"],overflow:lo,offset:[4,0],targetOffset:so},bottomRight:{points:["tr","br"],overflow:lo,offset:[0,4],targetOffset:so},rightBottom:{points:["bl","br"],overflow:lo,offset:[4,0],targetOffset:so},bottomLeft:{points:["tl","bl"],overflow:lo,offset:[0,4],targetOffset:so},leftBottom:{points:["br","bl"],overflow:lo,offset:[-4,0],targetOffset:so}},f_e={prefixCls:String,id:String,overlayInnerStyle:U.any},h_e=se({compatConfig:{MODE:3},name:"TooltipContent",props:f_e,setup(e,t){let{slots:n}=t;return()=>{var r;return w("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(r=n.overlay)===null||r===void 0?void 0:r.call(n)])}}});var v_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:U.string.def("rc-tooltip"),mouseEnterDelay:U.number.def(.1),mouseLeaveDelay:U.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:U.object.def(()=>({})),arrowContent:U.any.def(null),tipId:String,builtinPlacements:U.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ae(),a=()=>{const{prefixCls:c,tipId:d,overlayInnerStyle:f}=e;return[e.arrow?w("div",{class:`${c}-arrow`,key:"arrow"},[Un(n,e,"arrowContent")]):null,w(h_e,{key:"content",prefixCls:c,id:d,overlayInnerStyle:f},{overlay:n.overlay})]};i({getPopupDomNode:()=>o.value.getPopupDomNode(),triggerDOM:o,forcePopupAlign:()=>{var c;return(c=o.value)===null||c===void 0?void 0:c.forcePopupAlign()}});const s=ae(!1),u=ae(!1);return Ye(()=>{const{destroyTooltipOnHide:c}=e;if(typeof c=="boolean")s.value=c;else if(c&&typeof c=="object"){const{keepParent:d}=c;s.value=d===!0,u.value=d===!1}}),()=>{const{overlayClassName:c,trigger:d,mouseEnterDelay:f,mouseLeaveDelay:h,overlayStyle:v,prefixCls:p,afterVisibleChange:g,transitionName:m,animation:y,placement:b,align:S,destroyTooltipOnHide:x,defaultVisible:$}=e,C=v_e(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),T=_({},C);e.visible!==void 0&&(T.popupVisible=e.visible);const I=_(_(_({popupClassName:c,prefixCls:p,action:d,builtinPlacements:oY,popupPlacement:b,popupAlign:S,afterPopupVisibleChange:g,popupTransitionName:m,popupAnimation:y,defaultPopupVisible:$,destroyPopupOnHide:s.value,autoDestroy:u.value,mouseLeaveDelay:h,popupStyle:v,mouseEnterDelay:f},T),r),{onPopupVisibleChange:e.onVisibleChange||Y8,onPopupAlign:e.onPopupAlign||Y8,ref:o,arrow:!!e.arrow,popup:a()});return w(Nd,I,{default:n.default})}}}),LD=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:He(),overlayInnerStyle:He(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:He(),builtinPlacements:He(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),g_e={adjustX:1,adjustY:1},q8={adjustX:0,adjustY:0},m_e=[0,0];function Z8(e){return typeof e=="boolean"?e?g_e:q8:_(_({},q8),e)}function ND(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:r=8,autoAdjustOverflow:i,arrowPointAtCenter:o}=e,a={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(r+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(r+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,r+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,r+t]}};return Object.keys(a).forEach(l=>{a[l]=o?_(_({},a[l]),{overflow:Z8(i),targetOffset:m_e}):_(_({},oY[l]),{overflow:Z8(i)}),a[l].ignoreShake=!0}),a}function aS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`),b_e=["success","processing","error","default","warning"];function Ow(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...y_e,...kg].includes(e):kg.includes(e)}function S_e(e){return b_e.includes(e)}function x_e(e,t){const n=Ow(t),r=ce({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}function Yy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const kD=8;function aY(e){const t=kD,{sizePopupArrow:n,contentRadius:r,borderRadiusOuter:i,limitVerticalRadius:o}=e,a=n/2-Math.ceil(i*(Math.sqrt(2)-1)),l=(r>12?r+2:12)-a,s=o?t-a:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:s}}function BD(e,t){const{componentCls:n,sizePopupArrow:r,marginXXS:i,borderRadiusXS:o,borderRadiusOuter:a,boxShadowPopoverArrow:l}=e,{colorBg:s,showArrowCls:u,contentRadius:c=e.borderRadiusLG,limitVerticalRadius:d}=t,{dropdownArrowOffsetVertical:f,dropdownArrowOffset:h}=aY({sizePopupArrow:r,contentRadius:c,borderRadiusOuter:a,limitVerticalRadius:d}),v=r/2+i;return{[n]:{[`${n}-arrow`]:[_(_({position:"absolute",zIndex:1,display:"block"},CO(r,o,a,s,l)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:h}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:h}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:f},[`&-placement-leftBottom ${n}-arrow`]:{bottom:f},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:f},[`&-placement-rightBottom ${n}-arrow`]:{bottom:f},[Yy(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingBottom:v},[Yy(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingTop:v},[Yy(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingRight:{_skip_check_:!0,value:v}},[Yy(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(p=>p+=":not(&-arrow-hidden)"),u)]:{paddingLeft:{_skip_check_:!0,value:v}}}}}const w_e=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:o,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:c,tooltipRadiusOuter:d}=e;return[{[t]:_(_(_(_({},st(e)),{position:"absolute",zIndex:a,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${u/2}px ${c}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:o,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(o,kD)}},[`${t}-content`]:{position:"relative"}}),G1(e,(f,h)=>{let{darkColor:v}=h;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:v},[`${t}-arrow`]:{"--antd-arrow-background-color":v}}}})),{"&-rtl":{direction:"rtl"}})},BD(Ue(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:o,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},C_e=(e,t)=>it("Tooltip",r=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:i,colorTextLightSolid:o,colorBgDefault:a,borderRadiusOuter:l}=r,s=Ue(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a,tooltipRadiusOuter:l>4?4:l});return[w_e(s),ov(r,"zoom-big-fast")]},r=>{let{zIndexPopupBase:i,colorBgSpotlight:o}=r;return{zIndexPopup:i+70,colorBgDefault:o}})(e),$_e=(e,t)=>{const n={},r=_({},e);return t.forEach(i=>{e&&i in e&&(n[i]=e[i],delete r[i])}),{picked:n,omitted:r}},lY=()=>_(_({},LD()),{title:U.any}),sY=()=>({trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),__e=se({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:ft(lY(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;const{prefixCls:a,getPopupContainer:l,direction:s,rootPrefixCls:u}=Ee("tooltip",e),c=L(()=>{var P;return(P=e.open)!==null&&P!==void 0?P:e.visible}),d=ue(aS([e.open,e.visible])),f=ue();let h;Se(c,P=>{dt.cancel(h),h=dt(()=>{d.value=!!P})});const v=()=>{var P;const M=(P=e.title)!==null&&P!==void 0?P:n.title;return!M&&M!==0},p=P=>{const M=v();c.value===void 0&&(d.value=M?!1:P),M||(r("update:visible",P),r("visibleChange",P),r("update:open",P),r("openChange",P))};o({getPopupDomNode:()=>f.value.getPopupDomNode(),open:d,forcePopupAlign:()=>{var P;return(P=f.value)===null||P===void 0?void 0:P.forcePopupAlign()}});const m=L(()=>{var P;const{builtinPlacements:M,autoAdjustOverflow:O,arrow:D,arrowPointAtCenter:R}=e;let A=R;return typeof D=="object"&&(A=(P=D.pointAtCenter)!==null&&P!==void 0?P:R),M||ND({arrowPointAtCenter:A,autoAdjustOverflow:O})}),y=P=>P||P==="",b=P=>{const M=P.type;if(typeof M=="object"&&P.props&&((M.__ANT_BUTTON===!0||M==="button")&&y(P.props.disabled)||M.__ANT_SWITCH===!0&&(y(P.props.disabled)||y(P.props.loading))||M.__ANT_RADIO===!0&&y(P.props.disabled))){const{picked:O,omitted:D}=$_e(AK(P),["position","left","right","top","bottom","float","display","zIndex"]),R=_(_({display:"inline-block"},O),{cursor:"not-allowed",lineHeight:1,width:P.props&&P.props.block?"100%":void 0}),A=_(_({},D),{pointerEvents:"none"}),E=Nt(P,{style:A},!0);return w("span",{style:R,class:`${a.value}-disabled-compatible-wrapper`},[E])}return P},S=()=>{var P,M;return(P=e.title)!==null&&P!==void 0?P:(M=n.title)===null||M===void 0?void 0:M.call(n)},x=(P,M)=>{const O=m.value,D=Object.keys(O).find(R=>{var A,E;return O[R].points[0]===((A=M.points)===null||A===void 0?void 0:A[0])&&O[R].points[1]===((E=M.points)===null||E===void 0?void 0:E[1])});if(D){const R=P.getBoundingClientRect(),A={top:"50%",left:"50%"};D.indexOf("top")>=0||D.indexOf("Bottom")>=0?A.top=`${R.height-M.offset[1]}px`:(D.indexOf("Top")>=0||D.indexOf("bottom")>=0)&&(A.top=`${-M.offset[1]}px`),D.indexOf("left")>=0||D.indexOf("Right")>=0?A.left=`${R.width-M.offset[0]}px`:(D.indexOf("right")>=0||D.indexOf("Left")>=0)&&(A.left=`${-M.offset[0]}px`),P.style.transformOrigin=`${A.left} ${A.top}`}},$=L(()=>x_e(a.value,e.color)),C=L(()=>i["data-popover-inject"]),[T,I]=C_e(a,L(()=>!C.value));return()=>{var P,M;const{openClassName:O,overlayClassName:D,overlayStyle:R,overlayInnerStyle:A}=e;let E=(M=xn((P=n.default)===null||P===void 0?void 0:P.call(n)))!==null&&M!==void 0?M:null;E=E.length===1?E[0]:E;let k=d.value;if(c.value===void 0&&v()&&(k=!1),!E)return null;const N=b(zn(E)&&!Efe(E)?E:w("span",null,[E])),B=ce({[O||`${a.value}-open`]:!0,[N.props&&N.props.class]:N.props&&N.props.class}),F=ce(D,{[`${a.value}-rtl`]:s.value==="rtl"},$.value.className,I.value),H=_(_({},$.value.overlayStyle),A),V=$.value.arrowStyle,X=_(_(_({},i),e),{prefixCls:a.value,arrow:!!e.arrow,getPopupContainer:l==null?void 0:l.value,builtinPlacements:m.value,visible:k,ref:f,overlayClassName:F,overlayStyle:_(_({},V),R),overlayInnerStyle:H,onVisibleChange:p,onPopupAlign:x,transitionName:Yr(u.value,"zoom-big-fast",e.transitionName)});return T(w(p_e,X,{default:()=>[d.value?Nt(N,{class:B}):N],arrowContent:()=>w("span",{class:`${a.value}-arrow-content`},null),overlay:S}))}}}),Mi=gn(__e),T_e=e=>{const{componentCls:t,popoverBg:n,popoverColor:r,width:i,fontWeightStrong:o,popoverPadding:a,boxShadowSecondary:l,colorTextHeading:s,borderRadiusLG:u,zIndexPopup:c,marginXS:d,colorBgElevated:f}=e;return[{[t]:_(_({},st(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:n,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:a},[`${t}-title`]:{minWidth:i,marginBottom:d,color:s,fontWeight:o},[`${t}-inner-content`]:{color:r}})},BD(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",[`${t}-content`]:{display:"inline-block"}}}]},I_e=e=>{const{componentCls:t}=e;return{[t]:kg.map(n=>{const r=e[`${n}-6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},P_e=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:i,paddingSM:o,controlHeight:a,fontSize:l,lineHeight:s,padding:u}=e,c=a-Math.round(l*s),d=c/2,f=c/2-n,h=u;return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d}px ${h}px ${f}px`,borderBottom:`${n}px ${r} ${i}`},[`${t}-inner-content`]:{padding:`${o}px ${h}px`}}}},M_e=it("Popover",e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,i=Ue(e,{popoverBg:t,popoverColor:n,popoverPadding:12});return[T_e(i),I_e(i),r&&P_e(i),ov(i,"zoom-big")]},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+30,width:177}}),A_e=()=>_(_({},LD()),{content:tn(),title:tn()}),O_e=se({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:ft(A_e(),_(_({},sY()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=ue();vn(e.visible===void 0),n({getPopupDomNode:()=>{var f,h;return(h=(f=o.value)===null||f===void 0?void 0:f.getPopupDomNode)===null||h===void 0?void 0:h.call(f)}});const{prefixCls:a,configProvider:l}=Ee("popover",e),[s,u]=M_e(a),c=L(()=>l.getPrefixCls()),d=()=>{var f,h;const{title:v=xn((f=r.title)===null||f===void 0?void 0:f.call(r)),content:p=xn((h=r.content)===null||h===void 0?void 0:h.call(r))}=e,g=!!(Array.isArray(v)?v.length:v),m=!!(Array.isArray(p)?p.length:v);return!g&&!m?null:w(Qe,null,[g&&w("div",{class:`${a.value}-title`},[v]),w("div",{class:`${a.value}-inner-content`},[p])])};return()=>{const f=ce(e.overlayClassName,u.value);return s(w(Mi,z(z(z({},yt(e,["title","content"])),i),{},{prefixCls:a.value,ref:o,overlayClassName:f,transitionName:Yr(c.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:d,default:r.default}))}}}),FD=gn(O_e),D_e=()=>({prefixCls:String,maxCount:Number,maxStyle:{type:Object,default:void 0},maxPopoverPlacement:{type:String,default:"top"},maxPopoverTrigger:String,size:{type:[Number,String,Object],default:"default"},shape:{type:String,default:"circle"}}),E_e=se({compatConfig:{MODE:3},name:"AAvatarGroup",inheritAttrs:!1,props:D_e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("avatar",e),a=L(()=>`${i.value}-group`),[l,s]=rY(i);return Ye(()=>{const u={size:e.size,shape:e.shape};u_e(u)}),()=>{const{maxPopoverPlacement:u="top",maxCount:c,maxStyle:d,maxPopoverTrigger:f="hover",shape:h}=e,v={[a.value]:!0,[`${a.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[s.value]:!0},p=Un(n,e),g=Jt(p).map((y,b)=>Nt(y,{key:`avatar-key-${b}`})),m=g.length;if(c&&c[w(qc,{style:d,shape:h},{default:()=>[`+${m-c}`]})]})),l(w("div",z(z({},r),{},{class:v,style:r.style}),[y]))}return l(w("div",z(z({},r),{},{class:v,style:r.style}),[g]))}}}),lS=E_e;qc.Group=lS;qc.install=function(e){return e.component(qc.name,qc),e.component(lS.name,lS),e};function Q8(e){let{prefixCls:t,value:n,current:r,offset:i=0}=e,o;return i&&(o={position:"absolute",top:`${i}00%`,left:0}),w("p",{style:o,class:ce(`${t}-only-unit`,{current:r})},[n])}function R_e(e,t,n){let r=e,i=0;for(;(r+10)%10!==t;)r+=n,i+=n;return i}const L_e=se({compatConfig:{MODE:3},name:"SingleNumber",props:{prefixCls:String,value:String,count:Number},setup(e){const t=L(()=>Number(e.value)),n=L(()=>Math.abs(e.count)),r=Bt({prevValue:t.value,prevCount:n.value}),i=()=>{r.prevValue=t.value,r.prevCount=n.value},o=ue();return Se(t,()=>{clearTimeout(o.value),o.value=setTimeout(()=>{i()},1e3)},{flush:"post"}),Jr(()=>{clearTimeout(o.value)}),()=>{let a,l={};const s=t.value;if(r.prevValue===s||Number.isNaN(s)||Number.isNaN(r.prevValue))a=[Q8(_(_({},e),{current:!0}))],l={transition:"none"};else{a=[];const u=s+10,c=[];for(let h=s;h<=u;h+=1)c.push(h);const d=c.findIndex(h=>h%10===r.prevValue);a=c.map((h,v)=>{const p=h%10;return Q8(_(_({},e),{value:p,offset:v-d,current:v===d}))});const f=r.prevCounti()},[a])}}});var N_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var o;const a=_(_({},e),n),{prefixCls:l,count:s,title:u,show:c,component:d="sup",class:f,style:h}=a,v=N_e(a,["prefixCls","count","title","show","component","class","style"]),p=_(_({},v),{style:h,"data-show":e.show,class:ce(i.value,f),title:u});let g=s;if(s&&Number(s)%1===0){const y=String(s).split("");g=y.map((b,S)=>w(L_e,{prefixCls:i.value,count:Number(s),value:b,key:y.length-S},null))}h&&h.borderColor&&(p.style=_(_({},h),{boxShadow:`0 0 0 1px ${h.borderColor} inset`}));const m=xn((o=r.default)===null||o===void 0?void 0:o.call(r));return m&&m.length?Nt(m,{class:ce(`${i.value}-custom-component`)},!1):w(d,p,{default:()=>[g]})}}}),F_e=new xt("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),z_e=new xt("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),H_e=new xt("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),V_e=new xt("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),W_e=new xt("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),j_e=new xt("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),G_e=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeFontHeight:i,badgeShadowSize:o,badgeHeightSm:a,motionDurationSlow:l,badgeStatusSize:s,marginXS:u,badgeRibbonOffset:c}=e,d=`${r}-scroll-number`,f=`${r}-ribbon`,h=`${r}-ribbon-wrapper`,v=G1(e,(g,m)=>{let{darkColor:y}=m;return{[`&${t} ${t}-color-${g}`]:{background:y,[`&:not(${t}-count)`]:{color:y}}}}),p=G1(e,(g,m)=>{let{darkColor:y}=m;return{[`&${f}-color-${g}`]:{background:y,color:y}}});return{[t]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:a,height:a,fontSize:e.badgeFontSizeSm,lineHeight:`${a}px`,borderRadius:a/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`},[`${t}-dot${d}`]:{transition:`background ${l}`},[`${t}-count, ${t}-dot, ${d}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:j_e,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:F_e,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}}}),v),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:z_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:H_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:V_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:W_e,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${d}-custom-component, ${t}-count`]:{transform:"none"},[`${d}-custom-component, ${d}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${d}`]:{overflow:"hidden",[`${d}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${d}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${d}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${d}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${h}`]:{position:"relative"},[`${f}`]:_(_(_(_({},st(e)),{position:"absolute",top:u,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${i}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${f}-text`]:{color:e.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:c,height:c,color:"currentcolor",border:`${c/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),p),{[`&${f}-placement-end`]:{insetInlineEnd:-c,borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:-c,borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},uY=it("Badge",e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:i,marginXS:o,colorBorderBg:a}=e,l=Math.round(t*n),s=i,u="auto",c=l-2*s,d=e.colorBgContainer,f="normal",h=r,v=e.colorError,p=e.colorErrorHover,g=t,m=r/2,y=r,b=r/2,S=Ue(e,{badgeFontHeight:l,badgeShadowSize:s,badgeZIndex:u,badgeHeight:c,badgeTextColor:d,badgeFontWeight:f,badgeFontSize:h,badgeColor:v,badgeColorHover:p,badgeShadowColor:a,badgeHeightSm:g,badgeDotSize:m,badgeFontSizeSm:y,badgeStatusSize:b,badgeProcessingDuration:"1.2s",badgeRibbonOffset:o,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[G_e(S)]});var K_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefix:String,color:{type:String},text:U.any,placement:{type:String,default:"end"}}),sS=se({compatConfig:{MODE:3},name:"ABadgeRibbon",inheritAttrs:!1,props:U_e(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,direction:o}=Ee("ribbon",e),[a,l]=uY(i),s=L(()=>Ow(e.color,!1)),u=L(()=>[i.value,`${i.value}-placement-${e.placement}`,{[`${i.value}-rtl`]:o.value==="rtl",[`${i.value}-color-${e.color}`]:s.value}]);return()=>{var c,d;const{class:f,style:h}=n,v=K_e(n,["class","style"]),p={},g={};return e.color&&!s.value&&(p.background=e.color,g.color=e.color),a(w("div",z({class:`${i.value}-wrapper ${l.value}`},v),[(c=r.default)===null||c===void 0?void 0:c.call(r),w("div",{class:[u.value,f,l.value],style:_(_({},p),h)},[w("span",{class:`${i.value}-text`},[e.text||((d=r.text)===null||d===void 0?void 0:d.call(r))]),w("div",{class:`${i.value}-corner`,style:g},null)])]))}}}),X_e=e=>!isNaN(parseFloat(e))&&isFinite(e),uS=X_e,Y_e=()=>({count:U.any.def(null),showZero:{type:Boolean,default:void 0},overflowCount:{type:Number,default:99},dot:{type:Boolean,default:void 0},prefixCls:String,scrollNumberPrefixCls:String,status:{type:String},size:{type:String,default:"default"},color:String,text:U.any,offset:Array,numberStyle:{type:Object,default:void 0},title:String}),Qp=se({compatConfig:{MODE:3},name:"ABadge",Ribbon:sS,inheritAttrs:!1,props:Y_e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("badge",e),[a,l]=uY(i),s=L(()=>e.count>e.overflowCount?`${e.overflowCount}+`:e.count),u=L(()=>s.value==="0"||s.value===0),c=L(()=>e.count===null||u.value&&!e.showZero),d=L(()=>(e.status!==null&&e.status!==void 0||e.color!==null&&e.color!==void 0)&&c.value),f=L(()=>e.dot&&!u.value),h=L(()=>f.value?"":s.value),v=L(()=>(h.value===null||h.value===void 0||h.value===""||u.value&&!e.showZero)&&!f.value),p=ue(e.count),g=ue(h.value),m=ue(f.value);Se([()=>e.count,h,f],()=>{v.value||(p.value=e.count,g.value=h.value,m.value=f.value)},{immediate:!0});const y=L(()=>Ow(e.color,!1)),b=L(()=>({[`${i.value}-status-dot`]:d.value,[`${i.value}-status-${e.status}`]:!!e.status,[`${i.value}-color-${e.color}`]:y.value})),S=L(()=>e.color&&!y.value?{background:e.color,color:e.color}:{}),x=L(()=>({[`${i.value}-dot`]:m.value,[`${i.value}-count`]:!m.value,[`${i.value}-count-sm`]:e.size==="small",[`${i.value}-multiple-words`]:!m.value&&g.value&&g.value.toString().length>1,[`${i.value}-status-${e.status}`]:!!e.status,[`${i.value}-color-${e.color}`]:y.value}));return()=>{var $,C;const{offset:T,title:I,color:P}=e,M=r.style,O=Un(n,e,"text"),D=i.value,R=p.value;let A=Jt(($=n.default)===null||$===void 0?void 0:$.call(n));A=A.length?A:null;const E=!!(!v.value||n.count),k=(()=>{if(!T)return _({},M);const Q={marginTop:uS(T[1])?`${T[1]}px`:T[1]};return o.value==="rtl"?Q.left=`${parseInt(T[0],10)}px`:Q.right=`${-parseInt(T[0],10)}px`,_(_({},Q),M)})(),N=I!=null?I:typeof R=="string"||typeof R=="number"?R:void 0,B=E||!O?null:w("span",{class:`${D}-status-text`},[O]),F=typeof R=="object"||R===void 0&&n.count?Nt(R!=null?R:(C=n.count)===null||C===void 0?void 0:C.call(n),{style:k},!1):null,H=ce(D,{[`${D}-status`]:d.value,[`${D}-not-a-wrapper`]:!A,[`${D}-rtl`]:o.value==="rtl"},r.class,l.value);if(!A&&d.value){const Q=k.color;return a(w("span",z(z({},r),{},{class:H,style:k}),[w("span",{class:b.value,style:S.value},null),w("span",{style:{color:Q},class:`${D}-status-text`},[O])]))}const V=Eo(A?`${D}-zoom`:"",{appear:!1});let X=_(_({},k),e.numberStyle);return P&&!y.value&&(X=X||{},X.background=P),a(w("span",z(z({},r),{},{class:H}),[A,w(dr,V,{default:()=>[Ur(w(B_e,{prefixCls:e.scrollNumberPrefixCls,show:E,class:x.value,count:g.value,title:N,style:X,key:"scrollNumber"},{default:()=>[F]}),[[hi,E]])]}),B]))}}});Qp.install=function(e){return e.component(Qp.name,Qp),e.component(sS.name,sS),e};const nf={adjustX:1,adjustY:1},rf=[0,0],q_e={topLeft:{points:["bl","tl"],overflow:nf,offset:[0,-4],targetOffset:rf},topCenter:{points:["bc","tc"],overflow:nf,offset:[0,-4],targetOffset:rf},topRight:{points:["br","tr"],overflow:nf,offset:[0,-4],targetOffset:rf},bottomLeft:{points:["tl","bl"],overflow:nf,offset:[0,4],targetOffset:rf},bottomCenter:{points:["tc","bc"],overflow:nf,offset:[0,4],targetOffset:rf},bottomRight:{points:["tr","br"],overflow:nf,offset:[0,4],targetOffset:rf}},Z_e=q_e;var Q_e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.visible,h=>{h!==void 0&&(o.value=h)});const a=ue();i({triggerRef:a});const l=h=>{e.visible===void 0&&(o.value=!1),r("overlayClick",h)},s=h=>{e.visible===void 0&&(o.value=h),r("visibleChange",h)},u=()=>{var h;const v=(h=n.overlay)===null||h===void 0?void 0:h.call(n),p={prefixCls:`${e.prefixCls}-menu`,onClick:l};return w(Qe,{key:IK},[e.arrow&&w("div",{class:`${e.prefixCls}-arrow`},null),Nt(v,p,!1)])},c=L(()=>{const{minOverlayWidthMatchTrigger:h=!e.alignPoint}=e;return h}),d=()=>{var h;const v=(h=n.default)===null||h===void 0?void 0:h.call(n);return o.value&&v?Nt(v[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):v},f=L(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:h,arrow:v,showAction:p,overlayStyle:g,trigger:m,placement:y,align:b,getPopupContainer:S,transitionName:x,animation:$,overlayClassName:C}=e,T=Q_e(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return w(Nd,z(z({},T),{},{prefixCls:h,ref:a,popupClassName:ce(C,{[`${h}-show-arrow`]:v}),popupStyle:g,builtinPlacements:Z_e,action:m,showAction:p,hideAction:f.value||[],popupPlacement:y,popupAlign:b,popupTransitionName:x,popupAnimation:$,popupVisible:o.value,stretch:c.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:S}),{popup:u,default:d})}}}),J_e=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},e2e=it("Wave",e=>[J_e(e)]);function t2e(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function G$(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&t2e(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function n2e(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return G$(t)?t:G$(n)?n:G$(r)?r:null}function K$(e){return Number.isNaN(e)?0:e}const r2e=se({props:{target:He(),className:String},setup(e){const t=ae(null),[n,r]=Xt(null),[i,o]=Xt([]),[a,l]=Xt(0),[s,u]=Xt(0),[c,d]=Xt(0),[f,h]=Xt(0),[v,p]=Xt(!1);function g(){const{target:C}=e,T=getComputedStyle(C);r(n2e(C));const I=T.position==="static",{borderLeftWidth:P,borderTopWidth:M}=T;l(I?C.offsetLeft:K$(-parseFloat(P))),u(I?C.offsetTop:K$(-parseFloat(M))),d(C.offsetWidth),h(C.offsetHeight);const{borderTopLeftRadius:O,borderTopRightRadius:D,borderBottomLeftRadius:R,borderBottomRightRadius:A}=T;o([O,D,A,R].map(E=>K$(parseFloat(E))))}let m,y,b;const S=()=>{clearTimeout(b),dt.cancel(y),m==null||m.disconnect()},x=()=>{var C;const T=(C=t.value)===null||C===void 0?void 0:C.parentElement;T&&(fu(null,T),T.parentElement&&T.parentElement.removeChild(T))};tt(()=>{S(),b=setTimeout(()=>{x()},5e3);const{target:C}=e;C&&(y=dt(()=>{g(),p(!0)}),typeof ResizeObserver!="undefined"&&(m=new ResizeObserver(g),m.observe(C)))}),ht(()=>{S()});const $=C=>{C.propertyName==="opacity"&&x()};return()=>{if(!v.value)return null;const C={left:`${a.value}px`,top:`${s.value}px`,width:`${c.value}px`,height:`${f.value}px`,borderRadius:i.value.map(T=>`${T}px`).join(" ")};return n&&(C["--wave-color"]=n.value),w(dr,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[w("div",{ref:t,class:e.className,style:C,onTransitionend:$},null)]})}}});function i2e(e,t){const n=document.createElement("div");return n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),fu(w(r2e,{target:e,className:t},null),n),()=>{fu(null,n),n.parentElement&&n.parentElement.removeChild(n)}}function o2e(e,t){const n=gr();let r;function i(){var o;const a=ci(n);r==null||r(),!(!((o=t==null?void 0:t.value)===null||o===void 0)&&o.disabled||!a)&&(r=i2e(a,e.value))}return ht(()=>{r==null||r()}),i}const zD=se({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const r=gr(),{prefixCls:i,wave:o}=Ee("wave",e),[,a]=e2e(i),l=o2e(L(()=>ce(i.value,a.value)),o);let s;const u=()=>{ci(r).removeEventListener("click",s,!0)};return tt(()=>{Se(()=>e.disabled,()=>{u(),_t(()=>{const c=ci(r);c==null||c.removeEventListener("click",s,!0),!(!c||c.nodeType!==1||e.disabled)&&(s=d=>{d.target.tagName==="INPUT"||!lw(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||l()},c.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),ht(()=>{u()}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});function cS(e){return e==="danger"?{danger:!0}:{type:e}}const a2e=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:U.any,href:String,target:String,title:String,onClick:fd(),onMousedown:fd()}),dY=a2e,J8=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},eN=e=>{_t(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},tN=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},l2e=se({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:r}=e;if(t)return w("span",{class:`${n}-loading-icon`},[w(no,null,null)]);const i=!!r;return w(dr,{name:`${n}-loading-icon-motion`,onBeforeEnter:J8,onEnter:eN,onAfterEnter:tN,onBeforeLeave:eN,onLeave:o=>{setTimeout(()=>{J8(o)})},onAfterLeave:tN},{default:()=>[i?w("span",{class:`${n}-loading-icon`},[w(no,null,null)]):null]})}}}),nN=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),s2e=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},nN(`${t}-primary`,i),nN(`${t}-danger`,o)]}},u2e=s2e;function c2e(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function d2e(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function f2e(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:_(_({},c2e(e,t)),d2e(e.componentCls,t))}}const h2e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":_({},Kl(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Xl=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),v2e=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),p2e=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),nP=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),dS=(e,t,n,r,i,o,a)=>({[`&${e}-background-ghost`]:_(_({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Xl(_({backgroundColor:"transparent"},o),_({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}})}),HD=e=>({"&:disabled":_({},nP(e))}),fY=e=>_({},HD(e)),fS=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),hY=e=>_(_(_(_(_({},fY(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Xl({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),dS(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:_(_(_({color:e.colorError,borderColor:e.colorError},Xl({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),dS(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),HD(e))}),g2e=e=>_(_(_(_(_({},fY(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Xl({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),dS(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:_(_(_({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Xl({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),dS(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),HD(e))}),m2e=e=>_(_({},hY(e)),{borderStyle:"dashed"}),y2e=e=>_(_(_({color:e.colorLink},Xl({color:e.colorLinkHover},{color:e.colorLinkActive})),fS(e)),{[`&${e.componentCls}-dangerous`]:_(_({color:e.colorError},Xl({color:e.colorErrorHover},{color:e.colorErrorActive})),fS(e))}),b2e=e=>_(_(_({},Xl({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),fS(e)),{[`&${e.componentCls}-dangerous`]:_(_({color:e.colorError},fS(e)),Xl({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),S2e=e=>_(_({},nP(e)),{[`&${e.componentCls}:hover`]:_({},nP(e))}),x2e=e=>{const{componentCls:t}=e;return{[`${t}-default`]:hY(e),[`${t}-primary`]:g2e(e),[`${t}-dashed`]:m2e(e),[`${t}-link`]:y2e(e),[`${t}-text`]:b2e(e),[`${t}-disabled`]:S2e(e)}},VD=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:i,fontSize:o,lineHeight:a,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:u}=e,c=Math.max(0,(i-o*a)/2-l),d=u-l,f=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:i,padding:`${c}px ${d}px`,borderRadius:s,[`&${f}`]:{width:i,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${f}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:v2e(e)},{[`${n}${n}-round${t}`]:p2e(e)}]},w2e=e=>VD(e),C2e=e=>{const t=Ue(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return VD(t,`${e.componentCls}-sm`)},$2e=e=>{const t=Ue(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return VD(t,`${e.componentCls}-lg`)},_2e=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},T2e=it("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Ue(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[h2e(r),C2e(r),w2e(r),$2e(r),_2e(r),x2e(r),u2e(r),av(e,{focus:!1}),f2e(e)]}),I2e=()=>({prefixCls:String,size:{type:String}}),vY=cD(),hS=se({compatConfig:{MODE:3},name:"AButtonGroup",props:I2e(),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:i}=Ee("btn-group",e),[,,o]=is();vY.useProvide(Bt({size:L(()=>e.size)}));const a=L(()=>{const{size:l}=e;let s="";switch(l){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:on(!l,"Button.Group","Invalid prop `size`.")}return{[`${r.value}`]:!0,[`${r.value}-${s}`]:s,[`${r.value}-rtl`]:i.value==="rtl",[o.value]:!0}});return()=>{var l;return w("div",{class:a.value},[Jt((l=n.default)===null||l===void 0?void 0:l.call(n))])}}}),rN=/^[\u4e00-\u9fa5]{2}$/,iN=rN.test.bind(rN);function qy(e){return e==="text"||e==="link"}const An=se({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:ft(dY(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const{prefixCls:a,autoInsertSpaceInButton:l,direction:s,size:u}=Ee("btn",e),[c,d]=T2e(a),f=vY.useInject(),h=Ai(),v=L(()=>{var A;return(A=e.disabled)!==null&&A!==void 0?A:h.value}),p=ae(null),g=ae(void 0);let m=!1;const y=ae(!1),b=ae(!1),S=L(()=>l.value!==!1),{compactSize:x,compactItemClassnames:$}=Au(a,s),C=L(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);Se(C,A=>{clearTimeout(g.value),typeof C.value=="number"?g.value=setTimeout(()=>{y.value=A},C.value):y.value=A},{immediate:!0});const T=L(()=>{const{type:A,shape:E="default",ghost:k,block:N,danger:B}=e,F=a.value,H={large:"lg",small:"sm",middle:void 0},V=x.value||(f==null?void 0:f.size)||u.value,X=V&&H[V]||"";return[$.value,{[d.value]:!0,[`${F}`]:!0,[`${F}-${E}`]:E!=="default"&&E,[`${F}-${A}`]:A,[`${F}-${X}`]:X,[`${F}-loading`]:y.value,[`${F}-background-ghost`]:k&&!qy(A),[`${F}-two-chinese-chars`]:b.value&&S.value,[`${F}-block`]:N,[`${F}-dangerous`]:!!B,[`${F}-rtl`]:s.value==="rtl"}]}),I=()=>{const A=p.value;if(!A||l.value===!1)return;const E=A.textContent;m&&iN(E)?b.value||(b.value=!0):b.value&&(b.value=!1)},P=A=>{if(y.value||v.value){A.preventDefault();return}i("click",A)},M=A=>{i("mousedown",A)},O=(A,E)=>{const k=E?" ":"";if(A.type===Tu){let N=A.children.trim();return iN(N)&&(N=N.split("").join(k)),w("span",null,[N])}return A};return Ye(()=>{on(!(e.ghost&&qy(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),tt(I),Qr(I),ht(()=>{g.value&&clearTimeout(g.value)}),o({focus:()=>{var A;(A=p.value)===null||A===void 0||A.focus()},blur:()=>{var A;(A=p.value)===null||A===void 0||A.blur()}}),()=>{var A,E;const{icon:k=(A=n.icon)===null||A===void 0?void 0:A.call(n)}=e,N=Jt((E=n.default)===null||E===void 0?void 0:E.call(n));m=N.length===1&&!k&&!qy(e.type);const{type:B,htmlType:F,href:H,title:V,target:X}=e,Q=y.value?"loading":k,K=_(_({},r),{title:V,disabled:v.value,class:[T.value,r.class,{[`${a.value}-icon-only`]:N.length===0&&!!Q}],onClick:P,onMousedown:M});v.value||delete K.disabled;const te=k&&!y.value?k:w(l2e,{existIcon:!!k,prefixCls:a.value,loading:!!y.value},null),q=N.map(J=>O(J,m&&S.value));if(H!==void 0)return c(w("a",z(z({},K),{},{href:H,target:X,ref:p}),[te,q]));let ee=w("button",z(z({},K),{},{ref:p,type:F}),[te,q]);if(!qy(B)){const J=function(){return ee}();ee=w(zD,{ref:"wave",disabled:!!y.value},{default:()=>[J]})}return c(ee)}}});An.Group=hS;An.install=function(e){return e.component(An.name,An),e.component(hS.name,hS),e};const pY=()=>({arrow:Xe([Boolean,Object]),trigger:{type:[Array,String]},menu:He(),overlay:U.any,visible:$e(),open:$e(),disabled:$e(),danger:$e(),autofocus:$e(),align:He(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:He(),forceRender:$e(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:$e(),destroyPopupOnHide:$e(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),U$=dY(),P2e=()=>_(_({},pY()),{type:U$.type,size:String,htmlType:U$.htmlType,href:String,disabled:$e(),prefixCls:String,icon:U.any,title:String,loading:U$.loading,onClick:fd()});var M2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const A2e=M2e;function oN(e){for(var t=1;t{const{componentCls:t,antCls:n,paddingXS:r,opacityLoading:i}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:i},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:r}}}}},E2e=D2e,R2e=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},L2e=R2e,N2e=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,dropdownArrowOffset:o,sizePopupArrow:a,antCls:l,iconCls:s,motionDurationMid:u,dropdownPaddingVertical:c,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:h,fontSizeIcon:v,controlPaddingHorizontal:p,colorBgElevated:g,boxShadowPopoverArrow:m}=e;return[{[t]:_(_({},st(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:-i+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:v},[`${s}-down::before`]:{transition:`transform ${u}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` &-show-arrow${t}-placement-topLeft, &-show-arrow${t}-placement-top, &-show-arrow${t}-placement-topRight @@ -213,23 +213,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom, &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Iw},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft, &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top, - &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Mw}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:_(_({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Gl(e)),{[`${n}-item-group-title`]:{padding:`${c}px ${p}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:_(_({clear:"both",margin:0,padding:`${c}px ${p}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Gl(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:v,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:p+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[Qa(e,"slide-up"),Qa(e,"slide-down"),kh(e,"move-up"),kh(e,"move-down"),iv(e,"zoom-big")]]},gY=it("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:i,controlHeight:o,fontSize:a,lineHeight:l,paddingXXS:s,componentCls:u,borderRadiusOuter:c,borderRadiusLG:d}=e,f=(o-a*l)/2,{dropdownArrowOffset:h}=aY({sizePopupArrow:i,contentRadius:d,borderRadiusOuter:c}),v=Ue(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:i/2+r,dropdownArrowOffset:h,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[L2e(v),D2e(v),R2e(v)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var N2e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{i("update:visible",f),i("visibleChange",f),i("update:open",f),i("openChange",f)},{prefixCls:a,direction:l,getPopupContainer:s}=Ee("dropdown",e),u=L(()=>`${a.value}-button`),[c,d]=gY(a);return()=>{var f,h;const v=_(_({},e),r),{type:p="default",disabled:g,danger:m,loading:y,htmlType:b,class:S="",overlay:x=(f=n.overlay)===null||f===void 0?void 0:f.call(n),trigger:$,align:C,open:T,visible:I,onVisibleChange:P,placement:M=l.value==="rtl"?"bottomLeft":"bottomRight",href:O,title:D,icon:R=((h=n.icon)===null||h===void 0?void 0:h.call(n))||w(jD,null,null),mouseEnterDelay:A,mouseLeaveDelay:E,overlayClassName:k,overlayStyle:N,destroyPopupOnHide:B,onClick:F,"onUpdate:open":H}=v,V=N2e(v,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),X={align:C,disabled:g,trigger:g?[]:$,placement:M,getPopupContainer:s==null?void 0:s.value,onOpenChange:o,mouseEnterDelay:A,mouseLeaveDelay:E,open:T!=null?T:I,overlayClassName:k,overlayStyle:N,destroyPopupOnHide:B},Q=w(An,{danger:m,type:p,disabled:g,loading:y,onClick:F,htmlType:b,href:O,title:D},{default:n.default}),K=w(An,{danger:m,type:p,icon:R},null);return c(w(k2e,z(z({},V),{},{class:ce(u.value,S,d.value)}),{default:()=>[n.leftButton?n.leftButton({button:Q}):Q,w(Ka,X,{default:()=>[n.rightButton?n.rightButton({button:K}):K],overlay:()=>x})]}))}}});var B2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const F2e=B2e;function aN(e){for(var t=1;tJe(mY,void 0),KD=e=>{var t,n,r;const{prefixCls:i,mode:o,selectable:a,validator:l,onClick:s,expandIcon:u}=yY()||{};at(mY,{prefixCls:L(()=>{var c,d;return(d=(c=e.prefixCls)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:i==null?void 0:i.value}),mode:L(()=>{var c,d;return(d=(c=e.mode)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:o==null?void 0:o.value}),selectable:L(()=>{var c,d;return(d=(c=e.selectable)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:a==null?void 0:a.value}),validator:(t=e.validator)!==null&&t!==void 0?t:l,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(r=e.expandIcon)!==null&&r!==void 0?r:u==null?void 0:u.value})},bY=se({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:ft(pY(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,rootPrefixCls:a,direction:l,getPopupContainer:s}=Ee("dropdown",e),[u,c]=gY(o),d=L(()=>{const{placement:g="",transitionName:m}=e;return m!==void 0?m:g.includes("top")?`${a.value}-slide-down`:`${a.value}-slide-up`});KD({prefixCls:L(()=>`${o.value}-menu`),expandIcon:L(()=>w("span",{class:`${o.value}-menu-submenu-arrow`},[w(ua,{class:`${o.value}-menu-submenu-arrow-icon`},null)])),mode:L(()=>"vertical"),selectable:L(()=>!1),onClick:()=>{},validator:g=>{vn()}});const f=()=>{var g,m,y;const b=e.overlay||((g=n.overlay)===null||g===void 0?void 0:g.call(n)),S=Array.isArray(b)?b[0]:b;if(!S)return null;const x=S.props||{};on(!x.mode||x.mode==="vertical","Dropdown",`mode="${x.mode}" is not supported for Dropdown's Menu.`);const{selectable:$=!1,expandIcon:C=(y=(m=S.children)===null||m===void 0?void 0:m.expandIcon)===null||y===void 0?void 0:y.call(m)}=x,T=typeof C!="undefined"&&zn(C)?C:w("span",{class:`${o.value}-menu-submenu-arrow`},[w(ua,{class:`${o.value}-menu-submenu-arrow-icon`},null)]);return zn(S)?Nt(S,{mode:"vertical",selectable:$,expandIcon:()=>T}):S},h=L(()=>{const g=e.placement;if(!g)return l.value==="rtl"?"bottomRight":"bottomLeft";if(g.includes("Center")){const m=g.slice(0,g.indexOf("Center"));return on(!g.includes("Center"),"Dropdown",`You are using '${g}' placement in Dropdown, which is deprecated. Try to use '${m}' instead.`),m}return g}),v=L(()=>typeof e.visible=="boolean"?e.visible:e.open),p=g=>{i("update:visible",g),i("visibleChange",g),i("update:open",g),i("openChange",g)};return()=>{var g,m;const{arrow:y,trigger:b,disabled:S,overlayClassName:x}=e,$=(g=n.default)===null||g===void 0?void 0:g.call(n)[0],C=Nt($,_({class:ce((m=$==null?void 0:$.props)===null||m===void 0?void 0:m.class,{[`${o.value}-rtl`]:l.value==="rtl"},`${o.value}-trigger`)},S?{disabled:S}:{})),T=ce(x,c.value,{[`${o.value}-rtl`]:l.value==="rtl"}),I=S?[]:b;let P;I&&I.includes("contextmenu")&&(P=!0);const M=ND({arrowPointAtCenter:typeof y=="object"&&y.pointAtCenter,autoAdjustOverflow:!0}),O=yt(_(_(_({},e),r),{visible:v.value,builtinPlacements:M,overlayClassName:T,arrow:!!y,alignPoint:P,prefixCls:o.value,getPopupContainer:s==null?void 0:s.value,transitionName:d.value,trigger:I,onVisibleChange:p,placement:h.value}),["overlay","onUpdate:visible"]);return u(w(cY,O,{default:()=>[C],overlay:f}))}}});bY.Button=jg;const Ka=bY;var H2e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,href:String,separator:U.any,dropdownProps:He(),overlay:U.any,onClick:fd()}),Gg=se({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:V2e(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o}=Ee("breadcrumb",e),a=(s,u)=>{const c=Un(n,e,"overlay");return c?w(Ka,z(z({},e.dropdownProps),{},{overlay:c,placement:"bottom"}),{default:()=>[w("span",{class:`${u}-overlay-link`},[s,w(Hm,null,null)])]}):s},l=s=>{i("click",s)};return()=>{var s;const u=(s=Un(n,e,"separator"))!==null&&s!==void 0?s:"/",c=Un(n,e),{class:d,style:f}=r,h=H2e(r,["class","style"]);let v;return e.href!==void 0?v=w("a",z({class:`${o.value}-link`,onClick:l},h),[c]):v=w("span",z({class:`${o.value}-link`,onClick:l},h),[c]),v=a(v,o.value),c!=null?w("li",{class:d,style:f},[v,u&&w("span",{class:`${o.value}-separator`},[u])]):null}}});function W2e(e,t,n,r){let i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;const l=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s{at(SY,e)},us=()=>Je(SY),wY=Symbol("ForceRenderKey"),j2e=e=>{at(wY,e)},CY=()=>Je(wY,!1),$Y=Symbol("menuFirstLevelContextKey"),_Y=e=>{at($Y,e)},G2e=()=>Je($Y,!0),vS=se({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const r=us(),i=_({},r);return e.mode!==void 0&&(i.mode=qe(e,"mode")),e.overflowDisabled!==void 0&&(i.overflowDisabled=qe(e,"overflowDisabled")),xY(i),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),K2e=xY,TY=Symbol("siderCollapsed"),IY=Symbol("siderHookProvider"),Zy="$$__vc-menu-more__key",PY=Symbol("KeyPathContext"),UD=()=>Je(PY,{parentEventKeys:L(()=>[]),parentKeys:L(()=>[]),parentInfo:{}}),U2e=(e,t,n)=>{const{parentEventKeys:r,parentKeys:i}=UD(),o=L(()=>[...r.value,e]),a=L(()=>[...i.value,t]);return at(PY,{parentEventKeys:o,parentKeys:a,parentInfo:n}),a},MY=Symbol("measure"),lN=se({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return at(MY,!0),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),XD=()=>Je(MY,!1),X2e=U2e;function AY(e){const{mode:t,rtl:n,inlineIndent:r}=us();return L(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*r.value}px`}:{paddingLeft:`${e.value*r.value}px`})}let Y2e=0;const q2e=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:U.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:He()}),Ua=se({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:q2e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=gr(),a=XD(),l=typeof o.vnode.key=="symbol"?String(o.vnode.key):o.vnode.key;on(typeof o.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(l)}"\` not support Symbol type`);const s=`menu_item_${++Y2e}_$$_${l}`,{parentEventKeys:u,parentKeys:c}=UD(),{prefixCls:d,activeKeys:f,disabled:h,changeActiveKeys:v,rtl:p,inlineCollapsed:g,siderCollapsed:m,onItemClick:y,selectedKeys:b,registerMenuInfo:S,unRegisterMenuInfo:x}=us(),$=G2e(),C=ae(!1),T=L(()=>[...c.value,l]);S(s,{eventKey:s,key:l,parentEventKeys:u,parentKeys:c,isLeaf:!0}),ht(()=>{x(s)}),Se(f,()=>{C.value=!!f.value.find(H=>H===l)},{immediate:!0});const P=L(()=>h.value||e.disabled),M=L(()=>b.value.includes(l)),O=L(()=>{const H=`${d.value}-item`;return{[`${H}`]:!0,[`${H}-danger`]:e.danger,[`${H}-active`]:C.value,[`${H}-selected`]:M.value,[`${H}-disabled`]:P.value}}),D=H=>({key:l,eventKey:s,keyPath:T.value,eventKeyPath:[...u.value,s],domEvent:H,item:_(_({},e),i)}),R=H=>{if(P.value)return;const V=D(H);r("click",H),y(V)},A=H=>{P.value||(v(T.value),r("mouseenter",H))},E=H=>{P.value||(v([]),r("mouseleave",H))},k=H=>{if(r("keydown",H),H.which===Pe.ENTER){const V=D(H);r("click",H),y(V)}},N=H=>{v(T.value),r("focus",H)},B=(H,V)=>{const X=w("span",{class:`${d.value}-title-content`},[V]);return(!H||zn(V)&&V.type==="span")&&V&&g.value&&$&&typeof V=="string"?w("div",{class:`${d.value}-inline-collapsed-noicon`},[V.charAt(0)]):X},F=AY(L(()=>T.value.length));return()=>{var H,V,X,Q,K;if(a)return null;const te=(H=e.title)!==null&&H!==void 0?H:(V=n.title)===null||V===void 0?void 0:V.call(n),q=Jt((X=n.default)===null||X===void 0?void 0:X.call(n)),ee=q.length;let J=te;typeof te=="undefined"?J=$&&ee?q:"":te===!1&&(J="");const G={title:J};!m.value&&!g.value&&(G.title=null,G.open=!1);const Y={};e.role==="option"&&(Y["aria-selected"]=M.value);const oe=(Q=e.icon)!==null&&Q!==void 0?Q:(K=n.icon)===null||K===void 0?void 0:K.call(n,e);return w(Pi,z(z({},G),{},{placement:p.value?"left":"right",overlayClassName:`${d.value}-inline-collapsed-tooltip`}),{default:()=>[w(lh.Item,z(z(z({component:"li"},i),{},{id:e.id,style:_(_({},i.style||{}),F.value),class:[O.value,{[`${i.class}`]:!!i.class,[`${d.value}-item-only-child`]:(oe?ee+1:ee)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":l,"aria-disabled":e.disabled},Y),{},{onMouseenter:A,onMouseleave:E,onClick:R,onKeydown:k,onFocus:N,title:typeof te=="string"?te:void 0}),{default:()=>[Nt(typeof oe=="function"?oe(e.originItemValue):oe,{class:`${d.value}-item-icon`},!1),B(oe,q)]})]})}}}),Gs={adjustX:1,adjustY:1},Z2e={topLeft:{points:["bl","tl"],overflow:Gs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Gs,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Gs,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Gs,offset:[4,0]}},Q2e={topLeft:{points:["bl","tl"],overflow:Gs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Gs,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Gs,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Gs,offset:[4,0]}},J2e={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},sN=se({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:r}=t;const i=ae(!1),{getPopupContainer:o,rtl:a,subMenuOpenDelay:l,subMenuCloseDelay:s,builtinPlacements:u,triggerSubMenuAction:c,forceSubMenuRender:d,motion:f,defaultMotions:h,rootClassName:v}=us(),p=CY(),g=L(()=>a.value?_(_({},Q2e),u.value):_(_({},Z2e),u.value)),m=L(()=>J2e[e.mode]),y=ae();Se(()=>e.visible,x=>{dt.cancel(y.value),y.value=dt(()=>{i.value=x})},{immediate:!0}),ht(()=>{dt.cancel(y.value)});const b=x=>{r("visibleChange",x)},S=L(()=>{var x,$;const C=f.value||((x=h.value)===null||x===void 0?void 0:x[e.mode])||(($=h.value)===null||$===void 0?void 0:$.other),T=typeof C=="function"?C():C;return T?Do(T.name,{css:!0}):void 0});return()=>{const{prefixCls:x,popupClassName:$,mode:C,popupOffset:T,disabled:I}=e;return w(Ld,{prefixCls:x,popupClassName:ce(`${x}-popup`,{[`${x}-rtl`]:a.value},$,v.value),stretch:C==="horizontal"?"minWidth":null,getPopupContainer:o.value,builtinPlacements:g.value,popupPlacement:m.value,popupVisible:i.value,popupAlign:T&&{offset:T},action:I?[]:[c.value],mouseEnterDelay:l.value,mouseLeaveDelay:s.value,onPopupVisibleChange:b,forceRender:p||d.value,popupAnimation:S.value},{popup:n.popup,default:n.default})}}}),OY=(e,t)=>{let{slots:n,attrs:r}=t;var i;const{prefixCls:o,mode:a}=us();return w("ul",z(z({},r),{},{class:ce(o.value,`${o.value}-sub`,`${o.value}-${a.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(i=n.default)===null||i===void 0?void 0:i.call(n)])};OY.displayName="SubMenuList";const DY=OY,eTe=se({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const r=L(()=>"inline"),{motion:i,mode:o,defaultMotions:a}=us(),l=L(()=>o.value===r.value),s=ue(!l.value),u=L(()=>l.value?e.open:!1);Se(o,()=>{l.value&&(s.value=!1)},{flush:"post"});const c=L(()=>{var d,f;const h=i.value||((d=a.value)===null||d===void 0?void 0:d[r.value])||((f=a.value)===null||f===void 0?void 0:f.other),v=typeof h=="function"?h():h;return _(_({},v),{appear:e.keyPath.length<=1})});return()=>{var d;return s.value?null:w(vS,{mode:r.value},{default:()=>[w(dr,c.value,{default:()=>[Ur(w(DY,{id:e.id},{default:()=>[(d=n.default)===null||d===void 0?void 0:d.call(n)]}),[[hi,u.value]])]})]})}}});let uN=0;const tTe=()=>({icon:U.any,title:U.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:He()}),md=se({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:tTe(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;var o,a;_Y(!1);const l=XD(),s=gr(),u=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;on(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const c=II(u)?u:`sub_menu_${++uN}_$$_not_set_key`,d=(o=e.eventKey)!==null&&o!==void 0?o:II(u)?`sub_menu_${++uN}_$$_${u}`:c,{parentEventKeys:f,parentInfo:h,parentKeys:v}=UD(),p=L(()=>[...v.value,c]),m={eventKey:d,key:c,parentEventKeys:f,childrenEventKeys:ae([]),parentKeys:v};(a=h.childrenEventKeys)===null||a===void 0||a.value.push(d),ht(()=>{var de;h.childrenEventKeys&&(h.childrenEventKeys.value=(de=h.childrenEventKeys)===null||de===void 0?void 0:de.value.filter(pe=>pe!=d))}),X2e(d,c,m);const{prefixCls:y,activeKeys:b,disabled:S,changeActiveKeys:x,mode:$,inlineCollapsed:C,openKeys:T,overflowDisabled:I,onOpenChange:P,registerMenuInfo:M,unRegisterMenuInfo:O,selectedSubMenuKeys:D,expandIcon:R,theme:A}=us(),E=u!=null,k=!l&&(CY()||!E);j2e(k),(l&&E||!l&&!E||k)&&(M(d,m),ht(()=>{O(d)}));const N=L(()=>`${y.value}-submenu`),B=L(()=>S.value||e.disabled),F=ae(),H=ae(),V=L(()=>T.value.includes(c)),X=L(()=>!I.value&&V.value),Q=L(()=>D.value.includes(c)),K=ae(!1);Se(b,()=>{K.value=!!b.value.find(de=>de===c)},{immediate:!0});const te=de=>{B.value||(i("titleClick",de,c),$.value==="inline"&&P(c,!V.value))},q=de=>{B.value||(x(p.value),i("mouseenter",de))},ee=de=>{B.value||(x([]),i("mouseleave",de))},J=AY(L(()=>p.value.length)),G=de=>{$.value!=="inline"&&P(c,de)},Y=()=>{x(p.value)},oe=d&&`${d}-popup`,W=L(()=>ce(y.value,`${y.value}-${e.theme||A.value}`,e.popupClassName)),Z=(de,pe)=>{if(!pe)return C.value&&!v.value.length&&de&&typeof de=="string"?w("div",{class:`${y.value}-inline-collapsed-noicon`},[de.charAt(0)]):w("span",{class:`${y.value}-title-content`},[de]);const me=zn(de)&&de.type==="span";return w(Qe,null,[Nt(typeof pe=="function"?pe(e.originItemValue):pe,{class:`${y.value}-item-icon`},!1),me?de:w("span",{class:`${y.value}-title-content`},[de])])},ne=L(()=>$.value!=="inline"&&p.value.length>1?"vertical":$.value),re=L(()=>$.value==="horizontal"?"vertical":$.value),le=L(()=>ne.value==="horizontal"?"vertical":ne.value),ie=()=>{var de,pe;const me=N.value,he=(de=e.icon)!==null&&de!==void 0?de:(pe=n.icon)===null||pe===void 0?void 0:pe.call(n,e),xe=e.expandIcon||n.expandIcon||R.value,Ce=Z(Un(n,e,"title"),he);return w("div",{style:J.value,class:`${me}-title`,tabindex:B.value?null:-1,ref:F,title:typeof Ce=="string"?Ce:null,"data-menu-id":c,"aria-expanded":X.value,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":B.value,onClick:te,onFocus:Y},[Ce,$.value!=="horizontal"&&xe?xe(_(_({},e),{isOpen:X.value})):w("i",{class:`${me}-arrow`},null)])};return()=>{var de;if(l)return E?(de=n.default)===null||de===void 0?void 0:de.call(n):null;const pe=N.value;let me=()=>null;if(!I.value&&$.value!=="inline"){const he=$.value==="horizontal"?[0,8]:[10,0];me=()=>w(sN,{mode:ne.value,prefixCls:pe,visible:!e.internalPopupClose&&X.value,popupClassName:W.value,popupOffset:e.popupOffset||he,disabled:B.value,onVisibleChange:G},{default:()=>[ie()],popup:()=>w(vS,{mode:le.value},{default:()=>[w(DY,{id:oe,ref:H},{default:n.default})]})})}else me=()=>w(sN,null,{default:ie});return w(vS,{mode:re.value},{default:()=>[w(lh.Item,z(z({component:"li"},r),{},{role:"none",class:ce(pe,`${pe}-${$.value}`,r.class,{[`${pe}-open`]:X.value,[`${pe}-active`]:K.value,[`${pe}-selected`]:Q.value,[`${pe}-disabled`]:B.value}),onMouseenter:q,onMouseleave:ee,"data-submenu-id":c}),{default:()=>w(Qe,null,[me(),!I.value&&w(eTe,{id:oe,open:X.value,keyPath:p.value},{default:n.default})])})]})}}});function EY(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function pS(e,t){e.classList?e.classList.add(t):EY(e,t)||(e.className=`${e.className} ${t}`)}function gS(e,t){if(e.classList)e.classList.remove(t);else if(EY(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const nTe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",pS(n,e)},onEnter:n=>{_t(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(gS(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{pS(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(gS(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},Gm=nTe,rTe=()=>({title:U.any,originItemValue:He()}),Kg=se({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:rTe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=us(),o=L(()=>`${i.value}-item-group`),a=XD();return()=>{var l,s;return a?(l=n.default)===null||l===void 0?void 0:l.call(n):w("li",z(z({},r),{},{onClick:u=>u.stopPropagation(),class:o.value}),[w("div",{title:typeof e.title=="string"?e.title:void 0,class:`${o.value}-title`},[Un(n,e,"title")]),w("ul",{class:`${o.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),iTe=()=>({prefixCls:String,dashed:Boolean}),Ug=se({compatConfig:{MODE:3},name:"AMenuDivider",props:iTe(),setup(e){const{prefixCls:t}=us(),n=L(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>w("li",{class:n.value},null)}});var oTe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(r&&typeof r=="object"){const o=r,{label:a,children:l,key:s,type:u}=o,c=oTe(o,["label","children","key","type"]),d=s!=null?s:`tmp-${i}`,f=n?n.parentKeys.slice():[],h=[],v={eventKey:d,key:d,parentEventKeys:ue(f),parentKeys:ue(f),childrenEventKeys:ue(h),isLeaf:!1};if(l||u==="group"){if(u==="group"){const g=rP(l,t,n);return w(Kg,z(z({key:d},c),{},{title:a,originItemValue:r}),{default:()=>[g]})}t.set(d,v),n&&n.childrenEventKeys.push(d);const p=rP(l,t,{childrenEventKeys:h,parentKeys:[].concat(f,d)});return w(md,z(z({key:d},c),{},{title:a,originItemValue:r}),{default:()=>[p]})}return u==="divider"?w(Ug,z({key:d},c),null):(v.isLeaf=!0,t.set(d,v),w(Ua,z(z({key:d},c),{},{originItemValue:r}),{default:()=>[a]}))}return null}).filter(r=>r)}function aTe(e){const t=ae([]),n=ae(!1),r=ae(new Map);return Se(()=>e.items,()=>{const i=new Map;n.value=!1,e.items?(n.value=!0,t.value=rP(e.items,i)):t.value=void 0,r.value=i},{immediate:!0,deep:!0}),{itemsNodes:t,store:r,hasItmes:n}}const lTe=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:i,lineWidth:o,lineType:a,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${o}px ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, + &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Mw}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:_(_({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Kl(e)),{[`${n}-item-group-title`]:{padding:`${c}px ${p}px`,color:e.colorTextDescription,transition:`all ${u}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${u}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:_(_({clear:"both",margin:0,padding:`${c}px ${p}px`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${u}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Kl(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:v,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:p+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[Ja(e,"slide-up"),Ja(e,"slide-down"),Bh(e,"move-up"),Bh(e,"move-down"),ov(e,"zoom-big")]]},gY=it("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:r,sizePopupArrow:i,controlHeight:o,fontSize:a,lineHeight:l,paddingXXS:s,componentCls:u,borderRadiusOuter:c,borderRadiusLG:d}=e,f=(o-a*l)/2,{dropdownArrowOffset:h}=aY({sizePopupArrow:i,contentRadius:d,borderRadiusOuter:c}),v=Ue(e,{menuCls:`${u}-menu`,rootPrefixCls:n,dropdownArrowDistance:i/2+r,dropdownArrowOffset:h,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[N2e(v),E2e(v),L2e(v)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var k2e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{i("update:visible",f),i("visibleChange",f),i("update:open",f),i("openChange",f)},{prefixCls:a,direction:l,getPopupContainer:s}=Ee("dropdown",e),u=L(()=>`${a.value}-button`),[c,d]=gY(a);return()=>{var f,h;const v=_(_({},e),r),{type:p="default",disabled:g,danger:m,loading:y,htmlType:b,class:S="",overlay:x=(f=n.overlay)===null||f===void 0?void 0:f.call(n),trigger:$,align:C,open:T,visible:I,onVisibleChange:P,placement:M=l.value==="rtl"?"bottomLeft":"bottomRight",href:O,title:D,icon:R=((h=n.icon)===null||h===void 0?void 0:h.call(n))||w(jD,null,null),mouseEnterDelay:A,mouseLeaveDelay:E,overlayClassName:k,overlayStyle:N,destroyPopupOnHide:B,onClick:F,"onUpdate:open":H}=v,V=k2e(v,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),X={align:C,disabled:g,trigger:g?[]:$,placement:M,getPopupContainer:s==null?void 0:s.value,onOpenChange:o,mouseEnterDelay:A,mouseLeaveDelay:E,open:T!=null?T:I,overlayClassName:k,overlayStyle:N,destroyPopupOnHide:B},Q=w(An,{danger:m,type:p,disabled:g,loading:y,onClick:F,htmlType:b,href:O,title:D},{default:n.default}),K=w(An,{danger:m,type:p,icon:R},null);return c(w(B2e,z(z({},V),{},{class:ce(u.value,S,d.value)}),{default:()=>[n.leftButton?n.leftButton({button:Q}):Q,w(Ua,X,{default:()=>[n.rightButton?n.rightButton({button:K}):K],overlay:()=>x})]}))}}});var F2e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const z2e=F2e;function aN(e){for(var t=1;tJe(mY,void 0),KD=e=>{var t,n,r;const{prefixCls:i,mode:o,selectable:a,validator:l,onClick:s,expandIcon:u}=yY()||{};at(mY,{prefixCls:L(()=>{var c,d;return(d=(c=e.prefixCls)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:i==null?void 0:i.value}),mode:L(()=>{var c,d;return(d=(c=e.mode)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:o==null?void 0:o.value}),selectable:L(()=>{var c,d;return(d=(c=e.selectable)===null||c===void 0?void 0:c.value)!==null&&d!==void 0?d:a==null?void 0:a.value}),validator:(t=e.validator)!==null&&t!==void 0?t:l,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(r=e.expandIcon)!==null&&r!==void 0?r:u==null?void 0:u.value})},bY=se({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:ft(pY(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,rootPrefixCls:a,direction:l,getPopupContainer:s}=Ee("dropdown",e),[u,c]=gY(o),d=L(()=>{const{placement:g="",transitionName:m}=e;return m!==void 0?m:g.includes("top")?`${a.value}-slide-down`:`${a.value}-slide-up`});KD({prefixCls:L(()=>`${o.value}-menu`),expandIcon:L(()=>w("span",{class:`${o.value}-menu-submenu-arrow`},[w(ca,{class:`${o.value}-menu-submenu-arrow-icon`},null)])),mode:L(()=>"vertical"),selectable:L(()=>!1),onClick:()=>{},validator:g=>{vn()}});const f=()=>{var g,m,y;const b=e.overlay||((g=n.overlay)===null||g===void 0?void 0:g.call(n)),S=Array.isArray(b)?b[0]:b;if(!S)return null;const x=S.props||{};on(!x.mode||x.mode==="vertical","Dropdown",`mode="${x.mode}" is not supported for Dropdown's Menu.`);const{selectable:$=!1,expandIcon:C=(y=(m=S.children)===null||m===void 0?void 0:m.expandIcon)===null||y===void 0?void 0:y.call(m)}=x,T=typeof C!="undefined"&&zn(C)?C:w("span",{class:`${o.value}-menu-submenu-arrow`},[w(ca,{class:`${o.value}-menu-submenu-arrow-icon`},null)]);return zn(S)?Nt(S,{mode:"vertical",selectable:$,expandIcon:()=>T}):S},h=L(()=>{const g=e.placement;if(!g)return l.value==="rtl"?"bottomRight":"bottomLeft";if(g.includes("Center")){const m=g.slice(0,g.indexOf("Center"));return on(!g.includes("Center"),"Dropdown",`You are using '${g}' placement in Dropdown, which is deprecated. Try to use '${m}' instead.`),m}return g}),v=L(()=>typeof e.visible=="boolean"?e.visible:e.open),p=g=>{i("update:visible",g),i("visibleChange",g),i("update:open",g),i("openChange",g)};return()=>{var g,m;const{arrow:y,trigger:b,disabled:S,overlayClassName:x}=e,$=(g=n.default)===null||g===void 0?void 0:g.call(n)[0],C=Nt($,_({class:ce((m=$==null?void 0:$.props)===null||m===void 0?void 0:m.class,{[`${o.value}-rtl`]:l.value==="rtl"},`${o.value}-trigger`)},S?{disabled:S}:{})),T=ce(x,c.value,{[`${o.value}-rtl`]:l.value==="rtl"}),I=S?[]:b;let P;I&&I.includes("contextmenu")&&(P=!0);const M=ND({arrowPointAtCenter:typeof y=="object"&&y.pointAtCenter,autoAdjustOverflow:!0}),O=yt(_(_(_({},e),r),{visible:v.value,builtinPlacements:M,overlayClassName:T,arrow:!!y,alignPoint:P,prefixCls:o.value,getPopupContainer:s==null?void 0:s.value,transitionName:d.value,trigger:I,onVisibleChange:p,placement:h.value}),["overlay","onUpdate:visible"]);return u(w(cY,O,{default:()=>[C],overlay:f}))}}});bY.Button=Gg;const Ua=bY;var V2e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,href:String,separator:U.any,dropdownProps:He(),overlay:U.any,onClick:fd()}),Kg=se({compatConfig:{MODE:3},name:"ABreadcrumbItem",inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:W2e(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o}=Ee("breadcrumb",e),a=(s,u)=>{const c=Un(n,e,"overlay");return c?w(Ua,z(z({},e.dropdownProps),{},{overlay:c,placement:"bottom"}),{default:()=>[w("span",{class:`${u}-overlay-link`},[s,w(Hm,null,null)])]}):s},l=s=>{i("click",s)};return()=>{var s;const u=(s=Un(n,e,"separator"))!==null&&s!==void 0?s:"/",c=Un(n,e),{class:d,style:f}=r,h=V2e(r,["class","style"]);let v;return e.href!==void 0?v=w("a",z({class:`${o.value}-link`,onClick:l},h),[c]):v=w("span",z({class:`${o.value}-link`,onClick:l},h),[c]),v=a(v,o.value),c!=null?w("li",{class:d,style:f},[v,u&&w("span",{class:`${o.value}-separator`},[u])]):null}}});function j2e(e,t,n,r){let i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;const l=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s{at(SY,e)},us=()=>Je(SY),wY=Symbol("ForceRenderKey"),G2e=e=>{at(wY,e)},CY=()=>Je(wY,!1),$Y=Symbol("menuFirstLevelContextKey"),_Y=e=>{at($Y,e)},K2e=()=>Je($Y,!0),vS=se({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const r=us(),i=_({},r);return e.mode!==void 0&&(i.mode=qe(e,"mode")),e.overflowDisabled!==void 0&&(i.overflowDisabled=qe(e,"overflowDisabled")),xY(i),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),U2e=xY,TY=Symbol("siderCollapsed"),IY=Symbol("siderHookProvider"),Zy="$$__vc-menu-more__key",PY=Symbol("KeyPathContext"),UD=()=>Je(PY,{parentEventKeys:L(()=>[]),parentKeys:L(()=>[]),parentInfo:{}}),X2e=(e,t,n)=>{const{parentEventKeys:r,parentKeys:i}=UD(),o=L(()=>[...r.value,e]),a=L(()=>[...i.value,t]);return at(PY,{parentEventKeys:o,parentKeys:a,parentInfo:n}),a},MY=Symbol("measure"),lN=se({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return at(MY,!0),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),XD=()=>Je(MY,!1),Y2e=X2e;function AY(e){const{mode:t,rtl:n,inlineIndent:r}=us();return L(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*r.value}px`}:{paddingLeft:`${e.value*r.value}px`})}let q2e=0;const Z2e=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:U.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:He()}),Xa=se({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:Z2e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=gr(),a=XD(),l=typeof o.vnode.key=="symbol"?String(o.vnode.key):o.vnode.key;on(typeof o.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(l)}"\` not support Symbol type`);const s=`menu_item_${++q2e}_$$_${l}`,{parentEventKeys:u,parentKeys:c}=UD(),{prefixCls:d,activeKeys:f,disabled:h,changeActiveKeys:v,rtl:p,inlineCollapsed:g,siderCollapsed:m,onItemClick:y,selectedKeys:b,registerMenuInfo:S,unRegisterMenuInfo:x}=us(),$=K2e(),C=ae(!1),T=L(()=>[...c.value,l]);S(s,{eventKey:s,key:l,parentEventKeys:u,parentKeys:c,isLeaf:!0}),ht(()=>{x(s)}),Se(f,()=>{C.value=!!f.value.find(H=>H===l)},{immediate:!0});const P=L(()=>h.value||e.disabled),M=L(()=>b.value.includes(l)),O=L(()=>{const H=`${d.value}-item`;return{[`${H}`]:!0,[`${H}-danger`]:e.danger,[`${H}-active`]:C.value,[`${H}-selected`]:M.value,[`${H}-disabled`]:P.value}}),D=H=>({key:l,eventKey:s,keyPath:T.value,eventKeyPath:[...u.value,s],domEvent:H,item:_(_({},e),i)}),R=H=>{if(P.value)return;const V=D(H);r("click",H),y(V)},A=H=>{P.value||(v(T.value),r("mouseenter",H))},E=H=>{P.value||(v([]),r("mouseleave",H))},k=H=>{if(r("keydown",H),H.which===Pe.ENTER){const V=D(H);r("click",H),y(V)}},N=H=>{v(T.value),r("focus",H)},B=(H,V)=>{const X=w("span",{class:`${d.value}-title-content`},[V]);return(!H||zn(V)&&V.type==="span")&&V&&g.value&&$&&typeof V=="string"?w("div",{class:`${d.value}-inline-collapsed-noicon`},[V.charAt(0)]):X},F=AY(L(()=>T.value.length));return()=>{var H,V,X,Q,K;if(a)return null;const te=(H=e.title)!==null&&H!==void 0?H:(V=n.title)===null||V===void 0?void 0:V.call(n),q=Jt((X=n.default)===null||X===void 0?void 0:X.call(n)),ee=q.length;let J=te;typeof te=="undefined"?J=$&&ee?q:"":te===!1&&(J="");const G={title:J};!m.value&&!g.value&&(G.title=null,G.open=!1);const Y={};e.role==="option"&&(Y["aria-selected"]=M.value);const oe=(Q=e.icon)!==null&&Q!==void 0?Q:(K=n.icon)===null||K===void 0?void 0:K.call(n,e);return w(Mi,z(z({},G),{},{placement:p.value?"left":"right",overlayClassName:`${d.value}-inline-collapsed-tooltip`}),{default:()=>[w(sh.Item,z(z(z({component:"li"},i),{},{id:e.id,style:_(_({},i.style||{}),F.value),class:[O.value,{[`${i.class}`]:!!i.class,[`${d.value}-item-only-child`]:(oe?ee+1:ee)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":l,"aria-disabled":e.disabled},Y),{},{onMouseenter:A,onMouseleave:E,onClick:R,onKeydown:k,onFocus:N,title:typeof te=="string"?te:void 0}),{default:()=>[Nt(typeof oe=="function"?oe(e.originItemValue):oe,{class:`${d.value}-item-icon`},!1),B(oe,q)]})]})}}}),Gs={adjustX:1,adjustY:1},Q2e={topLeft:{points:["bl","tl"],overflow:Gs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Gs,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Gs,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Gs,offset:[4,0]}},J2e={topLeft:{points:["bl","tl"],overflow:Gs,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Gs,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Gs,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Gs,offset:[4,0]}},eTe={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},sN=se({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:r}=t;const i=ae(!1),{getPopupContainer:o,rtl:a,subMenuOpenDelay:l,subMenuCloseDelay:s,builtinPlacements:u,triggerSubMenuAction:c,forceSubMenuRender:d,motion:f,defaultMotions:h,rootClassName:v}=us(),p=CY(),g=L(()=>a.value?_(_({},J2e),u.value):_(_({},Q2e),u.value)),m=L(()=>eTe[e.mode]),y=ae();Se(()=>e.visible,x=>{dt.cancel(y.value),y.value=dt(()=>{i.value=x})},{immediate:!0}),ht(()=>{dt.cancel(y.value)});const b=x=>{r("visibleChange",x)},S=L(()=>{var x,$;const C=f.value||((x=h.value)===null||x===void 0?void 0:x[e.mode])||(($=h.value)===null||$===void 0?void 0:$.other),T=typeof C=="function"?C():C;return T?Eo(T.name,{css:!0}):void 0});return()=>{const{prefixCls:x,popupClassName:$,mode:C,popupOffset:T,disabled:I}=e;return w(Nd,{prefixCls:x,popupClassName:ce(`${x}-popup`,{[`${x}-rtl`]:a.value},$,v.value),stretch:C==="horizontal"?"minWidth":null,getPopupContainer:o.value,builtinPlacements:g.value,popupPlacement:m.value,popupVisible:i.value,popupAlign:T&&{offset:T},action:I?[]:[c.value],mouseEnterDelay:l.value,mouseLeaveDelay:s.value,onPopupVisibleChange:b,forceRender:p||d.value,popupAnimation:S.value},{popup:n.popup,default:n.default})}}}),OY=(e,t)=>{let{slots:n,attrs:r}=t;var i;const{prefixCls:o,mode:a}=us();return w("ul",z(z({},r),{},{class:ce(o.value,`${o.value}-sub`,`${o.value}-${a.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(i=n.default)===null||i===void 0?void 0:i.call(n)])};OY.displayName="SubMenuList";const DY=OY,tTe=se({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const r=L(()=>"inline"),{motion:i,mode:o,defaultMotions:a}=us(),l=L(()=>o.value===r.value),s=ue(!l.value),u=L(()=>l.value?e.open:!1);Se(o,()=>{l.value&&(s.value=!1)},{flush:"post"});const c=L(()=>{var d,f;const h=i.value||((d=a.value)===null||d===void 0?void 0:d[r.value])||((f=a.value)===null||f===void 0?void 0:f.other),v=typeof h=="function"?h():h;return _(_({},v),{appear:e.keyPath.length<=1})});return()=>{var d;return s.value?null:w(vS,{mode:r.value},{default:()=>[w(dr,c.value,{default:()=>[Ur(w(DY,{id:e.id},{default:()=>[(d=n.default)===null||d===void 0?void 0:d.call(n)]}),[[hi,u.value]])]})]})}}});let uN=0;const nTe=()=>({icon:U.any,title:U.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:He()}),md=se({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:nTe(),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:i}=t;var o,a;_Y(!1);const l=XD(),s=gr(),u=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;on(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(u)}"\` not support Symbol type`);const c=II(u)?u:`sub_menu_${++uN}_$$_not_set_key`,d=(o=e.eventKey)!==null&&o!==void 0?o:II(u)?`sub_menu_${++uN}_$$_${u}`:c,{parentEventKeys:f,parentInfo:h,parentKeys:v}=UD(),p=L(()=>[...v.value,c]),m={eventKey:d,key:c,parentEventKeys:f,childrenEventKeys:ae([]),parentKeys:v};(a=h.childrenEventKeys)===null||a===void 0||a.value.push(d),ht(()=>{var de;h.childrenEventKeys&&(h.childrenEventKeys.value=(de=h.childrenEventKeys)===null||de===void 0?void 0:de.value.filter(pe=>pe!=d))}),Y2e(d,c,m);const{prefixCls:y,activeKeys:b,disabled:S,changeActiveKeys:x,mode:$,inlineCollapsed:C,openKeys:T,overflowDisabled:I,onOpenChange:P,registerMenuInfo:M,unRegisterMenuInfo:O,selectedSubMenuKeys:D,expandIcon:R,theme:A}=us(),E=u!=null,k=!l&&(CY()||!E);G2e(k),(l&&E||!l&&!E||k)&&(M(d,m),ht(()=>{O(d)}));const N=L(()=>`${y.value}-submenu`),B=L(()=>S.value||e.disabled),F=ae(),H=ae(),V=L(()=>T.value.includes(c)),X=L(()=>!I.value&&V.value),Q=L(()=>D.value.includes(c)),K=ae(!1);Se(b,()=>{K.value=!!b.value.find(de=>de===c)},{immediate:!0});const te=de=>{B.value||(i("titleClick",de,c),$.value==="inline"&&P(c,!V.value))},q=de=>{B.value||(x(p.value),i("mouseenter",de))},ee=de=>{B.value||(x([]),i("mouseleave",de))},J=AY(L(()=>p.value.length)),G=de=>{$.value!=="inline"&&P(c,de)},Y=()=>{x(p.value)},oe=d&&`${d}-popup`,W=L(()=>ce(y.value,`${y.value}-${e.theme||A.value}`,e.popupClassName)),Z=(de,pe)=>{if(!pe)return C.value&&!v.value.length&&de&&typeof de=="string"?w("div",{class:`${y.value}-inline-collapsed-noicon`},[de.charAt(0)]):w("span",{class:`${y.value}-title-content`},[de]);const me=zn(de)&&de.type==="span";return w(Qe,null,[Nt(typeof pe=="function"?pe(e.originItemValue):pe,{class:`${y.value}-item-icon`},!1),me?de:w("span",{class:`${y.value}-title-content`},[de])])},ne=L(()=>$.value!=="inline"&&p.value.length>1?"vertical":$.value),re=L(()=>$.value==="horizontal"?"vertical":$.value),le=L(()=>ne.value==="horizontal"?"vertical":ne.value),ie=()=>{var de,pe;const me=N.value,he=(de=e.icon)!==null&&de!==void 0?de:(pe=n.icon)===null||pe===void 0?void 0:pe.call(n,e),xe=e.expandIcon||n.expandIcon||R.value,Ce=Z(Un(n,e,"title"),he);return w("div",{style:J.value,class:`${me}-title`,tabindex:B.value?null:-1,ref:F,title:typeof Ce=="string"?Ce:null,"data-menu-id":c,"aria-expanded":X.value,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":B.value,onClick:te,onFocus:Y},[Ce,$.value!=="horizontal"&&xe?xe(_(_({},e),{isOpen:X.value})):w("i",{class:`${me}-arrow`},null)])};return()=>{var de;if(l)return E?(de=n.default)===null||de===void 0?void 0:de.call(n):null;const pe=N.value;let me=()=>null;if(!I.value&&$.value!=="inline"){const he=$.value==="horizontal"?[0,8]:[10,0];me=()=>w(sN,{mode:ne.value,prefixCls:pe,visible:!e.internalPopupClose&&X.value,popupClassName:W.value,popupOffset:e.popupOffset||he,disabled:B.value,onVisibleChange:G},{default:()=>[ie()],popup:()=>w(vS,{mode:le.value},{default:()=>[w(DY,{id:oe,ref:H},{default:n.default})]})})}else me=()=>w(sN,null,{default:ie});return w(vS,{mode:re.value},{default:()=>[w(sh.Item,z(z({component:"li"},r),{},{role:"none",class:ce(pe,`${pe}-${$.value}`,r.class,{[`${pe}-open`]:X.value,[`${pe}-active`]:K.value,[`${pe}-selected`]:Q.value,[`${pe}-disabled`]:B.value}),onMouseenter:q,onMouseleave:ee,"data-submenu-id":c}),{default:()=>w(Qe,null,[me(),!I.value&&w(tTe,{id:oe,open:X.value,keyPath:p.value},{default:n.default})])})]})}}});function EY(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function pS(e,t){e.classList?e.classList.add(t):EY(e,t)||(e.className=`${e.className} ${t}`)}function gS(e,t){if(e.classList)e.classList.remove(t);else if(EY(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const rTe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",pS(n,e)},onEnter:n=>{_t(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(gS(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{pS(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(gS(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},Gm=rTe,iTe=()=>({title:U.any,originItemValue:He()}),Ug=se({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:iTe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=us(),o=L(()=>`${i.value}-item-group`),a=XD();return()=>{var l,s;return a?(l=n.default)===null||l===void 0?void 0:l.call(n):w("li",z(z({},r),{},{onClick:u=>u.stopPropagation(),class:o.value}),[w("div",{title:typeof e.title=="string"?e.title:void 0,class:`${o.value}-title`},[Un(n,e,"title")]),w("ul",{class:`${o.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),oTe=()=>({prefixCls:String,dashed:Boolean}),Xg=se({compatConfig:{MODE:3},name:"AMenuDivider",props:oTe(),setup(e){const{prefixCls:t}=us(),n=L(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>w("li",{class:n.value},null)}});var aTe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(r&&typeof r=="object"){const o=r,{label:a,children:l,key:s,type:u}=o,c=aTe(o,["label","children","key","type"]),d=s!=null?s:`tmp-${i}`,f=n?n.parentKeys.slice():[],h=[],v={eventKey:d,key:d,parentEventKeys:ue(f),parentKeys:ue(f),childrenEventKeys:ue(h),isLeaf:!1};if(l||u==="group"){if(u==="group"){const g=rP(l,t,n);return w(Ug,z(z({key:d},c),{},{title:a,originItemValue:r}),{default:()=>[g]})}t.set(d,v),n&&n.childrenEventKeys.push(d);const p=rP(l,t,{childrenEventKeys:h,parentKeys:[].concat(f,d)});return w(md,z(z({key:d},c),{},{title:a,originItemValue:r}),{default:()=>[p]})}return u==="divider"?w(Xg,z({key:d},c),null):(v.isLeaf=!0,t.set(d,v),w(Xa,z(z({key:d},c),{},{originItemValue:r}),{default:()=>[a]}))}return null}).filter(r=>r)}function lTe(e){const t=ae([]),n=ae(!1),r=ae(new Map);return Se(()=>e.items,()=>{const i=new Map;n.value=!1,e.items?(n.value=!0,t.value=rP(e.items,i)):t.value=void 0,r.value=i},{immediate:!0,deep:!0}),{itemsNodes:t,store:r,hasItmes:n}}const sTe=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:r,colorSplit:i,lineWidth:o,lineType:a,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${r}px`,border:0,borderBottom:`${o}px ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},sTe=lTe,uTe=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},cTe=uTe,cN=e=>_({},jl(e)),dTe=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:i,colorGroupTitle:o,colorItemBg:a,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:c,colorActiveBarBorderSize:d,motionDurationSlow:f,motionEaseInOut:h,motionEaseOut:v,menuItemPaddingInline:p,motionDurationMid:g,colorItemTextHover:m,lineType:y,colorSplit:b,colorItemTextDisabled:S,colorDangerItemText:x,colorDangerItemTextHover:$,colorDangerItemTextSelected:C,colorDangerItemBgActive:T,colorDangerItemBgSelected:I,colorItemBgHover:P,menuSubMenuBg:M,colorItemTextSelectedHorizontal:O,colorItemBgSelectedHorizontal:D}=e;return{[`${n}-${t}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:_({},cN(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:i}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${S} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:m}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:$}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:C},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:I}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:_({},cN(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:a},[`&${n}-horizontal`]:_(_({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:p,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${f} ${h}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:O}},"&-selected":{color:O,backgroundColor:D,"&::after":{borderBottomWidth:u,borderBottomColor:O}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:d&&c?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${c}px solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${g} ${v}`,`opacity ${g} ${v}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:C}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${g} ${h}`,`opacity ${g} ${h}`].join(",")}}}}}},dN=dTe,fN=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:a,marginXXS:l}=e,s=i+o+a;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},uTe=sTe,cTe=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},dTe=cTe,cN=e=>_({},Gl(e)),fTe=(e,t)=>{const{componentCls:n,colorItemText:r,colorItemTextSelected:i,colorGroupTitle:o,colorItemBg:a,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:u,colorActiveBarWidth:c,colorActiveBarBorderSize:d,motionDurationSlow:f,motionEaseInOut:h,motionEaseOut:v,menuItemPaddingInline:p,motionDurationMid:g,colorItemTextHover:m,lineType:y,colorSplit:b,colorItemTextDisabled:S,colorDangerItemText:x,colorDangerItemTextHover:$,colorDangerItemTextSelected:C,colorDangerItemBgActive:T,colorDangerItemBgSelected:I,colorItemBgHover:P,menuSubMenuBg:M,colorItemTextSelectedHorizontal:O,colorItemBgSelectedHorizontal:D}=e;return{[`${n}-${t}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:_({},cN(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:i}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${S} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:m}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:$}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:C},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:I}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:_({},cN(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:a},[`&${n}-horizontal`]:_(_({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:p,bottom:0,borderBottom:`${u}px solid transparent`,transition:`border-color ${f} ${h}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:u,borderBottomColor:O}},"&-selected":{color:O,backgroundColor:D,"&::after":{borderBottomWidth:u,borderBottomColor:O}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:d&&c?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${c}px solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${g} ${v}`,`opacity ${g} ${v}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:C}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${g} ${h}`,`opacity ${g} ${h}`].join(",")}}}}}},dN=fTe,fN=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:a,marginXXS:l}=e,s=i+o+a;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:`calc(100% - ${r*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:s}}},fTe=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:i,dropdownWidth:o,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:u,fontSizeSM:c,fontSizeLG:d,motionDurationSlow:f,paddingXS:h,boxShadowSecondary:v}=e,p={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":_({[`&${t}-root`]:{boxShadow:"none"}},fN(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:_(_({},fN(e)),{boxShadow:v})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${a*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:p,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:p}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, + ${t}-submenu-title`]:{paddingInlineEnd:s}}},hTe=e=>{const{componentCls:t,iconCls:n,menuItemHeight:r,colorTextLightSolid:i,dropdownWidth:o,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:u,fontSizeSM:c,fontSizeLG:d,motionDurationSlow:f,paddingXS:h,boxShadowSecondary:v}=e,p={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":_({[`&${t}-root`]:{boxShadow:"none"}},fN(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:_(_({},fN(e)),{boxShadow:v})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${a*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:p,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:p}},{[`${t}-inline-collapsed`]:{width:r*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${c}px)`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:d,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:_(_({},Hn),{paddingInline:h})}}]},hTe=fTe,hN=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:o,motionEaseOut:a,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${o}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${i} ${a}`,`margin ${r} ${o}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${r} ${o}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:_({},Ad()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},vN=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:o,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:o*.6,height:o*.15,backgroundColor:"currentcolor",borderRadius:i,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},vTe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:o,motionEaseInOut:a,lineHeight:l,paddingXS:s,padding:u,colorSplit:c,lineWidth:d,zIndexPopup:f,borderRadiusLG:h,radiusSubMenuItem:v,menuArrowSize:p,menuArrowOffset:g,lineType:m,menuPanelMaskInset:y}=e;return[{"":{[`${n}`]:_(_({},aa()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:_(_(_(_(_(_(_({},st(e)),aa()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:r,lineHeight:l,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${i} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${i}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:m,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),hN(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,background:"transparent",borderRadius:h,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${y}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:y},[`> ${n}`]:_(_(_({borderRadius:h},hN(e)),vN(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:v},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${a}`}})}}),vN(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${p*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},pTe=(e,t)=>it("Menu",(r,i)=>{let{overrideComponentToken:o}=i;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:a,colorPrimary:l,colorError:s,colorErrorHover:u,colorTextLightSolid:c}=r,{controlHeightLG:d,fontSize:f}=r,h=f/7*5,v=Ue(r,{menuItemHeight:d,menuItemPaddingInline:r.margin,menuArrowSize:h,menuHorizontalHeight:d*1.15,menuArrowOffset:`${h*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:a}),p=new zt(c).setAlpha(.65).toRgbString(),g=Ue(v,{colorItemText:p,colorItemTextHover:c,colorGroupTitle:p,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new zt(c).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:c,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:l},_({},o));return[vTe(v),sTe(v),hTe(v),dN(v,"light"),dN(g,"dark"),cTe(v),jm(v),Qa(v,"slide-up"),Qa(v,"slide-down"),iv(v,"zoom-big")]},r=>{const{colorPrimary:i,colorError:o,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:c,colorFillAlter:d,colorFillContent:f,lineWidth:h,lineWidthBold:v,controlItemBgActive:p,colorBgTextHover:g}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:i,colorGroupTitle:u,colorItemTextSelected:i,colorItemTextSelectedHorizontal:i,colorItemBg:c,colorItemBgHover:g,colorItemBgActive:f,colorSubItemBg:d,colorItemBgSelected:p,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:v,colorActiveBarBorderSize:h,colorItemTextDisabled:a,colorDangerItemText:o,colorDangerItemTextHover:o,colorDangerItemTextSelected:o,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:r.marginXXS}})(e),gTe=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),pN=[],Ln=se({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:gTe(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{direction:o,getPrefixCls:a}=Ee("menu",e),l=yY(),s=L(()=>{var q;return a("menu",e.prefixCls||((q=l==null?void 0:l.prefixCls)===null||q===void 0?void 0:q.value))}),[u,c]=pTe(s,L(()=>!l)),d=ae(new Map),f=Je(TY,ue(void 0)),h=L(()=>f.value!==void 0?f.value:e.inlineCollapsed),{itemsNodes:v}=aTe(e),p=ae(!1);tt(()=>{p.value=!0}),Ye(()=>{on(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),on(!(f.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const g=ue([]),m=ue([]),y=ue({});Se(d,()=>{const q={};for(const ee of d.value.values())q[ee.key]=ee;y.value=q},{flush:"post"}),Ye(()=>{if(e.activeKey!==void 0){let q=[];const ee=e.activeKey?y.value[e.activeKey]:void 0;ee&&e.activeKey!==void 0?q=z$([].concat(yn(ee.parentKeys),e.activeKey)):q=[],Df(g.value,q)||(g.value=q)}}),Se(()=>e.selectedKeys,q=>{q&&(m.value=q.slice())},{immediate:!0,deep:!0});const b=ue([]);Se([y,m],()=>{let q=[];m.value.forEach(ee=>{const J=y.value[ee];J&&(q=q.concat(yn(J.parentKeys)))}),q=z$(q),Df(b.value,q)||(b.value=q)},{immediate:!0});const S=q=>{if(e.selectable){const{key:ee}=q,J=m.value.includes(ee);let G;e.multiple?J?G=m.value.filter(oe=>oe!==ee):G=[...m.value,ee]:G=[ee];const Y=_(_({},q),{selectedKeys:G});Df(G,m.value)||(e.selectedKeys===void 0&&(m.value=G),r("update:selectedKeys",G),J&&e.multiple?r("deselect",Y):r("select",Y))}P.value!=="inline"&&!e.multiple&&x.value.length&&D(pN)},x=ue([]);Se(()=>e.openKeys,function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x.value;Df(x.value,q)||(x.value=q.slice())},{immediate:!0,deep:!0});let $;const C=q=>{clearTimeout($),$=setTimeout(()=>{e.activeKey===void 0&&(g.value=q),r("update:activeKey",q[q.length-1])})},T=L(()=>!!e.disabled),I=L(()=>o.value==="rtl"),P=ue("vertical"),M=ae(!1);Ye(()=>{var q;(e.mode==="inline"||e.mode==="vertical")&&h.value?(P.value="vertical",M.value=h.value):(P.value=e.mode,M.value=!1),!((q=l==null?void 0:l.mode)===null||q===void 0)&&q.value&&(P.value=l.mode.value)});const O=L(()=>P.value==="inline"),D=q=>{x.value=q,r("update:openKeys",q),r("openChange",q)},R=ue(x.value),A=ae(!1);Se(x,()=>{O.value&&(R.value=x.value)},{immediate:!0}),Se(O,()=>{if(!A.value){A.value=!0;return}O.value?x.value=R.value:D(pN)},{immediate:!0});const E=L(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${P.value}`]:!0,[`${s.value}-inline-collapsed`]:M.value,[`${s.value}-rtl`]:I.value,[`${s.value}-${e.theme}`]:!0})),k=L(()=>a()),N=L(()=>({horizontal:{name:`${k.value}-slide-up`},inline:Gm(`${k.value}-motion-collapse`),other:{name:`${k.value}-zoom-big`}}));_Y(!0);const B=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ee=[],J=d.value;return q.forEach(G=>{const{key:Y,childrenEventKeys:oe}=J.get(G);ee.push(Y,...B(yn(oe)))}),ee},F=q=>{var ee;r("click",q),S(q),(ee=l==null?void 0:l.onClick)===null||ee===void 0||ee.call(l)},H=(q,ee)=>{var J;const G=((J=y.value[q])===null||J===void 0?void 0:J.childrenEventKeys)||[];let Y=x.value.filter(oe=>oe!==q);if(ee)Y.push(q);else if(P.value!=="inline"){const oe=B(yn(G));Y=z$(Y.filter(W=>!oe.includes(W)))}Df(x,Y)||D(Y)},V=(q,ee)=>{d.value.set(q,ee),d.value=new Map(d.value)},X=q=>{d.value.delete(q),d.value=new Map(d.value)},Q=ue(0),K=L(()=>{var q;return e.expandIcon||n.expandIcon||!((q=l==null?void 0:l.expandIcon)===null||q===void 0)&&q.value?ee=>{let J=e.expandIcon||n.expandIcon;return J=typeof J=="function"?J(ee):J,Nt(J,{class:`${s.value}-submenu-expand-icon`},!1)}:null});K2e({prefixCls:s,activeKeys:g,openKeys:x,selectedKeys:m,changeActiveKeys:C,disabled:T,rtl:I,mode:P,inlineIndent:L(()=>e.inlineIndent),subMenuCloseDelay:L(()=>e.subMenuCloseDelay),subMenuOpenDelay:L(()=>e.subMenuOpenDelay),builtinPlacements:L(()=>e.builtinPlacements),triggerSubMenuAction:L(()=>e.triggerSubMenuAction),getPopupContainer:L(()=>e.getPopupContainer),inlineCollapsed:M,theme:L(()=>e.theme),siderCollapsed:f,defaultMotions:L(()=>p.value?N.value:null),motion:L(()=>p.value?e.motion:null),overflowDisabled:ae(void 0),onOpenChange:H,onItemClick:F,registerMenuInfo:V,unRegisterMenuInfo:X,selectedSubMenuKeys:b,expandIcon:K,forceSubMenuRender:L(()=>e.forceSubMenuRender),rootClassName:c});const te=()=>{var q;return v.value||Jt((q=n.default)===null||q===void 0?void 0:q.call(n))};return()=>{var q;const ee=te(),J=Q.value>=ee.length-1||P.value!=="horizontal"||e.disabledOverflow,G=oe=>P.value!=="horizontal"||e.disabledOverflow?oe:oe.map((W,Z)=>w(vS,{key:W.key,overflowDisabled:Z>Q.value},{default:()=>W})),Y=((q=n.overflowedIndicator)===null||q===void 0?void 0:q.call(n))||w(jD,null,null);return u(w(lh,z(z({},i),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:Ua,class:[E.value,i.class,c.value],role:"menu",id:e.id,data:G(ee),renderRawItem:oe=>oe,renderRawRest:oe=>{const W=oe.length,Z=W?ee.slice(-W):null;return w(Qe,null,[w(md,{eventKey:Zy,key:Zy,title:Y,disabled:J,internalPopupClose:W===0},{default:()=>Z}),w(lN,null,{default:()=>[w(md,{eventKey:Zy,key:Zy,title:Y,disabled:J,internalPopupClose:W===0},{default:()=>Z})]})])},maxCount:P.value!=="horizontal"||e.disabledOverflow?lh.INVALIDATE:lh.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:oe=>{Q.value=oe}}),{default:()=>[w(tO,{to:"body"},{default:()=>[w("div",{style:{display:"none"},"aria-hidden":!0},[w(lN,null,{default:()=>[G(te())]})])]})]}))}}});Ln.install=function(e){return e.component(Ln.name,Ln),e.component(Ua.name,Ua),e.component(md.name,md),e.component(Ug.name,Ug),e.component(Kg.name,Kg),e};Ln.Item=Ua;Ln.Divider=Ug;Ln.SubMenu=md;Ln.ItemGroup=Kg;const mTe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:_(_({},st(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:_({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},Gl(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[` + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:d,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:_(_({},Hn),{paddingInline:h})}}]},vTe=hTe,hN=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:o,motionEaseOut:a,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${o}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${i} ${a}`,`margin ${r} ${o}`,`color ${r}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${r} ${o}`,`margin ${r}`,`color ${r}`].join(",")}},[`${t}-item-icon`]:_({},Od()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},vN=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:o,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:o*.6,height:o*.15,backgroundColor:"currentcolor",borderRadius:i,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},pTe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:o,motionEaseInOut:a,lineHeight:l,paddingXS:s,padding:u,colorSplit:c,lineWidth:d,zIndexPopup:f,borderRadiusLG:h,radiusSubMenuItem:v,menuArrowSize:p,menuArrowOffset:g,lineType:m,menuPanelMaskInset:y}=e;return[{"":{[`${n}`]:_(_({},la()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:_(_(_(_(_(_(_({},st(e)),la()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${u}px`,fontSize:r,lineHeight:l,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${i} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${i}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:m,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),hN(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${r*2}px ${u}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,background:"transparent",borderRadius:h,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${y}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:y},[`> ${n}`]:_(_(_({borderRadius:h},hN(e)),vN(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:v},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${a}`}})}}),vN(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${p*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},gTe=(e,t)=>it("Menu",(r,i)=>{let{overrideComponentToken:o}=i;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:a,colorPrimary:l,colorError:s,colorErrorHover:u,colorTextLightSolid:c}=r,{controlHeightLG:d,fontSize:f}=r,h=f/7*5,v=Ue(r,{menuItemHeight:d,menuItemPaddingInline:r.margin,menuArrowSize:h,menuHorizontalHeight:d*1.15,menuArrowOffset:`${h*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:a}),p=new zt(c).setAlpha(.65).toRgbString(),g=Ue(v,{colorItemText:p,colorItemTextHover:c,colorGroupTitle:p,colorItemTextSelected:c,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new zt(c).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:u,colorDangerItemTextSelected:c,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:c,colorItemBgSelectedHorizontal:l},_({},o));return[pTe(v),uTe(v),vTe(v),dN(v,"light"),dN(g,"dark"),dTe(v),jm(v),Ja(v,"slide-up"),Ja(v,"slide-down"),ov(v,"zoom-big")]},r=>{const{colorPrimary:i,colorError:o,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:c,colorFillAlter:d,colorFillContent:f,lineWidth:h,lineWidthBold:v,controlItemBgActive:p,colorBgTextHover:g}=r;return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:i,colorGroupTitle:u,colorItemTextSelected:i,colorItemTextSelectedHorizontal:i,colorItemBg:c,colorItemBgHover:g,colorItemBgActive:f,colorSubItemBg:d,colorItemBgSelected:p,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:v,colorActiveBarBorderSize:h,colorItemTextDisabled:a,colorDangerItemText:o,colorDangerItemTextHover:o,colorDangerItemTextSelected:o,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:r.marginXXS}})(e),mTe=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),pN=[],Ln=se({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:mTe(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{direction:o,getPrefixCls:a}=Ee("menu",e),l=yY(),s=L(()=>{var q;return a("menu",e.prefixCls||((q=l==null?void 0:l.prefixCls)===null||q===void 0?void 0:q.value))}),[u,c]=gTe(s,L(()=>!l)),d=ae(new Map),f=Je(TY,ue(void 0)),h=L(()=>f.value!==void 0?f.value:e.inlineCollapsed),{itemsNodes:v}=lTe(e),p=ae(!1);tt(()=>{p.value=!0}),Ye(()=>{on(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),on(!(f.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const g=ue([]),m=ue([]),y=ue({});Se(d,()=>{const q={};for(const ee of d.value.values())q[ee.key]=ee;y.value=q},{flush:"post"}),Ye(()=>{if(e.activeKey!==void 0){let q=[];const ee=e.activeKey?y.value[e.activeKey]:void 0;ee&&e.activeKey!==void 0?q=z$([].concat(yn(ee.parentKeys),e.activeKey)):q=[],Ef(g.value,q)||(g.value=q)}}),Se(()=>e.selectedKeys,q=>{q&&(m.value=q.slice())},{immediate:!0,deep:!0});const b=ue([]);Se([y,m],()=>{let q=[];m.value.forEach(ee=>{const J=y.value[ee];J&&(q=q.concat(yn(J.parentKeys)))}),q=z$(q),Ef(b.value,q)||(b.value=q)},{immediate:!0});const S=q=>{if(e.selectable){const{key:ee}=q,J=m.value.includes(ee);let G;e.multiple?J?G=m.value.filter(oe=>oe!==ee):G=[...m.value,ee]:G=[ee];const Y=_(_({},q),{selectedKeys:G});Ef(G,m.value)||(e.selectedKeys===void 0&&(m.value=G),r("update:selectedKeys",G),J&&e.multiple?r("deselect",Y):r("select",Y))}P.value!=="inline"&&!e.multiple&&x.value.length&&D(pN)},x=ue([]);Se(()=>e.openKeys,function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x.value;Ef(x.value,q)||(x.value=q.slice())},{immediate:!0,deep:!0});let $;const C=q=>{clearTimeout($),$=setTimeout(()=>{e.activeKey===void 0&&(g.value=q),r("update:activeKey",q[q.length-1])})},T=L(()=>!!e.disabled),I=L(()=>o.value==="rtl"),P=ue("vertical"),M=ae(!1);Ye(()=>{var q;(e.mode==="inline"||e.mode==="vertical")&&h.value?(P.value="vertical",M.value=h.value):(P.value=e.mode,M.value=!1),!((q=l==null?void 0:l.mode)===null||q===void 0)&&q.value&&(P.value=l.mode.value)});const O=L(()=>P.value==="inline"),D=q=>{x.value=q,r("update:openKeys",q),r("openChange",q)},R=ue(x.value),A=ae(!1);Se(x,()=>{O.value&&(R.value=x.value)},{immediate:!0}),Se(O,()=>{if(!A.value){A.value=!0;return}O.value?x.value=R.value:D(pN)},{immediate:!0});const E=L(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${P.value}`]:!0,[`${s.value}-inline-collapsed`]:M.value,[`${s.value}-rtl`]:I.value,[`${s.value}-${e.theme}`]:!0})),k=L(()=>a()),N=L(()=>({horizontal:{name:`${k.value}-slide-up`},inline:Gm(`${k.value}-motion-collapse`),other:{name:`${k.value}-zoom-big`}}));_Y(!0);const B=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ee=[],J=d.value;return q.forEach(G=>{const{key:Y,childrenEventKeys:oe}=J.get(G);ee.push(Y,...B(yn(oe)))}),ee},F=q=>{var ee;r("click",q),S(q),(ee=l==null?void 0:l.onClick)===null||ee===void 0||ee.call(l)},H=(q,ee)=>{var J;const G=((J=y.value[q])===null||J===void 0?void 0:J.childrenEventKeys)||[];let Y=x.value.filter(oe=>oe!==q);if(ee)Y.push(q);else if(P.value!=="inline"){const oe=B(yn(G));Y=z$(Y.filter(W=>!oe.includes(W)))}Ef(x,Y)||D(Y)},V=(q,ee)=>{d.value.set(q,ee),d.value=new Map(d.value)},X=q=>{d.value.delete(q),d.value=new Map(d.value)},Q=ue(0),K=L(()=>{var q;return e.expandIcon||n.expandIcon||!((q=l==null?void 0:l.expandIcon)===null||q===void 0)&&q.value?ee=>{let J=e.expandIcon||n.expandIcon;return J=typeof J=="function"?J(ee):J,Nt(J,{class:`${s.value}-submenu-expand-icon`},!1)}:null});U2e({prefixCls:s,activeKeys:g,openKeys:x,selectedKeys:m,changeActiveKeys:C,disabled:T,rtl:I,mode:P,inlineIndent:L(()=>e.inlineIndent),subMenuCloseDelay:L(()=>e.subMenuCloseDelay),subMenuOpenDelay:L(()=>e.subMenuOpenDelay),builtinPlacements:L(()=>e.builtinPlacements),triggerSubMenuAction:L(()=>e.triggerSubMenuAction),getPopupContainer:L(()=>e.getPopupContainer),inlineCollapsed:M,theme:L(()=>e.theme),siderCollapsed:f,defaultMotions:L(()=>p.value?N.value:null),motion:L(()=>p.value?e.motion:null),overflowDisabled:ae(void 0),onOpenChange:H,onItemClick:F,registerMenuInfo:V,unRegisterMenuInfo:X,selectedSubMenuKeys:b,expandIcon:K,forceSubMenuRender:L(()=>e.forceSubMenuRender),rootClassName:c});const te=()=>{var q;return v.value||Jt((q=n.default)===null||q===void 0?void 0:q.call(n))};return()=>{var q;const ee=te(),J=Q.value>=ee.length-1||P.value!=="horizontal"||e.disabledOverflow,G=oe=>P.value!=="horizontal"||e.disabledOverflow?oe:oe.map((W,Z)=>w(vS,{key:W.key,overflowDisabled:Z>Q.value},{default:()=>W})),Y=((q=n.overflowedIndicator)===null||q===void 0?void 0:q.call(n))||w(jD,null,null);return u(w(sh,z(z({},i),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:Xa,class:[E.value,i.class,c.value],role:"menu",id:e.id,data:G(ee),renderRawItem:oe=>oe,renderRawRest:oe=>{const W=oe.length,Z=W?ee.slice(-W):null;return w(Qe,null,[w(md,{eventKey:Zy,key:Zy,title:Y,disabled:J,internalPopupClose:W===0},{default:()=>Z}),w(lN,null,{default:()=>[w(md,{eventKey:Zy,key:Zy,title:Y,disabled:J,internalPopupClose:W===0},{default:()=>Z})]})])},maxCount:P.value!=="horizontal"||e.disabledOverflow?sh.INVALIDATE:sh.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:oe=>{Q.value=oe}}),{default:()=>[w(tO,{to:"body"},{default:()=>[w("div",{style:{display:"none"},"aria-hidden":!0},[w(lN,null,{default:()=>[G(te())]})])]})]}))}}});Ln.install=function(e){return e.component(Ln.name,Ln),e.component(Xa.name,Xa),e.component(md.name,md),e.component(Xg.name,Xg),e.component(Ug.name,Ug),e};Ln.Item=Xa;Ln.Divider=Xg;Ln.SubMenu=md;Ln.ItemGroup=Ug;const yTe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:_(_({},st(e)),{color:e.breadcrumbBaseColor,fontSize:e.breadcrumbFontSize,[n]:{fontSize:e.breadcrumbIconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:_({color:e.breadcrumbLinkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover}},Kl(e)),"li:last-child":{color:e.breadcrumbLastItemColor,[`& > ${t}-separator`]:{display:"none"}},[`${t}-separator`]:{marginInline:e.breadcrumbSeparatorMargin,color:e.breadcrumbSeparatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},yTe=it("Breadcrumb",e=>{const t=Ue(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[mTe(t)]}),bTe=()=>({prefixCls:String,routes:{type:Array},params:U.any,separator:U.any,itemRender:{type:Function}});function STe(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(i,o)=>t[o]||i)}function gN(e){const{route:t,params:n,routes:r,paths:i}=e,o=r.indexOf(t)===r.length-1,a=STe(t,n);return o?w("span",null,[a]):w("a",{href:`#/${i.join("/")}`},[a])}const Zc=se({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:bTe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("breadcrumb",e),[a,l]=yTe(i),s=(d,f)=>(d=(d||"").replace(/^\//,""),Object.keys(f).forEach(h=>{d=d.replace(`:${h}`,f[h])}),d),u=(d,f,h)=>{const v=[...d],p=s(f||"",h);return p&&v.push(p),v},c=d=>{let{routes:f=[],params:h={},separator:v,itemRender:p=gN}=d;const g=[];return f.map(m=>{const y=s(m.path,h);y&&g.push(y);const b=[...g];let S=null;m.children&&m.children.length&&(S=w(Ln,{items:m.children.map($=>({key:$.path||$.breadcrumbName,label:p({route:$,params:h,routes:f,paths:u(b,$.path,h)})}))},null));const x={separator:v};return S&&(x.overlay=S),w(Gg,z(z({},x),{},{key:y||m.breadcrumbName}),{default:()=>[p({route:m,params:h,routes:f,paths:b})]})})};return()=>{var d;let f;const{routes:h,params:v={}}=e,p=Jt(Un(n,e)),g=(d=Un(n,e,"separator"))!==null&&d!==void 0?d:"/",m=e.itemRender||n.itemRender||gN;h&&h.length>0?f=c({routes:h,params:v,separator:g,itemRender:m}):p.length&&(f=p.map((b,S)=>(vn(typeof b.type=="object"&&(b.type.__ANT_BREADCRUMB_ITEM||b.type.__ANT_BREADCRUMB_SEPARATOR)),cr(b,{separator:g,key:S}))));const y={[i.value]:!0,[`${i.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[l.value]:!0};return a(w("nav",z(z({},r),{},{class:y}),[w("ol",null,[f])]))}}});var xTe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String}),mS=se({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:wTe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=Ee("breadcrumb",e);return()=>{var o;const{separator:a,class:l}=r,s=xTe(r,["separator","class"]),u=Jt((o=n.default)===null||o===void 0?void 0:o.call(n));return w("span",z({class:[`${i.value}-separator`,l]},s),[u.length>0?u:"/"])}}});Zc.Item=Gg;Zc.Separator=mS;Zc.install=function(e){return e.component(Zc.name,Zc),e.component(Gg.name,Gg),e.component(mS.name,mS),e};var RY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){r.prototype.weekday=function(i){var o=this.$locale().weekStart||0,a=this.$W,l=(a25){var c=a(this).startOf(r).add(1,r).date(u),d=a(this).endOf(n);if(c.isBefore(d))return 1}var f=a(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?a(this).startOf("week").week():Math.ceil(h)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(NY);var ITe=NY.exports;const PTe=Iu(ITe);var kY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})})(kY);var MTe=kY.exports;const ATe=Iu(MTe);var BY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){var n="month",r="quarter";return function(i,o){var a=o.prototype;a.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var l=a.add;a.add=function(u,c){return u=Number(u),this.$utils().p(c)===r?this.add(3*u,n):l.bind(this)(u,c)};var s=a.startOf;a.startOf=function(u,c){var d=this.$utils(),f=!!d.u(c)||c;if(d.p(u)===r){var h=this.quarter()-1;return f?this.month(3*h).startOf(n).startOf("day"):this.month(3*h+2).endOf(n).endOf("day")}return s.bind(this)(u,c)}}})})(BY);var OTe=BY.exports;const DTe=Iu(OTe);var FY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(a){var l=this,s=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),c=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),d==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return d}});return o.bind(this)(c)}}})})(FY);var ETe=FY.exports;const RTe=Iu(ETe);var zY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,a=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,s={},u=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(m){this[g]=+m}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var y=m.match(/([+-]|\d\d)/g),b=60*y[1]+(+y[2]||0);return b===0?0:y[0]==="+"?-b:b}(g)}],f=function(g){var m=s[g];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(g,m){var y,b=s.meridiem;if(b){for(var S=1;S<=24;S+=1)if(g.indexOf(b(S,0,m))>-1){y=S>12;break}}else y=g===(m?"pm":"PM");return y},v={A:[l,function(g){this.afternoon=h(g,!1)}],a:[l,function(g){this.afternoon=h(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[o,c("day")],Do:[l,function(g){var m=s.ordinal,y=g.match(/\d+/);if(this.day=y[0],m)for(var b=1;b<=31;b+=1)m(b).replace(/\[|\]/g,"")===g&&(this.day=b)}],w:[a,c("week")],ww:[o,c("week")],M:[a,c("month")],MM:[o,c("month")],MMM:[l,function(g){var m=f("months"),y=(f("monthsShort")||m.map(function(b){return b.slice(0,3)})).indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[l,function(g){var m=f("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function p(g){var m,y;m=g,y=s&&s.formats;for(var b=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,M,O){var D=O&&O.toUpperCase();return M||y[O]||n[O]||y[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(R,A,E){return A||E.slice(1)})})).match(r),S=b.length,x=0;x-1)return new Date((N==="X"?1e3:1)*k);var H=p(N)(k),V=H.year,X=H.month,Q=H.day,K=H.hours,te=H.minutes,q=H.seconds,ee=H.milliseconds,J=H.zone,G=H.week,Y=new Date,oe=Q||(V||X?1:Y.getDate()),W=V||Y.getFullYear(),Z=0;V&&!X||(Z=X>0?X-1:Y.getMonth());var ne,re=K||0,le=te||0,ie=q||0,de=ee||0;return J?new Date(Date.UTC(W,Z,oe,re,le,ie,de+60*J.offset*1e3)):B?new Date(Date.UTC(W,Z,oe,re,le,ie,de)):(ne=new Date(W,Z,oe,re,le,ie,de),G&&(ne=F(ne).week(G).toDate()),ne)}catch(pe){return new Date("")}}($,I,C,y),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),O&&$!=this.format(I)&&(this.$d=new Date("")),s={}}else if(I instanceof Array)for(var R=I.length,A=1;A<=R;A+=1){T[1]=I[A-1];var E=y.apply(this,T);if(E.isValid()){this.$d=E.$d,this.$L=E.$L,this.init();break}A===R&&(this.$d=new Date(""))}else S.call(this,x)}}})})(zY);var LTe=zY.exports;const NTe=Iu(LTe);er.extend(NTe);er.extend(RTe);er.extend($Te);er.extend(TTe);er.extend(PTe);er.extend(ATe);er.extend(DTe);er.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(o){const a=(o||"").replace("Wo","wo");return r.bind(this)(a)}});const kTe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Hu=e=>kTe[e]||e.split("_")[0],mN=()=>{nhe(!1,"Not match any format. Please help to fire a issue about this.")},BTe=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function yN(e,t,n){const r=[...new Set(e.split(n))];let i=0;for(let o=0;ot)return a;i+=n.length}}const bN=(e,t)=>{if(!e)return null;if(er.isDayjs(e))return e;const n=t.matchAll(BTe);let r=er(e,t);if(n===null)return r;for(const i of n){const o=i[0],a=i.index;if(o==="Q"){const l=e.slice(a-1,a),s=yN(e,a,l).match(/\d+/)[0];r=r.quarter(parseInt(s))}if(o.toLowerCase()==="wo"){const l=e.slice(a-1,a),s=yN(e,a,l).match(/\d+/)[0];r=r.week(parseInt(s))}o.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(a,a+o.length)))),o.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(a,a+o.length+1))))}return r},FTe={getNow:()=>er(),getFixedDate:e=>er(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>er().locale(Hu(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(Hu(e)).weekday(0),getWeek:(e,t)=>t.locale(Hu(e)).week(),getShortWeekDays:e=>er().locale(Hu(e)).localeData().weekdaysMin(),getShortMonths:e=>er().locale(Hu(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(Hu(e)).format(n),parse:(e,t,n)=>{const r=Hu(e);for(let i=0;iArray.isArray(e)?e.map(n=>bN(n,t)):bN(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>er.isDayjs(n)?n.format(t):n):er.isDayjs(e)?e.format(t):e},YD=FTe;function Vn(e){const t=kse();return _(_({},e),t)}const HY=Symbol("PanelContextProps"),qD=e=>{at(HY,e)},ol=()=>Je(HY,{}),Qy={visibility:"hidden"};function Ou(e,t){let{slots:n}=t;var r;const i=Vn(e),{prefixCls:o,prevIcon:a="‹",nextIcon:l="›",superPrevIcon:s="«",superNextIcon:u="»",onSuperPrev:c,onSuperNext:d,onPrev:f,onNext:h}=i,{hideNextBtn:v,hidePrevBtn:p}=ol();return w("div",{class:o},[c&&w("button",{type:"button",onClick:c,tabindex:-1,class:`${o}-super-prev-btn`,style:p.value?Qy:{}},[s]),f&&w("button",{type:"button",onClick:f,tabindex:-1,class:`${o}-prev-btn`,style:p.value?Qy:{}},[a]),w("div",{class:`${o}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),h&&w("button",{type:"button",onClick:h,tabindex:-1,class:`${o}-next-btn`,style:v.value?Qy:{}},[l]),d&&w("button",{type:"button",onClick:d,tabindex:-1,class:`${o}-super-next-btn`,style:v.value?Qy:{}},[u])])}Ou.displayName="Header";Ou.inheritAttrs=!1;function ZD(e){const t=Vn(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecades:o,onNextDecades:a}=t,{hideHeader:l}=ol();if(l)return null;const s=`${n}-header`,u=r.getYear(i),c=Math.floor(u/Al)*Al,d=c+Al-1;return w(Ou,z(z({},t),{},{prefixCls:s,onSuperPrev:o,onSuperNext:a}),{default:()=>[c,Gr("-"),d]})}ZD.displayName="DecadeHeader";ZD.inheritAttrs=!1;function VY(e,t,n,r,i){let o=e.setHour(t,n);return o=e.setMinute(o,r),o=e.setSecond(o,i),o}function Ab(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function zTe(e,t,n,r,i,o){const a=Math.floor(e/r)*r;if(a{R.stopPropagation(),O||r(M)},onMouseenter:()=>{!O&&m&&m(M)},onMouseleave:()=>{!O&&y&&y(M)}},[f?f(M):w("div",{class:`${S}-inner`},[d(M)])]))}x.push(w("tr",{key:$,class:s&&s(T)},[C]))}return w("div",{class:`${t}-body`},[w("table",{class:`${t}-content`},[g&&w("thead",null,[w("tr",null,[g])]),w("tbody",null,[x])])])}Nd.displayName="PanelBody";Nd.inheritAttrs=!1;const iP=3,SN=4;function QD(e){const t=Vn(e),n=Yo-1,{prefixCls:r,viewDate:i,generateConfig:o}=t,a=`${r}-cell`,l=o.getYear(i),s=Math.floor(l/Yo)*Yo,u=Math.floor(l/Al)*Al,c=u+Al-1,d=o.setYear(i,u-Math.ceil((iP*SN*Yo-Al)/2)),f=h=>{const v=o.getYear(h),p=v+n;return{[`${a}-in-view`]:u<=v&&p<=c,[`${a}-selected`]:v===s}};return w(Nd,z(z({},t),{},{rowNum:SN,colNum:iP,baseDate:d,getCellText:h=>{const v=o.getYear(h);return`${v}-${v+n}`},getCellClassName:f,getCellDate:(h,v)=>o.addYear(h,v*Yo)}),null)}QD.displayName="DecadeBody";QD.inheritAttrs=!1;const Jy=new Map;function VTe(e,t){let n;function r(){lw(e)?t():n=dt(()=>{r()})}return r(),()=>{dt.cancel(n)}}function oP(e,t,n){if(Jy.get(e)&&dt.cancel(Jy.get(e)),n<=0){Jy.set(e,dt(()=>{e.scrollTop=t}));return}const i=(t-e.scrollTop)/n*10;Jy.set(e,dt(()=>{e.scrollTop+=i,e.scrollTop!==t&&oP(e,t,n-10)}))}function sv(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:i,onPageUpDown:o,onEnter:a}=t;const{which:l,ctrlKey:s,metaKey:u}=e;switch(l){case Pe.LEFT:if(s||u){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case Pe.RIGHT:if(s||u){if(r)return r(1),!0}else if(n)return n(1),!0;break;case Pe.UP:if(i)return i(-1),!0;break;case Pe.DOWN:if(i)return i(1),!0;break;case Pe.PAGE_UP:if(o)return o(-1),!0;break;case Pe.PAGE_DOWN:if(o)return o(1),!0;break;case Pe.ENTER:if(a)return a(),!0;break}return!1}function WY(e,t,n,r){let i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function jY(e,t,n){const r=e==="time"?8:10,i=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,i)+2}let kv=null;const e0=new Set;function WTe(e){return!kv&&typeof window!="undefined"&&window.addEventListener&&(kv=t=>{[...e0].forEach(n=>{n(t)})},window.addEventListener("mousedown",kv)),e0.add(e),()=>{e0.delete(e),e0.size===0&&(window.removeEventListener("mousedown",kv),kv=null)}}function jTe(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const GTe=e=>e==="month"||e==="date"?"year":e,KTe=e=>e==="date"?"month":e,UTe=e=>e==="month"||e==="date"?"quarter":e,XTe=e=>e==="date"?"week":e,YTe={year:GTe,month:KTe,quarter:UTe,week:XTe,time:null,date:null};function GY(e,t){return e.some(n=>n&&n.contains(t))}const Yo=10,Al=Yo*10;function JD(e){const t=Vn(e),{prefixCls:n,onViewDateChange:r,generateConfig:i,viewDate:o,operationRef:a,onSelect:l,onPanelChange:s}=t,u=`${n}-decade-panel`;a.value={onKeydown:f=>sv(f,{onLeftRight:h=>{l(i.addYear(o,h*Yo),"key")},onCtrlLeftRight:h=>{l(i.addYear(o,h*Al),"key")},onUpDown:h=>{l(i.addYear(o,h*Yo*iP),"key")},onEnter:()=>{s("year",o)}})};const c=f=>{const h=i.addYear(o,f*Al);r(h),s(null,h)},d=f=>{l(f,"mouse"),s("year",f)};return w("div",{class:u},[w(ZD,z(z({},t),{},{prefixCls:n,onPrevDecades:()=>{c(-1)},onNextDecades:()=>{c(1)}}),null),w(QD,z(z({},t),{},{prefixCls:n,onSelect:d}),null)])}JD.displayName="DecadePanel";JD.inheritAttrs=!1;const Ob=7;function kd(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function qTe(e,t,n){const r=kd(t,n);if(typeof r=="boolean")return r;const i=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return i===o}function Dw(e,t,n){const r=kd(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function aP(e,t){return Math.floor(e.getMonth(t)/3)+1}function KY(e,t,n){const r=kd(t,n);return typeof r=="boolean"?r:Dw(e,t,n)&&aP(e,t)===aP(e,n)}function eE(e,t,n){const r=kd(t,n);return typeof r=="boolean"?r:Dw(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function Ol(e,t,n){const r=kd(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function ZTe(e,t,n){const r=kd(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function UY(e,t,n,r){const i=kd(n,r);return typeof i=="boolean"?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function uh(e,t,n){return Ol(e,t,n)&&ZTe(e,t,n)}function t0(e,t,n,r){return!t||!n||!r?!1:!Ol(e,t,r)&&!Ol(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function QTe(e,t,n){const r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i);let a=t.addDate(i,r-o);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function Qp(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function Tr(e,t){let{generateConfig:n,locale:r,format:i}=t;return typeof i=="function"?i(e):n.locale.format(r.locale,e,i)}function XY(e,t){let{generateConfig:n,locale:r,formatList:i}=t;return!e||typeof i[0]=="function"?null:n.locale.parse(r.locale,e,i)}function lP(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:i}=e;if(!r)return!1;const o=(a,l,s)=>{let u=l;for(;u<=s;){let c;switch(a){case"date":{if(c=i.setDate(t,u),!r(c))return!1;break}case"month":{if(c=i.setMonth(t,u),!lP({cellDate:c,mode:"month",generateConfig:i,disabledDate:r}))return!1;break}case"year":{if(c=i.setYear(t,u),!lP({cellDate:c,mode:"year",generateConfig:i,disabledDate:r}))return!1;break}}u+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const l=i.getDate(i.getEndDate(t));return o("date",1,l)}case"quarter":{const a=Math.floor(i.getMonth(t)/3)*3,l=a+2;return o("month",a,l)}case"year":return o("month",0,11);case"decade":{const a=i.getYear(t),l=Math.floor(a/Yo)*Yo,s=l+Yo-1;return o("year",l,s)}}}function tE(e){const t=Vn(e),{hideHeader:n}=ol();if(n.value)return null;const{prefixCls:r,generateConfig:i,locale:o,value:a,format:l}=t,s=`${r}-header`;return w(Ou,{prefixCls:s},{default:()=>[a?Tr(a,{locale:o,format:l,generateConfig:i}):" "]})}tE.displayName="TimeHeader";tE.inheritAttrs=!1;const n0=se({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=ol(),n=ae(null),r=ue(new Map),i=ue();return Se(()=>e.value,()=>{const o=r.value.get(e.value);o&&t.value!==!1&&oP(n.value,o.offsetTop,120)}),ht(()=>{var o;(o=i.value)===null||o===void 0||o.call(i)}),Se(t,()=>{var o;(o=i.value)===null||o===void 0||o.call(i),_t(()=>{if(t.value){const a=r.value.get(e.value);a&&(i.value=VTe(a,()=>{oP(n.value,a.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:o,units:a,onSelect:l,value:s,active:u,hideDisabledOptions:c}=e,d=`${o}-cell`;return w("ul",{class:ce(`${o}-column`,{[`${o}-column-active`]:u}),ref:n,style:{position:"relative"}},[a.map(f=>c&&f.disabled?null:w("li",{key:f.value,ref:h=>{r.value.set(f.value,h)},class:ce(d,{[`${d}-disabled`]:f.disabled,[`${d}-selected`]:s===f.value}),onClick:()=>{f.disabled||l(f.value)}},[w("div",{class:`${d}-inner`},[f.label])]))])}}});function YY(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function Yt(e,t){return e?e[t]:null}function po(e,t,n){const r=[Yt(e,0),Yt(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function X$(e,t,n,r){const i=[];for(let o=e;o<=t;o+=n)i.push({label:YY(o,2),value:o,disabled:(r||[]).includes(o)});return i}const eIe=se({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=L(()=>e.value?e.generateConfig.getHour(e.value):-1),n=L(()=>e.use12Hours?t.value>=12:!1),r=L(()=>e.use12Hours?t.value%12:t.value),i=L(()=>e.value?e.generateConfig.getMinute(e.value):-1),o=L(()=>e.value?e.generateConfig.getSecond(e.value):-1),a=ue(e.generateConfig.getNow()),l=ue(),s=ue(),u=ue();Wx(()=>{a.value=e.generateConfig.getNow()}),Ye(()=>{if(e.disabledTime){const g=e.disabledTime(a);[l.value,s.value,u.value]=[g.disabledHours,g.disabledMinutes,g.disabledSeconds]}else[l.value,s.value,u.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const c=(g,m,y,b)=>{let S=e.value||e.generateConfig.getNow();const x=Math.max(0,m),$=Math.max(0,y),C=Math.max(0,b);return S=VY(e.generateConfig,S,!e.use12Hours||!g?x:x+12,$,C),S},d=L(()=>{var g;return X$(0,23,(g=e.hourStep)!==null&&g!==void 0?g:1,l.value&&l.value())}),f=L(()=>{if(!e.use12Hours)return[!1,!1];const g=[!0,!0];return d.value.forEach(m=>{let{disabled:y,value:b}=m;y||(b>=12?g[1]=!1:g[0]=!1)}),g}),h=L(()=>e.use12Hours?d.value.filter(n.value?g=>g.value>=12:g=>g.value<12).map(g=>{const m=g.value%12,y=m===0?"12":YY(m,2);return _(_({},g),{label:y,value:m})}):d.value),v=L(()=>{var g;return X$(0,59,(g=e.minuteStep)!==null&&g!==void 0?g:1,s.value&&s.value(t.value))}),p=L(()=>{var g;return X$(0,59,(g=e.secondStep)!==null&&g!==void 0?g:1,u.value&&u.value(t.value,i.value))});return()=>{const{prefixCls:g,operationRef:m,activeColumnIndex:y,showHour:b,showMinute:S,showSecond:x,use12Hours:$,hideDisabledOptions:C,onSelect:T}=e,I=[],P=`${g}-content`,M=`${g}-time-panel`;m.value={onUpDown:R=>{const A=I[y];if(A){const E=A.units.findIndex(N=>N.value===A.value),k=A.units.length;for(let N=1;N{T(c(n.value,R,i.value,o.value),"mouse")}),O(S,w(n0,{key:"minute"},null),i.value,v.value,R=>{T(c(n.value,r.value,R,o.value),"mouse")}),O(x,w(n0,{key:"second"},null),o.value,p.value,R=>{T(c(n.value,r.value,i.value,R),"mouse")});let D=-1;return typeof n.value=="boolean"&&(D=n.value?1:0),O($===!0,w(n0,{key:"12hours"},null),D,[{label:"AM",value:0,disabled:f.value[0]},{label:"PM",value:1,disabled:f.value[1]}],R=>{T(c(!!R,r.value,i.value,o.value),"mouse")}),w("div",{class:P},[I.map(R=>{let{node:A}=R;return A})])}}}),tIe=eIe,nIe=e=>e.filter(t=>t!==!1).length;function Ew(e){const t=Vn(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:i,active:o,operationRef:a,showHour:l,showMinute:s,showSecond:u,use12Hours:c=!1,onSelect:d,value:f}=t,h=`${i}-time-panel`,v=ue(),p=ue(-1),g=nIe([l,s,u,c]);return a.value={onKeydown:m=>sv(m,{onLeftRight:y=>{p.value=(p.value+y+g)%g},onUpDown:y=>{p.value===-1?p.value=0:v.value&&v.value.onUpDown(y)},onEnter:()=>{d(f||n.getNow(),"key"),p.value=-1}}),onBlur:()=>{p.value=-1}},w("div",{class:ce(h,{[`${h}-active`]:o})},[w(tE,z(z({},t),{},{format:r,prefixCls:i}),null),w(tIe,z(z({},t),{},{prefixCls:i,activeColumnIndex:p.value,operationRef:v}),null)])}Ew.displayName="TimePanel";Ew.inheritAttrs=!1;function Rw(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:i,isInView:o,isSameCell:a,offsetCell:l,today:s,value:u}=e;function c(d){const f=l(d,-1),h=l(d,1),v=Yt(r,0),p=Yt(r,1),g=Yt(i,0),m=Yt(i,1),y=t0(n,g,m,d);function b(I){return a(v,I)}function S(I){return a(p,I)}const x=a(g,d),$=a(m,d),C=(y||$)&&(!o(f)||S(f)),T=(y||x)&&(!o(h)||b(h));return{[`${t}-in-view`]:o(d),[`${t}-in-range`]:t0(n,v,p,d),[`${t}-range-start`]:b(d),[`${t}-range-end`]:S(d),[`${t}-range-start-single`]:b(d)&&!p,[`${t}-range-end-single`]:S(d)&&!v,[`${t}-range-start-near-hover`]:b(d)&&(a(f,g)||t0(n,g,m,f)),[`${t}-range-end-near-hover`]:S(d)&&(a(h,m)||t0(n,g,m,h)),[`${t}-range-hover`]:y,[`${t}-range-hover-start`]:x,[`${t}-range-hover-end`]:$,[`${t}-range-hover-edge-start`]:C,[`${t}-range-hover-edge-end`]:T,[`${t}-range-hover-edge-start-near-range`]:C&&a(f,p),[`${t}-range-hover-edge-end-near-range`]:T&&a(h,v),[`${t}-today`]:a(s,d),[`${t}-selected`]:a(u,d)}}return c}const QY=Symbol("RangeContextProps"),rIe=e=>{at(QY,e)},Km=()=>Je(QY,{rangedValue:ue(),hoverRangedValue:ue(),inRange:ue(),panelPosition:ue()}),iIe=se({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:ue(e.value.rangedValue),hoverRangedValue:ue(e.value.hoverRangedValue),inRange:ue(e.value.inRange),panelPosition:ue(e.value.panelPosition)};return rIe(r),Se(()=>e.value,()=>{Object.keys(e.value).forEach(i=>{r[i]&&(r[i].value=e.value[i])})}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});function Lw(e){const t=Vn(e),{prefixCls:n,generateConfig:r,prefixColumn:i,locale:o,rowCount:a,viewDate:l,value:s,dateRender:u}=t,{rangedValue:c,hoverRangedValue:d}=Km(),f=QTe(o.locale,r,l),h=`${n}-cell`,v=r.locale.getWeekFirstDay(o.locale),p=r.getNow(),g=[],m=o.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(o.locale):[]);i&&g.push(w("th",{key:"empty","aria-label":"empty cell"},null));for(let S=0;SOl(r,S,x),isInView:S=>eE(r,S,l),offsetCell:(S,x)=>r.addDate(S,x)}),b=u?S=>u({current:S,today:p}):void 0;return w(Nd,z(z({},t),{},{rowNum:a,colNum:Ob,baseDate:f,getCellNode:b,getCellText:r.getDate,getCellClassName:y,getCellDate:r.addDate,titleCell:S=>Tr(S,{locale:o,format:"YYYY-MM-DD",generateConfig:r}),headerCells:g}),null)}Lw.displayName="DateBody";Lw.inheritAttrs=!1;Lw.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function nE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextMonth:a,onPrevMonth:l,onNextYear:s,onPrevYear:u,onYearClick:c,onMonthClick:d}=t,{hideHeader:f}=ol();if(f.value)return null;const h=`${n}-header`,v=i.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(i.locale):[]),p=r.getMonth(o),g=w("button",{type:"button",key:"year",onClick:c,tabindex:-1,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})]),m=w("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[i.monthFormat?Tr(o,{locale:i,format:i.monthFormat,generateConfig:r}):v[p]]),y=i.monthBeforeYear?[m,g]:[g,m];return w(Ou,z(z({},t),{},{prefixCls:h,onSuperPrev:u,onPrev:l,onNext:a,onSuperNext:s}),{default:()=>[y]})}nE.displayName="DateHeader";nE.inheritAttrs=!1;const oIe=6;function Um(e){const t=Vn(e),{prefixCls:n,panelName:r="date",keyboardConfig:i,active:o,operationRef:a,generateConfig:l,value:s,viewDate:u,onViewDateChange:c,onPanelChange:d,onSelect:f}=t,h=`${n}-${r}-panel`;a.value={onKeydown:g=>sv(g,_({onLeftRight:m=>{f(l.addDate(s||u,m),"key")},onCtrlLeftRight:m=>{f(l.addYear(s||u,m),"key")},onUpDown:m=>{f(l.addDate(s||u,m*Ob),"key")},onPageUpDown:m=>{f(l.addMonth(s||u,m),"key")}},i))};const v=g=>{const m=l.addYear(u,g);c(m),d(null,m)},p=g=>{const m=l.addMonth(u,g);c(m),d(null,m)};return w("div",{class:ce(h,{[`${h}-active`]:o})},[w(nE,z(z({},t),{},{prefixCls:n,value:s,viewDate:u,onPrevYear:()=>{v(-1)},onNextYear:()=>{v(1)},onPrevMonth:()=>{p(-1)},onNextMonth:()=>{p(1)},onMonthClick:()=>{d("month",u)},onYearClick:()=>{d("year",u)}}),null),w(Lw,z(z({},t),{},{onSelect:g=>f(g,"mouse"),prefixCls:n,value:s,viewDate:u,rowCount:oIe}),null)])}Um.displayName="DatePanel";Um.inheritAttrs=!1;const xN=JTe("date","time");function rE(e){const t=Vn(e),{prefixCls:n,operationRef:r,generateConfig:i,value:o,defaultValue:a,disabledTime:l,showTime:s,onSelect:u}=t,c=`${n}-datetime-panel`,d=ue(null),f=ue({}),h=ue({}),v=typeof s=="object"?_({},s):{};function p(b){const S=xN.indexOf(d.value)+b;return xN[S]||null}const g=b=>{h.value.onBlur&&h.value.onBlur(b),d.value=null};r.value={onKeydown:b=>{if(b.which===Pe.TAB){const S=p(b.shiftKey?-1:1);return d.value=S,S&&b.preventDefault(),!0}if(d.value){const S=d.value==="date"?f:h;return S.value&&S.value.onKeydown&&S.value.onKeydown(b),!0}return[Pe.LEFT,Pe.RIGHT,Pe.UP,Pe.DOWN].includes(b.which)?(d.value="date",!0):!1},onBlur:g,onClose:g};const m=(b,S)=>{let x=b;S==="date"&&!o&&v.defaultValue?(x=i.setHour(x,i.getHour(v.defaultValue)),x=i.setMinute(x,i.getMinute(v.defaultValue)),x=i.setSecond(x,i.getSecond(v.defaultValue))):S==="time"&&!o&&a&&(x=i.setYear(x,i.getYear(a)),x=i.setMonth(x,i.getMonth(a)),x=i.setDate(x,i.getDate(a))),u&&u(x,"mouse")},y=l?l(o||null):{};return w("div",{class:ce(c,{[`${c}-active`]:d.value})},[w(Um,z(z({},t),{},{operationRef:f,active:d.value==="date",onSelect:b=>{m(Ab(i,b,!o&&typeof s=="object"?s.defaultValue:null),"date")}}),null),w(Ew,z(z(z(z({},t),{},{format:void 0},v),y),{},{disabledTime:null,defaultValue:void 0,operationRef:h,active:d.value==="time",onSelect:b=>{m(b,"time")}}),null)])}rE.displayName="DatetimePanel";rE.inheritAttrs=!1;function iE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,value:o}=t,a=`${n}-cell`,l=c=>w("td",{key:"week",class:ce(a,`${a}-week`)},[r.locale.getWeek(i.locale,c)]),s=`${n}-week-panel-row`,u=c=>ce(s,{[`${s}-selected`]:UY(r,i.locale,o,c)});return w(Um,z(z({},t),{},{panelName:"week",prefixColumn:l,rowClassName:u,keyboardConfig:{onLeftRight:null}}),null)}iE.displayName="WeekPanel";iE.inheritAttrs=!1;function oE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:u}=ol();if(u.value)return null;const c=`${n}-header`;return w(Ou,z(z({},t),{},{prefixCls:c,onSuperPrev:l,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}oE.displayName="MonthHeader";oE.inheritAttrs=!1;const JY=3,aIe=4;function aE(e){const t=Vn(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:a,monthCellRender:l}=t,{rangedValue:s,hoverRangedValue:u}=Km(),c=`${n}-cell`,d=Rw({cellPrefixCls:c,value:i,generateConfig:a,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(p,g)=>eE(a,p,g),isInView:()=>!0,offsetCell:(p,g)=>a.addMonth(p,g)}),f=r.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(r.locale):[]),h=a.setMonth(o,0),v=l?p=>l({current:p,locale:r}):void 0;return w(Nd,z(z({},t),{},{rowNum:aIe,colNum:JY,baseDate:h,getCellNode:v,getCellText:p=>r.monthFormat?Tr(p,{locale:r,format:r.monthFormat,generateConfig:a}):f[a.getMonth(p)],getCellClassName:d,getCellDate:a.addMonth,titleCell:p=>Tr(p,{locale:r,format:"YYYY-MM",generateConfig:a})}),null)}aE.displayName="MonthBody";aE.inheritAttrs=!1;function lE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,onPanelChange:s,onSelect:u}=t,c=`${n}-month-panel`;r.value={onKeydown:f=>sv(f,{onLeftRight:h=>{u(o.addMonth(a||l,h),"key")},onCtrlLeftRight:h=>{u(o.addYear(a||l,h),"key")},onUpDown:h=>{u(o.addMonth(a||l,h*JY),"key")},onEnter:()=>{s("date",a||l)}})};const d=f=>{const h=o.addYear(l,f);i(h),s(null,h)};return w("div",{class:c},[w(oE,z(z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),w(aE,z(z({},t),{},{prefixCls:n,onSelect:f=>{u(f,"mouse"),s("date",f)}}),null)])}lE.displayName="MonthPanel";lE.inheritAttrs=!1;function sE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:u}=ol();if(u.value)return null;const c=`${n}-header`;return w(Ou,z(z({},t),{},{prefixCls:c,onSuperPrev:l,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}sE.displayName="QuarterHeader";sE.inheritAttrs=!1;const lIe=4,sIe=1;function uE(e){const t=Vn(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Km(),u=`${n}-cell`,c=Rw({cellPrefixCls:u,value:i,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(f,h)=>KY(a,f,h),isInView:()=>!0,offsetCell:(f,h)=>a.addMonth(f,h*3)}),d=a.setDate(a.setMonth(o,0),1);return w(Nd,z(z({},t),{},{rowNum:sIe,colNum:lIe,baseDate:d,getCellText:f=>Tr(f,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:a}),getCellClassName:c,getCellDate:(f,h)=>a.addMonth(f,h*3),titleCell:f=>Tr(f,{locale:r,format:"YYYY-[Q]Q",generateConfig:a})}),null)}uE.displayName="QuarterBody";uE.inheritAttrs=!1;function cE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,onPanelChange:s,onSelect:u}=t,c=`${n}-quarter-panel`;r.value={onKeydown:f=>sv(f,{onLeftRight:h=>{u(o.addMonth(a||l,h*3),"key")},onCtrlLeftRight:h=>{u(o.addYear(a||l,h),"key")},onUpDown:h=>{u(o.addYear(a||l,h),"key")}})};const d=f=>{const h=o.addYear(l,f);i(h),s(null,h)};return w("div",{class:c},[w(sE,z(z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),w(uE,z(z({},t),{},{prefixCls:n,onSelect:f=>{u(f,"mouse")}}),null)])}cE.displayName="QuarterPanel";cE.inheritAttrs=!1;function dE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecade:o,onNextDecade:a,onDecadeClick:l}=t,{hideHeader:s}=ol();if(s.value)return null;const u=`${n}-header`,c=r.getYear(i),d=Math.floor(c/Ks)*Ks,f=d+Ks-1;return w(Ou,z(z({},t),{},{prefixCls:u,onSuperPrev:o,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:l,class:`${n}-decade-btn`},[d,Gr("-"),f])]})}dE.displayName="YearHeader";dE.inheritAttrs=!1;const sP=3,wN=4;function fE(e){const t=Vn(e),{prefixCls:n,value:r,viewDate:i,locale:o,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Km(),u=`${n}-cell`,c=a.getYear(i),d=Math.floor(c/Ks)*Ks,f=d+Ks-1,h=a.setYear(i,d-Math.ceil((sP*wN-Ks)/2)),v=g=>{const m=a.getYear(g);return d<=m&&m<=f},p=Rw({cellPrefixCls:u,value:r,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(g,m)=>Dw(a,g,m),isInView:v,offsetCell:(g,m)=>a.addYear(g,m)});return w(Nd,z(z({},t),{},{rowNum:wN,colNum:sP,baseDate:h,getCellText:a.getYear,getCellClassName:p,getCellDate:a.addYear,titleCell:g=>Tr(g,{locale:o,format:"YYYY",generateConfig:a})}),null)}fE.displayName="YearBody";fE.inheritAttrs=!1;const Ks=10;function hE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,sourceMode:s,onSelect:u,onPanelChange:c}=t,d=`${n}-year-panel`;r.value={onKeydown:h=>sv(h,{onLeftRight:v=>{u(o.addYear(a||l,v),"key")},onCtrlLeftRight:v=>{u(o.addYear(a||l,v*Ks),"key")},onUpDown:v=>{u(o.addYear(a||l,v*sP),"key")},onEnter:()=>{c(s==="date"?"date":"month",a||l)}})};const f=h=>{const v=o.addYear(l,h*10);i(v),c(null,v)};return w("div",{class:d},[w(dE,z(z({},t),{},{prefixCls:n,onPrevDecade:()=>{f(-1)},onNextDecade:()=>{f(1)},onDecadeClick:()=>{c("decade",l)}}),null),w(fE,z(z({},t),{},{prefixCls:n,onSelect:h=>{c(s==="date"?"date":"month",h),u(h,"mouse")}}),null)])}hE.displayName="YearPanel";hE.inheritAttrs=!1;function eq(e,t,n){return n?w("div",{class:`${e}-footer-extra`},[n(t)]):null}function tq(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:o,okDisabled:a,showNow:l,locale:s}=e,u,c;if(r){const d=n.button||"button";i&&l!==!1&&(u=w("li",{class:`${t}-now`},[w("a",{class:`${t}-now-btn`,onClick:i},[s.now])])),c=r&&w("li",{class:`${t}-ok`},[w(d,{disabled:a,onClick:f=>{f.stopPropagation(),o&&o()}},{default:()=>[s.ok]})])}return!u&&!c?null:w("ul",{class:`${t}-ranges`},[u,c])}function uIe(){return se({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=L(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=L(()=>24%e.hourStep===0),o=L(()=>60%e.minuteStep===0),a=L(()=>60%e.secondStep===0),l=ol(),{operationRef:s,onSelect:u,hideRanges:c,defaultOpenValue:d}=l,{inRange:f,panelPosition:h,rangedValue:v,hoverRangedValue:p}=Km(),g=ue({}),[m,y]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue,postState:k=>!k&&(d!=null&&d.value)&&e.picker==="time"?d.value:k}),[b,S]=dn(null,{value:qe(e,"pickerValue"),defaultValue:e.defaultPickerValue||m.value,postState:k=>{const{generateConfig:N,showTime:B,defaultValue:F}=e,H=N.getNow();return k?!m.value&&e.showTime?typeof B=="object"?Ab(N,Array.isArray(k)?k[0]:k,B.defaultValue||H):F?Ab(N,Array.isArray(k)?k[0]:k,F):Ab(N,Array.isArray(k)?k[0]:k,H):k:H}}),x=k=>{S(k),e.onPickerValueChange&&e.onPickerValueChange(k)},$=k=>{const N=YTe[e.picker];return N?N(k):k},[C,T]=dn(()=>e.picker==="time"?"time":$("date"),{value:qe(e,"mode")});Se(()=>e.picker,()=>{T(e.picker)});const I=ue(C.value),P=k=>{I.value=k},M=(k,N)=>{const{onPanelChange:B,generateConfig:F}=e,H=$(k||C.value);P(C.value),T(H),B&&(C.value!==H||uh(F,b.value,b.value))&&B(N,H)},O=function(k,N){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:F,generateConfig:H,onSelect:V,onChange:X,disabledDate:Q}=e;(C.value===F||B)&&(y(k),V&&V(k),u&&u(k,N),X&&!uh(H,k,m.value)&&!(Q!=null&&Q(k))&&X(k))},D=k=>g.value&&g.value.onKeydown?([Pe.LEFT,Pe.RIGHT,Pe.UP,Pe.DOWN,Pe.PAGE_UP,Pe.PAGE_DOWN,Pe.ENTER].includes(k.which)&&k.preventDefault(),g.value.onKeydown(k)):!1,R=k=>{g.value&&g.value.onBlur&&g.value.onBlur(k)},A=()=>{const{generateConfig:k,hourStep:N,minuteStep:B,secondStep:F}=e,H=k.getNow(),V=zTe(k.getHour(H),k.getMinute(H),k.getSecond(H),i.value?N:1,o.value?B:1,a.value?F:1),X=VY(k,H,V[0],V[1],V[2]);O(X,"submit")},E=L(()=>{const{prefixCls:k,direction:N}=e;return ce(`${k}-panel`,{[`${k}-panel-has-range`]:v&&v.value&&v.value[0]&&v.value[1],[`${k}-panel-has-range-hover`]:p&&p.value&&p.value[0]&&p.value[1],[`${k}-panel-rtl`]:N==="rtl"})});return qD(_(_({},l),{mode:C,hideHeader:L(()=>{var k;return e.hideHeader!==void 0?e.hideHeader:(k=l.hideHeader)===null||k===void 0?void 0:k.value}),hidePrevBtn:L(()=>f.value&&h.value==="right"),hideNextBtn:L(()=>f.value&&h.value==="left")})),Se(()=>e.value,()=>{e.value&&S(e.value)}),()=>{const{prefixCls:k="ant-picker",locale:N,generateConfig:B,disabledDate:F,picker:H="date",tabindex:V=0,showNow:X,showTime:Q,showToday:K,renderExtraFooter:te,onMousedown:q,onOk:ee,components:J}=e;s&&h.value!=="right"&&(s.value={onKeydown:D,onClose:()=>{g.value&&g.value.onClose&&g.value.onClose()}});let G;const Y=_(_(_({},n),e),{operationRef:g,prefixCls:k,viewDate:b.value,value:m.value,onViewDateChange:x,sourceMode:I.value,onPanelChange:M,disabledDate:F});switch(delete Y.onChange,delete Y.onSelect,C.value){case"decade":G=w(JD,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"year":G=w(hE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"month":G=w(lE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"quarter":G=w(cE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"week":G=w(iE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"time":delete Y.showTime,G=w(Ew,z(z(z({},Y),typeof Q=="object"?Q:null),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;default:Q?G=w(rE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null):G=w(Um,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null)}let oe,W;c!=null&&c.value||(oe=eq(k,C.value,te),W=tq({prefixCls:k,components:J,needConfirmButton:r.value,okDisabled:!m.value||F&&F(m.value),locale:N,showNow:X,onNow:r.value&&A,onOk:()=>{m.value&&(O(m.value,"submit",!0),ee&&ee(m.value))}}));let Z;if(K&&C.value==="date"&&H==="date"&&!Q){const ne=B.getNow(),re=`${k}-today-btn`,le=F&&F(ne);Z=w("a",{class:ce(re,le&&`${re}-disabled`),"aria-disabled":le,onClick:()=>{le||O(ne,"mouse",!0)}},[N.today])}return w("div",{tabindex:V,class:ce(E.value,n.class),style:n.style,onKeydown:D,onBlur:R,onMousedown:q},[G,oe||W||Z?w("div",{class:`${k}-footer`},[oe,W,Z]):null])}}})}const cIe=uIe(),vE=e=>w(cIe,e),dIe={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function nq(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:i,visible:o,dropdownClassName:a,dropdownAlign:l,transitionName:s,getPopupContainer:u,range:c,popupPlacement:d,direction:f}=Vn(e),h=`${r}-dropdown`;return w(Ld,{showAction:[],hideAction:[],popupPlacement:(()=>d!==void 0?d:f==="rtl"?"bottomRight":"bottomLeft")(),builtinPlacements:dIe,prefixCls:h,popupTransitionName:s,popupAlign:l,popupVisible:o,popupClassName:ce(a,{[`${h}-range`]:c,[`${h}-rtl`]:f==="rtl"}),popupStyle:i,getPopupContainer:u},{default:n.default,popup:n.popupElement})}const rq=se({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?w("div",{class:`${e.prefixCls}-presets`},[w("ul",null,[e.presets.map((t,n)=>{let{label:r,value:i}=t;return w("li",{key:n,onClick:o=>{o.stopPropagation(),e.onClick(i)},onMouseenter:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,i)},onMouseleave:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,null)}},[r])})])]):null}});function uP(e){let{open:t,value:n,isClickOutside:r,triggerOpen:i,forwardKeydown:o,onKeydown:a,blurToCancel:l,onSubmit:s,onCancel:u,onFocus:c,onBlur:d}=e;const f=ae(!1),h=ae(!1),v=ae(!1),p=ae(!1),g=ae(!1),m=L(()=>({onMousedown:()=>{f.value=!0,i(!0)},onKeydown:b=>{if(a(b,()=>{g.value=!0}),!g.value){switch(b.which){case Pe.ENTER:{t.value?s()!==!1&&(f.value=!0):i(!0),b.preventDefault();return}case Pe.TAB:{f.value&&t.value&&!b.shiftKey?(f.value=!1,b.preventDefault()):!f.value&&t.value&&!o(b)&&b.shiftKey&&(f.value=!0,b.preventDefault());return}case Pe.ESC:{f.value=!0,u();return}}!t.value&&![Pe.SHIFT].includes(b.which)?i(!0):f.value||o(b)}},onFocus:b=>{f.value=!0,h.value=!0,c&&c(b)},onBlur:b=>{if(v.value||!r(document.activeElement)){v.value=!1;return}l.value?setTimeout(()=>{let{activeElement:S}=document;for(;S&&S.shadowRoot;)S=S.shadowRoot.activeElement;r(S)&&u()},0):t.value&&(i(!1),p.value&&s()),h.value=!1,d&&d(b)}}));Se(t,()=>{p.value=!1}),Se(n,()=>{p.value=!0});const y=ae();return tt(()=>{y.value=WTe(b=>{const S=jTe(b);if(t.value){const x=r(S);x?(!h.value||x)&&i(!1):(v.value=!0,dt(()=>{v.value=!1}))}})}),ht(()=>{y.value&&y.value()}),[m,{focused:h,typing:f}]}function cP(e){let{valueTexts:t,onTextChange:n}=e;const r=ue("");function i(a){r.value=a,n(a)}function o(){r.value=t.value[0]}return Se(()=>[...t.value],function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];a.join("||")!==l.join("||")&&t.value.every(s=>s!==r.value)&&o()},{immediate:!0}),[r,i,o]}function yS(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=qO(()=>{if(!e.value)return[[""],""];let s="";const u=[];for(let c=0;cu[0]!==s[0]||!Df(u[1],s[1])),a=L(()=>o.value[0]),l=L(()=>o.value[1]);return[a,l]}function dP(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=ue(null);let a;function l(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt.cancel(a),f){o.value=d;return}a=dt(()=>{o.value=d})}const[,s]=yS(o,{formatList:n,generateConfig:r,locale:i});function u(d){l(d)}function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l(null,d)}return Se(e,()=>{c(!0)}),ht(()=>{dt.cancel(a)}),[s,u,c]}function iq(e,t){return L(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Jx(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const i=t.value[r],o=typeof i=="function"?i():i;return{label:r,value:o}})):[])}function fIe(){return se({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const i=ue(null),o=L(()=>e.presets),a=iq(o),l=L(()=>{var F;return(F=e.picker)!==null&&F!==void 0?F:"date"}),s=L(()=>l.value==="date"&&!!e.showTime||l.value==="time"),u=L(()=>qY(WY(e.format,l.value,e.showTime,e.use12Hours))),c=ue(null),d=ue(null),f=ue(null),[h,v]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue}),p=ue(h.value),g=F=>{p.value=F},m=ue(null),[y,b]=dn(!1,{value:qe(e,"open"),defaultValue:e.defaultOpen,postState:F=>e.disabled?!1:F,onChange:F=>{e.onOpenChange&&e.onOpenChange(F),!F&&m.value&&m.value.onClose&&m.value.onClose()}}),[S,x]=yS(p,{formatList:u,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")}),[$,C,T]=cP({valueTexts:S,onTextChange:F=>{const H=XY(F,{locale:e.locale,formatList:u.value,generateConfig:e.generateConfig});H&&(!e.disabledDate||!e.disabledDate(H))&&g(H)}}),I=F=>{const{onChange:H,generateConfig:V,locale:X}=e;g(F),v(F),H&&!uh(V,h.value,F)&&H(F,F?Tr(F,{generateConfig:V,locale:X,format:u.value[0]}):"")},P=F=>{e.disabled&&F||b(F)},M=F=>y.value&&m.value&&m.value.onKeydown?m.value.onKeydown(F):!1,O=function(){e.onMouseup&&e.onMouseup(...arguments),i.value&&(i.value.focus(),P(!0))},[D,{focused:R,typing:A}]=uP({blurToCancel:s,open:y,value:$,triggerOpen:P,forwardKeydown:M,isClickOutside:F=>!GY([c.value,d.value,f.value],F),onSubmit:()=>!p.value||e.disabledDate&&e.disabledDate(p.value)?!1:(I(p.value),P(!1),T(),!0),onCancel:()=>{P(!1),g(h.value),T()},onKeydown:(F,H)=>{var V;(V=e.onKeydown)===null||V===void 0||V.call(e,F,H)},onFocus:F=>{var H;(H=e.onFocus)===null||H===void 0||H.call(e,F)},onBlur:F=>{var H;(H=e.onBlur)===null||H===void 0||H.call(e,F)}});Se([y,S],()=>{y.value||(g(h.value),!S.value.length||S.value[0]===""?C(""):x.value!==$.value&&T())}),Se(l,()=>{y.value||T()}),Se(h,()=>{g(h.value)});const[E,k,N]=dP($,{formatList:u,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")}),B=(F,H)=>{(H==="submit"||H!=="key"&&!s.value)&&(I(F),P(!1))};return qD({operationRef:m,hideHeader:L(()=>l.value==="time"),onSelect:B,open:y,defaultOpenValue:qe(e,"defaultOpenValue"),onDateMouseenter:k,onDateMouseleave:N}),r({focus:()=>{i.value&&i.value.focus()},blur:()=>{i.value&&i.value.blur()}}),()=>{const{prefixCls:F="rc-picker",id:H,tabindex:V,dropdownClassName:X,dropdownAlign:Q,popupStyle:K,transitionName:te,generateConfig:q,locale:ee,inputReadOnly:J,allowClear:G,autofocus:Y,picker:oe="date",defaultOpenValue:W,suffixIcon:Z,clearIcon:ne,disabled:re,placeholder:le,getPopupContainer:ie,panelRender:de,onMousedown:pe,onMouseenter:me,onMouseleave:he,onContextmenu:xe,onClick:Ce,onSelect:ve,direction:fe,autocomplete:ye="off"}=e,Me=_(_(_({},e),n),{class:ce({[`${F}-panel-focused`]:!A.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let De=w("div",{class:`${F}-panel-layout`},[w(rq,{prefixCls:F,presets:a.value,onClick:ke=>{I(ke),P(!1)}},null),w(vE,z(z({},Me),{},{generateConfig:q,value:p.value,locale:ee,tabindex:-1,onSelect:ke=>{ve==null||ve(ke),g(ke)},direction:fe,onPanelChange:(ke,We)=>{const{onPanelChange:gt}=e;N(!0),gt==null||gt(ke,We)}}),null)]);de&&(De=de(De));const Be=w("div",{class:`${F}-panel-container`,ref:c,onMousedown:ke=>{ke.preventDefault()}},[De]);let we;Z&&(we=w("span",{class:`${F}-suffix`},[Z]));let _e;G&&h.value&&!re&&(_e=w("span",{onMousedown:ke=>{ke.preventDefault(),ke.stopPropagation()},onMouseup:ke=>{ke.preventDefault(),ke.stopPropagation(),I(null),P(!1)},class:`${F}-clear`,role:"button"},[ne||w("span",{class:`${F}-clear-btn`},null)]));const Ie=_(_(_(_({id:H,tabindex:V,disabled:re,readonly:J||typeof u.value[0]=="function"||!A.value,value:E.value||$.value,onInput:ke=>{C(ke.target.value)},autofocus:Y,placeholder:le,ref:i,title:$.value},D.value),{size:jY(oe,u.value[0],q)}),ZY(e)),{autocomplete:ye}),Le=e.inputRender?e.inputRender(Ie):w("input",Ie,null),Ke=fe==="rtl"?"bottomRight":"bottomLeft";return w("div",{ref:f,class:ce(F,n.class,{[`${F}-disabled`]:re,[`${F}-focused`]:R.value,[`${F}-rtl`]:fe==="rtl"}),style:n.style,onMousedown:pe,onMouseup:O,onMouseenter:me,onMouseleave:he,onContextmenu:xe,onClick:Ce},[w("div",{class:ce(`${F}-input`,{[`${F}-input-placeholder`]:!!E.value}),ref:d},[Le,we,_e]),w(nq,{visible:y.value,popupStyle:K,prefixCls:F,dropdownClassName:X,dropdownAlign:Q,getPopupContainer:ie,transitionName:te,popupPlacement:Ke,direction:fe},{default:()=>[w("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>Be})])}}})}const hIe=fIe();function vIe(e,t){let{picker:n,locale:r,selectedValue:i,disabledDate:o,disabled:a,generateConfig:l}=e;const s=L(()=>Yt(i.value,0)),u=L(()=>Yt(i.value,1));function c(p){return l.value.locale.getWeekFirstDate(r.value.locale,p)}function d(p){const g=l.value.getYear(p),m=l.value.getMonth(p);return g*100+m}function f(p){const g=l.value.getYear(p),m=aP(l.value,p);return g*10+m}return[p=>{var g;if(o&&(!((g=o==null?void 0:o.value)===null||g===void 0)&&g.call(o,p)))return!0;if(a[1]&&u)return!Ol(l.value,p,u.value)&&l.value.isAfter(p,u.value);if(t.value[1]&&u.value)switch(n.value){case"quarter":return f(p)>f(u.value);case"month":return d(p)>d(u.value);case"week":return c(p)>c(u.value);default:return!Ol(l.value,p,u.value)&&l.value.isAfter(p,u.value)}return!1},p=>{var g;if(!((g=o.value)===null||g===void 0)&&g.call(o,p))return!0;if(a[0]&&s)return!Ol(l.value,p,u.value)&&l.value.isAfter(s.value,p);if(t.value[0]&&s.value)switch(n.value){case"quarter":return f(p)qTe(r,a,l));case"quarter":case"month":return o((a,l)=>Dw(r,a,l));default:return o((a,l)=>eE(r,a,l))}}function gIe(e,t,n,r){const i=Yt(e,0),o=Yt(e,1);if(t===0)return i;if(i&&o)switch(pIe(i,o,n,r)){case"same":return i;case"closing":return i;default:return Qp(o,n,r,-1)}return i}function mIe(e){let{values:t,picker:n,defaultDates:r,generateConfig:i}=e;const o=ue([Yt(r,0),Yt(r,1)]),a=ue(null),l=L(()=>Yt(t.value,0)),s=L(()=>Yt(t.value,1)),u=h=>o.value[h]?o.value[h]:Yt(a.value,h)||gIe(t.value,h,n.value,i.value)||l.value||s.value||i.value.getNow(),c=ue(null),d=ue(null);Ye(()=>{c.value=u(0),d.value=u(1)});function f(h,v){if(h){let p=po(a.value,h,v);o.value=po(o.value,null,v)||[null,null];const g=(v+1)%2;Yt(t.value,g)||(p=po(p,h,g)),a.value=p}else(l.value||s.value)&&(a.value=null)}return[c,d,f]}function oq(e){return Bj()?(Vle(e),!0):!1}function yIe(e){return typeof e=="function"?e():yn(e)}function pE(e){var t;const n=yIe(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function bIe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;gr()?tt(e):t?e():_t(e)}function aq(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=ae(),r=()=>n.value=!!e();return r(),bIe(r,t),n}var Y$;const lq=typeof window!="undefined";lq&&(!((Y$=window==null?void 0:window.navigator)===null||Y$===void 0)&&Y$.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const sq=lq?window:void 0;var SIe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=sq}=n,i=SIe(n,["window"]);let o;const a=aq(()=>r&&"ResizeObserver"in r),l=()=>{o&&(o.disconnect(),o=void 0)},s=Se(()=>pE(e),c=>{l(),a.value&&r&&c&&(o=new ResizeObserver(t),o.observe(c,i))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return oq(u),{isSupported:a,stop:u}}function Bv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,i=ae(t.width),o=ae(t.height);return xIe(e,a=>{let[l]=a;const s=r==="border-box"?l.borderBoxSize:r==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;s?(i.value=s.reduce((u,c)=>{let{inlineSize:d}=c;return u+d},0),o.value=s.reduce((u,c)=>{let{blockSize:d}=c;return u+d},0)):(i.value=l.contentRect.width,o.value=l.contentRect.height)},n),Se(()=>pE(e),a=>{i.value=a?t.width:0,o.value=a?t.height:0}),{width:i,height:o}}function CN(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function $N(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function wIe(){return se({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:r}=t;const i=L(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),o=L(()=>e.presets),a=L(()=>e.ranges),l=iq(o,a),s=ue({}),u=ue(null),c=ue(null),d=ue(null),f=ue(null),h=ue(null),v=ue(null),p=ue(null),g=ue(null),m=L(()=>qY(WY(e.format,e.picker,e.showTime,e.use12Hours))),[y,b]=dn(0,{value:qe(e,"activePickerIndex")}),S=ue(null),x=L(()=>{const{disabled:Re}=e;return Array.isArray(Re)?Re:[Re||!1,Re||!1]}),[$,C]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue,postState:Re=>e.picker==="time"&&!e.order?Re:CN(Re,e.generateConfig)}),[T,I,P]=mIe({values:$,picker:qe(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:qe(e,"generateConfig")}),[M,O]=dn($.value,{postState:Re=>{let ct=Re;if(x.value[0]&&x.value[1])return ct;for(let ot=0;ot<2;ot+=1)x.value[ot]&&!Yt(ct,ot)&&!Yt(e.allowEmpty,ot)&&(ct=po(ct,e.generateConfig.getNow(),ot));return ct}}),[D,R]=dn([e.picker,e.picker],{value:qe(e,"mode")});Se(()=>e.picker,()=>{R([e.picker,e.picker])});const A=(Re,ct)=>{var ot;R(Re),(ot=e.onPanelChange)===null||ot===void 0||ot.call(e,ct,Re)},[E,k]=vIe({picker:qe(e,"picker"),selectedValue:M,locale:qe(e,"locale"),disabled:x,disabledDate:qe(e,"disabledDate"),generateConfig:qe(e,"generateConfig")},s),[N,B]=dn(!1,{value:qe(e,"open"),defaultValue:e.defaultOpen,postState:Re=>x.value[y.value]?!1:Re,onChange:Re=>{var ct;(ct=e.onOpenChange)===null||ct===void 0||ct.call(e,Re),!Re&&S.value&&S.value.onClose&&S.value.onClose()}}),F=L(()=>N.value&&y.value===0),H=L(()=>N.value&&y.value===1),V=ue(0),X=ue(0),Q=ue(0),{width:K}=Bv(u);Se([N,K],()=>{!N.value&&u.value&&(Q.value=K.value)});const{width:te}=Bv(c),{width:q}=Bv(g),{width:ee}=Bv(d),{width:J}=Bv(h);Se([y,N,te,q,ee,J,()=>e.direction],()=>{X.value=0,y.value?d.value&&h.value&&(X.value=ee.value+J.value,te.value&&q.value&&X.value>te.value-q.value-(e.direction==="rtl"||g.value.offsetLeft>X.value?0:g.value.offsetLeft)&&(V.value=X.value)):y.value===0&&(V.value=0)},{immediate:!0});const G=ue();function Y(Re,ct){if(Re)clearTimeout(G.value),s.value[ct]=!0,b(ct),B(Re),N.value||P(null,ct);else if(y.value===ct){B(Re);const ot=s.value;G.value=setTimeout(()=>{ot===s.value&&(s.value={})})}}function oe(Re){Y(!0,Re),setTimeout(()=>{const ct=[v,p][Re];ct.value&&ct.value.focus()},0)}function W(Re,ct){let ot=Re,nn=Yt(ot,0),Qn=Yt(ot,1);const{generateConfig:Dn,locale:bi,picker:xr,order:ga,onCalendarChange:Ni,allowEmpty:ro,onChange:wn,showTime:Fo}=e;nn&&Qn&&Dn.isAfter(nn,Qn)&&(xr==="week"&&!UY(Dn,bi.locale,nn,Qn)||xr==="quarter"&&!KY(Dn,nn,Qn)||xr!=="week"&&xr!=="quarter"&&xr!=="time"&&!(Fo?uh(Dn,nn,Qn):Ol(Dn,nn,Qn))?(ct===0?(ot=[nn,null],Qn=null):(nn=null,ot=[null,Qn]),s.value={[ct]:!0}):(xr!=="time"||ga!==!1)&&(ot=CN(ot,Dn))),O(ot);const io=ot&&ot[0]?Tr(ot[0],{generateConfig:Dn,locale:bi,format:m.value[0]}):"",hs=ot&&ot[1]?Tr(ot[1],{generateConfig:Dn,locale:bi,format:m.value[0]}):"";Ni&&Ni(ot,[io,hs],{range:ct===0?"start":"end"});const vs=$N(nn,0,x.value,ro),zo=$N(Qn,1,x.value,ro);(ot===null||vs&&zo)&&(C(ot),wn&&(!uh(Dn,Yt($.value,0),nn)||!uh(Dn,Yt($.value,1),Qn))&&wn(ot,[io,hs]));let Ho=null;ct===0&&!x.value[1]?Ho=1:ct===1&&!x.value[0]&&(Ho=0),Ho!==null&&Ho!==y.value&&(!s.value[Ho]||!Yt(ot,Ho))&&Yt(ot,ct)?oe(Ho):Y(!1,ct)}const Z=Re=>N&&S.value&&S.value.onKeydown?S.value.onKeydown(Re):!1,ne={formatList:m,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")},[re,le]=yS(L(()=>Yt(M.value,0)),ne),[ie,de]=yS(L(()=>Yt(M.value,1)),ne),pe=(Re,ct)=>{const ot=XY(Re,{locale:e.locale,formatList:m.value,generateConfig:e.generateConfig});ot&&!(ct===0?E:k)(ot)&&(O(po(M.value,ot,ct)),P(ot,ct))},[me,he,xe]=cP({valueTexts:re,onTextChange:Re=>pe(Re,0)}),[Ce,ve,fe]=cP({valueTexts:ie,onTextChange:Re=>pe(Re,1)}),[ye,Me]=Xt(null),[De,Be]=Xt(null),[we,_e,Ie]=dP(me,ne),[Le,Ke,ke]=dP(Ce,ne),We=Re=>{Be(po(M.value,Re,y.value)),y.value===0?_e(Re):Ke(Re)},gt=()=>{Be(po(M.value,null,y.value)),y.value===0?Ie():ke()},Dt=(Re,ct)=>({forwardKeydown:Z,onBlur:ot=>{var nn;(nn=e.onBlur)===null||nn===void 0||nn.call(e,ot)},isClickOutside:ot=>!GY([c.value,d.value,f.value,u.value],ot),onFocus:ot=>{var nn;b(Re),(nn=e.onFocus)===null||nn===void 0||nn.call(e,ot)},triggerOpen:ot=>{Y(ot,Re)},onSubmit:()=>{if(!M.value||e.disabledDate&&e.disabledDate(M.value[Re]))return!1;W(M.value,Re),ct()},onCancel:()=>{Y(!1,Re),O($.value),ct()}}),[At,{focused:kt,typing:Ut}]=uP(_(_({},Dt(0,xe)),{blurToCancel:i,open:F,value:me,onKeydown:(Re,ct)=>{var ot;(ot=e.onKeydown)===null||ot===void 0||ot.call(e,Re,ct)}})),[Wn,{focused:Zn,typing:or}]=uP(_(_({},Dt(1,fe)),{blurToCancel:i,open:H,value:Ce,onKeydown:(Re,ct)=>{var ot;(ot=e.onKeydown)===null||ot===void 0||ot.call(e,Re,ct)}})),On=Re=>{var ct;(ct=e.onClick)===null||ct===void 0||ct.call(e,Re),!N.value&&!v.value.contains(Re.target)&&!p.value.contains(Re.target)&&(x.value[0]?x.value[1]||oe(1):oe(0))},Rr=Re=>{var ct;(ct=e.onMousedown)===null||ct===void 0||ct.call(e,Re),N.value&&(kt.value||Zn.value)&&!v.value.contains(Re.target)&&!p.value.contains(Re.target)&&Re.preventDefault()},mi=L(()=>{var Re;return!((Re=$.value)===null||Re===void 0)&&Re[0]?Tr($.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),no=L(()=>{var Re;return!((Re=$.value)===null||Re===void 0)&&Re[1]?Tr($.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});Se([N,re,ie],()=>{N.value||(O($.value),!re.value.length||re.value[0]===""?he(""):le.value!==me.value&&xe(),!ie.value.length||ie.value[0]===""?ve(""):de.value!==Ce.value&&fe())}),Se([mi,no],()=>{O($.value)}),r({focus:()=>{v.value&&v.value.focus()},blur:()=>{v.value&&v.value.blur(),p.value&&p.value.blur()}});const Bo=L(()=>N.value&&De.value&&De.value[0]&&De.value[1]&&e.generateConfig.isAfter(De.value[1],De.value[0])?De.value:null);function yi(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:ot,showTime:nn,dateRender:Qn,direction:Dn,disabledTime:bi,prefixCls:xr,locale:ga}=e;let Ni=nn;if(nn&&typeof nn=="object"&&nn.defaultValue){const wn=nn.defaultValue;Ni=_(_({},nn),{defaultValue:Yt(wn,y.value)||void 0})}let ro=null;return Qn&&(ro=wn=>{let{current:Fo,today:io}=wn;return Qn({current:Fo,today:io,info:{range:y.value?"end":"start"}})}),w(iIe,{value:{inRange:!0,panelPosition:Re,rangedValue:ye.value||M.value,hoverRangedValue:Bo.value}},{default:()=>[w(vE,z(z(z({},e),ct),{},{dateRender:ro,showTime:Ni,mode:D.value[y.value],generateConfig:ot,style:void 0,direction:Dn,disabledDate:y.value===0?E:k,disabledTime:wn=>bi?bi(wn,y.value===0?"start":"end"):!1,class:ce({[`${xr}-panel-focused`]:y.value===0?!Ut.value:!or.value}),value:Yt(M.value,y.value),locale:ga,tabIndex:-1,onPanelChange:(wn,Fo)=>{y.value===0&&Ie(!0),y.value===1&&ke(!0),A(po(D.value,Fo,y.value),po(M.value,wn,y.value));let io=wn;Re==="right"&&D.value[y.value]===Fo&&(io=Qp(io,Fo,ot,-1)),P(io,y.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:y.value===0?Yt(M.value,1):Yt(M.value,0)}),null)]})}const Lu=(Re,ct)=>{const ot=po(M.value,Re,y.value);ct==="submit"||ct!=="key"&&!i.value?(W(ot,y.value),y.value===0?Ie():ke()):O(ot)};return qD({operationRef:S,hideHeader:L(()=>e.picker==="time"),onDateMouseenter:We,onDateMouseleave:gt,hideRanges:L(()=>!0),onSelect:Lu,open:N}),()=>{const{prefixCls:Re="rc-picker",id:ct,popupStyle:ot,dropdownClassName:nn,transitionName:Qn,dropdownAlign:Dn,getPopupContainer:bi,generateConfig:xr,locale:ga,placeholder:Ni,autofocus:ro,picker:wn="date",showTime:Fo,separator:io="~",disabledDate:hs,panelRender:vs,allowClear:zo,suffixIcon:qd,clearIcon:Ho,inputReadOnly:YC,renderExtraFooter:ple,onMouseenter:gle,onMouseleave:mle,onMouseup:yle,onOk:pL,components:ble,direction:Iv,autocomplete:gL="off"}=e,Sle=Iv==="rtl"?{right:`${X.value}px`}:{left:`${X.value}px`};function xle(){let Si;const ps=eq(Re,D.value[y.value],ple),SL=tq({prefixCls:Re,components:ble,needConfirmButton:i.value,okDisabled:!Yt(M.value,y.value)||hs&&hs(M.value[y.value]),locale:ga,onOk:()=>{Yt(M.value,y.value)&&(W(M.value,y.value),pL&&pL(M.value))}});if(wn!=="time"&&!Fo){const gs=y.value===0?T.value:I.value,$le=Qp(gs,wn,xr),JC=D.value[y.value]===wn,xL=yi(JC?"left":!1,{pickerValue:gs,onPickerValueChange:e$=>{P(e$,y.value)}}),wL=yi("right",{pickerValue:$le,onPickerValueChange:e$=>{P(Qp(e$,wn,xr,-1),y.value)}});Iv==="rtl"?Si=w(Qe,null,[wL,JC&&xL]):Si=w(Qe,null,[xL,JC&&wL])}else Si=yi();let QC=w("div",{class:`${Re}-panel-layout`},[w(rq,{prefixCls:Re,presets:l.value,onClick:gs=>{W(gs,null),Y(!1,y.value)},onHover:gs=>{Me(gs)}},null),w("div",null,[w("div",{class:`${Re}-panels`},[Si]),(ps||SL)&&w("div",{class:`${Re}-footer`},[ps,SL])])]);return vs&&(QC=vs(QC)),w("div",{class:`${Re}-panel-container`,style:{marginLeft:`${V.value}px`},ref:c,onMousedown:gs=>{gs.preventDefault()}},[QC])}const wle=w("div",{class:ce(`${Re}-range-wrapper`,`${Re}-${wn}-range-wrapper`),style:{minWidth:`${Q.value}px`}},[w("div",{ref:g,class:`${Re}-range-arrow`,style:Sle},null),xle()]);let mL;qd&&(mL=w("span",{class:`${Re}-suffix`},[qd]));let yL;zo&&(Yt($.value,0)&&!x.value[0]||Yt($.value,1)&&!x.value[1])&&(yL=w("span",{onMousedown:Si=>{Si.preventDefault(),Si.stopPropagation()},onMouseup:Si=>{Si.preventDefault(),Si.stopPropagation();let ps=$.value;x.value[0]||(ps=po(ps,null,0)),x.value[1]||(ps=po(ps,null,1)),W(ps,null),Y(!1,y.value)},class:`${Re}-clear`},[Ho||w("span",{class:`${Re}-clear-btn`},null)]));const bL={size:jY(wn,m.value[0],xr)};let qC=0,ZC=0;d.value&&f.value&&h.value&&(y.value===0?ZC=d.value.offsetWidth:(qC=X.value,ZC=f.value.offsetWidth));const Cle=Iv==="rtl"?{right:`${qC}px`}:{left:`${qC}px`};return w("div",z({ref:u,class:ce(Re,`${Re}-range`,n.class,{[`${Re}-disabled`]:x.value[0]&&x.value[1],[`${Re}-focused`]:y.value===0?kt.value:Zn.value,[`${Re}-rtl`]:Iv==="rtl"}),style:n.style,onClick:On,onMouseenter:gle,onMouseleave:mle,onMousedown:Rr,onMouseup:yle},ZY(e)),[w("div",{class:ce(`${Re}-input`,{[`${Re}-input-active`]:y.value===0,[`${Re}-input-placeholder`]:!!we.value}),ref:d},[w("input",z(z(z({id:ct,disabled:x.value[0],readonly:YC||typeof m.value[0]=="function"||!Ut.value,value:we.value||me.value,onInput:Si=>{he(Si.target.value)},autofocus:ro,placeholder:Yt(Ni,0)||"",ref:v},At.value),bL),{},{autocomplete:gL}),null)]),w("div",{class:`${Re}-range-separator`,ref:h},[io]),w("div",{class:ce(`${Re}-input`,{[`${Re}-input-active`]:y.value===1,[`${Re}-input-placeholder`]:!!Le.value}),ref:f},[w("input",z(z(z({disabled:x.value[1],readonly:YC||typeof m.value[0]=="function"||!or.value,value:Le.value||Ce.value,onInput:Si=>{ve(Si.target.value)},placeholder:Yt(Ni,1)||"",ref:p},Wn.value),bL),{},{autocomplete:gL}),null)]),w("div",{class:`${Re}-active-bar`,style:_(_({},Cle),{width:`${ZC}px`,position:"absolute"})},null),mL,yL,w(nq,{visible:N.value,popupStyle:ot,prefixCls:Re,dropdownClassName:nn,dropdownAlign:Dn,getPopupContainer:bi,transitionName:Qn,range:!0,direction:Iv},{default:()=>[w("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>wle})])}}})}const CIe=wIe(),$Ie=CIe;var _Ie=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.checked,()=>{o.value=e.checked}),i({focus(){var c;(c=a.value)===null||c===void 0||c.focus()},blur(){var c;(c=a.value)===null||c===void 0||c.blur()}});const l=ue(),s=c=>{if(e.disabled)return;e.checked===void 0&&(o.value=c.target.checked),c.shiftKey=l.value;const d={target:_(_({},e),{checked:c.target.checked}),stopPropagation(){c.stopPropagation()},preventDefault(){c.preventDefault()},nativeEvent:c};e.checked!==void 0&&(a.value.checked=!!e.checked),r("change",d),l.value=!1},u=c=>{r("click",c),l.value=c.shiftKey};return()=>{const{prefixCls:c,name:d,id:f,type:h,disabled:v,readonly:p,tabindex:g,autofocus:m,value:y,required:b}=e,S=_Ie(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:x,onFocus:$,onBlur:C,onKeydown:T,onKeypress:I,onKeyup:P}=n,M=_(_({},S),n),O=Object.keys(M).reduce((A,E)=>((E.startsWith("data-")||E.startsWith("aria-")||E==="role")&&(A[E]=M[E]),A),{}),D=ce(c,x,{[`${c}-checked`]:o.value,[`${c}-disabled`]:v}),R=_(_({name:d,id:f,type:h,readonly:p,disabled:v,tabindex:g,class:`${c}-input`,checked:!!o.value,autofocus:m,value:y},O),{onChange:s,onClick:u,onFocus:$,onBlur:C,onKeydown:T,onKeypress:I,onKeyup:P,required:b});return w("span",{class:D},[w("input",z({ref:a},R),null),w("span",{class:`${c}-inner`},null)])}}}),cq=Symbol("radioGroupContextKey"),IIe=e=>{at(cq,e)},PIe=()=>Je(cq,void 0),dq=Symbol("radioOptionTypeContextKey"),MIe=e=>{at(dq,e)},AIe=()=>Je(dq,void 0),OIe=new xt("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),DIe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:_(_({},st(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},EIe=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:i,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:l,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:c,lineWidth:d,radioDotSize:f,colorBgContainerDisabled:h,colorTextDisabled:v,paddingXS:p,radioDotDisabledColor:g,lineType:m,radioDotDisabledSize:y,wireframe:b,colorWhite:S}=e,x=`${t}-inner`;return{[`${t}-wrapper`]:_(_({},st(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${m} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:OIe,animationDuration:o,animationTimingFunction:l,animationFillMode:"both",content:'""'},[t]:_(_({},st(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, - &:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:_({},jl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:i,height:i,marginBlockStart:i/-2,marginInlineStart:i/-2,backgroundColor:b?r:S,borderBlockStart:0,borderInlineStart:0,borderRadius:i,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:i,height:i,backgroundColor:u,borderColor:c,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[x]:{borderColor:r,backgroundColor:b?u:r,"&::after":{transform:`scale(${f/i})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:h,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:v,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${y/i})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},RIe=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:c,radioButtonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:v,paddingXS:p,borderRadius:g,borderRadiusSM:m,borderRadiusLG:y,radioCheckedColor:b,radioButtonCheckedBg:S,radioButtonHoverColor:x,radioButtonActiveColor:$,radioSolidCheckedColor:C,colorTextDisabled:T,colorBgContainerDisabled:I,radioDisabledButtonCheckedColor:P,radioDisabledButtonCheckedBg:M}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:`${n-i*2}px`,background:d,border:`${i}px ${o} ${a}`,borderBlockStartWidth:i+.02,borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-i,insetInlineStart:-i,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${i}px ${o} ${a}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:`${h-i*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${r}-group-small &`]:{height:v,paddingInline:p-i,paddingBlock:0,lineHeight:`${v-i*2}px`,"&:first-child":{borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m}},"&:hover":{position:"relative",color:b},"&:has(:focus-visible)":_({},jl(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:b,background:S,borderColor:b,"&::before":{backgroundColor:b},"&:first-child":{borderColor:b},"&:hover":{color:x,borderColor:x,"&::before":{backgroundColor:x}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:b,borderColor:b,"&:hover":{color:C,background:x,borderColor:x},"&:active":{color:C,background:$,borderColor:$}},"&-disabled":{color:T,backgroundColor:I,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:T,backgroundColor:I,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:P,backgroundColor:M,borderColor:a,boxShadow:"none"}}}},fq=it("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:i,colorBgContainer:o,fontSizeLG:a,controlOutline:l,colorPrimaryHover:s,colorPrimaryActive:u,colorText:c,colorPrimary:d,marginXS:f,controlOutlineWidth:h,colorTextLightSolid:v,wireframe:p}=e,g=`0 0 0 ${h}px ${l}`,m=g,y=a,b=4,S=y-b*2,x=p?S:y-(b+n)*2,$=d,C=c,T=s,I=u,P=t-n,D=Ue(e,{radioFocusShadow:g,radioButtonFocusShadow:m,radioSize:y,radioDotSize:x,radioDotDisabledSize:S,radioCheckedColor:$,radioDotDisabledColor:i,radioSolidCheckedColor:v,radioButtonBg:o,radioButtonCheckedBg:o,radioButtonColor:C,radioButtonHoverColor:T,radioButtonActiveColor:I,radioButtonPaddingHorizontal:P,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:i,radioWrapperMarginRight:f});return[DIe(D),EIe(D),RIe(D)]});var LIe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,checked:$e(),disabled:$e(),isGroup:$e(),value:U.any,name:String,id:String,autofocus:$e(),onChange:be(),onFocus:be(),onBlur:be(),onClick:be(),"onUpdate:checked":be(),"onUpdate:value":be()}),ai=se({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:hq(),setup(e,t){let{emit:n,expose:r,slots:i,attrs:o}=t;const a=Xn(),l=fr.useInject(),s=AIe(),u=PIe(),c=Mi(),d=L(()=>{var T;return(T=p.value)!==null&&T!==void 0?T:c.value}),f=ue(),{prefixCls:h,direction:v,disabled:p}=Ee("radio",e),g=L(()=>(u==null?void 0:u.optionType.value)==="button"||s==="button"?`${h.value}-button`:h.value),m=Mi(),[y,b]=fq(h);r({focus:()=>{f.value.focus()},blur:()=>{f.value.blur()}});const $=T=>{const I=T.target.checked;n("update:checked",I),n("update:value",I),n("change",T),a.onFieldChange()},C=T=>{n("change",T),u&&u.onChange&&u.onChange(T)};return()=>{var T;const I=u,{prefixCls:P,id:M=a.id.value}=e,O=LIe(e,["prefixCls","id"]),D=_(_({prefixCls:g.value,id:M},yt(O,["onUpdate:checked","onUpdate:value"])),{disabled:(T=p.value)!==null&&T!==void 0?T:m.value});I?(D.name=I.name.value,D.onChange=C,D.checked=e.value===I.value.value,D.disabled=d.value||I.disabled.value):D.onChange=$;const R=ce({[`${g.value}-wrapper`]:!0,[`${g.value}-wrapper-checked`]:D.checked,[`${g.value}-wrapper-disabled`]:D.disabled,[`${g.value}-wrapper-rtl`]:v.value==="rtl",[`${g.value}-wrapper-in-form-item`]:l.isFormItemInput},o.class,b.value);return y(w("label",z(z({},o),{},{class:R}),[w(uq,z(z({},D),{},{type:"radio",ref:f}),null),i.default&&w("span",null,[i.default()])]))}}}),NIe=()=>({prefixCls:String,value:U.any,size:je(),options:Ot(),disabled:$e(),name:String,buttonStyle:je("outline"),id:String,optionType:je("default"),onChange:be(),"onUpdate:value":be()}),gE=se({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:NIe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=Xn(),{prefixCls:a,direction:l,size:s}=Ee("radio",e),[u,c]=fq(a),d=ue(e.value),f=ue(!1);return Se(()=>e.value,v=>{d.value=v,f.value=!1}),IIe({onChange:v=>{const p=d.value,{value:g}=v.target;"value"in e||(d.value=g),!f.value&&g!==p&&(f.value=!0,r("update:value",g),r("change",v),o.onFieldChange()),_t(()=>{f.value=!1})},value:d,disabled:L(()=>e.disabled),name:L(()=>e.name),optionType:L(()=>e.optionType)}),()=>{var v;const{options:p,buttonStyle:g,id:m=o.id.value}=e,y=`${a.value}-group`,b=ce(y,`${y}-${g}`,{[`${y}-${s.value}`]:s.value,[`${y}-rtl`]:l.value==="rtl"},i.class,c.value);let S=null;return p&&p.length>0?S=p.map(x=>{if(typeof x=="string"||typeof x=="number")return w(ai,{key:x,prefixCls:a.value,disabled:e.disabled,value:x,checked:d.value===x},{default:()=>[x]});const{value:$,disabled:C,label:T}=x;return w(ai,{key:`radio-group-value-options-${$}`,prefixCls:a.value,disabled:C||e.disabled,value:$,checked:d.value===$},{default:()=>[T]})}):S=(v=n.default)===null||v===void 0?void 0:v.call(n),u(w("div",z(z({},i),{},{class:b,id:m}),[S]))}}}),bS=se({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:hq(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=Ee("radio",e);return MIe("button"),()=>{var o;return w(ai,z(z(z({},r),e),{},{prefixCls:i.value}),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}}});ai.Group=gE;ai.Button=bS;ai.install=function(e){return e.component(ai.name,ai),e.component(ai.Group.name,ai.Group),e.component(ai.Button.name,ai.Button),e};const kIe=10,BIe=20;function vq(e){const{fullscreen:t,validRange:n,generateConfig:r,locale:i,prefixCls:o,value:a,onChange:l,divRef:s}=e,u=r.getYear(a||r.getNow());let c=u-kIe,d=c+BIe;n&&(c=r.getYear(n[0]),d=r.getYear(n[1])+1);const f=i&&i.year==="年"?"年":"",h=[];for(let v=c;v{let p=r.setYear(a,v);if(n){const[g,m]=n,y=r.getYear(p),b=r.getMonth(p);y===r.getYear(m)&&b>r.getMonth(m)&&(p=r.setMonth(p,r.getMonth(m))),y===r.getYear(g)&&bs.value},null)}vq.inheritAttrs=!1;function pq(e){const{prefixCls:t,fullscreen:n,validRange:r,value:i,generateConfig:o,locale:a,onChange:l,divRef:s}=e,u=o.getMonth(i||o.getNow());let c=0,d=11;if(r){const[v,p]=r,g=o.getYear(i);o.getYear(p)===g&&(d=o.getMonth(p)),o.getYear(v)===g&&(c=o.getMonth(v))}const f=a.shortMonths||o.locale.getShortMonths(a.locale),h=[];for(let v=c;v<=d;v+=1)h.push({label:f[v],value:v});return w(Kl,{size:n?void 0:"small",class:`${t}-month-select`,value:u,options:h,onChange:v=>{l(o.setMonth(i,v))},getPopupContainer:()=>s.value},null)}pq.inheritAttrs=!1;function gq(e){const{prefixCls:t,locale:n,mode:r,fullscreen:i,onModeChange:o}=e;return w(gE,{onChange:a=>{let{target:{value:l}}=a;o(l)},value:r,size:i?void 0:"small",class:`${t}-mode-switch`},{default:()=>[w(bS,{value:"month"},{default:()=>[n.month]}),w(bS,{value:"year"},{default:()=>[n.year]})]})}gq.inheritAttrs=!1;const FIe=se({name:"CalendarHeader",inheritAttrs:!1,props:["mode","prefixCls","value","validRange","generateConfig","locale","mode","fullscreen"],setup(e,t){let{attrs:n}=t;const r=ue(null),i=fr.useInject();return fr.useProvide(i,{isFormItemInput:!1}),()=>{const o=_(_({},e),n),{prefixCls:a,fullscreen:l,mode:s,onChange:u,onModeChange:c}=o,d=_(_({},o),{fullscreen:l,divRef:r});return w("div",{class:`${a}-header`,ref:r},[w(vq,z(z({},d),{},{onChange:f=>{u(f,"year")}}),null),s==="month"&&w(pq,z(z({},d),{},{onChange:f=>{u(f,"month")}}),null),w(gq,z(z({},d),{},{onModeChange:c}),null)])}}}),mE=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),uv=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),hu=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),yE=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":_({},uv(Ue(e,{inputBorderHoverColor:e.colorBorder})))}),mq=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:i,inputPaddingHorizontalLG:o}=e;return{padding:`${t}px ${o}px`,fontSize:n,lineHeight:r,borderRadius:i}},bE=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),Xm=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:i,colorErrorOutline:o,colorWarningOutline:a,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:l},"&:focus, &-focused":_({},hu(Ue(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:o}))),[`${n}-prefix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:i,"&:hover":{borderColor:s},"&:focus, &-focused":_({},hu(Ue(e,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:a}))),[`${n}-prefix`]:{color:i}}}},Bd=e=>_(_({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},mE(e.colorTextPlaceholder)),{"&:hover":_({},uv(e)),"&:focus, &-focused":_({},hu(e)),"&-disabled, &[disabled]":_({},yE(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":_({},mq(e)),"&-sm":_({},bE(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),yq=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:_({},mq(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:_({},bE(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:_(_({display:"block"},aa()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.breadcrumbLinkColorHover,backgroundColor:e.colorBgTextHover,a:{color:e.breadcrumbLinkColorHover}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},bTe=it("Breadcrumb",e=>{const t=Ue(e,{breadcrumbBaseColor:e.colorTextDescription,breadcrumbFontSize:e.fontSize,breadcrumbIconFontSize:e.fontSize,breadcrumbLinkColor:e.colorTextDescription,breadcrumbLinkColorHover:e.colorText,breadcrumbLastItemColor:e.colorText,breadcrumbSeparatorMargin:e.marginXS,breadcrumbSeparatorColor:e.colorTextDescription});return[yTe(t)]}),STe=()=>({prefixCls:String,routes:{type:Array},params:U.any,separator:U.any,itemRender:{type:Function}});function xTe(e,t){if(!e.breadcrumbName)return null;const n=Object.keys(t).join("|");return e.breadcrumbName.replace(new RegExp(`:(${n})`,"g"),(i,o)=>t[o]||i)}function gN(e){const{route:t,params:n,routes:r,paths:i}=e,o=r.indexOf(t)===r.length-1,a=xTe(t,n);return o?w("span",null,[a]):w("a",{href:`#/${i.join("/")}`},[a])}const Zc=se({compatConfig:{MODE:3},name:"ABreadcrumb",inheritAttrs:!1,props:STe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("breadcrumb",e),[a,l]=bTe(i),s=(d,f)=>(d=(d||"").replace(/^\//,""),Object.keys(f).forEach(h=>{d=d.replace(`:${h}`,f[h])}),d),u=(d,f,h)=>{const v=[...d],p=s(f||"",h);return p&&v.push(p),v},c=d=>{let{routes:f=[],params:h={},separator:v,itemRender:p=gN}=d;const g=[];return f.map(m=>{const y=s(m.path,h);y&&g.push(y);const b=[...g];let S=null;m.children&&m.children.length&&(S=w(Ln,{items:m.children.map($=>({key:$.path||$.breadcrumbName,label:p({route:$,params:h,routes:f,paths:u(b,$.path,h)})}))},null));const x={separator:v};return S&&(x.overlay=S),w(Kg,z(z({},x),{},{key:y||m.breadcrumbName}),{default:()=>[p({route:m,params:h,routes:f,paths:b})]})})};return()=>{var d;let f;const{routes:h,params:v={}}=e,p=Jt(Un(n,e)),g=(d=Un(n,e,"separator"))!==null&&d!==void 0?d:"/",m=e.itemRender||n.itemRender||gN;h&&h.length>0?f=c({routes:h,params:v,separator:g,itemRender:m}):p.length&&(f=p.map((b,S)=>(vn(typeof b.type=="object"&&(b.type.__ANT_BREADCRUMB_ITEM||b.type.__ANT_BREADCRUMB_SEPARATOR)),cr(b,{separator:g,key:S}))));const y={[i.value]:!0,[`${i.value}-rtl`]:o.value==="rtl",[`${r.class}`]:!!r.class,[l.value]:!0};return a(w("nav",z(z({},r),{},{class:y}),[w("ol",null,[f])]))}}});var wTe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String}),mS=se({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:CTe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=Ee("breadcrumb",e);return()=>{var o;const{separator:a,class:l}=r,s=wTe(r,["separator","class"]),u=Jt((o=n.default)===null||o===void 0?void 0:o.call(n));return w("span",z({class:[`${i.value}-separator`,l]},s),[u.length>0?u:"/"])}}});Zc.Item=Kg;Zc.Separator=mS;Zc.install=function(e){return e.component(Zc.name,Zc),e.component(Kg.name,Kg),e.component(mS.name,mS),e};var RY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){r.prototype.weekday=function(i){var o=this.$locale().weekStart||0,a=this.$W,l=(a25){var c=a(this).startOf(r).add(1,r).date(u),d=a(this).endOf(n);if(c.isBefore(d))return 1}var f=a(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?a(this).startOf("week").week():Math.ceil(h)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(NY);var PTe=NY.exports;const MTe=Iu(PTe);var kY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})})(kY);var ATe=kY.exports;const OTe=Iu(ATe);var BY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){var n="month",r="quarter";return function(i,o){var a=o.prototype;a.quarter=function(u){return this.$utils().u(u)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(u-1))};var l=a.add;a.add=function(u,c){return u=Number(u),this.$utils().p(c)===r?this.add(3*u,n):l.bind(this)(u,c)};var s=a.startOf;a.startOf=function(u,c){var d=this.$utils(),f=!!d.u(c)||c;if(d.p(u)===r){var h=this.quarter()-1;return f?this.month(3*h).startOf(n).startOf("day"):this.month(3*h+2).endOf(n).endOf("day")}return s.bind(this)(u,c)}}})})(BY);var DTe=BY.exports;const ETe=Iu(DTe);var FY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(a){var l=this,s=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),c=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),d==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return d}});return o.bind(this)(c)}}})})(FY);var RTe=FY.exports;const LTe=Iu(RTe);var zY={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(rs,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,a=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,s={},u=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(m){this[g]=+m}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var y=m.match(/([+-]|\d\d)/g),b=60*y[1]+(+y[2]||0);return b===0?0:y[0]==="+"?-b:b}(g)}],f=function(g){var m=s[g];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(g,m){var y,b=s.meridiem;if(b){for(var S=1;S<=24;S+=1)if(g.indexOf(b(S,0,m))>-1){y=S>12;break}}else y=g===(m?"pm":"PM");return y},v={A:[l,function(g){this.afternoon=h(g,!1)}],a:[l,function(g){this.afternoon=h(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[o,c("day")],Do:[l,function(g){var m=s.ordinal,y=g.match(/\d+/);if(this.day=y[0],m)for(var b=1;b<=31;b+=1)m(b).replace(/\[|\]/g,"")===g&&(this.day=b)}],w:[a,c("week")],ww:[o,c("week")],M:[a,c("month")],MM:[o,c("month")],MMM:[l,function(g){var m=f("months"),y=(f("monthsShort")||m.map(function(b){return b.slice(0,3)})).indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[l,function(g){var m=f("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function p(g){var m,y;m=g,y=s&&s.formats;for(var b=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,M,O){var D=O&&O.toUpperCase();return M||y[O]||n[O]||y[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(R,A,E){return A||E.slice(1)})})).match(r),S=b.length,x=0;x-1)return new Date((N==="X"?1e3:1)*k);var H=p(N)(k),V=H.year,X=H.month,Q=H.day,K=H.hours,te=H.minutes,q=H.seconds,ee=H.milliseconds,J=H.zone,G=H.week,Y=new Date,oe=Q||(V||X?1:Y.getDate()),W=V||Y.getFullYear(),Z=0;V&&!X||(Z=X>0?X-1:Y.getMonth());var ne,re=K||0,le=te||0,ie=q||0,de=ee||0;return J?new Date(Date.UTC(W,Z,oe,re,le,ie,de+60*J.offset*1e3)):B?new Date(Date.UTC(W,Z,oe,re,le,ie,de)):(ne=new Date(W,Z,oe,re,le,ie,de),G&&(ne=F(ne).week(G).toDate()),ne)}catch(pe){return new Date("")}}($,I,C,y),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),O&&$!=this.format(I)&&(this.$d=new Date("")),s={}}else if(I instanceof Array)for(var R=I.length,A=1;A<=R;A+=1){T[1]=I[A-1];var E=y.apply(this,T);if(E.isValid()){this.$d=E.$d,this.$L=E.$L,this.init();break}A===R&&(this.$d=new Date(""))}else S.call(this,x)}}})})(zY);var NTe=zY.exports;const kTe=Iu(NTe);er.extend(kTe);er.extend(LTe);er.extend(_Te);er.extend(ITe);er.extend(MTe);er.extend(OTe);er.extend(ETe);er.extend((e,t)=>{const n=t.prototype,r=n.format;n.format=function(o){const a=(o||"").replace("Wo","wo");return r.bind(this)(a)}});const BTe={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},Hu=e=>BTe[e]||e.split("_")[0],mN=()=>{rhe(!1,"Not match any format. Please help to fire a issue about this.")},FTe=/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|k{1,2}|S/g;function yN(e,t,n){const r=[...new Set(e.split(n))];let i=0;for(let o=0;ot)return a;i+=n.length}}const bN=(e,t)=>{if(!e)return null;if(er.isDayjs(e))return e;const n=t.matchAll(FTe);let r=er(e,t);if(n===null)return r;for(const i of n){const o=i[0],a=i.index;if(o==="Q"){const l=e.slice(a-1,a),s=yN(e,a,l).match(/\d+/)[0];r=r.quarter(parseInt(s))}if(o.toLowerCase()==="wo"){const l=e.slice(a-1,a),s=yN(e,a,l).match(/\d+/)[0];r=r.week(parseInt(s))}o.toLowerCase()==="ww"&&(r=r.week(parseInt(e.slice(a,a+o.length)))),o.toLowerCase()==="w"&&(r=r.week(parseInt(e.slice(a,a+o.length+1))))}return r},zTe={getNow:()=>er(),getFixedDate:e=>er(e,["YYYY-M-DD","YYYY-MM-DD"]),getEndDate:e=>e.endOf("month"),getWeekDay:e=>{const t=e.locale("en");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:e=>e.year(),getMonth:e=>e.month(),getDate:e=>e.date(),getHour:e=>e.hour(),getMinute:e=>e.minute(),getSecond:e=>e.second(),addYear:(e,t)=>e.add(t,"year"),addMonth:(e,t)=>e.add(t,"month"),addDate:(e,t)=>e.add(t,"day"),setYear:(e,t)=>e.year(t),setMonth:(e,t)=>e.month(t),setDate:(e,t)=>e.date(t),setHour:(e,t)=>e.hour(t),setMinute:(e,t)=>e.minute(t),setSecond:(e,t)=>e.second(t),isAfter:(e,t)=>e.isAfter(t),isValidate:e=>e.isValid(),locale:{getWeekFirstDay:e=>er().locale(Hu(e)).localeData().firstDayOfWeek(),getWeekFirstDate:(e,t)=>t.locale(Hu(e)).weekday(0),getWeek:(e,t)=>t.locale(Hu(e)).week(),getShortWeekDays:e=>er().locale(Hu(e)).localeData().weekdaysMin(),getShortMonths:e=>er().locale(Hu(e)).localeData().monthsShort(),format:(e,t,n)=>t.locale(Hu(e)).format(n),parse:(e,t,n)=>{const r=Hu(e);for(let i=0;iArray.isArray(e)?e.map(n=>bN(n,t)):bN(e,t),toString:(e,t)=>Array.isArray(e)?e.map(n=>er.isDayjs(n)?n.format(t):n):er.isDayjs(e)?e.format(t):e},YD=zTe;function Vn(e){const t=kse();return _(_({},e),t)}const HY=Symbol("PanelContextProps"),qD=e=>{at(HY,e)},al=()=>Je(HY,{}),Qy={visibility:"hidden"};function Ou(e,t){let{slots:n}=t;var r;const i=Vn(e),{prefixCls:o,prevIcon:a="‹",nextIcon:l="›",superPrevIcon:s="«",superNextIcon:u="»",onSuperPrev:c,onSuperNext:d,onPrev:f,onNext:h}=i,{hideNextBtn:v,hidePrevBtn:p}=al();return w("div",{class:o},[c&&w("button",{type:"button",onClick:c,tabindex:-1,class:`${o}-super-prev-btn`,style:p.value?Qy:{}},[s]),f&&w("button",{type:"button",onClick:f,tabindex:-1,class:`${o}-prev-btn`,style:p.value?Qy:{}},[a]),w("div",{class:`${o}-view`},[(r=n.default)===null||r===void 0?void 0:r.call(n)]),h&&w("button",{type:"button",onClick:h,tabindex:-1,class:`${o}-next-btn`,style:v.value?Qy:{}},[l]),d&&w("button",{type:"button",onClick:d,tabindex:-1,class:`${o}-super-next-btn`,style:v.value?Qy:{}},[u])])}Ou.displayName="Header";Ou.inheritAttrs=!1;function ZD(e){const t=Vn(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecades:o,onNextDecades:a}=t,{hideHeader:l}=al();if(l)return null;const s=`${n}-header`,u=r.getYear(i),c=Math.floor(u/Ol)*Ol,d=c+Ol-1;return w(Ou,z(z({},t),{},{prefixCls:s,onSuperPrev:o,onSuperNext:a}),{default:()=>[c,Gr("-"),d]})}ZD.displayName="DecadeHeader";ZD.inheritAttrs=!1;function VY(e,t,n,r,i){let o=e.setHour(t,n);return o=e.setMinute(o,r),o=e.setSecond(o,i),o}function Ab(e,t,n){if(!n)return t;let r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}function HTe(e,t,n,r,i,o){const a=Math.floor(e/r)*r;if(a{R.stopPropagation(),O||r(M)},onMouseenter:()=>{!O&&m&&m(M)},onMouseleave:()=>{!O&&y&&y(M)}},[f?f(M):w("div",{class:`${S}-inner`},[d(M)])]))}x.push(w("tr",{key:$,class:s&&s(T)},[C]))}return w("div",{class:`${t}-body`},[w("table",{class:`${t}-content`},[g&&w("thead",null,[w("tr",null,[g])]),w("tbody",null,[x])])])}kd.displayName="PanelBody";kd.inheritAttrs=!1;const iP=3,SN=4;function QD(e){const t=Vn(e),n=qo-1,{prefixCls:r,viewDate:i,generateConfig:o}=t,a=`${r}-cell`,l=o.getYear(i),s=Math.floor(l/qo)*qo,u=Math.floor(l/Ol)*Ol,c=u+Ol-1,d=o.setYear(i,u-Math.ceil((iP*SN*qo-Ol)/2)),f=h=>{const v=o.getYear(h),p=v+n;return{[`${a}-in-view`]:u<=v&&p<=c,[`${a}-selected`]:v===s}};return w(kd,z(z({},t),{},{rowNum:SN,colNum:iP,baseDate:d,getCellText:h=>{const v=o.getYear(h);return`${v}-${v+n}`},getCellClassName:f,getCellDate:(h,v)=>o.addYear(h,v*qo)}),null)}QD.displayName="DecadeBody";QD.inheritAttrs=!1;const Jy=new Map;function WTe(e,t){let n;function r(){lw(e)?t():n=dt(()=>{r()})}return r(),()=>{dt.cancel(n)}}function oP(e,t,n){if(Jy.get(e)&&dt.cancel(Jy.get(e)),n<=0){Jy.set(e,dt(()=>{e.scrollTop=t}));return}const i=(t-e.scrollTop)/n*10;Jy.set(e,dt(()=>{e.scrollTop+=i,e.scrollTop!==t&&oP(e,t,n-10)}))}function uv(e,t){let{onLeftRight:n,onCtrlLeftRight:r,onUpDown:i,onPageUpDown:o,onEnter:a}=t;const{which:l,ctrlKey:s,metaKey:u}=e;switch(l){case Pe.LEFT:if(s||u){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case Pe.RIGHT:if(s||u){if(r)return r(1),!0}else if(n)return n(1),!0;break;case Pe.UP:if(i)return i(-1),!0;break;case Pe.DOWN:if(i)return i(1),!0;break;case Pe.PAGE_UP:if(o)return o(-1),!0;break;case Pe.PAGE_DOWN:if(o)return o(1),!0;break;case Pe.ENTER:if(a)return a(),!0;break}return!1}function WY(e,t,n,r){let i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function jY(e,t,n){const r=e==="time"?8:10,i=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,i)+2}let Bv=null;const e0=new Set;function jTe(e){return!Bv&&typeof window!="undefined"&&window.addEventListener&&(Bv=t=>{[...e0].forEach(n=>{n(t)})},window.addEventListener("mousedown",Bv)),e0.add(e),()=>{e0.delete(e),e0.size===0&&(window.removeEventListener("mousedown",Bv),Bv=null)}}function GTe(e){var t;const n=e.target;return e.composed&&n.shadowRoot&&((t=e.composedPath)===null||t===void 0?void 0:t.call(e)[0])||n}const KTe=e=>e==="month"||e==="date"?"year":e,UTe=e=>e==="date"?"month":e,XTe=e=>e==="month"||e==="date"?"quarter":e,YTe=e=>e==="date"?"week":e,qTe={year:KTe,month:UTe,quarter:XTe,week:YTe,time:null,date:null};function GY(e,t){return e.some(n=>n&&n.contains(t))}const qo=10,Ol=qo*10;function JD(e){const t=Vn(e),{prefixCls:n,onViewDateChange:r,generateConfig:i,viewDate:o,operationRef:a,onSelect:l,onPanelChange:s}=t,u=`${n}-decade-panel`;a.value={onKeydown:f=>uv(f,{onLeftRight:h=>{l(i.addYear(o,h*qo),"key")},onCtrlLeftRight:h=>{l(i.addYear(o,h*Ol),"key")},onUpDown:h=>{l(i.addYear(o,h*qo*iP),"key")},onEnter:()=>{s("year",o)}})};const c=f=>{const h=i.addYear(o,f*Ol);r(h),s(null,h)},d=f=>{l(f,"mouse"),s("year",f)};return w("div",{class:u},[w(ZD,z(z({},t),{},{prefixCls:n,onPrevDecades:()=>{c(-1)},onNextDecades:()=>{c(1)}}),null),w(QD,z(z({},t),{},{prefixCls:n,onSelect:d}),null)])}JD.displayName="DecadePanel";JD.inheritAttrs=!1;const Ob=7;function Bd(e,t){if(!e&&!t)return!0;if(!e||!t)return!1}function ZTe(e,t,n){const r=Bd(t,n);if(typeof r=="boolean")return r;const i=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return i===o}function Dw(e,t,n){const r=Bd(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)}function aP(e,t){return Math.floor(e.getMonth(t)/3)+1}function KY(e,t,n){const r=Bd(t,n);return typeof r=="boolean"?r:Dw(e,t,n)&&aP(e,t)===aP(e,n)}function eE(e,t,n){const r=Bd(t,n);return typeof r=="boolean"?r:Dw(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function Dl(e,t,n){const r=Bd(t,n);return typeof r=="boolean"?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function QTe(e,t,n){const r=Bd(t,n);return typeof r=="boolean"?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function UY(e,t,n,r){const i=Bd(n,r);return typeof i=="boolean"?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function ch(e,t,n){return Dl(e,t,n)&&QTe(e,t,n)}function t0(e,t,n,r){return!t||!n||!r?!1:!Dl(e,t,r)&&!Dl(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r)}function JTe(e,t,n){const r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i);let a=t.addDate(i,r-o);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function Jp(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function Tr(e,t){let{generateConfig:n,locale:r,format:i}=t;return typeof i=="function"?i(e):n.locale.format(r.locale,e,i)}function XY(e,t){let{generateConfig:n,locale:r,formatList:i}=t;return!e||typeof i[0]=="function"?null:n.locale.parse(r.locale,e,i)}function lP(e){let{cellDate:t,mode:n,disabledDate:r,generateConfig:i}=e;if(!r)return!1;const o=(a,l,s)=>{let u=l;for(;u<=s;){let c;switch(a){case"date":{if(c=i.setDate(t,u),!r(c))return!1;break}case"month":{if(c=i.setMonth(t,u),!lP({cellDate:c,mode:"month",generateConfig:i,disabledDate:r}))return!1;break}case"year":{if(c=i.setYear(t,u),!lP({cellDate:c,mode:"year",generateConfig:i,disabledDate:r}))return!1;break}}u+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{const l=i.getDate(i.getEndDate(t));return o("date",1,l)}case"quarter":{const a=Math.floor(i.getMonth(t)/3)*3,l=a+2;return o("month",a,l)}case"year":return o("month",0,11);case"decade":{const a=i.getYear(t),l=Math.floor(a/qo)*qo,s=l+qo-1;return o("year",l,s)}}}function tE(e){const t=Vn(e),{hideHeader:n}=al();if(n.value)return null;const{prefixCls:r,generateConfig:i,locale:o,value:a,format:l}=t,s=`${r}-header`;return w(Ou,{prefixCls:s},{default:()=>[a?Tr(a,{locale:o,format:l,generateConfig:i}):" "]})}tE.displayName="TimeHeader";tE.inheritAttrs=!1;const n0=se({name:"TimeUnitColumn",props:["prefixCls","units","onSelect","value","active","hideDisabledOptions"],setup(e){const{open:t}=al(),n=ae(null),r=ue(new Map),i=ue();return Se(()=>e.value,()=>{const o=r.value.get(e.value);o&&t.value!==!1&&oP(n.value,o.offsetTop,120)}),ht(()=>{var o;(o=i.value)===null||o===void 0||o.call(i)}),Se(t,()=>{var o;(o=i.value)===null||o===void 0||o.call(i),_t(()=>{if(t.value){const a=r.value.get(e.value);a&&(i.value=WTe(a,()=>{oP(n.value,a.offsetTop,0)}))}})},{immediate:!0,flush:"post"}),()=>{const{prefixCls:o,units:a,onSelect:l,value:s,active:u,hideDisabledOptions:c}=e,d=`${o}-cell`;return w("ul",{class:ce(`${o}-column`,{[`${o}-column-active`]:u}),ref:n,style:{position:"relative"}},[a.map(f=>c&&f.disabled?null:w("li",{key:f.value,ref:h=>{r.value.set(f.value,h)},class:ce(d,{[`${d}-disabled`]:f.disabled,[`${d}-selected`]:s===f.value}),onClick:()=>{f.disabled||l(f.value)}},[w("div",{class:`${d}-inner`},[f.label])]))])}}});function YY(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);for(;r.length{(n.startsWith("data-")||n.startsWith("aria-")||n==="role"||n==="name")&&!n.startsWith("data-__")&&(t[n]=e[n])}),t}function Yt(e,t){return e?e[t]:null}function go(e,t,n){const r=[Yt(e,0),Yt(e,1)];return r[n]=typeof t=="function"?t(r[n]):t,!r[0]&&!r[1]?null:r}function X$(e,t,n,r){const i=[];for(let o=e;o<=t;o+=n)i.push({label:YY(o,2),value:o,disabled:(r||[]).includes(o)});return i}const tIe=se({compatConfig:{MODE:3},name:"TimeBody",inheritAttrs:!1,props:["generateConfig","prefixCls","operationRef","activeColumnIndex","value","showHour","showMinute","showSecond","use12Hours","hourStep","minuteStep","secondStep","disabledHours","disabledMinutes","disabledSeconds","disabledTime","hideDisabledOptions","onSelect"],setup(e){const t=L(()=>e.value?e.generateConfig.getHour(e.value):-1),n=L(()=>e.use12Hours?t.value>=12:!1),r=L(()=>e.use12Hours?t.value%12:t.value),i=L(()=>e.value?e.generateConfig.getMinute(e.value):-1),o=L(()=>e.value?e.generateConfig.getSecond(e.value):-1),a=ue(e.generateConfig.getNow()),l=ue(),s=ue(),u=ue();Wx(()=>{a.value=e.generateConfig.getNow()}),Ye(()=>{if(e.disabledTime){const g=e.disabledTime(a);[l.value,s.value,u.value]=[g.disabledHours,g.disabledMinutes,g.disabledSeconds]}else[l.value,s.value,u.value]=[e.disabledHours,e.disabledMinutes,e.disabledSeconds]});const c=(g,m,y,b)=>{let S=e.value||e.generateConfig.getNow();const x=Math.max(0,m),$=Math.max(0,y),C=Math.max(0,b);return S=VY(e.generateConfig,S,!e.use12Hours||!g?x:x+12,$,C),S},d=L(()=>{var g;return X$(0,23,(g=e.hourStep)!==null&&g!==void 0?g:1,l.value&&l.value())}),f=L(()=>{if(!e.use12Hours)return[!1,!1];const g=[!0,!0];return d.value.forEach(m=>{let{disabled:y,value:b}=m;y||(b>=12?g[1]=!1:g[0]=!1)}),g}),h=L(()=>e.use12Hours?d.value.filter(n.value?g=>g.value>=12:g=>g.value<12).map(g=>{const m=g.value%12,y=m===0?"12":YY(m,2);return _(_({},g),{label:y,value:m})}):d.value),v=L(()=>{var g;return X$(0,59,(g=e.minuteStep)!==null&&g!==void 0?g:1,s.value&&s.value(t.value))}),p=L(()=>{var g;return X$(0,59,(g=e.secondStep)!==null&&g!==void 0?g:1,u.value&&u.value(t.value,i.value))});return()=>{const{prefixCls:g,operationRef:m,activeColumnIndex:y,showHour:b,showMinute:S,showSecond:x,use12Hours:$,hideDisabledOptions:C,onSelect:T}=e,I=[],P=`${g}-content`,M=`${g}-time-panel`;m.value={onUpDown:R=>{const A=I[y];if(A){const E=A.units.findIndex(N=>N.value===A.value),k=A.units.length;for(let N=1;N{T(c(n.value,R,i.value,o.value),"mouse")}),O(S,w(n0,{key:"minute"},null),i.value,v.value,R=>{T(c(n.value,r.value,R,o.value),"mouse")}),O(x,w(n0,{key:"second"},null),o.value,p.value,R=>{T(c(n.value,r.value,i.value,R),"mouse")});let D=-1;return typeof n.value=="boolean"&&(D=n.value?1:0),O($===!0,w(n0,{key:"12hours"},null),D,[{label:"AM",value:0,disabled:f.value[0]},{label:"PM",value:1,disabled:f.value[1]}],R=>{T(c(!!R,r.value,i.value,o.value),"mouse")}),w("div",{class:P},[I.map(R=>{let{node:A}=R;return A})])}}}),nIe=tIe,rIe=e=>e.filter(t=>t!==!1).length;function Ew(e){const t=Vn(e),{generateConfig:n,format:r="HH:mm:ss",prefixCls:i,active:o,operationRef:a,showHour:l,showMinute:s,showSecond:u,use12Hours:c=!1,onSelect:d,value:f}=t,h=`${i}-time-panel`,v=ue(),p=ue(-1),g=rIe([l,s,u,c]);return a.value={onKeydown:m=>uv(m,{onLeftRight:y=>{p.value=(p.value+y+g)%g},onUpDown:y=>{p.value===-1?p.value=0:v.value&&v.value.onUpDown(y)},onEnter:()=>{d(f||n.getNow(),"key"),p.value=-1}}),onBlur:()=>{p.value=-1}},w("div",{class:ce(h,{[`${h}-active`]:o})},[w(tE,z(z({},t),{},{format:r,prefixCls:i}),null),w(nIe,z(z({},t),{},{prefixCls:i,activeColumnIndex:p.value,operationRef:v}),null)])}Ew.displayName="TimePanel";Ew.inheritAttrs=!1;function Rw(e){let{cellPrefixCls:t,generateConfig:n,rangedValue:r,hoverRangedValue:i,isInView:o,isSameCell:a,offsetCell:l,today:s,value:u}=e;function c(d){const f=l(d,-1),h=l(d,1),v=Yt(r,0),p=Yt(r,1),g=Yt(i,0),m=Yt(i,1),y=t0(n,g,m,d);function b(I){return a(v,I)}function S(I){return a(p,I)}const x=a(g,d),$=a(m,d),C=(y||$)&&(!o(f)||S(f)),T=(y||x)&&(!o(h)||b(h));return{[`${t}-in-view`]:o(d),[`${t}-in-range`]:t0(n,v,p,d),[`${t}-range-start`]:b(d),[`${t}-range-end`]:S(d),[`${t}-range-start-single`]:b(d)&&!p,[`${t}-range-end-single`]:S(d)&&!v,[`${t}-range-start-near-hover`]:b(d)&&(a(f,g)||t0(n,g,m,f)),[`${t}-range-end-near-hover`]:S(d)&&(a(h,m)||t0(n,g,m,h)),[`${t}-range-hover`]:y,[`${t}-range-hover-start`]:x,[`${t}-range-hover-end`]:$,[`${t}-range-hover-edge-start`]:C,[`${t}-range-hover-edge-end`]:T,[`${t}-range-hover-edge-start-near-range`]:C&&a(f,p),[`${t}-range-hover-edge-end-near-range`]:T&&a(h,v),[`${t}-today`]:a(s,d),[`${t}-selected`]:a(u,d)}}return c}const QY=Symbol("RangeContextProps"),iIe=e=>{at(QY,e)},Km=()=>Je(QY,{rangedValue:ue(),hoverRangedValue:ue(),inRange:ue(),panelPosition:ue()}),oIe=se({compatConfig:{MODE:3},name:"PanelContextProvider",inheritAttrs:!1,props:{value:{type:Object,default:()=>({})}},setup(e,t){let{slots:n}=t;const r={rangedValue:ue(e.value.rangedValue),hoverRangedValue:ue(e.value.hoverRangedValue),inRange:ue(e.value.inRange),panelPosition:ue(e.value.panelPosition)};return iIe(r),Se(()=>e.value,()=>{Object.keys(e.value).forEach(i=>{r[i]&&(r[i].value=e.value[i])})}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});function Lw(e){const t=Vn(e),{prefixCls:n,generateConfig:r,prefixColumn:i,locale:o,rowCount:a,viewDate:l,value:s,dateRender:u}=t,{rangedValue:c,hoverRangedValue:d}=Km(),f=JTe(o.locale,r,l),h=`${n}-cell`,v=r.locale.getWeekFirstDay(o.locale),p=r.getNow(),g=[],m=o.shortWeekDays||(r.locale.getShortWeekDays?r.locale.getShortWeekDays(o.locale):[]);i&&g.push(w("th",{key:"empty","aria-label":"empty cell"},null));for(let S=0;SDl(r,S,x),isInView:S=>eE(r,S,l),offsetCell:(S,x)=>r.addDate(S,x)}),b=u?S=>u({current:S,today:p}):void 0;return w(kd,z(z({},t),{},{rowNum:a,colNum:Ob,baseDate:f,getCellNode:b,getCellText:r.getDate,getCellClassName:y,getCellDate:r.addDate,titleCell:S=>Tr(S,{locale:o,format:"YYYY-MM-DD",generateConfig:r}),headerCells:g}),null)}Lw.displayName="DateBody";Lw.inheritAttrs=!1;Lw.props=["prefixCls","generateConfig","value?","viewDate","locale","rowCount","onSelect","dateRender?","disabledDate?","prefixColumn?","rowClassName?"];function nE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextMonth:a,onPrevMonth:l,onNextYear:s,onPrevYear:u,onYearClick:c,onMonthClick:d}=t,{hideHeader:f}=al();if(f.value)return null;const h=`${n}-header`,v=i.shortMonths||(r.locale.getShortMonths?r.locale.getShortMonths(i.locale):[]),p=r.getMonth(o),g=w("button",{type:"button",key:"year",onClick:c,tabindex:-1,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})]),m=w("button",{type:"button",key:"month",onClick:d,tabindex:-1,class:`${n}-month-btn`},[i.monthFormat?Tr(o,{locale:i,format:i.monthFormat,generateConfig:r}):v[p]]),y=i.monthBeforeYear?[m,g]:[g,m];return w(Ou,z(z({},t),{},{prefixCls:h,onSuperPrev:u,onPrev:l,onNext:a,onSuperNext:s}),{default:()=>[y]})}nE.displayName="DateHeader";nE.inheritAttrs=!1;const aIe=6;function Um(e){const t=Vn(e),{prefixCls:n,panelName:r="date",keyboardConfig:i,active:o,operationRef:a,generateConfig:l,value:s,viewDate:u,onViewDateChange:c,onPanelChange:d,onSelect:f}=t,h=`${n}-${r}-panel`;a.value={onKeydown:g=>uv(g,_({onLeftRight:m=>{f(l.addDate(s||u,m),"key")},onCtrlLeftRight:m=>{f(l.addYear(s||u,m),"key")},onUpDown:m=>{f(l.addDate(s||u,m*Ob),"key")},onPageUpDown:m=>{f(l.addMonth(s||u,m),"key")}},i))};const v=g=>{const m=l.addYear(u,g);c(m),d(null,m)},p=g=>{const m=l.addMonth(u,g);c(m),d(null,m)};return w("div",{class:ce(h,{[`${h}-active`]:o})},[w(nE,z(z({},t),{},{prefixCls:n,value:s,viewDate:u,onPrevYear:()=>{v(-1)},onNextYear:()=>{v(1)},onPrevMonth:()=>{p(-1)},onNextMonth:()=>{p(1)},onMonthClick:()=>{d("month",u)},onYearClick:()=>{d("year",u)}}),null),w(Lw,z(z({},t),{},{onSelect:g=>f(g,"mouse"),prefixCls:n,value:s,viewDate:u,rowCount:aIe}),null)])}Um.displayName="DatePanel";Um.inheritAttrs=!1;const xN=eIe("date","time");function rE(e){const t=Vn(e),{prefixCls:n,operationRef:r,generateConfig:i,value:o,defaultValue:a,disabledTime:l,showTime:s,onSelect:u}=t,c=`${n}-datetime-panel`,d=ue(null),f=ue({}),h=ue({}),v=typeof s=="object"?_({},s):{};function p(b){const S=xN.indexOf(d.value)+b;return xN[S]||null}const g=b=>{h.value.onBlur&&h.value.onBlur(b),d.value=null};r.value={onKeydown:b=>{if(b.which===Pe.TAB){const S=p(b.shiftKey?-1:1);return d.value=S,S&&b.preventDefault(),!0}if(d.value){const S=d.value==="date"?f:h;return S.value&&S.value.onKeydown&&S.value.onKeydown(b),!0}return[Pe.LEFT,Pe.RIGHT,Pe.UP,Pe.DOWN].includes(b.which)?(d.value="date",!0):!1},onBlur:g,onClose:g};const m=(b,S)=>{let x=b;S==="date"&&!o&&v.defaultValue?(x=i.setHour(x,i.getHour(v.defaultValue)),x=i.setMinute(x,i.getMinute(v.defaultValue)),x=i.setSecond(x,i.getSecond(v.defaultValue))):S==="time"&&!o&&a&&(x=i.setYear(x,i.getYear(a)),x=i.setMonth(x,i.getMonth(a)),x=i.setDate(x,i.getDate(a))),u&&u(x,"mouse")},y=l?l(o||null):{};return w("div",{class:ce(c,{[`${c}-active`]:d.value})},[w(Um,z(z({},t),{},{operationRef:f,active:d.value==="date",onSelect:b=>{m(Ab(i,b,!o&&typeof s=="object"?s.defaultValue:null),"date")}}),null),w(Ew,z(z(z(z({},t),{},{format:void 0},v),y),{},{disabledTime:null,defaultValue:void 0,operationRef:h,active:d.value==="time",onSelect:b=>{m(b,"time")}}),null)])}rE.displayName="DatetimePanel";rE.inheritAttrs=!1;function iE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,value:o}=t,a=`${n}-cell`,l=c=>w("td",{key:"week",class:ce(a,`${a}-week`)},[r.locale.getWeek(i.locale,c)]),s=`${n}-week-panel-row`,u=c=>ce(s,{[`${s}-selected`]:UY(r,i.locale,o,c)});return w(Um,z(z({},t),{},{panelName:"week",prefixColumn:l,rowClassName:u,keyboardConfig:{onLeftRight:null}}),null)}iE.displayName="WeekPanel";iE.inheritAttrs=!1;function oE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:u}=al();if(u.value)return null;const c=`${n}-header`;return w(Ou,z(z({},t),{},{prefixCls:c,onSuperPrev:l,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}oE.displayName="MonthHeader";oE.inheritAttrs=!1;const JY=3,lIe=4;function aE(e){const t=Vn(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:a,monthCellRender:l}=t,{rangedValue:s,hoverRangedValue:u}=Km(),c=`${n}-cell`,d=Rw({cellPrefixCls:c,value:i,generateConfig:a,rangedValue:s.value,hoverRangedValue:u.value,isSameCell:(p,g)=>eE(a,p,g),isInView:()=>!0,offsetCell:(p,g)=>a.addMonth(p,g)}),f=r.shortMonths||(a.locale.getShortMonths?a.locale.getShortMonths(r.locale):[]),h=a.setMonth(o,0),v=l?p=>l({current:p,locale:r}):void 0;return w(kd,z(z({},t),{},{rowNum:lIe,colNum:JY,baseDate:h,getCellNode:v,getCellText:p=>r.monthFormat?Tr(p,{locale:r,format:r.monthFormat,generateConfig:a}):f[a.getMonth(p)],getCellClassName:d,getCellDate:a.addMonth,titleCell:p=>Tr(p,{locale:r,format:"YYYY-MM",generateConfig:a})}),null)}aE.displayName="MonthBody";aE.inheritAttrs=!1;function lE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,onPanelChange:s,onSelect:u}=t,c=`${n}-month-panel`;r.value={onKeydown:f=>uv(f,{onLeftRight:h=>{u(o.addMonth(a||l,h),"key")},onCtrlLeftRight:h=>{u(o.addYear(a||l,h),"key")},onUpDown:h=>{u(o.addMonth(a||l,h*JY),"key")},onEnter:()=>{s("date",a||l)}})};const d=f=>{const h=o.addYear(l,f);i(h),s(null,h)};return w("div",{class:c},[w(oE,z(z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),w(aE,z(z({},t),{},{prefixCls:n,onSelect:f=>{u(f,"mouse"),s("date",f)}}),null)])}lE.displayName="MonthPanel";lE.inheritAttrs=!1;function sE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,locale:i,viewDate:o,onNextYear:a,onPrevYear:l,onYearClick:s}=t,{hideHeader:u}=al();if(u.value)return null;const c=`${n}-header`;return w(Ou,z(z({},t),{},{prefixCls:c,onSuperPrev:l,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:s,class:`${n}-year-btn`},[Tr(o,{locale:i,format:i.yearFormat,generateConfig:r})])]})}sE.displayName="QuarterHeader";sE.inheritAttrs=!1;const sIe=4,uIe=1;function uE(e){const t=Vn(e),{prefixCls:n,locale:r,value:i,viewDate:o,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Km(),u=`${n}-cell`,c=Rw({cellPrefixCls:u,value:i,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(f,h)=>KY(a,f,h),isInView:()=>!0,offsetCell:(f,h)=>a.addMonth(f,h*3)}),d=a.setDate(a.setMonth(o,0),1);return w(kd,z(z({},t),{},{rowNum:uIe,colNum:sIe,baseDate:d,getCellText:f=>Tr(f,{locale:r,format:r.quarterFormat||"[Q]Q",generateConfig:a}),getCellClassName:c,getCellDate:(f,h)=>a.addMonth(f,h*3),titleCell:f=>Tr(f,{locale:r,format:"YYYY-[Q]Q",generateConfig:a})}),null)}uE.displayName="QuarterBody";uE.inheritAttrs=!1;function cE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,onPanelChange:s,onSelect:u}=t,c=`${n}-quarter-panel`;r.value={onKeydown:f=>uv(f,{onLeftRight:h=>{u(o.addMonth(a||l,h*3),"key")},onCtrlLeftRight:h=>{u(o.addYear(a||l,h),"key")},onUpDown:h=>{u(o.addYear(a||l,h),"key")}})};const d=f=>{const h=o.addYear(l,f);i(h),s(null,h)};return w("div",{class:c},[w(sE,z(z({},t),{},{prefixCls:n,onPrevYear:()=>{d(-1)},onNextYear:()=>{d(1)},onYearClick:()=>{s("year",l)}}),null),w(uE,z(z({},t),{},{prefixCls:n,onSelect:f=>{u(f,"mouse")}}),null)])}cE.displayName="QuarterPanel";cE.inheritAttrs=!1;function dE(e){const t=Vn(e),{prefixCls:n,generateConfig:r,viewDate:i,onPrevDecade:o,onNextDecade:a,onDecadeClick:l}=t,{hideHeader:s}=al();if(s.value)return null;const u=`${n}-header`,c=r.getYear(i),d=Math.floor(c/Ks)*Ks,f=d+Ks-1;return w(Ou,z(z({},t),{},{prefixCls:u,onSuperPrev:o,onSuperNext:a}),{default:()=>[w("button",{type:"button",onClick:l,class:`${n}-decade-btn`},[d,Gr("-"),f])]})}dE.displayName="YearHeader";dE.inheritAttrs=!1;const sP=3,wN=4;function fE(e){const t=Vn(e),{prefixCls:n,value:r,viewDate:i,locale:o,generateConfig:a}=t,{rangedValue:l,hoverRangedValue:s}=Km(),u=`${n}-cell`,c=a.getYear(i),d=Math.floor(c/Ks)*Ks,f=d+Ks-1,h=a.setYear(i,d-Math.ceil((sP*wN-Ks)/2)),v=g=>{const m=a.getYear(g);return d<=m&&m<=f},p=Rw({cellPrefixCls:u,value:r,generateConfig:a,rangedValue:l.value,hoverRangedValue:s.value,isSameCell:(g,m)=>Dw(a,g,m),isInView:v,offsetCell:(g,m)=>a.addYear(g,m)});return w(kd,z(z({},t),{},{rowNum:wN,colNum:sP,baseDate:h,getCellText:a.getYear,getCellClassName:p,getCellDate:a.addYear,titleCell:g=>Tr(g,{locale:o,format:"YYYY",generateConfig:a})}),null)}fE.displayName="YearBody";fE.inheritAttrs=!1;const Ks=10;function hE(e){const t=Vn(e),{prefixCls:n,operationRef:r,onViewDateChange:i,generateConfig:o,value:a,viewDate:l,sourceMode:s,onSelect:u,onPanelChange:c}=t,d=`${n}-year-panel`;r.value={onKeydown:h=>uv(h,{onLeftRight:v=>{u(o.addYear(a||l,v),"key")},onCtrlLeftRight:v=>{u(o.addYear(a||l,v*Ks),"key")},onUpDown:v=>{u(o.addYear(a||l,v*sP),"key")},onEnter:()=>{c(s==="date"?"date":"month",a||l)}})};const f=h=>{const v=o.addYear(l,h*10);i(v),c(null,v)};return w("div",{class:d},[w(dE,z(z({},t),{},{prefixCls:n,onPrevDecade:()=>{f(-1)},onNextDecade:()=>{f(1)},onDecadeClick:()=>{c("decade",l)}}),null),w(fE,z(z({},t),{},{prefixCls:n,onSelect:h=>{c(s==="date"?"date":"month",h),u(h,"mouse")}}),null)])}hE.displayName="YearPanel";hE.inheritAttrs=!1;function eq(e,t,n){return n?w("div",{class:`${e}-footer-extra`},[n(t)]):null}function tq(e){let{prefixCls:t,components:n={},needConfirmButton:r,onNow:i,onOk:o,okDisabled:a,showNow:l,locale:s}=e,u,c;if(r){const d=n.button||"button";i&&l!==!1&&(u=w("li",{class:`${t}-now`},[w("a",{class:`${t}-now-btn`,onClick:i},[s.now])])),c=r&&w("li",{class:`${t}-ok`},[w(d,{disabled:a,onClick:f=>{f.stopPropagation(),o&&o()}},{default:()=>[s.ok]})])}return!u&&!c?null:w("ul",{class:`${t}-ranges`},[u,c])}function cIe(){return se({name:"PickerPanel",inheritAttrs:!1,props:{prefixCls:String,locale:Object,generateConfig:Object,value:Object,defaultValue:Object,pickerValue:Object,defaultPickerValue:Object,disabledDate:Function,mode:String,picker:{type:String,default:"date"},tabindex:{type:[Number,String],default:0},showNow:{type:Boolean,default:void 0},showTime:[Boolean,Object],showToday:Boolean,renderExtraFooter:Function,dateRender:Function,hideHeader:{type:Boolean,default:void 0},onSelect:Function,onChange:Function,onPanelChange:Function,onMousedown:Function,onPickerValueChange:Function,onOk:Function,components:Object,direction:String,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1}},setup(e,t){let{attrs:n}=t;const r=L(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),i=L(()=>24%e.hourStep===0),o=L(()=>60%e.minuteStep===0),a=L(()=>60%e.secondStep===0),l=al(),{operationRef:s,onSelect:u,hideRanges:c,defaultOpenValue:d}=l,{inRange:f,panelPosition:h,rangedValue:v,hoverRangedValue:p}=Km(),g=ue({}),[m,y]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue,postState:k=>!k&&(d!=null&&d.value)&&e.picker==="time"?d.value:k}),[b,S]=dn(null,{value:qe(e,"pickerValue"),defaultValue:e.defaultPickerValue||m.value,postState:k=>{const{generateConfig:N,showTime:B,defaultValue:F}=e,H=N.getNow();return k?!m.value&&e.showTime?typeof B=="object"?Ab(N,Array.isArray(k)?k[0]:k,B.defaultValue||H):F?Ab(N,Array.isArray(k)?k[0]:k,F):Ab(N,Array.isArray(k)?k[0]:k,H):k:H}}),x=k=>{S(k),e.onPickerValueChange&&e.onPickerValueChange(k)},$=k=>{const N=qTe[e.picker];return N?N(k):k},[C,T]=dn(()=>e.picker==="time"?"time":$("date"),{value:qe(e,"mode")});Se(()=>e.picker,()=>{T(e.picker)});const I=ue(C.value),P=k=>{I.value=k},M=(k,N)=>{const{onPanelChange:B,generateConfig:F}=e,H=$(k||C.value);P(C.value),T(H),B&&(C.value!==H||ch(F,b.value,b.value))&&B(N,H)},O=function(k,N){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{picker:F,generateConfig:H,onSelect:V,onChange:X,disabledDate:Q}=e;(C.value===F||B)&&(y(k),V&&V(k),u&&u(k,N),X&&!ch(H,k,m.value)&&!(Q!=null&&Q(k))&&X(k))},D=k=>g.value&&g.value.onKeydown?([Pe.LEFT,Pe.RIGHT,Pe.UP,Pe.DOWN,Pe.PAGE_UP,Pe.PAGE_DOWN,Pe.ENTER].includes(k.which)&&k.preventDefault(),g.value.onKeydown(k)):!1,R=k=>{g.value&&g.value.onBlur&&g.value.onBlur(k)},A=()=>{const{generateConfig:k,hourStep:N,minuteStep:B,secondStep:F}=e,H=k.getNow(),V=HTe(k.getHour(H),k.getMinute(H),k.getSecond(H),i.value?N:1,o.value?B:1,a.value?F:1),X=VY(k,H,V[0],V[1],V[2]);O(X,"submit")},E=L(()=>{const{prefixCls:k,direction:N}=e;return ce(`${k}-panel`,{[`${k}-panel-has-range`]:v&&v.value&&v.value[0]&&v.value[1],[`${k}-panel-has-range-hover`]:p&&p.value&&p.value[0]&&p.value[1],[`${k}-panel-rtl`]:N==="rtl"})});return qD(_(_({},l),{mode:C,hideHeader:L(()=>{var k;return e.hideHeader!==void 0?e.hideHeader:(k=l.hideHeader)===null||k===void 0?void 0:k.value}),hidePrevBtn:L(()=>f.value&&h.value==="right"),hideNextBtn:L(()=>f.value&&h.value==="left")})),Se(()=>e.value,()=>{e.value&&S(e.value)}),()=>{const{prefixCls:k="ant-picker",locale:N,generateConfig:B,disabledDate:F,picker:H="date",tabindex:V=0,showNow:X,showTime:Q,showToday:K,renderExtraFooter:te,onMousedown:q,onOk:ee,components:J}=e;s&&h.value!=="right"&&(s.value={onKeydown:D,onClose:()=>{g.value&&g.value.onClose&&g.value.onClose()}});let G;const Y=_(_(_({},n),e),{operationRef:g,prefixCls:k,viewDate:b.value,value:m.value,onViewDateChange:x,sourceMode:I.value,onPanelChange:M,disabledDate:F});switch(delete Y.onChange,delete Y.onSelect,C.value){case"decade":G=w(JD,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"year":G=w(hE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"month":G=w(lE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"quarter":G=w(cE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"week":G=w(iE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;case"time":delete Y.showTime,G=w(Ew,z(z(z({},Y),typeof Q=="object"?Q:null),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null);break;default:Q?G=w(rE,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null):G=w(Um,z(z({},Y),{},{onSelect:(ne,re)=>{x(ne),O(ne,re)}}),null)}let oe,W;c!=null&&c.value||(oe=eq(k,C.value,te),W=tq({prefixCls:k,components:J,needConfirmButton:r.value,okDisabled:!m.value||F&&F(m.value),locale:N,showNow:X,onNow:r.value&&A,onOk:()=>{m.value&&(O(m.value,"submit",!0),ee&&ee(m.value))}}));let Z;if(K&&C.value==="date"&&H==="date"&&!Q){const ne=B.getNow(),re=`${k}-today-btn`,le=F&&F(ne);Z=w("a",{class:ce(re,le&&`${re}-disabled`),"aria-disabled":le,onClick:()=>{le||O(ne,"mouse",!0)}},[N.today])}return w("div",{tabindex:V,class:ce(E.value,n.class),style:n.style,onKeydown:D,onBlur:R,onMousedown:q},[G,oe||W||Z?w("div",{class:`${k}-footer`},[oe,W,Z]):null])}}})}const dIe=cIe(),vE=e=>w(dIe,e),fIe={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function nq(e,t){let{slots:n}=t;const{prefixCls:r,popupStyle:i,visible:o,dropdownClassName:a,dropdownAlign:l,transitionName:s,getPopupContainer:u,range:c,popupPlacement:d,direction:f}=Vn(e),h=`${r}-dropdown`;return w(Nd,{showAction:[],hideAction:[],popupPlacement:(()=>d!==void 0?d:f==="rtl"?"bottomRight":"bottomLeft")(),builtinPlacements:fIe,prefixCls:h,popupTransitionName:s,popupAlign:l,popupVisible:o,popupClassName:ce(a,{[`${h}-range`]:c,[`${h}-rtl`]:f==="rtl"}),popupStyle:i,getPopupContainer:u},{default:n.default,popup:n.popupElement})}const rq=se({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?w("div",{class:`${e.prefixCls}-presets`},[w("ul",null,[e.presets.map((t,n)=>{let{label:r,value:i}=t;return w("li",{key:n,onClick:o=>{o.stopPropagation(),e.onClick(i)},onMouseenter:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,i)},onMouseleave:()=>{var o;(o=e.onHover)===null||o===void 0||o.call(e,null)}},[r])})])]):null}});function uP(e){let{open:t,value:n,isClickOutside:r,triggerOpen:i,forwardKeydown:o,onKeydown:a,blurToCancel:l,onSubmit:s,onCancel:u,onFocus:c,onBlur:d}=e;const f=ae(!1),h=ae(!1),v=ae(!1),p=ae(!1),g=ae(!1),m=L(()=>({onMousedown:()=>{f.value=!0,i(!0)},onKeydown:b=>{if(a(b,()=>{g.value=!0}),!g.value){switch(b.which){case Pe.ENTER:{t.value?s()!==!1&&(f.value=!0):i(!0),b.preventDefault();return}case Pe.TAB:{f.value&&t.value&&!b.shiftKey?(f.value=!1,b.preventDefault()):!f.value&&t.value&&!o(b)&&b.shiftKey&&(f.value=!0,b.preventDefault());return}case Pe.ESC:{f.value=!0,u();return}}!t.value&&![Pe.SHIFT].includes(b.which)?i(!0):f.value||o(b)}},onFocus:b=>{f.value=!0,h.value=!0,c&&c(b)},onBlur:b=>{if(v.value||!r(document.activeElement)){v.value=!1;return}l.value?setTimeout(()=>{let{activeElement:S}=document;for(;S&&S.shadowRoot;)S=S.shadowRoot.activeElement;r(S)&&u()},0):t.value&&(i(!1),p.value&&s()),h.value=!1,d&&d(b)}}));Se(t,()=>{p.value=!1}),Se(n,()=>{p.value=!0});const y=ae();return tt(()=>{y.value=jTe(b=>{const S=GTe(b);if(t.value){const x=r(S);x?(!h.value||x)&&i(!1):(v.value=!0,dt(()=>{v.value=!1}))}})}),ht(()=>{y.value&&y.value()}),[m,{focused:h,typing:f}]}function cP(e){let{valueTexts:t,onTextChange:n}=e;const r=ue("");function i(a){r.value=a,n(a)}function o(){r.value=t.value[0]}return Se(()=>[...t.value],function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];a.join("||")!==l.join("||")&&t.value.every(s=>s!==r.value)&&o()},{immediate:!0}),[r,i,o]}function yS(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=qO(()=>{if(!e.value)return[[""],""];let s="";const u=[];for(let c=0;cu[0]!==s[0]||!Ef(u[1],s[1])),a=L(()=>o.value[0]),l=L(()=>o.value[1]);return[a,l]}function dP(e,t){let{formatList:n,generateConfig:r,locale:i}=t;const o=ue(null);let a;function l(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt.cancel(a),f){o.value=d;return}a=dt(()=>{o.value=d})}const[,s]=yS(o,{formatList:n,generateConfig:r,locale:i});function u(d){l(d)}function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l(null,d)}return Se(e,()=>{c(!0)}),ht(()=>{dt.cancel(a)}),[s,u,c]}function iq(e,t){return L(()=>e!=null&&e.value?e.value:t!=null&&t.value?(Jx(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.keys(t.value).map(r=>{const i=t.value[r],o=typeof i=="function"?i():i;return{label:r,value:o}})):[])}function hIe(){return se({name:"Picker",inheritAttrs:!1,props:["prefixCls","id","tabindex","dropdownClassName","dropdownAlign","popupStyle","transitionName","generateConfig","locale","inputReadOnly","allowClear","autofocus","showTime","showNow","showHour","showMinute","showSecond","picker","format","use12Hours","value","defaultValue","open","defaultOpen","defaultOpenValue","suffixIcon","presets","clearIcon","disabled","disabledDate","placeholder","getPopupContainer","panelRender","inputRender","onChange","onOpenChange","onPanelChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onContextmenu","onClick","onKeydown","onSelect","direction","autocomplete","showToday","renderExtraFooter","dateRender","minuteStep","hourStep","secondStep","hideDisabledOptions"],setup(e,t){let{attrs:n,expose:r}=t;const i=ue(null),o=L(()=>e.presets),a=iq(o),l=L(()=>{var F;return(F=e.picker)!==null&&F!==void 0?F:"date"}),s=L(()=>l.value==="date"&&!!e.showTime||l.value==="time"),u=L(()=>qY(WY(e.format,l.value,e.showTime,e.use12Hours))),c=ue(null),d=ue(null),f=ue(null),[h,v]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue}),p=ue(h.value),g=F=>{p.value=F},m=ue(null),[y,b]=dn(!1,{value:qe(e,"open"),defaultValue:e.defaultOpen,postState:F=>e.disabled?!1:F,onChange:F=>{e.onOpenChange&&e.onOpenChange(F),!F&&m.value&&m.value.onClose&&m.value.onClose()}}),[S,x]=yS(p,{formatList:u,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")}),[$,C,T]=cP({valueTexts:S,onTextChange:F=>{const H=XY(F,{locale:e.locale,formatList:u.value,generateConfig:e.generateConfig});H&&(!e.disabledDate||!e.disabledDate(H))&&g(H)}}),I=F=>{const{onChange:H,generateConfig:V,locale:X}=e;g(F),v(F),H&&!ch(V,h.value,F)&&H(F,F?Tr(F,{generateConfig:V,locale:X,format:u.value[0]}):"")},P=F=>{e.disabled&&F||b(F)},M=F=>y.value&&m.value&&m.value.onKeydown?m.value.onKeydown(F):!1,O=function(){e.onMouseup&&e.onMouseup(...arguments),i.value&&(i.value.focus(),P(!0))},[D,{focused:R,typing:A}]=uP({blurToCancel:s,open:y,value:$,triggerOpen:P,forwardKeydown:M,isClickOutside:F=>!GY([c.value,d.value,f.value],F),onSubmit:()=>!p.value||e.disabledDate&&e.disabledDate(p.value)?!1:(I(p.value),P(!1),T(),!0),onCancel:()=>{P(!1),g(h.value),T()},onKeydown:(F,H)=>{var V;(V=e.onKeydown)===null||V===void 0||V.call(e,F,H)},onFocus:F=>{var H;(H=e.onFocus)===null||H===void 0||H.call(e,F)},onBlur:F=>{var H;(H=e.onBlur)===null||H===void 0||H.call(e,F)}});Se([y,S],()=>{y.value||(g(h.value),!S.value.length||S.value[0]===""?C(""):x.value!==$.value&&T())}),Se(l,()=>{y.value||T()}),Se(h,()=>{g(h.value)});const[E,k,N]=dP($,{formatList:u,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")}),B=(F,H)=>{(H==="submit"||H!=="key"&&!s.value)&&(I(F),P(!1))};return qD({operationRef:m,hideHeader:L(()=>l.value==="time"),onSelect:B,open:y,defaultOpenValue:qe(e,"defaultOpenValue"),onDateMouseenter:k,onDateMouseleave:N}),r({focus:()=>{i.value&&i.value.focus()},blur:()=>{i.value&&i.value.blur()}}),()=>{const{prefixCls:F="rc-picker",id:H,tabindex:V,dropdownClassName:X,dropdownAlign:Q,popupStyle:K,transitionName:te,generateConfig:q,locale:ee,inputReadOnly:J,allowClear:G,autofocus:Y,picker:oe="date",defaultOpenValue:W,suffixIcon:Z,clearIcon:ne,disabled:re,placeholder:le,getPopupContainer:ie,panelRender:de,onMousedown:pe,onMouseenter:me,onMouseleave:he,onContextmenu:xe,onClick:Ce,onSelect:ve,direction:fe,autocomplete:ye="off"}=e,Me=_(_(_({},e),n),{class:ce({[`${F}-panel-focused`]:!A.value}),style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null});let De=w("div",{class:`${F}-panel-layout`},[w(rq,{prefixCls:F,presets:a.value,onClick:ke=>{I(ke),P(!1)}},null),w(vE,z(z({},Me),{},{generateConfig:q,value:p.value,locale:ee,tabindex:-1,onSelect:ke=>{ve==null||ve(ke),g(ke)},direction:fe,onPanelChange:(ke,We)=>{const{onPanelChange:gt}=e;N(!0),gt==null||gt(ke,We)}}),null)]);de&&(De=de(De));const Be=w("div",{class:`${F}-panel-container`,ref:c,onMousedown:ke=>{ke.preventDefault()}},[De]);let we;Z&&(we=w("span",{class:`${F}-suffix`},[Z]));let _e;G&&h.value&&!re&&(_e=w("span",{onMousedown:ke=>{ke.preventDefault(),ke.stopPropagation()},onMouseup:ke=>{ke.preventDefault(),ke.stopPropagation(),I(null),P(!1)},class:`${F}-clear`,role:"button"},[ne||w("span",{class:`${F}-clear-btn`},null)]));const Ie=_(_(_(_({id:H,tabindex:V,disabled:re,readonly:J||typeof u.value[0]=="function"||!A.value,value:E.value||$.value,onInput:ke=>{C(ke.target.value)},autofocus:Y,placeholder:le,ref:i,title:$.value},D.value),{size:jY(oe,u.value[0],q)}),ZY(e)),{autocomplete:ye}),Le=e.inputRender?e.inputRender(Ie):w("input",Ie,null),Ke=fe==="rtl"?"bottomRight":"bottomLeft";return w("div",{ref:f,class:ce(F,n.class,{[`${F}-disabled`]:re,[`${F}-focused`]:R.value,[`${F}-rtl`]:fe==="rtl"}),style:n.style,onMousedown:pe,onMouseup:O,onMouseenter:me,onMouseleave:he,onContextmenu:xe,onClick:Ce},[w("div",{class:ce(`${F}-input`,{[`${F}-input-placeholder`]:!!E.value}),ref:d},[Le,we,_e]),w(nq,{visible:y.value,popupStyle:K,prefixCls:F,dropdownClassName:X,dropdownAlign:Q,getPopupContainer:ie,transitionName:te,popupPlacement:Ke,direction:fe},{default:()=>[w("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>Be})])}}})}const vIe=hIe();function pIe(e,t){let{picker:n,locale:r,selectedValue:i,disabledDate:o,disabled:a,generateConfig:l}=e;const s=L(()=>Yt(i.value,0)),u=L(()=>Yt(i.value,1));function c(p){return l.value.locale.getWeekFirstDate(r.value.locale,p)}function d(p){const g=l.value.getYear(p),m=l.value.getMonth(p);return g*100+m}function f(p){const g=l.value.getYear(p),m=aP(l.value,p);return g*10+m}return[p=>{var g;if(o&&(!((g=o==null?void 0:o.value)===null||g===void 0)&&g.call(o,p)))return!0;if(a[1]&&u)return!Dl(l.value,p,u.value)&&l.value.isAfter(p,u.value);if(t.value[1]&&u.value)switch(n.value){case"quarter":return f(p)>f(u.value);case"month":return d(p)>d(u.value);case"week":return c(p)>c(u.value);default:return!Dl(l.value,p,u.value)&&l.value.isAfter(p,u.value)}return!1},p=>{var g;if(!((g=o.value)===null||g===void 0)&&g.call(o,p))return!0;if(a[0]&&s)return!Dl(l.value,p,u.value)&&l.value.isAfter(s.value,p);if(t.value[0]&&s.value)switch(n.value){case"quarter":return f(p)ZTe(r,a,l));case"quarter":case"month":return o((a,l)=>Dw(r,a,l));default:return o((a,l)=>eE(r,a,l))}}function mIe(e,t,n,r){const i=Yt(e,0),o=Yt(e,1);if(t===0)return i;if(i&&o)switch(gIe(i,o,n,r)){case"same":return i;case"closing":return i;default:return Jp(o,n,r,-1)}return i}function yIe(e){let{values:t,picker:n,defaultDates:r,generateConfig:i}=e;const o=ue([Yt(r,0),Yt(r,1)]),a=ue(null),l=L(()=>Yt(t.value,0)),s=L(()=>Yt(t.value,1)),u=h=>o.value[h]?o.value[h]:Yt(a.value,h)||mIe(t.value,h,n.value,i.value)||l.value||s.value||i.value.getNow(),c=ue(null),d=ue(null);Ye(()=>{c.value=u(0),d.value=u(1)});function f(h,v){if(h){let p=go(a.value,h,v);o.value=go(o.value,null,v)||[null,null];const g=(v+1)%2;Yt(t.value,g)||(p=go(p,h,g)),a.value=p}else(l.value||s.value)&&(a.value=null)}return[c,d,f]}function oq(e){return Bj()?(Vle(e),!0):!1}function bIe(e){return typeof e=="function"?e():yn(e)}function pE(e){var t;const n=bIe(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function SIe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;gr()?tt(e):t?e():_t(e)}function aq(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=ae(),r=()=>n.value=!!e();return r(),SIe(r,t),n}var Y$;const lq=typeof window!="undefined";lq&&(!((Y$=window==null?void 0:window.navigator)===null||Y$===void 0)&&Y$.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const sq=lq?window:void 0;var xIe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=sq}=n,i=xIe(n,["window"]);let o;const a=aq(()=>r&&"ResizeObserver"in r),l=()=>{o&&(o.disconnect(),o=void 0)},s=Se(()=>pE(e),c=>{l(),a.value&&r&&c&&(o=new ResizeObserver(t),o.observe(c,i))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return oq(u),{isSupported:a,stop:u}}function Fv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{width:0,height:0},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{box:r="content-box"}=n,i=ae(t.width),o=ae(t.height);return wIe(e,a=>{let[l]=a;const s=r==="border-box"?l.borderBoxSize:r==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;s?(i.value=s.reduce((u,c)=>{let{inlineSize:d}=c;return u+d},0),o.value=s.reduce((u,c)=>{let{blockSize:d}=c;return u+d},0)):(i.value=l.contentRect.width,o.value=l.contentRect.height)},n),Se(()=>pE(e),a=>{i.value=a?t.width:0,o.value=a?t.height:0}),{width:i,height:o}}function CN(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function $N(e,t,n,r){return!!(e||r&&r[t]||n[(t+1)%2])}function CIe(){return se({name:"RangerPicker",inheritAttrs:!1,props:["prefixCls","id","popupStyle","dropdownClassName","transitionName","dropdownAlign","getPopupContainer","generateConfig","locale","placeholder","autofocus","disabled","format","picker","showTime","showNow","showHour","showMinute","showSecond","use12Hours","separator","value","defaultValue","defaultPickerValue","open","defaultOpen","disabledDate","disabledTime","dateRender","panelRender","ranges","allowEmpty","allowClear","suffixIcon","clearIcon","pickerRef","inputReadOnly","mode","renderExtraFooter","onChange","onOpenChange","onPanelChange","onCalendarChange","onFocus","onBlur","onMousedown","onMouseup","onMouseenter","onMouseleave","onClick","onOk","onKeydown","components","order","direction","activePickerIndex","autocomplete","minuteStep","hourStep","secondStep","hideDisabledOptions","disabledMinutes","presets","prevIcon","nextIcon","superPrevIcon","superNextIcon"],setup(e,t){let{attrs:n,expose:r}=t;const i=L(()=>e.picker==="date"&&!!e.showTime||e.picker==="time"),o=L(()=>e.presets),a=L(()=>e.ranges),l=iq(o,a),s=ue({}),u=ue(null),c=ue(null),d=ue(null),f=ue(null),h=ue(null),v=ue(null),p=ue(null),g=ue(null),m=L(()=>qY(WY(e.format,e.picker,e.showTime,e.use12Hours))),[y,b]=dn(0,{value:qe(e,"activePickerIndex")}),S=ue(null),x=L(()=>{const{disabled:Re}=e;return Array.isArray(Re)?Re:[Re||!1,Re||!1]}),[$,C]=dn(null,{value:qe(e,"value"),defaultValue:e.defaultValue,postState:Re=>e.picker==="time"&&!e.order?Re:CN(Re,e.generateConfig)}),[T,I,P]=yIe({values:$,picker:qe(e,"picker"),defaultDates:e.defaultPickerValue,generateConfig:qe(e,"generateConfig")}),[M,O]=dn($.value,{postState:Re=>{let ct=Re;if(x.value[0]&&x.value[1])return ct;for(let ot=0;ot<2;ot+=1)x.value[ot]&&!Yt(ct,ot)&&!Yt(e.allowEmpty,ot)&&(ct=go(ct,e.generateConfig.getNow(),ot));return ct}}),[D,R]=dn([e.picker,e.picker],{value:qe(e,"mode")});Se(()=>e.picker,()=>{R([e.picker,e.picker])});const A=(Re,ct)=>{var ot;R(Re),(ot=e.onPanelChange)===null||ot===void 0||ot.call(e,ct,Re)},[E,k]=pIe({picker:qe(e,"picker"),selectedValue:M,locale:qe(e,"locale"),disabled:x,disabledDate:qe(e,"disabledDate"),generateConfig:qe(e,"generateConfig")},s),[N,B]=dn(!1,{value:qe(e,"open"),defaultValue:e.defaultOpen,postState:Re=>x.value[y.value]?!1:Re,onChange:Re=>{var ct;(ct=e.onOpenChange)===null||ct===void 0||ct.call(e,Re),!Re&&S.value&&S.value.onClose&&S.value.onClose()}}),F=L(()=>N.value&&y.value===0),H=L(()=>N.value&&y.value===1),V=ue(0),X=ue(0),Q=ue(0),{width:K}=Fv(u);Se([N,K],()=>{!N.value&&u.value&&(Q.value=K.value)});const{width:te}=Fv(c),{width:q}=Fv(g),{width:ee}=Fv(d),{width:J}=Fv(h);Se([y,N,te,q,ee,J,()=>e.direction],()=>{X.value=0,y.value?d.value&&h.value&&(X.value=ee.value+J.value,te.value&&q.value&&X.value>te.value-q.value-(e.direction==="rtl"||g.value.offsetLeft>X.value?0:g.value.offsetLeft)&&(V.value=X.value)):y.value===0&&(V.value=0)},{immediate:!0});const G=ue();function Y(Re,ct){if(Re)clearTimeout(G.value),s.value[ct]=!0,b(ct),B(Re),N.value||P(null,ct);else if(y.value===ct){B(Re);const ot=s.value;G.value=setTimeout(()=>{ot===s.value&&(s.value={})})}}function oe(Re){Y(!0,Re),setTimeout(()=>{const ct=[v,p][Re];ct.value&&ct.value.focus()},0)}function W(Re,ct){let ot=Re,nn=Yt(ot,0),Qn=Yt(ot,1);const{generateConfig:Dn,locale:Si,picker:xr,order:ma,onCalendarChange:ki,allowEmpty:io,onChange:wn,showTime:zo}=e;nn&&Qn&&Dn.isAfter(nn,Qn)&&(xr==="week"&&!UY(Dn,Si.locale,nn,Qn)||xr==="quarter"&&!KY(Dn,nn,Qn)||xr!=="week"&&xr!=="quarter"&&xr!=="time"&&!(zo?ch(Dn,nn,Qn):Dl(Dn,nn,Qn))?(ct===0?(ot=[nn,null],Qn=null):(nn=null,ot=[null,Qn]),s.value={[ct]:!0}):(xr!=="time"||ma!==!1)&&(ot=CN(ot,Dn))),O(ot);const oo=ot&&ot[0]?Tr(ot[0],{generateConfig:Dn,locale:Si,format:m.value[0]}):"",hs=ot&&ot[1]?Tr(ot[1],{generateConfig:Dn,locale:Si,format:m.value[0]}):"";ki&&ki(ot,[oo,hs],{range:ct===0?"start":"end"});const vs=$N(nn,0,x.value,io),Ho=$N(Qn,1,x.value,io);(ot===null||vs&&Ho)&&(C(ot),wn&&(!ch(Dn,Yt($.value,0),nn)||!ch(Dn,Yt($.value,1),Qn))&&wn(ot,[oo,hs]));let Vo=null;ct===0&&!x.value[1]?Vo=1:ct===1&&!x.value[0]&&(Vo=0),Vo!==null&&Vo!==y.value&&(!s.value[Vo]||!Yt(ot,Vo))&&Yt(ot,ct)?oe(Vo):Y(!1,ct)}const Z=Re=>N&&S.value&&S.value.onKeydown?S.value.onKeydown(Re):!1,ne={formatList:m,generateConfig:qe(e,"generateConfig"),locale:qe(e,"locale")},[re,le]=yS(L(()=>Yt(M.value,0)),ne),[ie,de]=yS(L(()=>Yt(M.value,1)),ne),pe=(Re,ct)=>{const ot=XY(Re,{locale:e.locale,formatList:m.value,generateConfig:e.generateConfig});ot&&!(ct===0?E:k)(ot)&&(O(go(M.value,ot,ct)),P(ot,ct))},[me,he,xe]=cP({valueTexts:re,onTextChange:Re=>pe(Re,0)}),[Ce,ve,fe]=cP({valueTexts:ie,onTextChange:Re=>pe(Re,1)}),[ye,Me]=Xt(null),[De,Be]=Xt(null),[we,_e,Ie]=dP(me,ne),[Le,Ke,ke]=dP(Ce,ne),We=Re=>{Be(go(M.value,Re,y.value)),y.value===0?_e(Re):Ke(Re)},gt=()=>{Be(go(M.value,null,y.value)),y.value===0?Ie():ke()},Dt=(Re,ct)=>({forwardKeydown:Z,onBlur:ot=>{var nn;(nn=e.onBlur)===null||nn===void 0||nn.call(e,ot)},isClickOutside:ot=>!GY([c.value,d.value,f.value,u.value],ot),onFocus:ot=>{var nn;b(Re),(nn=e.onFocus)===null||nn===void 0||nn.call(e,ot)},triggerOpen:ot=>{Y(ot,Re)},onSubmit:()=>{if(!M.value||e.disabledDate&&e.disabledDate(M.value[Re]))return!1;W(M.value,Re),ct()},onCancel:()=>{Y(!1,Re),O($.value),ct()}}),[At,{focused:kt,typing:Ut}]=uP(_(_({},Dt(0,xe)),{blurToCancel:i,open:F,value:me,onKeydown:(Re,ct)=>{var ot;(ot=e.onKeydown)===null||ot===void 0||ot.call(e,Re,ct)}})),[Wn,{focused:Zn,typing:or}]=uP(_(_({},Dt(1,fe)),{blurToCancel:i,open:H,value:Ce,onKeydown:(Re,ct)=>{var ot;(ot=e.onKeydown)===null||ot===void 0||ot.call(e,Re,ct)}})),On=Re=>{var ct;(ct=e.onClick)===null||ct===void 0||ct.call(e,Re),!N.value&&!v.value.contains(Re.target)&&!p.value.contains(Re.target)&&(x.value[0]?x.value[1]||oe(1):oe(0))},Rr=Re=>{var ct;(ct=e.onMousedown)===null||ct===void 0||ct.call(e,Re),N.value&&(kt.value||Zn.value)&&!v.value.contains(Re.target)&&!p.value.contains(Re.target)&&Re.preventDefault()},yi=L(()=>{var Re;return!((Re=$.value)===null||Re===void 0)&&Re[0]?Tr($.value[0],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""}),ro=L(()=>{var Re;return!((Re=$.value)===null||Re===void 0)&&Re[1]?Tr($.value[1],{locale:e.locale,format:"YYYYMMDDHHmmss",generateConfig:e.generateConfig}):""});Se([N,re,ie],()=>{N.value||(O($.value),!re.value.length||re.value[0]===""?he(""):le.value!==me.value&&xe(),!ie.value.length||ie.value[0]===""?ve(""):de.value!==Ce.value&&fe())}),Se([yi,ro],()=>{O($.value)}),r({focus:()=>{v.value&&v.value.focus()},blur:()=>{v.value&&v.value.blur(),p.value&&p.value.blur()}});const Fo=L(()=>N.value&&De.value&&De.value[0]&&De.value[1]&&e.generateConfig.isAfter(De.value[1],De.value[0])?De.value:null);function bi(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{generateConfig:ot,showTime:nn,dateRender:Qn,direction:Dn,disabledTime:Si,prefixCls:xr,locale:ma}=e;let ki=nn;if(nn&&typeof nn=="object"&&nn.defaultValue){const wn=nn.defaultValue;ki=_(_({},nn),{defaultValue:Yt(wn,y.value)||void 0})}let io=null;return Qn&&(io=wn=>{let{current:zo,today:oo}=wn;return Qn({current:zo,today:oo,info:{range:y.value?"end":"start"}})}),w(oIe,{value:{inRange:!0,panelPosition:Re,rangedValue:ye.value||M.value,hoverRangedValue:Fo.value}},{default:()=>[w(vE,z(z(z({},e),ct),{},{dateRender:io,showTime:ki,mode:D.value[y.value],generateConfig:ot,style:void 0,direction:Dn,disabledDate:y.value===0?E:k,disabledTime:wn=>Si?Si(wn,y.value===0?"start":"end"):!1,class:ce({[`${xr}-panel-focused`]:y.value===0?!Ut.value:!or.value}),value:Yt(M.value,y.value),locale:ma,tabIndex:-1,onPanelChange:(wn,zo)=>{y.value===0&&Ie(!0),y.value===1&&ke(!0),A(go(D.value,zo,y.value),go(M.value,wn,y.value));let oo=wn;Re==="right"&&D.value[y.value]===zo&&(oo=Jp(oo,zo,ot,-1)),P(oo,y.value)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:y.value===0?Yt(M.value,1):Yt(M.value,0)}),null)]})}const Lu=(Re,ct)=>{const ot=go(M.value,Re,y.value);ct==="submit"||ct!=="key"&&!i.value?(W(ot,y.value),y.value===0?Ie():ke()):O(ot)};return qD({operationRef:S,hideHeader:L(()=>e.picker==="time"),onDateMouseenter:We,onDateMouseleave:gt,hideRanges:L(()=>!0),onSelect:Lu,open:N}),()=>{const{prefixCls:Re="rc-picker",id:ct,popupStyle:ot,dropdownClassName:nn,transitionName:Qn,dropdownAlign:Dn,getPopupContainer:Si,generateConfig:xr,locale:ma,placeholder:ki,autofocus:io,picker:wn="date",showTime:zo,separator:oo="~",disabledDate:hs,panelRender:vs,allowClear:Ho,suffixIcon:Zd,clearIcon:Vo,inputReadOnly:YC,renderExtraFooter:ple,onMouseenter:gle,onMouseleave:mle,onMouseup:yle,onOk:pL,components:ble,direction:Pv,autocomplete:gL="off"}=e,Sle=Pv==="rtl"?{right:`${X.value}px`}:{left:`${X.value}px`};function xle(){let xi;const ps=eq(Re,D.value[y.value],ple),SL=tq({prefixCls:Re,components:ble,needConfirmButton:i.value,okDisabled:!Yt(M.value,y.value)||hs&&hs(M.value[y.value]),locale:ma,onOk:()=>{Yt(M.value,y.value)&&(W(M.value,y.value),pL&&pL(M.value))}});if(wn!=="time"&&!zo){const gs=y.value===0?T.value:I.value,$le=Jp(gs,wn,xr),JC=D.value[y.value]===wn,xL=bi(JC?"left":!1,{pickerValue:gs,onPickerValueChange:e$=>{P(e$,y.value)}}),wL=bi("right",{pickerValue:$le,onPickerValueChange:e$=>{P(Jp(e$,wn,xr,-1),y.value)}});Pv==="rtl"?xi=w(Qe,null,[wL,JC&&xL]):xi=w(Qe,null,[xL,JC&&wL])}else xi=bi();let QC=w("div",{class:`${Re}-panel-layout`},[w(rq,{prefixCls:Re,presets:l.value,onClick:gs=>{W(gs,null),Y(!1,y.value)},onHover:gs=>{Me(gs)}},null),w("div",null,[w("div",{class:`${Re}-panels`},[xi]),(ps||SL)&&w("div",{class:`${Re}-footer`},[ps,SL])])]);return vs&&(QC=vs(QC)),w("div",{class:`${Re}-panel-container`,style:{marginLeft:`${V.value}px`},ref:c,onMousedown:gs=>{gs.preventDefault()}},[QC])}const wle=w("div",{class:ce(`${Re}-range-wrapper`,`${Re}-${wn}-range-wrapper`),style:{minWidth:`${Q.value}px`}},[w("div",{ref:g,class:`${Re}-range-arrow`,style:Sle},null),xle()]);let mL;Zd&&(mL=w("span",{class:`${Re}-suffix`},[Zd]));let yL;Ho&&(Yt($.value,0)&&!x.value[0]||Yt($.value,1)&&!x.value[1])&&(yL=w("span",{onMousedown:xi=>{xi.preventDefault(),xi.stopPropagation()},onMouseup:xi=>{xi.preventDefault(),xi.stopPropagation();let ps=$.value;x.value[0]||(ps=go(ps,null,0)),x.value[1]||(ps=go(ps,null,1)),W(ps,null),Y(!1,y.value)},class:`${Re}-clear`},[Vo||w("span",{class:`${Re}-clear-btn`},null)]));const bL={size:jY(wn,m.value[0],xr)};let qC=0,ZC=0;d.value&&f.value&&h.value&&(y.value===0?ZC=d.value.offsetWidth:(qC=X.value,ZC=f.value.offsetWidth));const Cle=Pv==="rtl"?{right:`${qC}px`}:{left:`${qC}px`};return w("div",z({ref:u,class:ce(Re,`${Re}-range`,n.class,{[`${Re}-disabled`]:x.value[0]&&x.value[1],[`${Re}-focused`]:y.value===0?kt.value:Zn.value,[`${Re}-rtl`]:Pv==="rtl"}),style:n.style,onClick:On,onMouseenter:gle,onMouseleave:mle,onMousedown:Rr,onMouseup:yle},ZY(e)),[w("div",{class:ce(`${Re}-input`,{[`${Re}-input-active`]:y.value===0,[`${Re}-input-placeholder`]:!!we.value}),ref:d},[w("input",z(z(z({id:ct,disabled:x.value[0],readonly:YC||typeof m.value[0]=="function"||!Ut.value,value:we.value||me.value,onInput:xi=>{he(xi.target.value)},autofocus:io,placeholder:Yt(ki,0)||"",ref:v},At.value),bL),{},{autocomplete:gL}),null)]),w("div",{class:`${Re}-range-separator`,ref:h},[oo]),w("div",{class:ce(`${Re}-input`,{[`${Re}-input-active`]:y.value===1,[`${Re}-input-placeholder`]:!!Le.value}),ref:f},[w("input",z(z(z({disabled:x.value[1],readonly:YC||typeof m.value[0]=="function"||!or.value,value:Le.value||Ce.value,onInput:xi=>{ve(xi.target.value)},placeholder:Yt(ki,1)||"",ref:p},Wn.value),bL),{},{autocomplete:gL}),null)]),w("div",{class:`${Re}-active-bar`,style:_(_({},Cle),{width:`${ZC}px`,position:"absolute"})},null),mL,yL,w(nq,{visible:N.value,popupStyle:ot,prefixCls:Re,dropdownClassName:nn,dropdownAlign:Dn,getPopupContainer:Si,transitionName:Qn,range:!0,direction:Pv},{default:()=>[w("div",{style:{pointerEvents:"none",position:"absolute",top:0,bottom:0,left:0,right:0}},null)],popupElement:()=>wle})])}}})}const $Ie=CIe(),_Ie=$Ie;var TIe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.checked,()=>{o.value=e.checked}),i({focus(){var c;(c=a.value)===null||c===void 0||c.focus()},blur(){var c;(c=a.value)===null||c===void 0||c.blur()}});const l=ue(),s=c=>{if(e.disabled)return;e.checked===void 0&&(o.value=c.target.checked),c.shiftKey=l.value;const d={target:_(_({},e),{checked:c.target.checked}),stopPropagation(){c.stopPropagation()},preventDefault(){c.preventDefault()},nativeEvent:c};e.checked!==void 0&&(a.value.checked=!!e.checked),r("change",d),l.value=!1},u=c=>{r("click",c),l.value=c.shiftKey};return()=>{const{prefixCls:c,name:d,id:f,type:h,disabled:v,readonly:p,tabindex:g,autofocus:m,value:y,required:b}=e,S=TIe(e,["prefixCls","name","id","type","disabled","readonly","tabindex","autofocus","value","required"]),{class:x,onFocus:$,onBlur:C,onKeydown:T,onKeypress:I,onKeyup:P}=n,M=_(_({},S),n),O=Object.keys(M).reduce((A,E)=>((E.startsWith("data-")||E.startsWith("aria-")||E==="role")&&(A[E]=M[E]),A),{}),D=ce(c,x,{[`${c}-checked`]:o.value,[`${c}-disabled`]:v}),R=_(_({name:d,id:f,type:h,readonly:p,disabled:v,tabindex:g,class:`${c}-input`,checked:!!o.value,autofocus:m,value:y},O),{onChange:s,onClick:u,onFocus:$,onBlur:C,onKeydown:T,onKeypress:I,onKeyup:P,required:b});return w("span",{class:D},[w("input",z({ref:a},R),null),w("span",{class:`${c}-inner`},null)])}}}),cq=Symbol("radioGroupContextKey"),PIe=e=>{at(cq,e)},MIe=()=>Je(cq,void 0),dq=Symbol("radioOptionTypeContextKey"),AIe=e=>{at(dq,e)},OIe=()=>Je(dq,void 0),DIe=new xt("antRadioEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),EIe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:_(_({},st(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},RIe=e=>{const{componentCls:t,radioWrapperMarginRight:n,radioCheckedColor:r,radioSize:i,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:l,motionEaseInOutCirc:s,radioButtonBg:u,colorBorder:c,lineWidth:d,radioDotSize:f,colorBgContainerDisabled:h,colorTextDisabled:v,paddingXS:p,radioDotDisabledColor:g,lineType:m,radioDotDisabledSize:y,wireframe:b,colorWhite:S}=e,x=`${t}-inner`;return{[`${t}-wrapper`]:_(_({},st(e)),{position:"relative",display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${d}px ${m} ${r}`,borderRadius:"50%",visibility:"hidden",animationName:DIe,animationDuration:o,animationTimingFunction:l,animationFillMode:"both",content:'""'},[t]:_(_({},st(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center"}),[`${t}-wrapper:hover &, + &:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:_({},Gl(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:i,height:i,marginBlockStart:i/-2,marginInlineStart:i/-2,backgroundColor:b?r:S,borderBlockStart:0,borderInlineStart:0,borderRadius:i,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:i,height:i,backgroundColor:u,borderColor:c,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,insetBlockEnd:0,insetInlineStart:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[x]:{borderColor:r,backgroundColor:b?u:r,"&::after":{transform:`scale(${f/i})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:h,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:v,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${y/i})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},LIe=e=>{const{radioButtonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,radioButtonPaddingHorizontal:u,fontSize:c,radioButtonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:v,paddingXS:p,borderRadius:g,borderRadiusSM:m,borderRadiusLG:y,radioCheckedColor:b,radioButtonCheckedBg:S,radioButtonHoverColor:x,radioButtonActiveColor:$,radioSolidCheckedColor:C,colorTextDisabled:T,colorBgContainerDisabled:I,radioDisabledButtonCheckedColor:P,radioDisabledButtonCheckedBg:M}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:`${n-i*2}px`,background:d,border:`${i}px ${o} ${a}`,borderBlockStartWidth:i+.02,borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`border-color ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-i,insetInlineStart:-i,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${i}px ${o} ${a}`,borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:`${h-i*2}px`,"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${r}-group-small &`]:{height:v,paddingInline:p-i,paddingBlock:0,lineHeight:`${v-i*2}px`,"&:first-child":{borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m}},"&:hover":{position:"relative",color:b},"&:has(:focus-visible)":_({},Gl(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:b,background:S,borderColor:b,"&::before":{backgroundColor:b},"&:first-child":{borderColor:b},"&:hover":{color:x,borderColor:x,"&::before":{backgroundColor:x}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:b,borderColor:b,"&:hover":{color:C,background:x,borderColor:x},"&:active":{color:C,background:$,borderColor:$}},"&-disabled":{color:T,backgroundColor:I,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:T,backgroundColor:I,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:P,backgroundColor:M,borderColor:a,boxShadow:"none"}}}},fq=it("Radio",e=>{const{padding:t,lineWidth:n,controlItemBgActiveDisabled:r,colorTextDisabled:i,colorBgContainer:o,fontSizeLG:a,controlOutline:l,colorPrimaryHover:s,colorPrimaryActive:u,colorText:c,colorPrimary:d,marginXS:f,controlOutlineWidth:h,colorTextLightSolid:v,wireframe:p}=e,g=`0 0 0 ${h}px ${l}`,m=g,y=a,b=4,S=y-b*2,x=p?S:y-(b+n)*2,$=d,C=c,T=s,I=u,P=t-n,D=Ue(e,{radioFocusShadow:g,radioButtonFocusShadow:m,radioSize:y,radioDotSize:x,radioDotDisabledSize:S,radioCheckedColor:$,radioDotDisabledColor:i,radioSolidCheckedColor:v,radioButtonBg:o,radioButtonCheckedBg:o,radioButtonColor:C,radioButtonHoverColor:T,radioButtonActiveColor:I,radioButtonPaddingHorizontal:P,radioDisabledButtonCheckedBg:r,radioDisabledButtonCheckedColor:i,radioWrapperMarginRight:f});return[EIe(D),RIe(D),LIe(D)]});var NIe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,checked:$e(),disabled:$e(),isGroup:$e(),value:U.any,name:String,id:String,autofocus:$e(),onChange:be(),onFocus:be(),onBlur:be(),onClick:be(),"onUpdate:checked":be(),"onUpdate:value":be()}),ai=se({compatConfig:{MODE:3},name:"ARadio",inheritAttrs:!1,props:hq(),setup(e,t){let{emit:n,expose:r,slots:i,attrs:o}=t;const a=Xn(),l=fr.useInject(),s=OIe(),u=MIe(),c=Ai(),d=L(()=>{var T;return(T=p.value)!==null&&T!==void 0?T:c.value}),f=ue(),{prefixCls:h,direction:v,disabled:p}=Ee("radio",e),g=L(()=>(u==null?void 0:u.optionType.value)==="button"||s==="button"?`${h.value}-button`:h.value),m=Ai(),[y,b]=fq(h);r({focus:()=>{f.value.focus()},blur:()=>{f.value.blur()}});const $=T=>{const I=T.target.checked;n("update:checked",I),n("update:value",I),n("change",T),a.onFieldChange()},C=T=>{n("change",T),u&&u.onChange&&u.onChange(T)};return()=>{var T;const I=u,{prefixCls:P,id:M=a.id.value}=e,O=NIe(e,["prefixCls","id"]),D=_(_({prefixCls:g.value,id:M},yt(O,["onUpdate:checked","onUpdate:value"])),{disabled:(T=p.value)!==null&&T!==void 0?T:m.value});I?(D.name=I.name.value,D.onChange=C,D.checked=e.value===I.value.value,D.disabled=d.value||I.disabled.value):D.onChange=$;const R=ce({[`${g.value}-wrapper`]:!0,[`${g.value}-wrapper-checked`]:D.checked,[`${g.value}-wrapper-disabled`]:D.disabled,[`${g.value}-wrapper-rtl`]:v.value==="rtl",[`${g.value}-wrapper-in-form-item`]:l.isFormItemInput},o.class,b.value);return y(w("label",z(z({},o),{},{class:R}),[w(uq,z(z({},D),{},{type:"radio",ref:f}),null),i.default&&w("span",null,[i.default()])]))}}}),kIe=()=>({prefixCls:String,value:U.any,size:je(),options:Ot(),disabled:$e(),name:String,buttonStyle:je("outline"),id:String,optionType:je("default"),onChange:be(),"onUpdate:value":be()}),gE=se({compatConfig:{MODE:3},name:"ARadioGroup",inheritAttrs:!1,props:kIe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=Xn(),{prefixCls:a,direction:l,size:s}=Ee("radio",e),[u,c]=fq(a),d=ue(e.value),f=ue(!1);return Se(()=>e.value,v=>{d.value=v,f.value=!1}),PIe({onChange:v=>{const p=d.value,{value:g}=v.target;"value"in e||(d.value=g),!f.value&&g!==p&&(f.value=!0,r("update:value",g),r("change",v),o.onFieldChange()),_t(()=>{f.value=!1})},value:d,disabled:L(()=>e.disabled),name:L(()=>e.name),optionType:L(()=>e.optionType)}),()=>{var v;const{options:p,buttonStyle:g,id:m=o.id.value}=e,y=`${a.value}-group`,b=ce(y,`${y}-${g}`,{[`${y}-${s.value}`]:s.value,[`${y}-rtl`]:l.value==="rtl"},i.class,c.value);let S=null;return p&&p.length>0?S=p.map(x=>{if(typeof x=="string"||typeof x=="number")return w(ai,{key:x,prefixCls:a.value,disabled:e.disabled,value:x,checked:d.value===x},{default:()=>[x]});const{value:$,disabled:C,label:T}=x;return w(ai,{key:`radio-group-value-options-${$}`,prefixCls:a.value,disabled:C||e.disabled,value:$,checked:d.value===$},{default:()=>[T]})}):S=(v=n.default)===null||v===void 0?void 0:v.call(n),u(w("div",z(z({},i),{},{class:b,id:m}),[S]))}}}),bS=se({compatConfig:{MODE:3},name:"ARadioButton",inheritAttrs:!1,props:hq(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i}=Ee("radio",e);return AIe("button"),()=>{var o;return w(ai,z(z(z({},r),e),{},{prefixCls:i.value}),{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})}}});ai.Group=gE;ai.Button=bS;ai.install=function(e){return e.component(ai.name,ai),e.component(ai.Group.name,ai.Group),e.component(ai.Button.name,ai.Button),e};const BIe=10,FIe=20;function vq(e){const{fullscreen:t,validRange:n,generateConfig:r,locale:i,prefixCls:o,value:a,onChange:l,divRef:s}=e,u=r.getYear(a||r.getNow());let c=u-BIe,d=c+FIe;n&&(c=r.getYear(n[0]),d=r.getYear(n[1])+1);const f=i&&i.year==="年"?"年":"",h=[];for(let v=c;v{let p=r.setYear(a,v);if(n){const[g,m]=n,y=r.getYear(p),b=r.getMonth(p);y===r.getYear(m)&&b>r.getMonth(m)&&(p=r.setMonth(p,r.getMonth(m))),y===r.getYear(g)&&bs.value},null)}vq.inheritAttrs=!1;function pq(e){const{prefixCls:t,fullscreen:n,validRange:r,value:i,generateConfig:o,locale:a,onChange:l,divRef:s}=e,u=o.getMonth(i||o.getNow());let c=0,d=11;if(r){const[v,p]=r,g=o.getYear(i);o.getYear(p)===g&&(d=o.getMonth(p)),o.getYear(v)===g&&(c=o.getMonth(v))}const f=a.shortMonths||o.locale.getShortMonths(a.locale),h=[];for(let v=c;v<=d;v+=1)h.push({label:f[v],value:v});return w(Ul,{size:n?void 0:"small",class:`${t}-month-select`,value:u,options:h,onChange:v=>{l(o.setMonth(i,v))},getPopupContainer:()=>s.value},null)}pq.inheritAttrs=!1;function gq(e){const{prefixCls:t,locale:n,mode:r,fullscreen:i,onModeChange:o}=e;return w(gE,{onChange:a=>{let{target:{value:l}}=a;o(l)},value:r,size:i?void 0:"small",class:`${t}-mode-switch`},{default:()=>[w(bS,{value:"month"},{default:()=>[n.month]}),w(bS,{value:"year"},{default:()=>[n.year]})]})}gq.inheritAttrs=!1;const zIe=se({name:"CalendarHeader",inheritAttrs:!1,props:["mode","prefixCls","value","validRange","generateConfig","locale","mode","fullscreen"],setup(e,t){let{attrs:n}=t;const r=ue(null),i=fr.useInject();return fr.useProvide(i,{isFormItemInput:!1}),()=>{const o=_(_({},e),n),{prefixCls:a,fullscreen:l,mode:s,onChange:u,onModeChange:c}=o,d=_(_({},o),{fullscreen:l,divRef:r});return w("div",{class:`${a}-header`,ref:r},[w(vq,z(z({},d),{},{onChange:f=>{u(f,"year")}}),null),s==="month"&&w(pq,z(z({},d),{},{onChange:f=>{u(f,"month")}}),null),w(gq,z(z({},d),{},{onModeChange:c}),null)])}}}),mE=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),cv=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),hu=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),yE=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":_({},cv(Ue(e,{inputBorderHoverColor:e.colorBorder})))}),mq=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:i,inputPaddingHorizontalLG:o}=e;return{padding:`${t}px ${o}px`,fontSize:n,lineHeight:r,borderRadius:i}},bE=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),Xm=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:i,colorErrorOutline:o,colorWarningOutline:a,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:l},"&:focus, &-focused":_({},hu(Ue(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:o}))),[`${n}-prefix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:i,"&:hover":{borderColor:s},"&:focus, &-focused":_({},hu(Ue(e,{inputBorderActiveColor:i,inputBorderHoverColor:i,controlOutline:a}))),[`${n}-prefix`]:{color:i}}}},Fd=e=>_(_({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},mE(e.colorTextPlaceholder)),{"&:hover":_({},cv(e)),"&:focus, &-focused":_({},hu(e)),"&-disabled, &[disabled]":_({},yE(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":_({},mq(e)),"&-sm":_({},bE(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),yq=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:_({},mq(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:_({},bE(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:_(_({display:"block"},la()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, & > ${n}-select-auto-complete ${t}, & > ${n}-cascader-picker ${t}, & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, @@ -238,9 +238,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${n}-select:last-child > ${n}-select-selector, & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},zIe=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,i=16,o=(n-r*2-i)/2;return{[t]:_(_(_(_({},st(e)),Bd(e)),Xm(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}}})}},HIe=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},VIe=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:o,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:_(_(_(_(_({},Bd(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:_(_({},uv(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),HIe(e)),{[`${l}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}}),Xm(e,`${t}-affix-wrapper`))}},WIe=e=>{const{componentCls:t,colorError:n,colorSuccess:r,borderRadiusLG:i,borderRadiusSM:o}=e;return{[`${t}-group`]:_(_(_({},st(e)),yq(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i}},"&-sm":{[`${t}-group-addon`]:{borderRadius:o}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:r,borderColor:r}}}})}},jIe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},HIe=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,i=16,o=(n-r*2-i)/2;return{[t]:_(_(_(_({},st(e)),Fd(e)),Xm(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}}})}},VIe=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},WIe=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:o,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:_(_(_(_(_({},Fd(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:_(_({},cv(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),VIe(e)),{[`${l}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}}),Xm(e,`${t}-affix-wrapper`))}},jIe=e=>{const{componentCls:t,colorError:n,colorSuccess:r,borderRadiusLG:i,borderRadiusSM:o}=e;return{[`${t}-group`]:_(_(_({},st(e)),yq(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:i}},"&-sm":{[`${t}-group-addon`]:{borderRadius:o}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:r,borderColor:r}}}})}},GIe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function Fd(e){return Ue(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const GIe=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:r}=e,i=`${t}-textarea`;return{[i]:{position:"relative",[`${i}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${i}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},SE=it("Input",e=>{const t=Fd(e);return[zIe(t),GIe(t),VIe(t),WIe(t),jIe(t),ov(t)]}),q$=(e,t,n,r)=>{const{lineHeight:i}=e,o=Math.floor(n*i)+2,a=Math.max((t-o)/2,0),l=Math.max(t-o-a,0);return{padding:`${a}px ${r}px ${l}px`}},KIe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:i,motionDurationSlow:o,borderRadiusSM:a,motionDurationMid:l,controlItemBgHover:s,lineWidth:u,lineType:c,colorPrimary:d,controlItemBgActive:f,colorTextLightSolid:h,controlHeightSM:v,pickerDateHoverRangeBorderColor:p,pickerCellBorderGap:g,pickerBasicCellHoverWithRangeColor:m,pickerPanelCellWidth:y,colorTextDisabled:b,colorBgContainerDisabled:S}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:i,transform:"translateY(-50%)",transition:`all ${o}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:i,height:i,lineHeight:`${i}px`,borderRadius:a,transition:`background ${l}, border ${l}`},[`&:hover:not(${n}-in-view), + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function zd(e){return Ue(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const KIe=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:r}=e,i=`${t}-textarea`;return{[i]:{position:"relative",[`${i}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${i}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:r}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},SE=it("Input",e=>{const t=zd(e);return[HIe(t),KIe(t),WIe(t),jIe(t),GIe(t),av(t)]}),q$=(e,t,n,r)=>{const{lineHeight:i}=e,o=Math.floor(n*i)+2,a=Math.max((t-o)/2,0),l=Math.max(t-o-a,0);return{padding:`${a}px ${r}px ${l}px`}},UIe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerPanelCellHeight:i,motionDurationSlow:o,borderRadiusSM:a,motionDurationMid:l,controlItemBgHover:s,lineWidth:u,lineType:c,colorPrimary:d,controlItemBgActive:f,colorTextLightSolid:h,controlHeightSM:v,pickerDateHoverRangeBorderColor:p,pickerCellBorderGap:g,pickerBasicCellHoverWithRangeColor:m,pickerPanelCellWidth:y,colorTextDisabled:b,colorBgContainerDisabled:S}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:i,transform:"translateY(-50%)",transition:`all ${o}`,content:'""'},[r]:{position:"relative",zIndex:2,display:"inline-block",minWidth:i,height:i,lineHeight:`${i}px`,borderRadius:a,transition:`background ${l}, border ${l}`},[`&:hover:not(${n}-in-view), &:hover:not(${n}-selected):not(${n}-range-start):not(${n}-range-end):not(${n}-range-hover-start):not(${n}-range-hover-end)`]:{[r]:{background:s}},[`&-in-view${n}-today ${r}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${u}px ${c} ${d}`,borderRadius:a,content:'""'}},[`&-in-view${n}-in-range`]:{position:"relative","&::before":{background:f}},[`&-in-view${n}-selected ${r}, &-in-view${n}-range-start ${r}, &-in-view${n}-range-end ${r}`]:{color:h,background:d},[`&-in-view${n}-range-start:not(${n}-range-start-single), @@ -270,14 +270,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &-in-view${n}-range-hover-edge-end:not(${n}-range-hover-edge-end-near-range)::after, &-in-view${n}-range-hover-end::after`]:{insetInlineEnd:(y-i)/2,borderInlineEnd:`${u}px dashed ${p}`,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:b,pointerEvents:"none",[r]:{background:"transparent"},"&::before":{background:S}},[`&-disabled${n}-today ${r}::before`]:{borderColor:b}}},bq=e=>{const{componentCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:r,pickerControlIconSize:i,pickerPanelCellWidth:o,paddingSM:a,paddingXS:l,paddingXXS:s,colorBgContainer:u,lineWidth:c,lineType:d,borderRadiusLG:f,colorPrimary:h,colorTextHeading:v,colorSplit:p,pickerControlIconBorderWidth:g,colorIcon:m,pickerTextHeight:y,motionDurationMid:b,colorIconHover:S,fontWeightStrong:x,pickerPanelCellHeight:$,pickerCellPaddingVertical:C,colorTextDisabled:T,colorText:I,fontSize:P,pickerBasicCellHoverWithRangeColor:M,motionDurationSlow:O,pickerPanelWithoutTimeCellHeight:D,pickerQuarterPanelContentHeight:R,colorLink:A,colorLinkActive:E,colorLinkHover:k,pickerDateHoverRangeBorderColor:N,borderRadiusSM:B,colorTextLightSolid:F,borderRadius:H,controlItemBgHover:V,pickerTimePanelColumnHeight:X,pickerTimePanelColumnWidth:Q,pickerTimePanelCellHeight:K,controlItemBgActive:te,marginXXS:q}=e,ee=o*7+a*2+4,J=(ee-l*2)/3-r-a;return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,border:`${c}px ${d} ${p}`,borderRadius:f,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ee},"&-header":{display:"flex",padding:`0 ${l}px`,color:v,borderBottom:`${c}px ${d} ${p}`,"> *":{flex:"none"},button:{padding:0,color:m,lineHeight:`${y}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${b}`},"> button":{minWidth:"1.6em",fontSize:P,"&:hover":{color:S}},"&-view":{flex:"auto",fontWeight:x,lineHeight:`${y}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(i/2),insetInlineStart:Math.ceil(i/2),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:$+C*2,color:I,verticalAlign:"middle"}},"&-cell":_({padding:`${C}px 0`,color:T,cursor:"pointer","&-in-view":{color:I}},KIe(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ee},"&-header":{display:"flex",padding:`0 ${l}px`,color:v,borderBottom:`${c}px ${d} ${p}`,"> *":{flex:"none"},button:{padding:0,color:m,lineHeight:`${y}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${b}`},"> button":{minWidth:"1.6em",fontSize:P,"&:hover":{color:S}},"&-view":{flex:"auto",fontWeight:x,lineHeight:`${y}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(i/2),insetInlineStart:Math.ceil(i/2),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:g,borderBlockEndWidth:0,borderInlineStartWidth:g,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:$,fontWeight:"normal"},th:{height:$+C*2,color:I,verticalAlign:"middle"}},"&-cell":_({padding:`${C}px 0`,color:T,cursor:"pointer","&-in-view":{color:I}},UIe(e)),[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}, &-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:M,transition:`all ${O}`,content:'""'}},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-start ${n}::after`]:{insetInlineEnd:-(o-$)/2,insetInlineStart:0},[`&-date-panel ${t}-cell-in-view${t}-cell-in-range${t}-cell-range-hover-end ${n}::after`]:{insetInlineEnd:0,insetInlineStart:-(o-$)/2},[`&-range-hover${t}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:D*4},[n]:{padding:`0 ${l}px`}},"&-quarter-panel":{[`${t}-content`]:{height:R}},[`&-panel ${t}-footer`]:{borderTop:`${c}px ${d} ${p}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${y-2*c}px`,textAlign:"center","&-extra":{padding:`0 ${a}`,lineHeight:`${y-2*c}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${c}px ${d} ${p}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:A,"&:hover":{color:k},"&:active":{color:E},[`&${t}-today-btn-disabled`]:{color:T,cursor:"not-allowed"}},"&-decade-panel":{[n]:{padding:`0 ${l/2}px`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${l}px`},[n]:{width:r},[`${t}-cell-range-hover-start::after`]:{insetInlineStart:J,borderInlineStart:`${c}px dashed ${N}`,borderStartStartRadius:B,borderBottomStartRadius:B,borderStartEndRadius:0,borderBottomEndRadius:0,[`${t}-panel-rtl &`]:{insetInlineEnd:J,borderInlineEnd:`${c}px dashed ${N}`,borderStartStartRadius:0,borderBottomStartRadius:0,borderStartEndRadius:B,borderBottomEndRadius:B}},[`${t}-cell-range-hover-end::after`]:{insetInlineEnd:J,borderInlineEnd:`${c}px dashed ${N}`,borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:H,borderEndEndRadius:H,[`${t}-panel-rtl &`]:{insetInlineStart:J,borderInlineStart:`${c}px dashed ${N}`,borderStartStartRadius:H,borderEndStartRadius:H,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-week-panel":{[`${t}-body`]:{padding:`${l}px ${a}px`},[`${t}-cell`]:{[`&:hover ${n}, &-selected ${n}, ${n}`]:{background:"transparent !important"}},"&-row":{td:{transition:`background ${b}`,"&:first-child":{borderStartStartRadius:B,borderEndStartRadius:B},"&:last-child":{borderStartEndRadius:B,borderEndEndRadius:B}},"&:hover td":{background:V},"&-selected td,\n &-selected:hover td":{background:h,[`&${t}-cell-week`]:{color:new zt(F).setAlpha(.5).toHexString()},[`&${t}-cell-today ${n}::before`]:{borderColor:F},[n]:{color:F}}}},"&-date-panel":{[`${t}-body`]:{padding:`${l}px ${a}px`},[`${t}-content`]:{width:o*7,th:{width:o}}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${c}px ${d} ${p}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${O}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:X},"&-column":{flex:"1 0 auto",width:Q,margin:`${s}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${b}`,overflowX:"hidden","&::after":{display:"block",height:X-K,content:'""'},"&:not(:first-child)":{borderInlineStart:`${c}px ${d} ${p}`},"&-active":{background:new zt(te).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:q,[`${t}-time-panel-cell-inner`]:{display:"block",width:Q-2*q,height:K,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Q-K)/2,color:I,lineHeight:`${K}px`,borderRadius:B,cursor:"pointer",transition:`background ${b}`,"&:hover":{background:V}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:te}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:X-K+s*2}}}},UIe=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:i,colorWarning:o,colorWarningOutline:a}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},"&-focused, &:focus":_({},hu(Ue(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${t}-active-bar`]:{background:r}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:o},"&-focused, &:focus":_({},hu(Ue(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${t}-active-bar`]:{background:o}}}}},XIe=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:r,controlHeight:i,fontSize:o,inputPaddingHorizontal:a,colorBgContainer:l,lineWidth:s,lineType:u,colorBorder:c,borderRadius:d,motionDurationMid:f,colorBgContainerDisabled:h,colorTextDisabled:v,colorTextPlaceholder:p,controlHeightLG:g,fontSizeLG:m,controlHeightSM:y,inputPaddingHorizontalSM:b,paddingXS:S,marginXS:x,colorTextDescription:$,lineWidthBold:C,lineHeight:T,colorPrimary:I,motionDurationSlow:P,zIndexPopup:M,paddingXXS:O,paddingSM:D,pickerTextHeight:R,controlItemBgActive:A,colorPrimaryBorder:E,sizePopupArrow:k,borderRadiusXS:N,borderRadiusOuter:B,colorBgElevated:F,borderRadiusLG:H,boxShadowSecondary:V,borderRadiusSM:X,colorSplit:Q,controlItemBgHover:K,presetsWidth:te,presetsMaxWidth:q}=e;return[{[t]:_(_(_({},st(e)),q$(e,i,o,a)),{position:"relative",display:"inline-flex",alignItems:"center",background:l,lineHeight:1,border:`${s}px ${u} ${c}`,borderRadius:d,transition:`border ${f}, box-shadow ${f}`,"&:hover, &-focused":_({},uv(e)),"&-focused":_({},hu(e)),[`&${t}-disabled`]:{background:h,borderColor:c,cursor:"not-allowed",[`${t}-suffix`]:{color:v}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":_(_({},Bd(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:p}}},"&-large":_(_({},q$(e,g,m,a)),{[`${t}-input > input`]:{fontSize:m}}),"&-small":_({},q$(e,y,o,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:S/2,color:v,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:x}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:v,lineHeight:1,background:l,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${f}, color ${f}`,"> *":{verticalAlign:"top"},"&:hover":{color:$}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:v,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:$},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:a},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-s,height:C,marginInlineStart:a,background:I,opacity:0,transition:`all ${P} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${S}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b},[`${t}-active-bar`]:{marginInlineStart:b}}},"&-dropdown":_(_(_({},st(e)),bq(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:M,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:X},"&-column":{flex:"1 0 auto",width:Q,margin:`${s}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${b}`,overflowX:"hidden","&::after":{display:"block",height:X-K,content:'""'},"&:not(:first-child)":{borderInlineStart:`${c}px ${d} ${p}`},"&-active":{background:new zt(te).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:q,[`${t}-time-panel-cell-inner`]:{display:"block",width:Q-2*q,height:K,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Q-K)/2,color:I,lineHeight:`${K}px`,borderRadius:B,cursor:"pointer",transition:`background ${b}`,"&:hover":{background:V}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:te}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:X-K+s*2}}}},XIe=e=>{const{componentCls:t,colorBgContainer:n,colorError:r,colorErrorOutline:i,colorWarning:o,colorWarningOutline:a}=e;return{[t]:{[`&-status-error${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:r},"&-focused, &:focus":_({},hu(Ue(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${t}-active-bar`]:{background:r}},[`&-status-warning${t}`]:{"&, &:not([disabled]):hover":{backgroundColor:n,borderColor:o},"&-focused, &:focus":_({},hu(Ue(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${t}-active-bar`]:{background:o}}}}},YIe=e=>{const{componentCls:t,antCls:n,boxShadowPopoverArrow:r,controlHeight:i,fontSize:o,inputPaddingHorizontal:a,colorBgContainer:l,lineWidth:s,lineType:u,colorBorder:c,borderRadius:d,motionDurationMid:f,colorBgContainerDisabled:h,colorTextDisabled:v,colorTextPlaceholder:p,controlHeightLG:g,fontSizeLG:m,controlHeightSM:y,inputPaddingHorizontalSM:b,paddingXS:S,marginXS:x,colorTextDescription:$,lineWidthBold:C,lineHeight:T,colorPrimary:I,motionDurationSlow:P,zIndexPopup:M,paddingXXS:O,paddingSM:D,pickerTextHeight:R,controlItemBgActive:A,colorPrimaryBorder:E,sizePopupArrow:k,borderRadiusXS:N,borderRadiusOuter:B,colorBgElevated:F,borderRadiusLG:H,boxShadowSecondary:V,borderRadiusSM:X,colorSplit:Q,controlItemBgHover:K,presetsWidth:te,presetsMaxWidth:q}=e;return[{[t]:_(_(_({},st(e)),q$(e,i,o,a)),{position:"relative",display:"inline-flex",alignItems:"center",background:l,lineHeight:1,border:`${s}px ${u} ${c}`,borderRadius:d,transition:`border ${f}, box-shadow ${f}`,"&:hover, &-focused":_({},cv(e)),"&-focused":_({},hu(e)),[`&${t}-disabled`]:{background:h,borderColor:c,cursor:"not-allowed",[`${t}-suffix`]:{color:v}},[`&${t}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":_(_({},Fd(e)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${t}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:p}}},"&-large":_(_({},q$(e,g,m,a)),{[`${t}-input > input`]:{fontSize:m}}),"&-small":_({},q$(e,y,o,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:S/2,color:v,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:x}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:v,lineHeight:1,background:l,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${f}, color ${f}`,"> *":{verticalAlign:"top"},"&:hover":{color:$}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:v,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:$},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-clear`]:{insetInlineEnd:a},"&:hover":{[`${t}-clear`]:{opacity:1}},[`${t}-active-bar`]:{bottom:-s,height:C,marginInlineStart:a,background:I,opacity:0,transition:`all ${P} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${S}px`,lineHeight:1},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b},[`${t}-active-bar`]:{marginInlineStart:b}}},"&-dropdown":_(_(_({},st(e)),bq(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:M,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Pw},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, @@ -286,30 +286,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Tw},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Mw},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Iw},[`${t}-panel > ${t}-time-panel`]:{paddingTop:O},[`${t}-ranges`]:{marginBottom:0,padding:`${O}px ${D}px`,overflow:"hidden",lineHeight:`${R-2*s-S/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${t}-preset > ${n}-tag-blue`]:{color:I,background:A,borderColor:E,cursor:"pointer"},[`${t}-ok`]:{marginInlineStart:"auto"}},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:_({position:"absolute",zIndex:1,display:"none",marginInlineStart:a*1.5,transition:`left ${P} ease-out`},CO(k,N,B,F,r)),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:F,borderRadius:H,boxShadow:V,transition:`margin ${P}`,[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:te,maxWidth:q,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:S,borderInlineEnd:`${s}px ${u} ${Q}`,li:_(_({},Hn),{borderRadius:X,paddingInline:S,paddingBlock:(y-Math.round(o*T))/2,cursor:"pointer",transition:`all ${P}`,"+ li":{marginTop:x},"&:hover":{background:K}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${t}-panel`]:{borderWidth:`0 0 ${s}px`},"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:c}}}}),"&-dropdown-range":{padding:`${k*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Qa(e,"slide-up"),Qa(e,"slide-down"),kh(e,"move-up"),kh(e,"move-down")]},Sq=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:i,colorPrimary:o,paddingXXS:a}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:i*1.5,pickerPanelCellHeight:i,pickerDateHoverRangeBorderColor:new zt(o).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new zt(o).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:a,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},xq=it("DatePicker",e=>{const t=Ue(Fd(e),Sq(e));return[XIe(t),UIe(t),ov(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),YIe=e=>{const{calendarCls:t,componentCls:n,calendarFullBg:r,calendarFullPanelBg:i,calendarItemActiveBg:o}=e;return{[t]:_(_(_({},bq(e)),st(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${e.paddingSM}px 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:i,border:0,borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${e.paddingXS}px 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${e.weekHeight}px`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${e.weekHeight}px`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:o}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${e.marginXS/2}px`,padding:`${e.paddingXS/2}px ${e.paddingXS}px 0`,border:0,borderTop:`${e.lineWidthBold}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${e.dateValueHeight}px`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${e.screenXS}px) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${e.paddingXS}px)`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},qIe=it("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Ue(Fd(e),Sq(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,calendarFullBg:e.colorBgContainer,calendarFullPanelBg:e.colorBgContainer,calendarItemActiveBg:e.controlItemBgActive,dateValueHeight:e.controlHeightSM,weekHeight:e.controlHeightSM*.75,dateContentHeight:(e.fontSizeSM*e.lineHeightSM+e.marginXS)*3+e.lineWidth*2});return[YIe(n)]},{yearControlWidth:80,monthControlWidth:70,miniContentHeight:256});function ZIe(e){function t(o,a){return o&&a&&e.getYear(o)===e.getYear(a)}function n(o,a){return t(o,a)&&e.getMonth(o)===e.getMonth(a)}function r(o,a){return n(o,a)&&e.getDate(o)===e.getDate(a)}const i=se({name:"ACalendar",inheritAttrs:!1,props:{prefixCls:String,locale:{type:Object,default:void 0},validRange:{type:Array,default:void 0},disabledDate:{type:Function,default:void 0},dateFullCellRender:{type:Function,default:void 0},dateCellRender:{type:Function,default:void 0},monthFullCellRender:{type:Function,default:void 0},monthCellRender:{type:Function,default:void 0},headerRender:{type:Function,default:void 0},value:{type:[Object,String],default:void 0},defaultValue:{type:[Object,String],default:void 0},mode:{type:String,default:void 0},fullscreen:{type:Boolean,default:void 0},onChange:{type:Function,default:void 0},"onUpdate:value":{type:Function,default:void 0},onPanelChange:{type:Function,default:void 0},onSelect:{type:Function,default:void 0},valueFormat:{type:String,default:void 0}},slots:Object,setup(o,a){let{emit:l,slots:s,attrs:u}=a;const c=o,{prefixCls:d,direction:f}=Ee("picker",c),[h,v]=qIe(d),p=L(()=>`${d.value}-calendar`),g=A=>c.valueFormat?e.toString(A,c.valueFormat):A,m=L(()=>c.value?c.valueFormat?e.toDate(c.value,c.valueFormat):c.value:c.value===""?void 0:c.value),y=L(()=>c.defaultValue?c.valueFormat?e.toDate(c.defaultValue,c.valueFormat):c.defaultValue:c.defaultValue===""?void 0:c.defaultValue),[b,S]=dn(()=>m.value||e.getNow(),{defaultValue:y.value,value:m}),[x,$]=dn("month",{value:qe(c,"mode")}),C=L(()=>x.value==="year"?"month":"date"),T=L(()=>A=>{var E;return(c.validRange?e.isAfter(c.validRange[0],A)||e.isAfter(A,c.validRange[1]):!1)||!!(!((E=c.disabledDate)===null||E===void 0)&&E.call(c,A))}),I=(A,E)=>{l("panelChange",g(A),E)},P=A=>{if(S(A),!r(A,b.value)){(C.value==="date"&&!n(A,b.value)||C.value==="month"&&!t(A,b.value))&&I(A,x.value);const E=g(A);l("update:value",E),l("change",E)}},M=A=>{$(A),I(b.value,A)},O=(A,E)=>{P(A),l("select",g(A),{source:E})},D=L(()=>{const{locale:A}=c,E=_(_({},Eg),A);return E.lang=_(_({},E.lang),(A||{}).lang),E}),[R]=Ro("Calendar",D);return()=>{const A=e.getNow(),{dateFullCellRender:E=s==null?void 0:s.dateFullCellRender,dateCellRender:k=s==null?void 0:s.dateCellRender,monthFullCellRender:N=s==null?void 0:s.monthFullCellRender,monthCellRender:B=s==null?void 0:s.monthCellRender,headerRender:F=s==null?void 0:s.headerRender,fullscreen:H=!0,validRange:V}=c,X=K=>{let{current:te}=K;return E?E({current:te}):w("div",{class:ce(`${d.value}-cell-inner`,`${p.value}-date`,{[`${p.value}-date-today`]:r(A,te)})},[w("div",{class:`${p.value}-date-value`},[String(e.getDate(te)).padStart(2,"0")]),w("div",{class:`${p.value}-date-content`},[k&&k({current:te})])])},Q=(K,te)=>{let{current:q}=K;if(N)return N({current:q});const ee=te.shortMonths||e.locale.getShortMonths(te.locale);return w("div",{class:ce(`${d.value}-cell-inner`,`${p.value}-date`,{[`${p.value}-date-today`]:n(A,q)})},[w("div",{class:`${p.value}-date-value`},[ee[e.getMonth(q)]]),w("div",{class:`${p.value}-date-content`},[B&&B({current:q})])])};return h(w("div",z(z({},u),{},{class:ce(p.value,{[`${p.value}-full`]:H,[`${p.value}-mini`]:!H,[`${p.value}-rtl`]:f.value==="rtl"},u.class,v.value)}),[F?F({value:b.value,type:x.value,onChange:K=>{O(K,"customize")},onTypeChange:M}):w(FIe,{prefixCls:p.value,value:b.value,generateConfig:e,mode:x.value,fullscreen:H,locale:R.value.lang,validRange:V,onChange:O,onModeChange:M},null),w(vE,{value:b.value,prefixCls:d.value,locale:R.value.lang,generateConfig:e,dateRender:X,monthCellRender:K=>Q(K,R.value.lang),onSelect:K=>{O(K,C.value)},mode:C.value,picker:C.value,disabledDate:T.value,hideHeader:!0},null)]))}}});return i.install=function(o){return o.component(i.name,i),o},i}const QIe=ZIe(YD),JIe=gn(QIe);function ePe(e){const t=ae(),n=ae(!1);function r(){for(var i=arguments.length,o=new Array(i),a=0;a{e(...o)}))}return ht(()=>{n.value=!0,dt.cancel(t.value)}),r}function tPe(e){const t=ae([]),n=ae(typeof e=="function"?e():e),r=ePe(()=>{let o=n.value;t.value.forEach(a=>{o=a(o)}),t.value=[],n.value=o});function i(o){t.value.push(o),r()}return[n,i]}const nPe=se({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:r}=t;const i=ue();function o(s){var u;!((u=e.tab)===null||u===void 0)&&u.disabled||e.onClick(s)}n({domRef:i});function a(s){var u;s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:(u=e.tab)===null||u===void 0?void 0:u.key,event:s})}const l=L(()=>{var s;return e.editable&&e.closable!==!1&&!(!((s=e.tab)===null||s===void 0)&&s.disabled)});return()=>{var s;const{prefixCls:u,id:c,active:d,tab:{key:f,tab:h,disabled:v,closeIcon:p},renderWrapper:g,removeAriaLabel:m,editable:y,onFocus:b}=e,S=`${u}-tab`,x=w("div",{key:f,ref:i,class:ce(S,{[`${S}-with-remove`]:l.value,[`${S}-active`]:d,[`${S}-disabled`]:v}),style:r.style,onClick:o},[w("div",{role:"tab","aria-selected":d,id:c&&`${c}-tab-${f}`,class:`${S}-btn`,"aria-controls":c&&`${c}-panel-${f}`,"aria-disabled":v,tabindex:v?null:0,onClick:$=>{$.stopPropagation(),o($)},onKeydown:$=>{[Pe.SPACE,Pe.ENTER].includes($.which)&&($.preventDefault(),o($))},onFocus:b},[typeof h=="function"?h():h]),l.value&&w("button",{type:"button","aria-label":m||"remove",tabindex:0,class:`${S}-remove`,onClick:$=>{$.stopPropagation(),a($)}},[(p==null?void 0:p())||((s=y.removeIcon)===null||s===void 0?void 0:s.call(y))||"×"])]);return g?g(x):x}}}),_N={width:0,height:0,left:0,top:0};function rPe(e,t){const n=ue(new Map);return Ye(()=>{var r,i;const o=new Map,a=e.value,l=t.value.get((r=a[0])===null||r===void 0?void 0:r.key)||_N,s=l.left+l.width;for(let u=0;u{const{prefixCls:o,editable:a,locale:l}=e;return!a||a.showAdd===!1?null:w("button",{ref:i,type:"button",class:`${o}-nav-add`,style:r.style,"aria-label":(l==null?void 0:l.addAriaLabel)||"Add tab",onClick:s=>{a.onEdit("add",{event:s})}},[a.addIcon?a.addIcon():"+"])}}}),iPe={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:U.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:be()},oPe=se({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:iPe,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const[i,o]=Xt(!1),[a,l]=Xt(null),s=h=>{const v=e.tabs.filter(m=>!m.disabled);let p=v.findIndex(m=>m.key===a.value)||0;const g=v.length;for(let m=0;m{const{which:v}=h;if(!i.value){[Pe.DOWN,Pe.SPACE,Pe.ENTER].includes(v)&&(o(!0),h.preventDefault());return}switch(v){case Pe.UP:s(-1),h.preventDefault();break;case Pe.DOWN:s(1),h.preventDefault();break;case Pe.ESC:o(!1);break;case Pe.SPACE:case Pe.ENTER:a.value!==null&&e.onTabClick(a.value,h);break}},c=L(()=>`${e.id}-more-popup`),d=L(()=>a.value!==null?`${c.value}-${a.value}`:null),f=(h,v)=>{h.preventDefault(),h.stopPropagation(),e.editable.onEdit("remove",{key:v,event:h})};return tt(()=>{Se(a,()=>{const h=document.getElementById(d.value);h&&h.scrollIntoView&&h.scrollIntoView(!1)},{flush:"post",immediate:!0})}),Se(i,()=>{i.value||l(null)}),KD({}),()=>{var h;const{prefixCls:v,id:p,tabs:g,locale:m,mobile:y,moreIcon:b=((h=r.moreIcon)===null||h===void 0?void 0:h.call(r))||w(jD,null,null),moreTransitionName:S,editable:x,tabBarGutter:$,rtl:C,onTabClick:T,popupClassName:I}=e;if(!g.length)return null;const P=`${v}-dropdown`,M=m==null?void 0:m.dropdownAriaLabel,O={[C?"marginRight":"marginLeft"]:$};g.length||(O.visibility="hidden",O.order=1);const D=ce({[`${P}-rtl`]:C,[`${I}`]:!0}),R=y?null:w(cY,{prefixCls:P,trigger:["hover"],visible:i.value,transitionName:S,onVisibleChange:o,overlayClassName:D,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>w(Ln,{onClick:A=>{let{key:E,domEvent:k}=A;T(E,k),o(!1)},id:c.value,tabindex:-1,role:"listbox","aria-activedescendant":d.value,selectedKeys:[a.value],"aria-label":M!==void 0?M:"expanded dropdown"},{default:()=>[g.map(A=>{var E,k;const N=x&&A.closable!==!1&&!A.disabled;return w(Ua,{key:A.key,id:`${c.value}-${A.key}`,role:"option","aria-controls":p&&`${p}-panel-${A.key}`,disabled:A.disabled},{default:()=>[w("span",null,[typeof A.tab=="function"?A.tab():A.tab]),N&&w("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${P}-menu-item-remove`,onClick:B=>{B.stopPropagation(),f(B,A.key)}},[((E=A.closeIcon)===null||E===void 0?void 0:E.call(A))||((k=x.removeIcon)===null||k===void 0?void 0:k.call(x))||"×"])]})})]}),default:()=>w("button",{type:"button",class:`${v}-nav-more`,style:O,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":c.value,id:`${p}-more`,"aria-expanded":i.value,onKeydown:u},[b])});return w("div",{class:ce(`${v}-nav-operations`,n.class),style:n.style},[R,w(wq,{prefixCls:v,locale:m,editable:x},null)])}}}),Cq=Symbol("tabsContextKey"),aPe=e=>{at(Cq,e)},$q=()=>Je(Cq,{tabs:ue([]),prefixCls:ue()}),lPe=.1,TN=.01,Db=20,IN=Math.pow(.995,Db);function sPe(e,t){const[n,r]=Xt(),[i,o]=Xt(0),[a,l]=Xt(0),[s,u]=Xt(),c=ue();function d(x){const{screenX:$,screenY:C}=x.touches[0];r({x:$,y:C}),clearInterval(c.value)}function f(x){if(!n.value)return;x.preventDefault();const{screenX:$,screenY:C}=x.touches[0],T=$-n.value.x,I=C-n.value.y;t(T,I),r({x:$,y:C});const P=Date.now();l(P-i.value),o(P),u({x:T,y:I})}function h(){if(!n.value)return;const x=s.value;if(r(null),u(null),x){const $=x.x/a.value,C=x.y/a.value,T=Math.abs($),I=Math.abs(C);if(Math.max(T,I){if(Math.abs(P)P?(T=$,v.value="x"):(T=C,v.value="y"),t(-T,-T)&&x.preventDefault()}const g=ue({onTouchStart:d,onTouchMove:f,onTouchEnd:h,onWheel:p});function m(x){g.value.onTouchStart(x)}function y(x){g.value.onTouchMove(x)}function b(x){g.value.onTouchEnd(x)}function S(x){g.value.onWheel(x)}tt(()=>{var x,$;document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",b,{passive:!1}),(x=e.value)===null||x===void 0||x.addEventListener("touchstart",m,{passive:!1}),($=e.value)===null||$===void 0||$.addEventListener("wheel",S,{passive:!1})}),ht(()=>{document.removeEventListener("touchmove",y),document.removeEventListener("touchend",b)})}function PN(e,t){const n=ue(e);function r(i){const o=typeof i=="function"?i(n.value):i;o!==n.value&&t(o,n.value),n.value=o}return[n,r]}const uPe=()=>{const e=ue(new Map),t=n=>r=>{e.value.set(n,r)};return Wx(()=>{e.value=new Map}),[t,e]},xE=uPe,MN={width:0,height:0,left:0,top:0,right:0},cPe=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:He(),editable:He(),moreIcon:U.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:He(),popupClassName:String,getPopupContainer:be(),onTabClick:{type:Function},onTabScroll:{type:Function}}),dPe=(e,t)=>{const{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:o}=e,{width:a,height:l,x:s,y:u}=e.getBoundingClientRect();return Math.abs(a-n)<1?[a,l,s-t.x,u-t.y]:[n,r,o,i]},AN=se({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:cPe(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:r}=t;const{tabs:i,prefixCls:o}=$q(),a=ae(),l=ae(),s=ae(),u=ae(),[c,d]=xE(),f=L(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[h,v]=PN(0,(ie,de)=>{f.value&&e.onTabScroll&&e.onTabScroll({direction:ie>de?"left":"right"})}),[p,g]=PN(0,(ie,de)=>{!f.value&&e.onTabScroll&&e.onTabScroll({direction:ie>de?"top":"bottom"})}),[m,y]=Xt(0),[b,S]=Xt(0),[x,$]=Xt(null),[C,T]=Xt(null),[I,P]=Xt(0),[M,O]=Xt(0),[D,R]=tPe(new Map),A=rPe(i,D),E=L(()=>`${o.value}-nav-operations-hidden`),k=ae(0),N=ae(0);Ye(()=>{f.value?e.rtl?(k.value=0,N.value=Math.max(0,m.value-x.value)):(k.value=Math.min(0,x.value-m.value),N.value=0):(k.value=Math.min(0,C.value-b.value),N.value=0)});const B=ie=>ieN.value?N.value:ie,F=ae(),[H,V]=Xt(),X=()=>{V(Date.now())},Q=()=>{clearTimeout(F.value)},K=(ie,de)=>{ie(pe=>B(pe+de))};sPe(a,(ie,de)=>{if(f.value){if(x.value>=m.value)return!1;K(v,ie)}else{if(C.value>=b.value)return!1;K(g,de)}return Q(),X(),!0}),Se(H,()=>{Q(),H.value&&(F.value=setTimeout(()=>{V(0)},100))});const te=function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const de=A.value.get(ie)||{width:0,height:0,left:0,right:0,top:0};if(f.value){let pe=h.value;e.rtl?de.righth.value+x.value&&(pe=de.right+de.width-x.value):de.left<-h.value?pe=-de.left:de.left+de.width>-h.value+x.value&&(pe=-(de.left+de.width-x.value)),g(0),v(B(pe))}else{let pe=p.value;de.top<-p.value?pe=-de.top:de.top+de.height>-p.value+C.value&&(pe=-(de.top+de.height-C.value)),v(0),g(B(pe))}},q=ae(0),ee=ae(0);Ye(()=>{let ie,de,pe,me,he,xe;const Ce=A.value;["top","bottom"].includes(e.tabPosition)?(ie="width",me=x.value,he=m.value,xe=I.value,de=e.rtl?"right":"left",pe=Math.abs(h.value)):(ie="height",me=C.value,he=m.value,xe=M.value,de="top",pe=-p.value);let ve=me;he+xe>me&&hepe+ve){Me=Be-1;break}}let De=0;for(let Be=ye-1;Be>=0;Be-=1)if((Ce.get(fe[Be].key)||MN)[de]{R(()=>{var ie;const de=new Map,pe=(ie=l.value)===null||ie===void 0?void 0:ie.getBoundingClientRect();return i.value.forEach(me=>{let{key:he}=me;const xe=d.value.get(he),Ce=(xe==null?void 0:xe.$el)||xe;if(Ce){const[ve,fe,ye,Me]=dPe(Ce,pe);de.set(he,{width:ve,height:fe,left:ye,top:Me})}}),de})};Se(()=>i.value.map(ie=>ie.key).join("%%"),()=>{J()},{flush:"post"});const G=()=>{var ie,de,pe,me,he;const xe=((ie=a.value)===null||ie===void 0?void 0:ie.offsetWidth)||0,Ce=((de=a.value)===null||de===void 0?void 0:de.offsetHeight)||0,ve=((pe=u.value)===null||pe===void 0?void 0:pe.$el)||{},fe=ve.offsetWidth||0,ye=ve.offsetHeight||0;$(xe),T(Ce),P(fe),O(ye);const Me=(((me=l.value)===null||me===void 0?void 0:me.offsetWidth)||0)-fe,De=(((he=l.value)===null||he===void 0?void 0:he.offsetHeight)||0)-ye;y(Me),S(De),J()},Y=L(()=>[...i.value.slice(0,q.value),...i.value.slice(ee.value+1)]),[oe,W]=Xt(),Z=L(()=>A.value.get(e.activeKey)),ne=ae(),re=()=>{dt.cancel(ne.value)};Se([Z,f,()=>e.rtl],()=>{const ie={};Z.value&&(f.value?(e.rtl?ie.right=_c(Z.value.right):ie.left=_c(Z.value.left),ie.width=_c(Z.value.width)):(ie.top=_c(Z.value.top),ie.height=_c(Z.value.height))),re(),ne.value=dt(()=>{W(ie)})}),Se([()=>e.activeKey,Z,A,f],()=>{te()},{flush:"post"}),Se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{G()},{flush:"post"});const le=ie=>{let{position:de,prefixCls:pe,extra:me}=ie;if(!me)return null;const he=me==null?void 0:me({position:de});return he?w("div",{class:`${pe}-extra-content`},[he]):null};return ht(()=>{Q(),re()}),()=>{const{id:ie,animated:de,activeKey:pe,rtl:me,editable:he,locale:xe,tabPosition:Ce,tabBarGutter:ve,onTabClick:fe}=e,{class:ye,style:Me}=n,De=o.value,Be=!!Y.value.length,we=`${De}-nav-wrap`;let _e,Ie,Le,Ke;f.value?me?(Ie=h.value>0,_e=h.value+x.value{const{key:At}=gt;return w(nPe,{id:ie,prefixCls:De,key:At,tab:gt,style:Dt===0?void 0:ke,closable:gt.closable,editable:he,active:At===pe,removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:c(At),onClick:kt=>{fe(At,kt)},onFocus:()=>{te(At),X(),a.value&&(me||(a.value.scrollLeft=0),a.value.scrollTop=0)}},r)});return w("div",{role:"tablist",class:ce(`${De}-nav`,ye),style:Me,onKeydown:()=>{X()}},[w(le,{position:"left",prefixCls:De,extra:r.leftExtra},null),w(Mo,{onResize:G},{default:()=>[w("div",{class:ce(we,{[`${we}-ping-left`]:_e,[`${we}-ping-right`]:Ie,[`${we}-ping-top`]:Le,[`${we}-ping-bottom`]:Ke}),ref:a},[w(Mo,{onResize:G},{default:()=>[w("div",{ref:l,class:`${De}-nav-list`,style:{transform:`translate(${h.value}px, ${p.value}px)`,transition:H.value?"none":void 0}},[We,w(wq,{ref:u,prefixCls:De,locale:xe,editable:he,style:_(_({},We.length===0?void 0:ke),{visibility:Be?"hidden":null})},null),w("div",{class:ce(`${De}-ink-bar`,{[`${De}-ink-bar-animated`]:de.inkBar}),style:oe.value},null)])]})])]}),w(oPe,z(z({},e),{},{removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:s,prefixCls:De,tabs:Y.value,class:!Be&&E.value}),ZX(r,["moreIcon"])),w(le,{position:"right",prefixCls:De,extra:r.rightExtra},null),w(le,{position:"right",prefixCls:De,extra:r.tabBarExtraContent},null)])}}}),fPe=se({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=$q();return()=>{const{id:r,activeKey:i,animated:o,tabPosition:a,rtl:l,destroyInactiveTabPane:s}=e,u=o.tabPane,c=n.value,d=t.value.findIndex(f=>f.key===i);return w("div",{class:`${c}-content-holder`},[w("div",{class:[`${c}-content`,`${c}-content-${a}`,{[`${c}-content-animated`]:u}],style:d&&u?{[l?"marginRight":"marginLeft"]:`-${d}00%`}:null},[t.value.map(f=>Nt(f.node,{key:f.key,prefixCls:c,tabKey:f.key,id:r,animated:u,active:f.key===i,destroyInactiveTabPane:s}))])])}}});var hPe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const vPe=hPe;function ON(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Qa(e,"slide-up"),Qa(e,"slide-down")]]},yPe=mPe,bPe=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:i,colorSplit:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},SPe=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:_(_({},st(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":_(_({},Hn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},xPe=e=>{const{componentCls:t,margin:n,colorSplit:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + table`]:{textAlign:"center"},"&-focused":{borderColor:c}}}}),"&-dropdown-range":{padding:`${k*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Ja(e,"slide-up"),Ja(e,"slide-down"),Bh(e,"move-up"),Bh(e,"move-down")]},Sq=e=>{const{componentCls:n,controlHeightLG:r,controlHeightSM:i,colorPrimary:o,paddingXXS:a}=e;return{pickerCellCls:`${n}-cell`,pickerCellInnerCls:`${n}-cell-inner`,pickerTextHeight:r,pickerPanelCellWidth:i*1.5,pickerPanelCellHeight:i,pickerDateHoverRangeBorderColor:new zt(o).lighten(20).toHexString(),pickerBasicCellHoverWithRangeColor:new zt(o).lighten(35).toHexString(),pickerPanelWithoutTimeCellHeight:r*1.65,pickerYearMonthCellWidth:r*1.5,pickerTimePanelColumnHeight:28*8,pickerTimePanelColumnWidth:r*1.4,pickerTimePanelCellHeight:28,pickerQuarterPanelContentHeight:r*1.4,pickerCellPaddingVertical:a,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5}},xq=it("DatePicker",e=>{const t=Ue(zd(e),Sq(e));return[YIe(t),XIe(t),av(e,{focusElCls:`${e.componentCls}-focused`})]},e=>({presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50})),qIe=e=>{const{calendarCls:t,componentCls:n,calendarFullBg:r,calendarFullPanelBg:i,calendarItemActiveBg:o}=e;return{[t]:_(_(_({},bq(e)),st(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${e.paddingSM}px 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:i,border:0,borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${e.paddingXS}px 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${e.weekHeight}px`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${e.weekHeight}px`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:o}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${e.marginXS/2}px`,padding:`${e.paddingXS/2}px ${e.paddingXS}px 0`,border:0,borderTop:`${e.lineWidthBold}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${e.dateValueHeight}px`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${e.screenXS}px) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${e.paddingXS}px)`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},ZIe=it("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Ue(zd(e),Sq(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,calendarFullBg:e.colorBgContainer,calendarFullPanelBg:e.colorBgContainer,calendarItemActiveBg:e.controlItemBgActive,dateValueHeight:e.controlHeightSM,weekHeight:e.controlHeightSM*.75,dateContentHeight:(e.fontSizeSM*e.lineHeightSM+e.marginXS)*3+e.lineWidth*2});return[qIe(n)]},{yearControlWidth:80,monthControlWidth:70,miniContentHeight:256});function QIe(e){function t(o,a){return o&&a&&e.getYear(o)===e.getYear(a)}function n(o,a){return t(o,a)&&e.getMonth(o)===e.getMonth(a)}function r(o,a){return n(o,a)&&e.getDate(o)===e.getDate(a)}const i=se({name:"ACalendar",inheritAttrs:!1,props:{prefixCls:String,locale:{type:Object,default:void 0},validRange:{type:Array,default:void 0},disabledDate:{type:Function,default:void 0},dateFullCellRender:{type:Function,default:void 0},dateCellRender:{type:Function,default:void 0},monthFullCellRender:{type:Function,default:void 0},monthCellRender:{type:Function,default:void 0},headerRender:{type:Function,default:void 0},value:{type:[Object,String],default:void 0},defaultValue:{type:[Object,String],default:void 0},mode:{type:String,default:void 0},fullscreen:{type:Boolean,default:void 0},onChange:{type:Function,default:void 0},"onUpdate:value":{type:Function,default:void 0},onPanelChange:{type:Function,default:void 0},onSelect:{type:Function,default:void 0},valueFormat:{type:String,default:void 0}},slots:Object,setup(o,a){let{emit:l,slots:s,attrs:u}=a;const c=o,{prefixCls:d,direction:f}=Ee("picker",c),[h,v]=ZIe(d),p=L(()=>`${d.value}-calendar`),g=A=>c.valueFormat?e.toString(A,c.valueFormat):A,m=L(()=>c.value?c.valueFormat?e.toDate(c.value,c.valueFormat):c.value:c.value===""?void 0:c.value),y=L(()=>c.defaultValue?c.valueFormat?e.toDate(c.defaultValue,c.valueFormat):c.defaultValue:c.defaultValue===""?void 0:c.defaultValue),[b,S]=dn(()=>m.value||e.getNow(),{defaultValue:y.value,value:m}),[x,$]=dn("month",{value:qe(c,"mode")}),C=L(()=>x.value==="year"?"month":"date"),T=L(()=>A=>{var E;return(c.validRange?e.isAfter(c.validRange[0],A)||e.isAfter(A,c.validRange[1]):!1)||!!(!((E=c.disabledDate)===null||E===void 0)&&E.call(c,A))}),I=(A,E)=>{l("panelChange",g(A),E)},P=A=>{if(S(A),!r(A,b.value)){(C.value==="date"&&!n(A,b.value)||C.value==="month"&&!t(A,b.value))&&I(A,x.value);const E=g(A);l("update:value",E),l("change",E)}},M=A=>{$(A),I(b.value,A)},O=(A,E)=>{P(A),l("select",g(A),{source:E})},D=L(()=>{const{locale:A}=c,E=_(_({},Rg),A);return E.lang=_(_({},E.lang),(A||{}).lang),E}),[R]=Lo("Calendar",D);return()=>{const A=e.getNow(),{dateFullCellRender:E=s==null?void 0:s.dateFullCellRender,dateCellRender:k=s==null?void 0:s.dateCellRender,monthFullCellRender:N=s==null?void 0:s.monthFullCellRender,monthCellRender:B=s==null?void 0:s.monthCellRender,headerRender:F=s==null?void 0:s.headerRender,fullscreen:H=!0,validRange:V}=c,X=K=>{let{current:te}=K;return E?E({current:te}):w("div",{class:ce(`${d.value}-cell-inner`,`${p.value}-date`,{[`${p.value}-date-today`]:r(A,te)})},[w("div",{class:`${p.value}-date-value`},[String(e.getDate(te)).padStart(2,"0")]),w("div",{class:`${p.value}-date-content`},[k&&k({current:te})])])},Q=(K,te)=>{let{current:q}=K;if(N)return N({current:q});const ee=te.shortMonths||e.locale.getShortMonths(te.locale);return w("div",{class:ce(`${d.value}-cell-inner`,`${p.value}-date`,{[`${p.value}-date-today`]:n(A,q)})},[w("div",{class:`${p.value}-date-value`},[ee[e.getMonth(q)]]),w("div",{class:`${p.value}-date-content`},[B&&B({current:q})])])};return h(w("div",z(z({},u),{},{class:ce(p.value,{[`${p.value}-full`]:H,[`${p.value}-mini`]:!H,[`${p.value}-rtl`]:f.value==="rtl"},u.class,v.value)}),[F?F({value:b.value,type:x.value,onChange:K=>{O(K,"customize")},onTypeChange:M}):w(zIe,{prefixCls:p.value,value:b.value,generateConfig:e,mode:x.value,fullscreen:H,locale:R.value.lang,validRange:V,onChange:O,onModeChange:M},null),w(vE,{value:b.value,prefixCls:d.value,locale:R.value.lang,generateConfig:e,dateRender:X,monthCellRender:K=>Q(K,R.value.lang),onSelect:K=>{O(K,C.value)},mode:C.value,picker:C.value,disabledDate:T.value,hideHeader:!0},null)]))}}});return i.install=function(o){return o.component(i.name,i),o},i}const JIe=QIe(YD),ePe=gn(JIe);function tPe(e){const t=ae(),n=ae(!1);function r(){for(var i=arguments.length,o=new Array(i),a=0;a{e(...o)}))}return ht(()=>{n.value=!0,dt.cancel(t.value)}),r}function nPe(e){const t=ae([]),n=ae(typeof e=="function"?e():e),r=tPe(()=>{let o=n.value;t.value.forEach(a=>{o=a(o)}),t.value=[],n.value=o});function i(o){t.value.push(o),r()}return[n,i]}const rPe=se({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:n,attrs:r}=t;const i=ue();function o(s){var u;!((u=e.tab)===null||u===void 0)&&u.disabled||e.onClick(s)}n({domRef:i});function a(s){var u;s.preventDefault(),s.stopPropagation(),e.editable.onEdit("remove",{key:(u=e.tab)===null||u===void 0?void 0:u.key,event:s})}const l=L(()=>{var s;return e.editable&&e.closable!==!1&&!(!((s=e.tab)===null||s===void 0)&&s.disabled)});return()=>{var s;const{prefixCls:u,id:c,active:d,tab:{key:f,tab:h,disabled:v,closeIcon:p},renderWrapper:g,removeAriaLabel:m,editable:y,onFocus:b}=e,S=`${u}-tab`,x=w("div",{key:f,ref:i,class:ce(S,{[`${S}-with-remove`]:l.value,[`${S}-active`]:d,[`${S}-disabled`]:v}),style:r.style,onClick:o},[w("div",{role:"tab","aria-selected":d,id:c&&`${c}-tab-${f}`,class:`${S}-btn`,"aria-controls":c&&`${c}-panel-${f}`,"aria-disabled":v,tabindex:v?null:0,onClick:$=>{$.stopPropagation(),o($)},onKeydown:$=>{[Pe.SPACE,Pe.ENTER].includes($.which)&&($.preventDefault(),o($))},onFocus:b},[typeof h=="function"?h():h]),l.value&&w("button",{type:"button","aria-label":m||"remove",tabindex:0,class:`${S}-remove`,onClick:$=>{$.stopPropagation(),a($)}},[(p==null?void 0:p())||((s=y.removeIcon)===null||s===void 0?void 0:s.call(y))||"×"])]);return g?g(x):x}}}),_N={width:0,height:0,left:0,top:0};function iPe(e,t){const n=ue(new Map);return Ye(()=>{var r,i;const o=new Map,a=e.value,l=t.value.get((r=a[0])===null||r===void 0?void 0:r.key)||_N,s=l.left+l.width;for(let u=0;u{const{prefixCls:o,editable:a,locale:l}=e;return!a||a.showAdd===!1?null:w("button",{ref:i,type:"button",class:`${o}-nav-add`,style:r.style,"aria-label":(l==null?void 0:l.addAriaLabel)||"Add tab",onClick:s=>{a.onEdit("add",{event:s})}},[a.addIcon?a.addIcon():"+"])}}}),oPe={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:U.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:be()},aPe=se({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:oPe,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const[i,o]=Xt(!1),[a,l]=Xt(null),s=h=>{const v=e.tabs.filter(m=>!m.disabled);let p=v.findIndex(m=>m.key===a.value)||0;const g=v.length;for(let m=0;m{const{which:v}=h;if(!i.value){[Pe.DOWN,Pe.SPACE,Pe.ENTER].includes(v)&&(o(!0),h.preventDefault());return}switch(v){case Pe.UP:s(-1),h.preventDefault();break;case Pe.DOWN:s(1),h.preventDefault();break;case Pe.ESC:o(!1);break;case Pe.SPACE:case Pe.ENTER:a.value!==null&&e.onTabClick(a.value,h);break}},c=L(()=>`${e.id}-more-popup`),d=L(()=>a.value!==null?`${c.value}-${a.value}`:null),f=(h,v)=>{h.preventDefault(),h.stopPropagation(),e.editable.onEdit("remove",{key:v,event:h})};return tt(()=>{Se(a,()=>{const h=document.getElementById(d.value);h&&h.scrollIntoView&&h.scrollIntoView(!1)},{flush:"post",immediate:!0})}),Se(i,()=>{i.value||l(null)}),KD({}),()=>{var h;const{prefixCls:v,id:p,tabs:g,locale:m,mobile:y,moreIcon:b=((h=r.moreIcon)===null||h===void 0?void 0:h.call(r))||w(jD,null,null),moreTransitionName:S,editable:x,tabBarGutter:$,rtl:C,onTabClick:T,popupClassName:I}=e;if(!g.length)return null;const P=`${v}-dropdown`,M=m==null?void 0:m.dropdownAriaLabel,O={[C?"marginRight":"marginLeft"]:$};g.length||(O.visibility="hidden",O.order=1);const D=ce({[`${P}-rtl`]:C,[`${I}`]:!0}),R=y?null:w(cY,{prefixCls:P,trigger:["hover"],visible:i.value,transitionName:S,onVisibleChange:o,overlayClassName:D,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>w(Ln,{onClick:A=>{let{key:E,domEvent:k}=A;T(E,k),o(!1)},id:c.value,tabindex:-1,role:"listbox","aria-activedescendant":d.value,selectedKeys:[a.value],"aria-label":M!==void 0?M:"expanded dropdown"},{default:()=>[g.map(A=>{var E,k;const N=x&&A.closable!==!1&&!A.disabled;return w(Xa,{key:A.key,id:`${c.value}-${A.key}`,role:"option","aria-controls":p&&`${p}-panel-${A.key}`,disabled:A.disabled},{default:()=>[w("span",null,[typeof A.tab=="function"?A.tab():A.tab]),N&&w("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${P}-menu-item-remove`,onClick:B=>{B.stopPropagation(),f(B,A.key)}},[((E=A.closeIcon)===null||E===void 0?void 0:E.call(A))||((k=x.removeIcon)===null||k===void 0?void 0:k.call(x))||"×"])]})})]}),default:()=>w("button",{type:"button",class:`${v}-nav-more`,style:O,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":c.value,id:`${p}-more`,"aria-expanded":i.value,onKeydown:u},[b])});return w("div",{class:ce(`${v}-nav-operations`,n.class),style:n.style},[R,w(wq,{prefixCls:v,locale:m,editable:x},null)])}}}),Cq=Symbol("tabsContextKey"),lPe=e=>{at(Cq,e)},$q=()=>Je(Cq,{tabs:ue([]),prefixCls:ue()}),sPe=.1,TN=.01,Db=20,IN=Math.pow(.995,Db);function uPe(e,t){const[n,r]=Xt(),[i,o]=Xt(0),[a,l]=Xt(0),[s,u]=Xt(),c=ue();function d(x){const{screenX:$,screenY:C}=x.touches[0];r({x:$,y:C}),clearInterval(c.value)}function f(x){if(!n.value)return;x.preventDefault();const{screenX:$,screenY:C}=x.touches[0],T=$-n.value.x,I=C-n.value.y;t(T,I),r({x:$,y:C});const P=Date.now();l(P-i.value),o(P),u({x:T,y:I})}function h(){if(!n.value)return;const x=s.value;if(r(null),u(null),x){const $=x.x/a.value,C=x.y/a.value,T=Math.abs($),I=Math.abs(C);if(Math.max(T,I){if(Math.abs(P)P?(T=$,v.value="x"):(T=C,v.value="y"),t(-T,-T)&&x.preventDefault()}const g=ue({onTouchStart:d,onTouchMove:f,onTouchEnd:h,onWheel:p});function m(x){g.value.onTouchStart(x)}function y(x){g.value.onTouchMove(x)}function b(x){g.value.onTouchEnd(x)}function S(x){g.value.onWheel(x)}tt(()=>{var x,$;document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",b,{passive:!1}),(x=e.value)===null||x===void 0||x.addEventListener("touchstart",m,{passive:!1}),($=e.value)===null||$===void 0||$.addEventListener("wheel",S,{passive:!1})}),ht(()=>{document.removeEventListener("touchmove",y),document.removeEventListener("touchend",b)})}function PN(e,t){const n=ue(e);function r(i){const o=typeof i=="function"?i(n.value):i;o!==n.value&&t(o,n.value),n.value=o}return[n,r]}const cPe=()=>{const e=ue(new Map),t=n=>r=>{e.value.set(n,r)};return Wx(()=>{e.value=new Map}),[t,e]},xE=cPe,MN={width:0,height:0,left:0,top:0,right:0},dPe=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:He(),editable:He(),moreIcon:U.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:He(),popupClassName:String,getPopupContainer:be(),onTabClick:{type:Function},onTabScroll:{type:Function}}),fPe=(e,t)=>{const{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:o}=e,{width:a,height:l,x:s,y:u}=e.getBoundingClientRect();return Math.abs(a-n)<1?[a,l,s-t.x,u-t.y]:[n,r,o,i]},AN=se({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:dPe(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:n,slots:r}=t;const{tabs:i,prefixCls:o}=$q(),a=ae(),l=ae(),s=ae(),u=ae(),[c,d]=xE(),f=L(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[h,v]=PN(0,(ie,de)=>{f.value&&e.onTabScroll&&e.onTabScroll({direction:ie>de?"left":"right"})}),[p,g]=PN(0,(ie,de)=>{!f.value&&e.onTabScroll&&e.onTabScroll({direction:ie>de?"top":"bottom"})}),[m,y]=Xt(0),[b,S]=Xt(0),[x,$]=Xt(null),[C,T]=Xt(null),[I,P]=Xt(0),[M,O]=Xt(0),[D,R]=nPe(new Map),A=iPe(i,D),E=L(()=>`${o.value}-nav-operations-hidden`),k=ae(0),N=ae(0);Ye(()=>{f.value?e.rtl?(k.value=0,N.value=Math.max(0,m.value-x.value)):(k.value=Math.min(0,x.value-m.value),N.value=0):(k.value=Math.min(0,C.value-b.value),N.value=0)});const B=ie=>ieN.value?N.value:ie,F=ae(),[H,V]=Xt(),X=()=>{V(Date.now())},Q=()=>{clearTimeout(F.value)},K=(ie,de)=>{ie(pe=>B(pe+de))};uPe(a,(ie,de)=>{if(f.value){if(x.value>=m.value)return!1;K(v,ie)}else{if(C.value>=b.value)return!1;K(g,de)}return Q(),X(),!0}),Se(H,()=>{Q(),H.value&&(F.value=setTimeout(()=>{V(0)},100))});const te=function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const de=A.value.get(ie)||{width:0,height:0,left:0,right:0,top:0};if(f.value){let pe=h.value;e.rtl?de.righth.value+x.value&&(pe=de.right+de.width-x.value):de.left<-h.value?pe=-de.left:de.left+de.width>-h.value+x.value&&(pe=-(de.left+de.width-x.value)),g(0),v(B(pe))}else{let pe=p.value;de.top<-p.value?pe=-de.top:de.top+de.height>-p.value+C.value&&(pe=-(de.top+de.height-C.value)),v(0),g(B(pe))}},q=ae(0),ee=ae(0);Ye(()=>{let ie,de,pe,me,he,xe;const Ce=A.value;["top","bottom"].includes(e.tabPosition)?(ie="width",me=x.value,he=m.value,xe=I.value,de=e.rtl?"right":"left",pe=Math.abs(h.value)):(ie="height",me=C.value,he=m.value,xe=M.value,de="top",pe=-p.value);let ve=me;he+xe>me&&hepe+ve){Me=Be-1;break}}let De=0;for(let Be=ye-1;Be>=0;Be-=1)if((Ce.get(fe[Be].key)||MN)[de]{R(()=>{var ie;const de=new Map,pe=(ie=l.value)===null||ie===void 0?void 0:ie.getBoundingClientRect();return i.value.forEach(me=>{let{key:he}=me;const xe=d.value.get(he),Ce=(xe==null?void 0:xe.$el)||xe;if(Ce){const[ve,fe,ye,Me]=fPe(Ce,pe);de.set(he,{width:ve,height:fe,left:ye,top:Me})}}),de})};Se(()=>i.value.map(ie=>ie.key).join("%%"),()=>{J()},{flush:"post"});const G=()=>{var ie,de,pe,me,he;const xe=((ie=a.value)===null||ie===void 0?void 0:ie.offsetWidth)||0,Ce=((de=a.value)===null||de===void 0?void 0:de.offsetHeight)||0,ve=((pe=u.value)===null||pe===void 0?void 0:pe.$el)||{},fe=ve.offsetWidth||0,ye=ve.offsetHeight||0;$(xe),T(Ce),P(fe),O(ye);const Me=(((me=l.value)===null||me===void 0?void 0:me.offsetWidth)||0)-fe,De=(((he=l.value)===null||he===void 0?void 0:he.offsetHeight)||0)-ye;y(Me),S(De),J()},Y=L(()=>[...i.value.slice(0,q.value),...i.value.slice(ee.value+1)]),[oe,W]=Xt(),Z=L(()=>A.value.get(e.activeKey)),ne=ae(),re=()=>{dt.cancel(ne.value)};Se([Z,f,()=>e.rtl],()=>{const ie={};Z.value&&(f.value?(e.rtl?ie.right=_c(Z.value.right):ie.left=_c(Z.value.left),ie.width=_c(Z.value.width)):(ie.top=_c(Z.value.top),ie.height=_c(Z.value.height))),re(),ne.value=dt(()=>{W(ie)})}),Se([()=>e.activeKey,Z,A,f],()=>{te()},{flush:"post"}),Se([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>i.value],()=>{G()},{flush:"post"});const le=ie=>{let{position:de,prefixCls:pe,extra:me}=ie;if(!me)return null;const he=me==null?void 0:me({position:de});return he?w("div",{class:`${pe}-extra-content`},[he]):null};return ht(()=>{Q(),re()}),()=>{const{id:ie,animated:de,activeKey:pe,rtl:me,editable:he,locale:xe,tabPosition:Ce,tabBarGutter:ve,onTabClick:fe}=e,{class:ye,style:Me}=n,De=o.value,Be=!!Y.value.length,we=`${De}-nav-wrap`;let _e,Ie,Le,Ke;f.value?me?(Ie=h.value>0,_e=h.value+x.value{const{key:At}=gt;return w(rPe,{id:ie,prefixCls:De,key:At,tab:gt,style:Dt===0?void 0:ke,closable:gt.closable,editable:he,active:At===pe,removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:c(At),onClick:kt=>{fe(At,kt)},onFocus:()=>{te(At),X(),a.value&&(me||(a.value.scrollLeft=0),a.value.scrollTop=0)}},r)});return w("div",{role:"tablist",class:ce(`${De}-nav`,ye),style:Me,onKeydown:()=>{X()}},[w(le,{position:"left",prefixCls:De,extra:r.leftExtra},null),w(Ao,{onResize:G},{default:()=>[w("div",{class:ce(we,{[`${we}-ping-left`]:_e,[`${we}-ping-right`]:Ie,[`${we}-ping-top`]:Le,[`${we}-ping-bottom`]:Ke}),ref:a},[w(Ao,{onResize:G},{default:()=>[w("div",{ref:l,class:`${De}-nav-list`,style:{transform:`translate(${h.value}px, ${p.value}px)`,transition:H.value?"none":void 0}},[We,w(wq,{ref:u,prefixCls:De,locale:xe,editable:he,style:_(_({},We.length===0?void 0:ke),{visibility:Be?"hidden":null})},null),w("div",{class:ce(`${De}-ink-bar`,{[`${De}-ink-bar-animated`]:de.inkBar}),style:oe.value},null)])]})])]}),w(aPe,z(z({},e),{},{removeAriaLabel:xe==null?void 0:xe.removeAriaLabel,ref:s,prefixCls:De,tabs:Y.value,class:!Be&&E.value}),ZX(r,["moreIcon"])),w(le,{position:"right",prefixCls:De,extra:r.rightExtra},null),w(le,{position:"right",prefixCls:De,extra:r.tabBarExtraContent},null)])}}}),hPe=se({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:n}=$q();return()=>{const{id:r,activeKey:i,animated:o,tabPosition:a,rtl:l,destroyInactiveTabPane:s}=e,u=o.tabPane,c=n.value,d=t.value.findIndex(f=>f.key===i);return w("div",{class:`${c}-content-holder`},[w("div",{class:[`${c}-content`,`${c}-content-${a}`,{[`${c}-content-animated`]:u}],style:d&&u?{[l?"marginRight":"marginLeft"]:`-${d}00%`}:null},[t.value.map(f=>Nt(f.node,{key:f.key,prefixCls:c,tabKey:f.key,id:r,animated:u,active:f.key===i,destroyInactiveTabPane:s}))])])}}});var vPe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const pPe=vPe;function ON(e){for(var t=1;t{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Ja(e,"slide-up"),Ja(e,"slide-down")]]},bPe=yPe,SPe=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeadBackground:r,tabsCardGutter:i,colorSplit:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},xPe=e=>{const{componentCls:t,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:_(_({},st(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":_(_({},Hn),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},wPe=e=>{const{componentCls:t,margin:n,colorSplit:r}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${n}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},wPe=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},CPe=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:i,tabsHorizontalGutter:o}=e,a=`${t}-tab`;return{[a]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":_({"&:focus:not(:focus-visible), &:active":{color:n}},Gl(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${a}-active ${a}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${a}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${a}-disabled ${a}-btn, &${a}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${a}-remove ${i}`]:{margin:0},[i]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${a} + ${a}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${o}px`}}}},$Pe=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${i}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},_Pe=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:i,tabsHoverColor:o,tabsActiveColor:a,colorSplit:l}=e;return{[t]:_(_(_(_({},st(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:_({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${i}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:a}},Gl(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),CPe(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},TPe=it("Tabs",e=>{const t=e.controlHeightLG,n=Ue(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[wPe(n),$Pe(n),xPe(n),SPe(n),bPe(n),_Pe(n),yPe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let DN=0;const _q=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:be(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:je(),animated:Xe([Boolean,Object]),renderTabBar:be(),tabBarGutter:{type:Number},tabBarStyle:He(),tabPosition:je(),destroyInactiveTabPane:$e(),hideAdd:Boolean,type:je(),size:je(),centered:Boolean,onEdit:be(),onChange:be(),onTabClick:be(),onTabScroll:be(),"onUpdate:activeKey":be(),locale:He(),onPrevClick:be(),onNextClick:be(),tabBarExtraContent:U.any});function IPe(e){return e.map(t=>{if(zn(t)){const n=_({},t.props||{});for(const[f,h]of Object.entries(n))delete n[f],n[Pd(f)]=h;const r=t.children||{},i=t.key!==void 0?t.key:void 0,{tab:o=r.tab,disabled:a,forceRender:l,closable:s,animated:u,active:c,destroyInactiveTabPane:d}=n;return _(_({key:i},n),{node:t,closeIcon:r.closeIcon,tab:o,disabled:a===""||a,forceRender:l===""||l,closable:s===""||s,animated:u===""||u,active:c===""||c,destroyInactiveTabPane:d===""||d})}return null}).filter(t=>t)}const PPe=se({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:_(_({},ft(_q(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:Ot()}),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;on(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),on(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),on(r.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:i,direction:o,size:a,rootPrefixCls:l,getPopupContainer:s}=Ee("tabs",e),[u,c]=TPe(i),d=L(()=>o.value==="rtl"),f=L(()=>{const{animated:C,tabPosition:T}=e;return C===!1||["left","right"].includes(T)?{inkBar:!1,tabPane:!1}:C===!0?{inkBar:!0,tabPane:!0}:_({inkBar:!0,tabPane:!1},typeof C=="object"?C:{})}),[h,v]=Xt(!1);tt(()=>{v(XO())});const[p,g]=dn(()=>{var C;return(C=e.tabs[0])===null||C===void 0?void 0:C.key},{value:L(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[m,y]=Xt(()=>e.tabs.findIndex(C=>C.key===p.value));Ye(()=>{var C;let T=e.tabs.findIndex(I=>I.key===p.value);T===-1&&(T=Math.max(0,Math.min(m.value,e.tabs.length-1)),g((C=e.tabs[T])===null||C===void 0?void 0:C.key)),y(T)});const[b,S]=dn(null,{value:L(()=>e.id)}),x=L(()=>h.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);tt(()=>{e.id||(S(`rc-tabs-${DN}`),DN+=1)});const $=(C,T)=>{var I,P;(I=e.onTabClick)===null||I===void 0||I.call(e,C,T);const M=C!==p.value;g(C),M&&((P=e.onChange)===null||P===void 0||P.call(e,C))};return aPe({tabs:L(()=>e.tabs),prefixCls:i}),()=>{const{id:C,type:T,tabBarGutter:I,tabBarStyle:P,locale:M,destroyInactiveTabPane:O,renderTabBar:D=r.renderTabBar,onTabScroll:R,hideAdd:A,centered:E}=e,k={id:b.value,activeKey:p.value,animated:f.value,tabPosition:x.value,rtl:d.value,mobile:h.value};let N;T==="editable-card"&&(N={onEdit:(V,X)=>{let{key:Q,event:K}=X;var te;(te=e.onEdit)===null||te===void 0||te.call(e,V==="add"?K:Q,V)},removeIcon:()=>w(Ei,null,null),addIcon:r.addIcon?r.addIcon:()=>w(gPe,null,null),showAdd:A!==!0});let B;const F=_(_({},k),{moreTransitionName:`${l.value}-slide-up`,editable:N,locale:M,tabBarGutter:I,onTabClick:$,onTabScroll:R,style:P,getPopupContainer:s.value,popupClassName:ce(e.popupClassName,c.value)});D?B=D(_(_({},F),{DefaultTabBar:AN})):B=w(AN,F,ZX(r,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const H=i.value;return u(w("div",z(z({},n),{},{id:C,class:ce(H,`${H}-${x.value}`,{[c.value]:!0,[`${H}-${a.value}`]:a.value,[`${H}-card`]:["card","editable-card"].includes(T),[`${H}-editable-card`]:T==="editable-card",[`${H}-centered`]:E,[`${H}-mobile`]:h.value,[`${H}-editable`]:T==="editable-card",[`${H}-rtl`]:d.value},n.class)}),[B,w(fPe,z(z({destroyInactiveTabPane:O},k),{},{animated:f.value}),null)]))}}}),Qc=se({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:ft(_q(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=a=>{i("update:activeKey",a),i("change",a)};return()=>{var a;const l=IPe(Jt((a=r.default)===null||a===void 0?void 0:a.call(r)));return w(PPe,z(z(z({},yt(e,["onUpdate:activeKey"])),n),{},{onChange:o,tabs:l}),r)}}}),MPe=()=>({tab:U.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),SS=se({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:MPe(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const i=ue(e.forceRender);Se([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?i.value=!0:e.destroyInactiveTabPane&&(i.value=!1)},{immediate:!0});const o=L(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var a;const{prefixCls:l,forceRender:s,id:u,active:c,tabKey:d}=e;return w("div",{id:u&&`${u}-panel-${d}`,role:"tabpanel",tabindex:c?0:-1,"aria-labelledby":u&&`${u}-tab-${d}`,"aria-hidden":!c,style:[o.value,n.style],class:[`${l}-tabpane`,c&&`${l}-tabpane-active`,n.class]},[(c||i.value||s)&&((a=r.default)===null||a===void 0?void 0:a.call(r))])}}});Qc.TabPane=SS;Qc.install=function(e){return e.component(Qc.name,Qc),e.component(SS.name,SS),e};const APe=e=>{const{antCls:t,componentCls:n,cardHeadHeight:r,cardPaddingBase:i,cardHeadTabsMarginBottom:o}=e;return _(_({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},aa()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":_(_({display:"inline-block",flex:1},Hn),{[` + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},CPe=e=>{const{componentCls:t,padding:n}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${n}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${n}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${n}px ${e.paddingXXS*1.5}px`}}}}}},$Pe=e=>{const{componentCls:t,tabsActiveColor:n,tabsHoverColor:r,iconCls:i,tabsHorizontalGutter:o}=e,a=`${t}-tab`;return{[a]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":_({"&:focus:not(:focus-visible), &:active":{color:n}},Kl(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${a}-active ${a}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${a}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${a}-disabled ${a}-btn, &${a}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${a}-remove ${i}`]:{margin:0},[i]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${a} + ${a}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${o}px`}}}},_Pe=e=>{const{componentCls:t,tabsHorizontalGutter:n,iconCls:r,tabsCardGutter:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${n}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${i}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},TPe=e=>{const{componentCls:t,tabsCardHorizontalPadding:n,tabsCardHeight:r,tabsCardGutter:i,tabsHoverColor:o,tabsActiveColor:a,colorSplit:l}=e;return{[t]:_(_(_(_({},st(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:_({minWidth:`${r}px`,marginLeft:{_skip_check_:!0,value:`${i}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${l}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:a}},Kl(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),$Pe(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%","&-animated":{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},IPe=it("Tabs",e=>{const t=e.controlHeightLG,n=Ue(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[CPe(n),_Pe(n),wPe(n),xPe(n),SPe(n),TPe(n),bPe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let DN=0;const _q=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:be(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:je(),animated:Xe([Boolean,Object]),renderTabBar:be(),tabBarGutter:{type:Number},tabBarStyle:He(),tabPosition:je(),destroyInactiveTabPane:$e(),hideAdd:Boolean,type:je(),size:je(),centered:Boolean,onEdit:be(),onChange:be(),onTabClick:be(),onTabScroll:be(),"onUpdate:activeKey":be(),locale:He(),onPrevClick:be(),onNextClick:be(),tabBarExtraContent:U.any});function PPe(e){return e.map(t=>{if(zn(t)){const n=_({},t.props||{});for(const[f,h]of Object.entries(n))delete n[f],n[Md(f)]=h;const r=t.children||{},i=t.key!==void 0?t.key:void 0,{tab:o=r.tab,disabled:a,forceRender:l,closable:s,animated:u,active:c,destroyInactiveTabPane:d}=n;return _(_({key:i},n),{node:t,closeIcon:r.closeIcon,tab:o,disabled:a===""||a,forceRender:l===""||l,closable:s===""||s,animated:u===""||u,active:c===""||c,destroyInactiveTabPane:d===""||d})}return null}).filter(t=>t)}const MPe=se({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:_(_({},ft(_q(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:Ot()}),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;on(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),on(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),on(r.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:i,direction:o,size:a,rootPrefixCls:l,getPopupContainer:s}=Ee("tabs",e),[u,c]=IPe(i),d=L(()=>o.value==="rtl"),f=L(()=>{const{animated:C,tabPosition:T}=e;return C===!1||["left","right"].includes(T)?{inkBar:!1,tabPane:!1}:C===!0?{inkBar:!0,tabPane:!0}:_({inkBar:!0,tabPane:!1},typeof C=="object"?C:{})}),[h,v]=Xt(!1);tt(()=>{v(XO())});const[p,g]=dn(()=>{var C;return(C=e.tabs[0])===null||C===void 0?void 0:C.key},{value:L(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[m,y]=Xt(()=>e.tabs.findIndex(C=>C.key===p.value));Ye(()=>{var C;let T=e.tabs.findIndex(I=>I.key===p.value);T===-1&&(T=Math.max(0,Math.min(m.value,e.tabs.length-1)),g((C=e.tabs[T])===null||C===void 0?void 0:C.key)),y(T)});const[b,S]=dn(null,{value:L(()=>e.id)}),x=L(()=>h.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);tt(()=>{e.id||(S(`rc-tabs-${DN}`),DN+=1)});const $=(C,T)=>{var I,P;(I=e.onTabClick)===null||I===void 0||I.call(e,C,T);const M=C!==p.value;g(C),M&&((P=e.onChange)===null||P===void 0||P.call(e,C))};return lPe({tabs:L(()=>e.tabs),prefixCls:i}),()=>{const{id:C,type:T,tabBarGutter:I,tabBarStyle:P,locale:M,destroyInactiveTabPane:O,renderTabBar:D=r.renderTabBar,onTabScroll:R,hideAdd:A,centered:E}=e,k={id:b.value,activeKey:p.value,animated:f.value,tabPosition:x.value,rtl:d.value,mobile:h.value};let N;T==="editable-card"&&(N={onEdit:(V,X)=>{let{key:Q,event:K}=X;var te;(te=e.onEdit)===null||te===void 0||te.call(e,V==="add"?K:Q,V)},removeIcon:()=>w(Ri,null,null),addIcon:r.addIcon?r.addIcon:()=>w(mPe,null,null),showAdd:A!==!0});let B;const F=_(_({},k),{moreTransitionName:`${l.value}-slide-up`,editable:N,locale:M,tabBarGutter:I,onTabClick:$,onTabScroll:R,style:P,getPopupContainer:s.value,popupClassName:ce(e.popupClassName,c.value)});D?B=D(_(_({},F),{DefaultTabBar:AN})):B=w(AN,F,ZX(r,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const H=i.value;return u(w("div",z(z({},n),{},{id:C,class:ce(H,`${H}-${x.value}`,{[c.value]:!0,[`${H}-${a.value}`]:a.value,[`${H}-card`]:["card","editable-card"].includes(T),[`${H}-editable-card`]:T==="editable-card",[`${H}-centered`]:E,[`${H}-mobile`]:h.value,[`${H}-editable`]:T==="editable-card",[`${H}-rtl`]:d.value},n.class)}),[B,w(hPe,z(z({destroyInactiveTabPane:O},k),{},{animated:f.value}),null)]))}}}),Qc=se({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:ft(_q(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=a=>{i("update:activeKey",a),i("change",a)};return()=>{var a;const l=PPe(Jt((a=r.default)===null||a===void 0?void 0:a.call(r)));return w(MPe,z(z(z({},yt(e,["onUpdate:activeKey"])),n),{},{onChange:o,tabs:l}),r)}}}),APe=()=>({tab:U.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),SS=se({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:APe(),slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const i=ue(e.forceRender);Se([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?i.value=!0:e.destroyInactiveTabPane&&(i.value=!1)},{immediate:!0});const o=L(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var a;const{prefixCls:l,forceRender:s,id:u,active:c,tabKey:d}=e;return w("div",{id:u&&`${u}-panel-${d}`,role:"tabpanel",tabindex:c?0:-1,"aria-labelledby":u&&`${u}-tab-${d}`,"aria-hidden":!c,style:[o.value,n.style],class:[`${l}-tabpane`,c&&`${l}-tabpane-active`,n.class]},[(c||i.value||s)&&((a=r.default)===null||a===void 0?void 0:a.call(r))])}}});Qc.TabPane=SS;Qc.install=function(e){return e.component(Qc.name,Qc),e.component(SS.name,SS),e};const OPe=e=>{const{antCls:t,componentCls:n,cardHeadHeight:r,cardPaddingBase:i,cardHeadTabsMarginBottom:o}=e;return _(_({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${i}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},la()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":_(_({display:"inline-block",flex:1},Hn),{[` > ${n}-typography, > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},OPe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},DPe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` ${i}px 0 0 0 ${n}, 0 ${i}px 0 0 ${n}, ${i}px ${i}px 0 0 ${n}, ${i}px 0 0 0 ${n} inset, 0 ${i}px 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},DPe=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:o}=e;return _(_({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},aa()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:`${i*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${o}`}}})},EPe=e=>_(_({margin:`-${e.marginXXS}px 0`,display:"flex"},aa()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":_({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Hn),"&-description":{color:e.colorTextDescription}}),RPe=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},LPe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},NPe=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadow:o,cardPaddingBase:a}=e;return{[t]:_(_({},st(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:APe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:_({padding:a,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},aa()),[`${t}-grid`]:OPe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:DPe(e),[`${t}-meta`]:EPe(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:RPe(e),[`${t}-loading`]:LPe(e),[`${t}-rtl`]:{direction:"rtl"}}},kPe=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:r}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}},BPe=it("Card",e=>{const t=Ue(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[NPe(t),kPe(t)]}),FPe=()=>({prefixCls:String,width:{type:[Number,String]}}),zPe=se({compatConfig:{MODE:3},name:"SkeletonTitle",props:FPe(),setup(e){return()=>{const{prefixCls:t,width:n}=e,r=typeof n=="number"?`${n}px`:n;return w("h3",{class:t,style:{width:r}},null)}}}),Nw=zPe,HPe=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),VPe=se({compatConfig:{MODE:3},name:"SkeletonParagraph",props:HPe(),setup(e){const t=n=>{const{width:r,rows:i=2}=e;if(Array.isArray(r))return r[n];if(i-1===n)return r};return()=>{const{prefixCls:n,rows:r}=e,i=[...Array(r)].map((o,a)=>{const l=t(a);return w("li",{key:a,style:{width:typeof l=="number"?`${l}px`:l}},null)});return w("ul",{class:n},[i])}}}),WPe=VPe,kw=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),Tq=e=>{const{prefixCls:t,size:n,shape:r}=e,i=ce({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),o=ce({[`${t}-circle`]:r==="circle",[`${t}-square`]:r==="square",[`${t}-round`]:r==="round"}),a=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return w("span",{class:ce(t,i,o),style:a},null)};Tq.displayName="SkeletonElement";const Bw=Tq,jPe=new xt("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),Fw=e=>({height:e,lineHeight:`${e}px`}),ch=e=>_({width:e},Fw(e)),GPe=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:jPe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),Z$=e=>_({width:e*5,minWidth:e*5},Fw(e)),KPe=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[`${t}`]:_({display:"inline-block",verticalAlign:"top",background:n},ch(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:_({},ch(i)),[`${t}${t}-sm`]:_({},ch(o))}},UPe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,color:a}=e;return{[`${r}`]:_({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},Z$(t)),[`${r}-lg`]:_({},Z$(i)),[`${r}-sm`]:_({},Z$(o))}},EN=e=>_({width:e},Fw(e)),XPe=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:r,borderRadiusSM:i}=e;return{[`${t}`]:_(_({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:i},EN(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:_(_({},EN(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Q$=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},J$=e=>_({width:e*2,minWidth:e*2},Fw(e)),YPe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,color:a}=e;return _(_(_(_(_({[`${n}`]:_({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:r*2,minWidth:r*2},J$(r))},Q$(e,r,n)),{[`${n}-lg`]:_({},J$(i))}),Q$(e,i,`${n}-lg`)),{[`${n}-sm`]:_({},J$(o))}),Q$(e,o,`${n}-sm`))},qPe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:c,color:d,padding:f,marginSM:h,borderRadius:v,skeletonTitleHeight:p,skeletonBlockRadius:g,skeletonParagraphLineHeight:m,controlHeightXS:y,skeletonParagraphMarginTop:b}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:_({display:"inline-block",verticalAlign:"top",background:d},ch(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:_({},ch(u)),[`${n}-sm`]:_({},ch(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:p,background:d,borderRadius:g,[`+ ${i}`]:{marginBlockStart:c}},[`${i}`]:{padding:0,"> li":{width:"100%",height:m,listStyle:"none",background:d,borderRadius:g,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:h,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:_(_(_(_({display:"inline-block",width:"auto"},YPe(e)),KPe(e)),UPe(e)),XPe(e)),[`${t}${t}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},EPe=e=>{const{componentCls:t,iconCls:n,cardActionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:o}=e;return _(_({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},la()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:`${i*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${o}`}}})},RPe=e=>_(_({margin:`-${e.marginXXS}px 0`,display:"flex"},la()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":_({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Hn),"&-description":{color:e.colorTextDescription}}),LPe=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},NPe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},kPe=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadow:o,cardPaddingBase:a}=e;return{[t]:_(_({},st(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:OPe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:_({padding:a,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},la()),[`${t}-grid`]:DPe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:EPe(e),[`${t}-meta`]:RPe(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:LPe(e),[`${t}-loading`]:NPe(e),[`${t}-rtl`]:{direction:"rtl"}}},BPe=e=>{const{componentCls:t,cardPaddingSM:n,cardHeadHeightSM:r}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}},FPe=it("Card",e=>{const t=Ue(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[kPe(t),BPe(t)]}),zPe=()=>({prefixCls:String,width:{type:[Number,String]}}),HPe=se({compatConfig:{MODE:3},name:"SkeletonTitle",props:zPe(),setup(e){return()=>{const{prefixCls:t,width:n}=e,r=typeof n=="number"?`${n}px`:n;return w("h3",{class:t,style:{width:r}},null)}}}),Nw=HPe,VPe=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),WPe=se({compatConfig:{MODE:3},name:"SkeletonParagraph",props:VPe(),setup(e){const t=n=>{const{width:r,rows:i=2}=e;if(Array.isArray(r))return r[n];if(i-1===n)return r};return()=>{const{prefixCls:n,rows:r}=e,i=[...Array(r)].map((o,a)=>{const l=t(a);return w("li",{key:a,style:{width:typeof l=="number"?`${l}px`:l}},null)});return w("ul",{class:n},[i])}}}),jPe=WPe,kw=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),Tq=e=>{const{prefixCls:t,size:n,shape:r}=e,i=ce({[`${t}-lg`]:n==="large",[`${t}-sm`]:n==="small"}),o=ce({[`${t}-circle`]:r==="circle",[`${t}-square`]:r==="square",[`${t}-round`]:r==="round"}),a=typeof n=="number"?{width:`${n}px`,height:`${n}px`,lineHeight:`${n}px`}:{};return w("span",{class:ce(t,i,o),style:a},null)};Tq.displayName="SkeletonElement";const Bw=Tq,GPe=new xt("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),Fw=e=>({height:e,lineHeight:`${e}px`}),dh=e=>_({width:e},Fw(e)),KPe=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:GPe,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),Z$=e=>_({width:e*5,minWidth:e*5},Fw(e)),UPe=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[`${t}`]:_({display:"inline-block",verticalAlign:"top",background:n},dh(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:_({},dh(i)),[`${t}${t}-sm`]:_({},dh(o))}},XPe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,color:a}=e;return{[`${r}`]:_({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},Z$(t)),[`${r}-lg`]:_({},Z$(i)),[`${r}-sm`]:_({},Z$(o))}},EN=e=>_({width:e},Fw(e)),YPe=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:r,borderRadiusSM:i}=e;return{[`${t}`]:_(_({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:i},EN(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:_(_({},EN(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Q$=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},J$=e=>_({width:e*2,minWidth:e*2},Fw(e)),qPe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,color:a}=e;return _(_(_(_(_({[`${n}`]:_({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:r*2,minWidth:r*2},J$(r))},Q$(e,r,n)),{[`${n}-lg`]:_({},J$(i))}),Q$(e,i,`${n}-lg`)),{[`${n}-sm`]:_({},J$(o))}),Q$(e,o,`${n}-sm`))},ZPe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:c,color:d,padding:f,marginSM:h,borderRadius:v,skeletonTitleHeight:p,skeletonBlockRadius:g,skeletonParagraphLineHeight:m,controlHeightXS:y,skeletonParagraphMarginTop:b}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:_({display:"inline-block",verticalAlign:"top",background:d},dh(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:_({},dh(u)),[`${n}-sm`]:_({},dh(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:p,background:d,borderRadius:g,[`+ ${i}`]:{marginBlockStart:c}},[`${i}`]:{padding:0,"> li":{width:"100%",height:m,listStyle:"none",background:d,borderRadius:g,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:h,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:_(_(_(_({display:"inline-block",width:"auto"},qPe(e)),UPe(e)),XPe(e)),YPe(e)),[`${t}${t}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` ${r}, ${i} > li, ${n}, ${o}, ${a}, ${l} - `]:_({},GPe(e))}}},Ym=it("Skeleton",e=>{const{componentCls:t}=e,n=Ue(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[qPe(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),ZPe=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function e_(e){return e&&typeof e=="object"?e:{}}function QPe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function JPe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function eMe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const tMe=se({compatConfig:{MODE:3},name:"ASkeleton",props:ft(ZPe(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:i}=Ee("skeleton",e),[o,a]=Ym(r);return()=>{var l;const{loading:s,avatar:u,title:c,paragraph:d,active:f,round:h}=e,v=r.value;if(s||e.loading===void 0){const p=!!u||u==="",g=!!c||c==="",m=!!d||d==="";let y;if(p){const x=_(_({prefixCls:`${v}-avatar`},QPe(g,m)),e_(u));y=w("div",{class:`${v}-header`},[w(Bw,x,null)])}let b;if(g||m){let x;if(g){const C=_(_({prefixCls:`${v}-title`},JPe(p,m)),e_(c));x=w(Nw,C,null)}let $;if(m){const C=_(_({prefixCls:`${v}-paragraph`},eMe(p,g)),e_(d));$=w(WPe,C,null)}b=w("div",{class:`${v}-content`},[x,$])}const S=ce(v,{[`${v}-with-avatar`]:p,[`${v}-active`]:f,[`${v}-rtl`]:i.value==="rtl",[`${v}-round`]:h,[a.value]:!0});return o(w("div",{class:S},[y,b]))}return(l=n.default)===null||l===void 0?void 0:l.call(n)}}}),zr=tMe,nMe=()=>_(_({},kw()),{size:String,block:Boolean}),rMe=se({compatConfig:{MODE:3},name:"ASkeletonButton",props:ft(nMe(),{size:"default"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),CE=rMe,iMe=se({compatConfig:{MODE:3},name:"ASkeletonInput",props:_(_({},yt(kw(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),$E=iMe,oMe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",aMe=se({compatConfig:{MODE:3},name:"ASkeletonImage",props:yt(kw(),["size","shape","active"]),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,r.value));return()=>n(w("div",{class:i.value},[w("div",{class:`${t.value}-image`},[w("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[w("path",{d:oMe,class:`${t.value}-image-path`},null)])])]))}}),_E=aMe,lMe=()=>_(_({},kw()),{shape:String}),sMe=se({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:ft(lMe(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),TE=sMe;zr.Button=CE;zr.Avatar=TE;zr.Input=$E;zr.Image=_E;zr.Title=Nw;zr.install=function(e){return e.component(zr.name,zr),e.component(zr.Button.name,CE),e.component(zr.Avatar.name,TE),e.component(zr.Input.name,$E),e.component(zr.Image.name,_E),e.component(zr.Title.name,Nw),e};const{TabPane:uMe}=Qc,cMe=()=>({prefixCls:String,title:U.any,extra:U.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:U.any,tabList:{type:Array},tabBarExtraContent:U.any,activeTabKey:String,defaultActiveTabKey:String,cover:U.any,onTabChange:{type:Function}}),dMe=se({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:cMe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o,size:a}=Ee("card",e),[l,s]=BPe(i),u=f=>f.map((v,p)=>Nn(v)&&!Nm(v)||!Nn(v)?w("li",{style:{width:`${100/f.length}%`},key:`action-${p}`},[w("span",null,[v])]):null),c=f=>{var h;(h=e.onTabChange)===null||h===void 0||h.call(e,f)},d=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h;return f.forEach(v=>{v&&yD(v.type)&&v.type.__ANT_CARD_GRID&&(h=!0)}),h};return()=>{var f,h,v,p,g,m;const{headStyle:y={},bodyStyle:b={},loading:S,bordered:x=!0,type:$,tabList:C,hoverable:T,activeTabKey:I,defaultActiveTabKey:P,tabBarExtraContent:M=Ev((f=n.tabBarExtraContent)===null||f===void 0?void 0:f.call(n)),title:O=Ev((h=n.title)===null||h===void 0?void 0:h.call(n)),extra:D=Ev((v=n.extra)===null||v===void 0?void 0:v.call(n)),actions:R=Ev((p=n.actions)===null||p===void 0?void 0:p.call(n)),cover:A=Ev((g=n.cover)===null||g===void 0?void 0:g.call(n))}=e,E=Jt((m=n.default)===null||m===void 0?void 0:m.call(n)),k=i.value,N={[`${k}`]:!0,[s.value]:!0,[`${k}-loading`]:S,[`${k}-bordered`]:x,[`${k}-hoverable`]:!!T,[`${k}-contain-grid`]:d(E),[`${k}-contain-tabs`]:C&&C.length,[`${k}-${a.value}`]:a.value,[`${k}-type-${$}`]:!!$,[`${k}-rtl`]:o.value==="rtl"},B=w(zr,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[E]}),F=I!==void 0,H={size:"large",[F?"activeKey":"defaultActiveKey"]:F?I:P,onChange:c,class:`${k}-head-tabs`};let V;const X=C&&C.length?w(Qc,H,{default:()=>[C.map(q=>{const{tab:ee,slots:J}=q,G=J==null?void 0:J.tab;on(!J,"Card","tabList slots is deprecated, Please use `customTab` instead.");let Y=ee!==void 0?ee:n[G]?n[G](q):null;return Y=aw(n,"customTab",q,()=>[Y]),w(uMe,{tab:Y,key:q.key,disabled:q.disabled},null)})],rightExtra:M?()=>M:null}):null;(O||D||X)&&(V=w("div",{class:`${k}-head`,style:y},[w("div",{class:`${k}-head-wrapper`},[O&&w("div",{class:`${k}-head-title`},[O]),D&&w("div",{class:`${k}-extra`},[D])]),X]));const Q=A?w("div",{class:`${k}-cover`},[A]):null,K=w("div",{class:`${k}-body`,style:b},[S?B:E]),te=R&&R.length?w("ul",{class:`${k}-actions`},[u(R)]):null;return l(w("div",z(z({ref:"cardContainerRef"},r),{},{class:[N,r.class]}),[V,Q,E&&E.length?K:null,te]))}}}),dh=dMe,fMe=()=>({prefixCls:String,title:Wr(),description:Wr(),avatar:Wr()}),xS=se({compatConfig:{MODE:3},name:"ACardMeta",props:fMe(),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("card",e);return()=>{const i={[`${r.value}-meta`]:!0},o=Un(n,e,"avatar"),a=Un(n,e,"title"),l=Un(n,e,"description"),s=o?w("div",{class:`${r.value}-meta-avatar`},[o]):null,u=a?w("div",{class:`${r.value}-meta-title`},[a]):null,c=l?w("div",{class:`${r.value}-meta-description`},[l]):null,d=u||c?w("div",{class:`${r.value}-meta-detail`},[u,c]):null;return w("div",{class:i},[s,d])}}}),hMe=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),wS=se({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:hMe(),setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("card",e),i=L(()=>({[`${r.value}-grid`]:!0,[`${r.value}-grid-hoverable`]:e.hoverable}));return()=>{var o;return w("div",{class:i.value},[(o=n.default)===null||o===void 0?void 0:o.call(n)])}}});dh.Meta=xS;dh.Grid=wS;dh.install=function(e){return e.component(dh.name,dh),e.component(xS.name,xS),e.component(wS.name,wS),e};const vMe=()=>({prefixCls:String,activeKey:Xe([Array,Number,String]),defaultActiveKey:Xe([Array,Number,String]),accordion:$e(),destroyInactivePanel:$e(),bordered:$e(),expandIcon:be(),openAnimation:U.object,expandIconPosition:je(),collapsible:je(),ghost:$e(),onChange:be(),"onUpdate:activeKey":be()}),Iq=()=>({openAnimation:U.object,prefixCls:String,header:U.any,headerClass:String,showArrow:$e(),isActive:$e(),destroyInactivePanel:$e(),disabled:$e(),accordion:$e(),forceRender:$e(),expandIcon:be(),extra:U.any,panelKey:Xe(),collapsible:je(),role:String,onItemClick:be()}),pMe=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:i,collapseHeaderBg:o,collapseHeaderPadding:a,collapsePanelBorderRadius:l,lineWidth:s,lineType:u,colorBorder:c,colorText:d,colorTextHeading:f,colorTextDisabled:h,fontSize:v,lineHeight:p,marginSM:g,paddingSM:m,motionDurationSlow:y,fontSizeIcon:b}=e,S=`${s}px ${u} ${c}`;return{[t]:_(_({},st(e)),{backgroundColor:o,border:S,borderBottom:0,borderRadius:`${l}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:S,"&:last-child":{[` + `]:_({},KPe(e))}}},Ym=it("Skeleton",e=>{const{componentCls:t}=e,n=Ue(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ZPe(n)]},e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n}}),QPe=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function e_(e){return e&&typeof e=="object"?e:{}}function JPe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function eMe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function tMe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const nMe=se({compatConfig:{MODE:3},name:"ASkeleton",props:ft(QPe(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:i}=Ee("skeleton",e),[o,a]=Ym(r);return()=>{var l;const{loading:s,avatar:u,title:c,paragraph:d,active:f,round:h}=e,v=r.value;if(s||e.loading===void 0){const p=!!u||u==="",g=!!c||c==="",m=!!d||d==="";let y;if(p){const x=_(_({prefixCls:`${v}-avatar`},JPe(g,m)),e_(u));y=w("div",{class:`${v}-header`},[w(Bw,x,null)])}let b;if(g||m){let x;if(g){const C=_(_({prefixCls:`${v}-title`},eMe(p,m)),e_(c));x=w(Nw,C,null)}let $;if(m){const C=_(_({prefixCls:`${v}-paragraph`},tMe(p,g)),e_(d));$=w(jPe,C,null)}b=w("div",{class:`${v}-content`},[x,$])}const S=ce(v,{[`${v}-with-avatar`]:p,[`${v}-active`]:f,[`${v}-rtl`]:i.value==="rtl",[`${v}-round`]:h,[a.value]:!0});return o(w("div",{class:S},[y,b]))}return(l=n.default)===null||l===void 0?void 0:l.call(n)}}}),zr=nMe,rMe=()=>_(_({},kw()),{size:String,block:Boolean}),iMe=se({compatConfig:{MODE:3},name:"ASkeletonButton",props:ft(rMe(),{size:"default"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),CE=iMe,oMe=se({compatConfig:{MODE:3},name:"ASkeletonInput",props:_(_({},yt(kw(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),$E=oMe,aMe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",lMe=se({compatConfig:{MODE:3},name:"ASkeletonImage",props:yt(kw(),["size","shape","active"]),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,r.value));return()=>n(w("div",{class:i.value},[w("div",{class:`${t.value}-image`},[w("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[w("path",{d:aMe,class:`${t.value}-image-path`},null)])])]))}}),_E=lMe,sMe=()=>_(_({},kw()),{shape:String}),uMe=se({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:ft(sMe(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=Ee("skeleton",e),[n,r]=Ym(t),i=L(()=>ce(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},r.value));return()=>n(w("div",{class:i.value},[w(Bw,z(z({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),TE=uMe;zr.Button=CE;zr.Avatar=TE;zr.Input=$E;zr.Image=_E;zr.Title=Nw;zr.install=function(e){return e.component(zr.name,zr),e.component(zr.Button.name,CE),e.component(zr.Avatar.name,TE),e.component(zr.Input.name,$E),e.component(zr.Image.name,_E),e.component(zr.Title.name,Nw),e};const{TabPane:cMe}=Qc,dMe=()=>({prefixCls:String,title:U.any,extra:U.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:U.any,tabList:{type:Array},tabBarExtraContent:U.any,activeTabKey:String,defaultActiveTabKey:String,cover:U.any,onTabChange:{type:Function}}),fMe=se({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:dMe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o,size:a}=Ee("card",e),[l,s]=FPe(i),u=f=>f.map((v,p)=>Nn(v)&&!Nm(v)||!Nn(v)?w("li",{style:{width:`${100/f.length}%`},key:`action-${p}`},[w("span",null,[v])]):null),c=f=>{var h;(h=e.onTabChange)===null||h===void 0||h.call(e,f)},d=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],h;return f.forEach(v=>{v&&yD(v.type)&&v.type.__ANT_CARD_GRID&&(h=!0)}),h};return()=>{var f,h,v,p,g,m;const{headStyle:y={},bodyStyle:b={},loading:S,bordered:x=!0,type:$,tabList:C,hoverable:T,activeTabKey:I,defaultActiveTabKey:P,tabBarExtraContent:M=Rv((f=n.tabBarExtraContent)===null||f===void 0?void 0:f.call(n)),title:O=Rv((h=n.title)===null||h===void 0?void 0:h.call(n)),extra:D=Rv((v=n.extra)===null||v===void 0?void 0:v.call(n)),actions:R=Rv((p=n.actions)===null||p===void 0?void 0:p.call(n)),cover:A=Rv((g=n.cover)===null||g===void 0?void 0:g.call(n))}=e,E=Jt((m=n.default)===null||m===void 0?void 0:m.call(n)),k=i.value,N={[`${k}`]:!0,[s.value]:!0,[`${k}-loading`]:S,[`${k}-bordered`]:x,[`${k}-hoverable`]:!!T,[`${k}-contain-grid`]:d(E),[`${k}-contain-tabs`]:C&&C.length,[`${k}-${a.value}`]:a.value,[`${k}-type-${$}`]:!!$,[`${k}-rtl`]:o.value==="rtl"},B=w(zr,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[E]}),F=I!==void 0,H={size:"large",[F?"activeKey":"defaultActiveKey"]:F?I:P,onChange:c,class:`${k}-head-tabs`};let V;const X=C&&C.length?w(Qc,H,{default:()=>[C.map(q=>{const{tab:ee,slots:J}=q,G=J==null?void 0:J.tab;on(!J,"Card","tabList slots is deprecated, Please use `customTab` instead.");let Y=ee!==void 0?ee:n[G]?n[G](q):null;return Y=aw(n,"customTab",q,()=>[Y]),w(cMe,{tab:Y,key:q.key,disabled:q.disabled},null)})],rightExtra:M?()=>M:null}):null;(O||D||X)&&(V=w("div",{class:`${k}-head`,style:y},[w("div",{class:`${k}-head-wrapper`},[O&&w("div",{class:`${k}-head-title`},[O]),D&&w("div",{class:`${k}-extra`},[D])]),X]));const Q=A?w("div",{class:`${k}-cover`},[A]):null,K=w("div",{class:`${k}-body`,style:b},[S?B:E]),te=R&&R.length?w("ul",{class:`${k}-actions`},[u(R)]):null;return l(w("div",z(z({ref:"cardContainerRef"},r),{},{class:[N,r.class]}),[V,Q,E&&E.length?K:null,te]))}}}),fh=fMe,hMe=()=>({prefixCls:String,title:Wr(),description:Wr(),avatar:Wr()}),xS=se({compatConfig:{MODE:3},name:"ACardMeta",props:hMe(),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("card",e);return()=>{const i={[`${r.value}-meta`]:!0},o=Un(n,e,"avatar"),a=Un(n,e,"title"),l=Un(n,e,"description"),s=o?w("div",{class:`${r.value}-meta-avatar`},[o]):null,u=a?w("div",{class:`${r.value}-meta-title`},[a]):null,c=l?w("div",{class:`${r.value}-meta-description`},[l]):null,d=u||c?w("div",{class:`${r.value}-meta-detail`},[u,c]):null;return w("div",{class:i},[s,d])}}}),vMe=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),wS=se({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:vMe(),setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("card",e),i=L(()=>({[`${r.value}-grid`]:!0,[`${r.value}-grid-hoverable`]:e.hoverable}));return()=>{var o;return w("div",{class:i.value},[(o=n.default)===null||o===void 0?void 0:o.call(n)])}}});fh.Meta=xS;fh.Grid=wS;fh.install=function(e){return e.component(fh.name,fh),e.component(xS.name,xS),e.component(wS.name,wS),e};const pMe=()=>({prefixCls:String,activeKey:Xe([Array,Number,String]),defaultActiveKey:Xe([Array,Number,String]),accordion:$e(),destroyInactivePanel:$e(),bordered:$e(),expandIcon:be(),openAnimation:U.object,expandIconPosition:je(),collapsible:je(),ghost:$e(),onChange:be(),"onUpdate:activeKey":be()}),Iq=()=>({openAnimation:U.object,prefixCls:String,header:U.any,headerClass:String,showArrow:$e(),isActive:$e(),destroyInactivePanel:$e(),disabled:$e(),accordion:$e(),forceRender:$e(),expandIcon:be(),extra:U.any,panelKey:Xe(),collapsible:je(),role:String,onItemClick:be()}),gMe=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:i,collapseHeaderBg:o,collapseHeaderPadding:a,collapsePanelBorderRadius:l,lineWidth:s,lineType:u,colorBorder:c,colorText:d,colorTextHeading:f,colorTextDisabled:h,fontSize:v,lineHeight:p,marginSM:g,paddingSM:m,motionDurationSlow:y,fontSizeIcon:b}=e,S=`${s}px ${u} ${c}`;return{[t]:_(_({},st(e)),{backgroundColor:o,border:S,borderBottom:0,borderRadius:`${l}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:S,"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:f,lineHeight:p,cursor:"pointer",transition:`all ${y}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:v*p,display:"flex",alignItems:"center",paddingInlineEnd:g},[`${t}-arrow`]:_(_({},Ad()),{fontSize:b,svg:{transition:`transform ${y}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}},[`&${t}-no-arrow`]:{[`> ${t}-header`]:{paddingInlineStart:m}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:S,[`& > ${t}-content-box`]:{padding:`${r}px ${i}px`},"&-hidden":{display:"none"}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:g}}}}})}},gMe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},mMe=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:f,lineHeight:p,cursor:"pointer",transition:`all ${y}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:v*p,display:"flex",alignItems:"center",paddingInlineEnd:g},[`${t}-arrow`]:_(_({},Od()),{fontSize:b,svg:{transition:`transform ${y}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}},[`&${t}-no-arrow`]:{[`> ${t}-header`]:{paddingInlineStart:m}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:S,[`& > ${t}-content-box`]:{padding:`${r}px ${i}px`},"&-hidden":{display:"none"}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:g}}}}})}},mMe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},yMe=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},yMe=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},bMe=it("Collapse",e=>{const t=Ue(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[pMe(t),mMe(t),yMe(t),gMe(t),jm(t)]});function RN(e){let t=e;if(!Array.isArray(t)){const n=typeof t;t=n==="number"||n==="string"?[t]:[]}return t.map(n=>String(n))}const Jp=se({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:ft(vMe(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=ue(RN(aS([e.activeKey,e.defaultActiveKey])));Se(()=>e.activeKey,()=>{o.value=RN(e.activeKey)},{deep:!0});const{prefixCls:a,direction:l,rootPrefixCls:s}=Ee("collapse",e),[u,c]=bMe(a),d=L(()=>{const{expandIconPosition:m}=e;return m!==void 0?m:l.value==="rtl"?"end":"start"}),f=m=>{const{expandIcon:y=r.expandIcon}=e,b=y?y(m):w(ua,{rotate:m.isActive?90:void 0},null);return w("div",{class:[`${a.value}-expand-icon`,c.value],onClick:()=>["header","icon"].includes(e.collapsible)&&v(m.panelKey)},[zn(Array.isArray(y)?b[0]:b)?Nt(b,{class:`${a.value}-arrow`},!1):b])},h=m=>{e.activeKey===void 0&&(o.value=m);const y=e.accordion?m[0]:m;i("update:activeKey",y),i("change",y)},v=m=>{let y=o.value;if(e.accordion)y=y[0]===m?[]:[m];else{y=[...y];const b=y.indexOf(m);b>-1?y.splice(b,1):y.push(m)}h(y)},p=(m,y)=>{var b,S,x;if(Nm(m))return;const $=o.value,{accordion:C,destroyInactivePanel:T,collapsible:I,openAnimation:P}=e,M=P||Gm(`${s.value}-motion-collapse`),O=String((b=m.key)!==null&&b!==void 0?b:y),{header:D=(x=(S=m.children)===null||S===void 0?void 0:S.header)===null||x===void 0?void 0:x.call(S),headerClass:R,collapsible:A,disabled:E}=m.props||{};let k=!1;C?k=$[0]===O:k=$.indexOf(O)>-1;let N=A!=null?A:I;(E||E==="")&&(N="disabled");const B={key:O,panelKey:O,header:D,headerClass:R,isActive:k,prefixCls:a.value,destroyInactivePanel:T,openAnimation:M,accordion:C,onItemClick:N==="disabled"?null:v,expandIcon:f,collapsible:N};return Nt(m,B)},g=()=>{var m;return Jt((m=r.default)===null||m===void 0?void 0:m.call(r)).map(p)};return()=>{const{accordion:m,bordered:y,ghost:b}=e,S=ce(a.value,{[`${a.value}-borderless`]:!y,[`${a.value}-icon-position-${d.value}`]:!0,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-ghost`]:!!b,[n.class]:!!n.class},c.value);return u(w("div",z(z({class:S},sfe(n)),{},{style:n.style,role:m?"tablist":null}),[g()]))}}}),SMe=se({compatConfig:{MODE:3},name:"PanelContent",props:Iq(),setup(e,t){let{slots:n}=t;const r=ae(!1);return Ye(()=>{(e.isActive||e.forceRender)&&(r.value=!0)}),()=>{var i;if(!r.value)return null;const{prefixCls:o,isActive:a,role:l}=e;return w("div",{class:ce(`${o}-content`,{[`${o}-content-active`]:a,[`${o}-content-inactive`]:!a}),role:l},[w("div",{class:`${o}-content-box`},[(i=n.default)===null||i===void 0?void 0:i.call(n)])])}}}),CS=se({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:ft(Iq(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;on(e.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:o}=Ee("collapse",e),a=()=>{r("itemClick",e.panelKey)},l=s=>{(s.key==="Enter"||s.keyCode===13||s.which===13)&&a()};return()=>{var s,u;const{header:c=(s=n.header)===null||s===void 0?void 0:s.call(n),headerClass:d,isActive:f,showArrow:h,destroyInactivePanel:v,accordion:p,forceRender:g,openAnimation:m,expandIcon:y=n.expandIcon,extra:b=(u=n.extra)===null||u===void 0?void 0:u.call(n),collapsible:S}=e,x=S==="disabled",$=o.value,C=ce(`${$}-header`,{[d]:d,[`${$}-header-collapsible-only`]:S==="header",[`${$}-icon-collapsible-only`]:S==="icon"}),T=ce({[`${$}-item`]:!0,[`${$}-item-active`]:f,[`${$}-item-disabled`]:x,[`${$}-no-arrow`]:!h,[`${i.class}`]:!!i.class});let I=w("i",{class:"arrow"},null);h&&typeof y=="function"&&(I=y(e));const P=Ur(w(SMe,{prefixCls:$,isActive:f,forceRender:g,role:p?"tabpanel":null},{default:n.default}),[[hi,f]]),M=_({appear:!1,css:!1},m);return w("div",z(z({},i),{},{class:T}),[w("div",{class:C,onClick:()=>!["header","icon"].includes(S)&&a(),role:p?"tab":"button",tabindex:x?-1:0,"aria-expanded":f,onKeypress:l},[h&&I,w("span",{onClick:()=>S==="header"&&a(),class:`${$}-header-text`},[c]),b&&w("div",{class:`${$}-extra`},[b])]),w(dr,M,{default:()=>[!v||f?P:null]})])}}});Jp.Panel=CS;Jp.install=function(e){return e.component(Jp.name,Jp),e.component(CS.name,CS),e};const xMe=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},wMe=function(e){return/[height|width]$/.test(e)},LN=function(e){let t="";const n=Object.keys(e);return n.forEach(function(r,i){let o=e[r];r=xMe(r),wMe(r)&&typeof o=="number"&&(o=o+"px"),o===!0?t+=r:o===!1?t+="not "+r:t+="("+r+": "+o+")",i{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},$S=e=>{const t=[],n=Mq(e),r=Aq(e);for(let i=n;ie.currentSlide-TMe(e),Aq=e=>e.currentSlide+IMe(e),TMe=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,IMe=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,hP=e=>e&&e.offsetWidth||0,IE=e=>e&&e.offsetHeight||0,Oq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const r=e.startX-e.curX,i=e.startY-e.curY,o=Math.atan2(i,r);return n=Math.round(o*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},zw=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},n_=(e,t)=>{const n={};return t.forEach(r=>n[r]=e[r]),n},PMe=e=>{const t=e.children.length,n=e.listRef,r=Math.ceil(hP(n)),i=e.trackRef,o=Math.ceil(hP(i));let a;if(e.vertical)a=r;else{let h=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(h*=r/100),a=Math.ceil((r-h)/e.slidesToShow)}const l=n&&IE(n.querySelector('[data-index="0"]')),s=l*e.slidesToShow;let u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=t-1-e.initialSlide);let c=e.lazyLoadedList||[];const d=$S(_(_({},e),{currentSlide:u,lazyLoadedList:c}));c=c.concat(d);const f={slideCount:t,slideWidth:a,listWidth:r,trackWidth:o,currentSlide:u,slideHeight:l,listHeight:s,lazyLoadedList:c};return e.autoplaying===null&&e.autoplay&&(f.autoplaying="playing"),f},MMe=e=>{const{waitForAnimate:t,animating:n,fade:r,infinite:i,index:o,slideCount:a,lazyLoad:l,currentSlide:s,centerMode:u,slidesToScroll:c,slidesToShow:d,useCSS:f}=e;let{lazyLoadedList:h}=e;if(t&&n)return{};let v=o,p,g,m,y={},b={};const S=i?o:fP(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?v=o+a:o>=a&&(v=o-a),l&&h.indexOf(v)<0&&(h=h.concat(v)),y={animating:!0,currentSlide:v,lazyLoadedList:h,targetSlide:v},b={animating:!1,targetSlide:v}}else p=v,v<0?(p=v+a,i?a%c!==0&&(p=a-a%c):p=0):!zw(e)&&v>s?v=p=s:u&&v>=a?(v=i?a:a-1,p=i?0:a-1):v>=a&&(p=v-a,i?a%c!==0&&(p=0):p=a-d),!i&&v+d>=a&&(p=a-d),g=Yg(_(_({},e),{slideIndex:v})),m=Yg(_(_({},e),{slideIndex:p})),i||(g===m&&(v=p),g=m),l&&(h=h.concat($S(_(_({},e),{currentSlide:v})))),f?(y={animating:!0,currentSlide:p,trackStyle:Dq(_(_({},e),{left:g})),lazyLoadedList:h,targetSlide:S},b={animating:!1,currentSlide:p,trackStyle:Xg(_(_({},e),{left:m})),swipeLeft:null,targetSlide:S}):y={currentSlide:p,trackStyle:Xg(_(_({},e),{left:m})),lazyLoadedList:h,targetSlide:S};return{state:y,nextState:b}},AMe=(e,t)=>{let n,r,i;const{slidesToScroll:o,slidesToShow:a,slideCount:l,currentSlide:s,targetSlide:u,lazyLoad:c,infinite:d}=e,h=l%o!==0?0:(l-s)%o;if(t.message==="previous")r=h===0?o:a-h,i=s-r,c&&!d&&(n=s-r,i=n===-1?l-1:n),d||(i=u-o);else if(t.message==="next")r=h===0?o:h,i=s+r,c&&!d&&(i=(s+o)%l+h),d||(i=u+o);else if(t.message==="dots")i=t.index*t.slidesToScroll;else if(t.message==="children"){if(i=t.index,d){const v=kMe(_(_({},e),{targetSlide:i}));i>t.currentSlide&&v==="left"?i=i-l:ie.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",DMe=(e,t,n)=>(e.target.tagName==="IMG"&&fh(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),EMe=(e,t)=>{const{scrolling:n,animating:r,vertical:i,swipeToSlide:o,verticalSwiping:a,rtl:l,currentSlide:s,edgeFriction:u,edgeDragged:c,onEdge:d,swiped:f,swiping:h,slideCount:v,slidesToScroll:p,infinite:g,touchObject:m,swipeEvent:y,listHeight:b,listWidth:S}=t;if(n)return;if(r)return fh(e);i&&o&&a&&fh(e);let x,$={};const C=Yg(t);m.curX=e.touches?e.touches[0].pageX:e.clientX,m.curY=e.touches?e.touches[0].pageY:e.clientY,m.swipeLength=Math.round(Math.sqrt(Math.pow(m.curX-m.startX,2)));const T=Math.round(Math.sqrt(Math.pow(m.curY-m.startY,2)));if(!a&&!h&&T>10)return{scrolling:!0};a&&(m.swipeLength=T);let I=(l?-1:1)*(m.curX>m.startX?1:-1);a&&(I=m.curY>m.startY?1:-1);const P=Math.ceil(v/p),M=Oq(t.touchObject,a);let O=m.swipeLength;return g||(s===0&&(M==="right"||M==="down")||s+1>=P&&(M==="left"||M==="up")||!zw(t)&&(M==="left"||M==="up"))&&(O=m.swipeLength*u,c===!1&&d&&(d(M),$.edgeDragged=!0)),!f&&y&&(y(M),$.swiped=!0),i?x=C+O*(b/S)*I:l?x=C-O*I:x=C+O*I,a&&(x=C+O*I),$=_(_({},$),{touchObject:m,swipeLeft:x,trackStyle:Xg(_(_({},t),{left:x}))}),Math.abs(m.curX-m.startX)10&&($.swiping=!0,fh(e)),$},RMe=(e,t)=>{const{dragging:n,swipe:r,touchObject:i,listWidth:o,touchThreshold:a,verticalSwiping:l,listHeight:s,swipeToSlide:u,scrolling:c,onSwipe:d,targetSlide:f,currentSlide:h,infinite:v}=t;if(!n)return r&&fh(e),{};const p=l?s/a:o/a,g=Oq(i,l),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!i.swipeLength)return m;if(i.swipeLength>p){fh(e),d&&d(g);let y,b;const S=v?h:f;switch(g){case"left":case"up":b=S+kN(t),y=u?NN(t,b):b,m.currentDirection=0;break;case"right":case"down":b=S-kN(t),y=u?NN(t,b):b,m.currentDirection=1;break;default:y=S}m.triggerSlideHandler=y}else{const y=Yg(t);m.trackStyle=Dq(_(_({},t),{left:y}))}return m},LMe=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,r=e.infinite?e.slidesToShow*-1:0;const i=[];for(;n{const n=LMe(e);let r=0;if(t>n[n.length-1])t=n[n.length-1];else for(const i in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every(l=>{if(e.vertical){if(l.offsetTop+IE(l)/2>e.swipeLeft*-1)return n=l,!1}else if(l.offsetLeft-t+hP(l)/2>e.swipeLeft*-1)return n=l,!1;return!0}),!n)return 0;const o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}else return e.slidesToScroll},PE=(e,t)=>t.reduce((n,r)=>n&&e.hasOwnProperty(r),!0)?null:console.error("Keys Missing:",e),Xg=e=>{PE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=NMe(e)*e.slideWidth;let i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=_(_({},i),{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t+"px"),n&&(i.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},Dq=e=>{PE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=Xg(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},Yg=e=>{if(e.unslick)return 0;PE(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:r,centerMode:i,slideCount:o,slidesToShow:a,slidesToScroll:l,slideWidth:s,listWidth:u,variableWidth:c,slideHeight:d,fade:f,vertical:h}=e;let v=0,p,g,m=0;if(f||e.slideCount===1)return 0;let y=0;if(r?(y=-Dl(e),o%l!==0&&t+l>o&&(y=-(t>o?a-(t-o):o%l)),i&&(y+=parseInt(a/2))):(o%l!==0&&t+l>o&&(y=a-o%l),i&&(y=parseInt(a/2))),v=y*s,m=y*d,h?p=t*d*-1+m:p=t*s*-1+v,c===!0){let b;const S=n;if(b=t+Dl(e),g=S&&S.childNodes[b],p=g?g.offsetLeft*-1:0,i===!0){b=r?t+Dl(e):t,g=S&&S.children[b],p=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),Eb=e=>e.unslick||!e.infinite?0:e.slideCount,NMe=e=>e.slideCount===1?1:Dl(e)+e.slideCount+Eb(e),kMe=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+BMe(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:r,centerPadding:i}=e;if(n){let o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2===0&&(o+=1),o}return r?0:t-1},FMe=e=>{let{slidesToShow:t,centerMode:n,rtl:r,centerPadding:i}=e;if(n){let o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),!r&&t%2===0&&(o+=1),o}return r?t-1:0},BN=()=>!!(typeof window!="undefined"&&window.document&&window.document.createElement),r_=e=>{let t,n,r,i;e.rtl?i=e.slideCount-1-e.index:i=e.index;const o=i<0||i>=e.slideCount;e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-r-1&&i<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?a=e.targetSlide-e.slideCount:a=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":i===a}},zMe=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},i_=(e,t)=>e.key+"-"+t,HMe=function(e,t){let n;const r=[],i=[],o=[],a=t.length,l=Mq(e),s=Aq(e);return t.forEach((u,c)=>{let d;const f={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?d=u:d=w("div");const h=zMe(_(_({},e),{index:c})),v=d.props.class||"";let p=r_(_(_({},e),{index:c}));if(r.push(Up(d,{key:"original"+i_(d,c),tabindex:"-1","data-index":c,"aria-hidden":!p["slick-active"],class:ce(p,v),style:_(_({outline:"none"},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&e.fade===!1){const g=a-c;g<=Dl(e)&&a!==e.slidesToShow&&(n=-g,n>=l&&(d=u),p=r_(_(_({},e),{index:n})),i.push(Up(d,{key:"precloned"+i_(d,n),class:ce(p,v),tabindex:"-1","data-index":n,"aria-hidden":!p["slick-active"],style:_(_({},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}}))),a!==e.slidesToShow&&(n=a+c,n{e.focusOnSelect&&e.focusOnSelect(f)}})))}}),e.rtl?i.concat(r,o).reverse():i.concat(r,o)},Eq=(e,t)=>{let{attrs:n,slots:r}=t;const i=HMe(n,Jt(r==null?void 0:r.default())),{onMouseenter:o,onMouseover:a,onMouseleave:l}=n,s={onMouseenter:o,onMouseover:a,onMouseleave:l},u=_({class:"slick-track",style:n.trackStyle},s);return w("div",u,[i])};Eq.inheritAttrs=!1;const VMe=Eq,WMe=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},Rq=(e,t)=>{let{attrs:n}=t;const{slideCount:r,slidesToScroll:i,slidesToShow:o,infinite:a,currentSlide:l,appendDots:s,customPaging:u,clickHandler:c,dotsClass:d,onMouseenter:f,onMouseover:h,onMouseleave:v}=n,p=WMe({slideCount:r,slidesToScroll:i,slidesToShow:o,infinite:a}),g={onMouseenter:f,onMouseover:h,onMouseleave:v};let m=[];for(let y=0;y=$&&l<=S:l===$}),T={message:"dots",index:y,slidesToScroll:i,currentSlide:l};m=m.concat(w("li",{key:y,class:C},[Nt(u({i:y}),{onClick:I})]))}return Nt(s({dots:m}),_({class:d},g))};Rq.inheritAttrs=!1;const jMe=Rq;function Lq(){}function Nq(e,t,n){n&&n.preventDefault(),t(e,n)}const kq=(e,t)=>{let{attrs:n}=t;const{clickHandler:r,infinite:i,currentSlide:o,slideCount:a,slidesToShow:l}=n,s={"slick-arrow":!0,"slick-prev":!0};let u=function(h){Nq({message:"previous"},r,h)};!i&&(o===0||a<=l)&&(s["slick-disabled"]=!0,u=Lq);const c={key:"0","data-role":"none",class:s,style:{display:"block"},onClick:u},d={currentSlide:o,slideCount:a};let f;return n.prevArrow?f=Nt(n.prevArrow(_(_({},c),d)),{key:"0",class:s,style:{display:"block"},onClick:u},!1):f=w("button",z({key:"0",type:"button"},c),[" ",Gr("Previous")]),f};kq.inheritAttrs=!1;const Bq=(e,t)=>{let{attrs:n}=t;const{clickHandler:r,currentSlide:i,slideCount:o}=n,a={"slick-arrow":!0,"slick-next":!0};let l=function(d){Nq({message:"next"},r,d)};zw(n)||(a["slick-disabled"]=!0,l=Lq);const s={key:"1","data-role":"none",class:ce(a),style:{display:"block"},onClick:l},u={currentSlide:i,slideCount:o};let c;return n.nextArrow?c=Nt(n.nextArrow(_(_({},s),u)),{key:"1",class:ce(a),style:{display:"block"},onClick:l},!1):c=w("button",z({key:"1",type:"button"},s),[" ",Gr("Next")]),c};Bq.inheritAttrs=!1;var GMe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=_({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=$S(_(_({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=_({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new hO(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=$S(_(_({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=IE(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=xD(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!!this.track)return;const n=_(_({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const r=PMe(e);e=_(_(_({},e),r),{slideIndex:r.currentSlide});const i=Yg(e);e=_(_({},e),{left:i});const o=Xg(e);(t||this.children.length!==e.children.length)&&(r.trackStyle=o),this.setState(r,n)},ssrInit(){const e=this.children;if(this.variableWidth){let s=0,u=0;const c=[],d=Dl(_(_(_({},this.$props),this.$data),{slideCount:e.length})),f=Eb(_(_(_({},this.$props),this.$data),{slideCount:e.length}));e.forEach(v=>{var p,g;const m=((g=(p=v.props.style)===null||p===void 0?void 0:p.width)===null||g===void 0?void 0:g.split("px")[0])||0;c.push(m),s+=m});for(let v=0;v{const i=()=>++n&&n>=t&&this.onWindowResized();if(!r.onclick)r.onclick=()=>r.parentNode.focus();else{const o=r.onclick;r.onclick=()=>{o(),r.parentNode.focus()}}r.onload||(this.$props.lazyLoad?r.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(r.onload=i,r.onerror=()=>{i(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=_(_({},this.$props),this.$data);for(let n=this.currentSlide;n=-Dl(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,beforeChange:r,speed:i,afterChange:o}=this.$props,{state:a,nextState:l}=MMe(_(_(_({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!a)return;r&&r(this.currentSlide,a.currentSlide);const s=a.lazyLoadedList.filter(u=>this.lazyLoadedList.indexOf(u)<0);this.$attrs.onLazyLoad&&s.length>0&&this.__emit("lazyLoad",s),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),o&&o(this.currentSlide),delete this.animationEndCallback),this.setState(a,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),l&&(this.animationEndCallback=setTimeout(()=>{const{animating:u}=l,c=GMe(l,["animating"]);this.setState(c,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:u}),10)),o&&o(a.currentSlide),delete this.animationEndCallback})},i))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=_(_({},this.$props),this.$data),r=AMe(n,e);if(!(r!==0&&!r)&&(t===!0?this.slideHandler(r,t):this.slideHandler(r),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const i=this.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=OMe(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=DMe(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=EMe(e,_(_(_({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));t&&(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=RMe(e,_(_(_({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(zw(_(_({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return w("button",null,[t+1])},appendDots(e){let{dots:t}=e;return w("ul",{style:{display:"block"}},[t])}},render(){const e=ce("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=_(_({},this.$props),this.$data);let n=n_(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:r}=this.$props;n=_(_({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:r?this.onTrackLeave:Fi,onMouseover:r?this.onTrackOver:Fi});let i;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let g=n_(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);g.customPaging=this.customPaging,g.appendDots=this.appendDots;const{customPaging:m,appendDots:y}=this.$slots;m&&(g.customPaging=m),y&&(g.appendDots=y);const{pauseOnDotsHover:b}=this.$props;g=_(_({},g),{clickHandler:this.changeSlide,onMouseover:b?this.onDotsOver:Fi,onMouseleave:b?this.onDotsLeave:Fi}),i=w(jMe,g,null)}let o,a;const l=n_(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);l.clickHandler=this.changeSlide;const{prevArrow:s,nextArrow:u}=this.$slots;s&&(l.prevArrow=s),u&&(l.nextArrow=u),this.arrows&&(o=w(kq,l,null),a=w(Bq,l,null));let c=null;this.vertical&&(c={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let d=null;this.vertical===!1?this.centerMode===!0&&(d={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(d={padding:this.centerPadding+" 0px"});const f=_(_({},c),d),h=this.touchMove;let v={ref:this.listRefHandler,class:"slick-list",style:f,onClick:this.clickHandler,onMousedown:h?this.swipeStart:Fi,onMousemove:this.dragging&&h?this.swipeMove:Fi,onMouseup:h?this.swipeEnd:Fi,onMouseleave:this.dragging&&h?this.swipeEnd:Fi,[tr?"onTouchstartPassive":"onTouchstart"]:h?this.swipeStart:Fi,[tr?"onTouchmovePassive":"onTouchmove"]:this.dragging&&h?this.swipeMove:Fi,onTouchend:h?this.touchEnd:Fi,onTouchcancel:this.dragging&&h?this.swipeEnd:Fi,onKeydown:this.accessibility?this.keyHandler:Fi},p={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(v={class:"slick-list",ref:this.listRefHandler},p={class:e}),w("div",p,[this.unslick?"":o,w("div",v,[w(VMe,n,{default:()=>[this.children]})]),this.unslick?"":a,this.unslick?"":i])}},UMe=se({name:"Slider",mixins:[Rd],inheritAttrs:!1,props:_({},Pq),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,r)=>n-r),e.forEach((n,r)=>{let i;r===0?i=t_({minWidth:0,maxWidth:n}):i=t_({minWidth:e[r-1]+1,maxWidth:n}),BN()&&this.media(i,()=>{this.setState({breakpoint:n})})});const t=t_({minWidth:e.slice(-1)[0]});BN()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),r=i=>{let{matches:o}=i;o&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(l=>l.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":_(_({},this.$props),n[0].settings)):t=_({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let r=qx(this)||[];r=r.filter(l=>typeof l=="string"?!!l.trim():!!l),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const i=[];let o=null;for(let l=0;l=r.length));d+=1)c.push(Nt(r[d],{key:100*l+10*u+d,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));s.push(w("div",{key:10*l+u},[c]))}t.variableWidth?i.push(w("div",{key:l,style:{width:o}},[s])):i.push(w("div",{key:l},[s]))}if(t==="unslick"){const l="regular slider "+(this.className||"");return w("div",{class:l},[r])}else i.length<=t.slidesToShow&&(t.unslick=!0);const a=_(_(_({},this.$attrs),t),{children:i,ref:this.innerSliderRefHandler});return w(KMe,z(z({},a),{},{__propsSymbol__:[]}),this.$slots)}}),XMe=e=>{const{componentCls:t,antCls:n,carouselArrowSize:r,carouselDotOffset:i,marginXXS:o}=e,a=-r*1.25,l=o;return{[t]:_(_({},st(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:r,height:r,marginTop:-r/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:i},"&-top":{top:i,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:l,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-l,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},YMe=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:r}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:_(_({},i),{margin:`${r}px 0`,verticalAlign:"baseline",button:i,"&.slick-active":_(_({},i),{button:i})})}}}},qMe=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},ZMe=it("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,r=Ue(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[XMe(r),YMe(r),qMe(r)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var QMe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({effect:je(),dots:$e(!0),vertical:$e(),autoplay:$e(),easing:String,beforeChange:be(),afterChange:be(),prefixCls:String,accessibility:$e(),nextArrow:U.any,prevArrow:U.any,pauseOnHover:$e(),adaptiveHeight:$e(),arrows:$e(!1),autoplaySpeed:Number,centerMode:$e(),centerPadding:String,cssEase:String,dotsClass:String,draggable:$e(!1),fade:$e(),focusOnSelect:$e(),infinite:$e(),initialSlide:Number,lazyLoad:je(),rtl:$e(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:$e(),swipeToSlide:$e(),swipeEvent:be(),touchMove:$e(),touchThreshold:Number,variableWidth:$e(),useCSS:$e(),slickGoTo:Number,responsive:Array,dotPosition:je(),verticalSwiping:$e(!1)}),eAe=se({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:JMe(),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ue();i({goTo:function(v){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var g;(g=o.value)===null||g===void 0||g.slickGoTo(v,p)},autoplay:v=>{var p,g;(g=(p=o.value)===null||p===void 0?void 0:p.innerSlider)===null||g===void 0||g.handleAutoPlay(v)},prev:()=>{var v;(v=o.value)===null||v===void 0||v.slickPrev()},next:()=>{var v;(v=o.value)===null||v===void 0||v.slickNext()},innerSlider:L(()=>{var v;return(v=o.value)===null||v===void 0?void 0:v.innerSlider})}),Ye(()=>{vn(e.vertical===void 0)});const{prefixCls:l,direction:s}=Ee("carousel",e),[u,c]=ZMe(l),d=L(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),f=L(()=>d.value==="left"||d.value==="right"),h=L(()=>{const v="slick-dots";return ce({[v]:!0,[`${v}-${d.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:v,arrows:p,draggable:g,effect:m}=e,{class:y,style:b}=r,S=QMe(r,["class","style"]),x=m==="fade"?!0:e.fade,$=ce(l.value,{[`${l.value}-rtl`]:s.value==="rtl",[`${l.value}-vertical`]:f.value,[`${y}`]:!!y},c.value);return u(w("div",{class:$,style:b},[w(UMe,z(z(z({ref:o},e),S),{},{dots:!!v,dotsClass:h.value,arrows:p,draggable:g,fade:x,vertical:f.value}),n)]))}}}),tAe=gn(eAe),ME="__RC_CASCADER_SPLIT__",Fq="SHOW_PARENT",zq="SHOW_CHILD";function ru(e){return e.join(ME)}function jf(e){return e.map(ru)}function nAe(e){return e.split(ME)}function rAe(e){const{label:t,value:n,children:r}=e||{},i=n||"value";return{label:t||"label",value:i,key:i,children:r||"children"}}function yp(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((r=e[t.children])===null||r===void 0)&&r.length)}function iAe(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}const Hq=Symbol("TreeContextKey"),oAe=se({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return at(Hq,L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),AE=()=>Je(Hq,L(()=>({}))),Vq=Symbol("KeysStateKey"),aAe=e=>{at(Vq,e)},Wq=()=>Je(Vq,{expandedKeys:ae([]),selectedKeys:ae([]),loadedKeys:ae([]),loadingKeys:ae([]),checkedKeys:ae([]),halfCheckedKeys:ae([]),expandedKeysSet:L(()=>new Set),selectedKeysSet:L(()=>new Set),loadedKeysSet:L(()=>new Set),loadingKeysSet:L(()=>new Set),checkedKeysSet:L(()=>new Set),halfCheckedKeysSet:L(()=>new Set),flattenNodes:ae([])}),lAe=e=>{let{prefixCls:t,level:n,isStart:r,isEnd:i}=e;const o=`${t}-indent-unit`,a=[];for(let l=0;l({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:U.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:U.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:U.any,switcherIcon:U.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var cAe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i"`v-slot:"+ve+"` ")}`;const o=ae(!1),a=AE(),{expandedKeysSet:l,selectedKeysSet:s,loadedKeysSet:u,loadingKeysSet:c,checkedKeysSet:d,halfCheckedKeysSet:f}=Wq(),{dragOverNodeKey:h,dropPosition:v,keyEntities:p}=a.value,g=L(()=>Rb(e.eventKey,{expandedKeysSet:l.value,selectedKeysSet:s.value,loadedKeysSet:u.value,loadingKeysSet:c.value,checkedKeysSet:d.value,halfCheckedKeysSet:f.value,dragOverNodeKey:h,dropPosition:v,keyEntities:p})),m=Wi(()=>g.value.expanded),y=Wi(()=>g.value.selected),b=Wi(()=>g.value.checked),S=Wi(()=>g.value.loaded),x=Wi(()=>g.value.loading),$=Wi(()=>g.value.halfChecked),C=Wi(()=>g.value.dragOver),T=Wi(()=>g.value.dragOverGapTop),I=Wi(()=>g.value.dragOverGapBottom),P=Wi(()=>g.value.pos),M=ae(),O=L(()=>{const{eventKey:ve}=e,{keyEntities:fe}=a.value,{children:ye}=fe[ve]||{};return!!(ye||[]).length}),D=L(()=>{const{isLeaf:ve}=e,{loadData:fe}=a.value,ye=O.value;return ve===!1?!1:ve||!fe&&!ye||fe&&S.value&&!ye}),R=L(()=>D.value?null:m.value?FN:zN),A=L(()=>{const{disabled:ve}=e,{disabled:fe}=a.value;return!!(fe||ve)}),E=L(()=>{const{checkable:ve}=e,{checkable:fe}=a.value;return!fe||ve===!1?!1:fe}),k=L(()=>{const{selectable:ve}=e,{selectable:fe}=a.value;return typeof ve=="boolean"?ve:fe}),N=L(()=>{const{data:ve,active:fe,checkable:ye,disableCheckbox:Me,disabled:De,selectable:Be}=e;return _(_({active:fe,checkable:ye,disableCheckbox:Me,disabled:De,selectable:Be},ve),{dataRef:ve,data:ve,isLeaf:D.value,checked:b.value,expanded:m.value,loading:x.value,selected:y.value,halfChecked:$.value})}),B=gr(),F=L(()=>{const{eventKey:ve}=e,{keyEntities:fe}=a.value,{parent:ye}=fe[ve]||{};return _(_({},Lb(_({},e,g.value))),{parent:ye})}),H=Bt({eventData:F,eventKey:L(()=>e.eventKey),selectHandle:M,pos:P,key:B.vnode.key});i(H);const V=ve=>{const{onNodeDoubleClick:fe}=a.value;fe(ve,F.value)},X=ve=>{if(A.value)return;const{onNodeSelect:fe}=a.value;ve.preventDefault(),fe(ve,F.value)},Q=ve=>{if(A.value)return;const{disableCheckbox:fe}=e,{onNodeCheck:ye}=a.value;if(!E.value||fe)return;ve.preventDefault();const Me=!b.value;ye(ve,F.value,Me)},K=ve=>{const{onNodeClick:fe}=a.value;fe(ve,F.value),k.value?X(ve):Q(ve)},te=ve=>{const{onNodeMouseEnter:fe}=a.value;fe(ve,F.value)},q=ve=>{const{onNodeMouseLeave:fe}=a.value;fe(ve,F.value)},ee=ve=>{const{onNodeContextMenu:fe}=a.value;fe(ve,F.value)},J=ve=>{const{onNodeDragStart:fe}=a.value;ve.stopPropagation(),o.value=!0,fe(ve,H);try{ve.dataTransfer.setData("text/plain","")}catch(ye){}},G=ve=>{const{onNodeDragEnter:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),fe(ve,H)},Y=ve=>{const{onNodeDragOver:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),fe(ve,H)},oe=ve=>{const{onNodeDragLeave:fe}=a.value;ve.stopPropagation(),fe(ve,H)},W=ve=>{const{onNodeDragEnd:fe}=a.value;ve.stopPropagation(),o.value=!1,fe(ve,H)},Z=ve=>{const{onNodeDrop:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),o.value=!1,fe(ve,H)},ne=ve=>{const{onNodeExpand:fe}=a.value;x.value||fe(ve,F.value)},re=()=>{const{data:ve}=e,{draggable:fe}=a.value;return!!(fe&&(!fe.nodeDraggable||fe.nodeDraggable(ve)))},le=()=>{const{draggable:ve,prefixCls:fe}=a.value;return ve&&(ve!=null&&ve.icon)?w("span",{class:`${fe}-draggable-icon`},[ve.icon]):null},ie=()=>{var ve,fe,ye;const{switcherIcon:Me=r.switcherIcon||((ve=a.value.slots)===null||ve===void 0?void 0:ve[(ye=(fe=e.data)===null||fe===void 0?void 0:fe.slots)===null||ye===void 0?void 0:ye.switcherIcon])}=e,{switcherIcon:De}=a.value,Be=Me||De;return typeof Be=="function"?Be(N.value):Be},de=()=>{const{loadData:ve,onNodeLoad:fe}=a.value;x.value||ve&&m.value&&!D.value&&!O.value&&!S.value&&fe(F.value)};tt(()=>{de()}),Qr(()=>{de()});const pe=()=>{const{prefixCls:ve}=a.value,fe=ie();if(D.value)return fe!==!1?w("span",{class:ce(`${ve}-switcher`,`${ve}-switcher-noop`)},[fe]):null;const ye=ce(`${ve}-switcher`,`${ve}-switcher_${m.value?FN:zN}`);return fe!==!1?w("span",{onClick:ne,class:ye},[fe]):null},me=()=>{var ve,fe;const{disableCheckbox:ye}=e,{prefixCls:Me}=a.value,De=A.value;return E.value?w("span",{class:ce(`${Me}-checkbox`,b.value&&`${Me}-checkbox-checked`,!b.value&&$.value&&`${Me}-checkbox-indeterminate`,(De||ye)&&`${Me}-checkbox-disabled`),onClick:Q},[(fe=(ve=a.value).customCheckable)===null||fe===void 0?void 0:fe.call(ve)]):null},he=()=>{const{prefixCls:ve}=a.value;return w("span",{class:ce(`${ve}-iconEle`,`${ve}-icon__${R.value||"docu"}`,x.value&&`${ve}-icon_loading`)},null)},xe=()=>{const{disabled:ve,eventKey:fe}=e,{draggable:ye,dropLevelOffset:Me,dropPosition:De,prefixCls:Be,indent:we,dropIndicatorRender:_e,dragOverNodeKey:Ie,direction:Le}=a.value;return!ve&&ye!==!1&&Ie===fe?_e({dropPosition:De,dropLevelOffset:Me,indent:we,prefixCls:Be,direction:Le}):null},Ce=()=>{var ve,fe,ye,Me,De,Be;const{icon:we=r.icon,data:_e}=e,Ie=r.title||((ve=a.value.slots)===null||ve===void 0?void 0:ve[(ye=(fe=e.data)===null||fe===void 0?void 0:fe.slots)===null||ye===void 0?void 0:ye.title])||((Me=a.value.slots)===null||Me===void 0?void 0:Me.title)||e.title,{prefixCls:Le,showIcon:Ke,icon:ke,loadData:We}=a.value,gt=A.value,Dt=`${Le}-node-content-wrapper`;let At;if(Ke){const Wn=we||((De=a.value.slots)===null||De===void 0?void 0:De[(Be=_e==null?void 0:_e.slots)===null||Be===void 0?void 0:Be.icon])||ke;At=Wn?w("span",{class:ce(`${Le}-iconEle`,`${Le}-icon__customize`)},[typeof Wn=="function"?Wn(N.value):Wn]):he()}else We&&x.value&&(At=he());let kt;typeof Ie=="function"?kt=Ie(N.value):kt=Ie,kt=kt===void 0?dAe:kt;const Ut=w("span",{class:`${Le}-title`},[kt]);return w("span",{ref:M,title:typeof Ie=="string"?Ie:"",class:ce(`${Dt}`,`${Dt}-${R.value||"normal"}`,!gt&&(y.value||o.value)&&`${Le}-node-selected`),onMouseenter:te,onMouseleave:q,onContextmenu:ee,onClick:K,onDblclick:V},[At,Ut,xe()])};return()=>{const ve=_(_({},e),n),{eventKey:fe,isLeaf:ye,isStart:Me,isEnd:De,domRef:Be,active:we,data:_e,onMousemove:Ie,selectable:Le}=ve,Ke=cAe(ve,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:ke,filterTreeNode:We,keyEntities:gt,dropContainerKey:Dt,dropTargetKey:At,draggingNodeKey:kt}=a.value,Ut=A.value,Wn=Mu(Ke,{aria:!0,data:!0}),{level:Zn}=gt[fe]||{},or=De[De.length-1],On=re(),Rr=!Ut&&On,mi=kt===fe,no=Le!==void 0?{"aria-selected":!!Le}:void 0;return w("div",z(z({ref:Be,class:ce(n.class,`${ke}-treenode`,{[`${ke}-treenode-disabled`]:Ut,[`${ke}-treenode-switcher-${m.value?"open":"close"}`]:!ye,[`${ke}-treenode-checkbox-checked`]:b.value,[`${ke}-treenode-checkbox-indeterminate`]:$.value,[`${ke}-treenode-selected`]:y.value,[`${ke}-treenode-loading`]:x.value,[`${ke}-treenode-active`]:we,[`${ke}-treenode-leaf-last`]:or,[`${ke}-treenode-draggable`]:Rr,dragging:mi,"drop-target":At===fe,"drop-container":Dt===fe,"drag-over":!Ut&&C.value,"drag-over-gap-top":!Ut&&T.value,"drag-over-gap-bottom":!Ut&&I.value,"filter-node":We&&We(F.value)}),style:n.style,draggable:Rr,"aria-grabbed":mi,onDragstart:Rr?J:void 0,onDragenter:On?G:void 0,onDragover:On?Y:void 0,onDragleave:On?oe:void 0,onDrop:On?Z:void 0,onDragend:On?W:void 0,onMousemove:Ie},no),Wn),[w(sAe,{prefixCls:ke,level:Zn,isStart:Me,isEnd:De},null),le(),pe(),me(),Ce()])}}});globalThis&&globalThis.__rest;function _a(e,t){if(!e)return[];const n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function ml(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function OE(e){return e.split("-")}function Kq(e,t){return`${e}-${t}`}function fAe(e){return e&&e.type&&e.type.isTreeNode}function hAe(e,t){const n=[],r=t[e];function i(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(a=>{let{key:l,children:s}=a;n.push(l),i(s)})}return i(r.children),n}function vAe(e){if(e.parent){const t=OE(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function pAe(e){const t=OE(e.pos);return Number(t[t.length-1])===0}function HN(e,t,n,r,i,o,a,l,s,u){var c;const{clientX:d,clientY:f}=e,{top:h,height:v}=e.target.getBoundingClientRect(),g=((u==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-d)-12)/r;let m=l[n.eventKey];if(fD.key===m.key),M=P<=0?0:P-1,O=a[M].key;m=l[O]}const y=m.key,b=m,S=m.key;let x=0,$=0;if(!s.has(y))for(let P=0;P-1.5?o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1:o({dragNode:C,dropNode:T,dropPosition:0})?x=0:o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1:o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1,{dropPosition:x,dropLevelOffset:$,dropTargetKey:m.key,dropTargetPos:m.pos,dragOverNodeKey:S,dropContainerKey:x===0?null:((c=m.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:I}}function VN(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function o_(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function pP(e,t){const n=new Set;function r(i){if(n.has(i))return;const o=t[i];if(!o)return;n.add(i);const{parent:a,node:l}=o;l.disabled||a&&r(a.key)}return(e||[]).forEach(i=>{r(i)}),[...n]}var gAe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:[];return xn(n).map(i=>{var o,a,l,s;if(!fAe(i))return null;const u=i.children||{},c=i.key,d={};for(const[P,M]of Object.entries(i.props))d[Pd(P)]=M;const{isLeaf:f,checkable:h,selectable:v,disabled:p,disableCheckbox:g}=d,m={isLeaf:f||f===""||void 0,checkable:h||h===""||void 0,selectable:v||v===""||void 0,disabled:p||p===""||void 0,disableCheckbox:g||g===""||void 0},y=_(_({},d),m),{title:b=(o=u.title)===null||o===void 0?void 0:o.call(u,y),icon:S=(a=u.icon)===null||a===void 0?void 0:a.call(u,y),switcherIcon:x=(l=u.switcherIcon)===null||l===void 0?void 0:l.call(u,y)}=d,$=gAe(d,["title","icon","switcherIcon"]),C=(s=u.default)===null||s===void 0?void 0:s.call(u),T=_(_(_({},$),{title:b,icon:S,switcherIcon:x,key:c,isLeaf:f}),m),I=t(C);return I.length&&(T.children=I),T})}return t(e)}function mAe(e,t,n){const{_title:r,key:i,children:o}=Hw(n),a=new Set(t===!0?[]:t),l=[];function s(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return u.map((d,f)=>{const h=Kq(c?c.pos:"0",f),v=qm(d[i],h);let p;for(let m=0;mf[o]:typeof o=="function"&&(c=f=>o(f)):c=(f,h)=>qm(f[l],h);function d(f,h,v,p){const g=f?f[u]:e,m=f?Kq(v.pos,h):"0",y=f?[...p,f]:[];if(f){const b=c(f,m),S={node:f,index:h,pos:m,key:b,parentPos:v.node?v.pos:null,level:v.level+1,nodes:y};t(S)}g&&g.forEach((b,S)=>{d(b,S,{node:f,pos:m,level:v?v.level+1:-1},y)})}d(null)}function Zm(e){let{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:o,fieldNames:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const s=i||l,u={},c={};let d={posEntities:u,keyEntities:c};return t&&(d=t(d)||d),yAe(e,f=>{const{node:h,index:v,pos:p,key:g,parentPos:m,level:y,nodes:b}=f,S={node:h,nodes:b,index:v,key:g,pos:p,level:y},x=qm(g,p);u[p]=S,c[x]=S,S.parent=u[m],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),n&&n(S,d)},{externalGetKey:s,childrenPropName:o,fieldNames:a}),r&&r(d),d}function Rb(e,t){let{expandedKeysSet:n,selectedKeysSet:r,loadedKeysSet:i,loadingKeysSet:o,checkedKeysSet:a,halfCheckedKeysSet:l,dragOverNodeKey:s,dropPosition:u,keyEntities:c}=t;const d=c[e];return{eventKey:e,expanded:n.has(e),selected:r.has(e),loaded:i.has(e),loading:o.has(e),checked:a.has(e),halfChecked:l.has(e),pos:String(d?d.pos:""),parent:d.parent,dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1}}function Lb(e){const{data:t,expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:f,eventKey:h}=e,v=_(_({dataRef:t},t),{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:f,eventKey:h,key:h});return"props"in v||Object.defineProperty(v,"props",{get(){return e}}),v}const bAe=(e,t)=>L(()=>Zm(e.value,{fieldNames:t.value,initWrapper:r=>_(_({},r),{pathKeyEntities:{}}),processEntity:(r,i)=>{const o=r.nodes.map(a=>a[t.value.value]).join(ME);i.pathKeyEntities[o]=r,r.key=o}}).pathKeyEntities);function SAe(e){const t=ae(!1),n=ue({});return Ye(()=>{if(!e.value){t.value=!1,n.value={};return}let r={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(r=_(_({},r),e.value)),r.limit<=0&&delete r.limit,t.value=!0,n.value=r}),{showSearch:t,searchConfig:n}}const eg="__rc_cascader_search_mark__",xAe=(e,t,n)=>{let{label:r}=n;return t.some(i=>String(i[r]).toLowerCase().includes(e.toLowerCase()))},wAe=e=>{let{path:t,fieldNames:n}=e;return t.map(r=>r[n.label]).join(" / ")},CAe=(e,t,n,r,i,o)=>L(()=>{const{filter:a=xAe,render:l=wAe,limit:s=50,sort:u}=i.value,c=[];if(!e.value)return[];function d(f,h){f.forEach(v=>{if(!u&&s>0&&c.length>=s)return;const p=[...h,v],g=v[n.value.children];(!g||g.length===0||o.value)&&a(e.value,p,{label:n.value.label})&&c.push(_(_({},v),{[n.value.label]:l({inputValue:e.value,path:p,prefixCls:r.value,fieldNames:n.value}),[eg]:p})),g&&d(v[n.value.children],p)})}return d(t.value,[]),u&&c.sort((f,h)=>u(f[eg],h[eg],e.value,n.value)),s>0?c.slice(0,s):c});function WN(e,t,n){const r=new Set(e);return e.filter(i=>{const o=t[i],a=o?o.parent:null,l=o?o.children:null;return n===zq?!(l&&l.some(s=>s.key&&r.has(s.key))):!(a&&!a.node.disabled&&r.has(a.key))})}function qg(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var i;let o=t;const a=[];for(let l=0;l{const f=d[n.value];return r?String(f)===String(s):f===s}),c=u!==-1?o==null?void 0:o[u]:null;a.push({value:(i=c==null?void 0:c[n.value])!==null&&i!==void 0?i:s,index:u,option:c}),o=c==null?void 0:c[n.children]}return a}const $Ae=(e,t,n)=>L(()=>{const r=[],i=[];return n.value.forEach(o=>{qg(o,e.value,t.value).every(l=>l.option)?i.push(o):r.push(o)}),[i,r]});function Uq(e,t){const n=new Set;return e.forEach(r=>{t.has(r)||n.add(r)}),n}function _Ae(e){const{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function TAe(e,t,n,r){const i=new Set(e),o=new Set;for(let l=0;l<=n;l+=1)(t.get(l)||new Set).forEach(u=>{const{key:c,node:d,children:f=[]}=u;i.has(c)&&!r(d)&&f.filter(h=>!r(h.node)).forEach(h=>{i.add(h.key)})});const a=new Set;for(let l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(u=>{const{parent:c,node:d}=u;if(r(d)||!u.parent||a.has(u.parent.key))return;if(r(u.parent.node)){a.add(c.key);return}let f=!0,h=!1;(c.children||[]).filter(v=>!r(v.node)).forEach(v=>{let{key:p}=v;const g=i.has(p);f&&!g&&(f=!1),!h&&(g||o.has(p))&&(h=!0)}),f&&i.add(c.key),h&&o.add(c.key),a.add(c.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(Uq(o,i))}}function IAe(e,t,n,r,i){const o=new Set(e);let a=new Set(t);for(let s=0;s<=r;s+=1)(n.get(s)||new Set).forEach(c=>{const{key:d,node:f,children:h=[]}=c;!o.has(d)&&!a.has(d)&&!i(f)&&h.filter(v=>!i(v.node)).forEach(v=>{o.delete(v.key)})});a=new Set;const l=new Set;for(let s=r;s>=0;s-=1)(n.get(s)||new Set).forEach(c=>{const{parent:d,node:f}=c;if(i(f)||!c.parent||l.has(c.parent.key))return;if(i(c.parent.node)){l.add(d.key);return}let h=!0,v=!1;(d.children||[]).filter(p=>!i(p.node)).forEach(p=>{let{key:g}=p;const m=o.has(g);h&&!m&&(h=!1),!v&&(m||a.has(g))&&(v=!0)}),h||o.delete(d.key),v&&a.add(d.key),l.add(d.key)});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Uq(a,o))}}function To(e,t,n,r,i,o){let a;o?a=o:a=_Ae;const l=new Set(e.filter(u=>!!n[u]));let s;return t===!0?s=TAe(l,i,r,a):s=IAe(l,t.halfCheckedKeys,i,r,a),s}const PAe=(e,t,n,r,i)=>L(()=>{const o=i.value||(a=>{let{labels:l}=a;const s=r.value?l.slice(-1):l,u=" / ";return s.every(c=>["string","number"].includes(typeof c))?s.join(u):s.reduce((c,d,f)=>{const h=zn(d)?Nt(d,{key:f}):d;return f===0?[h]:[...c,u,h]},[])});return e.value.map(a=>{const l=qg(a,t.value,n.value),s=o({labels:l.map(c=>{let{option:d,value:f}=c;var h;return(h=d==null?void 0:d[n.value.label])!==null&&h!==void 0?h:f}),selectedOptions:l.map(c=>{let{option:d}=c;return d})}),u=ru(a);return{label:s,value:u,key:u,valueCells:a}})}),Xq=Symbol("CascaderContextKey"),MAe=e=>{at(Xq,e)},Vw=()=>Je(Xq),AAe=()=>{const e=zm(),{values:t}=Vw(),[n,r]=Xt([]);return Se(()=>e.open,()=>{if(e.open&&!e.multiple){const i=t.value[0];r(i||[])}},{immediate:!0}),[n,r]},OAe=(e,t,n,r,i,o)=>{const a=zm(),l=L(()=>a.direction==="rtl"),[s,u,c]=[ue([]),ue(),ue([])];Ye(()=>{let p=-1,g=t.value;const m=[],y=[],b=r.value.length;for(let x=0;xC[n.value.value]===r.value[x]);if($===-1)break;p=$,m.push(p),y.push(r.value[x]),g=g[p][n.value.children]}let S=t.value;for(let x=0;x{i(p)},f=p=>{const g=c.value.length;let m=u.value;m===-1&&p<0&&(m=g);for(let y=0;y{if(s.value.length>1){const p=s.value.slice(0,-1);d(p)}else a.toggleOpen(!1)},v=()=>{var p;const m=(((p=c.value[u.value])===null||p===void 0?void 0:p[n.value.children])||[]).find(y=>!y.disabled);if(m){const y=[...s.value,m[n.value.value]];d(y)}};e.expose({onKeydown:p=>{const{which:g}=p;switch(g){case Pe.UP:case Pe.DOWN:{let m=0;g===Pe.UP?m=-1:g===Pe.DOWN&&(m=1),m!==0&&f(m);break}case Pe.LEFT:{l.value?v():h();break}case Pe.RIGHT:{l.value?h():v();break}case Pe.BACKSPACE:{a.searchValue||h();break}case Pe.ENTER:{if(s.value.length){const m=c.value[u.value],y=(m==null?void 0:m[eg])||[];y.length?o(y.map(b=>b[n.value.value]),y[y.length-1]):o(s.value,m)}break}case Pe.ESC:a.toggleOpen(!1),open&&p.stopPropagation()}},onKeyup:()=>{}})};function Ww(e){let{prefixCls:t,checked:n,halfChecked:r,disabled:i,onClick:o}=e;const{customSlots:a,checkable:l}=Vw(),s=l.value!==!1?a.value.checkable:l.value,u=typeof s=="function"?s():typeof s=="boolean"?null:s;return w("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&r,[`${t}-disabled`]:i},onClick:o},[u])}Ww.props=["prefixCls","checked","halfChecked","disabled","onClick"];Ww.displayName="Checkbox";Ww.inheritAttrs=!1;const Yq="__cascader_fix_label__";function jw(e){let{prefixCls:t,multiple:n,options:r,activeValue:i,prevValuePath:o,onToggleOpen:a,onSelect:l,onActive:s,checkedSet:u,halfCheckedSet:c,loadingKeys:d,isSelectable:f}=e;var h,v,p,g,m,y;const b=`${t}-menu`,S=`${t}-menu-item`,{fieldNames:x,changeOnSelect:$,expandTrigger:C,expandIcon:T,loadingIcon:I,dropdownMenuColumnStyle:P,customSlots:M}=Vw(),O=(h=T.value)!==null&&h!==void 0?h:(p=(v=M.value).expandIcon)===null||p===void 0?void 0:p.call(v),D=(g=I.value)!==null&&g!==void 0?g:(y=(m=M.value).loadingIcon)===null||y===void 0?void 0:y.call(m),R=C.value==="hover";return w("ul",{class:b,role:"menu"},[r.map(A=>{var E;const{disabled:k}=A,N=A[eg],B=(E=A[Yq])!==null&&E!==void 0?E:A[x.value.label],F=A[x.value.value],H=yp(A,x.value),V=N?N.map(G=>G[x.value.value]):[...o,F],X=ru(V),Q=d.includes(X),K=u.has(X),te=c.has(X),q=()=>{!k&&(!R||!H)&&s(V)},ee=()=>{f(A)&&l(V,H)};let J;return typeof A.title=="string"?J=A.title:typeof B=="string"&&(J=B),w("li",{key:X,class:[S,{[`${S}-expand`]:!H,[`${S}-active`]:i===F,[`${S}-disabled`]:k,[`${S}-loading`]:Q}],style:P.value,role:"menuitemcheckbox",title:J,"aria-checked":K,"data-path-key":X,onClick:()=>{q(),(!n||H)&&ee()},onDblclick:()=>{$.value&&a(!1)},onMouseenter:()=>{R&&q()},onMousedown:G=>{G.preventDefault()}},[n&&w(Ww,{prefixCls:`${t}-checkbox`,checked:K,halfChecked:te,disabled:k,onClick:G=>{G.stopPropagation(),ee()}},null),w("div",{class:`${S}-content`},[B]),!Q&&O&&!H&&w("div",{class:`${S}-expand-icon`},[Nt(O)]),Q&&D&&w("div",{class:`${S}-loading-icon`},[Nt(D)])])})])}jw.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];jw.displayName="Column";jw.inheritAttrs=!1;const DAe=se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:r}=t,i=zm(),o=ue(),a=L(()=>i.direction==="rtl"),{options:l,values:s,halfValues:u,fieldNames:c,changeOnSelect:d,onSelect:f,searchOptions:h,dropdownPrefixCls:v,loadData:p,expandTrigger:g,customSlots:m}=Vw(),y=L(()=>v.value||i.prefixCls),b=ae([]),S=E=>{if(!p.value||i.searchValue)return;const N=qg(E,l.value,c.value).map(F=>{let{option:H}=F;return H}),B=N[N.length-1];if(B&&!yp(B,c.value)){const F=ru(E);b.value=[...b.value,F],p.value(N)}};Ye(()=>{b.value.length&&b.value.forEach(E=>{const k=nAe(E),N=qg(k,l.value,c.value,!0).map(F=>{let{option:H}=F;return H}),B=N[N.length-1];(!B||B[c.value.children]||yp(B,c.value))&&(b.value=b.value.filter(F=>F!==E))})});const x=L(()=>new Set(jf(s.value))),$=L(()=>new Set(jf(u.value))),[C,T]=AAe(),I=E=>{T(E),S(E)},P=E=>{const{disabled:k}=E,N=yp(E,c.value);return!k&&(N||d.value||i.multiple)},M=function(E,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;f(E),!i.multiple&&(k||d.value&&(g.value==="hover"||N))&&i.toggleOpen(!1)},O=L(()=>i.searchValue?h.value:l.value),D=L(()=>{const E=[{options:O.value}];let k=O.value;for(let N=0;NV[c.value.value]===B),H=F==null?void 0:F[c.value.children];if(!(H!=null&&H.length))break;k=H,E.push({options:H})}return E});OAe(t,O,c,C,I,(E,k)=>{P(k)&&M(E,yp(k,c.value),!0)});const A=E=>{E.preventDefault()};return tt(()=>{Se(C,E=>{var k;for(let N=0;N{var E,k,N,B,F;const{notFoundContent:H=((E=r.notFoundContent)===null||E===void 0?void 0:E.call(r))||((N=(k=m.value).notFoundContent)===null||N===void 0?void 0:N.call(k)),multiple:V,toggleOpen:X}=i,Q=!(!((F=(B=D.value[0])===null||B===void 0?void 0:B.options)===null||F===void 0)&&F.length),K=[{[c.value.value]:"__EMPTY__",[Yq]:H,disabled:!0}],te=_(_({},n),{multiple:!Q&&V,onSelect:M,onActive:I,onToggleOpen:X,checkedSet:x.value,halfCheckedSet:$.value,loadingKeys:b.value,isSelectable:P}),ee=(Q?[{options:K}]:D.value).map((J,G)=>{const Y=C.value.slice(0,G),oe=C.value[G];return w(jw,z(z({key:G},te),{},{prefixCls:y.value,options:J.options,prevValuePath:Y,activeValue:oe}),null)});return w("div",{class:[`${y.value}-menus`,{[`${y.value}-menu-empty`]:Q,[`${y.value}-rtl`]:a.value}],onMousedown:A,ref:o},[ee])}}});function Gw(e){const t=ue(0),n=ae();return Ye(()=>{const r=new Map;let i=0;const o=e.value||{};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=o[a],{level:s}=l;let u=r.get(s);u||(u=new Set,r.set(s,u)),u.add(l),i=Math.max(i,s)}t.value=i,n.value=r}),{maxLevel:t,levelEntities:n}}function EAe(){return _(_({},yt(yw(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:He(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:Fq},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:U.any,loadingIcon:U.any})}function qq(){return _(_({},EAe()),{onChange:Function,customSlots:Object})}function RAe(e){return Array.isArray(e)&&Array.isArray(e[0])}function jN(e){return e?RAe(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const LAe=se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:ft(qq(),{}),setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=ZO(qe(e,"id")),a=L(()=>!!e.checkable),[l,s]=dn(e.defaultValue,{value:L(()=>e.value),postState:jN}),u=L(()=>rAe(e.fieldNames)),c=L(()=>e.options||[]),d=bAe(c,u),f=G=>{const Y=d.value;return G.map(oe=>{const{nodes:W}=Y[oe];return W.map(Z=>Z[u.value.value])})},[h,v]=dn("",{value:L(()=>e.searchValue),postState:G=>G||""}),p=(G,Y)=>{v(G),Y.source!=="blur"&&e.onSearch&&e.onSearch(G)},{showSearch:g,searchConfig:m}=SAe(qe(e,"showSearch")),y=CAe(h,c,u,L(()=>e.dropdownPrefixCls||e.prefixCls),m,qe(e,"changeOnSelect")),b=$Ae(c,u,l),[S,x,$]=[ue([]),ue([]),ue([])],{maxLevel:C,levelEntities:T}=Gw(d);Ye(()=>{const[G,Y]=b.value;if(!a.value||!l.value.length){[S.value,x.value,$.value]=[G,[],Y];return}const oe=jf(G),W=d.value,{checkedKeys:Z,halfCheckedKeys:ne}=To(oe,!0,W,C.value,T.value);[S.value,x.value,$.value]=[f(Z),f(ne),Y]});const I=L(()=>{const G=jf(S.value),Y=WN(G,d.value,e.showCheckedStrategy);return[...$.value,...f(Y)]}),P=PAe(I,c,u,a,qe(e,"displayRender")),M=G=>{if(s(G),e.onChange){const Y=jN(G),oe=Y.map(ne=>qg(ne,c.value,u.value).map(re=>re.option)),W=a.value?Y:Y[0],Z=a.value?oe:oe[0];e.onChange(W,Z)}},O=G=>{if(v(""),!a.value)M(G);else{const Y=ru(G),oe=jf(S.value),W=jf(x.value),Z=oe.includes(Y),ne=$.value.some(ie=>ru(ie)===Y);let re=S.value,le=$.value;if(ne&&!Z)le=$.value.filter(ie=>ru(ie)!==Y);else{const ie=Z?oe.filter(me=>me!==Y):[...oe,Y];let de;Z?{checkedKeys:de}=To(ie,{checked:!1,halfCheckedKeys:W},d.value,C.value,T.value):{checkedKeys:de}=To(ie,!0,d.value,C.value,T.value);const pe=WN(de,d.value,e.showCheckedStrategy);re=f(pe)}M([...le,...re])}},D=(G,Y)=>{if(Y.type==="clear"){M([]);return}const{valueCells:oe}=Y.values[0];O(oe)},R=L(()=>e.open!==void 0?e.open:e.popupVisible),A=L(()=>e.dropdownStyle||e.popupStyle||{}),E=L(()=>e.placement||e.popupPlacement),k=G=>{var Y,oe;(Y=e.onDropdownVisibleChange)===null||Y===void 0||Y.call(e,G),(oe=e.onPopupVisibleChange)===null||oe===void 0||oe.call(e,G)},{changeOnSelect:N,checkable:B,dropdownPrefixCls:F,loadData:H,expandTrigger:V,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:K,customSlots:te,dropdownClassName:q}=ja(e);MAe({options:c,fieldNames:u,values:S,halfValues:x,changeOnSelect:N,onSelect:O,checkable:B,searchOptions:y,dropdownPrefixCls:F,loadData:H,expandTrigger:V,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:K,customSlots:te});const ee=ue();r({focus(){var G;(G=ee.value)===null||G===void 0||G.focus()},blur(){var G;(G=ee.value)===null||G===void 0||G.blur()},scrollTo(G){var Y;(Y=ee.value)===null||Y===void 0||Y.scrollTo(G)}});const J=L(()=>yt(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const G=!(h.value?y.value:c.value).length,{dropdownMatchSelectWidth:Y=!1}=e,oe=h.value&&m.value.matchInputWidth||G?{}:{minWidth:"auto"};return w(YO,z(z(z({},J.value),n),{},{ref:ee,id:o,prefixCls:e.prefixCls,dropdownMatchSelectWidth:Y,dropdownStyle:_(_({},A.value),oe),displayValues:P.value,onDisplayValuesChange:D,mode:a.value?"multiple":void 0,searchValue:h.value,onSearch:p,showSearch:g.value,OptionList:DAe,emptyOptions:G,open:R.value,dropdownClassName:q.value,placement:E.value,onDropdownVisibleChange:k,getRawInputElement:()=>{var W;return(W=i.default)===null||W===void 0?void 0:W.call(i)}}),i)}}});var NAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const kAe=NAe;function GN(e){for(var t=1;tXr()&&window.document.documentElement,Qq=e=>{if(Xr()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},FAe=(e,t)=>{if(!Qq(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function EE(e,t){return!Array.isArray(e)&&t!==void 0?FAe(e,t):Qq(e)}let r0;const zAe=()=>{if(!Zq())return!1;if(r0!==void 0)return r0;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r0=e.scrollHeight===1,document.body.removeChild(e),r0},Jq=()=>{const e=ae(!1);return tt(()=>{e.value=zAe()}),e},eZ=Symbol("rowContextKey"),HAe=e=>{at(eZ,e)},VAe=()=>Je(eZ,{gutter:L(()=>{}),wrap:L(()=>{}),supportFlexGap:L(()=>{})}),WAe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-space-evenly ":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},jAe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},GAe=(e,t)=>{const{componentCls:n,gridColumns:r}=e,i={};for(let o=r;o>=0;o--)o===0?(i[`${n}${t}-${o}`]={display:"none"},i[`${n}-push-${o}`]={insetInlineStart:"auto"},i[`${n}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${o}`]={marginInlineEnd:0},i[`${n}${t}-order-${o}`]={order:0}):(i[`${n}${t}-${o}`]={display:"block",flex:`0 0 ${o/r*100}%`,maxWidth:`${o/r*100}%`},i[`${n}${t}-push-${o}`]={insetInlineStart:`${o/r*100}%`},i[`${n}${t}-pull-${o}`]={insetInlineEnd:`${o/r*100}%`},i[`${n}${t}-offset-${o}`]={marginInlineStart:`${o/r*100}%`},i[`${n}${t}-order-${o}`]={order:o});return i},mP=(e,t)=>GAe(e,t),KAe=(e,t,n)=>({[`@media (min-width: ${t}px)`]:_({},mP(e,n))}),UAe=it("Grid",e=>[WAe(e)]),XAe=it("Grid",e=>{const t=Ue(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[jAe(t),mP(t,""),mP(t,"-xs"),Object.keys(n).map(r=>KAe(t,n[r],r)).reduce((r,i)=>_(_({},r),i),{})]}),YAe=()=>({align:Xe([String,Object]),justify:Xe([String,Object]),prefixCls:String,gutter:Xe([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),qAe=se({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:YAe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("row",e),[a,l]=UAe(i);let s;const u=RD(),c=ue({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),d=ue({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),f=b=>L(()=>{if(typeof e[b]=="string")return e[b];if(typeof e[b]!="object")return"";for(let S=0;S{s=u.value.subscribe(b=>{d.value=b;const S=e.gutter||0;(!Array.isArray(S)&&typeof S=="object"||Array.isArray(S)&&(typeof S[0]=="object"||typeof S[1]=="object"))&&(c.value=b)})}),ht(()=>{u.value.unsubscribe(s)});const g=L(()=>{const b=[void 0,void 0],{gutter:S=0}=e;return(Array.isArray(S)?S:[S,void 0]).forEach(($,C)=>{if(typeof $=="object")for(let T=0;Te.wrap)});const m=L(()=>ce(i.value,{[`${i.value}-no-wrap`]:e.wrap===!1,[`${i.value}-${v.value}`]:v.value,[`${i.value}-${h.value}`]:h.value,[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value)),y=L(()=>{const b=g.value,S={},x=b[0]!=null&&b[0]>0?`${b[0]/-2}px`:void 0,$=b[1]!=null&&b[1]>0?`${b[1]/-2}px`:void 0;return x&&(S.marginLeft=x,S.marginRight=x),p.value?S.rowGap=`${b[1]}px`:$&&(S.marginTop=$,S.marginBottom=$),S});return()=>{var b;return a(w("div",z(z({},r),{},{class:m.value,style:_(_({},y.value),r.style)}),[(b=n.default)===null||b===void 0?void 0:b.call(n)]))}}}),RE=qAe;function kc(){return kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=o)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return e}function nOe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function hr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||nOe(t)&&typeof e=="string"&&!e)}function rOe(e,t,n){var r=[],i=0,o=e.length;function a(l){r.push.apply(r,l||[]),i++,i===o&&n(r)}e.forEach(function(l){t(l,a)})}function KN(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},bMe=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},SMe=it("Collapse",e=>{const t=Ue(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[gMe(t),yMe(t),bMe(t),mMe(t),jm(t)]});function RN(e){let t=e;if(!Array.isArray(t)){const n=typeof t;t=n==="number"||n==="string"?[t]:[]}return t.map(n=>String(n))}const eg=se({compatConfig:{MODE:3},name:"ACollapse",inheritAttrs:!1,props:ft(pMe(),{accordion:!1,destroyInactivePanel:!1,bordered:!0,expandIconPosition:"start"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=ue(RN(aS([e.activeKey,e.defaultActiveKey])));Se(()=>e.activeKey,()=>{o.value=RN(e.activeKey)},{deep:!0});const{prefixCls:a,direction:l,rootPrefixCls:s}=Ee("collapse",e),[u,c]=SMe(a),d=L(()=>{const{expandIconPosition:m}=e;return m!==void 0?m:l.value==="rtl"?"end":"start"}),f=m=>{const{expandIcon:y=r.expandIcon}=e,b=y?y(m):w(ca,{rotate:m.isActive?90:void 0},null);return w("div",{class:[`${a.value}-expand-icon`,c.value],onClick:()=>["header","icon"].includes(e.collapsible)&&v(m.panelKey)},[zn(Array.isArray(y)?b[0]:b)?Nt(b,{class:`${a.value}-arrow`},!1):b])},h=m=>{e.activeKey===void 0&&(o.value=m);const y=e.accordion?m[0]:m;i("update:activeKey",y),i("change",y)},v=m=>{let y=o.value;if(e.accordion)y=y[0]===m?[]:[m];else{y=[...y];const b=y.indexOf(m);b>-1?y.splice(b,1):y.push(m)}h(y)},p=(m,y)=>{var b,S,x;if(Nm(m))return;const $=o.value,{accordion:C,destroyInactivePanel:T,collapsible:I,openAnimation:P}=e,M=P||Gm(`${s.value}-motion-collapse`),O=String((b=m.key)!==null&&b!==void 0?b:y),{header:D=(x=(S=m.children)===null||S===void 0?void 0:S.header)===null||x===void 0?void 0:x.call(S),headerClass:R,collapsible:A,disabled:E}=m.props||{};let k=!1;C?k=$[0]===O:k=$.indexOf(O)>-1;let N=A!=null?A:I;(E||E==="")&&(N="disabled");const B={key:O,panelKey:O,header:D,headerClass:R,isActive:k,prefixCls:a.value,destroyInactivePanel:T,openAnimation:M,accordion:C,onItemClick:N==="disabled"?null:v,expandIcon:f,collapsible:N};return Nt(m,B)},g=()=>{var m;return Jt((m=r.default)===null||m===void 0?void 0:m.call(r)).map(p)};return()=>{const{accordion:m,bordered:y,ghost:b}=e,S=ce(a.value,{[`${a.value}-borderless`]:!y,[`${a.value}-icon-position-${d.value}`]:!0,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-ghost`]:!!b,[n.class]:!!n.class},c.value);return u(w("div",z(z({class:S},ufe(n)),{},{style:n.style,role:m?"tablist":null}),[g()]))}}}),xMe=se({compatConfig:{MODE:3},name:"PanelContent",props:Iq(),setup(e,t){let{slots:n}=t;const r=ae(!1);return Ye(()=>{(e.isActive||e.forceRender)&&(r.value=!0)}),()=>{var i;if(!r.value)return null;const{prefixCls:o,isActive:a,role:l}=e;return w("div",{class:ce(`${o}-content`,{[`${o}-content-active`]:a,[`${o}-content-inactive`]:!a}),role:l},[w("div",{class:`${o}-content-box`},[(i=n.default)===null||i===void 0?void 0:i.call(n)])])}}}),CS=se({compatConfig:{MODE:3},name:"ACollapsePanel",inheritAttrs:!1,props:ft(Iq(),{showArrow:!0,isActive:!1,onItemClick(){},headerClass:"",forceRender:!1}),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;on(e.disabled===void 0,"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');const{prefixCls:o}=Ee("collapse",e),a=()=>{r("itemClick",e.panelKey)},l=s=>{(s.key==="Enter"||s.keyCode===13||s.which===13)&&a()};return()=>{var s,u;const{header:c=(s=n.header)===null||s===void 0?void 0:s.call(n),headerClass:d,isActive:f,showArrow:h,destroyInactivePanel:v,accordion:p,forceRender:g,openAnimation:m,expandIcon:y=n.expandIcon,extra:b=(u=n.extra)===null||u===void 0?void 0:u.call(n),collapsible:S}=e,x=S==="disabled",$=o.value,C=ce(`${$}-header`,{[d]:d,[`${$}-header-collapsible-only`]:S==="header",[`${$}-icon-collapsible-only`]:S==="icon"}),T=ce({[`${$}-item`]:!0,[`${$}-item-active`]:f,[`${$}-item-disabled`]:x,[`${$}-no-arrow`]:!h,[`${i.class}`]:!!i.class});let I=w("i",{class:"arrow"},null);h&&typeof y=="function"&&(I=y(e));const P=Ur(w(xMe,{prefixCls:$,isActive:f,forceRender:g,role:p?"tabpanel":null},{default:n.default}),[[hi,f]]),M=_({appear:!1,css:!1},m);return w("div",z(z({},i),{},{class:T}),[w("div",{class:C,onClick:()=>!["header","icon"].includes(S)&&a(),role:p?"tab":"button",tabindex:x?-1:0,"aria-expanded":f,onKeypress:l},[h&&I,w("span",{onClick:()=>S==="header"&&a(),class:`${$}-header-text`},[c]),b&&w("div",{class:`${$}-extra`},[b])]),w(dr,M,{default:()=>[!v||f?P:null]})])}}});eg.Panel=CS;eg.install=function(e){return e.component(eg.name,eg),e.component(CS.name,CS),e};const wMe=function(e){return e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},CMe=function(e){return/[height|width]$/.test(e)},LN=function(e){let t="";const n=Object.keys(e);return n.forEach(function(r,i){let o=e[r];r=wMe(r),CMe(r)&&typeof o=="number"&&(o=o+"px"),o===!0?t+=r:o===!1?t+="not "+r:t+="("+r+": "+o+")",i{["touchstart","touchmove","wheel"].includes(e.type)||e.preventDefault()},$S=e=>{const t=[],n=Mq(e),r=Aq(e);for(let i=n;ie.currentSlide-IMe(e),Aq=e=>e.currentSlide+PMe(e),IMe=e=>e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0,PMe=e=>e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow,hP=e=>e&&e.offsetWidth||0,IE=e=>e&&e.offsetHeight||0,Oq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;const r=e.startX-e.curX,i=e.startY-e.curY,o=Math.atan2(i,r);return n=Math.round(o*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":t===!0?n>=35&&n<=135?"up":"down":"vertical"},zw=e=>{let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},n_=(e,t)=>{const n={};return t.forEach(r=>n[r]=e[r]),n},MMe=e=>{const t=e.children.length,n=e.listRef,r=Math.ceil(hP(n)),i=e.trackRef,o=Math.ceil(hP(i));let a;if(e.vertical)a=r;else{let h=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(h*=r/100),a=Math.ceil((r-h)/e.slidesToShow)}const l=n&&IE(n.querySelector('[data-index="0"]')),s=l*e.slidesToShow;let u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=t-1-e.initialSlide);let c=e.lazyLoadedList||[];const d=$S(_(_({},e),{currentSlide:u,lazyLoadedList:c}));c=c.concat(d);const f={slideCount:t,slideWidth:a,listWidth:r,trackWidth:o,currentSlide:u,slideHeight:l,listHeight:s,lazyLoadedList:c};return e.autoplaying===null&&e.autoplay&&(f.autoplaying="playing"),f},AMe=e=>{const{waitForAnimate:t,animating:n,fade:r,infinite:i,index:o,slideCount:a,lazyLoad:l,currentSlide:s,centerMode:u,slidesToScroll:c,slidesToShow:d,useCSS:f}=e;let{lazyLoadedList:h}=e;if(t&&n)return{};let v=o,p,g,m,y={},b={};const S=i?o:fP(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?v=o+a:o>=a&&(v=o-a),l&&h.indexOf(v)<0&&(h=h.concat(v)),y={animating:!0,currentSlide:v,lazyLoadedList:h,targetSlide:v},b={animating:!1,targetSlide:v}}else p=v,v<0?(p=v+a,i?a%c!==0&&(p=a-a%c):p=0):!zw(e)&&v>s?v=p=s:u&&v>=a?(v=i?a:a-1,p=i?0:a-1):v>=a&&(p=v-a,i?a%c!==0&&(p=0):p=a-d),!i&&v+d>=a&&(p=a-d),g=qg(_(_({},e),{slideIndex:v})),m=qg(_(_({},e),{slideIndex:p})),i||(g===m&&(v=p),g=m),l&&(h=h.concat($S(_(_({},e),{currentSlide:v})))),f?(y={animating:!0,currentSlide:p,trackStyle:Dq(_(_({},e),{left:g})),lazyLoadedList:h,targetSlide:S},b={animating:!1,currentSlide:p,trackStyle:Yg(_(_({},e),{left:m})),swipeLeft:null,targetSlide:S}):y={currentSlide:p,trackStyle:Yg(_(_({},e),{left:m})),lazyLoadedList:h,targetSlide:S};return{state:y,nextState:b}},OMe=(e,t)=>{let n,r,i;const{slidesToScroll:o,slidesToShow:a,slideCount:l,currentSlide:s,targetSlide:u,lazyLoad:c,infinite:d}=e,h=l%o!==0?0:(l-s)%o;if(t.message==="previous")r=h===0?o:a-h,i=s-r,c&&!d&&(n=s-r,i=n===-1?l-1:n),d||(i=u-o);else if(t.message==="next")r=h===0?o:h,i=s+r,c&&!d&&(i=(s+o)%l+h),d||(i=u+o);else if(t.message==="dots")i=t.index*t.slidesToScroll;else if(t.message==="children"){if(i=t.index,d){const v=BMe(_(_({},e),{targetSlide:i}));i>t.currentSlide&&v==="left"?i=i-l:ie.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":e.keyCode===37?n?"next":"previous":e.keyCode===39?n?"previous":"next":"",EMe=(e,t,n)=>(e.target.tagName==="IMG"&&hh(e),!t||!n&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}),RMe=(e,t)=>{const{scrolling:n,animating:r,vertical:i,swipeToSlide:o,verticalSwiping:a,rtl:l,currentSlide:s,edgeFriction:u,edgeDragged:c,onEdge:d,swiped:f,swiping:h,slideCount:v,slidesToScroll:p,infinite:g,touchObject:m,swipeEvent:y,listHeight:b,listWidth:S}=t;if(n)return;if(r)return hh(e);i&&o&&a&&hh(e);let x,$={};const C=qg(t);m.curX=e.touches?e.touches[0].pageX:e.clientX,m.curY=e.touches?e.touches[0].pageY:e.clientY,m.swipeLength=Math.round(Math.sqrt(Math.pow(m.curX-m.startX,2)));const T=Math.round(Math.sqrt(Math.pow(m.curY-m.startY,2)));if(!a&&!h&&T>10)return{scrolling:!0};a&&(m.swipeLength=T);let I=(l?-1:1)*(m.curX>m.startX?1:-1);a&&(I=m.curY>m.startY?1:-1);const P=Math.ceil(v/p),M=Oq(t.touchObject,a);let O=m.swipeLength;return g||(s===0&&(M==="right"||M==="down")||s+1>=P&&(M==="left"||M==="up")||!zw(t)&&(M==="left"||M==="up"))&&(O=m.swipeLength*u,c===!1&&d&&(d(M),$.edgeDragged=!0)),!f&&y&&(y(M),$.swiped=!0),i?x=C+O*(b/S)*I:l?x=C-O*I:x=C+O*I,a&&(x=C+O*I),$=_(_({},$),{touchObject:m,swipeLeft:x,trackStyle:Yg(_(_({},t),{left:x}))}),Math.abs(m.curX-m.startX)10&&($.swiping=!0,hh(e)),$},LMe=(e,t)=>{const{dragging:n,swipe:r,touchObject:i,listWidth:o,touchThreshold:a,verticalSwiping:l,listHeight:s,swipeToSlide:u,scrolling:c,onSwipe:d,targetSlide:f,currentSlide:h,infinite:v}=t;if(!n)return r&&hh(e),{};const p=l?s/a:o/a,g=Oq(i,l),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!i.swipeLength)return m;if(i.swipeLength>p){hh(e),d&&d(g);let y,b;const S=v?h:f;switch(g){case"left":case"up":b=S+kN(t),y=u?NN(t,b):b,m.currentDirection=0;break;case"right":case"down":b=S-kN(t),y=u?NN(t,b):b,m.currentDirection=1;break;default:y=S}m.triggerSlideHandler=y}else{const y=qg(t);m.trackStyle=Dq(_(_({},t),{left:y}))}return m},NMe=e=>{const t=e.infinite?e.slideCount*2:e.slideCount;let n=e.infinite?e.slidesToShow*-1:0,r=e.infinite?e.slidesToShow*-1:0;const i=[];for(;n{const n=NMe(e);let r=0;if(t>n[n.length-1])t=n[n.length-1];else for(const i in n){if(t{const t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){let n;const r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every(l=>{if(e.vertical){if(l.offsetTop+IE(l)/2>e.swipeLeft*-1)return n=l,!1}else if(l.offsetLeft-t+hP(l)/2>e.swipeLeft*-1)return n=l,!1;return!0}),!n)return 0;const o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}else return e.slidesToScroll},PE=(e,t)=>t.reduce((n,r)=>n&&e.hasOwnProperty(r),!0)?null:console.error("Keys Missing:",e),Yg=e=>{PE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);let t,n;const r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=kMe(e)*e.slideWidth;let i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=_(_({},i),{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t+"px"),n&&(i.height=n+"px"),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},Dq=e=>{PE(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);const t=Yg(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},qg=e=>{if(e.unslick)return 0;PE(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);const{slideIndex:t,trackRef:n,infinite:r,centerMode:i,slideCount:o,slidesToShow:a,slidesToScroll:l,slideWidth:s,listWidth:u,variableWidth:c,slideHeight:d,fade:f,vertical:h}=e;let v=0,p,g,m=0;if(f||e.slideCount===1)return 0;let y=0;if(r?(y=-El(e),o%l!==0&&t+l>o&&(y=-(t>o?a-(t-o):o%l)),i&&(y+=parseInt(a/2))):(o%l!==0&&t+l>o&&(y=a-o%l),i&&(y=parseInt(a/2))),v=y*s,m=y*d,h?p=t*d*-1+m:p=t*s*-1+v,c===!0){let b;const S=n;if(b=t+El(e),g=S&&S.childNodes[b],p=g?g.offsetLeft*-1:0,i===!0){b=r?t+El(e):t,g=S&&S.children[b],p=0;for(let x=0;xe.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0),Eb=e=>e.unslick||!e.infinite?0:e.slideCount,kMe=e=>e.slideCount===1?1:El(e)+e.slideCount+Eb(e),BMe=e=>e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+FMe(e)?"left":"right":e.targetSlide{let{slidesToShow:t,centerMode:n,rtl:r,centerPadding:i}=e;if(n){let o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2===0&&(o+=1),o}return r?0:t-1},zMe=e=>{let{slidesToShow:t,centerMode:n,rtl:r,centerPadding:i}=e;if(n){let o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),!r&&t%2===0&&(o+=1),o}return r?t-1:0},BN=()=>!!(typeof window!="undefined"&&window.document&&window.document.createElement),r_=e=>{let t,n,r,i;e.rtl?i=e.slideCount-1-e.index:i=e.index;const o=i<0||i>=e.slideCount;e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount===0,i>e.currentSlide-r-1&&i<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?a=e.targetSlide-e.slideCount:a=e.targetSlide,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":i===a}},HMe=function(e){const t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth+(typeof e.slideWidth=="number"?"px":"")),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight)+"px":t.left=-e.index*parseInt(e.slideWidth)+"px",t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},i_=(e,t)=>e.key+"-"+t,VMe=function(e,t){let n;const r=[],i=[],o=[],a=t.length,l=Mq(e),s=Aq(e);return t.forEach((u,c)=>{let d;const f={message:"children",index:c,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(c)>=0?d=u:d=w("div");const h=HMe(_(_({},e),{index:c})),v=d.props.class||"";let p=r_(_(_({},e),{index:c}));if(r.push(Xp(d,{key:"original"+i_(d,c),tabindex:"-1","data-index":c,"aria-hidden":!p["slick-active"],class:ce(p,v),style:_(_({outline:"none"},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&e.fade===!1){const g=a-c;g<=El(e)&&a!==e.slidesToShow&&(n=-g,n>=l&&(d=u),p=r_(_(_({},e),{index:n})),i.push(Xp(d,{key:"precloned"+i_(d,n),class:ce(p,v),tabindex:"-1","data-index":n,"aria-hidden":!p["slick-active"],style:_(_({},d.props.style||{}),h),onClick:()=>{e.focusOnSelect&&e.focusOnSelect(f)}}))),a!==e.slidesToShow&&(n=a+c,n{e.focusOnSelect&&e.focusOnSelect(f)}})))}}),e.rtl?i.concat(r,o).reverse():i.concat(r,o)},Eq=(e,t)=>{let{attrs:n,slots:r}=t;const i=VMe(n,Jt(r==null?void 0:r.default())),{onMouseenter:o,onMouseover:a,onMouseleave:l}=n,s={onMouseenter:o,onMouseover:a,onMouseleave:l},u=_({class:"slick-track",style:n.trackStyle},s);return w("div",u,[i])};Eq.inheritAttrs=!1;const WMe=Eq,jMe=function(e){let t;return e.infinite?t=Math.ceil(e.slideCount/e.slidesToScroll):t=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,t},Rq=(e,t)=>{let{attrs:n}=t;const{slideCount:r,slidesToScroll:i,slidesToShow:o,infinite:a,currentSlide:l,appendDots:s,customPaging:u,clickHandler:c,dotsClass:d,onMouseenter:f,onMouseover:h,onMouseleave:v}=n,p=jMe({slideCount:r,slidesToScroll:i,slidesToShow:o,infinite:a}),g={onMouseenter:f,onMouseover:h,onMouseleave:v};let m=[];for(let y=0;y=$&&l<=S:l===$}),T={message:"dots",index:y,slidesToScroll:i,currentSlide:l};m=m.concat(w("li",{key:y,class:C},[Nt(u({i:y}),{onClick:I})]))}return Nt(s({dots:m}),_({class:d},g))};Rq.inheritAttrs=!1;const GMe=Rq;function Lq(){}function Nq(e,t,n){n&&n.preventDefault(),t(e,n)}const kq=(e,t)=>{let{attrs:n}=t;const{clickHandler:r,infinite:i,currentSlide:o,slideCount:a,slidesToShow:l}=n,s={"slick-arrow":!0,"slick-prev":!0};let u=function(h){Nq({message:"previous"},r,h)};!i&&(o===0||a<=l)&&(s["slick-disabled"]=!0,u=Lq);const c={key:"0","data-role":"none",class:s,style:{display:"block"},onClick:u},d={currentSlide:o,slideCount:a};let f;return n.prevArrow?f=Nt(n.prevArrow(_(_({},c),d)),{key:"0",class:s,style:{display:"block"},onClick:u},!1):f=w("button",z({key:"0",type:"button"},c),[" ",Gr("Previous")]),f};kq.inheritAttrs=!1;const Bq=(e,t)=>{let{attrs:n}=t;const{clickHandler:r,currentSlide:i,slideCount:o}=n,a={"slick-arrow":!0,"slick-next":!0};let l=function(d){Nq({message:"next"},r,d)};zw(n)||(a["slick-disabled"]=!0,l=Lq);const s={key:"1","data-role":"none",class:ce(a),style:{display:"block"},onClick:l},u={currentSlide:i,slideCount:o};let c;return n.nextArrow?c=Nt(n.nextArrow(_(_({},s),u)),{key:"1",class:ce(a),style:{display:"block"},onClick:l},!1):c=w("button",z({key:"1",type:"button"},s),[" ",Gr("Next")]),c};Bq.inheritAttrs=!1;var KMe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.currentSlide>=e.children.length&&this.changeSlide({message:"index",index:e.children.length-e.slidesToShow,currentSlide:this.currentSlide}),!this.preProps.autoplay&&e.autoplay?this.handleAutoPlay("playing"):e.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.preProps=_({},e)}},mounted(){if(this.__emit("init"),this.lazyLoad){const e=$S(_(_({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e))}this.$nextTick(()=>{const e=_({listRef:this.list,trackRef:this.track,children:this.children},this.$props);this.updateState(e,!0,()=>{this.adaptHeight(),this.autoplay&&this.handleAutoPlay("playing")}),this.lazyLoad==="progressive"&&(this.lazyLoadTimer=setInterval(this.progressiveLazyLoad,1e3)),this.ro=new hO(()=>{this.animating?(this.onWindowResized(!1),this.callbackTimers.push(setTimeout(()=>this.onWindowResized(),this.speed))):this.onWindowResized()}),this.ro.observe(this.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),t=>{t.onfocus=this.$props.pauseOnFocus?this.onSlideFocus:null,t.onblur=this.$props.pauseOnFocus?this.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)})},beforeUnmount(){var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.lazyLoadTimer&&clearInterval(this.lazyLoadTimer),this.callbackTimers.length&&(this.callbackTimers.forEach(t=>clearTimeout(t)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),this.autoplayTimer&&clearInterval(this.autoplayTimer),(e=this.ro)===null||e===void 0||e.disconnect()},updated(){if(this.checkImagesLoad(),this.__emit("reInit"),this.lazyLoad){const e=$S(_(_({},this.$props),this.$data));e.length>0&&(this.setState(t=>({lazyLoadedList:t.lazyLoadedList.concat(e)})),this.__emit("lazyLoad"))}this.adaptHeight()},methods:{listRefHandler(e){this.list=e},trackRefHandler(e){this.track=e},adaptHeight(){if(this.adaptiveHeight&&this.list){const e=this.list.querySelector(`[data-index="${this.currentSlide}"]`);this.list.style.height=IE(e)+"px"}},onWindowResized(e){this.debouncedResize&&this.debouncedResize.cancel(),this.debouncedResize=xD(()=>this.resizeWindow(e),50),this.debouncedResize()},resizeWindow(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!!!this.track)return;const n=_(_({listRef:this.list,trackRef:this.track,children:this.children},this.$props),this.$data);this.updateState(n,e,()=>{this.autoplay?this.handleAutoPlay("update"):this.pause("paused")}),this.setState({animating:!1}),clearTimeout(this.animationEndCallback),delete this.animationEndCallback},updateState(e,t,n){const r=MMe(e);e=_(_(_({},e),r),{slideIndex:r.currentSlide});const i=qg(e);e=_(_({},e),{left:i});const o=Yg(e);(t||this.children.length!==e.children.length)&&(r.trackStyle=o),this.setState(r,n)},ssrInit(){const e=this.children;if(this.variableWidth){let s=0,u=0;const c=[],d=El(_(_(_({},this.$props),this.$data),{slideCount:e.length})),f=Eb(_(_(_({},this.$props),this.$data),{slideCount:e.length}));e.forEach(v=>{var p,g;const m=((g=(p=v.props.style)===null||p===void 0?void 0:p.width)===null||g===void 0?void 0:g.split("px")[0])||0;c.push(m),s+=m});for(let v=0;v{const i=()=>++n&&n>=t&&this.onWindowResized();if(!r.onclick)r.onclick=()=>r.parentNode.focus();else{const o=r.onclick;r.onclick=()=>{o(),r.parentNode.focus()}}r.onload||(this.$props.lazyLoad?r.onload=()=>{this.adaptHeight(),this.callbackTimers.push(setTimeout(this.onWindowResized,this.speed))}:(r.onload=i,r.onerror=()=>{i(),this.__emit("lazyLoadError")}))})},progressiveLazyLoad(){const e=[],t=_(_({},this.$props),this.$data);for(let n=this.currentSlide;n=-El(t);n--)if(this.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(this.setState(n=>({lazyLoadedList:n.lazyLoadedList.concat(e)})),this.__emit("lazyLoad",e)):this.lazyLoadTimer&&(clearInterval(this.lazyLoadTimer),delete this.lazyLoadTimer)},slideHandler(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{asNavFor:n,beforeChange:r,speed:i,afterChange:o}=this.$props,{state:a,nextState:l}=AMe(_(_(_({index:e},this.$props),this.$data),{trackRef:this.track,useCSS:this.useCSS&&!t}));if(!a)return;r&&r(this.currentSlide,a.currentSlide);const s=a.lazyLoadedList.filter(u=>this.lazyLoadedList.indexOf(u)<0);this.$attrs.onLazyLoad&&s.length>0&&this.__emit("lazyLoad",s),!this.$props.waitForAnimate&&this.animationEndCallback&&(clearTimeout(this.animationEndCallback),o&&o(this.currentSlide),delete this.animationEndCallback),this.setState(a,()=>{n&&this.asNavForIndex!==e&&(this.asNavForIndex=e,n.innerSlider.slideHandler(e)),l&&(this.animationEndCallback=setTimeout(()=>{const{animating:u}=l,c=KMe(l,["animating"]);this.setState(c,()=>{this.callbackTimers.push(setTimeout(()=>this.setState({animating:u}),10)),o&&o(a.currentSlide),delete this.animationEndCallback})},i))})},changeSlide(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=_(_({},this.$props),this.$data),r=OMe(n,e);if(!(r!==0&&!r)&&(t===!0?this.slideHandler(r,t):this.slideHandler(r),this.$props.autoplay&&this.handleAutoPlay("update"),this.$props.focusOnSelect)){const i=this.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}},clickHandler(e){this.clickable===!1&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},keyHandler(e){const t=DMe(e,this.accessibility,this.rtl);t!==""&&this.changeSlide({message:t})},selectHandler(e){this.changeSlide(e)},disableBodyScroll(){const e=t=>{t=t||window.event,t.preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},enableBodyScroll(){window.ontouchmove=null},swipeStart(e){this.verticalSwiping&&this.disableBodyScroll();const t=EMe(e,this.swipe,this.draggable);t!==""&&this.setState(t)},swipeMove(e){const t=RMe(e,_(_(_({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));t&&(t.swiping&&(this.clickable=!1),this.setState(t))},swipeEnd(e){const t=LMe(e,_(_(_({},this.$props),this.$data),{trackRef:this.track,listRef:this.list,slideIndex:this.currentSlide}));if(!t)return;const n=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),n!==void 0&&(this.slideHandler(n),this.$props.verticalSwiping&&this.enableBodyScroll())},touchEnd(e){this.swipeEnd(e),this.clickable=!0},slickPrev(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"previous"}),0))},slickNext(){this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"next"}),0))},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e=Number(e),isNaN(e))return"";this.callbackTimers.push(setTimeout(()=>this.changeSlide({message:"index",index:e,currentSlide:this.currentSlide},t),0))},play(){let e;if(this.rtl)e=this.currentSlide-this.slidesToScroll;else if(zw(_(_({},this.$props),this.$data)))e=this.currentSlide+this.slidesToScroll;else return!1;this.slideHandler(e)},handleAutoPlay(e){this.autoplayTimer&&clearInterval(this.autoplayTimer);const t=this.autoplaying;if(e==="update"){if(t==="hovered"||t==="focused"||t==="paused")return}else if(e==="leave"){if(t==="paused"||t==="focused")return}else if(e==="blur"&&(t==="paused"||t==="hovered"))return;this.autoplayTimer=setInterval(this.play,this.autoplaySpeed+50),this.setState({autoplaying:"playing"})},pause(e){this.autoplayTimer&&(clearInterval(this.autoplayTimer),this.autoplayTimer=null);const t=this.autoplaying;e==="paused"?this.setState({autoplaying:"paused"}):e==="focused"?(t==="hovered"||t==="playing")&&this.setState({autoplaying:"focused"}):t==="playing"&&this.setState({autoplaying:"hovered"})},onDotsOver(){this.autoplay&&this.pause("hovered")},onDotsLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onTrackOver(){this.autoplay&&this.pause("hovered")},onTrackLeave(){this.autoplay&&this.autoplaying==="hovered"&&this.handleAutoPlay("leave")},onSlideFocus(){this.autoplay&&this.pause("focused")},onSlideBlur(){this.autoplay&&this.autoplaying==="focused"&&this.handleAutoPlay("blur")},customPaging(e){let{i:t}=e;return w("button",null,[t+1])},appendDots(e){let{dots:t}=e;return w("ul",{style:{display:"block"}},[t])}},render(){const e=ce("slick-slider",this.$attrs.class,{"slick-vertical":this.vertical,"slick-initialized":!0}),t=_(_({},this.$props),this.$data);let n=n_(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]);const{pauseOnHover:r}=this.$props;n=_(_({},n),{focusOnSelect:this.focusOnSelect&&this.clickable?this.selectHandler:null,ref:this.trackRefHandler,onMouseleave:r?this.onTrackLeave:zi,onMouseover:r?this.onTrackOver:zi});let i;if(this.dots===!0&&this.slideCount>=this.slidesToShow){let g=n_(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","infinite","appendDots"]);g.customPaging=this.customPaging,g.appendDots=this.appendDots;const{customPaging:m,appendDots:y}=this.$slots;m&&(g.customPaging=m),y&&(g.appendDots=y);const{pauseOnDotsHover:b}=this.$props;g=_(_({},g),{clickHandler:this.changeSlide,onMouseover:b?this.onDotsOver:zi,onMouseleave:b?this.onDotsLeave:zi}),i=w(GMe,g,null)}let o,a;const l=n_(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow"]);l.clickHandler=this.changeSlide;const{prevArrow:s,nextArrow:u}=this.$slots;s&&(l.prevArrow=s),u&&(l.nextArrow=u),this.arrows&&(o=w(kq,l,null),a=w(Bq,l,null));let c=null;this.vertical&&(c={height:typeof this.listHeight=="number"?`${this.listHeight}px`:this.listHeight});let d=null;this.vertical===!1?this.centerMode===!0&&(d={padding:"0px "+this.centerPadding}):this.centerMode===!0&&(d={padding:this.centerPadding+" 0px"});const f=_(_({},c),d),h=this.touchMove;let v={ref:this.listRefHandler,class:"slick-list",style:f,onClick:this.clickHandler,onMousedown:h?this.swipeStart:zi,onMousemove:this.dragging&&h?this.swipeMove:zi,onMouseup:h?this.swipeEnd:zi,onMouseleave:this.dragging&&h?this.swipeEnd:zi,[tr?"onTouchstartPassive":"onTouchstart"]:h?this.swipeStart:zi,[tr?"onTouchmovePassive":"onTouchmove"]:this.dragging&&h?this.swipeMove:zi,onTouchend:h?this.touchEnd:zi,onTouchcancel:this.dragging&&h?this.swipeEnd:zi,onKeydown:this.accessibility?this.keyHandler:zi},p={class:e,dir:"ltr",style:this.$attrs.style};return this.unslick&&(v={class:"slick-list",ref:this.listRefHandler},p={class:e}),w("div",p,[this.unslick?"":o,w("div",v,[w(WMe,n,{default:()=>[this.children]})]),this.unslick?"":a,this.unslick?"":i])}},XMe=se({name:"Slider",mixins:[Ld],inheritAttrs:!1,props:_({},Pq),data(){return this._responsiveMediaHandlers=[],{breakpoint:null}},mounted(){if(this.responsive){const e=this.responsive.map(n=>n.breakpoint);e.sort((n,r)=>n-r),e.forEach((n,r)=>{let i;r===0?i=t_({minWidth:0,maxWidth:n}):i=t_({minWidth:e[r-1]+1,maxWidth:n}),BN()&&this.media(i,()=>{this.setState({breakpoint:n})})});const t=t_({minWidth:e.slice(-1)[0]});BN()&&this.media(t,()=>{this.setState({breakpoint:null})})}},beforeUnmount(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})},methods:{innerSliderRefHandler(e){this.innerSlider=e},media(e,t){const n=window.matchMedia(e),r=i=>{let{matches:o}=i;o&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})},slickPrev(){var e;(e=this.innerSlider)===null||e===void 0||e.slickPrev()},slickNext(){var e;(e=this.innerSlider)===null||e===void 0||e.slickNext()},slickGoTo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var n;(n=this.innerSlider)===null||n===void 0||n.slickGoTo(e,t)},slickPause(){var e;(e=this.innerSlider)===null||e===void 0||e.pause("paused")},slickPlay(){var e;(e=this.innerSlider)===null||e===void 0||e.handleAutoPlay("play")}},render(){var e;let t,n;this.breakpoint?(n=this.responsive.filter(l=>l.breakpoint===this.breakpoint),t=n[0].settings==="unslick"?"unslick":_(_({},this.$props),n[0].settings)):t=_({},this.$props),t.centerMode&&(t.slidesToScroll>1,t.slidesToScroll=1),t.fade&&(t.slidesToShow>1,t.slidesToScroll>1,t.slidesToShow=1,t.slidesToScroll=1);let r=qx(this)||[];r=r.filter(l=>typeof l=="string"?!!l.trim():!!l),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);const i=[];let o=null;for(let l=0;l=r.length));d+=1)c.push(Nt(r[d],{key:100*l+10*u+d,tabindex:-1,style:{width:`${100/t.slidesPerRow}%`,display:"inline-block"}}));s.push(w("div",{key:10*l+u},[c]))}t.variableWidth?i.push(w("div",{key:l,style:{width:o}},[s])):i.push(w("div",{key:l},[s]))}if(t==="unslick"){const l="regular slider "+(this.className||"");return w("div",{class:l},[r])}else i.length<=t.slidesToShow&&(t.unslick=!0);const a=_(_(_({},this.$attrs),t),{children:i,ref:this.innerSliderRefHandler});return w(UMe,z(z({},a),{},{__propsSymbol__:[]}),this.$slots)}}),YMe=e=>{const{componentCls:t,antCls:n,carouselArrowSize:r,carouselDotOffset:i,marginXXS:o}=e,a=-r*1.25,l=o;return{[t]:_(_({},st(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:r,height:r,marginTop:-r/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:i},"&-top":{top:i,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:l,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-l,content:'""'}},"&.slick-active":{width:e.dotWidthActive,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},qMe=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:r}=e,i={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:_(_({},i),{margin:`${r}px 0`,verticalAlign:"baseline",button:i,"&.slick-active":_(_({},i),{button:i})})}}}},ZMe=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},QMe=it("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:n}=e,r=Ue(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[YMe(r),qMe(r),ZMe(r)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var JMe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({effect:je(),dots:$e(!0),vertical:$e(),autoplay:$e(),easing:String,beforeChange:be(),afterChange:be(),prefixCls:String,accessibility:$e(),nextArrow:U.any,prevArrow:U.any,pauseOnHover:$e(),adaptiveHeight:$e(),arrows:$e(!1),autoplaySpeed:Number,centerMode:$e(),centerPadding:String,cssEase:String,dotsClass:String,draggable:$e(!1),fade:$e(),focusOnSelect:$e(),infinite:$e(),initialSlide:Number,lazyLoad:je(),rtl:$e(),slide:String,slidesToShow:Number,slidesToScroll:Number,speed:Number,swipe:$e(),swipeToSlide:$e(),swipeEvent:be(),touchMove:$e(),touchThreshold:Number,variableWidth:$e(),useCSS:$e(),slickGoTo:Number,responsive:Array,dotPosition:je(),verticalSwiping:$e(!1)}),tAe=se({compatConfig:{MODE:3},name:"ACarousel",inheritAttrs:!1,props:eAe(),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ue();i({goTo:function(v){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var g;(g=o.value)===null||g===void 0||g.slickGoTo(v,p)},autoplay:v=>{var p,g;(g=(p=o.value)===null||p===void 0?void 0:p.innerSlider)===null||g===void 0||g.handleAutoPlay(v)},prev:()=>{var v;(v=o.value)===null||v===void 0||v.slickPrev()},next:()=>{var v;(v=o.value)===null||v===void 0||v.slickNext()},innerSlider:L(()=>{var v;return(v=o.value)===null||v===void 0?void 0:v.innerSlider})}),Ye(()=>{vn(e.vertical===void 0)});const{prefixCls:l,direction:s}=Ee("carousel",e),[u,c]=QMe(l),d=L(()=>e.dotPosition?e.dotPosition:e.vertical!==void 0&&e.vertical?"right":"bottom"),f=L(()=>d.value==="left"||d.value==="right"),h=L(()=>{const v="slick-dots";return ce({[v]:!0,[`${v}-${d.value}`]:!0,[`${e.dotsClass}`]:!!e.dotsClass})});return()=>{const{dots:v,arrows:p,draggable:g,effect:m}=e,{class:y,style:b}=r,S=JMe(r,["class","style"]),x=m==="fade"?!0:e.fade,$=ce(l.value,{[`${l.value}-rtl`]:s.value==="rtl",[`${l.value}-vertical`]:f.value,[`${y}`]:!!y},c.value);return u(w("div",{class:$,style:b},[w(XMe,z(z(z({ref:o},e),S),{},{dots:!!v,dotsClass:h.value,arrows:p,draggable:g,fade:x,vertical:f.value}),n)]))}}}),nAe=gn(tAe),ME="__RC_CASCADER_SPLIT__",Fq="SHOW_PARENT",zq="SHOW_CHILD";function ru(e){return e.join(ME)}function Gf(e){return e.map(ru)}function rAe(e){return e.split(ME)}function iAe(e){const{label:t,value:n,children:r}=e||{},i=n||"value";return{label:t||"label",value:i,key:i,children:r||"children"}}function bp(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((r=e[t.children])===null||r===void 0)&&r.length)}function oAe(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}const Hq=Symbol("TreeContextKey"),aAe=se({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return at(Hq,L(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),AE=()=>Je(Hq,L(()=>({}))),Vq=Symbol("KeysStateKey"),lAe=e=>{at(Vq,e)},Wq=()=>Je(Vq,{expandedKeys:ae([]),selectedKeys:ae([]),loadedKeys:ae([]),loadingKeys:ae([]),checkedKeys:ae([]),halfCheckedKeys:ae([]),expandedKeysSet:L(()=>new Set),selectedKeysSet:L(()=>new Set),loadedKeysSet:L(()=>new Set),loadingKeysSet:L(()=>new Set),checkedKeysSet:L(()=>new Set),halfCheckedKeysSet:L(()=>new Set),flattenNodes:ae([])}),sAe=e=>{let{prefixCls:t,level:n,isStart:r,isEnd:i}=e;const o=`${t}-indent-unit`,a=[];for(let l=0;l({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:U.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:U.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:U.any,switcherIcon:U.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var dAe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i"`v-slot:"+ve+"` ")}`;const o=ae(!1),a=AE(),{expandedKeysSet:l,selectedKeysSet:s,loadedKeysSet:u,loadingKeysSet:c,checkedKeysSet:d,halfCheckedKeysSet:f}=Wq(),{dragOverNodeKey:h,dropPosition:v,keyEntities:p}=a.value,g=L(()=>Rb(e.eventKey,{expandedKeysSet:l.value,selectedKeysSet:s.value,loadedKeysSet:u.value,loadingKeysSet:c.value,checkedKeysSet:d.value,halfCheckedKeysSet:f.value,dragOverNodeKey:h,dropPosition:v,keyEntities:p})),m=ji(()=>g.value.expanded),y=ji(()=>g.value.selected),b=ji(()=>g.value.checked),S=ji(()=>g.value.loaded),x=ji(()=>g.value.loading),$=ji(()=>g.value.halfChecked),C=ji(()=>g.value.dragOver),T=ji(()=>g.value.dragOverGapTop),I=ji(()=>g.value.dragOverGapBottom),P=ji(()=>g.value.pos),M=ae(),O=L(()=>{const{eventKey:ve}=e,{keyEntities:fe}=a.value,{children:ye}=fe[ve]||{};return!!(ye||[]).length}),D=L(()=>{const{isLeaf:ve}=e,{loadData:fe}=a.value,ye=O.value;return ve===!1?!1:ve||!fe&&!ye||fe&&S.value&&!ye}),R=L(()=>D.value?null:m.value?FN:zN),A=L(()=>{const{disabled:ve}=e,{disabled:fe}=a.value;return!!(fe||ve)}),E=L(()=>{const{checkable:ve}=e,{checkable:fe}=a.value;return!fe||ve===!1?!1:fe}),k=L(()=>{const{selectable:ve}=e,{selectable:fe}=a.value;return typeof ve=="boolean"?ve:fe}),N=L(()=>{const{data:ve,active:fe,checkable:ye,disableCheckbox:Me,disabled:De,selectable:Be}=e;return _(_({active:fe,checkable:ye,disableCheckbox:Me,disabled:De,selectable:Be},ve),{dataRef:ve,data:ve,isLeaf:D.value,checked:b.value,expanded:m.value,loading:x.value,selected:y.value,halfChecked:$.value})}),B=gr(),F=L(()=>{const{eventKey:ve}=e,{keyEntities:fe}=a.value,{parent:ye}=fe[ve]||{};return _(_({},Lb(_({},e,g.value))),{parent:ye})}),H=Bt({eventData:F,eventKey:L(()=>e.eventKey),selectHandle:M,pos:P,key:B.vnode.key});i(H);const V=ve=>{const{onNodeDoubleClick:fe}=a.value;fe(ve,F.value)},X=ve=>{if(A.value)return;const{onNodeSelect:fe}=a.value;ve.preventDefault(),fe(ve,F.value)},Q=ve=>{if(A.value)return;const{disableCheckbox:fe}=e,{onNodeCheck:ye}=a.value;if(!E.value||fe)return;ve.preventDefault();const Me=!b.value;ye(ve,F.value,Me)},K=ve=>{const{onNodeClick:fe}=a.value;fe(ve,F.value),k.value?X(ve):Q(ve)},te=ve=>{const{onNodeMouseEnter:fe}=a.value;fe(ve,F.value)},q=ve=>{const{onNodeMouseLeave:fe}=a.value;fe(ve,F.value)},ee=ve=>{const{onNodeContextMenu:fe}=a.value;fe(ve,F.value)},J=ve=>{const{onNodeDragStart:fe}=a.value;ve.stopPropagation(),o.value=!0,fe(ve,H);try{ve.dataTransfer.setData("text/plain","")}catch(ye){}},G=ve=>{const{onNodeDragEnter:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),fe(ve,H)},Y=ve=>{const{onNodeDragOver:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),fe(ve,H)},oe=ve=>{const{onNodeDragLeave:fe}=a.value;ve.stopPropagation(),fe(ve,H)},W=ve=>{const{onNodeDragEnd:fe}=a.value;ve.stopPropagation(),o.value=!1,fe(ve,H)},Z=ve=>{const{onNodeDrop:fe}=a.value;ve.preventDefault(),ve.stopPropagation(),o.value=!1,fe(ve,H)},ne=ve=>{const{onNodeExpand:fe}=a.value;x.value||fe(ve,F.value)},re=()=>{const{data:ve}=e,{draggable:fe}=a.value;return!!(fe&&(!fe.nodeDraggable||fe.nodeDraggable(ve)))},le=()=>{const{draggable:ve,prefixCls:fe}=a.value;return ve&&(ve!=null&&ve.icon)?w("span",{class:`${fe}-draggable-icon`},[ve.icon]):null},ie=()=>{var ve,fe,ye;const{switcherIcon:Me=r.switcherIcon||((ve=a.value.slots)===null||ve===void 0?void 0:ve[(ye=(fe=e.data)===null||fe===void 0?void 0:fe.slots)===null||ye===void 0?void 0:ye.switcherIcon])}=e,{switcherIcon:De}=a.value,Be=Me||De;return typeof Be=="function"?Be(N.value):Be},de=()=>{const{loadData:ve,onNodeLoad:fe}=a.value;x.value||ve&&m.value&&!D.value&&!O.value&&!S.value&&fe(F.value)};tt(()=>{de()}),Qr(()=>{de()});const pe=()=>{const{prefixCls:ve}=a.value,fe=ie();if(D.value)return fe!==!1?w("span",{class:ce(`${ve}-switcher`,`${ve}-switcher-noop`)},[fe]):null;const ye=ce(`${ve}-switcher`,`${ve}-switcher_${m.value?FN:zN}`);return fe!==!1?w("span",{onClick:ne,class:ye},[fe]):null},me=()=>{var ve,fe;const{disableCheckbox:ye}=e,{prefixCls:Me}=a.value,De=A.value;return E.value?w("span",{class:ce(`${Me}-checkbox`,b.value&&`${Me}-checkbox-checked`,!b.value&&$.value&&`${Me}-checkbox-indeterminate`,(De||ye)&&`${Me}-checkbox-disabled`),onClick:Q},[(fe=(ve=a.value).customCheckable)===null||fe===void 0?void 0:fe.call(ve)]):null},he=()=>{const{prefixCls:ve}=a.value;return w("span",{class:ce(`${ve}-iconEle`,`${ve}-icon__${R.value||"docu"}`,x.value&&`${ve}-icon_loading`)},null)},xe=()=>{const{disabled:ve,eventKey:fe}=e,{draggable:ye,dropLevelOffset:Me,dropPosition:De,prefixCls:Be,indent:we,dropIndicatorRender:_e,dragOverNodeKey:Ie,direction:Le}=a.value;return!ve&&ye!==!1&&Ie===fe?_e({dropPosition:De,dropLevelOffset:Me,indent:we,prefixCls:Be,direction:Le}):null},Ce=()=>{var ve,fe,ye,Me,De,Be;const{icon:we=r.icon,data:_e}=e,Ie=r.title||((ve=a.value.slots)===null||ve===void 0?void 0:ve[(ye=(fe=e.data)===null||fe===void 0?void 0:fe.slots)===null||ye===void 0?void 0:ye.title])||((Me=a.value.slots)===null||Me===void 0?void 0:Me.title)||e.title,{prefixCls:Le,showIcon:Ke,icon:ke,loadData:We}=a.value,gt=A.value,Dt=`${Le}-node-content-wrapper`;let At;if(Ke){const Wn=we||((De=a.value.slots)===null||De===void 0?void 0:De[(Be=_e==null?void 0:_e.slots)===null||Be===void 0?void 0:Be.icon])||ke;At=Wn?w("span",{class:ce(`${Le}-iconEle`,`${Le}-icon__customize`)},[typeof Wn=="function"?Wn(N.value):Wn]):he()}else We&&x.value&&(At=he());let kt;typeof Ie=="function"?kt=Ie(N.value):kt=Ie,kt=kt===void 0?fAe:kt;const Ut=w("span",{class:`${Le}-title`},[kt]);return w("span",{ref:M,title:typeof Ie=="string"?Ie:"",class:ce(`${Dt}`,`${Dt}-${R.value||"normal"}`,!gt&&(y.value||o.value)&&`${Le}-node-selected`),onMouseenter:te,onMouseleave:q,onContextmenu:ee,onClick:K,onDblclick:V},[At,Ut,xe()])};return()=>{const ve=_(_({},e),n),{eventKey:fe,isLeaf:ye,isStart:Me,isEnd:De,domRef:Be,active:we,data:_e,onMousemove:Ie,selectable:Le}=ve,Ke=dAe(ve,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:ke,filterTreeNode:We,keyEntities:gt,dropContainerKey:Dt,dropTargetKey:At,draggingNodeKey:kt}=a.value,Ut=A.value,Wn=Mu(Ke,{aria:!0,data:!0}),{level:Zn}=gt[fe]||{},or=De[De.length-1],On=re(),Rr=!Ut&&On,yi=kt===fe,ro=Le!==void 0?{"aria-selected":!!Le}:void 0;return w("div",z(z({ref:Be,class:ce(n.class,`${ke}-treenode`,{[`${ke}-treenode-disabled`]:Ut,[`${ke}-treenode-switcher-${m.value?"open":"close"}`]:!ye,[`${ke}-treenode-checkbox-checked`]:b.value,[`${ke}-treenode-checkbox-indeterminate`]:$.value,[`${ke}-treenode-selected`]:y.value,[`${ke}-treenode-loading`]:x.value,[`${ke}-treenode-active`]:we,[`${ke}-treenode-leaf-last`]:or,[`${ke}-treenode-draggable`]:Rr,dragging:yi,"drop-target":At===fe,"drop-container":Dt===fe,"drag-over":!Ut&&C.value,"drag-over-gap-top":!Ut&&T.value,"drag-over-gap-bottom":!Ut&&I.value,"filter-node":We&&We(F.value)}),style:n.style,draggable:Rr,"aria-grabbed":yi,onDragstart:Rr?J:void 0,onDragenter:On?G:void 0,onDragover:On?Y:void 0,onDragleave:On?oe:void 0,onDrop:On?Z:void 0,onDragend:On?W:void 0,onMousemove:Ie},ro),Wn),[w(uAe,{prefixCls:ke,level:Zn,isStart:Me,isEnd:De},null),le(),pe(),me(),Ce()])}}});globalThis&&globalThis.__rest;function Ta(e,t){if(!e)return[];const n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function yl(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function OE(e){return e.split("-")}function Kq(e,t){return`${e}-${t}`}function hAe(e){return e&&e.type&&e.type.isTreeNode}function vAe(e,t){const n=[],r=t[e];function i(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(a=>{let{key:l,children:s}=a;n.push(l),i(s)})}return i(r.children),n}function pAe(e){if(e.parent){const t=OE(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function gAe(e){const t=OE(e.pos);return Number(t[t.length-1])===0}function HN(e,t,n,r,i,o,a,l,s,u){var c;const{clientX:d,clientY:f}=e,{top:h,height:v}=e.target.getBoundingClientRect(),g=((u==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-d)-12)/r;let m=l[n.eventKey];if(fD.key===m.key),M=P<=0?0:P-1,O=a[M].key;m=l[O]}const y=m.key,b=m,S=m.key;let x=0,$=0;if(!s.has(y))for(let P=0;P-1.5?o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1:o({dragNode:C,dropNode:T,dropPosition:0})?x=0:o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1:o({dragNode:C,dropNode:T,dropPosition:1})?x=1:I=!1,{dropPosition:x,dropLevelOffset:$,dropTargetKey:m.key,dropTargetPos:m.pos,dragOverNodeKey:S,dropContainerKey:x===0?null:((c=m.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:I}}function VN(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function o_(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function pP(e,t){const n=new Set;function r(i){if(n.has(i))return;const o=t[i];if(!o)return;n.add(i);const{parent:a,node:l}=o;l.disabled||a&&r(a.key)}return(e||[]).forEach(i=>{r(i)}),[...n]}var mAe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:[];return xn(n).map(i=>{var o,a,l,s;if(!hAe(i))return null;const u=i.children||{},c=i.key,d={};for(const[P,M]of Object.entries(i.props))d[Md(P)]=M;const{isLeaf:f,checkable:h,selectable:v,disabled:p,disableCheckbox:g}=d,m={isLeaf:f||f===""||void 0,checkable:h||h===""||void 0,selectable:v||v===""||void 0,disabled:p||p===""||void 0,disableCheckbox:g||g===""||void 0},y=_(_({},d),m),{title:b=(o=u.title)===null||o===void 0?void 0:o.call(u,y),icon:S=(a=u.icon)===null||a===void 0?void 0:a.call(u,y),switcherIcon:x=(l=u.switcherIcon)===null||l===void 0?void 0:l.call(u,y)}=d,$=mAe(d,["title","icon","switcherIcon"]),C=(s=u.default)===null||s===void 0?void 0:s.call(u),T=_(_(_({},$),{title:b,icon:S,switcherIcon:x,key:c,isLeaf:f}),m),I=t(C);return I.length&&(T.children=I),T})}return t(e)}function yAe(e,t,n){const{_title:r,key:i,children:o}=Hw(n),a=new Set(t===!0?[]:t),l=[];function s(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return u.map((d,f)=>{const h=Kq(c?c.pos:"0",f),v=qm(d[i],h);let p;for(let m=0;mf[o]:typeof o=="function"&&(c=f=>o(f)):c=(f,h)=>qm(f[l],h);function d(f,h,v,p){const g=f?f[u]:e,m=f?Kq(v.pos,h):"0",y=f?[...p,f]:[];if(f){const b=c(f,m),S={node:f,index:h,pos:m,key:b,parentPos:v.node?v.pos:null,level:v.level+1,nodes:y};t(S)}g&&g.forEach((b,S)=>{d(b,S,{node:f,pos:m,level:v?v.level+1:-1},y)})}d(null)}function Zm(e){let{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:o,fieldNames:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const s=i||l,u={},c={};let d={posEntities:u,keyEntities:c};return t&&(d=t(d)||d),bAe(e,f=>{const{node:h,index:v,pos:p,key:g,parentPos:m,level:y,nodes:b}=f,S={node:h,nodes:b,index:v,key:g,pos:p,level:y},x=qm(g,p);u[p]=S,c[x]=S,S.parent=u[m],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),n&&n(S,d)},{externalGetKey:s,childrenPropName:o,fieldNames:a}),r&&r(d),d}function Rb(e,t){let{expandedKeysSet:n,selectedKeysSet:r,loadedKeysSet:i,loadingKeysSet:o,checkedKeysSet:a,halfCheckedKeysSet:l,dragOverNodeKey:s,dropPosition:u,keyEntities:c}=t;const d=c[e];return{eventKey:e,expanded:n.has(e),selected:r.has(e),loaded:i.has(e),loading:o.has(e),checked:a.has(e),halfChecked:l.has(e),pos:String(d?d.pos:""),parent:d.parent,dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1}}function Lb(e){const{data:t,expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:f,eventKey:h}=e,v=_(_({dataRef:t},t),{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:d,active:f,eventKey:h,key:h});return"props"in v||Object.defineProperty(v,"props",{get(){return e}}),v}const SAe=(e,t)=>L(()=>Zm(e.value,{fieldNames:t.value,initWrapper:r=>_(_({},r),{pathKeyEntities:{}}),processEntity:(r,i)=>{const o=r.nodes.map(a=>a[t.value.value]).join(ME);i.pathKeyEntities[o]=r,r.key=o}}).pathKeyEntities);function xAe(e){const t=ae(!1),n=ue({});return Ye(()=>{if(!e.value){t.value=!1,n.value={};return}let r={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(r=_(_({},r),e.value)),r.limit<=0&&delete r.limit,t.value=!0,n.value=r}),{showSearch:t,searchConfig:n}}const tg="__rc_cascader_search_mark__",wAe=(e,t,n)=>{let{label:r}=n;return t.some(i=>String(i[r]).toLowerCase().includes(e.toLowerCase()))},CAe=e=>{let{path:t,fieldNames:n}=e;return t.map(r=>r[n.label]).join(" / ")},$Ae=(e,t,n,r,i,o)=>L(()=>{const{filter:a=wAe,render:l=CAe,limit:s=50,sort:u}=i.value,c=[];if(!e.value)return[];function d(f,h){f.forEach(v=>{if(!u&&s>0&&c.length>=s)return;const p=[...h,v],g=v[n.value.children];(!g||g.length===0||o.value)&&a(e.value,p,{label:n.value.label})&&c.push(_(_({},v),{[n.value.label]:l({inputValue:e.value,path:p,prefixCls:r.value,fieldNames:n.value}),[tg]:p})),g&&d(v[n.value.children],p)})}return d(t.value,[]),u&&c.sort((f,h)=>u(f[tg],h[tg],e.value,n.value)),s>0?c.slice(0,s):c});function WN(e,t,n){const r=new Set(e);return e.filter(i=>{const o=t[i],a=o?o.parent:null,l=o?o.children:null;return n===zq?!(l&&l.some(s=>s.key&&r.has(s.key))):!(a&&!a.node.disabled&&r.has(a.key))})}function Zg(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var i;let o=t;const a=[];for(let l=0;l{const f=d[n.value];return r?String(f)===String(s):f===s}),c=u!==-1?o==null?void 0:o[u]:null;a.push({value:(i=c==null?void 0:c[n.value])!==null&&i!==void 0?i:s,index:u,option:c}),o=c==null?void 0:c[n.children]}return a}const _Ae=(e,t,n)=>L(()=>{const r=[],i=[];return n.value.forEach(o=>{Zg(o,e.value,t.value).every(l=>l.option)?i.push(o):r.push(o)}),[i,r]});function Uq(e,t){const n=new Set;return e.forEach(r=>{t.has(r)||n.add(r)}),n}function TAe(e){const{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function IAe(e,t,n,r){const i=new Set(e),o=new Set;for(let l=0;l<=n;l+=1)(t.get(l)||new Set).forEach(u=>{const{key:c,node:d,children:f=[]}=u;i.has(c)&&!r(d)&&f.filter(h=>!r(h.node)).forEach(h=>{i.add(h.key)})});const a=new Set;for(let l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(u=>{const{parent:c,node:d}=u;if(r(d)||!u.parent||a.has(u.parent.key))return;if(r(u.parent.node)){a.add(c.key);return}let f=!0,h=!1;(c.children||[]).filter(v=>!r(v.node)).forEach(v=>{let{key:p}=v;const g=i.has(p);f&&!g&&(f=!1),!h&&(g||o.has(p))&&(h=!0)}),f&&i.add(c.key),h&&o.add(c.key),a.add(c.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(Uq(o,i))}}function PAe(e,t,n,r,i){const o=new Set(e);let a=new Set(t);for(let s=0;s<=r;s+=1)(n.get(s)||new Set).forEach(c=>{const{key:d,node:f,children:h=[]}=c;!o.has(d)&&!a.has(d)&&!i(f)&&h.filter(v=>!i(v.node)).forEach(v=>{o.delete(v.key)})});a=new Set;const l=new Set;for(let s=r;s>=0;s-=1)(n.get(s)||new Set).forEach(c=>{const{parent:d,node:f}=c;if(i(f)||!c.parent||l.has(c.parent.key))return;if(i(c.parent.node)){l.add(d.key);return}let h=!0,v=!1;(d.children||[]).filter(p=>!i(p.node)).forEach(p=>{let{key:g}=p;const m=o.has(g);h&&!m&&(h=!1),!v&&(m||a.has(g))&&(v=!0)}),h||o.delete(d.key),v&&a.add(d.key),l.add(d.key)});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Uq(a,o))}}function Io(e,t,n,r,i,o){let a;o?a=o:a=TAe;const l=new Set(e.filter(u=>!!n[u]));let s;return t===!0?s=IAe(l,i,r,a):s=PAe(l,t.halfCheckedKeys,i,r,a),s}const MAe=(e,t,n,r,i)=>L(()=>{const o=i.value||(a=>{let{labels:l}=a;const s=r.value?l.slice(-1):l,u=" / ";return s.every(c=>["string","number"].includes(typeof c))?s.join(u):s.reduce((c,d,f)=>{const h=zn(d)?Nt(d,{key:f}):d;return f===0?[h]:[...c,u,h]},[])});return e.value.map(a=>{const l=Zg(a,t.value,n.value),s=o({labels:l.map(c=>{let{option:d,value:f}=c;var h;return(h=d==null?void 0:d[n.value.label])!==null&&h!==void 0?h:f}),selectedOptions:l.map(c=>{let{option:d}=c;return d})}),u=ru(a);return{label:s,value:u,key:u,valueCells:a}})}),Xq=Symbol("CascaderContextKey"),AAe=e=>{at(Xq,e)},Vw=()=>Je(Xq),OAe=()=>{const e=zm(),{values:t}=Vw(),[n,r]=Xt([]);return Se(()=>e.open,()=>{if(e.open&&!e.multiple){const i=t.value[0];r(i||[])}},{immediate:!0}),[n,r]},DAe=(e,t,n,r,i,o)=>{const a=zm(),l=L(()=>a.direction==="rtl"),[s,u,c]=[ue([]),ue(),ue([])];Ye(()=>{let p=-1,g=t.value;const m=[],y=[],b=r.value.length;for(let x=0;xC[n.value.value]===r.value[x]);if($===-1)break;p=$,m.push(p),y.push(r.value[x]),g=g[p][n.value.children]}let S=t.value;for(let x=0;x{i(p)},f=p=>{const g=c.value.length;let m=u.value;m===-1&&p<0&&(m=g);for(let y=0;y{if(s.value.length>1){const p=s.value.slice(0,-1);d(p)}else a.toggleOpen(!1)},v=()=>{var p;const m=(((p=c.value[u.value])===null||p===void 0?void 0:p[n.value.children])||[]).find(y=>!y.disabled);if(m){const y=[...s.value,m[n.value.value]];d(y)}};e.expose({onKeydown:p=>{const{which:g}=p;switch(g){case Pe.UP:case Pe.DOWN:{let m=0;g===Pe.UP?m=-1:g===Pe.DOWN&&(m=1),m!==0&&f(m);break}case Pe.LEFT:{l.value?v():h();break}case Pe.RIGHT:{l.value?h():v();break}case Pe.BACKSPACE:{a.searchValue||h();break}case Pe.ENTER:{if(s.value.length){const m=c.value[u.value],y=(m==null?void 0:m[tg])||[];y.length?o(y.map(b=>b[n.value.value]),y[y.length-1]):o(s.value,m)}break}case Pe.ESC:a.toggleOpen(!1),open&&p.stopPropagation()}},onKeyup:()=>{}})};function Ww(e){let{prefixCls:t,checked:n,halfChecked:r,disabled:i,onClick:o}=e;const{customSlots:a,checkable:l}=Vw(),s=l.value!==!1?a.value.checkable:l.value,u=typeof s=="function"?s():typeof s=="boolean"?null:s;return w("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&r,[`${t}-disabled`]:i},onClick:o},[u])}Ww.props=["prefixCls","checked","halfChecked","disabled","onClick"];Ww.displayName="Checkbox";Ww.inheritAttrs=!1;const Yq="__cascader_fix_label__";function jw(e){let{prefixCls:t,multiple:n,options:r,activeValue:i,prevValuePath:o,onToggleOpen:a,onSelect:l,onActive:s,checkedSet:u,halfCheckedSet:c,loadingKeys:d,isSelectable:f}=e;var h,v,p,g,m,y;const b=`${t}-menu`,S=`${t}-menu-item`,{fieldNames:x,changeOnSelect:$,expandTrigger:C,expandIcon:T,loadingIcon:I,dropdownMenuColumnStyle:P,customSlots:M}=Vw(),O=(h=T.value)!==null&&h!==void 0?h:(p=(v=M.value).expandIcon)===null||p===void 0?void 0:p.call(v),D=(g=I.value)!==null&&g!==void 0?g:(y=(m=M.value).loadingIcon)===null||y===void 0?void 0:y.call(m),R=C.value==="hover";return w("ul",{class:b,role:"menu"},[r.map(A=>{var E;const{disabled:k}=A,N=A[tg],B=(E=A[Yq])!==null&&E!==void 0?E:A[x.value.label],F=A[x.value.value],H=bp(A,x.value),V=N?N.map(G=>G[x.value.value]):[...o,F],X=ru(V),Q=d.includes(X),K=u.has(X),te=c.has(X),q=()=>{!k&&(!R||!H)&&s(V)},ee=()=>{f(A)&&l(V,H)};let J;return typeof A.title=="string"?J=A.title:typeof B=="string"&&(J=B),w("li",{key:X,class:[S,{[`${S}-expand`]:!H,[`${S}-active`]:i===F,[`${S}-disabled`]:k,[`${S}-loading`]:Q}],style:P.value,role:"menuitemcheckbox",title:J,"aria-checked":K,"data-path-key":X,onClick:()=>{q(),(!n||H)&&ee()},onDblclick:()=>{$.value&&a(!1)},onMouseenter:()=>{R&&q()},onMousedown:G=>{G.preventDefault()}},[n&&w(Ww,{prefixCls:`${t}-checkbox`,checked:K,halfChecked:te,disabled:k,onClick:G=>{G.stopPropagation(),ee()}},null),w("div",{class:`${S}-content`},[B]),!Q&&O&&!H&&w("div",{class:`${S}-expand-icon`},[Nt(O)]),Q&&D&&w("div",{class:`${S}-loading-icon`},[Nt(D)])])})])}jw.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"];jw.displayName="Column";jw.inheritAttrs=!1;const EAe=se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:r}=t,i=zm(),o=ue(),a=L(()=>i.direction==="rtl"),{options:l,values:s,halfValues:u,fieldNames:c,changeOnSelect:d,onSelect:f,searchOptions:h,dropdownPrefixCls:v,loadData:p,expandTrigger:g,customSlots:m}=Vw(),y=L(()=>v.value||i.prefixCls),b=ae([]),S=E=>{if(!p.value||i.searchValue)return;const N=Zg(E,l.value,c.value).map(F=>{let{option:H}=F;return H}),B=N[N.length-1];if(B&&!bp(B,c.value)){const F=ru(E);b.value=[...b.value,F],p.value(N)}};Ye(()=>{b.value.length&&b.value.forEach(E=>{const k=rAe(E),N=Zg(k,l.value,c.value,!0).map(F=>{let{option:H}=F;return H}),B=N[N.length-1];(!B||B[c.value.children]||bp(B,c.value))&&(b.value=b.value.filter(F=>F!==E))})});const x=L(()=>new Set(Gf(s.value))),$=L(()=>new Set(Gf(u.value))),[C,T]=OAe(),I=E=>{T(E),S(E)},P=E=>{const{disabled:k}=E,N=bp(E,c.value);return!k&&(N||d.value||i.multiple)},M=function(E,k){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;f(E),!i.multiple&&(k||d.value&&(g.value==="hover"||N))&&i.toggleOpen(!1)},O=L(()=>i.searchValue?h.value:l.value),D=L(()=>{const E=[{options:O.value}];let k=O.value;for(let N=0;NV[c.value.value]===B),H=F==null?void 0:F[c.value.children];if(!(H!=null&&H.length))break;k=H,E.push({options:H})}return E});DAe(t,O,c,C,I,(E,k)=>{P(k)&&M(E,bp(k,c.value),!0)});const A=E=>{E.preventDefault()};return tt(()=>{Se(C,E=>{var k;for(let N=0;N{var E,k,N,B,F;const{notFoundContent:H=((E=r.notFoundContent)===null||E===void 0?void 0:E.call(r))||((N=(k=m.value).notFoundContent)===null||N===void 0?void 0:N.call(k)),multiple:V,toggleOpen:X}=i,Q=!(!((F=(B=D.value[0])===null||B===void 0?void 0:B.options)===null||F===void 0)&&F.length),K=[{[c.value.value]:"__EMPTY__",[Yq]:H,disabled:!0}],te=_(_({},n),{multiple:!Q&&V,onSelect:M,onActive:I,onToggleOpen:X,checkedSet:x.value,halfCheckedSet:$.value,loadingKeys:b.value,isSelectable:P}),ee=(Q?[{options:K}]:D.value).map((J,G)=>{const Y=C.value.slice(0,G),oe=C.value[G];return w(jw,z(z({key:G},te),{},{prefixCls:y.value,options:J.options,prevValuePath:Y,activeValue:oe}),null)});return w("div",{class:[`${y.value}-menus`,{[`${y.value}-menu-empty`]:Q,[`${y.value}-rtl`]:a.value}],onMousedown:A,ref:o},[ee])}}});function Gw(e){const t=ue(0),n=ae();return Ye(()=>{const r=new Map;let i=0;const o=e.value||{};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=o[a],{level:s}=l;let u=r.get(s);u||(u=new Set,r.set(s,u)),u.add(l),i=Math.max(i,s)}t.value=i,n.value=r}),{maxLevel:t,levelEntities:n}}function RAe(){return _(_({},yt(yw(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:He(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:Fq},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:U.any,loadingIcon:U.any})}function qq(){return _(_({},RAe()),{onChange:Function,customSlots:Object})}function LAe(e){return Array.isArray(e)&&Array.isArray(e[0])}function jN(e){return e?LAe(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const NAe=se({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:ft(qq(),{}),setup(e,t){let{attrs:n,expose:r,slots:i}=t;const o=ZO(qe(e,"id")),a=L(()=>!!e.checkable),[l,s]=dn(e.defaultValue,{value:L(()=>e.value),postState:jN}),u=L(()=>iAe(e.fieldNames)),c=L(()=>e.options||[]),d=SAe(c,u),f=G=>{const Y=d.value;return G.map(oe=>{const{nodes:W}=Y[oe];return W.map(Z=>Z[u.value.value])})},[h,v]=dn("",{value:L(()=>e.searchValue),postState:G=>G||""}),p=(G,Y)=>{v(G),Y.source!=="blur"&&e.onSearch&&e.onSearch(G)},{showSearch:g,searchConfig:m}=xAe(qe(e,"showSearch")),y=$Ae(h,c,u,L(()=>e.dropdownPrefixCls||e.prefixCls),m,qe(e,"changeOnSelect")),b=_Ae(c,u,l),[S,x,$]=[ue([]),ue([]),ue([])],{maxLevel:C,levelEntities:T}=Gw(d);Ye(()=>{const[G,Y]=b.value;if(!a.value||!l.value.length){[S.value,x.value,$.value]=[G,[],Y];return}const oe=Gf(G),W=d.value,{checkedKeys:Z,halfCheckedKeys:ne}=Io(oe,!0,W,C.value,T.value);[S.value,x.value,$.value]=[f(Z),f(ne),Y]});const I=L(()=>{const G=Gf(S.value),Y=WN(G,d.value,e.showCheckedStrategy);return[...$.value,...f(Y)]}),P=MAe(I,c,u,a,qe(e,"displayRender")),M=G=>{if(s(G),e.onChange){const Y=jN(G),oe=Y.map(ne=>Zg(ne,c.value,u.value).map(re=>re.option)),W=a.value?Y:Y[0],Z=a.value?oe:oe[0];e.onChange(W,Z)}},O=G=>{if(v(""),!a.value)M(G);else{const Y=ru(G),oe=Gf(S.value),W=Gf(x.value),Z=oe.includes(Y),ne=$.value.some(ie=>ru(ie)===Y);let re=S.value,le=$.value;if(ne&&!Z)le=$.value.filter(ie=>ru(ie)!==Y);else{const ie=Z?oe.filter(me=>me!==Y):[...oe,Y];let de;Z?{checkedKeys:de}=Io(ie,{checked:!1,halfCheckedKeys:W},d.value,C.value,T.value):{checkedKeys:de}=Io(ie,!0,d.value,C.value,T.value);const pe=WN(de,d.value,e.showCheckedStrategy);re=f(pe)}M([...le,...re])}},D=(G,Y)=>{if(Y.type==="clear"){M([]);return}const{valueCells:oe}=Y.values[0];O(oe)},R=L(()=>e.open!==void 0?e.open:e.popupVisible),A=L(()=>e.dropdownStyle||e.popupStyle||{}),E=L(()=>e.placement||e.popupPlacement),k=G=>{var Y,oe;(Y=e.onDropdownVisibleChange)===null||Y===void 0||Y.call(e,G),(oe=e.onPopupVisibleChange)===null||oe===void 0||oe.call(e,G)},{changeOnSelect:N,checkable:B,dropdownPrefixCls:F,loadData:H,expandTrigger:V,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:K,customSlots:te,dropdownClassName:q}=Ga(e);AAe({options:c,fieldNames:u,values:S,halfValues:x,changeOnSelect:N,onSelect:O,checkable:B,searchOptions:y,dropdownPrefixCls:F,loadData:H,expandTrigger:V,expandIcon:X,loadingIcon:Q,dropdownMenuColumnStyle:K,customSlots:te});const ee=ue();r({focus(){var G;(G=ee.value)===null||G===void 0||G.focus()},blur(){var G;(G=ee.value)===null||G===void 0||G.blur()},scrollTo(G){var Y;(Y=ee.value)===null||Y===void 0||Y.scrollTo(G)}});const J=L(()=>yt(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const G=!(h.value?y.value:c.value).length,{dropdownMatchSelectWidth:Y=!1}=e,oe=h.value&&m.value.matchInputWidth||G?{}:{minWidth:"auto"};return w(YO,z(z(z({},J.value),n),{},{ref:ee,id:o,prefixCls:e.prefixCls,dropdownMatchSelectWidth:Y,dropdownStyle:_(_({},A.value),oe),displayValues:P.value,onDisplayValuesChange:D,mode:a.value?"multiple":void 0,searchValue:h.value,onSearch:p,showSearch:g.value,OptionList:EAe,emptyOptions:G,open:R.value,dropdownClassName:q.value,placement:E.value,onDropdownVisibleChange:k,getRawInputElement:()=>{var W;return(W=i.default)===null||W===void 0?void 0:W.call(i)}}),i)}}});var kAe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const BAe=kAe;function GN(e){for(var t=1;tXr()&&window.document.documentElement,Qq=e=>{if(Xr()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},zAe=(e,t)=>{if(!Qq(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function EE(e,t){return!Array.isArray(e)&&t!==void 0?zAe(e,t):Qq(e)}let r0;const HAe=()=>{if(!Zq())return!1;if(r0!==void 0)return r0;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r0=e.scrollHeight===1,document.body.removeChild(e),r0},Jq=()=>{const e=ae(!1);return tt(()=>{e.value=HAe()}),e},eZ=Symbol("rowContextKey"),VAe=e=>{at(eZ,e)},WAe=()=>Je(eZ,{gutter:L(()=>{}),wrap:L(()=>{}),supportFlexGap:L(()=>{})}),jAe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around ":{justifyContent:"space-around"},"&-space-evenly ":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},GAe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},KAe=(e,t)=>{const{componentCls:n,gridColumns:r}=e,i={};for(let o=r;o>=0;o--)o===0?(i[`${n}${t}-${o}`]={display:"none"},i[`${n}-push-${o}`]={insetInlineStart:"auto"},i[`${n}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${n}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${n}${t}-offset-${o}`]={marginInlineEnd:0},i[`${n}${t}-order-${o}`]={order:0}):(i[`${n}${t}-${o}`]={display:"block",flex:`0 0 ${o/r*100}%`,maxWidth:`${o/r*100}%`},i[`${n}${t}-push-${o}`]={insetInlineStart:`${o/r*100}%`},i[`${n}${t}-pull-${o}`]={insetInlineEnd:`${o/r*100}%`},i[`${n}${t}-offset-${o}`]={marginInlineStart:`${o/r*100}%`},i[`${n}${t}-order-${o}`]={order:o});return i},mP=(e,t)=>KAe(e,t),UAe=(e,t,n)=>({[`@media (min-width: ${t}px)`]:_({},mP(e,n))}),XAe=it("Grid",e=>[jAe(e)]),YAe=it("Grid",e=>{const t=Ue(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[GAe(t),mP(t,""),mP(t,"-xs"),Object.keys(n).map(r=>UAe(t,n[r],r)).reduce((r,i)=>_(_({},r),i),{})]}),qAe=()=>({align:Xe([String,Object]),justify:Xe([String,Object]),prefixCls:String,gutter:Xe([Number,Array,Object],0),wrap:{type:Boolean,default:void 0}}),ZAe=se({compatConfig:{MODE:3},name:"ARow",inheritAttrs:!1,props:qAe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("row",e),[a,l]=XAe(i);let s;const u=RD(),c=ue({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),d=ue({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),f=b=>L(()=>{if(typeof e[b]=="string")return e[b];if(typeof e[b]!="object")return"";for(let S=0;S{s=u.value.subscribe(b=>{d.value=b;const S=e.gutter||0;(!Array.isArray(S)&&typeof S=="object"||Array.isArray(S)&&(typeof S[0]=="object"||typeof S[1]=="object"))&&(c.value=b)})}),ht(()=>{u.value.unsubscribe(s)});const g=L(()=>{const b=[void 0,void 0],{gutter:S=0}=e;return(Array.isArray(S)?S:[S,void 0]).forEach(($,C)=>{if(typeof $=="object")for(let T=0;Te.wrap)});const m=L(()=>ce(i.value,{[`${i.value}-no-wrap`]:e.wrap===!1,[`${i.value}-${v.value}`]:v.value,[`${i.value}-${h.value}`]:h.value,[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value)),y=L(()=>{const b=g.value,S={},x=b[0]!=null&&b[0]>0?`${b[0]/-2}px`:void 0,$=b[1]!=null&&b[1]>0?`${b[1]/-2}px`:void 0;return x&&(S.marginLeft=x,S.marginRight=x),p.value?S.rowGap=`${b[1]}px`:$&&(S.marginTop=$,S.marginBottom=$),S});return()=>{var b;return a(w("div",z(z({},r),{},{class:m.value,style:_(_({},y.value),r.style)}),[(b=n.default)===null||b===void 0?void 0:b.call(n)]))}}}),RE=ZAe;function kc(){return kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=o)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return e}function rOe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function hr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||rOe(t)&&typeof e=="string"&&!e)}function iOe(e,t,n){var r=[],i=0,o=e.length;function a(l){r.push.apply(r,l||[]),i++,i===o&&n(r)}e.forEach(function(l){t(l,a)})}function KN(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bp={integer:function(t){return bp.number(t)&&parseInt(t,10)===t},float:function(t){return bp.number(t)&&!bp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!bp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(qN.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(uOe())},hex:function(t){return typeof t=="string"&&!!t.match(qN.hex)}},cOe=function(t,n,r,i,o){if(t.required&&n===void 0){tZ(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?bp[l](n)||i.push(Ki(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&i.push(Ki(o.messages.types[l],t.fullField,t.type))},dOe=function(t,n,r,i,o){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,f=typeof n=="number",h=typeof n=="string",v=Array.isArray(n);if(f?d="number":h?d="string":v&&(d="array"),!d)return!1;v&&(c=n.length),h&&(c=n.replace(u,"_").length),a?c!==t.len&&i.push(Ki(o.messages[d].len,t.fullField,t.len)):l&&!s&&ct.max?i.push(Ki(o.messages[d].max,t.fullField,t.max)):l&&s&&(ct.max)&&i.push(Ki(o.messages[d].range,t.fullField,t.min,t.max))},rf="enum",fOe=function(t,n,r,i,o){t[rf]=Array.isArray(t[rf])?t[rf]:[],t[rf].indexOf(n)===-1&&i.push(Ki(o.messages[rf],t.fullField,t[rf].join(", ")))},hOe=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Ki(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(Ki(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Qt={required:tZ,whitespace:sOe,type:cOe,range:dOe,enum:fOe,pattern:hOe},vOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"string")&&!t.required)return r();Qt.required(t,n,i,a,o,"string"),hr(n,"string")||(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o),Qt.pattern(t,n,i,a,o),t.whitespace===!0&&Qt.whitespace(t,n,i,a,o))}r(a)},pOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},gOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},mOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},yOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),hr(n)||Qt.type(t,n,i,a,o)}r(a)},bOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},SOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},xOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();Qt.required(t,n,i,a,o,"array"),n!=null&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},wOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},COe="enum",$Oe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt[COe](t,n,i,a,o)}r(a)},_Oe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"string")&&!t.required)return r();Qt.required(t,n,i,a,o),hr(n,"string")||Qt.pattern(t,n,i,a,o)}r(a)},TOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"date")&&!t.required)return r();if(Qt.required(t,n,i,a,o),!hr(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),Qt.type(t,s,i,a,o),s&&Qt.range(t,s.getTime(),i,a,o)}}r(a)},IOe=function(t,n,r,i,o){var a=[],l=Array.isArray(n)?"array":typeof n;Qt.required(t,n,i,a,o,l),r(a)},a_=function(t,n,r,i,o){var a=t.type,l=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(hr(n,a)&&!t.required)return r();Qt.required(t,n,i,l,o,a),hr(n,a)||Qt.type(t,n,i,l,o)}r(l)},POe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o)}r(a)},tg={string:vOe,method:pOe,number:gOe,boolean:mOe,regexp:yOe,integer:bOe,float:SOe,array:xOe,object:wOe,enum:$Oe,pattern:_Oe,date:TOe,url:a_,hex:a_,email:a_,required:IOe,any:POe};function xP(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var wP=xP(),Qm=function(){function e(n){this.rules=null,this._messages=wP,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=YN(xP(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var l=r,s=i,u=o;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(p){var g=[],m={};function y(S){if(Array.isArray(S)){var x;g=(x=g).concat.apply(x,S)}else g.push(S)}for(var b=0;b3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!nZ(e,t.slice(0,-1))?e:rZ(e,t,n,r)}function CP(e){return iu(e)}function AOe(e,t){return nZ(e,t)}function OOe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return MOe(e,t,n,r)}function DOe(e,t){return e&&e.some(n=>ROe(n,t))}function ZN(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function iZ(e,t){const n=Array.isArray(e)?[...e]:_({},e);return t&&Object.keys(t).forEach(r=>{const i=n[r],o=t[r],a=ZN(i)&&ZN(o);n[r]=a?iZ(i,o||{}):o}),n}function EOe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;riZ(i,o),e)}function QN(e,t){let n={};return t.forEach(r=>{const i=AOe(e,r);n=OOe(n,r,i)}),n}function ROe(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,r)=>t[r]===n)}const zi="'${name}' is not a valid ${type}",Kw={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:zi,method:zi,array:zi,object:zi,number:zi,date:zi,boolean:zi,integer:zi,float:zi,regexp:zi,email:zi,url:zi,hex:zi},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var Uw=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const LOe=Qm;function NOe(e,t){return e.replace(/\$\{\w+\}/g,n=>{const r=n.slice(2,-1);return t[r]})}function $P(e,t,n,r,i){return Uw(this,void 0,void 0,function*(){const o=_({},n);delete o.ruleIndex,delete o.trigger;let a=null;o&&o.type==="array"&&o.defaultField&&(a=o.defaultField,delete o.defaultField);const l=new LOe({[e]:[o]}),s=EOe({},Kw,r.validateMessages);l.messages(s);let u=[];try{yield Promise.resolve(l.validate({[e]:t},_({},r)))}catch(f){f.errors?u=f.errors.map((h,v)=>{let{message:p}=h;return zn(p)?cr(p,{key:`error_${v}`}):p}):(console.error(f),u=[s.default()])}if(!u.length&&a)return(yield Promise.all(t.map((h,v)=>$P(`${e}.${v}`,h,a,r,i)))).reduce((h,v)=>[...h,...v],[]);const c=_(_(_({},n),{name:e,enum:(n.enum||[]).join(", ")}),i);return u.map(f=>typeof f=="string"?NOe(f,c):f)})}function oZ(e,t,n,r,i,o){const a=e.join("."),l=n.map((u,c)=>{const d=u.validator,f=_(_({},u),{ruleIndex:c});return d&&(f.validator=(h,v,p)=>{let g=!1;const y=d(h,v,function(){for(var b=arguments.length,S=new Array(b),x=0;x{g||p(...S)})});g=y&&typeof y.then=="function"&&typeof y.catch=="function",g&&y.then(()=>{p()}).catch(b=>{p(b||" ")})}),f}).sort((u,c)=>{let{warningOnly:d,ruleIndex:f}=u,{warningOnly:h,ruleIndex:v}=c;return!!d==!!h?f-v:d?1:-1});let s;if(i===!0)s=new Promise((u,c)=>Uw(this,void 0,void 0,function*(){for(let d=0;d$P(a,t,c,r,o).then(d=>({errors:d,rule:c})));s=(i?BOe(u):kOe(u)).then(c=>Promise.reject(c))}return s.catch(u=>u),s}function kOe(e){return Uw(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function BOe(e){return Uw(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(i=>{i.errors.length&&n([i]),t+=1,t===e.length&&n([])})})})})}const aZ=Symbol("formContextKey"),lZ=e=>{at(aZ,e)},LE=()=>Je(aZ,{name:L(()=>{}),labelAlign:L(()=>"right"),vertical:L(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:L(()=>{}),rules:L(()=>{}),colon:L(()=>{}),labelWrap:L(()=>{}),labelCol:L(()=>{}),requiredMark:L(()=>!1),validateTrigger:L(()=>{}),onValidate:()=>{},validateMessages:L(()=>Kw)}),sZ=Symbol("formItemPrefixContextKey"),FOe=e=>{at(sZ,e)},zOe=()=>Je(sZ,{prefixCls:L(()=>"")});function HOe(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const VOe=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),WOe=["xs","sm","md","lg","xl","xxl"],Xw=se({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:VOe(),setup(e,t){let{slots:n,attrs:r}=t;const{gutter:i,supportFlexGap:o,wrap:a}=VAe(),{prefixCls:l,direction:s}=Ee("col",e),[u,c]=XAe(l),d=L(()=>{const{span:h,order:v,offset:p,push:g,pull:m}=e,y=l.value;let b={};return WOe.forEach(S=>{let x={};const $=e[S];typeof $=="number"?x.span=$:typeof $=="object"&&(x=$||{}),b=_(_({},b),{[`${y}-${S}-${x.span}`]:x.span!==void 0,[`${y}-${S}-order-${x.order}`]:x.order||x.order===0,[`${y}-${S}-offset-${x.offset}`]:x.offset||x.offset===0,[`${y}-${S}-push-${x.push}`]:x.push||x.push===0,[`${y}-${S}-pull-${x.pull}`]:x.pull||x.pull===0,[`${y}-rtl`]:s.value==="rtl"})}),ce(y,{[`${y}-${h}`]:h!==void 0,[`${y}-order-${v}`]:v,[`${y}-offset-${p}`]:p,[`${y}-push-${g}`]:g,[`${y}-pull-${m}`]:m},b,r.class,c.value)}),f=L(()=>{const{flex:h}=e,v=i.value,p={};if(v&&v[0]>0){const g=`${v[0]/2}px`;p.paddingLeft=g,p.paddingRight=g}if(v&&v[1]>0&&!o.value){const g=`${v[1]/2}px`;p.paddingTop=g,p.paddingBottom=g}return h&&(p.flex=HOe(h),a.value===!1&&!p.minWidth&&(p.minWidth=0)),p});return()=>{var h;return u(w("div",z(z({},r),{},{class:d.value,style:[f.value,r.style]}),[(h=n.default)===null||h===void 0?void 0:h.call(n)]))}}});var jOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const GOe=jOe;function JN(e){for(var t=1;t{let{slots:n,emit:r,attrs:i}=t;var o,a,l,s,u;const{prefixCls:c,htmlFor:d,labelCol:f,labelAlign:h,colon:v,required:p,requiredMark:g}=_(_({},e),i),[m]=Ro("Form"),y=(o=e.label)!==null&&o!==void 0?o:(a=n.label)===null||a===void 0?void 0:a.call(n);if(!y)return null;const{vertical:b,labelAlign:S,labelCol:x,labelWrap:$,colon:C}=LE(),T=f||(x==null?void 0:x.value)||{},I=h||(S==null?void 0:S.value),P=`${c}-item-label`,M=ce(P,I==="left"&&`${P}-left`,T.class,{[`${P}-wrap`]:!!$.value});let O=y;const D=v===!0||(C==null?void 0:C.value)!==!1&&v!==!1;if(D&&!b.value&&typeof y=="string"&&y.trim()!==""&&(O=y.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const E=w("span",{class:`${c}-item-tooltip`},[w(Pi,{title:e.tooltip},{default:()=>[w(UOe,null,null)]})]);O=w(Qe,null,[O,n.tooltip?(l=n.tooltip)===null||l===void 0?void 0:l.call(n,{class:`${c}-item-tooltip`}):E])}g==="optional"&&!p&&(O=w(Qe,null,[O,w("span",{class:`${c}-item-optional`},[((s=m.value)===null||s===void 0?void 0:s.optional)||((u=vi.Form)===null||u===void 0?void 0:u.optional)])]));const A=ce({[`${c}-item-required`]:p,[`${c}-item-required-mark-optional`]:g==="optional",[`${c}-item-no-colon`]:!D});return w(Xw,z(z({},T),{},{class:M}),{default:()=>[w("label",{for:d,class:A,title:typeof y=="string"?y:"",onClick:E=>r("click",E)},[O])]})};kE.displayName="FormItemLabel";kE.inheritAttrs=!1;const XOe=kE,YOe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+i+"$"),s=function(S){return S&&S.exact?o:new RegExp("(?:"+t(S)+n+t(S)+")|(?:"+t(S)+i+t(S)+")","g")};s.v4=function(b){return b&&b.exact?a:new RegExp(""+t(b)+n+t(b),"g")},s.v6=function(b){return b&&b.exact?l:new RegExp(""+t(b)+i+t(b),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,f=s.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+d+"|"+f+"|"+h+v+p+")"+g+m;return i0=new RegExp("(?:^"+y+"$)","i"),i0},qN={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Sp={integer:function(t){return Sp.number(t)&&parseInt(t,10)===t},float:function(t){return Sp.number(t)&&!Sp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Sp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(qN.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(cOe())},hex:function(t){return typeof t=="string"&&!!t.match(qN.hex)}},dOe=function(t,n,r,i,o){if(t.required&&n===void 0){tZ(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Sp[l](n)||i.push(Ui(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&i.push(Ui(o.messages.types[l],t.fullField,t.type))},fOe=function(t,n,r,i,o){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,f=typeof n=="number",h=typeof n=="string",v=Array.isArray(n);if(f?d="number":h?d="string":v&&(d="array"),!d)return!1;v&&(c=n.length),h&&(c=n.replace(u,"_").length),a?c!==t.len&&i.push(Ui(o.messages[d].len,t.fullField,t.len)):l&&!s&&ct.max?i.push(Ui(o.messages[d].max,t.fullField,t.max)):l&&s&&(ct.max)&&i.push(Ui(o.messages[d].range,t.fullField,t.min,t.max))},of="enum",hOe=function(t,n,r,i,o){t[of]=Array.isArray(t[of])?t[of]:[],t[of].indexOf(n)===-1&&i.push(Ui(o.messages[of],t.fullField,t[of].join(", ")))},vOe=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Ui(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(Ui(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Qt={required:tZ,whitespace:uOe,type:dOe,range:fOe,enum:hOe,pattern:vOe},pOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"string")&&!t.required)return r();Qt.required(t,n,i,a,o,"string"),hr(n,"string")||(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o),Qt.pattern(t,n,i,a,o),t.whitespace===!0&&Qt.whitespace(t,n,i,a,o))}r(a)},gOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},mOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},yOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},bOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),hr(n)||Qt.type(t,n,i,a,o)}r(a)},SOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},xOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},wOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();Qt.required(t,n,i,a,o,"array"),n!=null&&(Qt.type(t,n,i,a,o),Qt.range(t,n,i,a,o))}r(a)},COe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt.type(t,n,i,a,o)}r(a)},$Oe="enum",_Oe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o),n!==void 0&&Qt[$Oe](t,n,i,a,o)}r(a)},TOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"string")&&!t.required)return r();Qt.required(t,n,i,a,o),hr(n,"string")||Qt.pattern(t,n,i,a,o)}r(a)},IOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n,"date")&&!t.required)return r();if(Qt.required(t,n,i,a,o),!hr(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),Qt.type(t,s,i,a,o),s&&Qt.range(t,s.getTime(),i,a,o)}}r(a)},POe=function(t,n,r,i,o){var a=[],l=Array.isArray(n)?"array":typeof n;Qt.required(t,n,i,a,o,l),r(a)},a_=function(t,n,r,i,o){var a=t.type,l=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(hr(n,a)&&!t.required)return r();Qt.required(t,n,i,l,o,a),hr(n,a)||Qt.type(t,n,i,l,o)}r(l)},MOe=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(hr(n)&&!t.required)return r();Qt.required(t,n,i,a,o)}r(a)},ng={string:pOe,method:gOe,number:mOe,boolean:yOe,regexp:bOe,integer:SOe,float:xOe,array:wOe,object:COe,enum:_Oe,pattern:TOe,date:IOe,url:a_,hex:a_,email:a_,required:POe,any:MOe};function xP(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var wP=xP(),Qm=function(){function e(n){this.rules=null,this._messages=wP,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=YN(xP(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var l=r,s=i,u=o;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(p){var g=[],m={};function y(S){if(Array.isArray(S)){var x;g=(x=g).concat.apply(x,S)}else g.push(S)}for(var b=0;b3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!nZ(e,t.slice(0,-1))?e:rZ(e,t,n,r)}function CP(e){return iu(e)}function OOe(e,t){return nZ(e,t)}function DOe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return AOe(e,t,n,r)}function EOe(e,t){return e&&e.some(n=>LOe(n,t))}function ZN(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function iZ(e,t){const n=Array.isArray(e)?[...e]:_({},e);return t&&Object.keys(t).forEach(r=>{const i=n[r],o=t[r],a=ZN(i)&&ZN(o);n[r]=a?iZ(i,o||{}):o}),n}function ROe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;riZ(i,o),e)}function QN(e,t){let n={};return t.forEach(r=>{const i=OOe(e,r);n=DOe(n,r,i)}),n}function LOe(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,r)=>t[r]===n)}const Hi="'${name}' is not a valid ${type}",Kw={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Hi,method:Hi,array:Hi,object:Hi,number:Hi,date:Hi,boolean:Hi,integer:Hi,float:Hi,regexp:Hi,email:Hi,url:Hi,hex:Hi},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var Uw=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const NOe=Qm;function kOe(e,t){return e.replace(/\$\{\w+\}/g,n=>{const r=n.slice(2,-1);return t[r]})}function $P(e,t,n,r,i){return Uw(this,void 0,void 0,function*(){const o=_({},n);delete o.ruleIndex,delete o.trigger;let a=null;o&&o.type==="array"&&o.defaultField&&(a=o.defaultField,delete o.defaultField);const l=new NOe({[e]:[o]}),s=ROe({},Kw,r.validateMessages);l.messages(s);let u=[];try{yield Promise.resolve(l.validate({[e]:t},_({},r)))}catch(f){f.errors?u=f.errors.map((h,v)=>{let{message:p}=h;return zn(p)?cr(p,{key:`error_${v}`}):p}):(console.error(f),u=[s.default()])}if(!u.length&&a)return(yield Promise.all(t.map((h,v)=>$P(`${e}.${v}`,h,a,r,i)))).reduce((h,v)=>[...h,...v],[]);const c=_(_(_({},n),{name:e,enum:(n.enum||[]).join(", ")}),i);return u.map(f=>typeof f=="string"?kOe(f,c):f)})}function oZ(e,t,n,r,i,o){const a=e.join("."),l=n.map((u,c)=>{const d=u.validator,f=_(_({},u),{ruleIndex:c});return d&&(f.validator=(h,v,p)=>{let g=!1;const y=d(h,v,function(){for(var b=arguments.length,S=new Array(b),x=0;x{g||p(...S)})});g=y&&typeof y.then=="function"&&typeof y.catch=="function",g&&y.then(()=>{p()}).catch(b=>{p(b||" ")})}),f}).sort((u,c)=>{let{warningOnly:d,ruleIndex:f}=u,{warningOnly:h,ruleIndex:v}=c;return!!d==!!h?f-v:d?1:-1});let s;if(i===!0)s=new Promise((u,c)=>Uw(this,void 0,void 0,function*(){for(let d=0;d$P(a,t,c,r,o).then(d=>({errors:d,rule:c})));s=(i?FOe(u):BOe(u)).then(c=>Promise.reject(c))}return s.catch(u=>u),s}function BOe(e){return Uw(this,void 0,void 0,function*(){return Promise.all(e).then(t=>[].concat(...t))})}function FOe(e){return Uw(this,void 0,void 0,function*(){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(i=>{i.errors.length&&n([i]),t+=1,t===e.length&&n([])})})})})}const aZ=Symbol("formContextKey"),lZ=e=>{at(aZ,e)},LE=()=>Je(aZ,{name:L(()=>{}),labelAlign:L(()=>"right"),vertical:L(()=>!1),addField:(e,t)=>{},removeField:e=>{},model:L(()=>{}),rules:L(()=>{}),colon:L(()=>{}),labelWrap:L(()=>{}),labelCol:L(()=>{}),requiredMark:L(()=>!1),validateTrigger:L(()=>{}),onValidate:()=>{},validateMessages:L(()=>Kw)}),sZ=Symbol("formItemPrefixContextKey"),zOe=e=>{at(sZ,e)},HOe=()=>Je(sZ,{prefixCls:L(()=>"")});function VOe(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const WOe=()=>({span:[String,Number],order:[String,Number],offset:[String,Number],push:[String,Number],pull:[String,Number],xs:{type:[String,Number,Object],default:void 0},sm:{type:[String,Number,Object],default:void 0},md:{type:[String,Number,Object],default:void 0},lg:{type:[String,Number,Object],default:void 0},xl:{type:[String,Number,Object],default:void 0},xxl:{type:[String,Number,Object],default:void 0},prefixCls:String,flex:[String,Number]}),jOe=["xs","sm","md","lg","xl","xxl"],Xw=se({compatConfig:{MODE:3},name:"ACol",inheritAttrs:!1,props:WOe(),setup(e,t){let{slots:n,attrs:r}=t;const{gutter:i,supportFlexGap:o,wrap:a}=WAe(),{prefixCls:l,direction:s}=Ee("col",e),[u,c]=YAe(l),d=L(()=>{const{span:h,order:v,offset:p,push:g,pull:m}=e,y=l.value;let b={};return jOe.forEach(S=>{let x={};const $=e[S];typeof $=="number"?x.span=$:typeof $=="object"&&(x=$||{}),b=_(_({},b),{[`${y}-${S}-${x.span}`]:x.span!==void 0,[`${y}-${S}-order-${x.order}`]:x.order||x.order===0,[`${y}-${S}-offset-${x.offset}`]:x.offset||x.offset===0,[`${y}-${S}-push-${x.push}`]:x.push||x.push===0,[`${y}-${S}-pull-${x.pull}`]:x.pull||x.pull===0,[`${y}-rtl`]:s.value==="rtl"})}),ce(y,{[`${y}-${h}`]:h!==void 0,[`${y}-order-${v}`]:v,[`${y}-offset-${p}`]:p,[`${y}-push-${g}`]:g,[`${y}-pull-${m}`]:m},b,r.class,c.value)}),f=L(()=>{const{flex:h}=e,v=i.value,p={};if(v&&v[0]>0){const g=`${v[0]/2}px`;p.paddingLeft=g,p.paddingRight=g}if(v&&v[1]>0&&!o.value){const g=`${v[1]/2}px`;p.paddingTop=g,p.paddingBottom=g}return h&&(p.flex=VOe(h),a.value===!1&&!p.minWidth&&(p.minWidth=0)),p});return()=>{var h;return u(w("div",z(z({},r),{},{class:d.value,style:[f.value,r.style]}),[(h=n.default)===null||h===void 0?void 0:h.call(n)]))}}});var GOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const KOe=GOe;function JN(e){for(var t=1;t{let{slots:n,emit:r,attrs:i}=t;var o,a,l,s,u;const{prefixCls:c,htmlFor:d,labelCol:f,labelAlign:h,colon:v,required:p,requiredMark:g}=_(_({},e),i),[m]=Lo("Form"),y=(o=e.label)!==null&&o!==void 0?o:(a=n.label)===null||a===void 0?void 0:a.call(n);if(!y)return null;const{vertical:b,labelAlign:S,labelCol:x,labelWrap:$,colon:C}=LE(),T=f||(x==null?void 0:x.value)||{},I=h||(S==null?void 0:S.value),P=`${c}-item-label`,M=ce(P,I==="left"&&`${P}-left`,T.class,{[`${P}-wrap`]:!!$.value});let O=y;const D=v===!0||(C==null?void 0:C.value)!==!1&&v!==!1;if(D&&!b.value&&typeof y=="string"&&y.trim()!==""&&(O=y.replace(/[:|:]\s*$/,"")),e.tooltip||n.tooltip){const E=w("span",{class:`${c}-item-tooltip`},[w(Mi,{title:e.tooltip},{default:()=>[w(XOe,null,null)]})]);O=w(Qe,null,[O,n.tooltip?(l=n.tooltip)===null||l===void 0?void 0:l.call(n,{class:`${c}-item-tooltip`}):E])}g==="optional"&&!p&&(O=w(Qe,null,[O,w("span",{class:`${c}-item-optional`},[((s=m.value)===null||s===void 0?void 0:s.optional)||((u=vi.Form)===null||u===void 0?void 0:u.optional)])]));const A=ce({[`${c}-item-required`]:p,[`${c}-item-required-mark-optional`]:g==="optional",[`${c}-item-no-colon`]:!D});return w(Xw,z(z({},T),{},{class:M}),{default:()=>[w("label",{for:d,class:A,title:typeof y=="string"?y:"",onClick:E=>r("click",E)},[O])]})};kE.displayName="FormItemLabel";kE.inheritAttrs=!1;const YOe=kE,qOe=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},qOe=YOe,ZOe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),ek=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},QOe=e=>{const{componentCls:t}=e;return{[e.componentCls]:_(_(_({},st(e)),ZOe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":_({},ek(e,e.controlHeightSM)),"&-large":_({},ek(e,e.controlHeightLG))})}},JOe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i}=e;return{[t]:_(_({},st(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:CD,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},eDe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},tDe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Ef=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),nDe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:Ef(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, - ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},rDe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},ZOe=qOe,QOe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),ek=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},JOe=e=>{const{componentCls:t}=e;return{[e.componentCls]:_(_(_({},st(e)),QOe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":_({},ek(e,e.controlHeightSM)),"&-large":_({},ek(e,e.controlHeightLG))})}},eDe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i}=e;return{[t]:_(_({},st(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'" "'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:CD,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},tDe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},nDe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",flexWrap:"nowrap",marginInlineEnd:e.margin,marginBottom:0,"&-with-help":{marginBottom:e.marginLG},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Rf=e=>({margin:0,padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{display:"none"}}}),rDe=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${n} ${n}-label`]:Rf(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, + ${n}-control`]:{flex:"0 0 100%",maxWidth:"100%"}}}}},iDe=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, .${r}-col-24${n}-label, - .${r}-col-xl-24${n}-label`]:Ef(e),[`@media (max-width: ${e.screenXSMax}px)`]:[nDe(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:Ef(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:Ef(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:Ef(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:Ef(e)}}}},BE=it("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ue(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[QOe(r),JOe(r),qOe(r),eDe(r),tDe(r),rDe(r),jm(r),CD]}),iDe=se({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:r,status:i}=zOe(),o=L(()=>`${r.value}-item-explain`),a=L(()=>!!(e.errors&&e.errors.length)),l=ue(i.value),[,s]=BE(r);return Se([a,i],()=>{a.value&&(l.value=i.value)}),()=>{var u,c;const d=Gm(`${r.value}-show-help-item`),f=vw(`${r.value}-show-help-item`,d);return f.role="alert",f.class=[s.value,o.value,n.class,`${r.value}-show-help`],w(dr,z(z({},Do(`${r.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Ur(w(Kx,z(z({},f),{},{tag:"div"}),{default:()=>[(c=e.errors)===null||c===void 0?void 0:c.map((h,v)=>w("div",{key:v,class:l.value?`${o.value}-${l.value}`:""},[h]))]}),[[hi,!!(!((u=e.errors)===null||u===void 0)&&u.length)]])]})}}}),oDe=se({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const r=LE(),{wrapperCol:i}=r,o=_({},r);return delete o.labelCol,delete o.wrapperCol,lZ(o),FOe({prefixCls:L(()=>e.prefixCls),status:L(()=>e.status)}),()=>{var a,l,s;const{prefixCls:u,wrapperCol:c,marginBottom:d,onErrorVisibleChanged:f,help:h=(a=n.help)===null||a===void 0?void 0:a.call(n),errors:v=xn((l=n.errors)===null||l===void 0?void 0:l.call(n)),extra:p=(s=n.extra)===null||s===void 0?void 0:s.call(n)}=e,g=`${u}-item`,m=c||(i==null?void 0:i.value)||{},y=ce(`${g}-control`,m.class);return w(Xw,z(z({},m),{},{class:y}),{default:()=>{var b;return w(Qe,null,[w("div",{class:`${g}-control-input`},[w("div",{class:`${g}-control-input-content`},[(b=n.default)===null||b===void 0?void 0:b.call(n)])]),d!==null||v.length?w("div",{style:{display:"flex",flexWrap:"nowrap"}},[w(iDe,{errors:v,help:h,class:`${g}-explain-connected`,onErrorVisibleChanged:f},null),!!d&&w("div",{style:{width:0,height:`${d}px`}},null)]):null,p?w("div",{class:`${g}-extra`},[p]):null])}})}}}),aDe=oDe;function lDe(e){const t=ae(e.value.slice());let n=null;return Ye(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}Ar("success","warning","error","validating","");const sDe={success:ls,warning:ss,error:Ri,validating:to};function l_(e,t,n){let r=e;const i=t;let o=0;try{for(let a=i.length;o({htmlFor:String,prefixCls:String,label:U.any,help:U.any,extra:U.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:U.oneOf(Ar("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let cDe=0;const dDe="form_item",uZ=se({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:uDe(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:i}=t;e.prop;const o=`form-item-${++cDe}`,{prefixCls:a}=Ee("form",e),[l,s]=BE(a),u=ae(),c=LE(),d=L(()=>e.name||e.prop),f=ae([]),h=ae(!1),v=ae(),p=L(()=>{const K=d.value;return CP(K)}),g=L(()=>{if(p.value.length){const K=c.name.value,te=p.value.join("_");return K?`${K}_${te}`:`${dDe}_${te}`}else return}),m=()=>{const K=c.model.value;if(!(!K||!d.value))return l_(K,p.value,!0).v},y=L(()=>m()),b=ae(Pb(y.value)),S=L(()=>{let K=e.validateTrigger!==void 0?e.validateTrigger:c.validateTrigger.value;return K=K===void 0?"change":K,iu(K)}),x=L(()=>{let K=c.rules.value;const te=e.rules,q=e.required!==void 0?{required:!!e.required,trigger:S.value}:[],ee=l_(K,p.value);K=K?ee.o[ee.k]||ee.v:[];const J=[].concat(te||K||[]);return qwe(J,G=>G.required)?J:J.concat(q)}),$=L(()=>{const K=x.value;let te=!1;return K&&K.length&&K.every(q=>q.required?(te=!0,!1):!0),te||e.required}),C=ae();Ye(()=>{C.value=e.validateStatus});const T=L(()=>{let K={};return typeof e.label=="string"?K.label=e.label:e.name&&(K.label=String(e.name)),e.messageVariables&&(K=_(_({},K),e.messageVariables)),K}),I=K=>{if(p.value.length===0)return;const{validateFirst:te=!1}=e,{triggerName:q}=K||{};let ee=x.value;if(q&&(ee=ee.filter(G=>{const{trigger:Y}=G;return!Y&&!S.value.length?!0:iu(Y||S.value).includes(q)})),!ee.length)return Promise.resolve();const J=oZ(p.value,y.value,ee,_({validateMessages:c.validateMessages.value},K),te,T.value);return C.value="validating",f.value=[],J.catch(G=>G).then(function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(C.value==="validating"){const Y=G.filter(oe=>oe&&oe.errors.length);C.value=Y.length?"error":"success",f.value=Y.map(oe=>oe.errors),c.onValidate(d.value,!f.value.length,f.value.length?mt(f.value[0]):null)}}),J},P=()=>{I({triggerName:"blur"})},M=()=>{if(h.value){h.value=!1;return}I({triggerName:"change"})},O=()=>{C.value=e.validateStatus,h.value=!1,f.value=[]},D=()=>{var K;C.value=e.validateStatus,h.value=!0,f.value=[];const te=c.model.value||{},q=y.value,ee=l_(te,p.value,!0);Array.isArray(q)?ee.o[ee.k]=[].concat((K=b.value)!==null&&K!==void 0?K:[]):ee.o[ee.k]=b.value,_t(()=>{h.value=!1})},R=L(()=>e.htmlFor===void 0?g.value:e.htmlFor),A=()=>{const K=R.value;if(!K||!v.value)return;const te=v.value.$el.querySelector(`[id="${K}"]`);te&&te.focus&&te.focus()};i({onFieldBlur:P,onFieldChange:M,clearValidate:O,resetField:D}),W1e({id:g,onFieldBlur:()=>{e.autoLink&&P()},onFieldChange:()=>{e.autoLink&&M()},clearValidate:O},L(()=>!!(e.autoLink&&c.model.value&&d.value)));let E=!1;Se(d,K=>{K?E||(E=!0,c.addField(o,{fieldValue:y,fieldId:g,fieldName:d,resetField:D,clearValidate:O,namePath:p,validateRules:I,rules:x})):(E=!1,c.removeField(o))},{immediate:!0}),ht(()=>{c.removeField(o)});const k=lDe(f),N=L(()=>e.validateStatus!==void 0?e.validateStatus:k.value.length?"error":C.value),B=L(()=>({[`${a.value}-item`]:!0,[s.value]:!0,[`${a.value}-item-has-feedback`]:N.value&&e.hasFeedback,[`${a.value}-item-has-success`]:N.value==="success",[`${a.value}-item-has-warning`]:N.value==="warning",[`${a.value}-item-has-error`]:N.value==="error",[`${a.value}-item-is-validating`]:N.value==="validating",[`${a.value}-item-hidden`]:e.hidden})),F=Bt({});fr.useProvide(F),Ye(()=>{let K;if(e.hasFeedback){const te=N.value&&sDe[N.value];K=te?w("span",{class:ce(`${a.value}-item-feedback-icon`,`${a.value}-item-feedback-icon-${N.value}`)},[w(te,null,null)]):null}_(F,{status:N.value,hasFeedback:e.hasFeedback,feedbackIcon:K,isFormItemInput:!0})});const H=ae(null),V=ae(!1),X=()=>{if(u.value){const K=getComputedStyle(u.value);H.value=parseInt(K.marginBottom,10)}};tt(()=>{Se(V,()=>{V.value&&X()},{flush:"post",immediate:!0})});const Q=K=>{K||(H.value=null)};return()=>{var K,te;if(e.noStyle)return(K=n.default)===null||K===void 0?void 0:K.call(n);const q=(te=e.help)!==null&&te!==void 0?te:n.help?xn(n.help()):null,ee=!!(q!=null&&Array.isArray(q)&&q.length||k.value.length);return V.value=ee,l(w("div",{class:[B.value,ee?`${a.value}-item-with-help`:"",r.class],ref:u},[w(RE,z(z({},r),{},{class:`${a.value}-item-row`,key:"row"}),{default:()=>{var J,G;return w(Qe,null,[w(XOe,z(z({},e),{},{htmlFor:R.value,required:$.value,requiredMark:c.requiredMark.value,prefixCls:a.value,onClick:A,label:e.label}),{label:n.label,tooltip:n.tooltip}),w(aDe,z(z({},e),{},{errors:q!=null?iu(q):k.value,marginBottom:H.value,prefixCls:a.value,status:N.value,ref:v,help:q,extra:(J=e.extra)!==null&&J!==void 0?J:(G=n.extra)===null||G===void 0?void 0:G.call(n),onErrorVisibleChanged:Q}),{default:n.default})])}}),!!H.value&&w("div",{class:`${a.value}-margin-offset`,style:{marginBottom:`-${H.value}px`}},null)]))}}});function cZ(e){let t=!1,n=e.length;const r=[];return e.length?new Promise((i,o)=>{e.forEach((a,l)=>{a.catch(s=>(t=!0,s)).then(s=>{n-=1,r[l]=s,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}function tk(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function nk(e){return e==null?[]:Array.isArray(e)?e:[e]}function s_(e,t,n){let r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const i=t.split(".");let o=0;for(let a=i.length;o1&&arguments[1]!==void 0?arguments[1]:ue({}),n=arguments.length>2?arguments[2]:void 0;const r=Pb(yn(e)),i=Bt({}),o=ae([]),a=b=>{_(yn(e),_(_({},Pb(r)),b)),_t(()=>{Object.keys(i).forEach(S=>{i[S]={autoLink:!1,required:tk(yn(t)[S])}})})},l=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1?arguments[1]:void 0;return S.length?b.filter(x=>{const $=nk(x.trigger||"change");return nCe($,S).length}):b};let s=null;const u=function(b){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=arguments.length>2?arguments[2]:void 0;const $=[],C={};for(let P=0;P({name:M,errors:[],warnings:[]})).catch(R=>{const A=[],E=[];return R.forEach(k=>{let{rule:{warningOnly:N},errors:B}=k;N?E.push(...B):A.push(...B)}),A.length?Promise.reject({name:M,errors:A,warnings:E}):{name:M,errors:A,warnings:E}}))}const T=cZ($);s=T;const I=T.then(()=>s===T?Promise.resolve(C):Promise.reject([])).catch(P=>{const M=P.filter(O=>O&&O.errors.length);return M.length?Promise.reject({values:C,errorFields:M,outOfDate:s!==T}):Promise.resolve(C)});return I.catch(P=>P),I},c=function(b,S,x){let $=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const C=oZ([b],S,x,_({validateMessages:Kw},$),!!$.validateFirst);return i[b]?(i[b].validateStatus="validating",C.catch(T=>T).then(function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var I;if(i[b].validateStatus==="validating"){const P=T.filter(M=>M&&M.errors.length);i[b].validateStatus=P.length?"error":"success",i[b].help=P.length?P.map(M=>M.errors):null,(I=n==null?void 0:n.onValidate)===null||I===void 0||I.call(n,b,!P.length,P.length?mt(i[b].help[0]):null)}}),C):C.catch(T=>T)},d=(b,S)=>{let x=[],$=!0;b?Array.isArray(b)?x=b:x=[b]:($=!1,x=o.value);const C=u(x,S||{},$);return C.catch(T=>T),C},f=b=>{let S=[];b?Array.isArray(b)?S=b:S=[b]:S=o.value,S.forEach(x=>{i[x]&&_(i[x],{validateStatus:"",help:null})})},h=b=>{const S={autoLink:!1},x=[],$=Array.isArray(b)?b:[b];for(let C=0;C<$.length;C++){const T=$[C];(T==null?void 0:T.validateStatus)==="error"&&(S.validateStatus="error",T.help&&x.push(T.help)),S.required=S.required||(T==null?void 0:T.required)}return S.help=x,S};let v=r,p=!0;const g=b=>{const S=[];o.value.forEach(x=>{const $=s_(b,x,!1),C=s_(v,x,!1);(p&&(n==null?void 0:n.immediate)&&$.isValid||!jO($.v,C.v))&&S.push(x)}),d(S,{trigger:"change"}),p=!1,v=Pb(mt(b))},m=n==null?void 0:n.debounce;let y=!0;return Se(t,()=>{o.value=t?Object.keys(yn(t)):[],!y&&n&&n.validateOnRuleChange&&d(),y=!1},{deep:!0,immediate:!0}),Se(o,()=>{const b={};o.value.forEach(S=>{b[S]=_({},i[S],{autoLink:!1,required:tk(yn(t)[S])}),delete i[S]});for(const S in i)Object.prototype.hasOwnProperty.call(i,S)&&delete i[S];_(i,b)},{immediate:!0}),Se(e,m&&m.wait?xD(g,m.wait,yCe(m,["wait"])):g,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:r,validateInfos:i,resetFields:a,validate:d,validateField:c,mergeValidateInfo:h,clearValidate:f}}const hDe=()=>({layout:U.oneOf(Ar("horizontal","inline","vertical")),labelCol:He(),wrapperCol:He(),colon:$e(),labelAlign:je(),labelWrap:$e(),prefixCls:String,requiredMark:Xe([String,Boolean]),hideRequiredMark:$e(),model:U.object,rules:He(),validateMessages:He(),validateOnRuleChange:$e(),scrollToFirstError:tn(),onSubmit:be(),name:String,validateTrigger:Xe([String,Array]),size:je(),disabled:$e(),onValuesChange:be(),onFieldsChange:be(),onFinish:be(),onFinishFailed:be(),onValidate:be()});function vDe(e,t){return jO(iu(e),iu(t))}const pDe=se({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:ft(hDe(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:uZ,useForm:fDe,setup(e,t){let{emit:n,slots:r,expose:i,attrs:o}=t;const{prefixCls:a,direction:l,form:s,size:u,disabled:c}=Ee("form",e),d=L(()=>e.requiredMark===""||e.requiredMark),f=L(()=>{var k;return d.value!==void 0?d.value:s&&((k=s.value)===null||k===void 0?void 0:k.requiredMark)!==void 0?s.value.requiredMark:!e.hideRequiredMark});SU(u),FK(c);const h=L(()=>{var k,N;return(k=e.colon)!==null&&k!==void 0?k:(N=s.value)===null||N===void 0?void 0:N.colon}),{validateMessages:v}=kfe(),p=L(()=>_(_(_({},Kw),v.value),e.validateMessages)),[g,m]=BE(a),y=L(()=>ce(a.value,{[`${a.value}-${e.layout}`]:!0,[`${a.value}-hide-required-mark`]:f.value===!1,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-${u.value}`]:u.value},m.value)),b=ue(),S={},x=(k,N)=>{S[k]=N},$=k=>{delete S[k]},C=k=>{const N=!!k,B=N?iu(k).map(CP):[];return N?Object.values(S).filter(F=>B.findIndex(H=>vDe(H,F.fieldName.value))>-1):Object.values(S)},T=k=>{if(!e.model){vn();return}C(k).forEach(N=>{N.resetField()})},I=k=>{C(k).forEach(N=>{N.clearValidate()})},P=k=>{const{scrollToFirstError:N}=e;if(n("finishFailed",k),N&&k.errorFields.length){let B={};typeof N=="object"&&(B=N),O(k.errorFields[0].name,B)}},M=function(){return A(...arguments)},O=function(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const B=C(k?[k]:void 0);if(B.length){const F=B[0].fieldId.value,H=F?document.getElementById(F):null;H&&CU(H,_({scrollMode:"if-needed",block:"nearest"},N))}},D=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(k===!0){const N=[];return Object.values(S).forEach(B=>{let{namePath:F}=B;N.push(F.value)}),QN(e.model,N)}else return QN(e.model,k)},R=(k,N)=>{if(vn(),!e.model)return vn(),Promise.reject("Form `model` is required for validateFields to work.");const B=!!k,F=B?iu(k).map(CP):[],H=[];Object.values(S).forEach(Q=>{var K;if(B||F.push(Q.namePath.value),!(!((K=Q.rules)===null||K===void 0)&&K.value.length))return;const te=Q.namePath.value;if(!B||DOe(F,te)){const q=Q.validateRules(_({validateMessages:p.value},N));H.push(q.then(()=>({name:te,errors:[],warnings:[]})).catch(ee=>{const J=[],G=[];return ee.forEach(Y=>{let{rule:{warningOnly:oe},errors:W}=Y;oe?G.push(...W):J.push(...W)}),J.length?Promise.reject({name:te,errors:J,warnings:G}):{name:te,errors:J,warnings:G}}))}});const V=cZ(H);b.value=V;const X=V.then(()=>b.value===V?Promise.resolve(D(F)):Promise.reject([])).catch(Q=>{const K=Q.filter(te=>te&&te.errors.length);return Promise.reject({values:D(F),errorFields:K,outOfDate:b.value!==V})});return X.catch(Q=>Q),X},A=function(){return R(...arguments)},E=k=>{k.preventDefault(),k.stopPropagation(),n("submit",k),e.model&&R().then(B=>{n("finish",B)}).catch(B=>{P(B)})};return i({resetFields:T,clearValidate:I,validateFields:R,getFieldsValue:D,validate:M,scrollToField:O}),lZ({model:L(()=>e.model),name:L(()=>e.name),labelAlign:L(()=>e.labelAlign),labelCol:L(()=>e.labelCol),labelWrap:L(()=>e.labelWrap),wrapperCol:L(()=>e.wrapperCol),vertical:L(()=>e.layout==="vertical"),colon:h,requiredMark:f,validateTrigger:L(()=>e.validateTrigger),rules:L(()=>e.rules),addField:x,removeField:$,onValidate:(k,N,B)=>{n("validate",k,N,B)},validateMessages:p}),Se(()=>e.rules,()=>{e.validateOnRuleChange&&R()}),()=>{var k;return g(w("form",z(z({},o),{},{onSubmit:E,class:[y.value,o.class]}),[(k=r.default)===null||k===void 0?void 0:k.call(r)]))}}}),Vs=pDe;Vs.useInjectFormItemContext=Xn;Vs.ItemRest=nS;Vs.install=function(e){return e.component(Vs.name,Vs),e.component(Vs.Item.name,Vs.Item),e.component(nS.name,nS),e};const gDe=new xt("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),mDe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:_(_({},st(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:_(_({},st(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:_(_({},st(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:_({},jl(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` + .${r}-col-xl-24${n}-label`]:Rf(e),[`@media (max-width: ${e.screenXSMax}px)`]:[rDe(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:Rf(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:Rf(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:Rf(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:Rf(e)}}}},BE=it("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ue(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[JOe(r),eDe(r),ZOe(r),tDe(r),nDe(r),iDe(r),jm(r),CD]}),oDe=se({compatConfig:{MODE:3},name:"ErrorList",inheritAttrs:!1,props:["errors","help","onErrorVisibleChanged","helpStatus","warnings"],setup(e,t){let{attrs:n}=t;const{prefixCls:r,status:i}=HOe(),o=L(()=>`${r.value}-item-explain`),a=L(()=>!!(e.errors&&e.errors.length)),l=ue(i.value),[,s]=BE(r);return Se([a,i],()=>{a.value&&(l.value=i.value)}),()=>{var u,c;const d=Gm(`${r.value}-show-help-item`),f=vw(`${r.value}-show-help-item`,d);return f.role="alert",f.class=[s.value,o.value,n.class,`${r.value}-show-help`],w(dr,z(z({},Eo(`${r.value}-show-help`)),{},{onAfterEnter:()=>e.onErrorVisibleChanged(!0),onAfterLeave:()=>e.onErrorVisibleChanged(!1)}),{default:()=>[Ur(w(Kx,z(z({},f),{},{tag:"div"}),{default:()=>[(c=e.errors)===null||c===void 0?void 0:c.map((h,v)=>w("div",{key:v,class:l.value?`${o.value}-${l.value}`:""},[h]))]}),[[hi,!!(!((u=e.errors)===null||u===void 0)&&u.length)]])]})}}}),aDe=se({compatConfig:{MODE:3},slots:Object,inheritAttrs:!1,props:["prefixCls","errors","hasFeedback","onDomErrorVisibleChange","wrapperCol","help","extra","status","marginBottom","onErrorVisibleChanged"],setup(e,t){let{slots:n}=t;const r=LE(),{wrapperCol:i}=r,o=_({},r);return delete o.labelCol,delete o.wrapperCol,lZ(o),zOe({prefixCls:L(()=>e.prefixCls),status:L(()=>e.status)}),()=>{var a,l,s;const{prefixCls:u,wrapperCol:c,marginBottom:d,onErrorVisibleChanged:f,help:h=(a=n.help)===null||a===void 0?void 0:a.call(n),errors:v=xn((l=n.errors)===null||l===void 0?void 0:l.call(n)),extra:p=(s=n.extra)===null||s===void 0?void 0:s.call(n)}=e,g=`${u}-item`,m=c||(i==null?void 0:i.value)||{},y=ce(`${g}-control`,m.class);return w(Xw,z(z({},m),{},{class:y}),{default:()=>{var b;return w(Qe,null,[w("div",{class:`${g}-control-input`},[w("div",{class:`${g}-control-input-content`},[(b=n.default)===null||b===void 0?void 0:b.call(n)])]),d!==null||v.length?w("div",{style:{display:"flex",flexWrap:"nowrap"}},[w(oDe,{errors:v,help:h,class:`${g}-explain-connected`,onErrorVisibleChanged:f},null),!!d&&w("div",{style:{width:0,height:`${d}px`}},null)]):null,p?w("div",{class:`${g}-extra`},[p]):null])}})}}}),lDe=aDe;function sDe(e){const t=ae(e.value.slice());let n=null;return Ye(()=>{clearTimeout(n),n=setTimeout(()=>{t.value=e.value},e.value.length?0:10)}),t}Ar("success","warning","error","validating","");const uDe={success:ls,warning:ss,error:Li,validating:no};function l_(e,t,n){let r=e;const i=t;let o=0;try{for(let a=i.length;o({htmlFor:String,prefixCls:String,label:U.any,help:U.any,extra:U.any,labelCol:{type:Object},wrapperCol:{type:Object},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:String,prop:{type:[String,Number,Array]},name:{type:[String,Number,Array]},rules:[Array,Object],autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:U.oneOf(Ar("","success","warning","error","validating")),validateTrigger:{type:[String,Array]},messageVariables:{type:Object},hidden:Boolean,noStyle:Boolean,tooltip:String});let dDe=0;const fDe="form_item",uZ=se({compatConfig:{MODE:3},name:"AFormItem",inheritAttrs:!1,__ANT_NEW_FORM_ITEM:!0,props:cDe(),slots:Object,setup(e,t){let{slots:n,attrs:r,expose:i}=t;e.prop;const o=`form-item-${++dDe}`,{prefixCls:a}=Ee("form",e),[l,s]=BE(a),u=ae(),c=LE(),d=L(()=>e.name||e.prop),f=ae([]),h=ae(!1),v=ae(),p=L(()=>{const K=d.value;return CP(K)}),g=L(()=>{if(p.value.length){const K=c.name.value,te=p.value.join("_");return K?`${K}_${te}`:`${fDe}_${te}`}else return}),m=()=>{const K=c.model.value;if(!(!K||!d.value))return l_(K,p.value,!0).v},y=L(()=>m()),b=ae(Pb(y.value)),S=L(()=>{let K=e.validateTrigger!==void 0?e.validateTrigger:c.validateTrigger.value;return K=K===void 0?"change":K,iu(K)}),x=L(()=>{let K=c.rules.value;const te=e.rules,q=e.required!==void 0?{required:!!e.required,trigger:S.value}:[],ee=l_(K,p.value);K=K?ee.o[ee.k]||ee.v:[];const J=[].concat(te||K||[]);return Zwe(J,G=>G.required)?J:J.concat(q)}),$=L(()=>{const K=x.value;let te=!1;return K&&K.length&&K.every(q=>q.required?(te=!0,!1):!0),te||e.required}),C=ae();Ye(()=>{C.value=e.validateStatus});const T=L(()=>{let K={};return typeof e.label=="string"?K.label=e.label:e.name&&(K.label=String(e.name)),e.messageVariables&&(K=_(_({},K),e.messageVariables)),K}),I=K=>{if(p.value.length===0)return;const{validateFirst:te=!1}=e,{triggerName:q}=K||{};let ee=x.value;if(q&&(ee=ee.filter(G=>{const{trigger:Y}=G;return!Y&&!S.value.length?!0:iu(Y||S.value).includes(q)})),!ee.length)return Promise.resolve();const J=oZ(p.value,y.value,ee,_({validateMessages:c.validateMessages.value},K),te,T.value);return C.value="validating",f.value=[],J.catch(G=>G).then(function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(C.value==="validating"){const Y=G.filter(oe=>oe&&oe.errors.length);C.value=Y.length?"error":"success",f.value=Y.map(oe=>oe.errors),c.onValidate(d.value,!f.value.length,f.value.length?mt(f.value[0]):null)}}),J},P=()=>{I({triggerName:"blur"})},M=()=>{if(h.value){h.value=!1;return}I({triggerName:"change"})},O=()=>{C.value=e.validateStatus,h.value=!1,f.value=[]},D=()=>{var K;C.value=e.validateStatus,h.value=!0,f.value=[];const te=c.model.value||{},q=y.value,ee=l_(te,p.value,!0);Array.isArray(q)?ee.o[ee.k]=[].concat((K=b.value)!==null&&K!==void 0?K:[]):ee.o[ee.k]=b.value,_t(()=>{h.value=!1})},R=L(()=>e.htmlFor===void 0?g.value:e.htmlFor),A=()=>{const K=R.value;if(!K||!v.value)return;const te=v.value.$el.querySelector(`[id="${K}"]`);te&&te.focus&&te.focus()};i({onFieldBlur:P,onFieldChange:M,clearValidate:O,resetField:D}),j1e({id:g,onFieldBlur:()=>{e.autoLink&&P()},onFieldChange:()=>{e.autoLink&&M()},clearValidate:O},L(()=>!!(e.autoLink&&c.model.value&&d.value)));let E=!1;Se(d,K=>{K?E||(E=!0,c.addField(o,{fieldValue:y,fieldId:g,fieldName:d,resetField:D,clearValidate:O,namePath:p,validateRules:I,rules:x})):(E=!1,c.removeField(o))},{immediate:!0}),ht(()=>{c.removeField(o)});const k=sDe(f),N=L(()=>e.validateStatus!==void 0?e.validateStatus:k.value.length?"error":C.value),B=L(()=>({[`${a.value}-item`]:!0,[s.value]:!0,[`${a.value}-item-has-feedback`]:N.value&&e.hasFeedback,[`${a.value}-item-has-success`]:N.value==="success",[`${a.value}-item-has-warning`]:N.value==="warning",[`${a.value}-item-has-error`]:N.value==="error",[`${a.value}-item-is-validating`]:N.value==="validating",[`${a.value}-item-hidden`]:e.hidden})),F=Bt({});fr.useProvide(F),Ye(()=>{let K;if(e.hasFeedback){const te=N.value&&uDe[N.value];K=te?w("span",{class:ce(`${a.value}-item-feedback-icon`,`${a.value}-item-feedback-icon-${N.value}`)},[w(te,null,null)]):null}_(F,{status:N.value,hasFeedback:e.hasFeedback,feedbackIcon:K,isFormItemInput:!0})});const H=ae(null),V=ae(!1),X=()=>{if(u.value){const K=getComputedStyle(u.value);H.value=parseInt(K.marginBottom,10)}};tt(()=>{Se(V,()=>{V.value&&X()},{flush:"post",immediate:!0})});const Q=K=>{K||(H.value=null)};return()=>{var K,te;if(e.noStyle)return(K=n.default)===null||K===void 0?void 0:K.call(n);const q=(te=e.help)!==null&&te!==void 0?te:n.help?xn(n.help()):null,ee=!!(q!=null&&Array.isArray(q)&&q.length||k.value.length);return V.value=ee,l(w("div",{class:[B.value,ee?`${a.value}-item-with-help`:"",r.class],ref:u},[w(RE,z(z({},r),{},{class:`${a.value}-item-row`,key:"row"}),{default:()=>{var J,G;return w(Qe,null,[w(YOe,z(z({},e),{},{htmlFor:R.value,required:$.value,requiredMark:c.requiredMark.value,prefixCls:a.value,onClick:A,label:e.label}),{label:n.label,tooltip:n.tooltip}),w(lDe,z(z({},e),{},{errors:q!=null?iu(q):k.value,marginBottom:H.value,prefixCls:a.value,status:N.value,ref:v,help:q,extra:(J=e.extra)!==null&&J!==void 0?J:(G=n.extra)===null||G===void 0?void 0:G.call(n),onErrorVisibleChanged:Q}),{default:n.default})])}}),!!H.value&&w("div",{class:`${a.value}-margin-offset`,style:{marginBottom:`-${H.value}px`}},null)]))}}});function cZ(e){let t=!1,n=e.length;const r=[];return e.length?new Promise((i,o)=>{e.forEach((a,l)=>{a.catch(s=>(t=!0,s)).then(s=>{n-=1,r[l]=s,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}function tk(e){let t=!1;return e&&e.length&&e.every(n=>n.required?(t=!0,!1):!0),t}function nk(e){return e==null?[]:Array.isArray(e)?e:[e]}function s_(e,t,n){let r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");const i=t.split(".");let o=0;for(let a=i.length;o1&&arguments[1]!==void 0?arguments[1]:ue({}),n=arguments.length>2?arguments[2]:void 0;const r=Pb(yn(e)),i=Bt({}),o=ae([]),a=b=>{_(yn(e),_(_({},Pb(r)),b)),_t(()=>{Object.keys(i).forEach(S=>{i[S]={autoLink:!1,required:tk(yn(t)[S])}})})},l=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1?arguments[1]:void 0;return S.length?b.filter(x=>{const $=nk(x.trigger||"change");return rCe($,S).length}):b};let s=null;const u=function(b){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=arguments.length>2?arguments[2]:void 0;const $=[],C={};for(let P=0;P({name:M,errors:[],warnings:[]})).catch(R=>{const A=[],E=[];return R.forEach(k=>{let{rule:{warningOnly:N},errors:B}=k;N?E.push(...B):A.push(...B)}),A.length?Promise.reject({name:M,errors:A,warnings:E}):{name:M,errors:A,warnings:E}}))}const T=cZ($);s=T;const I=T.then(()=>s===T?Promise.resolve(C):Promise.reject([])).catch(P=>{const M=P.filter(O=>O&&O.errors.length);return M.length?Promise.reject({values:C,errorFields:M,outOfDate:s!==T}):Promise.resolve(C)});return I.catch(P=>P),I},c=function(b,S,x){let $=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const C=oZ([b],S,x,_({validateMessages:Kw},$),!!$.validateFirst);return i[b]?(i[b].validateStatus="validating",C.catch(T=>T).then(function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];var I;if(i[b].validateStatus==="validating"){const P=T.filter(M=>M&&M.errors.length);i[b].validateStatus=P.length?"error":"success",i[b].help=P.length?P.map(M=>M.errors):null,(I=n==null?void 0:n.onValidate)===null||I===void 0||I.call(n,b,!P.length,P.length?mt(i[b].help[0]):null)}}),C):C.catch(T=>T)},d=(b,S)=>{let x=[],$=!0;b?Array.isArray(b)?x=b:x=[b]:($=!1,x=o.value);const C=u(x,S||{},$);return C.catch(T=>T),C},f=b=>{let S=[];b?Array.isArray(b)?S=b:S=[b]:S=o.value,S.forEach(x=>{i[x]&&_(i[x],{validateStatus:"",help:null})})},h=b=>{const S={autoLink:!1},x=[],$=Array.isArray(b)?b:[b];for(let C=0;C<$.length;C++){const T=$[C];(T==null?void 0:T.validateStatus)==="error"&&(S.validateStatus="error",T.help&&x.push(T.help)),S.required=S.required||(T==null?void 0:T.required)}return S.help=x,S};let v=r,p=!0;const g=b=>{const S=[];o.value.forEach(x=>{const $=s_(b,x,!1),C=s_(v,x,!1);(p&&(n==null?void 0:n.immediate)&&$.isValid||!jO($.v,C.v))&&S.push(x)}),d(S,{trigger:"change"}),p=!1,v=Pb(mt(b))},m=n==null?void 0:n.debounce;let y=!0;return Se(t,()=>{o.value=t?Object.keys(yn(t)):[],!y&&n&&n.validateOnRuleChange&&d(),y=!1},{deep:!0,immediate:!0}),Se(o,()=>{const b={};o.value.forEach(S=>{b[S]=_({},i[S],{autoLink:!1,required:tk(yn(t)[S])}),delete i[S]});for(const S in i)Object.prototype.hasOwnProperty.call(i,S)&&delete i[S];_(i,b)},{immediate:!0}),Se(e,m&&m.wait?xD(g,m.wait,bCe(m,["wait"])):g,{immediate:n&&!!n.immediate,deep:!0}),{modelRef:e,rulesRef:t,initialModel:r,validateInfos:i,resetFields:a,validate:d,validateField:c,mergeValidateInfo:h,clearValidate:f}}const vDe=()=>({layout:U.oneOf(Ar("horizontal","inline","vertical")),labelCol:He(),wrapperCol:He(),colon:$e(),labelAlign:je(),labelWrap:$e(),prefixCls:String,requiredMark:Xe([String,Boolean]),hideRequiredMark:$e(),model:U.object,rules:He(),validateMessages:He(),validateOnRuleChange:$e(),scrollToFirstError:tn(),onSubmit:be(),name:String,validateTrigger:Xe([String,Array]),size:je(),disabled:$e(),onValuesChange:be(),onFieldsChange:be(),onFinish:be(),onFinishFailed:be(),onValidate:be()});function pDe(e,t){return jO(iu(e),iu(t))}const gDe=se({compatConfig:{MODE:3},name:"AForm",inheritAttrs:!1,props:ft(vDe(),{layout:"horizontal",hideRequiredMark:!1,colon:!0}),Item:uZ,useForm:hDe,setup(e,t){let{emit:n,slots:r,expose:i,attrs:o}=t;const{prefixCls:a,direction:l,form:s,size:u,disabled:c}=Ee("form",e),d=L(()=>e.requiredMark===""||e.requiredMark),f=L(()=>{var k;return d.value!==void 0?d.value:s&&((k=s.value)===null||k===void 0?void 0:k.requiredMark)!==void 0?s.value.requiredMark:!e.hideRequiredMark});SU(u),FK(c);const h=L(()=>{var k,N;return(k=e.colon)!==null&&k!==void 0?k:(N=s.value)===null||N===void 0?void 0:N.colon}),{validateMessages:v}=Bfe(),p=L(()=>_(_(_({},Kw),v.value),e.validateMessages)),[g,m]=BE(a),y=L(()=>ce(a.value,{[`${a.value}-${e.layout}`]:!0,[`${a.value}-hide-required-mark`]:f.value===!1,[`${a.value}-rtl`]:l.value==="rtl",[`${a.value}-${u.value}`]:u.value},m.value)),b=ue(),S={},x=(k,N)=>{S[k]=N},$=k=>{delete S[k]},C=k=>{const N=!!k,B=N?iu(k).map(CP):[];return N?Object.values(S).filter(F=>B.findIndex(H=>pDe(H,F.fieldName.value))>-1):Object.values(S)},T=k=>{if(!e.model){vn();return}C(k).forEach(N=>{N.resetField()})},I=k=>{C(k).forEach(N=>{N.clearValidate()})},P=k=>{const{scrollToFirstError:N}=e;if(n("finishFailed",k),N&&k.errorFields.length){let B={};typeof N=="object"&&(B=N),O(k.errorFields[0].name,B)}},M=function(){return A(...arguments)},O=function(k){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const B=C(k?[k]:void 0);if(B.length){const F=B[0].fieldId.value,H=F?document.getElementById(F):null;H&&CU(H,_({scrollMode:"if-needed",block:"nearest"},N))}},D=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(k===!0){const N=[];return Object.values(S).forEach(B=>{let{namePath:F}=B;N.push(F.value)}),QN(e.model,N)}else return QN(e.model,k)},R=(k,N)=>{if(vn(),!e.model)return vn(),Promise.reject("Form `model` is required for validateFields to work.");const B=!!k,F=B?iu(k).map(CP):[],H=[];Object.values(S).forEach(Q=>{var K;if(B||F.push(Q.namePath.value),!(!((K=Q.rules)===null||K===void 0)&&K.value.length))return;const te=Q.namePath.value;if(!B||EOe(F,te)){const q=Q.validateRules(_({validateMessages:p.value},N));H.push(q.then(()=>({name:te,errors:[],warnings:[]})).catch(ee=>{const J=[],G=[];return ee.forEach(Y=>{let{rule:{warningOnly:oe},errors:W}=Y;oe?G.push(...W):J.push(...W)}),J.length?Promise.reject({name:te,errors:J,warnings:G}):{name:te,errors:J,warnings:G}}))}});const V=cZ(H);b.value=V;const X=V.then(()=>b.value===V?Promise.resolve(D(F)):Promise.reject([])).catch(Q=>{const K=Q.filter(te=>te&&te.errors.length);return Promise.reject({values:D(F),errorFields:K,outOfDate:b.value!==V})});return X.catch(Q=>Q),X},A=function(){return R(...arguments)},E=k=>{k.preventDefault(),k.stopPropagation(),n("submit",k),e.model&&R().then(B=>{n("finish",B)}).catch(B=>{P(B)})};return i({resetFields:T,clearValidate:I,validateFields:R,getFieldsValue:D,validate:M,scrollToField:O}),lZ({model:L(()=>e.model),name:L(()=>e.name),labelAlign:L(()=>e.labelAlign),labelCol:L(()=>e.labelCol),labelWrap:L(()=>e.labelWrap),wrapperCol:L(()=>e.wrapperCol),vertical:L(()=>e.layout==="vertical"),colon:h,requiredMark:f,validateTrigger:L(()=>e.validateTrigger),rules:L(()=>e.rules),addField:x,removeField:$,onValidate:(k,N,B)=>{n("validate",k,N,B)},validateMessages:p}),Se(()=>e.rules,()=>{e.validateOnRuleChange&&R()}),()=>{var k;return g(w("form",z(z({},o),{},{onSubmit:E,class:[y.value,o.class]}),[(k=r.default)===null||k===void 0?void 0:k.call(r)]))}}}),Vs=gDe;Vs.useInjectFormItemContext=Xn;Vs.ItemRest=nS;Vs.install=function(e){return e.component(Vs.name,Vs),e.component(Vs.Item.name,Vs.Item),e.component(nS.name,nS),e};const mDe=new xt("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),yDe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:_(_({},st(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:_(_({},st(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:_(_({},st(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:_({},Gl(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` ${n}:not(${n}-disabled), ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:gDe,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:mDe,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` ${n}-checked:not(${n}-disabled), ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Yw(e,t){const n=Ue(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[mDe(n)]}const dZ=it("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[Yw(n,e)]}),yDe=e=>{const{prefixCls:t,componentCls:n,antCls:r}=e,i=`${n}-menu-item`,o=` + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function Yw(e,t){const n=Ue(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[yDe(n)]}const dZ=it("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[Yw(n,e)]}),bDe=e=>{const{prefixCls:t,componentCls:n,antCls:r}=e,i=`${n}-menu-item`,o=` &${i}-expand ${i}-expand-icon, ${i}-loading-icon - `,a=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[Yw(`${t}-checkbox`,e),{[`&${r}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[i]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":_(_({},Hn),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${a}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${i}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},ov(e)]},bDe=it("Cascader",e=>[yDe(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var SDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);is===0?[l]:[...a,t,l],[]),i=[];let o=0;return r.forEach((a,l)=>{const s=o+a.length;let u=e.slice(o,s);o=s,l%2===1&&(u=w("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[u])),i.push(u)}),i}const wDe=e=>{let{inputValue:t,path:n,prefixCls:r,fieldNames:i}=e;const o=[],a=t.toLowerCase();return n.forEach((l,s)=>{s!==0&&o.push(" / ");let u=l[i.label];const c=typeof u;(c==="string"||c==="number")&&(u=xDe(String(u),a,r)),o.push(u)}),o};function CDe(){return _(_({},yt(qq(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:U.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const $De=se({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:ft(CDe(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:r,slots:i,emit:o}=t;const a=Xn(),l=fr.useInject(),s=L(()=>ha(l.status,e.status)),{prefixCls:u,rootPrefixCls:c,getPrefixCls:d,direction:f,getPopupContainer:h,renderEmpty:v,size:p,disabled:g}=Ee("cascader",e),m=L(()=>d("select",e.prefixCls)),{compactSize:y,compactItemClassnames:b}=Au(m,f),S=L(()=>y.value||p.value),x=Mi(),$=L(()=>{var N;return(N=g.value)!==null&&N!==void 0?N:x.value}),[C,T]=$D(m),[I]=bDe(u),P=L(()=>f.value==="rtl"),M=L(()=>{if(!e.showSearch)return e.showSearch;let N={render:wDe};return typeof e.showSearch=="object"&&(N=_(_({},N),e.showSearch)),N}),O=L(()=>ce(e.popupClassName||e.dropdownClassName,`${u.value}-dropdown`,{[`${u.value}-dropdown-rtl`]:P.value},T.value)),D=ue();r({focus(){var N;(N=D.value)===null||N===void 0||N.focus()},blur(){var N;(N=D.value)===null||N===void 0||N.blur()}});const R=function(){for(var N=arguments.length,B=new Array(N),F=0;Fe.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),k=L(()=>e.placement!==void 0?e.placement:f.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var N,B;const{notFoundContent:F=(N=i.notFoundContent)===null||N===void 0?void 0:N.call(i),expandIcon:H=(B=i.expandIcon)===null||B===void 0?void 0:B.call(i),multiple:V,bordered:X,allowClear:Q,choiceTransitionName:K,transitionName:te,id:q=a.id.value}=e,ee=SDe(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),J=F||v("Cascader");let G=H;H||(G=P.value?w(vu,null,null):w(ua,null,null));const Y=w("span",{class:`${m.value}-menu-item-loading-icon`},[w(to,{spin:!0},null)]),{suffixIcon:oe,removeIcon:W,clearIcon:Z}=uD(_(_({},e),{hasFeedback:l.hasFeedback,feedbackIcon:l.feedbackIcon,multiple:V,prefixCls:m.value,showArrow:E.value}),i);return I(C(w(LAe,z(z(z({},ee),n),{},{id:q,prefixCls:m.value,class:[u.value,{[`${m.value}-lg`]:S.value==="large",[`${m.value}-sm`]:S.value==="small",[`${m.value}-rtl`]:P.value,[`${m.value}-borderless`]:!X,[`${m.value}-in-form-item`]:l.isFormItemInput},Kr(m.value,s.value,l.hasFeedback),b.value,n.class,T.value],disabled:$.value,direction:f.value,placement:k.value,notFoundContent:J,allowClear:Q,showSearch:M.value,expandIcon:G,inputIcon:oe,removeIcon:W,clearIcon:Z,loadingIcon:Y,checkable:!!V,dropdownClassName:O.value,dropdownPrefixCls:u.value,choiceTransitionName:Yr(c.value,"",K),transitionName:Yr(c.value,GO(k.value),te),getPopupContainer:h==null?void 0:h.value,customSlots:_(_({},i),{checkable:()=>w("span",{class:`${u.value}-checkbox-inner`},null)}),tagRender:e.tagRender||i.tagRender,displayRender:e.displayRender||i.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||i.maxTagPlaceholder,showArrow:l.hasFeedback||e.showArrow,onChange:R,onBlur:A,ref:D}),i)))}}}),_De=gn(_($De,{SHOW_CHILD:zq,SHOW_PARENT:Fq})),TDe=()=>({name:String,prefixCls:String,options:Ot([]),disabled:Boolean,id:String}),IDe=()=>_(_({},TDe()),{defaultValue:Ot(),value:Ot(),onChange:be(),"onUpdate:value":be()}),PDe=()=>({prefixCls:String,defaultChecked:$e(),checked:$e(),disabled:$e(),isGroup:$e(),value:U.any,name:String,id:String,indeterminate:$e(),type:je("checkbox"),autofocus:$e(),onChange:be(),"onUpdate:checked":be(),onClick:be(),skipGroup:$e(!1)}),MDe=()=>_(_({},PDe()),{indeterminate:$e(!1)}),fZ=Symbol("CheckboxGroupContext");var rk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(v==null?void 0:v.disabled.value)||c.value);Ye(()=>{!e.skipGroup&&v&&v.registerValue(p,e.value)}),ht(()=>{v&&v.cancelValue(p)}),tt(()=>{vn(!!(e.checked!==void 0||v||e.value===void 0))});const m=x=>{const $=x.target.checked;n("update:checked",$),n("change",x),a.onFieldChange()},y=ue();return o({focus:()=>{var x;(x=y.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=y.value)===null||x===void 0||x.blur()}}),()=>{var x;const $=Jt((x=i.default)===null||x===void 0?void 0:x.call(i)),{indeterminate:C,skipGroup:T,id:I=a.id.value}=e,P=rk(e,["indeterminate","skipGroup","id"]),{onMouseenter:M,onMouseleave:O,onInput:D,class:R,style:A}=r,E=rk(r,["onMouseenter","onMouseleave","onInput","class","style"]),k=_(_(_(_({},P),{id:I,prefixCls:s.value}),E),{disabled:g.value});v&&!T?(k.onChange=function(){for(var H=arguments.length,V=new Array(H),X=0;X`${l.value}-group`),[c,d]=dZ(u),f=ue((e.value===void 0?e.defaultValue:e.value)||[]);Se(()=>e.value,()=>{f.value=e.value||[]});const h=L(()=>e.options.map(S=>typeof S=="string"||typeof S=="number"?{label:S,value:S}:S)),v=ue(Symbol()),p=ue(new Map),g=S=>{p.value.delete(S),v.value=Symbol()},m=(S,x)=>{p.value.set(S,x),v.value=Symbol()},y=ue(new Map);return Se(v,()=>{const S=new Map;for(const x of p.value.values())S.set(x,!0);y.value=S}),at(fZ,{cancelValue:g,registerValue:m,toggleOption:S=>{const x=f.value.indexOf(S.value),$=[...f.value];x===-1?$.push(S.value):$.splice(x,1),e.value===void 0&&(f.value=$);const C=$.filter(T=>y.value.has(T)).sort((T,I)=>{const P=h.value.findIndex(O=>O.value===T),M=h.value.findIndex(O=>O.value===I);return P-M});i("update:value",C),i("change",C),a.onFieldChange()},mergedValue:f,name:L(()=>e.name),disabled:L(()=>e.disabled)}),o({mergedValue:f}),()=>{var S;const{id:x=a.id.value}=e;let $=null;return h.value&&h.value.length>0&&($=h.value.map(C=>{var T;return w(Io,{prefixCls:l.value,key:C.value.toString(),disabled:"disabled"in C?C.disabled:e.disabled,indeterminate:C.indeterminate,value:C.value,checked:f.value.indexOf(C.value)!==-1,onChange:C.onChange,class:`${u.value}-item`},{default:()=>[n.label!==void 0?(T=n.label)===null||T===void 0?void 0:T.call(n,C):C.label]})})),c(w("div",z(z({},r),{},{class:[u.value,{[`${u.value}-rtl`]:s.value==="rtl"},r.class,d.value],id:x}),[$||((S=n.default)===null||S===void 0?void 0:S.call(n))]))}}});Io.Group=_S;Io.install=function(e){return e.component(Io.name,Io),e.component(_S.name,_S),e};const ADe={useBreakpoint:lv},ODe=gn(Xw),DDe=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:r,commentNestIndent:i,commentFontSizeBase:o,commentFontSizeSm:a,commentAuthorNameColor:l,commentAuthorTimeColor:s,commentActionColor:u,commentActionHoverColor:c,commentActionsMarginBottom:d,commentActionsMarginTop:f,commentContentDetailPMarginBottom:h}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:r},[`${t}-avatar`]:{position:"relative",flexShrink:0,marginRight:e.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${t}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:o,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:o,"& > a,& > span":{paddingRight:e.paddingXS,fontSize:a,lineHeight:"18px"},"&-name":{color:l,fontSize:o,transition:`color ${e.motionDurationSlow}`,"> *":{color:l,"&:hover":{color:l}}},"&-time":{color:s,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{marginBottom:h,whiteSpace:"pre-wrap"}},[`${t}-actions`]:{marginTop:f,marginBottom:d,paddingLeft:0,"> li":{display:"inline-block",color:u,"> span":{marginRight:"10px",color:u,fontSize:a,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,userSelect:"none","&:hover":{color:c}}}},[`${t}-nested`]:{marginLeft:i},"&-rtl":{direction:"rtl"}}}},EDe=it("Comment",e=>{const t=Ue(e,{commentBg:"inherit",commentPaddingBase:`${e.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:e.fontSize,commentFontSizeSm:e.fontSizeSM,commentAuthorNameColor:e.colorTextTertiary,commentAuthorTimeColor:e.colorTextPlaceholder,commentActionColor:e.colorTextTertiary,commentActionHoverColor:e.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:e.marginSM,commentContentDetailPMarginBottom:"inherit"});return[DDe(t)]}),RDe=()=>({actions:Array,author:U.any,avatar:U.any,content:U.any,prefixCls:String,datetime:U.any}),LDe=se({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:RDe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("comment",e),[a,l]=EDe(i),s=(c,d)=>w("div",{class:`${c}-nested`},[d]),u=c=>!c||!c.length?null:c.map((f,h)=>w("li",{key:`action-${h}`},[f]));return()=>{var c,d,f,h,v,p,g,m,y,b,S;const x=i.value,$=(c=e.actions)!==null&&c!==void 0?c:(d=n.actions)===null||d===void 0?void 0:d.call(n),C=(f=e.author)!==null&&f!==void 0?f:(h=n.author)===null||h===void 0?void 0:h.call(n),T=(v=e.avatar)!==null&&v!==void 0?v:(p=n.avatar)===null||p===void 0?void 0:p.call(n),I=(g=e.content)!==null&&g!==void 0?g:(m=n.content)===null||m===void 0?void 0:m.call(n),P=(y=e.datetime)!==null&&y!==void 0?y:(b=n.datetime)===null||b===void 0?void 0:b.call(n),M=w("div",{class:`${x}-avatar`},[typeof T=="string"?w("img",{src:T,alt:"comment-avatar"},null):T]),O=$?w("ul",{class:`${x}-actions`},[u(Array.isArray($)?$:[$])]):null,D=w("div",{class:`${x}-content-author`},[C&&w("span",{class:`${x}-content-author-name`},[C]),P&&w("span",{class:`${x}-content-author-time`},[P])]),R=w("div",{class:`${x}-content`},[D,w("div",{class:`${x}-content-detail`},[I]),O]),A=w("div",{class:`${x}-inner`},[M,R]),E=Jt((S=n.default)===null||S===void 0?void 0:S.call(n));return a(w("div",z(z({},r),{},{class:[x,{[`${x}-rtl`]:o.value==="rtl"},r.class,l.value]}),[A,E&&E.length?s(x,E):null]))}}}),NDe=gn(LDe);let kb=_({},vi.Modal);function kDe(e){e?kb=_(_({},kb),e):kb=_({},vi.Modal)}function BDe(){return kb}const _P="internalMark",Bb=se({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;vn(e.ANT_MARK__===_P);const r=Bt({antLocale:_(_({},e.locale),{exist:!0}),ANT_MARK__:_P});return at("localeData",r),Se(()=>e.locale,i=>{kDe(i&&i.Modal),r.antLocale=_(_({},i),{exist:!0})},{immediate:!0}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});Bb.install=function(e){return e.component(Bb.name,Bb),e};const hZ=gn(Bb),vZ=se({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:r}=t,i,o=!1;const a=L(()=>e.duration===void 0?4.5:e.duration),l=()=>{a.value&&!o&&(i=setTimeout(()=>{u()},a.value*1e3))},s=()=>{i&&(clearTimeout(i),i=null)},u=d=>{d&&d.stopPropagation(),s();const{onClose:f,noticeKey:h}=e;f&&f(h)},c=()=>{s(),l()};return tt(()=>{l()}),Jr(()=>{o=!0,s()}),Se([a,()=>e.updateMark,()=>e.visible],(d,f)=>{let[h,v,p]=d,[g,m,y]=f;(h!==g||v!==m||p!==y&&y)&&c()},{flush:"post"}),()=>{var d,f;const{prefixCls:h,closable:v,closeIcon:p=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r),onClick:g,holder:m}=e,{class:y,style:b}=n,S=`${h}-notice`,x=Object.keys(n).reduce((C,T)=>((T.startsWith("data-")||T.startsWith("aria-")||T==="role")&&(C[T]=n[T]),C),{}),$=w("div",z({class:ce(S,y,{[`${S}-closable`]:v}),style:b,onMouseenter:s,onMouseleave:l,onClick:g},x),[w("div",{class:`${S}-content`},[(f=r.default)===null||f===void 0?void 0:f.call(r)]),v?w("a",{tabindex:0,onClick:u,class:`${S}-close`},[p||w("span",{class:`${S}-close-x`},null)]):null]);return m?w(tO,{to:m},{default:()=>$}):$}}});var FDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,animation:d="fade"}=e;let f=e.transitionName;return!f&&d&&(f=`${c}-${d}`),vw(f)}),s=(c,d)=>{const f=c.key||ok(),h=_(_({},c),{key:f}),{maxCount:v}=e,p=a.value.map(m=>m.notice.key).indexOf(f),g=a.value.concat();p!==-1?g.splice(p,1,{notice:h,holderCallback:d}):(v&&a.value.length>=v&&(h.key=g[0].notice.key,h.updateMark=ok(),h.userPassKey=f,g.shift()),g.push({notice:h,holderCallback:d})),a.value=g},u=c=>{a.value=mt(a.value).filter(d=>{let{notice:{key:f,userPassKey:h}}=d;return(h||f)!==c})};return r({add:s,remove:u,notices:a}),()=>{var c;const{prefixCls:d,closeIcon:f=(c=i.closeIcon)===null||c===void 0?void 0:c.call(i,{prefixCls:d})}=e,h=a.value.map((p,g)=>{let{notice:m,holderCallback:y}=p;const b=g===a.value.length-1?m.updateMark:void 0,{key:S,userPassKey:x}=m,{content:$}=m,C=_(_(_({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},m),m.props),{key:S,noticeKey:x||S,updateMark:b,onClose:T=>{var I;u(T),(I=m.onClose)===null||I===void 0||I.call(m)},onClick:m.onClick});return y?w("div",{key:S,class:`${d}-hook-holder`,ref:T=>{typeof S!="undefined"&&(T?(o.set(S,T),y(T,C)):o.delete(S))}},null):w(vZ,z(z({},C),{},{class:ce(C.class,e.hashId)}),{default:()=>[typeof $=="function"?$({prefixCls:d}):$]})}),v={[d]:1,[n.class]:!!n.class,[e.hashId]:!0};return w("div",{class:v,style:n.style||{top:"65px",left:"50%"}},[w(Kx,z({tag:"div"},l.value),{default:()=>[h]})])}}});TP.newInstance=function(t,n){const r=t||{},{name:i="notification",getContainer:o,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:u,hasTransitionName:c,useStyle:d}=r,f=FDe(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),h=document.createElement("div");o?o().appendChild(h):document.body.appendChild(h);const p=w(se({compatConfig:{MODE:3},name:"NotificationWrapper",setup(g,m){let{attrs:y}=m;const b=ae(),S=L(()=>Cr.getPrefixCls(i,l)),[,x]=d(S);return tt(()=>{n({notice($){var C;(C=b.value)===null||C===void 0||C.add($)},removeNotice($){var C;(C=b.value)===null||C===void 0||C.remove($)},destroy(){fu(null,h),h.parentNode&&h.parentNode.removeChild(h)},component:b})}),()=>{const $=Cr,C=$.getRootPrefixCls(s,S.value),T=c?u:`${S.value}-${u}`;return w(VE,z(z({},$),{},{prefixCls:C}),{default:()=>[w(TP,z(z({ref:b},y),{},{prefixCls:S.value,transitionName:T,hashId:x.value}),null)]})}}}),f);p.appContext=a||p.appContext,fu(p,h)};const pZ=TP;let ak=0;const HDe=Date.now();function lk(){const e=ak;return ak+=1,`rcNotification_${HDe}_${e}`}const VDe=se({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:r}=t;const i=new Map,o=L(()=>e.notices),a=L(()=>{let c=e.transitionName;if(!c&&e.animation)switch(typeof e.animation){case"string":c=e.animation;break;case"function":c=e.animation().name;break;case"object":c=e.animation.name;break;default:c=`${e.prefixCls}-fade`;break}return vw(c)}),l=c=>e.remove(c),s=ue({});Se(o,()=>{const c={};Object.keys(s.value).forEach(d=>{c[d]=[]}),e.notices.forEach(d=>{const{placement:f="topRight"}=d.notice;f&&(c[f]=c[f]||[],c[f].push(d))}),s.value=c});const u=L(()=>Object.keys(s.value));return()=>{var c;const{prefixCls:d,closeIcon:f=(c=r.closeIcon)===null||c===void 0?void 0:c.call(r,{prefixCls:d})}=e,h=u.value.map(v=>{var p,g;const m=s.value[v],y=(p=e.getClassName)===null||p===void 0?void 0:p.call(e,v),b=(g=e.getStyles)===null||g===void 0?void 0:g.call(e,v),S=m.map((C,T)=>{let{notice:I,holderCallback:P}=C;const M=T===o.value.length-1?I.updateMark:void 0,{key:O,userPassKey:D}=I,{content:R}=I,A=_(_(_({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},I),I.props),{key:O,noticeKey:D||O,updateMark:M,onClose:E=>{var k;l(E),(k=I.onClose)===null||k===void 0||k.call(I)},onClick:I.onClick});return P?w("div",{key:O,class:`${d}-hook-holder`,ref:E=>{typeof O!="undefined"&&(E?(i.set(O,E),P(E,A)):i.delete(O))}},null):w(vZ,z(z({},A),{},{class:ce(A.class,e.hashId)}),{default:()=>[typeof R=="function"?R({prefixCls:d}):R]})}),x={[d]:1,[`${d}-${v}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[y]:!!y};function $(){var C;m.length>0||(Reflect.deleteProperty(s.value,v),(C=e.onAllRemoved)===null||C===void 0||C.call(e))}return w("div",{key:v,class:x,style:n.style||b||{top:"65px",left:"50%"}},[w(Kx,z(z({tag:"div"},a.value),{},{onAfterLeave:$}),{default:()=>[S]})])});return w(lX,{getContainer:e.getContainer},{default:()=>[h]})}}}),WDe=VDe;var jDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);idocument.body;let sk=0;function KDe(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{i&&Object.keys(i).forEach(o=>{const a=i[o];a!==void 0&&(e[o]=a)})}),e}function gZ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=GDe,motion:n,prefixCls:r,maxCount:i,getClassName:o,getStyles:a,onAllRemoved:l}=e,s=jDe(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),u=ae([]),c=ae(),d=(m,y)=>{const b=m.key||lk(),S=_(_({},m),{key:b}),x=u.value.map(C=>C.notice.key).indexOf(b),$=u.value.concat();x!==-1?$.splice(x,1,{notice:S,holderCallback:y}):(i&&u.value.length>=i&&(S.key=$[0].notice.key,S.updateMark=lk(),S.userPassKey=b,$.shift()),$.push({notice:S,holderCallback:y})),u.value=$},f=m=>{u.value=u.value.filter(y=>{let{notice:{key:b,userPassKey:S}}=y;return(S||b)!==m})},h=()=>{u.value=[]},v=()=>w(WDe,{ref:c,prefixCls:r,maxCount:i,notices:u.value,remove:f,getClassName:o,getStyles:a,animation:n,hashId:e.hashId,onAllRemoved:l,getContainer:t},null),p=ae([]),g={open:m=>{const y=KDe(s,m);(y.key===null||y.key===void 0)&&(y.key=`vc-notification-${sk}`,sk+=1),p.value=[...p.value,{type:"open",config:y}]},close:m=>{p.value=[...p.value,{type:"close",key:m}]},destroy:()=>{p.value=[...p.value,{type:"destroy"}]}};return Se(p,()=>{p.value.length&&(p.value.forEach(m=>{switch(m.type){case"open":d(m.config);break;case"close":f(m.key);break;case"destroy":h();break}}),p.value=[])}),[g,v]}const UDe=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:r,colorBgElevated:i,colorSuccess:o,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:c,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:v,zIndexPopup:p,messageNoticeContentPadding:g}=e,m=new xt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),y=new xt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:_(_({},st(e)),{position:"fixed",top:f,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:p,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + `,a=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[Yw(`${t}-checkbox`,e),{[`&${r}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[i]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":_(_({},Hn),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${a}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[o]:{color:e.colorTextDisabled}},[`&-active:not(${i}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[o]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},av(e)]},SDe=it("Cascader",e=>[bDe(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var xDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);is===0?[l]:[...a,t,l],[]),i=[];let o=0;return r.forEach((a,l)=>{const s=o+a.length;let u=e.slice(o,s);o=s,l%2===1&&(u=w("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[u])),i.push(u)}),i}const CDe=e=>{let{inputValue:t,path:n,prefixCls:r,fieldNames:i}=e;const o=[],a=t.toLowerCase();return n.forEach((l,s)=>{s!==0&&o.push(" / ");let u=l[i.label];const c=typeof u;(c==="string"||c==="number")&&(u=wDe(String(u),a,r)),o.push(u)}),o};function $De(){return _(_({},yt(qq(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:U.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const _De=se({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:ft($De(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:r,slots:i,emit:o}=t;const a=Xn(),l=fr.useInject(),s=L(()=>va(l.status,e.status)),{prefixCls:u,rootPrefixCls:c,getPrefixCls:d,direction:f,getPopupContainer:h,renderEmpty:v,size:p,disabled:g}=Ee("cascader",e),m=L(()=>d("select",e.prefixCls)),{compactSize:y,compactItemClassnames:b}=Au(m,f),S=L(()=>y.value||p.value),x=Ai(),$=L(()=>{var N;return(N=g.value)!==null&&N!==void 0?N:x.value}),[C,T]=$D(m),[I]=SDe(u),P=L(()=>f.value==="rtl"),M=L(()=>{if(!e.showSearch)return e.showSearch;let N={render:CDe};return typeof e.showSearch=="object"&&(N=_(_({},N),e.showSearch)),N}),O=L(()=>ce(e.popupClassName||e.dropdownClassName,`${u.value}-dropdown`,{[`${u.value}-dropdown-rtl`]:P.value},T.value)),D=ue();r({focus(){var N;(N=D.value)===null||N===void 0||N.focus()},blur(){var N;(N=D.value)===null||N===void 0||N.blur()}});const R=function(){for(var N=arguments.length,B=new Array(N),F=0;Fe.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),k=L(()=>e.placement!==void 0?e.placement:f.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var N,B;const{notFoundContent:F=(N=i.notFoundContent)===null||N===void 0?void 0:N.call(i),expandIcon:H=(B=i.expandIcon)===null||B===void 0?void 0:B.call(i),multiple:V,bordered:X,allowClear:Q,choiceTransitionName:K,transitionName:te,id:q=a.id.value}=e,ee=xDe(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),J=F||v("Cascader");let G=H;H||(G=P.value?w(vu,null,null):w(ca,null,null));const Y=w("span",{class:`${m.value}-menu-item-loading-icon`},[w(no,{spin:!0},null)]),{suffixIcon:oe,removeIcon:W,clearIcon:Z}=uD(_(_({},e),{hasFeedback:l.hasFeedback,feedbackIcon:l.feedbackIcon,multiple:V,prefixCls:m.value,showArrow:E.value}),i);return I(C(w(NAe,z(z(z({},ee),n),{},{id:q,prefixCls:m.value,class:[u.value,{[`${m.value}-lg`]:S.value==="large",[`${m.value}-sm`]:S.value==="small",[`${m.value}-rtl`]:P.value,[`${m.value}-borderless`]:!X,[`${m.value}-in-form-item`]:l.isFormItemInput},Kr(m.value,s.value,l.hasFeedback),b.value,n.class,T.value],disabled:$.value,direction:f.value,placement:k.value,notFoundContent:J,allowClear:Q,showSearch:M.value,expandIcon:G,inputIcon:oe,removeIcon:W,clearIcon:Z,loadingIcon:Y,checkable:!!V,dropdownClassName:O.value,dropdownPrefixCls:u.value,choiceTransitionName:Yr(c.value,"",K),transitionName:Yr(c.value,GO(k.value),te),getPopupContainer:h==null?void 0:h.value,customSlots:_(_({},i),{checkable:()=>w("span",{class:`${u.value}-checkbox-inner`},null)}),tagRender:e.tagRender||i.tagRender,displayRender:e.displayRender||i.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||i.maxTagPlaceholder,showArrow:l.hasFeedback||e.showArrow,onChange:R,onBlur:A,ref:D}),i)))}}}),TDe=gn(_(_De,{SHOW_CHILD:zq,SHOW_PARENT:Fq})),IDe=()=>({name:String,prefixCls:String,options:Ot([]),disabled:Boolean,id:String}),PDe=()=>_(_({},IDe()),{defaultValue:Ot(),value:Ot(),onChange:be(),"onUpdate:value":be()}),MDe=()=>({prefixCls:String,defaultChecked:$e(),checked:$e(),disabled:$e(),isGroup:$e(),value:U.any,name:String,id:String,indeterminate:$e(),type:je("checkbox"),autofocus:$e(),onChange:be(),"onUpdate:checked":be(),onClick:be(),skipGroup:$e(!1)}),ADe=()=>_(_({},MDe()),{indeterminate:$e(!1)}),fZ=Symbol("CheckboxGroupContext");var rk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(v==null?void 0:v.disabled.value)||c.value);Ye(()=>{!e.skipGroup&&v&&v.registerValue(p,e.value)}),ht(()=>{v&&v.cancelValue(p)}),tt(()=>{vn(!!(e.checked!==void 0||v||e.value===void 0))});const m=x=>{const $=x.target.checked;n("update:checked",$),n("change",x),a.onFieldChange()},y=ue();return o({focus:()=>{var x;(x=y.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=y.value)===null||x===void 0||x.blur()}}),()=>{var x;const $=Jt((x=i.default)===null||x===void 0?void 0:x.call(i)),{indeterminate:C,skipGroup:T,id:I=a.id.value}=e,P=rk(e,["indeterminate","skipGroup","id"]),{onMouseenter:M,onMouseleave:O,onInput:D,class:R,style:A}=r,E=rk(r,["onMouseenter","onMouseleave","onInput","class","style"]),k=_(_(_(_({},P),{id:I,prefixCls:s.value}),E),{disabled:g.value});v&&!T?(k.onChange=function(){for(var H=arguments.length,V=new Array(H),X=0;X`${l.value}-group`),[c,d]=dZ(u),f=ue((e.value===void 0?e.defaultValue:e.value)||[]);Se(()=>e.value,()=>{f.value=e.value||[]});const h=L(()=>e.options.map(S=>typeof S=="string"||typeof S=="number"?{label:S,value:S}:S)),v=ue(Symbol()),p=ue(new Map),g=S=>{p.value.delete(S),v.value=Symbol()},m=(S,x)=>{p.value.set(S,x),v.value=Symbol()},y=ue(new Map);return Se(v,()=>{const S=new Map;for(const x of p.value.values())S.set(x,!0);y.value=S}),at(fZ,{cancelValue:g,registerValue:m,toggleOption:S=>{const x=f.value.indexOf(S.value),$=[...f.value];x===-1?$.push(S.value):$.splice(x,1),e.value===void 0&&(f.value=$);const C=$.filter(T=>y.value.has(T)).sort((T,I)=>{const P=h.value.findIndex(O=>O.value===T),M=h.value.findIndex(O=>O.value===I);return P-M});i("update:value",C),i("change",C),a.onFieldChange()},mergedValue:f,name:L(()=>e.name),disabled:L(()=>e.disabled)}),o({mergedValue:f}),()=>{var S;const{id:x=a.id.value}=e;let $=null;return h.value&&h.value.length>0&&($=h.value.map(C=>{var T;return w(Po,{prefixCls:l.value,key:C.value.toString(),disabled:"disabled"in C?C.disabled:e.disabled,indeterminate:C.indeterminate,value:C.value,checked:f.value.indexOf(C.value)!==-1,onChange:C.onChange,class:`${u.value}-item`},{default:()=>[n.label!==void 0?(T=n.label)===null||T===void 0?void 0:T.call(n,C):C.label]})})),c(w("div",z(z({},r),{},{class:[u.value,{[`${u.value}-rtl`]:s.value==="rtl"},r.class,d.value],id:x}),[$||((S=n.default)===null||S===void 0?void 0:S.call(n))]))}}});Po.Group=_S;Po.install=function(e){return e.component(Po.name,Po),e.component(_S.name,_S),e};const ODe={useBreakpoint:sv},DDe=gn(Xw),EDe=e=>{const{componentCls:t,commentBg:n,commentPaddingBase:r,commentNestIndent:i,commentFontSizeBase:o,commentFontSizeSm:a,commentAuthorNameColor:l,commentAuthorTimeColor:s,commentActionColor:u,commentActionHoverColor:c,commentActionsMarginBottom:d,commentActionsMarginTop:f,commentContentDetailPMarginBottom:h}=e;return{[t]:{position:"relative",backgroundColor:n,[`${t}-inner`]:{display:"flex",padding:r},[`${t}-avatar`]:{position:"relative",flexShrink:0,marginRight:e.marginSM,cursor:"pointer",img:{width:"32px",height:"32px",borderRadius:"50%"}},[`${t}-content`]:{position:"relative",flex:"1 1 auto",minWidth:"1px",fontSize:o,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:e.marginXXS,fontSize:o,"& > a,& > span":{paddingRight:e.paddingXS,fontSize:a,lineHeight:"18px"},"&-name":{color:l,fontSize:o,transition:`color ${e.motionDurationSlow}`,"> *":{color:l,"&:hover":{color:l}}},"&-time":{color:s,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{marginBottom:h,whiteSpace:"pre-wrap"}},[`${t}-actions`]:{marginTop:f,marginBottom:d,paddingLeft:0,"> li":{display:"inline-block",color:u,"> span":{marginRight:"10px",color:u,fontSize:a,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,userSelect:"none","&:hover":{color:c}}}},[`${t}-nested`]:{marginLeft:i},"&-rtl":{direction:"rtl"}}}},RDe=it("Comment",e=>{const t=Ue(e,{commentBg:"inherit",commentPaddingBase:`${e.paddingMD}px 0`,commentNestIndent:"44px",commentFontSizeBase:e.fontSize,commentFontSizeSm:e.fontSizeSM,commentAuthorNameColor:e.colorTextTertiary,commentAuthorTimeColor:e.colorTextPlaceholder,commentActionColor:e.colorTextTertiary,commentActionHoverColor:e.colorTextSecondary,commentActionsMarginBottom:"inherit",commentActionsMarginTop:e.marginSM,commentContentDetailPMarginBottom:"inherit"});return[EDe(t)]}),LDe=()=>({actions:Array,author:U.any,avatar:U.any,content:U.any,prefixCls:String,datetime:U.any}),NDe=se({compatConfig:{MODE:3},name:"AComment",inheritAttrs:!1,props:LDe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("comment",e),[a,l]=RDe(i),s=(c,d)=>w("div",{class:`${c}-nested`},[d]),u=c=>!c||!c.length?null:c.map((f,h)=>w("li",{key:`action-${h}`},[f]));return()=>{var c,d,f,h,v,p,g,m,y,b,S;const x=i.value,$=(c=e.actions)!==null&&c!==void 0?c:(d=n.actions)===null||d===void 0?void 0:d.call(n),C=(f=e.author)!==null&&f!==void 0?f:(h=n.author)===null||h===void 0?void 0:h.call(n),T=(v=e.avatar)!==null&&v!==void 0?v:(p=n.avatar)===null||p===void 0?void 0:p.call(n),I=(g=e.content)!==null&&g!==void 0?g:(m=n.content)===null||m===void 0?void 0:m.call(n),P=(y=e.datetime)!==null&&y!==void 0?y:(b=n.datetime)===null||b===void 0?void 0:b.call(n),M=w("div",{class:`${x}-avatar`},[typeof T=="string"?w("img",{src:T,alt:"comment-avatar"},null):T]),O=$?w("ul",{class:`${x}-actions`},[u(Array.isArray($)?$:[$])]):null,D=w("div",{class:`${x}-content-author`},[C&&w("span",{class:`${x}-content-author-name`},[C]),P&&w("span",{class:`${x}-content-author-time`},[P])]),R=w("div",{class:`${x}-content`},[D,w("div",{class:`${x}-content-detail`},[I]),O]),A=w("div",{class:`${x}-inner`},[M,R]),E=Jt((S=n.default)===null||S===void 0?void 0:S.call(n));return a(w("div",z(z({},r),{},{class:[x,{[`${x}-rtl`]:o.value==="rtl"},r.class,l.value]}),[A,E&&E.length?s(x,E):null]))}}}),kDe=gn(NDe);let kb=_({},vi.Modal);function BDe(e){e?kb=_(_({},kb),e):kb=_({},vi.Modal)}function FDe(){return kb}const _P="internalMark",Bb=se({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;vn(e.ANT_MARK__===_P);const r=Bt({antLocale:_(_({},e.locale),{exist:!0}),ANT_MARK__:_P});return at("localeData",r),Se(()=>e.locale,i=>{BDe(i&&i.Modal),r.antLocale=_(_({},i),{exist:!0})},{immediate:!0}),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}});Bb.install=function(e){return e.component(Bb.name,Bb),e};const hZ=gn(Bb),vZ=se({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:r}=t,i,o=!1;const a=L(()=>e.duration===void 0?4.5:e.duration),l=()=>{a.value&&!o&&(i=setTimeout(()=>{u()},a.value*1e3))},s=()=>{i&&(clearTimeout(i),i=null)},u=d=>{d&&d.stopPropagation(),s();const{onClose:f,noticeKey:h}=e;f&&f(h)},c=()=>{s(),l()};return tt(()=>{l()}),Jr(()=>{o=!0,s()}),Se([a,()=>e.updateMark,()=>e.visible],(d,f)=>{let[h,v,p]=d,[g,m,y]=f;(h!==g||v!==m||p!==y&&y)&&c()},{flush:"post"}),()=>{var d,f;const{prefixCls:h,closable:v,closeIcon:p=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r),onClick:g,holder:m}=e,{class:y,style:b}=n,S=`${h}-notice`,x=Object.keys(n).reduce((C,T)=>((T.startsWith("data-")||T.startsWith("aria-")||T==="role")&&(C[T]=n[T]),C),{}),$=w("div",z({class:ce(S,y,{[`${S}-closable`]:v}),style:b,onMouseenter:s,onMouseleave:l,onClick:g},x),[w("div",{class:`${S}-content`},[(f=r.default)===null||f===void 0?void 0:f.call(r)]),v?w("a",{tabindex:0,onClick:u,class:`${S}-close`},[p||w("span",{class:`${S}-close-x`},null)]):null]);return m?w(tO,{to:m},{default:()=>$}):$}}});var zDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,animation:d="fade"}=e;let f=e.transitionName;return!f&&d&&(f=`${c}-${d}`),vw(f)}),s=(c,d)=>{const f=c.key||ok(),h=_(_({},c),{key:f}),{maxCount:v}=e,p=a.value.map(m=>m.notice.key).indexOf(f),g=a.value.concat();p!==-1?g.splice(p,1,{notice:h,holderCallback:d}):(v&&a.value.length>=v&&(h.key=g[0].notice.key,h.updateMark=ok(),h.userPassKey=f,g.shift()),g.push({notice:h,holderCallback:d})),a.value=g},u=c=>{a.value=mt(a.value).filter(d=>{let{notice:{key:f,userPassKey:h}}=d;return(h||f)!==c})};return r({add:s,remove:u,notices:a}),()=>{var c;const{prefixCls:d,closeIcon:f=(c=i.closeIcon)===null||c===void 0?void 0:c.call(i,{prefixCls:d})}=e,h=a.value.map((p,g)=>{let{notice:m,holderCallback:y}=p;const b=g===a.value.length-1?m.updateMark:void 0,{key:S,userPassKey:x}=m,{content:$}=m,C=_(_(_({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},m),m.props),{key:S,noticeKey:x||S,updateMark:b,onClose:T=>{var I;u(T),(I=m.onClose)===null||I===void 0||I.call(m)},onClick:m.onClick});return y?w("div",{key:S,class:`${d}-hook-holder`,ref:T=>{typeof S!="undefined"&&(T?(o.set(S,T),y(T,C)):o.delete(S))}},null):w(vZ,z(z({},C),{},{class:ce(C.class,e.hashId)}),{default:()=>[typeof $=="function"?$({prefixCls:d}):$]})}),v={[d]:1,[n.class]:!!n.class,[e.hashId]:!0};return w("div",{class:v,style:n.style||{top:"65px",left:"50%"}},[w(Kx,z({tag:"div"},l.value),{default:()=>[h]})])}}});TP.newInstance=function(t,n){const r=t||{},{name:i="notification",getContainer:o,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:u,hasTransitionName:c,useStyle:d}=r,f=zDe(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),h=document.createElement("div");o?o().appendChild(h):document.body.appendChild(h);const p=w(se({compatConfig:{MODE:3},name:"NotificationWrapper",setup(g,m){let{attrs:y}=m;const b=ae(),S=L(()=>Cr.getPrefixCls(i,l)),[,x]=d(S);return tt(()=>{n({notice($){var C;(C=b.value)===null||C===void 0||C.add($)},removeNotice($){var C;(C=b.value)===null||C===void 0||C.remove($)},destroy(){fu(null,h),h.parentNode&&h.parentNode.removeChild(h)},component:b})}),()=>{const $=Cr,C=$.getRootPrefixCls(s,S.value),T=c?u:`${S.value}-${u}`;return w(VE,z(z({},$),{},{prefixCls:C}),{default:()=>[w(TP,z(z({ref:b},y),{},{prefixCls:S.value,transitionName:T,hashId:x.value}),null)]})}}}),f);p.appContext=a||p.appContext,fu(p,h)};const pZ=TP;let ak=0;const VDe=Date.now();function lk(){const e=ak;return ak+=1,`rcNotification_${VDe}_${e}`}const WDe=se({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:r}=t;const i=new Map,o=L(()=>e.notices),a=L(()=>{let c=e.transitionName;if(!c&&e.animation)switch(typeof e.animation){case"string":c=e.animation;break;case"function":c=e.animation().name;break;case"object":c=e.animation.name;break;default:c=`${e.prefixCls}-fade`;break}return vw(c)}),l=c=>e.remove(c),s=ue({});Se(o,()=>{const c={};Object.keys(s.value).forEach(d=>{c[d]=[]}),e.notices.forEach(d=>{const{placement:f="topRight"}=d.notice;f&&(c[f]=c[f]||[],c[f].push(d))}),s.value=c});const u=L(()=>Object.keys(s.value));return()=>{var c;const{prefixCls:d,closeIcon:f=(c=r.closeIcon)===null||c===void 0?void 0:c.call(r,{prefixCls:d})}=e,h=u.value.map(v=>{var p,g;const m=s.value[v],y=(p=e.getClassName)===null||p===void 0?void 0:p.call(e,v),b=(g=e.getStyles)===null||g===void 0?void 0:g.call(e,v),S=m.map((C,T)=>{let{notice:I,holderCallback:P}=C;const M=T===o.value.length-1?I.updateMark:void 0,{key:O,userPassKey:D}=I,{content:R}=I,A=_(_(_({prefixCls:d,closeIcon:typeof f=="function"?f({prefixCls:d}):f},I),I.props),{key:O,noticeKey:D||O,updateMark:M,onClose:E=>{var k;l(E),(k=I.onClose)===null||k===void 0||k.call(I)},onClick:I.onClick});return P?w("div",{key:O,class:`${d}-hook-holder`,ref:E=>{typeof O!="undefined"&&(E?(i.set(O,E),P(E,A)):i.delete(O))}},null):w(vZ,z(z({},A),{},{class:ce(A.class,e.hashId)}),{default:()=>[typeof R=="function"?R({prefixCls:d}):R]})}),x={[d]:1,[`${d}-${v}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[y]:!!y};function $(){var C;m.length>0||(Reflect.deleteProperty(s.value,v),(C=e.onAllRemoved)===null||C===void 0||C.call(e))}return w("div",{key:v,class:x,style:n.style||b||{top:"65px",left:"50%"}},[w(Kx,z(z({tag:"div"},a.value),{},{onAfterLeave:$}),{default:()=>[S]})])});return w(lX,{getContainer:e.getContainer},{default:()=>[h]})}}}),jDe=WDe;var GDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);idocument.body;let sk=0;function UDe(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{i&&Object.keys(i).forEach(o=>{const a=i[o];a!==void 0&&(e[o]=a)})}),e}function gZ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=KDe,motion:n,prefixCls:r,maxCount:i,getClassName:o,getStyles:a,onAllRemoved:l}=e,s=GDe(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),u=ae([]),c=ae(),d=(m,y)=>{const b=m.key||lk(),S=_(_({},m),{key:b}),x=u.value.map(C=>C.notice.key).indexOf(b),$=u.value.concat();x!==-1?$.splice(x,1,{notice:S,holderCallback:y}):(i&&u.value.length>=i&&(S.key=$[0].notice.key,S.updateMark=lk(),S.userPassKey=b,$.shift()),$.push({notice:S,holderCallback:y})),u.value=$},f=m=>{u.value=u.value.filter(y=>{let{notice:{key:b,userPassKey:S}}=y;return(S||b)!==m})},h=()=>{u.value=[]},v=()=>w(jDe,{ref:c,prefixCls:r,maxCount:i,notices:u.value,remove:f,getClassName:o,getStyles:a,animation:n,hashId:e.hashId,onAllRemoved:l,getContainer:t},null),p=ae([]),g={open:m=>{const y=UDe(s,m);(y.key===null||y.key===void 0)&&(y.key=`vc-notification-${sk}`,sk+=1),p.value=[...p.value,{type:"open",config:y}]},close:m=>{p.value=[...p.value,{type:"close",key:m}]},destroy:()=>{p.value=[...p.value,{type:"destroy"}]}};return Se(p,()=>{p.value.length&&(p.value.forEach(m=>{switch(m.type){case"open":d(m.config);break;case"close":f(m.key);break;case"destroy":h();break}}),p.value=[])}),[g,v]}const XDe=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:r,colorBgElevated:i,colorSuccess:o,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:c,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:v,zIndexPopup:p,messageNoticeContentPadding:g}=e,m=new xt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),y=new xt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:_(_({},st(e)),{position:"fixed",top:f,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:p,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:m,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[` @@ -344,15 +344,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-move-up-enter${t}-move-up-enter-active `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:y,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:h,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:f,fontSize:u},[`${t}-notice-content`]:{display:"inline-block",padding:g,background:i,borderRadius:v,boxShadow:r,pointerEvents:"all"},[`${t}-success ${n}`]:{color:o},[`${t}-error ${n}`]:{color:a},[`${t}-warning ${n}`]:{color:l},[` ${t}-info ${n}, - ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},mZ=it("Message",e=>{const t=Ue(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[UDe(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),XDe={info:w(av,null,null),success:w(ls,null,null),error:w(Ri,null,null),warning:w(ss,null,null),loading:w(to,null,null)},YDe=se({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var r;return w("div",{class:ce(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||XDe[e.type],w("span",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}});var qDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);io("message",e.prefixCls)),[,s]=mZ(l),u=()=>{var p;const g=(p=e.top)!==null&&p!==void 0?p:ZDe;return{left:"50%",transform:"translateX(-50%)",top:typeof g=="number"?`${g}px`:g}},c=()=>ce(s.value,e.rtl?`${l.value}-rtl`:""),d=()=>{var p;return OO({prefixCls:l.value,animation:(p=e.animation)!==null&&p!==void 0?p:"move-up",transitionName:e.transitionName})},f=w("span",{class:`${l.value}-close-x`},[w(Ei,{class:`${l.value}-close-icon`},null)]),[h,v]=gZ({getStyles:u,prefixCls:l.value,getClassName:c,motion:d,closable:!1,closeIcon:f,duration:(r=e.duration)!==null&&r!==void 0?r:QDe,getContainer:(i=e.staticGetContainer)!==null&&i!==void 0?i:a.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(_(_({},h),{prefixCls:l,hashId:s})),v}});let uk=0;function eEe(e){const t=ae(null),n=Symbol("messageHolderKey"),r=s=>{var u;(u=t.value)===null||u===void 0||u.close(s)},i=s=>{if(!t.value){const x=()=>{};return x.then=()=>{},x}const{open:u,prefixCls:c,hashId:d}=t.value,f=`${c}-notice`,{content:h,icon:v,type:p,key:g,class:m,onClose:y}=s,b=qDe(s,["content","icon","type","key","class","onClose"]);let S=g;return S==null&&(uk+=1,S=`antd-message-${uk}`),ufe(x=>(u(_(_({},b),{key:S,content:()=>w(YDe,{prefixCls:c,type:p,icon:typeof v=="function"?v():v},{default:()=>[typeof h=="function"?h():h]}),placement:"top",class:ce(p&&`${f}-${p}`,d,m),onClose:()=>{y==null||y(),x()}})),()=>{r(S)}))},a={open:i,destroy:s=>{var u;s!==void 0?r(s):(u=t.value)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(c,d,f)=>{let h;c&&typeof c=="object"&&"content"in c?h=c:h={content:c};let v,p;typeof d=="function"?p=d:(v=d,p=f);const g=_(_({onClose:p,duration:v},h),{type:s});return i(g)};a[s]=u}),[a,()=>w(JDe,z(z({key:n},e),{},{ref:t}),null)]}function yZ(e){return eEe(e)}let bZ=3,SZ,ui,tEe=1,xZ="",wZ="move-up",CZ=!1,$Z=()=>document.body,_Z,TZ=!1;function nEe(){return tEe++}function rEe(e){e.top!==void 0&&(SZ=e.top,ui=null),e.duration!==void 0&&(bZ=e.duration),e.prefixCls!==void 0&&(xZ=e.prefixCls),e.getContainer!==void 0&&($Z=e.getContainer,ui=null),e.transitionName!==void 0&&(wZ=e.transitionName,ui=null,CZ=!0),e.maxCount!==void 0&&(_Z=e.maxCount,ui=null),e.rtl!==void 0&&(TZ=e.rtl)}function iEe(e,t){if(ui){t(ui);return}pZ.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||xZ,rootPrefixCls:e.rootPrefixCls,transitionName:wZ,hasTransitionName:CZ,style:{top:SZ},getContainer:$Z||e.getPopupContainer,maxCount:_Z,name:"message",useStyle:mZ},n=>{if(ui){t(ui);return}ui=n,t(n)})}const IZ={info:av,success:ls,error:Ri,warning:ss,loading:to},oEe=Object.keys(IZ);function aEe(e){const t=e.duration!==void 0?e.duration:bZ,n=e.key||nEe(),r=new Promise(o=>{const a=()=>(typeof e.onClose=="function"&&e.onClose(),o(!0));iEe(e,l=>{l.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:u}=s;const c=IZ[e.type],d=c?w(c,null,null):"",f=ce(`${u}-custom-content`,{[`${u}-${e.type}`]:e.type,[`${u}-rtl`]:TZ===!0});return w("div",{class:f},[typeof e.icon=="function"?e.icon():e.icon||d,w("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:a,onClick:e.onClick})})}),i=()=>{ui&&ui.removeNotice(n)};return i.then=(o,a)=>r.then(o,a),i.promise=r,i}function lEe(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const Qg={open:aEe,config:rEe,destroy(e){if(ui)if(e){const{removeNotice:t}=ui;t(e)}else{const{destroy:t}=ui;t(),ui=null}}};function sEe(e,t){e[t]=(n,r,i)=>lEe(n)?e.open(_(_({},n),{type:t})):(typeof r=="function"&&(i=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:i}))}oEe.forEach(e=>sEe(Qg,e));Qg.warn=Qg.warning;Qg.useMessage=yZ;const FE=Qg,uEe=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e,i=new xt("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),o=new xt("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new xt("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},cEe=uEe,dEe=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:u,colorError:c,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:v,motionDurationMid:p,motionEaseInOut:g,fontSize:m,lineHeight:y,width:b,notificationIconSize:S}=e,x=`${n}-notice`,$=new xt("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:b},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),C=new xt("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:o,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:_(_(_(_({},st(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:v,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:g,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:g,animationFillMode:"both",animationDuration:p,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:$,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:C,animationPlayState:"running"}}),cEe(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[x]:{position:"relative",width:b,maxWidth:`calc(100vw - ${v*2}px)`,marginBottom:o,marginInlineStart:"auto",padding:h,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:f,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:m,cursor:"pointer"},[`${x}-message`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${x}-description`]:{fontSize:m},[`&${x}-closable ${x}-message`]:{paddingInlineEnd:e.paddingLG},[`${x}-with-icon ${x}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+S,fontSize:i},[`${x}-with-icon ${x}-description`]:{marginInlineStart:e.marginSM+S,fontSize:m},[`${x}-icon`]:{position:"absolute",fontSize:S,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:c}},[`${x}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${x}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${x}-pure-panel`]:{margin:0}}]},PZ=it("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,r=Ue(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[dEe(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function fEe(e,t){return t||w("span",{class:`${e}-close-x`},[w(Ei,{class:`${e}-close-icon`},null)])}w(av,null,null),w(ls,null,null),w(Ri,null,null),w(ss,null,null),w(to,null,null);const hEe={success:ls,info:av,error:Ri,warning:ss};function vEe(e){let{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a}=e,l=null;if(n)l=w("span",{class:`${t}-icon`},[zf(n)]);else if(r){const s=hEe[r];l=w(s,{class:`${t}-icon ${t}-icon-${r}`},null)}return w("div",{class:ce({[`${t}-with-icon`]:l}),role:"alert"},[l,w("div",{class:`${t}-message`},[i]),w("div",{class:`${t}-description`},[o]),a&&w("div",{class:`${t}-btn`},[a])])}function MZ(e,t,n){let r;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function pEe(e){return{name:`${e}-fade`}}var gEe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.prefixCls||r("notification")),a=f=>{var h,v;return MZ(f,(h=e.top)!==null&&h!==void 0?h:ck,(v=e.bottom)!==null&&v!==void 0?v:ck)},[,l]=PZ(o),s=()=>ce(l.value,{[`${o.value}-rtl`]:e.rtl}),u=()=>pEe(o.value),[c,d]=gZ({prefixCls:o.value,getStyles:a,getClassName:s,motion:u,closable:!0,closeIcon:fEe(o.value),duration:mEe,getContainer:()=>{var f,h;return((f=e.getPopupContainer)===null||f===void 0?void 0:f.call(e))||((h=i.value)===null||h===void 0?void 0:h.call(i))||document.body},maxCount:e.maxCount,hashId:l.value,onAllRemoved:e.onAllRemoved});return n(_(_({},c),{prefixCls:o.value,hashId:l})),d}});function bEe(e){const t=ae(null),n=Symbol("notificationHolderKey"),r=l=>{if(!t.value)return;const{open:s,prefixCls:u,hashId:c}=t.value,d=`${u}-notice`,{message:f,description:h,icon:v,type:p,btn:g,class:m}=l,y=gEe(l,["message","description","icon","type","btn","class"]);return s(_(_({placement:"topRight"},y),{content:()=>w(vEe,{prefixCls:d,icon:typeof v=="function"?v():v,type:p,message:typeof f=="function"?f():f,description:typeof h=="function"?h():h,btn:typeof g=="function"?g():g},null),class:ce(p&&`${d}-${p}`,c,m)}))},o={open:r,destroy:l=>{var s,u;l!==void 0?(s=t.value)===null||s===void 0||s.close(l):(u=t.value)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(l=>{o[l]=s=>r(_(_({},s),{type:l}))}),[o,()=>w(yEe,z(z({key:n},e),{},{ref:t}),null)]}function AZ(e){return bEe(e)}globalThis&&globalThis.__awaiter;const Pc={};let OZ=4.5,DZ="24px",EZ="24px",IP="",RZ="topRight",LZ=()=>document.body,NZ=null,PP=!1,kZ;function SEe(e){const{duration:t,placement:n,bottom:r,top:i,getContainer:o,closeIcon:a,prefixCls:l}=e;l!==void 0&&(IP=l),t!==void 0&&(OZ=t),n!==void 0&&(RZ=n),r!==void 0&&(EZ=typeof r=="number"?`${r}px`:r),i!==void 0&&(DZ=typeof i=="number"?`${i}px`:i),o!==void 0&&(LZ=o),a!==void 0&&(NZ=a),e.rtl!==void 0&&(PP=e.rtl),e.maxCount!==void 0&&(kZ=e.maxCount)}function xEe(e,t){let{prefixCls:n,placement:r=RZ,getContainer:i=LZ,top:o,bottom:a,closeIcon:l=NZ,appContext:s}=e;const{getPrefixCls:u}=REe(),c=u("notification",n||IP),d=`${c}-${r}-${PP}`,f=Pc[d];if(f){Promise.resolve(f).then(v=>{t(v)});return}const h=ce(`${c}-${r}`,{[`${c}-rtl`]:PP===!0});pZ.newInstance({name:"notification",prefixCls:n||IP,useStyle:PZ,class:h,style:MZ(r,o!=null?o:DZ,a!=null?a:EZ),appContext:s,getContainer:i,closeIcon:v=>{let{prefixCls:p}=v;return w("span",{class:`${p}-close-x`},[zf(l,{},w(Ei,{class:`${p}-close-icon`},null))])},maxCount:kZ,hasTransitionName:!0},v=>{Pc[d]=v,t(v)})}const wEe={success:JX,info:tY,error:nY,warning:eY};function CEe(e){const{icon:t,type:n,description:r,message:i,btn:o}=e,a=e.duration===void 0?OZ:e.duration;xEe(e,l=>{l.notice({content:s=>{let{prefixCls:u}=s;const c=`${u}-notice`;let d=null;if(t)d=()=>w("span",{class:`${c}-icon`},[zf(t)]);else if(n){const f=wEe[n];d=()=>w(f,{class:`${c}-icon ${c}-icon-${n}`},null)}return w("div",{class:d?`${c}-with-icon`:""},[d&&d(),w("div",{class:`${c}-message`},[!r&&d?w("span",{class:`${c}-message-single-line-auto-margin`},null):null,zf(i)]),w("div",{class:`${c}-description`},[zf(r)]),o?w("span",{class:`${c}-btn`},[zf(o)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Bh={open:CEe,close(e){Object.keys(Pc).forEach(t=>Promise.resolve(Pc[t]).then(n=>{n.removeNotice(e)}))},config:SEe,destroy(){Object.keys(Pc).forEach(e=>{Promise.resolve(Pc[e]).then(t=>{t.destroy()}),delete Pc[e]})}},$Ee=["success","info","warning","error"];$Ee.forEach(e=>{Bh[e]=t=>Bh.open(_(_({},t),{type:e}))});Bh.warn=Bh.warning;Bh.useNotification=AZ;const zE=Bh,_Ee=`-ant-${Date.now()}-${Math.random()}`;function TEe(e,t){const n={},r=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(a,l)=>{const s=new zt(a),u=hd(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new zt(t.primaryColor),l=hd(a.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const s=new zt(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` + ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},mZ=it("Message",e=>{const t=Ue(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[XDe(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),YDe={info:w(lv,null,null),success:w(ls,null,null),error:w(Li,null,null),warning:w(ss,null,null),loading:w(no,null,null)},qDe=se({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var r;return w("div",{class:ce(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||YDe[e.type],w("span",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}});var ZDe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);io("message",e.prefixCls)),[,s]=mZ(l),u=()=>{var p;const g=(p=e.top)!==null&&p!==void 0?p:QDe;return{left:"50%",transform:"translateX(-50%)",top:typeof g=="number"?`${g}px`:g}},c=()=>ce(s.value,e.rtl?`${l.value}-rtl`:""),d=()=>{var p;return OO({prefixCls:l.value,animation:(p=e.animation)!==null&&p!==void 0?p:"move-up",transitionName:e.transitionName})},f=w("span",{class:`${l.value}-close-x`},[w(Ri,{class:`${l.value}-close-icon`},null)]),[h,v]=gZ({getStyles:u,prefixCls:l.value,getClassName:c,motion:d,closable:!1,closeIcon:f,duration:(r=e.duration)!==null&&r!==void 0?r:JDe,getContainer:(i=e.staticGetContainer)!==null&&i!==void 0?i:a.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(_(_({},h),{prefixCls:l,hashId:s})),v}});let uk=0;function tEe(e){const t=ae(null),n=Symbol("messageHolderKey"),r=s=>{var u;(u=t.value)===null||u===void 0||u.close(s)},i=s=>{if(!t.value){const x=()=>{};return x.then=()=>{},x}const{open:u,prefixCls:c,hashId:d}=t.value,f=`${c}-notice`,{content:h,icon:v,type:p,key:g,class:m,onClose:y}=s,b=ZDe(s,["content","icon","type","key","class","onClose"]);let S=g;return S==null&&(uk+=1,S=`antd-message-${uk}`),cfe(x=>(u(_(_({},b),{key:S,content:()=>w(qDe,{prefixCls:c,type:p,icon:typeof v=="function"?v():v},{default:()=>[typeof h=="function"?h():h]}),placement:"top",class:ce(p&&`${f}-${p}`,d,m),onClose:()=>{y==null||y(),x()}})),()=>{r(S)}))},a={open:i,destroy:s=>{var u;s!==void 0?r(s):(u=t.value)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(c,d,f)=>{let h;c&&typeof c=="object"&&"content"in c?h=c:h={content:c};let v,p;typeof d=="function"?p=d:(v=d,p=f);const g=_(_({onClose:p,duration:v},h),{type:s});return i(g)};a[s]=u}),[a,()=>w(eEe,z(z({key:n},e),{},{ref:t}),null)]}function yZ(e){return tEe(e)}let bZ=3,SZ,ui,nEe=1,xZ="",wZ="move-up",CZ=!1,$Z=()=>document.body,_Z,TZ=!1;function rEe(){return nEe++}function iEe(e){e.top!==void 0&&(SZ=e.top,ui=null),e.duration!==void 0&&(bZ=e.duration),e.prefixCls!==void 0&&(xZ=e.prefixCls),e.getContainer!==void 0&&($Z=e.getContainer,ui=null),e.transitionName!==void 0&&(wZ=e.transitionName,ui=null,CZ=!0),e.maxCount!==void 0&&(_Z=e.maxCount,ui=null),e.rtl!==void 0&&(TZ=e.rtl)}function oEe(e,t){if(ui){t(ui);return}pZ.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||xZ,rootPrefixCls:e.rootPrefixCls,transitionName:wZ,hasTransitionName:CZ,style:{top:SZ},getContainer:$Z||e.getPopupContainer,maxCount:_Z,name:"message",useStyle:mZ},n=>{if(ui){t(ui);return}ui=n,t(n)})}const IZ={info:lv,success:ls,error:Li,warning:ss,loading:no},aEe=Object.keys(IZ);function lEe(e){const t=e.duration!==void 0?e.duration:bZ,n=e.key||rEe(),r=new Promise(o=>{const a=()=>(typeof e.onClose=="function"&&e.onClose(),o(!0));oEe(e,l=>{l.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:u}=s;const c=IZ[e.type],d=c?w(c,null,null):"",f=ce(`${u}-custom-content`,{[`${u}-${e.type}`]:e.type,[`${u}-rtl`]:TZ===!0});return w("div",{class:f},[typeof e.icon=="function"?e.icon():e.icon||d,w("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:a,onClick:e.onClick})})}),i=()=>{ui&&ui.removeNotice(n)};return i.then=(o,a)=>r.then(o,a),i.promise=r,i}function sEe(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const Jg={open:lEe,config:iEe,destroy(e){if(ui)if(e){const{removeNotice:t}=ui;t(e)}else{const{destroy:t}=ui;t(),ui=null}}};function uEe(e,t){e[t]=(n,r,i)=>sEe(n)?e.open(_(_({},n),{type:t})):(typeof r=="function"&&(i=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:i}))}aEe.forEach(e=>uEe(Jg,e));Jg.warn=Jg.warning;Jg.useMessage=yZ;const FE=Jg,cEe=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e,i=new xt("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),o=new xt("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new xt("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},dEe=cEe,fEe=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:u,colorError:c,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:v,motionDurationMid:p,motionEaseInOut:g,fontSize:m,lineHeight:y,width:b,notificationIconSize:S}=e,x=`${n}-notice`,$=new xt("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:b},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),C=new xt("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:o,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:_(_(_(_({},st(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:v,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:g,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:g,animationFillMode:"both",animationDuration:p,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:$,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:C,animationPlayState:"running"}}),dEe(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[x]:{position:"relative",width:b,maxWidth:`calc(100vw - ${v*2}px)`,marginBottom:o,marginInlineStart:"auto",padding:h,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:f,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:m,cursor:"pointer"},[`${x}-message`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${x}-description`]:{fontSize:m},[`&${x}-closable ${x}-message`]:{paddingInlineEnd:e.paddingLG},[`${x}-with-icon ${x}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+S,fontSize:i},[`${x}-with-icon ${x}-description`]:{marginInlineStart:e.marginSM+S,fontSize:m},[`${x}-icon`]:{position:"absolute",fontSize:S,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:c}},[`${x}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${x}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${x}-pure-panel`]:{margin:0}}]},PZ=it("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,r=Ue(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[fEe(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function hEe(e,t){return t||w("span",{class:`${e}-close-x`},[w(Ri,{class:`${e}-close-icon`},null)])}w(lv,null,null),w(ls,null,null),w(Li,null,null),w(ss,null,null),w(no,null,null);const vEe={success:ls,info:lv,error:Li,warning:ss};function pEe(e){let{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a}=e,l=null;if(n)l=w("span",{class:`${t}-icon`},[Hf(n)]);else if(r){const s=vEe[r];l=w(s,{class:`${t}-icon ${t}-icon-${r}`},null)}return w("div",{class:ce({[`${t}-with-icon`]:l}),role:"alert"},[l,w("div",{class:`${t}-message`},[i]),w("div",{class:`${t}-description`},[o]),a&&w("div",{class:`${t}-btn`},[a])])}function MZ(e,t,n){let r;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function gEe(e){return{name:`${e}-fade`}}var mEe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.prefixCls||r("notification")),a=f=>{var h,v;return MZ(f,(h=e.top)!==null&&h!==void 0?h:ck,(v=e.bottom)!==null&&v!==void 0?v:ck)},[,l]=PZ(o),s=()=>ce(l.value,{[`${o.value}-rtl`]:e.rtl}),u=()=>gEe(o.value),[c,d]=gZ({prefixCls:o.value,getStyles:a,getClassName:s,motion:u,closable:!0,closeIcon:hEe(o.value),duration:yEe,getContainer:()=>{var f,h;return((f=e.getPopupContainer)===null||f===void 0?void 0:f.call(e))||((h=i.value)===null||h===void 0?void 0:h.call(i))||document.body},maxCount:e.maxCount,hashId:l.value,onAllRemoved:e.onAllRemoved});return n(_(_({},c),{prefixCls:o.value,hashId:l})),d}});function SEe(e){const t=ae(null),n=Symbol("notificationHolderKey"),r=l=>{if(!t.value)return;const{open:s,prefixCls:u,hashId:c}=t.value,d=`${u}-notice`,{message:f,description:h,icon:v,type:p,btn:g,class:m}=l,y=mEe(l,["message","description","icon","type","btn","class"]);return s(_(_({placement:"topRight"},y),{content:()=>w(pEe,{prefixCls:d,icon:typeof v=="function"?v():v,type:p,message:typeof f=="function"?f():f,description:typeof h=="function"?h():h,btn:typeof g=="function"?g():g},null),class:ce(p&&`${d}-${p}`,c,m)}))},o={open:r,destroy:l=>{var s,u;l!==void 0?(s=t.value)===null||s===void 0||s.close(l):(u=t.value)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(l=>{o[l]=s=>r(_(_({},s),{type:l}))}),[o,()=>w(bEe,z(z({key:n},e),{},{ref:t}),null)]}function AZ(e){return SEe(e)}globalThis&&globalThis.__awaiter;const Pc={};let OZ=4.5,DZ="24px",EZ="24px",IP="",RZ="topRight",LZ=()=>document.body,NZ=null,PP=!1,kZ;function xEe(e){const{duration:t,placement:n,bottom:r,top:i,getContainer:o,closeIcon:a,prefixCls:l}=e;l!==void 0&&(IP=l),t!==void 0&&(OZ=t),n!==void 0&&(RZ=n),r!==void 0&&(EZ=typeof r=="number"?`${r}px`:r),i!==void 0&&(DZ=typeof i=="number"?`${i}px`:i),o!==void 0&&(LZ=o),a!==void 0&&(NZ=a),e.rtl!==void 0&&(PP=e.rtl),e.maxCount!==void 0&&(kZ=e.maxCount)}function wEe(e,t){let{prefixCls:n,placement:r=RZ,getContainer:i=LZ,top:o,bottom:a,closeIcon:l=NZ,appContext:s}=e;const{getPrefixCls:u}=LEe(),c=u("notification",n||IP),d=`${c}-${r}-${PP}`,f=Pc[d];if(f){Promise.resolve(f).then(v=>{t(v)});return}const h=ce(`${c}-${r}`,{[`${c}-rtl`]:PP===!0});pZ.newInstance({name:"notification",prefixCls:n||IP,useStyle:PZ,class:h,style:MZ(r,o!=null?o:DZ,a!=null?a:EZ),appContext:s,getContainer:i,closeIcon:v=>{let{prefixCls:p}=v;return w("span",{class:`${p}-close-x`},[Hf(l,{},w(Ri,{class:`${p}-close-icon`},null))])},maxCount:kZ,hasTransitionName:!0},v=>{Pc[d]=v,t(v)})}const CEe={success:JX,info:tY,error:nY,warning:eY};function $Ee(e){const{icon:t,type:n,description:r,message:i,btn:o}=e,a=e.duration===void 0?OZ:e.duration;wEe(e,l=>{l.notice({content:s=>{let{prefixCls:u}=s;const c=`${u}-notice`;let d=null;if(t)d=()=>w("span",{class:`${c}-icon`},[Hf(t)]);else if(n){const f=CEe[n];d=()=>w(f,{class:`${c}-icon ${c}-icon-${n}`},null)}return w("div",{class:d?`${c}-with-icon`:""},[d&&d(),w("div",{class:`${c}-message`},[!r&&d?w("span",{class:`${c}-message-single-line-auto-margin`},null):null,Hf(i)]),w("div",{class:`${c}-description`},[Hf(r)]),o?w("span",{class:`${c}-btn`},[Hf(o)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Fh={open:$Ee,close(e){Object.keys(Pc).forEach(t=>Promise.resolve(Pc[t]).then(n=>{n.removeNotice(e)}))},config:xEe,destroy(){Object.keys(Pc).forEach(e=>{Promise.resolve(Pc[e]).then(t=>{t.destroy()}),delete Pc[e]})}},_Ee=["success","info","warning","error"];_Ee.forEach(e=>{Fh[e]=t=>Fh.open(_(_({},t),{type:e}))});Fh.warn=Fh.warning;Fh.useNotification=AZ;const zE=Fh,TEe=`-ant-${Date.now()}-${Math.random()}`;function IEe(e,t){const n={},r=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(a,l)=>{const s=new zt(a),u=hd(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new zt(t.primaryColor),l=hd(a.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const s=new zt(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` :root { ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` `)} } - `.trim()}function IEe(e,t){const n=TEe(e,t);Xr()?Rg(n,`${_Ee}-dynamic-theme`):vn()}const PEe=e=>{const[t,n]=is();return j1(L(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:_(_({},Ad()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])},MEe=PEe;function AEe(e,t){const n=L(()=>(e==null?void 0:e.value)||{}),r=L(()=>n.value.inherit===!1||!(t!=null&&t.value)?hU:t.value);return L(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const o=_({},r.value.components);return Object.keys(e.value.components||{}).forEach(a=>{o[a]=_(_({},o[a]),e.value.components[a])}),_(_(_({},r.value),n.value),{token:_(_({},r.value.token),n.value.token),components:o})})}var OEe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{_(Cr,HE),Cr.prefixCls=hh(),Cr.iconPrefixCls=BZ(),Cr.getPrefixCls=(e,t)=>t||(e?`${Cr.prefixCls}-${e}`:Cr.prefixCls),Cr.getRootPrefixCls=()=>Cr.prefixCls?Cr.prefixCls:hh()});let u_;const EEe=e=>{u_&&u_(),u_=Ye(()=>{_(HE,Bt(e)),_(Cr,Bt(e))}),e.theme&&IEe(hh(),e.theme)},REe=()=>({getPrefixCls:(e,t)=>t||(e?`${hh()}-${e}`:hh()),getIconPrefixCls:BZ,getRootPrefixCls:()=>Cr.prefixCls?Cr.prefixCls:hh()}),ng=se({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:Bfe(),setup(e,t){let{slots:n}=t;const r=Zx(),i=(A,E)=>{const{prefixCls:k="ant"}=e;if(E)return E;const N=k||r.getPrefixCls("");return A?`${N}-${A}`:N},o=L(()=>e.iconPrefixCls||r.iconPrefixCls.value||gO),a=L(()=>o.value!==r.iconPrefixCls.value),l=L(()=>{var A;return e.csp||((A=r.csp)===null||A===void 0?void 0:A.value)}),s=MEe(o),u=AEe(L(()=>e.theme),L(()=>{var A;return(A=r.theme)===null||A===void 0?void 0:A.value})),c=A=>(e.renderEmpty||n.renderEmpty||r.renderEmpty||Jve)(A),d=L(()=>{var A,E;return(A=e.autoInsertSpaceInButton)!==null&&A!==void 0?A:(E=r.autoInsertSpaceInButton)===null||E===void 0?void 0:E.value}),f=L(()=>{var A;return e.locale||((A=r.locale)===null||A===void 0?void 0:A.value)});Se(f,()=>{HE.locale=f.value},{immediate:!0});const h=L(()=>{var A;return e.direction||((A=r.direction)===null||A===void 0?void 0:A.value)}),v=L(()=>{var A,E;return(A=e.space)!==null&&A!==void 0?A:(E=r.space)===null||E===void 0?void 0:E.value}),p=L(()=>{var A,E;return(A=e.virtual)!==null&&A!==void 0?A:(E=r.virtual)===null||E===void 0?void 0:E.value}),g=L(()=>{var A,E;return(A=e.dropdownMatchSelectWidth)!==null&&A!==void 0?A:(E=r.dropdownMatchSelectWidth)===null||E===void 0?void 0:E.value}),m=L(()=>{var A;return e.getTargetContainer!==void 0?e.getTargetContainer:(A=r.getTargetContainer)===null||A===void 0?void 0:A.value}),y=L(()=>{var A;return e.getPopupContainer!==void 0?e.getPopupContainer:(A=r.getPopupContainer)===null||A===void 0?void 0:A.value}),b=L(()=>{var A;return e.pageHeader!==void 0?e.pageHeader:(A=r.pageHeader)===null||A===void 0?void 0:A.value}),S=L(()=>{var A;return e.input!==void 0?e.input:(A=r.input)===null||A===void 0?void 0:A.value}),x=L(()=>{var A;return e.pagination!==void 0?e.pagination:(A=r.pagination)===null||A===void 0?void 0:A.value}),$=L(()=>{var A;return e.form!==void 0?e.form:(A=r.form)===null||A===void 0?void 0:A.value}),C=L(()=>{var A;return e.select!==void 0?e.select:(A=r.select)===null||A===void 0?void 0:A.value}),T=L(()=>e.componentSize),I=L(()=>e.componentDisabled),P=L(()=>{var A,E;return(A=e.wave)!==null&&A!==void 0?A:(E=r.wave)===null||E===void 0?void 0:E.value}),M={csp:l,autoInsertSpaceInButton:d,locale:f,direction:h,space:v,virtual:p,dropdownMatchSelectWidth:g,getPrefixCls:i,iconPrefixCls:o,theme:L(()=>{var A,E;return(A=u.value)!==null&&A!==void 0?A:(E=r.theme)===null||E===void 0?void 0:E.value}),renderEmpty:c,getTargetContainer:m,getPopupContainer:y,pageHeader:b,input:S,pagination:x,form:$,select:C,componentSize:T,componentDisabled:I,transformCellText:L(()=>e.transformCellText),wave:P},O=L(()=>{const A=u.value||{},{algorithm:E,token:k}=A,N=OEe(A,["algorithm","token"]),B=E&&(!Array.isArray(E)||E.length>0)?xO(E):void 0;return _(_({},N),{theme:B,token:_(_({},nw),k)})}),D=L(()=>{var A,E;let k={};return f.value&&(k=((A=f.value.Form)===null||A===void 0?void 0:A.defaultValidateMessages)||((E=vi.Form)===null||E===void 0?void 0:E.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(k=_(_({},k),e.form.validateMessages)),k});Ffe(M),Nfe({validateMessages:D}),SU(T),FK(I);const R=A=>{var E,k;let N=a.value?s((E=n.default)===null||E===void 0?void 0:E.call(n)):(k=n.default)===null||k===void 0?void 0:k.call(n);if(e.theme){const B=function(){return N}();N=w(Uve,{value:O.value},{default:()=>[B]})}return w(hZ,{locale:f.value||A,ANT_MARK__:_P},{default:()=>[N]})};return Ye(()=>{h.value&&(FE.config({rtl:h.value==="rtl"}),zE.config({rtl:h.value==="rtl"}))}),()=>w(Md,{children:(A,E,k)=>R(k)},null)}});ng.config=EEe;ng.install=function(e){e.component(ng.name,ng)};const VE=ng,LEe=(e,t)=>{let{attrs:n,slots:r}=t;return w(An,z(z({size:"small",type:"primary"},e),n),r)},NEe=LEe,o0=(e,t,n)=>{const r=ofe(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},kEe=e=>G1(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),BEe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i}=e,o=r-n,a=t-n;return{[i]:_(_({},st(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${i}-close-icon`]:{marginInlineStart:a,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},FZ=it("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,fontSizeIcon:i}=e,o=Math.round(t*n),a=e.fontSizeSM,l=o-r*2,s=e.colorFillAlter,u=e.colorText,c=Ue(e,{tagFontSize:a,tagLineHeight:l,tagDefaultBg:s,tagDefaultColor:u,tagIconSize:i-2*r,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[BEe(c),kEe(c),o0(c,"success","Success"),o0(c,"processing","Info"),o0(c,"error","Error"),o0(c,"warning","Warning")]}),FEe=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),zEe=se({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:FEe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o}=Ee("tag",e),[a,l]=FZ(o),s=c=>{const{checked:d}=e;r("update:checked",!d),r("change",!d),r("click",c)},u=L(()=>ce(o.value,l.value,{[`${o.value}-checkable`]:!0,[`${o.value}-checkable-checked`]:e.checked}));return()=>{var c;return a(w("span",z(z({},i),{},{class:[u.value,i.class],onClick:s}),[(c=n.default)===null||c===void 0?void 0:c.call(n)]))}}}),TS=zEe,HEe=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:U.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:fd(),"onUpdate:visible":Function,icon:U.any,bordered:{type:Boolean,default:!0}}),rg=se({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:HEe(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o,direction:a}=Ee("tag",e),[l,s]=FZ(o),u=ae(!0);Ye(()=>{e.visible!==void 0&&(u.value=e.visible)});const c=v=>{v.stopPropagation(),r("update:visible",!1),r("close",v),!v.defaultPrevented&&e.visible===void 0&&(u.value=!1)},d=L(()=>Ow(e.color)||b_e(e.color)),f=L(()=>ce(o.value,s.value,{[`${o.value}-${e.color}`]:d.value,[`${o.value}-has-color`]:e.color&&!d.value,[`${o.value}-hidden`]:!u.value,[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-borderless`]:!e.bordered})),h=v=>{r("click",v)};return()=>{var v,p,g;const{icon:m=(v=n.icon)===null||v===void 0?void 0:v.call(n),color:y,closeIcon:b=(p=n.closeIcon)===null||p===void 0?void 0:p.call(n),closable:S=!1}=e,x=()=>S?b?w("span",{class:`${o.value}-close-icon`,onClick:c},[b]):w(Ei,{class:`${o.value}-close-icon`,onClick:c},null):null,$={backgroundColor:y&&!d.value?y:void 0},C=m||null,T=(g=n.default)===null||g===void 0?void 0:g.call(n),I=C?w(Qe,null,[C,w("span",null,[T])]):T,P=e.onClick!==void 0,M=w("span",z(z({},i),{},{onClick:h,class:[f.value,i.class],style:[$,i.style]}),[I,x()]);return l(P?w(zD,null,{default:()=>[M]}):M)}}});rg.CheckableTag=TS;rg.install=function(e){return e.component(rg.name,rg),e.component(TS.name,TS),e};const zZ=rg;function VEe(e,t){let{slots:n,attrs:r}=t;return w(zZ,z(z({color:"blue"},e),r),n)}var WEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const jEe=WEe;function dk(e){for(var t=1;tM.value||T.value),[R,A]=xq(x),E=ue();p({focus:()=>{var ee;(ee=E.value)===null||ee===void 0||ee.focus()},blur:()=>{var ee;(ee=E.value)===null||ee===void 0||ee.blur()}});const k=ee=>y.valueFormat?e.toString(ee,y.valueFormat):ee,N=(ee,J)=>{const G=k(ee);m("update:value",G),m("change",G,J),b.onFieldChange()},B=ee=>{m("update:open",ee),m("openChange",ee)},F=ee=>{m("focus",ee)},H=ee=>{m("blur",ee),b.onFieldBlur()},V=(ee,J)=>{const G=k(ee);m("panelChange",G,J)},X=ee=>{const J=k(ee);m("ok",J)},[Q]=Ro("DatePicker",Eg),K=L(()=>y.value?y.valueFormat?e.toDate(y.value,y.valueFormat):y.value:y.value===""?void 0:y.value),te=L(()=>y.defaultValue?y.valueFormat?e.toDate(y.defaultValue,y.valueFormat):y.defaultValue:y.defaultValue===""?void 0:y.defaultValue),q=L(()=>y.defaultPickerValue?y.valueFormat?e.toDate(y.defaultPickerValue,y.valueFormat):y.defaultPickerValue:y.defaultPickerValue===""?void 0:y.defaultPickerValue);return()=>{var ee,J,G,Y,oe,W;const Z=_(_({},Q.value),y.locale),ne=_(_({},y),g),{bordered:re=!0,placeholder:le,suffixIcon:ie=(ee=v.suffixIcon)===null||ee===void 0?void 0:ee.call(v),showToday:de=!0,transitionName:pe,allowClear:me=!0,dateRender:he=v.dateRender,renderExtraFooter:xe=v.renderExtraFooter,monthCellRender:Ce=v.monthCellRender||y.monthCellContentRender||v.monthCellContentRender,clearIcon:ve=(J=v.clearIcon)===null||J===void 0?void 0:J.call(v),id:fe=b.id.value}=ne,ye=ZEe(ne,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),Me=ne.showTime===""?!0:ne.showTime,{format:De}=ne;let Be={};u&&(Be.picker=u);const we=u||ne.picker||"date";Be=_(_(_({},Be),Me?PS(_({format:De,picker:we},typeof Me=="object"?Me:{})):{}),we==="time"?PS(_(_({format:De},ye),{picker:we})):{});const _e=x.value,Ie=w(Qe,null,[ie||w(u==="time"?VZ:HZ,null,null),S.hasFeedback&&S.feedbackIcon]);return R(w(hIe,z(z(z({monthCellRender:Ce,dateRender:he,renderExtraFooter:xe,ref:E,placeholder:YEe(Z,we,le),suffixIcon:Ie,dropdownAlign:WZ($.value,y.placement),clearIcon:ve||w(Ri,null,null),allowClear:me,transitionName:pe||`${I.value}-slide-up`},ye),Be),{},{id:fe,picker:we,value:K.value,defaultValue:te.value,defaultPickerValue:q.value,showToday:de,locale:Z.lang,class:ce({[`${_e}-${D.value}`]:D.value,[`${_e}-borderless`]:!re},Kr(_e,ha(S.status,y.status),S.hasFeedback),g.class,A.value,O.value),disabled:P.value,prefixCls:_e,getPopupContainer:g.getCalendarContainer||C.value,generateConfig:e,prevIcon:((G=v.prevIcon)===null||G===void 0?void 0:G.call(v))||w("span",{class:`${_e}-prev-icon`},null),nextIcon:((Y=v.nextIcon)===null||Y===void 0?void 0:Y.call(v))||w("span",{class:`${_e}-next-icon`},null),superPrevIcon:((oe=v.superPrevIcon)===null||oe===void 0?void 0:oe.call(v))||w("span",{class:`${_e}-super-prev-icon`},null),superNextIcon:((W=v.superNextIcon)===null||W===void 0?void 0:W.call(v))||w("span",{class:`${_e}-super-next-icon`},null),components:KZ,direction:$.value,dropdownClassName:ce(A.value,y.popupClassName,y.dropdownClassName),onChange:N,onOpenChange:B,onFocus:F,onBlur:H,onPanelChange:V,onOk:X}),null))}}})}const r=n(void 0,"ADatePicker"),i=n("week","AWeekPicker"),o=n("month","AMonthPicker"),a=n("year","AYearPicker"),l=n("time","TimePicker"),s=n("quarter","AQuarterPicker");return{DatePicker:r,WeekPicker:i,MonthPicker:o,YearPicker:a,TimePicker:l,QuarterPicker:s}}var JEe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const e3e=JEe;function hk(e){for(var t=1;ty.value||p.value),[x,$]=xq(f),C=ue();o({focus:()=>{var F;(F=C.value)===null||F===void 0||F.focus()},blur:()=>{var F;(F=C.value)===null||F===void 0||F.blur()}});const T=F=>u.valueFormat?e.toString(F,u.valueFormat):F,I=(F,H)=>{const V=T(F);s("update:value",V),s("change",V,H),c.onFieldChange()},P=F=>{s("update:open",F),s("openChange",F)},M=F=>{s("focus",F)},O=F=>{s("blur",F),c.onFieldBlur()},D=(F,H)=>{const V=T(F);s("panelChange",V,H)},R=F=>{const H=T(F);s("ok",H)},A=(F,H,V)=>{const X=T(F);s("calendarChange",X,H,V)},[E]=Ro("DatePicker",Eg),k=L(()=>u.value&&u.valueFormat?e.toDate(u.value,u.valueFormat):u.value),N=L(()=>u.defaultValue&&u.valueFormat?e.toDate(u.defaultValue,u.valueFormat):u.defaultValue),B=L(()=>u.defaultPickerValue&&u.valueFormat?e.toDate(u.defaultPickerValue,u.valueFormat):u.defaultPickerValue);return()=>{var F,H,V,X,Q,K,te;const q=_(_({},E.value),u.locale),ee=_(_({},u),l),{prefixCls:J,bordered:G=!0,placeholder:Y,suffixIcon:oe=(F=a.suffixIcon)===null||F===void 0?void 0:F.call(a),picker:W="date",transitionName:Z,allowClear:ne=!0,dateRender:re=a.dateRender,renderExtraFooter:le=a.renderExtraFooter,separator:ie=(H=a.separator)===null||H===void 0?void 0:H.call(a),clearIcon:de=(V=a.clearIcon)===null||V===void 0?void 0:V.call(a),id:pe=c.id.value}=ee,me=r3e(ee,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete me["onUpdate:value"],delete me["onUpdate:open"];const{format:he,showTime:xe}=ee;let Ce={};Ce=_(_(_({},Ce),xe?PS(_({format:he,picker:W},xe)):{}),W==="time"?PS(_(_({format:he},yt(me,["disabledTime"])),{picker:W})):{});const ve=f.value,fe=w(Qe,null,[oe||w(W==="time"?VZ:HZ,null,null),d.hasFeedback&&d.feedbackIcon]);return x(w($Ie,z(z(z({dateRender:re,renderExtraFooter:le,separator:ie||w("span",{"aria-label":"to",class:`${ve}-separator`},[w(n3e,null,null)]),ref:C,dropdownAlign:WZ(h.value,u.placement),placeholder:qEe(q,W,Y),suffixIcon:fe,clearIcon:de||w(Ri,null,null),allowClear:ne,transitionName:Z||`${g.value}-slide-up`},me),Ce),{},{disabled:m.value,id:pe,value:k.value,defaultValue:N.value,defaultPickerValue:B.value,picker:W,class:ce({[`${ve}-${S.value}`]:S.value,[`${ve}-borderless`]:!G},Kr(ve,ha(d.status,u.status),d.hasFeedback),l.class,$.value,b.value),locale:q.lang,prefixCls:ve,getPopupContainer:l.getCalendarContainer||v.value,generateConfig:e,prevIcon:((X=a.prevIcon)===null||X===void 0?void 0:X.call(a))||w("span",{class:`${ve}-prev-icon`},null),nextIcon:((Q=a.nextIcon)===null||Q===void 0?void 0:Q.call(a))||w("span",{class:`${ve}-next-icon`},null),superPrevIcon:((K=a.superPrevIcon)===null||K===void 0?void 0:K.call(a))||w("span",{class:`${ve}-super-prev-icon`},null),superNextIcon:((te=a.superNextIcon)===null||te===void 0?void 0:te.call(a))||w("span",{class:`${ve}-super-next-icon`},null),components:KZ,direction:h.value,dropdownClassName:ce($.value,u.popupClassName,u.dropdownClassName),onChange:I,onOpenChange:P,onFocus:M,onBlur:O,onPanelChange:D,onOk:R,onCalendarChange:A}),null))}}})}const KZ={button:NEe,rangeItem:VEe};function o3e(e){return e?Array.isArray(e)?e:[e]:[]}function PS(e){const{format:t,picker:n,showHour:r,showMinute:i,showSecond:o,use12Hours:a}=e,l=o3e(t)[0],s=_({},e);return l&&typeof l=="string"&&(!l.includes("s")&&o===void 0&&(s.showSecond=!1),!l.includes("m")&&i===void 0&&(s.showMinute=!1),!l.includes("H")&&!l.includes("h")&&r===void 0&&(s.showHour=!1),(l.includes("a")||l.includes("A"))&&a===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof l=="function"&&delete s.format,{showTime:s})}function UZ(e,t){const{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l}=QEe(e,t),s=i3e(e,t);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l,RangePicker:s}}const{DatePicker:c_,WeekPicker:Fb,MonthPicker:zb,YearPicker:a3e,TimePicker:l3e,QuarterPicker:Hb,RangePicker:Vb}=UZ(YD),s3e=_(c_,{WeekPicker:Fb,MonthPicker:zb,YearPicker:a3e,RangePicker:Vb,TimePicker:l3e,QuarterPicker:Hb,install:e=>(e.component(c_.name,c_),e.component(Vb.name,Vb),e.component(zb.name,zb),e.component(Fb.name,Fb),e.component(Hb.name,Hb),e)});function a0(e){return e!=null}const u3e=e=>{const{itemPrefixCls:t,component:n,span:r,labelStyle:i,contentStyle:o,bordered:a,label:l,content:s,colon:u}=e,c=n;return a?w(c,{class:[{[`${t}-item-label`]:a0(l),[`${t}-item-content`]:a0(s)}],colSpan:r},{default:()=>[a0(l)&&w("span",{style:i},[l]),a0(s)&&w("span",{style:o},[s])]}):w(c,{class:[`${t}-item`],colSpan:r},{default:()=>[w("div",{class:`${t}-item-container`},[(l||l===0)&&w("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!u}],style:i},[l]),(s||s===0)&&w("span",{class:`${t}-item-content`,style:o},[s])])]})},d_=u3e,c3e=e=>{const t=(u,c,d)=>{let{colon:f,prefixCls:h,bordered:v}=c,{component:p,type:g,showLabel:m,showContent:y,labelStyle:b,contentStyle:S}=d;return u.map((x,$)=>{var C,T;const I=x.props||{},{prefixCls:P=h,span:M=1,labelStyle:O=I["label-style"],contentStyle:D=I["content-style"],label:R=(T=(C=x.children)===null||C===void 0?void 0:C.label)===null||T===void 0?void 0:T.call(C)}=I,A=qx(x),E=Ofe(x),k=AK(x),{key:N}=x;return typeof p=="string"?w(d_,{key:`${g}-${String(N)||$}`,class:E,style:k,labelStyle:_(_({},b),O),contentStyle:_(_({},S),D),span:M,colon:f,component:p,itemPrefixCls:P,bordered:v,label:m?R:null,content:y?A:null},null):[w(d_,{key:`label-${String(N)||$}`,class:E,style:_(_(_({},b),k),O),span:1,colon:f,component:p[0],itemPrefixCls:P,bordered:v,label:R},null),w(d_,{key:`content-${String(N)||$}`,class:E,style:_(_(_({},S),k),D),span:M*2-1,component:p[1],itemPrefixCls:P,bordered:v,content:A},null)]})},{prefixCls:n,vertical:r,row:i,index:o,bordered:a}=e,{labelStyle:l,contentStyle:s}=Je(qZ,{labelStyle:ue({}),contentStyle:ue({})});return r?w(Qe,null,[w("tr",{key:`label-${o}`,class:`${n}-row`},[t(i,e,{component:"th",type:"label",showLabel:!0,labelStyle:l.value,contentStyle:s.value})]),w("tr",{key:`content-${o}`,class:`${n}-row`},[t(i,e,{component:"td",type:"content",showContent:!0,labelStyle:l.value,contentStyle:s.value})])]):w("tr",{key:o,class:`${n}-row`},[t(i,e,{component:a?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:l.value,contentStyle:s.value})])},d3e=c3e,f3e=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:r,descriptionsMiddlePadding:i,descriptionsBg:o}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:r,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:o,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:i}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},h3e=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:r,descriptionsItemLabelColonMarginRight:i,descriptionsItemLabelColonMarginLeft:o,descriptionsTitleMarginBottom:a}=e;return{[t]:_(_(_({},st(e)),f3e(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:a},[`${t}-title`]:_(_({},Hn),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:r},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${o}px ${i}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},v3e=it("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,r=e.colorText,i=`${e.paddingXS}px ${e.padding}px`,o=`${e.padding}px ${e.paddingLG}px`,a=`${e.paddingSM}px ${e.paddingLG}px`,l=e.padding,s=e.marginXS,u=e.marginXXS/2,c=Ue(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:r,descriptionItemPaddingBottom:l,descriptionsSmallPadding:i,descriptionsDefaultPadding:o,descriptionsMiddlePadding:a,descriptionsItemLabelColonMarginRight:s,descriptionsItemLabelColonMarginLeft:u});return[h3e(c)]});U.any;const p3e=()=>({prefixCls:String,label:U.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),XZ=se({compatConfig:{MODE:3},name:"ADescriptionsItem",props:p3e(),setup(e,t){let{slots:n}=t;return()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),YZ={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function g3e(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;nt)&&(r=Nt(e,{span:t}),vn()),r}function m3e(e,t){const n=Jt(e),r=[];let i=[],o=t;return n.forEach((a,l)=>{var s;const u=(s=a.props)===null||s===void 0?void 0:s.span,c=u||1;if(l===n.length-1){i.push(vk(a,o,u)),r.push(i);return}c({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:U.any,extra:U.any,column:{type:[Number,Object],default:()=>YZ},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),qZ=Symbol("descriptionsContext"),Rf=se({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:y3e(),slots:Object,Item:XZ,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("descriptions",e);let a;const l=ue({}),[s,u]=v3e(i),c=RD();Vx(()=>{a=c.value.subscribe(f=>{typeof e.column=="object"&&(l.value=f)})}),ht(()=>{c.value.unsubscribe(a)}),at(qZ,{labelStyle:qe(e,"labelStyle"),contentStyle:qe(e,"contentStyle")});const d=L(()=>g3e(e.column,l.value));return()=>{var f,h,v;const{size:p,bordered:g=!1,layout:m="horizontal",colon:y=!0,title:b=(f=n.title)===null||f===void 0?void 0:f.call(n),extra:S=(h=n.extra)===null||h===void 0?void 0:h.call(n)}=e,x=(v=n.default)===null||v===void 0?void 0:v.call(n),$=m3e(x,d.value);return s(w("div",z(z({},r),{},{class:[i.value,{[`${i.value}-${p}`]:p!=="default",[`${i.value}-bordered`]:!!g,[`${i.value}-rtl`]:o.value==="rtl"},r.class,u.value]}),[(b||S)&&w("div",{class:`${i.value}-header`},[b&&w("div",{class:`${i.value}-title`},[b]),S&&w("div",{class:`${i.value}-extra`},[S])]),w("div",{class:`${i.value}-view`},[w("table",null,[w("tbody",null,[$.map((C,T)=>w(d3e,{key:T,index:T,colon:y,prefixCls:i.value,vertical:m==="vertical",bordered:g,row:C},null))])])])]))}}});Rf.install=function(e){return e.component(Rf.name,Rf),e.component(Rf.Item.name,Rf.Item),e};const b3e=Rf,S3e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i}=e;return{[t]:_(_({},st(e)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},x3e=it("Divider",e=>{const t=Ue(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[S3e(t)]},{sizePaddingEdgeHorizontal:0}),w3e=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),C3e=se({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:w3e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("divider",e),[a,l]=x3e(i),s=L(()=>e.orientation==="left"&&e.orientationMargin!=null),u=L(()=>e.orientation==="right"&&e.orientationMargin!=null),c=L(()=>{const{type:h,dashed:v,plain:p}=e,g=i.value;return{[g]:!0,[l.value]:!!l.value,[`${g}-${h}`]:!0,[`${g}-dashed`]:!!v,[`${g}-plain`]:!!p,[`${g}-rtl`]:o.value==="rtl",[`${g}-no-default-orientation-margin-left`]:s.value,[`${g}-no-default-orientation-margin-right`]:u.value}}),d=L(()=>{const h=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return _(_({},s.value&&{marginLeft:h}),u.value&&{marginRight:h})}),f=L(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var h;const v=Jt((h=n.default)===null||h===void 0?void 0:h.call(n));return a(w("div",z(z({},r),{},{class:[c.value,v.length?`${i.value}-with-text ${i.value}-with-text${f.value}`:"",r.class],role:"separator"}),[v.length?w("span",{class:`${i.value}-inner-text`,style:d.value},[v]):null]))}}}),$3e=gn(C3e);Ka.Button=jg;Ka.install=function(e){return e.component(Ka.name,Ka),e.component(jg.name,jg),e};const ZZ=()=>({prefixCls:String,width:U.oneOfType([U.string,U.number]),height:U.oneOfType([U.string,U.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:He(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:Ot(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:be(),maskMotion:He()}),_3e=()=>_(_({},ZZ()),{forceRender:{type:Boolean,default:void 0},getContainer:U.oneOfType([U.string,U.func,U.object,U.looseBool])}),T3e=()=>_(_({},ZZ()),{getContainer:Function,getOpenCount:Function,scrollLocker:U.any,inline:Boolean});function I3e(e){return Array.isArray(e)?e:[e]}const P3e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(P3e).filter(e=>{if(typeof document=="undefined")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const M3e=!(typeof window!="undefined"&&window.document&&window.document.createElement);var A3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{_t(()=>{var m;const{open:y,getContainer:b,showMask:S,autofocus:x}=e,$=b==null?void 0:b();v(e),y&&($&&($.parentNode,document.body),_t(()=>{x&&c()}),S&&((m=e.scrollLocker)===null||m===void 0||m.lock()))})}),Se(()=>e.level,()=>{v(e)},{flush:"post"}),Se(()=>e.open,()=>{const{open:m,getContainer:y,scrollLocker:b,showMask:S,autofocus:x}=e,$=y==null?void 0:y();$&&($.parentNode,document.body),m?(x&&c(),S&&(b==null||b.lock())):b==null||b.unLock()},{flush:"post"}),Jr(()=>{var m;const{open:y}=e;y&&(document.body.style.touchAction=""),(m=e.scrollLocker)===null||m===void 0||m.unLock()}),Se(()=>e.placement,m=>{m&&(s.value=null)});const c=()=>{var m,y;(y=(m=o.value)===null||m===void 0?void 0:m.focus)===null||y===void 0||y.call(m)},d=m=>{n("close",m)},f=m=>{m.keyCode===Pe.ESC&&(m.stopPropagation(),d(m))},h=()=>{const{open:m,afterVisibleChange:y}=e;y&&y(!!m)},v=m=>{let{level:y,getContainer:b}=m;if(M3e)return;const S=b==null?void 0:b(),x=S?S.parentNode:null;u=[],y==="all"?(x?Array.prototype.slice.call(x.children):[]).forEach(C=>{C.nodeName!=="SCRIPT"&&C.nodeName!=="STYLE"&&C.nodeName!=="LINK"&&C!==S&&u.push(C)}):y&&I3e(y).forEach($=>{document.querySelectorAll($).forEach(C=>{u.push(C)})})},p=m=>{n("handleClick",m)},g=ae(!1);return Se(o,()=>{_t(()=>{g.value=!0})}),()=>{var m,y;const{width:b,height:S,open:x,prefixCls:$,placement:C,level:T,levelMove:I,ease:P,duration:M,getContainer:O,onChange:D,afterVisibleChange:R,showMask:A,maskClosable:E,maskStyle:k,keyboard:N,getOpenCount:B,scrollLocker:F,contentWrapperStyle:H,style:V,class:X,rootClassName:Q,rootStyle:K,maskMotion:te,motion:q,inline:ee}=e,J=A3e(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),G=x&&g.value,Y=ce($,{[`${$}-${C}`]:!0,[`${$}-open`]:G,[`${$}-inline`]:ee,"no-mask":!A,[Q]:!0}),oe=typeof q=="function"?q(C):q;return w("div",z(z({},yt(J,["autofocus"])),{},{tabindex:-1,class:Y,style:K,ref:o,onKeydown:G&&N?f:void 0}),[w(dr,te,{default:()=>[A&&Ur(w("div",{class:`${$}-mask`,onClick:E?d:void 0,style:k,ref:a},null),[[hi,G]])]}),w(dr,z(z({},oe),{},{onAfterEnter:h,onAfterLeave:h}),{default:()=>[Ur(w("div",{class:`${$}-content-wrapper`,style:[H],ref:i},[w("div",{class:[`${$}-content`,X],style:V,ref:s},[(m=r.default)===null||m===void 0?void 0:m.call(r)]),r.handler?w("div",{onClick:p,ref:l},[(y=r.handler)===null||y===void 0?void 0:y.call(r)]):null]),[[hi,G]])]})])}}}),pk=O3e;var gk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:r}=t;const i=ue(null),o=l=>{n("handleClick",l)},a=l=>{n("close",l)};return()=>{const{getContainer:l,wrapperClassName:s,rootClassName:u,rootStyle:c,forceRender:d}=e,f=gk(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let h=null;if(!l)return w(pk,z(z({},f),{},{rootClassName:u,rootStyle:c,open:e.open,onClose:a,onHandleClick:o,inline:!0}),r);const v=!!r.handler||d;return(v||e.open||i.value)&&(h=w(Fm,{autoLock:!0,visible:e.open,forceRender:v,getContainer:l,wrapperClassName:s},{default:p=>{var{visible:g,afterClose:m}=p,y=gk(p,["visible","afterClose"]);return w(pk,z(z(z({ref:i},f),y),{},{rootClassName:u,rootStyle:c,open:g!==void 0?g:e.open,afterVisibleChange:m!==void 0?m:e.afterVisibleChange,onClose:a,onHandleClick:o}),r)}})),h}}}),E3e=D3e,R3e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},L3e=R3e,N3e=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:a,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:c,lineWidth:d,lineType:f,colorSplit:h,marginSM:v,colorIcon:p,colorIconHover:g,colorText:m,fontWeightStrong:y,drawerFooterPaddingVertical:b,drawerFooterPaddingHorizontal:S}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:u,lineHeight:c,borderBottom:`${d}px ${f} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:v,color:p,fontWeight:y,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:g,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:m,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:c},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${b}px ${S}px`,borderTop:`${d}px ${f} ${h}`},"&-rtl":{direction:"rtl"}}}},k3e=it("Drawer",e=>{const t=Ue(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[N3e(t),L3e(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var B3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:U.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:He(),rootClassName:String,rootStyle:He(),size:{type:String},drawerStyle:He(),headerStyle:He(),bodyStyle:He(),contentWrapperStyle:{type:Object,default:void 0},title:U.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:U.oneOfType([U.string,U.number]),height:U.oneOfType([U.string,U.number]),zIndex:Number,prefixCls:String,push:U.oneOfType([U.looseBool,{type:Object}]),placement:U.oneOf(F3e),keyboard:{type:Boolean,default:void 0},extra:U.any,footer:U.any,footerStyle:He(),level:U.any,levelMove:{type:[Number,Array,Function]},handle:U.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),H3e=se({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:ft(z3e(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:mk}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const o=ae(!1),a=ae(!1),l=ae(null),s=ae(!1),u=ae(!1),c=L(()=>{var B;return(B=e.open)!==null&&B!==void 0?B:e.visible});Se(c,()=>{c.value?s.value=!0:u.value=!1},{immediate:!0}),Se([c,s],()=>{c.value&&s.value&&(u.value=!0)},{immediate:!0});const d=Je("parentDrawerOpts",null),{prefixCls:f,getPopupContainer:h,direction:v}=Ee("drawer",e),[p,g]=k3e(f),m=L(()=>e.getContainer===void 0&&(h!=null&&h.value)?()=>h.value(document.body):e.getContainer);on(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),at("parentDrawerOpts",{setPush:()=>{o.value=!0},setPull:()=>{o.value=!1,_t(()=>{S()})}}),tt(()=>{c.value&&d&&d.setPush()}),Jr(()=>{d&&d.setPull()}),Se(u,()=>{d&&(u.value?d.setPush():d.setPull())},{flush:"post"});const S=()=>{var B,F;(F=(B=l.value)===null||B===void 0?void 0:B.domFocus)===null||F===void 0||F.call(B)},x=B=>{n("update:visible",!1),n("update:open",!1),n("close",B)},$=B=>{var F;B||(a.value===!1&&(a.value=!0),e.destroyOnClose&&(s.value=!1)),(F=e.afterVisibleChange)===null||F===void 0||F.call(e,B),n("afterVisibleChange",B),n("afterOpenChange",B)},C=L(()=>{const{push:B,placement:F}=e;let H;return typeof B=="boolean"?H=B?mk.distance:0:H=B.distance,H=parseFloat(String(H||0)),F==="left"||F==="right"?`translateX(${F==="left"?H:-H}px)`:F==="top"||F==="bottom"?`translateY(${F==="top"?H:-H}px)`:null}),T=L(()=>{var B;return(B=e.width)!==null&&B!==void 0?B:e.size==="large"?736:378}),I=L(()=>{var B;return(B=e.height)!==null&&B!==void 0?B:e.size==="large"?736:378}),P=L(()=>{const{mask:B,placement:F}=e;if(!u.value&&!B)return{};const H={};return F==="left"||F==="right"?H.width=uS(T.value)?`${T.value}px`:T.value:H.height=uS(I.value)?`${I.value}px`:I.value,H}),M=L(()=>{const{zIndex:B,contentWrapperStyle:F}=e,H=P.value;return[{zIndex:B,transform:o.value?C.value:void 0},_({},F),H]}),O=B=>{const{closable:F,headerStyle:H}=e,V=Un(r,e,"extra"),X=Un(r,e,"title");return!X&&!F?null:w("div",{class:ce(`${B}-header`,{[`${B}-header-close-only`]:F&&!X&&!V}),style:H},[w("div",{class:`${B}-header-title`},[D(B),X&&w("div",{class:`${B}-title`},[X])]),V&&w("div",{class:`${B}-extra`},[V])])},D=B=>{var F;const{closable:H}=e,V=r.closeIcon?(F=r.closeIcon)===null||F===void 0?void 0:F.call(r):e.closeIcon;return H&&w("button",{key:"closer",onClick:x,"aria-label":"Close",class:`${B}-close`},[V===void 0?w(Ei,null,null):V])},R=B=>{var F;if(a.value&&!e.forceRender&&!s.value)return null;const{bodyStyle:H,drawerStyle:V}=e;return w("div",{class:`${B}-wrapper-body`,style:V},[O(B),w("div",{key:"body",class:`${B}-body`,style:H},[(F=r.default)===null||F===void 0?void 0:F.call(r)]),A(B)])},A=B=>{const F=Un(r,e,"footer");if(!F)return null;const H=`${B}-footer`;return w("div",{class:H,style:e.footerStyle},[F])},E=L(()=>ce({"no-mask":!e.mask,[`${f.value}-rtl`]:v.value==="rtl"},e.rootClassName,g.value)),k=L(()=>Do(Yr(f.value,"mask-motion"))),N=B=>Do(Yr(f.value,`panel-motion-${B}`));return()=>{const{width:B,height:F,placement:H,mask:V,forceRender:X}=e,Q=B3e(e,["width","height","placement","mask","forceRender"]),K=_(_(_({},i),yt(Q,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:X,onClose:x,afterVisibleChange:$,handler:!1,prefixCls:f.value,open:u.value,showMask:V,placement:H,ref:l});return p(w(Wg,null,{default:()=>[w(E3e,z(z({},K),{},{maskMotion:k.value,motion:N,width:T.value,height:I.value,getContainer:m.value,rootClassName:E.value,rootStyle:e.rootStyle,contentWrapperStyle:M.value}),{handler:e.handle?()=>e.handle:r.handle,default:()=>R(f.value)})]}))}}}),V3e=gn(H3e);var W3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const j3e=W3e;function yk(e){for(var t=1;t({prefixCls:String,description:U.any,type:je("default"),shape:je("circle"),tooltip:U.any,href:String,target:String,badge:He(),onClick:be()}),K3e=()=>({prefixCls:je()}),U3e=()=>_(_({},UE()),{trigger:je(),open:$e(),onOpenChange:be(),"onUpdate:open":be()}),X3e=()=>_(_({},UE()),{prefixCls:String,duration:Number,target:be(),visibilityHeight:Number,onClick:be()}),Y3e=se({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:K3e(),setup(e,t){let{attrs:n,slots:r}=t;return()=>{var i;const{prefixCls:o}=e,a=xn((i=r.description)===null||i===void 0?void 0:i.call(r));return w("div",z(z({},n),{},{class:[n.class,`${o}-content`]}),[r.icon||a.length?w(Qe,null,[r.icon&&w("div",{class:`${o}-icon`},[r.icon()]),a.length?w("div",{class:`${o}-description`},[a]):null]):w("div",{class:`${o}-icon`},[w(QZ,null,null)])])}}}),q3e=Y3e,JZ=Symbol("floatButtonGroupContext"),Z3e=e=>(at(JZ,e),e),eQ=()=>Je(JZ,{shape:ue()}),Q3e=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),bk=Q3e,J3e=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:i}=e,o=`${t}-group`,a=new xt("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new xt("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${o}-wrap`]:_({},Wm(`${o}-wrap`,a,l,r,!0))},{[`${o}-wrap`]:{[` + `.trim()}function PEe(e,t){const n=IEe(e,t);Xr()?Lg(n,`${TEe}-dynamic-theme`):vn()}const MEe=e=>{const[t,n]=is();return j1(L(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:_(_({},Od()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])},AEe=MEe;function OEe(e,t){const n=L(()=>(e==null?void 0:e.value)||{}),r=L(()=>n.value.inherit===!1||!(t!=null&&t.value)?hU:t.value);return L(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const o=_({},r.value.components);return Object.keys(e.value.components||{}).forEach(a=>{o[a]=_(_({},o[a]),e.value.components[a])}),_(_(_({},r.value),n.value),{token:_(_({},r.value.token),n.value.token),components:o})})}var DEe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{_(Cr,HE),Cr.prefixCls=vh(),Cr.iconPrefixCls=BZ(),Cr.getPrefixCls=(e,t)=>t||(e?`${Cr.prefixCls}-${e}`:Cr.prefixCls),Cr.getRootPrefixCls=()=>Cr.prefixCls?Cr.prefixCls:vh()});let u_;const REe=e=>{u_&&u_(),u_=Ye(()=>{_(HE,Bt(e)),_(Cr,Bt(e))}),e.theme&&PEe(vh(),e.theme)},LEe=()=>({getPrefixCls:(e,t)=>t||(e?`${vh()}-${e}`:vh()),getIconPrefixCls:BZ,getRootPrefixCls:()=>Cr.prefixCls?Cr.prefixCls:vh()}),rg=se({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:Ffe(),setup(e,t){let{slots:n}=t;const r=Zx(),i=(A,E)=>{const{prefixCls:k="ant"}=e;if(E)return E;const N=k||r.getPrefixCls("");return A?`${N}-${A}`:N},o=L(()=>e.iconPrefixCls||r.iconPrefixCls.value||gO),a=L(()=>o.value!==r.iconPrefixCls.value),l=L(()=>{var A;return e.csp||((A=r.csp)===null||A===void 0?void 0:A.value)}),s=AEe(o),u=OEe(L(()=>e.theme),L(()=>{var A;return(A=r.theme)===null||A===void 0?void 0:A.value})),c=A=>(e.renderEmpty||n.renderEmpty||r.renderEmpty||epe)(A),d=L(()=>{var A,E;return(A=e.autoInsertSpaceInButton)!==null&&A!==void 0?A:(E=r.autoInsertSpaceInButton)===null||E===void 0?void 0:E.value}),f=L(()=>{var A;return e.locale||((A=r.locale)===null||A===void 0?void 0:A.value)});Se(f,()=>{HE.locale=f.value},{immediate:!0});const h=L(()=>{var A;return e.direction||((A=r.direction)===null||A===void 0?void 0:A.value)}),v=L(()=>{var A,E;return(A=e.space)!==null&&A!==void 0?A:(E=r.space)===null||E===void 0?void 0:E.value}),p=L(()=>{var A,E;return(A=e.virtual)!==null&&A!==void 0?A:(E=r.virtual)===null||E===void 0?void 0:E.value}),g=L(()=>{var A,E;return(A=e.dropdownMatchSelectWidth)!==null&&A!==void 0?A:(E=r.dropdownMatchSelectWidth)===null||E===void 0?void 0:E.value}),m=L(()=>{var A;return e.getTargetContainer!==void 0?e.getTargetContainer:(A=r.getTargetContainer)===null||A===void 0?void 0:A.value}),y=L(()=>{var A;return e.getPopupContainer!==void 0?e.getPopupContainer:(A=r.getPopupContainer)===null||A===void 0?void 0:A.value}),b=L(()=>{var A;return e.pageHeader!==void 0?e.pageHeader:(A=r.pageHeader)===null||A===void 0?void 0:A.value}),S=L(()=>{var A;return e.input!==void 0?e.input:(A=r.input)===null||A===void 0?void 0:A.value}),x=L(()=>{var A;return e.pagination!==void 0?e.pagination:(A=r.pagination)===null||A===void 0?void 0:A.value}),$=L(()=>{var A;return e.form!==void 0?e.form:(A=r.form)===null||A===void 0?void 0:A.value}),C=L(()=>{var A;return e.select!==void 0?e.select:(A=r.select)===null||A===void 0?void 0:A.value}),T=L(()=>e.componentSize),I=L(()=>e.componentDisabled),P=L(()=>{var A,E;return(A=e.wave)!==null&&A!==void 0?A:(E=r.wave)===null||E===void 0?void 0:E.value}),M={csp:l,autoInsertSpaceInButton:d,locale:f,direction:h,space:v,virtual:p,dropdownMatchSelectWidth:g,getPrefixCls:i,iconPrefixCls:o,theme:L(()=>{var A,E;return(A=u.value)!==null&&A!==void 0?A:(E=r.theme)===null||E===void 0?void 0:E.value}),renderEmpty:c,getTargetContainer:m,getPopupContainer:y,pageHeader:b,input:S,pagination:x,form:$,select:C,componentSize:T,componentDisabled:I,transformCellText:L(()=>e.transformCellText),wave:P},O=L(()=>{const A=u.value||{},{algorithm:E,token:k}=A,N=DEe(A,["algorithm","token"]),B=E&&(!Array.isArray(E)||E.length>0)?xO(E):void 0;return _(_({},N),{theme:B,token:_(_({},nw),k)})}),D=L(()=>{var A,E;let k={};return f.value&&(k=((A=f.value.Form)===null||A===void 0?void 0:A.defaultValidateMessages)||((E=vi.Form)===null||E===void 0?void 0:E.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(k=_(_({},k),e.form.validateMessages)),k});zfe(M),kfe({validateMessages:D}),SU(T),FK(I);const R=A=>{var E,k;let N=a.value?s((E=n.default)===null||E===void 0?void 0:E.call(n)):(k=n.default)===null||k===void 0?void 0:k.call(n);if(e.theme){const B=function(){return N}();N=w(Xve,{value:O.value},{default:()=>[B]})}return w(hZ,{locale:f.value||A,ANT_MARK__:_P},{default:()=>[N]})};return Ye(()=>{h.value&&(FE.config({rtl:h.value==="rtl"}),zE.config({rtl:h.value==="rtl"}))}),()=>w(Ad,{children:(A,E,k)=>R(k)},null)}});rg.config=REe;rg.install=function(e){e.component(rg.name,rg)};const VE=rg,NEe=(e,t)=>{let{attrs:n,slots:r}=t;return w(An,z(z({size:"small",type:"primary"},e),n),r)},kEe=NEe,o0=(e,t,n)=>{const r=afe(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},BEe=e=>G1(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),FEe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i}=e,o=r-n,a=t-n;return{[i]:_(_({},st(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${i}-close-icon`]:{marginInlineStart:a,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},FZ=it("Tag",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,fontSizeIcon:i}=e,o=Math.round(t*n),a=e.fontSizeSM,l=o-r*2,s=e.colorFillAlter,u=e.colorText,c=Ue(e,{tagFontSize:a,tagLineHeight:l,tagDefaultBg:s,tagDefaultColor:u,tagIconSize:i-2*r,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[FEe(c),BEe(c),o0(c,"success","Success"),o0(c,"processing","Info"),o0(c,"error","Error"),o0(c,"warning","Warning")]}),zEe=()=>({prefixCls:String,checked:{type:Boolean,default:void 0},onChange:{type:Function},onClick:{type:Function},"onUpdate:checked":Function}),HEe=se({compatConfig:{MODE:3},name:"ACheckableTag",inheritAttrs:!1,props:zEe(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o}=Ee("tag",e),[a,l]=FZ(o),s=c=>{const{checked:d}=e;r("update:checked",!d),r("change",!d),r("click",c)},u=L(()=>ce(o.value,l.value,{[`${o.value}-checkable`]:!0,[`${o.value}-checkable-checked`]:e.checked}));return()=>{var c;return a(w("span",z(z({},i),{},{class:[u.value,i.class],onClick:s}),[(c=n.default)===null||c===void 0?void 0:c.call(n)]))}}}),TS=HEe,VEe=()=>({prefixCls:String,color:{type:String},closable:{type:Boolean,default:!1},closeIcon:U.any,visible:{type:Boolean,default:void 0},onClose:{type:Function},onClick:fd(),"onUpdate:visible":Function,icon:U.any,bordered:{type:Boolean,default:!0}}),ig=se({compatConfig:{MODE:3},name:"ATag",inheritAttrs:!1,props:VEe(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i}=t;const{prefixCls:o,direction:a}=Ee("tag",e),[l,s]=FZ(o),u=ae(!0);Ye(()=>{e.visible!==void 0&&(u.value=e.visible)});const c=v=>{v.stopPropagation(),r("update:visible",!1),r("close",v),!v.defaultPrevented&&e.visible===void 0&&(u.value=!1)},d=L(()=>Ow(e.color)||S_e(e.color)),f=L(()=>ce(o.value,s.value,{[`${o.value}-${e.color}`]:d.value,[`${o.value}-has-color`]:e.color&&!d.value,[`${o.value}-hidden`]:!u.value,[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-borderless`]:!e.bordered})),h=v=>{r("click",v)};return()=>{var v,p,g;const{icon:m=(v=n.icon)===null||v===void 0?void 0:v.call(n),color:y,closeIcon:b=(p=n.closeIcon)===null||p===void 0?void 0:p.call(n),closable:S=!1}=e,x=()=>S?b?w("span",{class:`${o.value}-close-icon`,onClick:c},[b]):w(Ri,{class:`${o.value}-close-icon`,onClick:c},null):null,$={backgroundColor:y&&!d.value?y:void 0},C=m||null,T=(g=n.default)===null||g===void 0?void 0:g.call(n),I=C?w(Qe,null,[C,w("span",null,[T])]):T,P=e.onClick!==void 0,M=w("span",z(z({},i),{},{onClick:h,class:[f.value,i.class],style:[$,i.style]}),[I,x()]);return l(P?w(zD,null,{default:()=>[M]}):M)}}});ig.CheckableTag=TS;ig.install=function(e){return e.component(ig.name,ig),e.component(TS.name,TS),e};const zZ=ig;function WEe(e,t){let{slots:n,attrs:r}=t;return w(zZ,z(z({color:"blue"},e),r),n)}var jEe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const GEe=jEe;function dk(e){for(var t=1;tM.value||T.value),[R,A]=xq(x),E=ue();p({focus:()=>{var ee;(ee=E.value)===null||ee===void 0||ee.focus()},blur:()=>{var ee;(ee=E.value)===null||ee===void 0||ee.blur()}});const k=ee=>y.valueFormat?e.toString(ee,y.valueFormat):ee,N=(ee,J)=>{const G=k(ee);m("update:value",G),m("change",G,J),b.onFieldChange()},B=ee=>{m("update:open",ee),m("openChange",ee)},F=ee=>{m("focus",ee)},H=ee=>{m("blur",ee),b.onFieldBlur()},V=(ee,J)=>{const G=k(ee);m("panelChange",G,J)},X=ee=>{const J=k(ee);m("ok",J)},[Q]=Lo("DatePicker",Rg),K=L(()=>y.value?y.valueFormat?e.toDate(y.value,y.valueFormat):y.value:y.value===""?void 0:y.value),te=L(()=>y.defaultValue?y.valueFormat?e.toDate(y.defaultValue,y.valueFormat):y.defaultValue:y.defaultValue===""?void 0:y.defaultValue),q=L(()=>y.defaultPickerValue?y.valueFormat?e.toDate(y.defaultPickerValue,y.valueFormat):y.defaultPickerValue:y.defaultPickerValue===""?void 0:y.defaultPickerValue);return()=>{var ee,J,G,Y,oe,W;const Z=_(_({},Q.value),y.locale),ne=_(_({},y),g),{bordered:re=!0,placeholder:le,suffixIcon:ie=(ee=v.suffixIcon)===null||ee===void 0?void 0:ee.call(v),showToday:de=!0,transitionName:pe,allowClear:me=!0,dateRender:he=v.dateRender,renderExtraFooter:xe=v.renderExtraFooter,monthCellRender:Ce=v.monthCellRender||y.monthCellContentRender||v.monthCellContentRender,clearIcon:ve=(J=v.clearIcon)===null||J===void 0?void 0:J.call(v),id:fe=b.id.value}=ne,ye=QEe(ne,["bordered","placeholder","suffixIcon","showToday","transitionName","allowClear","dateRender","renderExtraFooter","monthCellRender","clearIcon","id"]),Me=ne.showTime===""?!0:ne.showTime,{format:De}=ne;let Be={};u&&(Be.picker=u);const we=u||ne.picker||"date";Be=_(_(_({},Be),Me?PS(_({format:De,picker:we},typeof Me=="object"?Me:{})):{}),we==="time"?PS(_(_({format:De},ye),{picker:we})):{});const _e=x.value,Ie=w(Qe,null,[ie||w(u==="time"?VZ:HZ,null,null),S.hasFeedback&&S.feedbackIcon]);return R(w(vIe,z(z(z({monthCellRender:Ce,dateRender:he,renderExtraFooter:xe,ref:E,placeholder:qEe(Z,we,le),suffixIcon:Ie,dropdownAlign:WZ($.value,y.placement),clearIcon:ve||w(Li,null,null),allowClear:me,transitionName:pe||`${I.value}-slide-up`},ye),Be),{},{id:fe,picker:we,value:K.value,defaultValue:te.value,defaultPickerValue:q.value,showToday:de,locale:Z.lang,class:ce({[`${_e}-${D.value}`]:D.value,[`${_e}-borderless`]:!re},Kr(_e,va(S.status,y.status),S.hasFeedback),g.class,A.value,O.value),disabled:P.value,prefixCls:_e,getPopupContainer:g.getCalendarContainer||C.value,generateConfig:e,prevIcon:((G=v.prevIcon)===null||G===void 0?void 0:G.call(v))||w("span",{class:`${_e}-prev-icon`},null),nextIcon:((Y=v.nextIcon)===null||Y===void 0?void 0:Y.call(v))||w("span",{class:`${_e}-next-icon`},null),superPrevIcon:((oe=v.superPrevIcon)===null||oe===void 0?void 0:oe.call(v))||w("span",{class:`${_e}-super-prev-icon`},null),superNextIcon:((W=v.superNextIcon)===null||W===void 0?void 0:W.call(v))||w("span",{class:`${_e}-super-next-icon`},null),components:KZ,direction:$.value,dropdownClassName:ce(A.value,y.popupClassName,y.dropdownClassName),onChange:N,onOpenChange:B,onFocus:F,onBlur:H,onPanelChange:V,onOk:X}),null))}}})}const r=n(void 0,"ADatePicker"),i=n("week","AWeekPicker"),o=n("month","AMonthPicker"),a=n("year","AYearPicker"),l=n("time","TimePicker"),s=n("quarter","AQuarterPicker");return{DatePicker:r,WeekPicker:i,MonthPicker:o,YearPicker:a,TimePicker:l,QuarterPicker:s}}var e3e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const t3e=e3e;function hk(e){for(var t=1;ty.value||p.value),[x,$]=xq(f),C=ue();o({focus:()=>{var F;(F=C.value)===null||F===void 0||F.focus()},blur:()=>{var F;(F=C.value)===null||F===void 0||F.blur()}});const T=F=>u.valueFormat?e.toString(F,u.valueFormat):F,I=(F,H)=>{const V=T(F);s("update:value",V),s("change",V,H),c.onFieldChange()},P=F=>{s("update:open",F),s("openChange",F)},M=F=>{s("focus",F)},O=F=>{s("blur",F),c.onFieldBlur()},D=(F,H)=>{const V=T(F);s("panelChange",V,H)},R=F=>{const H=T(F);s("ok",H)},A=(F,H,V)=>{const X=T(F);s("calendarChange",X,H,V)},[E]=Lo("DatePicker",Rg),k=L(()=>u.value&&u.valueFormat?e.toDate(u.value,u.valueFormat):u.value),N=L(()=>u.defaultValue&&u.valueFormat?e.toDate(u.defaultValue,u.valueFormat):u.defaultValue),B=L(()=>u.defaultPickerValue&&u.valueFormat?e.toDate(u.defaultPickerValue,u.valueFormat):u.defaultPickerValue);return()=>{var F,H,V,X,Q,K,te;const q=_(_({},E.value),u.locale),ee=_(_({},u),l),{prefixCls:J,bordered:G=!0,placeholder:Y,suffixIcon:oe=(F=a.suffixIcon)===null||F===void 0?void 0:F.call(a),picker:W="date",transitionName:Z,allowClear:ne=!0,dateRender:re=a.dateRender,renderExtraFooter:le=a.renderExtraFooter,separator:ie=(H=a.separator)===null||H===void 0?void 0:H.call(a),clearIcon:de=(V=a.clearIcon)===null||V===void 0?void 0:V.call(a),id:pe=c.id.value}=ee,me=i3e(ee,["prefixCls","bordered","placeholder","suffixIcon","picker","transitionName","allowClear","dateRender","renderExtraFooter","separator","clearIcon","id"]);delete me["onUpdate:value"],delete me["onUpdate:open"];const{format:he,showTime:xe}=ee;let Ce={};Ce=_(_(_({},Ce),xe?PS(_({format:he,picker:W},xe)):{}),W==="time"?PS(_(_({format:he},yt(me,["disabledTime"])),{picker:W})):{});const ve=f.value,fe=w(Qe,null,[oe||w(W==="time"?VZ:HZ,null,null),d.hasFeedback&&d.feedbackIcon]);return x(w(_Ie,z(z(z({dateRender:re,renderExtraFooter:le,separator:ie||w("span",{"aria-label":"to",class:`${ve}-separator`},[w(r3e,null,null)]),ref:C,dropdownAlign:WZ(h.value,u.placement),placeholder:ZEe(q,W,Y),suffixIcon:fe,clearIcon:de||w(Li,null,null),allowClear:ne,transitionName:Z||`${g.value}-slide-up`},me),Ce),{},{disabled:m.value,id:pe,value:k.value,defaultValue:N.value,defaultPickerValue:B.value,picker:W,class:ce({[`${ve}-${S.value}`]:S.value,[`${ve}-borderless`]:!G},Kr(ve,va(d.status,u.status),d.hasFeedback),l.class,$.value,b.value),locale:q.lang,prefixCls:ve,getPopupContainer:l.getCalendarContainer||v.value,generateConfig:e,prevIcon:((X=a.prevIcon)===null||X===void 0?void 0:X.call(a))||w("span",{class:`${ve}-prev-icon`},null),nextIcon:((Q=a.nextIcon)===null||Q===void 0?void 0:Q.call(a))||w("span",{class:`${ve}-next-icon`},null),superPrevIcon:((K=a.superPrevIcon)===null||K===void 0?void 0:K.call(a))||w("span",{class:`${ve}-super-prev-icon`},null),superNextIcon:((te=a.superNextIcon)===null||te===void 0?void 0:te.call(a))||w("span",{class:`${ve}-super-next-icon`},null),components:KZ,direction:h.value,dropdownClassName:ce($.value,u.popupClassName,u.dropdownClassName),onChange:I,onOpenChange:P,onFocus:M,onBlur:O,onPanelChange:D,onOk:R,onCalendarChange:A}),null))}}})}const KZ={button:kEe,rangeItem:WEe};function a3e(e){return e?Array.isArray(e)?e:[e]:[]}function PS(e){const{format:t,picker:n,showHour:r,showMinute:i,showSecond:o,use12Hours:a}=e,l=a3e(t)[0],s=_({},e);return l&&typeof l=="string"&&(!l.includes("s")&&o===void 0&&(s.showSecond=!1),!l.includes("m")&&i===void 0&&(s.showMinute=!1),!l.includes("H")&&!l.includes("h")&&r===void 0&&(s.showHour=!1),(l.includes("a")||l.includes("A"))&&a===void 0&&(s.use12Hours=!0)),n==="time"?s:(typeof l=="function"&&delete s.format,{showTime:s})}function UZ(e,t){const{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l}=JEe(e,t),s=o3e(e,t);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l,RangePicker:s}}const{DatePicker:c_,WeekPicker:Fb,MonthPicker:zb,YearPicker:l3e,TimePicker:s3e,QuarterPicker:Hb,RangePicker:Vb}=UZ(YD),u3e=_(c_,{WeekPicker:Fb,MonthPicker:zb,YearPicker:l3e,RangePicker:Vb,TimePicker:s3e,QuarterPicker:Hb,install:e=>(e.component(c_.name,c_),e.component(Vb.name,Vb),e.component(zb.name,zb),e.component(Fb.name,Fb),e.component(Hb.name,Hb),e)});function a0(e){return e!=null}const c3e=e=>{const{itemPrefixCls:t,component:n,span:r,labelStyle:i,contentStyle:o,bordered:a,label:l,content:s,colon:u}=e,c=n;return a?w(c,{class:[{[`${t}-item-label`]:a0(l),[`${t}-item-content`]:a0(s)}],colSpan:r},{default:()=>[a0(l)&&w("span",{style:i},[l]),a0(s)&&w("span",{style:o},[s])]}):w(c,{class:[`${t}-item`],colSpan:r},{default:()=>[w("div",{class:`${t}-item-container`},[(l||l===0)&&w("span",{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!u}],style:i},[l]),(s||s===0)&&w("span",{class:`${t}-item-content`,style:o},[s])])]})},d_=c3e,d3e=e=>{const t=(u,c,d)=>{let{colon:f,prefixCls:h,bordered:v}=c,{component:p,type:g,showLabel:m,showContent:y,labelStyle:b,contentStyle:S}=d;return u.map((x,$)=>{var C,T;const I=x.props||{},{prefixCls:P=h,span:M=1,labelStyle:O=I["label-style"],contentStyle:D=I["content-style"],label:R=(T=(C=x.children)===null||C===void 0?void 0:C.label)===null||T===void 0?void 0:T.call(C)}=I,A=qx(x),E=Dfe(x),k=AK(x),{key:N}=x;return typeof p=="string"?w(d_,{key:`${g}-${String(N)||$}`,class:E,style:k,labelStyle:_(_({},b),O),contentStyle:_(_({},S),D),span:M,colon:f,component:p,itemPrefixCls:P,bordered:v,label:m?R:null,content:y?A:null},null):[w(d_,{key:`label-${String(N)||$}`,class:E,style:_(_(_({},b),k),O),span:1,colon:f,component:p[0],itemPrefixCls:P,bordered:v,label:R},null),w(d_,{key:`content-${String(N)||$}`,class:E,style:_(_(_({},S),k),D),span:M*2-1,component:p[1],itemPrefixCls:P,bordered:v,content:A},null)]})},{prefixCls:n,vertical:r,row:i,index:o,bordered:a}=e,{labelStyle:l,contentStyle:s}=Je(qZ,{labelStyle:ue({}),contentStyle:ue({})});return r?w(Qe,null,[w("tr",{key:`label-${o}`,class:`${n}-row`},[t(i,e,{component:"th",type:"label",showLabel:!0,labelStyle:l.value,contentStyle:s.value})]),w("tr",{key:`content-${o}`,class:`${n}-row`},[t(i,e,{component:"td",type:"content",showContent:!0,labelStyle:l.value,contentStyle:s.value})])]):w("tr",{key:o,class:`${n}-row`},[t(i,e,{component:a?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:l.value,contentStyle:s.value})])},f3e=d3e,h3e=e=>{const{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:r,descriptionsMiddlePadding:i,descriptionsBg:o}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"}},[`${t}-item-label, ${t}-item-content`]:{padding:r,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`${t}-item-label`]:{backgroundColor:o,"&::after":{display:"none"}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:i}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},v3e=e=>{const{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:r,descriptionsItemLabelColonMarginRight:i,descriptionsItemLabelColonMarginLeft:o,descriptionsTitleMarginBottom:a}=e;return{[t]:_(_(_({},st(e)),h3e(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:a},[`${t}-title`]:_(_({},Hn),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:r},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${o}px ${i}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},p3e=it("Descriptions",e=>{const t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,r=e.colorText,i=`${e.paddingXS}px ${e.padding}px`,o=`${e.padding}px ${e.paddingLG}px`,a=`${e.paddingSM}px ${e.paddingLG}px`,l=e.padding,s=e.marginXS,u=e.marginXXS/2,c=Ue(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:r,descriptionItemPaddingBottom:l,descriptionsSmallPadding:i,descriptionsDefaultPadding:o,descriptionsMiddlePadding:a,descriptionsItemLabelColonMarginRight:s,descriptionsItemLabelColonMarginLeft:u});return[v3e(c)]});U.any;const g3e=()=>({prefixCls:String,label:U.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}),XZ=se({compatConfig:{MODE:3},name:"ADescriptionsItem",props:g3e(),setup(e,t){let{slots:n}=t;return()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),YZ={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function m3e(e,t){if(typeof e=="number")return e;if(typeof e=="object")for(let n=0;nt)&&(r=Nt(e,{span:t}),vn()),r}function y3e(e,t){const n=Jt(e),r=[];let i=[],o=t;return n.forEach((a,l)=>{var s;const u=(s=a.props)===null||s===void 0?void 0:s.span,c=u||1;if(l===n.length-1){i.push(vk(a,o,u)),r.push(i);return}c({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:"default"},title:U.any,extra:U.any,column:{type:[Number,Object],default:()=>YZ},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),qZ=Symbol("descriptionsContext"),Lf=se({compatConfig:{MODE:3},name:"ADescriptions",inheritAttrs:!1,props:b3e(),slots:Object,Item:XZ,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("descriptions",e);let a;const l=ue({}),[s,u]=p3e(i),c=RD();Vx(()=>{a=c.value.subscribe(f=>{typeof e.column=="object"&&(l.value=f)})}),ht(()=>{c.value.unsubscribe(a)}),at(qZ,{labelStyle:qe(e,"labelStyle"),contentStyle:qe(e,"contentStyle")});const d=L(()=>m3e(e.column,l.value));return()=>{var f,h,v;const{size:p,bordered:g=!1,layout:m="horizontal",colon:y=!0,title:b=(f=n.title)===null||f===void 0?void 0:f.call(n),extra:S=(h=n.extra)===null||h===void 0?void 0:h.call(n)}=e,x=(v=n.default)===null||v===void 0?void 0:v.call(n),$=y3e(x,d.value);return s(w("div",z(z({},r),{},{class:[i.value,{[`${i.value}-${p}`]:p!=="default",[`${i.value}-bordered`]:!!g,[`${i.value}-rtl`]:o.value==="rtl"},r.class,u.value]}),[(b||S)&&w("div",{class:`${i.value}-header`},[b&&w("div",{class:`${i.value}-title`},[b]),S&&w("div",{class:`${i.value}-extra`},[S])]),w("div",{class:`${i.value}-view`},[w("table",null,[w("tbody",null,[$.map((C,T)=>w(f3e,{key:T,index:T,colon:y,prefixCls:i.value,vertical:m==="vertical",bordered:g,row:C},null))])])])]))}}});Lf.install=function(e){return e.component(Lf.name,Lf),e.component(Lf.Item.name,Lf.Item),e};const S3e=Lf,x3e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i}=e;return{[t]:_(_({},st(e)),{borderBlockStart:`${i}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${i}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${i}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${i}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},w3e=it("Divider",e=>{const t=Ue(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[x3e(t)]},{sizePaddingEdgeHorizontal:0}),C3e=()=>({prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1},orientationMargin:[String,Number]}),$3e=se({name:"ADivider",inheritAttrs:!1,compatConfig:{MODE:3},props:C3e(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("divider",e),[a,l]=w3e(i),s=L(()=>e.orientation==="left"&&e.orientationMargin!=null),u=L(()=>e.orientation==="right"&&e.orientationMargin!=null),c=L(()=>{const{type:h,dashed:v,plain:p}=e,g=i.value;return{[g]:!0,[l.value]:!!l.value,[`${g}-${h}`]:!0,[`${g}-dashed`]:!!v,[`${g}-plain`]:!!p,[`${g}-rtl`]:o.value==="rtl",[`${g}-no-default-orientation-margin-left`]:s.value,[`${g}-no-default-orientation-margin-right`]:u.value}}),d=L(()=>{const h=typeof e.orientationMargin=="number"?`${e.orientationMargin}px`:e.orientationMargin;return _(_({},s.value&&{marginLeft:h}),u.value&&{marginRight:h})}),f=L(()=>e.orientation.length>0?"-"+e.orientation:e.orientation);return()=>{var h;const v=Jt((h=n.default)===null||h===void 0?void 0:h.call(n));return a(w("div",z(z({},r),{},{class:[c.value,v.length?`${i.value}-with-text ${i.value}-with-text${f.value}`:"",r.class],role:"separator"}),[v.length?w("span",{class:`${i.value}-inner-text`,style:d.value},[v]):null]))}}}),_3e=gn($3e);Ua.Button=Gg;Ua.install=function(e){return e.component(Ua.name,Ua),e.component(Gg.name,Gg),e};const ZZ=()=>({prefixCls:String,width:U.oneOfType([U.string,U.number]),height:U.oneOfType([U.string,U.number]),style:{type:Object,default:void 0},class:String,rootClassName:String,rootStyle:He(),placement:{type:String},wrapperClassName:String,level:{type:[String,Array]},levelMove:{type:[Number,Function,Array]},duration:String,ease:String,showMask:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},maskStyle:{type:Object,default:void 0},afterVisibleChange:Function,keyboard:{type:Boolean,default:void 0},contentWrapperStyle:Ot(),autofocus:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},motion:be(),maskMotion:He()}),T3e=()=>_(_({},ZZ()),{forceRender:{type:Boolean,default:void 0},getContainer:U.oneOfType([U.string,U.func,U.object,U.looseBool])}),I3e=()=>_(_({},ZZ()),{getContainer:Function,getOpenCount:Function,scrollLocker:U.any,inline:Boolean});function P3e(e){return Array.isArray(e)?e:[e]}const M3e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(M3e).filter(e=>{if(typeof document=="undefined")return!1;const t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})})[0];const A3e=!(typeof window!="undefined"&&window.document&&window.document.createElement);var O3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{_t(()=>{var m;const{open:y,getContainer:b,showMask:S,autofocus:x}=e,$=b==null?void 0:b();v(e),y&&($&&($.parentNode,document.body),_t(()=>{x&&c()}),S&&((m=e.scrollLocker)===null||m===void 0||m.lock()))})}),Se(()=>e.level,()=>{v(e)},{flush:"post"}),Se(()=>e.open,()=>{const{open:m,getContainer:y,scrollLocker:b,showMask:S,autofocus:x}=e,$=y==null?void 0:y();$&&($.parentNode,document.body),m?(x&&c(),S&&(b==null||b.lock())):b==null||b.unLock()},{flush:"post"}),Jr(()=>{var m;const{open:y}=e;y&&(document.body.style.touchAction=""),(m=e.scrollLocker)===null||m===void 0||m.unLock()}),Se(()=>e.placement,m=>{m&&(s.value=null)});const c=()=>{var m,y;(y=(m=o.value)===null||m===void 0?void 0:m.focus)===null||y===void 0||y.call(m)},d=m=>{n("close",m)},f=m=>{m.keyCode===Pe.ESC&&(m.stopPropagation(),d(m))},h=()=>{const{open:m,afterVisibleChange:y}=e;y&&y(!!m)},v=m=>{let{level:y,getContainer:b}=m;if(A3e)return;const S=b==null?void 0:b(),x=S?S.parentNode:null;u=[],y==="all"?(x?Array.prototype.slice.call(x.children):[]).forEach(C=>{C.nodeName!=="SCRIPT"&&C.nodeName!=="STYLE"&&C.nodeName!=="LINK"&&C!==S&&u.push(C)}):y&&P3e(y).forEach($=>{document.querySelectorAll($).forEach(C=>{u.push(C)})})},p=m=>{n("handleClick",m)},g=ae(!1);return Se(o,()=>{_t(()=>{g.value=!0})}),()=>{var m,y;const{width:b,height:S,open:x,prefixCls:$,placement:C,level:T,levelMove:I,ease:P,duration:M,getContainer:O,onChange:D,afterVisibleChange:R,showMask:A,maskClosable:E,maskStyle:k,keyboard:N,getOpenCount:B,scrollLocker:F,contentWrapperStyle:H,style:V,class:X,rootClassName:Q,rootStyle:K,maskMotion:te,motion:q,inline:ee}=e,J=O3e(e,["width","height","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","keyboard","getOpenCount","scrollLocker","contentWrapperStyle","style","class","rootClassName","rootStyle","maskMotion","motion","inline"]),G=x&&g.value,Y=ce($,{[`${$}-${C}`]:!0,[`${$}-open`]:G,[`${$}-inline`]:ee,"no-mask":!A,[Q]:!0}),oe=typeof q=="function"?q(C):q;return w("div",z(z({},yt(J,["autofocus"])),{},{tabindex:-1,class:Y,style:K,ref:o,onKeydown:G&&N?f:void 0}),[w(dr,te,{default:()=>[A&&Ur(w("div",{class:`${$}-mask`,onClick:E?d:void 0,style:k,ref:a},null),[[hi,G]])]}),w(dr,z(z({},oe),{},{onAfterEnter:h,onAfterLeave:h}),{default:()=>[Ur(w("div",{class:`${$}-content-wrapper`,style:[H],ref:i},[w("div",{class:[`${$}-content`,X],style:V,ref:s},[(m=r.default)===null||m===void 0?void 0:m.call(r)]),r.handler?w("div",{onClick:p,ref:l},[(y=r.handler)===null||y===void 0?void 0:y.call(r)]):null]),[[hi,G]])]})])}}}),pk=D3e;var gk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{},showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",keyboard:!0,forceRender:!1,autofocus:!0}),emits:["handleClick","close"],setup(e,t){let{emit:n,slots:r}=t;const i=ue(null),o=l=>{n("handleClick",l)},a=l=>{n("close",l)};return()=>{const{getContainer:l,wrapperClassName:s,rootClassName:u,rootStyle:c,forceRender:d}=e,f=gk(e,["getContainer","wrapperClassName","rootClassName","rootStyle","forceRender"]);let h=null;if(!l)return w(pk,z(z({},f),{},{rootClassName:u,rootStyle:c,open:e.open,onClose:a,onHandleClick:o,inline:!0}),r);const v=!!r.handler||d;return(v||e.open||i.value)&&(h=w(Fm,{autoLock:!0,visible:e.open,forceRender:v,getContainer:l,wrapperClassName:s},{default:p=>{var{visible:g,afterClose:m}=p,y=gk(p,["visible","afterClose"]);return w(pk,z(z(z({ref:i},f),y),{},{rootClassName:u,rootStyle:c,open:g!==void 0?g:e.open,afterVisibleChange:m!==void 0?m:e.afterVisibleChange,onClose:a,onHandleClick:o}),r)}})),h}}}),R3e=E3e,L3e=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},N3e=L3e,k3e=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:a,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:c,lineWidth:d,lineType:f,colorSplit:h,marginSM:v,colorIcon:p,colorIconHover:g,colorText:m,fontWeightStrong:y,drawerFooterPaddingVertical:b,drawerFooterPaddingHorizontal:S}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${l}px ${s}px`,fontSize:u,lineHeight:c,borderBottom:`${d}px ${f} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:v,color:p,fontWeight:y,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:g,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:m,fontWeight:e.fontWeightStrong,fontSize:u,lineHeight:c},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${b}px ${S}px`,borderTop:`${d}px ${f} ${h}`},"&-rtl":{direction:"rtl"}}}},B3e=it("Drawer",e=>{const t=Ue(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[k3e(t),N3e(t)]},e=>({zIndexPopup:e.zIndexPopupBase}));var F3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({autofocus:{type:Boolean,default:void 0},closable:{type:Boolean,default:void 0},closeIcon:U.any,destroyOnClose:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},getContainer:{type:[String,Function,Boolean,Object],default:void 0},maskClosable:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},maskStyle:He(),rootClassName:String,rootStyle:He(),size:{type:String},drawerStyle:He(),headerStyle:He(),bodyStyle:He(),contentWrapperStyle:{type:Object,default:void 0},title:U.any,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},width:U.oneOfType([U.string,U.number]),height:U.oneOfType([U.string,U.number]),zIndex:Number,prefixCls:String,push:U.oneOfType([U.looseBool,{type:Object}]),placement:U.oneOf(z3e),keyboard:{type:Boolean,default:void 0},extra:U.any,footer:U.any,footerStyle:He(),level:U.any,levelMove:{type:[Number,Array,Function]},handle:U.any,afterVisibleChange:Function,onAfterVisibleChange:Function,onAfterOpenChange:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onClose:Function}),V3e=se({compatConfig:{MODE:3},name:"ADrawer",inheritAttrs:!1,props:ft(H3e(),{closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:mk}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const o=ae(!1),a=ae(!1),l=ae(null),s=ae(!1),u=ae(!1),c=L(()=>{var B;return(B=e.open)!==null&&B!==void 0?B:e.visible});Se(c,()=>{c.value?s.value=!0:u.value=!1},{immediate:!0}),Se([c,s],()=>{c.value&&s.value&&(u.value=!0)},{immediate:!0});const d=Je("parentDrawerOpts",null),{prefixCls:f,getPopupContainer:h,direction:v}=Ee("drawer",e),[p,g]=B3e(f),m=L(()=>e.getContainer===void 0&&(h!=null&&h.value)?()=>h.value(document.body):e.getContainer);on(!e.afterVisibleChange,"Drawer","`afterVisibleChange` prop is deprecated, please use `@afterVisibleChange` event instead"),at("parentDrawerOpts",{setPush:()=>{o.value=!0},setPull:()=>{o.value=!1,_t(()=>{S()})}}),tt(()=>{c.value&&d&&d.setPush()}),Jr(()=>{d&&d.setPull()}),Se(u,()=>{d&&(u.value?d.setPush():d.setPull())},{flush:"post"});const S=()=>{var B,F;(F=(B=l.value)===null||B===void 0?void 0:B.domFocus)===null||F===void 0||F.call(B)},x=B=>{n("update:visible",!1),n("update:open",!1),n("close",B)},$=B=>{var F;B||(a.value===!1&&(a.value=!0),e.destroyOnClose&&(s.value=!1)),(F=e.afterVisibleChange)===null||F===void 0||F.call(e,B),n("afterVisibleChange",B),n("afterOpenChange",B)},C=L(()=>{const{push:B,placement:F}=e;let H;return typeof B=="boolean"?H=B?mk.distance:0:H=B.distance,H=parseFloat(String(H||0)),F==="left"||F==="right"?`translateX(${F==="left"?H:-H}px)`:F==="top"||F==="bottom"?`translateY(${F==="top"?H:-H}px)`:null}),T=L(()=>{var B;return(B=e.width)!==null&&B!==void 0?B:e.size==="large"?736:378}),I=L(()=>{var B;return(B=e.height)!==null&&B!==void 0?B:e.size==="large"?736:378}),P=L(()=>{const{mask:B,placement:F}=e;if(!u.value&&!B)return{};const H={};return F==="left"||F==="right"?H.width=uS(T.value)?`${T.value}px`:T.value:H.height=uS(I.value)?`${I.value}px`:I.value,H}),M=L(()=>{const{zIndex:B,contentWrapperStyle:F}=e,H=P.value;return[{zIndex:B,transform:o.value?C.value:void 0},_({},F),H]}),O=B=>{const{closable:F,headerStyle:H}=e,V=Un(r,e,"extra"),X=Un(r,e,"title");return!X&&!F?null:w("div",{class:ce(`${B}-header`,{[`${B}-header-close-only`]:F&&!X&&!V}),style:H},[w("div",{class:`${B}-header-title`},[D(B),X&&w("div",{class:`${B}-title`},[X])]),V&&w("div",{class:`${B}-extra`},[V])])},D=B=>{var F;const{closable:H}=e,V=r.closeIcon?(F=r.closeIcon)===null||F===void 0?void 0:F.call(r):e.closeIcon;return H&&w("button",{key:"closer",onClick:x,"aria-label":"Close",class:`${B}-close`},[V===void 0?w(Ri,null,null):V])},R=B=>{var F;if(a.value&&!e.forceRender&&!s.value)return null;const{bodyStyle:H,drawerStyle:V}=e;return w("div",{class:`${B}-wrapper-body`,style:V},[O(B),w("div",{key:"body",class:`${B}-body`,style:H},[(F=r.default)===null||F===void 0?void 0:F.call(r)]),A(B)])},A=B=>{const F=Un(r,e,"footer");if(!F)return null;const H=`${B}-footer`;return w("div",{class:H,style:e.footerStyle},[F])},E=L(()=>ce({"no-mask":!e.mask,[`${f.value}-rtl`]:v.value==="rtl"},e.rootClassName,g.value)),k=L(()=>Eo(Yr(f.value,"mask-motion"))),N=B=>Eo(Yr(f.value,`panel-motion-${B}`));return()=>{const{width:B,height:F,placement:H,mask:V,forceRender:X}=e,Q=F3e(e,["width","height","placement","mask","forceRender"]),K=_(_(_({},i),yt(Q,["size","closeIcon","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","title","push","onAfterVisibleChange","onClose","onUpdate:visible","onUpdate:open","visible"])),{forceRender:X,onClose:x,afterVisibleChange:$,handler:!1,prefixCls:f.value,open:u.value,showMask:V,placement:H,ref:l});return p(w(jg,null,{default:()=>[w(R3e,z(z({},K),{},{maskMotion:k.value,motion:N,width:T.value,height:I.value,getContainer:m.value,rootClassName:E.value,rootStyle:e.rootStyle,contentWrapperStyle:M.value}),{handler:e.handle?()=>e.handle:r.handle,default:()=>R(f.value)})]}))}}}),W3e=gn(V3e);var j3e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const G3e=j3e;function yk(e){for(var t=1;t({prefixCls:String,description:U.any,type:je("default"),shape:je("circle"),tooltip:U.any,href:String,target:String,badge:He(),onClick:be()}),U3e=()=>({prefixCls:je()}),X3e=()=>_(_({},UE()),{trigger:je(),open:$e(),onOpenChange:be(),"onUpdate:open":be()}),Y3e=()=>_(_({},UE()),{prefixCls:String,duration:Number,target:be(),visibilityHeight:Number,onClick:be()}),q3e=se({compatConfig:{MODE:3},name:"AFloatButtonContent",inheritAttrs:!1,props:U3e(),setup(e,t){let{attrs:n,slots:r}=t;return()=>{var i;const{prefixCls:o}=e,a=xn((i=r.description)===null||i===void 0?void 0:i.call(r));return w("div",z(z({},n),{},{class:[n.class,`${o}-content`]}),[r.icon||a.length?w(Qe,null,[r.icon&&w("div",{class:`${o}-icon`},[r.icon()]),a.length?w("div",{class:`${o}-description`},[a]):null]):w("div",{class:`${o}-icon`},[w(QZ,null,null)])])}}}),Z3e=q3e,JZ=Symbol("floatButtonGroupContext"),Q3e=e=>(at(JZ,e),e),eQ=()=>Je(JZ,{shape:ue()}),J3e=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2),bk=J3e,e4e=e=>{const{componentCls:t,floatButtonSize:n,motionDurationSlow:r,motionEaseInOutCirc:i}=e,o=`${t}-group`,a=new xt("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new xt("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${n}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${o}-wrap`]:_({},Wm(`${o}-wrap`,a,l,r,!0))},{[`${o}-wrap`]:{[` &${o}-wrap-enter, &${o}-wrap-appear - `]:{opacity:0,animationTimingFunction:i},[`&${o}-wrap-leave`]:{animationTimingFunction:i}}}]},e4e=e=>{const{antCls:t,componentCls:n,floatButtonSize:r,margin:i,borderRadiusLG:o,borderRadiusSM:a,badgeOffset:l,floatButtonBodyPadding:s}=e,u=`${n}-group`;return{[u]:_(_({},st(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:o,[`${u}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:i},[`&${u}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${u}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${u}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:-(s+l),insetInlineEnd:-(s+l)}}},[`${u}-wrap`]:{display:"block",borderRadius:o,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:s,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${u}-circle-shadow`]:{boxShadow:"none"},[`${u}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:s,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},t4e=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:i,floatButtonSize:o,borderRadiusLG:a,badgeOffset:l,dotOffsetInSquare:s,dotOffsetInCircle:u}=e;return{[n]:_(_({},st(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:o,height:o,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-l,insetInlineEnd:-l}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:o,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${r/2}px ${r}px`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:i,fontSize:i,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:o,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:u,insetInlineEnd:u}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:o,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:s,insetInlineEnd:s}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},XE=it("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:i,marginLG:o,fontSize:a,fontSizeIcon:l,controlItemBgHover:s,paddingXXS:u,borderRadiusLG:c}=e,d=Ue(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:s,floatButtonFontSize:a,floatButtonIconSize:l*1.5,floatButtonSize:r,floatButtonInsetBlockEnd:i,floatButtonInsetInlineEnd:o,floatButtonBodySize:r-u*2,floatButtonBodyPadding:u,badgeOffset:u*1.5,dotOffsetInCircle:bk(r/2),dotOffsetInSquare:bk(c)});return[e4e(d),t4e(d),wD(e),J3e(d)]});var n4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(s==null?void 0:s.value)||e.shape);return()=>{var d;const{prefixCls:f,type:h="default",shape:v="circle",description:p=(d=r.description)===null||d===void 0?void 0:d.call(r),tooltip:g,badge:m={}}=e,y=n4e(e,["prefixCls","type","shape","description","tooltip","badge"]),b=ce(i.value,`${i.value}-${h}`,`${i.value}-${c.value}`,{[`${i.value}-rtl`]:o.value==="rtl"},n.class,l.value),S=w(Pi,{placement:"left"},{title:r.tooltip||g?()=>r.tooltip&&r.tooltip()||g:void 0,default:()=>w(Zp,m,{default:()=>[w("div",{class:`${i.value}-body`},[w(q3e,{prefixCls:i.value},{icon:r.icon,description:()=>p})])]})});return a(e.href?w("a",z(z(z({ref:u},n),y),{},{class:b}),[S]):w("button",z(z(z({ref:u},n),y),{},{class:b,type:"button"}),[S]))}}}),ou=r4e,i4e=se({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:ft(U3e(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee(YE,e),[l,s]=XE(o),[u,c]=dn(!1,{value:L(()=>e.open)}),d=ue(null),f=ue(null);Z3e({shape:L(()=>e.shape)});const h={onMouseenter(){var m;c(!0),i("update:open",!0),(m=e.onOpenChange)===null||m===void 0||m.call(e,!0)},onMouseleave(){var m;c(!1),i("update:open",!1),(m=e.onOpenChange)===null||m===void 0||m.call(e,!1)}},v=L(()=>e.trigger==="hover"?h:{}),p=()=>{var m;const y=!u.value;i("update:open",y),(m=e.onOpenChange)===null||m===void 0||m.call(e,y),c(y)},g=m=>{var y,b,S;if(!((y=d.value)===null||y===void 0)&&y.contains(m.target)){!((b=ci(f.value))===null||b===void 0)&&b.contains(m.target)&&p();return}c(!1),i("update:open",!1),(S=e.onOpenChange)===null||S===void 0||S.call(e,!1)};return Se(L(()=>e.trigger),m=>{Xr()&&(document.removeEventListener("click",g),m==="click"&&document.addEventListener("click",g))},{immediate:!0}),ht(()=>{document.removeEventListener("click",g)}),()=>{var m;const{shape:y="circle",type:b="default",tooltip:S,description:x,trigger:$}=e,C=`${o.value}-group`,T=ce(C,s.value,n.class,{[`${C}-rtl`]:a.value==="rtl",[`${C}-${y}`]:y,[`${C}-${y}-shadow`]:!$}),I=ce(s.value,`${C}-wrap`),P=Do(`${C}-wrap`);return l(w("div",z(z({ref:d},n),{},{class:T},v.value),[$&&["click","hover"].includes($)?w(Qe,null,[w(dr,P,{default:()=>[Ur(w("div",{class:I},[r.default&&r.default()]),[[hi,u.value]])]}),w(ou,{ref:f,type:b,shape:y,tooltip:S,description:x},{icon:()=>{var M,O;return u.value?((M=r.closeIcon)===null||M===void 0?void 0:M.call(r))||w(Ei,null,null):((O=r.icon)===null||O===void 0?void 0:O.call(r))||w(QZ,null,null)},tooltip:r.tooltip,description:r.description})]):(m=r.default)===null||m===void 0?void 0:m.call(r)]))}}}),MS=i4e;var o4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const a4e=o4e;function Sk(e){for(var t=1;twindow,duration:450,type:"default",shape:"circle"}),setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee(YE,e),[l]=XE(o),s=ue(),u=Bt({visible:e.visibilityHeight===0,scrollEvent:null}),c=()=>s.value&&s.value.ownerDocument?s.value.ownerDocument:window,d=g=>{const{target:m=c,duration:y}=e;IO(0,{getContainer:m,duration:y}),i("click",g)},f=PI(g=>{const{visibilityHeight:m}=e,y=TO(g.target,!0);u.visible=y>=m}),h=()=>{const{target:g}=e,y=(g||c)();f({target:y}),y==null||y.addEventListener("scroll",f)},v=()=>{const{target:g}=e,y=(g||c)();f.cancel(),y==null||y.removeEventListener("scroll",f)};Se(()=>e.target,()=>{v(),_t(()=>{h()})}),tt(()=>{_t(()=>{h()})}),zx(()=>{_t(()=>{h()})}),bG(()=>{v()}),ht(()=>{v()});const p=eQ();return()=>{const{description:g,type:m,shape:y,tooltip:b,badge:S}=e,x=_(_({},r),{shape:(p==null?void 0:p.shape.value)||y,onClick:d,class:{[`${o.value}`]:!0,[`${r.class}`]:r.class,[`${o.value}-rtl`]:a.value==="rtl"},description:g,type:m,tooltip:b,badge:S}),$=Do("fade");return l(w(dr,$,{default:()=>[Ur(w(ou,z(z({},x),{},{ref:s}),{icon:()=>{var C;return((C=n.icon)===null||C===void 0?void 0:C.call(n))||w(s4e,null,null)}}),[[hi,u.visible]])]}))}}}),AS=u4e;ou.Group=MS;ou.BackTop=AS;ou.install=function(e){return e.component(ou.name,ou),e.component(MS.name,MS),e.component(AS.name,AS),e};const ig=e=>e!=null&&(Array.isArray(e)?xn(e).length:!0);function ZE(e){return ig(e.prefix)||ig(e.suffix)||ig(e.allowClear)}function Wb(e){return ig(e.addonBefore)||ig(e.addonAfter)}function MP(e){return typeof e=="undefined"||e===null?"":String(e)}function og(e,t,n,r){if(!n)return;const i=t;if(t.type==="click"){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0});const o=e.cloneNode(!0);i.target=o,i.currentTarget=o,o.value="",n(i);return}if(r!==void 0){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0}),i.target=e,i.currentTarget=e,e.value=r,n(i);return}n(i)}function tQ(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const c4e=()=>({addonBefore:U.any,addonAfter:U.any,prefix:U.any,suffix:U.any,clearIcon:U.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),nQ=()=>_(_({},c4e()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:U.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),rQ=()=>_(_({},nQ()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:je("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),d4e=se({name:"BaseInput",inheritAttrs:!1,props:nQ(),setup(e,t){let{slots:n,attrs:r}=t;const i=ue(),o=l=>{var s;if(!((s=i.value)===null||s===void 0)&&s.contains(l.target)){const{triggerFocus:u}=e;u==null||u()}},a=()=>{var l;const{allowClear:s,value:u,disabled:c,readonly:d,handleReset:f,suffix:h=n.suffix,prefixCls:v}=e;if(!s)return null;const p=!c&&!d&&u,g=`${v}-clear-icon`,m=((l=n.clearIcon)===null||l===void 0?void 0:l.call(n))||"*";return w("span",{onClick:f,onMousedown:y=>y.preventDefault(),class:ce({[`${g}-hidden`]:!p,[`${g}-has-suffix`]:!!h},g),role:"button",tabindex:-1},[m])};return()=>{var l,s;const{focused:u,value:c,disabled:d,allowClear:f,readonly:h,hidden:v,prefixCls:p,prefix:g=(l=n.prefix)===null||l===void 0?void 0:l.call(n),suffix:m=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:y=n.addonAfter,addonBefore:b=n.addonBefore,inputElement:S,affixWrapperClassName:x,wrapperClassName:$,groupClassName:C}=e;let T=Nt(S,{value:c,hidden:v});if(ZE({prefix:g,suffix:m,allowClear:f})){const I=`${p}-affix-wrapper`,P=ce(I,{[`${I}-disabled`]:d,[`${I}-focused`]:u,[`${I}-readonly`]:h,[`${I}-input-with-clear-btn`]:m&&f&&c},!Wb({addonAfter:y,addonBefore:b})&&r.class,x),M=(m||f)&&w("span",{class:`${p}-suffix`},[a(),m]);T=w("span",{class:P,style:r.style,hidden:!Wb({addonAfter:y,addonBefore:b})&&v,onMousedown:o,ref:i},[g&&w("span",{class:`${p}-prefix`},[g]),Nt(S,{style:null,value:c,hidden:null}),M])}if(Wb({addonAfter:y,addonBefore:b})){const I=`${p}-group`,P=`${I}-addon`,M=ce(`${p}-wrapper`,I,$),O=ce(`${p}-group-wrapper`,r.class,C);return w("span",{class:O,style:r.style,hidden:v},[w("span",{class:M},[b&&w("span",{class:P},[b]),Nt(T,{style:null,hidden:null}),y&&w("span",{class:P},[y])])])}return T}}});var f4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.value,()=>{a.value=e.value}),Se(()=>e.disabled,()=>{e.disabled&&(l.value=!1)});const c=C=>{s.value&&tQ(s.value.input,C)},d=()=>{var C;(C=s.value.input)===null||C===void 0||C.blur()},f=(C,T,I)=>{var P;(P=s.value.input)===null||P===void 0||P.setSelectionRange(C,T,I)},h=()=>{var C;(C=s.value.input)===null||C===void 0||C.select()};i({focus:c,blur:d,input:L(()=>{var C;return(C=s.value.input)===null||C===void 0?void 0:C.input}),stateValue:a,setSelectionRange:f,select:h});const v=C=>{o("change",C)},p=(C,T)=>{a.value!==C&&(e.value===void 0?a.value=C:_t(()=>{var I;s.value.input.value!==a.value&&((I=u.value)===null||I===void 0||I.$forceUpdate())}),_t(()=>{T&&T()}))},g=C=>{const{value:T}=C.target;if(a.value===T)return;const I=C.target.value;og(s.value.input,C,v),p(I)},m=C=>{C.keyCode===13&&o("pressEnter",C),o("keydown",C)},y=C=>{l.value=!0,o("focus",C)},b=C=>{l.value=!1,o("blur",C)},S=C=>{og(s.value.input,C,v),p("",()=>{c()})},x=()=>{var C,T;const{addonBefore:I=n.addonBefore,addonAfter:P=n.addonAfter,disabled:M,valueModifiers:O={},htmlSize:D,autocomplete:R,prefixCls:A,inputClassName:E,prefix:k=(C=n.prefix)===null||C===void 0?void 0:C.call(n),suffix:N=(T=n.suffix)===null||T===void 0?void 0:T.call(n),allowClear:B,type:F="text"}=e,H=yt(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),V=_(_(_({},H),r),{autocomplete:R,onChange:g,onInput:g,onFocus:y,onBlur:b,onKeydown:m,class:ce(A,{[`${A}-disabled`]:M},E,!Wb({addonAfter:P,addonBefore:I})&&!ZE({prefix:k,suffix:N,allowClear:B})&&r.class),ref:s,key:"ant-input",size:D,type:F,lazy:e.lazy});return O.lazy&&delete V.onInput,V.autofocus||delete V.autofocus,w(ev,yt(V,["size"]),null)},$=()=>{var C;const{maxlength:T,suffix:I=(C=n.suffix)===null||C===void 0?void 0:C.call(n),showCount:P,prefixCls:M}=e,O=Number(T)>0;if(I||P){const D=[...MP(a.value)].length,R=typeof P=="object"?P.formatter({count:D,maxlength:T}):`${D}${O?` / ${T}`:""}`;return w(Qe,null,[!!P&&w("span",{class:ce(`${M}-show-count-suffix`,{[`${M}-show-count-has-suffix`]:!!I})},[R]),I])}return null};return tt(()=>{}),()=>{const{prefixCls:C,disabled:T}=e,I=f4e(e,["prefixCls","disabled"]);return w(d4e,z(z(z({},I),r),{},{ref:u,prefixCls:C,inputElement:x(),handleReset:S,value:MP(a.value),focused:l.value,triggerFocus:c,suffix:$(),disabled:T}),n)}}}),iQ=()=>yt(rQ(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),QE=iQ,oQ=()=>_(_({},yt(iQ(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:fd(),onCompositionend:fd(),valueModifiers:Object});var v4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iha(s.status,e.status)),{direction:c,prefixCls:d,size:f,autocomplete:h}=Ee("input",e),{compactSize:v,compactItemClassnames:p}=Au(d,c),g=L(()=>v.value||f.value),[m,y]=SE(d),b=Mi();i({focus:D=>{var R;(R=a.value)===null||R===void 0||R.focus(D)},blur:()=>{var D;(D=a.value)===null||D===void 0||D.blur()},input:a,setSelectionRange:(D,R,A)=>{var E;(E=a.value)===null||E===void 0||E.setSelectionRange(D,R,A)},select:()=>{var D;(D=a.value)===null||D===void 0||D.select()}});const T=ue([]),I=()=>{T.value.push(setTimeout(()=>{var D,R,A,E;!((D=a.value)===null||D===void 0)&&D.input&&((R=a.value)===null||R===void 0?void 0:R.input.getAttribute("type"))==="password"&&(!((A=a.value)===null||A===void 0)&&A.input.hasAttribute("value"))&&((E=a.value)===null||E===void 0||E.input.removeAttribute("value"))}))};tt(()=>{I()}),Wx(()=>{T.value.forEach(D=>clearTimeout(D))}),ht(()=>{T.value.forEach(D=>clearTimeout(D))});const P=D=>{I(),o("blur",D),l.onFieldBlur()},M=D=>{I(),o("focus",D)},O=D=>{o("update:value",D.target.value),o("change",D),o("input",D),l.onFieldChange()};return()=>{var D,R,A,E,k,N;const{hasFeedback:B,feedbackIcon:F}=s,{allowClear:H,bordered:V=!0,prefix:X=(D=n.prefix)===null||D===void 0?void 0:D.call(n),suffix:Q=(R=n.suffix)===null||R===void 0?void 0:R.call(n),addonAfter:K=(A=n.addonAfter)===null||A===void 0?void 0:A.call(n),addonBefore:te=(E=n.addonBefore)===null||E===void 0?void 0:E.call(n),id:q=(k=l.id)===null||k===void 0?void 0:k.value}=e,ee=v4e(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),J=(B||Q)&&w(Qe,null,[Q,B&&F]),G=d.value,Y=ZE({prefix:X,suffix:Q})||!!B,oe=n.clearIcon||(()=>w(Ri,null,null));return m(w(h4e,z(z(z({},r),yt(ee,["onUpdate:value","onChange","onInput"])),{},{onChange:O,id:q,disabled:(N=e.disabled)!==null&&N!==void 0?N:b.value,ref:a,prefixCls:G,autocomplete:h.value,onBlur:P,onFocus:M,prefix:X,suffix:J,allowClear:H,addonAfter:K&&w(Wg,null,{default:()=>[w(rS,null,{default:()=>[K]})]}),addonBefore:te&&w(Wg,null,{default:()=>[w(rS,null,{default:()=>[te]})]}),class:[r.class,p.value],inputClassName:ce({[`${G}-sm`]:g.value==="small",[`${G}-lg`]:g.value==="large",[`${G}-rtl`]:c.value==="rtl",[`${G}-borderless`]:!V},!Y&&Kr(G,u.value),y.value),affixWrapperClassName:ce({[`${G}-affix-wrapper-sm`]:g.value==="small",[`${G}-affix-wrapper-lg`]:g.value==="large",[`${G}-affix-wrapper-rtl`]:c.value==="rtl",[`${G}-affix-wrapper-borderless`]:!V},Kr(`${G}-affix-wrapper`,u.value,B),y.value),wrapperClassName:ce({[`${G}-group-rtl`]:c.value==="rtl"},y.value),groupClassName:ce({[`${G}-group-wrapper-sm`]:g.value==="small",[`${G}-group-wrapper-lg`]:g.value==="large",[`${G}-group-wrapper-rtl`]:c.value==="rtl"},Kr(`${G}-group-wrapper`,u.value,B),y.value)}),_(_({},n),{clearIcon:oe})))}}}),aQ=se({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o,getPrefixCls:a}=Ee("input-group",e),l=fr.useInject();fr.useProvide(l,{isFormItemInput:!1});const s=L(()=>a("input")),[u,c]=SE(s),d=L(()=>{const f=i.value;return{[`${f}`]:!0,[c.value]:!0,[`${f}-lg`]:e.size==="large",[`${f}-sm`]:e.size==="small",[`${f}-compact`]:e.compact,[`${f}-rtl`]:o.value==="rtl"}});return()=>{var f;return u(w("span",z(z({},r),{},{class:ce(d.value,r.class)}),[(f=n.default)===null||f===void 0?void 0:f.call(n)]))}}});var p4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var x;(x=a.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=a.value)===null||x===void 0||x.blur()}});const c=x=>{o("update:value",x.target.value),x&&x.target&&x.type==="click"&&o("search",x.target.value,x),o("change",x)},d=x=>{var $;document.activeElement===(($=a.value)===null||$===void 0?void 0:$.input)&&x.preventDefault()},f=x=>{var $,C;o("search",(C=($=a.value)===null||$===void 0?void 0:$.input)===null||C===void 0?void 0:C.stateValue,x)},h=x=>{l.value||e.loading||f(x)},v=x=>{l.value=!0,o("compositionstart",x)},p=x=>{l.value=!1,o("compositionend",x)},{prefixCls:g,getPrefixCls:m,direction:y,size:b}=Ee("input-search",e),S=L(()=>m("input",e.inputPrefixCls));return()=>{var x,$,C,T;const{disabled:I,loading:P,addonAfter:M=(x=n.addonAfter)===null||x===void 0?void 0:x.call(n),suffix:O=($=n.suffix)===null||$===void 0?void 0:$.call(n)}=e,D=p4e(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:R=(T=(C=n.enterButton)===null||C===void 0?void 0:C.call(n))!==null&&T!==void 0?T:!1}=e;R=R||R==="";const A=typeof R=="boolean"?w(xw,null,null):null,E=`${g.value}-button`,k=Array.isArray(R)?R[0]:R;let N;const B=k.type&&yD(k.type)&&k.type.__ANT_BUTTON;if(B||k.tagName==="button")N=Nt(k,_({onMousedown:d,onClick:f,key:"enterButton"},B?{class:E,size:b.value}:{}),!1);else{const H=A&&!R;N=w(An,{class:E,type:R?"primary":void 0,size:b.value,disabled:I,key:"enterButton",onMousedown:d,onClick:f,loading:P,icon:H?A:null},{default:()=>[H?null:A||R]})}M&&(N=[N,M]);const F=ce(g.value,{[`${g.value}-rtl`]:y.value==="rtl",[`${g.value}-${b.value}`]:!!b.value,[`${g.value}-with-button`]:!!R},r.class);return w(Jn,z(z(z({ref:a},yt(D,["onUpdate:value","onSearch","enterButton"])),r),{},{onPressEnter:h,onCompositionstart:v,onCompositionend:p,size:b.value,prefixCls:S.value,addonAfter:N,suffix:O,onChange:c,class:F,disabled:I}),n)}}}),xk=e=>e!=null&&(Array.isArray(e)?xn(e).length:!0);function g4e(e){return xk(e.addonBefore)||xk(e.addonAfter)}const m4e=["text","input"],y4e=se({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:U.oneOf(Ar("text","input")),value:tn(),defaultValue:tn(),allowClear:{type:Boolean,default:void 0},element:tn(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:tn(),prefix:tn(),addonBefore:tn(),addonAfter:tn(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:r}=t;const i=fr.useInject(),o=l=>{const{value:s,disabled:u,readonly:c,handleReset:d,suffix:f=n.suffix}=e,h=!u&&!c&&s,v=`${l}-clear-icon`;return w(Ri,{onClick:d,onMousedown:p=>p.preventDefault(),class:ce({[`${v}-hidden`]:!h,[`${v}-has-suffix`]:!!f},v),role:"button"},null)},a=(l,s)=>{const{value:u,allowClear:c,direction:d,bordered:f,hidden:h,status:v,addonAfter:p=n.addonAfter,addonBefore:g=n.addonBefore,hashId:m}=e,{status:y,hasFeedback:b}=i;if(!c)return Nt(s,{value:u,disabled:e.disabled});const S=ce(`${l}-affix-wrapper`,`${l}-affix-wrapper-textarea-with-clear-btn`,Kr(`${l}-affix-wrapper`,ha(y,v),b),{[`${l}-affix-wrapper-rtl`]:d==="rtl",[`${l}-affix-wrapper-borderless`]:!f,[`${r.class}`]:!g4e({addonAfter:p,addonBefore:g})&&r.class},m);return w("span",{class:S,style:r.style,hidden:h},[Nt(s,{style:null,value:u,disabled:e.disabled}),o(l)])};return()=>{var l;const{prefixCls:s,inputType:u,element:c=(l=n.element)===null||l===void 0?void 0:l.call(n)}=e;return u===m4e[0]?a(s,c):null}}}),b4e=` + `]:{opacity:0,animationTimingFunction:i},[`&${o}-wrap-leave`]:{animationTimingFunction:i}}}]},t4e=e=>{const{antCls:t,componentCls:n,floatButtonSize:r,margin:i,borderRadiusLG:o,borderRadiusSM:a,badgeOffset:l,floatButtonBodyPadding:s}=e,u=`${n}-group`;return{[u]:_(_({},st(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:o,[`${u}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:i},[`&${u}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${u}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${u}-square`]:{[`${n}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:-(s+l),insetInlineEnd:-(s+l)}}},[`${u}-wrap`]:{display:"block",borderRadius:o,boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:s,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${u}-circle-shadow`]:{boxShadow:"none"},[`${u}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${n}-square`]:{boxShadow:"none",padding:s,[`${n}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:a}}}}},n4e=e=>{const{antCls:t,componentCls:n,floatButtonBodyPadding:r,floatButtonIconSize:i,floatButtonSize:o,borderRadiusLG:a,badgeOffset:l,dotOffsetInSquare:s,dotOffsetInCircle:u}=e;return{[n]:_(_({},st(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:o,height:o,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-l,insetInlineEnd:-l}},[`${n}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${n}-content`]:{overflow:"hidden",textAlign:"center",minHeight:o,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${r/2}px ${r}px`,[`${n}-icon`]:{textAlign:"center",margin:"auto",width:i,fontSize:i,lineHeight:1}}}}),[`${n}-rtl`]:{direction:"rtl"},[`${n}-circle`]:{height:o,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:u,insetInlineEnd:u}},[`${n}-body`]:{borderRadius:"50%"}},[`${n}-square`]:{height:"auto",minHeight:o,borderRadius:a,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:s,insetInlineEnd:s}},[`${n}-body`]:{height:"auto",borderRadius:a}},[`${n}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${n}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorText},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${n}-primary`]:{backgroundColor:e.colorPrimary,[`${n}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${n}-content`]:{[`${n}-icon`]:{color:e.colorTextLightSolid},[`${n}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}},XE=it("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:i,marginLG:o,fontSize:a,fontSizeIcon:l,controlItemBgHover:s,paddingXXS:u,borderRadiusLG:c}=e,d=Ue(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:s,floatButtonFontSize:a,floatButtonIconSize:l*1.5,floatButtonSize:r,floatButtonInsetBlockEnd:i,floatButtonInsetInlineEnd:o,floatButtonBodySize:r-u*2,floatButtonBodyPadding:u,badgeOffset:u*1.5,dotOffsetInCircle:bk(r/2),dotOffsetInSquare:bk(c)});return[t4e(d),n4e(d),wD(e),e4e(d)]});var r4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(s==null?void 0:s.value)||e.shape);return()=>{var d;const{prefixCls:f,type:h="default",shape:v="circle",description:p=(d=r.description)===null||d===void 0?void 0:d.call(r),tooltip:g,badge:m={}}=e,y=r4e(e,["prefixCls","type","shape","description","tooltip","badge"]),b=ce(i.value,`${i.value}-${h}`,`${i.value}-${c.value}`,{[`${i.value}-rtl`]:o.value==="rtl"},n.class,l.value),S=w(Mi,{placement:"left"},{title:r.tooltip||g?()=>r.tooltip&&r.tooltip()||g:void 0,default:()=>w(Qp,m,{default:()=>[w("div",{class:`${i.value}-body`},[w(Z3e,{prefixCls:i.value},{icon:r.icon,description:()=>p})])]})});return a(e.href?w("a",z(z(z({ref:u},n),y),{},{class:b}),[S]):w("button",z(z(z({ref:u},n),y),{},{class:b,type:"button"}),[S]))}}}),ou=i4e,o4e=se({compatConfig:{MODE:3},name:"AFloatButtonGroup",inheritAttrs:!1,props:ft(X3e(),{type:"default",shape:"circle"}),setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee(YE,e),[l,s]=XE(o),[u,c]=dn(!1,{value:L(()=>e.open)}),d=ue(null),f=ue(null);Q3e({shape:L(()=>e.shape)});const h={onMouseenter(){var m;c(!0),i("update:open",!0),(m=e.onOpenChange)===null||m===void 0||m.call(e,!0)},onMouseleave(){var m;c(!1),i("update:open",!1),(m=e.onOpenChange)===null||m===void 0||m.call(e,!1)}},v=L(()=>e.trigger==="hover"?h:{}),p=()=>{var m;const y=!u.value;i("update:open",y),(m=e.onOpenChange)===null||m===void 0||m.call(e,y),c(y)},g=m=>{var y,b,S;if(!((y=d.value)===null||y===void 0)&&y.contains(m.target)){!((b=ci(f.value))===null||b===void 0)&&b.contains(m.target)&&p();return}c(!1),i("update:open",!1),(S=e.onOpenChange)===null||S===void 0||S.call(e,!1)};return Se(L(()=>e.trigger),m=>{Xr()&&(document.removeEventListener("click",g),m==="click"&&document.addEventListener("click",g))},{immediate:!0}),ht(()=>{document.removeEventListener("click",g)}),()=>{var m;const{shape:y="circle",type:b="default",tooltip:S,description:x,trigger:$}=e,C=`${o.value}-group`,T=ce(C,s.value,n.class,{[`${C}-rtl`]:a.value==="rtl",[`${C}-${y}`]:y,[`${C}-${y}-shadow`]:!$}),I=ce(s.value,`${C}-wrap`),P=Eo(`${C}-wrap`);return l(w("div",z(z({ref:d},n),{},{class:T},v.value),[$&&["click","hover"].includes($)?w(Qe,null,[w(dr,P,{default:()=>[Ur(w("div",{class:I},[r.default&&r.default()]),[[hi,u.value]])]}),w(ou,{ref:f,type:b,shape:y,tooltip:S,description:x},{icon:()=>{var M,O;return u.value?((M=r.closeIcon)===null||M===void 0?void 0:M.call(r))||w(Ri,null,null):((O=r.icon)===null||O===void 0?void 0:O.call(r))||w(QZ,null,null)},tooltip:r.tooltip,description:r.description})]):(m=r.default)===null||m===void 0?void 0:m.call(r)]))}}}),MS=o4e;var a4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};const l4e=a4e;function Sk(e){for(var t=1;twindow,duration:450,type:"default",shape:"circle"}),setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee(YE,e),[l]=XE(o),s=ue(),u=Bt({visible:e.visibilityHeight===0,scrollEvent:null}),c=()=>s.value&&s.value.ownerDocument?s.value.ownerDocument:window,d=g=>{const{target:m=c,duration:y}=e;IO(0,{getContainer:m,duration:y}),i("click",g)},f=PI(g=>{const{visibilityHeight:m}=e,y=TO(g.target,!0);u.visible=y>=m}),h=()=>{const{target:g}=e,y=(g||c)();f({target:y}),y==null||y.addEventListener("scroll",f)},v=()=>{const{target:g}=e,y=(g||c)();f.cancel(),y==null||y.removeEventListener("scroll",f)};Se(()=>e.target,()=>{v(),_t(()=>{h()})}),tt(()=>{_t(()=>{h()})}),zx(()=>{_t(()=>{h()})}),bG(()=>{v()}),ht(()=>{v()});const p=eQ();return()=>{const{description:g,type:m,shape:y,tooltip:b,badge:S}=e,x=_(_({},r),{shape:(p==null?void 0:p.shape.value)||y,onClick:d,class:{[`${o.value}`]:!0,[`${r.class}`]:r.class,[`${o.value}-rtl`]:a.value==="rtl"},description:g,type:m,tooltip:b,badge:S}),$=Eo("fade");return l(w(dr,$,{default:()=>[Ur(w(ou,z(z({},x),{},{ref:s}),{icon:()=>{var C;return((C=n.icon)===null||C===void 0?void 0:C.call(n))||w(u4e,null,null)}}),[[hi,u.visible]])]}))}}}),AS=c4e;ou.Group=MS;ou.BackTop=AS;ou.install=function(e){return e.component(ou.name,ou),e.component(MS.name,MS),e.component(AS.name,AS),e};const og=e=>e!=null&&(Array.isArray(e)?xn(e).length:!0);function ZE(e){return og(e.prefix)||og(e.suffix)||og(e.allowClear)}function Wb(e){return og(e.addonBefore)||og(e.addonAfter)}function MP(e){return typeof e=="undefined"||e===null?"":String(e)}function ag(e,t,n,r){if(!n)return;const i=t;if(t.type==="click"){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0});const o=e.cloneNode(!0);i.target=o,i.currentTarget=o,o.value="",n(i);return}if(r!==void 0){Object.defineProperty(i,"target",{writable:!0}),Object.defineProperty(i,"currentTarget",{writable:!0}),i.target=e,i.currentTarget=e,e.value=r,n(i);return}n(i)}function tQ(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}const d4e=()=>({addonBefore:U.any,addonAfter:U.any,prefix:U.any,suffix:U.any,clearIcon:U.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),nQ=()=>_(_({},d4e()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:U.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),rQ=()=>_(_({},nQ()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:je("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),f4e=se({name:"BaseInput",inheritAttrs:!1,props:nQ(),setup(e,t){let{slots:n,attrs:r}=t;const i=ue(),o=l=>{var s;if(!((s=i.value)===null||s===void 0)&&s.contains(l.target)){const{triggerFocus:u}=e;u==null||u()}},a=()=>{var l;const{allowClear:s,value:u,disabled:c,readonly:d,handleReset:f,suffix:h=n.suffix,prefixCls:v}=e;if(!s)return null;const p=!c&&!d&&u,g=`${v}-clear-icon`,m=((l=n.clearIcon)===null||l===void 0?void 0:l.call(n))||"*";return w("span",{onClick:f,onMousedown:y=>y.preventDefault(),class:ce({[`${g}-hidden`]:!p,[`${g}-has-suffix`]:!!h},g),role:"button",tabindex:-1},[m])};return()=>{var l,s;const{focused:u,value:c,disabled:d,allowClear:f,readonly:h,hidden:v,prefixCls:p,prefix:g=(l=n.prefix)===null||l===void 0?void 0:l.call(n),suffix:m=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:y=n.addonAfter,addonBefore:b=n.addonBefore,inputElement:S,affixWrapperClassName:x,wrapperClassName:$,groupClassName:C}=e;let T=Nt(S,{value:c,hidden:v});if(ZE({prefix:g,suffix:m,allowClear:f})){const I=`${p}-affix-wrapper`,P=ce(I,{[`${I}-disabled`]:d,[`${I}-focused`]:u,[`${I}-readonly`]:h,[`${I}-input-with-clear-btn`]:m&&f&&c},!Wb({addonAfter:y,addonBefore:b})&&r.class,x),M=(m||f)&&w("span",{class:`${p}-suffix`},[a(),m]);T=w("span",{class:P,style:r.style,hidden:!Wb({addonAfter:y,addonBefore:b})&&v,onMousedown:o,ref:i},[g&&w("span",{class:`${p}-prefix`},[g]),Nt(S,{style:null,value:c,hidden:null}),M])}if(Wb({addonAfter:y,addonBefore:b})){const I=`${p}-group`,P=`${I}-addon`,M=ce(`${p}-wrapper`,I,$),O=ce(`${p}-group-wrapper`,r.class,C);return w("span",{class:O,style:r.style,hidden:v},[w("span",{class:M},[b&&w("span",{class:P},[b]),Nt(T,{style:null,hidden:null}),y&&w("span",{class:P},[y])])])}return T}}});var h4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.value,()=>{a.value=e.value}),Se(()=>e.disabled,()=>{e.disabled&&(l.value=!1)});const c=C=>{s.value&&tQ(s.value.input,C)},d=()=>{var C;(C=s.value.input)===null||C===void 0||C.blur()},f=(C,T,I)=>{var P;(P=s.value.input)===null||P===void 0||P.setSelectionRange(C,T,I)},h=()=>{var C;(C=s.value.input)===null||C===void 0||C.select()};i({focus:c,blur:d,input:L(()=>{var C;return(C=s.value.input)===null||C===void 0?void 0:C.input}),stateValue:a,setSelectionRange:f,select:h});const v=C=>{o("change",C)},p=(C,T)=>{a.value!==C&&(e.value===void 0?a.value=C:_t(()=>{var I;s.value.input.value!==a.value&&((I=u.value)===null||I===void 0||I.$forceUpdate())}),_t(()=>{T&&T()}))},g=C=>{const{value:T}=C.target;if(a.value===T)return;const I=C.target.value;ag(s.value.input,C,v),p(I)},m=C=>{C.keyCode===13&&o("pressEnter",C),o("keydown",C)},y=C=>{l.value=!0,o("focus",C)},b=C=>{l.value=!1,o("blur",C)},S=C=>{ag(s.value.input,C,v),p("",()=>{c()})},x=()=>{var C,T;const{addonBefore:I=n.addonBefore,addonAfter:P=n.addonAfter,disabled:M,valueModifiers:O={},htmlSize:D,autocomplete:R,prefixCls:A,inputClassName:E,prefix:k=(C=n.prefix)===null||C===void 0?void 0:C.call(n),suffix:N=(T=n.suffix)===null||T===void 0?void 0:T.call(n),allowClear:B,type:F="text"}=e,H=yt(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),V=_(_(_({},H),r),{autocomplete:R,onChange:g,onInput:g,onFocus:y,onBlur:b,onKeydown:m,class:ce(A,{[`${A}-disabled`]:M},E,!Wb({addonAfter:P,addonBefore:I})&&!ZE({prefix:k,suffix:N,allowClear:B})&&r.class),ref:s,key:"ant-input",size:D,type:F,lazy:e.lazy});return O.lazy&&delete V.onInput,V.autofocus||delete V.autofocus,w(tv,yt(V,["size"]),null)},$=()=>{var C;const{maxlength:T,suffix:I=(C=n.suffix)===null||C===void 0?void 0:C.call(n),showCount:P,prefixCls:M}=e,O=Number(T)>0;if(I||P){const D=[...MP(a.value)].length,R=typeof P=="object"?P.formatter({count:D,maxlength:T}):`${D}${O?` / ${T}`:""}`;return w(Qe,null,[!!P&&w("span",{class:ce(`${M}-show-count-suffix`,{[`${M}-show-count-has-suffix`]:!!I})},[R]),I])}return null};return tt(()=>{}),()=>{const{prefixCls:C,disabled:T}=e,I=h4e(e,["prefixCls","disabled"]);return w(f4e,z(z(z({},I),r),{},{ref:u,prefixCls:C,inputElement:x(),handleReset:S,value:MP(a.value),focused:l.value,triggerFocus:c,suffix:$(),disabled:T}),n)}}}),iQ=()=>yt(rQ(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),QE=iQ,oQ=()=>_(_({},yt(iQ(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:fd(),onCompositionend:fd(),valueModifiers:Object});var p4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iva(s.status,e.status)),{direction:c,prefixCls:d,size:f,autocomplete:h}=Ee("input",e),{compactSize:v,compactItemClassnames:p}=Au(d,c),g=L(()=>v.value||f.value),[m,y]=SE(d),b=Ai();i({focus:D=>{var R;(R=a.value)===null||R===void 0||R.focus(D)},blur:()=>{var D;(D=a.value)===null||D===void 0||D.blur()},input:a,setSelectionRange:(D,R,A)=>{var E;(E=a.value)===null||E===void 0||E.setSelectionRange(D,R,A)},select:()=>{var D;(D=a.value)===null||D===void 0||D.select()}});const T=ue([]),I=()=>{T.value.push(setTimeout(()=>{var D,R,A,E;!((D=a.value)===null||D===void 0)&&D.input&&((R=a.value)===null||R===void 0?void 0:R.input.getAttribute("type"))==="password"&&(!((A=a.value)===null||A===void 0)&&A.input.hasAttribute("value"))&&((E=a.value)===null||E===void 0||E.input.removeAttribute("value"))}))};tt(()=>{I()}),Wx(()=>{T.value.forEach(D=>clearTimeout(D))}),ht(()=>{T.value.forEach(D=>clearTimeout(D))});const P=D=>{I(),o("blur",D),l.onFieldBlur()},M=D=>{I(),o("focus",D)},O=D=>{o("update:value",D.target.value),o("change",D),o("input",D),l.onFieldChange()};return()=>{var D,R,A,E,k,N;const{hasFeedback:B,feedbackIcon:F}=s,{allowClear:H,bordered:V=!0,prefix:X=(D=n.prefix)===null||D===void 0?void 0:D.call(n),suffix:Q=(R=n.suffix)===null||R===void 0?void 0:R.call(n),addonAfter:K=(A=n.addonAfter)===null||A===void 0?void 0:A.call(n),addonBefore:te=(E=n.addonBefore)===null||E===void 0?void 0:E.call(n),id:q=(k=l.id)===null||k===void 0?void 0:k.value}=e,ee=p4e(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),J=(B||Q)&&w(Qe,null,[Q,B&&F]),G=d.value,Y=ZE({prefix:X,suffix:Q})||!!B,oe=n.clearIcon||(()=>w(Li,null,null));return m(w(v4e,z(z(z({},r),yt(ee,["onUpdate:value","onChange","onInput"])),{},{onChange:O,id:q,disabled:(N=e.disabled)!==null&&N!==void 0?N:b.value,ref:a,prefixCls:G,autocomplete:h.value,onBlur:P,onFocus:M,prefix:X,suffix:J,allowClear:H,addonAfter:K&&w(jg,null,{default:()=>[w(rS,null,{default:()=>[K]})]}),addonBefore:te&&w(jg,null,{default:()=>[w(rS,null,{default:()=>[te]})]}),class:[r.class,p.value],inputClassName:ce({[`${G}-sm`]:g.value==="small",[`${G}-lg`]:g.value==="large",[`${G}-rtl`]:c.value==="rtl",[`${G}-borderless`]:!V},!Y&&Kr(G,u.value),y.value),affixWrapperClassName:ce({[`${G}-affix-wrapper-sm`]:g.value==="small",[`${G}-affix-wrapper-lg`]:g.value==="large",[`${G}-affix-wrapper-rtl`]:c.value==="rtl",[`${G}-affix-wrapper-borderless`]:!V},Kr(`${G}-affix-wrapper`,u.value,B),y.value),wrapperClassName:ce({[`${G}-group-rtl`]:c.value==="rtl"},y.value),groupClassName:ce({[`${G}-group-wrapper-sm`]:g.value==="small",[`${G}-group-wrapper-lg`]:g.value==="large",[`${G}-group-wrapper-rtl`]:c.value==="rtl"},Kr(`${G}-group-wrapper`,u.value,B),y.value)}),_(_({},n),{clearIcon:oe})))}}}),aQ=se({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o,getPrefixCls:a}=Ee("input-group",e),l=fr.useInject();fr.useProvide(l,{isFormItemInput:!1});const s=L(()=>a("input")),[u,c]=SE(s),d=L(()=>{const f=i.value;return{[`${f}`]:!0,[c.value]:!0,[`${f}-lg`]:e.size==="large",[`${f}-sm`]:e.size==="small",[`${f}-compact`]:e.compact,[`${f}-rtl`]:o.value==="rtl"}});return()=>{var f;return u(w("span",z(z({},r),{},{class:ce(d.value,r.class)}),[(f=n.default)===null||f===void 0?void 0:f.call(n)]))}}});var g4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var x;(x=a.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=a.value)===null||x===void 0||x.blur()}});const c=x=>{o("update:value",x.target.value),x&&x.target&&x.type==="click"&&o("search",x.target.value,x),o("change",x)},d=x=>{var $;document.activeElement===(($=a.value)===null||$===void 0?void 0:$.input)&&x.preventDefault()},f=x=>{var $,C;o("search",(C=($=a.value)===null||$===void 0?void 0:$.input)===null||C===void 0?void 0:C.stateValue,x)},h=x=>{l.value||e.loading||f(x)},v=x=>{l.value=!0,o("compositionstart",x)},p=x=>{l.value=!1,o("compositionend",x)},{prefixCls:g,getPrefixCls:m,direction:y,size:b}=Ee("input-search",e),S=L(()=>m("input",e.inputPrefixCls));return()=>{var x,$,C,T;const{disabled:I,loading:P,addonAfter:M=(x=n.addonAfter)===null||x===void 0?void 0:x.call(n),suffix:O=($=n.suffix)===null||$===void 0?void 0:$.call(n)}=e,D=g4e(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:R=(T=(C=n.enterButton)===null||C===void 0?void 0:C.call(n))!==null&&T!==void 0?T:!1}=e;R=R||R==="";const A=typeof R=="boolean"?w(xw,null,null):null,E=`${g.value}-button`,k=Array.isArray(R)?R[0]:R;let N;const B=k.type&&yD(k.type)&&k.type.__ANT_BUTTON;if(B||k.tagName==="button")N=Nt(k,_({onMousedown:d,onClick:f,key:"enterButton"},B?{class:E,size:b.value}:{}),!1);else{const H=A&&!R;N=w(An,{class:E,type:R?"primary":void 0,size:b.value,disabled:I,key:"enterButton",onMousedown:d,onClick:f,loading:P,icon:H?A:null},{default:()=>[H?null:A||R]})}M&&(N=[N,M]);const F=ce(g.value,{[`${g.value}-rtl`]:y.value==="rtl",[`${g.value}-${b.value}`]:!!b.value,[`${g.value}-with-button`]:!!R},r.class);return w(Jn,z(z(z({ref:a},yt(D,["onUpdate:value","onSearch","enterButton"])),r),{},{onPressEnter:h,onCompositionstart:v,onCompositionend:p,size:b.value,prefixCls:S.value,addonAfter:N,suffix:O,onChange:c,class:F,disabled:I}),n)}}}),xk=e=>e!=null&&(Array.isArray(e)?xn(e).length:!0);function m4e(e){return xk(e.addonBefore)||xk(e.addonAfter)}const y4e=["text","input"],b4e=se({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:U.oneOf(Ar("text","input")),value:tn(),defaultValue:tn(),allowClear:{type:Boolean,default:void 0},element:tn(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:tn(),prefix:tn(),addonBefore:tn(),addonAfter:tn(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:r}=t;const i=fr.useInject(),o=l=>{const{value:s,disabled:u,readonly:c,handleReset:d,suffix:f=n.suffix}=e,h=!u&&!c&&s,v=`${l}-clear-icon`;return w(Li,{onClick:d,onMousedown:p=>p.preventDefault(),class:ce({[`${v}-hidden`]:!h,[`${v}-has-suffix`]:!!f},v),role:"button"},null)},a=(l,s)=>{const{value:u,allowClear:c,direction:d,bordered:f,hidden:h,status:v,addonAfter:p=n.addonAfter,addonBefore:g=n.addonBefore,hashId:m}=e,{status:y,hasFeedback:b}=i;if(!c)return Nt(s,{value:u,disabled:e.disabled});const S=ce(`${l}-affix-wrapper`,`${l}-affix-wrapper-textarea-with-clear-btn`,Kr(`${l}-affix-wrapper`,va(y,v),b),{[`${l}-affix-wrapper-rtl`]:d==="rtl",[`${l}-affix-wrapper-borderless`]:!f,[`${r.class}`]:!m4e({addonAfter:p,addonBefore:g})&&r.class},m);return w("span",{class:S,style:r.style,hidden:h},[Nt(s,{style:null,value:u,disabled:e.disabled}),o(l)])};return()=>{var l;const{prefixCls:s,inputType:u,element:c=(l=n.element)===null||l===void 0?void 0:l.call(n)}=e;return u===y4e[0]?a(s,c):null}}}),S4e=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -363,33 +363,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho top:0 !important; right:0 !important; pointer-events: none !important; -`,S4e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],f_={};let so;function x4e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&f_[n])return f_[n];const r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:S4e.map(u=>`${u}:${r.getPropertyValue(u)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(f_[n]=s),s}function w4e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;so||(so=document.createElement("textarea"),so.setAttribute("tab-index","-1"),so.setAttribute("aria-hidden","true"),document.body.appendChild(so)),e.getAttribute("wrap")?so.setAttribute("wrap",e.getAttribute("wrap")):so.removeAttribute("wrap");const{paddingSize:i,borderSize:o,boxSizing:a,sizingStyle:l}=x4e(e,t);so.setAttribute("style",`${l};${b4e}`),so.value=e.value||e.placeholder||"";let s,u,c,d=so.scrollHeight;if(a==="border-box"?d+=o:a==="content-box"&&(d-=i),n!==null||r!==null){so.value=" ";const h=so.scrollHeight-i;n!==null&&(s=h*n,a==="border-box"&&(s=s+i+o),d=Math.max(s,d)),r!==null&&(u=h*r,a==="border-box"&&(u=u+i+o),c=d>u?"":"hidden",d=Math.min(u,d))}const f={height:`${d}px`,overflowY:c,resize:"none"};return s&&(f.minHeight=`${s}px`),u&&(f.maxHeight=`${u}px`),f}const h_=0,v_=1,p_=2,C4e=se({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:oQ(),setup(e,t){let{attrs:n,emit:r,expose:i}=t,o,a;const l=ue(),s=ue({}),u=ue(p_);ht(()=>{dt.cancel(o),dt.cancel(a)});const c=()=>{try{if(l.value&&document.activeElement===l.value.input){const $=l.value.getSelectionStart(),C=l.value.getSelectionEnd(),T=l.value.getScrollTop();l.value.setSelectionRange($,C),l.value.setScrollTop(T)}}catch($){}},d=ue(),f=ue();Ye(()=>{const $=e.autoSize||e.autosize;$?(d.value=$.minRows,f.value=$.maxRows):(d.value=void 0,f.value=void 0)});const h=L(()=>!!(e.autoSize||e.autosize)),v=()=>{u.value=h_};Se([()=>e.value,d,f,h],()=>{h.value&&v()},{immediate:!0});const p=ue();Se([u,l],()=>{if(l.value)if(u.value===h_)u.value=v_;else if(u.value===v_){const $=w4e(l.value.input,!1,d.value,f.value);u.value=p_,p.value=$}else c()},{immediate:!0,flush:"post"});const g=gr(),m=ue(),y=()=>{dt.cancel(m.value)},b=$=>{u.value===p_&&(r("resize",$),h.value&&(y(),m.value=dt(()=>{v()})))};ht(()=>{y()}),i({resizeTextarea:()=>{v()},textArea:L(()=>{var $;return($=l.value)===null||$===void 0?void 0:$.input}),instance:g}),vn(e.autosize===void 0);const x=()=>{const{prefixCls:$,disabled:C}=e,T=yt(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","maxlength","valueModifiers"]),I=ce($,n.class,{[`${$}-disabled`]:C}),P=h.value?p.value:null,M=[n.style,s.value,P],O=_(_(_({},T),n),{style:M,class:I});return(u.value===h_||u.value===v_)&&M.push({overflowX:"hidden",overflowY:"hidden"}),O.autofocus||delete O.autofocus,O.rows===0&&delete O.rows,w(Mo,{onResize:b,disabled:!h.value},{default:()=>[w(ev,z(z({},O),{},{ref:l,tag:"textarea"}),null)]})};return()=>x()}}),$4e=C4e;function sQ(e,t){return[...e||""].slice(0,t).join("")}function wk(e,t,n,r){let i=n;return e?i=sQ(n,r):[...t||""].lengthr&&(i=t),i}const JE=se({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:oQ(),setup(e,t){let{attrs:n,expose:r,emit:i}=t;var o;const a=Xn(),l=fr.useInject(),s=L(()=>ha(l.status,e.status)),u=ae((o=e.value)!==null&&o!==void 0?o:e.defaultValue),c=ae(),d=ae(""),{prefixCls:f,size:h,direction:v}=Ee("input",e),[p,g]=SE(f),m=Mi(),y=L(()=>e.showCount===""||e.showCount||!1),b=L(()=>Number(e.maxlength)>0),S=ae(!1),x=ae(),$=ae(0),C=B=>{S.value=!0,x.value=d.value,$.value=B.currentTarget.selectionStart,i("compositionstart",B)},T=B=>{var F;S.value=!1;let H=B.currentTarget.value;if(b.value){const V=$.value>=e.maxlength+1||$.value===((F=x.value)===null||F===void 0?void 0:F.length);H=wk(V,x.value,H,e.maxlength)}H!==d.value&&(O(H),og(B.currentTarget,B,A,H)),i("compositionend",B)},I=gr();Se(()=>e.value,()=>{var B;"value"in I.vnode.props,u.value=(B=e.value)!==null&&B!==void 0?B:""});const P=B=>{var F;tQ((F=c.value)===null||F===void 0?void 0:F.textArea,B)},M=()=>{var B,F;(F=(B=c.value)===null||B===void 0?void 0:B.textArea)===null||F===void 0||F.blur()},O=(B,F)=>{u.value!==B&&(e.value===void 0?u.value=B:_t(()=>{var H,V,X;c.value.textArea.value!==d.value&&((X=(H=c.value)===null||H===void 0?void 0:(V=H.instance).update)===null||X===void 0||X.call(V))}),_t(()=>{F&&F()}))},D=B=>{B.keyCode===13&&i("pressEnter",B),i("keydown",B)},R=B=>{const{onBlur:F}=e;F==null||F(B),a.onFieldBlur()},A=B=>{i("update:value",B.target.value),i("change",B),i("input",B),a.onFieldChange()},E=B=>{og(c.value.textArea,B,A),O("",()=>{P()})},k=B=>{let F=B.target.value;if(u.value!==F){if(b.value){const H=B.target,V=H.selectionStart>=e.maxlength+1||H.selectionStart===F.length||!H.selectionStart;F=wk(V,d.value,F,e.maxlength)}og(B.currentTarget,B,A,F),O(F)}},N=()=>{var B,F;const{class:H}=n,{bordered:V=!0}=e,X=_(_(_({},yt(e,["allowClear"])),n),{class:[{[`${f.value}-borderless`]:!V,[`${H}`]:H&&!y.value,[`${f.value}-sm`]:h.value==="small",[`${f.value}-lg`]:h.value==="large"},Kr(f.value,s.value),g.value],disabled:m.value,showCount:null,prefixCls:f.value,onInput:k,onChange:k,onBlur:R,onKeydown:D,onCompositionstart:C,onCompositionend:T});return!((B=e.valueModifiers)===null||B===void 0)&&B.lazy&&delete X.onInput,w($4e,z(z({},X),{},{id:(F=X==null?void 0:X.id)!==null&&F!==void 0?F:a.id.value,ref:c,maxlength:e.maxlength,lazy:e.lazy}),null)};return r({focus:P,blur:M,resizableTextArea:c}),Ye(()=>{let B=MP(u.value);!S.value&&b.value&&(e.value===null||e.value===void 0)&&(B=sQ(B,e.maxlength)),d.value=B}),()=>{var B;const{maxlength:F,bordered:H=!0,hidden:V}=e,{style:X,class:Q}=n,K=_(_(_({},e),n),{prefixCls:f.value,inputType:"text",handleReset:E,direction:v.value,bordered:H,style:y.value?void 0:X,hashId:g.value,disabled:(B=e.disabled)!==null&&B!==void 0?B:m.value});let te=w(y4e,z(z({},K),{},{value:d.value,status:e.status}),{element:N});if(y.value||l.hasFeedback){const q=[...d.value].length;let ee="";typeof y.value=="object"?ee=y.value.formatter({value:d.value,count:q,maxlength:F}):ee=`${q}${b.value?` / ${F}`:""}`,te=w("div",{hidden:V,class:ce(`${f.value}-textarea`,{[`${f.value}-textarea-rtl`]:v.value==="rtl",[`${f.value}-textarea-show-count`]:y.value,[`${f.value}-textarea-in-form-item`]:l.isFormItemInput},`${f.value}-textarea-show-count`,Q,g.value),style:X,"data-count":typeof ee!="object"?ee:void 0},[te,l.hasFeedback&&w("span",{class:`${f.value}-textarea-suffix`},[l.feedbackIcon])])}return p(te)}}});var _4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const T4e=_4e;function Ck(e){for(var t=1;tw(e?t3:O4e,null,null),uQ=se({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:_(_({},QE()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const a=ae(!1),l=()=>{const{disabled:g}=e;g||(a.value=!a.value,o("update:visible",a.value))};Ye(()=>{e.visible!==void 0&&(a.value=!!e.visible)});const s=ae();i({focus:()=>{var g;(g=s.value)===null||g===void 0||g.focus()},blur:()=>{var g;(g=s.value)===null||g===void 0||g.blur()}});const d=g=>{const{action:m,iconRender:y=n.iconRender||R4e}=e,b=E4e[m]||"",S=y(a.value),x={[b]:l,class:`${g}-icon`,key:"passwordIcon",onMousedown:$=>{$.preventDefault()},onMouseup:$=>{$.preventDefault()}};return Nt(zn(S)?S:w("span",null,[S]),x)},{prefixCls:f,getPrefixCls:h}=Ee("input-password",e),v=L(()=>h("input",e.inputPrefixCls)),p=()=>{const{size:g,visibilityToggle:m}=e,y=D4e(e,["size","visibilityToggle"]),b=m&&d(f.value),S=ce(f.value,r.class,{[`${f.value}-${g}`]:!!g}),x=_(_(_({},yt(y,["suffix","iconRender","action"])),r),{type:a.value?"text":"password",class:S,prefixCls:v.value,suffix:b});return g&&(x.size=g),w(Jn,z({ref:s},x),n)};return()=>p()}});Jn.Group=aQ;Jn.Search=lQ;Jn.TextArea=JE;Jn.Password=uQ;Jn.install=function(e){return e.component(Jn.name,Jn),e.component(Jn.Group.name,Jn.Group),e.component(Jn.Search.name,Jn.Search),e.component(Jn.TextArea.name,Jn.TextArea),e.component(Jn.Password.name,Jn.Password),e};function qw(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:U.shape({x:Number,y:Number}).loose,title:U.any,footer:U.any,transitionName:String,maskTransitionName:String,animation:U.any,maskAnimation:U.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:U.any,maskProps:U.any,wrapProps:U.any,getContainer:U.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:U.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function _k(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}let Tk=-1;function L4e(){return Tk+=1,Tk}function Ik(e,t){let n=e[`page${t?"Y":"X"}Offset`];const r=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function N4e(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=Ik(i),n.top+=Ik(i,!0),n}const k4e={width:0,height:0,overflow:"hidden",outline:"none"},B4e={outline:"none"},F4e=se({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:_(_({},qw()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=ue(),a=ue(),l=ue();n({focus:()=>{var f;(f=o.value)===null||f===void 0||f.focus({preventScroll:!0})},changeActive:f=>{const{activeElement:h}=document;f&&h===a.value?o.value.focus({preventScroll:!0}):!f&&h===o.value&&a.value.focus({preventScroll:!0})}});const s=ue(),u=L(()=>{const{width:f,height:h}=e,v={};return f!==void 0&&(v.width=typeof f=="number"?`${f}px`:f),h!==void 0&&(v.height=typeof h=="number"?`${h}px`:h),s.value&&(v.transformOrigin=s.value),v}),c=()=>{_t(()=>{if(l.value){const f=N4e(l.value);s.value=e.mousePosition?`${e.mousePosition.x-f.left}px ${e.mousePosition.y-f.top}px`:""}})},d=f=>{e.onVisibleChanged(f)};return()=>{var f,h,v,p;const{prefixCls:g,footer:m=(f=r.footer)===null||f===void 0?void 0:f.call(r),title:y=(h=r.title)===null||h===void 0?void 0:h.call(r),ariaId:b,closable:S,closeIcon:x=(v=r.closeIcon)===null||v===void 0?void 0:v.call(r),onClose:$,bodyStyle:C,bodyProps:T,onMousedown:I,onMouseup:P,visible:M,modalRender:O=r.modalRender,destroyOnClose:D,motionName:R}=e;let A;m&&(A=w("div",{class:`${g}-footer`},[m]));let E;y&&(E=w("div",{class:`${g}-header`},[w("div",{class:`${g}-title`,id:b},[y])]));let k;S&&(k=w("button",{type:"button",onClick:$,"aria-label":"Close",class:`${g}-close`},[x||w("span",{class:`${g}-close-x`},null)]));const N=w("div",{class:`${g}-content`},[k,E,w("div",z({class:`${g}-body`,style:C},T),[(p=r.default)===null||p===void 0?void 0:p.call(r)]),A]),B=Do(R);return w(dr,z(z({},B),{},{onBeforeEnter:c,onAfterEnter:()=>d(!0),onAfterLeave:()=>d(!1)}),{default:()=>[M||!D?Ur(w("div",z(z({},i),{},{ref:l,key:"dialog-element",role:"document",style:[u.value,i.style],class:[g,i.class],onMousedown:I,onMouseup:P}),[w("div",{tabindex:0,ref:o,style:B4e},[O?O({originVNode:N}):N]),w("div",{tabindex:0,ref:a,style:k4e},null)]),[[hi,M]]):null]})}}}),z4e=se({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:r,maskProps:i,motionName:o}=e,a=Do(o);return w(dr,a,{default:()=>[Ur(w("div",z({class:`${n}-mask`},i),null),[[hi,r]])]})}}}),Pk=se({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:ft(_(_({},qw()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:r}=t;const i=ae(),o=ae(),a=ae(),l=ae(e.visible),s=ae(`vcDialogTitle${L4e()}`),u=m=>{var y,b;if(m)zs(o.value,document.activeElement)||(i.value=document.activeElement,(y=a.value)===null||y===void 0||y.focus());else{const S=l.value;if(l.value=!1,e.mask&&i.value&&e.focusTriggerAfterClose){try{i.value.focus({preventScroll:!0})}catch(x){}i.value=null}S&&((b=e.afterClose)===null||b===void 0||b.call(e))}},c=m=>{var y;(y=e.onClose)===null||y===void 0||y.call(e,m)},d=ae(!1),f=ae(),h=()=>{clearTimeout(f.value),d.value=!0},v=()=>{f.value=setTimeout(()=>{d.value=!1})},p=m=>{if(!e.maskClosable)return null;d.value?d.value=!1:o.value===m.target&&c(m)},g=m=>{if(e.keyboard&&m.keyCode===Pe.ESC){m.stopPropagation(),c(m);return}e.visible&&m.keyCode===Pe.TAB&&a.value.changeActive(!m.shiftKey)};return Se(()=>e.visible,()=>{e.visible&&(l.value=!0)},{flush:"post"}),ht(()=>{var m;clearTimeout(f.value),(m=e.scrollLocker)===null||m===void 0||m.unLock()}),Ye(()=>{var m,y;(m=e.scrollLocker)===null||m===void 0||m.unLock(),l.value&&((y=e.scrollLocker)===null||y===void 0||y.lock())}),()=>{const{prefixCls:m,mask:y,visible:b,maskTransitionName:S,maskAnimation:x,zIndex:$,wrapClassName:C,rootClassName:T,wrapStyle:I,closable:P,maskProps:M,maskStyle:O,transitionName:D,animation:R,wrapProps:A,title:E=r.title}=e,{style:k,class:N}=n;return w("div",z({class:[`${m}-root`,T]},Mu(e,{data:!0})),[w(z4e,{prefixCls:m,visible:y&&b,motionName:_k(m,S,x),style:_({zIndex:$},O),maskProps:M},null),w("div",z({tabIndex:-1,onKeydown:g,class:ce(`${m}-wrap`,C),ref:o,onClick:p,role:"dialog","aria-labelledby":E?s.value:null,style:_(_({zIndex:$},I),{display:l.value?null:"none"})},A),[w(F4e,z(z({},yt(e,["scrollLocker"])),{},{style:k,class:N,onMousedown:h,onMouseup:v,ref:a,closable:P,ariaId:s.value,prefixCls:m,visible:b,onClose:c,onVisibleChanged:u,motionName:_k(m,D,R)}),r)])])}}}),H4e=qw(),V4e=se({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:ft(H4e,{visible:!1}),setup(e,t){let{attrs:n,slots:r}=t;const i=ue(e.visible);return KO({},{inTriggerContext:!1}),Se(()=>e.visible,()=>{e.visible&&(i.value=!0)},{flush:"post"}),()=>{const{visible:o,getContainer:a,forceRender:l,destroyOnClose:s=!1,afterClose:u}=e;let c=_(_(_({},e),n),{ref:"_component",key:"dialog"});return a===!1?w(Pk,z(z({},c),{},{getOpenCount:()=>2}),r):!l&&s&&!i.value?null:w(Fm,{autoLock:!0,visible:o,forceRender:l,getContainer:a},{default:d=>(c=_(_(_({},c),d),{afterClose:()=>{u==null||u(),i.value=!1}}),w(Pk,c,r))})}}}),cQ=V4e;function W4e(e){const t=ue(null),n=Bt(_({},e)),r=ue([]),i=o=>{t.value===null&&(r.value=[],t.value=dt(()=>{let a;r.value.forEach(l=>{a=_(_({},a),l)}),_(n,a),t.value=null})),r.value.push(o)};return tt(()=>{t.value&&dt.cancel(t.value)}),[n,i]}function Mk(e,t,n,r){const i=t+n,o=(n-r)/2;if(n>r){if(t>0)return{[e]:o};if(t<0&&ir)return{[e]:t<0?o:-o};return{}}function j4e(e,t,n,r){const{width:i,height:o}=E0e();let a=null;return e<=i&&t<=o?a={x:0,y:0}:(e>i||t>o)&&(a=_(_({},Mk("x",n,e,i)),Mk("y",r,t,o))),a}var G4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{at(Ak,e)},inject:()=>Je(Ak,{isPreviewGroup:ae(!1),previewUrls:L(()=>new Map),setPreviewUrls:()=>{},current:ue(null),setCurrent:()=>{},setShowPreview:()=>{},setMousePosition:()=>{},registerImage:null,rootClassName:""})},K4e=()=>({previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:()=>({})}}),U4e=se({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:K4e(),setup(e,t){let{slots:n}=t;const r=L(()=>{const x={visible:void 0,onVisibleChange:()=>{},getContainer:void 0,current:0};return typeof e.preview=="object"?vQ(e.preview,x):x}),i=Bt(new Map),o=ue(),a=L(()=>r.value.visible),l=L(()=>r.value.getContainer),s=(x,$)=>{var C,T;(T=(C=r.value).onVisibleChange)===null||T===void 0||T.call(C,x,$)},[u,c]=dn(!!a.value,{value:a,onChange:s}),d=ue(null),f=L(()=>a.value!==void 0),h=L(()=>Array.from(i.keys())),v=L(()=>h.value[r.value.current]),p=L(()=>new Map(Array.from(i).filter(x=>{let[,{canPreview:$}]=x;return!!$}).map(x=>{let[$,{url:C}]=x;return[$,C]}))),g=function(x,$){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;i.set(x,{url:$,canPreview:C})},m=x=>{o.value=x},y=x=>{d.value=x},b=function(x,$){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const T=()=>{i.delete(x)};return i.set(x,{url:$,canPreview:C}),T},S=x=>{x==null||x.stopPropagation(),c(!1),y(null)};return Se(v,x=>{m(x)},{immediate:!0,flush:"post"}),Ye(()=>{u.value&&f.value&&m(v.value)},{flush:"post"}),r3.provide({isPreviewGroup:ae(!0),previewUrls:p,setPreviewUrls:g,current:o,setCurrent:m,setShowPreview:c,setMousePosition:y,registerImage:b}),()=>{const x=G4e(r.value,[]);return w(Qe,null,[n.default&&n.default(),w(fQ,z(z({},x),{},{"ria-hidden":!u.value,visible:u.value,prefixCls:e.previewPrefixCls,onClose:S,mousePosition:d.value,src:p.value.get(o.value),icons:e.icons,getContainer:l.value}),null)])}}}),dQ=U4e,Vu={x:0,y:0},X4e=_(_({},qw()),{src:String,alt:String,rootClassName:String,icons:{type:Object,default:()=>({})}}),Y4e=se({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:X4e,emits:["close","afterClose"],setup(e,t){let{emit:n,attrs:r}=t;const{rotateLeft:i,rotateRight:o,zoomIn:a,zoomOut:l,close:s,left:u,right:c,flipX:d,flipY:f}=Bt(e.icons),h=ae(1),v=ae(0),p=Bt({x:1,y:1}),[g,m]=W4e(Vu),y=()=>n("close"),b=ae(),S=Bt({originX:0,originY:0,deltaX:0,deltaY:0}),x=ae(!1),$=r3.inject(),{previewUrls:C,current:T,isPreviewGroup:I,setCurrent:P}=$,M=L(()=>C.value.size),O=L(()=>Array.from(C.value.keys())),D=L(()=>O.value.indexOf(T.value)),R=L(()=>I.value?C.value.get(T.value):e.src),A=L(()=>I.value&&M.value>1),E=ae({wheelDirection:0}),k=()=>{h.value=1,v.value=0,p.x=1,p.y=1,m(Vu),n("afterClose")},N=le=>{le?h.value+=.5:h.value++,m(Vu)},B=le=>{h.value>1&&(le?h.value-=.5:h.value--),m(Vu)},F=()=>{v.value+=90},H=()=>{v.value-=90},V=()=>{p.x=-p.x},X=()=>{p.y=-p.y},Q=le=>{le.preventDefault(),le.stopPropagation(),D.value>0&&P(O.value[D.value-1])},K=le=>{le.preventDefault(),le.stopPropagation(),D.valueN(),type:"zoomIn"},{icon:l,onClick:()=>B(),type:"zoomOut",disabled:L(()=>h.value===1)},{icon:o,onClick:F,type:"rotateRight"},{icon:i,onClick:H,type:"rotateLeft"},{icon:d,onClick:V,type:"flipX"},{icon:f,onClick:X,type:"flipY"}],G=()=>{if(e.visible&&x.value){const le=b.value.offsetWidth*h.value,ie=b.value.offsetHeight*h.value,{left:de,top:pe}=Q1(b.value),me=v.value%180!==0;x.value=!1;const he=j4e(me?ie:le,me?le:ie,de,pe);he&&m(_({},he))}},Y=le=>{le.button===0&&(le.preventDefault(),le.stopPropagation(),S.deltaX=le.pageX-g.x,S.deltaY=le.pageY-g.y,S.originX=g.x,S.originY=g.y,x.value=!0)},oe=le=>{e.visible&&x.value&&m({x:le.pageX-S.deltaX,y:le.pageY-S.deltaY})},W=le=>{if(!e.visible)return;le.preventDefault();const ie=le.deltaY;E.value={wheelDirection:ie}},Z=le=>{!e.visible||!A.value||(le.preventDefault(),le.keyCode===Pe.LEFT?D.value>0&&P(O.value[D.value-1]):le.keyCode===Pe.RIGHT&&D.value{e.visible&&(h.value!==1&&(h.value=1),(g.x!==Vu.x||g.y!==Vu.y)&&m(Vu))};let re=()=>{};return tt(()=>{Se([()=>e.visible,x],()=>{re();let le,ie;const de=bn(window,"mouseup",G,!1),pe=bn(window,"mousemove",oe,!1),me=bn(window,"wheel",W,{passive:!1}),he=bn(window,"keydown",Z,!1);try{window.top!==window.self&&(le=bn(window.top,"mouseup",G,!1),ie=bn(window.top,"mousemove",oe,!1))}catch(xe){}re=()=>{de.remove(),pe.remove(),me.remove(),he.remove(),le&&le.remove(),ie&&ie.remove()}},{flush:"post",immediate:!0}),Se([E],()=>{const{wheelDirection:le}=E.value;le>0?B(!0):le<0&&N(!0)})}),Jr(()=>{re()}),()=>{const{visible:le,prefixCls:ie,rootClassName:de}=e;return w(cQ,z(z({},r),{},{transitionName:e.transitionName,maskTransitionName:e.maskTransitionName,closable:!1,keyboard:!0,prefixCls:ie,onClose:y,afterClose:k,visible:le,wrapClassName:te,rootClassName:de,getContainer:e.getContainer}),{default:()=>[w("div",{class:[`${e.prefixCls}-operations-wrapper`,de]},[w("ul",{class:`${e.prefixCls}-operations`},[J.map(pe=>{let{icon:me,onClick:he,type:xe,disabled:Ce}=pe;return w("li",{class:ce(q,{[`${e.prefixCls}-operations-operation-disabled`]:Ce&&(Ce==null?void 0:Ce.value)}),onClick:he,key:xe},[cr(me,{class:ee})])})])]),w("div",{class:`${e.prefixCls}-img-wrapper`,style:{transform:`translate3d(${g.x}px, ${g.y}px, 0)`}},[w("img",{onMousedown:Y,onDblclick:ne,ref:b,class:`${e.prefixCls}-img`,src:R.value,alt:e.alt,style:{transform:`scale3d(${p.x*h.value}, ${p.y*h.value}, 1) rotate(${v.value}deg)`}},null)]),A.value&&w("div",{class:ce(`${e.prefixCls}-switch-left`,{[`${e.prefixCls}-switch-left-disabled`]:D.value<=0}),onClick:Q},[u]),A.value&&w("div",{class:ce(`${e.prefixCls}-switch-right`,{[`${e.prefixCls}-switch-right-disabled`]:D.value>=M.value-1}),onClick:K},[c])]})}}}),fQ=Y4e;var q4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,width:[Number,String],height:[Number,String],previewMask:{type:[Boolean,Function],default:void 0},placeholder:U.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}),vQ=(e,t)=>{const n=_({},e);return Object.keys(t).forEach(r=>{e[r]===void 0&&(n[r]=t[r])}),n};let Z4e=0;const pQ=se({compatConfig:{MODE:3},name:"VcImage",inheritAttrs:!1,props:hQ(),emits:["click","error"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=L(()=>e.prefixCls),a=L(()=>`${o.value}-preview`),l=L(()=>{const N={visible:void 0,onVisibleChange:()=>{},getContainer:void 0};return typeof e.preview=="object"?vQ(e.preview,N):N}),s=L(()=>{var N;return(N=l.value.src)!==null&&N!==void 0?N:e.src}),u=L(()=>e.placeholder&&e.placeholder!==!0||r.placeholder),c=L(()=>l.value.visible),d=L(()=>l.value.getContainer),f=L(()=>c.value!==void 0),h=(N,B)=>{var F,H;(H=(F=l.value).onVisibleChange)===null||H===void 0||H.call(F,N,B)},[v,p]=dn(!!c.value,{value:c,onChange:h}),g=ue(u.value?"loading":"normal");Se(()=>e.src,()=>{g.value=u.value?"loading":"normal"});const m=ue(null),y=L(()=>g.value==="error"),b=r3.inject(),{isPreviewGroup:S,setCurrent:x,setShowPreview:$,setMousePosition:C,registerImage:T}=b,I=ue(Z4e++),P=L(()=>e.preview&&!y.value),M=()=>{g.value="normal"},O=N=>{g.value="error",i("error",N)},D=N=>{if(!f.value){const{left:B,top:F}=Q1(N.target);S.value?(x(I.value),C({x:B,y:F})):m.value={x:B,y:F}}S.value?$(!0):p(!0),i("click",N)},R=()=>{p(!1),f.value||(m.value=null)},A=ue(null);Se(()=>A,()=>{g.value==="loading"&&A.value.complete&&(A.value.naturalWidth||A.value.naturalHeight)&&M()});let E=()=>{};tt(()=>{Se([s,P],()=>{if(E(),!S.value)return()=>{};E=T(I.value,s.value,P.value),P.value||E()},{flush:"post",immediate:!0})}),Jr(()=>{E()});const k=N=>uCe(N)?N+"px":N;return()=>{const{prefixCls:N,wrapperClassName:B,fallback:F,src:H,placeholder:V,wrapperStyle:X,rootClassName:Q,width:K,height:te,crossorigin:q,decoding:ee,alt:J,sizes:G,srcset:Y,usemap:oe,class:W,style:Z}=_(_({},e),n),ne=l.value,{icons:re,maskClassName:le}=ne,ie=q4e(ne,["icons","maskClassName"]),de=ce(N,B,Q,{[`${N}-error`]:y.value}),pe=y.value&&F?F:s.value,me={crossorigin:q,decoding:ee,alt:J,sizes:G,srcset:Y,usemap:oe,width:K,height:te,class:ce(`${N}-img`,{[`${N}-img-placeholder`]:V===!0},W),style:_({height:k(te)},Z)};return w(Qe,null,[w("div",{class:de,onClick:P.value?D:he=>{i("click",he)},style:_({width:k(K),height:k(te)},X)},[w("img",z(z(z({},me),y.value&&F?{src:F}:{onLoad:M,onError:O,src:H}),{},{ref:A}),null),g.value==="loading"&&w("div",{"aria-hidden":"true",class:`${N}-placeholder`},[V||r.placeholder&&r.placeholder()]),r.previewMask&&P.value&&w("div",{class:[`${N}-mask`,le]},[r.previewMask()])]),!S.value&&P.value&&w(fQ,z(z({},ie),{},{"aria-hidden":!v.value,visible:v.value,prefixCls:a.value,onClose:R,mousePosition:m.value,src:pe,alt:J,getContainer:d.value,icons:re,rootClassName:Q}),null)])}}});pQ.PreviewGroup=dQ;const Q4e=pQ;var J4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const eRe=J4e;function Ok(e){for(var t=1;t{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:_(_({},kk("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:_(_({},kk("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:wD(e)}]},yRe=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:_(_({},st(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:_({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Gl(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, +`,x4e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],f_={};let uo;function w4e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&f_[n])return f_[n];const r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:x4e.map(u=>`${u}:${r.getPropertyValue(u)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(f_[n]=s),s}function C4e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;uo||(uo=document.createElement("textarea"),uo.setAttribute("tab-index","-1"),uo.setAttribute("aria-hidden","true"),document.body.appendChild(uo)),e.getAttribute("wrap")?uo.setAttribute("wrap",e.getAttribute("wrap")):uo.removeAttribute("wrap");const{paddingSize:i,borderSize:o,boxSizing:a,sizingStyle:l}=w4e(e,t);uo.setAttribute("style",`${l};${S4e}`),uo.value=e.value||e.placeholder||"";let s,u,c,d=uo.scrollHeight;if(a==="border-box"?d+=o:a==="content-box"&&(d-=i),n!==null||r!==null){uo.value=" ";const h=uo.scrollHeight-i;n!==null&&(s=h*n,a==="border-box"&&(s=s+i+o),d=Math.max(s,d)),r!==null&&(u=h*r,a==="border-box"&&(u=u+i+o),c=d>u?"":"hidden",d=Math.min(u,d))}const f={height:`${d}px`,overflowY:c,resize:"none"};return s&&(f.minHeight=`${s}px`),u&&(f.maxHeight=`${u}px`),f}const h_=0,v_=1,p_=2,$4e=se({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:oQ(),setup(e,t){let{attrs:n,emit:r,expose:i}=t,o,a;const l=ue(),s=ue({}),u=ue(p_);ht(()=>{dt.cancel(o),dt.cancel(a)});const c=()=>{try{if(l.value&&document.activeElement===l.value.input){const $=l.value.getSelectionStart(),C=l.value.getSelectionEnd(),T=l.value.getScrollTop();l.value.setSelectionRange($,C),l.value.setScrollTop(T)}}catch($){}},d=ue(),f=ue();Ye(()=>{const $=e.autoSize||e.autosize;$?(d.value=$.minRows,f.value=$.maxRows):(d.value=void 0,f.value=void 0)});const h=L(()=>!!(e.autoSize||e.autosize)),v=()=>{u.value=h_};Se([()=>e.value,d,f,h],()=>{h.value&&v()},{immediate:!0});const p=ue();Se([u,l],()=>{if(l.value)if(u.value===h_)u.value=v_;else if(u.value===v_){const $=C4e(l.value.input,!1,d.value,f.value);u.value=p_,p.value=$}else c()},{immediate:!0,flush:"post"});const g=gr(),m=ue(),y=()=>{dt.cancel(m.value)},b=$=>{u.value===p_&&(r("resize",$),h.value&&(y(),m.value=dt(()=>{v()})))};ht(()=>{y()}),i({resizeTextarea:()=>{v()},textArea:L(()=>{var $;return($=l.value)===null||$===void 0?void 0:$.input}),instance:g}),vn(e.autosize===void 0);const x=()=>{const{prefixCls:$,disabled:C}=e,T=yt(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","maxlength","valueModifiers"]),I=ce($,n.class,{[`${$}-disabled`]:C}),P=h.value?p.value:null,M=[n.style,s.value,P],O=_(_(_({},T),n),{style:M,class:I});return(u.value===h_||u.value===v_)&&M.push({overflowX:"hidden",overflowY:"hidden"}),O.autofocus||delete O.autofocus,O.rows===0&&delete O.rows,w(Ao,{onResize:b,disabled:!h.value},{default:()=>[w(tv,z(z({},O),{},{ref:l,tag:"textarea"}),null)]})};return()=>x()}}),_4e=$4e;function sQ(e,t){return[...e||""].slice(0,t).join("")}function wk(e,t,n,r){let i=n;return e?i=sQ(n,r):[...t||""].lengthr&&(i=t),i}const JE=se({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:oQ(),setup(e,t){let{attrs:n,expose:r,emit:i}=t;var o;const a=Xn(),l=fr.useInject(),s=L(()=>va(l.status,e.status)),u=ae((o=e.value)!==null&&o!==void 0?o:e.defaultValue),c=ae(),d=ae(""),{prefixCls:f,size:h,direction:v}=Ee("input",e),[p,g]=SE(f),m=Ai(),y=L(()=>e.showCount===""||e.showCount||!1),b=L(()=>Number(e.maxlength)>0),S=ae(!1),x=ae(),$=ae(0),C=B=>{S.value=!0,x.value=d.value,$.value=B.currentTarget.selectionStart,i("compositionstart",B)},T=B=>{var F;S.value=!1;let H=B.currentTarget.value;if(b.value){const V=$.value>=e.maxlength+1||$.value===((F=x.value)===null||F===void 0?void 0:F.length);H=wk(V,x.value,H,e.maxlength)}H!==d.value&&(O(H),ag(B.currentTarget,B,A,H)),i("compositionend",B)},I=gr();Se(()=>e.value,()=>{var B;"value"in I.vnode.props,u.value=(B=e.value)!==null&&B!==void 0?B:""});const P=B=>{var F;tQ((F=c.value)===null||F===void 0?void 0:F.textArea,B)},M=()=>{var B,F;(F=(B=c.value)===null||B===void 0?void 0:B.textArea)===null||F===void 0||F.blur()},O=(B,F)=>{u.value!==B&&(e.value===void 0?u.value=B:_t(()=>{var H,V,X;c.value.textArea.value!==d.value&&((X=(H=c.value)===null||H===void 0?void 0:(V=H.instance).update)===null||X===void 0||X.call(V))}),_t(()=>{F&&F()}))},D=B=>{B.keyCode===13&&i("pressEnter",B),i("keydown",B)},R=B=>{const{onBlur:F}=e;F==null||F(B),a.onFieldBlur()},A=B=>{i("update:value",B.target.value),i("change",B),i("input",B),a.onFieldChange()},E=B=>{ag(c.value.textArea,B,A),O("",()=>{P()})},k=B=>{let F=B.target.value;if(u.value!==F){if(b.value){const H=B.target,V=H.selectionStart>=e.maxlength+1||H.selectionStart===F.length||!H.selectionStart;F=wk(V,d.value,F,e.maxlength)}ag(B.currentTarget,B,A,F),O(F)}},N=()=>{var B,F;const{class:H}=n,{bordered:V=!0}=e,X=_(_(_({},yt(e,["allowClear"])),n),{class:[{[`${f.value}-borderless`]:!V,[`${H}`]:H&&!y.value,[`${f.value}-sm`]:h.value==="small",[`${f.value}-lg`]:h.value==="large"},Kr(f.value,s.value),g.value],disabled:m.value,showCount:null,prefixCls:f.value,onInput:k,onChange:k,onBlur:R,onKeydown:D,onCompositionstart:C,onCompositionend:T});return!((B=e.valueModifiers)===null||B===void 0)&&B.lazy&&delete X.onInput,w(_4e,z(z({},X),{},{id:(F=X==null?void 0:X.id)!==null&&F!==void 0?F:a.id.value,ref:c,maxlength:e.maxlength,lazy:e.lazy}),null)};return r({focus:P,blur:M,resizableTextArea:c}),Ye(()=>{let B=MP(u.value);!S.value&&b.value&&(e.value===null||e.value===void 0)&&(B=sQ(B,e.maxlength)),d.value=B}),()=>{var B;const{maxlength:F,bordered:H=!0,hidden:V}=e,{style:X,class:Q}=n,K=_(_(_({},e),n),{prefixCls:f.value,inputType:"text",handleReset:E,direction:v.value,bordered:H,style:y.value?void 0:X,hashId:g.value,disabled:(B=e.disabled)!==null&&B!==void 0?B:m.value});let te=w(b4e,z(z({},K),{},{value:d.value,status:e.status}),{element:N});if(y.value||l.hasFeedback){const q=[...d.value].length;let ee="";typeof y.value=="object"?ee=y.value.formatter({value:d.value,count:q,maxlength:F}):ee=`${q}${b.value?` / ${F}`:""}`,te=w("div",{hidden:V,class:ce(`${f.value}-textarea`,{[`${f.value}-textarea-rtl`]:v.value==="rtl",[`${f.value}-textarea-show-count`]:y.value,[`${f.value}-textarea-in-form-item`]:l.isFormItemInput},`${f.value}-textarea-show-count`,Q,g.value),style:X,"data-count":typeof ee!="object"?ee:void 0},[te,l.hasFeedback&&w("span",{class:`${f.value}-textarea-suffix`},[l.feedbackIcon])])}return p(te)}}});var T4e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const I4e=T4e;function Ck(e){for(var t=1;tw(e?t3:D4e,null,null),uQ=se({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:_(_({},QE()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:r,expose:i,emit:o}=t;const a=ae(!1),l=()=>{const{disabled:g}=e;g||(a.value=!a.value,o("update:visible",a.value))};Ye(()=>{e.visible!==void 0&&(a.value=!!e.visible)});const s=ae();i({focus:()=>{var g;(g=s.value)===null||g===void 0||g.focus()},blur:()=>{var g;(g=s.value)===null||g===void 0||g.blur()}});const d=g=>{const{action:m,iconRender:y=n.iconRender||L4e}=e,b=R4e[m]||"",S=y(a.value),x={[b]:l,class:`${g}-icon`,key:"passwordIcon",onMousedown:$=>{$.preventDefault()},onMouseup:$=>{$.preventDefault()}};return Nt(zn(S)?S:w("span",null,[S]),x)},{prefixCls:f,getPrefixCls:h}=Ee("input-password",e),v=L(()=>h("input",e.inputPrefixCls)),p=()=>{const{size:g,visibilityToggle:m}=e,y=E4e(e,["size","visibilityToggle"]),b=m&&d(f.value),S=ce(f.value,r.class,{[`${f.value}-${g}`]:!!g}),x=_(_(_({},yt(y,["suffix","iconRender","action"])),r),{type:a.value?"text":"password",class:S,prefixCls:v.value,suffix:b});return g&&(x.size=g),w(Jn,z({ref:s},x),n)};return()=>p()}});Jn.Group=aQ;Jn.Search=lQ;Jn.TextArea=JE;Jn.Password=uQ;Jn.install=function(e){return e.component(Jn.name,Jn),e.component(Jn.Group.name,Jn.Group),e.component(Jn.Search.name,Jn.Search),e.component(Jn.TextArea.name,Jn.TextArea),e.component(Jn.Password.name,Jn.Password),e};function qw(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:U.shape({x:Number,y:Number}).loose,title:U.any,footer:U.any,transitionName:String,maskTransitionName:String,animation:U.any,maskAnimation:U.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:U.any,maskProps:U.any,wrapProps:U.any,getContainer:U.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:U.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function _k(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}let Tk=-1;function N4e(){return Tk+=1,Tk}function Ik(e,t){let n=e[`page${t?"Y":"X"}Offset`];const r=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function k4e(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=Ik(i),n.top+=Ik(i,!0),n}const B4e={width:0,height:0,overflow:"hidden",outline:"none"},F4e={outline:"none"},z4e=se({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:_(_({},qw()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:r,attrs:i}=t;const o=ue(),a=ue(),l=ue();n({focus:()=>{var f;(f=o.value)===null||f===void 0||f.focus({preventScroll:!0})},changeActive:f=>{const{activeElement:h}=document;f&&h===a.value?o.value.focus({preventScroll:!0}):!f&&h===o.value&&a.value.focus({preventScroll:!0})}});const s=ue(),u=L(()=>{const{width:f,height:h}=e,v={};return f!==void 0&&(v.width=typeof f=="number"?`${f}px`:f),h!==void 0&&(v.height=typeof h=="number"?`${h}px`:h),s.value&&(v.transformOrigin=s.value),v}),c=()=>{_t(()=>{if(l.value){const f=k4e(l.value);s.value=e.mousePosition?`${e.mousePosition.x-f.left}px ${e.mousePosition.y-f.top}px`:""}})},d=f=>{e.onVisibleChanged(f)};return()=>{var f,h,v,p;const{prefixCls:g,footer:m=(f=r.footer)===null||f===void 0?void 0:f.call(r),title:y=(h=r.title)===null||h===void 0?void 0:h.call(r),ariaId:b,closable:S,closeIcon:x=(v=r.closeIcon)===null||v===void 0?void 0:v.call(r),onClose:$,bodyStyle:C,bodyProps:T,onMousedown:I,onMouseup:P,visible:M,modalRender:O=r.modalRender,destroyOnClose:D,motionName:R}=e;let A;m&&(A=w("div",{class:`${g}-footer`},[m]));let E;y&&(E=w("div",{class:`${g}-header`},[w("div",{class:`${g}-title`,id:b},[y])]));let k;S&&(k=w("button",{type:"button",onClick:$,"aria-label":"Close",class:`${g}-close`},[x||w("span",{class:`${g}-close-x`},null)]));const N=w("div",{class:`${g}-content`},[k,E,w("div",z({class:`${g}-body`,style:C},T),[(p=r.default)===null||p===void 0?void 0:p.call(r)]),A]),B=Eo(R);return w(dr,z(z({},B),{},{onBeforeEnter:c,onAfterEnter:()=>d(!0),onAfterLeave:()=>d(!1)}),{default:()=>[M||!D?Ur(w("div",z(z({},i),{},{ref:l,key:"dialog-element",role:"document",style:[u.value,i.style],class:[g,i.class],onMousedown:I,onMouseup:P}),[w("div",{tabindex:0,ref:o,style:F4e},[O?O({originVNode:N}):N]),w("div",{tabindex:0,ref:a,style:B4e},null)]),[[hi,M]]):null]})}}}),H4e=se({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:r,maskProps:i,motionName:o}=e,a=Eo(o);return w(dr,a,{default:()=>[Ur(w("div",z({class:`${n}-mask`},i),null),[[hi,r]])]})}}}),Pk=se({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:ft(_(_({},qw()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:r}=t;const i=ae(),o=ae(),a=ae(),l=ae(e.visible),s=ae(`vcDialogTitle${N4e()}`),u=m=>{var y,b;if(m)zs(o.value,document.activeElement)||(i.value=document.activeElement,(y=a.value)===null||y===void 0||y.focus());else{const S=l.value;if(l.value=!1,e.mask&&i.value&&e.focusTriggerAfterClose){try{i.value.focus({preventScroll:!0})}catch(x){}i.value=null}S&&((b=e.afterClose)===null||b===void 0||b.call(e))}},c=m=>{var y;(y=e.onClose)===null||y===void 0||y.call(e,m)},d=ae(!1),f=ae(),h=()=>{clearTimeout(f.value),d.value=!0},v=()=>{f.value=setTimeout(()=>{d.value=!1})},p=m=>{if(!e.maskClosable)return null;d.value?d.value=!1:o.value===m.target&&c(m)},g=m=>{if(e.keyboard&&m.keyCode===Pe.ESC){m.stopPropagation(),c(m);return}e.visible&&m.keyCode===Pe.TAB&&a.value.changeActive(!m.shiftKey)};return Se(()=>e.visible,()=>{e.visible&&(l.value=!0)},{flush:"post"}),ht(()=>{var m;clearTimeout(f.value),(m=e.scrollLocker)===null||m===void 0||m.unLock()}),Ye(()=>{var m,y;(m=e.scrollLocker)===null||m===void 0||m.unLock(),l.value&&((y=e.scrollLocker)===null||y===void 0||y.lock())}),()=>{const{prefixCls:m,mask:y,visible:b,maskTransitionName:S,maskAnimation:x,zIndex:$,wrapClassName:C,rootClassName:T,wrapStyle:I,closable:P,maskProps:M,maskStyle:O,transitionName:D,animation:R,wrapProps:A,title:E=r.title}=e,{style:k,class:N}=n;return w("div",z({class:[`${m}-root`,T]},Mu(e,{data:!0})),[w(H4e,{prefixCls:m,visible:y&&b,motionName:_k(m,S,x),style:_({zIndex:$},O),maskProps:M},null),w("div",z({tabIndex:-1,onKeydown:g,class:ce(`${m}-wrap`,C),ref:o,onClick:p,role:"dialog","aria-labelledby":E?s.value:null,style:_(_({zIndex:$},I),{display:l.value?null:"none"})},A),[w(z4e,z(z({},yt(e,["scrollLocker"])),{},{style:k,class:N,onMousedown:h,onMouseup:v,ref:a,closable:P,ariaId:s.value,prefixCls:m,visible:b,onClose:c,onVisibleChanged:u,motionName:_k(m,D,R)}),r)])])}}}),V4e=qw(),W4e=se({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:ft(V4e,{visible:!1}),setup(e,t){let{attrs:n,slots:r}=t;const i=ue(e.visible);return KO({},{inTriggerContext:!1}),Se(()=>e.visible,()=>{e.visible&&(i.value=!0)},{flush:"post"}),()=>{const{visible:o,getContainer:a,forceRender:l,destroyOnClose:s=!1,afterClose:u}=e;let c=_(_(_({},e),n),{ref:"_component",key:"dialog"});return a===!1?w(Pk,z(z({},c),{},{getOpenCount:()=>2}),r):!l&&s&&!i.value?null:w(Fm,{autoLock:!0,visible:o,forceRender:l,getContainer:a},{default:d=>(c=_(_(_({},c),d),{afterClose:()=>{u==null||u(),i.value=!1}}),w(Pk,c,r))})}}}),cQ=W4e;function j4e(e){const t=ue(null),n=Bt(_({},e)),r=ue([]),i=o=>{t.value===null&&(r.value=[],t.value=dt(()=>{let a;r.value.forEach(l=>{a=_(_({},a),l)}),_(n,a),t.value=null})),r.value.push(o)};return tt(()=>{t.value&&dt.cancel(t.value)}),[n,i]}function Mk(e,t,n,r){const i=t+n,o=(n-r)/2;if(n>r){if(t>0)return{[e]:o};if(t<0&&ir)return{[e]:t<0?o:-o};return{}}function G4e(e,t,n,r){const{width:i,height:o}=R0e();let a=null;return e<=i&&t<=o?a={x:0,y:0}:(e>i||t>o)&&(a=_(_({},Mk("x",n,e,i)),Mk("y",r,t,o))),a}var K4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{at(Ak,e)},inject:()=>Je(Ak,{isPreviewGroup:ae(!1),previewUrls:L(()=>new Map),setPreviewUrls:()=>{},current:ue(null),setCurrent:()=>{},setShowPreview:()=>{},setMousePosition:()=>{},registerImage:null,rootClassName:""})},U4e=()=>({previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:()=>({})}}),X4e=se({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:U4e(),setup(e,t){let{slots:n}=t;const r=L(()=>{const x={visible:void 0,onVisibleChange:()=>{},getContainer:void 0,current:0};return typeof e.preview=="object"?vQ(e.preview,x):x}),i=Bt(new Map),o=ue(),a=L(()=>r.value.visible),l=L(()=>r.value.getContainer),s=(x,$)=>{var C,T;(T=(C=r.value).onVisibleChange)===null||T===void 0||T.call(C,x,$)},[u,c]=dn(!!a.value,{value:a,onChange:s}),d=ue(null),f=L(()=>a.value!==void 0),h=L(()=>Array.from(i.keys())),v=L(()=>h.value[r.value.current]),p=L(()=>new Map(Array.from(i).filter(x=>{let[,{canPreview:$}]=x;return!!$}).map(x=>{let[$,{url:C}]=x;return[$,C]}))),g=function(x,$){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;i.set(x,{url:$,canPreview:C})},m=x=>{o.value=x},y=x=>{d.value=x},b=function(x,$){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const T=()=>{i.delete(x)};return i.set(x,{url:$,canPreview:C}),T},S=x=>{x==null||x.stopPropagation(),c(!1),y(null)};return Se(v,x=>{m(x)},{immediate:!0,flush:"post"}),Ye(()=>{u.value&&f.value&&m(v.value)},{flush:"post"}),r3.provide({isPreviewGroup:ae(!0),previewUrls:p,setPreviewUrls:g,current:o,setCurrent:m,setShowPreview:c,setMousePosition:y,registerImage:b}),()=>{const x=K4e(r.value,[]);return w(Qe,null,[n.default&&n.default(),w(fQ,z(z({},x),{},{"ria-hidden":!u.value,visible:u.value,prefixCls:e.previewPrefixCls,onClose:S,mousePosition:d.value,src:p.value.get(o.value),icons:e.icons,getContainer:l.value}),null)])}}}),dQ=X4e,Vu={x:0,y:0},Y4e=_(_({},qw()),{src:String,alt:String,rootClassName:String,icons:{type:Object,default:()=>({})}}),q4e=se({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:Y4e,emits:["close","afterClose"],setup(e,t){let{emit:n,attrs:r}=t;const{rotateLeft:i,rotateRight:o,zoomIn:a,zoomOut:l,close:s,left:u,right:c,flipX:d,flipY:f}=Bt(e.icons),h=ae(1),v=ae(0),p=Bt({x:1,y:1}),[g,m]=j4e(Vu),y=()=>n("close"),b=ae(),S=Bt({originX:0,originY:0,deltaX:0,deltaY:0}),x=ae(!1),$=r3.inject(),{previewUrls:C,current:T,isPreviewGroup:I,setCurrent:P}=$,M=L(()=>C.value.size),O=L(()=>Array.from(C.value.keys())),D=L(()=>O.value.indexOf(T.value)),R=L(()=>I.value?C.value.get(T.value):e.src),A=L(()=>I.value&&M.value>1),E=ae({wheelDirection:0}),k=()=>{h.value=1,v.value=0,p.x=1,p.y=1,m(Vu),n("afterClose")},N=le=>{le?h.value+=.5:h.value++,m(Vu)},B=le=>{h.value>1&&(le?h.value-=.5:h.value--),m(Vu)},F=()=>{v.value+=90},H=()=>{v.value-=90},V=()=>{p.x=-p.x},X=()=>{p.y=-p.y},Q=le=>{le.preventDefault(),le.stopPropagation(),D.value>0&&P(O.value[D.value-1])},K=le=>{le.preventDefault(),le.stopPropagation(),D.valueN(),type:"zoomIn"},{icon:l,onClick:()=>B(),type:"zoomOut",disabled:L(()=>h.value===1)},{icon:o,onClick:F,type:"rotateRight"},{icon:i,onClick:H,type:"rotateLeft"},{icon:d,onClick:V,type:"flipX"},{icon:f,onClick:X,type:"flipY"}],G=()=>{if(e.visible&&x.value){const le=b.value.offsetWidth*h.value,ie=b.value.offsetHeight*h.value,{left:de,top:pe}=Q1(b.value),me=v.value%180!==0;x.value=!1;const he=G4e(me?ie:le,me?le:ie,de,pe);he&&m(_({},he))}},Y=le=>{le.button===0&&(le.preventDefault(),le.stopPropagation(),S.deltaX=le.pageX-g.x,S.deltaY=le.pageY-g.y,S.originX=g.x,S.originY=g.y,x.value=!0)},oe=le=>{e.visible&&x.value&&m({x:le.pageX-S.deltaX,y:le.pageY-S.deltaY})},W=le=>{if(!e.visible)return;le.preventDefault();const ie=le.deltaY;E.value={wheelDirection:ie}},Z=le=>{!e.visible||!A.value||(le.preventDefault(),le.keyCode===Pe.LEFT?D.value>0&&P(O.value[D.value-1]):le.keyCode===Pe.RIGHT&&D.value{e.visible&&(h.value!==1&&(h.value=1),(g.x!==Vu.x||g.y!==Vu.y)&&m(Vu))};let re=()=>{};return tt(()=>{Se([()=>e.visible,x],()=>{re();let le,ie;const de=bn(window,"mouseup",G,!1),pe=bn(window,"mousemove",oe,!1),me=bn(window,"wheel",W,{passive:!1}),he=bn(window,"keydown",Z,!1);try{window.top!==window.self&&(le=bn(window.top,"mouseup",G,!1),ie=bn(window.top,"mousemove",oe,!1))}catch(xe){}re=()=>{de.remove(),pe.remove(),me.remove(),he.remove(),le&&le.remove(),ie&&ie.remove()}},{flush:"post",immediate:!0}),Se([E],()=>{const{wheelDirection:le}=E.value;le>0?B(!0):le<0&&N(!0)})}),Jr(()=>{re()}),()=>{const{visible:le,prefixCls:ie,rootClassName:de}=e;return w(cQ,z(z({},r),{},{transitionName:e.transitionName,maskTransitionName:e.maskTransitionName,closable:!1,keyboard:!0,prefixCls:ie,onClose:y,afterClose:k,visible:le,wrapClassName:te,rootClassName:de,getContainer:e.getContainer}),{default:()=>[w("div",{class:[`${e.prefixCls}-operations-wrapper`,de]},[w("ul",{class:`${e.prefixCls}-operations`},[J.map(pe=>{let{icon:me,onClick:he,type:xe,disabled:Ce}=pe;return w("li",{class:ce(q,{[`${e.prefixCls}-operations-operation-disabled`]:Ce&&(Ce==null?void 0:Ce.value)}),onClick:he,key:xe},[cr(me,{class:ee})])})])]),w("div",{class:`${e.prefixCls}-img-wrapper`,style:{transform:`translate3d(${g.x}px, ${g.y}px, 0)`}},[w("img",{onMousedown:Y,onDblclick:ne,ref:b,class:`${e.prefixCls}-img`,src:R.value,alt:e.alt,style:{transform:`scale3d(${p.x*h.value}, ${p.y*h.value}, 1) rotate(${v.value}deg)`}},null)]),A.value&&w("div",{class:ce(`${e.prefixCls}-switch-left`,{[`${e.prefixCls}-switch-left-disabled`]:D.value<=0}),onClick:Q},[u]),A.value&&w("div",{class:ce(`${e.prefixCls}-switch-right`,{[`${e.prefixCls}-switch-right-disabled`]:D.value>=M.value-1}),onClick:K},[c])]})}}}),fQ=q4e;var Z4e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,width:[Number,String],height:[Number,String],previewMask:{type:[Boolean,Function],default:void 0},placeholder:U.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}),vQ=(e,t)=>{const n=_({},e);return Object.keys(t).forEach(r=>{e[r]===void 0&&(n[r]=t[r])}),n};let Q4e=0;const pQ=se({compatConfig:{MODE:3},name:"VcImage",inheritAttrs:!1,props:hQ(),emits:["click","error"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=L(()=>e.prefixCls),a=L(()=>`${o.value}-preview`),l=L(()=>{const N={visible:void 0,onVisibleChange:()=>{},getContainer:void 0};return typeof e.preview=="object"?vQ(e.preview,N):N}),s=L(()=>{var N;return(N=l.value.src)!==null&&N!==void 0?N:e.src}),u=L(()=>e.placeholder&&e.placeholder!==!0||r.placeholder),c=L(()=>l.value.visible),d=L(()=>l.value.getContainer),f=L(()=>c.value!==void 0),h=(N,B)=>{var F,H;(H=(F=l.value).onVisibleChange)===null||H===void 0||H.call(F,N,B)},[v,p]=dn(!!c.value,{value:c,onChange:h}),g=ue(u.value?"loading":"normal");Se(()=>e.src,()=>{g.value=u.value?"loading":"normal"});const m=ue(null),y=L(()=>g.value==="error"),b=r3.inject(),{isPreviewGroup:S,setCurrent:x,setShowPreview:$,setMousePosition:C,registerImage:T}=b,I=ue(Q4e++),P=L(()=>e.preview&&!y.value),M=()=>{g.value="normal"},O=N=>{g.value="error",i("error",N)},D=N=>{if(!f.value){const{left:B,top:F}=Q1(N.target);S.value?(x(I.value),C({x:B,y:F})):m.value={x:B,y:F}}S.value?$(!0):p(!0),i("click",N)},R=()=>{p(!1),f.value||(m.value=null)},A=ue(null);Se(()=>A,()=>{g.value==="loading"&&A.value.complete&&(A.value.naturalWidth||A.value.naturalHeight)&&M()});let E=()=>{};tt(()=>{Se([s,P],()=>{if(E(),!S.value)return()=>{};E=T(I.value,s.value,P.value),P.value||E()},{flush:"post",immediate:!0})}),Jr(()=>{E()});const k=N=>cCe(N)?N+"px":N;return()=>{const{prefixCls:N,wrapperClassName:B,fallback:F,src:H,placeholder:V,wrapperStyle:X,rootClassName:Q,width:K,height:te,crossorigin:q,decoding:ee,alt:J,sizes:G,srcset:Y,usemap:oe,class:W,style:Z}=_(_({},e),n),ne=l.value,{icons:re,maskClassName:le}=ne,ie=Z4e(ne,["icons","maskClassName"]),de=ce(N,B,Q,{[`${N}-error`]:y.value}),pe=y.value&&F?F:s.value,me={crossorigin:q,decoding:ee,alt:J,sizes:G,srcset:Y,usemap:oe,width:K,height:te,class:ce(`${N}-img`,{[`${N}-img-placeholder`]:V===!0},W),style:_({height:k(te)},Z)};return w(Qe,null,[w("div",{class:de,onClick:P.value?D:he=>{i("click",he)},style:_({width:k(K),height:k(te)},X)},[w("img",z(z(z({},me),y.value&&F?{src:F}:{onLoad:M,onError:O,src:H}),{},{ref:A}),null),g.value==="loading"&&w("div",{"aria-hidden":"true",class:`${N}-placeholder`},[V||r.placeholder&&r.placeholder()]),r.previewMask&&P.value&&w("div",{class:[`${N}-mask`,le]},[r.previewMask()])]),!S.value&&P.value&&w(fQ,z(z({},ie),{},{"aria-hidden":!v.value,visible:v.value,prefixCls:a.value,onClose:R,mousePosition:m.value,src:pe,alt:J,getContainer:d.value,icons:re,rootClassName:Q}),null)])}}});pQ.PreviewGroup=dQ;const J4e=pQ;var eRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const tRe=eRe;function Ok(e){for(var t=1;t{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:_(_({},kk("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:_(_({},kk("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:wD(e)}]},bRe=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:_(_({},st(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:_({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Kl(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},bRe=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:_({},aa()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, - ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},SRe=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},xRe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},wRe=it("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,i=Ue(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:r,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:r*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[yRe(i),bRe(i),SRe(i),gQ(i),e.wireframe&&xRe(i),iv(i,"zoom")]}),AP=e=>({position:e||"absolute",inset:0}),CRe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new zt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:_(_({},Hn),{padding:`0 ${r}px`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},$Re=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,previewOperationColorDisabled:i,motionDurationSlow:o}=e,a=new zt(n).setAlpha(.1),l=a.clone().setAlpha(.2);return{[`${t}-operations`]:_(_({},st(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.previewOperationColor,listStyle:"none",background:a.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{color:i,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.previewOperationSize}})}},_Re=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,l=new zt(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:o+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,pointerEvents:"auto",userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},TRe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:_(_({},AP()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":_(_({},AP()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[$Re(e),_Re(e)]}]},IRe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:_({},CRe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:_({},AP())}}},PRe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:iv(e,"zoom"),"&":wD(e,!0)}},mQ=it("Image",e=>{const t=`${e.componentCls}-preview`,n=Ue(e,{previewCls:t,modalMaskBg:new zt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[IRe(n),TRe(n),gQ(Ue(n,{componentCls:t})),PRe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new zt(e.colorTextLightSolid).toRgbString(),previewOperationColorDisabled:new zt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),yQ={rotateLeft:w(nRe,null,null),rotateRight:w(aRe,null,null),zoomIn:w(cRe,null,null),zoomOut:w(vRe,null,null),close:w(Ei,null,null),left:w(vu,null,null),right:w(ua,null,null),flipX:w(Nk,null,null),flipY:w(Nk,{rotate:90},null)},MRe=()=>({previewPrefixCls:String,preview:tn()}),ARe=se({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:MRe(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,rootPrefixCls:o}=Ee("image",e),a=L(()=>`${i.value}-preview`),[l,s]=mQ(i),u=L(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return _(_({},d),{rootClassName:s.value,transitionName:Yr(o.value,"zoom",d.transitionName),maskTransitionName:Yr(o.value,"fade",d.maskTransitionName)})});return()=>l(w(dQ,z(z({},_(_({},n),e)),{},{preview:u.value,icons:yQ,previewPrefixCls:a.value}),r))}}),bQ=ARe,Mc=se({name:"AImage",inheritAttrs:!1,props:hQ(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,rootPrefixCls:o,configProvider:a}=Ee("image",e),[l,s]=mQ(i),u=L(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return _(_({icons:yQ},d),{transitionName:Yr(o.value,"zoom",d.transitionName),maskTransitionName:Yr(o.value,"fade",d.maskTransitionName)})});return()=>{var c,d;const f=((d=(c=a.locale)===null||c===void 0?void 0:c.value)===null||d===void 0?void 0:d.Image)||vi.Image,h=()=>w("div",{class:`${i.value}-mask-info`},[w(t3,null,null),f==null?void 0:f.preview]),{previewMask:v=n.previewMask||h}=e;return l(w(Q4e,z(z({},_(_(_({},r),e),{prefixCls:i.value})),{},{preview:u.value,rootClassName:ce(e.rootClassName,s.value)}),_(_({},n),{previewMask:typeof v=="function"?v:null})))}}});Mc.PreviewGroup=bQ;Mc.install=function(e){return e.component(Mc.name,Mc),e.component(Mc.PreviewGroup.name,Mc.PreviewGroup),e};const ORe=Mc;var DRe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const ERe=DRe;function Bk(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(OP()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new Ac(Number.MAX_SAFE_INTEGER);if(r0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":d3(this.number):this.origin}}class Gf{constructor(t){if(this.origin="",SQ(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(c3(n)&&(n=Number(n)),n=typeof n=="string"?n:d3(n),f3(n)){const r=ag(n);this.negative=r.negative;const i=r.trimStr.split(".");this.integer=BigInt(i[0]);const o=i[1]||"0";this.decimal=BigInt(o),this.decimalLen=o.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new Gf(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new Gf(t);const n=new Gf(t);if(n.isInvalidate())return this;const r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),i=this.alignDecimal(r),o=n.alignDecimal(r),a=(i+o).toString(),{negativeStr:l,trimStr:s}=ag(a),u=`${l}${s.padStart(r+1,"0")}`;return new Gf(`${u.slice(0,-r)}.${u.slice(-r)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":ag(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function Ma(e){return OP()?new Gf(e):new Ac(e)}function DP(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:i,integerStr:o,decimalStr:a}=ag(e),l=`${t}${a}`,s=`${i}${o}`;if(n>=0){const u=Number(a[n]);if(u>=5&&!r){const c=Ma(e).add(`${i}0.${"0".repeat(n)}${10-u}`);return DP(c.toString(),t,n,r)}return n===0?s:`${s}${t}${a.padEnd(n,"0").slice(0,n)}`}return l===".0"?s:`${s}${l}`}const NRe=200,kRe=600,BRe=se({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:be()},slots:Object,setup(e,t){let{slots:n,emit:r}=t;const i=ue(),o=(l,s)=>{l.preventDefault(),r("step",s);function u(){r("step",s),i.value=setTimeout(u,NRe)}i.value=setTimeout(u,kRe)},a=()=>{clearTimeout(i.value)};return ht(()=>{a()}),()=>{if(XO())return null;const{prefixCls:l,upDisabled:s,downDisabled:u}=e,c=`${l}-handler`,d=ce(c,`${c}-up`,{[`${c}-up-disabled`]:s}),f=ce(c,`${c}-down`,{[`${c}-down-disabled`]:u}),h={unselectable:"on",role:"button",onMouseup:a,onMouseleave:a},{upNode:v,downNode:p}=n;return w("div",{class:`${c}-wrap`},[w("span",z(z({},h),{},{onMousedown:g=>{o(g,!0)},"aria-label":"Increase Value","aria-disabled":s,class:d}),[(v==null?void 0:v())||w("span",{unselectable:"on",class:`${l}-handler-up-inner`},null)]),w("span",z(z({},h),{},{onMousedown:g=>{o(g,!1)},"aria-label":"Decrease Value","aria-disabled":u,class:f}),[(p==null?void 0:p())||w("span",{unselectable:"on",class:`${l}-handler-down-inner`},null)])])}}});function FRe(e,t){const n=ue(null);function r(){try{const{selectionStart:o,selectionEnd:a,value:l}=e.value,s=l.substring(0,o),u=l.substring(a);n.value={start:o,end:a,value:l,beforeTxt:s,afterTxt:u}}catch(o){}}function i(){if(e.value&&n.value&&t.value)try{const{value:o}=e.value,{beforeTxt:a,afterTxt:l,start:s}=n.value;let u=o.length;if(o.endsWith(l))u=o.length-n.value.afterTxt.length;else if(o.startsWith(a))u=a.length;else{const c=a[s-1],d=o.indexOf(c,s-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}catch(o){`${o.message}`}}return[r,i]}const zRe=()=>{const e=ae(0),t=()=>{dt.cancel(e.value)};return ht(()=>{t()}),n=>{t(),e.value=dt(()=>{n()})}};var HRe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie||t.isEmpty()?t.toString():t.toNumber(),zk=e=>{const t=Ma(e);return t.isInvalidate()?null:t},xQ=()=>({stringMode:$e(),defaultValue:Xe([String,Number]),value:Xe([String,Number]),prefixCls:je(),min:Xe([String,Number]),max:Xe([String,Number]),step:Xe([String,Number],1),tabindex:Number,controls:$e(!0),readonly:$e(),disabled:$e(),autofocus:$e(),keyboard:$e(!0),parser:be(),formatter:be(),precision:Number,decimalSeparator:String,onInput:be(),onChange:be(),onPressEnter:be(),onStep:be(),onBlur:be(),onFocus:be()}),VRe=se({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:_(_({},xQ()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;const a=ae(),l=ae(!1),s=ae(!1),u=ae(!1),c=ae(Ma(e.value));function d(V){e.value===void 0&&(c.value=V)}const f=(V,X)=>{if(!X)return e.precision>=0?e.precision:Math.max(Jg(V),Jg(e.step))},h=V=>{const X=String(V);if(e.parser)return e.parser(X);let Q=X;return e.decimalSeparator&&(Q=Q.replace(e.decimalSeparator,".")),Q.replace(/[^\w.-]+/g,"")},v=ae(""),p=(V,X)=>{if(e.formatter)return e.formatter(V,{userTyping:X,input:String(v.value)});let Q=typeof V=="number"?d3(V):V;if(!X){const K=f(Q,X);if(f3(Q)&&(e.decimalSeparator||K>=0)){const te=e.decimalSeparator||".";Q=DP(Q,te,K)}}return Q},g=(()=>{const V=e.value;return c.value.isInvalidate()&&["string","number"].includes(typeof V)?Number.isNaN(V)?"":V:p(c.value.toString(),!1)})();v.value=g;function m(V,X){v.value=p(V.isInvalidate()?V.toString(!1):V.toString(!X),X)}const y=L(()=>zk(e.max)),b=L(()=>zk(e.min)),S=L(()=>!y.value||!c.value||c.value.isInvalidate()?!1:y.value.lessEquals(c.value)),x=L(()=>!b.value||!c.value||c.value.isInvalidate()?!1:c.value.lessEquals(b.value)),[$,C]=FRe(a,l),T=V=>y.value&&!V.lessEquals(y.value)?y.value:b.value&&!b.value.lessEquals(V)?b.value:null,I=V=>!T(V),P=(V,X)=>{var Q;let K=V,te=I(K)||K.isEmpty();if(!K.isEmpty()&&!X&&(K=T(K)||K,te=!0),!e.readonly&&!e.disabled&&te){const q=K.toString(),ee=f(q,X);return ee>=0&&(K=Ma(DP(q,".",ee))),K.equals(c.value)||(d(K),(Q=e.onChange)===null||Q===void 0||Q.call(e,K.isEmpty()?null:Fk(e.stringMode,K)),e.value===void 0&&m(K,X)),K}return c.value},M=zRe(),O=V=>{var X;if($(),v.value=V,!u.value){const Q=h(V),K=Ma(Q);K.isNaN()||P(K,!0)}(X=e.onInput)===null||X===void 0||X.call(e,V),M(()=>{let Q=V;e.parser||(Q=V.replace(/。/g,".")),Q!==V&&O(Q)})},D=()=>{u.value=!0},R=()=>{u.value=!1,O(a.value.value)},A=V=>{O(V.target.value)},E=V=>{var X,Q;if(V&&S.value||!V&&x.value)return;s.value=!1;let K=Ma(e.step);V||(K=K.negate());const te=(c.value||Ma(0)).add(K.toString()),q=P(te,!1);(X=e.onStep)===null||X===void 0||X.call(e,Fk(e.stringMode,q),{offset:e.step,type:V?"up":"down"}),(Q=a.value)===null||Q===void 0||Q.focus()},k=V=>{const X=Ma(h(v.value));let Q=X;X.isNaN()?Q=c.value:Q=P(X,V),e.value!==void 0?m(c.value,!1):Q.isNaN()||m(Q,!1)},N=()=>{s.value=!0},B=V=>{var X;const{which:Q}=V;s.value=!0,Q===Pe.ENTER&&(u.value||(s.value=!1),k(!1),(X=e.onPressEnter)===null||X===void 0||X.call(e,V)),e.keyboard!==!1&&!u.value&&[Pe.UP,Pe.DOWN].includes(Q)&&(E(Pe.UP===Q),V.preventDefault())},F=()=>{s.value=!1},H=V=>{k(!1),l.value=!1,s.value=!1,i("blur",V)};return Se(()=>e.precision,()=>{c.value.isInvalidate()||m(c.value,!1)},{flush:"post"}),Se(()=>e.value,()=>{const V=Ma(e.value);c.value=V;const X=Ma(h(v.value));(!V.equals(X)||!s.value||e.formatter)&&m(V,s.value)},{flush:"post"}),Se(v,()=>{e.formatter&&C()},{flush:"post"}),Se(()=>e.disabled,V=>{V&&(l.value=!1)}),o({focus:()=>{var V;(V=a.value)===null||V===void 0||V.focus()},blur:()=>{var V;(V=a.value)===null||V===void 0||V.blur()}}),()=>{const V=_(_({},n),e),{prefixCls:X="rc-input-number",min:Q,max:K,step:te=1,defaultValue:q,value:ee,disabled:J,readonly:G,keyboard:Y,controls:oe=!0,autofocus:W,stringMode:Z,parser:ne,formatter:re,precision:le,decimalSeparator:ie,onChange:de,onInput:pe,onPressEnter:me,onStep:he,lazy:xe,class:Ce,style:ve}=V,fe=HRe(V,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:ye,downHandler:Me}=r,De=`${X}-input`,Be={};return xe?Be.onChange=A:Be.onInput=A,w("div",{class:ce(X,Ce,{[`${X}-focused`]:l.value,[`${X}-disabled`]:J,[`${X}-readonly`]:G,[`${X}-not-a-number`]:c.value.isNaN(),[`${X}-out-of-range`]:!c.value.isInvalidate()&&!I(c.value)}),style:ve,onKeydown:B,onKeyup:F},[oe&&w(BRe,{prefixCls:X,upDisabled:S.value,downDisabled:x.value,onStep:E},{upNode:ye,downNode:Me}),w("div",{class:`${De}-wrap`},[w("input",z(z(z({autofocus:W,autocomplete:"off",role:"spinbutton","aria-valuemin":Q,"aria-valuemax":K,"aria-valuenow":c.value.isInvalidate()?null:c.value.toString(),step:te},fe),{},{ref:a,class:De,value:v.value,disabled:J,readonly:G,onFocus:we=>{l.value=!0,i("focus",we)}},Be),{},{onBlur:H,onCompositionstart:D,onCompositionend:R,onBeforeinput:N}),null)])])}}});function g_(e){return e!=null}const WRe=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:i,borderRadius:o,fontSizeLG:a,controlHeightLG:l,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:c,colorTextDescription:d,motionDurationMid:f,colorPrimary:h,controlHeight:v,inputPaddingHorizontal:p,colorBgContainer:g,colorTextDisabled:m,borderRadiusSM:y,borderRadiusLG:b,controlWidth:S,handleVisible:x}=e;return[{[t]:_(_(_(_({},st(e)),Bd(e)),Xm(e,t)),{display:"inline-block",width:S,margin:0,padding:0,border:`${n}px ${r} ${i}`,borderRadius:o,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:b,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:y,[`input${t}-input`]:{height:s-2*n,padding:`0 ${c}px`}},"&:hover":_({},uv(e)),"&-focused":_({},hu(e)),"&-disabled":_(_({},yE(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":_(_(_({},st(e)),yq(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:b}},"&-sm":{[`${t}-group-addon`]:{borderRadius:y}}}}),[t]:{"&-input":_(_({width:"100%",height:v-2*n,padding:`0 ${p}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${f} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},mE(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:g,borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,opacity:x===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${f} linear ${f}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},SRe=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:_({},la()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, + ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},xRe=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},wRe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},CRe=it("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,i=Ue(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:r,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:r*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[bRe(i),SRe(i),xRe(i),gQ(i),e.wireframe&&wRe(i),ov(i,"zoom")]}),AP=e=>({position:e||"absolute",inset:0}),$Re=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",background:new zt("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:_(_({},Hn),{padding:`0 ${r}px`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},_Re=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,previewOperationColorDisabled:i,motionDurationSlow:o}=e,a=new zt(n).setAlpha(.1),l=a.clone().setAlpha(.2);return{[`${t}-operations`]:_(_({},st(e)),{display:"flex",flexDirection:"row-reverse",alignItems:"center",color:e.previewOperationColor,listStyle:"none",background:a.toRgbString(),pointerEvents:"auto","&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{color:i,pointerEvents:"none"},"&:last-of-type":{marginInlineStart:0}},"&-progress":{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-icon":{fontSize:e.previewOperationSize}})}},TRe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,l=new zt(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:o+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,pointerEvents:"auto",userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},IRe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:_(_({},AP()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"100%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none",pointerEvents:"auto","&-wrapper":_(_({},AP()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",insetBlockStart:0,insetInlineEnd:0,zIndex:e.zIndexPopup+1,width:"100%"},"&":[_Re(e),TRe(e)]}]},PRe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:_({},$Re(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:_({},AP())}}},MRe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:ov(e,"zoom"),"&":wD(e,!0)}},mQ=it("Image",e=>{const t=`${e.componentCls}-preview`,n=Ue(e,{previewCls:t,modalMaskBg:new zt("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[PRe(n),IRe(n),gQ(Ue(n,{componentCls:t})),MRe(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new zt(e.colorTextLightSolid).toRgbString(),previewOperationColorDisabled:new zt(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),yQ={rotateLeft:w(rRe,null,null),rotateRight:w(lRe,null,null),zoomIn:w(dRe,null,null),zoomOut:w(pRe,null,null),close:w(Ri,null,null),left:w(vu,null,null),right:w(ca,null,null),flipX:w(Nk,null,null),flipY:w(Nk,{rotate:90},null)},ARe=()=>({previewPrefixCls:String,preview:tn()}),ORe=se({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:ARe(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,rootPrefixCls:o}=Ee("image",e),a=L(()=>`${i.value}-preview`),[l,s]=mQ(i),u=L(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return _(_({},d),{rootClassName:s.value,transitionName:Yr(o.value,"zoom",d.transitionName),maskTransitionName:Yr(o.value,"fade",d.maskTransitionName)})});return()=>l(w(dQ,z(z({},_(_({},n),e)),{},{preview:u.value,icons:yQ,previewPrefixCls:a.value}),r))}}),bQ=ORe,Mc=se({name:"AImage",inheritAttrs:!1,props:hQ(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,rootPrefixCls:o,configProvider:a}=Ee("image",e),[l,s]=mQ(i),u=L(()=>{const{preview:c}=e;if(c===!1)return c;const d=typeof c=="object"?c:{};return _(_({icons:yQ},d),{transitionName:Yr(o.value,"zoom",d.transitionName),maskTransitionName:Yr(o.value,"fade",d.maskTransitionName)})});return()=>{var c,d;const f=((d=(c=a.locale)===null||c===void 0?void 0:c.value)===null||d===void 0?void 0:d.Image)||vi.Image,h=()=>w("div",{class:`${i.value}-mask-info`},[w(t3,null,null),f==null?void 0:f.preview]),{previewMask:v=n.previewMask||h}=e;return l(w(J4e,z(z({},_(_(_({},r),e),{prefixCls:i.value})),{},{preview:u.value,rootClassName:ce(e.rootClassName,s.value)}),_(_({},n),{previewMask:typeof v=="function"?v:null})))}}});Mc.PreviewGroup=bQ;Mc.install=function(e){return e.component(Mc.name,Mc),e.component(Mc.PreviewGroup.name,Mc.PreviewGroup),e};const DRe=Mc;var ERe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const RRe=ERe;function Bk(e){for(var t=1;tNumber.MAX_SAFE_INTEGER)return String(OP()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new Ac(Number.MAX_SAFE_INTEGER);if(r0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":d3(this.number):this.origin}}class Kf{constructor(t){if(this.origin="",SQ(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}let n=t;if(c3(n)&&(n=Number(n)),n=typeof n=="string"?n:d3(n),f3(n)){const r=lg(n);this.negative=r.negative;const i=r.trimStr.split(".");this.integer=BigInt(i[0]);const o=i[1]||"0";this.decimal=BigInt(o),this.decimalLen=o.length}else this.nan=!0}getMark(){return this.negative?"-":""}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,"0")}alignDecimal(t){const n=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(t,"0")}`;return BigInt(n)}negate(){const t=new Kf(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new Kf(t);const n=new Kf(t);if(n.isInvalidate())return this;const r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),i=this.alignDecimal(r),o=n.alignDecimal(r),a=(i+o).toString(),{negativeStr:l,trimStr:s}=lg(a),u=`${l}${s.padStart(r+1,"0")}`;return new Kf(`${u.slice(0,-r)}.${u.slice(-r)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(t){return this.toString()===(t==null?void 0:t.toString())}lessEquals(t){return this.add(t.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?this.isInvalidate()?"":lg(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}function Aa(e){return OP()?new Kf(e):new Ac(e)}function DP(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";const{negativeStr:i,integerStr:o,decimalStr:a}=lg(e),l=`${t}${a}`,s=`${i}${o}`;if(n>=0){const u=Number(a[n]);if(u>=5&&!r){const c=Aa(e).add(`${i}0.${"0".repeat(n)}${10-u}`);return DP(c.toString(),t,n,r)}return n===0?s:`${s}${t}${a.padEnd(n,"0").slice(0,n)}`}return l===".0"?s:`${s}${l}`}const kRe=200,BRe=600,FRe=se({compatConfig:{MODE:3},name:"StepHandler",inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:be()},slots:Object,setup(e,t){let{slots:n,emit:r}=t;const i=ue(),o=(l,s)=>{l.preventDefault(),r("step",s);function u(){r("step",s),i.value=setTimeout(u,kRe)}i.value=setTimeout(u,BRe)},a=()=>{clearTimeout(i.value)};return ht(()=>{a()}),()=>{if(XO())return null;const{prefixCls:l,upDisabled:s,downDisabled:u}=e,c=`${l}-handler`,d=ce(c,`${c}-up`,{[`${c}-up-disabled`]:s}),f=ce(c,`${c}-down`,{[`${c}-down-disabled`]:u}),h={unselectable:"on",role:"button",onMouseup:a,onMouseleave:a},{upNode:v,downNode:p}=n;return w("div",{class:`${c}-wrap`},[w("span",z(z({},h),{},{onMousedown:g=>{o(g,!0)},"aria-label":"Increase Value","aria-disabled":s,class:d}),[(v==null?void 0:v())||w("span",{unselectable:"on",class:`${l}-handler-up-inner`},null)]),w("span",z(z({},h),{},{onMousedown:g=>{o(g,!1)},"aria-label":"Decrease Value","aria-disabled":u,class:f}),[(p==null?void 0:p())||w("span",{unselectable:"on",class:`${l}-handler-down-inner`},null)])])}}});function zRe(e,t){const n=ue(null);function r(){try{const{selectionStart:o,selectionEnd:a,value:l}=e.value,s=l.substring(0,o),u=l.substring(a);n.value={start:o,end:a,value:l,beforeTxt:s,afterTxt:u}}catch(o){}}function i(){if(e.value&&n.value&&t.value)try{const{value:o}=e.value,{beforeTxt:a,afterTxt:l,start:s}=n.value;let u=o.length;if(o.endsWith(l))u=o.length-n.value.afterTxt.length;else if(o.startsWith(a))u=a.length;else{const c=a[s-1],d=o.indexOf(c,s-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}catch(o){`${o.message}`}}return[r,i]}const HRe=()=>{const e=ae(0),t=()=>{dt.cancel(e.value)};return ht(()=>{t()}),n=>{t(),e.value=dt(()=>{n()})}};var VRe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie||t.isEmpty()?t.toString():t.toNumber(),zk=e=>{const t=Aa(e);return t.isInvalidate()?null:t},xQ=()=>({stringMode:$e(),defaultValue:Xe([String,Number]),value:Xe([String,Number]),prefixCls:je(),min:Xe([String,Number]),max:Xe([String,Number]),step:Xe([String,Number],1),tabindex:Number,controls:$e(!0),readonly:$e(),disabled:$e(),autofocus:$e(),keyboard:$e(!0),parser:be(),formatter:be(),precision:Number,decimalSeparator:String,onInput:be(),onChange:be(),onPressEnter:be(),onStep:be(),onBlur:be(),onFocus:be()}),WRe=se({compatConfig:{MODE:3},name:"InnerInputNumber",inheritAttrs:!1,props:_(_({},xQ()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;const a=ae(),l=ae(!1),s=ae(!1),u=ae(!1),c=ae(Aa(e.value));function d(V){e.value===void 0&&(c.value=V)}const f=(V,X)=>{if(!X)return e.precision>=0?e.precision:Math.max(em(V),em(e.step))},h=V=>{const X=String(V);if(e.parser)return e.parser(X);let Q=X;return e.decimalSeparator&&(Q=Q.replace(e.decimalSeparator,".")),Q.replace(/[^\w.-]+/g,"")},v=ae(""),p=(V,X)=>{if(e.formatter)return e.formatter(V,{userTyping:X,input:String(v.value)});let Q=typeof V=="number"?d3(V):V;if(!X){const K=f(Q,X);if(f3(Q)&&(e.decimalSeparator||K>=0)){const te=e.decimalSeparator||".";Q=DP(Q,te,K)}}return Q},g=(()=>{const V=e.value;return c.value.isInvalidate()&&["string","number"].includes(typeof V)?Number.isNaN(V)?"":V:p(c.value.toString(),!1)})();v.value=g;function m(V,X){v.value=p(V.isInvalidate()?V.toString(!1):V.toString(!X),X)}const y=L(()=>zk(e.max)),b=L(()=>zk(e.min)),S=L(()=>!y.value||!c.value||c.value.isInvalidate()?!1:y.value.lessEquals(c.value)),x=L(()=>!b.value||!c.value||c.value.isInvalidate()?!1:c.value.lessEquals(b.value)),[$,C]=zRe(a,l),T=V=>y.value&&!V.lessEquals(y.value)?y.value:b.value&&!b.value.lessEquals(V)?b.value:null,I=V=>!T(V),P=(V,X)=>{var Q;let K=V,te=I(K)||K.isEmpty();if(!K.isEmpty()&&!X&&(K=T(K)||K,te=!0),!e.readonly&&!e.disabled&&te){const q=K.toString(),ee=f(q,X);return ee>=0&&(K=Aa(DP(q,".",ee))),K.equals(c.value)||(d(K),(Q=e.onChange)===null||Q===void 0||Q.call(e,K.isEmpty()?null:Fk(e.stringMode,K)),e.value===void 0&&m(K,X)),K}return c.value},M=HRe(),O=V=>{var X;if($(),v.value=V,!u.value){const Q=h(V),K=Aa(Q);K.isNaN()||P(K,!0)}(X=e.onInput)===null||X===void 0||X.call(e,V),M(()=>{let Q=V;e.parser||(Q=V.replace(/。/g,".")),Q!==V&&O(Q)})},D=()=>{u.value=!0},R=()=>{u.value=!1,O(a.value.value)},A=V=>{O(V.target.value)},E=V=>{var X,Q;if(V&&S.value||!V&&x.value)return;s.value=!1;let K=Aa(e.step);V||(K=K.negate());const te=(c.value||Aa(0)).add(K.toString()),q=P(te,!1);(X=e.onStep)===null||X===void 0||X.call(e,Fk(e.stringMode,q),{offset:e.step,type:V?"up":"down"}),(Q=a.value)===null||Q===void 0||Q.focus()},k=V=>{const X=Aa(h(v.value));let Q=X;X.isNaN()?Q=c.value:Q=P(X,V),e.value!==void 0?m(c.value,!1):Q.isNaN()||m(Q,!1)},N=()=>{s.value=!0},B=V=>{var X;const{which:Q}=V;s.value=!0,Q===Pe.ENTER&&(u.value||(s.value=!1),k(!1),(X=e.onPressEnter)===null||X===void 0||X.call(e,V)),e.keyboard!==!1&&!u.value&&[Pe.UP,Pe.DOWN].includes(Q)&&(E(Pe.UP===Q),V.preventDefault())},F=()=>{s.value=!1},H=V=>{k(!1),l.value=!1,s.value=!1,i("blur",V)};return Se(()=>e.precision,()=>{c.value.isInvalidate()||m(c.value,!1)},{flush:"post"}),Se(()=>e.value,()=>{const V=Aa(e.value);c.value=V;const X=Aa(h(v.value));(!V.equals(X)||!s.value||e.formatter)&&m(V,s.value)},{flush:"post"}),Se(v,()=>{e.formatter&&C()},{flush:"post"}),Se(()=>e.disabled,V=>{V&&(l.value=!1)}),o({focus:()=>{var V;(V=a.value)===null||V===void 0||V.focus()},blur:()=>{var V;(V=a.value)===null||V===void 0||V.blur()}}),()=>{const V=_(_({},n),e),{prefixCls:X="rc-input-number",min:Q,max:K,step:te=1,defaultValue:q,value:ee,disabled:J,readonly:G,keyboard:Y,controls:oe=!0,autofocus:W,stringMode:Z,parser:ne,formatter:re,precision:le,decimalSeparator:ie,onChange:de,onInput:pe,onPressEnter:me,onStep:he,lazy:xe,class:Ce,style:ve}=V,fe=VRe(V,["prefixCls","min","max","step","defaultValue","value","disabled","readonly","keyboard","controls","autofocus","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","lazy","class","style"]),{upHandler:ye,downHandler:Me}=r,De=`${X}-input`,Be={};return xe?Be.onChange=A:Be.onInput=A,w("div",{class:ce(X,Ce,{[`${X}-focused`]:l.value,[`${X}-disabled`]:J,[`${X}-readonly`]:G,[`${X}-not-a-number`]:c.value.isNaN(),[`${X}-out-of-range`]:!c.value.isInvalidate()&&!I(c.value)}),style:ve,onKeydown:B,onKeyup:F},[oe&&w(FRe,{prefixCls:X,upDisabled:S.value,downDisabled:x.value,onStep:E},{upNode:ye,downNode:Me}),w("div",{class:`${De}-wrap`},[w("input",z(z(z({autofocus:W,autocomplete:"off",role:"spinbutton","aria-valuemin":Q,"aria-valuemax":K,"aria-valuenow":c.value.isInvalidate()?null:c.value.toString(),step:te},fe),{},{ref:a,class:De,value:v.value,disabled:J,readonly:G,onFocus:we=>{l.value=!0,i("focus",we)}},Be),{},{onBlur:H,onCompositionstart:D,onCompositionend:R,onBeforeinput:N}),null)])])}}});function g_(e){return e!=null}const jRe=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:i,borderRadius:o,fontSizeLG:a,controlHeightLG:l,controlHeightSM:s,colorError:u,inputPaddingHorizontalSM:c,colorTextDescription:d,motionDurationMid:f,colorPrimary:h,controlHeight:v,inputPaddingHorizontal:p,colorBgContainer:g,colorTextDisabled:m,borderRadiusSM:y,borderRadiusLG:b,controlWidth:S,handleVisible:x}=e;return[{[t]:_(_(_(_({},st(e)),Fd(e)),Xm(e,t)),{display:"inline-block",width:S,margin:0,padding:0,border:`${n}px ${r} ${i}`,borderRadius:o,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:b,[`input${t}-input`]:{height:l-2*n}},"&-sm":{padding:0,borderRadius:y,[`input${t}-input`]:{height:s-2*n,padding:`0 ${c}px`}},"&:hover":_({},cv(e)),"&-focused":_({},hu(e)),"&-disabled":_(_({},yE(e)),{[`${t}-input`]:{cursor:"not-allowed"}}),"&-out-of-range":{input:{color:u}},"&-group":_(_(_({},st(e)),yq(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:b}},"&-sm":{[`${t}-group-addon`]:{borderRadius:y}}}}),[t]:{"&-input":_(_({width:"100%",height:v-2*n,padding:`0 ${p}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${f} linear`,appearance:"textfield",color:e.colorText,fontSize:"inherit",verticalAlign:"top"},mE(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:g,borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,opacity:x===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${f} linear ${f}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${i}`,transition:`all ${f} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{color:h}},"&-up-inner, &-down-inner":_(_({},Ad()),{color:d,transition:`all ${f} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${i}`,borderEndEndRadius:o},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + `]:{color:h}},"&-up-inner, &-down-inner":_(_({},Od()),{color:d,transition:`all ${f} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${i}`,borderEndEndRadius:o},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` ${t}-handler-up-disabled, ${t}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:m}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},jRe=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:i,borderRadiusLG:o,borderRadiusSM:a}=e;return{[`${t}-affix-wrapper`]:_(_(_({},Bd(e)),Xm(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:o},"&-sm":{borderRadius:a},[`&:not(${t}-affix-wrapper-disabled):hover`]:_(_({},uv(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},GRe=it("InputNumber",e=>{const t=Fd(e);return[WRe(t),jRe(t),ov(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var KRe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},Hk),{size:je(),bordered:$e(!0),placeholder:String,name:String,id:String,type:String,addonBefore:U.any,addonAfter:U.any,prefix:U.any,"onUpdate:value":Hk.onChange,valueModifiers:Object,status:je()}),m_=se({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:URe(),slots:Object,setup(e,t){let{emit:n,expose:r,attrs:i,slots:o}=t;var a;const l=Xn(),s=fr.useInject(),u=L(()=>ha(s.status,e.status)),{prefixCls:c,size:d,direction:f,disabled:h}=Ee("input-number",e),{compactSize:v,compactItemClassnames:p}=Au(c,f),g=Mi(),m=L(()=>{var D;return(D=h.value)!==null&&D!==void 0?D:g.value}),[y,b]=GRe(c),S=L(()=>v.value||d.value),x=ae((a=e.value)!==null&&a!==void 0?a:e.defaultValue),$=ae(!1);Se(()=>e.value,()=>{x.value=e.value});const C=ae(null),T=()=>{var D;(D=C.value)===null||D===void 0||D.focus()};r({focus:T,blur:()=>{var D;(D=C.value)===null||D===void 0||D.blur()}});const P=D=>{e.value===void 0&&(x.value=D),n("update:value",D),n("change",D),l.onFieldChange()},M=D=>{$.value=!1,n("blur",D),l.onFieldBlur()},O=D=>{$.value=!0,n("focus",D)};return()=>{var D,R,A,E;const{hasFeedback:k,isFormItemInput:N,feedbackIcon:B}=s,F=(D=e.id)!==null&&D!==void 0?D:l.id.value,H=_(_(_({},i),e),{id:F,disabled:m.value}),{class:V,bordered:X,readonly:Q,style:K,addonBefore:te=(R=o.addonBefore)===null||R===void 0?void 0:R.call(o),addonAfter:q=(A=o.addonAfter)===null||A===void 0?void 0:A.call(o),prefix:ee=(E=o.prefix)===null||E===void 0?void 0:E.call(o),valueModifiers:J={}}=H,G=KRe(H,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),Y=c.value,oe=ce({[`${Y}-lg`]:S.value==="large",[`${Y}-sm`]:S.value==="small",[`${Y}-rtl`]:f.value==="rtl",[`${Y}-readonly`]:Q,[`${Y}-borderless`]:!X,[`${Y}-in-form-item`]:N},Kr(Y,u.value),V,p.value,b.value);let W=w(VRe,z(z({},yt(G,["size","defaultValue"])),{},{ref:C,lazy:!!J.lazy,value:x.value,class:oe,prefixCls:Y,readonly:Q,onChange:P,onBlur:M,onFocus:O}),{upHandler:o.upIcon?()=>w("span",{class:`${Y}-handler-up-inner`},[o.upIcon()]):()=>w(LRe,{class:`${Y}-handler-up-inner`},null),downHandler:o.downIcon?()=>w("span",{class:`${Y}-handler-down-inner`},[o.downIcon()]):()=>w(Hm,{class:`${Y}-handler-down-inner`},null)});const Z=g_(te)||g_(q),ne=g_(ee);if(ne||k){const re=ce(`${Y}-affix-wrapper`,Kr(`${Y}-affix-wrapper`,u.value,k),{[`${Y}-affix-wrapper-focused`]:$.value,[`${Y}-affix-wrapper-disabled`]:m.value,[`${Y}-affix-wrapper-sm`]:S.value==="small",[`${Y}-affix-wrapper-lg`]:S.value==="large",[`${Y}-affix-wrapper-rtl`]:f.value==="rtl",[`${Y}-affix-wrapper-readonly`]:Q,[`${Y}-affix-wrapper-borderless`]:!X,[`${V}`]:!Z&&V},b.value);W=w("div",{class:re,style:K,onClick:T},[ne&&w("span",{class:`${Y}-prefix`},[ee]),W,k&&w("span",{class:`${Y}-suffix`},[B])])}if(Z){const re=`${Y}-group`,le=`${re}-addon`,ie=te?w("div",{class:le},[te]):null,de=q?w("div",{class:le},[q]):null,pe=ce(`${Y}-wrapper`,re,{[`${re}-rtl`]:f.value==="rtl"},b.value),me=ce(`${Y}-group-wrapper`,{[`${Y}-group-wrapper-sm`]:S.value==="small",[`${Y}-group-wrapper-lg`]:S.value==="large",[`${Y}-group-wrapper-rtl`]:f.value==="rtl"},Kr(`${c}-group-wrapper`,u.value,k),V,b.value);W=w("div",{class:me,style:K},[w("div",{class:pe},[ie&&w(Wg,null,{default:()=>[w(rS,null,{default:()=>[ie]})]}),W,de&&w(Wg,null,{default:()=>[w(rS,null,{default:()=>[de]})]})])])}return y(Nt(W,{style:K}))}}}),XRe=_(m_,{install:e=>(e.component(m_.name,m_),e)}),YRe=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:n},[`${t}-sider-zero-width-trigger`]:{color:i,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},qRe=YRe,ZRe=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:i,colorBgHeader:o,colorBgBody:a,colorBgTrigger:l,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:c,layoutFooterPadding:d,layoutTriggerHeight:f,layoutZeroTriggerSize:h,motionDurationMid:v,motionDurationSlow:p,fontSize:g,borderRadius:m}=e;return{[n]:_(_({display:"flex",flex:"auto",flexDirection:"column",color:r,minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:s,paddingInline:u,color:c,lineHeight:`${s}px`,background:o,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:g,background:a},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:o,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:i,lineHeight:`${f}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-h,zIndex:1,width:h,height:h,color:i,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderStartStartRadius:0,borderStartEndRadius:m,borderEndEndRadius:m,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:m,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m}}}}},qRe(e)),{"&-rtl":{direction:"rtl"}})}},QRe=it("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:i,marginXXS:o}=e,a=i*1.25,l=Ue(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:a,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${a}px`,layoutTriggerHeight:i+o*2,layoutZeroTriggerSize:i});return[ZRe(l)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),h3=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function Zw(e){let{suffixCls:t,tagName:n,name:r}=e;return i=>se({compatConfig:{MODE:3},name:r,props:h3(),setup(a,l){let{slots:s}=l;const{prefixCls:u}=Ee(t,a);return()=>{const c=_(_({},a),{prefixCls:u.value,tagName:n});return w(i,c,s)}}})}const v3=se({compatConfig:{MODE:3},props:h3(),setup(e,t){let{slots:n}=t;return()=>w(e.tagName,{class:e.prefixCls},n)}}),JRe=se({compatConfig:{MODE:3},inheritAttrs:!1,props:h3(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("",e),[a,l]=QRe(i),s=ue([]);at(IY,{addSider:d=>{s.value=[...s.value,d]},removeSider:d=>{s.value=s.value.filter(f=>f!==d)}});const c=L(()=>{const{prefixCls:d,hasSider:f}=e;return{[l.value]:!0,[`${d}`]:!0,[`${d}-has-sider`]:typeof f=="boolean"?f:s.value.length>0,[`${d}-rtl`]:o.value==="rtl"}});return()=>{const{tagName:d}=e;return a(w(d,_(_({},r),{class:[c.value,r.class]}),n))}}}),eLe=Zw({suffixCls:"layout",tagName:"section",name:"ALayout"})(JRe),jb=Zw({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(v3),Gb=Zw({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(v3),Kb=Zw({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(v3),y_=eLe;var tLe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const nLe=tLe;function Vk(e){for(var t=1;t({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:U.any,width:U.oneOfType([U.number,U.string]),collapsedWidth:U.oneOfType([U.number,U.string]),breakpoint:U.oneOf(Ar("xs","sm","md","lg","xl","xxl","xxxl")),theme:U.oneOf(Ar("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),aLe=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Ub=se({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:ft(oLe(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:r,slots:i}=t;const{prefixCls:o}=Ee("layout-sider",e),a=Je(IY,void 0),l=ae(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),s=ae(!1);Se(()=>e.collapsed,()=>{l.value=!!e.collapsed}),at(TY,l);const u=(p,g)=>{e.collapsed===void 0&&(l.value=p),n("update:collapsed",p),n("collapse",p,g)},c=ae(p=>{s.value=p.matches,n("breakpoint",p.matches),l.value!==p.matches&&u(p.matches,"responsive")});let d;function f(p){return c.value(p)}const h=aLe("ant-sider-");a&&a.addSider(h),tt(()=>{Se(()=>e.breakpoint,()=>{try{d==null||d.removeEventListener("change",f)}catch(p){d==null||d.removeListener(f)}if(typeof window!="undefined"){const{matchMedia:p}=window;if(p&&e.breakpoint&&e.breakpoint in Wk){d=p(`(max-width: ${Wk[e.breakpoint]})`);try{d.addEventListener("change",f)}catch(g){d.addListener(f)}f(d)}}},{immediate:!0})}),ht(()=>{try{d==null||d.removeEventListener("change",f)}catch(p){d==null||d.removeListener(f)}a&&a.removeSider(h)});const v=()=>{u(!l.value,"clickTrigger")};return()=>{var p,g;const m=o.value,{collapsedWidth:y,width:b,reverseArrow:S,zeroWidthTriggerStyle:x,trigger:$=(p=i.trigger)===null||p===void 0?void 0:p.call(i),collapsible:C,theme:T}=e,I=l.value?y:b,P=uS(I)?`${I}px`:String(I),M=parseFloat(String(y||0))===0?w("span",{onClick:v,class:ce(`${m}-zero-width-trigger`,`${m}-zero-width-trigger-${S?"right":"left"}`),style:x},[$||w(iLe,null,null)]):null,O={expanded:w(S?ua:vu,null,null),collapsed:w(S?vu:ua,null,null)},D=l.value?"collapsed":"expanded",R=O[D],A=$!==null?M||w("div",{class:`${m}-trigger`,onClick:v,style:{width:P}},[$||R]):null,E=[r.style,{flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P}],k=ce(m,`${m}-${T}`,{[`${m}-collapsed`]:!!l.value,[`${m}-has-trigger`]:C&&$!==null&&!M,[`${m}-below`]:!!s.value,[`${m}-zero-width`]:parseFloat(P)===0},r.class);return w("aside",z(z({},r),{},{class:k,style:E}),[w("div",{class:`${m}-children`},[(g=i.default)===null||g===void 0?void 0:g.call(i)]),C||s.value&&M?A:null])}}}),lLe=jb,sLe=Gb,uLe=Ub,cLe=Kb,dLe=_(y_,{Header:jb,Footer:Gb,Content:Kb,Sider:Ub,install:e=>(e.component(y_.name,y_),e.component(jb.name,jb),e.component(Gb.name,Gb),e.component(Ub.name,Ub),e.component(Kb.name,Kb),e)});function fLe(e,t,n){var r=n||{},i=r.noTrailing,o=i===void 0?!1:i,a=r.noLeading,l=a===void 0?!1:a,s=r.debounceMode,u=s===void 0?void 0:s,c,d=!1,f=0;function h(){c&&clearTimeout(c)}function v(g){var m=g||{},y=m.upcomingOnly,b=y===void 0?!1:y;h(),d=!b}function p(){for(var g=arguments.length,m=new Array(g),y=0;ye?l?(f=Date.now(),o||(c=setTimeout(u?$:x,e))):x():o!==!0&&(c=setTimeout(u?$:x,u===void 0?e-S:e))}return p.cancel=v,p}function hLe(e,t,n){var r=n||{},i=r.atBegin,o=i===void 0?!1:i;return fLe(e,t,{debounceMode:o!==!1})}const vLe=new xt("antSpinMove",{to:{opacity:1}}),pLe=new xt("antRotate",{to:{transform:"rotate(405deg)"}}),gLe=e=>({[`${e.componentCls}`]:_(_({},st(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:vLe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:pLe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),mLe=it("Spin",e=>{const t=Ue(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[gLe(t)]},{contentHeight:400});var yLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:U.any,delay:Number,indicator:U.any});let Xb=null;function SLe(e,t){return!!e&&!!t&&!isNaN(Number(t))}function xLe(e){const t=e.indicator;Xb=typeof t=="function"?t:()=>w(t,null,null)}const Xa=se({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:ft(bLe(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,size:o,direction:a}=Ee("spin",e),[l,s]=mLe(i),u=ae(e.spinning&&!SLe(e.spinning,e.delay));let c;return Se([()=>e.spinning,()=>e.delay],()=>{c==null||c.cancel(),c=hLe(e.delay,()=>{u.value=e.spinning}),c==null||c()},{immediate:!0,flush:"post"}),ht(()=>{c==null||c.cancel()}),()=>{var d,f;const{class:h}=n,v=yLe(n,["class"]),{tip:p=(d=r.tip)===null||d===void 0?void 0:d.call(r)}=e,g=(f=r.default)===null||f===void 0?void 0:f.call(r),m={[s.value]:!0,[i.value]:!0,[`${i.value}-sm`]:o.value==="small",[`${i.value}-lg`]:o.value==="large",[`${i.value}-spinning`]:u.value,[`${i.value}-show-text`]:!!p,[`${i.value}-rtl`]:a.value==="rtl",[h]:!!h};function y(S){const x=`${S}-dot`;let $=Un(r,e,"indicator");return $===null?null:(Array.isArray($)&&($=$.length===1?$[0]:$),Nn($)?cr($,{class:x}):Xb&&Nn(Xb())?cr(Xb(),{class:x}):w("span",{class:`${x} ${S}-dot-spin`},[w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null)]))}const b=w("div",z(z({},v),{},{class:m,"aria-live":"polite","aria-busy":u.value}),[y(i.value),p?w("div",{class:`${i.value}-text`},[p]):null]);if(g&&xn(g).length){const S={[`${i.value}-container`]:!0,[`${i.value}-blur`]:u.value};return l(w("div",{class:[`${i.value}-nested-loading`,e.wrapperClassName,s.value]},[u.value&&w("div",{key:"loading"},[b]),w("div",{class:S,key:"container"},[g])]))}return l(b)}}});Xa.setDefaultIndicator=xLe;Xa.install=function(e){return e.component(Xa.name,Xa),e};var wLe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const CLe=wLe;function jk(e){for(var t=1;t{const i=_(_(_({},e),{size:"small"}),n);return w(Kl,i,r)}}}),MLe=se({name:"MiddleSelect",inheritAttrs:!1,props:Aw(),Option:Kl.Option,setup(e,t){let{attrs:n,slots:r}=t;return()=>{const i=_(_(_({},e),{size:"middle"}),n);return w(Kl,i,r)}}}),Wu=se({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:U.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:r}=t;const i=()=>{n("click",e.page)},o=a=>{n("keypress",a,i,e.page)};return()=>{const{showTitle:a,page:l,itemRender:s}=e,{class:u,style:c}=r,d=`${e.rootPrefixCls}-item`,f=ce(d,`${d}-${e.page}`,{[`${d}-active`]:e.active,[`${d}-disabled`]:!e.page},u);return w("li",{onClick:i,onKeypress:o,title:a?String(l):null,tabindex:"0",class:f,style:c},[s({page:l,type:"page",originalElement:w("a",{rel:"nofollow"},[l])})])}}}),mc={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ALe=se({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:U.any,current:Number,pageSizeOptions:U.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:U.object,rootPrefixCls:String,selectPrefixCls:String,goButton:U.any},setup(e){const t=ue(""),n=L(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),r=s=>`${s.value} ${e.locale.items_per_page}`,i=s=>{const{value:u}=s.target;t.value!==u&&(t.value=u)},o=s=>{const{goButton:u,quickGo:c,rootPrefixCls:d}=e;if(!(u||t.value===""))if(s.relatedTarget&&(s.relatedTarget.className.indexOf(`${d}-item-link`)>=0||s.relatedTarget.className.indexOf(`${d}-item`)>=0)){t.value="";return}else c(n.value),t.value=""},a=s=>{t.value!==""&&(s.keyCode===mc.ENTER||s.type==="click")&&(e.quickGo(n.value),t.value="")},l=L(()=>{const{pageSize:s,pageSizeOptions:u}=e;return u.some(c=>c.toString()===s.toString())?u:u.concat([s.toString()]).sort((c,d)=>{const f=isNaN(Number(c))?0:Number(c),h=isNaN(Number(d))?0:Number(d);return f-h})});return()=>{const{rootPrefixCls:s,locale:u,changeSize:c,quickGo:d,goButton:f,selectComponentClass:h,selectPrefixCls:v,pageSize:p,disabled:g}=e,m=`${s}-options`;let y=null,b=null,S=null;if(!c&&!d)return null;if(c&&h){const x=e.buildOptionText||r,$=l.value.map((C,T)=>w(h.Option,{key:T,value:C},{default:()=>[x({value:C})]}));y=w(h,{disabled:g,prefixCls:v,showSearch:!1,class:`${m}-size-changer`,optionLabelProp:"children",value:(p||l.value[0]).toString(),onChange:C=>c(Number(C)),getPopupContainer:C=>C.parentNode},{default:()=>[$]})}return d&&(f&&(S=typeof f=="boolean"?w("button",{type:"button",onClick:a,onKeyup:a,disabled:g,class:`${m}-quick-jumper-button`},[u.jump_to_confirm]):w("span",{onClick:a,onKeyup:a},[f])),b=w("div",{class:`${m}-quick-jumper`},[u.jump_to,w(ev,{disabled:g,type:"text",value:t.value,onInput:i,onChange:i,onKeyup:a,onBlur:o},null),u.page,S])),w("li",{class:`${m}`},[y,b])}}});var OLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir?r:n,Il(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=hl(this.pageSize,this.$data,this.$props);if(Il(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(hl(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return MK(this,e,this.$props)||w("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=hl(void 0,this.$data,this.$props),{stateCurrentInputValue:r}=this.$data;let i;return t===""?i=t:isNaN(Number(t))?i=r:t>=n?i=n:i=Number(t),i},isValid(e){return DLe(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===mc.ARROW_UP||e.keyCode===mc.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===mc.ENTER?this.handleChange(t):e.keyCode===mc.ARROW_UP?this.handleChange(t-1):e.keyCode===mc.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,r=hl(e,this.$data,this.$props);t=t>r?r:t,r===0&&(t=this.stateCurrent),typeof e=="number"&&(Il(this,"pageSize")||this.setState({statePageSize:e}),Il(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const r=hl(void 0,this.$data,this.$props);return n>r?n=r:n<1&&(n=1),Il(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrentn},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){e.preventDefault();for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i0?m-1:0,E=m+1<$?m+1:$,k=this.hasPrev(),N=this.hasNext();if(u)return D&&(typeof D=="boolean"?O=w("button",{type:"button",onClick:this.handleGoTO,onKeyup:this.handleGoTO},[i.jump_to_confirm]):O=w("span",{onClick:this.handleGoTO,onKeyup:this.handleGoTO},[D]),O=w("li",{title:l?`${i.jump_to}${m}/${$}`:null,class:`${e}-simple-pager`},[O])),w("ul",z({class:ce(`${e} ${e}-simple`,{[`${e}-disabled`]:t},S)},x),[w("li",{title:l?i.prev_page:null,onClick:this.prev,tabindex:k?0:null,onKeypress:this.runIfEnterPrev,class:ce(`${e}-prev`,{[`${e}-disabled`]:!k}),"aria-disabled":!k},[this.renderPrev(A)]),w("li",{title:l?`${m}/${$}`:null,class:`${e}-simple-pager`},[w(ev,{type:"text",value:this.stateCurrentInputValue,disabled:t,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onInput:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"},null),w("span",{class:`${e}-slash`},[Gr("/")]),$]),w("li",{title:l?i.next_page:null,onClick:this.next,tabindex:N?0:null,onKeypress:this.runIfEnterNext,class:ce(`${e}-next`,{[`${e}-disabled`]:!N}),"aria-disabled":!N},[this.renderNext(E)]),O]);if($<=3+R*2){const X={locale:i,rootPrefixCls:e,showTitle:l,itemRender:c,onClick:this.handleChange,onKeypress:this.runIfEnter};$||C.push(w(Wu,z(z({},X),{},{key:"noPager",page:1,class:`${e}-item-disabled`}),null));for(let Q=1;Q<=$;Q+=1){const K=m===Q;C.push(w(Wu,z(z({},X),{},{key:Q,page:Q,active:K}),null))}}else{const X=a?i.prev_3:i.prev_5,Q=a?i.next_3:i.next_5;d&&(T=w("li",{title:this.showTitle?X:null,key:"prev",onClick:this.jumpPrev,tabindex:"0",onKeypress:this.runIfEnterJumpPrev,class:ce(`${e}-jump-prev`,{[`${e}-jump-prev-custom-icon`]:!!f})},[c({page:this.getJumpPrevPage(),type:"jump-prev",originalElement:this.getItemIcon("jumpPrevIcon","prev page")})]),I=w("li",{title:this.showTitle?Q:null,key:"next",tabindex:"0",onClick:this.jumpNext,onKeypress:this.runIfEnterJumpNext,class:ce(`${e}-jump-next`,{[`${e}-jump-next-custom-icon`]:!!h})},[c({page:this.getJumpNextPage(),type:"jump-next",originalElement:this.getItemIcon("jumpNextIcon","next page")})])),M=w(Wu,{locale:i,last:!0,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:$,page:$,active:!1,showTitle:l,itemRender:c},null),P=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:1,page:1,active:!1,showTitle:l,itemRender:c},null);let K=Math.max(1,m-R),te=Math.min(m+R,$);m-1<=R&&(te=1+R*2),$-m<=R&&(K=$-R*2);for(let q=K;q<=te;q+=1){const ee=m===q;C.push(w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:q,page:q,active:ee,showTitle:l,itemRender:c},null))}m-1>=R*2&&m!==1+2&&(C[0]=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:K,page:K,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:c},null),C.unshift(T)),$-m>=R*2&&m!==$-2&&(C[C.length-1]=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:te,page:te,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:c},null),C.push(I)),K!==1&&C.unshift(P),te!==$&&C.push(M)}let B=null;s&&(B=w("li",{class:`${e}-total-text`},[s(r,[r===0?0:(m-1)*y+1,m*y>r?r:m*y])]));const F=!k||!$,H=!N||!$,V=this.buildOptionText||this.$slots.buildOptionText;return w("ul",z(z({unselectable:"on",ref:"paginationNode"},x),{},{class:ce({[`${e}`]:!0,[`${e}-disabled`]:t},S)}),[B,w("li",{title:l?i.prev_page:null,onClick:this.prev,tabindex:F?null:0,onKeypress:this.runIfEnterPrev,class:ce(`${e}-prev`,{[`${e}-disabled`]:F}),"aria-disabled":F},[this.renderPrev(A)]),C,w("li",{title:l?i.next_page:null,onClick:this.next,tabindex:H?null:0,onKeypress:this.runIfEnterNext,class:ce(`${e}-next`,{[`${e}-disabled`]:H}),"aria-disabled":H},[this.renderNext(E)]),w(ALe,{disabled:t,locale:i,rootPrefixCls:e,selectComponentClass:v,selectPrefixCls:p,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:m,pageSize:y,pageSizeOptions:g,buildOptionText:V||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:D},null)])}}),LLe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[` + `]:{color:m}}},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},GRe=e=>{const{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:i,borderRadiusLG:o,borderRadiusSM:a}=e;return{[`${t}-affix-wrapper`]:_(_(_({},Fd(e)),Xm(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:o},"&-sm":{borderRadius:a},[`&:not(${t}-affix-wrapper-disabled):hover`]:_(_({},cv(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:n,marginInlineStart:r}}})}},KRe=it("InputNumber",e=>{const t=zd(e);return[jRe(t),GRe(t),av(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:"auto"}));var URe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},Hk),{size:je(),bordered:$e(!0),placeholder:String,name:String,id:String,type:String,addonBefore:U.any,addonAfter:U.any,prefix:U.any,"onUpdate:value":Hk.onChange,valueModifiers:Object,status:je()}),m_=se({compatConfig:{MODE:3},name:"AInputNumber",inheritAttrs:!1,props:XRe(),slots:Object,setup(e,t){let{emit:n,expose:r,attrs:i,slots:o}=t;var a;const l=Xn(),s=fr.useInject(),u=L(()=>va(s.status,e.status)),{prefixCls:c,size:d,direction:f,disabled:h}=Ee("input-number",e),{compactSize:v,compactItemClassnames:p}=Au(c,f),g=Ai(),m=L(()=>{var D;return(D=h.value)!==null&&D!==void 0?D:g.value}),[y,b]=KRe(c),S=L(()=>v.value||d.value),x=ae((a=e.value)!==null&&a!==void 0?a:e.defaultValue),$=ae(!1);Se(()=>e.value,()=>{x.value=e.value});const C=ae(null),T=()=>{var D;(D=C.value)===null||D===void 0||D.focus()};r({focus:T,blur:()=>{var D;(D=C.value)===null||D===void 0||D.blur()}});const P=D=>{e.value===void 0&&(x.value=D),n("update:value",D),n("change",D),l.onFieldChange()},M=D=>{$.value=!1,n("blur",D),l.onFieldBlur()},O=D=>{$.value=!0,n("focus",D)};return()=>{var D,R,A,E;const{hasFeedback:k,isFormItemInput:N,feedbackIcon:B}=s,F=(D=e.id)!==null&&D!==void 0?D:l.id.value,H=_(_(_({},i),e),{id:F,disabled:m.value}),{class:V,bordered:X,readonly:Q,style:K,addonBefore:te=(R=o.addonBefore)===null||R===void 0?void 0:R.call(o),addonAfter:q=(A=o.addonAfter)===null||A===void 0?void 0:A.call(o),prefix:ee=(E=o.prefix)===null||E===void 0?void 0:E.call(o),valueModifiers:J={}}=H,G=URe(H,["class","bordered","readonly","style","addonBefore","addonAfter","prefix","valueModifiers"]),Y=c.value,oe=ce({[`${Y}-lg`]:S.value==="large",[`${Y}-sm`]:S.value==="small",[`${Y}-rtl`]:f.value==="rtl",[`${Y}-readonly`]:Q,[`${Y}-borderless`]:!X,[`${Y}-in-form-item`]:N},Kr(Y,u.value),V,p.value,b.value);let W=w(WRe,z(z({},yt(G,["size","defaultValue"])),{},{ref:C,lazy:!!J.lazy,value:x.value,class:oe,prefixCls:Y,readonly:Q,onChange:P,onBlur:M,onFocus:O}),{upHandler:o.upIcon?()=>w("span",{class:`${Y}-handler-up-inner`},[o.upIcon()]):()=>w(NRe,{class:`${Y}-handler-up-inner`},null),downHandler:o.downIcon?()=>w("span",{class:`${Y}-handler-down-inner`},[o.downIcon()]):()=>w(Hm,{class:`${Y}-handler-down-inner`},null)});const Z=g_(te)||g_(q),ne=g_(ee);if(ne||k){const re=ce(`${Y}-affix-wrapper`,Kr(`${Y}-affix-wrapper`,u.value,k),{[`${Y}-affix-wrapper-focused`]:$.value,[`${Y}-affix-wrapper-disabled`]:m.value,[`${Y}-affix-wrapper-sm`]:S.value==="small",[`${Y}-affix-wrapper-lg`]:S.value==="large",[`${Y}-affix-wrapper-rtl`]:f.value==="rtl",[`${Y}-affix-wrapper-readonly`]:Q,[`${Y}-affix-wrapper-borderless`]:!X,[`${V}`]:!Z&&V},b.value);W=w("div",{class:re,style:K,onClick:T},[ne&&w("span",{class:`${Y}-prefix`},[ee]),W,k&&w("span",{class:`${Y}-suffix`},[B])])}if(Z){const re=`${Y}-group`,le=`${re}-addon`,ie=te?w("div",{class:le},[te]):null,de=q?w("div",{class:le},[q]):null,pe=ce(`${Y}-wrapper`,re,{[`${re}-rtl`]:f.value==="rtl"},b.value),me=ce(`${Y}-group-wrapper`,{[`${Y}-group-wrapper-sm`]:S.value==="small",[`${Y}-group-wrapper-lg`]:S.value==="large",[`${Y}-group-wrapper-rtl`]:f.value==="rtl"},Kr(`${c}-group-wrapper`,u.value,k),V,b.value);W=w("div",{class:me,style:K},[w("div",{class:pe},[ie&&w(jg,null,{default:()=>[w(rS,null,{default:()=>[ie]})]}),W,de&&w(jg,null,{default:()=>[w(rS,null,{default:()=>[de]})]})])])}return y(Nt(W,{style:K}))}}}),YRe=_(m_,{install:e=>(e.component(m_.name,m_),e)}),qRe=e=>{const{componentCls:t,colorBgContainer:n,colorBgBody:r,colorText:i}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:i,background:n},[`${t}-sider-zero-width-trigger`]:{color:i,background:n,border:`1px solid ${r}`,borderInlineStart:0}}}},ZRe=qRe,QRe=e=>{const{antCls:t,componentCls:n,colorText:r,colorTextLightSolid:i,colorBgHeader:o,colorBgBody:a,colorBgTrigger:l,layoutHeaderHeight:s,layoutHeaderPaddingInline:u,layoutHeaderColor:c,layoutFooterPadding:d,layoutTriggerHeight:f,layoutZeroTriggerSize:h,motionDurationMid:v,motionDurationSlow:p,fontSize:g,borderRadius:m}=e;return{[n]:_(_({display:"flex",flex:"auto",flexDirection:"column",color:r,minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-header`]:{height:s,paddingInline:u,color:c,lineHeight:`${s}px`,background:o,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:g,background:a},[`${n}-content`]:{flex:"auto",minHeight:0},[`${n}-sider`]:{position:"relative",minWidth:0,background:o,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:i,lineHeight:`${f}px`,textAlign:"center",background:l,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:-h,zIndex:1,width:h,height:h,color:i,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderStartStartRadius:0,borderStartEndRadius:m,borderEndEndRadius:m,borderEndStartRadius:0,cursor:"pointer",transition:`background ${p} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${p}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-h,borderStartStartRadius:m,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m}}}}},ZRe(e)),{"&-rtl":{direction:"rtl"}})}},JRe=it("Layout",e=>{const{colorText:t,controlHeightSM:n,controlHeight:r,controlHeightLG:i,marginXXS:o}=e,a=i*1.25,l=Ue(e,{layoutHeaderHeight:r*2,layoutHeaderPaddingInline:a,layoutHeaderColor:t,layoutFooterPadding:`${n}px ${a}px`,layoutTriggerHeight:i+o*2,layoutZeroTriggerSize:i});return[QRe(l)]},e=>{const{colorBgLayout:t}=e;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140"}}),h3=()=>({prefixCls:String,hasSider:{type:Boolean,default:void 0},tagName:String});function Zw(e){let{suffixCls:t,tagName:n,name:r}=e;return i=>se({compatConfig:{MODE:3},name:r,props:h3(),setup(a,l){let{slots:s}=l;const{prefixCls:u}=Ee(t,a);return()=>{const c=_(_({},a),{prefixCls:u.value,tagName:n});return w(i,c,s)}}})}const v3=se({compatConfig:{MODE:3},props:h3(),setup(e,t){let{slots:n}=t;return()=>w(e.tagName,{class:e.prefixCls},n)}}),eLe=se({compatConfig:{MODE:3},inheritAttrs:!1,props:h3(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("",e),[a,l]=JRe(i),s=ue([]);at(IY,{addSider:d=>{s.value=[...s.value,d]},removeSider:d=>{s.value=s.value.filter(f=>f!==d)}});const c=L(()=>{const{prefixCls:d,hasSider:f}=e;return{[l.value]:!0,[`${d}`]:!0,[`${d}-has-sider`]:typeof f=="boolean"?f:s.value.length>0,[`${d}-rtl`]:o.value==="rtl"}});return()=>{const{tagName:d}=e;return a(w(d,_(_({},r),{class:[c.value,r.class]}),n))}}}),tLe=Zw({suffixCls:"layout",tagName:"section",name:"ALayout"})(eLe),jb=Zw({suffixCls:"layout-header",tagName:"header",name:"ALayoutHeader"})(v3),Gb=Zw({suffixCls:"layout-footer",tagName:"footer",name:"ALayoutFooter"})(v3),Kb=Zw({suffixCls:"layout-content",tagName:"main",name:"ALayoutContent"})(v3),y_=tLe;var nLe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const rLe=nLe;function Vk(e){for(var t=1;t({prefixCls:String,collapsible:{type:Boolean,default:void 0},collapsed:{type:Boolean,default:void 0},defaultCollapsed:{type:Boolean,default:void 0},reverseArrow:{type:Boolean,default:void 0},zeroWidthTriggerStyle:{type:Object,default:void 0},trigger:U.any,width:U.oneOfType([U.number,U.string]),collapsedWidth:U.oneOfType([U.number,U.string]),breakpoint:U.oneOf(Ar("xs","sm","md","lg","xl","xxl","xxxl")),theme:U.oneOf(Ar("light","dark")).def("dark"),onBreakpoint:Function,onCollapse:Function}),lLe=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Ub=se({compatConfig:{MODE:3},name:"ALayoutSider",inheritAttrs:!1,props:ft(aLe(),{collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80}),emits:["breakpoint","update:collapsed","collapse"],setup(e,t){let{emit:n,attrs:r,slots:i}=t;const{prefixCls:o}=Ee("layout-sider",e),a=Je(IY,void 0),l=ae(!!(e.collapsed!==void 0?e.collapsed:e.defaultCollapsed)),s=ae(!1);Se(()=>e.collapsed,()=>{l.value=!!e.collapsed}),at(TY,l);const u=(p,g)=>{e.collapsed===void 0&&(l.value=p),n("update:collapsed",p),n("collapse",p,g)},c=ae(p=>{s.value=p.matches,n("breakpoint",p.matches),l.value!==p.matches&&u(p.matches,"responsive")});let d;function f(p){return c.value(p)}const h=lLe("ant-sider-");a&&a.addSider(h),tt(()=>{Se(()=>e.breakpoint,()=>{try{d==null||d.removeEventListener("change",f)}catch(p){d==null||d.removeListener(f)}if(typeof window!="undefined"){const{matchMedia:p}=window;if(p&&e.breakpoint&&e.breakpoint in Wk){d=p(`(max-width: ${Wk[e.breakpoint]})`);try{d.addEventListener("change",f)}catch(g){d.addListener(f)}f(d)}}},{immediate:!0})}),ht(()=>{try{d==null||d.removeEventListener("change",f)}catch(p){d==null||d.removeListener(f)}a&&a.removeSider(h)});const v=()=>{u(!l.value,"clickTrigger")};return()=>{var p,g;const m=o.value,{collapsedWidth:y,width:b,reverseArrow:S,zeroWidthTriggerStyle:x,trigger:$=(p=i.trigger)===null||p===void 0?void 0:p.call(i),collapsible:C,theme:T}=e,I=l.value?y:b,P=uS(I)?`${I}px`:String(I),M=parseFloat(String(y||0))===0?w("span",{onClick:v,class:ce(`${m}-zero-width-trigger`,`${m}-zero-width-trigger-${S?"right":"left"}`),style:x},[$||w(oLe,null,null)]):null,O={expanded:w(S?ca:vu,null,null),collapsed:w(S?vu:ca,null,null)},D=l.value?"collapsed":"expanded",R=O[D],A=$!==null?M||w("div",{class:`${m}-trigger`,onClick:v,style:{width:P}},[$||R]):null,E=[r.style,{flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P}],k=ce(m,`${m}-${T}`,{[`${m}-collapsed`]:!!l.value,[`${m}-has-trigger`]:C&&$!==null&&!M,[`${m}-below`]:!!s.value,[`${m}-zero-width`]:parseFloat(P)===0},r.class);return w("aside",z(z({},r),{},{class:k,style:E}),[w("div",{class:`${m}-children`},[(g=i.default)===null||g===void 0?void 0:g.call(i)]),C||s.value&&M?A:null])}}}),sLe=jb,uLe=Gb,cLe=Ub,dLe=Kb,fLe=_(y_,{Header:jb,Footer:Gb,Content:Kb,Sider:Ub,install:e=>(e.component(y_.name,y_),e.component(jb.name,jb),e.component(Gb.name,Gb),e.component(Ub.name,Ub),e.component(Kb.name,Kb),e)});function hLe(e,t,n){var r=n||{},i=r.noTrailing,o=i===void 0?!1:i,a=r.noLeading,l=a===void 0?!1:a,s=r.debounceMode,u=s===void 0?void 0:s,c,d=!1,f=0;function h(){c&&clearTimeout(c)}function v(g){var m=g||{},y=m.upcomingOnly,b=y===void 0?!1:y;h(),d=!b}function p(){for(var g=arguments.length,m=new Array(g),y=0;ye?l?(f=Date.now(),o||(c=setTimeout(u?$:x,e))):x():o!==!0&&(c=setTimeout(u?$:x,u===void 0?e-S:e))}return p.cancel=v,p}function vLe(e,t,n){var r=n||{},i=r.atBegin,o=i===void 0?!1:i;return hLe(e,t,{debounceMode:o!==!1})}const pLe=new xt("antSpinMove",{to:{opacity:1}}),gLe=new xt("antRotate",{to:{transform:"rotate(405deg)"}}),mLe=e=>({[`${e.componentCls}`]:_(_({},st(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:pLe,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:gLe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})}),yLe=it("Spin",e=>{const t=Ue(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:e.controlHeightLG*.35,spinDotSizeLG:e.controlHeight});return[mLe(t)]},{contentHeight:400});var bLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:U.any,delay:Number,indicator:U.any});let Xb=null;function xLe(e,t){return!!e&&!!t&&!isNaN(Number(t))}function wLe(e){const t=e.indicator;Xb=typeof t=="function"?t:()=>w(t,null,null)}const Ya=se({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:ft(SLe(),{size:"default",spinning:!0,wrapperClassName:""}),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:i,size:o,direction:a}=Ee("spin",e),[l,s]=yLe(i),u=ae(e.spinning&&!xLe(e.spinning,e.delay));let c;return Se([()=>e.spinning,()=>e.delay],()=>{c==null||c.cancel(),c=vLe(e.delay,()=>{u.value=e.spinning}),c==null||c()},{immediate:!0,flush:"post"}),ht(()=>{c==null||c.cancel()}),()=>{var d,f;const{class:h}=n,v=bLe(n,["class"]),{tip:p=(d=r.tip)===null||d===void 0?void 0:d.call(r)}=e,g=(f=r.default)===null||f===void 0?void 0:f.call(r),m={[s.value]:!0,[i.value]:!0,[`${i.value}-sm`]:o.value==="small",[`${i.value}-lg`]:o.value==="large",[`${i.value}-spinning`]:u.value,[`${i.value}-show-text`]:!!p,[`${i.value}-rtl`]:a.value==="rtl",[h]:!!h};function y(S){const x=`${S}-dot`;let $=Un(r,e,"indicator");return $===null?null:(Array.isArray($)&&($=$.length===1?$[0]:$),Nn($)?cr($,{class:x}):Xb&&Nn(Xb())?cr(Xb(),{class:x}):w("span",{class:`${x} ${S}-dot-spin`},[w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null),w("i",{class:`${S}-dot-item`},null)]))}const b=w("div",z(z({},v),{},{class:m,"aria-live":"polite","aria-busy":u.value}),[y(i.value),p?w("div",{class:`${i.value}-text`},[p]):null]);if(g&&xn(g).length){const S={[`${i.value}-container`]:!0,[`${i.value}-blur`]:u.value};return l(w("div",{class:[`${i.value}-nested-loading`,e.wrapperClassName,s.value]},[u.value&&w("div",{key:"loading"},[b]),w("div",{class:S,key:"container"},[g])]))}return l(b)}}});Ya.setDefaultIndicator=wLe;Ya.install=function(e){return e.component(Ya.name,Ya),e};var CLe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const $Le=CLe;function jk(e){for(var t=1;t{const i=_(_(_({},e),{size:"small"}),n);return w(Ul,i,r)}}}),ALe=se({name:"MiddleSelect",inheritAttrs:!1,props:Aw(),Option:Ul.Option,setup(e,t){let{attrs:n,slots:r}=t;return()=>{const i=_(_(_({},e),{size:"middle"}),n);return w(Ul,i,r)}}}),Wu=se({compatConfig:{MODE:3},name:"Pager",inheritAttrs:!1,props:{rootPrefixCls:String,page:Number,active:{type:Boolean,default:void 0},last:{type:Boolean,default:void 0},locale:U.object,showTitle:{type:Boolean,default:void 0},itemRender:{type:Function,default:()=>{}},onClick:{type:Function},onKeypress:{type:Function}},eimt:["click","keypress"],setup(e,t){let{emit:n,attrs:r}=t;const i=()=>{n("click",e.page)},o=a=>{n("keypress",a,i,e.page)};return()=>{const{showTitle:a,page:l,itemRender:s}=e,{class:u,style:c}=r,d=`${e.rootPrefixCls}-item`,f=ce(d,`${d}-${e.page}`,{[`${d}-active`]:e.active,[`${d}-disabled`]:!e.page},u);return w("li",{onClick:i,onKeypress:o,title:a?String(l):null,tabindex:"0",class:f,style:c},[s({page:l,type:"page",originalElement:w("a",{rel:"nofollow"},[l])})])}}}),mc={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},OLe=se({compatConfig:{MODE:3},props:{disabled:{type:Boolean,default:void 0},changeSize:Function,quickGo:Function,selectComponentClass:U.any,current:Number,pageSizeOptions:U.array.def(["10","20","50","100"]),pageSize:Number,buildOptionText:Function,locale:U.object,rootPrefixCls:String,selectPrefixCls:String,goButton:U.any},setup(e){const t=ue(""),n=L(()=>!t.value||isNaN(t.value)?void 0:Number(t.value)),r=s=>`${s.value} ${e.locale.items_per_page}`,i=s=>{const{value:u}=s.target;t.value!==u&&(t.value=u)},o=s=>{const{goButton:u,quickGo:c,rootPrefixCls:d}=e;if(!(u||t.value===""))if(s.relatedTarget&&(s.relatedTarget.className.indexOf(`${d}-item-link`)>=0||s.relatedTarget.className.indexOf(`${d}-item`)>=0)){t.value="";return}else c(n.value),t.value=""},a=s=>{t.value!==""&&(s.keyCode===mc.ENTER||s.type==="click")&&(e.quickGo(n.value),t.value="")},l=L(()=>{const{pageSize:s,pageSizeOptions:u}=e;return u.some(c=>c.toString()===s.toString())?u:u.concat([s.toString()]).sort((c,d)=>{const f=isNaN(Number(c))?0:Number(c),h=isNaN(Number(d))?0:Number(d);return f-h})});return()=>{const{rootPrefixCls:s,locale:u,changeSize:c,quickGo:d,goButton:f,selectComponentClass:h,selectPrefixCls:v,pageSize:p,disabled:g}=e,m=`${s}-options`;let y=null,b=null,S=null;if(!c&&!d)return null;if(c&&h){const x=e.buildOptionText||r,$=l.value.map((C,T)=>w(h.Option,{key:T,value:C},{default:()=>[x({value:C})]}));y=w(h,{disabled:g,prefixCls:v,showSearch:!1,class:`${m}-size-changer`,optionLabelProp:"children",value:(p||l.value[0]).toString(),onChange:C=>c(Number(C)),getPopupContainer:C=>C.parentNode},{default:()=>[$]})}return d&&(f&&(S=typeof f=="boolean"?w("button",{type:"button",onClick:a,onKeyup:a,disabled:g,class:`${m}-quick-jumper-button`},[u.jump_to_confirm]):w("span",{onClick:a,onKeyup:a},[f])),b=w("div",{class:`${m}-quick-jumper`},[u.jump_to,w(tv,{disabled:g,type:"text",value:t.value,onInput:i,onChange:i,onKeyup:a,onBlur:o},null),u.page,S])),w("li",{class:`${m}`},[y,b])}}});var DLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir?r:n,Pl(this,"current")||(t.stateCurrent=n,t.stateCurrentInputValue=n),t.statePageSize=e,this.setState(t)},stateCurrent(e,t){this.$nextTick(()=>{if(this.$refs.paginationNode){const n=this.$refs.paginationNode.querySelector(`.${this.prefixCls}-item-${t}`);n&&document.activeElement===n&&n.blur()}})},total(){const e={},t=vl(this.pageSize,this.$data,this.$props);if(Pl(this,"current")){const n=Math.min(this.current,t);e.stateCurrent=n,e.stateCurrentInputValue=n}else{let n=this.stateCurrent;n===0&&t>0?n=1:n=Math.min(this.stateCurrent,t),e.stateCurrent=n}this.setState(e)}},methods:{getJumpPrevPage(){return Math.max(1,this.stateCurrent-(this.showLessItems?3:5))},getJumpNextPage(){return Math.min(vl(void 0,this.$data,this.$props),this.stateCurrent+(this.showLessItems?3:5))},getItemIcon(e,t){const{prefixCls:n}=this.$props;return MK(this,e,this.$props)||w("button",{type:"button","aria-label":t,class:`${n}-item-link`},null)},getValidValue(e){const t=e.target.value,n=vl(void 0,this.$data,this.$props),{stateCurrentInputValue:r}=this.$data;let i;return t===""?i=t:isNaN(Number(t))?i=r:t>=n?i=n:i=Number(t),i},isValid(e){return ELe(e)&&e!==this.stateCurrent},shouldDisplayQuickJumper(){const{showQuickJumper:e,pageSize:t,total:n}=this.$props;return n<=t?!1:e},handleKeyDown(e){(e.keyCode===mc.ARROW_UP||e.keyCode===mc.ARROW_DOWN)&&e.preventDefault()},handleKeyUp(e){const t=this.getValidValue(e),n=this.stateCurrentInputValue;t!==n&&this.setState({stateCurrentInputValue:t}),e.keyCode===mc.ENTER?this.handleChange(t):e.keyCode===mc.ARROW_UP?this.handleChange(t-1):e.keyCode===mc.ARROW_DOWN&&this.handleChange(t+1)},changePageSize(e){let t=this.stateCurrent;const n=t,r=vl(e,this.$data,this.$props);t=t>r?r:t,r===0&&(t=this.stateCurrent),typeof e=="number"&&(Pl(this,"pageSize")||this.setState({statePageSize:e}),Pl(this,"current")||this.setState({stateCurrent:t,stateCurrentInputValue:t})),this.__emit("update:pageSize",e),t!==n&&this.__emit("update:current",t),this.__emit("showSizeChange",t,e),this.__emit("change",t,e)},handleChange(e){const{disabled:t}=this.$props;let n=e;if(this.isValid(n)&&!t){const r=vl(void 0,this.$data,this.$props);return n>r?n=r:n<1&&(n=1),Pl(this,"current")||this.setState({stateCurrent:n,stateCurrentInputValue:n}),this.__emit("update:current",n),this.__emit("change",n,this.statePageSize),n}return this.stateCurrent},prev(){this.hasPrev()&&this.handleChange(this.stateCurrent-1)},next(){this.hasNext()&&this.handleChange(this.stateCurrent+1)},jumpPrev(){this.handleChange(this.getJumpPrevPage())},jumpNext(){this.handleChange(this.getJumpNextPage())},hasPrev(){return this.stateCurrent>1},hasNext(){return this.stateCurrentn},runIfEnter(e,t){if(e.key==="Enter"||e.charCode===13){e.preventDefault();for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i0?m-1:0,E=m+1<$?m+1:$,k=this.hasPrev(),N=this.hasNext();if(u)return D&&(typeof D=="boolean"?O=w("button",{type:"button",onClick:this.handleGoTO,onKeyup:this.handleGoTO},[i.jump_to_confirm]):O=w("span",{onClick:this.handleGoTO,onKeyup:this.handleGoTO},[D]),O=w("li",{title:l?`${i.jump_to}${m}/${$}`:null,class:`${e}-simple-pager`},[O])),w("ul",z({class:ce(`${e} ${e}-simple`,{[`${e}-disabled`]:t},S)},x),[w("li",{title:l?i.prev_page:null,onClick:this.prev,tabindex:k?0:null,onKeypress:this.runIfEnterPrev,class:ce(`${e}-prev`,{[`${e}-disabled`]:!k}),"aria-disabled":!k},[this.renderPrev(A)]),w("li",{title:l?`${m}/${$}`:null,class:`${e}-simple-pager`},[w(tv,{type:"text",value:this.stateCurrentInputValue,disabled:t,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onInput:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"},null),w("span",{class:`${e}-slash`},[Gr("/")]),$]),w("li",{title:l?i.next_page:null,onClick:this.next,tabindex:N?0:null,onKeypress:this.runIfEnterNext,class:ce(`${e}-next`,{[`${e}-disabled`]:!N}),"aria-disabled":!N},[this.renderNext(E)]),O]);if($<=3+R*2){const X={locale:i,rootPrefixCls:e,showTitle:l,itemRender:c,onClick:this.handleChange,onKeypress:this.runIfEnter};$||C.push(w(Wu,z(z({},X),{},{key:"noPager",page:1,class:`${e}-item-disabled`}),null));for(let Q=1;Q<=$;Q+=1){const K=m===Q;C.push(w(Wu,z(z({},X),{},{key:Q,page:Q,active:K}),null))}}else{const X=a?i.prev_3:i.prev_5,Q=a?i.next_3:i.next_5;d&&(T=w("li",{title:this.showTitle?X:null,key:"prev",onClick:this.jumpPrev,tabindex:"0",onKeypress:this.runIfEnterJumpPrev,class:ce(`${e}-jump-prev`,{[`${e}-jump-prev-custom-icon`]:!!f})},[c({page:this.getJumpPrevPage(),type:"jump-prev",originalElement:this.getItemIcon("jumpPrevIcon","prev page")})]),I=w("li",{title:this.showTitle?Q:null,key:"next",tabindex:"0",onClick:this.jumpNext,onKeypress:this.runIfEnterJumpNext,class:ce(`${e}-jump-next`,{[`${e}-jump-next-custom-icon`]:!!h})},[c({page:this.getJumpNextPage(),type:"jump-next",originalElement:this.getItemIcon("jumpNextIcon","next page")})])),M=w(Wu,{locale:i,last:!0,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:$,page:$,active:!1,showTitle:l,itemRender:c},null),P=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:1,page:1,active:!1,showTitle:l,itemRender:c},null);let K=Math.max(1,m-R),te=Math.min(m+R,$);m-1<=R&&(te=1+R*2),$-m<=R&&(K=$-R*2);for(let q=K;q<=te;q+=1){const ee=m===q;C.push(w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:q,page:q,active:ee,showTitle:l,itemRender:c},null))}m-1>=R*2&&m!==1+2&&(C[0]=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:K,page:K,class:`${e}-item-after-jump-prev`,active:!1,showTitle:this.showTitle,itemRender:c},null),C.unshift(T)),$-m>=R*2&&m!==$-2&&(C[C.length-1]=w(Wu,{locale:i,rootPrefixCls:e,onClick:this.handleChange,onKeypress:this.runIfEnter,key:te,page:te,class:`${e}-item-before-jump-next`,active:!1,showTitle:this.showTitle,itemRender:c},null),C.push(I)),K!==1&&C.unshift(P),te!==$&&C.push(M)}let B=null;s&&(B=w("li",{class:`${e}-total-text`},[s(r,[r===0?0:(m-1)*y+1,m*y>r?r:m*y])]));const F=!k||!$,H=!N||!$,V=this.buildOptionText||this.$slots.buildOptionText;return w("ul",z(z({unselectable:"on",ref:"paginationNode"},x),{},{class:ce({[`${e}`]:!0,[`${e}-disabled`]:t},S)}),[B,w("li",{title:l?i.prev_page:null,onClick:this.prev,tabindex:F?null:0,onKeypress:this.runIfEnterPrev,class:ce(`${e}-prev`,{[`${e}-disabled`]:F}),"aria-disabled":F},[this.renderPrev(A)]),C,w("li",{title:l?i.next_page:null,onClick:this.next,tabindex:H?null:0,onKeypress:this.runIfEnterNext,class:ce(`${e}-next`,{[`${e}-disabled`]:H}),"aria-disabled":H},[this.renderNext(E)]),w(OLe,{disabled:t,locale:i,rootPrefixCls:e,selectComponentClass:v,selectPrefixCls:p,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:m,pageSize:y,pageSizeOptions:g,buildOptionText:V||null,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:D},null)])}}),NLe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`&${t}-mini`]:{[` &:hover ${t}-item:not(${t}-item-active), &:active ${t}-item:not(${t}-item-active), &:hover ${t}-item-link, &:active ${t}-item-link - `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},NLe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[` + `]:{backgroundColor:"transparent"}},[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.paginationItemDisabledBgActive,"&:hover, &:active":{backgroundColor:e.paginationItemDisabledBgActive},a:{color:e.paginationItemDisabledColorActive}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},kLe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM-2}px`},[`&${t}-mini ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.paginationItemSizeSM,height:e.paginationItemSizeSM,margin:0,lineHeight:`${e.paginationItemSizeSM}px`,[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:_(_({},bE(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},kLe=e=>{const{componentCls:t}=e;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.paginationItemSizeSM,marginInlineEnd:0,lineHeight:`${e.paginationItemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.paginationMiniOptionsSizeChangerTop},"&-quick-jumper":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,input:_(_({},bE(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},BLe=e=>{const{componentCls:t}=e;return{[` &${t}-simple ${t}-prev, &${t}-simple ${t}-next - `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},BLe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":_({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},jl(e))},[` + `]:{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.paginationItemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.paginationItemSizeSM,lineHeight:`${e.paginationItemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.paginationItemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.paginationItemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},FLe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},"&:focus-visible":_({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Gl(e))},[` ${t}-prev, ${t}-jump-prev, ${t}-jump-next @@ -398,9 +398,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:_({},jl(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:_(_({},Bd(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},FLe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:_(_({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},Gl(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},zLe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_(_(_(_({},st(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),FLe(e)),BLe(e)),kLe(e)),NLe(e)),LLe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},HLe=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},VLe=it("Pagination",e=>{const t=Ue(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},Fd(e));return[zLe(t),e.wireframe&&HLe(t)]});var WLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({total:Number,defaultCurrent:Number,disabled:$e(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:$e(),showSizeChanger:$e(),pageSizeOptions:Ot(),buildOptionText:be(),showQuickJumper:Xe([Boolean,Object]),showTotal:be(),size:je(),simple:$e(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:be(),role:String,responsive:Boolean,showLessItems:$e(),onChange:be(),onShowSizeChange:be(),"onUpdate:current":be(),"onUpdate:pageSize":be()}),GLe=se({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:jLe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,configProvider:o,direction:a,size:l}=Ee("pagination",e),[s,u]=VLe(i),c=L(()=>o.getPrefixCls("select",e.selectPrefixCls)),d=lv(),[f]=Ro("Pagination",zK,qe(e,"locale")),h=v=>{const p=w("span",{class:`${v}-item-ellipsis`},[Gr("•••")]),g=w("button",{class:`${v}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?w(ua,null,null):w(vu,null,null)]),m=w("button",{class:`${v}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?w(vu,null,null):w(ua,null,null)]),y=w("a",{rel:"nofollow",class:`${v}-item-link`},[w("div",{class:`${v}-item-container`},[a.value==="rtl"?w(Uk,{class:`${v}-item-link-icon`},null):w(Gk,{class:`${v}-item-link-icon`},null),p])]),b=w("a",{rel:"nofollow",class:`${v}-item-link`},[w("div",{class:`${v}-item-container`},[a.value==="rtl"?w(Gk,{class:`${v}-item-link-icon`},null):w(Uk,{class:`${v}-item-link-icon`},null),p])]);return{prevIcon:g,nextIcon:m,jumpPrevIcon:y,jumpNextIcon:b}};return()=>{var v;const{itemRender:p=n.itemRender,buildOptionText:g=n.buildOptionText,selectComponentClass:m,responsive:y}=e,b=WLe(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),S=l.value==="small"||!!(!((v=d.value)===null||v===void 0)&&v.xs&&!l.value&&y),x=_(_(_(_(_({},b),h(i.value)),{prefixCls:i.value,selectPrefixCls:c.value,selectComponentClass:m||(S?PLe:MLe),locale:f.value,buildOptionText:g}),r),{class:ce({[`${i.value}-mini`]:S,[`${i.value}-rtl`]:a.value==="rtl"},r.class,u.value),itemRender:p});return s(w(RLe,x,null))}}}),Qw=gn(GLe),KLe=()=>({avatar:U.any,description:U.any,prefixCls:String,title:U.any}),wQ=se({compatConfig:{MODE:3},name:"AListItemMeta",props:KLe(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("list",e);return()=>{var i,o,a,l,s,u;const c=`${r.value}-item-meta`,d=(i=e.title)!==null&&i!==void 0?i:(o=n.title)===null||o===void 0?void 0:o.call(n),f=(a=e.description)!==null&&a!==void 0?a:(l=n.description)===null||l===void 0?void 0:l.call(n),h=(s=e.avatar)!==null&&s!==void 0?s:(u=n.avatar)===null||u===void 0?void 0:u.call(n),v=w("div",{class:`${r.value}-item-meta-content`},[d&&w("h4",{class:`${r.value}-item-meta-title`},[d]),f&&w("div",{class:`${r.value}-item-meta-description`},[f])]);return w("div",{class:c},[h&&w("div",{class:`${r.value}-item-meta-avatar`},[h]),(d||f)&&v])}}}),CQ=Symbol("ListContextKey");var ULe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,extra:U.any,actions:U.array,grid:Object,colStyle:{type:Object,default:void 0}}),$Q=se({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:wQ,props:XLe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{itemLayout:i,grid:o}=Je(CQ,{grid:ue(),itemLayout:ue()}),{prefixCls:a}=Ee("list",e),l=()=>{var u;const c=((u=n.default)===null||u===void 0?void 0:u.call(n))||[];let d;return c.forEach(f=>{Rfe(f)&&!Nm(f)&&(d=!0)}),d&&c.length>1},s=()=>{var u,c;const d=(u=e.extra)!==null&&u!==void 0?u:(c=n.extra)===null||c===void 0?void 0:c.call(n);return i.value==="vertical"?!!d:!l()};return()=>{var u,c,d,f,h;const{class:v}=r,p=ULe(r,["class"]),g=a.value,m=(u=e.extra)!==null&&u!==void 0?u:(c=n.extra)===null||c===void 0?void 0:c.call(n),y=(d=n.default)===null||d===void 0?void 0:d.call(n);let b=(f=e.actions)!==null&&f!==void 0?f:Jt((h=n.actions)===null||h===void 0?void 0:h.call(n));b=b&&!Array.isArray(b)?[b]:b;const S=b&&b.length>0&&w("ul",{class:`${g}-item-action`,key:"actions"},[b.map((C,T)=>w("li",{key:`${g}-item-action-${T}`},[C,T!==b.length-1&&w("em",{class:`${g}-item-action-split`},null)]))]),x=o.value?"div":"li",$=w(x,z(z({},p),{},{class:ce(`${g}-item`,{[`${g}-item-no-flex`]:!s()},v)}),{default:()=>[i.value==="vertical"&&m?[w("div",{class:`${g}-item-main`,key:"content"},[y,S]),w("div",{class:`${g}-item-extra`,key:"extra"},[m])]:[y,S,Nt(m,{key:"extra"})]]});return o.value?w(Xw,{flex:1,style:e.colStyle},{default:()=>[$]}):$}}}),YLe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,padding:o,listItemPaddingSM:a,marginLG:l,borderRadiusLG:s}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${i}px ${l}px`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:`${o}px ${r}px`}}}},qLe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:o,margin:a}=e;return{[`@media screen and (max-width:${r})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${a}px`}}}}}},ZLe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:o,marginLG:a,padding:l,listItemPadding:s,colorPrimary:u,listItemPaddingSM:c,listItemPaddingLG:d,paddingXS:f,margin:h,colorText:v,colorTextDescription:p,motionDurationSlow:g,lineWidth:m}=e;return{[`${t}`]:_(_({},st(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:a,textAlign:"end",[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:i,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:v,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:l},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:v},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:v,transition:`all ${g}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:p,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${f}px`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:m,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${l}px 0`,color:p,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:l,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:l,[`${t}-item-meta-title`]:{marginBlockEnd:o,color:v,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${l}px`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:c},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},QLe=it("List",e=>{const t=Ue(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[ZLe(t),YLe(t),qLe(t)]},{contentWidth:220}),JLe=()=>({bordered:$e(),dataSource:Ot(),extra:Wr(),grid:He(),itemLayout:String,loading:Xe([Boolean,Object]),loadMore:Wr(),pagination:Xe([Boolean,Object]),prefixCls:String,rowKey:Xe([String,Number,Function]),renderItem:be(),size:String,split:$e(),header:Wr(),footer:Wr(),locale:He()}),Os=se({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:$Q,props:ft(JLe(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;var i,o;at(CQ,{grid:qe(e,"grid"),itemLayout:qe(e,"itemLayout")});const a={current:1,total:0},{prefixCls:l,direction:s,renderEmpty:u}=Ee("list",e),[c,d]=QLe(l),f=L(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),h=ue((i=f.value.defaultCurrent)!==null&&i!==void 0?i:1),v=ue((o=f.value.defaultPageSize)!==null&&o!==void 0?o:10);Se(f,()=>{"current"in f.value&&(h.value=f.value.current),"pageSize"in f.value&&(v.value=f.value.pageSize)});const p=[],g=D=>(R,A)=>{h.value=R,v.value=A,f.value[D]&&f.value[D](R,A)},m=g("onChange"),y=g("onShowSizeChange"),b=L(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),S=L(()=>b.value&&b.value.spinning),x=L(()=>{let D="";switch(e.size){case"large":D="lg";break;case"small":D="sm";break}return D}),$=L(()=>({[`${l.value}`]:!0,[`${l.value}-vertical`]:e.itemLayout==="vertical",[`${l.value}-${x.value}`]:x.value,[`${l.value}-split`]:e.split,[`${l.value}-bordered`]:e.bordered,[`${l.value}-loading`]:S.value,[`${l.value}-grid`]:!!e.grid,[`${l.value}-rtl`]:s.value==="rtl"})),C=L(()=>{const D=_(_(_({},a),{total:e.dataSource.length,current:h.value,pageSize:v.value}),e.pagination||{}),R=Math.ceil(D.total/D.pageSize);return D.current>R&&(D.current=R),D}),T=L(()=>{let D=[...e.dataSource];return e.pagination&&e.dataSource.length>(C.value.current-1)*C.value.pageSize&&(D=[...e.dataSource].splice((C.value.current-1)*C.value.pageSize,C.value.pageSize)),D}),I=lv(),P=Wi(()=>{for(let D=0;D{if(!e.grid)return;const D=P.value&&e.grid[P.value]?e.grid[P.value]:e.grid.column;if(D)return{width:`${100/D}%`,maxWidth:`${100/D}%`}}),O=(D,R)=>{var A;const E=(A=e.renderItem)!==null&&A!==void 0?A:n.renderItem;if(!E)return null;let k;const N=typeof e.rowKey;return N==="function"?k=e.rowKey(D):N==="string"||N==="number"?k=D[e.rowKey]:k=D.key,k||(k=`list-item-${R}`),p[R]=k,E({item:D,index:R})};return()=>{var D,R,A,E,k,N,B,F;const H=(D=e.loadMore)!==null&&D!==void 0?D:(R=n.loadMore)===null||R===void 0?void 0:R.call(n),V=(A=e.footer)!==null&&A!==void 0?A:(E=n.footer)===null||E===void 0?void 0:E.call(n),X=(k=e.header)!==null&&k!==void 0?k:(N=n.header)===null||N===void 0?void 0:N.call(n),Q=Jt((B=n.default)===null||B===void 0?void 0:B.call(n)),K=!!(H||e.pagination||V),te=ce(_(_({},$.value),{[`${l.value}-something-after-last-item`]:K}),r.class,d.value),q=e.pagination?w("div",{class:`${l.value}-pagination`},[w(Qw,z(z({},C.value),{},{onChange:m,onShowSizeChange:y}),null)]):null;let ee=S.value&&w("div",{style:{minHeight:"53px"}},null);if(T.value.length>0){p.length=0;const G=T.value.map((oe,W)=>O(oe,W)),Y=G.map((oe,W)=>w("div",{key:p[W],style:M.value},[oe]));ee=e.grid?w(RE,{gutter:e.grid.gutter},{default:()=>[Y]}):w("ul",{class:`${l.value}-items`},[G])}else!Q.length&&!S.value&&(ee=w("div",{class:`${l.value}-empty-text`},[((F=e.locale)===null||F===void 0?void 0:F.emptyText)||u("List")]));const J=C.value.position||"bottom";return c(w("div",z(z({},r),{},{class:te}),[(J==="top"||J==="both")&&q,X&&w("div",{class:`${l.value}-header`},[X]),w(Xa,b.value,{default:()=>[ee,Q]}),V&&w("div",{class:`${l.value}-footer`},[V]),H||(J==="bottom"||J==="both")&&q]))}}});Os.install=function(e){return e.component(Os.name,Os),e.component(Os.Item.name,Os.Item),e.component(Os.Item.Meta.name,Os.Item.Meta),e};const e5e=Os;function t5e(e){const{selectionStart:t}=e;return e.value.slice(0,t)}function n5e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(t)?t:[t]).reduce((r,i)=>{const o=e.lastIndexOf(i);return o>r.location?{location:o,prefix:i}:r},{location:-1,prefix:""})}function Xk(e){return(e||"").toLowerCase()}function r5e(e,t,n){const r=e[0];if(!r||r===n)return e;let i=e;const o=t.length;for(let a=0;a[]}},setup(e,t){let{slots:n}=t;const{activeIndex:r,setActiveIndex:i,selectOption:o,onFocus:a=u5e,loading:l}=Je(_Q,{activeIndex:ae(),loading:ae(!1)});let s;const u=c=>{clearTimeout(s),s=setTimeout(()=>{a(c)})};return ht(()=>{clearTimeout(s)}),()=>{var c;const{prefixCls:d,options:f}=e,h=f[r.value]||{};return w(Ln,{prefixCls:`${d}-menu`,activeKey:h.value,onSelect:v=>{let{key:p}=v;const g=f.find(m=>{let{value:y}=m;return y===p});o(g)},onMousedown:u},{default:()=>[!l.value&&f.map((v,p)=>{var g,m;const{value:y,disabled:b,label:S=v.value,class:x,style:$}=v;return w(Ua,{key:y,disabled:b,onMouseenter:()=>{i(p)},class:x,style:$},{default:()=>[(m=(g=n.option)===null||g===void 0?void 0:g.call(n,v))!==null&&m!==void 0?m:typeof S=="function"?S(v):S]})}),!l.value&&f.length===0?w(Ua,{key:"notFoundContent",disabled:!0},{default:()=>[(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)]}):null,l.value&&w(Ua,{key:"loading",disabled:!0},{default:()=>[w(Xa,{size:"small"},null)]})]})}}}),d5e={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},f5e=se({compatConfig:{MODE:3},name:"KeywordTrigger",props:{loading:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},prefixCls:String,placement:String,visible:{type:Boolean,default:void 0},transitionName:String,getPopupContainer:Function,direction:String,dropdownClassName:String},setup(e,t){let{slots:n}=t;const r=()=>`${e.prefixCls}-dropdown`,i=()=>{const{options:a}=e;return w(c5e,{prefixCls:r(),options:a},{notFoundContent:n.notFoundContent,option:n.option})},o=L(()=>{const{placement:a,direction:l}=e;let s="topRight";return l==="rtl"?s=a==="top"?"topLeft":"bottomLeft":s=a==="top"?"topRight":"bottomRight",s});return()=>{const{visible:a,transitionName:l,getPopupContainer:s}=e;return w(Ld,{prefixCls:r(),popupVisible:a,popup:i(),popupClassName:e.dropdownClassName,popupPlacement:o.value,popupTransitionName:l,builtinPlacements:d5e,getPopupContainer:s},{default:n.default})}}}),h5e=Ar("top","bottom"),TQ={autofocus:{type:Boolean,default:void 0},prefix:U.oneOfType([U.string,U.arrayOf(U.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:U.oneOf(h5e),character:U.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:Ot(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},IQ=_(_({},TQ),{dropdownClassName:String}),PQ={prefix:"@",split:" ",rows:1,validateSearch:a5e,filterOption:()=>l5e};ft(IQ,PQ);var Yk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{u.value=e.value});const c=M=>{n("change",M)},d=M=>{let{target:{value:O}}=M;c(O)},f=(M,O,D)=>{_(u,{measuring:!0,measureText:M,measurePrefix:O,measureLocation:D,activeIndex:0})},h=M=>{_(u,{measuring:!1,measureLocation:0,measureText:null}),M==null||M()},v=M=>{const{which:O}=M;if(u.measuring){if(O===Pe.UP||O===Pe.DOWN){const D=T.value.length,R=O===Pe.UP?-1:1,A=(u.activeIndex+R+D)%D;u.activeIndex=A,M.preventDefault()}else if(O===Pe.ESC)h();else if(O===Pe.ENTER){if(M.preventDefault(),!T.value.length){h();return}const D=T.value[u.activeIndex];x(D)}}},p=M=>{const{key:O,which:D}=M,{measureText:R,measuring:A}=u,{prefix:E,validateSearch:k}=e,N=M.target;if(N.composing)return;const B=t5e(N),{location:F,prefix:H}=n5e(B,E);if([Pe.ESC,Pe.UP,Pe.DOWN,Pe.ENTER].indexOf(D)===-1)if(F!==-1){const V=B.slice(F+H.length),X=k(V,e),Q=!!C(V).length;X?(O===H||O==="Shift"||A||V!==R&&Q)&&f(V,H,F):A&&h(),X&&n("search",V,H)}else A&&h()},g=M=>{u.measuring||n("pressenter",M)},m=M=>{b(M)},y=M=>{S(M)},b=M=>{clearTimeout(s.value);const{isFocus:O}=u;!O&&M&&n("focus",M),u.isFocus=!0},S=M=>{s.value=setTimeout(()=>{u.isFocus=!1,h(),n("blur",M)},100)},x=M=>{const{split:O}=e,{value:D=""}=M,{text:R,selectionLocation:A}=i5e(u.value,{measureLocation:u.measureLocation,targetText:D,prefix:u.measurePrefix,selectionStart:l.value.getSelectionStart(),split:O});c(R),h(()=>{o5e(l.value.input,A)}),n("select",M,u.measurePrefix)},$=M=>{u.activeIndex=M},C=M=>{const O=M||u.measureText||"",{filterOption:D}=e;return e.options.filter(A=>D?D(O,A):!0)},T=L(()=>C());return i({blur:()=>{l.value.blur()},focus:()=>{l.value.focus()}}),at(_Q,{activeIndex:qe(u,"activeIndex"),setActiveIndex:$,selectOption:x,onFocus:b,onBlur:S,loading:qe(e,"loading")}),Qr(()=>{_t(()=>{u.measuring&&(a.value.scrollTop=l.value.getScrollTop())})}),()=>{const{measureLocation:M,measurePrefix:O,measuring:D}=u,{prefixCls:R,placement:A,transitionName:E,getPopupContainer:k,direction:N}=e,B=Yk(e,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:F,style:H}=r,V=Yk(r,["class","style"]),X=yt(B,["value","prefix","split","validateSearch","filterOption","options","loading"]),Q=_(_(_({},X),V),{onChange:qk,onSelect:qk,value:u.value,onInput:d,onBlur:y,onKeydown:v,onKeyup:p,onFocus:m,onPressenter:g});return w("div",{class:ce(R,F),style:H},[w(ev,z(z({},Q),{},{ref:l,tag:"textarea"}),null),D&&w("div",{ref:a,class:`${R}-measure`},[u.value.slice(0,M),w(f5e,{prefixCls:R,transitionName:E,dropdownClassName:e.dropdownClassName,placement:A,options:D?T.value:[],visible:!0,direction:N,getPopupContainer:k},{default:()=>[w("span",null,[O])],notFoundContent:o.notFoundContent,option:o.option}),u.value.slice(M+O.length)])])}}}),p5e={value:String,disabled:Boolean,payload:He()},MQ=_(_({},p5e),{label:tn([])}),AQ={name:"Option",props:MQ,render(e,t){let{slots:n}=t;var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}};_({compatConfig:{MODE:3}},AQ);const g5e=e=>{const{componentCls:t,colorTextDisabled:n,controlItemBgHover:r,controlPaddingHorizontal:i,colorText:o,motionDurationSlow:a,lineHeight:l,controlHeight:s,inputPaddingHorizontal:u,inputPaddingVertical:c,fontSize:d,colorBgElevated:f,borderRadiusLG:h,boxShadowSecondary:v}=e,p=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:_(_(_(_(_({},st(e)),Bd(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:l,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Xm(e,t)),{"&-disabled":{"> textarea":_({},yE(e))},"&-focused":_({},hu(e)),[`&-affix-wrapper ${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:u,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${t}-measure`]:{color:o,boxSizing:"border-box",minHeight:s-2,margin:0,padding:`${c}px ${u}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":_({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},mE(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":_(_({},st(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:d,fontVariant:"initial",backgroundColor:f,borderRadius:h,outline:"none",boxShadow:v,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":_(_({},Hn),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${p}px ${i}px`,color:o,fontWeight:"normal",lineHeight:l,cursor:"pointer",transition:`background ${a} ease`,"&:hover":{backgroundColor:r},"&:first-child":{borderStartStartRadius:h,borderStartEndRadius:h,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:h,borderEndEndRadius:h},"&-disabled":{color:n,cursor:"not-allowed","&:hover":{color:n,backgroundColor:r,cursor:"not-allowed"}},"&-selected":{color:o,fontWeight:e.fontWeightStrong,backgroundColor:r},"&-active":{backgroundColor:r}})}})})}},m5e=it("Mentions",e=>{const t=Fd(e);return[g5e(t)]},e=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50}));var Zk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:n="@",split:r=" "}=t,i=Array.isArray(n)?n:[n];return e.split(r).map(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=null;return i.some(l=>o.slice(0,l.length)===l?(a=l,!0):!1),a!==null?{prefix:a,value:o.slice(a.length)}:null}).filter(o=>!!o&&!!o.value)},S5e=()=>_(_({},TQ),{loading:{type:Boolean,default:void 0},onFocus:{type:Function},onBlur:{type:Function},onSelect:{type:Function},onChange:{type:Function},onPressenter:{type:Function},"onUpdate:value":{type:Function},notFoundContent:U.any,defaultValue:String,id:String,status:String}),b_=se({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:S5e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;var a,l;const{prefixCls:s,renderEmpty:u,direction:c}=Ee("mentions",e),[d,f]=m5e(s),h=ae(!1),v=ae(null),p=ae((l=(a=e.value)!==null&&a!==void 0?a:e.defaultValue)!==null&&l!==void 0?l:""),g=Xn(),m=fr.useInject(),y=L(()=>ha(m.status,e.status));KD({prefixCls:L(()=>`${s.value}-menu`),mode:L(()=>"vertical"),selectable:L(()=>!1),onClick:()=>{},validator:O=>{vn()}}),Se(()=>e.value,O=>{p.value=O});const b=O=>{h.value=!0,r("focus",O)},S=O=>{h.value=!1,r("blur",O),g.onFieldBlur()},x=function(){for(var O=arguments.length,D=new Array(O),R=0;R{e.value===void 0&&(p.value=O),r("update:value",O),r("change",O),g.onFieldChange()},C=()=>{const O=e.notFoundContent;return O!==void 0?O:n.notFoundContent?n.notFoundContent():u("Select")},T=()=>{var O;return Jt(((O=n.default)===null||O===void 0?void 0:O.call(n))||[]).map(D=>{var R,A;return _(_({},PK(D)),{label:(A=(R=D.children)===null||R===void 0?void 0:R.default)===null||A===void 0?void 0:A.call(R)})})};o({focus:()=>{v.value.focus()},blur:()=>{v.value.blur()}});const M=L(()=>e.loading?y5e:e.filterOption);return()=>{const{disabled:O,getPopupContainer:D,rows:R=1,id:A=g.id.value}=e,E=Zk(e,["disabled","getPopupContainer","rows","id"]),{hasFeedback:k,feedbackIcon:N}=m,{class:B}=i,F=Zk(i,["class"]),H=yt(E,["defaultValue","onUpdate:value","prefixCls"]),V=ce({[`${s.value}-disabled`]:O,[`${s.value}-focused`]:h.value,[`${s.value}-rtl`]:c.value==="rtl"},Kr(s.value,y.value),!k&&B,f.value),X=_(_(_(_({prefixCls:s.value},H),{disabled:O,direction:c.value,filterOption:M.value,getPopupContainer:D,options:e.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:w(Xa,{size:"small"},null)}]:e.options||T(),class:V}),F),{rows:R,onChange:$,onSelect:x,onFocus:b,onBlur:S,ref:v,value:p.value,id:A}),Q=w(v5e,z(z({},X),{},{dropdownClassName:f.value}),{notFoundContent:C,option:n.option});return d(k?w("div",{class:ce(`${s.value}-affix-wrapper`,Kr(`${s.value}-affix-wrapper`,y.value,k),B,f.value)},[Q,w("span",{class:`${s.value}-suffix`},[N])]):Q)}}}),Yb=se(_(_({compatConfig:{MODE:3}},AQ),{name:"AMentionsOption",props:MQ})),x5e=_(b_,{Option:Yb,getMentions:b5e,install:e=>(e.component(b_.name,b_),e.component(Yb.name,Yb),e)});var w5e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{EP={x:e.pageX,y:e.pageY},setTimeout(()=>EP=null,100)};Zq()&&bn(document.documentElement,"click",C5e,!0);const $5e=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:U.any,closable:{type:Boolean,default:void 0},closeIcon:U.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:U.any,okText:U.any,okType:String,cancelText:U.any,icon:U.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:He(),cancelButtonProps:He(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:He(),maskStyle:He(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:He()}),sr=se({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:ft($5e(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:r,attrs:i}=t;const[o]=Ro("Modal"),{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:u}=Ee("modal",e),[c,d]=wRe(a);vn(e.visible===void 0);const f=p=>{n("update:visible",!1),n("update:open",!1),n("cancel",p),n("change",!1)},h=p=>{n("ok",p)},v=()=>{var p,g;const{okText:m=(p=r.okText)===null||p===void 0?void 0:p.call(r),okType:y,cancelText:b=(g=r.cancelText)===null||g===void 0?void 0:g.call(r),confirmLoading:S}=e;return w(Qe,null,[w(An,z({onClick:f},e.cancelButtonProps),{default:()=>[b||o.value.cancelText]}),w(An,z(z({},cS(y)),{},{loading:S,onClick:h},e.okButtonProps),{default:()=>[m||o.value.okText]})])};return()=>{var p,g;const{prefixCls:m,visible:y,open:b,wrapClassName:S,centered:x,getContainer:$,closeIcon:C=(p=r.closeIcon)===null||p===void 0?void 0:p.call(r),focusTriggerAfterClose:T=!0}=e,I=w5e(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),P=ce(S,{[`${a.value}-centered`]:!!x,[`${a.value}-wrap-rtl`]:s.value==="rtl"});return c(w(cQ,z(z(z({},I),i),{},{rootClassName:d.value,class:ce(d.value,i.class),getContainer:$||(u==null?void 0:u.value),prefixCls:a.value,wrapClassName:P,visible:b!=null?b:y,onClose:f,focusTriggerAfterClose:T,transitionName:Yr(l.value,"zoom",e.transitionName),maskTransitionName:Yr(l.value,"fade",e.maskTransitionName),mousePosition:(g=I.mousePosition)!==null&&g!==void 0?g:EP}),_(_({},r),{footer:r.footer||v,closeIcon:()=>w("span",{class:`${a.value}-close-x`},[C||w(Ei,{class:`${a.value}-close-icon`},null)])})))}}}),_5e=()=>{const e=ae(!1);return ht(()=>{e.value=!0}),e},OQ=_5e,T5e={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:He(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function Qk(e){return!!(e&&e.then)}const RP=se({compatConfig:{MODE:3},name:"ActionButton",props:T5e,setup(e,t){let{slots:n}=t;const r=ae(!1),i=ae(),o=ae(!1);let a;const l=OQ();tt(()=>{e.autofocus&&(a=setTimeout(()=>{var d,f;return(f=(d=ci(i.value))===null||d===void 0?void 0:d.focus)===null||f===void 0?void 0:f.call(d)}))}),ht(()=>{clearTimeout(a)});const s=function(){for(var d,f=arguments.length,h=new Array(f),v=0;v{Qk(d)&&(o.value=!0,d.then(function(){l.value||(o.value=!1),s(...arguments),r.value=!1},f=>(l.value||(o.value=!1),r.value=!1,Promise.reject(f))))},c=d=>{const{actionFn:f}=e;if(r.value)return;if(r.value=!0,!f){s();return}let h;if(e.emitEvent){if(h=f(d),e.quitOnNullishReturnValue&&!Qk(h)){r.value=!1,s(d);return}}else if(f.length)h=f(e.close),r.value=!1;else if(h=f(),!h){s();return}u(h)};return()=>{const{type:d,prefixCls:f,buttonProps:h}=e;return w(An,z(z(z({},cS(d)),{},{onClick:c,loading:o.value,prefixCls:f},h),{},{ref:i}),n)}}});function of(e){return typeof e=="function"?e():e}const DQ=se({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[r]=Ro("Modal");return()=>{const{icon:i,onCancel:o,onOk:a,close:l,okText:s,closable:u=!1,zIndex:c,afterClose:d,keyboard:f,centered:h,getContainer:v,maskStyle:p,okButtonProps:g,cancelButtonProps:m,okCancel:y,width:b=416,mask:S=!0,maskClosable:x=!1,type:$,open:C,title:T,content:I,direction:P,closeIcon:M,modalRender:O,focusTriggerAfterClose:D,rootPrefixCls:R,bodyStyle:A,wrapClassName:E,footer:k}=e;let N=i;if(!i&&i!==null)switch($){case"info":N=w(av,null,null);break;case"success":N=w(ls,null,null);break;case"error":N=w(Ri,null,null);break;default:N=w(ss,null,null)}const B=e.okType||"primary",F=e.prefixCls||"ant-modal",H=`${F}-confirm`,V=n.style||{},X=y!=null?y:$==="confirm",Q=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",K=`${F}-confirm`,te=ce(K,`${K}-${e.type}`,{[`${K}-rtl`]:P==="rtl"},n.class),q=r.value,ee=X&&w(RP,{actionFn:o,close:l,autofocus:Q==="cancel",buttonProps:m,prefixCls:`${R}-btn`},{default:()=>[of(e.cancelText)||q.cancelText]});return w(sr,{prefixCls:F,class:te,wrapClassName:ce({[`${K}-centered`]:!!h},E),onCancel:J=>l==null?void 0:l({triggerCancel:!0},J),open:C,title:"",footer:"",transitionName:Yr(R,"zoom",e.transitionName),maskTransitionName:Yr(R,"fade",e.maskTransitionName),mask:S,maskClosable:x,maskStyle:p,style:V,bodyStyle:A,width:b,zIndex:c,afterClose:d,keyboard:f,centered:h,getContainer:v,closable:u,closeIcon:M,modalRender:O,focusTriggerAfterClose:D},{default:()=>[w("div",{class:`${H}-body-wrapper`},[w("div",{class:`${H}-body`},[of(N),T===void 0?null:w("span",{class:`${H}-title`},[of(T)]),w("div",{class:`${H}-content`},[of(I)])]),k!==void 0?of(k):w("div",{class:`${H}-btns`},[ee,w(RP,{type:B,actionFn:a,close:l,autofocus:Q==="ok",buttonProps:g,prefixCls:`${R}-btn`},{default:()=>[of(s)||(X?q.okText:q.justOkText)]})])])]})}}}),I5e=[],Bc=I5e,P5e=e=>{const t=document.createDocumentFragment();let n=_(_({},yt(e,["parentContext","appContext"])),{close:o,open:!0}),r=null;function i(){r&&(fu(null,t),r=null);for(var u=arguments.length,c=new Array(u),d=0;dh&&h.triggerCancel);e.onCancel&&f&&e.onCancel(()=>{},...c.slice(1));for(let h=0;h{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,c)}}),n.visible&&delete n.visible,a(n)}function a(u){typeof u=="function"?n=u(n):n=_(_({},n),u),r&&Sge(r,n,t)}const l=u=>{const c=Cr,d=c.prefixCls,f=u.prefixCls||`${d}-modal`,h=c.iconPrefixCls,v=BDe();return w(VE,z(z({},c),{},{prefixCls:d}),{default:()=>[w(DQ,z(z({},u),{},{rootPrefixCls:d,prefixCls:f,iconPrefixCls:h,locale:v,cancelText:u.cancelText||v.cancelText}),null)]})};function s(u){const c=w(l,_({},u));return c.appContext=e.parentContext||e.appContext||c.appContext,fu(c,t),c}return r=s(n),Bc.push(o),{destroy:o,update:a}},Jm=P5e;function EQ(e){return _(_({},e),{type:"warning"})}function RQ(e){return _(_({},e),{type:"info"})}function LQ(e){return _(_({},e),{type:"success"})}function NQ(e){return _(_({},e),{type:"error"})}function kQ(e){return _(_({},e),{type:"confirm"})}const M5e=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),A5e=se({name:"HookModal",inheritAttrs:!1,props:ft(M5e(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var r;const i=L(()=>e.open),o=L(()=>e.config),{direction:a,getPrefixCls:l}=Zx(),s=l("modal"),u=l(),c=()=>{var v,p;e==null||e.afterClose(),(p=(v=o.value).afterClose)===null||p===void 0||p.call(v)},d=function(){e.destroyAction(...arguments)};n({destroy:d});const f=(r=o.value.okCancel)!==null&&r!==void 0?r:o.value.type==="confirm",[h]=Ro("Modal",vi.Modal);return()=>w(DQ,z(z({prefixCls:s,rootPrefixCls:u},o.value),{},{close:d,open:i.value,afterClose:c,okText:o.value.okText||(f?h==null?void 0:h.value.okText:h==null?void 0:h.value.justOkText),direction:o.value.direction||a.value,cancelText:o.value.cancelText||(h==null?void 0:h.value.cancelText)}),null)}});let Jk=0;const O5e=se({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const r=ae([]);return n({addModal:o=>(r.value.push(o),r.value=r.value.slice(),()=>{r.value=r.value.filter(a=>a!==o)})}),()=>r.value.map(o=>o())}});function BQ(){const e=ae(null),t=ae([]);Se(t,()=>{t.value.length&&([...t.value].forEach(a=>{a()}),t.value=[])},{immediate:!0});const n=o=>function(l){var s;Jk+=1;const u=ae(!0),c=ae(null),d=ae(yn(l)),f=ae({});Se(()=>l,b=>{g(_(_({},Kn(b)?b.value:b),f.value))});const h=function(){u.value=!1;for(var b=arguments.length,S=new Array(b),x=0;xC&&C.triggerCancel);d.value.onCancel&&$&&d.value.onCancel(()=>{},...S.slice(1))};let v;const p=()=>w(A5e,{key:`modal-${Jk}`,config:o(d.value),ref:c,open:u.value,destroyAction:h,afterClose:()=>{v==null||v()}},null);v=(s=e.value)===null||s===void 0?void 0:s.addModal(p),v&&Bc.push(v);const g=b=>{d.value=_(_({},d.value),b)};return{destroy:()=>{c.value?h():t.value=[...t.value,h]},update:b=>{f.value=b,c.value?g(b):t.value=[...t.value,()=>g(b)]}}},r=L(()=>({info:n(RQ),success:n(LQ),error:n(NQ),warning:n(EQ),confirm:n(kQ)})),i=Symbol("modalHolderKey");return[r.value,()=>w(O5e,{key:i,ref:e},null)]}function FQ(e){return Jm(EQ(e))}sr.useModal=BQ;sr.info=function(t){return Jm(RQ(t))};sr.success=function(t){return Jm(LQ(t))};sr.error=function(t){return Jm(NQ(t))};sr.warning=FQ;sr.warn=FQ;sr.confirm=function(t){return Jm(kQ(t))};sr.destroyAll=function(){for(;Bc.length;){const t=Bc.pop();t&&t()}};sr.install=function(e){return e.component(sr.name,sr),e};const zQ=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:o="",prefixCls:a}=e;let l;if(typeof n=="function")l=n({value:t});else{const s=String(t),u=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u)l=s;else{const c=u[1];let d=u[2]||"0",f=u[4]||"";d=d.replace(/\B(?=(\d{3})+(?!\d))/g,o),typeof r=="number"&&(f=f.padEnd(r,"0").slice(0,r>0?r:0)),f&&(f=`${i}${f}`),l=[w("span",{key:"int",class:`${a}-content-value-int`},[c,d]),f&&w("span",{key:"decimal",class:`${a}-content-value-decimal`},[f])]}}return w("span",{class:`${a}-content-value`},[l])};zQ.displayName="StatisticNumber";const D5e=zQ,E5e=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,statisticTitleFontSize:o,colorTextHeading:a,statisticContentFontSize:l,statisticFontFamily:s}=e;return{[`${t}`]:_(_({},st(e)),{[`${t}-title`]:{marginBottom:n,color:i,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},R5e=it("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:r}=e,i=Ue(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:r});return[E5e(i)]}),HQ=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:Xe([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:be(),formatter:tn(),precision:Number,prefix:Wr(),suffix:Wr(),title:Wr(),loading:$e()}),Pl=se({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:ft(HQ(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("statistic",e),[a,l]=R5e(i);return()=>{var s,u,c,d,f,h,v;const{value:p=0,valueStyle:g,valueRender:m}=e,y=i.value,b=(s=e.title)!==null&&s!==void 0?s:(u=n.title)===null||u===void 0?void 0:u.call(n),S=(c=e.prefix)!==null&&c!==void 0?c:(d=n.prefix)===null||d===void 0?void 0:d.call(n),x=(f=e.suffix)!==null&&f!==void 0?f:(h=n.suffix)===null||h===void 0?void 0:h.call(n),$=(v=e.formatter)!==null&&v!==void 0?v:n.formatter;let C=w(D5e,z({"data-for-update":Date.now()},_(_({},e),{prefixCls:y,value:p,formatter:$})),null);return m&&(C=m(C)),a(w("div",z(z({},r),{},{class:[y,{[`${y}-rtl`]:o.value==="rtl"},r.class,l.value]}),[b&&w("div",{class:`${y}-title`},[b]),w(zr,{paragraph:!1,loading:e.loading},{default:()=>[w("div",{style:g,class:`${y}-content`},[S&&w("span",{class:`${y}-content-prefix`},[S]),C,x&&w("span",{class:`${y}-content-suffix`},[x])])]})]))}}}),L5e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function N5e(e,t){let n=e;const r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(s=>s.slice(1,-1)),o=t.replace(r,"[]"),a=L5e.reduce((s,u)=>{let[c,d]=u;if(s.includes(c)){const f=Math.floor(n/d);return n-=f*d,s.replace(new RegExp(`${c}+`,"g"),h=>{const v=h.length;return f.toString().padStart(v,"0")})}return s},o);let l=0;return a.replace(r,()=>{const s=i[l];return l+=1,s})}function k5e(e,t){const{format:n=""}=t,r=new Date(e).getTime(),i=Date.now(),o=Math.max(r-i,0);return N5e(o,n)}const B5e=1e3/30;function S_(e){return new Date(e).getTime()}const F5e=()=>_(_({},HQ()),{value:Xe([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),z5e=se({compatConfig:{MODE:3},name:"AStatisticCountdown",props:ft(F5e(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:r}=t;const i=ue(),o=ue(),a=()=>{const{value:d}=e;S_(d)>=Date.now()?l():s()},l=()=>{if(i.value)return;const d=S_(e.value);i.value=setInterval(()=>{o.value.$forceUpdate(),d>Date.now()&&n("change",d-Date.now()),a()},B5e)},s=()=>{const{value:d}=e;i.value&&(clearInterval(i.value),i.value=void 0,S_(d){let{value:f,config:h}=d;const{format:v}=e;return k5e(f,_(_({},h),{format:v}))},c=d=>d;return tt(()=>{a()}),Qr(()=>{a()}),ht(()=>{s()}),()=>{const d=e.value;return w(Pl,z({ref:o},_(_({},yt(e,["onFinish","onChange"])),{value:d,valueRender:c,formatter:u})),r)}}});Pl.Countdown=z5e;Pl.install=function(e){return e.component(Pl.name,Pl),e.component(Pl.Countdown.name,Pl.Countdown),e};const H5e=Pl.Countdown;var V5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const W5e=V5e;function eB(e){for(var t=1;t{const{keyCode:h}=f;h===Pe.ENTER&&f.preventDefault()},s=f=>{const{keyCode:h}=f;h===Pe.ENTER&&r("click",f)},u=f=>{r("click",f)},c=()=>{a.value&&a.value.focus()},d=()=>{a.value&&a.value.blur()};return tt(()=>{e.autofocus&&c()}),o({focus:c,blur:d}),()=>{var f;const{noStyle:h,disabled:v}=e,p=q5e(e,["noStyle","disabled"]);let g={};return h||(g=_({},Z5e)),v&&(g.pointerEvents="none"),w("div",z(z(z({role:"button",tabindex:0,ref:a},p),i),{},{onClick:u,onKeydown:l,onKeyup:s,style:_(_({},g),i.style||{})}),[(f=n.default)===null||f===void 0?void 0:f.call(n)])}}}),OS=Q5e,J5e={small:8,middle:16,large:24},e6e=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),align:U.oneOf(Ar("start","end","center","baseline")),wrap:$e()});function t6e(e){return typeof e=="string"?J5e[e]:e||0}const lg=se({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:e6e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,space:o,direction:a}=Ee("space",e),[l,s]=OX(i),u=Jq(),c=L(()=>{var m,y,b;return(b=(m=e.size)!==null&&m!==void 0?m:(y=o==null?void 0:o.value)===null||y===void 0?void 0:y.size)!==null&&b!==void 0?b:"small"}),d=ue(),f=ue();Se(c,()=>{[d.value,f.value]=(Array.isArray(c.value)?c.value:[c.value,c.value]).map(m=>t6e(m))},{immediate:!0});const h=L(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),v=L(()=>ce(i.value,s.value,`${i.value}-${e.direction}`,{[`${i.value}-rtl`]:a.value==="rtl",[`${i.value}-align-${h.value}`]:h.value})),p=L(()=>a.value==="rtl"?"marginLeft":"marginRight"),g=L(()=>{const m={};return u.value&&(m.columnGap=`${d.value}px`,m.rowGap=`${f.value}px`),_(_({},m),e.wrap&&{flexWrap:"wrap",marginBottom:`${-f.value}px`})});return()=>{var m,y;const{wrap:b,direction:S="horizontal"}=e,x=(m=n.default)===null||m===void 0?void 0:m.call(n),$=xn(x),C=$.length;if(C===0)return null;const T=(y=n.split)===null||y===void 0?void 0:y.call(n),I=`${i.value}-item`,P=d.value,M=C-1;return w("div",z(z({},r),{},{class:[v.value,r.class],style:[g.value,r.style]}),[$.map((O,D)=>{let R=x.indexOf(O);R===-1&&(R=`$$space-${D}`);let A={};return u.value||(S==="vertical"?D{const{componentCls:t,antCls:n}=e;return{[t]:_(_({},st(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${t}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},"&.has-footer":{paddingBottom:0},[`${t}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,"&-button":_(_({},rw(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${n}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${n}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${t}-heading`]:{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},"&-title":_({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},Hn),[`${n}-avatar`]:{marginRight:e.marginSM},"&-sub-title":_({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},Hn),"&-extra":{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap","> *":{marginLeft:e.marginSM,whiteSpace:"unset"},"> *:first-child":{marginLeft:0}}},[`${t}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${t}-footer`]:{marginTop:e.marginMD,[`${n}-tabs`]:{[`> ${n}-tabs-nav`]:{margin:0,"&::before":{border:"none"}},[`${n}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${t}-compact ${t}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},r6e=it("PageHeader",e=>{const t=Ue(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[n6e(t)]}),i6e=()=>({backIcon:Wr(),prefixCls:String,title:Wr(),subTitle:Wr(),breadcrumb:U.object,tags:Wr(),footer:Wr(),extra:Wr(),avatar:He(),ghost:{type:Boolean,default:void 0},onBack:Function}),o6e=se({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:i6e(),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o,direction:a,pageHeader:l}=Ee("page-header",e),[s,u]=r6e(o),c=ae(!1),d=OQ(),f=S=>{let{width:x}=S;d.value||(c.value=x<768)},h=L(()=>{var S,x,$;return($=(S=e.ghost)!==null&&S!==void 0?S:(x=l==null?void 0:l.value)===null||x===void 0?void 0:x.ghost)!==null&&$!==void 0?$:!0}),v=()=>{var S,x,$;return($=(S=e.backIcon)!==null&&S!==void 0?S:(x=r.backIcon)===null||x===void 0?void 0:x.call(r))!==null&&$!==void 0?$:a.value==="rtl"?w(Y5e,null,null):w(G5e,null,null)},p=S=>!S||!e.onBack?null:w(Md,{componentName:"PageHeader",children:x=>{let{back:$}=x;return w("div",{class:`${o.value}-back`},[w(OS,{onClick:C=>{n("back",C)},class:`${o.value}-back-button`,"aria-label":$},{default:()=>[S]})])}},null),g=()=>{var S;return e.breadcrumb?w(Zc,e.breadcrumb,null):(S=r.breadcrumb)===null||S===void 0?void 0:S.call(r)},m=()=>{var S,x,$,C,T,I,P,M,O;const{avatar:D}=e,R=(S=e.title)!==null&&S!==void 0?S:(x=r.title)===null||x===void 0?void 0:x.call(r),A=($=e.subTitle)!==null&&$!==void 0?$:(C=r.subTitle)===null||C===void 0?void 0:C.call(r),E=(T=e.tags)!==null&&T!==void 0?T:(I=r.tags)===null||I===void 0?void 0:I.call(r),k=(P=e.extra)!==null&&P!==void 0?P:(M=r.extra)===null||M===void 0?void 0:M.call(r),N=`${o.value}-heading`,B=R||A||E||k;if(!B)return null;const F=v(),H=p(F);return w("div",{class:N},[(H||D||B)&&w("div",{class:`${N}-left`},[H,D?w(qc,D,null):(O=r.avatar)===null||O===void 0?void 0:O.call(r),R&&w("span",{class:`${N}-title`,title:typeof R=="string"?R:void 0},[R]),A&&w("span",{class:`${N}-sub-title`,title:typeof A=="string"?A:void 0},[A]),E&&w("span",{class:`${N}-tags`},[E])]),k&&w("span",{class:`${N}-extra`},[w(VQ,null,{default:()=>[k]})])])},y=()=>{var S,x;const $=(S=e.footer)!==null&&S!==void 0?S:xn((x=r.footer)===null||x===void 0?void 0:x.call(r));return Efe($)?null:w("div",{class:`${o.value}-footer`},[$])},b=S=>w("div",{class:`${o.value}-content`},[S]);return()=>{var S,x;const $=((S=e.breadcrumb)===null||S===void 0?void 0:S.routes)||r.breadcrumb,C=e.footer||r.footer,T=Jt((x=r.default)===null||x===void 0?void 0:x.call(r)),I=ce(o.value,{"has-breadcrumb":$,"has-footer":C,[`${o.value}-ghost`]:h.value,[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-compact`]:c.value},i.class,u.value);return s(w(Mo,{onResize:f},{default:()=>[w("div",z(z({},i),{},{class:I}),[g(),m(),T.length?b(T):null,y()])]}))}}}),a6e=gn(o6e),l6e=e=>{const{componentCls:t,iconCls:n,zIndexPopup:r,colorText:i,colorWarning:o,marginXS:a,fontSize:l,fontWeightStrong:s,lineHeight:u}=e;return{[t]:{zIndex:r,[`${t}-inner-content`]:{color:i},[`${t}-message`]:{position:"relative",marginBottom:a,color:i,fontSize:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,flex:"none",lineHeight:1,paddingTop:(Math.round(l*u)-l)/2},"&-title":{flex:"auto",marginInlineStart:a},"&-title-only":{fontWeight:s}},[`${t}-description`]:{position:"relative",marginInlineStart:l+a,marginBottom:a,color:i,fontSize:l},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:a}}}}},s6e=it("Popconfirm",e=>l6e(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var u6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},LD()),{prefixCls:String,content:tn(),title:tn(),description:tn(),okType:je("primary"),disabled:{type:Boolean,default:!1},okText:tn(),cancelText:tn(),icon:tn(),okButtonProps:He(),cancelButtonProps:He(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),d6e=se({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:ft(c6e(),_(_({},sY()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:r,expose:i,attrs:o}=t;const a=ue();vn(e.visible===void 0),i({getPopupDomNode:()=>{var $,C;return(C=($=a.value)===null||$===void 0?void 0:$.getPopupDomNode)===null||C===void 0?void 0:C.call($)}});const[l,s]=dn(!1,{value:qe(e,"open")}),u=($,C)=>{e.open===void 0&&s($),r("update:open",$),r("openChange",$,C)},c=$=>{u(!1,$)},d=$=>{var C;return(C=e.onConfirm)===null||C===void 0?void 0:C.call(e,$)},f=$=>{var C;u(!1,$),(C=e.onCancel)===null||C===void 0||C.call(e,$)},h=$=>{$.keyCode===Pe.ESC&&l&&u(!1,$)},v=$=>{const{disabled:C}=e;C||u($)},{prefixCls:p,getPrefixCls:g}=Ee("popconfirm",e),m=L(()=>g()),y=L(()=>g("btn")),[b]=s6e(p),[S]=Ro("Popconfirm",vi.Popconfirm),x=()=>{var $,C,T,I,P;const{okButtonProps:M,cancelButtonProps:O,title:D=($=n.title)===null||$===void 0?void 0:$.call(n),description:R=(C=n.description)===null||C===void 0?void 0:C.call(n),cancelText:A=(T=n.cancel)===null||T===void 0?void 0:T.call(n),okText:E=(I=n.okText)===null||I===void 0?void 0:I.call(n),okType:k,icon:N=((P=n.icon)===null||P===void 0?void 0:P.call(n))||w(ss,null,null),showCancel:B=!0}=e,{cancelButton:F,okButton:H}=n,V=_({onClick:f,size:"small"},O),X=_(_(_({onClick:d},cS(k)),{size:"small"}),M);return w("div",{class:`${p.value}-inner-content`},[w("div",{class:`${p.value}-message`},[N&&w("span",{class:`${p.value}-message-icon`},[N]),w("div",{class:[`${p.value}-message-title`,{[`${p.value}-message-title-only`]:!!R}]},[D])]),R&&w("div",{class:`${p.value}-description`},[R]),w("div",{class:`${p.value}-buttons`},[B?F?F(V):w(An,V,{default:()=>[A||S.value.cancelText]}):null,H?H(X):w(RP,{buttonProps:_(_({size:"small"},cS(k)),M),actionFn:d,close:c,prefixCls:y.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[E||S.value.okText]})])])};return()=>{var $;const{placement:C,overlayClassName:T,trigger:I="click"}=e,P=u6e(e,["placement","overlayClassName","trigger"]),M=yt(P,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),O=ce(p.value,T);return b(w(FD,z(z(z({},M),o),{},{trigger:I,placement:C,onOpenChange:v,open:l.value,overlayClassName:O,transitionName:Yr(m.value,"zoom-big",e.transitionName),ref:a,"data-popover-inject":!0}),{default:()=>[bge((($=n.default)===null||$===void 0?void 0:$.call(n))||[],{onKeydown:D=>{h(D)}},!1)],content:x}))}}}),f6e=gn(d6e),h6e=["normal","exception","active","success"],Jw=()=>({prefixCls:String,type:je(),percent:Number,format:be(),status:je(),showInfo:$e(),strokeWidth:Number,strokeLinecap:je(),strokeColor:tn(),trailColor:String,width:Number,success:He(),gapDegree:Number,gapPosition:je(),size:Xe([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:je()});function Jc(e){return!e||e<0?0:e>100?100:e}function DS(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(on(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}function v6e(e){let{percent:t,success:n,successPercent:r}=e;const i=Jc(DS({success:n,successPercent:r}));return[i,Jc(Jc(t)-i)]}function p6e(e){let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||ih.green,n||null]}const eC=(e,t,n)=>{var r,i,o,a;let l=-1,s=-1;if(t==="step"){const u=n.steps,c=n.strokeWidth;typeof e=="string"||typeof e=="undefined"?(l=e==="small"?2:14,s=c!=null?c:8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e=="undefined"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,s=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return{width:l,height:s}};var g6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},Jw()),{strokeColor:tn(),direction:je()}),y6e=e=>{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},b6e=(e,t)=>{const{from:n=ih.blue,to:r=ih.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=g6e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const a=y6e(o);return{backgroundImage:`linear-gradient(${i}, ${a})`}}return{backgroundImage:`linear-gradient(${i}, ${n}, ${r})`}},S6e=se({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:m6e(),setup(e,t){let{slots:n,attrs:r}=t;const i=L(()=>{const{strokeColor:h,direction:v}=e;return h&&typeof h!="string"?b6e(h,v):{backgroundColor:h}}),o=L(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),a=L(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),l=L(()=>{var h;return(h=e.size)!==null&&h!==void 0?h:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),s=L(()=>eC(l.value,"line",{strokeWidth:e.strokeWidth})),u=L(()=>{const{percent:h}=e;return _({width:`${Jc(h)}%`,height:`${s.value.height}px`,borderRadius:o.value},i.value)}),c=L(()=>DS(e)),d=L(()=>{const{success:h}=e;return{width:`${Jc(c.value)}%`,height:`${s.value.height}px`,borderRadius:o.value,backgroundColor:h==null?void 0:h.strokeColor}}),f={width:s.value.width<0?"100%":s.value.width,height:`${s.value.height}px`};return()=>{var h;return w(Qe,null,[w("div",z(z({},r),{},{class:[`${e.prefixCls}-outer`,r.class],style:[r.style,f]}),[w("div",{class:`${e.prefixCls}-inner`,style:a.value},[w("div",{class:`${e.prefixCls}-bg`,style:u.value},null),c.value!==void 0?w("div",{class:`${e.prefixCls}-success-bg`,style:d.value},null):null])]),(h=n.default)===null||h===void 0?void 0:h.call(n)])}}}),x6e={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},w6e=e=>{const t=ue(null);return Qr(()=>{const n=Date.now();let r=!1;e.value.forEach(i=>{const o=(i==null?void 0:i.$el)||i;if(!o)return;r=!0;const a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(a.transitionDuration="0s, 0s")}),r&&(t.value=Date.now())}),e},C6e={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var $6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;const a=50-r/2;let l=0,s=-a,u=0,c=-2*a;switch(o){case"left":l=-a,s=0,u=2*a,c=0;break;case"right":l=a,s=0,u=-2*a,c=0;break;case"bottom":s=a,c=2*a;break}const d=`M 50,50 m ${l},${s} + `]:{display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,color:e.colorText,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:focus-visible ${t}-item-link`]:_({},Gl(e)),[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:_(_({},Fd(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},zLe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:_(_({display:"inline-block",minWidth:e.paginationItemSize,height:e.paginationItemSize,marginInlineEnd:e.marginXS,fontFamily:e.paginationFontFamily,lineHeight:`${e.paginationItemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,transition:"none","&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}}},Kl(e)),{"&-active":{fontWeight:e.paginationFontWeightActive,backgroundColor:e.paginationItemBgActive,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}})}},HLe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_(_(_(_({},st(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.paginationItemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.paginationItemSize-2}px`,verticalAlign:"middle"}}),zLe(e)),FLe(e)),BLe(e)),kLe(e)),NLe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},VLe=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.paginationItemDisabledBgActive}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[t]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.paginationItemBg},[`${t}-item-link`]:{backgroundColor:e.paginationItemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.paginationItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.paginationItemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},WLe=it("Pagination",e=>{const t=Ue(e,{paginationItemSize:e.controlHeight,paginationFontFamily:e.fontFamily,paginationItemBg:e.colorBgContainer,paginationItemBgActive:e.colorBgContainer,paginationFontWeightActive:e.fontWeightStrong,paginationItemSizeSM:e.controlHeightSM,paginationItemInputBg:e.colorBgContainer,paginationMiniOptionsSizeChangerTop:0,paginationItemDisabledBgActive:e.controlItemBgActiveDisabled,paginationItemDisabledColorActive:e.colorTextDisabled,paginationItemLinkBg:e.colorBgContainer,inputOutlineOffset:"0 0",paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},zd(e));return[HLe(t),e.wireframe&&VLe(t)]});var jLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({total:Number,defaultCurrent:Number,disabled:$e(),current:Number,defaultPageSize:Number,pageSize:Number,hideOnSinglePage:$e(),showSizeChanger:$e(),pageSizeOptions:Ot(),buildOptionText:be(),showQuickJumper:Xe([Boolean,Object]),showTotal:be(),size:je(),simple:$e(),locale:Object,prefixCls:String,selectPrefixCls:String,totalBoundaryShowSizeChanger:Number,selectComponentClass:String,itemRender:be(),role:String,responsive:Boolean,showLessItems:$e(),onChange:be(),onShowSizeChange:be(),"onUpdate:current":be(),"onUpdate:pageSize":be()}),KLe=se({compatConfig:{MODE:3},name:"APagination",inheritAttrs:!1,props:GLe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,configProvider:o,direction:a,size:l}=Ee("pagination",e),[s,u]=WLe(i),c=L(()=>o.getPrefixCls("select",e.selectPrefixCls)),d=sv(),[f]=Lo("Pagination",zK,qe(e,"locale")),h=v=>{const p=w("span",{class:`${v}-item-ellipsis`},[Gr("•••")]),g=w("button",{class:`${v}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?w(ca,null,null):w(vu,null,null)]),m=w("button",{class:`${v}-item-link`,type:"button",tabindex:-1},[a.value==="rtl"?w(vu,null,null):w(ca,null,null)]),y=w("a",{rel:"nofollow",class:`${v}-item-link`},[w("div",{class:`${v}-item-container`},[a.value==="rtl"?w(Uk,{class:`${v}-item-link-icon`},null):w(Gk,{class:`${v}-item-link-icon`},null),p])]),b=w("a",{rel:"nofollow",class:`${v}-item-link`},[w("div",{class:`${v}-item-container`},[a.value==="rtl"?w(Gk,{class:`${v}-item-link-icon`},null):w(Uk,{class:`${v}-item-link-icon`},null),p])]);return{prevIcon:g,nextIcon:m,jumpPrevIcon:y,jumpNextIcon:b}};return()=>{var v;const{itemRender:p=n.itemRender,buildOptionText:g=n.buildOptionText,selectComponentClass:m,responsive:y}=e,b=jLe(e,["itemRender","buildOptionText","selectComponentClass","responsive"]),S=l.value==="small"||!!(!((v=d.value)===null||v===void 0)&&v.xs&&!l.value&&y),x=_(_(_(_(_({},b),h(i.value)),{prefixCls:i.value,selectPrefixCls:c.value,selectComponentClass:m||(S?MLe:ALe),locale:f.value,buildOptionText:g}),r),{class:ce({[`${i.value}-mini`]:S,[`${i.value}-rtl`]:a.value==="rtl"},r.class,u.value),itemRender:p});return s(w(LLe,x,null))}}}),Qw=gn(KLe),ULe=()=>({avatar:U.any,description:U.any,prefixCls:String,title:U.any}),wQ=se({compatConfig:{MODE:3},name:"AListItemMeta",props:ULe(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("list",e);return()=>{var i,o,a,l,s,u;const c=`${r.value}-item-meta`,d=(i=e.title)!==null&&i!==void 0?i:(o=n.title)===null||o===void 0?void 0:o.call(n),f=(a=e.description)!==null&&a!==void 0?a:(l=n.description)===null||l===void 0?void 0:l.call(n),h=(s=e.avatar)!==null&&s!==void 0?s:(u=n.avatar)===null||u===void 0?void 0:u.call(n),v=w("div",{class:`${r.value}-item-meta-content`},[d&&w("h4",{class:`${r.value}-item-meta-title`},[d]),f&&w("div",{class:`${r.value}-item-meta-description`},[f])]);return w("div",{class:c},[h&&w("div",{class:`${r.value}-item-meta-avatar`},[h]),(d||f)&&v])}}}),CQ=Symbol("ListContextKey");var XLe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,extra:U.any,actions:U.array,grid:Object,colStyle:{type:Object,default:void 0}}),$Q=se({compatConfig:{MODE:3},name:"AListItem",inheritAttrs:!1,Meta:wQ,props:YLe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{itemLayout:i,grid:o}=Je(CQ,{grid:ue(),itemLayout:ue()}),{prefixCls:a}=Ee("list",e),l=()=>{var u;const c=((u=n.default)===null||u===void 0?void 0:u.call(n))||[];let d;return c.forEach(f=>{Lfe(f)&&!Nm(f)&&(d=!0)}),d&&c.length>1},s=()=>{var u,c;const d=(u=e.extra)!==null&&u!==void 0?u:(c=n.extra)===null||c===void 0?void 0:c.call(n);return i.value==="vertical"?!!d:!l()};return()=>{var u,c,d,f,h;const{class:v}=r,p=XLe(r,["class"]),g=a.value,m=(u=e.extra)!==null&&u!==void 0?u:(c=n.extra)===null||c===void 0?void 0:c.call(n),y=(d=n.default)===null||d===void 0?void 0:d.call(n);let b=(f=e.actions)!==null&&f!==void 0?f:Jt((h=n.actions)===null||h===void 0?void 0:h.call(n));b=b&&!Array.isArray(b)?[b]:b;const S=b&&b.length>0&&w("ul",{class:`${g}-item-action`,key:"actions"},[b.map((C,T)=>w("li",{key:`${g}-item-action-${T}`},[C,T!==b.length-1&&w("em",{class:`${g}-item-action-split`},null)]))]),x=o.value?"div":"li",$=w(x,z(z({},p),{},{class:ce(`${g}-item`,{[`${g}-item-no-flex`]:!s()},v)}),{default:()=>[i.value==="vertical"&&m?[w("div",{class:`${g}-item-main`,key:"content"},[y,S]),w("div",{class:`${g}-item-extra`,key:"extra"},[m])]:[y,S,Nt(m,{key:"extra"})]]});return o.value?w(Xw,{flex:1,style:e.colStyle},{default:()=>[$]}):$}}}),qLe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,padding:o,listItemPaddingSM:a,marginLG:l,borderRadiusLG:s}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${i}px ${l}px`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:`${o}px ${r}px`}}}},ZLe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:o,margin:a}=e;return{[`@media screen and (max-width:${r})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${a}px`}}}}}},QLe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:o,marginLG:a,padding:l,listItemPadding:s,colorPrimary:u,listItemPaddingSM:c,listItemPaddingLG:d,paddingXS:f,margin:h,colorText:v,colorTextDescription:p,motionDurationSlow:g,lineWidth:m}=e;return{[`${t}`]:_(_({},st(e)),{position:"relative","*":{outline:"none"},[`${t}-header, ${t}-footer`]:{background:"transparent",paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:a,textAlign:"end",[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:i,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:v,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:l},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:v},[`${t}-item-meta-title`]:{marginBottom:e.marginXXS,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:v,transition:`all ${g}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:p,fontSize:e.fontSize,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${f}px`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:m,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${l}px 0`,color:p,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:l,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:l,[`${t}-item-meta-title`]:{marginBlockEnd:o,color:v,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${l}px`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:c},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},JLe=it("List",e=>{const t=Ue(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG,listItemPadding:`${e.paddingContentVertical}px ${e.paddingContentHorizontalLG}px`,listItemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,listItemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`});return[QLe(t),qLe(t),ZLe(t)]},{contentWidth:220}),e5e=()=>({bordered:$e(),dataSource:Ot(),extra:Wr(),grid:He(),itemLayout:String,loading:Xe([Boolean,Object]),loadMore:Wr(),pagination:Xe([Boolean,Object]),prefixCls:String,rowKey:Xe([String,Number,Function]),renderItem:be(),size:String,split:$e(),header:Wr(),footer:Wr(),locale:He()}),Os=se({compatConfig:{MODE:3},name:"AList",inheritAttrs:!1,Item:$Q,props:ft(e5e(),{dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;var i,o;at(CQ,{grid:qe(e,"grid"),itemLayout:qe(e,"itemLayout")});const a={current:1,total:0},{prefixCls:l,direction:s,renderEmpty:u}=Ee("list",e),[c,d]=JLe(l),f=L(()=>e.pagination&&typeof e.pagination=="object"?e.pagination:{}),h=ue((i=f.value.defaultCurrent)!==null&&i!==void 0?i:1),v=ue((o=f.value.defaultPageSize)!==null&&o!==void 0?o:10);Se(f,()=>{"current"in f.value&&(h.value=f.value.current),"pageSize"in f.value&&(v.value=f.value.pageSize)});const p=[],g=D=>(R,A)=>{h.value=R,v.value=A,f.value[D]&&f.value[D](R,A)},m=g("onChange"),y=g("onShowSizeChange"),b=L(()=>typeof e.loading=="boolean"?{spinning:e.loading}:e.loading),S=L(()=>b.value&&b.value.spinning),x=L(()=>{let D="";switch(e.size){case"large":D="lg";break;case"small":D="sm";break}return D}),$=L(()=>({[`${l.value}`]:!0,[`${l.value}-vertical`]:e.itemLayout==="vertical",[`${l.value}-${x.value}`]:x.value,[`${l.value}-split`]:e.split,[`${l.value}-bordered`]:e.bordered,[`${l.value}-loading`]:S.value,[`${l.value}-grid`]:!!e.grid,[`${l.value}-rtl`]:s.value==="rtl"})),C=L(()=>{const D=_(_(_({},a),{total:e.dataSource.length,current:h.value,pageSize:v.value}),e.pagination||{}),R=Math.ceil(D.total/D.pageSize);return D.current>R&&(D.current=R),D}),T=L(()=>{let D=[...e.dataSource];return e.pagination&&e.dataSource.length>(C.value.current-1)*C.value.pageSize&&(D=[...e.dataSource].splice((C.value.current-1)*C.value.pageSize,C.value.pageSize)),D}),I=sv(),P=ji(()=>{for(let D=0;D{if(!e.grid)return;const D=P.value&&e.grid[P.value]?e.grid[P.value]:e.grid.column;if(D)return{width:`${100/D}%`,maxWidth:`${100/D}%`}}),O=(D,R)=>{var A;const E=(A=e.renderItem)!==null&&A!==void 0?A:n.renderItem;if(!E)return null;let k;const N=typeof e.rowKey;return N==="function"?k=e.rowKey(D):N==="string"||N==="number"?k=D[e.rowKey]:k=D.key,k||(k=`list-item-${R}`),p[R]=k,E({item:D,index:R})};return()=>{var D,R,A,E,k,N,B,F;const H=(D=e.loadMore)!==null&&D!==void 0?D:(R=n.loadMore)===null||R===void 0?void 0:R.call(n),V=(A=e.footer)!==null&&A!==void 0?A:(E=n.footer)===null||E===void 0?void 0:E.call(n),X=(k=e.header)!==null&&k!==void 0?k:(N=n.header)===null||N===void 0?void 0:N.call(n),Q=Jt((B=n.default)===null||B===void 0?void 0:B.call(n)),K=!!(H||e.pagination||V),te=ce(_(_({},$.value),{[`${l.value}-something-after-last-item`]:K}),r.class,d.value),q=e.pagination?w("div",{class:`${l.value}-pagination`},[w(Qw,z(z({},C.value),{},{onChange:m,onShowSizeChange:y}),null)]):null;let ee=S.value&&w("div",{style:{minHeight:"53px"}},null);if(T.value.length>0){p.length=0;const G=T.value.map((oe,W)=>O(oe,W)),Y=G.map((oe,W)=>w("div",{key:p[W],style:M.value},[oe]));ee=e.grid?w(RE,{gutter:e.grid.gutter},{default:()=>[Y]}):w("ul",{class:`${l.value}-items`},[G])}else!Q.length&&!S.value&&(ee=w("div",{class:`${l.value}-empty-text`},[((F=e.locale)===null||F===void 0?void 0:F.emptyText)||u("List")]));const J=C.value.position||"bottom";return c(w("div",z(z({},r),{},{class:te}),[(J==="top"||J==="both")&&q,X&&w("div",{class:`${l.value}-header`},[X]),w(Ya,b.value,{default:()=>[ee,Q]}),V&&w("div",{class:`${l.value}-footer`},[V]),H||(J==="bottom"||J==="both")&&q]))}}});Os.install=function(e){return e.component(Os.name,Os),e.component(Os.Item.name,Os.Item),e.component(Os.Item.Meta.name,Os.Item.Meta),e};const t5e=Os;function n5e(e){const{selectionStart:t}=e;return e.value.slice(0,t)}function r5e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(Array.isArray(t)?t:[t]).reduce((r,i)=>{const o=e.lastIndexOf(i);return o>r.location?{location:o,prefix:i}:r},{location:-1,prefix:""})}function Xk(e){return(e||"").toLowerCase()}function i5e(e,t,n){const r=e[0];if(!r||r===n)return e;let i=e;const o=t.length;for(let a=0;a[]}},setup(e,t){let{slots:n}=t;const{activeIndex:r,setActiveIndex:i,selectOption:o,onFocus:a=c5e,loading:l}=Je(_Q,{activeIndex:ae(),loading:ae(!1)});let s;const u=c=>{clearTimeout(s),s=setTimeout(()=>{a(c)})};return ht(()=>{clearTimeout(s)}),()=>{var c;const{prefixCls:d,options:f}=e,h=f[r.value]||{};return w(Ln,{prefixCls:`${d}-menu`,activeKey:h.value,onSelect:v=>{let{key:p}=v;const g=f.find(m=>{let{value:y}=m;return y===p});o(g)},onMousedown:u},{default:()=>[!l.value&&f.map((v,p)=>{var g,m;const{value:y,disabled:b,label:S=v.value,class:x,style:$}=v;return w(Xa,{key:y,disabled:b,onMouseenter:()=>{i(p)},class:x,style:$},{default:()=>[(m=(g=n.option)===null||g===void 0?void 0:g.call(n,v))!==null&&m!==void 0?m:typeof S=="function"?S(v):S]})}),!l.value&&f.length===0?w(Xa,{key:"notFoundContent",disabled:!0},{default:()=>[(c=n.notFoundContent)===null||c===void 0?void 0:c.call(n)]}):null,l.value&&w(Xa,{key:"loading",disabled:!0},{default:()=>[w(Ya,{size:"small"},null)]})]})}}}),f5e={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}},h5e=se({compatConfig:{MODE:3},name:"KeywordTrigger",props:{loading:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},prefixCls:String,placement:String,visible:{type:Boolean,default:void 0},transitionName:String,getPopupContainer:Function,direction:String,dropdownClassName:String},setup(e,t){let{slots:n}=t;const r=()=>`${e.prefixCls}-dropdown`,i=()=>{const{options:a}=e;return w(d5e,{prefixCls:r(),options:a},{notFoundContent:n.notFoundContent,option:n.option})},o=L(()=>{const{placement:a,direction:l}=e;let s="topRight";return l==="rtl"?s=a==="top"?"topLeft":"bottomLeft":s=a==="top"?"topRight":"bottomRight",s});return()=>{const{visible:a,transitionName:l,getPopupContainer:s}=e;return w(Nd,{prefixCls:r(),popupVisible:a,popup:i(),popupClassName:e.dropdownClassName,popupPlacement:o.value,popupTransitionName:l,builtinPlacements:f5e,getPopupContainer:s},{default:n.default})}}}),v5e=Ar("top","bottom"),TQ={autofocus:{type:Boolean,default:void 0},prefix:U.oneOfType([U.string,U.arrayOf(U.string)]),prefixCls:String,value:String,disabled:{type:Boolean,default:void 0},split:String,transitionName:String,placement:U.oneOf(v5e),character:U.any,characterRender:Function,filterOption:{type:[Boolean,Function]},validateSearch:Function,getPopupContainer:{type:Function},options:Ot(),loading:{type:Boolean,default:void 0},rows:[Number,String],direction:{type:String}},IQ=_(_({},TQ),{dropdownClassName:String}),PQ={prefix:"@",split:" ",rows:1,validateSearch:l5e,filterOption:()=>s5e};ft(IQ,PQ);var Yk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{u.value=e.value});const c=M=>{n("change",M)},d=M=>{let{target:{value:O}}=M;c(O)},f=(M,O,D)=>{_(u,{measuring:!0,measureText:M,measurePrefix:O,measureLocation:D,activeIndex:0})},h=M=>{_(u,{measuring:!1,measureLocation:0,measureText:null}),M==null||M()},v=M=>{const{which:O}=M;if(u.measuring){if(O===Pe.UP||O===Pe.DOWN){const D=T.value.length,R=O===Pe.UP?-1:1,A=(u.activeIndex+R+D)%D;u.activeIndex=A,M.preventDefault()}else if(O===Pe.ESC)h();else if(O===Pe.ENTER){if(M.preventDefault(),!T.value.length){h();return}const D=T.value[u.activeIndex];x(D)}}},p=M=>{const{key:O,which:D}=M,{measureText:R,measuring:A}=u,{prefix:E,validateSearch:k}=e,N=M.target;if(N.composing)return;const B=n5e(N),{location:F,prefix:H}=r5e(B,E);if([Pe.ESC,Pe.UP,Pe.DOWN,Pe.ENTER].indexOf(D)===-1)if(F!==-1){const V=B.slice(F+H.length),X=k(V,e),Q=!!C(V).length;X?(O===H||O==="Shift"||A||V!==R&&Q)&&f(V,H,F):A&&h(),X&&n("search",V,H)}else A&&h()},g=M=>{u.measuring||n("pressenter",M)},m=M=>{b(M)},y=M=>{S(M)},b=M=>{clearTimeout(s.value);const{isFocus:O}=u;!O&&M&&n("focus",M),u.isFocus=!0},S=M=>{s.value=setTimeout(()=>{u.isFocus=!1,h(),n("blur",M)},100)},x=M=>{const{split:O}=e,{value:D=""}=M,{text:R,selectionLocation:A}=o5e(u.value,{measureLocation:u.measureLocation,targetText:D,prefix:u.measurePrefix,selectionStart:l.value.getSelectionStart(),split:O});c(R),h(()=>{a5e(l.value.input,A)}),n("select",M,u.measurePrefix)},$=M=>{u.activeIndex=M},C=M=>{const O=M||u.measureText||"",{filterOption:D}=e;return e.options.filter(A=>D?D(O,A):!0)},T=L(()=>C());return i({blur:()=>{l.value.blur()},focus:()=>{l.value.focus()}}),at(_Q,{activeIndex:qe(u,"activeIndex"),setActiveIndex:$,selectOption:x,onFocus:b,onBlur:S,loading:qe(e,"loading")}),Qr(()=>{_t(()=>{u.measuring&&(a.value.scrollTop=l.value.getScrollTop())})}),()=>{const{measureLocation:M,measurePrefix:O,measuring:D}=u,{prefixCls:R,placement:A,transitionName:E,getPopupContainer:k,direction:N}=e,B=Yk(e,["prefixCls","placement","transitionName","getPopupContainer","direction"]),{class:F,style:H}=r,V=Yk(r,["class","style"]),X=yt(B,["value","prefix","split","validateSearch","filterOption","options","loading"]),Q=_(_(_({},X),V),{onChange:qk,onSelect:qk,value:u.value,onInput:d,onBlur:y,onKeydown:v,onKeyup:p,onFocus:m,onPressenter:g});return w("div",{class:ce(R,F),style:H},[w(tv,z(z({},Q),{},{ref:l,tag:"textarea"}),null),D&&w("div",{ref:a,class:`${R}-measure`},[u.value.slice(0,M),w(h5e,{prefixCls:R,transitionName:E,dropdownClassName:e.dropdownClassName,placement:A,options:D?T.value:[],visible:!0,direction:N,getPopupContainer:k},{default:()=>[w("span",null,[O])],notFoundContent:o.notFoundContent,option:o.option}),u.value.slice(M+O.length)])])}}}),g5e={value:String,disabled:Boolean,payload:He()},MQ=_(_({},g5e),{label:tn([])}),AQ={name:"Option",props:MQ,render(e,t){let{slots:n}=t;var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}};_({compatConfig:{MODE:3}},AQ);const m5e=e=>{const{componentCls:t,colorTextDisabled:n,controlItemBgHover:r,controlPaddingHorizontal:i,colorText:o,motionDurationSlow:a,lineHeight:l,controlHeight:s,inputPaddingHorizontal:u,inputPaddingVertical:c,fontSize:d,colorBgElevated:f,borderRadiusLG:h,boxShadowSecondary:v}=e,p=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:_(_(_(_(_({},st(e)),Fd(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:l,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),Xm(e,t)),{"&-disabled":{"> textarea":_({},yE(e))},"&-focused":_({},hu(e)),[`&-affix-wrapper ${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:u,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${t}-measure`]:{color:o,boxSizing:"border-box",minHeight:s-2,margin:0,padding:`${c}px ${u}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":_({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},mE(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":_(_({},st(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:d,fontVariant:"initial",backgroundColor:f,borderRadius:h,outline:"none",boxShadow:v,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,marginBottom:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":_(_({},Hn),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${p}px ${i}px`,color:o,fontWeight:"normal",lineHeight:l,cursor:"pointer",transition:`background ${a} ease`,"&:hover":{backgroundColor:r},"&:first-child":{borderStartStartRadius:h,borderStartEndRadius:h,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:h,borderEndEndRadius:h},"&-disabled":{color:n,cursor:"not-allowed","&:hover":{color:n,backgroundColor:r,cursor:"not-allowed"}},"&-selected":{color:o,fontWeight:e.fontWeightStrong,backgroundColor:r},"&-active":{backgroundColor:r}})}})})}},y5e=it("Mentions",e=>{const t=zd(e);return[m5e(t)]},e=>({dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50}));var Zk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:n="@",split:r=" "}=t,i=Array.isArray(n)?n:[n];return e.split(r).map(function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=null;return i.some(l=>o.slice(0,l.length)===l?(a=l,!0):!1),a!==null?{prefix:a,value:o.slice(a.length)}:null}).filter(o=>!!o&&!!o.value)},x5e=()=>_(_({},TQ),{loading:{type:Boolean,default:void 0},onFocus:{type:Function},onBlur:{type:Function},onSelect:{type:Function},onChange:{type:Function},onPressenter:{type:Function},"onUpdate:value":{type:Function},notFoundContent:U.any,defaultValue:String,id:String,status:String}),b_=se({compatConfig:{MODE:3},name:"AMentions",inheritAttrs:!1,props:x5e(),slots:Object,setup(e,t){let{slots:n,emit:r,attrs:i,expose:o}=t;var a,l;const{prefixCls:s,renderEmpty:u,direction:c}=Ee("mentions",e),[d,f]=y5e(s),h=ae(!1),v=ae(null),p=ae((l=(a=e.value)!==null&&a!==void 0?a:e.defaultValue)!==null&&l!==void 0?l:""),g=Xn(),m=fr.useInject(),y=L(()=>va(m.status,e.status));KD({prefixCls:L(()=>`${s.value}-menu`),mode:L(()=>"vertical"),selectable:L(()=>!1),onClick:()=>{},validator:O=>{vn()}}),Se(()=>e.value,O=>{p.value=O});const b=O=>{h.value=!0,r("focus",O)},S=O=>{h.value=!1,r("blur",O),g.onFieldBlur()},x=function(){for(var O=arguments.length,D=new Array(O),R=0;R{e.value===void 0&&(p.value=O),r("update:value",O),r("change",O),g.onFieldChange()},C=()=>{const O=e.notFoundContent;return O!==void 0?O:n.notFoundContent?n.notFoundContent():u("Select")},T=()=>{var O;return Jt(((O=n.default)===null||O===void 0?void 0:O.call(n))||[]).map(D=>{var R,A;return _(_({},PK(D)),{label:(A=(R=D.children)===null||R===void 0?void 0:R.default)===null||A===void 0?void 0:A.call(R)})})};o({focus:()=>{v.value.focus()},blur:()=>{v.value.blur()}});const M=L(()=>e.loading?b5e:e.filterOption);return()=>{const{disabled:O,getPopupContainer:D,rows:R=1,id:A=g.id.value}=e,E=Zk(e,["disabled","getPopupContainer","rows","id"]),{hasFeedback:k,feedbackIcon:N}=m,{class:B}=i,F=Zk(i,["class"]),H=yt(E,["defaultValue","onUpdate:value","prefixCls"]),V=ce({[`${s.value}-disabled`]:O,[`${s.value}-focused`]:h.value,[`${s.value}-rtl`]:c.value==="rtl"},Kr(s.value,y.value),!k&&B,f.value),X=_(_(_(_({prefixCls:s.value},H),{disabled:O,direction:c.value,filterOption:M.value,getPopupContainer:D,options:e.loading?[{value:"ANTDV_SEARCHING",disabled:!0,label:w(Ya,{size:"small"},null)}]:e.options||T(),class:V}),F),{rows:R,onChange:$,onSelect:x,onFocus:b,onBlur:S,ref:v,value:p.value,id:A}),Q=w(p5e,z(z({},X),{},{dropdownClassName:f.value}),{notFoundContent:C,option:n.option});return d(k?w("div",{class:ce(`${s.value}-affix-wrapper`,Kr(`${s.value}-affix-wrapper`,y.value,k),B,f.value)},[Q,w("span",{class:`${s.value}-suffix`},[N])]):Q)}}}),Yb=se(_(_({compatConfig:{MODE:3}},AQ),{name:"AMentionsOption",props:MQ})),w5e=_(b_,{Option:Yb,getMentions:S5e,install:e=>(e.component(b_.name,b_),e.component(Yb.name,Yb),e)});var C5e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{EP={x:e.pageX,y:e.pageY},setTimeout(()=>EP=null,100)};Zq()&&bn(document.documentElement,"click",$5e,!0);const _5e=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:U.any,closable:{type:Boolean,default:void 0},closeIcon:U.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:U.any,okText:U.any,okType:String,cancelText:U.any,icon:U.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:He(),cancelButtonProps:He(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:He(),maskStyle:He(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:He()}),sr=se({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:ft(_5e(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:r,attrs:i}=t;const[o]=Lo("Modal"),{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:u}=Ee("modal",e),[c,d]=CRe(a);vn(e.visible===void 0);const f=p=>{n("update:visible",!1),n("update:open",!1),n("cancel",p),n("change",!1)},h=p=>{n("ok",p)},v=()=>{var p,g;const{okText:m=(p=r.okText)===null||p===void 0?void 0:p.call(r),okType:y,cancelText:b=(g=r.cancelText)===null||g===void 0?void 0:g.call(r),confirmLoading:S}=e;return w(Qe,null,[w(An,z({onClick:f},e.cancelButtonProps),{default:()=>[b||o.value.cancelText]}),w(An,z(z({},cS(y)),{},{loading:S,onClick:h},e.okButtonProps),{default:()=>[m||o.value.okText]})])};return()=>{var p,g;const{prefixCls:m,visible:y,open:b,wrapClassName:S,centered:x,getContainer:$,closeIcon:C=(p=r.closeIcon)===null||p===void 0?void 0:p.call(r),focusTriggerAfterClose:T=!0}=e,I=C5e(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),P=ce(S,{[`${a.value}-centered`]:!!x,[`${a.value}-wrap-rtl`]:s.value==="rtl"});return c(w(cQ,z(z(z({},I),i),{},{rootClassName:d.value,class:ce(d.value,i.class),getContainer:$||(u==null?void 0:u.value),prefixCls:a.value,wrapClassName:P,visible:b!=null?b:y,onClose:f,focusTriggerAfterClose:T,transitionName:Yr(l.value,"zoom",e.transitionName),maskTransitionName:Yr(l.value,"fade",e.maskTransitionName),mousePosition:(g=I.mousePosition)!==null&&g!==void 0?g:EP}),_(_({},r),{footer:r.footer||v,closeIcon:()=>w("span",{class:`${a.value}-close-x`},[C||w(Ri,{class:`${a.value}-close-icon`},null)])})))}}}),T5e=()=>{const e=ae(!1);return ht(()=>{e.value=!0}),e},OQ=T5e,I5e={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:He(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function Qk(e){return!!(e&&e.then)}const RP=se({compatConfig:{MODE:3},name:"ActionButton",props:I5e,setup(e,t){let{slots:n}=t;const r=ae(!1),i=ae(),o=ae(!1);let a;const l=OQ();tt(()=>{e.autofocus&&(a=setTimeout(()=>{var d,f;return(f=(d=ci(i.value))===null||d===void 0?void 0:d.focus)===null||f===void 0?void 0:f.call(d)}))}),ht(()=>{clearTimeout(a)});const s=function(){for(var d,f=arguments.length,h=new Array(f),v=0;v{Qk(d)&&(o.value=!0,d.then(function(){l.value||(o.value=!1),s(...arguments),r.value=!1},f=>(l.value||(o.value=!1),r.value=!1,Promise.reject(f))))},c=d=>{const{actionFn:f}=e;if(r.value)return;if(r.value=!0,!f){s();return}let h;if(e.emitEvent){if(h=f(d),e.quitOnNullishReturnValue&&!Qk(h)){r.value=!1,s(d);return}}else if(f.length)h=f(e.close),r.value=!1;else if(h=f(),!h){s();return}u(h)};return()=>{const{type:d,prefixCls:f,buttonProps:h}=e;return w(An,z(z(z({},cS(d)),{},{onClick:c,loading:o.value,prefixCls:f},h),{},{ref:i}),n)}}});function af(e){return typeof e=="function"?e():e}const DQ=se({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[r]=Lo("Modal");return()=>{const{icon:i,onCancel:o,onOk:a,close:l,okText:s,closable:u=!1,zIndex:c,afterClose:d,keyboard:f,centered:h,getContainer:v,maskStyle:p,okButtonProps:g,cancelButtonProps:m,okCancel:y,width:b=416,mask:S=!0,maskClosable:x=!1,type:$,open:C,title:T,content:I,direction:P,closeIcon:M,modalRender:O,focusTriggerAfterClose:D,rootPrefixCls:R,bodyStyle:A,wrapClassName:E,footer:k}=e;let N=i;if(!i&&i!==null)switch($){case"info":N=w(lv,null,null);break;case"success":N=w(ls,null,null);break;case"error":N=w(Li,null,null);break;default:N=w(ss,null,null)}const B=e.okType||"primary",F=e.prefixCls||"ant-modal",H=`${F}-confirm`,V=n.style||{},X=y!=null?y:$==="confirm",Q=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",K=`${F}-confirm`,te=ce(K,`${K}-${e.type}`,{[`${K}-rtl`]:P==="rtl"},n.class),q=r.value,ee=X&&w(RP,{actionFn:o,close:l,autofocus:Q==="cancel",buttonProps:m,prefixCls:`${R}-btn`},{default:()=>[af(e.cancelText)||q.cancelText]});return w(sr,{prefixCls:F,class:te,wrapClassName:ce({[`${K}-centered`]:!!h},E),onCancel:J=>l==null?void 0:l({triggerCancel:!0},J),open:C,title:"",footer:"",transitionName:Yr(R,"zoom",e.transitionName),maskTransitionName:Yr(R,"fade",e.maskTransitionName),mask:S,maskClosable:x,maskStyle:p,style:V,bodyStyle:A,width:b,zIndex:c,afterClose:d,keyboard:f,centered:h,getContainer:v,closable:u,closeIcon:M,modalRender:O,focusTriggerAfterClose:D},{default:()=>[w("div",{class:`${H}-body-wrapper`},[w("div",{class:`${H}-body`},[af(N),T===void 0?null:w("span",{class:`${H}-title`},[af(T)]),w("div",{class:`${H}-content`},[af(I)])]),k!==void 0?af(k):w("div",{class:`${H}-btns`},[ee,w(RP,{type:B,actionFn:a,close:l,autofocus:Q==="ok",buttonProps:g,prefixCls:`${R}-btn`},{default:()=>[af(s)||(X?q.okText:q.justOkText)]})])])]})}}}),P5e=[],Bc=P5e,M5e=e=>{const t=document.createDocumentFragment();let n=_(_({},yt(e,["parentContext","appContext"])),{close:o,open:!0}),r=null;function i(){r&&(fu(null,t),r=null);for(var u=arguments.length,c=new Array(u),d=0;dh&&h.triggerCancel);e.onCancel&&f&&e.onCancel(()=>{},...c.slice(1));for(let h=0;h{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,c)}}),n.visible&&delete n.visible,a(n)}function a(u){typeof u=="function"?n=u(n):n=_(_({},n),u),r&&xge(r,n,t)}const l=u=>{const c=Cr,d=c.prefixCls,f=u.prefixCls||`${d}-modal`,h=c.iconPrefixCls,v=FDe();return w(VE,z(z({},c),{},{prefixCls:d}),{default:()=>[w(DQ,z(z({},u),{},{rootPrefixCls:d,prefixCls:f,iconPrefixCls:h,locale:v,cancelText:u.cancelText||v.cancelText}),null)]})};function s(u){const c=w(l,_({},u));return c.appContext=e.parentContext||e.appContext||c.appContext,fu(c,t),c}return r=s(n),Bc.push(o),{destroy:o,update:a}},Jm=M5e;function EQ(e){return _(_({},e),{type:"warning"})}function RQ(e){return _(_({},e),{type:"info"})}function LQ(e){return _(_({},e),{type:"success"})}function NQ(e){return _(_({},e),{type:"error"})}function kQ(e){return _(_({},e),{type:"confirm"})}const A5e=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),O5e=se({name:"HookModal",inheritAttrs:!1,props:ft(A5e(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var r;const i=L(()=>e.open),o=L(()=>e.config),{direction:a,getPrefixCls:l}=Zx(),s=l("modal"),u=l(),c=()=>{var v,p;e==null||e.afterClose(),(p=(v=o.value).afterClose)===null||p===void 0||p.call(v)},d=function(){e.destroyAction(...arguments)};n({destroy:d});const f=(r=o.value.okCancel)!==null&&r!==void 0?r:o.value.type==="confirm",[h]=Lo("Modal",vi.Modal);return()=>w(DQ,z(z({prefixCls:s,rootPrefixCls:u},o.value),{},{close:d,open:i.value,afterClose:c,okText:o.value.okText||(f?h==null?void 0:h.value.okText:h==null?void 0:h.value.justOkText),direction:o.value.direction||a.value,cancelText:o.value.cancelText||(h==null?void 0:h.value.cancelText)}),null)}});let Jk=0;const D5e=se({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const r=ae([]);return n({addModal:o=>(r.value.push(o),r.value=r.value.slice(),()=>{r.value=r.value.filter(a=>a!==o)})}),()=>r.value.map(o=>o())}});function BQ(){const e=ae(null),t=ae([]);Se(t,()=>{t.value.length&&([...t.value].forEach(a=>{a()}),t.value=[])},{immediate:!0});const n=o=>function(l){var s;Jk+=1;const u=ae(!0),c=ae(null),d=ae(yn(l)),f=ae({});Se(()=>l,b=>{g(_(_({},Kn(b)?b.value:b),f.value))});const h=function(){u.value=!1;for(var b=arguments.length,S=new Array(b),x=0;xC&&C.triggerCancel);d.value.onCancel&&$&&d.value.onCancel(()=>{},...S.slice(1))};let v;const p=()=>w(O5e,{key:`modal-${Jk}`,config:o(d.value),ref:c,open:u.value,destroyAction:h,afterClose:()=>{v==null||v()}},null);v=(s=e.value)===null||s===void 0?void 0:s.addModal(p),v&&Bc.push(v);const g=b=>{d.value=_(_({},d.value),b)};return{destroy:()=>{c.value?h():t.value=[...t.value,h]},update:b=>{f.value=b,c.value?g(b):t.value=[...t.value,()=>g(b)]}}},r=L(()=>({info:n(RQ),success:n(LQ),error:n(NQ),warning:n(EQ),confirm:n(kQ)})),i=Symbol("modalHolderKey");return[r.value,()=>w(D5e,{key:i,ref:e},null)]}function FQ(e){return Jm(EQ(e))}sr.useModal=BQ;sr.info=function(t){return Jm(RQ(t))};sr.success=function(t){return Jm(LQ(t))};sr.error=function(t){return Jm(NQ(t))};sr.warning=FQ;sr.warn=FQ;sr.confirm=function(t){return Jm(kQ(t))};sr.destroyAll=function(){for(;Bc.length;){const t=Bc.pop();t&&t()}};sr.install=function(e){return e.component(sr.name,sr),e};const zQ=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:o="",prefixCls:a}=e;let l;if(typeof n=="function")l=n({value:t});else{const s=String(t),u=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u)l=s;else{const c=u[1];let d=u[2]||"0",f=u[4]||"";d=d.replace(/\B(?=(\d{3})+(?!\d))/g,o),typeof r=="number"&&(f=f.padEnd(r,"0").slice(0,r>0?r:0)),f&&(f=`${i}${f}`),l=[w("span",{key:"int",class:`${a}-content-value-int`},[c,d]),f&&w("span",{key:"decimal",class:`${a}-content-value-decimal`},[f])]}}return w("span",{class:`${a}-content-value`},[l])};zQ.displayName="StatisticNumber";const E5e=zQ,R5e=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,statisticTitleFontSize:o,colorTextHeading:a,statisticContentFontSize:l,statisticFontFamily:s}=e;return{[`${t}`]:_(_({},st(e)),{[`${t}-title`]:{marginBottom:n,color:i,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},L5e=it("Statistic",e=>{const{fontSizeHeading3:t,fontSize:n,fontFamily:r}=e,i=Ue(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:r});return[R5e(i)]}),HQ=()=>({prefixCls:String,decimalSeparator:String,groupSeparator:String,format:String,value:Xe([Number,String,Object]),valueStyle:{type:Object,default:void 0},valueRender:be(),formatter:tn(),precision:Number,prefix:Wr(),suffix:Wr(),title:Wr(),loading:$e()}),Ml=se({compatConfig:{MODE:3},name:"AStatistic",inheritAttrs:!1,props:ft(HQ(),{decimalSeparator:".",groupSeparator:",",loading:!1}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("statistic",e),[a,l]=L5e(i);return()=>{var s,u,c,d,f,h,v;const{value:p=0,valueStyle:g,valueRender:m}=e,y=i.value,b=(s=e.title)!==null&&s!==void 0?s:(u=n.title)===null||u===void 0?void 0:u.call(n),S=(c=e.prefix)!==null&&c!==void 0?c:(d=n.prefix)===null||d===void 0?void 0:d.call(n),x=(f=e.suffix)!==null&&f!==void 0?f:(h=n.suffix)===null||h===void 0?void 0:h.call(n),$=(v=e.formatter)!==null&&v!==void 0?v:n.formatter;let C=w(E5e,z({"data-for-update":Date.now()},_(_({},e),{prefixCls:y,value:p,formatter:$})),null);return m&&(C=m(C)),a(w("div",z(z({},r),{},{class:[y,{[`${y}-rtl`]:o.value==="rtl"},r.class,l.value]}),[b&&w("div",{class:`${y}-title`},[b]),w(zr,{paragraph:!1,loading:e.loading},{default:()=>[w("div",{style:g,class:`${y}-content`},[S&&w("span",{class:`${y}-content-prefix`},[S]),C,x&&w("span",{class:`${y}-content-suffix`},[x])])]})]))}}}),N5e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function k5e(e,t){let n=e;const r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(s=>s.slice(1,-1)),o=t.replace(r,"[]"),a=N5e.reduce((s,u)=>{let[c,d]=u;if(s.includes(c)){const f=Math.floor(n/d);return n-=f*d,s.replace(new RegExp(`${c}+`,"g"),h=>{const v=h.length;return f.toString().padStart(v,"0")})}return s},o);let l=0;return a.replace(r,()=>{const s=i[l];return l+=1,s})}function B5e(e,t){const{format:n=""}=t,r=new Date(e).getTime(),i=Date.now(),o=Math.max(r-i,0);return k5e(o,n)}const F5e=1e3/30;function S_(e){return new Date(e).getTime()}const z5e=()=>_(_({},HQ()),{value:Xe([Number,String,Object]),format:String,onFinish:Function,onChange:Function}),H5e=se({compatConfig:{MODE:3},name:"AStatisticCountdown",props:ft(z5e(),{format:"HH:mm:ss"}),setup(e,t){let{emit:n,slots:r}=t;const i=ue(),o=ue(),a=()=>{const{value:d}=e;S_(d)>=Date.now()?l():s()},l=()=>{if(i.value)return;const d=S_(e.value);i.value=setInterval(()=>{o.value.$forceUpdate(),d>Date.now()&&n("change",d-Date.now()),a()},F5e)},s=()=>{const{value:d}=e;i.value&&(clearInterval(i.value),i.value=void 0,S_(d){let{value:f,config:h}=d;const{format:v}=e;return B5e(f,_(_({},h),{format:v}))},c=d=>d;return tt(()=>{a()}),Qr(()=>{a()}),ht(()=>{s()}),()=>{const d=e.value;return w(Ml,z({ref:o},_(_({},yt(e,["onFinish","onChange"])),{value:d,valueRender:c,formatter:u})),r)}}});Ml.Countdown=H5e;Ml.install=function(e){return e.component(Ml.name,Ml),e.component(Ml.Countdown.name,Ml.Countdown),e};const V5e=Ml.Countdown;var W5e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const j5e=W5e;function eB(e){for(var t=1;t{const{keyCode:h}=f;h===Pe.ENTER&&f.preventDefault()},s=f=>{const{keyCode:h}=f;h===Pe.ENTER&&r("click",f)},u=f=>{r("click",f)},c=()=>{a.value&&a.value.focus()},d=()=>{a.value&&a.value.blur()};return tt(()=>{e.autofocus&&c()}),o({focus:c,blur:d}),()=>{var f;const{noStyle:h,disabled:v}=e,p=Z5e(e,["noStyle","disabled"]);let g={};return h||(g=_({},Q5e)),v&&(g.pointerEvents="none"),w("div",z(z(z({role:"button",tabindex:0,ref:a},p),i),{},{onClick:u,onKeydown:l,onKeyup:s,style:_(_({},g),i.style||{})}),[(f=n.default)===null||f===void 0?void 0:f.call(n)])}}}),OS=J5e,e6e={small:8,middle:16,large:24},t6e=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:U.oneOf(Ar("horizontal","vertical")).def("horizontal"),align:U.oneOf(Ar("start","end","center","baseline")),wrap:$e()});function n6e(e){return typeof e=="string"?e6e[e]:e||0}const sg=se({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:t6e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,space:o,direction:a}=Ee("space",e),[l,s]=OX(i),u=Jq(),c=L(()=>{var m,y,b;return(b=(m=e.size)!==null&&m!==void 0?m:(y=o==null?void 0:o.value)===null||y===void 0?void 0:y.size)!==null&&b!==void 0?b:"small"}),d=ue(),f=ue();Se(c,()=>{[d.value,f.value]=(Array.isArray(c.value)?c.value:[c.value,c.value]).map(m=>n6e(m))},{immediate:!0});const h=L(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),v=L(()=>ce(i.value,s.value,`${i.value}-${e.direction}`,{[`${i.value}-rtl`]:a.value==="rtl",[`${i.value}-align-${h.value}`]:h.value})),p=L(()=>a.value==="rtl"?"marginLeft":"marginRight"),g=L(()=>{const m={};return u.value&&(m.columnGap=`${d.value}px`,m.rowGap=`${f.value}px`),_(_({},m),e.wrap&&{flexWrap:"wrap",marginBottom:`${-f.value}px`})});return()=>{var m,y;const{wrap:b,direction:S="horizontal"}=e,x=(m=n.default)===null||m===void 0?void 0:m.call(n),$=xn(x),C=$.length;if(C===0)return null;const T=(y=n.split)===null||y===void 0?void 0:y.call(n),I=`${i.value}-item`,P=d.value,M=C-1;return w("div",z(z({},r),{},{class:[v.value,r.class],style:[g.value,r.style]}),[$.map((O,D)=>{let R=x.indexOf(O);R===-1&&(R=`$$space-${D}`);let A={};return u.value||(S==="vertical"?D{const{componentCls:t,antCls:n}=e;return{[t]:_(_({},st(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${t}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},"&.has-footer":{paddingBottom:0},[`${t}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,"&-button":_(_({},rw(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${n}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${n}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${t}-heading`]:{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},"&-title":_({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},Hn),[`${n}-avatar`]:{marginRight:e.marginSM},"&-sub-title":_({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},Hn),"&-extra":{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap","> *":{marginLeft:e.marginSM,whiteSpace:"unset"},"> *:first-child":{marginLeft:0}}},[`${t}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${t}-footer`]:{marginTop:e.marginMD,[`${n}-tabs`]:{[`> ${n}-tabs-nav`]:{margin:0,"&::before":{border:"none"}},[`${n}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${t}-compact ${t}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},i6e=it("PageHeader",e=>{const t=Ue(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[r6e(t)]}),o6e=()=>({backIcon:Wr(),prefixCls:String,title:Wr(),subTitle:Wr(),breadcrumb:U.object,tags:Wr(),footer:Wr(),extra:Wr(),avatar:He(),ghost:{type:Boolean,default:void 0},onBack:Function}),a6e=se({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:o6e(),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o,direction:a,pageHeader:l}=Ee("page-header",e),[s,u]=i6e(o),c=ae(!1),d=OQ(),f=S=>{let{width:x}=S;d.value||(c.value=x<768)},h=L(()=>{var S,x,$;return($=(S=e.ghost)!==null&&S!==void 0?S:(x=l==null?void 0:l.value)===null||x===void 0?void 0:x.ghost)!==null&&$!==void 0?$:!0}),v=()=>{var S,x,$;return($=(S=e.backIcon)!==null&&S!==void 0?S:(x=r.backIcon)===null||x===void 0?void 0:x.call(r))!==null&&$!==void 0?$:a.value==="rtl"?w(q5e,null,null):w(K5e,null,null)},p=S=>!S||!e.onBack?null:w(Ad,{componentName:"PageHeader",children:x=>{let{back:$}=x;return w("div",{class:`${o.value}-back`},[w(OS,{onClick:C=>{n("back",C)},class:`${o.value}-back-button`,"aria-label":$},{default:()=>[S]})])}},null),g=()=>{var S;return e.breadcrumb?w(Zc,e.breadcrumb,null):(S=r.breadcrumb)===null||S===void 0?void 0:S.call(r)},m=()=>{var S,x,$,C,T,I,P,M,O;const{avatar:D}=e,R=(S=e.title)!==null&&S!==void 0?S:(x=r.title)===null||x===void 0?void 0:x.call(r),A=($=e.subTitle)!==null&&$!==void 0?$:(C=r.subTitle)===null||C===void 0?void 0:C.call(r),E=(T=e.tags)!==null&&T!==void 0?T:(I=r.tags)===null||I===void 0?void 0:I.call(r),k=(P=e.extra)!==null&&P!==void 0?P:(M=r.extra)===null||M===void 0?void 0:M.call(r),N=`${o.value}-heading`,B=R||A||E||k;if(!B)return null;const F=v(),H=p(F);return w("div",{class:N},[(H||D||B)&&w("div",{class:`${N}-left`},[H,D?w(qc,D,null):(O=r.avatar)===null||O===void 0?void 0:O.call(r),R&&w("span",{class:`${N}-title`,title:typeof R=="string"?R:void 0},[R]),A&&w("span",{class:`${N}-sub-title`,title:typeof A=="string"?A:void 0},[A]),E&&w("span",{class:`${N}-tags`},[E])]),k&&w("span",{class:`${N}-extra`},[w(VQ,null,{default:()=>[k]})])])},y=()=>{var S,x;const $=(S=e.footer)!==null&&S!==void 0?S:xn((x=r.footer)===null||x===void 0?void 0:x.call(r));return Rfe($)?null:w("div",{class:`${o.value}-footer`},[$])},b=S=>w("div",{class:`${o.value}-content`},[S]);return()=>{var S,x;const $=((S=e.breadcrumb)===null||S===void 0?void 0:S.routes)||r.breadcrumb,C=e.footer||r.footer,T=Jt((x=r.default)===null||x===void 0?void 0:x.call(r)),I=ce(o.value,{"has-breadcrumb":$,"has-footer":C,[`${o.value}-ghost`]:h.value,[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-compact`]:c.value},i.class,u.value);return s(w(Ao,{onResize:f},{default:()=>[w("div",z(z({},i),{},{class:I}),[g(),m(),T.length?b(T):null,y()])]}))}}}),l6e=gn(a6e),s6e=e=>{const{componentCls:t,iconCls:n,zIndexPopup:r,colorText:i,colorWarning:o,marginXS:a,fontSize:l,fontWeightStrong:s,lineHeight:u}=e;return{[t]:{zIndex:r,[`${t}-inner-content`]:{color:i},[`${t}-message`]:{position:"relative",marginBottom:a,color:i,fontSize:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,flex:"none",lineHeight:1,paddingTop:(Math.round(l*u)-l)/2},"&-title":{flex:"auto",marginInlineStart:a},"&-title-only":{fontWeight:s}},[`${t}-description`]:{position:"relative",marginInlineStart:l+a,marginBottom:a,color:i,fontSize:l},[`${t}-buttons`]:{textAlign:"end",button:{marginInlineStart:a}}}}},u6e=it("Popconfirm",e=>s6e(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}});var c6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},LD()),{prefixCls:String,content:tn(),title:tn(),description:tn(),okType:je("primary"),disabled:{type:Boolean,default:!1},okText:tn(),cancelText:tn(),icon:tn(),okButtonProps:He(),cancelButtonProps:He(),showCancel:{type:Boolean,default:!0},onConfirm:Function,onCancel:Function}),f6e=se({compatConfig:{MODE:3},name:"APopconfirm",inheritAttrs:!1,props:ft(d6e(),_(_({},sY()),{trigger:"click",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0,okType:"primary",disabled:!1})),slots:Object,setup(e,t){let{slots:n,emit:r,expose:i,attrs:o}=t;const a=ue();vn(e.visible===void 0),i({getPopupDomNode:()=>{var $,C;return(C=($=a.value)===null||$===void 0?void 0:$.getPopupDomNode)===null||C===void 0?void 0:C.call($)}});const[l,s]=dn(!1,{value:qe(e,"open")}),u=($,C)=>{e.open===void 0&&s($),r("update:open",$),r("openChange",$,C)},c=$=>{u(!1,$)},d=$=>{var C;return(C=e.onConfirm)===null||C===void 0?void 0:C.call(e,$)},f=$=>{var C;u(!1,$),(C=e.onCancel)===null||C===void 0||C.call(e,$)},h=$=>{$.keyCode===Pe.ESC&&l&&u(!1,$)},v=$=>{const{disabled:C}=e;C||u($)},{prefixCls:p,getPrefixCls:g}=Ee("popconfirm",e),m=L(()=>g()),y=L(()=>g("btn")),[b]=u6e(p),[S]=Lo("Popconfirm",vi.Popconfirm),x=()=>{var $,C,T,I,P;const{okButtonProps:M,cancelButtonProps:O,title:D=($=n.title)===null||$===void 0?void 0:$.call(n),description:R=(C=n.description)===null||C===void 0?void 0:C.call(n),cancelText:A=(T=n.cancel)===null||T===void 0?void 0:T.call(n),okText:E=(I=n.okText)===null||I===void 0?void 0:I.call(n),okType:k,icon:N=((P=n.icon)===null||P===void 0?void 0:P.call(n))||w(ss,null,null),showCancel:B=!0}=e,{cancelButton:F,okButton:H}=n,V=_({onClick:f,size:"small"},O),X=_(_(_({onClick:d},cS(k)),{size:"small"}),M);return w("div",{class:`${p.value}-inner-content`},[w("div",{class:`${p.value}-message`},[N&&w("span",{class:`${p.value}-message-icon`},[N]),w("div",{class:[`${p.value}-message-title`,{[`${p.value}-message-title-only`]:!!R}]},[D])]),R&&w("div",{class:`${p.value}-description`},[R]),w("div",{class:`${p.value}-buttons`},[B?F?F(V):w(An,V,{default:()=>[A||S.value.cancelText]}):null,H?H(X):w(RP,{buttonProps:_(_({size:"small"},cS(k)),M),actionFn:d,close:c,prefixCls:y.value,quitOnNullishReturnValue:!0,emitEvent:!0},{default:()=>[E||S.value.okText]})])])};return()=>{var $;const{placement:C,overlayClassName:T,trigger:I="click"}=e,P=c6e(e,["placement","overlayClassName","trigger"]),M=yt(P,["title","content","cancelText","okText","onUpdate:open","onConfirm","onCancel","prefixCls"]),O=ce(p.value,T);return b(w(FD,z(z(z({},M),o),{},{trigger:I,placement:C,onOpenChange:v,open:l.value,overlayClassName:O,transitionName:Yr(m.value,"zoom-big",e.transitionName),ref:a,"data-popover-inject":!0}),{default:()=>[Sge((($=n.default)===null||$===void 0?void 0:$.call(n))||[],{onKeydown:D=>{h(D)}},!1)],content:x}))}}}),h6e=gn(f6e),v6e=["normal","exception","active","success"],Jw=()=>({prefixCls:String,type:je(),percent:Number,format:be(),status:je(),showInfo:$e(),strokeWidth:Number,strokeLinecap:je(),strokeColor:tn(),trailColor:String,width:Number,success:He(),gapDegree:Number,gapPosition:je(),size:Xe([String,Number,Array]),steps:Number,successPercent:Number,title:String,progressStatus:je()});function Jc(e){return!e||e<0?0:e>100?100:e}function DS(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(on(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),r=t.progress),t&&"percent"in t&&(r=t.percent),r}function p6e(e){let{percent:t,success:n,successPercent:r}=e;const i=Jc(DS({success:n,successPercent:r}));return[i,Jc(Jc(t)-i)]}function g6e(e){let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||oh.green,n||null]}const eC=(e,t,n)=>{var r,i,o,a;let l=-1,s=-1;if(t==="step"){const u=n.steps,c=n.strokeWidth;typeof e=="string"||typeof e=="undefined"?(l=e==="small"?2:14,s=c!=null?c:8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e=="undefined"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,s=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return{width:l,height:s}};var m6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},Jw()),{strokeColor:tn(),direction:je()}),b6e=e=>{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},S6e=(e,t)=>{const{from:n=oh.blue,to:r=oh.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=m6e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const a=b6e(o);return{backgroundImage:`linear-gradient(${i}, ${a})`}}return{backgroundImage:`linear-gradient(${i}, ${n}, ${r})`}},x6e=se({compatConfig:{MODE:3},name:"ProgressLine",inheritAttrs:!1,props:y6e(),setup(e,t){let{slots:n,attrs:r}=t;const i=L(()=>{const{strokeColor:h,direction:v}=e;return h&&typeof h!="string"?S6e(h,v):{backgroundColor:h}}),o=L(()=>e.strokeLinecap==="square"||e.strokeLinecap==="butt"?0:void 0),a=L(()=>e.trailColor?{backgroundColor:e.trailColor}:void 0),l=L(()=>{var h;return(h=e.size)!==null&&h!==void 0?h:[-1,e.strokeWidth||(e.size==="small"?6:8)]}),s=L(()=>eC(l.value,"line",{strokeWidth:e.strokeWidth})),u=L(()=>{const{percent:h}=e;return _({width:`${Jc(h)}%`,height:`${s.value.height}px`,borderRadius:o.value},i.value)}),c=L(()=>DS(e)),d=L(()=>{const{success:h}=e;return{width:`${Jc(c.value)}%`,height:`${s.value.height}px`,borderRadius:o.value,backgroundColor:h==null?void 0:h.strokeColor}}),f={width:s.value.width<0?"100%":s.value.width,height:`${s.value.height}px`};return()=>{var h;return w(Qe,null,[w("div",z(z({},r),{},{class:[`${e.prefixCls}-outer`,r.class],style:[r.style,f]}),[w("div",{class:`${e.prefixCls}-inner`,style:a.value},[w("div",{class:`${e.prefixCls}-bg`,style:u.value},null),c.value!==void 0?w("div",{class:`${e.prefixCls}-success-bg`,style:d.value},null):null])]),(h=n.default)===null||h===void 0?void 0:h.call(n)])}}}),w6e={percent:0,prefixCls:"vc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1},C6e=e=>{const t=ue(null);return Qr(()=>{const n=Date.now();let r=!1;e.value.forEach(i=>{const o=(i==null?void 0:i.$el)||i;if(!o)return;r=!0;const a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",t.value&&n-t.value<100&&(a.transitionDuration="0s, 0s")}),r&&(t.value=Date.now())}),e},$6e={gapDegree:Number,gapPosition:{type:String},percent:{type:[Array,Number]},prefixCls:String,strokeColor:{type:[Object,String,Array]},strokeLinecap:{type:String},strokeWidth:Number,trailColor:String,trailWidth:Number,transition:String};var _6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;const a=50-r/2;let l=0,s=-a,u=0,c=-2*a;switch(o){case"left":l=-a,s=0,u=2*a,c=0;break;case"right":l=a,s=0,u=-2*a,c=0;break;case"bottom":s=a,c=2*a;break}const d=`M 50,50 m ${l},${s} a ${a},${a} 0 1 1 ${u},${-c} - a ${a},${a} 0 1 1 ${-u},${c}`,f=Math.PI*2*a,h={stroke:n,strokeDasharray:`${t/100*(f-i)}px ${f}px`,strokeDashoffset:`-${i/2+e/100*(f-i)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:h}}const _6e=se({compatConfig:{MODE:3},name:"VCCircle",props:ft(C6e,x6e),setup(e){nB+=1;const t=ue(nB),n=L(()=>iB(e.percent)),r=L(()=>iB(e.strokeColor)),[i,o]=xE();w6e(o);const a=()=>{const{prefixCls:l,strokeWidth:s,strokeLinecap:u,gapDegree:c,gapPosition:d}=e;let f=0;return n.value.map((h,v)=>{const p=r.value[v]||r.value[r.value.length-1],g=Object.prototype.toString.call(p)==="[object Object]"?`url(#${l}-gradient-${t.value})`:"",{pathString:m,pathStyle:y}=oB(f,h,p,s,c,d);f+=h;const b={key:v,d:m,stroke:g,"stroke-linecap":u,"stroke-width":s,opacity:h===0?0:1,"fill-opacity":"0",class:`${l}-circle-path`,style:y};return w("path",z({ref:i(v)},b),null)})};return()=>{const{prefixCls:l,strokeWidth:s,trailWidth:u,gapDegree:c,gapPosition:d,trailColor:f,strokeLinecap:h,strokeColor:v}=e,p=$6e(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:g,pathStyle:m}=oB(0,100,f,s,c,d);delete p.percent;const y=r.value.find(S=>Object.prototype.toString.call(S)==="[object Object]"),b={d:g,stroke:f,"stroke-linecap":h,"stroke-width":u||s,"fill-opacity":"0",class:`${l}-circle-trail`,style:m};return w("svg",z({class:`${l}-circle`,viewBox:"0 0 100 100"},p),[y&&w("defs",null,[w("linearGradient",{id:`${l}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(y).sort((S,x)=>rB(S)-rB(x)).map((S,x)=>w("stop",{key:x,offset:S,"stop-color":y[S]},null))])]),w("path",b,null),a().reverse()])}}}),T6e=()=>_(_({},Jw()),{strokeColor:tn()}),I6e=3,P6e=e=>I6e/e*100,M6e=se({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:ft(T6e(),{trailColor:null}),setup(e,t){let{slots:n,attrs:r}=t;const i=L(()=>{var p;return(p=e.width)!==null&&p!==void 0?p:120}),o=L(()=>{var p;return(p=e.size)!==null&&p!==void 0?p:[i.value,i.value]}),a=L(()=>eC(o.value,"circle")),l=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),s=L(()=>({width:`${a.value.width}px`,height:`${a.value.height}px`,fontSize:`${a.value.width*.15+6}px`})),u=L(()=>{var p;return(p=e.strokeWidth)!==null&&p!==void 0?p:Math.max(P6e(a.value.width),6)}),c=L(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),d=L(()=>v6e(e)),f=L(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),h=L(()=>p6e({success:e.success,strokeColor:e.strokeColor})),v=L(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:f.value}));return()=>{var p;const g=w(_6e,{percent:d.value,strokeWidth:u.value,trailWidth:u.value,strokeColor:h.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:l.value,gapPosition:c.value},null);return w("div",z(z({},r),{},{class:[v.value,r.class],style:[r.style,s.value]}),[a.value.width<=20?w(Pi,null,{default:()=>[w("span",null,[g])],title:n.default}):w(Qe,null,[g,(p=n.default)===null||p===void 0?void 0:p.call(n)])])}}}),A6e=()=>_(_({},Jw()),{steps:Number,strokeColor:Xe(),trailColor:String}),O6e=se({compatConfig:{MODE:3},name:"Steps",props:A6e(),setup(e,t){let{slots:n}=t;const r=L(()=>Math.round(e.steps*((e.percent||0)/100))),i=L(()=>{var l;return(l=e.size)!==null&&l!==void 0?l:[e.size==="small"?2:14,e.strokeWidth||8]}),o=L(()=>eC(i.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),a=L(()=>{const{steps:l,strokeColor:s,trailColor:u,prefixCls:c}=e,d=[];for(let f=0;f{var l;return w("div",{class:`${e.prefixCls}-steps-outer`},[a.value,(l=n.default)===null||l===void 0?void 0:l.call(n)])}}}),D6e=new xt("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),E6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:_(_({},st(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:D6e,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},R6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},L6e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},N6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},k6e=it("Progress",e=>{const t=e.marginXXS/2,n=Ue(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[E6e(n),R6e(n),L6e(n),N6e(n)]});var B6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iArray.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),u=L(()=>{const{percent:v=0}=e,p=DS(e);return parseInt(p!==void 0?p.toString():v.toString(),10)}),c=L(()=>{const{status:v}=e;return!h6e.includes(v)&&u.value>=100?"success":v||"normal"}),d=L(()=>{const{type:v,showInfo:p,size:g}=e,m=i.value;return{[m]:!0,[`${m}-inline-circle`]:v==="circle"&&eC(g,"circle").width<=20,[`${m}-${v==="dashboard"&&"circle"||v}`]:!0,[`${m}-status-${c.value}`]:!0,[`${m}-show-info`]:p,[`${m}-${g}`]:g,[`${m}-rtl`]:o.value==="rtl",[l.value]:!0}}),f=L(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),h=()=>{const{showInfo:v,format:p,type:g,percent:m,title:y}=e,b=DS(e);if(!v)return null;let S;const x=p||(n==null?void 0:n.format)||(C=>`${C}%`),$=g==="line";return p||n!=null&&n.format||c.value!=="exception"&&c.value!=="success"?S=x(Jc(m),Jc(b)):c.value==="exception"?S=w($?Ri:Ei,null,null):c.value==="success"&&(S=w($?ls:Sw,null,null)),w("span",{class:`${i.value}-text`,title:y===void 0&&typeof S=="string"?S:void 0},[S])};return()=>{const{type:v,steps:p,title:g}=e,{class:m}=r,y=B6e(r,["class"]),b=h();let S;return v==="line"?S=p?w(O6e,z(z({},e),{},{strokeColor:f.value,prefixCls:i.value,steps:p}),{default:()=>[b]}):w(S6e,z(z({},e),{},{strokeColor:s.value,prefixCls:i.value,direction:o.value}),{default:()=>[b]}):(v==="circle"||v==="dashboard")&&(S=w(M6e,z(z({},e),{},{prefixCls:i.value,strokeColor:s.value,progressStatus:c.value}),{default:()=>[b]})),a(w("div",z(z({role:"progressbar"},y),{},{class:[d.value,m],title:g}),[S]))}}}),S3=gn(F6e);function z6e(e){let t=e.scrollX;const n="scrollLeft";if(typeof t!="number"){const r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function H6e(e){let t,n;const r=e.ownerDocument,{body:i}=r,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function V6e(e){const t=H6e(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=z6e(r),t.left}var W6e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const j6e=W6e;function aB(e){for(var t=1;t{const{index:s}=e;n("hover",l,s)},i=l=>{const{index:s}=e;n("click",l,s)},o=l=>{const{index:s}=e;l.keyCode===13&&n("click",l,s)},a=L(()=>{const{prefixCls:l,index:s,value:u,allowHalf:c,focused:d}=e,f=s+1;let h=l;return u===0&&s===0&&d?h+=` ${l}-focused`:c&&u+.5>=f&&u{const{disabled:l,prefixCls:s,characterRender:u,character:c,index:d,count:f,value:h}=e,v=typeof c=="function"?c({disabled:l,prefixCls:s,index:d,count:f,value:h}):c;let p=w("li",{class:a.value},[w("div",{onClick:l?null:i,onKeydown:l?null:o,onMousemove:l?null:r,role:"radio","aria-checked":h>d?"true":"false","aria-posinset":d+1,"aria-setsize":f,tabindex:l?-1:0},[w("div",{class:`${s}-first`},[v]),w("div",{class:`${s}-second`},[v])])]);return u&&(p=u(p,e)),p}}}),Y6e=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},q6e=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),Z6e=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_({},st(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),Y6e(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),q6e(e))}},Q6e=it("Rate",e=>{const{colorFillContent:t}=e,n=Ue(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[Z6e(n)]}),J6e=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:U.any,autofocus:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),e8e=se({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:ft(J6e(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const{prefixCls:a,direction:l}=Ee("rate",e),[s,u]=Q6e(a),c=Xn(),d=ue(),[f,h]=xE(),v=Bt({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});Se(()=>e.value,()=>{v.value=e.value});const p=M=>ci(h.value.get(M)),g=(M,O)=>{const D=l.value==="rtl";let R=M+1;if(e.allowHalf){const A=p(M),E=V6e(A),k=A.clientWidth;(D&&O-E>k/2||!D&&O-E{e.value===void 0&&(v.value=M),i("update:value",M),i("change",M),c.onFieldChange()},y=(M,O)=>{const D=g(O,M.pageX);D!==v.cleanedValue&&(v.hoverValue=D,v.cleanedValue=null),i("hoverChange",D)},b=()=>{v.hoverValue=void 0,v.cleanedValue=null,i("hoverChange",void 0)},S=(M,O)=>{const{allowClear:D}=e,R=g(O,M.pageX);let A=!1;D&&(A=R===v.value),b(),m(A?0:R),v.cleanedValue=A?R:null},x=M=>{v.focused=!0,i("focus",M)},$=M=>{v.focused=!1,i("blur",M),c.onFieldBlur()},C=M=>{const{keyCode:O}=M,{count:D,allowHalf:R}=e,A=l.value==="rtl";O===Pe.RIGHT&&v.value0&&!A||O===Pe.RIGHT&&v.value>0&&A?(R?v.value-=.5:v.value-=1,m(v.value),M.preventDefault()):O===Pe.LEFT&&v.value{e.disabled||d.value.focus()};o({focus:T,blur:()=>{e.disabled||d.value.blur()}}),tt(()=>{const{autofocus:M,disabled:O}=e;M&&!O&&T()});const P=(M,O)=>{let{index:D}=O;const{tooltips:R}=e;return R?w(Pi,{title:R[D]},{default:()=>[M]}):M};return()=>{const{count:M,allowHalf:O,disabled:D,tabindex:R,id:A=c.id.value}=e,{class:E,style:k}=r,N=[],B=D?`${a.value}-disabled`:"",F=e.character||n.character||(()=>w(K6e,null,null));for(let V=0;Vw("svg",{width:"252",height:"294"},[w("defs",null,[w("path",{d:"M0 .387h251.772v251.772H0z"},null)]),w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(0 .012)"},[w("mask",{fill:"#fff"},null),w("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),w("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),w("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),w("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),w("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),w("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),w("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),w("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),w("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),w("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),w("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),w("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),w("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),w("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),w("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),w("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),w("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),w("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),w("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),w("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),w("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),w("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),w("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),w("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),w("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),w("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),w("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),w("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),w("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),w("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),w("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),w("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),w("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),w("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),w("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),w("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),w("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),w("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),w("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),w("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),l8e=a8e,s8e=()=>w("svg",{width:"254",height:"294"},[w("defs",null,[w("path",{d:"M0 .335h253.49v253.49H0z"},null),w("path",{d:"M0 293.665h253.49V.401H0z"},null)]),w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(0 .067)"},[w("mask",{fill:"#fff"},null),w("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),w("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),w("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),w("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),w("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),w("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),w("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),w("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),w("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),w("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),w("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),w("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),w("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),w("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),w("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),w("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),w("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),w("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),w("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),w("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),w("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),w("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),w("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),w("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),w("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),w("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),w("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),w("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),w("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),w("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),w("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),w("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),w("mask",{fill:"#fff"},null),w("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),w("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),w("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),w("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),w("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),w("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),w("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),w("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),u8e=s8e,c8e=()=>w("svg",{width:"251",height:"294"},[w("g",{fill:"none","fill-rule":"evenodd"},[w("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),w("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),w("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),w("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),w("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),w("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),w("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),w("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),w("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),w("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),w("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),w("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),w("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),w("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),w("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),w("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),w("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),w("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),w("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),w("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),w("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),w("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),w("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),w("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),w("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),w("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),w("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),w("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),w("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),w("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),w("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),w("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),w("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),w("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),w("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),w("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),w("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),d8e=c8e,f8e=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:o,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:u}=e;return{[t]:{padding:`${l*2}px ${o}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${l}px ${i*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},h8e=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},v8e=e=>[f8e(e),h8e(e)],p8e=e=>v8e(e),g8e=it("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,i=`${t}px 0 0 0`,o=e.colorInfo,a=e.colorError,l=e.colorSuccess,s=e.colorWarning,u=Ue(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:o,resultErrorIconColor:a,resultSuccessIconColor:l,resultWarningIconColor:s});return[p8e(u)]},{imageWidth:250,imageHeight:295}),m8e={success:ls,error:Ri,info:ss,warning:o8e},ey={404:l8e,500:u8e,403:d8e},y8e=Object.keys(ey),b8e=()=>({prefixCls:String,icon:U.any,status:{type:[Number,String],default:"info"},title:U.any,subTitle:U.any,extra:U.any}),S8e=(e,t)=>{let{status:n,icon:r}=t;if(y8e.includes(`${n}`)){const a=ey[n];return w("div",{class:`${e}-icon ${e}-image`},[w(a,null,null)])}const i=m8e[n],o=r||w(i,null,null);return w("div",{class:`${e}-icon`},[o])},x8e=(e,t)=>t&&w("div",{class:`${e}-extra`},[t]),ed=se({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:b8e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("result",e),[a,l]=g8e(i),s=L(()=>ce(i.value,l.value,`${i.value}-${e.status}`,{[`${i.value}-rtl`]:o.value==="rtl"}));return()=>{var u,c,d,f,h,v,p,g;const m=(u=e.title)!==null&&u!==void 0?u:(c=n.title)===null||c===void 0?void 0:c.call(n),y=(d=e.subTitle)!==null&&d!==void 0?d:(f=n.subTitle)===null||f===void 0?void 0:f.call(n),b=(h=e.icon)!==null&&h!==void 0?h:(v=n.icon)===null||v===void 0?void 0:v.call(n),S=(p=e.extra)!==null&&p!==void 0?p:(g=n.extra)===null||g===void 0?void 0:g.call(n),x=i.value;return a(w("div",z(z({},r),{},{class:[s.value,r.class]}),[S8e(x,{status:e.status,icon:b}),w("div",{class:`${x}-title`},[m]),y&&w("div",{class:`${x}-subtitle`},[y]),x8e(x,S),n.default&&w("div",{class:`${x}-content`},[n.default()])]))}}});ed.PRESENTED_IMAGE_403=ey[403];ed.PRESENTED_IMAGE_404=ey[404];ed.PRESENTED_IMAGE_500=ey[500];ed.install=function(e){return e.component(ed.name,ed),e};const w8e=ed,C8e=gn(RE),WQ=(e,t)=>{let{attrs:n}=t;const{included:r,vertical:i,style:o,class:a}=n;let{length:l,offset:s,reverse:u}=n;l<0&&(u=!u,l=Math.abs(l),s=100-s);const c=i?{[u?"top":"bottom"]:`${s}%`,[u?"bottom":"top"]:"auto",height:`${l}%`}:{[u?"right":"left"]:`${s}%`,[u?"left":"right"]:"auto",width:`${l}%`},d=_(_({},o),c);return r?w("div",{class:a,style:d},null):null};WQ.inheritAttrs=!1;const jQ=WQ,$8e=(e,t,n,r,i,o)=>{vn();const a=Object.keys(t).map(parseFloat).sort((l,s)=>l-s);if(n&&r)for(let l=i;l<=o;l+=r)a.indexOf(l)===-1&&a.push(l);return a},GQ=(e,t)=>{let{attrs:n}=t;const{prefixCls:r,vertical:i,reverse:o,marks:a,dots:l,step:s,included:u,lowerBound:c,upperBound:d,max:f,min:h,dotStyle:v,activeDotStyle:p}=n,g=f-h,m=$8e(i,a,l,s,h,f).map(y=>{const b=`${Math.abs(y-h)/g*100}%`,S=!u&&y===d||u&&y<=d&&y>=c;let x=i?_(_({},v),{[o?"top":"bottom"]:b}):_(_({},v),{[o?"right":"left"]:b});S&&(x=_(_({},x),p));const $=ce({[`${r}-dot`]:!0,[`${r}-dot-active`]:S,[`${r}-dot-reverse`]:o});return w("span",{class:$,style:x,key:y},null)});return w("div",{class:`${r}-step`},[m])};GQ.inheritAttrs=!1;const _8e=GQ,KQ=(e,t)=>{let{attrs:n,slots:r}=t;const{class:i,vertical:o,reverse:a,marks:l,included:s,upperBound:u,lowerBound:c,max:d,min:f,onClickLabel:h}=n,v=Object.keys(l),p=r.mark,g=d-f,m=v.map(parseFloat).sort((y,b)=>y-b).map(y=>{const b=typeof l[y]=="function"?l[y]():l[y],S=typeof b=="object"&&!zn(b);let x=S?b.label:b;if(!x&&x!==0)return null;p&&(x=p({point:y,label:x}));const $=!s&&y===u||s&&y<=u&&y>=c,C=ce({[`${i}-text`]:!0,[`${i}-text-active`]:$}),T={marginBottom:"-50%",[a?"top":"bottom"]:`${(y-f)/g*100}%`},I={transform:`translateX(${a?"50%":"-50%"})`,msTransform:`translateX(${a?"50%":"-50%"})`,[a?"right":"left"]:`${(y-f)/g*100}%`},P=o?T:I,M=S?_(_({},P),b.style):P,O={[tr?"onTouchstartPassive":"onTouchstart"]:D=>h(D,y)};return w("span",z({class:C,style:M,key:y,onMousedown:D=>h(D,y)},O),[x])});return w("div",{class:i},[m])};KQ.inheritAttrs=!1;const T8e=KQ,UQ=se({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:U.oneOfType([U.number,U.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup(e,t){let{attrs:n,emit:r,expose:i}=t;const o=ae(!1),a=ae(),l=()=>{document.activeElement===a.value&&(o.value=!0)},s=g=>{o.value=!1,r("blur",g)},u=()=>{o.value=!1},c=()=>{var g;(g=a.value)===null||g===void 0||g.focus()},d=()=>{var g;(g=a.value)===null||g===void 0||g.blur()},f=()=>{o.value=!0,c()},h=g=>{g.preventDefault(),c(),r("mousedown",g)};i({focus:c,blur:d,clickFocus:f,ref:a});let v=null;tt(()=>{v=bn(document,"mouseup",l)}),ht(()=>{v==null||v.remove()});const p=L(()=>{const{vertical:g,offset:m,reverse:y}=e;return g?{[y?"top":"bottom"]:`${m}%`,[y?"bottom":"top"]:"auto",transform:y?null:"translateY(+50%)"}:{[y?"right":"left"]:`${m}%`,[y?"left":"right"]:"auto",transform:`translateX(${y?"+":"-"}50%)`}});return()=>{const{prefixCls:g,disabled:m,min:y,max:b,value:S,tabindex:x,ariaLabel:$,ariaLabelledBy:C,ariaValueTextFormatter:T,onMouseenter:I,onMouseleave:P}=e,M=ce(n.class,{[`${g}-handle-click-focused`]:o.value}),O={"aria-valuemin":y,"aria-valuemax":b,"aria-valuenow":S,"aria-disabled":!!m},D=[n.style,p.value];let R=x||0;(m||x===null)&&(R=null);let A;T&&(A=T(S));const E=_(_(_(_({},n),{role:"slider",tabindex:R}),O),{class:M,onBlur:s,onKeydown:u,onMousedown:h,onMouseenter:I,onMouseleave:P,ref:a,style:D});return w("div",z(z({},E),{},{"aria-label":$,"aria-labelledby":C,"aria-valuetext":A}),null)}}});function x_(e,t){try{return Object.keys(t).some(n=>e.target===t[n].ref)}catch(n){return!1}}function XQ(e,t){let{min:n,max:r}=t;return er}function sB(e){return e.touches.length>1||e.type.toLowerCase()==="touchend"&&e.touches.length>0}function uB(e,t){let{marks:n,step:r,min:i,max:o}=t;const a=Object.keys(n).map(parseFloat);if(r!==null){const s=Math.pow(10,YQ(r)),u=Math.floor((o*s-i*s)/(r*s)),c=Math.min((e-i)/r,u),d=Math.round(c)*r+i;a.push(d)}const l=a.map(s=>Math.abs(e-s));return a[l.indexOf(Math.min(...l))]}function YQ(e){const t=e.toString();let n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function cB(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function dB(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function fB(e,t){const n=t.getBoundingClientRect();return e?n.top+n.height*.5:window.scrollX+n.left+n.width*.5}function C3(e,t){let{max:n,min:r}=t;return e<=r?r:e>=n?n:e}function qQ(e,t){const{step:n}=t,r=isFinite(uB(e,t))?uB(e,t):0;return n===null?r:parseFloat(r.toFixed(YQ(n)))}function Fh(e){e.stopPropagation(),e.preventDefault()}function I8e(e,t,n){const r={increase:(a,l)=>a+l,decrease:(a,l)=>a-l},i=r[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(n.marks)[i];return n.step?r[e](t,n.step):Object.keys(n.marks).length&&n.marks[o]?n.marks[o]:t}function ZQ(e,t,n){const r="increase",i="decrease";let o=r;switch(e.keyCode){case Pe.UP:o=t&&n?i:r;break;case Pe.RIGHT:o=!t&&n?i:r;break;case Pe.DOWN:o=t&&n?r:i;break;case Pe.LEFT:o=!t&&n?r:i;break;case Pe.END:return(a,l)=>l.max;case Pe.HOME:return(a,l)=>l.min;case Pe.PAGE_UP:return(a,l)=>a+l.step*2;case Pe.PAGE_DOWN:return(a,l)=>a-l.step*2;default:return}return(a,l)=>I8e(o,a,l)}var P8e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.document=this.sliderRef&&this.sliderRef.ownerDocument;const{autofocus:n,disabled:r}=this;n&&!r&&this.focus()})},beforeUnmount(){this.$nextTick(()=>{this.removeDocumentEvents()})},methods:{defaultHandle(n){var{index:r,directives:i,className:o,style:a}=n,l=P8e(n,["index","directives","className","style"]);if(delete l.dragging,l.value===null)return null;const s=_(_({},l),{class:o,style:a,key:r});return w(UQ,s,null)},onDown(n,r){let i=r;const{draggableTrack:o,vertical:a}=this.$props,{bounds:l}=this.$data,s=o&&this.positionGetValue?this.positionGetValue(i)||[]:[],u=x_(n,this.handlesRefs);if(this.dragTrack=o&&l.length>=2&&!u&&!s.map((c,d)=>{const f=d?!0:c>=l[d];return d===s.length-1?c<=l[d]:f}).some(c=>!c),this.dragTrack)this.dragOffset=i,this.startBounds=[...l];else{if(!u)this.dragOffset=0;else{const c=fB(a,n.target);this.dragOffset=i-c,i=c}this.onStart(i)}},onMouseDown(n){if(n.button!==0)return;this.removeDocumentEvents();const r=this.$props.vertical,i=cB(r,n);this.onDown(n,i),this.addDocumentMouseEvents()},onTouchStart(n){if(sB(n))return;const r=this.vertical,i=dB(r,n);this.onDown(n,i),this.addDocumentTouchEvents(),Fh(n)},onFocus(n){const{vertical:r}=this;if(x_(n,this.handlesRefs)&&!this.dragTrack){const i=fB(r,n.target);this.dragOffset=0,this.onStart(i),Fh(n),this.$emit("focus",n)}},onBlur(n){this.dragTrack||this.onEnd(),this.$emit("blur",n)},onMouseUp(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove(n){if(!this.sliderRef){this.onEnd();return}const r=cB(this.vertical,n);this.onMove(n,r-this.dragOffset,this.dragTrack,this.startBounds)},onTouchMove(n){if(sB(n)||!this.sliderRef){this.onEnd();return}const r=dB(this.vertical,n);this.onMove(n,r-this.dragOffset,this.dragTrack,this.startBounds)},onKeyDown(n){this.sliderRef&&x_(n,this.handlesRefs)&&this.onKeyboard(n)},onClickMarkLabel(n,r){n.stopPropagation(),this.onChange({sValue:r}),this.setState({sValue:r},()=>this.onEnd(!0))},getSliderStart(){const n=this.sliderRef,{vertical:r,reverse:i}=this,o=n.getBoundingClientRect();return r?i?o.bottom:o.top:window.scrollX+(i?o.right:o.left)},getSliderLength(){const n=this.sliderRef;if(!n)return 0;const r=n.getBoundingClientRect();return this.vertical?r.height:r.width},addDocumentTouchEvents(){this.onTouchMoveListener=bn(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=bn(this.document,"touchend",this.onEnd)},addDocumentMouseEvents(){this.onMouseMoveListener=bn(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=bn(this.document,"mouseup",this.onEnd)},removeDocumentEvents(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus(){var n;this.$props.disabled||(n=this.handlesRefs[0])===null||n===void 0||n.focus()},blur(){this.$props.disabled||Object.keys(this.handlesRefs).forEach(n=>{var r,i;(i=(r=this.handlesRefs[n])===null||r===void 0?void 0:r.blur)===null||i===void 0||i.call(r)})},calcValue(n){const{vertical:r,min:i,max:o}=this,a=Math.abs(Math.max(n,0)/this.getSliderLength());return r?(1-a)*(o-i)+i:a*(o-i)+i},calcValueByPos(n){const i=(this.reverse?-1:1)*(n-this.getSliderStart());return this.trimAlignValue(this.calcValue(i))},calcOffset(n){const{min:r,max:i}=this,o=(n-r)/(i-r);return Math.max(0,o*100)},saveSlider(n){this.sliderRef=n},saveHandle(n,r){this.handlesRefs[n]=r}},render(){const{prefixCls:n,marks:r,dots:i,step:o,included:a,disabled:l,vertical:s,reverse:u,min:c,max:d,maximumTrackStyle:f,railStyle:h,dotStyle:v,activeDotStyle:p,id:g}=this,{class:m,style:y}=this.$attrs,{tracks:b,handles:S}=this.renderSlider(),x=ce(n,m,{[`${n}-with-marks`]:Object.keys(r).length,[`${n}-disabled`]:l,[`${n}-vertical`]:s,[`${n}-horizontal`]:!s}),$={vertical:s,marks:r,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,reverse:u,class:`${n}-mark`,onClickLabel:l?ju:this.onClickMarkLabel},C={[tr?"onTouchstartPassive":"onTouchstart"]:l?ju:this.onTouchStart};return w("div",z(z({id:g,ref:this.saveSlider,tabindex:"-1",class:x},C),{},{onMousedown:l?ju:this.onMouseDown,onMouseup:l?ju:this.onMouseUp,onKeydown:l?ju:this.onKeyDown,onFocus:l?ju:this.onFocus,onBlur:l?ju:this.onBlur,style:y}),[w("div",{class:`${n}-rail`,style:_(_({},f),h)},null),b,w(_8e,{prefixCls:n,vertical:s,reverse:u,marks:r,dots:i,step:o,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,dotStyle:v,activeDotStyle:p},null),S,w(T8e,$,{mark:this.$slots.mark}),qx(this)])}})}const M8e=se({compatConfig:{MODE:3},name:"Slider",mixins:[Rd],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data(){const e=this.defaultValue!==void 0?this.defaultValue:this.min,t=this.value!==void 0?this.value:e;return{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler(e){this.setChangeValue(e)},deep:!0},min(){const{sValue:e}=this;this.setChangeValue(e)},max(){const{sValue:e}=this;this.setChangeValue(e)}},methods:{setChangeValue(e){const t=e!==void 0?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),XQ(t,this.$props)&&this.$emit("change",n))},onChange(e){const t=!Il(this,"value"),n=e.sValue>this.max?_(_({},e),{sValue:this.max}):e;t&&this.setState(n);const r=n.sValue;this.$emit("change",r)},onStart(e){this.setState({dragging:!0});const{sValue:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd(e){const{dragging:t}=this;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove(e,t){Fh(e);const{sValue:n}=this,r=this.calcValueByPos(t);r!==n&&this.onChange({sValue:r})},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,r=ZQ(e,n,t);if(r){Fh(e);const{sValue:i}=this,o=r(i,this.$props),a=this.trimAlignValue(o);if(a===i)return;this.onChange({sValue:a}),this.$emit("afterChange",a),this.onEnd()}},getLowerBound(){const e=this.$props.startPoint||this.$props.min;return this.$data.sValue>e?e:this.$data.sValue},getUpperBound(){return this.$data.sValue1&&arguments[1]!==void 0?arguments[1]:{};if(e===null)return null;const n=_(_({},this.$props),t),r=C3(e,n);return qQ(r,n)},getTrack(e){let{prefixCls:t,reverse:n,vertical:r,included:i,minimumTrackStyle:o,mergedTrackStyle:a,length:l,offset:s}=e;return w(jQ,{class:`${t}-track`,vertical:r,included:i,offset:s,reverse:n,length:l,style:_(_({},o),a)},null)},renderSlider(){const{prefixCls:e,vertical:t,included:n,disabled:r,minimumTrackStyle:i,trackStyle:o,handleStyle:a,tabindex:l,ariaLabelForHandle:s,ariaLabelledByForHandle:u,ariaValueTextFormatterForHandle:c,min:d,max:f,startPoint:h,reverse:v,handle:p,defaultHandle:g}=this,m=p||g,{sValue:y,dragging:b}=this,S=this.calcOffset(y),x=m({class:`${e}-handle`,prefixCls:e,vertical:t,offset:S,value:y,dragging:b,disabled:r,min:d,max:f,reverse:v,index:0,tabindex:l,ariaLabel:s,ariaLabelledBy:u,ariaValueTextFormatter:c,style:a[0]||a,ref:T=>this.saveHandle(0,T),onFocus:this.onFocus,onBlur:this.onBlur}),$=h!==void 0?this.calcOffset(h):0,C=o[0]||o;return{tracks:this.getTrack({prefixCls:e,reverse:v,vertical:t,included:n,offset:$,minimumTrackStyle:i,mergedTrackStyle:C,length:S-$}),handles:x}}}}),A8e=QQ(M8e),Fv=e=>{let{value:t,handle:n,bounds:r,props:i}=e;const{allowCross:o,pushable:a}=i,l=Number(a),s=C3(t,i);let u=s;return!o&&n!=null&&r!==void 0&&(n>0&&s<=r[n-1]+l&&(u=r[n-1]+l),n=r[n+1]-l&&(u=r[n+1]-l)),qQ(u,i)},O8e={defaultValue:U.arrayOf(U.number),value:U.arrayOf(U.number),count:Number,pushable:RU(U.oneOfType([U.looseBool,U.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:U.arrayOf(U.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},D8e=se({compatConfig:{MODE:3},name:"Range",mixins:[Rd],inheritAttrs:!1,props:ft(O8e,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data(){const{count:e,min:t,max:n}=this,r=Array(...Array(e+1)).map(()=>t),i=Il(this,"defaultValue")?this.defaultValue:r;let{value:o}=this;o===void 0&&(o=i);const a=o.map((s,u)=>Fv({value:s,handle:u,props:this.$props}));return{sHandle:null,recent:a[0]===n?0:a.length-1,bounds:a}},watch:{value:{handler(e){const{bounds:t}=this;this.setChangeValue(e||t)},deep:!0},min(){const{value:e}=this;this.setChangeValue(e||this.bounds)},max(){const{value:e}=this;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue(e){const{bounds:t}=this;let n=e.map((r,i)=>Fv({value:r,handle:i,bounds:t,props:this.$props}));if(t.length===n.length){if(n.every((r,i)=>r===t[i]))return null}else n=e.map((r,i)=>Fv({value:r,handle:i,props:this.$props}));if(this.setState({bounds:n}),e.some(r=>XQ(r,this.$props))){const r=e.map(i=>C3(i,this.$props));this.$emit("change",r)}},onChange(e){if(!Il(this,"value"))this.setState(e);else{const i={};["sHandle","recent"].forEach(o=>{e[o]!==void 0&&(i[o]=e[o])}),Object.keys(i).length&&this.setState(i)}const r=_(_({},this.$data),e).bounds;this.$emit("change",r)},positionGetValue(e){const t=this.getValue(),n=this.calcValueByPos(e),r=this.getClosestBound(n),i=this.getBoundNeedMoving(n,r),o=t[i];if(n===o)return null;const a=[...t];return a[i]=n,a},onStart(e){const{bounds:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;const r=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,r),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});const i=t[this.prevMovedHandleIndex];if(n===i)return;const o=[...t];o[this.prevMovedHandleIndex]=n,this.onChange({bounds:o})},onEnd(e){const{sHandle:t}=this;this.removeDocumentEvents(),t||(this.dragTrack=!1),(t!==null||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove(e,t,n,r){Fh(e);const{$data:i,$props:o}=this,a=o.max||100,l=o.min||0;if(n){let f=o.vertical?-t:t;f=o.reverse?-f:f;const h=a-Math.max(...r),v=l-Math.min(...r),p=Math.min(Math.max(f/(this.getSliderLength()/100),v),h),g=r.map(m=>Math.floor(Math.max(Math.min(m+p,a),l)));i.bounds.map((m,y)=>m===g[y]).some(m=>!m)&&this.onChange({bounds:g});return}const{bounds:s,sHandle:u}=this,c=this.calcValueByPos(t),d=s[u];c!==d&&this.moveTo(c)},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,r=ZQ(e,n,t);if(r){Fh(e);const{bounds:i,sHandle:o}=this,a=i[o===null?this.recent:o],l=r(a,this.$props),s=Fv({value:l,handle:o,bounds:i,props:this.$props});if(s===a)return;const u=!0;this.moveTo(s,u)}},getClosestBound(e){const{bounds:t}=this;let n=0;for(let r=1;r=t[r]&&(n=r);return Math.abs(t[n+1]-e)l-s),this.internalPointsCache={marks:e,step:t,points:a}}return this.internalPointsCache.points},moveTo(e,t){const n=[...this.bounds],{sHandle:r,recent:i}=this,o=r===null?i:r;n[o]=e;let a=o;this.$props.pushable!==!1?this.pushSurroundingHandles(n,a):this.$props.allowCross&&(n.sort((l,s)=>l-s),a=n.indexOf(e)),this.onChange({recent:a,sHandle:a,bounds:n}),t&&(this.$emit("afterChange",n),this.setState({},()=>{this.handlesRefs[a].focus()}),this.onEnd())},pushSurroundingHandles(e,t){const n=e[t],{pushable:r}=this,i=Number(r);let o=0;if(e[t+1]-n=r.length||o<0)return!1;const a=t+n,l=r[o],{pushable:s}=this,u=Number(s),c=n*(e[a]-l);return this.pushHandle(e,a,n,u-c)?(e[t]=l,!0):!1},trimAlignValue(e){const{sHandle:t,bounds:n}=this;return Fv({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict(e,t,n){let{allowCross:r,pushable:i}=n;const o=this.$data||{},{bounds:a}=o;if(e=e===void 0?o.sHandle:e,i=Number(i),!r&&e!=null&&a!==void 0){if(e>0&&t<=a[e-1]+i)return a[e-1]+i;if(e=a[e+1]-i)return a[e+1]-i}return t},getTrack(e){let{bounds:t,prefixCls:n,reverse:r,vertical:i,included:o,offsets:a,trackStyle:l}=e;return t.slice(0,-1).map((s,u)=>{const c=u+1,d=ce({[`${n}-track`]:!0,[`${n}-track-${c}`]:!0});return w(jQ,{class:d,vertical:i,reverse:r,included:o,offset:a[c-1],length:a[c]-a[c-1],style:l[u],key:c},null)})},renderSlider(){const{sHandle:e,bounds:t,prefixCls:n,vertical:r,included:i,disabled:o,min:a,max:l,reverse:s,handle:u,defaultHandle:c,trackStyle:d,handleStyle:f,tabindex:h,ariaLabelGroupForHandles:v,ariaLabelledByGroupForHandles:p,ariaValueTextFormatterGroupForHandles:g}=this,m=u||c,y=t.map(x=>this.calcOffset(x)),b=`${n}-handle`,S=t.map((x,$)=>{let C=h[$]||0;(o||h[$]===null)&&(C=null);const T=e===$;return m({class:ce({[b]:!0,[`${b}-${$+1}`]:!0,[`${b}-dragging`]:T}),prefixCls:n,vertical:r,dragging:T,offset:y[$],value:x,index:$,tabindex:C,min:a,max:l,reverse:s,disabled:o,style:f[$],ref:I=>this.saveHandle($,I),onFocus:this.onFocus,onBlur:this.onBlur,ariaLabel:v[$],ariaLabelledBy:p[$],ariaValueTextFormatter:g[$]})});return{tracks:this.getTrack({bounds:t,prefixCls:n,reverse:s,vertical:r,included:i,offsets:y,trackStyle:d}),handles:S}}}}),E8e=QQ(D8e),R8e=se({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:lY(),setup(e,t){let{attrs:n,slots:r}=t;const i=ue(null),o=ue(null);function a(){dt.cancel(o.value),o.value=null}function l(){o.value=dt(()=>{var u;(u=i.value)===null||u===void 0||u.forcePopupAlign(),o.value=null})}const s=()=>{a(),e.open&&l()};return Se([()=>e.open,()=>e.title],()=>{s()},{flush:"post",immediate:!0}),zx(()=>{s()}),ht(()=>{a()}),()=>w(Pi,z(z({ref:i},e),n),r)}}),L8e=e=>{const{componentCls:t,controlSize:n,dotSize:r,marginFull:i,marginPart:o,colorFillContentHover:a}=e;return{[t]:_(_({},st(e)),{position:"relative",height:n,margin:`${o}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${o}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:a},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` + a ${a},${a} 0 1 1 ${-u},${c}`,f=Math.PI*2*a,h={stroke:n,strokeDasharray:`${t/100*(f-i)}px ${f}px`,strokeDashoffset:`-${i/2+e/100*(f-i)}px`,transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s"};return{pathString:d,pathStyle:h}}const T6e=se({compatConfig:{MODE:3},name:"VCCircle",props:ft($6e,w6e),setup(e){nB+=1;const t=ue(nB),n=L(()=>iB(e.percent)),r=L(()=>iB(e.strokeColor)),[i,o]=xE();C6e(o);const a=()=>{const{prefixCls:l,strokeWidth:s,strokeLinecap:u,gapDegree:c,gapPosition:d}=e;let f=0;return n.value.map((h,v)=>{const p=r.value[v]||r.value[r.value.length-1],g=Object.prototype.toString.call(p)==="[object Object]"?`url(#${l}-gradient-${t.value})`:"",{pathString:m,pathStyle:y}=oB(f,h,p,s,c,d);f+=h;const b={key:v,d:m,stroke:g,"stroke-linecap":u,"stroke-width":s,opacity:h===0?0:1,"fill-opacity":"0",class:`${l}-circle-path`,style:y};return w("path",z({ref:i(v)},b),null)})};return()=>{const{prefixCls:l,strokeWidth:s,trailWidth:u,gapDegree:c,gapPosition:d,trailColor:f,strokeLinecap:h,strokeColor:v}=e,p=_6e(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","strokeColor"]),{pathString:g,pathStyle:m}=oB(0,100,f,s,c,d);delete p.percent;const y=r.value.find(S=>Object.prototype.toString.call(S)==="[object Object]"),b={d:g,stroke:f,"stroke-linecap":h,"stroke-width":u||s,"fill-opacity":"0",class:`${l}-circle-trail`,style:m};return w("svg",z({class:`${l}-circle`,viewBox:"0 0 100 100"},p),[y&&w("defs",null,[w("linearGradient",{id:`${l}-gradient-${t.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[Object.keys(y).sort((S,x)=>rB(S)-rB(x)).map((S,x)=>w("stop",{key:x,offset:S,"stop-color":y[S]},null))])]),w("path",b,null),a().reverse()])}}}),I6e=()=>_(_({},Jw()),{strokeColor:tn()}),P6e=3,M6e=e=>P6e/e*100,A6e=se({compatConfig:{MODE:3},name:"ProgressCircle",inheritAttrs:!1,props:ft(I6e(),{trailColor:null}),setup(e,t){let{slots:n,attrs:r}=t;const i=L(()=>{var p;return(p=e.width)!==null&&p!==void 0?p:120}),o=L(()=>{var p;return(p=e.size)!==null&&p!==void 0?p:[i.value,i.value]}),a=L(()=>eC(o.value,"circle")),l=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),s=L(()=>({width:`${a.value.width}px`,height:`${a.value.height}px`,fontSize:`${a.value.width*.15+6}px`})),u=L(()=>{var p;return(p=e.strokeWidth)!==null&&p!==void 0?p:Math.max(M6e(a.value.width),6)}),c=L(()=>e.gapPosition||e.type==="dashboard"&&"bottom"||void 0),d=L(()=>p6e(e)),f=L(()=>Object.prototype.toString.call(e.strokeColor)==="[object Object]"),h=L(()=>g6e({success:e.success,strokeColor:e.strokeColor})),v=L(()=>({[`${e.prefixCls}-inner`]:!0,[`${e.prefixCls}-circle-gradient`]:f.value}));return()=>{var p;const g=w(T6e,{percent:d.value,strokeWidth:u.value,trailWidth:u.value,strokeColor:h.value,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,prefixCls:e.prefixCls,gapDegree:l.value,gapPosition:c.value},null);return w("div",z(z({},r),{},{class:[v.value,r.class],style:[r.style,s.value]}),[a.value.width<=20?w(Mi,null,{default:()=>[w("span",null,[g])],title:n.default}):w(Qe,null,[g,(p=n.default)===null||p===void 0?void 0:p.call(n)])])}}}),O6e=()=>_(_({},Jw()),{steps:Number,strokeColor:Xe(),trailColor:String}),D6e=se({compatConfig:{MODE:3},name:"Steps",props:O6e(),setup(e,t){let{slots:n}=t;const r=L(()=>Math.round(e.steps*((e.percent||0)/100))),i=L(()=>{var l;return(l=e.size)!==null&&l!==void 0?l:[e.size==="small"?2:14,e.strokeWidth||8]}),o=L(()=>eC(i.value,"step",{steps:e.steps,strokeWidth:e.strokeWidth||8})),a=L(()=>{const{steps:l,strokeColor:s,trailColor:u,prefixCls:c}=e,d=[];for(let f=0;f{var l;return w("div",{class:`${e.prefixCls}-steps-outer`},[a.value,(l=n.default)===null||l===void 0?void 0:l.call(n)])}}}),E6e=new xt("antProgressActive",{"0%":{transform:"translateX(-100%) scaleX(0)",opacity:.1},"20%":{transform:"translateX(-100%) scaleX(0)",opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}}),R6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:_(_({},st(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.progressRemainingColor,borderRadius:e.progressLineRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorInfo}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.colorInfo,borderRadius:e.progressLineRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.progressLineRadius,opacity:0,animationName:E6e,animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},L6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.progressRemainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},N6e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.progressRemainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.colorInfo}}}}}},k6e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},B6e=it("Progress",e=>{const t=e.marginXXS/2,n=Ue(e,{progressLineRadius:100,progressInfoTextColor:e.colorText,progressDefaultColor:e.colorInfo,progressRemainingColor:e.colorFillSecondary,progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[R6e(n),L6e(n),N6e(n),k6e(n)]});var F6e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iArray.isArray(e.strokeColor)?e.strokeColor[0]:e.strokeColor),u=L(()=>{const{percent:v=0}=e,p=DS(e);return parseInt(p!==void 0?p.toString():v.toString(),10)}),c=L(()=>{const{status:v}=e;return!v6e.includes(v)&&u.value>=100?"success":v||"normal"}),d=L(()=>{const{type:v,showInfo:p,size:g}=e,m=i.value;return{[m]:!0,[`${m}-inline-circle`]:v==="circle"&&eC(g,"circle").width<=20,[`${m}-${v==="dashboard"&&"circle"||v}`]:!0,[`${m}-status-${c.value}`]:!0,[`${m}-show-info`]:p,[`${m}-${g}`]:g,[`${m}-rtl`]:o.value==="rtl",[l.value]:!0}}),f=L(()=>typeof e.strokeColor=="string"||Array.isArray(e.strokeColor)?e.strokeColor:void 0),h=()=>{const{showInfo:v,format:p,type:g,percent:m,title:y}=e,b=DS(e);if(!v)return null;let S;const x=p||(n==null?void 0:n.format)||(C=>`${C}%`),$=g==="line";return p||n!=null&&n.format||c.value!=="exception"&&c.value!=="success"?S=x(Jc(m),Jc(b)):c.value==="exception"?S=w($?Li:Ri,null,null):c.value==="success"&&(S=w($?ls:Sw,null,null)),w("span",{class:`${i.value}-text`,title:y===void 0&&typeof S=="string"?S:void 0},[S])};return()=>{const{type:v,steps:p,title:g}=e,{class:m}=r,y=F6e(r,["class"]),b=h();let S;return v==="line"?S=p?w(D6e,z(z({},e),{},{strokeColor:f.value,prefixCls:i.value,steps:p}),{default:()=>[b]}):w(x6e,z(z({},e),{},{strokeColor:s.value,prefixCls:i.value,direction:o.value}),{default:()=>[b]}):(v==="circle"||v==="dashboard")&&(S=w(A6e,z(z({},e),{},{prefixCls:i.value,strokeColor:s.value,progressStatus:c.value}),{default:()=>[b]})),a(w("div",z(z({role:"progressbar"},y),{},{class:[d.value,m],title:g}),[S]))}}}),S3=gn(z6e);function H6e(e){let t=e.scrollX;const n="scrollLeft";if(typeof t!="number"){const r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function V6e(e){let t,n;const r=e.ownerDocument,{body:i}=r,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function W6e(e){const t=V6e(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=H6e(r),t.left}var j6e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};const G6e=j6e;function aB(e){for(var t=1;t{const{index:s}=e;n("hover",l,s)},i=l=>{const{index:s}=e;n("click",l,s)},o=l=>{const{index:s}=e;l.keyCode===13&&n("click",l,s)},a=L(()=>{const{prefixCls:l,index:s,value:u,allowHalf:c,focused:d}=e,f=s+1;let h=l;return u===0&&s===0&&d?h+=` ${l}-focused`:c&&u+.5>=f&&u{const{disabled:l,prefixCls:s,characterRender:u,character:c,index:d,count:f,value:h}=e,v=typeof c=="function"?c({disabled:l,prefixCls:s,index:d,count:f,value:h}):c;let p=w("li",{class:a.value},[w("div",{onClick:l?null:i,onKeydown:l?null:o,onMousemove:l?null:r,role:"radio","aria-checked":h>d?"true":"false","aria-posinset":d+1,"aria-setsize":f,tabindex:l?-1:0},[w("div",{class:`${s}-first`},[v]),w("div",{class:`${s}-second`},[v])])]);return u&&(p=u(p,e)),p}}}),q6e=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.rateStarHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.rateStarColor}`,transform:e.rateStarHoverScale}},"&-first, &-second":{color:e.defaultColor,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},Z6e=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),Q6e=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_({},st(e)),{display:"inline-block",margin:0,padding:0,color:e.rateStarColor,fontSize:e.rateStarSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","&:hover":{transform:"scale(1)"}}}),q6e(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),Z6e(e))}},J6e=it("Rate",e=>{const{colorFillContent:t}=e,n=Ue(e,{rateStarColor:e["yellow-6"],rateStarSize:e.controlHeightLG*.5,rateStarHoverScale:"scale(1.1)",defaultColor:t});return[Q6e(n)]}),e8e=()=>({prefixCls:String,count:Number,value:Number,allowHalf:{type:Boolean,default:void 0},allowClear:{type:Boolean,default:void 0},tooltips:Array,disabled:{type:Boolean,default:void 0},character:U.any,autofocus:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),direction:String,id:String,onChange:Function,onHoverChange:Function,"onUpdate:value":Function,onFocus:Function,onBlur:Function,onKeydown:Function}),t8e=se({compatConfig:{MODE:3},name:"ARate",inheritAttrs:!1,props:ft(e8e(),{value:0,count:5,allowHalf:!1,allowClear:!0,tabindex:0,direction:"ltr"}),setup(e,t){let{slots:n,attrs:r,emit:i,expose:o}=t;const{prefixCls:a,direction:l}=Ee("rate",e),[s,u]=J6e(a),c=Xn(),d=ue(),[f,h]=xE(),v=Bt({value:e.value,focused:!1,cleanedValue:null,hoverValue:void 0});Se(()=>e.value,()=>{v.value=e.value});const p=M=>ci(h.value.get(M)),g=(M,O)=>{const D=l.value==="rtl";let R=M+1;if(e.allowHalf){const A=p(M),E=W6e(A),k=A.clientWidth;(D&&O-E>k/2||!D&&O-E{e.value===void 0&&(v.value=M),i("update:value",M),i("change",M),c.onFieldChange()},y=(M,O)=>{const D=g(O,M.pageX);D!==v.cleanedValue&&(v.hoverValue=D,v.cleanedValue=null),i("hoverChange",D)},b=()=>{v.hoverValue=void 0,v.cleanedValue=null,i("hoverChange",void 0)},S=(M,O)=>{const{allowClear:D}=e,R=g(O,M.pageX);let A=!1;D&&(A=R===v.value),b(),m(A?0:R),v.cleanedValue=A?R:null},x=M=>{v.focused=!0,i("focus",M)},$=M=>{v.focused=!1,i("blur",M),c.onFieldBlur()},C=M=>{const{keyCode:O}=M,{count:D,allowHalf:R}=e,A=l.value==="rtl";O===Pe.RIGHT&&v.value0&&!A||O===Pe.RIGHT&&v.value>0&&A?(R?v.value-=.5:v.value-=1,m(v.value),M.preventDefault()):O===Pe.LEFT&&v.value{e.disabled||d.value.focus()};o({focus:T,blur:()=>{e.disabled||d.value.blur()}}),tt(()=>{const{autofocus:M,disabled:O}=e;M&&!O&&T()});const P=(M,O)=>{let{index:D}=O;const{tooltips:R}=e;return R?w(Mi,{title:R[D]},{default:()=>[M]}):M};return()=>{const{count:M,allowHalf:O,disabled:D,tabindex:R,id:A=c.id.value}=e,{class:E,style:k}=r,N=[],B=D?`${a.value}-disabled`:"",F=e.character||n.character||(()=>w(U6e,null,null));for(let V=0;Vw("svg",{width:"252",height:"294"},[w("defs",null,[w("path",{d:"M0 .387h251.772v251.772H0z"},null)]),w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(0 .012)"},[w("mask",{fill:"#fff"},null),w("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"},null)]),w("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"},null),w("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"},null),w("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"},null),w("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"},null),w("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF","stroke-width":"2"},null),w("path",{stroke:"#FFF","stroke-width":"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"},null),w("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"},null),w("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"},null),w("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"},null),w("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"},null),w("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"},null),w("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"},null),w("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"},null),w("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"},null),w("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"},null),w("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"},null),w("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"},null),w("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"},null),w("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"},null),w("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"},null),w("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"},null),w("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"},null),w("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"},null),w("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"},null),w("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"},null),w("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"},null),w("path",{stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"},null),w("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E","stroke-width":"1.118","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"},null),w("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"},null),w("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"},null),w("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"},null),w("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"},null),w("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"},null),w("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"},null),w("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"},null),w("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"},null),w("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"},null),w("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"},null),w("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7","stroke-width":"1.101","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),s8e=l8e,u8e=()=>w("svg",{width:"254",height:"294"},[w("defs",null,[w("path",{d:"M0 .335h253.49v253.49H0z"},null),w("path",{d:"M0 293.665h253.49V.401H0z"},null)]),w("g",{fill:"none","fill-rule":"evenodd"},[w("g",{transform:"translate(0 .067)"},[w("mask",{fill:"#fff"},null),w("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"},null)]),w("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"},null),w("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"},null),w("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"},null),w("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"},null),w("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"},null),w("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"},null),w("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"},null),w("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"},null),w("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"},null),w("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"},null),w("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"},null),w("path",{stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"},null),w("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552","stroke-width":"1.117","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E","stroke-width":"1.063","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7","stroke-width":"1.136","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"},null),w("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"},null),w("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"},null),w("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"},null),w("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"},null),w("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"},null),w("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"},null),w("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"},null),w("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"},null),w("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"},null),w("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"},null),w("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"},null),w("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8","stroke-width":"1.032","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"},null),w("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"},null),w("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"},null),w("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"},null),w("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"},null),w("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7","stroke-width":"1.085","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788","stroke-width":".774","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"},null),w("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"},null),w("mask",{fill:"#fff"},null),w("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"},null),w("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),w("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),w("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"},null),w("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"},null),w("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6","stroke-width":"1.124","stroke-linecap":"round","stroke-linejoin":"round",mask:"url(#d)"},null),w("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"},null),w("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"},null),w("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"},null)])]),c8e=u8e,d8e=()=>w("svg",{width:"251",height:"294"},[w("g",{fill:"none","fill-rule":"evenodd"},[w("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"},null),w("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"},null),w("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"},null),w("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"},null),w("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF","stroke-width":"2"},null),w("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"},null),w("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF","stroke-width":"2"},null),w("path",{stroke:"#FFF","stroke-width":"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"},null),w("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"},null),w("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"},null),w("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"},null),w("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"},null),w("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"},null),w("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"},null),w("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"},null),w("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"},null),w("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"},null),w("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"},null),w("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"},null),w("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7","stroke-width":".932","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"},null),w("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"},null),w("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"},null),w("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"},null),w("path",{stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"},null),w("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"},null),w("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"},null),w("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552","stroke-width":"1.526","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E","stroke-width":"1.145","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7","stroke-width":"1.114","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E","stroke-width":".795","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"},null),w("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E","stroke-width":".75","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"},null),w("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"},null),w("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"},null),w("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"},null),w("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"},null),w("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"},null),w("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"},null),w("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null),w("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"},null),w("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"},null),w("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"},null),w("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8","stroke-width":"1.051","stroke-linecap":"round","stroke-linejoin":"round"},null)])]),f8e=d8e,h8e=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:o,paddingXS:a,paddingLG:l,marginXS:s,lineHeight:u}=e;return{[t]:{padding:`${l*2}px ${o}px`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:l,textAlign:"center",[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:s,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:u,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:l,padding:`${l}px ${i*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},v8e=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},p8e=e=>[h8e(e),v8e(e)],g8e=e=>p8e(e),m8e=it("Result",e=>{const{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,i=`${t}px 0 0 0`,o=e.colorInfo,a=e.colorError,l=e.colorSuccess,s=e.colorWarning,u=Ue(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:o,resultErrorIconColor:a,resultSuccessIconColor:l,resultWarningIconColor:s});return[g8e(u)]},{imageWidth:250,imageHeight:295}),y8e={success:ls,error:Li,info:ss,warning:a8e},ey={404:s8e,500:c8e,403:f8e},b8e=Object.keys(ey),S8e=()=>({prefixCls:String,icon:U.any,status:{type:[Number,String],default:"info"},title:U.any,subTitle:U.any,extra:U.any}),x8e=(e,t)=>{let{status:n,icon:r}=t;if(b8e.includes(`${n}`)){const a=ey[n];return w("div",{class:`${e}-icon ${e}-image`},[w(a,null,null)])}const i=y8e[n],o=r||w(i,null,null);return w("div",{class:`${e}-icon`},[o])},w8e=(e,t)=>t&&w("div",{class:`${e}-extra`},[t]),ed=se({compatConfig:{MODE:3},name:"AResult",inheritAttrs:!1,props:S8e(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("result",e),[a,l]=m8e(i),s=L(()=>ce(i.value,l.value,`${i.value}-${e.status}`,{[`${i.value}-rtl`]:o.value==="rtl"}));return()=>{var u,c,d,f,h,v,p,g;const m=(u=e.title)!==null&&u!==void 0?u:(c=n.title)===null||c===void 0?void 0:c.call(n),y=(d=e.subTitle)!==null&&d!==void 0?d:(f=n.subTitle)===null||f===void 0?void 0:f.call(n),b=(h=e.icon)!==null&&h!==void 0?h:(v=n.icon)===null||v===void 0?void 0:v.call(n),S=(p=e.extra)!==null&&p!==void 0?p:(g=n.extra)===null||g===void 0?void 0:g.call(n),x=i.value;return a(w("div",z(z({},r),{},{class:[s.value,r.class]}),[x8e(x,{status:e.status,icon:b}),w("div",{class:`${x}-title`},[m]),y&&w("div",{class:`${x}-subtitle`},[y]),w8e(x,S),n.default&&w("div",{class:`${x}-content`},[n.default()])]))}}});ed.PRESENTED_IMAGE_403=ey[403];ed.PRESENTED_IMAGE_404=ey[404];ed.PRESENTED_IMAGE_500=ey[500];ed.install=function(e){return e.component(ed.name,ed),e};const C8e=ed,$8e=gn(RE),WQ=(e,t)=>{let{attrs:n}=t;const{included:r,vertical:i,style:o,class:a}=n;let{length:l,offset:s,reverse:u}=n;l<0&&(u=!u,l=Math.abs(l),s=100-s);const c=i?{[u?"top":"bottom"]:`${s}%`,[u?"bottom":"top"]:"auto",height:`${l}%`}:{[u?"right":"left"]:`${s}%`,[u?"left":"right"]:"auto",width:`${l}%`},d=_(_({},o),c);return r?w("div",{class:a,style:d},null):null};WQ.inheritAttrs=!1;const jQ=WQ,_8e=(e,t,n,r,i,o)=>{vn();const a=Object.keys(t).map(parseFloat).sort((l,s)=>l-s);if(n&&r)for(let l=i;l<=o;l+=r)a.indexOf(l)===-1&&a.push(l);return a},GQ=(e,t)=>{let{attrs:n}=t;const{prefixCls:r,vertical:i,reverse:o,marks:a,dots:l,step:s,included:u,lowerBound:c,upperBound:d,max:f,min:h,dotStyle:v,activeDotStyle:p}=n,g=f-h,m=_8e(i,a,l,s,h,f).map(y=>{const b=`${Math.abs(y-h)/g*100}%`,S=!u&&y===d||u&&y<=d&&y>=c;let x=i?_(_({},v),{[o?"top":"bottom"]:b}):_(_({},v),{[o?"right":"left"]:b});S&&(x=_(_({},x),p));const $=ce({[`${r}-dot`]:!0,[`${r}-dot-active`]:S,[`${r}-dot-reverse`]:o});return w("span",{class:$,style:x,key:y},null)});return w("div",{class:`${r}-step`},[m])};GQ.inheritAttrs=!1;const T8e=GQ,KQ=(e,t)=>{let{attrs:n,slots:r}=t;const{class:i,vertical:o,reverse:a,marks:l,included:s,upperBound:u,lowerBound:c,max:d,min:f,onClickLabel:h}=n,v=Object.keys(l),p=r.mark,g=d-f,m=v.map(parseFloat).sort((y,b)=>y-b).map(y=>{const b=typeof l[y]=="function"?l[y]():l[y],S=typeof b=="object"&&!zn(b);let x=S?b.label:b;if(!x&&x!==0)return null;p&&(x=p({point:y,label:x}));const $=!s&&y===u||s&&y<=u&&y>=c,C=ce({[`${i}-text`]:!0,[`${i}-text-active`]:$}),T={marginBottom:"-50%",[a?"top":"bottom"]:`${(y-f)/g*100}%`},I={transform:`translateX(${a?"50%":"-50%"})`,msTransform:`translateX(${a?"50%":"-50%"})`,[a?"right":"left"]:`${(y-f)/g*100}%`},P=o?T:I,M=S?_(_({},P),b.style):P,O={[tr?"onTouchstartPassive":"onTouchstart"]:D=>h(D,y)};return w("span",z({class:C,style:M,key:y,onMousedown:D=>h(D,y)},O),[x])});return w("div",{class:i},[m])};KQ.inheritAttrs=!1;const I8e=KQ,UQ=se({compatConfig:{MODE:3},name:"Handle",inheritAttrs:!1,props:{prefixCls:String,vertical:{type:Boolean,default:void 0},offset:Number,disabled:{type:Boolean,default:void 0},min:Number,max:Number,value:Number,tabindex:U.oneOfType([U.number,U.string]),reverse:{type:Boolean,default:void 0},ariaLabel:String,ariaLabelledBy:String,ariaValueTextFormatter:Function,onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function}},setup(e,t){let{attrs:n,emit:r,expose:i}=t;const o=ae(!1),a=ae(),l=()=>{document.activeElement===a.value&&(o.value=!0)},s=g=>{o.value=!1,r("blur",g)},u=()=>{o.value=!1},c=()=>{var g;(g=a.value)===null||g===void 0||g.focus()},d=()=>{var g;(g=a.value)===null||g===void 0||g.blur()},f=()=>{o.value=!0,c()},h=g=>{g.preventDefault(),c(),r("mousedown",g)};i({focus:c,blur:d,clickFocus:f,ref:a});let v=null;tt(()=>{v=bn(document,"mouseup",l)}),ht(()=>{v==null||v.remove()});const p=L(()=>{const{vertical:g,offset:m,reverse:y}=e;return g?{[y?"top":"bottom"]:`${m}%`,[y?"bottom":"top"]:"auto",transform:y?null:"translateY(+50%)"}:{[y?"right":"left"]:`${m}%`,[y?"left":"right"]:"auto",transform:`translateX(${y?"+":"-"}50%)`}});return()=>{const{prefixCls:g,disabled:m,min:y,max:b,value:S,tabindex:x,ariaLabel:$,ariaLabelledBy:C,ariaValueTextFormatter:T,onMouseenter:I,onMouseleave:P}=e,M=ce(n.class,{[`${g}-handle-click-focused`]:o.value}),O={"aria-valuemin":y,"aria-valuemax":b,"aria-valuenow":S,"aria-disabled":!!m},D=[n.style,p.value];let R=x||0;(m||x===null)&&(R=null);let A;T&&(A=T(S));const E=_(_(_(_({},n),{role:"slider",tabindex:R}),O),{class:M,onBlur:s,onKeydown:u,onMousedown:h,onMouseenter:I,onMouseleave:P,ref:a,style:D});return w("div",z(z({},E),{},{"aria-label":$,"aria-labelledby":C,"aria-valuetext":A}),null)}}});function x_(e,t){try{return Object.keys(t).some(n=>e.target===t[n].ref)}catch(n){return!1}}function XQ(e,t){let{min:n,max:r}=t;return er}function sB(e){return e.touches.length>1||e.type.toLowerCase()==="touchend"&&e.touches.length>0}function uB(e,t){let{marks:n,step:r,min:i,max:o}=t;const a=Object.keys(n).map(parseFloat);if(r!==null){const s=Math.pow(10,YQ(r)),u=Math.floor((o*s-i*s)/(r*s)),c=Math.min((e-i)/r,u),d=Math.round(c)*r+i;a.push(d)}const l=a.map(s=>Math.abs(e-s));return a[l.indexOf(Math.min(...l))]}function YQ(e){const t=e.toString();let n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function cB(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.clientY:t.pageX)/n}function dB(e,t){let n=1;return window.visualViewport&&(n=+(window.visualViewport.width/document.body.getBoundingClientRect().width).toFixed(2)),(e?t.touches[0].clientY:t.touches[0].pageX)/n}function fB(e,t){const n=t.getBoundingClientRect();return e?n.top+n.height*.5:window.scrollX+n.left+n.width*.5}function C3(e,t){let{max:n,min:r}=t;return e<=r?r:e>=n?n:e}function qQ(e,t){const{step:n}=t,r=isFinite(uB(e,t))?uB(e,t):0;return n===null?r:parseFloat(r.toFixed(YQ(n)))}function zh(e){e.stopPropagation(),e.preventDefault()}function P8e(e,t,n){const r={increase:(a,l)=>a+l,decrease:(a,l)=>a-l},i=r[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(n.marks)[i];return n.step?r[e](t,n.step):Object.keys(n.marks).length&&n.marks[o]?n.marks[o]:t}function ZQ(e,t,n){const r="increase",i="decrease";let o=r;switch(e.keyCode){case Pe.UP:o=t&&n?i:r;break;case Pe.RIGHT:o=!t&&n?i:r;break;case Pe.DOWN:o=t&&n?r:i;break;case Pe.LEFT:o=!t&&n?r:i;break;case Pe.END:return(a,l)=>l.max;case Pe.HOME:return(a,l)=>l.min;case Pe.PAGE_UP:return(a,l)=>a+l.step*2;case Pe.PAGE_DOWN:return(a,l)=>a-l.step*2;default:return}return(a,l)=>P8e(o,a,l)}var M8e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.document=this.sliderRef&&this.sliderRef.ownerDocument;const{autofocus:n,disabled:r}=this;n&&!r&&this.focus()})},beforeUnmount(){this.$nextTick(()=>{this.removeDocumentEvents()})},methods:{defaultHandle(n){var{index:r,directives:i,className:o,style:a}=n,l=M8e(n,["index","directives","className","style"]);if(delete l.dragging,l.value===null)return null;const s=_(_({},l),{class:o,style:a,key:r});return w(UQ,s,null)},onDown(n,r){let i=r;const{draggableTrack:o,vertical:a}=this.$props,{bounds:l}=this.$data,s=o&&this.positionGetValue?this.positionGetValue(i)||[]:[],u=x_(n,this.handlesRefs);if(this.dragTrack=o&&l.length>=2&&!u&&!s.map((c,d)=>{const f=d?!0:c>=l[d];return d===s.length-1?c<=l[d]:f}).some(c=>!c),this.dragTrack)this.dragOffset=i,this.startBounds=[...l];else{if(!u)this.dragOffset=0;else{const c=fB(a,n.target);this.dragOffset=i-c,i=c}this.onStart(i)}},onMouseDown(n){if(n.button!==0)return;this.removeDocumentEvents();const r=this.$props.vertical,i=cB(r,n);this.onDown(n,i),this.addDocumentMouseEvents()},onTouchStart(n){if(sB(n))return;const r=this.vertical,i=dB(r,n);this.onDown(n,i),this.addDocumentTouchEvents(),zh(n)},onFocus(n){const{vertical:r}=this;if(x_(n,this.handlesRefs)&&!this.dragTrack){const i=fB(r,n.target);this.dragOffset=0,this.onStart(i),zh(n),this.$emit("focus",n)}},onBlur(n){this.dragTrack||this.onEnd(),this.$emit("blur",n)},onMouseUp(){this.handlesRefs[this.prevMovedHandleIndex]&&this.handlesRefs[this.prevMovedHandleIndex].clickFocus()},onMouseMove(n){if(!this.sliderRef){this.onEnd();return}const r=cB(this.vertical,n);this.onMove(n,r-this.dragOffset,this.dragTrack,this.startBounds)},onTouchMove(n){if(sB(n)||!this.sliderRef){this.onEnd();return}const r=dB(this.vertical,n);this.onMove(n,r-this.dragOffset,this.dragTrack,this.startBounds)},onKeyDown(n){this.sliderRef&&x_(n,this.handlesRefs)&&this.onKeyboard(n)},onClickMarkLabel(n,r){n.stopPropagation(),this.onChange({sValue:r}),this.setState({sValue:r},()=>this.onEnd(!0))},getSliderStart(){const n=this.sliderRef,{vertical:r,reverse:i}=this,o=n.getBoundingClientRect();return r?i?o.bottom:o.top:window.scrollX+(i?o.right:o.left)},getSliderLength(){const n=this.sliderRef;if(!n)return 0;const r=n.getBoundingClientRect();return this.vertical?r.height:r.width},addDocumentTouchEvents(){this.onTouchMoveListener=bn(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=bn(this.document,"touchend",this.onEnd)},addDocumentMouseEvents(){this.onMouseMoveListener=bn(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=bn(this.document,"mouseup",this.onEnd)},removeDocumentEvents(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()},focus(){var n;this.$props.disabled||(n=this.handlesRefs[0])===null||n===void 0||n.focus()},blur(){this.$props.disabled||Object.keys(this.handlesRefs).forEach(n=>{var r,i;(i=(r=this.handlesRefs[n])===null||r===void 0?void 0:r.blur)===null||i===void 0||i.call(r)})},calcValue(n){const{vertical:r,min:i,max:o}=this,a=Math.abs(Math.max(n,0)/this.getSliderLength());return r?(1-a)*(o-i)+i:a*(o-i)+i},calcValueByPos(n){const i=(this.reverse?-1:1)*(n-this.getSliderStart());return this.trimAlignValue(this.calcValue(i))},calcOffset(n){const{min:r,max:i}=this,o=(n-r)/(i-r);return Math.max(0,o*100)},saveSlider(n){this.sliderRef=n},saveHandle(n,r){this.handlesRefs[n]=r}},render(){const{prefixCls:n,marks:r,dots:i,step:o,included:a,disabled:l,vertical:s,reverse:u,min:c,max:d,maximumTrackStyle:f,railStyle:h,dotStyle:v,activeDotStyle:p,id:g}=this,{class:m,style:y}=this.$attrs,{tracks:b,handles:S}=this.renderSlider(),x=ce(n,m,{[`${n}-with-marks`]:Object.keys(r).length,[`${n}-disabled`]:l,[`${n}-vertical`]:s,[`${n}-horizontal`]:!s}),$={vertical:s,marks:r,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,reverse:u,class:`${n}-mark`,onClickLabel:l?ju:this.onClickMarkLabel},C={[tr?"onTouchstartPassive":"onTouchstart"]:l?ju:this.onTouchStart};return w("div",z(z({id:g,ref:this.saveSlider,tabindex:"-1",class:x},C),{},{onMousedown:l?ju:this.onMouseDown,onMouseup:l?ju:this.onMouseUp,onKeydown:l?ju:this.onKeyDown,onFocus:l?ju:this.onFocus,onBlur:l?ju:this.onBlur,style:y}),[w("div",{class:`${n}-rail`,style:_(_({},f),h)},null),b,w(T8e,{prefixCls:n,vertical:s,reverse:u,marks:r,dots:i,step:o,included:a,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:d,min:c,dotStyle:v,activeDotStyle:p},null),S,w(I8e,$,{mark:this.$slots.mark}),qx(this)])}})}const A8e=se({compatConfig:{MODE:3},name:"Slider",mixins:[Ld],inheritAttrs:!1,props:{defaultValue:Number,value:Number,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},tabindex:U.oneOfType([U.number,U.string]),reverse:{type:Boolean,default:void 0},min:Number,max:Number,ariaLabelForHandle:String,ariaLabelledByForHandle:String,ariaValueTextFormatterForHandle:String,startPoint:Number},emits:["beforeChange","afterChange","change"],data(){const e=this.defaultValue!==void 0?this.defaultValue:this.min,t=this.value!==void 0?this.value:e;return{sValue:this.trimAlignValue(t),dragging:!1}},watch:{value:{handler(e){this.setChangeValue(e)},deep:!0},min(){const{sValue:e}=this;this.setChangeValue(e)},max(){const{sValue:e}=this;this.setChangeValue(e)}},methods:{setChangeValue(e){const t=e!==void 0?e:this.sValue,n=this.trimAlignValue(t,this.$props);n!==this.sValue&&(this.setState({sValue:n}),XQ(t,this.$props)&&this.$emit("change",n))},onChange(e){const t=!Pl(this,"value"),n=e.sValue>this.max?_(_({},e),{sValue:this.max}):e;t&&this.setState(n);const r=n.sValue;this.$emit("change",r)},onStart(e){this.setState({dragging:!0});const{sValue:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e,n!==t&&(this.prevMovedHandleIndex=0,this.onChange({sValue:n}))},onEnd(e){const{dragging:t}=this;this.removeDocumentEvents(),(t||e)&&this.$emit("afterChange",this.sValue),this.setState({dragging:!1})},onMove(e,t){zh(e);const{sValue:n}=this,r=this.calcValueByPos(t);r!==n&&this.onChange({sValue:r})},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,r=ZQ(e,n,t);if(r){zh(e);const{sValue:i}=this,o=r(i,this.$props),a=this.trimAlignValue(o);if(a===i)return;this.onChange({sValue:a}),this.$emit("afterChange",a),this.onEnd()}},getLowerBound(){const e=this.$props.startPoint||this.$props.min;return this.$data.sValue>e?e:this.$data.sValue},getUpperBound(){return this.$data.sValue1&&arguments[1]!==void 0?arguments[1]:{};if(e===null)return null;const n=_(_({},this.$props),t),r=C3(e,n);return qQ(r,n)},getTrack(e){let{prefixCls:t,reverse:n,vertical:r,included:i,minimumTrackStyle:o,mergedTrackStyle:a,length:l,offset:s}=e;return w(jQ,{class:`${t}-track`,vertical:r,included:i,offset:s,reverse:n,length:l,style:_(_({},o),a)},null)},renderSlider(){const{prefixCls:e,vertical:t,included:n,disabled:r,minimumTrackStyle:i,trackStyle:o,handleStyle:a,tabindex:l,ariaLabelForHandle:s,ariaLabelledByForHandle:u,ariaValueTextFormatterForHandle:c,min:d,max:f,startPoint:h,reverse:v,handle:p,defaultHandle:g}=this,m=p||g,{sValue:y,dragging:b}=this,S=this.calcOffset(y),x=m({class:`${e}-handle`,prefixCls:e,vertical:t,offset:S,value:y,dragging:b,disabled:r,min:d,max:f,reverse:v,index:0,tabindex:l,ariaLabel:s,ariaLabelledBy:u,ariaValueTextFormatter:c,style:a[0]||a,ref:T=>this.saveHandle(0,T),onFocus:this.onFocus,onBlur:this.onBlur}),$=h!==void 0?this.calcOffset(h):0,C=o[0]||o;return{tracks:this.getTrack({prefixCls:e,reverse:v,vertical:t,included:n,offset:$,minimumTrackStyle:i,mergedTrackStyle:C,length:S-$}),handles:x}}}}),O8e=QQ(A8e),zv=e=>{let{value:t,handle:n,bounds:r,props:i}=e;const{allowCross:o,pushable:a}=i,l=Number(a),s=C3(t,i);let u=s;return!o&&n!=null&&r!==void 0&&(n>0&&s<=r[n-1]+l&&(u=r[n-1]+l),n=r[n+1]-l&&(u=r[n+1]-l)),qQ(u,i)},D8e={defaultValue:U.arrayOf(U.number),value:U.arrayOf(U.number),count:Number,pushable:RU(U.oneOfType([U.looseBool,U.number])),allowCross:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},reverse:{type:Boolean,default:void 0},tabindex:U.arrayOf(U.number),prefixCls:String,min:Number,max:Number,autofocus:{type:Boolean,default:void 0},ariaLabelGroupForHandles:Array,ariaLabelledByGroupForHandles:Array,ariaValueTextFormatterGroupForHandles:Array,draggableTrack:{type:Boolean,default:void 0}},E8e=se({compatConfig:{MODE:3},name:"Range",mixins:[Ld],inheritAttrs:!1,props:ft(D8e,{count:1,allowCross:!0,pushable:!1,tabindex:[],draggableTrack:!1,ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]}),emits:["beforeChange","afterChange","change"],displayName:"Range",data(){const{count:e,min:t,max:n}=this,r=Array(...Array(e+1)).map(()=>t),i=Pl(this,"defaultValue")?this.defaultValue:r;let{value:o}=this;o===void 0&&(o=i);const a=o.map((s,u)=>zv({value:s,handle:u,props:this.$props}));return{sHandle:null,recent:a[0]===n?0:a.length-1,bounds:a}},watch:{value:{handler(e){const{bounds:t}=this;this.setChangeValue(e||t)},deep:!0},min(){const{value:e}=this;this.setChangeValue(e||this.bounds)},max(){const{value:e}=this;this.setChangeValue(e||this.bounds)}},methods:{setChangeValue(e){const{bounds:t}=this;let n=e.map((r,i)=>zv({value:r,handle:i,bounds:t,props:this.$props}));if(t.length===n.length){if(n.every((r,i)=>r===t[i]))return null}else n=e.map((r,i)=>zv({value:r,handle:i,props:this.$props}));if(this.setState({bounds:n}),e.some(r=>XQ(r,this.$props))){const r=e.map(i=>C3(i,this.$props));this.$emit("change",r)}},onChange(e){if(!Pl(this,"value"))this.setState(e);else{const i={};["sHandle","recent"].forEach(o=>{e[o]!==void 0&&(i[o]=e[o])}),Object.keys(i).length&&this.setState(i)}const r=_(_({},this.$data),e).bounds;this.$emit("change",r)},positionGetValue(e){const t=this.getValue(),n=this.calcValueByPos(e),r=this.getClosestBound(n),i=this.getBoundNeedMoving(n,r),o=t[i];if(n===o)return null;const a=[...t];return a[i]=n,a},onStart(e){const{bounds:t}=this;this.$emit("beforeChange",t);const n=this.calcValueByPos(e);this.startValue=n,this.startPosition=e;const r=this.getClosestBound(n);this.prevMovedHandleIndex=this.getBoundNeedMoving(n,r),this.setState({sHandle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex});const i=t[this.prevMovedHandleIndex];if(n===i)return;const o=[...t];o[this.prevMovedHandleIndex]=n,this.onChange({bounds:o})},onEnd(e){const{sHandle:t}=this;this.removeDocumentEvents(),t||(this.dragTrack=!1),(t!==null||e)&&this.$emit("afterChange",this.bounds),this.setState({sHandle:null})},onMove(e,t,n,r){zh(e);const{$data:i,$props:o}=this,a=o.max||100,l=o.min||0;if(n){let f=o.vertical?-t:t;f=o.reverse?-f:f;const h=a-Math.max(...r),v=l-Math.min(...r),p=Math.min(Math.max(f/(this.getSliderLength()/100),v),h),g=r.map(m=>Math.floor(Math.max(Math.min(m+p,a),l)));i.bounds.map((m,y)=>m===g[y]).some(m=>!m)&&this.onChange({bounds:g});return}const{bounds:s,sHandle:u}=this,c=this.calcValueByPos(t),d=s[u];c!==d&&this.moveTo(c)},onKeyboard(e){const{reverse:t,vertical:n}=this.$props,r=ZQ(e,n,t);if(r){zh(e);const{bounds:i,sHandle:o}=this,a=i[o===null?this.recent:o],l=r(a,this.$props),s=zv({value:l,handle:o,bounds:i,props:this.$props});if(s===a)return;const u=!0;this.moveTo(s,u)}},getClosestBound(e){const{bounds:t}=this;let n=0;for(let r=1;r=t[r]&&(n=r);return Math.abs(t[n+1]-e)l-s),this.internalPointsCache={marks:e,step:t,points:a}}return this.internalPointsCache.points},moveTo(e,t){const n=[...this.bounds],{sHandle:r,recent:i}=this,o=r===null?i:r;n[o]=e;let a=o;this.$props.pushable!==!1?this.pushSurroundingHandles(n,a):this.$props.allowCross&&(n.sort((l,s)=>l-s),a=n.indexOf(e)),this.onChange({recent:a,sHandle:a,bounds:n}),t&&(this.$emit("afterChange",n),this.setState({},()=>{this.handlesRefs[a].focus()}),this.onEnd())},pushSurroundingHandles(e,t){const n=e[t],{pushable:r}=this,i=Number(r);let o=0;if(e[t+1]-n=r.length||o<0)return!1;const a=t+n,l=r[o],{pushable:s}=this,u=Number(s),c=n*(e[a]-l);return this.pushHandle(e,a,n,u-c)?(e[t]=l,!0):!1},trimAlignValue(e){const{sHandle:t,bounds:n}=this;return zv({value:e,handle:t,bounds:n,props:this.$props})},ensureValueNotConflict(e,t,n){let{allowCross:r,pushable:i}=n;const o=this.$data||{},{bounds:a}=o;if(e=e===void 0?o.sHandle:e,i=Number(i),!r&&e!=null&&a!==void 0){if(e>0&&t<=a[e-1]+i)return a[e-1]+i;if(e=a[e+1]-i)return a[e+1]-i}return t},getTrack(e){let{bounds:t,prefixCls:n,reverse:r,vertical:i,included:o,offsets:a,trackStyle:l}=e;return t.slice(0,-1).map((s,u)=>{const c=u+1,d=ce({[`${n}-track`]:!0,[`${n}-track-${c}`]:!0});return w(jQ,{class:d,vertical:i,reverse:r,included:o,offset:a[c-1],length:a[c]-a[c-1],style:l[u],key:c},null)})},renderSlider(){const{sHandle:e,bounds:t,prefixCls:n,vertical:r,included:i,disabled:o,min:a,max:l,reverse:s,handle:u,defaultHandle:c,trackStyle:d,handleStyle:f,tabindex:h,ariaLabelGroupForHandles:v,ariaLabelledByGroupForHandles:p,ariaValueTextFormatterGroupForHandles:g}=this,m=u||c,y=t.map(x=>this.calcOffset(x)),b=`${n}-handle`,S=t.map((x,$)=>{let C=h[$]||0;(o||h[$]===null)&&(C=null);const T=e===$;return m({class:ce({[b]:!0,[`${b}-${$+1}`]:!0,[`${b}-dragging`]:T}),prefixCls:n,vertical:r,dragging:T,offset:y[$],value:x,index:$,tabindex:C,min:a,max:l,reverse:s,disabled:o,style:f[$],ref:I=>this.saveHandle($,I),onFocus:this.onFocus,onBlur:this.onBlur,ariaLabel:v[$],ariaLabelledBy:p[$],ariaValueTextFormatter:g[$]})});return{tracks:this.getTrack({bounds:t,prefixCls:n,reverse:s,vertical:r,included:i,offsets:y,trackStyle:d}),handles:S}}}}),R8e=QQ(E8e),L8e=se({compatConfig:{MODE:3},name:"SliderTooltip",inheritAttrs:!1,props:lY(),setup(e,t){let{attrs:n,slots:r}=t;const i=ue(null),o=ue(null);function a(){dt.cancel(o.value),o.value=null}function l(){o.value=dt(()=>{var u;(u=i.value)===null||u===void 0||u.forcePopupAlign(),o.value=null})}const s=()=>{a(),e.open&&l()};return Se([()=>e.open,()=>e.title],()=>{s()},{flush:"post",immediate:!0}),zx(()=>{s()}),ht(()=>{a()}),()=>w(Mi,z(z({ref:i},e),n),r)}}),N8e=e=>{const{componentCls:t,controlSize:n,dotSize:r,marginFull:i,marginPart:o,colorFillContentHover:a}=e;return{[t]:_(_({},st(e)),{position:"relative",height:n,margin:`${o}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${o}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.colorFillTertiary,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.colorPrimaryBorder,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.colorFillSecondary},[`${t}-track`]:{backgroundColor:e.colorPrimaryBorderHover},[`${t}-dot`]:{borderColor:a},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.colorPrimary}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+e.handleLineWidth*2,height:e.handleSize+e.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorder}`,borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${e.motionDurationMid}, inset-block-start ${e.motionDurationMid}, width ${e.motionDurationMid}, @@ -411,7 +411,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{backgroundColor:e.colorBgElevated,borderColor:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new zt(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString()}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:"not-allowed !important"}}})}},JQ=(e,t)=>{const{componentCls:n,railSize:r,handleSize:i,dotSize:o}=e,a=t?"paddingBlock":"paddingInline",l=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart";return{[a]:r,[s]:r*3,[`${n}-rail`]:{[l]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[u]:(r*3-i)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:i,[l]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[l]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[u]:(r-o)/2}}},N8e=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:_(_({},JQ(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},k8e=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:_(_({},JQ(e,!1)),{height:"100%"})}},B8e=it("Slider",e=>{const t=Ue(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[L8e(t),N8e(t),k8e(t)]},e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,i=e.lineWidth+1,o=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:i,handleLineWidthHover:o}});var hB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);itypeof e=="number"?e.toString():"",z8e=()=>({id:String,prefixCls:String,tooltipPrefixCls:String,range:Xe([Boolean,Object]),reverse:$e(),min:Number,max:Number,step:Xe([Object,Number]),marks:He(),dots:$e(),value:Xe([Array,Number]),defaultValue:Xe([Array,Number]),included:$e(),disabled:$e(),vertical:$e(),tipFormatter:Xe([Function,Object],()=>F8e),tooltipOpen:$e(),tooltipVisible:$e(),tooltipPlacement:je(),getTooltipPopupContainer:be(),autofocus:$e(),handleStyle:Xe([Array,Object]),trackStyle:Xe([Array,Object]),onChange:be(),onAfterChange:be(),onFocus:be(),onBlur:be(),"onUpdate:value":be()}),H8e=se({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:z8e(),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;const{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:u,configProvider:c}=Ee("slider",e),[d,f]=B8e(a),h=Xn(),v=ue(),p=ue({}),g=(C,T)=>{p.value[C]=T},m=L(()=>e.tooltipPlacement?e.tooltipPlacement:e.vertical?s.value==="rtl"?"left":"right":"top"),y=()=>{var C;(C=v.value)===null||C===void 0||C.focus()},b=()=>{var C;(C=v.value)===null||C===void 0||C.blur()},S=C=>{i("update:value",C),i("change",C),h.onFieldChange()},x=C=>{i("blur",C)};o({focus:y,blur:b});const $=C=>{var{tooltipPrefixCls:T}=C,I=C.info,{value:P,dragging:M,index:O}=I,D=hB(I,["value","dragging","index"]);const{tipFormatter:R,tooltipOpen:A=e.tooltipVisible,getTooltipPopupContainer:E}=e,k=R?p.value[O]||M:!1,N=A||A===void 0&&k;return w(R8e,{prefixCls:T,title:R?R(P):"",open:N,placement:m.value,transitionName:`${l.value}-zoom-down`,key:O,overlayClassName:`${a.value}-tooltip`,getPopupContainer:E||(u==null?void 0:u.value)},{default:()=>[w(UQ,z(z({},D),{},{value:P,onMouseenter:()=>g(O,!0),onMouseleave:()=>g(O,!1)}),null)]})};return()=>{const{tooltipPrefixCls:C,range:T,id:I=h.id.value}=e,P=hB(e,["tooltipPrefixCls","range","id"]),M=c.getPrefixCls("tooltip",C),O=ce(n.class,{[`${a.value}-rtl`]:s.value==="rtl"},f.value);s.value==="rtl"&&!P.vertical&&(P.reverse=!P.reverse);let D;return typeof T=="object"&&(D=T.draggableTrack),d(T?w(E8e,z(z(z({},n),P),{},{step:P.step,draggableTrack:D,class:O,ref:v,handle:R=>$({tooltipPrefixCls:M,prefixCls:a.value,info:R}),prefixCls:a.value,onChange:S,onBlur:x}),{mark:r.mark}):w(A8e,z(z(z({},n),P),{},{id:I,step:P.step,class:O,ref:v,handle:R=>$({tooltipPrefixCls:M,prefixCls:a.value,info:R}),prefixCls:a.value,onChange:S,onBlur:x}),{mark:r.mark}))}}}),V8e=gn(H8e);function vB(e){return typeof e=="string"}function W8e(){}const eJ=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:je(),iconPrefix:String,icon:U.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:U.any,title:U.any,subTitle:U.any,progressDot:RU(U.oneOfType([U.looseBool,U.func])),tailContent:U.any,icons:U.shape({finish:U.any,error:U.any}).loose,onClick:be(),onStepClick:be(),stepIcon:be(),itemRender:be(),__legacy:$e()}),tJ=se({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:eJ(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=l=>{r("click",l),r("stepClick",e.stepIndex)},a=l=>{let{icon:s,title:u,description:c}=l;const{prefixCls:d,stepNumber:f,status:h,iconPrefix:v,icons:p,progressDot:g=n.progressDot,stepIcon:m=n.stepIcon}=e;let y;const b=ce(`${d}-icon`,`${v}icon`,{[`${v}icon-${s}`]:s&&vB(s),[`${v}icon-check`]:!s&&h==="finish"&&(p&&!p.finish||!p),[`${v}icon-cross`]:!s&&h==="error"&&(p&&!p.error||!p)}),S=w("span",{class:`${d}-icon-dot`},null);return g?typeof g=="function"?y=w("span",{class:`${d}-icon`},[g({iconDot:S,index:f-1,status:h,title:u,description:c,prefixCls:d})]):y=w("span",{class:`${d}-icon`},[S]):s&&!vB(s)?y=w("span",{class:`${d}-icon`},[s]):p&&p.finish&&h==="finish"?y=w("span",{class:`${d}-icon`},[p.finish]):p&&p.error&&h==="error"?y=w("span",{class:`${d}-icon`},[p.error]):s||h==="finish"||h==="error"?y=w("span",{class:b},null):y=w("span",{class:`${d}-icon`},[f]),m&&(y=m({index:f-1,status:h,title:u,description:c,node:y})),y};return()=>{var l,s,u,c;const{prefixCls:d,itemWidth:f,active:h,status:v="wait",tailContent:p,adjustMarginRight:g,disabled:m,title:y=(l=n.title)===null||l===void 0?void 0:l.call(n),description:b=(s=n.description)===null||s===void 0?void 0:s.call(n),subTitle:S=(u=n.subTitle)===null||u===void 0?void 0:u.call(n),icon:x=(c=n.icon)===null||c===void 0?void 0:c.call(n),onClick:$,onStepClick:C}=e,T=v||"wait",I=ce(`${d}-item`,`${d}-item-${T}`,{[`${d}-item-custom`]:x,[`${d}-item-active`]:h,[`${d}-item-disabled`]:m===!0}),P={};f&&(P.width=f),g&&(P.marginRight=g);const M={onClick:$||W8e};C&&!m&&(M.role="button",M.tabindex=0,M.onClick=o);const O=w("div",z(z({},yt(i,["__legacy"])),{},{class:[I,i.class],style:[i.style,P]}),[w("div",z(z({},M),{},{class:`${d}-item-container`}),[w("div",{class:`${d}-item-tail`},[p]),w("div",{class:`${d}-item-icon`},[a({icon:x,title:y,description:b})]),w("div",{class:`${d}-item-content`},[w("div",{class:`${d}-item-title`},[y,S&&w("div",{title:typeof S=="string"?S:void 0,class:`${d}-item-subtitle`},[S])]),b&&w("div",{class:`${d}-item-description`},[b])])])]);return e.itemRender?e.itemRender(O):O}}});var j8e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i[]),icons:U.shape({finish:U.any,error:U.any}).loose,stepIcon:be(),isInline:U.looseBool,itemRender:be()},emits:["change"],setup(e,t){let{slots:n,emit:r}=t;const i=l=>{const{current:s}=e;s!==l&&r("change",l)},o=(l,s,u)=>{const{prefixCls:c,iconPrefix:d,status:f,current:h,initial:v,icons:p,stepIcon:g=n.stepIcon,isInline:m,itemRender:y,progressDot:b=n.progressDot}=e,S=m||b,x=_(_({},l),{class:""}),$=v+s,C={active:$===h,stepNumber:$+1,stepIndex:$,key:$,prefixCls:c,iconPrefix:d,progressDot:S,stepIcon:g,icons:p,onStepClick:i};return f==="error"&&s===h-1&&(x.class=`${c}-next-error`),x.status||($===h?x.status=f:$y(x,T)),w(tJ,z(z(z({},x),C),{},{__legacy:!1}),null))},a=(l,s)=>o(_({},l.props),s,u=>Nt(l,u));return()=>{var l;const{prefixCls:s,direction:u,type:c,labelPlacement:d,iconPrefix:f,status:h,size:v,current:p,progressDot:g=n.progressDot,initial:m,icons:y,items:b,isInline:S,itemRender:x}=e,$=j8e(e,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),C=c==="navigation",T=S||g,I=S?"horizontal":u,P=S?void 0:v,M=T?"vertical":d,O=ce(s,`${s}-${u}`,{[`${s}-${P}`]:P,[`${s}-label-${M}`]:I==="horizontal",[`${s}-dot`]:!!T,[`${s}-navigation`]:C,[`${s}-inline`]:S});return w("div",z({class:O},$),[b.filter(D=>D).map((D,R)=>o(D,R)),xn((l=n.default)===null||l===void 0?void 0:l.call(n)).map(a)])}}}),K8e=e=>{const{componentCls:t,stepsIconCustomTop:n,stepsIconCustomSize:r,stepsIconCustomFontSize:i}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:i,lineHeight:`${r}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},U8e=K8e,X8e=e=>{const{componentCls:t,stepsIconSize:n,lineHeight:r,stepsSmallIconSize:i}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(n/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(n-i)/2}}}}}},Y8e=X8e,q8e=e=>{const{componentCls:t,stepsNavContentMaxWidth:n,stepsNavArrowColor:r,stepsNavActiveColor:i,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:_(_({maxWidth:"100%",paddingInlineEnd:0},Hn),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:i,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},Z8e=q8e,Q8e=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.stepsIconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth+e.paddingXXS},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},J8e=Q8e,eNe=e=>{const{componentCls:t,descriptionWidth:n,lineHeight:r,stepsCurrentDotSize:i,stepsDotSize:o,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:Math.floor((e.stepsDotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:(e.descriptionWidth-o)/2,paddingInlineEnd:0,lineHeight:`${o}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(o-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:(o-i)/2,width:i,height:i,lineHeight:`${i}px`,background:"none",marginInlineStart:(e.descriptionWidth-i)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-o)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-i)/2,top:0,insetInlineStart:(o-i)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-o)/2,insetInlineStart:0,margin:0,padding:`${o+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(o-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-o)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-i)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-o)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},tNe=eNe,nNe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},rNe=nNe,iNe=e=>{const{componentCls:t,stepsSmallIconSize:n,fontSizeSM:r,fontSize:i,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:r,lineHeight:`${n}px`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:i,lineHeight:`${n}px`,"&::after":{top:n/2}},[`${t}-item-description`]:{color:o,fontSize:i},[`${t}-item-tail`]:{top:n/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${n}px`,transform:"none"}}}}},oNe=iNe,aNe=e=>{const{componentCls:t,stepsSmallIconSize:n,stepsIconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${r}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsIconSize/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${r+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth,padding:`${n+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${n}px`}}}}},lNe=aNe,sNe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:i}=e,o=e.paddingXS+e.lineWidth,a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${o}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:o+n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:i}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":_({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${i}`}},a),"&-finish":_({[`${t}-item-tail::after`]:{backgroundColor:i},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i,border:`${e.lineWidth}px ${e.lineType} ${i}`}},a),"&-error":a,"&-active, &-process":_({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},uNe=sNe;var Kf;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(Kf||(Kf={}));const l0=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,i=`${e}TitleColor`,o=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[i],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},cNe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`;return _(_(_(_(_(_({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none"},[`${r}-icon, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[`${r}-icon`]:{width:e.stepsIconSize,height:e.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.stepsIconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.stepsIconSize}px`,textAlign:"center",borderRadius:e.stepsIconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.stepsIconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.stepsIconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:e.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},l0(Kf.wait,e)),l0(Kf.process,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),l0(Kf.finish,e)),l0(Kf.error,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},dNe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionWidth,whiteSpace:"normal"}}}}},fNe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_(_(_(_(_(_(_(_(_({},st(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),cNe(e)),dNe(e)),U8e(e)),oNe(e)),lNe(e)),Y8e(e)),tNe(e)),Z8e(e)),rNe(e)),J8e(e)),uNe(e))}},hNe=it("Steps",e=>{const{wireframe:t,colorTextDisabled:n,fontSizeHeading3:r,fontSize:i,controlHeight:o,controlHeightLG:a,colorTextLightSolid:l,colorText:s,colorPrimary:u,colorTextLabel:c,colorTextDescription:d,colorTextQuaternary:f,colorFillContent:h,controlItemBgActive:v,colorError:p,colorBgContainer:g,colorBorderSecondary:m}=e,y=e.controlHeight,b=e.colorSplit,S=Ue(e,{processTailColor:b,stepsNavArrowColor:n,stepsIconSize:y,stepsIconCustomSize:y,stepsIconCustomTop:0,stepsIconCustomFontSize:a/2,stepsIconTop:-.5,stepsIconFontSize:i,stepsTitleLineHeight:o,stepsSmallIconSize:r,stepsDotSize:o/4,stepsCurrentDotSize:a/4,stepsNavContentMaxWidth:"auto",processIconColor:l,processTitleColor:s,processDescriptionColor:s,processIconBgColor:u,processIconBorderColor:u,processDotColor:u,waitIconColor:t?n:c,waitTitleColor:d,waitDescriptionColor:d,waitTailColor:b,waitIconBgColor:t?g:h,waitIconBorderColor:t?n:"transparent",waitDotColor:n,finishIconColor:u,finishTitleColor:s,finishDescriptionColor:d,finishTailColor:u,finishIconBgColor:t?g:v,finishIconBorderColor:t?u:v,finishDotColor:u,errorIconColor:l,errorTitleColor:p,errorDescriptionColor:p,errorTailColor:b,errorIconBgColor:p,errorIconBorderColor:p,errorDotColor:p,stepsNavActiveColor:u,stepsProgressSize:a,inlineDotSize:6,inlineTitleColor:f,inlineTailColor:m});return[fNe(S)]},{descriptionWidth:140}),vNe=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:$e(),items:Ot(),labelPlacement:je(),status:je(),size:je(),direction:je(),progressDot:Xe([Boolean,Function]),type:je(),onChange:be(),"onUpdate:current":be()}),w_=se({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ft(vNe(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{prefixCls:o,direction:a,configProvider:l}=Ee("steps",e),[s,u]=hNe(o),[,c]=is(),d=lv(),f=L(()=>e.responsive&&d.value.xs?"vertical":e.direction),h=L(()=>l.getPrefixCls("",e.iconPrefix)),v=b=>{i("update:current",b),i("change",b)},p=L(()=>e.type==="inline"),g=L(()=>p.value?void 0:e.percent),m=b=>{let{node:S,status:x}=b;if(x==="process"&&e.percent!==void 0){const $=e.size==="small"?c.value.controlHeight:c.value.controlHeightLG;return w("div",{class:`${o.value}-progress-icon`},[w(S3,{type:"circle",percent:g.value,size:$,strokeWidth:4,format:()=>null},null),S])}return S},y=L(()=>({finish:w(Sw,{class:`${o.value}-finish-icon`},null),error:w(Ei,{class:`${o.value}-error-icon`},null)}));return()=>{const b=ce({[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-with-progress`]:g.value!==void 0},n.class,u.value),S=(x,$)=>x.description?w(Pi,{title:x.description},{default:()=>[$]}):$;return s(w(G8e,z(z(z({icons:y.value},n),yt(e,["percent","responsive"])),{},{items:e.items,direction:f.value,prefixCls:o.value,iconPrefix:h.value,class:b,onChange:v,isInline:p.value,itemRender:p.value?S:void 0}),_({stepIcon:m},r)))}}}),qb=se(_(_({compatConfig:{MODE:3}},tJ),{name:"AStep",props:eJ()})),pNe=_(w_,{Step:qb,install:e=>(e.component(w_.name,w_),e.component(qb.name,qb),e)}),gNe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},mNe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},yNe=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},bNe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},SNe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Gl(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},xNe=it("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=2,i=t-r*2,o=n-r*2,a=Ue(e,{switchMinWidth:i*2+r*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:i/2,switchInnerMarginMax:i+r+r*2,switchPadding:r,switchPinSize:i,switchBg:e.colorBgContainer,switchMinWidthSM:o*2+r*2,switchHeightSM:n,switchInnerMarginMinSM:o/2,switchInnerMarginMaxSM:o+r+r*2,switchPinSizeSM:o,switchHandleShadow:`0 2px 4px 0 ${new zt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[SNe(a),bNe(a),yNe(a),mNe(a),gNe(a)]}),wNe=Ar("small","default"),CNe=()=>({id:String,prefixCls:String,size:U.oneOf(wNe),disabled:{type:Boolean,default:void 0},checkedChildren:U.any,unCheckedChildren:U.any,tabindex:U.oneOfType([U.string,U.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:U.oneOfType([U.string,U.number,U.looseBool]),checkedValue:U.oneOfType([U.string,U.number,U.looseBool]).def(!0),unCheckedValue:U.oneOfType([U.string,U.number,U.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),$Ne=se({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:CNe(),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;const a=Xn(),l=Mi(),s=L(()=>{var I;return(I=e.disabled)!==null&&I!==void 0?I:l.value});Vx(()=>{vn(),vn()});const u=ue(e.checked!==void 0?e.checked:n.defaultChecked),c=L(()=>u.value===e.checkedValue);Se(()=>e.checked,()=>{u.value=e.checked});const{prefixCls:d,direction:f,size:h}=Ee("switch",e),[v,p]=xNe(d),g=ue(),m=()=>{var I;(I=g.value)===null||I===void 0||I.focus()};i({focus:m,blur:()=>{var I;(I=g.value)===null||I===void 0||I.blur()}}),tt(()=>{_t(()=>{e.autofocus&&!s.value&&g.value.focus()})});const b=(I,P)=>{s.value||(o("update:checked",I),o("change",I,P),a.onFieldChange())},S=I=>{o("blur",I)},x=I=>{m();const P=c.value?e.unCheckedValue:e.checkedValue;b(P,I),o("click",P,I)},$=I=>{I.keyCode===Pe.LEFT?b(e.unCheckedValue,I):I.keyCode===Pe.RIGHT&&b(e.checkedValue,I),o("keydown",I)},C=I=>{var P;(P=g.value)===null||P===void 0||P.blur(),o("mouseup",I)},T=L(()=>({[`${d.value}-small`]:h.value==="small",[`${d.value}-loading`]:e.loading,[`${d.value}-checked`]:c.value,[`${d.value}-disabled`]:s.value,[d.value]:!0,[`${d.value}-rtl`]:f.value==="rtl",[p.value]:!0}));return()=>{var I;return v(w(zD,null,{default:()=>[w("button",z(z(z({},yt(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:(I=e.id)!==null&&I!==void 0?I:a.id.value,onKeydown:$,onClick:x,onBlur:S,onMouseup:C,type:"button",role:"switch","aria-checked":u.value,disabled:s.value||e.loading,class:[n.class,T.value],ref:g}),[w("div",{class:`${d.value}-handle`},[e.loading?w(to,{class:`${d.value}-loading-icon`},null):null]),w("span",{class:`${d.value}-inner`},[w("span",{class:`${d.value}-inner-checked`},[Un(r,e,"checkedChildren")]),w("span",{class:`${d.value}-inner-unchecked`},[Un(r,e,"unCheckedChildren")])])])]}))}}}),_Ne=gn($Ne),nJ=Symbol("TableContextProps"),TNe=e=>{at(nJ,e)},al=()=>Je(nJ,{}),INe="RC_TABLE_KEY";function rJ(e){return e==null?[]:Array.isArray(e)?e:[e]}function iJ(e,t){if(!t&&typeof t!="number")return e;const n=rJ(t);let r=e;for(let i=0;i{const{key:i,dataIndex:o}=r||{};let a=i||rJ(o).join("-")||INe;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function PNe(){const e={};function t(o,a){a&&Object.keys(a).forEach(l=>{const s=a[l];s&&typeof s=="object"?(o[l]=o[l]||{},t(o[l],s)):o[l]=s})}for(var n=arguments.length,r=new Array(n),i=0;i{t(e,o)}),e}function LP(e){return e!=null}const oJ=Symbol("SlotsContextProps"),MNe=e=>{at(oJ,e)},$3=()=>Je(oJ,L(()=>({}))),aJ=Symbol("ContextProps"),ANe=e=>{at(aJ,e)},ONe=()=>Je(aJ,{onResizeColumn:()=>{}});globalThis&&globalThis.__rest;const vh="RC_TABLE_INTERNAL_COL_DEFINE",lJ=Symbol("HoverContextProps"),DNe=e=>{at(lJ,e)},ENe=()=>Je(lJ,{startRow:ae(-1),endRow:ae(-1),onHover(){}}),NP=ae(!1),RNe=()=>{tt(()=>{NP.value=NP.value||EE("position","sticky")})},LNe=()=>NP;var NNe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i=n}function BNe(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!Nn(e)}const nC=se({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const r=$3(),{onHover:i,startRow:o,endRow:a}=ENe(),l=L(()=>{var p,g,m,y;return(m=(p=e.colSpan)!==null&&p!==void 0?p:(g=e.additionalProps)===null||g===void 0?void 0:g.colSpan)!==null&&m!==void 0?m:(y=e.additionalProps)===null||y===void 0?void 0:y.colspan}),s=L(()=>{var p,g,m,y;return(m=(p=e.rowSpan)!==null&&p!==void 0?p:(g=e.additionalProps)===null||g===void 0?void 0:g.rowSpan)!==null&&m!==void 0?m:(y=e.additionalProps)===null||y===void 0?void 0:y.rowspan}),u=Wi(()=>{const{index:p}=e;return kNe(p,s.value||1,o.value,a.value)}),c=LNe(),d=(p,g)=>{var m;const{record:y,index:b,additionalProps:S}=e;y&&i(b,b+g-1),(m=S==null?void 0:S.onMouseenter)===null||m===void 0||m.call(S,p)},f=p=>{var g;const{record:m,additionalProps:y}=e;m&&i(-1,-1),(g=y==null?void 0:y.onMouseleave)===null||g===void 0||g.call(y,p)},h=p=>{const g=xn(p)[0];return Nn(g)?g.type===Tu?g.children:Array.isArray(g.children)?h(g.children):void 0:g},v=ae(null);return Se([u,()=>e.prefixCls,v],()=>{const p=ci(v.value);p&&(u.value?pS(p,`${e.prefixCls}-cell-row-hover`):gS(p,`${e.prefixCls}-cell-row-hover`))}),()=>{var p,g,m,y,b,S;const{prefixCls:x,record:$,index:C,renderIndex:T,dataIndex:I,customRender:P,component:M="td",fixLeft:O,fixRight:D,firstFixLeft:R,lastFixLeft:A,firstFixRight:E,lastFixRight:k,appendNode:N=(p=n.appendNode)===null||p===void 0?void 0:p.call(n),additionalProps:B={},ellipsis:F,align:H,rowType:V,isSticky:X,column:Q={},cellType:K}=e,te=`${x}-cell`;let q,ee;const J=(g=n.default)===null||g===void 0?void 0:g.call(n);if(LP(J)||K==="header")ee=J;else{const ve=iJ($,I);if(ee=ve,P){const fe=P({text:ve,value:ve,record:$,index:C,renderIndex:T,column:Q.__originColumn__});BNe(fe)?(ee=fe.children,q=fe.props):ee=fe}if(!(vh in Q)&&K==="body"&&r.value.bodyCell&&!(!((m=Q.slots)===null||m===void 0)&&m.customRender)){const fe=aw(r.value,"bodyCell",{text:ve,value:ve,record:$,index:C,column:Q.__originColumn__},()=>{const ye=ee===void 0?ve:ee;return[typeof ye=="object"&&zn(ye)||typeof ye!="object"?ye:null]});ee=Jt(fe)}e.transformCellText&&(ee=e.transformCellText({text:ee,record:$,index:C,column:Q.__originColumn__}))}typeof ee=="object"&&!Array.isArray(ee)&&!Nn(ee)&&(ee=null),F&&(A||E)&&(ee=w("span",{class:`${te}-content`},[ee])),Array.isArray(ee)&&ee.length===1&&(ee=ee[0]);const G=q||{},{colSpan:Y,rowSpan:oe,style:W,class:Z}=G,ne=NNe(G,["colSpan","rowSpan","style","class"]),re=(y=Y!==void 0?Y:l.value)!==null&&y!==void 0?y:1,le=(b=oe!==void 0?oe:s.value)!==null&&b!==void 0?b:1;if(re===0||le===0)return null;const ie={},de=typeof O=="number"&&c.value,pe=typeof D=="number"&&c.value;de&&(ie.position="sticky",ie.left=`${O}px`),pe&&(ie.position="sticky",ie.right=`${D}px`);const me={};H&&(me.textAlign=H);let he;const xe=F===!0?{showTitle:!0}:F;xe&&(xe.showTitle||V==="header")&&(typeof ee=="string"||typeof ee=="number"?he=ee.toString():Nn(ee)&&(he=h([ee])));const Ce=_(_(_({title:he},ne),B),{colSpan:re!==1?re:null,rowSpan:le!==1?le:null,class:ce(te,{[`${te}-fix-left`]:de&&c.value,[`${te}-fix-left-first`]:R&&c.value,[`${te}-fix-left-last`]:A&&c.value,[`${te}-fix-right`]:pe&&c.value,[`${te}-fix-right-first`]:E&&c.value,[`${te}-fix-right-last`]:k&&c.value,[`${te}-ellipsis`]:F,[`${te}-with-append`]:N,[`${te}-fix-sticky`]:(de||pe)&&X&&c.value},B.class,Z),onMouseenter:ve=>{d(ve,le)},onMouseleave:f,style:[B.style,me,ie,W]});return w(M,z(z({},Ce),{},{ref:v}),{default:()=>[N,ee,(S=n.dragHandle)===null||S===void 0?void 0:S.call(n)]})}}});function _3(e,t,n,r,i){const o=n[e]||{},a=n[t]||{};let l,s;o.fixed==="left"?l=r.left[e]:a.fixed==="right"&&(s=r.right[t]);let u=!1,c=!1,d=!1,f=!1;const h=n[t+1],v=n[e-1];return i==="rtl"?l!==void 0?f=!(v&&v.fixed==="left"):s!==void 0&&(d=!(h&&h.fixed==="right")):l!==void 0?u=!(h&&h.fixed==="left"):s!==void 0&&(c=!(v&&v.fixed==="right")),{fixLeft:l,fixRight:s,lastFixLeft:u,firstFixRight:c,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}const pB={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},gB=50,FNe=se({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:gB},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},r={remove:()=>{}};const i=()=>{n.remove(),r.remove()};Jr(()=>{i()}),Ye(()=>{on(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:o}=ONe(),a=L(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:gB),l=L(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),s=gr();let u=0;const c=ae(!1);let d;const f=b=>{let S=0;b.touches?b.touches.length?S=b.touches[0].pageX:S=b.changedTouches[0].pageX:S=b.pageX;const x=t-S;let $=Math.max(u-x,a.value);$=Math.min($,l.value),dt.cancel(d),d=dt(()=>{o($,e.column.__originColumn__)})},h=b=>{f(b)},v=b=>{c.value=!1,f(b),i()},p=(b,S)=>{c.value=!0,i(),u=s.vnode.el.parentNode.getBoundingClientRect().width,!(b instanceof MouseEvent&&b.which!==1)&&(b.stopPropagation&&b.stopPropagation(),t=b.touches?b.touches[0].pageX:b.pageX,n=bn(document.documentElement,S.move,h),r=bn(document.documentElement,S.stop,v))},g=b=>{b.stopPropagation(),b.preventDefault(),p(b,pB.mouse)},m=b=>{b.stopPropagation(),b.preventDefault(),p(b,pB.touch)},y=b=>{b.stopPropagation(),b.preventDefault()};return()=>{const{prefixCls:b}=e,S={[tr?"onTouchstartPassive":"onTouchstart"]:x=>m(x)};return w("div",z(z({class:`${b}-resize-handle ${c.value?"dragging":""}`,onMousedown:g},S),{},{onClick:y}),[w("div",{class:`${b}-resize-handle-line`},null)])}}}),zNe=se({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=al();return()=>{const{prefixCls:n,direction:r}=t,{cells:i,stickyOffsets:o,flattenColumns:a,rowComponent:l,cellComponent:s,customHeaderRow:u,index:c}=e;let d;u&&(d=u(i.map(h=>h.column),c));const f=tC(i.map(h=>h.column));return w(l,d,{default:()=>[i.map((h,v)=>{const{column:p}=h,g=_3(h.colStart,h.colEnd,a,o,r);let m;p&&p.customHeaderCell&&(m=h.column.customHeaderCell(p));const y=p;return w(nC,z(z(z({},h),{},{cellType:"header",ellipsis:p.ellipsis,align:p.align,component:s,prefixCls:n,key:f[v]},g),{},{additionalProps:m,rowType:"header",column:p}),{default:()=>p.title,dragHandle:()=>y.resizable?w(FNe,{prefixCls:n,width:y.width,minWidth:y.minWidth,maxWidth:y.maxWidth,column:y},null):null})})]})}}});function HNe(e){const t=[];function n(i,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[a]=t[a]||[];let l=o;return i.filter(Boolean).map(u=>{const c={key:u.key,class:ce(u.className,u.class),column:u,colStart:l};let d=1;const f=u.children;return f&&f.length>0&&(d=n(f,l,a+1).reduce((h,v)=>h+v,0),c.hasSubColumns=!0),"colSpan"in u&&({colSpan:d}=u),"rowSpan"in u&&(c.rowSpan=u.rowSpan),c.colSpan=d,c.colEnd=c.colStart+d-1,t[a].push(c),l+=d,d})}n(e,0);const r=t.length;for(let i=0;i{!("rowSpan"in o)&&!o.hasSubColumns&&(o.rowSpan=r-i)});return t}const mB=se({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=al(),n=L(()=>HNe(e.columns));return()=>{const{prefixCls:r,getComponent:i}=t,{stickyOffsets:o,flattenColumns:a,customHeaderRow:l}=e,s=i(["header","wrapper"],"thead"),u=i(["header","row"],"tr"),c=i(["header","cell"],"th");return w(s,{class:`${r}-thead`},{default:()=>[n.value.map((d,f)=>w(zNe,{key:f,flattenColumns:a,cells:d,stickyOffsets:o,rowComponent:u,cellComponent:c,customHeaderRow:l,index:f},null))]})}}}),sJ=Symbol("ExpandedRowProps"),VNe=e=>{at(sJ,e)},WNe=()=>Je(sJ,{}),uJ=se({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:r}=t;const i=al(),o=WNe(),{fixHeader:a,fixColumn:l,componentWidth:s,horizonScroll:u}=o;return()=>{const{prefixCls:c,component:d,cellComponent:f,expanded:h,colSpan:v,isEmpty:p}=e;return w(d,{class:r.class,style:{display:h?null:"none"}},{default:()=>[w(nC,{component:f,prefixCls:c,colSpan:v},{default:()=>{var g;let m=(g=n.default)===null||g===void 0?void 0:g.call(n);return(p?u.value:l.value)&&(m=w("div",{style:{width:`${s.value-(a.value?i.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${c}-expanded-row-fixed`},[m])),m}})]})}}}),jNe=se({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const r=ue();return tt(()=>{r.value&&n("columnResize",e.columnKey,r.value.offsetWidth)}),()=>w(Mo,{onResize:i=>{let{offsetWidth:o}=i;n("columnResize",e.columnKey,o)}},{default:()=>[w("td",{ref:r,style:{padding:0,border:0,height:0}},[w("div",{style:{height:0,overflow:"hidden"}},[Gr(" ")])])]})}}),cJ=Symbol("BodyContextProps"),GNe=e=>{at(cJ,e)},dJ=()=>Je(cJ,{}),KNe=se({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const r=al(),i=dJ(),o=ae(!1),a=L(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));Ye(()=>{a.value&&(o.value=!0)});const l=L(()=>i.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),s=L(()=>i.expandableType==="nest"),u=L(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),c=L(()=>l.value||s.value),d=(g,m)=>{i.onTriggerExpand(g,m)},f=L(()=>{var g;return((g=e.customRow)===null||g===void 0?void 0:g.call(e,e.record,e.index))||{}}),h=function(g){var m,y;i.expandRowByClick&&c.value&&d(e.record,g);for(var b=arguments.length,S=new Array(b>1?b-1:0),x=1;x{const{record:g,index:m,indent:y}=e,{rowClassName:b}=i;return typeof b=="string"?b:typeof b=="function"?b(g,m,y):""}),p=L(()=>tC(i.flattenColumns));return()=>{const{class:g,style:m}=n,{record:y,index:b,rowKey:S,indent:x=0,rowComponent:$,cellComponent:C}=e,{prefixCls:T,fixedInfoList:I,transformCellText:P}=r,{flattenColumns:M,expandedRowClassName:O,indentSize:D,expandIcon:R,expandedRowRender:A,expandIconColumnIndex:E}=i,k=w($,z(z({},f.value),{},{"data-row-key":S,class:ce(g,`${T}-row`,`${T}-row-level-${x}`,v.value,f.value.class),style:[m,f.value.style],onClick:h}),{default:()=>[M.map((B,F)=>{const{customRender:H,dataIndex:V,className:X}=B,Q=p[F],K=I[F];let te;B.customCell&&(te=B.customCell(y,b,B));const q=F===(E||0)&&s.value?w(Qe,null,[w("span",{style:{paddingLeft:`${D*x}px`},class:`${T}-row-indent indent-level-${x}`},null),R({prefixCls:T,expanded:a.value,expandable:u.value,record:y,onExpand:d})]):null;return w(nC,z(z({cellType:"body",class:X,ellipsis:B.ellipsis,align:B.align,component:C,prefixCls:T,key:Q,record:y,index:b,renderIndex:e.renderIndex,dataIndex:V,customRender:H},K),{},{additionalProps:te,column:B,transformCellText:P,appendNode:q}),null)})]});let N;if(l.value&&(o.value||a.value)){const B=A({record:y,index:b,indent:x+1,expanded:a.value}),F=O&&O(y,b,x);N=w(uJ,{expanded:a.value,class:ce(`${T}-expanded-row`,`${T}-expanded-row-level-${x+1}`,F),prefixCls:T,component:$,cellComponent:C,colSpan:M.length,isEmpty:!1},{default:()=>[B]})}return w(Qe,null,[k,N])}}});function fJ(e,t,n,r,i,o){const a=[];a.push({record:e,indent:t,index:o});const l=i(e),s=r==null?void 0:r.has(l);if(e&&Array.isArray(e[n])&&s)for(let u=0;u{const o=t.value,a=n.value,l=e.value;if(a!=null&&a.size){const s=[];for(let u=0;u<(l==null?void 0:l.length);u+=1){const c=l[u];s.push(...fJ(c,0,o,a,r.value,u))}return s}return l==null?void 0:l.map((s,u)=>({record:s,indent:0,index:u}))})}const hJ=Symbol("ResizeContextProps"),XNe=e=>{at(hJ,e)},YNe=()=>Je(hJ,{onColumnResize:()=>{}}),qNe=se({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const r=YNe(),i=al(),o=dJ(),a=UNe(qe(e,"data"),qe(e,"childrenColumnName"),qe(e,"expandedKeys"),qe(e,"getRowKey")),l=ae(-1),s=ae(-1);let u;return DNe({startRow:l,endRow:s,onHover:(c,d)=>{clearTimeout(u),u=setTimeout(()=>{l.value=c,s.value=d},100)}}),()=>{var c;const{data:d,getRowKey:f,measureColumnWidth:h,expandedKeys:v,customRow:p,rowExpandable:g,childrenColumnName:m}=e,{onColumnResize:y}=r,{prefixCls:b,getComponent:S}=i,{flattenColumns:x}=o,$=S(["body","wrapper"],"tbody"),C=S(["body","row"],"tr"),T=S(["body","cell"],"td");let I;d.length?I=a.value.map((M,O)=>{const{record:D,indent:R,index:A}=M,E=f(D,O);return w(KNe,{key:E,rowKey:E,record:D,recordKey:E,index:O,renderIndex:A,rowComponent:C,cellComponent:T,expandedKeys:v,customRow:p,getRowKey:f,rowExpandable:g,childrenColumnName:m,indent:R},null)}):I=w(uJ,{expanded:!0,class:`${b}-placeholder`,prefixCls:b,component:C,cellComponent:T,colSpan:x.length,isEmpty:!0},{default:()=>[(c=n.emptyNode)===null||c===void 0?void 0:c.call(n)]});const P=tC(x);return w($,{class:`${b}-tbody`},{default:()=>[h&&w("tr",{"aria-hidden":"true",class:`${b}-measure-row`,style:{height:0,fontSize:0}},[P.map(M=>w(jNe,{key:M,columnKey:M,onColumnResize:y},null))]),I]})}}}),ks={};var ZNe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{fixed:r}=n,i=r===!0?"left":r,o=n.children;return o&&o.length>0?[...t,...kP(o).map(a=>_({fixed:i},a))]:[...t,_(_({},n),{fixed:i})]},[])}function QNe(e){return e.map(t=>{const{fixed:n}=t,r=ZNe(t,["fixed"]);let i=n;return n==="left"?i="right":n==="right"&&(i="left"),_({fixed:i},r)})}function JNe(e,t){let{prefixCls:n,columns:r,expandable:i,expandedKeys:o,getRowKey:a,onTriggerExpand:l,expandIcon:s,rowExpandable:u,expandIconColumnIndex:c,direction:d,expandRowByClick:f,expandColumnWidth:h,expandFixed:v}=e;const p=$3(),g=L(()=>{if(i.value){let b=r.value.slice();if(!b.includes(ks)){const D=c.value||0;D>=0&&b.splice(D,0,ks)}const S=b.indexOf(ks);b=b.filter((D,R)=>D!==ks||R===S);const x=r.value[S];let $;(v.value==="left"||v.value)&&!c.value?$="left":(v.value==="right"||v.value)&&c.value===r.value.length?$="right":$=x?x.fixed:null;const C=o.value,T=u.value,I=s.value,P=n.value,M=f.value,O={[vh]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:aw(p.value,"expandColumnTitle",{},()=>[""]),fixed:$,class:`${n.value}-row-expand-icon-cell`,width:h.value,customRender:D=>{let{record:R,index:A}=D;const E=a.value(R,A),k=C.has(E),N=T?T(R):!0,B=I({prefixCls:P,expanded:k,expandable:N,record:R,onExpand:l});return M?w("span",{onClick:F=>F.stopPropagation()},[B]):B}};return b.map(D=>D===ks?O:D)}return r.value.filter(b=>b!==ks)}),m=L(()=>{let b=g.value;return t.value&&(b=t.value(b)),b.length||(b=[{customRender:()=>null}]),b}),y=L(()=>d.value==="rtl"?QNe(kP(m.value)):kP(m.value));return[m,y]}function vJ(e){const t=ae(e);let n;const r=ae([]);function i(o){r.value.push(o),dt.cancel(n),n=dt(()=>{const a=r.value;r.value=[],a.forEach(l=>{t.value=l(t.value)})})}return ht(()=>{dt.cancel(n)}),[t,i]}function eke(e){const t=ue(e||null),n=ue();function r(){clearTimeout(n.value)}function i(a){t.value=a,r(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function o(){return t.value}return ht(()=>{r()}),[i,o]}function tke(e,t,n){return L(()=>{const i=[],o=[];let a=0,l=0;const s=e.value,u=t.value,c=n.value;for(let d=0;d=0;l-=1){const s=t[l],u=n&&n[l],c=u&&u[vh];if(s||c||a){const d=c||{},f=nke(d,["columnType"]);i.unshift(w("col",z({key:l,style:{width:typeof s=="number"?`${s}px`:s}},f),null)),a=!0}}return w("colgroup",null,[i])}function BP(e,t){let{slots:n}=t;var r;return w("div",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}BP.displayName="Panel";let rke=0;const ike=se({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const r=al(),i=`table-summary-uni-key-${++rke}`,o=L(()=>e.fixed===""||e.fixed);return Ye(()=>{r.summaryCollect(i,o.value)}),ht(()=>{r.summaryCollect(i,!1)}),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}}),oke=ike,ake=se({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var r;return w("tr",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),gJ=Symbol("SummaryContextProps"),lke=e=>{at(gJ,e)},ske=()=>Je(gJ,{}),uke=se({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:r}=t;const i=al(),o=ske();return()=>{const{index:a,colSpan:l=1,rowSpan:s,align:u}=e,{prefixCls:c,direction:d}=i,{scrollColumnIndex:f,stickyOffsets:h,flattenColumns:v}=o,g=a+l-1+1===f?l+1:l,m=_3(a,a+g-1,v,h,d);return w(nC,z({class:n.class,index:a,component:"td",prefixCls:c,record:null,dataIndex:null,align:u,colSpan:g,rowSpan:s,customRender:()=>{var y;return(y=r.default)===null||y===void 0?void 0:y.call(r)}},m),null)}}}),s0=se({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const r=al();return lke(Bt({stickyOffsets:qe(e,"stickyOffsets"),flattenColumns:qe(e,"flattenColumns"),scrollColumnIndex:L(()=>{const i=e.flattenColumns.length-1,o=e.flattenColumns[i];return o!=null&&o.scrollbar?i:null})})),()=>{var i;const{prefixCls:o}=r;return w("tfoot",{class:`${o}-summary`},[(i=n.default)===null||i===void 0?void 0:i.call(n)])}}}),cke=oke;function dke(e){let{prefixCls:t,record:n,onExpand:r,expanded:i,expandable:o}=e;const a=`${t}-row-expand-icon`;if(!o)return w("span",{class:[a,`${t}-row-spaced`]},null);const l=s=>{r(n,s),s.stopPropagation()};return w("span",{class:{[a]:!0,[`${t}-row-expanded`]:i,[`${t}-row-collapsed`]:!i},onClick:l},null)}function fke(e,t,n){const r=[];function i(o){(o||[]).forEach((a,l)=>{r.push(t(a,l)),i(a[n])})}return i(e),r}const hke=se({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:r}=t;const i=al(),o=ae(0),a=ae(0),l=ae(0);Ye(()=>{o.value=e.scrollBodySizeInfo.scrollWidth||0,a.value=e.scrollBodySizeInfo.clientWidth||0,l.value=o.value&&a.value*(a.value/o.value)},{flush:"post"});const s=ae(),[u,c]=vJ({scrollLeft:0,isHiddenScrollBar:!0}),d=ue({delta:0,x:0}),f=ae(!1),h=()=>{f.value=!1},v=C=>{d.value={delta:C.pageX-u.value.scrollLeft,x:0},f.value=!0,C.preventDefault()},p=C=>{const{buttons:T}=C||(window==null?void 0:window.event);if(!f.value||T===0){f.value&&(f.value=!1);return}let I=d.value.x+C.pageX-d.value.x-d.value.delta;I<=0&&(I=0),I+l.value>=a.value&&(I=a.value-l.value),n("scroll",{scrollLeft:I/a.value*(o.value+2)}),d.value.x=C.pageX},g=()=>{if(!e.scrollBodyRef.value)return;const C=Q1(e.scrollBodyRef.value).top,T=C+e.scrollBodyRef.value.offsetHeight,I=e.container===window?document.documentElement.scrollTop+window.innerHeight:Q1(e.container).top+e.container.clientHeight;T-q1()<=I||C>=I-e.offsetScroll?c(P=>_(_({},P),{isHiddenScrollBar:!0})):c(P=>_(_({},P),{isHiddenScrollBar:!1}))};r({setScrollLeft:C=>{c(T=>_(_({},T),{scrollLeft:C/o.value*a.value||0}))}});let y=null,b=null,S=null,x=null;tt(()=>{y=bn(document.body,"mouseup",h,!1),b=bn(document.body,"mousemove",p,!1),S=bn(window,"resize",g,!1)}),zx(()=>{_t(()=>{g()})}),tt(()=>{setTimeout(()=>{Se([l,f],()=>{g()},{immediate:!0,flush:"post"})})}),Se(()=>e.container,()=>{x==null||x.remove(),x=bn(e.container,"scroll",g,!1)},{immediate:!0,flush:"post"}),ht(()=>{y==null||y.remove(),b==null||b.remove(),x==null||x.remove(),S==null||S.remove()}),Se(()=>_({},u.value),(C,T)=>{C.isHiddenScrollBar!==(T==null?void 0:T.isHiddenScrollBar)&&!C.isHiddenScrollBar&&c(I=>{const P=e.scrollBodyRef.value;return P?_(_({},I),{scrollLeft:P.scrollLeft/P.scrollWidth*P.clientWidth}):I})},{immediate:!0});const $=q1();return()=>{if(o.value<=a.value||!l.value||u.value.isHiddenScrollBar)return null;const{prefixCls:C}=i;return w("div",{style:{height:`${$}px`,width:`${a.value}px`,bottom:`${e.offsetScroll}px`},class:`${C}-sticky-scroll`},[w("div",{onMousedown:v,ref:s,class:ce(`${C}-sticky-scroll-bar`,{[`${C}-sticky-scroll-bar-active`]:f.value}),style:{width:`${l.value}px`,transform:`translate3d(${u.value.scrollLeft}px, 0, 0)`}},null)])}}}),yB=Xr()?window:null;function vke(e,t){return L(()=>{const{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:o=()=>yB}=typeof e.value=="object"?e.value:{},a=o()||yB,l=!!e.value;return{isSticky:l,stickyClassName:l?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:r,offsetScroll:i,container:a}})}function pke(e,t){return L(()=>{const n=[],r=e.value,i=t.value;for(let o=0;oo.isSticky&&!e.fixHeader?0:o.scrollbarSize),l=ue(),s=p=>{const{currentTarget:g,deltaX:m}=p;m&&(i("scroll",{currentTarget:g,scrollLeft:g.scrollLeft+m}),p.preventDefault())},u=ue();tt(()=>{_t(()=>{u.value=bn(l.value,"wheel",s)})}),ht(()=>{var p;(p=u.value)===null||p===void 0||p.remove()});const c=L(()=>e.flattenColumns.every(p=>p.width&&p.width!==0&&p.width!=="0px")),d=ue([]),f=ue([]);Ye(()=>{const p=e.flattenColumns[e.flattenColumns.length-1],g={fixed:p?p.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${o.prefixCls}-cell-scrollbar`})};d.value=a.value?[...e.columns,g]:e.columns,f.value=a.value?[...e.flattenColumns,g]:e.flattenColumns});const h=L(()=>{const{stickyOffsets:p,direction:g}=e,{right:m,left:y}=p;return _(_({},p),{left:g==="rtl"?[...y.map(b=>b+a.value),0]:y,right:g==="rtl"?m:[...m.map(b=>b+a.value),0],isSticky:o.isSticky})}),v=pke(qe(e,"colWidths"),qe(e,"columCount"));return()=>{var p;const{noData:g,columCount:m,stickyTopOffset:y,stickyBottomOffset:b,stickyClassName:S,maxContentScroll:x}=e,{isSticky:$}=o;return w("div",{style:_({overflow:"hidden"},$?{top:`${y}px`,bottom:`${b}px`}:{}),ref:l,class:ce(n.class,{[S]:!!S})},[w("table",{style:{tableLayout:"fixed",visibility:g||v.value?null:"hidden"}},[(!g||!x||c.value)&&w(pJ,{colWidths:v.value?[...v.value,a.value]:[],columCount:m+1,columns:f.value},null),(p=r.default)===null||p===void 0?void 0:p.call(r,_(_({},e),{stickyOffsets:h.value,columns:d.value,flattenColumns:f.value}))])])}}});function SB(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r[i,qe(e,i)])))}const gke=[],mke={},FP="rc-table-internal-hook",yke=se({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=L(()=>e.data||gke),a=L(()=>!!o.value.length),l=L(()=>PNe(e.components,{})),s=(fe,ye)=>iJ(l.value,fe)||ye,u=L(()=>{const fe=e.rowKey;return typeof fe=="function"?fe:ye=>ye&&ye[fe]}),c=L(()=>e.expandIcon||dke),d=L(()=>e.childrenColumnName||"children"),f=L(()=>e.expandedRowRender?"row":e.canExpandable||o.value.some(fe=>fe&&typeof fe=="object"&&fe[d.value])?"nest":!1),h=ae([]);Ye(()=>{e.defaultExpandedRowKeys&&(h.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(h.value=fke(o.value,u.value,d.value))})();const p=L(()=>new Set(e.expandedRowKeys||h.value||[])),g=fe=>{const ye=u.value(fe,o.value.indexOf(fe));let Me;const De=p.value.has(ye);De?(p.value.delete(ye),Me=[...p.value]):Me=[...p.value,ye],h.value=Me,i("expand",!De,fe),i("update:expandedRowKeys",Me),i("expandedRowsChange",Me)},m=ue(0),[y,b]=JNe(_(_({},ja(e)),{expandable:L(()=>!!e.expandedRowRender),expandedKeys:p,getRowKey:u,onTriggerExpand:g,expandIcon:c}),L(()=>e.internalHooks===FP?e.transformColumns:null)),S=L(()=>({columns:y.value,flattenColumns:b.value})),x=ue(),$=ue(),C=ue(),T=ue({scrollWidth:0,clientWidth:0}),I=ue(),[P,M]=Xt(!1),[O,D]=Xt(!1),[R,A]=vJ(new Map),E=L(()=>tC(b.value)),k=L(()=>E.value.map(fe=>R.value.get(fe))),N=L(()=>b.value.length),B=tke(k,N,qe(e,"direction")),F=L(()=>e.scroll&&LP(e.scroll.y)),H=L(()=>e.scroll&&LP(e.scroll.x)||!!e.expandFixed),V=L(()=>H.value&&b.value.some(fe=>{let{fixed:ye}=fe;return ye})),X=ue(),Q=vke(qe(e,"sticky"),qe(e,"prefixCls")),K=Bt({}),te=L(()=>{const fe=Object.values(K)[0];return(F.value||Q.value.isSticky)&&fe}),q=(fe,ye)=>{ye?K[fe]=ye:delete K[fe]},ee=ue({}),J=ue({}),G=ue({});Ye(()=>{F.value&&(J.value={overflowY:"scroll",maxHeight:_c(e.scroll.y)}),H.value&&(ee.value={overflowX:"auto"},F.value||(J.value={overflowY:"hidden"}),G.value={width:e.scroll.x===!0?"auto":_c(e.scroll.x),minWidth:"100%"})});const Y=(fe,ye)=>{lw(x.value)&&A(Me=>{if(Me.get(fe)!==ye){const De=new Map(Me);return De.set(fe,ye),De}return Me})},[oe,W]=eke(null);function Z(fe,ye){if(!ye)return;if(typeof ye=="function"){ye(fe);return}const Me=ye.$el||ye;Me.scrollLeft!==fe&&(Me.scrollLeft=fe)}const ne=fe=>{let{currentTarget:ye,scrollLeft:Me}=fe;var De;const Be=e.direction==="rtl",we=typeof Me=="number"?Me:ye.scrollLeft,_e=ye||mke;if((!W()||W()===_e)&&(oe(_e),Z(we,$.value),Z(we,C.value),Z(we,I.value),Z(we,(De=X.value)===null||De===void 0?void 0:De.setScrollLeft)),ye){const{scrollWidth:Ie,clientWidth:Le}=ye;Be?(M(-we0)):(M(we>0),D(we{H.value&&C.value?ne({currentTarget:C.value}):(M(!1),D(!1))};let le;const ie=fe=>{fe!==m.value&&(re(),m.value=x.value?x.value.offsetWidth:fe)},de=fe=>{let{width:ye}=fe;if(clearTimeout(le),m.value===0){ie(ye);return}le=setTimeout(()=>{ie(ye)},100)};Se([H,()=>e.data,()=>e.columns],()=>{H.value&&re()},{flush:"post"});const[pe,me]=Xt(0);RNe(),tt(()=>{_t(()=>{var fe,ye;re(),me(x0e(C.value).width),T.value={scrollWidth:((fe=C.value)===null||fe===void 0?void 0:fe.scrollWidth)||0,clientWidth:((ye=C.value)===null||ye===void 0?void 0:ye.clientWidth)||0}})}),Qr(()=>{_t(()=>{var fe,ye;const Me=((fe=C.value)===null||fe===void 0?void 0:fe.scrollWidth)||0,De=((ye=C.value)===null||ye===void 0?void 0:ye.clientWidth)||0;(T.value.scrollWidth!==Me||T.value.clientWidth!==De)&&(T.value={scrollWidth:Me,clientWidth:De})})}),Ye(()=>{e.internalHooks===FP&&e.internalRefs&&e.onUpdateInternalRefs({body:C.value?C.value.$el||C.value:null})},{flush:"post"});const he=L(()=>e.tableLayout?e.tableLayout:V.value?e.scroll.x==="max-content"?"auto":"fixed":F.value||Q.value.isSticky||b.value.some(fe=>{let{ellipsis:ye}=fe;return ye})?"fixed":"auto"),xe=()=>{var fe;return a.value?null:((fe=r.emptyText)===null||fe===void 0?void 0:fe.call(r))||"No Data"};TNe(Bt(_(_({},ja(SB(e,"prefixCls","direction","transformCellText"))),{getComponent:s,scrollbarSize:pe,fixedInfoList:L(()=>b.value.map((fe,ye)=>_3(ye,ye,b.value,B.value,e.direction))),isSticky:L(()=>Q.value.isSticky),summaryCollect:q}))),GNe(Bt(_(_({},ja(SB(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:y,flattenColumns:b,tableLayout:he,expandIcon:c,expandableType:f,onTriggerExpand:g}))),XNe({onColumnResize:Y}),VNe({componentWidth:m,fixHeader:F,fixColumn:V,horizonScroll:H});const Ce=()=>w(qNe,{data:o.value,measureColumnWidth:F.value||H.value||Q.value.isSticky,expandedKeys:p.value,rowExpandable:e.rowExpandable,getRowKey:u.value,customRow:e.customRow,childrenColumnName:d.value},{emptyNode:xe}),ve=()=>w(pJ,{colWidths:b.value.map(fe=>{let{width:ye}=fe;return ye}),columns:b.value},null);return()=>{var fe;const{prefixCls:ye,scroll:Me,tableLayout:De,direction:Be,title:we=r.title,footer:_e=r.footer,id:Ie,showHeader:Le,customHeaderRow:Ke}=e,{isSticky:ke,offsetHeader:We,offsetSummary:gt,offsetScroll:Dt,stickyClassName:At,container:kt}=Q.value,Ut=s(["table"],"table"),Wn=s(["body"]),Zn=(fe=r.summary)===null||fe===void 0?void 0:fe.call(r,{pageData:o.value});let or=()=>null;const On={colWidths:k.value,columCount:b.value.length,stickyOffsets:B.value,customHeaderRow:Ke,fixHeader:F.value,scroll:Me};if(F.value||ke){let no=()=>null;typeof Wn=="function"?(no=()=>Wn(o.value,{scrollbarSize:pe.value,ref:C,onScroll:ne}),On.colWidths=b.value.map((yi,Lu)=>{let{width:Re}=yi;const ct=Lu===y.value.length-1?Re-pe.value:Re;return typeof ct=="number"&&!Number.isNaN(ct)?ct:0})):no=()=>w("div",{style:_(_({},ee.value),J.value),onScroll:ne,ref:C,class:ce(`${ye}-body`)},[w(Ut,{style:_(_({},G.value),{tableLayout:he.value})},{default:()=>[ve(),Ce(),!te.value&&Zn&&w(s0,{stickyOffsets:B.value,flattenColumns:b.value},{default:()=>[Zn]})]})]);const Bo=_(_(_({noData:!o.value.length,maxContentScroll:H.value&&Me.x==="max-content"},On),S.value),{direction:Be,stickyClassName:At,onScroll:ne});or=()=>w(Qe,null,[Le!==!1&&w(bB,z(z({},Bo),{},{stickyTopOffset:We,class:`${ye}-header`,ref:$}),{default:yi=>w(Qe,null,[w(mB,yi,null),te.value==="top"&&w(s0,yi,{default:()=>[Zn]})])}),no(),te.value&&te.value!=="top"&&w(bB,z(z({},Bo),{},{stickyBottomOffset:gt,class:`${ye}-summary`,ref:I}),{default:yi=>w(s0,yi,{default:()=>[Zn]})}),ke&&C.value&&w(hke,{ref:X,offsetScroll:Dt,scrollBodyRef:C,onScroll:ne,container:kt,scrollBodySizeInfo:T.value},null)])}else or=()=>w("div",{style:_(_({},ee.value),J.value),class:ce(`${ye}-content`),onScroll:ne,ref:C},[w(Ut,{style:_(_({},G.value),{tableLayout:he.value})},{default:()=>[ve(),Le!==!1&&w(mB,z(z({},On),S.value),null),Ce(),Zn&&w(s0,{stickyOffsets:B.value,flattenColumns:b.value},{default:()=>[Zn]})]})]);const Rr=Mu(n,{aria:!0,data:!0}),mi=()=>w("div",z(z({},Rr),{},{class:ce(ye,{[`${ye}-rtl`]:Be==="rtl",[`${ye}-ping-left`]:P.value,[`${ye}-ping-right`]:O.value,[`${ye}-layout-fixed`]:De==="fixed",[`${ye}-fixed-header`]:F.value,[`${ye}-fixed-column`]:V.value,[`${ye}-scroll-horizontal`]:H.value,[`${ye}-has-fix-left`]:b.value[0]&&b.value[0].fixed,[`${ye}-has-fix-right`]:b.value[N.value-1]&&b.value[N.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:Ie,ref:x}),[we&&w(BP,{class:`${ye}-title`},{default:()=>[we(o.value)]}),w("div",{class:`${ye}-container`},[or()]),_e&&w(BP,{class:`${ye}-footer`},{default:()=>[_e(o.value)]})]);return H.value?w(Mo,{onResize:de},{default:mi}):mi()}}});function bke(){const e=_({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e}const zP=10;function Ske(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(i=>{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function xke(e,t,n){const r=L(()=>t.value&&typeof t.value=="object"?t.value:{}),i=L(()=>r.value.total||0),[o,a]=Xt(()=>({current:"defaultCurrent"in r.value?r.value.defaultCurrent:1,pageSize:"defaultPageSize"in r.value?r.value.defaultPageSize:zP})),l=L(()=>{const c=bke(o.value,r.value,{total:i.value>0?i.value:e.value}),d=Math.ceil((i.value||e.value)/c.pageSize);return c.current>d&&(c.current=d||1),c}),s=(c,d)=>{t.value!==!1&&a({current:c!=null?c:1,pageSize:d||l.value.pageSize})},u=(c,d)=>{var f,h;t.value&&((h=(f=r.value).onChange)===null||h===void 0||h.call(f,c,d)),s(c,d),n(c,d||l.value.pageSize)};return[L(()=>t.value===!1?{}:_(_({},l.value),{onChange:u})),s]}function wke(e,t,n){const r=ae({});Se([e,t,n],()=>{const o=new Map,a=n.value,l=t.value;function s(u){u.forEach((c,d)=>{const f=a(c,d);o.set(f,c),c&&typeof c=="object"&&l in c&&s(c[l]||[])})}s(e.value),r.value={kvMap:o}},{deep:!0,immediate:!0});function i(o){return r.value.kvMap.get(o)}return[i]}const bl={},HP="SELECT_ALL",VP="SELECT_INVERT",WP="SELECT_NONE",Cke=[];function mJ(e,t){let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[...n,...mJ(e,r[e])])}),n}function $ke(e,t){const n=L(()=>{const I=e.value||{},{checkStrictly:P=!0}=I;return _(_({},I),{checkStrictly:P})}),[r,i]=dn(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||Cke,{value:L(()=>n.value.selectedRowKeys)}),o=ae(new Map),a=I=>{if(n.value.preserveSelectedRowKeys){const P=new Map;I.forEach(M=>{let O=t.getRecordByKey(M);!O&&o.value.has(M)&&(O=o.value.get(M)),P.set(M,O)}),o.value=P}};Ye(()=>{a(r.value)});const l=L(()=>n.value.checkStrictly?null:Zm(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),s=L(()=>mJ(t.childrenColumnName.value,t.pageData.value)),u=L(()=>{const I=new Map,P=t.getRowKey.value,M=n.value.getCheckboxProps;return s.value.forEach((O,D)=>{const R=P(O,D),A=(M?M(O):null)||{};I.set(R,A)}),I}),{maxLevel:c,levelEntities:d}=Gw(l),f=I=>{var P;return!!(!((P=u.value.get(t.getRowKey.value(I)))===null||P===void 0)&&P.disabled)},h=L(()=>{if(n.value.checkStrictly)return[r.value||[],[]];const{checkedKeys:I,halfCheckedKeys:P}=To(r.value,!0,l.value,c.value,d.value,f);return[I||[],P]}),v=L(()=>h.value[0]),p=L(()=>h.value[1]),g=L(()=>{const I=n.value.type==="radio"?v.value.slice(0,1):v.value;return new Set(I)}),m=L(()=>n.value.type==="radio"?new Set:new Set(p.value)),[y,b]=Xt(null),S=I=>{let P,M;a(I);const{preserveSelectedRowKeys:O,onChange:D}=n.value,{getRecordByKey:R}=t;O?(P=I,M=I.map(A=>o.value.get(A))):(P=[],M=[],I.forEach(A=>{const E=R(A);E!==void 0&&(P.push(A),M.push(E))})),i(P),D==null||D(P,M)},x=(I,P,M,O)=>{const{onSelect:D}=n.value,{getRecordByKey:R}=t||{};if(D){const A=M.map(E=>R(E));D(R(I),P,A,O)}S(M)},$=L(()=>{const{onSelectInvert:I,onSelectNone:P,selections:M,hideSelectAll:O}=n.value,{data:D,pageData:R,getRowKey:A,locale:E}=t;return!M||O?null:(M===!0?[HP,VP,WP]:M).map(N=>N===HP?{key:"all",text:E.value.selectionAll,onSelect(){S(D.value.map((B,F)=>A.value(B,F)).filter(B=>{const F=u.value.get(B);return!(F!=null&&F.disabled)||g.value.has(B)}))}}:N===VP?{key:"invert",text:E.value.selectInvert,onSelect(){const B=new Set(g.value);R.value.forEach((H,V)=>{const X=A.value(H,V),Q=u.value.get(X);Q!=null&&Q.disabled||(B.has(X)?B.delete(X):B.add(X))});const F=Array.from(B);I&&(on(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),I(F)),S(F)}}:N===WP?{key:"none",text:E.value.selectNone,onSelect(){P==null||P(),S(Array.from(g.value).filter(B=>{const F=u.value.get(B);return F==null?void 0:F.disabled}))}}:N)}),C=L(()=>s.value.length);return[I=>{var P;const{onSelectAll:M,onSelectMultiple:O,columnWidth:D,type:R,fixed:A,renderCell:E,hideSelectAll:k,checkStrictly:N}=n.value,{prefixCls:B,getRecordByKey:F,getRowKey:H,expandType:V,getPopupContainer:X}=t;if(!e.value)return I.filter(ie=>ie!==bl);let Q=I.slice();const K=new Set(g.value),te=s.value.map(H.value).filter(ie=>!u.value.get(ie).disabled),q=te.every(ie=>K.has(ie)),ee=te.some(ie=>K.has(ie)),J=()=>{const ie=[];q?te.forEach(pe=>{K.delete(pe),ie.push(pe)}):te.forEach(pe=>{K.has(pe)||(K.add(pe),ie.push(pe))});const de=Array.from(K);M==null||M(!q,de.map(pe=>F(pe)),ie.map(pe=>F(pe))),S(de)};let G;if(R!=="radio"){let ie;if($.value){const xe=w(Ln,{getPopupContainer:X.value},{default:()=>[$.value.map((Ce,ve)=>{const{key:fe,text:ye,onSelect:Me}=Ce;return w(Ln.Item,{key:fe||ve,onClick:()=>{Me==null||Me(te)}},{default:()=>[ye]})})]});ie=w("div",{class:`${B.value}-selection-extra`},[w(Ka,{overlay:xe,getPopupContainer:X.value},{default:()=>[w("span",null,[w(Hm,null,null)])]})])}const de=s.value.map((xe,Ce)=>{const ve=H.value(xe,Ce),fe=u.value.get(ve)||{};return _({checked:K.has(ve)},fe)}).filter(xe=>{let{disabled:Ce}=xe;return Ce}),pe=!!de.length&&de.length===C.value,me=pe&&de.every(xe=>{let{checked:Ce}=xe;return Ce}),he=pe&&de.some(xe=>{let{checked:Ce}=xe;return Ce});G=!k&&w("div",{class:`${B.value}-selection`},[w(Io,{checked:pe?me:!!C.value&&q,indeterminate:pe?!me&&he:!q&&ee,onChange:J,disabled:C.value===0||pe,"aria-label":ie?"Custom selection":"Select all",skipGroup:!0},null),ie])}let Y;R==="radio"?Y=ie=>{let{record:de,index:pe}=ie;const me=H.value(de,pe),he=K.has(me);return{node:w(ai,z(z({},u.value.get(me)),{},{checked:he,onClick:xe=>xe.stopPropagation(),onChange:xe=>{K.has(me)||x(me,!0,[me],xe.nativeEvent)}}),null),checked:he}}:Y=ie=>{let{record:de,index:pe}=ie;var me;const he=H.value(de,pe),xe=K.has(he),Ce=m.value.has(he),ve=u.value.get(he);let fe;return V.value==="nest"?(fe=Ce,on(typeof(ve==null?void 0:ve.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):fe=(me=ve==null?void 0:ve.indeterminate)!==null&&me!==void 0?me:Ce,{node:w(Io,z(z({},ve),{},{indeterminate:fe,checked:xe,skipGroup:!0,onClick:ye=>ye.stopPropagation(),onChange:ye=>{let{nativeEvent:Me}=ye;const{shiftKey:De}=Me;let Be=-1,we=-1;if(De&&N){const _e=new Set([y.value,he]);te.some((Ie,Le)=>{if(_e.has(Ie))if(Be===-1)Be=Le;else return we=Le,!0;return!1})}if(we!==-1&&Be!==we&&N){const _e=te.slice(Be,we+1),Ie=[];xe?_e.forEach(Ke=>{K.has(Ke)&&(Ie.push(Ke),K.delete(Ke))}):_e.forEach(Ke=>{K.has(Ke)||(Ie.push(Ke),K.add(Ke))});const Le=Array.from(K);O==null||O(!xe,Le.map(Ke=>F(Ke)),Ie.map(Ke=>F(Ke))),S(Le)}else{const _e=v.value;if(N){const Ie=xe?_a(_e,he):ml(_e,he);x(he,!xe,Ie,Me)}else{const Ie=To([..._e,he],!0,l.value,c.value,d.value,f),{checkedKeys:Le,halfCheckedKeys:Ke}=Ie;let ke=Le;if(xe){const We=new Set(Le);We.delete(he),ke=To(Array.from(We),{checked:!1,halfCheckedKeys:Ke},l.value,c.value,d.value,f).checkedKeys}x(he,!xe,ke,Me)}}b(he)}}),null),checked:xe}};const oe=ie=>{let{record:de,index:pe}=ie;const{node:me,checked:he}=Y({record:de,index:pe});return E?E(he,de,pe,me):me};if(!Q.includes(bl))if(Q.findIndex(ie=>{var de;return((de=ie[vh])===null||de===void 0?void 0:de.columnType)==="EXPAND_COLUMN"})===0){const[ie,...de]=Q;Q=[ie,bl,...de]}else Q=[bl,...Q];const W=Q.indexOf(bl);Q=Q.filter((ie,de)=>ie!==bl||de===W);const Z=Q[W-1],ne=Q[W+1];let re=A;re===void 0&&((ne==null?void 0:ne.fixed)!==void 0?re=ne.fixed:(Z==null?void 0:Z.fixed)!==void 0&&(re=Z.fixed)),re&&Z&&((P=Z[vh])===null||P===void 0?void 0:P.columnType)==="EXPAND_COLUMN"&&Z.fixed===void 0&&(Z.fixed=re);const le={fixed:re,width:D,className:`${B.value}-selection-column`,title:n.value.columnTitle||G,customRender:oe,[vh]:{class:`${B.value}-selection-col`}};return Q.map(ie=>ie===bl?le:ie)},g]}var _ke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const Tke=_ke;function xB(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[];const t=Jt(e),n=[];return t.forEach(r=>{var i,o,a,l;if(!r)return;const s=r.key,u=((i=r.props)===null||i===void 0?void 0:i.style)||{},c=((o=r.props)===null||o===void 0?void 0:o.class)||"",d=r.props||{};for(const[g,m]of Object.entries(d))d[Pd(g)]=m;const f=r.children||{},{default:h}=f,v=Eke(f,["default"]),p=_(_(_({},v),d),{style:u,class:c});if(s&&(p.key=s),!((a=r.type)===null||a===void 0)&&a.__ANT_TABLE_COLUMN_GROUP)p.children=yJ(typeof h=="function"?h():h);else{const g=(l=r.children)===null||l===void 0?void 0:l.default;p.customRender=p.customRender||g}n.push(p)}),n}const Zb="ascend",C_="descend";function ES(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function CB(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function Rke(e,t){return t?e[e.indexOf(t)+1]:e[0]}function jP(e,t,n){let r=[];function i(o,a){r.push({column:o,key:yd(o,a),multiplePriority:ES(o),sortOrder:o.sortOrder})}return(e||[]).forEach((o,a)=>{const l=ty(a,n);o.children?("sortOrder"in o&&i(o,l),r=[...r,...jP(o.children,t,l)]):o.sorter&&("sortOrder"in o?i(o,l):t&&o.defaultSortOrder&&r.push({column:o,key:yd(o,l),multiplePriority:ES(o),sortOrder:o.defaultSortOrder}))}),r}function bJ(e,t,n,r,i,o,a,l){return(t||[]).map((s,u)=>{const c=ty(u,l);let d=s;if(d.sorter){const f=d.sortDirections||i,h=d.showSorterTooltip===void 0?a:d.showSorterTooltip,v=yd(d,c),p=n.find(I=>{let{key:P}=I;return P===v}),g=p?p.sortOrder:null,m=Rke(f,g),y=f.includes(Zb)&&w(Dke,{class:ce(`${e}-column-sorter-up`,{active:g===Zb}),role:"presentation"},null),b=f.includes(C_)&&w(Pke,{role:"presentation",class:ce(`${e}-column-sorter-down`,{active:g===C_})},null),{cancelSort:S,triggerAsc:x,triggerDesc:$}=o||{};let C=S;m===C_?C=$:m===Zb&&(C=x);const T=typeof h=="object"?h:{title:C};d=_(_({},d),{className:ce(d.className,{[`${e}-column-sort`]:g}),title:I=>{const P=w("div",{class:`${e}-column-sorters`},[w("span",{class:`${e}-column-title`},[P3(s.title,I)]),w("span",{class:ce(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(y&&b)})},[w("span",{class:`${e}-column-sorter-inner`},[y,b])])]);return h?w(Pi,T,{default:()=>[P]}):P},customHeaderCell:I=>{const P=s.customHeaderCell&&s.customHeaderCell(I)||{},M=P.onClick,O=P.onKeydown;return P.onClick=D=>{r({column:s,key:v,sortOrder:m,multiplePriority:ES(s)}),M&&M(D)},P.onKeydown=D=>{D.keyCode===Pe.ENTER&&(r({column:s,key:v,sortOrder:m,multiplePriority:ES(s)}),O==null||O(D))},g&&(P["aria-sort"]=g==="ascend"?"ascending":"descending"),P.class=ce(P.class,`${e}-column-has-sorters`),P.tabindex=0,P}})}return"children"in d&&(d=_(_({},d),{children:bJ(e,d.children,n,r,i,o,a,c)})),d})}function $B(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function _B(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map($B);return t.length===0&&e.length?_(_({},$B(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function GP(e,t,n){const r=t.slice().sort((a,l)=>l.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:l},sortOrder:s}=a;return CB(l)&&s});return o.length?i.sort((a,l)=>{for(let s=0;s{const l=a[n];return l?_(_({},a),{[n]:GP(l,t,n)}):a}):i}function Lke(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:o,showSorterTooltip:a}=e;const[l,s]=Xt(jP(n.value,!0)),u=L(()=>{let v=!0;const p=jP(n.value,!1);if(!p.length)return l.value;const g=[];function m(b){v?g.push(b):g.push(_(_({},b),{sortOrder:null}))}let y=null;return p.forEach(b=>{y===null?(m(b),b.sortOrder&&(b.multiplePriority===!1?v=!1:y=!0)):(y&&b.multiplePriority!==!1||(v=!1),m(b))}),g}),c=L(()=>{const v=u.value.map(p=>{let{column:g,sortOrder:m}=p;return{column:g,order:m}});return{sortColumns:v,sortColumn:v[0]&&v[0].column,sortOrder:v[0]&&v[0].order}});function d(v){let p;v.multiplePriority===!1||!u.value.length||u.value[0].multiplePriority===!1?p=[v]:p=[...u.value.filter(g=>{let{key:m}=g;return m!==v.key}),v],s(p),r(_B(p),p)}const f=v=>bJ(t.value,v,u.value,d,i.value,o.value,a.value),h=L(()=>_B(u.value));return[f,u,c,h]}var Nke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const kke=Nke;function TB(e){for(var t=1;t{const{keyCode:t}=e;t===Pe.ENTER&&e.stopPropagation()},Hke=(e,t)=>{let{slots:n}=t;var r;return w("div",{onClick:i=>i.stopPropagation(),onKeydown:zke},[(r=n.default)===null||r===void 0?void 0:r.call(n)])},Vke=Hke,IB=se({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:je(),onChange:be(),filterSearch:Xe([Boolean,Function]),tablePrefixCls:je(),locale:He()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:o}=e;return r?w("div",{class:`${i}-filter-dropdown-search`},[w(Jn,{placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${i}-filter-dropdown-search-input`},{prefix:()=>w(xw,null,null)})]):null}}});var PB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.motion?e.motion:Gm()),s=(u,c)=>{var d,f,h,v;c==="appear"?(f=(d=l.value)===null||d===void 0?void 0:d.onAfterEnter)===null||f===void 0||f.call(d,u):c==="leave"&&((v=(h=l.value)===null||h===void 0?void 0:h.onAfterLeave)===null||v===void 0||v.call(h,u)),a.value||e.onMotionEnd(),a.value=!0};return Se(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&i.value&&_t(()=>{i.value=!1})},{immediate:!0,flush:"post"}),tt(()=>{e.motionNodes&&e.onMotionStart()}),ht(()=>{e.motionNodes&&s()}),()=>{const{motion:u,motionNodes:c,motionType:d,active:f,eventKey:h}=e,v=PB(e,["motion","motionNodes","motionType","active","eventKey"]);return c?w(dr,z(z({},l.value),{},{appear:d==="show",onAfterAppear:p=>s(p,"appear"),onAfterLeave:p=>s(p,"leave")}),{default:()=>[Ur(w("div",{class:`${o.value.prefixCls}-treenode-motion`},[c.map(p=>{const g=PB(p.data,[]),{title:m,key:y,isStart:b,isEnd:S}=p;return delete g.children,w(vP,z(z({},g),{},{title:m,active:f,data:p.data,key:y,eventKey:y,isStart:b,isEnd:S}),r)})]),[[hi,i.value]])]}):w(vP,z(z({class:n.class,style:n.style},v),{},{active:f,eventKey:h}),r)}}});function jke(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){const l=new Map;o.forEach(u=>{l.set(u,!0)});const s=a.filter(u=>!l.has(u));return s.length===1?s[0]:null}return na.key===n),i=e[r+1],o=t.findIndex(a=>a.key===n);if(i){const a=t.findIndex(l=>l.key===i.key);return t.slice(o+1,a)}return t.slice(o+1)}var AB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{},bd=`RC_TREE_MOTION_${Math.random()}`,KP={key:bd},SJ={key:bd,level:0,index:0,pos:"0",node:KP,nodes:[KP]},DB={parent:null,children:[],pos:SJ.pos,data:KP,title:null,key:bd,isStart:[],isEnd:[]};function EB(e,t,n,r){return t===!1||!n?e:e.slice(0,Math.ceil(n/r)+1)}function RB(e){const{key:t,pos:n}=e;return qm(t,n)}function Kke(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const Uke=se({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:uAe,setup(e,t){let{expose:n,attrs:r}=t;const i=ue(),o=ue(),{expandedKeys:a,flattenNodes:l}=Wq();n({scrollTo:p=>{i.value.scrollTo(p)},getIndentWidth:()=>o.value.offsetWidth});const s=ae(l.value),u=ae([]),c=ue(null);function d(){s.value=l.value,u.value=[],c.value=null,e.onListChangeEnd()}const f=AE();Se([()=>a.value.slice(),l],(p,g)=>{let[m,y]=p,[b,S]=g;const x=jke(b,m);if(x.key!==null){const{virtual:$,height:C,itemHeight:T}=e;if(x.add){const I=S.findIndex(O=>{let{key:D}=O;return D===x.key}),P=EB(MB(S,y,x.key),$,C,T),M=S.slice();M.splice(I+1,0,DB),s.value=M,u.value=P,c.value="show"}else{const I=y.findIndex(O=>{let{key:D}=O;return D===x.key}),P=EB(MB(y,S,x.key),$,C,T),M=y.slice();M.splice(I+1,0,DB),s.value=M,u.value=P,c.value="hide"}}else S!==y&&(s.value=y)}),Se(()=>f.value.dragging,p=>{p||d()});const h=L(()=>e.motion===void 0?s.value:l.value),v=()=>{e.onActiveChange(null)};return()=>{const p=_(_({},e),r),{prefixCls:g,selectable:m,checkable:y,disabled:b,motion:S,height:x,itemHeight:$,virtual:C,focusable:T,activeItem:I,focused:P,tabindex:M,onKeydown:O,onFocus:D,onBlur:R,onListChangeStart:A,onListChangeEnd:E}=p,k=AB(p,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return w(Qe,null,[P&&I&&w("span",{style:OB,"aria-live":"assertive"},[Kke(I)]),w("div",null,[w("input",{style:OB,disabled:T===!1||b,tabindex:T!==!1?M:null,onKeydown:O,onFocus:D,onBlur:R,value:"",onChange:Gke,"aria-label":"for screen reader"},null)]),w("div",{class:`${g}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[w("div",{class:`${g}-indent`},[w("div",{ref:o,class:`${g}-indent-unit`},null)])]),w(yX,z(z({},yt(k,["onActiveChange"])),{},{data:h.value,itemKey:RB,height:x,fullHeight:!1,virtual:C,itemHeight:$,prefixCls:`${g}-list`,ref:i,onVisibleChange:(N,B)=>{const F=new Set(N);B.filter(V=>!F.has(V)).some(V=>RB(V)===bd)&&d()}}),{default:N=>{const{pos:B}=N,F=AB(N.data,[]),{title:H,key:V,isStart:X,isEnd:Q}=N,K=qm(V,B);return delete F.key,delete F.children,w(Wke,z(z({},F),{},{eventKey:K,title:H,active:!!I&&V===I.key,data:N.data,isStart:X,isEnd:Q,motion:S,motionNodes:V===bd?u.value:null,motionType:c.value,onMotionStart:A,onMotionEnd:d,onMousemove:v}),null)}})])}}});function Xke(e){let{dropPosition:t,dropLevelOffset:n,indent:r}=e;const i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:i.top=0,i.left=`${-n*r}px`;break;case 1:i.bottom=0,i.left=`${-n*r}px`;break;case 0:i.bottom=0,i.left=`${r}`;break}return w("div",{style:i},null)}const Yke=10,xJ=se({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:ft(Gq(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Xke,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ae(!1);let a={};const l=ae(),s=ae([]),u=ae([]),c=ae([]),d=ae([]),f=ae([]),h=ae([]),v={},p=Bt({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),g=ae([]);Se([()=>e.treeData,()=>e.children],()=>{g.value=e.treeData!==void 0?e.treeData.slice():gP(mt(e.children))},{immediate:!0,deep:!0});const m=ae({}),y=ae(!1),b=ae(null),S=ae(!1),x=L(()=>Hw(e.fieldNames)),$=ae();let C=null,T=null,I=null;const P=L(()=>({expandedKeysSet:M.value,selectedKeysSet:O.value,loadedKeysSet:D.value,loadingKeysSet:R.value,checkedKeysSet:A.value,halfCheckedKeysSet:E.value,dragOverNodeKey:p.dragOverNodeKey,dropPosition:p.dropPosition,keyEntities:m.value})),M=L(()=>new Set(h.value)),O=L(()=>new Set(s.value)),D=L(()=>new Set(d.value)),R=L(()=>new Set(f.value)),A=L(()=>new Set(u.value)),E=L(()=>new Set(c.value));Ye(()=>{if(g.value){const we=Zm(g.value,{fieldNames:x.value});m.value=_({[bd]:SJ},we.keyEntities)}});let k=!1;Se([()=>e.expandedKeys,()=>e.autoExpandParent,m],(we,_e)=>{let[Ie,Le]=we,[Ke,ke]=_e,We=h.value;if(e.expandedKeys!==void 0||k&&Le!==ke)We=e.autoExpandParent||!k&&e.defaultExpandParent?pP(e.expandedKeys,m.value):e.expandedKeys;else if(!k&&e.defaultExpandAll){const gt=_({},m.value);delete gt[bd],We=Object.keys(gt).map(Dt=>gt[Dt].key)}else!k&&e.defaultExpandedKeys&&(We=e.autoExpandParent||e.defaultExpandParent?pP(e.defaultExpandedKeys,m.value):e.defaultExpandedKeys);We&&(h.value=We),k=!0},{immediate:!0});const N=ae([]);Ye(()=>{N.value=mAe(g.value,h.value,x.value)}),Ye(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=VN(e.selectedKeys,e):!k&&e.defaultSelectedKeys&&(s.value=VN(e.defaultSelectedKeys,e)))});const{maxLevel:B,levelEntities:F}=Gw(m);Ye(()=>{if(e.checkable){let we;if(e.checkedKeys!==void 0?we=o_(e.checkedKeys)||{}:!k&&e.defaultCheckedKeys?we=o_(e.defaultCheckedKeys)||{}:g.value&&(we=o_(e.checkedKeys)||{checkedKeys:u.value,halfCheckedKeys:c.value}),we){let{checkedKeys:_e=[],halfCheckedKeys:Ie=[]}=we;e.checkStrictly||({checkedKeys:_e,halfCheckedKeys:Ie}=To(_e,!0,m.value,B.value,F.value)),u.value=_e,c.value=Ie}}}),Ye(()=>{e.loadedKeys&&(d.value=e.loadedKeys)});const H=()=>{_(p,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},V=we=>{$.value.scrollTo(we)};Se(()=>e.activeKey,()=>{e.activeKey!==void 0&&(b.value=e.activeKey)},{immediate:!0}),Se(b,we=>{_t(()=>{we!==null&&V({key:we})})},{immediate:!0,flush:"post"});const X=we=>{e.expandedKeys===void 0&&(h.value=we)},Q=()=>{p.draggingNodeKey!==null&&_(p,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),C=null,I=null},K=(we,_e)=>{const{onDragend:Ie}=e;p.dragOverNodeKey=null,Q(),Ie==null||Ie({event:we,node:_e.eventData}),T=null},te=we=>{K(we,null),window.removeEventListener("dragend",te)},q=(we,_e)=>{const{onDragstart:Ie}=e,{eventKey:Le,eventData:Ke}=_e;T=_e,C={x:we.clientX,y:we.clientY};const ke=_a(h.value,Le);p.draggingNodeKey=Le,p.dragChildrenKeys=hAe(Le,m.value),l.value=$.value.getIndentWidth(),X(ke),window.addEventListener("dragend",te),Ie&&Ie({event:we,node:Ke})},ee=(we,_e)=>{const{onDragenter:Ie,onExpand:Le,allowDrop:Ke,direction:ke}=e,{pos:We,eventKey:gt}=_e;if(I!==gt&&(I=gt),!T){H();return}const{dropPosition:Dt,dropLevelOffset:At,dropTargetKey:kt,dropContainerKey:Ut,dropTargetPos:Wn,dropAllowed:Zn,dragOverNodeKey:or}=HN(we,T,_e,l.value,C,Ke,N.value,m.value,M.value,ke);if(p.dragChildrenKeys.indexOf(kt)!==-1||!Zn){H();return}if(a||(a={}),Object.keys(a).forEach(On=>{clearTimeout(a[On])}),T.eventKey!==_e.eventKey&&(a[We]=window.setTimeout(()=>{if(p.draggingNodeKey===null)return;let On=h.value.slice();const Rr=m.value[_e.eventKey];Rr&&(Rr.children||[]).length&&(On=ml(h.value,_e.eventKey)),X(On),Le&&Le(On,{node:_e.eventData,expanded:!0,nativeEvent:we})},800)),T.eventKey===kt&&At===0){H();return}_(p,{dragOverNodeKey:or,dropPosition:Dt,dropLevelOffset:At,dropTargetKey:kt,dropContainerKey:Ut,dropTargetPos:Wn,dropAllowed:Zn}),Ie&&Ie({event:we,node:_e.eventData,expandedKeys:h.value})},J=(we,_e)=>{const{onDragover:Ie,allowDrop:Le,direction:Ke}=e;if(!T)return;const{dropPosition:ke,dropLevelOffset:We,dropTargetKey:gt,dropContainerKey:Dt,dropAllowed:At,dropTargetPos:kt,dragOverNodeKey:Ut}=HN(we,T,_e,l.value,C,Le,N.value,m.value,M.value,Ke);p.dragChildrenKeys.indexOf(gt)!==-1||!At||(T.eventKey===gt&&We===0?p.dropPosition===null&&p.dropLevelOffset===null&&p.dropTargetKey===null&&p.dropContainerKey===null&&p.dropTargetPos===null&&p.dropAllowed===!1&&p.dragOverNodeKey===null||H():ke===p.dropPosition&&We===p.dropLevelOffset&>===p.dropTargetKey&&Dt===p.dropContainerKey&&kt===p.dropTargetPos&&At===p.dropAllowed&&Ut===p.dragOverNodeKey||_(p,{dropPosition:ke,dropLevelOffset:We,dropTargetKey:gt,dropContainerKey:Dt,dropTargetPos:kt,dropAllowed:At,dragOverNodeKey:Ut}),Ie&&Ie({event:we,node:_e.eventData}))},G=(we,_e)=>{I===_e.eventKey&&!we.currentTarget.contains(we.relatedTarget)&&(H(),I=null);const{onDragleave:Ie}=e;Ie&&Ie({event:we,node:_e.eventData})},Y=function(we,_e){let Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Le;const{dragChildrenKeys:Ke,dropPosition:ke,dropTargetKey:We,dropTargetPos:gt,dropAllowed:Dt}=p;if(!Dt)return;const{onDrop:At}=e;if(p.dragOverNodeKey=null,Q(),We===null)return;const kt=_(_({},Rb(We,mt(P.value))),{active:((Le=ye.value)===null||Le===void 0?void 0:Le.key)===We,data:m.value[We].node});Ke.indexOf(We);const Ut=OE(gt),Wn={event:we,node:Lb(kt),dragNode:T?T.eventData:null,dragNodesKeys:[T.eventKey].concat(Ke),dropToGap:ke!==0,dropPosition:ke+Number(Ut[Ut.length-1])};Ie||At==null||At(Wn),T=null},oe=(we,_e)=>{const{expanded:Ie,key:Le}=_e,Ke=N.value.filter(We=>We.key===Le)[0],ke=Lb(_(_({},Rb(Le,P.value)),{data:Ke.data}));X(Ie?_a(h.value,Le):ml(h.value,Le)),xe(we,ke)},W=(we,_e)=>{const{onClick:Ie,expandAction:Le}=e;Le==="click"&&oe(we,_e),Ie&&Ie(we,_e)},Z=(we,_e)=>{const{onDblclick:Ie,expandAction:Le}=e;(Le==="doubleclick"||Le==="dblclick")&&oe(we,_e),Ie&&Ie(we,_e)},ne=(we,_e)=>{let Ie=s.value;const{onSelect:Le,multiple:Ke}=e,{selected:ke}=_e,We=_e[x.value.key],gt=!ke;gt?Ke?Ie=ml(Ie,We):Ie=[We]:Ie=_a(Ie,We);const Dt=m.value,At=Ie.map(kt=>{const Ut=Dt[kt];return Ut?Ut.node:null}).filter(kt=>kt);e.selectedKeys===void 0&&(s.value=Ie),Le&&Le(Ie,{event:"select",selected:gt,node:_e,selectedNodes:At,nativeEvent:we})},re=(we,_e,Ie)=>{const{checkStrictly:Le,onCheck:Ke}=e,ke=_e[x.value.key];let We;const gt={event:"check",node:_e,checked:Ie,nativeEvent:we},Dt=m.value;if(Le){const At=Ie?ml(u.value,ke):_a(u.value,ke),kt=_a(c.value,ke);We={checked:At,halfChecked:kt},gt.checkedNodes=At.map(Ut=>Dt[Ut]).filter(Ut=>Ut).map(Ut=>Ut.node),e.checkedKeys===void 0&&(u.value=At)}else{let{checkedKeys:At,halfCheckedKeys:kt}=To([...u.value,ke],!0,Dt,B.value,F.value);if(!Ie){const Ut=new Set(At);Ut.delete(ke),{checkedKeys:At,halfCheckedKeys:kt}=To(Array.from(Ut),{checked:!1,halfCheckedKeys:kt},Dt,B.value,F.value)}We=At,gt.checkedNodes=[],gt.checkedNodesPositions=[],gt.halfCheckedKeys=kt,At.forEach(Ut=>{const Wn=Dt[Ut];if(!Wn)return;const{node:Zn,pos:or}=Wn;gt.checkedNodes.push(Zn),gt.checkedNodesPositions.push({node:Zn,pos:or})}),e.checkedKeys===void 0&&(u.value=At,c.value=kt)}Ke&&Ke(We,gt)},le=we=>{const _e=we[x.value.key],Ie=new Promise((Le,Ke)=>{const{loadData:ke,onLoad:We}=e;if(!ke||D.value.has(_e)||R.value.has(_e))return null;ke(we).then(()=>{const Dt=ml(d.value,_e),At=_a(f.value,_e);We&&We(Dt,{event:"load",node:we}),e.loadedKeys===void 0&&(d.value=Dt),f.value=At,Le()}).catch(Dt=>{const At=_a(f.value,_e);if(f.value=At,v[_e]=(v[_e]||0)+1,v[_e]>=Yke){const kt=ml(d.value,_e);e.loadedKeys===void 0&&(d.value=kt),Le()}Ke(Dt)}),f.value=ml(f.value,_e)});return Ie.catch(()=>{}),Ie},ie=(we,_e)=>{const{onMouseenter:Ie}=e;Ie&&Ie({event:we,node:_e})},de=(we,_e)=>{const{onMouseleave:Ie}=e;Ie&&Ie({event:we,node:_e})},pe=(we,_e)=>{const{onRightClick:Ie}=e;Ie&&(we.preventDefault(),Ie({event:we,node:_e}))},me=we=>{const{onFocus:_e}=e;y.value=!0,_e&&_e(we)},he=we=>{const{onBlur:_e}=e;y.value=!1,fe(null),_e&&_e(we)},xe=(we,_e)=>{let Ie=h.value;const{onExpand:Le,loadData:Ke}=e,{expanded:ke}=_e,We=_e[x.value.key];if(S.value)return;Ie.indexOf(We);const gt=!ke;if(gt?Ie=ml(Ie,We):Ie=_a(Ie,We),X(Ie),Le&&Le(Ie,{node:_e,expanded:gt,nativeEvent:we}),gt&&Ke){const Dt=le(_e);Dt&&Dt.then(()=>{}).catch(At=>{const kt=_a(h.value,We);X(kt),Promise.reject(At)})}},Ce=()=>{S.value=!0},ve=()=>{setTimeout(()=>{S.value=!1})},fe=we=>{const{onActiveChange:_e}=e;b.value!==we&&(e.activeKey!==void 0&&(b.value=we),we!==null&&V({key:we}),_e&&_e(we))},ye=L(()=>b.value===null?null:N.value.find(we=>{let{key:_e}=we;return _e===b.value})||null),Me=we=>{let _e=N.value.findIndex(Le=>{let{key:Ke}=Le;return Ke===b.value});_e===-1&&we<0&&(_e=N.value.length),_e=(_e+we+N.value.length)%N.value.length;const Ie=N.value[_e];if(Ie){const{key:Le}=Ie;fe(Le)}else fe(null)},De=L(()=>Lb(_(_({},Rb(b.value,P.value)),{data:ye.value.data,active:!0}))),Be=we=>{const{onKeydown:_e,checkable:Ie,selectable:Le}=e;switch(we.which){case Pe.UP:{Me(-1),we.preventDefault();break}case Pe.DOWN:{Me(1),we.preventDefault();break}}const Ke=ye.value;if(Ke&&Ke.data){const ke=Ke.data.isLeaf===!1||!!(Ke.data.children||[]).length,We=De.value;switch(we.which){case Pe.LEFT:{ke&&M.value.has(b.value)?xe({},We):Ke.parent&&fe(Ke.parent.key),we.preventDefault();break}case Pe.RIGHT:{ke&&!M.value.has(b.value)?xe({},We):Ke.children&&Ke.children.length&&fe(Ke.children[0].key),we.preventDefault();break}case Pe.ENTER:case Pe.SPACE:{Ie&&!We.disabled&&We.checkable!==!1&&!We.disableCheckbox?re({},We,!A.value.has(b.value)):!Ie&&Le&&!We.disabled&&We.selectable!==!1&&ne({},We);break}}}_e&&_e(we)};return i({onNodeExpand:xe,scrollTo:V,onKeydown:Be,selectedKeys:L(()=>s.value),checkedKeys:L(()=>u.value),halfCheckedKeys:L(()=>c.value),loadedKeys:L(()=>d.value),loadingKeys:L(()=>f.value),expandedKeys:L(()=>h.value)}),Jr(()=>{window.removeEventListener("dragend",te),o.value=!0}),aAe({expandedKeys:h,selectedKeys:s,loadedKeys:d,loadingKeys:f,checkedKeys:u,halfCheckedKeys:c,expandedKeysSet:M,selectedKeysSet:O,loadedKeysSet:D,loadingKeysSet:R,checkedKeysSet:A,halfCheckedKeysSet:E,flattenNodes:N}),()=>{const{draggingNodeKey:we,dropLevelOffset:_e,dropContainerKey:Ie,dropTargetKey:Le,dropPosition:Ke,dragOverNodeKey:ke}=p,{prefixCls:We,showLine:gt,focusable:Dt,tabindex:At=0,selectable:kt,showIcon:Ut,icon:Wn=r.icon,switcherIcon:Zn,draggable:or,checkable:On,checkStrictly:Rr,disabled:mi,motion:no,loadData:Bo,filterTreeNode:yi,height:Lu,itemHeight:Re,virtual:ct,dropIndicatorRender:ot,onContextmenu:nn,onScroll:Qn,direction:Dn,rootClassName:bi,rootStyle:xr}=e,{class:ga,style:Ni}=n,ro=Mu(_(_({},e),n),{aria:!0,data:!0});let wn;return or?typeof or=="object"?wn=or:typeof or=="function"?wn={nodeDraggable:or}:wn={}:wn=!1,w(oAe,{value:{prefixCls:We,selectable:kt,showIcon:Ut,icon:Wn,switcherIcon:Zn,draggable:wn,draggingNodeKey:we,checkable:On,customCheckable:r.checkable,checkStrictly:Rr,disabled:mi,keyEntities:m.value,dropLevelOffset:_e,dropContainerKey:Ie,dropTargetKey:Le,dropPosition:Ke,dragOverNodeKey:ke,dragging:we!==null,indent:l.value,direction:Dn,dropIndicatorRender:ot,loadData:Bo,filterTreeNode:yi,onNodeClick:W,onNodeDoubleClick:Z,onNodeExpand:xe,onNodeSelect:ne,onNodeCheck:re,onNodeLoad:le,onNodeMouseEnter:ie,onNodeMouseLeave:de,onNodeContextMenu:pe,onNodeDragStart:q,onNodeDragEnter:ee,onNodeDragOver:J,onNodeDragLeave:G,onNodeDragEnd:K,onNodeDrop:Y,slots:r}},{default:()=>[w("div",{role:"tree",class:ce(We,ga,bi,{[`${We}-show-line`]:gt,[`${We}-focused`]:y.value,[`${We}-active-focused`]:b.value!==null}),style:xr},[w(Uke,z({ref:$,prefixCls:We,style:Ni,disabled:mi,selectable:kt,checkable:!!On,motion:no,height:Lu,itemHeight:Re,virtual:ct,focusable:Dt,focused:y.value,tabindex:At,activeItem:ye.value,onFocus:me,onBlur:he,onKeydown:Be,onActiveChange:fe,onListChangeStart:Ce,onListChangeEnd:ve,onContextmenu:nn,onScroll:Qn},ro),null)])]})}}});var qke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const Zke=qke;function LB(e){for(var t=1;t({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),vBe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),pBe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o}=t,a=(o-t.fontSizeLG)/2,l=t.paddingXS;return{[n]:_(_({},st(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:_({},jl(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:fBe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${i}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:_({},jl(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:o,lineHeight:`${o}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:_(_({},hBe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:`${o}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:o/2*.8,height:o/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,marginBlockStart:a},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${o}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:`${o}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:_({lineHeight:`${o}px`,userSelect:"none"},vBe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${o/2}px !important`}}}}})}},gBe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},$J=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.paddingXS/2,o=t.controlHeightSM,a=Ue(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o});return[pBe(e,a),gBe(a)]},mBe=it("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:Yw(`${n}-checkbox`,e)},$J(n,e),jm(e)]}),_J=()=>{const e=Gq();return _(_({},e),{showLine:Xe([Boolean,Object]),multiple:$e(),autoExpandParent:$e(),checkStrictly:$e(),checkable:$e(),disabled:$e(),defaultExpandAll:$e(),defaultExpandParent:$e(),defaultExpandedKeys:Ot(),expandedKeys:Ot(),checkedKeys:Xe([Array,Object]),defaultCheckedKeys:Ot(),selectedKeys:Ot(),defaultSelectedKeys:Ot(),selectable:$e(),loadedKeys:Ot(),draggable:$e(),showIcon:$e(),icon:be(),switcherIcon:U.any,prefixCls:String,replaceFields:He(),blockNode:$e(),openAnimation:U.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":be(),"onUpdate:checkedKeys":be(),"onUpdate:expandedKeys":be()})},Qb=se({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:ft(_J(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:r,emit:i,slots:o}=t;e.treeData===void 0&&o.default;const{prefixCls:a,direction:l,virtual:s}=Ee("tree",e),[u,c]=mBe(a),d=ue();r({treeRef:d,onNodeExpand:function(){var g;(g=d.value)===null||g===void 0||g.onNodeExpand(...arguments)},scrollTo:g=>{var m;(m=d.value)===null||m===void 0||m.scrollTo(g)},selectedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.selectedKeys}),checkedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.checkedKeys}),halfCheckedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.halfCheckedKeys}),loadedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.loadedKeys}),loadingKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.loadingKeys}),expandedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.expandedKeys})}),Ye(()=>{on(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const h=(g,m)=>{i("update:checkedKeys",g),i("check",g,m)},v=(g,m)=>{i("update:expandedKeys",g),i("expand",g,m)},p=(g,m)=>{i("update:selectedKeys",g),i("select",g,m)};return()=>{const{showIcon:g,showLine:m,switcherIcon:y=o.switcherIcon,icon:b=o.icon,blockNode:S,checkable:x,selectable:$,fieldNames:C=e.replaceFields,motion:T=e.openAnimation,itemHeight:I=28,onDoubleclick:P,onDblclick:M}=e,O=_(_(_({},n),yt(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!m,dropIndicatorRender:dBe,fieldNames:C,icon:b,itemHeight:I}),D=o.default?xn(o.default()):void 0;return u(w(xJ,z(z({},O),{},{virtual:s.value,motion:T,ref:d,prefixCls:a.value,class:ce({[`${a.value}-icon-hide`]:!g,[`${a.value}-block-node`]:S,[`${a.value}-unselectable`]:!$,[`${a.value}-rtl`]:l.value==="rtl"},n.class,c.value),direction:l.value,checkable:x,selectable:$,switcherIcon:R=>CJ(a.value,y,R,o.leafIcon,m),onCheck:h,onExpand:v,onSelect:p,onDblclick:M||P,children:D}),_(_({},o),{checkable:()=>w("span",{class:`${a.value}-checkbox-inner`},null)})))}}});var yBe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const bBe=yBe;function zB(e){for(var t=1;t{if(l===Sl.End)return!1;if(s(u)){if(a.push(u),l===Sl.None)l=Sl.Start;else if(l===Sl.Start)return l=Sl.End,!1}else l===Sl.Start&&a.push(u);return n.includes(u)}),a}function $_(e,t,n){const r=[...t],i=[];return N3(e,n,(o,a)=>{const l=r.indexOf(o);return l!==-1&&(i.push(a),r.splice(l,1)),!!r.length}),i}var IBe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},_J()),{expandAction:Xe([Boolean,String])});function MBe(e){const{isLeaf:t,expanded:n}=e;return w(t?wJ:n?xBe:_Be,null,null)}const Jb=se({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:ft(PBe(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;var a;const l=ue(e.treeData||gP(xn((a=r.default)===null||a===void 0?void 0:a.call(r))));Se(()=>e.treeData,()=>{l.value=e.treeData}),Qr(()=>{_t(()=>{var I;e.treeData===void 0&&r.default&&(l.value=gP(xn((I=r.default)===null||I===void 0?void 0:I.call(r))))})});const s=ue(),u=ue(),c=L(()=>Hw(e.fieldNames)),d=ue();o({scrollTo:I=>{var P;(P=d.value)===null||P===void 0||P.scrollTo(I)},selectedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.selectedKeys}),checkedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.checkedKeys}),halfCheckedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.halfCheckedKeys}),loadedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadedKeys}),loadingKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadingKeys}),expandedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.expandedKeys})});const h=()=>{const{keyEntities:I}=Zm(l.value,{fieldNames:c.value});let P;return e.defaultExpandAll?P=Object.keys(I):e.defaultExpandParent?P=pP(e.expandedKeys||e.defaultExpandedKeys||[],I):P=e.expandedKeys||e.defaultExpandedKeys,P},v=ue(e.selectedKeys||e.defaultSelectedKeys||[]),p=ue(h());Se(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(v.value=e.selectedKeys)},{immediate:!0}),Se(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(p.value=e.expandedKeys)},{immediate:!0});const m=xD((I,P)=>{const{isLeaf:M}=P;M||I.shiftKey||I.metaKey||I.ctrlKey||d.value.onNodeExpand(I,P)},200,{leading:!0}),y=(I,P)=>{e.expandedKeys===void 0&&(p.value=I),i("update:expandedKeys",I),i("expand",I,P)},b=(I,P)=>{const{expandAction:M}=e;M==="click"&&m(I,P),i("click",I,P)},S=(I,P)=>{const{expandAction:M}=e;(M==="dblclick"||M==="doubleclick")&&m(I,P),i("doubleclick",I,P),i("dblclick",I,P)},x=(I,P)=>{const{multiple:M}=e,{node:O,nativeEvent:D}=P,R=O[c.value.key],A=_(_({},P),{selected:!0}),E=(D==null?void 0:D.ctrlKey)||(D==null?void 0:D.metaKey),k=D==null?void 0:D.shiftKey;let N;M&&E?(N=I,s.value=R,u.value=N,A.selectedNodes=$_(l.value,N,c.value)):M&&k?(N=Array.from(new Set([...u.value||[],...TBe({treeData:l.value,expandedKeys:p.value,startKey:R,endKey:s.value,fieldNames:c.value})])),A.selectedNodes=$_(l.value,N,c.value)):(N=[R],s.value=R,u.value=N,A.selectedNodes=$_(l.value,N,c.value)),i("update:selectedKeys",N),i("select",N,A),e.selectedKeys===void 0&&(v.value=N)},$=(I,P)=>{i("update:checkedKeys",I),i("check",I,P)},{prefixCls:C,direction:T}=Ee("tree",e);return()=>{const I=ce(`${C.value}-directory`,{[`${C.value}-directory-rtl`]:T.value==="rtl"},n.class),{icon:P=r.icon,blockNode:M=!0}=e,O=IBe(e,["icon","blockNode"]);return w(Qb,z(z(z({},n),{},{icon:P||MBe,ref:d,blockNode:M},O),{},{prefixCls:C.value,class:I,expandedKeys:p.value,selectedKeys:v.value,onSelect:x,onClick:b,onDblclick:S,onExpand:y,onCheck:$}),r)}}}),e1=vP,TJ=_(Qb,{DirectoryTree:Jb,TreeNode:e1,install:e=>(e.component(Qb.name,Qb),e.component(e1.name,e1),e.component(Jb.name,Jb),e)});function VB(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const r=new Set;function i(o,a){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const s=r.has(o);if(Jx(!s,"Warning: There may be circular references"),s)return!1;if(o===a)return!0;if(n&&l>1)return!1;r.add(o);const u=l+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(let c=0;ci(o[d],a[d],u))}return!1}return i(e,t)}const{SubMenu:ABe,Item:OBe}=Ln;function DBe(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function IJ(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function PJ(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((l,s)=>{const u=String(l.value);if(l.children)return w(ABe,{key:u||s,title:l.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[PJ({filters:l.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})]});const c=i?Io:ai,d=w(OBe,{key:l.value!==void 0?u:s},{default:()=>[w(c,{checked:r.includes(u)},null),w("span",null,[l.text])]});return o.trim()?typeof a=="function"?a(o,l)?d:void 0:IJ(o,l.text)?d:void 0:d})}const EBe=se({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const r=$3(),i=L(()=>{var V;return(V=e.filterMode)!==null&&V!==void 0?V:"menu"}),o=L(()=>{var V;return(V=e.filterSearch)!==null&&V!==void 0?V:!1}),a=L(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),l=L(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),s=ae(!1),u=L(()=>{var V;return!!(e.filterState&&(!((V=e.filterState.filteredKeys)===null||V===void 0)&&V.length||e.filterState.forceFiltered))}),c=L(()=>{var V;return rC((V=e.column)===null||V===void 0?void 0:V.filters)}),d=L(()=>{const{filterDropdown:V,slots:X={},customFilterDropdown:Q}=e.column;return V||X.filterDropdown&&r.value[X.filterDropdown]||Q&&r.value.customFilterDropdown}),f=L(()=>{const{filterIcon:V,slots:X={}}=e.column;return V||X.filterIcon&&r.value[X.filterIcon]||r.value.customFilterIcon}),h=V=>{var X;s.value=V,(X=l.value)===null||X===void 0||X.call(l,V)},v=L(()=>typeof a.value=="boolean"?a.value:s.value),p=L(()=>{var V;return(V=e.filterState)===null||V===void 0?void 0:V.filteredKeys}),g=ae([]),m=V=>{let{selectedKeys:X}=V;g.value=X},y=(V,X)=>{let{node:Q,checked:K}=X;e.filterMultiple?m({selectedKeys:V}):m({selectedKeys:K&&Q.key?[Q.key]:[]})};Se(p,()=>{s.value&&m({selectedKeys:p.value||[]})},{immediate:!0});const b=ae([]),S=ae(),x=V=>{S.value=setTimeout(()=>{b.value=V})},$=()=>{clearTimeout(S.value)};ht(()=>{clearTimeout(S.value)});const C=ae(""),T=V=>{const{value:X}=V.target;C.value=X};Se(s,()=>{s.value||(C.value="")});const I=V=>{const{column:X,columnKey:Q,filterState:K}=e,te=V&&V.length?V:null;if(te===null&&(!K||!K.filteredKeys)||VB(te,K==null?void 0:K.filteredKeys,!0))return null;e.triggerFilter({column:X,key:Q,filteredKeys:te})},P=()=>{h(!1),I(g.value)},M=function(){let{confirm:V,closeDropdown:X}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};V&&I([]),X&&h(!1),C.value="",e.column.filterResetToDefaultFilteredValue?g.value=(e.column.defaultFilteredValue||[]).map(Q=>String(Q)):g.value=[]},O=function(){let{closeDropdown:V}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};V&&h(!1),I(g.value)},D=V=>{V&&p.value!==void 0&&(g.value=p.value||[]),h(V),!V&&!d.value&&P()},{direction:R}=Ee("",e),A=V=>{if(V.target.checked){const X=c.value;g.value=X}else g.value=[]},E=V=>{let{filters:X}=V;return(X||[]).map((Q,K)=>{const te=String(Q.value),q={title:Q.text,key:Q.value!==void 0?te:K};return Q.children&&(q.children=E({filters:Q.children})),q})},k=V=>{var X;return _(_({},V),{text:V.title,value:V.key,children:((X=V.children)===null||X===void 0?void 0:X.map(Q=>k(Q)))||[]})},N=L(()=>E({filters:e.column.filters})),B=L(()=>ce({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!DBe(e.column.filters||[])})),F=()=>{const V=g.value,{column:X,locale:Q,tablePrefixCls:K,filterMultiple:te,dropdownPrefixCls:q,getPopupContainer:ee,prefixCls:J}=e;return(X.filters||[]).length===0?w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE,description:Q.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):i.value==="tree"?w(Qe,null,[w(IB,{filterSearch:o.value,value:C.value,onChange:T,tablePrefixCls:K,locale:Q},null),w("div",{class:`${K}-filter-dropdown-tree`},[te?w(Io,{class:`${K}-filter-dropdown-checkall`,onChange:A,checked:V.length===c.value.length,indeterminate:V.length>0&&V.length[Q.filterCheckall]}):null,w(TJ,{checkable:!0,selectable:!1,blockNode:!0,multiple:te,checkStrictly:!te,class:`${q}-menu`,onCheck:y,checkedKeys:V,selectedKeys:V,showIcon:!1,treeData:N.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:C.value.trim()?G=>typeof o.value=="function"?o.value(C.value,k(G)):IJ(C.value,G.title):void 0},null)])]):w(Qe,null,[w(IB,{filterSearch:o.value,value:C.value,onChange:T,tablePrefixCls:K,locale:Q},null),w(Ln,{multiple:te,prefixCls:`${q}-menu`,class:B.value,onClick:$,onSelect:m,onDeselect:m,selectedKeys:V,getPopupContainer:ee,openKeys:b.value,onOpenChange:x},{default:()=>PJ({filters:X.filters||[],filterSearch:o.value,prefixCls:J,filteredKeys:g.value,filterMultiple:te,searchValue:C.value})})])},H=L(()=>{const V=g.value;return e.column.filterResetToDefaultFilteredValue?VB((e.column.defaultFilteredValue||[]).map(X=>String(X)),V,!0):V.length===0});return()=>{var V;const{tablePrefixCls:X,prefixCls:Q,column:K,dropdownPrefixCls:te,locale:q,getPopupContainer:ee}=e;let J;typeof d.value=="function"?J=d.value({prefixCls:`${te}-custom`,setSelectedKeys:oe=>m({selectedKeys:oe}),selectedKeys:g.value,confirm:O,clearFilters:M,filters:K.filters,visible:v.value,column:K.__originColumn__,close:()=>{h(!1)}}):d.value?J=d.value:J=w(Qe,null,[F(),w("div",{class:`${Q}-dropdown-btns`},[w(An,{type:"link",size:"small",disabled:H.value,onClick:()=>M()},{default:()=>[q.filterReset]}),w(An,{type:"primary",size:"small",onClick:P},{default:()=>[q.filterConfirm]})])]);const G=w(Vke,{class:`${Q}-dropdown`},{default:()=>[J]});let Y;return typeof f.value=="function"?Y=f.value({filtered:u.value,column:K.__originColumn__}):f.value?Y=f.value:Y=w(Fke,null,null),w("div",{class:`${Q}-column`},[w("span",{class:`${X}-column-title`},[(V=n.default)===null||V===void 0?void 0:V.call(n)]),w(Ka,{overlay:G,trigger:["click"],open:v.value,onOpenChange:D,getPopupContainer:ee,placement:R.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[w("span",{role:"button",tabindex:-1,class:ce(`${Q}-trigger`,{active:u.value}),onClick:oe=>{oe.stopPropagation()}},[Y])]})])}}});function UP(e,t,n){let r=[];return(e||[]).forEach((i,o)=>{var a,l;const s=ty(o,n),u=i.filterDropdown||((a=i==null?void 0:i.slots)===null||a===void 0?void 0:a.filterDropdown)||i.customFilterDropdown;if(i.filters||u||"onFilter"in i)if("filteredValue"in i){let c=i.filteredValue;u||(c=(l=c==null?void 0:c.map(String))!==null&&l!==void 0?l:c),r.push({column:i,key:yd(i,s),filteredKeys:c,forceFiltered:i.filtered})}else r.push({column:i,key:yd(i,s),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[...r,...UP(i.children,t,s)])}),r}function MJ(e,t,n,r,i,o,a,l){return n.map((s,u)=>{var c;const d=ty(u,l),{filterMultiple:f=!0,filterMode:h,filterSearch:v}=s;let p=s;const g=s.filterDropdown||((c=s==null?void 0:s.slots)===null||c===void 0?void 0:c.filterDropdown)||s.customFilterDropdown;if(p.filters||g){const m=yd(p,d),y=r.find(b=>{let{key:S}=b;return m===S});p=_(_({},p),{title:b=>w(EBe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:p,columnKey:m,filterState:y,filterMultiple:f,filterMode:h,filterSearch:v,triggerFilter:o,locale:i,getPopupContainer:a},{default:()=>[P3(s.title,b)]})})}return"children"in p&&(p=_(_({},p),{children:MJ(e,t,p.children,r,i,o,a,d)})),p})}function rC(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[...t,...rC(i)])}),t}function WB(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;var a;const l=o.filterDropdown||((a=o==null?void 0:o.slots)===null||a===void 0?void 0:a.filterDropdown)||o.customFilterDropdown,{filters:s}=o;if(l)t[r]=i||null;else if(Array.isArray(i)){const u=rC(s);t[r]=u.filter(c=>i.includes(String(c)))}else t[r]=null}),t}function jB(e,t){return t.reduce((n,r)=>{const{column:{onFilter:i,filters:o},filteredKeys:a}=r;return i&&a&&a.length?n.filter(l=>a.some(s=>{const u=rC(o),c=u.findIndex(f=>String(f)===String(s)),d=c!==-1?u[c]:s;return i(d,l)})):n},e)}function AJ(e){return e.flatMap(t=>"children"in t?[t,...AJ(t.children||[])]:[t])}function RBe(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,locale:i,onFilterChange:o,getPopupContainer:a}=e;const l=L(()=>AJ(r.value)),[s,u]=Xt(UP(l.value,!0)),c=L(()=>{const v=UP(l.value,!1);if(v.length===0)return v;let p=!0,g=!0;if(v.forEach(m=>{let{filteredKeys:y}=m;y!==void 0?p=!1:g=!1}),p){const m=(l.value||[]).map((y,b)=>yd(y,ty(b)));return s.value.filter(y=>{let{key:b}=y;return m.includes(b)}).map(y=>{const b=l.value[m.findIndex(S=>S===y.key)];return _(_({},y),{column:_(_({},y.column),b),forceFiltered:b.filtered})})}return on(g,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),v}),d=L(()=>WB(c.value)),f=v=>{const p=c.value.filter(g=>{let{key:m}=g;return m!==v.key});p.push(v),u(p),o(WB(p),p)};return[v=>MJ(t.value,n.value,v,c.value,i.value,f,a.value),c,d]}function OJ(e,t){return e.map(n=>{const r=_({},n);return r.title=P3(r.title,t),"children"in r&&(r.children=OJ(r.children,t)),r})}function LBe(e){return[n=>OJ(n,e.value)]}function NBe(e){return function(n){let{prefixCls:r,onExpand:i,record:o,expanded:a,expandable:l}=n;const s=`${r}-row-expand-icon`;return w("button",{type:"button",onClick:u=>{i(o,u),u.stopPropagation()},class:ce(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&a,[`${s}-collapsed`]:l&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a},null)}}function DJ(e,t){const n=t.value;return e.map(r=>{var i;if(r===bl||r===ks)return r;const o=_({},r),{slots:a={}}=o;return o.__originColumn__=r,on(!("slots"in o),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(a).forEach(l=>{const s=a[l];o[l]===void 0&&n[s]&&(o[l]=n[s])}),t.value.headerCell&&!(!((i=r.slots)===null||i===void 0)&&i.title)&&(o.title=aw(t.value,"headerCell",{title:r.title,column:r},()=>[r.title])),"children"in o&&Array.isArray(o.children)&&(o.children=DJ(o.children,t)),o})}function kBe(e){return[n=>DJ(n,e)]}const BBe=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,r=(i,o,a)=>({[`&${t}-${i}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${o}px -${a+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:_(_(_({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[` + `]:{cursor:"not-allowed !important"}}})}},JQ=(e,t)=>{const{componentCls:n,railSize:r,handleSize:i,dotSize:o}=e,a=t?"paddingBlock":"paddingInline",l=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart";return{[a]:r,[s]:r*3,[`${n}-rail`]:{[l]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[u]:(r*3-i)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:i,[l]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[l]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[u]:(r-o)/2}}},k8e=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:_(_({},JQ(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},B8e=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:_(_({},JQ(e,!1)),{height:"100%"})}},F8e=it("Slider",e=>{const t=Ue(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[N8e(t),k8e(t),B8e(t)]},e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,i=e.lineWidth+1,o=e.lineWidth+1*3;return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:i,handleLineWidthHover:o}});var hB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);itypeof e=="number"?e.toString():"",H8e=()=>({id:String,prefixCls:String,tooltipPrefixCls:String,range:Xe([Boolean,Object]),reverse:$e(),min:Number,max:Number,step:Xe([Object,Number]),marks:He(),dots:$e(),value:Xe([Array,Number]),defaultValue:Xe([Array,Number]),included:$e(),disabled:$e(),vertical:$e(),tipFormatter:Xe([Function,Object],()=>z8e),tooltipOpen:$e(),tooltipVisible:$e(),tooltipPlacement:je(),getTooltipPopupContainer:be(),autofocus:$e(),handleStyle:Xe([Array,Object]),trackStyle:Xe([Array,Object]),onChange:be(),onAfterChange:be(),onFocus:be(),onBlur:be(),"onUpdate:value":be()}),V8e=se({compatConfig:{MODE:3},name:"ASlider",inheritAttrs:!1,props:H8e(),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;const{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:u,configProvider:c}=Ee("slider",e),[d,f]=F8e(a),h=Xn(),v=ue(),p=ue({}),g=(C,T)=>{p.value[C]=T},m=L(()=>e.tooltipPlacement?e.tooltipPlacement:e.vertical?s.value==="rtl"?"left":"right":"top"),y=()=>{var C;(C=v.value)===null||C===void 0||C.focus()},b=()=>{var C;(C=v.value)===null||C===void 0||C.blur()},S=C=>{i("update:value",C),i("change",C),h.onFieldChange()},x=C=>{i("blur",C)};o({focus:y,blur:b});const $=C=>{var{tooltipPrefixCls:T}=C,I=C.info,{value:P,dragging:M,index:O}=I,D=hB(I,["value","dragging","index"]);const{tipFormatter:R,tooltipOpen:A=e.tooltipVisible,getTooltipPopupContainer:E}=e,k=R?p.value[O]||M:!1,N=A||A===void 0&&k;return w(L8e,{prefixCls:T,title:R?R(P):"",open:N,placement:m.value,transitionName:`${l.value}-zoom-down`,key:O,overlayClassName:`${a.value}-tooltip`,getPopupContainer:E||(u==null?void 0:u.value)},{default:()=>[w(UQ,z(z({},D),{},{value:P,onMouseenter:()=>g(O,!0),onMouseleave:()=>g(O,!1)}),null)]})};return()=>{const{tooltipPrefixCls:C,range:T,id:I=h.id.value}=e,P=hB(e,["tooltipPrefixCls","range","id"]),M=c.getPrefixCls("tooltip",C),O=ce(n.class,{[`${a.value}-rtl`]:s.value==="rtl"},f.value);s.value==="rtl"&&!P.vertical&&(P.reverse=!P.reverse);let D;return typeof T=="object"&&(D=T.draggableTrack),d(T?w(R8e,z(z(z({},n),P),{},{step:P.step,draggableTrack:D,class:O,ref:v,handle:R=>$({tooltipPrefixCls:M,prefixCls:a.value,info:R}),prefixCls:a.value,onChange:S,onBlur:x}),{mark:r.mark}):w(O8e,z(z(z({},n),P),{},{id:I,step:P.step,class:O,ref:v,handle:R=>$({tooltipPrefixCls:M,prefixCls:a.value,info:R}),prefixCls:a.value,onChange:S,onBlur:x}),{mark:r.mark}))}}}),W8e=gn(V8e);function vB(e){return typeof e=="string"}function j8e(){}const eJ=()=>({prefixCls:String,itemWidth:String,active:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},status:je(),iconPrefix:String,icon:U.any,adjustMarginRight:String,stepNumber:Number,stepIndex:Number,description:U.any,title:U.any,subTitle:U.any,progressDot:RU(U.oneOfType([U.looseBool,U.func])),tailContent:U.any,icons:U.shape({finish:U.any,error:U.any}).loose,onClick:be(),onStepClick:be(),stepIcon:be(),itemRender:be(),__legacy:$e()}),tJ=se({compatConfig:{MODE:3},name:"Step",inheritAttrs:!1,props:eJ(),setup(e,t){let{slots:n,emit:r,attrs:i}=t;const o=l=>{r("click",l),r("stepClick",e.stepIndex)},a=l=>{let{icon:s,title:u,description:c}=l;const{prefixCls:d,stepNumber:f,status:h,iconPrefix:v,icons:p,progressDot:g=n.progressDot,stepIcon:m=n.stepIcon}=e;let y;const b=ce(`${d}-icon`,`${v}icon`,{[`${v}icon-${s}`]:s&&vB(s),[`${v}icon-check`]:!s&&h==="finish"&&(p&&!p.finish||!p),[`${v}icon-cross`]:!s&&h==="error"&&(p&&!p.error||!p)}),S=w("span",{class:`${d}-icon-dot`},null);return g?typeof g=="function"?y=w("span",{class:`${d}-icon`},[g({iconDot:S,index:f-1,status:h,title:u,description:c,prefixCls:d})]):y=w("span",{class:`${d}-icon`},[S]):s&&!vB(s)?y=w("span",{class:`${d}-icon`},[s]):p&&p.finish&&h==="finish"?y=w("span",{class:`${d}-icon`},[p.finish]):p&&p.error&&h==="error"?y=w("span",{class:`${d}-icon`},[p.error]):s||h==="finish"||h==="error"?y=w("span",{class:b},null):y=w("span",{class:`${d}-icon`},[f]),m&&(y=m({index:f-1,status:h,title:u,description:c,node:y})),y};return()=>{var l,s,u,c;const{prefixCls:d,itemWidth:f,active:h,status:v="wait",tailContent:p,adjustMarginRight:g,disabled:m,title:y=(l=n.title)===null||l===void 0?void 0:l.call(n),description:b=(s=n.description)===null||s===void 0?void 0:s.call(n),subTitle:S=(u=n.subTitle)===null||u===void 0?void 0:u.call(n),icon:x=(c=n.icon)===null||c===void 0?void 0:c.call(n),onClick:$,onStepClick:C}=e,T=v||"wait",I=ce(`${d}-item`,`${d}-item-${T}`,{[`${d}-item-custom`]:x,[`${d}-item-active`]:h,[`${d}-item-disabled`]:m===!0}),P={};f&&(P.width=f),g&&(P.marginRight=g);const M={onClick:$||j8e};C&&!m&&(M.role="button",M.tabindex=0,M.onClick=o);const O=w("div",z(z({},yt(i,["__legacy"])),{},{class:[I,i.class],style:[i.style,P]}),[w("div",z(z({},M),{},{class:`${d}-item-container`}),[w("div",{class:`${d}-item-tail`},[p]),w("div",{class:`${d}-item-icon`},[a({icon:x,title:y,description:b})]),w("div",{class:`${d}-item-content`},[w("div",{class:`${d}-item-title`},[y,S&&w("div",{title:typeof S=="string"?S:void 0,class:`${d}-item-subtitle`},[S])]),b&&w("div",{class:`${d}-item-description`},[b])])])]);return e.itemRender?e.itemRender(O):O}}});var G8e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i[]),icons:U.shape({finish:U.any,error:U.any}).loose,stepIcon:be(),isInline:U.looseBool,itemRender:be()},emits:["change"],setup(e,t){let{slots:n,emit:r}=t;const i=l=>{const{current:s}=e;s!==l&&r("change",l)},o=(l,s,u)=>{const{prefixCls:c,iconPrefix:d,status:f,current:h,initial:v,icons:p,stepIcon:g=n.stepIcon,isInline:m,itemRender:y,progressDot:b=n.progressDot}=e,S=m||b,x=_(_({},l),{class:""}),$=v+s,C={active:$===h,stepNumber:$+1,stepIndex:$,key:$,prefixCls:c,iconPrefix:d,progressDot:S,stepIcon:g,icons:p,onStepClick:i};return f==="error"&&s===h-1&&(x.class=`${c}-next-error`),x.status||($===h?x.status=f:$y(x,T)),w(tJ,z(z(z({},x),C),{},{__legacy:!1}),null))},a=(l,s)=>o(_({},l.props),s,u=>Nt(l,u));return()=>{var l;const{prefixCls:s,direction:u,type:c,labelPlacement:d,iconPrefix:f,status:h,size:v,current:p,progressDot:g=n.progressDot,initial:m,icons:y,items:b,isInline:S,itemRender:x}=e,$=G8e(e,["prefixCls","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","initial","icons","items","isInline","itemRender"]),C=c==="navigation",T=S||g,I=S?"horizontal":u,P=S?void 0:v,M=T?"vertical":d,O=ce(s,`${s}-${u}`,{[`${s}-${P}`]:P,[`${s}-label-${M}`]:I==="horizontal",[`${s}-dot`]:!!T,[`${s}-navigation`]:C,[`${s}-inline`]:S});return w("div",z({class:O},$),[b.filter(D=>D).map((D,R)=>o(D,R)),xn((l=n.default)===null||l===void 0?void 0:l.call(n)).map(a)])}}}),U8e=e=>{const{componentCls:t,stepsIconCustomTop:n,stepsIconCustomSize:r,stepsIconCustomFontSize:i}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:i,lineHeight:`${r}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},X8e=U8e,Y8e=e=>{const{componentCls:t,stepsIconSize:n,lineHeight:r,stepsSmallIconSize:i}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(n/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(n-i)/2}}}}}},q8e=Y8e,Z8e=e=>{const{componentCls:t,stepsNavContentMaxWidth:n,stepsNavArrowColor:r,stepsNavActiveColor:i,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:_(_({maxWidth:"100%",paddingInlineEnd:0},Hn),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:i,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},Q8e=Z8e,J8e=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.stepsIconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth+e.paddingXXS},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.stepsIconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},eNe=J8e,tNe=e=>{const{componentCls:t,descriptionWidth:n,lineHeight:r,stepsCurrentDotSize:i,stepsDotSize:o,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:Math.floor((e.stepsDotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:(e.descriptionWidth-o)/2,paddingInlineEnd:0,lineHeight:`${o}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(o-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:(o-i)/2,width:i,height:i,lineHeight:`${i}px`,background:"none",marginInlineStart:(e.descriptionWidth-i)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-o)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-i)/2,top:0,insetInlineStart:(o-i)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-o)/2,insetInlineStart:0,margin:0,padding:`${o+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(o-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-o)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-i)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-o)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},nNe=tNe,rNe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},iNe=rNe,oNe=e=>{const{componentCls:t,stepsSmallIconSize:n,fontSizeSM:r,fontSize:i,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:r,lineHeight:`${n}px`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:i,lineHeight:`${n}px`,"&::after":{top:n/2}},[`${t}-item-description`]:{color:o,fontSize:i},[`${t}-item-tail`]:{top:n/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${n}px`,transform:"none"}}}}},aNe=oNe,lNe=e=>{const{componentCls:t,stepsSmallIconSize:n,stepsIconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${r}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsIconSize/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${r+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.stepsSmallIconSize/2-e.lineWidth,padding:`${n+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${n}px`}}}}},sNe=lNe,uNe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:i}=e,o=e.paddingXS+e.lineWidth,a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${o}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:o+n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:i}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":_({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${i}`}},a),"&-finish":_({[`${t}-item-tail::after`]:{backgroundColor:i},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i,border:`${e.lineWidth}px ${e.lineType} ${i}`}},a),"&-error":a,"&-active, &-process":_({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},cNe=uNe;var Uf;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(Uf||(Uf={}));const l0=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,i=`${e}TitleColor`,o=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[i],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},dNe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`;return _(_(_(_(_(_({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none"},[`${r}-icon, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[`${r}-icon`]:{width:e.stepsIconSize,height:e.stepsIconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.stepsIconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.stepsIconSize}px`,textAlign:"center",borderRadius:e.stepsIconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.stepsIconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.stepsIconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.stepsTitleLineHeight}px`,"&::after":{position:"absolute",top:e.stepsTitleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},l0(Uf.wait,e)),l0(Uf.process,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),l0(Uf.finish,e)),l0(Uf.error,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},fNe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionWidth,whiteSpace:"normal"}}}}},hNe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_(_(_(_(_(_(_(_(_({},st(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),dNe(e)),fNe(e)),X8e(e)),aNe(e)),sNe(e)),q8e(e)),nNe(e)),Q8e(e)),iNe(e)),eNe(e)),cNe(e))}},vNe=it("Steps",e=>{const{wireframe:t,colorTextDisabled:n,fontSizeHeading3:r,fontSize:i,controlHeight:o,controlHeightLG:a,colorTextLightSolid:l,colorText:s,colorPrimary:u,colorTextLabel:c,colorTextDescription:d,colorTextQuaternary:f,colorFillContent:h,controlItemBgActive:v,colorError:p,colorBgContainer:g,colorBorderSecondary:m}=e,y=e.controlHeight,b=e.colorSplit,S=Ue(e,{processTailColor:b,stepsNavArrowColor:n,stepsIconSize:y,stepsIconCustomSize:y,stepsIconCustomTop:0,stepsIconCustomFontSize:a/2,stepsIconTop:-.5,stepsIconFontSize:i,stepsTitleLineHeight:o,stepsSmallIconSize:r,stepsDotSize:o/4,stepsCurrentDotSize:a/4,stepsNavContentMaxWidth:"auto",processIconColor:l,processTitleColor:s,processDescriptionColor:s,processIconBgColor:u,processIconBorderColor:u,processDotColor:u,waitIconColor:t?n:c,waitTitleColor:d,waitDescriptionColor:d,waitTailColor:b,waitIconBgColor:t?g:h,waitIconBorderColor:t?n:"transparent",waitDotColor:n,finishIconColor:u,finishTitleColor:s,finishDescriptionColor:d,finishTailColor:u,finishIconBgColor:t?g:v,finishIconBorderColor:t?u:v,finishDotColor:u,errorIconColor:l,errorTitleColor:p,errorDescriptionColor:p,errorTailColor:b,errorIconBgColor:p,errorIconBorderColor:p,errorDotColor:p,stepsNavActiveColor:u,stepsProgressSize:a,inlineDotSize:6,inlineTitleColor:f,inlineTailColor:m});return[hNe(S)]},{descriptionWidth:140}),pNe=()=>({prefixCls:String,iconPrefix:String,current:Number,initial:Number,percent:Number,responsive:$e(),items:Ot(),labelPlacement:je(),status:je(),size:je(),direction:je(),progressDot:Xe([Boolean,Function]),type:je(),onChange:be(),"onUpdate:current":be()}),w_=se({compatConfig:{MODE:3},name:"ASteps",inheritAttrs:!1,props:ft(pNe(),{current:0,responsive:!0,labelPlacement:"horizontal"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{prefixCls:o,direction:a,configProvider:l}=Ee("steps",e),[s,u]=vNe(o),[,c]=is(),d=sv(),f=L(()=>e.responsive&&d.value.xs?"vertical":e.direction),h=L(()=>l.getPrefixCls("",e.iconPrefix)),v=b=>{i("update:current",b),i("change",b)},p=L(()=>e.type==="inline"),g=L(()=>p.value?void 0:e.percent),m=b=>{let{node:S,status:x}=b;if(x==="process"&&e.percent!==void 0){const $=e.size==="small"?c.value.controlHeight:c.value.controlHeightLG;return w("div",{class:`${o.value}-progress-icon`},[w(S3,{type:"circle",percent:g.value,size:$,strokeWidth:4,format:()=>null},null),S])}return S},y=L(()=>({finish:w(Sw,{class:`${o.value}-finish-icon`},null),error:w(Ri,{class:`${o.value}-error-icon`},null)}));return()=>{const b=ce({[`${o.value}-rtl`]:a.value==="rtl",[`${o.value}-with-progress`]:g.value!==void 0},n.class,u.value),S=(x,$)=>x.description?w(Mi,{title:x.description},{default:()=>[$]}):$;return s(w(K8e,z(z(z({icons:y.value},n),yt(e,["percent","responsive"])),{},{items:e.items,direction:f.value,prefixCls:o.value,iconPrefix:h.value,class:b,onChange:v,isInline:p.value,itemRender:p.value?S:void 0}),_({stepIcon:m},r)))}}}),qb=se(_(_({compatConfig:{MODE:3}},tJ),{name:"AStep",props:eJ()})),gNe=_(w_,{Step:qb,install:e=>(e.component(w_.name,w_),e.component(qb.name,qb),e)}),mNe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding*2}px + ${e.switchInnerMarginMaxSM*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+e.switchPadding*2}px - ${e.switchInnerMarginMaxSM*2}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},yNe=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},bNe=e=>{const{componentCls:t}=e,n=`${t}-handle`;return{[t]:{[n]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${n}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:{[`${n}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${n}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},SNe=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding*2}px + ${e.switchInnerMarginMax*2}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+e.switchPadding*2}px - ${e.switchInnerMarginMax*2}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.switchPadding*2,marginInlineEnd:-e.switchPadding*2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.switchPadding*2,marginInlineEnd:e.switchPadding*2}}}}}},xNe=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_({},st(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Kl(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},wNe=it("Switch",e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=2,i=t-r*2,o=n-r*2,a=Ue(e,{switchMinWidth:i*2+r*4,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:i/2,switchInnerMarginMax:i+r+r*2,switchPadding:r,switchPinSize:i,switchBg:e.colorBgContainer,switchMinWidthSM:o*2+r*2,switchHeightSM:n,switchInnerMarginMinSM:o/2,switchInnerMarginMaxSM:o+r+r*2,switchPinSizeSM:o,switchHandleShadow:`0 2px 4px 0 ${new zt("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:e.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[xNe(a),SNe(a),bNe(a),yNe(a),mNe(a)]}),CNe=Ar("small","default"),$Ne=()=>({id:String,prefixCls:String,size:U.oneOf(CNe),disabled:{type:Boolean,default:void 0},checkedChildren:U.any,unCheckedChildren:U.any,tabindex:U.oneOfType([U.string,U.number]),autofocus:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},checked:U.oneOfType([U.string,U.number,U.looseBool]),checkedValue:U.oneOfType([U.string,U.number,U.looseBool]).def(!0),unCheckedValue:U.oneOfType([U.string,U.number,U.looseBool]).def(!1),onChange:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onMouseup:{type:Function},"onUpdate:checked":{type:Function},onBlur:Function,onFocus:Function}),_Ne=se({compatConfig:{MODE:3},name:"ASwitch",__ANT_SWITCH:!0,inheritAttrs:!1,props:$Ne(),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;const a=Xn(),l=Ai(),s=L(()=>{var I;return(I=e.disabled)!==null&&I!==void 0?I:l.value});Vx(()=>{vn(),vn()});const u=ue(e.checked!==void 0?e.checked:n.defaultChecked),c=L(()=>u.value===e.checkedValue);Se(()=>e.checked,()=>{u.value=e.checked});const{prefixCls:d,direction:f,size:h}=Ee("switch",e),[v,p]=wNe(d),g=ue(),m=()=>{var I;(I=g.value)===null||I===void 0||I.focus()};i({focus:m,blur:()=>{var I;(I=g.value)===null||I===void 0||I.blur()}}),tt(()=>{_t(()=>{e.autofocus&&!s.value&&g.value.focus()})});const b=(I,P)=>{s.value||(o("update:checked",I),o("change",I,P),a.onFieldChange())},S=I=>{o("blur",I)},x=I=>{m();const P=c.value?e.unCheckedValue:e.checkedValue;b(P,I),o("click",P,I)},$=I=>{I.keyCode===Pe.LEFT?b(e.unCheckedValue,I):I.keyCode===Pe.RIGHT&&b(e.checkedValue,I),o("keydown",I)},C=I=>{var P;(P=g.value)===null||P===void 0||P.blur(),o("mouseup",I)},T=L(()=>({[`${d.value}-small`]:h.value==="small",[`${d.value}-loading`]:e.loading,[`${d.value}-checked`]:c.value,[`${d.value}-disabled`]:s.value,[d.value]:!0,[`${d.value}-rtl`]:f.value==="rtl",[p.value]:!0}));return()=>{var I;return v(w(zD,null,{default:()=>[w("button",z(z(z({},yt(e,["prefixCls","checkedChildren","unCheckedChildren","checked","autofocus","checkedValue","unCheckedValue","id","onChange","onUpdate:checked"])),n),{},{id:(I=e.id)!==null&&I!==void 0?I:a.id.value,onKeydown:$,onClick:x,onBlur:S,onMouseup:C,type:"button",role:"switch","aria-checked":u.value,disabled:s.value||e.loading,class:[n.class,T.value],ref:g}),[w("div",{class:`${d.value}-handle`},[e.loading?w(no,{class:`${d.value}-loading-icon`},null):null]),w("span",{class:`${d.value}-inner`},[w("span",{class:`${d.value}-inner-checked`},[Un(r,e,"checkedChildren")]),w("span",{class:`${d.value}-inner-unchecked`},[Un(r,e,"unCheckedChildren")])])])]}))}}}),TNe=gn(_Ne),nJ=Symbol("TableContextProps"),INe=e=>{at(nJ,e)},ll=()=>Je(nJ,{}),PNe="RC_TABLE_KEY";function rJ(e){return e==null?[]:Array.isArray(e)?e:[e]}function iJ(e,t){if(!t&&typeof t!="number")return e;const n=rJ(t);let r=e;for(let i=0;i{const{key:i,dataIndex:o}=r||{};let a=i||rJ(o).join("-")||PNe;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function MNe(){const e={};function t(o,a){a&&Object.keys(a).forEach(l=>{const s=a[l];s&&typeof s=="object"?(o[l]=o[l]||{},t(o[l],s)):o[l]=s})}for(var n=arguments.length,r=new Array(n),i=0;i{t(e,o)}),e}function LP(e){return e!=null}const oJ=Symbol("SlotsContextProps"),ANe=e=>{at(oJ,e)},$3=()=>Je(oJ,L(()=>({}))),aJ=Symbol("ContextProps"),ONe=e=>{at(aJ,e)},DNe=()=>Je(aJ,{onResizeColumn:()=>{}});globalThis&&globalThis.__rest;const ph="RC_TABLE_INTERNAL_COL_DEFINE",lJ=Symbol("HoverContextProps"),ENe=e=>{at(lJ,e)},RNe=()=>Je(lJ,{startRow:ae(-1),endRow:ae(-1),onHover(){}}),NP=ae(!1),LNe=()=>{tt(()=>{NP.value=NP.value||EE("position","sticky")})},NNe=()=>NP;var kNe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i=n}function FNe(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!Nn(e)}const nC=se({name:"Cell",props:["prefixCls","record","index","renderIndex","dataIndex","customRender","component","colSpan","rowSpan","fixLeft","fixRight","firstFixLeft","lastFixLeft","firstFixRight","lastFixRight","appendNode","additionalProps","ellipsis","align","rowType","isSticky","column","cellType","transformCellText"],setup(e,t){let{slots:n}=t;const r=$3(),{onHover:i,startRow:o,endRow:a}=RNe(),l=L(()=>{var p,g,m,y;return(m=(p=e.colSpan)!==null&&p!==void 0?p:(g=e.additionalProps)===null||g===void 0?void 0:g.colSpan)!==null&&m!==void 0?m:(y=e.additionalProps)===null||y===void 0?void 0:y.colspan}),s=L(()=>{var p,g,m,y;return(m=(p=e.rowSpan)!==null&&p!==void 0?p:(g=e.additionalProps)===null||g===void 0?void 0:g.rowSpan)!==null&&m!==void 0?m:(y=e.additionalProps)===null||y===void 0?void 0:y.rowspan}),u=ji(()=>{const{index:p}=e;return BNe(p,s.value||1,o.value,a.value)}),c=NNe(),d=(p,g)=>{var m;const{record:y,index:b,additionalProps:S}=e;y&&i(b,b+g-1),(m=S==null?void 0:S.onMouseenter)===null||m===void 0||m.call(S,p)},f=p=>{var g;const{record:m,additionalProps:y}=e;m&&i(-1,-1),(g=y==null?void 0:y.onMouseleave)===null||g===void 0||g.call(y,p)},h=p=>{const g=xn(p)[0];return Nn(g)?g.type===Tu?g.children:Array.isArray(g.children)?h(g.children):void 0:g},v=ae(null);return Se([u,()=>e.prefixCls,v],()=>{const p=ci(v.value);p&&(u.value?pS(p,`${e.prefixCls}-cell-row-hover`):gS(p,`${e.prefixCls}-cell-row-hover`))}),()=>{var p,g,m,y,b,S;const{prefixCls:x,record:$,index:C,renderIndex:T,dataIndex:I,customRender:P,component:M="td",fixLeft:O,fixRight:D,firstFixLeft:R,lastFixLeft:A,firstFixRight:E,lastFixRight:k,appendNode:N=(p=n.appendNode)===null||p===void 0?void 0:p.call(n),additionalProps:B={},ellipsis:F,align:H,rowType:V,isSticky:X,column:Q={},cellType:K}=e,te=`${x}-cell`;let q,ee;const J=(g=n.default)===null||g===void 0?void 0:g.call(n);if(LP(J)||K==="header")ee=J;else{const ve=iJ($,I);if(ee=ve,P){const fe=P({text:ve,value:ve,record:$,index:C,renderIndex:T,column:Q.__originColumn__});FNe(fe)?(ee=fe.children,q=fe.props):ee=fe}if(!(ph in Q)&&K==="body"&&r.value.bodyCell&&!(!((m=Q.slots)===null||m===void 0)&&m.customRender)){const fe=aw(r.value,"bodyCell",{text:ve,value:ve,record:$,index:C,column:Q.__originColumn__},()=>{const ye=ee===void 0?ve:ee;return[typeof ye=="object"&&zn(ye)||typeof ye!="object"?ye:null]});ee=Jt(fe)}e.transformCellText&&(ee=e.transformCellText({text:ee,record:$,index:C,column:Q.__originColumn__}))}typeof ee=="object"&&!Array.isArray(ee)&&!Nn(ee)&&(ee=null),F&&(A||E)&&(ee=w("span",{class:`${te}-content`},[ee])),Array.isArray(ee)&&ee.length===1&&(ee=ee[0]);const G=q||{},{colSpan:Y,rowSpan:oe,style:W,class:Z}=G,ne=kNe(G,["colSpan","rowSpan","style","class"]),re=(y=Y!==void 0?Y:l.value)!==null&&y!==void 0?y:1,le=(b=oe!==void 0?oe:s.value)!==null&&b!==void 0?b:1;if(re===0||le===0)return null;const ie={},de=typeof O=="number"&&c.value,pe=typeof D=="number"&&c.value;de&&(ie.position="sticky",ie.left=`${O}px`),pe&&(ie.position="sticky",ie.right=`${D}px`);const me={};H&&(me.textAlign=H);let he;const xe=F===!0?{showTitle:!0}:F;xe&&(xe.showTitle||V==="header")&&(typeof ee=="string"||typeof ee=="number"?he=ee.toString():Nn(ee)&&(he=h([ee])));const Ce=_(_(_({title:he},ne),B),{colSpan:re!==1?re:null,rowSpan:le!==1?le:null,class:ce(te,{[`${te}-fix-left`]:de&&c.value,[`${te}-fix-left-first`]:R&&c.value,[`${te}-fix-left-last`]:A&&c.value,[`${te}-fix-right`]:pe&&c.value,[`${te}-fix-right-first`]:E&&c.value,[`${te}-fix-right-last`]:k&&c.value,[`${te}-ellipsis`]:F,[`${te}-with-append`]:N,[`${te}-fix-sticky`]:(de||pe)&&X&&c.value},B.class,Z),onMouseenter:ve=>{d(ve,le)},onMouseleave:f,style:[B.style,me,ie,W]});return w(M,z(z({},Ce),{},{ref:v}),{default:()=>[N,ee,(S=n.dragHandle)===null||S===void 0?void 0:S.call(n)]})}}});function _3(e,t,n,r,i){const o=n[e]||{},a=n[t]||{};let l,s;o.fixed==="left"?l=r.left[e]:a.fixed==="right"&&(s=r.right[t]);let u=!1,c=!1,d=!1,f=!1;const h=n[t+1],v=n[e-1];return i==="rtl"?l!==void 0?f=!(v&&v.fixed==="left"):s!==void 0&&(d=!(h&&h.fixed==="right")):l!==void 0?u=!(h&&h.fixed==="left"):s!==void 0&&(c=!(v&&v.fixed==="right")),{fixLeft:l,fixRight:s,lastFixLeft:u,firstFixRight:c,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}const pB={mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"},touch:{start:"touchstart",move:"touchmove",stop:"touchend"}},gB=50,zNe=se({compatConfig:{MODE:3},name:"DragHandle",props:{prefixCls:String,width:{type:Number,required:!0},minWidth:{type:Number,default:gB},maxWidth:{type:Number,default:1/0},column:{type:Object,default:void 0}},setup(e){let t=0,n={remove:()=>{}},r={remove:()=>{}};const i=()=>{n.remove(),r.remove()};Jr(()=>{i()}),Ye(()=>{on(!isNaN(e.width),"Table","width must be a number when use resizable")});const{onResizeColumn:o}=DNe(),a=L(()=>typeof e.minWidth=="number"&&!isNaN(e.minWidth)?e.minWidth:gB),l=L(()=>typeof e.maxWidth=="number"&&!isNaN(e.maxWidth)?e.maxWidth:1/0),s=gr();let u=0;const c=ae(!1);let d;const f=b=>{let S=0;b.touches?b.touches.length?S=b.touches[0].pageX:S=b.changedTouches[0].pageX:S=b.pageX;const x=t-S;let $=Math.max(u-x,a.value);$=Math.min($,l.value),dt.cancel(d),d=dt(()=>{o($,e.column.__originColumn__)})},h=b=>{f(b)},v=b=>{c.value=!1,f(b),i()},p=(b,S)=>{c.value=!0,i(),u=s.vnode.el.parentNode.getBoundingClientRect().width,!(b instanceof MouseEvent&&b.which!==1)&&(b.stopPropagation&&b.stopPropagation(),t=b.touches?b.touches[0].pageX:b.pageX,n=bn(document.documentElement,S.move,h),r=bn(document.documentElement,S.stop,v))},g=b=>{b.stopPropagation(),b.preventDefault(),p(b,pB.mouse)},m=b=>{b.stopPropagation(),b.preventDefault(),p(b,pB.touch)},y=b=>{b.stopPropagation(),b.preventDefault()};return()=>{const{prefixCls:b}=e,S={[tr?"onTouchstartPassive":"onTouchstart"]:x=>m(x)};return w("div",z(z({class:`${b}-resize-handle ${c.value?"dragging":""}`,onMousedown:g},S),{},{onClick:y}),[w("div",{class:`${b}-resize-handle-line`},null)])}}}),HNe=se({name:"HeaderRow",props:["cells","stickyOffsets","flattenColumns","rowComponent","cellComponent","index","customHeaderRow"],setup(e){const t=ll();return()=>{const{prefixCls:n,direction:r}=t,{cells:i,stickyOffsets:o,flattenColumns:a,rowComponent:l,cellComponent:s,customHeaderRow:u,index:c}=e;let d;u&&(d=u(i.map(h=>h.column),c));const f=tC(i.map(h=>h.column));return w(l,d,{default:()=>[i.map((h,v)=>{const{column:p}=h,g=_3(h.colStart,h.colEnd,a,o,r);let m;p&&p.customHeaderCell&&(m=h.column.customHeaderCell(p));const y=p;return w(nC,z(z(z({},h),{},{cellType:"header",ellipsis:p.ellipsis,align:p.align,component:s,prefixCls:n,key:f[v]},g),{},{additionalProps:m,rowType:"header",column:p}),{default:()=>p.title,dragHandle:()=>y.resizable?w(zNe,{prefixCls:n,width:y.width,minWidth:y.minWidth,maxWidth:y.maxWidth,column:y},null):null})})]})}}});function VNe(e){const t=[];function n(i,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[a]=t[a]||[];let l=o;return i.filter(Boolean).map(u=>{const c={key:u.key,class:ce(u.className,u.class),column:u,colStart:l};let d=1;const f=u.children;return f&&f.length>0&&(d=n(f,l,a+1).reduce((h,v)=>h+v,0),c.hasSubColumns=!0),"colSpan"in u&&({colSpan:d}=u),"rowSpan"in u&&(c.rowSpan=u.rowSpan),c.colSpan=d,c.colEnd=c.colStart+d-1,t[a].push(c),l+=d,d})}n(e,0);const r=t.length;for(let i=0;i{!("rowSpan"in o)&&!o.hasSubColumns&&(o.rowSpan=r-i)});return t}const mB=se({name:"TableHeader",inheritAttrs:!1,props:["columns","flattenColumns","stickyOffsets","customHeaderRow"],setup(e){const t=ll(),n=L(()=>VNe(e.columns));return()=>{const{prefixCls:r,getComponent:i}=t,{stickyOffsets:o,flattenColumns:a,customHeaderRow:l}=e,s=i(["header","wrapper"],"thead"),u=i(["header","row"],"tr"),c=i(["header","cell"],"th");return w(s,{class:`${r}-thead`},{default:()=>[n.value.map((d,f)=>w(HNe,{key:f,flattenColumns:a,cells:d,stickyOffsets:o,rowComponent:u,cellComponent:c,customHeaderRow:l,index:f},null))]})}}}),sJ=Symbol("ExpandedRowProps"),WNe=e=>{at(sJ,e)},jNe=()=>Je(sJ,{}),uJ=se({name:"ExpandedRow",inheritAttrs:!1,props:["prefixCls","component","cellComponent","expanded","colSpan","isEmpty"],setup(e,t){let{slots:n,attrs:r}=t;const i=ll(),o=jNe(),{fixHeader:a,fixColumn:l,componentWidth:s,horizonScroll:u}=o;return()=>{const{prefixCls:c,component:d,cellComponent:f,expanded:h,colSpan:v,isEmpty:p}=e;return w(d,{class:r.class,style:{display:h?null:"none"}},{default:()=>[w(nC,{component:f,prefixCls:c,colSpan:v},{default:()=>{var g;let m=(g=n.default)===null||g===void 0?void 0:g.call(n);return(p?u.value:l.value)&&(m=w("div",{style:{width:`${s.value-(a.value?i.scrollbarSize:0)}px`,position:"sticky",left:0,overflow:"hidden"},class:`${c}-expanded-row-fixed`},[m])),m}})]})}}}),GNe=se({name:"MeasureCell",props:["columnKey"],setup(e,t){let{emit:n}=t;const r=ue();return tt(()=>{r.value&&n("columnResize",e.columnKey,r.value.offsetWidth)}),()=>w(Ao,{onResize:i=>{let{offsetWidth:o}=i;n("columnResize",e.columnKey,o)}},{default:()=>[w("td",{ref:r,style:{padding:0,border:0,height:0}},[w("div",{style:{height:0,overflow:"hidden"}},[Gr(" ")])])]})}}),cJ=Symbol("BodyContextProps"),KNe=e=>{at(cJ,e)},dJ=()=>Je(cJ,{}),UNe=se({name:"BodyRow",inheritAttrs:!1,props:["record","index","renderIndex","recordKey","expandedKeys","rowComponent","cellComponent","customRow","rowExpandable","indent","rowKey","getRowKey","childrenColumnName"],setup(e,t){let{attrs:n}=t;const r=ll(),i=dJ(),o=ae(!1),a=L(()=>e.expandedKeys&&e.expandedKeys.has(e.recordKey));Ye(()=>{a.value&&(o.value=!0)});const l=L(()=>i.expandableType==="row"&&(!e.rowExpandable||e.rowExpandable(e.record))),s=L(()=>i.expandableType==="nest"),u=L(()=>e.childrenColumnName&&e.record&&e.record[e.childrenColumnName]),c=L(()=>l.value||s.value),d=(g,m)=>{i.onTriggerExpand(g,m)},f=L(()=>{var g;return((g=e.customRow)===null||g===void 0?void 0:g.call(e,e.record,e.index))||{}}),h=function(g){var m,y;i.expandRowByClick&&c.value&&d(e.record,g);for(var b=arguments.length,S=new Array(b>1?b-1:0),x=1;x{const{record:g,index:m,indent:y}=e,{rowClassName:b}=i;return typeof b=="string"?b:typeof b=="function"?b(g,m,y):""}),p=L(()=>tC(i.flattenColumns));return()=>{const{class:g,style:m}=n,{record:y,index:b,rowKey:S,indent:x=0,rowComponent:$,cellComponent:C}=e,{prefixCls:T,fixedInfoList:I,transformCellText:P}=r,{flattenColumns:M,expandedRowClassName:O,indentSize:D,expandIcon:R,expandedRowRender:A,expandIconColumnIndex:E}=i,k=w($,z(z({},f.value),{},{"data-row-key":S,class:ce(g,`${T}-row`,`${T}-row-level-${x}`,v.value,f.value.class),style:[m,f.value.style],onClick:h}),{default:()=>[M.map((B,F)=>{const{customRender:H,dataIndex:V,className:X}=B,Q=p[F],K=I[F];let te;B.customCell&&(te=B.customCell(y,b,B));const q=F===(E||0)&&s.value?w(Qe,null,[w("span",{style:{paddingLeft:`${D*x}px`},class:`${T}-row-indent indent-level-${x}`},null),R({prefixCls:T,expanded:a.value,expandable:u.value,record:y,onExpand:d})]):null;return w(nC,z(z({cellType:"body",class:X,ellipsis:B.ellipsis,align:B.align,component:C,prefixCls:T,key:Q,record:y,index:b,renderIndex:e.renderIndex,dataIndex:V,customRender:H},K),{},{additionalProps:te,column:B,transformCellText:P,appendNode:q}),null)})]});let N;if(l.value&&(o.value||a.value)){const B=A({record:y,index:b,indent:x+1,expanded:a.value}),F=O&&O(y,b,x);N=w(uJ,{expanded:a.value,class:ce(`${T}-expanded-row`,`${T}-expanded-row-level-${x+1}`,F),prefixCls:T,component:$,cellComponent:C,colSpan:M.length,isEmpty:!1},{default:()=>[B]})}return w(Qe,null,[k,N])}}});function fJ(e,t,n,r,i,o){const a=[];a.push({record:e,indent:t,index:o});const l=i(e),s=r==null?void 0:r.has(l);if(e&&Array.isArray(e[n])&&s)for(let u=0;u{const o=t.value,a=n.value,l=e.value;if(a!=null&&a.size){const s=[];for(let u=0;u<(l==null?void 0:l.length);u+=1){const c=l[u];s.push(...fJ(c,0,o,a,r.value,u))}return s}return l==null?void 0:l.map((s,u)=>({record:s,indent:0,index:u}))})}const hJ=Symbol("ResizeContextProps"),YNe=e=>{at(hJ,e)},qNe=()=>Je(hJ,{onColumnResize:()=>{}}),ZNe=se({name:"TableBody",props:["data","getRowKey","measureColumnWidth","expandedKeys","customRow","rowExpandable","childrenColumnName"],setup(e,t){let{slots:n}=t;const r=qNe(),i=ll(),o=dJ(),a=XNe(qe(e,"data"),qe(e,"childrenColumnName"),qe(e,"expandedKeys"),qe(e,"getRowKey")),l=ae(-1),s=ae(-1);let u;return ENe({startRow:l,endRow:s,onHover:(c,d)=>{clearTimeout(u),u=setTimeout(()=>{l.value=c,s.value=d},100)}}),()=>{var c;const{data:d,getRowKey:f,measureColumnWidth:h,expandedKeys:v,customRow:p,rowExpandable:g,childrenColumnName:m}=e,{onColumnResize:y}=r,{prefixCls:b,getComponent:S}=i,{flattenColumns:x}=o,$=S(["body","wrapper"],"tbody"),C=S(["body","row"],"tr"),T=S(["body","cell"],"td");let I;d.length?I=a.value.map((M,O)=>{const{record:D,indent:R,index:A}=M,E=f(D,O);return w(UNe,{key:E,rowKey:E,record:D,recordKey:E,index:O,renderIndex:A,rowComponent:C,cellComponent:T,expandedKeys:v,customRow:p,getRowKey:f,rowExpandable:g,childrenColumnName:m,indent:R},null)}):I=w(uJ,{expanded:!0,class:`${b}-placeholder`,prefixCls:b,component:C,cellComponent:T,colSpan:x.length,isEmpty:!0},{default:()=>[(c=n.emptyNode)===null||c===void 0?void 0:c.call(n)]});const P=tC(x);return w($,{class:`${b}-tbody`},{default:()=>[h&&w("tr",{"aria-hidden":"true",class:`${b}-measure-row`,style:{height:0,fontSize:0}},[P.map(M=>w(GNe,{key:M,columnKey:M,onColumnResize:y},null))]),I]})}}}),ks={};var QNe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{fixed:r}=n,i=r===!0?"left":r,o=n.children;return o&&o.length>0?[...t,...kP(o).map(a=>_({fixed:i},a))]:[...t,_(_({},n),{fixed:i})]},[])}function JNe(e){return e.map(t=>{const{fixed:n}=t,r=QNe(t,["fixed"]);let i=n;return n==="left"?i="right":n==="right"&&(i="left"),_({fixed:i},r)})}function eke(e,t){let{prefixCls:n,columns:r,expandable:i,expandedKeys:o,getRowKey:a,onTriggerExpand:l,expandIcon:s,rowExpandable:u,expandIconColumnIndex:c,direction:d,expandRowByClick:f,expandColumnWidth:h,expandFixed:v}=e;const p=$3(),g=L(()=>{if(i.value){let b=r.value.slice();if(!b.includes(ks)){const D=c.value||0;D>=0&&b.splice(D,0,ks)}const S=b.indexOf(ks);b=b.filter((D,R)=>D!==ks||R===S);const x=r.value[S];let $;(v.value==="left"||v.value)&&!c.value?$="left":(v.value==="right"||v.value)&&c.value===r.value.length?$="right":$=x?x.fixed:null;const C=o.value,T=u.value,I=s.value,P=n.value,M=f.value,O={[ph]:{class:`${n.value}-expand-icon-col`,columnType:"EXPAND_COLUMN"},title:aw(p.value,"expandColumnTitle",{},()=>[""]),fixed:$,class:`${n.value}-row-expand-icon-cell`,width:h.value,customRender:D=>{let{record:R,index:A}=D;const E=a.value(R,A),k=C.has(E),N=T?T(R):!0,B=I({prefixCls:P,expanded:k,expandable:N,record:R,onExpand:l});return M?w("span",{onClick:F=>F.stopPropagation()},[B]):B}};return b.map(D=>D===ks?O:D)}return r.value.filter(b=>b!==ks)}),m=L(()=>{let b=g.value;return t.value&&(b=t.value(b)),b.length||(b=[{customRender:()=>null}]),b}),y=L(()=>d.value==="rtl"?JNe(kP(m.value)):kP(m.value));return[m,y]}function vJ(e){const t=ae(e);let n;const r=ae([]);function i(o){r.value.push(o),dt.cancel(n),n=dt(()=>{const a=r.value;r.value=[],a.forEach(l=>{t.value=l(t.value)})})}return ht(()=>{dt.cancel(n)}),[t,i]}function tke(e){const t=ue(e||null),n=ue();function r(){clearTimeout(n.value)}function i(a){t.value=a,r(),n.value=setTimeout(()=>{t.value=null,n.value=void 0},100)}function o(){return t.value}return ht(()=>{r()}),[i,o]}function nke(e,t,n){return L(()=>{const i=[],o=[];let a=0,l=0;const s=e.value,u=t.value,c=n.value;for(let d=0;d=0;l-=1){const s=t[l],u=n&&n[l],c=u&&u[ph];if(s||c||a){const d=c||{},f=rke(d,["columnType"]);i.unshift(w("col",z({key:l,style:{width:typeof s=="number"?`${s}px`:s}},f),null)),a=!0}}return w("colgroup",null,[i])}function BP(e,t){let{slots:n}=t;var r;return w("div",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}BP.displayName="Panel";let ike=0;const oke=se({name:"TableSummary",props:["fixed"],setup(e,t){let{slots:n}=t;const r=ll(),i=`table-summary-uni-key-${++ike}`,o=L(()=>e.fixed===""||e.fixed);return Ye(()=>{r.summaryCollect(i,o.value)}),ht(()=>{r.summaryCollect(i,!1)}),()=>{var a;return(a=n.default)===null||a===void 0?void 0:a.call(n)}}}),ake=oke,lke=se({compatConfig:{MODE:3},name:"ATableSummaryRow",setup(e,t){let{slots:n}=t;return()=>{var r;return w("tr",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])}}}),gJ=Symbol("SummaryContextProps"),ske=e=>{at(gJ,e)},uke=()=>Je(gJ,{}),cke=se({name:"ATableSummaryCell",props:["index","colSpan","rowSpan","align"],setup(e,t){let{attrs:n,slots:r}=t;const i=ll(),o=uke();return()=>{const{index:a,colSpan:l=1,rowSpan:s,align:u}=e,{prefixCls:c,direction:d}=i,{scrollColumnIndex:f,stickyOffsets:h,flattenColumns:v}=o,g=a+l-1+1===f?l+1:l,m=_3(a,a+g-1,v,h,d);return w(nC,z({class:n.class,index:a,component:"td",prefixCls:c,record:null,dataIndex:null,align:u,colSpan:g,rowSpan:s,customRender:()=>{var y;return(y=r.default)===null||y===void 0?void 0:y.call(r)}},m),null)}}}),s0=se({name:"TableFooter",inheritAttrs:!1,props:["stickyOffsets","flattenColumns"],setup(e,t){let{slots:n}=t;const r=ll();return ske(Bt({stickyOffsets:qe(e,"stickyOffsets"),flattenColumns:qe(e,"flattenColumns"),scrollColumnIndex:L(()=>{const i=e.flattenColumns.length-1,o=e.flattenColumns[i];return o!=null&&o.scrollbar?i:null})})),()=>{var i;const{prefixCls:o}=r;return w("tfoot",{class:`${o}-summary`},[(i=n.default)===null||i===void 0?void 0:i.call(n)])}}}),dke=ake;function fke(e){let{prefixCls:t,record:n,onExpand:r,expanded:i,expandable:o}=e;const a=`${t}-row-expand-icon`;if(!o)return w("span",{class:[a,`${t}-row-spaced`]},null);const l=s=>{r(n,s),s.stopPropagation()};return w("span",{class:{[a]:!0,[`${t}-row-expanded`]:i,[`${t}-row-collapsed`]:!i},onClick:l},null)}function hke(e,t,n){const r=[];function i(o){(o||[]).forEach((a,l)=>{r.push(t(a,l)),i(a[n])})}return i(e),r}const vke=se({name:"StickyScrollBar",inheritAttrs:!1,props:["offsetScroll","container","scrollBodyRef","scrollBodySizeInfo"],emits:["scroll"],setup(e,t){let{emit:n,expose:r}=t;const i=ll(),o=ae(0),a=ae(0),l=ae(0);Ye(()=>{o.value=e.scrollBodySizeInfo.scrollWidth||0,a.value=e.scrollBodySizeInfo.clientWidth||0,l.value=o.value&&a.value*(a.value/o.value)},{flush:"post"});const s=ae(),[u,c]=vJ({scrollLeft:0,isHiddenScrollBar:!0}),d=ue({delta:0,x:0}),f=ae(!1),h=()=>{f.value=!1},v=C=>{d.value={delta:C.pageX-u.value.scrollLeft,x:0},f.value=!0,C.preventDefault()},p=C=>{const{buttons:T}=C||(window==null?void 0:window.event);if(!f.value||T===0){f.value&&(f.value=!1);return}let I=d.value.x+C.pageX-d.value.x-d.value.delta;I<=0&&(I=0),I+l.value>=a.value&&(I=a.value-l.value),n("scroll",{scrollLeft:I/a.value*(o.value+2)}),d.value.x=C.pageX},g=()=>{if(!e.scrollBodyRef.value)return;const C=Q1(e.scrollBodyRef.value).top,T=C+e.scrollBodyRef.value.offsetHeight,I=e.container===window?document.documentElement.scrollTop+window.innerHeight:Q1(e.container).top+e.container.clientHeight;T-q1()<=I||C>=I-e.offsetScroll?c(P=>_(_({},P),{isHiddenScrollBar:!0})):c(P=>_(_({},P),{isHiddenScrollBar:!1}))};r({setScrollLeft:C=>{c(T=>_(_({},T),{scrollLeft:C/o.value*a.value||0}))}});let y=null,b=null,S=null,x=null;tt(()=>{y=bn(document.body,"mouseup",h,!1),b=bn(document.body,"mousemove",p,!1),S=bn(window,"resize",g,!1)}),zx(()=>{_t(()=>{g()})}),tt(()=>{setTimeout(()=>{Se([l,f],()=>{g()},{immediate:!0,flush:"post"})})}),Se(()=>e.container,()=>{x==null||x.remove(),x=bn(e.container,"scroll",g,!1)},{immediate:!0,flush:"post"}),ht(()=>{y==null||y.remove(),b==null||b.remove(),x==null||x.remove(),S==null||S.remove()}),Se(()=>_({},u.value),(C,T)=>{C.isHiddenScrollBar!==(T==null?void 0:T.isHiddenScrollBar)&&!C.isHiddenScrollBar&&c(I=>{const P=e.scrollBodyRef.value;return P?_(_({},I),{scrollLeft:P.scrollLeft/P.scrollWidth*P.clientWidth}):I})},{immediate:!0});const $=q1();return()=>{if(o.value<=a.value||!l.value||u.value.isHiddenScrollBar)return null;const{prefixCls:C}=i;return w("div",{style:{height:`${$}px`,width:`${a.value}px`,bottom:`${e.offsetScroll}px`},class:`${C}-sticky-scroll`},[w("div",{onMousedown:v,ref:s,class:ce(`${C}-sticky-scroll-bar`,{[`${C}-sticky-scroll-bar-active`]:f.value}),style:{width:`${l.value}px`,transform:`translate3d(${u.value.scrollLeft}px, 0, 0)`}},null)])}}}),yB=Xr()?window:null;function pke(e,t){return L(()=>{const{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:o=()=>yB}=typeof e.value=="object"?e.value:{},a=o()||yB,l=!!e.value;return{isSticky:l,stickyClassName:l?`${t.value}-sticky-holder`:"",offsetHeader:n,offsetSummary:r,offsetScroll:i,container:a}})}function gke(e,t){return L(()=>{const n=[],r=e.value,i=t.value;for(let o=0;oo.isSticky&&!e.fixHeader?0:o.scrollbarSize),l=ue(),s=p=>{const{currentTarget:g,deltaX:m}=p;m&&(i("scroll",{currentTarget:g,scrollLeft:g.scrollLeft+m}),p.preventDefault())},u=ue();tt(()=>{_t(()=>{u.value=bn(l.value,"wheel",s)})}),ht(()=>{var p;(p=u.value)===null||p===void 0||p.remove()});const c=L(()=>e.flattenColumns.every(p=>p.width&&p.width!==0&&p.width!=="0px")),d=ue([]),f=ue([]);Ye(()=>{const p=e.flattenColumns[e.flattenColumns.length-1],g={fixed:p?p.fixed:null,scrollbar:!0,customHeaderCell:()=>({class:`${o.prefixCls}-cell-scrollbar`})};d.value=a.value?[...e.columns,g]:e.columns,f.value=a.value?[...e.flattenColumns,g]:e.flattenColumns});const h=L(()=>{const{stickyOffsets:p,direction:g}=e,{right:m,left:y}=p;return _(_({},p),{left:g==="rtl"?[...y.map(b=>b+a.value),0]:y,right:g==="rtl"?m:[...m.map(b=>b+a.value),0],isSticky:o.isSticky})}),v=gke(qe(e,"colWidths"),qe(e,"columCount"));return()=>{var p;const{noData:g,columCount:m,stickyTopOffset:y,stickyBottomOffset:b,stickyClassName:S,maxContentScroll:x}=e,{isSticky:$}=o;return w("div",{style:_({overflow:"hidden"},$?{top:`${y}px`,bottom:`${b}px`}:{}),ref:l,class:ce(n.class,{[S]:!!S})},[w("table",{style:{tableLayout:"fixed",visibility:g||v.value?null:"hidden"}},[(!g||!x||c.value)&&w(pJ,{colWidths:v.value?[...v.value,a.value]:[],columCount:m+1,columns:f.value},null),(p=r.default)===null||p===void 0?void 0:p.call(r,_(_({},e),{stickyOffsets:h.value,columns:d.value,flattenColumns:f.value}))])])}}});function SB(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r[i,qe(e,i)])))}const mke=[],yke={},FP="rc-table-internal-hook",bke=se({name:"VcTable",inheritAttrs:!1,props:["prefixCls","data","columns","rowKey","tableLayout","scroll","rowClassName","title","footer","id","showHeader","components","customRow","customHeaderRow","direction","expandFixed","expandColumnWidth","expandedRowKeys","defaultExpandedRowKeys","expandedRowRender","expandRowByClick","expandIcon","onExpand","onExpandedRowsChange","onUpdate:expandedRowKeys","defaultExpandAllRows","indentSize","expandIconColumnIndex","expandedRowClassName","childrenColumnName","rowExpandable","sticky","transformColumns","internalHooks","internalRefs","canExpandable","onUpdateInternalRefs","transformCellText"],emits:["expand","expandedRowsChange","updateInternalRefs","update:expandedRowKeys"],setup(e,t){let{attrs:n,slots:r,emit:i}=t;const o=L(()=>e.data||mke),a=L(()=>!!o.value.length),l=L(()=>MNe(e.components,{})),s=(fe,ye)=>iJ(l.value,fe)||ye,u=L(()=>{const fe=e.rowKey;return typeof fe=="function"?fe:ye=>ye&&ye[fe]}),c=L(()=>e.expandIcon||fke),d=L(()=>e.childrenColumnName||"children"),f=L(()=>e.expandedRowRender?"row":e.canExpandable||o.value.some(fe=>fe&&typeof fe=="object"&&fe[d.value])?"nest":!1),h=ae([]);Ye(()=>{e.defaultExpandedRowKeys&&(h.value=e.defaultExpandedRowKeys),e.defaultExpandAllRows&&(h.value=hke(o.value,u.value,d.value))})();const p=L(()=>new Set(e.expandedRowKeys||h.value||[])),g=fe=>{const ye=u.value(fe,o.value.indexOf(fe));let Me;const De=p.value.has(ye);De?(p.value.delete(ye),Me=[...p.value]):Me=[...p.value,ye],h.value=Me,i("expand",!De,fe),i("update:expandedRowKeys",Me),i("expandedRowsChange",Me)},m=ue(0),[y,b]=eke(_(_({},Ga(e)),{expandable:L(()=>!!e.expandedRowRender),expandedKeys:p,getRowKey:u,onTriggerExpand:g,expandIcon:c}),L(()=>e.internalHooks===FP?e.transformColumns:null)),S=L(()=>({columns:y.value,flattenColumns:b.value})),x=ue(),$=ue(),C=ue(),T=ue({scrollWidth:0,clientWidth:0}),I=ue(),[P,M]=Xt(!1),[O,D]=Xt(!1),[R,A]=vJ(new Map),E=L(()=>tC(b.value)),k=L(()=>E.value.map(fe=>R.value.get(fe))),N=L(()=>b.value.length),B=nke(k,N,qe(e,"direction")),F=L(()=>e.scroll&&LP(e.scroll.y)),H=L(()=>e.scroll&&LP(e.scroll.x)||!!e.expandFixed),V=L(()=>H.value&&b.value.some(fe=>{let{fixed:ye}=fe;return ye})),X=ue(),Q=pke(qe(e,"sticky"),qe(e,"prefixCls")),K=Bt({}),te=L(()=>{const fe=Object.values(K)[0];return(F.value||Q.value.isSticky)&&fe}),q=(fe,ye)=>{ye?K[fe]=ye:delete K[fe]},ee=ue({}),J=ue({}),G=ue({});Ye(()=>{F.value&&(J.value={overflowY:"scroll",maxHeight:_c(e.scroll.y)}),H.value&&(ee.value={overflowX:"auto"},F.value||(J.value={overflowY:"hidden"}),G.value={width:e.scroll.x===!0?"auto":_c(e.scroll.x),minWidth:"100%"})});const Y=(fe,ye)=>{lw(x.value)&&A(Me=>{if(Me.get(fe)!==ye){const De=new Map(Me);return De.set(fe,ye),De}return Me})},[oe,W]=tke(null);function Z(fe,ye){if(!ye)return;if(typeof ye=="function"){ye(fe);return}const Me=ye.$el||ye;Me.scrollLeft!==fe&&(Me.scrollLeft=fe)}const ne=fe=>{let{currentTarget:ye,scrollLeft:Me}=fe;var De;const Be=e.direction==="rtl",we=typeof Me=="number"?Me:ye.scrollLeft,_e=ye||yke;if((!W()||W()===_e)&&(oe(_e),Z(we,$.value),Z(we,C.value),Z(we,I.value),Z(we,(De=X.value)===null||De===void 0?void 0:De.setScrollLeft)),ye){const{scrollWidth:Ie,clientWidth:Le}=ye;Be?(M(-we0)):(M(we>0),D(we{H.value&&C.value?ne({currentTarget:C.value}):(M(!1),D(!1))};let le;const ie=fe=>{fe!==m.value&&(re(),m.value=x.value?x.value.offsetWidth:fe)},de=fe=>{let{width:ye}=fe;if(clearTimeout(le),m.value===0){ie(ye);return}le=setTimeout(()=>{ie(ye)},100)};Se([H,()=>e.data,()=>e.columns],()=>{H.value&&re()},{flush:"post"});const[pe,me]=Xt(0);LNe(),tt(()=>{_t(()=>{var fe,ye;re(),me(w0e(C.value).width),T.value={scrollWidth:((fe=C.value)===null||fe===void 0?void 0:fe.scrollWidth)||0,clientWidth:((ye=C.value)===null||ye===void 0?void 0:ye.clientWidth)||0}})}),Qr(()=>{_t(()=>{var fe,ye;const Me=((fe=C.value)===null||fe===void 0?void 0:fe.scrollWidth)||0,De=((ye=C.value)===null||ye===void 0?void 0:ye.clientWidth)||0;(T.value.scrollWidth!==Me||T.value.clientWidth!==De)&&(T.value={scrollWidth:Me,clientWidth:De})})}),Ye(()=>{e.internalHooks===FP&&e.internalRefs&&e.onUpdateInternalRefs({body:C.value?C.value.$el||C.value:null})},{flush:"post"});const he=L(()=>e.tableLayout?e.tableLayout:V.value?e.scroll.x==="max-content"?"auto":"fixed":F.value||Q.value.isSticky||b.value.some(fe=>{let{ellipsis:ye}=fe;return ye})?"fixed":"auto"),xe=()=>{var fe;return a.value?null:((fe=r.emptyText)===null||fe===void 0?void 0:fe.call(r))||"No Data"};INe(Bt(_(_({},Ga(SB(e,"prefixCls","direction","transformCellText"))),{getComponent:s,scrollbarSize:pe,fixedInfoList:L(()=>b.value.map((fe,ye)=>_3(ye,ye,b.value,B.value,e.direction))),isSticky:L(()=>Q.value.isSticky),summaryCollect:q}))),KNe(Bt(_(_({},Ga(SB(e,"rowClassName","expandedRowClassName","expandRowByClick","expandedRowRender","expandIconColumnIndex","indentSize"))),{columns:y,flattenColumns:b,tableLayout:he,expandIcon:c,expandableType:f,onTriggerExpand:g}))),YNe({onColumnResize:Y}),WNe({componentWidth:m,fixHeader:F,fixColumn:V,horizonScroll:H});const Ce=()=>w(ZNe,{data:o.value,measureColumnWidth:F.value||H.value||Q.value.isSticky,expandedKeys:p.value,rowExpandable:e.rowExpandable,getRowKey:u.value,customRow:e.customRow,childrenColumnName:d.value},{emptyNode:xe}),ve=()=>w(pJ,{colWidths:b.value.map(fe=>{let{width:ye}=fe;return ye}),columns:b.value},null);return()=>{var fe;const{prefixCls:ye,scroll:Me,tableLayout:De,direction:Be,title:we=r.title,footer:_e=r.footer,id:Ie,showHeader:Le,customHeaderRow:Ke}=e,{isSticky:ke,offsetHeader:We,offsetSummary:gt,offsetScroll:Dt,stickyClassName:At,container:kt}=Q.value,Ut=s(["table"],"table"),Wn=s(["body"]),Zn=(fe=r.summary)===null||fe===void 0?void 0:fe.call(r,{pageData:o.value});let or=()=>null;const On={colWidths:k.value,columCount:b.value.length,stickyOffsets:B.value,customHeaderRow:Ke,fixHeader:F.value,scroll:Me};if(F.value||ke){let ro=()=>null;typeof Wn=="function"?(ro=()=>Wn(o.value,{scrollbarSize:pe.value,ref:C,onScroll:ne}),On.colWidths=b.value.map((bi,Lu)=>{let{width:Re}=bi;const ct=Lu===y.value.length-1?Re-pe.value:Re;return typeof ct=="number"&&!Number.isNaN(ct)?ct:0})):ro=()=>w("div",{style:_(_({},ee.value),J.value),onScroll:ne,ref:C,class:ce(`${ye}-body`)},[w(Ut,{style:_(_({},G.value),{tableLayout:he.value})},{default:()=>[ve(),Ce(),!te.value&&Zn&&w(s0,{stickyOffsets:B.value,flattenColumns:b.value},{default:()=>[Zn]})]})]);const Fo=_(_(_({noData:!o.value.length,maxContentScroll:H.value&&Me.x==="max-content"},On),S.value),{direction:Be,stickyClassName:At,onScroll:ne});or=()=>w(Qe,null,[Le!==!1&&w(bB,z(z({},Fo),{},{stickyTopOffset:We,class:`${ye}-header`,ref:$}),{default:bi=>w(Qe,null,[w(mB,bi,null),te.value==="top"&&w(s0,bi,{default:()=>[Zn]})])}),ro(),te.value&&te.value!=="top"&&w(bB,z(z({},Fo),{},{stickyBottomOffset:gt,class:`${ye}-summary`,ref:I}),{default:bi=>w(s0,bi,{default:()=>[Zn]})}),ke&&C.value&&w(vke,{ref:X,offsetScroll:Dt,scrollBodyRef:C,onScroll:ne,container:kt,scrollBodySizeInfo:T.value},null)])}else or=()=>w("div",{style:_(_({},ee.value),J.value),class:ce(`${ye}-content`),onScroll:ne,ref:C},[w(Ut,{style:_(_({},G.value),{tableLayout:he.value})},{default:()=>[ve(),Le!==!1&&w(mB,z(z({},On),S.value),null),Ce(),Zn&&w(s0,{stickyOffsets:B.value,flattenColumns:b.value},{default:()=>[Zn]})]})]);const Rr=Mu(n,{aria:!0,data:!0}),yi=()=>w("div",z(z({},Rr),{},{class:ce(ye,{[`${ye}-rtl`]:Be==="rtl",[`${ye}-ping-left`]:P.value,[`${ye}-ping-right`]:O.value,[`${ye}-layout-fixed`]:De==="fixed",[`${ye}-fixed-header`]:F.value,[`${ye}-fixed-column`]:V.value,[`${ye}-scroll-horizontal`]:H.value,[`${ye}-has-fix-left`]:b.value[0]&&b.value[0].fixed,[`${ye}-has-fix-right`]:b.value[N.value-1]&&b.value[N.value-1].fixed==="right",[n.class]:n.class}),style:n.style,id:Ie,ref:x}),[we&&w(BP,{class:`${ye}-title`},{default:()=>[we(o.value)]}),w("div",{class:`${ye}-container`},[or()]),_e&&w(BP,{class:`${ye}-footer`},{default:()=>[_e(o.value)]})]);return H.value?w(Ao,{onResize:de},{default:yi}):yi()}}});function Ske(){const e=_({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e}const zP=10;function xke(e,t){const n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&typeof t=="object"?t:{}).forEach(i=>{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function wke(e,t,n){const r=L(()=>t.value&&typeof t.value=="object"?t.value:{}),i=L(()=>r.value.total||0),[o,a]=Xt(()=>({current:"defaultCurrent"in r.value?r.value.defaultCurrent:1,pageSize:"defaultPageSize"in r.value?r.value.defaultPageSize:zP})),l=L(()=>{const c=Ske(o.value,r.value,{total:i.value>0?i.value:e.value}),d=Math.ceil((i.value||e.value)/c.pageSize);return c.current>d&&(c.current=d||1),c}),s=(c,d)=>{t.value!==!1&&a({current:c!=null?c:1,pageSize:d||l.value.pageSize})},u=(c,d)=>{var f,h;t.value&&((h=(f=r.value).onChange)===null||h===void 0||h.call(f,c,d)),s(c,d),n(c,d||l.value.pageSize)};return[L(()=>t.value===!1?{}:_(_({},l.value),{onChange:u})),s]}function Cke(e,t,n){const r=ae({});Se([e,t,n],()=>{const o=new Map,a=n.value,l=t.value;function s(u){u.forEach((c,d)=>{const f=a(c,d);o.set(f,c),c&&typeof c=="object"&&l in c&&s(c[l]||[])})}s(e.value),r.value={kvMap:o}},{deep:!0,immediate:!0});function i(o){return r.value.kvMap.get(o)}return[i]}const Sl={},HP="SELECT_ALL",VP="SELECT_INVERT",WP="SELECT_NONE",$ke=[];function mJ(e,t){let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[...n,...mJ(e,r[e])])}),n}function _ke(e,t){const n=L(()=>{const I=e.value||{},{checkStrictly:P=!0}=I;return _(_({},I),{checkStrictly:P})}),[r,i]=dn(n.value.selectedRowKeys||n.value.defaultSelectedRowKeys||$ke,{value:L(()=>n.value.selectedRowKeys)}),o=ae(new Map),a=I=>{if(n.value.preserveSelectedRowKeys){const P=new Map;I.forEach(M=>{let O=t.getRecordByKey(M);!O&&o.value.has(M)&&(O=o.value.get(M)),P.set(M,O)}),o.value=P}};Ye(()=>{a(r.value)});const l=L(()=>n.value.checkStrictly?null:Zm(t.data.value,{externalGetKey:t.getRowKey.value,childrenPropName:t.childrenColumnName.value}).keyEntities),s=L(()=>mJ(t.childrenColumnName.value,t.pageData.value)),u=L(()=>{const I=new Map,P=t.getRowKey.value,M=n.value.getCheckboxProps;return s.value.forEach((O,D)=>{const R=P(O,D),A=(M?M(O):null)||{};I.set(R,A)}),I}),{maxLevel:c,levelEntities:d}=Gw(l),f=I=>{var P;return!!(!((P=u.value.get(t.getRowKey.value(I)))===null||P===void 0)&&P.disabled)},h=L(()=>{if(n.value.checkStrictly)return[r.value||[],[]];const{checkedKeys:I,halfCheckedKeys:P}=Io(r.value,!0,l.value,c.value,d.value,f);return[I||[],P]}),v=L(()=>h.value[0]),p=L(()=>h.value[1]),g=L(()=>{const I=n.value.type==="radio"?v.value.slice(0,1):v.value;return new Set(I)}),m=L(()=>n.value.type==="radio"?new Set:new Set(p.value)),[y,b]=Xt(null),S=I=>{let P,M;a(I);const{preserveSelectedRowKeys:O,onChange:D}=n.value,{getRecordByKey:R}=t;O?(P=I,M=I.map(A=>o.value.get(A))):(P=[],M=[],I.forEach(A=>{const E=R(A);E!==void 0&&(P.push(A),M.push(E))})),i(P),D==null||D(P,M)},x=(I,P,M,O)=>{const{onSelect:D}=n.value,{getRecordByKey:R}=t||{};if(D){const A=M.map(E=>R(E));D(R(I),P,A,O)}S(M)},$=L(()=>{const{onSelectInvert:I,onSelectNone:P,selections:M,hideSelectAll:O}=n.value,{data:D,pageData:R,getRowKey:A,locale:E}=t;return!M||O?null:(M===!0?[HP,VP,WP]:M).map(N=>N===HP?{key:"all",text:E.value.selectionAll,onSelect(){S(D.value.map((B,F)=>A.value(B,F)).filter(B=>{const F=u.value.get(B);return!(F!=null&&F.disabled)||g.value.has(B)}))}}:N===VP?{key:"invert",text:E.value.selectInvert,onSelect(){const B=new Set(g.value);R.value.forEach((H,V)=>{const X=A.value(H,V),Q=u.value.get(X);Q!=null&&Q.disabled||(B.has(X)?B.delete(X):B.add(X))});const F=Array.from(B);I&&(on(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),I(F)),S(F)}}:N===WP?{key:"none",text:E.value.selectNone,onSelect(){P==null||P(),S(Array.from(g.value).filter(B=>{const F=u.value.get(B);return F==null?void 0:F.disabled}))}}:N)}),C=L(()=>s.value.length);return[I=>{var P;const{onSelectAll:M,onSelectMultiple:O,columnWidth:D,type:R,fixed:A,renderCell:E,hideSelectAll:k,checkStrictly:N}=n.value,{prefixCls:B,getRecordByKey:F,getRowKey:H,expandType:V,getPopupContainer:X}=t;if(!e.value)return I.filter(ie=>ie!==Sl);let Q=I.slice();const K=new Set(g.value),te=s.value.map(H.value).filter(ie=>!u.value.get(ie).disabled),q=te.every(ie=>K.has(ie)),ee=te.some(ie=>K.has(ie)),J=()=>{const ie=[];q?te.forEach(pe=>{K.delete(pe),ie.push(pe)}):te.forEach(pe=>{K.has(pe)||(K.add(pe),ie.push(pe))});const de=Array.from(K);M==null||M(!q,de.map(pe=>F(pe)),ie.map(pe=>F(pe))),S(de)};let G;if(R!=="radio"){let ie;if($.value){const xe=w(Ln,{getPopupContainer:X.value},{default:()=>[$.value.map((Ce,ve)=>{const{key:fe,text:ye,onSelect:Me}=Ce;return w(Ln.Item,{key:fe||ve,onClick:()=>{Me==null||Me(te)}},{default:()=>[ye]})})]});ie=w("div",{class:`${B.value}-selection-extra`},[w(Ua,{overlay:xe,getPopupContainer:X.value},{default:()=>[w("span",null,[w(Hm,null,null)])]})])}const de=s.value.map((xe,Ce)=>{const ve=H.value(xe,Ce),fe=u.value.get(ve)||{};return _({checked:K.has(ve)},fe)}).filter(xe=>{let{disabled:Ce}=xe;return Ce}),pe=!!de.length&&de.length===C.value,me=pe&&de.every(xe=>{let{checked:Ce}=xe;return Ce}),he=pe&&de.some(xe=>{let{checked:Ce}=xe;return Ce});G=!k&&w("div",{class:`${B.value}-selection`},[w(Po,{checked:pe?me:!!C.value&&q,indeterminate:pe?!me&&he:!q&&ee,onChange:J,disabled:C.value===0||pe,"aria-label":ie?"Custom selection":"Select all",skipGroup:!0},null),ie])}let Y;R==="radio"?Y=ie=>{let{record:de,index:pe}=ie;const me=H.value(de,pe),he=K.has(me);return{node:w(ai,z(z({},u.value.get(me)),{},{checked:he,onClick:xe=>xe.stopPropagation(),onChange:xe=>{K.has(me)||x(me,!0,[me],xe.nativeEvent)}}),null),checked:he}}:Y=ie=>{let{record:de,index:pe}=ie;var me;const he=H.value(de,pe),xe=K.has(he),Ce=m.value.has(he),ve=u.value.get(he);let fe;return V.value==="nest"?(fe=Ce,on(typeof(ve==null?void 0:ve.indeterminate)!="boolean","Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):fe=(me=ve==null?void 0:ve.indeterminate)!==null&&me!==void 0?me:Ce,{node:w(Po,z(z({},ve),{},{indeterminate:fe,checked:xe,skipGroup:!0,onClick:ye=>ye.stopPropagation(),onChange:ye=>{let{nativeEvent:Me}=ye;const{shiftKey:De}=Me;let Be=-1,we=-1;if(De&&N){const _e=new Set([y.value,he]);te.some((Ie,Le)=>{if(_e.has(Ie))if(Be===-1)Be=Le;else return we=Le,!0;return!1})}if(we!==-1&&Be!==we&&N){const _e=te.slice(Be,we+1),Ie=[];xe?_e.forEach(Ke=>{K.has(Ke)&&(Ie.push(Ke),K.delete(Ke))}):_e.forEach(Ke=>{K.has(Ke)||(Ie.push(Ke),K.add(Ke))});const Le=Array.from(K);O==null||O(!xe,Le.map(Ke=>F(Ke)),Ie.map(Ke=>F(Ke))),S(Le)}else{const _e=v.value;if(N){const Ie=xe?Ta(_e,he):yl(_e,he);x(he,!xe,Ie,Me)}else{const Ie=Io([..._e,he],!0,l.value,c.value,d.value,f),{checkedKeys:Le,halfCheckedKeys:Ke}=Ie;let ke=Le;if(xe){const We=new Set(Le);We.delete(he),ke=Io(Array.from(We),{checked:!1,halfCheckedKeys:Ke},l.value,c.value,d.value,f).checkedKeys}x(he,!xe,ke,Me)}}b(he)}}),null),checked:xe}};const oe=ie=>{let{record:de,index:pe}=ie;const{node:me,checked:he}=Y({record:de,index:pe});return E?E(he,de,pe,me):me};if(!Q.includes(Sl))if(Q.findIndex(ie=>{var de;return((de=ie[ph])===null||de===void 0?void 0:de.columnType)==="EXPAND_COLUMN"})===0){const[ie,...de]=Q;Q=[ie,Sl,...de]}else Q=[Sl,...Q];const W=Q.indexOf(Sl);Q=Q.filter((ie,de)=>ie!==Sl||de===W);const Z=Q[W-1],ne=Q[W+1];let re=A;re===void 0&&((ne==null?void 0:ne.fixed)!==void 0?re=ne.fixed:(Z==null?void 0:Z.fixed)!==void 0&&(re=Z.fixed)),re&&Z&&((P=Z[ph])===null||P===void 0?void 0:P.columnType)==="EXPAND_COLUMN"&&Z.fixed===void 0&&(Z.fixed=re);const le={fixed:re,width:D,className:`${B.value}-selection-column`,title:n.value.columnTitle||G,customRender:oe,[ph]:{class:`${B.value}-selection-col`}};return Q.map(ie=>ie===Sl?le:ie)},g]}var Tke={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const Ike=Tke;function xB(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[];const t=Jt(e),n=[];return t.forEach(r=>{var i,o,a,l;if(!r)return;const s=r.key,u=((i=r.props)===null||i===void 0?void 0:i.style)||{},c=((o=r.props)===null||o===void 0?void 0:o.class)||"",d=r.props||{};for(const[g,m]of Object.entries(d))d[Md(g)]=m;const f=r.children||{},{default:h}=f,v=Rke(f,["default"]),p=_(_(_({},v),d),{style:u,class:c});if(s&&(p.key=s),!((a=r.type)===null||a===void 0)&&a.__ANT_TABLE_COLUMN_GROUP)p.children=yJ(typeof h=="function"?h():h);else{const g=(l=r.children)===null||l===void 0?void 0:l.default;p.customRender=p.customRender||g}n.push(p)}),n}const Zb="ascend",C_="descend";function ES(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function CB(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function Lke(e,t){return t?e[e.indexOf(t)+1]:e[0]}function jP(e,t,n){let r=[];function i(o,a){r.push({column:o,key:yd(o,a),multiplePriority:ES(o),sortOrder:o.sortOrder})}return(e||[]).forEach((o,a)=>{const l=ty(a,n);o.children?("sortOrder"in o&&i(o,l),r=[...r,...jP(o.children,t,l)]):o.sorter&&("sortOrder"in o?i(o,l):t&&o.defaultSortOrder&&r.push({column:o,key:yd(o,l),multiplePriority:ES(o),sortOrder:o.defaultSortOrder}))}),r}function bJ(e,t,n,r,i,o,a,l){return(t||[]).map((s,u)=>{const c=ty(u,l);let d=s;if(d.sorter){const f=d.sortDirections||i,h=d.showSorterTooltip===void 0?a:d.showSorterTooltip,v=yd(d,c),p=n.find(I=>{let{key:P}=I;return P===v}),g=p?p.sortOrder:null,m=Lke(f,g),y=f.includes(Zb)&&w(Eke,{class:ce(`${e}-column-sorter-up`,{active:g===Zb}),role:"presentation"},null),b=f.includes(C_)&&w(Mke,{role:"presentation",class:ce(`${e}-column-sorter-down`,{active:g===C_})},null),{cancelSort:S,triggerAsc:x,triggerDesc:$}=o||{};let C=S;m===C_?C=$:m===Zb&&(C=x);const T=typeof h=="object"?h:{title:C};d=_(_({},d),{className:ce(d.className,{[`${e}-column-sort`]:g}),title:I=>{const P=w("div",{class:`${e}-column-sorters`},[w("span",{class:`${e}-column-title`},[P3(s.title,I)]),w("span",{class:ce(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(y&&b)})},[w("span",{class:`${e}-column-sorter-inner`},[y,b])])]);return h?w(Mi,T,{default:()=>[P]}):P},customHeaderCell:I=>{const P=s.customHeaderCell&&s.customHeaderCell(I)||{},M=P.onClick,O=P.onKeydown;return P.onClick=D=>{r({column:s,key:v,sortOrder:m,multiplePriority:ES(s)}),M&&M(D)},P.onKeydown=D=>{D.keyCode===Pe.ENTER&&(r({column:s,key:v,sortOrder:m,multiplePriority:ES(s)}),O==null||O(D))},g&&(P["aria-sort"]=g==="ascend"?"ascending":"descending"),P.class=ce(P.class,`${e}-column-has-sorters`),P.tabindex=0,P}})}return"children"in d&&(d=_(_({},d),{children:bJ(e,d.children,n,r,i,o,a,c)})),d})}function $B(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function _B(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map($B);return t.length===0&&e.length?_(_({},$B(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function GP(e,t,n){const r=t.slice().sort((a,l)=>l.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:l},sortOrder:s}=a;return CB(l)&&s});return o.length?i.sort((a,l)=>{for(let s=0;s{const l=a[n];return l?_(_({},a),{[n]:GP(l,t,n)}):a}):i}function Nke(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:o,showSorterTooltip:a}=e;const[l,s]=Xt(jP(n.value,!0)),u=L(()=>{let v=!0;const p=jP(n.value,!1);if(!p.length)return l.value;const g=[];function m(b){v?g.push(b):g.push(_(_({},b),{sortOrder:null}))}let y=null;return p.forEach(b=>{y===null?(m(b),b.sortOrder&&(b.multiplePriority===!1?v=!1:y=!0)):(y&&b.multiplePriority!==!1||(v=!1),m(b))}),g}),c=L(()=>{const v=u.value.map(p=>{let{column:g,sortOrder:m}=p;return{column:g,order:m}});return{sortColumns:v,sortColumn:v[0]&&v[0].column,sortOrder:v[0]&&v[0].order}});function d(v){let p;v.multiplePriority===!1||!u.value.length||u.value[0].multiplePriority===!1?p=[v]:p=[...u.value.filter(g=>{let{key:m}=g;return m!==v.key}),v],s(p),r(_B(p),p)}const f=v=>bJ(t.value,v,u.value,d,i.value,o.value,a.value),h=L(()=>_B(u.value));return[f,u,c,h]}var kke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const Bke=kke;function TB(e){for(var t=1;t{const{keyCode:t}=e;t===Pe.ENTER&&e.stopPropagation()},Vke=(e,t)=>{let{slots:n}=t;var r;return w("div",{onClick:i=>i.stopPropagation(),onKeydown:Hke},[(r=n.default)===null||r===void 0?void 0:r.call(n)])},Wke=Vke,IB=se({compatConfig:{MODE:3},name:"FilterSearch",inheritAttrs:!1,props:{value:je(),onChange:be(),filterSearch:Xe([Boolean,Function]),tablePrefixCls:je(),locale:He()},setup(e){return()=>{const{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:o}=e;return r?w("div",{class:`${i}-filter-dropdown-search`},[w(Jn,{placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${i}-filter-dropdown-search-input`},{prefix:()=>w(xw,null,null)})]):null}}});var PB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.motion?e.motion:Gm()),s=(u,c)=>{var d,f,h,v;c==="appear"?(f=(d=l.value)===null||d===void 0?void 0:d.onAfterEnter)===null||f===void 0||f.call(d,u):c==="leave"&&((v=(h=l.value)===null||h===void 0?void 0:h.onAfterLeave)===null||v===void 0||v.call(h,u)),a.value||e.onMotionEnd(),a.value=!0};return Se(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&i.value&&_t(()=>{i.value=!1})},{immediate:!0,flush:"post"}),tt(()=>{e.motionNodes&&e.onMotionStart()}),ht(()=>{e.motionNodes&&s()}),()=>{const{motion:u,motionNodes:c,motionType:d,active:f,eventKey:h}=e,v=PB(e,["motion","motionNodes","motionType","active","eventKey"]);return c?w(dr,z(z({},l.value),{},{appear:d==="show",onAfterAppear:p=>s(p,"appear"),onAfterLeave:p=>s(p,"leave")}),{default:()=>[Ur(w("div",{class:`${o.value.prefixCls}-treenode-motion`},[c.map(p=>{const g=PB(p.data,[]),{title:m,key:y,isStart:b,isEnd:S}=p;return delete g.children,w(vP,z(z({},g),{},{title:m,active:f,data:p.data,key:y,eventKey:y,isStart:b,isEnd:S}),r)})]),[[hi,i.value]])]}):w(vP,z(z({class:n.class,style:n.style},v),{},{active:f,eventKey:h}),r)}}});function Gke(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){const l=new Map;o.forEach(u=>{l.set(u,!0)});const s=a.filter(u=>!l.has(u));return s.length===1?s[0]:null}return na.key===n),i=e[r+1],o=t.findIndex(a=>a.key===n);if(i){const a=t.findIndex(l=>l.key===i.key);return t.slice(o+1,a)}return t.slice(o+1)}var AB=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{},bd=`RC_TREE_MOTION_${Math.random()}`,KP={key:bd},SJ={key:bd,level:0,index:0,pos:"0",node:KP,nodes:[KP]},DB={parent:null,children:[],pos:SJ.pos,data:KP,title:null,key:bd,isStart:[],isEnd:[]};function EB(e,t,n,r){return t===!1||!n?e:e.slice(0,Math.ceil(n/r)+1)}function RB(e){const{key:t,pos:n}=e;return qm(t,n)}function Uke(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const Xke=se({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:cAe,setup(e,t){let{expose:n,attrs:r}=t;const i=ue(),o=ue(),{expandedKeys:a,flattenNodes:l}=Wq();n({scrollTo:p=>{i.value.scrollTo(p)},getIndentWidth:()=>o.value.offsetWidth});const s=ae(l.value),u=ae([]),c=ue(null);function d(){s.value=l.value,u.value=[],c.value=null,e.onListChangeEnd()}const f=AE();Se([()=>a.value.slice(),l],(p,g)=>{let[m,y]=p,[b,S]=g;const x=Gke(b,m);if(x.key!==null){const{virtual:$,height:C,itemHeight:T}=e;if(x.add){const I=S.findIndex(O=>{let{key:D}=O;return D===x.key}),P=EB(MB(S,y,x.key),$,C,T),M=S.slice();M.splice(I+1,0,DB),s.value=M,u.value=P,c.value="show"}else{const I=y.findIndex(O=>{let{key:D}=O;return D===x.key}),P=EB(MB(y,S,x.key),$,C,T),M=y.slice();M.splice(I+1,0,DB),s.value=M,u.value=P,c.value="hide"}}else S!==y&&(s.value=y)}),Se(()=>f.value.dragging,p=>{p||d()});const h=L(()=>e.motion===void 0?s.value:l.value),v=()=>{e.onActiveChange(null)};return()=>{const p=_(_({},e),r),{prefixCls:g,selectable:m,checkable:y,disabled:b,motion:S,height:x,itemHeight:$,virtual:C,focusable:T,activeItem:I,focused:P,tabindex:M,onKeydown:O,onFocus:D,onBlur:R,onListChangeStart:A,onListChangeEnd:E}=p,k=AB(p,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return w(Qe,null,[P&&I&&w("span",{style:OB,"aria-live":"assertive"},[Uke(I)]),w("div",null,[w("input",{style:OB,disabled:T===!1||b,tabindex:T!==!1?M:null,onKeydown:O,onFocus:D,onBlur:R,value:"",onChange:Kke,"aria-label":"for screen reader"},null)]),w("div",{class:`${g}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[w("div",{class:`${g}-indent`},[w("div",{ref:o,class:`${g}-indent-unit`},null)])]),w(yX,z(z({},yt(k,["onActiveChange"])),{},{data:h.value,itemKey:RB,height:x,fullHeight:!1,virtual:C,itemHeight:$,prefixCls:`${g}-list`,ref:i,onVisibleChange:(N,B)=>{const F=new Set(N);B.filter(V=>!F.has(V)).some(V=>RB(V)===bd)&&d()}}),{default:N=>{const{pos:B}=N,F=AB(N.data,[]),{title:H,key:V,isStart:X,isEnd:Q}=N,K=qm(V,B);return delete F.key,delete F.children,w(jke,z(z({},F),{},{eventKey:K,title:H,active:!!I&&V===I.key,data:N.data,isStart:X,isEnd:Q,motion:S,motionNodes:V===bd?u.value:null,motionType:c.value,onMotionStart:A,onMotionEnd:d,onMousemove:v}),null)}})])}}});function Yke(e){let{dropPosition:t,dropLevelOffset:n,indent:r}=e;const i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:i.top=0,i.left=`${-n*r}px`;break;case 1:i.bottom=0,i.left=`${-n*r}px`;break;case 0:i.bottom=0,i.left=`${r}`;break}return w("div",{style:i},null)}const qke=10,xJ=se({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:ft(Gq(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Yke,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ae(!1);let a={};const l=ae(),s=ae([]),u=ae([]),c=ae([]),d=ae([]),f=ae([]),h=ae([]),v={},p=Bt({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),g=ae([]);Se([()=>e.treeData,()=>e.children],()=>{g.value=e.treeData!==void 0?e.treeData.slice():gP(mt(e.children))},{immediate:!0,deep:!0});const m=ae({}),y=ae(!1),b=ae(null),S=ae(!1),x=L(()=>Hw(e.fieldNames)),$=ae();let C=null,T=null,I=null;const P=L(()=>({expandedKeysSet:M.value,selectedKeysSet:O.value,loadedKeysSet:D.value,loadingKeysSet:R.value,checkedKeysSet:A.value,halfCheckedKeysSet:E.value,dragOverNodeKey:p.dragOverNodeKey,dropPosition:p.dropPosition,keyEntities:m.value})),M=L(()=>new Set(h.value)),O=L(()=>new Set(s.value)),D=L(()=>new Set(d.value)),R=L(()=>new Set(f.value)),A=L(()=>new Set(u.value)),E=L(()=>new Set(c.value));Ye(()=>{if(g.value){const we=Zm(g.value,{fieldNames:x.value});m.value=_({[bd]:SJ},we.keyEntities)}});let k=!1;Se([()=>e.expandedKeys,()=>e.autoExpandParent,m],(we,_e)=>{let[Ie,Le]=we,[Ke,ke]=_e,We=h.value;if(e.expandedKeys!==void 0||k&&Le!==ke)We=e.autoExpandParent||!k&&e.defaultExpandParent?pP(e.expandedKeys,m.value):e.expandedKeys;else if(!k&&e.defaultExpandAll){const gt=_({},m.value);delete gt[bd],We=Object.keys(gt).map(Dt=>gt[Dt].key)}else!k&&e.defaultExpandedKeys&&(We=e.autoExpandParent||e.defaultExpandParent?pP(e.defaultExpandedKeys,m.value):e.defaultExpandedKeys);We&&(h.value=We),k=!0},{immediate:!0});const N=ae([]);Ye(()=>{N.value=yAe(g.value,h.value,x.value)}),Ye(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=VN(e.selectedKeys,e):!k&&e.defaultSelectedKeys&&(s.value=VN(e.defaultSelectedKeys,e)))});const{maxLevel:B,levelEntities:F}=Gw(m);Ye(()=>{if(e.checkable){let we;if(e.checkedKeys!==void 0?we=o_(e.checkedKeys)||{}:!k&&e.defaultCheckedKeys?we=o_(e.defaultCheckedKeys)||{}:g.value&&(we=o_(e.checkedKeys)||{checkedKeys:u.value,halfCheckedKeys:c.value}),we){let{checkedKeys:_e=[],halfCheckedKeys:Ie=[]}=we;e.checkStrictly||({checkedKeys:_e,halfCheckedKeys:Ie}=Io(_e,!0,m.value,B.value,F.value)),u.value=_e,c.value=Ie}}}),Ye(()=>{e.loadedKeys&&(d.value=e.loadedKeys)});const H=()=>{_(p,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},V=we=>{$.value.scrollTo(we)};Se(()=>e.activeKey,()=>{e.activeKey!==void 0&&(b.value=e.activeKey)},{immediate:!0}),Se(b,we=>{_t(()=>{we!==null&&V({key:we})})},{immediate:!0,flush:"post"});const X=we=>{e.expandedKeys===void 0&&(h.value=we)},Q=()=>{p.draggingNodeKey!==null&&_(p,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),C=null,I=null},K=(we,_e)=>{const{onDragend:Ie}=e;p.dragOverNodeKey=null,Q(),Ie==null||Ie({event:we,node:_e.eventData}),T=null},te=we=>{K(we,null),window.removeEventListener("dragend",te)},q=(we,_e)=>{const{onDragstart:Ie}=e,{eventKey:Le,eventData:Ke}=_e;T=_e,C={x:we.clientX,y:we.clientY};const ke=Ta(h.value,Le);p.draggingNodeKey=Le,p.dragChildrenKeys=vAe(Le,m.value),l.value=$.value.getIndentWidth(),X(ke),window.addEventListener("dragend",te),Ie&&Ie({event:we,node:Ke})},ee=(we,_e)=>{const{onDragenter:Ie,onExpand:Le,allowDrop:Ke,direction:ke}=e,{pos:We,eventKey:gt}=_e;if(I!==gt&&(I=gt),!T){H();return}const{dropPosition:Dt,dropLevelOffset:At,dropTargetKey:kt,dropContainerKey:Ut,dropTargetPos:Wn,dropAllowed:Zn,dragOverNodeKey:or}=HN(we,T,_e,l.value,C,Ke,N.value,m.value,M.value,ke);if(p.dragChildrenKeys.indexOf(kt)!==-1||!Zn){H();return}if(a||(a={}),Object.keys(a).forEach(On=>{clearTimeout(a[On])}),T.eventKey!==_e.eventKey&&(a[We]=window.setTimeout(()=>{if(p.draggingNodeKey===null)return;let On=h.value.slice();const Rr=m.value[_e.eventKey];Rr&&(Rr.children||[]).length&&(On=yl(h.value,_e.eventKey)),X(On),Le&&Le(On,{node:_e.eventData,expanded:!0,nativeEvent:we})},800)),T.eventKey===kt&&At===0){H();return}_(p,{dragOverNodeKey:or,dropPosition:Dt,dropLevelOffset:At,dropTargetKey:kt,dropContainerKey:Ut,dropTargetPos:Wn,dropAllowed:Zn}),Ie&&Ie({event:we,node:_e.eventData,expandedKeys:h.value})},J=(we,_e)=>{const{onDragover:Ie,allowDrop:Le,direction:Ke}=e;if(!T)return;const{dropPosition:ke,dropLevelOffset:We,dropTargetKey:gt,dropContainerKey:Dt,dropAllowed:At,dropTargetPos:kt,dragOverNodeKey:Ut}=HN(we,T,_e,l.value,C,Le,N.value,m.value,M.value,Ke);p.dragChildrenKeys.indexOf(gt)!==-1||!At||(T.eventKey===gt&&We===0?p.dropPosition===null&&p.dropLevelOffset===null&&p.dropTargetKey===null&&p.dropContainerKey===null&&p.dropTargetPos===null&&p.dropAllowed===!1&&p.dragOverNodeKey===null||H():ke===p.dropPosition&&We===p.dropLevelOffset&>===p.dropTargetKey&&Dt===p.dropContainerKey&&kt===p.dropTargetPos&&At===p.dropAllowed&&Ut===p.dragOverNodeKey||_(p,{dropPosition:ke,dropLevelOffset:We,dropTargetKey:gt,dropContainerKey:Dt,dropTargetPos:kt,dropAllowed:At,dragOverNodeKey:Ut}),Ie&&Ie({event:we,node:_e.eventData}))},G=(we,_e)=>{I===_e.eventKey&&!we.currentTarget.contains(we.relatedTarget)&&(H(),I=null);const{onDragleave:Ie}=e;Ie&&Ie({event:we,node:_e.eventData})},Y=function(we,_e){let Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Le;const{dragChildrenKeys:Ke,dropPosition:ke,dropTargetKey:We,dropTargetPos:gt,dropAllowed:Dt}=p;if(!Dt)return;const{onDrop:At}=e;if(p.dragOverNodeKey=null,Q(),We===null)return;const kt=_(_({},Rb(We,mt(P.value))),{active:((Le=ye.value)===null||Le===void 0?void 0:Le.key)===We,data:m.value[We].node});Ke.indexOf(We);const Ut=OE(gt),Wn={event:we,node:Lb(kt),dragNode:T?T.eventData:null,dragNodesKeys:[T.eventKey].concat(Ke),dropToGap:ke!==0,dropPosition:ke+Number(Ut[Ut.length-1])};Ie||At==null||At(Wn),T=null},oe=(we,_e)=>{const{expanded:Ie,key:Le}=_e,Ke=N.value.filter(We=>We.key===Le)[0],ke=Lb(_(_({},Rb(Le,P.value)),{data:Ke.data}));X(Ie?Ta(h.value,Le):yl(h.value,Le)),xe(we,ke)},W=(we,_e)=>{const{onClick:Ie,expandAction:Le}=e;Le==="click"&&oe(we,_e),Ie&&Ie(we,_e)},Z=(we,_e)=>{const{onDblclick:Ie,expandAction:Le}=e;(Le==="doubleclick"||Le==="dblclick")&&oe(we,_e),Ie&&Ie(we,_e)},ne=(we,_e)=>{let Ie=s.value;const{onSelect:Le,multiple:Ke}=e,{selected:ke}=_e,We=_e[x.value.key],gt=!ke;gt?Ke?Ie=yl(Ie,We):Ie=[We]:Ie=Ta(Ie,We);const Dt=m.value,At=Ie.map(kt=>{const Ut=Dt[kt];return Ut?Ut.node:null}).filter(kt=>kt);e.selectedKeys===void 0&&(s.value=Ie),Le&&Le(Ie,{event:"select",selected:gt,node:_e,selectedNodes:At,nativeEvent:we})},re=(we,_e,Ie)=>{const{checkStrictly:Le,onCheck:Ke}=e,ke=_e[x.value.key];let We;const gt={event:"check",node:_e,checked:Ie,nativeEvent:we},Dt=m.value;if(Le){const At=Ie?yl(u.value,ke):Ta(u.value,ke),kt=Ta(c.value,ke);We={checked:At,halfChecked:kt},gt.checkedNodes=At.map(Ut=>Dt[Ut]).filter(Ut=>Ut).map(Ut=>Ut.node),e.checkedKeys===void 0&&(u.value=At)}else{let{checkedKeys:At,halfCheckedKeys:kt}=Io([...u.value,ke],!0,Dt,B.value,F.value);if(!Ie){const Ut=new Set(At);Ut.delete(ke),{checkedKeys:At,halfCheckedKeys:kt}=Io(Array.from(Ut),{checked:!1,halfCheckedKeys:kt},Dt,B.value,F.value)}We=At,gt.checkedNodes=[],gt.checkedNodesPositions=[],gt.halfCheckedKeys=kt,At.forEach(Ut=>{const Wn=Dt[Ut];if(!Wn)return;const{node:Zn,pos:or}=Wn;gt.checkedNodes.push(Zn),gt.checkedNodesPositions.push({node:Zn,pos:or})}),e.checkedKeys===void 0&&(u.value=At,c.value=kt)}Ke&&Ke(We,gt)},le=we=>{const _e=we[x.value.key],Ie=new Promise((Le,Ke)=>{const{loadData:ke,onLoad:We}=e;if(!ke||D.value.has(_e)||R.value.has(_e))return null;ke(we).then(()=>{const Dt=yl(d.value,_e),At=Ta(f.value,_e);We&&We(Dt,{event:"load",node:we}),e.loadedKeys===void 0&&(d.value=Dt),f.value=At,Le()}).catch(Dt=>{const At=Ta(f.value,_e);if(f.value=At,v[_e]=(v[_e]||0)+1,v[_e]>=qke){const kt=yl(d.value,_e);e.loadedKeys===void 0&&(d.value=kt),Le()}Ke(Dt)}),f.value=yl(f.value,_e)});return Ie.catch(()=>{}),Ie},ie=(we,_e)=>{const{onMouseenter:Ie}=e;Ie&&Ie({event:we,node:_e})},de=(we,_e)=>{const{onMouseleave:Ie}=e;Ie&&Ie({event:we,node:_e})},pe=(we,_e)=>{const{onRightClick:Ie}=e;Ie&&(we.preventDefault(),Ie({event:we,node:_e}))},me=we=>{const{onFocus:_e}=e;y.value=!0,_e&&_e(we)},he=we=>{const{onBlur:_e}=e;y.value=!1,fe(null),_e&&_e(we)},xe=(we,_e)=>{let Ie=h.value;const{onExpand:Le,loadData:Ke}=e,{expanded:ke}=_e,We=_e[x.value.key];if(S.value)return;Ie.indexOf(We);const gt=!ke;if(gt?Ie=yl(Ie,We):Ie=Ta(Ie,We),X(Ie),Le&&Le(Ie,{node:_e,expanded:gt,nativeEvent:we}),gt&&Ke){const Dt=le(_e);Dt&&Dt.then(()=>{}).catch(At=>{const kt=Ta(h.value,We);X(kt),Promise.reject(At)})}},Ce=()=>{S.value=!0},ve=()=>{setTimeout(()=>{S.value=!1})},fe=we=>{const{onActiveChange:_e}=e;b.value!==we&&(e.activeKey!==void 0&&(b.value=we),we!==null&&V({key:we}),_e&&_e(we))},ye=L(()=>b.value===null?null:N.value.find(we=>{let{key:_e}=we;return _e===b.value})||null),Me=we=>{let _e=N.value.findIndex(Le=>{let{key:Ke}=Le;return Ke===b.value});_e===-1&&we<0&&(_e=N.value.length),_e=(_e+we+N.value.length)%N.value.length;const Ie=N.value[_e];if(Ie){const{key:Le}=Ie;fe(Le)}else fe(null)},De=L(()=>Lb(_(_({},Rb(b.value,P.value)),{data:ye.value.data,active:!0}))),Be=we=>{const{onKeydown:_e,checkable:Ie,selectable:Le}=e;switch(we.which){case Pe.UP:{Me(-1),we.preventDefault();break}case Pe.DOWN:{Me(1),we.preventDefault();break}}const Ke=ye.value;if(Ke&&Ke.data){const ke=Ke.data.isLeaf===!1||!!(Ke.data.children||[]).length,We=De.value;switch(we.which){case Pe.LEFT:{ke&&M.value.has(b.value)?xe({},We):Ke.parent&&fe(Ke.parent.key),we.preventDefault();break}case Pe.RIGHT:{ke&&!M.value.has(b.value)?xe({},We):Ke.children&&Ke.children.length&&fe(Ke.children[0].key),we.preventDefault();break}case Pe.ENTER:case Pe.SPACE:{Ie&&!We.disabled&&We.checkable!==!1&&!We.disableCheckbox?re({},We,!A.value.has(b.value)):!Ie&&Le&&!We.disabled&&We.selectable!==!1&&ne({},We);break}}}_e&&_e(we)};return i({onNodeExpand:xe,scrollTo:V,onKeydown:Be,selectedKeys:L(()=>s.value),checkedKeys:L(()=>u.value),halfCheckedKeys:L(()=>c.value),loadedKeys:L(()=>d.value),loadingKeys:L(()=>f.value),expandedKeys:L(()=>h.value)}),Jr(()=>{window.removeEventListener("dragend",te),o.value=!0}),lAe({expandedKeys:h,selectedKeys:s,loadedKeys:d,loadingKeys:f,checkedKeys:u,halfCheckedKeys:c,expandedKeysSet:M,selectedKeysSet:O,loadedKeysSet:D,loadingKeysSet:R,checkedKeysSet:A,halfCheckedKeysSet:E,flattenNodes:N}),()=>{const{draggingNodeKey:we,dropLevelOffset:_e,dropContainerKey:Ie,dropTargetKey:Le,dropPosition:Ke,dragOverNodeKey:ke}=p,{prefixCls:We,showLine:gt,focusable:Dt,tabindex:At=0,selectable:kt,showIcon:Ut,icon:Wn=r.icon,switcherIcon:Zn,draggable:or,checkable:On,checkStrictly:Rr,disabled:yi,motion:ro,loadData:Fo,filterTreeNode:bi,height:Lu,itemHeight:Re,virtual:ct,dropIndicatorRender:ot,onContextmenu:nn,onScroll:Qn,direction:Dn,rootClassName:Si,rootStyle:xr}=e,{class:ma,style:ki}=n,io=Mu(_(_({},e),n),{aria:!0,data:!0});let wn;return or?typeof or=="object"?wn=or:typeof or=="function"?wn={nodeDraggable:or}:wn={}:wn=!1,w(aAe,{value:{prefixCls:We,selectable:kt,showIcon:Ut,icon:Wn,switcherIcon:Zn,draggable:wn,draggingNodeKey:we,checkable:On,customCheckable:r.checkable,checkStrictly:Rr,disabled:yi,keyEntities:m.value,dropLevelOffset:_e,dropContainerKey:Ie,dropTargetKey:Le,dropPosition:Ke,dragOverNodeKey:ke,dragging:we!==null,indent:l.value,direction:Dn,dropIndicatorRender:ot,loadData:Fo,filterTreeNode:bi,onNodeClick:W,onNodeDoubleClick:Z,onNodeExpand:xe,onNodeSelect:ne,onNodeCheck:re,onNodeLoad:le,onNodeMouseEnter:ie,onNodeMouseLeave:de,onNodeContextMenu:pe,onNodeDragStart:q,onNodeDragEnter:ee,onNodeDragOver:J,onNodeDragLeave:G,onNodeDragEnd:K,onNodeDrop:Y,slots:r}},{default:()=>[w("div",{role:"tree",class:ce(We,ma,Si,{[`${We}-show-line`]:gt,[`${We}-focused`]:y.value,[`${We}-active-focused`]:b.value!==null}),style:xr},[w(Xke,z({ref:$,prefixCls:We,style:ki,disabled:yi,selectable:kt,checkable:!!On,motion:ro,height:Lu,itemHeight:Re,virtual:ct,focusable:Dt,focused:y.value,tabindex:At,activeItem:ye.value,onFocus:me,onBlur:he,onKeydown:Be,onActiveChange:fe,onListChangeStart:Ce,onListChangeEnd:ve,onContextmenu:nn,onScroll:Qn},io),null)])]})}}});var Zke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const Qke=Zke;function LB(e){for(var t=1;t({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),pBe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),gBe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o}=t,a=(o-t.fontSizeLG)/2,l=t.paddingXS;return{[n]:_(_({},st(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:_({},Gl(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:hBe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${i}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:_({},Gl(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:o,lineHeight:`${o}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:_(_({},vBe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:`${o}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:o/2*.8,height:o/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,marginBlockStart:a},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${o}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:`${o}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:_({lineHeight:`${o}px`,userSelect:"none"},pBe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:o/2,bottom:-i,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${o/2}px !important`}}}}})}},mBe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},$J=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.paddingXS/2,o=t.controlHeightSM,a=Ue(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i,treeTitleHeight:o});return[gBe(e,a),mBe(a)]},yBe=it("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:Yw(`${n}-checkbox`,e)},$J(n,e),jm(e)]}),_J=()=>{const e=Gq();return _(_({},e),{showLine:Xe([Boolean,Object]),multiple:$e(),autoExpandParent:$e(),checkStrictly:$e(),checkable:$e(),disabled:$e(),defaultExpandAll:$e(),defaultExpandParent:$e(),defaultExpandedKeys:Ot(),expandedKeys:Ot(),checkedKeys:Xe([Array,Object]),defaultCheckedKeys:Ot(),selectedKeys:Ot(),defaultSelectedKeys:Ot(),selectable:$e(),loadedKeys:Ot(),draggable:$e(),showIcon:$e(),icon:be(),switcherIcon:U.any,prefixCls:String,replaceFields:He(),blockNode:$e(),openAnimation:U.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":be(),"onUpdate:checkedKeys":be(),"onUpdate:expandedKeys":be()})},Qb=se({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:ft(_J(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:r,emit:i,slots:o}=t;e.treeData===void 0&&o.default;const{prefixCls:a,direction:l,virtual:s}=Ee("tree",e),[u,c]=yBe(a),d=ue();r({treeRef:d,onNodeExpand:function(){var g;(g=d.value)===null||g===void 0||g.onNodeExpand(...arguments)},scrollTo:g=>{var m;(m=d.value)===null||m===void 0||m.scrollTo(g)},selectedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.selectedKeys}),checkedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.checkedKeys}),halfCheckedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.halfCheckedKeys}),loadedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.loadedKeys}),loadingKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.loadingKeys}),expandedKeys:L(()=>{var g;return(g=d.value)===null||g===void 0?void 0:g.expandedKeys})}),Ye(()=>{on(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const h=(g,m)=>{i("update:checkedKeys",g),i("check",g,m)},v=(g,m)=>{i("update:expandedKeys",g),i("expand",g,m)},p=(g,m)=>{i("update:selectedKeys",g),i("select",g,m)};return()=>{const{showIcon:g,showLine:m,switcherIcon:y=o.switcherIcon,icon:b=o.icon,blockNode:S,checkable:x,selectable:$,fieldNames:C=e.replaceFields,motion:T=e.openAnimation,itemHeight:I=28,onDoubleclick:P,onDblclick:M}=e,O=_(_(_({},n),yt(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!m,dropIndicatorRender:fBe,fieldNames:C,icon:b,itemHeight:I}),D=o.default?xn(o.default()):void 0;return u(w(xJ,z(z({},O),{},{virtual:s.value,motion:T,ref:d,prefixCls:a.value,class:ce({[`${a.value}-icon-hide`]:!g,[`${a.value}-block-node`]:S,[`${a.value}-unselectable`]:!$,[`${a.value}-rtl`]:l.value==="rtl"},n.class,c.value),direction:l.value,checkable:x,selectable:$,switcherIcon:R=>CJ(a.value,y,R,o.leafIcon,m),onCheck:h,onExpand:v,onSelect:p,onDblclick:M||P,children:D}),_(_({},o),{checkable:()=>w("span",{class:`${a.value}-checkbox-inner`},null)})))}}});var bBe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const SBe=bBe;function zB(e){for(var t=1;t{if(l===xl.End)return!1;if(s(u)){if(a.push(u),l===xl.None)l=xl.Start;else if(l===xl.Start)return l=xl.End,!1}else l===xl.Start&&a.push(u);return n.includes(u)}),a}function $_(e,t,n){const r=[...t],i=[];return N3(e,n,(o,a)=>{const l=r.indexOf(o);return l!==-1&&(i.push(a),r.splice(l,1)),!!r.length}),i}var PBe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},_J()),{expandAction:Xe([Boolean,String])});function ABe(e){const{isLeaf:t,expanded:n}=e;return w(t?wJ:n?wBe:TBe,null,null)}const Jb=se({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:ft(MBe(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:o}=t;var a;const l=ue(e.treeData||gP(xn((a=r.default)===null||a===void 0?void 0:a.call(r))));Se(()=>e.treeData,()=>{l.value=e.treeData}),Qr(()=>{_t(()=>{var I;e.treeData===void 0&&r.default&&(l.value=gP(xn((I=r.default)===null||I===void 0?void 0:I.call(r))))})});const s=ue(),u=ue(),c=L(()=>Hw(e.fieldNames)),d=ue();o({scrollTo:I=>{var P;(P=d.value)===null||P===void 0||P.scrollTo(I)},selectedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.selectedKeys}),checkedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.checkedKeys}),halfCheckedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.halfCheckedKeys}),loadedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadedKeys}),loadingKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.loadingKeys}),expandedKeys:L(()=>{var I;return(I=d.value)===null||I===void 0?void 0:I.expandedKeys})});const h=()=>{const{keyEntities:I}=Zm(l.value,{fieldNames:c.value});let P;return e.defaultExpandAll?P=Object.keys(I):e.defaultExpandParent?P=pP(e.expandedKeys||e.defaultExpandedKeys||[],I):P=e.expandedKeys||e.defaultExpandedKeys,P},v=ue(e.selectedKeys||e.defaultSelectedKeys||[]),p=ue(h());Se(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(v.value=e.selectedKeys)},{immediate:!0}),Se(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(p.value=e.expandedKeys)},{immediate:!0});const m=xD((I,P)=>{const{isLeaf:M}=P;M||I.shiftKey||I.metaKey||I.ctrlKey||d.value.onNodeExpand(I,P)},200,{leading:!0}),y=(I,P)=>{e.expandedKeys===void 0&&(p.value=I),i("update:expandedKeys",I),i("expand",I,P)},b=(I,P)=>{const{expandAction:M}=e;M==="click"&&m(I,P),i("click",I,P)},S=(I,P)=>{const{expandAction:M}=e;(M==="dblclick"||M==="doubleclick")&&m(I,P),i("doubleclick",I,P),i("dblclick",I,P)},x=(I,P)=>{const{multiple:M}=e,{node:O,nativeEvent:D}=P,R=O[c.value.key],A=_(_({},P),{selected:!0}),E=(D==null?void 0:D.ctrlKey)||(D==null?void 0:D.metaKey),k=D==null?void 0:D.shiftKey;let N;M&&E?(N=I,s.value=R,u.value=N,A.selectedNodes=$_(l.value,N,c.value)):M&&k?(N=Array.from(new Set([...u.value||[],...IBe({treeData:l.value,expandedKeys:p.value,startKey:R,endKey:s.value,fieldNames:c.value})])),A.selectedNodes=$_(l.value,N,c.value)):(N=[R],s.value=R,u.value=N,A.selectedNodes=$_(l.value,N,c.value)),i("update:selectedKeys",N),i("select",N,A),e.selectedKeys===void 0&&(v.value=N)},$=(I,P)=>{i("update:checkedKeys",I),i("check",I,P)},{prefixCls:C,direction:T}=Ee("tree",e);return()=>{const I=ce(`${C.value}-directory`,{[`${C.value}-directory-rtl`]:T.value==="rtl"},n.class),{icon:P=r.icon,blockNode:M=!0}=e,O=PBe(e,["icon","blockNode"]);return w(Qb,z(z(z({},n),{},{icon:P||ABe,ref:d,blockNode:M},O),{},{prefixCls:C.value,class:I,expandedKeys:p.value,selectedKeys:v.value,onSelect:x,onClick:b,onDblclick:S,onExpand:y,onCheck:$}),r)}}}),e1=vP,TJ=_(Qb,{DirectoryTree:Jb,TreeNode:e1,install:e=>(e.component(Qb.name,Qb),e.component(e1.name,e1),e.component(Jb.name,Jb),e)});function VB(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const r=new Set;function i(o,a){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const s=r.has(o);if(Jx(!s,"Warning: There may be circular references"),s)return!1;if(o===a)return!0;if(n&&l>1)return!1;r.add(o);const u=l+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(let c=0;ci(o[d],a[d],u))}return!1}return i(e,t)}const{SubMenu:OBe,Item:DBe}=Ln;function EBe(e){return e.some(t=>{let{children:n}=t;return n&&n.length>0})}function IJ(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function PJ(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((l,s)=>{const u=String(l.value);if(l.children)return w(OBe,{key:u||s,title:l.text,popupClassName:`${n}-dropdown-submenu`},{default:()=>[PJ({filters:l.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})]});const c=i?Po:ai,d=w(DBe,{key:l.value!==void 0?u:s},{default:()=>[w(c,{checked:r.includes(u)},null),w("span",null,[l.text])]});return o.trim()?typeof a=="function"?a(o,l)?d:void 0:IJ(o,l.text)?d:void 0:d})}const RBe=se({name:"FilterDropdown",props:["tablePrefixCls","prefixCls","dropdownPrefixCls","column","filterState","filterMultiple","filterMode","filterSearch","columnKey","triggerFilter","locale","getPopupContainer"],setup(e,t){let{slots:n}=t;const r=$3(),i=L(()=>{var V;return(V=e.filterMode)!==null&&V!==void 0?V:"menu"}),o=L(()=>{var V;return(V=e.filterSearch)!==null&&V!==void 0?V:!1}),a=L(()=>e.column.filterDropdownOpen||e.column.filterDropdownVisible),l=L(()=>e.column.onFilterDropdownOpenChange||e.column.onFilterDropdownVisibleChange),s=ae(!1),u=L(()=>{var V;return!!(e.filterState&&(!((V=e.filterState.filteredKeys)===null||V===void 0)&&V.length||e.filterState.forceFiltered))}),c=L(()=>{var V;return rC((V=e.column)===null||V===void 0?void 0:V.filters)}),d=L(()=>{const{filterDropdown:V,slots:X={},customFilterDropdown:Q}=e.column;return V||X.filterDropdown&&r.value[X.filterDropdown]||Q&&r.value.customFilterDropdown}),f=L(()=>{const{filterIcon:V,slots:X={}}=e.column;return V||X.filterIcon&&r.value[X.filterIcon]||r.value.customFilterIcon}),h=V=>{var X;s.value=V,(X=l.value)===null||X===void 0||X.call(l,V)},v=L(()=>typeof a.value=="boolean"?a.value:s.value),p=L(()=>{var V;return(V=e.filterState)===null||V===void 0?void 0:V.filteredKeys}),g=ae([]),m=V=>{let{selectedKeys:X}=V;g.value=X},y=(V,X)=>{let{node:Q,checked:K}=X;e.filterMultiple?m({selectedKeys:V}):m({selectedKeys:K&&Q.key?[Q.key]:[]})};Se(p,()=>{s.value&&m({selectedKeys:p.value||[]})},{immediate:!0});const b=ae([]),S=ae(),x=V=>{S.value=setTimeout(()=>{b.value=V})},$=()=>{clearTimeout(S.value)};ht(()=>{clearTimeout(S.value)});const C=ae(""),T=V=>{const{value:X}=V.target;C.value=X};Se(s,()=>{s.value||(C.value="")});const I=V=>{const{column:X,columnKey:Q,filterState:K}=e,te=V&&V.length?V:null;if(te===null&&(!K||!K.filteredKeys)||VB(te,K==null?void 0:K.filteredKeys,!0))return null;e.triggerFilter({column:X,key:Q,filteredKeys:te})},P=()=>{h(!1),I(g.value)},M=function(){let{confirm:V,closeDropdown:X}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};V&&I([]),X&&h(!1),C.value="",e.column.filterResetToDefaultFilteredValue?g.value=(e.column.defaultFilteredValue||[]).map(Q=>String(Q)):g.value=[]},O=function(){let{closeDropdown:V}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};V&&h(!1),I(g.value)},D=V=>{V&&p.value!==void 0&&(g.value=p.value||[]),h(V),!V&&!d.value&&P()},{direction:R}=Ee("",e),A=V=>{if(V.target.checked){const X=c.value;g.value=X}else g.value=[]},E=V=>{let{filters:X}=V;return(X||[]).map((Q,K)=>{const te=String(Q.value),q={title:Q.text,key:Q.value!==void 0?te:K};return Q.children&&(q.children=E({filters:Q.children})),q})},k=V=>{var X;return _(_({},V),{text:V.title,value:V.key,children:((X=V.children)===null||X===void 0?void 0:X.map(Q=>k(Q)))||[]})},N=L(()=>E({filters:e.column.filters})),B=L(()=>ce({[`${e.dropdownPrefixCls}-menu-without-submenu`]:!EBe(e.column.filters||[])})),F=()=>{const V=g.value,{column:X,locale:Q,tablePrefixCls:K,filterMultiple:te,dropdownPrefixCls:q,getPopupContainer:ee,prefixCls:J}=e;return(X.filters||[]).length===0?w(Hs,{image:Hs.PRESENTED_IMAGE_SIMPLE,description:Q.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}},null):i.value==="tree"?w(Qe,null,[w(IB,{filterSearch:o.value,value:C.value,onChange:T,tablePrefixCls:K,locale:Q},null),w("div",{class:`${K}-filter-dropdown-tree`},[te?w(Po,{class:`${K}-filter-dropdown-checkall`,onChange:A,checked:V.length===c.value.length,indeterminate:V.length>0&&V.length[Q.filterCheckall]}):null,w(TJ,{checkable:!0,selectable:!1,blockNode:!0,multiple:te,checkStrictly:!te,class:`${q}-menu`,onCheck:y,checkedKeys:V,selectedKeys:V,showIcon:!1,treeData:N.value,autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:C.value.trim()?G=>typeof o.value=="function"?o.value(C.value,k(G)):IJ(C.value,G.title):void 0},null)])]):w(Qe,null,[w(IB,{filterSearch:o.value,value:C.value,onChange:T,tablePrefixCls:K,locale:Q},null),w(Ln,{multiple:te,prefixCls:`${q}-menu`,class:B.value,onClick:$,onSelect:m,onDeselect:m,selectedKeys:V,getPopupContainer:ee,openKeys:b.value,onOpenChange:x},{default:()=>PJ({filters:X.filters||[],filterSearch:o.value,prefixCls:J,filteredKeys:g.value,filterMultiple:te,searchValue:C.value})})])},H=L(()=>{const V=g.value;return e.column.filterResetToDefaultFilteredValue?VB((e.column.defaultFilteredValue||[]).map(X=>String(X)),V,!0):V.length===0});return()=>{var V;const{tablePrefixCls:X,prefixCls:Q,column:K,dropdownPrefixCls:te,locale:q,getPopupContainer:ee}=e;let J;typeof d.value=="function"?J=d.value({prefixCls:`${te}-custom`,setSelectedKeys:oe=>m({selectedKeys:oe}),selectedKeys:g.value,confirm:O,clearFilters:M,filters:K.filters,visible:v.value,column:K.__originColumn__,close:()=>{h(!1)}}):d.value?J=d.value:J=w(Qe,null,[F(),w("div",{class:`${Q}-dropdown-btns`},[w(An,{type:"link",size:"small",disabled:H.value,onClick:()=>M()},{default:()=>[q.filterReset]}),w(An,{type:"primary",size:"small",onClick:P},{default:()=>[q.filterConfirm]})])]);const G=w(Wke,{class:`${Q}-dropdown`},{default:()=>[J]});let Y;return typeof f.value=="function"?Y=f.value({filtered:u.value,column:K.__originColumn__}):f.value?Y=f.value:Y=w(zke,null,null),w("div",{class:`${Q}-column`},[w("span",{class:`${X}-column-title`},[(V=n.default)===null||V===void 0?void 0:V.call(n)]),w(Ua,{overlay:G,trigger:["click"],open:v.value,onOpenChange:D,getPopupContainer:ee,placement:R.value==="rtl"?"bottomLeft":"bottomRight"},{default:()=>[w("span",{role:"button",tabindex:-1,class:ce(`${Q}-trigger`,{active:u.value}),onClick:oe=>{oe.stopPropagation()}},[Y])]})])}}});function UP(e,t,n){let r=[];return(e||[]).forEach((i,o)=>{var a,l;const s=ty(o,n),u=i.filterDropdown||((a=i==null?void 0:i.slots)===null||a===void 0?void 0:a.filterDropdown)||i.customFilterDropdown;if(i.filters||u||"onFilter"in i)if("filteredValue"in i){let c=i.filteredValue;u||(c=(l=c==null?void 0:c.map(String))!==null&&l!==void 0?l:c),r.push({column:i,key:yd(i,s),filteredKeys:c,forceFiltered:i.filtered})}else r.push({column:i,key:yd(i,s),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[...r,...UP(i.children,t,s)])}),r}function MJ(e,t,n,r,i,o,a,l){return n.map((s,u)=>{var c;const d=ty(u,l),{filterMultiple:f=!0,filterMode:h,filterSearch:v}=s;let p=s;const g=s.filterDropdown||((c=s==null?void 0:s.slots)===null||c===void 0?void 0:c.filterDropdown)||s.customFilterDropdown;if(p.filters||g){const m=yd(p,d),y=r.find(b=>{let{key:S}=b;return m===S});p=_(_({},p),{title:b=>w(RBe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:p,columnKey:m,filterState:y,filterMultiple:f,filterMode:h,filterSearch:v,triggerFilter:o,locale:i,getPopupContainer:a},{default:()=>[P3(s.title,b)]})})}return"children"in p&&(p=_(_({},p),{children:MJ(e,t,p.children,r,i,o,a,d)})),p})}function rC(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[...t,...rC(i)])}),t}function WB(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;var a;const l=o.filterDropdown||((a=o==null?void 0:o.slots)===null||a===void 0?void 0:a.filterDropdown)||o.customFilterDropdown,{filters:s}=o;if(l)t[r]=i||null;else if(Array.isArray(i)){const u=rC(s);t[r]=u.filter(c=>i.includes(String(c)))}else t[r]=null}),t}function jB(e,t){return t.reduce((n,r)=>{const{column:{onFilter:i,filters:o},filteredKeys:a}=r;return i&&a&&a.length?n.filter(l=>a.some(s=>{const u=rC(o),c=u.findIndex(f=>String(f)===String(s)),d=c!==-1?u[c]:s;return i(d,l)})):n},e)}function AJ(e){return e.flatMap(t=>"children"in t?[t,...AJ(t.children||[])]:[t])}function LBe(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,locale:i,onFilterChange:o,getPopupContainer:a}=e;const l=L(()=>AJ(r.value)),[s,u]=Xt(UP(l.value,!0)),c=L(()=>{const v=UP(l.value,!1);if(v.length===0)return v;let p=!0,g=!0;if(v.forEach(m=>{let{filteredKeys:y}=m;y!==void 0?p=!1:g=!1}),p){const m=(l.value||[]).map((y,b)=>yd(y,ty(b)));return s.value.filter(y=>{let{key:b}=y;return m.includes(b)}).map(y=>{const b=l.value[m.findIndex(S=>S===y.key)];return _(_({},y),{column:_(_({},y.column),b),forceFiltered:b.filtered})})}return on(g,"Table","Columns should all contain `filteredValue` or not contain `filteredValue`."),v}),d=L(()=>WB(c.value)),f=v=>{const p=c.value.filter(g=>{let{key:m}=g;return m!==v.key});p.push(v),u(p),o(WB(p),p)};return[v=>MJ(t.value,n.value,v,c.value,i.value,f,a.value),c,d]}function OJ(e,t){return e.map(n=>{const r=_({},n);return r.title=P3(r.title,t),"children"in r&&(r.children=OJ(r.children,t)),r})}function NBe(e){return[n=>OJ(n,e.value)]}function kBe(e){return function(n){let{prefixCls:r,onExpand:i,record:o,expanded:a,expandable:l}=n;const s=`${r}-row-expand-icon`;return w("button",{type:"button",onClick:u=>{i(o,u),u.stopPropagation()},class:ce(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&a,[`${s}-collapsed`]:l&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a},null)}}function DJ(e,t){const n=t.value;return e.map(r=>{var i;if(r===Sl||r===ks)return r;const o=_({},r),{slots:a={}}=o;return o.__originColumn__=r,on(!("slots"in o),"Table","`column.slots` is deprecated. Please use `v-slot:headerCell` `v-slot:bodyCell` instead."),Object.keys(a).forEach(l=>{const s=a[l];o[l]===void 0&&n[s]&&(o[l]=n[s])}),t.value.headerCell&&!(!((i=r.slots)===null||i===void 0)&&i.title)&&(o.title=aw(t.value,"headerCell",{title:r.title,column:r},()=>[r.title])),"children"in o&&Array.isArray(o.children)&&(o.children=DJ(o.children,t)),o})}function BBe(e){return[n=>DJ(n,e)]}const FBe=e=>{const{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,r=(i,o,a)=>({[`&${t}-${i}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`-${o}px -${a+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:_(_(_({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,[` > ${t}-content, > ${t}-header, > ${t}-body, @@ -422,10 +422,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{"> table":{borderTop:n}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> td":{borderInlineEnd:0}}}}}},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},FBe=BBe,zBe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:_(_({},Hn),{wordBreak:"keep-all",[` + `]:{"> td":{borderInlineEnd:0}}}}}},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}}}}},zBe=FBe,HBe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:_(_({},Hn),{wordBreak:"keep-all",[` &${t}-cell-fix-left-last, &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},HBe=zBe,VBe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},WBe=VBe,jBe=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:r,motionDurationSlow:i,lineWidth:o,paddingXS:a,lineType:l,tableBorderColor:s,tableExpandIconBg:u,tableExpandColumnWidth:c,borderRadius:d,fontSize:f,fontSizeSM:h,lineHeight:v,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:m,paddingXXS:y}=e,b=r/2-o,S=b*2+o*3,x=`${o}px ${l} ${s}`,$=y-o;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:c},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:_(_({},rw(e)),{position:"relative",float:"left",boxSizing:"border-box",width:S,height:S,padding:0,color:"inherit",lineHeight:`${S}px`,background:u,border:x,borderRadius:d,transform:`scale(${r/S})`,transition:`all ${i}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${i} ease-out`,content:'""'},"&::before":{top:b,insetInlineEnd:$,insetInlineStart:$,height:o},"&::after":{top:$,bottom:$,insetInlineStart:b,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(f*v-o*3)/2-Math.ceil((h*1.4-o*3)/2),marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${p}px -${g}px`,padding:`${p}px ${g}px`}}}},GBe=jBe,KBe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:u,lineType:c,tableBorderColor:d,tableHeaderIconColor:f,fontSizeSM:h,tablePaddingHorizontal:v,borderRadius:p,motionDurationSlow:g,colorTextDescription:m,colorPrimary:y,tableHeaderFilterActiveBg:b,colorTextDisabled:S,tableFilterDropdownBg:x,tableFilterDropdownHeight:$,controlItemBgHover:C,controlItemBgActive:T,boxShadowSecondary:I}=e,P=`${n}-dropdown`,M=`${t}-filter-dropdown`,O=`${n}-tree`,D=`${u}px ${c} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-a,marginInline:`${a}px ${-v/2}px`,padding:`0 ${a}px`,color:f,fontSize:h,borderRadius:p,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:m,background:b},"&.active":{color:y}}}},{[`${n}-dropdown`]:{[M]:_(_({},st(e)),{minWidth:i,backgroundColor:x,borderRadius:p,boxShadow:I,[`${P}-menu`]:{maxHeight:$,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${l}px 0`,color:S,fontSize:h,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${l}px 0`,paddingInline:l,[O]:{padding:0},[`${O}-treenode ${O}-node-content-wrapper:hover`]:{backgroundColor:C},[`${O}-treenode-checkbox-checked ${O}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:T}}},[`${M}-search`]:{padding:l,borderBottom:D,"&-input":{input:{minWidth:o},[r]:{color:S}}},[`${M}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${l-u}px ${l}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:D}})}},{[`${n}-dropdown ${M}, ${M}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},UBe=KBe,XBe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:i,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:l}=e,s=r;return{[`${t}-wrapper`]:{[` + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},VBe=HBe,WBe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"&:hover > td":{background:e.colorBgContainer}}}}},jBe=WBe,GBe=e=>{const{componentCls:t,antCls:n,controlInteractiveSize:r,motionDurationSlow:i,lineWidth:o,paddingXS:a,lineType:l,tableBorderColor:s,tableExpandIconBg:u,tableExpandColumnWidth:c,borderRadius:d,fontSize:f,fontSizeSM:h,lineHeight:v,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:m,paddingXXS:y}=e,b=r/2-o,S=b*2+o*3,x=`${o}px ${l} ${s}`,$=y-o;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:c},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:_(_({},rw(e)),{position:"relative",float:"left",boxSizing:"border-box",width:S,height:S,padding:0,color:"inherit",lineHeight:`${S}px`,background:u,border:x,borderRadius:d,transform:`scale(${r/S})`,transition:`all ${i}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${i} ease-out`,content:'""'},"&::before":{top:b,insetInlineEnd:$,insetInlineStart:$,height:o},"&::after":{top:$,bottom:$,insetInlineStart:b,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(f*v-o*3)/2-Math.ceil((h*1.4-o*3)/2),marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${p}px -${g}px`,padding:`${p}px ${g}px`}}}},KBe=GBe,UBe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:u,lineType:c,tableBorderColor:d,tableHeaderIconColor:f,fontSizeSM:h,tablePaddingHorizontal:v,borderRadius:p,motionDurationSlow:g,colorTextDescription:m,colorPrimary:y,tableHeaderFilterActiveBg:b,colorTextDisabled:S,tableFilterDropdownBg:x,tableFilterDropdownHeight:$,controlItemBgHover:C,controlItemBgActive:T,boxShadowSecondary:I}=e,P=`${n}-dropdown`,M=`${t}-filter-dropdown`,O=`${n}-tree`,D=`${u}px ${c} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-a,marginInline:`${a}px ${-v/2}px`,padding:`0 ${a}px`,color:f,fontSize:h,borderRadius:p,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:m,background:b},"&.active":{color:y}}}},{[`${n}-dropdown`]:{[M]:_(_({},st(e)),{minWidth:i,backgroundColor:x,borderRadius:p,boxShadow:I,[`${P}-menu`]:{maxHeight:$,overflowX:"hidden",border:0,boxShadow:"none","&:empty::after":{display:"block",padding:`${l}px 0`,color:S,fontSize:h,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${l}px 0`,paddingInline:l,[O]:{padding:0},[`${O}-treenode ${O}-node-content-wrapper:hover`]:{backgroundColor:C},[`${O}-treenode-checkbox-checked ${O}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:T}}},[`${M}-search`]:{padding:l,borderBottom:D,"&-input":{input:{minWidth:o},[r]:{color:S}}},[`${M}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${l-u}px ${l}px`,overflow:"hidden",backgroundColor:"inherit",borderTop:D}})}},{[`${n}-dropdown ${M}, ${M}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},XBe=UBe,YBe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:i,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:l}=e,s=r;return{[`${t}-wrapper`]:{[` ${t}-cell-fix-left, ${t}-cell-fix-right `]:{position:"sticky !important",zIndex:o,background:a},[` @@ -440,20 +440,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[` ${t}-cell-fix-right-first::after, ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},YBe=XBe,qBe=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ZBe=qBe,QBe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},JBe=QBe,e7e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},t7e=e7e,n7e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,paddingXS:o,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+o*2},[` + `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},qBe=YBe,ZBe=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},QBe=ZBe,JBe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,table:{borderRadius:0,"> thead > tr:first-child":{"th:first-child":{borderRadius:0},"th:last-child":{borderRadius:0}}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},e7e=JBe,t7e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{"&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}}}}},n7e=t7e,r7e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,paddingXS:o,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:e.tableSelectionColumnWidth},[`${t}-bordered ${t}-selection-col`]:{width:e.tableSelectionColumnWidth+o*2},[` table tr th${t}-selection-column, table tr td${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[r]:{color:a,fontSize:i,verticalAlign:"baseline","&:hover":{color:l}}}}}},r7e=n7e,i7e=e=>{const{componentCls:t}=e,n=(r,i,o,a)=>({[`${t}${t}-${r}`]:{fontSize:a,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[r]:{color:a,fontSize:i,verticalAlign:"baseline","&:hover":{color:l}}}}}},i7e=r7e,o7e=e=>{const{componentCls:t}=e,n=(r,i,o,a)=>({[`${t}${t}-${r}`]:{fontSize:a,[` ${t}-title, ${t}-footer, ${t}-thead > tr > th, ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${i}px ${o}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${o/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${i}px -${o}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${i}px`,marginInline:`${e.tableExpandColumnWidth-o}px -${o}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${o/4}px`}}});return{[`${t}-wrapper`]:_(_({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},o7e=i7e,a7e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},l7e=a7e,s7e=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,tableHeaderIconColor:i,tableHeaderIconColorHover:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + `]:{padding:`${i}px ${o}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${o/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${i}px -${o}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${i}px`,marginInline:`${e.tableExpandColumnWidth-o}px -${o}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${o/4}px`}}});return{[`${t}-wrapper`]:_(_({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},a7e=o7e,l7e=e=>{const{componentCls:t}=e;return{[`${t}-wrapper ${t}-resize-handle`]:{position:"absolute",top:0,height:"100% !important",bottom:0,left:" auto !important",right:" -8px",cursor:"col-resize",touchAction:"none",userSelect:"auto",width:"16px",zIndex:1,"&-line":{display:"block",width:"1px",marginLeft:"7px",height:"100% !important",backgroundColor:e.colorPrimary,opacity:0},"&:hover &-line":{opacity:1}},[`${t}-wrapper ${t}-resize-handle.dragging`]:{overflow:"hidden",[`${t}-resize-handle-line`]:{opacity:1},"&:before":{position:"absolute",top:0,bottom:0,content:'" "',width:"200vw",transform:"translateX(-50%)",opacity:0}}}},s7e=l7e,u7e=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,tableHeaderIconColor:i,tableHeaderIconColorHover:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},u7e=s7e,c7e=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:l}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${o}px !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},d7e=c7e,f7e=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r}=e,i=`${n}px ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${r}`}}}},GB=f7e,h7e=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,lineWidth:o,lineType:a,tableBorderColor:l,tableFontSize:s,tableBg:u,tableRadius:c,tableHeaderTextColor:d,motionDurationMid:f,tableHeaderBg:h,tableHeaderCellSplitColor:v,tableRowHoverBg:p,tableSelectedRowBg:g,tableSelectedRowHoverBg:m,tableFooterTextColor:y,tableFooterBg:b,paddingContentVerticalLG:S}=e,x=`${o}px ${a} ${l}`;return{[`${t}-wrapper`]:_(_({clear:"both",maxWidth:"100%"},aa()),{[t]:_(_({},st(e)),{fontSize:s,background:u,borderRadius:`${c}px ${c}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${c}px ${c}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},c7e=u7e,d7e=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:l}=e,s=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${o}px !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:s,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},f7e=d7e,h7e=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r}=e,i=`${n}px ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${r}`}}}},GB=h7e,v7e=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,lineWidth:o,lineType:a,tableBorderColor:l,tableFontSize:s,tableBg:u,tableRadius:c,tableHeaderTextColor:d,motionDurationMid:f,tableHeaderBg:h,tableHeaderCellSplitColor:v,tableRowHoverBg:p,tableSelectedRowBg:g,tableSelectedRowHoverBg:m,tableFooterTextColor:y,tableFooterBg:b,paddingContentVerticalLG:S}=e,x=`${o}px ${a} ${l}`;return{[`${t}-wrapper`]:_(_({clear:"both",maxWidth:"100%"},la()),{[t]:_(_({},st(e)),{fontSize:s,background:u,borderRadius:`${c}px ${c}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${c}px ${c}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${t}-thead > tr > th, ${t}-tbody > tr > td, tfoot > tr > th, @@ -465,7 +465,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{[t]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-i}px -${i}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},[` &${t}-row:hover > td, > td${t}-cell-row-hover - `]:{background:p},[`&${t}-row-selected`]:{"> td":{background:g},"&:hover > td":{background:m}}}},[`${t}-footer`]:{padding:`${r}px ${i}px`,color:y,background:b}})}},v7e=it("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:r,colorTextHeading:i,colorSplit:o,colorBorderSecondary:a,fontSize:l,padding:s,paddingXS:u,paddingSM:c,controlHeight:d,colorFillAlter:f,colorIcon:h,colorIconHover:v,opacityLoading:p,colorBgContainer:g,borderRadiusLG:m,colorFillContent:y,colorFillSecondary:b,controlInteractiveSize:S}=e,x=new zt(h),$=new zt(v),C=t,T=2,I=new zt(b).onBackground(g).toHexString(),P=new zt(y).onBackground(g).toHexString(),M=new zt(f).onBackground(g).toHexString(),O=Ue(e,{tableFontSize:l,tableBg:g,tableRadius:m,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:c,tablePaddingHorizontalMiddle:u,tablePaddingVerticalSmall:u,tablePaddingHorizontalSmall:u,tableBorderColor:a,tableHeaderTextColor:i,tableHeaderBg:M,tableFooterTextColor:i,tableFooterBg:M,tableHeaderCellSplitColor:a,tableHeaderSortBg:I,tableHeaderSortHoverBg:P,tableHeaderIconColor:x.clone().setAlpha(x.getAlpha()*p).toRgbString(),tableHeaderIconColorHover:$.clone().setAlpha($.getAlpha()*p).toRgbString(),tableBodySortBg:M,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:y,tableFilterDropdownBg:g,tableRowHoverBg:M,tableSelectedRowBg:C,tableSelectedRowHoverBg:n,zIndexTableFixed:T,zIndexTableSticky:T+1,tableFontSizeMiddle:l,tableFontSizeSmall:l,tableSelectionColumnWidth:d,tableExpandIconBg:g,tableExpandColumnWidth:S+2*e.padding,tableExpandedRowBg:f,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollBg:o});return[h7e(O),ZBe(O),GB(O),u7e(O),UBe(O),FBe(O),JBe(O),GBe(O),GB(O),WBe(O),r7e(O),YBe(O),d7e(O),HBe(O),o7e(O),l7e(O),t7e(O)]}),p7e=[],EJ=()=>({prefixCls:je(),columns:Ot(),rowKey:Xe([String,Function]),tableLayout:je(),rowClassName:Xe([String,Function]),title:be(),footer:be(),id:je(),showHeader:$e(),components:He(),customRow:be(),customHeaderRow:be(),direction:je(),expandFixed:Xe([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:Ot(),defaultExpandedRowKeys:Ot(),expandedRowRender:be(),expandRowByClick:$e(),expandIcon:be(),onExpand:be(),onExpandedRowsChange:be(),"onUpdate:expandedRowKeys":be(),defaultExpandAllRows:$e(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:$e(),expandedRowClassName:be(),childrenColumnName:je(),rowExpandable:be(),sticky:Xe([Boolean,Object]),dropdownPrefixCls:String,dataSource:Ot(),pagination:Xe([Boolean,Object]),loading:Xe([Boolean,Object]),size:je(),bordered:$e(),locale:He(),onChange:be(),onResizeColumn:be(),rowSelection:He(),getPopupContainer:be(),scroll:He(),sortDirections:Ot(),showSorterTooltip:Xe([Boolean,Object],!0),transformCellText:be()}),g7e=se({name:"InternalTable",inheritAttrs:!1,props:ft(_(_({},EJ()),{contextSlots:He()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;on(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),MNe(L(()=>e.contextSlots)),ANe({onResizeColumn:(re,le)=>{o("resizeColumn",re,le)}});const a=lv(),l=L(()=>{const re=new Set(Object.keys(a.value).filter(le=>a.value[le]));return e.columns.filter(le=>!le.responsive||le.responsive.some(ie=>re.has(ie)))}),{size:s,renderEmpty:u,direction:c,prefixCls:d,configProvider:f}=Ee("table",e),[h,v]=v7e(d),p=L(()=>{var re;return e.transformCellText||((re=f.transformCellText)===null||re===void 0?void 0:re.value)}),[g]=Ro("Table",vi.Table,qe(e,"locale")),m=L(()=>e.dataSource||p7e),y=L(()=>f.getPrefixCls("dropdown",e.dropdownPrefixCls)),b=L(()=>e.childrenColumnName||"children"),S=L(()=>m.value.some(re=>re==null?void 0:re[b.value])?"nest":e.expandedRowRender?"row":null),x=Bt({body:null}),$=re=>{_(x,re)},C=L(()=>typeof e.rowKey=="function"?e.rowKey:re=>re==null?void 0:re[e.rowKey]),[T]=wke(m,b,C),I={},P=function(re,le){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:de,scroll:pe,onChange:me}=e,he=_(_({},I),re);ie&&(I.resetPagination(),he.pagination.current&&(he.pagination.current=1),de&&de.onChange&&de.onChange(1,he.pagination.pageSize)),pe&&pe.scrollToFirstRowOnChange!==!1&&x.body&&IO(0,{getContainer:()=>x.body}),me==null||me(he.pagination,he.filters,he.sorter,{currentDataSource:jB(GP(m.value,he.sorterStates,b.value),he.filterStates),action:le})},M=(re,le)=>{P({sorter:re,sorterStates:le},"sort",!1)},[O,D,R,A]=Lke({prefixCls:d,mergedColumns:l,onSorterChange:M,sortDirections:L(()=>e.sortDirections||["ascend","descend"]),tableLocale:g,showSorterTooltip:qe(e,"showSorterTooltip")}),E=L(()=>GP(m.value,D.value,b.value)),k=(re,le)=>{P({filters:re,filterStates:le},"filter",!0)},[N,B,F]=RBe({prefixCls:d,locale:g,dropdownPrefixCls:y,mergedColumns:l,onFilterChange:k,getPopupContainer:qe(e,"getPopupContainer")}),H=L(()=>jB(E.value,B.value)),[V]=kBe(qe(e,"contextSlots")),X=L(()=>{const re={},le=F.value;return Object.keys(le).forEach(ie=>{le[ie]!==null&&(re[ie]=le[ie])}),_(_({},R.value),{filters:re})}),[Q]=LBe(X),K=(re,le)=>{P({pagination:_(_({},I.pagination),{current:re,pageSize:le})},"paginate")},[te,q]=xke(L(()=>H.value.length),qe(e,"pagination"),K);Ye(()=>{I.sorter=A.value,I.sorterStates=D.value,I.filters=F.value,I.filterStates=B.value,I.pagination=e.pagination===!1?{}:Ske(te.value,e.pagination),I.resetPagination=q});const ee=L(()=>{if(e.pagination===!1||!te.value.pageSize)return H.value;const{current:re=1,total:le,pageSize:ie=zP}=te.value;return on(re>0,"Table","`current` should be positive number."),H.value.lengthie?H.value.slice((re-1)*ie,re*ie):H.value:H.value.slice((re-1)*ie,re*ie)});Ye(()=>{_t(()=>{const{total:re,pageSize:le=zP}=te.value;H.value.lengthle&&on(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const J=L(()=>e.showExpandColumn===!1?-1:S.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),G=ue();Se(()=>e.rowSelection,()=>{G.value=e.rowSelection?_({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[Y,oe]=$ke(G,{prefixCls:d,data:H,pageData:ee,getRowKey:C,getRecordByKey:T,expandType:S,childrenColumnName:b,locale:g,getPopupContainer:L(()=>e.getPopupContainer)}),W=(re,le,ie)=>{let de;const{rowClassName:pe}=e;return typeof pe=="function"?de=ce(pe(re,le,ie)):de=ce(pe),ce({[`${d.value}-row-selected`]:oe.value.has(C.value(re,le))},de)};i({selectedKeySet:oe});const Z=L(()=>typeof e.indentSize=="number"?e.indentSize:15),ne=re=>Q(Y(N(O(V(re)))));return()=>{var re;const{expandIcon:le=r.expandIcon||NBe(g.value),pagination:ie,loading:de,bordered:pe}=e;let me,he;if(ie!==!1&&(!((re=te.value)===null||re===void 0)&&re.total)){let fe;te.value.size?fe=te.value.size:fe=s.value==="small"||s.value==="middle"?"small":void 0;const ye=Be=>w(Qw,z(z({},te.value),{},{class:[`${d.value}-pagination ${d.value}-pagination-${Be}`,te.value.class],size:fe}),null),Me=c.value==="rtl"?"left":"right",{position:De}=te.value;if(De!==null&&Array.isArray(De)){const Be=De.find(Ie=>Ie.includes("top")),we=De.find(Ie=>Ie.includes("bottom")),_e=De.every(Ie=>`${Ie}`=="none");!Be&&!we&&!_e&&(he=ye(Me)),Be&&(me=ye(Be.toLowerCase().replace("top",""))),we&&(he=ye(we.toLowerCase().replace("bottom","")))}else he=ye(Me)}let xe;typeof de=="boolean"?xe={spinning:de}:typeof de=="object"&&(xe=_({spinning:!0},de));const Ce=ce(`${d.value}-wrapper`,{[`${d.value}-wrapper-rtl`]:c.value==="rtl"},n.class,v.value),ve=yt(e,["columns"]);return h(w("div",{class:Ce,style:n.style},[w(Xa,z({spinning:!1},xe),{default:()=>[me,w(yke,z(z(z({},n),ve),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:J.value,indentSize:Z.value,expandIcon:le,columns:l.value,direction:c.value,prefixCls:d.value,class:ce({[`${d.value}-middle`]:s.value==="middle",[`${d.value}-small`]:s.value==="small",[`${d.value}-bordered`]:pe,[`${d.value}-empty`]:m.value.length===0}),data:ee.value,rowKey:C.value,rowClassName:W,internalHooks:FP,internalRefs:x,onUpdateInternalRefs:$,transformColumns:ne,transformCellText:p.value}),_(_({},r),{emptyText:()=>{var fe,ye;return((fe=r.emptyText)===null||fe===void 0?void 0:fe.call(r))||((ye=e.locale)===null||ye===void 0?void 0:ye.emptyText)||u("Table")}})),he]})]))}}}),m7e=se({name:"ATable",inheritAttrs:!1,props:ft(EJ(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ue();return i({table:o}),()=>{var a;const l=e.columns||yJ((a=r.default)===null||a===void 0?void 0:a.call(r));return w(g7e,z(z(z({ref:o},n),e),{},{columns:l||[],expandedRowRender:r.expandedRowRender||e.expandedRowRender,contextSlots:_({},r)}),r)}}}),__=m7e,t1=se({name:"ATableColumn",slots:Object,render(){return null}}),n1=se({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),RS=ake,LS=uke,r1=_(cke,{Cell:LS,Row:RS,name:"ATableSummary"}),y7e=_(__,{SELECTION_ALL:HP,SELECTION_INVERT:VP,SELECTION_NONE:WP,SELECTION_COLUMN:bl,EXPAND_COLUMN:ks,Column:t1,ColumnGroup:n1,Summary:r1,install:e=>(e.component(r1.name,r1),e.component(LS.name,LS),e.component(RS.name,RS),e.component(__.name,__),e.component(t1.name,t1),e.component(n1.name,n1),e)}),b7e={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},S7e=se({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:ft(b7e,{placeholder:""}),emits:["change"],setup(e,t){let{emit:n}=t;const r=i=>{var o;n("change",i),i.target.value===""&&((o=e.handleClear)===null||o===void 0||o.call(e))};return()=>{const{placeholder:i,value:o,prefixCls:a,disabled:l}=e;return w(Jn,{placeholder:i,class:a,value:o,onChange:r,disabled:l,allowClear:!0},{prefix:()=>w(xw,null,null)})}}});var x7e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const w7e=x7e;function KB(e){for(var t=1;t{const{renderedText:r,renderedEl:i,item:o,checked:a,disabled:l,prefixCls:s,showRemove:u}=e,c=ce({[`${s}-content-item`]:!0,[`${s}-content-item-disabled`]:l||o.disabled});let d;return(typeof r=="string"||typeof r=="number")&&(d=String(r)),w(Md,{componentName:"Transfer",defaultLocale:vi.Transfer},{default:f=>{const h=w("span",{class:`${s}-content-item-text`},[i]);return u?w("li",{class:c,title:d},[h,w(OS,{disabled:l||o.disabled,class:`${s}-content-item-remove`,"aria-label":f.remove,onClick:()=>{n("remove",o)}},{default:()=>[w(RJ,null,null)]})]):w("li",{class:c,title:d,onClick:l||o.disabled?$7e:()=>{n("click",o)}},[w(Io,{class:`${s}-checkbox`,checked:a,disabled:l||o.disabled},null),h])}})}}}),I7e={prefixCls:String,filteredRenderItems:U.array.def([]),selectedKeys:U.array,disabled:$e(),showRemove:$e(),pagination:U.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function P7e(e){if(!e)return null;const t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof e=="object"?_(_({},t),e):t}const M7e=se({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:I7e,emits:["itemSelect","itemRemove","scroll"],setup(e,t){let{emit:n,expose:r}=t;const i=ue(1),o=d=>{const{selectedKeys:f}=e,h=f.indexOf(d.key)>=0;n("itemSelect",d.key,!h)},a=d=>{n("itemRemove",[d.key])},l=d=>{n("scroll",d)},s=L(()=>P7e(e.pagination));Se([s,()=>e.filteredRenderItems],()=>{if(s.value){const d=Math.ceil(e.filteredRenderItems.length/s.value.pageSize);i.value=Math.min(i.value,d)}},{immediate:!0});const u=L(()=>{const{filteredRenderItems:d}=e;let f=d;return s.value&&(f=d.slice((i.value-1)*s.value.pageSize,i.value*s.value.pageSize)),f}),c=d=>{i.value=d};return r({items:u}),()=>{const{prefixCls:d,filteredRenderItems:f,selectedKeys:h,disabled:v,showRemove:p}=e;let g=null;s.value&&(g=w(Qw,{simple:s.value.simple,showSizeChanger:s.value.showSizeChanger,showLessItems:s.value.showLessItems,size:"small",disabled:v,class:`${d}-pagination`,total:f.length,pageSize:s.value.pageSize,current:i.value,onChange:c},null));const m=u.value.map(y=>{let{renderedEl:b,renderedText:S,item:x}=y;const{disabled:$}=x,C=h.indexOf(x.key)>=0;return w(T7e,{disabled:v||$,key:x.key,item:x,renderedText:S,renderedEl:b,checked:C,prefixCls:d,onClick:o,onRemove:a,showRemove:p},null)});return w(Qe,null,[w("ul",{class:ce(`${d}-content`,{[`${d}-content-show-remove`]:p}),onScroll:l},[m]),g])}}}),A7e=M7e,XP=e=>{const t=new Map;return e.forEach((n,r)=>{t.set(n,r)}),t},O7e=e=>{const t=new Map;return e.forEach((n,r)=>{let{disabled:i,key:o}=n;i&&t.set(o,r)}),t},D7e=()=>null;function E7e(e){return!!(e&&!zn(e)&&Object.prototype.toString.call(e)==="[object Object]")}function u0(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const R7e={prefixCls:String,dataSource:Ot([]),filter:String,filterOption:Function,checkedKeys:U.arrayOf(U.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:$e(!1),searchPlaceholder:String,notFoundContent:U.any,itemUnit:String,itemsUnit:String,renderList:U.any,disabled:$e(),direction:je(),showSelectAll:$e(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:U.any,showRemove:$e(),pagination:U.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},UB=se({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:R7e,slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const i=ue(""),o=ue(),a=ue(),l=(x,$)=>{let C=x?x($):null;const T=!!C&&xn(C).length>0;return T||(C=w(A7e,z(z({},$),{},{ref:a}),null)),{customize:T,bodyContent:C}},s=x=>{const{renderItem:$=D7e}=e,C=$(x),T=E7e(C);return{renderedText:T?C.value:C,renderedEl:T?C.label:C,item:x}},u=ue([]),c=ue([]);Ye(()=>{const x=[],$=[];e.dataSource.forEach(C=>{const T=s(C),{renderedText:I}=T;if(i.value&&i.value.trim()&&!m(I,C))return null;x.push(C),$.push(T)}),u.value=x,c.value=$});const d=L(()=>{const{checkedKeys:x}=e;if(x.length===0)return"none";const $=XP(x);return u.value.every(C=>$.has(C.key)||!!C.disabled)?"all":"part"}),f=L(()=>u0(u.value)),h=(x,$)=>Array.from(new Set([...x,...e.checkedKeys])).filter(C=>$.indexOf(C)===-1),v=x=>{let{disabled:$,prefixCls:C}=x;var T;const I=d.value==="all";return w(Io,{disabled:((T=e.dataSource)===null||T===void 0?void 0:T.length)===0||$,checked:I,indeterminate:d.value==="part",class:`${C}-checkbox`,onChange:()=>{const M=f.value;e.onItemSelectAll(h(I?[]:M,I?e.checkedKeys:[]))}},null)},p=x=>{var $;const{target:{value:C}}=x;i.value=C,($=e.handleFilter)===null||$===void 0||$.call(e,x)},g=x=>{var $;i.value="",($=e.handleClear)===null||$===void 0||$.call(e,x)},m=(x,$)=>{const{filterOption:C}=e;return C?C(i.value,$):x.includes(i.value)},y=(x,$)=>{const{itemsUnit:C,itemUnit:T,selectAllLabel:I}=e;if(I)return typeof I=="function"?I({selectedCount:x,totalCount:$}):I;const P=$>1?C:T;return w(Qe,null,[(x>0?`${x}/`:"")+$,Gr(" "),P])},b=L(()=>Array.isArray(e.notFoundContent)?e.notFoundContent[e.direction==="left"?0:1]:e.notFoundContent),S=(x,$,C,T,I,P)=>{const M=I?w("div",{class:`${x}-body-search-wrapper`},[w(S7e,{prefixCls:`${x}-search`,onChange:p,handleClear:g,placeholder:$,value:i.value,disabled:P},null)]):null;let O;const{onEvents:D}=vO(n),{bodyContent:R,customize:A}=l(T,_(_(_({},e),{filteredItems:u.value,filteredRenderItems:c.value,selectedKeys:C}),D));return A?O=w("div",{class:`${x}-body-customize-wrapper`},[R]):O=u.value.length?R:w("div",{class:`${x}-body-not-found`},[b.value]),w("div",{class:I?`${x}-body ${x}-body-with-search`:`${x}-body`,ref:o},[M,O])};return()=>{var x,$;const{prefixCls:C,checkedKeys:T,disabled:I,showSearch:P,searchPlaceholder:M,selectAll:O,selectCurrent:D,selectInvert:R,removeAll:A,removeCurrent:E,renderList:k,onItemSelectAll:N,onItemRemove:B,showSelectAll:F=!0,showRemove:H,pagination:V}=e,X=(x=r.footer)===null||x===void 0?void 0:x.call(r,_({},e)),Q=ce(C,{[`${C}-with-pagination`]:!!V,[`${C}-with-footer`]:!!X}),K=S(C,M,T,k,P,I),te=X?w("div",{class:`${C}-footer`},[X]):null,q=!H&&!V&&v({disabled:I,prefixCls:C});let ee=null;H?ee=w(Ln,null,{default:()=>[V&&w(Ln.Item,{key:"removeCurrent",onClick:()=>{const G=u0((a.value.items||[]).map(Y=>Y.item));B==null||B(G)}},{default:()=>[E]}),w(Ln.Item,{key:"removeAll",onClick:()=>{B==null||B(f.value)}},{default:()=>[A]})]}):ee=w(Ln,null,{default:()=>[w(Ln.Item,{key:"selectAll",onClick:()=>{const G=f.value;N(h(G,[]))}},{default:()=>[O]}),V&&w(Ln.Item,{onClick:()=>{const G=u0((a.value.items||[]).map(Y=>Y.item));N(h(G,[]))}},{default:()=>[D]}),w(Ln.Item,{key:"selectInvert",onClick:()=>{let G;V?G=u0((a.value.items||[]).map(Z=>Z.item)):G=f.value;const Y=new Set(T),oe=[],W=[];G.forEach(Z=>{Y.has(Z)?W.push(Z):oe.push(Z)}),N(h(oe,W))}},{default:()=>[R]})]});const J=w(Ka,{class:`${C}-header-dropdown`,overlay:ee,disabled:I},{default:()=>[w(Hm,null,null)]});return w("div",{class:Q,style:n.style},[w("div",{class:`${C}-header`},[F?w(Qe,null,[q,J]):null,w("span",{class:`${C}-header-selected`},[w("span",null,[y(T.length,u.value.length)]),w("span",{class:`${C}-header-title`},[($=r.titleText)===null||$===void 0?void 0:$.call(r)])])]),K,te])}}});function XB(){}const B3=e=>{const{disabled:t,moveToLeft:n=XB,moveToRight:r=XB,leftArrowText:i="",rightArrowText:o="",leftActive:a,rightActive:l,class:s,style:u,direction:c,oneWay:d}=e;return w("div",{class:s,style:u},[w(An,{type:"primary",size:"small",disabled:t||!l,onClick:r,icon:w(c!=="rtl"?ua:vu,null,null)},{default:()=>[o]}),!d&&w(An,{type:"primary",size:"small",disabled:t||!a,onClick:n,icon:w(c!=="rtl"?vu:ua,null,null)},{default:()=>[i]})])};B3.displayName="Operation";B3.inheritAttrs=!1;const L7e=B3,N7e=e=>{const{antCls:t,componentCls:n,listHeight:r,controlHeightLG:i,marginXXS:o,margin:a}=e,l=`${t}-table`,s=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:r},[`${l}-wrapper`]:{[`${l}-small`]:{border:0,borderRadius:0,[`${l}-selection-column`]:{width:i,minWidth:i}},[`${l}-pagination${l}-pagination`]:{margin:`${a}px 0 ${o}px`}},[`${s}[disabled]`]:{backgroundColor:"transparent"}}}},YB=(e,t)=>{const{componentCls:n,colorBorder:r}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:r}}}},k7e=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:_({},YB(e,e.colorError)),[`${t}-status-warning`]:_({},YB(e,e.colorWarning))}},B7e=e=>{const{componentCls:t,colorBorder:n,colorSplit:r,lineWidth:i,transferItemHeight:o,transferHeaderHeight:a,transferHeaderVerticalPadding:l,transferItemPaddingVertical:s,controlItemBgActive:u,controlItemBgActiveHover:c,colorTextDisabled:d,listHeight:f,listWidth:h,listWidthLG:v,fontSizeIcon:p,marginXS:g,paddingSM:m,lineType:y,iconCls:b,motionDurationSlow:S}=e;return{display:"flex",flexDirection:"column",width:h,height:f,border:`${i}px ${y} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:v,height:"auto"},"&-search":{[`${b}-search`]:{color:d}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:a,padding:`${l-i}px ${m}px ${l}px`,color:e.colorText,background:e.colorBgContainer,borderBottom:`${i}px ${y} ${r}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":_(_({},Hn),{flex:"auto",textAlign:"end"}),"&-dropdown":_(_({},Ad()),{fontSize:p,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",overflow:"hidden",fontSize:e.fontSize,"&-search-wrapper":{position:"relative",flex:"none",padding:m}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:o,padding:`${s}px ${m}px`,transition:`all ${S}`,"> *:not(:last-child)":{marginInlineEnd:g},"> *":{flex:"none"},"&-text":_(_({},Hn),{flex:"auto"}),"&-remove":{position:"relative",color:n,cursor:"pointer",transition:`all ${S}`,"&:hover":{color:e.colorLinkHover},"&::after":{position:"absolute",insert:`-${s}px -50%`,content:'""'}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:e.controlItemBgHover,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:c}},"&-checked":{backgroundColor:u},"&-disabled":{color:d,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${e.paddingXS}px 0`,textAlign:"end",borderTop:`${i}px ${y} ${r}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:d,textAlign:"center"},"&-footer":{borderTop:`${i}px ${y} ${r}`},"&-checkbox":{lineHeight:1}}},F7e=e=>{const{antCls:t,iconCls:n,componentCls:r,transferHeaderHeight:i,marginXS:o,marginXXS:a,fontSizeIcon:l,fontSize:s,lineHeight:u}=e;return{[r]:_(_({},st(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${r}-disabled`]:{[`${r}-list`]:{background:e.colorBgContainerDisabled}},[`${r}-list`]:B7e(e),[`${r}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${o}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:a},[n]:{fontSize:l}}},[`${t}-empty-image`]:{maxHeight:i/2-Math.round(s*u)}})}},z7e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},H7e=it("Transfer",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeightLG:i,controlHeight:o}=e,a=Math.round(t*n),l=i,s=o,u=Ue(e,{transferItemHeight:s,transferHeaderHeight:l,transferHeaderVerticalPadding:Math.ceil((l-r-a)/2),transferItemPaddingVertical:(s-a)/2});return[F7e(u),N7e(u),k7e(u),z7e(u)]},{listWidth:180,listHeight:200,listWidthLG:250}),V7e=()=>({id:String,prefixCls:String,dataSource:Ot([]),disabled:$e(),targetKeys:Ot(),selectedKeys:Ot(),render:be(),listStyle:Xe([Function,Object],()=>({})),operationStyle:He(void 0),titles:Ot(),operations:Ot(),showSearch:$e(!1),filterOption:be(),searchPlaceholder:String,notFoundContent:U.any,locale:He(),rowKey:be(),showSelectAll:$e(),selectAllLabels:Ot(),children:be(),oneWay:$e(),pagination:Xe([Object,Boolean]),status:je(),onChange:be(),onSelectChange:be(),onSearch:be(),onScroll:be(),"onUpdate:targetKeys":be(),"onUpdate:selectedKeys":be()}),W7e=se({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:V7e(),slots:Object,setup(e,t){let{emit:n,attrs:r,slots:i,expose:o}=t;const{configProvider:a,prefixCls:l,direction:s}=Ee("transfer",e),[u,c]=H7e(l),d=ue([]),f=ue([]),h=Xn(),v=fr.useInject(),p=L(()=>ha(v.status,e.status));Se(()=>e.selectedKeys,()=>{var K,te;d.value=((K=e.selectedKeys)===null||K===void 0?void 0:K.filter(q=>e.targetKeys.indexOf(q)===-1))||[],f.value=((te=e.selectedKeys)===null||te===void 0?void 0:te.filter(q=>e.targetKeys.indexOf(q)>-1))||[]},{immediate:!0});const g=(K,te)=>{const q={notFoundContent:te("Transfer")},ee=Un(i,e,"notFoundContent");return ee&&(q.notFoundContent=ee),e.searchPlaceholder!==void 0&&(q.searchPlaceholder=e.searchPlaceholder),_(_(_({},K),q),e.locale)},m=K=>{const{targetKeys:te=[],dataSource:q=[]}=e,ee=K==="right"?d.value:f.value,J=O7e(q),G=ee.filter(Z=>!J.has(Z)),Y=XP(G),oe=K==="right"?G.concat(te):te.filter(Z=>!Y.has(Z)),W=K==="right"?"left":"right";K==="right"?d.value=[]:f.value=[],n("update:targetKeys",oe),C(W,[]),n("change",oe,K,G),h.onFieldChange()},y=()=>{m("left")},b=()=>{m("right")},S=(K,te)=>{C(K,te)},x=K=>S("left",K),$=K=>S("right",K),C=(K,te)=>{K==="left"?(e.selectedKeys||(d.value=te),n("update:selectedKeys",[...te,...f.value]),n("selectChange",te,mt(f.value))):(e.selectedKeys||(f.value=te),n("update:selectedKeys",[...te,...d.value]),n("selectChange",mt(d.value),te))},T=(K,te)=>{const q=te.target.value;n("search",K,q)},I=K=>{T("left",K)},P=K=>{T("right",K)},M=K=>{n("search",K,"")},O=()=>{M("left")},D=()=>{M("right")},R=(K,te,q)=>{const ee=K==="left"?[...d.value]:[...f.value],J=ee.indexOf(te);J>-1&&ee.splice(J,1),q&&ee.push(te),C(K,ee)},A=(K,te)=>R("left",K,te),E=(K,te)=>R("right",K,te),k=K=>{const{targetKeys:te=[]}=e,q=te.filter(ee=>!K.includes(ee));n("update:targetKeys",q),n("change",q,"left",[...K])},N=(K,te)=>{n("scroll",K,te)},B=K=>{N("left",K)},F=K=>{N("right",K)},H=(K,te)=>typeof K=="function"?K({direction:te}):K,V=ue([]),X=ue([]);Ye(()=>{const{dataSource:K,rowKey:te,targetKeys:q=[]}=e,ee=[],J=new Array(q.length),G=XP(q);K.forEach(Y=>{te&&(Y.key=te(Y)),G.has(Y.key)?J[G.get(Y.key)]=Y:ee.push(Y)}),V.value=ee,X.value=J}),o({handleSelectChange:C});const Q=K=>{var te,q,ee,J,G,Y;const{disabled:oe,operations:W=[],showSearch:Z,listStyle:ne,operationStyle:re,filterOption:le,showSelectAll:ie,selectAllLabels:de=[],oneWay:pe,pagination:me,id:he=h.id.value}=e,{class:xe,style:Ce}=r,ve=i.children,fe=!ve&&me,ye=a.renderEmpty,Me=g(K,ye),{footer:De}=i,Be=e.render||i.render,we=f.value.length>0,_e=d.value.length>0,Ie=ce(l.value,xe,{[`${l.value}-disabled`]:oe,[`${l.value}-customize-list`]:!!ve,[`${l.value}-rtl`]:s.value==="rtl"},Kr(l.value,p.value,v.hasFeedback),c.value),Le=e.titles,Ke=(ee=(te=Le&&Le[0])!==null&&te!==void 0?te:(q=i.leftTitle)===null||q===void 0?void 0:q.call(i))!==null&&ee!==void 0?ee:(Me.titles||["",""])[0],ke=(Y=(J=Le&&Le[1])!==null&&J!==void 0?J:(G=i.rightTitle)===null||G===void 0?void 0:G.call(i))!==null&&Y!==void 0?Y:(Me.titles||["",""])[1];return w("div",z(z({},r),{},{class:Ie,style:Ce,id:he}),[w(UB,z({key:"leftList",prefixCls:`${l.value}-list`,dataSource:V.value,filterOption:le,style:H(ne,"left"),checkedKeys:d.value,handleFilter:I,handleClear:O,onItemSelect:A,onItemSelectAll:x,renderItem:Be,showSearch:Z,renderList:ve,onScroll:B,disabled:oe,direction:s.value==="rtl"?"right":"left",showSelectAll:ie,selectAllLabel:de[0]||i.leftSelectAllLabel,pagination:fe},Me),{titleText:()=>Ke,footer:De}),w(L7e,{key:"operation",class:`${l.value}-operation`,rightActive:_e,rightArrowText:W[0],moveToRight:b,leftActive:we,leftArrowText:W[1],moveToLeft:y,style:re,disabled:oe,direction:s.value,oneWay:pe},null),w(UB,z({key:"rightList",prefixCls:`${l.value}-list`,dataSource:X.value,filterOption:le,style:H(ne,"right"),checkedKeys:f.value,handleFilter:P,handleClear:D,onItemSelect:E,onItemSelectAll:$,onItemRemove:k,renderItem:Be,showSearch:Z,renderList:ve,onScroll:F,disabled:oe,direction:s.value==="rtl"?"left":"right",showSelectAll:ie,selectAllLabel:de[1]||i.rightSelectAllLabel,showRemove:pe,pagination:fe},Me),{titleText:()=>ke,footer:De})])};return()=>u(w(Md,{componentName:"Transfer",defaultLocale:vi.Transfer,children:Q},null))}}),j7e=gn(W7e);function G7e(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function K7e(e){const{label:t,value:n,children:r}=e||{},i=n||"value";return{_title:t?[t]:["title","label"],value:i,key:i,children:r||"children"}}function YP(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function U7e(e,t){const n=[];function r(i){i.forEach(o=>{n.push(o[t.value]);const a=o[t.children];a&&r(a)})}return r(e),n}function qB(e){return e==null}const LJ=Symbol("TreeSelectContextPropsKey");function X7e(e){return at(LJ,e)}function Y7e(){return Je(LJ,{})}const q7e={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Z7e=se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:r}=t;const i=zm(),o=mw(),a=Y7e(),l=ue(),s=qO(()=>a.treeData,[()=>i.open,()=>a.treeData],x=>x[0]),u=L(()=>{const{checkable:x,halfCheckedKeys:$,checkedKeys:C}=o;return x?{checked:C,halfChecked:$}:null});Se(()=>i.open,()=>{_t(()=>{var x;i.open&&!i.multiple&&o.checkedKeys.length&&((x=l.value)===null||x===void 0||x.scrollTo({key:o.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const c=L(()=>String(i.searchValue).toLowerCase()),d=x=>c.value?String(x[o.treeNodeFilterProp]).toLowerCase().includes(c.value):!1,f=ae(o.treeDefaultExpandedKeys),h=ae(null);Se(()=>i.searchValue,()=>{i.searchValue&&(h.value=U7e(mt(a.treeData),mt(a.fieldNames)))},{immediate:!0});const v=L(()=>o.treeExpandedKeys?o.treeExpandedKeys.slice():i.searchValue?h.value:f.value),p=x=>{var $;f.value=x,h.value=x,($=o.onTreeExpand)===null||$===void 0||$.call(o,x)},g=x=>{x.preventDefault()},m=(x,$)=>{let{node:C}=$;var T,I;const{checkable:P,checkedKeys:M}=o;P&&YP(C)||((T=a.onSelect)===null||T===void 0||T.call(a,C.key,{selected:!M.includes(C.key)}),i.multiple||(I=i.toggleOpen)===null||I===void 0||I.call(i,!1))},y=ue(null),b=L(()=>o.keyEntities[y.value]),S=x=>{y.value=x};return r({scrollTo:function(){for(var x,$,C=arguments.length,T=new Array(C),I=0;I{var $;const{which:C}=x;switch(C){case Pe.UP:case Pe.DOWN:case Pe.LEFT:case Pe.RIGHT:($=l.value)===null||$===void 0||$.onKeydown(x);break;case Pe.ENTER:{if(b.value){const{selectable:T,value:I}=b.value.node||{};T!==!1&&m(null,{node:{key:y.value},selected:!o.checkedKeys.includes(I)})}break}case Pe.ESC:i.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var x;const{prefixCls:$,multiple:C,searchValue:T,open:I,notFoundContent:P=(x=n.notFoundContent)===null||x===void 0?void 0:x.call(n)}=i,{listHeight:M,listItemHeight:O,virtual:D,dropdownMatchSelectWidth:R,treeExpandAction:A}=a,{checkable:E,treeDefaultExpandAll:k,treeIcon:N,showTreeIcon:B,switcherIcon:F,treeLine:H,loadData:V,treeLoadedKeys:X,treeMotion:Q,onTreeLoad:K,checkedKeys:te}=o;if(s.value.length===0)return w("div",{role:"listbox",class:`${$}-empty`,onMousedown:g},[P]);const q={fieldNames:a.fieldNames};return X&&(q.loadedKeys=X),v.value&&(q.expandedKeys=v.value),w("div",{onMousedown:g},[b.value&&I&&w("span",{style:q7e,"aria-live":"assertive"},[b.value.node.value]),w(xJ,z(z({ref:l,focusable:!1,prefixCls:`${$}-tree`,treeData:s.value,height:M,itemHeight:O,virtual:D!==!1&&R!==!1,multiple:C,icon:N,showIcon:B,switcherIcon:F,showLine:H,loadData:T?null:V,motion:Q,activeKey:y.value,checkable:E,checkStrictly:!0,checkedKeys:u.value,selectedKeys:E?[]:te,defaultExpandAll:k},q),{},{onActiveChange:S,onSelect:m,onCheck:m,onExpand:p,onLoad:K,filterTreeNode:d,expandAction:A}),_(_({},n),{checkable:o.customSlots.treeCheckable}))])}}}),Q7e="SHOW_ALL",NJ="SHOW_PARENT",F3="SHOW_CHILD";function ZB(e,t,n,r){const i=new Set(e);return t===F3?e.filter(o=>{const a=n[o];return!(a&&a.children&&a.children.some(l=>{let{node:s}=l;return i.has(s[r.value])})&&a.children.every(l=>{let{node:s}=l;return YP(s)||i.has(s[r.value])}))}):t===NJ?e.filter(o=>{const a=n[o],l=a?a.parent:null;return!(l&&!YP(l.node)&&i.has(l.key))}):e}const iC=()=>null;iC.inheritAttrs=!1;iC.displayName="ATreeSelectNode";iC.isTreeSelectNode=!0;const z3=iC;var J7e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:[];return xn(n).map(r=>{var i,o,a;if(!eFe(r))return null;const l=r.children||{},s=r.key,u={};for(const[C,T]of Object.entries(r.props))u[Pd(C)]=T;const{isLeaf:c,checkable:d,selectable:f,disabled:h,disableCheckbox:v}=u,p={isLeaf:c||c===""||void 0,checkable:d||d===""||void 0,selectable:f||f===""||void 0,disabled:h||h===""||void 0,disableCheckbox:v||v===""||void 0},g=_(_({},u),p),{title:m=(i=l.title)===null||i===void 0?void 0:i.call(l,g),switcherIcon:y=(o=l.switcherIcon)===null||o===void 0?void 0:o.call(l,g)}=u,b=J7e(u,["title","switcherIcon"]),S=(a=l.default)===null||a===void 0?void 0:a.call(l),x=_(_(_({},b),{title:m,switcherIcon:y,key:s,isLeaf:c}),p),$=t(S);return $.length&&(x.children=$),x})}return t(e)}function qP(e){if(!e)return e;const t=_({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function nFe(e,t,n,r,i,o){let a=null,l=null;function s(){function u(c){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map((h,v)=>{const p=`${d}-${v}`,g=h[o.value],m=n.includes(g),y=u(h[o.children]||[],p,m),b=w(z3,h,{default:()=>[y.map(S=>S.node)]});if(t===g&&(a=b),m){const S={pos:p,node:b,children:y};return f||l.push(S),S}return null}).filter(h=>h)}l||(l=[],u(r),l.sort((c,d)=>{let{node:{props:{value:f}}}=c,{node:{props:{value:h}}}=d;const v=n.indexOf(f),p=n.indexOf(h);return v-p}))}Object.defineProperty(e,"triggerNode",{get(){return s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get(){return s(),i?l:l.map(u=>{let{node:c}=u;return c})}})}function rFe(e,t){let{id:n,pId:r,rootPId:i}=t;const o={},a=[];return e.map(s=>{const u=_({},s),c=u[n];return o[c]=u,u.key=u.key||c,u}).forEach(s=>{const u=s[r],c=o[u];c&&(c.children=c.children||[],c.children.push(s)),(u===i||!c&&i===null)&&a.push(s)}),a}function iFe(e,t,n){const r=ae();return Se([n,e,t],()=>{const i=n.value;e.value?r.value=n.value?rFe(mt(e.value),_({id:"id",pId:"pId",rootPId:null},i!==!0?i:{})):mt(e.value).slice():r.value=tFe(mt(t.value))},{immediate:!0,deep:!0}),r}const oFe=e=>{const t=ae({valueLabels:new Map}),n=ae();return Se(e,()=>{n.value=mt(e.value)},{immediate:!0}),[L(()=>{const{valueLabels:i}=t.value,o=new Map,a=n.value.map(l=>{var s;const{value:u}=l,c=(s=l.label)!==null&&s!==void 0?s:i.get(u);return o.set(u,c),_(_({},l),{label:c})});return t.value.valueLabels=o,a})]},aFe=(e,t)=>{const n=ae(new Map),r=ae({});return Ye(()=>{const i=t.value,o=Zm(e.value,{fieldNames:i,initWrapper:a=>_(_({},a),{valueEntities:new Map}),processEntity:(a,l)=>{const s=a.node[i.value];l.valueEntities.set(s,a)}});n.value=o.valueEntities,r.value=o.keyEntities}),{valueEntities:n,keyEntities:r}},lFe=(e,t,n,r,i,o)=>{const a=ae([]),l=ae([]);return Ye(()=>{let s=e.value.map(d=>{let{value:f}=d;return f}),u=t.value.map(d=>{let{value:f}=d;return f});const c=s.filter(d=>!r.value[d]);n.value&&({checkedKeys:s,halfCheckedKeys:u}=To(s,!0,r.value,i.value,o.value)),a.value=Array.from(new Set([...c,...s])),l.value=u}),[a,l]},sFe=(e,t,n)=>{let{treeNodeFilterProp:r,filterTreeNode:i,fieldNames:o}=n;return L(()=>{const{children:a}=o.value,l=t.value,s=r==null?void 0:r.value;if(!l||i.value===!1)return e.value;let u;if(typeof i.value=="function")u=i.value;else{const d=l.toUpperCase();u=(f,h)=>{const v=h[s];return String(v).toUpperCase().includes(d)}}function c(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const h=[];for(let v=0,p=d.length;ve.treeCheckable&&!e.treeCheckStrictly),l=L(()=>e.treeCheckable||e.treeCheckStrictly),s=L(()=>e.treeCheckStrictly||e.labelInValue),u=L(()=>l.value||e.multiple),c=L(()=>K7e(e.fieldNames)),[d,f]=dn("",{value:L(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:he=>he||""}),h=he=>{var xe;f(he),(xe=e.onSearch)===null||xe===void 0||xe.call(e,he)},v=iFe(qe(e,"treeData"),qe(e,"children"),qe(e,"treeDataSimpleMode")),{keyEntities:p,valueEntities:g}=aFe(v,c),m=he=>{const xe=[],Ce=[];return he.forEach(ve=>{g.value.has(ve)?Ce.push(ve):xe.push(ve)}),{missingRawValues:xe,existRawValues:Ce}},y=sFe(v,d,{fieldNames:c,treeNodeFilterProp:qe(e,"treeNodeFilterProp"),filterTreeNode:qe(e,"filterTreeNode")}),b=he=>{if(he){if(e.treeNodeLabelProp)return he[e.treeNodeLabelProp];const{_title:xe}=c.value;for(let Ce=0;CeG7e(he).map(Ce=>uFe(Ce)?{value:Ce}:Ce),x=he=>S(he).map(Ce=>{let{label:ve}=Ce;const{value:fe,halfChecked:ye}=Ce;let Me;const De=g.value.get(fe);return De&&(ve=ve!=null?ve:b(De.node),Me=De.node.disabled),{label:ve,value:fe,halfChecked:ye,disabled:Me}}),[$,C]=dn(e.defaultValue,{value:qe(e,"value")}),T=L(()=>S($.value)),I=ae([]),P=ae([]);Ye(()=>{const he=[],xe=[];T.value.forEach(Ce=>{Ce.halfChecked?xe.push(Ce):he.push(Ce)}),I.value=he,P.value=xe});const M=L(()=>I.value.map(he=>he.value)),{maxLevel:O,levelEntities:D}=Gw(p),[R,A]=lFe(I,P,a,p,O,D),E=L(()=>{const Ce=ZB(R.value,e.showCheckedStrategy,p.value,c.value).map(ye=>{var Me,De,Be;return(Be=(De=(Me=p.value[ye])===null||Me===void 0?void 0:Me.node)===null||De===void 0?void 0:De[c.value.value])!==null&&Be!==void 0?Be:ye}).map(ye=>{const Me=I.value.find(De=>De.value===ye);return{value:ye,label:Me==null?void 0:Me.label}}),ve=x(Ce),fe=ve[0];return!u.value&&fe&&qB(fe.value)&&qB(fe.label)?[]:ve.map(ye=>{var Me;return _(_({},ye),{label:(Me=ye.label)!==null&&Me!==void 0?Me:ye.value})})}),[k]=oFe(E),N=(he,xe,Ce)=>{const ve=x(he);if(C(ve),e.autoClearSearchValue&&f(""),e.onChange){let fe=he;a.value&&(fe=ZB(he,e.showCheckedStrategy,p.value,c.value).map(Ke=>{const ke=g.value.get(Ke);return ke?ke.node[c.value.value]:Ke}));const{triggerValue:ye,selected:Me}=xe||{triggerValue:void 0,selected:void 0};let De=fe;if(e.treeCheckStrictly){const Le=P.value.filter(Ke=>!fe.includes(Ke.value));De=[...De,...Le]}const Be=x(De),we={preValue:I.value,triggerValue:ye};let _e=!0;(e.treeCheckStrictly||Ce==="selection"&&!Me)&&(_e=!1),nFe(we,ye,he,v.value,_e,c.value),l.value?we.checked=Me:we.selected=Me;const Ie=s.value?Be:Be.map(Le=>Le.value);e.onChange(u.value?Ie:Ie[0],s.value?null:Be.map(Le=>Le.label),we)}},B=(he,xe)=>{let{selected:Ce,source:ve}=xe;var fe,ye,Me;const De=mt(p.value),Be=mt(g.value),we=De[he],_e=we==null?void 0:we.node,Ie=(fe=_e==null?void 0:_e[c.value.value])!==null&&fe!==void 0?fe:he;if(!u.value)N([Ie],{selected:!0,triggerValue:Ie},"option");else{let Le=Ce?[...M.value,Ie]:R.value.filter(Ke=>Ke!==Ie);if(a.value){const{missingRawValues:Ke,existRawValues:ke}=m(Le),We=ke.map(Dt=>Be.get(Dt).key);let gt;Ce?{checkedKeys:gt}=To(We,!0,De,O.value,D.value):{checkedKeys:gt}=To(We,{checked:!1,halfCheckedKeys:A.value},De,O.value,D.value),Le=[...Ke,...gt.map(Dt=>De[Dt].node[c.value.value])]}N(Le,{selected:Ce,triggerValue:Ie},ve||"option")}Ce||!u.value?(ye=e.onSelect)===null||ye===void 0||ye.call(e,Ie,qP(_e)):(Me=e.onDeselect)===null||Me===void 0||Me.call(e,Ie,qP(_e))},F=he=>{if(e.onDropdownVisibleChange){const xe={};Object.defineProperty(xe,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(he,xe)}},H=(he,xe)=>{const Ce=he.map(ve=>ve.value);if(xe.type==="clear"){N(Ce,{},"selection");return}xe.values.length&&B(xe.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:V,loadData:X,treeLoadedKeys:Q,onTreeLoad:K,treeDefaultExpandAll:te,treeExpandedKeys:q,treeDefaultExpandedKeys:ee,onTreeExpand:J,virtual:G,listHeight:Y,listItemHeight:oe,treeLine:W,treeIcon:Z,showTreeIcon:ne,switcherIcon:re,treeMotion:le,customSlots:ie,dropdownMatchSelectWidth:de,treeExpandAction:pe}=ja(e);q0e(J1({checkable:l,loadData:X,treeLoadedKeys:Q,onTreeLoad:K,checkedKeys:R,halfCheckedKeys:A,treeDefaultExpandAll:te,treeExpandedKeys:q,treeDefaultExpandedKeys:ee,onTreeExpand:J,treeIcon:Z,treeMotion:le,showTreeIcon:ne,switcherIcon:re,treeLine:W,treeNodeFilterProp:V,keyEntities:p,customSlots:ie})),X7e(J1({virtual:G,listHeight:Y,listItemHeight:oe,treeData:y,fieldNames:c,onSelect:B,dropdownMatchSelectWidth:de,treeExpandAction:pe}));const me=ue();return r({focus(){var he;(he=me.value)===null||he===void 0||he.focus()},blur(){var he;(he=me.value)===null||he===void 0||he.blur()},scrollTo(he){var xe;(xe=me.value)===null||xe===void 0||xe.scrollTo(he)}}),()=>{var he;const xe=yt(e,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return w(YO,z(z(z({ref:me},n),xe),{},{id:o,prefixCls:e.prefixCls,mode:u.value?"multiple":void 0,displayValues:k.value,onDisplayValuesChange:H,searchValue:d.value,onSearch:h,OptionList:Z7e,emptyOptions:!v.value.length,onDropdownVisibleChange:F,tagRender:e.tagRender||i.tagRender,dropdownMatchSelectWidth:(he=e.dropdownMatchSelectWidth)!==null&&he!==void 0?he:!0}),i)}}}),dFe=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},$J(n,Ue(e,{colorBgContainer:r})),{[i]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},Yw(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function fFe(e,t){return it("TreeSelect",n=>{const r=Ue(n,{treePrefixCls:t.value});return[dFe(r)]})(e)}const QB=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function hFe(){return _(_({},yt(kJ(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:U.any,size:je(),bordered:$e(),treeLine:Xe([Boolean,Object]),replaceFields:He(),placement:je(),status:je(),popupClassName:String,dropdownClassName:String,"onUpdate:value":be(),"onUpdate:treeExpandedKeys":be(),"onUpdate:searchValue":be()})}const T_=se({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:ft(hFe(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;e.treeData===void 0&&r.default,on(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),on(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),on(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const a=Xn(),l=fr.useInject(),s=L(()=>ha(l.status,e.status)),{prefixCls:u,renderEmpty:c,direction:d,virtual:f,dropdownMatchSelectWidth:h,size:v,getPopupContainer:p,getPrefixCls:g,disabled:m}=Ee("select",e),{compactSize:y,compactItemClassnames:b}=Au(u,d),S=L(()=>y.value||v.value),x=Mi(),$=L(()=>{var Q;return(Q=m.value)!==null&&Q!==void 0?Q:x.value}),C=L(()=>g()),T=L(()=>e.placement!==void 0?e.placement:d.value==="rtl"?"bottomRight":"bottomLeft"),I=L(()=>QB(C.value,GO(T.value),e.transitionName)),P=L(()=>QB(C.value,"",e.choiceTransitionName)),M=L(()=>g("select-tree",e.prefixCls)),O=L(()=>g("tree-select",e.prefixCls)),[D,R]=$D(u),[A]=fFe(O,M),E=L(()=>ce(e.popupClassName||e.dropdownClassName,`${O.value}-dropdown`,{[`${O.value}-dropdown-rtl`]:d.value==="rtl"},R.value)),k=L(()=>!!(e.treeCheckable||e.multiple)),N=L(()=>e.showArrow!==void 0?e.showArrow:e.loading||!k.value),B=ue();i({focus(){var Q,K;(K=(Q=B.value).focus)===null||K===void 0||K.call(Q)},blur(){var Q,K;(K=(Q=B.value).blur)===null||K===void 0||K.call(Q)}});const F=function(){for(var Q=arguments.length,K=new Array(Q),te=0;te{o("update:treeExpandedKeys",Q),o("treeExpand",Q)},V=Q=>{o("update:searchValue",Q),o("search",Q)},X=Q=>{o("blur",Q),a.onFieldBlur()};return()=>{var Q,K,te;const{notFoundContent:q=(Q=r.notFoundContent)===null||Q===void 0?void 0:Q.call(r),prefixCls:ee,bordered:J,listHeight:G,listItemHeight:Y,multiple:oe,treeIcon:W,treeLine:Z,showArrow:ne,switcherIcon:re=(K=r.switcherIcon)===null||K===void 0?void 0:K.call(r),fieldNames:le=e.replaceFields,id:ie=a.id.value,placeholder:de=(te=r.placeholder)===null||te===void 0?void 0:te.call(r)}=e,{isFormItemInput:pe,hasFeedback:me,feedbackIcon:he}=l,{suffixIcon:xe,removeIcon:Ce,clearIcon:ve}=uD(_(_({},e),{multiple:k.value,showArrow:N.value,hasFeedback:me,feedbackIcon:he,prefixCls:u.value}),r);let fe;q!==void 0?fe=q:fe=c("Select");const ye=yt(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),Me=ce(!ee&&O.value,{[`${u.value}-lg`]:S.value==="large",[`${u.value}-sm`]:S.value==="small",[`${u.value}-rtl`]:d.value==="rtl",[`${u.value}-borderless`]:!J,[`${u.value}-in-form-item`]:pe},Kr(u.value,s.value,me),b.value,n.class,R.value),De={};return e.treeData===void 0&&r.default&&(De.children=Jt(r.default())),D(A(w(cFe,z(z(z(z({},n),ye),{},{disabled:$.value,virtual:f.value,dropdownMatchSelectWidth:h.value,id:ie,fieldNames:le,ref:B,prefixCls:u.value,class:Me,listHeight:G,listItemHeight:Y,treeLine:!!Z,inputIcon:xe,multiple:oe,removeIcon:Ce,clearIcon:ve,switcherIcon:Be=>CJ(M.value,re,Be,r.leafIcon,Z),showTreeIcon:W,notFoundContent:fe,getPopupContainer:p==null?void 0:p.value,treeMotion:null,dropdownClassName:E.value,choiceTransitionName:P.value,onChange:F,onBlur:X,onSearch:V,onTreeExpand:H},De),{},{transitionName:I.value,customSlots:_(_({},r),{treeCheckable:()=>w("span",{class:`${u.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,placement:T.value,showArrow:me||ne,placeholder:de}),_(_({},r),{treeCheckable:()=>w("span",{class:`${u.value}-tree-checkbox-inner`},null)}))))}}}),ZP=z3,vFe=_(T_,{TreeNode:z3,SHOW_ALL:Q7e,SHOW_PARENT:NJ,SHOW_CHILD:F3,install:e=>(e.component(T_.name,T_),e.component(ZP.displayName,ZP),e)}),I_=()=>({format:String,showNow:$e(),showHour:$e(),showMinute:$e(),showSecond:$e(),use12Hours:$e(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:$e(),popupClassName:String,status:je()});function pFe(e){const t=UZ(e,_(_({},I_()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:r}=t,i=se({name:"ATimePicker",inheritAttrs:!1,props:_(_(_(_({},IS()),jZ()),I_()),{addon:{type:Function}}),slots:Object,setup(a,l){let{slots:s,expose:u,emit:c,attrs:d}=l;const f=a,h=Xn();on(!(s.addon||f.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const v=ue();u({focus:()=>{var S;(S=v.value)===null||S===void 0||S.focus()},blur:()=>{var S;(S=v.value)===null||S===void 0||S.blur()}});const p=(S,x)=>{c("update:value",S),c("change",S,x),h.onFieldChange()},g=S=>{c("update:open",S),c("openChange",S)},m=S=>{c("focus",S)},y=S=>{c("blur",S),h.onFieldBlur()},b=S=>{c("ok",S)};return()=>{const{id:S=h.id.value}=f;return w(n,z(z(z({},d),yt(f,["onUpdate:value","onUpdate:open"])),{},{id:S,dropdownClassName:f.popupClassName,mode:void 0,ref:v,renderExtraFooter:f.addon||s.addon||f.renderExtraFooter||s.renderExtraFooter,onChange:p,onOpenChange:g,onFocus:m,onBlur:y,onOk:b}),s)}}}),o=se({name:"ATimeRangePicker",inheritAttrs:!1,props:_(_(_(_({},IS()),GZ()),I_()),{order:{type:Boolean,default:!0}}),slots:Object,setup(a,l){let{slots:s,expose:u,emit:c,attrs:d}=l;const f=a,h=ue(),v=Xn();u({focus:()=>{var $;($=h.value)===null||$===void 0||$.focus()},blur:()=>{var $;($=h.value)===null||$===void 0||$.blur()}});const p=($,C)=>{c("update:value",$),c("change",$,C),v.onFieldChange()},g=$=>{c("update:open",$),c("openChange",$)},m=$=>{c("focus",$)},y=$=>{c("blur",$),v.onFieldBlur()},b=($,C)=>{c("panelChange",$,C)},S=$=>{c("ok",$)},x=($,C,T)=>{c("calendarChange",$,C,T)};return()=>{const{id:$=v.id.value}=f;return w(r,z(z(z({},d),yt(f,["onUpdate:open","onUpdate:value"])),{},{id:$,dropdownClassName:f.popupClassName,picker:"time",mode:void 0,ref:h,onChange:p,onOpenChange:g,onFocus:m,onBlur:y,onPanelChange:b,onOk:S,onCalendarChange:x}),s)}}});return{TimePicker:i,TimeRangePicker:o}}const{TimePicker:c0,TimeRangePicker:i1}=pFe(YD),gFe=_(c0,{TimePicker:c0,TimeRangePicker:i1,install:e=>(e.component(c0.name,c0),e.component(i1.name,i1),e)}),mFe=()=>({prefixCls:String,color:String,dot:U.any,pending:$e(),position:U.oneOf(Ar("left","right","")).def(""),label:U.any}),em=se({compatConfig:{MODE:3},name:"ATimelineItem",props:ft(mFe(),{color:"blue",pending:!1}),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("timeline",e),i=L(()=>({[`${r.value}-item`]:!0,[`${r.value}-item-pending`]:e.pending})),o=L(()=>/blue|red|green|gray/.test(e.color||"")?void 0:e.color||"blue"),a=L(()=>({[`${r.value}-item-head`]:!0,[`${r.value}-item-head-${e.color||"blue"}`]:!o.value}));return()=>{var l,s,u;const{label:c=(l=n.label)===null||l===void 0?void 0:l.call(n),dot:d=(s=n.dot)===null||s===void 0?void 0:s.call(n)}=e;return w("li",{class:i.value},[c&&w("div",{class:`${r.value}-item-label`},[c]),w("div",{class:`${r.value}-item-tail`},null),w("div",{class:[a.value,!!d&&`${r.value}-item-head-custom`],style:{borderColor:o.value,color:o.value}},[d]),w("div",{class:`${r.value}-item-content`},[(u=n.default)===null||u===void 0?void 0:u.call(n)])])}}}),yFe=e=>{const{componentCls:t}=e;return{[t]:_(_({},st(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.timeLineItemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize,insetInlineStart:(e.timeLineItemHeadSize-e.timeLineItemTailWidth)/2,height:`calc(100% - ${e.timeLineItemHeadSize}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px ${e.lineType} ${e.colorSplit}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.timeLineItemHeadSize,height:e.timeLineItemHeadSize,backgroundColor:e.colorBgContainer,border:`${e.timeLineHeadBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize/2,insetInlineStart:e.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}}},[`&${t}-alternate, + `]:{background:p},[`&${t}-row-selected`]:{"> td":{background:g},"&:hover > td":{background:m}}}},[`${t}-footer`]:{padding:`${r}px ${i}px`,color:y,background:b}})}},p7e=it("Table",e=>{const{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:r,colorTextHeading:i,colorSplit:o,colorBorderSecondary:a,fontSize:l,padding:s,paddingXS:u,paddingSM:c,controlHeight:d,colorFillAlter:f,colorIcon:h,colorIconHover:v,opacityLoading:p,colorBgContainer:g,borderRadiusLG:m,colorFillContent:y,colorFillSecondary:b,controlInteractiveSize:S}=e,x=new zt(h),$=new zt(v),C=t,T=2,I=new zt(b).onBackground(g).toHexString(),P=new zt(y).onBackground(g).toHexString(),M=new zt(f).onBackground(g).toHexString(),O=Ue(e,{tableFontSize:l,tableBg:g,tableRadius:m,tablePaddingVertical:s,tablePaddingHorizontal:s,tablePaddingVerticalMiddle:c,tablePaddingHorizontalMiddle:u,tablePaddingVerticalSmall:u,tablePaddingHorizontalSmall:u,tableBorderColor:a,tableHeaderTextColor:i,tableHeaderBg:M,tableFooterTextColor:i,tableFooterBg:M,tableHeaderCellSplitColor:a,tableHeaderSortBg:I,tableHeaderSortHoverBg:P,tableHeaderIconColor:x.clone().setAlpha(x.getAlpha()*p).toRgbString(),tableHeaderIconColorHover:$.clone().setAlpha($.getAlpha()*p).toRgbString(),tableBodySortBg:M,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:y,tableFilterDropdownBg:g,tableRowHoverBg:M,tableSelectedRowBg:C,tableSelectedRowHoverBg:n,zIndexTableFixed:T,zIndexTableSticky:T+1,tableFontSizeMiddle:l,tableFontSizeSmall:l,tableSelectionColumnWidth:d,tableExpandIconBg:g,tableExpandColumnWidth:S+2*e.padding,tableExpandedRowBg:f,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollBg:o});return[v7e(O),QBe(O),GB(O),c7e(O),XBe(O),zBe(O),e7e(O),KBe(O),GB(O),jBe(O),i7e(O),qBe(O),f7e(O),VBe(O),a7e(O),s7e(O),n7e(O)]}),g7e=[],EJ=()=>({prefixCls:je(),columns:Ot(),rowKey:Xe([String,Function]),tableLayout:je(),rowClassName:Xe([String,Function]),title:be(),footer:be(),id:je(),showHeader:$e(),components:He(),customRow:be(),customHeaderRow:be(),direction:je(),expandFixed:Xe([Boolean,String]),expandColumnWidth:Number,expandedRowKeys:Ot(),defaultExpandedRowKeys:Ot(),expandedRowRender:be(),expandRowByClick:$e(),expandIcon:be(),onExpand:be(),onExpandedRowsChange:be(),"onUpdate:expandedRowKeys":be(),defaultExpandAllRows:$e(),indentSize:Number,expandIconColumnIndex:Number,showExpandColumn:$e(),expandedRowClassName:be(),childrenColumnName:je(),rowExpandable:be(),sticky:Xe([Boolean,Object]),dropdownPrefixCls:String,dataSource:Ot(),pagination:Xe([Boolean,Object]),loading:Xe([Boolean,Object]),size:je(),bordered:$e(),locale:He(),onChange:be(),onResizeColumn:be(),rowSelection:He(),getPopupContainer:be(),scroll:He(),sortDirections:Ot(),showSorterTooltip:Xe([Boolean,Object],!0),transformCellText:be()}),m7e=se({name:"InternalTable",inheritAttrs:!1,props:ft(_(_({},EJ()),{contextSlots:He()}),{rowKey:"key"}),setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;on(!(typeof e.rowKey=="function"&&e.rowKey.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected."),ANe(L(()=>e.contextSlots)),ONe({onResizeColumn:(re,le)=>{o("resizeColumn",re,le)}});const a=sv(),l=L(()=>{const re=new Set(Object.keys(a.value).filter(le=>a.value[le]));return e.columns.filter(le=>!le.responsive||le.responsive.some(ie=>re.has(ie)))}),{size:s,renderEmpty:u,direction:c,prefixCls:d,configProvider:f}=Ee("table",e),[h,v]=p7e(d),p=L(()=>{var re;return e.transformCellText||((re=f.transformCellText)===null||re===void 0?void 0:re.value)}),[g]=Lo("Table",vi.Table,qe(e,"locale")),m=L(()=>e.dataSource||g7e),y=L(()=>f.getPrefixCls("dropdown",e.dropdownPrefixCls)),b=L(()=>e.childrenColumnName||"children"),S=L(()=>m.value.some(re=>re==null?void 0:re[b.value])?"nest":e.expandedRowRender?"row":null),x=Bt({body:null}),$=re=>{_(x,re)},C=L(()=>typeof e.rowKey=="function"?e.rowKey:re=>re==null?void 0:re[e.rowKey]),[T]=Cke(m,b,C),I={},P=function(re,le){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{pagination:de,scroll:pe,onChange:me}=e,he=_(_({},I),re);ie&&(I.resetPagination(),he.pagination.current&&(he.pagination.current=1),de&&de.onChange&&de.onChange(1,he.pagination.pageSize)),pe&&pe.scrollToFirstRowOnChange!==!1&&x.body&&IO(0,{getContainer:()=>x.body}),me==null||me(he.pagination,he.filters,he.sorter,{currentDataSource:jB(GP(m.value,he.sorterStates,b.value),he.filterStates),action:le})},M=(re,le)=>{P({sorter:re,sorterStates:le},"sort",!1)},[O,D,R,A]=Nke({prefixCls:d,mergedColumns:l,onSorterChange:M,sortDirections:L(()=>e.sortDirections||["ascend","descend"]),tableLocale:g,showSorterTooltip:qe(e,"showSorterTooltip")}),E=L(()=>GP(m.value,D.value,b.value)),k=(re,le)=>{P({filters:re,filterStates:le},"filter",!0)},[N,B,F]=LBe({prefixCls:d,locale:g,dropdownPrefixCls:y,mergedColumns:l,onFilterChange:k,getPopupContainer:qe(e,"getPopupContainer")}),H=L(()=>jB(E.value,B.value)),[V]=BBe(qe(e,"contextSlots")),X=L(()=>{const re={},le=F.value;return Object.keys(le).forEach(ie=>{le[ie]!==null&&(re[ie]=le[ie])}),_(_({},R.value),{filters:re})}),[Q]=NBe(X),K=(re,le)=>{P({pagination:_(_({},I.pagination),{current:re,pageSize:le})},"paginate")},[te,q]=wke(L(()=>H.value.length),qe(e,"pagination"),K);Ye(()=>{I.sorter=A.value,I.sorterStates=D.value,I.filters=F.value,I.filterStates=B.value,I.pagination=e.pagination===!1?{}:xke(te.value,e.pagination),I.resetPagination=q});const ee=L(()=>{if(e.pagination===!1||!te.value.pageSize)return H.value;const{current:re=1,total:le,pageSize:ie=zP}=te.value;return on(re>0,"Table","`current` should be positive number."),H.value.lengthie?H.value.slice((re-1)*ie,re*ie):H.value:H.value.slice((re-1)*ie,re*ie)});Ye(()=>{_t(()=>{const{total:re,pageSize:le=zP}=te.value;H.value.lengthle&&on(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.")})},{flush:"post"});const J=L(()=>e.showExpandColumn===!1?-1:S.value==="nest"&&e.expandIconColumnIndex===void 0?e.rowSelection?1:0:e.expandIconColumnIndex>0&&e.rowSelection?e.expandIconColumnIndex-1:e.expandIconColumnIndex),G=ue();Se(()=>e.rowSelection,()=>{G.value=e.rowSelection?_({},e.rowSelection):e.rowSelection},{deep:!0,immediate:!0});const[Y,oe]=_ke(G,{prefixCls:d,data:H,pageData:ee,getRowKey:C,getRecordByKey:T,expandType:S,childrenColumnName:b,locale:g,getPopupContainer:L(()=>e.getPopupContainer)}),W=(re,le,ie)=>{let de;const{rowClassName:pe}=e;return typeof pe=="function"?de=ce(pe(re,le,ie)):de=ce(pe),ce({[`${d.value}-row-selected`]:oe.value.has(C.value(re,le))},de)};i({selectedKeySet:oe});const Z=L(()=>typeof e.indentSize=="number"?e.indentSize:15),ne=re=>Q(Y(N(O(V(re)))));return()=>{var re;const{expandIcon:le=r.expandIcon||kBe(g.value),pagination:ie,loading:de,bordered:pe}=e;let me,he;if(ie!==!1&&(!((re=te.value)===null||re===void 0)&&re.total)){let fe;te.value.size?fe=te.value.size:fe=s.value==="small"||s.value==="middle"?"small":void 0;const ye=Be=>w(Qw,z(z({},te.value),{},{class:[`${d.value}-pagination ${d.value}-pagination-${Be}`,te.value.class],size:fe}),null),Me=c.value==="rtl"?"left":"right",{position:De}=te.value;if(De!==null&&Array.isArray(De)){const Be=De.find(Ie=>Ie.includes("top")),we=De.find(Ie=>Ie.includes("bottom")),_e=De.every(Ie=>`${Ie}`=="none");!Be&&!we&&!_e&&(he=ye(Me)),Be&&(me=ye(Be.toLowerCase().replace("top",""))),we&&(he=ye(we.toLowerCase().replace("bottom","")))}else he=ye(Me)}let xe;typeof de=="boolean"?xe={spinning:de}:typeof de=="object"&&(xe=_({spinning:!0},de));const Ce=ce(`${d.value}-wrapper`,{[`${d.value}-wrapper-rtl`]:c.value==="rtl"},n.class,v.value),ve=yt(e,["columns"]);return h(w("div",{class:Ce,style:n.style},[w(Ya,z({spinning:!1},xe),{default:()=>[me,w(bke,z(z(z({},n),ve),{},{expandedRowKeys:e.expandedRowKeys,defaultExpandedRowKeys:e.defaultExpandedRowKeys,expandIconColumnIndex:J.value,indentSize:Z.value,expandIcon:le,columns:l.value,direction:c.value,prefixCls:d.value,class:ce({[`${d.value}-middle`]:s.value==="middle",[`${d.value}-small`]:s.value==="small",[`${d.value}-bordered`]:pe,[`${d.value}-empty`]:m.value.length===0}),data:ee.value,rowKey:C.value,rowClassName:W,internalHooks:FP,internalRefs:x,onUpdateInternalRefs:$,transformColumns:ne,transformCellText:p.value}),_(_({},r),{emptyText:()=>{var fe,ye;return((fe=r.emptyText)===null||fe===void 0?void 0:fe.call(r))||((ye=e.locale)===null||ye===void 0?void 0:ye.emptyText)||u("Table")}})),he]})]))}}}),y7e=se({name:"ATable",inheritAttrs:!1,props:ft(EJ(),{rowKey:"key"}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i}=t;const o=ue();return i({table:o}),()=>{var a;const l=e.columns||yJ((a=r.default)===null||a===void 0?void 0:a.call(r));return w(m7e,z(z(z({ref:o},n),e),{},{columns:l||[],expandedRowRender:r.expandedRowRender||e.expandedRowRender,contextSlots:_({},r)}),r)}}}),__=y7e,t1=se({name:"ATableColumn",slots:Object,render(){return null}}),n1=se({name:"ATableColumnGroup",slots:Object,__ANT_TABLE_COLUMN_GROUP:!0,render(){return null}}),RS=lke,LS=cke,r1=_(dke,{Cell:LS,Row:RS,name:"ATableSummary"}),b7e=_(__,{SELECTION_ALL:HP,SELECTION_INVERT:VP,SELECTION_NONE:WP,SELECTION_COLUMN:Sl,EXPAND_COLUMN:ks,Column:t1,ColumnGroup:n1,Summary:r1,install:e=>(e.component(r1.name,r1),e.component(LS.name,LS),e.component(RS.name,RS),e.component(__.name,__),e.component(t1.name,t1),e.component(n1.name,n1),e)}),S7e={prefixCls:String,placeholder:String,value:String,handleClear:Function,disabled:{type:Boolean,default:void 0},onChange:Function},x7e=se({compatConfig:{MODE:3},name:"Search",inheritAttrs:!1,props:ft(S7e,{placeholder:""}),emits:["change"],setup(e,t){let{emit:n}=t;const r=i=>{var o;n("change",i),i.target.value===""&&((o=e.handleClear)===null||o===void 0||o.call(e))};return()=>{const{placeholder:i,value:o,prefixCls:a,disabled:l}=e;return w(Jn,{placeholder:i,class:a,value:o,onChange:r,disabled:l,allowClear:!0},{prefix:()=>w(xw,null,null)})}}});var w7e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const C7e=w7e;function KB(e){for(var t=1;t{const{renderedText:r,renderedEl:i,item:o,checked:a,disabled:l,prefixCls:s,showRemove:u}=e,c=ce({[`${s}-content-item`]:!0,[`${s}-content-item-disabled`]:l||o.disabled});let d;return(typeof r=="string"||typeof r=="number")&&(d=String(r)),w(Ad,{componentName:"Transfer",defaultLocale:vi.Transfer},{default:f=>{const h=w("span",{class:`${s}-content-item-text`},[i]);return u?w("li",{class:c,title:d},[h,w(OS,{disabled:l||o.disabled,class:`${s}-content-item-remove`,"aria-label":f.remove,onClick:()=>{n("remove",o)}},{default:()=>[w(RJ,null,null)]})]):w("li",{class:c,title:d,onClick:l||o.disabled?_7e:()=>{n("click",o)}},[w(Po,{class:`${s}-checkbox`,checked:a,disabled:l||o.disabled},null),h])}})}}}),P7e={prefixCls:String,filteredRenderItems:U.array.def([]),selectedKeys:U.array,disabled:$e(),showRemove:$e(),pagination:U.any,onItemSelect:Function,onScroll:Function,onItemRemove:Function};function M7e(e){if(!e)return null;const t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return typeof e=="object"?_(_({},t),e):t}const A7e=se({compatConfig:{MODE:3},name:"ListBody",inheritAttrs:!1,props:P7e,emits:["itemSelect","itemRemove","scroll"],setup(e,t){let{emit:n,expose:r}=t;const i=ue(1),o=d=>{const{selectedKeys:f}=e,h=f.indexOf(d.key)>=0;n("itemSelect",d.key,!h)},a=d=>{n("itemRemove",[d.key])},l=d=>{n("scroll",d)},s=L(()=>M7e(e.pagination));Se([s,()=>e.filteredRenderItems],()=>{if(s.value){const d=Math.ceil(e.filteredRenderItems.length/s.value.pageSize);i.value=Math.min(i.value,d)}},{immediate:!0});const u=L(()=>{const{filteredRenderItems:d}=e;let f=d;return s.value&&(f=d.slice((i.value-1)*s.value.pageSize,i.value*s.value.pageSize)),f}),c=d=>{i.value=d};return r({items:u}),()=>{const{prefixCls:d,filteredRenderItems:f,selectedKeys:h,disabled:v,showRemove:p}=e;let g=null;s.value&&(g=w(Qw,{simple:s.value.simple,showSizeChanger:s.value.showSizeChanger,showLessItems:s.value.showLessItems,size:"small",disabled:v,class:`${d}-pagination`,total:f.length,pageSize:s.value.pageSize,current:i.value,onChange:c},null));const m=u.value.map(y=>{let{renderedEl:b,renderedText:S,item:x}=y;const{disabled:$}=x,C=h.indexOf(x.key)>=0;return w(I7e,{disabled:v||$,key:x.key,item:x,renderedText:S,renderedEl:b,checked:C,prefixCls:d,onClick:o,onRemove:a,showRemove:p},null)});return w(Qe,null,[w("ul",{class:ce(`${d}-content`,{[`${d}-content-show-remove`]:p}),onScroll:l},[m]),g])}}}),O7e=A7e,XP=e=>{const t=new Map;return e.forEach((n,r)=>{t.set(n,r)}),t},D7e=e=>{const t=new Map;return e.forEach((n,r)=>{let{disabled:i,key:o}=n;i&&t.set(o,r)}),t},E7e=()=>null;function R7e(e){return!!(e&&!zn(e)&&Object.prototype.toString.call(e)==="[object Object]")}function u0(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const L7e={prefixCls:String,dataSource:Ot([]),filter:String,filterOption:Function,checkedKeys:U.arrayOf(U.string),handleFilter:Function,handleClear:Function,renderItem:Function,showSearch:$e(!1),searchPlaceholder:String,notFoundContent:U.any,itemUnit:String,itemsUnit:String,renderList:U.any,disabled:$e(),direction:je(),showSelectAll:$e(),remove:String,selectAll:String,selectCurrent:String,selectInvert:String,removeAll:String,removeCurrent:String,selectAllLabel:U.any,showRemove:$e(),pagination:U.any,onItemSelect:Function,onItemSelectAll:Function,onItemRemove:Function,onScroll:Function},UB=se({compatConfig:{MODE:3},name:"TransferList",inheritAttrs:!1,props:L7e,slots:Object,setup(e,t){let{attrs:n,slots:r}=t;const i=ue(""),o=ue(),a=ue(),l=(x,$)=>{let C=x?x($):null;const T=!!C&&xn(C).length>0;return T||(C=w(O7e,z(z({},$),{},{ref:a}),null)),{customize:T,bodyContent:C}},s=x=>{const{renderItem:$=E7e}=e,C=$(x),T=R7e(C);return{renderedText:T?C.value:C,renderedEl:T?C.label:C,item:x}},u=ue([]),c=ue([]);Ye(()=>{const x=[],$=[];e.dataSource.forEach(C=>{const T=s(C),{renderedText:I}=T;if(i.value&&i.value.trim()&&!m(I,C))return null;x.push(C),$.push(T)}),u.value=x,c.value=$});const d=L(()=>{const{checkedKeys:x}=e;if(x.length===0)return"none";const $=XP(x);return u.value.every(C=>$.has(C.key)||!!C.disabled)?"all":"part"}),f=L(()=>u0(u.value)),h=(x,$)=>Array.from(new Set([...x,...e.checkedKeys])).filter(C=>$.indexOf(C)===-1),v=x=>{let{disabled:$,prefixCls:C}=x;var T;const I=d.value==="all";return w(Po,{disabled:((T=e.dataSource)===null||T===void 0?void 0:T.length)===0||$,checked:I,indeterminate:d.value==="part",class:`${C}-checkbox`,onChange:()=>{const M=f.value;e.onItemSelectAll(h(I?[]:M,I?e.checkedKeys:[]))}},null)},p=x=>{var $;const{target:{value:C}}=x;i.value=C,($=e.handleFilter)===null||$===void 0||$.call(e,x)},g=x=>{var $;i.value="",($=e.handleClear)===null||$===void 0||$.call(e,x)},m=(x,$)=>{const{filterOption:C}=e;return C?C(i.value,$):x.includes(i.value)},y=(x,$)=>{const{itemsUnit:C,itemUnit:T,selectAllLabel:I}=e;if(I)return typeof I=="function"?I({selectedCount:x,totalCount:$}):I;const P=$>1?C:T;return w(Qe,null,[(x>0?`${x}/`:"")+$,Gr(" "),P])},b=L(()=>Array.isArray(e.notFoundContent)?e.notFoundContent[e.direction==="left"?0:1]:e.notFoundContent),S=(x,$,C,T,I,P)=>{const M=I?w("div",{class:`${x}-body-search-wrapper`},[w(x7e,{prefixCls:`${x}-search`,onChange:p,handleClear:g,placeholder:$,value:i.value,disabled:P},null)]):null;let O;const{onEvents:D}=vO(n),{bodyContent:R,customize:A}=l(T,_(_(_({},e),{filteredItems:u.value,filteredRenderItems:c.value,selectedKeys:C}),D));return A?O=w("div",{class:`${x}-body-customize-wrapper`},[R]):O=u.value.length?R:w("div",{class:`${x}-body-not-found`},[b.value]),w("div",{class:I?`${x}-body ${x}-body-with-search`:`${x}-body`,ref:o},[M,O])};return()=>{var x,$;const{prefixCls:C,checkedKeys:T,disabled:I,showSearch:P,searchPlaceholder:M,selectAll:O,selectCurrent:D,selectInvert:R,removeAll:A,removeCurrent:E,renderList:k,onItemSelectAll:N,onItemRemove:B,showSelectAll:F=!0,showRemove:H,pagination:V}=e,X=(x=r.footer)===null||x===void 0?void 0:x.call(r,_({},e)),Q=ce(C,{[`${C}-with-pagination`]:!!V,[`${C}-with-footer`]:!!X}),K=S(C,M,T,k,P,I),te=X?w("div",{class:`${C}-footer`},[X]):null,q=!H&&!V&&v({disabled:I,prefixCls:C});let ee=null;H?ee=w(Ln,null,{default:()=>[V&&w(Ln.Item,{key:"removeCurrent",onClick:()=>{const G=u0((a.value.items||[]).map(Y=>Y.item));B==null||B(G)}},{default:()=>[E]}),w(Ln.Item,{key:"removeAll",onClick:()=>{B==null||B(f.value)}},{default:()=>[A]})]}):ee=w(Ln,null,{default:()=>[w(Ln.Item,{key:"selectAll",onClick:()=>{const G=f.value;N(h(G,[]))}},{default:()=>[O]}),V&&w(Ln.Item,{onClick:()=>{const G=u0((a.value.items||[]).map(Y=>Y.item));N(h(G,[]))}},{default:()=>[D]}),w(Ln.Item,{key:"selectInvert",onClick:()=>{let G;V?G=u0((a.value.items||[]).map(Z=>Z.item)):G=f.value;const Y=new Set(T),oe=[],W=[];G.forEach(Z=>{Y.has(Z)?W.push(Z):oe.push(Z)}),N(h(oe,W))}},{default:()=>[R]})]});const J=w(Ua,{class:`${C}-header-dropdown`,overlay:ee,disabled:I},{default:()=>[w(Hm,null,null)]});return w("div",{class:Q,style:n.style},[w("div",{class:`${C}-header`},[F?w(Qe,null,[q,J]):null,w("span",{class:`${C}-header-selected`},[w("span",null,[y(T.length,u.value.length)]),w("span",{class:`${C}-header-title`},[($=r.titleText)===null||$===void 0?void 0:$.call(r)])])]),K,te])}}});function XB(){}const B3=e=>{const{disabled:t,moveToLeft:n=XB,moveToRight:r=XB,leftArrowText:i="",rightArrowText:o="",leftActive:a,rightActive:l,class:s,style:u,direction:c,oneWay:d}=e;return w("div",{class:s,style:u},[w(An,{type:"primary",size:"small",disabled:t||!l,onClick:r,icon:w(c!=="rtl"?ca:vu,null,null)},{default:()=>[o]}),!d&&w(An,{type:"primary",size:"small",disabled:t||!a,onClick:n,icon:w(c!=="rtl"?vu:ca,null,null)},{default:()=>[i]})])};B3.displayName="Operation";B3.inheritAttrs=!1;const N7e=B3,k7e=e=>{const{antCls:t,componentCls:n,listHeight:r,controlHeightLG:i,marginXXS:o,margin:a}=e,l=`${t}-table`,s=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:r},[`${l}-wrapper`]:{[`${l}-small`]:{border:0,borderRadius:0,[`${l}-selection-column`]:{width:i,minWidth:i}},[`${l}-pagination${l}-pagination`]:{margin:`${a}px 0 ${o}px`}},[`${s}[disabled]`]:{backgroundColor:"transparent"}}}},YB=(e,t)=>{const{componentCls:n,colorBorder:r}=e;return{[`${n}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:r}}}},B7e=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:_({},YB(e,e.colorError)),[`${t}-status-warning`]:_({},YB(e,e.colorWarning))}},F7e=e=>{const{componentCls:t,colorBorder:n,colorSplit:r,lineWidth:i,transferItemHeight:o,transferHeaderHeight:a,transferHeaderVerticalPadding:l,transferItemPaddingVertical:s,controlItemBgActive:u,controlItemBgActiveHover:c,colorTextDisabled:d,listHeight:f,listWidth:h,listWidthLG:v,fontSizeIcon:p,marginXS:g,paddingSM:m,lineType:y,iconCls:b,motionDurationSlow:S}=e;return{display:"flex",flexDirection:"column",width:h,height:f,border:`${i}px ${y} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:v,height:"auto"},"&-search":{[`${b}-search`]:{color:d}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:a,padding:`${l-i}px ${m}px ${l}px`,color:e.colorText,background:e.colorBgContainer,borderBottom:`${i}px ${y} ${r}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":_(_({},Hn),{flex:"auto",textAlign:"end"}),"&-dropdown":_(_({},Od()),{fontSize:p,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",overflow:"hidden",fontSize:e.fontSize,"&-search-wrapper":{position:"relative",flex:"none",padding:m}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:o,padding:`${s}px ${m}px`,transition:`all ${S}`,"> *:not(:last-child)":{marginInlineEnd:g},"> *":{flex:"none"},"&-text":_(_({},Hn),{flex:"auto"}),"&-remove":{position:"relative",color:n,cursor:"pointer",transition:`all ${S}`,"&:hover":{color:e.colorLinkHover},"&::after":{position:"absolute",insert:`-${s}px -50%`,content:'""'}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:e.controlItemBgHover,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:c}},"&-checked":{backgroundColor:u},"&-disabled":{color:d,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${e.paddingXS}px 0`,textAlign:"end",borderTop:`${i}px ${y} ${r}`},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:d,textAlign:"center"},"&-footer":{borderTop:`${i}px ${y} ${r}`},"&-checkbox":{lineHeight:1}}},z7e=e=>{const{antCls:t,iconCls:n,componentCls:r,transferHeaderHeight:i,marginXS:o,marginXXS:a,fontSizeIcon:l,fontSize:s,lineHeight:u}=e;return{[r]:_(_({},st(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${r}-disabled`]:{[`${r}-list`]:{background:e.colorBgContainerDisabled}},[`${r}-list`]:F7e(e),[`${r}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${o}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:a},[n]:{fontSize:l}}},[`${t}-empty-image`]:{maxHeight:i/2-Math.round(s*u)}})}},H7e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},V7e=it("Transfer",e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeightLG:i,controlHeight:o}=e,a=Math.round(t*n),l=i,s=o,u=Ue(e,{transferItemHeight:s,transferHeaderHeight:l,transferHeaderVerticalPadding:Math.ceil((l-r-a)/2),transferItemPaddingVertical:(s-a)/2});return[z7e(u),k7e(u),B7e(u),H7e(u)]},{listWidth:180,listHeight:200,listWidthLG:250}),W7e=()=>({id:String,prefixCls:String,dataSource:Ot([]),disabled:$e(),targetKeys:Ot(),selectedKeys:Ot(),render:be(),listStyle:Xe([Function,Object],()=>({})),operationStyle:He(void 0),titles:Ot(),operations:Ot(),showSearch:$e(!1),filterOption:be(),searchPlaceholder:String,notFoundContent:U.any,locale:He(),rowKey:be(),showSelectAll:$e(),selectAllLabels:Ot(),children:be(),oneWay:$e(),pagination:Xe([Object,Boolean]),status:je(),onChange:be(),onSelectChange:be(),onSearch:be(),onScroll:be(),"onUpdate:targetKeys":be(),"onUpdate:selectedKeys":be()}),j7e=se({compatConfig:{MODE:3},name:"ATransfer",inheritAttrs:!1,props:W7e(),slots:Object,setup(e,t){let{emit:n,attrs:r,slots:i,expose:o}=t;const{configProvider:a,prefixCls:l,direction:s}=Ee("transfer",e),[u,c]=V7e(l),d=ue([]),f=ue([]),h=Xn(),v=fr.useInject(),p=L(()=>va(v.status,e.status));Se(()=>e.selectedKeys,()=>{var K,te;d.value=((K=e.selectedKeys)===null||K===void 0?void 0:K.filter(q=>e.targetKeys.indexOf(q)===-1))||[],f.value=((te=e.selectedKeys)===null||te===void 0?void 0:te.filter(q=>e.targetKeys.indexOf(q)>-1))||[]},{immediate:!0});const g=(K,te)=>{const q={notFoundContent:te("Transfer")},ee=Un(i,e,"notFoundContent");return ee&&(q.notFoundContent=ee),e.searchPlaceholder!==void 0&&(q.searchPlaceholder=e.searchPlaceholder),_(_(_({},K),q),e.locale)},m=K=>{const{targetKeys:te=[],dataSource:q=[]}=e,ee=K==="right"?d.value:f.value,J=D7e(q),G=ee.filter(Z=>!J.has(Z)),Y=XP(G),oe=K==="right"?G.concat(te):te.filter(Z=>!Y.has(Z)),W=K==="right"?"left":"right";K==="right"?d.value=[]:f.value=[],n("update:targetKeys",oe),C(W,[]),n("change",oe,K,G),h.onFieldChange()},y=()=>{m("left")},b=()=>{m("right")},S=(K,te)=>{C(K,te)},x=K=>S("left",K),$=K=>S("right",K),C=(K,te)=>{K==="left"?(e.selectedKeys||(d.value=te),n("update:selectedKeys",[...te,...f.value]),n("selectChange",te,mt(f.value))):(e.selectedKeys||(f.value=te),n("update:selectedKeys",[...te,...d.value]),n("selectChange",mt(d.value),te))},T=(K,te)=>{const q=te.target.value;n("search",K,q)},I=K=>{T("left",K)},P=K=>{T("right",K)},M=K=>{n("search",K,"")},O=()=>{M("left")},D=()=>{M("right")},R=(K,te,q)=>{const ee=K==="left"?[...d.value]:[...f.value],J=ee.indexOf(te);J>-1&&ee.splice(J,1),q&&ee.push(te),C(K,ee)},A=(K,te)=>R("left",K,te),E=(K,te)=>R("right",K,te),k=K=>{const{targetKeys:te=[]}=e,q=te.filter(ee=>!K.includes(ee));n("update:targetKeys",q),n("change",q,"left",[...K])},N=(K,te)=>{n("scroll",K,te)},B=K=>{N("left",K)},F=K=>{N("right",K)},H=(K,te)=>typeof K=="function"?K({direction:te}):K,V=ue([]),X=ue([]);Ye(()=>{const{dataSource:K,rowKey:te,targetKeys:q=[]}=e,ee=[],J=new Array(q.length),G=XP(q);K.forEach(Y=>{te&&(Y.key=te(Y)),G.has(Y.key)?J[G.get(Y.key)]=Y:ee.push(Y)}),V.value=ee,X.value=J}),o({handleSelectChange:C});const Q=K=>{var te,q,ee,J,G,Y;const{disabled:oe,operations:W=[],showSearch:Z,listStyle:ne,operationStyle:re,filterOption:le,showSelectAll:ie,selectAllLabels:de=[],oneWay:pe,pagination:me,id:he=h.id.value}=e,{class:xe,style:Ce}=r,ve=i.children,fe=!ve&&me,ye=a.renderEmpty,Me=g(K,ye),{footer:De}=i,Be=e.render||i.render,we=f.value.length>0,_e=d.value.length>0,Ie=ce(l.value,xe,{[`${l.value}-disabled`]:oe,[`${l.value}-customize-list`]:!!ve,[`${l.value}-rtl`]:s.value==="rtl"},Kr(l.value,p.value,v.hasFeedback),c.value),Le=e.titles,Ke=(ee=(te=Le&&Le[0])!==null&&te!==void 0?te:(q=i.leftTitle)===null||q===void 0?void 0:q.call(i))!==null&&ee!==void 0?ee:(Me.titles||["",""])[0],ke=(Y=(J=Le&&Le[1])!==null&&J!==void 0?J:(G=i.rightTitle)===null||G===void 0?void 0:G.call(i))!==null&&Y!==void 0?Y:(Me.titles||["",""])[1];return w("div",z(z({},r),{},{class:Ie,style:Ce,id:he}),[w(UB,z({key:"leftList",prefixCls:`${l.value}-list`,dataSource:V.value,filterOption:le,style:H(ne,"left"),checkedKeys:d.value,handleFilter:I,handleClear:O,onItemSelect:A,onItemSelectAll:x,renderItem:Be,showSearch:Z,renderList:ve,onScroll:B,disabled:oe,direction:s.value==="rtl"?"right":"left",showSelectAll:ie,selectAllLabel:de[0]||i.leftSelectAllLabel,pagination:fe},Me),{titleText:()=>Ke,footer:De}),w(N7e,{key:"operation",class:`${l.value}-operation`,rightActive:_e,rightArrowText:W[0],moveToRight:b,leftActive:we,leftArrowText:W[1],moveToLeft:y,style:re,disabled:oe,direction:s.value,oneWay:pe},null),w(UB,z({key:"rightList",prefixCls:`${l.value}-list`,dataSource:X.value,filterOption:le,style:H(ne,"right"),checkedKeys:f.value,handleFilter:P,handleClear:D,onItemSelect:E,onItemSelectAll:$,onItemRemove:k,renderItem:Be,showSearch:Z,renderList:ve,onScroll:F,disabled:oe,direction:s.value==="rtl"?"left":"right",showSelectAll:ie,selectAllLabel:de[1]||i.rightSelectAllLabel,showRemove:pe,pagination:fe},Me),{titleText:()=>ke,footer:De})])};return()=>u(w(Ad,{componentName:"Transfer",defaultLocale:vi.Transfer,children:Q},null))}}),G7e=gn(j7e);function K7e(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function U7e(e){const{label:t,value:n,children:r}=e||{},i=n||"value";return{_title:t?[t]:["title","label"],value:i,key:i,children:r||"children"}}function YP(e){return e.disabled||e.disableCheckbox||e.checkable===!1}function X7e(e,t){const n=[];function r(i){i.forEach(o=>{n.push(o[t.value]);const a=o[t.children];a&&r(a)})}return r(e),n}function qB(e){return e==null}const LJ=Symbol("TreeSelectContextPropsKey");function Y7e(e){return at(LJ,e)}function q7e(){return Je(LJ,{})}const Z7e={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Q7e=se({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{slots:n,expose:r}=t;const i=zm(),o=mw(),a=q7e(),l=ue(),s=qO(()=>a.treeData,[()=>i.open,()=>a.treeData],x=>x[0]),u=L(()=>{const{checkable:x,halfCheckedKeys:$,checkedKeys:C}=o;return x?{checked:C,halfChecked:$}:null});Se(()=>i.open,()=>{_t(()=>{var x;i.open&&!i.multiple&&o.checkedKeys.length&&((x=l.value)===null||x===void 0||x.scrollTo({key:o.checkedKeys[0]}))})},{immediate:!0,flush:"post"});const c=L(()=>String(i.searchValue).toLowerCase()),d=x=>c.value?String(x[o.treeNodeFilterProp]).toLowerCase().includes(c.value):!1,f=ae(o.treeDefaultExpandedKeys),h=ae(null);Se(()=>i.searchValue,()=>{i.searchValue&&(h.value=X7e(mt(a.treeData),mt(a.fieldNames)))},{immediate:!0});const v=L(()=>o.treeExpandedKeys?o.treeExpandedKeys.slice():i.searchValue?h.value:f.value),p=x=>{var $;f.value=x,h.value=x,($=o.onTreeExpand)===null||$===void 0||$.call(o,x)},g=x=>{x.preventDefault()},m=(x,$)=>{let{node:C}=$;var T,I;const{checkable:P,checkedKeys:M}=o;P&&YP(C)||((T=a.onSelect)===null||T===void 0||T.call(a,C.key,{selected:!M.includes(C.key)}),i.multiple||(I=i.toggleOpen)===null||I===void 0||I.call(i,!1))},y=ue(null),b=L(()=>o.keyEntities[y.value]),S=x=>{y.value=x};return r({scrollTo:function(){for(var x,$,C=arguments.length,T=new Array(C),I=0;I{var $;const{which:C}=x;switch(C){case Pe.UP:case Pe.DOWN:case Pe.LEFT:case Pe.RIGHT:($=l.value)===null||$===void 0||$.onKeydown(x);break;case Pe.ENTER:{if(b.value){const{selectable:T,value:I}=b.value.node||{};T!==!1&&m(null,{node:{key:y.value},selected:!o.checkedKeys.includes(I)})}break}case Pe.ESC:i.toggleOpen(!1)}},onKeyup:()=>{}}),()=>{var x;const{prefixCls:$,multiple:C,searchValue:T,open:I,notFoundContent:P=(x=n.notFoundContent)===null||x===void 0?void 0:x.call(n)}=i,{listHeight:M,listItemHeight:O,virtual:D,dropdownMatchSelectWidth:R,treeExpandAction:A}=a,{checkable:E,treeDefaultExpandAll:k,treeIcon:N,showTreeIcon:B,switcherIcon:F,treeLine:H,loadData:V,treeLoadedKeys:X,treeMotion:Q,onTreeLoad:K,checkedKeys:te}=o;if(s.value.length===0)return w("div",{role:"listbox",class:`${$}-empty`,onMousedown:g},[P]);const q={fieldNames:a.fieldNames};return X&&(q.loadedKeys=X),v.value&&(q.expandedKeys=v.value),w("div",{onMousedown:g},[b.value&&I&&w("span",{style:Z7e,"aria-live":"assertive"},[b.value.node.value]),w(xJ,z(z({ref:l,focusable:!1,prefixCls:`${$}-tree`,treeData:s.value,height:M,itemHeight:O,virtual:D!==!1&&R!==!1,multiple:C,icon:N,showIcon:B,switcherIcon:F,showLine:H,loadData:T?null:V,motion:Q,activeKey:y.value,checkable:E,checkStrictly:!0,checkedKeys:u.value,selectedKeys:E?[]:te,defaultExpandAll:k},q),{},{onActiveChange:S,onSelect:m,onCheck:m,onExpand:p,onLoad:K,filterTreeNode:d,expandAction:A}),_(_({},n),{checkable:o.customSlots.treeCheckable}))])}}}),J7e="SHOW_ALL",NJ="SHOW_PARENT",F3="SHOW_CHILD";function ZB(e,t,n,r){const i=new Set(e);return t===F3?e.filter(o=>{const a=n[o];return!(a&&a.children&&a.children.some(l=>{let{node:s}=l;return i.has(s[r.value])})&&a.children.every(l=>{let{node:s}=l;return YP(s)||i.has(s[r.value])}))}):t===NJ?e.filter(o=>{const a=n[o],l=a?a.parent:null;return!(l&&!YP(l.node)&&i.has(l.key))}):e}const iC=()=>null;iC.inheritAttrs=!1;iC.displayName="ATreeSelectNode";iC.isTreeSelectNode=!0;const z3=iC;var eFe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&arguments[0]!==void 0?arguments[0]:[];return xn(n).map(r=>{var i,o,a;if(!tFe(r))return null;const l=r.children||{},s=r.key,u={};for(const[C,T]of Object.entries(r.props))u[Md(C)]=T;const{isLeaf:c,checkable:d,selectable:f,disabled:h,disableCheckbox:v}=u,p={isLeaf:c||c===""||void 0,checkable:d||d===""||void 0,selectable:f||f===""||void 0,disabled:h||h===""||void 0,disableCheckbox:v||v===""||void 0},g=_(_({},u),p),{title:m=(i=l.title)===null||i===void 0?void 0:i.call(l,g),switcherIcon:y=(o=l.switcherIcon)===null||o===void 0?void 0:o.call(l,g)}=u,b=eFe(u,["title","switcherIcon"]),S=(a=l.default)===null||a===void 0?void 0:a.call(l),x=_(_(_({},b),{title:m,switcherIcon:y,key:s,isLeaf:c}),p),$=t(S);return $.length&&(x.children=$),x})}return t(e)}function qP(e){if(!e)return e;const t=_({},e);return"props"in t||Object.defineProperty(t,"props",{get(){return t}}),t}function rFe(e,t,n,r,i,o){let a=null,l=null;function s(){function u(c){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map((h,v)=>{const p=`${d}-${v}`,g=h[o.value],m=n.includes(g),y=u(h[o.children]||[],p,m),b=w(z3,h,{default:()=>[y.map(S=>S.node)]});if(t===g&&(a=b),m){const S={pos:p,node:b,children:y};return f||l.push(S),S}return null}).filter(h=>h)}l||(l=[],u(r),l.sort((c,d)=>{let{node:{props:{value:f}}}=c,{node:{props:{value:h}}}=d;const v=n.indexOf(f),p=n.indexOf(h);return v-p}))}Object.defineProperty(e,"triggerNode",{get(){return s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get(){return s(),i?l:l.map(u=>{let{node:c}=u;return c})}})}function iFe(e,t){let{id:n,pId:r,rootPId:i}=t;const o={},a=[];return e.map(s=>{const u=_({},s),c=u[n];return o[c]=u,u.key=u.key||c,u}).forEach(s=>{const u=s[r],c=o[u];c&&(c.children=c.children||[],c.children.push(s)),(u===i||!c&&i===null)&&a.push(s)}),a}function oFe(e,t,n){const r=ae();return Se([n,e,t],()=>{const i=n.value;e.value?r.value=n.value?iFe(mt(e.value),_({id:"id",pId:"pId",rootPId:null},i!==!0?i:{})):mt(e.value).slice():r.value=nFe(mt(t.value))},{immediate:!0,deep:!0}),r}const aFe=e=>{const t=ae({valueLabels:new Map}),n=ae();return Se(e,()=>{n.value=mt(e.value)},{immediate:!0}),[L(()=>{const{valueLabels:i}=t.value,o=new Map,a=n.value.map(l=>{var s;const{value:u}=l,c=(s=l.label)!==null&&s!==void 0?s:i.get(u);return o.set(u,c),_(_({},l),{label:c})});return t.value.valueLabels=o,a})]},lFe=(e,t)=>{const n=ae(new Map),r=ae({});return Ye(()=>{const i=t.value,o=Zm(e.value,{fieldNames:i,initWrapper:a=>_(_({},a),{valueEntities:new Map}),processEntity:(a,l)=>{const s=a.node[i.value];l.valueEntities.set(s,a)}});n.value=o.valueEntities,r.value=o.keyEntities}),{valueEntities:n,keyEntities:r}},sFe=(e,t,n,r,i,o)=>{const a=ae([]),l=ae([]);return Ye(()=>{let s=e.value.map(d=>{let{value:f}=d;return f}),u=t.value.map(d=>{let{value:f}=d;return f});const c=s.filter(d=>!r.value[d]);n.value&&({checkedKeys:s,halfCheckedKeys:u}=Io(s,!0,r.value,i.value,o.value)),a.value=Array.from(new Set([...c,...s])),l.value=u}),[a,l]},uFe=(e,t,n)=>{let{treeNodeFilterProp:r,filterTreeNode:i,fieldNames:o}=n;return L(()=>{const{children:a}=o.value,l=t.value,s=r==null?void 0:r.value;if(!l||i.value===!1)return e.value;let u;if(typeof i.value=="function")u=i.value;else{const d=l.toUpperCase();u=(f,h)=>{const v=h[s];return String(v).toUpperCase().includes(d)}}function c(d){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const h=[];for(let v=0,p=d.length;ve.treeCheckable&&!e.treeCheckStrictly),l=L(()=>e.treeCheckable||e.treeCheckStrictly),s=L(()=>e.treeCheckStrictly||e.labelInValue),u=L(()=>l.value||e.multiple),c=L(()=>U7e(e.fieldNames)),[d,f]=dn("",{value:L(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:he=>he||""}),h=he=>{var xe;f(he),(xe=e.onSearch)===null||xe===void 0||xe.call(e,he)},v=oFe(qe(e,"treeData"),qe(e,"children"),qe(e,"treeDataSimpleMode")),{keyEntities:p,valueEntities:g}=lFe(v,c),m=he=>{const xe=[],Ce=[];return he.forEach(ve=>{g.value.has(ve)?Ce.push(ve):xe.push(ve)}),{missingRawValues:xe,existRawValues:Ce}},y=uFe(v,d,{fieldNames:c,treeNodeFilterProp:qe(e,"treeNodeFilterProp"),filterTreeNode:qe(e,"filterTreeNode")}),b=he=>{if(he){if(e.treeNodeLabelProp)return he[e.treeNodeLabelProp];const{_title:xe}=c.value;for(let Ce=0;CeK7e(he).map(Ce=>cFe(Ce)?{value:Ce}:Ce),x=he=>S(he).map(Ce=>{let{label:ve}=Ce;const{value:fe,halfChecked:ye}=Ce;let Me;const De=g.value.get(fe);return De&&(ve=ve!=null?ve:b(De.node),Me=De.node.disabled),{label:ve,value:fe,halfChecked:ye,disabled:Me}}),[$,C]=dn(e.defaultValue,{value:qe(e,"value")}),T=L(()=>S($.value)),I=ae([]),P=ae([]);Ye(()=>{const he=[],xe=[];T.value.forEach(Ce=>{Ce.halfChecked?xe.push(Ce):he.push(Ce)}),I.value=he,P.value=xe});const M=L(()=>I.value.map(he=>he.value)),{maxLevel:O,levelEntities:D}=Gw(p),[R,A]=sFe(I,P,a,p,O,D),E=L(()=>{const Ce=ZB(R.value,e.showCheckedStrategy,p.value,c.value).map(ye=>{var Me,De,Be;return(Be=(De=(Me=p.value[ye])===null||Me===void 0?void 0:Me.node)===null||De===void 0?void 0:De[c.value.value])!==null&&Be!==void 0?Be:ye}).map(ye=>{const Me=I.value.find(De=>De.value===ye);return{value:ye,label:Me==null?void 0:Me.label}}),ve=x(Ce),fe=ve[0];return!u.value&&fe&&qB(fe.value)&&qB(fe.label)?[]:ve.map(ye=>{var Me;return _(_({},ye),{label:(Me=ye.label)!==null&&Me!==void 0?Me:ye.value})})}),[k]=aFe(E),N=(he,xe,Ce)=>{const ve=x(he);if(C(ve),e.autoClearSearchValue&&f(""),e.onChange){let fe=he;a.value&&(fe=ZB(he,e.showCheckedStrategy,p.value,c.value).map(Ke=>{const ke=g.value.get(Ke);return ke?ke.node[c.value.value]:Ke}));const{triggerValue:ye,selected:Me}=xe||{triggerValue:void 0,selected:void 0};let De=fe;if(e.treeCheckStrictly){const Le=P.value.filter(Ke=>!fe.includes(Ke.value));De=[...De,...Le]}const Be=x(De),we={preValue:I.value,triggerValue:ye};let _e=!0;(e.treeCheckStrictly||Ce==="selection"&&!Me)&&(_e=!1),rFe(we,ye,he,v.value,_e,c.value),l.value?we.checked=Me:we.selected=Me;const Ie=s.value?Be:Be.map(Le=>Le.value);e.onChange(u.value?Ie:Ie[0],s.value?null:Be.map(Le=>Le.label),we)}},B=(he,xe)=>{let{selected:Ce,source:ve}=xe;var fe,ye,Me;const De=mt(p.value),Be=mt(g.value),we=De[he],_e=we==null?void 0:we.node,Ie=(fe=_e==null?void 0:_e[c.value.value])!==null&&fe!==void 0?fe:he;if(!u.value)N([Ie],{selected:!0,triggerValue:Ie},"option");else{let Le=Ce?[...M.value,Ie]:R.value.filter(Ke=>Ke!==Ie);if(a.value){const{missingRawValues:Ke,existRawValues:ke}=m(Le),We=ke.map(Dt=>Be.get(Dt).key);let gt;Ce?{checkedKeys:gt}=Io(We,!0,De,O.value,D.value):{checkedKeys:gt}=Io(We,{checked:!1,halfCheckedKeys:A.value},De,O.value,D.value),Le=[...Ke,...gt.map(Dt=>De[Dt].node[c.value.value])]}N(Le,{selected:Ce,triggerValue:Ie},ve||"option")}Ce||!u.value?(ye=e.onSelect)===null||ye===void 0||ye.call(e,Ie,qP(_e)):(Me=e.onDeselect)===null||Me===void 0||Me.call(e,Ie,qP(_e))},F=he=>{if(e.onDropdownVisibleChange){const xe={};Object.defineProperty(xe,"documentClickClose",{get(){return!1}}),e.onDropdownVisibleChange(he,xe)}},H=(he,xe)=>{const Ce=he.map(ve=>ve.value);if(xe.type==="clear"){N(Ce,{},"selection");return}xe.values.length&&B(xe.values[0].value,{selected:!1,source:"selection"})},{treeNodeFilterProp:V,loadData:X,treeLoadedKeys:Q,onTreeLoad:K,treeDefaultExpandAll:te,treeExpandedKeys:q,treeDefaultExpandedKeys:ee,onTreeExpand:J,virtual:G,listHeight:Y,listItemHeight:oe,treeLine:W,treeIcon:Z,showTreeIcon:ne,switcherIcon:re,treeMotion:le,customSlots:ie,dropdownMatchSelectWidth:de,treeExpandAction:pe}=Ga(e);Z0e(J1({checkable:l,loadData:X,treeLoadedKeys:Q,onTreeLoad:K,checkedKeys:R,halfCheckedKeys:A,treeDefaultExpandAll:te,treeExpandedKeys:q,treeDefaultExpandedKeys:ee,onTreeExpand:J,treeIcon:Z,treeMotion:le,showTreeIcon:ne,switcherIcon:re,treeLine:W,treeNodeFilterProp:V,keyEntities:p,customSlots:ie})),Y7e(J1({virtual:G,listHeight:Y,listItemHeight:oe,treeData:y,fieldNames:c,onSelect:B,dropdownMatchSelectWidth:de,treeExpandAction:pe}));const me=ue();return r({focus(){var he;(he=me.value)===null||he===void 0||he.focus()},blur(){var he;(he=me.value)===null||he===void 0||he.blur()},scrollTo(he){var xe;(xe=me.value)===null||xe===void 0||xe.scrollTo(he)}}),()=>{var he;const xe=yt(e,["id","prefixCls","customSlots","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","virtual","listHeight","listItemHeight","onDropdownVisibleChange","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"]);return w(YO,z(z(z({ref:me},n),xe),{},{id:o,prefixCls:e.prefixCls,mode:u.value?"multiple":void 0,displayValues:k.value,onDisplayValuesChange:H,searchValue:d.value,onSearch:h,OptionList:Q7e,emptyOptions:!v.value.length,onDropdownVisibleChange:F,tagRender:e.tagRender||i.tagRender,dropdownMatchSelectWidth:(he=e.dropdownMatchSelectWidth)!==null&&he!==void 0?he:!0}),i)}}}),fFe=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${e.paddingXS}px ${e.paddingXS/2}px`},$J(n,Ue(e,{colorBgContainer:r})),{[i]:{borderRadius:0,"&-list-holder-inner":{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},Yw(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function hFe(e,t){return it("TreeSelect",n=>{const r=Ue(n,{treePrefixCls:t.value});return[fFe(r)]})(e)}const QB=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function vFe(){return _(_({},yt(kJ(),["showTreeIcon","treeMotion","inputIcon","getInputElement","treeLine","customSlots"])),{suffixIcon:U.any,size:je(),bordered:$e(),treeLine:Xe([Boolean,Object]),replaceFields:He(),placement:je(),status:je(),popupClassName:String,dropdownClassName:String,"onUpdate:value":be(),"onUpdate:treeExpandedKeys":be(),"onUpdate:searchValue":be()})}const T_=se({compatConfig:{MODE:3},name:"ATreeSelect",inheritAttrs:!1,props:ft(vFe(),{choiceTransitionName:"",listHeight:256,treeIcon:!1,listItemHeight:26,bordered:!0}),slots:Object,setup(e,t){let{attrs:n,slots:r,expose:i,emit:o}=t;e.treeData===void 0&&r.default,on(e.multiple!==!1||!e.treeCheckable,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true"),on(e.replaceFields===void 0,"TreeSelect","`replaceFields` is deprecated, please use fieldNames instead"),on(!e.dropdownClassName,"TreeSelect","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const a=Xn(),l=fr.useInject(),s=L(()=>va(l.status,e.status)),{prefixCls:u,renderEmpty:c,direction:d,virtual:f,dropdownMatchSelectWidth:h,size:v,getPopupContainer:p,getPrefixCls:g,disabled:m}=Ee("select",e),{compactSize:y,compactItemClassnames:b}=Au(u,d),S=L(()=>y.value||v.value),x=Ai(),$=L(()=>{var Q;return(Q=m.value)!==null&&Q!==void 0?Q:x.value}),C=L(()=>g()),T=L(()=>e.placement!==void 0?e.placement:d.value==="rtl"?"bottomRight":"bottomLeft"),I=L(()=>QB(C.value,GO(T.value),e.transitionName)),P=L(()=>QB(C.value,"",e.choiceTransitionName)),M=L(()=>g("select-tree",e.prefixCls)),O=L(()=>g("tree-select",e.prefixCls)),[D,R]=$D(u),[A]=hFe(O,M),E=L(()=>ce(e.popupClassName||e.dropdownClassName,`${O.value}-dropdown`,{[`${O.value}-dropdown-rtl`]:d.value==="rtl"},R.value)),k=L(()=>!!(e.treeCheckable||e.multiple)),N=L(()=>e.showArrow!==void 0?e.showArrow:e.loading||!k.value),B=ue();i({focus(){var Q,K;(K=(Q=B.value).focus)===null||K===void 0||K.call(Q)},blur(){var Q,K;(K=(Q=B.value).blur)===null||K===void 0||K.call(Q)}});const F=function(){for(var Q=arguments.length,K=new Array(Q),te=0;te{o("update:treeExpandedKeys",Q),o("treeExpand",Q)},V=Q=>{o("update:searchValue",Q),o("search",Q)},X=Q=>{o("blur",Q),a.onFieldBlur()};return()=>{var Q,K,te;const{notFoundContent:q=(Q=r.notFoundContent)===null||Q===void 0?void 0:Q.call(r),prefixCls:ee,bordered:J,listHeight:G,listItemHeight:Y,multiple:oe,treeIcon:W,treeLine:Z,showArrow:ne,switcherIcon:re=(K=r.switcherIcon)===null||K===void 0?void 0:K.call(r),fieldNames:le=e.replaceFields,id:ie=a.id.value,placeholder:de=(te=r.placeholder)===null||te===void 0?void 0:te.call(r)}=e,{isFormItemInput:pe,hasFeedback:me,feedbackIcon:he}=l,{suffixIcon:xe,removeIcon:Ce,clearIcon:ve}=uD(_(_({},e),{multiple:k.value,showArrow:N.value,hasFeedback:me,feedbackIcon:he,prefixCls:u.value}),r);let fe;q!==void 0?fe=q:fe=c("Select");const ye=yt(e,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","bordered","status","onUpdate:value","onUpdate:treeExpandedKeys","onUpdate:searchValue"]),Me=ce(!ee&&O.value,{[`${u.value}-lg`]:S.value==="large",[`${u.value}-sm`]:S.value==="small",[`${u.value}-rtl`]:d.value==="rtl",[`${u.value}-borderless`]:!J,[`${u.value}-in-form-item`]:pe},Kr(u.value,s.value,me),b.value,n.class,R.value),De={};return e.treeData===void 0&&r.default&&(De.children=Jt(r.default())),D(A(w(dFe,z(z(z(z({},n),ye),{},{disabled:$.value,virtual:f.value,dropdownMatchSelectWidth:h.value,id:ie,fieldNames:le,ref:B,prefixCls:u.value,class:Me,listHeight:G,listItemHeight:Y,treeLine:!!Z,inputIcon:xe,multiple:oe,removeIcon:Ce,clearIcon:ve,switcherIcon:Be=>CJ(M.value,re,Be,r.leafIcon,Z),showTreeIcon:W,notFoundContent:fe,getPopupContainer:p==null?void 0:p.value,treeMotion:null,dropdownClassName:E.value,choiceTransitionName:P.value,onChange:F,onBlur:X,onSearch:V,onTreeExpand:H},De),{},{transitionName:I.value,customSlots:_(_({},r),{treeCheckable:()=>w("span",{class:`${u.value}-tree-checkbox-inner`},null)}),maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,placement:T.value,showArrow:me||ne,placeholder:de}),_(_({},r),{treeCheckable:()=>w("span",{class:`${u.value}-tree-checkbox-inner`},null)}))))}}}),ZP=z3,pFe=_(T_,{TreeNode:z3,SHOW_ALL:J7e,SHOW_PARENT:NJ,SHOW_CHILD:F3,install:e=>(e.component(T_.name,T_),e.component(ZP.displayName,ZP),e)}),I_=()=>({format:String,showNow:$e(),showHour:$e(),showMinute:$e(),showSecond:$e(),use12Hours:$e(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:$e(),popupClassName:String,status:je()});function gFe(e){const t=UZ(e,_(_({},I_()),{order:{type:Boolean,default:!0}})),{TimePicker:n,RangePicker:r}=t,i=se({name:"ATimePicker",inheritAttrs:!1,props:_(_(_(_({},IS()),jZ()),I_()),{addon:{type:Function}}),slots:Object,setup(a,l){let{slots:s,expose:u,emit:c,attrs:d}=l;const f=a,h=Xn();on(!(s.addon||f.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const v=ue();u({focus:()=>{var S;(S=v.value)===null||S===void 0||S.focus()},blur:()=>{var S;(S=v.value)===null||S===void 0||S.blur()}});const p=(S,x)=>{c("update:value",S),c("change",S,x),h.onFieldChange()},g=S=>{c("update:open",S),c("openChange",S)},m=S=>{c("focus",S)},y=S=>{c("blur",S),h.onFieldBlur()},b=S=>{c("ok",S)};return()=>{const{id:S=h.id.value}=f;return w(n,z(z(z({},d),yt(f,["onUpdate:value","onUpdate:open"])),{},{id:S,dropdownClassName:f.popupClassName,mode:void 0,ref:v,renderExtraFooter:f.addon||s.addon||f.renderExtraFooter||s.renderExtraFooter,onChange:p,onOpenChange:g,onFocus:m,onBlur:y,onOk:b}),s)}}}),o=se({name:"ATimeRangePicker",inheritAttrs:!1,props:_(_(_(_({},IS()),GZ()),I_()),{order:{type:Boolean,default:!0}}),slots:Object,setup(a,l){let{slots:s,expose:u,emit:c,attrs:d}=l;const f=a,h=ue(),v=Xn();u({focus:()=>{var $;($=h.value)===null||$===void 0||$.focus()},blur:()=>{var $;($=h.value)===null||$===void 0||$.blur()}});const p=($,C)=>{c("update:value",$),c("change",$,C),v.onFieldChange()},g=$=>{c("update:open",$),c("openChange",$)},m=$=>{c("focus",$)},y=$=>{c("blur",$),v.onFieldBlur()},b=($,C)=>{c("panelChange",$,C)},S=$=>{c("ok",$)},x=($,C,T)=>{c("calendarChange",$,C,T)};return()=>{const{id:$=v.id.value}=f;return w(r,z(z(z({},d),yt(f,["onUpdate:open","onUpdate:value"])),{},{id:$,dropdownClassName:f.popupClassName,picker:"time",mode:void 0,ref:h,onChange:p,onOpenChange:g,onFocus:m,onBlur:y,onPanelChange:b,onOk:S,onCalendarChange:x}),s)}}});return{TimePicker:i,TimeRangePicker:o}}const{TimePicker:c0,TimeRangePicker:i1}=gFe(YD),mFe=_(c0,{TimePicker:c0,TimeRangePicker:i1,install:e=>(e.component(c0.name,c0),e.component(i1.name,i1),e)}),yFe=()=>({prefixCls:String,color:String,dot:U.any,pending:$e(),position:U.oneOf(Ar("left","right","")).def(""),label:U.any}),tm=se({compatConfig:{MODE:3},name:"ATimelineItem",props:ft(yFe(),{color:"blue",pending:!1}),slots:Object,setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("timeline",e),i=L(()=>({[`${r.value}-item`]:!0,[`${r.value}-item-pending`]:e.pending})),o=L(()=>/blue|red|green|gray/.test(e.color||"")?void 0:e.color||"blue"),a=L(()=>({[`${r.value}-item-head`]:!0,[`${r.value}-item-head-${e.color||"blue"}`]:!o.value}));return()=>{var l,s,u;const{label:c=(l=n.label)===null||l===void 0?void 0:l.call(n),dot:d=(s=n.dot)===null||s===void 0?void 0:s.call(n)}=e;return w("li",{class:i.value},[c&&w("div",{class:`${r.value}-item-label`},[c]),w("div",{class:`${r.value}-item-tail`},null),w("div",{class:[a.value,!!d&&`${r.value}-item-head-custom`],style:{borderColor:o.value,color:o.value}},[d]),w("div",{class:`${r.value}-item-content`},[(u=n.default)===null||u===void 0?void 0:u.call(n)])])}}}),bFe=e=>{const{componentCls:t}=e;return{[t]:_(_({},st(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.timeLineItemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize,insetInlineStart:(e.timeLineItemHeadSize-e.timeLineItemTailWidth)/2,height:`calc(100% - ${e.timeLineItemHeadSize}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px ${e.lineType} ${e.colorSplit}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.timeLineItemHeadSize,height:e.timeLineItemHeadSize,backgroundColor:e.colorBgContainer,border:`${e.timeLineHeadBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.timeLineItemHeadSize/2,insetInlineStart:e.timeLineItemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.timeLineItemCustomHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.timeLineItemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}}},[`&${t}-alternate, &${t}-right, &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${e.marginXXS}px`,"&-custom":{marginInlineStart:e.timeLineItemTailWidth/2}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${e.marginXXS}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${e.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, ${t}-item-head, @@ -473,32 +473,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-item-last ${t}-item-tail`]:{display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`&${t}-reverse ${t}-item-last - ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.timeLineItemTailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},bFe=it("Timeline",e=>{const t=Ue(e,{timeLineItemPaddingBottom:e.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:e.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:e.lineWidthBold,timeLineHeadBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3});return[yFe(t)]}),SFe=()=>({prefixCls:String,pending:U.any,pendingDot:U.any,reverse:$e(),mode:U.oneOf(Ar("left","alternate","right",""))}),sg=se({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:ft(SFe(),{reverse:!1,mode:""}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("timeline",e),[a,l]=bFe(i),s=(u,c)=>{const d=u.props||{};return e.mode==="alternate"?d.position==="right"?`${i.value}-item-right`:d.position==="left"?`${i.value}-item-left`:c%2===0?`${i.value}-item-left`:`${i.value}-item-right`:e.mode==="left"?`${i.value}-item-left`:e.mode==="right"?`${i.value}-item-right`:d.position==="right"?`${i.value}-item-right`:""};return()=>{var u,c,d;const{pending:f=(u=n.pending)===null||u===void 0?void 0:u.call(n),pendingDot:h=(c=n.pendingDot)===null||c===void 0?void 0:c.call(n),reverse:v,mode:p}=e,g=typeof f=="boolean"?null:f,m=xn((d=n.default)===null||d===void 0?void 0:d.call(n)),y=f?w(em,{pending:!!f,dot:h||w(to,null,null)},{default:()=>[g]}):null;y&&m.push(y);const b=v?m.reverse():m,S=b.length,x=`${i.value}-item-last`,$=b.map((I,P)=>{const M=P===S-2?x:"",O=P===S-1?x:"";return cr(I,{class:ce([!v&&f?M:O,s(I,P)])})}),C=b.some(I=>{var P,M;return!!(!((P=I.props)===null||P===void 0)&&P.label||!((M=I.children)===null||M===void 0)&&M.label)}),T=ce(i.value,{[`${i.value}-pending`]:!!f,[`${i.value}-reverse`]:!!v,[`${i.value}-${p}`]:!!p&&!C,[`${i.value}-label`]:C,[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value);return a(w("ul",z(z({},r),{},{class:T}),[$]))}}});sg.Item=em;sg.install=function(e){return e.component(sg.name,sg),e.component(em.name,em),e};var xFe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const wFe=xFe;function JB(e){for(var t=1;t{const{sizeMarginHeadingVerticalEnd:i,fontWeightStrong:o}=r;return{marginBottom:i,color:n,fontWeight:o,fontSize:e,lineHeight:t}},TFe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:`${e.timeLineItemTailWidth}px dotted ${e.colorSplit}`},[`${t}-item-content`]:{minHeight:e.controlHeightLG*1.2}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.timeLineItemTailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},SFe=it("Timeline",e=>{const t=Ue(e,{timeLineItemPaddingBottom:e.padding*1.25,timeLineItemHeadSize:10,timeLineItemCustomHeadPaddingVertical:e.paddingXXS,timeLinePaddingInlineEnd:2,timeLineItemTailWidth:e.lineWidthBold,timeLineHeadBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3});return[bFe(t)]}),xFe=()=>({prefixCls:String,pending:U.any,pendingDot:U.any,reverse:$e(),mode:U.oneOf(Ar("left","alternate","right",""))}),ug=se({compatConfig:{MODE:3},name:"ATimeline",inheritAttrs:!1,props:ft(xFe(),{reverse:!1,mode:""}),slots:Object,setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("timeline",e),[a,l]=SFe(i),s=(u,c)=>{const d=u.props||{};return e.mode==="alternate"?d.position==="right"?`${i.value}-item-right`:d.position==="left"?`${i.value}-item-left`:c%2===0?`${i.value}-item-left`:`${i.value}-item-right`:e.mode==="left"?`${i.value}-item-left`:e.mode==="right"?`${i.value}-item-right`:d.position==="right"?`${i.value}-item-right`:""};return()=>{var u,c,d;const{pending:f=(u=n.pending)===null||u===void 0?void 0:u.call(n),pendingDot:h=(c=n.pendingDot)===null||c===void 0?void 0:c.call(n),reverse:v,mode:p}=e,g=typeof f=="boolean"?null:f,m=xn((d=n.default)===null||d===void 0?void 0:d.call(n)),y=f?w(tm,{pending:!!f,dot:h||w(no,null,null)},{default:()=>[g]}):null;y&&m.push(y);const b=v?m.reverse():m,S=b.length,x=`${i.value}-item-last`,$=b.map((I,P)=>{const M=P===S-2?x:"",O=P===S-1?x:"";return cr(I,{class:ce([!v&&f?M:O,s(I,P)])})}),C=b.some(I=>{var P,M;return!!(!((P=I.props)===null||P===void 0)&&P.label||!((M=I.children)===null||M===void 0)&&M.label)}),T=ce(i.value,{[`${i.value}-pending`]:!!f,[`${i.value}-reverse`]:!!v,[`${i.value}-${p}`]:!!p&&!C,[`${i.value}-label`]:C,[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value);return a(w("ul",z(z({},r),{},{class:T}),[$]))}}});ug.Item=tm;ug.install=function(e){return e.component(ug.name,ug),e.component(tm.name,tm),e};var wFe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};const CFe=wFe;function JB(e){for(var t=1;t{const{sizeMarginHeadingVerticalEnd:i,fontWeightStrong:o}=r;return{marginBottom:i,color:n,fontWeight:o,fontSize:e,lineHeight:t}},IFe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` h${r}&, div&-h${r}, div&-h${r} > textarea, h${r} - `]=_Fe(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},IFe=e=>{const{componentCls:t}=e;return{"a&, a":_(_({},rw(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},PFe=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Cve[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),MFe=e=>{const{componentCls:t}=e,r=Fd(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-r,marginBottom:`calc(1em - ${r}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},AFe=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),OFe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),DFe=e=>{const{componentCls:t,sizeMarginHeadingVerticalStart:n}=e;return{[t]:_(_(_(_(_(_(_(_(_({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},TFe(e)),{[` + `]=TFe(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},PFe=e=>{const{componentCls:t}=e;return{"a&, a":_(_({},rw(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},MFe=()=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:$ve[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),AFe=e=>{const{componentCls:t}=e,r=zd(e).inputPaddingVertical+1;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-r,marginBottom:`calc(1em - ${r}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},OFe=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),DFe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),EFe=e=>{const{componentCls:t,sizeMarginHeadingVerticalStart:n}=e;return{[t]:_(_(_(_(_(_(_(_(_({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},IFe(e)),{[` & + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t} - `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),PFe()),IFe(e)),{[` + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),MFe()),PFe(e)),{[` ${t}-expand, ${t}-edit, ${t}-copy - `]:_(_({},rw(e)),{marginInlineStart:e.marginXXS})}),MFe(e)),AFe(e)),OFe()),{"&-rtl":{direction:"rtl"}})}},BJ=it("Typography",e=>[DFe(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),EFe=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),RFe=se({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:EFe(),setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o}=ja(e),a=Bt({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});Se(()=>e.value,y=>{a.current=y});const l=ue();tt(()=>{var y;if(l.value){const b=(y=l.value)===null||y===void 0?void 0:y.resizableTextArea,S=b==null?void 0:b.textArea;S.focus();const{length:x}=S.value;S.setSelectionRange(x,x)}});function s(y){l.value=y}function u(y){let{target:{value:b}}=y;a.current=b.replace(/[\r\n]/g,""),n("change",a.current)}function c(){a.inComposition=!0}function d(){a.inComposition=!1}function f(y){const{keyCode:b}=y;b===Pe.ENTER&&y.preventDefault(),!a.inComposition&&(a.lastKeyCode=b)}function h(y){const{keyCode:b,ctrlKey:S,altKey:x,metaKey:$,shiftKey:C}=y;a.lastKeyCode===b&&!a.inComposition&&!S&&!x&&!$&&!C&&(b===Pe.ENTER?(p(),n("end")):b===Pe.ESC&&(a.current=e.originContent,n("cancel")))}function v(){p()}function p(){n("save",a.current.trim())}const[g,m]=BJ(o);return()=>{const y=ce({[`${o.value}`]:!0,[`${o.value}-edit-content`]:!0,[`${o.value}-rtl`]:e.direction==="rtl",[e.component?`${o.value}-${e.component}`:""]:!0},i.class,m.value);return g(w("div",z(z({},i),{},{class:y}),[w(JE,{ref:s,maxlength:e.maxlength,value:a.current,onChange:u,onKeydown:f,onKeyup:h,onCompositionstart:c,onCompositionend:d,onBlur:v,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),r.enterIcon?r.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):w($Fe,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),LFe=RFe,NFe=3,kFe=8;let xi;const P_={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function FJ(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),r=R0e(n);e.setAttribute("style",r),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function BFe(e){const t=document.createElement("div");FJ(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const FFe=(e,t,n,r,i)=>{xi||(xi=document.createElement("div"),xi.setAttribute("aria-hidden","true"),document.body.appendChild(xi));const{rows:o,suffix:a=""}=t,l=BFe(e),s=Math.round(l*o*100)/100;FJ(xi,e);const u=nK({render(){return w("div",{style:P_},[w("span",{style:P_},[n,a]),w("span",{style:P_},[r])])}});u.mount(xi);function c(){return Math.round(xi.getBoundingClientRect().height*100)/100-.1<=s}if(c())return u.unmount(),{content:n,text:xi.innerHTML,ellipsis:!1};const d=Array.prototype.slice.apply(xi.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(b=>{let{nodeType:S,data:x}=b;return S!==kFe&&x!==""}),f=Array.prototype.slice.apply(xi.childNodes[0].childNodes[1].cloneNode(!0).childNodes);u.unmount();const h=[];xi.innerHTML="";const v=document.createElement("span");xi.appendChild(v);const p=document.createTextNode(i+a);v.appendChild(p),f.forEach(b=>{xi.appendChild(b)});function g(b){v.insertBefore(b,p)}function m(b,S){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:S.length,C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const T=Math.floor((x+$)/2),I=S.slice(0,T);if(b.textContent=I,x>=$-1)for(let P=$;P>=x;P-=1){const M=S.slice(0,P);if(b.textContent=M,c()||!M)return P===S.length?{finished:!1,vNode:S}:{finished:!0,vNode:M}}return c()?m(b,S,T,$,T):m(b,S,x,T,C)}function y(b){if(b.nodeType===NFe){const x=b.textContent||"",$=document.createTextNode(x);return g($),m($,x)}return{finished:!1,vNode:null}}return d.some(b=>{const{finished:S,vNode:x}=y(b);return x&&h.push(x),S}),{content:h,text:xi.innerHTML,ellipsis:!0}};var zFe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,direction:String,component:String}),VFe=se({name:"ATypography",inheritAttrs:!1,props:HFe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("typography",e),[a,l]=BJ(i);return()=>{var s;const u=_(_({},e),r),{prefixCls:c,direction:d,component:f="article"}=u,h=zFe(u,["prefixCls","direction","component"]);return a(w(f,z(z({},h),{},{class:ce(i.value,{[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value)}),{default:()=>[(s=n.default)===null||s===void 0?void 0:s.call(n)]}))}}}),$i=VFe,WFe=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let r=0;r({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),oze=se({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:ny(),setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee("typography",e),l=Bt({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),s=ue(),u=ue(),c=L(()=>{const A=e.ellipsis;return A?_({rows:1,expandable:!1},typeof A=="object"?A:null):{}});tt(()=>{l.clientRendered=!0,T()}),ht(()=>{clearTimeout(l.copyId),dt.cancel(l.rafId)}),Se([()=>c.value.rows,()=>e.content],()=>{_t(()=>{$()})},{flush:"post",deep:!0}),Ye(()=>{e.content===void 0&&(vn(!e.editable),vn(!e.ellipsis))});function d(){var A;return e.ellipsis||e.editable?e.content:(A=ci(s.value))===null||A===void 0?void 0:A.innerText}function f(A){const{onExpand:E}=c.value;l.expanded=!0,E==null||E(A)}function h(A){A.preventDefault(),l.originContent=e.content,x(!0)}function v(A){p(A),x(!1)}function p(A){const{onChange:E}=y.value;A!==e.content&&(i("update:content",A),E==null||E(A))}function g(){var A,E;(E=(A=y.value).onCancel)===null||E===void 0||E.call(A),x(!1)}function m(A){A.preventDefault(),A.stopPropagation();const{copyable:E}=e,k=_({},typeof E=="object"?E:null);k.text===void 0&&(k.text=d()),UFe(k.text||""),l.copied=!0,_t(()=>{k.onCopy&&k.onCopy(A),l.copyId=setTimeout(()=>{l.copied=!1},3e3)})}const y=L(()=>{const A=e.editable;return A?_({},typeof A=="object"?A:null):{editing:!1}}),[b,S]=dn(!1,{value:L(()=>y.value.editing)});function x(A){const{onStart:E}=y.value;A&&E&&E(),S(A)}Se(b,A=>{var E;A||(E=u.value)===null||E===void 0||E.focus()},{flush:"post"});function $(A){if(A){const{width:E,height:k}=A;if(!E||!k)return}dt.cancel(l.rafId),l.rafId=dt(()=>{T()})}const C=L(()=>{const{rows:A,expandable:E,suffix:k,onEllipsis:N,tooltip:B}=c.value;return k||B||e.editable||e.copyable||E||N?!1:A===1?ize:rze}),T=()=>{const{ellipsisText:A,isEllipsis:E}=l,{rows:k,suffix:N,onEllipsis:B}=c.value;if(!k||k<0||!ci(s.value)||l.expanded||e.content===void 0||C.value)return;const{content:F,text:H,ellipsis:V}=FFe(ci(s.value),{rows:k,suffix:N},e.content,R(!0),r7);(A!==H||l.isEllipsis!==V)&&(l.ellipsisText=H,l.ellipsisContent=F,l.isEllipsis=V,E!==V&&B&&B(V))};function I(A,E){let{mark:k,code:N,underline:B,delete:F,strong:H,keyboard:V}=A,X=E;function Q(K,te){if(!K)return;const q=function(){return X}();X=w(te,null,{default:()=>[q]})}return Q(H,"strong"),Q(B,"u"),Q(F,"del"),Q(N,"code"),Q(k,"mark"),Q(V,"kbd"),X}function P(A){const{expandable:E,symbol:k}=c.value;if(!E||!A&&(l.expanded||!l.isEllipsis))return null;const N=(n.ellipsisSymbol?n.ellipsisSymbol():k)||l.expandStr;return w("a",{key:"expand",class:`${o.value}-expand`,onClick:f,"aria-label":l.expandStr},[N])}function M(){if(!e.editable)return;const{tooltip:A,triggerType:E=["icon"]}=e.editable,k=n.editableIcon?n.editableIcon():w(tze,{role:"button"},null),N=n.editableTooltip?n.editableTooltip():l.editStr,B=typeof N=="string"?N:"";return E.indexOf("icon")!==-1?w(Pi,{key:"edit",title:A===!1?"":N},{default:()=>[w(OS,{ref:u,class:`${o.value}-edit`,onClick:h,"aria-label":B},{default:()=>[k]})]}):null}function O(){if(!e.copyable)return;const{tooltip:A}=e.copyable,E=l.copied?l.copiedStr:l.copyStr,k=n.copyableTooltip?n.copyableTooltip({copied:l.copied}):E,N=typeof k=="string"?k:"",B=l.copied?w(Sw,null,null):w(ZFe,null,null),F=n.copyableIcon?n.copyableIcon({copied:!!l.copied}):B;return w(Pi,{key:"copy",title:A===!1?"":k},{default:()=>[w(OS,{class:[`${o.value}-copy`,{[`${o.value}-copy-success`]:l.copied}],onClick:m,"aria-label":N},{default:()=>[F]})]})}function D(){const{class:A,style:E}=r,{maxlength:k,autoSize:N,onEnd:B}=y.value;return w(LFe,{class:A,style:E,prefixCls:o.value,value:e.content,originContent:l.originContent,maxlength:k,autoSize:N,onSave:v,onChange:p,onCancel:g,onEnd:B,direction:a.value,component:e.component},{enterIcon:n.editableEnterIcon})}function R(A){return[P(A),M(),O()].filter(E=>E)}return()=>{var A;const{triggerType:E=["icon"]}=y.value,k=e.ellipsis||e.editable?e.content!==void 0?e.content:(A=n.default)===null||A===void 0?void 0:A.call(n):n.default?n.default():e.content;return b.value?D():w(Md,{componentName:"Text",children:N=>{const B=_(_({},e),r),{type:F,disabled:H,content:V,class:X,style:Q}=B,K=nze(B,["type","disabled","content","class","style"]),{rows:te,suffix:q,tooltip:ee}=c.value,{edit:J,copy:G,copied:Y,expand:oe}=N;l.editStr=J,l.copyStr=G,l.copiedStr=Y,l.expandStr=oe;const W=yt(K,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),Z=C.value,ne=te===1&&Z,re=te&&te>1&&Z;let le=k,ie;if(te&&l.isEllipsis&&!l.expanded&&!Z){const{title:me}=K;let he=me||"";!me&&(typeof k=="string"||typeof k=="number")&&(he=String(k)),he=he==null?void 0:he.slice(String(l.ellipsisContent||"").length),le=w(Qe,null,[mt(l.ellipsisContent),w("span",{title:he,"aria-hidden":"true"},[r7]),q])}else le=w(Qe,null,[k,q]);le=I(e,le);const de=ee&&te&&l.isEllipsis&&!l.expanded&&!Z,pe=n.ellipsisTooltip?n.ellipsisTooltip():ee;return w(Mo,{onResize:$,disabled:!te},{default:()=>[w($i,z({ref:s,class:[{[`${o.value}-${F}`]:F,[`${o.value}-disabled`]:H,[`${o.value}-ellipsis`]:te,[`${o.value}-single-line`]:te===1&&!l.isEllipsis,[`${o.value}-ellipsis-single-line`]:ne,[`${o.value}-ellipsis-multiple-line`]:re},X],style:_(_({},Q),{WebkitLineClamp:re?te:void 0}),"aria-label":ie,direction:a.value,onClick:E.indexOf("text")!==-1?h:()=>{}},W),{default:()=>[de?w(Pi,{title:ee===!0?k:pe},{default:()=>[w("span",null,[le])]}):le,R()]})]})}},null)}}}),ry=oze;var aze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iyt(_(_({},ny()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),oC=(e,t)=>{let{slots:n,attrs:r}=t;const i=_(_({},e),r),{ellipsis:o,rel:a}=i,l=aze(i,["ellipsis","rel"]);vn();const s=_(_({},l),{rel:a===void 0&&l.target==="_blank"?"noopener noreferrer":a,ellipsis:!!o,component:"a"});return delete s.navigate,w(ry,s,n)};oC.displayName="ATypographyLink";oC.inheritAttrs=!1;oC.props=lze();const j3=oC,sze=()=>yt(ny(),["component"]),aC=(e,t)=>{let{slots:n,attrs:r}=t;const i=_(_(_({},e),{component:"div"}),r);return w(ry,i,n)};aC.displayName="ATypographyParagraph";aC.inheritAttrs=!1;aC.props=sze();const G3=aC,uze=()=>_(_({},yt(ny(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),lC=(e,t)=>{let{slots:n,attrs:r}=t;const{ellipsis:i}=e;vn();const o=_(_(_({},e),{ellipsis:i&&typeof i=="object"?yt(i,["expandable","rows"]):i,component:"span"}),r);return w(ry,o,n)};lC.displayName="ATypographyText";lC.inheritAttrs=!1;lC.props=uze();const K3=lC;var cze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},yt(ny(),["component","strong"])),{level:Number}),sC=(e,t)=>{let{slots:n,attrs:r}=t;const{level:i=1}=e,o=cze(e,["level"]);let a;dze.includes(i)?a=`h${i}`:(vn(),a="h1");const l=_(_(_({},o),{component:a}),r);return w(ry,l,n)};sC.displayName="ATypographyTitle";sC.inheritAttrs=!1;sC.props=fze();const U3=sC;$i.Text=K3;$i.Title=U3;$i.Paragraph=G3;$i.Link=j3;$i.Base=ry;$i.install=function(e){return e.component($i.name,$i),e.component($i.Text.displayName,K3),e.component($i.Title.displayName,U3),e.component($i.Paragraph.displayName,G3),e.component($i.Link.displayName,j3),e};function hze(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function i7(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function vze(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});const n=new FormData;e.data&&Object.keys(e.data).forEach(i=>{const o=e.data[i];if(Array.isArray(o)){o.forEach(a=>{n.append(`${i}[]`,a)});return}n.append(i,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(hze(e,t),i7(t)):e.onSuccess(i7(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(i=>{r[i]!==null&&t.setRequestHeader(i,r[i])}),t.send(n),{abort(){t.abort()}}}const pze=+new Date;let gze=0;function M_(){return`vc-upload-${pze}-${++gze}`}const A_=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some(a=>{const l=a.trim();if(/^\*(\/\*)?$/.test(a))return!0;if(l.charAt(0)==="."){const s=r.toLowerCase(),u=l.toLowerCase();let c=[u];return(u===".jpg"||u===".jpeg")&&(c=[".jpg",".jpeg"]),c.some(d=>s.endsWith(d))}return/\/\*$/.test(l)?o===l.replace(/\/.*$/,""):!!(i===l||/^\w+$/.test(l))})}return!0};function mze(e,t){const n=e.createReader();let r=[];function i(){n.readEntries(o=>{const a=Array.prototype.slice.apply(o);r=r.concat(a),!a.length?t(r):i()})}i()}const yze=(e,t,n)=>{const r=(i,o)=>{i.path=o||"",i.isFile?i.file(a=>{n(a)&&(i.fullPath&&!a.webkitRelativePath&&(Object.defineProperties(a,{webkitRelativePath:{writable:!0}}),a.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(a,{webkitRelativePath:{writable:!1}})),t([a]))}):i.isDirectory&&mze(i,a=>{a.forEach(l=>{r(l,`${o}${i.name}/`)})})};e.forEach(i=>{r(i.webkitGetAsEntry())})},bze=yze,zJ=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var Sze=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},xze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iSze(this,void 0,void 0,function*(){const{beforeUpload:S}=e;let x=y;if(S){try{x=yield S(y,b)}catch(D){x=!1}if(x===!1)return{origin:y,parsedFile:null,action:null,data:null}}const{action:$}=e;let C;typeof $=="function"?C=yield $(y):C=$;const{data:T}=e;let I;typeof T=="function"?I=yield T(y):I=T;const P=(typeof x=="object"||typeof x=="string")&&x?x:y;let M;P instanceof File?M=P:M=new File([P],y.name,{type:y.type});const O=M;return O.uid=y.uid,{origin:y,data:I,parsedFile:O,action:C}}),c=y=>{let{data:b,origin:S,action:x,parsedFile:$}=y;if(!s)return;const{onStart:C,customRequest:T,name:I,headers:P,withCredentials:M,method:O}=e,{uid:D}=S,R=T||vze,A={action:x,filename:I,data:b,file:$,headers:P,withCredentials:M,method:O||"post",onProgress:E=>{const{onProgress:k}=e;k==null||k(E,$)},onSuccess:(E,k)=>{const{onSuccess:N}=e;N==null||N(E,$,k),delete a[D]},onError:(E,k)=>{const{onError:N}=e;N==null||N(E,k,$),delete a[D]}};C(S),a[D]=R(A)},d=()=>{o.value=M_()},f=y=>{if(y){const b=y.uid?y.uid:y;a[b]&&a[b].abort&&a[b].abort(),delete a[b]}else Object.keys(a).forEach(b=>{a[b]&&a[b].abort&&a[b].abort(),delete a[b]})};tt(()=>{s=!0}),ht(()=>{s=!1,f()});const h=y=>{const b=[...y],S=b.map(x=>(x.uid=M_(),u(x,b)));Promise.all(S).then(x=>{const{onBatchStart:$}=e;$==null||$(x.map(C=>{let{origin:T,parsedFile:I}=C;return{file:T,parsedFile:I}})),x.filter(C=>C.parsedFile!==null).forEach(C=>{c(C)})})},v=y=>{const{accept:b,directory:S}=e,{files:x}=y.target,$=[...x].filter(C=>!S||A_(C,b));h($),d()},p=y=>{const b=l.value;if(!b)return;const{onClick:S}=e;b.click(),S&&S(y)},g=y=>{y.key==="Enter"&&p(y)},m=y=>{const{multiple:b}=e;if(y.preventDefault(),y.type!=="dragover")if(e.directory)bze(Array.prototype.slice.call(y.dataTransfer.items),h,S=>A_(S,e.accept));else{const S=wCe(Array.prototype.slice.call(y.dataTransfer.files),C=>A_(C,e.accept));let x=S[0];const $=S[1];b===!1&&(x=x.slice(0,1)),h(x),$.length&&e.onReject&&e.onReject($)}};return i({abort:f}),()=>{var y;const{componentTag:b,prefixCls:S,disabled:x,id:$,multiple:C,accept:T,capture:I,directory:P,openFileDialogOnClick:M,onMouseenter:O,onMouseleave:D}=e,R=xze(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),A={[S]:!0,[`${S}-disabled`]:x,[r.class]:!!r.class},E=P?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return w(b,z(z({},x?{}:{onClick:M?p:()=>{},onKeydown:M?g:()=>{},onMouseenter:O,onMouseleave:D,onDrop:m,onDragover:m,tabindex:"0"}),{},{class:A,role:"button",style:r.style}),{default:()=>[w("input",z(z(z({},Mu(R,{aria:!0,data:!0})),{},{id:$,type:"file",ref:l,onClick:N=>N.stopPropagation(),onCancel:N=>N.stopPropagation(),key:o.value,style:{display:"none"},accept:T},E),{},{multiple:C,onChange:v},I!=null?{capture:I}:{}),null),(y=n.default)===null||y===void 0?void 0:y.call(n)]})}}});function O_(){}const o7=se({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:ft(zJ(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:O_,onError:O_,onSuccess:O_,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ue();return i({abort:l=>{var s;(s=o.value)===null||s===void 0||s.abort(l)}}),()=>w(wze,z(z(z({},e),r),{},{ref:o}),n)}});var Cze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const $ze=Cze;function a7(e){for(var t=1;t{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function D_(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function Nze(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const kze=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},VJ=e=>e.indexOf("image/")===0,Bze=e=>{if(e.type&&!e.thumbUrl)return VJ(e.type);const t=e.thumbUrl||e.url||"",n=kze(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Ss=200;function Fze(e){return new Promise(t=>{if(!e.type||!VJ(e.type)){t("");return}const n=document.createElement("canvas");n.width=Ss,n.height=Ss,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ss}px; height: ${Ss}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let l=Ss,s=Ss,u=0,c=0;o>a?(s=a*(Ss/o),c=-(s-l)/2):(l=o*(Ss/a),u=-(l-s)/2),r.drawImage(i,u,c,l,s);const d=n.toDataURL();document.body.removeChild(n),t(d)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.addEventListener("load",()=>{o.result&&(i.src=o.result)}),o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var zze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const Hze=zze;function u7(e){for(var t=1;t({prefixCls:String,locale:He(void 0),file:He(),items:Ot(),listType:je(),isImgUrl:be(),showRemoveIcon:$e(),showDownloadIcon:$e(),showPreviewIcon:$e(),removeIcon:be(),downloadIcon:be(),previewIcon:be(),iconRender:be(),actionIconRender:be(),itemRender:be(),onPreview:be(),onClose:be(),onDownload:be(),progress:He()}),Gze=se({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:jze(),setup(e,t){let{slots:n,attrs:r}=t;var i;const o=ae(!1),a=ae();tt(()=>{a.value=setTimeout(()=>{o.value=!0},300)}),ht(()=>{clearTimeout(a.value)});const l=ae((i=e.file)===null||i===void 0?void 0:i.status);Se(()=>{var c;return(c=e.file)===null||c===void 0?void 0:c.status},c=>{c!=="removed"&&(l.value=c)});const{rootPrefixCls:s}=Ee("upload",e),u=L(()=>Do(`${s.value}-fade`));return()=>{var c,d;const{prefixCls:f,locale:h,listType:v,file:p,items:g,progress:m,iconRender:y=n.iconRender,actionIconRender:b=n.actionIconRender,itemRender:S=n.itemRender,isImgUrl:x,showPreviewIcon:$,showRemoveIcon:C,showDownloadIcon:T,previewIcon:I=n.previewIcon,removeIcon:P=n.removeIcon,downloadIcon:M=n.downloadIcon,onPreview:O,onDownload:D,onClose:R}=e,{class:A,style:E}=r,k=y({file:p});let N=w("div",{class:`${f}-text-icon`},[k]);if(v==="picture"||v==="picture-card")if(l.value==="uploading"||!p.thumbUrl&&!p.url){const W={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:l.value!=="uploading"};N=w("div",{class:W},[k])}else{const W=x!=null&&x(p)?w("img",{src:p.thumbUrl||p.url,alt:p.name,class:`${f}-list-item-image`,crossorigin:p.crossOrigin},null):k,Z={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:x&&!x(p)};N=w("a",{class:Z,onClick:ne=>O(p,ne),href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[W])}const B={[`${f}-list-item`]:!0,[`${f}-list-item-${l.value}`]:!0},F=typeof p.linkProps=="string"?JSON.parse(p.linkProps):p.linkProps,H=C?b({customIcon:P?P({file:p}):w(RJ,null,null),callback:()=>R(p),prefixCls:f,title:h.removeFile}):null,V=T&&l.value==="done"?b({customIcon:M?M({file:p}):w(Wze,null,null),callback:()=>D(p),prefixCls:f,title:h.downloadFile}):null,X=v!=="picture-card"&&w("span",{key:"download-delete",class:[`${f}-list-item-actions`,{picture:v==="picture"}]},[V,H]),Q=`${f}-list-item-name`,K=p.url?[w("a",z(z({key:"view",target:"_blank",rel:"noopener noreferrer",class:Q,title:p.name},F),{},{href:p.url,onClick:W=>O(p,W)}),[p.name]),X]:[w("span",{key:"view",class:Q,onClick:W=>O(p,W),title:p.name},[p.name]),X],te={pointerEvents:"none",opacity:.5},q=$?w("a",{href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:p.url||p.thumbUrl?void 0:te,onClick:W=>O(p,W),title:h.previewFile},[I?I({file:p}):w(t3,null,null)]):null,ee=v==="picture-card"&&l.value!=="uploading"&&w("span",{class:`${f}-list-item-actions`},[q,l.value==="done"&&V,H]),J=w("div",{class:B},[N,K,ee,o.value&&w(dr,u.value,{default:()=>[Ur(w("div",{class:`${f}-list-item-progress`},["percent"in p?w(S3,z(z({},m),{},{type:"line",percent:p.percent}),null):null]),[[hi,l.value==="uploading"]])]})]),G={[`${f}-list-item-container`]:!0,[`${A}`]:!!A},Y=p.response&&typeof p.response=="string"?p.response:((c=p.error)===null||c===void 0?void 0:c.statusText)||((d=p.error)===null||d===void 0?void 0:d.message)||h.uploadError,oe=l.value==="error"?w(Pi,{title:Y,getPopupContainer:W=>W.parentNode},{default:()=>[J]}):J;return w("div",{class:G,style:E},[S?S({originNode:oe,file:p,fileList:g,actions:{download:D.bind(null,p),preview:O.bind(null,p),remove:R.bind(null,p)}}):oe])}}}),Kze=(e,t)=>{let{slots:n}=t;var r;return xn((r=n.default)===null||r===void 0?void 0:r.call(n))[0]},Uze=se({compatConfig:{MODE:3},name:"AUploadList",props:ft(Lze(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:Fze,isImageUrl:Bze,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:r}=t;const i=ae(!1);tt(()=>{i.value==!0});const o=ae([]);Se(()=>e.items,function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.value=p.slice()},{immediate:!0,deep:!0}),Ye(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let p=!1;(e.items||[]).forEach((g,m)=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(g.originFileObj instanceof File||g.originFileObj instanceof Blob)||g.thumbUrl!==void 0||(g.thumbUrl="",e.previewFile&&e.previewFile(g.originFileObj).then(y=>{const b=y||"";b!==g.thumbUrl&&(o.value[m].thumbUrl=b,p=!0)}))}),p&&tG(o)});const a=(p,g)=>{if(e.onPreview)return g==null||g.preventDefault(),e.onPreview(p)},l=p=>{typeof e.onDownload=="function"?e.onDownload(p):p.url&&window.open(p.url)},s=p=>{var g;(g=e.onRemove)===null||g===void 0||g.call(e,p)},u=p=>{let{file:g}=p;const m=e.iconRender||n.iconRender;if(m)return m({file:g,listType:e.listType});const y=g.status==="uploading",b=e.isImageUrl&&e.isImageUrl(g)?w(Aze,null,null):w(Rze,null,null);let S=w(y?to:Tze,null,null);return e.listType==="picture"?S=y?w(to,null,null):b:e.listType==="picture-card"&&(S=y?e.locale.uploading:b),S},c=p=>{const{customIcon:g,callback:m,prefixCls:y,title:b}=p,S={type:"text",size:"small",title:b,onClick:()=>{m()},class:`${y}-list-item-action`};return zn(g)?w(An,S,{icon:()=>g}):w(An,S,{default:()=>[w("span",null,[g])]})};r({handlePreview:a,handleDownload:l});const{prefixCls:d,rootPrefixCls:f}=Ee("upload",e),h=L(()=>({[`${d.value}-list`]:!0,[`${d.value}-list-${e.listType}`]:!0})),v=L(()=>{const p=_({},Gm(`${f.value}-motion-collapse`));delete p.onAfterAppear,delete p.onAfterEnter,delete p.onAfterLeave;const g=_(_({},vw(`${d.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:h.value,appear:i.value});return e.listType!=="picture-card"?_(_({},p),g):g});return()=>{const{listType:p,locale:g,isImageUrl:m,showPreviewIcon:y,showRemoveIcon:b,showDownloadIcon:S,removeIcon:x,previewIcon:$,downloadIcon:C,progress:T,appendAction:I,itemRender:P,appendActionVisible:M}=e,O=I==null?void 0:I(),D=o.value;return w(Kx,z(z({},v.value),{},{tag:"div"}),{default:()=>[D.map(R=>{const{uid:A}=R;return w(Gze,{key:A,locale:g,prefixCls:d.value,file:R,items:D,progress:T,listType:p,isImgUrl:m,showPreviewIcon:y,showRemoveIcon:b,showDownloadIcon:S,onPreview:a,onDownload:l,onClose:s,removeIcon:x,previewIcon:$,downloadIcon:C,itemRender:P},_(_({},n),{iconRender:u,actionIconRender:c}))}),I?Ur(w(Kze,{key:"__ant_upload_appendAction"},{default:()=>O}),[[hi,!!M]]):null]})}}}),Xze=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n}, + `]:_(_({},rw(e)),{marginInlineStart:e.marginXXS})}),AFe(e)),OFe(e)),DFe()),{"&-rtl":{direction:"rtl"}})}},BJ=it("Typography",e=>[EFe(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),RFe=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),LFe=se({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:RFe(),setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o}=Ga(e),a=Bt({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});Se(()=>e.value,y=>{a.current=y});const l=ue();tt(()=>{var y;if(l.value){const b=(y=l.value)===null||y===void 0?void 0:y.resizableTextArea,S=b==null?void 0:b.textArea;S.focus();const{length:x}=S.value;S.setSelectionRange(x,x)}});function s(y){l.value=y}function u(y){let{target:{value:b}}=y;a.current=b.replace(/[\r\n]/g,""),n("change",a.current)}function c(){a.inComposition=!0}function d(){a.inComposition=!1}function f(y){const{keyCode:b}=y;b===Pe.ENTER&&y.preventDefault(),!a.inComposition&&(a.lastKeyCode=b)}function h(y){const{keyCode:b,ctrlKey:S,altKey:x,metaKey:$,shiftKey:C}=y;a.lastKeyCode===b&&!a.inComposition&&!S&&!x&&!$&&!C&&(b===Pe.ENTER?(p(),n("end")):b===Pe.ESC&&(a.current=e.originContent,n("cancel")))}function v(){p()}function p(){n("save",a.current.trim())}const[g,m]=BJ(o);return()=>{const y=ce({[`${o.value}`]:!0,[`${o.value}-edit-content`]:!0,[`${o.value}-rtl`]:e.direction==="rtl",[e.component?`${o.value}-${e.component}`:""]:!0},i.class,m.value);return g(w("div",z(z({},i),{},{class:y}),[w(JE,{ref:s,maxlength:e.maxlength,value:a.current,onChange:u,onKeydown:f,onKeyup:h,onCompositionstart:c,onCompositionend:d,onBlur:v,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),r.enterIcon?r.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):w(_Fe,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),NFe=LFe,kFe=3,BFe=8;let wi;const P_={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function FJ(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),r=L0e(n);e.setAttribute("style",r),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function FFe(e){const t=document.createElement("div");FJ(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const zFe=(e,t,n,r,i)=>{wi||(wi=document.createElement("div"),wi.setAttribute("aria-hidden","true"),document.body.appendChild(wi));const{rows:o,suffix:a=""}=t,l=FFe(e),s=Math.round(l*o*100)/100;FJ(wi,e);const u=nK({render(){return w("div",{style:P_},[w("span",{style:P_},[n,a]),w("span",{style:P_},[r])])}});u.mount(wi);function c(){return Math.round(wi.getBoundingClientRect().height*100)/100-.1<=s}if(c())return u.unmount(),{content:n,text:wi.innerHTML,ellipsis:!1};const d=Array.prototype.slice.apply(wi.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(b=>{let{nodeType:S,data:x}=b;return S!==BFe&&x!==""}),f=Array.prototype.slice.apply(wi.childNodes[0].childNodes[1].cloneNode(!0).childNodes);u.unmount();const h=[];wi.innerHTML="";const v=document.createElement("span");wi.appendChild(v);const p=document.createTextNode(i+a);v.appendChild(p),f.forEach(b=>{wi.appendChild(b)});function g(b){v.insertBefore(b,p)}function m(b,S){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:S.length,C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const T=Math.floor((x+$)/2),I=S.slice(0,T);if(b.textContent=I,x>=$-1)for(let P=$;P>=x;P-=1){const M=S.slice(0,P);if(b.textContent=M,c()||!M)return P===S.length?{finished:!1,vNode:S}:{finished:!0,vNode:M}}return c()?m(b,S,T,$,T):m(b,S,x,T,C)}function y(b){if(b.nodeType===kFe){const x=b.textContent||"",$=document.createTextNode(x);return g($),m($,x)}return{finished:!1,vNode:null}}return d.some(b=>{const{finished:S,vNode:x}=y(b);return x&&h.push(x),S}),{content:h,text:wi.innerHTML,ellipsis:!0}};var HFe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({prefixCls:String,direction:String,component:String}),WFe=se({name:"ATypography",inheritAttrs:!1,props:VFe(),setup(e,t){let{slots:n,attrs:r}=t;const{prefixCls:i,direction:o}=Ee("typography",e),[a,l]=BJ(i);return()=>{var s;const u=_(_({},e),r),{prefixCls:c,direction:d,component:f="article"}=u,h=HFe(u,["prefixCls","direction","component"]);return a(w(f,z(z({},h),{},{class:ce(i.value,{[`${i.value}-rtl`]:o.value==="rtl"},r.class,l.value)}),{default:()=>[(s=n.default)===null||s===void 0?void 0:s.call(n)]}))}}}),_i=WFe,jFe=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let r=0;r({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),aze=se({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:ny(),setup(e,t){let{slots:n,attrs:r,emit:i}=t;const{prefixCls:o,direction:a}=Ee("typography",e),l=Bt({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),s=ue(),u=ue(),c=L(()=>{const A=e.ellipsis;return A?_({rows:1,expandable:!1},typeof A=="object"?A:null):{}});tt(()=>{l.clientRendered=!0,T()}),ht(()=>{clearTimeout(l.copyId),dt.cancel(l.rafId)}),Se([()=>c.value.rows,()=>e.content],()=>{_t(()=>{$()})},{flush:"post",deep:!0}),Ye(()=>{e.content===void 0&&(vn(!e.editable),vn(!e.ellipsis))});function d(){var A;return e.ellipsis||e.editable?e.content:(A=ci(s.value))===null||A===void 0?void 0:A.innerText}function f(A){const{onExpand:E}=c.value;l.expanded=!0,E==null||E(A)}function h(A){A.preventDefault(),l.originContent=e.content,x(!0)}function v(A){p(A),x(!1)}function p(A){const{onChange:E}=y.value;A!==e.content&&(i("update:content",A),E==null||E(A))}function g(){var A,E;(E=(A=y.value).onCancel)===null||E===void 0||E.call(A),x(!1)}function m(A){A.preventDefault(),A.stopPropagation();const{copyable:E}=e,k=_({},typeof E=="object"?E:null);k.text===void 0&&(k.text=d()),XFe(k.text||""),l.copied=!0,_t(()=>{k.onCopy&&k.onCopy(A),l.copyId=setTimeout(()=>{l.copied=!1},3e3)})}const y=L(()=>{const A=e.editable;return A?_({},typeof A=="object"?A:null):{editing:!1}}),[b,S]=dn(!1,{value:L(()=>y.value.editing)});function x(A){const{onStart:E}=y.value;A&&E&&E(),S(A)}Se(b,A=>{var E;A||(E=u.value)===null||E===void 0||E.focus()},{flush:"post"});function $(A){if(A){const{width:E,height:k}=A;if(!E||!k)return}dt.cancel(l.rafId),l.rafId=dt(()=>{T()})}const C=L(()=>{const{rows:A,expandable:E,suffix:k,onEllipsis:N,tooltip:B}=c.value;return k||B||e.editable||e.copyable||E||N?!1:A===1?oze:ize}),T=()=>{const{ellipsisText:A,isEllipsis:E}=l,{rows:k,suffix:N,onEllipsis:B}=c.value;if(!k||k<0||!ci(s.value)||l.expanded||e.content===void 0||C.value)return;const{content:F,text:H,ellipsis:V}=zFe(ci(s.value),{rows:k,suffix:N},e.content,R(!0),r7);(A!==H||l.isEllipsis!==V)&&(l.ellipsisText=H,l.ellipsisContent=F,l.isEllipsis=V,E!==V&&B&&B(V))};function I(A,E){let{mark:k,code:N,underline:B,delete:F,strong:H,keyboard:V}=A,X=E;function Q(K,te){if(!K)return;const q=function(){return X}();X=w(te,null,{default:()=>[q]})}return Q(H,"strong"),Q(B,"u"),Q(F,"del"),Q(N,"code"),Q(k,"mark"),Q(V,"kbd"),X}function P(A){const{expandable:E,symbol:k}=c.value;if(!E||!A&&(l.expanded||!l.isEllipsis))return null;const N=(n.ellipsisSymbol?n.ellipsisSymbol():k)||l.expandStr;return w("a",{key:"expand",class:`${o.value}-expand`,onClick:f,"aria-label":l.expandStr},[N])}function M(){if(!e.editable)return;const{tooltip:A,triggerType:E=["icon"]}=e.editable,k=n.editableIcon?n.editableIcon():w(nze,{role:"button"},null),N=n.editableTooltip?n.editableTooltip():l.editStr,B=typeof N=="string"?N:"";return E.indexOf("icon")!==-1?w(Mi,{key:"edit",title:A===!1?"":N},{default:()=>[w(OS,{ref:u,class:`${o.value}-edit`,onClick:h,"aria-label":B},{default:()=>[k]})]}):null}function O(){if(!e.copyable)return;const{tooltip:A}=e.copyable,E=l.copied?l.copiedStr:l.copyStr,k=n.copyableTooltip?n.copyableTooltip({copied:l.copied}):E,N=typeof k=="string"?k:"",B=l.copied?w(Sw,null,null):w(QFe,null,null),F=n.copyableIcon?n.copyableIcon({copied:!!l.copied}):B;return w(Mi,{key:"copy",title:A===!1?"":k},{default:()=>[w(OS,{class:[`${o.value}-copy`,{[`${o.value}-copy-success`]:l.copied}],onClick:m,"aria-label":N},{default:()=>[F]})]})}function D(){const{class:A,style:E}=r,{maxlength:k,autoSize:N,onEnd:B}=y.value;return w(NFe,{class:A,style:E,prefixCls:o.value,value:e.content,originContent:l.originContent,maxlength:k,autoSize:N,onSave:v,onChange:p,onCancel:g,onEnd:B,direction:a.value,component:e.component},{enterIcon:n.editableEnterIcon})}function R(A){return[P(A),M(),O()].filter(E=>E)}return()=>{var A;const{triggerType:E=["icon"]}=y.value,k=e.ellipsis||e.editable?e.content!==void 0?e.content:(A=n.default)===null||A===void 0?void 0:A.call(n):n.default?n.default():e.content;return b.value?D():w(Ad,{componentName:"Text",children:N=>{const B=_(_({},e),r),{type:F,disabled:H,content:V,class:X,style:Q}=B,K=rze(B,["type","disabled","content","class","style"]),{rows:te,suffix:q,tooltip:ee}=c.value,{edit:J,copy:G,copied:Y,expand:oe}=N;l.editStr=J,l.copyStr=G,l.copiedStr=Y,l.expandStr=oe;const W=yt(K,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),Z=C.value,ne=te===1&&Z,re=te&&te>1&&Z;let le=k,ie;if(te&&l.isEllipsis&&!l.expanded&&!Z){const{title:me}=K;let he=me||"";!me&&(typeof k=="string"||typeof k=="number")&&(he=String(k)),he=he==null?void 0:he.slice(String(l.ellipsisContent||"").length),le=w(Qe,null,[mt(l.ellipsisContent),w("span",{title:he,"aria-hidden":"true"},[r7]),q])}else le=w(Qe,null,[k,q]);le=I(e,le);const de=ee&&te&&l.isEllipsis&&!l.expanded&&!Z,pe=n.ellipsisTooltip?n.ellipsisTooltip():ee;return w(Ao,{onResize:$,disabled:!te},{default:()=>[w(_i,z({ref:s,class:[{[`${o.value}-${F}`]:F,[`${o.value}-disabled`]:H,[`${o.value}-ellipsis`]:te,[`${o.value}-single-line`]:te===1&&!l.isEllipsis,[`${o.value}-ellipsis-single-line`]:ne,[`${o.value}-ellipsis-multiple-line`]:re},X],style:_(_({},Q),{WebkitLineClamp:re?te:void 0}),"aria-label":ie,direction:a.value,onClick:E.indexOf("text")!==-1?h:()=>{}},W),{default:()=>[de?w(Mi,{title:ee===!0?k:pe},{default:()=>[w("span",null,[le])]}):le,R()]})]})}},null)}}}),ry=aze;var lze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iyt(_(_({},ny()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),oC=(e,t)=>{let{slots:n,attrs:r}=t;const i=_(_({},e),r),{ellipsis:o,rel:a}=i,l=lze(i,["ellipsis","rel"]);vn();const s=_(_({},l),{rel:a===void 0&&l.target==="_blank"?"noopener noreferrer":a,ellipsis:!!o,component:"a"});return delete s.navigate,w(ry,s,n)};oC.displayName="ATypographyLink";oC.inheritAttrs=!1;oC.props=sze();const j3=oC,uze=()=>yt(ny(),["component"]),aC=(e,t)=>{let{slots:n,attrs:r}=t;const i=_(_(_({},e),{component:"div"}),r);return w(ry,i,n)};aC.displayName="ATypographyParagraph";aC.inheritAttrs=!1;aC.props=uze();const G3=aC,cze=()=>_(_({},yt(ny(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),lC=(e,t)=>{let{slots:n,attrs:r}=t;const{ellipsis:i}=e;vn();const o=_(_(_({},e),{ellipsis:i&&typeof i=="object"?yt(i,["expandable","rows"]):i,component:"span"}),r);return w(ry,o,n)};lC.displayName="ATypographyText";lC.inheritAttrs=!1;lC.props=cze();const K3=lC;var dze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i_(_({},yt(ny(),["component","strong"])),{level:Number}),sC=(e,t)=>{let{slots:n,attrs:r}=t;const{level:i=1}=e,o=dze(e,["level"]);let a;fze.includes(i)?a=`h${i}`:(vn(),a="h1");const l=_(_(_({},o),{component:a}),r);return w(ry,l,n)};sC.displayName="ATypographyTitle";sC.inheritAttrs=!1;sC.props=hze();const U3=sC;_i.Text=K3;_i.Title=U3;_i.Paragraph=G3;_i.Link=j3;_i.Base=ry;_i.install=function(e){return e.component(_i.name,_i),e.component(_i.Text.displayName,K3),e.component(_i.Title.displayName,U3),e.component(_i.Paragraph.displayName,G3),e.component(_i.Link.displayName,j3),e};function vze(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function i7(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function pze(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});const n=new FormData;e.data&&Object.keys(e.data).forEach(i=>{const o=e.data[i];if(Array.isArray(o)){o.forEach(a=>{n.append(`${i}[]`,a)});return}n.append(i,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(vze(e,t),i7(t)):e.onSuccess(i7(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(i=>{r[i]!==null&&t.setRequestHeader(i,r[i])}),t.send(n),{abort(){t.abort()}}}const gze=+new Date;let mze=0;function M_(){return`vc-upload-${gze}-${++mze}`}const A_=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some(a=>{const l=a.trim();if(/^\*(\/\*)?$/.test(a))return!0;if(l.charAt(0)==="."){const s=r.toLowerCase(),u=l.toLowerCase();let c=[u];return(u===".jpg"||u===".jpeg")&&(c=[".jpg",".jpeg"]),c.some(d=>s.endsWith(d))}return/\/\*$/.test(l)?o===l.replace(/\/.*$/,""):!!(i===l||/^\w+$/.test(l))})}return!0};function yze(e,t){const n=e.createReader();let r=[];function i(){n.readEntries(o=>{const a=Array.prototype.slice.apply(o);r=r.concat(a),!a.length?t(r):i()})}i()}const bze=(e,t,n)=>{const r=(i,o)=>{i.path=o||"",i.isFile?i.file(a=>{n(a)&&(i.fullPath&&!a.webkitRelativePath&&(Object.defineProperties(a,{webkitRelativePath:{writable:!0}}),a.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(a,{webkitRelativePath:{writable:!1}})),t([a]))}):i.isDirectory&&yze(i,a=>{a.forEach(l=>{r(l,`${o}${i.name}/`)})})};e.forEach(i=>{r(i.webkitGetAsEntry())})},Sze=bze,zJ=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var xze=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},wze=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ixze(this,void 0,void 0,function*(){const{beforeUpload:S}=e;let x=y;if(S){try{x=yield S(y,b)}catch(D){x=!1}if(x===!1)return{origin:y,parsedFile:null,action:null,data:null}}const{action:$}=e;let C;typeof $=="function"?C=yield $(y):C=$;const{data:T}=e;let I;typeof T=="function"?I=yield T(y):I=T;const P=(typeof x=="object"||typeof x=="string")&&x?x:y;let M;P instanceof File?M=P:M=new File([P],y.name,{type:y.type});const O=M;return O.uid=y.uid,{origin:y,data:I,parsedFile:O,action:C}}),c=y=>{let{data:b,origin:S,action:x,parsedFile:$}=y;if(!s)return;const{onStart:C,customRequest:T,name:I,headers:P,withCredentials:M,method:O}=e,{uid:D}=S,R=T||pze,A={action:x,filename:I,data:b,file:$,headers:P,withCredentials:M,method:O||"post",onProgress:E=>{const{onProgress:k}=e;k==null||k(E,$)},onSuccess:(E,k)=>{const{onSuccess:N}=e;N==null||N(E,$,k),delete a[D]},onError:(E,k)=>{const{onError:N}=e;N==null||N(E,k,$),delete a[D]}};C(S),a[D]=R(A)},d=()=>{o.value=M_()},f=y=>{if(y){const b=y.uid?y.uid:y;a[b]&&a[b].abort&&a[b].abort(),delete a[b]}else Object.keys(a).forEach(b=>{a[b]&&a[b].abort&&a[b].abort(),delete a[b]})};tt(()=>{s=!0}),ht(()=>{s=!1,f()});const h=y=>{const b=[...y],S=b.map(x=>(x.uid=M_(),u(x,b)));Promise.all(S).then(x=>{const{onBatchStart:$}=e;$==null||$(x.map(C=>{let{origin:T,parsedFile:I}=C;return{file:T,parsedFile:I}})),x.filter(C=>C.parsedFile!==null).forEach(C=>{c(C)})})},v=y=>{const{accept:b,directory:S}=e,{files:x}=y.target,$=[...x].filter(C=>!S||A_(C,b));h($),d()},p=y=>{const b=l.value;if(!b)return;const{onClick:S}=e;b.click(),S&&S(y)},g=y=>{y.key==="Enter"&&p(y)},m=y=>{const{multiple:b}=e;if(y.preventDefault(),y.type!=="dragover")if(e.directory)Sze(Array.prototype.slice.call(y.dataTransfer.items),h,S=>A_(S,e.accept));else{const S=CCe(Array.prototype.slice.call(y.dataTransfer.files),C=>A_(C,e.accept));let x=S[0];const $=S[1];b===!1&&(x=x.slice(0,1)),h(x),$.length&&e.onReject&&e.onReject($)}};return i({abort:f}),()=>{var y;const{componentTag:b,prefixCls:S,disabled:x,id:$,multiple:C,accept:T,capture:I,directory:P,openFileDialogOnClick:M,onMouseenter:O,onMouseleave:D}=e,R=wze(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),A={[S]:!0,[`${S}-disabled`]:x,[r.class]:!!r.class},E=P?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return w(b,z(z({},x?{}:{onClick:M?p:()=>{},onKeydown:M?g:()=>{},onMouseenter:O,onMouseleave:D,onDrop:m,onDragover:m,tabindex:"0"}),{},{class:A,role:"button",style:r.style}),{default:()=>[w("input",z(z(z({},Mu(R,{aria:!0,data:!0})),{},{id:$,type:"file",ref:l,onClick:N=>N.stopPropagation(),onCancel:N=>N.stopPropagation(),key:o.value,style:{display:"none"},accept:T},E),{},{multiple:C,onChange:v},I!=null?{capture:I}:{}),null),(y=n.default)===null||y===void 0?void 0:y.call(n)]})}}});function O_(){}const o7=se({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:ft(zJ(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:O_,onError:O_,onSuccess:O_,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:r,expose:i}=t;const o=ue();return i({abort:l=>{var s;(s=o.value)===null||s===void 0||s.abort(l)}}),()=>w(Cze,z(z(z({},e),r),{},{ref:o}),n)}});var $ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const _ze=$ze;function a7(e){for(var t=1;t{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function D_(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function kze(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const Bze=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},VJ=e=>e.indexOf("image/")===0,Fze=e=>{if(e.type&&!e.thumbUrl)return VJ(e.type);const t=e.thumbUrl||e.url||"",n=Bze(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Ss=200;function zze(e){return new Promise(t=>{if(!e.type||!VJ(e.type)){t("");return}const n=document.createElement("canvas");n.width=Ss,n.height=Ss,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ss}px; height: ${Ss}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let l=Ss,s=Ss,u=0,c=0;o>a?(s=a*(Ss/o),c=-(s-l)/2):(l=o*(Ss/a),u=-(l-s)/2),r.drawImage(i,u,c,l,s);const d=n.toDataURL();document.body.removeChild(n),t(d)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.addEventListener("load",()=>{o.result&&(i.src=o.result)}),o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var Hze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const Vze=Hze;function u7(e){for(var t=1;t({prefixCls:String,locale:He(void 0),file:He(),items:Ot(),listType:je(),isImgUrl:be(),showRemoveIcon:$e(),showDownloadIcon:$e(),showPreviewIcon:$e(),removeIcon:be(),downloadIcon:be(),previewIcon:be(),iconRender:be(),actionIconRender:be(),itemRender:be(),onPreview:be(),onClose:be(),onDownload:be(),progress:He()}),Kze=se({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:Gze(),setup(e,t){let{slots:n,attrs:r}=t;var i;const o=ae(!1),a=ae();tt(()=>{a.value=setTimeout(()=>{o.value=!0},300)}),ht(()=>{clearTimeout(a.value)});const l=ae((i=e.file)===null||i===void 0?void 0:i.status);Se(()=>{var c;return(c=e.file)===null||c===void 0?void 0:c.status},c=>{c!=="removed"&&(l.value=c)});const{rootPrefixCls:s}=Ee("upload",e),u=L(()=>Eo(`${s.value}-fade`));return()=>{var c,d;const{prefixCls:f,locale:h,listType:v,file:p,items:g,progress:m,iconRender:y=n.iconRender,actionIconRender:b=n.actionIconRender,itemRender:S=n.itemRender,isImgUrl:x,showPreviewIcon:$,showRemoveIcon:C,showDownloadIcon:T,previewIcon:I=n.previewIcon,removeIcon:P=n.removeIcon,downloadIcon:M=n.downloadIcon,onPreview:O,onDownload:D,onClose:R}=e,{class:A,style:E}=r,k=y({file:p});let N=w("div",{class:`${f}-text-icon`},[k]);if(v==="picture"||v==="picture-card")if(l.value==="uploading"||!p.thumbUrl&&!p.url){const W={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:l.value!=="uploading"};N=w("div",{class:W},[k])}else{const W=x!=null&&x(p)?w("img",{src:p.thumbUrl||p.url,alt:p.name,class:`${f}-list-item-image`,crossorigin:p.crossOrigin},null):k,Z={[`${f}-list-item-thumbnail`]:!0,[`${f}-list-item-file`]:x&&!x(p)};N=w("a",{class:Z,onClick:ne=>O(p,ne),href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[W])}const B={[`${f}-list-item`]:!0,[`${f}-list-item-${l.value}`]:!0},F=typeof p.linkProps=="string"?JSON.parse(p.linkProps):p.linkProps,H=C?b({customIcon:P?P({file:p}):w(RJ,null,null),callback:()=>R(p),prefixCls:f,title:h.removeFile}):null,V=T&&l.value==="done"?b({customIcon:M?M({file:p}):w(jze,null,null),callback:()=>D(p),prefixCls:f,title:h.downloadFile}):null,X=v!=="picture-card"&&w("span",{key:"download-delete",class:[`${f}-list-item-actions`,{picture:v==="picture"}]},[V,H]),Q=`${f}-list-item-name`,K=p.url?[w("a",z(z({key:"view",target:"_blank",rel:"noopener noreferrer",class:Q,title:p.name},F),{},{href:p.url,onClick:W=>O(p,W)}),[p.name]),X]:[w("span",{key:"view",class:Q,onClick:W=>O(p,W),title:p.name},[p.name]),X],te={pointerEvents:"none",opacity:.5},q=$?w("a",{href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:p.url||p.thumbUrl?void 0:te,onClick:W=>O(p,W),title:h.previewFile},[I?I({file:p}):w(t3,null,null)]):null,ee=v==="picture-card"&&l.value!=="uploading"&&w("span",{class:`${f}-list-item-actions`},[q,l.value==="done"&&V,H]),J=w("div",{class:B},[N,K,ee,o.value&&w(dr,u.value,{default:()=>[Ur(w("div",{class:`${f}-list-item-progress`},["percent"in p?w(S3,z(z({},m),{},{type:"line",percent:p.percent}),null):null]),[[hi,l.value==="uploading"]])]})]),G={[`${f}-list-item-container`]:!0,[`${A}`]:!!A},Y=p.response&&typeof p.response=="string"?p.response:((c=p.error)===null||c===void 0?void 0:c.statusText)||((d=p.error)===null||d===void 0?void 0:d.message)||h.uploadError,oe=l.value==="error"?w(Mi,{title:Y,getPopupContainer:W=>W.parentNode},{default:()=>[J]}):J;return w("div",{class:G,style:E},[S?S({originNode:oe,file:p,fileList:g,actions:{download:D.bind(null,p),preview:O.bind(null,p),remove:R.bind(null,p)}}):oe])}}}),Uze=(e,t)=>{let{slots:n}=t;var r;return xn((r=n.default)===null||r===void 0?void 0:r.call(n))[0]},Xze=se({compatConfig:{MODE:3},name:"AUploadList",props:ft(Nze(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:zze,isImageUrl:Fze,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:r}=t;const i=ae(!1);tt(()=>{i.value==!0});const o=ae([]);Se(()=>e.items,function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.value=p.slice()},{immediate:!0,deep:!0}),Ye(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let p=!1;(e.items||[]).forEach((g,m)=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(g.originFileObj instanceof File||g.originFileObj instanceof Blob)||g.thumbUrl!==void 0||(g.thumbUrl="",e.previewFile&&e.previewFile(g.originFileObj).then(y=>{const b=y||"";b!==g.thumbUrl&&(o.value[m].thumbUrl=b,p=!0)}))}),p&&tG(o)});const a=(p,g)=>{if(e.onPreview)return g==null||g.preventDefault(),e.onPreview(p)},l=p=>{typeof e.onDownload=="function"?e.onDownload(p):p.url&&window.open(p.url)},s=p=>{var g;(g=e.onRemove)===null||g===void 0||g.call(e,p)},u=p=>{let{file:g}=p;const m=e.iconRender||n.iconRender;if(m)return m({file:g,listType:e.listType});const y=g.status==="uploading",b=e.isImageUrl&&e.isImageUrl(g)?w(Oze,null,null):w(Lze,null,null);let S=w(y?no:Ize,null,null);return e.listType==="picture"?S=y?w(no,null,null):b:e.listType==="picture-card"&&(S=y?e.locale.uploading:b),S},c=p=>{const{customIcon:g,callback:m,prefixCls:y,title:b}=p,S={type:"text",size:"small",title:b,onClick:()=>{m()},class:`${y}-list-item-action`};return zn(g)?w(An,S,{icon:()=>g}):w(An,S,{default:()=>[w("span",null,[g])]})};r({handlePreview:a,handleDownload:l});const{prefixCls:d,rootPrefixCls:f}=Ee("upload",e),h=L(()=>({[`${d.value}-list`]:!0,[`${d.value}-list-${e.listType}`]:!0})),v=L(()=>{const p=_({},Gm(`${f.value}-motion-collapse`));delete p.onAfterAppear,delete p.onAfterEnter,delete p.onAfterLeave;const g=_(_({},vw(`${d.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:h.value,appear:i.value});return e.listType!=="picture-card"?_(_({},p),g):g});return()=>{const{listType:p,locale:g,isImageUrl:m,showPreviewIcon:y,showRemoveIcon:b,showDownloadIcon:S,removeIcon:x,previewIcon:$,downloadIcon:C,progress:T,appendAction:I,itemRender:P,appendActionVisible:M}=e,O=I==null?void 0:I(),D=o.value;return w(Kx,z(z({},v.value),{},{tag:"div"}),{default:()=>[D.map(R=>{const{uid:A}=R;return w(Kze,{key:A,locale:g,prefixCls:d.value,file:R,items:D,progress:T,listType:p,isImgUrl:m,showPreviewIcon:y,showRemoveIcon:b,showDownloadIcon:S,onPreview:a,onDownload:l,onClose:s,removeIcon:x,previewIcon:$,downloadIcon:C,itemRender:P},_(_({},n),{iconRender:u,actionIconRender:c}))}),I?Ur(w(Uze,{key:"__ant_upload_appendAction"},{default:()=>O}),[[hi,!!M]]):null]})}}}),Yze=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n}, p${t}-text, p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},Yze=Xze,qze=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,u=Math.round(i*o);return{[`${t}-wrapper`]:{[`${t}-list`]:_(_({},aa()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*i,marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:_(_({},Hn),{padding:`0 ${e.paddingXS}px`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:u,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + `]:{color:e.colorTextDisabled}}}}}},qze=Yze,Zze=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o}=e,a=`${t}-list-item`,l=`${a}-actions`,s=`${a}-action`,u=Math.round(i*o);return{[`${t}-wrapper`]:{[`${t}-list`]:_(_({},la()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:e.lineHeight*i,marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:_(_({},Hn),{padding:`0 ${e.paddingXS}px`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:u,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${s}:focus, &.picture ${s} - `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:i+e.paddingXS,fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${r}`]:{color:e.colorError},[l]:{[`${r}, ${r}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Zze=qze,c7=new xt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),d7=new xt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),Qze=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:c7},[`${n}-leave`]:{animationName:d7}}},c7,d7]},Jze=Qze,e9e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,o=`${t}-list`,a=`${o}-item`;return{[`${t}-wrapper`]:{[`${o}${o}-picture, ${o}${o}-picture-card`]:{[a]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:_(_({},Hn),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:i,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:i}}}}}},t9e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,o=`${t}-list`,a=`${o}-item`,l=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:_(_({},aa()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card`]:{[`${o}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${a}-actions, ${a}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new zt(i).setAlpha(.65).toRgbString(),"&:hover":{color:i}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},n9e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},r9e=n9e,i9e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:_(_({},st(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},o9e=it("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:o}=e,a=Math.round(n*r),l=Ue(e,{uploadThumbnailSize:t*2,uploadProgressOffset:a/2+i,uploadPicCardSize:o*2.55});return[i9e(l),Yze(l),e9e(l),t9e(l),Zze(l),Jze(l),r9e(l),jm(l)]});var a9e=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},l9e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var M;return(M=s.value)!==null&&M!==void 0?M:d.value}),[h,v]=dn(e.defaultFileList||[],{value:qe(e,"fileList"),postState:M=>{const O=Date.now();return(M!=null?M:[]).map((D,R)=>(!D.uid&&!Object.isFrozen(D)&&(D.uid=`__AUTO__${O}_${R}__`),D))}}),p=ue("drop"),g=ue(null);tt(()=>{on(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),on(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),on(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const m=(M,O,D)=>{var R,A;let E=[...O];e.maxCount===1?E=E.slice(-1):e.maxCount&&(E=E.slice(0,e.maxCount)),v(E);const k={file:M,fileList:E};D&&(k.event=D),(R=e["onUpdate:fileList"])===null||R===void 0||R.call(e,k.fileList),(A=e.onChange)===null||A===void 0||A.call(e,k),o.onFieldChange()},y=(M,O)=>a9e(this,void 0,void 0,function*(){const{beforeUpload:D,transformFile:R}=e;let A=M;if(D){const E=yield D(M,O);if(E===!1)return!1;if(delete M[Sp],E===Sp)return Object.defineProperty(M,Sp,{value:!0,configurable:!0}),!1;typeof E=="object"&&E&&(A=E)}return R&&(A=yield R(A)),A}),b=M=>{const O=M.filter(A=>!A.file[Sp]);if(!O.length)return;const D=O.map(A=>d0(A.file));let R=[...h.value];D.forEach(A=>{R=f0(A,R)}),D.forEach((A,E)=>{let k=A;if(O[E].parsedFile)A.status="uploading";else{const{originFileObj:N}=A;let B;try{B=new File([N],N.name,{type:N.type})}catch(F){B=new Blob([N],{type:N.type}),B.name=N.name,B.lastModifiedDate=new Date,B.lastModified=new Date().getTime()}B.uid=A.uid,k=B}m(k,R)})},S=(M,O,D)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch(E){}if(!D_(O,h.value))return;const R=d0(O);R.status="done",R.percent=100,R.response=M,R.xhr=D;const A=f0(R,h.value);m(R,A)},x=(M,O)=>{if(!D_(O,h.value))return;const D=d0(O);D.status="uploading",D.percent=M.percent;const R=f0(D,h.value);m(D,R,M)},$=(M,O,D)=>{if(!D_(D,h.value))return;const R=d0(D);R.error=M,R.response=O,R.status="error";const A=f0(R,h.value);m(R,A)},C=M=>{let O;const D=e.onRemove||e.remove;Promise.resolve(typeof D=="function"?D(M):D).then(R=>{var A,E;if(R===!1)return;const k=Nze(M,h.value);k&&(O=_(_({},M),{status:"removed"}),(A=h.value)===null||A===void 0||A.forEach(N=>{const B=O.uid!==void 0?"uid":"name";N[B]===O[B]&&!Object.isFrozen(N)&&(N.status="removed")}),(E=g.value)===null||E===void 0||E.abort(O),m(O,k))})},T=M=>{var O;p.value=M.type,M.type==="drop"&&((O=e.onDrop)===null||O===void 0||O.call(e,M))};i({onBatchStart:b,onSuccess:S,onProgress:x,onError:$,fileList:h,upload:g});const[I]=Ro("Upload",vi.Upload,L(()=>e.locale)),P=(M,O)=>{const{removeIcon:D,previewIcon:R,downloadIcon:A,previewFile:E,onPreview:k,onDownload:N,isImageUrl:B,progress:F,itemRender:H,iconRender:V,showUploadList:X}=e,{showDownloadIcon:Q,showPreviewIcon:K,showRemoveIcon:te}=typeof X=="boolean"?{}:X;return X?w(Uze,{prefixCls:a.value,listType:e.listType,items:h.value,previewFile:E,onPreview:k,onDownload:N,onRemove:C,showRemoveIcon:!f.value&&te,showPreviewIcon:K,showDownloadIcon:Q,removeIcon:D,previewIcon:R,downloadIcon:A,iconRender:V,locale:I.value,isImageUrl:B,progress:F,itemRender:H,appendActionVisible:O,appendAction:M},_({},n)):M==null?void 0:M()};return()=>{var M,O,D;const{listType:R,type:A}=e,{class:E,style:k}=r,N=l9e(r,["class","style"]),B=_(_(_({onBatchStart:b,onError:$,onProgress:x,onSuccess:S},N),e),{id:(M=e.id)!==null&&M!==void 0?M:o.id.value,prefixCls:a.value,beforeUpload:y,onChange:void 0,disabled:f.value});delete B.remove,(!n.default||f.value)&&delete B.id;const F={[`${a.value}-rtl`]:l.value==="rtl"};if(A==="drag"){const Q=ce(a.value,{[`${a.value}-drag`]:!0,[`${a.value}-drag-uploading`]:h.value.some(K=>K.status==="uploading"),[`${a.value}-drag-hover`]:p.value==="dragover",[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"},r.class,c.value);return u(w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,F,E,c.value)}),[w("div",{class:Q,onDrop:T,onDragover:T,onDragleave:T,style:r.style},[w(o7,z(z({},B),{},{ref:g,class:`${a.value}-btn`}),z({default:()=>[w("div",{class:`${a.value}-drag-container`},[(O=n.default)===null||O===void 0?void 0:O.call(n)])]},n))]),P()]))}const H=ce(a.value,{[`${a.value}-select`]:!0,[`${a.value}-select-${R}`]:!0,[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"}),V=Jt((D=n.default)===null||D===void 0?void 0:D.call(n)),X=Q=>w("div",{class:H,style:Q},[w(o7,z(z({},B),{},{ref:g}),n)]);return u(R==="picture-card"?w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,`${a.value}-picture-card-wrapper`,F,r.class,c.value)}),[P(X,!!(V&&V.length))]):w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,F,r.class,c.value)}),[X(V&&V.length?void 0:{display:"none"}),P()]))}}});var f7=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{height:i}=e,o=f7(e,["height"]),{style:a}=r,l=f7(r,["style"]),s=_(_(_({},o),l),{type:"drag",style:_(_({},a),{height:typeof i=="number"?`${i}px`:i})});return w(o1,s,n)}}}),s9e=a1,u9e=_(o1,{Dragger:a1,LIST_IGNORE:Sp,install(e){return e.component(o1.name,o1),e.component(a1.name,a1),e}});function c9e(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function d9e(e){return Object.keys(e).map(t=>`${c9e(t)}: ${e[t]};`).join(" ")}function h7(){return window.devicePixelRatio||1}function E_(e,t,n,r){e.translate(t,n),e.rotate(Math.PI/180*Number(r)),e.translate(-t,-n)}const f9e=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(r=>r===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var h9e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=sq}=n,i=h9e(n,["window"]);let o;const a=aq(()=>r&&"MutationObserver"in r),l=()=>{o&&(o.disconnect(),o=void 0)},s=Se(()=>pE(e),c=>{l(),a.value&&r&&c&&(o=new MutationObserver(t),o.observe(c,i))},{immediate:!0}),u=()=>{l(),s()};return oq(u),{isSupported:a,stop:u}}const R_=2,v7=3,p9e=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:Xe([String,Array]),font:He(),rootClassName:String,gap:Ot(),offset:Ot()}),g9e=se({name:"AWatermark",inheritAttrs:!1,props:ft(p9e(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:r}=t;const[,i]=is(),o=ae(),a=ae(),l=ae(!1),s=L(()=>{var P,M;return(M=(P=e.gap)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:100}),u=L(()=>{var P,M;return(M=(P=e.gap)===null||P===void 0?void 0:P[1])!==null&&M!==void 0?M:100}),c=L(()=>s.value/2),d=L(()=>u.value/2),f=L(()=>{var P,M;return(M=(P=e.offset)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:c.value}),h=L(()=>{var P,M;return(M=(P=e.offset)===null||P===void 0?void 0:P[1])!==null&&M!==void 0?M:d.value}),v=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontSize)!==null&&M!==void 0?M:i.value.fontSizeLG}),p=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontWeight)!==null&&M!==void 0?M:"normal"}),g=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontStyle)!==null&&M!==void 0?M:"normal"}),m=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontFamily)!==null&&M!==void 0?M:"sans-serif"}),y=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.color)!==null&&M!==void 0?M:i.value.colorFill}),b=L(()=>{var P;const M={zIndex:(P=e.zIndex)!==null&&P!==void 0?P:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=f.value-c.value,D=h.value-d.value;return O>0&&(M.left=`${O}px`,M.width=`calc(100% - ${O}px)`,O=0),D>0&&(M.top=`${D}px`,M.height=`calc(100% - ${D}px)`,D=0),M.backgroundPosition=`${O}px ${D}px`,M}),S=()=>{a.value&&(a.value.remove(),a.value=void 0)},x=(P,M)=>{var O;o.value&&a.value&&(l.value=!0,a.value.setAttribute("style",d9e(_(_({},b.value),{backgroundImage:`url('${P}')`,backgroundSize:`${(s.value+M)*R_}px`}))),(O=o.value)===null||O===void 0||O.append(a.value),setTimeout(()=>{l.value=!1}))},$=P=>{let M=120,O=64;const D=e.content,R=e.image,A=e.width,E=e.height;if(!R&&P.measureText){P.font=`${Number(v.value)}px ${m.value}`;const k=Array.isArray(D)?D:[D],N=k.map(B=>P.measureText(B).width);M=Math.ceil(Math.max(...N)),O=Number(v.value)*k.length+(k.length-1)*v7}return[A!=null?A:M,E!=null?E:O]},C=(P,M,O,D,R)=>{const A=h7(),E=e.content,k=Number(v.value)*A;P.font=`${g.value} normal ${p.value} ${k}px/${R}px ${m.value}`,P.fillStyle=y.value,P.textAlign="center",P.textBaseline="top",P.translate(D/2,0);const N=Array.isArray(E)?E:[E];N==null||N.forEach((B,F)=>{P.fillText(B!=null?B:"",M,O+F*(k+v7*A))})},T=()=>{var P;const M=document.createElement("canvas"),O=M.getContext("2d"),D=e.image,R=(P=e.rotate)!==null&&P!==void 0?P:-22;if(O){a.value||(a.value=document.createElement("div"));const A=h7(),[E,k]=$(O),N=(s.value+E)*A,B=(u.value+k)*A;M.setAttribute("width",`${N*R_}px`),M.setAttribute("height",`${B*R_}px`);const F=s.value*A/2,H=u.value*A/2,V=E*A,X=k*A,Q=(V+s.value*A)/2,K=(X+u.value*A)/2,te=F+N,q=H+B,ee=Q+N,J=K+B;if(O.save(),E_(O,Q,K,R),D){const G=new Image;G.onload=()=>{O.drawImage(G,F,H,V,X),O.restore(),E_(O,ee,J,R),O.drawImage(G,te,q,V,X),x(M.toDataURL(),E)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=D}else C(O,F,H,V,X),O.restore(),E_(O,ee,J,R),C(O,te,q,V,X),x(M.toDataURL(),E)}};return tt(()=>{T()}),Se(()=>[e,i.value.colorFill,i.value.fontSizeLG],()=>{T()},{deep:!0,flush:"post"}),ht(()=>{S()}),v9e(o,P=>{l.value||P.forEach(M=>{f9e(M,a.value)&&(S(),T())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var P;return w("div",z(z({},r),{},{ref:o,class:[r.class,e.rootClassName],style:[{position:"relative"},r.style]}),[(P=n.default)===null||P===void 0?void 0:P.call(n)])}}}),m9e=gn(g9e);function p7(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function g7(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const y9e=_({overflow:"hidden"},Hn),b9e=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_({},st(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":_(_({},g7(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":_({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},y9e),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:_(_({},g7(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),p7(`&-disabled ${t}-item`,e)),p7(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},S9e=it("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:r,colorText:i,colorFillSecondary:o,colorBgLayout:a,colorBgElevated:l}=e,s=Ue(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:r,labelColorHover:i,bgColor:a,bgColorHover:o,bgColorSelected:l});return[b9e(s)]}),m7=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,af=e=>e!==void 0?`${e}px`:void 0,x9e=se({props:{value:tn(),getValueIndex:tn(),prefixCls:tn(),motionName:tn(),onMotionStart:tn(),onMotionEnd:tn(),direction:tn(),containerRef:tn()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const r=ue(),i=v=>{var p;const g=e.getValueIndex(v),m=(p=e.containerRef.value)===null||p===void 0?void 0:p.querySelectorAll(`.${e.prefixCls}-item`)[g];return(m==null?void 0:m.offsetParent)&&m},o=ue(null),a=ue(null);Se(()=>e.value,(v,p)=>{const g=i(p),m=i(v),y=m7(g),b=m7(m);o.value=y,a.value=b,n(g&&m?"motionStart":"motionEnd")},{flush:"post"});const l=L(()=>{var v,p;return e.direction==="rtl"?af(-((v=o.value)===null||v===void 0?void 0:v.right)):af((p=o.value)===null||p===void 0?void 0:p.left)}),s=L(()=>{var v,p;return e.direction==="rtl"?af(-((v=a.value)===null||v===void 0?void 0:v.right)):af((p=a.value)===null||p===void 0?void 0:p.left)});let u;const c=v=>{clearTimeout(u),_t(()=>{v&&(v.style.transform="translateX(var(--thumb-start-left))",v.style.width="var(--thumb-start-width)")})},d=v=>{u=setTimeout(()=>{v&&(pS(v,`${e.motionName}-appear-active`),v.style.transform="translateX(var(--thumb-active-left))",v.style.width="var(--thumb-active-width)")})},f=v=>{o.value=null,a.value=null,v&&(v.style.transform=null,v.style.width=null,gS(v,`${e.motionName}-appear-active`)),n("motionEnd")},h=L(()=>{var v,p;return{"--thumb-start-left":l.value,"--thumb-start-width":af((v=o.value)===null||v===void 0?void 0:v.width),"--thumb-active-left":s.value,"--thumb-active-width":af((p=a.value)===null||p===void 0?void 0:p.width)}});return ht(()=>{clearTimeout(u)}),()=>{const v={ref:r,style:h.value,class:[`${e.prefixCls}-thumb`]};return w(dr,{appear:!0,onBeforeEnter:c,onEnter:d,onAfterEnter:f},{default:()=>[!o.value||!a.value?null:w("div",v,null)]})}}}),w9e=x9e;function C9e(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const $9e=()=>({prefixCls:String,options:Ot(),block:$e(),disabled:$e(),size:je(),value:_(_({},Xe([String,Number])),{required:!0}),motionName:String,onChange:be(),"onUpdate:value":be()}),WJ=(e,t)=>{let{slots:n,emit:r}=t;const{value:i,disabled:o,payload:a,title:l,prefixCls:s,label:u=n.label,checked:c,className:d}=e,f=h=>{o||r("change",h,i)};return w("label",{class:ce({[`${s}-item-disabled`]:o},d)},[w("input",{class:`${s}-item-input`,type:"radio",disabled:o,checked:c,onChange:f},null),w("div",{class:`${s}-item-label`,title:typeof l=="string"?l:""},[typeof u=="function"?u({value:i,disabled:o,payload:a,title:l}):u!=null?u:i])])};WJ.inheritAttrs=!1;const _9e=se({name:"ASegmented",inheritAttrs:!1,props:ft($9e(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o,direction:a,size:l}=Ee("segmented",e),[s,u]=S9e(o),c=ae(),d=ae(!1),f=L(()=>C9e(e.options)),h=(v,p)=>{e.disabled||(n("update:value",p),n("change",p))};return()=>{const v=o.value;return s(w("div",z(z({},i),{},{class:ce(v,{[u.value]:!0,[`${v}-block`]:e.block,[`${v}-disabled`]:e.disabled,[`${v}-lg`]:l.value=="large",[`${v}-sm`]:l.value=="small",[`${v}-rtl`]:a.value==="rtl"},i.class),ref:c}),[w("div",{class:`${v}-group`},[w(w9e,{containerRef:c,prefixCls:v,value:e.value,motionName:`${v}-${e.motionName}`,direction:a.value,getValueIndex:p=>f.value.findIndex(g=>g.value===p),onMotionStart:()=>{d.value=!0},onMotionEnd:()=>{d.value=!1}},null),f.value.map(p=>w(WJ,z(z({key:p.value,prefixCls:v,checked:p.value===e.value,onChange:h},p),{},{className:ce(p.className,`${v}-item`,{[`${v}-item-selected`]:p.value===e.value&&!d.value}),disabled:!!e.disabled||!!p.disabled}),r))])]))}}}),T9e=gn(_9e),I9e=e=>{const{componentCls:t}=e;return{[t]:_(_({},st(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired , & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},P9e=it("QRCode",e=>I9e(Ue(e,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var M9e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const A9e=M9e;function y7(e){for(var t=1;t({size:{type:Number,default:160},value:{type:String,required:!0},type:je("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:He()}),E9e=()=>_(_({},J3()),{errorLevel:je("M"),icon:String,iconSize:{type:Number,default:40},status:je("active"),bordered:{type:Boolean,default:!0}});/** + `]:{opacity:1},[r]:{color:e.colorTextDescription,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${a}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:i+e.paddingXS,fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${r}`]:{color:e.colorError},[l]:{[`${r}, ${r}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Qze=Zze,c7=new xt("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),d7=new xt("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),Jze=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:c7},[`${n}-leave`]:{animationName:d7}}},c7,d7]},e9e=Jze,t9e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i}=e,o=`${t}-list`,a=`${o}-item`;return{[`${t}-wrapper`]:{[`${o}${o}-picture, ${o}${o}-picture-card`]:{[a]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:_(_({},Hn),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:i,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${n}`]:{"svg path[fill='#e6f7ff']":{fill:e.colorErrorBg},"svg path[fill='#1890ff']":{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:i}}}}}},n9e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i}=e,o=`${t}-list`,a=`${o}-item`,l=e.uploadPicCardSize;return{[`${t}-wrapper${t}-picture-card-wrapper`]:_(_({},la()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:l,height:l,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card`]:{[`${o}-item-container`]:{display:"inline-block",width:l,height:l,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`}},[`${a}-actions, ${a}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new zt(i).setAlpha(.65).toRgbString(),"&:hover":{color:i}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}})}},r9e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},i9e=r9e,o9e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:_(_({},st(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},a9e=it("Upload",e=>{const{fontSizeHeading3:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightLG:o}=e,a=Math.round(n*r),l=Ue(e,{uploadThumbnailSize:t*2,uploadProgressOffset:a/2+i,uploadPicCardSize:o*2.55});return[o9e(l),qze(l),t9e(l),n9e(l),Qze(l),e9e(l),i9e(l),jm(l)]});var l9e=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(d){a(d)}}function s(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},s9e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var M;return(M=s.value)!==null&&M!==void 0?M:d.value}),[h,v]=dn(e.defaultFileList||[],{value:qe(e,"fileList"),postState:M=>{const O=Date.now();return(M!=null?M:[]).map((D,R)=>(!D.uid&&!Object.isFrozen(D)&&(D.uid=`__AUTO__${O}_${R}__`),D))}}),p=ue("drop"),g=ue(null);tt(()=>{on(e.fileList!==void 0||r.value===void 0,"Upload","`value` is not a valid prop, do you mean `fileList`?"),on(e.transformFile===void 0,"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly."),on(e.remove===void 0,"Upload","`remove` props is deprecated. Please use `remove` event.")});const m=(M,O,D)=>{var R,A;let E=[...O];e.maxCount===1?E=E.slice(-1):e.maxCount&&(E=E.slice(0,e.maxCount)),v(E);const k={file:M,fileList:E};D&&(k.event=D),(R=e["onUpdate:fileList"])===null||R===void 0||R.call(e,k.fileList),(A=e.onChange)===null||A===void 0||A.call(e,k),o.onFieldChange()},y=(M,O)=>l9e(this,void 0,void 0,function*(){const{beforeUpload:D,transformFile:R}=e;let A=M;if(D){const E=yield D(M,O);if(E===!1)return!1;if(delete M[xp],E===xp)return Object.defineProperty(M,xp,{value:!0,configurable:!0}),!1;typeof E=="object"&&E&&(A=E)}return R&&(A=yield R(A)),A}),b=M=>{const O=M.filter(A=>!A.file[xp]);if(!O.length)return;const D=O.map(A=>d0(A.file));let R=[...h.value];D.forEach(A=>{R=f0(A,R)}),D.forEach((A,E)=>{let k=A;if(O[E].parsedFile)A.status="uploading";else{const{originFileObj:N}=A;let B;try{B=new File([N],N.name,{type:N.type})}catch(F){B=new Blob([N],{type:N.type}),B.name=N.name,B.lastModifiedDate=new Date,B.lastModified=new Date().getTime()}B.uid=A.uid,k=B}m(k,R)})},S=(M,O,D)=>{try{typeof M=="string"&&(M=JSON.parse(M))}catch(E){}if(!D_(O,h.value))return;const R=d0(O);R.status="done",R.percent=100,R.response=M,R.xhr=D;const A=f0(R,h.value);m(R,A)},x=(M,O)=>{if(!D_(O,h.value))return;const D=d0(O);D.status="uploading",D.percent=M.percent;const R=f0(D,h.value);m(D,R,M)},$=(M,O,D)=>{if(!D_(D,h.value))return;const R=d0(D);R.error=M,R.response=O,R.status="error";const A=f0(R,h.value);m(R,A)},C=M=>{let O;const D=e.onRemove||e.remove;Promise.resolve(typeof D=="function"?D(M):D).then(R=>{var A,E;if(R===!1)return;const k=kze(M,h.value);k&&(O=_(_({},M),{status:"removed"}),(A=h.value)===null||A===void 0||A.forEach(N=>{const B=O.uid!==void 0?"uid":"name";N[B]===O[B]&&!Object.isFrozen(N)&&(N.status="removed")}),(E=g.value)===null||E===void 0||E.abort(O),m(O,k))})},T=M=>{var O;p.value=M.type,M.type==="drop"&&((O=e.onDrop)===null||O===void 0||O.call(e,M))};i({onBatchStart:b,onSuccess:S,onProgress:x,onError:$,fileList:h,upload:g});const[I]=Lo("Upload",vi.Upload,L(()=>e.locale)),P=(M,O)=>{const{removeIcon:D,previewIcon:R,downloadIcon:A,previewFile:E,onPreview:k,onDownload:N,isImageUrl:B,progress:F,itemRender:H,iconRender:V,showUploadList:X}=e,{showDownloadIcon:Q,showPreviewIcon:K,showRemoveIcon:te}=typeof X=="boolean"?{}:X;return X?w(Xze,{prefixCls:a.value,listType:e.listType,items:h.value,previewFile:E,onPreview:k,onDownload:N,onRemove:C,showRemoveIcon:!f.value&&te,showPreviewIcon:K,showDownloadIcon:Q,removeIcon:D,previewIcon:R,downloadIcon:A,iconRender:V,locale:I.value,isImageUrl:B,progress:F,itemRender:H,appendActionVisible:O,appendAction:M},_({},n)):M==null?void 0:M()};return()=>{var M,O,D;const{listType:R,type:A}=e,{class:E,style:k}=r,N=s9e(r,["class","style"]),B=_(_(_({onBatchStart:b,onError:$,onProgress:x,onSuccess:S},N),e),{id:(M=e.id)!==null&&M!==void 0?M:o.id.value,prefixCls:a.value,beforeUpload:y,onChange:void 0,disabled:f.value});delete B.remove,(!n.default||f.value)&&delete B.id;const F={[`${a.value}-rtl`]:l.value==="rtl"};if(A==="drag"){const Q=ce(a.value,{[`${a.value}-drag`]:!0,[`${a.value}-drag-uploading`]:h.value.some(K=>K.status==="uploading"),[`${a.value}-drag-hover`]:p.value==="dragover",[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"},r.class,c.value);return u(w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,F,E,c.value)}),[w("div",{class:Q,onDrop:T,onDragover:T,onDragleave:T,style:r.style},[w(o7,z(z({},B),{},{ref:g,class:`${a.value}-btn`}),z({default:()=>[w("div",{class:`${a.value}-drag-container`},[(O=n.default)===null||O===void 0?void 0:O.call(n)])]},n))]),P()]))}const H=ce(a.value,{[`${a.value}-select`]:!0,[`${a.value}-select-${R}`]:!0,[`${a.value}-disabled`]:f.value,[`${a.value}-rtl`]:l.value==="rtl"}),V=Jt((D=n.default)===null||D===void 0?void 0:D.call(n)),X=Q=>w("div",{class:H,style:Q},[w(o7,z(z({},B),{},{ref:g}),n)]);return u(R==="picture-card"?w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,`${a.value}-picture-card-wrapper`,F,r.class,c.value)}),[P(X,!!(V&&V.length))]):w("span",z(z({},r),{},{class:ce(`${a.value}-wrapper`,F,r.class,c.value)}),[X(V&&V.length?void 0:{display:"none"}),P()]))}}});var f7=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{height:i}=e,o=f7(e,["height"]),{style:a}=r,l=f7(r,["style"]),s=_(_(_({},o),l),{type:"drag",style:_(_({},a),{height:typeof i=="number"?`${i}px`:i})});return w(o1,s,n)}}}),u9e=a1,c9e=_(o1,{Dragger:a1,LIST_IGNORE:xp,install(e){return e.component(o1.name,o1),e.component(a1.name,a1),e}});function d9e(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function f9e(e){return Object.keys(e).map(t=>`${d9e(t)}: ${e[t]};`).join(" ")}function h7(){return window.devicePixelRatio||1}function E_(e,t,n,r){e.translate(t,n),e.rotate(Math.PI/180*Number(r)),e.translate(-t,-n)}const h9e=(e,t)=>{let n=!1;return e.removedNodes.length&&(n=Array.from(e.removedNodes).some(r=>r===t)),e.type==="attributes"&&e.target===t&&(n=!0),n};var v9e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i2&&arguments[2]!==void 0?arguments[2]:{};const{window:r=sq}=n,i=v9e(n,["window"]);let o;const a=aq(()=>r&&"MutationObserver"in r),l=()=>{o&&(o.disconnect(),o=void 0)},s=Se(()=>pE(e),c=>{l(),a.value&&r&&c&&(o=new MutationObserver(t),o.observe(c,i))},{immediate:!0}),u=()=>{l(),s()};return oq(u),{isSupported:a,stop:u}}const R_=2,v7=3,g9e=()=>({zIndex:Number,rotate:Number,width:Number,height:Number,image:String,content:Xe([String,Array]),font:He(),rootClassName:String,gap:Ot(),offset:Ot()}),m9e=se({name:"AWatermark",inheritAttrs:!1,props:ft(g9e(),{zIndex:9,rotate:-22,font:{},gap:[100,100]}),setup(e,t){let{slots:n,attrs:r}=t;const[,i]=is(),o=ae(),a=ae(),l=ae(!1),s=L(()=>{var P,M;return(M=(P=e.gap)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:100}),u=L(()=>{var P,M;return(M=(P=e.gap)===null||P===void 0?void 0:P[1])!==null&&M!==void 0?M:100}),c=L(()=>s.value/2),d=L(()=>u.value/2),f=L(()=>{var P,M;return(M=(P=e.offset)===null||P===void 0?void 0:P[0])!==null&&M!==void 0?M:c.value}),h=L(()=>{var P,M;return(M=(P=e.offset)===null||P===void 0?void 0:P[1])!==null&&M!==void 0?M:d.value}),v=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontSize)!==null&&M!==void 0?M:i.value.fontSizeLG}),p=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontWeight)!==null&&M!==void 0?M:"normal"}),g=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontStyle)!==null&&M!==void 0?M:"normal"}),m=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.fontFamily)!==null&&M!==void 0?M:"sans-serif"}),y=L(()=>{var P,M;return(M=(P=e.font)===null||P===void 0?void 0:P.color)!==null&&M!==void 0?M:i.value.colorFill}),b=L(()=>{var P;const M={zIndex:(P=e.zIndex)!==null&&P!==void 0?P:9,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=f.value-c.value,D=h.value-d.value;return O>0&&(M.left=`${O}px`,M.width=`calc(100% - ${O}px)`,O=0),D>0&&(M.top=`${D}px`,M.height=`calc(100% - ${D}px)`,D=0),M.backgroundPosition=`${O}px ${D}px`,M}),S=()=>{a.value&&(a.value.remove(),a.value=void 0)},x=(P,M)=>{var O;o.value&&a.value&&(l.value=!0,a.value.setAttribute("style",f9e(_(_({},b.value),{backgroundImage:`url('${P}')`,backgroundSize:`${(s.value+M)*R_}px`}))),(O=o.value)===null||O===void 0||O.append(a.value),setTimeout(()=>{l.value=!1}))},$=P=>{let M=120,O=64;const D=e.content,R=e.image,A=e.width,E=e.height;if(!R&&P.measureText){P.font=`${Number(v.value)}px ${m.value}`;const k=Array.isArray(D)?D:[D],N=k.map(B=>P.measureText(B).width);M=Math.ceil(Math.max(...N)),O=Number(v.value)*k.length+(k.length-1)*v7}return[A!=null?A:M,E!=null?E:O]},C=(P,M,O,D,R)=>{const A=h7(),E=e.content,k=Number(v.value)*A;P.font=`${g.value} normal ${p.value} ${k}px/${R}px ${m.value}`,P.fillStyle=y.value,P.textAlign="center",P.textBaseline="top",P.translate(D/2,0);const N=Array.isArray(E)?E:[E];N==null||N.forEach((B,F)=>{P.fillText(B!=null?B:"",M,O+F*(k+v7*A))})},T=()=>{var P;const M=document.createElement("canvas"),O=M.getContext("2d"),D=e.image,R=(P=e.rotate)!==null&&P!==void 0?P:-22;if(O){a.value||(a.value=document.createElement("div"));const A=h7(),[E,k]=$(O),N=(s.value+E)*A,B=(u.value+k)*A;M.setAttribute("width",`${N*R_}px`),M.setAttribute("height",`${B*R_}px`);const F=s.value*A/2,H=u.value*A/2,V=E*A,X=k*A,Q=(V+s.value*A)/2,K=(X+u.value*A)/2,te=F+N,q=H+B,ee=Q+N,J=K+B;if(O.save(),E_(O,Q,K,R),D){const G=new Image;G.onload=()=>{O.drawImage(G,F,H,V,X),O.restore(),E_(O,ee,J,R),O.drawImage(G,te,q,V,X),x(M.toDataURL(),E)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=D}else C(O,F,H,V,X),O.restore(),E_(O,ee,J,R),C(O,te,q,V,X),x(M.toDataURL(),E)}};return tt(()=>{T()}),Se(()=>[e,i.value.colorFill,i.value.fontSizeLG],()=>{T()},{deep:!0,flush:"post"}),ht(()=>{S()}),p9e(o,P=>{l.value||P.forEach(M=>{h9e(M,a.value)&&(S(),T())})},{attributes:!0,subtree:!0,childList:!0,attributeFilter:["style","class"]}),()=>{var P;return w("div",z(z({},r),{},{ref:o,class:[r.class,e.rootClassName],style:[{position:"relative"},r.style]}),[(P=n.default)===null||P===void 0?void 0:P.call(n)])}}}),y9e=gn(m9e);function p7(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function g7(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const b9e=_({overflow:"hidden"},Hn),S9e=e=>{const{componentCls:t}=e;return{[t]:_(_(_(_(_({},st(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":_(_({},g7(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":_({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},b9e),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:_(_({},g7(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),p7(`&-disabled ${t}-item`,e)),p7(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},x9e=it("Segmented",e=>{const{lineWidthBold:t,lineWidth:n,colorTextLabel:r,colorText:i,colorFillSecondary:o,colorBgLayout:a,colorBgElevated:l}=e,s=Ue(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-n,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-n,segmentedContainerPadding:t,labelColor:r,labelColorHover:i,bgColor:a,bgColorHover:o,bgColorSelected:l});return[S9e(s)]}),m7=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,lf=e=>e!==void 0?`${e}px`:void 0,w9e=se({props:{value:tn(),getValueIndex:tn(),prefixCls:tn(),motionName:tn(),onMotionStart:tn(),onMotionEnd:tn(),direction:tn(),containerRef:tn()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:n}=t;const r=ue(),i=v=>{var p;const g=e.getValueIndex(v),m=(p=e.containerRef.value)===null||p===void 0?void 0:p.querySelectorAll(`.${e.prefixCls}-item`)[g];return(m==null?void 0:m.offsetParent)&&m},o=ue(null),a=ue(null);Se(()=>e.value,(v,p)=>{const g=i(p),m=i(v),y=m7(g),b=m7(m);o.value=y,a.value=b,n(g&&m?"motionStart":"motionEnd")},{flush:"post"});const l=L(()=>{var v,p;return e.direction==="rtl"?lf(-((v=o.value)===null||v===void 0?void 0:v.right)):lf((p=o.value)===null||p===void 0?void 0:p.left)}),s=L(()=>{var v,p;return e.direction==="rtl"?lf(-((v=a.value)===null||v===void 0?void 0:v.right)):lf((p=a.value)===null||p===void 0?void 0:p.left)});let u;const c=v=>{clearTimeout(u),_t(()=>{v&&(v.style.transform="translateX(var(--thumb-start-left))",v.style.width="var(--thumb-start-width)")})},d=v=>{u=setTimeout(()=>{v&&(pS(v,`${e.motionName}-appear-active`),v.style.transform="translateX(var(--thumb-active-left))",v.style.width="var(--thumb-active-width)")})},f=v=>{o.value=null,a.value=null,v&&(v.style.transform=null,v.style.width=null,gS(v,`${e.motionName}-appear-active`)),n("motionEnd")},h=L(()=>{var v,p;return{"--thumb-start-left":l.value,"--thumb-start-width":lf((v=o.value)===null||v===void 0?void 0:v.width),"--thumb-active-left":s.value,"--thumb-active-width":lf((p=a.value)===null||p===void 0?void 0:p.width)}});return ht(()=>{clearTimeout(u)}),()=>{const v={ref:r,style:h.value,class:[`${e.prefixCls}-thumb`]};return w(dr,{appear:!0,onBeforeEnter:c,onEnter:d,onAfterEnter:f},{default:()=>[!o.value||!a.value?null:w("div",v,null)]})}}}),C9e=w9e;function $9e(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const _9e=()=>({prefixCls:String,options:Ot(),block:$e(),disabled:$e(),size:je(),value:_(_({},Xe([String,Number])),{required:!0}),motionName:String,onChange:be(),"onUpdate:value":be()}),WJ=(e,t)=>{let{slots:n,emit:r}=t;const{value:i,disabled:o,payload:a,title:l,prefixCls:s,label:u=n.label,checked:c,className:d}=e,f=h=>{o||r("change",h,i)};return w("label",{class:ce({[`${s}-item-disabled`]:o},d)},[w("input",{class:`${s}-item-input`,type:"radio",disabled:o,checked:c,onChange:f},null),w("div",{class:`${s}-item-label`,title:typeof l=="string"?l:""},[typeof u=="function"?u({value:i,disabled:o,payload:a,title:l}):u!=null?u:i])])};WJ.inheritAttrs=!1;const T9e=se({name:"ASegmented",inheritAttrs:!1,props:ft(_9e(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:n,slots:r,attrs:i}=t;const{prefixCls:o,direction:a,size:l}=Ee("segmented",e),[s,u]=x9e(o),c=ae(),d=ae(!1),f=L(()=>$9e(e.options)),h=(v,p)=>{e.disabled||(n("update:value",p),n("change",p))};return()=>{const v=o.value;return s(w("div",z(z({},i),{},{class:ce(v,{[u.value]:!0,[`${v}-block`]:e.block,[`${v}-disabled`]:e.disabled,[`${v}-lg`]:l.value=="large",[`${v}-sm`]:l.value=="small",[`${v}-rtl`]:a.value==="rtl"},i.class),ref:c}),[w("div",{class:`${v}-group`},[w(C9e,{containerRef:c,prefixCls:v,value:e.value,motionName:`${v}-${e.motionName}`,direction:a.value,getValueIndex:p=>f.value.findIndex(g=>g.value===p),onMotionStart:()=>{d.value=!0},onMotionEnd:()=>{d.value=!1}},null),f.value.map(p=>w(WJ,z(z({key:p.value,prefixCls:v,checked:p.value===e.value,onChange:h},p),{},{className:ce(p.className,`${v}-item`,{[`${v}-item-selected`]:p.value===e.value&&!d.value}),disabled:!!e.disabled||!!p.disabled}),r))])]))}}}),I9e=gn(T9e),P9e=e=>{const{componentCls:t}=e;return{[t]:_(_({},st(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired , & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}},M9e=it("QRCode",e=>P9e(Ue(e,{QRCodeTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"})));var A9e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};const O9e=A9e;function y7(e){for(var t=1;t({size:{type:Number,default:160},value:{type:String,required:!0},type:je("canvas"),color:String,bgColor:String,includeMargin:Boolean,imageSettings:He()}),R9e=()=>_(_({},J3()),{errorLevel:je("M"),icon:String,iconSize:{type:Number,default:40},status:je("active"),bordered:{type:Boolean,default:!0}});/** * @license QR Code generator library (TypeScript) * Copyright (c) Project Nayuki. * SPDX-License-Identifier: MIT - */var Sd;(function(e){class t{static encodeText(l,s){const u=e.QrSegment.makeSegments(l);return t.encodeSegments(u,s)}static encodeBinary(l,s){const u=e.QrSegment.makeBytes(l);return t.encodeSegments([u],s)}static encodeSegments(l,s){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=u&&u<=c&&c<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");let h,v;for(h=u;;h++){const y=t.getNumDataCodewords(h,s)*8,b=o.getTotalBits(l,h);if(b<=y){v=b;break}if(h>=c)throw new RangeError("Data too long")}for(const y of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])f&&v<=t.getNumDataCodewords(h,y)*8&&(s=y);const p=[];for(const y of l){n(y.mode.modeBits,4,p),n(y.numChars,y.mode.numCharCountBits(h),p);for(const b of y.getData())p.push(b)}i(p.length==v);const g=t.getNumDataCodewords(h,s)*8;i(p.length<=g),n(0,Math.min(4,g-p.length),p),n(0,(8-p.length%8)%8,p),i(p.length%8==0);for(let y=236;p.lengthm[b>>>3]|=y<<7-(b&7)),new t(h,s,m,d)}constructor(l,s,u,c){if(this.version=l,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],lt.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=l*4+17;const d=[];for(let h=0;h>>9)*1335;const c=(s<<10|u)^21522;i(c>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,r(c,d));this.setFunctionModule(8,7,r(c,6)),this.setFunctionModule(8,8,r(c,7)),this.setFunctionModule(7,8,r(c,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,r(c,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,r(c,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,r(c,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let u=0;u<12;u++)l=l<<1^(l>>>11)*7973;const s=this.version<<12|l;i(s>>>18==0);for(let u=0;u<18;u++){const c=r(s,u),d=this.size-11+u%3,f=Math.floor(u/3);this.setFunctionModule(d,f,c),this.setFunctionModule(f,d,c)}}drawFinderPattern(l,s){for(let u=-4;u<=4;u++)for(let c=-4;c<=4;c++){const d=Math.max(Math.abs(c),Math.abs(u)),f=l+c,h=s+u;0<=f&&f{(y!=v-d||S>=h)&&m.push(b[y])});return i(m.length==f),m}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(let c=0;c>>3],7-(s&7)),s++)}}i(s==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&l++):(this.finderPenaltyAddHistory(h,v),f||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),f=this.modules[d][p],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,v)*t.PENALTY_N3}for(let d=0;d5&&l++):(this.finderPenaltyAddHistory(h,v),f||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),f=this.modules[p][d],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,v)*t.PENALTY_N3}for(let d=0;df+(h?1:0),s);const u=this.size*this.size,c=Math.ceil(Math.abs(s*20-u*10)/u)-1;return i(0<=c&&c<=9),l+=c*t.PENALTY_N4,i(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2,u=[6];for(let c=this.size-7;u.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*l+128)*l+64;if(l>=2){const u=Math.floor(l/7)+2;s-=(25*u-10)*u-55,l>=7&&(s-=36)}return i(208<=s&&s<=29648),s}static getNumDataCodewords(l,s){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of l){const d=c^u.shift();u.push(0),s.forEach((f,h)=>u[h]^=t.reedSolomonMultiply(f,d))}return u}static reedSolomonMultiply(l,s){if(l>>>8||s>>>8)throw new RangeError("Byte out of range");let u=0;for(let c=7;c>=0;c--)u=u<<1^(u>>>7)*285,u^=(s>>>c&1)*l;return i(u>>>8==0),u}finderPenaltyCountPatterns(l){const s=l[1];i(s<=this.size*3);const u=s>0&&l[2]==s&&l[3]==s*3&&l[4]==s&&l[5]==s;return(u&&l[0]>=s*4&&l[6]>=s?1:0)+(u&&l[6]>=s*4&&l[0]>=s?1:0)}finderPenaltyTerminateAndCount(l,s,u){return l&&(this.finderPenaltyAddHistory(s,u),s=0),s+=this.size,this.finderPenaltyAddHistory(s,u),this.finderPenaltyCountPatterns(u)}finderPenaltyAddHistory(l,s){s[0]==0&&(l+=this.size),s.pop(),s.unshift(l)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(a,l,s){if(l<0||l>31||a>>>l)throw new RangeError("Value out of range");for(let u=l-1;u>=0;u--)s.push(a>>>u&1)}function r(a,l){return(a>>>l&1)!=0}function i(a){if(!a)throw new Error("Assertion error")}class o{static makeBytes(l){const s=[];for(const u of l)n(u,8,s);return new o(o.Mode.BYTE,l.length,s)}static makeNumeric(l){if(!o.isNumeric(l))throw new RangeError("String contains non-numeric characters");const s=[];for(let u=0;u=1<1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(r,i){let o=null;r.forEach(function(a,l){if(!a&&o!==null){n.push(`M${o+t} ${i+t}h${l-o}v1H${o+t}z`),o=null;return}if(l===r.length-1){if(!a)return;o===null?n.push(`M${l+t},${i+t} h1v1H${l+t}z`):n.push(`M${o+t},${i+t} h${l+1-o}v1H${o+t}z`);return}a&&o===null&&(o=l)})}),n.join("")}function qJ(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((i,o)=>o=t.x+t.w?i:!1))}function ZJ(e,t,n,r){if(r==null)return null;const i=e.length+n*2,o=Math.floor(t*N9e),a=i/t,l=(r.width||o)*a,s=(r.height||o)*a,u=r.x==null?e.length/2-l/2:r.x*a,c=r.y==null?e.length/2-s/2:r.y*a;let d=null;if(r.excavate){const f=Math.floor(u),h=Math.floor(c),v=Math.ceil(l+u-f),p=Math.ceil(s+c-h);d={x:f,y:h,w:v,h:p}}return{x:u,y:c,h:s,w:l,excavation:d}}function QJ(e,t){return t!=null?Math.floor(t):e?R9e:L9e}const k9e=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}(),B9e=se({name:"QRCodeCanvas",inheritAttrs:!1,props:_(_({},J3()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:r}=t;const i=L(()=>{var s;return(s=e.imageSettings)===null||s===void 0?void 0:s.src}),o=ae(null),a=ae(null),l=ae(!1);return r({toDataURL:(s,u)=>{var c;return(c=o.value)===null||c===void 0?void 0:c.toDataURL(s,u)}}),Ye(()=>{const{value:s,size:u=QP,level:c=GJ,bgColor:d=KJ,fgColor:f=UJ,includeMargin:h=XJ,marginSize:v,imageSettings:p}=e;if(o.value!=null){const g=o.value,m=g.getContext("2d");if(!m)return;let y=Uf.QrCode.encodeText(s,jJ[c]).getModules();const b=QJ(h,v),S=y.length+b*2,x=ZJ(y,u,b,p),$=a.value,C=l.value&&x!=null&&$!==null&&$.complete&&$.naturalHeight!==0&&$.naturalWidth!==0;C&&x.excavation!=null&&(y=qJ(y,x.excavation));const T=window.devicePixelRatio||1;g.height=g.width=u*T;const I=u/S*T;m.scale(I,I),m.fillStyle=d,m.fillRect(0,0,S,S),m.fillStyle=f,k9e?m.fill(new Path2D(YJ(y,b))):y.forEach(function(P,M){P.forEach(function(O,D){O&&m.fillRect(D+b,M+b,1,1)})}),C&&m.drawImage($,x.x+b,x.y+b,x.w,x.h)}},{flush:"post"}),Se(i,()=>{l.value=!1}),()=>{var s;const u=(s=e.size)!==null&&s!==void 0?s:QP,c={height:`${u}px`,width:`${u}px`};let d=null;return i.value!=null&&(d=w("img",{src:i.value,key:i.value,style:{display:"none"},onLoad:()=>{l.value=!0},ref:a},null)),w(Qe,null,[w("canvas",z(z({},n),{},{style:[c,n.style],ref:o}),null),d])}}}),F9e=se({name:"QRCodeSVG",inheritAttrs:!1,props:_(_({},J3()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,r=null,i=null,o=null,a=null;return Ye(()=>{const{value:l,size:s=QP,level:u=GJ,includeMargin:c=XJ,marginSize:d,imageSettings:f}=e;t=Uf.QrCode.encodeText(l,jJ[u]).getModules(),n=QJ(c,d),r=t.length+n*2,i=ZJ(t,s,n,f),f!=null&&i!=null&&(i.excavation!=null&&(t=qJ(t,i.excavation)),a=w("image",{"xlink:href":f.src,height:i.h,width:i.w,x:i.x+n,y:i.y+n,preserveAspectRatio:"none"},null)),o=YJ(t,n)}),()=>{const l=e.bgColor&&KJ,s=e.fgColor&&UJ;return w("svg",{height:e.size,width:e.size,viewBox:`0 0 ${r} ${r}`},[!!e.title&&w("title",null,[e.title]),w("path",{fill:l,d:`M0,0 h${r}v${r}H0z`,"shape-rendering":"crispEdges"},null),w("path",{fill:s,d:o,"shape-rendering":"crispEdges"},null),a])}}}),z9e=se({name:"AQrcode",inheritAttrs:!1,props:E9e(),emits:["refresh"],setup(e,t){let{emit:n,attrs:r,expose:i}=t;const[o]=Ro("QRCode"),{prefixCls:a}=Ee("qrcode",e),[l,s]=P9e(a),[,u]=is(),c=ue();i({toDataURL:(f,h)=>{var v;return(v=c.value)===null||v===void 0?void 0:v.toDataURL(f,h)}});const d=L(()=>{const{value:f,icon:h="",size:v=160,iconSize:p=40,color:g=u.value.colorText,bgColor:m="transparent",errorLevel:y="M"}=e,b={src:h,x:void 0,y:void 0,height:p,width:p,excavate:!0};return{value:f,size:v-(u.value.paddingSM+u.value.lineWidth)*2,level:y,bgColor:m,fgColor:g,imageSettings:h?b:void 0}});return()=>{const f=a.value;return l(w("div",z(z({},r),{},{style:[r.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:d.value.bgColor}],class:[s.value,f,{[`${f}-borderless`]:!e.bordered}]}),[e.status!=="active"&&w("div",{class:`${f}-mask`},[e.status==="loading"&&w(Xa,null,null),e.status==="expired"&&w(Qe,null,[w("p",{class:`${f}-expired`},[o.value.expired]),w(An,{type:"link",onClick:h=>n("refresh",h)},{default:()=>[o.value.refresh],icon:()=>w(D9e,null,null)})]),e.status==="scanned"&&w("p",{class:`${f}-scanned`},[o.value.scanned])]),e.type==="canvas"?w(B9e,z({ref:c},d.value),null):w(F9e,d.value,null)]))}}}),H9e=gn(z9e);function V9e(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:i,bottom:o,left:a}=e.getBoundingClientRect();return r>=0&&a>=0&&i<=t&&o<=n}function W9e(e,t,n,r){const[i,o]=Xt(void 0);Ye(()=>{const c=typeof e.value=="function"?e.value():e.value;o(c||null)},{flush:"post"});const[a,l]=Xt(null),s=()=>{if(!t.value){l(null);return}if(i.value){!V9e(i.value)&&t.value&&i.value.scrollIntoView(r.value);const{left:c,top:d,width:f,height:h}=i.value.getBoundingClientRect(),v={left:c,top:d,width:f,height:h,radius:0};JSON.stringify(a.value)!==JSON.stringify(v)&&l(v)}else l(null)};return tt(()=>{Se([t,i],()=>{s()},{flush:"post",immediate:!0}),window.addEventListener("resize",s)}),ht(()=>{window.removeEventListener("resize",s)}),[L(()=>{var c,d;if(!a.value)return a.value;const f=((c=n.value)===null||c===void 0?void 0:c.offset)||6,h=((d=n.value)===null||d===void 0?void 0:d.radius)||2;return{left:a.value.left-f,top:a.value.top-f,width:a.value.width+f*2,height:a.value.height+f*2,radius:h}}),i]}const j9e=()=>({arrow:Xe([Boolean,Object]),target:Xe([String,Function,Object]),title:Xe([String,Object]),description:Xe([String,Object]),placement:je(),mask:Xe([Object,Boolean],!0),className:{type:String},style:He(),scrollIntoViewOptions:Xe([Boolean,Object])}),e4=()=>_(_({},j9e()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:be(),onFinish:be(),renderPanel:be(),onPrev:be(),onNext:be()}),G9e=se({name:"DefaultPanel",inheritAttrs:!1,props:e4(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:r,current:i,total:o,title:a,description:l,onClose:s,onPrev:u,onNext:c,onFinish:d}=e;return w("div",z(z({},n),{},{class:ce(`${r}-content`,n.class)}),[w("div",{class:`${r}-inner`},[w("button",{type:"button",onClick:s,"aria-label":"Close",class:`${r}-close`},[w("span",{class:`${r}-close-x`},[Gr("×")])]),w("div",{class:`${r}-header`},[w("div",{class:`${r}-title`},[a])]),w("div",{class:`${r}-description`},[l]),w("div",{class:`${r}-footer`},[w("div",{class:`${r}-sliders`},[o>1?[...Array.from({length:o}).keys()].map((f,h)=>w("span",{key:f,class:h===i?"active":""},null)):null]),w("div",{class:`${r}-buttons`},[i!==0?w("button",{class:`${r}-prev-btn`,onClick:u},[Gr("Prev")]):null,i===o-1?w("button",{class:`${r}-finish-btn`,onClick:d},[Gr("Finish")]):w("button",{class:`${r}-next-btn`,onClick:c},[Gr("Next")])])])])])}}}),K9e=G9e,U9e=se({name:"TourStep",inheritAttrs:!1,props:e4(),setup(e,t){let{attrs:n}=t;return()=>{const{current:r,renderPanel:i}=e;return w(Qe,null,[typeof i=="function"?i(_(_({},n),e),r):w(K9e,z(z({},n),e),null)])}}}),X9e=U9e;let b7=0;const Y9e=Xr();function q9e(){let e;return Y9e?(e=b7,b7+=1):e="TEST_OR_SSR",e}function Z9e(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ue("");const t=`vc_unique_${q9e()}`;return e.value||t}const h0={fill:"transparent","pointer-events":"auto"},Q9e=se({name:"TourMask",props:{prefixCls:{type:String},pos:He(),rootClassName:{type:String},showMask:$e(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:$e(),animated:Xe([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const r=Z9e();return()=>{const{prefixCls:i,open:o,rootClassName:a,pos:l,showMask:s,fill:u,animated:c,zIndex:d}=e,f=`${i}-mask-${r}`,h=typeof c=="object"?c==null?void 0:c.placeholder:c;return w(Fm,{visible:o,autoLock:!0},{default:()=>o&&w("div",z(z({},n),{},{class:ce(`${i}-mask`,a,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:"none"},n.style]}),[s?w("svg",{style:{width:"100%",height:"100%"}},[w("defs",null,[w("mask",{id:f},[w("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),l&&w("rect",{x:l.left,y:l.top,rx:l.radius,width:l.width,height:l.height,fill:"black",class:h?`${i}-placeholder-animated`:""},null)])]),w("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:u,mask:`url(#${f})`},null),l&&w(Qe,null,[w("rect",z(z({},h0),{},{x:"0",y:"0",width:"100%",height:l.top}),null),w("rect",z(z({},h0),{},{x:"0",y:"0",width:l.left,height:"100%"}),null),w("rect",z(z({},h0),{},{x:"0",y:l.top+l.height,width:"100%",height:`calc(100vh - ${l.top+l.height}px)`}),null),w("rect",z(z({},h0),{},{x:l.left+l.width,y:"0",width:`calc(100vw - ${l.left+l.width}px)`,height:"100%"}),null)])]):null])})}}}),J9e=Q9e,eHe=[0,0],S7={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function JJ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(S7).forEach(n=>{t[n]=_(_({},S7[n]),{autoArrow:e,targetOffset:eHe})}),t}JJ();var tHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{builtinPlacements:e,popupAlign:t}=kU();return{builtinPlacements:e,popupAlign:t,steps:Ot(),open:$e(),defaultCurrent:{type:Number},current:{type:Number},onChange:be(),onClose:be(),onFinish:be(),mask:Xe([Boolean,Object],!0),arrow:Xe([Boolean,Object],!0),rootClassName:{type:String},placement:je("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:be(),gap:He(),animated:Xe([Boolean,Object]),scrollIntoViewOptions:Xe([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},nHe=se({name:"Tour",inheritAttrs:!1,props:ft(eee(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:r,scrollIntoViewOptions:i,open:o,gap:a,arrow:l}=ja(e),s=ue(),[u,c]=dn(0,{value:L(()=>e.current),defaultValue:t.value}),[d,f]=dn(void 0,{value:L(()=>e.open),postState:C=>u.value<0||u.value>=e.steps.length?!1:C!=null?C:!0}),h=ae(d.value);Ye(()=>{d.value&&!h.value&&c(0),h.value=d.value});const v=L(()=>e.steps[u.value]||{}),p=L(()=>{var C;return(C=v.value.placement)!==null&&C!==void 0?C:n.value}),g=L(()=>{var C;return d.value&&((C=v.value.mask)!==null&&C!==void 0?C:r.value)}),m=L(()=>{var C;return(C=v.value.scrollIntoViewOptions)!==null&&C!==void 0?C:i.value}),[y,b]=W9e(L(()=>v.value.target),o,a,m),S=L(()=>b.value?typeof v.value.arrow=="undefined"?l.value:v.value.arrow:!1),x=L(()=>typeof S.value=="object"?S.value.pointAtCenter:!1);Se(x,()=>{var C;(C=s.value)===null||C===void 0||C.forcePopupAlign()}),Se(u,()=>{var C;(C=s.value)===null||C===void 0||C.forcePopupAlign()});const $=C=>{var T;c(C),(T=e.onChange)===null||T===void 0||T.call(e,C)};return()=>{var C;const{prefixCls:T,steps:I,onClose:P,onFinish:M,rootClassName:O,renderPanel:D,animated:R,zIndex:A}=e,E=tHe(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(b.value===void 0)return null;const k=()=>{f(!1),P==null||P(u.value)},N=typeof g.value=="boolean"?g.value:!!g.value,B=typeof g.value=="boolean"?void 0:g.value,F=()=>b.value||document.body,H=()=>w(X9e,z({arrow:S.value,key:"content",prefixCls:T,total:I.length,renderPanel:D,onPrev:()=>{$(u.value-1)},onNext:()=>{$(u.value+1)},onClose:k,current:u.value,onFinish:()=>{k(),M==null||M()}},v.value),null),V=L(()=>{const X=y.value||L_,Q={};return Object.keys(X).forEach(K=>{typeof X[K]=="number"?Q[K]=`${X[K]}px`:Q[K]=X[K]}),Q});return d.value?w(Qe,null,[w(J9e,{zIndex:A,prefixCls:T,pos:y.value,showMask:N,style:B==null?void 0:B.style,fill:B==null?void 0:B.color,open:d.value,animated:R,rootClassName:O},null),w(Ld,z(z({},E),{},{arrow:!!E.arrow,builtinPlacements:v.value.target?(C=E.builtinPlacements)!==null&&C!==void 0?C:JJ(x.value):void 0,ref:s,popupStyle:v.value.target?v.value.style:_(_({},v.value.style),{position:"fixed",left:L_.left,top:L_.top,transform:"translate(-50%, -50%)"}),popupPlacement:p.value,popupVisible:d.value,popupClassName:ce(O,v.value.className),prefixCls:T,popup:H,forceRender:!1,destroyPopupOnHide:!0,zIndex:A,mask:!1,getTriggerDOMNode:F}),{default:()=>[w(Fm,{visible:d.value,autoLock:!0},{default:()=>[w("div",{class:ce(O,`${T}-target-placeholder`),style:_(_({},V.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),rHe=nHe,iHe=()=>_(_({},eee()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),oHe=()=>_(_({},e4()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),aHe=se({name:"ATourPanel",inheritAttrs:!1,props:oHe(),setup(e,t){let{attrs:n,slots:r}=t;const{current:i,total:o}=ja(e),a=L(()=>i.value===o.value-1),l=u=>{var c;const d=e.prevButtonProps;(c=e.onPrev)===null||c===void 0||c.call(e,u),typeof(d==null?void 0:d.onClick)=="function"&&(d==null||d.onClick())},s=u=>{var c,d;const f=e.nextButtonProps;a.value?(c=e.onFinish)===null||c===void 0||c.call(e,u):(d=e.onNext)===null||d===void 0||d.call(e,u),typeof(f==null?void 0:f.onClick)=="function"&&(f==null||f.onClick())};return()=>{const{prefixCls:u,title:c,onClose:d,cover:f,description:h,type:v,arrow:p}=e,g=e.prevButtonProps,m=e.nextButtonProps;let y;c&&(y=w("div",{class:`${u}-header`},[w("div",{class:`${u}-title`},[c])]));let b;h&&(b=w("div",{class:`${u}-description`},[h]));let S;f&&(S=w("div",{class:`${u}-cover`},[f]));let x;r.indicatorsRender?x=r.indicatorsRender({current:i.value,total:o}):x=[...Array.from({length:o.value}).keys()].map((T,I)=>w("span",{key:T,class:ce(I===i.value&&`${u}-indicator-active`,`${u}-indicator`)},null));const $=v==="primary"?"default":"primary",C={type:"default",ghost:v==="primary"};return w(Md,{componentName:"Tour",defaultLocale:vi.Tour},{default:T=>{var I;return w("div",z(z({},n),{},{class:ce(v==="primary"?`${u}-primary`:"",n.class,`${u}-content`)}),[p&&w("div",{class:`${u}-arrow`,key:"arrow"},null),w("div",{class:`${u}-inner`},[w(Ei,{class:`${u}-close`,onClick:d},null),S,y,b,w("div",{class:`${u}-footer`},[o.value>1&&w("div",{class:`${u}-indicators`},[x]),w("div",{class:`${u}-buttons`},[i.value!==0?w(An,z(z(z({},C),g),{},{onClick:l,size:"small",class:ce(`${u}-prev-btn`,g==null?void 0:g.className)}),{default:()=>[_I(g==null?void 0:g.children)?g.children():(I=g==null?void 0:g.children)!==null&&I!==void 0?I:T.Previous]}):null,w(An,z(z({type:$},m),{},{onClick:s,size:"small",class:ce(`${u}-next-btn`,m==null?void 0:m.className)}),{default:()=>[_I(m==null?void 0:m.children)?m==null?void 0:m.children():a.value?T.Finish:T.Next]})])])])])}})}}}),lHe=aHe,sHe=e=>{let{defaultType:t,steps:n,current:r,defaultCurrent:i}=e;const o=ue(i==null?void 0:i.value),a=L(()=>r==null?void 0:r.value);Se(a,c=>{o.value=c!=null?c:i==null?void 0:i.value},{immediate:!0});const l=c=>{o.value=c},s=L(()=>{var c,d;return typeof o.value=="number"?n&&((d=(c=n.value)===null||c===void 0?void 0:c[o.value])===null||d===void 0?void 0:d.type):t==null?void 0:t.value});return{currentMergedType:L(()=>{var c;return(c=s.value)!==null&&c!==void 0?c:t==null?void 0:t.value}),updateInnerCurrent:l}},uHe=sHe,cHe=e=>{const{componentCls:t,lineHeight:n,padding:r,paddingXS:i,borderRadius:o,borderRadiusXS:a,colorPrimary:l,colorText:s,colorFill:u,indicatorHeight:c,indicatorWidth:d,boxShadowTertiary:f,tourZIndexPopup:h,fontSize:v,colorBgContainer:p,fontWeightStrong:g,marginXS:m,colorTextLightSolid:y,tourBorderRadius:b,colorWhite:S,colorBgTextHover:x,tourCloseSize:$,motionDurationSlow:C,antCls:T}=e;return[{[t]:_(_({},st(e)),{color:s,position:"absolute",zIndex:h,display:"block",visibility:"visible",fontSize:v,lineHeight:n,width:520,"--antd-arrow-background-color":p,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:b,boxShadow:f,position:"relative",backgroundColor:p,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:r,insetInlineEnd:r,color:e.colorIcon,outline:"none",width:$,height:$,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${r+$+i}px ${r}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${r}px ${r}px ${i}px`,[`${t}-title`]:{lineHeight:n,fontSize:v,fontWeight:g}},[`${t}-description`]:{padding:`0 ${r}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${i}px ${r}px ${r}px`,textAlign:"end",borderRadius:`0 0 ${a}px ${a}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:d,height:c,display:"inline-block",borderRadius:"50%",background:u,"&:not(:last-child)":{marginInlineEnd:c},"&-active":{background:l}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${T}-btn`]:{marginInlineStart:m}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":l,[`${t}-inner`]:{color:y,textAlign:"start",textDecoration:"none",backgroundColor:l,borderRadius:o,boxShadow:f,[`${t}-close`]:{color:y},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new zt(y).setAlpha(.15).toRgbString(),"&-active":{background:y}}},[`${t}-prev-btn`]:{color:y,borderColor:new zt(y).setAlpha(.15).toRgbString(),backgroundColor:l,"&:hover":{backgroundColor:new zt(y).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:l,borderColor:"transparent",background:S,"&:hover":{background:new zt(x).onBackground(S).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${C}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(b,kD)}}},BD(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:b,limitVerticalRadius:!0})]},dHe=it("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:r}=e,i=Ue(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*r});return[cHe(i)]});var fHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{steps:p,current:g,type:m,rootClassName:y}=e,b=fHe(e,["steps","current","type","rootClassName"]),S=ce({[`${u.value}-primary`]:h.value==="primary",[`${u.value}-rtl`]:c.value==="rtl"},f.value,y),x=(T,I)=>w(lHe,z(z({},T),{},{type:m,current:I}),{indicatorsRender:i.indicatorsRender}),$=T=>{v(T),r("update:current",T),r("change",T)},C=L(()=>ND({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return d(w(rHe,z(z(z({},n),b),{},{rootClassName:S,prefixCls:u.value,current:g,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:x,onChange:$,steps:p,builtinPlacements:C.value}),null))}}}),vHe=gn(hHe),tee=Symbol("appConfigContext"),pHe=e=>at(tee,e),gHe=()=>Je(tee,{}),nee=Symbol("appContext"),mHe=e=>at(nee,e),yHe=Bt({message:{},notification:{},modal:{}}),bHe=()=>Je(nee,yHe),SHe=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o}}},xHe=it("App",e=>[SHe(e)]),wHe=()=>({rootClassName:String,message:He(),notification:He()}),CHe=()=>bHe(),ug=se({name:"AApp",props:ft(wHe(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("app",e),[i,o]=xHe(r),a=L(()=>ce(o.value,r.value,e.rootClassName)),l=gHe(),s=L(()=>({message:_(_({},l.message),e.message),notification:_(_({},l.notification),e.notification)}));pHe(s.value);const[u,c]=yZ(s.value.message),[d,f]=AZ(s.value.notification),[h,v]=BQ(),p=L(()=>({message:u,notification:d,modal:h}));return mHe(p.value),()=>{var g;return i(w("div",{class:a.value},[v(),c(),f(),(g=n.default)===null||g===void 0?void 0:g.call(n)]))}}});ug.useApp=CHe;ug.install=function(e){e.component(ug.name,ug)};const $He=ug,ree=["wrap","nowrap","wrap-reverse"],iee=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],oee=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],_He=(e,t)=>{const n={};return ree.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},THe=(e,t)=>{const n={};return oee.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},IHe=(e,t)=>{const n={};return iee.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function PHe(e,t){return ce(_(_(_({},_He(e,t)),THe(e,t)),IHe(e,t)))}const MHe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},AHe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},OHe=e=>{const{componentCls:t}=e,n={};return ree.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},DHe=e=>{const{componentCls:t}=e,n={};return oee.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},EHe=e=>{const{componentCls:t}=e,n={};return iee.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},RHe=it("Flex",e=>{const t=Ue(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[MHe(t),AHe(t),OHe(t),DHe(t),EHe(t)]});function x7(e){return["small","middle","large"].includes(e)}const LHe=()=>({prefixCls:je(),vertical:$e(),wrap:je(),justify:je(),align:je(),flex:Xe([Number,String]),gap:Xe([Number,String]),component:tn()});var NHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var c;return[a.value,s.value,PHe(a.value,e),{[`${a.value}-rtl`]:o.value==="rtl",[`${a.value}-gap-${e.gap}`]:x7(e.gap),[`${a.value}-vertical`]:(c=e.vertical)!==null&&c!==void 0?c:i==null?void 0:i.value.vertical}]});return()=>{var c;const{flex:d,gap:f,component:h="div"}=e,v=NHe(e,["flex","gap","component"]),p={};return d&&(p.flex=d),f&&!x7(f)&&(p.gap=`${f}px`),l(w(h,z({class:[r.class,u.value],style:[r.style,p]},yt(v,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),BHe=gn(kHe),w7=Object.freeze(Object.defineProperty({__proto__:null,Affix:xU,Alert:r_e,Anchor:Ic,AnchorLink:PO,App:$He,AutoComplete:_$e,AutoCompleteOptGroup:$$e,AutoCompleteOption:C$e,Avatar:qc,AvatarGroup:lS,BackTop:AS,Badge:Zp,BadgeRibbon:sS,Breadcrumb:Zc,BreadcrumbItem:Gg,BreadcrumbSeparator:mS,Button:An,ButtonGroup:hS,Calendar:JIe,Card:dh,CardGrid:wS,CardMeta:xS,Carousel:tAe,Cascader:_De,CheckableTag:TS,Checkbox:Io,CheckboxGroup:_S,Col:ODe,Collapse:Jp,CollapsePanel:CS,Comment:NDe,Compact:oS,ConfigProvider:VE,DatePicker:s3e,Descriptions:b3e,DescriptionsItem:XZ,DirectoryTree:Jb,Divider:$3e,Drawer:V3e,Dropdown:Ka,DropdownButton:jg,Empty:Hs,Flex:BHe,FloatButton:ou,FloatButtonGroup:MS,Form:Vs,FormItem:uZ,FormItemRest:nS,Grid:ADe,Image:ORe,ImagePreviewGroup:bQ,Input:Jn,InputGroup:aQ,InputNumber:XRe,InputPassword:uQ,InputSearch:lQ,Layout:dLe,LayoutContent:cLe,LayoutFooter:sLe,LayoutHeader:lLe,LayoutSider:uLe,List:e5e,ListItem:$Q,ListItemMeta:wQ,LocaleProvider:hZ,Mentions:x5e,MentionsOption:Yb,Menu:Ln,MenuDivider:Ug,MenuItem:Ua,MenuItemGroup:Kg,Modal:sr,MonthPicker:zb,PageHeader:a6e,Pagination:Qw,Popconfirm:f6e,Popover:FD,Progress:S3,QRCode:H9e,QuarterPicker:Hb,Radio:ai,RadioButton:bS,RadioGroup:gE,RangePicker:Vb,Rate:t8e,Result:w8e,Row:C8e,Segmented:T9e,Select:Kl,SelectOptGroup:S$e,SelectOption:b$e,Skeleton:zr,SkeletonAvatar:TE,SkeletonButton:CE,SkeletonImage:_E,SkeletonInput:$E,SkeletonTitle:Nw,Slider:V8e,Space:VQ,Spin:Xa,Statistic:Pl,StatisticCountdown:H5e,Step:qb,Steps:pNe,SubMenu:md,Switch:_Ne,TabPane:SS,Table:y7e,TableColumn:t1,TableColumnGroup:n1,TableSummary:r1,TableSummaryCell:LS,TableSummaryRow:RS,Tabs:Qc,Tag:zZ,Textarea:JE,TimePicker:gFe,TimeRangePicker:i1,Timeline:sg,TimelineItem:em,Tooltip:Pi,Tour:vHe,Transfer:j7e,Tree:TJ,TreeNode:e1,TreeSelect:vFe,TreeSelectNode:ZP,Typography:$i,TypographyLink:j3,TypographyParagraph:G3,TypographyText:K3,TypographyTitle:U3,Upload:u9e,UploadDragger:s9e,Watermark:m9e,WeekPicker:Fb,message:FE,notification:zE},Symbol.toStringTag,{value:"Module"})),FHe=function(e){return Object.keys(w7).forEach(t=>{const n=w7[t];n.install&&e.use(n)}),e.use(ave.StyleProvider),e.config.globalProperties.$message=FE,e.config.globalProperties.$notification=zE,e.config.globalProperties.$info=sr.info,e.config.globalProperties.$success=sr.success,e.config.globalProperties.$error=sr.error,e.config.globalProperties.$warning=sr.warning,e.config.globalProperties.$confirm=sr.confirm,e.config.globalProperties.$destroyAll=sr.destroyAll,e},zHe={version:lU,install:FHe};/*! ***************************************************************************** + */var Sd;(function(e){class t{static encodeText(l,s){const u=e.QrSegment.makeSegments(l);return t.encodeSegments(u,s)}static encodeBinary(l,s){const u=e.QrSegment.makeBytes(l);return t.encodeSegments([u],s)}static encodeSegments(l,s){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(t.MIN_VERSION<=u&&u<=c&&c<=t.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");let h,v;for(h=u;;h++){const y=t.getNumDataCodewords(h,s)*8,b=o.getTotalBits(l,h);if(b<=y){v=b;break}if(h>=c)throw new RangeError("Data too long")}for(const y of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])f&&v<=t.getNumDataCodewords(h,y)*8&&(s=y);const p=[];for(const y of l){n(y.mode.modeBits,4,p),n(y.numChars,y.mode.numCharCountBits(h),p);for(const b of y.getData())p.push(b)}i(p.length==v);const g=t.getNumDataCodewords(h,s)*8;i(p.length<=g),n(0,Math.min(4,g-p.length),p),n(0,(8-p.length%8)%8,p),i(p.length%8==0);for(let y=236;p.lengthm[b>>>3]|=y<<7-(b&7)),new t(h,s,m,d)}constructor(l,s,u,c){if(this.version=l,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],lt.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=l*4+17;const d=[];for(let h=0;h>>9)*1335;const c=(s<<10|u)^21522;i(c>>>15==0);for(let d=0;d<=5;d++)this.setFunctionModule(8,d,r(c,d));this.setFunctionModule(8,7,r(c,6)),this.setFunctionModule(8,8,r(c,7)),this.setFunctionModule(7,8,r(c,8));for(let d=9;d<15;d++)this.setFunctionModule(14-d,8,r(c,d));for(let d=0;d<8;d++)this.setFunctionModule(this.size-1-d,8,r(c,d));for(let d=8;d<15;d++)this.setFunctionModule(8,this.size-15+d,r(c,d));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let u=0;u<12;u++)l=l<<1^(l>>>11)*7973;const s=this.version<<12|l;i(s>>>18==0);for(let u=0;u<18;u++){const c=r(s,u),d=this.size-11+u%3,f=Math.floor(u/3);this.setFunctionModule(d,f,c),this.setFunctionModule(f,d,c)}}drawFinderPattern(l,s){for(let u=-4;u<=4;u++)for(let c=-4;c<=4;c++){const d=Math.max(Math.abs(c),Math.abs(u)),f=l+c,h=s+u;0<=f&&f{(y!=v-d||S>=h)&&m.push(b[y])});return i(m.length==f),m}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(let c=0;c>>3],7-(s&7)),s++)}}i(s==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&l++):(this.finderPenaltyAddHistory(h,v),f||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),f=this.modules[d][p],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,v)*t.PENALTY_N3}for(let d=0;d5&&l++):(this.finderPenaltyAddHistory(h,v),f||(l+=this.finderPenaltyCountPatterns(v)*t.PENALTY_N3),f=this.modules[p][d],h=1);l+=this.finderPenaltyTerminateAndCount(f,h,v)*t.PENALTY_N3}for(let d=0;df+(h?1:0),s);const u=this.size*this.size,c=Math.ceil(Math.abs(s*20-u*10)/u)-1;return i(0<=c&&c<=9),l+=c*t.PENALTY_N4,i(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,s=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2,u=[6];for(let c=this.size-7;u.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*l+128)*l+64;if(l>=2){const u=Math.floor(l/7)+2;s-=(25*u-10)*u-55,l>=7&&(s-=36)}return i(208<=s&&s<=29648),s}static getNumDataCodewords(l,s){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of l){const d=c^u.shift();u.push(0),s.forEach((f,h)=>u[h]^=t.reedSolomonMultiply(f,d))}return u}static reedSolomonMultiply(l,s){if(l>>>8||s>>>8)throw new RangeError("Byte out of range");let u=0;for(let c=7;c>=0;c--)u=u<<1^(u>>>7)*285,u^=(s>>>c&1)*l;return i(u>>>8==0),u}finderPenaltyCountPatterns(l){const s=l[1];i(s<=this.size*3);const u=s>0&&l[2]==s&&l[3]==s*3&&l[4]==s&&l[5]==s;return(u&&l[0]>=s*4&&l[6]>=s?1:0)+(u&&l[6]>=s*4&&l[0]>=s?1:0)}finderPenaltyTerminateAndCount(l,s,u){return l&&(this.finderPenaltyAddHistory(s,u),s=0),s+=this.size,this.finderPenaltyAddHistory(s,u),this.finderPenaltyCountPatterns(u)}finderPenaltyAddHistory(l,s){s[0]==0&&(l+=this.size),s.pop(),s.unshift(l)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(a,l,s){if(l<0||l>31||a>>>l)throw new RangeError("Value out of range");for(let u=l-1;u>=0;u--)s.push(a>>>u&1)}function r(a,l){return(a>>>l&1)!=0}function i(a){if(!a)throw new Error("Assertion error")}class o{static makeBytes(l){const s=[];for(const u of l)n(u,8,s);return new o(o.Mode.BYTE,l.length,s)}static makeNumeric(l){if(!o.isNumeric(l))throw new RangeError("String contains non-numeric characters");const s=[];for(let u=0;u=1<1&&arguments[1]!==void 0?arguments[1]:0;const n=[];return e.forEach(function(r,i){let o=null;r.forEach(function(a,l){if(!a&&o!==null){n.push(`M${o+t} ${i+t}h${l-o}v1H${o+t}z`),o=null;return}if(l===r.length-1){if(!a)return;o===null?n.push(`M${l+t},${i+t} h1v1H${l+t}z`):n.push(`M${o+t},${i+t} h${l+1-o}v1H${o+t}z`);return}a&&o===null&&(o=l)})}),n.join("")}function qJ(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((i,o)=>o=t.x+t.w?i:!1))}function ZJ(e,t,n,r){if(r==null)return null;const i=e.length+n*2,o=Math.floor(t*k9e),a=i/t,l=(r.width||o)*a,s=(r.height||o)*a,u=r.x==null?e.length/2-l/2:r.x*a,c=r.y==null?e.length/2-s/2:r.y*a;let d=null;if(r.excavate){const f=Math.floor(u),h=Math.floor(c),v=Math.ceil(l+u-f),p=Math.ceil(s+c-h);d={x:f,y:h,w:v,h:p}}return{x:u,y:c,h:s,w:l,excavation:d}}function QJ(e,t){return t!=null?Math.floor(t):e?L9e:N9e}const B9e=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}(),F9e=se({name:"QRCodeCanvas",inheritAttrs:!1,props:_(_({},J3()),{level:String,bgColor:String,fgColor:String,marginSize:Number}),setup(e,t){let{attrs:n,expose:r}=t;const i=L(()=>{var s;return(s=e.imageSettings)===null||s===void 0?void 0:s.src}),o=ae(null),a=ae(null),l=ae(!1);return r({toDataURL:(s,u)=>{var c;return(c=o.value)===null||c===void 0?void 0:c.toDataURL(s,u)}}),Ye(()=>{const{value:s,size:u=QP,level:c=GJ,bgColor:d=KJ,fgColor:f=UJ,includeMargin:h=XJ,marginSize:v,imageSettings:p}=e;if(o.value!=null){const g=o.value,m=g.getContext("2d");if(!m)return;let y=Xf.QrCode.encodeText(s,jJ[c]).getModules();const b=QJ(h,v),S=y.length+b*2,x=ZJ(y,u,b,p),$=a.value,C=l.value&&x!=null&&$!==null&&$.complete&&$.naturalHeight!==0&&$.naturalWidth!==0;C&&x.excavation!=null&&(y=qJ(y,x.excavation));const T=window.devicePixelRatio||1;g.height=g.width=u*T;const I=u/S*T;m.scale(I,I),m.fillStyle=d,m.fillRect(0,0,S,S),m.fillStyle=f,B9e?m.fill(new Path2D(YJ(y,b))):y.forEach(function(P,M){P.forEach(function(O,D){O&&m.fillRect(D+b,M+b,1,1)})}),C&&m.drawImage($,x.x+b,x.y+b,x.w,x.h)}},{flush:"post"}),Se(i,()=>{l.value=!1}),()=>{var s;const u=(s=e.size)!==null&&s!==void 0?s:QP,c={height:`${u}px`,width:`${u}px`};let d=null;return i.value!=null&&(d=w("img",{src:i.value,key:i.value,style:{display:"none"},onLoad:()=>{l.value=!0},ref:a},null)),w(Qe,null,[w("canvas",z(z({},n),{},{style:[c,n.style],ref:o}),null),d])}}}),z9e=se({name:"QRCodeSVG",inheritAttrs:!1,props:_(_({},J3()),{color:String,level:String,bgColor:String,fgColor:String,marginSize:Number,title:String}),setup(e){let t=null,n=null,r=null,i=null,o=null,a=null;return Ye(()=>{const{value:l,size:s=QP,level:u=GJ,includeMargin:c=XJ,marginSize:d,imageSettings:f}=e;t=Xf.QrCode.encodeText(l,jJ[u]).getModules(),n=QJ(c,d),r=t.length+n*2,i=ZJ(t,s,n,f),f!=null&&i!=null&&(i.excavation!=null&&(t=qJ(t,i.excavation)),a=w("image",{"xlink:href":f.src,height:i.h,width:i.w,x:i.x+n,y:i.y+n,preserveAspectRatio:"none"},null)),o=YJ(t,n)}),()=>{const l=e.bgColor&&KJ,s=e.fgColor&&UJ;return w("svg",{height:e.size,width:e.size,viewBox:`0 0 ${r} ${r}`},[!!e.title&&w("title",null,[e.title]),w("path",{fill:l,d:`M0,0 h${r}v${r}H0z`,"shape-rendering":"crispEdges"},null),w("path",{fill:s,d:o,"shape-rendering":"crispEdges"},null),a])}}}),H9e=se({name:"AQrcode",inheritAttrs:!1,props:R9e(),emits:["refresh"],setup(e,t){let{emit:n,attrs:r,expose:i}=t;const[o]=Lo("QRCode"),{prefixCls:a}=Ee("qrcode",e),[l,s]=M9e(a),[,u]=is(),c=ue();i({toDataURL:(f,h)=>{var v;return(v=c.value)===null||v===void 0?void 0:v.toDataURL(f,h)}});const d=L(()=>{const{value:f,icon:h="",size:v=160,iconSize:p=40,color:g=u.value.colorText,bgColor:m="transparent",errorLevel:y="M"}=e,b={src:h,x:void 0,y:void 0,height:p,width:p,excavate:!0};return{value:f,size:v-(u.value.paddingSM+u.value.lineWidth)*2,level:y,bgColor:m,fgColor:g,imageSettings:h?b:void 0}});return()=>{const f=a.value;return l(w("div",z(z({},r),{},{style:[r.style,{width:`${e.size}px`,height:`${e.size}px`,backgroundColor:d.value.bgColor}],class:[s.value,f,{[`${f}-borderless`]:!e.bordered}]}),[e.status!=="active"&&w("div",{class:`${f}-mask`},[e.status==="loading"&&w(Ya,null,null),e.status==="expired"&&w(Qe,null,[w("p",{class:`${f}-expired`},[o.value.expired]),w(An,{type:"link",onClick:h=>n("refresh",h)},{default:()=>[o.value.refresh],icon:()=>w(E9e,null,null)})]),e.status==="scanned"&&w("p",{class:`${f}-scanned`},[o.value.scanned])]),e.type==="canvas"?w(F9e,z({ref:c},d.value),null):w(z9e,d.value,null)]))}}}),V9e=gn(H9e);function W9e(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:i,bottom:o,left:a}=e.getBoundingClientRect();return r>=0&&a>=0&&i<=t&&o<=n}function j9e(e,t,n,r){const[i,o]=Xt(void 0);Ye(()=>{const c=typeof e.value=="function"?e.value():e.value;o(c||null)},{flush:"post"});const[a,l]=Xt(null),s=()=>{if(!t.value){l(null);return}if(i.value){!W9e(i.value)&&t.value&&i.value.scrollIntoView(r.value);const{left:c,top:d,width:f,height:h}=i.value.getBoundingClientRect(),v={left:c,top:d,width:f,height:h,radius:0};JSON.stringify(a.value)!==JSON.stringify(v)&&l(v)}else l(null)};return tt(()=>{Se([t,i],()=>{s()},{flush:"post",immediate:!0}),window.addEventListener("resize",s)}),ht(()=>{window.removeEventListener("resize",s)}),[L(()=>{var c,d;if(!a.value)return a.value;const f=((c=n.value)===null||c===void 0?void 0:c.offset)||6,h=((d=n.value)===null||d===void 0?void 0:d.radius)||2;return{left:a.value.left-f,top:a.value.top-f,width:a.value.width+f*2,height:a.value.height+f*2,radius:h}}),i]}const G9e=()=>({arrow:Xe([Boolean,Object]),target:Xe([String,Function,Object]),title:Xe([String,Object]),description:Xe([String,Object]),placement:je(),mask:Xe([Object,Boolean],!0),className:{type:String},style:He(),scrollIntoViewOptions:Xe([Boolean,Object])}),e4=()=>_(_({},G9e()),{prefixCls:{type:String},total:{type:Number},current:{type:Number},onClose:be(),onFinish:be(),renderPanel:be(),onPrev:be(),onNext:be()}),K9e=se({name:"DefaultPanel",inheritAttrs:!1,props:e4(),setup(e,t){let{attrs:n}=t;return()=>{const{prefixCls:r,current:i,total:o,title:a,description:l,onClose:s,onPrev:u,onNext:c,onFinish:d}=e;return w("div",z(z({},n),{},{class:ce(`${r}-content`,n.class)}),[w("div",{class:`${r}-inner`},[w("button",{type:"button",onClick:s,"aria-label":"Close",class:`${r}-close`},[w("span",{class:`${r}-close-x`},[Gr("×")])]),w("div",{class:`${r}-header`},[w("div",{class:`${r}-title`},[a])]),w("div",{class:`${r}-description`},[l]),w("div",{class:`${r}-footer`},[w("div",{class:`${r}-sliders`},[o>1?[...Array.from({length:o}).keys()].map((f,h)=>w("span",{key:f,class:h===i?"active":""},null)):null]),w("div",{class:`${r}-buttons`},[i!==0?w("button",{class:`${r}-prev-btn`,onClick:u},[Gr("Prev")]):null,i===o-1?w("button",{class:`${r}-finish-btn`,onClick:d},[Gr("Finish")]):w("button",{class:`${r}-next-btn`,onClick:c},[Gr("Next")])])])])])}}}),U9e=K9e,X9e=se({name:"TourStep",inheritAttrs:!1,props:e4(),setup(e,t){let{attrs:n}=t;return()=>{const{current:r,renderPanel:i}=e;return w(Qe,null,[typeof i=="function"?i(_(_({},n),e),r):w(U9e,z(z({},n),e),null)])}}}),Y9e=X9e;let b7=0;const q9e=Xr();function Z9e(){let e;return q9e?(e=b7,b7+=1):e="TEST_OR_SSR",e}function Q9e(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ue("");const t=`vc_unique_${Z9e()}`;return e.value||t}const h0={fill:"transparent","pointer-events":"auto"},J9e=se({name:"TourMask",props:{prefixCls:{type:String},pos:He(),rootClassName:{type:String},showMask:$e(),fill:{type:String,default:"rgba(0,0,0,0.5)"},open:$e(),animated:Xe([Boolean,Object]),zIndex:{type:Number}},setup(e,t){let{attrs:n}=t;const r=Q9e();return()=>{const{prefixCls:i,open:o,rootClassName:a,pos:l,showMask:s,fill:u,animated:c,zIndex:d}=e,f=`${i}-mask-${r}`,h=typeof c=="object"?c==null?void 0:c.placeholder:c;return w(Fm,{visible:o,autoLock:!0},{default:()=>o&&w("div",z(z({},n),{},{class:ce(`${i}-mask`,a,n.class),style:[{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:d,pointerEvents:"none"},n.style]}),[s?w("svg",{style:{width:"100%",height:"100%"}},[w("defs",null,[w("mask",{id:f},[w("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"},null),l&&w("rect",{x:l.left,y:l.top,rx:l.radius,width:l.width,height:l.height,fill:"black",class:h?`${i}-placeholder-animated`:""},null)])]),w("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:u,mask:`url(#${f})`},null),l&&w(Qe,null,[w("rect",z(z({},h0),{},{x:"0",y:"0",width:"100%",height:l.top}),null),w("rect",z(z({},h0),{},{x:"0",y:"0",width:l.left,height:"100%"}),null),w("rect",z(z({},h0),{},{x:"0",y:l.top+l.height,width:"100%",height:`calc(100vh - ${l.top+l.height}px)`}),null),w("rect",z(z({},h0),{},{x:l.left+l.width,y:"0",width:`calc(100vw - ${l.left+l.width}px)`,height:"100%"}),null)])]):null])})}}}),eHe=J9e,tHe=[0,0],S7={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function JJ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const t={};return Object.keys(S7).forEach(n=>{t[n]=_(_({},S7[n]),{autoArrow:e,targetOffset:tHe})}),t}JJ();var nHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{builtinPlacements:e,popupAlign:t}=kU();return{builtinPlacements:e,popupAlign:t,steps:Ot(),open:$e(),defaultCurrent:{type:Number},current:{type:Number},onChange:be(),onClose:be(),onFinish:be(),mask:Xe([Boolean,Object],!0),arrow:Xe([Boolean,Object],!0),rootClassName:{type:String},placement:je("bottom"),prefixCls:{type:String,default:"rc-tour"},renderPanel:be(),gap:He(),animated:Xe([Boolean,Object]),scrollIntoViewOptions:Xe([Boolean,Object],!0),zIndex:{type:Number,default:1001}}},rHe=se({name:"Tour",inheritAttrs:!1,props:ft(eee(),{}),setup(e){const{defaultCurrent:t,placement:n,mask:r,scrollIntoViewOptions:i,open:o,gap:a,arrow:l}=Ga(e),s=ue(),[u,c]=dn(0,{value:L(()=>e.current),defaultValue:t.value}),[d,f]=dn(void 0,{value:L(()=>e.open),postState:C=>u.value<0||u.value>=e.steps.length?!1:C!=null?C:!0}),h=ae(d.value);Ye(()=>{d.value&&!h.value&&c(0),h.value=d.value});const v=L(()=>e.steps[u.value]||{}),p=L(()=>{var C;return(C=v.value.placement)!==null&&C!==void 0?C:n.value}),g=L(()=>{var C;return d.value&&((C=v.value.mask)!==null&&C!==void 0?C:r.value)}),m=L(()=>{var C;return(C=v.value.scrollIntoViewOptions)!==null&&C!==void 0?C:i.value}),[y,b]=j9e(L(()=>v.value.target),o,a,m),S=L(()=>b.value?typeof v.value.arrow=="undefined"?l.value:v.value.arrow:!1),x=L(()=>typeof S.value=="object"?S.value.pointAtCenter:!1);Se(x,()=>{var C;(C=s.value)===null||C===void 0||C.forcePopupAlign()}),Se(u,()=>{var C;(C=s.value)===null||C===void 0||C.forcePopupAlign()});const $=C=>{var T;c(C),(T=e.onChange)===null||T===void 0||T.call(e,C)};return()=>{var C;const{prefixCls:T,steps:I,onClose:P,onFinish:M,rootClassName:O,renderPanel:D,animated:R,zIndex:A}=e,E=nHe(e,["prefixCls","steps","onClose","onFinish","rootClassName","renderPanel","animated","zIndex"]);if(b.value===void 0)return null;const k=()=>{f(!1),P==null||P(u.value)},N=typeof g.value=="boolean"?g.value:!!g.value,B=typeof g.value=="boolean"?void 0:g.value,F=()=>b.value||document.body,H=()=>w(Y9e,z({arrow:S.value,key:"content",prefixCls:T,total:I.length,renderPanel:D,onPrev:()=>{$(u.value-1)},onNext:()=>{$(u.value+1)},onClose:k,current:u.value,onFinish:()=>{k(),M==null||M()}},v.value),null),V=L(()=>{const X=y.value||L_,Q={};return Object.keys(X).forEach(K=>{typeof X[K]=="number"?Q[K]=`${X[K]}px`:Q[K]=X[K]}),Q});return d.value?w(Qe,null,[w(eHe,{zIndex:A,prefixCls:T,pos:y.value,showMask:N,style:B==null?void 0:B.style,fill:B==null?void 0:B.color,open:d.value,animated:R,rootClassName:O},null),w(Nd,z(z({},E),{},{arrow:!!E.arrow,builtinPlacements:v.value.target?(C=E.builtinPlacements)!==null&&C!==void 0?C:JJ(x.value):void 0,ref:s,popupStyle:v.value.target?v.value.style:_(_({},v.value.style),{position:"fixed",left:L_.left,top:L_.top,transform:"translate(-50%, -50%)"}),popupPlacement:p.value,popupVisible:d.value,popupClassName:ce(O,v.value.className),prefixCls:T,popup:H,forceRender:!1,destroyPopupOnHide:!0,zIndex:A,mask:!1,getTriggerDOMNode:F}),{default:()=>[w(Fm,{visible:d.value,autoLock:!0},{default:()=>[w("div",{class:ce(O,`${T}-target-placeholder`),style:_(_({},V.value),{position:"fixed",pointerEvents:"none"})},null)]})]})]):null}}}),iHe=rHe,oHe=()=>_(_({},eee()),{steps:{type:Array},prefixCls:{type:String},current:{type:Number},type:{type:String},"onUpdate:current":Function}),aHe=()=>_(_({},e4()),{cover:{type:Object},nextButtonProps:{type:Object},prevButtonProps:{type:Object},current:{type:Number},type:{type:String}}),lHe=se({name:"ATourPanel",inheritAttrs:!1,props:aHe(),setup(e,t){let{attrs:n,slots:r}=t;const{current:i,total:o}=Ga(e),a=L(()=>i.value===o.value-1),l=u=>{var c;const d=e.prevButtonProps;(c=e.onPrev)===null||c===void 0||c.call(e,u),typeof(d==null?void 0:d.onClick)=="function"&&(d==null||d.onClick())},s=u=>{var c,d;const f=e.nextButtonProps;a.value?(c=e.onFinish)===null||c===void 0||c.call(e,u):(d=e.onNext)===null||d===void 0||d.call(e,u),typeof(f==null?void 0:f.onClick)=="function"&&(f==null||f.onClick())};return()=>{const{prefixCls:u,title:c,onClose:d,cover:f,description:h,type:v,arrow:p}=e,g=e.prevButtonProps,m=e.nextButtonProps;let y;c&&(y=w("div",{class:`${u}-header`},[w("div",{class:`${u}-title`},[c])]));let b;h&&(b=w("div",{class:`${u}-description`},[h]));let S;f&&(S=w("div",{class:`${u}-cover`},[f]));let x;r.indicatorsRender?x=r.indicatorsRender({current:i.value,total:o}):x=[...Array.from({length:o.value}).keys()].map((T,I)=>w("span",{key:T,class:ce(I===i.value&&`${u}-indicator-active`,`${u}-indicator`)},null));const $=v==="primary"?"default":"primary",C={type:"default",ghost:v==="primary"};return w(Ad,{componentName:"Tour",defaultLocale:vi.Tour},{default:T=>{var I;return w("div",z(z({},n),{},{class:ce(v==="primary"?`${u}-primary`:"",n.class,`${u}-content`)}),[p&&w("div",{class:`${u}-arrow`,key:"arrow"},null),w("div",{class:`${u}-inner`},[w(Ri,{class:`${u}-close`,onClick:d},null),S,y,b,w("div",{class:`${u}-footer`},[o.value>1&&w("div",{class:`${u}-indicators`},[x]),w("div",{class:`${u}-buttons`},[i.value!==0?w(An,z(z(z({},C),g),{},{onClick:l,size:"small",class:ce(`${u}-prev-btn`,g==null?void 0:g.className)}),{default:()=>[_I(g==null?void 0:g.children)?g.children():(I=g==null?void 0:g.children)!==null&&I!==void 0?I:T.Previous]}):null,w(An,z(z({type:$},m),{},{onClick:s,size:"small",class:ce(`${u}-next-btn`,m==null?void 0:m.className)}),{default:()=>[_I(m==null?void 0:m.children)?m==null?void 0:m.children():a.value?T.Finish:T.Next]})])])])])}})}}}),sHe=lHe,uHe=e=>{let{defaultType:t,steps:n,current:r,defaultCurrent:i}=e;const o=ue(i==null?void 0:i.value),a=L(()=>r==null?void 0:r.value);Se(a,c=>{o.value=c!=null?c:i==null?void 0:i.value},{immediate:!0});const l=c=>{o.value=c},s=L(()=>{var c,d;return typeof o.value=="number"?n&&((d=(c=n.value)===null||c===void 0?void 0:c[o.value])===null||d===void 0?void 0:d.type):t==null?void 0:t.value});return{currentMergedType:L(()=>{var c;return(c=s.value)!==null&&c!==void 0?c:t==null?void 0:t.value}),updateInnerCurrent:l}},cHe=uHe,dHe=e=>{const{componentCls:t,lineHeight:n,padding:r,paddingXS:i,borderRadius:o,borderRadiusXS:a,colorPrimary:l,colorText:s,colorFill:u,indicatorHeight:c,indicatorWidth:d,boxShadowTertiary:f,tourZIndexPopup:h,fontSize:v,colorBgContainer:p,fontWeightStrong:g,marginXS:m,colorTextLightSolid:y,tourBorderRadius:b,colorWhite:S,colorBgTextHover:x,tourCloseSize:$,motionDurationSlow:C,antCls:T}=e;return[{[t]:_(_({},st(e)),{color:s,position:"absolute",zIndex:h,display:"block",visibility:"visible",fontSize:v,lineHeight:n,width:520,"--antd-arrow-background-color":p,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:b,boxShadow:f,position:"relative",backgroundColor:p,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:r,insetInlineEnd:r,color:e.colorIcon,outline:"none",width:$,height:$,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${r+$+i}px ${r}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${r}px ${r}px ${i}px`,[`${t}-title`]:{lineHeight:n,fontSize:v,fontWeight:g}},[`${t}-description`]:{padding:`0 ${r}px`,lineHeight:n,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${i}px ${r}px ${r}px`,textAlign:"end",borderRadius:`0 0 ${a}px ${a}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:d,height:c,display:"inline-block",borderRadius:"50%",background:u,"&:not(:last-child)":{marginInlineEnd:c},"&-active":{background:l}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${T}-btn`]:{marginInlineStart:m}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":l,[`${t}-inner`]:{color:y,textAlign:"start",textDecoration:"none",backgroundColor:l,borderRadius:o,boxShadow:f,[`${t}-close`]:{color:y},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new zt(y).setAlpha(.15).toRgbString(),"&-active":{background:y}}},[`${t}-prev-btn`]:{color:y,borderColor:new zt(y).setAlpha(.15).toRgbString(),backgroundColor:l,"&:hover":{backgroundColor:new zt(y).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:l,borderColor:"transparent",background:S,"&:hover":{background:new zt(x).onBackground(S).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${C}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(b,kD)}}},BD(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:b,limitVerticalRadius:!0})]},fHe=it("Tour",e=>{const{borderRadiusLG:t,fontSize:n,lineHeight:r}=e,i=Ue(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:n*r});return[dHe(i)]});var hHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{steps:p,current:g,type:m,rootClassName:y}=e,b=hHe(e,["steps","current","type","rootClassName"]),S=ce({[`${u.value}-primary`]:h.value==="primary",[`${u.value}-rtl`]:c.value==="rtl"},f.value,y),x=(T,I)=>w(sHe,z(z({},T),{},{type:m,current:I}),{indicatorsRender:i.indicatorsRender}),$=T=>{v(T),r("update:current",T),r("change",T)},C=L(()=>ND({arrowPointAtCenter:!0,autoAdjustOverflow:!0}));return d(w(iHe,z(z(z({},n),b),{},{rootClassName:S,prefixCls:u.value,current:g,defaultCurrent:e.defaultCurrent,animated:!0,renderPanel:x,onChange:$,steps:p,builtinPlacements:C.value}),null))}}}),pHe=gn(vHe),tee=Symbol("appConfigContext"),gHe=e=>at(tee,e),mHe=()=>Je(tee,{}),nee=Symbol("appContext"),yHe=e=>at(nee,e),bHe=Bt({message:{},notification:{},modal:{}}),SHe=()=>Je(nee,bHe),xHe=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o}}},wHe=it("App",e=>[xHe(e)]),CHe=()=>({rootClassName:String,message:He(),notification:He()}),$He=()=>SHe(),cg=se({name:"AApp",props:ft(CHe(),{}),setup(e,t){let{slots:n}=t;const{prefixCls:r}=Ee("app",e),[i,o]=wHe(r),a=L(()=>ce(o.value,r.value,e.rootClassName)),l=mHe(),s=L(()=>({message:_(_({},l.message),e.message),notification:_(_({},l.notification),e.notification)}));gHe(s.value);const[u,c]=yZ(s.value.message),[d,f]=AZ(s.value.notification),[h,v]=BQ(),p=L(()=>({message:u,notification:d,modal:h}));return yHe(p.value),()=>{var g;return i(w("div",{class:a.value},[v(),c(),f(),(g=n.default)===null||g===void 0?void 0:g.call(n)]))}}});cg.useApp=$He;cg.install=function(e){e.component(cg.name,cg)};const _He=cg,ree=["wrap","nowrap","wrap-reverse"],iee=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],oee=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],THe=(e,t)=>{const n={};return ree.forEach(r=>{n[`${e}-wrap-${r}`]=t.wrap===r}),n},IHe=(e,t)=>{const n={};return oee.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},PHe=(e,t)=>{const n={};return iee.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n};function MHe(e,t){return ce(_(_(_({},THe(e,t)),IHe(e,t)),PHe(e,t)))}const AHe=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},OHe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},DHe=e=>{const{componentCls:t}=e,n={};return ree.forEach(r=>{n[`${t}-wrap-${r}`]={flexWrap:r}}),n},EHe=e=>{const{componentCls:t}=e,n={};return oee.forEach(r=>{n[`${t}-align-${r}`]={alignItems:r}}),n},RHe=e=>{const{componentCls:t}=e,n={};return iee.forEach(r=>{n[`${t}-justify-${r}`]={justifyContent:r}}),n},LHe=it("Flex",e=>{const t=Ue(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[AHe(t),OHe(t),DHe(t),EHe(t),RHe(t)]});function x7(e){return["small","middle","large"].includes(e)}const NHe=()=>({prefixCls:je(),vertical:$e(),wrap:je(),justify:je(),align:je(),flex:Xe([Number,String]),gap:Xe([Number,String]),component:tn()});var kHe=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var c;return[a.value,s.value,MHe(a.value,e),{[`${a.value}-rtl`]:o.value==="rtl",[`${a.value}-gap-${e.gap}`]:x7(e.gap),[`${a.value}-vertical`]:(c=e.vertical)!==null&&c!==void 0?c:i==null?void 0:i.value.vertical}]});return()=>{var c;const{flex:d,gap:f,component:h="div"}=e,v=kHe(e,["flex","gap","component"]),p={};return d&&(p.flex=d),f&&!x7(f)&&(p.gap=`${f}px`),l(w(h,z({class:[r.class,u.value],style:[r.style,p]},yt(v,["justify","wrap","align","vertical"])),{default:()=>[(c=n.default)===null||c===void 0?void 0:c.call(n)]}))}}}),FHe=gn(BHe),w7=Object.freeze(Object.defineProperty({__proto__:null,Affix:xU,Alert:i_e,Anchor:Ic,AnchorLink:PO,App:_He,AutoComplete:T$e,AutoCompleteOptGroup:_$e,AutoCompleteOption:$$e,Avatar:qc,AvatarGroup:lS,BackTop:AS,Badge:Qp,BadgeRibbon:sS,Breadcrumb:Zc,BreadcrumbItem:Kg,BreadcrumbSeparator:mS,Button:An,ButtonGroup:hS,Calendar:ePe,Card:fh,CardGrid:wS,CardMeta:xS,Carousel:nAe,Cascader:TDe,CheckableTag:TS,Checkbox:Po,CheckboxGroup:_S,Col:DDe,Collapse:eg,CollapsePanel:CS,Comment:kDe,Compact:oS,ConfigProvider:VE,DatePicker:u3e,Descriptions:S3e,DescriptionsItem:XZ,DirectoryTree:Jb,Divider:_3e,Drawer:W3e,Dropdown:Ua,DropdownButton:Gg,Empty:Hs,Flex:FHe,FloatButton:ou,FloatButtonGroup:MS,Form:Vs,FormItem:uZ,FormItemRest:nS,Grid:ODe,Image:DRe,ImagePreviewGroup:bQ,Input:Jn,InputGroup:aQ,InputNumber:YRe,InputPassword:uQ,InputSearch:lQ,Layout:fLe,LayoutContent:dLe,LayoutFooter:uLe,LayoutHeader:sLe,LayoutSider:cLe,List:t5e,ListItem:$Q,ListItemMeta:wQ,LocaleProvider:hZ,Mentions:w5e,MentionsOption:Yb,Menu:Ln,MenuDivider:Xg,MenuItem:Xa,MenuItemGroup:Ug,Modal:sr,MonthPicker:zb,PageHeader:l6e,Pagination:Qw,Popconfirm:h6e,Popover:FD,Progress:S3,QRCode:V9e,QuarterPicker:Hb,Radio:ai,RadioButton:bS,RadioGroup:gE,RangePicker:Vb,Rate:n8e,Result:C8e,Row:$8e,Segmented:I9e,Select:Ul,SelectOptGroup:x$e,SelectOption:S$e,Skeleton:zr,SkeletonAvatar:TE,SkeletonButton:CE,SkeletonImage:_E,SkeletonInput:$E,SkeletonTitle:Nw,Slider:W8e,Space:VQ,Spin:Ya,Statistic:Ml,StatisticCountdown:V5e,Step:qb,Steps:gNe,SubMenu:md,Switch:TNe,TabPane:SS,Table:b7e,TableColumn:t1,TableColumnGroup:n1,TableSummary:r1,TableSummaryCell:LS,TableSummaryRow:RS,Tabs:Qc,Tag:zZ,Textarea:JE,TimePicker:mFe,TimeRangePicker:i1,Timeline:ug,TimelineItem:tm,Tooltip:Mi,Tour:pHe,Transfer:G7e,Tree:TJ,TreeNode:e1,TreeSelect:pFe,TreeSelectNode:ZP,Typography:_i,TypographyLink:j3,TypographyParagraph:G3,TypographyText:K3,TypographyTitle:U3,Upload:c9e,UploadDragger:u9e,Watermark:y9e,WeekPicker:Fb,message:FE,notification:zE},Symbol.toStringTag,{value:"Module"})),zHe=function(e){return Object.keys(w7).forEach(t=>{const n=w7[t];n.install&&e.use(n)}),e.use(lve.StyleProvider),e.config.globalProperties.$message=FE,e.config.globalProperties.$notification=zE,e.config.globalProperties.$info=sr.info,e.config.globalProperties.$success=sr.success,e.config.globalProperties.$error=sr.error,e.config.globalProperties.$warning=sr.warning,e.config.globalProperties.$confirm=sr.confirm,e.config.globalProperties.$destroyAll=sr.destroyAll,e},HHe={version:lU,install:zHe};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -511,8 +511,8 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var JP=function(e,t){return JP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},JP(e,t)};function ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");JP(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var HHe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),VHe=function(){function e(){this.browser=new HHe,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return e}(),Ds=new VHe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Ds.wxa=!0,Ds.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?Ds.worker=!0:!Ds.hasGlobalWindow||"Deno"in window?(Ds.node=!0,Ds.svgSupported=!0):WHe(navigator.userAgent,Ds);function WHe(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document!="undefined";var l=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}const Wt=Ds;var t4=12,aee="sans-serif",pu=t4+"px "+aee,jHe=20,GHe=100,KHe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function UHe(e){var t={};if(typeof JSON=="undefined")return t;for(var n=0;n=0)l=a*n.length;else for(var s=0;s>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[u]+":0",r[1-s]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function gVe(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],l=[],s=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,f=c.left,h=c.top;a.push(f,h),s=s&&o&&f===o[d]&&h===o[d+1],l.push(e[u].offsetLeft,e[u].offsetTop)}return s&&i?i:(t.srcCoords=a,t[r]=n?T7(l,a):T7(a,l))}function hee(e){return e.nodeName.toUpperCase()==="CANVAS"}var mVe=/([&<>"'])/g,yVe={"&":"&","<":"<",">":">",'"':""","'":"'"};function jr(e){return e==null?"":(e+"").replace(mVe,function(t,n){return yVe[n]})}var bVe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,k_=[],SVe=Wt.browser.firefox&&+Wt.browser.version.split(".")[0]<39;function aM(e,t,n,r){return n=n||{},r?P7(e,t,n):SVe&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):P7(e,t,n),n}function P7(e,t,n){if(Wt.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(hee(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=i-o.top;return}else if(oM(k_,e,r,i)){n.zrX=k_[0],n.zrY=k_[1];return}}n.zrX=n.zrY=0}function s4(e){return e||window.event}function go(e,t,n){if(t=s4(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&aM(e,a,t,n)}else{aM(e,t,t,n);var o=xVe(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&bVe.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function xVe(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r!==0?r:n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function lM(e,t,n,r){e.addEventListener(t,n,r)}function wVe(e,t,n,r){e.removeEventListener(t,n,r)}var Xl=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function M7(e){return e.which===2||e.which===3}var CVe=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:n,event:t},a=0,l=i.length;a1&&r&&r.length>1){var o=A7(r)/A7(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=$Ve(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function Yi(){return[1,0,0,1,0,0]}function fC(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function u4(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Nl(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],l=t[0]*n[4]+t[2]*n[5]+t[4],s=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=l,e[5]=s,e}function el(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Hd(e,t,n,r){r===void 0&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],l=t[1],s=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=i*d+l*c,e[1]=-i*c+l*d,e[2]=o*d+s*c,e[3]=-o*c+d*s,e[4]=d*(a-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(a-r[0])+r[1],e}function c4(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function fv(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],l=t[5],s=n*a-o*r;return s?(s=1/s,e[0]=a*s,e[1]=-o*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*l-a*i)*s,e[5]=(o*i-n*l)*s,e):null}function _Ve(e){var t=Yi();return u4(t,e),t}var TVe=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,i){t.x=n.x+r.x*i,t.y=n.y+r.y*i},e.lerp=function(t,n,r,i){var o=1-i;t.x=o*n.x+i*r.x,t.y=o*n.y+i*r.y},e}();const wt=TVe;var p0=Math.min,g0=Math.max,Gu=new wt,Ku=new wt,Uu=new wt,Xu=new wt,zv=new wt,Hv=new wt,IVe=function(){function e(t,n,r,i){r<0&&(t=t+r,r=-r),i<0&&(n=n+i,i=-i),this.x=t,this.y=n,this.width=r,this.height=i}return e.prototype.union=function(t){var n=p0(t.x,this.x),r=p0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=g0(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=g0(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,i=t.height/n.height,o=Yi();return el(o,o,[-n.x,-n.y]),c4(o,o,[r,i]),el(o,o,[t.x,t.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,l=r.y+r.height,s=t.x,u=t.x+t.width,c=t.y,d=t.y+t.height,f=!(ov&&(v=b,pv&&(v=S,m=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],l=r[5];t.x=n.x*i+a,t.y=n.y*o+l,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Gu.x=Uu.x=n.x,Gu.y=Xu.y=n.y,Ku.x=Xu.x=n.x+n.width,Ku.y=Uu.y=n.y+n.height,Gu.transform(r),Xu.transform(r),Ku.transform(r),Uu.transform(r),t.x=p0(Gu.x,Ku.x,Uu.x,Xu.x),t.y=p0(Gu.y,Ku.y,Uu.y,Xu.y);var s=g0(Gu.x,Ku.x,Uu.x,Xu.x),u=g0(Gu.y,Ku.y,Uu.y,Xu.y);t.width=s-t.x,t.height=u-t.y},e}();const $t=IVe;var vee="silent";function PVe(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:MVe}}function MVe(){Xl(this.event)}var AVe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Lo),Vv=function(){function e(t,n){this.x=t,this.y=n}return e}(),OVe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],F_=new $t(0,0,0,0),pee=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this)||this;return l._hovered=new Vv(0,0),l.storage=n,l.painter=r,l.painterRoot=o,l._pointerSize=a,i=i||new AVe,l.proxy=null,l.setHandlerProxy(i),l._draggingMgr=new dVe(l),l}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(j(OVe,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,i=n.zrY,o=gee(this,r,i),a=this._hovered,l=a.target;l&&!l.__zr&&(a=this.findHover(a.x,a.y),l=a.target);var s=this._hovered=o?new Vv(r,i):this.findHover(r,i),u=s.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),l&&u!==l&&this.dispatchToElement(a,"mouseout",n),this.dispatchToElement(s,"mousemove",n),u&&u!==l&&this.dispatchToElement(s,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new Vv(0,0)},t.prototype.dispatch=function(n,r){var i=this[n];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,i){n=n||{};var o=n.target;if(!(o&&o.silent)){for(var a="on"+r,l=PVe(r,n,i);o&&(o[a]&&(l.cancelBubble=!!o[a].call(o,l)),o.trigger(r,l),o=o.__hostTarget?o.__hostTarget:o.parent,!l.cancelBubble););l.cancelBubble||(this.trigger(r,l),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,l),s.trigger&&s.trigger(r,l)}))}},t.prototype.findHover=function(n,r,i){var o=this.storage.getDisplayList(),a=new Vv(n,r);if(O7(o,a,n,r,i),this._pointerSize&&!a.target){for(var l=[],s=this._pointerSize,u=s/2,c=new $t(n-u,r-u,s,s),d=o.length-1;d>=0;d--){var f=o[d];f!==i&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(F_.copy(f.getBoundingRect()),f.transform&&F_.applyTransform(f.transform),F_.intersect(c)&&l.push(f))}if(l.length)for(var h=4,v=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(o,e,t)}});function DVe(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var l=r.__hostTarget;r=l||r.parent}return i?vee:!0}return!1}function O7(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],l=void 0;if(a!==i&&!a.ignore&&(l=DVe(a,n,r))&&(!t.topTarget&&(t.topTarget=a),l!==vee)){t.target=a;break}}}function gee(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}const EVe=pee;var mee=32,Wv=7;function RVe(e){for(var t=0;e>=mee;)t|=e&1,e>>=1;return e+t}function D7(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function LVe(e,t,n){for(n--;t>>1,i(o,e[s])<0?l=s:a=s+1;var u=r-a;switch(u){case 3:e[a+3]=e[a+2];case 2:e[a+2]=e[a+1];case 1:e[a+1]=e[a];break;default:for(;u>0;)e[a+u]=e[a+u-1],u--}e[a]=o}}function z_(e,t,n,r,i,o){var a=0,l=0,s=1;if(o(e,t[n+i])>0){for(l=r-i;s0;)a=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),a+=i,s+=i}else{for(l=i+1;sl&&(s=l);var u=a;a=i-s,s=i-u}for(a++;a>>1);o(e,t[n+c])>0?a=c+1:s=c}return s}function H_(e,t,n,r,i,o){var a=0,l=0,s=1;if(o(e,t[n+i])<0){for(l=i+1;sl&&(s=l);var u=a;a=i-s,s=i-u}else{for(l=r-i;s=0;)a=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),a+=i,s+=i}for(a++;a>>1);o(e,t[n+c])<0?s=c:a=c+1}return s}function NVe(e,t){var n=Wv,r,i,o=0,a=[];r=[],i=[];function l(h,v){r[o]=h,i[o]=v,o+=1}function s(){for(;o>1;){var h=o-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]i[h+1])break;c(h)}}function u(){for(;o>1;){var h=o-2;h>0&&i[h-1]=Wv||C>=Wv);if(T)break;x<0&&(x=0),x+=2}if(n=x,n<1&&(n=1),v===1){for(m=0;m=0;m--)e[$+m]=e[x+m];e[S]=a[b];return}for(var C=n;;){var T=0,I=0,P=!1;do if(t(a[b],e[y])<0){if(e[S--]=e[y--],T++,I=0,--v===0){P=!0;break}}else if(e[S--]=a[b--],I++,T=0,--g===1){P=!0;break}while((T|I)=0;m--)e[$+m]=e[x+m];if(v===0){P=!0;break}}if(e[S--]=a[b--],--g===1){P=!0;break}if(I=g-z_(e[y],a,0,g,g-1,t),I!==0){for(S-=I,b-=I,g-=I,$=S+1,x=b+1,m=0;m=Wv||I>=Wv);if(P)break;C<0&&(C=0),C+=2}if(n=C,n<1&&(n=1),g===1){for(S-=v,y-=v,$=S+1,x=y+1,m=v-1;m>=0;m--)e[$+m]=e[x+m];e[S]=a[b]}else{if(g===0)throw new Error;for(x=S-(g-1),m=0;ml&&(s=l),E7(e,n,n+s,n+o,t),o=s}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(i!==0);a.forceMergeRuns()}}var ji=1,xp=2,Lf=4,R7=!1;function V_(){R7||(R7=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L7(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var kVe=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L7}return e.prototype.traverse=function(t,n){for(var r=0;r0&&(c.__clipPaths=[]),isNaN(c.z)&&(V_(),c.z=0),isNaN(c.z2)&&(V_(),c.z2=0),isNaN(c.zlevel)&&(V_(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,n,r);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const BVe=kVe;var yee;yee=Wt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const sM=yee;var d1={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-d1.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?d1.bounceIn(e*2)*.5:d1.bounceOut(e*2-1)*.5+.5}};const bee=d1;var m0=Math.pow,au=Math.sqrt,kS=1e-8,See=1e-4,N7=au(3),y0=1/3,ka=zd(),So=zd(),ph=zd();function qs(e){return e>-kS&&ekS||e<-kS}function lr(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function k7(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function BS(e,t,n,r,i,o){var a=r+3*(t-n)-e,l=3*(n-t*2+e),s=3*(t-e),u=e-i,c=l*l-3*a*s,d=l*s-9*a*u,f=s*s-3*l*u,h=0;if(qs(c)&&qs(d))if(qs(l))o[0]=0;else{var v=-s/l;v>=0&&v<=1&&(o[h++]=v)}else{var p=d*d-4*c*f;if(qs(p)){var g=d/c,v=-l/a+g,m=-g/2;v>=0&&v<=1&&(o[h++]=v),m>=0&&m<=1&&(o[h++]=m)}else if(p>0){var y=au(p),b=c*l+1.5*a*(-d+y),S=c*l+1.5*a*(-d-y);b<0?b=-m0(-b,y0):b=m0(b,y0),S<0?S=-m0(-S,y0):S=m0(S,y0);var v=(-l-(b+S))/(3*a);v>=0&&v<=1&&(o[h++]=v)}else{var x=(2*c*l-3*a*d)/(2*au(c*c*c)),$=Math.acos(x)/3,C=au(c),T=Math.cos($),v=(-l-2*C*T)/(3*a),m=(-l+C*(T+N7*Math.sin($)))/(3*a),I=(-l+C*(T-N7*Math.sin($)))/(3*a);v>=0&&v<=1&&(o[h++]=v),m>=0&&m<=1&&(o[h++]=m),I>=0&&I<=1&&(o[h++]=I)}}return h}function wee(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,l=3*t-3*e,s=0;if(qs(a)){if(xee(o)){var u=-l/o;u>=0&&u<=1&&(i[s++]=u)}}else{var c=o*o-4*a*l;if(qs(c))i[0]=-o/(2*a);else if(c>0){var d=au(c),u=(-o+d)/(2*a),f=(-o-d)/(2*a);u>=0&&u<=1&&(i[s++]=u),f>=0&&f<=1&&(i[s++]=f)}}return s}function mu(e,t,n,r,i,o){var a=(t-e)*i+e,l=(n-t)*i+t,s=(r-n)*i+n,u=(l-a)*i+a,c=(s-l)*i+l,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=s,o[7]=r}function Cee(e,t,n,r,i,o,a,l,s,u,c){var d,f=.005,h=1/0,v,p,g,m;ka[0]=s,ka[1]=u;for(var y=0;y<1;y+=.05)So[0]=lr(e,n,i,a,y),So[1]=lr(t,r,o,l,y),g=td(ka,So),g=0&&g=0&&u<=1&&(i[s++]=u)}}else{var c=a*a-4*o*l;if(qs(c)){var u=-a/(2*o);u>=0&&u<=1&&(i[s++]=u)}else if(c>0){var d=au(c),u=(-a+d)/(2*o),f=(-a-d)/(2*o);u>=0&&u<=1&&(i[s++]=u),f>=0&&f<=1&&(i[s++]=f)}}return s}function $ee(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function rm(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,l=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=l,i[3]=l,i[4]=a,i[5]=n}function _ee(e,t,n,r,i,o,a,l,s){var u,c=.005,d=1/0;ka[0]=a,ka[1]=l;for(var f=0;f<1;f+=.05){So[0]=mr(e,n,i,f),So[1]=mr(t,r,o,f);var h=td(ka,So);h=0&&h=1?1:BS(0,r,o,1,s,l)&&lr(0,i,a,1,l[0])}}}var WVe=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||kn,this.ondestroy=t.ondestroy||kn,this.onrestart=t.onrestart||kn,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,i=t-this._startTime-this._pausedTime,o=i/r;o<0&&(o=0),o=Math.min(o,1);var a=this.easingFunc,l=a?a(o):o;if(this.onframe(l),o===1)if(this.loop){var s=i%r;this._startTime=t-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Ze(t)?t:bee[t]||d4(t)},e}();const jVe=WVe;var Tee=function(){function e(t){this.value=t}return e}(),GVe=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new Tee(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),KVe=function(){function e(t){this._list=new GVe,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,i=this._map,o=null;if(i[t]==null){var a=r.len(),l=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete i[s.key],o=s.value,this._lastRemovedEntry=s}l?l.value=n:l=new Tee(n),l.key=t,r.insertEntry(l),i[t]=l}return o},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const iy=KVe;var B7={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ta(e){return e=Math.round(e),e<0?0:e>255?255:e}function UVe(e){return e=Math.round(e),e<0?0:e>360?360:e}function im(e){return e<0?0:e>1?1:e}function W_(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?ta(parseFloat(t)/100*255):ta(parseInt(t,10))}function nd(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?im(parseFloat(t)/100):im(parseFloat(t))}function j_(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Zs(e,t,n){return e+(t-e)*n}function vo(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function cM(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var Iee=new iy(20),b0=null;function sf(e,t){b0&&cM(b0,t),b0=Iee.put(e,b0||t.slice())}function qi(e,t){if(e){t=t||[];var n=Iee.get(e);if(n)return cM(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in B7)return cM(t,B7[r]),sf(e,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){vo(t,0,0,0,1);return}return vo(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),sf(e,t),t}else if(i===7||i===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){vo(t,0,0,0,1);return}return vo(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(r.slice(7),16)/255:1),sf(e,t),t}return}var a=r.indexOf("("),l=r.indexOf(")");if(a!==-1&&l+1===i){var s=r.substr(0,a),u=r.substr(a+1,l-(a+1)).split(","),c=1;switch(s){case"rgba":if(u.length!==4)return u.length===3?vo(t,+u[0],+u[1],+u[2],1):vo(t,0,0,0,1);c=nd(u.pop());case"rgb":if(u.length>=3)return vo(t,W_(u[0]),W_(u[1]),W_(u[2]),u.length===3?c:nd(u[3])),sf(e,t),t;vo(t,0,0,0,1);return;case"hsla":if(u.length!==4){vo(t,0,0,0,1);return}return u[3]=nd(u[3]),dM(u,t),sf(e,t),t;case"hsl":if(u.length!==3){vo(t,0,0,0,1);return}return dM(u,t),sf(e,t),t;default:return}}vo(t,0,0,0,1)}}function dM(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=nd(e[1]),i=nd(e[2]),o=i<=.5?i*(r+1):i+r-i*r,a=i*2-o;return t=t||[],vo(t,ta(j_(a,o,n+1/3)*255),ta(j_(a,o,n)*255),ta(j_(a,o,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function XVe(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=o-i,l=(o+i)/2,s,u;if(a===0)s=0,u=0;else{l<.5?u=a/(o+i):u=a/(2-o-i);var c=((o-t)/6+a/2)/a,d=((o-n)/6+a/2)/a,f=((o-r)/6+a/2)/a;t===o?s=f-d:n===o?s=1/3+c-f:r===o&&(s=2/3+d-c),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,u,l];return e[3]!=null&&h.push(e[3]),h}}function fM(e,t){var n=qi(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return kl(n,n.length===4?"rgba":"rgb")}}function G_(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=t[i],l=t[o],s=r-i;return n[0]=ta(Zs(a[0],l[0],s)),n[1]=ta(Zs(a[1],l[1],s)),n[2]=ta(Zs(a[2],l[2],s)),n[3]=im(Zs(a[3],l[3],s)),n}}function YVe(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=qi(t[i]),l=qi(t[o]),s=r-i,u=kl([ta(Zs(a[0],l[0],s)),ta(Zs(a[1],l[1],s)),ta(Zs(a[2],l[2],s)),im(Zs(a[3],l[3],s))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}function dg(e,t,n,r){var i=qi(e);if(e)return i=XVe(i),t!=null&&(i[0]=UVe(t)),n!=null&&(i[1]=nd(n)),r!=null&&(i[2]=nd(r)),kl(dM(i),"rgba")}function FS(e,t){var n=qi(e);if(n&&t!=null)return n[3]=im(t),kl(n,"rgba")}function kl(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function zS(e,t){var n=qi(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var F7=new iy(100);function hM(e){if(Fe(e)){var t=F7.get(e);return t||(t=fM(e,-.1),F7.put(e,t)),t}else if(cC(e)){var n=Te({},e);return n.colorStops=Oe(e.colorStops,function(r){return{offset:r.offset,color:fM(r.color,-.1)}}),n}return e}var HS=Math.round;function om(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=qi(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t==null?1:t}}var z7=1e-4;function Qs(e){return e-z7}function S0(e){return HS(e*1e3)/1e3}function vM(e){return HS(e*1e4)/1e4}function qVe(e){return"matrix("+S0(e[0])+","+S0(e[1])+","+S0(e[2])+","+S0(e[3])+","+vM(e[4])+","+vM(e[5])+")"}var ZVe={left:"start",right:"end",center:"middle",middle:"middle"};function QVe(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function JVe(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function eWe(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function Pee(e){return e&&!!e.image}function tWe(e){return e&&!!e.svgElement}function f4(e){return Pee(e)||tWe(e)}function Mee(e){return e.type==="linear"}function Aee(e){return e.type==="radial"}function Oee(e){return e&&(e.type==="linear"||e.type==="radial")}function hC(e){return"url(#"+e+")"}function Dee(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Eee(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*l1,i=vt(e.scaleX,1),o=vt(e.scaleY,1),a=e.skewX||0,l=e.skewY||0,s=[];return(t||n)&&s.push("translate("+t+"px,"+n+"px)"),r&&s.push("rotate("+r+")"),(i!==1||o!==1)&&s.push("scale("+i+","+o+")"),(a||l)&&s.push("skew("+HS(a*l1)+"deg, "+HS(l*l1)+"deg)"),s.join(" ")}var nWe=function(){return Wt.hasGlobalWindow&&Ze(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),pM=Array.prototype.slice;function xl(e,t,n){return(t-e)*n+e}function K_(e,t,n,r){for(var i=t.length,o=0;or?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},l=o;la;if(l)r.length=a;else for(var s=o;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var i=this.keyframes,o=i.length,a=!1,l=V7,s=n;if(qr(n)){var u=aWe(n);l=u,(u===1&&!Gt(n[0])||u===2&&!Gt(n[0][0]))&&(a=!0)}else if(Gt(n)&&!tm(n))l=w0;else if(Fe(n))if(!isNaN(+n))l=w0;else{var c=qi(n);c&&(s=c,l=wp)}else if(cC(n)){var d=Te({},s);d.colorStops=Oe(n.colorStops,function(h){return{offset:h.offset,color:qi(h.color)}}),Mee(n)?l=gM:Aee(n)&&(l=mM),s=d}o===0?this.valType=l:(l!==this.valType||l===V7)&&(a=!0),this.discrete=this.discrete||a;var f={time:t,value:s,rawValue:n,percent:0};return r&&(f.easing=r,f.easingFunc=Ze(r)?r:bee[r]||d4(r)),i.push(f),f},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(p,g){return p.time-g.time});for(var i=this.valType,o=r.length,a=r[o-1],l=this.discrete,s=C0(i),u=W7(i),c=0;c=0&&!(a[c].percent<=n);c--);c=f(c,l-2)}else{for(c=d;cn);c++);c=f(c-1,l-2)}v=a[c+1],h=a[c]}if(h&&v){this._lastFr=c,this._lastFrP=n;var g=v.percent-h.percent,m=g===0?1:f((n-h.percent)/g,1);v.easingFunc&&(m=v.easingFunc(m));var y=r?this._additiveValue:u?jv:t[s];if((C0(o)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[s]=m<1?h.rawValue:v.rawValue;else if(C0(o))o===h1?K_(y,h[i],v[i],m):rWe(y,h[i],v[i],m);else if(W7(o)){var b=h[i],S=v[i],x=o===gM;t[s]={type:x?"linear":"radial",x:xl(b.x,S.x,m),y:xl(b.y,S.y,m),colorStops:Oe(b.colorStops,function(C,T){var I=S.colorStops[T];return{offset:xl(C.offset,I.offset,m),color:f1(K_([],C.color,I.color,m))}}),global:S.global},x?(t[s].x2=xl(b.x2,S.x2,m),t[s].y2=xl(b.y2,S.y2,m)):t[s].r=xl(b.r,S.r,m)}else if(u)K_(y,h[i],v[i],m),r||(t[s]=f1(y));else{var $=xl(h[i],v[i],m);r?this._additiveValue=$:t[s]=$}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,i=this._additiveValue;n===w0?t[r]=t[r]+i:n===wp?(qi(t[r],jv),x0(jv,jv,i,1),t[r]=f1(jv)):n===h1?x0(t[r],t[r],i,1):n===Ree&&H7(t[r],t[r],i,1)},e}(),h4=function(){function e(t,n,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&i){i4("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,Rt(n),r)},e.prototype.whenWithKeys=function(t,n,r,i){for(var o=this._tracks,a=0;a0&&s.addKeyframe(0,fg(u),i),this._trackKeys.push(l)}s.addKeyframe(t,fg(n[l]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r0)){this._started=1;for(var n=this,r=[],i=this._maxTime||0,o=0;o1){var l=a.pop();o.addKeyframe(l.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}();function Xf(){return new Date().getTime()}var sWe=function(e){ge(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,i=n.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Xf()-this._pausedTime,i=r-this._time,o=this._head;o;){var a=o.next,l=o.step(r,i);l&&(o.ondestroy(),this.removeClip(o)),o=a}this._time=r,n||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(sM(r),!n._paused&&n.update())}sM(r)},t.prototype.start=function(){this._running||(this._time=Xf(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Xf(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Xf()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var i=new h4(n,r.loop);return this.addAnimator(i),i},t}(Lo);const uWe=sWe;var cWe=300,U_=Wt.domSupported,X_=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Oe(e,function(i){var o=i.replace("mouse","pointer");return n.hasOwnProperty(o)?o:i});return{mouse:e,touch:t,pointer:r}}(),j7={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},G7=!1;function yM(e){var t=e.pointerType;return t==="pen"||t==="touch"}function dWe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function Y_(e){e&&(e.zrByTouch=!0)}function fWe(e,t){return go(e.dom,new hWe(e,t),!0)}function Lee(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var hWe=function(){function e(t,n){this.stopPropagation=kn,this.stopImmediatePropagation=kn,this.preventDefault=kn,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),Ko={mousedown:function(e){e=go(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=go(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=go(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=go(this.dom,e);var t=e.toElement||e.relatedTarget;Lee(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){G7=!0,e=go(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){G7||(e=go(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=go(this.dom,e),Y_(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Ko.mousemove.call(this,e),Ko.mousedown.call(this,e)},touchmove:function(e){e=go(this.dom,e),Y_(e),this.handler.processGesture(e,"change"),Ko.mousemove.call(this,e)},touchend:function(e){e=go(this.dom,e),Y_(e),this.handler.processGesture(e,"end"),Ko.mouseup.call(this,e),+new Date-+this.__lastTouchMomentX7||e<-X7}var qu=[],uf=[],Z_=Yi(),Q_=Math.abs,bWe=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Yu(this.rotation)||Yu(this.x)||Yu(this.y)||Yu(this.scaleX-1)||Yu(this.scaleY-1)||Yu(this.skewX)||Yu(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(U7(r),this.invTransform=null);return}r=r||Yi(),n?this.getLocalTransform(r):U7(r),t&&(n?Nl(r,t,r):u4(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(qu);var r=qu[0]<0?-1:1,i=qu[1]<0?-1:1,o=((qu[0]-r)*n+r)/qu[0]||0,a=((qu[1]-i)*n+i)/qu[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||Yi(),fv(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Yi(),Nl(uf,t.invTransform,n),n=uf);var r=this.originX,i=this.originY;(r||i)&&(Z_[4]=r,Z_[5]=i,Nl(uf,n,Z_),uf[4]-=r,uf[5]-=i,n=uf),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&Pr(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&Pr(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&Q_(t[0]-1)>1e-10&&Q_(t[3]-1)>1e-10?Math.sqrt(Q_(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){kee(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,l=t.anchorX,s=t.anchorY,u=t.rotation||0,c=t.x,d=t.y,f=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||i||l||s){var v=r+l,p=i+s;n[4]=-v*o-f*p*a,n[5]=-p*a-h*v*o}else n[4]=n[5]=0;return n[0]=o,n[3]=a,n[1]=h*o,n[2]=f*a,u&&Hd(n,n,u),n[4]+=r+c,n[5]+=i+d,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),tl=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function kee(e,t){for(var n=0;n=0?parseFloat(e)/100*t:parseFloat(e):e}function WS(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,l=o/2,s=n.x,u=n.y,c="left",d="top";if(r instanceof Array)s+=ca(r[0],n.width),u+=ca(r[1],n.height),c=null,d=null;else switch(r){case"left":s-=i,u+=l,c="right",d="middle";break;case"right":s+=i+a,u+=l,d="middle";break;case"top":s+=a/2,u-=i,c="center",d="bottom";break;case"bottom":s+=a/2,u+=o+i,c="center";break;case"inside":s+=a/2,u+=l,c="center",d="middle";break;case"insideLeft":s+=i,u+=l,d="middle";break;case"insideRight":s+=a-i,u+=l,c="right",d="middle";break;case"insideTop":s+=a/2,u+=i,c="center";break;case"insideBottom":s+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":s+=i,u+=i;break;case"insideTopRight":s+=a-i,u+=i,c="right";break;case"insideBottomLeft":s+=i,u+=o-i,d="bottom";break;case"insideBottomRight":s+=a-i,u+=o-i,c="right",d="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=d,e}var J_="__zr_normal__",e2=tl.concat(["ignore"]),SWe=Ja(tl,function(e,t){return e[t]=!0,e},{ignore:!1}),cf={},xWe=new $t(0,0,0,0),v4=function(){function e(t){this.id=uee(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=n.innerTransformable,a=void 0,l=void 0,s=!1;o.parent=i?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=xWe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(cf,r,c):WS(cf,r,c),o.x=cf.x,o.y=cf.y,a=cf.align,l=cf.verticalAlign;var d=r.origin;if(d&&r.rotation!=null){var f=void 0,h=void 0;d==="center"?(f=c.width*.5,h=c.height*.5):(f=ca(d[0],c.width),h=ca(d[1],c.height)),u=!0,o.originX=-o.x+f+(i?0:c.x),o.originY=-o.y+h+(i?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var v=r.offset;v&&(o.x+=v[0],o.y+=v[1],u||(o.originX=-v[0],o.originY=-v[1]));var p=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,b=void 0;p&&this.canBeInsideText()?(m=r.insideFill,y=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),b=!0)):(m=r.outsideFill,y=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),b=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||b!==g.autoStroke||a!==g.align||l!==g.verticalAlign)&&(s=!0,g.fill=m,g.stroke=y,g.autoStroke=b,g.align=a,g.verticalAlign=l,n.setDefaultTextStyle(g)),n.__dirty|=ji,s&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?wM:xM},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&qi(n);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,kl(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},Te(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(nt(t))for(var r=t,i=Rt(r),o=0;o0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(J_,!1,t)},e.prototype.useState=function(t,n,r,i){var o=t===J_,a=this.hasState();if(!(!a&&o)){var l=this.currentStates,s=this.stateTransition;if(!(Tt(l,t)>=0&&(n||l.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){i4("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,f=this._textGuide;return d&&d.useState(t,n,r,c),f&&f.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ji),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,l=a===o.length;if(l){for(var s=0;s0,v);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,n,f),g&&g.useStates(t,n,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ji)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),o=Tt(i,t),a=Tt(i,n)>=0;o>=0?a?i.splice(o,1):i[o]=n:r&&!a&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,o=[],a=0;a0&&n.during&&o[0].during(function(v,p){n.during(p)});for(var f=0;f0||i.force&&!a.length){var T=void 0,I=void 0,P=void 0;if(l){I={},f&&(T={});for(var S=0;S=0&&(i.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=Tt(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,o=i[r];if(n&&n!==this&&n.parent!==this&&n!==o){i[r]=n,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,o=Tt(i,n);return o<0?this:(i.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i18),a&&(n.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document!="undefined";var l=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}const Wt=Ds;var t4=12,aee="sans-serif",pu=t4+"px "+aee,GHe=20,KHe=100,UHe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function XHe(e){var t={};if(typeof JSON=="undefined")return t;for(var n=0;n=0)l=a*n.length;else for(var s=0;s>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[u]+":0",r[1-s]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function mVe(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],l=[],s=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,f=c.left,h=c.top;a.push(f,h),s=s&&o&&f===o[d]&&h===o[d+1],l.push(e[u].offsetLeft,e[u].offsetTop)}return s&&i?i:(t.srcCoords=a,t[r]=n?T7(l,a):T7(a,l))}function hee(e){return e.nodeName.toUpperCase()==="CANVAS"}var yVe=/([&<>"'])/g,bVe={"&":"&","<":"<",">":">",'"':""","'":"'"};function jr(e){return e==null?"":(e+"").replace(yVe,function(t,n){return bVe[n]})}var SVe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,k_=[],xVe=Wt.browser.firefox&&+Wt.browser.version.split(".")[0]<39;function aM(e,t,n,r){return n=n||{},r?P7(e,t,n):xVe&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):P7(e,t,n),n}function P7(e,t,n){if(Wt.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(hee(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=i-o.top;return}else if(oM(k_,e,r,i)){n.zrX=k_[0],n.zrY=k_[1];return}}n.zrX=n.zrY=0}function s4(e){return e||window.event}function mo(e,t,n){if(t=s4(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&aM(e,a,t,n)}else{aM(e,t,t,n);var o=wVe(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&SVe.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function wVe(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r!==0?r:n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function lM(e,t,n,r){e.addEventListener(t,n,r)}function CVe(e,t,n,r){e.removeEventListener(t,n,r)}var Yl=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function M7(e){return e.which===2||e.which===3}var $Ve=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:n,event:t},a=0,l=i.length;a1&&r&&r.length>1){var o=A7(r)/A7(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=_Ve(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function qi(){return[1,0,0,1,0,0]}function fC(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function u4(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function kl(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],l=t[0]*n[4]+t[2]*n[5]+t[4],s=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=l,e[5]=s,e}function tl(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Vd(e,t,n,r){r===void 0&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],l=t[1],s=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=i*d+l*c,e[1]=-i*c+l*d,e[2]=o*d+s*c,e[3]=-o*c+d*s,e[4]=d*(a-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(a-r[0])+r[1],e}function c4(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function hv(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],l=t[5],s=n*a-o*r;return s?(s=1/s,e[0]=a*s,e[1]=-o*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*l-a*i)*s,e[5]=(o*i-n*l)*s,e):null}function TVe(e){var t=qi();return u4(t,e),t}var IVe=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,i){t.x=n.x+r.x*i,t.y=n.y+r.y*i},e.lerp=function(t,n,r,i){var o=1-i;t.x=o*n.x+i*r.x,t.y=o*n.y+i*r.y},e}();const wt=IVe;var p0=Math.min,g0=Math.max,Gu=new wt,Ku=new wt,Uu=new wt,Xu=new wt,Hv=new wt,Vv=new wt,PVe=function(){function e(t,n,r,i){r<0&&(t=t+r,r=-r),i<0&&(n=n+i,i=-i),this.x=t,this.y=n,this.width=r,this.height=i}return e.prototype.union=function(t){var n=p0(t.x,this.x),r=p0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=g0(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=g0(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,i=t.height/n.height,o=qi();return tl(o,o,[-n.x,-n.y]),c4(o,o,[r,i]),tl(o,o,[t.x,t.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,l=r.y+r.height,s=t.x,u=t.x+t.width,c=t.y,d=t.y+t.height,f=!(ov&&(v=b,pv&&(v=S,m=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],l=r[5];t.x=n.x*i+a,t.y=n.y*o+l,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Gu.x=Uu.x=n.x,Gu.y=Xu.y=n.y,Ku.x=Xu.x=n.x+n.width,Ku.y=Uu.y=n.y+n.height,Gu.transform(r),Xu.transform(r),Ku.transform(r),Uu.transform(r),t.x=p0(Gu.x,Ku.x,Uu.x,Xu.x),t.y=p0(Gu.y,Ku.y,Uu.y,Xu.y);var s=g0(Gu.x,Ku.x,Uu.x,Xu.x),u=g0(Gu.y,Ku.y,Uu.y,Xu.y);t.width=s-t.x,t.height=u-t.y},e}();const $t=PVe;var vee="silent";function MVe(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:AVe}}function AVe(){Yl(this.event)}var OVe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(No),Wv=function(){function e(t,n){this.x=t,this.y=n}return e}(),DVe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],F_=new $t(0,0,0,0),pee=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this)||this;return l._hovered=new Wv(0,0),l.storage=n,l.painter=r,l.painterRoot=o,l._pointerSize=a,i=i||new OVe,l.proxy=null,l.setHandlerProxy(i),l._draggingMgr=new fVe(l),l}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(j(DVe,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,i=n.zrY,o=gee(this,r,i),a=this._hovered,l=a.target;l&&!l.__zr&&(a=this.findHover(a.x,a.y),l=a.target);var s=this._hovered=o?new Wv(r,i):this.findHover(r,i),u=s.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),l&&u!==l&&this.dispatchToElement(a,"mouseout",n),this.dispatchToElement(s,"mousemove",n),u&&u!==l&&this.dispatchToElement(s,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new Wv(0,0)},t.prototype.dispatch=function(n,r){var i=this[n];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,i){n=n||{};var o=n.target;if(!(o&&o.silent)){for(var a="on"+r,l=MVe(r,n,i);o&&(o[a]&&(l.cancelBubble=!!o[a].call(o,l)),o.trigger(r,l),o=o.__hostTarget?o.__hostTarget:o.parent,!l.cancelBubble););l.cancelBubble||(this.trigger(r,l),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[a]=="function"&&s[a].call(s,l),s.trigger&&s.trigger(r,l)}))}},t.prototype.findHover=function(n,r,i){var o=this.storage.getDisplayList(),a=new Wv(n,r);if(O7(o,a,n,r,i),this._pointerSize&&!a.target){for(var l=[],s=this._pointerSize,u=s/2,c=new $t(n-u,r-u,s,s),d=o.length-1;d>=0;d--){var f=o[d];f!==i&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(F_.copy(f.getBoundingRect()),f.transform&&F_.applyTransform(f.transform),F_.intersect(c)&&l.push(f))}if(l.length)for(var h=4,v=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(o,e,t)}});function EVe(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var l=r.__hostTarget;r=l||r.parent}return i?vee:!0}return!1}function O7(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],l=void 0;if(a!==i&&!a.ignore&&(l=EVe(a,n,r))&&(!t.topTarget&&(t.topTarget=a),l!==vee)){t.target=a;break}}}function gee(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}const RVe=pee;var mee=32,jv=7;function LVe(e){for(var t=0;e>=mee;)t|=e&1,e>>=1;return e+t}function D7(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function NVe(e,t,n){for(n--;t>>1,i(o,e[s])<0?l=s:a=s+1;var u=r-a;switch(u){case 3:e[a+3]=e[a+2];case 2:e[a+2]=e[a+1];case 1:e[a+1]=e[a];break;default:for(;u>0;)e[a+u]=e[a+u-1],u--}e[a]=o}}function z_(e,t,n,r,i,o){var a=0,l=0,s=1;if(o(e,t[n+i])>0){for(l=r-i;s0;)a=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),a+=i,s+=i}else{for(l=i+1;sl&&(s=l);var u=a;a=i-s,s=i-u}for(a++;a>>1);o(e,t[n+c])>0?a=c+1:s=c}return s}function H_(e,t,n,r,i,o){var a=0,l=0,s=1;if(o(e,t[n+i])<0){for(l=i+1;sl&&(s=l);var u=a;a=i-s,s=i-u}else{for(l=r-i;s=0;)a=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),a+=i,s+=i}for(a++;a>>1);o(e,t[n+c])<0?s=c:a=c+1}return s}function kVe(e,t){var n=jv,r,i,o=0,a=[];r=[],i=[];function l(h,v){r[o]=h,i[o]=v,o+=1}function s(){for(;o>1;){var h=o-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]i[h+1])break;c(h)}}function u(){for(;o>1;){var h=o-2;h>0&&i[h-1]=jv||C>=jv);if(T)break;x<0&&(x=0),x+=2}if(n=x,n<1&&(n=1),v===1){for(m=0;m=0;m--)e[$+m]=e[x+m];e[S]=a[b];return}for(var C=n;;){var T=0,I=0,P=!1;do if(t(a[b],e[y])<0){if(e[S--]=e[y--],T++,I=0,--v===0){P=!0;break}}else if(e[S--]=a[b--],I++,T=0,--g===1){P=!0;break}while((T|I)=0;m--)e[$+m]=e[x+m];if(v===0){P=!0;break}}if(e[S--]=a[b--],--g===1){P=!0;break}if(I=g-z_(e[y],a,0,g,g-1,t),I!==0){for(S-=I,b-=I,g-=I,$=S+1,x=b+1,m=0;m=jv||I>=jv);if(P)break;C<0&&(C=0),C+=2}if(n=C,n<1&&(n=1),g===1){for(S-=v,y-=v,$=S+1,x=y+1,m=v-1;m>=0;m--)e[$+m]=e[x+m];e[S]=a[b]}else{if(g===0)throw new Error;for(x=S-(g-1),m=0;ml&&(s=l),E7(e,n,n+s,n+o,t),o=s}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(i!==0);a.forceMergeRuns()}}var Gi=1,wp=2,Nf=4,R7=!1;function V_(){R7||(R7=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L7(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var BVe=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L7}return e.prototype.traverse=function(t,n){for(var r=0;r0&&(c.__clipPaths=[]),isNaN(c.z)&&(V_(),c.z=0),isNaN(c.z2)&&(V_(),c.z2=0),isNaN(c.zlevel)&&(V_(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,n,r);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const FVe=BVe;var yee;yee=Wt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const sM=yee;var d1={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-d1.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?d1.bounceIn(e*2)*.5:d1.bounceOut(e*2-1)*.5+.5}};const bee=d1;var m0=Math.pow,au=Math.sqrt,kS=1e-8,See=1e-4,N7=au(3),y0=1/3,Ba=Hd(),xo=Hd(),gh=Hd();function qs(e){return e>-kS&&ekS||e<-kS}function lr(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function k7(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function BS(e,t,n,r,i,o){var a=r+3*(t-n)-e,l=3*(n-t*2+e),s=3*(t-e),u=e-i,c=l*l-3*a*s,d=l*s-9*a*u,f=s*s-3*l*u,h=0;if(qs(c)&&qs(d))if(qs(l))o[0]=0;else{var v=-s/l;v>=0&&v<=1&&(o[h++]=v)}else{var p=d*d-4*c*f;if(qs(p)){var g=d/c,v=-l/a+g,m=-g/2;v>=0&&v<=1&&(o[h++]=v),m>=0&&m<=1&&(o[h++]=m)}else if(p>0){var y=au(p),b=c*l+1.5*a*(-d+y),S=c*l+1.5*a*(-d-y);b<0?b=-m0(-b,y0):b=m0(b,y0),S<0?S=-m0(-S,y0):S=m0(S,y0);var v=(-l-(b+S))/(3*a);v>=0&&v<=1&&(o[h++]=v)}else{var x=(2*c*l-3*a*d)/(2*au(c*c*c)),$=Math.acos(x)/3,C=au(c),T=Math.cos($),v=(-l-2*C*T)/(3*a),m=(-l+C*(T+N7*Math.sin($)))/(3*a),I=(-l+C*(T-N7*Math.sin($)))/(3*a);v>=0&&v<=1&&(o[h++]=v),m>=0&&m<=1&&(o[h++]=m),I>=0&&I<=1&&(o[h++]=I)}}return h}function wee(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,l=3*t-3*e,s=0;if(qs(a)){if(xee(o)){var u=-l/o;u>=0&&u<=1&&(i[s++]=u)}}else{var c=o*o-4*a*l;if(qs(c))i[0]=-o/(2*a);else if(c>0){var d=au(c),u=(-o+d)/(2*a),f=(-o-d)/(2*a);u>=0&&u<=1&&(i[s++]=u),f>=0&&f<=1&&(i[s++]=f)}}return s}function mu(e,t,n,r,i,o){var a=(t-e)*i+e,l=(n-t)*i+t,s=(r-n)*i+n,u=(l-a)*i+a,c=(s-l)*i+l,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=s,o[7]=r}function Cee(e,t,n,r,i,o,a,l,s,u,c){var d,f=.005,h=1/0,v,p,g,m;Ba[0]=s,Ba[1]=u;for(var y=0;y<1;y+=.05)xo[0]=lr(e,n,i,a,y),xo[1]=lr(t,r,o,l,y),g=td(Ba,xo),g=0&&g=0&&u<=1&&(i[s++]=u)}}else{var c=a*a-4*o*l;if(qs(c)){var u=-a/(2*o);u>=0&&u<=1&&(i[s++]=u)}else if(c>0){var d=au(c),u=(-a+d)/(2*o),f=(-a-d)/(2*o);u>=0&&u<=1&&(i[s++]=u),f>=0&&f<=1&&(i[s++]=f)}}return s}function $ee(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function im(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,l=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=l,i[3]=l,i[4]=a,i[5]=n}function _ee(e,t,n,r,i,o,a,l,s){var u,c=.005,d=1/0;Ba[0]=a,Ba[1]=l;for(var f=0;f<1;f+=.05){xo[0]=mr(e,n,i,f),xo[1]=mr(t,r,o,f);var h=td(Ba,xo);h=0&&h=1?1:BS(0,r,o,1,s,l)&&lr(0,i,a,1,l[0])}}}var jVe=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||kn,this.ondestroy=t.ondestroy||kn,this.onrestart=t.onrestart||kn,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,i=t-this._startTime-this._pausedTime,o=i/r;o<0&&(o=0),o=Math.min(o,1);var a=this.easingFunc,l=a?a(o):o;if(this.onframe(l),o===1)if(this.loop){var s=i%r;this._startTime=t-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Ze(t)?t:bee[t]||d4(t)},e}();const GVe=jVe;var Tee=function(){function e(t){this.value=t}return e}(),KVe=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new Tee(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),UVe=function(){function e(t){this._list=new KVe,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,i=this._map,o=null;if(i[t]==null){var a=r.len(),l=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete i[s.key],o=s.value,this._lastRemovedEntry=s}l?l.value=n:l=new Tee(n),l.key=t,r.insertEntry(l),i[t]=l}return o},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const iy=UVe;var B7={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function na(e){return e=Math.round(e),e<0?0:e>255?255:e}function XVe(e){return e=Math.round(e),e<0?0:e>360?360:e}function om(e){return e<0?0:e>1?1:e}function W_(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?na(parseFloat(t)/100*255):na(parseInt(t,10))}function nd(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?om(parseFloat(t)/100):om(parseFloat(t))}function j_(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Zs(e,t,n){return e+(t-e)*n}function po(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function cM(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var Iee=new iy(20),b0=null;function uf(e,t){b0&&cM(b0,t),b0=Iee.put(e,b0||t.slice())}function Zi(e,t){if(e){t=t||[];var n=Iee.get(e);if(n)return cM(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in B7)return cM(t,B7[r]),uf(e,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){po(t,0,0,0,1);return}return po(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),uf(e,t),t}else if(i===7||i===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){po(t,0,0,0,1);return}return po(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(r.slice(7),16)/255:1),uf(e,t),t}return}var a=r.indexOf("("),l=r.indexOf(")");if(a!==-1&&l+1===i){var s=r.substr(0,a),u=r.substr(a+1,l-(a+1)).split(","),c=1;switch(s){case"rgba":if(u.length!==4)return u.length===3?po(t,+u[0],+u[1],+u[2],1):po(t,0,0,0,1);c=nd(u.pop());case"rgb":if(u.length>=3)return po(t,W_(u[0]),W_(u[1]),W_(u[2]),u.length===3?c:nd(u[3])),uf(e,t),t;po(t,0,0,0,1);return;case"hsla":if(u.length!==4){po(t,0,0,0,1);return}return u[3]=nd(u[3]),dM(u,t),uf(e,t),t;case"hsl":if(u.length!==3){po(t,0,0,0,1);return}return dM(u,t),uf(e,t),t;default:return}}po(t,0,0,0,1)}}function dM(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=nd(e[1]),i=nd(e[2]),o=i<=.5?i*(r+1):i+r-i*r,a=i*2-o;return t=t||[],po(t,na(j_(a,o,n+1/3)*255),na(j_(a,o,n)*255),na(j_(a,o,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function YVe(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=o-i,l=(o+i)/2,s,u;if(a===0)s=0,u=0;else{l<.5?u=a/(o+i):u=a/(2-o-i);var c=((o-t)/6+a/2)/a,d=((o-n)/6+a/2)/a,f=((o-r)/6+a/2)/a;t===o?s=f-d:n===o?s=1/3+c-f:r===o&&(s=2/3+d-c),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,u,l];return e[3]!=null&&h.push(e[3]),h}}function fM(e,t){var n=Zi(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return Bl(n,n.length===4?"rgba":"rgb")}}function G_(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=t[i],l=t[o],s=r-i;return n[0]=na(Zs(a[0],l[0],s)),n[1]=na(Zs(a[1],l[1],s)),n[2]=na(Zs(a[2],l[2],s)),n[3]=om(Zs(a[3],l[3],s)),n}}function qVe(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=Zi(t[i]),l=Zi(t[o]),s=r-i,u=Bl([na(Zs(a[0],l[0],s)),na(Zs(a[1],l[1],s)),na(Zs(a[2],l[2],s)),om(Zs(a[3],l[3],s))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}function fg(e,t,n,r){var i=Zi(e);if(e)return i=YVe(i),t!=null&&(i[0]=XVe(t)),n!=null&&(i[1]=nd(n)),r!=null&&(i[2]=nd(r)),Bl(dM(i),"rgba")}function FS(e,t){var n=Zi(e);if(n&&t!=null)return n[3]=om(t),Bl(n,"rgba")}function Bl(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function zS(e,t){var n=Zi(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var F7=new iy(100);function hM(e){if(Fe(e)){var t=F7.get(e);return t||(t=fM(e,-.1),F7.put(e,t)),t}else if(cC(e)){var n=Te({},e);return n.colorStops=Oe(e.colorStops,function(r){return{offset:r.offset,color:fM(r.color,-.1)}}),n}return e}var HS=Math.round;function am(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=Zi(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t==null?1:t}}var z7=1e-4;function Qs(e){return e-z7}function S0(e){return HS(e*1e3)/1e3}function vM(e){return HS(e*1e4)/1e4}function ZVe(e){return"matrix("+S0(e[0])+","+S0(e[1])+","+S0(e[2])+","+S0(e[3])+","+vM(e[4])+","+vM(e[5])+")"}var QVe={left:"start",right:"end",center:"middle",middle:"middle"};function JVe(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function eWe(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function tWe(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function Pee(e){return e&&!!e.image}function nWe(e){return e&&!!e.svgElement}function f4(e){return Pee(e)||nWe(e)}function Mee(e){return e.type==="linear"}function Aee(e){return e.type==="radial"}function Oee(e){return e&&(e.type==="linear"||e.type==="radial")}function hC(e){return"url(#"+e+")"}function Dee(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Eee(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*l1,i=vt(e.scaleX,1),o=vt(e.scaleY,1),a=e.skewX||0,l=e.skewY||0,s=[];return(t||n)&&s.push("translate("+t+"px,"+n+"px)"),r&&s.push("rotate("+r+")"),(i!==1||o!==1)&&s.push("scale("+i+","+o+")"),(a||l)&&s.push("skew("+HS(a*l1)+"deg, "+HS(l*l1)+"deg)"),s.join(" ")}var rWe=function(){return Wt.hasGlobalWindow&&Ze(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),pM=Array.prototype.slice;function wl(e,t,n){return(t-e)*n+e}function K_(e,t,n,r){for(var i=t.length,o=0;or?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},l=o;la;if(l)r.length=a;else for(var s=o;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var i=this.keyframes,o=i.length,a=!1,l=V7,s=n;if(qr(n)){var u=lWe(n);l=u,(u===1&&!Gt(n[0])||u===2&&!Gt(n[0][0]))&&(a=!0)}else if(Gt(n)&&!nm(n))l=w0;else if(Fe(n))if(!isNaN(+n))l=w0;else{var c=Zi(n);c&&(s=c,l=Cp)}else if(cC(n)){var d=Te({},s);d.colorStops=Oe(n.colorStops,function(h){return{offset:h.offset,color:Zi(h.color)}}),Mee(n)?l=gM:Aee(n)&&(l=mM),s=d}o===0?this.valType=l:(l!==this.valType||l===V7)&&(a=!0),this.discrete=this.discrete||a;var f={time:t,value:s,rawValue:n,percent:0};return r&&(f.easing=r,f.easingFunc=Ze(r)?r:bee[r]||d4(r)),i.push(f),f},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(p,g){return p.time-g.time});for(var i=this.valType,o=r.length,a=r[o-1],l=this.discrete,s=C0(i),u=W7(i),c=0;c=0&&!(a[c].percent<=n);c--);c=f(c,l-2)}else{for(c=d;cn);c++);c=f(c-1,l-2)}v=a[c+1],h=a[c]}if(h&&v){this._lastFr=c,this._lastFrP=n;var g=v.percent-h.percent,m=g===0?1:f((n-h.percent)/g,1);v.easingFunc&&(m=v.easingFunc(m));var y=r?this._additiveValue:u?Gv:t[s];if((C0(o)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[s]=m<1?h.rawValue:v.rawValue;else if(C0(o))o===h1?K_(y,h[i],v[i],m):iWe(y,h[i],v[i],m);else if(W7(o)){var b=h[i],S=v[i],x=o===gM;t[s]={type:x?"linear":"radial",x:wl(b.x,S.x,m),y:wl(b.y,S.y,m),colorStops:Oe(b.colorStops,function(C,T){var I=S.colorStops[T];return{offset:wl(C.offset,I.offset,m),color:f1(K_([],C.color,I.color,m))}}),global:S.global},x?(t[s].x2=wl(b.x2,S.x2,m),t[s].y2=wl(b.y2,S.y2,m)):t[s].r=wl(b.r,S.r,m)}else if(u)K_(y,h[i],v[i],m),r||(t[s]=f1(y));else{var $=wl(h[i],v[i],m);r?this._additiveValue=$:t[s]=$}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,i=this._additiveValue;n===w0?t[r]=t[r]+i:n===Cp?(Zi(t[r],Gv),x0(Gv,Gv,i,1),t[r]=f1(Gv)):n===h1?x0(t[r],t[r],i,1):n===Ree&&H7(t[r],t[r],i,1)},e}(),h4=function(){function e(t,n,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&i){i4("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,Rt(n),r)},e.prototype.whenWithKeys=function(t,n,r,i){for(var o=this._tracks,a=0;a0&&s.addKeyframe(0,hg(u),i),this._trackKeys.push(l)}s.addKeyframe(t,hg(n[l]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r0)){this._started=1;for(var n=this,r=[],i=this._maxTime||0,o=0;o1){var l=a.pop();o.addKeyframe(l.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}();function Yf(){return new Date().getTime()}var uWe=function(e){ge(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,i=n.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Yf()-this._pausedTime,i=r-this._time,o=this._head;o;){var a=o.next,l=o.step(r,i);l&&(o.ondestroy(),this.removeClip(o)),o=a}this._time=r,n||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(sM(r),!n._paused&&n.update())}sM(r)},t.prototype.start=function(){this._running||(this._time=Yf(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Yf(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Yf()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var i=new h4(n,r.loop);return this.addAnimator(i),i},t}(No);const cWe=uWe;var dWe=300,U_=Wt.domSupported,X_=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Oe(e,function(i){var o=i.replace("mouse","pointer");return n.hasOwnProperty(o)?o:i});return{mouse:e,touch:t,pointer:r}}(),j7={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},G7=!1;function yM(e){var t=e.pointerType;return t==="pen"||t==="touch"}function fWe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function Y_(e){e&&(e.zrByTouch=!0)}function hWe(e,t){return mo(e.dom,new vWe(e,t),!0)}function Lee(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var vWe=function(){function e(t,n){this.stopPropagation=kn,this.stopImmediatePropagation=kn,this.preventDefault=kn,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),Uo={mousedown:function(e){e=mo(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=mo(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=mo(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=mo(this.dom,e);var t=e.toElement||e.relatedTarget;Lee(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){G7=!0,e=mo(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){G7||(e=mo(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=mo(this.dom,e),Y_(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Uo.mousemove.call(this,e),Uo.mousedown.call(this,e)},touchmove:function(e){e=mo(this.dom,e),Y_(e),this.handler.processGesture(e,"change"),Uo.mousemove.call(this,e)},touchend:function(e){e=mo(this.dom,e),Y_(e),this.handler.processGesture(e,"end"),Uo.mouseup.call(this,e),+new Date-+this.__lastTouchMomentX7||e<-X7}var qu=[],cf=[],Z_=qi(),Q_=Math.abs,SWe=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Yu(this.rotation)||Yu(this.x)||Yu(this.y)||Yu(this.scaleX-1)||Yu(this.scaleY-1)||Yu(this.skewX)||Yu(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(U7(r),this.invTransform=null);return}r=r||qi(),n?this.getLocalTransform(r):U7(r),t&&(n?kl(r,t,r):u4(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(qu);var r=qu[0]<0?-1:1,i=qu[1]<0?-1:1,o=((qu[0]-r)*n+r)/qu[0]||0,a=((qu[1]-i)*n+i)/qu[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||qi(),hv(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||qi(),kl(cf,t.invTransform,n),n=cf);var r=this.originX,i=this.originY;(r||i)&&(Z_[4]=r,Z_[5]=i,kl(cf,n,Z_),cf[4]-=r,cf[5]-=i,n=cf),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&Pr(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&Pr(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&Q_(t[0]-1)>1e-10&&Q_(t[3]-1)>1e-10?Math.sqrt(Q_(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){kee(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,l=t.anchorX,s=t.anchorY,u=t.rotation||0,c=t.x,d=t.y,f=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||i||l||s){var v=r+l,p=i+s;n[4]=-v*o-f*p*a,n[5]=-p*a-h*v*o}else n[4]=n[5]=0;return n[0]=o,n[3]=a,n[1]=h*o,n[2]=f*a,u&&Vd(n,n,u),n[4]+=r+c,n[5]+=i+d,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),nl=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function kee(e,t){for(var n=0;n=0?parseFloat(e)/100*t:parseFloat(e):e}function WS(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,l=o/2,s=n.x,u=n.y,c="left",d="top";if(r instanceof Array)s+=da(r[0],n.width),u+=da(r[1],n.height),c=null,d=null;else switch(r){case"left":s-=i,u+=l,c="right",d="middle";break;case"right":s+=i+a,u+=l,d="middle";break;case"top":s+=a/2,u-=i,c="center",d="bottom";break;case"bottom":s+=a/2,u+=o+i,c="center";break;case"inside":s+=a/2,u+=l,c="center",d="middle";break;case"insideLeft":s+=i,u+=l,d="middle";break;case"insideRight":s+=a-i,u+=l,c="right",d="middle";break;case"insideTop":s+=a/2,u+=i,c="center";break;case"insideBottom":s+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":s+=i,u+=i;break;case"insideTopRight":s+=a-i,u+=i,c="right";break;case"insideBottomLeft":s+=i,u+=o-i,d="bottom";break;case"insideBottomRight":s+=a-i,u+=o-i,c="right",d="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=d,e}var J_="__zr_normal__",e2=nl.concat(["ignore"]),xWe=el(nl,function(e,t){return e[t]=!0,e},{ignore:!1}),df={},wWe=new $t(0,0,0,0),v4=function(){function e(t){this.id=uee(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=n.innerTransformable,a=void 0,l=void 0,s=!1;o.parent=i?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=wWe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(df,r,c):WS(df,r,c),o.x=df.x,o.y=df.y,a=df.align,l=df.verticalAlign;var d=r.origin;if(d&&r.rotation!=null){var f=void 0,h=void 0;d==="center"?(f=c.width*.5,h=c.height*.5):(f=da(d[0],c.width),h=da(d[1],c.height)),u=!0,o.originX=-o.x+f+(i?0:c.x),o.originY=-o.y+h+(i?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var v=r.offset;v&&(o.x+=v[0],o.y+=v[1],u||(o.originX=-v[0],o.originY=-v[1]));var p=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,b=void 0;p&&this.canBeInsideText()?(m=r.insideFill,y=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),b=!0)):(m=r.outsideFill,y=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),b=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||b!==g.autoStroke||a!==g.align||l!==g.verticalAlign)&&(s=!0,g.fill=m,g.stroke=y,g.autoStroke=b,g.align=a,g.verticalAlign=l,n.setDefaultTextStyle(g)),n.__dirty|=Gi,s&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?wM:xM},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&Zi(n);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,Bl(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},Te(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(nt(t))for(var r=t,i=Rt(r),o=0;o0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(J_,!1,t)},e.prototype.useState=function(t,n,r,i){var o=t===J_,a=this.hasState();if(!(!a&&o)){var l=this.currentStates,s=this.stateTransition;if(!(Tt(l,t)>=0&&(n||l.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){i4("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,f=this._textGuide;return d&&d.useState(t,n,r,c),f&&f.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Gi),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,l=a===o.length;if(l){for(var s=0;s0,v);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,n,f),g&&g.useStates(t,n,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Gi)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),o=Tt(i,t),a=Tt(i,n)>=0;o>=0?a?i.splice(o,1):i[o]=n:r&&!a&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,o=[],a=0;a0&&n.during&&o[0].during(function(v,p){n.during(p)});for(var f=0;f0||i.force&&!a.length){var T=void 0,I=void 0,P=void 0;if(l){I={},f&&(T={});for(var S=0;S=0&&(i.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=Tt(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,o=i[r];if(n&&n!==this&&n.parent!==this&&n!==o){i[r]=n,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,o=Tt(i,n);return o<0?this:(i.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n0){if(e<=i)return a;if(e>=o)return l}else{if(e>=i)return a;if(e<=o)return l}else{if(e===i)return a;if(e===o)return l}return(e-i)/s*u+a}function Ne(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Fe(e)?DWe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Mn(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),Vee),e=(+e).toFixed(t),n?e:+e}function $o(e){return e.sort(function(t,n){return t-n}),e}function za(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return EWe(e)}function EWe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function Wee(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function RWe(e,t){var n=Ja(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(n===0)return[];for(var r=Math.pow(10,t),i=Oe(e,function(h){return(isNaN(h)?0:h)/n*r*100}),o=r*100,a=Oe(i,function(h){return Math.floor(h)}),l=Ja(a,function(h,v){return h+v},0),s=Oe(i,function(h,v){return h-a[v]});lu&&(u=s[d],c=d);++a[c],s[c]=0,++l}return Oe(a,function(h){return h/r})}function LWe(e,t){var n=Math.max(za(e),za(t)),r=e+t;return n>Vee?r:Mn(r,n)}var J7=9007199254740991;function jee(e){var t=Math.PI*2;return(e%t+t)%t}function am(e){return e>-Q7&&e=10&&t++,t}function Gee(e,t){var n=p4(e),r=Math.pow(10,n),i=e/r,o;return t?i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10:i<1?o=1:i<2?o=2:i<3?o=3:i<5?o=5:o=10,e=o*r,n>=-20?+e.toFixed(n<0?-n:0):e}function r2(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function eF(e){e.sort(function(s,u){return l(s,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r=0||o&&Tt(o,s)<0)){var u=r.getShallow(s,t);u!=null&&(a[e[l][0]]=u)}}return a}}var lje=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],sje=Cd(lje),uje=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return sje(this,t,n)},e}(),_M=new iy(50);function cje(e){if(typeof e=="string"){var t=_M.get(e);return t&&t.image}else return e}function b4(e,t,n,r,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var o=_M.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!gC(t)&&o.pending.push(a)):(t=gu.loadImage(e,iF,iF),t.__zrImageSrc=e,_M.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}else return e;else return t}function iF(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n0){if(e<=i)return a;if(e>=o)return l}else{if(e>=i)return a;if(e<=o)return l}else{if(e===i)return a;if(e===o)return l}return(e-i)/s*u+a}function Ne(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Fe(e)?EWe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Mn(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),Vee),e=(+e).toFixed(t),n?e:+e}function _o(e){return e.sort(function(t,n){return t-n}),e}function Ha(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return RWe(e)}function RWe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function Wee(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function LWe(e,t){var n=el(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(n===0)return[];for(var r=Math.pow(10,t),i=Oe(e,function(h){return(isNaN(h)?0:h)/n*r*100}),o=r*100,a=Oe(i,function(h){return Math.floor(h)}),l=el(a,function(h,v){return h+v},0),s=Oe(i,function(h,v){return h-a[v]});lu&&(u=s[d],c=d);++a[c],s[c]=0,++l}return Oe(a,function(h){return h/r})}function NWe(e,t){var n=Math.max(Ha(e),Ha(t)),r=e+t;return n>Vee?r:Mn(r,n)}var J7=9007199254740991;function jee(e){var t=Math.PI*2;return(e%t+t)%t}function lm(e){return e>-Q7&&e=10&&t++,t}function Gee(e,t){var n=p4(e),r=Math.pow(10,n),i=e/r,o;return t?i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10:i<1?o=1:i<2?o=2:i<3?o=3:i<5?o=5:o=10,e=o*r,n>=-20?+e.toFixed(n<0?-n:0):e}function r2(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function eF(e){e.sort(function(s,u){return l(s,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r=0||o&&Tt(o,s)<0)){var u=r.getShallow(s,t);u!=null&&(a[e[l][0]]=u)}}return a}}var sje=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],uje=Cd(sje),cje=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return uje(this,t,n)},e}(),_M=new iy(50);function dje(e){if(typeof e=="string"){var t=_M.get(e);return t&&t.image}else return e}function b4(e,t,n,r,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var o=_M.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!gC(t)&&o.pending.push(a)):(t=gu.loadImage(e,iF,iF),t.__zrImageSrc=e,_M.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}else return e;else return t}function iF(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=a;s++)l-=a;var u=Zi(n,t);return u>l&&(n="",u=0),l=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=l,i.containerWidth=e,i}function ite(e,t,n){var r=n.containerWidth,i=n.font,o=n.contentWidth;if(!r){e.textLine="",e.isTruncated=!1;return}var a=Zi(t,i);if(a<=r){e.textLine=t,e.isTruncated=!1;return}for(var l=0;;l++){if(a<=o||l>=n.maxIterations){t+=n.ellipsis;break}var s=l===0?fje(t,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(t.length*o/a):0;t=t.substr(0,s),a=Zi(t,i)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function fje(e,t,n,r){for(var i=0,o=0,a=e.length;ov&&u){var p=Math.floor(v/l);c=c||f.length>p,f=f.slice(0,p)}if(e&&o&&d!=null)for(var g=rte(d,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},y=0;yl&&o2(n,e.substring(l,u),t,a),o2(n,s[2],t,a,s[1]),l=i2.lastIndex}li){var D=n.lines.length;$>0?(b.tokens=b.tokens.slice(0,$),m(b,x,S),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length0&&v+r.accumWidth>r.width&&(c=t.split(` +`),e.isTruncated=l}function rte(e,t,n,r){r=r||{};var i=Te({},r);i.font=t,n=vt(n,"..."),i.maxIterations=vt(r.maxIterations,2);var o=i.minChar=vt(r.minChar,0);i.cnCharWidth=Qi("国",t);var a=i.ascCharWidth=Qi("a",t);i.placeholder=vt(r.placeholder,"");for(var l=e=Math.max(0,e-1),s=0;s=a;s++)l-=a;var u=Qi(n,t);return u>l&&(n="",u=0),l=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=l,i.containerWidth=e,i}function ite(e,t,n){var r=n.containerWidth,i=n.font,o=n.contentWidth;if(!r){e.textLine="",e.isTruncated=!1;return}var a=Qi(t,i);if(a<=r){e.textLine=t,e.isTruncated=!1;return}for(var l=0;;l++){if(a<=o||l>=n.maxIterations){t+=n.ellipsis;break}var s=l===0?hje(t,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(t.length*o/a):0;t=t.substr(0,s),a=Qi(t,i)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function hje(e,t,n,r){for(var i=0,o=0,a=e.length;ov&&u){var p=Math.floor(v/l);c=c||f.length>p,f=f.slice(0,p)}if(e&&o&&d!=null)for(var g=rte(d,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},y=0;yl&&o2(n,e.substring(l,u),t,a),o2(n,s[2],t,a,s[1]),l=i2.lastIndex}li){var D=n.lines.length;$>0?(b.tokens=b.tokens.slice(0,$),m(b,x,S),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length0&&v+r.accumWidth>r.width&&(c=t.split(` `),u=!0),r.accumWidth=v}else{var p=ote(t,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=p.accumWidth+h,d=p.linesWidths,c=p.lines}}else c=t.split(` -`);for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var yje=Ja(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function bje(e){return mje(e)?!!yje[e]:!0}function ote(e,t,n,r,i){for(var o=[],a=[],l="",s="",u=0,c=0,d=0;dn:i+c+h>n){c?(l||s)&&(v?(l||(l=s,s="",u=0,c=u),o.push(l),a.push(c-u),s+=f,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),o.push(l),a.push(c),l=f,c=h)):v?(o.push(s),a.push(u),s=f,u=h):(o.push(f),a.push(h));continue}c+=h,v?(s+=f,u+=h):(s&&(l+=s,s="",u=0),l+=f)}return!o.length&&!l&&(l=e,s="",u=0),s&&(l+=s),l&&(o.push(l),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var TM="__zr_style_"+Math.round(Math.random()*10),rd={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},mC={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};rd[TM]=!0;var aF=["z","z2","invisible"],Sje=["invisible"],xje=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Rt(n),i=0;i1e-4){l[0]=e-n,l[1]=t-r,s[0]=e+n,s[1]=t+r;return}if($0[0]=u2(i)*n+e,$0[1]=s2(i)*r+t,_0[0]=u2(o)*n+e,_0[1]=s2(o)*r+t,u(l,$0,_0),c(s,$0,_0),i=i%Qu,i<0&&(i=i+Qu),o=o%Qu,o<0&&(o=o+Qu),i>o&&!a?o+=Qu:ii&&(T0[0]=u2(h)*n+e,T0[1]=s2(h)*r+t,u(l,T0,l),c(s,T0,s))}var ln={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ju=[],ec=[],ya=[],xs=[],ba=[],Sa=[],c2=Math.min,d2=Math.max,tc=Math.cos,nc=Math.sin,vl=Math.abs,IM=Math.PI,Es=IM*2,f2=typeof Float32Array!="undefined",Gv=[];function h2(e){var t=Math.round(e/IM*1e8)/1e8;return t%2*IM}function S4(e,t){var n=h2(e[0]);n<0&&(n+=Es);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=Es?i=n+Es:t&&n-i>=Es?i=n-Es:!t&&n>i?i=n+(Es-h2(n-i)):t&&n0&&(this._ux=vl(r/VS/t)||0,this._uy=vl(r/VS/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(ln.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=vl(t-this._xi),i=vl(n-this._yi),o=r>this._ux||i>this._uy;if(this.addData(ln.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){return this._drawPendingPt(),this.addData(ln.C,t,n,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,o,a),this._xi=o,this._yi=a,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData(ln.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,o,a){this._drawPendingPt(),Gv[0]=i,Gv[1]=o,S4(Gv,a),i=Gv[0],o=Gv[1];var l=o-i;return this.addData(ln.A,t,n,r,r,i,l,0,a?0:1),this._ctx&&this._ctx.arc(t,n,r,i,o,a),this._xi=tc(o)*r+t,this._yi=nc(o)*r+n,this},e.prototype.arcTo=function(t,n,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,o),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData(ln.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ln.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&f2&&(this.data=new Float32Array(n));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var d=0;d0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){ya[0]=ya[1]=ba[0]=ba[1]=Number.MAX_VALUE,xs[0]=xs[1]=Sa[0]=Sa[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,o=0,a;for(a=0;ar||vl(b)>i||f===n-1)&&(p=Math.sqrt(y*y+b*b),o=g,a=m);break}case ln.C:{var S=t[f++],x=t[f++],g=t[f++],m=t[f++],$=t[f++],C=t[f++];p=FVe(o,a,S,x,g,m,$,C,10),o=$,a=C;break}case ln.Q:{var S=t[f++],x=t[f++],g=t[f++],m=t[f++];p=HVe(o,a,S,x,g,m,10),o=g,a=m;break}case ln.A:var T=t[f++],I=t[f++],P=t[f++],M=t[f++],O=t[f++],D=t[f++],R=D+O;f+=1,v&&(l=tc(O)*P+T,s=nc(O)*M+I),p=d2(P,M)*c2(Es,Math.abs(D)),o=tc(R)*P+T,a=nc(R)*M+I;break;case ln.R:{l=o=t[f++],s=a=t[f++];var A=t[f++],E=t[f++];p=A*2+E*2;break}case ln.Z:{var y=l-o,b=s-a;p=Math.sqrt(y*y+b*b),o=l,a=s;break}}p>=0&&(u[d++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,o=this._uy,a=this._len,l,s,u,c,d,f,h=n<1,v,p,g=0,m=0,y,b=0,S,x;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,p=this._pathLen,y=n*p,!y)))e:for(var $=0;$0&&(t.lineTo(S,x),b=0),C){case ln.M:l=u=r[$++],s=c=r[$++],t.moveTo(u,c);break;case ln.L:{d=r[$++],f=r[$++];var I=vl(d-u),P=vl(f-c);if(I>i||P>o){if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;t.lineTo(u*(1-O)+d*O,c*(1-O)+f*O);break e}g+=M}t.lineTo(d,f),u=d,c=f,b=0}else{var D=I*I+P*P;D>b&&(S=d,x=f,b=D)}break}case ln.C:{var R=r[$++],A=r[$++],E=r[$++],k=r[$++],N=r[$++],B=r[$++];if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;mu(u,R,E,N,O,Ju),mu(c,A,k,B,O,ec),t.bezierCurveTo(Ju[1],ec[1],Ju[2],ec[2],Ju[3],ec[3]);break e}g+=M}t.bezierCurveTo(R,A,E,k,N,B),u=N,c=B;break}case ln.Q:{var R=r[$++],A=r[$++],E=r[$++],k=r[$++];if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;rm(u,R,E,O,Ju),rm(c,A,k,O,ec),t.quadraticCurveTo(Ju[1],ec[1],Ju[2],ec[2]);break e}g+=M}t.quadraticCurveTo(R,A,E,k),u=E,c=k;break}case ln.A:var F=r[$++],H=r[$++],V=r[$++],X=r[$++],Q=r[$++],K=r[$++],te=r[$++],q=!r[$++],ee=V>X?V:X,J=vl(V-X)>.001,G=Q+K,Y=!1;if(h){var M=v[m++];g+M>y&&(G=Q+K*(y-g)/M,Y=!0),g+=M}if(J&&t.ellipse?t.ellipse(F,H,V,X,te,Q,G,q):t.arc(F,H,ee,Q,G,q),Y)break e;T&&(l=tc(Q)*V+F,s=nc(Q)*X+H),u=tc(G)*V+F,c=nc(G)*X+H;break;case ln.R:l=u=r[$],s=c=r[$+1],d=r[$++],f=r[$++];var oe=r[$++],W=r[$++];if(h){var M=v[m++];if(g+M>y){var Z=y-g;t.moveTo(d,f),t.lineTo(d+c2(Z,oe),f),Z-=oe,Z>0&&t.lineTo(d+oe,f+c2(Z,W)),Z-=W,Z>0&&t.lineTo(d+d2(oe-Z,0),f+W),Z-=oe,Z>0&&t.lineTo(d,f+d2(W-Z,0));break e}g+=M}t.rect(d,f,oe,W);break;case ln.Z:if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;t.lineTo(u*(1-O)+l*O,c*(1-O)+s*O);break e}g+=M}t.closePath(),u=l,c=s}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=ln,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function Bs(e,t,n,r,i,o,a){if(i===0)return!1;var l=i,s=0,u=e;if(a>t+l&&a>r+l||ae+l&&o>n+l||ot+d&&c>r+d&&c>o+d&&c>l+d||ce+d&&u>n+d&&u>i+d&&u>a+d||ut+u&&s>r+u&&s>o+u||se+u&&l>n+u&&l>i+u||ln||c+ui&&(i+=Kv);var f=Math.atan2(s,l);return f<0&&(f+=Kv),f>=r&&f<=i||f+Kv>=r&&f+Kv<=i}function wl(e,t,n,r,i,o){if(o>t&&o>r||oi?l:0}var ws=rl.CMD,rc=Math.PI*2,Pje=1e-4;function Mje(e,t){return Math.abs(e-t)t&&u>r&&u>o&&u>l||u1&&Aje(),h=lr(t,r,o,l,yo[0]),f>1&&(v=lr(t,r,o,l,yo[1]))),f===2?gt&&l>r&&l>o||l=0&&u<=1){for(var c=0,d=mr(t,r,o,u),f=0;fn||l<-n)return 0;var s=Math.sqrt(n*n-l*l);ii[0]=-s,ii[1]=s;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=rc-1e-4){r=0,i=rc;var c=o?1:-1;return a>=ii[0]+e&&a<=ii[1]+e?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=rc,i+=rc);for(var f=0,h=0;h<2;h++){var v=ii[h];if(v+e>a){var p=Math.atan2(l,v),c=o?1:-1;p<0&&(p=rc+p),(p>=r&&p<=i||p+rc>=r&&p+rc<=i)&&(p>Math.PI/2&&p1&&(n||(l+=wl(s,u,c,d,r,i))),g&&(s=o[v],u=o[v+1],c=s,d=u),p){case ws.M:c=o[v++],d=o[v++],s=c,u=d;break;case ws.L:if(n){if(Bs(s,u,o[v],o[v+1],t,r,i))return!0}else l+=wl(s,u,o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.C:if(n){if(Tje(s,u,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else l+=Oje(s,u,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.Q:if(n){if(ate(s,u,o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else l+=Dje(s,u,o[v++],o[v++],o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.A:var m=o[v++],y=o[v++],b=o[v++],S=o[v++],x=o[v++],$=o[v++];v+=1;var C=!!(1-o[v++]);f=Math.cos(x)*b+m,h=Math.sin(x)*S+y,g?(c=f,d=h):l+=wl(s,u,f,h,r,i);var T=(r-m)*S/b+m;if(n){if(Ije(m,y,S,x,x+$,C,t,T,i))return!0}else l+=Eje(m,y,S,x,x+$,C,T,i);s=Math.cos(x+$)*b+m,u=Math.sin(x+$)*S+y;break;case ws.R:c=s=o[v++],d=u=o[v++];var I=o[v++],P=o[v++];if(f=c+I,h=d+P,n){if(Bs(c,d,f,d,t,r,i)||Bs(f,d,f,h,t,r,i)||Bs(f,h,c,h,t,r,i)||Bs(c,h,c,d,t,r,i))return!0}else l+=wl(f,d,f,h,r,i),l+=wl(c,h,c,d,r,i);break;case ws.Z:if(n){if(Bs(s,u,c,d,t,r,i))return!0}else l+=wl(s,u,c,d,r,i);s=c,u=d;break}}return!n&&!Mje(u,d)&&(l+=wl(s,u,c,d,r,i)||0),l!==0}function Rje(e,t,n){return lte(e,0,!1,t,n)}function Lje(e,t,n,r){return lte(e,t,!0,n,r)}var jS=et({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},rd),Nje={style:et({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},mC.style)},v2=tl.concat(["invisible","culling","z","z2","zlevel","parent"]),kje=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(s){n.buildPath(s,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var l=0;l.5?xM:r>.2?yWe:wM}else if(n)return wM}return xM},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Fe(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=zS(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&Lf)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),n=a.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var l=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){l.copy(n);var s=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c==null?4:c)}s>1e-10&&(l.width+=u/s,l.height+=u/s,l.x-=u/s/2,l.y-=u/s/2)}return l}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),a=this.style;if(n=i[0],r=i[1],o.contain(n,r)){var l=this.path;if(this.hasStroke()){var s=a.lineWidth,u=a.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),Lje(l,s/u,n,r)))return!0}if(this.hasFill())return Rje(l,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Lf,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:Te(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Lf)},t.prototype.createStyle=function(n){return dC(jS,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Te({},this.shape))},t.prototype._applyStateObj=function(n,r,i,o,a,l){e.prototype._applyStateObj.call(this,n,r,i,o,a,l);var s=!(r&&o),u;if(r&&r.shape?a?o?u=r.shape:(u=Te({},i.shape),Te(u,r.shape)):(u=Te({},o?this.shape:i.shape),Te(u,r.shape)):s&&(u=i.shape),u)if(a){this.shape=Te({},this.shape);for(var c={},d=Rt(u),f=0;f0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return dC(Bje,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=oy(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(Eo);ste.prototype.type="tspan";const sm=ste;var Fje=et({x:0,y:0},rd),zje={style:et({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},mC.style)};function Hje(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var ute=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return dC(Fje,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var o=Hje(r.image)?r.image:this.__image;if(!o)return 0;var a=n==="width"?"height":"width",l=r[a];return l==null?o[n]:o[n]/o[a]*l},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return zje},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new $t(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Eo);ute.prototype.type="image";const Er=ute;function Vje(e,t){var n=t.x,r=t.y,i=t.width,o=t.height,a=t.r,l,s,u,c;i<0&&(n=n+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?l=s=u=c=a:a instanceof Array?a.length===1?l=s=u=c=a[0]:a.length===2?(l=u=a[0],s=c=a[1]):a.length===3?(l=a[0],s=c=a[1],u=a[2]):(l=a[0],s=a[1],u=a[2],c=a[3]):l=s=u=c=0;var d;l+s>i&&(d=l+s,l*=i/d,s*=i/d),u+c>i&&(d=u+c,u*=i/d,c*=i/d),s+u>o&&(d=s+u,s*=o/d,u*=o/d),l+c>o&&(d=l+c,l*=o/d,c*=o/d),e.moveTo(n+l,r),e.lineTo(n+i-s,r),s!==0&&e.arc(n+i-s,r+s,s,-Math.PI/2,0),e.lineTo(n+i,r+o-u),u!==0&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+l),l!==0&&e.arc(n+l,r+l,l,Math.PI,Math.PI*1.5)}var Yf=Math.round;function cte(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var l=n&&n.lineWidth;return l&&(Yf(r*2)===Yf(i*2)&&(e.x1=e.x2=zc(r,l,!0)),Yf(o*2)===Yf(a*2)&&(e.y1=e.y2=zc(o,l,!0))),e}}function dte(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var l=n&&n.lineWidth;return l&&(e.x=zc(r,l,!0),e.y=zc(i,l,!0),e.width=Math.max(zc(r+o,l,!1)-e.x,o===0?0:1),e.height=Math.max(zc(i+a,l,!1)-e.y,a===0?0:1)),e}}function zc(e,t,n){if(!t)return e;var r=Yf(e*2);return(r+Yf(t))%2===0?r/2:(r+(n?1:-1))/2}var Wje=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),jje={},fte=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Wje},t.prototype.buildPath=function(n,r){var i,o,a,l;if(this.subPixelOptimize){var s=dte(jje,r,this.style);i=s.x,o=s.y,a=s.width,l=s.height,s.r=r.r,r=s}else i=r.x,o=r.y,a=r.width,l=r.height;r.r?Vje(n,r):n.rect(i,o,a,l)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Mt);fte.prototype.type="rect";const Ht=fte;var dF={fill:"#000"},fF=2,Gje={style:et({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},mC.style)},hte=function(e){ge(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=dF,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,O=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),D=a.calculatedLineHeight,R=0;R=0&&(R=$[D],R.align==="right");)this._placeToken(R,n,T,m,O,"right",b),I-=R.width,O-=R.width,D--;for(M+=(o-(M-g)-(y-O)-I)/2;P<=D;)R=$[P],this._placeToken(R,n,T,m,M+R.width/2,"center",b),M+=R.width,P++;m+=T}},t.prototype._placeToken=function(n,r,i,o,a,l,s){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,d=o+i/2;c==="top"?d=o+n.height/2:c==="bottom"&&(d=o+i-n.height/2);var f=!n.isLineHolder&&p2(u);f&&this._renderBackground(u,r,l==="right"?a-n.width:l==="center"?a-n.width/2:a,d-n.height/2,n.width,n.height);var h=!!u.backgroundColor,v=n.textPadding;v&&(a=yF(a,l,v),d-=n.height/2-v[0]-n.innerHeight/2);var p=this._getOrCreateChild(sm),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,y=!1,b=0,S=mF("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,m.fill)),x=gF("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!s&&(!m.autoStroke||y)?(b=fF,m.stroke):null),$=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=a,g.y=d,$&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=l,g.textBaseline="middle",g.font=n.font||pu,g.opacity=Ya(u.opacity,r.opacity,1),vF(g,u),x&&(g.lineWidth=Ya(u.lineWidth,r.lineWidth,b),g.lineDash=vt(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),S&&(g.fill=S);var C=n.contentWidth,T=n.contentHeight;p.setBoundingRect(new $t(Cp(g.x,C,g.textAlign),Nf(g.y,T,g.textBaseline),C,T))},t.prototype._renderBackground=function(n,r,i,o,a,l){var s=n.backgroundColor,u=n.borderWidth,c=n.borderColor,d=s&&s.image,f=s&&!d,h=n.borderRadius,v=this,p,g;if(f||n.lineHeight||u&&c){p=this._getOrCreateChild(Ht),p.useStyle(p.createStyle()),p.style.fill=null;var m=p.shape;m.x=i,m.y=o,m.width=a,m.height=l,m.r=h,p.dirtyShape()}if(f){var y=p.style;y.fill=s||null,y.fillOpacity=vt(n.fillOpacity,1)}else if(d){g=this._getOrCreateChild(Er),g.onload=function(){v.dirtyStyle()};var b=g.style;b.image=s.image,b.x=i,b.y=o,b.width=a,b.height=l}if(u&&c){var y=p.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=vt(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var S=(p||g).style;S.shadowBlur=n.shadowBlur||0,S.shadowColor=n.shadowColor||"transparent",S.shadowOffsetX=n.shadowOffsetX||0,S.shadowOffsetY=n.shadowOffsetY||0,S.opacity=Ya(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return pte(n)&&(r=[n.fontStyle,n.fontWeight,vte(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&qo(r)||n.textFont||n.font},t}(Eo),Kje={left:!0,right:1,center:1},Uje={top:1,bottom:1,middle:1},hF=["fontStyle","fontWeight","fontSize","fontFamily"];function vte(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?t4+"px":e+"px"}function vF(e,t){for(var n=0;n=0,o=!1;if(e instanceof Mt){var a=gte(e),l=i&&a.selectFill||a.normalFill,s=i&&a.selectStroke||a.normalStroke;if(df(l)||df(s)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=Te({},r),u=Te({},u),u.fill=l):!df(u.fill)&&df(l)?(o=!0,r=Te({},r),u=Te({},u),u.fill=hM(l)):!df(u.stroke)&&df(s)&&(o||(r=Te({},r),u=Te({},u)),u.stroke=hM(s)),r.style=u}}if(r&&r.z2==null){o||(r=Te({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c!=null?c:vv)}return r}function eGe(e,t,n){if(n&&n.z2==null){n=Te({},n);var r=e.z2SelectLift;n.z2=e.z2+(r!=null?r:Yje)}return n}function tGe(e,t,n){var r=Tt(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:Qje(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return a.opacity==null&&(n=Te({},n),a=Te({opacity:r?i:o.opacity*.1},a),n.style=a),n}function g2(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return Jje(this,e,t,n);if(e==="blur")return tGe(this,e,n);if(e==="select")return eGe(this,e,n)}return n}function $d(e){e.stateProxy=g2;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=g2),n&&(n.stateProxy=g2)}function CF(e,t){!Cte(e,t)&&!e.__highByOuter&&cs(e,mte)}function $F(e,t){!Cte(e,t)&&!e.__highByOuter&&cs(e,yte)}function ql(e,t){e.__highByOuter|=1<<(t||0),cs(e,mte)}function Zl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&cs(e,yte)}function Ste(e){cs(e,C4)}function $4(e){cs(e,bte)}function xte(e){cs(e,qje)}function wte(e){cs(e,Zje)}function Cte(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function $te(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,o){var a=x4(o),l=i==="series",s=l?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!l&&r.push(s),a.isBlured&&(s.group.traverse(function(u){bte(u)}),l&&n.push(o)),a.isBlured=!1}),j(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function MM(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var d=0;d0){var l={dataIndex:a,seriesIndex:n.seriesIndex};o!=null&&(l.dataType=o),t.push(l)}})}),t}function od(e,t,n){Hc(e,!0),cs(e,$d),OM(e,t,n)}function lGe(e){Hc(e,!1)}function In(e,t,n,r){r?lGe(e):od(e,t,n)}function OM(e,t,n){var r=ut(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var TF=["emphasis","blur","select"],sGe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Or(e,t,n,r){n=n||"itemStyle";for(var i=0;i1&&(a*=m2(v),l*=m2(v));var p=(i===o?-1:1)*m2((a*a*(l*l)-a*a*(h*h)-l*l*(f*f))/(a*a*(h*h)+l*l*(f*f)))||0,g=p*a*h/l,m=p*-l*f/a,y=(e+n)/2+P0(d)*g-I0(d)*m,b=(t+r)/2+I0(d)*g+P0(d)*m,S=AF([1,0],[(f-g)/a,(h-m)/l]),x=[(f-g)/a,(h-m)/l],$=[(-1*f-g)/a,(-1*h-m)/l],C=AF(x,$);if(EM(x,$)<=-1&&(C=Uv),EM(x,$)>=1&&(C=0),C<0){var T=Math.round(C/Uv*1e6)/1e6;C=Uv*2+T%2*Uv}c.addData(u,y,b,a,l,S,C,d,o)}var vGe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,pGe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function gGe(e){var t=new rl;if(!e)return t;var n=0,r=0,i=n,o=r,a,l=rl.CMD,s=e.match(vGe);if(!s)return t;for(var u=0;uR*R+A*A&&(T=P,I=M),{cx:T,cy:I,x0:-c,y0:-d,x1:T*(i/x-1),y1:I*(i/x-1)}}function CGe(e){var t;if(Ae(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function $Ge(e,t){var n,r=$p(t.r,0),i=$p(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var l=r;r=i,i=l}var s=t.startAngle,u=t.endAngle;if(!(isNaN(s)||isNaN(u))){var c=t.cx,d=t.cy,f=!!t.clockwise,h=DF(u-s),v=h>y2&&h%y2;if(v>Go&&(h=v),!(r>Go))e.moveTo(c,d);else if(h>y2-Go)e.moveTo(c+r*hf(s),d+r*ic(s)),e.arc(c,d,r,s,u,!f),i>Go&&(e.moveTo(c+i*hf(u),d+i*ic(u)),e.arc(c,d,i,u,s,f));else{var p=void 0,g=void 0,m=void 0,y=void 0,b=void 0,S=void 0,x=void 0,$=void 0,C=void 0,T=void 0,I=void 0,P=void 0,M=void 0,O=void 0,D=void 0,R=void 0,A=r*hf(s),E=r*ic(s),k=i*hf(u),N=i*ic(u),B=h>Go;if(B){var F=t.cornerRadius;F&&(n=CGe(F),p=n[0],g=n[1],m=n[2],y=n[3]);var H=DF(r-i)/2;if(b=xa(H,m),S=xa(H,y),x=xa(H,p),$=xa(H,g),I=C=$p(b,S),P=T=$p(x,$),(C>Go||T>Go)&&(M=r*hf(u),O=r*ic(u),D=i*hf(s),R=i*ic(s),hGo){var J=xa(m,I),G=xa(y,I),Y=M0(D,R,A,E,r,J,f),oe=M0(M,O,k,N,r,G,f);e.moveTo(c+Y.cx+Y.x0,d+Y.cy+Y.y0),I0&&e.arc(c+Y.cx,d+Y.cy,J,Lr(Y.y0,Y.x0),Lr(Y.y1,Y.x1),!f),e.arc(c,d,r,Lr(Y.cy+Y.y1,Y.cx+Y.x1),Lr(oe.cy+oe.y1,oe.cx+oe.x1),!f),G>0&&e.arc(c+oe.cx,d+oe.cy,G,Lr(oe.y1,oe.x1),Lr(oe.y0,oe.x0),!f))}else e.moveTo(c+A,d+E),e.arc(c,d,r,s,u,!f);if(!(i>Go)||!B)e.lineTo(c+k,d+N);else if(P>Go){var J=xa(p,P),G=xa(g,P),Y=M0(k,N,M,O,i,-G,f),oe=M0(A,E,D,R,i,-J,f);e.lineTo(c+Y.cx+Y.x0,d+Y.cy+Y.y0),P0&&e.arc(c+Y.cx,d+Y.cy,G,Lr(Y.y0,Y.x0),Lr(Y.y1,Y.x1),!f),e.arc(c,d,i,Lr(Y.cy+Y.y1,Y.cx+Y.x1),Lr(oe.cy+oe.y1,oe.cx+oe.x1),f),J>0&&e.arc(c+oe.cx,d+oe.cy,J,Lr(oe.y1,oe.x1),Lr(oe.y0,oe.x0),!f))}else e.lineTo(c+k,d+N),e.arc(c,d,i,u,s,f)}e.closePath()}}}var _Ge=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),Ete=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new _Ge},t.prototype.buildPath=function(n,r){$Ge(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Mt);Ete.prototype.type="sector";const Oi=Ete;var TGe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Rte=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new TGe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.PI*2;n.moveTo(i+r.r,o),n.arc(i,o,r.r,0,a,!1),n.moveTo(i+r.r0,o),n.arc(i,o,r.r0,0,a,!0)},t}(Mt);Rte.prototype.type="ring";const xC=Rte;function IGe(e,t,n,r){var i=[],o=[],a=[],l=[],s,u,c,d;if(r){c=[1/0,1/0],d=[-1/0,-1/0];for(var f=0,h=e.length;f=2){if(r){var o=IGe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,l=0;l<(n?a:a-1);l++){var s=o[l*2],u=o[l*2+1],c=i[(l+1)%a];e.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var l=1,d=i.length;lac[1]){if(l=!1,o)return l;var c=Math.abs(ac[0]-oc[1]),d=Math.abs(oc[0]-ac[1]);Math.min(c,d)>i.len()&&(c0){var d=c.duration,f=c.delay,h=c.easing,v={duration:d,delay:f||0,easing:h,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};l?t.animateFrom(n,v):t.animateTo(n,v)}else t.stopAnimation(),!l&&t.attr(n),a&&a(1),o&&o()}function Kt(e,t,n,r,i,o){A4("update",e,t,n,r,i,o)}function Sn(e,t,n,r,i,o){A4("enter",e,t,n,r,i,o)}function gh(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function LF(e){return!e.isGroup}function UGe(e){return e.shape!=null}function uy(e,t,n){if(!e||!t)return;function r(a){var l={};return a.traverse(function(s){LF(s)&&s.anid&&(l[s.anid]=s)}),l}function i(a){var l={x:a.x,y:a.y,rotation:a.rotation};return UGe(a)&&(l.shape=Te({},a.shape)),l}var o=r(e);t.traverse(function(a){if(LF(a)&&a.anid){var l=o[a.anid];if(l){var s=i(a);a.attr(i(l)),Kt(a,s,n,ut(a).dataIndex)}}})}function Ute(e,t){return Oe(e,function(n){var r=n[0];r=US(r,t.x),r=XS(r,t.x+t.width);var i=n[1];return i=US(i,t.y),i=XS(i,t.y+t.height),[r,i]})}function XGe(e,t){var n=US(e.x,t.x),r=XS(e.x+e.width,t.x+t.width),i=US(e.y,t.y),o=XS(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function cy(e,t,n){var r=Te({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),et(i,n),new Er(r)):CC(e.replace("path://",""),r,n,"center")}function _p(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var g=b2(h,v,c,d)/f;return!(g<0||g>1)}function b2(e,t,n,r){return e*r-n*t}function YGe(e){return e<=1e-6&&e>=-1e-6}function Vd(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Fe(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,l={componentType:o,name:r,$vars:["name"]};l[o+"Index"]=a;var s=e.formatterParamsExtra;s&&j(Rt(s),function(c){Ve(l,c)||(l[c]=s[c],l.$vars.push(c))});var u=ut(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:et({content:r,encodeHTMLContent:!0,formatterParams:l},i)}}function NF(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Eu(e,t){if(e)if(Ae(e))for(var n=0;n=0&&l.push(s)}),l}}function Ru(e,t){return St(St({},e,!0),t,!0)}const sKe={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},uKe={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var qS="ZH",E4="EN",mh=E4,b1={},R4={},ene=Wt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||mh).toUpperCase();return e.indexOf(qS)>-1?qS:mh}():mh;function tne(e,t){e=e.toUpperCase(),R4[e]=new hn(t),b1[e]=t}function cKe(e){if(Fe(e)){var t=b1[e.toUpperCase()]||{};return e===qS||e===E4?rt(t):St(rt(t),rt(b1[mh]),!1)}else return St(rt(e),rt(b1[mh]),!1)}function NM(e){return R4[e]}function dKe(){return R4[mh]}tne(E4,sKe);tne(qS,uKe);var L4=1e3,N4=L4*60,yg=N4*60,Co=yg*24,HF=Co*365,Tp={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},D0="{yyyy}-{MM}-{dd}",VF={year:"{yyyy}",month:"{yyyy}-{MM}",day:D0,hour:D0+" "+Tp.hour,minute:D0+" "+Tp.minute,second:D0+" "+Tp.second,millisecond:Tp.none},w2=["year","month","day","hour","minute","second","millisecond"],nne=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Cs(e,t){return e+="","0000".substr(0,t-e.length)+e}function yh(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function fKe(e){return e===yh(e)}function hKe(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function TC(e,t,n,r){var i=nl(e),o=i[k4(n)](),a=i[bh(n)]()+1,l=Math.floor((a-1)/3)+1,s=i[IC(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[fm(n)](),d=(c-1)%12+1,f=i[PC(n)](),h=i[MC(n)](),v=i[AC(n)](),p=c>=12?"pm":"am",g=p.toUpperCase(),m=r instanceof hn?r:NM(r||ene)||dKe(),y=m.getModel("time"),b=y.get("month"),S=y.get("monthAbbr"),x=y.get("dayOfWeek"),$=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Cs(o%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,b[a-1]).replace(/{MMM}/g,S[a-1]).replace(/{MM}/g,Cs(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Cs(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,$[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Cs(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Cs(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,Cs(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,Cs(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Cs(v,3)).replace(/{S}/g,v+"")}function vKe(e,t,n,r,i){var o=null;if(Fe(n))o=n;else if(Ze(n))o=n(e.value,t,{level:e.level});else{var a=Te({},Tp);if(e.level>0)for(var l=0;l=0;--l)if(s[u]){o=s[u];break}o=o||a.none}if(Ae(o)){var d=e.level==null?0:e.level>=0?e.level:o.length+e.level;d=Math.min(d,o.length-1),o=o[d]}}return TC(new Date(e.value),o,i,r)}function rne(e,t){var n=nl(e),r=n[bh(t)]()+1,i=n[IC(t)](),o=n[fm(t)](),a=n[PC(t)](),l=n[MC(t)](),s=n[AC(t)](),u=s===0,c=u&&l===0,d=c&&a===0,f=d&&o===0,h=f&&i===1,v=h&&r===1;return v?"year":h?"month":f?"day":d?"hour":c?"minute":u?"second":"millisecond"}function WF(e,t,n){var r=Gt(e)?nl(e):e;switch(t=t||rne(e,n),t){case"year":return r[k4(n)]();case"half-year":return r[bh(n)]()>=6?1:0;case"quarter":return Math.floor((r[bh(n)]()+1)/4);case"month":return r[bh(n)]();case"day":return r[IC(n)]();case"half-day":return r[fm(n)]()/24;case"hour":return r[fm(n)]();case"minute":return r[PC(n)]();case"second":return r[MC(n)]();case"millisecond":return r[AC(n)]()}}function k4(e){return e?"getUTCFullYear":"getFullYear"}function bh(e){return e?"getUTCMonth":"getMonth"}function IC(e){return e?"getUTCDate":"getDate"}function fm(e){return e?"getUTCHours":"getHours"}function PC(e){return e?"getUTCMinutes":"getMinutes"}function MC(e){return e?"getUTCSeconds":"getSeconds"}function AC(e){return e?"getUTCMilliseconds":"getMilliseconds"}function pKe(e){return e?"setUTCFullYear":"setFullYear"}function ine(e){return e?"setUTCMonth":"setMonth"}function one(e){return e?"setUTCDate":"setDate"}function ane(e){return e?"setUTCHours":"setHours"}function lne(e){return e?"setUTCMinutes":"setMinutes"}function sne(e){return e?"setUTCSeconds":"setSeconds"}function une(e){return e?"setUTCMilliseconds":"setMilliseconds"}function cne(e){if(!Kee(e))return Fe(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function dne(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var yv=l4;function kM(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&qo(c)?c:"-"}function o(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var a=t==="time",l=e instanceof Date;if(a||l){var s=a?nl(e):e;if(isNaN(+s)){if(l)return"-"}else return TC(s,r,n)}if(t==="ordinal")return eM(e)?i(e):Gt(e)&&o(e)?e+"":"-";var u=Yl(e);return o(u)?cne(u):eM(e)?i(e):typeof e=="boolean"?e+"":"-"}var jF=["a","b","c","d","e","f","g"],C2=function(e,t){return"{"+e+(t==null?"":t)+"}"};function fne(e,t,n){Ae(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o':'';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function _d(e,t){return t=t||"transparent",Fe(e)?e:nt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function ZS(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var S1=j,hne=["left","right","top","bottom","width","height"],Vc=[["width","left","right"],["height","top","bottom"]];function B4(e,t,n,r,i){var o=0,a=0;r==null&&(r=1/0),i==null&&(i=1/0);var l=0;t.eachChild(function(s,u){var c=s.getBoundingRect(),d=t.childAt(u+1),f=d&&d.getBoundingRect(),h,v;if(e==="horizontal"){var p=c.width+(f?-f.x+c.x:0);h=o+p,h>r||s.newline?(o=0,h=p,a+=l+n,l=c.height):l=Math.max(l,c.height)}else{var g=c.height+(f?-f.y+c.y:0);v=a+g,v>i||s.newline?(o+=l+n,a=0,v=g,l=c.width):l=Math.max(l,c.width)}s.newline||(s.x=o,s.y=a,s.markRedraw(),e==="horizontal"?o=h+n:a=v+n)})}var ld=B4;pt(B4,"vertical");pt(B4,"horizontal");function yKe(e,t,n){var r=t.width,i=t.height,o=Ne(e.left,r),a=Ne(e.top,i),l=Ne(e.right,r),s=Ne(e.bottom,i);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(l)||isNaN(parseFloat(e.right)))&&(l=r),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.bottom)))&&(s=i),n=yv(n||0),{width:Math.max(l-o-n[1]-n[3],0),height:Math.max(s-a-n[0]-n[2],0)}}function ir(e,t,n){n=yv(n||0);var r=t.width,i=t.height,o=Ne(e.left,r),a=Ne(e.top,i),l=Ne(e.right,r),s=Ne(e.bottom,i),u=Ne(e.width,r),c=Ne(e.height,i),d=n[2]+n[0],f=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-l-f-o),isNaN(c)&&(c=i-s-d-a),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(o)&&(o=r-l-u-f),isNaN(a)&&(a=i-s-c-d),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-f;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-d;break}o=o||0,a=a||0,isNaN(u)&&(u=r-f-o-(l||0)),isNaN(c)&&(c=i-d-a-(s||0));var v=new $t(o+n[3],a+n[0],u,c);return v.margin=n,v}function OC(e,t,n,r,i,o){var a=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],s=i&&i.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!a&&!l)return!1;var u;if(s==="raw")u=e.type==="group"?new $t(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var d=ir(et({width:u.width,height:u.height},t),n,r),f=a?d.x-u.x:0,h=l?d.y-u.y:0;return s==="raw"?(o.x=f,o.y=h):(o.x+=f,o.y+=h),o===e&&e.markRedraw(),!0}function bKe(e,t){return e[Vc[t][0]]!=null||e[Vc[t][1]]!=null&&e[Vc[t][2]]!=null}function hm(e){var t=e.layoutMode||e.constructor.layoutMode;return nt(t)?t:t?{type:t}:null}function bu(e,t,n){var r=n&&n.ignoreSize;!Ae(r)&&(r=[r,r]);var i=a(Vc[0],0),o=a(Vc[1],1);u(Vc[0],e,i),u(Vc[1],e,o);function a(c,d){var f={},h=0,v={},p=0,g=2;if(S1(c,function(b){v[b]=e[b]}),S1(c,function(b){l(t,b)&&(f[b]=v[b]=t[b]),s(f,b)&&h++,s(v,b)&&p++}),r[d])return s(t,c[1])?v[c[2]]=null:s(t,c[2])&&(v[c[1]]=null),v;if(p===g||!h)return v;if(h>=g)return f;for(var m=0;m=0;s--)l=St(l,i[s],!0);r.defaultOption=l}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",o=n+"Id";return ay(this.ecModel,n,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(hn);nte(Sv,hn);pC(Sv);aKe(Sv);lKe(Sv,xKe);function xKe(e){var t=[];return j(Sv.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=Oe(t,function(n){return Ha(n).main}),e!=="dataset"&&Tt(t,"dataset")<=0&&t.unshift("dataset"),t}const Vt=Sv;var pne="";typeof navigator!="undefined"&&(pne=navigator.platform||"");var vf="rgba(0, 0, 0, 0.2)";const wKe={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:vf,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:vf,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:vf,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:vf,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:vf,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:vf,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:pne.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var gne=Ge(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),No="original",Zr="arrayRows",ko="objectRows",ll="keyedColumns",lu="typedArray",mne="unknown",qa="column",xv="row",wr={Must:1,Might:2,Not:3},yne=Ft();function CKe(e){yne(e).datasetMap=Ge()}function bne(e,t,n){var r={},i=z4(t);if(!i||!e)return r;var o=[],a=[],l=t.ecModel,s=yne(l).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,d;e=e.slice(),j(e,function(p,g){var m=nt(p)?p:e[g]={name:p};m.type==="ordinal"&&c==null&&(c=g,d=v(m)),r[m.name]=[]});var f=s.get(u)||s.set(u,{categoryWayDim:d,valueWayDim:0});j(e,function(p,g){var m=p.name,y=v(p);if(c==null){var b=f.valueWayDim;h(r[m],b,y),h(a,b,y),f.valueWayDim+=y}else if(c===g)h(r[m],0,y),h(o,0,y);else{var b=f.categoryWayDim;h(r[m],b,y),h(a,b,y),f.categoryWayDim+=y}});function h(p,g,m){for(var y=0;yt)return e[r];return e[n-1]}function wne(e,t,n,r,i,o,a){o=o||e;var l=t(o),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=a==null||!r?n:PKe(r,a);if(c=c||n,!(!c||!c.length)){var d=c[s];return i&&(u[i]=d),l.paletteIdx=(s+1)%c.length,d}}function MKe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var E0,Xv,KF,UF="\0_ec_inner",AKe=1,Cne=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,o,a,l){o=o||{},this.option=null,this._theme=new hn(o),this._locale=new hn(a),this._optionManager=l},t.prototype.setOption=function(n,r,i){var o=qF(r);this._optionManager.setOption(n,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,qF(r))},t.prototype._resetOption=function(n,r){var i=!1,o=this._optionManager;if(!n||n==="recreate"){var a=o.mountOption(n==="recreate");!this.option||n==="recreate"?KF(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var l=o.getTimelineOption(this);l&&(i=!0,this._mergeOption(l,r))}if(!n||n==="recreate"||n==="media"){var s=o.getMediaOption(this);s.length&&j(s,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,l=[],s=Ge(),u=r&&r.replaceMergeMainTypeMap;CKe(this),j(n,function(d,f){d!=null&&(Vt.hasClass(f)?f&&(l.push(f),s.set(f,!0)):i[f]=i[f]==null?rt(d):St(i[f],d,!0))}),u&&u.each(function(d,f){Vt.hasClass(f)&&!s.get(f)&&(l.push(f),s.set(f,!0))}),Vt.topologicalTravel(l,Vt.getAllClassMainTypes(),c,this);function c(d){var f=TKe(this,d,rn(n[d])),h=o.get(d),v=h?u&&u.get(d)?"replaceMerge":"normalMerge":"replaceAll",p=Zee(h,f,v);KWe(p,d,Vt),i[d]=null,o.set(d,null),a.set(d,0);var g=[],m=[],y=0,b;j(p,function(S,x){var $=S.existing,C=S.newOption;if(!C)$&&($.mergeOption({},this),$.optionUpdated({},!1));else{var T=d==="series",I=Vt.getClass(d,S.keyInfo.subType,!T);if(!I)return;if(d==="tooltip"){if(b)return;b=!0}if($&&$.constructor===I)$.name=S.keyInfo.name,$.mergeOption(C,this),$.optionUpdated(C,!1);else{var P=Te({componentIndex:x},S.keyInfo);$=new I(C,this,this,P),Te($,P),S.brandNew&&($.__requireNewView=!0),$.init(C,this,this),$.optionUpdated(null,!0)}}$?(g.push($.option),m.push($),y++):(g.push(void 0),m.push(void 0))},this),i[d]=g,o.set(d,m),a.set(d,y),d==="series"&&E0(this)}this._seriesIndices||E0(this)},t.prototype.getOption=function(){var n=rt(this.option);return j(n,function(r,i){if(Vt.hasClass(i)){for(var o=rn(r),a=o.length,l=!1,s=a-1;s>=0;s--)o[s]&&!lm(o[s])?l=!0:(o[s]=null,!l&&a--);o.length=a,n[i]=o}}),delete n[UF],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a=t:n==="max"?e<=t:e===t}function HKe(e,t){return e.join(",")===t.join(",")}const VKe=kKe;var Vo=j,vm=nt,ZF=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function _2(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=ZF.length;n=0;g--){var m=e[g];if(l||(v=m.data.rawIndexOf(m.stackedByDimension,h)),v>=0){var y=m.data.getByRawIndex(m.stackResultDimension,v);if(s==="all"||s==="positive"&&y>0||s==="negative"&&y<0||s==="samesign"&&f>=0&&y>0||s==="samesign"&&f<=0&&y<0){f=LWe(f,y),p=y;break}}}return r[0]=f,r[1]=p,r})})}var DC=function(){function e(t){this.data=t.data||(t.sourceFormat===ll?{}:[]),this.sourceFormat=t.sourceFormat||mne,this.seriesLayoutBy=t.seriesLayoutBy||qa,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rp&&(p=b)}h[0]=v,h[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};iz=(t={},t[Zr+"_"+qa]={pure:!0,appendData:o},t[Zr+"_"+xv]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ko]={pure:!0,appendData:o},t[ll]={pure:!0,appendData:function(a){var l=this._data;j(a,function(s,u){for(var c=l[u]||(l[u]=[]),d=0;d<(s||[]).length;d++)c.push(s[d])})}},t[No]={appendData:o},t[lu]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var l=0;l=0&&(p=a.interpolatedValue[g])}return p!=null?p+"":""})}},e.prototype.getRawValue=function(t,n){return Vh(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function sz(e){var t,n;return nt(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function bg(e){return new oUe(e)}var oUe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;(a!==s||l!==u)&&(o="reset");function c(y){return!(y>=1)&&(y=1),y}var d;(this._dirty||o==="reset")&&(this._dirty=!1,d=this._doReset(r)),this._modBy=s,this._modDataCount=u;var f=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,v=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(d||h1&&r>0?l:a}};return o;function a(){return t=e?null:st},gte:function(e,t){return e>=t}},lUe=function(){function e(t,n){if(!Gt(n)){var r="";qt(r)}this._opFn=Lne[t],this._rvalFloat=Yl(n)}return e.prototype.evaluate=function(t){return Gt(t)?this._opFn(t,this._rvalFloat):this._opFn(Yl(t),this._rvalFloat)},e}(),Nne=function(){function e(t,n){var r=t==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,n){var r=Gt(t)?t:Yl(t),i=Gt(n)?n:Yl(n),o=isNaN(r),a=isNaN(i);if(o&&(r=this._incomparable),a&&(i=this._incomparable),o&&a){var l=Fe(t),s=Fe(n);l&&(r=s?t:0),s&&(i=l?n:0)}return ri?-this._resultLT:0},e}(),sUe=function(){function e(t,n){this._rval=n,this._isEQ=t,this._rvalTypeof=typeof n,this._rvalFloat=Yl(n)}return e.prototype.evaluate=function(t){var n=t===this._rval;if(!n){var r=typeof t;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=Yl(t)===this._rvalFloat)}return this._isEQ?n:!n},e}();function uUe(e,t){return e==="eq"||e==="ne"?new sUe(e==="eq",t):Ve(Lne,e)?new lUe(e,t):null}var cUe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return su(t,n)},e}();function dUe(e,t){var n=new cUe,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==qa&&qt(a);var l=[],s={},u=e.dimensionsDefine;if(u)j(u,function(p,g){var m=p.name,y={index:g,name:m,displayName:p.displayName};if(l.push(y),m!=null){var b="";Ve(s,m)&&qt(b),s[m]=y}});else for(var c=0;c65535?bUe:SUe}function gf(){return[1/0,-1/0]}function xUe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function dz(e,t,n,r,i){var o=Fne[n||"float"];if(i){var a=e[t],l=a&&a.length;if(l!==r){for(var s=new o(r),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:l,end:s}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,l=a.length,s=this._rawExtent,u=Oe(a,function(y){return y.property}),c=0;cm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)o=a-1;else return a}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var l=1/0,s=-1,u=0,c=0,d=this.count();c=0&&s<0)&&(l=v,s=h,u=0),h===s&&(a[u++]=c))}return a.length=u,a},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o=d&&y<=f||isNaN(y))&&(s[u++]=p),p++}v=!0}else if(o===2){for(var g=h[i[0]],b=h[i[1]],S=t[i[1]][0],x=t[i[1]][1],m=0;m=d&&y<=f||isNaN(y))&&($>=S&&$<=x||isNaN($))&&(s[u++]=p),p++}v=!0}}if(!v)if(o===1)for(var m=0;m=d&&y<=f||isNaN(y))&&(s[u++]=C)}else for(var m=0;mt[P][1])&&(T=!1)}T&&(s[u++]=n.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),l=0,s=Math.floor(1/n),u=this.getRawIndex(0),c,d,f,h=new(pf(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[l++]=u;for(var v=1;vc&&(c=d,f=S)}M>0&&Ml&&(p=l-c);for(var g=0;gv&&(v=y,h=c+g)}var b=this.getRawIndex(d),S=this.getRawIndex(h);dc-v&&(s=c-v,l.length=s);for(var p=0;pd[1]&&(d[1]=m),f[h++]=y}return o._count=h,o._indices=f,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();os&&(s=d)}return a=[l,s],this._extent[t]=a,a},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,o=0;o=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,o){return su(n[o],this._dimensions[o])}P2={arrayRows:t,objectRows:function(n,r,i,o){return su(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,i,o){var a=n&&(n.value==null?n:n.value);return su(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(n,r,i,o){return n[o]}}}(),e}(),zne=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,o;if(R0(t)){var a=t,l=void 0,s=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),l=u.data,s=u.sourceFormat,o=[c._getVersionSign()]}else l=a.get("data",!0),s=Ai(l)?lu:No,o=[];var d=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},h=vt(d.seriesLayoutBy,f.seriesLayoutBy)||null,v=vt(d.sourceHeader,f.sourceHeader),p=vt(d.dimensions,f.dimensions),g=h!==f.seriesLayoutBy||!!v!=!!f.sourceHeader||p;i=g?[zM(l,{seriesLayoutBy:h,sourceHeader:v,dimensions:p},s)]:[]}else{var m=t;if(r){var y=this._applyTransform(n);i=y.sourceList,o=y.upstreamSignList}else{var b=m.get("source",!0);i=[zM(b,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&hz(o)}var a,l=[],s=[];return j(t,function(u){u.prepareSource();var c=u.getSource(i||0),d="";i!=null&&!c&&hz(d),l.push(c),s.push(u._getVersionSign())}),r?a=mUe(r,l,{datasetIndex:n.componentIndex}):i!=null&&(a=[QKe(l[0])]),{sourceList:a,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var bje=el(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Sje(e){return yje(e)?!!bje[e]:!0}function ote(e,t,n,r,i){for(var o=[],a=[],l="",s="",u=0,c=0,d=0;dn:i+c+h>n){c?(l||s)&&(v?(l||(l=s,s="",u=0,c=u),o.push(l),a.push(c-u),s+=f,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),o.push(l),a.push(c),l=f,c=h)):v?(o.push(s),a.push(u),s=f,u=h):(o.push(f),a.push(h));continue}c+=h,v?(s+=f,u+=h):(s&&(l+=s,s="",u=0),l+=f)}return!o.length&&!l&&(l=e,s="",u=0),s&&(l+=s),l&&(o.push(l),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var TM="__zr_style_"+Math.round(Math.random()*10),rd={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},mC={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};rd[TM]=!0;var aF=["z","z2","invisible"],xje=["invisible"],wje=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Rt(n),i=0;i1e-4){l[0]=e-n,l[1]=t-r,s[0]=e+n,s[1]=t+r;return}if($0[0]=u2(i)*n+e,$0[1]=s2(i)*r+t,_0[0]=u2(o)*n+e,_0[1]=s2(o)*r+t,u(l,$0,_0),c(s,$0,_0),i=i%Qu,i<0&&(i=i+Qu),o=o%Qu,o<0&&(o=o+Qu),i>o&&!a?o+=Qu:ii&&(T0[0]=u2(h)*n+e,T0[1]=s2(h)*r+t,u(l,T0,l),c(s,T0,s))}var ln={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ju=[],ec=[],ba=[],xs=[],Sa=[],xa=[],c2=Math.min,d2=Math.max,tc=Math.cos,nc=Math.sin,pl=Math.abs,IM=Math.PI,Es=IM*2,f2=typeof Float32Array!="undefined",Kv=[];function h2(e){var t=Math.round(e/IM*1e8)/1e8;return t%2*IM}function S4(e,t){var n=h2(e[0]);n<0&&(n+=Es);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=Es?i=n+Es:t&&n-i>=Es?i=n-Es:!t&&n>i?i=n+(Es-h2(n-i)):t&&n0&&(this._ux=pl(r/VS/t)||0,this._uy=pl(r/VS/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(ln.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=pl(t-this._xi),i=pl(n-this._yi),o=r>this._ux||i>this._uy;if(this.addData(ln.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){return this._drawPendingPt(),this.addData(ln.C,t,n,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,o,a),this._xi=o,this._yi=a,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData(ln.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,o,a){this._drawPendingPt(),Kv[0]=i,Kv[1]=o,S4(Kv,a),i=Kv[0],o=Kv[1];var l=o-i;return this.addData(ln.A,t,n,r,r,i,l,0,a?0:1),this._ctx&&this._ctx.arc(t,n,r,i,o,a),this._xi=tc(o)*r+t,this._yi=nc(o)*r+n,this},e.prototype.arcTo=function(t,n,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,o),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData(ln.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(ln.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&f2&&(this.data=new Float32Array(n));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var d=0;d0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){ba[0]=ba[1]=Sa[0]=Sa[1]=Number.MAX_VALUE,xs[0]=xs[1]=xa[0]=xa[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,o=0,a;for(a=0;ar||pl(b)>i||f===n-1)&&(p=Math.sqrt(y*y+b*b),o=g,a=m);break}case ln.C:{var S=t[f++],x=t[f++],g=t[f++],m=t[f++],$=t[f++],C=t[f++];p=zVe(o,a,S,x,g,m,$,C,10),o=$,a=C;break}case ln.Q:{var S=t[f++],x=t[f++],g=t[f++],m=t[f++];p=VVe(o,a,S,x,g,m,10),o=g,a=m;break}case ln.A:var T=t[f++],I=t[f++],P=t[f++],M=t[f++],O=t[f++],D=t[f++],R=D+O;f+=1,v&&(l=tc(O)*P+T,s=nc(O)*M+I),p=d2(P,M)*c2(Es,Math.abs(D)),o=tc(R)*P+T,a=nc(R)*M+I;break;case ln.R:{l=o=t[f++],s=a=t[f++];var A=t[f++],E=t[f++];p=A*2+E*2;break}case ln.Z:{var y=l-o,b=s-a;p=Math.sqrt(y*y+b*b),o=l,a=s;break}}p>=0&&(u[d++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,o=this._uy,a=this._len,l,s,u,c,d,f,h=n<1,v,p,g=0,m=0,y,b=0,S,x;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,p=this._pathLen,y=n*p,!y)))e:for(var $=0;$0&&(t.lineTo(S,x),b=0),C){case ln.M:l=u=r[$++],s=c=r[$++],t.moveTo(u,c);break;case ln.L:{d=r[$++],f=r[$++];var I=pl(d-u),P=pl(f-c);if(I>i||P>o){if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;t.lineTo(u*(1-O)+d*O,c*(1-O)+f*O);break e}g+=M}t.lineTo(d,f),u=d,c=f,b=0}else{var D=I*I+P*P;D>b&&(S=d,x=f,b=D)}break}case ln.C:{var R=r[$++],A=r[$++],E=r[$++],k=r[$++],N=r[$++],B=r[$++];if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;mu(u,R,E,N,O,Ju),mu(c,A,k,B,O,ec),t.bezierCurveTo(Ju[1],ec[1],Ju[2],ec[2],Ju[3],ec[3]);break e}g+=M}t.bezierCurveTo(R,A,E,k,N,B),u=N,c=B;break}case ln.Q:{var R=r[$++],A=r[$++],E=r[$++],k=r[$++];if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;im(u,R,E,O,Ju),im(c,A,k,O,ec),t.quadraticCurveTo(Ju[1],ec[1],Ju[2],ec[2]);break e}g+=M}t.quadraticCurveTo(R,A,E,k),u=E,c=k;break}case ln.A:var F=r[$++],H=r[$++],V=r[$++],X=r[$++],Q=r[$++],K=r[$++],te=r[$++],q=!r[$++],ee=V>X?V:X,J=pl(V-X)>.001,G=Q+K,Y=!1;if(h){var M=v[m++];g+M>y&&(G=Q+K*(y-g)/M,Y=!0),g+=M}if(J&&t.ellipse?t.ellipse(F,H,V,X,te,Q,G,q):t.arc(F,H,ee,Q,G,q),Y)break e;T&&(l=tc(Q)*V+F,s=nc(Q)*X+H),u=tc(G)*V+F,c=nc(G)*X+H;break;case ln.R:l=u=r[$],s=c=r[$+1],d=r[$++],f=r[$++];var oe=r[$++],W=r[$++];if(h){var M=v[m++];if(g+M>y){var Z=y-g;t.moveTo(d,f),t.lineTo(d+c2(Z,oe),f),Z-=oe,Z>0&&t.lineTo(d+oe,f+c2(Z,W)),Z-=W,Z>0&&t.lineTo(d+d2(oe-Z,0),f+W),Z-=oe,Z>0&&t.lineTo(d,f+d2(W-Z,0));break e}g+=M}t.rect(d,f,oe,W);break;case ln.Z:if(h){var M=v[m++];if(g+M>y){var O=(y-g)/M;t.lineTo(u*(1-O)+l*O,c*(1-O)+s*O);break e}g+=M}t.closePath(),u=l,c=s}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=ln,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function Bs(e,t,n,r,i,o,a){if(i===0)return!1;var l=i,s=0,u=e;if(a>t+l&&a>r+l||ae+l&&o>n+l||ot+d&&c>r+d&&c>o+d&&c>l+d||ce+d&&u>n+d&&u>i+d&&u>a+d||ut+u&&s>r+u&&s>o+u||se+u&&l>n+u&&l>i+u||ln||c+ui&&(i+=Uv);var f=Math.atan2(s,l);return f<0&&(f+=Uv),f>=r&&f<=i||f+Uv>=r&&f+Uv<=i}function Cl(e,t,n,r,i,o){if(o>t&&o>r||oi?l:0}var ws=il.CMD,rc=Math.PI*2,Mje=1e-4;function Aje(e,t){return Math.abs(e-t)t&&u>r&&u>o&&u>l||u1&&Oje(),h=lr(t,r,o,l,bo[0]),f>1&&(v=lr(t,r,o,l,bo[1]))),f===2?gt&&l>r&&l>o||l=0&&u<=1){for(var c=0,d=mr(t,r,o,u),f=0;fn||l<-n)return 0;var s=Math.sqrt(n*n-l*l);ii[0]=-s,ii[1]=s;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=rc-1e-4){r=0,i=rc;var c=o?1:-1;return a>=ii[0]+e&&a<=ii[1]+e?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=rc,i+=rc);for(var f=0,h=0;h<2;h++){var v=ii[h];if(v+e>a){var p=Math.atan2(l,v),c=o?1:-1;p<0&&(p=rc+p),(p>=r&&p<=i||p+rc>=r&&p+rc<=i)&&(p>Math.PI/2&&p1&&(n||(l+=Cl(s,u,c,d,r,i))),g&&(s=o[v],u=o[v+1],c=s,d=u),p){case ws.M:c=o[v++],d=o[v++],s=c,u=d;break;case ws.L:if(n){if(Bs(s,u,o[v],o[v+1],t,r,i))return!0}else l+=Cl(s,u,o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.C:if(n){if(Ije(s,u,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else l+=Dje(s,u,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.Q:if(n){if(ate(s,u,o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else l+=Eje(s,u,o[v++],o[v++],o[v],o[v+1],r,i)||0;s=o[v++],u=o[v++];break;case ws.A:var m=o[v++],y=o[v++],b=o[v++],S=o[v++],x=o[v++],$=o[v++];v+=1;var C=!!(1-o[v++]);f=Math.cos(x)*b+m,h=Math.sin(x)*S+y,g?(c=f,d=h):l+=Cl(s,u,f,h,r,i);var T=(r-m)*S/b+m;if(n){if(Pje(m,y,S,x,x+$,C,t,T,i))return!0}else l+=Rje(m,y,S,x,x+$,C,T,i);s=Math.cos(x+$)*b+m,u=Math.sin(x+$)*S+y;break;case ws.R:c=s=o[v++],d=u=o[v++];var I=o[v++],P=o[v++];if(f=c+I,h=d+P,n){if(Bs(c,d,f,d,t,r,i)||Bs(f,d,f,h,t,r,i)||Bs(f,h,c,h,t,r,i)||Bs(c,h,c,d,t,r,i))return!0}else l+=Cl(f,d,f,h,r,i),l+=Cl(c,h,c,d,r,i);break;case ws.Z:if(n){if(Bs(s,u,c,d,t,r,i))return!0}else l+=Cl(s,u,c,d,r,i);s=c,u=d;break}}return!n&&!Aje(u,d)&&(l+=Cl(s,u,c,d,r,i)||0),l!==0}function Lje(e,t,n){return lte(e,0,!1,t,n)}function Nje(e,t,n,r){return lte(e,t,!0,n,r)}var jS=et({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},rd),kje={style:et({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},mC.style)},v2=nl.concat(["invisible","culling","z","z2","zlevel","parent"]),Bje=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(s){n.buildPath(s,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var l=0;l.5?xM:r>.2?bWe:wM}else if(n)return wM}return xM},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Fe(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=zS(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&Nf)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),n=a.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var l=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){l.copy(n);var s=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c==null?4:c)}s>1e-10&&(l.width+=u/s,l.height+=u/s,l.x-=u/s/2,l.y-=u/s/2)}return l}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),a=this.style;if(n=i[0],r=i[1],o.contain(n,r)){var l=this.path;if(this.hasStroke()){var s=a.lineWidth,u=a.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),Nje(l,s/u,n,r)))return!0}if(this.hasFill())return Lje(l,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Nf,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:Te(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Nf)},t.prototype.createStyle=function(n){return dC(jS,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Te({},this.shape))},t.prototype._applyStateObj=function(n,r,i,o,a,l){e.prototype._applyStateObj.call(this,n,r,i,o,a,l);var s=!(r&&o),u;if(r&&r.shape?a?o?u=r.shape:(u=Te({},i.shape),Te(u,r.shape)):(u=Te({},o?this.shape:i.shape),Te(u,r.shape)):s&&(u=i.shape),u)if(a){this.shape=Te({},this.shape);for(var c={},d=Rt(u),f=0;f0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return dC(Fje,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=oy(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(Ro);ste.prototype.type="tspan";const um=ste;var zje=et({x:0,y:0},rd),Hje={style:et({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},mC.style)};function Vje(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var ute=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return dC(zje,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var o=Vje(r.image)?r.image:this.__image;if(!o)return 0;var a=n==="width"?"height":"width",l=r[a];return l==null?o[n]:o[n]/o[a]*l},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Hje},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new $t(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Ro);ute.prototype.type="image";const Er=ute;function Wje(e,t){var n=t.x,r=t.y,i=t.width,o=t.height,a=t.r,l,s,u,c;i<0&&(n=n+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?l=s=u=c=a:a instanceof Array?a.length===1?l=s=u=c=a[0]:a.length===2?(l=u=a[0],s=c=a[1]):a.length===3?(l=a[0],s=c=a[1],u=a[2]):(l=a[0],s=a[1],u=a[2],c=a[3]):l=s=u=c=0;var d;l+s>i&&(d=l+s,l*=i/d,s*=i/d),u+c>i&&(d=u+c,u*=i/d,c*=i/d),s+u>o&&(d=s+u,s*=o/d,u*=o/d),l+c>o&&(d=l+c,l*=o/d,c*=o/d),e.moveTo(n+l,r),e.lineTo(n+i-s,r),s!==0&&e.arc(n+i-s,r+s,s,-Math.PI/2,0),e.lineTo(n+i,r+o-u),u!==0&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+l),l!==0&&e.arc(n+l,r+l,l,Math.PI,Math.PI*1.5)}var qf=Math.round;function cte(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var l=n&&n.lineWidth;return l&&(qf(r*2)===qf(i*2)&&(e.x1=e.x2=zc(r,l,!0)),qf(o*2)===qf(a*2)&&(e.y1=e.y2=zc(o,l,!0))),e}}function dte(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var l=n&&n.lineWidth;return l&&(e.x=zc(r,l,!0),e.y=zc(i,l,!0),e.width=Math.max(zc(r+o,l,!1)-e.x,o===0?0:1),e.height=Math.max(zc(i+a,l,!1)-e.y,a===0?0:1)),e}}function zc(e,t,n){if(!t)return e;var r=qf(e*2);return(r+qf(t))%2===0?r/2:(r+(n?1:-1))/2}var jje=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Gje={},fte=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new jje},t.prototype.buildPath=function(n,r){var i,o,a,l;if(this.subPixelOptimize){var s=dte(Gje,r,this.style);i=s.x,o=s.y,a=s.width,l=s.height,s.r=r.r,r=s}else i=r.x,o=r.y,a=r.width,l=r.height;r.r?Wje(n,r):n.rect(i,o,a,l)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Mt);fte.prototype.type="rect";const Ht=fte;var dF={fill:"#000"},fF=2,Kje={style:et({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},mC.style)},hte=function(e){ge(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=dF,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,O=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),D=a.calculatedLineHeight,R=0;R=0&&(R=$[D],R.align==="right");)this._placeToken(R,n,T,m,O,"right",b),I-=R.width,O-=R.width,D--;for(M+=(o-(M-g)-(y-O)-I)/2;P<=D;)R=$[P],this._placeToken(R,n,T,m,M+R.width/2,"center",b),M+=R.width,P++;m+=T}},t.prototype._placeToken=function(n,r,i,o,a,l,s){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,d=o+i/2;c==="top"?d=o+n.height/2:c==="bottom"&&(d=o+i-n.height/2);var f=!n.isLineHolder&&p2(u);f&&this._renderBackground(u,r,l==="right"?a-n.width:l==="center"?a-n.width/2:a,d-n.height/2,n.width,n.height);var h=!!u.backgroundColor,v=n.textPadding;v&&(a=yF(a,l,v),d-=n.height/2-v[0]-n.innerHeight/2);var p=this._getOrCreateChild(um),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,y=!1,b=0,S=mF("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,m.fill)),x=gF("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!s&&(!m.autoStroke||y)?(b=fF,m.stroke):null),$=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=a,g.y=d,$&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=l,g.textBaseline="middle",g.font=n.font||pu,g.opacity=qa(u.opacity,r.opacity,1),vF(g,u),x&&(g.lineWidth=qa(u.lineWidth,r.lineWidth,b),g.lineDash=vt(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),S&&(g.fill=S);var C=n.contentWidth,T=n.contentHeight;p.setBoundingRect(new $t($p(g.x,C,g.textAlign),kf(g.y,T,g.textBaseline),C,T))},t.prototype._renderBackground=function(n,r,i,o,a,l){var s=n.backgroundColor,u=n.borderWidth,c=n.borderColor,d=s&&s.image,f=s&&!d,h=n.borderRadius,v=this,p,g;if(f||n.lineHeight||u&&c){p=this._getOrCreateChild(Ht),p.useStyle(p.createStyle()),p.style.fill=null;var m=p.shape;m.x=i,m.y=o,m.width=a,m.height=l,m.r=h,p.dirtyShape()}if(f){var y=p.style;y.fill=s||null,y.fillOpacity=vt(n.fillOpacity,1)}else if(d){g=this._getOrCreateChild(Er),g.onload=function(){v.dirtyStyle()};var b=g.style;b.image=s.image,b.x=i,b.y=o,b.width=a,b.height=l}if(u&&c){var y=p.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=vt(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var S=(p||g).style;S.shadowBlur=n.shadowBlur||0,S.shadowColor=n.shadowColor||"transparent",S.shadowOffsetX=n.shadowOffsetX||0,S.shadowOffsetY=n.shadowOffsetY||0,S.opacity=qa(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return pte(n)&&(r=[n.fontStyle,n.fontWeight,vte(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&Zo(r)||n.textFont||n.font},t}(Ro),Uje={left:!0,right:1,center:1},Xje={top:1,bottom:1,middle:1},hF=["fontStyle","fontWeight","fontSize","fontFamily"];function vte(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?t4+"px":e+"px"}function vF(e,t){for(var n=0;n=0,o=!1;if(e instanceof Mt){var a=gte(e),l=i&&a.selectFill||a.normalFill,s=i&&a.selectStroke||a.normalStroke;if(ff(l)||ff(s)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=Te({},r),u=Te({},u),u.fill=l):!ff(u.fill)&&ff(l)?(o=!0,r=Te({},r),u=Te({},u),u.fill=hM(l)):!ff(u.stroke)&&ff(s)&&(o||(r=Te({},r),u=Te({},u)),u.stroke=hM(s)),r.style=u}}if(r&&r.z2==null){o||(r=Te({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c!=null?c:pv)}return r}function tGe(e,t,n){if(n&&n.z2==null){n=Te({},n);var r=e.z2SelectLift;n.z2=e.z2+(r!=null?r:qje)}return n}function nGe(e,t,n){var r=Tt(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:Jje(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return a.opacity==null&&(n=Te({},n),a=Te({opacity:r?i:o.opacity*.1},a),n.style=a),n}function g2(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return eGe(this,e,t,n);if(e==="blur")return nGe(this,e,n);if(e==="select")return tGe(this,e,n)}return n}function $d(e){e.stateProxy=g2;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=g2),n&&(n.stateProxy=g2)}function CF(e,t){!Cte(e,t)&&!e.__highByOuter&&cs(e,mte)}function $F(e,t){!Cte(e,t)&&!e.__highByOuter&&cs(e,yte)}function Zl(e,t){e.__highByOuter|=1<<(t||0),cs(e,mte)}function Ql(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&cs(e,yte)}function Ste(e){cs(e,C4)}function $4(e){cs(e,bte)}function xte(e){cs(e,Zje)}function wte(e){cs(e,Qje)}function Cte(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function $te(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,o){var a=x4(o),l=i==="series",s=l?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!l&&r.push(s),a.isBlured&&(s.group.traverse(function(u){bte(u)}),l&&n.push(o)),a.isBlured=!1}),j(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function MM(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var d=0;d0){var l={dataIndex:a,seriesIndex:n.seriesIndex};o!=null&&(l.dataType=o),t.push(l)}})}),t}function od(e,t,n){Hc(e,!0),cs(e,$d),OM(e,t,n)}function sGe(e){Hc(e,!1)}function In(e,t,n,r){r?sGe(e):od(e,t,n)}function OM(e,t,n){var r=ut(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var TF=["emphasis","blur","select"],uGe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Or(e,t,n,r){n=n||"itemStyle";for(var i=0;i1&&(a*=m2(v),l*=m2(v));var p=(i===o?-1:1)*m2((a*a*(l*l)-a*a*(h*h)-l*l*(f*f))/(a*a*(h*h)+l*l*(f*f)))||0,g=p*a*h/l,m=p*-l*f/a,y=(e+n)/2+P0(d)*g-I0(d)*m,b=(t+r)/2+I0(d)*g+P0(d)*m,S=AF([1,0],[(f-g)/a,(h-m)/l]),x=[(f-g)/a,(h-m)/l],$=[(-1*f-g)/a,(-1*h-m)/l],C=AF(x,$);if(EM(x,$)<=-1&&(C=Xv),EM(x,$)>=1&&(C=0),C<0){var T=Math.round(C/Xv*1e6)/1e6;C=Xv*2+T%2*Xv}c.addData(u,y,b,a,l,S,C,d,o)}var pGe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,gGe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function mGe(e){var t=new il;if(!e)return t;var n=0,r=0,i=n,o=r,a,l=il.CMD,s=e.match(pGe);if(!s)return t;for(var u=0;uR*R+A*A&&(T=P,I=M),{cx:T,cy:I,x0:-c,y0:-d,x1:T*(i/x-1),y1:I*(i/x-1)}}function $Ge(e){var t;if(Ae(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function _Ge(e,t){var n,r=_p(t.r,0),i=_p(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var l=r;r=i,i=l}var s=t.startAngle,u=t.endAngle;if(!(isNaN(s)||isNaN(u))){var c=t.cx,d=t.cy,f=!!t.clockwise,h=DF(u-s),v=h>y2&&h%y2;if(v>Ko&&(h=v),!(r>Ko))e.moveTo(c,d);else if(h>y2-Ko)e.moveTo(c+r*vf(s),d+r*ic(s)),e.arc(c,d,r,s,u,!f),i>Ko&&(e.moveTo(c+i*vf(u),d+i*ic(u)),e.arc(c,d,i,u,s,f));else{var p=void 0,g=void 0,m=void 0,y=void 0,b=void 0,S=void 0,x=void 0,$=void 0,C=void 0,T=void 0,I=void 0,P=void 0,M=void 0,O=void 0,D=void 0,R=void 0,A=r*vf(s),E=r*ic(s),k=i*vf(u),N=i*ic(u),B=h>Ko;if(B){var F=t.cornerRadius;F&&(n=$Ge(F),p=n[0],g=n[1],m=n[2],y=n[3]);var H=DF(r-i)/2;if(b=wa(H,m),S=wa(H,y),x=wa(H,p),$=wa(H,g),I=C=_p(b,S),P=T=_p(x,$),(C>Ko||T>Ko)&&(M=r*vf(u),O=r*ic(u),D=i*vf(s),R=i*ic(s),hKo){var J=wa(m,I),G=wa(y,I),Y=M0(D,R,A,E,r,J,f),oe=M0(M,O,k,N,r,G,f);e.moveTo(c+Y.cx+Y.x0,d+Y.cy+Y.y0),I0&&e.arc(c+Y.cx,d+Y.cy,J,Lr(Y.y0,Y.x0),Lr(Y.y1,Y.x1),!f),e.arc(c,d,r,Lr(Y.cy+Y.y1,Y.cx+Y.x1),Lr(oe.cy+oe.y1,oe.cx+oe.x1),!f),G>0&&e.arc(c+oe.cx,d+oe.cy,G,Lr(oe.y1,oe.x1),Lr(oe.y0,oe.x0),!f))}else e.moveTo(c+A,d+E),e.arc(c,d,r,s,u,!f);if(!(i>Ko)||!B)e.lineTo(c+k,d+N);else if(P>Ko){var J=wa(p,P),G=wa(g,P),Y=M0(k,N,M,O,i,-G,f),oe=M0(A,E,D,R,i,-J,f);e.lineTo(c+Y.cx+Y.x0,d+Y.cy+Y.y0),P0&&e.arc(c+Y.cx,d+Y.cy,G,Lr(Y.y0,Y.x0),Lr(Y.y1,Y.x1),!f),e.arc(c,d,i,Lr(Y.cy+Y.y1,Y.cx+Y.x1),Lr(oe.cy+oe.y1,oe.cx+oe.x1),f),J>0&&e.arc(c+oe.cx,d+oe.cy,J,Lr(oe.y1,oe.x1),Lr(oe.y0,oe.x0),!f))}else e.lineTo(c+k,d+N),e.arc(c,d,i,u,s,f)}e.closePath()}}}var TGe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),Ete=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new TGe},t.prototype.buildPath=function(n,r){_Ge(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Mt);Ete.prototype.type="sector";const Di=Ete;var IGe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Rte=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new IGe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.PI*2;n.moveTo(i+r.r,o),n.arc(i,o,r.r,0,a,!1),n.moveTo(i+r.r0,o),n.arc(i,o,r.r0,0,a,!0)},t}(Mt);Rte.prototype.type="ring";const xC=Rte;function PGe(e,t,n,r){var i=[],o=[],a=[],l=[],s,u,c,d;if(r){c=[1/0,1/0],d=[-1/0,-1/0];for(var f=0,h=e.length;f=2){if(r){var o=PGe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,l=0;l<(n?a:a-1);l++){var s=o[l*2],u=o[l*2+1],c=i[(l+1)%a];e.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var l=1,d=i.length;lac[1]){if(l=!1,o)return l;var c=Math.abs(ac[0]-oc[1]),d=Math.abs(oc[0]-ac[1]);Math.min(c,d)>i.len()&&(c0){var d=c.duration,f=c.delay,h=c.easing,v={duration:d,delay:f||0,easing:h,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};l?t.animateFrom(n,v):t.animateTo(n,v)}else t.stopAnimation(),!l&&t.attr(n),a&&a(1),o&&o()}function Kt(e,t,n,r,i,o){A4("update",e,t,n,r,i,o)}function Sn(e,t,n,r,i,o){A4("enter",e,t,n,r,i,o)}function mh(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function LF(e){return!e.isGroup}function XGe(e){return e.shape!=null}function uy(e,t,n){if(!e||!t)return;function r(a){var l={};return a.traverse(function(s){LF(s)&&s.anid&&(l[s.anid]=s)}),l}function i(a){var l={x:a.x,y:a.y,rotation:a.rotation};return XGe(a)&&(l.shape=Te({},a.shape)),l}var o=r(e);t.traverse(function(a){if(LF(a)&&a.anid){var l=o[a.anid];if(l){var s=i(a);a.attr(i(l)),Kt(a,s,n,ut(a).dataIndex)}}})}function Ute(e,t){return Oe(e,function(n){var r=n[0];r=US(r,t.x),r=XS(r,t.x+t.width);var i=n[1];return i=US(i,t.y),i=XS(i,t.y+t.height),[r,i]})}function YGe(e,t){var n=US(e.x,t.x),r=XS(e.x+e.width,t.x+t.width),i=US(e.y,t.y),o=XS(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function cy(e,t,n){var r=Te({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),et(i,n),new Er(r)):CC(e.replace("path://",""),r,n,"center")}function Tp(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var g=b2(h,v,c,d)/f;return!(g<0||g>1)}function b2(e,t,n,r){return e*r-n*t}function qGe(e){return e<=1e-6&&e>=-1e-6}function Wd(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Fe(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,l={componentType:o,name:r,$vars:["name"]};l[o+"Index"]=a;var s=e.formatterParamsExtra;s&&j(Rt(s),function(c){Ve(l,c)||(l[c]=s[c],l.$vars.push(c))});var u=ut(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:et({content:r,encodeHTMLContent:!0,formatterParams:l},i)}}function NF(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Eu(e,t){if(e)if(Ae(e))for(var n=0;n=0&&l.push(s)}),l}}function Ru(e,t){return St(St({},e,!0),t,!0)}const uKe={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},cKe={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var qS="ZH",E4="EN",yh=E4,b1={},R4={},ene=Wt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||yh).toUpperCase();return e.indexOf(qS)>-1?qS:yh}():yh;function tne(e,t){e=e.toUpperCase(),R4[e]=new hn(t),b1[e]=t}function dKe(e){if(Fe(e)){var t=b1[e.toUpperCase()]||{};return e===qS||e===E4?rt(t):St(rt(t),rt(b1[yh]),!1)}else return St(rt(e),rt(b1[yh]),!1)}function NM(e){return R4[e]}function fKe(){return R4[yh]}tne(E4,uKe);tne(qS,cKe);var L4=1e3,N4=L4*60,bg=N4*60,$o=bg*24,HF=$o*365,Ip={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},D0="{yyyy}-{MM}-{dd}",VF={year:"{yyyy}",month:"{yyyy}-{MM}",day:D0,hour:D0+" "+Ip.hour,minute:D0+" "+Ip.minute,second:D0+" "+Ip.second,millisecond:Ip.none},w2=["year","month","day","hour","minute","second","millisecond"],nne=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Cs(e,t){return e+="","0000".substr(0,t-e.length)+e}function bh(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function hKe(e){return e===bh(e)}function vKe(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function TC(e,t,n,r){var i=rl(e),o=i[k4(n)](),a=i[Sh(n)]()+1,l=Math.floor((a-1)/3)+1,s=i[IC(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[hm(n)](),d=(c-1)%12+1,f=i[PC(n)](),h=i[MC(n)](),v=i[AC(n)](),p=c>=12?"pm":"am",g=p.toUpperCase(),m=r instanceof hn?r:NM(r||ene)||fKe(),y=m.getModel("time"),b=y.get("month"),S=y.get("monthAbbr"),x=y.get("dayOfWeek"),$=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Cs(o%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,b[a-1]).replace(/{MMM}/g,S[a-1]).replace(/{MM}/g,Cs(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Cs(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,$[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Cs(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Cs(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,Cs(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,Cs(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Cs(v,3)).replace(/{S}/g,v+"")}function pKe(e,t,n,r,i){var o=null;if(Fe(n))o=n;else if(Ze(n))o=n(e.value,t,{level:e.level});else{var a=Te({},Ip);if(e.level>0)for(var l=0;l=0;--l)if(s[u]){o=s[u];break}o=o||a.none}if(Ae(o)){var d=e.level==null?0:e.level>=0?e.level:o.length+e.level;d=Math.min(d,o.length-1),o=o[d]}}return TC(new Date(e.value),o,i,r)}function rne(e,t){var n=rl(e),r=n[Sh(t)]()+1,i=n[IC(t)](),o=n[hm(t)](),a=n[PC(t)](),l=n[MC(t)](),s=n[AC(t)](),u=s===0,c=u&&l===0,d=c&&a===0,f=d&&o===0,h=f&&i===1,v=h&&r===1;return v?"year":h?"month":f?"day":d?"hour":c?"minute":u?"second":"millisecond"}function WF(e,t,n){var r=Gt(e)?rl(e):e;switch(t=t||rne(e,n),t){case"year":return r[k4(n)]();case"half-year":return r[Sh(n)]()>=6?1:0;case"quarter":return Math.floor((r[Sh(n)]()+1)/4);case"month":return r[Sh(n)]();case"day":return r[IC(n)]();case"half-day":return r[hm(n)]()/24;case"hour":return r[hm(n)]();case"minute":return r[PC(n)]();case"second":return r[MC(n)]();case"millisecond":return r[AC(n)]()}}function k4(e){return e?"getUTCFullYear":"getFullYear"}function Sh(e){return e?"getUTCMonth":"getMonth"}function IC(e){return e?"getUTCDate":"getDate"}function hm(e){return e?"getUTCHours":"getHours"}function PC(e){return e?"getUTCMinutes":"getMinutes"}function MC(e){return e?"getUTCSeconds":"getSeconds"}function AC(e){return e?"getUTCMilliseconds":"getMilliseconds"}function gKe(e){return e?"setUTCFullYear":"setFullYear"}function ine(e){return e?"setUTCMonth":"setMonth"}function one(e){return e?"setUTCDate":"setDate"}function ane(e){return e?"setUTCHours":"setHours"}function lne(e){return e?"setUTCMinutes":"setMinutes"}function sne(e){return e?"setUTCSeconds":"setSeconds"}function une(e){return e?"setUTCMilliseconds":"setMilliseconds"}function cne(e){if(!Kee(e))return Fe(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function dne(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var bv=l4;function kM(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&Zo(c)?c:"-"}function o(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var a=t==="time",l=e instanceof Date;if(a||l){var s=a?rl(e):e;if(isNaN(+s)){if(l)return"-"}else return TC(s,r,n)}if(t==="ordinal")return eM(e)?i(e):Gt(e)&&o(e)?e+"":"-";var u=ql(e);return o(u)?cne(u):eM(e)?i(e):typeof e=="boolean"?e+"":"-"}var jF=["a","b","c","d","e","f","g"],C2=function(e,t){return"{"+e+(t==null?"":t)+"}"};function fne(e,t,n){Ae(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o':'';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function _d(e,t){return t=t||"transparent",Fe(e)?e:nt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function ZS(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var S1=j,hne=["left","right","top","bottom","width","height"],Vc=[["width","left","right"],["height","top","bottom"]];function B4(e,t,n,r,i){var o=0,a=0;r==null&&(r=1/0),i==null&&(i=1/0);var l=0;t.eachChild(function(s,u){var c=s.getBoundingRect(),d=t.childAt(u+1),f=d&&d.getBoundingRect(),h,v;if(e==="horizontal"){var p=c.width+(f?-f.x+c.x:0);h=o+p,h>r||s.newline?(o=0,h=p,a+=l+n,l=c.height):l=Math.max(l,c.height)}else{var g=c.height+(f?-f.y+c.y:0);v=a+g,v>i||s.newline?(o+=l+n,a=0,v=g,l=c.width):l=Math.max(l,c.width)}s.newline||(s.x=o,s.y=a,s.markRedraw(),e==="horizontal"?o=h+n:a=v+n)})}var ld=B4;pt(B4,"vertical");pt(B4,"horizontal");function bKe(e,t,n){var r=t.width,i=t.height,o=Ne(e.left,r),a=Ne(e.top,i),l=Ne(e.right,r),s=Ne(e.bottom,i);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(l)||isNaN(parseFloat(e.right)))&&(l=r),(isNaN(a)||isNaN(parseFloat(e.top)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.bottom)))&&(s=i),n=bv(n||0),{width:Math.max(l-o-n[1]-n[3],0),height:Math.max(s-a-n[0]-n[2],0)}}function ir(e,t,n){n=bv(n||0);var r=t.width,i=t.height,o=Ne(e.left,r),a=Ne(e.top,i),l=Ne(e.right,r),s=Ne(e.bottom,i),u=Ne(e.width,r),c=Ne(e.height,i),d=n[2]+n[0],f=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-l-f-o),isNaN(c)&&(c=i-s-d-a),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(o)&&(o=r-l-u-f),isNaN(a)&&(a=i-s-c-d),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-f;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-d;break}o=o||0,a=a||0,isNaN(u)&&(u=r-f-o-(l||0)),isNaN(c)&&(c=i-d-a-(s||0));var v=new $t(o+n[3],a+n[0],u,c);return v.margin=n,v}function OC(e,t,n,r,i,o){var a=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],s=i&&i.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!a&&!l)return!1;var u;if(s==="raw")u=e.type==="group"?new $t(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var d=ir(et({width:u.width,height:u.height},t),n,r),f=a?d.x-u.x:0,h=l?d.y-u.y:0;return s==="raw"?(o.x=f,o.y=h):(o.x+=f,o.y+=h),o===e&&e.markRedraw(),!0}function SKe(e,t){return e[Vc[t][0]]!=null||e[Vc[t][1]]!=null&&e[Vc[t][2]]!=null}function vm(e){var t=e.layoutMode||e.constructor.layoutMode;return nt(t)?t:t?{type:t}:null}function bu(e,t,n){var r=n&&n.ignoreSize;!Ae(r)&&(r=[r,r]);var i=a(Vc[0],0),o=a(Vc[1],1);u(Vc[0],e,i),u(Vc[1],e,o);function a(c,d){var f={},h=0,v={},p=0,g=2;if(S1(c,function(b){v[b]=e[b]}),S1(c,function(b){l(t,b)&&(f[b]=v[b]=t[b]),s(f,b)&&h++,s(v,b)&&p++}),r[d])return s(t,c[1])?v[c[2]]=null:s(t,c[2])&&(v[c[1]]=null),v;if(p===g||!h)return v;if(h>=g)return f;for(var m=0;m=0;s--)l=St(l,i[s],!0);r.defaultOption=l}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",o=n+"Id";return ay(this.ecModel,n,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(hn);nte(xv,hn);pC(xv);lKe(xv);sKe(xv,wKe);function wKe(e){var t=[];return j(xv.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=Oe(t,function(n){return Va(n).main}),e!=="dataset"&&Tt(t,"dataset")<=0&&t.unshift("dataset"),t}const Vt=xv;var pne="";typeof navigator!="undefined"&&(pne=navigator.platform||"");var pf="rgba(0, 0, 0, 0.2)";const CKe={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:pf,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:pf,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:pf,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:pf,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:pf,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:pf,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:pne.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var gne=Ge(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),ko="original",Zr="arrayRows",Bo="objectRows",sl="keyedColumns",lu="typedArray",mne="unknown",Za="column",wv="row",wr={Must:1,Might:2,Not:3},yne=Ft();function $Ke(e){yne(e).datasetMap=Ge()}function bne(e,t,n){var r={},i=z4(t);if(!i||!e)return r;var o=[],a=[],l=t.ecModel,s=yne(l).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,d;e=e.slice(),j(e,function(p,g){var m=nt(p)?p:e[g]={name:p};m.type==="ordinal"&&c==null&&(c=g,d=v(m)),r[m.name]=[]});var f=s.get(u)||s.set(u,{categoryWayDim:d,valueWayDim:0});j(e,function(p,g){var m=p.name,y=v(p);if(c==null){var b=f.valueWayDim;h(r[m],b,y),h(a,b,y),f.valueWayDim+=y}else if(c===g)h(r[m],0,y),h(o,0,y);else{var b=f.categoryWayDim;h(r[m],b,y),h(a,b,y),f.categoryWayDim+=y}});function h(p,g,m){for(var y=0;yt)return e[r];return e[n-1]}function wne(e,t,n,r,i,o,a){o=o||e;var l=t(o),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=a==null||!r?n:MKe(r,a);if(c=c||n,!(!c||!c.length)){var d=c[s];return i&&(u[i]=d),l.paletteIdx=(s+1)%c.length,d}}function AKe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var E0,Yv,KF,UF="\0_ec_inner",OKe=1,Cne=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,o,a,l){o=o||{},this.option=null,this._theme=new hn(o),this._locale=new hn(a),this._optionManager=l},t.prototype.setOption=function(n,r,i){var o=qF(r);this._optionManager.setOption(n,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,qF(r))},t.prototype._resetOption=function(n,r){var i=!1,o=this._optionManager;if(!n||n==="recreate"){var a=o.mountOption(n==="recreate");!this.option||n==="recreate"?KF(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var l=o.getTimelineOption(this);l&&(i=!0,this._mergeOption(l,r))}if(!n||n==="recreate"||n==="media"){var s=o.getMediaOption(this);s.length&&j(s,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,l=[],s=Ge(),u=r&&r.replaceMergeMainTypeMap;$Ke(this),j(n,function(d,f){d!=null&&(Vt.hasClass(f)?f&&(l.push(f),s.set(f,!0)):i[f]=i[f]==null?rt(d):St(i[f],d,!0))}),u&&u.each(function(d,f){Vt.hasClass(f)&&!s.get(f)&&(l.push(f),s.set(f,!0))}),Vt.topologicalTravel(l,Vt.getAllClassMainTypes(),c,this);function c(d){var f=IKe(this,d,rn(n[d])),h=o.get(d),v=h?u&&u.get(d)?"replaceMerge":"normalMerge":"replaceAll",p=Zee(h,f,v);UWe(p,d,Vt),i[d]=null,o.set(d,null),a.set(d,0);var g=[],m=[],y=0,b;j(p,function(S,x){var $=S.existing,C=S.newOption;if(!C)$&&($.mergeOption({},this),$.optionUpdated({},!1));else{var T=d==="series",I=Vt.getClass(d,S.keyInfo.subType,!T);if(!I)return;if(d==="tooltip"){if(b)return;b=!0}if($&&$.constructor===I)$.name=S.keyInfo.name,$.mergeOption(C,this),$.optionUpdated(C,!1);else{var P=Te({componentIndex:x},S.keyInfo);$=new I(C,this,this,P),Te($,P),S.brandNew&&($.__requireNewView=!0),$.init(C,this,this),$.optionUpdated(null,!0)}}$?(g.push($.option),m.push($),y++):(g.push(void 0),m.push(void 0))},this),i[d]=g,o.set(d,m),a.set(d,y),d==="series"&&E0(this)}this._seriesIndices||E0(this)},t.prototype.getOption=function(){var n=rt(this.option);return j(n,function(r,i){if(Vt.hasClass(i)){for(var o=rn(r),a=o.length,l=!1,s=a-1;s>=0;s--)o[s]&&!sm(o[s])?l=!0:(o[s]=null,!l&&a--);o.length=a,n[i]=o}}),delete n[UF],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a=t:n==="max"?e<=t:e===t}function VKe(e,t){return e.join(",")===t.join(",")}const WKe=BKe;var Wo=j,pm=nt,ZF=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function _2(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=ZF.length;n=0;g--){var m=e[g];if(l||(v=m.data.rawIndexOf(m.stackedByDimension,h)),v>=0){var y=m.data.getByRawIndex(m.stackResultDimension,v);if(s==="all"||s==="positive"&&y>0||s==="negative"&&y<0||s==="samesign"&&f>=0&&y>0||s==="samesign"&&f<=0&&y<0){f=NWe(f,y),p=y;break}}}return r[0]=f,r[1]=p,r})})}var DC=function(){function e(t){this.data=t.data||(t.sourceFormat===sl?{}:[]),this.sourceFormat=t.sourceFormat||mne,this.seriesLayoutBy=t.seriesLayoutBy||Za,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rp&&(p=b)}h[0]=v,h[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};iz=(t={},t[Zr+"_"+Za]={pure:!0,appendData:o},t[Zr+"_"+wv]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Bo]={pure:!0,appendData:o},t[sl]={pure:!0,appendData:function(a){var l=this._data;j(a,function(s,u){for(var c=l[u]||(l[u]=[]),d=0;d<(s||[]).length;d++)c.push(s[d])})}},t[ko]={appendData:o},t[lu]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var l=0;l=0&&(p=a.interpolatedValue[g])}return p!=null?p+"":""})}},e.prototype.getRawValue=function(t,n){return Wh(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function sz(e){var t,n;return nt(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Sg(e){return new aUe(e)}var aUe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;(a!==s||l!==u)&&(o="reset");function c(y){return!(y>=1)&&(y=1),y}var d;(this._dirty||o==="reset")&&(this._dirty=!1,d=this._doReset(r)),this._modBy=s,this._modDataCount=u;var f=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,v=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(d||h1&&r>0?l:a}};return o;function a(){return t=e?null:st},gte:function(e,t){return e>=t}},sUe=function(){function e(t,n){if(!Gt(n)){var r="";qt(r)}this._opFn=Lne[t],this._rvalFloat=ql(n)}return e.prototype.evaluate=function(t){return Gt(t)?this._opFn(t,this._rvalFloat):this._opFn(ql(t),this._rvalFloat)},e}(),Nne=function(){function e(t,n){var r=t==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,n){var r=Gt(t)?t:ql(t),i=Gt(n)?n:ql(n),o=isNaN(r),a=isNaN(i);if(o&&(r=this._incomparable),a&&(i=this._incomparable),o&&a){var l=Fe(t),s=Fe(n);l&&(r=s?t:0),s&&(i=l?n:0)}return ri?-this._resultLT:0},e}(),uUe=function(){function e(t,n){this._rval=n,this._isEQ=t,this._rvalTypeof=typeof n,this._rvalFloat=ql(n)}return e.prototype.evaluate=function(t){var n=t===this._rval;if(!n){var r=typeof t;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=ql(t)===this._rvalFloat)}return this._isEQ?n:!n},e}();function cUe(e,t){return e==="eq"||e==="ne"?new uUe(e==="eq",t):Ve(Lne,e)?new sUe(e,t):null}var dUe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return su(t,n)},e}();function fUe(e,t){var n=new dUe,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==Za&&qt(a);var l=[],s={},u=e.dimensionsDefine;if(u)j(u,function(p,g){var m=p.name,y={index:g,name:m,displayName:p.displayName};if(l.push(y),m!=null){var b="";Ve(s,m)&&qt(b),s[m]=y}});else for(var c=0;c65535?SUe:xUe}function mf(){return[1/0,-1/0]}function wUe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function dz(e,t,n,r,i){var o=Fne[n||"float"];if(i){var a=e[t],l=a&&a.length;if(l!==r){for(var s=new o(r),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:l,end:s}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,l=a.length,s=this._rawExtent,u=Oe(a,function(y){return y.property}),c=0;cm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)o=a-1;else return a}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var l=1/0,s=-1,u=0,c=0,d=this.count();c=0&&s<0)&&(l=v,s=h,u=0),h===s&&(a[u++]=c))}return a.length=u,a},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o=d&&y<=f||isNaN(y))&&(s[u++]=p),p++}v=!0}else if(o===2){for(var g=h[i[0]],b=h[i[1]],S=t[i[1]][0],x=t[i[1]][1],m=0;m=d&&y<=f||isNaN(y))&&($>=S&&$<=x||isNaN($))&&(s[u++]=p),p++}v=!0}}if(!v)if(o===1)for(var m=0;m=d&&y<=f||isNaN(y))&&(s[u++]=C)}else for(var m=0;mt[P][1])&&(T=!1)}T&&(s[u++]=n.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),l=0,s=Math.floor(1/n),u=this.getRawIndex(0),c,d,f,h=new(gf(this._rawCount))(Math.min((Math.ceil(a/s)+2)*2,a));h[l++]=u;for(var v=1;vc&&(c=d,f=S)}M>0&&Ml&&(p=l-c);for(var g=0;gv&&(v=y,h=c+g)}var b=this.getRawIndex(d),S=this.getRawIndex(h);dc-v&&(s=c-v,l.length=s);for(var p=0;pd[1]&&(d[1]=m),f[h++]=y}return o._count=h,o._indices=f,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();os&&(s=d)}return a=[l,s],this._extent[t]=a,a},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,o=0;o=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,o){return su(n[o],this._dimensions[o])}P2={arrayRows:t,objectRows:function(n,r,i,o){return su(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,i,o){var a=n&&(n.value==null?n:n.value);return su(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(n,r,i,o){return n[o]}}}(),e}(),zne=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,o;if(R0(t)){var a=t,l=void 0,s=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),l=u.data,s=u.sourceFormat,o=[c._getVersionSign()]}else l=a.get("data",!0),s=Oi(l)?lu:ko,o=[];var d=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},h=vt(d.seriesLayoutBy,f.seriesLayoutBy)||null,v=vt(d.sourceHeader,f.sourceHeader),p=vt(d.dimensions,f.dimensions),g=h!==f.seriesLayoutBy||!!v!=!!f.sourceHeader||p;i=g?[zM(l,{seriesLayoutBy:h,sourceHeader:v,dimensions:p},s)]:[]}else{var m=t;if(r){var y=this._applyTransform(n);i=y.sourceList,o=y.upstreamSignList}else{var b=m.get("source",!0);i=[zM(b,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&hz(o)}var a,l=[],s=[];return j(t,function(u){u.prepareSource();var c=u.getSource(i||0),d="";i!=null&&!c&&hz(d),l.push(c),s.push(u._getVersionSign())}),r?a=yUe(r,l,{datasetIndex:n.componentIndex}):i!=null&&(a=[JKe(l[0])]),{sourceList:a,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||n>0&&!e.noHeader;return j(e.blocks,function(i){var o=jne(i);o>=t&&(t=o+ +(r&&(!o||VM(i)&&!i.noHeader)))}),t}return 0}function _Ue(e,t,n,r){var i=t.noHeader,o=IUe(jne(t)),a=[],l=t.blocks||[];pi(!l||Ae(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Ve(u,s)){var c=new Nne(u[s],null);l.sort(function(p,g){return c.evaluate(p.sortParam,g.sortParam)})}else s==="seriesDesc"&&l.reverse()}j(l,function(p,g){var m=t.valueFormatter,y=Wne(p)(m?Te(Te({},e),{valueFormatter:m}):e,p,g>0?o.html:0,r);y!=null&&a.push(y)});var d=e.renderMode==="richText"?a.join(o.richText):WM(r,a.join(""),i?n:o.html);if(i)return d;var f=kM(t.header,"ordinal",e.useUTC),h=Vne(r,e.renderMode).nameStyle,v=Hne(r);return e.renderMode==="richText"?Gne(e,f,h)+o.richText+d:WM(r,'
'+jr(f)+"
"+d,n)}function TUe(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(S){return S=Ae(S)?S:[S],Oe(S,function(x,$){return kM(x,Ae(h)?h[$]:h,u)})};if(!(o&&a)){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=o?"":kM(s,"ordinal",u),h=t.valueType,v=a?[]:c(t.value,t.dataIndex),p=!l||!o,g=!l&&o,m=Vne(r,i),y=m.nameStyle,b=m.valueStyle;return i==="richText"?(l?"":d)+(o?"":Gne(e,f,y))+(a?"":AUe(e,v,p,g,b)):WM(r,(l?"":d)+(o?"":PUe(f,!l,y))+(a?"":MUe(v,p,g,b)),n)}}function vz(e,t,n,r,i,o){if(e){var a=Wne(e),l={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(l,e,0,o)}}function IUe(e){return{html:CUe[e],richText:$Ue[e]}}function WM(e,t,n){var r='
',i="margin: "+n+"px 0 0",o=Hne(e);return'
'+t+r+"
"}function PUe(e,t,n){var r=t?"margin-left:2px":"";return''+jr(e)+""}function MUe(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=Ae(e)?e:[e],''+Oe(e,function(a){return jr(a)}).join("  ")+""}function Gne(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function AUe(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Ae(t)?t.join(" "):t,o)}function Kne(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return _d(r)}function Une(e,t){var n=e.get("padding");return n!=null?n:t==="richText"?[8,10]:10}var M2=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Uee()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var i=r==="richText"?this._generateStyleName():null,o=mKe({color:n,type:t,renderMode:r,markerId:i});return Fe(o)?o:(this.richTextStyles[i]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};Ae(n)?j(n,function(o){return Te(r,o)}):Te(r,n);var i=this._generateStyleName();return this.richTextStyles[i]=r,"{"+i+"|"+t+"}"},e}();function Xne(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),a=o.length,l=t.getRawValue(n),s=Ae(l),u=Kne(t,n),c,d,f,h;if(a>1||s&&!a){var v=OUe(l,t,n,o,u);c=v.inlineValues,d=v.inlineValueTypes,f=v.blocks,h=v.inlineValues[0]}else if(a){var p=i.getDimensionInfo(o[0]);h=c=Vh(i,n,o[0]),d=p.type}else h=c=s?l[0]:l;var g=g4(t),m=g&&t.name||"",y=i.getName(n),b=r?m:y;return pr("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[pr("nameValue",{markerType:"item",markerColor:u,name:b,noName:!qo(b),value:c,valueType:d,dataIndex:n})].concat(f||[])})}function OUe(e,t,n,r,i){var o=t.getData(),a=Ja(e,function(d,f,h){var v=o.getDimensionInfo(h);return d=d||v&&v.tooltip!==!1&&v.displayName!=null},!1),l=[],s=[],u=[];r.length?j(r,function(d){c(Vh(o,n,d),d)}):j(e,c);function c(d,f){var h=o.getDimensionInfo(f);!h||h.otherDims.tooltip===!1||(a?u.push(pr("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:d,valueType:h.type})):(l.push(d),s.push(h.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var $s=Ft();function L0(e,t){return e.getName(t)||e.getId(t)}var x1="__universalTransitionEnabled",LC=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=bg({count:EUe,reset:RUe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var o=$s(this).sourceManager=new zne(this);o.prepareSource();var a=this.getInitialData(n,i);gz(a,this),this.dataTask.context.data=a,$s(this).dataBeforeProcessed=a,pz(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=hm(this),o=i?bv(n):{},a=this.subType;Vt.hasClass(a)&&(a+="Series"),St(n,r.getTheme().get(this.subType)),St(n,this.getDefaultOption()),xd(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&bu(n,o,i)},t.prototype.mergeOption=function(n,r){n=St(this.option,n,!0),this.fillDataTextStyle(n.data);var i=hm(this);i&&bu(this.option,n,i);var o=$s(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(n,r);gz(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,$s(this).dataBeforeProcessed=a,pz(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(n){if(n&&!Ai(n))for(var r=["show"],i=0;ithis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var o=this.ecModel,a=H4.prototype.getColorFromPalette.call(this,n,r,i);return a||(a=o.getColorFromPalette(n,r,i)),a},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l=0&&i.push(a)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[L0(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[x1])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,o,a=this.option,l=a.selectedMode,s=r.length;if(!(!l||!s)){if(l==="series")a.selectedMap="all";else if(l==="multiple"){nt(a.selectedMap)||(a.selectedMap={});for(var u=a.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return Vt.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(Vt);qn(LC,EC);qn(LC,H4);nte(LC,Vt);function pz(e){var t=e.name;g4(e)||(e.name=DUe(e)||t)}function DUe(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return j(n,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function EUe(e){return e.model.getRawData().count()}function RUe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),LUe}function LUe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function gz(e,t){j(nm(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,pt(NUe,t))})}function NUe(e,t){var n=jM(e);return n&&n.setOutputEnd((t||this).count()),t}function jM(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}const _n=LC;var K4=function(){function e(){this.group=new lt,this.uid=mv("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();y4(K4);pC(K4);const Pn=K4;function wv(){var e=Ft();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),l=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==l)&&"reset"}}var Yne=Ft(),kUe=wv(),U4=function(){function e(){this.group=new lt,this.uid=mv("viewChart"),this.renderTask=bg({plan:BUe,reset:FUe}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&yz(o,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&yz(o,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){Eu(this.group,t)},e.markUpdateMethod=function(t,n){Yne(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function mz(e,t,n){e&&cm(e)&&(t==="emphasis"?ql:Zl)(e,n)}function yz(e,t,n){var r=wd(e,t),i=t&&t.highlightKey!=null?cGe(t.highlightKey):null;r!=null?j(rn(r),function(o){mz(e.getItemGraphicEl(o),n,i)}):e.eachItemGraphicEl(function(o){mz(o,n,i)})}y4(U4);pC(U4);function BUe(e){return kUe(e.model)}function FUe(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,l=i&&Yne(i).updateMethod,s=o?"incrementalPrepareRender":l&&a[l]?l:"render";return s!=="render"&&a[s](t,n,r,i),zUe[s]}var zUe={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const pn=U4;var QS="\0__throttleOriginMethod",bz="\0__throttleRate",Sz="\0__throttleType";function X4(e,t,n){var r,i=0,o=0,a=null,l,s,u,c;t=t||0;function d(){o=new Date().getTime(),a=null,e.apply(s,u||[])}var f=function(){for(var h=[],v=0;v=0?d():a=setTimeout(d,-l),i=r};return f.clear=function(){a&&(clearTimeout(a),a=null)},f.debounceNextCall=function(h){c=h},f}function Cv(e,t,n,r){var i=e[t];if(i){var o=i[QS]||i,a=i[Sz],l=i[bz];if(l!==n||a!==r){if(n==null||!r)return e[t]=o;i=e[t]=X4(o,n,r==="debounce"),i[QS]=o,i[Sz]=r,i[bz]=n}return i}}function pm(e,t){var n=e[t];n&&n[QS]&&(n.clear&&n.clear(),e[t]=n[QS])}var xz=Ft(),wz={itemStyle:Cd(Jte,!0),lineStyle:Cd(Qte,!0)},HUe={lineStyle:"stroke",itemStyle:"fill"};function qne(e,t){var n=e.visualStyleMapper||wz[t];return n||(console.warn("Unknown style type '"+t+"'."),wz.itemStyle)}function Zne(e,t){var n=e.visualDrawType||HUe[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var VUe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=qne(e,r),a=o(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var s=Zne(e,r),u=a[s],c=Ze(u)?u:null,d=a.fill==="auto"||a.stroke==="auto";if(!a[s]||c||d){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[s]||(a[s]=f,n.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||Ze(a.fill)?f:a.fill,a.stroke=a.stroke==="auto"||Ze(a.stroke)?f:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var p=e.getDataParams(v),g=Te({},a);g[s]=c(p),h.setItemVisual(v,"style",g)}}}},qv=new hn,WUe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=qne(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(a,l){var s=a.getRawDataItem(l);if(s&&s[r]){qv.option=s[r];var u=i(qv),c=a.ensureUniqueItemVisual(l,"style");Te(c,u),qv.option.decal&&(a.setItemVisual(l,"decal",qv.option.decal),qv.option.decal.dirty=!0),o in u&&a.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},jUe={performRawSeries:!0,overallReset:function(e){var t=Ge();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),xz(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},o=n.getData(),a=xz(n).scope,l=n.visualStyleAccessPath||"itemStyle",s=Zne(n,l);o.each(function(u){var c=o.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],d=o.getItemVisual(c,"colorFromPalette");if(d){var f=o.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",v=r.count();f[s]=n.getColorFromPalette(h,a,v)}})}})}},N0=Math.PI;function GUe(e,t){t=t||{},et(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new lt,r=new Ht({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new jt({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Ht({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var a;return t.showSpinner&&(a=new P4({shape:{startAngle:-N0/2,endAngle:-N0/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:N0*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:N0*3/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var l=i.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-s*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:s),c=e.getHeight()/2;t.showSpinner&&a.setShape({cx:u,cy:c}),o.setShape({x:u-s,y:c-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var KUe=function(){function e(t,n,r,i){this._stageTaskMap=Ge(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,l=i&&i.modDataCount,s=l!=null?Math.ceil(l/a):null;return{step:a,modBy:s,modDataCount:l}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,l=t.get("large")&&o>=t.get("largeThreshold"),s=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:l}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=Ge();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;j(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";pi(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,n,r),i.overallReset&&this._createOverallStageTask(i,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var o=t.renderTask,a=o.context;a.model=n,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var o=!1,a=this;j(t,function(s,u){if(!(i.visualType&&i.visualType!==s.visualType)){var c=a._stageTaskMap.get(s.uid),d=c.seriesTaskMap,f=c.overallTask;if(f){var h,v=f.agentStubMap;v.each(function(g){l(i,g)&&(g.dirty(),h=!0)}),h&&f.dirty(),a.updatePayload(f,r);var p=a.getPerformArgs(f,i.block);v.each(function(g){g.perform(p)}),f.perform(p)&&(o=!0)}else d&&d.each(function(g,m){l(i,g)&&g.dirty();var y=a.getPerformArgs(g,i.block);y.skip=!s.performRawSeries&&n.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(y)&&(o=!0)})}});function l(s,u){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var o=this,a=n.seriesTaskMap,l=n.seriesTaskMap=Ge(),s=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):s?r.eachRawSeriesByType(s,c):u&&u(r,i).each(c);function c(d){var f=d.uid,h=l.set(f,a&&a.get(f)||bg({plan:ZUe,reset:QUe,count:eXe}));h.context={model:d,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(d,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var o=this,a=n.overallTask=n.overallTask||bg({reset:UUe});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var l=a.agentStubMap,s=a.agentStubMap=Ge(),u=t.seriesType,c=t.getTargetSeries,d=!0,f=!1,h="";pi(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,v):c?c(r,i).each(v):(d=!1,j(r.getSeries(),v));function v(p){var g=p.uid,m=s.set(g,l&&l.get(g)||(f=!0,bg({reset:XUe,onDirty:qUe})));m.context={model:p,overallProgress:d},m.agent=a,m.__block=d,o._pipe(p,m)}f&&a.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return Ze(t)&&(t={overallReset:t,seriesType:tXe(t)}),t.uid=mv("stageHandler"),n&&(t.visualType=n),t},e}();function UUe(e){e.overallReset(e.ecModel,e.api,e.payload)}function XUe(e){return e.overallProgress&&YUe}function YUe(){this.agent.dirty(),this.getDownstream().dirty()}function qUe(){this.agent&&this.agent.dirty()}function ZUe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function QUe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=rn(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Oe(t,function(n,r){return Qne(r)}):JUe}var JUe=Qne(0);function Qne(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&h===u.length-f.length){var v=u.slice(0,h);v!=="data"&&(n.mainType=v,n[f.toLowerCase()]=s,c=!0)}}l.hasOwnProperty(u)&&(r[u]=s,c=!0),c||(i[u]=s)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,l=r.view;if(!a||!l)return!0;var s=n.cptQuery,u=n.dataQuery;return c(s,a,"mainType")&&c(s,a,"subType")&&c(s,a,"index","componentIndex")&&c(s,a,"name")&&c(s,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,n.otherQuery,i,o));function c(d,f,h,v){return d[h]==null||f[v||h]===d[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),GM=["symbol","symbolSize","symbolRotate","symbolOffset"],Tz=GM.concat(["symbolKeepAspect"]),oXe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a=0&&jc(s)?s:.5;var u=e.createRadialGradient(a,l,0,a,l,s);return u}function KM(e,t,n){for(var r=t.type==="radial"?xXe(e,t,n):SXe(e,t,n),i=t.colorStops,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Gt(e)?[e]:Ae(e)?e:null}function q4(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&CXe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=Oe(n,function(o){return o/i}),r/=i)}return[n,r]}var $Xe=new rl(!0);function tx(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Iz(e){return typeof e=="string"&&e!=="none"}function nx(e){var t=e.fill;return t!=null&&t!=="none"}function Pz(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function Mz(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function UM(e,t,n){var r=b4(t.image,t.__image,n);if(gC(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*l1),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function _Xe(e,t,n,r){var i,o=tx(n),a=nx(n),l=n.strokePercent,s=l<1,u=!t.path;(!t.silent||s)&&u&&t.createPathProxy();var c=t.path||$Xe,d=t.__dirty;if(!r){var f=n.fill,h=n.stroke,v=a&&!!f.colorStops,p=o&&!!h.colorStops,g=a&&!!f.image,m=o&&!!h.image,y=void 0,b=void 0,S=void 0,x=void 0,$=void 0;(v||p)&&($=t.getBoundingRect()),v&&(y=d?KM(e,f,$):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(b=d?KM(e,h,$):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),g&&(S=d||!t.__canvasFillPattern?UM(e,f,t):t.__canvasFillPattern,t.__canvasFillPattern=S),m&&(x=d||!t.__canvasStrokePattern?UM(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=S),v?e.fillStyle=y:g&&(S?e.fillStyle=S:a=!1),p?e.strokeStyle=b:m&&(x?e.strokeStyle=x:o=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var T,I;e.setLineDash&&n.lineDash&&(i=q4(t),T=i[0],I=i[1]);var P=!0;(u||d&Lf)&&(c.setDPR(e.dpr),s?c.setContext(null):(c.setContext(e),P=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),P&&c.rebuildPath(e,s?l:1),T&&(e.setLineDash(T),e.lineDashOffset=I),r||(n.strokeFirst?(o&&Mz(e,n),a&&Pz(e,n)):(a&&Pz(e,n),o&&Mz(e,n))),T&&e.setLineDash([])}function TXe(e,t,n){var r=t.__image=b4(n.image,t.__image,t,t.onload);if(!(!r||!gC(r))){var i=n.x||0,o=n.y||0,a=t.getWidth(),l=t.getHeight(),s=r.width/r.height;if(a==null&&l!=null?a=l*s:l==null&&a!=null?l=a/s:a==null&&l==null&&(a=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,l)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,d=a-u,f=l-c;e.drawImage(r,u,c,d,f,i,o,a,l)}else e.drawImage(r,i,o,a,l)}}function IXe(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||pu,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=q4(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(tx(n)&&e.strokeText(i,n.x,n.y),nx(n)&&e.fillText(i,n.x,n.y)):(nx(n)&&e.fillText(i,n.x,n.y),tx(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var Az=["shadowBlur","shadowOffsetX","shadowOffsetY"],Oz=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function ore(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Ii(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?rd.opacity:a}(r||t.blend!==n.blend)&&(o||(Ii(e,i),o=!0),e.globalCompositeOperation=t.blend||rd.blend);for(var l=0;l0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[Nr]){if(this._disposed){this.id;return}var o,a,l;if(nt(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,l=r.transition,r=r.notMerge),this[Nr]=!0,!this._model||r){var s=new VKe(this._api),u=this._theme,c=this._model=new $ne;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(n,{replaceMerge:a},YM);var d={seriesTransition:l,optionChanged:!0};if(i)this[Ci]={silent:o,updateParams:d},this[Nr]=!1,this.getZr().wakeUp();else{try{yf(this),_s.update.call(this,null,d)}catch(f){throw this[Ci]=null,this[Nr]=!1,f}this._ssr||this._zr.flush(),this[Ci]=null,this[Nr]=!1,Zv.call(this,o),Qv.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Wt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(Wt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return j(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,o=[],a=this;j(r,function(s){i.eachComponent({mainType:s},function(u){var c=a._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var l=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return j(o,function(s){s.group.ignore=!1}),l},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,o=Math.min,a=Math.max,l=1/0;if(Kz[i]){var s=l,u=l,c=-l,d=-l,f=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();j(xg,function(b,S){if(b.group===i){var x=r?b.getZr().painter.getSvgDom().innerHTML:b.renderToCanvas(rt(n)),$=b.getDom().getBoundingClientRect();s=o($.left,s),u=o($.top,u),c=a($.right,c),d=a($.bottom,d),f.push({dom:x,left:$.left,top:$.top})}}),s*=h,u*=h,c*=h,d*=h;var v=c-s,p=d-u,g=gu.createCanvas(),m=Z7(g,{renderer:r?"svg":"canvas"});if(m.resize({width:v,height:p}),r){var y="";return j(f,function(b){var S=b.left-s,x=b.top-u;y+=''+b.dom+""}),m.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Ht({shape:{x:0,y:0,width:v,height:p},style:{fill:n.connectedBackgroundColor}})),j(f,function(b){var S=new Er({style:{x:b.left*h-s,y:b.top*h-u,image:b.dom}});m.add(S)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return R2(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return R2(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,o,a=vg(i,n);return j(a,function(l,s){s.indexOf("Models")>=0&&j(l,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(s==="seriesModels"){var d=this._chartsMap[u.__viewId];d&&d.containPoint&&(o=o||d.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var i=this._model,o=vg(i,n,{defaultMainType:"series"}),a=o.seriesModel,l=a.getData(),s=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?l.indexOfRawIndex(o.dataIndex):null;return s!=null?Y4(l,s,r):fy(l,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;j(JXe,function(r){var i=function(o){var a=n.getModel(),l=o.target,s,u=r==="globalout";if(u?s={}:l&&Wc(l,function(v){var p=ut(v);if(p&&p.dataIndex!=null){var g=p.dataModel||a.getSeriesByIndex(p.seriesIndex);return s=g&&g.getDataParams(p.dataIndex,p.dataType,l)||{},!0}else if(p.eventData)return s=Te({},p.eventData),!0},!0),s){var c=s.componentType,d=s.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",d=s.seriesIndex);var f=c&&d!=null&&a.getComponent(c,d),h=f&&n[f.mainType==="series"?"_chartsMap":"_componentsMap"][f.__viewId];s.event=o,s.type=r,n._$eventProcessor.eventInfo={targetEl:l,packedEvent:s,model:f,view:h},n.trigger(r,s)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),j(Sg,function(r,i){n._messageCenter.on(i,function(o){this.trigger(i,o)},n)}),j(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),lXe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&Jee(this.getDom(),J4,"");var r=this,i=r._api,o=r._model;j(r._componentsViews,function(a){a.dispose(o,i)}),j(r._chartsViews,function(a){a.dispose(o,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete xg[r.id]},t.prototype.resize=function(n){if(!this[Nr]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=n&&n.silent;this[Ci]&&(o==null&&(o=this[Ci].silent),i=!0,this[Ci]=null),this[Nr]=!0;try{i&&yf(this),_s.update.call(this,{type:"resize",animation:Te({duration:0},n&&n.animation)})}catch(a){throw this[Nr]=!1,a}this[Nr]=!1,Zv.call(this,o),Qv.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(nt(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!qM[n]){var i=qM[n](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=Te({},n);return r.type=Sg[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(nt(r)||(r={silent:!!r}),!!rx[n.type]&&this._model){if(this[Nr]){this._pendingActions.push(n);return}var i=r.silent;N2.call(this,n,i);var o=r.flush;o?this._zr.flush():o!==!1&&Wt.browser.weChat&&this._throttledZrFlush(),Zv.call(this,i),Qv.call(this,i)}},t.prototype.updateLabelLayout=function(){Uo.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){yf=function(d){var f=d._scheduler;f.restorePipelines(d._model),f.prepareStageTasks(),E2(d,!0),E2(d,!1),f.plan()},E2=function(d,f){for(var h=d._model,v=d._scheduler,p=f?d._componentsViews:d._chartsViews,g=f?d._componentsMap:d._chartsMap,m=d._zr,y=d._api,b=0;bf.get("hoverLayerThreshold")&&!Wt.node&&!Wt.worker&&f.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=d._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function a(d,f){var h=d.get("blendMode")||null;f.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function l(d,f){if(!d.preventAutoZ){var h=d.get("z")||0,v=d.get("zlevel")||0;f.eachRendered(function(p){return s(p,h,v,-1/0),!0})}}function s(d,f,h,v){var p=d.getTextContent(),g=d.getTextGuideLine(),m=d.isGroup;if(m)for(var y=d.childrenRef(),b=0;b0?{duration:p,delay:h.get("delay"),easing:h.get("easing")}:null;f.eachRendered(function(m){if(m.states&&m.states.emphasis){if(gh(m))return;if(m instanceof Mt&&dGe(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(v){m.stateTransition=g;var b=m.getTextContent(),S=m.getTextGuideLine();b&&(b.stateTransition=g),S&&(S.stateTransition=g)}m.__dirty&&i(m)}})}jz=function(d){return new(function(f){ge(h,f);function h(){return f!==null&&f.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return d._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var p=v.__ecComponentInfo;if(p!=null)return d._model.getComponent(p.mainType,p.index);v=v.parent}},h.prototype.enterEmphasis=function(v,p){ql(v,p),uo(d)},h.prototype.leaveEmphasis=function(v,p){Zl(v,p),uo(d)},h.prototype.enterBlur=function(v){Ste(v),uo(d)},h.prototype.leaveBlur=function(v){$4(v),uo(d)},h.prototype.enterSelect=function(v){xte(v),uo(d)},h.prototype.leaveSelect=function(v){wte(v),uo(d)},h.prototype.getModel=function(){return d.getModel()},h.prototype.getViewOfComponentModel=function(v){return d.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return d.getViewOfSeriesModel(v)},h}(_ne))(d)},Sre=function(d){function f(h,v){for(var p=0;p=0)){Uz.push(n);var o=tre.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function _re(e,t){qM[e]=t}function aYe(e,t,n){var r=BXe("registerMap");r&&r(e,t,n)}var lYe=gUe;Kd(Z4,VUe);Kd(NC,WUe);Kd(NC,jUe);Kd(Z4,oXe);Kd(NC,aXe);Kd(vre,LXe);eR(Ine);$re(HXe,qKe);_re("default",GUe);sl({type:id,event:id,update:id},kn);sl({type:g1,event:g1,update:g1},kn);sl({type:pg,event:pg,update:pg},kn);sl({type:m1,event:m1,update:m1},kn);sl({type:gg,event:gg,update:gg},kn);Cre("light",nXe);Cre("dark",rXe);var Xz=[],sYe={registerPreprocessor:eR,registerProcessor:$re,registerPostInit:nYe,registerPostUpdate:rYe,registerUpdateLifecycle:tR,registerAction:sl,registerCoordinateSystem:iYe,registerLayout:oYe,registerVisual:Kd,registerTransform:lYe,registerLoading:_re,registerMap:aYe,registerImpl:kXe,PRIORITY:qXe,ComponentModel:Vt,ComponentView:Pn,SeriesModel:_n,ChartView:pn,registerComponentModel:function(e){Vt.registerClass(e)},registerComponentView:function(e){Pn.registerClass(e)},registerSeriesModel:function(e){_n.registerClass(e)},registerChartView:function(e){pn.registerClass(e)},registerSubTypeDefaulter:function(e,t){Vt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){MWe(e,t)}};function Pt(e){if(Ae(e)){j(e,function(t){Pt(t)});return}Tt(Xz,e)>=0||(Xz.push(e),Ze(e)&&(e={install:e}),e.install(sYe))}function Jv(e){return e==null?0:e.length||1}function Yz(e){return e}var uYe=function(){function e(t,n,r,i,o,a){this._old=t,this._new=n,this._oldKeyGetter=r||Yz,this._newKeyGetter=i||Yz,this.context=o,this._diffModeMultiple=a==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var a=0;a1){var c=s.shift();s.length===1&&(r[l]=s[0]),this._update&&this._update(c,a)}else u===1?(r[l]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,i,a,"_newKeyGetter");for(var l=0;l1&&f===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[s]=null;else if(d===1&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[s]=null;else if(d===1&&f===1)this._update&&this._update(c,u),i[s]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[s]=null;else if(d>1)for(var h=0;h1)for(var l=0;l30}var ep=nt,Ts=Oe,gYe=typeof Int32Array=="undefined"?Array:Int32Array,mYe="e\0\0",qz=-1,yYe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],bYe=["_approximateExtent"],Zz,H0,tp,np,F2,rp,z2,SYe=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,i=!1;Ire(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],l={},s=!1,u={},c=0;c=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,l=i.getSource().sourceFormat,s=l===No;if(s&&!i.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[n];return o==null&&(o=this.getVisual(n),Ae(o)?o=o.slice():ep(o)&&(o=Te({},o)),i[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,ep(n)?Te(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){ep(t)?Te(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?Te(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;PM(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){j(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Ts(this.dimensions,this._getDimInfo,this),this.hostModel)),F2(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];Ze(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(a4(arguments)))})},e.internalField=function(){Zz=function(t){var n=t._invertedIndicesMap;j(n,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,l=t._store;if(a){r=n[i]=new gYe(a.categories.length);for(var s=0;s1&&(s+="__ec__"+c),i[n]=s}}}(),e}();const fi=SYe;function hy(e,t){V4(e)||(e=W4(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Ge(),o=[],a=wYe(e,n,r,t.dimensionsCount),l=t.canOmitUnusedDimensions&&Are(a),s=r===e.dimensionsDefine,u=s?Mre(e):Pre(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var d=Ge(c),f=new Bne(a),h=0;h0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function wYe(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return j(t,function(o){var a;nt(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function CYe(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var $Ye=function(){function e(t){this.coordSysDims=[],this.axisMap=Ge(),this.categoryAxisMap=Ge(),this.coordSysName=t}return e}();function _Ye(e){var t=e.get("coordinateSystem"),n=new $Ye(t),r=TYe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var TYe={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",Gn).models[0],o=e.getReferringComponents("yAxis",Gn).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),bf(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),bf(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",Gn).models[0];t.coordSysDims=["single"],n.set("single",i),bf(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",Gn).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),bf(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),bf(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();j(o.parallelAxisIndex,function(l,s){var u=i.getComponent("parallelAxis",l),c=a[s];n.set(c,u),bf(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=s))})}};function bf(e){return e.get("type")==="category"}function IYe(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,o,a,l;PYe(t)?o=t:(a=t.schema,o=a.dimensions,l=t.store);var s=!!(e&&e.get("stack")),u,c,d,f;if(j(o,function(y,b){Fe(y)&&(o[b]=y={name:y}),s&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){d="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,v=c.type,p=0;j(o,function(y){y.coordDim===h&&p++});var g={name:d,coordDim:h,coordDimIndex:p,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:f,coordDim:f,coordDimIndex:p+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(l&&(g.storeDimIndex=l.ensureCalculationDimension(f,v),m.storeDimIndex=l.ensureCalculationDimension(d,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:f,stackResultDimension:d}}function PYe(e){return!Ire(e.schema)}function Su(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Ore(e,t){return Su(e,t)?e.getCalculationInfo("stackResultDimension"):t}function MYe(e,t){var n=e.get("coordinateSystem"),r=dy.get(n),i;return t&&t.coordSysDims&&(i=Oe(t.coordSysDims,function(o){var a={name:o},l=t.axisMap.get(o);if(l){var s=l.get("type");a.type=ox(s)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function AYe(e,t,n){var r,i;return n&&j(e,function(o,a){var l=o.coordDim,s=n.categoryAxisMap.get(l);s&&(r==null&&(r=a),o.ordinalMeta=s.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function ds(e,t,n){n=n||{};var r=t.getSourceManager(),i,o=!1;e?(o=!0,i=W4(e)):(i=r.getSource(),o=i.sourceFormat===No);var a=_Ye(t),l=MYe(t,a),s=n.useEncodeDefaulter,u=Ze(s)?s:s?pt(bne,l,t):null,c={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},d=hy(i,c),f=AYe(d.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(d),v=IYe(t,{schema:d,store:h}),p=new fi(d,t);p.setCalculationInfo(v);var g=f!=null&&OYe(i)?function(m,y,b,S){return S===f?b:this.defaultDimValueGetter(m,y,b,S)}:null;return p.hasItemOption=!1,p.initData(o?i:h,null,g),p}function OYe(e){if(e.sourceFormat===No){var t=DYe(e.data||[]);return!Ae(hv(t))}}function DYe(e){for(var t=0;tn[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();pC(Dre);const fs=Dre;var EYe=0,RYe=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++EYe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Oe(r,LYe);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Fe(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Ge(this.categories))},e}();function LYe(e){return nt(e)&&e.value!=null?e.value:e+""}const ZM=RYe;function QM(e){return e.type==="interval"||e.type==="log"}function NYe(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=Gee(o/t,!0);n!=null&&ar&&(a=i.interval=r);var l=i.intervalPrecision=Ere(a),s=i.niceTickExtent=[Mn(Math.ceil(e[0]/a)*a,l),Mn(Math.floor(e[1]/a)*a,l)];return kYe(s,e),i}function H2(e){var t=Math.pow(10,p4(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,Mn(n*t)}function Ere(e){return za(e)+2}function Qz(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function kYe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),Qz(e,0,t),Qz(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function kC(e,t){return e>=t[0]&&e<=t[1]}function BC(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function FC(e,t){return e*(t[1]-t[0])+t[0]}var Rre=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new ZM({})),Ae(i)&&(i=new ZM({categories:Oe(i,function(o){return nt(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Fe(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),kC(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),BC(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(FC(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,l=this._ordinalMeta.categories.length,s=Math.min(l,r.length);a=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(fs);fs.registerClass(Rre);const rR=Rre;var cc=Mn,Lre=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return kC(n,this._extent)},t.prototype.normalize=function(n){return BC(n,this._extent)},t.prototype.scale=function(n){return FC(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ere(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,l=[];if(!r)return l;var s=1e4;i[0]s)return[];var c=l.length?l[l.length-1].value:o[1];return i[1]>c&&(n?l.push({value:cc(c+r,a)}):l.push({value:i[1]})),l},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;ao[0]&&h0&&(o=o===null?l:Math.min(o,l))}n[r]=o}}return n}function Bre(e){var t=zYe(e),n=[];return j(e,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),l;if(o.type==="category")l=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var s=o.dim+"_"+o.index,u=t[s],c=Math.abs(a[1]-a[0]),d=o.scale.getExtent(),f=Math.abs(d[1]-d[0]);l=u?c/f*u:c}else{var h=r.getData();l=Math.abs(a[1]-a[0])/h.count()}var v=Ne(r.get("barWidth"),l),p=Ne(r.get("barMaxWidth"),l),g=Ne(r.get("barMinWidth")||(Wre(r)?.5:1),l),m=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:l,barWidth:v,barMaxWidth:p,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:oR(o),stackId:iR(r)})}),Fre(n)}function Fre(e){var t={};j(e,function(r,i){var o=r.axisKey,a=r.bandWidth,l=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},s=l.stacks;t[o]=l;var u=r.stackId;s[u]||l.autoWidthCount++,s[u]=s[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!s[u].width&&(s[u].width=c,c=Math.min(l.remainedWidth,c),l.remainedWidth-=c);var d=r.barMaxWidth;d&&(s[u].maxWidth=d);var f=r.barMinWidth;f&&(s[u].minWidth=f);var h=r.barGap;h!=null&&(l.gap=h);var v=r.barCategoryGap;v!=null&&(l.categoryGap=v)});var n={};return j(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,l=r.categoryGap;if(l==null){var s=Rt(o).length;l=Math.max(35-s*4,15)+"%"}var u=Ne(l,a),c=Ne(r.gap,1),d=r.remainedWidth,f=r.autoWidthCount,h=(d-u)/(f+(f-1)*c);h=Math.max(h,0),j(o,function(m){var y=m.maxWidth,b=m.minWidth;if(m.width){var S=m.width;y&&(S=Math.min(S,y)),b&&(S=Math.max(S,b)),m.width=S,d-=S+c*S,f--}else{var S=h;y&&yS&&(S=b),S!==h&&(m.width=S,d-=S+c*S,f--)}}),h=(d-u)/(f+(f-1)*c),h=Math.max(h,0);var v=0,p;j(o,function(m,y){m.width||(m.width=h),p=m,v+=m.width*(1+c)}),p&&(v-=p.width*c);var g=-v/2;j(o,function(m,y){n[i][y]=n[i][y]||{bandWidth:a,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function HYe(e,t,n){if(e&&t){var r=e[oR(t)];return r!=null&&n!=null?r[iR(n)]:r}}function zre(e,t){var n=kre(e,t),r=Bre(n);j(n,function(i){var o=i.getData(),a=i.coordinateSystem,l=a.getBaseAxis(),s=iR(i),u=r[oR(l)][s],c=u.offset,d=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:d})})}function Hre(e){return{seriesType:e,plan:wv(),reset:function(t){if(Vre(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=n.getDimensionIndex(n.mapDimension(o.dim)),l=n.getDimensionIndex(n.mapDimension(i.dim)),s=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),d=Su(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),f=o.isHorizontal(),h=VYe(i,o),v=Wre(t),p=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(b,S){for(var x=b.count,$=v&&Va(x*3),C=v&&s&&Va(x*3),T=v&&Va(x),I=r.master.getRect(),P=f?I.width:I.height,M,O=S.getStore(),D=0;(M=b.next())!=null;){var R=O.get(d?g:a,M),A=O.get(l,M),E=h,k=void 0;d&&(k=+R-O.get(a,M));var N=void 0,B=void 0,F=void 0,H=void 0;if(f){var V=r.dataToPoint([R,A]);if(d){var X=r.dataToPoint([k,A]);E=X[0]}N=E,B=V[1]+y,F=V[0]-E,H=m,Math.abs(F)0?n:1:n))}var WYe=function(e,t,n,r){for(;n>>1;e[i][1]i&&(this._approxInterval=i);var l=V0.length,s=Math.min(WYe(V0,this._approxInterval,0,l),l-1);this._interval=V0[s][1],this._minLevelUnit=V0[Math.max(s-1,0)][0]},t.prototype.parse=function(n){return Gt(n)?n:+nl(n)},t.prototype.contain=function(n){return kC(this.parse(n),this._extent)},t.prototype.normalize=function(n){return BC(this.parse(n),this._extent)},t.prototype.scale=function(n){return FC(n,this._extent)},t.type="time",t}(xu),V0=[["second",L4],["minute",N4],["hour",yg],["quarter-day",yg*6],["half-day",yg*12],["day",Co*1.2],["half-week",Co*3.5],["week",Co*7],["month",Co*31],["quarter",Co*95],["half-year",HF/2],["year",HF]];function jYe(e,t,n,r){var i=nl(t),o=nl(n),a=function(v){return WF(i,v,r)===WF(o,v,r)},l=function(){return a("year")},s=function(){return l()&&a("month")},u=function(){return s()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},f=function(){return d()&&a("second")},h=function(){return f()&&a("millisecond")};switch(e){case"year":return l();case"month":return s();case"day":return u();case"hour":return c();case"minute":return d();case"second":return f();case"millisecond":return h()}}function GYe(e,t){return e/=Co,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function KYe(e){var t=30*Co;return e/=t,e>6?6:e>3?3:e>2?2:1}function UYe(e){return e/=yg,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Jz(e,t){return e/=t?N4:L4,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function XYe(e){return Gee(e,!0)}function YYe(e,t,n){var r=new Date(e);switch(yh(t)){case"year":case"month":r[ine(n)](0);case"day":r[one(n)](1);case"hour":r[ane(n)](0);case"minute":r[lne(n)](0);case"second":r[sne(n)](0),r[une(n)](0)}return r.getTime()}function qYe(e,t,n,r){var i=1e4,o=nne,a=0;function l(P,M,O,D,R,A,E){for(var k=new Date(M),N=M,B=k[D]();N1&&A===0&&O.unshift({value:O[0].value-N})}}for(var A=0;A=r[0]&&y<=r[1]&&d++)}var b=(r[1]-r[0])/t;if(d>b*1.5&&f>b/1.5||(u.push(g),d>b||e===o[h]))break}c=[]}}}for(var S=Zt(Oe(u,function(P){return Zt(P,function(M){return M.value>=r[0]&&M.value<=r[1]&&!M.notAdd})}),function(P){return P.length>0}),x=[],$=S.length-1,h=0;h0;)o*=10;var l=[Mn(JYe(r[0]/o)*o),Mn(QYe(r[1]/o)*o)];this._interval=o,this._niceExtent=l}},t.prototype.calcNiceExtent=function(n){wg.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Wo(n)/Wo(this.base),kC(n,this._extent)},t.prototype.normalize=function(n){return n=Wo(n)/Wo(this.base),BC(n,this._extent)},t.prototype.scale=function(n){return n=FC(n,this._extent),W0(this.base,n)},t.type="log",t}(fs),Kre=aR.prototype;Kre.getMinorTicks=wg.getMinorTicks;Kre.getLabel=wg.getLabel;function j0(e,t){return ZYe(e,za(t))}fs.registerClass(aR);const eqe=aR;var tqe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&s>0&&!u&&(l=0),l<0&&s<0&&!c&&(s=0));var f=this._determinedMin,h=this._determinedMax;return f!=null&&(l=f,u=!0),h!=null&&(s=h,c=!0),{min:l,max:s,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(t,n){this[rqe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=nqe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),nqe={min:"_determinedMin",max:"_determinedMax"},rqe={min:"_dataMin",max:"_dataMax"};function Ure(e,t,n){var r=e.rawExtentInfo;return r||(r=new tqe(e,t,n),e.rawExtentInfo=r,r)}function G0(e,t){return t==null?null:tm(t)?NaN:e.parse(t)}function Xre(e,t){var n=e.type,r=Ure(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&n==="time"){var l=kre("bar",a),s=!1;if(j(l,function(d){s=s||d.getBaseAxis()===t.axis}),s){var u=Bre(l),c=iqe(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function iqe(e,t,n,r){var i=n.axis.getExtent(),o=Math.abs(i[1]-i[0]),a=HYe(r,n.axis);if(a===void 0)return{min:e,max:t};var l=1/0;j(a,function(h){l=Math.min(h.offset,l)});var s=-1/0;j(a,function(h){s=Math.max(h.offset+h.width,s)}),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=t-e,d=1-(l+s)/o,f=c/d-c;return t+=f*(s/u),e-=f*(l/u),{min:e,max:t}}function jh(e,t){var n=t,r=Xre(e,n),i=r.extent,o=n.get("splitNumber");e instanceof eqe&&(e.base=n.get("logBase"));var a=e.type,l=n.get("interval"),s=a==="interval"||a==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?n.get("minInterval"):null,maxInterval:s?n.get("maxInterval"):null}),l!=null&&e.setInterval&&e.setInterval(l)}function zC(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new rR({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new Gre({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(fs.getClass(t)||xu)}}function oqe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function _v(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,o){return e.scale.getFormattedLabel(i,o,r)}}(t):Fe(t)?function(r){return function(i){var o=e.scale.getLabel(i),a=r.replace("{value}",o!=null?o:"");return a}}(t):Ze(t)?function(r){return function(i,o){return n!=null&&(o=i.value-n),r(lR(e,i),o,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function lR(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function aqe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,o=n.getExtent();n instanceof rR?i=n.count():(r=n.getTicks(),i=r.length);var a=e.getLabelModel(),l=_v(e),s,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;ce[1]&&(e[1]=i[1])})}var vy=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),uqe=1e-8;function t9(e,t){return Math.abs(e-t)i&&(r=a,i=s)}if(r)return dqe(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var i=[1/0,1/0],o=[-1/0,-1/0],a=this.geometries;return j(a,function(l){l.type==="polygon"?n9(l.exterior,i,o,n):j(l.points,function(s){n9(s,i,o,n)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(o[0])&&isFinite(o[1])||(i[0]=i[1]=o[0]=o[1]=0),r=new $t(i[0],i[1],o[0]-i[0],o[1]-i[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),i=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var o=0,a=i.length;o>1^-(l&1),s=s>>1^-(s&1),l+=i,s+=o,i=l,o=s,r.push([l/n,s/n])}return r}function vqe(e,t){return e=hqe(e),Oe(Zt(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,i=n.geometry,o=[];switch(i.type){case"Polygon":var a=i.coordinates;o.push(new r9(a[0],a.slice(1)));break;case"MultiPolygon":j(i.coordinates,function(s){s[0]&&o.push(new r9(s[0],s.slice(1)))});break;case"LineString":o.push(new i9([i.coordinates]));break;case"MultiLineString":o.push(new i9(i.coordinates))}var l=new Zre(r[t||"name"],o,r.cp);return l.properties=r,l})}var ym=Ft();function Jre(e,t){var n=Oe(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function pqe(e){var t=e.getLabelModel().get("customValues");if(t){var n=_v(e),r=e.scale.getExtent(),i=Jre(e,t),o=Zt(i,function(a){return a>=r[0]&&a<=r[1]});return{labels:Oe(o,function(a){var l={value:a};return{formattedLabel:n(l),rawLabel:e.scale.getLabel(l),tickValue:a}})}}return e.type==="category"?mqe(e):bqe(e)}function gqe(e,t){var n=e.getTickModel().get("customValues");if(n){var r=e.scale.getExtent(),i=Jre(e,n);return{ticks:Zt(i,function(o){return o>=r[0]&&o<=r[1]})}}return e.type==="category"?yqe(e,t):{ticks:Oe(e.scale.getTicks(),function(o){return o.value})}}function mqe(e){var t=e.getLabelModel(),n=eie(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function eie(e,t){var n=tie(e,"labels"),r=sR(t),i=nie(n,r);if(i)return i;var o,a;return Ze(r)?o=oie(e,r):(a=r==="auto"?Sqe(e):r,o=iie(e,a)),rie(n,r,{labels:o,labelCategoryInterval:a})}function yqe(e,t){var n=tie(e,"ticks"),r=sR(t),i=nie(n,r);if(i)return i;var o,a;if((!t.get("show")||e.scale.isBlank())&&(o=[]),Ze(r))o=oie(e,r,!0);else if(r==="auto"){var l=eie(e,e.getLabelModel());a=l.labelCategoryInterval,o=Oe(l.labels,function(s){return s.tickValue})}else a=r,o=iie(e,a,!0);return rie(n,r,{ticks:o,tickCategoryInterval:a})}function bqe(e){var t=e.scale.getTicks(),n=_v(e);return{labels:Oe(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function tie(e,t){return ym(e)[t]||(ym(e)[t]=[])}function nie(e,t){for(var n=0;n40&&(l=Math.max(1,Math.floor(a/40)));for(var s=o[0],u=e.dataToCoord(s+1)-e.dataToCoord(s),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),f=0,h=0;s<=o[1];s+=l){var v=0,p=0,g=oy(n({value:s}),t.font,"center","top");v=g.width*1.3,p=g.height*1.3,f=Math.max(f,v,7),h=Math.max(h,p,7)}var m=f/c,y=h/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(m,y))),S=ym(e.model),x=e.getExtent(),$=S.lastAutoInterval,C=S.lastTickCount;return $!=null&&C!=null&&Math.abs($-b)<=1&&Math.abs(C-a)<=1&&$>b&&S.axisExtent0===x[0]&&S.axisExtent1===x[1]?b=$:(S.lastTickCount=a,S.lastAutoInterval=b,S.axisExtent0=x[0],S.axisExtent1=x[1]),b}function wqe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function iie(e,t,n){var r=_v(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),l=[],s=Math.max((t||0)+1,1),u=o[0],c=i.count();u!==0&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var d=Yre(e),f=a.get("showMinLabel")||d,h=a.get("showMaxLabel")||d;f&&u!==o[0]&&p(o[0]);for(var v=u;v<=o[1];v+=s)p(v);h&&v-s!==o[1]&&p(o[1]);function p(g){var m={value:g};l.push(n?g:{formattedLabel:r(m),rawLabel:i.getLabel(m),tickValue:g})}return l}function oie(e,t,n){var r=e.scale,i=_v(e),o=[];return j(r.getTicks(),function(a){var l=r.getLabel(a),s=a.value;t(a.value,l)&&o.push(n?s:{formattedLabel:i(a),rawLabel:l,tickValue:s})}),o}var o9=[0,1],Cqe=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return Wee(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),a9(r,i.count())),en(t,o9,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),a9(r,i.count()));var o=en(t,r,o9,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=gqe(this,n),i=r.ticks,o=Oe(i,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),a=n.get("alignWithLabel");return $qe(this,o,a,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=Oe(r,function(o){return Oe(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},e.prototype.getViewLabels=function(){return pqe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return xqe(this)},e}();function a9(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function $qe(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o=e.getExtent(),a,l;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1],tickValue:t[0].tickValue};else{var s=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/s;j(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();l=1+c[1]-t[i-1].tickValue,a={coord:t[i-1].coord+u*l,tickValue:c[1]+1},t.push(a)}var d=o[0]>o[1];f(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&f(o[0],t[0].coord)&&t.unshift({coord:o[0]}),f(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&f(a.coord,o[1])&&t.push({coord:o[1]});function f(h,v){return h=Mn(h),v=Mn(v),d?h>v:hi&&(i+=ip);var h=Math.atan2(l,a);if(h<0&&(h+=ip),h>=r&&h<=i||h+ip>=r&&h+ip<=i)return s[0]=c,s[1]=d,u-n;var v=n*Math.cos(r)+e,p=n*Math.sin(r)+t,g=n*Math.cos(i)+e,m=n*Math.sin(i)+t,y=(v-a)*(v-a)+(p-l)*(p-l),b=(g-a)*(g-a)+(m-l)*(m-l);return y0){t=t/180*Math.PI,Zo.fromArray(e[0]),cn.fromArray(e[1]),Rn.fromArray(e[2]),wt.sub(Wa,Zo,cn),wt.sub(Ba,Rn,cn);var n=Wa.len(),r=Ba.len();if(!(n<.001||r<.001)){Wa.scale(1/n),Ba.scale(1/r);var i=Wa.dot(Ba),o=Math.cos(t);if(o1&&wt.copy(oi,Rn),oi.toArray(e[1])}}}}function Aqe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Zo.fromArray(e[0]),cn.fromArray(e[1]),Rn.fromArray(e[2]),wt.sub(Wa,cn,Zo),wt.sub(Ba,Rn,cn);var r=Wa.len(),i=Ba.len();if(!(r<.001||i<.001)){Wa.scale(1/r),Ba.scale(1/i);var o=Wa.dot(t),a=Math.cos(n);if(o=s)wt.copy(oi,Rn);else{oi.scaleAndAdd(Ba,l/Math.tan(Math.PI/2-c));var d=Rn.x!==cn.x?(oi.x-cn.x)/(Rn.x-cn.x):(oi.y-cn.y)/(Rn.y-cn.y);if(isNaN(d))return;d<0?wt.copy(oi,cn):d>1&&wt.copy(oi,Rn)}oi.toArray(e[1])}}}}function j2(e,t,n,r){var i=n==="normal",o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var l=r.getModel("lineStyle").getLineStyle();i?e.useStyle(l):o.style=l}function Oqe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=Us(r[0],r[1]),o=Us(r[1],r[2]);if(!i||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,l=u1([],r[1],r[0],a/i),s=u1([],r[1],r[2],a/o),u=u1([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&x(-c/a,0,a);var p=e[0],g=e[a-1],m,y;b(),m<0&&$(-m,.8),y<0&&$(y,.8),b(),S(m,y,1),S(y,m,-1),b(),m<0&&C(-m),y<0&&C(y);function b(){m=p.rect[t]-r,y=i-g.rect[t]-g.rect[n]}function S(T,I,P){if(T<0){var M=Math.min(I,-T);if(M>0){x(M*P,0,a);var O=M+T;O<0&&$(-O*P,1)}else $(-T*P,1)}}function x(T,I,P){T!==0&&(u=!0);for(var M=I;M0)for(var O=0;O0;O--){var E=P[O-1]*A;x(-E,O,a)}}}function C(T){var I=T<0?-1:1;T=Math.abs(T);for(var P=Math.ceil(T/(a-1)),M=0;M0?x(P,0,M+1):x(-P,a-M-1,a),T-=P,T<=0)return}return u}function Dqe(e,t,n,r){return uie(e,"x","width",t,n,r)}function cie(e,t,n,r){return uie(e,"y","height",t,n,r)}function die(e){var t=[];e.sort(function(p,g){return g.priority-p.priority});var n=new $t(0,0,0,0);function r(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var i=0;i=0&&r.attr(o.oldLayoutSelect),Tt(f,"emphasis")>=0&&r.attr(o.oldLayoutEmphasis)),Kt(r,u,n,s)}else if(r.attr(u),!gv(r).valueAnimation){var d=vt(r.style.opacity,1);r.style.opacity=0,Sn(r,{style:{opacity:d}},n,s)}if(o.oldLayout=u,r.states.select){var h=o.oldLayoutSelect={};K0(h,u,U0),K0(h,r.states.select,U0)}if(r.states.emphasis){var v=o.oldLayoutEmphasis={};K0(v,u,U0),K0(v,r.states.emphasis,U0)}Zte(r,s,c,n,n)}if(i&&!i.ignore&&!i.invisible){var o=Lqe(i),a=o.oldLayout,p={points:i.shape.points};a?(i.attr({shape:a}),Kt(i,{shape:p},n)):(i.setShape(p),i.style.strokePercent=0,Sn(i,{style:{strokePercent:1}},n)),o.oldLayout=p}},e}();const kqe=Nqe;var K2=Ft();function Bqe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){var i=K2(n).labelManager;i||(i=K2(n).labelManager=new kqe),i.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,n,r){var i=K2(n).labelManager;r.updatedSeries.forEach(function(o){i.addLabelsOfSeries(n.getViewOfSeriesModel(o))}),i.updateLayoutConfig(n),i.layout(n),i.processLabelsOverall()})}var U2=Math.sin,X2=Math.cos,fie=Math.PI,fc=Math.PI*2,Fqe=180/fie,zqe=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,n){this._add("M",t,n)},e.prototype.lineTo=function(t,n){this._add("L",t,n)},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){this._add("C",t,n,r,i,o,a)},e.prototype.quadraticCurveTo=function(t,n,r,i){this._add("Q",t,n,r,i)},e.prototype.arc=function(t,n,r,i,o,a){this.ellipse(t,n,r,r,0,i,o,a)},e.prototype.ellipse=function(t,n,r,i,o,a,l,s){var u=l-a,c=!s,d=Math.abs(u),f=Qs(d-fc)||(c?u>=fc:-u>=fc),h=u>0?u%fc:u%fc+fc,v=!1;f?v=!0:Qs(d)?v=!1:v=h>=fie==!!c;var p=t+r*X2(a),g=n+i*U2(a);this._start&&this._add("M",p,g);var m=Math.round(o*Fqe);if(f){var y=1/this._p,b=(c?1:-1)*(fc-y);this._add("A",r,i,m,1,+c,t+r*X2(a+b),n+i*U2(a+b)),y>.01&&this._add("A",r,i,m,0,+c,p,g)}else{var S=t+r*X2(l),x=n+i*U2(l);this._add("A",r,i,m,+v,+c,S,x)}},e.prototype.rect=function(t,n,r,i){this._add("M",t,n),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,i,o,a,l,s,u){for(var c=[],d=this._p,f=1;f"}function Yqe(e){return""}function dR(e,t){t=t||{};var n=t.newline?` -`:"";function r(i){var o=i.children,a=i.tag,l=i.attrs,s=i.text;return Xqe(a,l)+(a!=="style"?jr(s):s||"")+(o?""+n+Oe(o,function(u){return r(u)}).join(n)+n:"")+Yqe(a)}return r(e)}function qqe(e,t,n){n=n||{};var r=n.newline?` -`:"",i=" {"+r,o=r+"}",a=Oe(Rt(e),function(s){return s+i+Oe(Rt(e[s]),function(u){return u+":"+e[s][u]+";"}).join(r)+o}).join(r),l=Oe(Rt(t),function(s){return"@keyframes "+s+i+Oe(Rt(t[s]),function(u){return u+i+Oe(Rt(t[s][u]),function(c){var d=t[s][u][c];return c==="d"&&(d='path("'+d+'")'),c+":"+d+";"}).join(r)+o}).join(r)+o}).join(r);return!a&&!l?"":[""].join(r)}function tA(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function c9(e,t,n,r){return ur("svg","root",{width:e,height:t,xmlns:vie,"xmlns:xlink":pie,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var Zqe=0;function mie(){return Zqe++}var d9={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},yc="transform-origin";function Qqe(e,t,n){var r=Te({},e.shape);Te(r,t),e.buildPath(n,r);var i=new hie;return i.reset(Dee(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function Jqe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[yc]=n+"px "+r+"px")}var eZe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function yie(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function tZe(e,t,n){var r=e.shape.paths,i={},o,a;if(j(r,function(s){var u=tA(n.zrId);u.animation=!0,HC(s,{},u,!0);var c=u.cssAnims,d=u.cssNodes,f=Rt(c),h=f.length;if(h){a=f[h-1];var v=c[a];for(var p in v){var g=v[p];i[p]=i[p]||{d:""},i[p].d+=g.d||""}for(var m in d){var y=d[m].animation;y.indexOf(a)>=0&&(o=y)}}}),!!o){t.d=!1;var l=yie(i,n);return o.replace(a,l)}}function f9(e){return Fe(e)?d9[e]?"cubic-bezier("+d9[e]+")":d4(e)?e:"":""}function HC(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof M4){var l=tZe(e,t,n);if(l)a.push(l);else if(!o)return}else if(!o)return;for(var s={},u=0;u0}).length){var q=yie(C,n);return q+" "+y[0]+" both"}}for(var g in s){var l=p(s[g]);l&&a.push(l)}if(a.length){var m=n.zrId+"-cls-"+mie();n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}function nZe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};h9(r,t,n,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,l=e.states.select&&e.states.select.style&&e.states.select.style.fill,s=e.currentStates.indexOf("select")>=0&&l||a;s&&(o=hM(s))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),h9(r,t,n,!0)}}function h9(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+mie(),n.cssStyleCache[i]=o,n.cssNodes["."+o+(r?":hover":"")]=e),t.class=t.class?t.class+" "+o:o}var bm=Math.round;function bie(e){return e&&Fe(e.src)}function Sie(e){return e&&Ze(e.toDataURL)}function fR(e,t,n,r){Gqe(function(i,o){var a=i==="fill"||i==="stroke";a&&Oee(o)?wie(t,e,i,r):a&&f4(o)?Cie(n,e,i,r):e[i]=o,a&&r.ssr&&o==="none"&&(e["pointer-events"]="visible")},t,n,!1),uZe(n,e,r)}function hR(e,t){var n=AWe(t);n&&(n.each(function(r,i){r!=null&&(e[(u9+i).toLowerCase()]=r+"")}),t.isSilent()&&(e[u9+"silent"]="true"))}function v9(e){return Qs(e[0]-1)&&Qs(e[1])&&Qs(e[2])&&Qs(e[3]-1)}function rZe(e){return Qs(e[4])&&Qs(e[5])}function vR(e,t,n){if(t&&!(rZe(t)&&v9(t))){var r=n?10:1e4;e.transform=v9(t)?"translate("+bm(t[4]*r)/r+" "+bm(t[5]*r)/r+")":qVe(t)}}function p9(e,t,n){for(var r=e.points,i=[],o=0;oo?(v=n[s+1]==null?null:n[s+1].elm,Tie(e,v,n,i,s)):ux(e,t,r,o))}function kf(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(pR(e,t),nA(t.text)?Ea(r)&&Ea(i)?r!==i&&vZe(n,r,i):Ea(i)?(Ea(e.text)&&Y2(n,""),Tie(n,null,i,0,i.length-1)):Ea(r)?ux(n,r,0,r.length-1):Ea(e.text)&&Y2(n,""):e.text!==t.text&&(Ea(r)&&ux(n,r,0,r.length-1),Y2(n,t.text)))}function pZe(e,t){if(Pp(e,t))kf(e,t);else{var n=e.elm,r=$ie(n);Sm(t),r!==null&&(Dc(r,t.elm,_ie(n)),ux(r,[e],0,0))}return t}var gZe=0,mZe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=w9(),this.configLayer=w9(),this.storage=n,this._opts=r=Te({},r),this.root=t,this._id="zr"+gZe++,this._oldVNode=c9(r.width,r.height),t&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=gie("svg");pR(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",pZe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return m9(t,tA(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=tA(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis,o.ssr=this._opts.ssr;var a=[],l=this._bgVNode=yZe(r,i,this._backgroundColor,o);l&&a.push(l);var s=t.compress?null:this._mainVNode=ur("g","main",{},[]);this._paintList(n,o,s?s.children:a),s&&a.push(s);var u=Oe(Rt(o.defs),function(f){return o.defs[f]});if(u.length&&a.push(ur("defs","defs",{},u)),t.animation){var c=qqe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var d=ur("style","stl",{},[],c);a.push(d)}}return c9(r,i,a,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},dR(this.renderToVNode({animation:vt(t.cssAnimation,!0),emphasis:vt(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:vt(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var i=t.length,o=[],a=0,l,s,u=0,c=0;c=0&&!(f&&s&&f[p]===s[p]);p--);for(var g=v-1;g>p;g--)a--,l=o[a-1];for(var m=p+1;m=l)}}for(var d=this.__startIndex;d15)break}}R.prevElClipPaths&&m.restore()};if(y)if(y.length===0)T=g.__endIndex;else for(var P=h.dpr,M=0;M0&&t>i[0]){for(s=0;st);s++);l=r[i[s]]}if(i.splice(s+1,0,t),r[t]=n,!n.virtual)if(l){var u=l.dom;u.nextSibling?a.insertBefore(n.dom,u.nextSibling):a.appendChild(n.dom)}else a.firstChild?a.insertBefore(n.dom,a.firstChild):a.appendChild(n.dom);n.painter||(n.painter=this)}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,i=0;i0?X0:0),this._needsManuallyCompositing),c.__builtin__||i4("ZLevel "+u+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==s&&(c.__dirty=!0),c.__startIndex=s,c.incremental?c.__drawIndex=-1:c.__drawIndex=s,n(s),o=c),i.__dirty&ji&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=s))}n(s),this.eachBuiltinLayer(function(d,f){!d.__used&&d.getElementCount()>0&&(d.__dirty=!0,d.__startIndex=d.__endIndex=d.__drawIndex=0),d.__dirty&&d.__drawIndex<0&&(d.__drawIndex=d.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,j(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?St(r[t],n,!0):r[t]=n;for(var i=0;i-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(_n);const MZe=PZe;function Gh(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=Vh(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a=0&&r.push(t[o])}return r.join(" ")}var AZe=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this)||this;return a.updateData(n,r,i,o),a}return t.prototype._createSymbol=function(n,r,i,o,a){this.removeAll();var l=Yn(n,-1,-1,2,2,null,a);l.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),l.drift=OZe,this._symbolType=n,this.add(l)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){ql(this.childAt(0))},t.prototype.downplay=function(){Zl(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,o){this.silent=!1;var a=n.getItemVisual(r,"symbol")||"circle",l=n.hostModel,s=t.getSymbolSize(n,r),u=a!==this._symbolType,c=o&&o.disableAnimation;if(u){var d=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,n,r,s,d)}else{var f=this.childAt(0);f.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?f.attr(h):Kt(f,h,l,r),da(f)}if(this._updateCommon(n,r,s,i,o),u){var f=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Sn(f,h,l,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,o,a){var l=this.childAt(0),s=n.hostModel,u,c,d,f,h,v,p,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,d=o.selectItemStyle,f=o.focus,h=o.blurScope,p=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,v=o.emphasisDisabled),!o||n.hasItemOption){var y=o&&o.itemModel?o.itemModel:n.getItemModel(r),b=y.getModel("emphasis");u=b.getModel("itemStyle").getItemStyle(),d=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),f=b.get("focus"),h=b.get("blurScope"),v=b.get("disabled"),p=vr(y),g=b.getShallow("scale"),m=y.getShallow("cursor")}var S=n.getItemVisual(r,"symbolRotate");l.attr("rotation",(S||0)*Math.PI/180||0);var x=Gd(n.getItemVisual(r,"symbolOffset"),i);x&&(l.x=x[0],l.y=x[1]),m&&l.attr("cursor",m);var $=n.getItemVisual(r,"style"),C=$.fill;if(l instanceof Er){var T=l.style;l.useStyle(Te({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},$))}else l.__isEmptyBrush?l.useStyle(Te({},$)):l.useStyle($),l.style.decal=null,l.setColor(C,a&&a.symbolInnerColor),l.style.strokeNoScale=!0;var I=n.getItemVisual(r,"liftZ"),P=this._z2;I!=null?P==null&&(this._z2=l.z2,l.z2+=I):P!=null&&(l.z2=P,this._z2=null);var M=a&&a.useNameLabel;Dr(l,p,{labelFetcher:s,labelDataIndex:r,defaultText:O,inheritColor:C,defaultOpacity:$.opacity});function O(A){return M?n.getName(A):Gh(n,A)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var D=l.ensureState("emphasis");D.style=u,l.ensureState("select").style=d,l.ensureState("blur").style=c;var R=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;D.scaleX=this._sizeX*R,D.scaleY=this._sizeY*R,this.setSymbolScale(1),In(this,f,h,v)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var o=this.childAt(0),a=ut(this).dataIndex,l=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var s=o.getTextContent();s&&yu(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:l,cb:function(){o.removeTextContent()}})}else o.removeTextContent();yu(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:n,removeOpt:l})},t.getSymbolSize=function(n,r){return $v(n.getItemVisual(r,"symbolSize"))},t}(lt);function OZe(e,t){this.parent.drift(e,t)}const py=AZe;function Z2(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function _9(e){return e!=null&&!nt(e)&&(e={isIgnore:e}),e||{}}function T9(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:vr(t),cursorStyle:t.get("cursor")}}var DZe=function(){function e(t){this.group=new lt,this._SymbolCtor=t||py}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=_9(n);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,l=n.disableAnimation,s=T9(t),u={disableAnimation:l},c=n.getSymbolPoint||function(d){return t.getItemLayout(d)};o||r.removeAll(),t.diff(o).add(function(d){var f=c(d);if(Z2(t,f,d,n)){var h=new a(t,d,s,u);h.setPosition(f),t.setItemGraphicEl(d,h),r.add(h)}}).update(function(d,f){var h=o.getItemGraphicEl(f),v=c(d);if(!Z2(t,v,d,n)){r.remove(h);return}var p=t.getItemVisual(d,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)r.remove(h),h=new a(t,d,s,u),h.setPosition(v);else{h.updateData(t,d,s,u);var m={x:v[0],y:v[1]};l?h.attr(m):Kt(h,m,i)}r.add(h),t.setItemGraphicEl(d,h)}).remove(function(d){var f=o.getItemGraphicEl(d);f&&f.fadeOut(function(){r.remove(f)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=T9(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=_9(r);function i(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o0?n=r[0]:r[1]<0&&(n=r[1]),n}function Mie(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function RZe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function LZe(e,t,n,r,i,o,a,l){for(var s=RZe(e,t),u=[],c=[],d=[],f=[],h=[],v=[],p=[],g=Pie(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b=i||p<0)break;if(sd(m,y)){if(s){p+=o;continue}break}if(p===n)e[o>0?"moveTo":"lineTo"](m,y),d=m,f=y;else{var b=m-u,S=y-c;if(b*b+S*S<.5){p+=o;continue}if(a>0){for(var x=p+o,$=t[x*2],C=t[x*2+1];$===m&&C===y&&g=r||sd($,C))h=m,v=y;else{P=$-u,M=C-c;var R=m-u,A=$-m,E=y-c,k=C-y,N=void 0,B=void 0;if(l==="x"){N=Math.abs(R),B=Math.abs(A);var F=P>0?1:-1;h=m-F*N*a,v=y,O=m+F*B*a,D=y}else if(l==="y"){N=Math.abs(E),B=Math.abs(k);var H=M>0?1:-1;h=m,v=y-H*N*a,O=m,D=y+H*B*a}else N=Math.sqrt(R*R+E*E),B=Math.sqrt(A*A+k*k),I=B/(B+N),h=m-P*a*(1-I),v=y-M*a*(1-I),O=m+P*a*I,D=y+M*a*I,O=Is(O,Ps($,m)),D=Is(D,Ps(C,y)),O=Ps(O,Is($,m)),D=Ps(D,Is(C,y)),P=O-m,M=D-y,h=m-P*N/B,v=y-M*N/B,h=Is(h,Ps(u,m)),v=Is(v,Ps(c,y)),h=Ps(h,Is(u,m)),v=Ps(v,Is(c,y)),P=m-h,M=y-v,O=m+P*B/N,D=y+M*B/N}e.bezierCurveTo(d,f,h,v,m,y),d=O,f=D}else e.lineTo(m,y)}u=m,c=y,p+=o}return g}var Aie=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),NZe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Aie},t.prototype.buildPath=function(n,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&sd(i[a*2-2],i[a*2-1]);a--);for(;o=0){var S=u?(v-s)*b+s:(h-l)*b+l;return u?[n,S]:[S,n]}l=h,s=v;break;case a.C:h=o[d++],v=o[d++],p=o[d++],g=o[d++],m=o[d++],y=o[d++];var x=u?BS(l,h,p,m,n,c):BS(s,v,g,y,n,c);if(x>0)for(var $=0;$=0){var S=u?lr(s,v,g,y,C):lr(l,h,p,m,C);return u?[n,S]:[S,n]}}l=m,s=y;break}}},t}(Mt),kZe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Aie),Oie=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new kZe},t.prototype.buildPath=function(n,r){var i=r.points,o=r.stackedOnPoints,a=0,l=i.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;l>0&&sd(i[l*2-2],i[l*2-1]);l--);for(;at){o?n.push(a(o,s,t)):i&&n.push(a(i,s,0),a(i,s,t));break}else i&&(n.push(a(i,s,0)),i=null),n.push(s),o=s}return n}function zZe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var l=e.getDimensionInfo(r[a].dimension);if(i=l&&l.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var s=t.getAxis(i),u=Oe(o.stops,function(b){return{coord:s.toGlobalCoord(s.dataToCoord(b.value)),color:b.color}}),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var f=FZe(u,i==="x"?n.getWidth():n.getHeight()),h=f.length;if(!h&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var v=10,p=f[0].coord-v,g=f[h-1].coord+v,m=g-p;if(m<.001)return"transparent";j(f,function(b){b.offset=(b.coord-p)/m}),f.push({offset:h?f[h-1].offset:.5,color:d[1]||"transparent"}),f.unshift({offset:h?f[0].offset:.5,color:d[0]||"transparent"});var y=new sy(0,0,0,0,f,!0);return y[i]=p,y[i+"2"]=g,y}}}function HZe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(i&&VZe(o,t))){var a=t.mapDimension(o.dim),l={};return j(o.getViewLabels(),function(s){var u=o.scale.getRawOrdinalNumber(s.tickValue);l[u]=1}),function(s){return!l.hasOwnProperty(t.get(a,s))}}}}function VZe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function WZe(e,t){return isNaN(e)||isNaN(t)}function jZe(e){for(var t=e.length/2;t>0&&WZe(e[t*2-2],e[t*2-1]);t--);return t-1}function O9(e,t){return[e[t*2],e[t*2+1]]}function GZe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,o,a,l=0,s=-1,u=0;u=t||o>=t&&a<=t){s=u;break}l=u,o=a}return{range:[l,s],t:(t-o)/(a-o)}}function Rie(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var B=v.getState("emphasis").style;B.lineWidth=+v.style.lineWidth+1}ut(v).seriesIndex=n.seriesIndex,In(v,E,k,N);var F=A9(n.get("smooth")),H=n.get("smoothMonotone");if(v.setShape({smooth:F,smoothMonotone:H,connectNulls:C}),p){var V=l.getCalculationInfo("stackedOnSeries"),X=0;p.useStyle(et(u.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),V&&(X=A9(V.get("smooth"))),p.setShape({smooth:F,stackedOnSmooth:X,smoothMonotone:H,connectNulls:C}),Or(p,n,"areaStyle"),ut(p).seriesIndex=n.seriesIndex,In(p,E,k,N)}var Q=this._changePolyState;l.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=Q)}),this._polyline.onHoverStateChange=Q,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=c,this._step=P,this._valueOrigin=b,n.get("triggerLineEvent")&&(this.packEventData(n,v),p&&this.packEventData(n,p))},t.prototype.packEventData=function(n,r){ut(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,o){var a=n.getData(),l=wd(a,o);if(this._changePolyState("emphasis"),!(l instanceof Array)&&l!=null&&l>=0){var s=a.getLayout("points"),u=a.getItemGraphicEl(l);if(!u){var c=s[l*2],d=s[l*2+1];if(isNaN(c)||isNaN(d)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,d))return;var f=n.get("zlevel")||0,h=n.get("z")||0;u=new py(a,l),u.x=c,u.y=d,u.setZ(f,h);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=f,v.z=h,v.z2=this._polyline.z2+1),u.__temp=!0,a.setItemGraphicEl(l,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else pn.prototype.highlight.call(this,n,r,i,o)},t.prototype.downplay=function(n,r,i,o){var a=n.getData(),l=wd(a,o);if(this._changePolyState("normal"),l!=null&&l>=0){var s=a.getItemGraphicEl(l);s&&(s.__temp?(a.setItemGraphicEl(l,null),this.group.remove(s)):s.downplay())}else pn.prototype.downplay.call(this,n,r,i,o)},t.prototype._changePolyState=function(n){var r=this._polygon;GS(this._polyline,n),r&&GS(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new NZe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new Oie({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var o,a,l=r.getBaseAxis(),s=l.inverse;r.type==="cartesian2d"?(o=l.isHorizontal(),a=!1):r.type==="polar"&&(o=l.dim==="angle",a=!0);var u=n.hostModel,c=u.get("animationDuration");Ze(c)&&(c=c(null));var d=u.get("animationDelay")||0,f=Ze(d)?d(null):d;n.eachItemGraphicEl(function(h,v){var p=h;if(p){var g=[h.x,h.y],m=void 0,y=void 0,b=void 0;if(i)if(a){var S=i,x=r.pointToCoord(g);o?(m=S.startAngle,y=S.endAngle,b=-x[1]/180*Math.PI):(m=S.r0,y=S.r,b=x[0])}else{var $=i;o?(m=$.x,y=$.x+$.width,b=h.x):(m=$.y+$.height,y=$.y,b=h.y)}var C=y===m?0:(b-m)/(y-m);s&&(C=1-C);var T=Ze(d)?d(v):c*C+f,I=p.getSymbolPath(),P=I.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),P&&P.animateFrom({style:{opacity:0}},{duration:300,delay:T}),I.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var o=n.getModel("endLabel");if(Rie(n)){var a=n.getData(),l=this._polyline,s=a.getLayout("points");if(!s){l.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new jt({z2:200}),u.ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=jZe(s);c>=0&&(Dr(l,vr(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(d,f,h){return h!=null?Iie(a,h):Gh(a,d)},enableTextSetter:!0},KZe(o,r)),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,o,a,l,s){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var d=i.getLayout("points"),f=i.hostModel,h=f.get("connectNulls"),v=l.get("precision"),p=l.get("distance")||0,g=s.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,b=r.shape,S=y?m?b.x:b.y+b.height:m?b.x+b.width:b.y,x=(m?p:0)*(y?-1:1),$=(m?0:-p)*(y?-1:1),C=m?"x":"y",T=GZe(d,S,C),I=T.range,P=I[1]-I[0],M=void 0;if(P>=1){if(P>1&&!h){var O=O9(d,I[0]);u.attr({x:O[0]+x,y:O[1]+$}),a&&(M=f.getRawValue(I[0]))}else{var O=c.getPointOn(S,C);O&&u.attr({x:O[0]+x,y:O[1]+$});var D=f.getRawValue(I[0]),R=f.getRawValue(I[1]);a&&(M=ete(i,v,D,R,T.t))}o.lastFrameIndex=I[0]}else{var A=n===1||o.lastFrameIndex>0?I[0]:0,O=O9(d,A);a&&(M=f.getRawValue(A)),u.attr({x:O[0]+x,y:O[1]+$})}if(a){var E=gv(u);typeof E.setLabelText=="function"&&E.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(n,r,i,o,a,l,s){var u=this._polyline,c=this._polygon,d=n.hostModel,f=LZe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=f.current,v=f.stackedOnCurrent,p=f.next,g=f.stackedOnNext;if(a&&(v=Ms(f.stackedOnCurrent,f.current,i,a,s),h=Ms(f.current,null,i,a,s),g=Ms(f.stackedOnNext,f.next,i,a,s),p=Ms(f.next,null,i,a,s)),M9(h,p)>3e3||c&&M9(v,g)>3e3){u.stopAnimation(),u.setShape({points:p}),c&&(c.stopAnimation(),c.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=f.current,u.shape.points=h;var m={shape:{points:p}};f.current!==h&&(m.shape.__points=f.next),u.stopAnimation(),Kt(u,m,d),c&&(c.setShape({points:h,stackedOnPoints:v}),c.stopAnimation(),Kt(c,{shape:{stackedOnPoints:g}},d),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],b=f.status,S=0;St&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&a.type==="cartesian2d"&&o){var s=a.getBaseAxis(),u=a.getOtherAxis(s),c=s.getExtent(),d=r.getDevicePixelRatio(),f=Math.abs(c[1]-c[0])*(d||1),h=Math.round(l/f);if(isFinite(h)&&h>1){o==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h)):o==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/h));var v=void 0;Fe(o)?v=YZe[o]:Ze(o)&&(v=o),v&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,v,qZe))}}}}}function ZZe(e){e.registerChartView(XZe),e.registerSeriesModel(MZe),e.registerLayout(yy("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Lie("line"))}var Nie=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(n),l=o.dataToPoint(a);if(i)j(o.getAxes(),function(f,h){if(f.type==="category"&&r!=null){var v=f.getTicksCoords(),p=f.getTickModel().get("alignWithLabel"),g=a[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!p&&(g+=1),v.length<2)return;if(v.length===2){l[h]=f.toGlobalCoord(f.getExtent()[m?1:0]);return}for(var y=void 0,b=void 0,S=1,x=0;xg){b=($+y)/2;break}x===1&&(S=C-v[0].tickValue)}b==null&&(y?y&&(b=v[v.length-1].coord):b=v[0].coord),l[h]=f.toGlobalCoord(b)}});else{var s=this.getData(),u=s.getLayout("offset"),c=s.getLayout("size"),d=o.getBaseAxis().isHorizontal()?0:1;l[d]+=u+c/2}return l}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(_n);_n.registerClass(Nie);const cx=Nie;var QZe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return ds(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Ru(cx.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(cx);const JZe=QZe;var eQe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),tQe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new eQe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),l=Math.max(r.r,0),s=(l-a)*.5,u=a+s,c=r.startAngle,d=r.endAngle,f=r.clockwise,h=Math.PI*2,v=f?d-cMath.PI/2&&cl)return!0;l=d}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),l=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=l;++a)if(n.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,o){if(this._isOrderChangedWithinSameData(n,r,i)){var a=this._dataSort(n,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(n,r,i){var o=r.baseAxis,a=this._dataSort(n,o,function(l){return n.get(n.mapDimension(r.otherAxis.dim),l)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){dm(o,n,ut(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(pn),D9={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=J2(t.x,e.x),l=eT(t.x+t.width,i),s=J2(t.y,e.y),u=eT(t.y+t.height,o),c=li?l:a,t.y=d&&s>o?u:s,t.width=c?0:l-a,t.height=d?0:u-s,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=eT(t.r,e.r),o=J2(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},E9={cartesian2d:function(e,t,n,r,i,o,a,l,s){var u=new Ht({shape:Te({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,d=i?"height":"width";c[d]=0}return u},polar:function(e,t,n,r,i,o,a,l,s){var u=!i&&s?dx:Oi,c=new u({shape:r,z2:1});c.name="item";var d=kie(i);if(c.calculateTextPosition=nQe(d,{isRoundCap:u===dx}),o){var f=c.shape,h=i?"r":"endAngle",v={};f[h]=i?r.r0:r.startAngle,v[h]=r[h],(l?Kt:Sn)(c,{shape:v},o)}return c}};function aQe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function R9(e,t,n,r,i,o,a,l){var s,u;o?(u={x:r.x,width:r.width},s={y:r.y,height:r.height}):(u={y:r.y,height:r.height},s={x:r.x,width:r.width}),l||(a?Kt:Sn)(n,{shape:s},t,i,null);var c=t?e.baseAxis.model:null;(a?Kt:Sn)(n,{shape:u},c,i)}function L9(e,t){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function uQe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function kie(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function k9(e,t,n,r,i,o,a,l){var s=t.getItemVisual(n,"style");if(l){if(!o.get("roundCap")){var c=e.shape,d=Kc(r.getModel("itemStyle"),c,!0);Te(c,d),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(s);var f=r.getShallow("cursor");f&&e.attr("cursor",f);var h=l?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",v=vr(r);Dr(e,v,{labelFetcher:o,labelDataIndex:n,defaultText:Gh(o.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var p=e.getTextContent();if(l&&p){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,rQe(e,g==="outside"?h:g,kie(a),r.get(["label","rotate"]))}qte(p,v,o.getRawValue(n),function(y){return Iie(t,y)});var m=r.getModel(["emphasis"]);In(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Or(e,r),uQe(i)&&(e.style.fill="none",e.style.stroke="none",j(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function cQe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var dQe=function(){function e(){}return e}(),B9=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new dQe},t.prototype.buildPath=function(n,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,l=[],s=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function fQe(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,l=[],s=[],u=e.barWidth,c=0,d=o.length/3;c=l[0]&&t<=l[0]+s[0]&&n>=l[1]&&n<=l[1]+s[1])return a[c]}return-1}function Bie(e,t,n){if(Ud(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function hQe(e,t,n){var r=e.type==="polar"?Oi:Ht;return new r({shape:Bie(t,n,e),silent:!0,z2:0})}const vQe=oQe;function pQe(e){e.registerChartView(vQe),e.registerSeriesModel(JZe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,pt(zre,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Hre("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Lie("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var H9=Math.PI*2,Q0=Math.PI/180;function Fie(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function zie(e,t){var n=Fie(e,t),r=e.get("center"),i=e.get("radius");Ae(i)||(i=[0,i]);var o=Ne(n.width,t.getWidth()),a=Ne(n.height,t.getHeight()),l=Math.min(o,a),s=Ne(i[0],l/2),u=Ne(i[1],l/2),c,d,f=e.coordinateSystem;if(f){var h=f.dataToPoint(r);c=h[0]||0,d=h[1]||0}else Ae(r)||(r=[r,r]),c=Ne(r[0],o)+n.x,d=Ne(r[1],a)+n.y;return{cx:c,cy:d,r0:s,r:u}}function gQe(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),o=i.mapDimension("value"),a=Fie(r,n),l=zie(r,n),s=l.cx,u=l.cy,c=l.r,d=l.r0,f=-r.get("startAngle")*Q0,h=r.get("endAngle"),v=r.get("padAngle")*Q0;h=h==="auto"?f-H9:-h*Q0;var p=r.get("minAngle")*Q0,g=p+v,m=0;i.each(o,function(k){!isNaN(k)&&m++});var y=i.getSum(o),b=Math.PI/(y||m)*2,S=r.get("clockwise"),x=r.get("roseType"),$=r.get("stillShowZeroSum"),C=i.getDataExtent(o);C[0]=0;var T=S?1:-1,I=[f,h],P=T*v/2;S4(I,!S),f=I[0],h=I[1];var M=Hie(r);M.startAngle=f,M.endAngle=h,M.clockwise=S;var O=Math.abs(h-f),D=O,R=0,A=f;if(i.setLayout({viewRect:a,r:c}),i.each(o,function(k,N){var B;if(isNaN(k)){i.setItemLayout(N,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:s,cy:u,r0:d,r:x?NaN:c});return}x!=="area"?B=y===0&&$?b:k*b:B=O/m,BB?(H=A+T*B/2,V=H):(H=A+P,V=F-P),i.setItemLayout(N,{angle:B,startAngle:H,endAngle:V,clockwise:S,cx:s,cy:u,r0:d,r:x?en(k,C,[d,c]):c}),A=F}),Dn?m:g,x=Math.abs(b.label.y-n);if(x>=S.maxY){var $=b.label.x-t-b.len2*i,C=r+b.len,T=Math.abs($)e.unconstrainedWidth?null:h:null;r.setStyle("width",v)}var p=r.getBoundingRect();o.width=p.width;var g=(r.style.margin||0)+2.1;o.height=p.height+g,o.y-=(o.height-d)/2}}}function tT(e){return e.position==="center"}function bQe(e){var t=e.getData(),n=[],r,i,o=!1,a=(e.get("minShowLabelAngle")||0)*mQe,l=t.getLayout("viewRect"),s=t.getLayout("r"),u=l.width,c=l.x,d=l.y,f=l.height;function h($){$.ignore=!0}function v($){if(!$.ignore)return!0;for(var C in $.states)if($.states[C].ignore===!1)return!0;return!1}t.each(function($){var C=t.getItemGraphicEl($),T=C.shape,I=C.getTextContent(),P=C.getTextGuideLine(),M=t.getItemModel($),O=M.getModel("label"),D=O.get("position")||M.get(["emphasis","label","position"]),R=O.get("distanceToLabelLine"),A=O.get("alignTo"),E=Ne(O.get("edgeDistance"),u),k=O.get("bleedMargin"),N=M.getModel("labelLine"),B=N.get("length");B=Ne(B,u);var F=N.get("length2");if(F=Ne(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":V>0?"left":"right"}var ne=Math.PI,re=0,le=O.get("rotate");if(Gt(le))re=le*(ne/180);else if(D==="center")re=0;else if(le==="radial"||le===!0){var ie=V<0?-H+ne:-H;re=ie}else if(le==="tangential"&&D!=="outside"&&D!=="outer"){var de=Math.atan2(V,X);de<0&&(de=ne*2+de);var pe=X>0;pe&&(de=ne+de),re=de-ne}if(o=!!re,I.x=Q,I.y=K,I.rotation=re,I.setStyle({verticalAlign:"middle"}),ee){I.setStyle({align:q});var xe=I.states.select;xe&&(xe.x+=I.x,xe.y+=I.y)}else{var me=I.getBoundingRect().clone();me.applyTransform(I.getComputedTransform());var he=(I.style.margin||0)+2.1;me.y-=he/2,me.height+=he,n.push({label:I,labelLine:P,position:D,len:B,len2:F,minTurnAngle:N.get("minTurnAngle"),maxSurfaceAngle:N.get("maxSurfaceAngle"),surfaceNormal:new wt(V,X),linePoints:te,textAlign:q,labelDistance:R,labelAlignTo:A,edgeDistance:E,bleedMargin:k,rect:me,unconstrainedWidth:me.width,labelStyleWidth:I.style.width})}C.setTextConfig({inside:ee})}}),!o&&e.get("avoidLabelOverlap")&&yQe(n,r,i,s,u,f,c,d);for(var p=0;p0){for(var c=a.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d=o.r0}},t.type="pie",t}(pn);const wQe=xQe;function Tv(e,t,n){t=Ae(t)&&{coordDimensions:t}||Te({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=hy(r,t).dimensions,o=new fi(i,e);return o.initData(r,n),o}var CQe=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}();const Sy=CQe;var $Qe=Ft(),_Qe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sy(ze(this.getData,this),ze(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Tv(this,{coordDimensions:["value"],encodeDefaulter:pt(F4,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=$Qe(r),o=i.seats;if(!o){var a=[];r.each(r.mapDimension("value"),function(s){a.push(s)}),o=i.seats=RWe(a,r.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,n);return l.percent=o[n]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(n){xd(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(_n);const TQe=_Qe;function IQe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),a=r.get(o,i);return!(Gt(a)&&!isNaN(a)&&a<0)})}}}function PQe(e){e.registerChartView(wQe),e.registerSeriesModel(TQe),ire("pie",e.registerAction),e.registerLayout(pt(gQe,"pie")),e.registerProcessor(by("pie")),e.registerProcessor(IQe("pie"))}var MQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n==null?this.option.large?5e3:this.get("progressive"):n},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n==null?this.option.large?1e4:this.get("progressiveThreshold"):n},t.prototype.brushSelector=function(n,r,i){return i.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(_n);const AQe=MQe;var Wie=4,OQe=function(){function e(){}return e}(),DQe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new OQe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var i=r.points,o=r.size,a=this.symbolProxy,l=a.shape,s=n.getContext?n.getContext():n,u=s&&o[0]=0;u--){var c=u*2,d=o[c]-l/2,f=o[c+1]-s/2;if(n>=d&&r>=f&&n<=d+l&&r<=f+s)return u}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.points,o=r.size,a=o[0],l=o[1],s=1/0,u=1/0,c=-1/0,d=-1/0,f=0;f=0&&(u.dataIndex=d+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const RQe=EQe;var LQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.updateData(o,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,i){var o=n.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var a=yy("").reset(n,r,i);a.progress&&a.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var i=this._symbolDraw,o=r.pipelineContext,a=o.large;return(!i||a!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=a?new RQe:new gy,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(pn);const NQe=LQe;var kQe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Vt);const BQe=kQe;var iA=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Gn).models[0]},t.type="cartesian2dAxis",t}(Vt);qn(iA,vy);var jie={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},FQe=St({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},jie),gR=St({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},jie),zQe=St({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},gR),HQe=et({logBase:10},gR);const Gie={category:FQe,value:gR,time:zQe,log:HQe};var VQe={value:1,category:1,time:1,log:1};function Kh(e,t,n,r){j(VQe,function(i,o){var a=St(St({},Gie[o],!0),r,!0),l=function(s){ge(u,s);function u(){var c=s!==null&&s.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,d){var f=hm(this),h=f?bv(c):{},v=d.getTheme();St(c,v.get(o+"Axis")),St(c,this.getDefaultOption()),c.type=W9(c),f&&bu(c,h,f)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=ZM.createByAxisModel(this))},u.prototype.getCategories=function(c){var d=this.option;if(d.type==="category")return c?d.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=a,u}(n);e.registerComponentModel(l)}),e.registerSubTypeDefaulter(t+"Axis",W9)}function W9(e){return e.type||(e.data?"category":"value")}var WQe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Oe(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Zt(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}();const jQe=WQe;var oA=["x","y"];function j9(e){return e.type==="interval"||e.type==="time"}var GQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=oA,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!j9(n)||!j9(r))){var i=n.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),l=this.dataToPoint([i[1],o[1]]),s=i[1]-i[0],u=o[1]-o[0];if(!(!s||!u)){var c=(l[0]-a[0])/s,d=(l[1]-a[1])/u,f=a[0]-i[0]*c,h=a[1]-o[0]*d,v=this._transform=[c,0,0,d,f,h];this._invTransform=fv([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),o=this.dataToPoint(r),a=this.getArea(),l=new $t(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(l)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var o=n[0],a=n[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return Pr(i,n,this._transform);var l=this.getAxis("x"),s=this.getAxis("y");return i[0]=l.toGlobalCoord(l.dataToCoord(o,r)),i[1]=s.toGlobalCoord(s.dataToCoord(a,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),l=o.getExtent(),s=i.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(l[0],l[1]),u),Math.max(l[0],l[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return Pr(i,n,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(n[0]),r),i[1]=a.coordToData(a.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,a=Math.min(i[0],i[1])-n,l=Math.max(r[0],r[1])-o+n,s=Math.max(i[0],i[1])-a+n;return new $t(o,a,l,s)},t}(jQe),KQe=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this,n,r,i)||this;return l.index=0,l.type=o||"value",l.position=a||"bottom",l}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(pa);const UQe=KQe;function aA(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],l=i.position,s=a?"onZero":l,u=i.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,v=u==="x"?[d[2]-h,d[3]+h]:[d[0]-h,d[1]+h];if(a){var p=a.toGlobalCoord(a.dataToCoord(0));v[f.onZero]=Math.max(Math.min(p,v[1]),v[0])}o.position=[u==="y"?v[f[s]]:d[0],u==="x"?v[f[s]]:d[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[l],o.labelOffset=a?v[f[l]]-v[f.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),br(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=s==="top"?-m:m,o.z2=1,o}function G9(e){return e.get("coordinateSystem")==="cartesian2d"}function K9(e){var t={xAxisModel:null,yAxisModel:null};return j(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,Gn).models[0];t[r]=o}),t}var nT=Math.log;function Kie(e,t,n){var r=xu.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,l=r.getInterval.call(n),s=Xre(e,t),u=s.extent,c=s.fixMin,d=s.fixMax;if(e.type==="log"){var f=nT(e.base);u=[nT(u[0])/f,nT(u[1])/f]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var h=r.getExtent.call(e);c&&(u[0]=h[0]),d&&(u[1]=h[1]);var v=r.getInterval.call(e),p=u[0],g=u[1];if(c&&d)v=(g-p)/a;else if(c)for(g=u[0]+v*a;gu[0]&&isFinite(p)&&isFinite(u[0]);)v=H2(v),p=u[1]-v*a;else{var m=e.getTicks().length-1;m>a&&(v=H2(v));var y=v*a;g=Math.ceil(u[1]/v)*v,p=Mn(g-y),p<0&&u[0]>=0?(p=0,g=Mn(y)):g>0&&u[1]<=0&&(g=0,p=-Mn(y))}var b=(i[0].value-o[0].value)/l,S=(i[a].value-o[a].value)/l;r.setExtent.call(e,p+v*b,g+v*S),r.setInterval.call(e,v),(b||S)&&r.setNiceExtent.call(e,p+v,g-v)}var XQe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=oA,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var l,s=Rt(a),u=s.length;if(u){for(var c=[],d=u-1;d>=0;d--){var f=+s[d],h=a[f],v=h.model,p=h.scale;QM(p)&&v.get("alignTicks")&&v.get("interval")==null?c.push(h):(jh(p,v),QM(p)&&(l=h))}c.length&&(l||(l=c.pop(),jh(l.scale,l.model)),j(c,function(g){Kie(g.scale,g.model,l.scale)}))}}i(r.x),i(r.y);var o={};j(r.x,function(a){U9(r,"y",a,o)}),j(r.y,function(a){U9(r,"x",a,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=ir(i,{width:n.getWidth(),height:n.getHeight()});this._rect=a;var l=this._axesList;s(),o&&(j(l,function(u){if(!u.model.get(["axisLabel","inside"])){var c=aqe(u);if(c){var d=u.isHorizontal()?"height":"width",f=u.model.get(["axisLabel","margin"]);a[d]-=c[d]+f,u.position==="top"?a.y+=c.height+f:u.position==="left"&&(a.x+=c.width+f)}}}),s()),j(this._coordsList,function(u){u.calcAffineTransform()});function s(){j(l,function(u){var c=u.isHorizontal(),d=c?[0,a.width]:[0,a.height],f=u.inverse?1:0;u.setExtent(d[f],d[1-f]),YQe(u,c?a.x:a.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}nt(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i0?"top":"bottom",o="center"):am(i-Js)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),Y9={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,l=[o[0],0],s=[o[1],0],u=l[0]>s[0];a&&(Pr(l,l,a),Pr(s,s,a));var c=Te({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Sr({shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Hh(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var f=t.get(["axisLine","symbol"]);if(f!=null){var h=t.get(["axisLine","symbolSize"]);Fe(f)&&(f=[f,f]),(Fe(h)||Gt(h))&&(h=[h,h]);var v=Gd(t.get(["axisLine","symbolOffset"])||0,h),p=h[0],g=h[1];j([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],function(m,y){if(f[y]!=="none"&&f[y]!=null){var b=Yn(f[y],-p/2,-g/2,p,g,c.stroke,!0),S=m.r+m.offset,x=u?s:l;b.attr({rotation:m.rotate,x:x[0]+S*Math.cos(e.rotation),y:x[1]-S*Math.sin(e.rotation),silent:!0,z2:11}),n.add(b)}})}}},axisTickLabel:function(e,t,n,r){var i=JQe(n,r,t,e),o=tJe(n,r,t,e);if(QQe(t,o,i),eJe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=sie(Oe(o,function(l){return{label:l,priority:l.z2,defaultAttr:{ignore:l.ignore}}}));die(a)}},axisName:function(e,t,n,r){var i=br(e.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=e.nameDirection,l=t.getModel("nameTextStyle"),s=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,d=[o==="start"?u[0]-c*s:o==="end"?u[1]+c*s:(u[0]+u[1])/2,Z9(o)?e.labelOffset+a*s:0],f,h=t.get("nameRotate");h!=null&&(h=h*Js/180);var v;Z9(o)?f=ud.innerTextLayout(e.rotation,h!=null?h:e.rotation,a):(f=ZQe(e.rotation,o,h||0,u),v=e.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(f.rotation)),!isFinite(v)&&(v=null)));var p=l.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=br(e.nameTruncateMaxWidth,g.maxWidth,v),b=new jt({x:d[0],y:d[1],rotation:f.rotation,silent:ud.isLabelSilent(t),style:fn(l,{text:i,font:p,overflow:"truncate",width:y,ellipsis:m,fill:l.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:l.get("align")||f.textAlign,verticalAlign:l.get("verticalAlign")||f.textVerticalAlign}),z2:1});if(Vd({el:b,componentModel:t,itemName:i}),b.__fullText=i,b.anid="name",t.get("triggerEvent")){var S=ud.makeAxisEventDataBase(t);S.targetType="axisName",S.name=i,ut(b).eventData=S}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function ZQe(e,t,n,r){var i=jee(n-e),o,a,l=r[0]>r[1],s=t==="start"&&!l||t!=="start"&&l;return am(i-Js/2)?(a=s?"bottom":"top",o="center"):am(i-Js*1.5)?(a=s?"top":"bottom",o="center"):(a="middle",iJs/2?o=s?"left":"right":o=s?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function QQe(e,t,n){if(!Yre(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],l=t[t.length-1],s=t[t.length-2],u=n[0],c=n[1],d=n[n.length-1],f=n[n.length-2];r===!1?(co(o),co(u)):q9(o,a)&&(r?(co(a),co(c)):(co(o),co(u))),i===!1?(co(l),co(d)):q9(s,l)&&(i?(co(s),co(f)):(co(l),co(d)))}}function co(e){e&&(e.ignore=!0)}function q9(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=fC([]);return Hd(i,i,-e.rotation),n.applyTransform(Nl([],i,e.getLocalTransform())),r.applyTransform(Nl([],i,t.getLocalTransform())),n.intersect(r)}}function Z9(e){return e==="middle"||e==="center"}function Uie(e,t,n,r,i){for(var o=[],a=[],l=[],s=0;s=0||e===t}function lJe(e){var t=mR(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");a!=null&&(a=r.parse(a));var l=lA(n);o==null&&(i.status=l?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var p=s;v.color!=null&&(p=et({color:v.color},s));var g=St(rt(v),{boundaryGap:n,splitNumber:r,scale:i,axisLine:o,axisTick:a,axisLabel:l,name:v.text,showName:u,nameLocation:"end",nameGap:d,nameTextStyle:p,triggerEvent:f},!1);if(Fe(c)){var m=g.name;g.name=c.replace("{value}",m!=null?m:"")}else Ze(c)&&(g.name=c(g.name,g));var y=new hn(g,null,this.ecModel);return qn(y,vy.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:St({lineStyle:{color:"#bbb"}},op.axisLine),axisLabel:J0(op.axisLabel,!1),axisTick:J0(op.axisTick,!1),splitLine:J0(op.splitLine,!0),splitArea:J0(op.splitArea,!0),indicator:[]},t}(Vt);const CJe=wJe;var $Je=["axisLine","axisTickLabel","axisName"],_Je=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes(),o=Oe(i,function(a){var l=a.model.get("showName")?a.name:"",s=new Jl(a.model,{axisName:l,position:[r.cx,r.cy],rotation:a.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});j(o,function(a){j($Je,a.add,a),this.group.add(a.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=n.get("shape"),a=n.getModel("splitLine"),l=n.getModel("splitArea"),s=a.getModel("lineStyle"),u=l.getModel("areaStyle"),c=a.get("show"),d=l.get("show"),f=s.get("color"),h=u.get("color"),v=Ae(f)?f:[f],p=Ae(h)?h:[h],g=[],m=[];function y(A,E,k){var N=k%E.length;return A[N]=A[N]||[],N}if(o==="circle")for(var b=i[0].getTicksCoords(),S=r.cx,x=r.cy,$=0;$3?1.4:a>1?1.2:1.1,c=o>0?u:1/u;oT(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:l,originY:s,isAvailableBehavior:null})}if(i){var d=Math.abs(o),f=(o>0?1:-1)*(d>3?.4:d>1?.15:.05);oT(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:f,originX:l,originY:s,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(n){if(!rH(this._zr,"globalPan")){var r=n.pinchScale>1?1.1:1/1.1;oT(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t}(Lo);function oT(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(Xl(r.event),Jie(e,t,n,r,i))}function Jie(e,t,n,r,i){i.isAvailableBehavior=ze(C1,null,n,r),e.trigger(t,i)}function C1(e,t,n){var r=n[e];return!e||r&&(!Fe(r)||t.event[r+"Key"])}const xy=LJe;function bR(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function SR(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var l=o.min||0,s=o.max||1/0;a=Math.max(Math.min(s,a),l)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var NJe={axisPointer:1,tooltip:1,brush:1};function VC(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!NJe.hasOwnProperty(r.mainType)&&i&&i.model!==n}function eoe(e){if(Fe(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var n=e;for(n.nodeType===9&&(n=n.firstChild);n.nodeName.toLowerCase()!=="svg"||n.nodeType!==1;)n=n.nextSibling;return n}var aT,fx={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},iH=Rt(fx),hx={"alignment-baseline":"textBaseline","stop-color":"stopColor"},oH=Rt(hx),kJe=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,n){n=n||{};var r=eoe(t);this._defsUsePending=[];var i=new lt;this._root=i;var o=[],a=r.getAttribute("viewBox")||"",l=parseFloat(r.getAttribute("width")||n.width),s=parseFloat(r.getAttribute("height")||n.height);isNaN(l)&&(l=null),isNaN(s)&&(s=null),Hi(r,i,null,!0,!1);for(var u=r.firstChild;u;)this._parseNode(u,i,o,null,!1,!1),u=u.nextSibling;zJe(this._defs,this._defsUsePending),this._defsUsePending=[];var c,d;if(a){var f=WC(a);f.length>=4&&(c={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(c&&l!=null&&s!=null&&(d=noe(c,{x:0,y:0,width:l,height:s}),!n.ignoreViewBox)){var h=i;i=new lt,i.add(h),h.scaleX=h.scaleY=d.scale,h.x=d.x,h.y=d.y}return!n.ignoreRootClip&&l!=null&&s!=null&&i.setClipPath(new Ht({shape:{x:0,y:0,width:l,height:s}})),{root:i,width:l,height:s,viewBoxRect:c,viewBoxTransform:d,named:o}},e.prototype._parseNode=function(t,n,r,i,o,a){var l=t.nodeName.toLowerCase(),s,u=i;if(l==="defs"&&(o=!0),l==="text"&&(a=!0),l==="defs"||l==="switch")s=n;else{if(!o){var c=aT[l];if(c&&Ve(aT,l)){s=c.call(this,t,n);var d=t.getAttribute("name");if(d){var f={name:d,namedFrom:null,svgNodeTagLower:l,el:s};r.push(f),l==="g"&&(u=f)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:s});n.add(s)}}var h=aH[l];if(h&&Ve(aH,l)){var v=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=v)}}if(s&&s.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,s,r,u,o,a):g.nodeType===3&&a&&this._parseText(g,s),g=g.nextSibling},e.prototype._parseText=function(t,n){var r=new sm({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),BJe(r,n);var i=r.style,o=i.fontSize;o&&o<9&&(i.fontSize=9,r.scaleX*=o/9,r.scaleY*=o/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var l=r.getBoundingRect();return this._textX+=l.width,n.add(r),r},e.internalField=function(){aT={g:function(t,n){var r=new lt;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r},rect:function(t,n){var r=new Ht;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(t,n){var r=new Du;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,n){var r=new Sr;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(t,n){var r=new I4;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(t,n){var r=t.getAttribute("points"),i;r&&(i=uH(r));var o=new Di({shape:{points:i||[]},silent:!0});return fo(n,o),Hi(t,o,this._defsUsePending,!1,!1),o},polyline:function(t,n){var r=t.getAttribute("points"),i;r&&(i=uH(r));var o=new Li({shape:{points:i||[]},silent:!0});return fo(n,o),Hi(t,o,this._defsUsePending,!1,!1),o},image:function(t,n){var r=new Er;return fo(n,r),Hi(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,n){var r=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var l=new lt;return fo(n,l),Hi(t,l,this._defsUsePending,!1,!0),l},tspan:function(t,n){var r=t.getAttribute("x"),i=t.getAttribute("y");r!=null&&(this._textX=parseFloat(r)),i!=null&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",l=new lt;return fo(n,l),Hi(t,l,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(a),l},path:function(t,n){var r=t.getAttribute("d")||"",i=Mte(r);return fo(n,i),Hi(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),aH={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new sy(t,n,r,i);return lH(e,o),sH(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new Vte(t,n,r);return lH(e,i),sH(e,i),i}};function lH(e,t){var n=e.getAttribute("gradientUnits");n==="userSpaceOnUse"&&(t.global=!0)}function sH(e,t){for(var n=e.firstChild;n;){if(n.nodeType===1&&n.nodeName.toLocaleLowerCase()==="stop"){var r=n.getAttribute("offset"),i=void 0;r&&r.indexOf("%")>0?i=parseInt(r,10)/100:r?i=parseFloat(r):i=0;var o={};toe(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function fo(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),et(t.__inheritedStyle,e.__inheritedStyle))}function uH(e){for(var t=WC(e),n=[],r=0;r0;o-=2){var a=r[o],l=r[o-1],s=WC(a);switch(i=i||Yi(),l){case"translate":el(i,i,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":c4(i,i,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":Hd(i,i,-parseFloat(s[0])*lT,[parseFloat(s[1]||"0"),parseFloat(s[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(s[0])*lT);Nl(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(s[0])*lT);Nl(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(s[0]),i[1]=parseFloat(s[1]),i[2]=parseFloat(s[2]),i[3]=parseFloat(s[3]),i[4]=parseFloat(s[4]),i[5]=parseFloat(s[5]);break}}t.setLocalTransform(i)}}var dH=/([^\s:;]+)\s*:\s*([^:;]+)/g;function toe(e,t,n){var r=e.getAttribute("style");if(r){dH.lastIndex=0;for(var i;(i=dH.exec(r))!=null;){var o=i[1],a=Ve(fx,o)?fx[o]:null;a&&(t[a]=i[2]);var l=Ve(hx,o)?hx[o]:null;l&&(n[l]=i[2])}}}function jJe(e,t,n){for(var r=0;r0,g={api:r,geo:s,mapOrGeoModel:t,data:l,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:f};s.resourceType==="geoJSON"?this._buildGeoJSON(g):s.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,n,r),this._updateMapSelectHandler(t,u,r,i)},e.prototype._buildGeoJSON=function(t){var n=this._regionsGroupByName=Ge(),r=Ge(),i=this._regionsGroup,o=t.transformInfoRaw,a=t.mapOrGeoModel,l=t.data,s=t.geo.projection,u=s&&s.stream;function c(h,v){return v&&(h=v(h)),h&&[h[0]*o.scaleX+o.x,h[1]*o.scaleY+o.y]}function d(h){for(var v=[],p=!u&&s&&s.project,g=0;g=0)&&(f=i);var h=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Dr(t,vr(r),{labelFetcher:f,labelDataIndex:d,defaultText:n},h);var v=t.getTextContent();if(v&&(roe(v).ignore=v.ignore,t.textConfig&&a)){var p=t.getBoundingRect().clone();t.textConfig.layoutRect=p,t.textConfig.position=[(a[0]-p.x)/p.width*100+"%",(a[1]-p.y)/p.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function gH(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):ut(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function mH(e,t,n,r,i){e.data||Vd({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function yH(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return In(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&uGe(t,i,n),a}function bH(e,t,n){var r=[],i;function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var l=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(s,u){isFinite(s)&&isFinite(u)&&i.push([s,u])},sphere:function(){}});return!n&&l.polygonStart(),j(e,function(s){l.lineStart();for(var u=0;u-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(_n);const het=fet;function vet(e,t){var n={};return j(e,function(r){r.each(r.mapDimension("value"),function(i,o){var a="ec-"+r.getName(o);n[a]=n[a]||[],isNaN(i)||n[a].push(i)})}),e[0].map(e[0].mapDimension("value"),function(r,i){for(var o="ec-"+e[0].getName(i),a=0,l=1/0,s=-1/0,u=n[o].length,c=0;c1?(S.width=b,S.height=b/g):(S.height=b,S.width=b*g),S.y=y[1]-S.height/2,S.x=y[0]-S.width/2;else{var x=e.getBoxLayoutParams();x.aspect=g,S=ir(x,{width:v,height:p})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function bet(e,t){j(t.get("geoCoord"),function(n,r){e.addGeoCoord(r,n)})}var xet=function(){function e(){this.dimensions=ooe}return e.prototype.create=function(t,n){var r=[];function i(a){return{nameProperty:a.get("nameProperty"),aspectScale:a.get("aspectScale"),projection:a.get("projection")}}t.eachComponent("geo",function(a,l){var s=a.get("map"),u=new CH(s+l,s,Te({nameMap:a.get("nameMap")},i(a)));u.zoomLimit=a.get("scaleLimit"),r.push(u),a.coordinateSystem=u,u.model=a,u.resize=$H,u.resize(a,n)}),t.eachSeries(function(a){var l=a.get("coordinateSystem");if(l==="geo"){var s=a.get("geoIndex")||0;a.coordinateSystem=r[s]}});var o={};return t.eachSeriesByType("map",function(a){if(!a.getHostGeoModel()){var l=a.getMapType();o[l]=o[l]||[],o[l].push(a)}}),j(o,function(a,l){var s=Oe(a,function(c){return c.get("nameMap")}),u=new CH(l,l,Te({nameMap:o4(s)},i(a[0])));u.zoomLimit=br.apply(null,Oe(a,function(c){return c.get("scaleLimit")})),r.push(u),u.resize=$H,u.resize(a[0],n),j(a,function(c){c.coordinateSystem=u,bet(u,c)})}),r},e.prototype.getFilledRegions=function(t,n,r,i){for(var o=(t||[]).slice(),a=Ge(),l=0;l=0;a--){var l=i[a];l.hierNode={defaultAncestor:null,ancestor:l,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(l)}}function Aet(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){Eet(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=Ret(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function Oet(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function TH(e){return arguments.length?e:ket}function Mp(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function Det(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Eet(e){for(var t=e.children,n=t.length,r=0,i=0;--n>=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function Ret(e,t,n,r){if(t){for(var i=e,o=e,a=o.parentNode.children[0],l=t,s=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=l.hierNode.modifier;l=sT(l),o=uT(o),l&&o;){i=sT(i),a=uT(a),i.hierNode.ancestor=e;var f=l.hierNode.prelim+d-o.hierNode.prelim-u+r(l,o);f>0&&(Net(Let(l,e,n),e,f),u+=f,s+=f),d+=l.hierNode.modifier,u+=o.hierNode.modifier,s+=i.hierNode.modifier,c+=a.hierNode.modifier}l&&!sT(i)&&(i.hierNode.thread=l,i.hierNode.modifier+=d-s),o&&!uT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function sT(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function uT(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function Let(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function Net(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function ket(e,t){return e.parentNode===t.parentNode?1:2}var Bet=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),Fet=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Bet},t.prototype.buildPath=function(n,r){var i=r.childPoints,o=i.length,a=r.parentPoint,l=i[0],s=i[o-1];if(o===1){n.moveTo(a[0],a[1]),n.lineTo(l[0],l[1]);return}var u=r.orient,c=u==="TB"||u==="BT"?0:1,d=1-c,f=Ne(r.forkPosition,1),h=[];h[c]=a[c],h[d]=a[d]+(s[d]-a[d])*f,n.moveTo(a[0],a[1]),n.lineTo(h[0],h[1]),n.moveTo(l[0],l[1]),h[c]=l[c],n.lineTo(h[0],h[1]),h[c]=s[c],n.lineTo(h[0],h[1]),n.lineTo(s[0],s[1]);for(var v=1;vy.x,x||(S=S-Math.PI));var C=x?"left":"right",T=l.getModel("label"),I=T.get("rotate"),P=I*(Math.PI/180),M=g.getTextContent();M&&(g.setTextConfig({position:T.get("position")||C,rotation:I==null?-S:P,origin:"center"}),M.setStyle("verticalAlign","middle"))}var O=l.get(["emphasis","focus"]),D=O==="relative"?nm(a.getAncestorsIndices(),a.getDescendantIndices()):O==="ancestor"?a.getAncestorsIndices():O==="descendant"?a.getDescendantIndices():null;D&&(ut(n).focus=D),Het(i,a,c,n,v,h,p,r),n.__edge&&(n.onHoverStateChange=function(R){if(R!=="blur"){var A=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);A&&A.hoverState===ly||GS(n.__edge,R)}})}function Het(e,t,n,r,i,o,a,l){var s=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),d=e.getOrient(),f=e.get(["lineStyle","curveness"]),h=e.get("edgeForkPosition"),v=s.getModel("lineStyle").getLineStyle(),p=r.__edge;if(u==="curve")t.parentNode&&t.parentNode!==n&&(p||(p=r.__edge=new wC({shape:cA(c,d,f,i,i)})),Kt(p,{shape:cA(c,d,f,o,a)},e));else if(u==="polyline"&&c==="orthogonal"&&t!==n&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;yn&&(n=i.height)}this.height=n+1},e.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var n=0,r=this.children,i=r.length;n=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,n)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var n=this.hostTree,r=n.data.getItemModel(this.dataIndex);return r.getModel(t)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(t,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,n)},e.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,n=0;n=0){var r=n.getData().tree.root,i=e.targetNode;if(Fe(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(o!=null&&(i=r.getNodeById(o)))return{node:i}}}function foe(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function _R(e,t){var n=foe(e);return Tt(n,t)>=0}function jC(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var Qet=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.hasSymbolVisual=!0,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n){var r={name:n.name,children:n.data},i=n.leaves||{},o=new hn(i,this,this.ecModel),a=$R.createTree(r,this,l);function l(d){d.wrapMethod("getItemModel",function(f,h){var v=a.getNodeByDataIndex(h);return v&&v.children.length&&v.isExpand||(f.parentModel=o),f})}var s=0;a.eachNode("preorder",function(d){d.depth>s&&(s=d.depth)});var u=n.expandAndCollapse,c=u&&n.initialTreeDepth>=0?n.initialTreeDepth:s;return a.root.eachNode("preorder",function(d){var f=d.hostTree.data.getRawDataItem(d.dataIndex);d.isExpand=f&&f.collapsed!=null?!f.collapsed:d.depth<=c}),a.data},t.prototype.getOrient=function(){var n=this.get("orient");return n==="horizontal"?n="LR":n==="vertical"&&(n="TB"),n},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.formatTooltip=function(n,r,i){for(var o=this.getData().tree,a=o.root.children[0],l=o.getNodeByDataIndex(n),s=l.getValue(),u=l.name;l&&l!==a;)u=l.parentNode.name+"."+u,l=l.parentNode;return pr("nameValue",{name:u,value:s,noValue:isNaN(s)||s==null})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=jC(i,this),r.collapsed=!i.isExpand,r},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(_n);const Jet=Qet;function ett(e,t,n){for(var r=[e],i=[],o;o=r.pop();)if(i.push(o),o.isExpand){var a=o.children;if(a.length)for(var l=0;l=0;o--)n.push(i[o])}}function ttt(e,t){e.eachSeriesByType("tree",function(n){ntt(n,t)})}function ntt(e,t){var n=Det(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;r==="radial"?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=TH(function(b,S){return(b.parentNode===S.parentNode?1:2)/b.depth})):(i=n.width,o=n.height,a=TH());var l=e.getData().tree.root,s=l.children[0];if(s){Met(l),ett(s,Aet,a),l.hierNode.modifier=-s.hierNode.prelim,lp(s,Oet);var u=s,c=s,d=s;lp(s,function(b){var S=b.getLayout().x;Sc.getLayout().x&&(c=b),b.depth>d.depth&&(d=b)});var f=u===c?1:a(u,c)/2,h=f-u.getLayout().x,v=0,p=0,g=0,m=0;if(r==="radial")v=i/(c.getLayout().x+f+h),p=o/(d.depth-1||1),lp(s,function(b){g=(b.getLayout().x+h)*v,m=(b.depth-1)*p;var S=Mp(g,m);b.setLayout({x:S.x,y:S.y,rawX:g,rawY:m},!0)});else{var y=e.getOrient();y==="RL"||y==="LR"?(p=o/(c.getLayout().x+f+h),v=i/(d.depth-1||1),lp(s,function(b){m=(b.getLayout().x+h)*p,g=y==="LR"?(b.depth-1)*v:i-(b.depth-1)*v,b.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(v=i/(c.getLayout().x+f+h),p=o/(d.depth-1||1),lp(s,function(b){g=(b.getLayout().x+h)*v,m=y==="TB"?(b.depth-1)*p:o-(b.depth-1)*p,b.setLayout({x:g,y:m},!0)}))}}}function rtt(e){e.eachSeriesByType("tree",function(t){var n=t.getData(),r=n.tree;r.eachNode(function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle(),l=n.ensureUniqueItemVisual(i.dataIndex,"style");Te(l,a)})})}function itt(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"tree",query:t},function(r){var i=t.dataIndex,o=r.getData().tree,a=o.getNodeByDataIndex(i);a.isExpand=!a.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,n,r){n.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var o=i.coordinateSystem,a=wR(o,t,void 0,r);i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom)})})}function ott(e){e.registerChartView(Vet),e.registerSeriesModel(Jet),e.registerLayout(ttt),e.registerVisual(rtt),itt(e)}var OH=["treemapZoomToNode","treemapRender","treemapMove"];function att(e){for(var t=0;t1;)o=o.parentNode;var a=FM(e.ecModel,o.name||o.dataIndex+"",r);i.setVisual("decal",a)})}var ltt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return t.prototype.getInitialData=function(n,r){var i={name:n.name,children:n.data};voe(i);var o=n.levels||[],a=this.designatedVisualItemStyle={},l=new hn({itemStyle:a},this,r);o=n.levels=stt(o,r);var s=Oe(o||[],function(d){return new hn(d,l,r)},this),u=$R.createTree(i,this,c);function c(d){d.wrapMethod("getItemModel",function(f,h){var v=u.getNodeByDataIndex(h),p=v?s[v.depth]:null;return f.parentModel=p||l,f})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(n,r,i){var o=this.getData(),a=this.getRawValue(n),l=o.getName(n);return pr("nameValue",{name:l,value:a})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=jC(i,this),r.treePathInfo=r.treeAncestors,r},t.prototype.setLayoutInfo=function(n){this.layoutInfo=this.layoutInfo||{},Te(this.layoutInfo,n)},t.prototype.mapIdToIndex=function(n){var r=this._idIndexMap;r||(r=this._idIndexMap=Ge(),this._idIndexMapCount=0);var i=r.get(n);return i==null&&r.set(n,i=this._idIndexMapCount++),i},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){hoe(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(_n);function voe(e){var t=0;j(e.children,function(r){voe(r);var i=r.value;Ae(i)&&(i=i[0]),t+=i});var n=e.value;Ae(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),Ae(e.value)?e.value[0]=n:e.value=n}function stt(e,t){var n=rn(t.get("color")),r=rn(t.get(["aria","decal","decals"]));if(n){e=e||[];var i,o;j(e,function(l){var s=new hn(l),u=s.get("color"),c=s.get("decal");(s.get(["itemStyle","color"])||u&&u!=="none")&&(i=!0),(s.get(["itemStyle","decal"])||c&&c!=="none")&&(o=!0)});var a=e[0]||(e[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),e}}const utt=ltt;var ctt=8,DH=8,cT=5,dtt=function(){function e(t){this.group=new lt,t.add(this.group)}return e.prototype.render=function(t,n,r,i){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),!(!o.get("show")||!r)){var l=o.getModel("itemStyle"),s=o.getModel("emphasis"),u=l.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),d={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:n.getWidth(),height:n.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,d,u),this._renderContent(t,d,l,s,u,c,i),OC(a,d.pos,d.box)}},e.prototype._prepare=function(t,n,r){for(var i=t;i;i=i.parentNode){var o=rr(i.getModel().get("name"),""),a=r.getTextRect(o),l=Math.max(a.width+ctt*2,n.emptyItemWidth);n.totalWidth+=l+DH,n.renderList.push({node:i,text:o,width:l})}},e.prototype._renderContent=function(t,n,r,i,o,a,l){for(var s=0,u=n.emptyItemWidth,c=t.get(["breadcrumb","height"]),d=yKe(n.pos,n.box),f=n.totalWidth,h=n.renderList,v=i.getModel("itemStyle").getItemStyle(),p=h.length-1;p>=0;p--){var g=h[p],m=g.node,y=g.width,b=g.text;f>d.width&&(f-=y-u,y=u,b=null);var S=new Di({shape:{points:ftt(s,0,y,c,p===h.length-1,p===0)},style:et(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new jt({style:fn(o,{text:b})}),textConfig:{position:"inside"},z2:vv*1e4,onclick:pt(l,m)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=fn(a,{text:b}),S.ensureState("emphasis").style=v,In(S,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(S),htt(S,t,m),s+=y+DH}},e.prototype.remove=function(){this.group.removeAll()},e}();function ftt(e,t,n,r,i,o){var a=[[i?e:e-cT,t],[e+n,t],[e+n,t+r],[i?e:e-cT,t+r]];return!o&&a.splice(2,0,[e+n+cT,t+r/2]),!i&&a.push([e,t+r/2]),a}function htt(e,t,n){ut(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&jC(n,t)}}const vtt=dtt;var ptt=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(t,n,r,i,o){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:n,duration:r,delay:i,easing:o}),!0)},e.prototype.finished=function(t){return this._finishedCallback=t,this},e.prototype.start=function(){for(var t=this,n=this._storage.length,r=function(){n--,n<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,o=this._storage.length;iRH||Math.abs(n.dy)>RH)){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+n.dx,y:i.y+n.dy,width:i.width,height:i.height}})}},t.prototype._onZoom=function(n){var r=n.originX,i=n.originY,o=n.scale;if(this._state!=="animating"){var a=this.seriesModel.getData().tree.root;if(!a)return;var l=a.getLayout();if(!l)return;var s=new $t(l.x,l.y,l.width,l.height),u=null,c=this._controllerHost;u=c.zoomLimit;var d=c.zoom=c.zoom||1;if(d*=o,u){var f=u.min||0,h=u.max||1/0;d=Math.max(Math.min(h,d),f)}var v=d/c.zoom;c.zoom=d;var p=this.seriesModel.layoutInfo;r-=p.x,i-=p.y;var g=Yi();el(g,g,[-r,-i]),c4(g,g,[v,v]),el(g,g,[r,i]),s.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(n){var r=this;n.on("click",function(i){if(r._state==="ready"){var o=r.seriesModel.get("nodeClick",!0);if(o){var a=r.findTarget(i.offsetX,i.offsetY);if(a){var l=a.node;if(l.getLayout().isLeafRoot)r._rootToNode(a);else if(o==="zoomToNode")r._zoomToNode(a);else if(o==="link"){var s=l.hostTree.data.getItemModel(l.dataIndex),u=s.get("link",!0),c=s.get("target",!0)||"blank";u&&ZS(u,c)}}}}},this)},t.prototype._renderBreadcrumb=function(n,r,i){var o=this;i||(i=n.get("leafDepth",!0)!=null?{node:n.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),i||(i={node:n.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new vtt(this.group))).render(n,r,i.node,function(a){o._state!=="animating"&&(_R(n.getViewRoot(),a)?o._rootToNode({node:a}):o._zoomToNode({node:a}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=sp(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(n){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype._rootToNode=function(n){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype.findTarget=function(n,r){var i,o=this.seriesModel.getViewRoot();return o.eachNode({attr:"viewChildren",order:"preorder"},function(a){var l=this._storage.background[a.getRawIndex()];if(l){var s=l.transformCoordToLocal(n,r),u=l.shape;if(u.x<=s[0]&&s[0]<=u.x+u.width&&u.y<=s[1]&&s[1]<=u.y+u.height)i={node:a,offsetX:s[0],offsetY:s[1]};else return!1}},this),i},t.type="treemap",t}(pn);function sp(){return{nodeGroup:[],background:[],content:[]}}function xtt(e,t,n,r,i,o,a,l,s,u){if(!a)return;var c=a.getLayout(),d=e.getData(),f=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var h=c.width,v=c.height,p=c.borderWidth,g=c.invisible,m=a.getRawIndex(),y=l&&l.getRawIndex(),b=a.viewChildren,S=c.upperHeight,x=b&&b.length,$=f.getModel("itemStyle"),C=f.getModel(["emphasis","itemStyle"]),T=f.getModel(["blur","itemStyle"]),I=f.getModel(["select","itemStyle"]),P=$.get("borderRadius")||0,M=K("nodeGroup",dA);if(!M)return;if(s.add(M),M.x=c.x||0,M.y=c.y||0,M.markRedraw(),vx(M).nodeWidth=h,vx(M).nodeHeight=v,c.isAboveViewRoot)return M;var O=K("background",EH,u,ytt);O&&F(M,O,x&&c.upperLabelHeight);var D=f.getModel("emphasis"),R=D.get("focus"),A=D.get("blurScope"),E=D.get("disabled"),k=R==="ancestor"?a.getAncestorsIndices():R==="descendant"?a.getDescendantIndices():R;if(x)cm(M)&&Hc(M,!1),O&&(Hc(O,!E),d.setItemGraphicEl(a.dataIndex,O),OM(O,k,A));else{var N=K("content",EH,u,btt);N&&H(M,N),O.disableMorphing=!0,O&&cm(O)&&Hc(O,!1),Hc(M,!E),d.setItemGraphicEl(a.dataIndex,M);var B=f.getShallow("cursor");B&&N.attr("cursor",B),OM(M,k,A)}return M;function F(ee,J,G){var Y=ut(J);if(Y.dataIndex=a.dataIndex,Y.seriesIndex=e.seriesIndex,J.setShape({x:0,y:0,width:h,height:v,r:P}),g)V(J);else{J.invisible=!1;var oe=a.getVisual("style"),W=oe.stroke,Z=kH($);Z.fill=W;var ne=Sc(C);ne.fill=C.get("borderColor");var re=Sc(T);re.fill=T.get("borderColor");var le=Sc(I);if(le.fill=I.get("borderColor"),G){var ie=h-2*p;X(J,W,oe.opacity,{x:p,y:0,width:ie,height:S})}else J.removeTextContent();J.setStyle(Z),J.ensureState("emphasis").style=ne,J.ensureState("blur").style=re,J.ensureState("select").style=le,$d(J)}ee.add(J)}function H(ee,J){var G=ut(J);G.dataIndex=a.dataIndex,G.seriesIndex=e.seriesIndex;var Y=Math.max(h-2*p,0),oe=Math.max(v-2*p,0);if(J.culling=!0,J.setShape({x:p,y:p,width:Y,height:oe,r:P}),g)V(J);else{J.invisible=!1;var W=a.getVisual("style"),Z=W.fill,ne=kH($);ne.fill=Z,ne.decal=W.decal;var re=Sc(C),le=Sc(T),ie=Sc(I);X(J,Z,W.opacity,null),J.setStyle(ne),J.ensureState("emphasis").style=re,J.ensureState("blur").style=le,J.ensureState("select").style=ie,$d(J)}ee.add(J)}function V(ee){!ee.invisible&&o.push(ee)}function X(ee,J,G,Y){var oe=f.getModel(Y?NH:LH),W=rr(f.get("name"),null),Z=oe.getShallow("show");Dr(ee,vr(f,Y?NH:LH),{defaultText:Z?W:null,inheritColor:J,defaultOpacity:G,labelFetcher:e,labelDataIndex:a.dataIndex});var ne=ee.getTextContent();if(ne){var re=ne.style,le=l4(re.padding||0);Y&&(ee.setTextConfig({layoutRect:Y}),ne.disableLabelLayout=!0),ne.beforeUpdate=function(){var de=Math.max((Y?Y.width:ee.shape.width)-le[1]-le[3],0),pe=Math.max((Y?Y.height:ee.shape.height)-le[0]-le[2],0);(re.width!==de||re.height!==pe)&&ne.setStyle({width:de,height:pe})},re.truncateMinChar=2,re.lineOverflow="truncate",Q(re,Y,c);var ie=ne.getState("emphasis");Q(ie?ie.style:null,Y,c)}}function Q(ee,J,G){var Y=ee?ee.text:null;if(!J&&G.isLeafRoot&&Y!=null){var oe=e.get("drillDownIcon",!0);ee.text=oe?oe+" "+Y:Y}}function K(ee,J,G,Y){var oe=y!=null&&n[ee][y],W=i[ee];return oe?(n[ee][y]=null,te(W,oe)):g||(oe=new J,oe instanceof Eo&&(oe.z2=wtt(G,Y)),q(W,oe)),t[ee][m]=oe}function te(ee,J){var G=ee[m]={};J instanceof dA?(G.oldX=J.x,G.oldY=J.y):G.oldShape=Te({},J.shape)}function q(ee,J){var G=ee[m]={},Y=a.parentNode,oe=J instanceof lt;if(Y&&(!r||r.direction==="drillDown")){var W=0,Z=0,ne=i.background[Y.getRawIndex()];!r&&ne&&ne.oldShape&&(W=ne.oldShape.width,Z=ne.oldShape.height),oe?(G.oldX=0,G.oldY=Z):G.oldShape={x:W,y:Z,width:0,height:0}}G.fadein=!oe}}function wtt(e,t){return e*mtt+t}const Ctt=Stt;var Cm=j,$tt=nt,px=-1,TR=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=rt(t);this.type=r,this.mappingMethod=n,this._normalizeData=Itt[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],n==="piecewise"?(dT(i),_tt(i)):n==="category"?i.categories?Ttt(i):dT(i,!0):(pi(n!=="linear"||i.dataExtent),dT(i))}return e.prototype.mapValueToVisual=function(t){var n=this._normalizeData(t);return this._normalizedToVisual(n,t)},e.prototype.getNormalizer=function(){return ze(this._normalizeData,this)},e.listVisualTypes=function(){return Rt(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,n,r){nt(t)?j(t,n,r):n.call(r,t)},e.mapVisual=function(t,n,r){var i,o=Ae(t)?[]:nt(t)?{}:(i=!0,null);return e.eachVisual(t,function(a,l){var s=n.call(r,a,l);i?o=s:o[l]=s}),o},e.retrieveVisuals=function(t){var n={},r;return t&&Cm(e.visualHandlers,function(i,o){t.hasOwnProperty(o)&&(n[o]=t[o],r=!0)}),r?n:null},e.prepareVisualTypes=function(t){if(Ae(t))t=t.slice();else if($tt(t)){var n=[];Cm(t,function(r,i){n.push(i)}),t=n}else return[];return t.sort(function(r,i){return i==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,n){return n==="color"?!!(t&&t.indexOf(n)===0):t===n},e.findPieceIndex=function(t,n,r){for(var i,o=1/0,a=0,l=n.length;a=0;o--)r[o]==null&&(delete n[t[o]],t.pop())}function dT(e,t){var n=e.visual,r=[];nt(n)?Cm(n,function(o){r.push(o)}):n!=null&&r.push(n);var i={color:1,symbol:1};!t&&r.length===1&&!i.hasOwnProperty(e.type)&&(r[1]=r[0]),poe(e,r)}function tb(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:fA([0,1])}}function BH(e){var t=this.option.visual;return t[Math.round(en(e,[0,1],[0,t.length-1],!0))]||{}}function up(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function Ap(e){var t=this.option.visual;return t[this.option.loop&&e!==px?e%t.length:e]}function xc(){return this.option.visual[0]}function fA(e){return{linear:function(t){return en(t,e,this.option.visual,!0)},category:Ap,piecewise:function(t,n){var r=hA.call(this,n);return r==null&&(r=en(t,e,this.option.visual,!0)),r},fixed:xc}}function hA(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=TR.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function poe(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=Oe(t,function(n){var r=qi(n);return r||[0,0,0,1]})),t}var Itt={linear:function(e){return en(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=TR.findPieceIndex(e,t,!0);if(n!=null)return en(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t==null?px:t},fixed:kn};function nb(e,t,n){return e?t<=n:t=n.length||p===n[p.depth]){var m=Ett(i,s,p,g,v,r);moe(p,m,n,r)}})}}}function Att(e,t,n){var r=Te({},t),i=n.designatedVisualItemStyle;return j(["color","colorAlpha","colorSaturation"],function(o){i[o]=t[o];var a=e.get(o);i[o]=null,a!=null&&(r[o]=a)}),r}function FH(e){var t=fT(e,"color");if(t){var n=fT(e,"colorAlpha"),r=fT(e,"colorSaturation");return r&&(t=dg(t,null,null,r)),n&&(t=FS(t,n)),t}}function Ott(e,t){return t!=null?dg(t,null,null,e):null}function fT(e,t){var n=e[t];if(n!=null&&n!=="none")return n}function Dtt(e,t,n,r,i,o){if(!(!o||!o.length)){var a=hT(t,"color")||i.color!=null&&i.color!=="none"&&(hT(t,"colorAlpha")||hT(t,"colorSaturation"));if(a){var l=t.get("visualMin"),s=t.get("visualMax"),u=n.dataExtent.slice();l!=null&&lu[1]&&(u[1]=s);var c=t.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};d.type==="color"&&(c==="index"||c==="id")?(d.mappingMethod="category",d.loop=!0):d.mappingMethod="linear";var f=new Mr(d);return goe(f).drColorMappingBy=c,f}}}function hT(e,t){var n=e.get(t);return Ae(n)&&n.length?{name:t,range:n}:null}function Ett(e,t,n,r,i,o){var a=Te({},t);if(i){var l=i.type,s=l==="color"&&goe(i).drColorMappingBy,u=s==="index"?r:s==="id"?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[l]=i.mapValueToVisual(u)}return a}var $m=Math.max,gx=Math.min,zH=br,IR=j,yoe=["itemStyle","borderWidth"],Rtt=["itemStyle","gapWidth"],Ltt=["upperLabel","show"],Ntt=["upperLabel","height"];const ktt={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,l=ir(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=a.size||[],u=Ne(zH(l.width,s[0]),i),c=Ne(zH(l.height,s[1]),o),d=r&&r.type,f=["treemapZoomToNode","treemapRootToNode"],h=wm(r,f,e),v=d==="treemapRender"||d==="treemapMove"?r.rootRect:null,p=e.getViewRoot(),g=foe(p);if(d!=="treemapMove"){var m=d==="treemapZoomToNode"?Wtt(e,h,p,u,c):v?[v.width,v.height]:[u,c],y=a.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var b={squareRatio:a.squareRatio,sort:y,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var S={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(S),boe(p,b,!1,0),S=p.getLayout(),IR(g,function($,C){var T=(g[C+1]||p).getValue();$.setLayout(Te({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var x=e.getData().tree.root;x.setLayout(jtt(l,v,h),!0),e.setLayoutInfo(l),Soe(x,new $t(-l.x,-l.y,i,o),g,p,0)}};function boe(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var l=e.getModel(),s=l.get(yoe),u=l.get(Rtt)/2,c=xoe(l),d=Math.max(s,c),f=s-u,h=d-u;e.setLayout({borderWidth:s,upperHeight:d,upperLabelHeight:c},!0),i=$m(i-2*f,0),o=$m(o-f-h,0);var v=i*o,p=Btt(e,l,v,t,n,r);if(p.length){var g={x:f,y:h,width:i,height:o},m=gx(i,o),y=1/0,b=[];b.area=0;for(var S=0,x=p.length;S=0;s--){var u=i[r==="asc"?a-s-1:s].getValue();u/n*tl[1]&&(l[1]=u)})),{sum:r,dataExtent:l}}function Vtt(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,l=e.length;or&&(r=a));var s=e.area*e.area,u=t*t*n;return s?$m(u*r/s,s/(u*i)):1/0}function HH(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,l=["x","y"],s=["width","height"],u=n[l[o]],c=t?e.area/t:0;(i||c>n[s[a]])&&(c=n[s[a]]);for(var d=0,f=e.length;dJ7&&(u=J7),o=l}ur&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a0&&(x[0]=-x[0],x[1]=-x[1]);var C=S[0]<0?-1:1;if(o.__position!=="start"&&o.__position!=="end"){var T=-Math.atan2(S[1],S[0]);d[0].8?"left":f[0]<-.8?"right":"center",p=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":o.x=-f[0]*m+c[0],o.y=-f[1]*y+c[1],v=f[0]>.8?"right":f[0]<-.8?"left":"center",p=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":o.x=m*C+c[0],o.y=c[1]+I,v=S[0]<0?"right":"left",o.originX=-m*C,o.originY=-I;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":o.x=$[0],o.y=$[1]+I,v="center",o.originY=-I;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":o.x=-m*C+d[0],o.y=d[1]+I,v=S[0]>=0?"right":"left",o.originX=m*C,o.originY=-I;break}o.scaleX=o.scaleY=a,o.setStyle({verticalAlign:o.__verticalAlign||p,align:o.__align||v})}},t}(lt);const OR=unt;var cnt=function(){function e(t){this.group=new lt,this._LineCtor=t||OR}return e.prototype.updateData=function(t){var n=this;this._progressiveEls=null;var r=this,i=r.group,o=r._lineData;r._lineData=t,o||i.removeAll();var a=UH(t);t.diff(o).add(function(l){n._doAdd(t,l,a)}).update(function(l,s){n._doUpdate(o,t,s,l,a)}).remove(function(l){i.remove(o.getItemGraphicEl(l))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(n,r){n.updateLayout(t,r)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=UH(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n){this._progressiveEls=[];function r(l){!l.isGroup&&!dnt(l)&&(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0}function UH(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:vr(t)}}function XH(e){return isNaN(e[0])||isNaN(e[1])}function yT(e){return e&&!XH(e[0])&&!XH(e[1])}const DR=cnt;var bT=[],ST=[],xT=[],wf=mr,wT=td,YH=Math.abs;function qH(e,t,n){for(var r=e[0],i=e[1],o=e[2],a=1/0,l,s=n*n,u=.1,c=.1;c<=.9;c+=.1){bT[0]=wf(r[0],i[0],o[0],c),bT[1]=wf(r[1],i[1],o[1],c);var d=YH(wT(bT,t)-s);d=0?l=l+u:l=l-u:v>=0?l=l-u:l=l+u}return l}function CT(e,t){var n=[],r=rm,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge(function(l,s){var u=l.getLayout(),c=l.getVisual("fromSymbol"),d=l.getVisual("toSymbol");u.__original||(u.__original=[Ll(u[0]),Ll(u[1])],u[2]&&u.__original.push(Ll(u[2])));var f=u.__original;if(u[2]!=null){if(ri(i[0],f[0]),ri(i[1],f[2]),ri(i[2],f[1]),c&&c!=="none"){var h=Dp(l.node1),v=qH(i,f[0],h*t);r(i[0][0],i[1][0],i[2][0],v,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],v,n),i[0][1]=n[3],i[1][1]=n[4]}if(d&&d!=="none"){var h=Dp(l.node2),v=qH(i,f[1],h*t);r(i[0][0],i[1][0],i[2][0],v,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],v,n),i[1][1]=n[1],i[2][1]=n[2]}ri(u[0],i[0]),ri(u[1],i[2]),ri(u[2],i[1])}else{if(ri(o[0],f[0]),ri(o[1],f[1]),Fc(a,o[1],o[0]),dv(a,a),c&&c!=="none"){var h=Dp(l.node1);tM(o[0],o[0],a,h*t)}if(d&&d!=="none"){var h=Dp(l.node2);tM(o[1],o[1],a,-h*t)}ri(u[0],o[0]),ri(u[1],o[1])}})}function ZH(e){return e.type==="view"}var fnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){var i=new gy,o=new DR,a=this.group;this._controller=new xy(r.getZr()),this._controllerHost={target:a},a.add(i.group),a.add(o.group),this._symbolDraw=i,this._lineDraw=o,this._firstRender=!0},t.prototype.render=function(n,r,i){var o=this,a=n.coordinateSystem;this._model=n;var l=this._symbolDraw,s=this._lineDraw,u=this.group;if(ZH(a)){var c={x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY};this._firstRender?u.attr(c):Kt(u,c,n)}CT(n.getGraph(),Op(n));var d=n.getData();l.updateData(d);var f=n.getEdgeData();s.updateData(f),this._updateNodeAndLinkScale(),this._updateController(n,r,i),clearTimeout(this._layoutTimeout);var h=n.forceLayout,v=n.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,v);var p=n.get("layout");d.graph.eachNode(function(b){var S=b.dataIndex,x=b.getGraphicEl(),$=b.getModel();if(x){x.off("drag").off("dragend");var C=$.get("draggable");C&&x.on("drag",function(I){switch(p){case"force":h.warmUp(),!o._layouting&&o._startForceLayoutIteration(h,v),h.setFixed(S),d.setItemLayout(S,[x.x,x.y]);break;case"circular":d.setItemLayout(S,[x.x,x.y]),b.setLayout({fixed:!0},!0),AR(n,"symbolSize",b,[I.offsetX,I.offsetY]),o.updateLayout(n);break;case"none":default:d.setItemLayout(S,[x.x,x.y]),MR(n.getGraph(),n),o.updateLayout(n);break}}).on("dragend",function(){h&&h.setUnfixed(S)}),x.setDraggable(C,!!$.get("cursor"));var T=$.get(["emphasis","focus"]);T==="adjacency"&&(ut(x).focus=b.getAdjacentDataIndices())}}),d.graph.eachEdge(function(b){var S=b.getGraphicEl(),x=b.getModel().get(["emphasis","focus"]);S&&x==="adjacency"&&(ut(S).focus={edge:[b.dataIndex],node:[b.node1.dataIndex,b.node2.dataIndex]})});var g=n.get("layout")==="circular"&&n.get(["circular","rotateLabel"]),m=d.getLayout("cx"),y=d.getLayout("cy");d.graph.eachNode(function(b){_oe(b,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(n,r){var i=this;(function o(){n.step(function(a){i.updateLayout(i._model),(i._layouting=!a)&&(r?i._layoutTimeout=setTimeout(o,16):o())})})()},t.prototype._updateController=function(n,r,i){var o=this,a=this._controller,l=this._controllerHost,s=this.group;if(a.setPointerChecker(function(u,c,d){var f=s.getBoundingRect();return f.applyTransform(s.transform),f.contain(c,d)&&!VC(u,i,n)}),!ZH(n.coordinateSystem)){a.disable();return}a.enable(n.get("roam")),l.zoomLimit=n.get("scaleLimit"),l.zoom=n.coordinateSystem.getZoom(),a.off("pan").off("zoom").on("pan",function(u){bR(l,u.dx,u.dy),i.dispatchAction({seriesId:n.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){SR(l,u.scale,u.originX,u.originY),i.dispatchAction({seriesId:n.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),o._updateNodeAndLinkScale(),CT(n.getGraph(),Op(n)),o._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var n=this._model,r=n.getData(),i=Op(n);r.eachItemGraphicEl(function(o,a){o&&o.setSymbolScale(i)})},t.prototype.updateLayout=function(n){CT(n.getGraph(),Op(n)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(pn);const hnt=fnt;function Cf(e){return"_EC_"+e}var vnt=function(){function e(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(t,n){t=t==null?""+n:""+t;var r=this._nodesMap;if(!r[Cf(t)]){var i=new wc(t,n);return i.hostGraph=this,this.nodes.push(i),r[Cf(t)]=i,i}},e.prototype.getNodeByIndex=function(t){var n=this.data.getRawIndex(t);return this.nodes[n]},e.prototype.getNodeById=function(t){return this._nodesMap[Cf(t)]},e.prototype.addEdge=function(t,n,r){var i=this._nodesMap,o=this._edgesMap;if(Gt(t)&&(t=this.nodes[t]),Gt(n)&&(n=this.nodes[n]),t instanceof wc||(t=i[Cf(t)]),n instanceof wc||(n=i[Cf(n)]),!(!t||!n)){var a=t.id+"-"+n.id,l=new Ioe(t,n,r);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),n.inEdges.push(l)),t.edges.push(l),t!==n&&n.edges.push(l),this.edges.push(l),o[a]=l,l}},e.prototype.getEdgeByIndex=function(t){var n=this.edgeData.getRawIndex(t);return this.edges[n]},e.prototype.getEdge=function(t,n){t instanceof wc&&(t=t.id),n instanceof wc&&(n=n.id);var r=this._edgesMap;return this._directed?r[t+"-"+n]:r[t+"-"+n]||r[n+"-"+t]},e.prototype.eachNode=function(t,n){for(var r=this.nodes,i=r.length,o=0;o=0&&t.call(n,r[o],o)},e.prototype.eachEdge=function(t,n){for(var r=this.edges,i=r.length,o=0;o=0&&r[o].node1.dataIndex>=0&&r[o].node2.dataIndex>=0&&t.call(n,r[o],o)},e.prototype.breadthFirstTraverse=function(t,n,r,i){if(n instanceof wc||(n=this._nodesMap[Cf(n)]),!!n){for(var o=r==="out"?"outEdges":r==="in"?"inEdges":"edges",a=0;a=0&&s.node2.dataIndex>=0});for(var o=0,a=i.length;o=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}qn(wc,Poe("hostGraph","data"));qn(Ioe,Poe("hostGraph","edgeData"));const pnt=vnt;function Moe(e,t,n,r,i){for(var o=new pnt(r),a=0;a "+f)),u++)}var h=n.get("coordinateSystem"),v;if(h==="cartesian2d"||h==="polar")v=ds(e,n);else{var p=dy.get(h),g=p?p.dimensions||[]:[];Tt(g,"value")<0&&g.concat(["value"]);var m=hy(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;v=new fi(m,n),v.initData(e)}var y=new fi(["value"],n);return y.initData(s,l),i&&i(v,y),coe({mainData:v,struct:o,structAttr:"graph",datas:{node:v,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var gnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments);var r=this;function i(){return r._categoriesData}this.legendVisualProvider=new Sy(i,i),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(n){e.prototype.mergeDefaultAndTheme.apply(this,arguments),xd(n,"edgeLabel",["show"])},t.prototype.getInitialData=function(n,r){var i=n.edges||n.links||[],o=n.data||n.nodes||[],a=this;if(o&&i){Ztt(this);var l=Moe(o,i,this,!0,s);return j(l.edges,function(u){Qtt(u.node1,u.node2,this,u.dataIndex)},this),l.data}function s(u,c){u.wrapMethod("getItemModel",function(v){var p=a._categoriesModels,g=v.getShallow("category"),m=p[g];return m&&(m.parentModel=v.parentModel,v.parentModel=m),v});var d=hn.prototype.getModel;function f(v,p){var g=d.call(this,v,p);return g.resolveParentPath=h,g}c.wrapMethod("getItemModel",function(v){return v.resolveParentPath=h,v.getModel=f,v});function h(v){if(v&&(v[0]==="label"||v[1]==="label")){var p=v.slice();return v[0]==="label"?p[0]="edgeLabel":v[1]==="label"&&(p[1]="edgeLabel"),p}return v}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(n,r,i){if(i==="edge"){var o=this.getData(),a=this.getDataParams(n,i),l=o.graph.getEdgeByIndex(n),s=o.getName(l.node1.dataIndex),u=o.getName(l.node2.dataIndex),c=[];return s!=null&&c.push(s),u!=null&&c.push(u),pr("nameValue",{name:c.join(" > "),value:a.value,noValue:a.value==null})}var d=Xne({series:this,dataIndex:n,multipleSeries:r});return d},t.prototype._updateCategoriesData=function(){var n=Oe(this.option.categories||[],function(i){return i.value!=null?i:Te({value:0},i)}),r=new fi(["value"],this);r.initData(n),this._categoriesData=r,this._categoriesModels=r.mapArray(function(i){return r.getItemModel(i)})},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const mnt=gnt;var ynt={type:"graphRoam",event:"graphRoam",update:"none"};function bnt(e){e.registerChartView(hnt),e.registerSeriesModel(mnt),e.registerProcessor(Ktt),e.registerVisual(Utt),e.registerVisual(Xtt),e.registerLayout(Jtt),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,tnt),e.registerLayout(rnt),e.registerCoordinateSystem("graphView",{dimensions:wy.dimensions,create:ont}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},kn),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},kn),e.registerAction(ynt,function(t,n,r){n.eachComponent({mainType:"series",query:t},function(i){var o=i.coordinateSystem,a=wR(o,t,void 0,r);i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom)})})}var Snt=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),xnt=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="pointer",r}return t.prototype.getDefaultShape=function(){return new Snt},t.prototype.buildPath=function(n,r){var i=Math.cos,o=Math.sin,a=r.r,l=r.width,s=r.angle,u=r.x-i(s)*l*(l>=a/3?1:2),c=r.y-o(s)*l*(l>=a/3?1:2);s=r.angle-Math.PI/2,n.moveTo(u,c),n.lineTo(r.x+i(s)*l,r.y+o(s)*l),n.lineTo(r.x+i(r.angle)*a,r.y+o(r.angle)*a),n.lineTo(r.x-i(s)*l,r.y-o(s)*l),n.lineTo(u,c)},t}(Mt);const wnt=xnt;function Cnt(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=Ne(n[0],t.getWidth()),l=Ne(n[1],t.getHeight()),s=Ne(e.get("radius"),o/2);return{cx:a,cy:l,r:s}}function ib(e,t){var n=e==null?"":e+"";return t&&(Fe(t)?n=t.replace("{value}",n):Ze(t)&&(n=t(e))),n}var $nt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){this.group.removeAll();var o=n.get(["axisLine","lineStyle","color"]),a=Cnt(n,i);this._renderMain(n,r,i,o,a),this._data=n.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(n,r,i,o,a){var l=this.group,s=n.get("clockwise"),u=-n.get("startAngle")/180*Math.PI,c=-n.get("endAngle")/180*Math.PI,d=n.getModel("axisLine"),f=d.get("roundCap"),h=f?dx:Oi,v=d.get("show"),p=d.getModel("lineStyle"),g=p.get("width"),m=[u,c];S4(m,!s),u=m[0],c=m[1];for(var y=c-u,b=u,S=[],x=0;v&&x=I&&(P===0?0:o[P-1][0])Math.PI/2&&(Q+=Math.PI)):X==="tangential"?Q=-T-Math.PI/2:Gt(X)&&(Q=X*Math.PI/180),Q===0?d.add(new jt({style:fn(b,{text:B,x:H,y:V,verticalAlign:A<-.8?"top":A>.8?"bottom":"middle",align:R<-.4?"left":R>.4?"right":"center"},{inheritColor:F}),silent:!0})):d.add(new jt({style:fn(b,{text:B,x:H,y:V,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:H,originY:V,rotation:Q}))}if(y.get("show")&&E!==S){var k=y.get("distance");k=k?k+c:c;for(var K=0;K<=x;K++){R=Math.cos(T),A=Math.sin(T);var te=new Sr({shape:{x1:R*(v-k)+f,y1:A*(v-k)+h,x2:R*(v-C-k)+f,y2:A*(v-C-k)+h},silent:!0,style:O});O.stroke==="auto"&&te.setStyle({stroke:o((E+K/x)/S)}),d.add(te),T+=P}T-=P}else T+=I}},t.prototype._renderPointer=function(n,r,i,o,a,l,s,u,c){var d=this.group,f=this._data,h=this._progressEls,v=[],p=n.get(["pointer","show"]),g=n.getModel("progress"),m=g.get("show"),y=n.getData(),b=y.mapDimension("value"),S=+n.get("min"),x=+n.get("max"),$=[S,x],C=[l,s];function T(P,M){var O=y.getItemModel(P),D=O.getModel("pointer"),R=Ne(D.get("width"),a.r),A=Ne(D.get("length"),a.r),E=n.get(["pointer","icon"]),k=D.get("offsetCenter"),N=Ne(k[0],a.r),B=Ne(k[1],a.r),F=D.get("keepAspect"),H;return E?H=Yn(E,N-R/2,B-A,R,A,null,F):H=new wnt({shape:{angle:-Math.PI/2,width:R,r:A,x:N,y:B}}),H.rotation=-(M+Math.PI/2),H.x=a.cx,H.y=a.cy,H}function I(P,M){var O=g.get("roundCap"),D=O?dx:Oi,R=g.get("overlap"),A=R?g.get("width"):c/y.count(),E=R?a.r-A:a.r-(P+1)*A,k=R?a.r:a.r-P*A,N=new D({shape:{startAngle:l,endAngle:M,cx:a.cx,cy:a.cy,clockwise:u,r0:E,r:k}});return R&&(N.z2=en(y.get(b,P),[S,x],[100,0],!0)),N}(m||p)&&(y.diff(f).add(function(P){var M=y.get(b,P);if(p){var O=T(P,l);Sn(O,{rotation:-((isNaN(+M)?C[0]:en(M,$,C,!0))+Math.PI/2)},n),d.add(O),y.setItemGraphicEl(P,O)}if(m){var D=I(P,l),R=g.get("clip");Sn(D,{shape:{endAngle:en(M,$,C,R)}},n),d.add(D),PM(n.seriesIndex,y.dataType,P,D),v[P]=D}}).update(function(P,M){var O=y.get(b,P);if(p){var D=f.getItemGraphicEl(M),R=D?D.rotation:l,A=T(P,R);A.rotation=R,Kt(A,{rotation:-((isNaN(+O)?C[0]:en(O,$,C,!0))+Math.PI/2)},n),d.add(A),y.setItemGraphicEl(P,A)}if(m){var E=h[M],k=E?E.shape.endAngle:l,N=I(P,k),B=g.get("clip");Kt(N,{shape:{endAngle:en(O,$,C,B)}},n),d.add(N),PM(n.seriesIndex,y.dataType,P,N),v[P]=N}}).execute(),y.each(function(P){var M=y.getItemModel(P),O=M.getModel("emphasis"),D=O.get("focus"),R=O.get("blurScope"),A=O.get("disabled");if(p){var E=y.getItemGraphicEl(P),k=y.getItemVisual(P,"style"),N=k.fill;if(E instanceof Er){var B=E.style;E.useStyle(Te({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},k))}else E.useStyle(k),E.type!=="pointer"&&E.setColor(N);E.setStyle(M.getModel(["pointer","itemStyle"]).getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",o(en(y.get(b,P),$,[0,1],!0))),E.z2EmphasisLift=0,Or(E,M),In(E,D,R,A)}if(m){var F=v[P];F.useStyle(y.getItemVisual(P,"style")),F.setStyle(M.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,Or(F,M),In(F,D,R,A)}}),this._progressEls=v)},t.prototype._renderAnchor=function(n,r){var i=n.getModel("anchor"),o=i.get("show");if(o){var a=i.get("size"),l=i.get("icon"),s=i.get("offsetCenter"),u=i.get("keepAspect"),c=Yn(l,r.cx-a/2+Ne(s[0],r.r),r.cy-a/2+Ne(s[1],r.r),a,a,null,u);c.z2=i.get("showAbove")?1:0,c.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(c)}},t.prototype._renderTitleAndDetail=function(n,r,i,o,a){var l=this,s=n.getData(),u=s.mapDimension("value"),c=+n.get("min"),d=+n.get("max"),f=new lt,h=[],v=[],p=n.isAnimationEnabled(),g=n.get(["pointer","showAbove"]);s.diff(this._data).add(function(m){h[m]=new jt({silent:!0}),v[m]=new jt({silent:!0})}).update(function(m,y){h[m]=l._titleEls[y],v[m]=l._detailEls[y]}).execute(),s.each(function(m){var y=s.getItemModel(m),b=s.get(u,m),S=new lt,x=o(en(b,[c,d],[0,1],!0)),$=y.getModel("title");if($.get("show")){var C=$.get("offsetCenter"),T=a.cx+Ne(C[0],a.r),I=a.cy+Ne(C[1],a.r),P=h[m];P.attr({z2:g?0:2,style:fn($,{x:T,y:I,text:s.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:x})}),S.add(P)}var M=y.getModel("detail");if(M.get("show")){var O=M.get("offsetCenter"),D=a.cx+Ne(O[0],a.r),R=a.cy+Ne(O[1],a.r),A=Ne(M.get("width"),a.r),E=Ne(M.get("height"),a.r),k=n.get(["progress","show"])?s.getItemVisual(m,"style").fill:x,P=v[m],N=M.get("formatter");P.attr({z2:g?0:2,style:fn(M,{x:D,y:R,text:ib(b,N),width:isNaN(A)?null:A,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:k})}),qte(P,{normal:M},b,function(F){return ib(F,N)}),p&&Zte(P,m,s,n,{getFormattedLabel:function(F,H,V,X,Q,K){return ib(K?K.interpolatedValue:b,N)}}),S.add(P)}f.add(S)}),this.group.add(f),this._titleEls=h,this._detailEls=v},t.type="gauge",t}(pn);const _nt=$nt;var Tnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return t.prototype.getInitialData=function(n,r){return Tv(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(_n);const Int=Tnt;function Pnt(e){e.registerChartView(_nt),e.registerSeriesModel(Int)}var Mnt=["itemStyle","opacity"],Ant=function(e){ge(t,e);function t(n,r){var i=e.call(this)||this,o=i,a=new Li,l=new jt;return o.setTextContent(l),i.setTextGuideLine(a),i.updateData(n,r,!0),i}return t.prototype.updateData=function(n,r,i){var o=this,a=n.hostModel,l=n.getItemModel(r),s=n.getItemLayout(r),u=l.getModel("emphasis"),c=l.get(Mnt);c=c==null?1:c,i||da(o),o.useStyle(n.getItemVisual(r,"style")),o.style.lineJoin="round",i?(o.setShape({points:s.points}),o.style.opacity=0,Sn(o,{style:{opacity:c}},a,r)):Kt(o,{style:{opacity:c},shape:{points:s.points}},a,r),Or(o,l),this._updateLabel(n,r),In(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r){var i=this,o=this.getTextGuideLine(),a=i.getTextContent(),l=n.hostModel,s=n.getItemModel(r),u=n.getItemLayout(r),c=u.label,d=n.getItemVisual(r,"style"),f=d.fill;Dr(a,vr(s),{labelFetcher:n.hostModel,labelDataIndex:r,defaultOpacity:d.opacity,defaultText:n.getName(r)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),i.setTextConfig({local:!0,inside:!!c.inside,insideStroke:f,outsideFill:f});var h=c.linePoints;o.setShape({points:h}),i.textGuideLineConfig={anchor:h?new wt(h[0][0],h[0][1]):null},Kt(a,{style:{x:c.x,y:c.y}},l,r),a.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),uR(i,cR(s),{stroke:f})},t}(Di),Ont=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._data,l=this.group;o.diff(a).add(function(s){var u=new Ant(o,s);o.setItemGraphicEl(s,u),l.add(u)}).update(function(s,u){var c=a.getItemGraphicEl(u);c.updateData(o,s),l.add(c),o.setItemGraphicEl(s,c)}).remove(function(s){var u=a.getItemGraphicEl(s);dm(u,n,s)}).execute(),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(pn);const Dnt=Ont;var Ent=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sy(ze(this.getData,this),ze(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.getInitialData=function(n,r){return Tv(this,{coordDimensions:["value"],encodeDefaulter:pt(F4,this)})},t.prototype._defaultLabelLine=function(n){xd(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.prototype.getDataParams=function(n){var r=this.getData(),i=e.prototype.getDataParams.call(this,n),o=r.mapDimension("value"),a=r.getSum(o);return i.percent=a?+(r.get(o,n)/a*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const Rnt=Ent;function Lnt(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Nnt(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,function(s){return s}),i=[],o=t==="ascending",a=0,l=e.count();atrt)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!_T(this,"mousemove"))){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;r==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(r==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:r==="jump"?null:{duration:0}})}}};function _T(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}const irt=nrt;var ort=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(n){var r=this.option;n&&St(r,n,!0),this._initDimensions()},t.prototype.contains=function(n,r){var i=n.get("parallelIndex");return i!=null&&r.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(n){j(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(r){n.hasOwnProperty(r)&&(this.option[r]=n[r])},this)},t.prototype._initDimensions=function(){var n=this.dimensions=[],r=this.parallelAxisIndex=[],i=Zt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(o){return(o.get("parallelIndex")||0)===this.componentIndex},this);j(i,function(o){n.push("dim"+o.get("dim")),r.push(o.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Vt);const art=ort;var lrt=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this,n,r,i)||this;return l.type=o||"value",l.axisIndex=a,l}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(pa);const srt=lrt;function Yd(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(i!=null&&(i=$f(i,[0,a])),o!=null&&(o=Math.max(o,i!=null?i:0)),r==="all"){var l=Math.abs(t[1]-t[0]);l=$f(l,[0,a]),i=o=$f(l,[i,o]),r=0}t[0]=$f(t[0],n),t[1]=$f(t[1],n);var s=TT(t,r);t[r]+=e;var u=i||0,c=n.slice();s.sign<0?c[0]+=u:c[1]-=u,t[r]=$f(t[r],c);var d;return d=TT(t,r),i!=null&&(d.sign!==s.sign||d.spano&&(t[1-r]=t[r]+d.sign*o),t}function TT(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function $f(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var IT=j,Ooe=Math.min,Doe=Math.max,eV=Math.floor,urt=Math.ceil,tV=Mn,crt=Math.PI,drt=function(){function e(t,n,r){this.type="parallel",this._axesMap=Ge(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,n,r)}return e.prototype._init=function(t,n,r){var i=t.dimensions,o=t.parallelAxisIndex;IT(i,function(a,l){var s=o[l],u=n.getComponent("parallelAxis",s),c=this._axesMap.set(a,new srt(a,zC(u),[0,0],u.get("type"),s)),d=c.type==="category";c.onBand=d&&u.get("boundaryGap"),c.inverse=u.get("inverse"),u.axis=c,c.model=u,c.coordinateSystem=u.coordinateSystem=this},this)},e.prototype.update=function(t,n){this._updateAxesFromSeries(this._model,t)},e.prototype.containPoint=function(t){var n=this._makeLayoutInfo(),r=n.axisBase,i=n.layoutBase,o=n.pixelDimIndex,a=t[1-o],l=t[o];return a>=r&&a<=r+n.axisLength&&l>=i&&l<=i+n.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(t,n){n.eachSeries(function(r){if(t.contains(r,n)){var i=r.getData();IT(this.dimensions,function(o){var a=this._axesMap.get(o);a.scale.unionExtentFromData(i,i.mapDimension(o)),jh(a.scale,a.model)},this)}},this)},e.prototype.resize=function(t,n){this._rect=ir(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a=o==="horizontal"?0:1,l=n[i[a]],s=[0,l],u=this.dimensions.length,c=ob(t.get("axisExpandWidth"),s),d=ob(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&l>0,h=t.get("axisExpandWindow"),v;if(h)v=ob(h[1]-h[0],s),h[1]=h[0]+v;else{v=ob(c*(d-1),s);var p=t.get("axisExpandCenter")||eV(u/2);h=[c*p-v/2],h[1]=h[0]+v}var g=(l-v)/(u-d);g<3&&(g=0);var m=[eV(tV(h[0]/c,1))+1,urt(tV(h[1]/c,1))-1],y=g/c*h[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:l,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:h,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:y}},e.prototype._layoutAxes=function(){var t=this._rect,n=this._axesMap,r=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;n.each(function(a){var l=[0,i.axisLength],s=a.inverse?1:0;a.setExtent(l[s],l[1-s])}),IT(r,function(a,l){var s=(i.axisExpandable?hrt:frt)(l,i),u={horizontal:{x:s.position,y:i.axisLength},vertical:{x:0,y:s.position}},c={horizontal:crt/2,vertical:0},d=[u[o].x+t.x,u[o].y+t.y],f=c[o],h=Yi();Hd(h,h,f),el(h,h,d),this._axesLayout[a]={position:d,rotation:f,transform:h,axisNameAvailableWidth:s.axisNameAvailableWidth,axisLabelShow:s.axisLabelShow,nameTruncateMaxWidth:s.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(t){return this._axesMap.get(t)},e.prototype.dataToPoint=function(t,n){return this.axisCoordToPoint(this._axesMap.get(n).dataToCoord(t),n)},e.prototype.eachActiveState=function(t,n,r,i){r==null&&(r=0),i==null&&(i=t.count());var o=this._axesMap,a=this.dimensions,l=[],s=[];j(a,function(g){l.push(t.mapDimension(g)),s.push(o.get(g).model)});for(var u=this.hasAxisBrushed(),c=r;co*(1-d[0])?(u="jump",s=l-o*(1-d[2])):(s=l-o*d[1])>=0&&(s=l-o*(1-d[1]))<=0&&(s=0),s*=n.axisExpandWidth/c,s?Yd(s,i,a,"all"):u="none";else{var h=i[1]-i[0],v=a[1]*l/h;i=[Doe(0,v-h/2)],i[1]=Ooe(a[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:u}},e}();function ob(e,t){return Ooe(Doe(e,t[0]),t[1])}function frt(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function hrt(e,t){var n=t.layoutLength,r=t.axisExpandWidth,i=t.axisCount,o=t.axisCollapseWidth,a=t.winInnerIndices,l,s=o,u=!1,c;return e=0;i--)$o(r[i])},t.prototype.getActiveState=function(n){var r=this.activeIntervals;if(!r.length)return"normal";if(n==null||isNaN(+n))return"inactive";if(r.length===1){var i=r[0];if(i[0]<=n&&n<=i[1])return"active"}else for(var o=0,a=r.length;oSrt}function Foe(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function zoe(e,t,n,r){var i=new lt;return i.add(new Ht({name:"main",style:NR(n),silent:!0,draggable:!0,cursor:"move",drift:pt(oV,e,t,i,["n","s","w","e"]),ondragend:pt(Id,t,{isEnd:!0})})),j(r,function(o){i.add(new Ht({name:o.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:pt(oV,e,t,i,o),ondragend:pt(Id,t,{isEnd:!0})}))}),i}function Hoe(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=Uh(i,xrt),a=n[0][0],l=n[1][0],s=a-i/2,u=l-i/2,c=n[0][1],d=n[1][1],f=c-o+i/2,h=d-o+i/2,v=c-a,p=d-l,g=v+i,m=p+i;gl(e,t,"main",a,l,v,p),r.transformable&&(gl(e,t,"w",s,u,o,m),gl(e,t,"e",f,u,o,m),gl(e,t,"n",s,u,g,o),gl(e,t,"s",s,h,g,o),gl(e,t,"nw",s,u,o,o),gl(e,t,"ne",f,u,o,o),gl(e,t,"sw",s,h,o,o),gl(e,t,"se",f,h,o,o))}function yA(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(NR(n)),i.attr({silent:!r,cursor:r?"move":"default"}),j([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(o){var a=t.childOfName(o.join("")),l=o.length===1?bA(e,o[0]):Prt(e,o);a&&a.attr({silent:!r,invisible:!r,cursor:r?Crt[l]+"-resize":null})})}function gl(e,t,n,r,i,o,a){var l=t.childOfName(n);l&&l.setShape(Art(kR(e,t,[[r,i],[r+o,i+a]])))}function NR(e){return et({strokeNoScale:!0},e.brushStyle)}function Voe(e,t,n,r){var i=[Tm(e,n),Tm(t,r)],o=[Uh(e,n),Uh(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function Irt(e){return ad(e.group)}function bA(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=$C(n[t],Irt(e));return r[i]}function Prt(e,t){var n=[bA(e,t[0]),bA(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function oV(e,t,n,r,i,o){var a=n.__brushOption,l=e.toRectRange(a.range),s=Woe(t,i,o);j(r,function(u){var c=wrt[u];l[c[0]][c[1]]+=s[c[0]]}),a.range=e.fromRectRange(Voe(l[0][0],l[1][0],l[0][1],l[1][1])),ER(t,n),Id(t,{isEnd:!1})}function Mrt(e,t,n,r){var i=t.__brushOption.range,o=Woe(e,n,r);j(i,function(a){a[0]+=o[0],a[1]+=o[1]}),ER(e,t),Id(e,{isEnd:!1})}function Woe(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function kR(e,t,n){var r=Boe(e,t);return r&&r!==Td?r.clipPath(n,e._transform):rt(n)}function Art(e){var t=Tm(e[0][0],e[1][0]),n=Tm(e[0][1],e[1][1]),r=Uh(e[0][0],e[1][0]),i=Uh(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function Ort(e,t,n){if(!(!e._brushType||Ert(e,t.offsetX,t.offsetY))){var r=e._zr,i=e._covers,o=LR(e,t,n);if(!e._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var KC={lineX:sV(0),lineY:sV(1),rect:{createCover:function(e,t){function n(r){return r}return zoe({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=Foe(e);return Voe(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){Hoe(e,t,n,r)},updateCommon:yA,contain:xA},polygon:{createCover:function(e,t){var n=new lt;return n.add(new Li({name:"main",style:NR(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Di({name:"main",draggable:!0,drift:pt(Mrt,e,t),ondragend:pt(Id,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:kR(e,t,n)})},updateCommon:yA,contain:xA}};function sV(e){return{createCover:function(t,n){return zoe({toRectRange:function(r){var i=[r,[0,100]];return e&&i.reverse(),i},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=Foe(t),r=Tm(n[0][e],n[1][e]),i=Uh(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=Boe(t,n);if(a!==Td&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var l=t._zr;o=[0,[l.getWidth(),l.getHeight()][1-e]]}var s=[r,o];e&&s.reverse(),Hoe(t,n,s,i)},updateCommon:yA,contain:xA}}const BR=_rt;function Goe(e){return e=FR(e),function(t){return Ute(t,e)}}function Koe(e,t){return e=FR(e),function(n){var r=t!=null?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function Uoe(e,t,n){var r=FR(e);return function(i,o){return r.contain(o[0],o[1])&&!VC(i,t,n)}}function FR(e){return $t.create(e)}var Rrt=["axisLine","axisTickLabel","axisName"],Lrt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){e.prototype.init.apply(this,arguments),(this._brushController=new BR(r.getZr())).on("brush",ze(this._onBrush,this))},t.prototype.render=function(n,r,i,o){if(!Nrt(n,r,o)){this.axisModel=n,this.api=i,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new lt,this.group.add(this._axisGroup),!!n.get("show")){var l=Brt(n,r),s=l.coordinateSystem,u=n.getAreaSelectStyle(),c=u.width,d=n.axis.dim,f=s.getAxisLayout(d),h=Te({strokeContainThreshold:c},f),v=new Jl(n,h);j(Rrt,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(h,u,n,l,c,i),uy(a,this._axisGroup,n)}}},t.prototype._refreshBrushController=function(n,r,i,o,a,l){var s=i.axis.getExtent(),u=s[1]-s[0],c=Math.min(30,Math.abs(u)*.1),d=$t.create({x:s[0],y:-a/2,width:u,height:a});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,x:n.position[0],y:n.position[1]}).setPanels([{panelId:"pl",clipPath:Goe(d),isTargetByCursor:Uoe(d,l,o),getLinearBrushOtherExtent:Koe(d,0)}]).enableBrush({brushType:"lineX",brushStyle:r,removeOnClick:!0}).updateCovers(krt(i))},t.prototype._onBrush=function(n){var r=n.areas,i=this.axisModel,o=i.axis,a=Oe(r,function(l){return[o.coordToData(l.range[0],!0),o.coordToData(l.range[1],!0)]});(!i.option.realtime===n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:a})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Pn);function Nrt(e,t,n){return n&&n.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function krt(e){var t=e.axis;return Oe(e.activeIntervals,function(n){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(n[0],!0),t.dataToCoord(n[1],!0)]}})}function Brt(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}const Frt=Lrt;var zrt={type:"axisAreaSelect",event:"axisAreaSelected"};function Hrt(e){e.registerAction(zrt,function(t,n){n.eachComponent({mainType:"parallelAxis",query:t},function(r){r.axis.model.setActiveIntervals(t.intervals)})}),e.registerAction("parallelAxisExpand",function(t,n){n.eachComponent({mainType:"parallel",query:t},function(r){r.setAxisExpand(t)})})}var Vrt={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function Xoe(e){e.registerComponentView(irt),e.registerComponentModel(art),e.registerCoordinateSystem("parallel",mrt),e.registerPreprocessor(Qnt),e.registerComponentModel(nV),e.registerComponentView(Frt),Kh(e,"parallel",nV,Vrt),Hrt(e)}function Wrt(e){Pt(Xoe),e.registerChartView(jnt),e.registerSeriesModel(Xnt),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Znt)}var jrt=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),Grt=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new jrt},t.prototype.buildPath=function(n,r){var i=r.extent;n.moveTo(r.x1,r.y1),n.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(n.lineTo(r.x2+i,r.y2),n.bezierCurveTo(r.cpx2+i,r.cpy2,r.cpx1+i,r.cpy1,r.x1+i,r.y1)):(n.lineTo(r.x2,r.y2+i),n.bezierCurveTo(r.cpx2,r.cpy2+i,r.cpx1,r.cpy1+i,r.x1,r.y1+i)),n.closePath()},t.prototype.highlight=function(){ql(this)},t.prototype.downplay=function(){Zl(this)},t}(Mt),Krt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return t.prototype.render=function(n,r,i){var o=this,a=n.getGraph(),l=this.group,s=n.layoutInfo,u=s.width,c=s.height,d=n.getData(),f=n.getData("edge"),h=n.get("orient");this._model=n,l.removeAll(),l.x=s.x,l.y=s.y,a.eachEdge(function(v){var p=new Grt,g=ut(p);g.dataIndex=v.dataIndex,g.seriesIndex=n.seriesIndex,g.dataType="edge";var m=v.getModel(),y=m.getModel("lineStyle"),b=y.get("curveness"),S=v.node1.getLayout(),x=v.node1.getModel(),$=x.get("localX"),C=x.get("localY"),T=v.node2.getLayout(),I=v.node2.getModel(),P=I.get("localX"),M=I.get("localY"),O=v.getLayout(),D,R,A,E,k,N,B,F;p.shape.extent=Math.max(1,O.dy),p.shape.orient=h,h==="vertical"?(D=($!=null?$*u:S.x)+O.sy,R=(C!=null?C*c:S.y)+S.dy,A=(P!=null?P*u:T.x)+O.ty,E=M!=null?M*c:T.y,k=D,N=R*(1-b)+E*b,B=A,F=R*b+E*(1-b)):(D=($!=null?$*u:S.x)+S.dx,R=(C!=null?C*c:S.y)+O.sy,A=P!=null?P*u:T.x,E=(M!=null?M*c:T.y)+O.ty,k=D*(1-b)+A*b,N=R,B=D*b+A*(1-b),F=E),p.setShape({x1:D,y1:R,x2:A,y2:E,cpx1:k,cpy1:N,cpx2:B,cpy2:F}),p.useStyle(y.getItemStyle()),uV(p.style,h,v);var H=""+m.get("value"),V=vr(m,"edgeLabel");Dr(p,V,{labelFetcher:{getFormattedLabel:function(K,te,q,ee,J,G){return n.getFormattedLabel(K,te,"edge",ee,Ya(J,V.normal&&V.normal.get("formatter"),H),G)}},labelDataIndex:v.dataIndex,defaultText:H}),p.setTextConfig({position:"inside"});var X=m.getModel("emphasis");Or(p,m,"lineStyle",function(K){var te=K.getItemStyle();return uV(te,h,v),te}),l.add(p),f.setItemGraphicEl(v.dataIndex,p);var Q=X.get("focus");In(p,Q==="adjacency"?v.getAdjacentDataIndices():Q==="trajectory"?v.getTrajectoryDataIndices():Q,X.get("blurScope"),X.get("disabled"))}),a.eachNode(function(v){var p=v.getLayout(),g=v.getModel(),m=g.get("localX"),y=g.get("localY"),b=g.getModel("emphasis"),S=g.get(["itemStyle","borderRadius"])||0,x=new Ht({shape:{x:m!=null?m*u:p.x,y:y!=null?y*c:p.y,width:p.dx,height:p.dy,r:S},style:g.getModel("itemStyle").getItemStyle(),z2:10});Dr(x,vr(g),{labelFetcher:{getFormattedLabel:function(C,T){return n.getFormattedLabel(C,T,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),x.disableLabelAnimation=!0,x.setStyle("fill",v.getVisual("color")),x.setStyle("decal",v.getVisual("style").decal),Or(x,g),l.add(x),d.setItemGraphicEl(v.dataIndex,x),ut(x).dataType="node";var $=b.get("focus");In(x,$==="adjacency"?v.getAdjacentDataIndices():$==="trajectory"?v.getTrajectoryDataIndices():$,b.get("blurScope"),b.get("disabled"))}),d.eachItemGraphicEl(function(v,p){var g=d.getItemModel(p);g.get("draggable")&&(v.drift=function(m,y){o._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:n.id,dataIndex:d.getRawIndex(p),localX:this.shape.x/u,localY:this.shape.y/c})},v.ondragend=function(){o._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&n.isAnimationEnabled()&&l.setClipPath(Urt(l.getBoundingRect(),n,function(){l.removeClipPath()})),this._data=n.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(pn);function uV(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),i=n.node2.getVisual("color");Fe(r)&&Fe(i)&&(e.fill=new sy(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:r,offset:0},{color:i,offset:1}]))}}function Urt(e,t,n){var r=new Ht({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Sn(r,{shape:{width:e.width+20}},t,n),r}const Xrt=Krt;var Yrt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){var i=n.edges||n.links||[],o=n.data||n.nodes||[],a=n.levels||[];this.levelModels=[];for(var l=this.levelModels,s=0;s=0&&(l[a[s].depth]=new hn(a[s],this,r));var u=Moe(o,i,this,!0,c);return u.data;function c(d,f){d.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getData().getItemLayout(v);if(g){var m=g.depth,y=p.levelModels[m];y&&(h.parentModel=y)}return h}),f.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getGraph().getEdgeByIndex(v),m=g.node1.getLayout();if(m){var y=m.depth,b=p.levelModels[y];b&&(h.parentModel=b)}return h})}},t.prototype.setNodePosition=function(n,r){var i=this.option.data||this.option.nodes,o=i[n];o.localX=r[0],o.localY=r[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(n,r,i){function o(h){return isNaN(h)||h==null}if(i==="edge"){var a=this.getDataParams(n,i),l=a.data,s=a.value,u=l.source+" -- "+l.target;return pr("nameValue",{name:u,value:s,noValue:o(s)})}else{var c=this.getGraph().getNodeByIndex(n),d=c.getLayout().value,f=this.getDataParams(n,i).data.name;return pr("nameValue",{name:f!=null?f+"":null,value:d,noValue:o(d)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(n,r){var i=e.prototype.getDataParams.call(this,n,r);if(i.value==null&&r==="node"){var o=this.getGraph().getNodeByIndex(n),a=o.getLayout().value;i.value=a}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(_n);const qrt=Yrt;function Zrt(e,t){e.eachSeriesByType("sankey",function(n){var r=n.get("nodeWidth"),i=n.get("nodeGap"),o=Qrt(n,t);n.layoutInfo=o;var a=o.width,l=o.height,s=n.getGraph(),u=s.nodes,c=s.edges;eit(u);var d=Zt(u,function(p){return p.getLayout().value===0}),f=d.length!==0?0:n.get("layoutIterations"),h=n.get("orient"),v=n.get("nodeAlign");Jrt(u,c,r,i,a,l,f,h,v)})}function Qrt(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Jrt(e,t,n,r,i,o,a,l,s){tit(e,t,n,i,o,l,s),oit(e,t,o,i,r,a,l),vit(e,l)}function eit(e){j(e,function(t){var n=uu(t.outEdges,mx),r=uu(t.inEdges,mx),i=t.getValue()||0,o=Math.max(n,r,i);t.setLayout({value:o},!0)})}function tit(e,t,n,r,i,o,a){for(var l=[],s=[],u=[],c=[],d=0,f=0;f=0;m&&g.depth>h&&(h=g.depth),p.setLayout({depth:m?g.depth:d},!0),o==="vertical"?p.setLayout({dy:n},!0):p.setLayout({dx:n},!0);for(var y=0;yd-1?h:d-1;a&&a!=="left"&&nit(e,a,o,C);var T=o==="vertical"?(i-n)/C:(r-n)/C;iit(e,T,o)}function Yoe(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function nit(e,t,n,r){if(t==="right"){for(var i=[],o=e,a=0;o.length;){for(var l=0;l0;o--)s*=.99,sit(l,s,a),PT(l,i,n,r,a),hit(l,s,a),PT(l,i,n,r,a)}function ait(e,t){var n=[],r=t==="vertical"?"y":"x",i=$M(e,function(o){return o.getLayout()[r]});return i.keys.sort(function(o,a){return o-a}),j(i.keys,function(o){n.push(i.buckets.get(o))}),n}function lit(e,t,n,r,i,o){var a=1/0;j(e,function(l){var s=l.length,u=0;j(l,function(d){u+=d.getLayout().value});var c=o==="vertical"?(r-(s-1)*i)/u:(n-(s-1)*i)/u;c0&&(l=s.getLayout()[o]+u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[o]+s.getLayout()[f]+t;var v=i==="vertical"?r:n;if(u=c-t-v,u>0){l=s.getLayout()[o]-u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0),c=l;for(var h=d-2;h>=0;--h)s=a[h],u=s.getLayout()[o]+s.getLayout()[f]+t-c,u>0&&(l=s.getLayout()[o]-u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[o]}})}function sit(e,t,n){j(e.slice().reverse(),function(r){j(r,function(i){if(i.outEdges.length){var o=uu(i.outEdges,uit,n)/uu(i.outEdges,mx);if(isNaN(o)){var a=i.outEdges.length;o=a?uu(i.outEdges,cit,n)/a:0}if(n==="vertical"){var l=i.getLayout().x+(o-wu(i,n))*t;i.setLayout({x:l},!0)}else{var s=i.getLayout().y+(o-wu(i,n))*t;i.setLayout({y:s},!0)}}})})}function uit(e,t){return wu(e.node2,t)*e.getValue()}function cit(e,t){return wu(e.node2,t)}function dit(e,t){return wu(e.node1,t)*e.getValue()}function fit(e,t){return wu(e.node1,t)}function wu(e,t){return t==="vertical"?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function mx(e){return e.getValue()}function uu(e,t,n){for(var r=0,i=e.length,o=-1;++oa&&(a=s)}),j(r,function(l){var s=new Mr({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:t.get("color")}),u=s.mapValueToVisual(l.getLayout().value),c=l.getModel().get(["itemStyle","color"]);c!=null?(l.setVisual("color",c),l.setVisual("style",{fill:c})):(l.setVisual("color",u),l.setVisual("style",{fill:u}))})}i.length&&j(i,function(l){var s=l.getModel().get("lineStyle");l.setVisual("style",s)})})}function git(e){e.registerChartView(Xrt),e.registerSeriesModel(qrt),e.registerLayout(Zrt),e.registerVisual(pit),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"sankey",query:t},function(r){r.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var qoe=function(){function e(){}return e.prototype._hasEncodeRule=function(t){var n=this.getEncode();return n&&n.get(t)!=null},e.prototype.getInitialData=function(t,n){var r,i=n.getComponent("xAxis",this.get("xAxisIndex")),o=n.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),l=o.get("type"),s;a==="category"?(t.layout="horizontal",r=i.getOrdinalMeta(),s=!this._hasEncodeRule("x")):l==="category"?(t.layout="vertical",r=o.getOrdinalMeta(),s=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,d=this._baseAxisDim=u[c],f=u[1-c],h=[i,o],v=h[c].get("type"),p=h[1-c].get("type"),g=t.data;if(g&&s){var m=[];j(g,function(S,x){var $;Ae(S)?($=S.slice(),S.unshift(x)):Ae(S.value)?($=Te({},S),$.value=$.value.slice(),S.value.unshift(x)):$=S,m.push($)}),t.data=m}var y=this.defaultValueDimensions,b=[{name:d,type:ox(v),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:ox(p),dimsDef:y.slice()}];return Tv(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:pt(bne,b,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),Zoe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(_n);qn(Zoe,qoe,!0);const mit=Zoe;var yit=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this.group,l=this._data;this._data||a.removeAll();var s=n.get("layout")==="horizontal"?1:0;o.diff(l).add(function(u){if(o.hasValue(u)){var c=o.getItemLayout(u),d=cV(c,o,u,s,!0);o.setItemGraphicEl(u,d),a.add(d)}}).update(function(u,c){var d=l.getItemGraphicEl(c);if(!o.hasValue(u)){a.remove(d);return}var f=o.getItemLayout(u);d?(da(d),Qoe(f,d,o,u)):d=cV(f,o,u,s),a.add(d),o.setItemGraphicEl(u,d)}).remove(function(u){var c=l.getItemGraphicEl(u);c&&a.remove(c)}).execute(),this._data=o},t.prototype.remove=function(n){var r=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(o){o&&r.remove(o)})},t.type="boxplot",t}(pn),bit=function(){function e(){}return e}(),Sit=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="boxplotBoxPath",r}return t.prototype.getDefaultShape=function(){return new bit},t.prototype.buildPath=function(n,r){var i=r.points,o=0;for(n.moveTo(i[o][0],i[o][1]),o++;o<4;o++)n.lineTo(i[o][0],i[o][1]);for(n.closePath();op){var S=[m,b];r.push(S)}}}return{boxData:n,outliers:r}}var Pit={type:"echarts:boxplot",transform:function(t){var n=t.upstream;if(n.sourceFormat!==Zr){var r="";qt(r)}var i=Iit(n.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function Mit(e){e.registerSeriesModel(mit),e.registerChartView(wit),e.registerLayout(Cit),e.registerTransform(Pit)}var Ait=["itemStyle","borderColor"],Oit=["itemStyle","borderColor0"],Dit=["itemStyle","borderColorDoji"],Eit=["itemStyle","color"],Rit=["itemStyle","color0"];function zR(e,t){return t.get(e>0?Eit:Rit)}function HR(e,t){return t.get(e===0?Dit:e>0?Ait:Oit)}var Lit={seriesType:"candlestick",plan:wv(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var n=e.pipelineContext.large;return!n&&{progress:function(r,i){for(var o;(o=r.next())!=null;){var a=i.getItemModel(o),l=i.getItemLayout(o).sign,s=a.getItemStyle();s.fill=zR(l,a),s.stroke=HR(l,a)||s.fill;var u=i.ensureUniqueItemVisual(o,"style");Te(u,s)}}}}}};const Nit=Lit;var kit=["color","borderColor"],Bit=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(n),this._isLargeDraw?this._renderLarge(n):this._renderNormal(n)},t.prototype.incrementalPrepareRender=function(n,r,i){this._clear(),this._updateDrawMode(n)},t.prototype.incrementalRender=function(n,r,i,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(n,r):this._incrementalRenderNormal(n,r)},t.prototype.eachRendered=function(n){Eu(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n){var r=n.getData(),i=this._data,o=this.group,a=r.getLayout("isSimpleBox"),l=n.get("clip",!0),s=n.coordinateSystem,u=s.getArea&&s.getArea();this._data||o.removeAll(),r.diff(i).add(function(c){if(r.hasValue(c)){var d=r.getItemLayout(c);if(l&&dV(u,d))return;var f=MT(d,c,!0);Sn(f,{shape:{points:d.ends}},n,c),AT(f,r,c,a),o.add(f),r.setItemGraphicEl(c,f)}}).update(function(c,d){var f=i.getItemGraphicEl(d);if(!r.hasValue(c)){o.remove(f);return}var h=r.getItemLayout(c);if(l&&dV(u,h)){o.remove(f);return}f?(Kt(f,{shape:{points:h.ends}},n,c),da(f)):f=MT(h),AT(f,r,c,a),o.add(f),r.setItemGraphicEl(c,f)}).remove(function(c){var d=i.getItemGraphicEl(c);d&&o.remove(d)}).execute(),this._data=r},t.prototype._renderLarge=function(n){this._clear(),fV(n,this.group);var r=n.get("clip",!0)?my(n.coordinateSystem,!1,n):null;r?this.group.setClipPath(r):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(n,r){for(var i=r.getData(),o=i.getLayout("isSimpleBox"),a;(a=n.next())!=null;){var l=i.getItemLayout(a),s=MT(l);AT(s,i,a,o),s.incremental=!0,this.group.add(s),this._progressiveEls.push(s)}},t.prototype._incrementalRenderLarge=function(n,r){fV(r,this.group,this._progressiveEls,!0)},t.prototype.remove=function(n){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(pn),Fit=function(){function e(){}return e}(),zit=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="normalCandlestickBox",r}return t.prototype.getDefaultShape=function(){return new Fit},t.prototype.buildPath=function(n,r){var i=r.points;this.__simpleBox?(n.moveTo(i[4][0],i[4][1]),n.lineTo(i[6][0],i[6][1])):(n.moveTo(i[0][0],i[0][1]),n.lineTo(i[1][0],i[1][1]),n.lineTo(i[2][0],i[2][1]),n.lineTo(i[3][0],i[3][1]),n.closePath(),n.moveTo(i[4][0],i[4][1]),n.lineTo(i[5][0],i[5][1]),n.moveTo(i[6][0],i[6][1]),n.lineTo(i[7][0],i[7][1]))},t}(Mt);function MT(e,t,n){var r=e.ends;return new zit({shape:{points:n?Hit(r,e):r},z2:100})}function dV(e,t){for(var n=!0,r=0;rx?M[o]:P[o],ends:R,brushRect:B($,C,b)})}function k(H,V){var X=[];return X[i]=V,X[o]=H,isNaN(V)||isNaN(H)?[NaN,NaN]:t.dataToPoint(X)}function N(H,V,X){var Q=V.slice(),K=V.slice();Q[i]=y1(Q[i]+r/2,1,!1),K[i]=y1(K[i]-r/2,1,!0),X?H.push(Q,K):H.push(K,Q)}function B(H,V,X){var Q=k(H,X),K=k(V,X);return Q[i]-=r/2,K[i]-=r/2,{x:Q[0],y:Q[1],width:r,height:K[1]-Q[1]}}function F(H){return H[i]=y1(H[i],1),H}}function v(p,g){for(var m=Va(p.count*4),y=0,b,S=[],x=[],$,C=g.getStore(),T=!!e.get(["itemStyle","borderColorDoji"]);($=p.next())!=null;){var I=C.get(l,$),P=C.get(u,$),M=C.get(c,$),O=C.get(d,$),D=C.get(f,$);if(isNaN(I)||isNaN(O)||isNaN(D)){m[y++]=NaN,y+=3;continue}m[y++]=hV(C,$,P,M,c,T),S[i]=I,S[o]=O,b=t.dataToPoint(S,null,x),m[y++]=b?b[0]:NaN,m[y++]=b?b[1]:NaN,S[o]=D,b=t.dataToPoint(S,null,x),m[y++]=b?b[1]:NaN}g.setLayout("largePoints",m)}}};function hV(e,t,n,r,i,o){var a;return n>r?a=-1:n0?e.get(i,t-1)<=r?1:-1:1,a}function Uit(e,t){var n=e.getBaseAxis(),r,i=n.type==="category"?n.getBandWidth():(r=n.getExtent(),Math.abs(r[1]-r[0])/t.count()),o=Ne(vt(e.get("barMaxWidth"),i),i),a=Ne(vt(e.get("barMinWidth"),1),i),l=e.get("barWidth");return l!=null?Ne(l,i):Math.max(Math.min(i/2,o),a)}const Xit=Kit;function Yit(e){e.registerChartView(Wit),e.registerSeriesModel(jit),e.registerPreprocessor(Git),e.registerVisual(Nit),e.registerLayout(Xit)}function vV(e,t){var n=t.rippleEffectColor||t.color;e.eachChild(function(r){r.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?n:null,fill:t.brushType==="fill"?n:null}})})}var qit=function(e){ge(t,e);function t(n,r){var i=e.call(this)||this,o=new py(n,r),a=new lt;return i.add(o),i.add(a),i.updateData(n,r),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(n){for(var r=n.symbolType,i=n.color,o=n.rippleNumber,a=this.childAt(1),l=0;l0&&(l=this._getLineLength(o)/c*1e3),l!==this._period||s!==this._loop||u!==this._roundTrip){o.stopAnimation();var f=void 0;Ze(d)?f=d(i):f=d,o.__t>0&&(f=-l*o.__t),this._animateSymbol(o,l,f,s,u)}this._period=l,this._loop=s,this._roundTrip=u}},t.prototype._animateSymbol=function(n,r,i,o,a){if(r>0){n.__t=0;var l=this,s=n.animate("",o).when(a?r*2:r,{__t:a?2:1}).delay(i).during(function(){l._updateSymbolPosition(n)});o||s.done(function(){l.remove(n)}),s.start()}},t.prototype._getLineLength=function(n){return Us(n.__p1,n.__cp1)+Us(n.__cp1,n.__p2)},t.prototype._updateAnimationPoints=function(n,r){n.__p1=r[0],n.__p2=r[1],n.__cp1=r[2]||[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]},t.prototype.updateData=function(n,r,i){this.childAt(0).updateData(n,r,i),this._updateEffectSymbol(n,r)},t.prototype._updateSymbolPosition=function(n){var r=n.__p1,i=n.__p2,o=n.__cp1,a=n.__t<1?n.__t:2-n.__t,l=[n.x,n.y],s=l.slice(),u=mr,c=uM;l[0]=u(r[0],o[0],i[0],a),l[1]=u(r[1],o[1],i[1],a);var d=n.__t<1?c(r[0],o[0],i[0],a):c(i[0],o[0],r[0],1-a),f=n.__t<1?c(r[1],o[1],i[1],a):c(i[1],o[1],r[1],1-a);n.rotation=-Math.atan2(f,d)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(n.__lastT!==void 0&&n.__lastT=0&&!(o[s]<=r);s--);s=Math.min(s,a-2)}else{for(s=l;sr);s++);s=Math.min(s-1,a-2)}var c=(r-o[s])/(o[s+1]-o[s]),d=i[s],f=i[s+1];n.x=d[0]*(1-c)+c*f[0],n.y=d[1]*(1-c)+c*f[1];var h=n.__t<1?f[0]-d[0]:d[0]-f[0],v=n.__t<1?f[1]-d[1]:d[1]-f[1];n.rotation=-Math.atan2(v,h)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=r,n.ignore=!1}},t}(eae);const aot=oot;var lot=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),sot=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new lot},t.prototype.buildPath=function(n,r){var i=r.segs,o=r.curveness,a;if(r.polyline)for(a=this._off;a0){n.moveTo(i[a++],i[a++]);for(var s=1;s0){var h=(u+d)/2-(c-f)*o,v=(c+f)/2-(d-u)*o;n.quadraticCurveTo(h,v,d,f)}else n.lineTo(d,f)}this.incremental&&(this._off=a,this.notClear=!0)},t.prototype.findDataIndex=function(n,r){var i=this.shape,o=i.segs,a=i.curveness,l=this.style.lineWidth;if(i.polyline)for(var s=0,u=0;u0)for(var d=o[u++],f=o[u++],h=1;h0){var g=(d+v)/2-(f-p)*a,m=(f+p)/2-(v-d)*a;if(ate(d,f,g,m,v,p,l,n,r))return s}else if(Bs(d,f,v,p,l,n,r))return s;s++}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.segs,o=1/0,a=1/0,l=-1/0,s=-1/0,u=0;u0&&(a.dataIndex=s+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const cot=uot;var dot={seriesType:"lines",plan:wv(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var l=void 0,s=i.end-i.start;if(n){for(var u=0,c=i.start;c0&&(c||u.configLayer(l,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(s/10+.9,1),0)})),a.updateData(o);var d=n.get("clip",!0)&&my(n.coordinateSystem,!1,n);d?this.group.setClipPath(d):this.group.removeClipPath(),this._lastZlevel=l,this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateLineDraw(o,n);a.incrementalPrepareUpdate(o),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._lineDraw.incrementalUpdate(n,r.getData()),this._finished=n.end===r.getData().count()},t.prototype.eachRendered=function(n){this._lineDraw&&this._lineDraw.eachRendered(n)},t.prototype.updateTransform=function(n,r,i){var o=n.getData(),a=n.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var l=nae.reset(n,r,i);l.progress&&l.progress({start:0,end:o.count(),count:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(n,r){var i=this._lineDraw,o=this._showEffect(r),a=!!r.get("polyline"),l=r.pipelineContext,s=l.large;return(!i||o!==this._hasEffet||a!==this._isPolyline||s!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=s?new cot:new DR(a?o?aot:tae:o?eae:OR),this._hasEffet=o,this._isPolyline=a,this._isLargeDraw=s),this.group.add(i.group),i},t.prototype._showEffect=function(n){return!!n.get(["effect","show"])},t.prototype._clearLayer=function(n){var r=n.getZr(),i=r.painter.getType()==="svg";!i&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(n,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.type="lines",t}(pn);const hot=fot;var vot=typeof Uint32Array=="undefined"?Array:Uint32Array,pot=typeof Float64Array=="undefined"?Array:Float64Array;function pV(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Oe(t,function(n){var r=[n[0].coord,n[1].coord],i={coords:r};return n[0].name&&(i.fromName=n[0].name),n[1].name&&(i.toName=n[1].name),o4([i,n[0],n[1]])}))}var got=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return t.prototype.init=function(n){n.data=n.data||[],pV(n);var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(n){if(pV(n),n.data){var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(n){var r=this._processFlatCoordsArray(n.data);r.flatCoords&&(this._flatCoords?(this._flatCoords=nm(this._flatCoords,r.flatCoords),this._flatCoordsOffset=nm(this._flatCoordsOffset,r.flatCoordsOffset)):(this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset),n.data=new Float32Array(r.count)),this.getRawData().appendData(n.data)},t.prototype._getCoordsFromItemModel=function(n){var r=this.getData().getItemModel(n),i=r.option instanceof Array?r.option:r.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(n){return this._flatCoordsOffset?this._flatCoordsOffset[n*2+1]:this._getCoordsFromItemModel(n).length},t.prototype.getLineCoords=function(n,r){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[n*2],o=this._flatCoordsOffset[n*2+1],a=0;a ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var n=this.option.progressive;return n==null?this.option.large?1e4:this.get("progressive"):n},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n==null?this.option.large?2e4:this.get("progressiveThreshold"):n},t.prototype.getZLevelKey=function(){var n=this.getModel("effect"),r=n.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:n.get("show")&&r>0?r+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(_n);const mot=got;function ab(e){return e instanceof Array||(e=[e,e]),e}var yot={seriesType:"lines",reset:function(e){var t=ab(e.get("symbol")),n=ab(e.get("symbolSize")),r=e.getData();r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]);function i(o,a){var l=o.getItemModel(a),s=ab(l.getShallow("symbol",!0)),u=ab(l.getShallow("symbolSize",!0));s[0]&&o.setItemVisual(a,"fromSymbol",s[0]),s[1]&&o.setItemVisual(a,"toSymbol",s[1]),u[0]&&o.setItemVisual(a,"fromSymbolSize",u[0]),u[1]&&o.setItemVisual(a,"toSymbolSize",u[1])}return{dataEach:r.hasItemOption?i:null}}};const bot=yot;function Sot(e){e.registerChartView(hot),e.registerSeriesModel(mot),e.registerLayout(nae),e.registerVisual(bot)}var xot=256,wot=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=gu.createCanvas();this.canvas=t}return e.prototype.update=function(t,n,r,i,o,a){var l=this._getBrush(),s=this._getGradient(o,"inRange"),u=this._getGradient(o,"outOfRange"),c=this.pointSize+this.blurSize,d=this.canvas,f=d.getContext("2d"),h=t.length;d.width=n,d.height=r;for(var v=0;v0){var O=a(b)?s:u;b>0&&(b=b*P+T),x[$++]=O[M],x[$++]=O[M+1],x[$++]=O[M+2],x[$++]=O[M+3]*b*256}else $+=4}return f.putImageData(S,0,0),d},e.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=gu.createCanvas()),n=this.pointSize+this.blurSize,r=n*2;t.width=r,t.height=r;var i=t.getContext("2d");return i.clearRect(0,0,r,r),i.shadowOffsetX=r,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-n,n,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},e.prototype._getGradient=function(t,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(256*4)),o=[0,0,0,0],a=0,l=0;l<256;l++)t[n](l/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i},e}();const Cot=wot;function $ot(e,t,n){var r=e[1]-e[0];t=Oe(t,function(a){return{interval:[(a.interval[0]-e[0])/r,(a.interval[1]-e[0])/r]}});var i=t.length,o=0;return function(a){var l;for(l=o;l=0;l--){var s=t[l].interval;if(s[0]<=a&&a<=s[1]){o=l;break}}return l>=0&&l=t[0]&&r<=t[1]}}function gV(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var Tot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o;r.eachComponent("visualMap",function(l){l.eachTargetSeries(function(s){s===n&&(o=l)})}),this._progressiveEls=null,this.group.removeAll();var a=n.coordinateSystem;a.type==="cartesian2d"||a.type==="calendar"?this._renderOnCartesianAndCalendar(n,i,0,n.getData().count()):gV(a)&&this._renderOnGeo(a,n,o,i)},t.prototype.incrementalPrepareRender=function(n,r,i){this.group.removeAll()},t.prototype.incrementalRender=function(n,r,i,o){var a=r.coordinateSystem;a&&(gV(a)?this.render(r,i,o):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(r,o,n.start,n.end,!0)))},t.prototype.eachRendered=function(n){Eu(this._progressiveEls||this.group,n)},t.prototype._renderOnCartesianAndCalendar=function(n,r,i,o,a){var l=n.coordinateSystem,s=Ud(l,"cartesian2d"),u,c,d,f;if(s){var h=l.getAxis("x"),v=l.getAxis("y");u=h.getBandWidth()+.5,c=v.getBandWidth()+.5,d=h.scale.getExtent(),f=v.scale.getExtent()}for(var p=this.group,g=n.getData(),m=n.getModel(["emphasis","itemStyle"]).getItemStyle(),y=n.getModel(["blur","itemStyle"]).getItemStyle(),b=n.getModel(["select","itemStyle"]).getItemStyle(),S=n.get(["itemStyle","borderRadius"]),x=vr(n),$=n.getModel("emphasis"),C=$.get("focus"),T=$.get("blurScope"),I=$.get("disabled"),P=s?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],M=i;Md[1]||Af[1])continue;var E=l.dataToPoint([R,A]);O=new Ht({shape:{x:E[0]-u/2,y:E[1]-c/2,width:u,height:c},style:D})}else{if(isNaN(g.get(P[1],M)))continue;O=new Ht({z2:1,shape:l.dataToRect([g.get(P[0],M)]).contentShape,style:D})}if(g.hasItemOption){var k=g.getItemModel(M),N=k.getModel("emphasis");m=N.getModel("itemStyle").getItemStyle(),y=k.getModel(["blur","itemStyle"]).getItemStyle(),b=k.getModel(["select","itemStyle"]).getItemStyle(),S=k.get(["itemStyle","borderRadius"]),C=N.get("focus"),T=N.get("blurScope"),I=N.get("disabled"),x=vr(k)}O.shape.r=S;var B=n.getRawValue(M),F="-";B&&B[2]!=null&&(F=B[2]+""),Dr(O,x,{labelFetcher:n,labelDataIndex:M,defaultOpacity:D.opacity,defaultText:F}),O.ensureState("emphasis").style=m,O.ensureState("blur").style=y,O.ensureState("select").style=b,In(O,C,T,I),O.incremental=a,a&&(O.states.emphasis.hoverLayer=!0),p.add(O),g.setItemGraphicEl(M,O),this._progressiveEls&&this._progressiveEls.push(O)}},t.prototype._renderOnGeo=function(n,r,i,o){var a=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,s=r.getData(),u=this._hmLayer||this._hmLayer||new Cot;u.blurSize=r.get("blurSize"),u.pointSize=r.get("pointSize"),u.minOpacity=r.get("minOpacity"),u.maxOpacity=r.get("maxOpacity");var c=n.getViewRect().clone(),d=n.getRoamTransform();c.applyTransform(d);var f=Math.max(c.x,0),h=Math.max(c.y,0),v=Math.min(c.width+c.x,o.getWidth()),p=Math.min(c.height+c.y,o.getHeight()),g=v-f,m=p-h,y=[s.mapDimension("lng"),s.mapDimension("lat"),s.mapDimension("value")],b=s.mapArray(y,function(C,T,I){var P=n.dataToPoint([C,T]);return P[0]-=f,P[1]-=h,P.push(I),P}),S=i.getExtent(),x=i.type==="visualMap.continuous"?_ot(S,i.option.range):$ot(S,i.getPieceList(),i.option.selected);u.update(b,g,m,a.color.getNormalizer(),{inRange:a.color.getColorMapper(),outOfRange:l.color.getColorMapper()},x);var $=new Er({style:{width:g,height:m,x:f,y:h,image:u.canvas},silent:!0});this.group.add($)},t.type="heatmap",t}(pn);const Iot=Tot;var Pot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var n=dy.get(this.get("coordinateSystem"));if(n&&n.dimensions)return n.dimensions[0]==="lng"&&n.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const Mot=Pot;function Aot(e){e.registerChartView(Iot),e.registerSeriesModel(Mot)}var Oot=["itemStyle","borderWidth"],mV=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],ET=new Du,Dot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group,a=n.getData(),l=this._data,s=n.coordinateSystem,u=s.getBaseAxis(),c=u.isHorizontal(),d=s.master.getRect(),f={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:n,coordSys:s,coordSysExtent:[[d.x,d.x+d.width],[d.y,d.y+d.height]],isHorizontal:c,valueDim:mV[+c],categoryDim:mV[1-+c]};a.diff(l).add(function(v){if(a.hasValue(v)){var p=bV(a,v),g=yV(a,v,p,f),m=SV(a,f,g);a.setItemGraphicEl(v,m),o.add(m),wV(m,f,g)}}).update(function(v,p){var g=l.getItemGraphicEl(p);if(!a.hasValue(v)){o.remove(g);return}var m=bV(a,v),y=yV(a,v,m,f),b=sae(a,y);g&&b!==g.__pictorialShapeStr&&(o.remove(g),a.setItemGraphicEl(v,null),g=null),g?Fot(g,f,y):g=SV(a,f,y,!0),a.setItemGraphicEl(v,g),g.__pictorialSymbolMeta=y,o.add(g),wV(g,f,y)}).remove(function(v){var p=l.getItemGraphicEl(v);p&&xV(l,v,p.__pictorialSymbolMeta.animationModel,p)}).execute();var h=n.get("clip",!0)?my(n.coordinateSystem,!1,n):null;return h?o.setClipPath(h):o.removeClipPath(),this._data=a,this.group},t.prototype.remove=function(n,r){var i=this.group,o=this._data;n.get("animation")?o&&o.eachItemGraphicEl(function(a){xV(o,ut(a).dataIndex,n,a)}):i.removeAll()},t.type="pictorialBar",t}(pn);function yV(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=n.get("symbolRotate"),u=(s||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),f={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Eot(n,o,i,r,f),Rot(e,t,i,o,a,f.boundingLength,f.pxSign,c,r,f),Lot(n,f.symbolScale,u,r,f);var h=f.symbolSize,v=Gd(n.get("symbolOffset"),h);return Not(n,h,i,o,a,v,l,f.valueLineWidth,f.boundingLength,f.repeatCutLength,r,f),f}function Eot(e,t,n,r,i){var o=r.valueDim,a=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),s=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[o.wh]<=0),c;if(Ae(a)){var d=[RT(l,a[0])-s,RT(l,a[1])-s];d[1]=0?1:-1:c>0?1:-1}function RT(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function Rot(e,t,n,r,i,o,a,l,s,u){var c=s.valueDim,d=s.categoryDim,f=Math.abs(n[d.wh]),h=e.getItemVisual(t,"symbolSize"),v;Ae(h)?v=h.slice():h==null?v=["100%","100%"]:v=[h,h],v[d.index]=Ne(v[d.index],f),v[c.index]=Ne(v[c.index],r?f:Math.abs(o)),u.symbolSize=v;var p=u.symbolScale=[v[0]/l,v[1]/l];p[c.index]*=(s.isHorizontal?-1:1)*a}function Lot(e,t,n,r,i){var o=e.get(Oot)||0;o&&(ET.attr({scaleX:t[0],scaleY:t[1],rotation:n}),ET.updateTransform(),o/=ET.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o||0}function Not(e,t,n,r,i,o,a,l,s,u,c,d){var f=c.categoryDim,h=c.valueDim,v=d.pxSign,p=Math.max(t[h.index]+l,0),g=p;if(r){var m=Math.abs(s),y=br(e.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var S=Ne(y,t[h.index]),x=Math.max(p+S*2,0),$=b?0:S*2,C=Kee(r),T=C?r:CV((m+$)/x),I=m-T*p;S=I/2/(b?T:Math.max(T-1,1)),x=p+S*2,$=b?0:S*2,!C&&r!=="fixed"&&(T=u?CV((Math.abs(u)+$)/x):0),g=T*x-$,d.repeatTimes=T,d.symbolMargin=S}var P=v*(g/2),M=d.pathPosition=[];M[f.index]=n[f.wh]/2,M[h.index]=a==="start"?P:a==="end"?s-P:s/2,o&&(M[0]+=o[0],M[1]+=o[1]);var O=d.bundlePosition=[];O[f.index]=n[f.xy],O[h.index]=n[h.xy];var D=d.barRectShape=Te({},n);D[h.wh]=v*Math.max(Math.abs(n[h.wh]),Math.abs(M[h.index]+P)),D[f.wh]=n[f.wh];var R=d.clipShape={};R[f.xy]=-n[f.xy],R[f.wh]=c.ecSize[f.wh],R[h.xy]=0,R[h.wh]=n[h.wh]}function rae(e){var t=e.symbolPatternSize,n=Yn(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),n.type!=="image"&&n.setStyle({strokeNoScale:!0}),n}function iae(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,l=n.pathPosition,s=t.valueDim,u=n.repeatTimes||0,c=0,d=o[t.valueDim.index]+a+n.symbolMargin*2;for(VR(e,function(p){p.__pictorialAnimationIndex=c,p.__pictorialRepeatTimes=u,c0:m<0)&&(y=u-1-p),g[s.index]=d*(y-u/2+.5)+l[s.index],{x:g[0],y:g[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function oae(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?Sh(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=rae(n),i.add(o),Sh(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function aae(e,t,n){var r=Te({},t.barRectShape),i=e.__pictorialBarRect;i?Sh(i,null,{shape:r},t,n):(i=e.__pictorialBarRect=new Ht({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function lae(e,t,n,r){if(n.symbolClip){var i=e.__pictorialClipPath,o=Te({},n.clipShape),a=t.valueDim,l=n.animationModel,s=n.dataIndex;if(i)Kt(i,{shape:o},l,s);else{o[a.wh]=0,i=new Ht({shape:o}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var u={};u[a.wh]=n.clipShape[a.wh],Wd[r?"updateProps":"initProps"](i,{shape:u},l,s)}}}function bV(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=kot,n.isAnimationEnabled=Bot,n}function kot(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function Bot(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function SV(e,t,n,r){var i=new lt,o=new lt;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?iae(i,t,n):oae(i,t,n),aae(i,n,r),lae(i,t,n,r),i.__pictorialShapeStr=sae(e,n),i.__pictorialSymbolMeta=n,i}function Fot(e,t,n){var r=n.animationModel,i=n.dataIndex,o=e.__pictorialBundle;Kt(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?iae(e,t,n,!0):oae(e,t,n,!0),aae(e,n,!0),lae(e,t,n,!0)}function xV(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];VR(r,function(a){o.push(a)}),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),j(o,function(a){yu(a,{scaleX:0,scaleY:0},n,t,function(){r.parent&&r.parent.remove(r)})}),e.setItemGraphicEl(t,null)}function sae(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function VR(e,t,n){j(e.__pictorialBundle.children(),function(r){r!==e.__pictorialBarRect&&t.call(n,r)})}function Sh(e,t,n,r,i,o){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&Wd[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,o)}function wV(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),l=i.getModel(["blur","itemStyle"]).getItemStyle(),s=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),f=o.get("scale");VR(e,function(p){if(p instanceof Er){var g=p.style;p.useStyle(Te({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},n.style))}else p.useStyle(n.style);var m=p.ensureState("emphasis");m.style=a,f&&(m.scaleX=p.scaleX*1.1,m.scaleY=p.scaleY*1.1),p.ensureState("blur").style=l,p.ensureState("select").style=s,u&&(p.cursor=u),p.z2=n.z2});var h=t.valueDim.posDesc[+(n.boundingLength>0)],v=e.__pictorialBarRect;v.ignoreClip=!0,Dr(v,vr(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:Gh(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:h}),In(e,c,d,o.get("disabled"))}function CV(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const zot=Dot;var Hot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return t.prototype.getInitialData=function(n){return n.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Ru(cx.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(cx);const Vot=Hot;function Wot(e){e.registerChartView(zot),e.registerSeriesModel(Vot),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,pt(zre,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Hre("pictorialBar"))}var jot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this,l=this.group,s=n.getLayerSeries(),u=o.getLayout("layoutInfo"),c=u.rect,d=u.boundaryGap;l.x=0,l.y=c.y+d[0];function f(g){return g.name}var h=new Ql(this._layersSeries||[],s,f,f),v=[];h.add(ze(p,this,"add")).update(ze(p,this,"update")).remove(ze(p,this,"remove")).execute();function p(g,m,y){var b=a._layers;if(g==="remove"){l.remove(b[m]);return}for(var S=[],x=[],$,C=s[m].indices,T=0;To&&(o=l),r.push(l)}for(var u=0;uo&&(o=d)}return{y0:i,max:o}}function Zot(e){e.registerChartView(Kot),e.registerSeriesModel(Xot),e.registerLayout(Yot),e.registerProcessor(by("themeRiver"))}var Qot=2,Jot=4,eat=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this)||this;a.z2=Qot,a.textConfig={inside:!0},ut(a).seriesIndex=r.seriesIndex;var l=new jt({z2:Jot,silent:n.getModel().get(["label","silent"])});return a.setTextContent(l),a.updateData(!0,n,r,i,o),a}return t.prototype.updateData=function(n,r,i,o,a){this.node=r,r.piece=this,i=i||this._seriesModel,o=o||this._ecModel;var l=this;ut(l).dataIndex=r.dataIndex;var s=r.getModel(),u=s.getModel("emphasis"),c=r.getLayout(),d=Te({},c);d.label=null;var f=r.getVisual("style");f.lineJoin="bevel";var h=r.getVisual("decal");h&&(f.decal=Wh(h,a));var v=Kc(s.getModel("itemStyle"),d,!0);Te(d,v),j(gi,function(y){var b=l.ensureState(y),S=s.getModel([y,"itemStyle"]);b.style=S.getItemStyle();var x=Kc(S,d);x&&(b.shape=x)}),n?(l.setShape(d),l.shape.r=c.r0,Sn(l,{shape:{r:c.r}},i,r.dataIndex)):(Kt(l,{shape:d},i),da(l)),l.useStyle(f),this._updateLabel(i);var p=s.getShallow("cursor");p&&l.attr("cursor",p),this._seriesModel=i||this._seriesModel,this._ecModel=o||this._ecModel;var g=u.get("focus"),m=g==="relative"?nm(r.getAncestorsIndices(),r.getDescendantIndices()):g==="ancestor"?r.getAncestorsIndices():g==="descendant"?r.getDescendantIndices():g;In(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n){var r=this,i=this.node.getModel(),o=i.getModel("label"),a=this.node.getLayout(),l=a.endAngle-a.startAngle,s=(a.startAngle+a.endAngle)/2,u=Math.cos(s),c=Math.sin(s),d=this,f=d.getTextContent(),h=this.node.dataIndex,v=o.get("minAngle")/180*Math.PI,p=o.get("show")&&!(v!=null&&Math.abs(l)R&&!am(E-R)&&E0?(a.virtualPiece?a.virtualPiece.updateData(!1,y,n,r,i):(a.virtualPiece=new _V(y,n,r,i),c.add(a.virtualPiece)),b.piece.off("click"),a.virtualPiece.on("click",function(S){a._rootToNode(b.parentNode)})):a.virtualPiece&&(c.remove(a.virtualPiece),a.virtualPiece=null)}},t.prototype._initEvents=function(){var n=this;this.group.off("click"),this.group.on("click",function(r){var i=!1,o=n.seriesModel.getViewRoot();o.eachNode(function(a){if(!i&&a.piece&&a.piece===r.target){var l=a.getModel().get("nodeClick");if(l==="rootToNode")n._rootToNode(a);else if(l==="link"){var s=a.getModel(),u=s.get("link");if(u){var c=s.get("target",!0)||"_blank";ZS(u,c)}}i=!0}})})},t.prototype._rootToNode=function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:wA,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},t.prototype.containPoint=function(n,r){var i=r.getData(),o=i.getItemLayout(0);if(o){var a=n[0]-o.cx,l=n[1]-o.cy,s=Math.sqrt(a*a+l*l);return s<=o.r&&s>=o.r0}},t.type="sunburst",t}(pn);const iat=rat;var oat=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n,r){var i={name:n.name,children:n.data};uae(i);var o=this._levelModels=Oe(n.levels||[],function(s){return new hn(s,this,r)},this),a=$R.createTree(i,this,l);function l(s){s.wrapMethod("getItemModel",function(u,c){var d=a.getNodeByDataIndex(c),f=o[d.depth];return f&&(u.parentModel=f),u})}return a.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treePathInfo=jC(i,this),r},t.prototype.getLevelModel=function(n){return this._levelModels&&this._levelModels[n.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){hoe(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(_n);function uae(e){var t=0;j(e.children,function(r){uae(r);var i=r.value;Ae(i)&&(i=i[0]),t+=i});var n=e.value;Ae(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),Ae(e.value)?e.value[0]=n:e.value=n}const aat=oat;var IV=Math.PI/180;function lat(e,t,n){t.eachSeriesByType(e,function(r){var i=r.get("center"),o=r.get("radius");Ae(o)||(o=[0,o]),Ae(i)||(i=[i,i]);var a=n.getWidth(),l=n.getHeight(),s=Math.min(a,l),u=Ne(i[0],a),c=Ne(i[1],l),d=Ne(o[0],s/2),f=Ne(o[1],s/2),h=-r.get("startAngle")*IV,v=r.get("minAngle")*IV,p=r.getData().tree.root,g=r.getViewRoot(),m=g.depth,y=r.get("sort");y!=null&&cae(g,y);var b=0;j(g.children,function(E){!isNaN(E.getValue())&&b++});var S=g.getValue(),x=Math.PI/(S||b)*2,$=g.depth>0,C=g.height-($?-1:1),T=(f-d)/(C||1),I=r.get("clockwise"),P=r.get("stillShowZeroSum"),M=I?1:-1,O=function(E,k){if(E){var N=k;if(E!==p){var B=E.getValue(),F=S===0&&P?x:B*x;F1;)a=a.parentNode;var l=i.getColorFromPalette(a.name||a.dataIndex+"",t);return r.depth>1&&Fe(l)&&(l=fM(l,(r.depth-1)/(o-1)*.5)),l}e.eachSeriesByType("sunburst",function(r){var i=r.getData(),o=i.tree;o.eachNode(function(a){var l=a.getModel(),s=l.getModel("itemStyle").getItemStyle();s.fill||(s.fill=n(a,r,o.root.height));var u=i.ensureUniqueItemVisual(a.dataIndex,"style");Te(u,s)})})}function cat(e){e.registerChartView(iat),e.registerSeriesModel(aat),e.registerLayout(pt(lat,"sunburst")),e.registerProcessor(pt(by,"sunburst")),e.registerVisual(uat),nat(e)}var PV={color:"fill",borderColor:"stroke"},dat={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Bl=Ft(),fat=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(n,r){return ds(null,this)},t.prototype.getDataParams=function(n,r,i){var o=e.prototype.getDataParams.call(this,n,r);return i&&(o.info=Bl(i).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(_n);const hat=fat;function vat(e,t){return t=t||[0,0],Oe(["x","y"],function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}function pat(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:ze(vat,e)}}}function gat(e,t){return t=t||[0,0],Oe([0,1],function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function mat(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(n){return e.dataToPoint(n)},size:ze(gat,e)}}}function yat(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function bat(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:ze(yat,e)}}}function Sat(e,t){return t=t||[0,0],Oe(["Radius","Angle"],function(n,r){var i="get"+n+"Axis",o=this[i](),a=t[r],l=e[r]/2,s=o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(a-l)-o.dataToCoord(a+l));return n==="Angle"&&(s=s*Math.PI/180),s},this)}function xat(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(i){var o=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),l=e.coordToPoint([o,a]);return l.push(o,a*Math.PI/180),l},size:ze(Sat,e)}}}function wat(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(r,i){return e.dataToPoint(r,i)}}}}function dae(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||Ve(e,"text")))}function fae(e,t,n){var r=e,i,o,a;if(t==="text")a=r;else{a={},Ve(r,"text")&&(a.text=r.text),Ve(r,"rich")&&(a.rich=r.rich),Ve(r,"textFill")&&(a.fill=r.textFill),Ve(r,"textStroke")&&(a.stroke=r.textStroke),Ve(r,"fontFamily")&&(a.fontFamily=r.fontFamily),Ve(r,"fontSize")&&(a.fontSize=r.fontSize),Ve(r,"fontStyle")&&(a.fontStyle=r.fontStyle),Ve(r,"fontWeight")&&(a.fontWeight=r.fontWeight),o={type:"text",style:a,silent:!0},i={};var l=Ve(r,"textPosition");n?i.position=l?r.textPosition:"inside":l&&(i.position=r.textPosition),Ve(r,"textPosition")&&(i.position=r.textPosition),Ve(r,"textOffset")&&(i.offset=r.textOffset),Ve(r,"textRotation")&&(i.rotation=r.textRotation),Ve(r,"textDistance")&&(i.distance=r.textDistance)}return MV(a,e),j(a.rich,function(s){MV(s,s)}),{textConfig:i,textContent:o}}function MV(e,t){t&&(t.font=t.textFont||t.font,Ve(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Ve(t,"textAlign")&&(e.align=t.textAlign),Ve(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Ve(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Ve(t,"textWidth")&&(e.width=t.textWidth),Ve(t,"textHeight")&&(e.height=t.textHeight),Ve(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Ve(t,"textPadding")&&(e.padding=t.textPadding),Ve(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Ve(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Ve(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Ve(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Ve(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Ve(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Ve(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function AV(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",n.offset!=null&&(r.textOffset=n.offset),n.rotation!=null&&(r.textRotation=n.rotation),n.distance!=null&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";OV(r,t);var a=r.textFill==null;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,j(t.rich,function(l){OV(l,l)}),r}function OV(e,t){t&&(Ve(t,"fill")&&(e.textFill=t.fill),Ve(t,"stroke")&&(e.textStroke=t.fill),Ve(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Ve(t,"font")&&(e.font=t.font),Ve(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Ve(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Ve(t,"fontSize")&&(e.fontSize=t.fontSize),Ve(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Ve(t,"align")&&(e.textAlign=t.align),Ve(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Ve(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Ve(t,"width")&&(e.textWidth=t.width),Ve(t,"height")&&(e.textHeight=t.height),Ve(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Ve(t,"padding")&&(e.textPadding=t.padding),Ve(t,"borderColor")&&(e.textBorderColor=t.borderColor),Ve(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Ve(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Ve(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Ve(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Ve(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Ve(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Ve(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Ve(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Ve(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Ve(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var hae={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},DV=Rt(hae);Ja(tl,function(e,t){return e[t]=1,e},{});tl.join(", ");var yx=["","style","shape","extra"],Xh=Ft();function WR(e,t,n,r,i){var o=e+"Animation",a=pv(e,r,i)||{},l=Xh(t).userDuring;return a.duration>0&&(a.during=l?ze(Iat,{el:t,userDuring:l}):null,a.setToFinal=!0,a.scope=e),Te(a,n[o]),a}function $1(e,t,n,r){r=r||{};var i=r.dataIndex,o=r.isInit,a=r.clearStyle,l=n.isAnimationEnabled(),s=Xh(e),u=t.style;s.userDuring=t.during;var c={},d={};if(Mat(e,t,d),RV("shape",t,d),RV("extra",t,d),!o&&l&&(Pat(e,t,c),EV("shape",e,t,c),EV("extra",e,t,c),Aat(e,t,u,c)),d.style=u,Cat(e,d,a),_at(e,t),l)if(o){var f={};j(yx,function(v){var p=v?t[v]:t;p&&p.enterFrom&&(v&&(f[v]=f[v]||{}),Te(v?f[v]:f,p.enterFrom))});var h=WR("enter",e,t,n,i);h.duration>0&&e.animateFrom(f,h)}else $at(e,t,i||0,n,c);vae(e,t),u?e.dirty():e.markRedraw()}function vae(e,t){for(var n=Xh(e).leaveToProps,r=0;r0&&e.animateFrom(i,o)}}function _at(e,t){Ve(t,"silent")&&(e.silent=t.silent),Ve(t,"ignore")&&(e.ignore=t.ignore),e instanceof Eo&&Ve(t,"invisible")&&(e.invisible=t.invisible),e instanceof Mt&&Ve(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var Ta={},Tat={setTransform:function(e,t){return Ta.el[e]=t,this},getTransform:function(e){return Ta.el[e]},setShape:function(e,t){var n=Ta.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=Ta.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=Ta.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=Ta.el.style;if(t)return t[e]},setExtra:function(e,t){var n=Ta.el.extra||(Ta.el.extra={});return n[e]=t,this},getExtra:function(e){var t=Ta.el.extra;if(t)return t[e]}};function Iat(){var e=this,t=e.el;if(t){var n=Xh(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}Ta.el=t,r(Tat)}}function EV(e,t,n,r){var i=n[e];if(i){var o=t[e],a;if(o){var l=n.transition,s=i.transition;if(s)if(!a&&(a=r[e]={}),cd(s))Te(a,o);else for(var u=rn(s),c=0;c=0){!a&&(a=r[e]={});for(var h=Rt(o),c=0;c=0)){var f=e.getAnimationStyleProps(),h=f?f.style:null;if(h){!o&&(o=r.style={});for(var v=Rt(n),u=0;u=0?t.getStore().get(k,A):void 0}var N=t.get(E.name,A),B=E&&E.ordinalMeta;return B?B.categories[N]:N}function $(R,A){A==null&&(A=u);var E=t.getItemVisual(A,"style"),k=E&&E.fill,N=E&&E.opacity,B=y(A,eu).getItemStyle();k!=null&&(B.fill=k),N!=null&&(B.opacity=N);var F={inheritColor:Fe(k)?k:"#000"},H=b(A,eu),V=fn(H,null,F,!1,!0);V.text=H.getShallow("show")?vt(e.getFormattedLabel(A,eu),Gh(t,A)):null;var X=YS(H,F,!1);return I(R,B),B=AV(B,V,X),R&&T(B,R),B.legacy=!0,B}function C(R,A){A==null&&(A=u);var E=y(A,Fl).getItemStyle(),k=b(A,Fl),N=fn(k,null,null,!0,!0);N.text=k.getShallow("show")?Ya(e.getFormattedLabel(A,Fl),e.getFormattedLabel(A,eu),Gh(t,A)):null;var B=YS(k,null,!0);return I(R,E),E=AV(E,N,B),R&&T(E,R),E.legacy=!0,E}function T(R,A){for(var E in A)Ve(A,E)&&(R[E]=A[E])}function I(R,A){R&&(R.textFill&&(A.textFill=R.textFill),R.textPosition&&(A.textPosition=R.textPosition))}function P(R,A){if(A==null&&(A=u),Ve(PV,R)){var E=t.getItemVisual(A,"style");return E?E[PV[R]]:null}if(Ve(dat,R))return t.getItemVisual(A,R)}function M(R){if(o.type==="cartesian2d"){var A=o.getBaseAxis();return FYe(et({axis:A},R))}}function O(){return n.getCurrentSeriesIndices()}function D(R){return D4(R,n)}}function Hat(e){var t={};return j(e.dimensions,function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,o=t[i]=t[i]||[];o[r.coordDimIndex]=e.getDimensionIndex(n)}}),t}function BT(e,t,n,r,i,o,a){if(!r){o.remove(t);return}var l=XR(e,t,n,r,i,o);return l&&a.setItemGraphicEl(n,l),l&&In(l,r.focus,r.blurScope,r.emphasisDisabled),l}function XR(e,t,n,r,i,o){var a=-1,l=t;t&&yae(t,r,i)&&(a=Tt(o.childrenRef(),t),t=null);var s=!t,u=t;u?u.clearStates():(u=KR(r),l&&Nat(l,u)),r.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ho.normal.cfg=ho.normal.conOpt=ho.emphasis.cfg=ho.emphasis.conOpt=ho.blur.cfg=ho.blur.conOpt=ho.select.cfg=ho.select.conOpt=null,ho.isLegacy=!1,Wat(u,n,r,i,s,ho),Vat(u,n,r,i,s),UR(e,u,n,r,ho,i,s),Ve(r,"info")&&(Bl(u).info=r.info);for(var c=0;c=0?o.replaceAt(u,a):o.add(u),u}function yae(e,t,n){var r=Bl(e),i=t.type,o=t.shape,a=t.style;return n.isUniversalTransitionEnabled()||i!=null&&i!==r.customGraphicType||i==="path"&&Xat(o)&&bae(o)!==r.customPathData||i==="image"&&Ve(a,"image")&&a.image!==r.customImagePath}function Vat(e,t,n,r,i){var o=n.clipPath;if(o===!1)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&yae(a,o,r)&&(a=null),a||(a=KR(o),e.setClipPath(a)),UR(null,a,t,o,null,r,i)}}function Wat(e,t,n,r,i,o){if(!e.isGroup){NV(n,null,o),NV(n,Fl,o);var a=o.normal.conOpt,l=o.emphasis.conOpt,s=o.blur.conOpt,u=o.select.conOpt;if(a!=null||l!=null||u!=null||s!=null){var c=e.getTextContent();if(a===!1)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=KR(a),e.setTextContent(c)),UR(null,c,t,a,null,r,i);for(var d=a&&a.style,f=0;f=c;h--){var v=t.childAt(h);Gat(t,v,i)}}}function Gat(e,t,n){t&&UC(t,Bl(e).option,n)}function Kat(e){new Ql(e.oldChildren,e.newChildren,kV,kV,e).add(BV).update(BV).remove(Uat).execute()}function kV(e,t){var n=e&&e.name;return n!=null?n:Rat+t}function BV(e,t){var n=this.context,r=e!=null?n.newChildren[e]:null,i=t!=null?n.oldChildren[t]:null;XR(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function Uat(e){var t=this.context,n=t.oldChildren[e];n&&UC(n,Bl(n).option,t.seriesModel)}function bae(e){return e&&(e.pathData||e.d)}function Xat(e){return e&&(Ve(e,"pathData")||Ve(e,"d"))}function Yat(e){e.registerChartView(Bat),e.registerSeriesModel(hat)}var Ec=Ft(),FV=rt,FT=ze,qat=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,n,r,i){var o=n.get("value"),a=n.get("status");if(this._axisModel=t,this._axisPointerModel=n,this._api=r,!(!i&&this._lastValue===o&&this._lastStatus===a)){this._lastValue=o,this._lastStatus=a;var l=this._group,s=this._handle;if(!a||a==="hide"){l&&l.hide(),s&&s.hide();return}l&&l.show(),s&&s.show();var u={};this.makeElOption(u,o,t,n,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,n);if(!l)l=this._group=new lt,this.createPointerEl(l,u,t,n),this.createLabelEl(l,u,t,n),r.getZr().add(l);else{var f=pt(zV,n,d);this.updatePointerEl(l,u,f),this.updateLabelEl(l,u,f,n)}VV(l,n,!0),this._renderHandle(o)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,n){var r=n.get("animation"),i=t.axis,o=i.type==="category",a=n.get("snap");if(!a&&!o)return!1;if(r==="auto"||r==null){var l=this.animationThreshold;if(o&&i.getBandWidth()>l)return!0;if(a){var s=mR(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>l}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,i,o){},e.prototype.createPointerEl=function(t,n,r,i){var o=n.pointer;if(o){var a=Ec(t).pointerEl=new Wd[o.type](FV(n.pointer));t.add(a)}},e.prototype.createLabelEl=function(t,n,r,i){if(n.label){var o=Ec(t).labelEl=new jt(FV(n.label));t.add(o),HV(o,i)}},e.prototype.updatePointerEl=function(t,n,r){var i=Ec(t).pointerEl;i&&n.pointer&&(i.setStyle(n.pointer.style),r(i,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,i){var o=Ec(t).labelEl;o&&(o.setStyle(n.label.style),r(o,{x:n.label.x,y:n.label.y}),HV(o,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||a==="hide"){i&&r.remove(i),this._handle=null;return}var l;this._handle||(l=!0,i=this._handle=cy(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Xl(u.event)},onmousedown:FT(this._onHandleDragMove,this,0,0),drift:FT(this._onHandleDragMove,this),ondragend:FT(this._onHandleDragEnd,this)}),r.add(i)),VV(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Ae(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Cv(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,l)}},e.prototype._moveHandleToValue=function(t,n){zV(this._axisPointerModel,!n&&this._moveAnimation,this._handle,zT(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var i=this.updateHandleTransform(zT(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=i,r.stopAnimation(),r.attr(zT(i)),Ec(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,i=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),i&&n.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),pm(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e}();function zV(e,t,n,r){Sae(Ec(n).lastProp,r)||(Ec(n).lastProp=r,t?Kt(n,r,e):(n.stopAnimation(),n.attr(r)))}function Sae(e,t){if(nt(e)&&nt(t)){var n=!0;return j(t,function(r,i){n=n&&Sae(e[i],r)}),!!n}else return e===t}function HV(e,t){e[t.get(["label","show"])?"show":"hide"]()}function zT(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function VV(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(o){o.type!=="group"&&(r!=null&&(o.z=r),i!=null&&(o.zlevel=i),o.silent=n)})}const qR=qat;function ZR(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function xae(e,t,n,r,i){var o=n.get("value"),a=wae(o,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),s=yv(l.get("padding")||0),u=l.getFont(),c=oy(a,u),d=i.position,f=c.width+s[1]+s[3],h=c.height+s[0]+s[2],v=i.align;v==="right"&&(d[0]-=f),v==="center"&&(d[0]-=f/2);var p=i.verticalAlign;p==="bottom"&&(d[1]-=h),p==="middle"&&(d[1]-=h/2),Zat(d,f,h,r);var g=l.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:fn(l,{text:a,font:u,fill:l.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function Zat(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function wae(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var l={value:lR(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};j(r,function(s){var u=n.getSeriesByIndex(s.seriesIndex),c=s.dataIndexInside,d=u&&u.getDataParams(c);d&&l.seriesData.push(d)}),Fe(a)?o=a.replace("{value}",o):Ze(a)&&(o=a(l))}return o}function QR(e,t,n){var r=Yi();return Hd(r,r,n.rotation),el(r,r,n.position),na([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Cae(e,t,n,r,i,o){var a=Jl.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),xae(t,r,i,o,{position:QR(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function JR(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function $ae(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function WV(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r,startAngle:i,endAngle:o,clockwise:!0}}var Qat=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis,s=l.grid,u=o.get("type"),c=jV(s,l).getOtherAxis(l).getGlobalExtent(),d=l.toGlobalCoord(l.dataToCoord(r,!0));if(u&&u!=="none"){var f=ZR(o),h=Jat[u](l,d,c);h.style=f,n.graphicKey=h.type,n.pointer=h}var v=aA(s.model,i);Cae(r,n,v,i,o,a)},t.prototype.getHandleTransform=function(n,r,i){var o=aA(r.axis.grid.model,r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var a=QR(r.axis,n,o);return{x:a[0],y:a[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,i,o){var a=i.axis,l=a.grid,s=a.getGlobalExtent(!0),u=jV(l,a).getOtherAxis(a).getGlobalExtent(),c=a.dim==="x"?0:1,d=[n.x,n.y];d[c]+=r[c],d[c]=Math.min(s[1],d[c]),d[c]=Math.max(s[0],d[c]);var f=(u[1]+u[0])/2,h=[f,f];h[c]=d[c];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:d[0],y:d[1],rotation:n.rotation,cursorPoint:h,tooltipOption:v[c]}},t}(qR);function jV(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var Jat={line:function(e,t,n){var r=JR([t,n[0]],[t,n[1]],GV(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:$ae([t-r/2,n[0]],[r,i],GV(e))}}};function GV(e){return e.dim==="x"?0:1}const elt=Qat;var tlt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Vt);const nlt=tlt;var Rl=Ft(),rlt=j;function _ae(e,t,n){if(!Wt.node){var r=t.getZr();Rl(r).records||(Rl(r).records={}),ilt(r,t);var i=Rl(r).records[e]||(Rl(r).records[e]={});i.handler=n}}function ilt(e,t){if(Rl(e).initialized)return;Rl(e).initialized=!0,n("click",pt(KV,"click")),n("mousemove",pt(KV,"mousemove")),n("globalout",alt);function n(r,i){e.on(r,function(o){var a=llt(t);rlt(Rl(e).records,function(l){l&&i(l,o,a.dispatchAction)}),olt(a.pendings,t)})}}function olt(e,t){var n=e.showTip.length,r=e.hideTip.length,i;n?i=e.showTip[n-1]:r&&(i=e.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function alt(e,t,n){e.handler("leave",null,n)}function KV(e,t,n,r){t.handler(e,n,r)}function llt(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function _A(e,t){if(!Wt.node){var n=t.getZr(),r=(Rl(n).records||{})[e];r&&(Rl(n).records[e]=null)}}var slt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=r.getComponent("tooltip"),a=n.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";_ae("axisPointer",i,function(l,s,u){a!=="none"&&(l==="leave"||a.indexOf(l)>=0)&&u({type:"updateAxisPointer",currTrigger:l,x:s&&s.offsetX,y:s&&s.offsetY})})},t.prototype.remove=function(n,r){_A("axisPointer",r)},t.prototype.dispose=function(n,r){_A("axisPointer",r)},t.type="axisPointer",t}(Pn);const ult=slt;function Tae(e,t){var n=[],r=e.seriesIndex,i;if(r==null||!(i=t.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),a=wd(o,e);if(a==null||a<0||Ae(a))return{point:[]};var l=o.getItemGraphicEl(a),s=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(e.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u),d=c.dim,f=u.dim,h=d==="x"||d==="radius"?1:0,v=o.mapDimension(f),p=[];p[h]=o.get(v,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),n=s.dataToPoint(p)||[]}else n=s.dataToPoint(o.getValues(Oe(s.dimensions,function(m){return o.mapDimension(m)}),a))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),n=[g.x+g.width/2,g.y+g.height/2]}return{point:n,el:l}}var UV=Ft();function clt(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||ze(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){_1(i)&&(i=Tae({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var s=_1(i),u=o.axesInfo,c=l.axesInfo,d=r==="leave"||_1(i),f={},h={},v={list:[],map:{}},p={showPointer:pt(flt,h),showTooltip:pt(hlt,v)};j(l.coordSysMap,function(m,y){var b=s||m.containPoint(i);j(l.coordSysAxesInfo[y],function(S,x){var $=S.axis,C=mlt(u,S);if(!d&&b&&(!u||C)){var T=C&&C.value;T==null&&!s&&(T=$.pointToData(i)),T!=null&&XV(S,T,p,!1,f)}})});var g={};return j(c,function(m,y){var b=m.linkGroup;b&&!h[y]&&j(b.axesInfo,function(S,x){var $=h[x];if(S!==m&&$){var C=$.value;b.mapper&&(C=m.axis.scale.parse(b.mapper(C,YV(S),YV(m)))),g[m.key]=C}})}),j(g,function(m,y){XV(c[y],m,p,!0,f)}),vlt(h,c,f),plt(v,i,e,a),glt(c,a,n),f}}function XV(e,t,n,r,i){var o=e.axis;if(!(o.scale.isBlank()||!o.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var a=dlt(t,e),l=a.payloadBatch,s=a.snapToValue;l[0]&&i.seriesIndex==null&&Te(i,l[0]),!r&&e.snap&&o.containData(s)&&s!=null&&(t=s),n.showPointer(e,t,l),n.showTooltip(e,a,s)}}function dlt(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,l=-1;return j(t.seriesModels,function(s,u){var c=s.getData().mapDimensionsAll(r),d,f;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(c,e,n);f=h.dataIndices,d=h.nestestValue}else{if(f=s.getData().indicesOfNearest(c[0],e,n.type==="category"?.5:null),!f.length)return;d=s.getData().get(c[0],f[0])}if(!(d==null||!isFinite(d))){var v=e-d,p=Math.abs(v);p<=a&&((p=0&&l<0)&&(a=p,l=v,i=d,o.length=0),j(f,function(g){o.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:o,snapToValue:i}}function flt(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function hlt(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,l=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var s=t.coordSys.model,u=xm(s),c=e.map[u];c||(c=e.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function vlt(e,t,n){var r=n.axesInfo=[];j(t,function(i,o){var a=i.axisPointerModel.option,l=e[o];l?(!i.useHandle&&(a.status="show"),a.value=l.value,a.seriesDataIndices=(l.payloadBatch||[]).slice()):!i.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:a.value})})}function plt(e,t,n,r){if(_1(t)||!e.list.length){r({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function glt(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",o=UV(r)[i]||{},a=UV(r)[i]={};j(e,function(u,c){var d=u.axisPointerModel.option;d.status==="show"&&u.triggerEmphasis&&j(d.seriesDataIndices,function(f){var h=f.seriesIndex+" | "+f.dataIndex;a[h]=f})});var l=[],s=[];j(o,function(u,c){!a[c]&&s.push(u)}),j(a,function(u,c){!o[c]&&l.push(u)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function mlt(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function YV(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function _1(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Cy(e){Xd.registerAxisPointerClass("CartesianAxisPointer",elt),e.registerComponentModel(nlt),e.registerComponentView(ult),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!Ae(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=nJe(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},clt)}function ylt(e){Pt(Qie),Pt(Cy)}var blt=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var s=l.polar,u=s.getOtherAxis(l),c=u.getExtent(),d=l.dataToCoord(r),f=o.get("type");if(f&&f!=="none"){var h=ZR(o),v=xlt[f](l,s,d,c);v.style=h,n.graphicKey=v.type,n.pointer=v}var p=o.get(["label","margin"]),g=Slt(r,i,o,s,p);xae(n,i,o,a,g)},t}(qR);function Slt(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),l=r.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s=r.getRadiusAxis().getExtent(),u,c,d;if(o.dim==="radius"){var f=Yi();Hd(f,f,l),el(f,f,[r.cx,r.cy]),u=na([a,-i],f);var h=t.getModel("axisLabel").get("rotate")||0,v=Jl.innerTextLayout(l,h*Math.PI/180,-1);c=v.textAlign,d=v.textVerticalAlign}else{var p=s[1];u=r.coordToPoint([p+i,a]);var g=r.cx,m=r.cy;c=Math.abs(u[0]-g)/p<.3?"center":u[0]>g?"left":"right",d=Math.abs(u[1]-m)/p<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:c,verticalAlign:d}}var xlt={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:JR(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:WV(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(-n+i/2)*o)}:{type:"Sector",shape:WV(t.cx,t.cy,n-i/2,n+i/2,0,Math.PI*2)}}};const wlt=blt;var Clt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(n){var r,i=this.ecModel;return i.eachComponent(n,function(o){o.getCoordSysModel()===this&&(r=o)},this),r},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Vt);const $lt=Clt;var eL=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Gn).models[0]},t.type="polarAxis",t}(Vt);qn(eL,vy);var _lt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="angleAxis",t}(eL),Tlt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="radiusAxis",t}(eL),tL=function(e){ge(t,e);function t(n,r){return e.call(this,"radius",n,r)||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t}(pa);tL.prototype.dataToRadius=pa.prototype.dataToCoord;tL.prototype.radiusToData=pa.prototype.coordToData;const Ilt=tL;var Plt=Ft(),nL=function(e){ge(t,e);function t(n,r){return e.call(this,"angle",n,r||[0,360])||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var n=this,r=n.getLabelModel(),i=n.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var l=o[0],s=n.dataToCoord(l+1)-n.dataToCoord(l),u=Math.abs(s),c=oy(l==null?"":l+"",r.getFont(),"center","top"),d=Math.max(c.height,7),f=d/u;isNaN(f)&&(f=1/0);var h=Math.max(0,Math.floor(f)),v=Plt(n.model),p=v.lastAutoInterval,g=v.lastTickCount;return p!=null&&g!=null&&Math.abs(p-h)<=1&&Math.abs(g-a)<=1&&p>h?h=p:(v.lastTickCount=a,v.lastAutoInterval=h),h},t}(pa);nL.prototype.dataToAngle=pa.prototype.dataToCoord;nL.prototype.angleToData=pa.prototype.coordToData;const Mlt=nL;var Iae=["radius","angle"],Alt=function(){function e(t){this.dimensions=Iae,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Ilt,this._angleAxis=new Mlt,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var n=this.pointToCoord(t);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var n="_"+t+"Axis";return this[n]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var n=[],r=this._angleAxis,i=this._radiusAxis;return r.scale.type===t&&n.push(r),i.scale.type===t&&n.push(i),n},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var n=this._angleAxis;return t===n?this._radiusAxis:n},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var n=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},e.prototype.dataToPoint=function(t,n){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],n),this._angleAxis.dataToAngle(t[1],n)])},e.prototype.pointToData=function(t,n){var r=this.pointToCoord(t);return[this._radiusAxis.radiusToData(r[0],n),this._angleAxis.angleToData(r[1],n)]},e.prototype.pointToCoord=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),a=Math.min(o[0],o[1]),l=Math.max(o[0],o[1]);i.inverse?a=l-360:l=a+360;var s=Math.sqrt(n*n+r*r);n/=s,r/=s;for(var u=Math.atan2(-r,n)/Math.PI*180,c=ul;)u+=c*360;return[s,u]},e.prototype.coordToPoint=function(t){var n=t[0],r=t[1]/180*Math.PI,i=Math.cos(r)*n+this.cx,o=-Math.sin(r)*n+this.cy;return[i,o]},e.prototype.getArea=function(){var t=this.getAngleAxis(),n=this.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var i=t.getExtent(),o=Math.PI/180,a=1e-4;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-i[0]*o,endAngle:-i[1]*o,clockwise:t.inverse,contain:function(l,s){var u=l-this.cx,c=s-this.cy,d=u*u+c*c,f=this.r,h=this.r0;return f!==h&&d-a<=f*f&&d+a>=h*h}}},e.prototype.convertToPixel=function(t,n,r){var i=qV(n);return i===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var i=qV(n);return i===this?this.pointToData(r):null},e}();function qV(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const Olt=Alt;function Dlt(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=Ne(r[0],i),e.cy=Ne(r[1],o);var a=e.getRadiusAxis(),l=Math.min(i,o)/2,s=t.get("radius");s==null?s=[0,"100%"]:Ae(s)||(s=[0,s]);var u=[Ne(s[0],l),Ne(s[1],l)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}function Elt(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries(function(l){if(l.coordinateSystem===n){var s=l.getData();j(ax(s,"radius"),function(u){i.scale.unionExtentFromData(s,u)}),j(ax(s,"angle"),function(u){r.scale.unionExtentFromData(s,u)})}}),jh(r.scale,r.model),jh(i.scale,i.model),r.type==="category"&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function Rlt(e){return e.mainType==="angleAxis"}function ZV(e,t){var n;if(e.type=t.get("type"),e.scale=zC(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),Rlt(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),i=(n=t.get("endAngle"))!==null&&n!==void 0?n:r+(e.inverse?-360:360);e.setExtent(r,i)}t.axis=e,e.model=t}var Llt={dimensions:Iae,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,i){var o=new Olt(i+"");o.update=Elt;var a=o.getRadiusAxis(),l=o.getAngleAxis(),s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");ZV(a,s),ZV(l,u),Dlt(o,r,t),n.push(o),r.coordinateSystem=o,o.model=r}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var i=r.getReferringComponents("polar",Gn).models[0];r.coordinateSystem=i.coordinateSystem}}),n}};const Nlt=Llt;var klt=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function lb(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function sb(e){var t=e.getRadiusAxis();return t.inverse?0:1}function QV(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var Blt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var i=n.axis,o=i.polar,a=o.getRadiusAxis().getExtent(),l=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=Oe(i.getViewLabels(),function(c){c=rt(c);var d=i.scale,f=d.type==="ordinal"?d.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=i.dataToCoord(f),c});QV(u),QV(l),j(klt,function(c){n.get([c,"show"])&&(!i.scale.isBlank()||c==="axisLine")&&Flt[c](this.group,n,o,l,s,a,u)},this)}},t.type="angleAxis",t}(Xd),Flt={axisLine:function(e,t,n,r,i,o){var a=t.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),s=Math.PI/180,u=l.getExtent(),c=sb(n),d=c?0:1,f,h=Math.abs(u[1]-u[0])===360?"Circle":"Arc";o[d]===0?f=new Wd[h]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-u[0]*s,endAngle:-u[1]*s,clockwise:l.inverse},style:a.getLineStyle(),z2:1,silent:!0}):f=new xC({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[d]},style:a.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,e.add(f)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),s=o[sb(n)],u=Oe(r,function(c){return new Sr({shape:lb(n,[s,s+l],c.coord)})});e.add(wo(u,{style:et(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),l=t.getModel("minorTick"),s=(a.get("inside")?-1:1)*l.get("length"),u=o[sb(n)],c=[],d=0;dm?"left":"right",S=Math.abs(g[1]-y)/p<.3?"middle":g[1]>y?"top":"bottom";if(l&&l[v]){var x=l[v];nt(x)&&x.textStyle&&(h=new hn(x.textStyle,s,s.ecModel))}var $=new jt({silent:Jl.isLabelSilent(t),style:fn(h,{x:g[0],y:g[1],fill:h.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:d.formattedLabel,align:b,verticalAlign:S})});if(e.add($),c){var C=Jl.makeAxisEventDataBase(t);C.targetType="axisLabel",C.value=d.rawLabel,ut($).eventData=C}},this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine"),l=a.getModel("lineStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],d=0;d=0?"p":"n",A=I;x&&(r[c][D]||(r[c][D]={p:I,n:I}),A=r[c][D][R]);var E=void 0,k=void 0,N=void 0,B=void 0;if(v.dim==="radius"){var F=v.dataToCoord(O)-I,H=s.dataToCoord(D);Math.abs(F)=B})}}})}function Xlt(e){var t={};j(e,function(r,i){var o=r.getData(),a=r.coordinateSystem,l=a.getBaseAxis(),s=Mae(a,l),u=l.getExtent(),c=l.type==="category"?l.getBandWidth():Math.abs(u[1]-u[0])/o.count(),d=t[s]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;t[s]=d;var h=Pae(r);f[h]||d.autoWidthCount++,f[h]=f[h]||{width:0,maxWidth:0};var v=Ne(r.get("barWidth"),c),p=Ne(r.get("barMaxWidth"),c),g=r.get("barGap"),m=r.get("barCategoryGap");v&&!f[h].width&&(v=Math.min(d.remainedWidth,v),f[h].width=v,d.remainedWidth-=v),p&&(f[h].maxWidth=p),g!=null&&(d.gap=g),m!=null&&(d.categoryGap=m)});var n={};return j(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,l=Ne(r.categoryGap,a),s=Ne(r.gap,1),u=r.remainedWidth,c=r.autoWidthCount,d=(u-l)/(c+(c-1)*s);d=Math.max(d,0),j(o,function(p,g){var m=p.maxWidth;m&&m=n.y&&t[1]<=n.y+n.height:r.contain(r.toLocalCoord(t[1]))&&t[0]>=n.y&&t[0]<=n.y+n.height},e.prototype.pointToData=function(t){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(t[n.orient==="horizontal"?0:1]))]},e.prototype.dataToPoint=function(t){var n=this.getAxis(),r=this.getRect(),i=[],o=n.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[o]=n.toGlobalCoord(n.dataToCoord(+t)),i[1-o]=o===0?r.y+r.height/2:r.x+r.width/2,i},e.prototype.convertToPixel=function(t,n,r){var i=JV(n);return i===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var i=JV(n);return i===this?this.pointToData(r):null},e}();function JV(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function lst(e,t){var n=[];return e.eachComponent("singleAxis",function(r,i){var o=new ast(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="singleAxis"){var i=r.getReferringComponents("singleAxis",Gn).models[0];r.coordinateSystem=i&&i.coordinateSystem}}),n}var sst={create:lst,dimensions:Oae};const ust=sst;var eW=["x","y"],cst=["width","height"],dst=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis,s=l.coordinateSystem,u=VT(s,1-xx(l)),c=s.dataToPoint(r)[0],d=o.get("type");if(d&&d!=="none"){var f=ZR(o),h=fst[d](l,c,u);h.style=f,n.graphicKey=h.type,n.pointer=h}var v=TA(i);Cae(r,n,v,i,o,a)},t.prototype.getHandleTransform=function(n,r,i){var o=TA(r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var a=QR(r.axis,n,o);return{x:a[0],y:a[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,i,o){var a=i.axis,l=a.coordinateSystem,s=xx(a),u=VT(l,s),c=[n.x,n.y];c[s]+=r[s],c[s]=Math.min(u[1],c[s]),c[s]=Math.max(u[0],c[s]);var d=VT(l,1-s),f=(d[1]+d[0])/2,h=[f,f];return h[s]=c[s],{x:c[0],y:c[1],rotation:n.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},t}(qR),fst={line:function(e,t,n){var r=JR([t,n[0]],[t,n[1]],xx(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:$ae([t-r/2,n[0]],[r,i],xx(e))}}};function xx(e){return e.isHorizontal()?0:1}function VT(e,t){var n=e.getRect();return[n[eW[t]],n[eW[t]]+n[cst[t]]]}const hst=dst;var vst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="single",t}(Pn);function pst(e){Pt(Cy),Xd.registerAxisPointerClass("SingleAxisPointer",hst),e.registerComponentView(vst),e.registerComponentView(rst),e.registerComponentModel(HT),Kh(e,"single",HT,HT.defaultOption),e.registerCoordinateSystem("single",ust)}var gst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r,i){var o=bv(n);e.prototype.init.apply(this,arguments),tW(n,o)},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),tW(this.option,n)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Vt);function tW(e,t){var n=e.cellSize,r;Ae(n)?r=n:r=e.cellSize=[n,n],r.length===1&&(r[1]=r[0]);var i=Oe([0,1],function(o){return bKe(t,o)&&(r[o]="auto"),r[o]!=null&&r[o]!=="auto"});bu(e,t,{type:"box",ignoreSize:i})}const mst=gst;var yst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll();var a=n.coordinateSystem,l=a.getRangeInfo(),s=a.getOrient(),u=r.getLocaleModel();this._renderDayRect(n,l,o),this._renderLines(n,l,s,o),this._renderYearText(n,l,s,o),this._renderMonthText(n,u,s,o),this._renderWeekText(n,u,l,s,o)},t.prototype._renderDayRect=function(n,r,i){for(var o=n.coordinateSystem,a=n.getModel("itemStyle").getItemStyle(),l=o.getCellWidth(),s=o.getCellHeight(),u=r.start.time;u<=r.end.time;u=o.getNextNDay(u,1).time){var c=o.dataToRect([u],!1).tl,d=new Ht({shape:{x:c[0],y:c[1],width:l,height:s},cursor:"default",style:a});i.add(d)}},t.prototype._renderLines=function(n,r,i,o){var a=this,l=n.coordinateSystem,s=n.getModel(["splitLine","lineStyle"]).getLineStyle(),u=n.get(["splitLine","show"]),c=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var d=r.start,f=0;d.time<=r.end.time;f++){v(d.formatedDate),f===0&&(d=l.getDateInfo(r.start.y+"-"+r.start.m));var h=d.date;h.setMonth(h.getMonth()+1),d=l.getDateInfo(h)}v(l.getNextNDay(r.end.time,1).formatedDate);function v(p){a._firstDayOfMonth.push(l.getDateInfo(p)),a._firstDayPoints.push(l.dataToRect([p],!1).tl);var g=a._getLinePointsOfOneWeek(n,p,i);a._tlpoints.push(g[0]),a._blpoints.push(g[g.length-1]),u&&a._drawSplitline(g,s,o)}u&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,c,i),s,o),u&&this._drawSplitline(a._getEdgesPoints(a._blpoints,c,i),s,o)},t.prototype._getEdgesPoints=function(n,r,i){var o=[n[0].slice(),n[n.length-1].slice()],a=i==="horizontal"?0:1;return o[0][a]=o[0][a]-r/2,o[1][a]=o[1][a]+r/2,o},t.prototype._drawSplitline=function(n,r,i){var o=new Li({z2:20,shape:{points:n},style:r});i.add(o)},t.prototype._getLinePointsOfOneWeek=function(n,r,i){for(var o=n.coordinateSystem,a=o.getDateInfo(r),l=[],s=0;s<7;s++){var u=o.getNextNDay(a.time,s),c=o.dataToRect([u.time],!1);l[2*u.day]=c.tl,l[2*u.day+1]=c[i==="horizontal"?"bl":"tr"]}return l},t.prototype._formatterLabel=function(n,r){return Fe(n)&&n?gKe(n,r):Ze(n)?n(r):r.nameMap},t.prototype._yearTextPositionControl=function(n,r,i,o,a){var l=r[0],s=r[1],u=["center","bottom"];o==="bottom"?(s+=a,u=["center","top"]):o==="left"?l-=a:o==="right"?(l+=a,u=["center","top"]):s-=a;var c=0;return(o==="left"||o==="right")&&(c=Math.PI/2),{rotation:c,x:l,y:s,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(n,r,i,o){var a=n.getModel("yearLabel");if(a.get("show")){var l=a.get("margin"),s=a.get("position");s||(s=i!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(u[0][0]+u[1][0])/2,d=(u[0][1]+u[1][1])/2,f=i==="horizontal"?0:1,h={top:[c,u[f][1]],bottom:[c,u[1-f][1]],left:[u[1-f][0],d],right:[u[f][0],d]},v=r.start.y;+r.end.y>+r.start.y&&(v=v+"-"+r.end.y);var p=a.get("formatter"),g={start:r.start.y,end:r.end.y,nameMap:v},m=this._formatterLabel(p,g),y=new jt({z2:30,style:fn(a,{text:m}),silent:a.get("silent")});y.attr(this._yearTextPositionControl(y,h[s],i,s,l)),o.add(y)}},t.prototype._monthTextPositionControl=function(n,r,i,o,a){var l="left",s="top",u=n[0],c=n[1];return i==="horizontal"?(c=c+a,r&&(l="center"),o==="start"&&(s="bottom")):(u=u+a,r&&(s="middle"),o==="start"&&(l="right")),{x:u,y:c,align:l,verticalAlign:s}},t.prototype._renderMonthText=function(n,r,i,o){var a=n.getModel("monthLabel");if(a.get("show")){var l=a.get("nameMap"),s=a.get("margin"),u=a.get("position"),c=a.get("align"),d=[this._tlpoints,this._blpoints];(!l||Fe(l))&&(l&&(r=NM(l)||r),l=r.get(["time","monthAbbr"])||[]);var f=u==="start"?0:1,h=i==="horizontal"?0:1;s=u==="start"?-s:s;for(var v=c==="center",p=a.get("silent"),g=0;g=i.start.time&&r.timel.end.time&&n.reverse(),n},e.prototype._getRangeInfo=function(t){var n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],r;n[0].time>n[1].time&&(r=!0,n.reverse());var i=Math.floor(n[1].time/WT)-Math.floor(n[0].time/WT)+1,o=new Date(n[0].time),a=o.getDate(),l=n[1].date.getDate();o.setDate(a+i-1);var s=o.getDate();if(s!==l)for(var u=o.getTime()-n[1].time>0?1:-1;(s=o.getDate())!==l&&(o.getTime()-n[1].time)*u>0;)i-=u,o.setDate(s-u);var c=Math.floor((i+n[0].day+6)/7),d=r?-c+1:c-1;return r&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:d,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(t,n,r){var i=this._getRangeInfo(r);if(t>i.weeks||t===0&&ni.lweek)return null;var o=(t-1)*7-i.fweek+n,a=new Date(i.start.time);return a.setDate(+i.start.d+o),this.getDateInfo(a)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",function(i){var o=new e(i);r.push(o),i.coordinateSystem=o}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=r[i.get("calendarIndex")||0])}),r},e.dimensions=["time","value"],e}();function nW(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}const xst=Sst;function wst(e){e.registerComponentModel(mst),e.registerComponentView(bst),e.registerCoordinateSystem("calendar",xst)}function Cst(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),t.parentId==null){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function rW(e,t){var n;return j(t,function(r){e[r]!=null&&e[r]!=="auto"&&(n=!0)}),n}function $st(e,t,n){var r=Te({},n),i=e[t],o=n.$action||"merge";o==="merge"?i?(St(i,r,!0),bu(i,r,{ignoreSize:!0}),vne(n,i),ub(n,i),ub(n,i,"shape"),ub(n,i,"style"),ub(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:o==="replace"?e[t]=r:o==="remove"&&i&&(e[t]=null)}var Dae=["transition","enterFrom","leaveTo"],_st=Dae.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function ub(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),!(!e||!t))for(var r=n?Dae:_st,i=0;i=0;c--){var d=i[c],f=rr(d.id,null),h=f!=null?a.get(f):null;if(h){var v=h.parent,m=bo(v),y=v===o?{width:l,height:s}:{width:m.width,height:m.height},b={},S=OC(h,d,y,null,{hv:d.hv,boundingMode:d.bounding},b);if(!bo(h).isNew&&S){for(var x=d.transition,$={},C=0;C=0)?$[T]=I:h[T]=I}Kt(h,$,n,0)}else h.attr(b)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(i){T1(i,bo(i).option,r,n._lastGraphicModel)}),this._elMap=Ge()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Pn);function IA(e){var t=Ve(iW,e)?iW[e]:O4(e),n=new t({});return bo(n).type=e,n}function oW(e,t,n,r){var i=IA(n);return t.add(i),r.set(e,i),bo(i).id=e,bo(i).isNew=!0,i}function T1(e,t,n,r){var i=e&&e.parent;i&&(e.type==="group"&&e.traverse(function(o){T1(o,t,n,r)}),UC(e,t,r),n.removeKey(bo(e).id))}function aW(e,t,n,r){e.isGroup||j([["cursor",Eo.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(i){var o=i[0];Ve(t,o)?e[o]=vt(t[o],i[1]):e[o]==null&&(e[o]=i[1])}),j(Rt(t),function(i){if(i.indexOf("on")===0){var o=t[i];e[i]=Ze(o)?o:null}}),Ve(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function Mst(e){return e=Te({},e),j(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(hne),function(t){delete e[t]}),e}function Ast(e,t,n){var r=ut(e).eventData;!e.silent&&!e.ignore&&!r&&(r=ut(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function Ost(e){e.registerComponentModel(Ist),e.registerComponentView(Pst),e.registerPreprocessor(function(t){var n=t.graphic;Ae(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var lW=["x","y","radius","angle","single"],Dst=["cartesian2d","polar","singleAxis"];function Est(e){var t=e.get("coordinateSystem");return Tt(Dst,t)>=0}function tu(e){return e+"Axis"}function Rst(e,t){var n=Ge(),r=[],i=Ge();e.eachComponent({mainType:"dataZoom",query:t},function(c){i.get(c.uid)||l(c)});var o;do o=!1,e.eachComponent("dataZoom",a);while(o);function a(c){!i.get(c.uid)&&s(c)&&(l(c),o=!0)}function l(c){i.set(c.uid,!0),r.push(c),u(c)}function s(c){var d=!1;return c.eachTargetAxis(function(f,h){var v=n.get(f);v&&v[h]&&(d=!0)}),d}function u(c){c.eachTargetAxis(function(d,f){(n.get(d)||n.set(d,[]))[f]=!0})}return r}function Eae(e){var t=e.ecModel,n={infoList:[],infoMap:Ge()};return e.eachTargetAxis(function(r,i){var o=t.getComponent(tu(r),i);if(o){var a=o.getCoordSysModel();if(a){var l=a.uid,s=n.infoMap.get(l);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(l,s)),s.axisModels.push(o)}}}),n}var jT=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),Lst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,i){var o=sW(n);this.settledOption=o,this.mergeDefaultAndTheme(n,i),this._doInit(o)},t.prototype.mergeOption=function(n){var r=sW(n);St(this.option,n,!0),St(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var i=this.settledOption;j([["start","startValue"],["end","endValue"]],function(o,a){this._rangePropMode[a]==="value"&&(r[o[0]]=i[o[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=Ge(),i=this._fillSpecifiedTargetAxis(r);i?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(o){o.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return j(lW,function(i){var o=this.getReferringComponents(tu(i),qWe);if(o.specified){r=!0;var a=new jT;j(o.models,function(l){a.add(l.componentIndex)}),n.set(i,a)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var i=this.ecModel,o=!0;if(o){var a=r==="vertical"?"y":"x",l=i.findComponents({mainType:a+"Axis"});s(l,a)}if(o){var l=i.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});s(l,"single")}function s(u,c){var d=u[0];if(d){var f=new jT;if(f.add(d.componentIndex),n.set(c,f),o=!1,c==="x"||c==="y"){var h=d.getReferringComponents("grid",Gn).models[0];h&&j(u,function(v){d.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",Gn).models[0]&&f.add(v.componentIndex)})}}}o&&j(lW,function(u){if(o){var c=i.findComponents({mainType:tu(u),filter:function(f){return f.get("type",!0)==="category"}});if(c[0]){var d=new jT;d.add(c[0].componentIndex),n.set(u,d),o=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,i=this.get("rangeMode");j([["start","startValue"],["end","endValue"]],function(o,a){var l=n[o[0]]!=null,s=n[o[1]]!=null;l&&!s?r[a]="percent":!l&&s?r[a]="value":i?r[a]=i[a]:l&&(r[a]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,i){n==null&&(n=this.ecModel.getComponent(tu(r),i))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(i,o){j(i.indexList,function(a){n.call(r,o,a)})})},t.prototype.getAxisProxy=function(n,r){var i=this.getAxisModel(n,r);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var i=this._targetAxisInfoMap.get(n);if(i&&i.indexMap[r])return this.ecModel.getComponent(tu(n),r)},t.prototype.setRawRange=function(n){var r=this.option,i=this.settledOption;j([["start","startValue"],["end","endValue"]],function(o){(n[o[0]]!=null||n[o[1]]!=null)&&(r[o[0]]=i[o[0]]=n[o[0]],r[o[1]]=i[o[1]]=n[o[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;j(["start","startValue","end","endValue"],function(i){r[i]=n[i]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,i=this._targetAxisInfoMap.keys(),o=0;oa[1];if(b&&!S&&!x)return!0;b&&(g=!0),S&&(v=!0),x&&(p=!0)}return g&&v&&p})}else Bf(c,function(h){if(o==="empty")s.setData(u=u.map(h,function(p){return l(p)?p:NaN}));else{var v={};v[h]=a,u.selectRange(v)}});Bf(c,function(h){u.setApproximateExtent(a,h)})}});function l(s){return s>=a[0]&&s<=a[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;Bf(["min","max"],function(i){var o=n.get(i+"Span"),a=n.get(i+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?o=en(r[0]+a,r,[0,100],!0):o!=null&&(a=en(o,[0,100],r,!0)-r[0]),t[i+"Span"]=o,t[i+"ValueSpan"]=a},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var i=Wee(r,[0,500]);i=Math.min(i,20);var o=t.axis.scale.rawExtentInfo;n[0]!==0&&o.setDeterminedMinMax("min",+r[0].toFixed(i)),n[1]!==100&&o.setDeterminedMinMax("max",+r[1].toFixed(i)),o.freeze()}},e}();function Vst(e,t,n){var r=[1/0,-1/0];Bf(n,function(a){sqe(r,a.getData(),t)});var i=e.getAxisModel(),o=Ure(i.axis.scale,i,r).calculate();return[o.min,o.max]}const Wst=Hst;var jst={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(a,l){var s=e.getComponent(tu(a),l);i(a,l,s,o)})})}t(function(i,o,a,l){a.__dzAxisProxy=null});var n=[];t(function(i,o,a,l){a.__dzAxisProxy||(a.__dzAxisProxy=new Wst(i,o,l,e),n.push(a.__dzAxisProxy))});var r=Ge();return j(n,function(i){j(i.getTargetSeriesModels(),function(o){r.set(o.uid,o)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).reset(n)}),n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var i=r.getDataPercentWindow(),o=r.getDataValueWindow();n.setCalculatedRange({start:i[0],end:i[1],startValue:o[0],endValue:o[1]})}})}};const Gst=jst;function Kst(e){e.registerAction("dataZoom",function(t,n){var r=Rst(n,t);j(r,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var cW=!1;function iL(e){cW||(cW=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,Gst),Kst(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Ust(e){e.registerComponentModel(kst),e.registerComponentView(zst),iL(e)}var xo=function(){function e(){}return e}(),Rae={};function Ff(e,t){Rae[e]=t}function Lae(e){return Rae[e]}var Xst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;j(this.option.feature,function(r,i){var o=Lae(i);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(n)),St(r,o.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Vt);const Yst=Xst;function qst(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=ir(r,o,i);ld(t.get("orient"),e,t.get("itemGap"),a.width,a.height),OC(e,r,o,i)}function Nae(e,t){var n=yv(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new Ht({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var Zst=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,o){var a=this.group;if(a.removeAll(),!n.get("show"))return;var l=+n.get("itemSize"),s=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),d=[];j(u,function(v,p){d.push(p)}),new Ql(this._featureNames||[],d).add(f).update(f).remove(pt(f,null)).execute(),this._featureNames=d;function f(v,p){var g=d[v],m=d[p],y=u[g],b=new hn(y,n,n.ecModel),S;if(o&&o.newTitle!=null&&o.featureName===g&&(y.title=o.newTitle),g&&!m){if(Qst(g))S={onclick:b.option.onclick,featureName:g};else{var x=Lae(g);if(!x)return;S=new x}c[g]=S}else if(S=c[m],!S)return;S.uid=mv("toolbox-feature"),S.model=b,S.ecModel=r,S.api=i;var $=S instanceof xo;if(!g&&m){$&&S.dispose&&S.dispose(r,i);return}if(!b.get("show")||$&&S.unusable){$&&S.remove&&S.remove(r,i);return}h(b,S,g),b.setIconStatus=function(C,T){var I=this.option,P=this.iconPaths;I.iconStatus=I.iconStatus||{},I.iconStatus[C]=T,P[C]&&(T==="emphasis"?ql:Zl)(P[C])},S instanceof xo&&S.render&&S.render(b,r,i,o)}function h(v,p,g){var m=v.getModel("iconStyle"),y=v.getModel(["emphasis","iconStyle"]),b=p instanceof xo&&p.getIcons?p.getIcons():v.get("icon"),S=v.get("title")||{},x,$;Fe(b)?(x={},x[g]=b):x=b,Fe(S)?($={},$[g]=S):$=S;var C=v.iconPaths={};j(x,function(T,I){var P=cy(T,{},{x:-l/2,y:-l/2,width:l,height:l});P.setStyle(m.getItemStyle());var M=P.ensureState("emphasis");M.style=y.getItemStyle();var O=new jt({style:{text:$[I],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:D4({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},r)},ignore:!0});P.setTextContent(O),Vd({el:P,componentModel:n,itemName:I,formatterParamsExtra:{title:$[I]}}),P.__title=$[I],P.on("mouseover",function(){var D=y.getItemStyle(),R=s?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";O.setStyle({fill:y.get("textFill")||D.fill||D.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),P.setTextConfig({position:y.get("textPosition")||R}),O.ignore=!n.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",I])!=="emphasis"&&i.leaveEmphasis(this),O.hide()}),(v.get(["iconStatus",I])==="emphasis"?ql:Zl)(P),a.add(P),P.on("click",ze(p.onclick,p,r,i,I)),C[I]=P})}qst(a,n,i),a.add(Nae(a.getBoundingRect(),n)),s||a.eachChild(function(v){var p=v.__title,g=v.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=v.getTextContent(),b=y&&y.ensureState("emphasis");if(b&&!Ze(b)&&p){var S=b.style||(b.style={}),x=oy(p,jt.makeFont(S)),$=v.x+a.x,C=v.y+a.y+l,T=!1;C+x.height>i.getHeight()&&(m.position="top",T=!0);var I=T?-5-x.height:l+10;$+x.width/2>i.getWidth()?(m.position=["100%",I],S.align="right"):$-x.width/2<0&&(m.position=[0,I],S.align="left")}})},t.prototype.updateView=function(n,r,i,o){j(this._features,function(a){a instanceof xo&&a.updateView&&a.updateView(a.model,r,i,o)})},t.prototype.remove=function(n,r){j(this._features,function(i){i instanceof xo&&i.remove&&i.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){j(this._features,function(i){i instanceof xo&&i.dispose&&i.dispose(n,r)})},t.type="toolbox",t}(Pn);function Qst(e){return e.indexOf("my")===0}const Jst=Zst;var eut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var i=this.model,o=i.get("name")||n.get("title.0.text")||"echarts",a=r.getZr().painter.getType()==="svg",l=a?"svg":i.get("type",!0)||"png",s=r.getConnectedDataURL({type:l,backgroundColor:i.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=Wt.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=o+"."+l,c.target="_blank",c.href=s;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||a){var f=s.split(","),h=f[0].indexOf("base64")>-1,v=a?decodeURIComponent(f[1]):f[1];h&&(v=window.atob(v));var p=o+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var g=v.length,m=new Uint8Array(g);g--;)m[g]=v.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,p)}else{var b=document.createElement("iframe");document.body.appendChild(b);var S=b.contentWindow,x=S.document;x.open("image/svg+xml","replace"),x.write(v),x.close(),S.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(b)}}else{var $=i.get("lang"),C='',T=window.open();T.document.write(C),T.document.title=o}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t}(xo);const tut=eut;var dW="__ec_magicType_stack__",nut=[["line","bar"],["stack"]],rut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),i={};return j(n.get("type"),function(o){r[o]&&(i[o]=r[o])}),i},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,i){var o=this.model,a=o.get(["seriesIndex",i]);if(fW[i]){var l={series:[]},s=function(d){var f=d.subType,h=d.id,v=fW[i](f,h,d,o);v&&(et(v,d.option),l.series.push(v));var p=d.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",b=d.getReferringComponents(y,Gn).models[0],S=b.componentIndex;l[y]=l[y]||[];for(var x=0;x<=S;x++)l[y][S]=l[y][S]||{};l[y][S].boundaryGap=i==="bar"}}};j(nut,function(d){Tt(d,i)>=0&&j(d,function(f){o.setIconStatus(f,"normal")})}),o.setIconStatus(i,"emphasis"),n.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},s);var u,c=i;i==="stack"&&(u=St({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",i])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:l,newTitle:u,featureName:"magicType"})}},t}(xo),fW={line:function(e,t,n,r){if(e==="bar")return St({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return St({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===dW;if(e==="line"||e==="bar")return r.setIconStatus("stack",i?"normal":"emphasis"),St({id:t,stack:i?"":dW},r.get(["option","stack"])||{},!0)}};sl({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const iut=rut;var XC=new Array(60).join("-"),Yh=" ";function out(e){var t={},n=[],r=[];return e.eachRawSeries(function(i){var o=i.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var a=o.getBaseAxis();if(a.type==="category"){var l=a.dim+"_"+a.index;t[l]||(t[l]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),t[l].series.push(i)}else n.push(i)}else n.push(i)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function aut(e){var t=[];return j(e,function(n,r){var i=n.categoryAxis,o=n.valueAxis,a=o.dim,l=[" "].concat(Oe(n.series,function(h){return h.name})),s=[i.model.getCategories()];j(n.series,function(h){var v=h.getRawData();s.push(h.getRawData().mapArray(v.mapDimension(a),function(p){return p}))});for(var u=[l.join(Yh)],c=0;c1||n>0&&!e.noHeader;return j(e.blocks,function(i){var o=jne(i);o>=t&&(t=o+ +(r&&(!o||VM(i)&&!i.noHeader)))}),t}return 0}function TUe(e,t,n,r){var i=t.noHeader,o=PUe(jne(t)),a=[],l=t.blocks||[];pi(!l||Ae(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Ve(u,s)){var c=new Nne(u[s],null);l.sort(function(p,g){return c.evaluate(p.sortParam,g.sortParam)})}else s==="seriesDesc"&&l.reverse()}j(l,function(p,g){var m=t.valueFormatter,y=Wne(p)(m?Te(Te({},e),{valueFormatter:m}):e,p,g>0?o.html:0,r);y!=null&&a.push(y)});var d=e.renderMode==="richText"?a.join(o.richText):WM(r,a.join(""),i?n:o.html);if(i)return d;var f=kM(t.header,"ordinal",e.useUTC),h=Vne(r,e.renderMode).nameStyle,v=Hne(r);return e.renderMode==="richText"?Gne(e,f,h)+o.richText+d:WM(r,'
'+jr(f)+"
"+d,n)}function IUe(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(S){return S=Ae(S)?S:[S],Oe(S,function(x,$){return kM(x,Ae(h)?h[$]:h,u)})};if(!(o&&a)){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),f=o?"":kM(s,"ordinal",u),h=t.valueType,v=a?[]:c(t.value,t.dataIndex),p=!l||!o,g=!l&&o,m=Vne(r,i),y=m.nameStyle,b=m.valueStyle;return i==="richText"?(l?"":d)+(o?"":Gne(e,f,y))+(a?"":OUe(e,v,p,g,b)):WM(r,(l?"":d)+(o?"":MUe(f,!l,y))+(a?"":AUe(v,p,g,b)),n)}}function vz(e,t,n,r,i,o){if(e){var a=Wne(e),l={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(l,e,0,o)}}function PUe(e){return{html:$Ue[e],richText:_Ue[e]}}function WM(e,t,n){var r='
',i="margin: "+n+"px 0 0",o=Hne(e);return'
'+t+r+"
"}function MUe(e,t,n){var r=t?"margin-left:2px":"";return''+jr(e)+""}function AUe(e,t,n,r){var i=n?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return e=Ae(e)?e:[e],''+Oe(e,function(a){return jr(a)}).join("  ")+""}function Gne(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function OUe(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Ae(t)?t.join(" "):t,o)}function Kne(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return _d(r)}function Une(e,t){var n=e.get("padding");return n!=null?n:t==="richText"?[8,10]:10}var M2=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Uee()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var i=r==="richText"?this._generateStyleName():null,o=yKe({color:n,type:t,renderMode:r,markerId:i});return Fe(o)?o:(this.richTextStyles[i]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};Ae(n)?j(n,function(o){return Te(r,o)}):Te(r,n);var i=this._generateStyleName();return this.richTextStyles[i]=r,"{"+i+"|"+t+"}"},e}();function Xne(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),a=o.length,l=t.getRawValue(n),s=Ae(l),u=Kne(t,n),c,d,f,h;if(a>1||s&&!a){var v=DUe(l,t,n,o,u);c=v.inlineValues,d=v.inlineValueTypes,f=v.blocks,h=v.inlineValues[0]}else if(a){var p=i.getDimensionInfo(o[0]);h=c=Wh(i,n,o[0]),d=p.type}else h=c=s?l[0]:l;var g=g4(t),m=g&&t.name||"",y=i.getName(n),b=r?m:y;return pr("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[pr("nameValue",{markerType:"item",markerColor:u,name:b,noName:!Zo(b),value:c,valueType:d,dataIndex:n})].concat(f||[])})}function DUe(e,t,n,r,i){var o=t.getData(),a=el(e,function(d,f,h){var v=o.getDimensionInfo(h);return d=d||v&&v.tooltip!==!1&&v.displayName!=null},!1),l=[],s=[],u=[];r.length?j(r,function(d){c(Wh(o,n,d),d)}):j(e,c);function c(d,f){var h=o.getDimensionInfo(f);!h||h.otherDims.tooltip===!1||(a?u.push(pr("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:d,valueType:h.type})):(l.push(d),s.push(h.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var $s=Ft();function L0(e,t){return e.getName(t)||e.getId(t)}var x1="__universalTransitionEnabled",LC=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=Sg({count:RUe,reset:LUe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var o=$s(this).sourceManager=new zne(this);o.prepareSource();var a=this.getInitialData(n,i);gz(a,this),this.dataTask.context.data=a,$s(this).dataBeforeProcessed=a,pz(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=vm(this),o=i?Sv(n):{},a=this.subType;Vt.hasClass(a)&&(a+="Series"),St(n,r.getTheme().get(this.subType)),St(n,this.getDefaultOption()),xd(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&bu(n,o,i)},t.prototype.mergeOption=function(n,r){n=St(this.option,n,!0),this.fillDataTextStyle(n.data);var i=vm(this);i&&bu(this.option,n,i);var o=$s(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(n,r);gz(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,$s(this).dataBeforeProcessed=a,pz(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(n){if(n&&!Oi(n))for(var r=["show"],i=0;ithis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var o=this.ecModel,a=H4.prototype.getColorFromPalette.call(this,n,r,i);return a||(a=o.getColorFromPalette(n,r,i)),a},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l=0&&i.push(a)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[L0(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[x1])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,o,a=this.option,l=a.selectedMode,s=r.length;if(!(!l||!s)){if(l==="series")a.selectedMap="all";else if(l==="multiple"){nt(a.selectedMap)||(a.selectedMap={});for(var u=a.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return Vt.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(Vt);qn(LC,EC);qn(LC,H4);nte(LC,Vt);function pz(e){var t=e.name;g4(e)||(e.name=EUe(e)||t)}function EUe(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return j(n,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function RUe(e){return e.model.getRawData().count()}function LUe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),NUe}function NUe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function gz(e,t){j(rm(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,pt(kUe,t))})}function kUe(e,t){var n=jM(e);return n&&n.setOutputEnd((t||this).count()),t}function jM(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}const _n=LC;var K4=function(){function e(){this.group=new lt,this.uid=yv("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();y4(K4);pC(K4);const Pn=K4;function Cv(){var e=Ft();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),l=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==l)&&"reset"}}var Yne=Ft(),BUe=Cv(),U4=function(){function e(){this.group=new lt,this.uid=yv("viewChart"),this.renderTask=Sg({plan:FUe,reset:zUe}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&yz(o,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&yz(o,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){Eu(this.group,t)},e.markUpdateMethod=function(t,n){Yne(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function mz(e,t,n){e&&dm(e)&&(t==="emphasis"?Zl:Ql)(e,n)}function yz(e,t,n){var r=wd(e,t),i=t&&t.highlightKey!=null?dGe(t.highlightKey):null;r!=null?j(rn(r),function(o){mz(e.getItemGraphicEl(o),n,i)}):e.eachItemGraphicEl(function(o){mz(o,n,i)})}y4(U4);pC(U4);function FUe(e){return BUe(e.model)}function zUe(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,l=i&&Yne(i).updateMethod,s=o?"incrementalPrepareRender":l&&a[l]?l:"render";return s!=="render"&&a[s](t,n,r,i),HUe[s]}var HUe={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const pn=U4;var QS="\0__throttleOriginMethod",bz="\0__throttleRate",Sz="\0__throttleType";function X4(e,t,n){var r,i=0,o=0,a=null,l,s,u,c;t=t||0;function d(){o=new Date().getTime(),a=null,e.apply(s,u||[])}var f=function(){for(var h=[],v=0;v=0?d():a=setTimeout(d,-l),i=r};return f.clear=function(){a&&(clearTimeout(a),a=null)},f.debounceNextCall=function(h){c=h},f}function $v(e,t,n,r){var i=e[t];if(i){var o=i[QS]||i,a=i[Sz],l=i[bz];if(l!==n||a!==r){if(n==null||!r)return e[t]=o;i=e[t]=X4(o,n,r==="debounce"),i[QS]=o,i[Sz]=r,i[bz]=n}return i}}function gm(e,t){var n=e[t];n&&n[QS]&&(n.clear&&n.clear(),e[t]=n[QS])}var xz=Ft(),wz={itemStyle:Cd(Jte,!0),lineStyle:Cd(Qte,!0)},VUe={lineStyle:"stroke",itemStyle:"fill"};function qne(e,t){var n=e.visualStyleMapper||wz[t];return n||(console.warn("Unknown style type '"+t+"'."),wz.itemStyle)}function Zne(e,t){var n=e.visualDrawType||VUe[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var WUe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=qne(e,r),a=o(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var s=Zne(e,r),u=a[s],c=Ze(u)?u:null,d=a.fill==="auto"||a.stroke==="auto";if(!a[s]||c||d){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[s]||(a[s]=f,n.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||Ze(a.fill)?f:a.fill,a.stroke=a.stroke==="auto"||Ze(a.stroke)?f:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var p=e.getDataParams(v),g=Te({},a);g[s]=c(p),h.setItemVisual(v,"style",g)}}}},Zv=new hn,jUe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=qne(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(a,l){var s=a.getRawDataItem(l);if(s&&s[r]){Zv.option=s[r];var u=i(Zv),c=a.ensureUniqueItemVisual(l,"style");Te(c,u),Zv.option.decal&&(a.setItemVisual(l,"decal",Zv.option.decal),Zv.option.decal.dirty=!0),o in u&&a.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},GUe={performRawSeries:!0,overallReset:function(e){var t=Ge();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),xz(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},o=n.getData(),a=xz(n).scope,l=n.visualStyleAccessPath||"itemStyle",s=Zne(n,l);o.each(function(u){var c=o.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],d=o.getItemVisual(c,"colorFromPalette");if(d){var f=o.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",v=r.count();f[s]=n.getColorFromPalette(h,a,v)}})}})}},N0=Math.PI;function KUe(e,t){t=t||{},et(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new lt,r=new Ht({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new jt({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Ht({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var a;return t.showSpinner&&(a=new P4({shape:{startAngle:-N0/2,endAngle:-N0/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:N0*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:N0*3/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var l=i.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-s*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:s),c=e.getHeight()/2;t.showSpinner&&a.setShape({cx:u,cy:c}),o.setShape({x:u-s,y:c-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var UUe=function(){function e(t,n,r,i){this._stageTaskMap=Ge(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,l=i&&i.modDataCount,s=l!=null?Math.ceil(l/a):null;return{step:a,modBy:s,modDataCount:l}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,l=t.get("large")&&o>=t.get("largeThreshold"),s=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:s,large:l}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=Ge();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;j(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";pi(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,n,r),i.overallReset&&this._createOverallStageTask(i,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var o=t.renderTask,a=o.context;a.model=n,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var o=!1,a=this;j(t,function(s,u){if(!(i.visualType&&i.visualType!==s.visualType)){var c=a._stageTaskMap.get(s.uid),d=c.seriesTaskMap,f=c.overallTask;if(f){var h,v=f.agentStubMap;v.each(function(g){l(i,g)&&(g.dirty(),h=!0)}),h&&f.dirty(),a.updatePayload(f,r);var p=a.getPerformArgs(f,i.block);v.each(function(g){g.perform(p)}),f.perform(p)&&(o=!0)}else d&&d.each(function(g,m){l(i,g)&&g.dirty();var y=a.getPerformArgs(g,i.block);y.skip=!s.performRawSeries&&n.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(y)&&(o=!0)})}});function l(s,u){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var o=this,a=n.seriesTaskMap,l=n.seriesTaskMap=Ge(),s=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):s?r.eachRawSeriesByType(s,c):u&&u(r,i).each(c);function c(d){var f=d.uid,h=l.set(f,a&&a.get(f)||Sg({plan:QUe,reset:JUe,count:tXe}));h.context={model:d,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(d,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var o=this,a=n.overallTask=n.overallTask||Sg({reset:XUe});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var l=a.agentStubMap,s=a.agentStubMap=Ge(),u=t.seriesType,c=t.getTargetSeries,d=!0,f=!1,h="";pi(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,v):c?c(r,i).each(v):(d=!1,j(r.getSeries(),v));function v(p){var g=p.uid,m=s.set(g,l&&l.get(g)||(f=!0,Sg({reset:YUe,onDirty:ZUe})));m.context={model:p,overallProgress:d},m.agent=a,m.__block=d,o._pipe(p,m)}f&&a.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return Ze(t)&&(t={overallReset:t,seriesType:nXe(t)}),t.uid=yv("stageHandler"),n&&(t.visualType=n),t},e}();function XUe(e){e.overallReset(e.ecModel,e.api,e.payload)}function YUe(e){return e.overallProgress&&qUe}function qUe(){this.agent.dirty(),this.getDownstream().dirty()}function ZUe(){this.agent&&this.agent.dirty()}function QUe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function JUe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=rn(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Oe(t,function(n,r){return Qne(r)}):eXe}var eXe=Qne(0);function Qne(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&h===u.length-f.length){var v=u.slice(0,h);v!=="data"&&(n.mainType=v,n[f.toLowerCase()]=s,c=!0)}}l.hasOwnProperty(u)&&(r[u]=s,c=!0),c||(i[u]=s)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,l=r.view;if(!a||!l)return!0;var s=n.cptQuery,u=n.dataQuery;return c(s,a,"mainType")&&c(s,a,"subType")&&c(s,a,"index","componentIndex")&&c(s,a,"name")&&c(s,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,n.otherQuery,i,o));function c(d,f,h,v){return d[h]==null||f[v||h]===d[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),GM=["symbol","symbolSize","symbolRotate","symbolOffset"],Tz=GM.concat(["symbolKeepAspect"]),aXe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a=0&&jc(s)?s:.5;var u=e.createRadialGradient(a,l,0,a,l,s);return u}function KM(e,t,n){for(var r=t.type==="radial"?wXe(e,t,n):xXe(e,t,n),i=t.colorStops,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Gt(e)?[e]:Ae(e)?e:null}function q4(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&$Xe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=Oe(n,function(o){return o/i}),r/=i)}return[n,r]}var _Xe=new il(!0);function tx(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Iz(e){return typeof e=="string"&&e!=="none"}function nx(e){var t=e.fill;return t!=null&&t!=="none"}function Pz(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function Mz(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function UM(e,t,n){var r=b4(t.image,t.__image,n);if(gC(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*l1),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function TXe(e,t,n,r){var i,o=tx(n),a=nx(n),l=n.strokePercent,s=l<1,u=!t.path;(!t.silent||s)&&u&&t.createPathProxy();var c=t.path||_Xe,d=t.__dirty;if(!r){var f=n.fill,h=n.stroke,v=a&&!!f.colorStops,p=o&&!!h.colorStops,g=a&&!!f.image,m=o&&!!h.image,y=void 0,b=void 0,S=void 0,x=void 0,$=void 0;(v||p)&&($=t.getBoundingRect()),v&&(y=d?KM(e,f,$):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(b=d?KM(e,h,$):t.__canvasStrokeGradient,t.__canvasStrokeGradient=b),g&&(S=d||!t.__canvasFillPattern?UM(e,f,t):t.__canvasFillPattern,t.__canvasFillPattern=S),m&&(x=d||!t.__canvasStrokePattern?UM(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=S),v?e.fillStyle=y:g&&(S?e.fillStyle=S:a=!1),p?e.strokeStyle=b:m&&(x?e.strokeStyle=x:o=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var T,I;e.setLineDash&&n.lineDash&&(i=q4(t),T=i[0],I=i[1]);var P=!0;(u||d&Nf)&&(c.setDPR(e.dpr),s?c.setContext(null):(c.setContext(e),P=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),P&&c.rebuildPath(e,s?l:1),T&&(e.setLineDash(T),e.lineDashOffset=I),r||(n.strokeFirst?(o&&Mz(e,n),a&&Pz(e,n)):(a&&Pz(e,n),o&&Mz(e,n))),T&&e.setLineDash([])}function IXe(e,t,n){var r=t.__image=b4(n.image,t.__image,t,t.onload);if(!(!r||!gC(r))){var i=n.x||0,o=n.y||0,a=t.getWidth(),l=t.getHeight(),s=r.width/r.height;if(a==null&&l!=null?a=l*s:l==null&&a!=null?l=a/s:a==null&&l==null&&(a=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,l)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,d=a-u,f=l-c;e.drawImage(r,u,c,d,f,i,o,a,l)}else e.drawImage(r,i,o,a,l)}}function PXe(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||pu,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=q4(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(tx(n)&&e.strokeText(i,n.x,n.y),nx(n)&&e.fillText(i,n.x,n.y)):(nx(n)&&e.fillText(i,n.x,n.y),tx(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var Az=["shadowBlur","shadowOffsetX","shadowOffsetY"],Oz=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function ore(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Pi(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?rd.opacity:a}(r||t.blend!==n.blend)&&(o||(Pi(e,i),o=!0),e.globalCompositeOperation=t.blend||rd.blend);for(var l=0;l0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[Nr]){if(this._disposed){this.id;return}var o,a,l;if(nt(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,l=r.transition,r=r.notMerge),this[Nr]=!0,!this._model||r){var s=new WKe(this._api),u=this._theme,c=this._model=new $ne;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(n,{replaceMerge:a},YM);var d={seriesTransition:l,optionChanged:!0};if(i)this[$i]={silent:o,updateParams:d},this[Nr]=!1,this.getZr().wakeUp();else{try{bf(this),_s.update.call(this,null,d)}catch(f){throw this[$i]=null,this[Nr]=!1,f}this._ssr||this._zr.flush(),this[$i]=null,this[Nr]=!1,Qv.call(this,o),Jv.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Wt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(Wt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return j(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,o=[],a=this;j(r,function(s){i.eachComponent({mainType:s},function(u){var c=a._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var l=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return j(o,function(s){s.group.ignore=!1}),l},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,o=Math.min,a=Math.max,l=1/0;if(Kz[i]){var s=l,u=l,c=-l,d=-l,f=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();j(wg,function(b,S){if(b.group===i){var x=r?b.getZr().painter.getSvgDom().innerHTML:b.renderToCanvas(rt(n)),$=b.getDom().getBoundingClientRect();s=o($.left,s),u=o($.top,u),c=a($.right,c),d=a($.bottom,d),f.push({dom:x,left:$.left,top:$.top})}}),s*=h,u*=h,c*=h,d*=h;var v=c-s,p=d-u,g=gu.createCanvas(),m=Z7(g,{renderer:r?"svg":"canvas"});if(m.resize({width:v,height:p}),r){var y="";return j(f,function(b){var S=b.left-s,x=b.top-u;y+=''+b.dom+""}),m.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Ht({shape:{x:0,y:0,width:v,height:p},style:{fill:n.connectedBackgroundColor}})),j(f,function(b){var S=new Er({style:{x:b.left*h-s,y:b.top*h-u,image:b.dom}});m.add(S)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return R2(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return R2(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,o,a=pg(i,n);return j(a,function(l,s){s.indexOf("Models")>=0&&j(l,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(s==="seriesModels"){var d=this._chartsMap[u.__viewId];d&&d.containPoint&&(o=o||d.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var i=this._model,o=pg(i,n,{defaultMainType:"series"}),a=o.seriesModel,l=a.getData(),s=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?l.indexOfRawIndex(o.dataIndex):null;return s!=null?Y4(l,s,r):fy(l,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;j(eYe,function(r){var i=function(o){var a=n.getModel(),l=o.target,s,u=r==="globalout";if(u?s={}:l&&Wc(l,function(v){var p=ut(v);if(p&&p.dataIndex!=null){var g=p.dataModel||a.getSeriesByIndex(p.seriesIndex);return s=g&&g.getDataParams(p.dataIndex,p.dataType,l)||{},!0}else if(p.eventData)return s=Te({},p.eventData),!0},!0),s){var c=s.componentType,d=s.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",d=s.seriesIndex);var f=c&&d!=null&&a.getComponent(c,d),h=f&&n[f.mainType==="series"?"_chartsMap":"_componentsMap"][f.__viewId];s.event=o,s.type=r,n._$eventProcessor.eventInfo={targetEl:l,packedEvent:s,model:f,view:h},n.trigger(r,s)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),j(xg,function(r,i){n._messageCenter.on(i,function(o){this.trigger(i,o)},n)}),j(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),sXe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&Jee(this.getDom(),J4,"");var r=this,i=r._api,o=r._model;j(r._componentsViews,function(a){a.dispose(o,i)}),j(r._chartsViews,function(a){a.dispose(o,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete wg[r.id]},t.prototype.resize=function(n){if(!this[Nr]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=n&&n.silent;this[$i]&&(o==null&&(o=this[$i].silent),i=!0,this[$i]=null),this[Nr]=!0;try{i&&bf(this),_s.update.call(this,{type:"resize",animation:Te({duration:0},n&&n.animation)})}catch(a){throw this[Nr]=!1,a}this[Nr]=!1,Qv.call(this,o),Jv.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(nt(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!qM[n]){var i=qM[n](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=Te({},n);return r.type=xg[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(nt(r)||(r={silent:!!r}),!!rx[n.type]&&this._model){if(this[Nr]){this._pendingActions.push(n);return}var i=r.silent;N2.call(this,n,i);var o=r.flush;o?this._zr.flush():o!==!1&&Wt.browser.weChat&&this._throttledZrFlush(),Qv.call(this,i),Jv.call(this,i)}},t.prototype.updateLabelLayout=function(){Xo.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){bf=function(d){var f=d._scheduler;f.restorePipelines(d._model),f.prepareStageTasks(),E2(d,!0),E2(d,!1),f.plan()},E2=function(d,f){for(var h=d._model,v=d._scheduler,p=f?d._componentsViews:d._chartsViews,g=f?d._componentsMap:d._chartsMap,m=d._zr,y=d._api,b=0;bf.get("hoverLayerThreshold")&&!Wt.node&&!Wt.worker&&f.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=d._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function a(d,f){var h=d.get("blendMode")||null;f.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function l(d,f){if(!d.preventAutoZ){var h=d.get("z")||0,v=d.get("zlevel")||0;f.eachRendered(function(p){return s(p,h,v,-1/0),!0})}}function s(d,f,h,v){var p=d.getTextContent(),g=d.getTextGuideLine(),m=d.isGroup;if(m)for(var y=d.childrenRef(),b=0;b0?{duration:p,delay:h.get("delay"),easing:h.get("easing")}:null;f.eachRendered(function(m){if(m.states&&m.states.emphasis){if(mh(m))return;if(m instanceof Mt&&fGe(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(v){m.stateTransition=g;var b=m.getTextContent(),S=m.getTextGuideLine();b&&(b.stateTransition=g),S&&(S.stateTransition=g)}m.__dirty&&i(m)}})}jz=function(d){return new(function(f){ge(h,f);function h(){return f!==null&&f.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return d._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var p=v.__ecComponentInfo;if(p!=null)return d._model.getComponent(p.mainType,p.index);v=v.parent}},h.prototype.enterEmphasis=function(v,p){Zl(v,p),co(d)},h.prototype.leaveEmphasis=function(v,p){Ql(v,p),co(d)},h.prototype.enterBlur=function(v){Ste(v),co(d)},h.prototype.leaveBlur=function(v){$4(v),co(d)},h.prototype.enterSelect=function(v){xte(v),co(d)},h.prototype.leaveSelect=function(v){wte(v),co(d)},h.prototype.getModel=function(){return d.getModel()},h.prototype.getViewOfComponentModel=function(v){return d.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return d.getViewOfSeriesModel(v)},h}(_ne))(d)},Sre=function(d){function f(h,v){for(var p=0;p=0)){Uz.push(n);var o=tre.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function _re(e,t){qM[e]=t}function lYe(e,t,n){var r=FXe("registerMap");r&&r(e,t,n)}var sYe=mUe;Ud(Z4,WUe);Ud(NC,jUe);Ud(NC,GUe);Ud(Z4,aXe);Ud(NC,lXe);Ud(vre,NXe);eR(Ine);$re(VXe,ZKe);_re("default",KUe);ul({type:id,event:id,update:id},kn);ul({type:g1,event:g1,update:g1},kn);ul({type:gg,event:gg,update:gg},kn);ul({type:m1,event:m1,update:m1},kn);ul({type:mg,event:mg,update:mg},kn);Cre("light",rXe);Cre("dark",iXe);var Xz=[],uYe={registerPreprocessor:eR,registerProcessor:$re,registerPostInit:rYe,registerPostUpdate:iYe,registerUpdateLifecycle:tR,registerAction:ul,registerCoordinateSystem:oYe,registerLayout:aYe,registerVisual:Ud,registerTransform:sYe,registerLoading:_re,registerMap:lYe,registerImpl:BXe,PRIORITY:ZXe,ComponentModel:Vt,ComponentView:Pn,SeriesModel:_n,ChartView:pn,registerComponentModel:function(e){Vt.registerClass(e)},registerComponentView:function(e){Pn.registerClass(e)},registerSeriesModel:function(e){_n.registerClass(e)},registerChartView:function(e){pn.registerClass(e)},registerSubTypeDefaulter:function(e,t){Vt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){AWe(e,t)}};function Pt(e){if(Ae(e)){j(e,function(t){Pt(t)});return}Tt(Xz,e)>=0||(Xz.push(e),Ze(e)&&(e={install:e}),e.install(uYe))}function ep(e){return e==null?0:e.length||1}function Yz(e){return e}var cYe=function(){function e(t,n,r,i,o,a){this._old=t,this._new=n,this._oldKeyGetter=r||Yz,this._newKeyGetter=i||Yz,this.context=o,this._diffModeMultiple=a==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var a=0;a1){var c=s.shift();s.length===1&&(r[l]=s[0]),this._update&&this._update(c,a)}else u===1?(r[l]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,i,a,"_newKeyGetter");for(var l=0;l1&&f===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[s]=null;else if(d===1&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[s]=null;else if(d===1&&f===1)this._update&&this._update(c,u),i[s]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[s]=null;else if(d>1)for(var h=0;h1)for(var l=0;l30}var tp=nt,Ts=Oe,mYe=typeof Int32Array=="undefined"?Array:Int32Array,yYe="e\0\0",qz=-1,bYe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],SYe=["_approximateExtent"],Zz,H0,np,rp,F2,ip,z2,xYe=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,i=!1;Ire(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],l={},s=!1,u={},c=0;c=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,l=i.getSource().sourceFormat,s=l===ko;if(s&&!i.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[n];return o==null&&(o=this.getVisual(n),Ae(o)?o=o.slice():tp(o)&&(o=Te({},o)),i[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,tp(n)?Te(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){tp(t)?Te(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?Te(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;PM(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){j(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Ts(this.dimensions,this._getDimInfo,this),this.hostModel)),F2(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];Ze(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(a4(arguments)))})},e.internalField=function(){Zz=function(t){var n=t._invertedIndicesMap;j(n,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,l=t._store;if(a){r=n[i]=new mYe(a.categories.length);for(var s=0;s1&&(s+="__ec__"+c),i[n]=s}}}(),e}();const fi=xYe;function hy(e,t){V4(e)||(e=W4(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Ge(),o=[],a=CYe(e,n,r,t.dimensionsCount),l=t.canOmitUnusedDimensions&&Are(a),s=r===e.dimensionsDefine,u=s?Mre(e):Pre(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var d=Ge(c),f=new Bne(a),h=0;h0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function CYe(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return j(t,function(o){var a;nt(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function $Ye(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var _Ye=function(){function e(t){this.coordSysDims=[],this.axisMap=Ge(),this.categoryAxisMap=Ge(),this.coordSysName=t}return e}();function TYe(e){var t=e.get("coordinateSystem"),n=new _Ye(t),r=IYe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var IYe={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",Gn).models[0],o=e.getReferringComponents("yAxis",Gn).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),Sf(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),Sf(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",Gn).models[0];t.coordSysDims=["single"],n.set("single",i),Sf(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",Gn).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Sf(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),Sf(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();j(o.parallelAxisIndex,function(l,s){var u=i.getComponent("parallelAxis",l),c=a[s];n.set(c,u),Sf(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=s))})}};function Sf(e){return e.get("type")==="category"}function PYe(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,o,a,l;MYe(t)?o=t:(a=t.schema,o=a.dimensions,l=t.store);var s=!!(e&&e.get("stack")),u,c,d,f;if(j(o,function(y,b){Fe(y)&&(o[b]=y={name:y}),s&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){d="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,v=c.type,p=0;j(o,function(y){y.coordDim===h&&p++});var g={name:d,coordDim:h,coordDimIndex:p,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:f,coordDim:f,coordDimIndex:p+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(l&&(g.storeDimIndex=l.ensureCalculationDimension(f,v),m.storeDimIndex=l.ensureCalculationDimension(d,v)),a.appendCalculationDimension(g),a.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:f,stackResultDimension:d}}function MYe(e){return!Ire(e.schema)}function Su(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Ore(e,t){return Su(e,t)?e.getCalculationInfo("stackResultDimension"):t}function AYe(e,t){var n=e.get("coordinateSystem"),r=dy.get(n),i;return t&&t.coordSysDims&&(i=Oe(t.coordSysDims,function(o){var a={name:o},l=t.axisMap.get(o);if(l){var s=l.get("type");a.type=ox(s)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function OYe(e,t,n){var r,i;return n&&j(e,function(o,a){var l=o.coordDim,s=n.categoryAxisMap.get(l);s&&(r==null&&(r=a),o.ordinalMeta=s.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function ds(e,t,n){n=n||{};var r=t.getSourceManager(),i,o=!1;e?(o=!0,i=W4(e)):(i=r.getSource(),o=i.sourceFormat===ko);var a=TYe(t),l=AYe(t,a),s=n.useEncodeDefaulter,u=Ze(s)?s:s?pt(bne,l,t):null,c={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},d=hy(i,c),f=OYe(d.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(d),v=PYe(t,{schema:d,store:h}),p=new fi(d,t);p.setCalculationInfo(v);var g=f!=null&&DYe(i)?function(m,y,b,S){return S===f?b:this.defaultDimValueGetter(m,y,b,S)}:null;return p.hasItemOption=!1,p.initData(o?i:h,null,g),p}function DYe(e){if(e.sourceFormat===ko){var t=EYe(e.data||[]);return!Ae(vv(t))}}function EYe(e){for(var t=0;tn[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();pC(Dre);const fs=Dre;var RYe=0,LYe=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++RYe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Oe(r,NYe);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Fe(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Ge(this.categories))},e}();function NYe(e){return nt(e)&&e.value!=null?e.value:e+""}const ZM=LYe;function QM(e){return e.type==="interval"||e.type==="log"}function kYe(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=Gee(o/t,!0);n!=null&&ar&&(a=i.interval=r);var l=i.intervalPrecision=Ere(a),s=i.niceTickExtent=[Mn(Math.ceil(e[0]/a)*a,l),Mn(Math.floor(e[1]/a)*a,l)];return BYe(s,e),i}function H2(e){var t=Math.pow(10,p4(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,Mn(n*t)}function Ere(e){return Ha(e)+2}function Qz(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function BYe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),Qz(e,0,t),Qz(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function kC(e,t){return e>=t[0]&&e<=t[1]}function BC(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function FC(e,t){return e*(t[1]-t[0])+t[0]}var Rre=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new ZM({})),Ae(i)&&(i=new ZM({categories:Oe(i,function(o){return nt(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Fe(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),kC(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),BC(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(FC(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,l=this._ordinalMeta.categories.length,s=Math.min(l,r.length);a=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(fs);fs.registerClass(Rre);const rR=Rre;var cc=Mn,Lre=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return kC(n,this._extent)},t.prototype.normalize=function(n){return BC(n,this._extent)},t.prototype.scale=function(n){return FC(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ere(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,l=[];if(!r)return l;var s=1e4;i[0]s)return[];var c=l.length?l[l.length-1].value:o[1];return i[1]>c&&(n?l.push({value:cc(c+r,a)}):l.push({value:i[1]})),l},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;ao[0]&&h0&&(o=o===null?l:Math.min(o,l))}n[r]=o}}return n}function Bre(e){var t=HYe(e),n=[];return j(e,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),l;if(o.type==="category")l=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var s=o.dim+"_"+o.index,u=t[s],c=Math.abs(a[1]-a[0]),d=o.scale.getExtent(),f=Math.abs(d[1]-d[0]);l=u?c/f*u:c}else{var h=r.getData();l=Math.abs(a[1]-a[0])/h.count()}var v=Ne(r.get("barWidth"),l),p=Ne(r.get("barMaxWidth"),l),g=Ne(r.get("barMinWidth")||(Wre(r)?.5:1),l),m=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:l,barWidth:v,barMaxWidth:p,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:oR(o),stackId:iR(r)})}),Fre(n)}function Fre(e){var t={};j(e,function(r,i){var o=r.axisKey,a=r.bandWidth,l=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},s=l.stacks;t[o]=l;var u=r.stackId;s[u]||l.autoWidthCount++,s[u]=s[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!s[u].width&&(s[u].width=c,c=Math.min(l.remainedWidth,c),l.remainedWidth-=c);var d=r.barMaxWidth;d&&(s[u].maxWidth=d);var f=r.barMinWidth;f&&(s[u].minWidth=f);var h=r.barGap;h!=null&&(l.gap=h);var v=r.barCategoryGap;v!=null&&(l.categoryGap=v)});var n={};return j(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,l=r.categoryGap;if(l==null){var s=Rt(o).length;l=Math.max(35-s*4,15)+"%"}var u=Ne(l,a),c=Ne(r.gap,1),d=r.remainedWidth,f=r.autoWidthCount,h=(d-u)/(f+(f-1)*c);h=Math.max(h,0),j(o,function(m){var y=m.maxWidth,b=m.minWidth;if(m.width){var S=m.width;y&&(S=Math.min(S,y)),b&&(S=Math.max(S,b)),m.width=S,d-=S+c*S,f--}else{var S=h;y&&yS&&(S=b),S!==h&&(m.width=S,d-=S+c*S,f--)}}),h=(d-u)/(f+(f-1)*c),h=Math.max(h,0);var v=0,p;j(o,function(m,y){m.width||(m.width=h),p=m,v+=m.width*(1+c)}),p&&(v-=p.width*c);var g=-v/2;j(o,function(m,y){n[i][y]=n[i][y]||{bandWidth:a,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function VYe(e,t,n){if(e&&t){var r=e[oR(t)];return r!=null&&n!=null?r[iR(n)]:r}}function zre(e,t){var n=kre(e,t),r=Bre(n);j(n,function(i){var o=i.getData(),a=i.coordinateSystem,l=a.getBaseAxis(),s=iR(i),u=r[oR(l)][s],c=u.offset,d=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:d})})}function Hre(e){return{seriesType:e,plan:Cv(),reset:function(t){if(Vre(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=n.getDimensionIndex(n.mapDimension(o.dim)),l=n.getDimensionIndex(n.mapDimension(i.dim)),s=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),d=Su(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),f=o.isHorizontal(),h=WYe(i,o),v=Wre(t),p=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(b,S){for(var x=b.count,$=v&&Wa(x*3),C=v&&s&&Wa(x*3),T=v&&Wa(x),I=r.master.getRect(),P=f?I.width:I.height,M,O=S.getStore(),D=0;(M=b.next())!=null;){var R=O.get(d?g:a,M),A=O.get(l,M),E=h,k=void 0;d&&(k=+R-O.get(a,M));var N=void 0,B=void 0,F=void 0,H=void 0;if(f){var V=r.dataToPoint([R,A]);if(d){var X=r.dataToPoint([k,A]);E=X[0]}N=E,B=V[1]+y,F=V[0]-E,H=m,Math.abs(F)0?n:1:n))}var jYe=function(e,t,n,r){for(;n>>1;e[i][1]i&&(this._approxInterval=i);var l=V0.length,s=Math.min(jYe(V0,this._approxInterval,0,l),l-1);this._interval=V0[s][1],this._minLevelUnit=V0[Math.max(s-1,0)][0]},t.prototype.parse=function(n){return Gt(n)?n:+rl(n)},t.prototype.contain=function(n){return kC(this.parse(n),this._extent)},t.prototype.normalize=function(n){return BC(this.parse(n),this._extent)},t.prototype.scale=function(n){return FC(n,this._extent)},t.type="time",t}(xu),V0=[["second",L4],["minute",N4],["hour",bg],["quarter-day",bg*6],["half-day",bg*12],["day",$o*1.2],["half-week",$o*3.5],["week",$o*7],["month",$o*31],["quarter",$o*95],["half-year",HF/2],["year",HF]];function GYe(e,t,n,r){var i=rl(t),o=rl(n),a=function(v){return WF(i,v,r)===WF(o,v,r)},l=function(){return a("year")},s=function(){return l()&&a("month")},u=function(){return s()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},f=function(){return d()&&a("second")},h=function(){return f()&&a("millisecond")};switch(e){case"year":return l();case"month":return s();case"day":return u();case"hour":return c();case"minute":return d();case"second":return f();case"millisecond":return h()}}function KYe(e,t){return e/=$o,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function UYe(e){var t=30*$o;return e/=t,e>6?6:e>3?3:e>2?2:1}function XYe(e){return e/=bg,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Jz(e,t){return e/=t?N4:L4,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function YYe(e){return Gee(e,!0)}function qYe(e,t,n){var r=new Date(e);switch(bh(t)){case"year":case"month":r[ine(n)](0);case"day":r[one(n)](1);case"hour":r[ane(n)](0);case"minute":r[lne(n)](0);case"second":r[sne(n)](0),r[une(n)](0)}return r.getTime()}function ZYe(e,t,n,r){var i=1e4,o=nne,a=0;function l(P,M,O,D,R,A,E){for(var k=new Date(M),N=M,B=k[D]();N1&&A===0&&O.unshift({value:O[0].value-N})}}for(var A=0;A=r[0]&&y<=r[1]&&d++)}var b=(r[1]-r[0])/t;if(d>b*1.5&&f>b/1.5||(u.push(g),d>b||e===o[h]))break}c=[]}}}for(var S=Zt(Oe(u,function(P){return Zt(P,function(M){return M.value>=r[0]&&M.value<=r[1]&&!M.notAdd})}),function(P){return P.length>0}),x=[],$=S.length-1,h=0;h0;)o*=10;var l=[Mn(eqe(r[0]/o)*o),Mn(JYe(r[1]/o)*o)];this._interval=o,this._niceExtent=l}},t.prototype.calcNiceExtent=function(n){Cg.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=jo(n)/jo(this.base),kC(n,this._extent)},t.prototype.normalize=function(n){return n=jo(n)/jo(this.base),BC(n,this._extent)},t.prototype.scale=function(n){return n=FC(n,this._extent),W0(this.base,n)},t.type="log",t}(fs),Kre=aR.prototype;Kre.getMinorTicks=Cg.getMinorTicks;Kre.getLabel=Cg.getLabel;function j0(e,t){return QYe(e,Ha(t))}fs.registerClass(aR);const tqe=aR;var nqe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&s>0&&!u&&(l=0),l<0&&s<0&&!c&&(s=0));var f=this._determinedMin,h=this._determinedMax;return f!=null&&(l=f,u=!0),h!=null&&(s=h,c=!0),{min:l,max:s,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(t,n){this[iqe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=rqe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),rqe={min:"_determinedMin",max:"_determinedMax"},iqe={min:"_dataMin",max:"_dataMax"};function Ure(e,t,n){var r=e.rawExtentInfo;return r||(r=new nqe(e,t,n),e.rawExtentInfo=r,r)}function G0(e,t){return t==null?null:nm(t)?NaN:e.parse(t)}function Xre(e,t){var n=e.type,r=Ure(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&n==="time"){var l=kre("bar",a),s=!1;if(j(l,function(d){s=s||d.getBaseAxis()===t.axis}),s){var u=Bre(l),c=oqe(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function oqe(e,t,n,r){var i=n.axis.getExtent(),o=Math.abs(i[1]-i[0]),a=VYe(r,n.axis);if(a===void 0)return{min:e,max:t};var l=1/0;j(a,function(h){l=Math.min(h.offset,l)});var s=-1/0;j(a,function(h){s=Math.max(h.offset+h.width,s)}),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=t-e,d=1-(l+s)/o,f=c/d-c;return t+=f*(s/u),e-=f*(l/u),{min:e,max:t}}function Gh(e,t){var n=t,r=Xre(e,n),i=r.extent,o=n.get("splitNumber");e instanceof tqe&&(e.base=n.get("logBase"));var a=e.type,l=n.get("interval"),s=a==="interval"||a==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?n.get("minInterval"):null,maxInterval:s?n.get("maxInterval"):null}),l!=null&&e.setInterval&&e.setInterval(l)}function zC(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new rR({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new Gre({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(fs.getClass(t)||xu)}}function aqe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function Tv(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,o){return e.scale.getFormattedLabel(i,o,r)}}(t):Fe(t)?function(r){return function(i){var o=e.scale.getLabel(i),a=r.replace("{value}",o!=null?o:"");return a}}(t):Ze(t)?function(r){return function(i,o){return n!=null&&(o=i.value-n),r(lR(e,i),o,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function lR(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function lqe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,o=n.getExtent();n instanceof rR?i=n.count():(r=n.getTicks(),i=r.length);var a=e.getLabelModel(),l=Tv(e),s,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;ce[1]&&(e[1]=i[1])})}var vy=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),cqe=1e-8;function t9(e,t){return Math.abs(e-t)i&&(r=a,i=s)}if(r)return fqe(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var i=[1/0,1/0],o=[-1/0,-1/0],a=this.geometries;return j(a,function(l){l.type==="polygon"?n9(l.exterior,i,o,n):j(l.points,function(s){n9(s,i,o,n)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(o[0])&&isFinite(o[1])||(i[0]=i[1]=o[0]=o[1]=0),r=new $t(i[0],i[1],o[0]-i[0],o[1]-i[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),i=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var o=0,a=i.length;o>1^-(l&1),s=s>>1^-(s&1),l+=i,s+=o,i=l,o=s,r.push([l/n,s/n])}return r}function pqe(e,t){return e=vqe(e),Oe(Zt(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,i=n.geometry,o=[];switch(i.type){case"Polygon":var a=i.coordinates;o.push(new r9(a[0],a.slice(1)));break;case"MultiPolygon":j(i.coordinates,function(s){s[0]&&o.push(new r9(s[0],s.slice(1)))});break;case"LineString":o.push(new i9([i.coordinates]));break;case"MultiLineString":o.push(new i9(i.coordinates))}var l=new Zre(r[t||"name"],o,r.cp);return l.properties=r,l})}var bm=Ft();function Jre(e,t){var n=Oe(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function gqe(e){var t=e.getLabelModel().get("customValues");if(t){var n=Tv(e),r=e.scale.getExtent(),i=Jre(e,t),o=Zt(i,function(a){return a>=r[0]&&a<=r[1]});return{labels:Oe(o,function(a){var l={value:a};return{formattedLabel:n(l),rawLabel:e.scale.getLabel(l),tickValue:a}})}}return e.type==="category"?yqe(e):Sqe(e)}function mqe(e,t){var n=e.getTickModel().get("customValues");if(n){var r=e.scale.getExtent(),i=Jre(e,n);return{ticks:Zt(i,function(o){return o>=r[0]&&o<=r[1]})}}return e.type==="category"?bqe(e,t):{ticks:Oe(e.scale.getTicks(),function(o){return o.value})}}function yqe(e){var t=e.getLabelModel(),n=eie(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function eie(e,t){var n=tie(e,"labels"),r=sR(t),i=nie(n,r);if(i)return i;var o,a;return Ze(r)?o=oie(e,r):(a=r==="auto"?xqe(e):r,o=iie(e,a)),rie(n,r,{labels:o,labelCategoryInterval:a})}function bqe(e,t){var n=tie(e,"ticks"),r=sR(t),i=nie(n,r);if(i)return i;var o,a;if((!t.get("show")||e.scale.isBlank())&&(o=[]),Ze(r))o=oie(e,r,!0);else if(r==="auto"){var l=eie(e,e.getLabelModel());a=l.labelCategoryInterval,o=Oe(l.labels,function(s){return s.tickValue})}else a=r,o=iie(e,a,!0);return rie(n,r,{ticks:o,tickCategoryInterval:a})}function Sqe(e){var t=e.scale.getTicks(),n=Tv(e);return{labels:Oe(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function tie(e,t){return bm(e)[t]||(bm(e)[t]=[])}function nie(e,t){for(var n=0;n40&&(l=Math.max(1,Math.floor(a/40)));for(var s=o[0],u=e.dataToCoord(s+1)-e.dataToCoord(s),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),f=0,h=0;s<=o[1];s+=l){var v=0,p=0,g=oy(n({value:s}),t.font,"center","top");v=g.width*1.3,p=g.height*1.3,f=Math.max(f,v,7),h=Math.max(h,p,7)}var m=f/c,y=h/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(m,y))),S=bm(e.model),x=e.getExtent(),$=S.lastAutoInterval,C=S.lastTickCount;return $!=null&&C!=null&&Math.abs($-b)<=1&&Math.abs(C-a)<=1&&$>b&&S.axisExtent0===x[0]&&S.axisExtent1===x[1]?b=$:(S.lastTickCount=a,S.lastAutoInterval=b,S.axisExtent0=x[0],S.axisExtent1=x[1]),b}function Cqe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function iie(e,t,n){var r=Tv(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),l=[],s=Math.max((t||0)+1,1),u=o[0],c=i.count();u!==0&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var d=Yre(e),f=a.get("showMinLabel")||d,h=a.get("showMaxLabel")||d;f&&u!==o[0]&&p(o[0]);for(var v=u;v<=o[1];v+=s)p(v);h&&v-s!==o[1]&&p(o[1]);function p(g){var m={value:g};l.push(n?g:{formattedLabel:r(m),rawLabel:i.getLabel(m),tickValue:g})}return l}function oie(e,t,n){var r=e.scale,i=Tv(e),o=[];return j(r.getTicks(),function(a){var l=r.getLabel(a),s=a.value;t(a.value,l)&&o.push(n?s:{formattedLabel:i(a),rawLabel:l,tickValue:s})}),o}var o9=[0,1],$qe=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return Wee(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),a9(r,i.count())),en(t,o9,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),a9(r,i.count()));var o=en(t,r,o9,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=mqe(this,n),i=r.ticks,o=Oe(i,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),a=n.get("alignWithLabel");return _qe(this,o,a,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=Oe(r,function(o){return Oe(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},e.prototype.getViewLabels=function(){return gqe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return wqe(this)},e}();function a9(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function _qe(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o=e.getExtent(),a,l;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1],tickValue:t[0].tickValue};else{var s=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/s;j(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();l=1+c[1]-t[i-1].tickValue,a={coord:t[i-1].coord+u*l,tickValue:c[1]+1},t.push(a)}var d=o[0]>o[1];f(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&f(o[0],t[0].coord)&&t.unshift({coord:o[0]}),f(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&f(a.coord,o[1])&&t.push({coord:o[1]});function f(h,v){return h=Mn(h),v=Mn(v),d?h>v:hi&&(i+=op);var h=Math.atan2(l,a);if(h<0&&(h+=op),h>=r&&h<=i||h+op>=r&&h+op<=i)return s[0]=c,s[1]=d,u-n;var v=n*Math.cos(r)+e,p=n*Math.sin(r)+t,g=n*Math.cos(i)+e,m=n*Math.sin(i)+t,y=(v-a)*(v-a)+(p-l)*(p-l),b=(g-a)*(g-a)+(m-l)*(m-l);return y0){t=t/180*Math.PI,Qo.fromArray(e[0]),cn.fromArray(e[1]),Rn.fromArray(e[2]),wt.sub(ja,Qo,cn),wt.sub(Fa,Rn,cn);var n=ja.len(),r=Fa.len();if(!(n<.001||r<.001)){ja.scale(1/n),Fa.scale(1/r);var i=ja.dot(Fa),o=Math.cos(t);if(o1&&wt.copy(oi,Rn),oi.toArray(e[1])}}}}function Oqe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Qo.fromArray(e[0]),cn.fromArray(e[1]),Rn.fromArray(e[2]),wt.sub(ja,cn,Qo),wt.sub(Fa,Rn,cn);var r=ja.len(),i=Fa.len();if(!(r<.001||i<.001)){ja.scale(1/r),Fa.scale(1/i);var o=ja.dot(t),a=Math.cos(n);if(o=s)wt.copy(oi,Rn);else{oi.scaleAndAdd(Fa,l/Math.tan(Math.PI/2-c));var d=Rn.x!==cn.x?(oi.x-cn.x)/(Rn.x-cn.x):(oi.y-cn.y)/(Rn.y-cn.y);if(isNaN(d))return;d<0?wt.copy(oi,cn):d>1&&wt.copy(oi,Rn)}oi.toArray(e[1])}}}}function j2(e,t,n,r){var i=n==="normal",o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var l=r.getModel("lineStyle").getLineStyle();i?e.useStyle(l):o.style=l}function Dqe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=Us(r[0],r[1]),o=Us(r[1],r[2]);if(!i||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,l=u1([],r[1],r[0],a/i),s=u1([],r[1],r[2],a/o),u=u1([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&x(-c/a,0,a);var p=e[0],g=e[a-1],m,y;b(),m<0&&$(-m,.8),y<0&&$(y,.8),b(),S(m,y,1),S(y,m,-1),b(),m<0&&C(-m),y<0&&C(y);function b(){m=p.rect[t]-r,y=i-g.rect[t]-g.rect[n]}function S(T,I,P){if(T<0){var M=Math.min(I,-T);if(M>0){x(M*P,0,a);var O=M+T;O<0&&$(-O*P,1)}else $(-T*P,1)}}function x(T,I,P){T!==0&&(u=!0);for(var M=I;M0)for(var O=0;O0;O--){var E=P[O-1]*A;x(-E,O,a)}}}function C(T){var I=T<0?-1:1;T=Math.abs(T);for(var P=Math.ceil(T/(a-1)),M=0;M0?x(P,0,M+1):x(-P,a-M-1,a),T-=P,T<=0)return}return u}function Eqe(e,t,n,r){return uie(e,"x","width",t,n,r)}function cie(e,t,n,r){return uie(e,"y","height",t,n,r)}function die(e){var t=[];e.sort(function(p,g){return g.priority-p.priority});var n=new $t(0,0,0,0);function r(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var i=0;i=0&&r.attr(o.oldLayoutSelect),Tt(f,"emphasis")>=0&&r.attr(o.oldLayoutEmphasis)),Kt(r,u,n,s)}else if(r.attr(u),!mv(r).valueAnimation){var d=vt(r.style.opacity,1);r.style.opacity=0,Sn(r,{style:{opacity:d}},n,s)}if(o.oldLayout=u,r.states.select){var h=o.oldLayoutSelect={};K0(h,u,U0),K0(h,r.states.select,U0)}if(r.states.emphasis){var v=o.oldLayoutEmphasis={};K0(v,u,U0),K0(v,r.states.emphasis,U0)}Zte(r,s,c,n,n)}if(i&&!i.ignore&&!i.invisible){var o=Nqe(i),a=o.oldLayout,p={points:i.shape.points};a?(i.attr({shape:a}),Kt(i,{shape:p},n)):(i.setShape(p),i.style.strokePercent=0,Sn(i,{style:{strokePercent:1}},n)),o.oldLayout=p}},e}();const Bqe=kqe;var K2=Ft();function Fqe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){var i=K2(n).labelManager;i||(i=K2(n).labelManager=new Bqe),i.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,n,r){var i=K2(n).labelManager;r.updatedSeries.forEach(function(o){i.addLabelsOfSeries(n.getViewOfSeriesModel(o))}),i.updateLayoutConfig(n),i.layout(n),i.processLabelsOverall()})}var U2=Math.sin,X2=Math.cos,fie=Math.PI,fc=Math.PI*2,zqe=180/fie,Hqe=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,n){this._add("M",t,n)},e.prototype.lineTo=function(t,n){this._add("L",t,n)},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){this._add("C",t,n,r,i,o,a)},e.prototype.quadraticCurveTo=function(t,n,r,i){this._add("Q",t,n,r,i)},e.prototype.arc=function(t,n,r,i,o,a){this.ellipse(t,n,r,r,0,i,o,a)},e.prototype.ellipse=function(t,n,r,i,o,a,l,s){var u=l-a,c=!s,d=Math.abs(u),f=Qs(d-fc)||(c?u>=fc:-u>=fc),h=u>0?u%fc:u%fc+fc,v=!1;f?v=!0:Qs(d)?v=!1:v=h>=fie==!!c;var p=t+r*X2(a),g=n+i*U2(a);this._start&&this._add("M",p,g);var m=Math.round(o*zqe);if(f){var y=1/this._p,b=(c?1:-1)*(fc-y);this._add("A",r,i,m,1,+c,t+r*X2(a+b),n+i*U2(a+b)),y>.01&&this._add("A",r,i,m,0,+c,p,g)}else{var S=t+r*X2(l),x=n+i*U2(l);this._add("A",r,i,m,+v,+c,S,x)}},e.prototype.rect=function(t,n,r,i){this._add("M",t,n),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,i,o,a,l,s,u){for(var c=[],d=this._p,f=1;f"}function qqe(e){return""}function dR(e,t){t=t||{};var n=t.newline?` +`:"";function r(i){var o=i.children,a=i.tag,l=i.attrs,s=i.text;return Yqe(a,l)+(a!=="style"?jr(s):s||"")+(o?""+n+Oe(o,function(u){return r(u)}).join(n)+n:"")+qqe(a)}return r(e)}function Zqe(e,t,n){n=n||{};var r=n.newline?` +`:"",i=" {"+r,o=r+"}",a=Oe(Rt(e),function(s){return s+i+Oe(Rt(e[s]),function(u){return u+":"+e[s][u]+";"}).join(r)+o}).join(r),l=Oe(Rt(t),function(s){return"@keyframes "+s+i+Oe(Rt(t[s]),function(u){return u+i+Oe(Rt(t[s][u]),function(c){var d=t[s][u][c];return c==="d"&&(d='path("'+d+'")'),c+":"+d+";"}).join(r)+o}).join(r)+o}).join(r);return!a&&!l?"":[""].join(r)}function tA(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function c9(e,t,n,r){return ur("svg","root",{width:e,height:t,xmlns:vie,"xmlns:xlink":pie,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var Qqe=0;function mie(){return Qqe++}var d9={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},yc="transform-origin";function Jqe(e,t,n){var r=Te({},e.shape);Te(r,t),e.buildPath(n,r);var i=new hie;return i.reset(Dee(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function eZe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[yc]=n+"px "+r+"px")}var tZe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function yie(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function nZe(e,t,n){var r=e.shape.paths,i={},o,a;if(j(r,function(s){var u=tA(n.zrId);u.animation=!0,HC(s,{},u,!0);var c=u.cssAnims,d=u.cssNodes,f=Rt(c),h=f.length;if(h){a=f[h-1];var v=c[a];for(var p in v){var g=v[p];i[p]=i[p]||{d:""},i[p].d+=g.d||""}for(var m in d){var y=d[m].animation;y.indexOf(a)>=0&&(o=y)}}}),!!o){t.d=!1;var l=yie(i,n);return o.replace(a,l)}}function f9(e){return Fe(e)?d9[e]?"cubic-bezier("+d9[e]+")":d4(e)?e:"":""}function HC(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof M4){var l=nZe(e,t,n);if(l)a.push(l);else if(!o)return}else if(!o)return;for(var s={},u=0;u0}).length){var q=yie(C,n);return q+" "+y[0]+" both"}}for(var g in s){var l=p(s[g]);l&&a.push(l)}if(a.length){var m=n.zrId+"-cls-"+mie();n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}function rZe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};h9(r,t,n,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,l=e.states.select&&e.states.select.style&&e.states.select.style.fill,s=e.currentStates.indexOf("select")>=0&&l||a;s&&(o=hM(s))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),h9(r,t,n,!0)}}function h9(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+mie(),n.cssStyleCache[i]=o,n.cssNodes["."+o+(r?":hover":"")]=e),t.class=t.class?t.class+" "+o:o}var Sm=Math.round;function bie(e){return e&&Fe(e.src)}function Sie(e){return e&&Ze(e.toDataURL)}function fR(e,t,n,r){Kqe(function(i,o){var a=i==="fill"||i==="stroke";a&&Oee(o)?wie(t,e,i,r):a&&f4(o)?Cie(n,e,i,r):e[i]=o,a&&r.ssr&&o==="none"&&(e["pointer-events"]="visible")},t,n,!1),cZe(n,e,r)}function hR(e,t){var n=OWe(t);n&&(n.each(function(r,i){r!=null&&(e[(u9+i).toLowerCase()]=r+"")}),t.isSilent()&&(e[u9+"silent"]="true"))}function v9(e){return Qs(e[0]-1)&&Qs(e[1])&&Qs(e[2])&&Qs(e[3]-1)}function iZe(e){return Qs(e[4])&&Qs(e[5])}function vR(e,t,n){if(t&&!(iZe(t)&&v9(t))){var r=n?10:1e4;e.transform=v9(t)?"translate("+Sm(t[4]*r)/r+" "+Sm(t[5]*r)/r+")":ZVe(t)}}function p9(e,t,n){for(var r=e.points,i=[],o=0;oo?(v=n[s+1]==null?null:n[s+1].elm,Tie(e,v,n,i,s)):ux(e,t,r,o))}function Bf(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(pR(e,t),nA(t.text)?Ra(r)&&Ra(i)?r!==i&&pZe(n,r,i):Ra(i)?(Ra(e.text)&&Y2(n,""),Tie(n,null,i,0,i.length-1)):Ra(r)?ux(n,r,0,r.length-1):Ra(e.text)&&Y2(n,""):e.text!==t.text&&(Ra(r)&&ux(n,r,0,r.length-1),Y2(n,t.text)))}function gZe(e,t){if(Mp(e,t))Bf(e,t);else{var n=e.elm,r=$ie(n);xm(t),r!==null&&(Dc(r,t.elm,_ie(n)),ux(r,[e],0,0))}return t}var mZe=0,yZe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=w9(),this.configLayer=w9(),this.storage=n,this._opts=r=Te({},r),this.root=t,this._id="zr"+mZe++,this._oldVNode=c9(r.width,r.height),t&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=gie("svg");pR(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",gZe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return m9(t,tA(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=tA(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis,o.ssr=this._opts.ssr;var a=[],l=this._bgVNode=bZe(r,i,this._backgroundColor,o);l&&a.push(l);var s=t.compress?null:this._mainVNode=ur("g","main",{},[]);this._paintList(n,o,s?s.children:a),s&&a.push(s);var u=Oe(Rt(o.defs),function(f){return o.defs[f]});if(u.length&&a.push(ur("defs","defs",{},u)),t.animation){var c=Zqe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var d=ur("style","stl",{},[],c);a.push(d)}}return c9(r,i,a,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},dR(this.renderToVNode({animation:vt(t.cssAnimation,!0),emphasis:vt(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:vt(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var i=t.length,o=[],a=0,l,s,u=0,c=0;c=0&&!(f&&s&&f[p]===s[p]);p--);for(var g=v-1;g>p;g--)a--,l=o[a-1];for(var m=p+1;m=l)}}for(var d=this.__startIndex;d15)break}}R.prevElClipPaths&&m.restore()};if(y)if(y.length===0)T=g.__endIndex;else for(var P=h.dpr,M=0;M0&&t>i[0]){for(s=0;st);s++);l=r[i[s]]}if(i.splice(s+1,0,t),r[t]=n,!n.virtual)if(l){var u=l.dom;u.nextSibling?a.insertBefore(n.dom,u.nextSibling):a.appendChild(n.dom)}else a.firstChild?a.insertBefore(n.dom,a.firstChild):a.appendChild(n.dom);n.painter||(n.painter=this)}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,i=0;i0?X0:0),this._needsManuallyCompositing),c.__builtin__||i4("ZLevel "+u+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==s&&(c.__dirty=!0),c.__startIndex=s,c.incremental?c.__drawIndex=-1:c.__drawIndex=s,n(s),o=c),i.__dirty&Gi&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=s))}n(s),this.eachBuiltinLayer(function(d,f){!d.__used&&d.getElementCount()>0&&(d.__dirty=!0,d.__startIndex=d.__endIndex=d.__drawIndex=0),d.__dirty&&d.__drawIndex<0&&(d.__drawIndex=d.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,j(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?St(r[t],n,!0):r[t]=n;for(var i=0;i-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(_n);const AZe=MZe;function Kh(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=Wh(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a=0&&r.push(t[o])}return r.join(" ")}var OZe=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this)||this;return a.updateData(n,r,i,o),a}return t.prototype._createSymbol=function(n,r,i,o,a){this.removeAll();var l=Yn(n,-1,-1,2,2,null,a);l.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),l.drift=DZe,this._symbolType=n,this.add(l)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Zl(this.childAt(0))},t.prototype.downplay=function(){Ql(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,o){this.silent=!1;var a=n.getItemVisual(r,"symbol")||"circle",l=n.hostModel,s=t.getSymbolSize(n,r),u=a!==this._symbolType,c=o&&o.disableAnimation;if(u){var d=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,n,r,s,d)}else{var f=this.childAt(0);f.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?f.attr(h):Kt(f,h,l,r),fa(f)}if(this._updateCommon(n,r,s,i,o),u){var f=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Sn(f,h,l,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,o,a){var l=this.childAt(0),s=n.hostModel,u,c,d,f,h,v,p,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,d=o.selectItemStyle,f=o.focus,h=o.blurScope,p=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,v=o.emphasisDisabled),!o||n.hasItemOption){var y=o&&o.itemModel?o.itemModel:n.getItemModel(r),b=y.getModel("emphasis");u=b.getModel("itemStyle").getItemStyle(),d=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),f=b.get("focus"),h=b.get("blurScope"),v=b.get("disabled"),p=vr(y),g=b.getShallow("scale"),m=y.getShallow("cursor")}var S=n.getItemVisual(r,"symbolRotate");l.attr("rotation",(S||0)*Math.PI/180||0);var x=Kd(n.getItemVisual(r,"symbolOffset"),i);x&&(l.x=x[0],l.y=x[1]),m&&l.attr("cursor",m);var $=n.getItemVisual(r,"style"),C=$.fill;if(l instanceof Er){var T=l.style;l.useStyle(Te({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},$))}else l.__isEmptyBrush?l.useStyle(Te({},$)):l.useStyle($),l.style.decal=null,l.setColor(C,a&&a.symbolInnerColor),l.style.strokeNoScale=!0;var I=n.getItemVisual(r,"liftZ"),P=this._z2;I!=null?P==null&&(this._z2=l.z2,l.z2+=I):P!=null&&(l.z2=P,this._z2=null);var M=a&&a.useNameLabel;Dr(l,p,{labelFetcher:s,labelDataIndex:r,defaultText:O,inheritColor:C,defaultOpacity:$.opacity});function O(A){return M?n.getName(A):Kh(n,A)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var D=l.ensureState("emphasis");D.style=u,l.ensureState("select").style=d,l.ensureState("blur").style=c;var R=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;D.scaleX=this._sizeX*R,D.scaleY=this._sizeY*R,this.setSymbolScale(1),In(this,f,h,v)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var o=this.childAt(0),a=ut(this).dataIndex,l=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var s=o.getTextContent();s&&yu(s,{style:{opacity:0}},r,{dataIndex:a,removeOpt:l,cb:function(){o.removeTextContent()}})}else o.removeTextContent();yu(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:n,removeOpt:l})},t.getSymbolSize=function(n,r){return _v(n.getItemVisual(r,"symbolSize"))},t}(lt);function DZe(e,t){this.parent.drift(e,t)}const py=OZe;function Z2(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function _9(e){return e!=null&&!nt(e)&&(e={isIgnore:e}),e||{}}function T9(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:vr(t),cursorStyle:t.get("cursor")}}var EZe=function(){function e(t){this.group=new lt,this._SymbolCtor=t||py}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=_9(n);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,l=n.disableAnimation,s=T9(t),u={disableAnimation:l},c=n.getSymbolPoint||function(d){return t.getItemLayout(d)};o||r.removeAll(),t.diff(o).add(function(d){var f=c(d);if(Z2(t,f,d,n)){var h=new a(t,d,s,u);h.setPosition(f),t.setItemGraphicEl(d,h),r.add(h)}}).update(function(d,f){var h=o.getItemGraphicEl(f),v=c(d);if(!Z2(t,v,d,n)){r.remove(h);return}var p=t.getItemVisual(d,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)r.remove(h),h=new a(t,d,s,u),h.setPosition(v);else{h.updateData(t,d,s,u);var m={x:v[0],y:v[1]};l?h.attr(m):Kt(h,m,i)}r.add(h),t.setItemGraphicEl(d,h)}).remove(function(d){var f=o.getItemGraphicEl(d);f&&f.fadeOut(function(){r.remove(f)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=T9(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=_9(r);function i(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o0?n=r[0]:r[1]<0&&(n=r[1]),n}function Mie(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function LZe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function NZe(e,t,n,r,i,o,a,l){for(var s=LZe(e,t),u=[],c=[],d=[],f=[],h=[],v=[],p=[],g=Pie(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b=i||p<0)break;if(sd(m,y)){if(s){p+=o;continue}break}if(p===n)e[o>0?"moveTo":"lineTo"](m,y),d=m,f=y;else{var b=m-u,S=y-c;if(b*b+S*S<.5){p+=o;continue}if(a>0){for(var x=p+o,$=t[x*2],C=t[x*2+1];$===m&&C===y&&g=r||sd($,C))h=m,v=y;else{P=$-u,M=C-c;var R=m-u,A=$-m,E=y-c,k=C-y,N=void 0,B=void 0;if(l==="x"){N=Math.abs(R),B=Math.abs(A);var F=P>0?1:-1;h=m-F*N*a,v=y,O=m+F*B*a,D=y}else if(l==="y"){N=Math.abs(E),B=Math.abs(k);var H=M>0?1:-1;h=m,v=y-H*N*a,O=m,D=y+H*B*a}else N=Math.sqrt(R*R+E*E),B=Math.sqrt(A*A+k*k),I=B/(B+N),h=m-P*a*(1-I),v=y-M*a*(1-I),O=m+P*a*I,D=y+M*a*I,O=Is(O,Ps($,m)),D=Is(D,Ps(C,y)),O=Ps(O,Is($,m)),D=Ps(D,Is(C,y)),P=O-m,M=D-y,h=m-P*N/B,v=y-M*N/B,h=Is(h,Ps(u,m)),v=Is(v,Ps(c,y)),h=Ps(h,Is(u,m)),v=Ps(v,Is(c,y)),P=m-h,M=y-v,O=m+P*B/N,D=y+M*B/N}e.bezierCurveTo(d,f,h,v,m,y),d=O,f=D}else e.lineTo(m,y)}u=m,c=y,p+=o}return g}var Aie=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),kZe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Aie},t.prototype.buildPath=function(n,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&sd(i[a*2-2],i[a*2-1]);a--);for(;o=0){var S=u?(v-s)*b+s:(h-l)*b+l;return u?[n,S]:[S,n]}l=h,s=v;break;case a.C:h=o[d++],v=o[d++],p=o[d++],g=o[d++],m=o[d++],y=o[d++];var x=u?BS(l,h,p,m,n,c):BS(s,v,g,y,n,c);if(x>0)for(var $=0;$=0){var S=u?lr(s,v,g,y,C):lr(l,h,p,m,C);return u?[n,S]:[S,n]}}l=m,s=y;break}}},t}(Mt),BZe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Aie),Oie=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new BZe},t.prototype.buildPath=function(n,r){var i=r.points,o=r.stackedOnPoints,a=0,l=i.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;l>0&&sd(i[l*2-2],i[l*2-1]);l--);for(;at){o?n.push(a(o,s,t)):i&&n.push(a(i,s,0),a(i,s,t));break}else i&&(n.push(a(i,s,0)),i=null),n.push(s),o=s}return n}function HZe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var l=e.getDimensionInfo(r[a].dimension);if(i=l&&l.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var s=t.getAxis(i),u=Oe(o.stops,function(b){return{coord:s.toGlobalCoord(s.dataToCoord(b.value)),color:b.color}}),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var f=zZe(u,i==="x"?n.getWidth():n.getHeight()),h=f.length;if(!h&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var v=10,p=f[0].coord-v,g=f[h-1].coord+v,m=g-p;if(m<.001)return"transparent";j(f,function(b){b.offset=(b.coord-p)/m}),f.push({offset:h?f[h-1].offset:.5,color:d[1]||"transparent"}),f.unshift({offset:h?f[0].offset:.5,color:d[0]||"transparent"});var y=new sy(0,0,0,0,f,!0);return y[i]=p,y[i+"2"]=g,y}}}function VZe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(i&&WZe(o,t))){var a=t.mapDimension(o.dim),l={};return j(o.getViewLabels(),function(s){var u=o.scale.getRawOrdinalNumber(s.tickValue);l[u]=1}),function(s){return!l.hasOwnProperty(t.get(a,s))}}}}function WZe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function jZe(e,t){return isNaN(e)||isNaN(t)}function GZe(e){for(var t=e.length/2;t>0&&jZe(e[t*2-2],e[t*2-1]);t--);return t-1}function O9(e,t){return[e[t*2],e[t*2+1]]}function KZe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,o,a,l=0,s=-1,u=0;u=t||o>=t&&a<=t){s=u;break}l=u,o=a}return{range:[l,s],t:(t-o)/(a-o)}}function Rie(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var B=v.getState("emphasis").style;B.lineWidth=+v.style.lineWidth+1}ut(v).seriesIndex=n.seriesIndex,In(v,E,k,N);var F=A9(n.get("smooth")),H=n.get("smoothMonotone");if(v.setShape({smooth:F,smoothMonotone:H,connectNulls:C}),p){var V=l.getCalculationInfo("stackedOnSeries"),X=0;p.useStyle(et(u.getAreaStyle(),{fill:O,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),V&&(X=A9(V.get("smooth"))),p.setShape({smooth:F,stackedOnSmooth:X,smoothMonotone:H,connectNulls:C}),Or(p,n,"areaStyle"),ut(p).seriesIndex=n.seriesIndex,In(p,E,k,N)}var Q=this._changePolyState;l.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=Q)}),this._polyline.onHoverStateChange=Q,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=c,this._step=P,this._valueOrigin=b,n.get("triggerLineEvent")&&(this.packEventData(n,v),p&&this.packEventData(n,p))},t.prototype.packEventData=function(n,r){ut(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,o){var a=n.getData(),l=wd(a,o);if(this._changePolyState("emphasis"),!(l instanceof Array)&&l!=null&&l>=0){var s=a.getLayout("points"),u=a.getItemGraphicEl(l);if(!u){var c=s[l*2],d=s[l*2+1];if(isNaN(c)||isNaN(d)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,d))return;var f=n.get("zlevel")||0,h=n.get("z")||0;u=new py(a,l),u.x=c,u.y=d,u.setZ(f,h);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=f,v.z=h,v.z2=this._polyline.z2+1),u.__temp=!0,a.setItemGraphicEl(l,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else pn.prototype.highlight.call(this,n,r,i,o)},t.prototype.downplay=function(n,r,i,o){var a=n.getData(),l=wd(a,o);if(this._changePolyState("normal"),l!=null&&l>=0){var s=a.getItemGraphicEl(l);s&&(s.__temp?(a.setItemGraphicEl(l,null),this.group.remove(s)):s.downplay())}else pn.prototype.downplay.call(this,n,r,i,o)},t.prototype._changePolyState=function(n){var r=this._polygon;GS(this._polyline,n),r&&GS(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new kZe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new Oie({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var o,a,l=r.getBaseAxis(),s=l.inverse;r.type==="cartesian2d"?(o=l.isHorizontal(),a=!1):r.type==="polar"&&(o=l.dim==="angle",a=!0);var u=n.hostModel,c=u.get("animationDuration");Ze(c)&&(c=c(null));var d=u.get("animationDelay")||0,f=Ze(d)?d(null):d;n.eachItemGraphicEl(function(h,v){var p=h;if(p){var g=[h.x,h.y],m=void 0,y=void 0,b=void 0;if(i)if(a){var S=i,x=r.pointToCoord(g);o?(m=S.startAngle,y=S.endAngle,b=-x[1]/180*Math.PI):(m=S.r0,y=S.r,b=x[0])}else{var $=i;o?(m=$.x,y=$.x+$.width,b=h.x):(m=$.y+$.height,y=$.y,b=h.y)}var C=y===m?0:(b-m)/(y-m);s&&(C=1-C);var T=Ze(d)?d(v):c*C+f,I=p.getSymbolPath(),P=I.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),P&&P.animateFrom({style:{opacity:0}},{duration:300,delay:T}),I.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var o=n.getModel("endLabel");if(Rie(n)){var a=n.getData(),l=this._polyline,s=a.getLayout("points");if(!s){l.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new jt({z2:200}),u.ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=GZe(s);c>=0&&(Dr(l,vr(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(d,f,h){return h!=null?Iie(a,h):Kh(a,d)},enableTextSetter:!0},UZe(o,r)),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,o,a,l,s){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var d=i.getLayout("points"),f=i.hostModel,h=f.get("connectNulls"),v=l.get("precision"),p=l.get("distance")||0,g=s.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,b=r.shape,S=y?m?b.x:b.y+b.height:m?b.x+b.width:b.y,x=(m?p:0)*(y?-1:1),$=(m?0:-p)*(y?-1:1),C=m?"x":"y",T=KZe(d,S,C),I=T.range,P=I[1]-I[0],M=void 0;if(P>=1){if(P>1&&!h){var O=O9(d,I[0]);u.attr({x:O[0]+x,y:O[1]+$}),a&&(M=f.getRawValue(I[0]))}else{var O=c.getPointOn(S,C);O&&u.attr({x:O[0]+x,y:O[1]+$});var D=f.getRawValue(I[0]),R=f.getRawValue(I[1]);a&&(M=ete(i,v,D,R,T.t))}o.lastFrameIndex=I[0]}else{var A=n===1||o.lastFrameIndex>0?I[0]:0,O=O9(d,A);a&&(M=f.getRawValue(A)),u.attr({x:O[0]+x,y:O[1]+$})}if(a){var E=mv(u);typeof E.setLabelText=="function"&&E.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(n,r,i,o,a,l,s){var u=this._polyline,c=this._polygon,d=n.hostModel,f=NZe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=f.current,v=f.stackedOnCurrent,p=f.next,g=f.stackedOnNext;if(a&&(v=Ms(f.stackedOnCurrent,f.current,i,a,s),h=Ms(f.current,null,i,a,s),g=Ms(f.stackedOnNext,f.next,i,a,s),p=Ms(f.next,null,i,a,s)),M9(h,p)>3e3||c&&M9(v,g)>3e3){u.stopAnimation(),u.setShape({points:p}),c&&(c.stopAnimation(),c.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=f.current,u.shape.points=h;var m={shape:{points:p}};f.current!==h&&(m.shape.__points=f.next),u.stopAnimation(),Kt(u,m,d),c&&(c.setShape({points:h,stackedOnPoints:v}),c.stopAnimation(),Kt(c,{shape:{stackedOnPoints:g}},d),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],b=f.status,S=0;St&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&a.type==="cartesian2d"&&o){var s=a.getBaseAxis(),u=a.getOtherAxis(s),c=s.getExtent(),d=r.getDevicePixelRatio(),f=Math.abs(c[1]-c[0])*(d||1),h=Math.round(l/f);if(isFinite(h)&&h>1){o==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h)):o==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/h));var v=void 0;Fe(o)?v=qZe[o]:Ze(o)&&(v=o),v&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,v,ZZe))}}}}}function QZe(e){e.registerChartView(YZe),e.registerSeriesModel(AZe),e.registerLayout(yy("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Lie("line"))}var Nie=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(n),l=o.dataToPoint(a);if(i)j(o.getAxes(),function(f,h){if(f.type==="category"&&r!=null){var v=f.getTicksCoords(),p=f.getTickModel().get("alignWithLabel"),g=a[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!p&&(g+=1),v.length<2)return;if(v.length===2){l[h]=f.toGlobalCoord(f.getExtent()[m?1:0]);return}for(var y=void 0,b=void 0,S=1,x=0;xg){b=($+y)/2;break}x===1&&(S=C-v[0].tickValue)}b==null&&(y?y&&(b=v[v.length-1].coord):b=v[0].coord),l[h]=f.toGlobalCoord(b)}});else{var s=this.getData(),u=s.getLayout("offset"),c=s.getLayout("size"),d=o.getBaseAxis().isHorizontal()?0:1;l[d]+=u+c/2}return l}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(_n);_n.registerClass(Nie);const cx=Nie;var JZe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return ds(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Ru(cx.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(cx);const eQe=JZe;var tQe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),nQe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new tQe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),l=Math.max(r.r,0),s=(l-a)*.5,u=a+s,c=r.startAngle,d=r.endAngle,f=r.clockwise,h=Math.PI*2,v=f?d-cMath.PI/2&&cl)return!0;l=d}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),l=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=l;++a)if(n.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,o){if(this._isOrderChangedWithinSameData(n,r,i)){var a=this._dataSort(n,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(n,r,i){var o=r.baseAxis,a=this._dataSort(n,o,function(l){return n.get(n.mapDimension(r.otherAxis.dim),l)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){fm(o,n,ut(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(pn),D9={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=J2(t.x,e.x),l=eT(t.x+t.width,i),s=J2(t.y,e.y),u=eT(t.y+t.height,o),c=li?l:a,t.y=d&&s>o?u:s,t.width=c?0:l-a,t.height=d?0:u-s,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=eT(t.r,e.r),o=J2(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},E9={cartesian2d:function(e,t,n,r,i,o,a,l,s){var u=new Ht({shape:Te({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,d=i?"height":"width";c[d]=0}return u},polar:function(e,t,n,r,i,o,a,l,s){var u=!i&&s?dx:Di,c=new u({shape:r,z2:1});c.name="item";var d=kie(i);if(c.calculateTextPosition=rQe(d,{isRoundCap:u===dx}),o){var f=c.shape,h=i?"r":"endAngle",v={};f[h]=i?r.r0:r.startAngle,v[h]=r[h],(l?Kt:Sn)(c,{shape:v},o)}return c}};function lQe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function R9(e,t,n,r,i,o,a,l){var s,u;o?(u={x:r.x,width:r.width},s={y:r.y,height:r.height}):(u={y:r.y,height:r.height},s={x:r.x,width:r.width}),l||(a?Kt:Sn)(n,{shape:s},t,i,null);var c=t?e.baseAxis.model:null;(a?Kt:Sn)(n,{shape:u},c,i)}function L9(e,t){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function cQe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function kie(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function k9(e,t,n,r,i,o,a,l){var s=t.getItemVisual(n,"style");if(l){if(!o.get("roundCap")){var c=e.shape,d=Kc(r.getModel("itemStyle"),c,!0);Te(c,d),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(s);var f=r.getShallow("cursor");f&&e.attr("cursor",f);var h=l?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",v=vr(r);Dr(e,v,{labelFetcher:o,labelDataIndex:n,defaultText:Kh(o.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var p=e.getTextContent();if(l&&p){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,iQe(e,g==="outside"?h:g,kie(a),r.get(["label","rotate"]))}qte(p,v,o.getRawValue(n),function(y){return Iie(t,y)});var m=r.getModel(["emphasis"]);In(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Or(e,r),cQe(i)&&(e.style.fill="none",e.style.stroke="none",j(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function dQe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var fQe=function(){function e(){}return e}(),B9=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new fQe},t.prototype.buildPath=function(n,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,l=[],s=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function hQe(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,l=[],s=[],u=e.barWidth,c=0,d=o.length/3;c=l[0]&&t<=l[0]+s[0]&&n>=l[1]&&n<=l[1]+s[1])return a[c]}return-1}function Bie(e,t,n){if(Xd(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function vQe(e,t,n){var r=e.type==="polar"?Di:Ht;return new r({shape:Bie(t,n,e),silent:!0,z2:0})}const pQe=aQe;function gQe(e){e.registerChartView(pQe),e.registerSeriesModel(eQe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,pt(zre,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Hre("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Lie("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var H9=Math.PI*2,Q0=Math.PI/180;function Fie(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function zie(e,t){var n=Fie(e,t),r=e.get("center"),i=e.get("radius");Ae(i)||(i=[0,i]);var o=Ne(n.width,t.getWidth()),a=Ne(n.height,t.getHeight()),l=Math.min(o,a),s=Ne(i[0],l/2),u=Ne(i[1],l/2),c,d,f=e.coordinateSystem;if(f){var h=f.dataToPoint(r);c=h[0]||0,d=h[1]||0}else Ae(r)||(r=[r,r]),c=Ne(r[0],o)+n.x,d=Ne(r[1],a)+n.y;return{cx:c,cy:d,r0:s,r:u}}function mQe(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),o=i.mapDimension("value"),a=Fie(r,n),l=zie(r,n),s=l.cx,u=l.cy,c=l.r,d=l.r0,f=-r.get("startAngle")*Q0,h=r.get("endAngle"),v=r.get("padAngle")*Q0;h=h==="auto"?f-H9:-h*Q0;var p=r.get("minAngle")*Q0,g=p+v,m=0;i.each(o,function(k){!isNaN(k)&&m++});var y=i.getSum(o),b=Math.PI/(y||m)*2,S=r.get("clockwise"),x=r.get("roseType"),$=r.get("stillShowZeroSum"),C=i.getDataExtent(o);C[0]=0;var T=S?1:-1,I=[f,h],P=T*v/2;S4(I,!S),f=I[0],h=I[1];var M=Hie(r);M.startAngle=f,M.endAngle=h,M.clockwise=S;var O=Math.abs(h-f),D=O,R=0,A=f;if(i.setLayout({viewRect:a,r:c}),i.each(o,function(k,N){var B;if(isNaN(k)){i.setItemLayout(N,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:s,cy:u,r0:d,r:x?NaN:c});return}x!=="area"?B=y===0&&$?b:k*b:B=O/m,BB?(H=A+T*B/2,V=H):(H=A+P,V=F-P),i.setItemLayout(N,{angle:B,startAngle:H,endAngle:V,clockwise:S,cx:s,cy:u,r0:d,r:x?en(k,C,[d,c]):c}),A=F}),Dn?m:g,x=Math.abs(b.label.y-n);if(x>=S.maxY){var $=b.label.x-t-b.len2*i,C=r+b.len,T=Math.abs($)e.unconstrainedWidth?null:h:null;r.setStyle("width",v)}var p=r.getBoundingRect();o.width=p.width;var g=(r.style.margin||0)+2.1;o.height=p.height+g,o.y-=(o.height-d)/2}}}function tT(e){return e.position==="center"}function SQe(e){var t=e.getData(),n=[],r,i,o=!1,a=(e.get("minShowLabelAngle")||0)*yQe,l=t.getLayout("viewRect"),s=t.getLayout("r"),u=l.width,c=l.x,d=l.y,f=l.height;function h($){$.ignore=!0}function v($){if(!$.ignore)return!0;for(var C in $.states)if($.states[C].ignore===!1)return!0;return!1}t.each(function($){var C=t.getItemGraphicEl($),T=C.shape,I=C.getTextContent(),P=C.getTextGuideLine(),M=t.getItemModel($),O=M.getModel("label"),D=O.get("position")||M.get(["emphasis","label","position"]),R=O.get("distanceToLabelLine"),A=O.get("alignTo"),E=Ne(O.get("edgeDistance"),u),k=O.get("bleedMargin"),N=M.getModel("labelLine"),B=N.get("length");B=Ne(B,u);var F=N.get("length2");if(F=Ne(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":V>0?"left":"right"}var ne=Math.PI,re=0,le=O.get("rotate");if(Gt(le))re=le*(ne/180);else if(D==="center")re=0;else if(le==="radial"||le===!0){var ie=V<0?-H+ne:-H;re=ie}else if(le==="tangential"&&D!=="outside"&&D!=="outer"){var de=Math.atan2(V,X);de<0&&(de=ne*2+de);var pe=X>0;pe&&(de=ne+de),re=de-ne}if(o=!!re,I.x=Q,I.y=K,I.rotation=re,I.setStyle({verticalAlign:"middle"}),ee){I.setStyle({align:q});var xe=I.states.select;xe&&(xe.x+=I.x,xe.y+=I.y)}else{var me=I.getBoundingRect().clone();me.applyTransform(I.getComputedTransform());var he=(I.style.margin||0)+2.1;me.y-=he/2,me.height+=he,n.push({label:I,labelLine:P,position:D,len:B,len2:F,minTurnAngle:N.get("minTurnAngle"),maxSurfaceAngle:N.get("maxSurfaceAngle"),surfaceNormal:new wt(V,X),linePoints:te,textAlign:q,labelDistance:R,labelAlignTo:A,edgeDistance:E,bleedMargin:k,rect:me,unconstrainedWidth:me.width,labelStyleWidth:I.style.width})}C.setTextConfig({inside:ee})}}),!o&&e.get("avoidLabelOverlap")&&bQe(n,r,i,s,u,f,c,d);for(var p=0;p0){for(var c=a.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d=o.r0}},t.type="pie",t}(pn);const CQe=wQe;function Iv(e,t,n){t=Ae(t)&&{coordDimensions:t}||Te({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=hy(r,t).dimensions,o=new fi(i,e);return o.initData(r,n),o}var $Qe=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}();const Sy=$Qe;var _Qe=Ft(),TQe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sy(ze(this.getData,this),ze(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Iv(this,{coordDimensions:["value"],encodeDefaulter:pt(F4,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=_Qe(r),o=i.seats;if(!o){var a=[];r.each(r.mapDimension("value"),function(s){a.push(s)}),o=i.seats=LWe(a,r.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,n);return l.percent=o[n]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(n){xd(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(_n);const IQe=TQe;function PQe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),a=r.get(o,i);return!(Gt(a)&&!isNaN(a)&&a<0)})}}}function MQe(e){e.registerChartView(CQe),e.registerSeriesModel(IQe),ire("pie",e.registerAction),e.registerLayout(pt(mQe,"pie")),e.registerProcessor(by("pie")),e.registerProcessor(PQe("pie"))}var AQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n==null?this.option.large?5e3:this.get("progressive"):n},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n==null?this.option.large?1e4:this.get("progressiveThreshold"):n},t.prototype.brushSelector=function(n,r,i){return i.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(_n);const OQe=AQe;var Wie=4,DQe=function(){function e(){}return e}(),EQe=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new DQe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var i=r.points,o=r.size,a=this.symbolProxy,l=a.shape,s=n.getContext?n.getContext():n,u=s&&o[0]=0;u--){var c=u*2,d=o[c]-l/2,f=o[c+1]-s/2;if(n>=d&&r>=f&&n<=d+l&&r<=f+s)return u}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.points,o=r.size,a=o[0],l=o[1],s=1/0,u=1/0,c=-1/0,d=-1/0,f=0;f=0&&(u.dataIndex=d+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const LQe=RQe;var NQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.updateData(o,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,i){var o=n.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var a=yy("").reset(n,r,i);a.progress&&a.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var i=this._symbolDraw,o=r.pipelineContext,a=o.large;return(!i||a!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=a?new LQe:new gy,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(pn);const kQe=NQe;var BQe=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Vt);const FQe=BQe;var iA=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Gn).models[0]},t.type="cartesian2dAxis",t}(Vt);qn(iA,vy);var jie={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},zQe=St({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},jie),gR=St({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},jie),HQe=St({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},gR),VQe=et({logBase:10},gR);const Gie={category:zQe,value:gR,time:HQe,log:VQe};var WQe={value:1,category:1,time:1,log:1};function Uh(e,t,n,r){j(WQe,function(i,o){var a=St(St({},Gie[o],!0),r,!0),l=function(s){ge(u,s);function u(){var c=s!==null&&s.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,d){var f=vm(this),h=f?Sv(c):{},v=d.getTheme();St(c,v.get(o+"Axis")),St(c,this.getDefaultOption()),c.type=W9(c),f&&bu(c,h,f)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=ZM.createByAxisModel(this))},u.prototype.getCategories=function(c){var d=this.option;if(d.type==="category")return c?d.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=a,u}(n);e.registerComponentModel(l)}),e.registerSubTypeDefaulter(t+"Axis",W9)}function W9(e){return e.type||(e.data?"category":"value")}var jQe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Oe(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Zt(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}();const GQe=jQe;var oA=["x","y"];function j9(e){return e.type==="interval"||e.type==="time"}var KQe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=oA,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!j9(n)||!j9(r))){var i=n.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),l=this.dataToPoint([i[1],o[1]]),s=i[1]-i[0],u=o[1]-o[0];if(!(!s||!u)){var c=(l[0]-a[0])/s,d=(l[1]-a[1])/u,f=a[0]-i[0]*c,h=a[1]-o[0]*d,v=this._transform=[c,0,0,d,f,h];this._invTransform=hv([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),o=this.dataToPoint(r),a=this.getArea(),l=new $t(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(l)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var o=n[0],a=n[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return Pr(i,n,this._transform);var l=this.getAxis("x"),s=this.getAxis("y");return i[0]=l.toGlobalCoord(l.dataToCoord(o,r)),i[1]=s.toGlobalCoord(s.dataToCoord(a,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),l=o.getExtent(),s=i.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(l[0],l[1]),u),Math.max(l[0],l[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return Pr(i,n,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(n[0]),r),i[1]=a.coordToData(a.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,a=Math.min(i[0],i[1])-n,l=Math.max(r[0],r[1])-o+n,s=Math.max(i[0],i[1])-a+n;return new $t(o,a,l,s)},t}(GQe),UQe=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this,n,r,i)||this;return l.index=0,l.type=o||"value",l.position=a||"bottom",l}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(ga);const XQe=UQe;function aA(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],l=i.position,s=a?"onZero":l,u=i.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,v=u==="x"?[d[2]-h,d[3]+h]:[d[0]-h,d[1]+h];if(a){var p=a.toGlobalCoord(a.dataToCoord(0));v[f.onZero]=Math.max(Math.min(p,v[1]),v[0])}o.position=[u==="y"?v[f[s]]:d[0],u==="x"?v[f[s]]:d[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[l],o.labelOffset=a?v[f[l]]-v[f.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),br(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=s==="top"?-m:m,o.z2=1,o}function G9(e){return e.get("coordinateSystem")==="cartesian2d"}function K9(e){var t={xAxisModel:null,yAxisModel:null};return j(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,Gn).models[0];t[r]=o}),t}var nT=Math.log;function Kie(e,t,n){var r=xu.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,l=r.getInterval.call(n),s=Xre(e,t),u=s.extent,c=s.fixMin,d=s.fixMax;if(e.type==="log"){var f=nT(e.base);u=[nT(u[0])/f,nT(u[1])/f]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var h=r.getExtent.call(e);c&&(u[0]=h[0]),d&&(u[1]=h[1]);var v=r.getInterval.call(e),p=u[0],g=u[1];if(c&&d)v=(g-p)/a;else if(c)for(g=u[0]+v*a;gu[0]&&isFinite(p)&&isFinite(u[0]);)v=H2(v),p=u[1]-v*a;else{var m=e.getTicks().length-1;m>a&&(v=H2(v));var y=v*a;g=Math.ceil(u[1]/v)*v,p=Mn(g-y),p<0&&u[0]>=0?(p=0,g=Mn(y)):g>0&&u[1]<=0&&(g=0,p=-Mn(y))}var b=(i[0].value-o[0].value)/l,S=(i[a].value-o[a].value)/l;r.setExtent.call(e,p+v*b,g+v*S),r.setInterval.call(e,v),(b||S)&&r.setNiceExtent.call(e,p+v,g-v)}var YQe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=oA,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var l,s=Rt(a),u=s.length;if(u){for(var c=[],d=u-1;d>=0;d--){var f=+s[d],h=a[f],v=h.model,p=h.scale;QM(p)&&v.get("alignTicks")&&v.get("interval")==null?c.push(h):(Gh(p,v),QM(p)&&(l=h))}c.length&&(l||(l=c.pop(),Gh(l.scale,l.model)),j(c,function(g){Kie(g.scale,g.model,l.scale)}))}}i(r.x),i(r.y);var o={};j(r.x,function(a){U9(r,"y",a,o)}),j(r.y,function(a){U9(r,"x",a,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=ir(i,{width:n.getWidth(),height:n.getHeight()});this._rect=a;var l=this._axesList;s(),o&&(j(l,function(u){if(!u.model.get(["axisLabel","inside"])){var c=lqe(u);if(c){var d=u.isHorizontal()?"height":"width",f=u.model.get(["axisLabel","margin"]);a[d]-=c[d]+f,u.position==="top"?a.y+=c.height+f:u.position==="left"&&(a.x+=c.width+f)}}}),s()),j(this._coordsList,function(u){u.calcAffineTransform()});function s(){j(l,function(u){var c=u.isHorizontal(),d=c?[0,a.width]:[0,a.height],f=u.inverse?1:0;u.setExtent(d[f],d[1-f]),qQe(u,c?a.x:a.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}nt(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i0?"top":"bottom",o="center"):lm(i-Js)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),Y9={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,l=[o[0],0],s=[o[1],0],u=l[0]>s[0];a&&(Pr(l,l,a),Pr(s,s,a));var c=Te({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Sr({shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Vh(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var f=t.get(["axisLine","symbol"]);if(f!=null){var h=t.get(["axisLine","symbolSize"]);Fe(f)&&(f=[f,f]),(Fe(h)||Gt(h))&&(h=[h,h]);var v=Kd(t.get(["axisLine","symbolOffset"])||0,h),p=h[0],g=h[1];j([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],function(m,y){if(f[y]!=="none"&&f[y]!=null){var b=Yn(f[y],-p/2,-g/2,p,g,c.stroke,!0),S=m.r+m.offset,x=u?s:l;b.attr({rotation:m.rotate,x:x[0]+S*Math.cos(e.rotation),y:x[1]-S*Math.sin(e.rotation),silent:!0,z2:11}),n.add(b)}})}}},axisTickLabel:function(e,t,n,r){var i=eJe(n,r,t,e),o=nJe(n,r,t,e);if(JQe(t,o,i),tJe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=sie(Oe(o,function(l){return{label:l,priority:l.z2,defaultAttr:{ignore:l.ignore}}}));die(a)}},axisName:function(e,t,n,r){var i=br(e.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=e.nameDirection,l=t.getModel("nameTextStyle"),s=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,d=[o==="start"?u[0]-c*s:o==="end"?u[1]+c*s:(u[0]+u[1])/2,Z9(o)?e.labelOffset+a*s:0],f,h=t.get("nameRotate");h!=null&&(h=h*Js/180);var v;Z9(o)?f=ud.innerTextLayout(e.rotation,h!=null?h:e.rotation,a):(f=QQe(e.rotation,o,h||0,u),v=e.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(f.rotation)),!isFinite(v)&&(v=null)));var p=l.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=br(e.nameTruncateMaxWidth,g.maxWidth,v),b=new jt({x:d[0],y:d[1],rotation:f.rotation,silent:ud.isLabelSilent(t),style:fn(l,{text:i,font:p,overflow:"truncate",width:y,ellipsis:m,fill:l.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:l.get("align")||f.textAlign,verticalAlign:l.get("verticalAlign")||f.textVerticalAlign}),z2:1});if(Wd({el:b,componentModel:t,itemName:i}),b.__fullText=i,b.anid="name",t.get("triggerEvent")){var S=ud.makeAxisEventDataBase(t);S.targetType="axisName",S.name=i,ut(b).eventData=S}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function QQe(e,t,n,r){var i=jee(n-e),o,a,l=r[0]>r[1],s=t==="start"&&!l||t!=="start"&&l;return lm(i-Js/2)?(a=s?"bottom":"top",o="center"):lm(i-Js*1.5)?(a=s?"top":"bottom",o="center"):(a="middle",iJs/2?o=s?"left":"right":o=s?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function JQe(e,t,n){if(!Yre(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],l=t[t.length-1],s=t[t.length-2],u=n[0],c=n[1],d=n[n.length-1],f=n[n.length-2];r===!1?(fo(o),fo(u)):q9(o,a)&&(r?(fo(a),fo(c)):(fo(o),fo(u))),i===!1?(fo(l),fo(d)):q9(s,l)&&(i?(fo(s),fo(f)):(fo(l),fo(d)))}}function fo(e){e&&(e.ignore=!0)}function q9(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=fC([]);return Vd(i,i,-e.rotation),n.applyTransform(kl([],i,e.getLocalTransform())),r.applyTransform(kl([],i,t.getLocalTransform())),n.intersect(r)}}function Z9(e){return e==="middle"||e==="center"}function Uie(e,t,n,r,i){for(var o=[],a=[],l=[],s=0;s=0||e===t}function sJe(e){var t=mR(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");a!=null&&(a=r.parse(a));var l=lA(n);o==null&&(i.status=l?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(a==null||a>s[1])&&(a=s[1]),a0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var p=s;v.color!=null&&(p=et({color:v.color},s));var g=St(rt(v),{boundaryGap:n,splitNumber:r,scale:i,axisLine:o,axisTick:a,axisLabel:l,name:v.text,showName:u,nameLocation:"end",nameGap:d,nameTextStyle:p,triggerEvent:f},!1);if(Fe(c)){var m=g.name;g.name=c.replace("{value}",m!=null?m:"")}else Ze(c)&&(g.name=c(g.name,g));var y=new hn(g,null,this.ecModel);return qn(y,vy.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:St({lineStyle:{color:"#bbb"}},ap.axisLine),axisLabel:J0(ap.axisLabel,!1),axisTick:J0(ap.axisTick,!1),splitLine:J0(ap.splitLine,!0),splitArea:J0(ap.splitArea,!0),indicator:[]},t}(Vt);const $Je=CJe;var _Je=["axisLine","axisTickLabel","axisName"],TJe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes(),o=Oe(i,function(a){var l=a.model.get("showName")?a.name:"",s=new es(a.model,{axisName:l,position:[r.cx,r.cy],rotation:a.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});j(o,function(a){j(_Je,a.add,a),this.group.add(a.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=n.get("shape"),a=n.getModel("splitLine"),l=n.getModel("splitArea"),s=a.getModel("lineStyle"),u=l.getModel("areaStyle"),c=a.get("show"),d=l.get("show"),f=s.get("color"),h=u.get("color"),v=Ae(f)?f:[f],p=Ae(h)?h:[h],g=[],m=[];function y(A,E,k){var N=k%E.length;return A[N]=A[N]||[],N}if(o==="circle")for(var b=i[0].getTicksCoords(),S=r.cx,x=r.cy,$=0;$3?1.4:a>1?1.2:1.1,c=o>0?u:1/u;oT(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:l,originY:s,isAvailableBehavior:null})}if(i){var d=Math.abs(o),f=(o>0?1:-1)*(d>3?.4:d>1?.15:.05);oT(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:f,originX:l,originY:s,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(n){if(!rH(this._zr,"globalPan")){var r=n.pinchScale>1?1.1:1/1.1;oT(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t}(No);function oT(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(Yl(r.event),Jie(e,t,n,r,i))}function Jie(e,t,n,r,i){i.isAvailableBehavior=ze(C1,null,n,r),e.trigger(t,i)}function C1(e,t,n){var r=n[e];return!e||r&&(!Fe(r)||t.event[r+"Key"])}const xy=NJe;function bR(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function SR(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var l=o.min||0,s=o.max||1/0;a=Math.max(Math.min(s,a),l)}var u=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var kJe={axisPointer:1,tooltip:1,brush:1};function VC(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!kJe.hasOwnProperty(r.mainType)&&i&&i.model!==n}function eoe(e){if(Fe(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var n=e;for(n.nodeType===9&&(n=n.firstChild);n.nodeName.toLowerCase()!=="svg"||n.nodeType!==1;)n=n.nextSibling;return n}var aT,fx={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},iH=Rt(fx),hx={"alignment-baseline":"textBaseline","stop-color":"stopColor"},oH=Rt(hx),BJe=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,n){n=n||{};var r=eoe(t);this._defsUsePending=[];var i=new lt;this._root=i;var o=[],a=r.getAttribute("viewBox")||"",l=parseFloat(r.getAttribute("width")||n.width),s=parseFloat(r.getAttribute("height")||n.height);isNaN(l)&&(l=null),isNaN(s)&&(s=null),Vi(r,i,null,!0,!1);for(var u=r.firstChild;u;)this._parseNode(u,i,o,null,!1,!1),u=u.nextSibling;HJe(this._defs,this._defsUsePending),this._defsUsePending=[];var c,d;if(a){var f=WC(a);f.length>=4&&(c={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(c&&l!=null&&s!=null&&(d=noe(c,{x:0,y:0,width:l,height:s}),!n.ignoreViewBox)){var h=i;i=new lt,i.add(h),h.scaleX=h.scaleY=d.scale,h.x=d.x,h.y=d.y}return!n.ignoreRootClip&&l!=null&&s!=null&&i.setClipPath(new Ht({shape:{x:0,y:0,width:l,height:s}})),{root:i,width:l,height:s,viewBoxRect:c,viewBoxTransform:d,named:o}},e.prototype._parseNode=function(t,n,r,i,o,a){var l=t.nodeName.toLowerCase(),s,u=i;if(l==="defs"&&(o=!0),l==="text"&&(a=!0),l==="defs"||l==="switch")s=n;else{if(!o){var c=aT[l];if(c&&Ve(aT,l)){s=c.call(this,t,n);var d=t.getAttribute("name");if(d){var f={name:d,namedFrom:null,svgNodeTagLower:l,el:s};r.push(f),l==="g"&&(u=f)}else i&&r.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:s});n.add(s)}}var h=aH[l];if(h&&Ve(aH,l)){var v=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=v)}}if(s&&s.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,s,r,u,o,a):g.nodeType===3&&a&&this._parseText(g,s),g=g.nextSibling},e.prototype._parseText=function(t,n){var r=new um({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),FJe(r,n);var i=r.style,o=i.fontSize;o&&o<9&&(i.fontSize=9,r.scaleX*=o/9,r.scaleY*=o/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var l=r.getBoundingRect();return this._textX+=l.width,n.add(r),r},e.internalField=function(){aT={g:function(t,n){var r=new lt;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r},rect:function(t,n){var r=new Ht;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(t,n){var r=new Du;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,n){var r=new Sr;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(t,n){var r=new I4;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(t,n){var r=t.getAttribute("points"),i;r&&(i=uH(r));var o=new Ei({shape:{points:i||[]},silent:!0});return ho(n,o),Vi(t,o,this._defsUsePending,!1,!1),o},polyline:function(t,n){var r=t.getAttribute("points"),i;r&&(i=uH(r));var o=new Ni({shape:{points:i||[]},silent:!0});return ho(n,o),Vi(t,o,this._defsUsePending,!1,!1),o},image:function(t,n){var r=new Er;return ho(n,r),Vi(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,n){var r=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var l=new lt;return ho(n,l),Vi(t,l,this._defsUsePending,!1,!0),l},tspan:function(t,n){var r=t.getAttribute("x"),i=t.getAttribute("y");r!=null&&(this._textX=parseFloat(r)),i!=null&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",l=new lt;return ho(n,l),Vi(t,l,this._defsUsePending,!1,!0),this._textX+=parseFloat(o),this._textY+=parseFloat(a),l},path:function(t,n){var r=t.getAttribute("d")||"",i=Mte(r);return ho(n,i),Vi(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),aH={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new sy(t,n,r,i);return lH(e,o),sH(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new Vte(t,n,r);return lH(e,i),sH(e,i),i}};function lH(e,t){var n=e.getAttribute("gradientUnits");n==="userSpaceOnUse"&&(t.global=!0)}function sH(e,t){for(var n=e.firstChild;n;){if(n.nodeType===1&&n.nodeName.toLocaleLowerCase()==="stop"){var r=n.getAttribute("offset"),i=void 0;r&&r.indexOf("%")>0?i=parseInt(r,10)/100:r?i=parseFloat(r):i=0;var o={};toe(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function ho(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),et(t.__inheritedStyle,e.__inheritedStyle))}function uH(e){for(var t=WC(e),n=[],r=0;r0;o-=2){var a=r[o],l=r[o-1],s=WC(a);switch(i=i||qi(),l){case"translate":tl(i,i,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":c4(i,i,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":Vd(i,i,-parseFloat(s[0])*lT,[parseFloat(s[1]||"0"),parseFloat(s[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(s[0])*lT);kl(i,[1,0,u,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(s[0])*lT);kl(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(s[0]),i[1]=parseFloat(s[1]),i[2]=parseFloat(s[2]),i[3]=parseFloat(s[3]),i[4]=parseFloat(s[4]),i[5]=parseFloat(s[5]);break}}t.setLocalTransform(i)}}var dH=/([^\s:;]+)\s*:\s*([^:;]+)/g;function toe(e,t,n){var r=e.getAttribute("style");if(r){dH.lastIndex=0;for(var i;(i=dH.exec(r))!=null;){var o=i[1],a=Ve(fx,o)?fx[o]:null;a&&(t[a]=i[2]);var l=Ve(hx,o)?hx[o]:null;l&&(n[l]=i[2])}}}function GJe(e,t,n){for(var r=0;r0,g={api:r,geo:s,mapOrGeoModel:t,data:l,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:f};s.resourceType==="geoJSON"?this._buildGeoJSON(g):s.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,n,r),this._updateMapSelectHandler(t,u,r,i)},e.prototype._buildGeoJSON=function(t){var n=this._regionsGroupByName=Ge(),r=Ge(),i=this._regionsGroup,o=t.transformInfoRaw,a=t.mapOrGeoModel,l=t.data,s=t.geo.projection,u=s&&s.stream;function c(h,v){return v&&(h=v(h)),h&&[h[0]*o.scaleX+o.x,h[1]*o.scaleY+o.y]}function d(h){for(var v=[],p=!u&&s&&s.project,g=0;g=0)&&(f=i);var h=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Dr(t,vr(r),{labelFetcher:f,labelDataIndex:d,defaultText:n},h);var v=t.getTextContent();if(v&&(roe(v).ignore=v.ignore,t.textConfig&&a)){var p=t.getBoundingRect().clone();t.textConfig.layoutRect=p,t.textConfig.position=[(a[0]-p.x)/p.width*100+"%",(a[1]-p.y)/p.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function gH(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):ut(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function mH(e,t,n,r,i){e.data||Wd({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function yH(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return In(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&cGe(t,i,n),a}function bH(e,t,n){var r=[],i;function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var l=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(s,u){isFinite(s)&&isFinite(u)&&i.push([s,u])},sphere:function(){}});return!n&&l.polygonStart(),j(e,function(s){l.lineStart();for(var u=0;u-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(_n);const vet=het;function pet(e,t){var n={};return j(e,function(r){r.each(r.mapDimension("value"),function(i,o){var a="ec-"+r.getName(o);n[a]=n[a]||[],isNaN(i)||n[a].push(i)})}),e[0].map(e[0].mapDimension("value"),function(r,i){for(var o="ec-"+e[0].getName(i),a=0,l=1/0,s=-1/0,u=n[o].length,c=0;c1?(S.width=b,S.height=b/g):(S.height=b,S.width=b*g),S.y=y[1]-S.height/2,S.x=y[0]-S.width/2;else{var x=e.getBoxLayoutParams();x.aspect=g,S=ir(x,{width:v,height:p})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function xet(e,t){j(t.get("geoCoord"),function(n,r){e.addGeoCoord(r,n)})}var wet=function(){function e(){this.dimensions=ooe}return e.prototype.create=function(t,n){var r=[];function i(a){return{nameProperty:a.get("nameProperty"),aspectScale:a.get("aspectScale"),projection:a.get("projection")}}t.eachComponent("geo",function(a,l){var s=a.get("map"),u=new CH(s+l,s,Te({nameMap:a.get("nameMap")},i(a)));u.zoomLimit=a.get("scaleLimit"),r.push(u),a.coordinateSystem=u,u.model=a,u.resize=$H,u.resize(a,n)}),t.eachSeries(function(a){var l=a.get("coordinateSystem");if(l==="geo"){var s=a.get("geoIndex")||0;a.coordinateSystem=r[s]}});var o={};return t.eachSeriesByType("map",function(a){if(!a.getHostGeoModel()){var l=a.getMapType();o[l]=o[l]||[],o[l].push(a)}}),j(o,function(a,l){var s=Oe(a,function(c){return c.get("nameMap")}),u=new CH(l,l,Te({nameMap:o4(s)},i(a[0])));u.zoomLimit=br.apply(null,Oe(a,function(c){return c.get("scaleLimit")})),r.push(u),u.resize=$H,u.resize(a[0],n),j(a,function(c){c.coordinateSystem=u,xet(u,c)})}),r},e.prototype.getFilledRegions=function(t,n,r,i){for(var o=(t||[]).slice(),a=Ge(),l=0;l=0;a--){var l=i[a];l.hierNode={defaultAncestor:null,ancestor:l,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},n.push(l)}}function Oet(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){Ret(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=Let(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function Det(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function TH(e){return arguments.length?e:Bet}function Ap(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function Eet(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Ret(e){for(var t=e.children,n=t.length,r=0,i=0;--n>=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function Let(e,t,n,r){if(t){for(var i=e,o=e,a=o.parentNode.children[0],l=t,s=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=l.hierNode.modifier;l=sT(l),o=uT(o),l&&o;){i=sT(i),a=uT(a),i.hierNode.ancestor=e;var f=l.hierNode.prelim+d-o.hierNode.prelim-u+r(l,o);f>0&&(ket(Net(l,e,n),e,f),u+=f,s+=f),d+=l.hierNode.modifier,u+=o.hierNode.modifier,s+=i.hierNode.modifier,c+=a.hierNode.modifier}l&&!sT(i)&&(i.hierNode.thread=l,i.hierNode.modifier+=d-s),o&&!uT(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function sT(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function uT(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function Net(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function ket(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function Bet(e,t){return e.parentNode===t.parentNode?1:2}var Fet=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),zet=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Fet},t.prototype.buildPath=function(n,r){var i=r.childPoints,o=i.length,a=r.parentPoint,l=i[0],s=i[o-1];if(o===1){n.moveTo(a[0],a[1]),n.lineTo(l[0],l[1]);return}var u=r.orient,c=u==="TB"||u==="BT"?0:1,d=1-c,f=Ne(r.forkPosition,1),h=[];h[c]=a[c],h[d]=a[d]+(s[d]-a[d])*f,n.moveTo(a[0],a[1]),n.lineTo(h[0],h[1]),n.moveTo(l[0],l[1]),h[c]=l[c],n.lineTo(h[0],h[1]),h[c]=s[c],n.lineTo(h[0],h[1]),n.lineTo(s[0],s[1]);for(var v=1;vy.x,x||(S=S-Math.PI));var C=x?"left":"right",T=l.getModel("label"),I=T.get("rotate"),P=I*(Math.PI/180),M=g.getTextContent();M&&(g.setTextConfig({position:T.get("position")||C,rotation:I==null?-S:P,origin:"center"}),M.setStyle("verticalAlign","middle"))}var O=l.get(["emphasis","focus"]),D=O==="relative"?rm(a.getAncestorsIndices(),a.getDescendantIndices()):O==="ancestor"?a.getAncestorsIndices():O==="descendant"?a.getDescendantIndices():null;D&&(ut(n).focus=D),Vet(i,a,c,n,v,h,p,r),n.__edge&&(n.onHoverStateChange=function(R){if(R!=="blur"){var A=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);A&&A.hoverState===ly||GS(n.__edge,R)}})}function Vet(e,t,n,r,i,o,a,l){var s=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),d=e.getOrient(),f=e.get(["lineStyle","curveness"]),h=e.get("edgeForkPosition"),v=s.getModel("lineStyle").getLineStyle(),p=r.__edge;if(u==="curve")t.parentNode&&t.parentNode!==n&&(p||(p=r.__edge=new wC({shape:cA(c,d,f,i,i)})),Kt(p,{shape:cA(c,d,f,o,a)},e));else if(u==="polyline"&&c==="orthogonal"&&t!==n&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;yn&&(n=i.height)}this.height=n+1},e.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var n=0,r=this.children,i=r.length;n=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,n)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var n=this.hostTree,r=n.data.getItemModel(this.dataIndex);return r.getModel(t)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(t,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,n)},e.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,n=0;n=0){var r=n.getData().tree.root,i=e.targetNode;if(Fe(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(o!=null&&(i=r.getNodeById(o)))return{node:i}}}function foe(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function _R(e,t){var n=foe(e);return Tt(n,t)>=0}function jC(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var Jet=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.hasSymbolVisual=!0,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n){var r={name:n.name,children:n.data},i=n.leaves||{},o=new hn(i,this,this.ecModel),a=$R.createTree(r,this,l);function l(d){d.wrapMethod("getItemModel",function(f,h){var v=a.getNodeByDataIndex(h);return v&&v.children.length&&v.isExpand||(f.parentModel=o),f})}var s=0;a.eachNode("preorder",function(d){d.depth>s&&(s=d.depth)});var u=n.expandAndCollapse,c=u&&n.initialTreeDepth>=0?n.initialTreeDepth:s;return a.root.eachNode("preorder",function(d){var f=d.hostTree.data.getRawDataItem(d.dataIndex);d.isExpand=f&&f.collapsed!=null?!f.collapsed:d.depth<=c}),a.data},t.prototype.getOrient=function(){var n=this.get("orient");return n==="horizontal"?n="LR":n==="vertical"&&(n="TB"),n},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.formatTooltip=function(n,r,i){for(var o=this.getData().tree,a=o.root.children[0],l=o.getNodeByDataIndex(n),s=l.getValue(),u=l.name;l&&l!==a;)u=l.parentNode.name+"."+u,l=l.parentNode;return pr("nameValue",{name:u,value:s,noValue:isNaN(s)||s==null})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=jC(i,this),r.collapsed=!i.isExpand,r},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(_n);const ett=Jet;function ttt(e,t,n){for(var r=[e],i=[],o;o=r.pop();)if(i.push(o),o.isExpand){var a=o.children;if(a.length)for(var l=0;l=0;o--)n.push(i[o])}}function ntt(e,t){e.eachSeriesByType("tree",function(n){rtt(n,t)})}function rtt(e,t){var n=Eet(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;r==="radial"?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=TH(function(b,S){return(b.parentNode===S.parentNode?1:2)/b.depth})):(i=n.width,o=n.height,a=TH());var l=e.getData().tree.root,s=l.children[0];if(s){Aet(l),ttt(s,Oet,a),l.hierNode.modifier=-s.hierNode.prelim,sp(s,Det);var u=s,c=s,d=s;sp(s,function(b){var S=b.getLayout().x;Sc.getLayout().x&&(c=b),b.depth>d.depth&&(d=b)});var f=u===c?1:a(u,c)/2,h=f-u.getLayout().x,v=0,p=0,g=0,m=0;if(r==="radial")v=i/(c.getLayout().x+f+h),p=o/(d.depth-1||1),sp(s,function(b){g=(b.getLayout().x+h)*v,m=(b.depth-1)*p;var S=Ap(g,m);b.setLayout({x:S.x,y:S.y,rawX:g,rawY:m},!0)});else{var y=e.getOrient();y==="RL"||y==="LR"?(p=o/(c.getLayout().x+f+h),v=i/(d.depth-1||1),sp(s,function(b){m=(b.getLayout().x+h)*p,g=y==="LR"?(b.depth-1)*v:i-(b.depth-1)*v,b.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(v=i/(c.getLayout().x+f+h),p=o/(d.depth-1||1),sp(s,function(b){g=(b.getLayout().x+h)*v,m=y==="TB"?(b.depth-1)*p:o-(b.depth-1)*p,b.setLayout({x:g,y:m},!0)}))}}}function itt(e){e.eachSeriesByType("tree",function(t){var n=t.getData(),r=n.tree;r.eachNode(function(i){var o=i.getModel(),a=o.getModel("itemStyle").getItemStyle(),l=n.ensureUniqueItemVisual(i.dataIndex,"style");Te(l,a)})})}function ott(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"tree",query:t},function(r){var i=t.dataIndex,o=r.getData().tree,a=o.getNodeByDataIndex(i);a.isExpand=!a.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,n,r){n.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var o=i.coordinateSystem,a=wR(o,t,void 0,r);i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom)})})}function att(e){e.registerChartView(Wet),e.registerSeriesModel(ett),e.registerLayout(ntt),e.registerVisual(itt),ott(e)}var OH=["treemapZoomToNode","treemapRender","treemapMove"];function ltt(e){for(var t=0;t1;)o=o.parentNode;var a=FM(e.ecModel,o.name||o.dataIndex+"",r);i.setVisual("decal",a)})}var stt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return t.prototype.getInitialData=function(n,r){var i={name:n.name,children:n.data};voe(i);var o=n.levels||[],a=this.designatedVisualItemStyle={},l=new hn({itemStyle:a},this,r);o=n.levels=utt(o,r);var s=Oe(o||[],function(d){return new hn(d,l,r)},this),u=$R.createTree(i,this,c);function c(d){d.wrapMethod("getItemModel",function(f,h){var v=u.getNodeByDataIndex(h),p=v?s[v.depth]:null;return f.parentModel=p||l,f})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(n,r,i){var o=this.getData(),a=this.getRawValue(n),l=o.getName(n);return pr("nameValue",{name:l,value:a})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=jC(i,this),r.treePathInfo=r.treeAncestors,r},t.prototype.setLayoutInfo=function(n){this.layoutInfo=this.layoutInfo||{},Te(this.layoutInfo,n)},t.prototype.mapIdToIndex=function(n){var r=this._idIndexMap;r||(r=this._idIndexMap=Ge(),this._idIndexMapCount=0);var i=r.get(n);return i==null&&r.set(n,i=this._idIndexMapCount++),i},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){hoe(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(_n);function voe(e){var t=0;j(e.children,function(r){voe(r);var i=r.value;Ae(i)&&(i=i[0]),t+=i});var n=e.value;Ae(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),Ae(e.value)?e.value[0]=n:e.value=n}function utt(e,t){var n=rn(t.get("color")),r=rn(t.get(["aria","decal","decals"]));if(n){e=e||[];var i,o;j(e,function(l){var s=new hn(l),u=s.get("color"),c=s.get("decal");(s.get(["itemStyle","color"])||u&&u!=="none")&&(i=!0),(s.get(["itemStyle","decal"])||c&&c!=="none")&&(o=!0)});var a=e[0]||(e[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),e}}const ctt=stt;var dtt=8,DH=8,cT=5,ftt=function(){function e(t){this.group=new lt,t.add(this.group)}return e.prototype.render=function(t,n,r,i){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),!(!o.get("show")||!r)){var l=o.getModel("itemStyle"),s=o.getModel("emphasis"),u=l.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),d={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:n.getWidth(),height:n.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,d,u),this._renderContent(t,d,l,s,u,c,i),OC(a,d.pos,d.box)}},e.prototype._prepare=function(t,n,r){for(var i=t;i;i=i.parentNode){var o=rr(i.getModel().get("name"),""),a=r.getTextRect(o),l=Math.max(a.width+dtt*2,n.emptyItemWidth);n.totalWidth+=l+DH,n.renderList.push({node:i,text:o,width:l})}},e.prototype._renderContent=function(t,n,r,i,o,a,l){for(var s=0,u=n.emptyItemWidth,c=t.get(["breadcrumb","height"]),d=bKe(n.pos,n.box),f=n.totalWidth,h=n.renderList,v=i.getModel("itemStyle").getItemStyle(),p=h.length-1;p>=0;p--){var g=h[p],m=g.node,y=g.width,b=g.text;f>d.width&&(f-=y-u,y=u,b=null);var S=new Ei({shape:{points:htt(s,0,y,c,p===h.length-1,p===0)},style:et(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new jt({style:fn(o,{text:b})}),textConfig:{position:"inside"},z2:pv*1e4,onclick:pt(l,m)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=fn(a,{text:b}),S.ensureState("emphasis").style=v,In(S,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(S),vtt(S,t,m),s+=y+DH}},e.prototype.remove=function(){this.group.removeAll()},e}();function htt(e,t,n,r,i,o){var a=[[i?e:e-cT,t],[e+n,t],[e+n,t+r],[i?e:e-cT,t+r]];return!o&&a.splice(2,0,[e+n+cT,t+r/2]),!i&&a.push([e,t+r/2]),a}function vtt(e,t,n){ut(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&jC(n,t)}}const ptt=ftt;var gtt=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(t,n,r,i,o){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:n,duration:r,delay:i,easing:o}),!0)},e.prototype.finished=function(t){return this._finishedCallback=t,this},e.prototype.start=function(){for(var t=this,n=this._storage.length,r=function(){n--,n<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,o=this._storage.length;iRH||Math.abs(n.dy)>RH)){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+n.dx,y:i.y+n.dy,width:i.width,height:i.height}})}},t.prototype._onZoom=function(n){var r=n.originX,i=n.originY,o=n.scale;if(this._state!=="animating"){var a=this.seriesModel.getData().tree.root;if(!a)return;var l=a.getLayout();if(!l)return;var s=new $t(l.x,l.y,l.width,l.height),u=null,c=this._controllerHost;u=c.zoomLimit;var d=c.zoom=c.zoom||1;if(d*=o,u){var f=u.min||0,h=u.max||1/0;d=Math.max(Math.min(h,d),f)}var v=d/c.zoom;c.zoom=d;var p=this.seriesModel.layoutInfo;r-=p.x,i-=p.y;var g=qi();tl(g,g,[-r,-i]),c4(g,g,[v,v]),tl(g,g,[r,i]),s.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(n){var r=this;n.on("click",function(i){if(r._state==="ready"){var o=r.seriesModel.get("nodeClick",!0);if(o){var a=r.findTarget(i.offsetX,i.offsetY);if(a){var l=a.node;if(l.getLayout().isLeafRoot)r._rootToNode(a);else if(o==="zoomToNode")r._zoomToNode(a);else if(o==="link"){var s=l.hostTree.data.getItemModel(l.dataIndex),u=s.get("link",!0),c=s.get("target",!0)||"blank";u&&ZS(u,c)}}}}},this)},t.prototype._renderBreadcrumb=function(n,r,i){var o=this;i||(i=n.get("leafDepth",!0)!=null?{node:n.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),i||(i={node:n.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new ptt(this.group))).render(n,r,i.node,function(a){o._state!=="animating"&&(_R(n.getViewRoot(),a)?o._rootToNode({node:a}):o._zoomToNode({node:a}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=up(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(n){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype._rootToNode=function(n){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype.findTarget=function(n,r){var i,o=this.seriesModel.getViewRoot();return o.eachNode({attr:"viewChildren",order:"preorder"},function(a){var l=this._storage.background[a.getRawIndex()];if(l){var s=l.transformCoordToLocal(n,r),u=l.shape;if(u.x<=s[0]&&s[0]<=u.x+u.width&&u.y<=s[1]&&s[1]<=u.y+u.height)i={node:a,offsetX:s[0],offsetY:s[1]};else return!1}},this),i},t.type="treemap",t}(pn);function up(){return{nodeGroup:[],background:[],content:[]}}function wtt(e,t,n,r,i,o,a,l,s,u){if(!a)return;var c=a.getLayout(),d=e.getData(),f=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var h=c.width,v=c.height,p=c.borderWidth,g=c.invisible,m=a.getRawIndex(),y=l&&l.getRawIndex(),b=a.viewChildren,S=c.upperHeight,x=b&&b.length,$=f.getModel("itemStyle"),C=f.getModel(["emphasis","itemStyle"]),T=f.getModel(["blur","itemStyle"]),I=f.getModel(["select","itemStyle"]),P=$.get("borderRadius")||0,M=K("nodeGroup",dA);if(!M)return;if(s.add(M),M.x=c.x||0,M.y=c.y||0,M.markRedraw(),vx(M).nodeWidth=h,vx(M).nodeHeight=v,c.isAboveViewRoot)return M;var O=K("background",EH,u,btt);O&&F(M,O,x&&c.upperLabelHeight);var D=f.getModel("emphasis"),R=D.get("focus"),A=D.get("blurScope"),E=D.get("disabled"),k=R==="ancestor"?a.getAncestorsIndices():R==="descendant"?a.getDescendantIndices():R;if(x)dm(M)&&Hc(M,!1),O&&(Hc(O,!E),d.setItemGraphicEl(a.dataIndex,O),OM(O,k,A));else{var N=K("content",EH,u,Stt);N&&H(M,N),O.disableMorphing=!0,O&&dm(O)&&Hc(O,!1),Hc(M,!E),d.setItemGraphicEl(a.dataIndex,M);var B=f.getShallow("cursor");B&&N.attr("cursor",B),OM(M,k,A)}return M;function F(ee,J,G){var Y=ut(J);if(Y.dataIndex=a.dataIndex,Y.seriesIndex=e.seriesIndex,J.setShape({x:0,y:0,width:h,height:v,r:P}),g)V(J);else{J.invisible=!1;var oe=a.getVisual("style"),W=oe.stroke,Z=kH($);Z.fill=W;var ne=Sc(C);ne.fill=C.get("borderColor");var re=Sc(T);re.fill=T.get("borderColor");var le=Sc(I);if(le.fill=I.get("borderColor"),G){var ie=h-2*p;X(J,W,oe.opacity,{x:p,y:0,width:ie,height:S})}else J.removeTextContent();J.setStyle(Z),J.ensureState("emphasis").style=ne,J.ensureState("blur").style=re,J.ensureState("select").style=le,$d(J)}ee.add(J)}function H(ee,J){var G=ut(J);G.dataIndex=a.dataIndex,G.seriesIndex=e.seriesIndex;var Y=Math.max(h-2*p,0),oe=Math.max(v-2*p,0);if(J.culling=!0,J.setShape({x:p,y:p,width:Y,height:oe,r:P}),g)V(J);else{J.invisible=!1;var W=a.getVisual("style"),Z=W.fill,ne=kH($);ne.fill=Z,ne.decal=W.decal;var re=Sc(C),le=Sc(T),ie=Sc(I);X(J,Z,W.opacity,null),J.setStyle(ne),J.ensureState("emphasis").style=re,J.ensureState("blur").style=le,J.ensureState("select").style=ie,$d(J)}ee.add(J)}function V(ee){!ee.invisible&&o.push(ee)}function X(ee,J,G,Y){var oe=f.getModel(Y?NH:LH),W=rr(f.get("name"),null),Z=oe.getShallow("show");Dr(ee,vr(f,Y?NH:LH),{defaultText:Z?W:null,inheritColor:J,defaultOpacity:G,labelFetcher:e,labelDataIndex:a.dataIndex});var ne=ee.getTextContent();if(ne){var re=ne.style,le=l4(re.padding||0);Y&&(ee.setTextConfig({layoutRect:Y}),ne.disableLabelLayout=!0),ne.beforeUpdate=function(){var de=Math.max((Y?Y.width:ee.shape.width)-le[1]-le[3],0),pe=Math.max((Y?Y.height:ee.shape.height)-le[0]-le[2],0);(re.width!==de||re.height!==pe)&&ne.setStyle({width:de,height:pe})},re.truncateMinChar=2,re.lineOverflow="truncate",Q(re,Y,c);var ie=ne.getState("emphasis");Q(ie?ie.style:null,Y,c)}}function Q(ee,J,G){var Y=ee?ee.text:null;if(!J&&G.isLeafRoot&&Y!=null){var oe=e.get("drillDownIcon",!0);ee.text=oe?oe+" "+Y:Y}}function K(ee,J,G,Y){var oe=y!=null&&n[ee][y],W=i[ee];return oe?(n[ee][y]=null,te(W,oe)):g||(oe=new J,oe instanceof Ro&&(oe.z2=Ctt(G,Y)),q(W,oe)),t[ee][m]=oe}function te(ee,J){var G=ee[m]={};J instanceof dA?(G.oldX=J.x,G.oldY=J.y):G.oldShape=Te({},J.shape)}function q(ee,J){var G=ee[m]={},Y=a.parentNode,oe=J instanceof lt;if(Y&&(!r||r.direction==="drillDown")){var W=0,Z=0,ne=i.background[Y.getRawIndex()];!r&&ne&&ne.oldShape&&(W=ne.oldShape.width,Z=ne.oldShape.height),oe?(G.oldX=0,G.oldY=Z):G.oldShape={x:W,y:Z,width:0,height:0}}G.fadein=!oe}}function Ctt(e,t){return e*ytt+t}const $tt=xtt;var $m=j,_tt=nt,px=-1,TR=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=rt(t);this.type=r,this.mappingMethod=n,this._normalizeData=Ptt[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],n==="piecewise"?(dT(i),Ttt(i)):n==="category"?i.categories?Itt(i):dT(i,!0):(pi(n!=="linear"||i.dataExtent),dT(i))}return e.prototype.mapValueToVisual=function(t){var n=this._normalizeData(t);return this._normalizedToVisual(n,t)},e.prototype.getNormalizer=function(){return ze(this._normalizeData,this)},e.listVisualTypes=function(){return Rt(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,n,r){nt(t)?j(t,n,r):n.call(r,t)},e.mapVisual=function(t,n,r){var i,o=Ae(t)?[]:nt(t)?{}:(i=!0,null);return e.eachVisual(t,function(a,l){var s=n.call(r,a,l);i?o=s:o[l]=s}),o},e.retrieveVisuals=function(t){var n={},r;return t&&$m(e.visualHandlers,function(i,o){t.hasOwnProperty(o)&&(n[o]=t[o],r=!0)}),r?n:null},e.prepareVisualTypes=function(t){if(Ae(t))t=t.slice();else if(_tt(t)){var n=[];$m(t,function(r,i){n.push(i)}),t=n}else return[];return t.sort(function(r,i){return i==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,n){return n==="color"?!!(t&&t.indexOf(n)===0):t===n},e.findPieceIndex=function(t,n,r){for(var i,o=1/0,a=0,l=n.length;a=0;o--)r[o]==null&&(delete n[t[o]],t.pop())}function dT(e,t){var n=e.visual,r=[];nt(n)?$m(n,function(o){r.push(o)}):n!=null&&r.push(n);var i={color:1,symbol:1};!t&&r.length===1&&!i.hasOwnProperty(e.type)&&(r[1]=r[0]),poe(e,r)}function tb(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:fA([0,1])}}function BH(e){var t=this.option.visual;return t[Math.round(en(e,[0,1],[0,t.length-1],!0))]||{}}function cp(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function Op(e){var t=this.option.visual;return t[this.option.loop&&e!==px?e%t.length:e]}function xc(){return this.option.visual[0]}function fA(e){return{linear:function(t){return en(t,e,this.option.visual,!0)},category:Op,piecewise:function(t,n){var r=hA.call(this,n);return r==null&&(r=en(t,e,this.option.visual,!0)),r},fixed:xc}}function hA(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=TR.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function poe(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=Oe(t,function(n){var r=Zi(n);return r||[0,0,0,1]})),t}var Ptt={linear:function(e){return en(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=TR.findPieceIndex(e,t,!0);if(n!=null)return en(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t==null?px:t},fixed:kn};function nb(e,t,n){return e?t<=n:t=n.length||p===n[p.depth]){var m=Rtt(i,s,p,g,v,r);moe(p,m,n,r)}})}}}function Ott(e,t,n){var r=Te({},t),i=n.designatedVisualItemStyle;return j(["color","colorAlpha","colorSaturation"],function(o){i[o]=t[o];var a=e.get(o);i[o]=null,a!=null&&(r[o]=a)}),r}function FH(e){var t=fT(e,"color");if(t){var n=fT(e,"colorAlpha"),r=fT(e,"colorSaturation");return r&&(t=fg(t,null,null,r)),n&&(t=FS(t,n)),t}}function Dtt(e,t){return t!=null?fg(t,null,null,e):null}function fT(e,t){var n=e[t];if(n!=null&&n!=="none")return n}function Ett(e,t,n,r,i,o){if(!(!o||!o.length)){var a=hT(t,"color")||i.color!=null&&i.color!=="none"&&(hT(t,"colorAlpha")||hT(t,"colorSaturation"));if(a){var l=t.get("visualMin"),s=t.get("visualMax"),u=n.dataExtent.slice();l!=null&&lu[1]&&(u[1]=s);var c=t.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};d.type==="color"&&(c==="index"||c==="id")?(d.mappingMethod="category",d.loop=!0):d.mappingMethod="linear";var f=new Mr(d);return goe(f).drColorMappingBy=c,f}}}function hT(e,t){var n=e.get(t);return Ae(n)&&n.length?{name:t,range:n}:null}function Rtt(e,t,n,r,i,o){var a=Te({},t);if(i){var l=i.type,s=l==="color"&&goe(i).drColorMappingBy,u=s==="index"?r:s==="id"?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[l]=i.mapValueToVisual(u)}return a}var _m=Math.max,gx=Math.min,zH=br,IR=j,yoe=["itemStyle","borderWidth"],Ltt=["itemStyle","gapWidth"],Ntt=["upperLabel","show"],ktt=["upperLabel","height"];const Btt={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,l=ir(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=a.size||[],u=Ne(zH(l.width,s[0]),i),c=Ne(zH(l.height,s[1]),o),d=r&&r.type,f=["treemapZoomToNode","treemapRootToNode"],h=Cm(r,f,e),v=d==="treemapRender"||d==="treemapMove"?r.rootRect:null,p=e.getViewRoot(),g=foe(p);if(d!=="treemapMove"){var m=d==="treemapZoomToNode"?jtt(e,h,p,u,c):v?[v.width,v.height]:[u,c],y=a.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var b={squareRatio:a.squareRatio,sort:y,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var S={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(S),boe(p,b,!1,0),S=p.getLayout(),IR(g,function($,C){var T=(g[C+1]||p).getValue();$.setLayout(Te({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var x=e.getData().tree.root;x.setLayout(Gtt(l,v,h),!0),e.setLayoutInfo(l),Soe(x,new $t(-l.x,-l.y,i,o),g,p,0)}};function boe(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var l=e.getModel(),s=l.get(yoe),u=l.get(Ltt)/2,c=xoe(l),d=Math.max(s,c),f=s-u,h=d-u;e.setLayout({borderWidth:s,upperHeight:d,upperLabelHeight:c},!0),i=_m(i-2*f,0),o=_m(o-f-h,0);var v=i*o,p=Ftt(e,l,v,t,n,r);if(p.length){var g={x:f,y:h,width:i,height:o},m=gx(i,o),y=1/0,b=[];b.area=0;for(var S=0,x=p.length;S=0;s--){var u=i[r==="asc"?a-s-1:s].getValue();u/n*tl[1]&&(l[1]=u)})),{sum:r,dataExtent:l}}function Wtt(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,l=e.length;or&&(r=a));var s=e.area*e.area,u=t*t*n;return s?_m(u*r/s,s/(u*i)):1/0}function HH(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,l=["x","y"],s=["width","height"],u=n[l[o]],c=t?e.area/t:0;(i||c>n[s[a]])&&(c=n[s[a]]);for(var d=0,f=e.length;dJ7&&(u=J7),o=l}ur&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a0&&(x[0]=-x[0],x[1]=-x[1]);var C=S[0]<0?-1:1;if(o.__position!=="start"&&o.__position!=="end"){var T=-Math.atan2(S[1],S[0]);d[0].8?"left":f[0]<-.8?"right":"center",p=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":o.x=-f[0]*m+c[0],o.y=-f[1]*y+c[1],v=f[0]>.8?"right":f[0]<-.8?"left":"center",p=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":o.x=m*C+c[0],o.y=c[1]+I,v=S[0]<0?"right":"left",o.originX=-m*C,o.originY=-I;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":o.x=$[0],o.y=$[1]+I,v="center",o.originY=-I;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":o.x=-m*C+d[0],o.y=d[1]+I,v=S[0]>=0?"right":"left",o.originX=m*C,o.originY=-I;break}o.scaleX=o.scaleY=a,o.setStyle({verticalAlign:o.__verticalAlign||p,align:o.__align||v})}},t}(lt);const OR=cnt;var dnt=function(){function e(t){this.group=new lt,this._LineCtor=t||OR}return e.prototype.updateData=function(t){var n=this;this._progressiveEls=null;var r=this,i=r.group,o=r._lineData;r._lineData=t,o||i.removeAll();var a=UH(t);t.diff(o).add(function(l){n._doAdd(t,l,a)}).update(function(l,s){n._doUpdate(o,t,s,l,a)}).remove(function(l){i.remove(o.getItemGraphicEl(l))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(n,r){n.updateLayout(t,r)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=UH(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n){this._progressiveEls=[];function r(l){!l.isGroup&&!fnt(l)&&(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0}function UH(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:vr(t)}}function XH(e){return isNaN(e[0])||isNaN(e[1])}function yT(e){return e&&!XH(e[0])&&!XH(e[1])}const DR=dnt;var bT=[],ST=[],xT=[],Cf=mr,wT=td,YH=Math.abs;function qH(e,t,n){for(var r=e[0],i=e[1],o=e[2],a=1/0,l,s=n*n,u=.1,c=.1;c<=.9;c+=.1){bT[0]=Cf(r[0],i[0],o[0],c),bT[1]=Cf(r[1],i[1],o[1],c);var d=YH(wT(bT,t)-s);d=0?l=l+u:l=l-u:v>=0?l=l-u:l=l+u}return l}function CT(e,t){var n=[],r=im,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge(function(l,s){var u=l.getLayout(),c=l.getVisual("fromSymbol"),d=l.getVisual("toSymbol");u.__original||(u.__original=[Nl(u[0]),Nl(u[1])],u[2]&&u.__original.push(Nl(u[2])));var f=u.__original;if(u[2]!=null){if(ri(i[0],f[0]),ri(i[1],f[2]),ri(i[2],f[1]),c&&c!=="none"){var h=Ep(l.node1),v=qH(i,f[0],h*t);r(i[0][0],i[1][0],i[2][0],v,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],v,n),i[0][1]=n[3],i[1][1]=n[4]}if(d&&d!=="none"){var h=Ep(l.node2),v=qH(i,f[1],h*t);r(i[0][0],i[1][0],i[2][0],v,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],v,n),i[1][1]=n[1],i[2][1]=n[2]}ri(u[0],i[0]),ri(u[1],i[2]),ri(u[2],i[1])}else{if(ri(o[0],f[0]),ri(o[1],f[1]),Fc(a,o[1],o[0]),fv(a,a),c&&c!=="none"){var h=Ep(l.node1);tM(o[0],o[0],a,h*t)}if(d&&d!=="none"){var h=Ep(l.node2);tM(o[1],o[1],a,-h*t)}ri(u[0],o[0]),ri(u[1],o[1])}})}function ZH(e){return e.type==="view"}var hnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){var i=new gy,o=new DR,a=this.group;this._controller=new xy(r.getZr()),this._controllerHost={target:a},a.add(i.group),a.add(o.group),this._symbolDraw=i,this._lineDraw=o,this._firstRender=!0},t.prototype.render=function(n,r,i){var o=this,a=n.coordinateSystem;this._model=n;var l=this._symbolDraw,s=this._lineDraw,u=this.group;if(ZH(a)){var c={x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY};this._firstRender?u.attr(c):Kt(u,c,n)}CT(n.getGraph(),Dp(n));var d=n.getData();l.updateData(d);var f=n.getEdgeData();s.updateData(f),this._updateNodeAndLinkScale(),this._updateController(n,r,i),clearTimeout(this._layoutTimeout);var h=n.forceLayout,v=n.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,v);var p=n.get("layout");d.graph.eachNode(function(b){var S=b.dataIndex,x=b.getGraphicEl(),$=b.getModel();if(x){x.off("drag").off("dragend");var C=$.get("draggable");C&&x.on("drag",function(I){switch(p){case"force":h.warmUp(),!o._layouting&&o._startForceLayoutIteration(h,v),h.setFixed(S),d.setItemLayout(S,[x.x,x.y]);break;case"circular":d.setItemLayout(S,[x.x,x.y]),b.setLayout({fixed:!0},!0),AR(n,"symbolSize",b,[I.offsetX,I.offsetY]),o.updateLayout(n);break;case"none":default:d.setItemLayout(S,[x.x,x.y]),MR(n.getGraph(),n),o.updateLayout(n);break}}).on("dragend",function(){h&&h.setUnfixed(S)}),x.setDraggable(C,!!$.get("cursor"));var T=$.get(["emphasis","focus"]);T==="adjacency"&&(ut(x).focus=b.getAdjacentDataIndices())}}),d.graph.eachEdge(function(b){var S=b.getGraphicEl(),x=b.getModel().get(["emphasis","focus"]);S&&x==="adjacency"&&(ut(S).focus={edge:[b.dataIndex],node:[b.node1.dataIndex,b.node2.dataIndex]})});var g=n.get("layout")==="circular"&&n.get(["circular","rotateLabel"]),m=d.getLayout("cx"),y=d.getLayout("cy");d.graph.eachNode(function(b){_oe(b,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(n,r){var i=this;(function o(){n.step(function(a){i.updateLayout(i._model),(i._layouting=!a)&&(r?i._layoutTimeout=setTimeout(o,16):o())})})()},t.prototype._updateController=function(n,r,i){var o=this,a=this._controller,l=this._controllerHost,s=this.group;if(a.setPointerChecker(function(u,c,d){var f=s.getBoundingRect();return f.applyTransform(s.transform),f.contain(c,d)&&!VC(u,i,n)}),!ZH(n.coordinateSystem)){a.disable();return}a.enable(n.get("roam")),l.zoomLimit=n.get("scaleLimit"),l.zoom=n.coordinateSystem.getZoom(),a.off("pan").off("zoom").on("pan",function(u){bR(l,u.dx,u.dy),i.dispatchAction({seriesId:n.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){SR(l,u.scale,u.originX,u.originY),i.dispatchAction({seriesId:n.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),o._updateNodeAndLinkScale(),CT(n.getGraph(),Dp(n)),o._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var n=this._model,r=n.getData(),i=Dp(n);r.eachItemGraphicEl(function(o,a){o&&o.setSymbolScale(i)})},t.prototype.updateLayout=function(n){CT(n.getGraph(),Dp(n)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(pn);const vnt=hnt;function $f(e){return"_EC_"+e}var pnt=function(){function e(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(t,n){t=t==null?""+n:""+t;var r=this._nodesMap;if(!r[$f(t)]){var i=new wc(t,n);return i.hostGraph=this,this.nodes.push(i),r[$f(t)]=i,i}},e.prototype.getNodeByIndex=function(t){var n=this.data.getRawIndex(t);return this.nodes[n]},e.prototype.getNodeById=function(t){return this._nodesMap[$f(t)]},e.prototype.addEdge=function(t,n,r){var i=this._nodesMap,o=this._edgesMap;if(Gt(t)&&(t=this.nodes[t]),Gt(n)&&(n=this.nodes[n]),t instanceof wc||(t=i[$f(t)]),n instanceof wc||(n=i[$f(n)]),!(!t||!n)){var a=t.id+"-"+n.id,l=new Ioe(t,n,r);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),n.inEdges.push(l)),t.edges.push(l),t!==n&&n.edges.push(l),this.edges.push(l),o[a]=l,l}},e.prototype.getEdgeByIndex=function(t){var n=this.edgeData.getRawIndex(t);return this.edges[n]},e.prototype.getEdge=function(t,n){t instanceof wc&&(t=t.id),n instanceof wc&&(n=n.id);var r=this._edgesMap;return this._directed?r[t+"-"+n]:r[t+"-"+n]||r[n+"-"+t]},e.prototype.eachNode=function(t,n){for(var r=this.nodes,i=r.length,o=0;o=0&&t.call(n,r[o],o)},e.prototype.eachEdge=function(t,n){for(var r=this.edges,i=r.length,o=0;o=0&&r[o].node1.dataIndex>=0&&r[o].node2.dataIndex>=0&&t.call(n,r[o],o)},e.prototype.breadthFirstTraverse=function(t,n,r,i){if(n instanceof wc||(n=this._nodesMap[$f(n)]),!!n){for(var o=r==="out"?"outEdges":r==="in"?"inEdges":"edges",a=0;a=0&&s.node2.dataIndex>=0});for(var o=0,a=i.length;o=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}qn(wc,Poe("hostGraph","data"));qn(Ioe,Poe("hostGraph","edgeData"));const gnt=pnt;function Moe(e,t,n,r,i){for(var o=new gnt(r),a=0;a "+f)),u++)}var h=n.get("coordinateSystem"),v;if(h==="cartesian2d"||h==="polar")v=ds(e,n);else{var p=dy.get(h),g=p?p.dimensions||[]:[];Tt(g,"value")<0&&g.concat(["value"]);var m=hy(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;v=new fi(m,n),v.initData(e)}var y=new fi(["value"],n);return y.initData(s,l),i&&i(v,y),coe({mainData:v,struct:o,structAttr:"graph",datas:{node:v,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var mnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments);var r=this;function i(){return r._categoriesData}this.legendVisualProvider=new Sy(i,i),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(n){e.prototype.mergeDefaultAndTheme.apply(this,arguments),xd(n,"edgeLabel",["show"])},t.prototype.getInitialData=function(n,r){var i=n.edges||n.links||[],o=n.data||n.nodes||[],a=this;if(o&&i){Qtt(this);var l=Moe(o,i,this,!0,s);return j(l.edges,function(u){Jtt(u.node1,u.node2,this,u.dataIndex)},this),l.data}function s(u,c){u.wrapMethod("getItemModel",function(v){var p=a._categoriesModels,g=v.getShallow("category"),m=p[g];return m&&(m.parentModel=v.parentModel,v.parentModel=m),v});var d=hn.prototype.getModel;function f(v,p){var g=d.call(this,v,p);return g.resolveParentPath=h,g}c.wrapMethod("getItemModel",function(v){return v.resolveParentPath=h,v.getModel=f,v});function h(v){if(v&&(v[0]==="label"||v[1]==="label")){var p=v.slice();return v[0]==="label"?p[0]="edgeLabel":v[1]==="label"&&(p[1]="edgeLabel"),p}return v}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(n,r,i){if(i==="edge"){var o=this.getData(),a=this.getDataParams(n,i),l=o.graph.getEdgeByIndex(n),s=o.getName(l.node1.dataIndex),u=o.getName(l.node2.dataIndex),c=[];return s!=null&&c.push(s),u!=null&&c.push(u),pr("nameValue",{name:c.join(" > "),value:a.value,noValue:a.value==null})}var d=Xne({series:this,dataIndex:n,multipleSeries:r});return d},t.prototype._updateCategoriesData=function(){var n=Oe(this.option.categories||[],function(i){return i.value!=null?i:Te({value:0},i)}),r=new fi(["value"],this);r.initData(n),this._categoriesData=r,this._categoriesModels=r.mapArray(function(i){return r.getItemModel(i)})},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const ynt=mnt;var bnt={type:"graphRoam",event:"graphRoam",update:"none"};function Snt(e){e.registerChartView(vnt),e.registerSeriesModel(ynt),e.registerProcessor(Utt),e.registerVisual(Xtt),e.registerVisual(Ytt),e.registerLayout(ent),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,nnt),e.registerLayout(int),e.registerCoordinateSystem("graphView",{dimensions:wy.dimensions,create:ant}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},kn),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},kn),e.registerAction(bnt,function(t,n,r){n.eachComponent({mainType:"series",query:t},function(i){var o=i.coordinateSystem,a=wR(o,t,void 0,r);i.setCenter&&i.setCenter(a.center),i.setZoom&&i.setZoom(a.zoom)})})}var xnt=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),wnt=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="pointer",r}return t.prototype.getDefaultShape=function(){return new xnt},t.prototype.buildPath=function(n,r){var i=Math.cos,o=Math.sin,a=r.r,l=r.width,s=r.angle,u=r.x-i(s)*l*(l>=a/3?1:2),c=r.y-o(s)*l*(l>=a/3?1:2);s=r.angle-Math.PI/2,n.moveTo(u,c),n.lineTo(r.x+i(s)*l,r.y+o(s)*l),n.lineTo(r.x+i(r.angle)*a,r.y+o(r.angle)*a),n.lineTo(r.x-i(s)*l,r.y-o(s)*l),n.lineTo(u,c)},t}(Mt);const Cnt=wnt;function $nt(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=Ne(n[0],t.getWidth()),l=Ne(n[1],t.getHeight()),s=Ne(e.get("radius"),o/2);return{cx:a,cy:l,r:s}}function ib(e,t){var n=e==null?"":e+"";return t&&(Fe(t)?n=t.replace("{value}",n):Ze(t)&&(n=t(e))),n}var _nt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){this.group.removeAll();var o=n.get(["axisLine","lineStyle","color"]),a=$nt(n,i);this._renderMain(n,r,i,o,a),this._data=n.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(n,r,i,o,a){var l=this.group,s=n.get("clockwise"),u=-n.get("startAngle")/180*Math.PI,c=-n.get("endAngle")/180*Math.PI,d=n.getModel("axisLine"),f=d.get("roundCap"),h=f?dx:Di,v=d.get("show"),p=d.getModel("lineStyle"),g=p.get("width"),m=[u,c];S4(m,!s),u=m[0],c=m[1];for(var y=c-u,b=u,S=[],x=0;v&&x=I&&(P===0?0:o[P-1][0])Math.PI/2&&(Q+=Math.PI)):X==="tangential"?Q=-T-Math.PI/2:Gt(X)&&(Q=X*Math.PI/180),Q===0?d.add(new jt({style:fn(b,{text:B,x:H,y:V,verticalAlign:A<-.8?"top":A>.8?"bottom":"middle",align:R<-.4?"left":R>.4?"right":"center"},{inheritColor:F}),silent:!0})):d.add(new jt({style:fn(b,{text:B,x:H,y:V,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:H,originY:V,rotation:Q}))}if(y.get("show")&&E!==S){var k=y.get("distance");k=k?k+c:c;for(var K=0;K<=x;K++){R=Math.cos(T),A=Math.sin(T);var te=new Sr({shape:{x1:R*(v-k)+f,y1:A*(v-k)+h,x2:R*(v-C-k)+f,y2:A*(v-C-k)+h},silent:!0,style:O});O.stroke==="auto"&&te.setStyle({stroke:o((E+K/x)/S)}),d.add(te),T+=P}T-=P}else T+=I}},t.prototype._renderPointer=function(n,r,i,o,a,l,s,u,c){var d=this.group,f=this._data,h=this._progressEls,v=[],p=n.get(["pointer","show"]),g=n.getModel("progress"),m=g.get("show"),y=n.getData(),b=y.mapDimension("value"),S=+n.get("min"),x=+n.get("max"),$=[S,x],C=[l,s];function T(P,M){var O=y.getItemModel(P),D=O.getModel("pointer"),R=Ne(D.get("width"),a.r),A=Ne(D.get("length"),a.r),E=n.get(["pointer","icon"]),k=D.get("offsetCenter"),N=Ne(k[0],a.r),B=Ne(k[1],a.r),F=D.get("keepAspect"),H;return E?H=Yn(E,N-R/2,B-A,R,A,null,F):H=new Cnt({shape:{angle:-Math.PI/2,width:R,r:A,x:N,y:B}}),H.rotation=-(M+Math.PI/2),H.x=a.cx,H.y=a.cy,H}function I(P,M){var O=g.get("roundCap"),D=O?dx:Di,R=g.get("overlap"),A=R?g.get("width"):c/y.count(),E=R?a.r-A:a.r-(P+1)*A,k=R?a.r:a.r-P*A,N=new D({shape:{startAngle:l,endAngle:M,cx:a.cx,cy:a.cy,clockwise:u,r0:E,r:k}});return R&&(N.z2=en(y.get(b,P),[S,x],[100,0],!0)),N}(m||p)&&(y.diff(f).add(function(P){var M=y.get(b,P);if(p){var O=T(P,l);Sn(O,{rotation:-((isNaN(+M)?C[0]:en(M,$,C,!0))+Math.PI/2)},n),d.add(O),y.setItemGraphicEl(P,O)}if(m){var D=I(P,l),R=g.get("clip");Sn(D,{shape:{endAngle:en(M,$,C,R)}},n),d.add(D),PM(n.seriesIndex,y.dataType,P,D),v[P]=D}}).update(function(P,M){var O=y.get(b,P);if(p){var D=f.getItemGraphicEl(M),R=D?D.rotation:l,A=T(P,R);A.rotation=R,Kt(A,{rotation:-((isNaN(+O)?C[0]:en(O,$,C,!0))+Math.PI/2)},n),d.add(A),y.setItemGraphicEl(P,A)}if(m){var E=h[M],k=E?E.shape.endAngle:l,N=I(P,k),B=g.get("clip");Kt(N,{shape:{endAngle:en(O,$,C,B)}},n),d.add(N),PM(n.seriesIndex,y.dataType,P,N),v[P]=N}}).execute(),y.each(function(P){var M=y.getItemModel(P),O=M.getModel("emphasis"),D=O.get("focus"),R=O.get("blurScope"),A=O.get("disabled");if(p){var E=y.getItemGraphicEl(P),k=y.getItemVisual(P,"style"),N=k.fill;if(E instanceof Er){var B=E.style;E.useStyle(Te({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},k))}else E.useStyle(k),E.type!=="pointer"&&E.setColor(N);E.setStyle(M.getModel(["pointer","itemStyle"]).getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",o(en(y.get(b,P),$,[0,1],!0))),E.z2EmphasisLift=0,Or(E,M),In(E,D,R,A)}if(m){var F=v[P];F.useStyle(y.getItemVisual(P,"style")),F.setStyle(M.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,Or(F,M),In(F,D,R,A)}}),this._progressEls=v)},t.prototype._renderAnchor=function(n,r){var i=n.getModel("anchor"),o=i.get("show");if(o){var a=i.get("size"),l=i.get("icon"),s=i.get("offsetCenter"),u=i.get("keepAspect"),c=Yn(l,r.cx-a/2+Ne(s[0],r.r),r.cy-a/2+Ne(s[1],r.r),a,a,null,u);c.z2=i.get("showAbove")?1:0,c.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(c)}},t.prototype._renderTitleAndDetail=function(n,r,i,o,a){var l=this,s=n.getData(),u=s.mapDimension("value"),c=+n.get("min"),d=+n.get("max"),f=new lt,h=[],v=[],p=n.isAnimationEnabled(),g=n.get(["pointer","showAbove"]);s.diff(this._data).add(function(m){h[m]=new jt({silent:!0}),v[m]=new jt({silent:!0})}).update(function(m,y){h[m]=l._titleEls[y],v[m]=l._detailEls[y]}).execute(),s.each(function(m){var y=s.getItemModel(m),b=s.get(u,m),S=new lt,x=o(en(b,[c,d],[0,1],!0)),$=y.getModel("title");if($.get("show")){var C=$.get("offsetCenter"),T=a.cx+Ne(C[0],a.r),I=a.cy+Ne(C[1],a.r),P=h[m];P.attr({z2:g?0:2,style:fn($,{x:T,y:I,text:s.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:x})}),S.add(P)}var M=y.getModel("detail");if(M.get("show")){var O=M.get("offsetCenter"),D=a.cx+Ne(O[0],a.r),R=a.cy+Ne(O[1],a.r),A=Ne(M.get("width"),a.r),E=Ne(M.get("height"),a.r),k=n.get(["progress","show"])?s.getItemVisual(m,"style").fill:x,P=v[m],N=M.get("formatter");P.attr({z2:g?0:2,style:fn(M,{x:D,y:R,text:ib(b,N),width:isNaN(A)?null:A,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:k})}),qte(P,{normal:M},b,function(F){return ib(F,N)}),p&&Zte(P,m,s,n,{getFormattedLabel:function(F,H,V,X,Q,K){return ib(K?K.interpolatedValue:b,N)}}),S.add(P)}f.add(S)}),this.group.add(f),this._titleEls=h,this._detailEls=v},t.type="gauge",t}(pn);const Tnt=_nt;var Int=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return t.prototype.getInitialData=function(n,r){return Iv(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(_n);const Pnt=Int;function Mnt(e){e.registerChartView(Tnt),e.registerSeriesModel(Pnt)}var Ant=["itemStyle","opacity"],Ont=function(e){ge(t,e);function t(n,r){var i=e.call(this)||this,o=i,a=new Ni,l=new jt;return o.setTextContent(l),i.setTextGuideLine(a),i.updateData(n,r,!0),i}return t.prototype.updateData=function(n,r,i){var o=this,a=n.hostModel,l=n.getItemModel(r),s=n.getItemLayout(r),u=l.getModel("emphasis"),c=l.get(Ant);c=c==null?1:c,i||fa(o),o.useStyle(n.getItemVisual(r,"style")),o.style.lineJoin="round",i?(o.setShape({points:s.points}),o.style.opacity=0,Sn(o,{style:{opacity:c}},a,r)):Kt(o,{style:{opacity:c},shape:{points:s.points}},a,r),Or(o,l),this._updateLabel(n,r),In(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r){var i=this,o=this.getTextGuideLine(),a=i.getTextContent(),l=n.hostModel,s=n.getItemModel(r),u=n.getItemLayout(r),c=u.label,d=n.getItemVisual(r,"style"),f=d.fill;Dr(a,vr(s),{labelFetcher:n.hostModel,labelDataIndex:r,defaultOpacity:d.opacity,defaultText:n.getName(r)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),i.setTextConfig({local:!0,inside:!!c.inside,insideStroke:f,outsideFill:f});var h=c.linePoints;o.setShape({points:h}),i.textGuideLineConfig={anchor:h?new wt(h[0][0],h[0][1]):null},Kt(a,{style:{x:c.x,y:c.y}},l,r),a.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),uR(i,cR(s),{stroke:f})},t}(Ei),Dnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._data,l=this.group;o.diff(a).add(function(s){var u=new Ont(o,s);o.setItemGraphicEl(s,u),l.add(u)}).update(function(s,u){var c=a.getItemGraphicEl(u);c.updateData(o,s),l.add(c),o.setItemGraphicEl(s,c)}).remove(function(s){var u=a.getItemGraphicEl(s);fm(u,n,s)}).execute(),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(pn);const Ent=Dnt;var Rnt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sy(ze(this.getData,this),ze(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.getInitialData=function(n,r){return Iv(this,{coordDimensions:["value"],encodeDefaulter:pt(F4,this)})},t.prototype._defaultLabelLine=function(n){xd(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.prototype.getDataParams=function(n){var r=this.getData(),i=e.prototype.getDataParams.call(this,n),o=r.mapDimension("value"),a=r.getSum(o);return i.percent=a?+(r.get(o,n)/a*100).toFixed(2):0,i.$vars.push("percent"),i},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const Lnt=Rnt;function Nnt(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function knt(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,function(s){return s}),i=[],o=t==="ascending",a=0,l=e.count();anrt)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!_T(this,"mousemove"))){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;r==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(r==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:r==="jump"?null:{duration:0}})}}};function _T(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}const ort=rrt;var art=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(n){var r=this.option;n&&St(r,n,!0),this._initDimensions()},t.prototype.contains=function(n,r){var i=n.get("parallelIndex");return i!=null&&r.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(n){j(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(r){n.hasOwnProperty(r)&&(this.option[r]=n[r])},this)},t.prototype._initDimensions=function(){var n=this.dimensions=[],r=this.parallelAxisIndex=[],i=Zt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(o){return(o.get("parallelIndex")||0)===this.componentIndex},this);j(i,function(o){n.push("dim"+o.get("dim")),r.push(o.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Vt);const lrt=art;var srt=function(e){ge(t,e);function t(n,r,i,o,a){var l=e.call(this,n,r,i)||this;return l.type=o||"value",l.axisIndex=a,l}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(ga);const urt=srt;function qd(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(i!=null&&(i=_f(i,[0,a])),o!=null&&(o=Math.max(o,i!=null?i:0)),r==="all"){var l=Math.abs(t[1]-t[0]);l=_f(l,[0,a]),i=o=_f(l,[i,o]),r=0}t[0]=_f(t[0],n),t[1]=_f(t[1],n);var s=TT(t,r);t[r]+=e;var u=i||0,c=n.slice();s.sign<0?c[0]+=u:c[1]-=u,t[r]=_f(t[r],c);var d;return d=TT(t,r),i!=null&&(d.sign!==s.sign||d.spano&&(t[1-r]=t[r]+d.sign*o),t}function TT(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function _f(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var IT=j,Ooe=Math.min,Doe=Math.max,eV=Math.floor,crt=Math.ceil,tV=Mn,drt=Math.PI,frt=function(){function e(t,n,r){this.type="parallel",this._axesMap=Ge(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,n,r)}return e.prototype._init=function(t,n,r){var i=t.dimensions,o=t.parallelAxisIndex;IT(i,function(a,l){var s=o[l],u=n.getComponent("parallelAxis",s),c=this._axesMap.set(a,new urt(a,zC(u),[0,0],u.get("type"),s)),d=c.type==="category";c.onBand=d&&u.get("boundaryGap"),c.inverse=u.get("inverse"),u.axis=c,c.model=u,c.coordinateSystem=u.coordinateSystem=this},this)},e.prototype.update=function(t,n){this._updateAxesFromSeries(this._model,t)},e.prototype.containPoint=function(t){var n=this._makeLayoutInfo(),r=n.axisBase,i=n.layoutBase,o=n.pixelDimIndex,a=t[1-o],l=t[o];return a>=r&&a<=r+n.axisLength&&l>=i&&l<=i+n.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(t,n){n.eachSeries(function(r){if(t.contains(r,n)){var i=r.getData();IT(this.dimensions,function(o){var a=this._axesMap.get(o);a.scale.unionExtentFromData(i,i.mapDimension(o)),Gh(a.scale,a.model)},this)}},this)},e.prototype.resize=function(t,n){this._rect=ir(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a=o==="horizontal"?0:1,l=n[i[a]],s=[0,l],u=this.dimensions.length,c=ob(t.get("axisExpandWidth"),s),d=ob(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&l>0,h=t.get("axisExpandWindow"),v;if(h)v=ob(h[1]-h[0],s),h[1]=h[0]+v;else{v=ob(c*(d-1),s);var p=t.get("axisExpandCenter")||eV(u/2);h=[c*p-v/2],h[1]=h[0]+v}var g=(l-v)/(u-d);g<3&&(g=0);var m=[eV(tV(h[0]/c,1))+1,crt(tV(h[1]/c,1))-1],y=g/c*h[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:l,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:h,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:y}},e.prototype._layoutAxes=function(){var t=this._rect,n=this._axesMap,r=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;n.each(function(a){var l=[0,i.axisLength],s=a.inverse?1:0;a.setExtent(l[s],l[1-s])}),IT(r,function(a,l){var s=(i.axisExpandable?vrt:hrt)(l,i),u={horizontal:{x:s.position,y:i.axisLength},vertical:{x:0,y:s.position}},c={horizontal:drt/2,vertical:0},d=[u[o].x+t.x,u[o].y+t.y],f=c[o],h=qi();Vd(h,h,f),tl(h,h,d),this._axesLayout[a]={position:d,rotation:f,transform:h,axisNameAvailableWidth:s.axisNameAvailableWidth,axisLabelShow:s.axisLabelShow,nameTruncateMaxWidth:s.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(t){return this._axesMap.get(t)},e.prototype.dataToPoint=function(t,n){return this.axisCoordToPoint(this._axesMap.get(n).dataToCoord(t),n)},e.prototype.eachActiveState=function(t,n,r,i){r==null&&(r=0),i==null&&(i=t.count());var o=this._axesMap,a=this.dimensions,l=[],s=[];j(a,function(g){l.push(t.mapDimension(g)),s.push(o.get(g).model)});for(var u=this.hasAxisBrushed(),c=r;co*(1-d[0])?(u="jump",s=l-o*(1-d[2])):(s=l-o*d[1])>=0&&(s=l-o*(1-d[1]))<=0&&(s=0),s*=n.axisExpandWidth/c,s?qd(s,i,a,"all"):u="none";else{var h=i[1]-i[0],v=a[1]*l/h;i=[Doe(0,v-h/2)],i[1]=Ooe(a[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:u}},e}();function ob(e,t){return Ooe(Doe(e,t[0]),t[1])}function hrt(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function vrt(e,t){var n=t.layoutLength,r=t.axisExpandWidth,i=t.axisCount,o=t.axisCollapseWidth,a=t.winInnerIndices,l,s=o,u=!1,c;return e=0;i--)_o(r[i])},t.prototype.getActiveState=function(n){var r=this.activeIntervals;if(!r.length)return"normal";if(n==null||isNaN(+n))return"inactive";if(r.length===1){var i=r[0];if(i[0]<=n&&n<=i[1])return"active"}else for(var o=0,a=r.length;oxrt}function Foe(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function zoe(e,t,n,r){var i=new lt;return i.add(new Ht({name:"main",style:NR(n),silent:!0,draggable:!0,cursor:"move",drift:pt(oV,e,t,i,["n","s","w","e"]),ondragend:pt(Id,t,{isEnd:!0})})),j(r,function(o){i.add(new Ht({name:o.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:pt(oV,e,t,i,o),ondragend:pt(Id,t,{isEnd:!0})}))}),i}function Hoe(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=Xh(i,wrt),a=n[0][0],l=n[1][0],s=a-i/2,u=l-i/2,c=n[0][1],d=n[1][1],f=c-o+i/2,h=d-o+i/2,v=c-a,p=d-l,g=v+i,m=p+i;ml(e,t,"main",a,l,v,p),r.transformable&&(ml(e,t,"w",s,u,o,m),ml(e,t,"e",f,u,o,m),ml(e,t,"n",s,u,g,o),ml(e,t,"s",s,h,g,o),ml(e,t,"nw",s,u,o,o),ml(e,t,"ne",f,u,o,o),ml(e,t,"sw",s,h,o,o),ml(e,t,"se",f,h,o,o))}function yA(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(NR(n)),i.attr({silent:!r,cursor:r?"move":"default"}),j([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(o){var a=t.childOfName(o.join("")),l=o.length===1?bA(e,o[0]):Mrt(e,o);a&&a.attr({silent:!r,invisible:!r,cursor:r?$rt[l]+"-resize":null})})}function ml(e,t,n,r,i,o,a){var l=t.childOfName(n);l&&l.setShape(Ort(kR(e,t,[[r,i],[r+o,i+a]])))}function NR(e){return et({strokeNoScale:!0},e.brushStyle)}function Voe(e,t,n,r){var i=[Im(e,n),Im(t,r)],o=[Xh(e,n),Xh(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function Prt(e){return ad(e.group)}function bA(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=$C(n[t],Prt(e));return r[i]}function Mrt(e,t){var n=[bA(e,t[0]),bA(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function oV(e,t,n,r,i,o){var a=n.__brushOption,l=e.toRectRange(a.range),s=Woe(t,i,o);j(r,function(u){var c=Crt[u];l[c[0]][c[1]]+=s[c[0]]}),a.range=e.fromRectRange(Voe(l[0][0],l[1][0],l[0][1],l[1][1])),ER(t,n),Id(t,{isEnd:!1})}function Art(e,t,n,r){var i=t.__brushOption.range,o=Woe(e,n,r);j(i,function(a){a[0]+=o[0],a[1]+=o[1]}),ER(e,t),Id(e,{isEnd:!1})}function Woe(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function kR(e,t,n){var r=Boe(e,t);return r&&r!==Td?r.clipPath(n,e._transform):rt(n)}function Ort(e){var t=Im(e[0][0],e[1][0]),n=Im(e[0][1],e[1][1]),r=Xh(e[0][0],e[1][0]),i=Xh(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function Drt(e,t,n){if(!(!e._brushType||Rrt(e,t.offsetX,t.offsetY))){var r=e._zr,i=e._covers,o=LR(e,t,n);if(!e._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var KC={lineX:sV(0),lineY:sV(1),rect:{createCover:function(e,t){function n(r){return r}return zoe({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=Foe(e);return Voe(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){Hoe(e,t,n,r)},updateCommon:yA,contain:xA},polygon:{createCover:function(e,t){var n=new lt;return n.add(new Ni({name:"main",style:NR(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Ei({name:"main",draggable:!0,drift:pt(Art,e,t),ondragend:pt(Id,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:kR(e,t,n)})},updateCommon:yA,contain:xA}};function sV(e){return{createCover:function(t,n){return zoe({toRectRange:function(r){var i=[r,[0,100]];return e&&i.reverse(),i},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=Foe(t),r=Im(n[0][e],n[1][e]),i=Xh(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=Boe(t,n);if(a!==Td&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var l=t._zr;o=[0,[l.getWidth(),l.getHeight()][1-e]]}var s=[r,o];e&&s.reverse(),Hoe(t,n,s,i)},updateCommon:yA,contain:xA}}const BR=Trt;function Goe(e){return e=FR(e),function(t){return Ute(t,e)}}function Koe(e,t){return e=FR(e),function(n){var r=t!=null?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function Uoe(e,t,n){var r=FR(e);return function(i,o){return r.contain(o[0],o[1])&&!VC(i,t,n)}}function FR(e){return $t.create(e)}var Lrt=["axisLine","axisTickLabel","axisName"],Nrt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){e.prototype.init.apply(this,arguments),(this._brushController=new BR(r.getZr())).on("brush",ze(this._onBrush,this))},t.prototype.render=function(n,r,i,o){if(!krt(n,r,o)){this.axisModel=n,this.api=i,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new lt,this.group.add(this._axisGroup),!!n.get("show")){var l=Frt(n,r),s=l.coordinateSystem,u=n.getAreaSelectStyle(),c=u.width,d=n.axis.dim,f=s.getAxisLayout(d),h=Te({strokeContainThreshold:c},f),v=new es(n,h);j(Lrt,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(h,u,n,l,c,i),uy(a,this._axisGroup,n)}}},t.prototype._refreshBrushController=function(n,r,i,o,a,l){var s=i.axis.getExtent(),u=s[1]-s[0],c=Math.min(30,Math.abs(u)*.1),d=$t.create({x:s[0],y:-a/2,width:u,height:a});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,x:n.position[0],y:n.position[1]}).setPanels([{panelId:"pl",clipPath:Goe(d),isTargetByCursor:Uoe(d,l,o),getLinearBrushOtherExtent:Koe(d,0)}]).enableBrush({brushType:"lineX",brushStyle:r,removeOnClick:!0}).updateCovers(Brt(i))},t.prototype._onBrush=function(n){var r=n.areas,i=this.axisModel,o=i.axis,a=Oe(r,function(l){return[o.coordToData(l.range[0],!0),o.coordToData(l.range[1],!0)]});(!i.option.realtime===n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:a})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Pn);function krt(e,t,n){return n&&n.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function Brt(e){var t=e.axis;return Oe(e.activeIntervals,function(n){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(n[0],!0),t.dataToCoord(n[1],!0)]}})}function Frt(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}const zrt=Nrt;var Hrt={type:"axisAreaSelect",event:"axisAreaSelected"};function Vrt(e){e.registerAction(Hrt,function(t,n){n.eachComponent({mainType:"parallelAxis",query:t},function(r){r.axis.model.setActiveIntervals(t.intervals)})}),e.registerAction("parallelAxisExpand",function(t,n){n.eachComponent({mainType:"parallel",query:t},function(r){r.setAxisExpand(t)})})}var Wrt={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function Xoe(e){e.registerComponentView(ort),e.registerComponentModel(lrt),e.registerCoordinateSystem("parallel",yrt),e.registerPreprocessor(Jnt),e.registerComponentModel(nV),e.registerComponentView(zrt),Uh(e,"parallel",nV,Wrt),Vrt(e)}function jrt(e){Pt(Xoe),e.registerChartView(Gnt),e.registerSeriesModel(Ynt),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Qnt)}var Grt=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),Krt=function(e){ge(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Grt},t.prototype.buildPath=function(n,r){var i=r.extent;n.moveTo(r.x1,r.y1),n.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(n.lineTo(r.x2+i,r.y2),n.bezierCurveTo(r.cpx2+i,r.cpy2,r.cpx1+i,r.cpy1,r.x1+i,r.y1)):(n.lineTo(r.x2,r.y2+i),n.bezierCurveTo(r.cpx2,r.cpy2+i,r.cpx1,r.cpy1+i,r.x1,r.y1+i)),n.closePath()},t.prototype.highlight=function(){Zl(this)},t.prototype.downplay=function(){Ql(this)},t}(Mt),Urt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return t.prototype.render=function(n,r,i){var o=this,a=n.getGraph(),l=this.group,s=n.layoutInfo,u=s.width,c=s.height,d=n.getData(),f=n.getData("edge"),h=n.get("orient");this._model=n,l.removeAll(),l.x=s.x,l.y=s.y,a.eachEdge(function(v){var p=new Krt,g=ut(p);g.dataIndex=v.dataIndex,g.seriesIndex=n.seriesIndex,g.dataType="edge";var m=v.getModel(),y=m.getModel("lineStyle"),b=y.get("curveness"),S=v.node1.getLayout(),x=v.node1.getModel(),$=x.get("localX"),C=x.get("localY"),T=v.node2.getLayout(),I=v.node2.getModel(),P=I.get("localX"),M=I.get("localY"),O=v.getLayout(),D,R,A,E,k,N,B,F;p.shape.extent=Math.max(1,O.dy),p.shape.orient=h,h==="vertical"?(D=($!=null?$*u:S.x)+O.sy,R=(C!=null?C*c:S.y)+S.dy,A=(P!=null?P*u:T.x)+O.ty,E=M!=null?M*c:T.y,k=D,N=R*(1-b)+E*b,B=A,F=R*b+E*(1-b)):(D=($!=null?$*u:S.x)+S.dx,R=(C!=null?C*c:S.y)+O.sy,A=P!=null?P*u:T.x,E=(M!=null?M*c:T.y)+O.ty,k=D*(1-b)+A*b,N=R,B=D*b+A*(1-b),F=E),p.setShape({x1:D,y1:R,x2:A,y2:E,cpx1:k,cpy1:N,cpx2:B,cpy2:F}),p.useStyle(y.getItemStyle()),uV(p.style,h,v);var H=""+m.get("value"),V=vr(m,"edgeLabel");Dr(p,V,{labelFetcher:{getFormattedLabel:function(K,te,q,ee,J,G){return n.getFormattedLabel(K,te,"edge",ee,qa(J,V.normal&&V.normal.get("formatter"),H),G)}},labelDataIndex:v.dataIndex,defaultText:H}),p.setTextConfig({position:"inside"});var X=m.getModel("emphasis");Or(p,m,"lineStyle",function(K){var te=K.getItemStyle();return uV(te,h,v),te}),l.add(p),f.setItemGraphicEl(v.dataIndex,p);var Q=X.get("focus");In(p,Q==="adjacency"?v.getAdjacentDataIndices():Q==="trajectory"?v.getTrajectoryDataIndices():Q,X.get("blurScope"),X.get("disabled"))}),a.eachNode(function(v){var p=v.getLayout(),g=v.getModel(),m=g.get("localX"),y=g.get("localY"),b=g.getModel("emphasis"),S=g.get(["itemStyle","borderRadius"])||0,x=new Ht({shape:{x:m!=null?m*u:p.x,y:y!=null?y*c:p.y,width:p.dx,height:p.dy,r:S},style:g.getModel("itemStyle").getItemStyle(),z2:10});Dr(x,vr(g),{labelFetcher:{getFormattedLabel:function(C,T){return n.getFormattedLabel(C,T,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),x.disableLabelAnimation=!0,x.setStyle("fill",v.getVisual("color")),x.setStyle("decal",v.getVisual("style").decal),Or(x,g),l.add(x),d.setItemGraphicEl(v.dataIndex,x),ut(x).dataType="node";var $=b.get("focus");In(x,$==="adjacency"?v.getAdjacentDataIndices():$==="trajectory"?v.getTrajectoryDataIndices():$,b.get("blurScope"),b.get("disabled"))}),d.eachItemGraphicEl(function(v,p){var g=d.getItemModel(p);g.get("draggable")&&(v.drift=function(m,y){o._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:n.id,dataIndex:d.getRawIndex(p),localX:this.shape.x/u,localY:this.shape.y/c})},v.ondragend=function(){o._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&n.isAnimationEnabled()&&l.setClipPath(Xrt(l.getBoundingRect(),n,function(){l.removeClipPath()})),this._data=n.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(pn);function uV(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),i=n.node2.getVisual("color");Fe(r)&&Fe(i)&&(e.fill=new sy(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:r,offset:0},{color:i,offset:1}]))}}function Xrt(e,t,n){var r=new Ht({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Sn(r,{shape:{width:e.width+20}},t,n),r}const Yrt=Urt;var qrt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){var i=n.edges||n.links||[],o=n.data||n.nodes||[],a=n.levels||[];this.levelModels=[];for(var l=this.levelModels,s=0;s=0&&(l[a[s].depth]=new hn(a[s],this,r));var u=Moe(o,i,this,!0,c);return u.data;function c(d,f){d.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getData().getItemLayout(v);if(g){var m=g.depth,y=p.levelModels[m];y&&(h.parentModel=y)}return h}),f.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getGraph().getEdgeByIndex(v),m=g.node1.getLayout();if(m){var y=m.depth,b=p.levelModels[y];b&&(h.parentModel=b)}return h})}},t.prototype.setNodePosition=function(n,r){var i=this.option.data||this.option.nodes,o=i[n];o.localX=r[0],o.localY=r[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(n,r,i){function o(h){return isNaN(h)||h==null}if(i==="edge"){var a=this.getDataParams(n,i),l=a.data,s=a.value,u=l.source+" -- "+l.target;return pr("nameValue",{name:u,value:s,noValue:o(s)})}else{var c=this.getGraph().getNodeByIndex(n),d=c.getLayout().value,f=this.getDataParams(n,i).data.name;return pr("nameValue",{name:f!=null?f+"":null,value:d,noValue:o(d)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(n,r){var i=e.prototype.getDataParams.call(this,n,r);if(i.value==null&&r==="node"){var o=this.getGraph().getNodeByIndex(n),a=o.getLayout().value;i.value=a}return i},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(_n);const Zrt=qrt;function Qrt(e,t){e.eachSeriesByType("sankey",function(n){var r=n.get("nodeWidth"),i=n.get("nodeGap"),o=Jrt(n,t);n.layoutInfo=o;var a=o.width,l=o.height,s=n.getGraph(),u=s.nodes,c=s.edges;tit(u);var d=Zt(u,function(p){return p.getLayout().value===0}),f=d.length!==0?0:n.get("layoutIterations"),h=n.get("orient"),v=n.get("nodeAlign");eit(u,c,r,i,a,l,f,h,v)})}function Jrt(e,t){return ir(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function eit(e,t,n,r,i,o,a,l,s){nit(e,t,n,i,o,l,s),ait(e,t,o,i,r,a,l),pit(e,l)}function tit(e){j(e,function(t){var n=uu(t.outEdges,mx),r=uu(t.inEdges,mx),i=t.getValue()||0,o=Math.max(n,r,i);t.setLayout({value:o},!0)})}function nit(e,t,n,r,i,o,a){for(var l=[],s=[],u=[],c=[],d=0,f=0;f=0;m&&g.depth>h&&(h=g.depth),p.setLayout({depth:m?g.depth:d},!0),o==="vertical"?p.setLayout({dy:n},!0):p.setLayout({dx:n},!0);for(var y=0;yd-1?h:d-1;a&&a!=="left"&&rit(e,a,o,C);var T=o==="vertical"?(i-n)/C:(r-n)/C;oit(e,T,o)}function Yoe(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function rit(e,t,n,r){if(t==="right"){for(var i=[],o=e,a=0;o.length;){for(var l=0;l0;o--)s*=.99,uit(l,s,a),PT(l,i,n,r,a),vit(l,s,a),PT(l,i,n,r,a)}function lit(e,t){var n=[],r=t==="vertical"?"y":"x",i=$M(e,function(o){return o.getLayout()[r]});return i.keys.sort(function(o,a){return o-a}),j(i.keys,function(o){n.push(i.buckets.get(o))}),n}function sit(e,t,n,r,i,o){var a=1/0;j(e,function(l){var s=l.length,u=0;j(l,function(d){u+=d.getLayout().value});var c=o==="vertical"?(r-(s-1)*i)/u:(n-(s-1)*i)/u;c0&&(l=s.getLayout()[o]+u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[o]+s.getLayout()[f]+t;var v=i==="vertical"?r:n;if(u=c-t-v,u>0){l=s.getLayout()[o]-u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0),c=l;for(var h=d-2;h>=0;--h)s=a[h],u=s.getLayout()[o]+s.getLayout()[f]+t-c,u>0&&(l=s.getLayout()[o]-u,i==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[o]}})}function uit(e,t,n){j(e.slice().reverse(),function(r){j(r,function(i){if(i.outEdges.length){var o=uu(i.outEdges,cit,n)/uu(i.outEdges,mx);if(isNaN(o)){var a=i.outEdges.length;o=a?uu(i.outEdges,dit,n)/a:0}if(n==="vertical"){var l=i.getLayout().x+(o-wu(i,n))*t;i.setLayout({x:l},!0)}else{var s=i.getLayout().y+(o-wu(i,n))*t;i.setLayout({y:s},!0)}}})})}function cit(e,t){return wu(e.node2,t)*e.getValue()}function dit(e,t){return wu(e.node2,t)}function fit(e,t){return wu(e.node1,t)*e.getValue()}function hit(e,t){return wu(e.node1,t)}function wu(e,t){return t==="vertical"?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function mx(e){return e.getValue()}function uu(e,t,n){for(var r=0,i=e.length,o=-1;++oa&&(a=s)}),j(r,function(l){var s=new Mr({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:t.get("color")}),u=s.mapValueToVisual(l.getLayout().value),c=l.getModel().get(["itemStyle","color"]);c!=null?(l.setVisual("color",c),l.setVisual("style",{fill:c})):(l.setVisual("color",u),l.setVisual("style",{fill:u}))})}i.length&&j(i,function(l){var s=l.getModel().get("lineStyle");l.setVisual("style",s)})})}function mit(e){e.registerChartView(Yrt),e.registerSeriesModel(Zrt),e.registerLayout(Qrt),e.registerVisual(git),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"sankey",query:t},function(r){r.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var qoe=function(){function e(){}return e.prototype._hasEncodeRule=function(t){var n=this.getEncode();return n&&n.get(t)!=null},e.prototype.getInitialData=function(t,n){var r,i=n.getComponent("xAxis",this.get("xAxisIndex")),o=n.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),l=o.get("type"),s;a==="category"?(t.layout="horizontal",r=i.getOrdinalMeta(),s=!this._hasEncodeRule("x")):l==="category"?(t.layout="vertical",r=o.getOrdinalMeta(),s=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,d=this._baseAxisDim=u[c],f=u[1-c],h=[i,o],v=h[c].get("type"),p=h[1-c].get("type"),g=t.data;if(g&&s){var m=[];j(g,function(S,x){var $;Ae(S)?($=S.slice(),S.unshift(x)):Ae(S.value)?($=Te({},S),$.value=$.value.slice(),S.value.unshift(x)):$=S,m.push($)}),t.data=m}var y=this.defaultValueDimensions,b=[{name:d,type:ox(v),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:ox(p),dimsDef:y.slice()}];return Iv(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:pt(bne,b,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),Zoe=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(_n);qn(Zoe,qoe,!0);const yit=Zoe;var bit=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this.group,l=this._data;this._data||a.removeAll();var s=n.get("layout")==="horizontal"?1:0;o.diff(l).add(function(u){if(o.hasValue(u)){var c=o.getItemLayout(u),d=cV(c,o,u,s,!0);o.setItemGraphicEl(u,d),a.add(d)}}).update(function(u,c){var d=l.getItemGraphicEl(c);if(!o.hasValue(u)){a.remove(d);return}var f=o.getItemLayout(u);d?(fa(d),Qoe(f,d,o,u)):d=cV(f,o,u,s),a.add(d),o.setItemGraphicEl(u,d)}).remove(function(u){var c=l.getItemGraphicEl(u);c&&a.remove(c)}).execute(),this._data=o},t.prototype.remove=function(n){var r=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(o){o&&r.remove(o)})},t.type="boxplot",t}(pn),Sit=function(){function e(){}return e}(),xit=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="boxplotBoxPath",r}return t.prototype.getDefaultShape=function(){return new Sit},t.prototype.buildPath=function(n,r){var i=r.points,o=0;for(n.moveTo(i[o][0],i[o][1]),o++;o<4;o++)n.lineTo(i[o][0],i[o][1]);for(n.closePath();op){var S=[m,b];r.push(S)}}}return{boxData:n,outliers:r}}var Mit={type:"echarts:boxplot",transform:function(t){var n=t.upstream;if(n.sourceFormat!==Zr){var r="";qt(r)}var i=Pit(n.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function Ait(e){e.registerSeriesModel(yit),e.registerChartView(Cit),e.registerLayout($it),e.registerTransform(Mit)}var Oit=["itemStyle","borderColor"],Dit=["itemStyle","borderColor0"],Eit=["itemStyle","borderColorDoji"],Rit=["itemStyle","color"],Lit=["itemStyle","color0"];function zR(e,t){return t.get(e>0?Rit:Lit)}function HR(e,t){return t.get(e===0?Eit:e>0?Oit:Dit)}var Nit={seriesType:"candlestick",plan:Cv(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var n=e.pipelineContext.large;return!n&&{progress:function(r,i){for(var o;(o=r.next())!=null;){var a=i.getItemModel(o),l=i.getItemLayout(o).sign,s=a.getItemStyle();s.fill=zR(l,a),s.stroke=HR(l,a)||s.fill;var u=i.ensureUniqueItemVisual(o,"style");Te(u,s)}}}}}};const kit=Nit;var Bit=["color","borderColor"],Fit=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(n),this._isLargeDraw?this._renderLarge(n):this._renderNormal(n)},t.prototype.incrementalPrepareRender=function(n,r,i){this._clear(),this._updateDrawMode(n)},t.prototype.incrementalRender=function(n,r,i,o){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(n,r):this._incrementalRenderNormal(n,r)},t.prototype.eachRendered=function(n){Eu(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n){var r=n.getData(),i=this._data,o=this.group,a=r.getLayout("isSimpleBox"),l=n.get("clip",!0),s=n.coordinateSystem,u=s.getArea&&s.getArea();this._data||o.removeAll(),r.diff(i).add(function(c){if(r.hasValue(c)){var d=r.getItemLayout(c);if(l&&dV(u,d))return;var f=MT(d,c,!0);Sn(f,{shape:{points:d.ends}},n,c),AT(f,r,c,a),o.add(f),r.setItemGraphicEl(c,f)}}).update(function(c,d){var f=i.getItemGraphicEl(d);if(!r.hasValue(c)){o.remove(f);return}var h=r.getItemLayout(c);if(l&&dV(u,h)){o.remove(f);return}f?(Kt(f,{shape:{points:h.ends}},n,c),fa(f)):f=MT(h),AT(f,r,c,a),o.add(f),r.setItemGraphicEl(c,f)}).remove(function(c){var d=i.getItemGraphicEl(c);d&&o.remove(d)}).execute(),this._data=r},t.prototype._renderLarge=function(n){this._clear(),fV(n,this.group);var r=n.get("clip",!0)?my(n.coordinateSystem,!1,n):null;r?this.group.setClipPath(r):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(n,r){for(var i=r.getData(),o=i.getLayout("isSimpleBox"),a;(a=n.next())!=null;){var l=i.getItemLayout(a),s=MT(l);AT(s,i,a,o),s.incremental=!0,this.group.add(s),this._progressiveEls.push(s)}},t.prototype._incrementalRenderLarge=function(n,r){fV(r,this.group,this._progressiveEls,!0)},t.prototype.remove=function(n){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(pn),zit=function(){function e(){}return e}(),Hit=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r.type="normalCandlestickBox",r}return t.prototype.getDefaultShape=function(){return new zit},t.prototype.buildPath=function(n,r){var i=r.points;this.__simpleBox?(n.moveTo(i[4][0],i[4][1]),n.lineTo(i[6][0],i[6][1])):(n.moveTo(i[0][0],i[0][1]),n.lineTo(i[1][0],i[1][1]),n.lineTo(i[2][0],i[2][1]),n.lineTo(i[3][0],i[3][1]),n.closePath(),n.moveTo(i[4][0],i[4][1]),n.lineTo(i[5][0],i[5][1]),n.moveTo(i[6][0],i[6][1]),n.lineTo(i[7][0],i[7][1]))},t}(Mt);function MT(e,t,n){var r=e.ends;return new Hit({shape:{points:n?Vit(r,e):r},z2:100})}function dV(e,t){for(var n=!0,r=0;rx?M[o]:P[o],ends:R,brushRect:B($,C,b)})}function k(H,V){var X=[];return X[i]=V,X[o]=H,isNaN(V)||isNaN(H)?[NaN,NaN]:t.dataToPoint(X)}function N(H,V,X){var Q=V.slice(),K=V.slice();Q[i]=y1(Q[i]+r/2,1,!1),K[i]=y1(K[i]-r/2,1,!0),X?H.push(Q,K):H.push(K,Q)}function B(H,V,X){var Q=k(H,X),K=k(V,X);return Q[i]-=r/2,K[i]-=r/2,{x:Q[0],y:Q[1],width:r,height:K[1]-Q[1]}}function F(H){return H[i]=y1(H[i],1),H}}function v(p,g){for(var m=Wa(p.count*4),y=0,b,S=[],x=[],$,C=g.getStore(),T=!!e.get(["itemStyle","borderColorDoji"]);($=p.next())!=null;){var I=C.get(l,$),P=C.get(u,$),M=C.get(c,$),O=C.get(d,$),D=C.get(f,$);if(isNaN(I)||isNaN(O)||isNaN(D)){m[y++]=NaN,y+=3;continue}m[y++]=hV(C,$,P,M,c,T),S[i]=I,S[o]=O,b=t.dataToPoint(S,null,x),m[y++]=b?b[0]:NaN,m[y++]=b?b[1]:NaN,S[o]=D,b=t.dataToPoint(S,null,x),m[y++]=b?b[1]:NaN}g.setLayout("largePoints",m)}}};function hV(e,t,n,r,i,o){var a;return n>r?a=-1:n0?e.get(i,t-1)<=r?1:-1:1,a}function Xit(e,t){var n=e.getBaseAxis(),r,i=n.type==="category"?n.getBandWidth():(r=n.getExtent(),Math.abs(r[1]-r[0])/t.count()),o=Ne(vt(e.get("barMaxWidth"),i),i),a=Ne(vt(e.get("barMinWidth"),1),i),l=e.get("barWidth");return l!=null?Ne(l,i):Math.max(Math.min(i/2,o),a)}const Yit=Uit;function qit(e){e.registerChartView(jit),e.registerSeriesModel(Git),e.registerPreprocessor(Kit),e.registerVisual(kit),e.registerLayout(Yit)}function vV(e,t){var n=t.rippleEffectColor||t.color;e.eachChild(function(r){r.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?n:null,fill:t.brushType==="fill"?n:null}})})}var Zit=function(e){ge(t,e);function t(n,r){var i=e.call(this)||this,o=new py(n,r),a=new lt;return i.add(o),i.add(a),i.updateData(n,r),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(n){for(var r=n.symbolType,i=n.color,o=n.rippleNumber,a=this.childAt(1),l=0;l0&&(l=this._getLineLength(o)/c*1e3),l!==this._period||s!==this._loop||u!==this._roundTrip){o.stopAnimation();var f=void 0;Ze(d)?f=d(i):f=d,o.__t>0&&(f=-l*o.__t),this._animateSymbol(o,l,f,s,u)}this._period=l,this._loop=s,this._roundTrip=u}},t.prototype._animateSymbol=function(n,r,i,o,a){if(r>0){n.__t=0;var l=this,s=n.animate("",o).when(a?r*2:r,{__t:a?2:1}).delay(i).during(function(){l._updateSymbolPosition(n)});o||s.done(function(){l.remove(n)}),s.start()}},t.prototype._getLineLength=function(n){return Us(n.__p1,n.__cp1)+Us(n.__cp1,n.__p2)},t.prototype._updateAnimationPoints=function(n,r){n.__p1=r[0],n.__p2=r[1],n.__cp1=r[2]||[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]},t.prototype.updateData=function(n,r,i){this.childAt(0).updateData(n,r,i),this._updateEffectSymbol(n,r)},t.prototype._updateSymbolPosition=function(n){var r=n.__p1,i=n.__p2,o=n.__cp1,a=n.__t<1?n.__t:2-n.__t,l=[n.x,n.y],s=l.slice(),u=mr,c=uM;l[0]=u(r[0],o[0],i[0],a),l[1]=u(r[1],o[1],i[1],a);var d=n.__t<1?c(r[0],o[0],i[0],a):c(i[0],o[0],r[0],1-a),f=n.__t<1?c(r[1],o[1],i[1],a):c(i[1],o[1],r[1],1-a);n.rotation=-Math.atan2(f,d)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(n.__lastT!==void 0&&n.__lastT=0&&!(o[s]<=r);s--);s=Math.min(s,a-2)}else{for(s=l;sr);s++);s=Math.min(s-1,a-2)}var c=(r-o[s])/(o[s+1]-o[s]),d=i[s],f=i[s+1];n.x=d[0]*(1-c)+c*f[0],n.y=d[1]*(1-c)+c*f[1];var h=n.__t<1?f[0]-d[0]:d[0]-f[0],v=n.__t<1?f[1]-d[1]:d[1]-f[1];n.rotation=-Math.atan2(v,h)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=r,n.ignore=!1}},t}(eae);const lot=aot;var sot=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),uot=function(e){ge(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new sot},t.prototype.buildPath=function(n,r){var i=r.segs,o=r.curveness,a;if(r.polyline)for(a=this._off;a0){n.moveTo(i[a++],i[a++]);for(var s=1;s0){var h=(u+d)/2-(c-f)*o,v=(c+f)/2-(d-u)*o;n.quadraticCurveTo(h,v,d,f)}else n.lineTo(d,f)}this.incremental&&(this._off=a,this.notClear=!0)},t.prototype.findDataIndex=function(n,r){var i=this.shape,o=i.segs,a=i.curveness,l=this.style.lineWidth;if(i.polyline)for(var s=0,u=0;u0)for(var d=o[u++],f=o[u++],h=1;h0){var g=(d+v)/2-(f-p)*a,m=(f+p)/2-(v-d)*a;if(ate(d,f,g,m,v,p,l,n,r))return s}else if(Bs(d,f,v,p,l,n,r))return s;s++}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.segs,o=1/0,a=1/0,l=-1/0,s=-1/0,u=0;u0&&(a.dataIndex=s+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const dot=cot;var fot={seriesType:"lines",plan:Cv(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var l=void 0,s=i.end-i.start;if(n){for(var u=0,c=i.start;c0&&(c||u.configLayer(l,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(s/10+.9,1),0)})),a.updateData(o);var d=n.get("clip",!0)&&my(n.coordinateSystem,!1,n);d?this.group.setClipPath(d):this.group.removeClipPath(),this._lastZlevel=l,this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateLineDraw(o,n);a.incrementalPrepareUpdate(o),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._lineDraw.incrementalUpdate(n,r.getData()),this._finished=n.end===r.getData().count()},t.prototype.eachRendered=function(n){this._lineDraw&&this._lineDraw.eachRendered(n)},t.prototype.updateTransform=function(n,r,i){var o=n.getData(),a=n.pipelineContext;if(!this._finished||a.large||a.progressiveRender)return{update:!0};var l=nae.reset(n,r,i);l.progress&&l.progress({start:0,end:o.count(),count:o.count()},o),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(n,r){var i=this._lineDraw,o=this._showEffect(r),a=!!r.get("polyline"),l=r.pipelineContext,s=l.large;return(!i||o!==this._hasEffet||a!==this._isPolyline||s!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=s?new dot:new DR(a?o?lot:tae:o?eae:OR),this._hasEffet=o,this._isPolyline=a,this._isLargeDraw=s),this.group.add(i.group),i},t.prototype._showEffect=function(n){return!!n.get(["effect","show"])},t.prototype._clearLayer=function(n){var r=n.getZr(),i=r.painter.getType()==="svg";!i&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(n,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.type="lines",t}(pn);const vot=hot;var pot=typeof Uint32Array=="undefined"?Array:Uint32Array,got=typeof Float64Array=="undefined"?Array:Float64Array;function pV(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Oe(t,function(n){var r=[n[0].coord,n[1].coord],i={coords:r};return n[0].name&&(i.fromName=n[0].name),n[1].name&&(i.toName=n[1].name),o4([i,n[0],n[1]])}))}var mot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return t.prototype.init=function(n){n.data=n.data||[],pV(n);var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(n){if(pV(n),n.data){var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(n){var r=this._processFlatCoordsArray(n.data);r.flatCoords&&(this._flatCoords?(this._flatCoords=rm(this._flatCoords,r.flatCoords),this._flatCoordsOffset=rm(this._flatCoordsOffset,r.flatCoordsOffset)):(this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset),n.data=new Float32Array(r.count)),this.getRawData().appendData(n.data)},t.prototype._getCoordsFromItemModel=function(n){var r=this.getData().getItemModel(n),i=r.option instanceof Array?r.option:r.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(n){return this._flatCoordsOffset?this._flatCoordsOffset[n*2+1]:this._getCoordsFromItemModel(n).length},t.prototype.getLineCoords=function(n,r){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[n*2],o=this._flatCoordsOffset[n*2+1],a=0;a ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var n=this.option.progressive;return n==null?this.option.large?1e4:this.get("progressive"):n},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n==null?this.option.large?2e4:this.get("progressiveThreshold"):n},t.prototype.getZLevelKey=function(){var n=this.getModel("effect"),r=n.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:n.get("show")&&r>0?r+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(_n);const yot=mot;function ab(e){return e instanceof Array||(e=[e,e]),e}var bot={seriesType:"lines",reset:function(e){var t=ab(e.get("symbol")),n=ab(e.get("symbolSize")),r=e.getData();r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]);function i(o,a){var l=o.getItemModel(a),s=ab(l.getShallow("symbol",!0)),u=ab(l.getShallow("symbolSize",!0));s[0]&&o.setItemVisual(a,"fromSymbol",s[0]),s[1]&&o.setItemVisual(a,"toSymbol",s[1]),u[0]&&o.setItemVisual(a,"fromSymbolSize",u[0]),u[1]&&o.setItemVisual(a,"toSymbolSize",u[1])}return{dataEach:r.hasItemOption?i:null}}};const Sot=bot;function xot(e){e.registerChartView(vot),e.registerSeriesModel(yot),e.registerLayout(nae),e.registerVisual(Sot)}var wot=256,Cot=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=gu.createCanvas();this.canvas=t}return e.prototype.update=function(t,n,r,i,o,a){var l=this._getBrush(),s=this._getGradient(o,"inRange"),u=this._getGradient(o,"outOfRange"),c=this.pointSize+this.blurSize,d=this.canvas,f=d.getContext("2d"),h=t.length;d.width=n,d.height=r;for(var v=0;v0){var O=a(b)?s:u;b>0&&(b=b*P+T),x[$++]=O[M],x[$++]=O[M+1],x[$++]=O[M+2],x[$++]=O[M+3]*b*256}else $+=4}return f.putImageData(S,0,0),d},e.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=gu.createCanvas()),n=this.pointSize+this.blurSize,r=n*2;t.width=r,t.height=r;var i=t.getContext("2d");return i.clearRect(0,0,r,r),i.shadowOffsetX=r,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-n,n,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},e.prototype._getGradient=function(t,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(256*4)),o=[0,0,0,0],a=0,l=0;l<256;l++)t[n](l/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i},e}();const $ot=Cot;function _ot(e,t,n){var r=e[1]-e[0];t=Oe(t,function(a){return{interval:[(a.interval[0]-e[0])/r,(a.interval[1]-e[0])/r]}});var i=t.length,o=0;return function(a){var l;for(l=o;l=0;l--){var s=t[l].interval;if(s[0]<=a&&a<=s[1]){o=l;break}}return l>=0&&l=t[0]&&r<=t[1]}}function gV(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var Iot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o;r.eachComponent("visualMap",function(l){l.eachTargetSeries(function(s){s===n&&(o=l)})}),this._progressiveEls=null,this.group.removeAll();var a=n.coordinateSystem;a.type==="cartesian2d"||a.type==="calendar"?this._renderOnCartesianAndCalendar(n,i,0,n.getData().count()):gV(a)&&this._renderOnGeo(a,n,o,i)},t.prototype.incrementalPrepareRender=function(n,r,i){this.group.removeAll()},t.prototype.incrementalRender=function(n,r,i,o){var a=r.coordinateSystem;a&&(gV(a)?this.render(r,i,o):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(r,o,n.start,n.end,!0)))},t.prototype.eachRendered=function(n){Eu(this._progressiveEls||this.group,n)},t.prototype._renderOnCartesianAndCalendar=function(n,r,i,o,a){var l=n.coordinateSystem,s=Xd(l,"cartesian2d"),u,c,d,f;if(s){var h=l.getAxis("x"),v=l.getAxis("y");u=h.getBandWidth()+.5,c=v.getBandWidth()+.5,d=h.scale.getExtent(),f=v.scale.getExtent()}for(var p=this.group,g=n.getData(),m=n.getModel(["emphasis","itemStyle"]).getItemStyle(),y=n.getModel(["blur","itemStyle"]).getItemStyle(),b=n.getModel(["select","itemStyle"]).getItemStyle(),S=n.get(["itemStyle","borderRadius"]),x=vr(n),$=n.getModel("emphasis"),C=$.get("focus"),T=$.get("blurScope"),I=$.get("disabled"),P=s?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],M=i;Md[1]||Af[1])continue;var E=l.dataToPoint([R,A]);O=new Ht({shape:{x:E[0]-u/2,y:E[1]-c/2,width:u,height:c},style:D})}else{if(isNaN(g.get(P[1],M)))continue;O=new Ht({z2:1,shape:l.dataToRect([g.get(P[0],M)]).contentShape,style:D})}if(g.hasItemOption){var k=g.getItemModel(M),N=k.getModel("emphasis");m=N.getModel("itemStyle").getItemStyle(),y=k.getModel(["blur","itemStyle"]).getItemStyle(),b=k.getModel(["select","itemStyle"]).getItemStyle(),S=k.get(["itemStyle","borderRadius"]),C=N.get("focus"),T=N.get("blurScope"),I=N.get("disabled"),x=vr(k)}O.shape.r=S;var B=n.getRawValue(M),F="-";B&&B[2]!=null&&(F=B[2]+""),Dr(O,x,{labelFetcher:n,labelDataIndex:M,defaultOpacity:D.opacity,defaultText:F}),O.ensureState("emphasis").style=m,O.ensureState("blur").style=y,O.ensureState("select").style=b,In(O,C,T,I),O.incremental=a,a&&(O.states.emphasis.hoverLayer=!0),p.add(O),g.setItemGraphicEl(M,O),this._progressiveEls&&this._progressiveEls.push(O)}},t.prototype._renderOnGeo=function(n,r,i,o){var a=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,s=r.getData(),u=this._hmLayer||this._hmLayer||new $ot;u.blurSize=r.get("blurSize"),u.pointSize=r.get("pointSize"),u.minOpacity=r.get("minOpacity"),u.maxOpacity=r.get("maxOpacity");var c=n.getViewRect().clone(),d=n.getRoamTransform();c.applyTransform(d);var f=Math.max(c.x,0),h=Math.max(c.y,0),v=Math.min(c.width+c.x,o.getWidth()),p=Math.min(c.height+c.y,o.getHeight()),g=v-f,m=p-h,y=[s.mapDimension("lng"),s.mapDimension("lat"),s.mapDimension("value")],b=s.mapArray(y,function(C,T,I){var P=n.dataToPoint([C,T]);return P[0]-=f,P[1]-=h,P.push(I),P}),S=i.getExtent(),x=i.type==="visualMap.continuous"?Tot(S,i.option.range):_ot(S,i.getPieceList(),i.option.selected);u.update(b,g,m,a.color.getNormalizer(),{inRange:a.color.getColorMapper(),outOfRange:l.color.getColorMapper()},x);var $=new Er({style:{width:g,height:m,x:f,y:h,image:u.canvas},silent:!0});this.group.add($)},t.type="heatmap",t}(pn);const Pot=Iot;var Mot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return ds(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var n=dy.get(this.get("coordinateSystem"));if(n&&n.dimensions)return n.dimensions[0]==="lng"&&n.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(_n);const Aot=Mot;function Oot(e){e.registerChartView(Pot),e.registerSeriesModel(Aot)}var Dot=["itemStyle","borderWidth"],mV=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],ET=new Du,Eot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group,a=n.getData(),l=this._data,s=n.coordinateSystem,u=s.getBaseAxis(),c=u.isHorizontal(),d=s.master.getRect(),f={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:n,coordSys:s,coordSysExtent:[[d.x,d.x+d.width],[d.y,d.y+d.height]],isHorizontal:c,valueDim:mV[+c],categoryDim:mV[1-+c]};a.diff(l).add(function(v){if(a.hasValue(v)){var p=bV(a,v),g=yV(a,v,p,f),m=SV(a,f,g);a.setItemGraphicEl(v,m),o.add(m),wV(m,f,g)}}).update(function(v,p){var g=l.getItemGraphicEl(p);if(!a.hasValue(v)){o.remove(g);return}var m=bV(a,v),y=yV(a,v,m,f),b=sae(a,y);g&&b!==g.__pictorialShapeStr&&(o.remove(g),a.setItemGraphicEl(v,null),g=null),g?zot(g,f,y):g=SV(a,f,y,!0),a.setItemGraphicEl(v,g),g.__pictorialSymbolMeta=y,o.add(g),wV(g,f,y)}).remove(function(v){var p=l.getItemGraphicEl(v);p&&xV(l,v,p.__pictorialSymbolMeta.animationModel,p)}).execute();var h=n.get("clip",!0)?my(n.coordinateSystem,!1,n):null;return h?o.setClipPath(h):o.removeClipPath(),this._data=a,this.group},t.prototype.remove=function(n,r){var i=this.group,o=this._data;n.get("animation")?o&&o.eachItemGraphicEl(function(a){xV(o,ut(a).dataIndex,n,a)}):i.removeAll()},t.type="pictorialBar",t}(pn);function yV(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=n.get("symbolRotate"),u=(s||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),f={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Rot(n,o,i,r,f),Lot(e,t,i,o,a,f.boundingLength,f.pxSign,c,r,f),Not(n,f.symbolScale,u,r,f);var h=f.symbolSize,v=Kd(n.get("symbolOffset"),h);return kot(n,h,i,o,a,v,l,f.valueLineWidth,f.boundingLength,f.repeatCutLength,r,f),f}function Rot(e,t,n,r,i){var o=r.valueDim,a=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),s=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[o.wh]<=0),c;if(Ae(a)){var d=[RT(l,a[0])-s,RT(l,a[1])-s];d[1]=0?1:-1:c>0?1:-1}function RT(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function Lot(e,t,n,r,i,o,a,l,s,u){var c=s.valueDim,d=s.categoryDim,f=Math.abs(n[d.wh]),h=e.getItemVisual(t,"symbolSize"),v;Ae(h)?v=h.slice():h==null?v=["100%","100%"]:v=[h,h],v[d.index]=Ne(v[d.index],f),v[c.index]=Ne(v[c.index],r?f:Math.abs(o)),u.symbolSize=v;var p=u.symbolScale=[v[0]/l,v[1]/l];p[c.index]*=(s.isHorizontal?-1:1)*a}function Not(e,t,n,r,i){var o=e.get(Dot)||0;o&&(ET.attr({scaleX:t[0],scaleY:t[1],rotation:n}),ET.updateTransform(),o/=ET.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o||0}function kot(e,t,n,r,i,o,a,l,s,u,c,d){var f=c.categoryDim,h=c.valueDim,v=d.pxSign,p=Math.max(t[h.index]+l,0),g=p;if(r){var m=Math.abs(s),y=br(e.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var S=Ne(y,t[h.index]),x=Math.max(p+S*2,0),$=b?0:S*2,C=Kee(r),T=C?r:CV((m+$)/x),I=m-T*p;S=I/2/(b?T:Math.max(T-1,1)),x=p+S*2,$=b?0:S*2,!C&&r!=="fixed"&&(T=u?CV((Math.abs(u)+$)/x):0),g=T*x-$,d.repeatTimes=T,d.symbolMargin=S}var P=v*(g/2),M=d.pathPosition=[];M[f.index]=n[f.wh]/2,M[h.index]=a==="start"?P:a==="end"?s-P:s/2,o&&(M[0]+=o[0],M[1]+=o[1]);var O=d.bundlePosition=[];O[f.index]=n[f.xy],O[h.index]=n[h.xy];var D=d.barRectShape=Te({},n);D[h.wh]=v*Math.max(Math.abs(n[h.wh]),Math.abs(M[h.index]+P)),D[f.wh]=n[f.wh];var R=d.clipShape={};R[f.xy]=-n[f.xy],R[f.wh]=c.ecSize[f.wh],R[h.xy]=0,R[h.wh]=n[h.wh]}function rae(e){var t=e.symbolPatternSize,n=Yn(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),n.type!=="image"&&n.setStyle({strokeNoScale:!0}),n}function iae(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,l=n.pathPosition,s=t.valueDim,u=n.repeatTimes||0,c=0,d=o[t.valueDim.index]+a+n.symbolMargin*2;for(VR(e,function(p){p.__pictorialAnimationIndex=c,p.__pictorialRepeatTimes=u,c0:m<0)&&(y=u-1-p),g[s.index]=d*(y-u/2+.5)+l[s.index],{x:g[0],y:g[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function oae(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?xh(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=rae(n),i.add(o),xh(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function aae(e,t,n){var r=Te({},t.barRectShape),i=e.__pictorialBarRect;i?xh(i,null,{shape:r},t,n):(i=e.__pictorialBarRect=new Ht({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function lae(e,t,n,r){if(n.symbolClip){var i=e.__pictorialClipPath,o=Te({},n.clipShape),a=t.valueDim,l=n.animationModel,s=n.dataIndex;if(i)Kt(i,{shape:o},l,s);else{o[a.wh]=0,i=new Ht({shape:o}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var u={};u[a.wh]=n.clipShape[a.wh],jd[r?"updateProps":"initProps"](i,{shape:u},l,s)}}}function bV(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=Bot,n.isAnimationEnabled=Fot,n}function Bot(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function Fot(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function SV(e,t,n,r){var i=new lt,o=new lt;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?iae(i,t,n):oae(i,t,n),aae(i,n,r),lae(i,t,n,r),i.__pictorialShapeStr=sae(e,n),i.__pictorialSymbolMeta=n,i}function zot(e,t,n){var r=n.animationModel,i=n.dataIndex,o=e.__pictorialBundle;Kt(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?iae(e,t,n,!0):oae(e,t,n,!0),aae(e,n,!0),lae(e,t,n,!0)}function xV(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];VR(r,function(a){o.push(a)}),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),j(o,function(a){yu(a,{scaleX:0,scaleY:0},n,t,function(){r.parent&&r.parent.remove(r)})}),e.setItemGraphicEl(t,null)}function sae(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function VR(e,t,n){j(e.__pictorialBundle.children(),function(r){r!==e.__pictorialBarRect&&t.call(n,r)})}function xh(e,t,n,r,i,o){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&jd[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,o)}function wV(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),l=i.getModel(["blur","itemStyle"]).getItemStyle(),s=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),f=o.get("scale");VR(e,function(p){if(p instanceof Er){var g=p.style;p.useStyle(Te({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},n.style))}else p.useStyle(n.style);var m=p.ensureState("emphasis");m.style=a,f&&(m.scaleX=p.scaleX*1.1,m.scaleY=p.scaleY*1.1),p.ensureState("blur").style=l,p.ensureState("select").style=s,u&&(p.cursor=u),p.z2=n.z2});var h=t.valueDim.posDesc[+(n.boundingLength>0)],v=e.__pictorialBarRect;v.ignoreClip=!0,Dr(v,vr(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:Kh(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:h}),In(e,c,d,o.get("disabled"))}function CV(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const Hot=Eot;var Vot=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return t.prototype.getInitialData=function(n){return n.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Ru(cx.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(cx);const Wot=Vot;function jot(e){e.registerChartView(Hot),e.registerSeriesModel(Wot),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,pt(zre,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Hre("pictorialBar"))}var Got=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this,l=this.group,s=n.getLayerSeries(),u=o.getLayout("layoutInfo"),c=u.rect,d=u.boundaryGap;l.x=0,l.y=c.y+d[0];function f(g){return g.name}var h=new Jl(this._layersSeries||[],s,f,f),v=[];h.add(ze(p,this,"add")).update(ze(p,this,"update")).remove(ze(p,this,"remove")).execute();function p(g,m,y){var b=a._layers;if(g==="remove"){l.remove(b[m]);return}for(var S=[],x=[],$,C=s[m].indices,T=0;To&&(o=l),r.push(l)}for(var u=0;uo&&(o=d)}return{y0:i,max:o}}function Qot(e){e.registerChartView(Uot),e.registerSeriesModel(Yot),e.registerLayout(qot),e.registerProcessor(by("themeRiver"))}var Jot=2,eat=4,tat=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this)||this;a.z2=Jot,a.textConfig={inside:!0},ut(a).seriesIndex=r.seriesIndex;var l=new jt({z2:eat,silent:n.getModel().get(["label","silent"])});return a.setTextContent(l),a.updateData(!0,n,r,i,o),a}return t.prototype.updateData=function(n,r,i,o,a){this.node=r,r.piece=this,i=i||this._seriesModel,o=o||this._ecModel;var l=this;ut(l).dataIndex=r.dataIndex;var s=r.getModel(),u=s.getModel("emphasis"),c=r.getLayout(),d=Te({},c);d.label=null;var f=r.getVisual("style");f.lineJoin="bevel";var h=r.getVisual("decal");h&&(f.decal=jh(h,a));var v=Kc(s.getModel("itemStyle"),d,!0);Te(d,v),j(gi,function(y){var b=l.ensureState(y),S=s.getModel([y,"itemStyle"]);b.style=S.getItemStyle();var x=Kc(S,d);x&&(b.shape=x)}),n?(l.setShape(d),l.shape.r=c.r0,Sn(l,{shape:{r:c.r}},i,r.dataIndex)):(Kt(l,{shape:d},i),fa(l)),l.useStyle(f),this._updateLabel(i);var p=s.getShallow("cursor");p&&l.attr("cursor",p),this._seriesModel=i||this._seriesModel,this._ecModel=o||this._ecModel;var g=u.get("focus"),m=g==="relative"?rm(r.getAncestorsIndices(),r.getDescendantIndices()):g==="ancestor"?r.getAncestorsIndices():g==="descendant"?r.getDescendantIndices():g;In(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n){var r=this,i=this.node.getModel(),o=i.getModel("label"),a=this.node.getLayout(),l=a.endAngle-a.startAngle,s=(a.startAngle+a.endAngle)/2,u=Math.cos(s),c=Math.sin(s),d=this,f=d.getTextContent(),h=this.node.dataIndex,v=o.get("minAngle")/180*Math.PI,p=o.get("show")&&!(v!=null&&Math.abs(l)R&&!lm(E-R)&&E0?(a.virtualPiece?a.virtualPiece.updateData(!1,y,n,r,i):(a.virtualPiece=new _V(y,n,r,i),c.add(a.virtualPiece)),b.piece.off("click"),a.virtualPiece.on("click",function(S){a._rootToNode(b.parentNode)})):a.virtualPiece&&(c.remove(a.virtualPiece),a.virtualPiece=null)}},t.prototype._initEvents=function(){var n=this;this.group.off("click"),this.group.on("click",function(r){var i=!1,o=n.seriesModel.getViewRoot();o.eachNode(function(a){if(!i&&a.piece&&a.piece===r.target){var l=a.getModel().get("nodeClick");if(l==="rootToNode")n._rootToNode(a);else if(l==="link"){var s=a.getModel(),u=s.get("link");if(u){var c=s.get("target",!0)||"_blank";ZS(u,c)}}i=!0}})})},t.prototype._rootToNode=function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:wA,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},t.prototype.containPoint=function(n,r){var i=r.getData(),o=i.getItemLayout(0);if(o){var a=n[0]-o.cx,l=n[1]-o.cy,s=Math.sqrt(a*a+l*l);return s<=o.r&&s>=o.r0}},t.type="sunburst",t}(pn);const oat=iat;var aat=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n,r){var i={name:n.name,children:n.data};uae(i);var o=this._levelModels=Oe(n.levels||[],function(s){return new hn(s,this,r)},this),a=$R.createTree(i,this,l);function l(s){s.wrapMethod("getItemModel",function(u,c){var d=a.getNodeByDataIndex(c),f=o[d.depth];return f&&(u.parentModel=f),u})}return a.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(n);return r.treePathInfo=jC(i,this),r},t.prototype.getLevelModel=function(n){return this._levelModels&&this._levelModels[n.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){hoe(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(_n);function uae(e){var t=0;j(e.children,function(r){uae(r);var i=r.value;Ae(i)&&(i=i[0]),t+=i});var n=e.value;Ae(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),Ae(e.value)?e.value[0]=n:e.value=n}const lat=aat;var IV=Math.PI/180;function sat(e,t,n){t.eachSeriesByType(e,function(r){var i=r.get("center"),o=r.get("radius");Ae(o)||(o=[0,o]),Ae(i)||(i=[i,i]);var a=n.getWidth(),l=n.getHeight(),s=Math.min(a,l),u=Ne(i[0],a),c=Ne(i[1],l),d=Ne(o[0],s/2),f=Ne(o[1],s/2),h=-r.get("startAngle")*IV,v=r.get("minAngle")*IV,p=r.getData().tree.root,g=r.getViewRoot(),m=g.depth,y=r.get("sort");y!=null&&cae(g,y);var b=0;j(g.children,function(E){!isNaN(E.getValue())&&b++});var S=g.getValue(),x=Math.PI/(S||b)*2,$=g.depth>0,C=g.height-($?-1:1),T=(f-d)/(C||1),I=r.get("clockwise"),P=r.get("stillShowZeroSum"),M=I?1:-1,O=function(E,k){if(E){var N=k;if(E!==p){var B=E.getValue(),F=S===0&&P?x:B*x;F1;)a=a.parentNode;var l=i.getColorFromPalette(a.name||a.dataIndex+"",t);return r.depth>1&&Fe(l)&&(l=fM(l,(r.depth-1)/(o-1)*.5)),l}e.eachSeriesByType("sunburst",function(r){var i=r.getData(),o=i.tree;o.eachNode(function(a){var l=a.getModel(),s=l.getModel("itemStyle").getItemStyle();s.fill||(s.fill=n(a,r,o.root.height));var u=i.ensureUniqueItemVisual(a.dataIndex,"style");Te(u,s)})})}function dat(e){e.registerChartView(oat),e.registerSeriesModel(lat),e.registerLayout(pt(sat,"sunburst")),e.registerProcessor(pt(by,"sunburst")),e.registerVisual(cat),rat(e)}var PV={color:"fill",borderColor:"stroke"},fat={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Fl=Ft(),hat=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(n,r){return ds(null,this)},t.prototype.getDataParams=function(n,r,i){var o=e.prototype.getDataParams.call(this,n,r);return i&&(o.info=Fl(i).info),o},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(_n);const vat=hat;function pat(e,t){return t=t||[0,0],Oe(["x","y"],function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}function gat(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:ze(pat,e)}}}function mat(e,t){return t=t||[0,0],Oe([0,1],function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function yat(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(n){return e.dataToPoint(n)},size:ze(mat,e)}}}function bat(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function Sat(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:ze(bat,e)}}}function xat(e,t){return t=t||[0,0],Oe(["Radius","Angle"],function(n,r){var i="get"+n+"Axis",o=this[i](),a=t[r],l=e[r]/2,s=o.type==="category"?o.getBandWidth():Math.abs(o.dataToCoord(a-l)-o.dataToCoord(a+l));return n==="Angle"&&(s=s*Math.PI/180),s},this)}function wat(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(i){var o=t.dataToRadius(i[0]),a=n.dataToAngle(i[1]),l=e.coordToPoint([o,a]);return l.push(o,a*Math.PI/180),l},size:ze(xat,e)}}}function Cat(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(r,i){return e.dataToPoint(r,i)}}}}function dae(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||Ve(e,"text")))}function fae(e,t,n){var r=e,i,o,a;if(t==="text")a=r;else{a={},Ve(r,"text")&&(a.text=r.text),Ve(r,"rich")&&(a.rich=r.rich),Ve(r,"textFill")&&(a.fill=r.textFill),Ve(r,"textStroke")&&(a.stroke=r.textStroke),Ve(r,"fontFamily")&&(a.fontFamily=r.fontFamily),Ve(r,"fontSize")&&(a.fontSize=r.fontSize),Ve(r,"fontStyle")&&(a.fontStyle=r.fontStyle),Ve(r,"fontWeight")&&(a.fontWeight=r.fontWeight),o={type:"text",style:a,silent:!0},i={};var l=Ve(r,"textPosition");n?i.position=l?r.textPosition:"inside":l&&(i.position=r.textPosition),Ve(r,"textPosition")&&(i.position=r.textPosition),Ve(r,"textOffset")&&(i.offset=r.textOffset),Ve(r,"textRotation")&&(i.rotation=r.textRotation),Ve(r,"textDistance")&&(i.distance=r.textDistance)}return MV(a,e),j(a.rich,function(s){MV(s,s)}),{textConfig:i,textContent:o}}function MV(e,t){t&&(t.font=t.textFont||t.font,Ve(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Ve(t,"textAlign")&&(e.align=t.textAlign),Ve(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Ve(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Ve(t,"textWidth")&&(e.width=t.textWidth),Ve(t,"textHeight")&&(e.height=t.textHeight),Ve(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Ve(t,"textPadding")&&(e.padding=t.textPadding),Ve(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Ve(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Ve(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Ve(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Ve(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Ve(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Ve(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function AV(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",n.offset!=null&&(r.textOffset=n.offset),n.rotation!=null&&(r.textRotation=n.rotation),n.distance!=null&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";OV(r,t);var a=r.textFill==null;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,j(t.rich,function(l){OV(l,l)}),r}function OV(e,t){t&&(Ve(t,"fill")&&(e.textFill=t.fill),Ve(t,"stroke")&&(e.textStroke=t.fill),Ve(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Ve(t,"font")&&(e.font=t.font),Ve(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Ve(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Ve(t,"fontSize")&&(e.fontSize=t.fontSize),Ve(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Ve(t,"align")&&(e.textAlign=t.align),Ve(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Ve(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Ve(t,"width")&&(e.textWidth=t.width),Ve(t,"height")&&(e.textHeight=t.height),Ve(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Ve(t,"padding")&&(e.textPadding=t.padding),Ve(t,"borderColor")&&(e.textBorderColor=t.borderColor),Ve(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Ve(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Ve(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Ve(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Ve(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Ve(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Ve(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Ve(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Ve(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Ve(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var hae={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},DV=Rt(hae);el(nl,function(e,t){return e[t]=1,e},{});nl.join(", ");var yx=["","style","shape","extra"],Yh=Ft();function WR(e,t,n,r,i){var o=e+"Animation",a=gv(e,r,i)||{},l=Yh(t).userDuring;return a.duration>0&&(a.during=l?ze(Pat,{el:t,userDuring:l}):null,a.setToFinal=!0,a.scope=e),Te(a,n[o]),a}function $1(e,t,n,r){r=r||{};var i=r.dataIndex,o=r.isInit,a=r.clearStyle,l=n.isAnimationEnabled(),s=Yh(e),u=t.style;s.userDuring=t.during;var c={},d={};if(Aat(e,t,d),RV("shape",t,d),RV("extra",t,d),!o&&l&&(Mat(e,t,c),EV("shape",e,t,c),EV("extra",e,t,c),Oat(e,t,u,c)),d.style=u,$at(e,d,a),Tat(e,t),l)if(o){var f={};j(yx,function(v){var p=v?t[v]:t;p&&p.enterFrom&&(v&&(f[v]=f[v]||{}),Te(v?f[v]:f,p.enterFrom))});var h=WR("enter",e,t,n,i);h.duration>0&&e.animateFrom(f,h)}else _at(e,t,i||0,n,c);vae(e,t),u?e.dirty():e.markRedraw()}function vae(e,t){for(var n=Yh(e).leaveToProps,r=0;r0&&e.animateFrom(i,o)}}function Tat(e,t){Ve(t,"silent")&&(e.silent=t.silent),Ve(t,"ignore")&&(e.ignore=t.ignore),e instanceof Ro&&Ve(t,"invisible")&&(e.invisible=t.invisible),e instanceof Mt&&Ve(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var Ia={},Iat={setTransform:function(e,t){return Ia.el[e]=t,this},getTransform:function(e){return Ia.el[e]},setShape:function(e,t){var n=Ia.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=Ia.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=Ia.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=Ia.el.style;if(t)return t[e]},setExtra:function(e,t){var n=Ia.el.extra||(Ia.el.extra={});return n[e]=t,this},getExtra:function(e){var t=Ia.el.extra;if(t)return t[e]}};function Pat(){var e=this,t=e.el;if(t){var n=Yh(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}Ia.el=t,r(Iat)}}function EV(e,t,n,r){var i=n[e];if(i){var o=t[e],a;if(o){var l=n.transition,s=i.transition;if(s)if(!a&&(a=r[e]={}),cd(s))Te(a,o);else for(var u=rn(s),c=0;c=0){!a&&(a=r[e]={});for(var h=Rt(o),c=0;c=0)){var f=e.getAnimationStyleProps(),h=f?f.style:null;if(h){!o&&(o=r.style={});for(var v=Rt(n),u=0;u=0?t.getStore().get(k,A):void 0}var N=t.get(E.name,A),B=E&&E.ordinalMeta;return B?B.categories[N]:N}function $(R,A){A==null&&(A=u);var E=t.getItemVisual(A,"style"),k=E&&E.fill,N=E&&E.opacity,B=y(A,eu).getItemStyle();k!=null&&(B.fill=k),N!=null&&(B.opacity=N);var F={inheritColor:Fe(k)?k:"#000"},H=b(A,eu),V=fn(H,null,F,!1,!0);V.text=H.getShallow("show")?vt(e.getFormattedLabel(A,eu),Kh(t,A)):null;var X=YS(H,F,!1);return I(R,B),B=AV(B,V,X),R&&T(B,R),B.legacy=!0,B}function C(R,A){A==null&&(A=u);var E=y(A,zl).getItemStyle(),k=b(A,zl),N=fn(k,null,null,!0,!0);N.text=k.getShallow("show")?qa(e.getFormattedLabel(A,zl),e.getFormattedLabel(A,eu),Kh(t,A)):null;var B=YS(k,null,!0);return I(R,E),E=AV(E,N,B),R&&T(E,R),E.legacy=!0,E}function T(R,A){for(var E in A)Ve(A,E)&&(R[E]=A[E])}function I(R,A){R&&(R.textFill&&(A.textFill=R.textFill),R.textPosition&&(A.textPosition=R.textPosition))}function P(R,A){if(A==null&&(A=u),Ve(PV,R)){var E=t.getItemVisual(A,"style");return E?E[PV[R]]:null}if(Ve(fat,R))return t.getItemVisual(A,R)}function M(R){if(o.type==="cartesian2d"){var A=o.getBaseAxis();return zYe(et({axis:A},R))}}function O(){return n.getCurrentSeriesIndices()}function D(R){return D4(R,n)}}function Vat(e){var t={};return j(e.dimensions,function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim,o=t[i]=t[i]||[];o[r.coordDimIndex]=e.getDimensionIndex(n)}}),t}function BT(e,t,n,r,i,o,a){if(!r){o.remove(t);return}var l=XR(e,t,n,r,i,o);return l&&a.setItemGraphicEl(n,l),l&&In(l,r.focus,r.blurScope,r.emphasisDisabled),l}function XR(e,t,n,r,i,o){var a=-1,l=t;t&&yae(t,r,i)&&(a=Tt(o.childrenRef(),t),t=null);var s=!t,u=t;u?u.clearStates():(u=KR(r),l&&kat(l,u)),r.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),vo.normal.cfg=vo.normal.conOpt=vo.emphasis.cfg=vo.emphasis.conOpt=vo.blur.cfg=vo.blur.conOpt=vo.select.cfg=vo.select.conOpt=null,vo.isLegacy=!1,jat(u,n,r,i,s,vo),Wat(u,n,r,i,s),UR(e,u,n,r,vo,i,s),Ve(r,"info")&&(Fl(u).info=r.info);for(var c=0;c=0?o.replaceAt(u,a):o.add(u),u}function yae(e,t,n){var r=Fl(e),i=t.type,o=t.shape,a=t.style;return n.isUniversalTransitionEnabled()||i!=null&&i!==r.customGraphicType||i==="path"&&Yat(o)&&bae(o)!==r.customPathData||i==="image"&&Ve(a,"image")&&a.image!==r.customImagePath}function Wat(e,t,n,r,i){var o=n.clipPath;if(o===!1)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&yae(a,o,r)&&(a=null),a||(a=KR(o),e.setClipPath(a)),UR(null,a,t,o,null,r,i)}}function jat(e,t,n,r,i,o){if(!e.isGroup){NV(n,null,o),NV(n,zl,o);var a=o.normal.conOpt,l=o.emphasis.conOpt,s=o.blur.conOpt,u=o.select.conOpt;if(a!=null||l!=null||u!=null||s!=null){var c=e.getTextContent();if(a===!1)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=KR(a),e.setTextContent(c)),UR(null,c,t,a,null,r,i);for(var d=a&&a.style,f=0;f=c;h--){var v=t.childAt(h);Kat(t,v,i)}}}function Kat(e,t,n){t&&UC(t,Fl(e).option,n)}function Uat(e){new Jl(e.oldChildren,e.newChildren,kV,kV,e).add(BV).update(BV).remove(Xat).execute()}function kV(e,t){var n=e&&e.name;return n!=null?n:Lat+t}function BV(e,t){var n=this.context,r=e!=null?n.newChildren[e]:null,i=t!=null?n.oldChildren[t]:null;XR(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function Xat(e){var t=this.context,n=t.oldChildren[e];n&&UC(n,Fl(n).option,t.seriesModel)}function bae(e){return e&&(e.pathData||e.d)}function Yat(e){return e&&(Ve(e,"pathData")||Ve(e,"d"))}function qat(e){e.registerChartView(Fat),e.registerSeriesModel(vat)}var Ec=Ft(),FV=rt,FT=ze,Zat=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,n,r,i){var o=n.get("value"),a=n.get("status");if(this._axisModel=t,this._axisPointerModel=n,this._api=r,!(!i&&this._lastValue===o&&this._lastStatus===a)){this._lastValue=o,this._lastStatus=a;var l=this._group,s=this._handle;if(!a||a==="hide"){l&&l.hide(),s&&s.hide();return}l&&l.show(),s&&s.show();var u={};this.makeElOption(u,o,t,n,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,n);if(!l)l=this._group=new lt,this.createPointerEl(l,u,t,n),this.createLabelEl(l,u,t,n),r.getZr().add(l);else{var f=pt(zV,n,d);this.updatePointerEl(l,u,f),this.updateLabelEl(l,u,f,n)}VV(l,n,!0),this._renderHandle(o)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,n){var r=n.get("animation"),i=t.axis,o=i.type==="category",a=n.get("snap");if(!a&&!o)return!1;if(r==="auto"||r==null){var l=this.animationThreshold;if(o&&i.getBandWidth()>l)return!0;if(a){var s=mR(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>l}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,i,o){},e.prototype.createPointerEl=function(t,n,r,i){var o=n.pointer;if(o){var a=Ec(t).pointerEl=new jd[o.type](FV(n.pointer));t.add(a)}},e.prototype.createLabelEl=function(t,n,r,i){if(n.label){var o=Ec(t).labelEl=new jt(FV(n.label));t.add(o),HV(o,i)}},e.prototype.updatePointerEl=function(t,n,r){var i=Ec(t).pointerEl;i&&n.pointer&&(i.setStyle(n.pointer.style),r(i,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,i){var o=Ec(t).labelEl;o&&(o.setStyle(n.label.style),r(o,{x:n.label.x,y:n.label.y}),HV(o,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||a==="hide"){i&&r.remove(i),this._handle=null;return}var l;this._handle||(l=!0,i=this._handle=cy(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Yl(u.event)},onmousedown:FT(this._onHandleDragMove,this,0,0),drift:FT(this._onHandleDragMove,this),ondragend:FT(this._onHandleDragEnd,this)}),r.add(i)),VV(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Ae(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,$v(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,l)}},e.prototype._moveHandleToValue=function(t,n){zV(this._axisPointerModel,!n&&this._moveAnimation,this._handle,zT(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var i=this.updateHandleTransform(zT(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=i,r.stopAnimation(),r.attr(zT(i)),Ec(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,i=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),i&&n.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),gm(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e}();function zV(e,t,n,r){Sae(Ec(n).lastProp,r)||(Ec(n).lastProp=r,t?Kt(n,r,e):(n.stopAnimation(),n.attr(r)))}function Sae(e,t){if(nt(e)&&nt(t)){var n=!0;return j(t,function(r,i){n=n&&Sae(e[i],r)}),!!n}else return e===t}function HV(e,t){e[t.get(["label","show"])?"show":"hide"]()}function zT(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function VV(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(o){o.type!=="group"&&(r!=null&&(o.z=r),i!=null&&(o.zlevel=i),o.silent=n)})}const qR=Zat;function ZR(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function xae(e,t,n,r,i){var o=n.get("value"),a=wae(o,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),s=bv(l.get("padding")||0),u=l.getFont(),c=oy(a,u),d=i.position,f=c.width+s[1]+s[3],h=c.height+s[0]+s[2],v=i.align;v==="right"&&(d[0]-=f),v==="center"&&(d[0]-=f/2);var p=i.verticalAlign;p==="bottom"&&(d[1]-=h),p==="middle"&&(d[1]-=h/2),Qat(d,f,h,r);var g=l.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:fn(l,{text:a,font:u,fill:l.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function Qat(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function wae(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var l={value:lR(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};j(r,function(s){var u=n.getSeriesByIndex(s.seriesIndex),c=s.dataIndexInside,d=u&&u.getDataParams(c);d&&l.seriesData.push(d)}),Fe(a)?o=a.replace("{value}",o):Ze(a)&&(o=a(l))}return o}function QR(e,t,n){var r=qi();return Vd(r,r,n.rotation),tl(r,r,n.position),ra([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Cae(e,t,n,r,i,o){var a=es.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),xae(t,r,i,o,{position:QR(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function JR(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function $ae(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function WV(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r,startAngle:i,endAngle:o,clockwise:!0}}var Jat=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis,s=l.grid,u=o.get("type"),c=jV(s,l).getOtherAxis(l).getGlobalExtent(),d=l.toGlobalCoord(l.dataToCoord(r,!0));if(u&&u!=="none"){var f=ZR(o),h=elt[u](l,d,c);h.style=f,n.graphicKey=h.type,n.pointer=h}var v=aA(s.model,i);Cae(r,n,v,i,o,a)},t.prototype.getHandleTransform=function(n,r,i){var o=aA(r.axis.grid.model,r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var a=QR(r.axis,n,o);return{x:a[0],y:a[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,i,o){var a=i.axis,l=a.grid,s=a.getGlobalExtent(!0),u=jV(l,a).getOtherAxis(a).getGlobalExtent(),c=a.dim==="x"?0:1,d=[n.x,n.y];d[c]+=r[c],d[c]=Math.min(s[1],d[c]),d[c]=Math.max(s[0],d[c]);var f=(u[1]+u[0])/2,h=[f,f];h[c]=d[c];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:d[0],y:d[1],rotation:n.rotation,cursorPoint:h,tooltipOption:v[c]}},t}(qR);function jV(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var elt={line:function(e,t,n){var r=JR([t,n[0]],[t,n[1]],GV(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:$ae([t-r/2,n[0]],[r,i],GV(e))}}};function GV(e){return e.dim==="x"?0:1}const tlt=Jat;var nlt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Vt);const rlt=nlt;var Ll=Ft(),ilt=j;function _ae(e,t,n){if(!Wt.node){var r=t.getZr();Ll(r).records||(Ll(r).records={}),olt(r,t);var i=Ll(r).records[e]||(Ll(r).records[e]={});i.handler=n}}function olt(e,t){if(Ll(e).initialized)return;Ll(e).initialized=!0,n("click",pt(KV,"click")),n("mousemove",pt(KV,"mousemove")),n("globalout",llt);function n(r,i){e.on(r,function(o){var a=slt(t);ilt(Ll(e).records,function(l){l&&i(l,o,a.dispatchAction)}),alt(a.pendings,t)})}}function alt(e,t){var n=e.showTip.length,r=e.hideTip.length,i;n?i=e.showTip[n-1]:r&&(i=e.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function llt(e,t,n){e.handler("leave",null,n)}function KV(e,t,n,r){t.handler(e,n,r)}function slt(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function _A(e,t){if(!Wt.node){var n=t.getZr(),r=(Ll(n).records||{})[e];r&&(Ll(n).records[e]=null)}}var ult=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=r.getComponent("tooltip"),a=n.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";_ae("axisPointer",i,function(l,s,u){a!=="none"&&(l==="leave"||a.indexOf(l)>=0)&&u({type:"updateAxisPointer",currTrigger:l,x:s&&s.offsetX,y:s&&s.offsetY})})},t.prototype.remove=function(n,r){_A("axisPointer",r)},t.prototype.dispose=function(n,r){_A("axisPointer",r)},t.type="axisPointer",t}(Pn);const clt=ult;function Tae(e,t){var n=[],r=e.seriesIndex,i;if(r==null||!(i=t.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),a=wd(o,e);if(a==null||a<0||Ae(a))return{point:[]};var l=o.getItemGraphicEl(a),s=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(a)||[];else if(s&&s.dataToPoint)if(e.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u),d=c.dim,f=u.dim,h=d==="x"||d==="radius"?1:0,v=o.mapDimension(f),p=[];p[h]=o.get(v,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),n=s.dataToPoint(p)||[]}else n=s.dataToPoint(o.getValues(Oe(s.dimensions,function(m){return o.mapDimension(m)}),a))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),n=[g.x+g.width/2,g.y+g.height/2]}return{point:n,el:l}}var UV=Ft();function dlt(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||ze(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){_1(i)&&(i=Tae({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var s=_1(i),u=o.axesInfo,c=l.axesInfo,d=r==="leave"||_1(i),f={},h={},v={list:[],map:{}},p={showPointer:pt(hlt,h),showTooltip:pt(vlt,v)};j(l.coordSysMap,function(m,y){var b=s||m.containPoint(i);j(l.coordSysAxesInfo[y],function(S,x){var $=S.axis,C=ylt(u,S);if(!d&&b&&(!u||C)){var T=C&&C.value;T==null&&!s&&(T=$.pointToData(i)),T!=null&&XV(S,T,p,!1,f)}})});var g={};return j(c,function(m,y){var b=m.linkGroup;b&&!h[y]&&j(b.axesInfo,function(S,x){var $=h[x];if(S!==m&&$){var C=$.value;b.mapper&&(C=m.axis.scale.parse(b.mapper(C,YV(S),YV(m)))),g[m.key]=C}})}),j(g,function(m,y){XV(c[y],m,p,!0,f)}),plt(h,c,f),glt(v,i,e,a),mlt(c,a,n),f}}function XV(e,t,n,r,i){var o=e.axis;if(!(o.scale.isBlank()||!o.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var a=flt(t,e),l=a.payloadBatch,s=a.snapToValue;l[0]&&i.seriesIndex==null&&Te(i,l[0]),!r&&e.snap&&o.containData(s)&&s!=null&&(t=s),n.showPointer(e,t,l),n.showTooltip(e,a,s)}}function flt(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,l=-1;return j(t.seriesModels,function(s,u){var c=s.getData().mapDimensionsAll(r),d,f;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(c,e,n);f=h.dataIndices,d=h.nestestValue}else{if(f=s.getData().indicesOfNearest(c[0],e,n.type==="category"?.5:null),!f.length)return;d=s.getData().get(c[0],f[0])}if(!(d==null||!isFinite(d))){var v=e-d,p=Math.abs(v);p<=a&&((p=0&&l<0)&&(a=p,l=v,i=d,o.length=0),j(f,function(g){o.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:o,snapToValue:i}}function hlt(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function vlt(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,l=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var s=t.coordSys.model,u=wm(s),c=e.map[u];c||(c=e.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function plt(e,t,n){var r=n.axesInfo=[];j(t,function(i,o){var a=i.axisPointerModel.option,l=e[o];l?(!i.useHandle&&(a.status="show"),a.value=l.value,a.seriesDataIndices=(l.payloadBatch||[]).slice()):!i.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:a.value})})}function glt(e,t,n,r){if(_1(t)||!e.list.length){r({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function mlt(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",o=UV(r)[i]||{},a=UV(r)[i]={};j(e,function(u,c){var d=u.axisPointerModel.option;d.status==="show"&&u.triggerEmphasis&&j(d.seriesDataIndices,function(f){var h=f.seriesIndex+" | "+f.dataIndex;a[h]=f})});var l=[],s=[];j(o,function(u,c){!a[c]&&s.push(u)}),j(a,function(u,c){!o[c]&&l.push(u)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function ylt(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function YV(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function _1(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Cy(e){Yd.registerAxisPointerClass("CartesianAxisPointer",tlt),e.registerComponentModel(rlt),e.registerComponentView(clt),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!Ae(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=rJe(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},dlt)}function blt(e){Pt(Qie),Pt(Cy)}var Slt=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var s=l.polar,u=s.getOtherAxis(l),c=u.getExtent(),d=l.dataToCoord(r),f=o.get("type");if(f&&f!=="none"){var h=ZR(o),v=wlt[f](l,s,d,c);v.style=h,n.graphicKey=v.type,n.pointer=v}var p=o.get(["label","margin"]),g=xlt(r,i,o,s,p);xae(n,i,o,a,g)},t}(qR);function xlt(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),l=r.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s=r.getRadiusAxis().getExtent(),u,c,d;if(o.dim==="radius"){var f=qi();Vd(f,f,l),tl(f,f,[r.cx,r.cy]),u=ra([a,-i],f);var h=t.getModel("axisLabel").get("rotate")||0,v=es.innerTextLayout(l,h*Math.PI/180,-1);c=v.textAlign,d=v.textVerticalAlign}else{var p=s[1];u=r.coordToPoint([p+i,a]);var g=r.cx,m=r.cy;c=Math.abs(u[0]-g)/p<.3?"center":u[0]>g?"left":"right",d=Math.abs(u[1]-m)/p<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:c,verticalAlign:d}}var wlt={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:JR(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:WV(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(-n+i/2)*o)}:{type:"Sector",shape:WV(t.cx,t.cy,n-i/2,n+i/2,0,Math.PI*2)}}};const Clt=Slt;var $lt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(n){var r,i=this.ecModel;return i.eachComponent(n,function(o){o.getCoordSysModel()===this&&(r=o)},this),r},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Vt);const _lt=$lt;var eL=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Gn).models[0]},t.type="polarAxis",t}(Vt);qn(eL,vy);var Tlt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="angleAxis",t}(eL),Ilt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="radiusAxis",t}(eL),tL=function(e){ge(t,e);function t(n,r){return e.call(this,"radius",n,r)||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t}(ga);tL.prototype.dataToRadius=ga.prototype.dataToCoord;tL.prototype.radiusToData=ga.prototype.coordToData;const Plt=tL;var Mlt=Ft(),nL=function(e){ge(t,e);function t(n,r){return e.call(this,"angle",n,r||[0,360])||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var n=this,r=n.getLabelModel(),i=n.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var l=o[0],s=n.dataToCoord(l+1)-n.dataToCoord(l),u=Math.abs(s),c=oy(l==null?"":l+"",r.getFont(),"center","top"),d=Math.max(c.height,7),f=d/u;isNaN(f)&&(f=1/0);var h=Math.max(0,Math.floor(f)),v=Mlt(n.model),p=v.lastAutoInterval,g=v.lastTickCount;return p!=null&&g!=null&&Math.abs(p-h)<=1&&Math.abs(g-a)<=1&&p>h?h=p:(v.lastTickCount=a,v.lastAutoInterval=h),h},t}(ga);nL.prototype.dataToAngle=ga.prototype.dataToCoord;nL.prototype.angleToData=ga.prototype.coordToData;const Alt=nL;var Iae=["radius","angle"],Olt=function(){function e(t){this.dimensions=Iae,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Plt,this._angleAxis=new Alt,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var n=this.pointToCoord(t);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var n="_"+t+"Axis";return this[n]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var n=[],r=this._angleAxis,i=this._radiusAxis;return r.scale.type===t&&n.push(r),i.scale.type===t&&n.push(i),n},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var n=this._angleAxis;return t===n?this._radiusAxis:n},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var n=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},e.prototype.dataToPoint=function(t,n){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],n),this._angleAxis.dataToAngle(t[1],n)])},e.prototype.pointToData=function(t,n){var r=this.pointToCoord(t);return[this._radiusAxis.radiusToData(r[0],n),this._angleAxis.angleToData(r[1],n)]},e.prototype.pointToCoord=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),a=Math.min(o[0],o[1]),l=Math.max(o[0],o[1]);i.inverse?a=l-360:l=a+360;var s=Math.sqrt(n*n+r*r);n/=s,r/=s;for(var u=Math.atan2(-r,n)/Math.PI*180,c=ul;)u+=c*360;return[s,u]},e.prototype.coordToPoint=function(t){var n=t[0],r=t[1]/180*Math.PI,i=Math.cos(r)*n+this.cx,o=-Math.sin(r)*n+this.cy;return[i,o]},e.prototype.getArea=function(){var t=this.getAngleAxis(),n=this.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var i=t.getExtent(),o=Math.PI/180,a=1e-4;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-i[0]*o,endAngle:-i[1]*o,clockwise:t.inverse,contain:function(l,s){var u=l-this.cx,c=s-this.cy,d=u*u+c*c,f=this.r,h=this.r0;return f!==h&&d-a<=f*f&&d+a>=h*h}}},e.prototype.convertToPixel=function(t,n,r){var i=qV(n);return i===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var i=qV(n);return i===this?this.pointToData(r):null},e}();function qV(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const Dlt=Olt;function Elt(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=Ne(r[0],i),e.cy=Ne(r[1],o);var a=e.getRadiusAxis(),l=Math.min(i,o)/2,s=t.get("radius");s==null?s=[0,"100%"]:Ae(s)||(s=[0,s]);var u=[Ne(s[0],l),Ne(s[1],l)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}function Rlt(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries(function(l){if(l.coordinateSystem===n){var s=l.getData();j(ax(s,"radius"),function(u){i.scale.unionExtentFromData(s,u)}),j(ax(s,"angle"),function(u){r.scale.unionExtentFromData(s,u)})}}),Gh(r.scale,r.model),Gh(i.scale,i.model),r.type==="category"&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function Llt(e){return e.mainType==="angleAxis"}function ZV(e,t){var n;if(e.type=t.get("type"),e.scale=zC(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),Llt(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),i=(n=t.get("endAngle"))!==null&&n!==void 0?n:r+(e.inverse?-360:360);e.setExtent(r,i)}t.axis=e,e.model=t}var Nlt={dimensions:Iae,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,i){var o=new Dlt(i+"");o.update=Rlt;var a=o.getRadiusAxis(),l=o.getAngleAxis(),s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");ZV(a,s),ZV(l,u),Elt(o,r,t),n.push(o),r.coordinateSystem=o,o.model=r}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var i=r.getReferringComponents("polar",Gn).models[0];r.coordinateSystem=i.coordinateSystem}}),n}};const klt=Nlt;var Blt=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function lb(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function sb(e){var t=e.getRadiusAxis();return t.inverse?0:1}function QV(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var Flt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var i=n.axis,o=i.polar,a=o.getRadiusAxis().getExtent(),l=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=Oe(i.getViewLabels(),function(c){c=rt(c);var d=i.scale,f=d.type==="ordinal"?d.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=i.dataToCoord(f),c});QV(u),QV(l),j(Blt,function(c){n.get([c,"show"])&&(!i.scale.isBlank()||c==="axisLine")&&zlt[c](this.group,n,o,l,s,a,u)},this)}},t.type="angleAxis",t}(Yd),zlt={axisLine:function(e,t,n,r,i,o){var a=t.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),s=Math.PI/180,u=l.getExtent(),c=sb(n),d=c?0:1,f,h=Math.abs(u[1]-u[0])===360?"Circle":"Arc";o[d]===0?f=new jd[h]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-u[0]*s,endAngle:-u[1]*s,clockwise:l.inverse},style:a.getLineStyle(),z2:1,silent:!0}):f=new xC({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[d]},style:a.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,e.add(f)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),s=o[sb(n)],u=Oe(r,function(c){return new Sr({shape:lb(n,[s,s+l],c.coord)})});e.add(Co(u,{style:et(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),l=t.getModel("minorTick"),s=(a.get("inside")?-1:1)*l.get("length"),u=o[sb(n)],c=[],d=0;dm?"left":"right",S=Math.abs(g[1]-y)/p<.3?"middle":g[1]>y?"top":"bottom";if(l&&l[v]){var x=l[v];nt(x)&&x.textStyle&&(h=new hn(x.textStyle,s,s.ecModel))}var $=new jt({silent:es.isLabelSilent(t),style:fn(h,{x:g[0],y:g[1],fill:h.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:d.formattedLabel,align:b,verticalAlign:S})});if(e.add($),c){var C=es.makeAxisEventDataBase(t);C.targetType="axisLabel",C.value=d.rawLabel,ut($).eventData=C}},this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine"),l=a.getModel("lineStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],d=0;d=0?"p":"n",A=I;x&&(r[c][D]||(r[c][D]={p:I,n:I}),A=r[c][D][R]);var E=void 0,k=void 0,N=void 0,B=void 0;if(v.dim==="radius"){var F=v.dataToCoord(O)-I,H=s.dataToCoord(D);Math.abs(F)=B})}}})}function Ylt(e){var t={};j(e,function(r,i){var o=r.getData(),a=r.coordinateSystem,l=a.getBaseAxis(),s=Mae(a,l),u=l.getExtent(),c=l.type==="category"?l.getBandWidth():Math.abs(u[1]-u[0])/o.count(),d=t[s]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;t[s]=d;var h=Pae(r);f[h]||d.autoWidthCount++,f[h]=f[h]||{width:0,maxWidth:0};var v=Ne(r.get("barWidth"),c),p=Ne(r.get("barMaxWidth"),c),g=r.get("barGap"),m=r.get("barCategoryGap");v&&!f[h].width&&(v=Math.min(d.remainedWidth,v),f[h].width=v,d.remainedWidth-=v),p&&(f[h].maxWidth=p),g!=null&&(d.gap=g),m!=null&&(d.categoryGap=m)});var n={};return j(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,l=Ne(r.categoryGap,a),s=Ne(r.gap,1),u=r.remainedWidth,c=r.autoWidthCount,d=(u-l)/(c+(c-1)*s);d=Math.max(d,0),j(o,function(p,g){var m=p.maxWidth;m&&m=n.y&&t[1]<=n.y+n.height:r.contain(r.toLocalCoord(t[1]))&&t[0]>=n.y&&t[0]<=n.y+n.height},e.prototype.pointToData=function(t){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(t[n.orient==="horizontal"?0:1]))]},e.prototype.dataToPoint=function(t){var n=this.getAxis(),r=this.getRect(),i=[],o=n.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[o]=n.toGlobalCoord(n.dataToCoord(+t)),i[1-o]=o===0?r.y+r.height/2:r.x+r.width/2,i},e.prototype.convertToPixel=function(t,n,r){var i=JV(n);return i===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var i=JV(n);return i===this?this.pointToData(r):null},e}();function JV(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function sst(e,t){var n=[];return e.eachComponent("singleAxis",function(r,i){var o=new lst(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="singleAxis"){var i=r.getReferringComponents("singleAxis",Gn).models[0];r.coordinateSystem=i&&i.coordinateSystem}}),n}var ust={create:sst,dimensions:Oae};const cst=ust;var eW=["x","y"],dst=["width","height"],fst=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,i,o,a){var l=i.axis,s=l.coordinateSystem,u=VT(s,1-xx(l)),c=s.dataToPoint(r)[0],d=o.get("type");if(d&&d!=="none"){var f=ZR(o),h=hst[d](l,c,u);h.style=f,n.graphicKey=h.type,n.pointer=h}var v=TA(i);Cae(r,n,v,i,o,a)},t.prototype.getHandleTransform=function(n,r,i){var o=TA(r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var a=QR(r.axis,n,o);return{x:a[0],y:a[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,i,o){var a=i.axis,l=a.coordinateSystem,s=xx(a),u=VT(l,s),c=[n.x,n.y];c[s]+=r[s],c[s]=Math.min(u[1],c[s]),c[s]=Math.max(u[0],c[s]);var d=VT(l,1-s),f=(d[1]+d[0])/2,h=[f,f];return h[s]=c[s],{x:c[0],y:c[1],rotation:n.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},t}(qR),hst={line:function(e,t,n){var r=JR([t,n[0]],[t,n[1]],xx(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:$ae([t-r/2,n[0]],[r,i],xx(e))}}};function xx(e){return e.isHorizontal()?0:1}function VT(e,t){var n=e.getRect();return[n[eW[t]],n[eW[t]]+n[dst[t]]]}const vst=fst;var pst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="single",t}(Pn);function gst(e){Pt(Cy),Yd.registerAxisPointerClass("SingleAxisPointer",vst),e.registerComponentView(pst),e.registerComponentView(ist),e.registerComponentModel(HT),Uh(e,"single",HT,HT.defaultOption),e.registerCoordinateSystem("single",cst)}var mst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r,i){var o=Sv(n);e.prototype.init.apply(this,arguments),tW(n,o)},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),tW(this.option,n)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Vt);function tW(e,t){var n=e.cellSize,r;Ae(n)?r=n:r=e.cellSize=[n,n],r.length===1&&(r[1]=r[0]);var i=Oe([0,1],function(o){return SKe(t,o)&&(r[o]="auto"),r[o]!=null&&r[o]!=="auto"});bu(e,t,{type:"box",ignoreSize:i})}const yst=mst;var bst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll();var a=n.coordinateSystem,l=a.getRangeInfo(),s=a.getOrient(),u=r.getLocaleModel();this._renderDayRect(n,l,o),this._renderLines(n,l,s,o),this._renderYearText(n,l,s,o),this._renderMonthText(n,u,s,o),this._renderWeekText(n,u,l,s,o)},t.prototype._renderDayRect=function(n,r,i){for(var o=n.coordinateSystem,a=n.getModel("itemStyle").getItemStyle(),l=o.getCellWidth(),s=o.getCellHeight(),u=r.start.time;u<=r.end.time;u=o.getNextNDay(u,1).time){var c=o.dataToRect([u],!1).tl,d=new Ht({shape:{x:c[0],y:c[1],width:l,height:s},cursor:"default",style:a});i.add(d)}},t.prototype._renderLines=function(n,r,i,o){var a=this,l=n.coordinateSystem,s=n.getModel(["splitLine","lineStyle"]).getLineStyle(),u=n.get(["splitLine","show"]),c=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var d=r.start,f=0;d.time<=r.end.time;f++){v(d.formatedDate),f===0&&(d=l.getDateInfo(r.start.y+"-"+r.start.m));var h=d.date;h.setMonth(h.getMonth()+1),d=l.getDateInfo(h)}v(l.getNextNDay(r.end.time,1).formatedDate);function v(p){a._firstDayOfMonth.push(l.getDateInfo(p)),a._firstDayPoints.push(l.dataToRect([p],!1).tl);var g=a._getLinePointsOfOneWeek(n,p,i);a._tlpoints.push(g[0]),a._blpoints.push(g[g.length-1]),u&&a._drawSplitline(g,s,o)}u&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,c,i),s,o),u&&this._drawSplitline(a._getEdgesPoints(a._blpoints,c,i),s,o)},t.prototype._getEdgesPoints=function(n,r,i){var o=[n[0].slice(),n[n.length-1].slice()],a=i==="horizontal"?0:1;return o[0][a]=o[0][a]-r/2,o[1][a]=o[1][a]+r/2,o},t.prototype._drawSplitline=function(n,r,i){var o=new Ni({z2:20,shape:{points:n},style:r});i.add(o)},t.prototype._getLinePointsOfOneWeek=function(n,r,i){for(var o=n.coordinateSystem,a=o.getDateInfo(r),l=[],s=0;s<7;s++){var u=o.getNextNDay(a.time,s),c=o.dataToRect([u.time],!1);l[2*u.day]=c.tl,l[2*u.day+1]=c[i==="horizontal"?"bl":"tr"]}return l},t.prototype._formatterLabel=function(n,r){return Fe(n)&&n?mKe(n,r):Ze(n)?n(r):r.nameMap},t.prototype._yearTextPositionControl=function(n,r,i,o,a){var l=r[0],s=r[1],u=["center","bottom"];o==="bottom"?(s+=a,u=["center","top"]):o==="left"?l-=a:o==="right"?(l+=a,u=["center","top"]):s-=a;var c=0;return(o==="left"||o==="right")&&(c=Math.PI/2),{rotation:c,x:l,y:s,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(n,r,i,o){var a=n.getModel("yearLabel");if(a.get("show")){var l=a.get("margin"),s=a.get("position");s||(s=i!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(u[0][0]+u[1][0])/2,d=(u[0][1]+u[1][1])/2,f=i==="horizontal"?0:1,h={top:[c,u[f][1]],bottom:[c,u[1-f][1]],left:[u[1-f][0],d],right:[u[f][0],d]},v=r.start.y;+r.end.y>+r.start.y&&(v=v+"-"+r.end.y);var p=a.get("formatter"),g={start:r.start.y,end:r.end.y,nameMap:v},m=this._formatterLabel(p,g),y=new jt({z2:30,style:fn(a,{text:m}),silent:a.get("silent")});y.attr(this._yearTextPositionControl(y,h[s],i,s,l)),o.add(y)}},t.prototype._monthTextPositionControl=function(n,r,i,o,a){var l="left",s="top",u=n[0],c=n[1];return i==="horizontal"?(c=c+a,r&&(l="center"),o==="start"&&(s="bottom")):(u=u+a,r&&(s="middle"),o==="start"&&(l="right")),{x:u,y:c,align:l,verticalAlign:s}},t.prototype._renderMonthText=function(n,r,i,o){var a=n.getModel("monthLabel");if(a.get("show")){var l=a.get("nameMap"),s=a.get("margin"),u=a.get("position"),c=a.get("align"),d=[this._tlpoints,this._blpoints];(!l||Fe(l))&&(l&&(r=NM(l)||r),l=r.get(["time","monthAbbr"])||[]);var f=u==="start"?0:1,h=i==="horizontal"?0:1;s=u==="start"?-s:s;for(var v=c==="center",p=a.get("silent"),g=0;g=i.start.time&&r.timel.end.time&&n.reverse(),n},e.prototype._getRangeInfo=function(t){var n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],r;n[0].time>n[1].time&&(r=!0,n.reverse());var i=Math.floor(n[1].time/WT)-Math.floor(n[0].time/WT)+1,o=new Date(n[0].time),a=o.getDate(),l=n[1].date.getDate();o.setDate(a+i-1);var s=o.getDate();if(s!==l)for(var u=o.getTime()-n[1].time>0?1:-1;(s=o.getDate())!==l&&(o.getTime()-n[1].time)*u>0;)i-=u,o.setDate(s-u);var c=Math.floor((i+n[0].day+6)/7),d=r?-c+1:c-1;return r&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:d,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(t,n,r){var i=this._getRangeInfo(r);if(t>i.weeks||t===0&&ni.lweek)return null;var o=(t-1)*7-i.fweek+n,a=new Date(i.start.time);return a.setDate(+i.start.d+o),this.getDateInfo(a)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",function(i){var o=new e(i);r.push(o),i.coordinateSystem=o}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=r[i.get("calendarIndex")||0])}),r},e.dimensions=["time","value"],e}();function nW(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}const wst=xst;function Cst(e){e.registerComponentModel(yst),e.registerComponentView(Sst),e.registerCoordinateSystem("calendar",wst)}function $st(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),t.parentId==null){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function rW(e,t){var n;return j(t,function(r){e[r]!=null&&e[r]!=="auto"&&(n=!0)}),n}function _st(e,t,n){var r=Te({},n),i=e[t],o=n.$action||"merge";o==="merge"?i?(St(i,r,!0),bu(i,r,{ignoreSize:!0}),vne(n,i),ub(n,i),ub(n,i,"shape"),ub(n,i,"style"),ub(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:o==="replace"?e[t]=r:o==="remove"&&i&&(e[t]=null)}var Dae=["transition","enterFrom","leaveTo"],Tst=Dae.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function ub(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),!(!e||!t))for(var r=n?Dae:Tst,i=0;i=0;c--){var d=i[c],f=rr(d.id,null),h=f!=null?a.get(f):null;if(h){var v=h.parent,m=So(v),y=v===o?{width:l,height:s}:{width:m.width,height:m.height},b={},S=OC(h,d,y,null,{hv:d.hv,boundingMode:d.bounding},b);if(!So(h).isNew&&S){for(var x=d.transition,$={},C=0;C=0)?$[T]=I:h[T]=I}Kt(h,$,n,0)}else h.attr(b)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(i){T1(i,So(i).option,r,n._lastGraphicModel)}),this._elMap=Ge()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Pn);function IA(e){var t=Ve(iW,e)?iW[e]:O4(e),n=new t({});return So(n).type=e,n}function oW(e,t,n,r){var i=IA(n);return t.add(i),r.set(e,i),So(i).id=e,So(i).isNew=!0,i}function T1(e,t,n,r){var i=e&&e.parent;i&&(e.type==="group"&&e.traverse(function(o){T1(o,t,n,r)}),UC(e,t,r),n.removeKey(So(e).id))}function aW(e,t,n,r){e.isGroup||j([["cursor",Ro.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(i){var o=i[0];Ve(t,o)?e[o]=vt(t[o],i[1]):e[o]==null&&(e[o]=i[1])}),j(Rt(t),function(i){if(i.indexOf("on")===0){var o=t[i];e[i]=Ze(o)?o:null}}),Ve(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function Ast(e){return e=Te({},e),j(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(hne),function(t){delete e[t]}),e}function Ost(e,t,n){var r=ut(e).eventData;!e.silent&&!e.ignore&&!r&&(r=ut(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function Dst(e){e.registerComponentModel(Pst),e.registerComponentView(Mst),e.registerPreprocessor(function(t){var n=t.graphic;Ae(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var lW=["x","y","radius","angle","single"],Est=["cartesian2d","polar","singleAxis"];function Rst(e){var t=e.get("coordinateSystem");return Tt(Est,t)>=0}function tu(e){return e+"Axis"}function Lst(e,t){var n=Ge(),r=[],i=Ge();e.eachComponent({mainType:"dataZoom",query:t},function(c){i.get(c.uid)||l(c)});var o;do o=!1,e.eachComponent("dataZoom",a);while(o);function a(c){!i.get(c.uid)&&s(c)&&(l(c),o=!0)}function l(c){i.set(c.uid,!0),r.push(c),u(c)}function s(c){var d=!1;return c.eachTargetAxis(function(f,h){var v=n.get(f);v&&v[h]&&(d=!0)}),d}function u(c){c.eachTargetAxis(function(d,f){(n.get(d)||n.set(d,[]))[f]=!0})}return r}function Eae(e){var t=e.ecModel,n={infoList:[],infoMap:Ge()};return e.eachTargetAxis(function(r,i){var o=t.getComponent(tu(r),i);if(o){var a=o.getCoordSysModel();if(a){var l=a.uid,s=n.infoMap.get(l);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(l,s)),s.axisModels.push(o)}}}),n}var jT=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),Nst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,i){var o=sW(n);this.settledOption=o,this.mergeDefaultAndTheme(n,i),this._doInit(o)},t.prototype.mergeOption=function(n){var r=sW(n);St(this.option,n,!0),St(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var i=this.settledOption;j([["start","startValue"],["end","endValue"]],function(o,a){this._rangePropMode[a]==="value"&&(r[o[0]]=i[o[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=Ge(),i=this._fillSpecifiedTargetAxis(r);i?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(o){o.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return j(lW,function(i){var o=this.getReferringComponents(tu(i),ZWe);if(o.specified){r=!0;var a=new jT;j(o.models,function(l){a.add(l.componentIndex)}),n.set(i,a)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var i=this.ecModel,o=!0;if(o){var a=r==="vertical"?"y":"x",l=i.findComponents({mainType:a+"Axis"});s(l,a)}if(o){var l=i.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});s(l,"single")}function s(u,c){var d=u[0];if(d){var f=new jT;if(f.add(d.componentIndex),n.set(c,f),o=!1,c==="x"||c==="y"){var h=d.getReferringComponents("grid",Gn).models[0];h&&j(u,function(v){d.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",Gn).models[0]&&f.add(v.componentIndex)})}}}o&&j(lW,function(u){if(o){var c=i.findComponents({mainType:tu(u),filter:function(f){return f.get("type",!0)==="category"}});if(c[0]){var d=new jT;d.add(c[0].componentIndex),n.set(u,d),o=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,i=this.get("rangeMode");j([["start","startValue"],["end","endValue"]],function(o,a){var l=n[o[0]]!=null,s=n[o[1]]!=null;l&&!s?r[a]="percent":!l&&s?r[a]="value":i?r[a]=i[a]:l&&(r[a]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,i){n==null&&(n=this.ecModel.getComponent(tu(r),i))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(i,o){j(i.indexList,function(a){n.call(r,o,a)})})},t.prototype.getAxisProxy=function(n,r){var i=this.getAxisModel(n,r);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var i=this._targetAxisInfoMap.get(n);if(i&&i.indexMap[r])return this.ecModel.getComponent(tu(n),r)},t.prototype.setRawRange=function(n){var r=this.option,i=this.settledOption;j([["start","startValue"],["end","endValue"]],function(o){(n[o[0]]!=null||n[o[1]]!=null)&&(r[o[0]]=i[o[0]]=n[o[0]],r[o[1]]=i[o[1]]=n[o[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;j(["start","startValue","end","endValue"],function(i){r[i]=n[i]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,i=this._targetAxisInfoMap.keys(),o=0;oa[1];if(b&&!S&&!x)return!0;b&&(g=!0),S&&(v=!0),x&&(p=!0)}return g&&v&&p})}else Ff(c,function(h){if(o==="empty")s.setData(u=u.map(h,function(p){return l(p)?p:NaN}));else{var v={};v[h]=a,u.selectRange(v)}});Ff(c,function(h){u.setApproximateExtent(a,h)})}});function l(s){return s>=a[0]&&s<=a[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;Ff(["min","max"],function(i){var o=n.get(i+"Span"),a=n.get(i+"ValueSpan");a!=null&&(a=this.getAxisModel().axis.scale.parse(a)),a!=null?o=en(r[0]+a,r,[0,100],!0):o!=null&&(a=en(o,[0,100],r,!0)-r[0]),t[i+"Span"]=o,t[i+"ValueSpan"]=a},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var i=Wee(r,[0,500]);i=Math.min(i,20);var o=t.axis.scale.rawExtentInfo;n[0]!==0&&o.setDeterminedMinMax("min",+r[0].toFixed(i)),n[1]!==100&&o.setDeterminedMinMax("max",+r[1].toFixed(i)),o.freeze()}},e}();function Wst(e,t,n){var r=[1/0,-1/0];Ff(n,function(a){uqe(r,a.getData(),t)});var i=e.getAxisModel(),o=Ure(i.axis.scale,i,r).calculate();return[o.min,o.max]}const jst=Vst;var Gst={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(a,l){var s=e.getComponent(tu(a),l);i(a,l,s,o)})})}t(function(i,o,a,l){a.__dzAxisProxy=null});var n=[];t(function(i,o,a,l){a.__dzAxisProxy||(a.__dzAxisProxy=new jst(i,o,l,e),n.push(a.__dzAxisProxy))});var r=Ge();return j(n,function(i){j(i.getTargetSeriesModels(),function(o){r.set(o.uid,o)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).reset(n)}),n.eachTargetAxis(function(r,i){n.getAxisProxy(r,i).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var i=r.getDataPercentWindow(),o=r.getDataValueWindow();n.setCalculatedRange({start:i[0],end:i[1],startValue:o[0],endValue:o[1]})}})}};const Kst=Gst;function Ust(e){e.registerAction("dataZoom",function(t,n){var r=Lst(n,t);j(r,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var cW=!1;function iL(e){cW||(cW=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,Kst),Ust(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Xst(e){e.registerComponentModel(Bst),e.registerComponentView(Hst),iL(e)}var wo=function(){function e(){}return e}(),Rae={};function zf(e,t){Rae[e]=t}function Lae(e){return Rae[e]}var Yst=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;j(this.option.feature,function(r,i){var o=Lae(i);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(n)),St(r,o.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Vt);const qst=Yst;function Zst(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=ir(r,o,i);ld(t.get("orient"),e,t.get("itemGap"),a.width,a.height),OC(e,r,o,i)}function Nae(e,t){var n=bv(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new Ht({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var Qst=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,o){var a=this.group;if(a.removeAll(),!n.get("show"))return;var l=+n.get("itemSize"),s=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),d=[];j(u,function(v,p){d.push(p)}),new Jl(this._featureNames||[],d).add(f).update(f).remove(pt(f,null)).execute(),this._featureNames=d;function f(v,p){var g=d[v],m=d[p],y=u[g],b=new hn(y,n,n.ecModel),S;if(o&&o.newTitle!=null&&o.featureName===g&&(y.title=o.newTitle),g&&!m){if(Jst(g))S={onclick:b.option.onclick,featureName:g};else{var x=Lae(g);if(!x)return;S=new x}c[g]=S}else if(S=c[m],!S)return;S.uid=yv("toolbox-feature"),S.model=b,S.ecModel=r,S.api=i;var $=S instanceof wo;if(!g&&m){$&&S.dispose&&S.dispose(r,i);return}if(!b.get("show")||$&&S.unusable){$&&S.remove&&S.remove(r,i);return}h(b,S,g),b.setIconStatus=function(C,T){var I=this.option,P=this.iconPaths;I.iconStatus=I.iconStatus||{},I.iconStatus[C]=T,P[C]&&(T==="emphasis"?Zl:Ql)(P[C])},S instanceof wo&&S.render&&S.render(b,r,i,o)}function h(v,p,g){var m=v.getModel("iconStyle"),y=v.getModel(["emphasis","iconStyle"]),b=p instanceof wo&&p.getIcons?p.getIcons():v.get("icon"),S=v.get("title")||{},x,$;Fe(b)?(x={},x[g]=b):x=b,Fe(S)?($={},$[g]=S):$=S;var C=v.iconPaths={};j(x,function(T,I){var P=cy(T,{},{x:-l/2,y:-l/2,width:l,height:l});P.setStyle(m.getItemStyle());var M=P.ensureState("emphasis");M.style=y.getItemStyle();var O=new jt({style:{text:$[I],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:D4({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},r)},ignore:!0});P.setTextContent(O),Wd({el:P,componentModel:n,itemName:I,formatterParamsExtra:{title:$[I]}}),P.__title=$[I],P.on("mouseover",function(){var D=y.getItemStyle(),R=s?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";O.setStyle({fill:y.get("textFill")||D.fill||D.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),P.setTextConfig({position:y.get("textPosition")||R}),O.ignore=!n.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",I])!=="emphasis"&&i.leaveEmphasis(this),O.hide()}),(v.get(["iconStatus",I])==="emphasis"?Zl:Ql)(P),a.add(P),P.on("click",ze(p.onclick,p,r,i,I)),C[I]=P})}Zst(a,n,i),a.add(Nae(a.getBoundingRect(),n)),s||a.eachChild(function(v){var p=v.__title,g=v.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=v.getTextContent(),b=y&&y.ensureState("emphasis");if(b&&!Ze(b)&&p){var S=b.style||(b.style={}),x=oy(p,jt.makeFont(S)),$=v.x+a.x,C=v.y+a.y+l,T=!1;C+x.height>i.getHeight()&&(m.position="top",T=!0);var I=T?-5-x.height:l+10;$+x.width/2>i.getWidth()?(m.position=["100%",I],S.align="right"):$-x.width/2<0&&(m.position=[0,I],S.align="left")}})},t.prototype.updateView=function(n,r,i,o){j(this._features,function(a){a instanceof wo&&a.updateView&&a.updateView(a.model,r,i,o)})},t.prototype.remove=function(n,r){j(this._features,function(i){i instanceof wo&&i.remove&&i.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){j(this._features,function(i){i instanceof wo&&i.dispose&&i.dispose(n,r)})},t.type="toolbox",t}(Pn);function Jst(e){return e.indexOf("my")===0}const eut=Qst;var tut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var i=this.model,o=i.get("name")||n.get("title.0.text")||"echarts",a=r.getZr().painter.getType()==="svg",l=a?"svg":i.get("type",!0)||"png",s=r.getConnectedDataURL({type:l,backgroundColor:i.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=Wt.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=o+"."+l,c.target="_blank",c.href=s;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||a){var f=s.split(","),h=f[0].indexOf("base64")>-1,v=a?decodeURIComponent(f[1]):f[1];h&&(v=window.atob(v));var p=o+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var g=v.length,m=new Uint8Array(g);g--;)m[g]=v.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,p)}else{var b=document.createElement("iframe");document.body.appendChild(b);var S=b.contentWindow,x=S.document;x.open("image/svg+xml","replace"),x.write(v),x.close(),S.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(b)}}else{var $=i.get("lang"),C='',T=window.open();T.document.write(C),T.document.title=o}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t}(wo);const nut=tut;var dW="__ec_magicType_stack__",rut=[["line","bar"],["stack"]],iut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),i={};return j(n.get("type"),function(o){r[o]&&(i[o]=r[o])}),i},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,i){var o=this.model,a=o.get(["seriesIndex",i]);if(fW[i]){var l={series:[]},s=function(d){var f=d.subType,h=d.id,v=fW[i](f,h,d,o);v&&(et(v,d.option),l.series.push(v));var p=d.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",b=d.getReferringComponents(y,Gn).models[0],S=b.componentIndex;l[y]=l[y]||[];for(var x=0;x<=S;x++)l[y][S]=l[y][S]||{};l[y][S].boundaryGap=i==="bar"}}};j(rut,function(d){Tt(d,i)>=0&&j(d,function(f){o.setIconStatus(f,"normal")})}),o.setIconStatus(i,"emphasis"),n.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},s);var u,c=i;i==="stack"&&(u=St({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",i])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:l,newTitle:u,featureName:"magicType"})}},t}(wo),fW={line:function(e,t,n,r){if(e==="bar")return St({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return St({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===dW;if(e==="line"||e==="bar")return r.setIconStatus("stack",i?"normal":"emphasis"),St({id:t,stack:i?"":dW},r.get(["option","stack"])||{},!0)}};ul({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const out=iut;var XC=new Array(60).join("-"),qh=" ";function aut(e){var t={},n=[],r=[];return e.eachRawSeries(function(i){var o=i.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var a=o.getBaseAxis();if(a.type==="category"){var l=a.dim+"_"+a.index;t[l]||(t[l]={categoryAxis:a,valueAxis:o.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),t[l].series.push(i)}else n.push(i)}else n.push(i)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function lut(e){var t=[];return j(e,function(n,r){var i=n.categoryAxis,o=n.valueAxis,a=o.dim,l=[" "].concat(Oe(n.series,function(h){return h.name})),s=[i.model.getCategories()];j(n.series,function(h){var v=h.getRawData();s.push(h.getRawData().mapArray(v.mapDimension(a),function(p){return p}))});for(var u=[l.join(qh)],c=0;c=0)return!0}var PA=new RegExp("["+Yh+"]+","g");function cut(e){for(var t=e.split(/\n+/g),n=Cx(t.shift()).split(PA),r=[],i=Oe(n,function(s){return{name:s,data:[]}}),o=0;o=0)return!0}var PA=new RegExp("["+qh+"]+","g");function dut(e){for(var t=e.split(/\n+/g),n=Cx(t.shift()).split(PA),r=[],i=Oe(n,function(s){return{name:s,data:[]}}),o=0;o=0;o--){var a=n[o];if(a[i])break}if(o<0){var l=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(l){var s=l.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}}),n.push(t)}function mut(e){var t=oL(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return kae(n,function(i,o){for(var a=t.length-1;a>=0;a--)if(i=t[a][o],i){r[o]=i;break}}),r}function yut(e){Bae(e).snapshots=null}function but(e){return oL(e).length}function oL(e){var t=Bae(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Sut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){yut(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(xo);sl({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const xut=Sut;var wut=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Cut=function(){function e(t,n,r){var i=this;this._targetInfoList=[];var o=hW(n,t);j($ut,function(a,l){(!r||!r.include||Tt(r.include,l)>=0)&&a(o,i._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,i,o){if((r.coordRanges||(r.coordRanges=[])).push(i),!r.coordRange){r.coordRange=i;var a=GT[r.brushType](0,o,i);r.__rangeOffset={offset:mW[r.brushType](a.values,r.range,[1,1]),xyMinMax:a.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){j(t,function(i){var o=this.findTargetInfo(i,n);o&&o!==!0&&j(o.coordSyses,function(a){var l=GT[i.brushType](1,a,i.range,!0);r(i,l.values,a,n)})},this)},e.prototype.setInputRanges=function(t,n){j(t,function(r){var i=this.findTargetInfo(r,n);if(r.range=r.range||[],i&&i!==!0){r.panelId=i.panelId;var o=GT[r.brushType](0,i.coordSys,r.coordRange),a=r.__rangeOffset;r.range=a?mW[r.brushType](o.values,a.offset,_ut(o.xyMinMax,a.xyMinMax)):o.values}},this)},e.prototype.makePanelOpts=function(t,n){return Oe(this._targetInfoList,function(r){var i=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:Goe(i),isTargetByCursor:Uoe(i,t,r.coordSysModel),getLinearBrushOtherExtent:Koe(i)}})},e.prototype.controlSeries=function(t,n,r){var i=this.findTargetInfo(t,r);return i===!0||i&&Tt(i.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,i=hW(n,t),o=0;oe[1]&&e.reverse(),e}function hW(e,t){return vg(e,t,{includeMainTypes:wut})}var $ut={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=Ge(),a={},l={};!n&&!r&&!i||(j(n,function(s){var u=s.axis.grid.model;o.set(u.id,u),a[u.id]=!0}),j(r,function(s){var u=s.axis.grid.model;o.set(u.id,u),l[u.id]=!0}),j(i,function(s){o.set(s.id,s),a[s.id]=!0,l[s.id]=!0}),o.each(function(s){var u=s.coordinateSystem,c=[];j(u.getCartesians(),function(d,f){(Tt(n,d.getAxis("x").model)>=0||Tt(r,d.getAxis("y").model)>=0)&&c.push(d)}),t.push({panelId:"grid--"+s.id,gridModel:s,coordSysModel:s,coordSys:c[0],coordSyses:c,getPanelRect:pW.grid,xAxisDeclared:a[s.id],yAxisDeclared:l[s.id]})}))},geo:function(e,t){j(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:pW.geo})})}},vW=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],pW={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(ad(e)),t}},GT={lineX:pt(gW,0),lineY:pt(gW,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[MA([i[0],o[0]]),MA([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Oe(n,function(a){var l=e?t.pointToData(a,r):t.dataToPoint(a,r);return i[0][0]=Math.min(i[0][0],l[0]),i[1][0]=Math.min(i[1][0],l[1]),i[0][1]=Math.max(i[0][1],l[0]),i[1][1]=Math.max(i[1][1],l[1]),l});return{values:o,xyMinMax:i}}};function gW(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=MA(Oe([0,1],function(l){return t?i.coordToData(i.toLocalCoord(r[l]),!0):i.toGlobalCoord(i.dataToCoord(r[l]))})),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var mW={lineX:pt(yW,0),lineY:pt(yW,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Oe(e,function(r,i){return[r[0]-n[0]*t[i][0],r[1]-n[1]*t[i][1]]})}};function yW(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function _ut(e,t){var n=bW(e),r=bW(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function bW(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const aL=Cut;var AA=j,Tut=GWe("toolbox-dataZoom_"),Iut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,o){this._brushController||(this._brushController=new BR(i.getZr()),this._brushController.on("brush",ze(this._onBrush,this)).mount()),Aut(n,r,this,o,i),Mut(n,r)},t.prototype.onclick=function(n,r,i){Put[i].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var i={},o=this.ecModel;this._brushController.updateCovers([]);var a=new aL(lL(this.model),o,{include:["grid"]});a.matchOutputRanges(r,o,function(u,c,d){if(d.type==="cartesian2d"){var f=u.brushType;f==="rect"?(l("x",d,c[0]),l("y",d,c[1])):l({lineX:"x",lineY:"y"}[f],d,c)}}),gut(o,i),this._dispatchZoomAction(i);function l(u,c,d){var f=c.getAxis(u),h=f.model,v=s(u,h,o),p=v.findRepresentativeAxisProxy(h).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(d=Yd(0,d.slice(),f.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),v&&(i[v.id]={dataZoomId:v.id,startValue:d[0],endValue:d[1]})}function s(u,c,d){var f;return d.eachComponent({mainType:"dataZoom",subType:"select"},function(h){var v=h.getAxisModel(u,c.componentIndex);v&&(f=h)}),f}},t.prototype._dispatchZoomAction=function(n){var r=[];AA(n,function(i,o){r.push(rt(i))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},t}(xo),Put={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(mut(this.ecModel))}};function lL(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function Mut(e,t){e.setIconStatus("back",but(t)>1?"emphasis":"normal")}function Aut(e,t,n,r,i){var o=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(o=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new aL(lL(e),t,{include:["grid"]}),l=a.makePanelOpts(i,function(s){return s.xAxisDeclared&&!s.yAxisDeclared?"lineX":!s.xAxisDeclared&&s.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(l).enableBrush(o&&l.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}_Ke("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),i=[],o=lL(r),a=vg(e,o);AA(a.xAxisModels,function(s){return l(s,"xAxis","xAxisIndex")}),AA(a.yAxisModels,function(s){return l(s,"yAxis","yAxisIndex")});function l(s,u,c){var d=s.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:Tut+u+d};f[c]=d,i.push(f)}return i});const Out=Iut;function Dut(e){e.registerComponentModel(Yst),e.registerComponentView(Jst),Ff("saveAsImage",tut),Ff("magicType",iut),Ff("dataView",put),Ff("dataZoom",Out),Ff("restore",xut),Pt(Ust)}var Eut=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Vt);const Rut=Eut;function Fae(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function zae(e){if(Wt.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n-1?(l+="top:50%",s+="translateY(-50%) rotate("+(u=o==="left"?-225:-45)+"deg)"):(l+="left:50%",s+="translateX(-50%) rotate("+(u=o==="top"?225:45)+"deg)");var c=u*Math.PI/180,d=a+i,f=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),h=Math.round(((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-d)/2)*100)/100;l+=";"+o+":-"+h+"px";var v=t+" solid "+i+"px;",p=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",l+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'
'}function Hut(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=Wt.transformSupported?","+sL+r:",left"+r+",top"+r),kut+":"+i}function SW(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!Wt.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=Wt.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+sL+":"+a+";":[["top",0],["left",0],[Hae,a]]}function Vut(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var i=vt(e.get("lineHeight"),Math.round(n*3/2));n&&t.push("line-height:"+i+"px");var o=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,l=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return o&&a&&t.push("text-shadow:"+l+"px "+s+"px "+a+"px "+o),j(["decoration","align"],function(u){var c=e.get(u);c&&t.push("text-"+u+":"+c)}),t.join(";")}function Wut(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),l=e.get("shadowColor"),s=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),d=Une(e,"html"),f=s+"px "+u+"px "+a+"px "+l;return r.push("box-shadow:"+f),t&&i&&r.push(Hut(i,n)),o&&r.push("background-color:"+o),j(["width","color","radius"],function(h){var v="border-"+h,p=dne(v),g=e.get(p);g!=null&&r.push(v+":"+g+(h==="color"?"":"px"))}),r.push(Vut(c)),d!=null&&r.push("padding:"+yv(d).join("px ")+"px"),r.join(";")+";"}function xW(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&vVe(e,a,n,r,i)}else{e[0]=r,e[1]=i;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var jut=function(){function e(t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Wt.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=n.appendTo,a=o&&(Fe(o)?document.querySelector(o):zh(o)?o:Ze(o)&&o(t.getDom()));xW(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),(a||t.getDom()).appendChild(r),this._api=t,this._container=a;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!l._enterable){var u=i.handler,c=i.painter.getViewportRoot();go(c,s,!0),u.dispatch("mousemove",s)}},r.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var n=this._api.getDom(),r=Nut(n,"position"),i=n.style;i.position!=="absolute"&&r!=="absolute"&&(i.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,i=r.style,o=this._styleCoord;r.innerHTML?i.cssText=But+Wut(t,!this._firstShow,this._longHide)+SW(o[0],o[1],!0)+("border-color:"+_d(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,i,o){var a=this.el;if(t==null){a.innerHTML="";return}var l="";if(Fe(o)&&r.get("trigger")==="item"&&!Fae(r)&&(l=zut(r,i,o)),Fe(t))a.innerHTML=t+l;else if(t){a.innerHTML="",Ae(t)||(t=[t]);for(var s=0;s=0?this._tryShow(o,a):i==="leave"&&this._hide(a))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,i=this._api,o=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&a.manuallyShowTip(n,r,i,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,i,o){if(!(o.from===this.uid||Wt.node||!i.getDom())){var a=$W(o,i);this._ticket="";var l=o.dataByCoordSys,s=Jut(o,r,i);if(s){var u=s.el.getBoundingRect().clone();u.applyTransform(s.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:s.el,position:o.position,positionDefault:"bottom"},a)}else if(o.tooltip&&o.x!=null&&o.y!=null){var c=Xut;c.x=o.x,c.y=o.y,c.update(),ut(c).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:c},a)}else if(l)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:l,tooltipOption:o.tooltipOption},a);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,i,o))return;var d=Tae(o,r),f=d.point[0],h=d.point[1];f!=null&&h!=null&&this._tryShow({offsetX:f,offsetY:h,target:d.el,position:o.position,positionDefault:"bottom"},a)}else o.x!=null&&o.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:i.getZr().findHover(o.x,o.y).target},a))}},t.prototype.manuallyHideTip=function(n,r,i,o){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide($W(o,i))},t.prototype._manuallyAxisShowTip=function(n,r,i,o){var a=o.seriesIndex,l=o.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||l==null||s==null)){var u=r.getSeriesByIndex(a);if(u){var c=u.getData(),d=cp([c.getItemModel(l),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(d.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:l,position:o.position}),!0}}},t.prototype._tryShow=function(n,r){var i=n.target,o=this._tooltipModel;if(o){this._lastX=n.offsetX,this._lastY=n.offsetY;var a=n.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,n);else if(i){var l=ut(i);if(l.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,u;Wc(i,function(c){if(ut(c).dataIndex!=null)return s=c,!0;if(ut(c).tooltipConfig!=null)return u=c,!0},!0),s?this._showSeriesItemTooltip(n,s,r):u?this._showComponentItemTooltip(n,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var i=n.get("showDelay");r=ze(r,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(r,i):r()},t.prototype._showAxisTooltip=function(n,r){var i=this._ecModel,o=this._tooltipModel,a=[r.offsetX,r.offsetY],l=cp([r.tooltipOption],o),s=this._renderMode,u=[],c=pr("section",{blocks:[],noHeader:!0}),d=[],f=new M2;j(n,function(y){j(y.dataByAxis,function(b){var S=i.getComponent(b.axisDim+"Axis",b.axisIndex),x=b.value;if(!(!S||x==null)){var $=wae(x,S.axis,i,b.seriesDataIndices,b.valueLabelOpt),C=pr("section",{header:$,noHeader:!qo($),sortBlocks:!0,blocks:[]});c.blocks.push(C),j(b.seriesDataIndices,function(T){var I=i.getSeriesByIndex(T.seriesIndex),P=T.dataIndexInside,M=I.getDataParams(P);if(!(M.dataIndex<0)){M.axisDim=b.axisDim,M.axisIndex=b.axisIndex,M.axisType=b.axisType,M.axisId=b.axisId,M.axisValue=lR(S.axis,{value:x}),M.axisValueLabel=$,M.marker=f.makeTooltipMarker("item",_d(M.color),s);var O=sz(I.formatTooltip(P,!0,null)),D=O.frag;if(D){var R=cp([I],o).get("valueFormatter");C.blocks.push(R?Te({valueFormatter:R},D):D)}O.text&&d.push(O.text),u.push(M)}})}})}),c.blocks.reverse(),d.reverse();var h=r.position,v=l.get("order"),p=vz(c,f,s,v,i.get("useUTC"),l.get("textStyle"));p&&d.unshift(p);var g=s==="richText"?` +*`,"g")),r={series:[]};return j(n,function(i,o){if(cut(i)){var a=dut(i),l=t[o],s=l.axisDim+"Axis";l&&(r[s]=r[s]||[],r[s][l.axisIndex]={data:a.categories},r.series=r.series.concat(a.series))}else{var a=fut(i);r.series.push(a)}}),r}var vut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){setTimeout(function(){r.dispatchAction({type:"hideTip"})});var i=r.getDom(),o=this.model;this._dom&&i.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",a.style.backgroundColor=o.get("backgroundColor")||"#fff";var l=document.createElement("h4"),s=o.get("lang")||[];l.innerHTML=s[0]||o.get("title"),l.style.cssText="margin:10px 20px",l.style.color=o.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var d=o.get("optionToContent"),f=o.get("contentToOption"),h=uut(n);if(Ze(d)){var v=d(r.getOption());Fe(v)?u.innerHTML=v:Hh(v)&&u.appendChild(v)}else{c.readOnly=o.get("readOnly");var p=c.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=o.get("textColor"),p.borderColor=o.get("textareaBorderColor"),p.backgroundColor=o.get("textareaColor"),c.value=h.value,u.appendChild(c)}var g=h.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),S=document.createElement("div");y+=";background-color:"+o.get("buttonColor"),y+=";color:"+o.get("buttonTextColor");var x=this;function $(){i.removeChild(a),x._dom=null}lM(b,"click",$),lM(S,"click",function(){if(f==null&&d!=null||f!=null&&d==null){$();return}var C;try{Ze(f)?C=f(u,r.getOption()):C=hut(c.value,g)}catch(T){throw $(),new Error("Data view format error "+T)}C&&r.dispatchAction({type:"changeDataView",newOption:C}),$()}),b.innerHTML=s[1],S.innerHTML=s[2],S.style.cssText=b.style.cssText=y,!o.get("readOnly")&&m.appendChild(S),m.appendChild(b),a.appendChild(l),a.appendChild(u),a.appendChild(m),u.style.height=i.clientHeight-80+"px",i.appendChild(a),this._dom=a},t.prototype.remove=function(n,r){this._dom&&r.getDom().removeChild(this._dom)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.getDefaultOption=function(n){var r={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:n.getLocaleModel().get(["toolbox","dataView","title"]),lang:n.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return r},t}(wo);function put(e,t){return Oe(e,function(n,r){var i=t&&t[r];if(nt(i)&&!Ae(i)){var o=nt(n)&&!Ae(n);o||(n={value:n});var a=i.name!=null&&n.name==null;return n=et(n,i),a&&delete n.name,n}else return n})}ul({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];j(e.newOption.series,function(r){var i=t.getSeriesByName(r.name)[0];if(!i)n.push(Te({type:"scatter"},r));else{var o=i.get("data");n.push({name:r.name,data:put(r.data,o)})}}),t.mergeOption(et({series:n},e.newOption))});const gut=vut;var kae=j,Bae=Ft();function mut(e,t){var n=oL(e);kae(t,function(r,i){for(var o=n.length-1;o>=0;o--){var a=n[o];if(a[i])break}if(o<0){var l=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(l){var s=l.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}}),n.push(t)}function yut(e){var t=oL(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return kae(n,function(i,o){for(var a=t.length-1;a>=0;a--)if(i=t[a][o],i){r[o]=i;break}}),r}function but(e){Bae(e).snapshots=null}function Sut(e){return oL(e).length}function oL(e){var t=Bae(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var xut=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){but(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(wo);ul({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const wut=xut;var Cut=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],$ut=function(){function e(t,n,r){var i=this;this._targetInfoList=[];var o=hW(n,t);j(_ut,function(a,l){(!r||!r.include||Tt(r.include,l)>=0)&&a(o,i._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,i,o){if((r.coordRanges||(r.coordRanges=[])).push(i),!r.coordRange){r.coordRange=i;var a=GT[r.brushType](0,o,i);r.__rangeOffset={offset:mW[r.brushType](a.values,r.range,[1,1]),xyMinMax:a.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){j(t,function(i){var o=this.findTargetInfo(i,n);o&&o!==!0&&j(o.coordSyses,function(a){var l=GT[i.brushType](1,a,i.range,!0);r(i,l.values,a,n)})},this)},e.prototype.setInputRanges=function(t,n){j(t,function(r){var i=this.findTargetInfo(r,n);if(r.range=r.range||[],i&&i!==!0){r.panelId=i.panelId;var o=GT[r.brushType](0,i.coordSys,r.coordRange),a=r.__rangeOffset;r.range=a?mW[r.brushType](o.values,a.offset,Tut(o.xyMinMax,a.xyMinMax)):o.values}},this)},e.prototype.makePanelOpts=function(t,n){return Oe(this._targetInfoList,function(r){var i=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:Goe(i),isTargetByCursor:Uoe(i,t,r.coordSysModel),getLinearBrushOtherExtent:Koe(i)}})},e.prototype.controlSeries=function(t,n,r){var i=this.findTargetInfo(t,r);return i===!0||i&&Tt(i.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,i=hW(n,t),o=0;oe[1]&&e.reverse(),e}function hW(e,t){return pg(e,t,{includeMainTypes:Cut})}var _ut={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=Ge(),a={},l={};!n&&!r&&!i||(j(n,function(s){var u=s.axis.grid.model;o.set(u.id,u),a[u.id]=!0}),j(r,function(s){var u=s.axis.grid.model;o.set(u.id,u),l[u.id]=!0}),j(i,function(s){o.set(s.id,s),a[s.id]=!0,l[s.id]=!0}),o.each(function(s){var u=s.coordinateSystem,c=[];j(u.getCartesians(),function(d,f){(Tt(n,d.getAxis("x").model)>=0||Tt(r,d.getAxis("y").model)>=0)&&c.push(d)}),t.push({panelId:"grid--"+s.id,gridModel:s,coordSysModel:s,coordSys:c[0],coordSyses:c,getPanelRect:pW.grid,xAxisDeclared:a[s.id],yAxisDeclared:l[s.id]})}))},geo:function(e,t){j(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:pW.geo})})}},vW=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],pW={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(ad(e)),t}},GT={lineX:pt(gW,0),lineY:pt(gW,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[MA([i[0],o[0]]),MA([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Oe(n,function(a){var l=e?t.pointToData(a,r):t.dataToPoint(a,r);return i[0][0]=Math.min(i[0][0],l[0]),i[1][0]=Math.min(i[1][0],l[1]),i[0][1]=Math.max(i[0][1],l[0]),i[1][1]=Math.max(i[1][1],l[1]),l});return{values:o,xyMinMax:i}}};function gW(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=MA(Oe([0,1],function(l){return t?i.coordToData(i.toLocalCoord(r[l]),!0):i.toGlobalCoord(i.dataToCoord(r[l]))})),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var mW={lineX:pt(yW,0),lineY:pt(yW,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Oe(e,function(r,i){return[r[0]-n[0]*t[i][0],r[1]-n[1]*t[i][1]]})}};function yW(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function Tut(e,t){var n=bW(e),r=bW(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function bW(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const aL=$ut;var AA=j,Iut=KWe("toolbox-dataZoom_"),Put=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i,o){this._brushController||(this._brushController=new BR(i.getZr()),this._brushController.on("brush",ze(this._onBrush,this)).mount()),Out(n,r,this,o,i),Aut(n,r)},t.prototype.onclick=function(n,r,i){Mut[i].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var i={},o=this.ecModel;this._brushController.updateCovers([]);var a=new aL(lL(this.model),o,{include:["grid"]});a.matchOutputRanges(r,o,function(u,c,d){if(d.type==="cartesian2d"){var f=u.brushType;f==="rect"?(l("x",d,c[0]),l("y",d,c[1])):l({lineX:"x",lineY:"y"}[f],d,c)}}),mut(o,i),this._dispatchZoomAction(i);function l(u,c,d){var f=c.getAxis(u),h=f.model,v=s(u,h,o),p=v.findRepresentativeAxisProxy(h).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(d=qd(0,d.slice(),f.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),v&&(i[v.id]={dataZoomId:v.id,startValue:d[0],endValue:d[1]})}function s(u,c,d){var f;return d.eachComponent({mainType:"dataZoom",subType:"select"},function(h){var v=h.getAxisModel(u,c.componentIndex);v&&(f=h)}),f}},t.prototype._dispatchZoomAction=function(n){var r=[];AA(n,function(i,o){r.push(rt(i))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},t}(wo),Mut={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(yut(this.ecModel))}};function lL(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function Aut(e,t){e.setIconStatus("back",Sut(t)>1?"emphasis":"normal")}function Out(e,t,n,r,i){var o=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(o=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new aL(lL(e),t,{include:["grid"]}),l=a.makePanelOpts(i,function(s){return s.xAxisDeclared&&!s.yAxisDeclared?"lineX":!s.xAxisDeclared&&s.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(l).enableBrush(o&&l.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}TKe("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),i=[],o=lL(r),a=pg(e,o);AA(a.xAxisModels,function(s){return l(s,"xAxis","xAxisIndex")}),AA(a.yAxisModels,function(s){return l(s,"yAxis","yAxisIndex")});function l(s,u,c){var d=s.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:Iut+u+d};f[c]=d,i.push(f)}return i});const Dut=Put;function Eut(e){e.registerComponentModel(qst),e.registerComponentView(eut),zf("saveAsImage",nut),zf("magicType",out),zf("dataView",gut),zf("dataZoom",Dut),zf("restore",wut),Pt(Xst)}var Rut=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Vt);const Lut=Rut;function Fae(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function zae(e){if(Wt.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n-1?(l+="top:50%",s+="translateY(-50%) rotate("+(u=o==="left"?-225:-45)+"deg)"):(l+="left:50%",s+="translateX(-50%) rotate("+(u=o==="top"?225:45)+"deg)");var c=u*Math.PI/180,d=a+i,f=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),h=Math.round(((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-d)/2)*100)/100;l+=";"+o+":-"+h+"px";var v=t+" solid "+i+"px;",p=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",l+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'
'}function Vut(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=Wt.transformSupported?","+sL+r:",left"+r+",top"+r),But+":"+i}function SW(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!Wt.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=Wt.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+sL+":"+a+";":[["top",0],["left",0],[Hae,a]]}function Wut(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var i=vt(e.get("lineHeight"),Math.round(n*3/2));n&&t.push("line-height:"+i+"px");var o=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,l=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return o&&a&&t.push("text-shadow:"+l+"px "+s+"px "+a+"px "+o),j(["decoration","align"],function(u){var c=e.get(u);c&&t.push("text-"+u+":"+c)}),t.join(";")}function jut(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),l=e.get("shadowColor"),s=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),d=Une(e,"html"),f=s+"px "+u+"px "+a+"px "+l;return r.push("box-shadow:"+f),t&&i&&r.push(Vut(i,n)),o&&r.push("background-color:"+o),j(["width","color","radius"],function(h){var v="border-"+h,p=dne(v),g=e.get(p);g!=null&&r.push(v+":"+g+(h==="color"?"":"px"))}),r.push(Wut(c)),d!=null&&r.push("padding:"+bv(d).join("px ")+"px"),r.join(";")+";"}function xW(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&pVe(e,a,n,r,i)}else{e[0]=r,e[1]=i;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Gut=function(){function e(t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Wt.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=n.appendTo,a=o&&(Fe(o)?document.querySelector(o):Hh(o)?o:Ze(o)&&o(t.getDom()));xW(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),(a||t.getDom()).appendChild(r),this._api=t,this._container=a;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!l._enterable){var u=i.handler,c=i.painter.getViewportRoot();mo(c,s,!0),u.dispatch("mousemove",s)}},r.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var n=this._api.getDom(),r=kut(n,"position"),i=n.style;i.position!=="absolute"&&r!=="absolute"&&(i.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,i=r.style,o=this._styleCoord;r.innerHTML?i.cssText=Fut+jut(t,!this._firstShow,this._longHide)+SW(o[0],o[1],!0)+("border-color:"+_d(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,i,o){var a=this.el;if(t==null){a.innerHTML="";return}var l="";if(Fe(o)&&r.get("trigger")==="item"&&!Fae(r)&&(l=Hut(r,i,o)),Fe(t))a.innerHTML=t+l;else if(t){a.innerHTML="",Ae(t)||(t=[t]);for(var s=0;s=0?this._tryShow(o,a):i==="leave"&&this._hide(a))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,i=this._api,o=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&a.manuallyShowTip(n,r,i,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,i,o){if(!(o.from===this.uid||Wt.node||!i.getDom())){var a=$W(o,i);this._ticket="";var l=o.dataByCoordSys,s=ect(o,r,i);if(s){var u=s.el.getBoundingRect().clone();u.applyTransform(s.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:s.el,position:o.position,positionDefault:"bottom"},a)}else if(o.tooltip&&o.x!=null&&o.y!=null){var c=Yut;c.x=o.x,c.y=o.y,c.update(),ut(c).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:c},a)}else if(l)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:l,tooltipOption:o.tooltipOption},a);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,i,o))return;var d=Tae(o,r),f=d.point[0],h=d.point[1];f!=null&&h!=null&&this._tryShow({offsetX:f,offsetY:h,target:d.el,position:o.position,positionDefault:"bottom"},a)}else o.x!=null&&o.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:i.getZr().findHover(o.x,o.y).target},a))}},t.prototype.manuallyHideTip=function(n,r,i,o){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide($W(o,i))},t.prototype._manuallyAxisShowTip=function(n,r,i,o){var a=o.seriesIndex,l=o.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||l==null||s==null)){var u=r.getSeriesByIndex(a);if(u){var c=u.getData(),d=dp([c.getItemModel(l),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(d.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:l,position:o.position}),!0}}},t.prototype._tryShow=function(n,r){var i=n.target,o=this._tooltipModel;if(o){this._lastX=n.offsetX,this._lastY=n.offsetY;var a=n.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,n);else if(i){var l=ut(i);if(l.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,u;Wc(i,function(c){if(ut(c).dataIndex!=null)return s=c,!0;if(ut(c).tooltipConfig!=null)return u=c,!0},!0),s?this._showSeriesItemTooltip(n,s,r):u?this._showComponentItemTooltip(n,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var i=n.get("showDelay");r=ze(r,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(r,i):r()},t.prototype._showAxisTooltip=function(n,r){var i=this._ecModel,o=this._tooltipModel,a=[r.offsetX,r.offsetY],l=dp([r.tooltipOption],o),s=this._renderMode,u=[],c=pr("section",{blocks:[],noHeader:!0}),d=[],f=new M2;j(n,function(y){j(y.dataByAxis,function(b){var S=i.getComponent(b.axisDim+"Axis",b.axisIndex),x=b.value;if(!(!S||x==null)){var $=wae(x,S.axis,i,b.seriesDataIndices,b.valueLabelOpt),C=pr("section",{header:$,noHeader:!Zo($),sortBlocks:!0,blocks:[]});c.blocks.push(C),j(b.seriesDataIndices,function(T){var I=i.getSeriesByIndex(T.seriesIndex),P=T.dataIndexInside,M=I.getDataParams(P);if(!(M.dataIndex<0)){M.axisDim=b.axisDim,M.axisIndex=b.axisIndex,M.axisType=b.axisType,M.axisId=b.axisId,M.axisValue=lR(S.axis,{value:x}),M.axisValueLabel=$,M.marker=f.makeTooltipMarker("item",_d(M.color),s);var O=sz(I.formatTooltip(P,!0,null)),D=O.frag;if(D){var R=dp([I],o).get("valueFormatter");C.blocks.push(R?Te({valueFormatter:R},D):D)}O.text&&d.push(O.text),u.push(M)}})}})}),c.blocks.reverse(),d.reverse();var h=r.position,v=l.get("order"),p=vz(c,f,s,v,i.get("useUTC"),l.get("textStyle"));p&&d.unshift(p);var g=s==="richText"?` -`:"
",m=d.join(g);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,h,a[0],a[1],this._tooltipContent,u):this._showTooltipContent(l,m,u,Math.random()+"",a[0],a[1],h,null,f)})},t.prototype._showSeriesItemTooltip=function(n,r,i){var o=this._ecModel,a=ut(r),l=a.seriesIndex,s=o.getSeriesByIndex(l),u=a.dataModel||s,c=a.dataIndex,d=a.dataType,f=u.getData(d),h=this._renderMode,v=n.positionDefault,p=cp([f.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,d),y=new M2;m.marker=y.makeTooltipMarker("item",_d(m.color),h);var b=sz(u.formatTooltip(c,!1,d)),S=p.get("order"),x=p.get("valueFormatter"),$=b.frag,C=$?vz(x?Te({valueFormatter:x},$):$,y,h,S,o.get("useUTC"),p.get("textStyle")):b.text,T="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,C,m,T,n.offsetX,n.offsetY,n.position,n.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:f.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,i){var o=this._renderMode==="html",a=ut(r),l=a.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(Fe(s)){var c=s;s={content:c,formatter:c},u=!0}u&&o&&s.content&&(s=rt(s),s.content=jr(s.content));var d=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&d.push(f),d.push({formatter:s.content});var h=n.positionDefault,v=cp(d,this._tooltipModel,h?{position:h}:null),p=v.get("content"),g=Math.random()+"",m=new M2;this._showOrMove(v,function(){var y=rt(v.get("formatterParams")||{});this._showTooltipContent(v,p,y,g,n.offsetX,n.offsetY,n.position,r,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,i,o,a,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var d=this._tooltipContent;d.setEnterable(n.get("enterable"));var f=n.get("formatter");s=s||n.get("position");var h=r,v=this._getNearestPoint([a,l],i,n.get("trigger"),n.get("borderColor")),p=v.color;if(f)if(Fe(f)){var g=n.ecModel.get("useUTC"),m=Ae(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=f,y&&(h=TC(m.axisValue,h,g)),h=fne(h,i,!0)}else if(Ze(f)){var b=ze(function(S,x){S===this._ticket&&(d.setContent(x,c,n,p,s),this._updatePosition(n,s,a,l,d,i,u))},this);this._ticket=o,h=f(i,o,b)}else h=f;d.setContent(h,c,n,p,s),d.show(n,p),this._updatePosition(n,s,a,l,d,i,u)}},t.prototype._getNearestPoint=function(n,r,i,o){if(i==="axis"||Ae(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!Ae(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,i,o,a,l,s){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var d=a.getSize(),f=n.get("align"),h=n.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),Ze(r)&&(r=r([i,o],l,a.el,v,{viewSize:[u,c],contentSize:d.slice()})),Ae(r))i=Ne(r[0],u),o=Ne(r[1],c);else if(nt(r)){var p=r;p.width=d[0],p.height=d[1];var g=ir(p,{width:u,height:c});i=g.x,o=g.y,f=null,h=null}else if(Fe(r)&&s){var m=Qut(r,v,d,n.get("borderWidth"));i=m[0],o=m[1]}else{var m=qut(i,o,a,u,c,f?null:20,h?null:20);i=m[0],o=m[1]}if(f&&(i-=_W(f)?d[0]/2:f==="right"?d[0]:0),h&&(o-=_W(h)?d[1]/2:h==="bottom"?d[1]:0),Fae(n)){var m=Zut(i,o,a,u,c);i=m[0],o=m[1]}a.moveTo(i,o)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var i=this._lastDataByCoordSys,o=this._cbParamsList,a=!!i&&i.length===n.length;return a&&j(i,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},d=c.dataByAxis||[];a=a&&u.length===d.length,a&&j(u,function(f,h){var v=d[h]||{},p=f.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&f.value===v.value&&f.axisType===v.axisType&&f.axisId===v.axisId&&p.length===g.length,a&&j(p,function(m,y){var b=g[y];a=a&&m.seriesIndex===b.seriesIndex&&m.dataIndex===b.dataIndex}),o&&j(f.seriesDataIndices,function(m){var y=m.seriesIndex,b=r[y],S=o[y];b&&S&&S.data!==b.data&&(a=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!a},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){Wt.node||!r.getDom()||(pm(this,"_updatePosition"),this._tooltipContent.dispose(),_A("itemTooltip",r))},t.type="tooltip",t}(Pn);function cp(e,t,n){var r=t.ecModel,i;n?(i=new hn(n,r,r),i=new hn(t.option,i,r)):i=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof hn&&(a=a.get("tooltip",!0)),Fe(a)&&(a={formatter:a}),a&&(i=new hn(a,i,r)))}return i}function $W(e,t){return e.dispatchAction||ze(t.dispatchAction,t)}function qut(e,t,n,r,i,o,a){var l=n.getSize(),s=l[0],u=l[1];return o!=null&&(e+s+o+2>r?e-=s+o:e+=o),a!=null&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function Zut(e,t,n,r,i){var o=n.getSize(),a=o[0],l=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+l,i)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Qut(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,l=0,s=0,u=t.width,c=t.height;switch(e){case"inside":l=t.x+u/2-i/2,s=t.y+c/2-o/2;break;case"top":l=t.x+u/2-i/2,s=t.y-o-a;break;case"bottom":l=t.x+u/2-i/2,s=t.y+c+a;break;case"left":l=t.x-i-a,s=t.y+c/2-o/2;break;case"right":l=t.x+u+a,s=t.y+c/2-o/2}return[l,s]}function _W(e){return e==="center"||e==="middle"}function Jut(e,t,n){var r=m4(e).queryOptionMap,i=r.keys()[0];if(!(!i||i==="series")){var o=ay(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var l=n.getViewOfComponentModel(a),s;if(l.group.traverse(function(u){var c=ut(u).tooltipConfig;if(c&&c.name===e.name)return s=u,!0}),s)return{componentMainType:i,componentIndex:a.componentIndex,el:s}}}}const ect=Yut;function tct(e){Pt(Cy),e.registerComponentModel(Rut),e.registerComponentView(ect),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},kn),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},kn)}var nct=["rect","polygon","keep","clear"];function rct(e,t){var n=rn(e?e.brush:[]);if(n.length){var r=[];j(n,function(s){var u=s.hasOwnProperty("toolbox")?s.toolbox:[];u instanceof Array&&(r=r.concat(u))});var i=e&&e.toolbox;Ae(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),l=a.type||(a.type=[]);l.push.apply(l,r),ict(l),t&&!l.length&&l.push.apply(l,nct)}}function ict(e){var t={};j(e,function(n){t[n]=1}),e.length=0,j(t,function(n,r){e.push(r)})}var TW=j;function IW(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function OA(e,t,n){var r={};return TW(t,function(o){var a=r[o]=i();TW(e[o],function(l,s){if(Mr.isValidType(s)){var u={type:s,visual:l};n&&n(u,o),a[s]=new Mr(u),s==="opacity"&&(u=rt(u),u.type="colorAlpha",a.__hidden.__alphaForOpacity=new Mr(u))}})}),r;function i(){var o=function(){};o.prototype.__hidden=o.prototype;var a=new o;return a}}function Wae(e,t,n){var r;j(n,function(i){t.hasOwnProperty(i)&&IW(t[i])&&(r=!0)}),r&&j(n,function(i){t.hasOwnProperty(i)&&IW(t[i])?e[i]=rt(t[i]):delete e[i]})}function oct(e,t,n,r,i,o){var a={};j(e,function(d){var f=Mr.prepareVisualTypes(t[d]);a[d]=f});var l;function s(d){return Y4(n,l,d)}function u(d,f){rre(n,l,d,f)}o==null?n.each(c):n.each([o],c);function c(d,f){l=o==null?d:f;var h=n.getRawDataItem(l);if(!(h&&h.visualMap===!1))for(var v=r.call(i,d),p=t[v],g=a[v],m=0,y=g.length;mt[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&DW(t)}};function DW(e){return new $t(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var hct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.ecModel=n,this.api=r,this.model,(this._brushController=new BR(r.getZr())).on("brush",ze(this._onBrush,this)).mount()},t.prototype.render=function(n,r,i,o){this.model=n,this._updateController(n,r,i,o)},t.prototype.updateTransform=function(n,r,i,o){jae(r),this._updateController(n,r,i,o)},t.prototype.updateVisual=function(n,r,i,o){this.updateTransform(n,r,i,o)},t.prototype.updateView=function(n,r,i,o){this._updateController(n,r,i,o)},t.prototype._updateController=function(n,r,i,o){(!o||o.$from!==n.id)&&this._brushController.setPanels(n.brushTargetManager.makePanelOpts(i)).enableBrush(n.brushOption).updateCovers(n.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(n){var r=this.model.id,i=this.model.brushTargetManager.setOutputRanges(n.areas,this.ecModel);(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:rt(i),$from:r}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:rt(i),$from:r})},t.type="brush",t}(Pn);const vct=hct;var pct="#ddd",gct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return t.prototype.optionUpdated=function(n,r){var i=this.option;!r&&Wae(i,n,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:pct},o.hasOwnProperty("liftZ")||(o.liftZ=5)},t.prototype.setAreas=function(n){n&&(this.areas=Oe(n,function(r){return EW(this.option,r)},this))},t.prototype.setBrushOption=function(n){this.brushOption=EW(this.option,n),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Vt);function EW(e,t){return St({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new hn(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const mct=gct;var yct=["rect","polygon","lineX","lineY","keep","clear"],bct=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i){var o,a,l;r.eachComponent({mainType:"brush"},function(s){o=s.brushType,a=s.brushOption.brushMode||"single",l=l||!!s.areas.length}),this._brushType=o,this._brushMode=a,j(n.get("type",!0),function(s){n.setIconStatus(s,(s==="keep"?a==="multiple":s==="clear"?l:s===o)?"emphasis":"normal")})},t.prototype.updateView=function(n,r,i){this.render(n,r,i)},t.prototype.getIcons=function(){var n=this.model,r=n.get("icon",!0),i={};return j(n.get("type",!0),function(o){r[o]&&(i[o]=r[o])}),i},t.prototype.onclick=function(n,r,i){var o=this._brushType,a=this._brushMode;i==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?o:o===i?!1:i,brushMode:i==="keep"?a==="multiple"?"single":"multiple":a}})},t.getDefaultOption=function(n){var r={show:!0,type:yct.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.getLocaleModel().get(["toolbox","brush","title"])};return r},t}(xo);const Sct=bct;function xct(e){e.registerComponentView(vct),e.registerComponentModel(mct),e.registerPreprocessor(rct),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,sct),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,n){n.eachComponent({mainType:"brush",query:t},function(r){r.setAreas(t.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},kn),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},kn),Ff("brush",Sct)}var wct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Vt),Cct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){if(this.group.removeAll(),!!n.get("show")){var o=this.group,a=n.getModel("textStyle"),l=n.getModel("subtextStyle"),s=n.get("textAlign"),u=vt(n.get("textBaseline"),n.get("textVerticalAlign")),c=new jt({style:fn(a,{text:n.get("text"),fill:a.getTextColor()},{disableBox:!0}),z2:10}),d=c.getBoundingRect(),f=n.get("subtext"),h=new jt({style:fn(l,{text:f,fill:l.getTextColor(),y:d.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=n.get("link"),p=n.get("sublink"),g=n.get("triggerEvent",!0);c.silent=!v&&!g,h.silent=!p&&!g,v&&c.on("click",function(){ZS(v,"_"+n.get("target"))}),p&&h.on("click",function(){ZS(p,"_"+n.get("subtarget"))}),ut(c).eventData=ut(h).eventData=g?{componentType:"title",componentIndex:n.componentIndex}:null,o.add(c),f&&o.add(h);var m=o.getBoundingRect(),y=n.getBoxLayoutParams();y.width=m.width,y.height=m.height;var b=ir(y,{width:i.getWidth(),height:i.getHeight()},n.get("padding"));s||(s=n.get("left")||n.get("right"),s==="middle"&&(s="center"),s==="right"?b.x+=b.width:s==="center"&&(b.x+=b.width/2)),u||(u=n.get("top")||n.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?b.y+=b.height:u==="middle"&&(b.y+=b.height/2),u=u||"top"),o.x=b.x,o.y=b.y,o.markRedraw();var S={align:s,verticalAlign:u};c.setStyle(S),h.setStyle(S),m=o.getBoundingRect();var x=b.margin,$=n.getItemStyle(["color","opacity"]);$.fill=n.get("backgroundColor");var C=new Ht({shape:{x:m.x-x[3],y:m.y-x[0],width:m.width+x[1]+x[3],height:m.height+x[0]+x[2],r:n.get("borderRadius")},style:$,subPixelOptimize:!0,silent:!0});o.add(C)}},t.type="title",t}(Pn);function $ct(e){e.registerComponentModel(wct),e.registerComponentView(Cct)}var _ct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i),this._initData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(n){n==null&&(n=this.option.currentIndex);var r=this._data.count();this.option.loop?n=(n%r+r)%r:(n>=r&&(n=r-1),n<0&&(n=0)),this.option.currentIndex=n},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(n){this.option.autoPlay=!!n},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var n=this.option,r=n.data||[],i=n.axisType,o=this._names=[],a;i==="category"?(a=[],j(r,function(u,c){var d=rr(hv(u),""),f;nt(u)?(f=rt(u),f.value=c):f=c,a.push(f),o.push(d)})):a=r;var l={category:"ordinal",time:"time",value:"number"}[i]||"number",s=this._data=new fi([{name:"value",type:l}],this);s.initData(a,o)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Vt);const RW=_ct;var Gae=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline.slider",t.defaultOption=Ru(RW.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(RW);qn(Gae,EC.prototype);const Tct=Gae;var Ict=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline",t}(Pn);const Pct=Ict;var Mct=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this,n,r,i)||this;return a.type=o||"value",a}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(pa);const Act=Mct;var UT=Math.PI,LW=Ft(),Oct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.api=r},t.prototype.render=function(n,r,i){if(this.model=n,this.api=i,this.ecModel=r,this.group.removeAll(),n.get("show",!0)){var o=this._layout(n,i),a=this._createGroup("_mainGroup"),l=this._createGroup("_labelGroup"),s=this._axis=this._createAxis(o,n);n.formatTooltip=function(u){var c=s.scale.getLabel({value:u});return pr("nameValue",{noName:!0,value:c})},j(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](o,a,s,n)},this),this._renderAxisLabel(o,l,s,n),this._position(o,n)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(n,r){var i=n.get(["label","position"]),o=n.get("orient"),a=Ect(n,r),l;i==null||i==="auto"?l=o==="horizontal"?a.y+a.height/2=0||l==="+"?"left":"right"},u={horizontal:l>=0||l==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:UT/2},d=o==="vertical"?a.height:a.width,f=n.getModel("controlStyle"),h=f.get("show",!0),v=h?f.get("itemSize"):0,p=h?f.get("itemGap"):0,g=v+p,m=n.get(["label","rotate"])||0;m=m*UT/180;var y,b,S,x=f.get("position",!0),$=h&&f.get("showPlayBtn",!0),C=h&&f.get("showPrevBtn",!0),T=h&&f.get("showNextBtn",!0),I=0,P=d;x==="left"||x==="bottom"?($&&(y=[0,0],I+=g),C&&(b=[I,0],I+=g),T&&(S=[P-v,0],P-=g)):($&&(y=[P-v,0],P-=g),C&&(b=[0,0],I+=g),T&&(S=[P-v,0],P-=g));var M=[I,P];return n.get("inverse")&&M.reverse(),{viewRect:a,mainLength:d,orient:o,rotation:c[o],labelRotation:m,labelPosOpt:l,labelAlign:n.get(["label","align"])||s[o],labelBaseline:n.get(["label","verticalAlign"])||n.get(["label","baseline"])||u[o],playPosition:y,prevBtnPosition:b,nextBtnPosition:S,axisExtent:M,controlSize:v,controlGap:p}},t.prototype._position=function(n,r){var i=this._mainGroup,o=this._labelGroup,a=n.viewRect;if(n.orient==="vertical"){var l=Yi(),s=a.x,u=a.y+a.height;el(l,l,[-s,-u]),Hd(l,l,-UT/2),el(l,l,[s,u]),a=a.clone(),a.applyTransform(l)}var c=y(a),d=y(i.getBoundingRect()),f=y(o.getBoundingRect()),h=[i.x,i.y],v=[o.x,o.y];v[0]=h[0]=c[0][0];var p=n.labelPosOpt;if(p==null||Fe(p)){var g=p==="+"?0:1;b(h,d,c,1,g),b(v,f,c,1,1-g)}else{var g=p>=0?0:1;b(h,d,c,1,g),v[1]=h[1]+p}i.setPosition(h),o.setPosition(v),i.rotation=o.rotation=n.rotation,m(i),m(o);function m(S){S.originX=c[0][0]-S.x,S.originY=c[1][0]-S.y}function y(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function b(S,x,$,C,T){S[C]+=$[C][T]-x[C][T]}},t.prototype._createAxis=function(n,r){var i=r.getData(),o=r.get("axisType"),a=Dct(r,o);a.getTicks=function(){return i.mapArray(["value"],function(u){return{value:u}})};var l=i.getDataExtent("value");a.setExtent(l[0],l[1]),a.calcNiceTicks();var s=new Act("value",a,n.axisExtent,o);return s.model=r,s},t.prototype._createGroup=function(n){var r=this[n]=new lt;return this.group.add(r),r},t.prototype._renderAxisLine=function(n,r,i,o){var a=i.getExtent();if(o.get(["lineStyle","show"])){var l=new Sr({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:Te({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});r.add(l);var s=this._progressLine=new Sr({shape:{x1:a[0],x2:this._currentPointer?this._currentPointer.x:a[0],y1:0,y2:0},style:et({lineCap:"round",lineWidth:l.style.lineWidth},o.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});r.add(s)}},t.prototype._renderAxisTick=function(n,r,i,o){var a=this,l=o.getData(),s=i.scale.getTicks();this._tickSymbols=[],j(s,function(u){var c=i.dataToCoord(u.value),d=l.getItemModel(u.value),f=d.getModel("itemStyle"),h=d.getModel(["emphasis","itemStyle"]),v=d.getModel(["progress","itemStyle"]),p={x:c,y:0,onclick:ze(a._changeTimeline,a,u.value)},g=NW(d,f,r,p);g.ensureState("emphasis").style=h.getItemStyle(),g.ensureState("progress").style=v.getItemStyle(),od(g);var m=ut(g);d.get("tooltip")?(m.dataIndex=u.value,m.dataModel=o):m.dataIndex=m.dataModel=null,a._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(n,r,i,o){var a=this,l=i.getLabelModel();if(l.get("show")){var s=o.getData(),u=i.getViewLabels();this._tickLabels=[],j(u,function(c){var d=c.tickValue,f=s.getItemModel(d),h=f.getModel("label"),v=f.getModel(["emphasis","label"]),p=f.getModel(["progress","label"]),g=i.dataToCoord(c.tickValue),m=new jt({x:g,y:0,rotation:n.labelRotation-n.rotation,onclick:ze(a._changeTimeline,a,d),silent:!1,style:fn(h,{text:c.formattedLabel,align:n.labelAlign,verticalAlign:n.labelBaseline})});m.ensureState("emphasis").style=fn(v),m.ensureState("progress").style=fn(p),r.add(m),od(m),LW(m).dataIndex=d,a._tickLabels.push(m)})}},t.prototype._renderControl=function(n,r,i,o){var a=n.controlSize,l=n.rotation,s=o.getModel("controlStyle").getItemStyle(),u=o.getModel(["emphasis","controlStyle"]).getItemStyle(),c=o.getPlayState(),d=o.get("inverse",!0);f(n.nextBtnPosition,"next",ze(this._changeTimeline,this,d?"-":"+")),f(n.prevBtnPosition,"prev",ze(this._changeTimeline,this,d?"+":"-")),f(n.playPosition,c?"stop":"play",ze(this._handlePlayClick,this,!c),!0);function f(h,v,p,g){if(h){var m=ca(vt(o.get(["controlStyle",v+"BtnSize"]),a),a),y=[0,-m/2,m,m],b=Rct(o,v+"Icon",y,{x:h[0],y:h[1],originX:a/2,originY:0,rotation:g?-l:0,rectHover:!0,style:s,onclick:p});b.ensureState("emphasis").style=u,r.add(b),od(b)}}},t.prototype._renderCurrentPointer=function(n,r,i,o){var a=o.getData(),l=o.getCurrentIndex(),s=a.getItemModel(l).getModel("checkpointStyle"),u=this,c={onCreate:function(d){d.draggable=!0,d.drift=ze(u._handlePointerDrag,u),d.ondragend=ze(u._handlePointerDragend,u),kW(d,u._progressLine,l,i,o,!0)},onUpdate:function(d){kW(d,u._progressLine,l,i,o)}};this._currentPointer=NW(s,s,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(n){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:n,from:this.uid})},t.prototype._handlePointerDrag=function(n,r,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(n){this._pointerChangeTimeline([n.offsetX,n.offsetY],!0)},t.prototype._pointerChangeTimeline=function(n,r){var i=this._toAxisCoord(n)[0],o=this._axis,a=$o(o.getExtent().slice());i>a[1]&&(i=a[1]),i=0&&(a[o]=+a[o].toFixed(f)),[a,d]}var XT={min:pt(fb,"min"),max:pt(fb,"max"),average:pt(fb,"average"),median:pt(fb,"median")};function Pm(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!Vct(t)&&!Ae(t.coord)&&Ae(i)){var o=Uae(t,n,r,e);if(t=rt(t),t.type&&XT[t.type]&&o.baseAxis&&o.valueAxis){var a=Tt(i,o.baseAxis.dim),l=Tt(i,o.valueAxis.dim),s=XT[t.type](n,o.baseDataDim,o.valueDataDim,a,l);t.coord=s[0],t.value=s[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!Ae(i))t.coord=[];else for(var u=t.coord,c=0;c<2;c++)XT[u[c]]&&(u[c]=cL(n,n.mapDimension(i[c]),u[c]));return t}}function Uae(e,t,n,r){var i={};return e.valueIndex!=null||e.valueDim!=null?(i.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(Wct(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function Wct(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function Mm(e,t){return e&&e.containData&&t.coord&&!EA(t)?e.containData(t.coord):!0}function jct(e,t,n){return e&&e.containZone&&t.coord&&n.coord&&!EA(t)&&!EA(n)?e.containZone(t.coord,n.coord):!0}function Xae(e,t){return e?function(n,r,i,o){var a=o<2?n.coord&&n.coord[o]:n.value;return su(a,t[o])}:function(n,r,i,o){return su(n.value,t[o])}}function cL(e,t,n){if(n==="average"){var r=0,i=0;return e.each(t,function(o,a){isNaN(o)||(r+=o,i++)}),r/i}else return n==="median"?e.getMedian(t):e.getDataExtent(t)[n==="max"?1:0]}var YT=Ft(),Gct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this.markerGroupMap=Ge()},t.prototype.render=function(n,r,i){var o=this,a=this.markerGroupMap;a.each(function(l){YT(l).keep=!1}),r.eachSeries(function(l){var s=$u.getMarkerModelFromSeries(l,o.type);s&&o.renderSeries(l,s,r,i)}),a.each(function(l){!YT(l).keep&&o.group.remove(l.group)})},t.prototype.markKeep=function(n){YT(n).keep=!0},t.prototype.toggleBlurSeries=function(n,r){var i=this;j(n,function(o){var a=$u.getMarkerModelFromSeries(o,i.type);if(a){var l=a.getData();l.eachItemGraphicEl(function(s){s&&(r?Ste(s):$4(s))})}})},t.type="marker",t}(Pn);const dL=Gct;function FW(e,t,n){var r=t.coordinateSystem;e.each(function(i){var o=e.getItemModel(i),a,l=Ne(o.get("x"),n.getWidth()),s=Ne(o.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(s))a=[l,s];else if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);a=r.dataToPoint([u,c])}isNaN(l)||(a[0]=l),isNaN(s)||(a[1]=s),e.setItemLayout(i,a)})}var Kct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markPoint");a&&(FW(a.getData(),o,i),this.markerGroupMap.get(o.id).updateLayout())},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new gy),d=Uct(a,n,r);r.setData(d),FW(r.getData(),n,o),d.each(function(f){var h=d.getItemModel(f),v=h.getShallow("symbol"),p=h.getShallow("symbolSize"),g=h.getShallow("symbolRotate"),m=h.getShallow("symbolOffset"),y=h.getShallow("symbolKeepAspect");if(Ze(v)||Ze(p)||Ze(g)||Ze(m)){var b=r.getRawValue(f),S=r.getDataParams(f);Ze(v)&&(v=v(b,S)),Ze(p)&&(p=p(b,S)),Ze(g)&&(g=g(b,S)),Ze(m)&&(m=m(b,S))}var x=h.getModel("itemStyle").getItemStyle(),$=fy(s,"color");x.fill||(x.fill=$),d.setItemVisual(f,{symbol:v,symbolSize:p,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:x})}),c.updateData(d),this.group.add(c.group),d.eachItemGraphicEl(function(f){f.traverse(function(h){ut(h).dataModel=r})}),this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markPoint",t}(dL);function Uct(e,t,n){var r;e?r=Oe(e&&e.dimensions,function(l){var s=t.getData().getDimensionInfo(t.getData().mapDimension(l))||{};return Te(Te({},s),{name:l,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new fi(r,n),o=Oe(n.get("data"),pt(Pm,t));e&&(o=Zt(o,pt(Mm,e)));var a=Xae(!!e,r);return i.initData(o,null,a),i}const Xct=Kct;function Yct(e){e.registerComponentModel(Hct),e.registerComponentView(Xct),e.registerPreprocessor(function(t){uL(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var qct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,i){return new t(n,r,i)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}($u);const Zct=qct;var hb=Ft(),Qct=function(e,t,n,r){var i=e.getData(),o;if(Ae(r))o=r;else{var a=r.type;if(a==="min"||a==="max"||a==="average"||a==="median"||r.xAxis!=null||r.yAxis!=null){var l=void 0,s=void 0;if(r.yAxis!=null||r.xAxis!=null)l=t.getAxis(r.yAxis!=null?"y":"x"),s=br(r.yAxis,r.xAxis);else{var u=Uae(r,i,t,e);l=u.valueAxis;var c=Ore(i,u.valueDataDim);s=cL(i,c,a)}var d=l.dim==="x"?0:1,f=1-d,h=rt(r),v={coord:[]};h.type=null,h.coord=[],h.coord[f]=-1/0,v.coord[f]=1/0;var p=n.get("precision");p>=0&&Gt(s)&&(s=+s.toFixed(Math.min(p,20))),h.coord[d]=v.coord[d]=s,o=[h,v,{type:a,valueIndex:r.valueIndex,value:s}]}else o=[]}var g=[Pm(e,o[0]),Pm(e,o[1]),Te({},o[2])];return g[2].type=g[2].type||null,St(g[2],g[0]),St(g[2],g[1]),g};function $x(e){return!isNaN(e)&&!isFinite(e)}function zW(e,t,n,r){var i=1-e,o=r.dimensions[e];return $x(t[i])&&$x(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function Jct(e,t){if(e.type==="cartesian2d"){var n=t[0].coord,r=t[1].coord;if(n&&r&&(zW(1,n,r,e)||zW(0,n,r,e)))return!0}return Mm(e,t[0])&&Mm(e,t[1])}function qT(e,t,n,r,i){var o=r.coordinateSystem,a=e.getItemModel(t),l,s=Ne(a.get("x"),i.getWidth()),u=Ne(a.get("y"),i.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition)l=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=o.dimensions,d=e.get(c[0],t),f=e.get(c[1],t);l=o.dataToPoint([d,f])}if(Ud(o,"cartesian2d")){var h=o.getAxis("x"),v=o.getAxis("y"),c=o.dimensions;$x(e.get(c[0],t))?l[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):$x(e.get(c[1],t))&&(l[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}e.setItemLayout(t,l)}var edt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markLine");if(a){var l=a.getData(),s=hb(a).from,u=hb(a).to;s.each(function(c){qT(s,c,!0,o,i),qT(u,c,!1,o,i)}),l.each(function(c){l.setItemLayout(c,[s.getItemLayout(c),u.getItemLayout(c)])}),this.markerGroupMap.get(o.id).updateLayout()}},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new DR);this.group.add(c.group);var d=tdt(a,n,r),f=d.from,h=d.to,v=d.line;hb(r).from=f,hb(r).to=h,r.setData(v);var p=r.get("symbol"),g=r.get("symbolSize"),m=r.get("symbolRotate"),y=r.get("symbolOffset");Ae(p)||(p=[p,p]),Ae(g)||(g=[g,g]),Ae(m)||(m=[m,m]),Ae(y)||(y=[y,y]),d.from.each(function(S){b(f,S,!0),b(h,S,!1)}),v.each(function(S){var x=v.getItemModel(S).getModel("lineStyle").getLineStyle();v.setItemLayout(S,[f.getItemLayout(S),h.getItemLayout(S)]),x.stroke==null&&(x.stroke=f.getItemVisual(S,"style").fill),v.setItemVisual(S,{fromSymbolKeepAspect:f.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(S,"symbolOffset"),fromSymbolRotate:f.getItemVisual(S,"symbolRotate"),fromSymbolSize:f.getItemVisual(S,"symbolSize"),fromSymbol:f.getItemVisual(S,"symbol"),toSymbolKeepAspect:h.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(S,"symbolOffset"),toSymbolRotate:h.getItemVisual(S,"symbolRotate"),toSymbolSize:h.getItemVisual(S,"symbolSize"),toSymbol:h.getItemVisual(S,"symbol"),style:x})}),c.updateData(v),d.line.eachItemGraphicEl(function(S){ut(S).dataModel=r,S.traverse(function(x){ut(x).dataModel=r})});function b(S,x,$){var C=S.getItemModel(x);qT(S,x,$,n,o);var T=C.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=fy(s,"color")),S.setItemVisual(x,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:vt(C.get("symbolOffset",!0),y[$?0:1]),symbolRotate:vt(C.get("symbolRotate",!0),m[$?0:1]),symbolSize:vt(C.get("symbolSize"),g[$?0:1]),symbol:vt(C.get("symbol",!0),p[$?0:1]),style:T})}this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markLine",t}(dL);function tdt(e,t,n){var r;e?r=Oe(e&&e.dimensions,function(u){var c=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return Te(Te({},c),{name:u,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new fi(r,n),o=new fi(r,n),a=new fi([],n),l=Oe(n.get("data"),pt(Qct,t,e,n));e&&(l=Zt(l,pt(Jct,e)));var s=Xae(!!e,r);return i.initData(Oe(l,function(u){return u[0]}),null,s),o.initData(Oe(l,function(u){return u[1]}),null,s),a.initData(Oe(l,function(u){return u[2]})),a.hasItemOption=!0,{from:i,to:o,line:a}}const ndt=edt;function rdt(e){e.registerComponentModel(Zct),e.registerComponentView(ndt),e.registerPreprocessor(function(t){uL(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var idt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,i){return new t(n,r,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}($u);const odt=idt;var vb=Ft(),adt=function(e,t,n,r){var i=r[0],o=r[1];if(!(!i||!o)){var a=Pm(e,i),l=Pm(e,o),s=a.coord,u=l.coord;s[0]=br(s[0],-1/0),s[1]=br(s[1],-1/0),u[0]=br(u[0],1/0),u[1]=br(u[1],1/0);var c=o4([{},a,l]);return c.coord=[a.coord,l.coord],c.x0=a.x,c.y0=a.y,c.x1=l.x,c.y1=l.y,c}};function _x(e){return!isNaN(e)&&!isFinite(e)}function HW(e,t,n,r){var i=1-e;return _x(t[i])&&_x(n[i])}function ldt(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return Ud(e,"cartesian2d")?n&&r&&(HW(1,n,r)||HW(0,n,r))?!0:jct(e,i,o):Mm(e,i)||Mm(e,o)}function VW(e,t,n,r,i){var o=r.coordinateSystem,a=e.getItemModel(t),l,s=Ne(a.get(n[0]),i.getWidth()),u=Ne(a.get(n[1]),i.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),f=o.clampData(c),h=o.clampData(d),v=[];n[0]==="x0"?v[0]=f[0]>h[0]?d[0]:c[0]:v[0]=f[0]>h[0]?c[0]:d[0],n[1]==="y0"?v[1]=f[1]>h[1]?d[1]:c[1]:v[1]=f[1]>h[1]?c[1]:d[1],l=r.getMarkerPosition(v,n,!0)}else{var p=e.get(n[0],t),g=e.get(n[1],t),m=[p,g];o.clampData&&o.clampData(m,m),l=o.dataToPoint(m,!0)}if(Ud(o,"cartesian2d")){var y=o.getAxis("x"),b=o.getAxis("y"),p=e.get(n[0],t),g=e.get(n[1],t);_x(p)?l[0]=y.toGlobalCoord(y.getExtent()[n[0]==="x0"?0:1]):_x(g)&&(l[1]=b.toGlobalCoord(b.getExtent()[n[1]==="y0"?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}return l}var WW=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],sdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markArea");if(a){var l=a.getData();l.each(function(s){var u=Oe(WW,function(d){return VW(l,s,d,o,i)});l.setItemLayout(s,u);var c=l.getItemGraphicEl(s);c.setShape("points",u)})}},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,{group:new lt});this.group.add(c.group),this.markKeep(c);var d=udt(a,n,r);r.setData(d),d.each(function(f){var h=Oe(WW,function(T){return VW(d,f,T,n,o)}),v=a.getAxis("x").scale,p=a.getAxis("y").scale,g=v.getExtent(),m=p.getExtent(),y=[v.parse(d.get("x0",f)),v.parse(d.get("x1",f))],b=[p.parse(d.get("y0",f)),p.parse(d.get("y1",f))];$o(y),$o(b);var S=!(g[0]>y[1]||g[1]b[1]||m[1]=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Vt);const RA=hdt;var _f=pt,LA=j,pb=lt,vdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new pb),this.group.add(this._selectorGroup=new pb),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var a=n.get("align"),l=n.get("orient");(!a||a==="auto")&&(a=n.get("left")==="right"&&l==="vertical"?"right":"left");var s=n.get("selector",!0),u=n.get("selectorPosition",!0);s&&(!u||u==="auto")&&(u=l==="horizontal"?"end":"start"),this.renderInner(a,n,r,i,s,l,u);var c=n.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},f=n.get("padding"),h=ir(c,d,f),v=this.layoutInner(n,a,h,o,s,u),p=ir(et({width:v.width,height:v.height},c),d,f);this.group.x=p.x-v.x,this.group.y=p.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Nae(v,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,o,a,l,s){var u=this.getContentGroup(),c=Ge(),d=r.get("selectedMode"),f=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&f.push(h.id)}),LA(r.getData(),function(h,v){var p=h.get("name");if(!this.newlineDisabled&&(p===""||p===` -`)){var g=new pb;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!c.get(p))if(m){var y=m.getData(),b=y.getVisual("legendLineStyle")||{},S=y.getVisual("legendIcon"),x=y.getVisual("style"),$=this._createItem(m,p,v,h,r,n,b,x,S,d,o);$.on("click",_f(jW,p,null,o,f)).on("mouseover",_f(NA,m.name,null,o,f)).on("mouseout",_f(kA,m.name,null,o,f)),i.ssr&&$.eachChild(function(C){var T=ut(C);T.seriesIndex=m.seriesIndex,T.dataIndex=v,T.ssrType="legend"}),c.set(p,!0)}else i.eachRawSeries(function(C){if(!c.get(p)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(p))return;var I=T.indexOfName(p),P=T.getItemVisual(I,"style"),M=T.getItemVisual(I,"legendIcon"),O=qi(P.fill);O&&O[3]===0&&(O[3]=.2,P=Te(Te({},P),{fill:kl(O,"rgba")}));var D=this._createItem(C,p,v,h,r,n,{},P,M,d,o);D.on("click",_f(jW,null,p,o,f)).on("mouseover",_f(NA,null,p,o,f)).on("mouseout",_f(kA,null,p,o,f)),i.ssr&&D.eachChild(function(R){var A=ut(R);A.seriesIndex=C.seriesIndex,A.dataIndex=v,A.ssrType="legend"}),c.set(p,!0)}},this)},this),a&&this._createSelector(a,r,o,l,s)},t.prototype._createSelector=function(n,r,i,o,a){var l=this.getSelectorGroup();LA(n,function(u){var c=u.type,d=new jt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});l.add(d);var f=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);Dr(d,{normal:f,emphasis:h},{defaultText:u.title}),od(d)})},t.prototype._createItem=function(n,r,i,o,a,l,s,u,c,d,f){var h=n.visualDrawType,v=a.get("itemWidth"),p=a.get("itemHeight"),g=a.isSelected(r),m=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),b=o.get("icon");c=b||c||"roundRect";var S=pdt(c,o,s,u,h,g,f),x=new pb,$=o.getModel("textStyle");if(Ze(n.getLegendIcon)&&(!b||b==="inherit"))x.add(n.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:m,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var C=b==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(gdt({itemWidth:v,itemHeight:p,icon:c,iconRotate:C,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}))}var T=l==="left"?v+5:-5,I=l,P=a.get("formatter"),M=r;Fe(P)&&P?M=P.replace("{name}",r!=null?r:""):Ze(P)&&(M=P(r));var O=g?$.getTextColor():o.get("inactiveColor");x.add(new jt({style:fn($,{text:M,x:T,y:p/2,fill:O,align:I,verticalAlign:"middle"},{inheritColor:O})}));var D=new Ht({shape:x.getBoundingRect(),style:{fill:"transparent"}}),R=o.getModel("tooltip");return R.get("show")&&Vd({el:D,componentModel:a,itemName:r,itemTooltipOption:R.option}),x.add(D),x.eachChild(function(A){A.silent=!0}),D.silent=!d,this.getContentGroup().add(x),od(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(n,r,i,o,a,l){var s=this.getContentGroup(),u=this.getSelectorGroup();ld(n.get("orient"),s,n.get("itemGap"),i.width,i.height);var c=s.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),a){ld("horizontal",u,n.get("selectorItemGap",!0));var f=u.getBoundingRect(),h=[-f.x,-f.y],v=n.get("selectorButtonGap",!0),p=n.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";l==="end"?h[p]+=c[g]+v:d[p]+=f[g]+v,h[1-p]+=c[m]/2-f[m]/2,u.x=h[0],u.y=h[1],s.x=d[0],s.y=d[1];var b={x:0,y:0};return b[g]=c[g]+v+f[g],b[m]=Math.max(c[m],f[m]),b[y]=Math.min(0,f[y]+h[1-p]),b}else return s.x=d[0],s.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Pn);function pdt(e,t,n,r,i,o,a){function l(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),LA(g,function(y,b){g[b]==="inherit"&&(g[b]=m[b])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=s.getShallow("decal");u.decal=!d||d==="inherit"?r.decal:Wh(d,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),l(u,r);var f=t.getModel("lineStyle"),h=f.getLineStyle();if(l(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?r.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=f.get("inactiveColor"),h.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function gdt(e){var t=e.icon||"roundRect",n=Yn(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function jW(e,t,n,r){kA(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),NA(e,t,n,r)}function Yae(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;ri[a],g=[-h.x,-h.y];r||(g[o]=c[u]);var m=[0,0],y=[-v.x,-v.y],b=vt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(p){var S=n.get("pageButtonPosition",!0);S==="end"?y[o]+=i[a]-v[a]:m[o]+=v[a]+b}y[1-o]+=h[l]/2-v[l]/2,c.setPosition(g),d.setPosition(m),f.setPosition(y);var x={x:0,y:0};if(x[a]=p?i[a]:h[a],x[l]=Math.max(h[l],v[l]),x[s]=Math.min(0,v[s]+y[1-o]),d.__rectSize=i[a],p){var $={x:0,y:0};$[a]=Math.max(i[a]-v[a]-b,0),$[l]=x[l],d.setClipPath(new Ht({shape:$})),d.__rectSize=$[a]}else f.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(n);return C.pageIndex!=null&&Kt(c,{x:C.contentPosition[0],y:C.contentPosition[1]},p?n:null),this._updatePageInfoView(n,C),x},t.prototype._pageGo=function(n,r,i){var o=this._getPageInfo(r)[n];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var i=this._controllerGroup;j(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",f=r[d]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",f?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=f?"pointer":"default")});var o=i.childOfName("pageText"),a=n.get("pageFormatter"),l=r.pageIndex,s=l!=null?l+1:0,u=r.pageCount;o&&a&&o.setStyle("text",Fe(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",u==null?"":u+""):a({current:s,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,a=n.getOrient().index,l=ZT[a],s=QT[a],u=this._findTargetItemIndex(r),c=i.children(),d=c[u],f=c.length,h=f?1:0,v={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return v;var p=S(d);v.contentPosition[a]=-p.s;for(var g=u+1,m=p,y=p,b=null;g<=f;++g)b=S(c[g]),(!b&&y.e>m.s+o||b&&!x(b,m.s))&&(y.i>m.i?m=y:m=b,m&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=m.i),++v.pageCount)),y=b;for(var g=u-1,m=p,y=p,b=null;g>=-1;--g)b=S(c[g]),(!b||!x(y,b.s))&&m.i=C&&$.s<=C+o}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(a,l){var s=a.__legendDataIndex;o==null&&s!=null&&(o=l),s===n&&(r=l)}),r!=null?r:o},t.type="legend.scroll",t}(qae);const wdt=xdt;function Cdt(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function $dt(e){Pt(Zae),e.registerComponentModel(Sdt),e.registerComponentView(wdt),Cdt(e)}function _dt(e){Pt(Zae),Pt($dt)}var Tdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=Ru(Im.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Im);const Idt=Tdt;var fL=Ft();function Pdt(e,t,n){fL(e).coordSysRecordMap.each(function(r){var i=r.dataZoomInfoMap.get(t.uid);i&&(i.getRange=n)})}function Mdt(e,t){for(var n=fL(e).coordSysRecordMap,r=n.keys(),i=0;ir[n+t]&&(t=l),i=i&&a.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function Rdt(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=fL(n),i=r.coordSysRecordMap||(r.coordSysRecordMap=Ge());i.each(function(o){o.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(o){var a=Eae(o);j(a.infoList,function(l){var s=l.model.uid,u=i.get(s)||i.set(s,Adt(n,l.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=Ge());c.set(o.uid,{dzReferCoordSysInfo:l,model:o,getRange:null})})}),i.each(function(o){var a=o.controller,l,s=o.dataZoomInfoMap;if(s){var u=s.keys()[0];u!=null&&(l=s.get(u))}if(!l){Qae(i,o);return}var c=Edt(s);a.enable(c.controlType,c.opt),a.setPointerChecker(o.containsPoint),Cv(o,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var Ldt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,i){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),Pdt(i,n,{pan:ze(JT.pan,this),zoom:ze(JT.zoom,this),scrollMove:ze(JT.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Mdt(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(rL),JT={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var l=eI[t](null,[r.originX,r.originY],a,n,e),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-s)*u+s,o[1]=(o[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Yd(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:XW(function(e,t,n,r,i,o){var a=eI[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength}),scrollMove:XW(function(e,t,n,r,i,o){var a=eI[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta})};function XW(e){return function(t,n,r,i){var o=this.range,a=o.slice(),l=t.axisModels[0];if(l){var s=e(a,l,t,n,r,i);if(Yd(s,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var eI={grid:function(e,t,n,r,i){var o=n.axis,a={},l=i.model.coordinateSystem.getRect();return e=e||[0,0],o.dim==="x"?(a.pixel=t[0]-e[0],a.pixelLength=l.width,a.pixelStart=l.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=l.height,a.pixelStart=l.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},l=i.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return e=e?l.pointToCoord(e):[0,0],t=l.pointToCoord(t),n.mainType==="radiusAxis"?(a.pixel=t[0]-e[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),l={};return e=e||[0,0],o.orient==="horizontal"?(l.pixel=t[0]-e[0],l.pixelLength=a.width,l.pixelStart=a.x,l.signal=o.inverse?1:-1):(l.pixel=t[1]-e[1],l.pixelLength=a.height,l.pixelStart=a.y,l.signal=o.inverse?-1:1),l}};const Ndt=Ldt;function Jae(e){iL(e),e.registerComponentModel(Idt),e.registerComponentView(Ndt),Rdt(e)}var kdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Ru(Im.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Im);const Bdt=kdt;var hp=Ht,YW=7,Fdt=1,tI=30,zdt=7,vp="horizontal",qW="vertical",Hdt=5,Vdt=["line","bar","candlestick","scatter"],Wdt={easing:"cubicOut",duration:100,delay:0},jdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=ze(this._onBrush,this),this._onBrushEnd=ze(this._onBrushEnd,this)},t.prototype.render=function(n,r,i,o){if(e.prototype.render.apply(this,arguments),Cv(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!o||o.type!=="dataZoom"||o.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){pm(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new lt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,i=n.get("brushSelect"),o=i?zdt:0,a=this._findCoordRect(),l={width:r.getWidth(),height:r.getHeight()},s=this._orient===vp?{right:l.width-a.x-a.width,top:l.height-tI-YW-o,width:a.width,height:tI}:{right:YW,top:a.y,width:tI,height:a.height},u=bv(n.option);j(["right","top","width","height"],function(d){u[d]==="ph"&&(u[d]=s[d])});var c=ir(u,l);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===qW&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,i=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),a=o&&o.get("inverse"),l=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;l.attr(i===vp&&!a?{scaleY:s?1:-1,scaleX:1}:i===vp&&a?{scaleY:s?1:-1,scaleX:-1}:i===qW&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([l]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,i=this._displayables.sliderGroup,o=n.get("brushSelect");i.add(new hp({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var a=new hp({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:ze(this._onClickPanel,this)}),l=this.api.getZr();o?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",l.on("mousemove",this._onBrush),l.on("mouseup",this._onBrushEnd)):(l.off("mousemove",this._onBrush),l.off("mouseup",this._onBrushEnd)),i.add(a)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,i=this._shadowSize||[],o=n.series,a=o.getRawData(),l=o.getShadowDim&&o.getShadowDim(),s=l&&a.getDimensionInfo(l)?o.getShadowDim():n.otherDim;if(s==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==i[0]||r[1]!==i[1]){var d=a.getDataExtent(s),f=(d[1]-d[0])*.3;d=[d[0]-f,d[1]+f];var h=[0,r[1]],v=[0,r[0]],p=[[r[0],0],[0,0]],g=[],m=v[1]/(a.count()-1),y=0,b=Math.round(a.count()/r[0]),S;a.each([s],function(I,P){if(b>0&&P%b){y+=m;return}var M=I==null||isNaN(I)||I==="",O=M?0:en(I,d,h,!0);M&&!S&&P?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!M&&S&&(p.push([y,0]),g.push([y,0])),p.push([y,O]),g.push([y,O]),y+=m,S=M}),u=this._shadowPolygonPts=p,c=this._shadowPolylinePts=g}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function $(I){var P=x.getModel(I?"selectedDataBackground":"dataBackground"),M=new lt,O=new Di({shape:{points:u},segmentIgnoreThreshold:1,style:P.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),D=new Li({shape:{points:c},segmentIgnoreThreshold:1,style:P.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return M.add(O),M.add(D),M}for(var C=0;C<3;C++){var T=$(C===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var i,o=this.ecModel;return n.eachTargetAxis(function(a,l){var s=n.getAxisProxy(a,l).getTargetSeriesModels();j(s,function(u){if(!i&&!(r!==!0&&Tt(Vdt,u.get("type"))<0)){var c=o.getComponent(tu(a),l).axis,d=Gdt(a),f,h=u.coordinateSystem;d!=null&&h.getOtherAxis&&(f=h.getOtherAxis(c).inverse),d=u.getData().mapDimension(d),i={thisAxis:c,series:u,thisDim:a,otherDim:d,otherAxisInverse:f}}},this)},this),i}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,i=r.handles=[null,null],o=r.handleLabels=[null,null],a=this._displayables.sliderGroup,l=this._size,s=this.dataZoomModel,u=this.api,c=s.get("borderRadius")||0,d=s.get("brushSelect"),f=r.filler=new hp({silent:d,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(f),a.add(new hp({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:l[0],height:l[1],r:c},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:Fdt,fill:"rgba(0,0,0,0)"}})),j([0,1],function(b){var S=s.get("handleIcon");!ex[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var x=Yn(S,-1,0,2,2,null,!0);x.attr({cursor:ZW(this._orient),draggable:!0,drift:ze(this._onDragMove,this,b),ondragend:ze(this._onDragEnd,this),onmouseover:ze(this._showDataInfo,this,!0),onmouseout:ze(this._showDataInfo,this,!1),z2:5});var $=x.getBoundingRect(),C=s.get("handleSize");this._handleHeight=Ne(C,this._size[1]),this._handleWidth=$.width/$.height*this._handleHeight,x.setStyle(s.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),od(x);var T=s.get("handleColor");T!=null&&(x.style.fill=T),a.add(i[b]=x);var I=s.getModel("textStyle"),P=s.get("handleLabel")||{},M=P.show||!1;n.add(o[b]=new jt({silent:!0,invisible:!M,style:fn(I,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:I.getTextColor(),font:I.getFont()}),z2:10}))},this);var h=f;if(d){var v=Ne(s.get("moveHandleSize"),l[1]),p=r.moveHandle=new Ht({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:l[1]-.5,height:v}}),g=v*.8,m=r.moveHandleIcon=Yn(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=l[1]+v/2-.5,p.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(l[1]/2,Math.max(v,10));h=r.moveZone=new Ht({invisible:!0,shape:{y:l[1]-y,height:v+y}}),h.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),a.add(p),a.add(m),a.add(h)}h.attr({draggable:!0,cursor:ZW(this._orient),drift:ze(this._onDragMove,this,"all"),ondragstart:ze(this._showDataInfo,this,!0),ondragend:ze(this._onDragEnd,this),onmouseover:ze(this._showDataInfo,this,!0),onmouseout:ze(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[en(n[0],[0,100],r,!0),en(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var i=this.dataZoomModel,o=this._handleEnds,a=this._getViewExtent(),l=i.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];Yd(r,o,a,i.get("zoomLock")?"all":n,l.minSpan!=null?en(l.minSpan,s,a,!0):null,l.maxSpan!=null?en(l.maxSpan,s,a,!0):null);var u=this._range,c=this._range=$o([en(o[0],a,s,!0),en(o[1],a,s,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,i=this._handleEnds,o=$o(i.slice()),a=this._size;j([0,1],function(h){var v=r.handles[h],p=this._handleHeight;v.attr({scaleX:p/2,scaleY:p/2,x:i[h]+(h?-1:1),y:a[1]/2-p/2})},this),r.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:a[1]});var l={x:o[0],width:o[1]-o[0]};r.moveHandle&&(r.moveHandle.setShape(l),r.moveZone.setShape(l),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",l.x+l.width/2));for(var s=r.dataShadowSegs,u=[0,o[0],o[1],a[0]],c=0;cr[0]||i[1]<0||i[1]>r[1])){var o=this._handleEnds,a=(o[0]+o[1])/2,l=this._updateInterval("all",i[0]-a);this._updateView(),l&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,i=n.offsetY;this._brushStart=new wt(r,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var i=r.shape,o=+new Date;if(!(o-this._brushStartTime<200&&Math.abs(i.width)<5)){var a=this._getViewExtent(),l=[0,100];this._range=$o([en(i.x,a,l,!0),en(i.x+i.width,a,l,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(Xl(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var i=this._displayables,o=this.dataZoomModel,a=i.brushRect;a||(a=i.brushRect=new hp({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(a)),a.attr("ignore",!1);var l=this._brushStart,s=this._displayables.sliderGroup,u=s.transformCoordToLocal(n,r),c=s.transformCoordToLocal(l.x,l.y),d=this._size;u[0]=Math.max(Math.min(d[0],u[0]),0),a.setShape({x:c[0],y:0,width:u[0]-c[0],height:d[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?Wdt:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=Eae(this.dataZoomModel).infoList;if(!n&&r.length){var i=r[0].model.coordinateSystem;n=i.getRect&&i.getRect()}if(!n){var o=this.api.getWidth(),a=this.api.getHeight();n={x:o*.2,y:a*.2,width:o*.6,height:a*.6}}return n},t.type="dataZoom.slider",t}(rL);function Gdt(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function ZW(e){return e==="vertical"?"ns-resize":"ew-resize"}const Kdt=jdt;function ele(e){e.registerComponentModel(Bdt),e.registerComponentView(Kdt),iL(e)}function Udt(e){Pt(Jae),Pt(ele)}var Xdt={get:function(e,t,n){var r=rt((Ydt[e]||{})[t]);return n&&Ae(r)?r[r.length-1]:r}},Ydt={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const tle=Xdt;var QW=Mr.mapVisual,qdt=Mr.eachVisual,Zdt=Ae,JW=j,Qdt=$o,Jdt=en,eft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i)},t.prototype.optionUpdated=function(n,r){var i=this.option;!r&&Wae(i,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=ze(n,this),this.controllerVisuals=OA(this.option.controller,r,n),this.targetVisuals=OA(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,r=[];return n==null||n==="all"?this.ecModel.eachSeries(function(i,o){r.push(o)}):r=rn(n),r},t.prototype.eachTargetSeries=function(n,r){j(this.getTargetSeriesIndices(),function(i){var o=this.ecModel.getSeriesByIndex(i);o&&n.call(r,o)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(i){i===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,i){var o=this.option,a=o.precision,l=this.dataBound,s=o.formatter,u;i=i||["<",">"],Ae(n)&&(n=n.slice(),u=!0);var c=r?n:u?[d(n[0]),d(n[1])]:d(n);if(Fe(s))return s.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(Ze(s))return u?s(n[0],n[1]):s(n);if(u)return n[0]===l[0]?i[0]+" "+c[1]:n[1]===l[1]?i[1]+" "+c[0]:c[0]+" - "+c[1];return c;function d(f){return f===l[0]?"min":f===l[1]?"max":(+f).toFixed(Math.min(a,20))}},t.prototype.resetExtent=function(){var n=this.option,r=Qdt([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var i=n.dimensions,o=i.length-1;o>=0;o--){var a=i[o],l=n.getDimensionInfo(a);if(!l.isCalculationCoord)return l.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},o=r.target||(r.target={}),a=r.controller||(r.controller={});St(o,i),St(a,i);var l=this.isCategory();s.call(this,o),s.call(this,a),u.call(this,o,"inRange","outOfRange"),c.call(this,a);function s(d){Zdt(r.color)&&!d.inRange&&(d.inRange={color:r.color.slice().reverse()}),d.inRange=d.inRange||{color:n.get("gradientColor")}}function u(d,f,h){var v=d[f],p=d[h];v&&!p&&(p=d[h]={},JW(v,function(g,m){if(Mr.isValidType(m)){var y=tle.get(m,"inactive",l);y!=null&&(p[m]=y,m==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function c(d){var f=(d.inRange||{}).symbol||(d.outOfRange||{}).symbol,h=(d.inRange||{}).symbolSize||(d.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),p=this.getItemSymbol(),g=p||"roundRect";JW(this.stateList,function(m){var y=this.itemSize,b=d[m];b||(b=d[m]={color:l?v:[v]}),b.symbol==null&&(b.symbol=f&&rt(f)||(l?g:[g])),b.symbolSize==null&&(b.symbolSize=h&&rt(h)||(l?y[0]:[y[0],y[0]])),b.symbol=QW(b.symbol,function($){return $==="none"?g:$});var S=b.symbolSize;if(S!=null){var x=-1/0;qdt(S,function($){$>x&&(x=$)}),b.symbolSize=QW(S,function($){return Jdt($,[0,x],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Vt);const Tx=eft;var ej=[20,140],tft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=ej[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=ej[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):Ae(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),j(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=$o((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]=i[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(i){var o=[],a=i.getData();a.each(this.getDataDimensionIndex(a),function(l,s){n[0]<=l&&l<=n[1]&&o.push(s)},this),r.push({seriesId:i.id,dataIndex:o})},this),r},t.prototype.getVisualMeta=function(n){var r=tj(this,"outOfRange",this.getExtent()),i=tj(this,"inRange",this.option.range.slice()),o=[];function a(h,v){o.push({value:h,color:n(h,v)})}for(var l=0,s=0,u=i.length,c=r.length;sn[1])break;o.push({color:this.getControllerVisual(s,"color",r),offset:l/i})}return o.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),o},t.prototype._createBarPoints=function(n,r){var i=this.visualMapModel.itemSize;return[[i[0]-r[0],n[0]],[i[0],n[0]],[i[0],n[1]],[i[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,i=this.visualMapModel.get("inverse");return new lt(r==="horizontal"&&!i?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&i?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!i?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var i=this._shapes,o=this.visualMapModel,a=i.handleThumbs,l=i.handleLabels,s=o.itemSize,u=o.getExtent(),c=this._applyTransform("left",i.mainGroup);ift([0,1],function(d){var f=a[d];f.setStyle("fill",r.handlesColor[d]),f.y=n[d];var h=Ia(n[d],[0,s[1]],u,!0),v=this.getControllerVisual(h,"symbolSize");f.scaleX=f.scaleY=v/s[0],f.x=s[0]-v/2;var p=na(i.handleLabelPoints[d],ad(f,this.group));if(this._orient==="horizontal"){var g=c==="left"||c==="top"?(s[0]-v)/2:(s[0]-v)/-2;p[1]+=g}l[d].setStyle({x:p[0],y:p[1],text:o.formatValueText(this._dataInterval[d]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,i,o){var a=this.visualMapModel,l=a.getExtent(),s=a.itemSize,u=[0,s[1]],c=this._shapes,d=c.indicator;if(d){d.attr("invisible",!1);var f={convertOpacityToAlpha:!0},h=this.getControllerVisual(n,"color",f),v=this.getControllerVisual(n,"symbolSize"),p=Ia(n,l,u,!0),g=s[0]-v/2,m={x:d.x,y:d.y};d.y=p,d.x=g;var y=na(c.indicatorLabelPoint,ad(d,this.group)),b=c.indicatorLabel;b.attr("invisible",!1);var S=this._applyTransform("left",c.mainGroup),x=this._orient,$=x==="horizontal";b.setStyle({text:(i||"")+a.formatValueText(r),verticalAlign:$?S:"middle",align:$?"center":S});var C={x:g,y:p,style:{fill:h}},T={style:{x:y[0],y:y[1]}};if(a.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var I={duration:100,easing:"cubicInOut",additive:!0};d.x=m.x,d.y=m.y,d.animateTo(C,I),b.animateTo(T,I)}else d.attr(C),b.attr(T);this._firstShowIndicator=!1;var P=this._shapes.handleLabels;if(P)for(var M=0;Ma[1]&&(d[1]=1/0),r&&(d[0]===-1/0?this._showIndicator(c,d[1],"< ",s):d[1]===1/0?this._showIndicator(c,d[0],"> ",s):this._showIndicator(c,c,"≈ ",s));var f=this._hoverLinkDataIndices,h=[];(r||oj(i))&&(h=this._hoverLinkDataIndices=i.findTargetDataIndices(d));var v=XWe(f,h);this._dispatchHighDown("downplay",I1(v[0],i)),this._dispatchHighDown("highlight",I1(v[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(Wc(n.target,function(s){var u=ut(s);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var i=this.ecModel.getSeriesByIndex(r.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(i)){var a=i.getData(r.dataType),l=a.getStore().get(o.getDataDimensionIndex(a),r.dataIndex);isNaN(l)||this._showIndicator(l,l)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var i=0;i=0&&(o.dimension=a,r.push(o))}}),e.getData().setVisual("visualMeta",r)}}];function hft(e,t,n,r){for(var i=t.targetVisuals[r],o=Mr.prepareVisualTypes(i),a={color:fy(e.getData(),"color")},l=0,s=o.length;l0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(cft,dft),j(fft,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(vft))}function ole(e){e.registerComponentModel(nft),e.registerComponentView(uft),ile(e)}var pft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],gft[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var o=this.option.categories;this.resetVisual(function(a,l){i==="categories"?(a.mappingMethod="category",a.categories=rt(o)):(a.dataExtent=this.getExtent(),a.mappingMethod="piecewise",a.pieceList=Oe(this._pieceList,function(s){return s=rt(s),l!=="inRange"&&(s.visual=null),s}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},i=Mr.listVisualTypes(),o=this.isCategory();j(n.pieces,function(l){j(i,function(s){l.hasOwnProperty(s)&&(r[s]=1)})}),j(r,function(l,s){var u=!1;j(this.stateList,function(c){u=u||a(n,c,s)||a(n.target,c,s)},this),!u&&j(this.stateList,function(c){(n[c]||(n[c]={}))[s]=tle.get(s,c==="inRange"?"active":"inactive",o)})},this);function a(l,s,u){return l&&l[s]&&l[s].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var i=this.option,o=this._pieceList,a=(r?i:n).selected||{};if(i.selected=a,j(o,function(s,u){var c=this.getSelectedMapKey(s);a.hasOwnProperty(c)||(a[c]=!0)},this),i.selectedMode==="single"){var l=!1;j(o,function(s,u){var c=this.getSelectedMapKey(s);a[c]&&(l?a[c]=!1:l=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=rt(n)},t.prototype.getValueState=function(n){var r=Mr.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],i=this._pieceList;return this.eachTargetSeries(function(o){var a=[],l=o.getData();l.each(this.getDataDimensionIndex(l),function(s,u){var c=Mr.findPieceIndex(s,i);c===n&&a.push(u)},this),r.push({seriesId:o.id,dataIndex:a})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var i=n.interval||[];r=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],i=["",""],o=this;function a(c,d){var f=o.getRepresentValue({interval:c});d||(d=o.getValueState(f));var h=n(f,d);c[0]===-1/0?i[0]=h:c[1]===1/0?i[1]=h:r.push({value:c[0],color:h},{value:c[1],color:h})}var l=this._pieceList.slice();if(!l.length)l.push({interval:[-1/0,1/0]});else{var s=l[0].interval[0];s!==-1/0&&l.unshift({interval:[-1/0,s]}),s=l[l.length-1].interval[1],s!==1/0&&l.push({interval:[s,1/0]})}var u=-1/0;return j(l,function(c){var d=c.interval;d&&(d[0]>u&&a([u,d[0]],"outOfRange"),a(d.slice()),u=d[1])},this),{stops:r,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=Ru(Tx.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(Tx),gft={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,l=r[0];a","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,i)},this)}};function uj(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}const mft=pft;var yft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,i=r.get("textGap"),o=r.textStyleModel,a=o.getFont(),l=o.getTextColor(),s=this._getItemAlign(),u=r.itemSize,c=this._getViewData(),d=c.endsText,f=br(r.get("showLabel",!0),!d),h=!r.get("selectedMode");d&&this._renderEndsText(n,d[0],u,f,s),j(c.viewPieceList,function(v){var p=v.piece,g=new lt;g.onclick=ze(this._onItemClick,this,p),this._enableHoverLink(g,v.indexInModelPieceList);var m=r.getRepresentValue(p);if(this._createItemSymbol(g,m,[0,0,u[0],u[1]],h),f){var y=this.visualMapModel.getValueState(m);g.add(new jt({style:{x:s==="right"?-i:u[0]+i,y:u[1]/2,text:p.text,verticalAlign:"middle",align:s,font:a,fill:l,opacity:y==="outOfRange"?.5:1},silent:h}))}n.add(g)},this),d&&this._renderEndsText(n,d[1],u,f,s),ld(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var i=this;n.on("mouseover",function(){return o("highlight")}).on("mouseout",function(){return o("downplay")});var o=function(a){var l=i.visualMapModel;l.option.hoverLink&&i.api.dispatchAction({type:a,batch:I1(l.findTargetDataIndices(r),l)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return rle(n,this.api,n.itemSize);var i=r.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(n,r,i,o,a){if(r){var l=new lt,s=this.visualMapModel.textStyleModel;l.add(new jt({style:fn(s,{x:o?a==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:o?a:"center",text:r})})),n.add(l)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=Oe(n.getPieceList(),function(l,s){return{piece:l,indexInModelPieceList:s}}),i=n.get("text"),o=n.get("orient"),a=n.get("inverse");return(o==="horizontal"?a:!a)?r.reverse():i&&(i=i.slice().reverse()),{viewPieceList:r,endsText:i}},t.prototype._createItemSymbol=function(n,r,i,o){var a=Yn(this.getControllerVisual(r,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(r,"color"));a.silent=o,n.add(a)},t.prototype._onItemClick=function(n){var r=this.visualMapModel,i=r.option,o=i.selectedMode;if(o){var a=rt(i.selected),l=r.getSelectedMapKey(n);o==="single"||o===!0?(a[l]=!0,j(a,function(s,u){a[u]=u===l})):a[l]=!a[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}},t.type="visualMap.piecewise",t}(nle);const bft=yft;function ale(e){e.registerComponentModel(mft),e.registerComponentView(bft),ile(e)}function Sft(e){Pt(ole),Pt(ale)}var xft={label:{enabled:!0},decal:{show:!1}},cj=Ft(),wft={};function Cft(e,t){var n=e.getModel("aria");if(!n.get("enabled"))return;var r=rt(xft);St(r.label,e.getLocaleModel().get("aria"),!1),St(n.option,r,!1),i(),o();function i(){var u=n.getModel("decal"),c=u.get("show");if(c){var d=Ge();e.eachSeries(function(f){if(!f.isColorBySeries()){var h=d.get(f.type);h||(h={},d.set(f.type,h)),cj(f).scope=h}}),e.eachRawSeries(function(f){if(e.isSeriesFiltered(f))return;if(Ze(f.enableAriaDecal)){f.enableAriaDecal();return}var h=f.getData();if(f.isColorBySeries()){var y=FM(f.ecModel,f.name,wft,e.getSeriesCount()),b=h.getVisual("decal");h.setVisual("decal",S(b,y))}else{var v=f.getRawData(),p={},g=cj(f).scope;h.each(function(x){var $=h.getRawIndex(x);p[$]=x});var m=v.count();v.each(function(x){var $=p[x],C=v.getName(x)||x+"",T=FM(f.ecModel,C,g,m),I=h.getItemVisual($,"decal");h.setItemVisual($,"decal",S(I,T))})}function S(x,$){var C=x?Te(Te({},$),x):$;return C.dirty=!0,C}})}}function o(){var u=t.getZr().dom;if(u){var c=e.getLocaleModel().get("aria"),d=n.getModel("label");if(d.option=et(d.option,c),!!d.get("enabled")){if(u.setAttribute("role","img"),d.get("description")){u.setAttribute("aria-label",d.get("description"));return}var f=e.getSeriesCount(),h=d.get(["data","maxCount"])||10,v=d.get(["series","maxCount"])||10,p=Math.min(f,v),g;if(!(f<1)){var m=l();if(m){var y=d.get(["general","withTitle"]);g=a(y,{title:m})}else g=d.get(["general","withoutTitle"]);var b=[],S=f>1?d.get(["series","multiple","prefix"]):d.get(["series","single","prefix"]);g+=a(S,{seriesCount:f}),e.eachSeries(function(T,I){if(I1?d.get(["series","multiple",O]):d.get(["series","single",O]),P=a(P,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:s(T.subType)});var D=T.getData();if(D.count()>h){var R=d.get(["data","partialData"]);P+=a(R,{displayCnt:h})}else P+=d.get(["data","allData"]);for(var A=d.get(["data","separator","middle"]),E=d.get(["data","separator","end"]),k=d.get(["data","excludeDimensionId"]),N=[],B=0;B":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Tft=function(){function e(t){var n=this._condVal=Fe(t)?new RegExp(t):rVe(t)?t:null;if(n==null){var r="";qt(r)}}return e.prototype.evaluate=function(t){var n=typeof t;return Fe(n)?this._condVal.test(t):Gt(n)?this._condVal.test(t+""):!1},e}(),Ift=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),Pft=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,n=0;n2&&r.push(i),i=[D,R]}function c(D,R,A,E){Zf(D,A)&&Zf(R,E)||i.push(D,R,A,E,A,E)}function d(D,R,A,E,k,N){var B=Math.abs(R-D),F=Math.tan(B/4)*4/3,H=RT:M2&&r.push(i),r}function FA(e,t,n,r,i,o,a,l,s,u){if(Zf(e,n)&&Zf(t,r)&&Zf(i,a)&&Zf(o,l)){s.push(a,l);return}var c=2/u,d=c*c,f=a-e,h=l-t,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var p=n-e,g=r-t,m=i-a,y=o-l,b=p*p+g*g,S=m*m+y*y;if(b=0&&T=0){s.push(a,l);return}var I=[],P=[];mu(e,n,i,a,.5,I),mu(t,r,o,l,.5,P),FA(I[0],P[0],I[1],P[1],I[2],P[2],I[3],P[3],s,u),FA(I[4],P[4],I[5],P[5],I[6],P[6],I[7],P[7],s,u)}function Vft(e,t){var n=BA(e),r=[];t=t||1;for(var i=0;i0)for(var u=0;uMath.abs(u),d=sle([s,u],c?0:1,t),f=(c?l:u)/d.length,h=0;hi,a=sle([r,i],o?0:1,t),l=o?"width":"height",s=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=e[l]/a.length,f=0;f1?null:new wt(p*s+e,p*u+t)}function Gft(e,t,n){var r=new wt;wt.sub(r,n,t),r.normalize();var i=new wt;wt.sub(i,e,t);var o=i.dot(r);return o}function If(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function Kft(e,t,n){for(var r=e.length,i=[],o=0;oa?(u.x=c.x=l+o/2,u.y=s,c.y=s+a):(u.y=c.y=s+a/2,u.x=l,c.x=l+o),Kft(t,u,c)}function Ix(e,t,n,r){if(n===1)r.push(t);else{var i=Math.floor(n/2),o=e(t);Ix(e,o[0],i,r),Ix(e,o[1],n-i,r)}return r}function Uft(e,t){for(var n=[],r=0;r0)for(var x=r/n,$=-r/2;$<=r/2;$+=x){for(var C=Math.sin($),T=Math.cos($),I=0,b=0;b0;u/=2){var c=0,d=0;(e&u)>0&&(c=1),(t&u)>0&&(d=1),l+=u*u*(3*c^d),d===0&&(c===1&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function Ax(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Oe(e,function(l){var s=l.getBoundingRect(),u=l.getComputedTransform(),c=s.x+s.width/2+(u?u[4]:0),d=s.y+s.height/2+(u?u[5]:0);return t=Math.min(c,t),n=Math.min(d,n),r=Math.max(c,r),i=Math.max(d,i),[c,d]}),a=Oe(o,function(l,s){return{cp:l,z:nht(l[0],l[1],t,n,r,i),path:e[s]}});return a.sort(function(l,s){return l.z-s.z}).map(function(l){return l.path})}function dle(e){return qft(e.path,e.count)}function zA(){return{fromIndividuals:[],toIndividuals:[],count:0}}function rht(e,t,n){var r=[];function i(x){for(var $=0;$=0;i--)if(!n[i].many.length){var s=n[l].many;if(s.length<=1)if(l)l=0;else return n;var o=s.length,u=Math.ceil(o/2);n[i].many=s.slice(u,o),n[l].many=s.slice(0,u),l++}return n}var oht={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0))return;var l=r.getModel("universalTransition").get("delay"),s=Object.assign({setToFinal:!0},a),u,c;bj(e)&&(u=e,c=t),bj(t)&&(u=t,c=e);function d(m,y,b,S,x){var $=m.many,C=m.one;if($.length===1&&!x){var T=y?$[0]:C,I=y?C:$[0];if(Px(T))d({many:[T],one:I},!0,b,S,!0);else{var P=l?et({delay:l(b,S)},s):s;vL(T,I,P),o(T,I,T,I,P)}}else for(var M=et({dividePath:oht[n],individualDelay:l&&function(k,N,B,F){return l(k+b,S)}},s),O=y?rht($,C,M):iht(C,$,M),D=O.fromIndividuals,R=O.toIndividuals,A=D.length,E=0;Et.length,h=u?Sj(c,u):Sj(f?t:e,[f?e:t]),v=0,p=0;pfle))for(var o=r.getIndices(),a=0;a0&&$.group.traverse(function(T){T instanceof Mt&&!T.animators.length&&T.animateFrom({style:{opacity:0}},C)})})}function _j(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function Tj(e){return Ae(e)?e.sort().join(","):e}function Fs(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function fht(e,t){var n=Ge(),r=Ge(),i=Ge();return j(e.oldSeries,function(o,a){var l=e.oldDataGroupIds[a],s=e.oldData[a],u=_j(o),c=Tj(u);r.set(c,{dataGroupId:l,data:s}),Ae(u)&&j(u,function(d){i.set(d,{key:c,dataGroupId:l,data:s})})}),j(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var a=o.get("dataGroupId"),l=o.getData(),s=_j(o),u=Tj(s),c=r.get(u);if(c)n.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Fs(c.data),data:c.data}],newSeries:[{dataGroupId:a,divide:Fs(l),data:l}]});else if(Ae(s)){var d=[];j(s,function(v){var p=r.get(v);p.data&&d.push({dataGroupId:p.dataGroupId,divide:Fs(p.data),data:p.data})}),d.length&&n.set(u,{oldSeries:d,newSeries:[{dataGroupId:a,data:l,divide:Fs(l)}]})}else{var f=i.get(s);if(f){var h=n.get(f.key);h||(h={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Fs(f.data)}],newSeries:[]},n.set(f.key,h)),h.newSeries.push({dataGroupId:a,data:l,divide:Fs(l)})}}}}),n}function Ij(e,t){for(var n=0;n=0&&i.push({dataGroupId:t.oldDataGroupIds[l],data:t.oldData[l],divide:Fs(t.oldData[l]),groupIdDim:a.dimension})}),j(rn(e.to),function(a){var l=Ij(n.updatedSeries,a);if(l>=0){var s=n.updatedSeries[l].getData();o.push({dataGroupId:t.oldDataGroupIds[l],data:s,divide:Fs(s),groupIdDim:a.dimension})}}),i.length>0&&o.length>0&&hle(i,o,r)}function vht(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){j(rn(r.seriesTransition),function(i){j(rn(i.to),function(o){for(var a=r.updatedSeries,l=0;l{HA(e)}))}function HA(e,t=new WeakSet){if(!(!e||typeof e!="object")&&!t.has(e)){if(t.add(e),Array.isArray(e)){e.forEach(n=>HA(n,t));return}e.tooltip&&typeof e.tooltip=="object"&&(e.tooltip=ght(e.tooltip)),Object.keys(e).forEach(n=>{const r=e[n];!r||typeof r!="object"||HA(r,t)})}}function ght(e){var t,n;return t$(_y({},e),{appendToBody:(t=e.appendToBody)!=null?t:!0,confine:(n=e.confine)!=null?n:!1,extraCssText:mht(e.extraCssText)})}function mht(e=""){const t=String(e||"").trim();return t?/z-index\s*:/i.test(t)?t:`${t.replace(/;$/,"")};${Pj}`:Pj}pht();let vle=nK(Ude);vle.config.errorHandler=(e,t,n)=>{mK(e)||console.error(`[V3] Vue 运行异常:${n}`,e)};vle.use(zHe).use(dO).mount("#app");Ade();export{Hht as $,_t as A,Gr as B,N1 as C,xht as D,Eht as E,Qe as F,Dht as G,v5 as H,Iht as I,Oht as J,jA as K,Bt as L,bt as M,$de as N,BL as O,Hm as P,Lht as Q,Nht as R,FE as S,zht as T,gPe as U,xw as V,D9e as W,Bht as X,kht as Y,Fht as Z,ns as _,HG as a,Vht as a0,Wht as a1,ae as a2,Rht as a3,sy as a4,tO as a5,Jue as a6,Kx as a7,rs as a8,Iu as a9,gr as aa,se as ab,Ye as ac,Wl as ad,ja as ae,jht as af,Kn as ag,X4 as ah,w as b,$ht as c,ue as d,Pht as e,m5 as f,L as g,ht as h,Je as i,Tht as j,wde as k,Aht as l,Mht as m,GA as n,R1 as o,at as p,tt as q,Cht as r,Ur as s,zle as t,yn as u,hi as v,Se as w,uG as x,wht as y,_ht as z}; +`:"
",m=d.join(g);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,h,a[0],a[1],this._tooltipContent,u):this._showTooltipContent(l,m,u,Math.random()+"",a[0],a[1],h,null,f)})},t.prototype._showSeriesItemTooltip=function(n,r,i){var o=this._ecModel,a=ut(r),l=a.seriesIndex,s=o.getSeriesByIndex(l),u=a.dataModel||s,c=a.dataIndex,d=a.dataType,f=u.getData(d),h=this._renderMode,v=n.positionDefault,p=dp([f.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,d),y=new M2;m.marker=y.makeTooltipMarker("item",_d(m.color),h);var b=sz(u.formatTooltip(c,!1,d)),S=p.get("order"),x=p.get("valueFormatter"),$=b.frag,C=$?vz(x?Te({valueFormatter:x},$):$,y,h,S,o.get("useUTC"),p.get("textStyle")):b.text,T="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,C,m,T,n.offsetX,n.offsetY,n.position,n.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:f.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,i){var o=this._renderMode==="html",a=ut(r),l=a.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(Fe(s)){var c=s;s={content:c,formatter:c},u=!0}u&&o&&s.content&&(s=rt(s),s.content=jr(s.content));var d=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&d.push(f),d.push({formatter:s.content});var h=n.positionDefault,v=dp(d,this._tooltipModel,h?{position:h}:null),p=v.get("content"),g=Math.random()+"",m=new M2;this._showOrMove(v,function(){var y=rt(v.get("formatterParams")||{});this._showTooltipContent(v,p,y,g,n.offsetX,n.offsetY,n.position,r,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,i,o,a,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var d=this._tooltipContent;d.setEnterable(n.get("enterable"));var f=n.get("formatter");s=s||n.get("position");var h=r,v=this._getNearestPoint([a,l],i,n.get("trigger"),n.get("borderColor")),p=v.color;if(f)if(Fe(f)){var g=n.ecModel.get("useUTC"),m=Ae(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=f,y&&(h=TC(m.axisValue,h,g)),h=fne(h,i,!0)}else if(Ze(f)){var b=ze(function(S,x){S===this._ticket&&(d.setContent(x,c,n,p,s),this._updatePosition(n,s,a,l,d,i,u))},this);this._ticket=o,h=f(i,o,b)}else h=f;d.setContent(h,c,n,p,s),d.show(n,p),this._updatePosition(n,s,a,l,d,i,u)}},t.prototype._getNearestPoint=function(n,r,i,o){if(i==="axis"||Ae(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!Ae(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,i,o,a,l,s){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var d=a.getSize(),f=n.get("align"),h=n.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),Ze(r)&&(r=r([i,o],l,a.el,v,{viewSize:[u,c],contentSize:d.slice()})),Ae(r))i=Ne(r[0],u),o=Ne(r[1],c);else if(nt(r)){var p=r;p.width=d[0],p.height=d[1];var g=ir(p,{width:u,height:c});i=g.x,o=g.y,f=null,h=null}else if(Fe(r)&&s){var m=Jut(r,v,d,n.get("borderWidth"));i=m[0],o=m[1]}else{var m=Zut(i,o,a,u,c,f?null:20,h?null:20);i=m[0],o=m[1]}if(f&&(i-=_W(f)?d[0]/2:f==="right"?d[0]:0),h&&(o-=_W(h)?d[1]/2:h==="bottom"?d[1]:0),Fae(n)){var m=Qut(i,o,a,u,c);i=m[0],o=m[1]}a.moveTo(i,o)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var i=this._lastDataByCoordSys,o=this._cbParamsList,a=!!i&&i.length===n.length;return a&&j(i,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},d=c.dataByAxis||[];a=a&&u.length===d.length,a&&j(u,function(f,h){var v=d[h]||{},p=f.seriesDataIndices||[],g=v.seriesDataIndices||[];a=a&&f.value===v.value&&f.axisType===v.axisType&&f.axisId===v.axisId&&p.length===g.length,a&&j(p,function(m,y){var b=g[y];a=a&&m.seriesIndex===b.seriesIndex&&m.dataIndex===b.dataIndex}),o&&j(f.seriesDataIndices,function(m){var y=m.seriesIndex,b=r[y],S=o[y];b&&S&&S.data!==b.data&&(a=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!a},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){Wt.node||!r.getDom()||(gm(this,"_updatePosition"),this._tooltipContent.dispose(),_A("itemTooltip",r))},t.type="tooltip",t}(Pn);function dp(e,t,n){var r=t.ecModel,i;n?(i=new hn(n,r,r),i=new hn(t.option,i,r)):i=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof hn&&(a=a.get("tooltip",!0)),Fe(a)&&(a={formatter:a}),a&&(i=new hn(a,i,r)))}return i}function $W(e,t){return e.dispatchAction||ze(t.dispatchAction,t)}function Zut(e,t,n,r,i,o,a){var l=n.getSize(),s=l[0],u=l[1];return o!=null&&(e+s+o+2>r?e-=s+o:e+=o),a!=null&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function Qut(e,t,n,r,i){var o=n.getSize(),a=o[0],l=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+l,i)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Jut(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,l=0,s=0,u=t.width,c=t.height;switch(e){case"inside":l=t.x+u/2-i/2,s=t.y+c/2-o/2;break;case"top":l=t.x+u/2-i/2,s=t.y-o-a;break;case"bottom":l=t.x+u/2-i/2,s=t.y+c+a;break;case"left":l=t.x-i-a,s=t.y+c/2-o/2;break;case"right":l=t.x+u+a,s=t.y+c/2-o/2}return[l,s]}function _W(e){return e==="center"||e==="middle"}function ect(e,t,n){var r=m4(e).queryOptionMap,i=r.keys()[0];if(!(!i||i==="series")){var o=ay(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var l=n.getViewOfComponentModel(a),s;if(l.group.traverse(function(u){var c=ut(u).tooltipConfig;if(c&&c.name===e.name)return s=u,!0}),s)return{componentMainType:i,componentIndex:a.componentIndex,el:s}}}}const tct=qut;function nct(e){Pt(Cy),e.registerComponentModel(Lut),e.registerComponentView(tct),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},kn),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},kn)}var rct=["rect","polygon","keep","clear"];function ict(e,t){var n=rn(e?e.brush:[]);if(n.length){var r=[];j(n,function(s){var u=s.hasOwnProperty("toolbox")?s.toolbox:[];u instanceof Array&&(r=r.concat(u))});var i=e&&e.toolbox;Ae(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),l=a.type||(a.type=[]);l.push.apply(l,r),oct(l),t&&!l.length&&l.push.apply(l,rct)}}function oct(e){var t={};j(e,function(n){t[n]=1}),e.length=0,j(t,function(n,r){e.push(r)})}var TW=j;function IW(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function OA(e,t,n){var r={};return TW(t,function(o){var a=r[o]=i();TW(e[o],function(l,s){if(Mr.isValidType(s)){var u={type:s,visual:l};n&&n(u,o),a[s]=new Mr(u),s==="opacity"&&(u=rt(u),u.type="colorAlpha",a.__hidden.__alphaForOpacity=new Mr(u))}})}),r;function i(){var o=function(){};o.prototype.__hidden=o.prototype;var a=new o;return a}}function Wae(e,t,n){var r;j(n,function(i){t.hasOwnProperty(i)&&IW(t[i])&&(r=!0)}),r&&j(n,function(i){t.hasOwnProperty(i)&&IW(t[i])?e[i]=rt(t[i]):delete e[i]})}function act(e,t,n,r,i,o){var a={};j(e,function(d){var f=Mr.prepareVisualTypes(t[d]);a[d]=f});var l;function s(d){return Y4(n,l,d)}function u(d,f){rre(n,l,d,f)}o==null?n.each(c):n.each([o],c);function c(d,f){l=o==null?d:f;var h=n.getRawDataItem(l);if(!(h&&h.visualMap===!1))for(var v=r.call(i,d),p=t[v],g=a[v],m=0,y=g.length;mt[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&DW(t)}};function DW(e){return new $t(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var vct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.ecModel=n,this.api=r,this.model,(this._brushController=new BR(r.getZr())).on("brush",ze(this._onBrush,this)).mount()},t.prototype.render=function(n,r,i,o){this.model=n,this._updateController(n,r,i,o)},t.prototype.updateTransform=function(n,r,i,o){jae(r),this._updateController(n,r,i,o)},t.prototype.updateVisual=function(n,r,i,o){this.updateTransform(n,r,i,o)},t.prototype.updateView=function(n,r,i,o){this._updateController(n,r,i,o)},t.prototype._updateController=function(n,r,i,o){(!o||o.$from!==n.id)&&this._brushController.setPanels(n.brushTargetManager.makePanelOpts(i)).enableBrush(n.brushOption).updateCovers(n.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(n){var r=this.model.id,i=this.model.brushTargetManager.setOutputRanges(n.areas,this.ecModel);(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:rt(i),$from:r}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:rt(i),$from:r})},t.type="brush",t}(Pn);const pct=vct;var gct="#ddd",mct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return t.prototype.optionUpdated=function(n,r){var i=this.option;!r&&Wae(i,n,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:gct},o.hasOwnProperty("liftZ")||(o.liftZ=5)},t.prototype.setAreas=function(n){n&&(this.areas=Oe(n,function(r){return EW(this.option,r)},this))},t.prototype.setBrushOption=function(n){this.brushOption=EW(this.option,n),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Vt);function EW(e,t){return St({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new hn(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const yct=mct;var bct=["rect","polygon","lineX","lineY","keep","clear"],Sct=function(e){ge(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,i){var o,a,l;r.eachComponent({mainType:"brush"},function(s){o=s.brushType,a=s.brushOption.brushMode||"single",l=l||!!s.areas.length}),this._brushType=o,this._brushMode=a,j(n.get("type",!0),function(s){n.setIconStatus(s,(s==="keep"?a==="multiple":s==="clear"?l:s===o)?"emphasis":"normal")})},t.prototype.updateView=function(n,r,i){this.render(n,r,i)},t.prototype.getIcons=function(){var n=this.model,r=n.get("icon",!0),i={};return j(n.get("type",!0),function(o){r[o]&&(i[o]=r[o])}),i},t.prototype.onclick=function(n,r,i){var o=this._brushType,a=this._brushMode;i==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?o:o===i?!1:i,brushMode:i==="keep"?a==="multiple"?"single":"multiple":a}})},t.getDefaultOption=function(n){var r={show:!0,type:bct.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.getLocaleModel().get(["toolbox","brush","title"])};return r},t}(wo);const xct=Sct;function wct(e){e.registerComponentView(pct),e.registerComponentModel(yct),e.registerPreprocessor(ict),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,uct),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,n){n.eachComponent({mainType:"brush",query:t},function(r){r.setAreas(t.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},kn),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},kn),zf("brush",xct)}var Cct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Vt),$ct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){if(this.group.removeAll(),!!n.get("show")){var o=this.group,a=n.getModel("textStyle"),l=n.getModel("subtextStyle"),s=n.get("textAlign"),u=vt(n.get("textBaseline"),n.get("textVerticalAlign")),c=new jt({style:fn(a,{text:n.get("text"),fill:a.getTextColor()},{disableBox:!0}),z2:10}),d=c.getBoundingRect(),f=n.get("subtext"),h=new jt({style:fn(l,{text:f,fill:l.getTextColor(),y:d.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=n.get("link"),p=n.get("sublink"),g=n.get("triggerEvent",!0);c.silent=!v&&!g,h.silent=!p&&!g,v&&c.on("click",function(){ZS(v,"_"+n.get("target"))}),p&&h.on("click",function(){ZS(p,"_"+n.get("subtarget"))}),ut(c).eventData=ut(h).eventData=g?{componentType:"title",componentIndex:n.componentIndex}:null,o.add(c),f&&o.add(h);var m=o.getBoundingRect(),y=n.getBoxLayoutParams();y.width=m.width,y.height=m.height;var b=ir(y,{width:i.getWidth(),height:i.getHeight()},n.get("padding"));s||(s=n.get("left")||n.get("right"),s==="middle"&&(s="center"),s==="right"?b.x+=b.width:s==="center"&&(b.x+=b.width/2)),u||(u=n.get("top")||n.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?b.y+=b.height:u==="middle"&&(b.y+=b.height/2),u=u||"top"),o.x=b.x,o.y=b.y,o.markRedraw();var S={align:s,verticalAlign:u};c.setStyle(S),h.setStyle(S),m=o.getBoundingRect();var x=b.margin,$=n.getItemStyle(["color","opacity"]);$.fill=n.get("backgroundColor");var C=new Ht({shape:{x:m.x-x[3],y:m.y-x[0],width:m.width+x[1]+x[3],height:m.height+x[0]+x[2],r:n.get("borderRadius")},style:$,subPixelOptimize:!0,silent:!0});o.add(C)}},t.type="title",t}(Pn);function _ct(e){e.registerComponentModel(Cct),e.registerComponentView($ct)}var Tct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i),this._initData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(n){n==null&&(n=this.option.currentIndex);var r=this._data.count();this.option.loop?n=(n%r+r)%r:(n>=r&&(n=r-1),n<0&&(n=0)),this.option.currentIndex=n},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(n){this.option.autoPlay=!!n},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var n=this.option,r=n.data||[],i=n.axisType,o=this._names=[],a;i==="category"?(a=[],j(r,function(u,c){var d=rr(vv(u),""),f;nt(u)?(f=rt(u),f.value=c):f=c,a.push(f),o.push(d)})):a=r;var l={category:"ordinal",time:"time",value:"number"}[i]||"number",s=this._data=new fi([{name:"value",type:l}],this);s.initData(a,o)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Vt);const RW=Tct;var Gae=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline.slider",t.defaultOption=Ru(RW.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(RW);qn(Gae,EC.prototype);const Ict=Gae;var Pct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline",t}(Pn);const Mct=Pct;var Act=function(e){ge(t,e);function t(n,r,i,o){var a=e.call(this,n,r,i)||this;return a.type=o||"value",a}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(ga);const Oct=Act;var UT=Math.PI,LW=Ft(),Dct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.api=r},t.prototype.render=function(n,r,i){if(this.model=n,this.api=i,this.ecModel=r,this.group.removeAll(),n.get("show",!0)){var o=this._layout(n,i),a=this._createGroup("_mainGroup"),l=this._createGroup("_labelGroup"),s=this._axis=this._createAxis(o,n);n.formatTooltip=function(u){var c=s.scale.getLabel({value:u});return pr("nameValue",{noName:!0,value:c})},j(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](o,a,s,n)},this),this._renderAxisLabel(o,l,s,n),this._position(o,n)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(n,r){var i=n.get(["label","position"]),o=n.get("orient"),a=Rct(n,r),l;i==null||i==="auto"?l=o==="horizontal"?a.y+a.height/2=0||l==="+"?"left":"right"},u={horizontal:l>=0||l==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:UT/2},d=o==="vertical"?a.height:a.width,f=n.getModel("controlStyle"),h=f.get("show",!0),v=h?f.get("itemSize"):0,p=h?f.get("itemGap"):0,g=v+p,m=n.get(["label","rotate"])||0;m=m*UT/180;var y,b,S,x=f.get("position",!0),$=h&&f.get("showPlayBtn",!0),C=h&&f.get("showPrevBtn",!0),T=h&&f.get("showNextBtn",!0),I=0,P=d;x==="left"||x==="bottom"?($&&(y=[0,0],I+=g),C&&(b=[I,0],I+=g),T&&(S=[P-v,0],P-=g)):($&&(y=[P-v,0],P-=g),C&&(b=[0,0],I+=g),T&&(S=[P-v,0],P-=g));var M=[I,P];return n.get("inverse")&&M.reverse(),{viewRect:a,mainLength:d,orient:o,rotation:c[o],labelRotation:m,labelPosOpt:l,labelAlign:n.get(["label","align"])||s[o],labelBaseline:n.get(["label","verticalAlign"])||n.get(["label","baseline"])||u[o],playPosition:y,prevBtnPosition:b,nextBtnPosition:S,axisExtent:M,controlSize:v,controlGap:p}},t.prototype._position=function(n,r){var i=this._mainGroup,o=this._labelGroup,a=n.viewRect;if(n.orient==="vertical"){var l=qi(),s=a.x,u=a.y+a.height;tl(l,l,[-s,-u]),Vd(l,l,-UT/2),tl(l,l,[s,u]),a=a.clone(),a.applyTransform(l)}var c=y(a),d=y(i.getBoundingRect()),f=y(o.getBoundingRect()),h=[i.x,i.y],v=[o.x,o.y];v[0]=h[0]=c[0][0];var p=n.labelPosOpt;if(p==null||Fe(p)){var g=p==="+"?0:1;b(h,d,c,1,g),b(v,f,c,1,1-g)}else{var g=p>=0?0:1;b(h,d,c,1,g),v[1]=h[1]+p}i.setPosition(h),o.setPosition(v),i.rotation=o.rotation=n.rotation,m(i),m(o);function m(S){S.originX=c[0][0]-S.x,S.originY=c[1][0]-S.y}function y(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function b(S,x,$,C,T){S[C]+=$[C][T]-x[C][T]}},t.prototype._createAxis=function(n,r){var i=r.getData(),o=r.get("axisType"),a=Ect(r,o);a.getTicks=function(){return i.mapArray(["value"],function(u){return{value:u}})};var l=i.getDataExtent("value");a.setExtent(l[0],l[1]),a.calcNiceTicks();var s=new Oct("value",a,n.axisExtent,o);return s.model=r,s},t.prototype._createGroup=function(n){var r=this[n]=new lt;return this.group.add(r),r},t.prototype._renderAxisLine=function(n,r,i,o){var a=i.getExtent();if(o.get(["lineStyle","show"])){var l=new Sr({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:Te({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});r.add(l);var s=this._progressLine=new Sr({shape:{x1:a[0],x2:this._currentPointer?this._currentPointer.x:a[0],y1:0,y2:0},style:et({lineCap:"round",lineWidth:l.style.lineWidth},o.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});r.add(s)}},t.prototype._renderAxisTick=function(n,r,i,o){var a=this,l=o.getData(),s=i.scale.getTicks();this._tickSymbols=[],j(s,function(u){var c=i.dataToCoord(u.value),d=l.getItemModel(u.value),f=d.getModel("itemStyle"),h=d.getModel(["emphasis","itemStyle"]),v=d.getModel(["progress","itemStyle"]),p={x:c,y:0,onclick:ze(a._changeTimeline,a,u.value)},g=NW(d,f,r,p);g.ensureState("emphasis").style=h.getItemStyle(),g.ensureState("progress").style=v.getItemStyle(),od(g);var m=ut(g);d.get("tooltip")?(m.dataIndex=u.value,m.dataModel=o):m.dataIndex=m.dataModel=null,a._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(n,r,i,o){var a=this,l=i.getLabelModel();if(l.get("show")){var s=o.getData(),u=i.getViewLabels();this._tickLabels=[],j(u,function(c){var d=c.tickValue,f=s.getItemModel(d),h=f.getModel("label"),v=f.getModel(["emphasis","label"]),p=f.getModel(["progress","label"]),g=i.dataToCoord(c.tickValue),m=new jt({x:g,y:0,rotation:n.labelRotation-n.rotation,onclick:ze(a._changeTimeline,a,d),silent:!1,style:fn(h,{text:c.formattedLabel,align:n.labelAlign,verticalAlign:n.labelBaseline})});m.ensureState("emphasis").style=fn(v),m.ensureState("progress").style=fn(p),r.add(m),od(m),LW(m).dataIndex=d,a._tickLabels.push(m)})}},t.prototype._renderControl=function(n,r,i,o){var a=n.controlSize,l=n.rotation,s=o.getModel("controlStyle").getItemStyle(),u=o.getModel(["emphasis","controlStyle"]).getItemStyle(),c=o.getPlayState(),d=o.get("inverse",!0);f(n.nextBtnPosition,"next",ze(this._changeTimeline,this,d?"-":"+")),f(n.prevBtnPosition,"prev",ze(this._changeTimeline,this,d?"+":"-")),f(n.playPosition,c?"stop":"play",ze(this._handlePlayClick,this,!c),!0);function f(h,v,p,g){if(h){var m=da(vt(o.get(["controlStyle",v+"BtnSize"]),a),a),y=[0,-m/2,m,m],b=Lct(o,v+"Icon",y,{x:h[0],y:h[1],originX:a/2,originY:0,rotation:g?-l:0,rectHover:!0,style:s,onclick:p});b.ensureState("emphasis").style=u,r.add(b),od(b)}}},t.prototype._renderCurrentPointer=function(n,r,i,o){var a=o.getData(),l=o.getCurrentIndex(),s=a.getItemModel(l).getModel("checkpointStyle"),u=this,c={onCreate:function(d){d.draggable=!0,d.drift=ze(u._handlePointerDrag,u),d.ondragend=ze(u._handlePointerDragend,u),kW(d,u._progressLine,l,i,o,!0)},onUpdate:function(d){kW(d,u._progressLine,l,i,o)}};this._currentPointer=NW(s,s,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(n){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:n,from:this.uid})},t.prototype._handlePointerDrag=function(n,r,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(n){this._pointerChangeTimeline([n.offsetX,n.offsetY],!0)},t.prototype._pointerChangeTimeline=function(n,r){var i=this._toAxisCoord(n)[0],o=this._axis,a=_o(o.getExtent().slice());i>a[1]&&(i=a[1]),i=0&&(a[o]=+a[o].toFixed(f)),[a,d]}var XT={min:pt(fb,"min"),max:pt(fb,"max"),average:pt(fb,"average"),median:pt(fb,"median")};function Mm(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!Wct(t)&&!Ae(t.coord)&&Ae(i)){var o=Uae(t,n,r,e);if(t=rt(t),t.type&&XT[t.type]&&o.baseAxis&&o.valueAxis){var a=Tt(i,o.baseAxis.dim),l=Tt(i,o.valueAxis.dim),s=XT[t.type](n,o.baseDataDim,o.valueDataDim,a,l);t.coord=s[0],t.value=s[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!Ae(i))t.coord=[];else for(var u=t.coord,c=0;c<2;c++)XT[u[c]]&&(u[c]=cL(n,n.mapDimension(i[c]),u[c]));return t}}function Uae(e,t,n,r){var i={};return e.valueIndex!=null||e.valueDim!=null?(i.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(jct(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function jct(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function Am(e,t){return e&&e.containData&&t.coord&&!EA(t)?e.containData(t.coord):!0}function Gct(e,t,n){return e&&e.containZone&&t.coord&&n.coord&&!EA(t)&&!EA(n)?e.containZone(t.coord,n.coord):!0}function Xae(e,t){return e?function(n,r,i,o){var a=o<2?n.coord&&n.coord[o]:n.value;return su(a,t[o])}:function(n,r,i,o){return su(n.value,t[o])}}function cL(e,t,n){if(n==="average"){var r=0,i=0;return e.each(t,function(o,a){isNaN(o)||(r+=o,i++)}),r/i}else return n==="median"?e.getMedian(t):e.getDataExtent(t)[n==="max"?1:0]}var YT=Ft(),Kct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this.markerGroupMap=Ge()},t.prototype.render=function(n,r,i){var o=this,a=this.markerGroupMap;a.each(function(l){YT(l).keep=!1}),r.eachSeries(function(l){var s=$u.getMarkerModelFromSeries(l,o.type);s&&o.renderSeries(l,s,r,i)}),a.each(function(l){!YT(l).keep&&o.group.remove(l.group)})},t.prototype.markKeep=function(n){YT(n).keep=!0},t.prototype.toggleBlurSeries=function(n,r){var i=this;j(n,function(o){var a=$u.getMarkerModelFromSeries(o,i.type);if(a){var l=a.getData();l.eachItemGraphicEl(function(s){s&&(r?Ste(s):$4(s))})}})},t.type="marker",t}(Pn);const dL=Kct;function FW(e,t,n){var r=t.coordinateSystem;e.each(function(i){var o=e.getItemModel(i),a,l=Ne(o.get("x"),n.getWidth()),s=Ne(o.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(s))a=[l,s];else if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);a=r.dataToPoint([u,c])}isNaN(l)||(a[0]=l),isNaN(s)||(a[1]=s),e.setItemLayout(i,a)})}var Uct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markPoint");a&&(FW(a.getData(),o,i),this.markerGroupMap.get(o.id).updateLayout())},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new gy),d=Xct(a,n,r);r.setData(d),FW(r.getData(),n,o),d.each(function(f){var h=d.getItemModel(f),v=h.getShallow("symbol"),p=h.getShallow("symbolSize"),g=h.getShallow("symbolRotate"),m=h.getShallow("symbolOffset"),y=h.getShallow("symbolKeepAspect");if(Ze(v)||Ze(p)||Ze(g)||Ze(m)){var b=r.getRawValue(f),S=r.getDataParams(f);Ze(v)&&(v=v(b,S)),Ze(p)&&(p=p(b,S)),Ze(g)&&(g=g(b,S)),Ze(m)&&(m=m(b,S))}var x=h.getModel("itemStyle").getItemStyle(),$=fy(s,"color");x.fill||(x.fill=$),d.setItemVisual(f,{symbol:v,symbolSize:p,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:x})}),c.updateData(d),this.group.add(c.group),d.eachItemGraphicEl(function(f){f.traverse(function(h){ut(h).dataModel=r})}),this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markPoint",t}(dL);function Xct(e,t,n){var r;e?r=Oe(e&&e.dimensions,function(l){var s=t.getData().getDimensionInfo(t.getData().mapDimension(l))||{};return Te(Te({},s),{name:l,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new fi(r,n),o=Oe(n.get("data"),pt(Mm,t));e&&(o=Zt(o,pt(Am,e)));var a=Xae(!!e,r);return i.initData(o,null,a),i}const Yct=Uct;function qct(e){e.registerComponentModel(Vct),e.registerComponentView(Yct),e.registerPreprocessor(function(t){uL(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Zct=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,i){return new t(n,r,i)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}($u);const Qct=Zct;var hb=Ft(),Jct=function(e,t,n,r){var i=e.getData(),o;if(Ae(r))o=r;else{var a=r.type;if(a==="min"||a==="max"||a==="average"||a==="median"||r.xAxis!=null||r.yAxis!=null){var l=void 0,s=void 0;if(r.yAxis!=null||r.xAxis!=null)l=t.getAxis(r.yAxis!=null?"y":"x"),s=br(r.yAxis,r.xAxis);else{var u=Uae(r,i,t,e);l=u.valueAxis;var c=Ore(i,u.valueDataDim);s=cL(i,c,a)}var d=l.dim==="x"?0:1,f=1-d,h=rt(r),v={coord:[]};h.type=null,h.coord=[],h.coord[f]=-1/0,v.coord[f]=1/0;var p=n.get("precision");p>=0&&Gt(s)&&(s=+s.toFixed(Math.min(p,20))),h.coord[d]=v.coord[d]=s,o=[h,v,{type:a,valueIndex:r.valueIndex,value:s}]}else o=[]}var g=[Mm(e,o[0]),Mm(e,o[1]),Te({},o[2])];return g[2].type=g[2].type||null,St(g[2],g[0]),St(g[2],g[1]),g};function $x(e){return!isNaN(e)&&!isFinite(e)}function zW(e,t,n,r){var i=1-e,o=r.dimensions[e];return $x(t[i])&&$x(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function edt(e,t){if(e.type==="cartesian2d"){var n=t[0].coord,r=t[1].coord;if(n&&r&&(zW(1,n,r,e)||zW(0,n,r,e)))return!0}return Am(e,t[0])&&Am(e,t[1])}function qT(e,t,n,r,i){var o=r.coordinateSystem,a=e.getItemModel(t),l,s=Ne(a.get("x"),i.getWidth()),u=Ne(a.get("y"),i.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition)l=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=o.dimensions,d=e.get(c[0],t),f=e.get(c[1],t);l=o.dataToPoint([d,f])}if(Xd(o,"cartesian2d")){var h=o.getAxis("x"),v=o.getAxis("y"),c=o.dimensions;$x(e.get(c[0],t))?l[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):$x(e.get(c[1],t))&&(l[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}e.setItemLayout(t,l)}var tdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markLine");if(a){var l=a.getData(),s=hb(a).from,u=hb(a).to;s.each(function(c){qT(s,c,!0,o,i),qT(u,c,!1,o,i)}),l.each(function(c){l.setItemLayout(c,[s.getItemLayout(c),u.getItemLayout(c)])}),this.markerGroupMap.get(o.id).updateLayout()}},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new DR);this.group.add(c.group);var d=ndt(a,n,r),f=d.from,h=d.to,v=d.line;hb(r).from=f,hb(r).to=h,r.setData(v);var p=r.get("symbol"),g=r.get("symbolSize"),m=r.get("symbolRotate"),y=r.get("symbolOffset");Ae(p)||(p=[p,p]),Ae(g)||(g=[g,g]),Ae(m)||(m=[m,m]),Ae(y)||(y=[y,y]),d.from.each(function(S){b(f,S,!0),b(h,S,!1)}),v.each(function(S){var x=v.getItemModel(S).getModel("lineStyle").getLineStyle();v.setItemLayout(S,[f.getItemLayout(S),h.getItemLayout(S)]),x.stroke==null&&(x.stroke=f.getItemVisual(S,"style").fill),v.setItemVisual(S,{fromSymbolKeepAspect:f.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(S,"symbolOffset"),fromSymbolRotate:f.getItemVisual(S,"symbolRotate"),fromSymbolSize:f.getItemVisual(S,"symbolSize"),fromSymbol:f.getItemVisual(S,"symbol"),toSymbolKeepAspect:h.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(S,"symbolOffset"),toSymbolRotate:h.getItemVisual(S,"symbolRotate"),toSymbolSize:h.getItemVisual(S,"symbolSize"),toSymbol:h.getItemVisual(S,"symbol"),style:x})}),c.updateData(v),d.line.eachItemGraphicEl(function(S){ut(S).dataModel=r,S.traverse(function(x){ut(x).dataModel=r})});function b(S,x,$){var C=S.getItemModel(x);qT(S,x,$,n,o);var T=C.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=fy(s,"color")),S.setItemVisual(x,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:vt(C.get("symbolOffset",!0),y[$?0:1]),symbolRotate:vt(C.get("symbolRotate",!0),m[$?0:1]),symbolSize:vt(C.get("symbolSize"),g[$?0:1]),symbol:vt(C.get("symbol",!0),p[$?0:1]),style:T})}this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markLine",t}(dL);function ndt(e,t,n){var r;e?r=Oe(e&&e.dimensions,function(u){var c=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return Te(Te({},c),{name:u,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var i=new fi(r,n),o=new fi(r,n),a=new fi([],n),l=Oe(n.get("data"),pt(Jct,t,e,n));e&&(l=Zt(l,pt(edt,e)));var s=Xae(!!e,r);return i.initData(Oe(l,function(u){return u[0]}),null,s),o.initData(Oe(l,function(u){return u[1]}),null,s),a.initData(Oe(l,function(u){return u[2]})),a.hasItemOption=!0,{from:i,to:o,line:a}}const rdt=tdt;function idt(e){e.registerComponentModel(Qct),e.registerComponentView(rdt),e.registerPreprocessor(function(t){uL(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var odt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,i){return new t(n,r,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}($u);const adt=odt;var vb=Ft(),ldt=function(e,t,n,r){var i=r[0],o=r[1];if(!(!i||!o)){var a=Mm(e,i),l=Mm(e,o),s=a.coord,u=l.coord;s[0]=br(s[0],-1/0),s[1]=br(s[1],-1/0),u[0]=br(u[0],1/0),u[1]=br(u[1],1/0);var c=o4([{},a,l]);return c.coord=[a.coord,l.coord],c.x0=a.x,c.y0=a.y,c.x1=l.x,c.y1=l.y,c}};function _x(e){return!isNaN(e)&&!isFinite(e)}function HW(e,t,n,r){var i=1-e;return _x(t[i])&&_x(n[i])}function sdt(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return Xd(e,"cartesian2d")?n&&r&&(HW(1,n,r)||HW(0,n,r))?!0:Gct(e,i,o):Am(e,i)||Am(e,o)}function VW(e,t,n,r,i){var o=r.coordinateSystem,a=e.getItemModel(t),l,s=Ne(a.get(n[0]),i.getWidth()),u=Ne(a.get(n[1]),i.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),f=o.clampData(c),h=o.clampData(d),v=[];n[0]==="x0"?v[0]=f[0]>h[0]?d[0]:c[0]:v[0]=f[0]>h[0]?c[0]:d[0],n[1]==="y0"?v[1]=f[1]>h[1]?d[1]:c[1]:v[1]=f[1]>h[1]?c[1]:d[1],l=r.getMarkerPosition(v,n,!0)}else{var p=e.get(n[0],t),g=e.get(n[1],t),m=[p,g];o.clampData&&o.clampData(m,m),l=o.dataToPoint(m,!0)}if(Xd(o,"cartesian2d")){var y=o.getAxis("x"),b=o.getAxis("y"),p=e.get(n[0],t),g=e.get(n[1],t);_x(p)?l[0]=y.toGlobalCoord(y.getExtent()[n[0]==="x0"?0:1]):_x(g)&&(l[1]=b.toGlobalCoord(b.getExtent()[n[1]==="y0"?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}return l}var WW=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],udt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,i){r.eachSeries(function(o){var a=$u.getMarkerModelFromSeries(o,"markArea");if(a){var l=a.getData();l.each(function(s){var u=Oe(WW,function(d){return VW(l,s,d,o,i)});l.setItemLayout(s,u);var c=l.getItemGraphicEl(s);c.setShape("points",u)})}},this)},t.prototype.renderSeries=function(n,r,i,o){var a=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,{group:new lt});this.group.add(c.group),this.markKeep(c);var d=cdt(a,n,r);r.setData(d),d.each(function(f){var h=Oe(WW,function(T){return VW(d,f,T,n,o)}),v=a.getAxis("x").scale,p=a.getAxis("y").scale,g=v.getExtent(),m=p.getExtent(),y=[v.parse(d.get("x0",f)),v.parse(d.get("x1",f))],b=[p.parse(d.get("y0",f)),p.parse(d.get("y1",f))];_o(y),_o(b);var S=!(g[0]>y[1]||g[1]b[1]||m[1]=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Vt);const RA=vdt;var Tf=pt,LA=j,pb=lt,pdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new pb),this.group.add(this._selectorGroup=new pb),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var a=n.get("align"),l=n.get("orient");(!a||a==="auto")&&(a=n.get("left")==="right"&&l==="vertical"?"right":"left");var s=n.get("selector",!0),u=n.get("selectorPosition",!0);s&&(!u||u==="auto")&&(u=l==="horizontal"?"end":"start"),this.renderInner(a,n,r,i,s,l,u);var c=n.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},f=n.get("padding"),h=ir(c,d,f),v=this.layoutInner(n,a,h,o,s,u),p=ir(et({width:v.width,height:v.height},c),d,f);this.group.x=p.x-v.x,this.group.y=p.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Nae(v,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,o,a,l,s){var u=this.getContentGroup(),c=Ge(),d=r.get("selectedMode"),f=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&f.push(h.id)}),LA(r.getData(),function(h,v){var p=h.get("name");if(!this.newlineDisabled&&(p===""||p===` +`)){var g=new pb;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(p)[0];if(!c.get(p))if(m){var y=m.getData(),b=y.getVisual("legendLineStyle")||{},S=y.getVisual("legendIcon"),x=y.getVisual("style"),$=this._createItem(m,p,v,h,r,n,b,x,S,d,o);$.on("click",Tf(jW,p,null,o,f)).on("mouseover",Tf(NA,m.name,null,o,f)).on("mouseout",Tf(kA,m.name,null,o,f)),i.ssr&&$.eachChild(function(C){var T=ut(C);T.seriesIndex=m.seriesIndex,T.dataIndex=v,T.ssrType="legend"}),c.set(p,!0)}else i.eachRawSeries(function(C){if(!c.get(p)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(p))return;var I=T.indexOfName(p),P=T.getItemVisual(I,"style"),M=T.getItemVisual(I,"legendIcon"),O=Zi(P.fill);O&&O[3]===0&&(O[3]=.2,P=Te(Te({},P),{fill:Bl(O,"rgba")}));var D=this._createItem(C,p,v,h,r,n,{},P,M,d,o);D.on("click",Tf(jW,null,p,o,f)).on("mouseover",Tf(NA,null,p,o,f)).on("mouseout",Tf(kA,null,p,o,f)),i.ssr&&D.eachChild(function(R){var A=ut(R);A.seriesIndex=C.seriesIndex,A.dataIndex=v,A.ssrType="legend"}),c.set(p,!0)}},this)},this),a&&this._createSelector(a,r,o,l,s)},t.prototype._createSelector=function(n,r,i,o,a){var l=this.getSelectorGroup();LA(n,function(u){var c=u.type,d=new jt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});l.add(d);var f=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);Dr(d,{normal:f,emphasis:h},{defaultText:u.title}),od(d)})},t.prototype._createItem=function(n,r,i,o,a,l,s,u,c,d,f){var h=n.visualDrawType,v=a.get("itemWidth"),p=a.get("itemHeight"),g=a.isSelected(r),m=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),b=o.get("icon");c=b||c||"roundRect";var S=gdt(c,o,s,u,h,g,f),x=new pb,$=o.getModel("textStyle");if(Ze(n.getLegendIcon)&&(!b||b==="inherit"))x.add(n.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:m,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var C=b==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(mdt({itemWidth:v,itemHeight:p,icon:c,iconRotate:C,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}))}var T=l==="left"?v+5:-5,I=l,P=a.get("formatter"),M=r;Fe(P)&&P?M=P.replace("{name}",r!=null?r:""):Ze(P)&&(M=P(r));var O=g?$.getTextColor():o.get("inactiveColor");x.add(new jt({style:fn($,{text:M,x:T,y:p/2,fill:O,align:I,verticalAlign:"middle"},{inheritColor:O})}));var D=new Ht({shape:x.getBoundingRect(),style:{fill:"transparent"}}),R=o.getModel("tooltip");return R.get("show")&&Wd({el:D,componentModel:a,itemName:r,itemTooltipOption:R.option}),x.add(D),x.eachChild(function(A){A.silent=!0}),D.silent=!d,this.getContentGroup().add(x),od(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(n,r,i,o,a,l){var s=this.getContentGroup(),u=this.getSelectorGroup();ld(n.get("orient"),s,n.get("itemGap"),i.width,i.height);var c=s.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),a){ld("horizontal",u,n.get("selectorItemGap",!0));var f=u.getBoundingRect(),h=[-f.x,-f.y],v=n.get("selectorButtonGap",!0),p=n.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",y=p===0?"y":"x";l==="end"?h[p]+=c[g]+v:d[p]+=f[g]+v,h[1-p]+=c[m]/2-f[m]/2,u.x=h[0],u.y=h[1],s.x=d[0],s.y=d[1];var b={x:0,y:0};return b[g]=c[g]+v+f[g],b[m]=Math.max(c[m],f[m]),b[y]=Math.min(0,f[y]+h[1-p]),b}else return s.x=d[0],s.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Pn);function gdt(e,t,n,r,i,o,a){function l(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),LA(g,function(y,b){g[b]==="inherit"&&(g[b]=m[b])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=s.getShallow("decal");u.decal=!d||d==="inherit"?r.decal:jh(d,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),l(u,r);var f=t.getModel("lineStyle"),h=f.getLineStyle();if(l(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?r.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=f.get("inactiveColor"),h.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function mdt(e){var t=e.icon||"roundRect",n=Yn(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function jW(e,t,n,r){kA(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),NA(e,t,n,r)}function Yae(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;ri[a],g=[-h.x,-h.y];r||(g[o]=c[u]);var m=[0,0],y=[-v.x,-v.y],b=vt(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(p){var S=n.get("pageButtonPosition",!0);S==="end"?y[o]+=i[a]-v[a]:m[o]+=v[a]+b}y[1-o]+=h[l]/2-v[l]/2,c.setPosition(g),d.setPosition(m),f.setPosition(y);var x={x:0,y:0};if(x[a]=p?i[a]:h[a],x[l]=Math.max(h[l],v[l]),x[s]=Math.min(0,v[s]+y[1-o]),d.__rectSize=i[a],p){var $={x:0,y:0};$[a]=Math.max(i[a]-v[a]-b,0),$[l]=x[l],d.setClipPath(new Ht({shape:$})),d.__rectSize=$[a]}else f.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(n);return C.pageIndex!=null&&Kt(c,{x:C.contentPosition[0],y:C.contentPosition[1]},p?n:null),this._updatePageInfoView(n,C),x},t.prototype._pageGo=function(n,r,i){var o=this._getPageInfo(r)[n];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var i=this._controllerGroup;j(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",f=r[d]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",f?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=f?"pointer":"default")});var o=i.childOfName("pageText"),a=n.get("pageFormatter"),l=r.pageIndex,s=l!=null?l+1:0,u=r.pageCount;o&&a&&o.setStyle("text",Fe(a)?a.replace("{current}",s==null?"":s+"").replace("{total}",u==null?"":u+""):a({current:s,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,a=n.getOrient().index,l=ZT[a],s=QT[a],u=this._findTargetItemIndex(r),c=i.children(),d=c[u],f=c.length,h=f?1:0,v={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return v;var p=S(d);v.contentPosition[a]=-p.s;for(var g=u+1,m=p,y=p,b=null;g<=f;++g)b=S(c[g]),(!b&&y.e>m.s+o||b&&!x(b,m.s))&&(y.i>m.i?m=y:m=b,m&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=m.i),++v.pageCount)),y=b;for(var g=u-1,m=p,y=p,b=null;g>=-1;--g)b=S(c[g]),(!b||!x(y,b.s))&&m.i=C&&$.s<=C+o}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(a,l){var s=a.__legendDataIndex;o==null&&s!=null&&(o=l),s===n&&(r=l)}),r!=null?r:o},t.type="legend.scroll",t}(qae);const Cdt=wdt;function $dt(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function _dt(e){Pt(Zae),e.registerComponentModel(xdt),e.registerComponentView(Cdt),$dt(e)}function Tdt(e){Pt(Zae),Pt(_dt)}var Idt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=Ru(Pm.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Pm);const Pdt=Idt;var fL=Ft();function Mdt(e,t,n){fL(e).coordSysRecordMap.each(function(r){var i=r.dataZoomInfoMap.get(t.uid);i&&(i.getRange=n)})}function Adt(e,t){for(var n=fL(e).coordSysRecordMap,r=n.keys(),i=0;ir[n+t]&&(t=l),i=i&&a.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function Ldt(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=fL(n),i=r.coordSysRecordMap||(r.coordSysRecordMap=Ge());i.each(function(o){o.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(o){var a=Eae(o);j(a.infoList,function(l){var s=l.model.uid,u=i.get(s)||i.set(s,Odt(n,l.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=Ge());c.set(o.uid,{dzReferCoordSysInfo:l,model:o,getRange:null})})}),i.each(function(o){var a=o.controller,l,s=o.dataZoomInfoMap;if(s){var u=s.keys()[0];u!=null&&(l=s.get(u))}if(!l){Qae(i,o);return}var c=Rdt(s);a.enable(c.controlType,c.opt),a.setPointerChecker(o.containsPoint),$v(o,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var Ndt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,i){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),Mdt(i,n,{pan:ze(JT.pan,this),zoom:ze(JT.zoom,this),scrollMove:ze(JT.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Adt(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(rL),JT={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var l=eI[t](null,[r.originX,r.originY],a,n,e),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-s)*u+s,o[1]=(o[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(qd(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}},pan:XW(function(e,t,n,r,i,o){var a=eI[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength}),scrollMove:XW(function(e,t,n,r,i,o){var a=eI[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta})};function XW(e){return function(t,n,r,i){var o=this.range,a=o.slice(),l=t.axisModels[0];if(l){var s=e(a,l,t,n,r,i);if(qd(s,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var eI={grid:function(e,t,n,r,i){var o=n.axis,a={},l=i.model.coordinateSystem.getRect();return e=e||[0,0],o.dim==="x"?(a.pixel=t[0]-e[0],a.pixelLength=l.width,a.pixelStart=l.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=l.height,a.pixelStart=l.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},l=i.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return e=e?l.pointToCoord(e):[0,0],t=l.pointToCoord(t),n.mainType==="radiusAxis"?(a.pixel=t[0]-e[0],a.pixelLength=s[1]-s[0],a.pixelStart=s[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),l={};return e=e||[0,0],o.orient==="horizontal"?(l.pixel=t[0]-e[0],l.pixelLength=a.width,l.pixelStart=a.x,l.signal=o.inverse?1:-1):(l.pixel=t[1]-e[1],l.pixelLength=a.height,l.pixelStart=a.y,l.signal=o.inverse?-1:1),l}};const kdt=Ndt;function Jae(e){iL(e),e.registerComponentModel(Pdt),e.registerComponentView(kdt),Ldt(e)}var Bdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Ru(Pm.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Pm);const Fdt=Bdt;var vp=Ht,YW=7,zdt=1,tI=30,Hdt=7,pp="horizontal",qW="vertical",Vdt=5,Wdt=["line","bar","candlestick","scatter"],jdt={easing:"cubicOut",duration:100,delay:0},Gdt=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=ze(this._onBrush,this),this._onBrushEnd=ze(this._onBrushEnd,this)},t.prototype.render=function(n,r,i,o){if(e.prototype.render.apply(this,arguments),$v(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!o||o.type!=="dataZoom"||o.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){gm(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new lt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,i=n.get("brushSelect"),o=i?Hdt:0,a=this._findCoordRect(),l={width:r.getWidth(),height:r.getHeight()},s=this._orient===pp?{right:l.width-a.x-a.width,top:l.height-tI-YW-o,width:a.width,height:tI}:{right:YW,top:a.y,width:tI,height:a.height},u=Sv(n.option);j(["right","top","width","height"],function(d){u[d]==="ph"&&(u[d]=s[d])});var c=ir(u,l);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===qW&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,i=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),a=o&&o.get("inverse"),l=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;l.attr(i===pp&&!a?{scaleY:s?1:-1,scaleX:1}:i===pp&&a?{scaleY:s?1:-1,scaleX:-1}:i===qW&&!a?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([l]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,i=this._displayables.sliderGroup,o=n.get("brushSelect");i.add(new vp({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var a=new vp({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:ze(this._onClickPanel,this)}),l=this.api.getZr();o?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",l.on("mousemove",this._onBrush),l.on("mouseup",this._onBrushEnd)):(l.off("mousemove",this._onBrush),l.off("mouseup",this._onBrushEnd)),i.add(a)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,i=this._shadowSize||[],o=n.series,a=o.getRawData(),l=o.getShadowDim&&o.getShadowDim(),s=l&&a.getDimensionInfo(l)?o.getShadowDim():n.otherDim;if(s==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(a!==this._shadowData||s!==this._shadowDim||r[0]!==i[0]||r[1]!==i[1]){var d=a.getDataExtent(s),f=(d[1]-d[0])*.3;d=[d[0]-f,d[1]+f];var h=[0,r[1]],v=[0,r[0]],p=[[r[0],0],[0,0]],g=[],m=v[1]/(a.count()-1),y=0,b=Math.round(a.count()/r[0]),S;a.each([s],function(I,P){if(b>0&&P%b){y+=m;return}var M=I==null||isNaN(I)||I==="",O=M?0:en(I,d,h,!0);M&&!S&&P?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!M&&S&&(p.push([y,0]),g.push([y,0])),p.push([y,O]),g.push([y,O]),y+=m,S=M}),u=this._shadowPolygonPts=p,c=this._shadowPolylinePts=g}this._shadowData=a,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function $(I){var P=x.getModel(I?"selectedDataBackground":"dataBackground"),M=new lt,O=new Ei({shape:{points:u},segmentIgnoreThreshold:1,style:P.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),D=new Ni({shape:{points:c},segmentIgnoreThreshold:1,style:P.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return M.add(O),M.add(D),M}for(var C=0;C<3;C++){var T=$(C===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var i,o=this.ecModel;return n.eachTargetAxis(function(a,l){var s=n.getAxisProxy(a,l).getTargetSeriesModels();j(s,function(u){if(!i&&!(r!==!0&&Tt(Wdt,u.get("type"))<0)){var c=o.getComponent(tu(a),l).axis,d=Kdt(a),f,h=u.coordinateSystem;d!=null&&h.getOtherAxis&&(f=h.getOtherAxis(c).inverse),d=u.getData().mapDimension(d),i={thisAxis:c,series:u,thisDim:a,otherDim:d,otherAxisInverse:f}}},this)},this),i}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,i=r.handles=[null,null],o=r.handleLabels=[null,null],a=this._displayables.sliderGroup,l=this._size,s=this.dataZoomModel,u=this.api,c=s.get("borderRadius")||0,d=s.get("brushSelect"),f=r.filler=new vp({silent:d,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});a.add(f),a.add(new vp({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:l[0],height:l[1],r:c},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:zdt,fill:"rgba(0,0,0,0)"}})),j([0,1],function(b){var S=s.get("handleIcon");!ex[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var x=Yn(S,-1,0,2,2,null,!0);x.attr({cursor:ZW(this._orient),draggable:!0,drift:ze(this._onDragMove,this,b),ondragend:ze(this._onDragEnd,this),onmouseover:ze(this._showDataInfo,this,!0),onmouseout:ze(this._showDataInfo,this,!1),z2:5});var $=x.getBoundingRect(),C=s.get("handleSize");this._handleHeight=Ne(C,this._size[1]),this._handleWidth=$.width/$.height*this._handleHeight,x.setStyle(s.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),od(x);var T=s.get("handleColor");T!=null&&(x.style.fill=T),a.add(i[b]=x);var I=s.getModel("textStyle"),P=s.get("handleLabel")||{},M=P.show||!1;n.add(o[b]=new jt({silent:!0,invisible:!M,style:fn(I,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:I.getTextColor(),font:I.getFont()}),z2:10}))},this);var h=f;if(d){var v=Ne(s.get("moveHandleSize"),l[1]),p=r.moveHandle=new Ht({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:l[1]-.5,height:v}}),g=v*.8,m=r.moveHandleIcon=Yn(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=l[1]+v/2-.5,p.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(l[1]/2,Math.max(v,10));h=r.moveZone=new Ht({invisible:!0,shape:{y:l[1]-y,height:v+y}}),h.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),a.add(p),a.add(m),a.add(h)}h.attr({draggable:!0,cursor:ZW(this._orient),drift:ze(this._onDragMove,this,"all"),ondragstart:ze(this._showDataInfo,this,!0),ondragend:ze(this._onDragEnd,this),onmouseover:ze(this._showDataInfo,this,!0),onmouseout:ze(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[en(n[0],[0,100],r,!0),en(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var i=this.dataZoomModel,o=this._handleEnds,a=this._getViewExtent(),l=i.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];qd(r,o,a,i.get("zoomLock")?"all":n,l.minSpan!=null?en(l.minSpan,s,a,!0):null,l.maxSpan!=null?en(l.maxSpan,s,a,!0):null);var u=this._range,c=this._range=_o([en(o[0],a,s,!0),en(o[1],a,s,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,i=this._handleEnds,o=_o(i.slice()),a=this._size;j([0,1],function(h){var v=r.handles[h],p=this._handleHeight;v.attr({scaleX:p/2,scaleY:p/2,x:i[h]+(h?-1:1),y:a[1]/2-p/2})},this),r.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:a[1]});var l={x:o[0],width:o[1]-o[0]};r.moveHandle&&(r.moveHandle.setShape(l),r.moveZone.setShape(l),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",l.x+l.width/2));for(var s=r.dataShadowSegs,u=[0,o[0],o[1],a[0]],c=0;cr[0]||i[1]<0||i[1]>r[1])){var o=this._handleEnds,a=(o[0]+o[1])/2,l=this._updateInterval("all",i[0]-a);this._updateView(),l&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,i=n.offsetY;this._brushStart=new wt(r,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var i=r.shape,o=+new Date;if(!(o-this._brushStartTime<200&&Math.abs(i.width)<5)){var a=this._getViewExtent(),l=[0,100];this._range=_o([en(i.x,a,l,!0),en(i.x+i.width,a,l,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(Yl(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var i=this._displayables,o=this.dataZoomModel,a=i.brushRect;a||(a=i.brushRect=new vp({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(a)),a.attr("ignore",!1);var l=this._brushStart,s=this._displayables.sliderGroup,u=s.transformCoordToLocal(n,r),c=s.transformCoordToLocal(l.x,l.y),d=this._size;u[0]=Math.max(Math.min(d[0],u[0]),0),a.setShape({x:c[0],y:0,width:u[0]-c[0],height:d[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?jdt:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=Eae(this.dataZoomModel).infoList;if(!n&&r.length){var i=r[0].model.coordinateSystem;n=i.getRect&&i.getRect()}if(!n){var o=this.api.getWidth(),a=this.api.getHeight();n={x:o*.2,y:a*.2,width:o*.6,height:a*.6}}return n},t.type="dataZoom.slider",t}(rL);function Kdt(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function ZW(e){return e==="vertical"?"ns-resize":"ew-resize"}const Udt=Gdt;function ele(e){e.registerComponentModel(Fdt),e.registerComponentView(Udt),iL(e)}function Xdt(e){Pt(Jae),Pt(ele)}var Ydt={get:function(e,t,n){var r=rt((qdt[e]||{})[t]);return n&&Ae(r)?r[r.length-1]:r}},qdt={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const tle=Ydt;var QW=Mr.mapVisual,Zdt=Mr.eachVisual,Qdt=Ae,JW=j,Jdt=_o,eft=en,tft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,i){this.mergeDefaultAndTheme(n,i)},t.prototype.optionUpdated=function(n,r){var i=this.option;!r&&Wae(i,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=ze(n,this),this.controllerVisuals=OA(this.option.controller,r,n),this.targetVisuals=OA(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,r=[];return n==null||n==="all"?this.ecModel.eachSeries(function(i,o){r.push(o)}):r=rn(n),r},t.prototype.eachTargetSeries=function(n,r){j(this.getTargetSeriesIndices(),function(i){var o=this.ecModel.getSeriesByIndex(i);o&&n.call(r,o)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(i){i===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,i){var o=this.option,a=o.precision,l=this.dataBound,s=o.formatter,u;i=i||["<",">"],Ae(n)&&(n=n.slice(),u=!0);var c=r?n:u?[d(n[0]),d(n[1])]:d(n);if(Fe(s))return s.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(Ze(s))return u?s(n[0],n[1]):s(n);if(u)return n[0]===l[0]?i[0]+" "+c[1]:n[1]===l[1]?i[1]+" "+c[0]:c[0]+" - "+c[1];return c;function d(f){return f===l[0]?"min":f===l[1]?"max":(+f).toFixed(Math.min(a,20))}},t.prototype.resetExtent=function(){var n=this.option,r=Jdt([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var i=n.dimensions,o=i.length-1;o>=0;o--){var a=i[o],l=n.getDimensionInfo(a);if(!l.isCalculationCoord)return l.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,i={inRange:r.inRange,outOfRange:r.outOfRange},o=r.target||(r.target={}),a=r.controller||(r.controller={});St(o,i),St(a,i);var l=this.isCategory();s.call(this,o),s.call(this,a),u.call(this,o,"inRange","outOfRange"),c.call(this,a);function s(d){Qdt(r.color)&&!d.inRange&&(d.inRange={color:r.color.slice().reverse()}),d.inRange=d.inRange||{color:n.get("gradientColor")}}function u(d,f,h){var v=d[f],p=d[h];v&&!p&&(p=d[h]={},JW(v,function(g,m){if(Mr.isValidType(m)){var y=tle.get(m,"inactive",l);y!=null&&(p[m]=y,m==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function c(d){var f=(d.inRange||{}).symbol||(d.outOfRange||{}).symbol,h=(d.inRange||{}).symbolSize||(d.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),p=this.getItemSymbol(),g=p||"roundRect";JW(this.stateList,function(m){var y=this.itemSize,b=d[m];b||(b=d[m]={color:l?v:[v]}),b.symbol==null&&(b.symbol=f&&rt(f)||(l?g:[g])),b.symbolSize==null&&(b.symbolSize=h&&rt(h)||(l?y[0]:[y[0],y[0]])),b.symbol=QW(b.symbol,function($){return $==="none"?g:$});var S=b.symbolSize;if(S!=null){var x=-1/0;Zdt(S,function($){$>x&&(x=$)}),b.symbolSize=QW(S,function($){return eft($,[0,x],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Vt);const Tx=tft;var ej=[20,140],nft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=ej[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=ej[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):Ae(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),j(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=_o((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]=i[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(i){var o=[],a=i.getData();a.each(this.getDataDimensionIndex(a),function(l,s){n[0]<=l&&l<=n[1]&&o.push(s)},this),r.push({seriesId:i.id,dataIndex:o})},this),r},t.prototype.getVisualMeta=function(n){var r=tj(this,"outOfRange",this.getExtent()),i=tj(this,"inRange",this.option.range.slice()),o=[];function a(h,v){o.push({value:h,color:n(h,v)})}for(var l=0,s=0,u=i.length,c=r.length;sn[1])break;o.push({color:this.getControllerVisual(s,"color",r),offset:l/i})}return o.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),o},t.prototype._createBarPoints=function(n,r){var i=this.visualMapModel.itemSize;return[[i[0]-r[0],n[0]],[i[0],n[0]],[i[0],n[1]],[i[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,i=this.visualMapModel.get("inverse");return new lt(r==="horizontal"&&!i?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&i?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!i?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var i=this._shapes,o=this.visualMapModel,a=i.handleThumbs,l=i.handleLabels,s=o.itemSize,u=o.getExtent(),c=this._applyTransform("left",i.mainGroup);oft([0,1],function(d){var f=a[d];f.setStyle("fill",r.handlesColor[d]),f.y=n[d];var h=Pa(n[d],[0,s[1]],u,!0),v=this.getControllerVisual(h,"symbolSize");f.scaleX=f.scaleY=v/s[0],f.x=s[0]-v/2;var p=ra(i.handleLabelPoints[d],ad(f,this.group));if(this._orient==="horizontal"){var g=c==="left"||c==="top"?(s[0]-v)/2:(s[0]-v)/-2;p[1]+=g}l[d].setStyle({x:p[0],y:p[1],text:o.formatValueText(this._dataInterval[d]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,i,o){var a=this.visualMapModel,l=a.getExtent(),s=a.itemSize,u=[0,s[1]],c=this._shapes,d=c.indicator;if(d){d.attr("invisible",!1);var f={convertOpacityToAlpha:!0},h=this.getControllerVisual(n,"color",f),v=this.getControllerVisual(n,"symbolSize"),p=Pa(n,l,u,!0),g=s[0]-v/2,m={x:d.x,y:d.y};d.y=p,d.x=g;var y=ra(c.indicatorLabelPoint,ad(d,this.group)),b=c.indicatorLabel;b.attr("invisible",!1);var S=this._applyTransform("left",c.mainGroup),x=this._orient,$=x==="horizontal";b.setStyle({text:(i||"")+a.formatValueText(r),verticalAlign:$?S:"middle",align:$?"center":S});var C={x:g,y:p,style:{fill:h}},T={style:{x:y[0],y:y[1]}};if(a.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var I={duration:100,easing:"cubicInOut",additive:!0};d.x=m.x,d.y=m.y,d.animateTo(C,I),b.animateTo(T,I)}else d.attr(C),b.attr(T);this._firstShowIndicator=!1;var P=this._shapes.handleLabels;if(P)for(var M=0;Ma[1]&&(d[1]=1/0),r&&(d[0]===-1/0?this._showIndicator(c,d[1],"< ",s):d[1]===1/0?this._showIndicator(c,d[0],"> ",s):this._showIndicator(c,c,"≈ ",s));var f=this._hoverLinkDataIndices,h=[];(r||oj(i))&&(h=this._hoverLinkDataIndices=i.findTargetDataIndices(d));var v=YWe(f,h);this._dispatchHighDown("downplay",I1(v[0],i)),this._dispatchHighDown("highlight",I1(v[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(Wc(n.target,function(s){var u=ut(s);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var i=this.ecModel.getSeriesByIndex(r.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(i)){var a=i.getData(r.dataType),l=a.getStore().get(o.getDataDimensionIndex(a),r.dataIndex);isNaN(l)||this._showIndicator(l,l)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var i=0;i=0&&(o.dimension=a,r.push(o))}}),e.getData().setVisual("visualMeta",r)}}];function vft(e,t,n,r){for(var i=t.targetVisuals[r],o=Mr.prepareVisualTypes(i),a={color:fy(e.getData(),"color")},l=0,s=o.length;l0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(dft,fft),j(hft,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(pft))}function ole(e){e.registerComponentModel(rft),e.registerComponentView(cft),ile(e)}var gft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],mft[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var o=this.option.categories;this.resetVisual(function(a,l){i==="categories"?(a.mappingMethod="category",a.categories=rt(o)):(a.dataExtent=this.getExtent(),a.mappingMethod="piecewise",a.pieceList=Oe(this._pieceList,function(s){return s=rt(s),l!=="inRange"&&(s.visual=null),s}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},i=Mr.listVisualTypes(),o=this.isCategory();j(n.pieces,function(l){j(i,function(s){l.hasOwnProperty(s)&&(r[s]=1)})}),j(r,function(l,s){var u=!1;j(this.stateList,function(c){u=u||a(n,c,s)||a(n.target,c,s)},this),!u&&j(this.stateList,function(c){(n[c]||(n[c]={}))[s]=tle.get(s,c==="inRange"?"active":"inactive",o)})},this);function a(l,s,u){return l&&l[s]&&l[s].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var i=this.option,o=this._pieceList,a=(r?i:n).selected||{};if(i.selected=a,j(o,function(s,u){var c=this.getSelectedMapKey(s);a.hasOwnProperty(c)||(a[c]=!0)},this),i.selectedMode==="single"){var l=!1;j(o,function(s,u){var c=this.getSelectedMapKey(s);a[c]&&(l?a[c]=!1:l=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=rt(n)},t.prototype.getValueState=function(n){var r=Mr.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],i=this._pieceList;return this.eachTargetSeries(function(o){var a=[],l=o.getData();l.each(this.getDataDimensionIndex(l),function(s,u){var c=Mr.findPieceIndex(s,i);c===n&&a.push(u)},this),r.push({seriesId:o.id,dataIndex:a})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var i=n.interval||[];r=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],i=["",""],o=this;function a(c,d){var f=o.getRepresentValue({interval:c});d||(d=o.getValueState(f));var h=n(f,d);c[0]===-1/0?i[0]=h:c[1]===1/0?i[1]=h:r.push({value:c[0],color:h},{value:c[1],color:h})}var l=this._pieceList.slice();if(!l.length)l.push({interval:[-1/0,1/0]});else{var s=l[0].interval[0];s!==-1/0&&l.unshift({interval:[-1/0,s]}),s=l[l.length-1].interval[1],s!==1/0&&l.push({interval:[s,1/0]})}var u=-1/0;return j(l,function(c){var d=c.interval;d&&(d[0]>u&&a([u,d[0]],"outOfRange"),a(d.slice()),u=d[1])},this),{stops:r,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=Ru(Tx.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(Tx),mft={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,l=r[0];a","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,i)},this)}};function uj(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}const yft=gft;var bft=function(e){ge(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,i=r.get("textGap"),o=r.textStyleModel,a=o.getFont(),l=o.getTextColor(),s=this._getItemAlign(),u=r.itemSize,c=this._getViewData(),d=c.endsText,f=br(r.get("showLabel",!0),!d),h=!r.get("selectedMode");d&&this._renderEndsText(n,d[0],u,f,s),j(c.viewPieceList,function(v){var p=v.piece,g=new lt;g.onclick=ze(this._onItemClick,this,p),this._enableHoverLink(g,v.indexInModelPieceList);var m=r.getRepresentValue(p);if(this._createItemSymbol(g,m,[0,0,u[0],u[1]],h),f){var y=this.visualMapModel.getValueState(m);g.add(new jt({style:{x:s==="right"?-i:u[0]+i,y:u[1]/2,text:p.text,verticalAlign:"middle",align:s,font:a,fill:l,opacity:y==="outOfRange"?.5:1},silent:h}))}n.add(g)},this),d&&this._renderEndsText(n,d[1],u,f,s),ld(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var i=this;n.on("mouseover",function(){return o("highlight")}).on("mouseout",function(){return o("downplay")});var o=function(a){var l=i.visualMapModel;l.option.hoverLink&&i.api.dispatchAction({type:a,batch:I1(l.findTargetDataIndices(r),l)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return rle(n,this.api,n.itemSize);var i=r.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(n,r,i,o,a){if(r){var l=new lt,s=this.visualMapModel.textStyleModel;l.add(new jt({style:fn(s,{x:o?a==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:o?a:"center",text:r})})),n.add(l)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=Oe(n.getPieceList(),function(l,s){return{piece:l,indexInModelPieceList:s}}),i=n.get("text"),o=n.get("orient"),a=n.get("inverse");return(o==="horizontal"?a:!a)?r.reverse():i&&(i=i.slice().reverse()),{viewPieceList:r,endsText:i}},t.prototype._createItemSymbol=function(n,r,i,o){var a=Yn(this.getControllerVisual(r,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(r,"color"));a.silent=o,n.add(a)},t.prototype._onItemClick=function(n){var r=this.visualMapModel,i=r.option,o=i.selectedMode;if(o){var a=rt(i.selected),l=r.getSelectedMapKey(n);o==="single"||o===!0?(a[l]=!0,j(a,function(s,u){a[u]=u===l})):a[l]=!a[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}},t.type="visualMap.piecewise",t}(nle);const Sft=bft;function ale(e){e.registerComponentModel(yft),e.registerComponentView(Sft),ile(e)}function xft(e){Pt(ole),Pt(ale)}var wft={label:{enabled:!0},decal:{show:!1}},cj=Ft(),Cft={};function $ft(e,t){var n=e.getModel("aria");if(!n.get("enabled"))return;var r=rt(wft);St(r.label,e.getLocaleModel().get("aria"),!1),St(n.option,r,!1),i(),o();function i(){var u=n.getModel("decal"),c=u.get("show");if(c){var d=Ge();e.eachSeries(function(f){if(!f.isColorBySeries()){var h=d.get(f.type);h||(h={},d.set(f.type,h)),cj(f).scope=h}}),e.eachRawSeries(function(f){if(e.isSeriesFiltered(f))return;if(Ze(f.enableAriaDecal)){f.enableAriaDecal();return}var h=f.getData();if(f.isColorBySeries()){var y=FM(f.ecModel,f.name,Cft,e.getSeriesCount()),b=h.getVisual("decal");h.setVisual("decal",S(b,y))}else{var v=f.getRawData(),p={},g=cj(f).scope;h.each(function(x){var $=h.getRawIndex(x);p[$]=x});var m=v.count();v.each(function(x){var $=p[x],C=v.getName(x)||x+"",T=FM(f.ecModel,C,g,m),I=h.getItemVisual($,"decal");h.setItemVisual($,"decal",S(I,T))})}function S(x,$){var C=x?Te(Te({},$),x):$;return C.dirty=!0,C}})}}function o(){var u=t.getZr().dom;if(u){var c=e.getLocaleModel().get("aria"),d=n.getModel("label");if(d.option=et(d.option,c),!!d.get("enabled")){if(u.setAttribute("role","img"),d.get("description")){u.setAttribute("aria-label",d.get("description"));return}var f=e.getSeriesCount(),h=d.get(["data","maxCount"])||10,v=d.get(["series","maxCount"])||10,p=Math.min(f,v),g;if(!(f<1)){var m=l();if(m){var y=d.get(["general","withTitle"]);g=a(y,{title:m})}else g=d.get(["general","withoutTitle"]);var b=[],S=f>1?d.get(["series","multiple","prefix"]):d.get(["series","single","prefix"]);g+=a(S,{seriesCount:f}),e.eachSeries(function(T,I){if(I1?d.get(["series","multiple",O]):d.get(["series","single",O]),P=a(P,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:s(T.subType)});var D=T.getData();if(D.count()>h){var R=d.get(["data","partialData"]);P+=a(R,{displayCnt:h})}else P+=d.get(["data","allData"]);for(var A=d.get(["data","separator","middle"]),E=d.get(["data","separator","end"]),k=d.get(["data","excludeDimensionId"]),N=[],B=0;B":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Ift=function(){function e(t){var n=this._condVal=Fe(t)?new RegExp(t):iVe(t)?t:null;if(n==null){var r="";qt(r)}}return e.prototype.evaluate=function(t){var n=typeof t;return Fe(n)?this._condVal.test(t):Gt(n)?this._condVal.test(t+""):!1},e}(),Pft=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),Mft=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,n=0;n2&&r.push(i),i=[D,R]}function c(D,R,A,E){Qf(D,A)&&Qf(R,E)||i.push(D,R,A,E,A,E)}function d(D,R,A,E,k,N){var B=Math.abs(R-D),F=Math.tan(B/4)*4/3,H=RT:M2&&r.push(i),r}function FA(e,t,n,r,i,o,a,l,s,u){if(Qf(e,n)&&Qf(t,r)&&Qf(i,a)&&Qf(o,l)){s.push(a,l);return}var c=2/u,d=c*c,f=a-e,h=l-t,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var p=n-e,g=r-t,m=i-a,y=o-l,b=p*p+g*g,S=m*m+y*y;if(b=0&&T=0){s.push(a,l);return}var I=[],P=[];mu(e,n,i,a,.5,I),mu(t,r,o,l,.5,P),FA(I[0],P[0],I[1],P[1],I[2],P[2],I[3],P[3],s,u),FA(I[4],P[4],I[5],P[5],I[6],P[6],I[7],P[7],s,u)}function Wft(e,t){var n=BA(e),r=[];t=t||1;for(var i=0;i0)for(var u=0;uMath.abs(u),d=sle([s,u],c?0:1,t),f=(c?l:u)/d.length,h=0;hi,a=sle([r,i],o?0:1,t),l=o?"width":"height",s=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=e[l]/a.length,f=0;f1?null:new wt(p*s+e,p*u+t)}function Kft(e,t,n){var r=new wt;wt.sub(r,n,t),r.normalize();var i=new wt;wt.sub(i,e,t);var o=i.dot(r);return o}function Pf(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function Uft(e,t,n){for(var r=e.length,i=[],o=0;oa?(u.x=c.x=l+o/2,u.y=s,c.y=s+a):(u.y=c.y=s+a/2,u.x=l,c.x=l+o),Uft(t,u,c)}function Ix(e,t,n,r){if(n===1)r.push(t);else{var i=Math.floor(n/2),o=e(t);Ix(e,o[0],i,r),Ix(e,o[1],n-i,r)}return r}function Xft(e,t){for(var n=[],r=0;r0)for(var x=r/n,$=-r/2;$<=r/2;$+=x){for(var C=Math.sin($),T=Math.cos($),I=0,b=0;b0;u/=2){var c=0,d=0;(e&u)>0&&(c=1),(t&u)>0&&(d=1),l+=u*u*(3*c^d),d===0&&(c===1&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function Ax(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Oe(e,function(l){var s=l.getBoundingRect(),u=l.getComputedTransform(),c=s.x+s.width/2+(u?u[4]:0),d=s.y+s.height/2+(u?u[5]:0);return t=Math.min(c,t),n=Math.min(d,n),r=Math.max(c,r),i=Math.max(d,i),[c,d]}),a=Oe(o,function(l,s){return{cp:l,z:rht(l[0],l[1],t,n,r,i),path:e[s]}});return a.sort(function(l,s){return l.z-s.z}).map(function(l){return l.path})}function dle(e){return Zft(e.path,e.count)}function zA(){return{fromIndividuals:[],toIndividuals:[],count:0}}function iht(e,t,n){var r=[];function i(x){for(var $=0;$=0;i--)if(!n[i].many.length){var s=n[l].many;if(s.length<=1)if(l)l=0;else return n;var o=s.length,u=Math.ceil(o/2);n[i].many=s.slice(u,o),n[l].many=s.slice(0,u),l++}return n}var aht={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0))return;var l=r.getModel("universalTransition").get("delay"),s=Object.assign({setToFinal:!0},a),u,c;bj(e)&&(u=e,c=t),bj(t)&&(u=t,c=e);function d(m,y,b,S,x){var $=m.many,C=m.one;if($.length===1&&!x){var T=y?$[0]:C,I=y?C:$[0];if(Px(T))d({many:[T],one:I},!0,b,S,!0);else{var P=l?et({delay:l(b,S)},s):s;vL(T,I,P),o(T,I,T,I,P)}}else for(var M=et({dividePath:aht[n],individualDelay:l&&function(k,N,B,F){return l(k+b,S)}},s),O=y?iht($,C,M):oht(C,$,M),D=O.fromIndividuals,R=O.toIndividuals,A=D.length,E=0;Et.length,h=u?Sj(c,u):Sj(f?t:e,[f?e:t]),v=0,p=0;pfle))for(var o=r.getIndices(),a=0;a0&&$.group.traverse(function(T){T instanceof Mt&&!T.animators.length&&T.animateFrom({style:{opacity:0}},C)})})}function _j(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function Tj(e){return Ae(e)?e.sort().join(","):e}function Fs(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function hht(e,t){var n=Ge(),r=Ge(),i=Ge();return j(e.oldSeries,function(o,a){var l=e.oldDataGroupIds[a],s=e.oldData[a],u=_j(o),c=Tj(u);r.set(c,{dataGroupId:l,data:s}),Ae(u)&&j(u,function(d){i.set(d,{key:c,dataGroupId:l,data:s})})}),j(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var a=o.get("dataGroupId"),l=o.getData(),s=_j(o),u=Tj(s),c=r.get(u);if(c)n.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Fs(c.data),data:c.data}],newSeries:[{dataGroupId:a,divide:Fs(l),data:l}]});else if(Ae(s)){var d=[];j(s,function(v){var p=r.get(v);p.data&&d.push({dataGroupId:p.dataGroupId,divide:Fs(p.data),data:p.data})}),d.length&&n.set(u,{oldSeries:d,newSeries:[{dataGroupId:a,data:l,divide:Fs(l)}]})}else{var f=i.get(s);if(f){var h=n.get(f.key);h||(h={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Fs(f.data)}],newSeries:[]},n.set(f.key,h)),h.newSeries.push({dataGroupId:a,data:l,divide:Fs(l)})}}}}),n}function Ij(e,t){for(var n=0;n=0&&i.push({dataGroupId:t.oldDataGroupIds[l],data:t.oldData[l],divide:Fs(t.oldData[l]),groupIdDim:a.dimension})}),j(rn(e.to),function(a){var l=Ij(n.updatedSeries,a);if(l>=0){var s=n.updatedSeries[l].getData();o.push({dataGroupId:t.oldDataGroupIds[l],data:s,divide:Fs(s),groupIdDim:a.dimension})}}),i.length>0&&o.length>0&&hle(i,o,r)}function pht(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){j(rn(r.seriesTransition),function(i){j(rn(i.to),function(o){for(var a=r.updatedSeries,l=0;l{HA(e)}))}function HA(e,t=new WeakSet){if(!(!e||typeof e!="object")&&!t.has(e)){if(t.add(e),Array.isArray(e)){e.forEach(n=>HA(n,t));return}e.tooltip&&typeof e.tooltip=="object"&&(e.tooltip=mht(e.tooltip)),Object.keys(e).forEach(n=>{const r=e[n];!r||typeof r!="object"||HA(r,t)})}}function mht(e){var t,n;return t$(_y({},e),{appendToBody:(t=e.appendToBody)!=null?t:!0,confine:(n=e.confine)!=null?n:!1,extraCssText:yht(e.extraCssText)})}function yht(e=""){const t=String(e||"").trim();return t?/z-index\s*:/i.test(t)?t:`${t.replace(/;$/,"")};${Pj}`:Pj}ght();let vle=nK(Xde);vle.config.errorHandler=(e,t,n)=>{mK(e)||console.error(`[V3] Vue 运行异常:${n}`,e)};vle.use(HHe).use(dO).mount("#app");Ade();export{Vht as $,_t as A,Gr as B,N1 as C,wht as D,Rht as E,Qe as F,Eht as G,v5 as H,Pht as I,Dht as J,jA as K,Bt as L,bt as M,$de as N,BL as O,Hm as P,Nht as Q,kht as R,FE as S,Hht as T,mPe as U,xw as V,E9e as W,Fht as X,Bht as Y,zht as Z,ol as _,HG as a,Wht as a0,jht as a1,Ght as a2,Xht as a3,Kht as a4,Uht as a5,Yht as a6,ae as a7,Lht as a8,sy as a9,tO as aa,Jue as ab,Kx as ac,rs as ad,Iu as ae,gr as af,se as ag,Ye as ah,jl as ai,Ga as aj,qht as ak,Kn as al,X4 as am,w as b,_ht as c,ue as d,Mht as e,m5 as f,L as g,ht as h,Je as i,Iht as j,wde as k,Oht as l,Aht as m,GA as n,R1 as o,at as p,tt as q,$ht as r,Ur as s,zle as t,yn as u,hi as v,Se as w,uG as x,Cht as y,Tht as z}; diff --git a/docs/assets/index-c5f7f0f7-1786725044461.js b/docs/assets/index-188d593b-1786807848259.js similarity index 98% rename from docs/assets/index-c5f7f0f7-1786725044461.js rename to docs/assets/index-188d593b-1786807848259.js index 8e754ae..6888b0a 100644 --- a/docs/assets/index-c5f7f0f7-1786725044461.js +++ b/docs/assets/index-188d593b-1786807848259.js @@ -1,2 +1,2 @@ -var Gn=Object.defineProperty,Un=Object.defineProperties;var Wn=Object.getOwnPropertyDescriptors;var Ca=Object.getOwnPropertySymbols;var Kn=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable;var xa=(c,k,m)=>k in c?Gn(c,k,{enumerable:!0,configurable:!0,writable:!0,value:m}):c[k]=m,M=(c,k)=>{for(var m in k||(k={}))Kn.call(k,m)&&xa(c,m,k[m]);if(Ca)for(var m of Ca(k))jn.call(k,m)&&xa(c,m,k[m]);return c},P=(c,k)=>Un(c,Wn(k));var U=(c,k,m)=>new Promise((L,y)=>{var v=F=>{try{T(m.next(F))}catch(Y){y(Y)}},R=F=>{try{T(m.throw(F))}catch(Y){y(Y)}},T=F=>F.done?L(F.value):Promise.resolve(F.value).then(v,R);T((m=m.apply(c,k)).next())});import{g as p,o as l,c as o,F as b,a as r,B as N,t as i,y as C,K as A,j as O,n as ee,d as _,w as $e,q as qn,h as Xn,A as st,b as ze,C as de,x as it,f as ot,u as Oe,s as ye,H as La,a6 as He,L as ut}from"./index-1786725044461.js";import{H as $a}from"./index.esm.min-90d27a39-1786725044461.js";import{_ as Na}from"./index-262a2c3c-1786725044461.js";import{M as Jn}from"./index-151544a4-1786725044461.js";import{a as Ma,_ as Pa}from"./FeatureInfoPanel-8c5860b5-1786725044461.js";import{_ as Zn}from"./LayerPanel-48d446bf-1786725044461.js";import{_ as Qn}from"./TopicSwitcher-06eba150-1786725044461.js";import{_ as er}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{A as tr}from"./assets-cf9c305b-1786725044461.js";import{g as Ne,b as ar,c as nr,d as rr,e as lr,f as sr,h as ir,i as or,a as Ta}from"./layers-a7158b54-1786725044461.js";import{q as Ye,r as ur,s as Aa}from"./screen2Standard-3427eaf8-1786725044461.js";import{e as Ge,w as dr,f as cr,l as Ra,m as Fa,n as yr,o as vr,p as fr,q as gr,s as Ia}from"./chartTheme-31546a07-1786725044461.js";import"./index-db918426-1786725044461.js";const hr={class:"credit-village-total"},pr={class:"credit-grade-band","aria-label":"信用村等级比例"},mr=["aria-label","onClick"],br={class:"credit-grade-grid"},wr=["onClick"],kr={class:"credit-town-legend","aria-label":"信用村等级图例"},_r={class:"credit-town-list"},Sr=["aria-label","onClick"],Cr={class:"credit-town-stack","aria-hidden":"true"},xr={class:"credit-town-count"},Lr={class:"credit-authorization-layout"},$r={class:"credit-authorization-ring","aria-hidden":"true"},Nr={viewBox:"0 0 128 128"},Mr=["stroke","stroke-dasharray","stroke-dashoffset"],Pr={class:"credit-authorization-list"},Tr=["onClick"],Ar={class:"credit-panel-note"},Rr={class:"credit-institution-summary"},Fr={class:"credit-institution-list"},Ir=["onClick"],Er={class:"credit-rating-summary"},Dr={class:"credit-rating-list"},Br=["onClick"],Vr={__name:"SocialCreditPanel",props:{panel:{type:Object,default:()=>({rows:[]})}},emits:["select"],setup(c,{emit:k}){const m=c,L=k,y=p(()=>{var w;return((w=m.panel)==null?void 0:w.variant)||""}),v=p(()=>{var w;return Array.isArray((w=m.panel)==null?void 0:w.rows)?m.panel.rows:[]}),R=p(()=>Math.max(1,...v.value.map(w=>Number(w.value||0)))),T=p(()=>{var w;return((w=v.value[0])==null?void 0:w.segments)||[]}),F=p(()=>{let w=0;return v.value.map(g=>{const d=Number(g.percent||0),D=P(M({},g),{percent:d,offset:w});return w+=d,D})}),Y=["#37f2bd","#28e4d5","#30dcff","#48cfff","#7ab8ff","#8b9ead"];function q(w,g){L("select",{type:w,value:g})}function le(w){return Math.max(1.5,Number(w||0)/R.value*100)}function Me(w){var d;const g=Number(((d=m.panel)==null?void 0:d.total)||0);return g>0?Number(w||0)/g*100:0}function dt(w){return Y[w%Y.length]}function Ke(w){const g=(w.segments||[]).filter(d=>d.value>0).map(d=>`${d.name}${d.value}个`).join(",");return`${w.name}共${w.total}个信用村,${g}`}function S(w){const g=Number(w||0);return g.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(g)?0:1})}function I(w,g=1){return`${Number(w||0).toFixed(g)}%`}return(w,g)=>(l(),o("div",{class:ee(["social-credit-panel",`is-${y.value}`])},[y.value==="villageOverview"?(l(),o(b,{key:0},[r("div",hr,[g[0]||(g[0]=r("span",null,"信用村总数",-1)),r("strong",null,[N(i(S(c.panel.total)),1),r("em",null,i(c.panel.totalUnit||"个"),1)]),g[1]||(g[1]=r("small",null,"A—D级源表口径",-1))]),r("div",pr,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({width:`${d.percent}%`,background:d.color}),"aria-label":`${d.displayName}${d.value}个村,占${d.percent}%`,onClick:D=>q("villageGrade",d.name)},null,12,mr))),128))]),r("div",br,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({"--credit-color":d.color}),onClick:D=>q("villageGrade",d.name)},[r("span",null,[g[2]||(g[2]=r("i",null,null,-1)),N(i(d.displayName),1)]),r("strong",null,[N(i(S(d.value)),1),g[3]||(g[3]=r("em",null,"个村",-1))]),r("small",null,i(I(d.percent)),1)],12,wr))),128))])],64)):y.value==="townGradeRank"?(l(),o(b,{key:1},[r("div",kr,[(l(!0),o(b,null,C(T.value,d=>(l(),o("span",{key:d.key},[r("i",{style:A({background:d.color})},null,4),N(i(d.key),1)]))),128)),g[4]||(g[4]=r("small",null,"单位:个村",-1))]),r("div",_r,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key,type:"button","aria-label":Ke(d),onClick:E=>q("town",d.name)},[r("b",null,i(String(D+1).padStart(2,"0")),1),r("strong",null,i(d.name),1),r("span",Cr,[(l(!0),o(b,null,C(d.segments.filter(E=>E.value>0),E=>(l(),o("i",{key:E.key,style:A({width:`${d.total>0?E.value/d.total*100:0}%`,background:E.color})},[r("em",null,i(E.key.replace("级",""))+i(E.value),1)],4))),128))]),r("span",xr,[N(i(d.total),1),g[5]||(g[5]=r("em",null,"个",-1))])],8,Sr))),128))])],64)):y.value==="authorization"?(l(),o(b,{key:2},[r("div",Lr,[r("div",$r,[(l(),o("svg",Nr,[g[6]||(g[6]=r("circle",{class:"credit-authorization-track",cx:"64",cy:"64",r:"48",pathLength:"100"},null,-1)),(l(!0),o(b,null,C(F.value,d=>(l(),o("circle",{key:d.key,class:"credit-authorization-segment",cx:"64",cy:"64",r:"48",pathLength:"100",stroke:d.color,"stroke-dasharray":`${d.percent} ${100-d.percent}`,"stroke-dashoffset":-d.offset},null,8,Mr))),128))])),r("div",null,[r("strong",null,i(I(c.panel.authorizationRate,1)),1),g[7]||(g[7]=r("span",null,"授信率",-1))])]),r("div",Pr,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({"--credit-color":d.color}),onClick:D=>q("authorization",d.statusValue)},[r("span",null,[g[8]||(g[8]=r("i",null,null,-1)),N(i(d.name),1)]),r("strong",null,[N(i(S(d.value)),1),g[9]||(g[9]=r("em",null,"户",-1))]),r("small",null,i(I(d.percent,d.percent<.1?2:1)),1)],12,Tr))),128))])]),r("p",Ar,"评定用户合计 "+i(S(c.panel.total))+" 户,授信状态完整闭环",1)],64)):y.value==="institutionRank"?(l(),o(b,{key:3},[r("div",Rr,[g[11]||(g[11]=r("span",null,"评定机构",-1)),r("strong",null,[N(i(c.panel.institutionCount),1),g[10]||(g[10]=r("em",null,"家",-1))]),g[12]||(g[12]=r("small",null,"主值为评定用户数",-1))]),r("div",Fr,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key,type:"button",onClick:E=>q("institution",d.name)},[r("b",null,i(D+1),1),r("div",null,[r("span",null,[r("strong",null,i(d.name),1),r("em",null,i(S(d.value))+"户",1)]),r("i",null,[r("u",{style:A({width:`${le(d.value)}%`})},null,4)]),r("small",null,"已授信 "+i(S(d.authorizedCount))+"户 · 授信率 "+i(I(d.authorizationRate,1)),1)])],8,Ir))),128))])],64)):y.value==="userRating"?(l(),o(b,{key:4},[r("div",Er,[g[14]||(g[14]=r("span",null,"全部星级",-1)),r("strong",null,[N(i(S(c.panel.total)),1),g[13]||(g[13]=r("em",null,"户",-1))]),g[15]||(g[15]=r("small",null,"五星至一星及其他",-1))]),r("div",Dr,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key||d.name,type:"button",style:A({"--rating-color":dt(D)}),onClick:E=>q("rating",d.name)},[r("span",null,[g[16]||(g[16]=r("i",null,null,-1)),N(i(d.name),1)]),r("u",null,[r("i",{style:A({width:`${le(d.value)}%`})},null,4)]),r("strong",null,[N(i(S(d.value)),1),g[17]||(g[17]=r("em",null,"户",-1))]),r("small",null,i(I(Me(d.value),1)),1)],12,Br))),128))])],64)):O("",!0)],2))}},Ea=er(Vr,[["__scopeId","data-v-86c9aa6d"]]),W="industry-overview";function zr(c={}){const k=Array.isArray(c.visibleStages)?c.visibleStages:[];if(!k.length)throw new Error("V3产业链环节数据缺失");return k}function Ue(c,k=[]){return k.find(m=>m.key===c)||k[0]||{key:c,name:"产业环节",color:"#30dcff",unit:"",metricLabel:"业务数据"}}function Or(c={}){return c.panels||{left:[],right:[]}}function Hr(c={}){return c.panels||{left:[],right:[]}}function Yr(c={}){return Array.isArray(c.mapRankingRows)?c.mapRankingRows:[]}function At(c={}){return c.profile||null}function Rt(c={}){const k=Array.isArray(c.detailRows)?c.detailRows:[],m=new Map(k.map(T=>[String((T==null?void 0:T.label)||"").trim(),T==null?void 0:T.value])),L=[],y=(...T)=>{for(const F of T){const Y=m.get(F);if(!We(Y))return Y}return""},v=(T,F,Y="",q={})=>{We(F)||L.push(M({label:T,value:Gr(F,Y)},q))};return c.categoryCode==="YC-FAMILY-PASTURE"&&(c.markerOnly===!0||c.coordinateMatchLevel==="markerOnly")||c.categoryCode==="YC-MILK-SOURCE-STATION"?(v("所在村",c.village||c.address),L):c.categoryCode==="YC-FAMILY-PASTURE"?(v("户主",c.owner||y("户主")),v("建设年份",c.constructionYear,"年"),v("所在村",c.village||c.address),v("标准化暖棚",y("标准化暖棚"),"㎡"),v("管理用房",y("管理用房"),"㎡"),v("饲草料库",y("饲草料库"),"㎡"),v("活动场地",y("活动场地及通道","活动场地"),"㎡"),v("草料配套",y("草料配套"),"",{wide:!0}),L):c.categoryCode==="YC-FORAGE-TRADE-CENTER"?(v("种草面积",y("种草面积"),"亩"),v("饲草销售量",y("饲草销售量"),"吨"),v("草种销售量",y("草种销售量"),"吨"),v("销售金额",y("销售金额"),"万元"),v("采购金额",y("采购金额"),"万元"),v("销售主体数",y("销售主体数"),"家"),L):(v("运营单位",y("运营单位")),v("育种等级",y("育种等级")),v("育种方向",y("主要育种方向","育种方向")),v("设计存栏",y("设计存栏量","设计存栏"),"头"),v("年出栏量",y("年出栏量"),"头"),v("种植面积",y("种植面积"),"亩"),v("总库容",y("总库容"),"吨"),v("年产值",y("年产值","年总产值"),"万元"),v("年加工量",y("年加工鲜奶总量","年加工原料肉总量","年加工量"),"吨"),v("年屠宰量",y("年屠宰总量","年屠宰量"),"头"),v("服务覆盖",y("服务覆盖乡镇数","服务覆盖"),"个乡镇"),v("最高授信",y("最高单户贷款额度","最高授信"),"万元"),v("主要产品",y("主要产品")),v("主要草种",y("主要草种","储备草种")),L.slice(0,8))}function Da(c={}){const k=[c.capacityText,c.capacity,c.capacityValue].find(R=>!We(R));if(!We(k))return Oa(k,c.capacityUnit);const m=Array.isArray(c.detailRows)?c.detailRows:[],L=new Map(m.map(R=>[String((R==null?void 0:R.label)||"").trim(),R==null?void 0:R.value])),y=(...R)=>{for(const T of R){const F=L.get(T);if(!We(F))return F}return""},v=String(c.categoryCode||"");return v==="YC-BREEDING-STOCK"?y("育种等级")||"待完善":v==="YC-BREEDING-BASE"?y("设计存栏量","设计存栏"):["YC-FORAGE-BASE","YC-CXPT-FORAGE-BASE","YC-CXPT-GRASS-SEED-BASE"].includes(v)?y("种植面积"):v==="YC-DISASTER-FORAGE-STORAGE"?y("总库容"):v==="YC-MILK-SOURCE-STATION"?"1个":v==="YC-FORAGE-TRADE-CENTER"?y("销售金额")||y("种草面积"):v==="YC-PROCESSING-PLANT"?y("年产值")||y("年加工鲜奶总量","年加工原料肉总量"):v==="YC-SLAUGHTERHOUSE"?y("年总产值","年产值")||y("年屠宰总量"):v==="YC-SERVICE-FINANCE"?y("最高单户贷款额度","服务覆盖乡镇数"):v==="YC-SERVICE-INSURANCE"?y("服务覆盖乡镇数"):v==="YC-TECH-TRAINING"?y("年培训人次","年培训场次"):""}function Oa(c,k=""){const m=String(c!=null?c:"").trim(),L=String(k||"").trim();return!L||m.includes(L.replace(/^个/,""))?m:`${m}${L}`}function Gr(c,k=""){const m=Oa(c,k);if(k==="年"&&/^\d{4}年$/.test(m))return m;const L=m.match(/^(-?\d+(?:\.\d+)?)(.*)$/);if(!L)return m;const y=Number(L[1]);return Number.isFinite(y)?`${y.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(y)?0:1})}${L[2]}`:m}function We(c){return c==null||String(c).trim()===""||String(c).trim().toLowerCase()==="nan"}const Ur={key:0,class:"industry-data-state"},Wr={key:1,class:"industry-data-state is-error"},Kr={key:2,class:"industry-data-state"},jr={key:3,class:"industry-map-loading"},qr={key:5,class:"fgw-left industry-side-panel industry-side-panel--left"},Xr={class:"fgw-side-stack industry-side-stack is-left"},Jr=["aria-label"],Zr={key:2,class:"industry-panel-empty"},Qr={key:3,class:"industry-stage-composition-chart"},el={class:"industry-stage-composition-chart__band","aria-hidden":"true"},tl={class:"industry-stage-composition-chart__grid"},al={key:4,class:"industry-forage-trade-dashboard"},nl={class:"industry-forage-trade-dashboard__hero"},rl={class:"industry-forage-trade-dashboard__flows"},ll={class:"industry-forage-trade-dashboard__metrics"},sl={key:6,class:"industry-featured-base-list"},il=["disabled","aria-label","onClick"],ol={class:"industry-featured-base__index"},ul={class:"industry-featured-base__copy"},dl={key:7,class:"industry-leadership-mode-list"},cl={key:8,class:"industry-ledger-list"},yl={key:6,class:"fgw-right industry-side-panel industry-side-panel--right"},vl={class:"fgw-side-stack industry-side-stack is-right"},fl=["aria-label"],gl={key:2,class:"industry-panel-empty"},hl={key:3,class:"industry-stage-composition-chart"},pl={class:"industry-stage-composition-chart__band","aria-hidden":"true"},ml={class:"industry-stage-composition-chart__grid"},bl={key:4,class:"industry-forage-trade-dashboard"},wl={class:"industry-forage-trade-dashboard__hero"},kl={class:"industry-forage-trade-dashboard__flows"},_l={class:"industry-forage-trade-dashboard__metrics"},Sl={key:5,class:"industry-tabbed-map-list"},Cl={class:"industry-tabbed-map-list__selector"},xl={key:0,class:"industry-tabbed-map-list__menu"},Ll=["onClick"],$l={class:"industry-tabbed-map-list__tools"},Nl=["placeholder"],Ml={class:"industry-tabbed-map-list__rows"},Pl=["disabled","onClick"],Tl={class:"industry-tabbed-map-list__name"},Al=["title"],Rl={class:"industry-tabbed-map-list__meta"},Fl=["title"],Il={key:0,class:"industry-tabbed-map-list__empty"},El={key:7,class:"industry-featured-base-list"},Dl=["disabled","aria-label","onClick"],Bl={class:"industry-featured-base__index"},Vl={class:"industry-featured-base__copy"},zl={key:8,class:"industry-leadership-mode-list"},Ol={key:9,class:"industry-ledger-list"},Hl={class:"industry-credit-dialog",role:"dialog","aria-modal":"true","aria-label":"农牧户信用信息"},Yl={class:"industry-credit-dialog__stats"},Gl={class:"industry-credit-dialog__filters"},Ul=["value"],Wl=["value"],Kl=["value"],jl=["value"],ql={class:"industry-credit-table"},Xl={key:0,class:"industry-credit-table__empty"},Jl={key:1,class:"industry-credit-table__empty is-error"},Zl={key:2,class:"industry-credit-table__empty"},Ql=["title"],es=["title"],ts=["data-grade"],as=["title"],ns={class:"industry-credit-dialog__footer"},rs=["disabled"],ls=["disabled"],ss={class:"industry-bottom-switcher"},Ba=12,Va=430,za=246,ks={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(c,{expose:k,emit:m}){const L=c,y=m,v=Ye.sideCardWidth,R=_(typeof window=="undefined"?1080:window.innerHeight),T=Ye.sideCardGap,F=Ye.sidePanelTop,Y=Ye.sidePanelBottom,q=Ye.sideCardMinHeight,le=p(()=>ur(R.value)),Me=p(()=>Aa(le.value,2)),dt=p(()=>Aa(le.value,4)),Ke={key:W,name:"产业概览",color:"#f0c35a",unit:"个",metricLabel:"产业点位",width:112},S=_(W),I=ut([]),w=_({hasData:!1,topStats:[],panels:{left:[],right:[]}}),g=_({type:"FeatureCollection",features:[]}),d=ut({}),D=_(!0),E=_(""),B=_(null),ve=_(!1),$=_(null),X=_(""),Pe=_({x:0,y:0}),ce=_(null),je=_(!1),J=_(null),fe=_({x:0,y:0}),ge=_(!1),qe=_(["artificial-grassland-plots"]),he=_(W),pe=_(""),te=_(!1),Te=_(!1),Ae=_(!1),Xe=_(""),Ft=_([]),ct=_(0),se=ut({totals:{householdCount:0,authorizedCount:0,unauthorizedCount:0,villageCount:0},townships:[],villageGradeRows:[],userRatingRows:[]}),Je=ut([]),Re=_(""),me=_(""),be=_(""),we=_(""),ke=_(""),_e=_(""),ae=_(1),ie=_(I.map(e=>e.key)),Se=_([]),Ha=new Set(["YC-BREEDING-STOCK","YC-CXPT-BREEDING-STOCK-BASE"]);let Ze=null,yt=!1,Ce=!1,ne=null,K=null,oe=null,vt=0,Fe=null,ft=!1,gt=!1;const Qe=new Map,Z=p(()=>S.value===W),ht=p(()=>Z.value?Ke:Ue(S.value,I)),pt=p(()=>d[S.value]||{hasData:!1,topStats:[],panels:{left:[],right:[]}}),Ya=p(()=>Z.value?w.value.hasData:pt.value.hasData);p(()=>S.value==="family-pasture");const et=p(()=>S.value==="artificial-grassland"),Ga=p(()=>(se.townships||[]).map(e=>e.name)),Ua=p(()=>(se.villageGradeRows||[]).map(e=>e.name)),Wa=p(()=>(se.userRatingRows||[]).map(e=>e.name)),Ka=p(()=>Je.map(e=>e.name)),mt=p(()=>Math.max(1,Math.ceil(ct.value/Ba))),It=p(()=>Ft.value),ja=p(()=>Ae.value?"正在加载信用信息":`筛选结果 ${Q(ct.value)} 户`),qa=p(()=>I.map(e=>({key:e.key,name:yn(e.key,e.name),color:e.color}))),Et=p(()=>{var a,n;const e=Ut(),t=Ne("yak-recognition-layer");return[t?P(M({},t),{color:"#FFE600"}):null,e?P(M({},e),{color:((n=(a=e.legends)==null?void 0:a[0])==null?void 0:n.fillColor)||"#20D8FF"}):null].filter(Boolean)}),Xa=p(()=>Z.value?Hr(w.value):Or(pt.value)),Dt=p(()=>vn(Xa.value)),Bt=p(()=>{const e=Dt.value.left;return e.filter(t=>!(t!=null&&t.placeholder)).map(t=>Yt(t,e.length))}),Vt=p(()=>{const e=Dt.value.right;return e.map(t=>Yt(t,e.length))}),zt=p(()=>Ht(ie.value)),Ja=p(()=>{const e=Ne("yak-industry-points"),t=e?P(M({},e),{geojsonData:g.value}):null;if(Z.value){const n=new Set(Se.value),s=Et.value.filter(f=>n.has(f.key));if(!t)return s[0]||null;const u=zt.value;if(!u.length){const[f,...x]=s;return f?P(M({},f),{overlayLayers:x}):null}const h=u.map(f=>at(t,f)).filter(Boolean);if(!h.length){const[f,...x]=s;return f?P(M({},f),{overlayLayers:x}):null}return P(M({},t),{showPointLabels:!1,activeLegends:h,cqlFilter:`stage_key IN (${u.map(f=>`'${String(f).replaceAll("'","''")}'`).join(",")})`,overlayLayers:s})}if(et.value){const n=[];if(qe.value.includes("artificial-grassland-plots")){const h=Ut();h&&n.push(h)}if(qe.value.includes("yak-industry-points")&&t){const h=at(t,"artificial-grassland");n.push(P(M({},t),{showPointLabels:!1,activeLegend:h,cqlFilter:"stage_key='artificial-grassland'"}))}if(!n.length)return null;const[s,...u]=n;return P(M({},s),{overlayLayers:u})}const a=at(t,S.value);return t&&P(M({},t),{showPointLabels:!1,activeLegend:a||hn(S.value),cqlFilter:`stage_key='${String(S.value).replaceAll("'","''")}'`})}),Za=p(()=>[Ke,...I].map(e=>({key:e.key,name:e.name,color:e.color,width:e.width}))),Qa=p(()=>{if(Z.value)return{showTownNames:!0,showBars:!1,showPointMarkers:!1,hideTownLabelStats:!0,title:"牦牛全产业链",metricLabel:"产业点位",unit:"个",rows:[]};const e=S.value==="family-pasture",t=et.value&&qe.value.includes("yak-industry-points");return{showTownNames:!0,showBars:!1,showPointMarkers:!e&&!et.value||t,showMissingTownStats:e,hideTownLabelStats:e,title:e?"家庭生态牧场":`${ht.value.name}排行`,metricLabel:e?"生态牧场":ht.value.metricLabel,unit:ht.value.unit,rows:e?Yr(pt.value):[]}}),tt=p(()=>{var e;return At(P(M({},$.value||{}),{featuredBaseKey:X.value||((e=$.value)==null?void 0:e.featuredBaseKey)}))}),bt=p(()=>{const e=$.value;if(!e)return[];if(tt.value){const t=tt.value,a=Rt(e).filter(n=>["设计存栏","年出栏量"].includes(n.label));return[{label:"名称",value:t.name},{label:"所在地",value:`${t.town} ${t.village}`},{label:"运营单位",value:t.operator},...a].filter(n=>n.value!==void 0&&n.value!==null&&String(n.value).trim()!=="")}return e.categoryCode==="YC-FAMILY-PASTURE"?[{label:"名称",value:H(e.name)},{label:"所在乡镇",value:H(e.town)},...Rt(e)].filter(t=>t.value!==void 0&&t.value!==null&&String(t.value).trim()!==""):[{label:"名称",value:H(e.name)},{label:"所属环节",value:H(e.stageName)},{label:"主体类型",value:H(e.categoryName)},{label:"所在乡镇",value:H(e.town)},{label:"能力规模",value:Hn(e)},...Rt(e)].filter(t=>t.value!==void 0&&t.value!==null&&String(t.value).trim()!=="")}),en=p(()=>{var e,t;return tt.value?"重点示范基地":H(((e=$.value)==null?void 0:e.categoryName)||((t=$.value)==null?void 0:t.stageName))}),tn=p(()=>{var e;return $.value?{id:$.value.id||$.value.key||$.value.name,layer:Ne("yak-industry-points"),properties:P(M({},$.value),{name:((e=tt.value)==null?void 0:e.name)||$.value.name})}:null}),an=p(()=>{var t,a,n;const e=((t=J.value)==null?void 0:t.properties)||{};return[{label:"图斑编号",value:H(e.plotCode||e.plot_code||e.plotNo||e.id||e.name)},{label:"所在乡镇",value:H(e.town||e.town_name||e.townName)||"未识别"},{label:"所在村",value:H(e.village||e.village_name||e.villageName)||"未识别"},{label:"图斑面积",value:Yn((a=e.area_mu)!=null?a:e.areaMu,(n=e.area_m2)!=null?n:e.areaM2)||"未计算"}]}),nn=p(()=>Be().panelWidth),rn=p(()=>Be().panelHeight),ln=p(()=>{const{panelWidth:e,panelHeight:t}=Be(),a=ce.value;if(a){const s=Mt(a.x,a.y);return{left:`${s.x}px`,top:`${s.y}px`,width:`${e}px`,"--feature-arrow-display":"none"}}const n=wa(e,t);return{left:`${n.x}px`,top:`${n.y}px`,width:`${e}px`,"--feature-arrow-left":`${n.arrowLeft}px`,"--feature-arrow-top":`${n.arrowTop}px`,"--feature-arrow-rotate":n.arrowRotate,"--feature-panel-anchor-x":`${n.arrowLeft}px`}}),sn=p(()=>{const t=za,a=452,n=1468,s=116,u=944,h=26,f={x:Math.max(a,Math.min(n,Number(fe.value.x||960))),y:Math.max(128,Math.min(960,Number(fe.value.y||540)))},x=Math.min(Math.max(f.x-460/2,a),n-460),V=f.y-t-h,z=V>=s,G=z?V:Math.min(Math.max(f.y+h,s),u-t),re=Math.min(Math.max(f.x-x,26),460-26);return{left:`${x}px`,top:`${G}px`,"--feature-arrow-left":`${re}px`,"--feature-arrow-top":z?`${t-6}px`:"-6px","--feature-arrow-rotate":z?"45deg":"225deg"}});function on(){return U(this,null,function*(){D.value=!0,E.value="";try{const[e,t,a,n]=yield Promise.all([nr(),rr(),lr(),sr()]),s=zr(e);I.splice(0,I.length,...s),ie.value.length||(ie.value=s.map(u=>u.key)),w.value=t||{hasData:!1,topStats:[],panels:{left:[],right:[]}},g.value=(n==null?void 0:n.type)==="FeatureCollection"?n:{type:"FeatureCollection",features:[]},Object.assign(se,a||{}),Je.splice(0,Je.length,...(a==null?void 0:a.institutionRows)||[]),Lt()}catch(e){E.value=(e==null?void 0:e.message)||"牦牛产业链数据加载失败"}finally{D.value=!1}})}function un(a){return U(this,arguments,function*(e,{force:t=!1}={}){var s;if(!e||e===W||!t&&((s=d[e])==null?void 0:s.hasData)!==void 0)return;if(Qe.has(e))return Qe.get(e);D.value=!0,E.value="";const n=ir(e,{page:1,pageSize:300}).then(u=>{d[e]=u||{hasData:!1,topStats:[],panels:{left:[],right:[]}},S.value===e&&Lt(e)}).catch(u=>{E.value=(u==null?void 0:u.message)||`${Ue(e,I).name}数据加载失败`}).finally(()=>{Qe.delete(e),D.value=!1});return Qe.set(e,n),n})}$e(S,e=>{e===W?he.value=W:he.value=e,pe.value="",te.value=!1,e!==W&&un(e),Lt(e)},{immediate:!0}),qn(()=>U(this,null,function*(){xt(),window.addEventListener("resize",xt),window.addEventListener("pointerdown",Qt),window.addEventListener("keydown",Xt),Pn(),yield on()})),Xn(()=>{var e,t;gt=!0,window.removeEventListener("resize",xt),window.removeEventListener("pointerdown",Qt),window.removeEventListener("keydown",Xt),Le(),lt(),ne&&window.clearTimeout(ne),K&&window.cancelAnimationFrame(K),(t=(e=B.value)==null?void 0:e.destroyMap)==null||t.call(e)}),$e(()=>L.active,e=>{var t,a,n,s;B.value&&(e?($t(),(a=(t=B.value).resume)==null||a.call(t)):(s=(n=B.value).pause)==null||s.call(n))}),$e(qe,()=>{j()},{deep:!0}),$e([Re,me,be,we,ke,_e],()=>{ae.value=1,Te.value&&kt()}),$e(ie,e=>{if(!Z.value)return;const t=Ht(e),a=t.length===1?t[0]:W;he.value!==a&&(he.value=a,pe.value=""),j()},{deep:!0}),$e(Se,()=>{Z.value&&j()},{deep:!0});function dn(e){e!==S.value&&(S.value=e,j())}function Ot(){return I.map(e=>e.key)}function Ht(e=[]){const t=new Set(Ot());return Array.from(new Set((Array.isArray(e)?e:[e]).map(a=>String(a||"")).filter(a=>t.has(a))))}function cn(e){if(e===W){ie.value=Ot(),Se.value=[];return}I.some(t=>t.key===e)&&(ie.value=[e],Se.value=e==="artificial-grassland"?["artificial-grassland-plots"]:[])}function yn(e,t=""){var n;const a=Ne("yak-industry-points");return((n=at(a,e))==null?void 0:n.name)||t}function vn(e={}){const t=Gt(e.left),a=Gt(e.right);if(a.length)return{left:t,right:a};const n=[...t,...a];return n.length<=4?{left:n,right:[]}:{left:t,right:a}}function Yt(e,t=0){if((e==null?void 0:e.preserveHeight)===!0&&Number((e==null?void 0:e.height)||0)>0)return P(M({},e),{height:Number(e.height)});if((e==null?void 0:e.fixedHeight)===!0)return P(M({},e),{height:le.value});if((e==null?void 0:e.fillHeight)===!0)return P(M({},e),{height:fn(t)});if(["projectTable","projectLedger"].includes(e==null?void 0:e.type))return P(M({},e),{height:gn(e)});const a=Number((e==null?void 0:e.height)||0)>=400||(e==null?void 0:e.span)===2,n=(e==null?void 0:e.keepSpanHeight)===!0;return P(M({},e),{height:t===1&&!n?dt.value:a?Me.value:le.value})}function fn(e=1){const t=Math.max(1,Number(e)||1),n=Math.max(1080,Number(R.value)||1080)-F-Y-T*Math.max(t-1,0);return Math.max(q,Math.floor(n/t))}function gn(e={}){if((e==null?void 0:e.span)===2||(e==null?void 0:e.keepSpanHeight)===!0)return Me.value;const t=Array.isArray(e.rows)?e.rows:[],a=100,n=32,s=a+25+t.length*n;return Math.min(Me.value,Math.max(le.value,s))}function Gt(e=[]){return e.filter(Boolean)}function at(e,t){var a;return!((a=e==null?void 0:e.legends)!=null&&a.length)||!t?null:e.legends.find(n=>{var s;return((s=n.match)==null?void 0:s.value)===t||n.key===`yak-industry-${t}`||Array.isArray(n.matches)&&n.matches.some(u=>u.value===t)})||null}function hn(e){const t=Ue(e,I);return{key:`yak-industry-empty-${e}`,name:t.name,fillColor:t.color,strokeColor:t.color,iconType:t.iconType,match:{field:"stage_key",value:e}}}function Ut(){var t;const e=Ne("artificial-grassland-plots");return e?P(M({},e),{activeLegend:(t=e.legends)==null?void 0:t[0]}):null}function nt(e={}){return(e==null?void 0:e.renderer)==="business"&&(e==null?void 0:e.type)==="column"&&(e==null?void 0:e.variant)==="townCompact"}function Wt(e={}){return(e==null?void 0:e.hasMore)===!0&&String((e==null?void 0:e.key)||"").startsWith("social-service-credit-")}function wt(){return U(this,arguments,function*(e={}){e.preserveFilters||Kt(),Te.value=!0,ae.value=1,yield kt()})}function kt(){return U(this,null,function*(){if(!Ae.value){Ae.value=!0,Xe.value="";try{const e=yield ar({keyword:Re.value,town:me.value,villageGrade:be.value,rating:we.value,authorization:ke.value,institution:_e.value,page:ae.value,pageSize:Ba});Ft.value=Array.isArray(e==null?void 0:e.rows)?e.rows:[],ct.value=Number((e==null?void 0:e.totalCount)||0)}catch(e){Xe.value=(e==null?void 0:e.message)||"信用信息加载失败"}finally{Ae.value=!1}}})}function Kt(){Re.value="",me.value="",be.value="",we.value="",ke.value="",_e.value=""}function jt(e={}){Kt();const t=String(e.value||"");e.type==="town"&&(me.value=t),e.type==="villageGrade"&&(be.value=t),e.type==="rating"&&(we.value=t),e.type==="authorization"&&(ke.value=t),e.type==="institution"&&(_e.value=t),wt({preserveFilters:!0})}function _t(){Te.value=!1}function qt(e){ae.value=Math.max(1,Math.min(mt.value,Number(e)||1)),kt()}function Xt(e){e.key==="Escape"&&Te.value&&_t()}function Jt(e={}){return Array.isArray(e.rows)&&e.rows.some(t=>Number.isFinite(Number(t==null?void 0:t.value)))}function Zt(e={}){return Array.isArray(e.tabs)?e.tabs:[]}function Ie(e={}){const t=Zt(e);return t.find(a=>a.key===he.value)||t[0]||{rows:[]}}function pn(){te.value=!te.value}function mn(e={}){te.value=!1,bn(e)}function Qt(e={}){var a;const t=e.target;(a=t==null?void 0:t.closest)!=null&&a.call(t,".industry-tabbed-map-list__selector")||(te.value=!1)}function bn(e={}){if(e.key){if(he.value=e.key,pe.value="",Z.value){cn(e.key),j();return}if(e.key===W){S.value=W,j();return}e.key!==S.value&&(S.value=e.key,j())}}function St(e={}){const t=Ie(e),a=ea(pe.value),n=Array.isArray(t.rows)?t.rows:[];return a?n.filter(s=>ea(wn(s)).includes(a)):n}function wn(e={}){return[e.name,e.fullName,e.stageName,e.categoryName,e.town,e.village,e.address,e.valueText,e.extra,e.sourceSheet,e.searchText].filter(Boolean).join(" ")}function ea(e=""){return String(e||"").replace(/\s+/g,"").toLowerCase()}function kn(e={}){const t=Ie(e);return t!=null&&t.name?`搜索${t.name}、乡镇或村`:e.searchPlaceholder||"搜索主体、环节或乡镇"}function _n(e={}){const t=Ie(e),a=Array.isArray(t.rows)?t.rows:[],n=St(e);return n.length!==a.length?`${n.length}/${a.length}条`:`${a.length}条`}function ta(e={}){return H(e.ledgerName||e.name||e.fullName||"未命名点位")}function aa(e={}){return H([e.town,e.village||e.address].filter(Boolean).join(" / "))||"暂无区域"}function Sn(e={}){var n,s;const t=String(((n=$.value)==null?void 0:n.id)||((s=$.value)==null?void 0:s.key)||""),a=String(e.key||e.id||"");return!!(t&&a&&t===a)}function Cn(){return U(this,arguments,function*(e={}){yield Nt(e)})}function Ee(e={}){return Array.isArray(e.rows)?e.rows.filter(t=>Number((t==null?void 0:t.value)||0)>0):[]}function na(e={}){return Ee(e).reduce((t,a)=>t+(Number(a==null?void 0:a.value)||0),0)||1}function ra(e={},t={}){const a=Number(e==null?void 0:e.value)||0;return a?Math.max(4,Number((a/na(t)*100).toFixed(2))):0}function la(e={},t={}){const a=Number(e==null?void 0:e.value)||0;return a?Math.max(1.8,Number((a/na(t)*100).toFixed(2))):0}function rt(e={},t=0){return e.color||e.fillColor||Ge[t%Ge.length]}function sa(e={}){return e.displayValue!==void 0&&e.displayValue!==null&&e.displayValue!==""?e.displayValue:Q(Number(e.value||0))}function xe(e={}){return(e==null?void 0:e.displayValue)!==void 0&&e.displayValue!==null&&e.displayValue!==""?e.displayValue:Q(Number((e==null?void 0:e.value)||0))}function ia(e={}){return Array.isArray(e.rows)?e.rows.filter(t=>Number((t==null?void 0:t.value)||0)>0):[]}function De(e={},t=""){return ia(e).find(a=>a.key===t)||null}function ue(e={}){return De(e,"forage-trade-sales-amount")||ia(e)[0]||{name:"销售金额",value:0,unit:"万元",extra:""}}function Ct(e={}){return[De(e,"forage-trade-sales-amount"),De(e,"forage-trade-purchase-amount")].filter(Boolean)}function oa(e={}){return[De(e,"forage-trade-plant-area"),De(e,"forage-trade-forage-ton")].filter(Boolean)}function ua(e={},t={}){const a=Number((e==null?void 0:e.value)||0),n=Math.max(...Ct(t).map(s=>Number((s==null?void 0:s.value)||0)),1);return Math.max(7,Math.round(a/n*100))}function da(e=0){return["#32dcff","#22f6b8"][e%2]}function ca(e={}){const t=Array.isArray(e.rows)?e.rows:[],a=t.map(u=>Number(u!=null&&u.zero?0:(u==null?void 0:u.value)||0)),n=Math.max(...a,1),s=xn(t);return dr({animationDuration:720,animationEasing:"cubicOut",grid:{top:30,right:8,bottom:58,left:8,containLabel:!1},tooltip:cr((u=[])=>{var G;const f=((G=(Array.isArray(u)?u:[u])[0])==null?void 0:G.data)||{},x=f.zero?"0":f.displayValue,V=f.unit||s||"",z=f.extra?`
${f.extra}`:"";return`${f.name||""}
${x}${V}${z}`},{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{color:"rgba(48, 220, 255, 0.06)"}},confine:!0}),graphic:s?[{type:"text",right:10,top:4,silent:!0,style:{text:`单位:${s}`,fill:Ra,font:`10px ${yr}`}}]:[],xAxis:{type:"category",data:t.map(u=>(u==null?void 0:u.name)||""),axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisLabel:{color:vr,fontSize:10,fontWeight:700,lineHeight:14,interval:0,margin:10,formatter:(e==null?void 0:e.axisLabelMode)==="short"?$n:Ln}},yAxis:{type:"value",min:0,max:Math.ceil(n*1.18),splitNumber:3,axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!0,lineStyle:{color:fr,type:"dashed"}}},series:[{type:"bar",data:t.map((u,h)=>{var V;const f=!!(u!=null&&u.zero||u!=null&&u.isZero),x=f?0:Number((u==null?void 0:u.value)||0);return{name:u==null?void 0:u.name,value:x,displayValue:(V=u==null?void 0:u.displayValue)!=null?V:Q(x),unit:(u==null?void 0:u.unit)||s||"",extra:(u==null?void 0:u.extra)||"",zero:f,itemStyle:{color:f?"rgba(48, 220, 255, 0.1)":e!=null&&e.uniformColor?Mn():Nn(h,u)}}}),barWidth:6,barMinHeight:3,showBackground:!0,backgroundStyle:{color:"rgba(48, 220, 255, 0.06)",borderColor:"rgba(48, 220, 255, 0.08)",borderWidth:1},itemStyle:{borderRadius:[4,4,0,0]},label:{show:!0,position:"top",distance:5,color:Fa,fontFamily:gr,fontSize:10,fontWeight:700,formatter(u={}){var f;const h=u.data||{};return h.zero?"0":(f=h.displayValue)!=null?f:Q(Number(h.value||0))}},emphasis:{focus:"series",itemStyle:{shadowBlur:0,shadowColor:"rgba(48, 220, 255, 0)"}}}]})}function xn(e=[]){const t=[...new Set(e.map(a=>a==null?void 0:a.unit).filter(Boolean))];return t.length===1?t[0]:""}function Ln(e){const t=String(e||"").replace(/\s+/g,"");return Array.from(t).slice(0,3).join(` +var Gn=Object.defineProperty,Un=Object.defineProperties;var Wn=Object.getOwnPropertyDescriptors;var Ca=Object.getOwnPropertySymbols;var Kn=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable;var xa=(c,k,m)=>k in c?Gn(c,k,{enumerable:!0,configurable:!0,writable:!0,value:m}):c[k]=m,M=(c,k)=>{for(var m in k||(k={}))Kn.call(k,m)&&xa(c,m,k[m]);if(Ca)for(var m of Ca(k))jn.call(k,m)&&xa(c,m,k[m]);return c},P=(c,k)=>Un(c,Wn(k));var U=(c,k,m)=>new Promise((L,y)=>{var v=F=>{try{T(m.next(F))}catch(Y){y(Y)}},R=F=>{try{T(m.throw(F))}catch(Y){y(Y)}},T=F=>F.done?L(F.value):Promise.resolve(F.value).then(v,R);T((m=m.apply(c,k)).next())});import{g as p,o as l,c as o,F as b,a as r,B as N,t as i,y as C,K as A,j as O,n as ee,d as _,w as $e,q as qn,h as Xn,A as st,b as ze,C as de,x as it,f as ot,u as Oe,s as ye,H as La,ab as He,L as ut}from"./index-1786807848259.js";import{H as $a}from"./index.esm.min-024ee703-1786807848259.js";import{_ as Na}from"./index-0eddac6c-1786807848259.js";import{M as Jn}from"./index-80cb981f-1786807848259.js";import{a as Ma,_ as Pa}from"./FeatureInfoPanel-9b5cdecf-1786807848259.js";import{_ as Zn}from"./LayerPanel-e92912ff-1786807848259.js";import{_ as Qn}from"./TopicSwitcher-c91bad20-1786807848259.js";import{_ as er}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{A as tr}from"./assets-8728b943-1786807848259.js";import{g as Ne,b as ar,c as nr,d as rr,e as lr,f as sr,h as ir,i as or,a as Ta}from"./layers-3f51b190-1786807848259.js";import{q as Ye,r as ur,s as Aa}from"./screen2Standard-03f7f908-1786807848259.js";import{e as Ge,w as dr,f as cr,l as Ra,m as Fa,n as yr,o as vr,p as fr,q as gr,s as Ia}from"./chartTheme-7114e4ea-1786807848259.js";import"./index-db918426-1786807848259.js";const hr={class:"credit-village-total"},pr={class:"credit-grade-band","aria-label":"信用村等级比例"},mr=["aria-label","onClick"],br={class:"credit-grade-grid"},wr=["onClick"],kr={class:"credit-town-legend","aria-label":"信用村等级图例"},_r={class:"credit-town-list"},Sr=["aria-label","onClick"],Cr={class:"credit-town-stack","aria-hidden":"true"},xr={class:"credit-town-count"},Lr={class:"credit-authorization-layout"},$r={class:"credit-authorization-ring","aria-hidden":"true"},Nr={viewBox:"0 0 128 128"},Mr=["stroke","stroke-dasharray","stroke-dashoffset"],Pr={class:"credit-authorization-list"},Tr=["onClick"],Ar={class:"credit-panel-note"},Rr={class:"credit-institution-summary"},Fr={class:"credit-institution-list"},Ir=["onClick"],Er={class:"credit-rating-summary"},Dr={class:"credit-rating-list"},Br=["onClick"],Vr={__name:"SocialCreditPanel",props:{panel:{type:Object,default:()=>({rows:[]})}},emits:["select"],setup(c,{emit:k}){const m=c,L=k,y=p(()=>{var w;return((w=m.panel)==null?void 0:w.variant)||""}),v=p(()=>{var w;return Array.isArray((w=m.panel)==null?void 0:w.rows)?m.panel.rows:[]}),R=p(()=>Math.max(1,...v.value.map(w=>Number(w.value||0)))),T=p(()=>{var w;return((w=v.value[0])==null?void 0:w.segments)||[]}),F=p(()=>{let w=0;return v.value.map(g=>{const d=Number(g.percent||0),D=P(M({},g),{percent:d,offset:w});return w+=d,D})}),Y=["#37f2bd","#28e4d5","#30dcff","#48cfff","#7ab8ff","#8b9ead"];function q(w,g){L("select",{type:w,value:g})}function le(w){return Math.max(1.5,Number(w||0)/R.value*100)}function Me(w){var d;const g=Number(((d=m.panel)==null?void 0:d.total)||0);return g>0?Number(w||0)/g*100:0}function dt(w){return Y[w%Y.length]}function Ke(w){const g=(w.segments||[]).filter(d=>d.value>0).map(d=>`${d.name}${d.value}个`).join(",");return`${w.name}共${w.total}个信用村,${g}`}function S(w){const g=Number(w||0);return g.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(g)?0:1})}function I(w,g=1){return`${Number(w||0).toFixed(g)}%`}return(w,g)=>(l(),o("div",{class:ee(["social-credit-panel",`is-${y.value}`])},[y.value==="villageOverview"?(l(),o(b,{key:0},[r("div",hr,[g[0]||(g[0]=r("span",null,"信用村总数",-1)),r("strong",null,[N(i(S(c.panel.total)),1),r("em",null,i(c.panel.totalUnit||"个"),1)]),g[1]||(g[1]=r("small",null,"A—D级源表口径",-1))]),r("div",pr,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({width:`${d.percent}%`,background:d.color}),"aria-label":`${d.displayName}${d.value}个村,占${d.percent}%`,onClick:D=>q("villageGrade",d.name)},null,12,mr))),128))]),r("div",br,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({"--credit-color":d.color}),onClick:D=>q("villageGrade",d.name)},[r("span",null,[g[2]||(g[2]=r("i",null,null,-1)),N(i(d.displayName),1)]),r("strong",null,[N(i(S(d.value)),1),g[3]||(g[3]=r("em",null,"个村",-1))]),r("small",null,i(I(d.percent)),1)],12,wr))),128))])],64)):y.value==="townGradeRank"?(l(),o(b,{key:1},[r("div",kr,[(l(!0),o(b,null,C(T.value,d=>(l(),o("span",{key:d.key},[r("i",{style:A({background:d.color})},null,4),N(i(d.key),1)]))),128)),g[4]||(g[4]=r("small",null,"单位:个村",-1))]),r("div",_r,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key,type:"button","aria-label":Ke(d),onClick:E=>q("town",d.name)},[r("b",null,i(String(D+1).padStart(2,"0")),1),r("strong",null,i(d.name),1),r("span",Cr,[(l(!0),o(b,null,C(d.segments.filter(E=>E.value>0),E=>(l(),o("i",{key:E.key,style:A({width:`${d.total>0?E.value/d.total*100:0}%`,background:E.color})},[r("em",null,i(E.key.replace("级",""))+i(E.value),1)],4))),128))]),r("span",xr,[N(i(d.total),1),g[5]||(g[5]=r("em",null,"个",-1))])],8,Sr))),128))])],64)):y.value==="authorization"?(l(),o(b,{key:2},[r("div",Lr,[r("div",$r,[(l(),o("svg",Nr,[g[6]||(g[6]=r("circle",{class:"credit-authorization-track",cx:"64",cy:"64",r:"48",pathLength:"100"},null,-1)),(l(!0),o(b,null,C(F.value,d=>(l(),o("circle",{key:d.key,class:"credit-authorization-segment",cx:"64",cy:"64",r:"48",pathLength:"100",stroke:d.color,"stroke-dasharray":`${d.percent} ${100-d.percent}`,"stroke-dashoffset":-d.offset},null,8,Mr))),128))])),r("div",null,[r("strong",null,i(I(c.panel.authorizationRate,1)),1),g[7]||(g[7]=r("span",null,"授信率",-1))])]),r("div",Pr,[(l(!0),o(b,null,C(v.value,d=>(l(),o("button",{key:d.key,type:"button",style:A({"--credit-color":d.color}),onClick:D=>q("authorization",d.statusValue)},[r("span",null,[g[8]||(g[8]=r("i",null,null,-1)),N(i(d.name),1)]),r("strong",null,[N(i(S(d.value)),1),g[9]||(g[9]=r("em",null,"户",-1))]),r("small",null,i(I(d.percent,d.percent<.1?2:1)),1)],12,Tr))),128))])]),r("p",Ar,"评定用户合计 "+i(S(c.panel.total))+" 户,授信状态完整闭环",1)],64)):y.value==="institutionRank"?(l(),o(b,{key:3},[r("div",Rr,[g[11]||(g[11]=r("span",null,"评定机构",-1)),r("strong",null,[N(i(c.panel.institutionCount),1),g[10]||(g[10]=r("em",null,"家",-1))]),g[12]||(g[12]=r("small",null,"主值为评定用户数",-1))]),r("div",Fr,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key,type:"button",onClick:E=>q("institution",d.name)},[r("b",null,i(D+1),1),r("div",null,[r("span",null,[r("strong",null,i(d.name),1),r("em",null,i(S(d.value))+"户",1)]),r("i",null,[r("u",{style:A({width:`${le(d.value)}%`})},null,4)]),r("small",null,"已授信 "+i(S(d.authorizedCount))+"户 · 授信率 "+i(I(d.authorizationRate,1)),1)])],8,Ir))),128))])],64)):y.value==="userRating"?(l(),o(b,{key:4},[r("div",Er,[g[14]||(g[14]=r("span",null,"全部星级",-1)),r("strong",null,[N(i(S(c.panel.total)),1),g[13]||(g[13]=r("em",null,"户",-1))]),g[15]||(g[15]=r("small",null,"五星至一星及其他",-1))]),r("div",Dr,[(l(!0),o(b,null,C(v.value,(d,D)=>(l(),o("button",{key:d.key||d.name,type:"button",style:A({"--rating-color":dt(D)}),onClick:E=>q("rating",d.name)},[r("span",null,[g[16]||(g[16]=r("i",null,null,-1)),N(i(d.name),1)]),r("u",null,[r("i",{style:A({width:`${le(d.value)}%`})},null,4)]),r("strong",null,[N(i(S(d.value)),1),g[17]||(g[17]=r("em",null,"户",-1))]),r("small",null,i(I(Me(d.value),1)),1)],12,Br))),128))])],64)):O("",!0)],2))}},Ea=er(Vr,[["__scopeId","data-v-86c9aa6d"]]),W="industry-overview";function zr(c={}){const k=Array.isArray(c.visibleStages)?c.visibleStages:[];if(!k.length)throw new Error("V3产业链环节数据缺失");return k}function Ue(c,k=[]){return k.find(m=>m.key===c)||k[0]||{key:c,name:"产业环节",color:"#30dcff",unit:"",metricLabel:"业务数据"}}function Or(c={}){return c.panels||{left:[],right:[]}}function Hr(c={}){return c.panels||{left:[],right:[]}}function Yr(c={}){return Array.isArray(c.mapRankingRows)?c.mapRankingRows:[]}function At(c={}){return c.profile||null}function Rt(c={}){const k=Array.isArray(c.detailRows)?c.detailRows:[],m=new Map(k.map(T=>[String((T==null?void 0:T.label)||"").trim(),T==null?void 0:T.value])),L=[],y=(...T)=>{for(const F of T){const Y=m.get(F);if(!We(Y))return Y}return""},v=(T,F,Y="",q={})=>{We(F)||L.push(M({label:T,value:Gr(F,Y)},q))};return c.categoryCode==="YC-FAMILY-PASTURE"&&(c.markerOnly===!0||c.coordinateMatchLevel==="markerOnly")||c.categoryCode==="YC-MILK-SOURCE-STATION"?(v("所在村",c.village||c.address),L):c.categoryCode==="YC-FAMILY-PASTURE"?(v("户主",c.owner||y("户主")),v("建设年份",c.constructionYear,"年"),v("所在村",c.village||c.address),v("标准化暖棚",y("标准化暖棚"),"㎡"),v("管理用房",y("管理用房"),"㎡"),v("饲草料库",y("饲草料库"),"㎡"),v("活动场地",y("活动场地及通道","活动场地"),"㎡"),v("草料配套",y("草料配套"),"",{wide:!0}),L):c.categoryCode==="YC-FORAGE-TRADE-CENTER"?(v("种草面积",y("种草面积"),"亩"),v("饲草销售量",y("饲草销售量"),"吨"),v("草种销售量",y("草种销售量"),"吨"),v("销售金额",y("销售金额"),"万元"),v("采购金额",y("采购金额"),"万元"),v("销售主体数",y("销售主体数"),"家"),L):(v("运营单位",y("运营单位")),v("育种等级",y("育种等级")),v("育种方向",y("主要育种方向","育种方向")),v("设计存栏",y("设计存栏量","设计存栏"),"头"),v("年出栏量",y("年出栏量"),"头"),v("种植面积",y("种植面积"),"亩"),v("总库容",y("总库容"),"吨"),v("年产值",y("年产值","年总产值"),"万元"),v("年加工量",y("年加工鲜奶总量","年加工原料肉总量","年加工量"),"吨"),v("年屠宰量",y("年屠宰总量","年屠宰量"),"头"),v("服务覆盖",y("服务覆盖乡镇数","服务覆盖"),"个乡镇"),v("最高授信",y("最高单户贷款额度","最高授信"),"万元"),v("主要产品",y("主要产品")),v("主要草种",y("主要草种","储备草种")),L.slice(0,8))}function Da(c={}){const k=[c.capacityText,c.capacity,c.capacityValue].find(R=>!We(R));if(!We(k))return Oa(k,c.capacityUnit);const m=Array.isArray(c.detailRows)?c.detailRows:[],L=new Map(m.map(R=>[String((R==null?void 0:R.label)||"").trim(),R==null?void 0:R.value])),y=(...R)=>{for(const T of R){const F=L.get(T);if(!We(F))return F}return""},v=String(c.categoryCode||"");return v==="YC-BREEDING-STOCK"?y("育种等级")||"待完善":v==="YC-BREEDING-BASE"?y("设计存栏量","设计存栏"):["YC-FORAGE-BASE","YC-CXPT-FORAGE-BASE","YC-CXPT-GRASS-SEED-BASE"].includes(v)?y("种植面积"):v==="YC-DISASTER-FORAGE-STORAGE"?y("总库容"):v==="YC-MILK-SOURCE-STATION"?"1个":v==="YC-FORAGE-TRADE-CENTER"?y("销售金额")||y("种草面积"):v==="YC-PROCESSING-PLANT"?y("年产值")||y("年加工鲜奶总量","年加工原料肉总量"):v==="YC-SLAUGHTERHOUSE"?y("年总产值","年产值")||y("年屠宰总量"):v==="YC-SERVICE-FINANCE"?y("最高单户贷款额度","服务覆盖乡镇数"):v==="YC-SERVICE-INSURANCE"?y("服务覆盖乡镇数"):v==="YC-TECH-TRAINING"?y("年培训人次","年培训场次"):""}function Oa(c,k=""){const m=String(c!=null?c:"").trim(),L=String(k||"").trim();return!L||m.includes(L.replace(/^个/,""))?m:`${m}${L}`}function Gr(c,k=""){const m=Oa(c,k);if(k==="年"&&/^\d{4}年$/.test(m))return m;const L=m.match(/^(-?\d+(?:\.\d+)?)(.*)$/);if(!L)return m;const y=Number(L[1]);return Number.isFinite(y)?`${y.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(y)?0:1})}${L[2]}`:m}function We(c){return c==null||String(c).trim()===""||String(c).trim().toLowerCase()==="nan"}const Ur={key:0,class:"industry-data-state"},Wr={key:1,class:"industry-data-state is-error"},Kr={key:2,class:"industry-data-state"},jr={key:3,class:"industry-map-loading"},qr={key:5,class:"fgw-left industry-side-panel industry-side-panel--left"},Xr={class:"fgw-side-stack industry-side-stack is-left"},Jr=["aria-label"],Zr={key:2,class:"industry-panel-empty"},Qr={key:3,class:"industry-stage-composition-chart"},el={class:"industry-stage-composition-chart__band","aria-hidden":"true"},tl={class:"industry-stage-composition-chart__grid"},al={key:4,class:"industry-forage-trade-dashboard"},nl={class:"industry-forage-trade-dashboard__hero"},rl={class:"industry-forage-trade-dashboard__flows"},ll={class:"industry-forage-trade-dashboard__metrics"},sl={key:6,class:"industry-featured-base-list"},il=["disabled","aria-label","onClick"],ol={class:"industry-featured-base__index"},ul={class:"industry-featured-base__copy"},dl={key:7,class:"industry-leadership-mode-list"},cl={key:8,class:"industry-ledger-list"},yl={key:6,class:"fgw-right industry-side-panel industry-side-panel--right"},vl={class:"fgw-side-stack industry-side-stack is-right"},fl=["aria-label"],gl={key:2,class:"industry-panel-empty"},hl={key:3,class:"industry-stage-composition-chart"},pl={class:"industry-stage-composition-chart__band","aria-hidden":"true"},ml={class:"industry-stage-composition-chart__grid"},bl={key:4,class:"industry-forage-trade-dashboard"},wl={class:"industry-forage-trade-dashboard__hero"},kl={class:"industry-forage-trade-dashboard__flows"},_l={class:"industry-forage-trade-dashboard__metrics"},Sl={key:5,class:"industry-tabbed-map-list"},Cl={class:"industry-tabbed-map-list__selector"},xl={key:0,class:"industry-tabbed-map-list__menu"},Ll=["onClick"],$l={class:"industry-tabbed-map-list__tools"},Nl=["placeholder"],Ml={class:"industry-tabbed-map-list__rows"},Pl=["disabled","onClick"],Tl={class:"industry-tabbed-map-list__name"},Al=["title"],Rl={class:"industry-tabbed-map-list__meta"},Fl=["title"],Il={key:0,class:"industry-tabbed-map-list__empty"},El={key:7,class:"industry-featured-base-list"},Dl=["disabled","aria-label","onClick"],Bl={class:"industry-featured-base__index"},Vl={class:"industry-featured-base__copy"},zl={key:8,class:"industry-leadership-mode-list"},Ol={key:9,class:"industry-ledger-list"},Hl={class:"industry-credit-dialog",role:"dialog","aria-modal":"true","aria-label":"农牧户信用信息"},Yl={class:"industry-credit-dialog__stats"},Gl={class:"industry-credit-dialog__filters"},Ul=["value"],Wl=["value"],Kl=["value"],jl=["value"],ql={class:"industry-credit-table"},Xl={key:0,class:"industry-credit-table__empty"},Jl={key:1,class:"industry-credit-table__empty is-error"},Zl={key:2,class:"industry-credit-table__empty"},Ql=["title"],es=["title"],ts=["data-grade"],as=["title"],ns={class:"industry-credit-dialog__footer"},rs=["disabled"],ls=["disabled"],ss={class:"industry-bottom-switcher"},Ba=12,Va=430,za=246,ks={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(c,{expose:k,emit:m}){const L=c,y=m,v=Ye.sideCardWidth,R=_(typeof window=="undefined"?1080:window.innerHeight),T=Ye.sideCardGap,F=Ye.sidePanelTop,Y=Ye.sidePanelBottom,q=Ye.sideCardMinHeight,le=p(()=>ur(R.value)),Me=p(()=>Aa(le.value,2)),dt=p(()=>Aa(le.value,4)),Ke={key:W,name:"产业概览",color:"#f0c35a",unit:"个",metricLabel:"产业点位",width:112},S=_(W),I=ut([]),w=_({hasData:!1,topStats:[],panels:{left:[],right:[]}}),g=_({type:"FeatureCollection",features:[]}),d=ut({}),D=_(!0),E=_(""),B=_(null),ve=_(!1),$=_(null),X=_(""),Pe=_({x:0,y:0}),ce=_(null),je=_(!1),J=_(null),fe=_({x:0,y:0}),ge=_(!1),qe=_(["artificial-grassland-plots"]),he=_(W),pe=_(""),te=_(!1),Te=_(!1),Ae=_(!1),Xe=_(""),Ft=_([]),ct=_(0),se=ut({totals:{householdCount:0,authorizedCount:0,unauthorizedCount:0,villageCount:0},townships:[],villageGradeRows:[],userRatingRows:[]}),Je=ut([]),Re=_(""),me=_(""),be=_(""),we=_(""),ke=_(""),_e=_(""),ae=_(1),ie=_(I.map(e=>e.key)),Se=_([]),Ha=new Set(["YC-BREEDING-STOCK","YC-CXPT-BREEDING-STOCK-BASE"]);let Ze=null,yt=!1,Ce=!1,ne=null,K=null,oe=null,vt=0,Fe=null,ft=!1,gt=!1;const Qe=new Map,Z=p(()=>S.value===W),ht=p(()=>Z.value?Ke:Ue(S.value,I)),pt=p(()=>d[S.value]||{hasData:!1,topStats:[],panels:{left:[],right:[]}}),Ya=p(()=>Z.value?w.value.hasData:pt.value.hasData);p(()=>S.value==="family-pasture");const et=p(()=>S.value==="artificial-grassland"),Ga=p(()=>(se.townships||[]).map(e=>e.name)),Ua=p(()=>(se.villageGradeRows||[]).map(e=>e.name)),Wa=p(()=>(se.userRatingRows||[]).map(e=>e.name)),Ka=p(()=>Je.map(e=>e.name)),mt=p(()=>Math.max(1,Math.ceil(ct.value/Ba))),It=p(()=>Ft.value),ja=p(()=>Ae.value?"正在加载信用信息":`筛选结果 ${Q(ct.value)} 户`),qa=p(()=>I.map(e=>({key:e.key,name:yn(e.key,e.name),color:e.color}))),Et=p(()=>{var a,n;const e=Ut(),t=Ne("yak-recognition-layer");return[t?P(M({},t),{color:"#FFE600"}):null,e?P(M({},e),{color:((n=(a=e.legends)==null?void 0:a[0])==null?void 0:n.fillColor)||"#20D8FF"}):null].filter(Boolean)}),Xa=p(()=>Z.value?Hr(w.value):Or(pt.value)),Dt=p(()=>vn(Xa.value)),Bt=p(()=>{const e=Dt.value.left;return e.filter(t=>!(t!=null&&t.placeholder)).map(t=>Yt(t,e.length))}),Vt=p(()=>{const e=Dt.value.right;return e.map(t=>Yt(t,e.length))}),zt=p(()=>Ht(ie.value)),Ja=p(()=>{const e=Ne("yak-industry-points"),t=e?P(M({},e),{geojsonData:g.value}):null;if(Z.value){const n=new Set(Se.value),s=Et.value.filter(f=>n.has(f.key));if(!t)return s[0]||null;const u=zt.value;if(!u.length){const[f,...x]=s;return f?P(M({},f),{overlayLayers:x}):null}const h=u.map(f=>at(t,f)).filter(Boolean);if(!h.length){const[f,...x]=s;return f?P(M({},f),{overlayLayers:x}):null}return P(M({},t),{showPointLabels:!1,activeLegends:h,cqlFilter:`stage_key IN (${u.map(f=>`'${String(f).replaceAll("'","''")}'`).join(",")})`,overlayLayers:s})}if(et.value){const n=[];if(qe.value.includes("artificial-grassland-plots")){const h=Ut();h&&n.push(h)}if(qe.value.includes("yak-industry-points")&&t){const h=at(t,"artificial-grassland");n.push(P(M({},t),{showPointLabels:!1,activeLegend:h,cqlFilter:"stage_key='artificial-grassland'"}))}if(!n.length)return null;const[s,...u]=n;return P(M({},s),{overlayLayers:u})}const a=at(t,S.value);return t&&P(M({},t),{showPointLabels:!1,activeLegend:a||hn(S.value),cqlFilter:`stage_key='${String(S.value).replaceAll("'","''")}'`})}),Za=p(()=>[Ke,...I].map(e=>({key:e.key,name:e.name,color:e.color,width:e.width}))),Qa=p(()=>{if(Z.value)return{showTownNames:!0,showBars:!1,showPointMarkers:!1,hideTownLabelStats:!0,title:"牦牛全产业链",metricLabel:"产业点位",unit:"个",rows:[]};const e=S.value==="family-pasture",t=et.value&&qe.value.includes("yak-industry-points");return{showTownNames:!0,showBars:!1,showPointMarkers:!e&&!et.value||t,showMissingTownStats:e,hideTownLabelStats:e,title:e?"家庭生态牧场":`${ht.value.name}排行`,metricLabel:e?"生态牧场":ht.value.metricLabel,unit:ht.value.unit,rows:e?Yr(pt.value):[]}}),tt=p(()=>{var e;return At(P(M({},$.value||{}),{featuredBaseKey:X.value||((e=$.value)==null?void 0:e.featuredBaseKey)}))}),bt=p(()=>{const e=$.value;if(!e)return[];if(tt.value){const t=tt.value,a=Rt(e).filter(n=>["设计存栏","年出栏量"].includes(n.label));return[{label:"名称",value:t.name},{label:"所在地",value:`${t.town} ${t.village}`},{label:"运营单位",value:t.operator},...a].filter(n=>n.value!==void 0&&n.value!==null&&String(n.value).trim()!=="")}return e.categoryCode==="YC-FAMILY-PASTURE"?[{label:"名称",value:H(e.name)},{label:"所在乡镇",value:H(e.town)},...Rt(e)].filter(t=>t.value!==void 0&&t.value!==null&&String(t.value).trim()!==""):[{label:"名称",value:H(e.name)},{label:"所属环节",value:H(e.stageName)},{label:"主体类型",value:H(e.categoryName)},{label:"所在乡镇",value:H(e.town)},{label:"能力规模",value:Hn(e)},...Rt(e)].filter(t=>t.value!==void 0&&t.value!==null&&String(t.value).trim()!=="")}),en=p(()=>{var e,t;return tt.value?"重点示范基地":H(((e=$.value)==null?void 0:e.categoryName)||((t=$.value)==null?void 0:t.stageName))}),tn=p(()=>{var e;return $.value?{id:$.value.id||$.value.key||$.value.name,layer:Ne("yak-industry-points"),properties:P(M({},$.value),{name:((e=tt.value)==null?void 0:e.name)||$.value.name})}:null}),an=p(()=>{var t,a,n;const e=((t=J.value)==null?void 0:t.properties)||{};return[{label:"图斑编号",value:H(e.plotCode||e.plot_code||e.plotNo||e.id||e.name)},{label:"所在乡镇",value:H(e.town||e.town_name||e.townName)||"未识别"},{label:"所在村",value:H(e.village||e.village_name||e.villageName)||"未识别"},{label:"图斑面积",value:Yn((a=e.area_mu)!=null?a:e.areaMu,(n=e.area_m2)!=null?n:e.areaM2)||"未计算"}]}),nn=p(()=>Be().panelWidth),rn=p(()=>Be().panelHeight),ln=p(()=>{const{panelWidth:e,panelHeight:t}=Be(),a=ce.value;if(a){const s=Mt(a.x,a.y);return{left:`${s.x}px`,top:`${s.y}px`,width:`${e}px`,"--feature-arrow-display":"none"}}const n=wa(e,t);return{left:`${n.x}px`,top:`${n.y}px`,width:`${e}px`,"--feature-arrow-left":`${n.arrowLeft}px`,"--feature-arrow-top":`${n.arrowTop}px`,"--feature-arrow-rotate":n.arrowRotate,"--feature-panel-anchor-x":`${n.arrowLeft}px`}}),sn=p(()=>{const t=za,a=452,n=1468,s=116,u=944,h=26,f={x:Math.max(a,Math.min(n,Number(fe.value.x||960))),y:Math.max(128,Math.min(960,Number(fe.value.y||540)))},x=Math.min(Math.max(f.x-460/2,a),n-460),V=f.y-t-h,z=V>=s,G=z?V:Math.min(Math.max(f.y+h,s),u-t),re=Math.min(Math.max(f.x-x,26),460-26);return{left:`${x}px`,top:`${G}px`,"--feature-arrow-left":`${re}px`,"--feature-arrow-top":z?`${t-6}px`:"-6px","--feature-arrow-rotate":z?"45deg":"225deg"}});function on(){return U(this,null,function*(){D.value=!0,E.value="";try{const[e,t,a,n]=yield Promise.all([nr(),rr(),lr(),sr()]),s=zr(e);I.splice(0,I.length,...s),ie.value.length||(ie.value=s.map(u=>u.key)),w.value=t||{hasData:!1,topStats:[],panels:{left:[],right:[]}},g.value=(n==null?void 0:n.type)==="FeatureCollection"?n:{type:"FeatureCollection",features:[]},Object.assign(se,a||{}),Je.splice(0,Je.length,...(a==null?void 0:a.institutionRows)||[]),Lt()}catch(e){E.value=(e==null?void 0:e.message)||"牦牛产业链数据加载失败"}finally{D.value=!1}})}function un(a){return U(this,arguments,function*(e,{force:t=!1}={}){var s;if(!e||e===W||!t&&((s=d[e])==null?void 0:s.hasData)!==void 0)return;if(Qe.has(e))return Qe.get(e);D.value=!0,E.value="";const n=ir(e,{page:1,pageSize:300}).then(u=>{d[e]=u||{hasData:!1,topStats:[],panels:{left:[],right:[]}},S.value===e&&Lt(e)}).catch(u=>{E.value=(u==null?void 0:u.message)||`${Ue(e,I).name}数据加载失败`}).finally(()=>{Qe.delete(e),D.value=!1});return Qe.set(e,n),n})}$e(S,e=>{e===W?he.value=W:he.value=e,pe.value="",te.value=!1,e!==W&&un(e),Lt(e)},{immediate:!0}),qn(()=>U(this,null,function*(){xt(),window.addEventListener("resize",xt),window.addEventListener("pointerdown",Qt),window.addEventListener("keydown",Xt),Pn(),yield on()})),Xn(()=>{var e,t;gt=!0,window.removeEventListener("resize",xt),window.removeEventListener("pointerdown",Qt),window.removeEventListener("keydown",Xt),Le(),lt(),ne&&window.clearTimeout(ne),K&&window.cancelAnimationFrame(K),(t=(e=B.value)==null?void 0:e.destroyMap)==null||t.call(e)}),$e(()=>L.active,e=>{var t,a,n,s;B.value&&(e?($t(),(a=(t=B.value).resume)==null||a.call(t)):(s=(n=B.value).pause)==null||s.call(n))}),$e(qe,()=>{j()},{deep:!0}),$e([Re,me,be,we,ke,_e],()=>{ae.value=1,Te.value&&kt()}),$e(ie,e=>{if(!Z.value)return;const t=Ht(e),a=t.length===1?t[0]:W;he.value!==a&&(he.value=a,pe.value=""),j()},{deep:!0}),$e(Se,()=>{Z.value&&j()},{deep:!0});function dn(e){e!==S.value&&(S.value=e,j())}function Ot(){return I.map(e=>e.key)}function Ht(e=[]){const t=new Set(Ot());return Array.from(new Set((Array.isArray(e)?e:[e]).map(a=>String(a||"")).filter(a=>t.has(a))))}function cn(e){if(e===W){ie.value=Ot(),Se.value=[];return}I.some(t=>t.key===e)&&(ie.value=[e],Se.value=e==="artificial-grassland"?["artificial-grassland-plots"]:[])}function yn(e,t=""){var n;const a=Ne("yak-industry-points");return((n=at(a,e))==null?void 0:n.name)||t}function vn(e={}){const t=Gt(e.left),a=Gt(e.right);if(a.length)return{left:t,right:a};const n=[...t,...a];return n.length<=4?{left:n,right:[]}:{left:t,right:a}}function Yt(e,t=0){if((e==null?void 0:e.preserveHeight)===!0&&Number((e==null?void 0:e.height)||0)>0)return P(M({},e),{height:Number(e.height)});if((e==null?void 0:e.fixedHeight)===!0)return P(M({},e),{height:le.value});if((e==null?void 0:e.fillHeight)===!0)return P(M({},e),{height:fn(t)});if(["projectTable","projectLedger"].includes(e==null?void 0:e.type))return P(M({},e),{height:gn(e)});const a=Number((e==null?void 0:e.height)||0)>=400||(e==null?void 0:e.span)===2,n=(e==null?void 0:e.keepSpanHeight)===!0;return P(M({},e),{height:t===1&&!n?dt.value:a?Me.value:le.value})}function fn(e=1){const t=Math.max(1,Number(e)||1),n=Math.max(1080,Number(R.value)||1080)-F-Y-T*Math.max(t-1,0);return Math.max(q,Math.floor(n/t))}function gn(e={}){if((e==null?void 0:e.span)===2||(e==null?void 0:e.keepSpanHeight)===!0)return Me.value;const t=Array.isArray(e.rows)?e.rows:[],a=100,n=32,s=a+25+t.length*n;return Math.min(Me.value,Math.max(le.value,s))}function Gt(e=[]){return e.filter(Boolean)}function at(e,t){var a;return!((a=e==null?void 0:e.legends)!=null&&a.length)||!t?null:e.legends.find(n=>{var s;return((s=n.match)==null?void 0:s.value)===t||n.key===`yak-industry-${t}`||Array.isArray(n.matches)&&n.matches.some(u=>u.value===t)})||null}function hn(e){const t=Ue(e,I);return{key:`yak-industry-empty-${e}`,name:t.name,fillColor:t.color,strokeColor:t.color,iconType:t.iconType,match:{field:"stage_key",value:e}}}function Ut(){var t;const e=Ne("artificial-grassland-plots");return e?P(M({},e),{activeLegend:(t=e.legends)==null?void 0:t[0]}):null}function nt(e={}){return(e==null?void 0:e.renderer)==="business"&&(e==null?void 0:e.type)==="column"&&(e==null?void 0:e.variant)==="townCompact"}function Wt(e={}){return(e==null?void 0:e.hasMore)===!0&&String((e==null?void 0:e.key)||"").startsWith("social-service-credit-")}function wt(){return U(this,arguments,function*(e={}){e.preserveFilters||Kt(),Te.value=!0,ae.value=1,yield kt()})}function kt(){return U(this,null,function*(){if(!Ae.value){Ae.value=!0,Xe.value="";try{const e=yield ar({keyword:Re.value,town:me.value,villageGrade:be.value,rating:we.value,authorization:ke.value,institution:_e.value,page:ae.value,pageSize:Ba});Ft.value=Array.isArray(e==null?void 0:e.rows)?e.rows:[],ct.value=Number((e==null?void 0:e.totalCount)||0)}catch(e){Xe.value=(e==null?void 0:e.message)||"信用信息加载失败"}finally{Ae.value=!1}}})}function Kt(){Re.value="",me.value="",be.value="",we.value="",ke.value="",_e.value=""}function jt(e={}){Kt();const t=String(e.value||"");e.type==="town"&&(me.value=t),e.type==="villageGrade"&&(be.value=t),e.type==="rating"&&(we.value=t),e.type==="authorization"&&(ke.value=t),e.type==="institution"&&(_e.value=t),wt({preserveFilters:!0})}function _t(){Te.value=!1}function qt(e){ae.value=Math.max(1,Math.min(mt.value,Number(e)||1)),kt()}function Xt(e){e.key==="Escape"&&Te.value&&_t()}function Jt(e={}){return Array.isArray(e.rows)&&e.rows.some(t=>Number.isFinite(Number(t==null?void 0:t.value)))}function Zt(e={}){return Array.isArray(e.tabs)?e.tabs:[]}function Ie(e={}){const t=Zt(e);return t.find(a=>a.key===he.value)||t[0]||{rows:[]}}function pn(){te.value=!te.value}function mn(e={}){te.value=!1,bn(e)}function Qt(e={}){var a;const t=e.target;(a=t==null?void 0:t.closest)!=null&&a.call(t,".industry-tabbed-map-list__selector")||(te.value=!1)}function bn(e={}){if(e.key){if(he.value=e.key,pe.value="",Z.value){cn(e.key),j();return}if(e.key===W){S.value=W,j();return}e.key!==S.value&&(S.value=e.key,j())}}function St(e={}){const t=Ie(e),a=ea(pe.value),n=Array.isArray(t.rows)?t.rows:[];return a?n.filter(s=>ea(wn(s)).includes(a)):n}function wn(e={}){return[e.name,e.fullName,e.stageName,e.categoryName,e.town,e.village,e.address,e.valueText,e.extra,e.sourceSheet,e.searchText].filter(Boolean).join(" ")}function ea(e=""){return String(e||"").replace(/\s+/g,"").toLowerCase()}function kn(e={}){const t=Ie(e);return t!=null&&t.name?`搜索${t.name}、乡镇或村`:e.searchPlaceholder||"搜索主体、环节或乡镇"}function _n(e={}){const t=Ie(e),a=Array.isArray(t.rows)?t.rows:[],n=St(e);return n.length!==a.length?`${n.length}/${a.length}条`:`${a.length}条`}function ta(e={}){return H(e.ledgerName||e.name||e.fullName||"未命名点位")}function aa(e={}){return H([e.town,e.village||e.address].filter(Boolean).join(" / "))||"暂无区域"}function Sn(e={}){var n,s;const t=String(((n=$.value)==null?void 0:n.id)||((s=$.value)==null?void 0:s.key)||""),a=String(e.key||e.id||"");return!!(t&&a&&t===a)}function Cn(){return U(this,arguments,function*(e={}){yield Nt(e)})}function Ee(e={}){return Array.isArray(e.rows)?e.rows.filter(t=>Number((t==null?void 0:t.value)||0)>0):[]}function na(e={}){return Ee(e).reduce((t,a)=>t+(Number(a==null?void 0:a.value)||0),0)||1}function ra(e={},t={}){const a=Number(e==null?void 0:e.value)||0;return a?Math.max(4,Number((a/na(t)*100).toFixed(2))):0}function la(e={},t={}){const a=Number(e==null?void 0:e.value)||0;return a?Math.max(1.8,Number((a/na(t)*100).toFixed(2))):0}function rt(e={},t=0){return e.color||e.fillColor||Ge[t%Ge.length]}function sa(e={}){return e.displayValue!==void 0&&e.displayValue!==null&&e.displayValue!==""?e.displayValue:Q(Number(e.value||0))}function xe(e={}){return(e==null?void 0:e.displayValue)!==void 0&&e.displayValue!==null&&e.displayValue!==""?e.displayValue:Q(Number((e==null?void 0:e.value)||0))}function ia(e={}){return Array.isArray(e.rows)?e.rows.filter(t=>Number((t==null?void 0:t.value)||0)>0):[]}function De(e={},t=""){return ia(e).find(a=>a.key===t)||null}function ue(e={}){return De(e,"forage-trade-sales-amount")||ia(e)[0]||{name:"销售金额",value:0,unit:"万元",extra:""}}function Ct(e={}){return[De(e,"forage-trade-sales-amount"),De(e,"forage-trade-purchase-amount")].filter(Boolean)}function oa(e={}){return[De(e,"forage-trade-plant-area"),De(e,"forage-trade-forage-ton")].filter(Boolean)}function ua(e={},t={}){const a=Number((e==null?void 0:e.value)||0),n=Math.max(...Ct(t).map(s=>Number((s==null?void 0:s.value)||0)),1);return Math.max(7,Math.round(a/n*100))}function da(e=0){return["#32dcff","#22f6b8"][e%2]}function ca(e={}){const t=Array.isArray(e.rows)?e.rows:[],a=t.map(u=>Number(u!=null&&u.zero?0:(u==null?void 0:u.value)||0)),n=Math.max(...a,1),s=xn(t);return dr({animationDuration:720,animationEasing:"cubicOut",grid:{top:30,right:8,bottom:58,left:8,containLabel:!1},tooltip:cr((u=[])=>{var G;const f=((G=(Array.isArray(u)?u:[u])[0])==null?void 0:G.data)||{},x=f.zero?"0":f.displayValue,V=f.unit||s||"",z=f.extra?`
${f.extra}`:"";return`${f.name||""}
${x}${V}${z}`},{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{color:"rgba(48, 220, 255, 0.06)"}},confine:!0}),graphic:s?[{type:"text",right:10,top:4,silent:!0,style:{text:`单位:${s}`,fill:Ra,font:`10px ${yr}`}}]:[],xAxis:{type:"category",data:t.map(u=>(u==null?void 0:u.name)||""),axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisLabel:{color:vr,fontSize:10,fontWeight:700,lineHeight:14,interval:0,margin:10,formatter:(e==null?void 0:e.axisLabelMode)==="short"?$n:Ln}},yAxis:{type:"value",min:0,max:Math.ceil(n*1.18),splitNumber:3,axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!0,lineStyle:{color:fr,type:"dashed"}}},series:[{type:"bar",data:t.map((u,h)=>{var V;const f=!!(u!=null&&u.zero||u!=null&&u.isZero),x=f?0:Number((u==null?void 0:u.value)||0);return{name:u==null?void 0:u.name,value:x,displayValue:(V=u==null?void 0:u.displayValue)!=null?V:Q(x),unit:(u==null?void 0:u.unit)||s||"",extra:(u==null?void 0:u.extra)||"",zero:f,itemStyle:{color:f?"rgba(48, 220, 255, 0.1)":e!=null&&e.uniformColor?Mn():Nn(h,u)}}}),barWidth:6,barMinHeight:3,showBackground:!0,backgroundStyle:{color:"rgba(48, 220, 255, 0.06)",borderColor:"rgba(48, 220, 255, 0.08)",borderWidth:1},itemStyle:{borderRadius:[4,4,0,0]},label:{show:!0,position:"top",distance:5,color:Fa,fontFamily:gr,fontSize:10,fontWeight:700,formatter(u={}){var f;const h=u.data||{};return h.zero?"0":(f=h.displayValue)!=null?f:Q(Number(h.value||0))}},emphasis:{focus:"series",itemStyle:{shadowBlur:0,shadowColor:"rgba(48, 220, 255, 0)"}}}]})}function xn(e=[]){const t=[...new Set(e.map(a=>a==null?void 0:a.unit).filter(Boolean))];return t.length===1?t[0]:""}function Ln(e){const t=String(e||"").replace(/\s+/g,"");return Array.from(t).slice(0,3).join(` `)}function $n(e){return Array.from(String(e||"").replace(/\s+/g,"")).slice(0,2).join("")}function Nn(e,t={}){return t.color||t.fillColor?t.color||t.fillColor:Ia(Ge[e%Ge.length])}function Mn(){return Ia(Ge[0])}function Q(e){const t=Number(e);return Number.isFinite(t)?Number.isInteger(t)?`${t}`:`${Number(t.toFixed(2))}`:"--"}function xt(){R.value=typeof window=="undefined"?1080:window.innerHeight}function Lt(e=S.value){var n;const t=e||S.value,a=t===W?w.value.topStats||[]:t==="social-service"?((n=d[t])==null?void 0:n.topStats)||[]:[];y("module-stats",{moduleKey:"yak-industry-chain",items:a})}function Pn(){var e,t,a;Ze=new tr,yt=!1,y("loading-progress",{progress:0}),(t=(e=Ze.instance)==null?void 0:e.on)==null||t.call(e,"onProgress",(n,s,u)=>{y("loading-progress",{progress:Math.floor(s/(u||1)*100),path:n,itemsLoaded:s,itemsTotal:u})}),(a=Ze.ready)==null||a.then(()=>{yt=!0,$t()}).catch(()=>{ve.value=!0,y("map-ready")})}function $t(){gt||!L.active||!yt||Ce||(Ce=!0,ne&&window.clearTimeout(ne),ne=window.setTimeout(()=>{ne=null,ya()},600))}function ya(e=0){return U(this,null,function*(){var a,n;if(gt)return;if(!L.active){Ce=!1;return}if(yield st(),!L.active){Ce=!1;return}const t=B.value;if((a=t==null?void 0:t.loadMap)==null||a.call(t,Ze),t!=null&&t.canvasMap){ve.value=!0,y("loading-progress",{progress:100}),y("map-ready"),(n=t.play)==null||n.call(t);return}if(e<24){window.setTimeout(()=>ya(e+1),120);return}Ce=!1,ve.value=!0,y("map-ready")})}function Tn(){ne&&(window.clearTimeout(ne),ne=null)}function va(){var e,t,a,n;(t=(e=B.value)==null?void 0:e.resume)==null||t.call(e),(n=(a=B.value)==null?void 0:a.refreshView)==null||n.call(a)}function An(){var e,t;if(j(),(t=(e=B.value)==null?void 0:e.hasMap)!=null&&t.call(e)){ve.value=!0,va();return}Tn(),ve.value=!1,Ce=!1,st(()=>{$t()})}k({refreshMapView:va,resetMap:An});function Rn(){ha(),te.value=!1}function Fn(e={}){var a,n;const t=e.target;if((a=t==null?void 0:t.closest)!=null&&a.call(t,".industry-map-scene")&&!((n=t.closest)!=null&&n.call(t,".industry-map-feature-info, .industry-point-feature-info, .industry-map-layer-tools, .industry-bottom-switcher, .industry-side-panel"))){if(ft){ft=!1;return}ha(),te.value=!1}}function In(){return U(this,arguments,function*(e={}){var h,f,x,V;vt+=1,lt();const t=e.feature||null;if(!t){j();return}ft=!0;const a=(t==null?void 0:t.properties)||{};if(((h=t==null?void 0:t.layer)==null?void 0:h.key)==="artificial-grassland-plots"){$.value=null;const z=a.public_id||a.publicId||a.id,G=z?yield or(z).catch(()=>null):null;J.value=P(M({},t),{id:z,properties:G||a});const re=e.screen||((x=(f=B.value)==null?void 0:f.getVectorFeatureScreen)==null?void 0:x.call(f,t.feature));re&&(fe.value=Ve(re)),ge.value=!!re;return}J.value=null,ge.value=!1;const n=a.public_id||a.publicId||a.id,s=n?yield Ta(n).catch(()=>null):null,u=Vn(s||a);if(u.stageKey){const z=String(u.stageKey),G=zt.value.map(String),re=Z.value&&(!G.length||G.includes(z)),Tt=String(z)===String(S.value);if(!re&&!Tt){$.value=null,X.value="";return}X.value=((V=At(u))==null?void 0:V.key)||"",Pt(),$.value=u,Pe.value=Ve(e.screen);return}$.value=null,X.value=""})}function Nt(){return U(this,arguments,function*(e={}){if(e.stageKey==="artificial-grassland"){yield En(e);return}yield fa(e)})}function En(){return U(this,arguments,function*(e={}){e!=null&&e.canLocate&&(et.value||(S.value="artificial-grassland",yield st()),$.value=null,X.value="",J.value=null,fe.value={x:960,y:510},ge.value=!1,window.setTimeout(()=>Dn(e),90))})}function Dn(e={},t=0){var u,h;const a=pa(e),n=((h=(u=B.value)==null?void 0:u.focusYakIndustryPoint)==null?void 0:h.call(u,a))||{};J.value={id:e.publicId||e.id,properties:e,feature:n.feature,layer:Ne("artificial-grassland-plots")};const s=J.value.id;window.setTimeout(()=>{var f;((f=J.value)==null?void 0:f.id)===s&&(n.feature?Bn(n.feature,n.screen):n.screen&&(fe.value=Ve(n.screen)),ge.value=!0)},820)}function Bn(e,t=null){var n,s;const a=((s=(n=B.value)==null?void 0:n.getVectorFeatureScreen)==null?void 0:s.call(n,e))||t;a&&(fe.value=Ve(a))}function fa(){return U(this,arguments,function*(e={}){var s;if(!e.canLocate)return;const t=!!(e.stageKey&&e.stageKey!==S.value);t&&(S.value=e.stageKey,yield st());const a=e.publicId||e.id?yield Ta(e.publicId||e.id).catch(()=>null):null,n=pa(a||e);X.value=((s=At(n))==null?void 0:s.key)||"",Pt(),$.value=n,Pe.value={x:960,y:500},window.setTimeout(()=>{var h,f;const u=(f=(h=B.value)==null?void 0:h.focusYakIndustryPoint)==null?void 0:f.call(h,n);ba(n,u),zn(n)},t?320:80)})}function ga(){return U(this,arguments,function*(e={}){e.point&&(X.value=e.key,yield fa(e.point))})}function j(){var t,a,n,s;lt(),$.value=null,X.value="",Pt(),J.value=null,ge.value=!1,K&&(window.cancelAnimationFrame(K),K=null);const e=((a=(t=B.value)==null?void 0:t.canvasMap)==null?void 0:a.value)||((n=B.value)==null?void 0:n.canvasMap);(s=e==null?void 0:e.clearSelectedFeature)==null||s.call(e)}function ha(){const e=vt;lt(),Fe=window.setTimeout(()=>{Fe=null,vt===e&&j()},240)}function lt(){Fe&&(window.clearTimeout(Fe),Fe=null)}function pa(e={}){var h,f,x;const t=Number((h=e.longitude)!=null?h:e.lng),a=Number((f=e.latitude)!=null?f:e.lat),n=ma(e),s=((x=Ue(n,I))==null?void 0:x.name)||e.stageName,u=Da(e);return P(M({},e),{id:e.key||e.id,name:e.fullName||e.name,stageKey:n,stageName:s,categoryName:H(e.categoryName||e.typeName||s),capacity:u,capacityUnit:"",longitude:t,latitude:a,geometry:Number.isFinite(t)&&Number.isFinite(a)?{type:"Point",coordinates:[t,a]}:void 0,preferCoordinateMatch:Number.isFinite(t)&&Number.isFinite(a),status:e.status})}function Vn(e={}){var s;const t=ma(e),a=((s=Ue(t,I))==null?void 0:s.name)||e.stageName,n=Da(e);return P(M({},e),{stageKey:t,stageName:a,categoryName:H(e.categoryName||e.typeName||a),capacity:n,capacityUnit:""})}function ma(e={}){return Ha.has(e.categoryCode)?"breeding-selection":e.stageKey}function ba(e,t=null){var n,s;const a=((s=(n=B.value)==null?void 0:n.getYakIndustryPointScreen)==null?void 0:s.call(n,e))||(t==null?void 0:t.screen);a&&(Pe.value=Ve(a))}function zn(e,t=920){var s,u;K&&window.cancelAnimationFrame(K);const a=((u=(s=window.performance)==null?void 0:s.now)==null?void 0:u.call(s))||Date.now(),n=()=>{var f,x;if(!$.value||$.value.id!==e.id){K=null;return}if(ba(e),(((x=(f=window.performance)==null?void 0:f.now)==null?void 0:x.call(f))||Date.now())-a(u==null?void 0:u.wide)||String((u==null?void 0:u.value)||"").length>18)?38:35;return{panelWidth:560,panelHeight:Math.min(430,Math.max(224,72+t*n))}}function wa(e,t){const h={x:Math.max(24,Math.min(1896,Number(Pe.value.x||0))),y:Math.max(24,Math.min(1056,Number(Pe.value.y||0)))},f=v+46,x=1920-v-46,V=Math.min(Math.max(h.x-e/2,f),x-e),z=h.y-t-24,G=z>=156,re=G?z:Math.min(Math.max(h.y+24,156),990-t),Tt=Math.min(Math.max(h.x-V,34),e-34);return{x:V,y:re,arrowLeft:Tt,arrowTop:G?t-6:-6,arrowRotate:G?"45deg":"225deg"}}function Mt(e,t){const{panelWidth:a,panelHeight:n}=Be(),s=18;return{x:Math.min(Math.max(Number(e)||s,s),1920-a-s),y:Math.min(Math.max(Number(t)||92,92),1080-n-s)}}function Pt(){Le(),ce.value=null}function On(e){var h,f,x,V;if(!$.value||e.button!==0)return;const t=e.target;if(!((h=t==null?void 0:t.closest)!=null&&h.call(t,".m-card-hd"))||(f=t.closest)!=null&&f.call(t,"button"))return;const a=Sa(e),{panelWidth:n,panelHeight:s}=Be(),u=ce.value?Mt(ce.value.x,ce.value.y):wa(n,s);ce.value={x:u.x,y:u.y},oe={pointerId:e.pointerId,startX:a.x,startY:a.y,originX:u.x,originY:u.y},je.value=!0,(V=(x=e.currentTarget)==null?void 0:x.setPointerCapture)==null||V.call(x,e.pointerId),e.preventDefault(),window.addEventListener("pointermove",ka),window.addEventListener("pointerup",Le),window.addEventListener("pointercancel",Le)}function ka(e){if(!oe)return;const t=Sa(e),a=Mt(oe.originX+t.x-oe.startX,oe.originY+t.y-oe.startY);ce.value=a}function Le(){!oe&&!je.value||(oe=null,je.value=!1,window.removeEventListener("pointermove",ka),window.removeEventListener("pointerup",Le),window.removeEventListener("pointercancel",Le))}function Hn(e){return e.capacity===void 0||e.capacity===null||e.capacity===""?"":`${e.capacity}${e.capacityUnit||""}`}function H(e){return String(e!=null?e:"").replace(/\bcxpt[-_./\s]*/gi,"").replace(/\s+/g," ").trim()}function Yn(e,t){const a=Number(e);if(Number.isFinite(a)&&a>0)return`${_a(a)}亩`;const n=Number(t);return Number.isFinite(n)&&n>0?`${_a(n/666.6667)}亩`:""}function _a(e){const t=Number(e);return Number.isFinite(t)?Number.isInteger(t)?`${t}`:`${Number(t.toFixed(2))}`:""}function Ve(e={}){var f;const t=document.querySelector("#large-screen"),a=(f=t==null?void 0:t.getBoundingClientRect)==null?void 0:f.call(t),n=a!=null&&a.width?1920/a.width:1,s=a!=null&&a.height?1080/a.height:1,u=(a==null?void 0:a.left)||0,h=(a==null?void 0:a.top)||0;return{x:(Number(e.x)-u)*n,y:(Number(e.y)-h)*s}}function Sa(e={}){var f;const t=document.querySelector("#large-screen"),a=(f=t==null?void 0:t.getBoundingClientRect)==null?void 0:f.call(t),n=a!=null&&a.width?1920/a.width:1,s=a!=null&&a.height?1080/a.height:1,u=(a==null?void 0:a.left)||0,h=(a==null?void 0:a.top)||0;return{x:(Number(e.clientX)-u)*n,y:(Number(e.clientY)-h)*s}}return(e,t)=>(l(),o("div",{class:"yak-industry-chain",onClickCapture:Fn},[ze(Jn,{ref_key:"mapSceneRef",ref:B,class:"industry-map-scene","active-layer":Ja.value,"map-ranking":Qa.value,"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"disable-double-click-action":!0,"max-zoom":21,onMapClick:Rn,onFeatureInfo:In},null,8,["active-layer","map-ranking"]),D.value?(l(),o("div",Ur,"产业链数据加载中...")):E.value?(l(),o("div",Wr,i(E.value),1)):Ya.value?O("",!0):(l(),o("div",Kr,"暂无该环节业务数据")),t[39]||(t[39]=r("div",{class:"industry-map-scrim"},null,-1)),ve.value?O("",!0):(l(),o("div",jr,"3D地图加载中")),Z.value?(l(),o("div",{key:4,class:"industry-map-layer-tools",style:A({height:`${Va}px`})},[ze(Zn,{modelValue:ie.value,"onUpdate:modelValue":t[0]||(t[0]=a=>ie.value=a),"overlay-keys":Se.value,"onUpdate:overlayKeys":t[1]||(t[1]=a=>Se.value=a),"topic-key":"yak-industry-chain",layers:qa.value,"overlay-layers":Et.value,width:248,height:Va,compact:"",multiple:"","show-legend":!1},null,8,["modelValue","overlay-keys","layers","overlay-layers"])],4)):O("",!0),Bt.value.length?(l(),o("div",qr,[r("div",Xr,[(l(!0),o(b,null,C(Bt.value,a=>(l(),de(Na,{key:a.key,class:ee(["fgw-side-card industry-side-card left-card",`industry-side-card--${a.key}`]),title:a.title,width:Oe(v),height:a.height},{extra:it(()=>[Wt(a)?(l(),o("button",{key:0,class:"industry-card-more",type:"button","aria-label":a.moreAriaLabel||"查看更多信用信息",onClick:t[2]||(t[2]=ot(n=>wt(),["stop"]))},i(a.moreLabel||"查看更多"),9,Jr)):O("",!0)]),default:it(()=>[a.renderer==="socialCredit"?(l(),de(Ea,{key:0,panel:a,onSelect:jt},null,8,["panel"])):nt(a)&&Jt(a)?(l(),de(Oe($a),{key:1,class:"industry-town-column-chart",option:ca(a),autoresize:!0},null,8,["option"])):nt(a)?(l(),o("div",Zr," 暂无业务统计数据 ")):a.renderer==="stageComposition"?(l(),o("div",Qr,[r("div",el,[(l(!0),o(b,null,C(Ee(a),(n,s)=>(l(),o("i",{key:n.key||n.name,style:A({width:`${la(n,a)}%`,background:rt(n,s)})},null,4))),128))]),r("div",tl,[(l(!0),o(b,null,C(Ee(a),(n,s)=>(l(),o("div",{key:n.key||n.name,class:"industry-stage-composition-chart__item",style:A({"--stage-color":rt(n,s),"--stage-width":`${ra(n,a)}%`})},[r("span",null,i(n.name),1),r("strong",null,[N(i(sa(n)),1),r("em",null,i(n.unit),1)]),t[13]||(t[13]=r("small",{"aria-hidden":"true"},[r("b")],-1))],4))),128))])])):a.renderer==="forageTradeDashboard"?(l(),o("div",al,[r("div",nl,[r("span",null,i(ue(a).name),1),r("strong",null,[N(i(xe(ue(a))),1),r("em",null,i(ue(a).unit),1)]),r("small",null,i(ue(a).extra),1)]),r("div",rl,[(l(!0),o(b,null,C(Ct(a),(n,s)=>(l(),o("div",{key:n.key||n.name,class:"industry-forage-trade-dashboard__flow",style:A({"--trade-color":da(s),"--trade-width":`${ua(n,a)}%`})},[r("span",null,i(n.name),1),r("strong",null,[N(i(xe(n)),1),r("em",null,i(n.unit),1)]),t[14]||(t[14]=r("i",null,[r("b")],-1))],4))),128))]),r("div",ll,[(l(!0),o(b,null,C(oa(a),n=>(l(),o("div",{key:n.key||n.name},[r("span",null,i(n.name),1),r("strong",null,[N(i(xe(n)),1),r("em",null,i(n.unit),1)])]))),128))])])):a.renderer==="business"?(l(),de(Ma,{key:5,panel:a,compact:"",onRowSelect:Nt},null,8,["panel"])):a.renderer==="featured"?(l(),o("div",sl,[(l(!0),o(b,null,C(a.rows,(n,s)=>(l(),o("button",{key:n.key,class:ee(["industry-featured-base",{"is-active":X.value===n.key}]),type:"button",disabled:!n.point,"aria-label":`查看${n.name}`,onClick:u=>ga(n)},[r("span",ol,i(`0${s+1}`),1),r("span",ul,[r("strong",null,i(n.name),1),r("em",null,i(n.town)+" · "+i(n.tag),1),r("small",null,i(n.summary),1)])],10,il))),128))])):a.renderer==="leadershipMode"?(l(),o("div",dl,[(l(!0),o(b,null,C(a.rows,(n,s)=>(l(),o("div",{key:n.key,class:"industry-leadership-mode"},[r("i",{style:A({color:n.color,background:n.color})},null,4),r("span",null,i(`0${s+1}`),1),r("div",null,[r("strong",null,i(n.name),1),r("small",null,i(n.description),1)])]))),128))])):a.renderer==="ledger"?(l(),o("div",cl,[(l(!0),o(b,null,C(a.rows,n=>(l(),o("div",{key:n.key,class:"industry-ledger-row"},[r("div",null,[r("strong",null,i(n.name),1),r("span",null,i(n.typeName)+" / "+i(n.town),1)]),r("em",null,i(n.valueText),1)]))),128))])):O("",!0)]),_:2},1032,["class","title","width","height"]))),128))])])):O("",!0),Vt.value.length?(l(),o("div",yl,[r("div",vl,[(l(!0),o(b,null,C(Vt.value,a=>(l(),o(b,{key:a.key},[a.placeholder?(l(),o("div",{key:0,class:"industry-side-card-placeholder",style:A({width:`${Oe(v)}px`,height:`${a.height}px`}),"aria-hidden":"true"},null,4)):(l(),de(Na,{key:1,class:ee(["fgw-side-card industry-side-card right-card",`industry-side-card--${a.key}`]),title:a.title,width:Oe(v),height:a.height},{extra:it(()=>[Wt(a)?(l(),o("button",{key:0,class:"industry-card-more",type:"button","aria-label":a.moreAriaLabel||"查看更多信用信息",onClick:t[3]||(t[3]=ot(n=>wt(),["stop"]))},i(a.moreLabel||"查看更多"),9,fl)):O("",!0)]),default:it(()=>[a.renderer==="socialCredit"?(l(),de(Ea,{key:0,panel:a,onSelect:jt},null,8,["panel"])):nt(a)&&Jt(a)?(l(),de(Oe($a),{key:1,class:"industry-town-column-chart",option:ca(a),autoresize:!0},null,8,["option"])):nt(a)?(l(),o("div",gl," 暂无业务统计数据 ")):a.renderer==="stageComposition"?(l(),o("div",hl,[r("div",pl,[(l(!0),o(b,null,C(Ee(a),(n,s)=>(l(),o("i",{key:n.key||n.name,style:A({width:`${la(n,a)}%`,background:rt(n,s)})},null,4))),128))]),r("div",ml,[(l(!0),o(b,null,C(Ee(a),(n,s)=>(l(),o("div",{key:n.key||n.name,class:"industry-stage-composition-chart__item",style:A({"--stage-color":rt(n,s),"--stage-width":`${ra(n,a)}%`})},[r("span",null,i(n.name),1),r("strong",null,[N(i(sa(n)),1),r("em",null,i(n.unit),1)]),t[15]||(t[15]=r("small",{"aria-hidden":"true"},[r("b")],-1))],4))),128))])])):a.renderer==="forageTradeDashboard"?(l(),o("div",bl,[r("div",wl,[r("span",null,i(ue(a).name),1),r("strong",null,[N(i(xe(ue(a))),1),r("em",null,i(ue(a).unit),1)]),r("small",null,i(ue(a).extra),1)]),r("div",kl,[(l(!0),o(b,null,C(Ct(a),(n,s)=>(l(),o("div",{key:n.key||n.name,class:"industry-forage-trade-dashboard__flow",style:A({"--trade-color":da(s),"--trade-width":`${ua(n,a)}%`})},[r("span",null,i(n.name),1),r("strong",null,[N(i(xe(n)),1),r("em",null,i(n.unit),1)]),t[16]||(t[16]=r("i",null,[r("b")],-1))],4))),128))]),r("div",_l,[(l(!0),o(b,null,C(oa(a),n=>(l(),o("div",{key:n.key||n.name},[r("span",null,i(n.name),1),r("strong",null,[N(i(xe(n)),1),r("em",null,i(n.unit),1)])]))),128))])])):a.renderer==="industryTabbedMapList"?(l(),o("div",Sl,[r("div",Cl,[t[18]||(t[18]=r("span",null,"点位类型",-1)),r("button",{type:"button",class:ee(["industry-tabbed-map-list__select",{"is-open":te.value}]),onClick:ot(pn,["stop"])},[r("strong",null,i(Ie(a).name),1),t[17]||(t[17]=r("i",{"aria-hidden":"true"},null,-1))],2),te.value?(l(),o("div",xl,[(l(!0),o(b,null,C(Zt(a),n=>(l(),o("button",{key:n.key,type:"button",class:ee({"is-active":Ie(a).key===n.key}),onClick:s=>mn(n)},[r("span",null,i(n.name),1)],10,Ll))),128))])):O("",!0)]),r("div",$l,[ye(r("input",{"onUpdate:modelValue":t[4]||(t[4]=n=>pe.value=n),type:"search",placeholder:kn(a)},null,8,Nl),[[La,pe.value]]),r("small",null,i(_n(a)),1)]),t[20]||(t[20]=r("div",{class:"industry-tabbed-map-list__head","aria-hidden":"true"},[r("span",null,"名称"),r("span",null,"所属区域"),r("span",null,"定位")],-1)),r("div",Ml,[(l(!0),o(b,null,C(St(a),n=>(l(),o("button",{key:n.key||n.id||n.name,type:"button",class:ee(["industry-tabbed-map-list__row",{"is-active":Sn(n),"is-disabled":n.canLocate===!1}]),disabled:n.canLocate===!1,onClick:s=>Cn(n)},[r("span",Tl,[r("strong",{title:ta(n)},i(ta(n)),9,Al)]),r("span",Rl,[r("span",{class:"industry-tabbed-map-list__area",title:aa(n)},i(aa(n)),9,Fl)]),t[19]||(t[19]=r("i",{class:"industry-tabbed-map-list__locate","aria-hidden":"true"},null,-1))],10,Pl))),128)),St(a).length?O("",!0):(l(),o("div",Il,i(a.emptyText||"无匹配产业点位"),1))])])):a.renderer==="business"?(l(),de(Ma,{key:6,panel:a,compact:"",onRowSelect:Nt},null,8,["panel"])):a.renderer==="featured"?(l(),o("div",El,[(l(!0),o(b,null,C(a.rows,(n,s)=>(l(),o("button",{key:n.key,class:ee(["industry-featured-base",{"is-active":X.value===n.key}]),type:"button",disabled:!n.point,"aria-label":`查看${n.name}`,onClick:u=>ga(n)},[r("span",Bl,i(`0${s+1}`),1),r("span",Vl,[r("strong",null,i(n.name),1),r("em",null,i(n.town)+" · "+i(n.tag),1),r("small",null,i(n.summary),1)])],10,Dl))),128))])):a.renderer==="leadershipMode"?(l(),o("div",zl,[(l(!0),o(b,null,C(a.rows,(n,s)=>(l(),o("div",{key:n.key,class:"industry-leadership-mode"},[r("i",{style:A({color:n.color,background:n.color})},null,4),r("span",null,i(`0${s+1}`),1),r("div",null,[r("strong",null,i(n.name),1),r("small",null,i(n.description),1)])]))),128))])):a.renderer==="ledger"?(l(),o("div",Ol,[(l(!0),o(b,null,C(a.rows,n=>(l(),o("div",{key:n.key,class:"industry-ledger-row"},[r("div",null,[r("strong",null,i(n.name),1),r("span",null,i(n.typeName)+" / "+i(n.town),1)]),r("em",null,i(n.valueText),1)]))),128))])):O("",!0)]),_:2},1032,["class","title","width","height"]))],64))),128))])])):O("",!0),J.value&&ge.value?(l(),o("div",{key:7,class:"industry-map-feature-info",style:A(sn.value)},[ze(Pa,{title:"人工草地详情",feature:J.value,rows:an.value,width:460,height:za},null,8,["feature","rows"])],4)):O("",!0),$.value?(l(),o("div",{key:8,class:ee(["industry-map-feature-info industry-point-feature-info",{"is-dragging":je.value}]),style:A(ln.value),onPointerdown:On},[ze(Pa,{title:en.value,feature:tn.value,rows:bt.value,width:nn.value,height:rn.value,closable:"",onClose:j},null,8,["title","feature","rows","width","height"])],38)):O("",!0),Te.value?(l(),o("div",{key:9,class:"industry-credit-overlay",role:"presentation",onClick:ot(_t,["self"])},[r("section",Hl,[r("header",{class:"industry-credit-dialog__header"},[t[21]||(t[21]=r("div",null,[r("strong",null,"农牧户信用信息"),r("span",null,"红原县信用村、信用户评定结果")],-1)),r("button",{type:"button","aria-label":"关闭农牧户信用信息",onClick:_t},"×")]),r("div",Yl,[r("div",null,[t[23]||(t[23]=r("span",null,"评定信用户",-1)),r("strong",null,[N(i(Q(se.totals.householdCount)),1),t[22]||(t[22]=r("em",null,"户",-1))])]),r("div",null,[t[25]||(t[25]=r("span",null,"已授信",-1)),r("strong",null,[N(i(Q(se.totals.authorizedCount)),1),t[24]||(t[24]=r("em",null,"户",-1))])]),r("div",null,[t[27]||(t[27]=r("span",null,"未授信",-1)),r("strong",null,[N(i(Q(se.totals.unauthorizedCount)),1),t[26]||(t[26]=r("em",null,"户",-1))])]),r("div",null,[t[29]||(t[29]=r("span",null,"信用村",-1)),r("strong",null,[N(i(Q(se.totals.villageCount)),1),t[28]||(t[28]=r("em",null,"个",-1))])]),r("div",null,[t[31]||(t[31]=r("span",null,"评定机构",-1)),r("strong",null,[N(i(Q(Je.length)),1),t[30]||(t[30]=r("em",null,"家",-1))])])]),r("div",Gl,[ye(r("input",{"onUpdate:modelValue":t[5]||(t[5]=a=>Re.value=a),type:"search",placeholder:"搜索姓名、乡镇、村或评定机构"},null,512),[[La,Re.value,void 0,{trim:!0}]]),ye(r("select",{"onUpdate:modelValue":t[6]||(t[6]=a=>me.value=a),"aria-label":"筛选乡镇"},[t[32]||(t[32]=r("option",{value:""},"全部乡镇",-1)),(l(!0),o(b,null,C(Ga.value,a=>(l(),o("option",{key:a,value:a},i(a),9,Ul))),128))],512),[[He,me.value]]),ye(r("select",{"onUpdate:modelValue":t[7]||(t[7]=a=>be.value=a),"aria-label":"筛选信用村等级"},[t[33]||(t[33]=r("option",{value:""},"全部村等级",-1)),(l(!0),o(b,null,C(Ua.value,a=>(l(),o("option",{key:a,value:a},i(a),9,Wl))),128))],512),[[He,be.value]]),ye(r("select",{"onUpdate:modelValue":t[8]||(t[8]=a=>we.value=a),"aria-label":"筛选信用户星级"},[t[34]||(t[34]=r("option",{value:""},"全部星级",-1)),(l(!0),o(b,null,C(Wa.value,a=>(l(),o("option",{key:a,value:a},i(a),9,Kl))),128))],512),[[He,we.value]]),ye(r("select",{"onUpdate:modelValue":t[9]||(t[9]=a=>ke.value=a),"aria-label":"筛选授信状态"},[...t[35]||(t[35]=[r("option",{value:""},"全部授信状态",-1),r("option",{value:"是"},"已授信",-1),r("option",{value:"否"},"未授信",-1),r("option",{value:"未填写"},"未填写",-1)])],512),[[He,ke.value]]),ye(r("select",{"onUpdate:modelValue":t[10]||(t[10]=a=>_e.value=a),"aria-label":"筛选评定机构"},[t[36]||(t[36]=r("option",{value:""},"全部评定机构",-1)),(l(!0),o(b,null,C(Ka.value,a=>(l(),o("option",{key:a,value:a},i(a),9,jl))),128))],512),[[He,_e.value]]),r("small",null,i(ja.value),1)]),r("div",ql,[t[37]||(t[37]=r("div",{class:"industry-credit-table__head","aria-hidden":"true"},[r("span",null,"姓名"),r("span",null,"乡镇"),r("span",null,"行政村"),r("span",null,"信用村等级"),r("span",null,"信用户星级"),r("span",null,"授信状态"),r("span",null,"评定机构")],-1)),Ae.value?(l(),o("div",Xl,"信用信息加载中...")):Xe.value?(l(),o("div",Jl,i(Xe.value),1)):It.value.length?(l(!0),o(b,{key:3},C(It.value,a=>(l(),o("div",{key:a.id,class:"industry-credit-table__row"},[r("strong",{title:a.name},i(a.name),9,Ql),r("span",null,i(a.town),1),r("span",{title:a.village},i(a.village),9,es),r("span",null,[r("i",{class:"industry-credit-grade","data-grade":a.villageGrade},i(a.villageGrade),9,ts)]),r("span",null,i(a.userRating),1),r("span",{class:ee({"is-authorized":a.authorized==="是","is-unauthorized":a.authorized==="否"})},i(a.authorized==="是"?"已授信":a.authorized==="否"?"未授信":"未填写"),3),r("span",{title:a.institution},i(a.institution),9,as)]))),128)):(l(),o("div",Zl,"无匹配信用信息"))]),r("footer",ns,[t[38]||(t[38]=r("span",null,"数据展示已移除身份证号码和联系电话",-1)),r("div",null,[r("button",{type:"button",disabled:ae.value<=1,onClick:t[11]||(t[11]=a=>qt(ae.value-1))},"上一页",8,rs),r("strong",null,i(ae.value)+" / "+i(mt.value),1),r("button",{type:"button",disabled:ae.value>=mt.value,onClick:t[12]||(t[12]=a=>qt(ae.value+1))},"下一页",8,ls)])])])])):O("",!0),r("div",ss,[ze(Qn,{"model-value":S.value,topics:Za.value,compact:"","onUpdate:modelValue":dn},null,8,["model-value","topics"])])],32))}};export{ks as default}; diff --git a/docs/assets/index-1a452d1c-balabala-1786725044461.css b/docs/assets/index-1a452d1c-balabala-1786725044461.css deleted file mode 100644 index ce02230..0000000 --- a/docs/assets/index-1a452d1c-balabala-1786725044461.css +++ /dev/null @@ -1 +0,0 @@ -.analysis-workbench[data-v-a4924c57]{position:relative;z-index:2;box-sizing:border-box;display:grid;grid-template-rows:66px 76px minmax(0,1fr);gap:12px;width:100%;height:100%;padding:4px 0 0;color:#effcff}.analysis-toolbar[data-v-a4924c57],.object-banner[data-v-a4924c57],.stage-card[data-v-a4924c57]{border:1px solid rgba(70,199,211,.2);background:rgba(4,28,41,.78)}.analysis-toolbar[data-v-a4924c57]{display:flex;align-items:center;justify-content:space-between;padding:0 18px}.analysis-title span[data-v-a4924c57],.analysis-title strong[data-v-a4924c57]{display:block}.analysis-title span[data-v-a4924c57]{margin-bottom:5px;color:#66e1dab3;font-size:11px}.analysis-title strong[data-v-a4924c57]{font-size:23px;font-weight:600;letter-spacing:1px}.analysis-progress[data-v-a4924c57]{width:355px}.analysis-progress>div[data-v-a4924c57]{display:flex;align-items:center;justify-content:space-between}.analysis-progress span[data-v-a4924c57]{color:#dcf6f8a6;font-size:12px}.analysis-progress span i[data-v-a4924c57]{display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:#62decf;box-shadow:0 0 10px #62decf}.analysis-progress>div>strong[data-v-a4924c57]{color:#78e5d7;font-family:var(--screen-font-number);font-size:21px}.analysis-progress p[data-v-a4924c57]{height:4px;margin:7px 0 0;overflow:hidden;background:rgba(85,181,192,.12)}.analysis-progress p i[data-v-a4924c57]{position:relative;display:block;height:100%;overflow:hidden;background:linear-gradient(90deg,#35a9ba,#6ce4d2);box-shadow:0 0 12px #58e4d280;transition:width .2s linear}.analysis-progress p i[data-v-a4924c57]:after{content:"";position:absolute;top:0;bottom:0;width:56px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:progress-glint-a4924c57 1.5s linear infinite}.object-banner[data-v-a4924c57]{display:grid;grid-template-columns:260px 1fr 150px;align-items:center}.object-main[data-v-a4924c57]{height:100%;padding:12px 18px;border-right:1px solid rgba(70,199,211,.15)}.object-main span[data-v-a4924c57],.object-main strong[data-v-a4924c57],.object-main small[data-v-a4924c57],.object-status span[data-v-a4924c57],.object-status strong[data-v-a4924c57]{display:block}.object-main span[data-v-a4924c57],.object-status span[data-v-a4924c57]{color:#d2f1f47a;font-size:10px}.object-main strong[data-v-a4924c57]{margin:3px 0;overflow:hidden;color:#efffff;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.object-main small[data-v-a4924c57]{color:#8bccd385;font-family:var(--screen-font-number);font-size:10px}.analysis-steps[data-v-a4924c57]{display:flex;align-items:center;justify-content:center;padding:0 18px}.analysis-steps>div[data-v-a4924c57]{position:relative;display:flex;align-items:center;min-width:118px;color:#dbf2f54d}.analysis-steps>div[data-v-a4924c57]:not(:last-child):after{content:"";width:28px;height:1px;margin:0 10px;background:rgba(81,188,197,.18)}.analysis-steps span[data-v-a4924c57]{display:grid;place-items:center;width:22px;height:22px;margin-right:7px;border:1px solid currentColor;border-radius:50%;font-family:var(--screen-font-number);font-size:10px}.analysis-steps strong[data-v-a4924c57]{font-size:11px;font-weight:500;white-space:nowrap}.analysis-steps .active[data-v-a4924c57],.analysis-steps .done[data-v-a4924c57]{color:#75e2d3}.analysis-steps .active span[data-v-a4924c57]{animation:step-pulse-a4924c57 1.35s ease-in-out infinite}.analysis-steps .done[data-v-a4924c57]:not(:last-child):after{background:linear-gradient(90deg,#62dccc,rgba(98,220,204,.22))}.object-status[data-v-a4924c57]{padding-right:18px;text-align:right}.object-status strong[data-v-a4924c57]{margin-top:6px;color:#e9c85d;font-size:16px}.analysis-chain[data-v-a4924c57]{display:grid;grid-template-columns:minmax(300px,1.2fr) 24px minmax(238px,.92fr) 24px minmax(270px,1.02fr) 24px minmax(260px,1fr);gap:8px;min-height:0}.stage-card[data-v-a4924c57]{position:relative;min-width:0;overflow:hidden;transition:border-color .35s ease,background .35s ease,opacity .35s ease}.stage-card[data-v-a4924c57]:before{content:"";position:absolute;left:-1px;top:0;width:2px;height:72px;background:rgba(72,219,210,.3)}.stage-card.is-future[data-v-a4924c57]{opacity:.48}.stage-card.is-active[data-v-a4924c57]{border-color:#5fe5d98c;background:rgba(6,43,55,.9);box-shadow:inset 0 0 32px #4dded20d}.stage-card.is-active[data-v-a4924c57]:after{content:"";position:absolute;top:68px;bottom:0;width:1px;background:linear-gradient(180deg,transparent,rgba(112,232,217,.55),transparent);box-shadow:0 0 14px #70e8d957;pointer-events:none;animation:stage-scan-a4924c57 2.2s linear infinite}.stage-card.is-done[data-v-a4924c57]{border-color:#4cc7c057}.stage-heading[data-v-a4924c57]{display:grid;grid-template-columns:34px 1fr auto;align-items:center;height:68px;padding:0 12px;border-bottom:1px solid rgba(67,184,196,.14);background:rgba(17,58,72,.38)}.stage-heading>span[data-v-a4924c57]{color:#6ce0d1;font-family:var(--screen-font-number);font-size:18px}.stage-heading h2[data-v-a4924c57],.stage-heading p[data-v-a4924c57]{margin:0}.stage-heading h2[data-v-a4924c57]{font-size:16px;font-weight:600}.stage-heading p[data-v-a4924c57]{margin-top:4px;color:#c3e6e961;font-size:9px}.stage-heading small[data-v-a4924c57]{color:#69dbd099;font-size:9px}.stage-connector[data-v-a4924c57]{position:relative;display:grid;place-items:center}.stage-connector>i[data-v-a4924c57]{width:100%;height:1px;background:rgba(76,202,204,.18)}.stage-connector>i[data-v-a4924c57]:after{content:"";position:absolute;right:1px;top:calc(50% - 4px);width:7px;height:7px;border-top:1px solid rgba(90,220,213,.45);border-right:1px solid rgba(90,220,213,.45);transform:rotate(45deg)}.stage-connector>span[data-v-a4924c57]{position:absolute;left:0;width:6px;height:6px;border-radius:50%;background:#6ce4d2;box-shadow:0 0 10px #6ce4d2;opacity:0}.stage-connector.active>span[data-v-a4924c57]{opacity:1;animation:connector-flow-a4924c57 1.25s linear infinite}.resource-total-grid[data-v-a4924c57]{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 12px 10px}.resource-total-grid>div[data-v-a4924c57]{padding:11px 10px;border:1px solid rgba(66,181,194,.16);background:rgba(3,27,39,.56)}.resource-total-grid span[data-v-a4924c57],.resource-total-grid strong[data-v-a4924c57],.resource-total-grid small[data-v-a4924c57]{display:block}.resource-total-grid span[data-v-a4924c57]{color:#cdecef85;font-size:9px}.resource-total-grid strong[data-v-a4924c57]{margin-top:4px;overflow:hidden;color:#66dfc4;font-family:var(--screen-font-number);font-size:19px;text-overflow:ellipsis}.resource-total-grid small[data-v-a4924c57]{color:#d0f0f25c;font-size:8px}.resource-total-grid .wetland-total strong[data-v-a4924c57]{color:#e6c15a}.type-section[data-v-a4924c57]{padding:9px 12px 3px}.type-title[data-v-a4924c57],.type-row[data-v-a4924c57]{display:grid;align-items:center}.type-title[data-v-a4924c57]{grid-template-columns:1fr auto;padding-bottom:7px;color:#c8eef080}.type-title strong[data-v-a4924c57]{color:#75dccb;font-size:11px}.wetland-types .type-title strong[data-v-a4924c57]{color:#dfbd58}.type-title span[data-v-a4924c57]{font-size:8px}.type-row[data-v-a4924c57]{grid-template-columns:82px minmax(30px,1fr) 60px 34px;gap:6px;min-height:29px;font-size:8px}.type-row>span[data-v-a4924c57]{overflow:hidden;color:#e1f7f8b8;text-overflow:ellipsis;white-space:nowrap}.type-row>div[data-v-a4924c57]{height:5px;overflow:hidden;background:rgba(73,157,169,.12)}.type-row>div i[data-v-a4924c57]{display:block;height:100%;background:#65dec8;transition:width .7s ease}.wetland-types .type-row>div i[data-v-a4924c57]{background:#d8b648}.type-row strong[data-v-a4924c57],.type-row em[data-v-a4924c57]{color:#effdfdbf;font-family:var(--screen-font-number);font-size:8px;font-style:normal;font-weight:500;text-align:right;white-space:nowrap}.type-row em[data-v-a4924c57]{color:#78ddd3ad}.primary-metric[data-v-a4924c57]{padding:18px 14px 7px;text-align:center}.primary-metric span[data-v-a4924c57],.primary-metric small[data-v-a4924c57],.secondary-metric span[data-v-a4924c57],.secondary-metric small[data-v-a4924c57]{color:#d3eff17a;font-size:9px}.primary-metric strong[data-v-a4924c57]{margin:0 5px;color:#77e3ce;font-family:var(--screen-font-number);font-size:36px}.secondary-metric[data-v-a4924c57]{text-align:center}.secondary-metric strong[data-v-a4924c57]{margin:0 4px;color:#a7d8cf;font-family:var(--screen-font-number);font-size:17px}.productivity-donut[data-v-a4924c57]{display:grid;place-items:center;width:134px;height:134px;margin:20px auto 16px;border-radius:50%;box-shadow:0 0 22px #4cdacb1f}.reveal-block[data-v-a4924c57]{opacity:0;transform:translateY(10px);transition:opacity .7s ease,transform .7s ease}.reveal-block.is-revealed[data-v-a4924c57]{opacity:1;transform:translateY(0)}.productivity-donut[data-v-a4924c57]:before{content:"";grid-area:1/1;width:98px;height:98px;border-radius:50%;background:#082536;box-shadow:inset 0 0 18px #00000059}.productivity-donut>div[data-v-a4924c57]{z-index:1;grid-area:1/1;text-align:center}.productivity-donut strong[data-v-a4924c57],.productivity-donut span[data-v-a4924c57]{display:block}.productivity-donut strong[data-v-a4924c57]{color:#76e2cf;font-family:var(--screen-font-number);font-size:25px}.productivity-donut span[data-v-a4924c57]{margin-top:4px;color:#d8f1f36b;font-size:8px}.contribution-legend[data-v-a4924c57]{padding:0 13px}.contribution-legend>div[data-v-a4924c57]{display:grid;grid-template-columns:7px 1fr auto;gap:7px;align-items:center;min-height:37px;border-bottom:1px solid rgba(70,175,188,.1)}.contribution-legend>div>i[data-v-a4924c57]{width:6px;height:6px;border-radius:50%}.contribution-legend span[data-v-a4924c57]{color:#e5f8f9ad;font-size:9px}.contribution-legend span small[data-v-a4924c57]{display:block;margin-top:2px;color:#bfe0e359;font-size:8px}.contribution-legend strong[data-v-a4924c57]{color:#e8f8f8;font-family:var(--screen-font-number);font-size:10px}.grass-production[data-v-a4924c57]{display:grid;grid-template-columns:1fr 20px 1fr;gap:5px;align-items:center;padding:18px 12px 12px}.grass-production>div[data-v-a4924c57]{padding:10px 6px;border:1px solid rgba(70,181,193,.14);background:rgba(3,27,39,.5);text-align:center}.grass-production span[data-v-a4924c57],.grass-production strong[data-v-a4924c57],.grass-production small[data-v-a4924c57]{display:block}.grass-production span[data-v-a4924c57]{color:#cdebee73;font-size:8px}.grass-production strong[data-v-a4924c57]{margin:4px 0 1px;color:#70dfca;font-family:var(--screen-font-number);font-size:21px}.grass-production>div:last-child strong[data-v-a4924c57]{color:#dfbd55}.grass-production small[data-v-a4924c57]{color:#ceecef57;font-size:8px}.grass-production>i[data-v-a4924c57]{position:relative;height:1px;background:rgba(77,210,207,.28)}.grass-production>i[data-v-a4924c57]:after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid #64d9ce;border-right:1px solid #64d9ce;transform:rotate(45deg)}.capacity-bars[data-v-a4924c57]{display:grid;grid-template-columns:1fr 1fr;gap:24px;height:290px;padding:16px 35px 0;border-bottom:1px solid rgba(68,176,188,.12)}.capacity-bars>div[data-v-a4924c57]{display:grid;grid-template-rows:20px 1fr 24px 15px;text-align:center}.capacity-bars span[data-v-a4924c57]{color:#d7f0f27a;font-size:9px}.capacity-bars p[data-v-a4924c57]{position:relative;align-self:end;width:34px;height:190px;margin:0 auto;border-bottom:1px solid rgba(80,194,200,.25);background:linear-gradient(180deg,rgba(64,157,166,.03),rgba(64,157,166,.1))}.capacity-bars p i[data-v-a4924c57]{position:absolute;left:4px;right:4px;bottom:0;background:linear-gradient(180deg,#7ce6d1,#3ea796);box-shadow:0 0 16px #57e0cb2e;transition:height .9s ease}.capacity-bars .livestock-bar p i[data-v-a4924c57]{background:linear-gradient(180deg,#e4c557,#ae852d);box-shadow:0 0 16px #e2c04c29}.capacity-bars strong[data-v-a4924c57]{color:#75dfcc;font-family:var(--screen-font-number);font-size:16px}.capacity-bars .livestock-bar strong[data-v-a4924c57]{color:#e4c45a}.capacity-bars small[data-v-a4924c57]{color:#d1eef057;font-size:8px}.capacity-summary[data-v-a4924c57]{display:flex;align-items:baseline;justify-content:center;gap:8px;padding-top:18px}.capacity-summary span[data-v-a4924c57],.capacity-summary small[data-v-a4924c57]{color:#d2eff16b;font-size:9px}.capacity-summary strong[data-v-a4924c57]{color:#e0bb4d;font-family:var(--screen-font-number);font-size:21px}.capacity-summary strong.surplus[data-v-a4924c57]{color:#6ee0ca}.verdict-visual[data-v-a4924c57]{display:grid;grid-template-columns:105px 1fr;align-items:center;padding:38px 18px 24px}.verdict-scale[data-v-a4924c57]{position:relative;width:82px;height:82px;border:1px solid rgba(80,220,211,.3);border-radius:50%;box-shadow:inset 0 0 24px #3dd7cc1a,0 0 18px #3dd7cc1a}.verdict-scale[data-v-a4924c57]:before,.verdict-scale[data-v-a4924c57]:after{content:"";position:absolute;left:50%;background:#67dbcf}.verdict-scale[data-v-a4924c57]:before{top:19px;width:1px;height:40px}.verdict-scale[data-v-a4924c57]:after{top:32px;width:48px;height:1px;transform:translate(-50%)}.verdict-scale i[data-v-a4924c57],.verdict-scale span[data-v-a4924c57]{position:absolute;top:32px;width:26px;height:20px;border-bottom:1px solid #67dbcf;border-radius:0 0 50% 50%}.verdict-scale i[data-v-a4924c57]{left:9px}.verdict-scale span[data-v-a4924c57]{right:9px}.verdict-visual>div:last-child>span[data-v-a4924c57],.verdict-visual>div:last-child>strong[data-v-a4924c57],.verdict-visual>div:last-child>small[data-v-a4924c57]{display:block}.verdict-visual>div:last-child>span[data-v-a4924c57]{color:#ceeef073;font-size:9px}.verdict-visual>div:last-child>strong[data-v-a4924c57]{margin:7px 0;color:#71dfcc;font-size:25px;line-height:1.2}.verdict-visual>div:last-child>small[data-v-a4924c57]{color:#daf2f485;font-size:9px}.verdict-evidence[data-v-a4924c57]{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px}.verdict-evidence>div[data-v-a4924c57]{padding:12px 6px;border:1px solid rgba(73,181,194,.15);background:rgba(4,29,41,.54);text-align:center}.verdict-evidence span[data-v-a4924c57],.verdict-evidence strong[data-v-a4924c57]{display:block}.verdict-evidence span[data-v-a4924c57]{color:#cfedef6b;font-size:8px}.verdict-evidence strong[data-v-a4924c57]{margin-top:6px;color:#e1be52;font-family:var(--screen-font-number);font-size:14px}.verdict-advice[data-v-a4924c57]{margin:16px 12px 0;padding:14px;border:1px solid rgba(207,177,68,.24);background:rgba(84,66,14,.12)}.verdict-advice span[data-v-a4924c57]{color:#d7b647;font-size:9px}.verdict-advice p[data-v-a4924c57]{margin:8px 0 0;color:#e7f4f1bd;font-size:11px;line-height:1.75}.stage-loading[data-v-a4924c57],.detail-unavailable[data-v-a4924c57]{display:grid;place-items:center;align-content:center;gap:13px;height:calc(100% - 70px);color:#cbebee57}.stage-loading i[data-v-a4924c57],.detail-unavailable i[data-v-a4924c57]{width:44px;height:4px;overflow:hidden;background:rgba(72,174,185,.12)}.stage-loading i[data-v-a4924c57]:after,.detail-unavailable i[data-v-a4924c57]:after{content:"";display:block;width:18px;height:100%;background:#65dacc;animation:loading-slide-a4924c57 1.2s ease-in-out infinite}.stage-loading strong[data-v-a4924c57],.detail-unavailable strong[data-v-a4924c57]{font-size:10px;font-weight:500}.productivity-empty[data-v-a4924c57]{height:calc(100% - 70px)}.resource-stage .detail-unavailable[data-v-a4924c57]{height:210px}@keyframes connector-flow-a4924c57{0%{transform:translate(0)}to{transform:translate(22px)}}@keyframes progress-glint-a4924c57{0%{transform:translate(-64px)}to{transform:translate(360px)}}@keyframes step-pulse-a4924c57{0%,to{box-shadow:0 0 #64e0d200}50%{box-shadow:0 0 14px #64e0d26b}}@keyframes stage-scan-a4924c57{0%{left:0;opacity:0}12%,88%{opacity:1}to{left:100%;opacity:0}}@keyframes loading-slide-a4924c57{0%,to{transform:translate(-18px);opacity:.3}50%{transform:translate(44px);opacity:1}}.grass-livestock-balance{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:radial-gradient(circle at 50% 35%,rgba(63,235,219,.16),transparent 28%),radial-gradient(circle at 73% 62%,rgba(255,211,103,.08),transparent 32%),radial-gradient(circle at 22% 78%,rgba(52,152,125,.1),transparent 30%),linear-gradient(135deg,#020a12 0%,#062439 50%,#03101b 100%)}.grass-livestock-balance:before,.grass-livestock-balance:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.grass-livestock-balance:before{background:linear-gradient(rgba(89,233,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(89,233,255,.014) 1px,transparent 1px);background-size:64px 64px;-webkit-mask-image:radial-gradient(circle at 50% 47%,#000 0 48%,transparent 78%);mask-image:radial-gradient(circle at 50% 47%,#000 0 48%,transparent 78%)}.grass-livestock-balance:after{background:linear-gradient(112deg,transparent 0 35%,rgba(126,251,246,.055) 44%,transparent 54% 100%),linear-gradient(180deg,rgba(1,7,13,.18),rgba(1,7,13,.58));mix-blend-mode:screen;opacity:.78}.balance-backdrop{position:absolute;left:50%;top:104px;z-index:1;width:1740px;height:944px;transform:translate(-50%);pointer-events:none;background:radial-gradient(ellipse at 50% 30%,rgba(126,251,246,.16),transparent 34%),linear-gradient(90deg,transparent,rgba(126,251,246,.045),rgba(255,215,108,.026),transparent),linear-gradient(rgba(48,220,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(48,220,255,.018) 1px,transparent 1px);background-size:100% 100%,100% 100%,42px 42px,42px 42px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent)}.balance-backdrop:before,.balance-backdrop:after{content:"";position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.5),rgba(255,215,108,.34),transparent);box-shadow:0 0 22px #7efbf633}.balance-backdrop:before{top:64px}.balance-backdrop:after{bottom:42px}.balance-energy-band{position:absolute;left:96px;right:96px;top:108px;height:460px;background:radial-gradient(ellipse at 50% 50%,rgba(36,246,196,.16),transparent 56%),linear-gradient(90deg,transparent,rgba(126,251,246,.1),rgba(255,215,108,.055),transparent),repeating-linear-gradient(90deg,transparent 0 32px,rgba(126,251,246,.04) 32px 33px);opacity:.78;transform:perspective(820px) rotateX(60deg);transform-origin:top;animation:balance-band-pulse 4.6s ease-in-out infinite}.balance-orbit{position:absolute;top:108px;width:282px;height:282px;border:1px solid rgba(126,251,246,.08);border-radius:50%;box-shadow:inset 0 0 38px #7efbf60d,0 0 36px #7efbf60a}.balance-orbit:before,.balance-orbit:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.balance-orbit:before{top:22px;right:22px;bottom:22px;left:22px;border:1px dashed rgba(126,251,246,.08)}.balance-orbit:after{top:72px;right:72px;bottom:72px;left:72px;border:1px solid rgba(255,215,108,.05)}.balance-orbit.is-left{left:285px}.balance-orbit.is-right{right:285px}.balance-screen{position:absolute;left:50%;top:128px;z-index:4;display:grid;grid-template-columns:326px 1310px;align-items:start;gap:24px;width:1660px;transform:translate(-50%);pointer-events:none}.balance-card{height:var(--balance-card-height)!important;filter:drop-shadow(0 18px 28px rgba(0,0,0,.28)) drop-shadow(0 0 24px rgba(31,209,220,.04));pointer-events:all}.balance-card .m-card-bd,.balance-card .m-card-bd-bg{height:var(--balance-card-height)!important}.balance-card .m-card-hd-bg,.balance-card .m-card-hd-zs1,.balance-card .m-card-bd-bg>svg,.balance-card .m-card-bd-bottom-left-arrow,.balance-card .m-card-bd-bottom-right-arrow,.balance-card .m-card-bd-middle-left-line,.balance-card .m-card-bd-middle-right-line{opacity:0}.balance-card .m-card-hd{height:44px;background:linear-gradient(90deg,rgba(48,220,255,.2),rgba(48,220,255,.05) 44%,transparent),linear-gradient(180deg,rgba(12,90,107,.58),rgba(4,28,44,0));clip-path:polygon(0 0,154px 0,178px 20px,100% 20px,100% 44px,0 44px)}.balance-card .m-card-hd:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.56),rgba(255,215,108,.22),transparent 72%);box-shadow:0 0 14px #7efbf62e}.balance-card .m-card-hd:after{content:"";position:absolute;right:18px;top:10px;width:168px;height:8px;background:repeating-linear-gradient(90deg,rgba(126,251,246,.28) 0 9px,transparent 9px 15px);opacity:.58;transform:skew(28deg)}.balance-card .m-card-bd{background:radial-gradient(circle at 50% 0,rgba(126,251,246,.075),transparent 34%),linear-gradient(135deg,rgba(126,251,246,.052),transparent 24%),linear-gradient(315deg,rgba(255,215,108,.028),transparent 32%),linear-gradient(180deg,rgba(4,39,54,.5),rgba(1,16,27,.58));clip-path:polygon(0 0,calc(100% - 30px) 0,100% 30px,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%)}.balance-card .m-card-bd:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(48,220,255,.12);box-shadow:inset 0 0 40px #30dcff06,inset 0 0 1px #7efbf62e;clip-path:inherit;pointer-events:none}.balance-card .m-card-bd:after{content:"";position:absolute;top:42px;right:1px;bottom:1px;left:1px;background:linear-gradient(rgba(126,251,246,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(126,251,246,.016) 1px,transparent 1px);background-size:38px 38px;opacity:.46;pointer-events:none}.balance-card .m-card-bd-content{top:44px;bottom:10px;color:#f3feff}.balance-card .m-card-bd-bg:after{content:"";position:absolute;top:5px;right:6px;bottom:7px;left:6px;pointer-events:none;border:0;background:linear-gradient(140deg,rgba(32,199,214,.035),transparent 34%),linear-gradient(180deg,rgba(17,72,90,.025),rgba(5,28,42,.035))}.balance-sheet-card{filter:none}.balance-sheet-card .m-card-hd{background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.055) 36%,transparent 58%)}.balance-sheet-card .m-card-hd:before{right:32%;background:linear-gradient(90deg,rgba(126,251,246,.62),rgba(255,215,108,.24),transparent)}.balance-sheet-card .m-card-hd:after{display:none}.balance-sheet-card .m-card-bd{background:radial-gradient(circle at 50% 43%,rgba(36,246,196,.075),transparent 30%),linear-gradient(180deg,rgba(6,48,63,.12),rgba(1,13,23,.16))}.balance-sheet-card .m-card-bd:before{border-color:transparent;box-shadow:none}.balance-sheet-card .m-card-bd:after{opacity:.24}.balance-sheet-card .m-card-bd-bg:after{background:none}.balance-target-card{filter:drop-shadow(0 14px 24px rgba(0,0,0,.26)) drop-shadow(0 0 16px rgba(31,209,220,.04))}.balance-target-card .m-card-hd{background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04) 58%,transparent)}.balance-target-card .m-card-hd:before{right:18%}.balance-target-card .m-card-bd{background:radial-gradient(circle at 84% 18%,rgba(255,215,108,.08),transparent 28%),linear-gradient(180deg,rgba(5,42,56,.34),rgba(1,15,25,.42))}.balance-target-card .m-card-bd:before{border-color:#30dcff0e;border-left-color:#30dcff29;border-bottom-color:#30dcff1f}.balance-target-card .m-card-bd-bg:after{background:radial-gradient(circle at 82% 28%,rgba(255,215,108,.045),transparent 28%),linear-gradient(180deg,rgba(48,220,255,.018),transparent 44%)}.grass-livestock-balance .m-card-hd-title{left:22px!important;height:44px!important;line-height:38px!important;color:#fff!important;font-size:15px!important;letter-spacing:1px!important;background:none!important;-webkit-text-fill-color:#fff!important;font-weight:800!important;filter:brightness(1.2) contrast(1.08)!important;text-shadow:0 0 1px rgba(255,255,255,.96),0 0 8px rgba(255,255,255,.22)!important}.balance-selector{display:grid;grid-template-rows:40px minmax(112px,1fr) 154px;gap:16px;height:100%;padding:10px 10px 12px;box-sizing:border-box}.balance-scope-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.balance-scope-tabs button{position:relative;height:36px;min-width:0;border:0;background:linear-gradient(180deg,rgba(9,53,69,.28),rgba(4,25,39,.18)),linear-gradient(90deg,rgba(126,251,246,.04),transparent);color:#dffaffc2;font-size:12px;cursor:pointer;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%);transition:color .2s ease,border-color .2s ease,background .2s ease}.balance-scope-tabs button:after{content:"";position:absolute;left:18%;right:18%;bottom:4px;height:1px;background:rgba(126,251,246,.46);opacity:0;box-shadow:0 0 10px #7efbf64d}.balance-scope-tabs button.active,.balance-scope-tabs button:hover{background:linear-gradient(90deg,rgba(20,122,128,.5),rgba(255,215,108,.12)),rgba(3,28,39,.22);color:#fff}.balance-scope-tabs button.active:after,.balance-scope-tabs button:hover:after{opacity:1}.balance-target-list{display:grid;align-content:start;gap:9px;min-height:0;overflow-y:auto;padding-right:4px}.balance-target-list::-webkit-scrollbar{width:3px}.balance-target-list::-webkit-scrollbar-thumb{background:rgba(48,220,255,.28)}.balance-target-list button{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0;height:42px;padding:0 12px 0 15px;border:0;background:linear-gradient(90deg,rgba(48,220,255,.1),transparent 66%),linear-gradient(180deg,rgba(8,45,59,.22),rgba(3,20,31,.12));color:#dffaffc7;cursor:pointer;box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,0 100%);transition:transform .18s ease,color .18s ease,background .18s ease}.balance-target-list button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-target-list button:after{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;background:rgba(126,251,246,.38);opacity:0}.balance-target-list button:hover{transform:translate(3px);color:#fff}.balance-target-list button:hover:before{border-color:#7efbf63d}.balance-target-list span,.balance-target-list small{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:1}.balance-target-list span{font-size:14px}.balance-target-list small{color:#7efbf68f;font-size:12px;text-align:right}.balance-target-list button.active{background:linear-gradient(90deg,rgba(255,215,108,.24),rgba(31,122,130,.46) 58%,rgba(4,27,42,.14)),rgba(4,27,42,.26);color:#fff;transform:translate(5px)}.balance-target-list button.active:before{border-color:#ffd76c75;box-shadow:inset 0 0 16px #ffd76c1a}.balance-target-list button.active:after{opacity:1;background:#ffd76c;box-shadow:0 0 12px #ffd76c61}.balance-action-box{position:relative;display:grid;align-content:center;min-width:0;padding:16px;background:radial-gradient(circle at 90% 18%,rgba(255,215,108,.1),transparent 30%),linear-gradient(135deg,rgba(255,215,108,.055),transparent 42%),linear-gradient(180deg,rgba(4,27,42,.16),rgba(4,27,42,.08));box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);animation:balance-stream-reveal .18s ease both}.balance-action-box:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-left:1px solid rgba(48,220,255,.13);border-bottom:1px solid rgba(48,220,255,.06);clip-path:inherit;pointer-events:none}.balance-action-box:after{content:"";position:absolute;left:17px;right:17px;bottom:58px;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.38),transparent);pointer-events:none}.balance-action-box span,.balance-action-box strong,.balance-action-box small{position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:1}.balance-action-box span,.balance-action-box small{color:#dffaffa3;font-size:12px}.balance-action-box strong{margin-top:8px;color:#fff;font-size:25px;line-height:32px;text-shadow:0 0 16px rgba(126,251,246,.16)}.balance-action-box small{margin-top:4px;color:#7efbf6b8}.balance-action-box button{position:relative;z-index:1;width:148px;height:42px;margin-top:18px;border:1px solid rgba(255,215,108,.38);background:linear-gradient(90deg,rgba(255,215,108,.3),rgba(48,220,255,.14)),rgba(4,27,42,.55);color:#fff;cursor:pointer;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);box-shadow:inset 0 0 16px #ffd76c14,0 0 18px #ffd76c14;transition:transform .18s ease,box-shadow .18s ease}.balance-action-box button:not(:disabled):hover{transform:translateY(-1px);box-shadow:inset 0 0 18px #ffd76c1f,0 0 22px #ffd76c24}.balance-action-box button:disabled{cursor:default;opacity:.55}.balance-sheet{position:relative;height:100%;padding:8px 18px 18px;overflow:hidden;box-sizing:border-box}.balance-sheet:before{content:"";position:absolute;left:22px;right:22px;top:9px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.45),rgba(255,215,108,.28),transparent);animation:balance-scan 2.8s linear infinite;pointer-events:none}.balance-sheet:after{content:"";position:absolute;left:18px;right:18px;bottom:14px;height:38%;background:radial-gradient(ellipse at 50% 100%,rgba(126,251,246,.14),transparent 68%);pointer-events:none}.balance-field-lines{position:absolute;top:86px;right:70px;bottom:116px;left:70px;z-index:0;pointer-events:none}.balance-field-lines:before{content:"";position:absolute;left:4%;right:4%;top:45%;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.22),rgba(255,215,108,.14),rgba(126,251,246,.22),transparent);box-shadow:0 0 20px #7efbf614}.balance-field-lines:after{content:"";position:absolute;left:20%;right:20%;top:21%;height:330px;background:radial-gradient(ellipse at 50% 26%,rgba(36,246,196,.14),transparent 50%),repeating-linear-gradient(90deg,transparent 0 42px,rgba(126,251,246,.032) 42px 43px);transform:perspective(700px) rotateX(58deg);transform-origin:top;opacity:.86}.balance-field-lines i{position:absolute;top:44%;width:220px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.42),transparent);transform-origin:center;animation:balance-field-drift 5.2s ease-in-out infinite}.balance-field-lines i:nth-child(1){left:12%;transform:rotate(-16deg)}.balance-field-lines i:nth-child(2){left:42%;width:280px;animation-delay:-1.4s}.balance-field-lines i:nth-child(3){right:11%;transform:rotate(16deg);animation-delay:-2.6s}.balance-waiting,.balance-running{position:relative;z-index:1;display:grid;grid-template-rows:minmax(0,1fr) 86px;gap:22px;height:100%;text-align:center}.balance-wait-core{position:relative;display:grid;justify-items:center;align-content:center;gap:20px}.balance-wait-core:before{content:"";position:absolute;width:760px;height:330px;background:radial-gradient(ellipse at 50% 38%,rgba(36,246,196,.2),transparent 52%),linear-gradient(90deg,transparent,rgba(126,251,246,.1),transparent),repeating-linear-gradient(90deg,transparent 0 34px,rgba(126,251,246,.04) 34px 35px);transform:perspective(640px) rotateX(63deg) translateY(86px);transform-origin:bottom;pointer-events:none}.balance-wait-core>*{position:relative;z-index:1}.balance-core-ring{position:relative;display:grid;place-items:center;width:178px;height:178px;border-radius:50%;background:conic-gradient(from -90deg,#24f6c4 var(--usage-angle, 0deg),rgba(48,220,255,.12) var(--usage-angle, 0deg),rgba(48,220,255,.12) 360deg);box-shadow:0 0 34px #24f6c433,0 0 82px #24f6c411,inset 0 0 32px #02101ab8}.balance-core-ring:before,.balance-core-ring:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.balance-core-ring:before{top:9px;right:9px;bottom:9px;left:9px;border:1px solid rgba(126,251,246,.24);animation:balance-rotate 8s linear infinite;box-shadow:inset 0 0 18px #7efbf60f}.balance-core-ring:after{top:-10px;right:-10px;bottom:-10px;left:-10px;border:1px dashed rgba(126,251,246,.18);animation:balance-rotate 14s linear infinite reverse}.balance-core-ring.is-empty{--usage-angle: 42deg;background:conic-gradient(from -90deg,rgba(126,251,246,.28) 0deg 42deg,rgba(48,220,255,.1) 42deg 360deg)}.balance-core-ring.is-empty .balance-core-inner strong{max-width:134px;font-size:30px;line-height:34px}.balance-core-inner{position:relative;z-index:1;display:grid;place-items:center;align-content:center;width:136px;height:136px;border-radius:50%;background:radial-gradient(circle,rgba(8,48,58,.9),rgba(2,17,27,.96) 68%),rgba(2,17,27,.92);text-align:center}.balance-core-inner span,.balance-core-inner strong,.balance-core-inner small{max-width:118px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-core-inner span,.balance-core-inner small{color:#dffaffa8;font-size:12px}.balance-core-inner strong{margin:8px 0 5px;color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:34px;line-height:36px;text-shadow:0 0 18px rgba(36,246,196,.35)}.balance-waiting h2{max-width:940px;margin:0;overflow:hidden;color:#fff;font-size:33px;line-height:42px;text-overflow:ellipsis;white-space:nowrap}.balance-waiting p{max-width:720px;margin:0;color:#dffaffb3;font-size:15px;line-height:24px}.balance-retry-button{min-width:176px;height:40px;padding:0 20px;border:1px solid rgba(126,251,246,.66);border-radius:2px;color:#f8ffff;background:linear-gradient(180deg,rgba(24,115,133,.92),rgba(4,46,63,.94));box-shadow:0 8px 22px #00081042,inset 0 0 0 1px #ffffff0d;cursor:pointer;font-size:13px;font-weight:650}.balance-retry-button:hover:not(:disabled){border-color:#7efbf6;background:linear-gradient(180deg,rgba(34,145,158,.96),rgba(5,60,76,.96))}.balance-retry-button:disabled{cursor:wait;opacity:.66}.balance-preflight{display:grid;grid-template-columns:112px minmax(0,1fr) 136px minmax(0,1fr) 148px;align-items:center;max-width:760px;width:100%;margin:0 auto}.balance-preflight span{position:relative;height:34px;color:#dffaff85;font-size:13px;line-height:34px;text-align:center;background:transparent;clip-path:none}.balance-preflight span:before{content:"";position:absolute;left:50%;top:-8px;width:8px;height:8px;border:1px solid rgba(126,251,246,.4);background:rgba(6,44,58,.7);transform:translate(-50%) rotate(45deg);box-shadow:0 0 12px #7efbf61a}.balance-preflight span.active{color:#7efbf6;box-shadow:none}.balance-preflight span.active:before{border-color:#ffd76c94;background:rgba(255,215,108,.28)}.balance-preflight i{height:1px;background:linear-gradient(90deg,rgba(126,251,246,.1),rgba(126,251,246,.6),rgba(255,215,108,.34))}.balance-running{grid-template-rows:218px minmax(0,1fr);text-align:left}.balance-running-head{position:relative;display:grid;grid-template-columns:238px minmax(0,1fr);align-items:center;gap:34px;padding:34px 84px 22px}.balance-running-head:before{content:"";position:absolute;left:64px;right:64px;bottom:4px;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.44),rgba(255,215,108,.28),transparent)}.balance-running-title{min-width:0}.balance-running-title span,.balance-running-title strong,.balance-running-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-running-title span{color:#7efbf6b8;font-size:16px}.balance-running-title strong{margin-top:12px;color:#fff;font-size:36px;line-height:44px;text-shadow:0 0 18px rgba(126,251,246,.14)}.balance-running-title small{margin-top:10px;color:#ffd76cb8;font-variant-numeric:tabular-nums;font-size:16px}.balance-progress-line{position:relative;height:13px;margin-top:22px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,.05)),rgba(1,12,21,.5);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-progress-line i{display:block;height:100%;background:linear-gradient(90deg,rgba(36,246,196,.18),#24f6c4,#ffd76c);box-shadow:0 0 18px #24f6c438;transition:width .16s linear}.balance-progress-line:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);animation:balance-flow-light 1.4s linear infinite}.balance-running-body{min-height:0;padding:0 84px 30px;overflow:hidden}.balance-stream-list{width:100%;height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%)}.balance-stream-list::-webkit-scrollbar{display:none}.balance-stream-items{display:grid;grid-auto-rows:72px;align-content:start;gap:10px;min-height:100%;padding:24px 0 30px;box-sizing:border-box}.balance-stream-line{position:relative;display:grid;grid-template-columns:46px minmax(132px,190px) minmax(0,1fr);align-items:center;gap:18px;width:100%;min-height:72px;padding:0 26px;overflow:hidden;background:linear-gradient(90deg,rgba(36,246,196,.13),rgba(48,220,255,.055) 56%,rgba(255,215,108,.03)),rgba(3,28,42,.82);border-left:2px solid rgba(36,246,196,.7);box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);opacity:.72;transition:opacity .22s ease,background .22s ease}.balance-stream-line:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,#24f6c4,rgba(48,220,255,.28),transparent)}.balance-stream-line>span{width:34px;height:34px;color:#7efbf6;border:1px solid rgba(126,251,246,.38);font-family:D-DIN,Arial,sans-serif;font-size:14px;line-height:32px;text-align:center}.balance-stream-line strong,.balance-stream-line p,.balance-stream-line em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-stream-line strong{color:#fff;font-size:19px}.balance-stream-line p{margin:0;color:#7efbf6;font-family:D-DIN,AlibabaPuHuiTi,Arial,sans-serif;font-size:18px}.balance-stream-line em{color:#ffd76c;font-style:normal}.balance-stream-line.is-loading{display:flex;justify-content:center;min-height:72px;margin-top:24px;color:#dffaffa8;font-size:16px;opacity:1}.balance-stream-line.is-current{background:linear-gradient(90deg,rgba(36,246,196,.19),rgba(48,220,255,.075) 56%,rgba(255,215,108,.045)),rgba(3,28,42,.9);opacity:1}.balance-stream-enter-active{animation:balance-stream-append .28s ease both}@keyframes balance-stream-append{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes balance-stream-reveal{0%{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.balance-stage-data{display:grid;grid-template-rows:36px minmax(0,1fr);gap:10px;min-width:0;min-height:0;padding:14px 16px;background:linear-gradient(180deg,rgba(7,48,62,.88),rgba(3,28,42,.86));border:1px solid rgba(48,220,255,.12);box-sizing:border-box;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}.balance-stage-data-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid rgba(126,251,246,.16)}.balance-stage-data-title span{color:#fff;font-size:16px}.balance-stage-data-title small{color:#7efbf6ad;font-size:12px}.balance-stage-data-list{display:grid;align-content:start;gap:6px;min-height:0;overflow:hidden}.balance-stage-data-row{display:grid;grid-template-columns:minmax(90px,.74fr) minmax(150px,1fr) minmax(150px,1.12fr);align-items:center;gap:12px;min-height:34px;padding:0 12px;background:rgba(4,33,46,.76);border-left:2px solid rgba(36,246,196,.4);box-sizing:border-box}.balance-stage-data-row strong,.balance-stage-data-row span,.balance-stage-data-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-stage-data-row strong{color:#fff;font-size:13px}.balance-stage-data-row span{color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:13px}.balance-stage-data-row em{color:#ffd76cc7;font-size:12px;font-style:normal;text-align:right}.balance-stage-data-empty{display:grid;place-items:center;color:#dffaff94;font-size:14px}.balance-live-process{display:grid;gap:11px;min-height:0;padding:0}.balance-live-step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;min-height:74px;padding:0 20px;background:linear-gradient(90deg,rgba(48,220,255,.075),transparent 48%),linear-gradient(180deg,rgba(6,38,51,.22),rgba(2,20,32,.08));opacity:.42;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%);transition:opacity .2s ease,transform .2s ease}.balance-live-step:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.075);clip-path:inherit;pointer-events:none}.balance-live-step>span{width:32px;height:32px;border:1px solid rgba(126,251,246,.34);color:#7efbf6c7;font-family:D-DIN,Arial,sans-serif;font-size:14px;line-height:30px;text-align:center}.balance-live-step div{min-width:0}.balance-live-step strong,.balance-live-step p,.balance-live-step em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-live-step strong{display:block;color:#fff;font-size:15px}.balance-live-step p{margin:7px 0 0;color:#ffd76ca8;font-variant-numeric:tabular-nums;font-size:12px}.balance-live-step em{color:#dffaff9e;font-family:D-DIN,Arial,sans-serif;font-size:17px;font-style:normal;text-align:right}.balance-live-step.is-active,.balance-live-step.is-done{opacity:1}.balance-live-step.is-active{transform:translate(8px);background:linear-gradient(90deg,rgba(36,246,196,.18),rgba(255,215,108,.09),transparent 66%),linear-gradient(180deg,rgba(10,58,70,.56),rgba(4,34,48,.42))}.balance-live-step.is-active:before{border-color:#7efbf66b;box-shadow:inset 0 0 18px #7efbf61a}.balance-live-step.is-active>span{background:rgba(36,246,196,.1);box-shadow:0 0 18px #24f6c41f}.balance-live-step.is-active p{animation:balance-value-pulse .44s ease-in-out infinite alternate}.balance-live-step.is-done em,.balance-live-step.is-active em{color:#7efbf6}.balance-analysis{display:grid;position:relative;z-index:1;grid-template-rows:214px 108px minmax(0,1fr);gap:15px;height:100%}.balance-dashboard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 282px minmax(0,1fr);align-items:center;gap:24px;min-height:0;padding:18px 26px;background:radial-gradient(circle at 50% 50%,rgba(36,246,196,.2),transparent 36%),radial-gradient(ellipse at 50% 100%,rgba(48,220,255,.1),transparent 58%),linear-gradient(90deg,rgba(48,220,255,.07),rgba(2,18,30,.1) 48%,rgba(255,215,108,.055));clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px))}.balance-dashboard:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.12);border-bottom:1px solid rgba(48,220,255,.08);box-shadow:inset 0 0 34px #24f6c409;clip-path:inherit;pointer-events:none}.balance-dashboard:after{content:"";position:absolute;left:246px;right:246px;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(126,251,246,.42),rgba(255,215,108,.34),transparent);pointer-events:none}.balance-dashboard>*{position:relative;z-index:1}.balance-object-block,.balance-verdict-card{position:relative;z-index:1;min-width:0;padding:18px 22px;background:radial-gradient(circle at 16% 0,rgba(126,251,246,.12),transparent 38%),linear-gradient(135deg,rgba(126,251,246,.075),transparent 50%),rgba(2,21,33,.2);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%)}.balance-object-block:before,.balance-verdict-card:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.5),transparent)}.balance-object-block span,.balance-object-block strong,.balance-object-block small,.balance-verdict-card span,.balance-verdict-card strong,.balance-verdict-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-object-block span,.balance-object-block small,.balance-verdict-card span,.balance-verdict-card small{color:#dffaff9e;font-size:12px}.balance-object-block strong{margin-top:8px;color:#fff;font-size:38px;line-height:44px;text-shadow:0 0 18px rgba(255,255,255,.12)}.balance-verdict-card{text-align:right}.balance-verdict-card strong{margin-top:8px;color:#ffd76c;font-family:D-DIN,Arial,sans-serif;font-size:38px;line-height:44px;text-shadow:0 0 20px rgba(255,215,108,.34)}.balance-verdict-card.is-healthy strong,.balance-verdict-card.is-balanced strong,.balance-verdict-card.is-watch strong{color:#7efbf6}.balance-verdict-card.is-danger strong{color:#ff8f6b}.balance-core{position:relative;z-index:1;display:grid;justify-items:center;gap:9px}.balance-core:before{content:"";position:absolute;left:50%;top:50%;z-index:-1;width:332px;height:118px;background:radial-gradient(ellipse at 50% 50%,rgba(126,251,246,.14),transparent 70%);transform:translate(-50%,-50%);pointer-events:none}.balance-core-caption{color:#dffaff9e;font-size:12px}.balance-compare{position:relative;display:grid;align-content:center;gap:20px;padding:17px 24px;background:radial-gradient(ellipse at 50% 100%,rgba(126,251,246,.08),transparent 62%),linear-gradient(90deg,rgba(48,220,255,.08),transparent 45%,rgba(255,215,108,.065)),rgba(2,21,33,.16);clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%);box-sizing:border-box}.balance-compare:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.08);border-bottom:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-bar-row{position:relative;z-index:1;display:grid;grid-template-columns:98px minmax(0,1fr) 190px;align-items:center;gap:16px;min-width:0}.balance-bar-row span{color:#dffaffb8;font-size:13px;white-space:nowrap}.balance-bar-row div{position:relative;height:14px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.06)),rgba(1,12,21,.56);clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%)}.balance-bar-row div:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transform:translate(-100%);animation:balance-flow-light 2.4s linear infinite}.balance-bar-row i{display:block;height:100%;background:linear-gradient(90deg,rgba(36,246,196,.2),#24f6c4);box-shadow:0 0 18px #24f6c438}.balance-bar-row strong{overflow:hidden;color:#fff;font-family:D-DIN,Arial,sans-serif;font-size:23px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.balance-bar-row em{margin-left:4px;color:#ffffff94;font-family:AlibabaPuHuiTi,Arial,sans-serif;font-size:11px;font-style:normal}.balance-bar-row.is-livestock i{background:linear-gradient(90deg,rgba(255,215,108,.18),#ffd76c);box-shadow:0 0 16px #ffd76c2e}.balance-detail{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.82fr) 248px;gap:12px;min-height:0}.balance-detail.is-without-ranking{grid-template-columns:minmax(0,1fr) minmax(420px,.9fr)}.balance-process,.balance-decision,.balance-overload-ranking{position:relative;min-width:0;min-height:0;padding:16px 18px 15px;background:radial-gradient(circle at 18% 0,rgba(126,251,246,.11),transparent 30%),linear-gradient(135deg,rgba(48,220,255,.08),transparent 34%),linear-gradient(315deg,rgba(255,215,108,.038),transparent 42%),rgba(2,21,33,.16);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);box-sizing:border-box}.balance-process:before,.balance-decision:before,.balance-overload-ranking:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-top:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-process:after,.balance-decision:after,.balance-overload-ranking:after{content:"";position:absolute;left:18px;right:18px;top:48px;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.32),transparent);pointer-events:none}.balance-section-title{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;height:28px}.balance-section-title span{color:#fff;font-size:16px;text-shadow:0 0 12px rgba(126,251,246,.22)}.balance-section-title small{color:#7efbf69e;font-size:12px}.balance-process{display:grid;grid-template-rows:28px 38px repeat(4,minmax(0,1fr));gap:10px}.balance-process-track{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:center}.balance-process-track:before{content:"";position:absolute;left:5%;right:5%;top:50%;height:1px;background:linear-gradient(90deg,rgba(126,251,246,.18),rgba(126,251,246,.5),rgba(255,215,108,.42))}.balance-process-track span{position:relative;z-index:1;height:28px;overflow:hidden;background:linear-gradient(90deg,rgba(48,220,255,.12),rgba(2,19,31,.9)),rgba(2,19,31,.9);color:#dffaffb8;font-size:12px;line-height:28px;text-align:center;text-overflow:ellipsis;white-space:nowrap;clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-process-track .is-done,.balance-process-track .is-active{color:#7efbf6;box-shadow:inset 0 0 14px #7efbf61f}.balance-formula-row{position:relative;z-index:1;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:0 14px;background:linear-gradient(90deg,rgba(48,220,255,.07),transparent 48%),linear-gradient(180deg,rgba(6,37,49,.22),rgba(2,20,32,.08));clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%);box-sizing:border-box}.balance-formula-row:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:0;border-bottom:1px solid rgba(48,220,255,.065);clip-path:inherit;pointer-events:none}.balance-formula-row>span{width:30px;height:30px;border:1px solid rgba(126,251,246,.34);color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:13px;line-height:28px;text-align:center;background:rgba(36,246,196,.055)}.balance-formula-row div{min-width:0}.balance-formula-row strong,.balance-formula-row p,.balance-formula-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-formula-row strong{display:block;color:#fff;font-size:15px}.balance-formula-row p{margin:4px 0 0;color:#ffffffc2;font-size:12px}.balance-formula-row em{color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:21px;font-style:normal;text-align:right}.balance-decision{display:grid;grid-template-rows:28px 112px minmax(0,1fr);gap:12px}.balance-overload-ranking{display:grid;grid-template-rows:28px minmax(0,1fr);gap:10px}.balance-rank-list{position:relative;z-index:1;display:grid;align-content:start;gap:5px;min-height:0;overflow:hidden}.balance-rank-row{position:relative;display:grid;grid-template-columns:24px 58px minmax(0,1fr) 50px;align-items:center;gap:7px;height:25px;min-width:0;padding:0 8px 0 6px;background:linear-gradient(90deg,rgba(48,220,255,.08),transparent 62%),rgba(4,33,46,.62);clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%);box-sizing:border-box}.balance-rank-row:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(48,220,255,.08);clip-path:inherit;pointer-events:none}.balance-rank-row>span{position:relative;z-index:1;width:20px;height:18px;color:#7efbf6e6;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:18px;font-weight:800;text-align:center;background:rgba(126,251,246,.08)}.balance-rank-row strong{position:relative;z-index:1;min-width:0;overflow:hidden;color:#edfdffe6;font-size:12px;line-height:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.balance-rank-row div{position:relative;z-index:1;height:5px;overflow:hidden;background:rgba(126,251,246,.08)}.balance-rank-row div i{display:block;width:var(--rank-progress);height:100%;background:linear-gradient(90deg,rgba(126,251,246,.35),#7efbf6);box-shadow:0 0 10px #7efbf638}.balance-rank-row em{position:relative;z-index:1;color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:800;text-align:right;white-space:nowrap}.balance-rank-row.is-warning div i{background:linear-gradient(90deg,rgba(255,215,108,.32),#ffd76c);box-shadow:0 0 10px #ffd76c33}.balance-rank-row.is-warning em{color:#ffd76c}.balance-rank-row.is-alert div i{background:linear-gradient(90deg,rgba(255,143,107,.3),#ff8f6b);box-shadow:0 0 10px #ff8f6b3d}.balance-rank-row.is-alert em{color:#ffb15e}.balance-conclusion{position:relative;z-index:1;min-width:0;padding:16px 14px;background:radial-gradient(circle at 10% 0,rgba(255,215,108,.18),transparent 42%),linear-gradient(135deg,rgba(255,215,108,.13),transparent 60%),rgba(74,56,20,.14);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);box-sizing:border-box}.balance-conclusion:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,215,108,.2);clip-path:inherit;pointer-events:none}.balance-conclusion strong{position:relative;z-index:1;display:block;overflow:hidden;color:#ffd76c;font-size:14px;text-shadow:0 0 10px rgba(255,215,108,.18);line-height:20px;text-overflow:ellipsis;white-space:nowrap}.balance-conclusion p{position:relative;z-index:1;margin:8px 0 0;overflow:hidden;color:#ecfcffb8;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.balance-advice-list{position:relative;z-index:1;display:grid;align-content:start;gap:11px;min-height:0;overflow:hidden}.balance-advice-item{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px;min-height:43px;padding:3px 0}.balance-advice-item span{width:22px;height:22px;border:1px solid rgba(126,251,246,.44);color:#7efbf6;font-family:D-DIN,Arial,sans-serif;font-size:12px;line-height:20px;text-align:center}.balance-advice-item p{min-width:0;margin:0;overflow:hidden;color:#ecfcffd1;font-size:12px;line-height:19px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}@keyframes balance-scan{0%{opacity:.2;transform:translate(-28%)}50%{opacity:.8}to{opacity:.2;transform:translate(28%)}}@keyframes balance-rotate{to{transform:rotate(360deg)}}@keyframes balance-flow-light{to{transform:translate(100%)}}@keyframes balance-band-pulse{0%,to{opacity:.56;filter:saturate(.92)}50%{opacity:.86;filter:saturate(1.08)}}@keyframes balance-value-pulse{0%{color:#ffd76cb3;text-shadow:0 0 0 rgba(255,215,108,0)}to{color:#ffe79df5;text-shadow:0 0 12px rgba(255,215,108,.2)}}@keyframes balance-field-drift{0%,to{opacity:.18;transform:translate(-18px)}50%{opacity:.58;transform:translate(18px)}}.grass-livestock-balance{background:linear-gradient(rgba(31,169,190,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(31,169,190,.022) 1px,transparent 1px),radial-gradient(circle at 50% 35%,rgba(35,128,133,.1),transparent 34%),linear-gradient(135deg,#020b13 0%,#061d2b 48%,#020b13 100%);background-size:44px 44px,44px 44px,100% 100%,100% 100%}.grass-livestock-balance:before,.grass-livestock-balance:after{opacity:.26}.balance-backdrop{top:104px;height:944px;background:linear-gradient(rgba(48,220,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(48,220,255,.016) 1px,transparent 1px);background-size:44px 44px}.balance-backdrop:before,.balance-backdrop:after{opacity:.32}.balance-orbit,.balance-energy-band,.balance-field-lines,.balance-wait-core:before,.balance-core:before{display:none}.balance-screen{top:128px}.balance-card{filter:drop-shadow(0 16px 26px rgba(0,0,0,.28))}.balance-card .m-card-hd{background:linear-gradient(90deg,rgba(24,117,135,.78),rgba(12,65,83,.52) 56%,rgba(6,32,46,.08))}.balance-card .m-card-hd:before{background:linear-gradient(90deg,#30dcff,rgba(126,251,246,.36),transparent 76%);box-shadow:none}.balance-card .m-card-bd{background:linear-gradient(180deg,rgba(8,49,64,.92),rgba(3,23,36,.92))}.balance-card .m-card-bd:before{border-color:#30dcff33;box-shadow:inset 0 0 0 1px #7efbf60a}.balance-card .m-card-bd:after{opacity:.22}.balance-sheet-card{filter:drop-shadow(0 18px 30px rgba(0,0,0,.24))}.balance-sheet-card .m-card-bd{background:linear-gradient(180deg,rgba(7,43,58,.92),rgba(2,19,31,.94))}.balance-sheet-card .m-card-bd:before{border-color:#30dcff2e;border-left-color:#30dcff47;border-bottom-color:#30dcff1f;box-shadow:inset 0 0 0 1px #7efbf609}.balance-target-card{filter:drop-shadow(0 16px 24px rgba(0,0,0,.26))}.balance-target-card .m-card-bd{background:linear-gradient(180deg,rgba(7,45,58,.9),rgba(2,20,32,.92))}.balance-target-card .m-card-bd:before{border-color:#30dcff29;border-left-color:#30dcff47;border-bottom-color:#30dcff1f}.balance-selector{grid-template-rows:40px minmax(0,1fr) 158px;gap:12px;padding:12px 12px 14px}.balance-scope-tabs button{border:1px solid rgba(48,220,255,.12);background:rgba(4,31,44,.58);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-scope-tabs button.active,.balance-scope-tabs button:hover{background:linear-gradient(180deg,rgba(19,98,112,.9),rgba(7,56,76,.86))}.balance-target-list button{background:rgba(5,39,53,.72)}.balance-target-list button:before{border:1px solid rgba(48,220,255,.1);border-left-color:#30dcff33}.balance-target-list button.active{background:linear-gradient(90deg,rgba(119,98,38,.9),rgba(7,70,77,.86))}.balance-action-box{background:rgba(3,28,40,.84)}.balance-action-box:before{border:1px solid rgba(48,220,255,.14)}.balance-sheet{padding:14px 22px 20px}.balance-sheet:before,.balance-sheet:after{display:none}.balance-waiting{grid-template-rows:minmax(0,1fr) 78px}.balance-wait-core{gap:18px;padding-top:16px}.balance-core-ring{width:164px;height:164px;box-shadow:0 0 18px #24f6c41f,inset 0 0 28px #02101abd}.balance-core-ring:after{opacity:.36}.balance-core-inner{width:126px;height:126px}.balance-core-inner strong{font-size:30px;line-height:34px;text-shadow:none}.balance-preflight span{background:rgba(4,32,45,.78);border:1px solid rgba(48,220,255,.1);clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%)}.balance-preflight span:before{display:none}.balance-running-head{padding:30px 58px 18px}.balance-live-process{padding:0}.balance-live-step{background:rgba(5,36,50,.76)}.balance-live-step:before{border:1px solid rgba(48,220,255,.08)}.balance-live-step.is-active{background:linear-gradient(90deg,rgba(22,108,104,.82),rgba(7,53,66,.86))}.balance-analysis{grid-template-rows:188px 94px minmax(0,1fr);gap:12px}.balance-dashboard,.balance-compare,.balance-process,.balance-decision,.balance-overload-ranking{background:linear-gradient(180deg,rgba(7,48,62,.9),rgba(3,28,42,.9));clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}.balance-dashboard:before,.balance-compare:before,.balance-process:before,.balance-decision:before,.balance-overload-ranking:before{border:1px solid rgba(48,220,255,.12);box-shadow:none}.balance-dashboard{grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);padding:14px 20px}.balance-dashboard:after{display:none}.balance-object-block,.balance-verdict-card{background:rgba(4,31,44,.82);clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}.balance-object-block strong,.balance-verdict-card strong{font-size:34px;line-height:40px;text-shadow:none}.balance-verdict-card strong,.balance-core-inner strong,.balance-formula-row em,.balance-bar-row i{text-shadow:none;box-shadow:none}.balance-core-ring:before,.balance-core-ring:after{animation:none}.balance-dashboard .balance-core-ring{width:156px;height:156px}.balance-dashboard .balance-core-inner{width:120px;height:120px}.balance-compare{gap:18px;padding:14px 20px}.balance-detail{gap:12px}.balance-process,.balance-decision,.balance-overload-ranking{padding:14px 16px}.balance-formula-row{background:rgba(4,33,46,.82)}.balance-formula-row:before{border:1px solid rgba(48,220,255,.08)}.balance-conclusion{background:rgba(70,55,22,.7)}.balance-bar-row div:after,.balance-progress-line:after{display:none}.balance-core-caption{color:#dffaffb8}.balance-sheet.is-ready{padding:18px 22px 22px}.balance-sheet.is-ready .balance-analysis{grid-template-rows:158px 84px minmax(0,1fr);gap:14px}.balance-sheet.is-ready .balance-dashboard{grid-template-columns:minmax(0,1fr) 188px minmax(0,1fr);gap:18px;padding:14px 22px}.balance-sheet.is-ready .balance-object-block,.balance-sheet.is-ready .balance-verdict-card{min-height:104px;padding:18px 20px;box-sizing:border-box}.balance-sheet.is-ready .balance-object-block strong,.balance-sheet.is-ready .balance-verdict-card strong{margin-top:7px;font-size:28px;line-height:34px}.balance-sheet.is-ready .balance-object-block small,.balance-sheet.is-ready .balance-verdict-card small{margin-top:4px}.balance-sheet.is-ready .balance-dashboard .balance-core-ring{width:132px;height:132px}.balance-sheet.is-ready .balance-dashboard .balance-core-inner{width:102px;height:102px}.balance-sheet.is-ready .balance-core-inner strong{max-width:98px;margin:5px 0 3px;font-size:23px;line-height:28px}.balance-sheet.is-ready .balance-core-inner span,.balance-sheet.is-ready .balance-core-inner small{max-width:92px;font-size:11px}.balance-sheet.is-ready .balance-core{gap:5px}.balance-sheet.is-ready .balance-core-caption{font-size:11px}.balance-sheet.is-ready .balance-compare{gap:14px;padding:12px 20px}.balance-sheet.is-ready .balance-bar-row{grid-template-columns:92px minmax(0,1fr) 178px;gap:14px}.balance-sheet.is-ready .balance-bar-row strong{font-size:20px}.balance-sheet.is-ready .balance-detail{grid-template-columns:minmax(0,1fr) minmax(318px,.78fr) 238px;gap:12px}.balance-sheet.is-ready .balance-process,.balance-sheet.is-ready .balance-decision,.balance-sheet.is-ready .balance-overload-ranking{overflow:hidden;padding:13px 15px}.balance-sheet.is-ready .balance-process{grid-template-rows:26px 32px repeat(4,minmax(58px,1fr));gap:8px}.balance-sheet.is-ready .balance-decision{grid-template-rows:26px 92px minmax(0,1fr);gap:10px}.balance-sheet.is-ready .balance-overload-ranking{grid-template-rows:26px minmax(0,1fr);gap:8px}.balance-sheet.is-ready .balance-section-title{height:26px}.balance-sheet.is-ready .balance-section-title span{font-size:15px}.balance-sheet.is-ready .balance-process-track{height:32px}.balance-sheet.is-ready .balance-process-track span{height:26px;font-size:11px;line-height:26px}.balance-sheet.is-ready .balance-formula-row{grid-template-columns:36px minmax(0,1fr);gap:10px;min-height:58px;padding:8px 12px}.balance-sheet.is-ready .balance-formula-row>span{width:27px;height:27px;font-size:12px;line-height:25px}.balance-sheet.is-ready .balance-formula-row strong{font-size:14px}.balance-sheet.is-ready .balance-formula-row p{margin-top:3px;font-size:11px;line-height:16px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-conclusion{padding:13px 14px}.balance-sheet.is-ready .balance-conclusion strong{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-conclusion p{margin-top:6px}.balance-sheet.is-ready .balance-advice-list{gap:8px;overflow:hidden}.balance-sheet.is-ready .balance-advice-item{min-height:34px;padding:1px 0}.balance-sheet.is-ready .balance-advice-item p{line-height:18px;-webkit-line-clamp:2}.balance-sheet.is-ready .balance-rank-list{gap:4px}.balance-sheet.is-ready .balance-rank-row{grid-template-columns:22px 54px minmax(0,1fr) 48px;gap:6px;height:23px;padding-right:7px} diff --git a/docs/assets/index-bebac032-1786725044461.js b/docs/assets/index-1b1ea210-1786807848259.js similarity index 96% rename from docs/assets/index-bebac032-1786725044461.js rename to docs/assets/index-1b1ea210-1786807848259.js index ef471db..cfe3492 100644 --- a/docs/assets/index-bebac032-1786725044461.js +++ b/docs/assets/index-1b1ea210-1786807848259.js @@ -1 +1 @@ -var Xt=Object.defineProperty,Zt=Object.defineProperties;var Jt=Object.getOwnPropertyDescriptors;var Je=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable;var et=(l,i,r)=>i in l?Xt(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,C=(l,i)=>{for(var r in i||(i={}))en.call(i,r)&&et(l,r,i[r]);if(Je)for(var r of Je(i))tn.call(i,r)&&et(l,r,i[r]);return l},I=(l,i)=>Zt(l,Jt(i));var R=(l,i,r)=>new Promise((p,k)=>{var f=y=>{try{w(r.next(y))}catch(F){k(F)}},o=y=>{try{w(r.throw(y))}catch(F){k(F)}},w=y=>y.done?p(y.value):Promise.resolve(y.value).then(f,o);w((r=r.apply(l,i)).next())});import{g as tt}from"./index-db918426-1786725044461.js";import{A as nn}from"./assets-cf9c305b-1786725044461.js";/* empty css */import{f as sn,e as nt,d as rn,c as st,M as an}from"./index-151544a4-1786725044461.js";import{a as ln,c as un,d as on,e as cn,f as dn,g as vn}from"./resourceDetailRows-3e3a25c8-1786725044461.js";import{q as rt,r as fn,s as gn}from"./screen2Standard-3427eaf8-1786725044461.js";import{c as mn,F as hn}from"./featurePanelLayout-f3191169-1786725044461.js";import{_ as wn}from"./TopicSwitcher-06eba150-1786725044461.js";import{_ as yn}from"./LayerPanel-48d446bf-1786725044461.js";import{a as at,_ as bn}from"./FeatureInfoPanel-8c5860b5-1786725044461.js";import{_ as pn}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{g as d,o as _,c as S,a as b,t as Me,F as $e,y as Ce,n as fe,K as ge,d as m,q as kn,h as _n,w as D,A as ne,b as j,C as it,x as lt,u as Pe,j as ve,z as Ln}from"./index-1786725044461.js";import{_ as ut}from"./index-262a2c3c-1786725044461.js";const Sn="/openApi/screen2/resource-management/ndvi-timeline";function Tn(){return R(this,null,function*(){var p;const l=yield fetch(Sn,{credentials:"include",headers:{Accept:"application/json"}});if(!l.ok){const k=new Error(`HTTP ${l.status}`);throw k.status=l.status,k}const i=yield l.json().catch(()=>({}));if((i==null?void 0:i.code)!==200||(i==null?void 0:i.success)!==!0)throw new Error((i==null?void 0:i.message)||"NDVI 时间轴加载失败");const r=Array.isArray((p=i==null?void 0:i.data)==null?void 0:p.items)?i.data.items:[];return xn(r)})}function xn(l=[]){const i=new Set;return l.map((r,p)=>{const k=Nn(ot(r,["url","layerName","layer_name","layer","name"]));if(!k)return null;const f=ot(r,["date","month","time","label"])||k,o=Pn(f);return{key:`${k}-${f||p}`,label:o,date:String(f),layerName:k,source:r}}).filter(Boolean).filter(r=>i.has(r.key)?!1:(i.add(r.key),!0))}function ot(l,i){for(const r of i)if((l==null?void 0:l[r])!==void 0&&(l==null?void 0:l[r])!==null&&(l==null?void 0:l[r])!=="")return l[r]}function Nn(l){const i=String(l||"").trim();return i&&i.startsWith("v3:resource_")?i:""}function Pn(l){const i=String(l||"").trim();if(!i)return"";const r=i.match(/(\d{4})[-_/年. ]?(0?[1-9]|1[0-2])(?:月)?/);return r?`${r[1]}.${String(Number(r[2])).padStart(2,"0")}`:i}const Mn={class:"grassland-ndvi-timeline-head"},$n={key:0,class:"grassland-ndvi-timeline-state"},Cn={key:1,class:"grassland-ndvi-timeline-state"},Fn={key:2,class:"grassland-ndvi-timeline-body"},Vn=["aria-checked","title","onClick"],An={class:"grassland-ndvi-timeline-label"},En=42,In=28,Rn={__name:"GrasslandNdviTimeline",props:{items:{type:Array,default:()=>[]},modelValue:{type:String,default:""},loading:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:i}){const r=l,p=i,k=d(()=>r.items.findIndex(c=>c.key===r.modelValue)),f=d(()=>k.value===-1?Math.max(0,r.items.length-1):k.value),o=d(()=>r.items[f.value]||null),w=d(()=>r.loading?"加载中":"未选择"),y=d(()=>r.items.length>7),F=d(()=>y.value?In:En),se=d(()=>X(f.value)),re=d(()=>q(f.value));function Y(c){if(!r.items.length)return;const v=Math.min(r.items.length-1,Math.max(0,f.value+c));p("update:modelValue",r.items[v].key)}function ae(c){!c||c.key===r.modelValue||p("update:modelValue",c.key)}function Q(c){return!r.items.length||c<0?0:r.items.length===1?.5:c/(r.items.length-1)}function X(c){const v=Q(c),M=L(v*100),h=F.value*(1-v*2);return`calc(${M}% ${h<0?"-":"+"} ${L(Math.abs(h))}px)`}function q(c){const v=Q(c);return v<=0?"0px":`calc(${L(v*100)}% - ${L(F.value*2*v)}px)`}function L(c){return Number(c.toFixed(4)).toString()}return(c,v)=>{var M;return _(),S("div",{class:fe(["grassland-ndvi-timeline",{"is-dense":y.value}])},[b("div",Mn,[v[2]||(v[2]=b("span",null,"草地健康/退化",-1)),b("strong",null,Me(((M=o.value)==null?void 0:M.label)||w.value),1)]),l.loading?(_(),S("div",$n,"加载月份数据")):l.items.length?(_(),S("div",Fn,[b("button",{class:"grassland-ndvi-timeline-nav",type:"button",title:"上一期",onClick:v[0]||(v[0]=h=>Y(-1))},"‹"),b("div",{class:"grassland-ndvi-timeline-track",style:ge({"--timeline-active-left":se.value,"--timeline-fill-width":re.value,"--timeline-edge-offset":`${F.value}px`}),role:"radiogroup","aria-label":"草地健康退化月份"},[v[4]||(v[4]=b("div",{class:"grassland-ndvi-timeline-line"},null,-1)),v[5]||(v[5]=b("div",{class:"grassland-ndvi-timeline-fill"},null,-1)),v[6]||(v[6]=b("div",{class:"grassland-ndvi-timeline-thumb"},[b("i")],-1)),(_(!0),S($e,null,Ce(l.items,(h,z)=>{var H,T;return _(),S("button",{key:h.key,class:fe(["grassland-ndvi-timeline-mark",{"is-active":h.key===((H=o.value)==null?void 0:H.key),"is-past":z<=f.value,"is-staggered":y.value&&z%2===1}]),type:"button",role:"radio","aria-checked":h.key===((T=o.value)==null?void 0:T.key),style:ge({left:X(z)}),title:h.date,onClick:Z=>ae(h)},[v[3]||(v[3]=b("span",{class:"grassland-ndvi-timeline-tick"},null,-1)),b("span",An,Me(h.label),1)],14,Vn)}),128))],4),b("button",{class:"grassland-ndvi-timeline-nav",type:"button",title:"下一期",onClick:v[1]||(v[1]=h=>Y(1))},"›")])):(_(),S("div",Cn,"暂无月份数据"))],2)}}},qn=pn(Rn,[["__scopeId","data-v-3b86bca9"]]),Bn={class:"forest-grass-wet"},Gn={class:"forest-grass-wet-ui",id:"forest-grass-wet-ui"},Dn={class:"fgw-left"},jn={class:"fgw-side-stack is-left"},zn={class:"fgw-right"},Hn={class:"fgw-side-stack is-right"},On={key:1,class:"fgw-ndvi-timeline"},Wn={class:"fgw-bottom-topic"},Un={key:0,class:"loading"},Kn={class:"loading-progress"},Yn={class:"value"},cs={__name:"index",props:{showLoading:{type:Boolean,default:!0},active:{type:Boolean,default:!0}},emits:["topic-stats"],setup(l,{expose:i,emit:r}){const p=l,k=r,f=m(null),o=m(sn[0].key),w=m(""),y=m([]),F=m([]),se=m("idle"),re=m(!1),Y=m({title:"业务统计",rows:[]}),ae=m({title:"业务统计",rows:[]}),Q=m([]),X=m([]),q=m(null),L=m(""),c=m(null),v=m(!1),M=m(!1),h=m(null),z=m(0),H=m(p.showLoading),T=m([]),Z=m("idle"),V=m(""),B=m({type:"idle",text:"等待 GeoServer 图层加载"});let J=null,x=!1,me=!1,O=!1,A=null,he=0,we=0,ye=0,W=0,ie=0,le=!1,be=!1;const ct={图斑编号:"patch_no",图斑号:"patch_no",湿地编号:"land_number",草地编号:"land_number",林地类型:"dlmc",地类:"landUseName",地类名称:"landUseName",所在乡镇:"townName",所在区域:"full_name",面积:"acreage",图斑面积:"acreage",湿地面积:"acreage",草场面积:"acreage",草原类:"grassTypeName",草原型:"grassMinType",草原等级:"grasslandLevel",草原类型:"basic_type_name",小斑干草产量:"xbGcYield",小斑鲜草产量:"xbXcYield",鲜草产量:"xcYield",干草产量:"gcYield",海拔:"elevation",地貌:"landformName",权属单位:"qsdwmc",坐落单位:"zldwmc",林班:"lin_ban",小班:"xiao_ban",森林类别:"sen_lin_lb",林种:"lin_zhong",公益林等级:"gjgyl_bhdj",保护等级:"bh_dj",质量等级:"zl_dj",优势树种:"you_shi_sz",起源:"qi_yuan",龄组:"ling_zu",郁闭度:"yu_bi_du",林地权属:"ld_qs",土地使用权属:"tdsyqs",林木权属:"lmqs",生态区位:"stqwmc",坡度等级:"slope"},dt=new Set(["grassland-distribution","wetland-distribution","woodland-distribution","woodland-protection","woodland-type","woodland-quality","woodland-ownership"]),vt=[{topicKey:"wetland",layerKey:"wetland-distribution",name:"湿地分布",legendName:"湿地资源"},{topicKey:"grassland",layerKey:"grassland-distribution",name:"草地分布",legendName:"草地资源"},{topicKey:"woodland",layerKey:"woodland-distribution",name:"林地分布",legendName:"林地资源"}],ft=new Set(["code","msg","message","success","data","result","grassland","wetland","woodland","basicGrassland","dyColumn","geom","wkt","geometry","the_geom","theGeom","shape","shape_leng","shape_length","length","perimeter","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"].map(e=>e.toLowerCase())),gt=d(()=>nt(o.value)),mt=d(()=>rn(o.value)),ue=d(()=>vt.map(e=>Nt(e)).filter(Boolean)),oe=d(()=>o.value==="overview"?ue.value:mt.value),Fe=d({get(){return o.value==="overview"?y.value:w.value},set(e){if(o.value==="overview"){y.value=Array.isArray(e)?e.map(String).filter(Boolean):[];return}w.value=String(e||"")}}),ee=d(()=>w.value?st(o.value,w.value):null),U=d(()=>o.value==="grassland"&&w.value==="grassland-health"),ht=d(()=>U.value),wt=d(()=>T.value.find(e=>e.key===V.value)||null),K=d(()=>{var e;return(((e=ee.value)==null?void 0:e.legends)||[]).find(t=>t.key===L.value)||null}),yt=d(()=>ue.value.flatMap(e=>e.legends||[])),pe=d(()=>{var e;return o.value==="overview"?yt.value:((e=ee.value)==null?void 0:e.legends)||[]}),bt=d(()=>oe.value.length>0),Ve=d(()=>oe.value.length<=6&&pe.value.length<=8),Ae=d(()=>{if(!Ve.value)return 430;const e=Math.max(1,oe.value.length),t=Math.max(1,Math.ceil(pe.value.length/2)),n=e*34+Math.max(0,e-1)*5,s=30+t*28;return Math.max(220,Math.min(430,72+n+s))}),pt=d(()=>{var s;if(o.value==="overview"){const a=new Set(y.value),u=ue.value.filter(g=>a.has(g.key));return Pt(u)}const e=ee.value;if(!e)return null;let t=(s=K.value)!=null&&s.cqlFilter?I(C({},e),{cqlFilter:K.value.cqlFilter,activeLegend:K.value,name:K.value.name||e.name}):e;const n=wt.value;return U.value&&!(n!=null&&n.layerName)?null:(U.value&&(t=I(C({},t),{layerName:n.layerName,name:`${e.name} ${n.label}`,timelineDate:n.label,timelineItem:n})),t)}),Ee=m(typeof window=="undefined"?1080:window.innerHeight),Ie=rt.sideCardWidth;d(()=>rt.sideCardGap);const Re=d(()=>fn(Ee.value)),kt=d(()=>gn(Re.value,2)),ke=d(()=>!!h.value),qe=d(()=>{var e,t,n,s;return ln(((t=(e=c.value)==null?void 0:e.properties)==null?void 0:t.resourceType)||Ue((n=c.value)==null?void 0:n.layer),((s=c.value)==null?void 0:s.properties)||{})}),_t=hn,Be=d(()=>mn({point:h.value?xt(h.value):null,rowCount:c.value?qe.value.length||xe(c.value):0,loading:M.value,empty:v.value||!c.value,preferredTop:190,preserveDesiredHeight:!0})),Lt=d(()=>Be.value.height),St=d(()=>Be.value.style),Tt=d(()=>{var s,a,u,g,E,P,$,te,G;const e=String(((a=(s=c.value)==null?void 0:s.properties)==null?void 0:a.resourceType)||"").toLowerCase();if(["basicgrassland","basic-grassland"].includes(e))return"基本/一般草原详情";const t=((g=(u=c.value)==null?void 0:u.layer)==null?void 0:g.overviewTopicKey)||((P=(E=c.value)==null?void 0:E.layer)==null?void 0:P.topicKey)||o.value;return{grassland:"草地详情",wetland:"湿地详情",woodland:"林地详情"}[t]||`${((te=($=c.value)==null?void 0:$.layer)==null?void 0:te.name)||((G=gt.value)==null?void 0:G.name)||"资源"}详情`});function xt(e){const t=document.querySelector(".forest-grass-wet"),n=t==null?void 0:t.getBoundingClientRect();return!(n!=null&&n.width)||!(n!=null&&n.height)?e:{x:(e.x-n.left)/n.width*1920,y:(e.y-n.top)/n.height*1080}}function _e(){Ee.value=typeof window=="undefined"?1080:window.innerHeight}function Nt({topicKey:e,layerKey:t,name:n,legendName:s}){var g;const a=st(e,t);if(!a||a.key!==t)return null;const u=((g=a.legends)==null?void 0:g[0])||{};return I(C({},a),{name:n,overviewTopicKey:e,legends:[I(C({},u),{key:`overview-${t}`,name:s,selectable:!1})]})}function Pt(e=[]){const t=e.filter(Boolean);if(!t.length)return null;const[n,...s]=t;return I(C({},n),{overlayLayers:s})}kn(()=>{_e(),window.addEventListener("resize",_e),document.addEventListener("pointerdown",Qe,!0),Mt(),Se(o.value,""),ce(o.value,"")}),_n(()=>{x=!0,A&&window.clearTimeout(A),window.removeEventListener("resize",_e),document.removeEventListener("pointerdown",Qe,!0)}),D(o,e=>{le=!0,L.value="",w.value="",e==="overview"&&(y.value=[]),N(),B.value={type:"idle",text:"等待 GeoServer 图层加载"},Se(e,""),ce(e,"",null),ne(()=>{le=!1})}),D(w,()=>{le||(be=!0,L.value="",N(),B.value={type:w.value?"loading":"idle",text:w.value?"正在加载 GeoServer 图层":"等待 GeoServer 图层加载"},o.value!=="woodland"&&Se(o.value,w.value),ce(o.value,w.value,null),ne(()=>{be=!1}))}),D(y,()=>{o.value==="overview"&&(L.value="",N(),B.value={type:y.value.length?"loading":"idle",text:y.value.length?"正在加载 GeoServer 图层":"等待 GeoServer 图层加载"},q.value=Ye("overview",y.value.join(",")))},{deep:!0}),D(L,()=>{le||be||(N(),ce(o.value,w.value,K.value))}),D(U,e=>{if(e){Ft();return}V.value=""}),D(V,()=>{U.value&&N()}),D(()=>p.active,e=>{var t,n,s,a;f.value&&(e?(Le(),(n=(t=f.value).resume)==null||n.call(t)):(a=(s=f.value).pause)==null||a.call(s))});function Mt(){var n;J=new nn;const e={progress:0};J.instance.on("onProgress",(s,a,u)=>{const g=Math.floor(a/u*100);tt.to(e,{progress:g,onUpdate:()=>{z.value=Math.floor(e.progress)}})});const t=()=>{x||me||(me=!0,Le())};J.instance.on("onLoad",t),(n=J.ready)==null||n.then(t).catch(()=>{x||(B.value={type:"error",text:"地图资源加载失败"})})}function Le(){x||!p.active||!me||O||(O=!0,A&&window.clearTimeout(A),A=window.setTimeout(()=>{A=null,Ge()},600))}function Ge(e=0){return R(this,null,function*(){var n,s,a,u,g;if(x)return;if(!p.active){O=!1;return}if(yield ne(),!p.active){O=!1;return}if(!!((s=(n=f.value)==null?void 0:n.loadMap)!=null&&s.call(n,J)||(u=(a=f.value)==null?void 0:a.hasMap)!=null&&u.call(a))){yield Qt(),yield ne(),(g=f.value)==null||g.play();return}if(e<24){window.setTimeout(()=>Ge(e+1),120);return}O=!1})}function $t(){A&&(window.clearTimeout(A),A=null)}function De(){var e,t,n,s;(t=(e=f.value)==null?void 0:e.resume)==null||t.call(e),(s=(n=f.value)==null?void 0:n.refreshView)==null||s.call(n)}function Ct(){var e,t;if(N(),B.value={type:"loading",text:"地图正在复位"},(t=(e=f.value)==null?void 0:e.hasMap)!=null&&t.call(e)){De(),B.value={type:"success",text:"地图已复位"};return}$t(),O=!1,ne(()=>{Le()})}i({refreshMapView:De,resetMap:Ct});function Se(n){return R(this,arguments,function*(e,t=w.value){const s=e==="woodland"?"":t,a=++we;re.value=!0,se.value="loading";try{const u=yield un(e,2023);if(x||a!==we||e!==o.value||e!=="woodland"&&(s||"")!==(w.value||""))return;ze(u,e)}catch(u){if(x||a!==we||e!==o.value)return;ze(I(C({},on(e)),{status:"error"}),e)}})}function Ft(e=!1){return R(this,null,function*(){if(!U.value)return;if(!e&&T.value.length){je();return}const t=++ye;Z.value="loading";try{const n=yield Tn();if(x||t!==ye)return;T.value=n,Z.value=n.length?"success":"empty",je()}catch(n){if(x||t!==ye)return;T.value=[],V.value="",Z.value="error"}})}function je(){if(!T.value.length){V.value="";return}T.value.some(t=>t.key===V.value)||(V.value=T.value[T.value.length-1].key)}function ze(e,t){var s,a,u;const n=Vt(e);F.value=n.core||[],Y.value=n.left||{title:"业务统计",rows:[]},ae.value=n.right||{title:"业务统计",rows:[]},Q.value=(s=n.leftPanels)!=null&&s.length?n.leftPanels:[Y.value],X.value=(a=n.rightPanels)!=null&&a.length?n.rightPanels:[ae.value],se.value=n.status,re.value=!1,k("topic-stats",{topicKey:t,topicName:nt(t).name,items:((u=n.top)!=null&&u.length?n.top:n.core||[]).slice(0,4)})}function Vt(e){return e||{}}function He(e,t){return`${o.value}-${t}-${(e==null?void 0:e.key)||(e==null?void 0:e.title)||"panel"}`}function Te(e){var n;const t=((n=e==null?void 0:e.rows)==null?void 0:n.length)||0;return(e==null?void 0:e.span)===1?!1:(e==null?void 0:e.span)===2?!0:(e==null?void 0:e.type)==="spotlight"||(e==null?void 0:e.type)==="metric"||(e==null?void 0:e.type)==="column"&&t<=5?!1:(e==null?void 0:e.type)==="rank"&&t>4||(e==null?void 0:e.type)==="split"&&t>4||(e==null?void 0:e.type)==="donut"&&t>5||(e==null?void 0:e.type)==="structure"&&t>4||(e==null?void 0:e.type)==="bar"&&t>4||(e==null?void 0:e.type)==="line"&&t>6}function Oe(e){return Te(e)?kt.value:Re.value}function xe(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(s=>We(s,t[s])).length}function We(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!ft.has(String(e||"").toLowerCase())}function At(){if(o.value==="overview"){const e=new Set(y.value);return ue.value.filter(t=>e.has(t.key)).slice().reverse()}return ee.value?[ee.value]:[]}function Ue(e={}){const t=String(e.overviewTopicKey||o.value||"").toLowerCase(),n=`${e.key||""} ${e.layerName||""} ${t}`.toLowerCase();return n.includes("basic-grassland")||n.includes("t_basic_grassland")?"basicGrassland":t==="woodland"||n.includes("woodland")||n.includes("t_woodland")?"woodland":t==="wetland"||n.includes("wetland")||n.includes("shidi")?"wetland":t==="grassland"||n.includes("grassland")||n.includes("caodi")?"grassland":""}function Et(e={}){const t=Ke(e.lng),n=Ke(e.lat);return t===""||n===""?"":`POINT(${t} ${n})`}function Ke(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function It(){return R(this,arguments,function*(e={}){var E,P,$,te,G,Xe;const t=Number((E=e==null?void 0:e.lngLat)==null?void 0:E.lng),n=Number((P=e==null?void 0:e.lngLat)==null?void 0:P.lat),s=At();if(!Number.isFinite(t)||!Number.isFinite(n)||!s.length){N();return}const a=++W,u=ie,g=e.screen||{x:960,y:540};h.value=null,c.value=null,v.value=!1,M.value=!0,(te=($=f.value)==null?void 0:$.clearSelectedFeature)==null||te.call($);try{for(const Ze of s){const de=yield Rt(Ze,{lng:t,lat:n});if(a!==W||x)return;if(de){c.value=de,h.value=Ne(de,g),v.value=!1,(Xe=(G=f.value)==null?void 0:G.highlightFeature)==null||Xe.call(G,de,{highlightTone:"v21"});return}}a===W&&ie===u&&N()}catch(Ze){a===W&&ie===u&&N()}finally{a===W&&(M.value=!1)}})}function Rt(e,t){return R(this,null,function*(){const n=Ue(e);if(!n)return null;const s=Et(t),a=yield vn(n,s),u=qt(a,n);if(!Gt(u))return null;const g=jt(u,e,t,n);return xe(g)>0?g:null})}function qt(e,t){var s,a,u,g,E;const n=[e==null?void 0:e[t],e==null?void 0:e.grassland,e==null?void 0:e.wetland,e==null?void 0:e.woodland,e==null?void 0:e.basicGrassland,(s=e==null?void 0:e.data)==null?void 0:s[t],(a=e==null?void 0:e.data)==null?void 0:a.grassland,(u=e==null?void 0:e.data)==null?void 0:u.wetland,(g=e==null?void 0:e.data)==null?void 0:g.woodland,(E=e==null?void 0:e.data)==null?void 0:E.basicGrassland,e==null?void 0:e.data,e==null?void 0:e.result,e];for(const P of n){const $=Bt(P);if($)return $}return null}function Bt(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function Gt(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(Dt)?!0:Object.keys(e).some(t=>We(t,e[t]))}function Dt(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function jt(e,t,n,s){const a=Ht(e),u=zt(e);return{id:e.id||e.patchNo||e.patch_no||e.landNumber||e.land_number||`${s}-${n.lng}-${n.lat}`,properties:a,feature:{type:"Feature",properties:a,geometry:u},geometry:u,layer:t,lngLat:n}}function zt(e={}){return e.geometry||e.geom||e.wkt||e.the_geom||e.theGeom||e.geo||e.geometryWkt||e.geometry_wkt||e.shape||null}function Ht(e={}){const t=C({},e);return(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(s=>{const a=s==null?void 0:s.value;if(a==null||a==="")return;const u=ct[String((s==null?void 0:s.title)||"").trim()],g=String((s==null?void 0:s.field)||"").trim();[g,Ot(g),u].filter(Boolean).forEach(P=>{(t[P]===void 0||t[P]===null||t[P]==="")&&(t[P]=a)})}),t}function Ot(e){return String(e||"").replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`)}function ce(s,a){return R(this,arguments,function*(e,t,n=K.value){const u=++he;if(!t||!Wt(t,n)){q.value=Ye(e,t);return}try{const g=yield cn(e,t);if(x||u!==he||e!==o.value||t!==w.value||((n==null?void 0:n.key)||"")!==L.value)return;q.value=I(C({},g),{hideTownLabelStats:!0})}catch(g){if(x||u!==he)return;q.value=I(C({},dn(e,t)),{status:"error",hideTownLabelStats:!0})}})}function Wt(e,t=null){return!!(t!=null&&t.key)||dt.has(e)}function Ye(e,t){return{status:"disabled",topicKey:e,layerKey:t,title:"",unit:"",hideTownLabelStats:!0,rows:[]}}function Ut(e){var n,s;ie+=1;const t=(s=(n=e==null?void 0:e.feature)!=null?n:e)!=null?s:null;if(!t||xe(t)<=0){N();return}c.value=t,v.value=!1,h.value=Ne(t,(e==null?void 0:e.screen)||h.value)}function Ne(e,t=null){var n,s,a,u;return((s=(n=f.value)==null?void 0:n.getVectorFeatureAnchorScreen)==null?void 0:s.call(n,e))||((u=(a=f.value)==null?void 0:a.getVectorFeatureScreen)==null?void 0:u.call(a,e))||t}function Kt(){if(!ke.value||!c.value)return;const e=Ne(c.value,h.value);if(!e)return;const t=h.value;t&&Math.abs(Number(t.x)-Number(e.x))<.5&&Math.abs(Number(t.y)-Number(e.y))<.5||(h.value=e)}function Yt(e){B.value=e}function N(){var e,t;W+=1,c.value=null,v.value=!1,M.value=!1,h.value=null,(t=(e=f.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function Qe(e){if(!ke.value)return;const t=document.querySelector(".fgw-map-feature-info"),n=document.querySelector(".forest-grass-wet .cesium-map"),s=e.target;t&&s instanceof Node&&t.contains(s)||n&&s instanceof Node&&n.contains(s)||N()}function Qt(){return H.value?new Promise(e=>{tt.to(".forest-grass-wet .loading",{opacity:0,duration:.8,delay:.2,onComplete:()=>{H.value=!1,e()}})}):Promise.resolve()}return(e,t)=>(_(),S("div",Bn,[j(an,{ref_key:"mapSceneRef",ref:f,"active-layer":pt.value,"map-ranking":q.value,"admin-boundary-line-scale":1.65,"initial-zoom":9,"auto-apply-layer-map-view":!1,"max-zoom":21,"hide-town-label-stats":"","enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"enable-town-polygon-pick":!1,onFeatureLoading:t[0]||(t[0]=n=>M.value=n),onFeatureInfo:Ut,onMapClick:It,onLayerStatus:Yt,onViewChange:Kt},null,8,["active-layer","map-ranking"]),b("div",Gn,[b("div",Dn,[b("div",jn,[(_(!0),S($e,null,Ce(Q.value,n=>(_(),it(ut,{key:He(n,"left"),class:fe(["fgw-side-card left-card",{"is-double":Te(n)}]),title:n.title,width:Pe(Ie),height:Oe(n)},{default:lt(()=>[j(at,{panel:n,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:2},1032,["class","title","width","height"]))),128))])]),b("div",zn,[b("div",Hn,[(_(!0),S($e,null,Ce(X.value,n=>(_(),it(ut,{key:He(n,"right"),class:fe(["fgw-side-card right-card",{"is-double":Te(n)}]),title:n.title,width:Pe(Ie),height:Oe(n)},{default:lt(()=>[j(at,{panel:n,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:2},1032,["class","title","width","height"]))),128))])]),bt.value?(_(),S("div",{key:0,class:"fgw-map-layer-tools",style:ge({height:`${Ae.value}px`})},[j(yn,{modelValue:Fe.value,"onUpdate:modelValue":t[1]||(t[1]=n=>Fe.value=n),"selected-legend-key":L.value,"onUpdate:selectedLegendKey":t[2]||(t[2]=n=>L.value=n),"topic-key":o.value,layers:oe.value,legends:pe.value,multiple:o.value==="overview",width:248,height:Ae.value,compact:Ve.value},null,8,["modelValue","selected-legend-key","topic-key","layers","legends","multiple","height","compact"])],4)):ve("",!0),ht.value?(_(),S("div",On,[j(qn,{modelValue:V.value,"onUpdate:modelValue":t[3]||(t[3]=n=>V.value=n),items:T.value,loading:Z.value==="loading"},null,8,["modelValue","items","loading"])])):ve("",!0),ke.value?(_(),S("div",{key:2,class:"fgw-map-feature-info",style:ge(St.value)},[j(bn,{title:Tt.value,feature:c.value,empty:v.value,loading:M.value,width:Pe(_t),height:Lt.value,rows:qe.value,closable:"",onClose:N},null,8,["title","feature","empty","loading","width","height","rows"])],4)):ve("",!0),b("div",Wn,[j(wn,{modelValue:o.value,"onUpdate:modelValue":t[4]||(t[4]=n=>o.value=n)},null,8,["modelValue"])])]),H.value?(_(),S("div",Un,[t[6]||(t[6]=Ln('
LOADING
',1)),b("div",Kn,[b("span",Yn,Me(z.value),1),t[5]||(t[5]=b("span",{class:"unit"},"%",-1))])])):ve("",!0)]))}};export{cs as default}; +var Xt=Object.defineProperty,Zt=Object.defineProperties;var Jt=Object.getOwnPropertyDescriptors;var Je=Object.getOwnPropertySymbols;var en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable;var et=(l,i,r)=>i in l?Xt(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,C=(l,i)=>{for(var r in i||(i={}))en.call(i,r)&&et(l,r,i[r]);if(Je)for(var r of Je(i))tn.call(i,r)&&et(l,r,i[r]);return l},I=(l,i)=>Zt(l,Jt(i));var R=(l,i,r)=>new Promise((p,k)=>{var f=y=>{try{w(r.next(y))}catch(F){k(F)}},o=y=>{try{w(r.throw(y))}catch(F){k(F)}},w=y=>y.done?p(y.value):Promise.resolve(y.value).then(f,o);w((r=r.apply(l,i)).next())});import{g as tt}from"./index-db918426-1786807848259.js";import{A as nn}from"./assets-8728b943-1786807848259.js";/* empty css */import{f as sn,e as nt,d as rn,c as st,M as an}from"./index-80cb981f-1786807848259.js";import{a as ln,c as un,d as on,e as cn,f as dn,g as vn}from"./resourceDetailRows-4a1c39d1-1786807848259.js";import{q as rt,r as fn,s as gn}from"./screen2Standard-03f7f908-1786807848259.js";import{c as mn,F as hn}from"./featurePanelLayout-f3191169-1786807848259.js";import{_ as wn}from"./TopicSwitcher-c91bad20-1786807848259.js";import{_ as yn}from"./LayerPanel-e92912ff-1786807848259.js";import{a as at,_ as bn}from"./FeatureInfoPanel-9b5cdecf-1786807848259.js";import{_ as pn}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{g as d,o as _,c as S,a as b,t as Me,F as $e,y as Ce,n as fe,K as ge,d as m,q as kn,h as _n,w as D,A as ne,b as j,C as it,x as lt,u as Pe,j as ve,z as Ln}from"./index-1786807848259.js";import{_ as ut}from"./index-0eddac6c-1786807848259.js";const Sn="/openApi/screen2/resource-management/ndvi-timeline";function Tn(){return R(this,null,function*(){var p;const l=yield fetch(Sn,{credentials:"include",headers:{Accept:"application/json"}});if(!l.ok){const k=new Error(`HTTP ${l.status}`);throw k.status=l.status,k}const i=yield l.json().catch(()=>({}));if((i==null?void 0:i.code)!==200||(i==null?void 0:i.success)!==!0)throw new Error((i==null?void 0:i.message)||"NDVI 时间轴加载失败");const r=Array.isArray((p=i==null?void 0:i.data)==null?void 0:p.items)?i.data.items:[];return xn(r)})}function xn(l=[]){const i=new Set;return l.map((r,p)=>{const k=Nn(ot(r,["url","layerName","layer_name","layer","name"]));if(!k)return null;const f=ot(r,["date","month","time","label"])||k,o=Pn(f);return{key:`${k}-${f||p}`,label:o,date:String(f),layerName:k,source:r}}).filter(Boolean).filter(r=>i.has(r.key)?!1:(i.add(r.key),!0))}function ot(l,i){for(const r of i)if((l==null?void 0:l[r])!==void 0&&(l==null?void 0:l[r])!==null&&(l==null?void 0:l[r])!=="")return l[r]}function Nn(l){const i=String(l||"").trim();return i&&i.startsWith("v3:resource_")?i:""}function Pn(l){const i=String(l||"").trim();if(!i)return"";const r=i.match(/(\d{4})[-_/年. ]?(0?[1-9]|1[0-2])(?:月)?/);return r?`${r[1]}.${String(Number(r[2])).padStart(2,"0")}`:i}const Mn={class:"grassland-ndvi-timeline-head"},$n={key:0,class:"grassland-ndvi-timeline-state"},Cn={key:1,class:"grassland-ndvi-timeline-state"},Fn={key:2,class:"grassland-ndvi-timeline-body"},Vn=["aria-checked","title","onClick"],An={class:"grassland-ndvi-timeline-label"},En=42,In=28,Rn={__name:"GrasslandNdviTimeline",props:{items:{type:Array,default:()=>[]},modelValue:{type:String,default:""},loading:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:i}){const r=l,p=i,k=d(()=>r.items.findIndex(c=>c.key===r.modelValue)),f=d(()=>k.value===-1?Math.max(0,r.items.length-1):k.value),o=d(()=>r.items[f.value]||null),w=d(()=>r.loading?"加载中":"未选择"),y=d(()=>r.items.length>7),F=d(()=>y.value?In:En),se=d(()=>X(f.value)),re=d(()=>q(f.value));function Y(c){if(!r.items.length)return;const v=Math.min(r.items.length-1,Math.max(0,f.value+c));p("update:modelValue",r.items[v].key)}function ae(c){!c||c.key===r.modelValue||p("update:modelValue",c.key)}function Q(c){return!r.items.length||c<0?0:r.items.length===1?.5:c/(r.items.length-1)}function X(c){const v=Q(c),M=L(v*100),h=F.value*(1-v*2);return`calc(${M}% ${h<0?"-":"+"} ${L(Math.abs(h))}px)`}function q(c){const v=Q(c);return v<=0?"0px":`calc(${L(v*100)}% - ${L(F.value*2*v)}px)`}function L(c){return Number(c.toFixed(4)).toString()}return(c,v)=>{var M;return _(),S("div",{class:fe(["grassland-ndvi-timeline",{"is-dense":y.value}])},[b("div",Mn,[v[2]||(v[2]=b("span",null,"草地健康/退化",-1)),b("strong",null,Me(((M=o.value)==null?void 0:M.label)||w.value),1)]),l.loading?(_(),S("div",$n,"加载月份数据")):l.items.length?(_(),S("div",Fn,[b("button",{class:"grassland-ndvi-timeline-nav",type:"button",title:"上一期",onClick:v[0]||(v[0]=h=>Y(-1))},"‹"),b("div",{class:"grassland-ndvi-timeline-track",style:ge({"--timeline-active-left":se.value,"--timeline-fill-width":re.value,"--timeline-edge-offset":`${F.value}px`}),role:"radiogroup","aria-label":"草地健康退化月份"},[v[4]||(v[4]=b("div",{class:"grassland-ndvi-timeline-line"},null,-1)),v[5]||(v[5]=b("div",{class:"grassland-ndvi-timeline-fill"},null,-1)),v[6]||(v[6]=b("div",{class:"grassland-ndvi-timeline-thumb"},[b("i")],-1)),(_(!0),S($e,null,Ce(l.items,(h,z)=>{var H,T;return _(),S("button",{key:h.key,class:fe(["grassland-ndvi-timeline-mark",{"is-active":h.key===((H=o.value)==null?void 0:H.key),"is-past":z<=f.value,"is-staggered":y.value&&z%2===1}]),type:"button",role:"radio","aria-checked":h.key===((T=o.value)==null?void 0:T.key),style:ge({left:X(z)}),title:h.date,onClick:Z=>ae(h)},[v[3]||(v[3]=b("span",{class:"grassland-ndvi-timeline-tick"},null,-1)),b("span",An,Me(h.label),1)],14,Vn)}),128))],4),b("button",{class:"grassland-ndvi-timeline-nav",type:"button",title:"下一期",onClick:v[1]||(v[1]=h=>Y(1))},"›")])):(_(),S("div",Cn,"暂无月份数据"))],2)}}},qn=pn(Rn,[["__scopeId","data-v-3b86bca9"]]),Bn={class:"forest-grass-wet"},Gn={class:"forest-grass-wet-ui",id:"forest-grass-wet-ui"},Dn={class:"fgw-left"},jn={class:"fgw-side-stack is-left"},zn={class:"fgw-right"},Hn={class:"fgw-side-stack is-right"},On={key:1,class:"fgw-ndvi-timeline"},Wn={class:"fgw-bottom-topic"},Un={key:0,class:"loading"},Kn={class:"loading-progress"},Yn={class:"value"},cs={__name:"index",props:{showLoading:{type:Boolean,default:!0},active:{type:Boolean,default:!0}},emits:["topic-stats"],setup(l,{expose:i,emit:r}){const p=l,k=r,f=m(null),o=m(sn[0].key),w=m(""),y=m([]),F=m([]),se=m("idle"),re=m(!1),Y=m({title:"业务统计",rows:[]}),ae=m({title:"业务统计",rows:[]}),Q=m([]),X=m([]),q=m(null),L=m(""),c=m(null),v=m(!1),M=m(!1),h=m(null),z=m(0),H=m(p.showLoading),T=m([]),Z=m("idle"),V=m(""),B=m({type:"idle",text:"等待 GeoServer 图层加载"});let J=null,x=!1,me=!1,O=!1,A=null,he=0,we=0,ye=0,W=0,ie=0,le=!1,be=!1;const ct={图斑编号:"patch_no",图斑号:"patch_no",湿地编号:"land_number",草地编号:"land_number",林地类型:"dlmc",地类:"landUseName",地类名称:"landUseName",所在乡镇:"townName",所在区域:"full_name",面积:"acreage",图斑面积:"acreage",湿地面积:"acreage",草场面积:"acreage",草原类:"grassTypeName",草原型:"grassMinType",草原等级:"grasslandLevel",草原类型:"basic_type_name",小斑干草产量:"xbGcYield",小斑鲜草产量:"xbXcYield",鲜草产量:"xcYield",干草产量:"gcYield",海拔:"elevation",地貌:"landformName",权属单位:"qsdwmc",坐落单位:"zldwmc",林班:"lin_ban",小班:"xiao_ban",森林类别:"sen_lin_lb",林种:"lin_zhong",公益林等级:"gjgyl_bhdj",保护等级:"bh_dj",质量等级:"zl_dj",优势树种:"you_shi_sz",起源:"qi_yuan",龄组:"ling_zu",郁闭度:"yu_bi_du",林地权属:"ld_qs",土地使用权属:"tdsyqs",林木权属:"lmqs",生态区位:"stqwmc",坡度等级:"slope"},dt=new Set(["grassland-distribution","wetland-distribution","woodland-distribution","woodland-protection","woodland-type","woodland-quality","woodland-ownership"]),vt=[{topicKey:"wetland",layerKey:"wetland-distribution",name:"湿地分布",legendName:"湿地资源"},{topicKey:"grassland",layerKey:"grassland-distribution",name:"草地分布",legendName:"草地资源"},{topicKey:"woodland",layerKey:"woodland-distribution",name:"林地分布",legendName:"林地资源"}],ft=new Set(["code","msg","message","success","data","result","grassland","wetland","woodland","basicGrassland","dyColumn","geom","wkt","geometry","the_geom","theGeom","shape","shape_leng","shape_length","length","perimeter","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"].map(e=>e.toLowerCase())),gt=d(()=>nt(o.value)),mt=d(()=>rn(o.value)),ue=d(()=>vt.map(e=>Nt(e)).filter(Boolean)),oe=d(()=>o.value==="overview"?ue.value:mt.value),Fe=d({get(){return o.value==="overview"?y.value:w.value},set(e){if(o.value==="overview"){y.value=Array.isArray(e)?e.map(String).filter(Boolean):[];return}w.value=String(e||"")}}),ee=d(()=>w.value?st(o.value,w.value):null),U=d(()=>o.value==="grassland"&&w.value==="grassland-health"),ht=d(()=>U.value),wt=d(()=>T.value.find(e=>e.key===V.value)||null),K=d(()=>{var e;return(((e=ee.value)==null?void 0:e.legends)||[]).find(t=>t.key===L.value)||null}),yt=d(()=>ue.value.flatMap(e=>e.legends||[])),pe=d(()=>{var e;return o.value==="overview"?yt.value:((e=ee.value)==null?void 0:e.legends)||[]}),bt=d(()=>oe.value.length>0),Ve=d(()=>oe.value.length<=6&&pe.value.length<=8),Ae=d(()=>{if(!Ve.value)return 430;const e=Math.max(1,oe.value.length),t=Math.max(1,Math.ceil(pe.value.length/2)),n=e*34+Math.max(0,e-1)*5,s=30+t*28;return Math.max(220,Math.min(430,72+n+s))}),pt=d(()=>{var s;if(o.value==="overview"){const a=new Set(y.value),u=ue.value.filter(g=>a.has(g.key));return Pt(u)}const e=ee.value;if(!e)return null;let t=(s=K.value)!=null&&s.cqlFilter?I(C({},e),{cqlFilter:K.value.cqlFilter,activeLegend:K.value,name:K.value.name||e.name}):e;const n=wt.value;return U.value&&!(n!=null&&n.layerName)?null:(U.value&&(t=I(C({},t),{layerName:n.layerName,name:`${e.name} ${n.label}`,timelineDate:n.label,timelineItem:n})),t)}),Ee=m(typeof window=="undefined"?1080:window.innerHeight),Ie=rt.sideCardWidth;d(()=>rt.sideCardGap);const Re=d(()=>fn(Ee.value)),kt=d(()=>gn(Re.value,2)),ke=d(()=>!!h.value),qe=d(()=>{var e,t,n,s;return ln(((t=(e=c.value)==null?void 0:e.properties)==null?void 0:t.resourceType)||Ue((n=c.value)==null?void 0:n.layer),((s=c.value)==null?void 0:s.properties)||{})}),_t=hn,Be=d(()=>mn({point:h.value?xt(h.value):null,rowCount:c.value?qe.value.length||xe(c.value):0,loading:M.value,empty:v.value||!c.value,preferredTop:190,preserveDesiredHeight:!0})),Lt=d(()=>Be.value.height),St=d(()=>Be.value.style),Tt=d(()=>{var s,a,u,g,E,P,$,te,G;const e=String(((a=(s=c.value)==null?void 0:s.properties)==null?void 0:a.resourceType)||"").toLowerCase();if(["basicgrassland","basic-grassland"].includes(e))return"基本/一般草原详情";const t=((g=(u=c.value)==null?void 0:u.layer)==null?void 0:g.overviewTopicKey)||((P=(E=c.value)==null?void 0:E.layer)==null?void 0:P.topicKey)||o.value;return{grassland:"草地详情",wetland:"湿地详情",woodland:"林地详情"}[t]||`${((te=($=c.value)==null?void 0:$.layer)==null?void 0:te.name)||((G=gt.value)==null?void 0:G.name)||"资源"}详情`});function xt(e){const t=document.querySelector(".forest-grass-wet"),n=t==null?void 0:t.getBoundingClientRect();return!(n!=null&&n.width)||!(n!=null&&n.height)?e:{x:(e.x-n.left)/n.width*1920,y:(e.y-n.top)/n.height*1080}}function _e(){Ee.value=typeof window=="undefined"?1080:window.innerHeight}function Nt({topicKey:e,layerKey:t,name:n,legendName:s}){var g;const a=st(e,t);if(!a||a.key!==t)return null;const u=((g=a.legends)==null?void 0:g[0])||{};return I(C({},a),{name:n,overviewTopicKey:e,legends:[I(C({},u),{key:`overview-${t}`,name:s,selectable:!1})]})}function Pt(e=[]){const t=e.filter(Boolean);if(!t.length)return null;const[n,...s]=t;return I(C({},n),{overlayLayers:s})}kn(()=>{_e(),window.addEventListener("resize",_e),document.addEventListener("pointerdown",Qe,!0),Mt(),Se(o.value,""),ce(o.value,"")}),_n(()=>{x=!0,A&&window.clearTimeout(A),window.removeEventListener("resize",_e),document.removeEventListener("pointerdown",Qe,!0)}),D(o,e=>{le=!0,L.value="",w.value="",e==="overview"&&(y.value=[]),N(),B.value={type:"idle",text:"等待 GeoServer 图层加载"},Se(e,""),ce(e,"",null),ne(()=>{le=!1})}),D(w,()=>{le||(be=!0,L.value="",N(),B.value={type:w.value?"loading":"idle",text:w.value?"正在加载 GeoServer 图层":"等待 GeoServer 图层加载"},o.value!=="woodland"&&Se(o.value,w.value),ce(o.value,w.value,null),ne(()=>{be=!1}))}),D(y,()=>{o.value==="overview"&&(L.value="",N(),B.value={type:y.value.length?"loading":"idle",text:y.value.length?"正在加载 GeoServer 图层":"等待 GeoServer 图层加载"},q.value=Ye("overview",y.value.join(",")))},{deep:!0}),D(L,()=>{le||be||(N(),ce(o.value,w.value,K.value))}),D(U,e=>{if(e){Ft();return}V.value=""}),D(V,()=>{U.value&&N()}),D(()=>p.active,e=>{var t,n,s,a;f.value&&(e?(Le(),(n=(t=f.value).resume)==null||n.call(t)):(a=(s=f.value).pause)==null||a.call(s))});function Mt(){var n;J=new nn;const e={progress:0};J.instance.on("onProgress",(s,a,u)=>{const g=Math.floor(a/u*100);tt.to(e,{progress:g,onUpdate:()=>{z.value=Math.floor(e.progress)}})});const t=()=>{x||me||(me=!0,Le())};J.instance.on("onLoad",t),(n=J.ready)==null||n.then(t).catch(()=>{x||(B.value={type:"error",text:"地图资源加载失败"})})}function Le(){x||!p.active||!me||O||(O=!0,A&&window.clearTimeout(A),A=window.setTimeout(()=>{A=null,Ge()},600))}function Ge(e=0){return R(this,null,function*(){var n,s,a,u,g;if(x)return;if(!p.active){O=!1;return}if(yield ne(),!p.active){O=!1;return}if(!!((s=(n=f.value)==null?void 0:n.loadMap)!=null&&s.call(n,J)||(u=(a=f.value)==null?void 0:a.hasMap)!=null&&u.call(a))){yield Qt(),yield ne(),(g=f.value)==null||g.play();return}if(e<24){window.setTimeout(()=>Ge(e+1),120);return}O=!1})}function $t(){A&&(window.clearTimeout(A),A=null)}function De(){var e,t,n,s;(t=(e=f.value)==null?void 0:e.resume)==null||t.call(e),(s=(n=f.value)==null?void 0:n.refreshView)==null||s.call(n)}function Ct(){var e,t;if(N(),B.value={type:"loading",text:"地图正在复位"},(t=(e=f.value)==null?void 0:e.hasMap)!=null&&t.call(e)){De(),B.value={type:"success",text:"地图已复位"};return}$t(),O=!1,ne(()=>{Le()})}i({refreshMapView:De,resetMap:Ct});function Se(n){return R(this,arguments,function*(e,t=w.value){const s=e==="woodland"?"":t,a=++we;re.value=!0,se.value="loading";try{const u=yield un(e,2023);if(x||a!==we||e!==o.value||e!=="woodland"&&(s||"")!==(w.value||""))return;ze(u,e)}catch(u){if(x||a!==we||e!==o.value)return;ze(I(C({},on(e)),{status:"error"}),e)}})}function Ft(e=!1){return R(this,null,function*(){if(!U.value)return;if(!e&&T.value.length){je();return}const t=++ye;Z.value="loading";try{const n=yield Tn();if(x||t!==ye)return;T.value=n,Z.value=n.length?"success":"empty",je()}catch(n){if(x||t!==ye)return;T.value=[],V.value="",Z.value="error"}})}function je(){if(!T.value.length){V.value="";return}T.value.some(t=>t.key===V.value)||(V.value=T.value[T.value.length-1].key)}function ze(e,t){var s,a,u;const n=Vt(e);F.value=n.core||[],Y.value=n.left||{title:"业务统计",rows:[]},ae.value=n.right||{title:"业务统计",rows:[]},Q.value=(s=n.leftPanels)!=null&&s.length?n.leftPanels:[Y.value],X.value=(a=n.rightPanels)!=null&&a.length?n.rightPanels:[ae.value],se.value=n.status,re.value=!1,k("topic-stats",{topicKey:t,topicName:nt(t).name,items:((u=n.top)!=null&&u.length?n.top:n.core||[]).slice(0,4)})}function Vt(e){return e||{}}function He(e,t){return`${o.value}-${t}-${(e==null?void 0:e.key)||(e==null?void 0:e.title)||"panel"}`}function Te(e){var n;const t=((n=e==null?void 0:e.rows)==null?void 0:n.length)||0;return(e==null?void 0:e.span)===1?!1:(e==null?void 0:e.span)===2?!0:(e==null?void 0:e.type)==="spotlight"||(e==null?void 0:e.type)==="metric"||(e==null?void 0:e.type)==="column"&&t<=5?!1:(e==null?void 0:e.type)==="rank"&&t>4||(e==null?void 0:e.type)==="split"&&t>4||(e==null?void 0:e.type)==="donut"&&t>5||(e==null?void 0:e.type)==="structure"&&t>4||(e==null?void 0:e.type)==="bar"&&t>4||(e==null?void 0:e.type)==="line"&&t>6}function Oe(e){return Te(e)?kt.value:Re.value}function xe(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(s=>We(s,t[s])).length}function We(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!ft.has(String(e||"").toLowerCase())}function At(){if(o.value==="overview"){const e=new Set(y.value);return ue.value.filter(t=>e.has(t.key)).slice().reverse()}return ee.value?[ee.value]:[]}function Ue(e={}){const t=String(e.overviewTopicKey||o.value||"").toLowerCase(),n=`${e.key||""} ${e.layerName||""} ${t}`.toLowerCase();return n.includes("basic-grassland")||n.includes("t_basic_grassland")?"basicGrassland":t==="woodland"||n.includes("woodland")||n.includes("t_woodland")?"woodland":t==="wetland"||n.includes("wetland")||n.includes("shidi")?"wetland":t==="grassland"||n.includes("grassland")||n.includes("caodi")?"grassland":""}function Et(e={}){const t=Ke(e.lng),n=Ke(e.lat);return t===""||n===""?"":`POINT(${t} ${n})`}function Ke(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function It(){return R(this,arguments,function*(e={}){var E,P,$,te,G,Xe;const t=Number((E=e==null?void 0:e.lngLat)==null?void 0:E.lng),n=Number((P=e==null?void 0:e.lngLat)==null?void 0:P.lat),s=At();if(!Number.isFinite(t)||!Number.isFinite(n)||!s.length){N();return}const a=++W,u=ie,g=e.screen||{x:960,y:540};h.value=null,c.value=null,v.value=!1,M.value=!0,(te=($=f.value)==null?void 0:$.clearSelectedFeature)==null||te.call($);try{for(const Ze of s){const de=yield Rt(Ze,{lng:t,lat:n});if(a!==W||x)return;if(de){c.value=de,h.value=Ne(de,g),v.value=!1,(Xe=(G=f.value)==null?void 0:G.highlightFeature)==null||Xe.call(G,de,{highlightTone:"v21"});return}}a===W&&ie===u&&N()}catch(Ze){a===W&&ie===u&&N()}finally{a===W&&(M.value=!1)}})}function Rt(e,t){return R(this,null,function*(){const n=Ue(e);if(!n)return null;const s=Et(t),a=yield vn(n,s),u=qt(a,n);if(!Gt(u))return null;const g=jt(u,e,t,n);return xe(g)>0?g:null})}function qt(e,t){var s,a,u,g,E;const n=[e==null?void 0:e[t],e==null?void 0:e.grassland,e==null?void 0:e.wetland,e==null?void 0:e.woodland,e==null?void 0:e.basicGrassland,(s=e==null?void 0:e.data)==null?void 0:s[t],(a=e==null?void 0:e.data)==null?void 0:a.grassland,(u=e==null?void 0:e.data)==null?void 0:u.wetland,(g=e==null?void 0:e.data)==null?void 0:g.woodland,(E=e==null?void 0:e.data)==null?void 0:E.basicGrassland,e==null?void 0:e.data,e==null?void 0:e.result,e];for(const P of n){const $=Bt(P);if($)return $}return null}function Bt(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function Gt(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(Dt)?!0:Object.keys(e).some(t=>We(t,e[t]))}function Dt(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function jt(e,t,n,s){const a=Ht(e),u=zt(e);return{id:e.id||e.patchNo||e.patch_no||e.landNumber||e.land_number||`${s}-${n.lng}-${n.lat}`,properties:a,feature:{type:"Feature",properties:a,geometry:u},geometry:u,layer:t,lngLat:n}}function zt(e={}){return e.geometry||e.geom||e.wkt||e.the_geom||e.theGeom||e.geo||e.geometryWkt||e.geometry_wkt||e.shape||null}function Ht(e={}){const t=C({},e);return(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(s=>{const a=s==null?void 0:s.value;if(a==null||a==="")return;const u=ct[String((s==null?void 0:s.title)||"").trim()],g=String((s==null?void 0:s.field)||"").trim();[g,Ot(g),u].filter(Boolean).forEach(P=>{(t[P]===void 0||t[P]===null||t[P]==="")&&(t[P]=a)})}),t}function Ot(e){return String(e||"").replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`)}function ce(s,a){return R(this,arguments,function*(e,t,n=K.value){const u=++he;if(!t||!Wt(t,n)){q.value=Ye(e,t);return}try{const g=yield cn(e,t);if(x||u!==he||e!==o.value||t!==w.value||((n==null?void 0:n.key)||"")!==L.value)return;q.value=I(C({},g),{hideTownLabelStats:!0})}catch(g){if(x||u!==he)return;q.value=I(C({},dn(e,t)),{status:"error",hideTownLabelStats:!0})}})}function Wt(e,t=null){return!!(t!=null&&t.key)||dt.has(e)}function Ye(e,t){return{status:"disabled",topicKey:e,layerKey:t,title:"",unit:"",hideTownLabelStats:!0,rows:[]}}function Ut(e){var n,s;ie+=1;const t=(s=(n=e==null?void 0:e.feature)!=null?n:e)!=null?s:null;if(!t||xe(t)<=0){N();return}c.value=t,v.value=!1,h.value=Ne(t,(e==null?void 0:e.screen)||h.value)}function Ne(e,t=null){var n,s,a,u;return((s=(n=f.value)==null?void 0:n.getVectorFeatureAnchorScreen)==null?void 0:s.call(n,e))||((u=(a=f.value)==null?void 0:a.getVectorFeatureScreen)==null?void 0:u.call(a,e))||t}function Kt(){if(!ke.value||!c.value)return;const e=Ne(c.value,h.value);if(!e)return;const t=h.value;t&&Math.abs(Number(t.x)-Number(e.x))<.5&&Math.abs(Number(t.y)-Number(e.y))<.5||(h.value=e)}function Yt(e){B.value=e}function N(){var e,t;W+=1,c.value=null,v.value=!1,M.value=!1,h.value=null,(t=(e=f.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function Qe(e){if(!ke.value)return;const t=document.querySelector(".fgw-map-feature-info"),n=document.querySelector(".forest-grass-wet .cesium-map"),s=e.target;t&&s instanceof Node&&t.contains(s)||n&&s instanceof Node&&n.contains(s)||N()}function Qt(){return H.value?new Promise(e=>{tt.to(".forest-grass-wet .loading",{opacity:0,duration:.8,delay:.2,onComplete:()=>{H.value=!1,e()}})}):Promise.resolve()}return(e,t)=>(_(),S("div",Bn,[j(an,{ref_key:"mapSceneRef",ref:f,"active-layer":pt.value,"map-ranking":q.value,"admin-boundary-line-scale":1.65,"initial-zoom":9,"auto-apply-layer-map-view":!1,"max-zoom":21,"hide-town-label-stats":"","enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"enable-town-polygon-pick":!1,onFeatureLoading:t[0]||(t[0]=n=>M.value=n),onFeatureInfo:Ut,onMapClick:It,onLayerStatus:Yt,onViewChange:Kt},null,8,["active-layer","map-ranking"]),b("div",Gn,[b("div",Dn,[b("div",jn,[(_(!0),S($e,null,Ce(Q.value,n=>(_(),it(ut,{key:He(n,"left"),class:fe(["fgw-side-card left-card",{"is-double":Te(n)}]),title:n.title,width:Pe(Ie),height:Oe(n)},{default:lt(()=>[j(at,{panel:n,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:2},1032,["class","title","width","height"]))),128))])]),b("div",zn,[b("div",Hn,[(_(!0),S($e,null,Ce(X.value,n=>(_(),it(ut,{key:He(n,"right"),class:fe(["fgw-side-card right-card",{"is-double":Te(n)}]),title:n.title,width:Pe(Ie),height:Oe(n)},{default:lt(()=>[j(at,{panel:n,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:2},1032,["class","title","width","height"]))),128))])]),bt.value?(_(),S("div",{key:0,class:"fgw-map-layer-tools",style:ge({height:`${Ae.value}px`})},[j(yn,{modelValue:Fe.value,"onUpdate:modelValue":t[1]||(t[1]=n=>Fe.value=n),"selected-legend-key":L.value,"onUpdate:selectedLegendKey":t[2]||(t[2]=n=>L.value=n),"topic-key":o.value,layers:oe.value,legends:pe.value,multiple:o.value==="overview",width:248,height:Ae.value,compact:Ve.value},null,8,["modelValue","selected-legend-key","topic-key","layers","legends","multiple","height","compact"])],4)):ve("",!0),ht.value?(_(),S("div",On,[j(qn,{modelValue:V.value,"onUpdate:modelValue":t[3]||(t[3]=n=>V.value=n),items:T.value,loading:Z.value==="loading"},null,8,["modelValue","items","loading"])])):ve("",!0),ke.value?(_(),S("div",{key:2,class:"fgw-map-feature-info",style:ge(St.value)},[j(bn,{title:Tt.value,feature:c.value,empty:v.value,loading:M.value,width:Pe(_t),height:Lt.value,rows:qe.value,closable:"",onClose:N},null,8,["title","feature","empty","loading","width","height","rows"])],4)):ve("",!0),b("div",Wn,[j(wn,{modelValue:o.value,"onUpdate:modelValue":t[4]||(t[4]=n=>o.value=n)},null,8,["modelValue"])])]),H.value?(_(),S("div",Un,[t[6]||(t[6]=Ln('
LOADING
',1)),b("div",Kn,[b("span",Yn,Me(z.value),1),t[5]||(t[5]=b("span",{class:"unit"},"%",-1))])])):ve("",!0)]))}};export{cs as default}; diff --git a/docs/assets/index-38922c40-1786725044461.js b/docs/assets/index-38922c40-1786725044461.js deleted file mode 100644 index 2f2fdda..0000000 --- a/docs/assets/index-38922c40-1786725044461.js +++ /dev/null @@ -1,13 +0,0 @@ -var Nt=Object.defineProperty,Rt=Object.defineProperties;var Vt=Object.getOwnPropertyDescriptors;var dt=Object.getOwnPropertySymbols;var Ht=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable;var mt=(e,t,o)=>t in e?Nt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,$=(e,t)=>{for(var o in t||(t={}))Ht.call(t,o)&&mt(e,o,t[o]);if(dt)for(var o of dt(t))Pt.call(t,o)&&mt(e,o,t[o]);return e},x=(e,t)=>Rt(e,Vt(t));var L=(e,t,o)=>new Promise((d,f)=>{var g=w=>{try{b(o.next(w))}catch(k){f(k)}},p=w=>{try{b(o.throw(w))}catch(k){f(k)}},b=w=>w.done?d(w.value):Promise.resolve(w.value).then(g,p);b((o=o.apply(e,t)).next())});import{k as wt,a3 as ht,g as et,q as zt,h as It,w as qt,o as c,c as m,z as ft,F as C,y as N,n as H,a,t as y,j as h,C as Ot,u as Ft,B as gt,f as vt,s as Bt,H as jt,e as Kt,D as Ut,_ as Qt,d as E,A as Wt}from"./index-1786725044461.js";const Gt="/openApi/screen2/smart-management";function Jt(e){return L(this,null,function*(){const t=yield wt(`${Gt}/context`,{params:{question:e},timeout:3e4});if((t==null?void 0:t.success)===!1||(t==null?void 0:t.code)!==void 0&&![0,200,"0","200"].includes(t.code)){const f=new Error((t==null?void 0:t.message)||(t==null?void 0:t.msg)||"V3业务数据整理失败");throw f.code=t==null?void 0:t.code,f}const d=ht(t);if(!Array.isArray(d==null?void 0:d.datasets)||!d.datasets.length){const f=new Error("V3业务数据中没有与当前问题相关的可用数据");throw f.code="SMART_DATA_EMPTY",f}return d})}const Xt="智慧管理",bt=200,Yt=/(phone|mobile|tel|idcard|identity|certificate.?number|token|secret|password|credential|device.?key|access.?key|身份证|证件号|电话|手机号|密钥|口令)/i;function Zt(o){return L(this,arguments,function*(e,t={}){const d=se(e),f=yield Jt(d),g=(f.datasets||[]).map(ee).filter(p=>p.rows.length);if(!g.length)throw new Error("V3业务数据中没有与当前问题相关的可用数据");return{question:d,pageName:Xt,pagePath:t.pagePath||window.location.hash||window.location.pathname,scope:f.scope||"红原县",intents:f.intents||[],datasets:g,charts:[],notes:["本次分析仅使用当前问题对应的V3业务数据。"],warnings:[],insights:ne(g),historyIncluded:!1,sensitiveFieldsIncluded:!1,sourcePolicy:f.sourcePolicy||"V3 Screen2 API / qkl2 safe allowlist"}})}function te(e={}){const t=Array.isArray(e.datasets)?e.datasets:[];if(!t.length)throw new Error("V3业务数据缺失,无法生成专题分析");const o=t.slice(0,8).map(d=>d.title).filter(Boolean);return[`分析范围:${e.scope||"红原县"}`,"本次可追溯业务数据:",...o.map(d=>`- ${d}`)].join(` -`)}function ee(e={},t=0){return{id:e.id||`v3-dataset-${t+1}`,title:e.title||`V3业务数据${t+1}`,suggestedView:ie(e.title,e.rows),source:Q(e.source||{label:"V3业务数据"}),rows:(Array.isArray(e.rows)?e.rows:[]).slice(0,bt).map(o=>Q(o)).filter(o=>o&&typeof o=="object")}}function Q(e,t=0){return t>5||e===void 0||typeof e=="function"?null:e===null||["string","number","boolean"].includes(typeof e)?e:Array.isArray(e)?e.slice(0,bt).map(o=>Q(o,t+1)):typeof e=="object"?Object.entries(e).reduce((o,[d,f])=>(Yt.test(String(d))||(o[d]=Q(f,t+1)),o),{}):String(e)}function ne(e=[]){var o,d;const t=[];for(const f of e){const g=(f.rows||[]).find(b=>{var k,v;const w=(v=(k=b==null?void 0:b.value)!=null?k:b==null?void 0:b.metric_value)!=null?v:b==null?void 0:b.numeric_value;return w!=null&&w!==""&&Number.isFinite(Number(w))});if(!g)continue;const p=(d=(o=g.value)!=null?o:g.metric_value)!=null?d:g.numeric_value;if(t.push({label:g.name||g.metric_name||f.title,value:`${oe(p)}${g.unit||g.metric_unit||""}`,note:f.title}),t.length>=5)break}return t}function ie(e="",t=[]){return!Array.isArray(t)||t.length<=1?"metrics":/结构|构成|占比|比例/.test(e)?"pie":/趋势|预测|年度/.test(e)?"line":"bar-table"}function se(e){return String(e||"").replace(/耗牛/g,"牦牛").replace(/犛牛/g,"牦牛").trim()}function oe(e){const t=Number(String(e).replace(/,/g,""));return Number.isFinite(t)?t.toLocaleString("zh-CN",{maximumFractionDigits:2}):e||"--"}const re={}.VITE_OPEN_API_BASE||"/openApi",le=12e4,ae=8e3,ue=12,ce=500,de=/(phone|mobile|tel|idcard|identity|certificate.?number|token|secret|password|credential|device.?key|access.?key|身份证|证件号|电话|手机号|密钥|口令)/i;function me(e){return/^https?:\/\//.test(e)?e:`${re}${e.startsWith("/")?e:`/${e}`}`}function fe(e){if((e==null?void 0:e.success)===!1||(e==null?void 0:e.code)!==void 0&&![0,200,"0","200"].includes(e.code)){const o=new Error((e==null?void 0:e.message)||(e==null?void 0:e.msg)||"HTML界面生成失败");throw o.code=e==null?void 0:e.code,o}return ht(e)}function ge(){return L(this,arguments,function*({question:e,answer:t="",charts:o=[],datasets:d=[],context:f=null,pagePath:g=window.location.hash||window.location.pathname,pageName:p="智慧管理"}={}){const b=ve({question:e,answer:t,charts:o,datasets:d,context:f}),w=yield wt(me("/screen2/smart-management/artifact/html"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:e,pagePath:g,pageName:p,dataJson:b}),timeout:11e4}).then(fe),k=String((w==null?void 0:w.provider)||""),v=String((w==null?void 0:w.model)||"");if(k.toLowerCase()!=="deepseek"||!v.toLowerCase().startsWith("deepseek-"))throw new Error("HTML界面不是由DeepSeek模型生成,已拒绝展示");const D=ye((w==null?void 0:w.html)||(w==null?void 0:w.content)||w);if(!D)throw new Error("代码模型没有返回完整HTML");if(pe(D))throw new Error("专题页面仍为原始数据表,已拒绝展示,请重新生成");return x($({},w),{html:D})})}function ve({question:e,answer:t,charts:o,datasets:d,context:f}){const g={question:String(e||"").trim(),generatedAt:new Date().toISOString(),presentation:{format:"business-report",requirements:["输出应为业务报告页面,而不是原始数据表或字段清单。","不要直接展示 key、rawValue、areaCode、areaRange 等技术字段名。","页面需包含结论、关键指标、图表化对比、重点对象和工作建议。"]},answer:String(t||"").slice(0,ae),context:we(f),datasets:[...he(o),...be(d)]},p=JSON.stringify(g);if(p.length>le){const b=new Error("汇总数据超过120000字符,请先缩小查询范围");throw b.code="ARTIFACT_DATA_TOO_LARGE",b}return p}function we(e){if(!e||typeof e!="object")return null;const{question:t,pageName:o,pagePath:d,scope:f,intents:g,notes:p,warnings:b,insights:w}=e;return W({question:t,pageName:o,pagePath:d,scope:f,intents:g,notes:p,warnings:b,insights:w})}function he(e=[]){return(Array.isArray(e)?e:[]).slice(0,6).map((t,o)=>({id:(t==null?void 0:t.id)||`chart-${o+1}`,title:(t==null?void 0:t.title)||`统计数据${o+1}`,suggestedView:(t==null?void 0:t.type)||"bar",unit:(t==null?void 0:t.unit)||"",subtitle:(t==null?void 0:t.subtitle)||"",source:(t==null?void 0:t.source)||{},rows:yt(t==null?void 0:t.rows)}))}function be(e=[]){return(Array.isArray(e)?e:[]).slice(0,ue).map((t,o)=>({id:(t==null?void 0:t.id)||`dataset-${o+1}`,title:(t==null?void 0:t.title)||(t==null?void 0:t.name)||`汇总数据${o+1}`,suggestedView:(t==null?void 0:t.suggestedView)||(t==null?void 0:t.type)||"auto",unit:(t==null?void 0:t.unit)||"",source:(t==null?void 0:t.source)||{},rows:yt((t==null?void 0:t.rows)||(t==null?void 0:t.data)||t)}))}function yt(e){return(Array.isArray(e)?e:[]).slice(0,ce).map(t=>W(t))}function W(e,t=0){return t>4||e===void 0||typeof e=="function"?null:e===null||["string","number","boolean"].includes(typeof e)?e:Array.isArray(e)?e.slice(0,50).map(o=>W(o,t+1)):typeof e=="object"?Object.entries(e).reduce((o,[d,f])=>(de.test(String(d))||(o[d]=W(f,t+1)),o),{}):String(e)}function ye(e){let t=String(e||"").trim();t.startsWith("```")&&(t=t.replace(/^```(?:html)?\s*/i,"").replace(/\s*```$/i,"").trim());const o=t.match(/");return o&&d>=o.index&&(t=t.slice(o.index,d+7)),/]+>/g," ").replace(/\s+/g," ").toLowerCase(),d=(t.match(/o.includes(p)).length;return d>=2&&g>=4||d>=1&&g>=6}function _e(e){const t=String(e||"").trim();if(!t||typeof DOMParser=="undefined")return"";const o=new DOMParser().parseFromString(t,"text/html"),d=o.createElement("script");return d.textContent=` - (() => { - const notify = (type, message = "") => { - window.parent.postMessage({ source: "smart-artifact", type, message: String(message).slice(0, 240) }, "*"); - }; - window.addEventListener("error", (event) => notify("runtime-error", event.message || "界面运行异常")); - window.addEventListener("unhandledrejection", (event) => notify("runtime-error", event.reason?.message || event.reason || "界面运行异常")); - window.addEventListener("DOMContentLoaded", () => notify("ready")); - })(); - `,o.head.prepend(d),` -${o.documentElement.outerHTML}`}const ke={class:"wisdom-management"},Ae={key:0,class:"wisdom-side wisdom-side-left"},Te={key:0,class:"wisdom-side-header"},Se={key:0},$e={key:1,class:"wisdom-side-metrics"},Ee={key:0},xe=["innerHTML"],Me={key:3,class:"wisdom-side-actions"},Ce=["disabled","onClick"],De={key:1,class:"wisdom-side wisdom-side-right"},Le={key:0,class:"wisdom-side-header"},Ne={key:0},Re={key:2,class:"wisdom-side-metrics"},Ve={key:0},He=["innerHTML"],Pe={key:4,class:"wisdom-side-actions"},ze=["disabled","onClick"],Ie={key:2,class:"wisdom-artifact-workspace"},qe={class:"wisdom-artifact-header"},Oe={class:"wisdom-artifact-heading"},Fe={class:"wisdom-artifact-tools"},Be=["disabled"],je={class:"wisdom-artifact-body"},Ke={key:0,class:"wisdom-artifact-building"},Ue={class:"wisdom-artifact-building__intro"},Qe=["srcdoc"],We={key:2,class:"wisdom-artifact-error"},Ge=["disabled"],Je={key:0,class:"wisdom-empty-state"},Xe={key:0,class:"wisdom-message-mark"},Ye={class:"wisdom-bubble"},Ze={key:0,class:"wisdom-digesting"},tn=["innerHTML"],en={key:2,class:"wisdom-stream-caret"},nn={key:3,class:"wisdom-suggestion-list"},sn=["disabled","onClick"],on={class:"wisdom-input-shell"},rn=["disabled"],ln=["disabled","title","aria-label"],an=["disabled"],un={key:0,class:"wisdom-button-loading"},mn={__name:"index",props:{active:{type:Boolean,default:!0}},setup(e){const t=Ut({loader:()=>Qt(()=>import("./SmartChartRenderer-b8de4b80-1786725044461.js"),["./SmartChartRenderer-b8de4b80-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index.esm.min-90d27a39-1786725044461.js","./SmartChartRenderer-7a3a96b9-balabala-1786725044461.css"],import.meta.url),loadingComponent:{template:'
正在绘制统计图表
'}}),o=e,d=E(""),f=E([]),g=E(!1),p=E(null),b=E(null),w=E([]),k=E([]),v=E(it()),D=et(()=>v.value.status!=="idle"),G=et(()=>["collecting","generating"].includes(v.value.status)),pt=et(()=>v.value.status==="collecting"?"汇总数据":v.value.status==="generating"?"生成页面":v.value.status==="ready"?"DeepSeek生成":v.value.status==="error"?"生成失败":v.value.status==="waiting"?"等待选择":"待生成"),j=E(!1),M=E(!1),I=E("");let P=null,S=null,R=0;const z=E(null);zt(()=>{St(),window.addEventListener("message",lt)}),It(()=>{X(),K(),R+=1,window.removeEventListener("message",lt)}),qt(()=>o.active,n=>{n||(X(),K(),R+=1,g.value=!1,f.value=f.value.map(s=>s.streaming?x($({},s),{streaming:!1,digesting:!1}):s))});function nt(){return`${Date.now()}-${Math.random().toString(16).slice(2)}`}function it(){return{status:"idle",title:"动态分析",question:"",html:"",error:"",model:"",renderKey:0}}function _t(n){R+=1,z.value=null,v.value=x($({},it()),{status:"collecting",title:st(n),question:n})}function st(n){const s=String(n||"动态分析").replace(/[??。!!]+$/g,"").trim();return s.length>28?`${s.slice(0,28)}...`:s||"动态分析"}function ot(n){return L(this,null,function*(){const s={question:(n==null?void 0:n.question)||v.value.question,answer:(n==null?void 0:n.answer)||"",charts:Array.isArray(n==null?void 0:n.charts)?n.charts:[],datasets:Array.isArray(n==null?void 0:n.datasets)?n.datasets:[],context:(n==null?void 0:n.context)||null,pagePath:window.location.hash||window.location.pathname,pageName:"智慧管理"};z.value=s;const i=++R;v.value=x($({},v.value),{status:"generating",title:st(s.question),question:s.question,html:"",error:"",model:""});try{const r=yield ge(s);if(i!==R)return{stale:!0};const l=_e(r.html);if(!l)throw new Error("生成页面内容为空");return v.value=x($({},v.value),{status:"ready",html:l,error:"",model:r.model||"DeepSeek",renderKey:Date.now()}),{ok:!0,result:r}}catch(r){if(i!==R)return{stale:!0};const l=ut(r,"DeepSeek专题分析生成失败,请稍后重新生成。");return console.error("[智慧管理] DeepSeek HTML生成失败",r),v.value=x($({},v.value),{status:"error",html:"",error:l,model:"",renderKey:Date.now()}),{ok:!1,message:l,error:r}}})}function rt(){!z.value||G.value||ot(z.value)}function kt(n){R+=1,v.value=x($({},v.value),{status:"error",html:"",error:n,renderKey:Date.now()})}function At(){v.value.status!=="ready"&&(v.value=x($({},v.value),{status:"ready"}))}function lt(n){var s,i;n.source!==((s=b.value)==null?void 0:s.contentWindow)||((i=n.data)==null?void 0:i.source)!=="smart-artifact"||n.data.type==="runtime-error"&&(v.value=x($({},v.value),{status:"error",html:"",error:n.data.message||"生成界面运行异常",renderKey:Date.now()}))}function at(n){return String(n||"").replace(/耗牛/g,"牦牛").replace(/犛牛/g,"牦牛")}function Tt(n){return at(n).trim()}function St(){if(typeof window=="undefined")return;const n=window.SpeechRecognition||window.webkitSpeechRecognition;j.value=!!n,n&&(S=new n,S.lang="zh-CN",S.continuous=!1,S.interimResults=!0,S.maxAlternatives=1,S.onstart=()=>{M.value=!0,I.value=""},S.onresult=s=>{const r=Array.from(s.results||[]).map(l=>{var u;return((u=l==null?void 0:l[0])==null?void 0:u.transcript)||""}).join("").trim();r&&(d.value=r)},S.onerror=s=>{M.value=!1,I.value=(s==null?void 0:s.error)||"语音输入失败"},S.onend=()=>{M.value=!1})}function $t(){if(!(!S||g.value)){if(M.value){K();return}try{I.value="",S.start()}catch(n){I.value=(n==null?void 0:n.message)||"语音输入启动失败",M.value=!1}}}function K(){if(!(!S||!M.value))try{S.stop()}catch(n){I.value=(n==null?void 0:n.message)||"语音输入已结束"}finally{M.value=!1}}function q(){return L(this,arguments,function*(n=d.value){const s=Tt(n);if(!s||g.value)return;K();const i={id:nt(),role:"user",text:s},r={id:nt(),role:"assistant",steps:[],digesting:!0,digestText:"生成中",visibleText:"",fullText:"",streaming:!1,charts:[],insights:[],suggestions:[]};f.value=[...f.value,i,r],d.value="",g.value=!0,_t(s),yield ct(),yield Et(s,r.id)})}function Et(n,s){return L(this,null,function*(){var i;O(s,{digestText:"生成中"});try{const r=window.location.hash||window.location.pathname,l=yield Zt(n,{pagePath:r}),u=te(l),A=(i=l.insights)!=null&&i.length?l.insights:Ct(l.charts||[]);O(s,{digesting:!0,digestText:"生成中",insights:A,suggestions:[],allowFollowUp:!0}),Mt({question:n,answer:u,charts:l.charts||[],insights:A,suggestions:[]}),J(s,xt());const _=yield ot({question:n,answer:u,charts:l.charts||[],datasets:l.datasets||[],context:l});(_==null?void 0:_.ok)===!1&&J(s,_.message||"专题分析模型调用失败,请稍后重试。")}catch(r){const l=ut(r,"上下文数据整理失败,请稍后重试。");w.value=[],k.value=[],kt(l),J(s,l)}})}function xt(){return["专题分析页面正在生成,完成后会自动显示在右侧。","你可以继续提出其他问题。"].join(` -`)}function U(n){const s=Number(String(n).replace(/,/g,""));return Number.isFinite(s)?s.toLocaleString("zh-CN",{maximumFractionDigits:2}):n||"--"}function Mt({question:n,answer:s,charts:i=[],insights:r=[],suggestions:l=[],aiPanels:u}={}){const A=(u==null?void 0:u.leftPanels)||[],_=(u==null?void 0:u.rightPanels)||[];if(A.length||_.length){w.value=A,k.value=_;return}w.value=[],k.value=[]}function Ct(n=[]){const s=[];return n.slice(0,2).forEach(i=>{var B;const r=(i.rows||[]).map(T=>x($({},T),{value:Number(T.value)})).filter(T=>T.name&&Number.isFinite(T.value));if(!r.length)return;const l=i.unit||((B=r.find(T=>T.unit))==null?void 0:B.unit)||"",u=r.slice().sort((T,tt)=>tt.value-T.value),A=r.reduce((T,tt)=>T+tt.value,0),_=A/r.length,F=u[0],V=u[u.length-1];s.push({label:"最高",value:`${F.name} ${U(F.value)}${l}`,note:i.title}),r.length>2&&s.push({label:i.type==="pie"?"占比项":"最低",value:`${V.name} ${U(V.value)}${l}`,note:i.type==="pie"?"最小结构项":"低值区域"}),s.push({label:"合计",value:`${U(A)}${l}`,note:r.length>1?`覆盖 ${r.length} 项`:i.title}),i.type!=="pie"&&r.length>1&&s.push({label:"均值",value:`${U(_)}${l}`,note:"按当前图表项计算"})}),s.slice(0,4)}function O(n,s,i=!0){f.value=f.value.map(r=>r.id===n?$($({},r),s):r),i&&ct()}function J(n,s){O(n,{digesting:!1}),Dt(n,s)}function ut(n,s){const i=String((n==null?void 0:n.message)||"");return(n==null?void 0:n.code)===401||(n==null?void 0:n.code)==="401"||(n==null?void 0:n.code)==="HTTP_401"||(n==null?void 0:n.status)===401||/未登录|登录(?:状态)?(?:已)?(?:失效|过期)|授权已过期|Unauthorized|HTTP 401/i.test(i)?"当前登录状态已失效,请重新登录后查询。":/DeepSeek.*未授权|外部数据传输.*未授权|生成服务已关闭/i.test(i)?"智慧分析生成服务尚未启用,请联系管理员完成配置。":(n==null?void 0:n.code)==="REQUEST_TIMEOUT"||/timeout|timed out|超时/i.test(i)?"服务响应时间较长,请稍后再试,或换一个更具体的问题。":(n==null?void 0:n.code)==="REQUEST_ABORTED"||/aborted|abort|signal/i.test(i)?"本次分析已中断,请重新提交。":(n==null?void 0:n.code)==="HTTP_404"||(n==null?void 0:n.status)===404||/HTTP 404/i.test(i)?"专题分析页面生成服务暂不可用,请稍后重试。":/Failed to fetch|NetworkError|Load failed|HTTP 50|HTTP 40/i.test(i)?s:/[\u4e00-\u9fff]/.test(i)?i:s}function Dt(n,s){X();const i=at(s),r=i.length>1200?36:i.length>700?24:14;let l=0;O(n,{fullText:i,visibleText:"",streaming:!0,charts:[]});const u=()=>{if(l=Math.min(l+r,i.length),O(n,{visibleText:i.slice(0,l),streaming:l=i.length){P=null,g.value=!1;return}P=window.setTimeout(u,18)};P=window.setTimeout(u,0)}function X(){P&&(window.clearTimeout(P),P=null)}function Y(n){const s=Lt(n).split(/\r?\n/),i=[];let r=[],l=!1;const u=()=>{r.length&&(i.push(`<${l?"ol":"ul"}>${r.map(A=>`
  • ${Z(A)}
  • `).join("")}`),r=[],l=!1)};return s.forEach(A=>{const _=A.trim();if(!_){u();return}const F=_.match(/^#{1,4}\s+(.+)$/)||_.match(/^\*\*(.+)\*\*$/);if(F){u(),i.push(`

    ${Z(F[1])}

    `);return}const V=_.match(/^\d+[.)、]\s+(.+)$/),B=_.match(/^[-*]\s+(.+)$/);if(V||B){const T=!!V;r.length&&l!==T&&u(),l=T,r.push(V?V[1]:B[1]);return}u(),i.push(`

    ${Z(_)}

    `)}),u(),i.join("")}function Z(n){return n.replace(/\*\*([^*]+)\*\*/g,"$1")}function Lt(n){return String(n||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ct(){return L(this,null,function*(){yield Wt(),window.requestAnimationFrame(()=>{p.value&&(p.value.scrollTop=p.value.scrollHeight)})})}return(n,s)=>(c(),m("div",ke,[s[16]||(s[16]=ft('',1)),w.value.length&&!D.value?(c(),m("aside",Ae,[(c(!0),m(C,null,N(w.value,i=>{var r,l;return c(),m("section",{key:i.id,class:H(["wisdom-side-panel",`is-${i.type}`])},[i.chart?h("",!0):(c(),m("header",Te,[a("div",null,[a("span",null,y(i.kicker),1),a("strong",null,y(i.title),1)]),i.badge?(c(),m("em",Se,y(i.badge),1)):h("",!0)])),(r=i.items)!=null&&r.length?(c(),m("div",$e,[(c(!0),m(C,null,N(i.items,u=>(c(),m("div",{key:`${i.id}-${u.label}`,class:"wisdom-side-metric"},[a("span",null,y(u.label),1),a("strong",null,y(u.value),1),u.note?(c(),m("em",Ee,y(u.note),1)):h("",!0)]))),128))])):h("",!0),i.text?(c(),m("div",{key:2,class:"wisdom-side-text",innerHTML:Y(i.text)},null,8,xe)):h("",!0),(l=i.actions)!=null&&l.length?(c(),m("div",Me,[(c(!0),m(C,null,N(i.actions,u=>(c(),m("button",{key:u.question,type:"button",disabled:g.value,onClick:A=>q(u.question)},y(u.label),9,Ce))),128))])):h("",!0)],2)}),128))])):h("",!0),k.value.length&&!D.value?(c(),m("aside",De,[(c(!0),m(C,null,N(k.value,i=>{var r,l;return c(),m("section",{key:i.id,class:H(["wisdom-side-panel",`is-${i.type}`])},[i.chart?h("",!0):(c(),m("header",Le,[a("div",null,[a("span",null,y(i.kicker),1),a("strong",null,y(i.title),1)]),i.badge?(c(),m("em",Ne,y(i.badge),1)):h("",!0)])),i.chart?(c(),Ot(Ft(t),{key:1,class:"wisdom-side-chart",chart:i.chart},null,8,["chart"])):h("",!0),(r=i.items)!=null&&r.length?(c(),m("div",Re,[(c(!0),m(C,null,N(i.items,u=>(c(),m("div",{key:`${i.id}-${u.label}`,class:"wisdom-side-metric"},[a("span",null,y(u.label),1),a("strong",null,y(u.value),1),u.note?(c(),m("em",Ve,y(u.note),1)):h("",!0)]))),128))])):h("",!0),i.text?(c(),m("div",{key:3,class:"wisdom-side-text",innerHTML:Y(i.text)},null,8,He)):h("",!0),(l=i.actions)!=null&&l.length?(c(),m("div",Pe,[(c(!0),m(C,null,N(i.actions,u=>(c(),m("button",{key:u.question,type:"button",disabled:g.value,onClick:A=>q(u.question)},y(u.label),9,ze))),128))])):h("",!0)],2)}),128))])):h("",!0),D.value?(c(),m("section",Ie,[a("header",qe,[a("div",Oe,[s[4]||(s[4]=a("span",{class:"wisdom-artifact-mark","aria-hidden":"true"},null,-1)),a("div",null,[s[3]||(s[3]=a("small",null,"专题分析",-1)),a("strong",null,y(v.value.title),1)])]),a("div",Fe,[a("span",{class:H(["wisdom-artifact-status",`is-${v.value.status}`])},[s[5]||(s[5]=a("i",null,null,-1)),gt(y(pt.value),1)],2),v.value.status==="ready"||v.value.status==="error"?(c(),m("button",{key:0,type:"button",disabled:G.value||!z.value,title:"重新生成当前界面",onClick:rt}," 重新生成 ",8,Be)):h("",!0)])]),a("div",je,[G.value?(c(),m("div",Ke,[a("div",Ue,[s[6]||(s[6]=a("span",{class:"wisdom-artifact-building__spinner"},null,-1)),a("div",null,[a("strong",null,y(v.value.status==="collecting"?"正在汇总业务数据":"正在生成专题分析页面"),1)])]),s[7]||(s[7]=ft('
    ',3))])):v.value.html?(c(),m("iframe",{key:v.value.renderKey,ref_key:"artifactFrameRef",ref:b,class:"wisdom-artifact-frame",srcdoc:v.value.html,sandbox:"allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-downloads allow-modals",referrerpolicy:"no-referrer",title:"专题分析页面",onLoad:At},null,40,Qe)):(c(),m("div",We,[s[8]||(s[8]=a("strong",null,"专题分析页面暂未生成",-1)),a("p",null,y(v.value.error||"当前数据不足以形成专题分析页面。"),1),a("button",{type:"button",disabled:!z.value,onClick:rt},"重新生成",8,Ge)]))])])):h("",!0),a("main",{class:H(["wisdom-chat",{"has-artifact":D.value}])},[a("div",{ref_key:"dialogueRef",ref:p,class:H(["wisdom-dialogue",{"is-empty":!f.value.length}]),"aria-live":"polite"},[f.value.length?h("",!0):(c(),m("section",Je,[...s[9]||(s[9]=[a("div",{class:"wisdom-empty-mark"},[a("span"),a("strong",null,"AI")],-1),a("h2",null,"智慧辅助分析",-1)])])),(c(!0),m(C,null,N(f.value,i=>{var r;return c(),m("article",{key:i.id,class:H(["wisdom-message",`is-${i.role}`])},[i.role==="assistant"?(c(),m("div",Xe,[...s[10]||(s[10]=[a("span",null,"智",-1)])])):h("",!0),a("div",Ye,[i.role==="user"?(c(),m(C,{key:0},[gt(y(i.text),1)],64)):(c(),m(C,{key:1},[i.digesting?(c(),m("div",Ze,[s[11]||(s[11]=a("span",null,null,-1)),s[12]||(s[12]=a("span",null,null,-1)),s[13]||(s[13]=a("span",null,null,-1)),a("em",null,y(i.digestText||"正在汇总分析"),1)])):h("",!0),i.visibleText?(c(),m("div",{key:1,class:"wisdom-answer",innerHTML:Y(i.visibleText)},null,8,tn)):h("",!0),i.streaming?(c(),m("span",en)):h("",!0),(r=i.suggestions)!=null&&r.length&&(i.allowFollowUp||!i.digesting&&!i.streaming)?(c(),m("div",nn,[(c(!0),m(C,null,N(i.suggestions,l=>(c(),m("button",{key:l.question,type:"button",disabled:g.value,onClick:u=>q(l.question)},y(l.label),9,sn))),128))])):h("",!0)],64))])],2)}),128))],2),a("form",{class:"wisdom-input-bar","aria-label":"智慧辅助分析提问",onSubmit:s[2]||(s[2]=vt(i=>q(),["prevent"]))},[a("div",on,[s[15]||(s[15]=a("span",{class:"wisdom-input-icon"},null,-1)),Bt(a("input",{"onUpdate:modelValue":s[0]||(s[0]=i=>d.value=i),disabled:g.value,"aria-label":"业务分析问题",autocomplete:"off",placeholder:"请输入需要了解的业务事项",onKeydown:s[1]||(s[1]=Kt(vt(i=>q(),["prevent"]),["enter"]))},null,40,rn),[[jt,d.value]]),a("button",{type:"button",class:H(["wisdom-voice-button",{"is-listening":M.value}]),disabled:g.value||!j.value,title:j.value?M.value?"停止语音输入":"语音输入":"当前浏览器不支持语音输入","aria-label":j.value?M.value?"停止语音输入":"语音输入":"当前浏览器不支持语音输入",onClick:$t},[...s[14]||(s[14]=[a("span",null,null,-1)])],10,ln),a("button",{class:"wisdom-submit-button",type:"submit",disabled:g.value||!d.value.trim()},[g.value?(c(),m("span",un)):h("",!0),a("span",null,y(g.value?"分析中":"发送"),1)],8,an)])],32)],2)]))}};export{mn as default}; diff --git a/docs/assets/index-5095c6be-balabala-1786807848259.css b/docs/assets/index-5095c6be-balabala-1786807848259.css new file mode 100644 index 0000000..f95ce5f --- /dev/null +++ b/docs/assets/index-5095c6be-balabala-1786807848259.css @@ -0,0 +1 @@ +.map{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background-color:#000}.map .info-point{background:rgba(0,0,0,.5);color:#a3dcde;font-size:14px;width:170px;height:106px;padding:16px 12px 0;margin-bottom:30px;will-change:transform}.map .info-point-wrap:after,.map .info-point-wrap:before{display:block;content:"";position:absolute;top:0;width:15px;height:15px;border-top:1px solid #4b87a6}.map .info-point-wrap:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap:after{right:0;border-right:1px solid #4b87a6}.map .info-point-wrap-inner:after,.map .info-point-wrap-inner:before{display:block;content:"";position:absolute;bottom:0;width:15px;height:15px;border-bottom:1px solid #4b87a6}.map .info-point-wrap-inner:before{left:0;border-left:1px solid #4b87a6}.map .info-point-wrap-inner:after{right:0;border-right:1px solid #4b87a6}.map .info-point-line{position:absolute;top:7px;right:12px;display:flex}.map .info-point-line .line{width:5px;height:2px;margin-right:5px;background:#17e5c3}.map .info-point-content .content-item{display:flex;height:28px;line-height:28px;background:rgba(35,47,58,.6);margin-bottom:5px}.map .info-point-content .content-item .label{width:60px;padding-left:10px}.map .info-point-content .content-item .value{color:#fff}.map .provinces-label-wrap{position:relative;transform:translate3d(0,16px,0);transform-origin:center;opacity:0;display:flex;justify-content:center;align-items:center;gap:9px;padding:5px 34px 5px 12px;min-width:126px;height:50px;border-radius:30px 30px 30px 0;background:rgba(0,0,0,.4);box-sizing:border-box}.map .provinces-label .provinces-label-copy{display:grid;justify-items:center;gap:2px;width:100%;min-width:0;text-align:center}.map .provinces-label .town-name{color:#ebfdffdb;font-size:13px;font-weight:700;line-height:15px;white-space:nowrap}.map .provinces-label .number{color:#fff;font-size:20px;font-weight:700;line-height:22px}.map .provinces-label .number .unit{color:#fff;font-size:12px;font-weight:400;opacity:.5;padding-left:5px}.map .provinces-label .name{color:#fff;font-size:14px;font-weight:700}.map .provinces-label .name span{display:block}.map .provinces-label .name .en{color:#fff;font-size:10px;opacity:.5;font-weight:700}.map .provinces-label .no{position:absolute;top:50%;right:11px;color:#7efbf6;text-shadow:0 0 5px #7efbf6,0 0 10px #7efbf6;font-size:24px;font-weight:700;transform:translateY(-50%)}.map .provinces-label .yellow .no{color:#fef99e!important;text-shadow:0 0 5px #fef99e,0 0 10px #fef99e!important}.map .china-label{color:#fff;font-size:15px;font-weight:700;text-shadow:0 0 8px rgba(126,251,246,.8);will-change:transform;z-index:30}.map .china-label .other-label{display:flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid rgba(126,251,246,.35);border-radius:3px;background:rgba(3,21,33,.78);box-shadow:0 0 14px #30dcff33;will-change:transform;white-space:nowrap;text-align:center;transform:translate3d(0,18px,0);transform-origin:center}.map .china-label.blur{filter:none;opacity:1}.map .china-label .label-icon{display:none;width:20px;height:20px;margin:0 10px 0 0}.map .map-label{padding:5px;color:#fff;will-change:transform;font-size:36px;font-weight:700;letter-spacing:4.5px;-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3))}.map .map-label .other-label{display:flex;flex-direction:column}.map .map-label span{font-size:46px}.map .map-label span:last-child{font-size:12px;font-weight:400;letter-spacing:0px;color:#a7d5ef}.map .decoration-label .label-icon{display:block;width:40px;height:40px}.map .other-label{transform:translateY(200%);opacity:0;background:none;will-change:transform}.home-business-error{position:absolute;z-index:36;top:108px;left:50%;transform:translate(-50%);max-width:720px;padding:10px 18px;border:1px solid rgba(255,105,105,.72);border-radius:4px;color:#fff2f2;background:rgba(58,10,18,.9);box-shadow:0 8px 24px #0000004d;font-size:15px}.home-dashboard{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c}.home-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.home-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none}.home-map-scrim:before,.home-map-scrim:after{position:absolute;top:0;right:0;bottom:0;left:0;content:""}.home-map-scrim:before{opacity:.12;background:url(./bg-3acb94e3-balabala-1786807848259.png) center/cover no-repeat}.home-map-scrim:after{background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 54%,rgba(2,13,20,.06) 80%,rgba(2,12,18,.22) 100%),linear-gradient(90deg,rgba(0,14,24,.12),transparent 26%,transparent 74%,rgba(0,14,24,.12))}.home-slaughter-ticker{position:absolute;top:190px;left:50%;z-index:9;display:grid;grid-template-columns:112px minmax(0,1fr);width:760px;height:34px;overflow:hidden;border:1px solid rgba(48,220,255,.22);background:linear-gradient(90deg,rgba(3,23,37,.94),rgba(5,38,50,.78),rgba(3,23,37,.94)),rgba(3,18,31,.82);box-shadow:0 0 14px #30dcff1a,inset 0 0 0 1px #ffffff08;transform:translate(-50%);pointer-events:none;box-sizing:border-box}.home-slaughter-ticker:before,.home-slaughter-ticker:after{position:absolute;top:0;z-index:2;width:34px;height:100%;content:""}.home-slaughter-ticker:before{left:111px;background:linear-gradient(90deg,rgba(4,28,43,.94),transparent)}.home-slaughter-ticker:after{right:0;background:linear-gradient(270deg,rgba(4,28,43,.94),transparent)}.home-slaughter-ticker-status{position:relative;z-index:3;display:flex;align-items:center;gap:6px;padding:0 9px 0 10px;border-right:1px solid rgba(48,220,255,.2);background:rgba(4,30,44,.94);box-sizing:border-box}.home-slaughter-ticker-status>i{width:7px;height:7px;border-radius:50%;background:#30dcff;box-shadow:0 0 10px #30dcffe6;animation:home-slaughter-live-pulse 1.4s ease-in-out infinite}.home-slaughter-ticker-status strong{color:#fff;font-size:12px;font-weight:700;line-height:16px;white-space:nowrap}.home-slaughter-ticker-viewport{min-width:0;overflow:hidden}.home-slaughter-ticker-track{display:flex;width:max-content;height:100%;animation:home-slaughter-marquee var(--ticker-duration, 36s) linear infinite;will-change:transform}.home-slaughter-ticker-group{display:flex;flex:none;align-items:center;gap:34px;padding-right:34px}.home-slaughter-ticker-item{display:inline-flex;align-items:center;gap:6px;color:#fffc;font-size:10px;line-height:32px;white-space:nowrap}.home-slaughter-ticker-item b{color:#8bf7ffc7;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-weight:500}.home-slaughter-ticker-item em{color:#fff;font-style:normal}.home-slaughter-ticker-item strong{color:#ffd76c;font-weight:700}.home-slaughter-ticker-item>i{color:#30dcff;font-style:normal}.home-slaughter-ticker-item>span{color:#8bf7ff}@keyframes home-slaughter-marquee{0%{transform:translateZ(0)}to{transform:translate3d(-50%,0,0)}}@keyframes home-slaughter-live-pulse{0%,to{opacity:.55;transform:scale(.88)}50%{opacity:1;transform:scale(1.16)}}.home-bottom-switcher{position:absolute;left:50%;bottom:8px;z-index:10;width:max-content;transform:translate(-50%);pointer-events:auto}.home-layer-tools{position:absolute;top:auto;right:458px;bottom:72px;left:auto;z-index:7;width:248px;box-sizing:border-box;pointer-events:auto}.home-layer-tools .m-card{width:100%!important;height:430px!important;background:rgba(3,18,30,.54);backdrop-filter:blur(2px)}.home-map-feature-info{position:absolute;z-index:8;pointer-events:auto}.home-map-feature-info .m-card{background:rgba(3,18,30,.58);backdrop-filter:blur(2px)}.home-layer-tree-panel{display:grid;grid-template-rows:minmax(170px,236px) minmax(0,1fr);gap:12px;height:100%;box-sizing:border-box;padding:12px 12px 14px;overflow:hidden}.home-layer-tree-list{display:flex;flex-direction:column;gap:7px;min-height:0;padding-right:4px;overflow-y:auto;scrollbar-width:none}.home-layer-tree-list::-webkit-scrollbar{display:none}.home-layer-tree-group{display:flex;flex-direction:column;gap:6px}.home-layer-tree-parent,.home-layer-tree-child{display:flex;align-items:center;justify-content:space-between;min-width:0;height:27px;flex:0 0 27px;border:1px solid rgba(48,220,255,.22);color:#ffffffbd;font-size:12px;cursor:pointer;background:rgba(3,20,32,.58)}.home-layer-tree-parent span,.home-layer-tree-child span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-layer-tree-child.is-overlay i{border-radius:1px}.home-layer-tree-child.is-overlay.is-active i:after{content:"";display:block;width:4px;height:2px;margin:2px 0 0 1px;border-left:1px solid #08202d;border-bottom:1px solid #08202d;transform:rotate(-45deg)}.home-layer-tree-parent{padding:0 9px;font-weight:700}.home-layer-tree-parent i{width:7px;height:7px;border-right:1px solid rgba(255,255,255,.62);border-bottom:1px solid rgba(255,255,255,.62);transform:rotate(-45deg);transition:transform .18s ease}.home-layer-tree-group.is-open .home-layer-tree-parent i{transform:rotate(45deg) translateY(-2px)}.home-layer-tree-parent.is-active{color:#fff;border-color:#30dcffa8;background:linear-gradient(90deg,rgba(21,121,130,.5),rgba(3,20,32,.78))}.home-layer-tree-children{display:flex;flex-direction:column;gap:6px;padding-left:12px}.home-layer-tree-child{padding:0 9px}.home-layer-tree-child i{width:8px;height:8px;border:1px solid rgba(255,255,255,.42);border-radius:50%}.home-layer-tree-child.is-active{color:#fff;border-color:#30dcffb3;background:linear-gradient(90deg,rgba(21,121,130,.52),rgba(3,20,32,.78))}.home-layer-tree-child.is-active i{border-color:#30dcff;background:#30dcff;box-shadow:0 0 12px #30dcffe0}.home-layer-tree-legend{min-height:0;padding-top:9px;border-top:1px solid rgba(48,220,255,.18);overflow:visible}.home-layer-tree-title{position:relative;margin-bottom:7px;padding-left:10px;color:#dbf9ffe6;font-size:13px;font-weight:600;line-height:16px}.home-layer-tree-title:before{content:"";position:absolute;left:0;top:4px;width:4px;height:8px;background:#30dcff;box-shadow:0 0 10px #30dcffb3}.home-layer-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,96px));justify-content:center;align-content:start;gap:7px 8px;max-height:calc(100% - 24px);padding-right:4px;overflow-y:auto;scrollbar-width:none}.home-layer-legend-grid::-webkit-scrollbar{display:none}.home-layer-legend-grid.is-single{grid-template-columns:minmax(0,128px)}.home-layer-legend-row{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:start;column-gap:6px;min-width:0;min-height:22px;padding:3px 2px;border:1px solid transparent;color:inherit;text-align:left;cursor:pointer;background:transparent}.home-layer-legend-row:disabled{opacity:1}.home-layer-legend-row.is-checkable{grid-template-columns:15px minmax(0,1fr) 12px}.home-layer-legend-row.is-selected{border-color:#30dcff75;background:rgba(48,220,255,.08)}.home-layer-legend-row.is-disabled{cursor:default}.home-layer-legend-swatch{width:12px;height:12px;margin-top:2px;border:1px solid currentColor}.home-layer-legend-name{min-width:0;color:#ecfbffbd;font-size:11px;line-height:16px;word-break:break-all}.home-layer-legend-check{width:7px;height:7px;margin-top:4px;border:1px solid rgba(255,255,255,.42);border-radius:50%}.home-layer-legend-row.is-selected .home-layer-legend-check{border-color:#30dcff;background:#30dcff;box-shadow:0 0 10px #30dcffb8}.home-layer-tree-empty{padding-top:18px;color:#dbf9ff75;font-size:12px;text-align:center}.home-left,.home-right{position:absolute;top:128px;bottom:8px;z-index:5;width:398px;perspective-origin:50% 50%;pointer-events:all}.home-left{left:32px;perspective:var(--screen-side-perspective-left, 500px)}.home-right{right:32px;perspective:var(--screen-side-perspective-right, 800px)}.home-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.home-side-stack.is-left{transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(6deg) rotate(0) skew(0) skewY(0);transform-origin:left center}.home-side-stack.is-right{transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(-6deg) rotate(0) skew(0) skewY(0);transform-origin:right center}.home-card{flex:0 0 auto}.home-card .m-card-bd-content{top:36px;bottom:0;color:#f3feff}.home-card .m-card-hd-bg,.home-card .m-card-bd-bg{filter:none}.home-card .m-card-bd-bg:after{content:none}.home-card .m-card-hd-title{color:#fff!important;background:-webkit-linear-gradient(rgb(219,249,255),rgb(169,240,255))!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;font-weight:600!important;filter:none!important;text-shadow:none!important}.home-card-more{display:inline-flex;align-items:center;gap:2px;height:24px;padding:0 4px 0 8px;border:0;color:#dcfaffd1;font-size:11px;line-height:24px;font-weight:700;background:rgba(4,35,51,.72);cursor:pointer}.home-card-more span{color:#30dcff;font-size:18px;line-height:18px}.home-card-more:hover{color:#fff;background:rgba(14,83,106,.82)}.home-more-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:140;display:flex;align-items:center;justify-content:center;background:rgba(0,8,15,.76);backdrop-filter:blur(3px);pointer-events:auto}.home-more-dialog{display:flex;width:1240px;height:790px;flex-direction:column;padding:20px;border:1px solid rgba(48,220,255,.42);box-sizing:border-box;background:linear-gradient(180deg,rgba(11,47,64,.98),rgba(3,18,30,.99)),rgba(3,18,30,.98);box-shadow:0 0 34px #30dcff2e,inset 0 0 0 1px #ffffff09}.home-more-dialog-head{display:flex;height:56px;flex:0 0 56px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid rgba(48,220,255,.2)}.home-more-dialog-head h2,.home-more-dialog-head p{margin:0}.home-more-dialog-head h2{color:#fff;font-size:21px;line-height:27px;font-weight:800}.home-more-dialog-head p{margin-top:3px;color:#def9ffa6;font-size:12px;line-height:16px}.home-more-dialog-head>button{width:34px;height:34px;padding:0;border:1px solid rgba(48,220,255,.32);color:#ebfdffe6;font-size:25px;line-height:30px;background:rgba(48,220,255,.08);cursor:pointer}.home-more-dialog-head>button:hover{border-color:#30dcffb8;color:#fff;background:rgba(48,220,255,.16)}.home-video-modal-grid{position:relative;isolation:isolate;display:grid;min-height:0;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0 12px}.home-video-modal-item{position:relative;z-index:2;min-width:0;min-height:0;height:auto;padding:0;text-align:left}.home-video-modal-item.is-offline{cursor:default;filter:saturate(.52)}.home-video-modal-item.is-active{z-index:3}.home-video-modal-item:not(.is-active){z-index:8}.home-video-modal-item:not(.is-active) .home-video-hit{z-index:40;pointer-events:auto}.home-more-empty{display:flex;flex:1;align-items:center;justify-content:center;color:#def9ff94;font-size:15px}.home-more-pager{display:flex;height:34px;flex:0 0 34px;align-items:center;justify-content:center;gap:12px}.home-more-pager button{height:28px;padding:0 14px;border:1px solid rgba(48,220,255,.28);color:#e8fcffdb;font-size:12px;background:rgba(48,220,255,.08);cursor:pointer}.home-more-pager button:disabled{cursor:not-allowed;opacity:.38}.home-more-pager span{min-width:54px;color:#e8fcffb8;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;text-align:center}.home-balance-dialog{width:1180px;height:610px}.home-balance-modal-grid{display:grid;min-height:0;flex:1;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px;padding-top:18px}.home-balance-modal-item{position:relative;display:flex;min-width:0;flex-direction:column;justify-content:center;padding:16px;overflow:hidden;border:1px solid color-mix(in srgb,var(--balance-color) 44%,rgba(48,220,255,.16));box-sizing:border-box;background:radial-gradient(circle at 82% 12%,color-mix(in srgb,var(--balance-color) 14%,transparent),transparent 44%),linear-gradient(180deg,rgba(15,57,72,.7),rgba(4,25,38,.78));box-shadow:inset 0 0 20px #30dcff0d}.home-balance-modal-item:before{position:absolute;left:0;top:0;bottom:0;width:3px;content:"";background:var(--balance-color);box-shadow:0 0 10px var(--balance-color)}.home-balance-modal-item p{margin:12px 0 0;color:#e1faffad;font-size:12px;line-height:16px}.home-balance-modal-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.home-balance-modal-title strong{overflow:hidden;color:#fff;font-size:17px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.home-balance-modal-title span{overflow:hidden;color:var(--balance-color);font-size:11px;line-height:16px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.home-balance-modal-value{display:flex;align-items:baseline;margin-top:22px}.home-balance-modal-value strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:36px;line-height:40px;text-shadow:0 0 12px color-mix(in srgb,var(--balance-color) 38%,transparent)}.home-balance-modal-value em{margin-left:3px;color:#ebfdffb8;font-size:13px;font-style:normal}.home-balance-modal-track{height:5px;margin-top:13px;overflow:hidden;background:rgba(113,181,199,.15)}.home-balance-modal-track i{display:block;width:var(--balance-progress);height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--balance-color) 62%,transparent),var(--balance-color));box-shadow:0 0 8px var(--balance-color)}.home-chart{width:100%;height:100%}.home-balance-gauge-grid{display:grid;height:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 12px 10px;box-sizing:border-box;overflow:hidden}.home-balance-empty{display:flex;grid-column:1/-1;align-items:center;justify-content:center;gap:10px;color:#eefdffb8;font-size:14px;font-weight:700}.home-balance-empty i{width:8px;height:8px;border-radius:50%;background:#30dcff;box-shadow:0 0 12px #30dcffdb;animation:home-balance-loading 1.25s ease-in-out infinite}@keyframes home-balance-loading{50%{opacity:.3;transform:scale(.72)}}.home-balance-gauge-card{position:relative;display:grid;min-width:0;min-height:0;grid-template-rows:32px minmax(72px,1fr) 22px 16px;justify-items:center;padding:10px 8px 9px;overflow:hidden;border:1px solid rgba(48,220,255,.18);background:radial-gradient(circle at 50% 46%,color-mix(in srgb,var(--balance-color) 14%,transparent),transparent 55%),linear-gradient(180deg,rgba(48,220,255,.075),rgba(5,27,40,.46));box-shadow:inset 0 0 18px #30dcff12,0 0 #30dcff00;transition:border-color .35s ease,box-shadow .35s ease,background .35s ease}.home-balance-gauge-card:before{position:absolute;top:9px;right:9px;bottom:9px;left:9px;content:"";border:1px solid rgba(255,255,255,.035);pointer-events:none}.home-balance-gauge-card.is-active{border-color:color-mix(in srgb,var(--balance-color) 64%,rgba(48,220,255,.22));background:radial-gradient(circle at 50% 46%,color-mix(in srgb,var(--balance-color) 20%,transparent),transparent 58%),linear-gradient(180deg,rgba(48,220,255,.095),rgba(5,27,40,.52));box-shadow:inset 0 0 22px #30dcff17,0 0 14px color-mix(in srgb,var(--balance-color) 16%,transparent)}.home-balance-gauge-head{position:relative;z-index:1;display:flex;width:100%;align-items:center;justify-content:center}.home-balance-gauge-head span,.home-balance-gauge-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-balance-gauge-head span{color:#eefdff94;font-size:10px;font-weight:700}.home-balance-gauge-head strong{width:100%;color:var(--balance-color);font-size:11px;font-weight:900;text-align:center;text-shadow:0 0 8px color-mix(in srgb,var(--balance-color) 34%,transparent)}.home-balance-gauge-ring{position:relative;z-index:1;align-self:center;width:min(94px,78%);aspect-ratio:1;border-radius:50%;background:conic-gradient(from 218deg,var(--balance-color) 0 var(--balance-progress),rgba(93,175,199,.18) var(--balance-progress) 100%),rgba(3,23,35,.78);box-shadow:0 0 18px color-mix(in srgb,var(--balance-color) 22%,transparent),inset 0 0 18px #0000006b}.home-balance-gauge-ring:before{position:absolute;top:12px;right:12px;bottom:12px;left:12px;content:"";border-radius:50%;background:radial-gradient(circle at 50% 45%,rgba(48,220,255,.12),rgba(3,23,35,.98) 62%),rgba(3,23,35,.96);box-shadow:inset 0 0 12px #0000006b,inset 0 0 0 1px #30dcff14}.home-balance-gauge-ring:after{position:absolute;left:50%;bottom:9px;width:2px;height:16px;content:"";background:rgba(0,10,18,.8);transform:translate(-50%) rotate(35deg);transform-origin:50% 100%;box-shadow:0 0 5px #000a1294}.home-balance-gauge-value{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center}.home-balance-gauge-value strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:24px;line-height:28px;font-weight:900;text-shadow:0 0 10px color-mix(in srgb,var(--balance-color) 42%,transparent)}.home-balance-gauge-value em{margin-left:2px;color:#eefdffc2;font-size:11px;font-style:normal;font-weight:800}.home-balance-gauge-name,.home-balance-gauge-extra{position:relative;z-index:1;max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.home-balance-gauge-name{color:#fff;font-size:15px;line-height:21px;font-weight:900;text-shadow:0 0 8px rgba(48,220,255,.18)}.home-balance-gauge-extra{color:#eefdffa8;font-size:11px;line-height:16px;font-weight:700}.home-forecast-trend-card{position:relative;width:100%;height:100%}.home-forecast-kline-chart{padding-top:14px;box-sizing:border-box}.home-forecast-density-switcher{position:absolute;top:0;left:4px;z-index:3;display:inline-flex;gap:2px;padding:2px;border:1px solid rgba(48,220,255,.22);border-radius:3px;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.home-forecast-density-switcher button{min-width:24px;height:18px;padding:0 6px;border:0;border-radius:2px;color:#e2faffa8;font-size:10px;line-height:18px;font-weight:800;background:transparent;cursor:pointer}.home-forecast-density-switcher button.active{color:#041c2b;background:linear-gradient(180deg,#7efbf6,#30dcff);box-shadow:0 0 10px #30dcff6b}.home-video-monitor{position:relative;display:block;height:100%;padding:2px 24px;box-sizing:border-box;pointer-events:auto}.home-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:100%;min-height:0}.home-video-grid.is-single{grid-template-columns:minmax(0,1fr)}.home-video-screen{position:relative;width:100%;height:100%;margin:0;min-width:0;overflow:hidden;cursor:pointer;border:1px solid rgba(48,220,255,.25);background-color:#020d14;background-position:center;background-size:cover;box-shadow:none}.home-video-screen.is-active{border-color:#7efbf6a8;box-shadow:none}.home-video-screen:not(.is-active){opacity:.88}.home-video-screen.is-playing{background-image:none!important}.home-video-web-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;overflow:hidden;background:#000000}.home-video-web-stage{width:100vw;height:100vh;border:0;cursor:default}.home-video-web-player-slot{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.home-video-screen>.home-video-player-host,.home-video-screen>.home-video-player,.home-video-screen [id$=-wrap],.home-video-screen [id$=-player],.home-video-screen [id^=EZUIKitPlayer-],.home-video-screen .play-window,.home-video-screen video,.home-video-screen canvas,.home-video-screen iframe,.home-video-screen object,.home-video-screen embed,.home-video-screen [id$=-wrap]>.home-video-player>div,.home-video-screen [id$=-wrap]>.home-video-player .play-window,.home-video-screen [id$=-wrap]>.home-video-player [id$=-player],.home-video-screen [id$=-wrap]>.home-video-player video,.home-video-screen [id$=-wrap]>.home-video-player canvas,.home-video-screen [id$=-wrap]>.home-video-player iframe,.home-video-screen [id$=-wrap]>.home-video-player object,.home-video-screen [id$=-wrap]>.home-video-player embed{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:fill!important}.home-video-screen>.home-video-player-host,.home-video-screen>.home-video-player,.home-video-screen [id$=-wrap]{z-index:3;pointer-events:auto}.home-video-screen [id$=-wrap]{z-index:3!important;overflow:hidden;pointer-events:auto}.home-video-screen [id$=-wrap]>.home-video-player{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:1;display:block!important;width:100%!important;height:100%!important;overflow:hidden;pointer-events:auto}.home-video-screen [id$=-wrap]>.home-video-player>div,.home-video-screen [id$=-wrap]>.home-video-player .play-window,.home-video-screen [id$=-wrap]>.home-video-player [id$=-player],.home-video-screen [id$=-wrap]>.home-video-player video,.home-video-screen [id$=-wrap]>.home-video-player canvas,.home-video-screen [id$=-wrap]>.home-video-player iframe{z-index:1}.home-video-screen [id$=-ez-iframe-footer-container]{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:20!important;width:100%!important;margin-top:0!important;pointer-events:auto!important;visibility:visible!important;opacity:1!important}.home-video-screen [id$=-audioControls]{pointer-events:auto!important;visibility:visible!important;opacity:1!important}.home-video-screen .loading-container,.home-video-screen .loading-item,.home-video-screen #loading-icon{display:none!important;visibility:hidden!important;pointer-events:none!important}.home-video-nav{position:absolute;top:50%;z-index:6;width:22px;height:42px;border:1px solid rgba(48,220,255,.26);color:#e3fdffe0;font-size:20px;line-height:20px;cursor:pointer;background:linear-gradient(180deg,rgba(48,220,255,.18),rgba(10,39,54,.56));box-shadow:inset 0 0 12px #30dcff1a;transform:translateY(-50%)}.home-video-nav:disabled{cursor:not-allowed;opacity:.38}.home-video-prev{left:18px}.home-video-next{right:18px}.home-video-screen:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;content:"";pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 34%,rgba(0,0,0,.44)),repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 1px,transparent 1px,transparent 5px)}.home-video-screen.is-playing:before{z-index:2;background:linear-gradient(180deg,rgba(0,0,0,.14),transparent 28%,rgba(0,0,0,.18))}.home-video-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:7;padding:0;border:0;cursor:pointer;background:transparent}.home-video-point-name,.home-video-loading,.home-video-error{pointer-events:none}.home-video-point-name{position:absolute;left:10px;right:10px;bottom:8px;z-index:4;overflow:hidden;padding:4px 8px;border-left:2px solid rgba(69,233,164,.78);color:#fff;font-size:12px;line-height:15px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;background:rgba(0,0,0,.42)}.home-video-screen.is-playing .home-video-point-name{z-index:2;opacity:0}.home-video-loading,.home-video-error{position:absolute;left:50%;top:50%;z-index:5;min-width:72px;padding:4px 8px;border:1px solid rgba(48,220,255,.32);color:#fff;font-size:11px;line-height:14px;text-align:center;background:rgba(0,0,0,.62);transform:translate(-50%,-50%)}.home-video-error{border-color:#8bf7ff6b;color:#c9fbff} diff --git a/docs/assets/index-51b64c4c-1786807848259.js b/docs/assets/index-51b64c4c-1786807848259.js new file mode 100644 index 0000000..2890bde --- /dev/null +++ b/docs/assets/index-51b64c4c-1786807848259.js @@ -0,0 +1,115 @@ +var si=Object.defineProperty,li=Object.defineProperties;var ui=Object.getOwnPropertyDescriptors;var vo=Object.getOwnPropertySymbols;var ci=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable;var yo=(y,n,i)=>n in y?si(y,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):y[n]=i,$=(y,n)=>{for(var i in n||(n={}))ci.call(n,i)&&yo(y,i,n[i]);if(vo)for(var i of vo(n))di.call(n,i)&&yo(y,i,n[i]);return y},j=(y,n)=>li(y,ui(n));var se=(y,n,i)=>new Promise((l,s)=>{var d=h=>{try{m(i.next(h))}catch(w){s(w)}},g=h=>{try{m(i.throw(h))}catch(w){s(w)}},m=h=>h.done?l(h.value):Promise.resolve(h.value).then(d,g);m((i=i.apply(y,n)).next())});import{h as $o,w as pt,o as T,c as I,a as b,d as O,a7 as fi,k as hi,a8 as mi,g as E,q as pi,A as q,a9 as dt,t as G,j as K,s as bo,v as wo,b as ca,C as Pe,K as Ue,F as Ce,y as Le,u as ft,x as da,B as gi,n as ht,e as Bt,f as Te,aa as vi,L as Ft}from"./index-1786807848259.js";import{l as xo,g as yi,E as bi}from"./live-scene-1-60a25a2c-1786807848259.js";import{H as So}from"./index.esm.min-024ee703-1786807848259.js";import{_ as ko}from"./index-0eddac6c-1786807848259.js";import{h as wi,a as Do,g as fa,C as xi,H as Si,b as ki,f as Mi,c as Pi,d as Ci,M as Li}from"./index-80cb981f-1786807848259.js";import{O as Ti,P as He,a as le,D as Ye,C as me,A as we,b as te,e as Ai,F as _i,G as ye,c as Ii,d as Ei,f as Oi,g as Mo,L as Po,V as ee,h as Co,R as be,B as Ri,S as ha,i as Bi,j as Fi,k as Ni,l as Hi,N as Gi,Q as $i,T as Di,m as Vi,n as Lo,o as To,p as zi,q as Ao,r as ji}from"./screen2Standard-03f7f908-1786807848259.js";import{M as Ki,g as Wi,h as Ui,L as qi,B as _o,a as ma,E as Qi,G as Yi,D as Ji,b as Zi,l as pa,P as Io,c as Eo,d as Xi}from"./yakApi-0d53b9e4-1786807848259.js";import{g as Je}from"./index-db918426-1786807848259.js";import{R as er,r as tr,a as ar,c as or,o as nr,s as ir,p as rr,b as Oo,d as sr,h as lr,g as Ro,e as ur,f as cr,i as dr,j as fr,k as hr,l as mr,m as pr,n as gr,_ as vr}from"./TopicSwitcher-c91bad20-1786807848259.js";import{_ as yr,a as Bo}from"./FeatureInfoPanel-9b5cdecf-1786807848259.js";import{b as br,a as wr,g as xr}from"./resourceDetailRows-4a1c39d1-1786807848259.js";import{g as Sr,a as kr}from"./layers-3f51b190-1786807848259.js";import{w as mt,f as Mr}from"./chartTheme-7114e4ea-1786807848259.js";import{c as Pr,F as Cr}from"./featurePanelLayout-f3191169-1786807848259.js";import"./_plugin-vue_export-helper-c27b6911-1786807848259.js";class Lr extends Ti{constructor(n,i){super(),this.config=Object.assign({color1:16566615,color2:16777215},i),this.assets={instance:null},this.assets.instance=n.assets.instance,this.sceneGroup=n.sceneGroup,this.gsapObjects=[],this.animateElements={},this.init()}init(){let n=this.config.color1,i=new He(1.5,1.5,1),l=new He(1,3,1);l.translate(0,1,0);let s=new le({color:n,transparent:!0,fog:!1,side:Ye,depthWrite:!1}),d=s.clone();d.map=this.assets.instance.getResource("focusArrows");let g=s.clone();g.map=this.assets.instance.getResource("focusBar");let m=s.clone();m.map=this.assets.instance.getResource("focusBg");let h=s.clone();h.color=new me(this.config.color2),h.map=this.assets.instance.getResource("focusMidQuan");let w=s.clone();w.map=this.assets.instance.getResource("focusMoveBg"),w.blending=we;let L=new te(i,d),M=new te(l,g);M.rotation.x=Math.PI/2;let B=M.clone();B.rotation.y=Math.PI/2;let k=new te(i,m),S=new te(i,h),A=new te(i,w),H=[S,k,L,A,M,B];H.map(W=>{W.renderOrder=99}),this.add(...H);let R=0;A.scale.setScalar(R),this.animateElements={focusMidQuan:S,focusArrows:L,focusMoveBg:A},this.startAnimate()}startAnimate(){let n=Je.to(this.animateElements.focusMidQuan.rotation,{z:2*Math.PI,duration:8,repeat:-1,ease:"none"}),i=Je.to(this.animateElements.focusArrows.rotation,{z:2*Math.PI,duration:5,repeat:-1,ease:"none"}),l=Je.to(this.animateElements.focusMoveBg.scale,{x:1.5,y:1.5,z:1.5,duration:2.5,repeat:-1,ease:"none"}),s=Je.to(this.animateElements.focusMoveBg.material,{opacity:0,duration:2.5,repeat:-1,ease:"none"});this.gsapObjects=[n,i,l,s]}pausedAnimate(){this.gsapObjects.map(n=>{n.paused=!0})}destroy(){this.gsapObjects.map(n=>{n.kill()}),Ai(this)}}const Tr=wi.map(y=>$({},y)),Fo=Do.map(y=>$({},y)),Ar=Do.map(y=>{var n,i;return{name:y.name,value:y.value,lng:(n=y.center)==null?void 0:n[0],lat:(i=y.center)==null?void 0:i[1]}}),_r=[{name:"邛溪镇",level:"县城驻地",value:895.94,lng:102.60242339873115,lat:32.83022561372293},{name:"瓦切镇",level:"北部牧区",value:991,lng:102.71535664604494,lat:33.12869670968013},{name:"刷经寺镇",level:"南部通道",value:986.44,lng:102.55651980382184,lat:32.204097908180216},{name:"色地镇",level:"东部片区",value:1199.06,lng:103.12540730227074,lat:33.010462261362875}];function ga(y){return y.sort((n,i)=>i.value-n.value),y}function Ir(y){return y?typeof y=="string"?JSON.parse(y):y:null}function va(y){const n=Ir(y);return n!=null&&n.features&&n.features.forEach(i=>{var l;((l=i.geometry)==null?void 0:l.type)==="Polygon"&&(i.geometry.coordinates=[i.geometry.coordinates])}),n}function Er(y,n){var i;try{return(i=y==null?void 0:y.getResource)==null?void 0:i.call(y,n)}catch(l){return null}}function Or(y,n,i){const l=Number(y);return Number.isFinite(l)?Math.max(n,Math.min(i,l)):n}class Rr extends Ki{constructor(n,i,l={}){var s;super(n,{maxPixelRatio:(s=l.maxPixelRatio)!=null?s:l.showDataOverlays===!1?1.35:void 0,antialias:l.antialias}),this.options=l||{},this.geoProjectionCenter=[102.6305459723107,32.72169252326339],this.geoProjectionScale=650,this.backgroundProjectionCenter=l.backgroundProjectionCenter||this.geoProjectionCenter,this.backgroundProjectionScale=l.backgroundProjectionScale||120,this.geoProjectionFn=Wi().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),this.flyLineCenter=[102.60242339873115,32.83022561372293],this.depth=.5,this.clicked=!1,this.sceneMode=l.sceneMode||"default",this.showDataOverlays=l.showDataOverlays!==!1,this.mapAnimationDone=!1,this.sceneTweens=[],this.sceneTimers=[],this.scene.fog=new _i(1058614,1,50),this.scene.background=new me(1058614),this.camera.instance.position.set(-13.767695123014105,12.990152163077308,39.28228164159694),this.camera.instance.near=1,this.camera.instance.far=1e4,this.camera.instance.updateProjectionMatrix(),this.interactionManager=new Ui(this.renderer.instance,this.camera.instance,this.canvas),this.assets=i,this.staticMapData={china:va(Er(this.assets.instance,"china")),mapJson:va(this.assets.instance.getResource("mapJson")),mapStroke:va(this.assets.instance.getResource("mapStroke"))},this.initEnvironment(),this.init()}addSceneTween(n){var i;return n&&(this.sceneTweens.push(n),this.scenePaused&&((i=n.pause)==null||i.call(n)),n)}addSceneTimer(n){return n&&this.sceneTimers.push(n),n}init(){this.labelGroup=new ye,this.label3d=new qi(this),this.labelGroup.rotation.x=-Math.PI/2,this.scene.add(this.labelGroup),this.flyLineFocusGroup=new ye,this.flyLineFocusGroup.visible=!1,this.flyLineFocusGroup.rotation.x=-Math.PI/2,this.scene.add(this.flyLineFocusGroup),this.eventElement=[],this.defaultMaterial=null,this.defaultLightMaterial=null,this.createBottomBg(),this.createChinaBlurLine(),this.createGrid(),this.createRotateBorder(),this.createLabel(),this.createMap(),this.createEvent(),this.createParticles(),this.showDataOverlays&&(this.createFlyLine(),this.createFocus(),this.createScatter(),this.createInfoPoint()),this.createStorke();let n=Je.timeline({onComplete:()=>{}});n.pause(),this.animateTl=n,n.addLabel("focusMap",1.5),n.addLabel("focusMapOpacity",2),n.addLabel("bar",3),n.to(this.camera.instance.position,{duration:2,x:-.17427287762525134,y:13.678992786206543,z:20.688611202093714,ease:"circ.out",onStart:()=>{this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1)}}),n.to(this.focusMapGroup.position,{duration:1,x:0,y:0,z:0},"focusMap"),n.to(this.focusMapGroup.scale,{duration:1,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{this.showDataOverlays&&(this.flyLineGroup.visible=!0,this.scatterGroup.visible=!0,this.InfoPointGroup.visible=!0),this.applySceneMode()}},"focusMap"),n.to(this.focusMapTopMaterial,{duration:1,opacity:1,ease:"circ.out"},"focusMapOpacity"),n.to(this.focusMapSideMaterial,{duration:1,opacity:1,ease:"circ.out",onComplete:()=>{this.focusMapSideMaterial.transparent=!1}},"focusMapOpacity"),this.otherLabel.map((i,l)=>{let s=i.element.querySelector(".other-label");n.to(s,{duration:1,delay:.1*l,translateY:0,opacity:1,ease:"circ.out"},"focusMapOpacity")}),n.to(this.mapLineMaterial,{duration:.5,delay:.3,opacity:1},"focusMapOpacity"),n.to(this.rotateBorder1.scale,{delay:.3,duration:1,x:1,y:1,z:1,ease:"circ.out"},"focusMapOpacity"),n.to(this.rotateBorder2.scale,{duration:1,delay:.5,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{var i,l;this.showDataOverlays&&this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!0),this.mapAnimationDone=!0,this.applySceneMode(),(l=(i=this.options).onPlayComplete)==null||l.call(i)}},"focusMapOpacity"),(this.allBar||[]).map((i,l)=>{if(i.userData.name==="邛溪镇")return!1;n.to(i.scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar")}),(this.allBarMaterial||[]).map((i,l)=>{n.to(i,{duration:1,delay:.1*l,opacity:1,ease:"circ.out"},"bar")}),(this.allProvinceLabel||[]).map((i,l)=>{let s=i.element.querySelector(".provinces-label-wrap"),d=i.element.querySelector(".number .value"),g=Number(d.innerText),m={score:0};n.to(s,{duration:1,delay:.2*l,translateY:0,opacity:1,ease:"circ.out"},"bar"),n.to(m,{duration:1,delay:.2*l,score:g,onUpdate:h},"bar");function h(){d.innerText=m.score.toFixed(0)}}),(this.allGuangquan||[]).map((i,l)=>{n.to(i.children[0].scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar"),n.to(i.children[1].scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar")})}initEnvironment(){let n=new Ii(16777215,5);this.scene.add(n);let i=new Ei(16777215,5);i.position.set(-30,6,-8),i.castShadow=!0,i.shadow.radius=20,i.shadow.mapSize.width=1024,i.shadow.mapSize.height=1024,this.scene.add(i),this.createPointLight({color:"#1d5e5e",intensity:800,distance:1e4,x:-9,y:3,z:-3}),this.createPointLight({color:"#1d5e5e",intensity:200,distance:1e4,x:0,y:2,z:5})}createPointLight(n){const i=new Oi(1924702,n.intensity,n.distance);i.position.set(n.x,n.y,n.z),this.scene.add(i)}createMap(){let n=new ye,i=new ye;this.focusMapGroup=i;let{china:l,chinaTopLine:s}=this.createChina(),{map:d,mapTop:g,mapLine:m}=this.createProvince();l==null||l.setParent(n),s==null||s.setParent(n),this.createDiffuse(),d.setParent(i),g.setParent(i),m.setParent(i),i.position.set(0,0,-.01),i.scale.set(1,1,0),n.add(i),n.rotation.x=-Math.PI/2,n.position.set(0,.2,0),this.scene.add(n),this.showDataOverlays?(this.createBar(),this.updateTownLabelVisibility()):(this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[])}createChina(){var m;let n={chinaBgMaterialColor:"#152c47",lineColor:"#3f82cd"},i=this.staticMapData.china;if(!((m=i==null?void 0:i.features)!=null&&m.length))return{china:null,chinaTopLine:null};let l=new Mo({color:new me(n.chinaBgMaterialColor),transparent:!0,opacity:this.showDataOverlays?1:.54}),s=new _o(this,{data:i,geoProjectionCenter:this.backgroundProjectionCenter,geoProjectionScale:this.backgroundProjectionScale,merge:!0,material:l,renderOrder:2}),d=new Po({color:n.lineColor}),g=new ma(this,{data:i,geoProjectionCenter:this.backgroundProjectionCenter,geoProjectionScale:this.backgroundProjectionScale,material:d,renderOrder:3});return g.lineGroup.position.z+=.01,{china:s,chinaTopLine:g}}createProvince(){let n=this.staticMapData.mapJson,[i,l]=this.createProvinceMaterial();this.focusMapTopMaterial=i,this.focusMapSideMaterial=l;let s=new Qi(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new ee(0,0,.11),data:n,depth:this.depth,topFaceMaterial:i,sideMaterial:l,renderOrder:9}),d=new Co({color:16777215,transparent:!0,opacity:.5});this.createTerrainSurfaceShader(d),this.defaultMaterial=d,this.defaultLightMaterial=this.defaultMaterial.clone(),this.defaultLightMaterial.color=new me("rgba(115,208,255,1)"),this.defaultLightMaterial.opacity=.8;let g=new _o(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new ee(0,0,this.depth+.22),data:n,material:d,renderOrder:2});g.mapGroup.children.map(h=>{h.children.map(w=>{w.type==="Mesh"&&this.eventElement.push(w)})}),this.mapLineMaterial=new Po({color:16777215,opacity:0,transparent:!0,fog:!1});let m=new ma(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:n,material:this.mapLineMaterial,renderOrder:3});return m.lineGroup.position.z+=this.depth+.23,{map:s,mapTop:g,mapLine:m}}createProvinceMaterial(){let n=new Mo({color:16777215,transparent:!0,opacity:0,fog:!1,side:Ye});n.onBeforeCompile=s=>{s.uniforms=j($({},s.uniforms),{uColor1:{value:new me(2780818)},uColor2:{value:new me(1058614)}}),s.vertexShader=s.vertexShader.replace("void main() {",` + attribute float alpha; + varying vec3 vPosition; + varying float vAlpha; + void main() { + vAlpha = alpha; + vPosition = position; + `),s.fragmentShader=s.fragmentShader.replace("void main() {",` + varying vec3 vPosition; + varying float vAlpha; + uniform vec3 uColor1; + uniform vec3 uColor2; + void main() { + `),s.fragmentShader=s.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + vec3 gradient = mix(uColor1, uColor2, vPosition.x/15.78); + outgoingLight = outgoingLight*gradient; + float topAlpha = 0.5; + if(vPosition.z>0.3){ + diffuseColor.a *= topAlpha; + } + gl_FragColor = vec4( outgoingLight, diffuseColor.a ); + `)};let i=this.assets.instance.getResource("side");i.wrapS=be,i.wrapT=be,i.repeat.set(1,1.5),i.offset.y+=.065;let l=new Co({color:16777215,map:i,fog:!1,opacity:0,side:Ye});return this.time.on("tick",()=>{i.offset.y+=.005}),l.onBeforeCompile=s=>{s.uniforms=j($({},s.uniforms),{uColor1:{value:new me(2780818)},uColor2:{value:new me(2780818)}}),s.vertexShader=s.vertexShader.replace("void main() {",` + attribute float alpha; + varying vec3 vPosition; + varying float vAlpha; + void main() { + vAlpha = alpha; + vPosition = position; + `),s.fragmentShader=s.fragmentShader.replace("void main() {",` + varying vec3 vPosition; + varying float vAlpha; + uniform vec3 uColor1; + uniform vec3 uColor2; + void main() { + `),s.fragmentShader=s.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + vec3 gradient = mix(uColor1, uColor2, vPosition.z/1.2); + outgoingLight = outgoingLight*gradient; + gl_FragColor = vec4( outgoingLight, diffuseColor.a ); + `)},[n,l]}createTerrainSurfaceShader(n){n.onBeforeCompile=i=>{i.uniforms=j($({},i.uniforms),{uTerrainColor1:{value:new me(807272)},uTerrainColor2:{value:new me(1619414)},uTerrainColor3:{value:new me(7074015)}}),i.vertexShader=i.vertexShader.replace("void main() {",` + varying vec3 vTerrainPosition; + void main() { + vTerrainPosition = position; + `),i.fragmentShader=i.fragmentShader.replace("void main() {",` + varying vec3 vTerrainPosition; + uniform vec3 uTerrainColor1; + uniform vec3 uTerrainColor2; + uniform vec3 uTerrainColor3; + float terrainHash(vec2 p) { + return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453123); + } + float terrainNoise(vec2 p) { + vec2 i = floor(p); + vec2 f = fract(p); + vec2 u = f * f * (3.0 - 2.0 * f); + return mix( + mix(terrainHash(i + vec2(0.0, 0.0)), terrainHash(i + vec2(1.0, 0.0)), u.x), + mix(terrainHash(i + vec2(0.0, 1.0)), terrainHash(i + vec2(1.0, 1.0)), u.x), + u.y + ); + } + void main() { + `),i.fragmentShader=i.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + vec2 terrainUv = vTerrainPosition.xz; + float broad = terrainNoise(terrainUv * 0.32); + float detail = terrainNoise(terrainUv * 1.6); + float bands = sin(terrainUv.x * 0.75 + terrainUv.y * 0.46) * 0.5 + 0.5; + float ridges = smoothstep(0.48, 0.86, bands) * 0.16; + float mixValue = clamp((vTerrainPosition.x + 9.0) / 18.0 + (broad - 0.5) * 0.28, 0.0, 1.0); + vec3 terrainColor = mix(uTerrainColor1, uTerrainColor2, mixValue); + terrainColor = mix(terrainColor, uTerrainColor3, clamp(detail * 0.18 + ridges, 0.0, 0.28)); + float shade = 0.8 + broad * 0.24 + detail * 0.1; + outgoingLight *= terrainColor * shade; + diffuseColor.a *= 0.68; + gl_FragColor = vec4(outgoingLight, diffuseColor.a); + `)}}createBar(){let n=this,i=ga(Fo).filter((h,w)=>w<7);const l=new ye;this.barGroup=l;const s=.7,d=4*s,g=i[0].value;this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[],i.map((h,w)=>{let L=d*(h.value/g),M=new le({color:16777215,transparent:!0,opacity:0,depthTest:!1,fog:!1});new Yi(M,{uColor1:w>3?16506760:5291006,uColor2:w>3?16776948:7863285,size:L,dir:"y"});const B=new Ri(.1*s,.1*s,L);B.translate(0,0,L/2);const k=new te(B,M);k.renderOrder=5;let S=k,[A,H]=this.geoProjection(h.centroid);S.position.set(A,-H,this.depth+.45),S.scale.set(1,1,0),S.userData=$({},h);let R=this.createQuan(new ee(A,this.depth+.44,H),w),W=this.createHUIGUANG(L,w>3?16776948:7863285);S.add(...W),l.add(S),l.rotation.x=-Math.PI/2;let F=m(h,w,new ee(A,-H,this.depth+1.1+L));this.allBar.push(S),this.allBarMaterial.push(M),this.allGuangquan.push(R),this.allProvinceLabel.push(F)}),this.scene.add(l);function m(h,w,L){let M=n.label3d.create("","provinces-label",!1);return M.init(`
    +
    +
    +
    ${h.name}
    +
    ${h.value}km²
    +
    +
    ${w+1}
    +
    +
    `,L),n.label3d.setLabelStyle(M,.01,"x"),M.setParent(n.labelGroup),M.userData=j($({},h),{labelType:"ranking-label"}),M}}createEvent(){let n=[];this.selectedRegion=null;const i=(s,d=!1)=>{var g,m,h;!d&&((m=(g=this.selectedRegion)==null?void 0:g.userData)==null?void 0:m.name)===((h=s==null?void 0:s.userData)==null?void 0:h.name)||s.traverse(w=>{w.isMesh&&(w.material=this.defaultMaterial)})},l=s=>{s.traverse(d=>{d.isMesh&&(d.material=this.defaultLightMaterial)})};this.eventElement.map(s=>{this.interactionManager.add(s),s.addEventListener("mousedown",d=>{var m;const g=((m=d.target)==null?void 0:m.parent)||d.target;this.selectedRegion&&this.selectedRegion!==g&&i(this.selectedRegion,!0),this.selectedRegion=g,l(g),this.emitTownClick((g==null?void 0:g.userData)||{})}),s.addEventListener("mouseover",d=>{n.includes(d.target.parent)||n.push(d.target.parent),document.body.style.cursor="pointer",l(d.target.parent)}),s.addEventListener("mouseout",d=>{n=n.filter(g=>g.userData.name!==d.target.parent.userData.name),n.length>0&&n[n.length-1],i(d.target.parent),document.body.style.cursor="default"})})}createHUIGUANG(n,i){let l=new He(.35,n);l.translate(0,n/2,0);const s=this.assets.instance.getResource("huiguang");s.colorSpace=ha,s.wrapS=be,s.wrapT=be;let d=new le({color:i,map:s,transparent:!0,opacity:.4,depthWrite:!1,side:Ye,blending:we}),g=new te(l,d);g.renderOrder=10,g.rotateX(Math.PI/2);let m=g.clone(),h=g.clone();return m.rotateY(Math.PI/180*60),h.rotateY(Math.PI/180*120),[g,m,h]}createQuan(n,i){const l=this.assets.instance.getResource("guangquan1"),s=this.assets.instance.getResource("guangquan2");let d=new He(.5,.5),g=new le({color:16777215,map:l,alphaMap:l,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:we}),m=new le({color:16777215,map:s,alphaMap:s,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:we}),h=new te(d,g),w=new te(d,m);return h.renderOrder=6,w.renderOrder=6,h.rotateX(-Math.PI/2),w.rotateX(-Math.PI/2),h.position.copy(n),w.position.copy(n),w.position.y-=.001,h.scale.set(0,0,0),w.scale.set(0,0,0),this.quanGroup=new ye,this.quanGroup.add(h,w),this.scene.add(this.quanGroup),this.time.on("tick",()=>{h.rotation.z+=.05}),this.quanGroup}createDiffuse(){let n=new He(200,200),i=new le({color:0,depthWrite:!1,transparent:!0,blending:Bi});i.blendEquation=Fi,i.blendSrc=Ni,i.blendDst=Hi,new Ji({material:i,time:this.time,size:60,diffuseSpeed:8,diffuseColor:7442830,diffuseWidth:2,callback:s=>{const d=setTimeout(()=>{this.addSceneTween(Je.to(s.uniforms.uTime,{value:4,repeat:-1,duration:6,ease:"power1.easeIn"}))},3);this.addSceneTimer(d)}});let l=new te(n,i);l.renderOrder=3,l.rotation.x=-Math.PI/2,l.position.set(0,.21,0),this.scene.add(l)}createGrid(){new Zi(this,{gridSize:68,gridDivision:28,gridColor:2123149,shapeSize:.58,shapeColor:4035005,pointSize:.12,pointColor:1805508,pointLayout:{row:170,col:170},pointBlending:we})}createBottomBg(){let n=new He(42,42);const i=this.assets.instance.getResource("ocean");i.colorSpace=ha,i.wrapS=be,i.wrapT=be,i.repeat.set(1,1);let l=new le({map:i,opacity:1,fog:!1}),s=new te(n,l);s.rotation.x=-Math.PI/2,s.position.set(0,-.7,0),this.scene.add(s)}createChinaBlurLine(){let n=new He(147,147);const i=this.assets.instance.getResource("chinaBlurLine");i.colorSpace=ha,i.wrapS=be,i.wrapT=be,i.generateMipmaps=!1,i.minFilter=Gi,i.repeat.set(1,1);let l=new le({color:4162253,alphaMap:i,transparent:!0,opacity:.5}),s=new te(n,l);s.rotateX(-Math.PI/2),s.position.set(-19.3,-.5,-19.7),this.scene.add(s)}createLabel(){let n=this,i=this.labelGroup,l=this.label3d,s=[];if(Tr.map(m=>{if(m.hide==!0)return!1;let h=d(m,l,i);s.push(h)}),this.showDataOverlays){let m=g({icon:pa,center:[103.13,33.01],width:"40px",height:"40px",reflect:!0},l,i),h=g({icon:pa,center:[102.03,32.44],width:"20px",height:"20px",reflect:!1},l,i);s.push(m),s.push(h)}this.otherLabel=s;function d(m,h,w){let L=h.create("",`china-label ${m.blur?" blur":""}`,!1);const[M,B]=n.geoProjection(m.center),k=n.showDataOverlays?``:"";return L.init(`
    ${k}${m.name}
    `,new ee(M,-B,n.depth+.85)),h.setLabelStyle(L,.018,"x"),L.setParent(w),L.userData=j($({},m),{labelType:"town-label",baseScale:.018}),L}function g(m,h,w){let L=h.create("",`decoration-label ${m.reflect?" reflect":""}`,!1);const[M,B]=n.geoProjection(m.center);return L.init(`
    `,new ee(M,-B,.4)),h.setLabelStyle(L,.02,"x"),L.setParent(w),L}}createRotateBorder(){let n=12,i=this.assets.instance.getResource("rotationBorder1"),l=this.assets.instance.getResource("rotationBorder2"),s=new Io(this,{width:n*1.178,needRotate:!0,rotateSpeed:.001,material:new le({map:i,color:4763647,transparent:!0,opacity:.2,side:Ye,depthWrite:!1,blending:we}),position:new ee(0,.28,0)});s.instance.rotation.x=-Math.PI/2,s.instance.renderOrder=6,s.instance.scale.set(0,0,0),s.setParent(this.scene);let d=new Io(this,{width:n*1.116,needRotate:!0,rotateSpeed:-.004,material:new le({map:l,color:4763647,transparent:!0,opacity:.4,side:Ye,depthWrite:!1,blending:we}),position:new ee(0,.3,0)});d.instance.rotation.x=-Math.PI/2,d.instance.renderOrder=6,d.instance.scale.set(0,0,0),d.setParent(this.scene),this.rotateBorder1=s.instance,this.rotateBorder2=d.instance}createFlyLine(){this.flyLineGroup=new ye,this.flyLineGroup.visible=!1,this.scene.add(this.flyLineGroup);const n=this.assets.instance.getResource("mapFlyline");n.wrapS=n.wrapT=be,n.repeat.set(.5,2);const i=.1,l=32,s=2,d=!1;let[g,m]=this.geoProjection(this.flyLineCenter),h=new ee(g,-m,0);const w=new le({map:n,color:2781042,transparent:!0,fog:!1,opacity:1,depthTest:!1,blending:we});this.flyLineMaterial=w,this.flyLineTexture=n,this.time.on("tick",()=>{n.offset.x-=this.sceneMode==="trade"?.014:.006}),Fo.filter((L,M)=>M<7).map(L=>{let[M,B]=this.geoProjection(L.centroid),k=new ee(M,-B,0);const S=new ee;S.addVectors(h,k).multiplyScalar(.5),S.setZ(3);const A=new $i(h,S,k),H=new Di(A,l,i,s,d),R=new te(H,w);R.rotation.x=-Math.PI/2,R.position.set(0,this.depth+.44,0),R.renderOrder=21,this.flyLineGroup.add(R)})}createFocus(){let n=new Lr(this,{color1:12451325,color2:12451325}),[i,l]=this.geoProjection(this.flyLineCenter);n.position.set(i,-l,this.depth+.44),n.scale.set(1,1,1),this.flyLineFocusGroup.add(n)}createParticles(){this.particles=new Eo(this,{num:10,range:30,dir:"up",speed:.05,material:new Vi({map:Eo.createTexture(),size:1,color:61166,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,vertexColors:!0,blending:we,sizeAttenuation:!0})}),this.particleGroup=new ye,this.scene.add(this.particleGroup),this.particleGroup.rotation.x=-Math.PI/2,this.particles.setParent(this.particleGroup),this.particles.enable=!0,this.particleGroup.visible=!0}createScatter(){this.scatterGroup=new ye,this.scatterGroup.visible=!1,this.scatterGroup.rotation.x=-Math.PI/2,this.scene.add(this.scatterGroup);const n=this.assets.instance.getResource("arrow"),i=new Lo({map:n,color:16776948,fog:!1,transparent:!0,depthTest:!1});let l=ga(Ar),s=l[0].value;l.map(d=>{const g=new To(i);g.renderOrder=23;let m=.1+d.value/s*.2;g.scale.set(m,m,m);let[h,w]=this.geoProjection([d.lng,d.lat]);g.position.set(h,-w,this.depth+.45),g.userData.position=[h,-w,this.depth+.45],this.scatterGroup.add(g)})}createInfoPoint(){let n=this;this.InfoPointGroup=new ye,this.scene.add(this.InfoPointGroup),this.InfoPointGroup.visible=!1,this.InfoPointGroup.rotation.x=-Math.PI/2,this.infoPointIndex=0,this.infoPointLabelTime=null,this.infoLabelElement=[];let i=this.label3d;const l=this.assets.instance.getResource("point");let s=[16776948,7863285],d=ga(_r),g=d[0].value;d.map((h,w)=>{const L=new Lo({map:l,color:s[w%s.length],fog:!1,transparent:!0,depthTest:!1}),M=new To(L);M.renderOrder=23;let B=.7+h.value/g*.4;M.scale.set(B,B,B);let[k,S]=this.geoProjection([h.lng,h.lat]),A=[k,-S,this.depth+.7];M.position.set(...A),M.userData.position=[...A],M.userData={position:[k,-S,this.depth+.7],name:h.name,value:h.value,level:h.level,index:w},this.InfoPointGroup.add(M);let H=m(h,i,this.InfoPointGroup);this.infoLabelElement.push(H),this.interactionManager.add(M),M.addEventListener("mousedown",R=>{if(this.clicked||!this.InfoPointGroup.visible)return!1;this.clicked=!0,this.emitTownClick(R.target.userData,"info-point"),this.infoPointIndex=R.target.userData.index,this.infoLabelElement.map(W=>{W.visible=!1}),H.visible=!0,this.createInfoPointLabelLoop()}),M.addEventListener("mouseup",R=>{this.clicked=!1}),M.addEventListener("mouseover",R=>{document.body.style.cursor="pointer"}),M.addEventListener("mouseout",R=>{document.body.style.cursor="default"})});function m(h,w,L){let M=w.create("","info-point",!0);const[B,k]=n.geoProjection([h.lng,h.lat]);return M.init(`
    +
    +
    +
    +
    +
    +
    +
    +
    名称${h.name}
    +
    面积${h.value}km²
    +
    类型${h.level}
    +
    +
    +
    + `,new ee(B,-k,n.depth+1.9)),w.setLabelStyle(M,.015,"x"),M.setParent(L),M.visible=!1,M}}emitTownClick(n={},i="region"){var s,d;const l=n.name||n.fullName;l&&((d=(s=this.options)==null?void 0:s.onTownClick)==null||d.call(s,j($({},n),{name:l,source:i})))}setSceneMode(n="default"){this.sceneMode=n,this.applySceneMode()}setDataOverlaysVisible(n=!0){this.showDataOverlays=!!n,this.applySceneMode()}updateTownLabelVisibility(){const n=new Set((this.allProvinceLabel||[]).map(l=>{var s;return(s=l==null?void 0:l.userData)==null?void 0:s.name}).filter(Boolean)),i=this.showDataOverlays&&this.sceneMode!=="trade";(this.otherLabel||[]).forEach(l=>{var s;((s=l==null?void 0:l.userData)==null?void 0:s.labelType)==="town-label"&&(l.visible=!(i&&n.has(l.userData.name)))})}applySceneMode(){var i,l,s,d;if(!this.showDataOverlays){this.flyLineGroup&&(this.flyLineGroup.visible=!1),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1),this.scatterGroup&&(this.scatterGroup.visible=!1),this.InfoPointGroup&&(this.InfoPointGroup.visible=!1),this.barGroup&&(this.barGroup.visible=!1),(i=this.allProvinceLabel)==null||i.forEach(g=>{g.visible=!1}),(l=this.allGuangquan)==null||l.forEach(g=>{g.visible=!1}),this.updateTownLabelVisibility();return}const n=this.sceneMode==="trade";this.flyLineGroup&&(this.flyLineGroup.visible=n||this.mapAnimationDone),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=n||this.mapAnimationDone),this.flyLineMaterial&&(this.flyLineMaterial.color.set(n?7534280:2781042),this.flyLineMaterial.opacity=n?1:.82),this.flyLineTexture&&this.flyLineTexture.repeat.set(n?.32:.5,n?3:2),this.scatterGroup&&(this.scatterGroup.visible=!n&&this.mapAnimationDone),this.InfoPointGroup&&(this.InfoPointGroup.visible=!n&&this.mapAnimationDone),this.barGroup&&(this.barGroup.visible=!n),(s=this.allProvinceLabel)==null||s.forEach(g=>{g.visible=!n}),(d=this.allGuangquan)==null||d.forEach(g=>{g.visible=!n}),this.updateTownLabelVisibility()}createInfoPointLabelLoop(){var n;this.scenePaused||!((n=this.infoLabelElement)!=null&&n.length)||(clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=setInterval(()=>{this.infoPointIndex++,this.infoPointIndex>=this.infoLabelElement.length&&(this.infoPointIndex=0),this.infoLabelElement.map((i,l)=>{this.infoPointIndex===l?i.visible=!0:i.visible=!1})},3e3))}createStorke(){const n=this.staticMapData.mapStroke,i=this.assets.instance.getResource("pathLine3");i.wrapS=i.wrapT=be,i.repeat.set(2,1);let l=new ma(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new ee(0,0,this.depth+.24),data:n,material:new le({color:2868444,map:i,alphaMap:i,fog:!1,transparent:!0,opacity:1,blending:we}),type:"Line3",renderOrder:22,tubeRadius:.03});this.focusMapGroup.add(l.lineGroup),this.time.on("tick",()=>{i.offset.x+=.005})}geoProjection(n){return this.geoProjectionFn(n)}updateTownLabelScale(){var m,h,w;const n=this.otherLabel||[],i=(m=this.camera)==null?void 0:m.instance,l=(w=(h=this.camera)==null?void 0:h.controls)==null?void 0:w.target;if(!n.length||!i||!l)return;const s=i.position.distanceTo(l),d=Or(s*72e-5,.011,.026),g=s>45?"0.76":s<22?"0.94":"1";n.forEach(L=>{var B,k,S;if(((B=L==null?void 0:L.userData)==null?void 0:B.labelType)!=="town-label")return;L.scale.set(d,d,d);const M=(S=(k=L.element)==null?void 0:k.querySelector)==null?void 0:S.call(k,".other-label");M&&(M.style.opacity=g)})}update(){super.update(),this.updateTownLabelScale(),this.interactionManager&&this.interactionManager.update()}pauseScene(){var n,i;this.scenePaused=!0,(i=(n=this.time)==null?void 0:n.pause)==null||i.call(n),this.sceneTweens.forEach(l=>{var s;return(s=l==null?void 0:l.pause)==null?void 0:s.call(l)}),clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null}resumeScene(){var n,i,l;this.scenePaused=!1,(i=(n=this.time)==null?void 0:n.resume)==null||i.call(n),this.sceneTweens.forEach(s=>{var d;return(d=s==null?void 0:s.resume)==null?void 0:d.call(s)}),(l=this.InfoPointGroup)!=null&&l.visible&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}destroy(){this.pauseScene(),this.sceneTimers.forEach(n=>clearTimeout(n)),this.sceneTimers=[],this.sceneTweens.forEach(n=>{var i;return(i=n==null?void 0:n.kill)==null?void 0:i.call(n)}),this.sceneTweens=[],super.destroy(),this.label3d&&this.label3d.destroy()}}const Br={class:"map"},Fr={__name:"map",props:{sceneMode:{type:String,default:"default"},showDataOverlays:{type:Boolean,default:!0},maxPixelRatio:{type:Number,default:0}},emits:["town-click","play-complete"],setup(y,{expose:n,emit:i}){const l=O(null),s=fi(null),d=y,g=i;let m=!1;$o(()=>{B()});function h(k){var S,A,H,R;s.value||!l.value||(s.value=new Rr(l.value,k,{showDataOverlays:d.showDataOverlays,maxPixelRatio:d.maxPixelRatio||void 0,onTownClick:W=>g("town-click",W),onPlayComplete:()=>g("play-complete")}),(A=(S=s.value).setSceneMode)==null||A.call(S,d.sceneMode),(R=(H=s.value).setDataOverlaysVisible)==null||R.call(H,d.showDataOverlays),s.value.time.pause())}function w(){return se(this,null,function*(){var k,S,A,H;s.value&&(L(),!(m||s.value.mapAnimationDone)&&(m=!0,(S=(k=s.value.animateTl)==null?void 0:k.timeScale)==null||S.call(k,1),(H=(A=s.value.animateTl)==null?void 0:A.play)==null||H.call(A)))})}function L(){var k,S;s.value&&((S=(k=s.value).resumeScene)==null||S.call(k),s.value.resumeScene||s.value.time.resume())}function M(){var k,S,A,H,R,W;s.value&&((S=(k=s.value.animateTl)==null?void 0:k.pause)==null||S.call(k),(H=(A=s.value).pauseScene)==null||H.call(A),s.value.pauseScene||(W=(R=s.value.time)==null?void 0:R.pause)==null||W.call(R))}function B(){var k,S;(S=(k=s.value)==null?void 0:k.destroy)==null||S.call(k),s.value=null}return n({loadMap:h,play:w,resume:L,pause:M,destroyMap:B,canvasMap:s}),pt(()=>d.sceneMode,k=>{var S,A;(A=(S=s.value)==null?void 0:S.setSceneMode)==null||A.call(S,k)},{immediate:!0}),pt(()=>d.showDataOverlays,k=>{var S,A;(A=(S=s.value)==null?void 0:S.setDataOverlaysVisible)==null||A.call(S,k)}),(k,S)=>(T(),I("div",Br,[b("canvas",{ref_key:"canvasRef",ref:l},null,512)]))}},Nr=""+new URL("flyline6-525edf67-balabala-1786807848259.png",import.meta.url).href;class Hr{constructor(n={}){this.options=n||{},this.init()}init(){this.instance=new er,this.instance.addLoader(zi,"FileLoader");const n={type:"File",name:"china",path:fa(xi)},i=[{type:"File",name:"mapJson",path:fa(Si)},{type:"File",name:"mapStroke",path:fa(ki)},{type:"Texture",name:"rotationBorder1",path:tr},{type:"Texture",name:"rotationBorder2",path:ar},{type:"Texture",name:"chinaBlurLine",path:or},{type:"Texture",name:"ocean",path:nr},{type:"Texture",name:"side",path:ir},{type:"Texture",name:"pathLine3",path:rr}],l=[{type:"Texture",name:"flyline",path:Oo},{type:"Texture",name:"pathLine",path:Oo},{type:"Texture",name:"pathLine2",path:sr},{type:"Texture",name:"huiguang",path:lr},{type:"Texture",name:"guangquan1",path:Ro},{type:"Texture",name:"guangquan2",path:ur},{type:"Texture",name:"flyLineFocus",path:Ro},{type:"Texture",name:"mapFlyline",path:Nr},{type:"Texture",name:"arrow",path:cr},{type:"Texture",name:"point",path:dr},{type:"Texture",name:"focusArrows",path:fr},{type:"Texture",name:"focusBar",path:hr},{type:"Texture",name:"focusBg",path:mr},{type:"Texture",name:"focusMidQuan",path:pr},{type:"Texture",name:"focusMoveBg",path:gr}],s=this.options.showDataOverlays===!1?i:[n,...i,...l];this.instance.loadAll(s)}}const Gr="/openApi/screen2/home";function $r(){return se(this,null,function*(){const y=yield hi(`${Gr}/dashboard`,{timeout:2e4});if((y==null?void 0:y.success)===!1||(y==null?void 0:y.code)!==void 0&&![0,200,"0","200"].includes(y.code)){const l=new Error((y==null?void 0:y.message)||(y==null?void 0:y.msg)||"首页业务数据加载失败");throw l.code=y==null?void 0:y.code,l}const i=mi(y);if(!(i!=null&&i.hasData))throw new Error("首页业务数据缺失");return i})}const Dr={class:"home-dashboard"},Vr={key:0,class:"home-business-error",role:"alert"},zr={key:2,class:"home-slaughter-ticker","aria-label":"最新牦牛出栏动态"},jr={class:"home-slaughter-ticker-viewport"},Kr={class:"home-bottom-switcher"},Wr={class:"home-left"},Ur={class:"home-side-stack is-left"},qr={class:"home-right"},Qr={class:"home-side-stack is-right"},Yr=["aria-label","onClick"],Jr={key:0,class:"home-video-monitor"},Zr=["disabled"],Xr=["data-video-index","onClick","onKeydown"],es={key:0,class:"home-video-loading"},ts={key:1,class:"home-video-error"},as=["onClick"],os={class:"home-video-point-name"},ns=["disabled"],is={key:2,class:"home-balance-gauge-grid"},rs={key:0,class:"home-balance-empty","aria-live":"polite"},ss={class:"home-balance-gauge-head"},ls={class:"home-balance-gauge-ring"},us={class:"home-balance-gauge-value"},cs={class:"home-balance-gauge-name"},ds={class:"home-balance-gauge-extra"},fs=["data-monitoring-updated-at"],hs={class:"home-more-dialog-head"},ms={key:0,class:"home-video-modal-grid"},ps=["data-video-index","onClick","onKeydown"],gs={key:0,class:"home-video-loading"},vs={key:1,class:"home-video-error"},ys=["onClick"],bs={class:"home-video-point-name"},ws={key:1,class:"home-more-empty"},xs={key:2,class:"home-more-pager"},Ss=["disabled"],ks=["disabled"],Ms={key:0,class:"home-video-web-overlay",role:"dialog","aria-modal":"true","aria-label":"基地监控网页全屏"},Ps={class:"home-more-dialog home-balance-dialog"},Cs={class:"home-balance-modal-grid"},Ls={class:"home-balance-modal-title"},Ts={class:"home-balance-modal-value"},As="image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAQ5JREFUOE+1la1OQ0EQRs8kCFIQdVCCxIBpCK1AInkDHC+B4QkwvASub4GsaE0NGCRpKhGFVDQZ+Mjem9vNbkphmWTMfjNnd3b2x0iYuxuwH7wNbIewBfAGzORm5nG6ElfM3QU6AXZSkzXG3oEnMxO8thWgux8DR2tAsfxiZs/VYA38Jazi1NBvYCizv+HK4vCRyrfQgIsf7Nm6+bSnjwIeAGeZaGnXQDfoE+ABmGbixwKeAoeJAMHuv3w30ubATQb6KqDKjZPEuAXOMysZAncJbS7gJbCVEAdAKwP8AK4S2vJfgMVLLt6UDtAreWx0W8od7OJXryq16OPwR2j6+WpAyz2wDagape7vARt9AZ+G3HmhiKS3xwAAAABJRU5ErkJggg==",_s=4,No=6e4,Is=15e3,Ho=1e4,Es=6e4,ya="#ffffff",qe="#ffffff",Fe="rgba(246, 253, 255, 0.92)",Go="rgba(242, 253, 255, 0.9)",ba="rgba(218, 250, 255, 0.28)",Os=12e3,Rs=9,Ne="home-3d",Qe=9,Js={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(y,{expose:n,emit:i}){const l={图斑编号:"patch_no",图斑号:"patch_no",湿地编号:"land_number",草地编号:"land_number",林地类型:"dlmc",地类:"landUseName",地类名称:"landUseName",所在乡镇:"townName",所在区域:"full_name",面积:"acreage",图斑面积:"acreage",湿地面积:"acreage",草场面积:"acreage",草原类:"grassTypeName",草原型:"grassMinType",草原等级:"grasslandLevel",草原类型:"basic_type_name",小斑干草产量:"xbGcYield",小斑鲜草产量:"xbXcYield",鲜草产量:"xcYield",干草产量:"gcYield",海拔:"elevation",地貌:"landformName",权属单位:"qsdwmc",坐落单位:"zldwmc",林班:"lin_ban",小班:"xiao_ban",森林类别:"sen_lin_lb",林种:"lin_zhong",公益林等级:"gjgyl_bhdj",保护等级:"bh_dj",质量等级:"zl_dj",优势树种:"you_shi_sz",起源:"qi_yuan",龄组:"ling_zu",郁闭度:"yu_bi_du",林地权属:"ld_qs",土地使用权属:"tdsyqs",林木权属:"lmqs",生态区位:"stqwmc",坡度等级:"slope"},s=new Set(["code","msg","message","success","data","result","grassland","wetland","woodland","basicGrassland","dyColumn","geom","wkt","geometry","the_geom","theGeom","shape","shape_leng","shape_length","length","perimeter","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"].map(e=>e.toLowerCase())),d=y,g=i,m=O(null),h=O(null),w=O(null),L=O(null),M=new Map,B=O({}),k=Ft([]),S=Ft([]),A=Ft([]),H=O([]),R=O(""),W=new Map;let F=!1,gt=!1,vt=null,Ze=null;const Q=new Map,xe=new Map,Nt=new Set,Ht=new Map;let Ae=null,Xe="",wa=!1,et=null,yt=!1,bt=null,Gt=!1,tt=0,Ge=0,at=null,ue=null,ot=!1,$t=!1,nt=0;const _e=new Map,ce=O(0),ae=O([]),xa=O(""),de=O(0),Y=O(!1),oe=O(1),it=O(!1),fe=O(null),Dt=O(!1),Vt=O([]),zt=O(!1),jt=O(""),Kt=O(!1),Sa=O(!1),U=O(""),Vo=`home-video-player-${Math.random().toString(36).slice(2)}`,pe=Ft({}),zo=["#30dcff","#27f0c0","#8bf7ff","#48cfff","#48cfff","#24f6c4"],ka=Ao.sideCardWidth,Ma=O(typeof window=="undefined"?1080:window.innerHeight);Ao.sideCardGap;const $e=E(()=>ji(Ma.value)),wt=E(()=>$e.value),jo=wt,xt=[{key:"grassland",name:"草地",color:"#A7FF4F",width:92},{key:"wetland",name:"湿地",color:"#36C8FF",width:92},{key:"woodland",name:"林地",color:"#31F084",width:92},{key:"yak",name:"牦牛",color:"#30DCFF",width:92},{key:"pasture",name:"家庭牧场",color:"#30DCFF",width:112}],Ko={grassland:{fill:"#A7FF4F",fillOpacity:.98,opacity:1,maxOpacity:1,stroke:"#F4FFCF",strokeOpacity:.95,strokeWidth:1.35,glowColor:"#DFFF86",glowBlur:18,glowOpacity:.44},wetland:{fill:"#36C8FF",fillOpacity:.97,opacity:1,maxOpacity:1,stroke:"#EBFCFF",strokeOpacity:.95,strokeWidth:1.35,glowColor:"#9AF2FF",glowBlur:18,glowOpacity:.48},woodland:{fill:"#31F084",fillOpacity:.97,opacity:1,maxOpacity:1,stroke:"#D9FFF0",strokeOpacity:.94,strokeWidth:1.3,glowColor:"#7CFFBF",glowBlur:18,glowOpacity:.44}},Pa={grassland:{topicKey:"grassland",layerKey:"grassland-distribution",type:"raster"},wetland:{topicKey:"wetland",layerKey:"wetland-distribution",type:"raster"},woodland:{topicKey:"woodland",layerKey:"woodland-distribution",type:"raster"},yak:{topicKey:"yak-industry-chain",layerKey:"yak-recognition-layer",type:"vector",opacity:.94},pasture:{topicKey:"yak-industry-chain",layerKey:"yak-industry-points",legendKey:"yak-industry-family-pasture",type:"vector",opacity:.96},base:{topicKey:"yak-industry-chain",layerKey:"yak-industry-points",legendKeys:["yak-industry-artificial-grassland","yak-industry-scale-breeding","yak-industry-breeding-selection"],type:"vector",opacity:.96}},z=O(Ne),J=O(null),Ie=O(!1),Me=O(!1),ne=O(null),ie=E(()=>z.value!==Ne),Wo=E(()=>d.active&&!ie.value),Ca=E(()=>{var f,p,C;const e=z.value,t=Pa[e];if(!t)return null;const a=Mi.find(x=>x.key===t.topicKey),o=Vn(t);if(!o||t.type!=="vector"&&!o.layerName&&!o.dataPath)return null;const r=Ko[e],u=t.legendKey?(o.legends||[]).find(x=>x.key===t.legendKey):null,c=Array.isArray(t.legendKeys)?t.legendKeys.map(x=>(o.legends||[]).find(P=>P.key===x)).filter(Boolean):[];if(t.type==="vector"){const x=e==="pasture"?{sourceType:"wkt-api",layerName:"",dataPath:"",fallbackPath:"",apiUrl:"/openApi/screen2/yak-industry-chain/points?stage=family-pasture&page=1&pageSize=300"}:{},P=u&&e==="pasture"?j($({},u),{match:{field:"stageKey",value:"family-pasture"}}):u;return j($($({},o),x),{activeLegend:P||o.activeLegend,activeLegends:c.length?c:o.activeLegends,cqlFilter:(u==null?void 0:u.cqlFilter)||Jo(c)||o.cqlFilter,name:`${((f=xt.find(v=>v.key===e))==null?void 0:f.name)||o.name}图层`,opacity:(p=t.opacity)!=null?p:o.opacity,homePresentationMaxOpacity:(C=t.opacity)!=null?C:.96,showPointLabels:!1,hidePointFeatures:!1})}return r?j($({},o),{name:`${(a==null?void 0:a.name)||o.name}分布`,styles:"",opacity:r.opacity,homePresentationMaxOpacity:r.maxOpacity,softMask:!1,homeGlowColor:r.glowColor,homeGlowBlur:r.glowBlur,homeGlowOpacity:r.glowOpacity,sldBody:zn(o.layerName,r)}):null}),Wt=E(()=>!!ne.value),Uo=Cr,La=E(()=>Pr({point:ne.value?Kn(ne.value):null,rowCount:J.value?Ta.value.length||ua(J.value):0,loading:Me.value,empty:Ie.value||!J.value})),qo=E(()=>La.value.height),Qo=E(()=>La.value.style),Yo=E(()=>{var t;return{grassland:"草地详情",wetland:"湿地详情",woodland:"林地详情",yak:"牦牛识别详情",pasture:"家庭牧场详情"}[z.value]||`${((t=xt.find(a=>a.key===z.value))==null?void 0:t.name)||"地图"}详情`});function Jo(e=[]){const t=e.map(a=>String((a==null?void 0:a.cqlFilter)||"").trim()).filter(Boolean);return t.length?t.map(a=>`(${a})`).join(" OR "):""}const Ta=E(()=>{var t;const e=((t=J.value)==null?void 0:t.properties)||{};return z.value==="pasture"?Un(e)?br(e):[]:["grassland","wetland","woodland"].includes(z.value)?wr(z.value,e):[]}),Aa=E(()=>oo(A.length)),Ut=E(()=>Vt.value.filter(t=>(t==null?void 0:t.name)&&t.type==="town").map((t,a)=>({key:`home-balance-${t.areaCode||t.key||t.name}`,sourceIndex:a,name:t.name,value:t.overloadRate,unit:"%",status:t.level||"总体可控",bearingCapacity:t.bearingCapacity,livestockCapacity:t.livestockCapacity,overloadCount:Number(t.livestockCapacity||0)-Number(t.bearingCapacity||0),extra:`理论 ${re(t.bearingCapacity)}|实际 ${re(t.livestockCapacity)}|超载 ${re(Number(t.livestockCapacity||0)-Number(t.bearingCapacity||0))}头`}))),Zo=E(()=>zt.value?"正在读取最新草畜平衡数据":jt.value||"暂无草畜平衡数据"),St=E(()=>{const e=Ut.value,t=3,a=e.length?Math.floor(ce.value/2)*t%e.length:0;return Array.from({length:Math.min(t,e.length)},(o,r)=>e[(a+r)%e.length])}),Xo=E(()=>{const e=St.value.length;return e?ce.value%e:0}),kt={key:"home-empty-video",title:"暂无在线可播放摄像头",town:"红原县",scene:"基地监控",device:"",channel:"",cameraCount:0,status:"待接入",onlineRate:0,updateTime:"",operator:"等待在线摄像头",progress:0,image:xo,playUrl:"",hdPlayUrl:"",token:""};function ge(e){return(e==null?void 0:e.status)==="直播中"&&!!(e!=null&&e.hdPlayUrl&&(e!=null&&e.token))}const De=E(()=>ae.value.map((e,t)=>({key:`home-video-carousel-${e.key||e.title||t}`,index:t,live:e})).filter(e=>ge(e.live))),qt=E(()=>{const e=De.value;if(!e.length)return 0;const t=Z(de.value),a=e.findIndex(r=>r.index===t),o=a>=0?a:0;return it.value||Kt.value||Y.value?o:(Math.floor(ce.value/_s)+o)%e.length}),D=E(()=>{var e,t;return ae.value.length?Y.value?Z(de.value):(t=(e=De.value[qt.value])==null?void 0:e.index)!=null?t:0:0}),en=E(()=>ae.value[D.value]||kt),_a=E(()=>vn(De.value,qt.value,kt)),tn=E(()=>ae.value.filter(e=>ge(e)).length),rt=E(()=>ae.value.map((e,t)=>({index:t,live:e})).sort((e,t)=>Number(ge(t.live))-Number(ge(e.live))||e.index-t.index)),st=E(()=>Math.max(1,Math.ceil(rt.value.length/Qe))),Ia=E(()=>{const e=(oe.value-1)*Qe;return rt.value.slice(e,e+Qe).map(t=>({key:`home-video-modal-${t.live.key||t.live.title}-${t.index}`,index:t.index,live:t.live}))}),an=E(()=>k),Qt=E(()=>H.value.slice(0,12)),on=E(()=>Math.max(28,Qt.value.length*5.2)),nn=E(()=>{const e=Bn();return e.length?{key:"home-pasture-productivity",title:"草地生产力",rows:e,option:$n(e,"生产力"),height:$e.value}:null}),rn=E(()=>({key:"yak-stock-distribution",title:"牦牛存栏分布",height:wt.value,option:Gn(S,"牦牛存栏")})),sn=E(()=>[sa(It("grassland","grassland-town"),"草地面积"),sa(It("wetland","wetland-town-area"),"湿地面积"),sa(It("grassland","grassland-type-proportion"),"草原类别"),nn.value].filter(Boolean).map((e,t)=>Fn(e,`forest-grass-wet-${t}`))),ln=E(()=>[{key:"home-video-monitor",title:"基地监控",type:"video",height:jo.value,live:en.value},rn.value,{key:"yak-structure",title:"畜群结构",height:wt.value,option:un.value},{key:"home-town-balance-gauge",title:"草畜平衡",type:"gauge",height:wt.value,max:100,rows:St.value}]),un=E(()=>mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",color:zo,tooltip:Mr(e=>`${e.name}
    占比:${e.percent}%
    估算数量:${re(e.value)}头`),legend:{orient:"vertical",right:0,top:"middle",itemWidth:8,itemHeight:8,itemGap:5,formatter(e){const t=A.find(a=>a.name===e);return t?`${e} ${Be(t.count)}头`:e},textStyle:{color:Fe,fontSize:10}},series:[{name:"畜群结构",type:"pie",selectedMode:"single",selectedOffset:8,radius:["36%","62%"],center:["30%","54%"],avoidLabelOverlap:!0,label:{color:qe,fontSize:10,formatter:"{d}%"},labelLine:{length:7,length2:4,lineStyle:{color:"rgba(223, 250, 255, 0.35)"}},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},emphasis:{scale:!0,scaleSize:8,itemStyle:{shadowBlur:5,shadowColor:"rgba(48, 220, 255, 0.2)"}},data:A.map((e,t)=>({name:e.name,value:e.count,selected:t===Aa.value}))}]}));pi(()=>{la(),window.addEventListener("resize",la),window.addEventListener("keydown",ro),document.addEventListener("pointerdown",co,!0),document.addEventListener("click",Za,!0),ea(),Qa(),Va(),Yt()}),$o(()=>{var e,t,a,o;F=!0,nt+=1,window.removeEventListener("resize",la),window.removeEventListener("keydown",ro),document.removeEventListener("pointerdown",co,!0),document.removeEventListener("click",Za,!0),Ot(),to(),ve(),za(),ta(),Zt(),Xt(),W.clear(),(t=(e=m.value)==null?void 0:e.destroyMap)==null||t.call(e),(o=(a=h.value)==null?void 0:a.destroyMap)==null||o.call(a),hn()}),pt(D,()=>{if(!Y.value){if(!Kt.value&&!Sa.value&&!Q.size){U.value="";return}ve({resetError:!0})}}),pt(z,e=>{var t,a;if(X(),e===Ne){(a=(t=m.value)==null?void 0:t.pause)==null||a.call(t),q(()=>{Mt(),Ee()});return}Ra(),q(()=>{var o,r;(r=(o=m.value)==null?void 0:o.resume)==null||r.call(o)})}),pt(()=>d.active,e=>{var t,a;e?(Yt(),mn(),Ga(),Qa(),Va(),wa?Pt(0):Fa()):(gt=!1,(a=(t=m.value)==null?void 0:t.pause)==null||a.call(t),Ra(),Zt(),Xt(),ta(),ve({resetError:!0}),Lt(),Tt())});function Yt(){gt=!1,g("loading-progress",{progress:0}),q(()=>{var e,t,a,o;if(ie.value){(t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)?Ve():(o=(a=m.value)==null?void 0:a.loadMap)==null||o.call(a);return}Mt()})}function Mt(){if(!(F||!d.active||ie.value)){if(Ba()){Ee(),Ve();return}if($t){Oa();return}ot||(ot=!0,ue=new Hr({showDataOverlays:!1}),ue.instance.on("onProgress",cn),ue.instance.on("onLoad",Ea),ue.instance.on("onError",dn),ue.instance.loaded&&Ea())}}function cn(e,t,a){if(F||ie.value)return;const o=Math.max(1,Number(a)||1),r=Math.max(0,Number(t)||0);g("loading-progress",{progress:Math.min(98,Math.floor(r/o*92))})}function Ea(){F||(ot=!1,$t=!0,g("loading-progress",{progress:96}),q(Oa))}function dn(e){ot=!1,console.warn("[home] 3D map assets load failed",e),Ve()}function Oa(){var e,t,a,o;F||!d.active||ie.value||!ue||((t=(e=h.value)==null?void 0:e.loadMap)==null||t.call(e,ue),Ee(),(o=(a=h.value)==null?void 0:a.play)==null||o.call(a),Ve())}function Ee(){var a,o,r,u,c,f,p,C;const e=h.value;(a=e==null?void 0:e.resume)==null||a.call(e);const t=Ba();(r=(o=t==null?void 0:t.sizes)==null?void 0:o.init)==null||r.call(o),(u=t==null?void 0:t.resize)==null||u.call(t),(f=(c=t==null?void 0:t.label3d)==null?void 0:c.resize)==null||f.call(c),(C=(p=t==null?void 0:t.label3d)==null?void 0:p.update)==null||C.call(p)}function Ra(){var e,t;(t=(e=h.value)==null?void 0:e.pause)==null||t.call(e)}function Ba(){var t;const e=(t=h.value)==null?void 0:t.canvasMap;return(e==null?void 0:e.value)||e||null}function fn(){ie.value||Ve()}function hn(){var e,t;(t=(e=ue==null?void 0:ue.instance)==null?void 0:e.destroy)==null||t.call(e),ue=null,ot=!1,$t=!1}function Ve(){F||gt||(gt=!0,g("loading-progress",{progress:100}),g("map-ready"),Fa())}function Jt(e={}){var t,a,o,r,u,c,f,p,C;if(!ie.value){Ee();return}if((a=(t=m.value)==null?void 0:t.resume)==null||a.call(t),e.reset){(r=(o=m.value)==null?void 0:o.resetView)==null||r.call(o),(u=m.value)!=null&&u.resetView||(f=(c=m.value)==null?void 0:c.refreshView)==null||f.call(c);return}(C=(p=m.value)==null?void 0:p.refreshView)==null||C.call(p)}function mn(){z.value!==Ne&&!Pa[z.value]&&(z.value=Ne);const e=()=>{if(!(F||!d.active)){if(ie.value){Jt({reset:!0});return}Mt(),Ee()}};q(()=>{e(),window.setTimeout(e,180)})}function pn(){var e,t;if(X(),!ie.value){Ee();return}if((t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)){Jt({reset:!0});return}Yt(),q(()=>{var a,o;(o=(a=m.value)==null?void 0:a.resume)==null||o.call(a)})}function gn(){if(X(),z.value===Ne){q(()=>{Mt(),Ee()});return}z.value=Ne}n({refreshMapView:Jt,resetMap:pn,showDefaultThreeMap:gn});function Fa(){Zt();const e=()=>{Ae=null,Xe="",!(F||!d.active)&&(wa=!0,ja(),d.active&&Ga())};if(typeof window.requestIdleCallback=="function"){Xe="idle",Ae=window.requestIdleCallback(e,{timeout:1800});return}Xe="timeout",Ae=window.setTimeout(e,650)}function Zt(){Ae&&(Xe==="idle"&&typeof window.cancelIdleCallback=="function"?window.cancelIdleCallback(Ae):window.clearTimeout(Ae),Ae=null,Xe="")}function Na(e,t){e&&(t?W.set(e,t):W.delete(e))}function Ha(e,t){const a=Number(t==null?void 0:t.index);Number.isFinite(a)&&(e?M.set(a,e):M.delete(a)),t!=null&&t.isActive&&(w.value=e||null)}function vn(e=[],t=0,a=kt){const o=Array.isArray(e)?e:[];if(!o.length)return[{key:`empty-${a.key||"video"}`,index:0,live:a,isActive:!0}];const r=(t+o.length)%o.length,u=o[r],c=(u==null?void 0:u.live)||u||a,f=Number.isFinite(Number(u==null?void 0:u.index))?Number(u.index):r;return[{key:`${c.key||c.title||"video"}-${f}`,index:f,live:c,isActive:!0}]}function Ga(){!d.active||F||(Xt(),vt=window.setInterval($a,2600),Ze=window.setTimeout($a,800))}function Xt(){vt&&(window.clearInterval(vt),vt=null),Ze&&(window.clearTimeout(Ze),Ze=null)}function $a(){F||!d.active||(Ze=null,ce.value+=1,On())}function ea(){g("module-stats",{moduleKey:"home",items:an.value})}function yn(e=[]){return Array.isArray(e)?e.map((t,a)=>{var o,r;return{recordKey:t.recordKey||t.record_key||`home-slaughter-${a}`,issueTime:t.issueTime||t.issue_time||"",originTownName:t.originTownName||t.origin_town_name||"未标注",animalTypeName:t.animalTypeName||t.animal_type_name||"未标注",animalQuantity:Number((r=(o=t.animalQuantity)!=null?o:t.animal_quantity)!=null?r:0),destinationProvinceName:t.destinationProvinceName||t.destination_province_name||"未标注"}}):[]}function Da(){return se(this,null,function*(){if(!(Gt||F||!d.active)){Gt=!0;try{const e=yield Xi({page:1,pageSize:12});if(F||!d.active)return;H.value=yn(e==null?void 0:e.rows)}catch(e){!F&&d.active&&!H.value.length&&(H.value=[])}finally{Gt=!1}}})}function Va(){ta(),!(F||!d.active)&&(Da(),bt=window.setInterval(()=>{Da()},Es))}function ta(){bt&&(window.clearInterval(bt),bt=null)}function Pt(e=No){za(),!(F||!d.active)&&(et=window.setTimeout(()=>{if(et=null,!(F||!d.active)){if(yt){Pt(Ho);return}ja()}},Math.max(0,Number(e)||0)))}function za(){et&&(window.clearTimeout(et),et=null)}function ja(){return se(this,null,function*(){if(yt){Pt(Ho);return}yt=!0;let e=No;try{const t=yield yi({includeOffline:!0,includeHidden:!0});if(F)return;wn(t)}catch(t){if(F)return;e=Is,ae.value.length||(U.value="监控接口暂不可用"),window.setTimeout(()=>{F||U.value==="监控接口暂不可用"&&(U.value="")},2400)}finally{yt=!1,F||Pt(e)}})}function Se(e){return String((e==null?void 0:e.key)||(e==null?void 0:e.device)||(e==null?void 0:e.title)||"").trim()}function bn(e=[],t=[]){const a=new Map;t.forEach(u=>{const c=Se(u);c&&!a.has(c)&&a.set(c,u)});const o=[],r=new Set;return e.forEach(u=>{const c=Se(u),f=c?a.get(c):null;!f||r.has(c)||(o.push(f),r.add(c))}),t.forEach(u=>{const c=Se(u);c&&r.has(c)||(o.push(u),c&&r.add(c))}),o}function wn(e=[]){const t=ae.value,a=D.value,o=Se(t[a]),r=t.filter(ge).map(Se),u=bn(t,Array.isArray(e)?e:[]),c=t.some((P,v)=>Se(P)!==Se(u[v])),f=u.filter(ge).map(Se),p=r.length!==f.length||r.some((P,v)=>P!==f[v]);c?ve({resetError:!0}):t.forEach((P,v)=>{if(!Q.has(String(v))&&!pe[String(v)])return;const _=u[v];(!_||!ge(_))&&We(v,{resetError:!0})}),ae.value=u,xa.value=new Date().toISOString();let C=o?u.findIndex(P=>Se(P)===o):-1;if(C<0||!ge(u[C])?(C=u.findIndex(P=>ge(P)),de.value=Math.max(0,C),it.value=!1,ce.value=0):!Y.value&&(p||c)?(de.value=C,ce.value=0):Y.value&&(de.value=C),u.filter(P=>ge(P)).length?["暂无在线可播放摄像头","监控接口暂不可用"].includes(U.value)&&(U.value=""):(ve({resetError:!0}),U.value="暂无在线可播放摄像头"),Y.value){const P=rt.value.findIndex(v=>v.index===de.value);oe.value=Math.floor(Math.max(0,P)/Qe)+1}else oe.value=Math.min(oe.value,st.value)}function Z(e){const t=ae.value.length;return t?((Number(e)||0)+t)%t:0}function he(e){return String(Z(e))}function Ka(e){const t=he(e);return pe[t]||(pe[t]={playing:!1,loading:!1,ready:!1,error:""}),pe[t]}function lt(e){return pe[he(e)]||{}}function ut(e){return`${Vo}-${he(e)}`}function aa(e){return!!lt(e).playing}function Ct(e){return!!lt(e).loading}function ze(e){const t=lt(e).error;return t||(Z(e)===D.value?U.value:"")}function Wa(e){const t=lt(e);return!!(t.playing||t.loading)}function Oe(){const e=Object.values(pe);Kt.value=e.some(t=>t.playing),Sa.value=e.some(t=>t.loading)}function Ua(e,t=!0,a=D.value){const o=(e==null?void 0:e.image)||xo;return aa(a)&&t?void 0:{backgroundImage:`linear-gradient(180deg, rgba(0, 16, 26, 0.08), rgba(0, 16, 26, 0.32)), url(${o})`}}function xn(){Ya(-1)}function Sn(){Ya(1)}function kn(){const e=D.value;ve({resetError:!0}),de.value=e,it.value=!0,ce.value=0;const t=rt.value.findIndex(a=>a.index===e);oe.value=Math.floor(Math.max(0,t)/Qe)+1,Y.value=!0,q(()=>na())}function Lt(){Y.value&&(ve({resetError:!0}),Y.value=!1)}function qa(e){var o,r;const t=Math.max(1,Math.min(st.value,Number(e)||1));if(t===oe.value)return;ve({resetError:!0}),oe.value=t;const a=(t-1)*Qe;de.value=(r=(o=rt.value[a])==null?void 0:o.index)!=null?r:0,q(()=>na())}function Mn(){Dt.value=!0}function Qa(){return se(this,null,function*(){const e=++nt;zt.value=!0,jt.value="",R.value="";try{const t=yield $r();if(F||e!==nt)return;k.splice(0,k.length,...t.headerStats||[]),S.splice(0,S.length,...t.yakTowns||[]),A.splice(0,A.length,...t.yakStructure||[]),Vt.value=(t.balanceRows||[]).filter(a=>["county","town"].includes(a.type)),B.value={grassland:t.grassland||{},wetland:t.wetland||{}},ea()}catch(t){if(F||e!==nt)return;console.error("[home] V3 dashboard unavailable",t),k.splice(0),S.splice(0),A.splice(0),Vt.value=[],B.value={},R.value=(t==null?void 0:t.message)||"首页V3业务数据加载失败",jt.value=R.value,ea()}finally{!F&&e===nt&&(zt.value=!1)}})}function Tt(){Dt.value=!1}function Ya(e){var r,u;const t=De.value,a=t.length;if(!a)return;ve({resetError:!0});const o=qt.value;de.value=(u=(r=t[(o+e+a)%a])==null?void 0:r.index)!=null?u:0,it.value=!0,ce.value=0}function Re(e){if(!ae.value.length){An();return}const a=Z(e),o=he(a),r=lt(a);if(de.value=a,it.value=!0,ce.value=0,Nt.has(o)||Q.has(o)||(r.playing||r.loading)&&!r.error){Ke(a);return}Nt.add(o),q(()=>se(this,null,function*(){try{yield eo(a,{stopOthers:!Y.value})}finally{Nt.delete(o)}}))}function Ja(e,t){Cn(t==null?void 0:t.target)||Re(e)}function Za(e){var r,u,c,f,p,C,x,P,v,_;const t=((u=(r=e==null?void 0:e.target)==null?void 0:r.closest)==null?void 0:u.call(r,'[id$="-webExpend-content"]'))||((c=e==null?void 0:e.composedPath)==null?void 0:c.call(e).find(N=>String((N==null?void 0:N.id)||"").endsWith("-webExpend-content")));if(!t)return;const a=Number((C=(p=(f=t.closest)==null?void 0:f.call(t,"[data-video-index]"))==null?void 0:p.dataset)==null?void 0:C.videoIndex),o=(x=fe.value)!=null?x:Number.isFinite(a)?a:D.value;(P=e.preventDefault)==null||P.call(e),(v=e.stopPropagation)==null||v.call(e),(_=e.stopImmediatePropagation)==null||_.call(e),Pn(o)}function Pn(e){return se(this,null,function*(){var r,u;const t=Z(e);if(fe.value===t){At();return}fe.value!==null&&At();const a=document.getElementById(`${ut(t)}-wrap`);if(!a)return;fe.value=t,yield q();const o=(u=(r=L.value)==null?void 0:r.querySelector)==null?void 0:u.call(r,".home-video-web-player-slot");if(!o){fe.value=null;return}o.appendChild(a),Ke(t),je(t)})}function At(e={}){var r;const{restore:t=!0}=e,a=fe.value;if(a===null)return;const o=document.getElementById(`${ut(a)}-wrap`);if(t&&o){const u=_t(a)||w.value,c=(r=u==null?void 0:u.querySelector)==null?void 0:r.call(u,".home-video-player-host");c&&c.appendChild(o)}fe.value=null,t&&q(()=>{Ke(a),je(a)})}function Cn(e){var t;return!!((t=e==null?void 0:e.closest)!=null&&t.call(e,'[id$="-audioControls"], [id$="-ez-iframe-footer-container"], .footer-controls, .theme-icon-item'))}function Ln(e){const t=Math.max(0,Number((e==null?void 0:e.value)||0)),a=Math.max(5,...Ut.value.map(o=>Math.max(0,Number(o.value||0))));return Math.max(6,Math.min(100,t/a*100))}function Tn(e){const t=Number(e==null?void 0:e.value),a=String((e==null?void 0:e.status)||(e==null?void 0:e.level)||"");return Number.isFinite(t)?t>20||/严重|重度|高超载/.test(a)?"#8bf7ff":t>10||/中度|预警/.test(a)?"#48cfff":t>5||/轻度/.test(a)?"#8bf7ff":t<=0||/总体可控|合理|正常|达标|无超载/.test(a)?"#24f6c4":"#30dcff":"#30dcff"}function Xa(e){return{"--balance-color":Tn(e),"--balance-progress":`${Ln(e)}%`}}function An(){return se(this,null,function*(){return eo(D.value,{stopOthers:!Y.value})})}function eo(a){return se(this,arguments,function*(e,t={}){const{stopOthers:o=!0}=t,r=Z(e),u=ae.value[r]||kt,c=he(r);let f=Ka(r);if((u==null?void 0:u.status)!=="直播中"||!(u!=null&&u.hdPlayUrl)||!(u!=null&&u.token)){f.error=(u==null?void 0:u.status)==="离线"?"当前监控离线":"暂无在线可播放摄像头",f.loading=!1,f.playing=!1,f.ready=!1,r===D.value&&(U.value=f.error),Oe();return}if(Q.has(c)||(f.playing||f.loading)&&!f.error)return;de.value=r,ce.value=0,o?ve({resetError:!0}):(Q.has(c)||f.loading)&&We(r,{resetError:!0}),f=Ka(r),f.error="",f.loading=!0,f.playing=!1,f.ready=!1,r===D.value&&(U.value=""),Oe(),yield q();const p=(xe.get(c)||0)+1;xe.set(c,p);let C=null;In(r,p);try{const x=_t(r)||w.value,P=ut(r);if(!_n(x,P))throw new Error("视频容器未就绪");const{width:v,height:_}=ao(x,340,92);if(C=new bi.EZUIKitPlayer({id:P,accessToken:u.token,url:u.hdPlayUrl,audio:0,width:v,height:_,themeData:En(),handleError(N){p===xe.get(c)&&(ct(r),console.warn("EZUIKit player error",N),ia(C),f.error="视频加载失败",f.loading=!1,f.playing=!1,f.ready=!1,xe.set(c,p+1),Q.delete(c),ra(r),r===D.value&&(U.value=f.error),Oe())},handleSuccess(){p===xe.get(c)&&(ct(r),f.error="",f.ready=!0,f.loading=!1,r===D.value&&(U.value=""),Ke(r),je(r),oa(P),Oe())},fullScreenChangeCallBack(){}}),p!==xe.get(c)){ia(C),ra(r);return}Q.set(c,C),f.playing=!0,Oe(),q(()=>{Ke(r),je(r),oa(P)})}catch(x){ct(r),console.warn("EZUIKit init error",x),f.error="视频加载失败",r===D.value&&(U.value=f.error),We(r,{resetError:!1})}})}function oa(e){if(typeof document=="undefined"||!e)return;const t=document.getElementById(`${e}-ez-iframe-footer-container`),a=document.getElementById(`${e}-audioControls`);t&&Object.assign(t.style,{position:"absolute",left:"0",right:"0",bottom:"0",zIndex:"20",width:"100%",marginTop:"0",pointerEvents:"auto",visibility:"visible",opacity:"1"}),a&&Object.assign(a.style,{opacity:"1",pointerEvents:"all",visibility:"visible"})}function je(e=D.value,t=0){if(typeof window=="undefined")return;const a=Z(e),o=he(a),r=_e.get(o);t===0&&r&&window.cancelAnimationFrame(r);const u=window.requestAnimationFrame(()=>{Ke(a),t<8?je(a,t+1):_e.delete(o)});_e.set(o,u)}function to(e){if(typeof window!="undefined"){if(e!==void 0){const t=he(e),a=_e.get(t);a&&window.cancelAnimationFrame(a),_e.delete(t);return}_e.forEach(t=>window.cancelAnimationFrame(t)),_e.clear()}}function na(){Array.from(Q.keys()).forEach(e=>{const t=Number(e);Number.isFinite(t)&&je(t)})}function ao(e,t=1,a=1){var c;if(!e)return{width:Math.max(1,Math.floor(t||1)),height:Math.max(1,Math.floor(a||1))};const o=(c=e.getBoundingClientRect)==null?void 0:c.call(e),r=e.clientWidth||e.offsetWidth||(o==null?void 0:o.width)||t,u=e.clientHeight||e.offsetHeight||(o==null?void 0:o.height)||a;return{width:Math.max(1,Math.floor(r||1)),height:Math.max(1,Math.floor(u||1))}}function _t(e=D.value){if(typeof document=="undefined")return null;const t=Z(e),a=Y.value?".home-video-modal-item":".home-video-card .home-video-screen",o=document.querySelector(`${a}[data-video-index="${t}"]`);if(o)return o;const r=M.get(t);return r!=null&&r.isConnected?r:null}function _n(e,t){var r;const a=(r=e==null?void 0:e.querySelector)==null?void 0:r.call(e,".home-video-player-host");if(!a)return null;a.replaceChildren();const o=document.createElement("div");return o.id=t,o.className="home-video-player",a.appendChild(o),o}function Ke(e=D.value){var ho,mo;if(typeof document=="undefined")return;const t=Z(e),a=he(t),o=ut(t),r=fe.value===t&&L.value?L.value:_t(t)||w.value,u=document.getElementById(`${o}-wrap`),c=document.getElementById(o),f=u||c;if(!r||!f)return;const{width:p,height:C}=ao(r),x=Q.get(a);try{u&&c&&x&&typeof x.reSize=="function"?x.reSize(p,C):u&&c&&x&&typeof x.autoResize=="function"&&x.autoResize()}catch(ke){console.warn("EZUIKit resize failed",ke)}const P={position:"absolute",left:"0",top:"0",right:"0",bottom:"0",width:`${p}px`,height:`${C}px`};Object.assign(f.style,P,{display:"block",verticalAlign:"top"}),u&&c&&Object.assign(c.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",display:"block",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",overflow:"hidden",verticalAlign:"top"});const v=document.getElementById(`EZUIKitPlayer-${o}`);v&&(v.setAttribute("width",String(p)),v.setAttribute("height",String(C)));const _=document.getElementById(`${o}-player`),N=document.getElementById(`${o}canvas0`),V=document.getElementById(`${o}canvas_draw0`),Rt=[f,c,_,N==null?void 0:N.parentElement,N,V==null?void 0:V.parentElement,V,...Array.from((c==null?void 0:c.children)||[]),...Array.from(((ho=f==null?void 0:f.querySelectorAll)==null?void 0:ho.call(f,"[id$='-wrap'], .play-window, video, canvas, iframe, object, embed"))||[]),...Array.from(((mo=c==null?void 0:c.querySelectorAll)==null?void 0:mo.call(c,".play-window, video, canvas, iframe, object, embed"))||[]),v].filter(Boolean);Array.from(new Set(Rt)).forEach(ke=>{var po,go;(po=ke.setAttribute)==null||po.call(ke,"width",String(p)),(go=ke.setAttribute)==null||go.call(ke,"height",String(C)),Object.assign(ke.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:"0",objectFit:"fill"})}),oa(o)}function ve(e={}){Array.from(Q.keys()).forEach(t=>{We(Number(t),e)}),Object.keys(pe).forEach(t=>{Q.has(t)||We(Number(t),e)}),Oe()}function We(e,t={}){const{clearElement:a=!0,resetError:o=!1}=t,r=Z(e),u=he(r);to(r),ct(r);const c=Q.get(u);Q.delete(u),xe.set(u,(xe.get(u)||0)+1),c&&ia(c),a&&ra(r);const f=pe[u];f&&(f.playing=!1,f.loading=!1,f.ready=!1,o&&(f.error=""),f.error||delete pe[u]),r===D.value&&o&&(U.value=""),Oe()}function In(e,t){const a=Z(e),o=he(a);ct(a);const r=window.setTimeout(()=>{const u=pe[o];t!==xe.get(o)||!(u!=null&&u.loading)||(u.error="视频加载超时",a===D.value&&(U.value=u.error),We(a,{resetError:!1}))},Os);Ht.set(o,r)}function ct(e){const t=he(e),a=Ht.get(t);a&&(window.clearTimeout(a),Ht.delete(t))}function ia(e){if(!(!e||typeof e.stop!="function"))try{const t=e.stop();t&&typeof t.catch=="function"&&t.catch(()=>{})}catch(t){console.warn("EZUIKit stop error",t)}}function ra(e=D.value){var f;if(typeof document=="undefined")return;const t=Z(e),a=ut(t),o=document.getElementById(`${a}-wrap`),r=document.getElementById(a),u=_t(t)||w.value,c=(f=u==null?void 0:u.querySelector)==null?void 0:f.call(u,".home-video-player-host");fe.value===t&&At({restore:!1}),c&&c.replaceChildren(),o!=null&&o.isConnected&&o.remove(),r!=null&&r.isConnected&&r.remove()}function En(){return{autoFocus:0,header:{color:"#30dcff",activeColor:"#ffffff",backgroundColor:"#000000",btnList:[{iconId:"deviceID",part:"left",defaultActive:0,memo:"顶部设备序列号",isrender:0},{iconId:"deviceName",part:"left",defaultActive:0,memo:"顶部设备名称",isrender:0},{iconId:"cloudRec",part:"right",defaultActive:0,memo:"云存储",isrender:0},{iconId:"rec",part:"right",defaultActive:0,memo:"SD卡回放",isrender:0}]},footer:{color:"#ffffff",activeColor:"#30dcff",backgroundColor:"#00000021",btnList:[{iconId:"play",part:"left",defaultActive:1,memo:"播放",isrender:1},{iconId:"capturePicture",part:"left",defaultActive:0,memo:"截屏按钮",isrender:0},{iconId:"sound",part:"left",defaultActive:0,memo:"声音按钮",isrender:1},{iconId:"pantile",part:"left",defaultActive:0,memo:"云台控制按钮",isrender:1},{iconId:"recordvideo",part:"left",defaultActive:0,memo:"录制按钮",isrender:0},{iconId:"zoom",part:"left",defaultActive:0,memo:"电子放大",isrender:0},{iconId:"hd",part:"right",defaultActive:0,memo:"清晰度切换按钮",isrender:1},{iconId:"webExpend",part:"right",defaultActive:0,memo:"网页全屏按钮",isrender:1}]}}}function On(){const e=W.get("yak-structure");Rn(e,"畜群结构",Aa.value)}function Rn(e,t,a){const o=typeof(e==null?void 0:e.dispatchAction)=="function"?e:e==null?void 0:e.chart;!o||a<0||(o.dispatchAction({type:"downplay",seriesName:t}),o.dispatchAction({type:"hideTip"}),o.dispatchAction({type:"highlight",seriesName:t,dataIndex:a}),o.dispatchAction({type:"showTip",seriesName:t,dataIndex:a}))}function oo(e){return e?ce.value%e:0}function It(e,t){const a=B.value[e];return[...(a==null?void 0:a.leftPanels)||[],...(a==null?void 0:a.rightPanels)||[]].find(r=>(r==null?void 0:r.key)===t)}function sa(e,t){return e?j($({},e),{title:t}):null}function Bn(){var t;return(((t=It("grassland","grassland-productivity-town"))==null?void 0:t.rows)||[]).map((a,o)=>j($({},a),{key:a.key||`home-pasture-productivity-${a.name}`,unit:"斤/亩",sourceIndex:o}))}function Fn(e,t){const a=String((e==null?void 0:e.key)||"");return a.includes("grassland-town")?j($({},e),{key:`home-${t}-${e.key}`,height:$e.value,option:Nn(e,e.title)}):a.includes("wetland-town-area")?j($({},e),{key:`home-${t}-${e.key}`,height:$e.value,option:Hn(e,e.title)}):a.includes("grassland-type-proportion")?j($({},e),{key:`home-${t}-${e.key}`,fixedActiveIndex:!0,height:$e.value}):j($({},e),{key:`home-${t}-${e.key}`,height:$e.value})}function Nn(e,t,a={}){var C;const o=(e.rows||[]).filter(x=>Number.isFinite(Number(x.value))).slice(0,10),r=((C=o.find(x=>x.unit))==null?void 0:C.unit)||"万亩",u=o.map(x=>Number(x.value)||0),c=Math.max(...u,1),f=Math.ceil(c*1.14),p=a.showTrendLine===!0;return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:`单位:${r}`,left:"5%",top:"8%",textStyle:{color:Fe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:0}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(x){var N;const P=Array.isArray(x)?x:[x],v=P.find(V=>V.seriesName===t)||P[0],_=o[(N=v==null?void 0:v.dataIndex)!=null?N:0];return _?`${_.name}
    ${t}:${re(_.value)}${_.unit||r}`:""}},grid:{left:"12%",top:"25%",width:"82%",height:"55%"},xAxis:[{type:"category",data:o.map(x=>x.name),axisLabel:{interval:0,hideOverlap:!1,color:ya,fontSize:10,fontWeight:700,lineHeight:12,margin:8,padding:[0,0,0,0],formatter:io},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},{type:"category",data:o.map(x=>x.name),axisLine:{show:!1,lineStyle:{color:"rgba(0, 0, 0, 0)"}},axisTick:{show:!1},axisLabel:{show:!1}}],yAxis:{type:"value",min:0,max:f,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:[2,2],dashOffset:5,color:ba,opacity:1,width:.3}},axisLabel:{color:Go,fontSize:10,formatter:Be}},series:[{name:t,type:"bar",barWidth:7,stack:"b",z:3,data:o.map(x=>Number(x.value)||0),label:{show:!0,position:"top",distance:9,color:qe,fontSize:10,fontWeight:700,formatter:({value:x})=>Be(x)},itemStyle:{borderRadius:2,color:new dt(0,0,0,1,[{offset:0,color:"#43d9e8"},{offset:.58,color:"rgba(67, 217, 232, 0.72)"},{offset:1,color:"rgba(67, 217, 232, 0.16)"}])},emphasis:{itemStyle:{shadowBlur:4,shadowColor:"rgba(67, 217, 232, 0.18)"}}},...p?[{name:`${t}趋势`,type:"line",smooth:!0,symbol:"circle",symbolSize:5,showSymbol:!0,data:u,label:{show:!1},lineStyle:{width:1.3,color:"rgba(139, 247, 255, 0.82)",shadowBlur:0,shadowColor:"transparent"},itemStyle:{color:qe,borderColor:"#8bf7ff",borderWidth:1,shadowBlur:0,shadowColor:"transparent"},emphasis:{scale:!0,lineStyle:{width:2}},tooltip:{show:!1},z:5}]:[],{type:"bar",barWidth:18,xAxisIndex:1,barGap:"-220%",data:o.map(()=>f),emphasis:{focus:"none",itemStyle:{color:"rgba(255, 255, 255, 0.8)"}},itemStyle:{color:"rgba(67, 217, 232, 0.3)",opacity:.08},tooltip:{show:!1},z:0}]})}function Hn(e,t){var f;const a=(e.rows||[]).filter(p=>Number.isFinite(Number(p.value))).sort((p,C)=>(Number(C.value)||0)-(Number(p.value)||0)).slice(0,10),o=((f=a.find(p=>p.unit))==null?void 0:f.unit)||"万亩",r=a.map(p=>Number(p.value)||0),u=Math.max(...r,1),c=Math.ceil(u*1.2);return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:`单位:${o}`,left:"5%",top:"8%",textStyle:{color:Fe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:.08}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(p){var v;const C=Array.isArray(p)?p:[p],x=C.find(_=>_.seriesName===t)||C[0],P=a[(v=x==null?void 0:x.dataIndex)!=null?v:0];return P?`${P.name}
    ${t}:${re(P.value)}${P.unit||o}`:""}},grid:{left:58,right:74,top:42,bottom:14,containLabel:!1},xAxis:{type:"value",min:0,max:c,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!0,lineStyle:{color:ba,type:[2,4],width:.3}}},yAxis:{type:"category",inverse:!0,data:a.map(p=>p.name),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:ya,fontSize:10,fontWeight:700,margin:8}},series:[{name:"背景",type:"bar",barWidth:8,barGap:"-100%",data:a.map(()=>c),itemStyle:{color:"rgba(74, 145, 165, 0.13)",borderColor:"rgba(95, 208, 235, 0.12)",borderWidth:1},emphasis:{disabled:!0},tooltip:{show:!1},z:0},{name:t,type:"bar",barWidth:8,data:r,label:{show:!0,position:"right",distance:8,color:qe,fontSize:10,fontWeight:700,formatter:({value:p})=>`${re(p)}${o}`},itemStyle:{borderRadius:[0,5,5,0],color:new dt(0,0,1,0,[{offset:0,color:"rgba(50, 170, 255, 0.22)"},{offset:.45,color:"#35d6ff"},{offset:1,color:"#8dfbff"}])},emphasis:{itemStyle:{shadowBlur:3,shadowColor:"rgba(53, 214, 255, 0.16)"}},z:2}]})}function Gn(e=[],t="数值"){var P;const a=["邛溪镇","刷经寺镇","安曲镇","龙日镇","江茸乡","查尔玛乡","瓦切镇","阿木乡","麦洼乡","色地镇"],o=new Map(a.map((v,_)=>[v,_])),r=e.filter(v=>Number.isFinite(Number(v.value))).sort((v,_)=>{var N,V;return((N=o.get(v.name))!=null?N:99)-((V=o.get(_.name))!=null?V:99)}).slice(0,10),u=((P=r.find(v=>v.unit))==null?void 0:P.unit)||"头",c=r.map(v=>Number(v.value)||0),f=Math.max(...c,1),p=Math.ceil(f*1.16/1e4)*1e4,C=oo(r.length),x=new Set(c.map((v,_)=>({value:v,index:_})).sort((v,_)=>_.value-v.value).slice(0,3).map(v=>v.index));return mt({animation:!0,animationDuration:760,animationDurationUpdate:520,animationEasing:"cubicOut",title:{text:`单位:${u}`,left:12,top:8,textStyle:{color:Fe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(48, 220, 255, 0.18)"}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(v){var Rt;const _=Array.isArray(v)?v:[v],N=_.find(fo=>fo.seriesName===t)||_[0],V=r[(Rt=N==null?void 0:N.dataIndex)!=null?Rt:0];return V?`${V.name}
    ${t}:${re(V.value)}${V.unit||u}`:""}},grid:{left:46,right:20,top:38,bottom:28,containLabel:!1},xAxis:{type:"category",boundaryGap:!1,data:r.map(v=>v.name),axisLine:{show:!0,lineStyle:{color:"rgba(141, 251, 255, 0.32)"}},axisTick:{show:!1},axisLabel:{show:!0,interval:0,margin:8,color:Fe,fontSize:9,formatter:v=>String(v).replace(/[乡镇]$/,"")}},yAxis:{type:"value",min:0,max:p,splitNumber:4,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:Fe,fontSize:9,margin:7,formatter:v=>Be(v)},splitLine:{show:!0,lineStyle:{color:"rgba(112, 209, 230, 0.25)",type:[4,4],width:.7}}},series:[{name:t,type:"line",smooth:.16,showSymbol:!0,symbol:"circle",symbolSize:(v,_)=>_.dataIndex===C?7:4,data:c,label:{show:!0,position:"top",distance:5,color:qe,fontSize:10,fontWeight:700,formatter:({value:v,dataIndex:_})=>x.has(_)?Be(v):""},lineStyle:{width:2.5,color:"#8dfbff",shadowBlur:7,shadowColor:"rgba(48, 220, 255, 0.68)"},areaStyle:{color:new dt(0,0,0,1,[{offset:0,color:"rgba(73, 241, 255, 0.72)"},{offset:.38,color:"rgba(38, 197, 235, 0.26)"},{offset:1,color:"rgba(13, 78, 111, 0.03)"}])},itemStyle:{color(v){return v.dataIndex===C?"#ffffff":"#38e6f7"},borderColor:"#8dfbff",borderWidth:1,shadowBlur:5,shadowColor:"rgba(48, 220, 255, 0.58)"},emphasis:{scale:!0,itemStyle:{color:"#ffffff",shadowBlur:5,shadowColor:"rgba(141, 251, 255, 0.2)"}},z:2}]})}function $n(e=[],t="数值"){var f;const a=e.filter(p=>Number.isFinite(Number(p.value))).slice(0,10),o=((f=a.find(p=>p.unit))==null?void 0:f.unit)||"",r=a.map(p=>Number(p.value)||0),u=Math.max(...r,1),c=Math.ceil(u*1.12);return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:o?`单位:${o}`:"",left:"5%",top:"8%",textStyle:{color:Fe,fontSize:10,fontWeight:400}},grid:{left:"12%",top:"25%",width:"82%",height:"55%"},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:.2}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(153, 153, 153, 0.95)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(p){var v;const x=(Array.isArray(p)?p:[p])[0],P=a[(v=x==null?void 0:x.dataIndex)!=null?v:0];return P?`${P.name}
    ${t}:${re(P.value)}${P.unit||o}`:""}},color:["#6BC7F6"],xAxis:[{type:"category",data:a.map(p=>p.name),axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:ya,fontSize:10,fontWeight:700,interval:0,padding:[0,0,0,0],formatter:io}},{data:[],axisLine:{show:!1,lineStyle:{color:"rgba(0, 0, 0, 0)"}},axisTick:{show:!1},axisLabel:{show:!1}}],yAxis:{type:"value",min:0,max:c,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:[2,2],dashOffset:5,color:ba,opacity:1,width:.3}},axisLabel:{color:Go,fontSize:10,formatter:Be}},series:[{name:t,data:r,type:"line",smooth:!0,symbol:As,symbolSize:10,showSymbol:!1,z:3,emphasis:{focus:"none",itemStyle:{color:"white"}},label:{show:!0,position:"top",distance:10,color:qe,fontSize:10,fontWeight:700,formatter:({value:p})=>Be(p)},lineStyle:{shadowColor:"rgba(0, 0, 0, 0.4)",shadowBlur:3,shadowOffsetY:10,width:3,color:new dt(0,0,0,1,[{offset:0,color:"rgba(115, 208, 255, 1)"},{offset:1,color:"rgba(18, 60, 98, 1)"}])},areaStyle:{color:new dt(0,0,0,1,[{offset:0,color:"rgba(25, 255, 236, 0.34)"},{offset:1,color:"rgba(51, 153, 255, 0)"}])}}]})}function no(e){return String((e==null?void 0:e.key)||"").includes("grassland-town")}function re(e){const t=Number(e);return Number.isFinite(t)?t.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(t)?0:2}):"--"}function Dn(e){const t=String(e||"").trim();if(!t)return"--";const a=t.match(/^\d{4}-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}))?/);return a?`${a[1]}-${a[2]}${a[3]?` ${a[3]}:${a[4]}`:""}`:t}function Be(e){const t=Number(e);return Number.isFinite(t)?Math.abs(t)>=1e4?`${(t/1e4).toFixed(Math.abs(t)>=1e5?0:1)}万`:Math.round(t).toLocaleString("zh-CN"):"--"}function io(e){return String(e||"").replace(/\s+/g,"").replace(/[镇乡]$/u,"").slice(0,4)}function Vn(e){if(!e)return null;const t=e.topicKey==="yak-industry-chain"?Sr(e.layerKey):Pi(e.topicKey,e.layerKey);if(t)return t;const a=Ci(e.topicKey);return a.find(o=>o.key===e.layerKey)||a[0]||null}function zn(e,t){const a=Number.isFinite(Number(t.fillOpacity))?Number(t.fillOpacity):.46,o=t.stroke||t.strokeColor||"#E5FCFF",r=Number.isFinite(Number(t.strokeOpacity))?Number(t.strokeOpacity):.86,u=Number.isFinite(Number(t.strokeWidth))?Number(t.strokeWidth):1.1;return`${e}${t.fill}${a}${o}${r}${u}round`}function jn(e){xt.some(t=>t.key===e)&&(z.value=e,X())}function ro(e){if(e.key==="Escape"){if(fe.value!==null){At();return}Lt(),Tt()}}function la(){Ma.value=typeof window=="undefined"?1080:window.innerHeight,na()}function Kn(e){const t=document.querySelector(".home-dashboard"),a=t==null?void 0:t.getBoundingClientRect();if(!(a!=null&&a.width)||!(a!=null&&a.height))return e;const o=Number(e==null?void 0:e.x),r=Number(e==null?void 0:e.y);return!Number.isFinite(o)||!Number.isFinite(r)?{x:960,y:540}:o>=0&&o<=1920&&r>=0&&r<=1080&&(o>a.width||r>a.height)?{x:o,y:r}:{x:(o-a.left)/a.width*1920,y:(r-a.top)/a.height*1080}}function Et(e,t){var a,o,r,u;return((o=(a=m.value)==null?void 0:a.getVectorFeatureAnchorScreen)==null?void 0:o.call(a,e))||((u=(r=m.value)==null?void 0:r.getVectorFeatureScreen)==null?void 0:u.call(r,e))||t}function Wn(){if(!Wt.value||!J.value)return;const e=Et(J.value,ne.value);if(!e)return;const t=ne.value;t&&Math.abs(Number(t.x)-Number(e.x))<.5&&Math.abs(Number(t.y)-Number(e.y))<.5||(ne.value=e)}function ua(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(o=>so(o,t[o])).length}function Un(e={}){return e.categoryCode==="YC-FAMILY-PASTURE"||e.stageKey==="family-pasture"}function so(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!s.has(String(e||"").toLowerCase())}function lo(e={}){const t=String(z.value||"").toLowerCase(),a=`${e.key||""} ${e.layerName||""} ${t}`.toLowerCase();return t==="woodland"||a.includes("woodland")||a.includes("t_woodland")?"woodland":t==="wetland"||a.includes("wetland")||a.includes("shidi")?"wetland":t==="grassland"||a.includes("grassland")||a.includes("caodi")?"grassland":""}function qn(e={}){const t=uo(e.lng),a=uo(e.lat);return t===""||a===""?"":`POINT(${t} ${a})`}function uo(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function Qn(){return se(this,arguments,function*(e={}){var p,C,x,P,v,_;const t=Number((p=e==null?void 0:e.lngLat)==null?void 0:p.lng),a=Number((C=e==null?void 0:e.lngLat)==null?void 0:C.lat),o=Ca.value,r=lo(o);if(!Number.isFinite(t)||!Number.isFinite(a)){X();return}if(!r){ri();return}const u=++tt,c=Ge,f=e.screen||{x:960,y:540};ne.value=null,J.value=null,Ie.value=!1,Me.value=!0,(P=(x=m.value)==null?void 0:x.clearSelectedFeature)==null||P.call(x);try{const N=yield Yn(o,{lng:t,lat:a},r);if(u!==tt||F)return;if(!N){Ge===c&&X();return}J.value=N,Ie.value=!1,ne.value=f;try{(_=(v=m.value)==null?void 0:v.highlightFeature)==null||_.call(v,N,{highlightTone:"v21"})}catch(V){console.warn("[home] resource feature highlight skipped",V)}try{ne.value=Et(N,f)||f}catch(V){console.warn("[home] resource feature anchor fallback",V)}}catch(N){u===tt&&Ge===c&&X()}finally{u===tt&&(Me.value=!1)}})}function Yn(o,r){return se(this,arguments,function*(e,t,a=lo(e)){const u=qn(t);if(!u)return null;const c=yield xr(a,u),f=Jn(c,a);if(!Xn(f))return null;const p=ti(f,e,t,a);return ua(p)>0?p:null})}function Jn(e,t){var o,r,u,c;const a=[e==null?void 0:e[t],e==null?void 0:e.grassland,e==null?void 0:e.wetland,e==null?void 0:e.woodland,(o=e==null?void 0:e.data)==null?void 0:o[t],(r=e==null?void 0:e.data)==null?void 0:r.grassland,(u=e==null?void 0:e.data)==null?void 0:u.wetland,(c=e==null?void 0:e.data)==null?void 0:c.woodland,e==null?void 0:e.data,e==null?void 0:e.result,e];for(const f of a){const p=Zn(f);if(p)return p}return null}function Zn(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function Xn(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(ei)?!0:Object.keys(e).some(t=>so(t,e[t]))}function ei(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function ti(e,t,a,o){const r=oi(e),u=ai(e);return{id:e.id||e.patchNo||e.patch_no||e.landNumber||e.land_number||`${o}-${a.lng}-${a.lat}`,properties:r,feature:{type:"Feature",properties:r,geometry:u},geometry:u,layer:t,lngLat:a}}function ai(e={}){return e.geometry||e.geom||e.wkt||e.the_geom||e.theGeom||e.geo||e.geometryWkt||e.geometry_wkt||e.shape||null}function oi(e={}){const t=$({},e);return(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(o=>{const r=o==null?void 0:o.value;if(r==null||r==="")return;const u=l[String((o==null?void 0:o.title)||"").trim()],c=String((o==null?void 0:o.field)||"").trim();[c,ni(c),u].filter(Boolean).forEach(p=>{(t[p]===void 0||t[p]===null||t[p]==="")&&(t[p]=r)})}),t}function ni(e){const t=String(e||"").trim();return t?t.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase():""}function ii(e){var o,r,u,c;Ge+=1,Ot();const t=(r=(o=e==null?void 0:e.feature)!=null?o:e)!=null?r:null;if(!t||ua(t)<=0){X();return}const a=((u=t==null?void 0:t.properties)==null?void 0:u.public_id)||((c=t==null?void 0:t.properties)==null?void 0:c.publicId)||(t==null?void 0:t.id);if(z.value==="pasture"&&a){Me.value=!0,kr(a).then(f=>{if(!f)return X();J.value=j($({},t),{id:f.id||f.publicId||a,properties:f}),Ie.value=!1,e!=null&&e.screen&&(ne.value=Et(J.value,e.screen))}).catch(()=>X()).finally(()=>{Me.value=!1});return}J.value=t,Ie.value=!1,e!=null&&e.screen&&(ne.value=Et(t,e.screen))}function X(){var e,t;Ot(),tt+=1,J.value=null,Ie.value=!1,Me.value=!1,ne.value=null,(t=(e=m.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function ri(){const e=Ge;Ot(),at=window.setTimeout(()=>{at=null,Ge===e&&X()},80)}function Ot(){at&&(window.clearTimeout(at),at=null)}function co(e){if(!Wt.value)return;const t=document.querySelector(".home-map-feature-info"),a=document.querySelector(".home-dashboard .cesium-map"),o=e.target;t&&o instanceof Node&&t.contains(o)||a&&o instanceof Node&&a.contains(o)||X()}return(e,t)=>(T(),I("div",Dr,[R.value?(T(),I("div",Vr,G(R.value),1)):K("",!0),bo(ca(Fr,{ref_key:"threeMapSceneRef",ref:h,class:"home-map-scene home-three-map-scene","show-data-overlays":!1,"max-pixel-ratio":1.35,onPlayComplete:fn},null,512),[[wo,Wo.value]]),ie.value?bo((T(),Pe(Li,{key:1,ref_key:"mapSceneRef",ref:m,class:"home-map-scene home-remote-map-scene",active:d.active&&ie.value,"active-layer":Ca.value,"admin-boundary-line-scale":1.65,"initial-zoom":Rs,"minimum-zoom-distance":1,"auto-apply-layer-map-view":!1,"max-zoom":21,"enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"hide-town-label-stats":"",onReady:Ve,onFeatureLoading:t[0]||(t[0]=a=>Me.value=a),onFeatureInfo:ii,onMapClick:Qn,onViewChange:Wn},null,8,["active","active-layer"])),[[wo,ie.value]]):K("",!0),t[15]||(t[15]=b("div",{class:"home-map-scrim"},null,-1)),Qt.value.length?(T(),I("div",zr,[t[4]||(t[4]=b("div",{class:"home-slaughter-ticker-status"},[b("i"),b("strong",null,"实时出栏")],-1)),b("div",jr,[b("div",{class:"home-slaughter-ticker-track",style:Ue({"--ticker-duration":`${on.value}s`})},[(T(),I(Ce,null,Le(2,a=>b("div",{key:a,class:"home-slaughter-ticker-group"},[(T(!0),I(Ce,null,Le(Qt.value,o=>(T(),I("span",{key:`${a}-${o.recordKey}`,class:"home-slaughter-ticker-item"},[b("b",null,G(Dn(o.issueTime)),1),b("em",null,G(o.originTownName),1),b("strong",null,G(o.animalTypeName)+" "+G(re(o.animalQuantity))+"头",1),t[3]||(t[3]=b("i",null,"→",-1)),b("span",null,G(o.destinationProvinceName),1)]))),128))])),64))],4)])])):K("",!0),b("div",Kr,[ca(vr,{"model-value":z.value,topics:xt,"onUpdate:modelValue":jn},null,8,["model-value"])]),Wt.value?(T(),I("div",{key:3,class:"home-map-feature-info",style:Ue(Qo.value)},[ca(yr,{title:Yo.value,feature:J.value,empty:Ie.value,loading:Me.value,width:ft(Uo),height:qo.value,rows:Ta.value,closable:"",onClose:X},null,8,["title","feature","empty","loading","width","height","rows"])],4)):K("",!0),b("div",Wr,[b("div",Ur,[(T(!0),I(Ce,null,Le(sn.value,a=>(T(),Pe(ko,{key:a.key,class:"home-card left-card",title:a.title,width:ft(ka),height:a.height},{default:da(()=>[a.option?(T(),Pe(ft(So),{key:0,ref_for:!0,ref:o=>Na(a.key,o),class:"home-chart home-town-column-chart",option:a.option,autoresize:!0},null,8,["option"])):(T(),Pe(Bo,{key:1,panel:a,compact:"","column-label-standard":no(a),"visual-version":"v21"},null,8,["panel","column-label-standard"]))]),_:2},1032,["title","width","height"]))),128))])]),b("div",qr,[b("div",Qr,[(T(!0),I(Ce,null,Le(ln.value,a=>(T(),Pe(ko,{key:a.key,class:ht(["home-card","right-card",{"home-video-card":a.type==="video"}]),title:a.title,width:ft(ka),height:a.height},{extra:da(()=>[a.type==="video"||a.key==="home-town-balance-gauge"?(T(),I("button",{key:0,class:"home-card-more",type:"button","aria-label":a.type==="video"?"查看全部基地监控":"查看全部乡镇草畜平衡",onClick:o=>a.type==="video"?kn():Mn()},[...t[5]||(t[5]=[gi(" 更多 ",-1),b("span",{"aria-hidden":"true"},"›",-1)])],8,Yr)):K("",!0)]),default:da(()=>[a.type==="video"?(T(),I("div",Jr,[b("button",{class:"home-video-nav home-video-prev",type:"button","aria-label":"上一路监控",disabled:De.value.length<=1,onClick:xn},"‹",8,Zr),b("div",{class:ht(["home-video-grid",{"is-single":_a.value.length<=1}])},[(T(!0),I(Ce,null,Le(_a.value,o=>(T(),I("div",{key:o.key,ref_for:!0,ref:r=>Ha(r,o),"data-video-index":o.index,class:ht(["home-video-screen",{"is-active":o.isActive,"is-playing":aa(o.index),"is-loading":Ct(o.index)}]),style:Ue(Ua(o.live,o.isActive,o.index)),role:"button",tabindex:"0",onClick:r=>Ja(o.index,r),onKeydown:[Bt(Te(r=>Re(o.index),["prevent"]),["enter"]),Bt(Te(r=>Re(o.index),["prevent"]),["space"])]},[t[6]||(t[6]=b("div",{class:"home-video-player-host"},null,-1)),Ct(o.index)?(T(),I("div",es,"加载中")):K("",!0),ze(o.index)?(T(),I("div",ts,G(ze(o.index)),1)):K("",!0),o.live.hdPlayUrl&&(!Wa(o.index)||ze(o.index))?(T(),I("button",{key:2,class:"home-video-hit",type:"button","aria-label":"播放监控",onClick:Te(r=>Re(o.index),["stop"])},null,8,as)):K("",!0),b("div",os,G(o.live.title),1)],46,Xr))),128))],2),b("button",{class:"home-video-nav home-video-next",type:"button","aria-label":"下一路监控",disabled:De.value.length<=1,onClick:Sn},"›",8,ns)])):a.option?(T(),Pe(ft(So),{key:1,ref_for:!0,ref:o=>Na(a.key,o),class:"home-chart",option:a.option,autoresize:!0},null,8,["option"])):a.key==="home-town-balance-gauge"?(T(),I("div",is,[St.value.length?K("",!0):(T(),I("div",rs,[t[7]||(t[7]=b("i",null,null,-1)),b("span",null,G(Zo.value),1)])),(T(!0),I(Ce,null,Le(St.value,(o,r)=>(T(),I("div",{key:o.key,class:ht(["home-balance-gauge-card",{"is-active":r===Xo.value}]),style:Ue(Xa(o))},[b("div",ss,[b("strong",null,G(o.status),1)]),b("div",ls,[b("div",us,[b("strong",null,G(re(o.value)),1),t[8]||(t[8]=b("em",null,"%",-1))])]),b("div",cs,G(o.name),1),b("div",ds,G(o.extra),1)],6))),128))])):(T(),Pe(Bo,{key:3,panel:a,compact:"","column-label-standard":no(a),"visual-version":"v21"},null,8,["panel","column-label-standard"]))]),_:2},1032,["class","title","width","height"]))),128))])]),Y.value?(T(),I("div",{key:4,class:"home-more-modal",role:"dialog","aria-modal":"true","aria-label":"全部基地监控",onClick:Te(Lt,["self"])},[b("section",{class:"home-more-dialog home-video-dialog","data-monitoring-updated-at":xa.value},[b("header",hs,[b("div",null,[t[9]||(t[9]=b("h2",null,"基地监控",-1)),b("p",null,"共 "+G(ae.value.length)+" 路,在线 "+G(tn.value)+" 路",1)]),b("button",{type:"button",title:"关闭","aria-label":"关闭",onClick:Lt},"×")]),Ia.value.length?(T(),I("div",ms,[(T(!0),I(Ce,null,Le(Ia.value,a=>(T(),I("div",{key:a.key,ref_for:!0,ref:o=>Ha(o,a),"data-video-index":a.index,class:ht(["home-video-modal-item home-video-screen",{"is-active":a.index===D.value,"is-playing":aa(a.index),"is-loading":Ct(a.index),"is-offline":a.live.status!=="直播中"}]),style:Ue(Ua(a.live,a.index===D.value,a.index)),role:"button",tabindex:"0",onClick:o=>Ja(a.index,o),onKeydown:[Bt(Te(o=>Re(a.index),["prevent"]),["enter"]),Bt(Te(o=>Re(a.index),["prevent"]),["space"])]},[t[10]||(t[10]=b("div",{class:"home-video-player-host"},null,-1)),Ct(a.index)?(T(),I("div",gs,"加载中")):K("",!0),ze(a.index)?(T(),I("div",vs,G(ze(a.index)),1)):K("",!0),a.live.hdPlayUrl&&(!Wa(a.index)||ze(a.index))?(T(),I("button",{key:2,class:"home-video-hit",type:"button","aria-label":"播放监控",onClick:Te(o=>Re(a.index),["stop"])},null,8,ys)):K("",!0),b("span",bs,G(a.live.title),1)],46,ps))),128))])):(T(),I("div",ws,"暂无监控数据")),st.value>1?(T(),I("footer",xs,[b("button",{type:"button",disabled:oe.value<=1,onClick:t[1]||(t[1]=a=>qa(oe.value-1))},"上一页",8,Ss),b("span",null,G(oe.value)+" / "+G(st.value),1),b("button",{type:"button",disabled:oe.value>=st.value,onClick:t[2]||(t[2]=a=>qa(oe.value+1))},"下一页",8,ks)])):K("",!0)],8,fs)])):K("",!0),(T(),Pe(vi,{to:"body"},[fe.value!==null?(T(),I("div",Ms,[b("div",{ref_key:"homeVideoWebStageRef",ref:L,class:"home-video-screen home-video-web-stage is-active is-playing"},[...t[11]||(t[11]=[b("div",{class:"home-video-web-player-slot"},null,-1)])],512)])):K("",!0)])),Dt.value?(T(),I("div",{key:5,class:"home-more-modal",role:"dialog","aria-modal":"true","aria-label":"全部乡镇草畜平衡",onClick:Te(Tt,["self"])},[b("section",Ps,[b("header",{class:"home-more-dialog-head"},[t[12]||(t[12]=b("div",null,[b("h2",null,"全县乡镇草畜平衡")],-1)),b("button",{type:"button",title:"关闭","aria-label":"关闭",onClick:Tt},"×")]),b("div",Cs,[(T(!0),I(Ce,null,Le(Ut.value,a=>(T(),I("article",{key:a.key,class:"home-balance-modal-item",style:Ue(Xa(a))},[b("div",Ls,[b("strong",null,G(a.name),1),b("span",null,G(a.status),1)]),b("div",Ts,[b("strong",null,G(re(a.value)),1),t[13]||(t[13]=b("em",null,"%",-1))]),t[14]||(t[14]=b("div",{class:"home-balance-modal-track"},[b("i")],-1)),b("p",null,G(a.extra),1)],4))),128))])])])):K("",!0)]))}};export{Js as default}; diff --git a/docs/assets/index-e56f8284-1786725044461.js b/docs/assets/index-539da005-1786807848259.js similarity index 95% rename from docs/assets/index-e56f8284-1786725044461.js rename to docs/assets/index-539da005-1786807848259.js index c1834d4..7dc221f 100644 --- a/docs/assets/index-e56f8284-1786725044461.js +++ b/docs/assets/index-539da005-1786807848259.js @@ -1 +1 @@ -var y=(h,o,e)=>new Promise((p,i)=>{var d=s=>{try{c(e.next(s))}catch(a){i(a)}},v=s=>{try{c(e.throw(s))}catch(a){i(a)}},c=s=>s.done?p(s.value):Promise.resolve(s.value).then(d,v);c((e=e.apply(h,o)).next())});import{_ as V}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{g,q as S,o as k,c as _,a as n,F as C,y as q,n as A,t as u,d as M,L as B}from"./index-1786725044461.js";const E={class:"isolation-page"},I={class:"isolation-card"},j={class:"status-grid"},F=["disabled"],G={__name:"index",setup(h){const o=M(!1),e=B({screen:"up",openApi:"checking",database:"checking",redis:"checking",geoserver:"checking"}),p=g(()=>[{key:"screen",label:"V3 Screen",status:e.screen},{key:"openApi",label:"V3 OpenAPI",status:e.openApi},{key:"database",label:"本机 qkl2",status:e.database},{key:"redis",label:"V3 Redis",status:e.redis},{key:"geoserver",label:"V3 GeoServer",status:e.geoserver}]),i=g(()=>{const s=Object.values(e);return s.includes("down")?"down":s.includes("checking")?"checking":"up"}),d=g(()=>({up:"V3 空环境服务已连通。",down:"存在未通过的服务,请查看状态并重试。",checking:"正在检查 V3 服务。"})[i.value]);function v(s){return{up:"正常",down:"失败",checking:"检查中"}[s]}function c(){return y(this,null,function*(){var s,a,r,w,b,f,m,x;o.value=!0,e.openApi="checking",e.database="checking",e.redis="checking",e.geoserver="checking";try{const t=yield(yield fetch("/openApi/screen2/_health",{cache:"no-store"})).json();e.openApi=((a=(s=t==null?void 0:t.services)==null?void 0:s.openApi)==null?void 0:a.status)==="up"?"up":"down",e.database=((w=(r=t==null?void 0:t.services)==null?void 0:r.database)==null?void 0:w.status)==="up"&&((f=(b=t==null?void 0:t.services)==null?void 0:b.database)==null?void 0:f.database)==="qkl2"?"up":"down",e.redis=((x=(m=t==null?void 0:t.services)==null?void 0:m.redis)==null?void 0:x.status)==="up"?"up":"down"}catch(l){e.openApi="down",e.database="down",e.redis="down"}try{const l=yield fetch("/geoserver/v3/wms?service=WMS&request=GetCapabilities",{cache:"no-store"}),t=yield l.text();e.geoserver=l.ok&&/WMS_Capabilities/i.test(t)?"up":"down"}catch(l){e.geoserver="down"}o.value=!1})}return S(c),(s,a)=>(k(),_("main",E,[n("section",I,[a[0]||(a[0]=n("p",{class:"eyebrow"},"HY SCREEN V3",-1)),a[1]||(a[1]=n("h1",null,"V3 空环境隔离检查",-1)),a[2]||(a[2]=n("p",{class:"summary"},"这里只检查新环境连通性,不加载旧业务页面或旧数据。",-1)),n("div",j,[(k(!0),_(C,null,q(p.value,r=>(k(),_("article",{key:r.key,class:"status-item"},[n("span",{class:A(["status-dot",r.status])},null,2),n("div",null,[n("strong",null,u(r.label),1),n("p",null,u(v(r.status)),1)])]))),128))]),n("p",{class:A(["result",i.value])},u(d.value),3),n("button",{type:"button",disabled:o.value,onClick:c},u(o.value?"检查中...":"重新检查"),9,F)])]))}},R=V(G,[["__scopeId","data-v-69e5473e"]]);export{R as default}; +var y=(h,o,e)=>new Promise((p,i)=>{var d=s=>{try{c(e.next(s))}catch(a){i(a)}},v=s=>{try{c(e.throw(s))}catch(a){i(a)}},c=s=>s.done?p(s.value):Promise.resolve(s.value).then(d,v);c((e=e.apply(h,o)).next())});import{_ as V}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{g,q as S,o as k,c as _,a as n,F as C,y as q,n as A,t as u,d as M,L as B}from"./index-1786807848259.js";const E={class:"isolation-page"},I={class:"isolation-card"},j={class:"status-grid"},F=["disabled"],G={__name:"index",setup(h){const o=M(!1),e=B({screen:"up",openApi:"checking",database:"checking",redis:"checking",geoserver:"checking"}),p=g(()=>[{key:"screen",label:"V3 Screen",status:e.screen},{key:"openApi",label:"V3 OpenAPI",status:e.openApi},{key:"database",label:"本机 qkl2",status:e.database},{key:"redis",label:"V3 Redis",status:e.redis},{key:"geoserver",label:"V3 GeoServer",status:e.geoserver}]),i=g(()=>{const s=Object.values(e);return s.includes("down")?"down":s.includes("checking")?"checking":"up"}),d=g(()=>({up:"V3 空环境服务已连通。",down:"存在未通过的服务,请查看状态并重试。",checking:"正在检查 V3 服务。"})[i.value]);function v(s){return{up:"正常",down:"失败",checking:"检查中"}[s]}function c(){return y(this,null,function*(){var s,a,r,w,b,f,m,x;o.value=!0,e.openApi="checking",e.database="checking",e.redis="checking",e.geoserver="checking";try{const t=yield(yield fetch("/openApi/screen2/_health",{cache:"no-store"})).json();e.openApi=((a=(s=t==null?void 0:t.services)==null?void 0:s.openApi)==null?void 0:a.status)==="up"?"up":"down",e.database=((w=(r=t==null?void 0:t.services)==null?void 0:r.database)==null?void 0:w.status)==="up"&&((f=(b=t==null?void 0:t.services)==null?void 0:b.database)==null?void 0:f.database)==="qkl2"?"up":"down",e.redis=((x=(m=t==null?void 0:t.services)==null?void 0:m.redis)==null?void 0:x.status)==="up"?"up":"down"}catch(l){e.openApi="down",e.database="down",e.redis="down"}try{const l=yield fetch("/geoserver/v3/wms?service=WMS&request=GetCapabilities",{cache:"no-store"}),t=yield l.text();e.geoserver=l.ok&&/WMS_Capabilities/i.test(t)?"up":"down"}catch(l){e.geoserver="down"}o.value=!1})}return S(c),(s,a)=>(k(),_("main",E,[n("section",I,[a[0]||(a[0]=n("p",{class:"eyebrow"},"HY SCREEN V3",-1)),a[1]||(a[1]=n("h1",null,"V3 空环境隔离检查",-1)),a[2]||(a[2]=n("p",{class:"summary"},"这里只检查新环境连通性,不加载旧业务页面或旧数据。",-1)),n("div",j,[(k(!0),_(C,null,q(p.value,r=>(k(),_("article",{key:r.key,class:"status-item"},[n("span",{class:A(["status-dot",r.status])},null,2),n("div",null,[n("strong",null,u(r.label),1),n("p",null,u(v(r.status)),1)])]))),128))]),n("p",{class:A(["result",i.value])},u(d.value),3),n("button",{type:"button",disabled:o.value,onClick:c},u(o.value?"检查中...":"重新检查"),9,F)])]))}},R=V(G,[["__scopeId","data-v-69e5473e"]]);export{R as default}; diff --git a/docs/assets/index-9afdaa7c-balabala-1786725044461.css b/docs/assets/index-57a3f5c2-balabala-1786807848259.css similarity index 98% rename from docs/assets/index-9afdaa7c-balabala-1786725044461.css rename to docs/assets/index-57a3f5c2-balabala-1786807848259.css index 4be0ab4..c14ee4e 100644 --- a/docs/assets/index-9afdaa7c-balabala-1786725044461.css +++ b/docs/assets/index-57a3f5c2-balabala-1786807848259.css @@ -1 +1 @@ -@charset "UTF-8";html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}[tabindex="-1"]:focus{outline:none}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:D-DIN;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Bold;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Italic;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:Alibaba PuHuiTi;src:url(./AlibabaPuHuiTi-14435b65-balabala-1786725044461.woff2) format("woff2")}@font-face{font-family:Alimama ShuHeiTi;font-weight:700;src:url(./AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786725044461.woff2) format("woff2"),url(./AlimamaShuHeiTi-Bold-a95023f2-balabala-1786725044461.woff) format("woff"),url(./AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786725044461.ttf) format("truetype");font-display:swap}@font-face{font-family:阿里妈妈数黑体 Bold;font-weight:700;src:url(data:font/woff2;base64,d09GMk9UVE8AAAjwAA0AAAAADegAAAiiAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYx7Gx4cHgZgAHQBNgIkAxgEBgWJIAcgFyQYGhsADRHVrL8g+0iMnUfJLU+EglCodCONdUc456fyCWlXNEUsuExMoPi0DMa6gXdm0rnbJbtAef7923n3BWHzTNriDxgGBhE1L62rpbN/n1BVqbbtzFuERVmMOfa+3S2tXUJXKYrS6vgIjUKoH1RvxkRINBalEUKAw7KZG2lvQbTbMMnEghWxl9qLExii0RCGYYTGhZYiM8409e7XKt+SZok50woHDrT1YSbnB6ZM0ftVmycwmD1RlT1J/daRGnTWqwfgoP9D5XdaPy/SXe/v491PH+hLCFPfEXKLnCOp+hDjYzn6YEIZZuS8tZt2nWONhPeMOEGnYnbUscaFllyz4oQ454uT1ZuWxEaL7ax5sfWFe0Dcexd6Xpf+SqOYOnjZgwtiVjivVXb+kjxnMhtFwxRXHCAu1nPPx1pdM29EyKiMV/1S/aYb6A5uq0Oa4avbPzVhCCFEN+UMx7Saqg/1Ia6+hGhTXIhORRjiScY5TX4xcUxfZgojq/6pB6kvfZffCVVD5T3/h7KVeVXRgvxEdqt8whokVZgAAyQdnAVntMrC0Ij/OPXpazBrpf3gqoykWx9rMYJa6mqxCF2hBk1Cs7YdOkvOOCWS4ssgAaLowTd7Pm/5x6E/7RPSLTo9mpOj4ICwRdwTdTBR5NM/dfvU5ydnkAriBGk4eOF/OEtBe/rP+S+XOYhng1sHdhBNHJxAD4VhO5V0LOtYwWE4e2H1+bVn13JKw35CLG8AT+mMoFilgZKVVW6/FORUxY4RKMAmeeQLEKrCKZQolwWogIFYwRrkSngvVA5X6svDaeU6abogP6ZohDmh/BV01aJEoQnM1GIDik1wpjaJQkNllgBNpIHYhDXshr6C5I/XwQjXJX9wUfzhhsSDS5UKXSQebyj+9DHYhEtorcO3A6tWaorWZP4SWON5w7awGvwRiFkMoVDTC/rImeCB9r/oEYBf8FsEb7gTJkA3+EHfrorjE6xaiHkMLnUb8ixMREP1UH/seZAy7RYH0bUxFJ9JNeAZhj6FRsBjo3sQAXuVY0o2xYKh7TtgfT/oIa0X7kFUIxajoK1wB440YbGe8l0AFTRCFWvYN19ANQu6qV83PjwD3UI8VkMEu/XUhiO2/Rcx3AMEijxstF1ednPRfc+5J+dcnHmD2wFGHE1nbJ6xZfrWuvxQjClBr57oMnDXsD2j9nKXgGIG1EMO62EG0kt0WOqAjJKsYH71kaUnFpzj1mEMcBCzns7vtCxjdU4gP3Kl9h69h6Xm6ilJ3dp5PmLRcGn9tlW7VxzwvA4EF9G157ToQss6adEVyWPatwkY22RUdBzVZpLnatkm7ESvenweeGkvVBqEBevq80PLhlgHDeDOSrtq8jupQFRR2IAbhBm2mTbxC3B/6ChxcFRZTc4gy1InAV/RZyufrnqylnvDHh15fPTxMbV4VC8OWBu0oTa/ddSW0VvH5AzNGpY9nAMrGnHYZxaTcrGmBetWBPEbZ2ycsWEmp/SQ+7OVB+QAAdRL/676vTGJDyoOKEP1UA4yK2sIpyWriVWsECQck6xZzTxROH5qJmuQakIXAfRSNixWsvFHeKxMpoqnck0AT7wKRpDoj7QEPvzk3GVzls9e5hnNc1E8qtAJmobzYMerDXi4aIR5YMAgCEJKDX4ra9r1DlP0uv9D3WS14ENcXYnIMJR3dPP0C4qv16h1SlbuoOFjJk6bvWCpbd3mHXsPHT/z6g8HUVTHhfE6DjSGRp4VhrZbgFp2nhaT0xjdaRG6ZaCmXjynoz3QsQ1WS0KO07ExvA6N6J+ILm90wUDQDYlu06M1z5e+1mH1IRjVESP9dJvXbVy/bhOn5IBRDmG33lvzdPG7AF6nBX82pdGTgumj/BPNcWKVJ7MKlGawwZRxUI1lqLQuvJnjSJVKGPw3SwgPTpB8AGpDJy/IRg6zWczKxDCsjQ38dOAfyWN7Nrw8kf+2RouZTXXaCIMQng8fzN6iXRrhaBBC7HaCEHGxpl/mCNHiMlmVRQhpWz8ac5BE/1W2cu3m9psKJCuHz6Rz6nOfQlTvWRqiwSCEqNYcIYSIVAgytXQDYuqFGj3e40RNM3xMRtOPbhXdRvQszi8dwEw6Z7cTRA3fv+bOt1u+bHGzzbZNWLpo8cJJXP9mhFFBeCpTLXM/XVje3bHey7X6A0LIy/jSe3LA/uX3gQWdShgsVQhnIvzbBasrxyyZ/ul5AoSLlCniQWJFtUf7IZ0Q3eSwf5qZHKB4avsBQ0wVqHD5B2oNcgA0IjMdtILTB6jwNAFWad0Cjk/tAwcXyLetTjyZzmWzhpAOOwAYBqu2qtxBw8NkYLXTABw0QLY6hTOdA1M9uj6NZ+a3ym45Y1LdUhQ5uiS7rWXBxy6OvQwDBR061FboVpYyJDVlYMXirldxKEvu4ItTBreY33DWla5/JO86hjRWyCKXudh5xpEnzj+X8SozvENMRqXpUkr/DvfqJ3Tel2vMjDfV6T82vUVvtj1U+CFlKqLv5uyJ6tPyS5ff7GgioiZKFMqj4uF6inCJJ4qXKBpimn1JRL5WO8d1A7tDgcP8TimFJsmuL29V0DS3UfejSDsW/Yia6q0fs2LRKPMxKUphIcmCupUSlAXA2pG5rXr5clzI7J+y6GSJIhbXhmi/HELNdsvjaMiOqb8Pi0tTS6beTPnslB0HmbrcGFO010/TgsWar4JFwcq0tCCJTW1VjuV58hXpcn37dYleckX/uqVyiPZTOoliHjgTJlBMprbKh4bYcKwILTLpjlqNvEwTjTHzsEVGP5WPICvRooRwMl7Fq6srl05lZY5nZzGdKS4PGW2vsXUwdUfDqa+PSzbFZKlByvV66N6sxKVvZR1S+PxmFjL7x7gaYucjWTUnZJ3aKsZPFV04N1FbDf113KZWqdW+lCS6jFkwT5Ue0Vysf4Mt4jKQKpBWl/hi6xy3hu+3kM2SprIBAAA=) format("woff2"),url(data:font/woff;base64,d09GRk9UVE8AAArwAA0AAAAADegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABMAAABcQAAAZ7T0dS20dQT1MAAAb0AAAAHgAAAB5EdEx1R1NVQgAABxQAAAAeAAAAHkR0THVPUy8yAAAHNAAAAEsAAABgrSDtt2NtYXAAAAeAAAAAUgAAAHSMNPB9aGVhZAAAB9QAAAA1AAAANiVNJkVoaGVhAAAIDAAAABwAAAAkB5wC5mhtdHgAAAgoAAAAGAAAABgEswFPbWF4cAAACEAAAAAGAAAABgALUABuYW1lAAAISAAAAlYAAASgKy85MXBvc3QAAAqgAAAAEwAAACD/nwAydmhlYQAACrQAAAAfAAAAJAJsEhZ2bXR4AAAK1AAAABoAAAAaC9IDy3icbVRrVBVVFL5zL3NmOnO9yOMQl27cQd4CiqCiCYrwo1RUfPFwtciLkF4Vr8CYklcW6KpUNChTly4tEUFQcflMa1lmig/MtMeiVai9zNaqfFTmnnEP2ow9frSaH9/Za3+zzz77O3sfzhIQYOE4jo1d4K3wVHimzV38TLl3ujclx7egzCQmuLg1Lq6hwR7p4l7hXNwqq4tbbXNxdQEYZLctwZr7fu0GHxlhec7udj2x2D7gSYuFywo0sSLIxKn2WHOZaY+xEI6r29C6++CZXN+imirvnLmKnDA7UU5LTUtLMSBdNg5R6in1yAm5c70LPYlyrm9QspynlA0ymAXyo4hquaq8urzqhfJHzr9+91bLHlmp8pSVV3iq5su+5/9lnq7yLV4kP2PU4l04R87zVngVI/DvWuV/ipXNYv/rHFvmKy0fV1a+UPEqNf+rjvHVW1+2/mb9nbST/WLnY9MdN0Pv2SycyUimeIEubq09zmUJMRTgpwRbJKtBOi0vWU5ZfuMGc/O5Bk6z3rPV2LpvazfYA792+L5f6Ct7kMy0K1po3xXBoVrjGSxRJeiCIOyCeAzDeMwi34OHV49CiF5HOnt5TCTeUTxWYAgMJ+no4fMwSA3ChoEEv41mkETeuX745733RHSTebElyTOSRS0JjrG98uGkd9JkOuOnkp/m/So61DmDmVoLEXgfugjwp+6e/eWCCKlCzLgBk+RpInyA4Ton5PsmV06uFjFBONdytrWrVdTHLGaDqAOc6mmmK+pSVRH0z75l2lT9ISYig91a3TfAHiQQ8OkXGFTDUqwWHFof/Mj6avUsrZb0tamvMq2XYBisj6MfYQiPKoEcaOJxNMEcbOLTCYzRX2OQoy7FHMFxCOYz1Y2XIAwuqW4I1t1wWaUQ/MCKwSrFy7qb9EIz60blKZoHCq/mojKUdoOSSh374ofT45CyBeIgIwLmaYUQjg//wPAo/AVvJVLH54bgJXCH/LBjMB2i8JDSC8GjxlABVqFjmBm5Aaas+1SE5JEYh9fU4XAN465CNlDM7oFEOKK/rxcTnOOfOAmzImGWuov1QFK2gEkwgX0Ox3MEzNRvM7BCNloFx9sbGdoEkNbe7PjyNJTEhrdAotD5Yfvx5qPnMSEcGEEKHc0Xtn2y+QvnGyfXn2+6LO6HMFxBGvc07n21cxT1Y4oPI2Zj8NKDyw/XHxG7gWABZKKImViApJssn7qkwFcUQ1uOb/1g0xmxDVNAhJRdZGP+toKWmQNo3Xa+h/TgIs+wKeklec6vBHR079q349Bbx5yXwIKbSesZHoNJZT6PIWjpJfNzIGx8QfXk+vGrnS1aMzuAEZm0DCL4c30Otqkti/orlyk1S8Qu9WAGPWD40UqgHdtZY3NTc2OzeJfUyy8mVWaIDk1T8xl+R65tv7rjSqt4XXiv7sSKEytHULRtiWqNbh9JO+v3ruhcOdNftLy4VgTF6P7lPwuYXooZXhxVHU07Gjsa25tEfZb2gtB3TItiYNv6x47fO9Jp9MKoSrT5RSjsG85Oqco0QVcgmr2vKkWmJbMTqlJozFcGPMvArhbDFr3YWHv1NUR36h8zcOJFo71Ucmf6EJpw8o1t6998fZszmYpJFK3YH3ITKDzEi6MpnA+DDeDAaIhGQhyR2zMe2h9rsEv3/aGajRmzH2KROY7QwFBnZHRqZva4KUWlNbUrV617fdPW5rY9+4+8e+L0d3dFY0olMZ5KIgQYBlLBsHgiMRhBJB6HEgkfJxUYWoABmamiRGZh4Hjsl46iKAkpVDKEcadh8HUpxrixULRIu7/a+fXW7yUctgyTJuPASGlPW8eutt2iPhPCtFihs2fn1S03oqjEg1sw9ncaScBlWm4zcX/BSOw0sw8wIcYEzjgW9DNYNIA3WREDzTCrCZRIsRT6w9BjMBLyI6DY6L9iAYsKjedqJI6OlMA9kOJEIaEqjd7ayWNhrvQnP0nKyAABAAAACgAcABwAAURGTFQACAAEAAAAAP//AAAAAAAAAAEAAAAKABwAHAABREZMVAAIAAQAAAAA//8AAAAAAAB4nGNgYX7ItIeBlYGDqYspgoGBwRtCM8YxGDH8YkADHEhsX0dfR4YFfjKdx5iP/fvDwMB8jJGFgYWBESTHJAM0k4FBgYEJAH82DWcAeJxjYGBgYmBgYAZiESDJCKZZGBLAtABQhMVPJlgs+ENccVx9cl5qQTlj57H//xkYwKLvUUU3Pl3zZo3IwkkL2+fMnDWjk6PMBWweBgAA1ZwdGgAAeJxjYGRgYGBkdC96rbQtnt/mKwMz8wugCMNDg4JrMPr/m/8yzC+YgxgYGdgZmECiAIbyDgsAAAB4nGNgZGBgPvbvD5B88f8NiGQAiqAARgCoiQaIA+gAZAAhACgAKgBXACgAIwAuACsAKgAeAABQAAALAAB4nI1SwWoTURQ9M4kmA1IrSOlCZRYuYmnqWHFRC1UbaQLa0elo0qFmMTHJJDXphDQG1J24qFIUNxFcKPgFropfICK60IU7N65046qILmq8782dmiaiMjzuee/cc+599w2A/fiGCJSoBmA9coixAl39yVhFXA1zIphRXzCOYky9z3gXDqvLjHcjoc4yjqGhvGccxwFlg7GGV/jKeLin1r6wVjxK/czgOWMFQ3jGWO3JiWIU9xjHcJ4UAdYIgfFwj1b6L4zmPxpKJ+OkH9w1lPrYbd85ZyiPvlzZWx4yFM80p8wpwVu3FixDefo4/9ZQFn+YBwV3c65z6uGb/GZ+01BwBjVUUYArVvloyHReZj/lEmYyu2W/ttrmh+zW0kZhJGfYJ9t3Ls9VYoWR2mdrXSChcNactVLjybsLNnTMwifPYt95AldxhNhJGLQmkWR0HHpYsxsX9bqap3UuWjX7e3dPM+OlCqc9jaZSxXVSp1Ch6GIF47wrEdZhES+YqjzPUAcr8AgJnStxWWYGrCs1i5LzUacoMsY5X8dZmVH8Qx2H3ZbZV7Dp7Wo5ygo6cKSPzbvAdZ762zFtWamEVTrxyKGfqxKjS9RCk2KRcusUm7hGZz7dSB/QpIn1qU6Dp0DvwLcLuhB3bZFPEROsFY5i2XJ+GXmDS7SS4TsiS2dN2aUvZ3CMtAZ9JzBNVUvk5/Z56QNu23/FDvU86cSa/u9ewviveinKa+AG9S1mW6Ee9b/9gQNzTMg3F5NzpUb4TfBbtuT0Ak2N4u8aq3InXlRMrB3M+RcxRNz8AAB4nGNgZgCD/3MYjBiwAAAqgwHRAHicY2AUYGD88o+HgYHlFEPJfzsGEGBkQAZMAHjSBJMAA+gAdATKAJoApgC/AKYAtwCYAKEAmwCmAKEAAA==) format("woff");font-display:swap}:root{--screen-font-ui: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;--screen-font-title: "Alimama ShuHeiTi", "阿里妈妈数黑体 Bold", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;--screen-font-number: "D-DIN", "D-DIN-Bold", Arial, sans-serif;--screen-color-text-primary: #ffffff;--screen-color-text-strong: #ffffff;--screen-color-text-secondary: rgba(246, 253, 255, .92);--screen-color-text-muted: rgba(242, 253, 255, .9);--screen-color-text-weak: rgba(229, 248, 255, .74);--screen-color-accent-cyan: #30dcff;--screen-color-accent-mint: #19ffc6;--screen-color-accent-water: #31dcff;--screen-color-accent-grass: #24f6c4;--screen-color-accent-gold: #8bf7ff;--screen-color-accent-orange: #48cfff;--screen-color-card-border: rgba(62, 226, 255, .5);--screen-color-card-bg: rgba(10, 52, 72, .7);--screen-color-card-header-bg: rgba(40, 124, 158, .62);--screen-color-chart-grid-line: rgba(218, 250, 255, .28);--screen-color-tooltip-bg: rgba(3, 13, 18, .92);--screen-icon-primary: #30dcff;--screen-icon-secondary: #19ffc6;--screen-icon-bg: rgba(48, 220, 255, .1);--screen-icon-border: rgba(48, 220, 255, .42);--screen-icon-glow: rgba(48, 220, 255, .22);--screen-card-title-size: 16px;--screen-card-title-line-height: 32px;--screen-card-title-weight: 600;--screen-chart-unit-size: 10px;--screen-chart-axis-size: 10px;--screen-chart-label-size: 11px;--screen-chart-tooltip-size: 12px;--screen-table-body-size: 11px;--screen-table-value-size: 12px;--screen-kpi-label-size: 14px;--screen-kpi-value-size: 31px;--screen-kpi-unit-size: 11px;--screen-popup-title-size: 20px;--screen-popup-body-size: 14px;--screen-canvas-width: 1920px;--screen-canvas-height: 1080px;--screen-side-card-width: 398px;--screen-side-card-gap: 12px;--screen-side-card-top: 128px;--screen-side-card-bottom: 8px;--screen-side-card-min-height: 227px;--screen-card-title-height: 36px;--screen-side-perspective-left: 500px;--screen-side-perspective-right: 800px;--screen-icon-size: 42px;--screen-icon-stroke-width: 1.5px}*,body{padding:0;margin:0}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;overflow:hidden}body{font-family:var(--screen-font-ui);font-size:14px;color:var(--screen-color-text-primary)}button,input,select,textarea{font:inherit} +@charset "UTF-8";html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}[tabindex="-1"]:focus{outline:none}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:D-DIN;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Bold;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:D-DIN-Italic;src:url(data:font/otf;base64,AAUWBwACAABNYWMgT1MgWCAgICAgICAgAAIAAAAJAAAAMgAAAKIAAAACAAAA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVRUUgAAAAAAAADUAAAAmAAAADwAAAAAAAAAAAAAAAAAAAABAAAAmAAAADwAABVjb20uYXBwbGUucXVhcmFudGluZQBxLzAwODE7NjQwNDljYTQ7Q2hyb21lOzIzQTc0MjRGLTNDMjEtNEI1OC05MUU2LTIzQUVGNkQ5ODMyNgA=) format("otf")}@font-face{font-family:Alibaba PuHuiTi;src:url(./AlibabaPuHuiTi-14435b65-balabala-1786807848259.woff2) format("woff2")}@font-face{font-family:Alimama ShuHeiTi;font-weight:700;src:url(./AlimamaShuHeiTi-Bold-fa4a258d-balabala-1786807848259.woff2) format("woff2"),url(./AlimamaShuHeiTi-Bold-a95023f2-balabala-1786807848259.woff) format("woff"),url(./AlimamaShuHeiTi-Bold-6401fd0d-balabala-1786807848259.ttf) format("truetype");font-display:swap}@font-face{font-family:阿里妈妈数黑体 Bold;font-weight:700;src:url(data:font/woff2;base64,d09GMk9UVE8AAAjwAA0AAAAADegAAAiiAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYx7Gx4cHgZgAHQBNgIkAxgEBgWJIAcgFyQYGhsADRHVrL8g+0iMnUfJLU+EglCodCONdUc456fyCWlXNEUsuExMoPi0DMa6gXdm0rnbJbtAef7923n3BWHzTNriDxgGBhE1L62rpbN/n1BVqbbtzFuERVmMOfa+3S2tXUJXKYrS6vgIjUKoH1RvxkRINBalEUKAw7KZG2lvQbTbMMnEghWxl9qLExii0RCGYYTGhZYiM8409e7XKt+SZok50woHDrT1YSbnB6ZM0ftVmycwmD1RlT1J/daRGnTWqwfgoP9D5XdaPy/SXe/v491PH+hLCFPfEXKLnCOp+hDjYzn6YEIZZuS8tZt2nWONhPeMOEGnYnbUscaFllyz4oQ454uT1ZuWxEaL7ax5sfWFe0Dcexd6Xpf+SqOYOnjZgwtiVjivVXb+kjxnMhtFwxRXHCAu1nPPx1pdM29EyKiMV/1S/aYb6A5uq0Oa4avbPzVhCCFEN+UMx7Saqg/1Ia6+hGhTXIhORRjiScY5TX4xcUxfZgojq/6pB6kvfZffCVVD5T3/h7KVeVXRgvxEdqt8whokVZgAAyQdnAVntMrC0Ij/OPXpazBrpf3gqoykWx9rMYJa6mqxCF2hBk1Cs7YdOkvOOCWS4ssgAaLowTd7Pm/5x6E/7RPSLTo9mpOj4ICwRdwTdTBR5NM/dfvU5ydnkAriBGk4eOF/OEtBe/rP+S+XOYhng1sHdhBNHJxAD4VhO5V0LOtYwWE4e2H1+bVn13JKw35CLG8AT+mMoFilgZKVVW6/FORUxY4RKMAmeeQLEKrCKZQolwWogIFYwRrkSngvVA5X6svDaeU6abogP6ZohDmh/BV01aJEoQnM1GIDik1wpjaJQkNllgBNpIHYhDXshr6C5I/XwQjXJX9wUfzhhsSDS5UKXSQebyj+9DHYhEtorcO3A6tWaorWZP4SWON5w7awGvwRiFkMoVDTC/rImeCB9r/oEYBf8FsEb7gTJkA3+EHfrorjE6xaiHkMLnUb8ixMREP1UH/seZAy7RYH0bUxFJ9JNeAZhj6FRsBjo3sQAXuVY0o2xYKh7TtgfT/oIa0X7kFUIxajoK1wB440YbGe8l0AFTRCFWvYN19ANQu6qV83PjwD3UI8VkMEu/XUhiO2/Rcx3AMEijxstF1ednPRfc+5J+dcnHmD2wFGHE1nbJ6xZfrWuvxQjClBr57oMnDXsD2j9nKXgGIG1EMO62EG0kt0WOqAjJKsYH71kaUnFpzj1mEMcBCzns7vtCxjdU4gP3Kl9h69h6Xm6ilJ3dp5PmLRcGn9tlW7VxzwvA4EF9G157ToQss6adEVyWPatwkY22RUdBzVZpLnatkm7ESvenweeGkvVBqEBevq80PLhlgHDeDOSrtq8jupQFRR2IAbhBm2mTbxC3B/6ChxcFRZTc4gy1InAV/RZyufrnqylnvDHh15fPTxMbV4VC8OWBu0oTa/ddSW0VvH5AzNGpY9nAMrGnHYZxaTcrGmBetWBPEbZ2ycsWEmp/SQ+7OVB+QAAdRL/676vTGJDyoOKEP1UA4yK2sIpyWriVWsECQck6xZzTxROH5qJmuQakIXAfRSNixWsvFHeKxMpoqnck0AT7wKRpDoj7QEPvzk3GVzls9e5hnNc1E8qtAJmobzYMerDXi4aIR5YMAgCEJKDX4ra9r1DlP0uv9D3WS14ENcXYnIMJR3dPP0C4qv16h1SlbuoOFjJk6bvWCpbd3mHXsPHT/z6g8HUVTHhfE6DjSGRp4VhrZbgFp2nhaT0xjdaRG6ZaCmXjynoz3QsQ1WS0KO07ExvA6N6J+ILm90wUDQDYlu06M1z5e+1mH1IRjVESP9dJvXbVy/bhOn5IBRDmG33lvzdPG7AF6nBX82pdGTgumj/BPNcWKVJ7MKlGawwZRxUI1lqLQuvJnjSJVKGPw3SwgPTpB8AGpDJy/IRg6zWczKxDCsjQ38dOAfyWN7Nrw8kf+2RouZTXXaCIMQng8fzN6iXRrhaBBC7HaCEHGxpl/mCNHiMlmVRQhpWz8ac5BE/1W2cu3m9psKJCuHz6Rz6nOfQlTvWRqiwSCEqNYcIYSIVAgytXQDYuqFGj3e40RNM3xMRtOPbhXdRvQszi8dwEw6Z7cTRA3fv+bOt1u+bHGzzbZNWLpo8cJJXP9mhFFBeCpTLXM/XVje3bHey7X6A0LIy/jSe3LA/uX3gQWdShgsVQhnIvzbBasrxyyZ/ul5AoSLlCniQWJFtUf7IZ0Q3eSwf5qZHKB4avsBQ0wVqHD5B2oNcgA0IjMdtILTB6jwNAFWad0Cjk/tAwcXyLetTjyZzmWzhpAOOwAYBqu2qtxBw8NkYLXTABw0QLY6hTOdA1M9uj6NZ+a3ym45Y1LdUhQ5uiS7rWXBxy6OvQwDBR061FboVpYyJDVlYMXirldxKEvu4ItTBreY33DWla5/JO86hjRWyCKXudh5xpEnzj+X8SozvENMRqXpUkr/DvfqJ3Tel2vMjDfV6T82vUVvtj1U+CFlKqLv5uyJ6tPyS5ff7GgioiZKFMqj4uF6inCJJ4qXKBpimn1JRL5WO8d1A7tDgcP8TimFJsmuL29V0DS3UfejSDsW/Yia6q0fs2LRKPMxKUphIcmCupUSlAXA2pG5rXr5clzI7J+y6GSJIhbXhmi/HELNdsvjaMiOqb8Pi0tTS6beTPnslB0HmbrcGFO010/TgsWar4JFwcq0tCCJTW1VjuV58hXpcn37dYleckX/uqVyiPZTOoliHjgTJlBMprbKh4bYcKwILTLpjlqNvEwTjTHzsEVGP5WPICvRooRwMl7Fq6srl05lZY5nZzGdKS4PGW2vsXUwdUfDqa+PSzbFZKlByvV66N6sxKVvZR1S+PxmFjL7x7gaYucjWTUnZJ3aKsZPFV04N1FbDf113KZWqdW+lCS6jFkwT5Ue0Vysf4Mt4jKQKpBWl/hi6xy3hu+3kM2SprIBAAA=) format("woff2"),url(data:font/woff;base64,d09GRk9UVE8AAArwAA0AAAAADegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAABMAAABcQAAAZ7T0dS20dQT1MAAAb0AAAAHgAAAB5EdEx1R1NVQgAABxQAAAAeAAAAHkR0THVPUy8yAAAHNAAAAEsAAABgrSDtt2NtYXAAAAeAAAAAUgAAAHSMNPB9aGVhZAAAB9QAAAA1AAAANiVNJkVoaGVhAAAIDAAAABwAAAAkB5wC5mhtdHgAAAgoAAAAGAAAABgEswFPbWF4cAAACEAAAAAGAAAABgALUABuYW1lAAAISAAAAlYAAASgKy85MXBvc3QAAAqgAAAAEwAAACD/nwAydmhlYQAACrQAAAAfAAAAJAJsEhZ2bXR4AAAK1AAAABoAAAAaC9IDy3icbVRrVBVVFL5zL3NmOnO9yOMQl27cQd4CiqCiCYrwo1RUfPFwtciLkF4Vr8CYklcW6KpUNChTly4tEUFQcflMa1lmig/MtMeiVai9zNaqfFTmnnEP2ow9frSaH9/Za3+zzz77O3sfzhIQYOE4jo1d4K3wVHimzV38TLl3ujclx7egzCQmuLg1Lq6hwR7p4l7hXNwqq4tbbXNxdQEYZLctwZr7fu0GHxlhec7udj2x2D7gSYuFywo0sSLIxKn2WHOZaY+xEI6r29C6++CZXN+imirvnLmKnDA7UU5LTUtLMSBdNg5R6in1yAm5c70LPYlyrm9QspynlA0ymAXyo4hquaq8urzqhfJHzr9+91bLHlmp8pSVV3iq5su+5/9lnq7yLV4kP2PU4l04R87zVngVI/DvWuV/ipXNYv/rHFvmKy0fV1a+UPEqNf+rjvHVW1+2/mb9nbST/WLnY9MdN0Pv2SycyUimeIEubq09zmUJMRTgpwRbJKtBOi0vWU5ZfuMGc/O5Bk6z3rPV2LpvazfYA792+L5f6Ct7kMy0K1po3xXBoVrjGSxRJeiCIOyCeAzDeMwi34OHV49CiF5HOnt5TCTeUTxWYAgMJ+no4fMwSA3ChoEEv41mkETeuX745733RHSTebElyTOSRS0JjrG98uGkd9JkOuOnkp/m/So61DmDmVoLEXgfugjwp+6e/eWCCKlCzLgBk+RpInyA4Ton5PsmV06uFjFBONdytrWrVdTHLGaDqAOc6mmmK+pSVRH0z75l2lT9ISYig91a3TfAHiQQ8OkXGFTDUqwWHFof/Mj6avUsrZb0tamvMq2XYBisj6MfYQiPKoEcaOJxNMEcbOLTCYzRX2OQoy7FHMFxCOYz1Y2XIAwuqW4I1t1wWaUQ/MCKwSrFy7qb9EIz60blKZoHCq/mojKUdoOSSh374ofT45CyBeIgIwLmaYUQjg//wPAo/AVvJVLH54bgJXCH/LBjMB2i8JDSC8GjxlABVqFjmBm5Aaas+1SE5JEYh9fU4XAN465CNlDM7oFEOKK/rxcTnOOfOAmzImGWuov1QFK2gEkwgX0Ox3MEzNRvM7BCNloFx9sbGdoEkNbe7PjyNJTEhrdAotD5Yfvx5qPnMSEcGEEKHc0Xtn2y+QvnGyfXn2+6LO6HMFxBGvc07n21cxT1Y4oPI2Zj8NKDyw/XHxG7gWABZKKImViApJssn7qkwFcUQ1uOb/1g0xmxDVNAhJRdZGP+toKWmQNo3Xa+h/TgIs+wKeklec6vBHR079q349Bbx5yXwIKbSesZHoNJZT6PIWjpJfNzIGx8QfXk+vGrnS1aMzuAEZm0DCL4c30Otqkti/orlyk1S8Qu9WAGPWD40UqgHdtZY3NTc2OzeJfUyy8mVWaIDk1T8xl+R65tv7rjSqt4XXiv7sSKEytHULRtiWqNbh9JO+v3ruhcOdNftLy4VgTF6P7lPwuYXooZXhxVHU07Gjsa25tEfZb2gtB3TItiYNv6x47fO9Jp9MKoSrT5RSjsG85Oqco0QVcgmr2vKkWmJbMTqlJozFcGPMvArhbDFr3YWHv1NUR36h8zcOJFo71Ucmf6EJpw8o1t6998fZszmYpJFK3YH3ITKDzEi6MpnA+DDeDAaIhGQhyR2zMe2h9rsEv3/aGajRmzH2KROY7QwFBnZHRqZva4KUWlNbUrV617fdPW5rY9+4+8e+L0d3dFY0olMZ5KIgQYBlLBsHgiMRhBJB6HEgkfJxUYWoABmamiRGZh4Hjsl46iKAkpVDKEcadh8HUpxrixULRIu7/a+fXW7yUctgyTJuPASGlPW8eutt2iPhPCtFihs2fn1S03oqjEg1sw9ncaScBlWm4zcX/BSOw0sw8wIcYEzjgW9DNYNIA3WREDzTCrCZRIsRT6w9BjMBLyI6DY6L9iAYsKjedqJI6OlMA9kOJEIaEqjd7ayWNhrvQnP0nKyAABAAAACgAcABwAAURGTFQACAAEAAAAAP//AAAAAAAAAAEAAAAKABwAHAABREZMVAAIAAQAAAAA//8AAAAAAAB4nGNgYX7ItIeBlYGDqYspgoGBwRtCM8YxGDH8YkADHEhsX0dfR4YFfjKdx5iP/fvDwMB8jJGFgYWBESTHJAM0k4FBgYEJAH82DWcAeJxjYGBgYmBgYAZiESDJCKZZGBLAtABQhMVPJlgs+ENccVx9cl5qQTlj57H//xkYwKLvUUU3Pl3zZo3IwkkL2+fMnDWjk6PMBWweBgAA1ZwdGgAAeJxjYGRgYGBkdC96rbQtnt/mKwMz8wugCMNDg4JrMPr/m/8yzC+YgxgYGdgZmECiAIbyDgsAAAB4nGNgZGBgPvbvD5B88f8NiGQAiqAARgCoiQaIA+gAZAAhACgAKgBXACgAIwAuACsAKgAeAABQAAALAAB4nI1SwWoTURQ9M4kmA1IrSOlCZRYuYmnqWHFRC1UbaQLa0elo0qFmMTHJJDXphDQG1J24qFIUNxFcKPgFropfICK60IU7N65046qILmq8782dmiaiMjzuee/cc+599w2A/fiGCJSoBmA9coixAl39yVhFXA1zIphRXzCOYky9z3gXDqvLjHcjoc4yjqGhvGccxwFlg7GGV/jKeLin1r6wVjxK/czgOWMFQ3jGWO3JiWIU9xjHcJ4UAdYIgfFwj1b6L4zmPxpKJ+OkH9w1lPrYbd85ZyiPvlzZWx4yFM80p8wpwVu3FixDefo4/9ZQFn+YBwV3c65z6uGb/GZ+01BwBjVUUYArVvloyHReZj/lEmYyu2W/ttrmh+zW0kZhJGfYJ9t3Ls9VYoWR2mdrXSChcNactVLjybsLNnTMwifPYt95AldxhNhJGLQmkWR0HHpYsxsX9bqap3UuWjX7e3dPM+OlCqc9jaZSxXVSp1Ch6GIF47wrEdZhES+YqjzPUAcr8AgJnStxWWYGrCs1i5LzUacoMsY5X8dZmVH8Qx2H3ZbZV7Dp7Wo5ygo6cKSPzbvAdZ762zFtWamEVTrxyKGfqxKjS9RCk2KRcusUm7hGZz7dSB/QpIn1qU6Dp0DvwLcLuhB3bZFPEROsFY5i2XJ+GXmDS7SS4TsiS2dN2aUvZ3CMtAZ9JzBNVUvk5/Z56QNu23/FDvU86cSa/u9ewviveinKa+AG9S1mW6Ee9b/9gQNzTMg3F5NzpUb4TfBbtuT0Ak2N4u8aq3InXlRMrB3M+RcxRNz8AAB4nGNgZgCD/3MYjBiwAAAqgwHRAHicY2AUYGD88o+HgYHlFEPJfzsGEGBkQAZMAHjSBJMAA+gAdATKAJoApgC/AKYAtwCYAKEAmwCmAKEAAA==) format("woff");font-display:swap}:root{--screen-font-ui: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;--screen-font-title: "Alimama ShuHeiTi", "阿里妈妈数黑体 Bold", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;--screen-font-number: "D-DIN", "D-DIN-Bold", Arial, sans-serif;--screen-color-text-primary: #ffffff;--screen-color-text-strong: #ffffff;--screen-color-text-secondary: rgba(246, 253, 255, .92);--screen-color-text-muted: rgba(242, 253, 255, .9);--screen-color-text-weak: rgba(229, 248, 255, .74);--screen-color-accent-cyan: #30dcff;--screen-color-accent-mint: #19ffc6;--screen-color-accent-water: #31dcff;--screen-color-accent-grass: #24f6c4;--screen-color-accent-gold: #8bf7ff;--screen-color-accent-orange: #48cfff;--screen-color-card-border: rgba(62, 226, 255, .5);--screen-color-card-bg: rgba(10, 52, 72, .7);--screen-color-card-header-bg: rgba(40, 124, 158, .62);--screen-color-chart-grid-line: rgba(218, 250, 255, .28);--screen-color-tooltip-bg: rgba(3, 13, 18, .92);--screen-icon-primary: #30dcff;--screen-icon-secondary: #19ffc6;--screen-icon-bg: rgba(48, 220, 255, .1);--screen-icon-border: rgba(48, 220, 255, .42);--screen-icon-glow: rgba(48, 220, 255, .22);--screen-card-title-size: 16px;--screen-card-title-line-height: 32px;--screen-card-title-weight: 600;--screen-chart-unit-size: 10px;--screen-chart-axis-size: 10px;--screen-chart-label-size: 11px;--screen-chart-tooltip-size: 12px;--screen-table-body-size: 11px;--screen-table-value-size: 12px;--screen-kpi-label-size: 14px;--screen-kpi-value-size: 31px;--screen-kpi-unit-size: 11px;--screen-popup-title-size: 20px;--screen-popup-body-size: 14px;--screen-canvas-width: 1920px;--screen-canvas-height: 1080px;--screen-side-card-width: 398px;--screen-side-card-gap: 12px;--screen-side-card-top: 128px;--screen-side-card-bottom: 8px;--screen-side-card-min-height: 227px;--screen-card-title-height: 36px;--screen-side-perspective-left: 500px;--screen-side-perspective-right: 800px;--screen-icon-size: 42px;--screen-icon-stroke-width: 1.5px}*,body{padding:0;margin:0}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;overflow:hidden}body{font-family:var(--screen-font-ui);font-size:14px;color:var(--screen-color-text-primary)}button,input,select,textarea{font:inherit} diff --git a/docs/assets/index-e38950d5-1786725044461.js b/docs/assets/index-693b4119-1786807848259.js similarity index 95% rename from docs/assets/index-e38950d5-1786725044461.js rename to docs/assets/index-693b4119-1786807848259.js index 1d459b9..68634dd 100644 --- a/docs/assets/index-e38950d5-1786725044461.js +++ b/docs/assets/index-693b4119-1786807848259.js @@ -1,2 +1,2 @@ -import{H as Q}from"./index.esm.min-90d27a39-1786725044461.js";import{_ as U}from"./index-262a2c3c-1786725044461.js";import{M as X}from"./screen2Standard-3427eaf8-1786725044461.js";import{c as $,a as Y,b as ee,d as x,w as h,e as o,f as v,g as z,h as te,i as ae,v as ne,j as p,k as oe}from"./chartTheme-31546a07-1786725044461.js";import{_ as re}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{o as i,c as s,a as t,F as u,y as m,u as B,K as g,b as L,x as O,n as F,C as le,j as N,t as l,B as y}from"./index-1786725044461.js";import"./index-db918426-1786725044461.js";const ie={class:"chart-guide-screen"},se={class:"guide-header"},ue={class:"guide-palette","aria-label":"系统图表色板"},ce={class:"guide-layout"},de={class:"guide-chart-grid","aria-label":"系统图表示例"},me={class:"guide-three-pie-visual"},ge={class:"guide-three-pie-center"},pe={class:"guide-three-pie-legend"},he={class:"guide-band"},ve={class:"guide-band-list"},be={class:"guide-warning-core"},ye={class:"guide-warning-list"},fe={__name:"index",setup(ke){const P=o,f={standard:{width:398,height:190,label:"398x190"},tall:{width:398,height:392,label:"398x392"}},R=["瓦切镇","安曲镇","邛溪镇","龙日镇","刷经寺镇","麦洼乡","查尔玛乡"],W=[{name:"瓦切镇",value:74721},{name:"安曲镇",value:65780},{name:"邛溪镇",value:63466},{name:"龙日镇",value:54691},{name:"刷经寺镇",value:45940},{name:"麦洼乡",value:38202},{name:"查尔玛乡",value:31766}],G=["草地","湿地","林地","牧场","保护地"],k=["1月","2月","3月","4月","5月","6月","7月","8月"],A=[{key:"bar-vertical",title:"林草湿资源面积",unit:"单位:万亩",option:$({categories:G,rows:[{name:"草地",value:486.2},{name:"湿地",value:82.4},{name:"林地",value:126.8},{name:"牧场",value:58.6},{name:"保护地",value:214.5}],unit:"万亩",name:"资源面积",showLabel:!1,grid:{left:40,right:16,top:18,bottom:34}})},{key:"bar-horizontal",title:"乡镇牦牛存栏排行",unit:"单位:头",option:$({categories:R.slice(0,5),rows:W.slice(0,5),unit:"头",name:"牦牛存栏",orientation:"horizontal",colorIndex:1,grid:{left:58,right:54,top:16,bottom:18}})},{key:"grouped-bar",title:"林草湿年度对比",unit:"单位:万亩",option:Y({categories:["2021","2022","2023","2024","2025"],unit:"万亩",series:[{name:"草地",values:[472,476,481,486,489]},{name:"湿地",values:[76,79,81,82,84]},{name:"林地",values:[119,121,124,127,130]}],grid:{left:38,right:14,top:34,bottom:32}})},{key:"stacked-bar",title:"草地利用结构",unit:"单位:万亩",option:ee({categories:["瓦切","安曲","邛溪","龙日","刷经寺"],unit:"万亩",series:[{name:"可利用草地",values:[66,52,48,44,38]},{name:"禁牧草地",values:[18,21,16,13,12]},{name:"退化治理",values:[9,7,8,6,5]}],grid:{left:38,right:14,top:34,bottom:32}})},{key:"line-trend",title:"牦牛存栏趋势",unit:"单位:万头",option:x({categories:k,unit:"万头",series:[{name:"2025年",values:[45.2,45.8,46.4,47.1,48.3,49.1,49.8,50.2]},{name:"2024年",values:[42.9,43.5,44.2,44.8,45.9,46.5,47.1,47.7]}],grid:{left:38,right:14,top:34,bottom:30}})},{key:"area-line",title:"草地产草量走势",unit:"单位:万吨",option:x({categories:k,unit:"万吨",area:!0,series:[{name:"鲜草产量",values:[12.4,14.1,19.8,28.6,36.2,43.5,46.8,41.2]}],grid:{left:38,right:14,top:34,bottom:30}})},{key:"three-pie",title:"草牧资源结构",unit:"3D饼图",visual:"three-pie"},{key:"donut",title:"湿地类型结构",unit:"单位:%",option:I({unit:"万亩",name:"湿地结构",rows:[{name:"沼泽湿地",value:36.8},{name:"河流湿地",value:21.3},{name:"湖泊湿地",value:14.6},{name:"人工湿地",value:9.7}]})},{key:"rose",title:"林地类型占比",unit:"单位:%",option:j()},{key:"pictorial-column",title:"乡镇草地光柱",unit:"单位:万亩",option:E()},{key:"gauge",title:"草畜平衡预警",unit:"单位:分",option:K()},{key:"progress-ring",title:"治理任务完成率",unit:"单位:%",option:Z()},{key:"structure-band",title:"资源结构占比",unit:"单位:%",visual:"structure-band"},{key:"rank-list",title:"重点对象排行",unit:"单位:项",visual:"rank-list"},{key:"warning-band",title:"风险状态分布",unit:"单位:项",visual:"warning-band"},{key:"target-stack",title:"年度目标达成",unit:"单位:%",visual:"target-stack"}],w=["#17E6C3","#40CFFF","#1979FF","#FFC472"],b=[{name:"草地",value:486.2,unit:"万亩"},{name:"湿地",value:82.4,unit:"万亩"},{name:"林地",value:126.8,unit:"万亩"},{name:"保护地",value:214.5,unit:"万亩"}],_=[{name:"草地",percent:52,color:o[0]},{name:"林地",percent:24,color:o[1]},{name:"湿地",percent:14,color:o[2]},{name:"保护地",percent:10,color:o[3]}],V=[{name:"瓦切镇",value:"74,721",percent:100},{name:"安曲镇",value:"65,780",percent:88},{name:"邛溪镇",value:"63,466",percent:85},{name:"龙日镇",value:"54,691",percent:73}],S={name:"中低风险占比",value:"86%"},M=[{name:"正常",value:"128",percent:100,color:o[0]},{name:"关注",value:"36",percent:45,color:o[2]},{name:"预警",value:"12",percent:18,color:o[4]}],T=[{name:"草地修复",percent:92,color:o[0]},{name:"湿地巡护",percent:86,color:o[1]},{name:"林地管护",percent:78,color:o[2]},{name:"风险处置",percent:94,color:o[3]}];function D(r){return`C${String(r+1).padStart(2,"0")}`}function C(r){return f[r.size||"standard"]||f.standard}function H(r={}){const n=b.reduce((c,e)=>c+(Number(e.value)||0),0)||1;return`${((Number(r.value)||0)/n*100).toFixed(1)}%`}function I({rows:r=[],unit:n="",name:a="结构占比"}={}){const c=r.reduce((e,d)=>e+(Number(d.value)||0),0)||1;return h({color:o,tooltip:v(e=>`${e.marker}${e.name}:${p(e.value)}${n}
    占比:${p(e.percent)}%`),legend:z({orient:"vertical",right:12,top:"middle",itemWidth:8,itemHeight:8,itemGap:8,formatter:e=>{const d=r.find(J=>J.name===e),q=d?Math.round((Number(d.value)||0)/c*100):0;return`${e} ${q}%`}}),series:[{name:a,type:"pie",radius:["48%","68%"],center:["34%","52%"],avoidLabelOverlap:!0,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.94)",borderWidth:3},data:r.map((e,d)=>({name:e.name,value:Number(e.value)||0,itemStyle:{color:e.color||o[d%o.length]}}))}]})}function j(){const r=[{name:"乔木林地",value:42.6},{name:"灌木林地",value:35.2},{name:"疏林地",value:18.4},{name:"未成林地",value:8.7}];return h({color:o,tooltip:v(n=>`${n.marker}${n.name}:${p(n.value)}万亩
    占比:${p(n.percent)}%`),legend:z({orient:"vertical",right:8,top:"middle",itemWidth:8,itemHeight:8,itemGap:7}),series:[{name:"林地类型",type:"pie",roseType:"radius",radius:[14,"64%"],center:["34%","54%"],avoidLabelOverlap:!0,itemStyle:{borderColor:"rgba(3, 18, 31, 0.94)",borderWidth:3,shadowBlur:10,shadowColor:"rgba(0, 0, 0, 0.25)"},label:{color:"#f7feff",fontSize:10,formatter:({percent:n})=>n>=8?`${Math.round(n)}%`:""},labelLine:{length:7,length2:6,lineStyle:{color:"rgba(223, 250, 255, 0.38)"}},data:r}]})}function E(){const r=["瓦切","安曲","邛溪","龙日","刷经寺"],n=[486,372,318,246,205],a=520;return h({color:o,grid:te({left:40,right:18,top:22,bottom:34}),tooltip:v(c=>`${c.name}:${p(c.value)}万亩`,{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{color:"rgba(48, 220, 255, 0.08)"}}}),xAxis:ae(r),yAxis:ne(),series:[{name:"底柱",type:"bar",barWidth:24,barGap:"-100%",data:n.map(()=>a),tooltip:{show:!1},silent:!0,itemStyle:{borderRadius:[8,8,0,0],borderColor:"rgba(48, 220, 255, 0.2)",borderWidth:1,color:"rgba(48, 220, 255, 0.08)"}},{name:"草地面积",type:"bar",barWidth:13,barGap:"-76%",z:3,data:n,label:{show:!0,position:"top",color:"#ffffff",fontSize:10,formatter:({value:c})=>p(c)},itemStyle:{borderRadius:[8,8,1,1],color:oe(o[0]),shadowBlur:10,shadowColor:"rgba(36, 246, 196, 0.28)"}},{name:"顶部高光",type:"pictorialBar",symbol:"diamond",symbolSize:[21,6],symbolOffset:[0,-4],symbolPosition:"end",z:5,tooltip:{show:!1},data:n,itemStyle:{color:"rgba(232, 255, 255, 0.9)",shadowBlur:9,shadowColor:"rgba(48, 220, 255, 0.7)"}}]})}function K(){return h({series:[{type:"gauge",startAngle:210,endAngle:-30,min:0,max:100,radius:"88%",center:["50%","58%"],progress:{show:!0,width:12,itemStyle:{color:o[2]}},axisLine:{lineStyle:{width:12,color:[[.55,"rgba(36, 246, 196, 0.42)"],[.8,"rgba(255, 224, 107, 0.42)"],[1,"rgba(255, 154, 98, 0.42)"]]}},axisTick:{show:!1},splitLine:{length:7,lineStyle:{color:"rgba(225, 249, 255, 0.36)",width:1}},axisLabel:{show:!1},pointer:{icon:"path://M4 0 L-4 0 L0 -62 Z",width:8,length:"56%",itemStyle:{color:"#ffe06b",shadowBlur:8,shadowColor:"rgba(255, 224, 107, 0.45)"}},anchor:{show:!0,size:7,itemStyle:{color:"#ffe06b"}},title:{offsetCenter:[0,"52%"],color:"rgba(225, 249, 255, 0.7)",fontSize:12},detail:{valueAnimation:!0,offsetCenter:[0,"26%"],color:"#ffe06b",fontSize:27,fontWeight:700,formatter:"{value}"},data:[{value:78,name:"中度预警"}]}]})}function Z(){return h({tooltip:v(r=>`${r.marker}${r.name}:${r.value}%`),series:[{type:"pie",radius:["62%","76%"],center:["50%","52%"],silent:!0,label:{show:!1},data:[{name:"已完成",value:72,itemStyle:{color:o[0]}},{name:"未完成",value:28,itemStyle:{color:"rgba(48, 220, 255, .12)"}}]},{type:"pie",radius:["42%","46%"],center:["50%","52%"],silent:!0,label:{position:"center",formatter:`72% +import{H as Q}from"./index.esm.min-024ee703-1786807848259.js";import{_ as U}from"./index-0eddac6c-1786807848259.js";import{M as X}from"./screen2Standard-03f7f908-1786807848259.js";import{c as $,a as Y,b as ee,d as x,w as h,e as o,f as v,g as z,h as te,i as ae,v as ne,j as p,k as oe}from"./chartTheme-7114e4ea-1786807848259.js";import{_ as re}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{o as i,c as s,a as t,F as u,y as m,u as B,K as g,b as L,x as O,n as F,C as le,j as N,t as l,B as y}from"./index-1786807848259.js";import"./index-db918426-1786807848259.js";const ie={class:"chart-guide-screen"},se={class:"guide-header"},ue={class:"guide-palette","aria-label":"系统图表色板"},ce={class:"guide-layout"},de={class:"guide-chart-grid","aria-label":"系统图表示例"},me={class:"guide-three-pie-visual"},ge={class:"guide-three-pie-center"},pe={class:"guide-three-pie-legend"},he={class:"guide-band"},ve={class:"guide-band-list"},be={class:"guide-warning-core"},ye={class:"guide-warning-list"},fe={__name:"index",setup(ke){const P=o,f={standard:{width:398,height:190,label:"398x190"},tall:{width:398,height:392,label:"398x392"}},R=["瓦切镇","安曲镇","邛溪镇","龙日镇","刷经寺镇","麦洼乡","查尔玛乡"],W=[{name:"瓦切镇",value:74721},{name:"安曲镇",value:65780},{name:"邛溪镇",value:63466},{name:"龙日镇",value:54691},{name:"刷经寺镇",value:45940},{name:"麦洼乡",value:38202},{name:"查尔玛乡",value:31766}],G=["草地","湿地","林地","牧场","保护地"],k=["1月","2月","3月","4月","5月","6月","7月","8月"],A=[{key:"bar-vertical",title:"林草湿资源面积",unit:"单位:万亩",option:$({categories:G,rows:[{name:"草地",value:486.2},{name:"湿地",value:82.4},{name:"林地",value:126.8},{name:"牧场",value:58.6},{name:"保护地",value:214.5}],unit:"万亩",name:"资源面积",showLabel:!1,grid:{left:40,right:16,top:18,bottom:34}})},{key:"bar-horizontal",title:"乡镇牦牛存栏排行",unit:"单位:头",option:$({categories:R.slice(0,5),rows:W.slice(0,5),unit:"头",name:"牦牛存栏",orientation:"horizontal",colorIndex:1,grid:{left:58,right:54,top:16,bottom:18}})},{key:"grouped-bar",title:"林草湿年度对比",unit:"单位:万亩",option:Y({categories:["2021","2022","2023","2024","2025"],unit:"万亩",series:[{name:"草地",values:[472,476,481,486,489]},{name:"湿地",values:[76,79,81,82,84]},{name:"林地",values:[119,121,124,127,130]}],grid:{left:38,right:14,top:34,bottom:32}})},{key:"stacked-bar",title:"草地利用结构",unit:"单位:万亩",option:ee({categories:["瓦切","安曲","邛溪","龙日","刷经寺"],unit:"万亩",series:[{name:"可利用草地",values:[66,52,48,44,38]},{name:"禁牧草地",values:[18,21,16,13,12]},{name:"退化治理",values:[9,7,8,6,5]}],grid:{left:38,right:14,top:34,bottom:32}})},{key:"line-trend",title:"牦牛存栏趋势",unit:"单位:万头",option:x({categories:k,unit:"万头",series:[{name:"2025年",values:[45.2,45.8,46.4,47.1,48.3,49.1,49.8,50.2]},{name:"2024年",values:[42.9,43.5,44.2,44.8,45.9,46.5,47.1,47.7]}],grid:{left:38,right:14,top:34,bottom:30}})},{key:"area-line",title:"草地产草量走势",unit:"单位:万吨",option:x({categories:k,unit:"万吨",area:!0,series:[{name:"鲜草产量",values:[12.4,14.1,19.8,28.6,36.2,43.5,46.8,41.2]}],grid:{left:38,right:14,top:34,bottom:30}})},{key:"three-pie",title:"草牧资源结构",unit:"3D饼图",visual:"three-pie"},{key:"donut",title:"湿地类型结构",unit:"单位:%",option:I({unit:"万亩",name:"湿地结构",rows:[{name:"沼泽湿地",value:36.8},{name:"河流湿地",value:21.3},{name:"湖泊湿地",value:14.6},{name:"人工湿地",value:9.7}]})},{key:"rose",title:"林地类型占比",unit:"单位:%",option:j()},{key:"pictorial-column",title:"乡镇草地光柱",unit:"单位:万亩",option:E()},{key:"gauge",title:"草畜平衡预警",unit:"单位:分",option:K()},{key:"progress-ring",title:"治理任务完成率",unit:"单位:%",option:Z()},{key:"structure-band",title:"资源结构占比",unit:"单位:%",visual:"structure-band"},{key:"rank-list",title:"重点对象排行",unit:"单位:项",visual:"rank-list"},{key:"warning-band",title:"风险状态分布",unit:"单位:项",visual:"warning-band"},{key:"target-stack",title:"年度目标达成",unit:"单位:%",visual:"target-stack"}],w=["#17E6C3","#40CFFF","#1979FF","#FFC472"],b=[{name:"草地",value:486.2,unit:"万亩"},{name:"湿地",value:82.4,unit:"万亩"},{name:"林地",value:126.8,unit:"万亩"},{name:"保护地",value:214.5,unit:"万亩"}],_=[{name:"草地",percent:52,color:o[0]},{name:"林地",percent:24,color:o[1]},{name:"湿地",percent:14,color:o[2]},{name:"保护地",percent:10,color:o[3]}],V=[{name:"瓦切镇",value:"74,721",percent:100},{name:"安曲镇",value:"65,780",percent:88},{name:"邛溪镇",value:"63,466",percent:85},{name:"龙日镇",value:"54,691",percent:73}],S={name:"中低风险占比",value:"86%"},M=[{name:"正常",value:"128",percent:100,color:o[0]},{name:"关注",value:"36",percent:45,color:o[2]},{name:"预警",value:"12",percent:18,color:o[4]}],T=[{name:"草地修复",percent:92,color:o[0]},{name:"湿地巡护",percent:86,color:o[1]},{name:"林地管护",percent:78,color:o[2]},{name:"风险处置",percent:94,color:o[3]}];function D(r){return`C${String(r+1).padStart(2,"0")}`}function C(r){return f[r.size||"standard"]||f.standard}function H(r={}){const n=b.reduce((c,e)=>c+(Number(e.value)||0),0)||1;return`${((Number(r.value)||0)/n*100).toFixed(1)}%`}function I({rows:r=[],unit:n="",name:a="结构占比"}={}){const c=r.reduce((e,d)=>e+(Number(d.value)||0),0)||1;return h({color:o,tooltip:v(e=>`${e.marker}${e.name}:${p(e.value)}${n}
    占比:${p(e.percent)}%`),legend:z({orient:"vertical",right:12,top:"middle",itemWidth:8,itemHeight:8,itemGap:8,formatter:e=>{const d=r.find(J=>J.name===e),q=d?Math.round((Number(d.value)||0)/c*100):0;return`${e} ${q}%`}}),series:[{name:a,type:"pie",radius:["48%","68%"],center:["34%","52%"],avoidLabelOverlap:!0,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.94)",borderWidth:3},data:r.map((e,d)=>({name:e.name,value:Number(e.value)||0,itemStyle:{color:e.color||o[d%o.length]}}))}]})}function j(){const r=[{name:"乔木林地",value:42.6},{name:"灌木林地",value:35.2},{name:"疏林地",value:18.4},{name:"未成林地",value:8.7}];return h({color:o,tooltip:v(n=>`${n.marker}${n.name}:${p(n.value)}万亩
    占比:${p(n.percent)}%`),legend:z({orient:"vertical",right:8,top:"middle",itemWidth:8,itemHeight:8,itemGap:7}),series:[{name:"林地类型",type:"pie",roseType:"radius",radius:[14,"64%"],center:["34%","54%"],avoidLabelOverlap:!0,itemStyle:{borderColor:"rgba(3, 18, 31, 0.94)",borderWidth:3,shadowBlur:10,shadowColor:"rgba(0, 0, 0, 0.25)"},label:{color:"#f7feff",fontSize:10,formatter:({percent:n})=>n>=8?`${Math.round(n)}%`:""},labelLine:{length:7,length2:6,lineStyle:{color:"rgba(223, 250, 255, 0.38)"}},data:r}]})}function E(){const r=["瓦切","安曲","邛溪","龙日","刷经寺"],n=[486,372,318,246,205],a=520;return h({color:o,grid:te({left:40,right:18,top:22,bottom:34}),tooltip:v(c=>`${c.name}:${p(c.value)}万亩`,{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{color:"rgba(48, 220, 255, 0.08)"}}}),xAxis:ae(r),yAxis:ne(),series:[{name:"底柱",type:"bar",barWidth:24,barGap:"-100%",data:n.map(()=>a),tooltip:{show:!1},silent:!0,itemStyle:{borderRadius:[8,8,0,0],borderColor:"rgba(48, 220, 255, 0.2)",borderWidth:1,color:"rgba(48, 220, 255, 0.08)"}},{name:"草地面积",type:"bar",barWidth:13,barGap:"-76%",z:3,data:n,label:{show:!0,position:"top",color:"#ffffff",fontSize:10,formatter:({value:c})=>p(c)},itemStyle:{borderRadius:[8,8,1,1],color:oe(o[0]),shadowBlur:10,shadowColor:"rgba(36, 246, 196, 0.28)"}},{name:"顶部高光",type:"pictorialBar",symbol:"diamond",symbolSize:[21,6],symbolOffset:[0,-4],symbolPosition:"end",z:5,tooltip:{show:!1},data:n,itemStyle:{color:"rgba(232, 255, 255, 0.9)",shadowBlur:9,shadowColor:"rgba(48, 220, 255, 0.7)"}}]})}function K(){return h({series:[{type:"gauge",startAngle:210,endAngle:-30,min:0,max:100,radius:"88%",center:["50%","58%"],progress:{show:!0,width:12,itemStyle:{color:o[2]}},axisLine:{lineStyle:{width:12,color:[[.55,"rgba(36, 246, 196, 0.42)"],[.8,"rgba(255, 224, 107, 0.42)"],[1,"rgba(255, 154, 98, 0.42)"]]}},axisTick:{show:!1},splitLine:{length:7,lineStyle:{color:"rgba(225, 249, 255, 0.36)",width:1}},axisLabel:{show:!1},pointer:{icon:"path://M4 0 L-4 0 L0 -62 Z",width:8,length:"56%",itemStyle:{color:"#ffe06b",shadowBlur:8,shadowColor:"rgba(255, 224, 107, 0.45)"}},anchor:{show:!0,size:7,itemStyle:{color:"#ffe06b"}},title:{offsetCenter:[0,"52%"],color:"rgba(225, 249, 255, 0.7)",fontSize:12},detail:{valueAnimation:!0,offsetCenter:[0,"26%"],color:"#ffe06b",fontSize:27,fontWeight:700,formatter:"{value}"},data:[{value:78,name:"中度预警"}]}]})}function Z(){return h({tooltip:v(r=>`${r.marker}${r.name}:${r.value}%`),series:[{type:"pie",radius:["62%","76%"],center:["50%","52%"],silent:!0,label:{show:!1},data:[{name:"已完成",value:72,itemStyle:{color:o[0]}},{name:"未完成",value:28,itemStyle:{color:"rgba(48, 220, 255, .12)"}}]},{type:"pie",radius:["42%","46%"],center:["50%","52%"],silent:!0,label:{position:"center",formatter:`72% 完成`,color:"#ffe06b",fontSize:22,lineHeight:30,fontWeight:700},data:[{value:1,itemStyle:{color:"rgba(255, 224, 107, .28)"}}]}]})}return(r,n)=>(i(),s("div",ie,[n[1]||(n[1]=t("div",{class:"guide-bg guide-bg-grid"},null,-1)),n[2]||(n[2]=t("div",{class:"guide-bg guide-bg-glow"},null,-1)),t("header",se,[n[0]||(n[0]=t("div",null,[t("div",{class:"guide-kicker"},"Chart Style System"),t("h1",null,"图表样式规范")],-1)),t("div",ue,[(i(!0),s(u,null,m(B(P),a=>(i(),s("span",{key:a,style:g({background:a})},null,4))),128))])]),t("main",ce,[t("section",de,[(i(),s(u,null,m(A,(a,c)=>L(U,{key:a.key,class:F(["guide-chart-card",`is-${a.size||"standard"}`]),width:C(a).width,height:C(a).height,title:`${D(c)} ${a.title}`,"data-unit":a.unit},{default:O(()=>[t("div",{class:F(["guide-card-content",a.visual?`is-${a.visual}`:""])},[a.option?(i(),le(B(Q),{key:0,class:"guide-chart",option:a.option,autoresize:""},null,8,["option"])):N("",!0),a.visual==="three-pie"?(i(),s(u,{key:1},[t("div",me,[L(X,{data:b,colors:w,delay:3e3,opacity:.62,class:"guide-three-pie"},{default:O(({data:e})=>[t("div",ge,[t("strong",null,l(H(e)),1),t("span",null,l((e==null?void 0:e.name)||"结构占比"),1)])]),_:1})]),t("div",pe,[(i(),s(u,null,m(b,(e,d)=>t("div",{key:e.name},[t("i",{style:g({borderColor:w[d]})},null,4),t("span",null,l(e.name),1),t("strong",null,[y(l(e.value),1),t("em",null,l(e.unit),1)])])),64))])],64)):a.visual==="structure-band"?(i(),s(u,{key:2},[t("div",he,[(i(),s(u,null,m(_,e=>t("i",{key:e.name,style:g({width:`${e.percent}%`,background:e.color})},null,4)),64))]),t("div",ve,[(i(),s(u,null,m(_,e=>t("div",{key:e.name},[t("span",null,[t("i",{style:g({background:e.color})},null,4),y(l(e.name),1)]),t("strong",null,l(e.percent)+"%",1)])),64))])],64)):a.visual==="rank-list"?(i(),s(u,{key:3},m(V,(e,d)=>t("div",{key:e.name,class:"guide-rank-row"},[t("span",null,l(d+1),1),t("em",null,l(e.name),1),t("i",null,[t("b",{style:g({width:`${e.percent}%`})},null,4)]),t("strong",null,l(e.value),1)])),64)):a.visual==="warning-band"?(i(),s(u,{key:4},[t("div",be,[t("strong",null,l(S.value),1),t("span",null,l(S.name),1)]),t("div",ye,[(i(),s(u,null,m(M,e=>t("div",{key:e.name},[t("span",null,[t("i",{style:g({background:e.color})},null,4),y(l(e.name),1)]),t("em",null,l(e.value),1),t("b",null,[t("i",{style:g({width:`${e.percent}%`,background:e.color})},null,4)])])),64))])],64)):a.visual==="target-stack"?(i(),s(u,{key:5},m(T,e=>t("div",{key:e.name,class:"guide-target-row"},[t("span",null,l(e.name),1),t("b",null,[t("i",{style:g({width:`${e.percent}%`,background:e.color})},null,4)]),t("strong",null,l(e.percent)+"%",1)])),64)):N("",!0)],2)]),_:2},1032,["class","width","height","title","data-unit"])),64))])])]))}},Be=re(fe,[["__scopeId","data-v-1d923a5c"]]);export{Be as default}; diff --git a/docs/assets/index-6a29b2f9-1786725044461.js b/docs/assets/index-6a29b2f9-1786725044461.js deleted file mode 100644 index e0d79e12..0000000 --- a/docs/assets/index-6a29b2f9-1786725044461.js +++ /dev/null @@ -1,115 +0,0 @@ -var Jn=Object.defineProperty,Zn=Object.defineProperties;var Xn=Object.getOwnPropertyDescriptors;var uo=Object.getOwnPropertySymbols;var ei=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable;var co=(y,n,i)=>n in y?Jn(y,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):y[n]=i,G=(y,n)=>{for(var i in n||(n={}))ei.call(n,i)&&co(y,i,n[i]);if(uo)for(var i of uo(n))ti.call(n,i)&&co(y,i,n[i]);return y},j=(y,n)=>Zn(y,Xn(n));var fe=(y,n,i)=>new Promise((l,s)=>{var f=h=>{try{m(i.next(h))}catch(b){s(b)}},g=h=>{try{m(i.throw(h))}catch(b){s(b)}},m=h=>h.done?l(h.value):Promise.resolve(h.value).then(f,g);m((i=i.apply(y,n)).next())});import{h as Oo,w as pt,o as T,c as O,a as x,d as B,a2 as ai,k as oi,a3 as ni,g as E,q as ii,A as U,a4 as ct,t as V,j as K,s as fo,v as ho,b as ia,C as Me,K as dt,u as ft,F as We,y as Ke,x as ra,B as ri,n as ht,e as Ot,f as Pe,a5 as si,L as Bt}from"./index-1786725044461.js";import{l as mo,g as li,E as ui}from"./live-scene-1-225090aa-1786725044461.js";import{H as po}from"./index.esm.min-90d27a39-1786725044461.js";import{_ as go}from"./index-262a2c3c-1786725044461.js";import{h as ci,a as Bo,g as sa,C as di,H as fi,b as hi,f as mi,c as pi,d as gi,M as vi}from"./index-151544a4-1786725044461.js";import{O as yi,P as Re,a as ie,D as Qe,C as he,A as be,b as ee,e as bi,F as wi,G as ve,c as xi,d as Si,f as ki,g as vo,L as yo,V as X,h as bo,R as ye,B as Mi,S as la,i as Pi,j as Ci,k as Li,l as Ti,N as Ai,Q as Ii,T as _i,m as Ei,n as wo,o as xo,p as Oi,q as So,r as Bi}from"./screen2Standard-3427eaf8-1786725044461.js";import{M as Ri,g as Fi,h as Hi,L as Ni,B as ko,a as ua,E as Gi,G as Di,D as $i,b as Vi,l as ca,P as Mo,c as Po}from"./three.interactive-b0c27e96-1786725044461.js";import{g as Ye}from"./index-db918426-1786725044461.js";import{R as zi,r as ji,a as Wi,c as Ki,o as Ui,s as qi,p as Qi,b as Co,d as Yi,h as Ji,g as Lo,e as Zi,f as Xi,i as er,j as tr,k as ar,l as or,m as nr,n as ir,_ as rr}from"./TopicSwitcher-06eba150-1786725044461.js";import{_ as sr,a as To}from"./FeatureInfoPanel-8c5860b5-1786725044461.js";import{b as lr,a as ur,g as cr}from"./resourceDetailRows-3e3a25c8-1786725044461.js";import{g as dr,a as fr}from"./layers-a7158b54-1786725044461.js";import{w as mt,f as hr}from"./chartTheme-31546a07-1786725044461.js";import{c as mr,F as pr}from"./featurePanelLayout-f3191169-1786725044461.js";import"./_plugin-vue_export-helper-c27b6911-1786725044461.js";class gr extends yi{constructor(n,i){super(),this.config=Object.assign({color1:16566615,color2:16777215},i),this.assets={instance:null},this.assets.instance=n.assets.instance,this.sceneGroup=n.sceneGroup,this.gsapObjects=[],this.animateElements={},this.init()}init(){let n=this.config.color1,i=new Re(1.5,1.5,1),l=new Re(1,3,1);l.translate(0,1,0);let s=new ie({color:n,transparent:!0,fog:!1,side:Qe,depthWrite:!1}),f=s.clone();f.map=this.assets.instance.getResource("focusArrows");let g=s.clone();g.map=this.assets.instance.getResource("focusBar");let m=s.clone();m.map=this.assets.instance.getResource("focusBg");let h=s.clone();h.color=new he(this.config.color2),h.map=this.assets.instance.getResource("focusMidQuan");let b=s.clone();b.map=this.assets.instance.getResource("focusMoveBg"),b.blending=be;let L=new ee(i,f),M=new ee(l,g);M.rotation.x=Math.PI/2;let R=M.clone();R.rotation.y=Math.PI/2;let k=new ee(i,m),S=new ee(i,h),A=new ee(i,b),H=[S,k,L,A,M,R];H.map(_=>{_.renderOrder=99}),this.add(...H);let F=0;A.scale.setScalar(F),this.animateElements={focusMidQuan:S,focusArrows:L,focusMoveBg:A},this.startAnimate()}startAnimate(){let n=Ye.to(this.animateElements.focusMidQuan.rotation,{z:2*Math.PI,duration:8,repeat:-1,ease:"none"}),i=Ye.to(this.animateElements.focusArrows.rotation,{z:2*Math.PI,duration:5,repeat:-1,ease:"none"}),l=Ye.to(this.animateElements.focusMoveBg.scale,{x:1.5,y:1.5,z:1.5,duration:2.5,repeat:-1,ease:"none"}),s=Ye.to(this.animateElements.focusMoveBg.material,{opacity:0,duration:2.5,repeat:-1,ease:"none"});this.gsapObjects=[n,i,l,s]}pausedAnimate(){this.gsapObjects.map(n=>{n.paused=!0})}destroy(){this.gsapObjects.map(n=>{n.kill()}),bi(this)}}const vr=ci.map(y=>G({},y)),Ao=Bo.map(y=>G({},y)),yr=Bo.map(y=>{var n,i;return{name:y.name,value:y.value,lng:(n=y.center)==null?void 0:n[0],lat:(i=y.center)==null?void 0:i[1]}}),br=[{name:"邛溪镇",level:"县城驻地",value:895.94,lng:102.60242339873115,lat:32.83022561372293},{name:"瓦切镇",level:"北部牧区",value:991,lng:102.71535664604494,lat:33.12869670968013},{name:"刷经寺镇",level:"南部通道",value:986.44,lng:102.55651980382184,lat:32.204097908180216},{name:"色地镇",level:"东部片区",value:1199.06,lng:103.12540730227074,lat:33.010462261362875}];function da(y){return y.sort((n,i)=>i.value-n.value),y}function wr(y){return y?typeof y=="string"?JSON.parse(y):y:null}function fa(y){const n=wr(y);return n!=null&&n.features&&n.features.forEach(i=>{var l;((l=i.geometry)==null?void 0:l.type)==="Polygon"&&(i.geometry.coordinates=[i.geometry.coordinates])}),n}function xr(y,n){var i;try{return(i=y==null?void 0:y.getResource)==null?void 0:i.call(y,n)}catch(l){return null}}function Sr(y,n,i){const l=Number(y);return Number.isFinite(l)?Math.max(n,Math.min(i,l)):n}class kr extends Ri{constructor(n,i,l={}){var s;super(n,{maxPixelRatio:(s=l.maxPixelRatio)!=null?s:l.showDataOverlays===!1?1.35:void 0,antialias:l.antialias}),this.options=l||{},this.geoProjectionCenter=[102.6305459723107,32.72169252326339],this.geoProjectionScale=650,this.backgroundProjectionCenter=l.backgroundProjectionCenter||this.geoProjectionCenter,this.backgroundProjectionScale=l.backgroundProjectionScale||120,this.geoProjectionFn=Fi().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),this.flyLineCenter=[102.60242339873115,32.83022561372293],this.depth=.5,this.clicked=!1,this.sceneMode=l.sceneMode||"default",this.showDataOverlays=l.showDataOverlays!==!1,this.mapAnimationDone=!1,this.sceneTweens=[],this.sceneTimers=[],this.scene.fog=new wi(1058614,1,50),this.scene.background=new he(1058614),this.camera.instance.position.set(-13.767695123014105,12.990152163077308,39.28228164159694),this.camera.instance.near=1,this.camera.instance.far=1e4,this.camera.instance.updateProjectionMatrix(),this.interactionManager=new Hi(this.renderer.instance,this.camera.instance,this.canvas),this.assets=i,this.staticMapData={china:fa(xr(this.assets.instance,"china")),mapJson:fa(this.assets.instance.getResource("mapJson")),mapStroke:fa(this.assets.instance.getResource("mapStroke"))},this.initEnvironment(),this.init()}addSceneTween(n){var i;return n&&(this.sceneTweens.push(n),this.scenePaused&&((i=n.pause)==null||i.call(n)),n)}addSceneTimer(n){return n&&this.sceneTimers.push(n),n}init(){this.labelGroup=new ve,this.label3d=new Ni(this),this.labelGroup.rotation.x=-Math.PI/2,this.scene.add(this.labelGroup),this.flyLineFocusGroup=new ve,this.flyLineFocusGroup.visible=!1,this.flyLineFocusGroup.rotation.x=-Math.PI/2,this.scene.add(this.flyLineFocusGroup),this.eventElement=[],this.defaultMaterial=null,this.defaultLightMaterial=null,this.createBottomBg(),this.createChinaBlurLine(),this.createGrid(),this.createRotateBorder(),this.createLabel(),this.createMap(),this.createEvent(),this.createParticles(),this.showDataOverlays&&(this.createFlyLine(),this.createFocus(),this.createScatter(),this.createInfoPoint()),this.createStorke();let n=Ye.timeline({onComplete:()=>{}});n.pause(),this.animateTl=n,n.addLabel("focusMap",1.5),n.addLabel("focusMapOpacity",2),n.addLabel("bar",3),n.to(this.camera.instance.position,{duration:2,x:-.17427287762525134,y:13.678992786206543,z:20.688611202093714,ease:"circ.out",onStart:()=>{this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1)}}),n.to(this.focusMapGroup.position,{duration:1,x:0,y:0,z:0},"focusMap"),n.to(this.focusMapGroup.scale,{duration:1,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{this.showDataOverlays&&(this.flyLineGroup.visible=!0,this.scatterGroup.visible=!0,this.InfoPointGroup.visible=!0),this.applySceneMode()}},"focusMap"),n.to(this.focusMapTopMaterial,{duration:1,opacity:1,ease:"circ.out"},"focusMapOpacity"),n.to(this.focusMapSideMaterial,{duration:1,opacity:1,ease:"circ.out",onComplete:()=>{this.focusMapSideMaterial.transparent=!1}},"focusMapOpacity"),this.otherLabel.map((i,l)=>{let s=i.element.querySelector(".other-label");n.to(s,{duration:1,delay:.1*l,translateY:0,opacity:1,ease:"circ.out"},"focusMapOpacity")}),n.to(this.mapLineMaterial,{duration:.5,delay:.3,opacity:1},"focusMapOpacity"),n.to(this.rotateBorder1.scale,{delay:.3,duration:1,x:1,y:1,z:1,ease:"circ.out"},"focusMapOpacity"),n.to(this.rotateBorder2.scale,{duration:1,delay:.5,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{var i,l;this.showDataOverlays&&this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!0),this.mapAnimationDone=!0,this.applySceneMode(),(l=(i=this.options).onPlayComplete)==null||l.call(i)}},"focusMapOpacity"),(this.allBar||[]).map((i,l)=>{if(i.userData.name==="邛溪镇")return!1;n.to(i.scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar")}),(this.allBarMaterial||[]).map((i,l)=>{n.to(i,{duration:1,delay:.1*l,opacity:1,ease:"circ.out"},"bar")}),(this.allProvinceLabel||[]).map((i,l)=>{let s=i.element.querySelector(".provinces-label-wrap"),f=i.element.querySelector(".number .value"),g=Number(f.innerText),m={score:0};n.to(s,{duration:1,delay:.2*l,translateY:0,opacity:1,ease:"circ.out"},"bar"),n.to(m,{duration:1,delay:.2*l,score:g,onUpdate:h},"bar");function h(){f.innerText=m.score.toFixed(0)}}),(this.allGuangquan||[]).map((i,l)=>{n.to(i.children[0].scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar"),n.to(i.children[1].scale,{duration:1,delay:.1*l,x:1,y:1,z:1,ease:"circ.out"},"bar")})}initEnvironment(){let n=new xi(16777215,5);this.scene.add(n);let i=new Si(16777215,5);i.position.set(-30,6,-8),i.castShadow=!0,i.shadow.radius=20,i.shadow.mapSize.width=1024,i.shadow.mapSize.height=1024,this.scene.add(i),this.createPointLight({color:"#1d5e5e",intensity:800,distance:1e4,x:-9,y:3,z:-3}),this.createPointLight({color:"#1d5e5e",intensity:200,distance:1e4,x:0,y:2,z:5})}createPointLight(n){const i=new ki(1924702,n.intensity,n.distance);i.position.set(n.x,n.y,n.z),this.scene.add(i)}createMap(){let n=new ve,i=new ve;this.focusMapGroup=i;let{china:l,chinaTopLine:s}=this.createChina(),{map:f,mapTop:g,mapLine:m}=this.createProvince();l==null||l.setParent(n),s==null||s.setParent(n),this.createDiffuse(),f.setParent(i),g.setParent(i),m.setParent(i),i.position.set(0,0,-.01),i.scale.set(1,1,0),n.add(i),n.rotation.x=-Math.PI/2,n.position.set(0,.2,0),this.scene.add(n),this.showDataOverlays?(this.createBar(),this.updateTownLabelVisibility()):(this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[])}createChina(){var m;let n={chinaBgMaterialColor:"#152c47",lineColor:"#3f82cd"},i=this.staticMapData.china;if(!((m=i==null?void 0:i.features)!=null&&m.length))return{china:null,chinaTopLine:null};let l=new vo({color:new he(n.chinaBgMaterialColor),transparent:!0,opacity:this.showDataOverlays?1:.54}),s=new ko(this,{data:i,geoProjectionCenter:this.backgroundProjectionCenter,geoProjectionScale:this.backgroundProjectionScale,merge:!0,material:l,renderOrder:2}),f=new yo({color:n.lineColor}),g=new ua(this,{data:i,geoProjectionCenter:this.backgroundProjectionCenter,geoProjectionScale:this.backgroundProjectionScale,material:f,renderOrder:3});return g.lineGroup.position.z+=.01,{china:s,chinaTopLine:g}}createProvince(){let n=this.staticMapData.mapJson,[i,l]=this.createProvinceMaterial();this.focusMapTopMaterial=i,this.focusMapSideMaterial=l;let s=new Gi(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new X(0,0,.11),data:n,depth:this.depth,topFaceMaterial:i,sideMaterial:l,renderOrder:9}),f=new bo({color:16777215,transparent:!0,opacity:.5});this.createTerrainSurfaceShader(f),this.defaultMaterial=f,this.defaultLightMaterial=this.defaultMaterial.clone(),this.defaultLightMaterial.color=new he("rgba(115,208,255,1)"),this.defaultLightMaterial.opacity=.8;let g=new ko(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new X(0,0,this.depth+.22),data:n,material:f,renderOrder:2});g.mapGroup.children.map(h=>{h.children.map(b=>{b.type==="Mesh"&&this.eventElement.push(b)})}),this.mapLineMaterial=new yo({color:16777215,opacity:0,transparent:!0,fog:!1});let m=new ua(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:n,material:this.mapLineMaterial,renderOrder:3});return m.lineGroup.position.z+=this.depth+.23,{map:s,mapTop:g,mapLine:m}}createProvinceMaterial(){let n=new vo({color:16777215,transparent:!0,opacity:0,fog:!1,side:Qe});n.onBeforeCompile=s=>{s.uniforms=j(G({},s.uniforms),{uColor1:{value:new he(2780818)},uColor2:{value:new he(1058614)}}),s.vertexShader=s.vertexShader.replace("void main() {",` - attribute float alpha; - varying vec3 vPosition; - varying float vAlpha; - void main() { - vAlpha = alpha; - vPosition = position; - `),s.fragmentShader=s.fragmentShader.replace("void main() {",` - varying vec3 vPosition; - varying float vAlpha; - uniform vec3 uColor1; - uniform vec3 uColor2; - void main() { - `),s.fragmentShader=s.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - vec3 gradient = mix(uColor1, uColor2, vPosition.x/15.78); - outgoingLight = outgoingLight*gradient; - float topAlpha = 0.5; - if(vPosition.z>0.3){ - diffuseColor.a *= topAlpha; - } - gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - `)};let i=this.assets.instance.getResource("side");i.wrapS=ye,i.wrapT=ye,i.repeat.set(1,1.5),i.offset.y+=.065;let l=new bo({color:16777215,map:i,fog:!1,opacity:0,side:Qe});return this.time.on("tick",()=>{i.offset.y+=.005}),l.onBeforeCompile=s=>{s.uniforms=j(G({},s.uniforms),{uColor1:{value:new he(2780818)},uColor2:{value:new he(2780818)}}),s.vertexShader=s.vertexShader.replace("void main() {",` - attribute float alpha; - varying vec3 vPosition; - varying float vAlpha; - void main() { - vAlpha = alpha; - vPosition = position; - `),s.fragmentShader=s.fragmentShader.replace("void main() {",` - varying vec3 vPosition; - varying float vAlpha; - uniform vec3 uColor1; - uniform vec3 uColor2; - void main() { - `),s.fragmentShader=s.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - vec3 gradient = mix(uColor1, uColor2, vPosition.z/1.2); - outgoingLight = outgoingLight*gradient; - gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - `)},[n,l]}createTerrainSurfaceShader(n){n.onBeforeCompile=i=>{i.uniforms=j(G({},i.uniforms),{uTerrainColor1:{value:new he(807272)},uTerrainColor2:{value:new he(1619414)},uTerrainColor3:{value:new he(7074015)}}),i.vertexShader=i.vertexShader.replace("void main() {",` - varying vec3 vTerrainPosition; - void main() { - vTerrainPosition = position; - `),i.fragmentShader=i.fragmentShader.replace("void main() {",` - varying vec3 vTerrainPosition; - uniform vec3 uTerrainColor1; - uniform vec3 uTerrainColor2; - uniform vec3 uTerrainColor3; - float terrainHash(vec2 p) { - return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453123); - } - float terrainNoise(vec2 p) { - vec2 i = floor(p); - vec2 f = fract(p); - vec2 u = f * f * (3.0 - 2.0 * f); - return mix( - mix(terrainHash(i + vec2(0.0, 0.0)), terrainHash(i + vec2(1.0, 0.0)), u.x), - mix(terrainHash(i + vec2(0.0, 1.0)), terrainHash(i + vec2(1.0, 1.0)), u.x), - u.y - ); - } - void main() { - `),i.fragmentShader=i.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - vec2 terrainUv = vTerrainPosition.xz; - float broad = terrainNoise(terrainUv * 0.32); - float detail = terrainNoise(terrainUv * 1.6); - float bands = sin(terrainUv.x * 0.75 + terrainUv.y * 0.46) * 0.5 + 0.5; - float ridges = smoothstep(0.48, 0.86, bands) * 0.16; - float mixValue = clamp((vTerrainPosition.x + 9.0) / 18.0 + (broad - 0.5) * 0.28, 0.0, 1.0); - vec3 terrainColor = mix(uTerrainColor1, uTerrainColor2, mixValue); - terrainColor = mix(terrainColor, uTerrainColor3, clamp(detail * 0.18 + ridges, 0.0, 0.28)); - float shade = 0.8 + broad * 0.24 + detail * 0.1; - outgoingLight *= terrainColor * shade; - diffuseColor.a *= 0.68; - gl_FragColor = vec4(outgoingLight, diffuseColor.a); - `)}}createBar(){let n=this,i=da(Ao).filter((h,b)=>b<7);const l=new ve;this.barGroup=l;const s=.7,f=4*s,g=i[0].value;this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[],i.map((h,b)=>{let L=f*(h.value/g),M=new ie({color:16777215,transparent:!0,opacity:0,depthTest:!1,fog:!1});new Di(M,{uColor1:b>3?16506760:5291006,uColor2:b>3?16776948:7863285,size:L,dir:"y"});const R=new Mi(.1*s,.1*s,L);R.translate(0,0,L/2);const k=new ee(R,M);k.renderOrder=5;let S=k,[A,H]=this.geoProjection(h.centroid);S.position.set(A,-H,this.depth+.45),S.scale.set(1,1,0),S.userData=G({},h);let F=this.createQuan(new X(A,this.depth+.44,H),b),_=this.createHUIGUANG(L,b>3?16776948:7863285);S.add(..._),l.add(S),l.rotation.x=-Math.PI/2;let Fe=m(h,b,new X(A,-H,this.depth+1.1+L));this.allBar.push(S),this.allBarMaterial.push(M),this.allGuangquan.push(F),this.allProvinceLabel.push(Fe)}),this.scene.add(l);function m(h,b,L){let M=n.label3d.create("","provinces-label",!1);return M.init(`
    -
    -
    -
    ${h.name}
    -
    ${h.value}km²
    -
    -
    ${b+1}
    -
    -
    `,L),n.label3d.setLabelStyle(M,.01,"x"),M.setParent(n.labelGroup),M.userData=j(G({},h),{labelType:"ranking-label"}),M}}createEvent(){let n=[];this.selectedRegion=null;const i=(s,f=!1)=>{var g,m,h;!f&&((m=(g=this.selectedRegion)==null?void 0:g.userData)==null?void 0:m.name)===((h=s==null?void 0:s.userData)==null?void 0:h.name)||s.traverse(b=>{b.isMesh&&(b.material=this.defaultMaterial)})},l=s=>{s.traverse(f=>{f.isMesh&&(f.material=this.defaultLightMaterial)})};this.eventElement.map(s=>{this.interactionManager.add(s),s.addEventListener("mousedown",f=>{var m;const g=((m=f.target)==null?void 0:m.parent)||f.target;this.selectedRegion&&this.selectedRegion!==g&&i(this.selectedRegion,!0),this.selectedRegion=g,l(g),this.emitTownClick((g==null?void 0:g.userData)||{})}),s.addEventListener("mouseover",f=>{n.includes(f.target.parent)||n.push(f.target.parent),document.body.style.cursor="pointer",l(f.target.parent)}),s.addEventListener("mouseout",f=>{n=n.filter(g=>g.userData.name!==f.target.parent.userData.name),n.length>0&&n[n.length-1],i(f.target.parent),document.body.style.cursor="default"})})}createHUIGUANG(n,i){let l=new Re(.35,n);l.translate(0,n/2,0);const s=this.assets.instance.getResource("huiguang");s.colorSpace=la,s.wrapS=ye,s.wrapT=ye;let f=new ie({color:i,map:s,transparent:!0,opacity:.4,depthWrite:!1,side:Qe,blending:be}),g=new ee(l,f);g.renderOrder=10,g.rotateX(Math.PI/2);let m=g.clone(),h=g.clone();return m.rotateY(Math.PI/180*60),h.rotateY(Math.PI/180*120),[g,m,h]}createQuan(n,i){const l=this.assets.instance.getResource("guangquan1"),s=this.assets.instance.getResource("guangquan2");let f=new Re(.5,.5),g=new ie({color:16777215,map:l,alphaMap:l,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:be}),m=new ie({color:16777215,map:s,alphaMap:s,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:be}),h=new ee(f,g),b=new ee(f,m);return h.renderOrder=6,b.renderOrder=6,h.rotateX(-Math.PI/2),b.rotateX(-Math.PI/2),h.position.copy(n),b.position.copy(n),b.position.y-=.001,h.scale.set(0,0,0),b.scale.set(0,0,0),this.quanGroup=new ve,this.quanGroup.add(h,b),this.scene.add(this.quanGroup),this.time.on("tick",()=>{h.rotation.z+=.05}),this.quanGroup}createDiffuse(){let n=new Re(200,200),i=new ie({color:0,depthWrite:!1,transparent:!0,blending:Pi});i.blendEquation=Ci,i.blendSrc=Li,i.blendDst=Ti,new $i({material:i,time:this.time,size:60,diffuseSpeed:8,diffuseColor:7442830,diffuseWidth:2,callback:s=>{const f=setTimeout(()=>{this.addSceneTween(Ye.to(s.uniforms.uTime,{value:4,repeat:-1,duration:6,ease:"power1.easeIn"}))},3);this.addSceneTimer(f)}});let l=new ee(n,i);l.renderOrder=3,l.rotation.x=-Math.PI/2,l.position.set(0,.21,0),this.scene.add(l)}createGrid(){new Vi(this,{gridSize:68,gridDivision:28,gridColor:2123149,shapeSize:.58,shapeColor:4035005,pointSize:.12,pointColor:1805508,pointLayout:{row:170,col:170},pointBlending:be})}createBottomBg(){let n=new Re(42,42);const i=this.assets.instance.getResource("ocean");i.colorSpace=la,i.wrapS=ye,i.wrapT=ye,i.repeat.set(1,1);let l=new ie({map:i,opacity:1,fog:!1}),s=new ee(n,l);s.rotation.x=-Math.PI/2,s.position.set(0,-.7,0),this.scene.add(s)}createChinaBlurLine(){let n=new Re(147,147);const i=this.assets.instance.getResource("chinaBlurLine");i.colorSpace=la,i.wrapS=ye,i.wrapT=ye,i.generateMipmaps=!1,i.minFilter=Ai,i.repeat.set(1,1);let l=new ie({color:4162253,alphaMap:i,transparent:!0,opacity:.5}),s=new ee(n,l);s.rotateX(-Math.PI/2),s.position.set(-19.3,-.5,-19.7),this.scene.add(s)}createLabel(){let n=this,i=this.labelGroup,l=this.label3d,s=[];if(vr.map(m=>{if(m.hide==!0)return!1;let h=f(m,l,i);s.push(h)}),this.showDataOverlays){let m=g({icon:ca,center:[103.13,33.01],width:"40px",height:"40px",reflect:!0},l,i),h=g({icon:ca,center:[102.03,32.44],width:"20px",height:"20px",reflect:!1},l,i);s.push(m),s.push(h)}this.otherLabel=s;function f(m,h,b){let L=h.create("",`china-label ${m.blur?" blur":""}`,!1);const[M,R]=n.geoProjection(m.center),k=n.showDataOverlays?``:"";return L.init(`
    ${k}${m.name}
    `,new X(M,-R,n.depth+.85)),h.setLabelStyle(L,.018,"x"),L.setParent(b),L.userData=j(G({},m),{labelType:"town-label",baseScale:.018}),L}function g(m,h,b){let L=h.create("",`decoration-label ${m.reflect?" reflect":""}`,!1);const[M,R]=n.geoProjection(m.center);return L.init(`
    `,new X(M,-R,.4)),h.setLabelStyle(L,.02,"x"),L.setParent(b),L}}createRotateBorder(){let n=12,i=this.assets.instance.getResource("rotationBorder1"),l=this.assets.instance.getResource("rotationBorder2"),s=new Mo(this,{width:n*1.178,needRotate:!0,rotateSpeed:.001,material:new ie({map:i,color:4763647,transparent:!0,opacity:.2,side:Qe,depthWrite:!1,blending:be}),position:new X(0,.28,0)});s.instance.rotation.x=-Math.PI/2,s.instance.renderOrder=6,s.instance.scale.set(0,0,0),s.setParent(this.scene);let f=new Mo(this,{width:n*1.116,needRotate:!0,rotateSpeed:-.004,material:new ie({map:l,color:4763647,transparent:!0,opacity:.4,side:Qe,depthWrite:!1,blending:be}),position:new X(0,.3,0)});f.instance.rotation.x=-Math.PI/2,f.instance.renderOrder=6,f.instance.scale.set(0,0,0),f.setParent(this.scene),this.rotateBorder1=s.instance,this.rotateBorder2=f.instance}createFlyLine(){this.flyLineGroup=new ve,this.flyLineGroup.visible=!1,this.scene.add(this.flyLineGroup);const n=this.assets.instance.getResource("mapFlyline");n.wrapS=n.wrapT=ye,n.repeat.set(.5,2);const i=.1,l=32,s=2,f=!1;let[g,m]=this.geoProjection(this.flyLineCenter),h=new X(g,-m,0);const b=new ie({map:n,color:2781042,transparent:!0,fog:!1,opacity:1,depthTest:!1,blending:be});this.flyLineMaterial=b,this.flyLineTexture=n,this.time.on("tick",()=>{n.offset.x-=this.sceneMode==="trade"?.014:.006}),Ao.filter((L,M)=>M<7).map(L=>{let[M,R]=this.geoProjection(L.centroid),k=new X(M,-R,0);const S=new X;S.addVectors(h,k).multiplyScalar(.5),S.setZ(3);const A=new Ii(h,S,k),H=new _i(A,l,i,s,f),F=new ee(H,b);F.rotation.x=-Math.PI/2,F.position.set(0,this.depth+.44,0),F.renderOrder=21,this.flyLineGroup.add(F)})}createFocus(){let n=new gr(this,{color1:12451325,color2:12451325}),[i,l]=this.geoProjection(this.flyLineCenter);n.position.set(i,-l,this.depth+.44),n.scale.set(1,1,1),this.flyLineFocusGroup.add(n)}createParticles(){this.particles=new Po(this,{num:10,range:30,dir:"up",speed:.05,material:new Ei({map:Po.createTexture(),size:1,color:61166,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,vertexColors:!0,blending:be,sizeAttenuation:!0})}),this.particleGroup=new ve,this.scene.add(this.particleGroup),this.particleGroup.rotation.x=-Math.PI/2,this.particles.setParent(this.particleGroup),this.particles.enable=!0,this.particleGroup.visible=!0}createScatter(){this.scatterGroup=new ve,this.scatterGroup.visible=!1,this.scatterGroup.rotation.x=-Math.PI/2,this.scene.add(this.scatterGroup);const n=this.assets.instance.getResource("arrow"),i=new wo({map:n,color:16776948,fog:!1,transparent:!0,depthTest:!1});let l=da(yr),s=l[0].value;l.map(f=>{const g=new xo(i);g.renderOrder=23;let m=.1+f.value/s*.2;g.scale.set(m,m,m);let[h,b]=this.geoProjection([f.lng,f.lat]);g.position.set(h,-b,this.depth+.45),g.userData.position=[h,-b,this.depth+.45],this.scatterGroup.add(g)})}createInfoPoint(){let n=this;this.InfoPointGroup=new ve,this.scene.add(this.InfoPointGroup),this.InfoPointGroup.visible=!1,this.InfoPointGroup.rotation.x=-Math.PI/2,this.infoPointIndex=0,this.infoPointLabelTime=null,this.infoLabelElement=[];let i=this.label3d;const l=this.assets.instance.getResource("point");let s=[16776948,7863285],f=da(br),g=f[0].value;f.map((h,b)=>{const L=new wo({map:l,color:s[b%s.length],fog:!1,transparent:!0,depthTest:!1}),M=new xo(L);M.renderOrder=23;let R=.7+h.value/g*.4;M.scale.set(R,R,R);let[k,S]=this.geoProjection([h.lng,h.lat]),A=[k,-S,this.depth+.7];M.position.set(...A),M.userData.position=[...A],M.userData={position:[k,-S,this.depth+.7],name:h.name,value:h.value,level:h.level,index:b},this.InfoPointGroup.add(M);let H=m(h,i,this.InfoPointGroup);this.infoLabelElement.push(H),this.interactionManager.add(M),M.addEventListener("mousedown",F=>{if(this.clicked||!this.InfoPointGroup.visible)return!1;this.clicked=!0,this.emitTownClick(F.target.userData,"info-point"),this.infoPointIndex=F.target.userData.index,this.infoLabelElement.map(_=>{_.visible=!1}),H.visible=!0,this.createInfoPointLabelLoop()}),M.addEventListener("mouseup",F=>{this.clicked=!1}),M.addEventListener("mouseover",F=>{document.body.style.cursor="pointer"}),M.addEventListener("mouseout",F=>{document.body.style.cursor="default"})});function m(h,b,L){let M=b.create("","info-point",!0);const[R,k]=n.geoProjection([h.lng,h.lat]);return M.init(`
    -
    -
    -
    -
    -
    -
    -
    -
    名称${h.name}
    -
    面积${h.value}km²
    -
    类型${h.level}
    -
    -
    -
    - `,new X(R,-k,n.depth+1.9)),b.setLabelStyle(M,.015,"x"),M.setParent(L),M.visible=!1,M}}emitTownClick(n={},i="region"){var s,f;const l=n.name||n.fullName;l&&((f=(s=this.options)==null?void 0:s.onTownClick)==null||f.call(s,j(G({},n),{name:l,source:i})))}setSceneMode(n="default"){this.sceneMode=n,this.applySceneMode()}setDataOverlaysVisible(n=!0){this.showDataOverlays=!!n,this.applySceneMode()}updateTownLabelVisibility(){const n=new Set((this.allProvinceLabel||[]).map(l=>{var s;return(s=l==null?void 0:l.userData)==null?void 0:s.name}).filter(Boolean)),i=this.showDataOverlays&&this.sceneMode!=="trade";(this.otherLabel||[]).forEach(l=>{var s;((s=l==null?void 0:l.userData)==null?void 0:s.labelType)==="town-label"&&(l.visible=!(i&&n.has(l.userData.name)))})}applySceneMode(){var i,l,s,f;if(!this.showDataOverlays){this.flyLineGroup&&(this.flyLineGroup.visible=!1),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1),this.scatterGroup&&(this.scatterGroup.visible=!1),this.InfoPointGroup&&(this.InfoPointGroup.visible=!1),this.barGroup&&(this.barGroup.visible=!1),(i=this.allProvinceLabel)==null||i.forEach(g=>{g.visible=!1}),(l=this.allGuangquan)==null||l.forEach(g=>{g.visible=!1}),this.updateTownLabelVisibility();return}const n=this.sceneMode==="trade";this.flyLineGroup&&(this.flyLineGroup.visible=n||this.mapAnimationDone),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=n||this.mapAnimationDone),this.flyLineMaterial&&(this.flyLineMaterial.color.set(n?7534280:2781042),this.flyLineMaterial.opacity=n?1:.82),this.flyLineTexture&&this.flyLineTexture.repeat.set(n?.32:.5,n?3:2),this.scatterGroup&&(this.scatterGroup.visible=!n&&this.mapAnimationDone),this.InfoPointGroup&&(this.InfoPointGroup.visible=!n&&this.mapAnimationDone),this.barGroup&&(this.barGroup.visible=!n),(s=this.allProvinceLabel)==null||s.forEach(g=>{g.visible=!n}),(f=this.allGuangquan)==null||f.forEach(g=>{g.visible=!n}),this.updateTownLabelVisibility()}createInfoPointLabelLoop(){var n;this.scenePaused||!((n=this.infoLabelElement)!=null&&n.length)||(clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=setInterval(()=>{this.infoPointIndex++,this.infoPointIndex>=this.infoLabelElement.length&&(this.infoPointIndex=0),this.infoLabelElement.map((i,l)=>{this.infoPointIndex===l?i.visible=!0:i.visible=!1})},3e3))}createStorke(){const n=this.staticMapData.mapStroke,i=this.assets.instance.getResource("pathLine3");i.wrapS=i.wrapT=ye,i.repeat.set(2,1);let l=new ua(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new X(0,0,this.depth+.24),data:n,material:new ie({color:2868444,map:i,alphaMap:i,fog:!1,transparent:!0,opacity:1,blending:be}),type:"Line3",renderOrder:22,tubeRadius:.03});this.focusMapGroup.add(l.lineGroup),this.time.on("tick",()=>{i.offset.x+=.005})}geoProjection(n){return this.geoProjectionFn(n)}updateTownLabelScale(){var m,h,b;const n=this.otherLabel||[],i=(m=this.camera)==null?void 0:m.instance,l=(b=(h=this.camera)==null?void 0:h.controls)==null?void 0:b.target;if(!n.length||!i||!l)return;const s=i.position.distanceTo(l),f=Sr(s*72e-5,.011,.026),g=s>45?"0.76":s<22?"0.94":"1";n.forEach(L=>{var R,k,S;if(((R=L==null?void 0:L.userData)==null?void 0:R.labelType)!=="town-label")return;L.scale.set(f,f,f);const M=(S=(k=L.element)==null?void 0:k.querySelector)==null?void 0:S.call(k,".other-label");M&&(M.style.opacity=g)})}update(){super.update(),this.updateTownLabelScale(),this.interactionManager&&this.interactionManager.update()}pauseScene(){var n,i;this.scenePaused=!0,(i=(n=this.time)==null?void 0:n.pause)==null||i.call(n),this.sceneTweens.forEach(l=>{var s;return(s=l==null?void 0:l.pause)==null?void 0:s.call(l)}),clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null}resumeScene(){var n,i,l;this.scenePaused=!1,(i=(n=this.time)==null?void 0:n.resume)==null||i.call(n),this.sceneTweens.forEach(s=>{var f;return(f=s==null?void 0:s.resume)==null?void 0:f.call(s)}),(l=this.InfoPointGroup)!=null&&l.visible&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}destroy(){this.pauseScene(),this.sceneTimers.forEach(n=>clearTimeout(n)),this.sceneTimers=[],this.sceneTweens.forEach(n=>{var i;return(i=n==null?void 0:n.kill)==null?void 0:i.call(n)}),this.sceneTweens=[],super.destroy(),this.label3d&&this.label3d.destroy()}}const Mr={class:"map"},Pr={__name:"map",props:{sceneMode:{type:String,default:"default"},showDataOverlays:{type:Boolean,default:!0},maxPixelRatio:{type:Number,default:0}},emits:["town-click","play-complete"],setup(y,{expose:n,emit:i}){const l=B(null),s=ai(null),f=y,g=i;let m=!1;Oo(()=>{R()});function h(k){var S,A,H,F;s.value||!l.value||(s.value=new kr(l.value,k,{showDataOverlays:f.showDataOverlays,maxPixelRatio:f.maxPixelRatio||void 0,onTownClick:_=>g("town-click",_),onPlayComplete:()=>g("play-complete")}),(A=(S=s.value).setSceneMode)==null||A.call(S,f.sceneMode),(F=(H=s.value).setDataOverlaysVisible)==null||F.call(H,f.showDataOverlays),s.value.time.pause())}function b(){return fe(this,null,function*(){var k,S,A,H;s.value&&(L(),!(m||s.value.mapAnimationDone)&&(m=!0,(S=(k=s.value.animateTl)==null?void 0:k.timeScale)==null||S.call(k,1),(H=(A=s.value.animateTl)==null?void 0:A.play)==null||H.call(A)))})}function L(){var k,S;s.value&&((S=(k=s.value).resumeScene)==null||S.call(k),s.value.resumeScene||s.value.time.resume())}function M(){var k,S,A,H,F,_;s.value&&((S=(k=s.value.animateTl)==null?void 0:k.pause)==null||S.call(k),(H=(A=s.value).pauseScene)==null||H.call(A),s.value.pauseScene||(_=(F=s.value.time)==null?void 0:F.pause)==null||_.call(F))}function R(){var k,S;(S=(k=s.value)==null?void 0:k.destroy)==null||S.call(k),s.value=null}return n({loadMap:h,play:b,resume:L,pause:M,destroyMap:R,canvasMap:s}),pt(()=>f.sceneMode,k=>{var S,A;(A=(S=s.value)==null?void 0:S.setSceneMode)==null||A.call(S,k)},{immediate:!0}),pt(()=>f.showDataOverlays,k=>{var S,A;(A=(S=s.value)==null?void 0:S.setDataOverlaysVisible)==null||A.call(S,k)}),(k,S)=>(T(),O("div",Mr,[x("canvas",{ref_key:"canvasRef",ref:l},null,512)]))}},Cr=""+new URL("flyline6-525edf67-balabala-1786725044461.png",import.meta.url).href;class Lr{constructor(n={}){this.options=n||{},this.init()}init(){this.instance=new zi,this.instance.addLoader(Oi,"FileLoader");const n={type:"File",name:"china",path:sa(di)},i=[{type:"File",name:"mapJson",path:sa(fi)},{type:"File",name:"mapStroke",path:sa(hi)},{type:"Texture",name:"rotationBorder1",path:ji},{type:"Texture",name:"rotationBorder2",path:Wi},{type:"Texture",name:"chinaBlurLine",path:Ki},{type:"Texture",name:"ocean",path:Ui},{type:"Texture",name:"side",path:qi},{type:"Texture",name:"pathLine3",path:Qi}],l=[{type:"Texture",name:"flyline",path:Co},{type:"Texture",name:"pathLine",path:Co},{type:"Texture",name:"pathLine2",path:Yi},{type:"Texture",name:"huiguang",path:Ji},{type:"Texture",name:"guangquan1",path:Lo},{type:"Texture",name:"guangquan2",path:Zi},{type:"Texture",name:"flyLineFocus",path:Lo},{type:"Texture",name:"mapFlyline",path:Cr},{type:"Texture",name:"arrow",path:Xi},{type:"Texture",name:"point",path:er},{type:"Texture",name:"focusArrows",path:tr},{type:"Texture",name:"focusBar",path:ar},{type:"Texture",name:"focusBg",path:or},{type:"Texture",name:"focusMidQuan",path:nr},{type:"Texture",name:"focusMoveBg",path:ir}],s=this.options.showDataOverlays===!1?i:[n,...i,...l];this.instance.loadAll(s)}}const Tr="/openApi/screen2/home";function Ar(){return fe(this,null,function*(){const y=yield oi(`${Tr}/dashboard`,{timeout:2e4});if((y==null?void 0:y.success)===!1||(y==null?void 0:y.code)!==void 0&&![0,200,"0","200"].includes(y.code)){const l=new Error((y==null?void 0:y.message)||(y==null?void 0:y.msg)||"首页业务数据加载失败");throw l.code=y==null?void 0:y.code,l}const i=ni(y);if(!(i!=null&&i.hasData))throw new Error("首页业务数据缺失");return i})}const Ir={class:"home-dashboard"},_r={key:0,class:"home-business-error",role:"alert"},Er={class:"home-bottom-switcher"},Or={class:"home-left"},Br={class:"home-side-stack is-left"},Rr={class:"home-right"},Fr={class:"home-side-stack is-right"},Hr=["aria-label","onClick"],Nr={key:0,class:"home-video-monitor"},Gr=["disabled"],Dr=["data-video-index","onClick","onKeydown"],$r={key:0,class:"home-video-loading"},Vr={key:1,class:"home-video-error"},zr=["onClick"],jr={class:"home-video-point-name"},Wr=["disabled"],Kr={key:2,class:"home-balance-gauge-grid"},Ur={key:0,class:"home-balance-empty","aria-live":"polite"},qr={class:"home-balance-gauge-head"},Qr={class:"home-balance-gauge-ring"},Yr={class:"home-balance-gauge-value"},Jr={class:"home-balance-gauge-name"},Zr={class:"home-balance-gauge-extra"},Xr=["data-monitoring-updated-at"],es={class:"home-more-dialog-head"},ts={key:0,class:"home-video-modal-grid"},as=["data-video-index","onClick","onKeydown"],os={key:0,class:"home-video-loading"},ns={key:1,class:"home-video-error"},is=["onClick"],rs={class:"home-video-point-name"},ss={key:1,class:"home-more-empty"},ls={key:2,class:"home-more-pager"},us=["disabled"],cs=["disabled"],ds={key:0,class:"home-video-web-overlay",role:"dialog","aria-modal":"true","aria-label":"基地监控网页全屏"},fs={class:"home-more-dialog home-balance-dialog"},hs={class:"home-balance-modal-grid"},ms={class:"home-balance-modal-title"},ps={class:"home-balance-modal-value"},gs="image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAQ5JREFUOE+1la1OQ0EQRs8kCFIQdVCCxIBpCK1AInkDHC+B4QkwvASub4GsaE0NGCRpKhGFVDQZ+Mjem9vNbkphmWTMfjNnd3b2x0iYuxuwH7wNbIewBfAGzORm5nG6ElfM3QU6AXZSkzXG3oEnMxO8thWgux8DR2tAsfxiZs/VYA38Jazi1NBvYCizv+HK4vCRyrfQgIsf7Nm6+bSnjwIeAGeZaGnXQDfoE+ABmGbixwKeAoeJAMHuv3w30ubATQb6KqDKjZPEuAXOMysZAncJbS7gJbCVEAdAKwP8AK4S2vJfgMVLLt6UDtAreWx0W8od7OJXryq16OPwR2j6+WpAyz2wDagape7vARt9AZ+G3HmhiKS3xwAAAABJRU5ErkJggg==",vs=4,Io=6e4,ys=15e3,_o=1e4,ha="#ffffff",Ue="#ffffff",Oe="rgba(246, 253, 255, 0.92)",Eo="rgba(242, 253, 255, 0.9)",ma="rgba(218, 250, 255, 0.28)",bs=12e3,ws=9,Be="home-3d",qe=9,Hs={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(y,{expose:n,emit:i}){const l={图斑编号:"patch_no",图斑号:"patch_no",湿地编号:"land_number",草地编号:"land_number",林地类型:"dlmc",地类:"landUseName",地类名称:"landUseName",所在乡镇:"townName",所在区域:"full_name",面积:"acreage",图斑面积:"acreage",湿地面积:"acreage",草场面积:"acreage",草原类:"grassTypeName",草原型:"grassMinType",草原等级:"grasslandLevel",草原类型:"basic_type_name",小斑干草产量:"xbGcYield",小斑鲜草产量:"xbXcYield",鲜草产量:"xcYield",干草产量:"gcYield",海拔:"elevation",地貌:"landformName",权属单位:"qsdwmc",坐落单位:"zldwmc",林班:"lin_ban",小班:"xiao_ban",森林类别:"sen_lin_lb",林种:"lin_zhong",公益林等级:"gjgyl_bhdj",保护等级:"bh_dj",质量等级:"zl_dj",优势树种:"you_shi_sz",起源:"qi_yuan",龄组:"ling_zu",郁闭度:"yu_bi_du",林地权属:"ld_qs",土地使用权属:"tdsyqs",林木权属:"lmqs",生态区位:"stqwmc",坡度等级:"slope"},s=new Set(["code","msg","message","success","data","result","grassland","wetland","woodland","basicGrassland","dyColumn","geom","wkt","geometry","the_geom","theGeom","shape","shape_leng","shape_length","length","perimeter","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"].map(e=>e.toLowerCase())),f=y,g=i,m=B(null),h=B(null),b=B(null),L=B(null),M=new Map,R=B({}),k=Bt([]),S=Bt([]),A=Bt([]),H=B(""),F=new Map;let _=!1,Fe=!1,gt=null,Je=null;const q=new Map,we=new Map,Rt=new Set,Ft=new Map;let Ce=null,Ze="",pa=!1,Xe=null,vt=!1,et=0,He=0,tt=null,re=null,at=!1,Ht=!1,ot=0;const Le=new Map,se=B(0),te=B([]),ga=B(""),le=B(0),Q=B(!1),ae=B(1),nt=B(!1),ue=B(null),Nt=B(!1),Gt=B([]),Dt=B(!1),$t=B(""),Vt=B(!1),va=B(!1),W=B(""),Ro=`home-video-player-${Math.random().toString(36).slice(2)}`,me=Bt({}),Fo=["#30dcff","#27f0c0","#8bf7ff","#48cfff","#48cfff","#24f6c4"],ya=So.sideCardWidth,ba=B(typeof window=="undefined"?1080:window.innerHeight);So.sideCardGap;const Ne=E(()=>Bi(ba.value)),yt=E(()=>Ne.value),Ho=yt,bt=[{key:"grassland",name:"草地",color:"#A7FF4F",width:92},{key:"wetland",name:"湿地",color:"#36C8FF",width:92},{key:"woodland",name:"林地",color:"#31F084",width:92},{key:"yak",name:"牦牛",color:"#30DCFF",width:92},{key:"pasture",name:"家庭牧场",color:"#30DCFF",width:112}],No={grassland:{fill:"#A7FF4F",fillOpacity:.98,opacity:1,maxOpacity:1,stroke:"#F4FFCF",strokeOpacity:.95,strokeWidth:1.35,glowColor:"#DFFF86",glowBlur:18,glowOpacity:.44},wetland:{fill:"#36C8FF",fillOpacity:.97,opacity:1,maxOpacity:1,stroke:"#EBFCFF",strokeOpacity:.95,strokeWidth:1.35,glowColor:"#9AF2FF",glowBlur:18,glowOpacity:.48},woodland:{fill:"#31F084",fillOpacity:.97,opacity:1,maxOpacity:1,stroke:"#D9FFF0",strokeOpacity:.94,strokeWidth:1.3,glowColor:"#7CFFBF",glowBlur:18,glowOpacity:.44}},wa={grassland:{topicKey:"grassland",layerKey:"grassland-distribution",type:"raster"},wetland:{topicKey:"wetland",layerKey:"wetland-distribution",type:"raster"},woodland:{topicKey:"woodland",layerKey:"woodland-distribution",type:"raster"},yak:{topicKey:"yak-industry-chain",layerKey:"yak-recognition-layer",type:"vector",opacity:.94},pasture:{topicKey:"yak-industry-chain",layerKey:"yak-industry-points",legendKey:"yak-industry-family-pasture",type:"vector",opacity:.96},base:{topicKey:"yak-industry-chain",layerKey:"yak-industry-points",legendKeys:["yak-industry-artificial-grassland","yak-industry-scale-breeding","yak-industry-breeding-selection"],type:"vector",opacity:.96}},z=B(Be),Y=B(null),Te=B(!1),ke=B(!1),oe=B(null),ne=E(()=>z.value!==Be),Go=E(()=>f.active&&!ne.value),xa=E(()=>{var d,p,C;const e=z.value,t=wa[e];if(!t)return null;const a=mi.find(w=>w.key===t.topicKey),o=En(t);if(!o||t.type!=="vector"&&!o.layerName&&!o.dataPath)return null;const r=No[e],u=t.legendKey?(o.legends||[]).find(w=>w.key===t.legendKey):null,c=Array.isArray(t.legendKeys)?t.legendKeys.map(w=>(o.legends||[]).find(P=>P.key===w)).filter(Boolean):[];if(t.type==="vector"){const w=e==="pasture"?{sourceType:"wkt-api",layerName:"",dataPath:"",fallbackPath:"",apiUrl:"/openApi/screen2/yak-industry-chain/points?stage=family-pasture&page=1&pageSize=300"}:{},P=u&&e==="pasture"?j(G({},u),{match:{field:"stageKey",value:"family-pasture"}}):u;return j(G(G({},o),w),{activeLegend:P||o.activeLegend,activeLegends:c.length?c:o.activeLegends,cqlFilter:(u==null?void 0:u.cqlFilter)||jo(c)||o.cqlFilter,name:`${((d=bt.find(v=>v.key===e))==null?void 0:d.name)||o.name}图层`,opacity:(p=t.opacity)!=null?p:o.opacity,homePresentationMaxOpacity:(C=t.opacity)!=null?C:.96,showPointLabels:!1,hidePointFeatures:!1})}return r?j(G({},o),{name:`${(a==null?void 0:a.name)||o.name}分布`,styles:"",opacity:r.opacity,homePresentationMaxOpacity:r.maxOpacity,softMask:!1,homeGlowColor:r.glowColor,homeGlowBlur:r.glowBlur,homeGlowOpacity:r.glowOpacity,sldBody:On(o.layerName,r)}):null}),zt=E(()=>!!oe.value),Do=pr,Sa=E(()=>mr({point:oe.value?Rn(oe.value):null,rowCount:Y.value?ka.value.length||na(Y.value):0,loading:ke.value,empty:Te.value||!Y.value})),$o=E(()=>Sa.value.height),Vo=E(()=>Sa.value.style),zo=E(()=>{var t;return{grassland:"草地详情",wetland:"湿地详情",woodland:"林地详情",yak:"牦牛识别详情",pasture:"家庭牧场详情"}[z.value]||`${((t=bt.find(a=>a.key===z.value))==null?void 0:t.name)||"地图"}详情`});function jo(e=[]){const t=e.map(a=>String((a==null?void 0:a.cqlFilter)||"").trim()).filter(Boolean);return t.length?t.map(a=>`(${a})`).join(" OR "):""}const ka=E(()=>{var t;const e=((t=Y.value)==null?void 0:t.properties)||{};return z.value==="pasture"?Hn(e)?lr(e):[]:["grassland","wetland","woodland"].includes(z.value)?ur(z.value,e):[]}),Ma=E(()=>Ya(A.length)),jt=E(()=>Gt.value.filter(t=>(t==null?void 0:t.name)&&t.type==="town").map((t,a)=>({key:`home-balance-${t.areaCode||t.key||t.name}`,sourceIndex:a,name:t.name,value:t.overloadRate,unit:"%",status:t.level||"总体可控",bearingCapacity:t.bearingCapacity,livestockCapacity:t.livestockCapacity,overloadCount:Number(t.livestockCapacity||0)-Number(t.bearingCapacity||0),extra:`理论 ${de(t.bearingCapacity)}|实际 ${de(t.livestockCapacity)}|超载 ${de(Number(t.livestockCapacity||0)-Number(t.bearingCapacity||0))}头`}))),Wo=E(()=>Dt.value?"正在读取最新草畜平衡数据":$t.value||"暂无草畜平衡数据"),wt=E(()=>{const e=jt.value,t=3,a=e.length?Math.floor(se.value/2)*t%e.length:0;return Array.from({length:Math.min(t,e.length)},(o,r)=>e[(a+r)%e.length])}),Ko=E(()=>{const e=wt.value.length;return e?se.value%e:0}),xt={key:"home-empty-video",title:"暂无在线可播放摄像头",town:"红原县",scene:"基地监控",device:"",channel:"",cameraCount:0,status:"待接入",onlineRate:0,updateTime:"",operator:"等待在线摄像头",progress:0,image:mo,playUrl:"",hdPlayUrl:"",token:""};function pe(e){return(e==null?void 0:e.status)==="直播中"&&!!(e!=null&&e.hdPlayUrl&&(e!=null&&e.token))}const Ge=E(()=>te.value.map((e,t)=>({key:`home-video-carousel-${e.key||e.title||t}`,index:t,live:e})).filter(e=>pe(e.live))),Wt=E(()=>{const e=Ge.value;if(!e.length)return 0;const t=J(le.value),a=e.findIndex(r=>r.index===t),o=a>=0?a:0;return nt.value||Vt.value||Q.value?o:(Math.floor(se.value/vs)+o)%e.length}),D=E(()=>{var e,t;return te.value.length?Q.value?J(le.value):(t=(e=Ge.value[Wt.value])==null?void 0:e.index)!=null?t:0:0}),Uo=E(()=>te.value[D.value]||xt),Pa=E(()=>un(Ge.value,Wt.value,xt)),qo=E(()=>te.value.filter(e=>pe(e)).length),it=E(()=>te.value.map((e,t)=>({index:t,live:e})).sort((e,t)=>Number(pe(t.live))-Number(pe(e.live))||e.index-t.index)),rt=E(()=>Math.max(1,Math.ceil(it.value.length/qe))),Ca=E(()=>{const e=(ae.value-1)*qe;return it.value.slice(e,e+qe).map(t=>({key:`home-video-modal-${t.live.key||t.live.title}-${t.index}`,index:t.index,live:t.live}))}),Qo=E(()=>k),Yo=E(()=>{const e=Cn();return e.length?{key:"home-pasture-productivity",title:"草地生产力",rows:e,option:_n(e,"生产力"),height:Ne.value}:null}),Jo=E(()=>({key:"yak-stock-distribution",title:"牦牛存栏分布",height:yt.value,option:In(S,"牦牛存栏")})),Zo=E(()=>[aa(At("grassland","grassland-town"),"草地面积"),aa(At("wetland","wetland-town-area"),"湿地面积"),aa(At("grassland","grassland-type-proportion"),"草原类别"),Yo.value].filter(Boolean).map((e,t)=>Ln(e,`forest-grass-wet-${t}`))),Xo=E(()=>[{key:"home-video-monitor",title:"基地监控",type:"video",height:Ho.value,live:Uo.value},Jo.value,{key:"yak-structure",title:"畜群结构",height:yt.value,option:en.value},{key:"home-town-balance-gauge",title:"草畜平衡",type:"gauge",height:yt.value,max:100,rows:wt.value}]),en=E(()=>mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",color:Fo,tooltip:hr(e=>`${e.name}
    占比:${e.percent}%
    估算数量:${de(e.value)}头`),legend:{orient:"vertical",right:0,top:"middle",itemWidth:8,itemHeight:8,itemGap:5,formatter(e){const t=A.find(a=>a.name===e);return t?`${e} ${Ee(t.count)}头`:e},textStyle:{color:Oe,fontSize:10}},series:[{name:"畜群结构",type:"pie",selectedMode:"single",selectedOffset:8,radius:["36%","62%"],center:["30%","54%"],avoidLabelOverlap:!0,label:{color:Ue,fontSize:10,formatter:"{d}%"},labelLine:{length:7,length2:4,lineStyle:{color:"rgba(223, 250, 255, 0.35)"}},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},emphasis:{scale:!0,scaleSize:8,itemStyle:{shadowBlur:5,shadowColor:"rgba(48, 220, 255, 0.2)"}},data:A.map((e,t)=>({name:e.name,value:e.count,selected:t===Ma.value}))}]}));ii(()=>{oa(),window.addEventListener("resize",oa),window.addEventListener("keydown",Xa),document.addEventListener("pointerdown",oo,!0),document.addEventListener("click",Wa,!0),Yt(),Va(),Kt()}),Oo(()=>{var e,t,a,o;_=!0,ot+=1,window.removeEventListener("resize",oa),window.removeEventListener("keydown",Xa),document.removeEventListener("pointerdown",oo,!0),document.removeEventListener("click",Wa,!0),_t(),qa(),ge(),Fa(),qt(),Qt(),F.clear(),(t=(e=m.value)==null?void 0:e.destroyMap)==null||t.call(e),(o=(a=h.value)==null?void 0:a.destroyMap)==null||o.call(a),nn()}),pt(D,()=>{if(!Q.value){if(!Vt.value&&!va.value&&!q.size){W.value="";return}ge({resetError:!0})}}),pt(z,e=>{var t,a;if(Z(),e===Be){(a=(t=m.value)==null?void 0:t.pause)==null||a.call(t),U(()=>{St(),Ae()});return}Aa(),U(()=>{var o,r;(r=(o=m.value)==null?void 0:o.resume)==null||r.call(o)})}),pt(()=>f.active,e=>{var t,a;e?(Kt(),rn(),Ba(),Va(),pa?kt(0):_a()):(Fe=!1,(a=(t=m.value)==null?void 0:t.pause)==null||a.call(t),Aa(),qt(),Qt(),ge({resetError:!0}),Pt(),Ct())});function Kt(){Fe=!1,g("loading-progress",{progress:0}),U(()=>{var e,t,a,o;if(ne.value){(t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)?De():(o=(a=m.value)==null?void 0:a.loadMap)==null||o.call(a);return}St()})}function St(){if(!(_||!f.active||ne.value)){if(Ia()){Ae(),De();return}if(Ht){Ta();return}at||(at=!0,re=new Lr({showDataOverlays:!1}),re.instance.on("onProgress",tn),re.instance.on("onLoad",La),re.instance.on("onError",an),re.instance.loaded&&La())}}function tn(e,t,a){if(_||ne.value)return;const o=Math.max(1,Number(a)||1),r=Math.max(0,Number(t)||0);g("loading-progress",{progress:Math.min(98,Math.floor(r/o*92))})}function La(){_||(at=!1,Ht=!0,g("loading-progress",{progress:96}),U(Ta))}function an(e){at=!1,console.warn("[home] 3D map assets load failed",e),De()}function Ta(){var e,t,a,o;_||!f.active||ne.value||!re||((t=(e=h.value)==null?void 0:e.loadMap)==null||t.call(e,re),Ae(),(o=(a=h.value)==null?void 0:a.play)==null||o.call(a),De())}function Ae(){var a,o,r,u,c,d,p,C;const e=h.value;(a=e==null?void 0:e.resume)==null||a.call(e);const t=Ia();(r=(o=t==null?void 0:t.sizes)==null?void 0:o.init)==null||r.call(o),(u=t==null?void 0:t.resize)==null||u.call(t),(d=(c=t==null?void 0:t.label3d)==null?void 0:c.resize)==null||d.call(c),(C=(p=t==null?void 0:t.label3d)==null?void 0:p.update)==null||C.call(p)}function Aa(){var e,t;(t=(e=h.value)==null?void 0:e.pause)==null||t.call(e)}function Ia(){var t;const e=(t=h.value)==null?void 0:t.canvasMap;return(e==null?void 0:e.value)||e||null}function on(){ne.value||De()}function nn(){var e,t;(t=(e=re==null?void 0:re.instance)==null?void 0:e.destroy)==null||t.call(e),re=null,at=!1,Ht=!1}function De(){_||Fe||(Fe=!0,g("loading-progress",{progress:100}),g("map-ready"),_a())}function Ut(e={}){var t,a,o,r,u,c,d,p,C;if(!ne.value){Ae();return}if((a=(t=m.value)==null?void 0:t.resume)==null||a.call(t),e.reset){(r=(o=m.value)==null?void 0:o.resetView)==null||r.call(o),(u=m.value)!=null&&u.resetView||(d=(c=m.value)==null?void 0:c.refreshView)==null||d.call(c);return}(C=(p=m.value)==null?void 0:p.refreshView)==null||C.call(p)}function rn(){z.value!==Be&&!wa[z.value]&&(z.value=Be);const e=()=>{if(!(_||!f.active)){if(ne.value){Ut({reset:!0});return}St(),Ae()}};U(()=>{e(),window.setTimeout(e,180)})}function sn(){var e,t;if(Z(),!ne.value){Ae();return}if((t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)){Ut({reset:!0});return}Kt(),U(()=>{var a,o;(o=(a=m.value)==null?void 0:a.resume)==null||o.call(a)})}function ln(){if(Z(),z.value===Be){U(()=>{St(),Ae()});return}z.value=Be}n({refreshMapView:Ut,resetMap:sn,showDefaultThreeMap:ln});function _a(){qt();const e=()=>{Ce=null,Ze="",!(_||!f.active)&&(pa=!0,Ha(),f.active&&Ba())};if(typeof window.requestIdleCallback=="function"){Ze="idle",Ce=window.requestIdleCallback(e,{timeout:1800});return}Ze="timeout",Ce=window.setTimeout(e,650)}function qt(){Ce&&(Ze==="idle"&&typeof window.cancelIdleCallback=="function"?window.cancelIdleCallback(Ce):window.clearTimeout(Ce),Ce=null,Ze="")}function Ea(e,t){e&&(t?F.set(e,t):F.delete(e))}function Oa(e,t){const a=Number(t==null?void 0:t.index);Number.isFinite(a)&&(e?M.set(a,e):M.delete(a)),t!=null&&t.isActive&&(b.value=e||null)}function un(e=[],t=0,a=xt){const o=Array.isArray(e)?e:[];if(!o.length)return[{key:`empty-${a.key||"video"}`,index:0,live:a,isActive:!0}];const r=(t+o.length)%o.length,u=o[r],c=(u==null?void 0:u.live)||u||a,d=Number.isFinite(Number(u==null?void 0:u.index))?Number(u.index):r;return[{key:`${c.key||c.title||"video"}-${d}`,index:d,live:c,isActive:!0}]}function Ba(){!f.active||_||(Qt(),gt=window.setInterval(Ra,2600),Je=window.setTimeout(Ra,800))}function Qt(){gt&&(window.clearInterval(gt),gt=null),Je&&(window.clearTimeout(Je),Je=null)}function Ra(){_||!f.active||(Je=null,se.value+=1,Mn())}function Yt(){g("module-stats",{moduleKey:"home",items:Qo.value})}function kt(e=Io){Fa(),!(_||!f.active)&&(Xe=window.setTimeout(()=>{if(Xe=null,!(_||!f.active)){if(vt){kt(_o);return}Ha()}},Math.max(0,Number(e)||0)))}function Fa(){Xe&&(window.clearTimeout(Xe),Xe=null)}function Ha(){return fe(this,null,function*(){if(vt){kt(_o);return}vt=!0;let e=Io;try{const t=yield li({includeOffline:!0,includeHidden:!0});if(_)return;dn(t)}catch(t){if(_)return;e=ys,te.value.length||(W.value="监控接口暂不可用"),window.setTimeout(()=>{_||W.value==="监控接口暂不可用"&&(W.value="")},2400)}finally{vt=!1,_||kt(e)}})}function xe(e){return String((e==null?void 0:e.key)||(e==null?void 0:e.device)||(e==null?void 0:e.title)||"").trim()}function cn(e=[],t=[]){const a=new Map;t.forEach(u=>{const c=xe(u);c&&!a.has(c)&&a.set(c,u)});const o=[],r=new Set;return e.forEach(u=>{const c=xe(u),d=c?a.get(c):null;!d||r.has(c)||(o.push(d),r.add(c))}),t.forEach(u=>{const c=xe(u);c&&r.has(c)||(o.push(u),c&&r.add(c))}),o}function dn(e=[]){const t=te.value,a=D.value,o=xe(t[a]),r=t.filter(pe).map(xe),u=cn(t,Array.isArray(e)?e:[]),c=t.some((P,v)=>xe(P)!==xe(u[v])),d=u.filter(pe).map(xe),p=r.length!==d.length||r.some((P,v)=>P!==d[v]);c?ge({resetError:!0}):t.forEach((P,v)=>{if(!q.has(String(v))&&!me[String(v)])return;const I=u[v];(!I||!pe(I))&&je(v,{resetError:!0})}),te.value=u,ga.value=new Date().toISOString();let C=o?u.findIndex(P=>xe(P)===o):-1;if(C<0||!pe(u[C])?(C=u.findIndex(P=>pe(P)),le.value=Math.max(0,C),nt.value=!1,se.value=0):!Q.value&&(p||c)?(le.value=C,se.value=0):Q.value&&(le.value=C),u.filter(P=>pe(P)).length?["暂无在线可播放摄像头","监控接口暂不可用"].includes(W.value)&&(W.value=""):(ge({resetError:!0}),W.value="暂无在线可播放摄像头"),Q.value){const P=it.value.findIndex(v=>v.index===le.value);ae.value=Math.floor(Math.max(0,P)/qe)+1}else ae.value=Math.min(ae.value,rt.value)}function J(e){const t=te.value.length;return t?((Number(e)||0)+t)%t:0}function ce(e){return String(J(e))}function Na(e){const t=ce(e);return me[t]||(me[t]={playing:!1,loading:!1,ready:!1,error:""}),me[t]}function st(e){return me[ce(e)]||{}}function lt(e){return`${Ro}-${ce(e)}`}function Jt(e){return!!st(e).playing}function Mt(e){return!!st(e).loading}function $e(e){const t=st(e).error;return t||(J(e)===D.value?W.value:"")}function Ga(e){const t=st(e);return!!(t.playing||t.loading)}function Ie(){const e=Object.values(me);Vt.value=e.some(t=>t.playing),va.value=e.some(t=>t.loading)}function Da(e,t=!0,a=D.value){const o=(e==null?void 0:e.image)||mo;return Jt(a)&&t?void 0:{backgroundImage:`linear-gradient(180deg, rgba(0, 16, 26, 0.08), rgba(0, 16, 26, 0.32)), url(${o})`}}function fn(){za(-1)}function hn(){za(1)}function mn(){const e=D.value;ge({resetError:!0}),le.value=e,nt.value=!0,se.value=0;const t=it.value.findIndex(a=>a.index===e);ae.value=Math.floor(Math.max(0,t)/qe)+1,Q.value=!0,U(()=>Xt())}function Pt(){Q.value&&(ge({resetError:!0}),Q.value=!1)}function $a(e){var o,r;const t=Math.max(1,Math.min(rt.value,Number(e)||1));if(t===ae.value)return;ge({resetError:!0}),ae.value=t;const a=(t-1)*qe;le.value=(r=(o=it.value[a])==null?void 0:o.index)!=null?r:0,U(()=>Xt())}function pn(){Nt.value=!0}function Va(){return fe(this,null,function*(){const e=++ot;Dt.value=!0,$t.value="",H.value="";try{const t=yield Ar();if(_||e!==ot)return;k.splice(0,k.length,...t.headerStats||[]),S.splice(0,S.length,...t.yakTowns||[]),A.splice(0,A.length,...t.yakStructure||[]),Gt.value=(t.balanceRows||[]).filter(a=>["county","town"].includes(a.type)),R.value={grassland:t.grassland||{},wetland:t.wetland||{}},Yt()}catch(t){if(_||e!==ot)return;console.error("[home] V3 dashboard unavailable",t),k.splice(0),S.splice(0),A.splice(0),Gt.value=[],R.value={},H.value=(t==null?void 0:t.message)||"首页V3业务数据加载失败",$t.value=H.value,Yt()}finally{!_&&e===ot&&(Dt.value=!1)}})}function Ct(){Nt.value=!1}function za(e){var r,u;const t=Ge.value,a=t.length;if(!a)return;ge({resetError:!0});const o=Wt.value;le.value=(u=(r=t[(o+e+a)%a])==null?void 0:r.index)!=null?u:0,nt.value=!0,se.value=0}function _e(e){if(!te.value.length){wn();return}const a=J(e),o=ce(a),r=st(a);if(le.value=a,nt.value=!0,se.value=0,Rt.has(o)||q.has(o)||(r.playing||r.loading)&&!r.error){ze(a);return}Rt.add(o),U(()=>fe(this,null,function*(){try{yield Ua(a,{stopOthers:!Q.value})}finally{Rt.delete(o)}}))}function ja(e,t){vn(t==null?void 0:t.target)||_e(e)}function Wa(e){var r,u,c,d,p,C,w,P,v,I;const t=((u=(r=e==null?void 0:e.target)==null?void 0:r.closest)==null?void 0:u.call(r,'[id$="-webExpend-content"]'))||((c=e==null?void 0:e.composedPath)==null?void 0:c.call(e).find(N=>String((N==null?void 0:N.id)||"").endsWith("-webExpend-content")));if(!t)return;const a=Number((C=(p=(d=t.closest)==null?void 0:d.call(t,"[data-video-index]"))==null?void 0:p.dataset)==null?void 0:C.videoIndex),o=(w=ue.value)!=null?w:Number.isFinite(a)?a:D.value;(P=e.preventDefault)==null||P.call(e),(v=e.stopPropagation)==null||v.call(e),(I=e.stopImmediatePropagation)==null||I.call(e),gn(o)}function gn(e){return fe(this,null,function*(){var r,u;const t=J(e);if(ue.value===t){Lt();return}ue.value!==null&&Lt();const a=document.getElementById(`${lt(t)}-wrap`);if(!a)return;ue.value=t,yield U();const o=(u=(r=L.value)==null?void 0:r.querySelector)==null?void 0:u.call(r,".home-video-web-player-slot");if(!o){ue.value=null;return}o.appendChild(a),ze(t),Ve(t)})}function Lt(e={}){var r;const{restore:t=!0}=e,a=ue.value;if(a===null)return;const o=document.getElementById(`${lt(a)}-wrap`);if(t&&o){const u=Tt(a)||b.value,c=(r=u==null?void 0:u.querySelector)==null?void 0:r.call(u,".home-video-player-host");c&&c.appendChild(o)}ue.value=null,t&&U(()=>{ze(a),Ve(a)})}function vn(e){var t;return!!((t=e==null?void 0:e.closest)!=null&&t.call(e,'[id$="-audioControls"], [id$="-ez-iframe-footer-container"], .footer-controls, .theme-icon-item'))}function yn(e){const t=Math.max(0,Number((e==null?void 0:e.value)||0)),a=Math.max(5,...jt.value.map(o=>Math.max(0,Number(o.value||0))));return Math.max(6,Math.min(100,t/a*100))}function bn(e){const t=Number(e==null?void 0:e.value),a=String((e==null?void 0:e.status)||(e==null?void 0:e.level)||"");return Number.isFinite(t)?t>20||/严重|重度|高超载/.test(a)?"#8bf7ff":t>10||/中度|预警/.test(a)?"#48cfff":t>5||/轻度/.test(a)?"#8bf7ff":t<=0||/总体可控|合理|正常|达标|无超载/.test(a)?"#24f6c4":"#30dcff":"#30dcff"}function Ka(e){return{"--balance-color":bn(e),"--balance-progress":`${yn(e)}%`}}function wn(){return fe(this,null,function*(){return Ua(D.value,{stopOthers:!Q.value})})}function Ua(a){return fe(this,arguments,function*(e,t={}){const{stopOthers:o=!0}=t,r=J(e),u=te.value[r]||xt,c=ce(r);let d=Na(r);if((u==null?void 0:u.status)!=="直播中"||!(u!=null&&u.hdPlayUrl)||!(u!=null&&u.token)){d.error=(u==null?void 0:u.status)==="离线"?"当前监控离线":"暂无在线可播放摄像头",d.loading=!1,d.playing=!1,d.ready=!1,r===D.value&&(W.value=d.error),Ie();return}if(q.has(c)||(d.playing||d.loading)&&!d.error)return;le.value=r,se.value=0,o?ge({resetError:!0}):(q.has(c)||d.loading)&&je(r,{resetError:!0}),d=Na(r),d.error="",d.loading=!0,d.playing=!1,d.ready=!1,r===D.value&&(W.value=""),Ie(),yield U();const p=(we.get(c)||0)+1;we.set(c,p);let C=null;Sn(r,p);try{const w=Tt(r)||b.value,P=lt(r);if(!xn(w,P))throw new Error("视频容器未就绪");const{width:v,height:I}=Qa(w,340,92);if(C=new ui.EZUIKitPlayer({id:P,accessToken:u.token,url:u.hdPlayUrl,audio:0,width:v,height:I,themeData:kn(),handleError(N){p===we.get(c)&&(ut(r),console.warn("EZUIKit player error",N),ea(C),d.error="视频加载失败",d.loading=!1,d.playing=!1,d.ready=!1,we.set(c,p+1),q.delete(c),ta(r),r===D.value&&(W.value=d.error),Ie())},handleSuccess(){p===we.get(c)&&(ut(r),d.error="",d.ready=!0,d.loading=!1,r===D.value&&(W.value=""),ze(r),Ve(r),Zt(P),Ie())},fullScreenChangeCallBack(){}}),p!==we.get(c)){ea(C),ta(r);return}q.set(c,C),d.playing=!0,Ie(),U(()=>{ze(r),Ve(r),Zt(P)})}catch(w){ut(r),console.warn("EZUIKit init error",w),d.error="视频加载失败",r===D.value&&(W.value=d.error),je(r,{resetError:!1})}})}function Zt(e){if(typeof document=="undefined"||!e)return;const t=document.getElementById(`${e}-ez-iframe-footer-container`),a=document.getElementById(`${e}-audioControls`);t&&Object.assign(t.style,{position:"absolute",left:"0",right:"0",bottom:"0",zIndex:"20",width:"100%",marginTop:"0",pointerEvents:"auto",visibility:"visible",opacity:"1"}),a&&Object.assign(a.style,{opacity:"1",pointerEvents:"all",visibility:"visible"})}function Ve(e=D.value,t=0){if(typeof window=="undefined")return;const a=J(e),o=ce(a),r=Le.get(o);t===0&&r&&window.cancelAnimationFrame(r);const u=window.requestAnimationFrame(()=>{ze(a),t<8?Ve(a,t+1):Le.delete(o)});Le.set(o,u)}function qa(e){if(typeof window!="undefined"){if(e!==void 0){const t=ce(e),a=Le.get(t);a&&window.cancelAnimationFrame(a),Le.delete(t);return}Le.forEach(t=>window.cancelAnimationFrame(t)),Le.clear()}}function Xt(){Array.from(q.keys()).forEach(e=>{const t=Number(e);Number.isFinite(t)&&Ve(t)})}function Qa(e,t=1,a=1){var c;if(!e)return{width:Math.max(1,Math.floor(t||1)),height:Math.max(1,Math.floor(a||1))};const o=(c=e.getBoundingClientRect)==null?void 0:c.call(e),r=e.clientWidth||e.offsetWidth||(o==null?void 0:o.width)||t,u=e.clientHeight||e.offsetHeight||(o==null?void 0:o.height)||a;return{width:Math.max(1,Math.floor(r||1)),height:Math.max(1,Math.floor(u||1))}}function Tt(e=D.value){if(typeof document=="undefined")return null;const t=J(e),a=Q.value?".home-video-modal-item":".home-video-card .home-video-screen",o=document.querySelector(`${a}[data-video-index="${t}"]`);if(o)return o;const r=M.get(t);return r!=null&&r.isConnected?r:null}function xn(e,t){var r;const a=(r=e==null?void 0:e.querySelector)==null?void 0:r.call(e,".home-video-player-host");if(!a)return null;a.replaceChildren();const o=document.createElement("div");return o.id=t,o.className="home-video-player",a.appendChild(o),o}function ze(e=D.value){var io,ro;if(typeof document=="undefined")return;const t=J(e),a=ce(t),o=lt(t),r=ue.value===t&&L.value?L.value:Tt(t)||b.value,u=document.getElementById(`${o}-wrap`),c=document.getElementById(o),d=u||c;if(!r||!d)return;const{width:p,height:C}=Qa(r),w=q.get(a);try{u&&c&&w&&typeof w.reSize=="function"?w.reSize(p,C):u&&c&&w&&typeof w.autoResize=="function"&&w.autoResize()}catch(Se){console.warn("EZUIKit resize failed",Se)}const P={position:"absolute",left:"0",top:"0",right:"0",bottom:"0",width:`${p}px`,height:`${C}px`};Object.assign(d.style,P,{display:"block",verticalAlign:"top"}),u&&c&&Object.assign(c.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",display:"block",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",overflow:"hidden",verticalAlign:"top"});const v=document.getElementById(`EZUIKitPlayer-${o}`);v&&(v.setAttribute("width",String(p)),v.setAttribute("height",String(C)));const I=document.getElementById(`${o}-player`),N=document.getElementById(`${o}canvas0`),$=document.getElementById(`${o}canvas_draw0`),Et=[d,c,I,N==null?void 0:N.parentElement,N,$==null?void 0:$.parentElement,$,...Array.from((c==null?void 0:c.children)||[]),...Array.from(((io=d==null?void 0:d.querySelectorAll)==null?void 0:io.call(d,"[id$='-wrap'], .play-window, video, canvas, iframe, object, embed"))||[]),...Array.from(((ro=c==null?void 0:c.querySelectorAll)==null?void 0:ro.call(c,".play-window, video, canvas, iframe, object, embed"))||[]),v].filter(Boolean);Array.from(new Set(Et)).forEach(Se=>{var so,lo;(so=Se.setAttribute)==null||so.call(Se,"width",String(p)),(lo=Se.setAttribute)==null||lo.call(Se,"height",String(C)),Object.assign(Se.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:"0",objectFit:"fill"})}),Zt(o)}function ge(e={}){Array.from(q.keys()).forEach(t=>{je(Number(t),e)}),Object.keys(me).forEach(t=>{q.has(t)||je(Number(t),e)}),Ie()}function je(e,t={}){const{clearElement:a=!0,resetError:o=!1}=t,r=J(e),u=ce(r);qa(r),ut(r);const c=q.get(u);q.delete(u),we.set(u,(we.get(u)||0)+1),c&&ea(c),a&&ta(r);const d=me[u];d&&(d.playing=!1,d.loading=!1,d.ready=!1,o&&(d.error=""),d.error||delete me[u]),r===D.value&&o&&(W.value=""),Ie()}function Sn(e,t){const a=J(e),o=ce(a);ut(a);const r=window.setTimeout(()=>{const u=me[o];t!==we.get(o)||!(u!=null&&u.loading)||(u.error="视频加载超时",a===D.value&&(W.value=u.error),je(a,{resetError:!1}))},bs);Ft.set(o,r)}function ut(e){const t=ce(e),a=Ft.get(t);a&&(window.clearTimeout(a),Ft.delete(t))}function ea(e){if(!(!e||typeof e.stop!="function"))try{const t=e.stop();t&&typeof t.catch=="function"&&t.catch(()=>{})}catch(t){console.warn("EZUIKit stop error",t)}}function ta(e=D.value){var d;if(typeof document=="undefined")return;const t=J(e),a=lt(t),o=document.getElementById(`${a}-wrap`),r=document.getElementById(a),u=Tt(t)||b.value,c=(d=u==null?void 0:u.querySelector)==null?void 0:d.call(u,".home-video-player-host");ue.value===t&&Lt({restore:!1}),c&&c.replaceChildren(),o!=null&&o.isConnected&&o.remove(),r!=null&&r.isConnected&&r.remove()}function kn(){return{autoFocus:0,header:{color:"#30dcff",activeColor:"#ffffff",backgroundColor:"#000000",btnList:[{iconId:"deviceID",part:"left",defaultActive:0,memo:"顶部设备序列号",isrender:0},{iconId:"deviceName",part:"left",defaultActive:0,memo:"顶部设备名称",isrender:0},{iconId:"cloudRec",part:"right",defaultActive:0,memo:"云存储",isrender:0},{iconId:"rec",part:"right",defaultActive:0,memo:"SD卡回放",isrender:0}]},footer:{color:"#ffffff",activeColor:"#30dcff",backgroundColor:"#00000021",btnList:[{iconId:"play",part:"left",defaultActive:1,memo:"播放",isrender:1},{iconId:"capturePicture",part:"left",defaultActive:0,memo:"截屏按钮",isrender:0},{iconId:"sound",part:"left",defaultActive:0,memo:"声音按钮",isrender:1},{iconId:"pantile",part:"left",defaultActive:0,memo:"云台控制按钮",isrender:1},{iconId:"recordvideo",part:"left",defaultActive:0,memo:"录制按钮",isrender:0},{iconId:"zoom",part:"left",defaultActive:0,memo:"电子放大",isrender:0},{iconId:"hd",part:"right",defaultActive:0,memo:"清晰度切换按钮",isrender:1},{iconId:"webExpend",part:"right",defaultActive:0,memo:"网页全屏按钮",isrender:1}]}}}function Mn(){const e=F.get("yak-structure");Pn(e,"畜群结构",Ma.value)}function Pn(e,t,a){const o=typeof(e==null?void 0:e.dispatchAction)=="function"?e:e==null?void 0:e.chart;!o||a<0||(o.dispatchAction({type:"downplay",seriesName:t}),o.dispatchAction({type:"hideTip"}),o.dispatchAction({type:"highlight",seriesName:t,dataIndex:a}),o.dispatchAction({type:"showTip",seriesName:t,dataIndex:a}))}function Ya(e){return e?se.value%e:0}function At(e,t){const a=R.value[e];return[...(a==null?void 0:a.leftPanels)||[],...(a==null?void 0:a.rightPanels)||[]].find(r=>(r==null?void 0:r.key)===t)}function aa(e,t){return e?j(G({},e),{title:t}):null}function Cn(){var t;return(((t=At("grassland","grassland-productivity-town"))==null?void 0:t.rows)||[]).map((a,o)=>j(G({},a),{key:a.key||`home-pasture-productivity-${a.name}`,unit:"斤/亩",sourceIndex:o}))}function Ln(e,t){const a=String((e==null?void 0:e.key)||"");return a.includes("grassland-town")?j(G({},e),{key:`home-${t}-${e.key}`,height:Ne.value,option:Tn(e,e.title)}):a.includes("wetland-town-area")?j(G({},e),{key:`home-${t}-${e.key}`,height:Ne.value,option:An(e,e.title)}):a.includes("grassland-type-proportion")?j(G({},e),{key:`home-${t}-${e.key}`,fixedActiveIndex:!0,height:Ne.value}):j(G({},e),{key:`home-${t}-${e.key}`,height:Ne.value})}function Tn(e,t,a={}){var C;const o=(e.rows||[]).filter(w=>Number.isFinite(Number(w.value))).slice(0,10),r=((C=o.find(w=>w.unit))==null?void 0:C.unit)||"万亩",u=o.map(w=>Number(w.value)||0),c=Math.max(...u,1),d=Math.ceil(c*1.14),p=a.showTrendLine===!0;return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:`单位:${r}`,left:"5%",top:"8%",textStyle:{color:Oe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:0}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(w){var N;const P=Array.isArray(w)?w:[w],v=P.find($=>$.seriesName===t)||P[0],I=o[(N=v==null?void 0:v.dataIndex)!=null?N:0];return I?`${I.name}
    ${t}:${de(I.value)}${I.unit||r}`:""}},grid:{left:"12%",top:"25%",width:"82%",height:"55%"},xAxis:[{type:"category",data:o.map(w=>w.name),axisLabel:{interval:0,hideOverlap:!1,color:ha,fontSize:10,fontWeight:700,lineHeight:12,margin:8,padding:[0,0,0,0],formatter:Za},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},{type:"category",data:o.map(w=>w.name),axisLine:{show:!1,lineStyle:{color:"rgba(0, 0, 0, 0)"}},axisTick:{show:!1},axisLabel:{show:!1}}],yAxis:{type:"value",min:0,max:d,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:[2,2],dashOffset:5,color:ma,opacity:1,width:.3}},axisLabel:{color:Eo,fontSize:10,formatter:Ee}},series:[{name:t,type:"bar",barWidth:7,stack:"b",z:3,data:o.map(w=>Number(w.value)||0),label:{show:!0,position:"top",distance:9,color:Ue,fontSize:10,fontWeight:700,formatter:({value:w})=>Ee(w)},itemStyle:{borderRadius:2,color:new ct(0,0,0,1,[{offset:0,color:"#43d9e8"},{offset:.58,color:"rgba(67, 217, 232, 0.72)"},{offset:1,color:"rgba(67, 217, 232, 0.16)"}])},emphasis:{itemStyle:{shadowBlur:4,shadowColor:"rgba(67, 217, 232, 0.18)"}}},...p?[{name:`${t}趋势`,type:"line",smooth:!0,symbol:"circle",symbolSize:5,showSymbol:!0,data:u,label:{show:!1},lineStyle:{width:1.3,color:"rgba(139, 247, 255, 0.82)",shadowBlur:0,shadowColor:"transparent"},itemStyle:{color:Ue,borderColor:"#8bf7ff",borderWidth:1,shadowBlur:0,shadowColor:"transparent"},emphasis:{scale:!0,lineStyle:{width:2}},tooltip:{show:!1},z:5}]:[],{type:"bar",barWidth:18,xAxisIndex:1,barGap:"-220%",data:o.map(()=>d),emphasis:{focus:"none",itemStyle:{color:"rgba(255, 255, 255, 0.8)"}},itemStyle:{color:"rgba(67, 217, 232, 0.3)",opacity:.08},tooltip:{show:!1},z:0}]})}function An(e,t){var d;const a=(e.rows||[]).filter(p=>Number.isFinite(Number(p.value))).sort((p,C)=>(Number(C.value)||0)-(Number(p.value)||0)).slice(0,10),o=((d=a.find(p=>p.unit))==null?void 0:d.unit)||"万亩",r=a.map(p=>Number(p.value)||0),u=Math.max(...r,1),c=Math.ceil(u*1.2);return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:`单位:${o}`,left:"5%",top:"8%",textStyle:{color:Oe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:.08}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(p){var v;const C=Array.isArray(p)?p:[p],w=C.find(I=>I.seriesName===t)||C[0],P=a[(v=w==null?void 0:w.dataIndex)!=null?v:0];return P?`${P.name}
    ${t}:${de(P.value)}${P.unit||o}`:""}},grid:{left:58,right:74,top:42,bottom:14,containLabel:!1},xAxis:{type:"value",min:0,max:c,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!0,lineStyle:{color:ma,type:[2,4],width:.3}}},yAxis:{type:"category",inverse:!0,data:a.map(p=>p.name),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:ha,fontSize:10,fontWeight:700,margin:8}},series:[{name:"背景",type:"bar",barWidth:8,barGap:"-100%",data:a.map(()=>c),itemStyle:{color:"rgba(74, 145, 165, 0.13)",borderColor:"rgba(95, 208, 235, 0.12)",borderWidth:1},emphasis:{disabled:!0},tooltip:{show:!1},z:0},{name:t,type:"bar",barWidth:8,data:r,label:{show:!0,position:"right",distance:8,color:Ue,fontSize:10,fontWeight:700,formatter:({value:p})=>`${de(p)}${o}`},itemStyle:{borderRadius:[0,5,5,0],color:new ct(0,0,1,0,[{offset:0,color:"rgba(50, 170, 255, 0.22)"},{offset:.45,color:"#35d6ff"},{offset:1,color:"#8dfbff"}])},emphasis:{itemStyle:{shadowBlur:3,shadowColor:"rgba(53, 214, 255, 0.16)"}},z:2}]})}function In(e=[],t="数值"){var P;const a=["邛溪镇","刷经寺镇","安曲镇","龙日镇","江茸乡","查尔玛乡","瓦切镇","阿木乡","麦洼乡","色地镇"],o=new Map(a.map((v,I)=>[v,I])),r=e.filter(v=>Number.isFinite(Number(v.value))).sort((v,I)=>{var N,$;return((N=o.get(v.name))!=null?N:99)-(($=o.get(I.name))!=null?$:99)}).slice(0,10),u=((P=r.find(v=>v.unit))==null?void 0:P.unit)||"头",c=r.map(v=>Number(v.value)||0),d=Math.max(...c,1),p=Math.ceil(d*1.16/1e4)*1e4,C=Ya(r.length),w=new Set(c.map((v,I)=>({value:v,index:I})).sort((v,I)=>I.value-v.value).slice(0,3).map(v=>v.index));return mt({animation:!0,animationDuration:760,animationDurationUpdate:520,animationEasing:"cubicOut",title:{text:`单位:${u}`,left:12,top:8,textStyle:{color:Oe,fontSize:10,fontWeight:400}},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(48, 220, 255, 0.18)"}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.82)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(v){var Et;const I=Array.isArray(v)?v:[v],N=I.find(no=>no.seriesName===t)||I[0],$=r[(Et=N==null?void 0:N.dataIndex)!=null?Et:0];return $?`${$.name}
    ${t}:${de($.value)}${$.unit||u}`:""}},grid:{left:46,right:20,top:38,bottom:28,containLabel:!1},xAxis:{type:"category",boundaryGap:!1,data:r.map(v=>v.name),axisLine:{show:!0,lineStyle:{color:"rgba(141, 251, 255, 0.32)"}},axisTick:{show:!1},axisLabel:{show:!0,interval:0,margin:8,color:Oe,fontSize:9,formatter:v=>String(v).replace(/[乡镇]$/,"")}},yAxis:{type:"value",min:0,max:p,splitNumber:4,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:Oe,fontSize:9,margin:7,formatter:v=>Ee(v)},splitLine:{show:!0,lineStyle:{color:"rgba(112, 209, 230, 0.25)",type:[4,4],width:.7}}},series:[{name:t,type:"line",smooth:.16,showSymbol:!0,symbol:"circle",symbolSize:(v,I)=>I.dataIndex===C?7:4,data:c,label:{show:!0,position:"top",distance:5,color:Ue,fontSize:10,fontWeight:700,formatter:({value:v,dataIndex:I})=>w.has(I)?Ee(v):""},lineStyle:{width:2.5,color:"#8dfbff",shadowBlur:7,shadowColor:"rgba(48, 220, 255, 0.68)"},areaStyle:{color:new ct(0,0,0,1,[{offset:0,color:"rgba(73, 241, 255, 0.72)"},{offset:.38,color:"rgba(38, 197, 235, 0.26)"},{offset:1,color:"rgba(13, 78, 111, 0.03)"}])},itemStyle:{color(v){return v.dataIndex===C?"#ffffff":"#38e6f7"},borderColor:"#8dfbff",borderWidth:1,shadowBlur:5,shadowColor:"rgba(48, 220, 255, 0.58)"},emphasis:{scale:!0,itemStyle:{color:"#ffffff",shadowBlur:5,shadowColor:"rgba(141, 251, 255, 0.2)"}},z:2}]})}function _n(e=[],t="数值"){var d;const a=e.filter(p=>Number.isFinite(Number(p.value))).slice(0,10),o=((d=a.find(p=>p.unit))==null?void 0:d.unit)||"",r=a.map(p=>Number(p.value)||0),u=Math.max(...r,1),c=Math.ceil(u*1.12);return mt({animation:!0,animationDuration:900,animationDurationUpdate:700,animationEasing:"cubicOut",title:{text:o?`单位:${o}`:"",left:"5%",top:"8%",textStyle:{color:Oe,fontSize:10,fontWeight:400}},grid:{left:"12%",top:"25%",width:"82%",height:"55%"},tooltip:{trigger:"axis",axisPointer:{type:"shadow",shadowStyle:{opacity:.2}},backgroundColor:"rgba(0, 0, 0, 0.92)",borderWidth:1,borderColor:"rgba(153, 153, 153, 0.95)",padding:[8,10],textStyle:{color:"#ffffff",fontSize:10},formatter(p){var v;const w=(Array.isArray(p)?p:[p])[0],P=a[(v=w==null?void 0:w.dataIndex)!=null?v:0];return P?`${P.name}
    ${t}:${de(P.value)}${P.unit||o}`:""}},color:["#6BC7F6"],xAxis:[{type:"category",data:a.map(p=>p.name),axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:ha,fontSize:10,fontWeight:700,interval:0,padding:[0,0,0,0],formatter:Za}},{data:[],axisLine:{show:!1,lineStyle:{color:"rgba(0, 0, 0, 0)"}},axisTick:{show:!1},axisLabel:{show:!1}}],yAxis:{type:"value",min:0,max:c,axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:[2,2],dashOffset:5,color:ma,opacity:1,width:.3}},axisLabel:{color:Eo,fontSize:10,formatter:Ee}},series:[{name:t,data:r,type:"line",smooth:!0,symbol:gs,symbolSize:10,showSymbol:!1,z:3,emphasis:{focus:"none",itemStyle:{color:"white"}},label:{show:!0,position:"top",distance:10,color:Ue,fontSize:10,fontWeight:700,formatter:({value:p})=>Ee(p)},lineStyle:{shadowColor:"rgba(0, 0, 0, 0.4)",shadowBlur:3,shadowOffsetY:10,width:3,color:new ct(0,0,0,1,[{offset:0,color:"rgba(115, 208, 255, 1)"},{offset:1,color:"rgba(18, 60, 98, 1)"}])},areaStyle:{color:new ct(0,0,0,1,[{offset:0,color:"rgba(25, 255, 236, 0.34)"},{offset:1,color:"rgba(51, 153, 255, 0)"}])}}]})}function Ja(e){return String((e==null?void 0:e.key)||"").includes("grassland-town")}function de(e){const t=Number(e);return Number.isFinite(t)?t.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(t)?0:2}):"--"}function Ee(e){const t=Number(e);return Number.isFinite(t)?Math.abs(t)>=1e4?`${(t/1e4).toFixed(Math.abs(t)>=1e5?0:1)}万`:Math.round(t).toLocaleString("zh-CN"):"--"}function Za(e){return String(e||"").replace(/\s+/g,"").replace(/[镇乡]$/u,"").slice(0,4)}function En(e){if(!e)return null;const t=e.topicKey==="yak-industry-chain"?dr(e.layerKey):pi(e.topicKey,e.layerKey);if(t)return t;const a=gi(e.topicKey);return a.find(o=>o.key===e.layerKey)||a[0]||null}function On(e,t){const a=Number.isFinite(Number(t.fillOpacity))?Number(t.fillOpacity):.46,o=t.stroke||t.strokeColor||"#E5FCFF",r=Number.isFinite(Number(t.strokeOpacity))?Number(t.strokeOpacity):.86,u=Number.isFinite(Number(t.strokeWidth))?Number(t.strokeWidth):1.1;return`${e}${t.fill}${a}${o}${r}${u}round`}function Bn(e){bt.some(t=>t.key===e)&&(z.value=e,Z())}function Xa(e){if(e.key==="Escape"){if(ue.value!==null){Lt();return}Pt(),Ct()}}function oa(){ba.value=typeof window=="undefined"?1080:window.innerHeight,Xt()}function Rn(e){const t=document.querySelector(".home-dashboard"),a=t==null?void 0:t.getBoundingClientRect();if(!(a!=null&&a.width)||!(a!=null&&a.height))return e;const o=Number(e==null?void 0:e.x),r=Number(e==null?void 0:e.y);return!Number.isFinite(o)||!Number.isFinite(r)?{x:960,y:540}:o>=0&&o<=1920&&r>=0&&r<=1080&&(o>a.width||r>a.height)?{x:o,y:r}:{x:(o-a.left)/a.width*1920,y:(r-a.top)/a.height*1080}}function It(e,t){var a,o,r,u;return((o=(a=m.value)==null?void 0:a.getVectorFeatureAnchorScreen)==null?void 0:o.call(a,e))||((u=(r=m.value)==null?void 0:r.getVectorFeatureScreen)==null?void 0:u.call(r,e))||t}function Fn(){if(!zt.value||!Y.value)return;const e=It(Y.value,oe.value);if(!e)return;const t=oe.value;t&&Math.abs(Number(t.x)-Number(e.x))<.5&&Math.abs(Number(t.y)-Number(e.y))<.5||(oe.value=e)}function na(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(o=>eo(o,t[o])).length}function Hn(e={}){return e.categoryCode==="YC-FAMILY-PASTURE"||e.stageKey==="family-pasture"}function eo(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!s.has(String(e||"").toLowerCase())}function to(e={}){const t=String(z.value||"").toLowerCase(),a=`${e.key||""} ${e.layerName||""} ${t}`.toLowerCase();return t==="woodland"||a.includes("woodland")||a.includes("t_woodland")?"woodland":t==="wetland"||a.includes("wetland")||a.includes("shidi")?"wetland":t==="grassland"||a.includes("grassland")||a.includes("caodi")?"grassland":""}function Nn(e={}){const t=ao(e.lng),a=ao(e.lat);return t===""||a===""?"":`POINT(${t} ${a})`}function ao(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function Gn(){return fe(this,arguments,function*(e={}){var p,C,w,P,v,I;const t=Number((p=e==null?void 0:e.lngLat)==null?void 0:p.lng),a=Number((C=e==null?void 0:e.lngLat)==null?void 0:C.lat),o=xa.value,r=to(o);if(!Number.isFinite(t)||!Number.isFinite(a)){Z();return}if(!r){Yn();return}const u=++et,c=He,d=e.screen||{x:960,y:540};oe.value=null,Y.value=null,Te.value=!1,ke.value=!0,(P=(w=m.value)==null?void 0:w.clearSelectedFeature)==null||P.call(w);try{const N=yield Dn(o,{lng:t,lat:a},r);if(u!==et||_)return;if(!N){He===c&&Z();return}Y.value=N,Te.value=!1,oe.value=d;try{(I=(v=m.value)==null?void 0:v.highlightFeature)==null||I.call(v,N,{highlightTone:"v21"})}catch($){console.warn("[home] resource feature highlight skipped",$)}try{oe.value=It(N,d)||d}catch($){console.warn("[home] resource feature anchor fallback",$)}}catch(N){u===et&&He===c&&Z()}finally{u===et&&(ke.value=!1)}})}function Dn(o,r){return fe(this,arguments,function*(e,t,a=to(e)){const u=Nn(t);if(!u)return null;const c=yield cr(a,u),d=$n(c,a);if(!zn(d))return null;const p=Wn(d,e,t,a);return na(p)>0?p:null})}function $n(e,t){var o,r,u,c;const a=[e==null?void 0:e[t],e==null?void 0:e.grassland,e==null?void 0:e.wetland,e==null?void 0:e.woodland,(o=e==null?void 0:e.data)==null?void 0:o[t],(r=e==null?void 0:e.data)==null?void 0:r.grassland,(u=e==null?void 0:e.data)==null?void 0:u.wetland,(c=e==null?void 0:e.data)==null?void 0:c.woodland,e==null?void 0:e.data,e==null?void 0:e.result,e];for(const d of a){const p=Vn(d);if(p)return p}return null}function Vn(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function zn(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(jn)?!0:Object.keys(e).some(t=>eo(t,e[t]))}function jn(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function Wn(e,t,a,o){const r=Un(e),u=Kn(e);return{id:e.id||e.patchNo||e.patch_no||e.landNumber||e.land_number||`${o}-${a.lng}-${a.lat}`,properties:r,feature:{type:"Feature",properties:r,geometry:u},geometry:u,layer:t,lngLat:a}}function Kn(e={}){return e.geometry||e.geom||e.wkt||e.the_geom||e.theGeom||e.geo||e.geometryWkt||e.geometry_wkt||e.shape||null}function Un(e={}){const t=G({},e);return(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(o=>{const r=o==null?void 0:o.value;if(r==null||r==="")return;const u=l[String((o==null?void 0:o.title)||"").trim()],c=String((o==null?void 0:o.field)||"").trim();[c,qn(c),u].filter(Boolean).forEach(p=>{(t[p]===void 0||t[p]===null||t[p]==="")&&(t[p]=r)})}),t}function qn(e){const t=String(e||"").trim();return t?t.replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase():""}function Qn(e){var o,r,u,c;He+=1,_t();const t=(r=(o=e==null?void 0:e.feature)!=null?o:e)!=null?r:null;if(!t||na(t)<=0){Z();return}const a=((u=t==null?void 0:t.properties)==null?void 0:u.public_id)||((c=t==null?void 0:t.properties)==null?void 0:c.publicId)||(t==null?void 0:t.id);if(z.value==="pasture"&&a){ke.value=!0,fr(a).then(d=>{if(!d)return Z();Y.value=j(G({},t),{id:d.id||d.publicId||a,properties:d}),Te.value=!1,e!=null&&e.screen&&(oe.value=It(Y.value,e.screen))}).catch(()=>Z()).finally(()=>{ke.value=!1});return}Y.value=t,Te.value=!1,e!=null&&e.screen&&(oe.value=It(t,e.screen))}function Z(){var e,t;_t(),et+=1,Y.value=null,Te.value=!1,ke.value=!1,oe.value=null,(t=(e=m.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function Yn(){const e=He;_t(),tt=window.setTimeout(()=>{tt=null,He===e&&Z()},80)}function _t(){tt&&(window.clearTimeout(tt),tt=null)}function oo(e){if(!zt.value)return;const t=document.querySelector(".home-map-feature-info"),a=document.querySelector(".home-dashboard .cesium-map"),o=e.target;t&&o instanceof Node&&t.contains(o)||a&&o instanceof Node&&a.contains(o)||Z()}return(e,t)=>(T(),O("div",Ir,[H.value?(T(),O("div",_r,V(H.value),1)):K("",!0),fo(ia(Pr,{ref_key:"threeMapSceneRef",ref:h,class:"home-map-scene home-three-map-scene","show-data-overlays":!1,"max-pixel-ratio":1.35,onPlayComplete:on},null,512),[[ho,Go.value]]),ne.value?fo((T(),Me(vi,{key:1,ref_key:"mapSceneRef",ref:m,class:"home-map-scene home-remote-map-scene",active:f.active&&ne.value,"active-layer":xa.value,"admin-boundary-line-scale":1.65,"initial-zoom":ws,"minimum-zoom-distance":1,"auto-apply-layer-map-view":!1,"max-zoom":21,"enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"hide-town-label-stats":"",onReady:De,onFeatureLoading:t[0]||(t[0]=a=>ke.value=a),onFeatureInfo:Qn,onMapClick:Gn,onViewChange:Fn},null,8,["active","active-layer"])),[[ho,ne.value]]):K("",!0),t[13]||(t[13]=x("div",{class:"home-map-scrim"},null,-1)),x("div",Er,[ia(rr,{"model-value":z.value,topics:bt,"onUpdate:modelValue":Bn},null,8,["model-value"])]),zt.value?(T(),O("div",{key:2,class:"home-map-feature-info",style:dt(Vo.value)},[ia(sr,{title:zo.value,feature:Y.value,empty:Te.value,loading:ke.value,width:ft(Do),height:$o.value,rows:ka.value,closable:"",onClose:Z},null,8,["title","feature","empty","loading","width","height","rows"])],4)):K("",!0),x("div",Or,[x("div",Br,[(T(!0),O(We,null,Ke(Zo.value,a=>(T(),Me(go,{key:a.key,class:"home-card left-card",title:a.title,width:ft(ya),height:a.height},{default:ra(()=>[a.option?(T(),Me(ft(po),{key:0,ref_for:!0,ref:o=>Ea(a.key,o),class:"home-chart home-town-column-chart",option:a.option,autoresize:!0},null,8,["option"])):(T(),Me(To,{key:1,panel:a,compact:"","column-label-standard":Ja(a),"visual-version":"v21"},null,8,["panel","column-label-standard"]))]),_:2},1032,["title","width","height"]))),128))])]),x("div",Rr,[x("div",Fr,[(T(!0),O(We,null,Ke(Xo.value,a=>(T(),Me(go,{key:a.key,class:ht(["home-card","right-card",{"home-video-card":a.type==="video"}]),title:a.title,width:ft(ya),height:a.height},{extra:ra(()=>[a.type==="video"||a.key==="home-town-balance-gauge"?(T(),O("button",{key:0,class:"home-card-more",type:"button","aria-label":a.type==="video"?"查看全部基地监控":"查看全部乡镇草畜平衡",onClick:o=>a.type==="video"?mn():pn()},[...t[3]||(t[3]=[ri(" 更多 ",-1),x("span",{"aria-hidden":"true"},"›",-1)])],8,Hr)):K("",!0)]),default:ra(()=>[a.type==="video"?(T(),O("div",Nr,[x("button",{class:"home-video-nav home-video-prev",type:"button","aria-label":"上一路监控",disabled:Ge.value.length<=1,onClick:fn},"‹",8,Gr),x("div",{class:ht(["home-video-grid",{"is-single":Pa.value.length<=1}])},[(T(!0),O(We,null,Ke(Pa.value,o=>(T(),O("div",{key:o.key,ref_for:!0,ref:r=>Oa(r,o),"data-video-index":o.index,class:ht(["home-video-screen",{"is-active":o.isActive,"is-playing":Jt(o.index),"is-loading":Mt(o.index)}]),style:dt(Da(o.live,o.isActive,o.index)),role:"button",tabindex:"0",onClick:r=>ja(o.index,r),onKeydown:[Ot(Pe(r=>_e(o.index),["prevent"]),["enter"]),Ot(Pe(r=>_e(o.index),["prevent"]),["space"])]},[t[4]||(t[4]=x("div",{class:"home-video-player-host"},null,-1)),Mt(o.index)?(T(),O("div",$r,"加载中")):K("",!0),$e(o.index)?(T(),O("div",Vr,V($e(o.index)),1)):K("",!0),o.live.hdPlayUrl&&(!Ga(o.index)||$e(o.index))?(T(),O("button",{key:2,class:"home-video-hit",type:"button","aria-label":"播放监控",onClick:Pe(r=>_e(o.index),["stop"])},null,8,zr)):K("",!0),x("div",jr,V(o.live.title),1)],46,Dr))),128))],2),x("button",{class:"home-video-nav home-video-next",type:"button","aria-label":"下一路监控",disabled:Ge.value.length<=1,onClick:hn},"›",8,Wr)])):a.option?(T(),Me(ft(po),{key:1,ref_for:!0,ref:o=>Ea(a.key,o),class:"home-chart",option:a.option,autoresize:!0},null,8,["option"])):a.key==="home-town-balance-gauge"?(T(),O("div",Kr,[wt.value.length?K("",!0):(T(),O("div",Ur,[t[5]||(t[5]=x("i",null,null,-1)),x("span",null,V(Wo.value),1)])),(T(!0),O(We,null,Ke(wt.value,(o,r)=>(T(),O("div",{key:o.key,class:ht(["home-balance-gauge-card",{"is-active":r===Ko.value}]),style:dt(Ka(o))},[x("div",qr,[x("strong",null,V(o.status),1)]),x("div",Qr,[x("div",Yr,[x("strong",null,V(de(o.value)),1),t[6]||(t[6]=x("em",null,"%",-1))])]),x("div",Jr,V(o.name),1),x("div",Zr,V(o.extra),1)],6))),128))])):(T(),Me(To,{key:3,panel:a,compact:"","column-label-standard":Ja(a),"visual-version":"v21"},null,8,["panel","column-label-standard"]))]),_:2},1032,["class","title","width","height"]))),128))])]),Q.value?(T(),O("div",{key:3,class:"home-more-modal",role:"dialog","aria-modal":"true","aria-label":"全部基地监控",onClick:Pe(Pt,["self"])},[x("section",{class:"home-more-dialog home-video-dialog","data-monitoring-updated-at":ga.value},[x("header",es,[x("div",null,[t[7]||(t[7]=x("h2",null,"基地监控",-1)),x("p",null,"共 "+V(te.value.length)+" 路,在线 "+V(qo.value)+" 路",1)]),x("button",{type:"button",title:"关闭","aria-label":"关闭",onClick:Pt},"×")]),Ca.value.length?(T(),O("div",ts,[(T(!0),O(We,null,Ke(Ca.value,a=>(T(),O("div",{key:a.key,ref_for:!0,ref:o=>Oa(o,a),"data-video-index":a.index,class:ht(["home-video-modal-item home-video-screen",{"is-active":a.index===D.value,"is-playing":Jt(a.index),"is-loading":Mt(a.index),"is-offline":a.live.status!=="直播中"}]),style:dt(Da(a.live,a.index===D.value,a.index)),role:"button",tabindex:"0",onClick:o=>ja(a.index,o),onKeydown:[Ot(Pe(o=>_e(a.index),["prevent"]),["enter"]),Ot(Pe(o=>_e(a.index),["prevent"]),["space"])]},[t[8]||(t[8]=x("div",{class:"home-video-player-host"},null,-1)),Mt(a.index)?(T(),O("div",os,"加载中")):K("",!0),$e(a.index)?(T(),O("div",ns,V($e(a.index)),1)):K("",!0),a.live.hdPlayUrl&&(!Ga(a.index)||$e(a.index))?(T(),O("button",{key:2,class:"home-video-hit",type:"button","aria-label":"播放监控",onClick:Pe(o=>_e(a.index),["stop"])},null,8,is)):K("",!0),x("span",rs,V(a.live.title),1)],46,as))),128))])):(T(),O("div",ss,"暂无监控数据")),rt.value>1?(T(),O("footer",ls,[x("button",{type:"button",disabled:ae.value<=1,onClick:t[1]||(t[1]=a=>$a(ae.value-1))},"上一页",8,us),x("span",null,V(ae.value)+" / "+V(rt.value),1),x("button",{type:"button",disabled:ae.value>=rt.value,onClick:t[2]||(t[2]=a=>$a(ae.value+1))},"下一页",8,cs)])):K("",!0)],8,Xr)])):K("",!0),(T(),Me(si,{to:"body"},[ue.value!==null?(T(),O("div",ds,[x("div",{ref_key:"homeVideoWebStageRef",ref:L,class:"home-video-screen home-video-web-stage is-active is-playing"},[...t[9]||(t[9]=[x("div",{class:"home-video-web-player-slot"},null,-1)])],512)])):K("",!0)])),Nt.value?(T(),O("div",{key:4,class:"home-more-modal",role:"dialog","aria-modal":"true","aria-label":"全部乡镇草畜平衡",onClick:Pe(Ct,["self"])},[x("section",fs,[x("header",{class:"home-more-dialog-head"},[t[10]||(t[10]=x("div",null,[x("h2",null,"全县乡镇草畜平衡")],-1)),x("button",{type:"button",title:"关闭","aria-label":"关闭",onClick:Ct},"×")]),x("div",hs,[(T(!0),O(We,null,Ke(jt.value,a=>(T(),O("article",{key:a.key,class:"home-balance-modal-item",style:dt(Ka(a))},[x("div",ms,[x("strong",null,V(a.name),1),x("span",null,V(a.status),1)]),x("div",ps,[x("strong",null,V(de(a.value)),1),t[11]||(t[11]=x("em",null,"%",-1))]),t[12]||(t[12]=x("div",{class:"home-balance-modal-track"},[x("i")],-1)),x("p",null,V(a.extra),1)],4))),128))])])])):K("",!0)]))}};export{Hs as default}; diff --git a/docs/assets/index-338ef130-balabala-1786725044461.css b/docs/assets/index-71d0c80d-balabala-1786807848259.css similarity index 97% rename from docs/assets/index-338ef130-balabala-1786725044461.css rename to docs/assets/index-71d0c80d-balabala-1786807848259.css index 04d7ef6..c5177fc 100644 --- a/docs/assets/index-338ef130-balabala-1786725044461.css +++ b/docs/assets/index-71d0c80d-balabala-1786807848259.css @@ -1 +1 @@ -@charset "UTF-8";.path-line{mix-blend-mode:screen}.m-header{position:relative;left:0;top:0;right:0;width:100%;height:90px;z-index:2}.m-header-wrap{position:absolute;left:50%;transform:translate(-50%);width:1920px;height:90px;margin:0 auto;background:url(./header-bg-65b38012-balabala-1786725044461.png);background-size:100%;text-align:center;box-sizing:border-box;padding-top:10px}.m-header-title{color:#fff;font-size:44px;font-weight:700;letter-spacing:1px;font-family:Alimama ShuHeiTi,阿里妈妈数黑体 Bold,sans-serif;font-synthesis:none;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m-header-subtext{opacity:.64;font-size:12px;letter-spacing:3px;font-weight:300;font-family:D-DIN;line-height:14.4px;color:#c4f3fe}.m-header-left{color:#fff;position:absolute;top:47px;left:32px}.m-header-right{color:#fff;position:absolute;top:47px;right:32px}.m-header-line-left{position:absolute;right:50%;top:11px;width:961px;height:79px;margin-right:14px}.m-header-line-right{position:absolute;left:50%;top:11px;width:961px;height:79px;margin-left:-14px;transform:scaleX(-1)}.m-header-line-left-top{position:absolute;right:50%;top:-6px;width:329px;height:30px;margin-right:295px}.m-header-line-right-top{position:absolute;left:50%;top:-6px;width:329px;height:30px;margin-left:293px;transform:scaleX(-1)}.m-menu{display:flex}.m-menu-item{position:relative;z-index:1;display:flex;align-items:center;pointer-events:all;justify-content:center;min-width:112px;width:auto;height:32px;box-sizing:border-box;padding:0 20px;background-image:url(./menu-btn-91a961cf-balabala-1786725044461.png);background-size:100% 100%;color:#fff9;font-size:15px;margin:0 6px;white-space:nowrap;line-height:32px;cursor:pointer}.m-menu-item:hover,.m-menu-item.is-active{color:#fff;background-image:url(./menu-btn-hover-62eba0bb-balabala-1786725044461.png);background-size:100% 100%}.m-menu-item.is-active:after{display:block;width:100%;height:32px;background-size:100%;content:"";position:absolute;left:50%;top:50%;margin-left:-50%;margin-top:-16px;z-index:-1;opacity:1;background:rgba(0,170,255,.55);border-radius:32px;transform:scale(1.1,1.2);animation:menuActiveScale 1s infinite}@keyframes menuActiveScale{0%{transform:scale(1)}50%{transform:scale(1.1,1.2)}to{transform:scale(1.1,1.2);opacity:0}}@keyframes countCardLoadIn{0%{opacity:0;transform:translateY(12px) scale(.96);filter:blur(1px) brightness(.82)}58%{opacity:1;transform:translateY(-2px) scale(1.02);filter:blur(0) brightness(1.26)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0) brightness(1)}}@keyframes countCardValueJump{0%,to{transform:translateY(0) scale(1)}35%{transform:translateY(-3px) scale(1.045)}68%{transform:translateY(1px) scale(.99)}}@keyframes countCardValueSettle{0%{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}36%{transform:translateY(-5px) scale(1.08);filter:brightness(1.4);text-shadow:0 0 14px rgba(255,255,255,.88),0 0 26px rgba(48,220,255,.52)}to{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}}@keyframes countCardValueSweep{0%{transform:translate(-130%);opacity:0}16%{opacity:.68}54%{opacity:.8}to{transform:translate(130%);opacity:0}}.count-card{position:relative;display:flex;align-items:center;overflow:visible}.count-card:before{content:"";position:absolute;left:-8px;right:-8px;top:-5px;bottom:-5px;pointer-events:none;background:linear-gradient(100deg,transparent 8%,rgba(48,220,255,.2) 45%,transparent 72%);opacity:0;transform:translate(-120%)}.count-card.is-counting:before{animation:countCardValueSweep 1.45s ease-in-out infinite}.count-card-left{display:flex;align-items:center;animation:countCardLoadIn .78s cubic-bezier(.2,.78,.22,1) both;animation-delay:.04s}.count-card-right{display:flex;align-items:center;padding-left:20px;animation:countCardLoadIn .82s cubic-bezier(.2,.78,.22,1) both;animation-delay:.12s}.count-card-right .value{position:relative;display:inline-flex;align-items:baseline;transform-origin:center bottom;font-family:D-DIN;font-weight:700;font-size:var(--screen-kpi-value-size, 31px);line-height:34px;color:#fff;letter-spacing:0;margin-right:6px;text-shadow:0px 0px 18px rgba(255,255,255,.7);white-space:nowrap}.count-card-right .value:after{content:"";position:absolute;left:-4px;right:-4px;bottom:0;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.72),transparent);opacity:0;transform:scaleX(.2);transform-origin:left center}.count-card-right .unit{font-weight:500;font-size:var(--screen-kpi-unit-size, 11px);color:#fff;padding-top:12px;opacity:.72;white-space:nowrap}.count-card-icon{position:relative;width:42px;height:42px;margin-right:10px;flex:0 0 42px;background-repeat:no-repeat;background-position:center center;background-size:contain;filter:none}.count-card-icon:before,.count-card-icon:after{content:none}.count-card-icon.icon-xiaoshoujine{background-image:url(./icon1-6f7c222f-balabala-1786725044461.png)}.count-card-icon.icon-zongxiaoliang{background-image:url(./icon2-4f77ccec-balabala-1786725044461.png)}.count-card-icon.icon-stack{background-image:url(./stack-7a426057-balabala-1786725044461.png)}.count-card-icon.icon-area{background-image:url(./area-b57940eb-balabala-1786725044461.png)}.count-card-icon.icon-grass-basic{background-image:url(./area-b57940eb-balabala-1786725044461.png)}.count-card-icon.icon-grass-general{background-image:url(./area-b57940eb-balabala-1786725044461.png)}.count-card-icon.icon-wetland{background-image:url(./leaf-7be9efef-balabala-1786725044461.png)}.count-card-icon.icon-forest{background-image:url(./park-ee0533e0-balabala-1786725044461.png)}.count-card-icon.icon-town{background-image:url(./town-f8c0c9cc-balabala-1786725044461.png)}.count-card-icon.icon-park{background-image:url(./park-ee0533e0-balabala-1786725044461.png)}.count-card-icon.icon-yield{background-image:url(./yield-66e9af79-balabala-1786725044461.png)}.count-card-icon.icon-project{background-image:url(./yield-66e9af79-balabala-1786725044461.png)}.count-card-icon.icon-length{background-image:url(./park-ee0533e0-balabala-1786725044461.png)}.count-card-icon.icon-device{background-image:url(./yield-66e9af79-balabala-1786725044461.png)}.count-card-icon.icon-certificate{background-image:url(./yield-66e9af79-balabala-1786725044461.png)}.count-card-icon.icon-rate{background-image:url(./park-ee0533e0-balabala-1786725044461.png)}.count-card-icon.icon-leaf{background-image:url(./leaf-7be9efef-balabala-1786725044461.png)}.count-card-icon.icon-risk{background-image:url(./leaf-7be9efef-balabala-1786725044461.png)}.count-card-title .title-zh{font-weight:700;font-size:var(--screen-kpi-label-size, 14px);color:#fff;line-height:18px;white-space:nowrap}.count-card-title .title-en{font-family:D-DIN;font-weight:400;font-size:12px;color:#fff;opacity:.5;padding-top:5px;white-space:nowrap}.count-card.is-counting .count-card-icon{filter:none}.count-card.is-counting .count-card-right .value{animation:countCardValueJump .58s ease-in-out infinite}.count-card.is-counting .count-card-right .value:after{opacity:.58;transform:scaleX(1);transition:transform 1.2s ease,opacity .2s ease}.count-card.is-settled .count-card-right .value{animation:countCardValueSettle .72s cubic-bezier(.16,.86,.24,1) both}body{font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);background:#000;-webkit-user-select:none;user-select:none}.loading{position:absolute;left:0;top:0;right:0;bottom:0;background:#000;pointer-events:none;z-index:99}.loading-text{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#fff;font-family:D-DIN,Arial,sans-serif;letter-spacing:10px}.loading-text span{font-size:2vw;animation:blurAni 1.5s calc(var(--index) / 5 * 1s) alternate infinite}.loading-progress{font-size:2vw;color:#fff;font-family:D-DIN,Arial,sans-serif;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center;margin-top:-3vw}.loading-progress .unit{padding-left:10px;font-size:1vw}@keyframes blurAni{to{filter:blur(3px)}}.large-screen{position:relative;width:100%;height:100%;background:#050f33;margin:0 auto;font-size:14px}.large-screen .map{position:relative;width:100%;height:100%;z-index:2}.large-screen-wrap{position:absolute;left:0;right:0;top:0;bottom:0;z-index:3;pointer-events:none}.large-screen-wrap:after{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;opacity:.5;background:url(./bg-3acb94e3-balabala-1786725044461.png) no-repeat;background-size:cover}.large-screen-wrap .top-count-card{position:absolute;left:560px;right:560px;top:130px;justify-content:center;z-index:9;display:flex}.large-screen-wrap .top-count-card>div{padding:0 50px}.large-screen-wrap .left-wrap{position:absolute;z-index:4;width:398px;left:32px;top:126px;bottom:50px;perspective:500px;perspective-origin:50% 50%}.large-screen-wrap .left-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(6deg) rotate(0) skew(0) skewY(0);z-index:4}.large-screen-wrap .left-wrap-3d .left-card{flex:1;margin-bottom:12px}.large-screen-wrap .right-wrap{position:absolute;z-index:4;width:398px;right:32px;top:126px;bottom:50px;perspective:800px;perspective-origin:50% 50%}.large-screen-wrap .right-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(-6deg) rotate(0) skew(0) skewY(0)}.large-screen-wrap .right-wrap-3d .right-card{flex:1;margin-bottom:12px}.large-screen-wrap .bottom-tray{position:absolute;left:50%;bottom:0;z-index:3;margin-left:-960px;width:1920px;height:90px;box-sizing:border-box;padding-top:20px;display:flex;justify-content:center;background:url(./bottom-menu-bg-b465793d-balabala-1786725044461.png) no-repeat;background-size:contain}.large-screen-wrap .bottom-tray-arrow{display:flex;align-items:center;height:30px}.large-screen-wrap .bottom-tray-arrow.is-reverse{transform:scaleX(-1)}.large-screen-wrap .bottom-tray-arrow img{animation:arrowAnimate 2s ease-in-out infinite}.large-screen-wrap .bottom-tray-arrow img:last-child{animation:arrowAnimate2 2s ease-in-out infinite}.large-screen-wrap .bottom-tray .bottom-menu{display:flex;padding:0 20px}.large-screen-wrap .bottom-tray .bottom-menu-item{width:100px;height:32px;background:url(./bottom-menu-btn-ee5c8064-balabala-1786725044461.png) no-repeat;background-size:100%;font-size:15px;letter-spacing:1.6px;text-align:center;line-height:30px;cursor:pointer;pointer-events:all}.large-screen-wrap .bottom-tray .bottom-menu-item span{display:block;width:100px;height:32px;font-weight:700;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.large-screen-wrap .bottom-tray .bottom-menu-item:hover,.large-screen-wrap .bottom-tray .bottom-menu-item.is-active{background:url(./bottom-menu-btn-hover-df33e514-balabala-1786725044461.png) no-repeat;background-size:100%}.large-screen-left-zsline{position:absolute;left:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./left-kuang-5d6bd1ae-balabala-1786725044461.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}.large-screen-right-zsline{position:absolute;right:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./right-kuang-b1937caf-balabala-1786725044461.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}@keyframes bkAnimate{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes arrowAnimate{0%{transform:translate(0)}50%{transform:translate(100%)}to{transform:translate(0)}}@keyframes arrowAnimate2{0%{transform:translate(0)}50%{transform:translate(90%)}to{transform:translate(0)}}@keyframes rotate360Animate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.platform-screen:not(.is-yak-industry-chain){--screen-color-card-bg: rgba(5, 31, 46, .84);--screen-color-card-header-bg: rgba(24, 92, 118, .72);--screen-color-card-border: rgba(78, 223, 244, .48);--screen-color-chart-grid-line: rgba(185, 235, 244, .2);--screen-color-text-weak: rgba(223, 247, 251, .72);--screen-card-title-size: 16px;--screen-card-title-line-height: 32px;--screen-card-title-weight: 600;--screen-chart-axis-size: 11px;--screen-chart-label-size: 12px;--screen-table-body-size: 12px;--screen-table-value-size: 13px;--screen-kpi-label-size: 13px;--screen-kpi-value-size: 29px;--screen-kpi-unit-size: 11px;--screen-popup-title-size: 16px;--screen-popup-body-size: 12px;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}.platform-screen:not(.is-yak-industry-chain) .m-card{isolation:isolate;transition:filter .18s ease}.platform-screen:not(.is-yak-industry-chain) .m-card-bd:before{content:"";position:absolute;top:34px;right:1px;bottom:1px;left:1px;z-index:-1;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(66,209,231,.14),transparent 42%),linear-gradient(160deg,rgba(8,43,60,.92),rgba(3,22,34,.84));box-shadow:inset 0 0 0 1px #51ddf233,inset 0 18px 36px #40beda0f,0 10px 26px #0008103d;backdrop-filter:blur(7px) saturate(1.08);clip-path:polygon(0 0,100% 0,100% 44%,99.1% 46%,99.1% 54%,100% 56%,100% 100%,0 100%,0 56%,.9% 54%,.9% 46%,0 44%)}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-bg{opacity:.92;filter:saturate(.86) brightness(.96)}.platform-screen:not(.is-yak-industry-chain) .m-card-bd-bg{opacity:.68}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-title{left:20px;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:var(--screen-card-title-size, 16px);font-weight:var(--screen-card-title-weight, 600);line-height:var(--screen-card-title-line-height, 32px);letter-spacing:.8px;text-shadow:0 2px 10px rgba(0,8,14,.72)}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-zs1{opacity:.58}.platform-screen:not(.is-yak-industry-chain) .m-card-hd .saoguang{opacity:.42}.platform-screen:not(.is-yak-industry-chain) .fgw-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .home-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .pasture-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .yak-side-stack.is-left{perspective:none!important;transform:translateZ(0)!important}.platform-screen:not(.is-yak-industry-chain) .fgw-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .home-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .pasture-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .yak-side-stack.is-right{perspective:none!important;transform:translateZ(0)!important}.platform-screen:not(.is-yak-industry-chain) .fgw-side-card:hover,.platform-screen:not(.is-yak-industry-chain) .home-card:hover,.platform-screen:not(.is-yak-industry-chain) .pasture-side-card:hover,.platform-screen:not(.is-yak-industry-chain) .yak-side-card:hover{filter:brightness(1.06)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21{color:#f7fefff5;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-metric-item,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-icon-metric-item,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-spotlight-main,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-spotlight-chip,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-structure-focus,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-structure-row,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-line-chart,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-heat-cell,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-row{border-color:#5adcf02e;background:linear-gradient(90deg,rgba(68,210,232,.07),transparent 62%),rgba(3,25,38,.52);box-shadow:inset 0 1px #e8fdff09}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-item strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-item strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-row strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-metric-item strong{font-variant-numeric:tabular-nums;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-columns:before,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peaks:before{opacity:.38}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-track,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-track,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-stage,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-band{border-color:#74e0ef2e;background-color:#4ccadc13}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-track i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-track i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-stage i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-band i{filter:saturate(.92) brightness(1.04)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-row{padding:3px 5px 3px 7px;border-left:2px solid var(--row-color, rgba(67, 217, 255, .72));background:linear-gradient(90deg,color-mix(in srgb,var(--row-color, #43d9ff) 10%,transparent),transparent 72%);transition:background .16s ease,transform .16s ease}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row.is-active,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-row.is-active{background:linear-gradient(90deg,color-mix(in srgb,var(--row-color, #43d9ff) 18%,transparent),transparent 82%);transform:translate(2px)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-ring-track{stroke:#a5dfe929}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-ring-halo,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-glow{opacity:.68}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-line-grid{stroke:#c7eff629}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-panel-empty{color:#def7fba6}.platform-screen:not(.is-yak-industry-chain) .fgw-map-layer-tools .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .pasture-map-layer-tools .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(65,215,235,.18),transparent 42%),linear-gradient(150deg,rgba(5,31,46,.97),rgba(2,17,28,.95));box-shadow:inset 0 0 0 1px #59e1f447,0 18px 42px #00070e57;backdrop-filter:blur(12px) saturate(1.12)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item{min-height:30px;border-color:#5ad9ed2e;background:rgba(2,20,31,.64);color:#e8fafdc7;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:12px;font-weight:500;line-height:16px;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item:hover,.platform-screen:not(.is-yak-industry-chain) .layer-panel-item:focus-visible{border-color:#62e2f585;background:rgba(28,99,119,.34);color:#fff;outline:none;transform:translate(2px)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item.is-active{border-color:#59dff3ad;background:linear-gradient(90deg,rgba(30,132,150,.48),rgba(3,25,37,.76));box-shadow:inset 3px 0 #4fe2f4db}.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row{border-color:#59dcef14;background:rgba(6,28,41,.34)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row:not(:disabled):hover,.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row:not(:disabled):focus-visible{border-color:#5be0f36b;background:rgba(32,105,122,.28);outline:none}.platform-screen:not(.is-yak-industry-chain) .layer-panel-section-title,.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-name{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:12px;line-height:16px}.platform-screen:not(.is-yak-industry-chain) .layer-panel-section-title{font-weight:600;letter-spacing:.4px}.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-name{color:#e6f9fcc7;font-weight:500}.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-swatch{width:17px;height:11px;border-radius:2px;box-shadow:0 0 10px color-mix(in srgb,currentColor 24%,transparent)}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info{z-index:12}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info:after,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info:after,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info:after{content:"";position:absolute;left:calc(var(--feature-panel-anchor-x, 50%) - 8px);bottom:-7px;z-index:0;width:16px;height:16px;border-right:1px solid rgba(89,225,244,.42);border-bottom:1px solid rgba(89,225,244,.42);background:rgba(3,25,39,.98);box-shadow:4px 4px 14px #00070e47;transform:rotate(45deg);pointer-events:none}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info .m-card,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info .m-card,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info .m-card{position:relative;z-index:1;background:rgba(3,25,39,.97);box-shadow:0 18px 42px #00070e6b;backdrop-filter:none}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(65,215,235,.18),transparent 42%),linear-gradient(150deg,rgba(5,31,46,.98),rgba(2,17,28,.98));box-shadow:inset 0 0 0 1px #59e1f447;backdrop-filter:none}.platform-screen:not(.is-yak-industry-chain) .feature-info-card .m-card-hd-title{color:#fff;font-size:var(--screen-popup-title-size, 16px);font-weight:600;background:none;-webkit-text-fill-color:currentColor}.platform-screen:not(.is-yak-industry-chain) .feature-info{padding:8px 10px 10px;font-size:var(--screen-popup-body-size, 12px)}.platform-screen:not(.is-yak-industry-chain) .feature-table{gap:2px;padding-right:6px;scrollbar-gutter:stable}.platform-screen:not(.is-yak-industry-chain) .feature-row{grid-template-columns:108px minmax(0,1fr);min-height:27px;border:1px solid rgba(101,218,235,.12);background:rgba(2,20,31,.54)}.platform-screen:not(.is-yak-industry-chain) .feature-row:first-child{border-top:1px solid rgba(101,218,235,.12)}.platform-screen:not(.is-yak-industry-chain) .feature-row span{min-width:0;padding:4px 9px;border-right-color:#65daeb1f;background:rgba(53,159,181,.1);color:#d3f0f5b8;font-size:var(--screen-table-body-size, 12px);font-weight:500;line-height:17px;white-space:nowrap}.platform-screen:not(.is-yak-industry-chain) .feature-row strong{min-width:0;padding:4px 10px;overflow:hidden;color:#f8fefff5;font-size:var(--screen-table-value-size, 13px);font-weight:600;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.platform-screen:not(.is-yak-industry-chain) .feature-row:first-child strong,.platform-screen:not(.is-yak-industry-chain) .feature-row:nth-child(2) strong{color:#8ef1df;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;line-height:17px;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .topic-switcher{filter:drop-shadow(0 8px 16px rgba(0,8,14,.3))}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item{transition:filter .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item:hover,.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item:focus-visible{filter:brightness(1.12);outline:none;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item.is-active{filter:saturate(1.12) brightness(1.08)}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-name,.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-title{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:13px;font-weight:600;line-height:16px;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-name small{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:9px;font-weight:500;line-height:10px}.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button{transition:border-color .15s ease,background .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button:hover,.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button:focus-visible{border-color:#68e8f9c7;background:rgba(24,113,136,.5);outline:none;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .m-menu-item{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:14px;font-weight:500;letter-spacing:.4px;transition:color .15s ease,filter .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .m-menu-item:hover,.platform-screen:not(.is-yak-industry-chain) .m-menu-item:focus-visible{color:#fff;filter:brightness(1.1);outline:1px solid rgba(91,224,244,.45);outline-offset:2px;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .m-menu-item.is-active{filter:saturate(1.06) brightness(1.08)}.platform-screen:not(.is-yak-industry-chain) .count-card{padding:4px 10px 6px;background:linear-gradient(90deg,rgba(5,28,40,.26),transparent 82%);box-shadow:inset 0 -1px #53daee1f}.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-title .title-zh{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-weight:600;letter-spacing:.3px}.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-right .value,.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-right .unit{font-variant-numeric:tabular-nums}.business-chart-tooltip.is-v21{padding:10px 12px;border-color:#5fe2f48a;border-radius:2px;background:radial-gradient(circle at 12% 0%,rgba(70,230,173,.13),transparent 54%),rgba(2,20,31,.96);box-shadow:0 14px 34px #00070e61,inset 0 0 18px #43d9ff0d;backdrop-filter:blur(10px)}@media (prefers-reduced-motion: reduce){.platform-screen:not(.is-yak-industry-chain) *,.platform-screen:not(.is-yak-industry-chain) *:before,.platform-screen:not(.is-yak-industry-chain) *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.platform-screen .top-menu{top:45px}.platform-screen .top-menu .m-menu-item{min-width:120px;height:36px;margin:0 5px;padding:0 18px;border:1px solid rgba(91,224,244,.12);border-radius:18px;color:#e7f9fcc2;font-size:14px;font-weight:600;line-height:34px;background-image:linear-gradient(180deg,rgba(9,57,76,.5),rgba(3,28,43,.34));box-shadow:inset 0 1px #ffffff0a,inset 0 -1px #30dcff1f;transition:color .16s ease,border-color .16s ease,background .16s ease,transform .16s ease}.platform-screen .top-menu .m-menu-item:hover{border-color:#5be0f46b;color:#fff;background-image:linear-gradient(180deg,rgba(20,104,127,.76),rgba(5,42,59,.68))}.platform-screen .top-menu .m-menu-item:focus-visible{outline:none;box-shadow:0 0 0 2px #020f18f0,0 0 0 4px #7efbf6e6}.platform-screen .top-menu .m-menu-item.is-active{border-color:#7efbf6c2;color:#fff;background-image:linear-gradient(180deg,rgba(29,142,158,.9),rgba(5,57,74,.86));box-shadow:inset 0 0 0 1px #7efbf633,inset 0 -2px #7efbf6,0 0 16px #30dcff2e}.platform-screen .top-menu .m-menu-item.is-active:after{content:none;animation:none}.platform-screen{--v22-surface: rgba(4, 28, 42, .9);--v22-surface-raised: rgba(7, 42, 58, .94);--v22-border: rgba(91, 224, 244, .46);--v22-border-strong: rgba(126, 251, 246, .76);--v22-text: rgba(247, 254, 255, .96);--v22-text-secondary: rgba(223, 250, 255, .8);--v22-text-muted: rgba(211, 241, 247, .66);--v22-accent: #7efbf6;--v22-accent-strong: #30dcff;--v22-highlight: #ffd76c;--v22-focus-ring: 0 0 0 2px rgba(2, 15, 24, .94), 0 0 0 4px rgba(126, 251, 246, .9);color:var(--v22-text)}.platform-screen button,.platform-screen [role=button],.platform-screen input,.platform-screen select,.platform-screen textarea{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif)}.platform-screen button:focus-visible,.platform-screen [role=button]:focus-visible,.platform-screen input:focus-visible,.platform-screen select:focus-visible,.platform-screen textarea:focus-visible{outline:none!important;box-shadow:var(--v22-focus-ring)!important}.platform-screen .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(74,210,233,.12),transparent 40%),linear-gradient(160deg,rgba(6,38,54,.95),rgba(2,20,32,.91));box-shadow:inset 0 0 0 1px #5be0f438,0 12px 28px #00081045}.platform-screen .m-card-hd-title{left:18px;color:#fff;font-size:16px;font-weight:650;letter-spacing:.5px}.platform-screen .m-card-hd .saoguang,.platform-screen .m-card-hd-zs1{opacity:.34}.platform-screen .top-count-card{top:110px;column-gap:24px}.platform-screen .top-count-card .count-card{min-height:86px;padding:4px 12px 6px!important;border-bottom:1px solid rgba(91,224,244,.16);background:linear-gradient(90deg,rgba(5,34,48,.5),rgba(4,24,37,.08))}.platform-screen .top-count-card .title-zh{color:var(--v22-text-secondary);font-size:14px;font-weight:600}.platform-screen .top-count-card .value{font-variant-numeric:tabular-nums}.platform-screen .top-count-card .unit{color:var(--v22-text-muted);font-size:12px}.platform-screen.is-home .top-count-card.is-home-five{left:492px;right:492px;top:96px;grid-template-columns:188px 200px 214px 146px 146px;column-gap:10px}.platform-screen.is-home .top-count-card.is-home-five .count-card{display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:19px 35px;align-content:center;align-items:center;min-height:74px;padding:0!important;border-bottom:0;background:none;box-sizing:border-box}.platform-screen.is-home .top-count-card.is-home-five .count-card-left{display:contents}.platform-screen.is-home .top-count-card.is-home-five .count-card-icon{grid-column:1;grid-row:1/3;align-self:center;width:54px;height:68px;flex-basis:54px;margin-right:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-title{grid-column:2;grid-row:1;align-self:end;min-width:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-title .title-zh{overflow:hidden;color:#dffaffc7;font-size:12px;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-home .top-count-card.is-home-five .count-card-right{grid-column:2;grid-row:2;align-self:start;min-width:0;padding-left:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .value{min-height:31px;margin-right:5px;font-size:27px;line-height:31px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .unit{padding-top:0;font-size:10px;line-height:14px}.platform-screen .platform-map-tools{gap:8px;transform:none}.platform-screen .platform-map-tools button{width:38px;height:38px;border-radius:2px;background:linear-gradient(180deg,rgba(18,92,115,.94),rgba(3,31,47,.96));box-shadow:inset 0 0 0 1px #ffffff0a,0 8px 20px #00070e47}.platform-screen .layer-panel-item{min-height:34px;padding-block:6px;border-radius:2px;font-size:13px}.platform-screen .layer-panel-section-title,.platform-screen .layer-panel .legend-name,.platform-screen .layer-panel-empty{font-size:12px;line-height:18px}.platform-screen .layer-panel-empty.is-legend{min-height:32px;color:var(--v22-text-muted)}.platform-screen .fgw-bottom-topic,.platform-screen .yak-bottom-topic{bottom:28px}.platform-screen .fgw-map-layer-tools,.platform-screen .pasture-map-layer-tools,.platform-screen .yak-map-layer-tools{bottom:116px}.platform-screen .business-panel.is-v21 .business-column-item,.platform-screen .business-panel.is-v21 .business-peak-item,.platform-screen .business-panel.is-v21 .business-bar-row,.platform-screen .business-panel.is-v21 .business-donut-row,.platform-screen .business-panel.is-v21 .business-rose-row,.platform-screen .business-panel.is-v21 .business-metric-item,.platform-screen .business-panel.is-v21 .business-split-row{color:var(--v22-text-secondary);font-size:12px}.platform-screen .business-panel.is-v21 .business-column-item strong,.platform-screen .business-panel.is-v21 .business-peak-item strong,.platform-screen .business-panel.is-v21 .business-bar-row strong,.platform-screen .business-panel.is-v21 .business-donut-row strong,.platform-screen .business-panel.is-v21 .business-metric-item strong{color:#fff;font-size:13px}.platform-screen .feature-row span{color:var(--v22-text-secondary);font-size:12px}.platform-screen .feature-row strong{color:#fff;font-size:13px}.platform-screen .epidemic-record-toolbar,.platform-screen .trade-ledger-toolbar{height:32px}.platform-screen .epidemic-record-toolbar input,.platform-screen .epidemic-record-toolbar button,.platform-screen .trade-ledger-toolbar input,.platform-screen .trade-ledger-toolbar button{height:28px;font-size:11px}.platform-screen .epidemic-record-header,.platform-screen .trade-ledger-header{height:28px}.platform-screen .epidemic-record-header span,.platform-screen .trade-ledger-header span{color:var(--v22-text-secondary);font-size:11px;font-weight:600}.platform-screen .epidemic-record-rows,.platform-screen .trade-ledger-rows{gap:4px}.platform-screen .epidemic-record-rows button,.platform-screen .trade-ledger-rows button{min-height:28px;border-color:#5be0f41f;background:rgba(5,38,52,.5)}.platform-screen .epidemic-record-rows span,.platform-screen .epidemic-record-rows strong,.platform-screen .trade-ledger-rows span,.platform-screen .trade-ledger-rows strong{color:var(--v22-text-secondary);font-size:11px;line-height:15px}.platform-screen .epidemic-record-rows strong,.platform-screen .trade-ledger-rows strong{color:#fff}.platform-screen .business-project-frame th,.platform-screen .business-project-frame td{font-size:12px!important;line-height:16px!important}.platform-screen .business-project-frame tbody td{min-height:34px;padding-top:5px;padding-bottom:5px}.platform-screen .business-project-frame strong{font-size:13px!important;line-height:16px!important}.platform-screen .business-project-frame .business-project-locate-button{width:30px;height:30px}.platform-screen .trade-year-switcher,.platform-screen .forecast-year-switcher,.platform-screen .epidemic-year-switcher{width:110px;box-sizing:border-box}.platform-screen .trade-year-switcher button,.platform-screen .forecast-year-switcher button,.platform-screen .epidemic-year-switcher button{width:100%;min-width:0;height:34px;border-color:#5be0f459;color:var(--v22-text-secondary);font-size:12px;background:rgba(4,32,45,.86)}.platform-screen .trade-year-switcher button.active,.platform-screen .forecast-year-switcher button.active,.platform-screen .epidemic-year-switcher button.active{border-color:#7efbf6b8;color:#061c29;background:linear-gradient(180deg,#8dfcf7,#45dbea)}@media (prefers-reduced-motion: reduce){.platform-screen *,.platform-screen *:before,.platform-screen *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.platform-screen .top-count-card{left:432px!important;right:432px!important;top:102px!important;display:grid!important;grid-template-columns:repeat(3,200px)!important;grid-auto-rows:82px!important;justify-content:center!important;align-items:stretch!important;column-gap:12px!important;row-gap:8px!important}.platform-screen .top-count-card>.count-card{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:21px 34px!important;align-content:center!important;align-items:center!important;width:200px!important;min-width:200px!important;min-height:82px!important;height:82px!important;padding:0 8px!important;box-sizing:border-box!important;justify-content:stretch!important}.platform-screen .top-count-card .count-card-left{display:contents!important}.platform-screen .top-count-card .count-card-icon{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:54px!important;height:68px!important;flex-basis:54px!important;margin-right:0!important}.platform-screen .top-count-card .count-card-title{grid-column:2!important;grid-row:1!important;align-self:end!important;min-width:0!important}.platform-screen .top-count-card .count-card-title .title-zh{display:block!important;max-width:100%!important;overflow:hidden!important;font-size:12px!important;line-height:17px!important;text-overflow:ellipsis!important;white-space:nowrap!important}.platform-screen .top-count-card .count-card-title .title-en{display:none!important}.platform-screen .top-count-card .count-card-right{grid-column:2!important;grid-row:2!important;align-self:start!important;min-width:0!important;padding-left:0!important}.platform-screen .top-count-card .count-card-right .value{min-height:31px!important;margin-right:4px!important;font-size:27px!important;line-height:31px!important}.platform-screen .top-count-card .count-card-right .unit{padding-top:8px!important;font-size:10px!important;line-height:1!important}.platform-screen .top-count-card.is-four{left:432px!important;right:432px!important;grid-template-columns:repeat(4,200px)!important;column-gap:12px!important}.platform-screen .top-count-card.is-multi,.platform-screen .top-count-card.is-home-five,.platform-screen.is-home .top-count-card.is-home-five{left:432px!important;right:432px!important;display:grid!important;grid-template-columns:repeat(5,200px)!important;column-gap:12px!important;justify-content:center!important}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-list.is-compact{padding:4px 12px 6px;overflow:hidden}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-row{grid-template-columns:19px minmax(0,1fr) 112px;gap:6px;height:20px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-rank{width:16px;height:16px;font-size:10px;line-height:14px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-name{font-size:11px;line-height:13px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-bar{height:3px;margin-top:2px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value{display:flex;align-items:baseline;justify-content:flex-end;gap:2px;white-space:nowrap}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value strong{font-size:13px;line-height:15px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value em{margin-left:0;font-size:9px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value span{display:inline;margin-top:0;overflow:hidden;font-size:9px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-ecological-protection .fgw-side-card[class*=-resource-structure] .business-structure-row{grid-template-columns:9px minmax(0,1fr) 64px 60px;gap:4px;padding-inline:6px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-list{grid-auto-rows:minmax(15px,1fr);gap:2px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row{grid-template-columns:7px minmax(0,1fr) 66px 56px;gap:3px;padding-inline:4px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row i{width:6px;height:6px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row span,.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row small{font-size:9px;line-height:11px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row strong{font-size:11px;line-height:13px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-projects .business-project-frame tbody td{height:28px;min-height:28px;padding-top:0;padding-bottom:0;overflow:hidden;line-height:14px;text-overflow:ellipsis;white-space:nowrap;word-break:normal}.platform-screen.is-yak-management .trade-ledger-header,.platform-screen.is-yak-management .trade-ledger-rows button{grid-template-columns:90px 56px 39px 46px 34px 64px}.platform-screen.is-yak-industry-chain .top-count-card.is-multi{left:388px!important;right:388px!important;top:98px!important;grid-template-columns:repeat(6,170px)!important;grid-auto-rows:72px!important;column-gap:8px!important;row-gap:0!important;justify-content:center!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi>div:nth-child(n){grid-column:auto!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi>.count-card{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:18px 32px!important;align-content:center!important;align-items:center!important;width:170px!important;min-width:0!important;height:72px!important;min-height:72px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-left{display:contents!important;min-width:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-icon{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:46px!important;height:58px!important;flex-basis:46px!important;margin-right:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-title{grid-column:2!important;grid-row:1!important;align-self:end!important;min-width:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right{grid-column:2!important;grid-row:2!important;align-self:start!important;min-width:0!important;padding-left:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-title .title-zh{overflow:hidden!important;font-size:12px!important;line-height:16px!important;text-overflow:ellipsis!important;white-space:nowrap!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right .value{min-height:29px!important;margin-right:4px!important;font-size:25px!important;line-height:30px!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right .unit{padding-top:9px!important;font-size:10px!important;line-height:1!important}.platform-screen.is-yak-industry-chain .industry-bottom-switcher{left:50%;right:auto;width:max-content;transform:translate(-50%)}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher,.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-menu{width:max-content;max-width:calc(100vw - 96px)}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher{padding-inline:1px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-menu{gap:0}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-item{flex:0 0 92px;width:92px;min-width:92px;padding-inline:1px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-name{padding-inline:0}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-title{font-size:11px;line-height:24px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-name small{display:none}.platform-screen.is-yak-industry-chain .industry-side-panel--left,.platform-screen.is-yak-industry-chain .industry-side-panel--right{perspective:none}.platform-screen.is-yak-industry-chain .industry-side-stack{transform-style:flat}.platform-screen.is-yak-industry-chain .industry-side-stack.is-left,.platform-screen.is-yak-industry-chain .industry-side-stack.is-right{transform:none;transform-origin:center}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .m-card-hd-title,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .m-card-hd-title{left:18px;color:var(--v22-text);font-size:16px;font-weight:650;line-height:24px;letter-spacing:.5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .m-card-bd:before,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .m-card-bd:before{border-color:var(--v22-border);background:radial-gradient(circle at 18% 0%,rgba(74,210,233,.12),transparent 40%),linear-gradient(160deg,rgba(6,38,54,.95),rgba(2,20,32,.91))}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metrics,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metrics{gap:8px;padding:8px 12px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip{border:1px solid rgba(91,224,244,.2);border-radius:2px;background:linear-gradient(135deg,rgba(12,66,83,.54),rgba(4,27,41,.7)),rgba(4,28,42,.72);box-shadow:inset 0 1px #ffffff09}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:18px 30px;align-content:center;align-items:end;padding:8px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item span{grid-column:1/-1;align-self:center;color:var(--v22-text-secondary)!important;font-size:12px;font-weight:600;line-height:18px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item strong{align-self:end;margin-top:0;color:var(--v22-text)!important;font-size:22px;font-variant-numeric:tabular-nums;line-height:28px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item em{align-self:end;margin-left:4px;padding-bottom:4px;color:var(--v22-text-muted)!important;font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip span{color:var(--v22-text-secondary)!important;font-size:12px;font-weight:600}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy strong,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong{color:var(--v22-text)!important;font-variant-numeric:tabular-nums}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong em{color:var(--v22-text-muted)!important;font-size:10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .industry-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .industry-panel-empty{color:var(--v22-text-muted);font-size:13px;font-weight:600}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-support-type .business-structure-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-support-type .business-structure-row{grid-template-columns:9px minmax(0,1fr) 64px 60px;gap:4px;padding-inline:6px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-list.is-compact,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-list.is-compact{gap:1px;padding:2px 12px 4px;overflow:hidden}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-row{grid-template-columns:19px minmax(0,1fr) 126px;gap:6px;height:16px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-rank,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-rank{width:16px;height:14px;font-size:9px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-name,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-name{font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-bar,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-bar{height:3px;margin-top:2px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value{display:flex;align-items:baseline;justify-content:flex-end;gap:2px;white-space:nowrap}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value strong{font-size:12px;line-height:14px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value em{margin-left:0;font-size:9px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value span{display:inline;margin-top:0;overflow:hidden;font-size:9px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight{grid-template-columns:132px minmax(0,1fr);gap:8px;padding:8px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main{padding:10px 8px 8px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong{margin:7px 0 4px;font-size:26px;line-height:29px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-side,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-side{grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip{grid-template-columns:7px minmax(0,1fr);gap:0 6px;padding:4px 8px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip i,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip i{width:6px;height:22px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip small,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip small{font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong{font-size:15px;line-height:17px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid{gap:3px;padding:5px 8px 6px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__row{grid-template-rows:16px 17px;column-gap:6px;padding:2px 6px 2px 5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__index,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__index{width:20px;height:20px;font-size:10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__name,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__name{font-size:11px;line-height:14px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__count,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__count{min-width:48px;padding-left:7px;font-size:19px;line-height:21px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs{gap:3px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs>span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs>span{gap:2px;padding:1px 3px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-operation .business-bars,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-operation .business-bars{gap:2px;padding:4px 12px 5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-operation .business-bar-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-operation .business-bar-row{min-height:0}.platform-screen.is-yak-industry-chain .top-count-card .title-zh{color:var(--v22-text-secondary)!important;font-size:12px!important;font-weight:600}.platform-screen.is-yak-industry-chain .top-count-card .value{color:var(--v22-text)!important;font-variant-numeric:tabular-nums}.platform-screen.is-yak-industry-chain .top-count-card .unit{color:var(--v22-text-muted)!important;font-size:10px!important}.platform-screen.is-smart-management .wisdom-input-bar{flex-basis:72px;padding:10px 8px 2px}.platform-screen.is-smart-management .wisdom-input-shell{height:54px;gap:8px;padding:6px 7px 6px 14px;border-color:#5be0f480;background:linear-gradient(90deg,rgba(10,54,70,.86),rgba(2,21,34,.96)),rgba(3,24,37,.94)}.platform-screen.is-smart-management .wisdom-input-icon{width:14px;height:14px;margin-right:3px;border-width:1.5px}.platform-screen.is-smart-management .wisdom-input-shell input{height:38px;padding:0 12px;border:1px solid rgba(48,220,255,.58);background:rgba(0,16,27,.44);box-shadow:inset 0 0 14px #30dcff0a;box-sizing:border-box;font-size:14px}.platform-screen.is-smart-management .wisdom-input-shell input:focus{border-color:#7efbf6eb;box-shadow:inset 0 0 16px #30dcff14,0 0 0 1px #7efbf61f}.platform-screen.is-smart-management .wisdom-voice-button,.platform-screen.is-smart-management .wisdom-submit-button{height:38px}.platform-screen.is-smart-management .wisdom-voice-button{width:40px;border-color:#30dcff75}.platform-screen.is-smart-management .wisdom-submit-button{font-size:13px;font-weight:650}.platform-screen.is-smart-management .wisdom-submit-button:disabled,.platform-screen.is-smart-management .wisdom-voice-button:disabled{opacity:.48}.platform-screen{position:fixed!important;left:0;top:0;margin:0}.platform-screen>.large-screen-wrap:after{content:none}.platform-screen.is-forest-grass-wet .large-screen-wrap:after{opacity:.28}.platform-screen.is-forest-grass-wet .large-screen-left-zsline,.platform-screen.is-forest-grass-wet .large-screen-right-zsline{filter:brightness(1.3) drop-shadow(0 0 14px rgba(48,220,255,.32))}.platform-screen.is-home .large-screen-wrap:after{opacity:.34}.platform-screen.is-home .large-screen-left-zsline,.platform-screen.is-home .large-screen-right-zsline{filter:brightness(1.32) drop-shadow(0 0 16px rgba(36,246,196,.28))}.platform-screen.is-ecological-protection .large-screen-wrap:after{opacity:.22}.platform-screen.is-ecology-national-park .top-menu-mid-space{width:920px}.platform-screen.is-grass-livestock-balance .large-screen-wrap:after{opacity:.24}.platform-screen.is-grass-livestock-balance .large-screen-left-zsline,.platform-screen.is-grass-livestock-balance .large-screen-right-zsline{filter:brightness(1.24) drop-shadow(0 0 14px rgba(255,215,108,.18))}.platform-screen.is-yak-management .large-screen-wrap:after{opacity:.24}.platform-screen.is-yak-management .large-screen-left-zsline,.platform-screen.is-yak-management .large-screen-right-zsline{filter:brightness(1.22) drop-shadow(0 0 14px rgba(48,220,255,.26))}.platform-screen.is-pasture-management .large-screen-wrap:after{opacity:.26}.platform-screen.is-pasture-management .large-screen-left-zsline,.platform-screen.is-pasture-management .large-screen-right-zsline{filter:brightness(1.28) drop-shadow(0 0 14px rgba(36,246,196,.28))}.platform-screen.is-yak-industry-chain .large-screen-wrap:after{opacity:.24}.platform-screen.is-yak-industry-chain .large-screen-left-zsline,.platform-screen.is-yak-industry-chain .large-screen-right-zsline{filter:brightness(1.28) drop-shadow(0 0 14px rgba(48,220,255,.24))}.platform-screen.is-smart-management .large-screen-wrap:after{opacity:.2}.platform-screen .platform-module-pane{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.platform-screen .platform-module-pane:has(.home-more-modal),.platform-screen .platform-module-pane:has(.industry-credit-overlay){z-index:120}.platform-screen .platform-map-tools{position:absolute;left:448px;bottom:168px;z-index:80;display:flex;flex-direction:column;gap:7px;pointer-events:all;transform:perspective(var(--screen-side-perspective-left, 500px)) rotateY(6deg);transform-origin:left center}.platform-screen .platform-map-tools button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid rgba(126,251,246,.62);border-radius:3px;color:#f0feff;font-weight:900;background:linear-gradient(180deg,rgba(18,99,123,.92),rgba(4,36,56,.96)),rgba(4,24,37,.9);box-shadow:0 0 14px #30dcff52,0 0 3px #7efbf666,inset 0 0 0 1px #ffffff1a,inset 0 -8px 14px #30dcff29;cursor:pointer}.platform-screen .platform-map-tools button:hover{border-color:#7efbf6c2;color:#fff;background:linear-gradient(180deg,rgba(25,127,148,.96),rgba(6,48,68,.98)),rgba(6,35,52,.92);box-shadow:0 0 18px #30dcff6b,0 0 4px #7efbf680,inset 0 0 0 1px #ffffff1f,inset 0 -8px 14px #30dcff2e}.platform-screen .platform-map-tools button:active{transform:translateY(1px)}.platform-screen:has(.engineering-analysis-panel) .platform-map-tools{left:510px;bottom:168px;transform:none}.platform-screen:has(.home-more-modal) .platform-map-tools{visibility:hidden;opacity:0;pointer-events:none}.platform-screen .platform-map-tool-icon{position:relative;flex:0 0 15px;width:15px;height:15px;color:#7efbf6}.platform-screen .platform-map-tool-icon.is-fullscreen{background:linear-gradient(currentColor,currentColor) left top/5px 2px no-repeat,linear-gradient(currentColor,currentColor) left top/2px 5px no-repeat,linear-gradient(currentColor,currentColor) right top/5px 2px no-repeat,linear-gradient(currentColor,currentColor) right top/2px 5px no-repeat,linear-gradient(currentColor,currentColor) left bottom/5px 2px no-repeat,linear-gradient(currentColor,currentColor) left bottom/2px 5px no-repeat,linear-gradient(currentColor,currentColor) right bottom/5px 2px no-repeat,linear-gradient(currentColor,currentColor) right bottom/2px 5px no-repeat}.platform-screen .platform-map-tool-icon.is-reset{width:15px;height:15px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;box-sizing:border-box}.platform-screen .platform-map-tool-icon.is-reset:after{content:"";position:absolute;left:-2px;top:0;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-right:5px solid currentColor;transform:rotate(-18deg)}.platform-screen .top-menu{position:absolute;left:50%;top:46px;z-index:10;transform:translate(-50%)}.platform-screen .top-menu .m-menu{justify-content:center;align-items:center}.platform-screen .top-menu .m-menu-item{min-width:118px;height:34px;padding:0 18px;font-size:14px;line-height:34px;letter-spacing:0}.platform-screen .top-menu .m-menu-item.is-active:after{width:calc(100% - 12px);height:28px;margin-left:calc(-50% + 6px);margin-top:-14px;border-radius:28px;transform:none;animation:platformMenuActivePulse 1.35s ease-in-out infinite}.platform-screen .top-menu .top-menu-mid-space{width:820px;height:1px;pointer-events:none}.platform-screen .m-header-right{top:5px;right:14px;z-index:30}.platform-screen .m-header-tools{display:flex;align-items:center;gap:8px;min-height:42px;pointer-events:auto}.platform-screen .platform-weather{position:relative;display:flex;align-items:center;gap:8px;height:40px;min-width:184px;padding:0 12px 0 4px;color:#e5faffe6;white-space:nowrap}.platform-screen .platform-weather:after{content:"";position:absolute;left:4px;right:12px;bottom:0;height:1px;background:linear-gradient(90deg,rgba(48,220,255,.72),rgba(48,220,255,0));opacity:.54}.platform-screen .platform-weather.is-unavailable{min-width:150px;color:#c4f3fe94}.platform-screen .platform-weather__icon{width:34px;height:34px;flex:none;object-fit:contain;filter:drop-shadow(0 0 8px rgba(48,220,255,.26))}.platform-screen .platform-weather__fallback-icon{position:relative;width:30px;height:24px;flex:none}.platform-screen .platform-weather__fallback-icon:before{content:"";position:absolute;left:2px;bottom:2px;width:24px;height:10px;border:1px solid rgba(92,232,255,.72);border-radius:8px;box-shadow:0 0 8px #30dcff2e}.platform-screen .platform-weather__fallback-icon:after{content:"";position:absolute;left:8px;top:2px;width:11px;height:11px;border:1px solid rgba(92,232,255,.72);border-radius:50%;background:rgba(8,42,58,.9)}.platform-screen .platform-weather__copy{display:grid;align-content:center;gap:1px;min-width:0}.platform-screen .platform-weather__primary{display:inline-flex;align-items:center;gap:8px}.platform-screen .platform-weather__primary strong{color:#f2fdff;font-size:13px;font-weight:700;line-height:17px}.platform-screen .platform-weather__primary em{color:#69eff2;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:19px;font-style:normal;font-weight:800;line-height:19px}.platform-screen .platform-weather__copy small{display:flex;align-items:center;gap:6px;color:#c4f3fe9e;font-size:10px;font-weight:400;line-height:13px}.platform-screen .platform-weather__copy small i{width:2px;height:2px;border-radius:50%;background:rgba(92,232,255,.6);box-shadow:0 0 4px #30dcff66}.platform-screen .platform-datetime{position:relative;display:grid;justify-items:end;align-content:center;gap:0;width:112px;height:40px;padding:0 10px 0 13px;white-space:nowrap}.platform-screen .platform-datetime:before{content:"";position:absolute;left:0;top:9px;width:1px;height:22px;background:linear-gradient(180deg,transparent,rgba(92,232,255,.52),transparent)}.platform-screen .platform-datetime span{color:#c4f3fea3;font-size:10px;line-height:13px}.platform-screen .platform-datetime strong{color:#ecfcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:19px;font-weight:800;line-height:21px;text-align:right;text-shadow:0 0 8px rgba(48,220,255,.18)}.platform-screen .logout-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(92,232,255,.72);border-radius:2px;background:linear-gradient(180deg,rgba(28,126,166,.62),rgba(3,32,55,.86)),rgba(2,18,34,.72);box-shadow:inset 0 0 13px #30dcff2e,0 0 12px #30dcff33;color:#e7fbff;cursor:pointer;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.platform-screen .logout-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.platform-screen .logout-button:hover{border-color:#30dcffc7;box-shadow:inset 0 0 14px #30dcff29,0 0 14px #30dcff38;color:#fff;transform:translateY(-1px)}.platform-screen .top-count-card{left:432px;right:432px;top:108px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;justify-content:stretch}.platform-screen .top-count-card>div{min-width:0;padding:0!important;justify-content:center}.platform-screen .top-count-card .count-card{min-width:0;min-height:90px}.platform-screen .top-count-card .count-card:before{content:none}.platform-screen .top-count-card .count-card-title,.platform-screen .top-count-card .count-card-left,.platform-screen .top-count-card .count-card-right{min-width:0}.platform-screen .top-count-card .count-card-icon{width:76px;height:90px;flex-basis:76px;margin-right:2px}.platform-screen .top-count-card .count-card-right{padding-left:10px}.platform-screen .top-count-card .count-card-right .value{min-height:34px;margin-right:6px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px;letter-spacing:0}.platform-screen .top-count-card .count-card-right .unit{padding-top:10px;font-size:var(--screen-kpi-unit-size, 11px);line-height:1}.platform-screen .top-count-card .count-card-title .title-zh{font-size:var(--screen-kpi-label-size, 14px);line-height:18px}.platform-screen .top-count-card .count-card-title .title-en{max-width:112px;overflow:hidden;text-overflow:ellipsis}.platform-screen .top-count-card.is-four{left:432px;right:432px;top:102px;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px}.platform-screen .top-count-card.is-four .count-card-icon{width:58px;height:78px;flex-basis:58px;margin-right:0}.platform-screen .top-count-card.is-four .count-card-right{padding-left:4px}.platform-screen .top-count-card.is-four .count-card-right .value{min-height:34px;font-size:var(--screen-kpi-four-value-size, 29px);line-height:34px;margin-right:4px}.platform-screen .top-count-card.is-four .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-four-unit-size, 10px)}.platform-screen .top-count-card.is-four .count-card-title .title-zh{font-size:var(--screen-kpi-four-label-size, 13px);line-height:17px;white-space:nowrap}.platform-screen .top-count-card.is-four .count-card-title .title-en{max-width:90px;font-size:10px}.platform-screen .top-count-card.is-multi{left:432px;right:432px;top:102px;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:72px;column-gap:10px;row-gap:8px;z-index:8}.platform-screen .top-count-card.is-multi>div{justify-content:center}.platform-screen .top-count-card.is-multi .count-card{min-height:72px}.platform-screen .top-count-card.is-multi .count-card-left{flex:0 0 auto}.platform-screen .top-count-card.is-multi .count-card-icon{display:block;width:64px;height:72px;flex-basis:64px;margin-right:0}.platform-screen .top-count-card.is-multi .count-card-right{flex:0 0 auto;padding-left:4px}.platform-screen .top-count-card.is-multi .count-card-right .value{min-height:34px;margin-right:4px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px}.platform-screen .top-count-card.is-multi .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-unit-size, 11px);opacity:.72}.platform-screen .top-count-card.is-multi .count-card-title .title-zh{max-width:none;font-size:var(--screen-kpi-label-size, 14px);line-height:1.18;white-space:nowrap}.platform-screen .top-count-card.is-multi .count-card-title .title-en{display:none}.platform-screen .top-count-card.is-multi>div:nth-child(6){grid-column:2}.platform-screen .top-count-card.is-multi>div:nth-child(7){grid-column:3}.platform-screen .top-count-card.is-multi>div:nth-child(8){grid-column:4}.platform-screen .top-count-card.is-count-five>div{justify-content:center}.platform-screen .top-count-card.is-home-five{left:432px;right:432px;top:102px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:auto;column-gap:12px;row-gap:0;justify-content:stretch;align-items:center;z-index:9}.platform-screen .top-count-card.is-home-five>div{width:100%;min-width:0;justify-content:center}.platform-screen .top-count-card.is-home-five .count-card{min-height:76px}.platform-screen .top-count-card.is-home-five .count-card-left{flex:0 0 auto}.platform-screen .top-count-card.is-home-five .count-card-icon{width:72px;height:80px;flex-basis:72px;margin-right:4px}.platform-screen .top-count-card.is-home-five .count-card-right{flex:0 0 auto;padding-left:6px}.platform-screen .top-count-card.is-home-five .count-card-right .value{min-height:34px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px}.platform-screen .top-count-card.is-home-five .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-unit-size, 11px)}.platform-screen .top-count-card.is-home-five .count-card-title .title-zh{max-width:none;font-size:var(--screen-kpi-label-size, 14px);line-height:18px;white-space:nowrap}.platform-screen .top-count-card.is-home-five .count-card-title .title-en{display:none}.platform-screen.is-home .top-count-card.is-home-five{left:432px;right:432px;top:82px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;justify-items:start;align-items:center}.platform-screen.is-home .top-count-card.is-home-five>div{width:100%;min-width:0;justify-content:flex-start}.platform-screen.is-home .top-count-card.is-home-five .count-card{width:100%;min-height:74px;justify-content:flex-start}.platform-screen.is-home .top-count-card.is-home-five .count-card-icon{width:58px;height:72px;flex-basis:58px;margin-right:2px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right{padding-left:3px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .value{font-size:28px;line-height:31px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .unit{padding-top:8px;font-size:10px}.platform-screen.is-home .top-count-card.is-home-five .count-card-title .title-zh{font-size:13px;line-height:17px}.platform-screen.is-ecology-national-park .top-count-card.is-home-five{left:432px;right:432px;top:96px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;justify-content:stretch}.platform-screen.is-ecology-national-park .top-count-card.is-home-five>div{min-width:0;zoom:.88}.platform-screen .bottom-menu-item{width:96px!important;margin:0 2px}.platform-screen .bottom-menu-item span{width:96px!important;font-size:13px}.platform-screen .bottom-svg-line-left,.platform-screen .bottom-svg-line-right{position:absolute;right:50%;bottom:-21px;width:721px;height:57px;margin-right:-5px}.platform-screen .bottom-svg-line-right{left:50%;right:inherit;margin-left:-5px;margin-right:inherit;transform:scaleX(-1)}.platform-screen .module-coming{position:absolute;left:50%;top:50%;z-index:12;width:360px;height:130px;padding-top:28px;border:1px solid rgba(48,220,255,.28);background:rgba(3,18,30,.72);color:#fff;text-align:center;transform:translate(-50%,-50%);pointer-events:none;box-sizing:border-box}.platform-screen .module-coming-title{font-size:24px;font-weight:700}.platform-screen .module-coming-text{margin-top:12px;color:#ffffff9e;font-size:14px}.platform-screen .platform-loading{position:absolute;z-index:99}.platform-screen .platform-loading .loading-text{gap:10px;letter-spacing:0}@keyframes platformMenuActivePulse{0%{opacity:.68;box-shadow:0 0 #0af0}58%{opacity:.38;box-shadow:0 0 14px #30dcff5c}to{opacity:0;box-shadow:0 0 22px #30dcff1f}} +@charset "UTF-8";.path-line{mix-blend-mode:screen}.m-header{position:relative;left:0;top:0;right:0;width:100%;height:90px;z-index:2}.m-header-wrap{position:absolute;left:50%;transform:translate(-50%);width:1920px;height:90px;margin:0 auto;background:url(./header-bg-65b38012-balabala-1786807848259.png);background-size:100%;text-align:center;box-sizing:border-box;padding-top:10px}.m-header-title{color:#fff;font-size:44px;font-weight:700;letter-spacing:1px;font-family:Alimama ShuHeiTi,阿里妈妈数黑体 Bold,sans-serif;font-synthesis:none;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m-header-subtext{opacity:.64;font-size:12px;letter-spacing:3px;font-weight:300;font-family:D-DIN;line-height:14.4px;color:#c4f3fe}.m-header-left{color:#fff;position:absolute;top:47px;left:32px}.m-header-right{color:#fff;position:absolute;top:47px;right:32px}.m-header-line-left{position:absolute;right:50%;top:11px;width:961px;height:79px;margin-right:14px}.m-header-line-right{position:absolute;left:50%;top:11px;width:961px;height:79px;margin-left:-14px;transform:scaleX(-1)}.m-header-line-left-top{position:absolute;right:50%;top:-6px;width:329px;height:30px;margin-right:295px}.m-header-line-right-top{position:absolute;left:50%;top:-6px;width:329px;height:30px;margin-left:293px;transform:scaleX(-1)}.m-menu{display:flex}.m-menu-item{position:relative;z-index:1;display:flex;align-items:center;pointer-events:all;justify-content:center;min-width:112px;width:auto;height:32px;box-sizing:border-box;padding:0 20px;background-image:url(./menu-btn-91a961cf-balabala-1786807848259.png);background-size:100% 100%;color:#fff9;font-size:15px;margin:0 6px;white-space:nowrap;line-height:32px;cursor:pointer}.m-menu-item:hover,.m-menu-item.is-active{color:#fff;background-image:url(./menu-btn-hover-62eba0bb-balabala-1786807848259.png);background-size:100% 100%}.m-menu-item.is-active:after{display:block;width:100%;height:32px;background-size:100%;content:"";position:absolute;left:50%;top:50%;margin-left:-50%;margin-top:-16px;z-index:-1;opacity:1;background:rgba(0,170,255,.55);border-radius:32px;transform:scale(1.1,1.2);animation:menuActiveScale 1s infinite}@keyframes menuActiveScale{0%{transform:scale(1)}50%{transform:scale(1.1,1.2)}to{transform:scale(1.1,1.2);opacity:0}}@keyframes countCardLoadIn{0%{opacity:0;transform:translateY(12px) scale(.96);filter:blur(1px) brightness(.82)}58%{opacity:1;transform:translateY(-2px) scale(1.02);filter:blur(0) brightness(1.26)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0) brightness(1)}}@keyframes countCardValueJump{0%,to{transform:translateY(0) scale(1)}35%{transform:translateY(-3px) scale(1.045)}68%{transform:translateY(1px) scale(.99)}}@keyframes countCardValueSettle{0%{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}36%{transform:translateY(-5px) scale(1.08);filter:brightness(1.4);text-shadow:0 0 14px rgba(255,255,255,.88),0 0 26px rgba(48,220,255,.52)}to{transform:translateY(0) scale(1);filter:brightness(1);text-shadow:0 0 18px rgba(255,255,255,.7)}}@keyframes countCardValueSweep{0%{transform:translate(-130%);opacity:0}16%{opacity:.68}54%{opacity:.8}to{transform:translate(130%);opacity:0}}.count-card{position:relative;display:flex;align-items:center;overflow:visible}.count-card:before{content:"";position:absolute;left:-8px;right:-8px;top:-5px;bottom:-5px;pointer-events:none;background:linear-gradient(100deg,transparent 8%,rgba(48,220,255,.2) 45%,transparent 72%);opacity:0;transform:translate(-120%)}.count-card.is-counting:before{animation:countCardValueSweep 1.45s ease-in-out infinite}.count-card-left{display:flex;align-items:center;animation:countCardLoadIn .78s cubic-bezier(.2,.78,.22,1) both;animation-delay:.04s}.count-card-right{display:flex;align-items:center;padding-left:20px;animation:countCardLoadIn .82s cubic-bezier(.2,.78,.22,1) both;animation-delay:.12s}.count-card-right .value{position:relative;display:inline-flex;align-items:baseline;transform-origin:center bottom;font-family:D-DIN;font-weight:700;font-size:var(--screen-kpi-value-size, 31px);line-height:34px;color:#fff;letter-spacing:0;margin-right:6px;text-shadow:0px 0px 18px rgba(255,255,255,.7);white-space:nowrap}.count-card-right .value:after{content:"";position:absolute;left:-4px;right:-4px;bottom:0;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.72),transparent);opacity:0;transform:scaleX(.2);transform-origin:left center}.count-card-right .unit{font-weight:500;font-size:var(--screen-kpi-unit-size, 11px);color:#fff;padding-top:12px;opacity:.72;white-space:nowrap}.count-card-icon{position:relative;width:42px;height:42px;margin-right:10px;flex:0 0 42px;background-repeat:no-repeat;background-position:center center;background-size:contain;filter:none}.count-card-icon:before,.count-card-icon:after{content:none}.count-card-icon.icon-xiaoshoujine{background-image:url(./icon1-6f7c222f-balabala-1786807848259.png)}.count-card-icon.icon-zongxiaoliang{background-image:url(./icon2-4f77ccec-balabala-1786807848259.png)}.count-card-icon.icon-stack{background-image:url(./stack-7a426057-balabala-1786807848259.png)}.count-card-icon.icon-area{background-image:url(./area-b57940eb-balabala-1786807848259.png)}.count-card-icon.icon-grass-basic{background-image:url(./area-b57940eb-balabala-1786807848259.png)}.count-card-icon.icon-grass-general{background-image:url(./area-b57940eb-balabala-1786807848259.png)}.count-card-icon.icon-wetland{background-image:url(./leaf-7be9efef-balabala-1786807848259.png)}.count-card-icon.icon-forest{background-image:url(./park-ee0533e0-balabala-1786807848259.png)}.count-card-icon.icon-town{background-image:url(./town-f8c0c9cc-balabala-1786807848259.png)}.count-card-icon.icon-park{background-image:url(./park-ee0533e0-balabala-1786807848259.png)}.count-card-icon.icon-yield{background-image:url(./yield-66e9af79-balabala-1786807848259.png)}.count-card-icon.icon-project{background-image:url(./yield-66e9af79-balabala-1786807848259.png)}.count-card-icon.icon-length{background-image:url(./park-ee0533e0-balabala-1786807848259.png)}.count-card-icon.icon-device{background-image:url(./yield-66e9af79-balabala-1786807848259.png)}.count-card-icon.icon-certificate{background-image:url(./yield-66e9af79-balabala-1786807848259.png)}.count-card-icon.icon-rate{background-image:url(./park-ee0533e0-balabala-1786807848259.png)}.count-card-icon.icon-leaf{background-image:url(./leaf-7be9efef-balabala-1786807848259.png)}.count-card-icon.icon-risk{background-image:url(./leaf-7be9efef-balabala-1786807848259.png)}.count-card-title .title-zh{font-weight:700;font-size:var(--screen-kpi-label-size, 14px);color:#fff;line-height:18px;white-space:nowrap}.count-card-title .title-en{font-family:D-DIN;font-weight:400;font-size:12px;color:#fff;opacity:.5;padding-top:5px;white-space:nowrap}.count-card.is-counting .count-card-icon{filter:none}.count-card.is-counting .count-card-right .value{animation:countCardValueJump .58s ease-in-out infinite}.count-card.is-counting .count-card-right .value:after{opacity:.58;transform:scaleX(1);transition:transform 1.2s ease,opacity .2s ease}.count-card.is-settled .count-card-right .value{animation:countCardValueSettle .72s cubic-bezier(.16,.86,.24,1) both}body{font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);background:#000;-webkit-user-select:none;user-select:none}.loading{position:absolute;left:0;top:0;right:0;bottom:0;background:#000;pointer-events:none;z-index:99}.loading-text{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#fff;font-family:D-DIN,Arial,sans-serif;letter-spacing:10px}.loading-text span{font-size:2vw;animation:blurAni 1.5s calc(var(--index) / 5 * 1s) alternate infinite}.loading-progress{font-size:2vw;color:#fff;font-family:D-DIN,Arial,sans-serif;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center;margin-top:-3vw}.loading-progress .unit{padding-left:10px;font-size:1vw}@keyframes blurAni{to{filter:blur(3px)}}.large-screen{position:relative;width:100%;height:100%;background:#050f33;margin:0 auto;font-size:14px}.large-screen .map{position:relative;width:100%;height:100%;z-index:2}.large-screen-wrap{position:absolute;left:0;right:0;top:0;bottom:0;z-index:3;pointer-events:none}.large-screen-wrap:after{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;opacity:.5;background:url(./bg-3acb94e3-balabala-1786807848259.png) no-repeat;background-size:cover}.large-screen-wrap .top-count-card{position:absolute;left:560px;right:560px;top:130px;justify-content:center;z-index:9;display:flex}.large-screen-wrap .top-count-card>div{padding:0 50px}.large-screen-wrap .left-wrap{position:absolute;z-index:4;width:398px;left:32px;top:126px;bottom:50px;perspective:500px;perspective-origin:50% 50%}.large-screen-wrap .left-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(6deg) rotate(0) skew(0) skewY(0);z-index:4}.large-screen-wrap .left-wrap-3d .left-card{flex:1;margin-bottom:12px}.large-screen-wrap .right-wrap{position:absolute;z-index:4;width:398px;right:32px;top:126px;bottom:50px;perspective:800px;perspective-origin:50% 50%}.large-screen-wrap .right-wrap-3d{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;transform:translateZ(0) scaleX(1) scaleY(1) rotateX(0) rotateY(-6deg) rotate(0) skew(0) skewY(0)}.large-screen-wrap .right-wrap-3d .right-card{flex:1;margin-bottom:12px}.large-screen-wrap .bottom-tray{position:absolute;left:50%;bottom:0;z-index:3;margin-left:-960px;width:1920px;height:90px;box-sizing:border-box;padding-top:20px;display:flex;justify-content:center;background:url(./bottom-menu-bg-b465793d-balabala-1786807848259.png) no-repeat;background-size:contain}.large-screen-wrap .bottom-tray-arrow{display:flex;align-items:center;height:30px}.large-screen-wrap .bottom-tray-arrow.is-reverse{transform:scaleX(-1)}.large-screen-wrap .bottom-tray-arrow img{animation:arrowAnimate 2s ease-in-out infinite}.large-screen-wrap .bottom-tray-arrow img:last-child{animation:arrowAnimate2 2s ease-in-out infinite}.large-screen-wrap .bottom-tray .bottom-menu{display:flex;padding:0 20px}.large-screen-wrap .bottom-tray .bottom-menu-item{width:100px;height:32px;background:url(./bottom-menu-btn-ee5c8064-balabala-1786807848259.png) no-repeat;background-size:100%;font-size:15px;letter-spacing:1.6px;text-align:center;line-height:30px;cursor:pointer;pointer-events:all}.large-screen-wrap .bottom-tray .bottom-menu-item span{display:block;width:100px;height:32px;font-weight:700;background:-webkit-linear-gradient(rgb(117,232,255),rgb(255,255,255));-webkit-background-clip:text;-webkit-text-fill-color:transparent}.large-screen-wrap .bottom-tray .bottom-menu-item:hover,.large-screen-wrap .bottom-tray .bottom-menu-item.is-active{background:url(./bottom-menu-btn-hover-df33e514-balabala-1786807848259.png) no-repeat;background-size:100%}.large-screen-left-zsline{position:absolute;left:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./left-kuang-5d6bd1ae-balabala-1786807848259.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}.large-screen-right-zsline{position:absolute;right:0;z-index:3;top:50%;margin-top:-540px;width:120px;height:1080px;background:url(./right-kuang-b1937caf-balabala-1786807848259.svg) no-repeat;background-size:contain;animation:bkAnimate 3s infinite}@keyframes bkAnimate{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes arrowAnimate{0%{transform:translate(0)}50%{transform:translate(100%)}to{transform:translate(0)}}@keyframes arrowAnimate2{0%{transform:translate(0)}50%{transform:translate(90%)}to{transform:translate(0)}}@keyframes rotate360Animate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.platform-screen:not(.is-yak-industry-chain){--screen-color-card-bg: rgba(5, 31, 46, .84);--screen-color-card-header-bg: rgba(24, 92, 118, .72);--screen-color-card-border: rgba(78, 223, 244, .48);--screen-color-chart-grid-line: rgba(185, 235, 244, .2);--screen-color-text-weak: rgba(223, 247, 251, .72);--screen-card-title-size: 16px;--screen-card-title-line-height: 32px;--screen-card-title-weight: 600;--screen-chart-axis-size: 11px;--screen-chart-label-size: 12px;--screen-table-body-size: 12px;--screen-table-value-size: 13px;--screen-kpi-label-size: 13px;--screen-kpi-value-size: 29px;--screen-kpi-unit-size: 11px;--screen-popup-title-size: 16px;--screen-popup-body-size: 12px;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}.platform-screen:not(.is-yak-industry-chain) .m-card{isolation:isolate;transition:filter .18s ease}.platform-screen:not(.is-yak-industry-chain) .m-card-bd:before{content:"";position:absolute;top:34px;right:1px;bottom:1px;left:1px;z-index:-1;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(66,209,231,.14),transparent 42%),linear-gradient(160deg,rgba(8,43,60,.92),rgba(3,22,34,.84));box-shadow:inset 0 0 0 1px #51ddf233,inset 0 18px 36px #40beda0f,0 10px 26px #0008103d;backdrop-filter:blur(7px) saturate(1.08);clip-path:polygon(0 0,100% 0,100% 44%,99.1% 46%,99.1% 54%,100% 56%,100% 100%,0 100%,0 56%,.9% 54%,.9% 46%,0 44%)}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-bg{opacity:.92;filter:saturate(.86) brightness(.96)}.platform-screen:not(.is-yak-industry-chain) .m-card-bd-bg{opacity:.68}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-title{left:20px;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:var(--screen-card-title-size, 16px);font-weight:var(--screen-card-title-weight, 600);line-height:var(--screen-card-title-line-height, 32px);letter-spacing:.8px;text-shadow:0 2px 10px rgba(0,8,14,.72)}.platform-screen:not(.is-yak-industry-chain) .m-card-hd-zs1{opacity:.58}.platform-screen:not(.is-yak-industry-chain) .m-card-hd .saoguang{opacity:.42}.platform-screen:not(.is-yak-industry-chain) .fgw-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .home-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .pasture-side-stack.is-left,.platform-screen:not(.is-yak-industry-chain) .yak-side-stack.is-left{perspective:none!important;transform:translateZ(0)!important}.platform-screen:not(.is-yak-industry-chain) .fgw-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .home-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .pasture-side-stack.is-right,.platform-screen:not(.is-yak-industry-chain) .yak-side-stack.is-right{perspective:none!important;transform:translateZ(0)!important}.platform-screen:not(.is-yak-industry-chain) .fgw-side-card:hover,.platform-screen:not(.is-yak-industry-chain) .home-card:hover,.platform-screen:not(.is-yak-industry-chain) .pasture-side-card:hover,.platform-screen:not(.is-yak-industry-chain) .yak-side-card:hover{filter:brightness(1.06)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21{color:#f7fefff5;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-metric-item,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-icon-metric-item,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-spotlight-main,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-spotlight-chip,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-structure-focus,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-structure-row,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-line-chart,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-heat-cell,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-row{border-color:#5adcf02e;background:linear-gradient(90deg,rgba(68,210,232,.07),transparent 62%),rgba(3,25,38,.52);box-shadow:inset 0 1px #e8fdff09}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-item strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-item strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-row strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row strong,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-metric-item strong{font-variant-numeric:tabular-nums;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-columns:before,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peaks:before{opacity:.38}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-track,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-track,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-stage,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-band{border-color:#74e0ef2e;background-color:#4ccadc13}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-column-track i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-bar-track i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-peak-stage i,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-split-band i{filter:saturate(.92) brightness(1.04)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-row{padding:3px 5px 3px 7px;border-left:2px solid var(--row-color, rgba(67, 217, 255, .72));background:linear-gradient(90deg,color-mix(in srgb,var(--row-color, #43d9ff) 10%,transparent),transparent 72%);transition:background .16s ease,transform .16s ease}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-donut-row.is-active,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-row.is-active{background:linear-gradient(90deg,color-mix(in srgb,var(--row-color, #43d9ff) 18%,transparent),transparent 82%);transform:translate(2px)}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-ring-track{stroke:#a5dfe929}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-ring-halo,.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-rose-glow{opacity:.68}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-line-grid{stroke:#c7eff629}.platform-screen:not(.is-yak-industry-chain) .business-panel.is-v21 .business-panel-empty{color:#def7fba6}.platform-screen:not(.is-yak-industry-chain) .fgw-map-layer-tools .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .pasture-map-layer-tools .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(65,215,235,.18),transparent 42%),linear-gradient(150deg,rgba(5,31,46,.97),rgba(2,17,28,.95));box-shadow:inset 0 0 0 1px #59e1f447,0 18px 42px #00070e57;backdrop-filter:blur(12px) saturate(1.12)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item{min-height:30px;border-color:#5ad9ed2e;background:rgba(2,20,31,.64);color:#e8fafdc7;font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:12px;font-weight:500;line-height:16px;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item:hover,.platform-screen:not(.is-yak-industry-chain) .layer-panel-item:focus-visible{border-color:#62e2f585;background:rgba(28,99,119,.34);color:#fff;outline:none;transform:translate(2px)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-item.is-active{border-color:#59dff3ad;background:linear-gradient(90deg,rgba(30,132,150,.48),rgba(3,25,37,.76));box-shadow:inset 3px 0 #4fe2f4db}.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row{border-color:#59dcef14;background:rgba(6,28,41,.34)}.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row:not(:disabled):hover,.platform-screen:not(.is-yak-industry-chain) .layer-panel-legend-row:not(:disabled):focus-visible{border-color:#5be0f36b;background:rgba(32,105,122,.28);outline:none}.platform-screen:not(.is-yak-industry-chain) .layer-panel-section-title,.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-name{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:12px;line-height:16px}.platform-screen:not(.is-yak-industry-chain) .layer-panel-section-title{font-weight:600;letter-spacing:.4px}.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-name{color:#e6f9fcc7;font-weight:500}.platform-screen:not(.is-yak-industry-chain) .layer-panel .legend-swatch{width:17px;height:11px;border-radius:2px;box-shadow:0 0 10px color-mix(in srgb,currentColor 24%,transparent)}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info{z-index:12}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info:after,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info:after,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info:after{content:"";position:absolute;left:calc(var(--feature-panel-anchor-x, 50%) - 8px);bottom:-7px;z-index:0;width:16px;height:16px;border-right:1px solid rgba(89,225,244,.42);border-bottom:1px solid rgba(89,225,244,.42);background:rgba(3,25,39,.98);box-shadow:4px 4px 14px #00070e47;transform:rotate(45deg);pointer-events:none}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info .m-card,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info .m-card,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info .m-card{position:relative;z-index:1;background:rgba(3,25,39,.97);box-shadow:0 18px 42px #00070e6b;backdrop-filter:none}.platform-screen:not(.is-yak-industry-chain) .fgw-map-feature-info .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .home-map-feature-info .m-card-bd:before,.platform-screen:not(.is-yak-industry-chain) .pasture-map-feature-info .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(65,215,235,.18),transparent 42%),linear-gradient(150deg,rgba(5,31,46,.98),rgba(2,17,28,.98));box-shadow:inset 0 0 0 1px #59e1f447;backdrop-filter:none}.platform-screen:not(.is-yak-industry-chain) .feature-info-card .m-card-hd-title{color:#fff;font-size:var(--screen-popup-title-size, 16px);font-weight:600;background:none;-webkit-text-fill-color:currentColor}.platform-screen:not(.is-yak-industry-chain) .feature-info{padding:8px 10px 10px;font-size:var(--screen-popup-body-size, 12px)}.platform-screen:not(.is-yak-industry-chain) .feature-table{gap:2px;padding-right:6px;scrollbar-gutter:stable}.platform-screen:not(.is-yak-industry-chain) .feature-row{grid-template-columns:108px minmax(0,1fr);min-height:27px;border:1px solid rgba(101,218,235,.12);background:rgba(2,20,31,.54)}.platform-screen:not(.is-yak-industry-chain) .feature-row:first-child{border-top:1px solid rgba(101,218,235,.12)}.platform-screen:not(.is-yak-industry-chain) .feature-row span{min-width:0;padding:4px 9px;border-right-color:#65daeb1f;background:rgba(53,159,181,.1);color:#d3f0f5b8;font-size:var(--screen-table-body-size, 12px);font-weight:500;line-height:17px;white-space:nowrap}.platform-screen:not(.is-yak-industry-chain) .feature-row strong{min-width:0;padding:4px 10px;overflow:hidden;color:#f8fefff5;font-size:var(--screen-table-value-size, 13px);font-weight:600;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.platform-screen:not(.is-yak-industry-chain) .feature-row:first-child strong,.platform-screen:not(.is-yak-industry-chain) .feature-row:nth-child(2) strong{color:#8ef1df;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;line-height:17px;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .topic-switcher{filter:drop-shadow(0 8px 16px rgba(0,8,14,.3))}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item{transition:filter .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item:hover,.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item:focus-visible{filter:brightness(1.12);outline:none;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item.is-active{filter:saturate(1.12) brightness(1.08)}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-name,.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-title{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:13px;font-weight:600;line-height:16px;letter-spacing:.2px}.platform-screen:not(.is-yak-industry-chain) .topic-switcher-item .topic-name small{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:9px;font-weight:500;line-height:10px}.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button{transition:border-color .15s ease,background .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button:hover,.platform-screen:not(.is-yak-industry-chain) .platform-map-tools button:focus-visible{border-color:#68e8f9c7;background:rgba(24,113,136,.5);outline:none;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .m-menu-item{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-size:14px;font-weight:500;letter-spacing:.4px;transition:color .15s ease,filter .15s ease,transform .15s ease}.platform-screen:not(.is-yak-industry-chain) .m-menu-item:hover,.platform-screen:not(.is-yak-industry-chain) .m-menu-item:focus-visible{color:#fff;filter:brightness(1.1);outline:1px solid rgba(91,224,244,.45);outline-offset:2px;transform:translateY(-1px)}.platform-screen:not(.is-yak-industry-chain) .m-menu-item.is-active{filter:saturate(1.06) brightness(1.08)}.platform-screen:not(.is-yak-industry-chain) .count-card{padding:4px 10px 6px;background:linear-gradient(90deg,rgba(5,28,40,.26),transparent 82%);box-shadow:inset 0 -1px #53daee1f}.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-title .title-zh{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif);font-weight:600;letter-spacing:.3px}.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-right .value,.platform-screen:not(.is-yak-industry-chain) .count-card .count-card-right .unit{font-variant-numeric:tabular-nums}.business-chart-tooltip.is-v21{padding:10px 12px;border-color:#5fe2f48a;border-radius:2px;background:radial-gradient(circle at 12% 0%,rgba(70,230,173,.13),transparent 54%),rgba(2,20,31,.96);box-shadow:0 14px 34px #00070e61,inset 0 0 18px #43d9ff0d;backdrop-filter:blur(10px)}@media (prefers-reduced-motion: reduce){.platform-screen:not(.is-yak-industry-chain) *,.platform-screen:not(.is-yak-industry-chain) *:before,.platform-screen:not(.is-yak-industry-chain) *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.platform-screen .top-menu{top:45px}.platform-screen .top-menu .m-menu-item{min-width:120px;height:36px;margin:0 5px;padding:0 18px;border:1px solid rgba(91,224,244,.12);border-radius:18px;color:#e7f9fcc2;font-size:14px;font-weight:600;line-height:34px;background-image:linear-gradient(180deg,rgba(9,57,76,.5),rgba(3,28,43,.34));box-shadow:inset 0 1px #ffffff0a,inset 0 -1px #30dcff1f;transition:color .16s ease,border-color .16s ease,background .16s ease,transform .16s ease}.platform-screen .top-menu .m-menu-item:hover{border-color:#5be0f46b;color:#fff;background-image:linear-gradient(180deg,rgba(20,104,127,.76),rgba(5,42,59,.68))}.platform-screen .top-menu .m-menu-item:focus-visible{outline:none;box-shadow:0 0 0 2px #020f18f0,0 0 0 4px #7efbf6e6}.platform-screen .top-menu .m-menu-item.is-active{border-color:#7efbf6c2;color:#fff;background-image:linear-gradient(180deg,rgba(29,142,158,.9),rgba(5,57,74,.86));box-shadow:inset 0 0 0 1px #7efbf633,inset 0 -2px #7efbf6,0 0 16px #30dcff2e}.platform-screen .top-menu .m-menu-item.is-active:after{content:none;animation:none}.platform-screen{--v22-surface: rgba(4, 28, 42, .9);--v22-surface-raised: rgba(7, 42, 58, .94);--v22-border: rgba(91, 224, 244, .46);--v22-border-strong: rgba(126, 251, 246, .76);--v22-text: rgba(247, 254, 255, .96);--v22-text-secondary: rgba(223, 250, 255, .8);--v22-text-muted: rgba(211, 241, 247, .66);--v22-accent: #7efbf6;--v22-accent-strong: #30dcff;--v22-highlight: #ffd76c;--v22-focus-ring: 0 0 0 2px rgba(2, 15, 24, .94), 0 0 0 4px rgba(126, 251, 246, .9);color:var(--v22-text)}.platform-screen button,.platform-screen [role=button],.platform-screen input,.platform-screen select,.platform-screen textarea{font-family:var(--screen-font-ui, "PingFang SC", "Microsoft YaHei", sans-serif)}.platform-screen button:focus-visible,.platform-screen [role=button]:focus-visible,.platform-screen input:focus-visible,.platform-screen select:focus-visible,.platform-screen textarea:focus-visible{outline:none!important;box-shadow:var(--v22-focus-ring)!important}.platform-screen .m-card-bd:before{background:radial-gradient(circle at 18% 0%,rgba(74,210,233,.12),transparent 40%),linear-gradient(160deg,rgba(6,38,54,.95),rgba(2,20,32,.91));box-shadow:inset 0 0 0 1px #5be0f438,0 12px 28px #00081045}.platform-screen .m-card-hd-title{left:18px;color:#fff;font-size:16px;font-weight:650;letter-spacing:.5px}.platform-screen .m-card-hd .saoguang,.platform-screen .m-card-hd-zs1{opacity:.34}.platform-screen .top-count-card{top:110px;column-gap:24px}.platform-screen .top-count-card .count-card{min-height:86px;padding:4px 12px 6px!important;border-bottom:1px solid rgba(91,224,244,.16);background:linear-gradient(90deg,rgba(5,34,48,.5),rgba(4,24,37,.08))}.platform-screen .top-count-card .title-zh{color:var(--v22-text-secondary);font-size:14px;font-weight:600}.platform-screen .top-count-card .value{font-variant-numeric:tabular-nums}.platform-screen .top-count-card .unit{color:var(--v22-text-muted);font-size:12px}.platform-screen.is-home .top-count-card.is-home-five{left:492px;right:492px;top:96px;grid-template-columns:188px 200px 214px 146px 146px;column-gap:10px}.platform-screen.is-home .top-count-card.is-home-five .count-card{display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:19px 35px;align-content:center;align-items:center;min-height:74px;padding:0!important;border-bottom:0;background:none;box-sizing:border-box}.platform-screen.is-home .top-count-card.is-home-five .count-card-left{display:contents}.platform-screen.is-home .top-count-card.is-home-five .count-card-icon{grid-column:1;grid-row:1/3;align-self:center;width:54px;height:68px;flex-basis:54px;margin-right:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-title{grid-column:2;grid-row:1;align-self:end;min-width:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-title .title-zh{overflow:hidden;color:#dffaffc7;font-size:12px;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-home .top-count-card.is-home-five .count-card-right{grid-column:2;grid-row:2;align-self:start;min-width:0;padding-left:0}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .value{min-height:31px;margin-right:5px;font-size:27px;line-height:31px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .unit{padding-top:0;font-size:10px;line-height:14px}.platform-screen .platform-map-tools{gap:8px;transform:none}.platform-screen .platform-map-tools button{width:38px;height:38px;border-radius:2px;background:linear-gradient(180deg,rgba(18,92,115,.94),rgba(3,31,47,.96));box-shadow:inset 0 0 0 1px #ffffff0a,0 8px 20px #00070e47}.platform-screen .layer-panel-item{min-height:34px;padding-block:6px;border-radius:2px;font-size:13px}.platform-screen .layer-panel-section-title,.platform-screen .layer-panel .legend-name,.platform-screen .layer-panel-empty{font-size:12px;line-height:18px}.platform-screen .layer-panel-empty.is-legend{min-height:32px;color:var(--v22-text-muted)}.platform-screen .fgw-bottom-topic,.platform-screen .yak-bottom-topic{bottom:28px}.platform-screen .fgw-map-layer-tools,.platform-screen .pasture-map-layer-tools,.platform-screen .yak-map-layer-tools{bottom:116px}.platform-screen .business-panel.is-v21 .business-column-item,.platform-screen .business-panel.is-v21 .business-peak-item,.platform-screen .business-panel.is-v21 .business-bar-row,.platform-screen .business-panel.is-v21 .business-donut-row,.platform-screen .business-panel.is-v21 .business-rose-row,.platform-screen .business-panel.is-v21 .business-metric-item,.platform-screen .business-panel.is-v21 .business-split-row{color:var(--v22-text-secondary);font-size:12px}.platform-screen .business-panel.is-v21 .business-column-item strong,.platform-screen .business-panel.is-v21 .business-peak-item strong,.platform-screen .business-panel.is-v21 .business-bar-row strong,.platform-screen .business-panel.is-v21 .business-donut-row strong,.platform-screen .business-panel.is-v21 .business-metric-item strong{color:#fff;font-size:13px}.platform-screen .feature-row span{color:var(--v22-text-secondary);font-size:12px}.platform-screen .feature-row strong{color:#fff;font-size:13px}.platform-screen .epidemic-record-toolbar,.platform-screen .trade-ledger-toolbar{height:32px}.platform-screen .epidemic-record-toolbar input,.platform-screen .epidemic-record-toolbar button,.platform-screen .trade-ledger-toolbar input,.platform-screen .trade-ledger-toolbar button{height:28px;font-size:11px}.platform-screen .epidemic-record-header,.platform-screen .trade-ledger-header{height:28px}.platform-screen .epidemic-record-header span,.platform-screen .trade-ledger-header span{color:var(--v22-text-secondary);font-size:11px;font-weight:600}.platform-screen .epidemic-record-rows,.platform-screen .trade-ledger-rows{gap:4px}.platform-screen .epidemic-record-rows button,.platform-screen .trade-ledger-rows button{min-height:28px;border-color:#5be0f41f;background:rgba(5,38,52,.5)}.platform-screen .epidemic-record-rows span,.platform-screen .epidemic-record-rows strong,.platform-screen .trade-ledger-rows span,.platform-screen .trade-ledger-rows strong{color:var(--v22-text-secondary);font-size:11px;line-height:15px}.platform-screen .epidemic-record-rows strong,.platform-screen .trade-ledger-rows strong{color:#fff}.platform-screen .business-project-frame th,.platform-screen .business-project-frame td{font-size:12px!important;line-height:16px!important}.platform-screen .business-project-frame tbody td{min-height:34px;padding-top:5px;padding-bottom:5px}.platform-screen .business-project-frame strong{font-size:13px!important;line-height:16px!important}.platform-screen .business-project-frame .business-project-locate-button{width:30px;height:30px}.platform-screen .trade-year-switcher,.platform-screen .forecast-year-switcher,.platform-screen .epidemic-year-switcher{width:110px;box-sizing:border-box}.platform-screen .trade-year-switcher button,.platform-screen .forecast-year-switcher button,.platform-screen .epidemic-year-switcher button{width:100%;min-width:0;height:34px;border-color:#5be0f459;color:var(--v22-text-secondary);font-size:12px;background:rgba(4,32,45,.86)}.platform-screen .trade-year-switcher button.active,.platform-screen .forecast-year-switcher button.active,.platform-screen .epidemic-year-switcher button.active{border-color:#7efbf6b8;color:#061c29;background:linear-gradient(180deg,#8dfcf7,#45dbea)}@media (prefers-reduced-motion: reduce){.platform-screen *,.platform-screen *:before,.platform-screen *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.platform-screen .top-count-card{left:432px!important;right:432px!important;top:102px!important;display:grid!important;grid-template-columns:repeat(3,200px)!important;grid-auto-rows:82px!important;justify-content:center!important;align-items:stretch!important;column-gap:12px!important;row-gap:8px!important}.platform-screen .top-count-card>.count-card{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:21px 34px!important;align-content:center!important;align-items:center!important;width:200px!important;min-width:200px!important;min-height:82px!important;height:82px!important;padding:0 8px!important;box-sizing:border-box!important;justify-content:stretch!important}.platform-screen .top-count-card .count-card-left{display:contents!important}.platform-screen .top-count-card .count-card-icon{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:54px!important;height:68px!important;flex-basis:54px!important;margin-right:0!important}.platform-screen .top-count-card .count-card-title{grid-column:2!important;grid-row:1!important;align-self:end!important;min-width:0!important}.platform-screen .top-count-card .count-card-title .title-zh{display:block!important;max-width:100%!important;overflow:hidden!important;font-size:12px!important;line-height:17px!important;text-overflow:ellipsis!important;white-space:nowrap!important}.platform-screen .top-count-card .count-card-title .title-en{display:none!important}.platform-screen .top-count-card .count-card-right{grid-column:2!important;grid-row:2!important;align-self:start!important;min-width:0!important;padding-left:0!important}.platform-screen .top-count-card .count-card-right .value{min-height:31px!important;margin-right:4px!important;font-size:27px!important;line-height:31px!important}.platform-screen .top-count-card .count-card-right .unit{padding-top:8px!important;font-size:10px!important;line-height:1!important}.platform-screen .top-count-card.is-four{left:432px!important;right:432px!important;grid-template-columns:repeat(4,200px)!important;column-gap:12px!important}.platform-screen .top-count-card.is-multi,.platform-screen .top-count-card.is-home-five,.platform-screen.is-home .top-count-card.is-home-five{left:432px!important;right:432px!important;display:grid!important;grid-template-columns:repeat(5,200px)!important;column-gap:12px!important;justify-content:center!important}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-list.is-compact{padding:4px 12px 6px;overflow:hidden}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-row{grid-template-columns:19px minmax(0,1fr) 112px;gap:6px;height:20px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-rank{width:16px;height:16px;font-size:10px;line-height:14px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-name{font-size:11px;line-height:13px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-bar{height:3px;margin-top:2px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value{display:flex;align-items:baseline;justify-content:flex-end;gap:2px;white-space:nowrap}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value strong{font-size:13px;line-height:15px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value em{margin-left:0;font-size:9px}.platform-screen.is-ecological-protection .fgw-side-card[class*=-wetland-distribution] .business-stat-value span{display:inline;margin-top:0;overflow:hidden;font-size:9px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-ecological-protection .fgw-side-card[class*=-resource-structure] .business-structure-row{grid-template-columns:9px minmax(0,1fr) 64px 60px;gap:4px;padding-inline:6px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-list{grid-auto-rows:minmax(15px,1fr);gap:2px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row{grid-template-columns:7px minmax(0,1fr) 66px 56px;gap:3px;padding-inline:4px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row i{width:6px;height:6px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row span,.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row small{font-size:9px;line-height:11px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-measure-area .business-structure-row strong{font-size:11px;line-height:13px}.platform-screen.is-ecological-protection .ecological-side-card--restoration-projects .business-project-frame tbody td{height:28px;min-height:28px;padding-top:0;padding-bottom:0;overflow:hidden;line-height:14px;text-overflow:ellipsis;white-space:nowrap;word-break:normal}.platform-screen.is-yak-management .trade-ledger-header,.platform-screen.is-yak-management .trade-ledger-rows button{grid-template-columns:90px 56px 39px 46px 34px 64px}.platform-screen.is-yak-industry-chain .top-count-card.is-multi{left:388px!important;right:388px!important;top:98px!important;grid-template-columns:repeat(6,170px)!important;grid-auto-rows:72px!important;column-gap:8px!important;row-gap:0!important;justify-content:center!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi>div:nth-child(n){grid-column:auto!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi>.count-card{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:18px 32px!important;align-content:center!important;align-items:center!important;width:170px!important;min-width:0!important;height:72px!important;min-height:72px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-left{display:contents!important;min-width:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-icon{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:46px!important;height:58px!important;flex-basis:46px!important;margin-right:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-title{grid-column:2!important;grid-row:1!important;align-self:end!important;min-width:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right{grid-column:2!important;grid-row:2!important;align-self:start!important;min-width:0!important;padding-left:0!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-title .title-zh{overflow:hidden!important;font-size:12px!important;line-height:16px!important;text-overflow:ellipsis!important;white-space:nowrap!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right .value{min-height:29px!important;margin-right:4px!important;font-size:25px!important;line-height:30px!important}.platform-screen.is-yak-industry-chain .top-count-card.is-multi .count-card-right .unit{padding-top:9px!important;font-size:10px!important;line-height:1!important}.platform-screen.is-yak-industry-chain .industry-bottom-switcher{left:50%;right:auto;width:max-content;transform:translate(-50%)}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher,.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-menu{width:max-content;max-width:calc(100vw - 96px)}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher{padding-inline:1px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-menu{gap:0}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-switcher-item{flex:0 0 92px;width:92px;min-width:92px;padding-inline:1px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-name{padding-inline:0}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-title{font-size:11px;line-height:24px}.platform-screen.is-yak-industry-chain .industry-bottom-switcher .topic-name small{display:none}.platform-screen.is-yak-industry-chain .industry-side-panel--left,.platform-screen.is-yak-industry-chain .industry-side-panel--right{perspective:none}.platform-screen.is-yak-industry-chain .industry-side-stack{transform-style:flat}.platform-screen.is-yak-industry-chain .industry-side-stack.is-left,.platform-screen.is-yak-industry-chain .industry-side-stack.is-right{transform:none;transform-origin:center}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .m-card-hd-title,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .m-card-hd-title{left:18px;color:var(--v22-text);font-size:16px;font-weight:650;line-height:24px;letter-spacing:.5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .m-card-bd:before,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .m-card-bd:before{border-color:var(--v22-border);background:radial-gradient(circle at 18% 0%,rgba(74,210,233,.12),transparent 40%),linear-gradient(160deg,rgba(6,38,54,.95),rgba(2,20,32,.91))}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metrics,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metrics{gap:8px;padding:8px 12px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip{border:1px solid rgba(91,224,244,.2);border-radius:2px;background:linear-gradient(135deg,rgba(12,66,83,.54),rgba(4,27,41,.7)),rgba(4,28,42,.72);box-shadow:inset 0 1px #ffffff09}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-template-rows:18px 30px;align-content:center;align-items:end;padding:8px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item span{grid-column:1/-1;align-self:center;color:var(--v22-text-secondary)!important;font-size:12px;font-weight:600;line-height:18px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item strong{align-self:end;margin-top:0;color:var(--v22-text)!important;font-size:22px;font-variant-numeric:tabular-nums;line-height:28px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-metric-item em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-metric-item em{align-self:end;margin-left:4px;padding-bottom:4px;color:var(--v22-text-muted)!important;font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip span{color:var(--v22-text-secondary)!important;font-size:12px;font-weight:600}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy strong,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong{color:var(--v22-text)!important;font-variant-numeric:tabular-nums}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-icon-metric-copy strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-icon-metric-copy strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong em{color:var(--v22-text-muted)!important;font-size:10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .industry-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-panel-empty,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .industry-panel-empty{color:var(--v22-text-muted);font-size:13px;font-weight:600}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-support-type .business-structure-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-support-type .business-structure-row{grid-template-columns:9px minmax(0,1fr) 64px 60px;gap:4px;padding-inline:6px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-list.is-compact,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-list.is-compact{gap:1px;padding:2px 12px 4px;overflow:hidden}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-row{grid-template-columns:19px minmax(0,1fr) 126px;gap:6px;height:16px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-rank,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-rank{width:16px;height:14px;font-size:9px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-name,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-name{font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-bar,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-bar{height:3px;margin-top:2px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value{display:flex;align-items:baseline;justify-content:flex-end;gap:2px;white-space:nowrap}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value strong{font-size:12px;line-height:14px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value em,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value em{margin-left:0;font-size:9px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--family-net-fence .business-stat-value span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--family-net-fence .business-stat-value span{display:inline;margin-top:0;overflow:hidden;font-size:9px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight{grid-template-columns:132px minmax(0,1fr);gap:8px;padding:8px 10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main{padding:10px 8px 8px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-main strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-main strong{margin:7px 0 4px;font-size:26px;line-height:29px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-side,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-side{grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip{grid-template-columns:7px minmax(0,1fr);gap:0 6px;padding:4px 8px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip i,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip i{width:6px;height:22px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip small,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip small{font-size:10px;line-height:12px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card .business-spotlight-chip strong,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card .business-spotlight-chip strong{font-size:15px;line-height:17px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid{gap:3px;padding:5px 8px 6px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__row{grid-template-rows:16px 17px;column-gap:6px;padding:2px 6px 2px 5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__index,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__index{width:20px;height:20px;font-size:10px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__name,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__name{font-size:11px;line-height:14px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__count,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__count{min-width:48px;padding-left:7px;font-size:19px;line-height:21px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs{gap:3px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs>span,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-project-area .business-spec-grid__specs>span{gap:2px;padding:1px 3px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-operation .business-bars,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-operation .business-bars{gap:2px;padding:4px 12px 5px}.platform-screen.is-yak-industry-chain .industry-side-panel--left .industry-side-card.industry-side-card--grass-operation .business-bar-row,.platform-screen.is-yak-industry-chain .industry-side-panel--right .industry-side-card.industry-side-card--grass-operation .business-bar-row{min-height:0}.platform-screen.is-yak-industry-chain .top-count-card .title-zh{color:var(--v22-text-secondary)!important;font-size:12px!important;font-weight:600}.platform-screen.is-yak-industry-chain .top-count-card .value{color:var(--v22-text)!important;font-variant-numeric:tabular-nums}.platform-screen.is-yak-industry-chain .top-count-card .unit{color:var(--v22-text-muted)!important;font-size:10px!important}.platform-screen.is-smart-management .wisdom-input-bar{flex-basis:72px;padding:10px 8px 2px}.platform-screen.is-smart-management .wisdom-input-shell{height:54px;gap:8px;padding:6px 7px 6px 14px;border-color:#5be0f480;background:linear-gradient(90deg,rgba(10,54,70,.86),rgba(2,21,34,.96)),rgba(3,24,37,.94)}.platform-screen.is-smart-management .wisdom-input-icon{width:14px;height:14px;margin-right:3px;border-width:1.5px}.platform-screen.is-smart-management .wisdom-input-shell input{height:38px;padding:0 12px;border:1px solid rgba(48,220,255,.58);background:rgba(0,16,27,.44);box-shadow:inset 0 0 14px #30dcff0a;box-sizing:border-box;font-size:14px}.platform-screen.is-smart-management .wisdom-input-shell input:focus{border-color:#7efbf6eb;box-shadow:inset 0 0 16px #30dcff14,0 0 0 1px #7efbf61f}.platform-screen.is-smart-management .wisdom-voice-button,.platform-screen.is-smart-management .wisdom-submit-button{height:38px}.platform-screen.is-smart-management .wisdom-voice-button{width:40px;border-color:#30dcff75}.platform-screen.is-smart-management .wisdom-submit-button{font-size:13px;font-weight:650}.platform-screen.is-smart-management .wisdom-submit-button:disabled,.platform-screen.is-smart-management .wisdom-voice-button:disabled{opacity:.48}.platform-screen{position:fixed!important;left:0;top:0;margin:0}.platform-screen>.large-screen-wrap:after{content:none}.platform-screen.is-forest-grass-wet .large-screen-wrap:after{opacity:.28}.platform-screen.is-forest-grass-wet .large-screen-left-zsline,.platform-screen.is-forest-grass-wet .large-screen-right-zsline{filter:brightness(1.3) drop-shadow(0 0 14px rgba(48,220,255,.32))}.platform-screen.is-home .large-screen-wrap:after{opacity:.34}.platform-screen.is-home .large-screen-left-zsline,.platform-screen.is-home .large-screen-right-zsline{filter:brightness(1.32) drop-shadow(0 0 16px rgba(36,246,196,.28))}.platform-screen.is-ecological-protection .large-screen-wrap:after{opacity:.22}.platform-screen.is-ecology-national-park .top-menu-mid-space{width:920px}.platform-screen.is-grass-livestock-balance .large-screen-wrap:after{opacity:.24}.platform-screen.is-grass-livestock-balance .large-screen-left-zsline,.platform-screen.is-grass-livestock-balance .large-screen-right-zsline{filter:brightness(1.24) drop-shadow(0 0 14px rgba(255,215,108,.18))}.platform-screen.is-yak-management .large-screen-wrap:after{opacity:.24}.platform-screen.is-yak-management .large-screen-left-zsline,.platform-screen.is-yak-management .large-screen-right-zsline{filter:brightness(1.22) drop-shadow(0 0 14px rgba(48,220,255,.26))}.platform-screen.is-pasture-management .large-screen-wrap:after{opacity:.26}.platform-screen.is-pasture-management .large-screen-left-zsline,.platform-screen.is-pasture-management .large-screen-right-zsline{filter:brightness(1.28) drop-shadow(0 0 14px rgba(36,246,196,.28))}.platform-screen.is-yak-industry-chain .large-screen-wrap:after{opacity:.24}.platform-screen.is-yak-industry-chain .large-screen-left-zsline,.platform-screen.is-yak-industry-chain .large-screen-right-zsline{filter:brightness(1.28) drop-shadow(0 0 14px rgba(48,220,255,.24))}.platform-screen.is-smart-management .large-screen-wrap:after{opacity:.2}.platform-screen .platform-module-pane{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.platform-screen .platform-module-pane:has(.home-more-modal),.platform-screen .platform-module-pane:has(.industry-credit-overlay){z-index:120}.platform-screen .platform-map-tools{position:absolute;left:448px;bottom:168px;z-index:80;display:flex;flex-direction:column;gap:7px;pointer-events:all;transform:perspective(var(--screen-side-perspective-left, 500px)) rotateY(6deg);transform-origin:left center}.platform-screen .platform-map-tools button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid rgba(126,251,246,.62);border-radius:3px;color:#f0feff;font-weight:900;background:linear-gradient(180deg,rgba(18,99,123,.92),rgba(4,36,56,.96)),rgba(4,24,37,.9);box-shadow:0 0 14px #30dcff52,0 0 3px #7efbf666,inset 0 0 0 1px #ffffff1a,inset 0 -8px 14px #30dcff29;cursor:pointer}.platform-screen .platform-map-tools button:hover{border-color:#7efbf6c2;color:#fff;background:linear-gradient(180deg,rgba(25,127,148,.96),rgba(6,48,68,.98)),rgba(6,35,52,.92);box-shadow:0 0 18px #30dcff6b,0 0 4px #7efbf680,inset 0 0 0 1px #ffffff1f,inset 0 -8px 14px #30dcff2e}.platform-screen .platform-map-tools button:active{transform:translateY(1px)}.platform-screen:has(.engineering-analysis-panel) .platform-map-tools{left:510px;bottom:168px;transform:none}.platform-screen:has(.home-more-modal) .platform-map-tools{visibility:hidden;opacity:0;pointer-events:none}.platform-screen .platform-map-tool-icon{position:relative;flex:0 0 15px;width:15px;height:15px;color:#7efbf6}.platform-screen .platform-map-tool-icon.is-fullscreen{background:linear-gradient(currentColor,currentColor) left top/5px 2px no-repeat,linear-gradient(currentColor,currentColor) left top/2px 5px no-repeat,linear-gradient(currentColor,currentColor) right top/5px 2px no-repeat,linear-gradient(currentColor,currentColor) right top/2px 5px no-repeat,linear-gradient(currentColor,currentColor) left bottom/5px 2px no-repeat,linear-gradient(currentColor,currentColor) left bottom/2px 5px no-repeat,linear-gradient(currentColor,currentColor) right bottom/5px 2px no-repeat,linear-gradient(currentColor,currentColor) right bottom/2px 5px no-repeat}.platform-screen .platform-map-tool-icon.is-reset{width:15px;height:15px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;box-sizing:border-box}.platform-screen .platform-map-tool-icon.is-reset:after{content:"";position:absolute;left:-2px;top:0;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-right:5px solid currentColor;transform:rotate(-18deg)}.platform-screen .top-menu{position:absolute;left:50%;top:46px;z-index:10;transform:translate(-50%)}.platform-screen .top-menu .m-menu{justify-content:center;align-items:center}.platform-screen .top-menu .m-menu-item{min-width:118px;height:34px;padding:0 18px;font-size:14px;line-height:34px;letter-spacing:0}.platform-screen .top-menu .m-menu-item.is-active:after{width:calc(100% - 12px);height:28px;margin-left:calc(-50% + 6px);margin-top:-14px;border-radius:28px;transform:none;animation:platformMenuActivePulse 1.35s ease-in-out infinite}.platform-screen .top-menu .top-menu-mid-space{width:820px;height:1px;pointer-events:none}.platform-screen .m-header-right{top:5px;right:14px;z-index:30}.platform-screen .m-header-tools{display:flex;align-items:center;gap:8px;min-height:42px;pointer-events:auto}.platform-screen .platform-weather{position:relative;display:flex;align-items:center;gap:8px;height:40px;min-width:184px;padding:0 12px 0 4px;color:#e5faffe6;white-space:nowrap}.platform-screen .platform-weather:after{content:"";position:absolute;left:4px;right:12px;bottom:0;height:1px;background:linear-gradient(90deg,rgba(48,220,255,.72),rgba(48,220,255,0));opacity:.54}.platform-screen .platform-weather.is-unavailable{min-width:150px;color:#c4f3fe94}.platform-screen .platform-weather__icon{width:34px;height:34px;flex:none;object-fit:contain;filter:drop-shadow(0 0 8px rgba(48,220,255,.26))}.platform-screen .platform-weather__fallback-icon{position:relative;width:30px;height:24px;flex:none}.platform-screen .platform-weather__fallback-icon:before{content:"";position:absolute;left:2px;bottom:2px;width:24px;height:10px;border:1px solid rgba(92,232,255,.72);border-radius:8px;box-shadow:0 0 8px #30dcff2e}.platform-screen .platform-weather__fallback-icon:after{content:"";position:absolute;left:8px;top:2px;width:11px;height:11px;border:1px solid rgba(92,232,255,.72);border-radius:50%;background:rgba(8,42,58,.9)}.platform-screen .platform-weather__copy{display:grid;align-content:center;gap:1px;min-width:0}.platform-screen .platform-weather__primary{display:inline-flex;align-items:center;gap:8px}.platform-screen .platform-weather__primary strong{color:#f2fdff;font-size:13px;font-weight:700;line-height:17px}.platform-screen .platform-weather__primary em{color:#69eff2;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:19px;font-style:normal;font-weight:800;line-height:19px}.platform-screen .platform-weather__copy small{display:flex;align-items:center;gap:6px;color:#c4f3fe9e;font-size:10px;font-weight:400;line-height:13px}.platform-screen .platform-weather__copy small i{width:2px;height:2px;border-radius:50%;background:rgba(92,232,255,.6);box-shadow:0 0 4px #30dcff66}.platform-screen .platform-datetime{position:relative;display:grid;justify-items:end;align-content:center;gap:0;width:112px;height:40px;padding:0 10px 0 13px;white-space:nowrap}.platform-screen .platform-datetime:before{content:"";position:absolute;left:0;top:9px;width:1px;height:22px;background:linear-gradient(180deg,transparent,rgba(92,232,255,.52),transparent)}.platform-screen .platform-datetime span{color:#c4f3fea3;font-size:10px;line-height:13px}.platform-screen .platform-datetime strong{color:#ecfcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:19px;font-weight:800;line-height:21px;text-align:right;text-shadow:0 0 8px rgba(48,220,255,.18)}.platform-screen .logout-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(92,232,255,.72);border-radius:2px;background:linear-gradient(180deg,rgba(28,126,166,.62),rgba(3,32,55,.86)),rgba(2,18,34,.72);box-shadow:inset 0 0 13px #30dcff2e,0 0 12px #30dcff33;color:#e7fbff;cursor:pointer;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.platform-screen .logout-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.platform-screen .logout-button:hover{border-color:#30dcffc7;box-shadow:inset 0 0 14px #30dcff29,0 0 14px #30dcff38;color:#fff;transform:translateY(-1px)}.platform-screen .top-count-card{left:432px;right:432px;top:108px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;justify-content:stretch}.platform-screen .top-count-card>div{min-width:0;padding:0!important;justify-content:center}.platform-screen .top-count-card .count-card{min-width:0;min-height:90px}.platform-screen .top-count-card .count-card:before{content:none}.platform-screen .top-count-card .count-card-title,.platform-screen .top-count-card .count-card-left,.platform-screen .top-count-card .count-card-right{min-width:0}.platform-screen .top-count-card .count-card-icon{width:76px;height:90px;flex-basis:76px;margin-right:2px}.platform-screen .top-count-card .count-card-right{padding-left:10px}.platform-screen .top-count-card .count-card-right .value{min-height:34px;margin-right:6px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px;letter-spacing:0}.platform-screen .top-count-card .count-card-right .unit{padding-top:10px;font-size:var(--screen-kpi-unit-size, 11px);line-height:1}.platform-screen .top-count-card .count-card-title .title-zh{font-size:var(--screen-kpi-label-size, 14px);line-height:18px}.platform-screen .top-count-card .count-card-title .title-en{max-width:112px;overflow:hidden;text-overflow:ellipsis}.platform-screen .top-count-card.is-four{left:432px;right:432px;top:102px;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px}.platform-screen .top-count-card.is-four .count-card-icon{width:58px;height:78px;flex-basis:58px;margin-right:0}.platform-screen .top-count-card.is-four .count-card-right{padding-left:4px}.platform-screen .top-count-card.is-four .count-card-right .value{min-height:34px;font-size:var(--screen-kpi-four-value-size, 29px);line-height:34px;margin-right:4px}.platform-screen .top-count-card.is-four .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-four-unit-size, 10px)}.platform-screen .top-count-card.is-four .count-card-title .title-zh{font-size:var(--screen-kpi-four-label-size, 13px);line-height:17px;white-space:nowrap}.platform-screen .top-count-card.is-four .count-card-title .title-en{max-width:90px;font-size:10px}.platform-screen .top-count-card.is-multi{left:432px;right:432px;top:102px;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:72px;column-gap:10px;row-gap:8px;z-index:8}.platform-screen .top-count-card.is-multi>div{justify-content:center}.platform-screen .top-count-card.is-multi .count-card{min-height:72px}.platform-screen .top-count-card.is-multi .count-card-left{flex:0 0 auto}.platform-screen .top-count-card.is-multi .count-card-icon{display:block;width:64px;height:72px;flex-basis:64px;margin-right:0}.platform-screen .top-count-card.is-multi .count-card-right{flex:0 0 auto;padding-left:4px}.platform-screen .top-count-card.is-multi .count-card-right .value{min-height:34px;margin-right:4px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px}.platform-screen .top-count-card.is-multi .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-unit-size, 11px);opacity:.72}.platform-screen .top-count-card.is-multi .count-card-title .title-zh{max-width:none;font-size:var(--screen-kpi-label-size, 14px);line-height:1.18;white-space:nowrap}.platform-screen .top-count-card.is-multi .count-card-title .title-en{display:none}.platform-screen .top-count-card.is-multi>div:nth-child(6){grid-column:2}.platform-screen .top-count-card.is-multi>div:nth-child(7){grid-column:3}.platform-screen .top-count-card.is-multi>div:nth-child(8){grid-column:4}.platform-screen .top-count-card.is-count-five>div{justify-content:center}.platform-screen .top-count-card.is-home-five{left:432px;right:432px;top:102px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:auto;column-gap:12px;row-gap:0;justify-content:stretch;align-items:center;z-index:9}.platform-screen .top-count-card.is-home-five>div{width:100%;min-width:0;justify-content:center}.platform-screen .top-count-card.is-home-five .count-card{min-height:76px}.platform-screen .top-count-card.is-home-five .count-card-left{flex:0 0 auto}.platform-screen .top-count-card.is-home-five .count-card-icon{width:72px;height:80px;flex-basis:72px;margin-right:4px}.platform-screen .top-count-card.is-home-five .count-card-right{flex:0 0 auto;padding-left:6px}.platform-screen .top-count-card.is-home-five .count-card-right .value{min-height:34px;font-size:var(--screen-kpi-value-size, 31px);line-height:34px}.platform-screen .top-count-card.is-home-five .count-card-right .unit{padding-top:9px;font-size:var(--screen-kpi-unit-size, 11px)}.platform-screen .top-count-card.is-home-five .count-card-title .title-zh{max-width:none;font-size:var(--screen-kpi-label-size, 14px);line-height:18px;white-space:nowrap}.platform-screen .top-count-card.is-home-five .count-card-title .title-en{display:none}.platform-screen.is-home .top-count-card.is-home-five{left:432px;right:432px;top:82px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;justify-items:start;align-items:center}.platform-screen.is-home .top-count-card.is-home-five>div{width:100%;min-width:0;justify-content:flex-start}.platform-screen.is-home .top-count-card.is-home-five .count-card{width:100%;min-height:74px;justify-content:flex-start}.platform-screen.is-home .top-count-card.is-home-five .count-card-icon{width:58px;height:72px;flex-basis:58px;margin-right:2px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right{padding-left:3px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .value{font-size:28px;line-height:31px}.platform-screen.is-home .top-count-card.is-home-five .count-card-right .unit{padding-top:8px;font-size:10px}.platform-screen.is-home .top-count-card.is-home-five .count-card-title .title-zh{font-size:13px;line-height:17px}.platform-screen.is-ecology-national-park .top-count-card.is-home-five{left:432px;right:432px;top:96px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:12px;justify-content:stretch}.platform-screen.is-ecology-national-park .top-count-card.is-home-five>div{min-width:0;zoom:.88}.platform-screen .bottom-menu-item{width:96px!important;margin:0 2px}.platform-screen .bottom-menu-item span{width:96px!important;font-size:13px}.platform-screen .bottom-svg-line-left,.platform-screen .bottom-svg-line-right{position:absolute;right:50%;bottom:-21px;width:721px;height:57px;margin-right:-5px}.platform-screen .bottom-svg-line-right{left:50%;right:inherit;margin-left:-5px;margin-right:inherit;transform:scaleX(-1)}.platform-screen .module-coming{position:absolute;left:50%;top:50%;z-index:12;width:360px;height:130px;padding-top:28px;border:1px solid rgba(48,220,255,.28);background:rgba(3,18,30,.72);color:#fff;text-align:center;transform:translate(-50%,-50%);pointer-events:none;box-sizing:border-box}.platform-screen .module-coming-title{font-size:24px;font-weight:700}.platform-screen .module-coming-text{margin-top:12px;color:#ffffff9e;font-size:14px}.platform-screen .platform-loading{position:absolute;z-index:99}.platform-screen .platform-loading .loading-text{gap:10px;letter-spacing:0}@keyframes platformMenuActivePulse{0%{opacity:.68;box-shadow:0 0 #0af0}58%{opacity:.38;box-shadow:0 0 14px #30dcff5c}to{opacity:0;box-shadow:0 0 22px #30dcff1f}} diff --git a/docs/assets/index-7ace4f0d-1786725044461.js b/docs/assets/index-7fb92827-1786807848259.js similarity index 96% rename from docs/assets/index-7ace4f0d-1786725044461.js rename to docs/assets/index-7fb92827-1786807848259.js index b97da1a..6ef5b4e 100644 --- a/docs/assets/index-7ace4f0d-1786725044461.js +++ b/docs/assets/index-7fb92827-1786807848259.js @@ -1 +1 @@ -var y=(h,m,i)=>new Promise((d,r)=>{var l=t=>{try{o(i.next(t))}catch(u){r(u)}},v=t=>{try{o(i.throw(t))}catch(u){r(u)}},o=t=>t.done?d(t.value):Promise.resolve(t.value).then(l,v);o((i=i.apply(h,m)).next())});import{l as B,m as M,g as L,q,G as A,o as f,c as g,a,B as w,f as D,s as x,H as I,I as N,t as _,j as b,u as R,d as n,J as U}from"./index-1786725044461.js";import{_ as $}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const E={class:"login-screen"},K={class:"login-shell"},T={class:"login-field"},j=["disabled"],F={class:"login-field login-password-field"},G={class:"login-password-control"},H=["disabled","type"],J=["aria-label","aria-pressed"],O={key:0,class:"login-field-assist","aria-live":"polite"},P={key:1,class:"login-error",role:"alert"},W={key:2,class:"login-error",role:"status"},z=["disabled"],Q={__name:"index",setup(h){const m=B(),i=M(),d=n(""),r=n(""),l=n(!1),v=n(!1),o=n(!1),t=n(""),u=n(!1),c=n(!1),C=L(()=>{const s=typeof m.query.redirect=="string"?decodeURIComponent(m.query.redirect):"/platform";return s.startsWith("/login")?"/platform":s||"/platform"});function S(){return y(this,null,function*(){if(t.value="",!d.value||!r.value){t.value="请输入账号和密码。";return}o.value=!0;try{yield U(d.value,r.value),i.replace(C.value)}catch(s){t.value=V(s)}finally{o.value=!1}})}q(()=>y(this,null,function*(){try{const s=yield A();c.value=s.loginAvailable===!0}catch(s){t.value="认证状态暂时无法确认,请稍后重试。"}finally{u.value=!0}}));function k(s){var e;v.value=!!((e=s==null?void 0:s.getModifierState)!=null&&e.call(s,"CapsLock"))}function V(s){const e=String((s==null?void 0:s.message)||"").trim();return/401|403|账号|密码|unauthor/i.test(e)?"账号或密码不正确,请核对后重试。":/network|fetch|timeout|连接|服务|502|503|504/i.test(e)?"登录服务暂时无法连接,请稍后重试。":"暂时无法登录,请稍后重试。"}return(s,e)=>(f(),g("div",E,[a("div",K,[e[9]||(e[9]=a("section",{class:"login-brand","aria-label":"红原县数字畜牧业监管平台"},[a("div",{class:"login-brand-rule","aria-hidden":"true"},[a("i"),a("span"),a("i")]),a("h1",null,[w("红原县数字畜牧业"),a("br"),w("监管平台")]),a("div",{class:"login-brand-glow","aria-hidden":"true"})],-1)),a("form",{class:"login-panel","aria-label":"平台用户登录",onSubmit:D(S,["prevent"])},[e[8]||(e[8]=a("header",{class:"login-panel-head"},[a("div",{class:"login-panel-title"},"用户登录"),a("span",{"aria-hidden":"true"})],-1)),a("label",T,[e[5]||(e[5]=a("span",null,"账号",-1)),x(a("input",{"onUpdate:modelValue":e[0]||(e[0]=p=>d.value=p),disabled:!c.value,autocomplete:"username",autofocus:"",placeholder:"请输入平台账号"},null,8,j),[[I,d.value,void 0,{trim:!0}]])]),a("label",F,[e[6]||(e[6]=a("span",null,"密码",-1)),a("span",G,[x(a("input",{"onUpdate:modelValue":e[1]||(e[1]=p=>r.value=p),disabled:!c.value,autocomplete:"current-password",placeholder:"请输入密码",type:l.value?"text":"password",onKeydown:k,onKeyup:k,onBlur:e[2]||(e[2]=p=>v.value=!1)},null,40,H),[[N,r.value]]),a("button",{class:"login-password-toggle",type:"button","aria-label":l.value?"隐藏密码":"显示密码","aria-pressed":l.value,onClick:e[3]||(e[3]=p=>l.value=!l.value)},_(l.value?"隐藏":"显示"),9,J)])]),v.value?(f(),g("div",O,[...e[7]||(e[7]=[a("span",{class:"login-caps-lock"},"大写锁定已开启",-1)])])):b("",!0),t.value?(f(),g("div",P,_(t.value),1)):b("",!0),u.value&&!c.value?(f(),g("div",W," V3 认证数据尚未初始化,当前仅可使用本机迁移检查入口。 ")):b("",!0),a("button",{class:"login-submit",disabled:o.value||!c.value,type:"submit"},_(o.value?"登录中":"登录"),9,z),u.value&&!c.value?(f(),g("button",{key:3,class:"login-secondary",type:"button",onClick:e[4]||(e[4]=p=>R(i).replace("/v3-isolation"))}," 返回隔离检查 ")):b("",!0)],32)])]))}},ee=$(Q,[["__scopeId","data-v-629c854a"]]);export{ee as default}; +var y=(h,m,i)=>new Promise((d,r)=>{var l=t=>{try{o(i.next(t))}catch(u){r(u)}},v=t=>{try{o(i.throw(t))}catch(u){r(u)}},o=t=>t.done?d(t.value):Promise.resolve(t.value).then(l,v);o((i=i.apply(h,m)).next())});import{l as B,m as M,g as L,q,G as A,o as f,c as g,a,B as w,f as D,s as x,H as I,I as N,t as _,j as b,u as R,d as n,J as U}from"./index-1786807848259.js";import{_ as $}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const E={class:"login-screen"},K={class:"login-shell"},T={class:"login-field"},j=["disabled"],F={class:"login-field login-password-field"},G={class:"login-password-control"},H=["disabled","type"],J=["aria-label","aria-pressed"],O={key:0,class:"login-field-assist","aria-live":"polite"},P={key:1,class:"login-error",role:"alert"},W={key:2,class:"login-error",role:"status"},z=["disabled"],Q={__name:"index",setup(h){const m=B(),i=M(),d=n(""),r=n(""),l=n(!1),v=n(!1),o=n(!1),t=n(""),u=n(!1),c=n(!1),C=L(()=>{const s=typeof m.query.redirect=="string"?decodeURIComponent(m.query.redirect):"/platform";return s.startsWith("/login")?"/platform":s||"/platform"});function S(){return y(this,null,function*(){if(t.value="",!d.value||!r.value){t.value="请输入账号和密码。";return}o.value=!0;try{yield U(d.value,r.value),i.replace(C.value)}catch(s){t.value=V(s)}finally{o.value=!1}})}q(()=>y(this,null,function*(){try{const s=yield A();c.value=s.loginAvailable===!0}catch(s){t.value="认证状态暂时无法确认,请稍后重试。"}finally{u.value=!0}}));function k(s){var e;v.value=!!((e=s==null?void 0:s.getModifierState)!=null&&e.call(s,"CapsLock"))}function V(s){const e=String((s==null?void 0:s.message)||"").trim();return/401|403|账号|密码|unauthor/i.test(e)?"账号或密码不正确,请核对后重试。":/network|fetch|timeout|连接|服务|502|503|504/i.test(e)?"登录服务暂时无法连接,请稍后重试。":"暂时无法登录,请稍后重试。"}return(s,e)=>(f(),g("div",E,[a("div",K,[e[9]||(e[9]=a("section",{class:"login-brand","aria-label":"红原县数字畜牧业监管平台"},[a("div",{class:"login-brand-rule","aria-hidden":"true"},[a("i"),a("span"),a("i")]),a("h1",null,[w("红原县数字畜牧业"),a("br"),w("监管平台")]),a("div",{class:"login-brand-glow","aria-hidden":"true"})],-1)),a("form",{class:"login-panel","aria-label":"平台用户登录",onSubmit:D(S,["prevent"])},[e[8]||(e[8]=a("header",{class:"login-panel-head"},[a("div",{class:"login-panel-title"},"用户登录"),a("span",{"aria-hidden":"true"})],-1)),a("label",T,[e[5]||(e[5]=a("span",null,"账号",-1)),x(a("input",{"onUpdate:modelValue":e[0]||(e[0]=p=>d.value=p),disabled:!c.value,autocomplete:"username",autofocus:"",placeholder:"请输入平台账号"},null,8,j),[[I,d.value,void 0,{trim:!0}]])]),a("label",F,[e[6]||(e[6]=a("span",null,"密码",-1)),a("span",G,[x(a("input",{"onUpdate:modelValue":e[1]||(e[1]=p=>r.value=p),disabled:!c.value,autocomplete:"current-password",placeholder:"请输入密码",type:l.value?"text":"password",onKeydown:k,onKeyup:k,onBlur:e[2]||(e[2]=p=>v.value=!1)},null,40,H),[[N,r.value]]),a("button",{class:"login-password-toggle",type:"button","aria-label":l.value?"隐藏密码":"显示密码","aria-pressed":l.value,onClick:e[3]||(e[3]=p=>l.value=!l.value)},_(l.value?"隐藏":"显示"),9,J)])]),v.value?(f(),g("div",O,[...e[7]||(e[7]=[a("span",{class:"login-caps-lock"},"大写锁定已开启",-1)])])):b("",!0),t.value?(f(),g("div",P,_(t.value),1)):b("",!0),u.value&&!c.value?(f(),g("div",W," V3 认证数据尚未初始化,当前仅可使用本机迁移检查入口。 ")):b("",!0),a("button",{class:"login-submit",disabled:o.value||!c.value,type:"submit"},_(o.value?"登录中":"登录"),9,z),u.value&&!c.value?(f(),g("button",{key:3,class:"login-secondary",type:"button",onClick:e[4]||(e[4]=p=>R(i).replace("/v3-isolation"))}," 返回隔离检查 ")):b("",!0)],32)])]))}},ee=$(Q,[["__scopeId","data-v-629c854a"]]);export{ee as default}; diff --git a/docs/assets/index-151544a4-1786725044461.js b/docs/assets/index-80cb981f-1786807848259.js similarity index 99% rename from docs/assets/index-151544a4-1786725044461.js rename to docs/assets/index-80cb981f-1786807848259.js index ecd4cf4..fdd0cc0 100644 --- a/docs/assets/index-151544a4-1786725044461.js +++ b/docs/assets/index-80cb981f-1786807848259.js @@ -1,3 +1,3 @@ -var W6=Object.defineProperty,z6=Object.defineProperties;var q6=Object.getOwnPropertyDescriptors;var G1=Object.getOwnPropertySymbols;var j6=Object.prototype.hasOwnProperty,$6=Object.prototype.propertyIsEnumerable;var H1=(h,n,r)=>n in h?W6(h,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):h[n]=r,q=(h,n)=>{for(var r in n||(n={}))j6.call(n,r)&&H1(h,r,n[r]);if(G1)for(var r of G1(n))$6.call(n,r)&&H1(h,r,n[r]);return h},o2=(h,n)=>z6(h,q6(n));var m2=(h,n,r)=>new Promise((c,f)=>{var u=C=>{try{g(r.next(C))}catch(F){f(F)}},m=C=>{try{g(r.throw(C))}catch(F){f(F)}},g=C=>C.done?c(C.value):Promise.resolve(C.value).then(u,m);g((r=r.apply(h,n)).next())});import{_ as V6}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{g as U6,q as Y6,h as K6,w as s3,A as W1,o as Z6,c as J6,a as X6,d as z1,a2 as Q6}from"./index-1786725044461.js";class F2{constructor(n,r){this.next=null,this.key=n,this.data=r,this.left=null,this.right=null}}function e9(h,n){return h>n?1:h0){if(n.right===null)break;if(r(h,n.right.key)>0){const g=n.right;if(n.right=g.left,g.left=n,n=g,n.right===null)break}f.right=n,f=n,n=n.right}else break}return f.right=n.left,u.left=n.right,n.left=c.right,n.right=c.left,n}function L3(h,n,r,c){const f=new F2(h,n);if(r===null)return f.left=f.right=null,f;r=C2(h,r,c);const u=c(h,r.key);return u<0?(f.left=r.left,f.right=r,r.left=null):u>=0&&(f.right=r.right,f.left=r,r.right=null),f}function q1(h,n,r){let c=null,f=null;if(n){n=C2(h,n,r);const u=r(n.key,h);u===0?(c=n.left,f=n.right):u<0?(f=n.right,n.right=null,c=n):(c=n.left,n.left=null,f=n)}return{left:c,right:f}}function t9(h,n,r){return n===null?h:(h===null||(n=C2(h.key,n,r),n.left=h),n)}function R3(h,n,r,c,f){if(h){c(`${n}${r?"└── ":"├── "}${f(h)} +var W6=Object.defineProperty,z6=Object.defineProperties;var q6=Object.getOwnPropertyDescriptors;var G1=Object.getOwnPropertySymbols;var j6=Object.prototype.hasOwnProperty,$6=Object.prototype.propertyIsEnumerable;var H1=(h,n,r)=>n in h?W6(h,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):h[n]=r,q=(h,n)=>{for(var r in n||(n={}))j6.call(n,r)&&H1(h,r,n[r]);if(G1)for(var r of G1(n))$6.call(n,r)&&H1(h,r,n[r]);return h},o2=(h,n)=>z6(h,q6(n));var m2=(h,n,r)=>new Promise((c,f)=>{var u=C=>{try{g(r.next(C))}catch(F){f(F)}},m=C=>{try{g(r.throw(C))}catch(F){f(F)}},g=C=>C.done?c(C.value):Promise.resolve(C.value).then(u,m);g((r=r.apply(h,n)).next())});import{_ as V6}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{g as U6,q as Y6,h as K6,w as s3,A as W1,o as Z6,c as J6,a as X6,d as z1,a7 as Q6}from"./index-1786807848259.js";class F2{constructor(n,r){this.next=null,this.key=n,this.data=r,this.left=null,this.right=null}}function e9(h,n){return h>n?1:h0){if(n.right===null)break;if(r(h,n.right.key)>0){const g=n.right;if(n.right=g.left,g.left=n,n=g,n.right===null)break}f.right=n,f=n,n=n.right}else break}return f.right=n.left,u.left=n.right,n.left=c.right,n.right=c.left,n}function L3(h,n,r,c){const f=new F2(h,n);if(r===null)return f.left=f.right=null,f;r=C2(h,r,c);const u=c(h,r.key);return u<0?(f.left=r.left,f.right=r,r.left=null):u>=0&&(f.right=r.right,f.left=r,r.right=null),f}function q1(h,n,r){let c=null,f=null;if(n){n=C2(h,n,r);const u=r(n.key,h);u===0?(c=n.left,f=n.right):u<0?(f=n.right,n.right=null,c=n):(c=n.left,n.left=null,f=n)}return{left:c,right:f}}function t9(h,n,r){return n===null?h:(h===null||(n=C2(h.key,n,r),n.left=h),n)}function R3(h,n,r,c,f){if(h){c(`${n}${r?"└── ":"├── "}${f(h)} `);const u=n+(r?" ":"│ ");h.left&&R3(h.left,u,!1,c,f),h.right&&R3(h.right,u,!0,c,f)}}class W3{constructor(n=e9){this._root=null,this._size=0,this._comparator=n}insert(n,r){return this._size++,this._root=L3(n,r,this._root,this._comparator)}add(n,r){const c=new F2(n,r);this._root===null&&(c.left=c.right=null,this._size++,this._root=c);const f=this._comparator,u=C2(n,this._root,f),m=f(n,u.key);return m===0?this._root=u:(m<0?(c.left=u.left,c.right=u,u.left=null):m>0&&(c.right=u.right,c.left=u,u.right=null),this._size++,this._root=c),this._root}remove(n){this._root=this._remove(n,this._root,this._comparator)}_remove(n,r,c){let f;return r===null?null:(r=C2(n,r,c),c(n,r.key)===0?(r.left===null?f=r.right:(f=C2(n,r.left,c),f.right=r.right),this._size--,f):r)}pop(){let n=this._root;if(n){for(;n.left;)n=n.left;return this._root=C2(n.key,this._root,this._comparator),this._root=this._remove(n.key,this._root,this._comparator),{key:n.key,data:n.data}}return null}findStatic(n){let r=this._root;const c=this._comparator;for(;r;){const f=c(n,r.key);if(f===0)return r;f<0?r=r.left:r=r.right}return null}find(n){return this._root&&(this._root=C2(n,this._root,this._comparator),this._comparator(n,this._root.key)!==0)?null:this._root}contains(n){let r=this._root;const c=this._comparator;for(;r;){const f=c(n,r.key);if(f===0)return!0;f<0?r=r.left:r=r.right}return!1}forEach(n,r){let c=this._root;const f=[];let u=!1;for(;!u;)c!==null?(f.push(c),c=c.left):f.length!==0?(c=f.pop(),n.call(r,c),c=c.right):u=!0;return this}range(n,r,c,f){const u=[],m=this._comparator;let g=this._root,C;for(;u.length!==0||g;)if(g)u.push(g),g=g.left;else{if(g=u.pop(),C=m(g.key,r),C>0)break;if(m(g.key,n)>=0&&c.call(f,g))return this;g=g.right}return this}keys(){const n=[];return this.forEach(({key:r})=>{n.push(r)}),n}values(){const n=[];return this.forEach(({data:r})=>{n.push(r)}),n}min(){return this._root?this.minNode(this._root).key:null}max(){return this._root?this.maxNode(this._root).key:null}minNode(n=this._root){if(n)for(;n.left;)n=n.left;return n}maxNode(n=this._root){if(n)for(;n.right;)n=n.right;return n}at(n){let r=this._root,c=!1,f=0;const u=[];for(;!c;)if(r)u.push(r),r=r.left;else if(u.length>0){if(r=u.pop(),f===n)return r;f++,r=r.right}else c=!0;return null}next(n){let r=this._root,c=null;if(n.right){for(c=n.right;c.left;)c=c.left;return c}const f=this._comparator;for(;r;){const u=f(n.key,r.key);if(u===0)break;u<0?(c=r,r=r.left):r=r.right}return c}prev(n){let r=this._root,c=null;if(n.left!==null){for(c=n.left;c.right;)c=c.right;return c}const f=this._comparator;for(;r;){const u=f(n.key,r.key);if(u===0)break;u<0?r=r.left:(c=r,r=r.right)}return c}clear(){return this._root=null,this._size=0,this}toList(){return r9(this._root)}load(n,r=[],c=!1){let f=n.length;const u=this._comparator;if(c&&O3(n,r,0,f-1,u),this._root===null)this._root=B3(n,r,0,f),this._size=f;else{const m=i9(this.toList(),n9(n,r),u);f=this._size+f,this._root=D3({head:m},0,f)}return this}isEmpty(){return this._root===null}get size(){return this._size}get root(){return this._root}toString(n=r=>String(r.key)){const r=[];return R3(this._root,"",!0,c=>r.push(c),n),r.join("")}update(n,r,c){const f=this._comparator;let{left:u,right:m}=q1(n,this._root,f);f(n,r)<0?m=L3(r,c,m,f):u=L3(r,c,u,f),this._root=t9(u,m,f)}split(n){return q1(n,this._root,this._comparator)}*[Symbol.iterator](){let n=this._root;const r=[];let c=!1;for(;!c;)n!==null?(r.push(n),n=n.left):r.length!==0?(n=r.pop(),yield n,n=n.right):c=!0}}function B3(h,n,r,c){const f=c-r;if(f>0){const u=r+Math.floor(f/2),m=h[u],g=n[u],C=new F2(m,g);return C.left=B3(h,n,r,u),C.right=B3(h,n,u+1,c),C}return null}function n9(h,n){const r=new F2(null,null);let c=r;for(let f=0;f0?(n=u=u.next=r.pop(),n=n.right):c=!0;return u.next=null,f.next}function D3(h,n,r){const c=r-n;if(c>0){const f=n+Math.floor(c/2),u=D3(h,n,f),m=h.head;return m.left=u,h.head=h.head.next,m.right=D3(h,f+1,r),m}return null}function i9(h,n,r){const c=new F2(null,null);let f=c,u=h,m=n;for(;u!==null&&m!==null;)r(u.key,m.key)<0?(f.next=u,u=u.next):(f.next=m,m=m.next),f=f.next;return u!==null?f.next=u:m!==null&&(f.next=m),c.next}function O3(h,n,r,c,f){if(r>=c)return;const u=h[r+c>>1];let m=r-1,g=c+1;for(;;){do m++;while(f(h[m],u)<0);do g--;while(f(h[g],u)>0);if(m>=g)break;let C=h[m];h[m]=h[g],h[g]=C,C=n[m],n[m]=n[g],n[g]=C}O3(h,n,r,g,f),O3(h,n,g+1,c,f)}const d2=11102230246251565e-32,Q=134217729,o9=(3+8*d2)*d2;function M3(h,n,r,c,f){let u,m,g,C,F=n[0],T=c[0],s=0,w=0;T>F==T>-F?(u=F,F=n[++s]):(u=T,T=c[++w]);let _=0;if(sF==T>-F?(m=F+u,g=u-(m-F),F=n[++s]):(m=T+u,g=u-(m-T),T=c[++w]),u=m,g!==0&&(f[_++]=g);sF==T>-F?(m=u+F,C=m-u,g=u-(m-C)+(F-C),F=n[++s]):(m=u+T,C=m-u,g=u-(m-C)+(T-C),T=c[++w]),u=m,g!==0&&(f[_++]=g);for(;s=a2||-Y>=a2||(s=h-Z,g=h-(Z+s)+(s-f),s=r-$,F=r-($+s)+(s-f),s=n-J,C=n-(J+s)+(s-u),s=c-W,T=c-(W+s)+(s-u),g===0&&C===0&&F===0&&T===0)||(a2=c9*m+o9*Math.abs(Y),Y+=Z*T+W*g-(J*F+$*C),Y>=a2||-Y>=a2))return Y;L=g*W,w=Q*g,_=w-(w-g),x=g-_,w=Q*W,k=w-(w-W),I=W-k,A=x*I-(L-_*k-x*k-_*I),R=C*$,w=Q*C,_=w-(w-C),x=C-_,w=Q*$,k=w-(w-$),I=$-k,U=x*I-(R-_*k-x*k-_*I),v=A-U,s=A-v,n2[0]=A-(v+s)+(s-U),P=L+v,s=P-L,B=L-(P-s)+(v-s),v=B-R,s=B-v,n2[1]=B-(v+s)+(s-R),G=P+v,s=G-P,n2[2]=P-(G-s)+(v-s),n2[3]=G;const _2=M3(4,P2,4,n2,j1);L=Z*T,w=Q*Z,_=w-(w-Z),x=Z-_,w=Q*T,k=w-(w-T),I=T-k,A=x*I-(L-_*k-x*k-_*I),R=J*F,w=Q*J,_=w-(w-J),x=J-_,w=Q*F,k=w-(w-F),I=F-k,U=x*I-(R-_*k-x*k-_*I),v=A-U,s=A-v,n2[0]=A-(v+s)+(s-U),P=L+v,s=P-L,B=L-(P-s)+(v-s),v=B-R,s=B-v,n2[1]=B-(v+s)+(s-R),G=P+v,s=G-P,n2[2]=P-(G-s)+(v-s),n2[3]=G;const S2=M3(_2,j1,4,n2,$1);L=g*T,w=Q*g,_=w-(w-g),x=g-_,w=Q*T,k=w-(w-T),I=T-k,A=x*I-(L-_*k-x*k-_*I),R=C*F,w=Q*C,_=w-(w-C),x=C-_,w=Q*F,k=w-(w-F),I=F-k,U=x*I-(R-_*k-x*k-_*I),v=A-U,s=A-v,n2[0]=A-(v+s)+(s-U),P=L+v,s=P-L,B=L-(P-s)+(v-s),v=B-R,s=B-v,n2[1]=B-(v+s)+(s-R),G=P+v,s=G-P,n2[2]=P-(G-s)+(v-s),n2[3]=G;const g2=M3(S2,$1,4,n2,V1);return V1[g2-1]}function f9(h,n,r,c,f,u){const m=(n-u)*(r-f),g=(h-f)*(c-u),C=m-g,F=Math.abs(m+g);return Math.abs(C)>=l9*F?C:-u9(h,n,r,c,f,u,F)}const H2=(h,n)=>h.ll.x<=n.x&&n.x<=h.ur.x&&h.ll.y<=n.y&&n.y<=h.ur.y,G3=(h,n)=>{if(n.ur.x{if(-b2h.x*n.y-h.y*n.x,c0=(h,n)=>h.x*n.x+h.y*n.y,K1=(h,n,r)=>{const c=f9(h.x,h.y,n.x,n.y,r.x,r.y);return c>0?-1:c<0?1:0},h3=h=>Math.sqrt(c0(h,h)),d9=(h,n,r)=>{const c={x:n.x-h.x,y:n.y-h.y},f={x:r.x-h.x,y:r.y-h.y};return u3(f,c)/h3(f)/h3(c)},g9=(h,n,r)=>{const c={x:n.x-h.x,y:n.y-h.y},f={x:r.x-h.x,y:r.y-h.y};return c0(f,c)/h3(f)/h3(c)},Z1=(h,n,r)=>n.y===0?null:{x:h.x+n.x/n.y*(r-h.y),y:r},J1=(h,n,r)=>n.x===0?null:{x:r,y:h.y+n.y/n.x*(r-h.x)},p9=(h,n,r,c)=>{if(n.x===0)return J1(r,c,h.x);if(c.x===0)return J1(h,n,r.x);if(n.y===0)return Z1(r,c,h.y);if(c.y===0)return Z1(h,n,r.y);const f=u3(n,c);if(f==0)return null;const u={x:r.x-h.x,y:r.y-h.y},m=u3(u,n)/f,g=u3(u,c)/f,C=h.x+g*n.x,F=r.x+m*c.x,T=h.y+g*n.y,s=r.y+m*c.y,w=(C+F)/2,_=(T+s)/2;return{x:w,y:_}};class l2{static compare(n,r){const c=l2.comparePoints(n.point,r.point);return c!==0?c:(n.point!==r.point&&n.link(r),n.isLeft!==r.isLeft?n.isLeft?1:-1:w2.compare(n.segment,r.segment))}static comparePoints(n,r){return n.xr.x?1:n.yr.y?1:0}constructor(n,r){n.events===void 0?n.events=[this]:n.events.push(this),this.point=n,this.isLeft=r}link(n){if(n.point===this.point)throw new Error("Tried to link already linked events");const r=n.point.events;for(let c=0,f=r.length;c{const u=f.otherSE;r.set(f,{sine:d9(this.point,n.point,u.point),cosine:g9(this.point,n.point,u.point)})};return(f,u)=>{r.has(f)||c(f),r.has(u)||c(u);const{sine:m,cosine:g}=r.get(f),{sine:C,cosine:F}=r.get(u);return m>=0&&C>=0?gF?-1:0:m<0&&C<0?gF?1:0:Cm?1:0}}}let y9=0;class w2{static compare(n,r){const c=n.leftSE.point.x,f=r.leftSE.point.x,u=n.rightSE.point.x,m=r.rightSE.point.x;if(mg&&C>F)return-1;const s=n.comparePoint(r.leftSE.point);if(s<0)return 1;if(s>0)return-1;const w=r.comparePoint(n.rightSE.point);return w!==0?w:-1}if(c>f){if(gC&&g>T)return 1;const s=r.comparePoint(n.leftSE.point);if(s!==0)return s;const w=n.comparePoint(r.rightSE.point);return w<0?1:w>0?-1:1}if(gC)return 1;if(um){const s=n.comparePoint(r.rightSE.point);if(s<0)return 1;if(s>0)return-1}if(u!==m){const s=F-g,w=u-c,_=T-C,x=m-f;if(s>w&&_x)return-1}return u>m?1:uT?1:n.idr.id?1:0}constructor(n,r,c,f){this.id=++y9,this.leftSE=n,n.segment=this,n.otherSE=r,this.rightSE=r,r.segment=this,r.otherSE=n,this.rings=c,this.windings=f}static fromRing(n,r,c){let f,u,m;const g=l2.comparePoints(n,r);if(g<0)f=n,u=r,m=1;else if(g>0)f=r,u=n,m=-1;else throw new Error(`Tried to create degenerate segment at [${n.x}, ${n.y}]`);const C=new l2(f,!0),F=new l2(u,!1);return new w2(C,F,[c],[m])}replaceRightSE(n){this.rightSE=n,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){const n=this.leftSE.point.y,r=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:nr?n:r}}}vector(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}isAnEndpoint(n){return n.x===this.leftSE.point.x&&n.y===this.leftSE.point.y||n.x===this.rightSE.point.x&&n.y===this.rightSE.point.y}comparePoint(n){if(this.isAnEndpoint(n))return 0;const r=this.leftSE.point,c=this.rightSE.point,f=this.vector();if(r.x===c.x)return n.x===r.x?0:n.x0&&g.swapEvents(),l2.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),c&&(f.checkForConsuming(),u.checkForConsuming()),r}swapEvents(){const n=this.rightSE;this.rightSE=this.leftSE,this.leftSE=n,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let r=0,c=this.windings.length;r0){const u=r;r=c,c=u}if(r.prev===c){const u=r;r=c,c=u}for(let u=0,m=c.rings.length;uf.length===1&&f[0].isSubject;this._isInResult=c(n)!==c(r);break}default:throw new Error(`Unrecognized operation type found ${f2.type}`)}return this._isInResult}}class X1{constructor(n,r,c){if(!Array.isArray(n)||n.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=r,this.isExterior=c,this.segments=[],typeof n[0][0]!="number"||typeof n[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");const f=z2.round(n[0][0],n[0][1]);this.bbox={ll:{x:f.x,y:f.y},ur:{x:f.x,y:f.y}};let u=f;for(let m=1,g=n.length;mthis.bbox.ur.x&&(this.bbox.ur.x=C.x),C.y>this.bbox.ur.y&&(this.bbox.ur.y=C.y),u=C)}(f.x!==u.x||f.y!==u.y)&&this.segments.push(w2.fromRing(u,f,this))}getSweepEvents(){const n=[];for(let r=0,c=this.segments.length;rthis.bbox.ur.x&&(this.bbox.ur.x=u.bbox.ur.x),u.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=u.bbox.ur.y),this.interiorRings.push(u)}this.multiPoly=r}getSweepEvents(){const n=this.exteriorRing.getSweepEvents();for(let r=0,c=this.interiorRings.length;rthis.bbox.ur.x&&(this.bbox.ur.x=u.bbox.ur.x),u.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=u.bbox.ur.y),this.polys.push(u)}this.isSubject=r}getSweepEvents(){const n=[];for(let r=0,c=this.polys.length;r0&&(n=m)}let r=n.segment.prevInResult(),c=r?r.prevInResult():null;for(;;){if(!r)return null;if(!c)return r.ringOut;if(c.ringOut!==r.ringOut)return c.ringOut.enclosingRing()!==r.ringOut?r.ringOut:r.ringOut.enclosingRing();r=c.prevInResult(),c=r?r.prevInResult():null}}}class e0{constructor(n){this.exteriorRing=n,n.poly=this,this.interiorRings=[]}addInterior(n){this.interiorRings.push(n),n.poly=this}getGeom(){const n=[this.exteriorRing.getGeom()];if(n[0]===null)return null;for(let r=0,c=this.interiorRings.length;r1&&arguments[1]!==void 0?arguments[1]:w2.compare;this.queue=n,this.tree=new W3(r),this.segments=[]}process(n){const r=n.segment,c=[];if(n.consumedBy)return n.isLeft?this.queue.remove(n.otherSE):this.tree.remove(r),c;const f=n.isLeft?this.tree.add(r):this.tree.find(r);if(!f)throw new Error(`Unable to find segment #${r.id} [${r.leftSE.point.x}, ${r.leftSE.point.y}] -> [${r.rightSE.point.x}, ${r.rightSE.point.y}] in SweepLine tree.`);let u=f,m=f,g,C;for(;g===void 0;)u=this.tree.prev(u),u===null?g=null:u.key.consumedBy===void 0&&(g=u.key);for(;C===void 0;)m=this.tree.next(m),m===null?C=null:m.key.consumedBy===void 0&&(C=m.key);if(n.isLeft){let F=null;if(g){const s=g.getIntersection(r);if(s!==null&&(r.isAnEndpoint(s)||(F=s),!g.isAnEndpoint(s))){const w=this._splitSafely(g,s);for(let _=0,x=w.length;_0?(this.tree.remove(r),c.push(n)):(this.segments.push(r),r.prev=g)}else{if(g&&C){const F=g.getIntersection(C);if(F!==null){if(!g.isAnEndpoint(F)){const T=this._splitSafely(g,F);for(let s=0,w=T.length;st0)throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).")}const m=new w9(u);let g=u.size,C=u.pop();for(;C;){const s=C.key;if(u.size===g){const _=s.segment;throw new Error(`Unable to pop() ${s.isLeft?"left":"right"} SweepEvent [${s.point.x}, ${s.point.y}] from segment #${_.id} [${_.leftSE.point.x}, ${_.leftSE.point.y}] -> [${_.rightSE.point.x}, ${_.rightSE.point.y}] from queue.`)}if(u.size>t0)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big).");if(m.segments.length>F9)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");const w=m.process(s);for(let _=0,x=w.length;_1?n-1:0),c=1;c1?n-1:0),c=1;c1?n-1:0),c=1;c1?n-1:0),c=1;co2(q({},h),{key:`grassland-type-${n+1}`,cqlFilter:r2("grass_min_type",h.name),rankingPropertyName:["area_code","acreage"],rankingTownCodeKeys:["area_code"],rankingAreaKeys:["acreage"]})),r0=[{name:">4000(kg/hm2)",fillColor:"#39A700",strokeColor:"#39A700"},{name:"3000-4000(kg/hm2)",fillColor:"#8CCF00",strokeColor:"#8CCF00"},{name:"2000-3000(kg/hm2)",fillColor:"#FEFE02",strokeColor:"#FEFE02"},{name:"1500-2000(kg/hm2)",fillColor:"#FE7E01",strokeColor:"#FE7E01"},{name:"<1500(kg/hm2)",fillColor:"#FB0100",strokeColor:"#FB0100"}].map(h=>o2(q({},h),{selectable:!1})),W2={1:"一级",2:"二级",3:"三级",4:"四级",5:"五级",6:"六级",7:"七级",8:"八级"},u0=[{level:"1",name:"1级草原",fillColor:"#81D10B",strokeColor:"#81D10B"},{level:"2",name:"2级草原",fillColor:"#8AE611",strokeColor:"#8AE611"},{level:"3",name:"3级草原",fillColor:"#79C801",strokeColor:"#79C801"},{level:"4",name:"4级草原",fillColor:"#D0EC03",strokeColor:"#D0EC03"},{level:"5",name:"5级草原",fillColor:"#FFCC00",strokeColor:"#FFCC00"},{level:"6",name:"6级草原",fillColor:"#FF6501",strokeColor:"#FF6501"},{level:"7",name:"7级草原",fillColor:"#FB0002",strokeColor:"#FB0002"},{level:"8",name:"8级草原",fillColor:"#3BA502",strokeColor:"#3BA502"}].map(h=>o2(q({},h),{key:`grassland-level-${h.level}`,cqlFilter:`grassland_level IN ('${h.level}','${h.name}','${W2[h.level]}草原','${W2[h.level]}草地')`,rankingPropertyName:["area_code","acreage"],rankingTownCodeKeys:["area_code"],rankingAreaKeys:["acreage"],level:void 0})),I9=u0.map(h=>{const n=h.key.replace("grassland-level-",""),r=h.name.replace("草原","湿地");return o2(q({},h),{key:`wetland-level-${n}`,name:r,cqlFilter:`grassland_level IN ('${n}','${r}','${h.name}','${W2[n]}湿地','${W2[n]}草原','${W2[n]}草地')`})}),L9=[{key:"basic-grassland-basic",name:"基本草原",fillColor:"#2BD17E",strokeColor:"#2BD17E",cqlFilter:"(grassland_category_code = 'BASIC' OR grassland_category_name = '基本草原')",rankingValueKey:"basicAreaWanMu"},{key:"basic-grassland-general",name:"一般草原",fillColor:"#F6C85F",strokeColor:"#F6C85F",cqlFilter:"(grassland_category_code = 'GENERAL' OR grassland_category_name = '一般草原')",rankingValueKey:"generalAreaWanMu"}],f0=[{key:"overview",name:"资源概览",color:"#30DCFF",defaultLayerKey:"",coreGroups:[]},{key:"grassland",name:"草地资源",color:"#8AE611",defaultLayerKey:"grassland-distribution",coreGroups:["grassLand","grassland"]},{key:"wetland",name:"湿地资源",color:"#33A3DC",defaultLayerKey:"wetland-distribution",coreGroups:["wetland"]},{key:"woodland",name:"林地资源",color:"#2BD17E",defaultLayerKey:"woodland-distribution",coreGroups:["woodland"]}],M9=[{key:"ecological-redline",name:"生态保护红线",color:"#30DCFF",defaultLayerKey:"ecological-redline-boundary"},{key:"natural-protected-area",name:"自然保护地",color:"#19FFC6",defaultLayerKey:"natural-protected-area-boundary"},{key:"national-park",name:"若尔盖国家公园",color:"#46E7FF",defaultLayerKey:"national-park-zoning"},{key:"restoration",name:"生态修复工程",color:"#33A3DC",defaultLayerKey:"restoration-projects"},{key:"engineering-analysis",name:"生态工程分析",color:"#24F6C4",defaultLayerKey:"engineering-suitability"}],A9=[{key:"yak-industry-chain",name:"牦牛全产业链",color:"#24F6C4",defaultLayerKey:"yak-industry-points"}],R9={woodland:[{key:"woodland-distribution",name:"林地分布",layerName:"v3:resource_woodland",sourceType:"wmts",tileMatrixSetID:"EPSG:900913",wmtsZoom:9,bounds:[101.8538,31.8537,103.3452,33.2898],minimumLevel:3,maximumLevel:18,styles:"",opacity:.82,legends:[{key:"woodland-distribution-all",name:"林地分布",fillColor:"#2BD17E",strokeColor:"#2BD17E",selectable:!1}]},{key:"woodland-protection",name:"公益林",layerName:"v3:resource_woodland",styles:"resource_woodland_protection",opacity:.86,legends:[{key:"woodland-protection-level-1",name:"国家一级公益林",fillColor:"#08C4C5",strokeColor:"#08C4C5",cqlFilter:r2("gjgyl_bhdj","1")},{key:"woodland-protection-level-2",name:"国家二级公益林",fillColor:"#2BD17E",strokeColor:"#2BD17E",cqlFilter:r2("gjgyl_bhdj","2")},{key:"woodland-protection-unset",name:"未划定",fillColor:"#6B8191",strokeColor:"#6B8191",cqlFilter:"(gjgyl_bhdj IS NULL OR gjgyl_bhdj = '' OR gjgyl_bhdj NOT IN ('1','2'))"}]},{key:"woodland-type",name:"林地类型",layerName:"v3:resource_woodland",styles:"resource_woodland_type",opacity:.84,legends:[{key:"woodland-type-shrub",name:"灌木林地",fillColor:"#2BD17E",strokeColor:"#2BD17E",cqlFilter:r2("dlmc","灌木林地")},{key:"woodland-type-arbor",name:"乔木林地",fillColor:"#0DA368",strokeColor:"#0DA368",cqlFilter:r2("dlmc","乔木林地")},{key:"woodland-type-swamp",name:"灌丛沼泽",fillColor:"#23C7B7",strokeColor:"#23C7B7",cqlFilter:r2("dlmc","灌丛沼泽")},{key:"woodland-type-other",name:"其他林地",fillColor:"#B7D96B",strokeColor:"#B7D96B",cqlFilter:"(dlmc IS NULL OR dlmc = '' OR dlmc NOT IN ('灌木林地','乔木林地','灌丛沼泽'))"}]},{key:"woodland-quality",name:"林地质量",layerName:"v3:resource_woodland",styles:"resource_woodland_quality",opacity:.84,legends:[{key:"woodland-quality-2",name:"二级质量",fillColor:"#08C4C5",strokeColor:"#08C4C5",cqlFilter:r2("zl_dj","2")},{key:"woodland-quality-3",name:"三级质量",fillColor:"#2BD17E",strokeColor:"#2BD17E",cqlFilter:r2("zl_dj","3")},{key:"woodland-quality-4",name:"四级质量",fillColor:"#23C7B7",strokeColor:"#23C7B7",cqlFilter:r2("zl_dj","4")},{key:"woodland-quality-5",name:"五级质量",fillColor:"#B7D96B",strokeColor:"#B7D96B",cqlFilter:r2("zl_dj","5")},{key:"woodland-quality-unset",name:"未划分",fillColor:"#6B8191",strokeColor:"#6B8191",cqlFilter:"(zl_dj IS NULL OR zl_dj = '' OR zl_dj NOT IN ('2','3','4','5'))"}]},{key:"woodland-ownership",name:"林地权属",layerName:"v3:resource_woodland",styles:"resource_woodland_ownership",opacity:.84,legends:[{key:"woodland-ownership-collective",name:"集体林地",fillColor:"#2BD17E",strokeColor:"#2BD17E",cqlFilter:r2("ld_qs","10")},{key:"woodland-ownership-other",name:"国有或其他",fillColor:"#08C4C5",strokeColor:"#08C4C5",cqlFilter:"(ld_qs IS NULL OR ld_qs = '' OR ld_qs <> '10')"}]}],grassland:[{key:"grassland-distribution",name:"草地分布",layerName:"v3:resource_grassland_landcover",sourceType:"wmts",tileMatrixSetID:"EPSG:900913",wmtsZoom:9,bounds:[101.8511,31.8522,103.3462,33.3215],minimumLevel:3,maximumLevel:18,opacity:.82,legends:[{name:"草地",fillColor:"#1D953F",strokeColor:"#1D953F"}]},{key:"basic-grassland",name:"基本/一般草原",layerName:"v3:resource_basic_grassland",styles:"resource_basic_grassland",opacity:.78,legends:L9},{key:"grassland-level",name:"草原级",layerName:"v3:resource_grassland_landcover",styles:"resource_grassland_level",opacity:.82,legends:u0},{key:"grassland-type",name:"草原类型",layerName:"v3:resource_grassland_landcover",styles:"resource_grassland_type",opacity:.82,legends:n0},{key:"grassland-yield",name:"草地产草量/生产力",layerName:"v3:resource_grassland_landcover",styles:"resource_grassland_yield",opacity:.82,legends:r0},{key:"grassland-health",name:"草地健康/退化",layerName:"",sourceType:"wmts",url:"/geoserver/gwc/service/wmts",tileMatrixSetID:"EPSG:4326",bounds:[101.79,31.82,103.38,33.36],minimumLevel:3,maximumLevel:18,styles:"",opacity:.9,legends:[{name:"非常差",fillColor:"#FF0005",strokeColor:"#FF0005",selectable:!1},{name:"差",fillColor:"#D8EE8C",strokeColor:"#D8EE8C",selectable:!1},{name:"正常",fillColor:"#78C962",strokeColor:"#78C962",selectable:!1},{name:"较好",fillColor:"#2C9200",strokeColor:"#2C9200",selectable:!1}]}],wetland:[{key:"wetland-distribution",name:"湿地分布",layerName:"v3:resource_wetland",sourceType:"wmts",tileMatrixSetID:"EPSG:900913",wmtsZoom:9,bounds:[101.8624,32.0692,103.34,33.3171],minimumLevel:3,maximumLevel:18,opacity:.84,legends:[{name:"湿地",fillColor:"#33A3DC",strokeColor:"#33A3DC"}]},{key:"wetland-level",name:"湿地级",layerName:"v3:resource_wetland",styles:"resource_grassland_level",opacity:.82,legends:I9},{key:"wetland-type",name:"湿地类型",layerName:"v3:resource_wetland",styles:"resource_grassland_type",opacity:.82,legends:n0},{key:"wetland-yield",name:"湿地产草量/生产力",layerName:"v3:resource_wetland",styles:"resource_grassland_yield",opacity:.82,legends:r0}]},B9={"ecological-redline":[{key:"ecological-redline-boundary",name:"生态保护红线",layerName:"v3:ecology_redline",styles:"ecology_redline",opacity:1,fillColor:"#5EDFEA",strokeColor:"#BFFFFF",fillAlpha:.08,strokeAlpha:.56,lineWidth:1.42,mapView:{targetLngLat:[102.58,32.72],distanceScale:.96,targetLocalZ:.76,duration:.9},legends:[{key:"ecological-redline-all",name:"生态保护红线",fillColor:"rgba(94, 223, 234, 0.28)",strokeColor:"#BFFFFF",selectable:!1}]}],"natural-protected-area":[{key:"natural-protected-area-boundary",name:"自然保护地",layerName:"v3:ecology_protection_area",styles:"ecology_protection_area",opacity:1,mapView:{targetLngLat:[102.64,33.02],distanceScale:.98,targetLocalZ:.78,duration:.9},legends:[{key:"natural-protected-area-core",name:"核心保护区",fillColor:"#FFD15A",strokeColor:"#FFE7A1",fillAlpha:.2,strokeAlpha:.95,lineWidth:2.2,matches:[{field:"functional_zone",value:"核心保护区"},{field:"reserve_zone",value:"核心保护区"}],selectable:!1},{key:"natural-protected-area-general",name:"一般控制区",fillColor:"#36D9FF",strokeColor:"#8EEDFF",fillAlpha:.14,strokeAlpha:.9,lineWidth:1.8,matches:[{field:"functional_zone",value:"一般控制区"},{field:"reserve_zone",value:"一般控制区"}],selectable:!1}]}],"national-park":[{key:"national-park-zoning",name:"国家公园分区",layerName:"v3:ecology_national_park_zone",styles:"ecology_national_park_zone",clipToHongyuanBoundary:!0,clipToLayerBounds:!1,opacity:.9,mapView:{targetLngLat:[102.88,33.15],distanceScale:1,targetLocalZ:.78,duration:.95},legends:[{key:"national-park-core",name:"核心保护区",fillColor:a3.core.fillColor,strokeColor:a3.core.strokeColor,match:{field:"type",value:"核心保护区"},selectable:!1},{key:"national-park-general",name:"一般控制区",fillColor:a3.general.fillColor,strokeColor:a3.general.strokeColor,match:{field:"type",value:"一般控制区"},selectable:!1}]}],restoration:[{key:"restoration-projects",name:"生态修复工程",layerName:"v3:ecology_restoration_feature",styles:"ecology_restoration_feature",opacity:.72,mapView:{targetLngLat:[102.58,32.72],distanceScale:.96,targetLocalZ:.74,duration:.9},legends:[{key:"restoration-grassland",name:"草地修复",fillColor:"#75AD49",strokeColor:"#D2EA78",cqlFilter:r2("project_category","草地修复"),match:{field:"project_category",value:"草地修复"}},{key:"restoration-wetland",name:"湿地修复",fillColor:"#4FB4C3",strokeColor:"#A9EEF2",cqlFilter:r2("project_category","湿地修复"),match:{field:"project_category",value:"湿地修复"}},{key:"restoration-woodland",name:"林地修复",fillColor:"#43A97A",strokeColor:"#95E2B7",cqlFilter:r2("project_category","林地修复"),match:{field:"project_category",value:"林地修复"}},{key:"restoration-linear",name:"线性设施",fillColor:"#D2B24D",strokeColor:"#FFE28A",cqlFilter:r2("feature_role","线性设施"),match:{field:"feature_role",value:"线性设施"}}]}],"engineering-analysis":[{key:"engineering-suitability",name:"工程适宜实施区域",layerName:"v3:ecology_engineering_candidate",sourceType:"analysis",opacity:.76,mapView:{targetLngLat:[102.58,32.72],distanceScale:.94,targetLocalZ:.72,duration:.85},legends:[]}]},D9={"yak-industry-chain":[{key:"yak-recognition-layer",name:"牦牛识别",sourceType:"wmts",layerName:"v3:yak_recognition",style:"",styles:"",format:"image/png",tileMatrixSetID:"EPSG:900913",maximumLevel:21,homeWmtsZoom:10,homeWmtsEnhance:!0,homeWmtsPointSpread:1.4,homeWmtsGlowRadius:1.8,url:"/geoserver/gwc/service/wmts",opacity:.96,queryBuffer:10,fillColor:"rgba(255, 230, 0, 0)",strokeColor:"#FFE600",glowColor:"rgba(255, 230, 0, 0.42)",lineWidth:1.4,mapView:{targetLngLat:[102.58,32.72],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-recognition-all",name:"牦牛识别",fillColor:"#FFE600",strokeColor:"#FFF58A",selectable:!1}]},{key:"yak-industry-points",name:"牦牛产业点位",sourceType:"wms",layerName:"v3:yak_industry_point",styles:"yak_industry_point",url:"/geoserver/v3/wms",opacity:.96,pointLabelLimit:12,showPointLabels:!1,showPointAtAllDistances:!0,mapView:{targetLngLat:[102.48,32.69],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-industry-family-pasture",name:"家庭生态牧场",fillColor:"#30DCFF",strokeColor:"#C9FBFF",iconType:"pasture",match:{field:"stageKey",value:"family-pasture"}},{key:"yak-industry-artificial-grassland",name:"人工种草基地点",fillColor:"#22F6B8",strokeColor:"#B7FFF2",iconType:"grass",match:{field:"stageKey",value:"artificial-grassland"}},{key:"yak-industry-scale-breeding",name:"规模化养殖基地",fillColor:"#FFD166",strokeColor:"#FFF1B8",iconType:"breeding",match:{field:"stageKey",value:"scale-breeding"}},{key:"yak-industry-breeding-selection",name:"选育/扩繁基地",fillColor:"#A78BFA",strokeColor:"#E5D8FF",iconType:"gene",matches:[{field:"categoryCode",value:"YC-BREEDING-STOCK"},{field:"categoryCode",value:"YC-CXPT-BREEDING-STOCK-BASE"}]},{key:"yak-industry-forage-storage",name:"防灾减灾",fillColor:"#FF8C78",strokeColor:"#FFE1D8",iconType:"storage",match:{field:"stageKey",value:"forage-storage"}},{key:"yak-industry-milk-source-station",name:"奶源站",fillColor:"#6BA7FF",strokeColor:"#D8E8FF",iconType:"milk",match:{field:"stageKey",value:"milk-source-station"}},{key:"yak-industry-slaughter-processing",name:"屠宰与加工",fillColor:"#43D9FF",strokeColor:"#B8F7FF",iconType:"factory",match:{field:"stageKey",value:"slaughter-processing"}},{key:"yak-industry-farm-equipment",name:"农机装备",fillColor:"#30DCFF",strokeColor:"#C9FBFF",iconType:"equipment",match:{field:"stageKey",value:"farm-equipment"}},{key:"yak-industry-forage-trade",name:"牧草交易",fillColor:"#46E6AD",strokeColor:"#B7FFF2",iconType:"trade",match:{field:"stageKey",value:"forage-trade"}},{key:"yak-industry-social-service",name:"社会化服务",fillColor:"#F0C35A",strokeColor:"#FFF1B8",iconType:"service",match:{field:"stageKey",value:"social-service"}}]},{key:"artificial-grassland-plots",name:"人工种草图斑",sourceType:"wms",layerName:"v3:yak_industry_artificial_grassland",styles:"yak_industry_artificial_grassland",url:"/geoserver/v3/wms",opacity:.94,fillAlpha:.34,strokeAlpha:.96,lineWidth:2.6,polygonHeight:18,polygonClampToGround:!1,classificationType:!1,clipToHongyuanBoundary:!0,mapView:{targetLngLat:[102.51,32.79],distanceScale:.62,targetLocalZ:.76,duration:.9},legends:[{key:"artificial-grassland-pending",name:"待核定种草图斑",fillColor:"#20D8FF",strokeColor:"#E7FFFF",match:{field:"data_status",value:"待核定"},selectable:!1}]}]},O9=q(q(q({},R9),B9),D9),G9=[...f0,...M9,...A9];function d5(h){return G9.find(n=>n.key===h)||f0[0]}function H9(h){return O9[h]||[]}function g5(h,n){const r=H9(h);return r.find(c=>c.key===n)||r[0]}const p5="datas/geojsons/hongyuan-townships-screen.geojson",W9="assets/json/hongyuan-county-outline.json",y5="assets/json/中华人民共和国.json";function z9(h){return`./${h}`}const h0=`{"name":"hongyuan_townships","type":"FeatureCollection","source":"PostGIS public.c_area where parent_code = 513233","features":[{"id":"513233100","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.439335,32.937888],[102.439465,32.937624],[102.439588,32.937381],[102.439753,32.937201],[102.439756,32.937198],[102.439918,32.937021],[102.440068,32.936829],[102.440337,32.936613],[102.440605,32.936411],[102.440872,32.936208],[102.440989,32.936044],[102.440992,32.93604],[102.440994,32.935966],[102.440914,32.935745],[102.440772,32.935619],[102.440517,32.935419],[102.440455,32.935375],[102.440916,32.935324],[102.441734,32.935456],[102.44229,32.935178],[102.442815,32.934419],[102.44351,32.933259],[102.444121,32.932655],[102.444338,32.932255],[102.444741,32.931762],[102.445596,32.931414],[102.446633,32.931069],[102.447794,32.930381],[102.448442,32.930105],[102.449001,32.929712],[102.449331,32.929353],[102.449481,32.928894],[102.449606,32.928531],[102.450068,32.928328],[102.450741,32.927976],[102.45119,32.927446],[102.451478,32.926932],[102.451945,32.926576],[102.452324,32.926121],[102.452633,32.925685],[102.453259,32.925351],[102.454021,32.925039],[102.454694,32.924668],[102.455301,32.924218],[102.455973,32.923866],[102.456693,32.923437],[102.456974,32.923193],[102.457186,32.922966],[102.457363,32.922373],[102.45741,32.921526],[102.457323,32.919772],[102.457389,32.919361],[102.457412,32.919221],[102.457434,32.919081],[102.45745,32.918523],[102.457466,32.917965],[102.457431,32.917608],[102.457395,32.917251],[102.457233,32.916949],[102.45707,32.916648],[102.45673,32.916159],[102.45639,32.915671],[102.456185,32.915263],[102.45598,32.914854],[102.455876,32.914515],[102.455771,32.914176],[102.45562,32.913855],[102.45547,32.913534],[102.455472,32.913062],[102.455474,32.912591],[102.455475,32.912157],[102.455476,32.911724],[102.455408,32.911299],[102.455341,32.910874],[102.45526,32.910487],[102.45518,32.910101],[102.45526,32.909717],[102.455339,32.909334],[102.455421,32.908864],[102.455503,32.908393],[102.455584,32.907943],[102.455666,32.907492],[102.45571,32.906751],[102.455754,32.906011],[102.455799,32.905636],[102.455844,32.905262],[102.456031,32.904303],[102.456122,32.903515],[102.456001,32.902145],[102.456207,32.898887],[102.456064,32.89765],[102.456252,32.89609],[102.456412,32.894227],[102.456305,32.892992],[102.45657,32.892425],[102.45739,32.891208],[102.458239,32.890203],[102.459053,32.889166],[102.459612,32.888305],[102.460165,32.887684],[102.460608,32.887152],[102.461397,32.887017],[102.462111,32.886972],[102.462401,32.886827],[102.462597,32.886199],[102.463022,32.885034],[102.463218,32.884437],[102.46356,32.883691],[102.463871,32.882795],[102.463611,32.881887],[102.463009,32.880491],[102.463072,32.879529],[102.463198,32.87887],[102.463539,32.878155],[102.464274,32.877387],[102.464908,32.876407],[102.465427,32.875726],[102.466434,32.874182],[102.466629,32.873584],[102.466789,32.872955],[102.466809,32.872264],[102.466829,32.871572],[102.467217,32.870467],[102.468038,32.869159],[102.469019,32.867284],[102.469365,32.866388],[102.469819,32.865465],[102.469976,32.864956],[102.470434,32.863912],[102.471528,32.861768],[102.471984,32.860785],[102.472222,32.859947],[102.472702,32.859232],[102.47278,32.859116],[102.473231,32.858282],[102.473931,32.857514],[102.474161,32.857282],[102.474545,32.856895],[102.475173,32.856433],[102.476142,32.856205],[102.477274,32.855889],[102.478111,32.85559],[102.479001,32.855337],[102.480214,32.854978],[102.481052,32.854679],[102.481971,32.854314],[102.483244,32.85373],[102.484003,32.853362],[102.484649,32.853194],[102.485238,32.853184],[102.486127,32.852953],[102.486855,32.85272],[102.487537,32.852254],[102.48862,32.851531],[102.489742,32.850826],[102.490281,32.850567],[102.490759,32.850338],[102.491861,32.849463],[102.492679,32.848706],[102.49356,32.847885],[102.494546,32.847029],[102.495856,32.8459],[102.496385,32.845276],[102.496502,32.84486],[102.496437,32.84449],[102.496327,32.84412],[102.496249,32.843674],[102.496027,32.843048],[102.495721,32.842674],[102.495537,32.842264],[102.495224,32.841623],[102.494771,32.840636],[102.494555,32.840302],[102.494596,32.839754],[102.49473,32.839101],[102.494919,32.838241],[102.495116,32.837687],[102.495393,32.837247],[102.495484,32.836942],[102.495488,32.836897],[102.49553,32.836469],[102.495487,32.835659],[102.495517,32.835172],[102.495307,32.834429],[102.495258,32.833215],[102.495287,32.832198],[102.495507,32.830836],[102.495588,32.830294],[102.495721,32.829684],[102.495954,32.829005],[102.497083,32.826899],[102.4977,32.82604],[102.498076,32.825525],[102.498227,32.824722],[102.498463,32.82366],[102.498588,32.8229],[102.498942,32.82221],[102.49959,32.821199],[102.500151,32.820513],[102.500339,32.820256],[102.500413,32.820158],[102.500798,32.819848],[102.501091,32.819456],[102.501299,32.818746],[102.501321,32.817952],[102.500655,32.817166],[102.500433,32.816903],[102.499831,32.816281],[102.49959,32.815689],[102.499278,32.814855],[102.498883,32.814215],[102.498573,32.813294],[102.498437,32.812638],[102.498223,32.81198],[102.497608,32.810922],[102.497089,32.810106],[102.496219,32.808956],[102.495557,32.807723],[102.495094,32.806909],[102.495091,32.806903],[102.495059,32.806847],[102.495058,32.806845],[102.495057,32.806843],[102.495026,32.80679],[102.494254,32.805432],[102.493553,32.80433],[102.493538,32.804306],[102.492419,32.802825],[102.491777,32.801788],[102.491803,32.800895],[102.491908,32.80052],[102.49192,32.800476],[102.492233,32.799358],[102.492391,32.799006],[102.494832,32.793593],[102.494849,32.793556],[102.494882,32.793483],[102.4949,32.793443],[102.494913,32.793415],[102.494921,32.793398],[102.495295,32.792567],[102.495311,32.792533],[102.495326,32.792499],[102.495339,32.792471],[102.495353,32.792439],[102.495357,32.79243],[102.495368,32.792407],[102.495601,32.791966],[102.495631,32.791908],[102.495664,32.791847],[102.495681,32.791814],[102.495701,32.791776],[102.495741,32.791699],[102.495743,32.791696],[102.495942,32.79132],[102.495957,32.791291],[102.495958,32.79129],[102.495977,32.791253],[102.496141,32.790943],[102.496206,32.790821],[102.496227,32.790781],[102.496484,32.790294],[102.497119,32.790656],[102.497803,32.791083],[102.498545,32.791294],[102.499195,32.791265],[102.499216,32.791264],[102.499671,32.79104],[102.499896,32.790929],[102.500526,32.790463],[102.500871,32.790208],[102.500808,32.789908],[102.500816,32.789612],[102.500825,32.789283],[102.500832,32.789058],[102.500834,32.788964],[102.500847,32.788526],[102.50085,32.788408],[102.500866,32.78783],[102.500876,32.78749],[102.500958,32.787305],[102.501171,32.786828],[102.501244,32.786663],[102.501361,32.786554],[102.50146,32.786461],[102.5015,32.786423],[102.501756,32.786183],[102.501785,32.786155],[102.501844,32.7861],[102.501849,32.786096],[102.501853,32.786092],[102.501884,32.786081],[102.501923,32.786069],[102.501936,32.786064],[102.503049,32.785698],[102.503785,32.785738],[102.504006,32.78575],[102.504282,32.785765],[102.505311,32.786035],[102.50592,32.786141],[102.506392,32.786224],[102.507623,32.786374],[102.508449,32.786849],[102.508526,32.787282],[102.508552,32.787428],[102.50862,32.787812],[102.508444,32.788136],[102.508389,32.788239],[102.508151,32.788678],[102.50812,32.788804],[102.508079,32.78897],[102.508047,32.789097],[102.507965,32.789429],[102.507873,32.789799],[102.508191,32.79008],[102.50821,32.790098],[102.508393,32.790092],[102.508606,32.790085],[102.50869,32.790082],[102.508743,32.79008],[102.509001,32.790072],[102.509164,32.790003],[102.509337,32.78993],[102.509383,32.789911],[102.509469,32.789874],[102.50972,32.789768],[102.509851,32.789713],[102.510266,32.789151],[102.510518,32.788809],[102.510992,32.787734],[102.510969,32.786816],[102.510549,32.786278],[102.510517,32.786236],[102.51011,32.785714],[102.508457,32.784805],[102.507301,32.783739],[102.507134,32.782651],[102.5074,32.781989],[102.507766,32.781748],[102.507803,32.781723],[102.507897,32.781662],[102.507932,32.781638],[102.507953,32.781625],[102.508188,32.781549],[102.508198,32.781545],[102.508199,32.781545],[102.508275,32.78152],[102.508286,32.781517],[102.5088,32.78135],[102.509279,32.781286],[102.509771,32.78122],[102.509817,32.781214],[102.50989,32.781205],[102.509912,32.781178],[102.510009,32.781062],[102.510009,32.781062],[102.510009,32.781062],[102.510024,32.781043],[102.510073,32.780984],[102.510178,32.780858],[102.510189,32.780845],[102.510189,32.780845],[102.510189,32.780845],[102.510189,32.780844],[102.510197,32.780835],[102.510201,32.78083],[102.510266,32.780757],[102.510271,32.780752],[102.510617,32.78036],[102.511574,32.779277],[102.512155,32.777913],[102.512186,32.777831],[102.512259,32.77764],[102.51306,32.775553],[102.513343,32.774527],[102.513609,32.773562],[102.513882,32.772608],[102.514105,32.771694],[102.514966,32.769167],[102.515443,32.767967],[102.515761,32.76718],[102.515981,32.766392],[102.516656,32.765196],[102.517578,32.764004],[102.517273,32.762538],[102.517102,32.761576],[102.516983,32.76053],[102.517079,32.758864],[102.517078,32.757112],[102.516861,32.756023],[102.516244,32.755135],[102.515087,32.754152],[102.513051,32.752819],[102.510977,32.751402],[102.510096,32.7508],[102.50903,32.750069],[102.508823,32.749863],[102.507986,32.749029],[102.507648,32.748691],[102.507493,32.748537],[102.507251,32.748257],[102.50593,32.746729],[102.505915,32.746712],[102.504698,32.744352],[102.504056,32.742587],[102.504051,32.742242],[102.504047,32.741937],[102.504039,32.741419],[102.50403,32.741365],[102.503859,32.740319],[102.503744,32.739619],[102.503789,32.737993],[102.503308,32.735207],[102.502777,32.733942],[102.5027,32.733757],[102.502649,32.733637],[102.502644,32.733493],[102.502609,32.732461],[102.502601,32.732227],[102.502637,32.730957],[102.502662,32.730055],[102.502664,32.729988],[102.502666,32.729885],[102.502669,32.729781],[102.502643,32.72915],[102.502617,32.728519],[102.502505,32.727813],[102.502393,32.727106],[102.501973,32.72643],[102.501553,32.725754],[102.50109,32.725033],[102.500627,32.724311],[102.500346,32.724151],[102.500065,32.72399],[102.499828,32.723692],[102.499592,32.723394],[102.499438,32.723063],[102.499284,32.722732],[102.499112,32.722315],[102.49894,32.721898],[102.498832,32.721361],[102.498725,32.720824],[102.498577,32.720269],[102.49843,32.719715],[102.498422,32.719266],[102.498414,32.718818],[102.498409,32.718248],[102.498405,32.717679],[102.498375,32.717282],[102.498345,32.716885],[102.497995,32.716291],[102.497644,32.715698],[102.497412,32.715245],[102.49718,32.714792],[102.49707,32.714359],[102.496959,32.713925],[102.496531,32.71321],[102.496102,32.712494],[102.495767,32.712073],[102.495432,32.711653],[102.495136,32.711285],[102.49484,32.710917],[102.494348,32.710286],[102.493856,32.709655],[102.493385,32.708991],[102.492914,32.708326],[102.492622,32.707803],[102.492331,32.707279],[102.492025,32.706549],[102.491719,32.705819],[102.491631,32.705317],[102.491543,32.704815],[102.491399,32.704139],[102.491255,32.703464],[102.491183,32.702962],[102.491175,32.702907],[102.491104,32.702415],[102.49109,32.702322],[102.491064,32.702137],[102.491016,32.701804],[102.490906,32.699904],[102.490842,32.699282],[102.49058,32.698415],[102.490532,32.698391],[102.490429,32.696549],[102.49061,32.695897],[102.491319,32.695325],[102.492317,32.694655],[102.493923,32.694136],[102.495114,32.693815],[102.496321,32.69363],[102.496712,32.693571],[102.497331,32.693371],[102.497618,32.693278],[102.499003,32.69334],[102.499525,32.693627],[102.500211,32.693882],[102.500386,32.693993],[102.500492,32.69406],[102.503889,32.695851],[102.505234,32.696437],[102.50583,32.696696],[102.506688,32.696966],[102.507444,32.697203],[102.507934,32.69736],[102.509215,32.697769],[102.509502,32.697861],[102.511166,32.698065],[102.511348,32.698088],[102.512285,32.698152],[102.513131,32.69821],[102.514262,32.698288],[102.514305,32.69829],[102.515414,32.698343],[102.515438,32.698344],[102.515484,32.698346],[102.515608,32.698352],[102.515754,32.698359],[102.515777,32.69836],[102.515786,32.698361],[102.515943,32.698368],[102.516141,32.698341],[102.51627,32.698323],[102.517149,32.698202],[102.517151,32.698202],[102.517204,32.698194],[102.517212,32.698193],[102.517738,32.698121],[102.517768,32.698116],[102.517795,32.698113],[102.517796,32.698113],[102.517796,32.698112],[102.517859,32.698104],[102.518122,32.698068],[102.518648,32.697995],[102.519425,32.697971],[102.523039,32.697861],[102.523164,32.697857],[102.523367,32.697851],[102.525392,32.697701],[102.526433,32.697797],[102.526799,32.697831],[102.527351,32.697882],[102.528949,32.697838],[102.529879,32.697813],[102.53041,32.697799],[102.531396,32.697772],[102.534147,32.697731],[102.535597,32.698092],[102.536601,32.698301],[102.535798,32.696909],[102.535783,32.696847],[102.535735,32.696639],[102.535447,32.695384],[102.535047,32.694857],[102.534739,32.69445],[102.533876,32.693312],[102.533356,32.692665],[102.533055,32.69229],[102.531977,32.690949],[102.530923,32.689729],[102.530726,32.689501],[102.529985,32.687872],[102.529975,32.687791],[102.529975,32.687791],[102.529948,32.68758],[102.52993,32.687429],[102.529755,32.686017],[102.529572,32.684969],[102.529523,32.684686],[102.529464,32.68435],[102.528939,32.683058],[102.528298,32.681492],[102.528275,32.681436],[102.52822,32.681302],[102.528097,32.681001],[102.527947,32.680656],[102.527779,32.68027],[102.527495,32.679618],[102.527282,32.679131],[102.5272,32.678942],[102.527029,32.678396],[102.526736,32.677462],[102.526578,32.676968],[102.526549,32.676878],[102.525959,32.675027],[102.525806,32.674549],[102.525301,32.672498],[102.525214,32.671594],[102.524742,32.670868],[102.52453,32.670541],[102.524245,32.670104],[102.523542,32.669141],[102.522782,32.668224],[102.522027,32.667118],[102.521565,32.66664],[102.521381,32.665338],[102.521091,32.66394],[102.521115,32.663059],[102.521262,32.661717],[102.521132,32.660462],[102.520796,32.658739],[102.52047,32.656645],[102.520043,32.65554],[102.520021,32.655484],[102.51988,32.65512],[102.519855,32.655056],[102.519503,32.653935],[102.519496,32.652172],[102.519915,32.650928],[102.520001,32.64977],[102.52031,32.648524],[102.520448,32.647506],[102.520916,32.646448],[102.521664,32.645164],[102.523307,32.643248],[102.523992,32.642241],[102.524899,32.641192],[102.525754,32.640003],[102.526438,32.639042],[102.527296,32.63776],[102.52798,32.6368],[102.529309,32.636316],[102.530926,32.635327],[102.53276,32.634435],[102.534097,32.633673],[102.535564,32.632125],[102.536416,32.631074],[102.537873,32.629897],[102.539552,32.628631],[102.540786,32.627635],[102.542642,32.625908],[102.543939,32.624588],[102.544679,32.623582],[102.546576,32.622367],[102.548618,32.62185],[102.550262,32.621882],[102.550863,32.62194],[102.552375,32.620764],[102.552711,32.620455],[102.554006,32.619265],[102.554907,32.618354],[102.555649,32.617302],[102.556441,32.61639],[102.556752,32.615004],[102.557392,32.613671],[102.558409,32.612531],[102.55848,32.612442],[102.559204,32.611526],[102.559138,32.611041],[102.559021,32.610177],[102.559016,32.609776],[102.559003,32.608832],[102.557939,32.607651],[102.557933,32.607364],[102.557927,32.607061],[102.557915,32.606495],[102.557963,32.606542],[102.558981,32.607625],[102.560591,32.608863],[102.561153,32.609302],[102.561452,32.609536],[102.562163,32.610092],[102.562416,32.61029],[102.563718,32.611475],[102.563974,32.611707],[102.564395,32.612091],[102.566533,32.614127],[102.568248,32.615552],[102.569487,32.616365],[102.57126,32.617698],[102.571601,32.618039],[102.571581,32.617982],[102.571868,32.617478],[102.573049,32.616387],[102.573846,32.615289],[102.575478,32.613697],[102.576709,32.612793],[102.578108,32.611707],[102.57961,32.610901],[102.581008,32.609861],[102.58152,32.609175],[102.581482,32.608525],[102.582228,32.607287],[102.582898,32.606836],[102.595355,32.615193],[102.595396,32.615221],[102.595497,32.615288],[102.597516,32.615606],[102.600068,32.616536],[102.600466,32.6167],[102.601329,32.617056],[102.601357,32.617067],[102.60143,32.617097],[102.601474,32.617115],[102.602038,32.617348],[102.602074,32.617363],[102.603269,32.617757],[102.605241,32.617794],[102.606198,32.617958],[102.606199,32.617958],[102.606214,32.617961],[102.606222,32.617962],[102.606245,32.617966],[102.606769,32.618055],[102.608017,32.618543],[102.611033,32.618641],[102.611136,32.618644],[102.61119,32.618646],[102.611467,32.618655],[102.611469,32.618655],[102.61147,32.618655],[102.611682,32.618659],[102.61174,32.61866],[102.611765,32.618661],[102.611947,32.618664],[102.612932,32.618683],[102.613188,32.618688],[102.613201,32.618688],[102.613203,32.618688],[102.613205,32.618688],[102.613217,32.618688],[102.613434,32.618693],[102.613437,32.618693],[102.61344,32.618693],[102.613601,32.618651],[102.614268,32.618476],[102.615713,32.617715],[102.615849,32.617619],[102.615852,32.617617],[102.615854,32.617616],[102.615859,32.617612],[102.615932,32.61756],[102.615944,32.617552],[102.615944,32.617552],[102.616607,32.617083],[102.617115,32.616743],[102.61789,32.616226],[102.619166,32.615647],[102.620392,32.614882],[102.621617,32.614163],[102.623002,32.613632],[102.623637,32.613392],[102.624053,32.613234],[102.625465,32.612859],[102.626312,32.612569],[102.626329,32.612585],[102.626375,32.612629],[102.626531,32.612777],[102.626681,32.61292],[102.626827,32.612922],[102.627185,32.612929],[102.627266,32.612851],[102.62729,32.612828],[102.6273,32.612826],[102.627376,32.6128],[102.627426,32.612784],[102.627436,32.612777],[102.627505,32.612733],[102.62755,32.612693],[102.62759,32.612638],[102.627626,32.612589],[102.627674,32.612539],[102.627798,32.612493],[102.62785,32.612473],[102.627877,32.612463],[102.62808,32.612387],[102.62836,32.612499],[102.628543,32.612715],[102.628723,32.613065],[102.628698,32.613319],[102.628681,32.613503],[102.628679,32.613517],[102.628628,32.613684],[102.628542,32.613967],[102.62847,32.614105],[102.628316,32.614403],[102.62831,32.614415],[102.628235,32.614866],[102.628255,32.614951],[102.628268,32.615004],[102.62832,32.615214],[102.628718,32.615648],[102.628707,32.616047],[102.628701,32.616074],[102.628674,32.616187],[102.628667,32.616217],[102.628664,32.616229],[102.628652,32.616278],[102.628642,32.616651],[102.629347,32.617432],[102.629352,32.617438],[102.629432,32.617523],[102.629476,32.617571],[102.629496,32.617618],[102.629805,32.617975],[102.629966,32.618136],[102.629823,32.618645],[102.629676,32.619029],[102.629742,32.619184],[102.629706,32.619233],[102.62964,32.619268],[102.629637,32.619291],[102.629667,32.619343],[102.629676,32.619332],[102.629685,32.619322],[102.629696,32.619316],[102.629706,32.619314],[102.629723,32.619315],[102.629733,32.619318],[102.629744,32.61932],[102.629753,32.619317],[102.629764,32.619314],[102.629778,32.61931],[102.629793,32.619302],[102.629809,32.619339],[102.629822,32.61937],[102.629827,32.619381],[102.629977,32.61973],[102.629992,32.619847],[102.629994,32.619862],[102.630003,32.619926],[102.630005,32.619941],[102.629952,32.61994],[102.629819,32.619935],[102.629754,32.619921],[102.629754,32.619986],[102.629772,32.620038],[102.629837,32.6201],[102.62995,32.620178],[102.630051,32.620293],[102.630053,32.620312],[102.630123,32.620981],[102.630125,32.620995],[102.630126,32.621009],[102.630058,32.621094],[102.62992,32.621268],[102.629905,32.621285],[102.62987,32.62133],[102.629701,32.621542],[102.629432,32.621508],[102.629422,32.621507],[102.629337,32.621496],[102.629301,32.621469],[102.629291,32.621447],[102.629277,32.621429],[102.629255,32.621422],[102.629226,32.621418],[102.629193,32.62141],[102.629176,32.621402],[102.629144,32.621379],[102.629104,32.62135],[102.629037,32.6213],[102.628969,32.621235],[102.628932,32.621183],[102.628787,32.621071],[102.628766,32.621054],[102.628634,32.620953],[102.628627,32.620947],[102.62862,32.620942],[102.628506,32.620979],[102.628067,32.621125],[102.628003,32.621367],[102.628,32.62138],[102.627998,32.621386],[102.627984,32.621442],[102.627975,32.621437],[102.627959,32.621436],[102.627948,32.621443],[102.627935,32.621453],[102.62792,32.621467],[102.627909,32.621483],[102.627888,32.621522],[102.627879,32.621572],[102.627881,32.621591],[102.627898,32.621606],[102.627902,32.62163],[102.627901,32.621655],[102.627898,32.621668],[102.627882,32.621691],[102.627867,32.621707],[102.627858,32.621721],[102.627851,32.621739],[102.62785,32.621752],[102.627858,32.621771],[102.627875,32.62179],[102.627891,32.621803],[102.627905,32.621813],[102.627927,32.621828],[102.627935,32.621842],[102.627948,32.62186],[102.627964,32.621917],[102.627975,32.621956],[102.627994,32.621985],[102.628022,32.622004],[102.628054,32.622022],[102.628104,32.622059],[102.628127,32.622091],[102.628151,32.62213],[102.628165,32.622161],[102.628187,32.622181],[102.628255,32.622197],[102.628282,32.622188],[102.628293,32.62217],[102.628308,32.622136],[102.628316,32.62211],[102.628335,32.622086],[102.628362,32.622051],[102.628477,32.622093],[102.628496,32.622101],[102.628513,32.622107],[102.629041,32.622303],[102.629232,32.62257],[102.629246,32.622589],[102.629314,32.622685],[102.62935,32.622734],[102.629267,32.622988],[102.6292,32.623195],[102.629142,32.62327],[102.628935,32.623537],[102.628803,32.623708],[102.628717,32.623675],[102.628588,32.623785],[102.628561,32.623796],[102.628508,32.623811],[102.628444,32.623818],[102.628397,32.623817],[102.628334,32.623809],[102.628151,32.623761],[102.628085,32.623727],[102.628041,32.6237],[102.627983,32.623639],[102.627966,32.623628],[102.627846,32.623551],[102.627745,32.623485],[102.627731,32.623476],[102.627692,32.623327],[102.627689,32.62332],[102.627606,32.62301],[102.627439,32.622946],[102.627307,32.622987],[102.627155,32.623061],[102.627064,32.623118],[102.626988,32.623223],[102.626967,32.623244],[102.626954,32.623277],[102.626951,32.623303],[102.626953,32.62333],[102.626956,32.623352],[102.626971,32.623374],[102.626959,32.623484],[102.626953,32.623539],[102.626957,32.623553],[102.626967,32.623588],[102.62712,32.624122],[102.627112,32.624435],[102.627111,32.624469],[102.62711,32.624521],[102.62711,32.624529],[102.627108,32.624593],[102.627107,32.624623],[102.627102,32.624818],[102.626968,32.625182],[102.626961,32.625203],[102.626845,32.625518],[102.62684,32.625532],[102.626807,32.625624],[102.626673,32.625666],[102.626607,32.625687],[102.626576,32.625697],[102.626268,32.625571],[102.626079,32.625494],[102.626004,32.625364],[102.625994,32.625347],[102.625986,32.625333],[102.62593,32.625237],[102.625926,32.62523],[102.625921,32.625222],[102.625551,32.624586],[102.625533,32.624554],[102.625402,32.624458],[102.625295,32.624371],[102.625161,32.624285],[102.625082,32.624253],[102.624971,32.624253],[102.624876,32.624273],[102.624863,32.624273],[102.624486,32.624265],[102.624463,32.624281],[102.6244,32.624549],[102.624322,32.624879],[102.624313,32.624919],[102.624345,32.624987],[102.624561,32.625447],[102.624576,32.625477],[102.624597,32.625522],[102.624909,32.626185],[102.62493,32.626229],[102.624939,32.626249],[102.624943,32.626257],[102.624968,32.62631],[102.625048,32.62648],[102.625074,32.626704],[102.625101,32.626937],[102.625159,32.627448],[102.625147,32.627908],[102.625142,32.628097],[102.625134,32.628414],[102.625085,32.628451],[102.625078,32.628456],[102.625051,32.628476],[102.625035,32.628488],[102.624528,32.628867],[102.623886,32.62897],[102.623359,32.628922],[102.623298,32.628917],[102.62321,32.628868],[102.623081,32.628828],[102.623011,32.628821],[102.622941,32.628825],[102.622907,32.628829],[102.622837,32.628835],[102.622801,32.628841],[102.622773,32.628851],[102.622737,32.628865],[102.622691,32.62887],[102.622669,32.628869],[102.622627,32.628872],[102.622586,32.628892],[102.62256,32.628907],[102.622477,32.628922],[102.622437,32.628921],[102.622382,32.628908],[102.622343,32.628893],[102.622286,32.628878],[102.622224,32.628867],[102.622158,32.62891],[102.622102,32.628946],[102.622087,32.628956],[102.621826,32.629125],[102.621924,32.629313],[102.622001,32.629462],[102.622026,32.629509],[102.622036,32.629529],[102.622083,32.629619],[102.622088,32.62963],[102.622102,32.629657],[102.622103,32.629658],[102.62213,32.62971],[102.622201,32.630485],[102.621778,32.630941],[102.621737,32.630955],[102.621642,32.630987],[102.62132,32.631097],[102.621303,32.631102],[102.621273,32.631113],[102.621132,32.63116],[102.621124,32.63147],[102.621219,32.631604],[102.621237,32.63163],[102.621257,32.631659],[102.621344,32.631783],[102.621662,32.632008],[102.62168,32.632021],[102.621807,32.632111],[102.62184,32.632134],[102.621846,32.632138],[102.622017,32.63226],[102.622075,32.632303],[102.622331,32.632498],[102.62236,32.633117],[102.622267,32.633335],[102.622172,32.63356],[102.622179,32.633564],[102.622182,32.633571],[102.62218,32.633586],[102.622175,32.633609],[102.622148,32.633676],[102.622103,32.633843],[102.622076,32.634029],[102.62207,32.634117],[102.62207,32.634127],[102.622046,32.634175],[102.622042,32.63418],[102.621986,32.63425],[102.621964,32.634275],[102.621963,32.634307],[102.622031,32.63443],[102.62205,32.634464],[102.622065,32.634459],[102.622082,32.634455],[102.622451,32.634349],[102.622557,32.634319],[102.622692,32.634199],[102.622783,32.634119],[102.622798,32.634106],[102.623071,32.633865],[102.623628,32.633527],[102.62409,32.633596],[102.624173,32.633609],[102.624181,32.63361],[102.624188,32.633651],[102.624189,32.633673],[102.624192,32.633697],[102.624198,32.633719],[102.62421,32.633742],[102.624223,32.633759],[102.624231,32.633768],[102.624238,32.633779],[102.624254,32.633795],[102.624258,32.63382],[102.624256,32.633857],[102.624248,32.633897],[102.624231,32.633945],[102.624174,32.63402],[102.624144,32.634063],[102.624138,32.63412],[102.624132,32.634145],[102.624124,32.634171],[102.624101,32.634209],[102.624072,32.634278],[102.624045,32.634351],[102.624022,32.634379],[102.623969,32.634443],[102.623941,32.63451],[102.623929,32.634542],[102.623897,32.634583],[102.623857,32.634616],[102.623806,32.63465],[102.623756,32.634668],[102.623701,32.634688],[102.62364,32.63472],[102.623581,32.634765],[102.623512,32.634789],[102.623474,32.634804],[102.623455,32.634817],[102.623413,32.634838],[102.623364,32.634868],[102.623309,32.634889],[102.623291,32.634903],[102.623269,32.634927],[102.623259,32.634943],[102.623261,32.634973],[102.623142,32.635072],[102.623045,32.635153],[102.622988,32.635201],[102.622961,32.635228],[102.622952,32.635249],[102.622945,32.635277],[102.622929,32.635292],[102.622802,32.635406],[102.622701,32.635752],[102.622867,32.635874],[102.622872,32.635878],[102.622878,32.635882],[102.62297,32.63595],[102.623011,32.635951],[102.623025,32.635951],[102.623085,32.635952],[102.623155,32.635954],[102.623158,32.635977],[102.62319,32.636023],[102.623213,32.63605],[102.623236,32.636054],[102.623311,32.636038],[102.623358,32.636024],[102.623391,32.636009],[102.623423,32.635991],[102.623449,32.635967],[102.623472,32.635938],[102.623492,32.635916],[102.623549,32.635903],[102.623579,32.635904],[102.62358,32.63588],[102.623595,32.635824],[102.623799,32.635695],[102.623853,32.635693],[102.623899,32.63569],[102.623957,32.635651],[102.624033,32.635618],[102.624089,32.635615],[102.624154,32.635618],[102.624212,32.635638],[102.624273,32.635671],[102.624291,32.635699],[102.624297,32.635714],[102.624304,32.635733],[102.624326,32.635751],[102.624414,32.635802],[102.624521,32.635878],[102.624568,32.635921],[102.624609,32.635969],[102.624567,32.636049],[102.624422,32.636326],[102.624076,32.636571],[102.62406,32.636582],[102.623961,32.636569],[102.62384,32.636548],[102.623661,32.636536],[102.623709,32.636569],[102.623736,32.636598],[102.623227,32.636612],[102.622619,32.636891],[102.622579,32.636909],[102.622242,32.637317],[102.622202,32.637366],[102.622087,32.637586],[102.622061,32.637636],[102.621961,32.637825],[102.621974,32.637859],[102.622075,32.638137],[102.62212,32.638188],[102.622146,32.638221],[102.622178,32.63827],[102.622197,32.638314],[102.622209,32.638351],[102.622218,32.638381],[102.622226,32.638408],[102.622234,32.638433],[102.622298,32.638459],[102.622581,32.638572],[102.623273,32.638314],[102.623511,32.638309],[102.623522,32.638308],[102.623826,32.638301],[102.623867,32.6383],[102.623922,32.638299],[102.624188,32.638293],[102.624339,32.638636],[102.624446,32.638877],[102.624478,32.639223],[102.624517,32.639652],[102.623913,32.640027],[102.623183,32.640013],[102.622984,32.64022],[102.622942,32.640263],[102.622854,32.640355],[102.622852,32.640433],[102.62285,32.640505],[102.622849,32.640525],[102.622841,32.640819],[102.623331,32.64133],[102.623925,32.641303],[102.623956,32.641283],[102.624108,32.641187],[102.624211,32.641122],[102.624265,32.641052],[102.624306,32.640993],[102.624365,32.640937],[102.624426,32.640901],[102.62453,32.640866],[102.624653,32.640854],[102.624669,32.640847],[102.624709,32.640828],[102.625131,32.64063],[102.625683,32.640524],[102.625755,32.64051],[102.625866,32.640489],[102.62595,32.640439],[102.625997,32.640411],[102.625998,32.640401],[102.625999,32.640385],[102.626011,32.640364],[102.626022,32.640335],[102.626074,32.640276],[102.626099,32.640264],[102.626126,32.640256],[102.626136,32.640243],[102.626141,32.640219],[102.626143,32.640198],[102.626149,32.640171],[102.626168,32.64015],[102.626254,32.640108],[102.62629,32.640105],[102.626311,32.640101],[102.626332,32.640083],[102.62635,32.640055],[102.626389,32.64003],[102.62647,32.63998],[102.626546,32.639963],[102.626613,32.639958],[102.626673,32.639961],[102.626713,32.639973],[102.626732,32.639974],[102.626748,32.639965],[102.626824,32.639888],[102.626915,32.639796],[102.626928,32.639782],[102.626942,32.639769],[102.627123,32.639585],[102.627629,32.639479],[102.627741,32.639565],[102.627942,32.639717],[102.627959,32.639744],[102.628013,32.639828],[102.62806,32.639901],[102.628118,32.639991],[102.628064,32.640045],[102.62797,32.640143],[102.627601,32.640522],[102.627319,32.64076],[102.62712,32.640927],[102.627,32.641052],[102.626767,32.641306],[102.626634,32.641435],[102.626569,32.641496],[102.62656,32.641504],[102.626511,32.641553],[102.626462,32.641605],[102.626407,32.641713],[102.626391,32.641751],[102.626374,32.641763],[102.626358,32.64177],[102.626363,32.641808],[102.626415,32.642201],[102.626588,32.642396],[102.626576,32.642456],[102.626578,32.642495],[102.626596,32.642531],[102.626611,32.642578],[102.626647,32.642619],[102.626737,32.64267],[102.626794,32.642697],[102.626824,32.642728],[102.626845,32.642772],[102.626865,32.642816],[102.626893,32.642851],[102.626939,32.642875],[102.626987,32.642894],[102.627103,32.642935],[102.627155,32.642935],[102.627443,32.643145],[102.627452,32.643152],[102.627463,32.643137],[102.627548,32.643157],[102.627593,32.643198],[102.62762,32.643225],[102.627652,32.643251],[102.627683,32.643285],[102.627716,32.643315],[102.627736,32.64333],[102.627768,32.643337],[102.6278,32.643345],[102.627833,32.643358],[102.627792,32.643357],[102.627773,32.643365],[102.62774,32.643381],[102.628065,32.643701],[102.628129,32.644746],[102.627714,32.644922],[102.627697,32.644929],[102.627553,32.64499],[102.627505,32.64501],[102.627494,32.645015],[102.627344,32.645079],[102.6272,32.645298],[102.627197,32.645303],[102.627184,32.645323],[102.627124,32.645413],[102.627088,32.645468],[102.627083,32.645475],[102.626868,32.645804],[102.626742,32.645906],[102.626733,32.645913],[102.626614,32.64601],[102.626595,32.646025],[102.626583,32.646035],[102.626573,32.646042],[102.626216,32.646332],[102.62622,32.646374],[102.62622,32.646402],[102.626223,32.646432],[102.626223,32.646445],[102.626216,32.646457],[102.626213,32.64646],[102.626202,32.646444],[102.626178,32.646418],[102.626159,32.646395],[102.626103,32.646457],[102.625867,32.646721],[102.625842,32.64675],[102.625832,32.64676],[102.625811,32.646784],[102.625664,32.646948],[102.625602,32.64702],[102.625589,32.647488],[102.625589,32.64752],[102.626006,32.647629],[102.626156,32.647669],[102.626168,32.647672],[102.626224,32.647686],[102.626356,32.647689],[102.626417,32.64769],[102.627092,32.647703],[102.627145,32.647682],[102.627165,32.647674],[102.627176,32.647669],[102.627375,32.647589],[102.627409,32.647608],[102.627459,32.647624],[102.627493,32.647633],[102.627567,32.647637],[102.627595,32.647639],[102.627609,32.647639],[102.627673,32.647635],[102.6277,32.647623],[102.627723,32.647608],[102.627735,32.647597],[102.627746,32.647577],[102.62775,32.647559],[102.627754,32.647544],[102.62776,32.647528],[102.62777,32.647517],[102.627785,32.647505],[102.627799,32.647495],[102.627818,32.647486],[102.627844,32.647475],[102.627853,32.647466],[102.627855,32.647458],[102.627854,32.647442],[102.627842,32.64742],[102.627824,32.647393],[102.627784,32.647345],[102.627867,32.647264],[102.628276,32.646863],[102.628302,32.646837],[102.628404,32.646834],[102.628425,32.646834],[102.628551,32.646831],[102.628614,32.646829],[102.629217,32.646815],[102.629469,32.646928],[102.629532,32.646956],[102.629548,32.646963],[102.629681,32.647056],[102.629731,32.647103],[102.629766,32.647138],[102.629792,32.647173],[102.629891,32.647289],[102.629906,32.647337],[102.62991,32.647343],[102.629915,32.647354],[102.629915,32.647365],[102.629909,32.647389],[102.629887,32.647434],[102.629857,32.647492],[102.629771,32.647687],[102.629718,32.647744],[102.629659,32.647782],[102.629628,32.647802],[102.629597,32.647817],[102.629574,32.647841],[102.629543,32.647885],[102.629498,32.647951],[102.629481,32.647999],[102.629461,32.648035],[102.629418,32.648096],[102.629399,32.648129],[102.629374,32.648141],[102.62936,32.648141],[102.629346,32.648138],[102.629329,32.648163],[102.629271,32.648247],[102.62919,32.648367],[102.629165,32.648404],[102.628938,32.648743],[102.628923,32.649284],[102.629463,32.649603],[102.63037,32.649878],[102.630377,32.649879],[102.630687,32.649974],[102.631415,32.649935],[102.63174,32.649917],[102.631907,32.649842],[102.632467,32.649588],[102.63248,32.649583],[102.632512,32.649549],[102.632541,32.649519],[102.632558,32.649501],[102.632808,32.649241],[102.632096,32.648532],[102.632101,32.648348],[102.632104,32.648217],[102.632105,32.648184],[102.63231,32.648166],[102.632396,32.648214],[102.632522,32.648303],[102.632706,32.648412],[102.632804,32.648476],[102.632908,32.648529],[102.633005,32.648566],[102.633071,32.648598],[102.633136,32.648631],[102.633158,32.648647],[102.633183,32.648672],[102.633203,32.648688],[102.63322,32.648699],[102.63325,32.648698],[102.633258,32.648684],[102.633277,32.648675],[102.633296,32.648666],[102.633326,32.64866],[102.633338,32.648674],[102.633357,32.648718],[102.633373,32.648769],[102.633404,32.648827],[102.633469,32.648894],[102.633506,32.648948],[102.63354,32.649026],[102.633557,32.64912],[102.633595,32.649235],[102.633619,32.64936],[102.633615,32.649434],[102.633605,32.649544],[102.63359,32.64957],[102.633585,32.649578],[102.633564,32.6496],[102.633558,32.649691],[102.63359,32.64969],[102.633645,32.649691],[102.633705,32.649915],[102.63402,32.650076],[102.634284,32.650011],[102.634653,32.64992],[102.634894,32.64986],[102.634957,32.64984],[102.634991,32.649829],[102.635004,32.649825],[102.635153,32.649776],[102.635178,32.649768],[102.63568,32.649603],[102.63569,32.649598],[102.635796,32.649538],[102.636105,32.649366],[102.636118,32.649359],[102.636256,32.649282],[102.63628,32.649268],[102.636376,32.648927],[102.636395,32.648859],[102.636432,32.64873],[102.636436,32.648687],[102.636437,32.64868],[102.636494,32.648112],[102.636641,32.64806],[102.636676,32.648048],[102.636895,32.64797],[102.636909,32.647966],[102.637508,32.64809],[102.637607,32.648111],[102.637703,32.6482],[102.63779,32.648292],[102.637878,32.648376],[102.637928,32.648438],[102.637953,32.648494],[102.637989,32.648553],[102.638039,32.648598],[102.638128,32.64867],[102.638176,32.64872],[102.638258,32.648789],[102.638374,32.649146],[102.638398,32.649219],[102.638403,32.649235],[102.638406,32.649244],[102.638427,32.649308],[102.63844,32.649372],[102.638405,32.649414],[102.638393,32.649429],[102.638382,32.649447],[102.638381,32.649463],[102.638388,32.649476],[102.638388,32.649487],[102.638391,32.649507],[102.638462,32.649486],[102.638588,32.650123],[102.639039,32.650364],[102.639366,32.650099],[102.639383,32.65008],[102.639396,32.650066],[102.639559,32.649884],[102.63958,32.649859],[102.639815,32.649597],[102.639883,32.649521],[102.639978,32.649415],[102.640241,32.649274],[102.640256,32.649266],[102.640534,32.649116],[102.640851,32.649238],[102.641167,32.64936],[102.641355,32.649515],[102.641362,32.649555],[102.641373,32.649595],[102.641388,32.649639],[102.641406,32.649681],[102.641429,32.6497],[102.641448,32.649701],[102.641474,32.649688],[102.641502,32.649682],[102.641514,32.649688],[102.641516,32.649696],[102.641591,32.649711],[102.641637,32.64972],[102.641682,32.649738],[102.641713,32.649751],[102.641754,32.649773],[102.641788,32.649839],[102.641809,32.649892],[102.641878,32.64995],[102.641844,32.649988],[102.641836,32.650018],[102.641835,32.650049],[102.641847,32.650098],[102.641842,32.650144],[102.641854,32.65019],[102.641779,32.650159],[102.641725,32.650267],[102.6417,32.650316],[102.641594,32.650527],[102.641482,32.650646],[102.641464,32.650665],[102.641238,32.650903],[102.641233,32.650909],[102.641096,32.651054],[102.641024,32.651053],[102.640971,32.651057],[102.640918,32.65108],[102.640869,32.651121],[102.640792,32.651222],[102.640776,32.65128],[102.640767,32.651324],[102.640756,32.651378],[102.64075,32.651425],[102.640749,32.651456],[102.640778,32.651495],[102.640842,32.65154],[102.640909,32.651578],[102.640984,32.651616],[102.641069,32.65165],[102.641184,32.651674],[102.641198,32.65168],[102.64127,32.651691],[102.641348,32.651694],[102.641428,32.651698],[102.641479,32.651693],[102.641545,32.651695],[102.641614,32.651704],[102.641652,32.651713],[102.641696,32.651726],[102.641762,32.651737],[102.641851,32.651719],[102.641925,32.651696],[102.641971,32.651695],[102.642012,32.651676],[102.642042,32.651658],[102.642118,32.6516],[102.642338,32.651558],[102.642375,32.651551],[102.642411,32.651544],[102.642827,32.651464],[102.64294,32.651442],[102.643258,32.651528],[102.643265,32.65153],[102.643304,32.65154],[102.643629,32.651628],[102.643712,32.65165],[102.643774,32.65173],[102.643802,32.651766],[102.643825,32.651802],[102.643842,32.651837],[102.643845,32.651854],[102.643823,32.651874],[102.643868,32.651966],[102.643881,32.651991],[102.643885,32.652001],[102.643872,32.652504],[102.643908,32.652568],[102.64399,32.65255],[102.644052,32.652526],[102.644092,32.652477],[102.644126,32.652437],[102.644178,32.652405],[102.644241,32.652409],[102.644323,32.65244],[102.64442,32.652467],[102.644492,32.65248],[102.644537,32.652481],[102.64456,32.652469],[102.644661,32.65251],[102.644727,32.652471],[102.644741,32.652462],[102.64478,32.652438],[102.644819,32.652438],[102.644877,32.652428],[102.644947,32.652408],[102.645011,32.652382],[102.645079,32.652351],[102.645118,32.652329],[102.645171,32.652291],[102.645194,32.652271],[102.645229,32.652236],[102.64527,32.652195],[102.645292,32.652155],[102.645298,32.652125],[102.645341,32.652059],[102.645358,32.652007],[102.645371,32.651967],[102.645396,32.651912],[102.645425,32.651879],[102.645447,32.651715],[102.645463,32.651673],[102.645477,32.651662],[102.645476,32.651547],[102.645481,32.651488],[102.645486,32.651413],[102.645458,32.651296],[102.645556,32.651139],[102.645614,32.65112],[102.645628,32.651118],[102.645741,32.651096],[102.64584,32.651101],[102.64594,32.651134],[102.645972,32.651079],[102.646015,32.651],[102.646024,32.651003],[102.64607,32.651015],[102.646091,32.651021],[102.646097,32.651022],[102.646112,32.650997],[102.646263,32.651067],[102.646467,32.651122],[102.647838,32.651148],[102.648067,32.651187],[102.648838,32.651321],[102.648833,32.651528],[102.648832,32.651555],[102.64883,32.651649],[102.648825,32.651823],[102.648731,32.651947],[102.64865,32.652053],[102.648671,32.651991],[102.648679,32.651971],[102.648689,32.651941],[102.64869,32.651893],[102.648693,32.651852],[102.648686,32.651785],[102.64865,32.651705],[102.648631,32.651676],[102.648614,32.651649],[102.648582,32.651622],[102.648556,32.651602],[102.64852,32.651575],[102.648461,32.651549],[102.648417,32.651528],[102.648381,32.651514],[102.648312,32.651489],[102.648271,32.651475],[102.648223,32.651471],[102.648176,32.651471],[102.648281,32.651509],[102.648366,32.651541],[102.648426,32.65157],[102.64847,32.6516],[102.648505,32.651632],[102.64855,32.651674],[102.648575,32.651712],[102.648579,32.651759],[102.64858,32.651819],[102.648578,32.651865],[102.648568,32.651915],[102.64856,32.651958],[102.648537,32.652014],[102.648502,32.65205],[102.648468,32.652086],[102.648441,32.652112],[102.648393,32.652157],[102.648366,32.652188],[102.648334,32.652229],[102.648312,32.65226],[102.64829,32.652285],[102.648233,32.652318],[102.648201,32.652328],[102.648169,32.652348],[102.648164,32.652357],[102.648169,32.652376],[102.648144,32.652384],[102.647995,32.652416],[102.647933,32.652445],[102.647845,32.65248],[102.647775,32.652486],[102.647701,32.652483],[102.647597,32.652484],[102.647419,32.652475],[102.647089,32.652574],[102.646914,32.652627],[102.646825,32.652654],[102.646794,32.652663],[102.64667,32.6527],[102.646644,32.652708],[102.646582,32.652727],[102.646516,32.652746],[102.646166,32.652983],[102.645964,32.653355],[102.645981,32.653973],[102.646001,32.654009],[102.646156,32.654286],[102.646513,32.654353],[102.6469,32.654426],[102.64697,32.65444],[102.647065,32.654458],[102.647189,32.654423],[102.64723,32.654411],[102.647462,32.654346],[102.64771,32.654277],[102.647894,32.654314],[102.648138,32.654364],[102.64823,32.654383],[102.648968,32.654534],[102.649164,32.654574],[102.649299,32.654632],[102.6496,32.654759],[102.649797,32.654842],[102.649976,32.654918],[102.650023,32.654938],[102.650978,32.655188],[102.651474,32.655282],[102.651494,32.655286],[102.651658,32.655317],[102.651682,32.655348],[102.651747,32.655363],[102.651773,32.655371],[102.6518,32.655389],[102.651826,32.655408],[102.651846,32.655427],[102.651856,32.655457],[102.651856,32.655485],[102.651851,32.655516],[102.651844,32.655558],[102.651907,32.655641],[102.651904,32.655567],[102.651904,32.655534],[102.651905,32.655491],[102.651905,32.655441],[102.651906,32.655414],[102.65192,32.655396],[102.651932,32.65539],[102.651961,32.655391],[102.651995,32.655409],[102.652016,32.655442],[102.652023,32.655492],[102.652021,32.655556],[102.652012,32.655609],[102.651995,32.655655],[102.651953,32.6557],[102.652172,32.655985],[102.652298,32.65615],[102.652321,32.65618],[102.652334,32.65654],[102.652341,32.656723],[102.652348,32.656915],[102.652329,32.656947],[102.652178,32.657206],[102.652146,32.65726],[102.652137,32.657275],[102.652131,32.657286],[102.652065,32.657399],[102.652013,32.657488],[102.651958,32.657562],[102.651868,32.657683],[102.651863,32.65769],[102.651729,32.65787],[102.651744,32.657942],[102.651773,32.658083],[102.651782,32.658126],[102.65181,32.658258],[102.6524,32.658423],[102.652586,32.658402],[102.652703,32.658389],[102.652811,32.658376],[102.652912,32.658365],[102.653027,32.658352],[102.653084,32.658345],[102.653146,32.658386],[102.653175,32.658414],[102.653197,32.658435],[102.653212,32.658448],[102.653215,32.658451],[102.653297,32.658495],[102.653388,32.658525],[102.653463,32.658536],[102.653568,32.658526],[102.653635,32.658509],[102.653657,32.658504],[102.65366,32.658502],[102.65373,32.658464],[102.653794,32.658421],[102.653873,32.658375],[102.65393,32.658313],[102.653984,32.658258],[102.654065,32.658218],[102.654139,32.658164],[102.654178,32.658126],[102.654189,32.658071],[102.654177,32.65799],[102.654141,32.657929],[102.654096,32.657886],[102.654034,32.657839],[102.65394,32.657765],[102.65391,32.657751],[102.653927,32.657591],[102.65393,32.657563],[102.65393,32.657544],[102.653911,32.656557],[102.654116,32.656229],[102.654197,32.656099],[102.654241,32.656052],[102.654352,32.656076],[102.654515,32.656123],[102.654614,32.656204],[102.654696,32.656224],[102.654896,32.656387],[102.655026,32.656493],[102.655036,32.656501],[102.655075,32.656533],[102.655095,32.65655],[102.655278,32.656699],[102.655442,32.656856],[102.655451,32.656865],[102.655813,32.657212],[102.6562,32.657822],[102.656384,32.658111],[102.656969,32.658771],[102.657165,32.658991],[102.657242,32.659078],[102.657708,32.659398],[102.657777,32.659446],[102.658154,32.659607],[102.65828,32.65966],[102.658717,32.659846],[102.658804,32.659884],[102.658876,32.659914],[102.658885,32.659918],[102.659854,32.660197],[102.659891,32.660207],[102.660115,32.66016],[102.660221,32.660138],[102.660263,32.660129],[102.660331,32.660115],[102.660468,32.660086],[102.66048,32.660083],[102.661071,32.659959],[102.661588,32.659901],[102.661715,32.659887],[102.661766,32.659881],[102.661976,32.659953],[102.662145,32.66001],[102.662165,32.660017],[102.662194,32.660027],[102.662423,32.660104],[102.662432,32.660107],[102.662515,32.660135],[102.662537,32.660143],[102.662547,32.660146],[102.662612,32.660168],[102.663051,32.65968],[102.663113,32.659534],[102.663392,32.658874],[102.663745,32.658782],[102.663774,32.658798],[102.663842,32.65881],[102.663957,32.658847],[102.664166,32.658972],[102.664291,32.659076],[102.664352,32.659195],[102.664496,32.659481],[102.664431,32.659931],[102.664328,32.660206],[102.664308,32.660258],[102.664301,32.660276],[102.664145,32.660693],[102.663901,32.661238],[102.663909,32.661314],[102.66393,32.661365],[102.663946,32.661403],[102.663976,32.661466],[102.664012,32.661519],[102.664063,32.661558],[102.663935,32.661619],[102.663914,32.66163],[102.663873,32.661639],[102.663952,32.661856],[102.663999,32.661985],[102.664002,32.661992],[102.664054,32.662135],[102.66456,32.662507],[102.664645,32.662571],[102.664653,32.662576],[102.664682,32.662598],[102.664897,32.662666],[102.664908,32.66267],[102.664943,32.662681],[102.665581,32.662885],[102.666715,32.66319],[102.666766,32.663204],[102.6669,32.66324],[102.667305,32.663349],[102.667533,32.663334],[102.667752,32.663338],[102.668238,32.663295],[102.668465,32.663198],[102.669047,32.66295],[102.669561,32.662815],[102.669852,32.662739],[102.669939,32.662765],[102.669943,32.662767],[102.67017,32.662835],[102.670581,32.663429],[102.670713,32.663575],[102.670729,32.663593],[102.67085,32.663727],[102.670858,32.663736],[102.670925,32.663809],[102.670967,32.663856],[102.671203,32.664118],[102.671874,32.664987],[102.671966,32.665055],[102.671979,32.665064],[102.672161,32.665199],[102.672287,32.665292],[102.672368,32.665317],[102.672453,32.665356],[102.672506,32.665382],[102.672538,32.6654],[102.672603,32.665479],[102.672814,32.66554],[102.6732,32.665651],[102.673228,32.665659],[102.673251,32.665666],[102.673508,32.665739],[102.6739,32.665784],[102.674038,32.665799],[102.674246,32.665823],[102.674347,32.665834],[102.674354,32.665835],[102.674498,32.665851],[102.674558,32.665833],[102.674644,32.665833],[102.674713,32.665832],[102.674781,32.665836],[102.674833,32.665856],[102.674869,32.665893],[102.674897,32.665896],[102.674944,32.665901],[102.675118,32.665901],[102.675141,32.665901],[102.675492,32.6659],[102.675556,32.6659],[102.675723,32.6659],[102.675732,32.6659],[102.676871,32.665897],[102.677008,32.665897],[102.677131,32.665897],[102.677243,32.665925],[102.67728,32.665935],[102.677703,32.666043],[102.677937,32.666103],[102.677949,32.666105],[102.678058,32.666133],[102.678085,32.66614],[102.678324,32.666447],[102.678355,32.666486],[102.678393,32.666535],[102.67855,32.666735],[102.678713,32.667587],[102.678699,32.668128],[102.678911,32.668592],[102.67908,32.668782],[102.679253,32.668977],[102.679342,32.669005],[102.679356,32.66901],[102.679442,32.669037],[102.67976,32.669138],[102.679888,32.669178],[102.680427,32.669351],[102.680707,32.669653],[102.680831,32.669767],[102.68084,32.669776],[102.680857,32.669791],[102.680891,32.669823],[102.681199,32.670106],[102.681207,32.670113],[102.681219,32.670179],[102.681293,32.670263],[102.681376,32.670362],[102.681539,32.670496],[102.681564,32.670516],[102.681696,32.670622],[102.681834,32.670695],[102.681933,32.670728],[102.682008,32.670744],[102.682149,32.670761],[102.68225,32.670765],[102.682315,32.670764],[102.682328,32.670767],[102.682626,32.670848],[102.682674,32.670861],[102.683073,32.670969],[102.683415,32.671332],[102.683452,32.671372],[102.683467,32.671388],[102.68354,32.671465],[102.683542,32.67147],[102.683669,32.671799],[102.683682,32.671834],[102.683692,32.67186],[102.68374,32.671985],[102.68375,32.67201],[102.683765,32.672191],[102.683765,32.672199],[102.683798,32.672606],[102.684081,32.672828],[102.684462,32.672916],[102.685395,32.672717],[102.685713,32.672804],[102.685769,32.673103],[102.68576,32.673454],[102.685527,32.673541],[102.685475,32.673561],[102.685326,32.673616],[102.685276,32.673635],[102.685199,32.673653],[102.684761,32.673761],[102.684191,32.67371],[102.683994,32.673692],[102.683294,32.673679],[102.683125,32.673646],[102.682334,32.673489],[102.68224,32.67347],[102.682123,32.673486],[102.681534,32.673566],[102.681076,32.673936],[102.681001,32.674262],[102.681038,32.674407],[102.681082,32.674508],[102.681159,32.674621],[102.681323,32.674784],[102.681411,32.674893],[102.681482,32.674975],[102.681521,32.675014],[102.681649,32.6751],[102.681748,32.675149],[102.681835,32.675168],[102.681991,32.67516],[102.682117,32.675122],[102.682356,32.675177],[102.68256,32.675187],[102.683283,32.675222],[102.683561,32.675298],[102.683601,32.675309],[102.683689,32.675608],[102.683384,32.676676],[102.683215,32.676868],[102.683093,32.677005],[102.683032,32.677005],[102.682963,32.677006],[102.682918,32.677014],[102.682844,32.677026],[102.682743,32.677065],[102.682618,32.677107],[102.68247,32.677154],[102.682431,32.677204],[102.682416,32.677278],[102.682413,32.677294],[102.682385,32.677355],[102.682326,32.677409],[102.682321,32.677414],[102.68229,32.677449],[102.682279,32.677463],[102.682263,32.677557],[102.682238,32.677683],[102.682241,32.677779],[102.682246,32.677847],[102.681831,32.678132],[102.681757,32.678183],[102.681706,32.678218],[102.681667,32.678244],[102.681637,32.678265],[102.681366,32.678451],[102.680135,32.679134],[102.678383,32.679422],[102.676639,32.67939],[102.67635,32.67926],[102.676287,32.679232],[102.67544,32.678854],[102.674451,32.678964],[102.673309,32.679135],[102.672682,32.679893],[102.672656,32.679999],[102.672635,32.680083],[102.672356,32.681203],[102.67192,32.682958],[102.671496,32.684682],[102.671464,32.685901],[102.671802,32.687511],[102.672292,32.689059],[102.67323,32.690937],[102.673717,32.692614],[102.674282,32.694228],[102.674756,32.696418],[102.675227,32.698736],[102.675186,32.700339],[102.675395,32.701302],[102.675466,32.701628],[102.675476,32.70156],[102.676411,32.70271],[102.678,32.703419],[102.678915,32.703254],[102.680319,32.702827],[102.681951,32.701906],[102.682445,32.701482],[102.68316,32.700868],[102.683759,32.700354],[102.687705,32.696008],[102.68777,32.695936],[102.691877,32.691413],[102.693023,32.69015],[102.693482,32.690181],[102.693933,32.690212],[102.693941,32.690213],[102.695055,32.690323],[102.696438,32.690711],[102.698076,32.691602],[102.698802,32.692522],[102.698869,32.694109],[102.698738,32.695012],[102.698919,32.696329],[102.69933,32.697017],[102.699845,32.697841],[102.701003,32.698633],[102.70224,32.698831],[102.702284,32.698838],[102.703359,32.698676],[102.704211,32.698918],[102.705215,32.699435],[102.706591,32.70014],[102.707656,32.700386],[102.708339,32.700897],[102.709341,32.701549],[102.710017,32.702332],[102.710474,32.703337],[102.711045,32.704072],[102.710897,32.705149],[102.710358,32.706276],[102.709519,32.70857],[102.709183,32.710255],[102.709942,32.711094],[102.710765,32.713253],[102.711114,32.714868],[102.711905,32.716367],[102.712407,32.717695],[102.712902,32.719354],[102.713119,32.720389],[102.713414,32.722209],[102.713869,32.723495],[102.714009,32.725642],[102.71461,32.727312],[102.714921,32.728174],[102.715777,32.730953],[102.716123,32.732691],[102.716965,32.734109],[102.717708,32.735566],[102.717499,32.736098],[102.717228,32.737165],[102.716983,32.73914],[102.716626,32.743546],[102.716646,32.743862],[102.71673,32.745239],[102.717,32.748006],[102.717373,32.748714],[102.717787,32.749711],[102.718502,32.750343],[102.719018,32.751013],[102.719211,32.751263],[102.720301,32.75252],[102.720966,32.753233],[102.721534,32.753945],[102.72146,32.754933],[102.721475,32.756253],[102.721303,32.758239],[102.721268,32.758641],[102.721183,32.760042],[102.721403,32.760994],[102.721535,32.761574],[102.721528,32.761909],[102.721562,32.761901],[102.721722,32.761859],[102.722461,32.761665],[102.723295,32.761681],[102.725669,32.762026],[102.726982,32.761949],[102.728347,32.762125],[102.729958,32.762053],[102.731268,32.762077],[102.732346,32.761845],[102.733005,32.761706],[102.734195,32.761778],[102.736213,32.762066],[102.738288,32.762456],[102.739106,32.763074],[102.740571,32.764057],[102.74239,32.76516],[102.743606,32.766541],[102.745408,32.767744],[102.746884,32.768778],[102.746896,32.768786],[102.746903,32.768791],[102.746988,32.768817],[102.747007,32.768823],[102.747886,32.769096],[102.747987,32.769127],[102.74832,32.769231],[102.748441,32.769253],[102.748457,32.769256],[102.748725,32.769304],[102.74874,32.769307],[102.749675,32.769477],[102.749676,32.769478],[102.749698,32.769482],[102.751567,32.769817],[102.753668,32.76978],[102.755127,32.77041],[102.756347,32.77164],[102.756686,32.772363],[102.757023,32.7732],[102.757893,32.774121],[102.759334,32.775469],[102.760564,32.776321],[102.762059,32.777292],[102.762794,32.778286],[102.76358,32.779018],[102.764572,32.780432],[102.766972,32.782778],[102.768283,32.783934],[102.768603,32.789036],[102.768401,32.789977],[102.768283,32.791107],[102.767846,32.792496],[102.767758,32.794231],[102.7685,32.796736],[102.769432,32.798791],[102.77063,32.800927],[102.771281,32.801731],[102.772867,32.802665],[102.774801,32.803983],[102.777841,32.805774],[102.779207,32.806553],[102.779383,32.80667],[102.778828,32.807415],[102.778451,32.808201],[102.778086,32.810271],[102.778714,32.811981],[102.778952,32.813193],[102.778791,32.814285],[102.778842,32.815834],[102.778698,32.818021],[102.778082,32.819407],[102.77715,32.820938],[102.776819,32.82165],[102.776928,32.822671],[102.777201,32.824299],[102.777562,32.825929],[102.77749,32.827022],[102.777092,32.8281],[102.776963,32.828447],[102.776835,32.829659],[102.776788,32.830105],[102.776818,32.830249],[102.776906,32.830668],[102.777068,32.831432],[102.777469,32.833251],[102.777969,32.834732],[102.778723,32.836784],[102.778864,32.838297],[102.779019,32.839244],[102.778935,32.840828],[102.77866,32.844711],[102.778601,32.847051],[102.778394,32.84818],[102.77869,32.848865],[102.780298,32.850743],[102.780965,32.852718],[102.781341,32.853782],[102.78237,32.855536],[102.782782,32.856978],[102.782848,32.857923],[102.782824,32.858867],[102.782933,32.859888],[102.783364,32.862349],[102.78402,32.864739],[102.784091,32.865458],[102.784121,32.866063],[102.784325,32.866859],[102.785388,32.867293],[102.785395,32.867294],[102.785864,32.867321],[102.786326,32.867347],[102.786548,32.867429],[102.78658,32.867441],[102.786635,32.867461],[102.787301,32.867705],[102.787402,32.86777],[102.787411,32.867776],[102.787497,32.867831],[102.787511,32.86784],[102.787961,32.868131],[102.788486,32.868632],[102.789357,32.869591],[102.78952,32.869795],[102.789877,32.870242],[102.790525,32.871394],[102.790649,32.871614],[102.790717,32.872446],[102.791453,32.873441],[102.791954,32.874884],[102.791887,32.875789],[102.791732,32.876617],[102.792015,32.87783],[102.792195,32.879607],[102.792755,32.880486],[102.794064,32.88183],[102.794845,32.882788],[102.795721,32.883558],[102.795932,32.884053],[102.795936,32.884076],[102.796124,32.88534],[102.795807,32.887297],[102.795242,32.890232],[102.794852,32.891546],[102.794106,32.892741],[102.793577,32.894242],[102.793334,32.894993],[102.793136,32.895782],[102.792982,32.896572],[102.792529,32.897642],[102.792174,32.898483],[102.792136,32.898708],[102.792016,32.899424],[102.791897,32.90063],[102.791918,32.901574],[102.79194,32.902481],[102.792147,32.904164],[102.792201,32.904599],[102.792311,32.905583],[102.792598,32.906607],[102.79258,32.907362],[102.792562,32.908079],[102.792588,32.908293],[102.792589,32.908296],[102.792659,32.908868],[102.792674,32.908987],[102.792499,32.909857],[102.792469,32.910003],[102.792451,32.910076],[102.792448,32.91009],[102.79243,32.91016],[102.792427,32.910174],[102.792381,32.91036],[102.79235,32.910484],[102.792171,32.911206],[102.791795,32.91166],[102.791772,32.911688],[102.791637,32.911851],[102.79161,32.911953],[102.791593,32.911993],[102.791561,32.912038],[102.791531,32.912086],[102.791515,32.912118],[102.791503,32.91218],[102.791459,32.912257],[102.791388,32.912299],[102.791313,32.912243],[102.791248,32.912322],[102.791095,32.912434],[102.791086,32.91244],[102.790959,32.912533],[102.790291,32.913022],[102.79009,32.913887],[102.790084,32.91414],[102.790069,32.914745],[102.790066,32.914868],[102.790168,32.915826],[102.790175,32.915889],[102.790176,32.915935],[102.790184,32.916358],[102.790195,32.916856],[102.790195,32.916871],[102.790185,32.91692],[102.790161,32.917035],[102.790093,32.91736],[102.789727,32.917693],[102.789323,32.917724],[102.789246,32.917726],[102.789228,32.917726],[102.789098,32.91773],[102.78886,32.917735],[102.788656,32.91774],[102.788644,32.917719],[102.788542,32.91766],[102.788463,32.917656],[102.788329,32.917688],[102.788313,32.917692],[102.788186,32.917746],[102.788048,32.917806],[102.787935,32.917821],[102.787859,32.917819],[102.787644,32.917837],[102.787617,32.917841],[102.787394,32.917881],[102.787318,32.917956],[102.787287,32.918051],[102.78726,32.918079],[102.787174,32.918127],[102.786756,32.918358],[102.78661,32.918476],[102.786551,32.918524],[102.786525,32.918546],[102.786208,32.918801],[102.786149,32.918839],[102.786003,32.918932],[102.785914,32.918988],[102.785818,32.919049],[102.785616,32.919177],[102.785571,32.919205],[102.785332,32.919338],[102.784709,32.919681],[102.784388,32.919977],[102.78422,32.920068],[102.784185,32.920084],[102.78412,32.920115],[102.783675,32.920321],[102.783617,32.920393],[102.783543,32.920473],[102.783454,32.920564],[102.783366,32.92062],[102.783167,32.92094],[102.783114,32.921025],[102.783102,32.921043],[102.783091,32.921058],[102.782407,32.921923],[102.782113,32.922097],[102.781916,32.922214],[102.781909,32.922218],[102.781674,32.922357],[102.781286,32.922431],[102.781227,32.922443],[102.781198,32.922448],[102.781004,32.922486],[102.780877,32.92251],[102.780821,32.922521],[102.780707,32.922543],[102.779793,32.922567],[102.778451,32.92234],[102.777396,32.9222],[102.776782,32.921742],[102.776003,32.920942],[102.776038,32.920923],[102.776038,32.920889],[102.77599,32.920763],[102.775953,32.920716],[102.775837,32.920637],[102.775724,32.920578],[102.775685,32.920557],[102.775565,32.920533],[102.775406,32.92053],[102.775292,32.920549],[102.775272,32.920539],[102.775261,32.920538],[102.774659,32.920528],[102.774166,32.920519],[102.772761,32.9209],[102.772644,32.92093],[102.771647,32.921183],[102.770824,32.921393],[102.770498,32.921468],[102.769064,32.921799],[102.768917,32.921832],[102.768211,32.921995],[102.765263,32.922511],[102.763859,32.922868],[102.763759,32.922893],[102.763664,32.922917],[102.763326,32.923003],[102.76197,32.923076],[102.760483,32.923155],[102.759033,32.923413],[102.757962,32.923922],[102.75694,32.92439],[102.755851,32.925049],[102.755767,32.9251],[102.755343,32.92565],[102.755324,32.925675],[102.75512,32.92594],[102.755005,32.926005],[102.754486,32.926294],[102.754013,32.926339],[102.753762,32.926362],[102.752718,32.925775],[102.750897,32.92471],[102.750821,32.924666],[102.75014,32.924268],[102.749539,32.923916],[102.749067,32.92364],[102.749043,32.92362],[102.748981,32.923567],[102.748182,32.922896],[102.747441,32.92239],[102.747439,32.922335],[102.747439,32.922325],[102.747411,32.922251],[102.747367,32.922131],[102.747305,32.922024],[102.747181,32.921783],[102.747138,32.9217],[102.747119,32.921684],[102.746578,32.921241],[102.746567,32.921239],[102.746329,32.921189],[102.746121,32.921145],[102.746019,32.921124],[102.746005,32.921121],[102.745525,32.92102],[102.744962,32.921075],[102.744943,32.921059],[102.744916,32.92106],[102.744895,32.921081],[102.744411,32.921129],[102.744397,32.92113],[102.744126,32.921157],[102.743884,32.921212],[102.743816,32.921258],[102.74378,32.921278],[102.743748,32.92135],[102.743591,32.921428],[102.74334,32.921553],[102.743312,32.921719],[102.743304,32.921767],[102.74328,32.921913],[102.743256,32.922054],[102.743253,32.922069],[102.743209,32.92233],[102.743185,32.922477],[102.743265,32.922461],[102.743288,32.922482],[102.743284,32.92251],[102.743266,32.922591],[102.743221,32.922724],[102.743198,32.922799],[102.743198,32.922843],[102.743208,32.92291],[102.74322,32.922971],[102.743238,32.923032],[102.743254,32.923076],[102.743306,32.923128],[102.743392,32.923538],[102.74332,32.923671],[102.743241,32.923819],[102.742972,32.923786],[102.742914,32.923778],[102.742902,32.923777],[102.742859,32.923772],[102.742664,32.923748],[102.742473,32.923724],[102.742381,32.923703],[102.74136,32.923474],[102.741241,32.923447],[102.74112,32.923392],[102.740974,32.92334],[102.740795,32.923289],[102.740621,32.923268],[102.74047,32.923257],[102.740368,32.923194],[102.740282,32.92314],[102.740175,32.923074],[102.740037,32.922988],[102.739923,32.922917],[102.739811,32.922848],[102.739661,32.922755],[102.739501,32.92266],[102.739349,32.922569],[102.73921,32.922475],[102.739069,32.922388],[102.738913,32.922291],[102.738759,32.922196],[102.738677,32.922141],[102.738578,32.922075],[102.738424,32.921973],[102.738326,32.921907],[102.73822,32.921837],[102.738081,32.921744],[102.737933,32.921646],[102.737763,32.921532],[102.737582,32.921412],[102.737408,32.921296],[102.737241,32.921184],[102.737116,32.921101],[102.736945,32.920987],[102.736807,32.920895],[102.73663,32.920778],[102.736439,32.920621],[102.736177,32.920407],[102.735922,32.920198],[102.735707,32.920021],[102.735575,32.919913],[102.735408,32.919777],[102.735104,32.919528],[102.734929,32.919384],[102.734786,32.919267],[102.734604,32.919118],[102.734407,32.918941],[102.734196,32.918751],[102.733962,32.918514],[102.733821,32.918381],[102.733813,32.918373],[102.733601,32.918174],[102.733385,32.91797],[102.733241,32.917835],[102.733084,32.91758],[102.732956,32.917371],[102.732834,32.917172],[102.732409,32.916481],[102.732131,32.916324],[102.731291,32.915851],[102.7311,32.915744],[102.730844,32.9156],[102.730825,32.915564],[102.730774,32.915564],[102.730742,32.915484],[102.73071,32.915442],[102.730692,32.915396],[102.730666,32.915328],[102.730646,32.915269],[102.730611,32.915197],[102.730604,32.915148],[102.730431,32.914821],[102.73045,32.914098],[102.730451,32.914056],[102.730457,32.913807],[102.730416,32.913718],[102.730393,32.913668],[102.730318,32.913505],[102.730317,32.913503],[102.730268,32.913397],[102.730192,32.913232],[102.72991,32.912621],[102.729624,32.912485],[102.729546,32.912448],[102.729416,32.912485],[102.729271,32.91247],[102.729104,32.912447],[102.729003,32.912416],[102.728956,32.912386],[102.728923,32.912373],[102.728853,32.912364],[102.728723,32.912359],[102.728318,32.91239],[102.728273,32.91241],[102.728178,32.912451],[102.728131,32.912471],[102.728089,32.912489],[102.727891,32.912583],[102.72786,32.9126],[102.7278,32.912634],[102.727718,32.912715],[102.727617,32.912821],[102.727519,32.912918],[102.727385,32.913042],[102.727329,32.913152],[102.727323,32.913157],[102.727005,32.913339],[102.726769,32.913295],[102.726683,32.913328],[102.726672,32.913328],[102.726669,32.913316],[102.726707,32.913283],[102.726503,32.913245],[102.726484,32.913241],[102.726459,32.913236],[102.726388,32.913223],[102.726047,32.913159],[102.724997,32.912622],[102.72498,32.912613],[102.724963,32.912605],[102.724813,32.912528],[102.724754,32.912513],[102.724466,32.912438],[102.724455,32.912436],[102.724443,32.912432],[102.724086,32.91234],[102.724068,32.912336],[102.72387,32.912284],[102.723754,32.912254],[102.723202,32.912112],[102.72308,32.91208],[102.722942,32.912045],[102.722804,32.912009],[102.722614,32.91196],[102.722608,32.911961],[102.722541,32.911974],[102.722528,32.911977],[102.722522,32.911978],[102.722416,32.911998],[102.721067,32.912257],[102.720696,32.91246],[102.720509,32.912563],[102.719994,32.912846],[102.71978,32.912873],[102.718304,32.913058],[102.71758,32.913167],[102.71658,32.912743],[102.716465,32.91247],[102.71643,32.912388],[102.716229,32.911912],[102.716218,32.911884],[102.716183,32.911854],[102.716182,32.911853],[102.715599,32.911339],[102.715582,32.911339],[102.715443,32.911336],[102.715372,32.911327],[102.715321,32.911309],[102.715254,32.911274],[102.715182,32.911236],[102.715117,32.911207],[102.715039,32.911186],[102.714956,32.911162],[102.71487,32.911103],[102.714747,32.911086],[102.714365,32.911054],[102.714299,32.911049],[102.714274,32.911047],[102.714123,32.911034],[102.713932,32.910911],[102.713413,32.910575],[102.712907,32.910053],[102.712776,32.909808],[102.712665,32.909666],[102.712609,32.909589],[102.712418,32.909461],[102.712252,32.909414],[102.712227,32.909408],[102.712116,32.909376],[102.711933,32.909306],[102.711733,32.909211],[102.711516,32.909092],[102.711279,32.908959],[102.71108,32.908821],[102.710956,32.908706],[102.710802,32.908622],[102.710755,32.908581],[102.710722,32.908578],[102.710292,32.908524],[102.709571,32.908435],[102.7087,32.908622],[102.708361,32.908658],[102.708216,32.908674],[102.708159,32.90868],[102.708094,32.908687],[102.707735,32.908726],[102.707646,32.908707],[102.707575,32.908692],[102.706683,32.908504],[102.706412,32.908304],[102.706367,32.908272],[102.706339,32.908251],[102.705893,32.907924],[102.705886,32.907918],[102.705833,32.907879],[102.705574,32.907808],[102.705442,32.907771],[102.70505,32.907662],[102.704856,32.907609],[102.704734,32.907575],[102.704478,32.907608],[102.704457,32.90761],[102.703898,32.907681],[102.703674,32.90771],[102.703656,32.907712],[102.703616,32.907717],[102.702512,32.907857],[102.702224,32.907894],[102.702106,32.907929],[102.702094,32.907932],[102.701927,32.907981],[102.700916,32.908276],[102.700469,32.908352],[102.700258,32.908388],[102.700235,32.908392],[102.698983,32.908605],[102.698446,32.908772],[102.698352,32.908801],[102.69829,32.90882],[102.697734,32.908993],[102.697625,32.909027],[102.697544,32.909051],[102.697536,32.909054],[102.697161,32.909169],[102.696122,32.909486],[102.69524,32.909546],[102.695183,32.90955],[102.694242,32.909614],[102.692375,32.909255],[102.691648,32.909009],[102.691632,32.909004],[102.691541,32.908973],[102.691524,32.908967],[102.691508,32.908962],[102.691436,32.908938],[102.691092,32.908822],[102.690849,32.908739],[102.690785,32.908684],[102.690442,32.908393],[102.690057,32.908066],[102.690044,32.908054],[102.689756,32.907809],[102.689737,32.907793],[102.689666,32.907732],[102.689484,32.907578],[102.688524,32.906942],[102.688397,32.906859],[102.688349,32.906826],[102.687006,32.90668],[102.686953,32.906701],[102.686929,32.90671],[102.686633,32.906829],[102.686622,32.906833],[102.68652,32.906874],[102.686487,32.906872],[102.685877,32.906839],[102.68578,32.906834],[102.685487,32.906818],[102.685367,32.906812],[102.685174,32.906788],[102.685024,32.90677],[102.684669,32.906727],[102.684588,32.906717],[102.684176,32.906668],[102.684065,32.906654],[102.683806,32.906623],[102.683784,32.90662],[102.683315,32.906611],[102.683042,32.906606],[102.682871,32.906603],[102.682832,32.906601],[102.682784,32.906598],[102.682777,32.906597],[102.682606,32.906587],[102.682449,32.906578],[102.68191,32.906545],[102.681343,32.906169],[102.681218,32.905396],[102.681288,32.905277],[102.681325,32.905214],[102.681571,32.904794],[102.682643,32.904259],[102.682647,32.904257],[102.68277,32.904196],[102.682796,32.904149],[102.682817,32.904128],[102.68285,32.904113],[102.682898,32.904094],[102.682939,32.904074],[102.682995,32.904034],[102.683052,32.903728],[102.683054,32.903717],[102.683152,32.9032],[102.682116,32.902328],[102.681595,32.90209],[102.681351,32.901978],[102.681107,32.901866],[102.681053,32.901841],[102.680548,32.901609],[102.68039,32.9014],[102.680397,32.90136],[102.680399,32.901325],[102.680397,32.901294],[102.680387,32.901265],[102.680348,32.901209],[102.680333,32.90119],[102.680306,32.901158],[102.680419,32.900913],[102.680429,32.90089],[102.680458,32.900829],[102.680677,32.900354],[102.680776,32.900262],[102.68106,32.9],[102.681367,32.899717],[102.68195,32.899485],[102.682538,32.899364],[102.682578,32.899356],[102.682595,32.899352],[102.682675,32.899336],[102.682987,32.89914],[102.683013,32.899108],[102.683031,32.899093],[102.683051,32.899082],[102.683071,32.899073],[102.683115,32.89906],[102.683116,32.899033],[102.683117,32.898998],[102.683121,32.898865],[102.683124,32.898712],[102.683163,32.898703],[102.683259,32.898671],[102.683286,32.898632],[102.683301,32.89855],[102.683301,32.898442],[102.683302,32.898416],[102.683266,32.898424],[102.683253,32.898474],[102.683219,32.89852],[102.683182,32.898554],[102.683128,32.898592],[102.683137,32.898249],[102.682616,32.89779],[102.682605,32.89778],[102.682525,32.89771],[102.682409,32.89764],[102.682273,32.897558],[102.682161,32.89749],[102.682138,32.897476],[102.681483,32.897082],[102.68052,32.896233],[102.680475,32.896192],[102.680198,32.895948],[102.680026,32.895797],[102.67982,32.895665],[102.679814,32.895643],[102.679779,32.895555],[102.679745,32.895517],[102.679629,32.895423],[102.679411,32.895317],[102.67922,32.895247],[102.679132,32.895223],[102.678985,32.895128],[102.677992,32.89485],[102.677744,32.89478],[102.677699,32.894764],[102.67769,32.89476],[102.6766,32.894353],[102.675437,32.893248],[102.67542,32.893233],[102.67538,32.893194],[102.675214,32.893161],[102.675156,32.89315],[102.675121,32.893143],[102.674934,32.893105],[102.674932,32.893105],[102.67471,32.89306],[102.674546,32.89318],[102.674391,32.893184],[102.674259,32.893207],[102.674224,32.89325],[102.674244,32.893347],[102.674267,32.893385],[102.674171,32.893456],[102.67406,32.893538],[102.673934,32.893631],[102.673905,32.893652],[102.673732,32.89378],[102.673727,32.893784],[102.673582,32.893891],[102.673208,32.894028],[102.672699,32.894213],[102.672417,32.894316],[102.672181,32.894434],[102.671994,32.894497],[102.67193,32.894503],[102.671904,32.894503],[102.671862,32.894594],[102.671247,32.894903],[102.670716,32.895224],[102.670569,32.895312],[102.67052,32.895342],[102.670465,32.895375],[102.669704,32.895513],[102.66962,32.895528],[102.66958,32.895536],[102.66945,32.895559],[102.669277,32.895625],[102.669132,32.89568],[102.669116,32.895686],[102.668799,32.895807],[102.668775,32.895816],[102.668715,32.895839],[102.668332,32.895985],[102.666727,32.896685],[102.665941,32.897279],[102.665743,32.897268],[102.665707,32.897265],[102.665347,32.897244],[102.665116,32.897231],[102.664991,32.897223],[102.664967,32.897222],[102.664933,32.89722],[102.664223,32.89676],[102.663669,32.895898],[102.663396,32.895284],[102.663359,32.895057],[102.663371,32.89486],[102.66337,32.89451],[102.663323,32.89421],[102.663343,32.893988],[102.663309,32.893941],[102.663284,32.893795],[102.663283,32.89368],[102.663286,32.893564],[102.663282,32.893498],[102.663254,32.893365],[102.663256,32.893314],[102.663256,32.893293],[102.663252,32.89328],[102.662943,32.892394],[102.662522,32.89194],[102.662236,32.891849],[102.661711,32.891681],[102.661289,32.891693],[102.660845,32.891706],[102.660163,32.892018],[102.659453,32.892706],[102.659423,32.892734],[102.658214,32.892995],[102.658175,32.893014],[102.657727,32.89323],[102.657708,32.893378],[102.657666,32.893716],[102.657717,32.893906],[102.65772,32.893918],[102.657903,32.8946],[102.65794,32.894737],[102.657951,32.894777],[102.65794,32.894795],[102.657916,32.894839],[102.657896,32.894884],[102.657877,32.894944],[102.657853,32.895028],[102.657844,32.895084],[102.657837,32.895136],[102.657831,32.895167],[102.657807,32.895215],[102.657779,32.895304],[102.657769,32.895364],[102.657763,32.89542],[102.657763,32.89547],[102.657774,32.895521],[102.657781,32.895561],[102.657788,32.895596],[102.657788,32.895639],[102.657799,32.895756],[102.657791,32.89579],[102.657775,32.895842],[102.65776,32.895902],[102.657748,32.895951],[102.657742,32.896022],[102.657734,32.896075],[102.657719,32.896123],[102.657707,32.89615],[102.65768,32.896189],[102.657647,32.896223],[102.657595,32.896269],[102.657554,32.89631],[102.657512,32.896339],[102.657405,32.896396],[102.657375,32.896389],[102.657355,32.896381],[102.657345,32.896369],[102.657314,32.896348],[102.657283,32.896342],[102.657312,32.896324],[102.657266,32.89632],[102.65702,32.896301],[102.656172,32.895635],[102.655809,32.894817],[102.655688,32.894715],[102.655666,32.894697],[102.655436,32.894503],[102.655407,32.894417],[102.655358,32.894329],[102.655286,32.894246],[102.655241,32.89421],[102.655207,32.894169],[102.655163,32.894122],[102.655118,32.894094],[102.655054,32.894067],[102.654965,32.894054],[102.654896,32.894049],[102.654798,32.893966],[102.654774,32.893945],[102.654404,32.893727],[102.653779,32.893359],[102.65373,32.893353],[102.652916,32.893261],[102.651553,32.893885],[102.651363,32.894026],[102.650313,32.894808],[102.650277,32.894835],[102.649741,32.895177],[102.649687,32.895212],[102.649682,32.895287],[102.649552,32.895349],[102.649337,32.895435],[102.649227,32.895473],[102.649158,32.895495],[102.64909,32.895525],[102.649038,32.895568],[102.648795,32.895776],[102.648588,32.895963],[102.648418,32.896141],[102.64829,32.896338],[102.648212,32.89648],[102.648187,32.896508],[102.648151,32.89655],[102.647916,32.896819],[102.647879,32.896904],[102.647714,32.897294],[102.647717,32.897316],[102.647728,32.897394],[102.647752,32.897419],[102.647788,32.897445],[102.647823,32.897475],[102.647846,32.897512],[102.64786,32.897547],[102.64793,32.897624],[102.647969,32.897665],[102.648051,32.897713],[102.648333,32.897805],[102.648415,32.897833],[102.648421,32.897844],[102.648468,32.897922],[102.648575,32.8981],[102.648604,32.89815],[102.64862,32.898176],[102.648662,32.898199],[102.64869,32.898216],[102.648715,32.89824],[102.648726,32.898265],[102.648722,32.898283],[102.648697,32.898305],[102.648705,32.898318],[102.64874,32.898377],[102.648741,32.898383],[102.648955,32.899355],[102.64878,32.900186],[102.648746,32.900349],[102.648734,32.900406],[102.648717,32.900438],[102.648685,32.900502],[102.648589,32.900687],[102.64858,32.900704],[102.648493,32.900872],[102.648278,32.90129],[102.647988,32.90164],[102.647956,32.901679],[102.647949,32.901687],[102.647921,32.901721],[102.647781,32.901889],[102.64764,32.901948],[102.647604,32.901963],[102.64676,32.902316],[102.64648,32.90233],[102.646439,32.902333],[102.646228,32.902343],[102.645604,32.902375],[102.644939,32.902038],[102.644289,32.901174],[102.644176,32.901064],[102.644163,32.901051],[102.644144,32.901032],[102.644057,32.900946],[102.643867,32.90076],[102.643849,32.900753],[102.643616,32.900664],[102.643604,32.900659],[102.643417,32.900587],[102.6432,32.900504],[102.642113,32.900808],[102.642078,32.900818],[102.642057,32.900824],[102.641843,32.900884],[102.641649,32.901007],[102.64163,32.901019],[102.641605,32.901035],[102.640913,32.901475],[102.63978,32.902389],[102.639772,32.902395],[102.639571,32.902558],[102.639537,32.902585],[102.639399,32.90291],[102.639282,32.902909],[102.639166,32.903117],[102.639114,32.903378],[102.638917,32.903767],[102.638813,32.904022],[102.638725,32.904683],[102.638729,32.904799],[102.63872,32.904826],[102.638717,32.904836],[102.638653,32.905044],[102.638736,32.90575],[102.638736,32.905752],[102.638742,32.905803],[102.638776,32.906093],[102.63881,32.906386],[102.638846,32.906641],[102.638847,32.906642],[102.638848,32.906654],[102.638899,32.907013],[102.638906,32.907058],[102.638977,32.90756],[102.638979,32.90757],[102.638991,32.907659],[102.638974,32.907675],[102.638949,32.907703],[102.638926,32.907731],[102.638899,32.907758],[102.638875,32.907784],[102.638857,32.907807],[102.638858,32.907849],[102.638854,32.907902],[102.638816,32.907979],[102.638808,32.908094],[102.638818,32.908252],[102.63883,32.908446],[102.638775,32.908519],[102.638719,32.908595],[102.638712,32.908603],[102.638689,32.908634],[102.638553,32.908816],[102.637774,32.908863],[102.63776,32.908864],[102.637544,32.908877],[102.637562,32.90884],[102.637562,32.908815],[102.637542,32.908784],[102.637512,32.908781],[102.637467,32.908792],[102.637379,32.908827],[102.6372,32.908772],[102.637197,32.90877],[102.637189,32.908768],[102.636573,32.908576],[102.636569,32.908575],[102.636298,32.908491],[102.636157,32.908447],[102.636056,32.908415],[102.636014,32.908402],[102.635631,32.908196],[102.635759,32.908208],[102.635831,32.908216],[102.635777,32.908162],[102.635734,32.908135],[102.635648,32.908099],[102.635548,32.908071],[102.635437,32.90806],[102.635295,32.908014],[102.635186,32.907955],[102.634924,32.907813],[102.634893,32.907818],[102.6348,32.907831],[102.634803,32.907842],[102.634825,32.907857],[102.634845,32.907863],[102.634881,32.90788],[102.634866,32.90789],[102.63481,32.907899],[102.634773,32.907902],[102.634725,32.907908],[102.634669,32.907916],[102.634622,32.90792],[102.634578,32.90792],[102.63451,32.907935],[102.63444,32.907938],[102.634425,32.907924],[102.634408,32.907894],[102.634405,32.907885],[102.634259,32.907906],[102.634151,32.907921],[102.634106,32.907965],[102.633982,32.908013],[102.63376,32.908214],[102.633673,32.90837],[102.633669,32.908378],[102.633706,32.908358],[102.633697,32.908384],[102.633672,32.908455],[102.633446,32.909084],[102.633448,32.909315],[102.633451,32.909577],[102.633459,32.910423],[102.633158,32.911157],[102.633161,32.911223],[102.633099,32.911405],[102.633064,32.911482],[102.63295,32.911488],[102.632554,32.911727],[102.632352,32.911849],[102.632265,32.911902],[102.632122,32.911942],[102.632098,32.911948],[102.631709,32.912057],[102.631528,32.912107],[102.631066,32.912236],[102.63096,32.912265],[102.63089,32.912285],[102.63074,32.912327],[102.630646,32.912353],[102.630222,32.912471],[102.630083,32.91251],[102.629619,32.912738],[102.629352,32.912869],[102.629346,32.912872],[102.629248,32.912921],[102.628729,32.913174],[102.628468,32.913304],[102.628357,32.913358],[102.628346,32.913364],[102.627938,32.913564],[102.627826,32.913638],[102.627857,32.913679],[102.627804,32.913724],[102.627757,32.913764],[102.627717,32.913797],[102.627673,32.913766],[102.627622,32.913737],[102.627566,32.913712],[102.627486,32.913682],[102.627372,32.913652],[102.627293,32.913637],[102.627293,32.913665],[102.627294,32.913681],[102.627296,32.913693],[102.627301,32.913705],[102.627311,32.913725],[102.627312,32.913727],[102.627329,32.913749],[102.627343,32.913764],[102.627359,32.913775],[102.627386,32.913787],[102.627403,32.913797],[102.627407,32.913805],[102.627407,32.913819],[102.627408,32.913845],[102.627409,32.913899],[102.627406,32.913915],[102.62732,32.913971],[102.6273,32.913985],[102.627293,32.913989],[102.627188,32.913927],[102.627174,32.913921],[102.627014,32.914039],[102.626826,32.914228],[102.62657,32.914466],[102.626464,32.914602],[102.626331,32.914751],[102.626316,32.914762],[102.626231,32.91482],[102.62621,32.914864],[102.626131,32.914873],[102.625475,32.915709],[102.625147,32.916259],[102.625056,32.91641],[102.625006,32.916494],[102.624972,32.916551],[102.624471,32.917272],[102.624304,32.91738],[102.623325,32.91801],[102.622727,32.918396],[102.622575,32.918494],[102.622537,32.918518],[102.622456,32.91857],[102.622344,32.918642],[102.622268,32.918691],[102.622264,32.91871],[102.622252,32.918768],[102.622121,32.919364],[102.622022,32.919816],[102.62206,32.91986],[102.622119,32.919923],[102.622167,32.919965],[102.622164,32.92019],[102.622187,32.920224],[102.622252,32.920318],[102.622343,32.92045],[102.622378,32.920501],[102.622472,32.920638],[102.622504,32.920684],[102.622518,32.920701],[102.622552,32.92074],[102.6226,32.920797],[102.622695,32.920909],[102.622876,32.921123],[102.623484,32.921839],[102.62413,32.922457],[102.62423,32.922553],[102.62438,32.922696],[102.624385,32.922701],[102.624406,32.922721],[102.624427,32.922741],[102.62437,32.922788],[102.624522,32.922893],[102.624547,32.922905],[102.624716,32.923072],[102.62479,32.923129],[102.624853,32.923176],[102.624911,32.923211],[102.625064,32.923265],[102.625123,32.923279],[102.625135,32.923302],[102.625125,32.923322],[102.625088,32.923338],[102.625042,32.923351],[102.624992,32.923371],[102.624956,32.923393],[102.624953,32.923416],[102.624965,32.923437],[102.624994,32.923441],[102.625048,32.923421],[102.625101,32.923415],[102.625141,32.923431],[102.625196,32.923452],[102.625238,32.923459],[102.625316,32.923467],[102.625361,32.923485],[102.625368,32.923522],[102.625375,32.923548],[102.625424,32.923582],[102.625475,32.923596],[102.62553,32.923609],[102.625586,32.923629],[102.625633,32.923653],[102.625661,32.923676],[102.625703,32.92369],[102.625732,32.923722],[102.625746,32.923751],[102.625774,32.923775],[102.625802,32.923772],[102.625821,32.923754],[102.625858,32.923709],[102.625869,32.923702],[102.626133,32.923866],[102.626219,32.92392],[102.626306,32.923997],[102.626462,32.924135],[102.626609,32.924265],[102.626683,32.92433],[102.626866,32.924491],[102.627123,32.924718],[102.627159,32.92475],[102.627204,32.924827],[102.62724,32.924891],[102.62737,32.925116],[102.627443,32.925242],[102.627509,32.925355],[102.627544,32.925416],[102.627565,32.925452],[102.627717,32.925716],[102.627822,32.925898],[102.627826,32.925905],[102.627842,32.925932],[102.627941,32.926104],[102.627952,32.926149],[102.628035,32.926495],[102.628072,32.926649],[102.62809,32.926724],[102.628244,32.927368],[102.627833,32.928334],[102.627594,32.928481],[102.626806,32.928964],[102.626676,32.929114],[102.626655,32.929138],[102.626642,32.929153],[102.626012,32.929882],[102.625868,32.930111],[102.625668,32.93043],[102.625621,32.930505],[102.625606,32.930529],[102.625524,32.93066],[102.625345,32.930946],[102.625332,32.930966],[102.625177,32.931215],[102.625169,32.931228],[102.625197,32.931232],[102.625206,32.931252],[102.625206,32.931274],[102.625195,32.931307],[102.625181,32.931332],[102.625159,32.931349],[102.625083,32.931365],[102.625046,32.931365],[102.625017,32.931375],[102.624994,32.931421],[102.624988,32.931461],[102.62497,32.931512],[102.624945,32.931545],[102.624893,32.931572],[102.624853,32.931583],[102.624823,32.931597],[102.624812,32.931628],[102.62483,32.931679],[102.624694,32.931801],[102.624417,32.932049],[102.624352,32.932108],[102.62434,32.932118],[102.624322,32.932275],[102.624296,32.932367],[102.624268,32.932451],[102.62425,32.932496],[102.624212,32.932505],[102.624131,32.932516],[102.624021,32.932543],[102.623915,32.932574],[102.623863,32.932619],[102.623785,32.932719],[102.623691,32.932796],[102.623547,32.932913],[102.62347,32.932992],[102.623394,32.933046],[102.623314,32.933071],[102.623205,32.933127],[102.623085,32.933154],[102.623006,32.933178],[102.622959,32.933214],[102.622869,32.933262],[102.622749,32.933313],[102.622607,32.933378],[102.622452,32.933447],[102.622308,32.933513],[102.622146,32.933591],[102.621992,32.933632],[102.621881,32.933675],[102.621854,32.933686],[102.621769,32.93371],[102.621693,32.933708],[102.621696,32.93369],[102.621698,32.93368],[102.621699,32.933675],[102.621682,32.933559],[102.621677,32.933527],[102.621431,32.933512],[102.620815,32.933476],[102.620127,32.933377],[102.620041,32.933364],[102.619924,32.933347],[102.619521,32.933289],[102.618546,32.933207],[102.618538,32.933206],[102.618315,32.933188],[102.618273,32.933184],[102.617902,32.933142],[102.617769,32.933127],[102.617755,32.933125],[102.617518,32.933099],[102.616977,32.933038],[102.616086,32.933994],[102.616112,32.934807],[102.616183,32.934882],[102.616202,32.934903],[102.617001,32.935757],[102.617902,32.936261],[102.617919,32.936263],[102.618905,32.936357],[102.618958,32.936362],[102.620007,32.936327],[102.620401,32.936314],[102.620468,32.936312],[102.620499,32.936311],[102.621837,32.936446],[102.621987,32.936461],[102.62226,32.936489],[102.622375,32.936501],[102.622872,32.936552],[102.623307,32.936597],[102.623426,32.93661],[102.624729,32.936978],[102.624752,32.937074],[102.624805,32.937105],[102.624854,32.937123],[102.624961,32.937152],[102.62506,32.937158],[102.625103,32.937156],[102.625218,32.937134],[102.626004,32.937389],[102.626862,32.937789],[102.627002,32.937855],[102.627068,32.937934],[102.627091,32.937961],[102.62737,32.938296],[102.627485,32.938434],[102.627572,32.938538],[102.627586,32.938556],[102.627655,32.938638],[102.627788,32.939417],[102.627797,32.939471],[102.627815,32.93958],[102.627841,32.939733],[102.627846,32.939758],[102.627863,32.93986],[102.627857,32.940081],[102.627855,32.940176],[102.627853,32.940184],[102.627841,32.940702],[102.627836,32.940881],[102.627817,32.940889],[102.627786,32.940914],[102.627766,32.94096],[102.627755,32.941008],[102.627748,32.941041],[102.627744,32.94106],[102.627707,32.941113],[102.627706,32.941115],[102.627734,32.941265],[102.627746,32.941325],[102.627763,32.941406],[102.627778,32.941492],[102.627815,32.941644],[102.627811,32.942347],[102.62781,32.942438],[102.62781,32.942466],[102.627809,32.94268],[102.627808,32.94282],[102.627807,32.942856],[102.627806,32.943155],[102.627805,32.943247],[102.6278,32.94398],[102.6278,32.944038],[102.627799,32.944073],[102.627788,32.944485],[102.627781,32.944728],[102.627538,32.944807],[102.627475,32.944827],[102.626956,32.944996],[102.626771,32.944999],[102.626715,32.944999],[102.626547,32.945002],[102.625877,32.945011],[102.625829,32.945011],[102.625704,32.945013],[102.625517,32.945004],[102.625312,32.944994],[102.6252,32.944988],[102.625021,32.944979],[102.624962,32.944976],[102.624921,32.944974],[102.624897,32.944973],[102.624358,32.944947],[102.622627,32.944914],[102.622554,32.944902],[102.62253,32.944946],[102.622461,32.944995],[102.622399,32.94504],[102.622282,32.945131],[102.622188,32.945178],[102.622184,32.94527],[102.6222,32.945615],[102.622203,32.945672],[102.622215,32.94592],[102.622588,32.94636],[102.62325,32.946751],[102.623569,32.946939],[102.623832,32.947094],[102.623865,32.947114],[102.623915,32.947143],[102.62395,32.94717],[102.623969,32.947185],[102.623829,32.94723],[102.623752,32.947253],[102.623661,32.947282],[102.623575,32.947311],[102.623541,32.947333],[102.623654,32.947338],[102.623772,32.947322],[102.6239,32.947298],[102.62409,32.947278],[102.624337,32.947469],[102.624519,32.94761],[102.624661,32.947719],[102.624921,32.94792],[102.625221,32.948308],[102.625351,32.948476],[102.625371,32.948488],[102.625474,32.948537],[102.625545,32.948604],[102.625673,32.948727],[102.625736,32.948794],[102.625731,32.948804],[102.625684,32.948907],[102.625727,32.948963],[102.625803,32.949061],[102.625835,32.949102],[102.625849,32.949119],[102.625857,32.949129],[102.625912,32.949199],[102.62597,32.949274],[102.626241,32.949485],[102.626523,32.949756],[102.626617,32.949834],[102.626711,32.949872],[102.626858,32.949902],[102.627028,32.949901],[102.627195,32.949893],[102.627333,32.949871],[102.627511,32.949803],[102.627607,32.949758],[102.627695,32.949759],[102.627807,32.949785],[102.62867,32.94929],[102.628679,32.949286],[102.628679,32.949261],[102.628718,32.949208],[102.628805,32.949141],[102.628909,32.949071],[102.629036,32.948996],[102.629121,32.948941],[102.62918,32.948888],[102.629242,32.94884],[102.629287,32.948833],[102.62931,32.948845],[102.629284,32.948885],[102.629237,32.948921],[102.629183,32.948969],[102.62915,32.949005],[102.629132,32.94902],[102.629128,32.94903],[102.629128,32.949052],[102.629128,32.949072],[102.629124,32.949091],[102.629149,32.949084],[102.629275,32.949029],[102.629284,32.949026],[102.629305,32.949017],[102.629514,32.948927],[102.62965,32.948949],[102.629671,32.948952],[102.629708,32.948958],[102.629789,32.94897],[102.629896,32.948988],[102.630073,32.949016],[102.630223,32.94904],[102.630559,32.949094],[102.630664,32.949111],[102.630717,32.949168],[102.630797,32.949254],[102.630945,32.949414],[102.631026,32.949501],[102.631147,32.949632],[102.631226,32.949717],[102.631239,32.949864],[102.631253,32.950011],[102.631261,32.950096],[102.631268,32.950179],[102.631281,32.950321],[102.631289,32.950407],[102.631292,32.950435],[102.631305,32.95058],[102.631325,32.950801],[102.631212,32.950989],[102.631193,32.951022],[102.630586,32.952031],[102.630581,32.952036],[102.630072,32.952476],[102.630043,32.952501],[102.630014,32.952525],[102.629867,32.952653],[102.629667,32.952825],[102.629362,32.95283],[102.628126,32.95285],[102.626533,32.952441],[102.626411,32.952439],[102.626055,32.952432],[102.62601,32.952431],[102.626001,32.952431],[102.625966,32.95243],[102.625819,32.952428],[102.625092,32.952414],[102.625048,32.952413],[102.624993,32.952412],[102.624898,32.952443],[102.624784,32.952481],[102.624718,32.952503],[102.624634,32.95253],[102.624575,32.952549],[102.624521,32.952567],[102.624407,32.952583],[102.624102,32.95268],[102.623952,32.952768],[102.623828,32.952861],[102.62369,32.953007],[102.623227,32.953304],[102.623137,32.953362],[102.62291,32.953509],[102.622672,32.953755],[102.621524,32.954943],[102.620567,32.955685],[102.61982,32.956263],[102.617603,32.957574],[102.61714,32.957866],[102.616773,32.957989],[102.616813,32.958071],[102.616683,32.958155],[102.616657,32.958171],[102.616466,32.958292],[102.61641,32.958327],[102.616157,32.958487],[102.615969,32.958606],[102.615775,32.958729],[102.615237,32.959638],[102.615113,32.960767],[102.61506,32.961253],[102.615041,32.961423],[102.615039,32.961439],[102.615024,32.961581],[102.615001,32.961791],[102.615128,32.961831],[102.615264,32.961873],[102.615258,32.961906],[102.615228,32.961926],[102.615167,32.961966],[102.615145,32.961999],[102.615143,32.962032],[102.615148,32.962077],[102.615175,32.962145],[102.61514,32.962163],[102.615074,32.962184],[102.615063,32.962228],[102.61506,32.962364],[102.615068,32.962424],[102.615101,32.96249],[102.615087,32.962527],[102.615045,32.962578],[102.61501,32.962636],[102.615004,32.962685],[102.615013,32.962764],[102.615008,32.96285],[102.615004,32.962926],[102.614996,32.963009],[102.614993,32.963056],[102.614992,32.963075],[102.61495,32.963164],[102.614924,32.963263],[102.614914,32.963326],[102.614901,32.963397],[102.614839,32.963528],[102.614816,32.963624],[102.614801,32.963688],[102.614795,32.96374],[102.614782,32.963811],[102.614731,32.963871],[102.614694,32.963962],[102.614661,32.964044],[102.614633,32.964126],[102.614606,32.964203],[102.614576,32.964278],[102.614576,32.96435],[102.61458,32.964406],[102.614554,32.964459],[102.614498,32.964475],[102.614255,32.964736],[102.614205,32.96479],[102.6142,32.964794],[102.614134,32.964866],[102.613554,32.964913],[102.612526,32.964997],[102.612445,32.964992],[102.612279,32.964982],[102.612068,32.964969],[102.612054,32.964968],[102.61198,32.964988],[102.611934,32.964987],[102.611856,32.964984],[102.611763,32.964986],[102.611579,32.965007],[102.611508,32.964992],[102.611433,32.964949],[102.611411,32.964929],[102.611354,32.964876],[102.611283,32.964827],[102.611226,32.964791],[102.611178,32.964775],[102.611113,32.964775],[102.611042,32.964775],[102.611003,32.96479],[102.611,32.964814],[102.611023,32.964837],[102.611051,32.964849],[102.611173,32.964917],[102.610987,32.964914],[102.610591,32.964906],[102.609961,32.964894],[102.609724,32.965032],[102.609676,32.96506],[102.609643,32.965079],[102.609626,32.965088],[102.609366,32.965239],[102.609357,32.965245],[102.609314,32.96527],[102.608788,32.965575],[102.607592,32.967067],[102.607494,32.967873],[102.607479,32.967994],[102.60747,32.968069],[102.607465,32.968105],[102.607427,32.968416],[102.60784,32.969122],[102.607989,32.969376],[102.608028,32.969443],[102.60807,32.969515],[102.608164,32.969675],[102.608589,32.969944],[102.609021,32.970216],[102.609047,32.970233],[102.609448,32.970391],[102.609539,32.970427],[102.611063,32.971029],[102.611207,32.971086],[102.612087,32.971478],[102.612348,32.971595],[102.612486,32.971878],[102.612603,32.972121],[102.612956,32.972851],[102.612939,32.9735],[102.612817,32.973998],[102.61265,32.974684],[102.611145,32.975738],[102.611094,32.975783],[102.610133,32.976627],[102.610081,32.976673],[102.610059,32.976693],[102.609699,32.977009],[102.609661,32.977056],[102.609001,32.977883],[102.608683,32.978282],[102.608636,32.978341],[102.608634,32.978352],[102.608452,32.979338],[102.60836,32.979838],[102.608326,32.980026],[102.608318,32.980065],[102.608276,32.980093],[102.608255,32.98014],[102.608216,32.980212],[102.608179,32.980261],[102.608148,32.980306],[102.608111,32.980371],[102.608097,32.980417],[102.608067,32.980495],[102.608028,32.980565],[102.607973,32.980628],[102.6079,32.980714],[102.607876,32.980759],[102.607853,32.980823],[102.607853,32.980869],[102.607853,32.980936],[102.607859,32.981006],[102.607863,32.981065],[102.60785,32.981107],[102.607824,32.98115],[102.607782,32.981204],[102.60771,32.981293],[102.607697,32.981342],[102.607691,32.981409],[102.607691,32.981449],[102.607699,32.981491],[102.607714,32.981534],[102.607727,32.981564],[102.607752,32.981596],[102.607784,32.981641],[102.607797,32.981674],[102.607814,32.981721],[102.607814,32.981738],[102.607817,32.981747],[102.607824,32.98175],[102.607811,32.981776],[102.607807,32.981784],[102.607727,32.981937],[102.607575,32.982231],[102.607528,32.982322],[102.6075,32.982377],[102.607396,32.982444],[102.607282,32.982517],[102.606602,32.982955],[102.606012,32.983334],[102.605268,32.983813],[102.605213,32.983848],[102.60496,32.984044],[102.604552,32.984358],[102.604134,32.984681],[102.604093,32.984712],[102.604081,32.984722],[102.603843,32.984905],[102.603682,32.98503],[102.60364,32.985062],[102.602978,32.985807],[102.602852,32.986324],[102.60284,32.986373],[102.602738,32.986789],[102.602545,32.987584],[102.602399,32.987871],[102.602371,32.987928],[102.602137,32.988388],[102.602002,32.988656],[102.601927,32.988769],[102.601541,32.989354],[102.601489,32.989433],[102.60146,32.989478],[102.60139,32.989583],[102.601333,32.989671],[102.600635,32.990232],[102.600506,32.990336],[102.600477,32.990284],[102.600399,32.990296],[102.600339,32.990322],[102.600289,32.990359],[102.600212,32.990406],[102.600144,32.990448],[102.600071,32.990565],[102.599935,32.990717],[102.599868,32.990857],[102.5998,32.991002],[102.599762,32.991106],[102.599715,32.991277],[102.599707,32.991307],[102.59971,32.991318],[102.599161,32.991631],[102.599116,32.991723],[102.598882,32.99221],[102.598643,32.992707],[102.598473,32.99306],[102.598135,32.993447],[102.598165,32.993482],[102.598197,32.993556],[102.598225,32.993622],[102.59824,32.993684],[102.598252,32.993758],[102.598252,32.99382],[102.598241,32.993894],[102.5982,32.99401],[102.598198,32.994014],[102.598145,32.994089],[102.598142,32.994094],[102.598043,32.994268],[102.597985,32.994376],[102.597985,32.994385],[102.59798,32.994457],[102.597978,32.994587],[102.597933,32.994676],[102.597837,32.994828],[102.597751,32.994957],[102.597736,32.995108],[102.597571,32.995504],[102.597539,32.995619],[102.597438,32.99598],[102.597496,32.996102],[102.59753,32.996173],[102.597535,32.996184],[102.597653,32.996432],[102.597802,32.996745],[102.597865,32.996847],[102.598769,32.998313],[102.598888,32.998445],[102.598982,32.998588],[102.599097,32.998698],[102.599032,32.998739],[102.599064,32.998867],[102.599114,32.999063],[102.599261,32.999641],[102.599487,33.000535],[102.599949,33.00133],[102.600198,33.001761],[102.600242,33.001836],[102.600337,33.002],[102.600288,33.002117],[102.600175,33.002382],[102.599868,33.003102],[102.599772,33.003328],[102.599699,33.003498],[102.599514,33.003933],[102.599175,33.004538],[102.598841,33.005135],[102.598568,33.005621],[102.598268,33.006157],[102.597988,33.006453],[102.597774,33.006678],[102.597681,33.006776],[102.597632,33.006829],[102.597291,33.007188],[102.597201,33.007266],[102.596502,33.007872],[102.596374,33.008063],[102.596361,33.008056],[102.596341,33.008054],[102.596302,33.00806],[102.596271,33.008089],[102.596247,33.008125],[102.59621,33.008151],[102.596165,33.008181],[102.596133,33.008224],[102.596058,33.00829],[102.596019,33.008347],[102.595979,33.008387],[102.595873,33.00855],[102.595851,33.008616],[102.595822,33.008722],[102.595803,33.00879],[102.595795,33.008862],[102.595796,33.008998],[102.595808,33.009091],[102.59581,33.00918],[102.595842,33.009421],[102.595964,33.009979],[102.596016,33.010342],[102.59602,33.010378],[102.596038,33.010551],[102.596067,33.010644],[102.596103,33.010737],[102.596111,33.010826],[102.596114,33.010931],[102.596117,33.010984],[102.596128,33.011012],[102.596159,33.011058],[102.596176,33.011106],[102.596194,33.0112],[102.596203,33.01129],[102.596222,33.011359],[102.596241,33.01145],[102.596279,33.011572],[102.596306,33.01165],[102.596329,33.011745],[102.596351,33.011828],[102.596377,33.011896],[102.596409,33.011956],[102.596486,33.012062],[102.596487,33.012067],[102.596501,33.012145],[102.596602,33.012707],[102.596587,33.01271],[102.596582,33.012722],[102.596583,33.012755],[102.5966,33.012861],[102.596619,33.012985],[102.596618,33.013132],[102.596637,33.01322],[102.596676,33.01334],[102.596723,33.013455],[102.596735,33.013516],[102.59678,33.013734],[102.596793,33.01388],[102.5968,33.013921],[102.596855,33.014254],[102.59689,33.014527],[102.596958,33.014857],[102.596998,33.014977],[102.597028,33.015083],[102.597057,33.015335],[102.597101,33.015493],[102.597124,33.015689],[102.597145,33.015832],[102.597169,33.015997],[102.597218,33.016187],[102.597217,33.016297],[102.597221,33.016398],[102.597226,33.016476],[102.597201,33.016546],[102.597178,33.016596],[102.597173,33.016653],[102.597174,33.016722],[102.597157,33.016801],[102.597126,33.01699],[102.597096,33.017099],[102.597084,33.017153],[102.597085,33.017167],[102.59709,33.01717],[102.597047,33.017276],[102.596987,33.017422],[102.596793,33.017892],[102.596761,33.017969],[102.596736,33.018017],[102.596136,33.019157],[102.595949,33.019299],[102.595286,33.019805],[102.594985,33.020034],[102.594183,33.020423],[102.593784,33.020616],[102.5936,33.020705],[102.59303,33.020981],[102.593002,33.020995],[102.592401,33.021225],[102.591902,33.021417],[102.591167,33.021699],[102.591161,33.021702],[102.591144,33.021708],[102.590511,33.021851],[102.590266,33.02204],[102.590142,33.022091],[102.590051,33.02212],[102.589907,33.022161],[102.589786,33.022188],[102.589704,33.022208],[102.589647,33.022218],[102.589576,33.022218],[102.589411,33.022213],[102.589334,33.022195],[102.589212,33.022163],[102.589152,33.022143],[102.58907,33.022159],[102.588579,33.022258],[102.588438,33.022402],[102.588426,33.022415],[102.588379,33.022393],[102.588312,33.022383],[102.588218,33.022382],[102.588144,33.022386],[102.5881,33.022403],[102.588085,33.022421],[102.588079,33.022449],[102.588106,33.022475],[102.588143,33.022492],[102.588183,33.02251],[102.5882,33.02253],[102.5882,33.022549],[102.588169,33.022586],[102.588098,33.022645],[102.587992,33.022703],[102.587944,33.02273],[102.587911,33.02274],[102.587876,33.022744],[102.587852,33.022736],[102.587836,33.022727],[102.587833,33.022713],[102.587857,33.022688],[102.587871,33.022651],[102.587872,33.022622],[102.587852,33.022603],[102.587813,33.022599],[102.587759,33.022624],[102.587663,33.022666],[102.587584,33.022693],[102.587525,33.022743],[102.587484,33.022815],[102.587477,33.022865],[102.587502,33.022953],[102.587534,33.023077],[102.587566,33.023207],[102.587611,33.0233],[102.587651,33.023372],[102.587684,33.023436],[102.587708,33.023479],[102.587717,33.023498],[102.587717,33.023529],[102.587689,33.023667],[102.58767,33.023781],[102.587602,33.023894],[102.587567,33.024012],[102.587533,33.02416],[102.587522,33.02426],[102.587511,33.024436],[102.587518,33.024537],[102.587537,33.024649],[102.587576,33.024778],[102.587601,33.024853],[102.587637,33.024948],[102.58767,33.025072],[102.587682,33.025154],[102.587693,33.025238],[102.587722,33.025307],[102.587752,33.025364],[102.587779,33.025436],[102.587795,33.025484],[102.587808,33.025504],[102.587821,33.025516],[102.587835,33.025516],[102.587867,33.025622],[102.587868,33.025627],[102.588082,33.02635],[102.588099,33.026455],[102.588196,33.027087],[102.588233,33.027326],[102.58808,33.028104],[102.588027,33.028371],[102.587814,33.028606],[102.58766,33.028776],[102.587423,33.028798],[102.587403,33.0288],[102.587086,33.02883],[102.586629,33.028873],[102.586502,33.028885],[102.586367,33.028897],[102.586204,33.028913],[102.586039,33.028928],[102.586011,33.028931],[102.585767,33.028951],[102.585759,33.028951],[102.585345,33.028985],[102.585243,33.028993],[102.585206,33.028996],[102.584898,33.029022],[102.58478,33.029044],[102.58454,33.02909],[102.584225,33.029],[102.584161,33.028982],[102.583938,33.028918],[102.583863,33.028828],[102.583777,33.028794],[102.58373,33.028787],[102.583558,33.028618],[102.583445,33.028507],[102.583413,33.028019],[102.583203,33.027803],[102.583154,33.027752],[102.583051,33.027706],[102.583036,33.0277],[102.582891,33.027635],[102.582875,33.027625],[102.582876,33.027658],[102.582872,33.027719],[102.582867,33.027746],[102.58285,33.027768],[102.582829,33.027774],[102.582816,33.027764],[102.582788,33.027724],[102.582759,33.027683],[102.582714,33.027629],[102.582682,33.027584],[102.582632,33.027511],[102.582562,33.027427],[102.58253,33.027407],[102.582492,33.027366],[102.582294,33.027218],[102.582207,33.027148],[102.582155,33.027137],[102.582137,33.027135],[102.582107,33.027138],[102.58206,33.027141],[102.582007,33.02714],[102.58193,33.027138],[102.581897,33.027129],[102.58188,33.027106],[102.581875,33.027071],[102.581879,33.027013],[102.581881,33.026973],[102.581881,33.026929],[102.581869,33.02692],[102.5818,33.026865],[102.581712,33.026863],[102.581564,33.02686],[102.5814,33.026857],[102.581295,33.027454],[102.58106,33.027936],[102.580833,33.028082],[102.580438,33.027924],[102.580409,33.027857],[102.580407,33.027851],[102.580365,33.027754],[102.580349,33.027715],[102.580229,33.027433],[102.579831,33.027351],[102.579781,33.027391],[102.579776,33.027395],[102.579766,33.027376],[102.579741,33.02735],[102.5797,33.027316],[102.579635,33.027288],[102.579553,33.027281],[102.579474,33.027289],[102.579386,33.027371],[102.579322,33.027438],[102.579209,33.027339],[102.578999,33.026885],[102.578945,33.026754],[102.578958,33.026736],[102.578967,33.026692],[102.578919,33.0266],[102.578865,33.026561],[102.578856,33.026539],[102.578624,33.025979],[102.578422,33.025619],[102.578412,33.025601],[102.578394,33.025597],[102.578459,33.025577],[102.578536,33.025544],[102.578573,33.025518],[102.578603,33.025482],[102.578625,33.025407],[102.578613,33.025312],[102.578554,33.02523],[102.578465,33.025182],[102.578381,33.025173],[102.578271,33.025223],[102.578151,33.0253],[102.578068,33.025354],[102.577993,33.025375],[102.577846,33.025382],[102.577719,33.025382],[102.577597,33.025435],[102.577502,33.025471],[102.577488,33.025476],[102.577466,33.025474],[102.577393,33.025468],[102.57682,33.025308],[102.576877,33.024822],[102.576672,33.024219],[102.576621,33.024138],[102.576576,33.024175],[102.576519,33.024115],[102.576574,33.024062],[102.576459,33.023878],[102.576169,33.023872],[102.57597,33.023868],[102.57565,33.024079],[102.575602,33.02411],[102.575488,33.024185],[102.575472,33.024195],[102.575447,33.024217],[102.574835,33.024745],[102.574522,33.024814],[102.574415,33.024738],[102.574358,33.024698],[102.574304,33.024659],[102.574305,33.024622],[102.574305,33.024612],[102.574313,33.024323],[102.574688,33.023618],[102.574919,33.023286],[102.574928,33.022949],[102.574501,33.022342],[102.574332,33.022001],[102.574404,33.021932],[102.57456,33.021781],[102.574594,33.021766],[102.574606,33.021779],[102.574624,33.021791],[102.574724,33.021856],[102.574812,33.021904],[102.574898,33.021918],[102.574983,33.021913],[102.575045,33.021888],[102.57509,33.021827],[102.575103,33.021787],[102.57511,33.021715],[102.575111,33.021674],[102.575107,33.021604],[102.575101,33.021529],[102.575115,33.021513],[102.575467,33.021125],[102.575479,33.020714],[102.575482,33.020602],[102.575489,33.020564],[102.575533,33.02034],[102.575625,33.020258],[102.57564,33.020246],[102.575708,33.020251],[102.575753,33.020236],[102.575843,33.020201],[102.575907,33.02015],[102.575967,33.020082],[102.57599,33.020037],[102.575993,33.019987],[102.57597,33.019953],[102.575989,33.019937],[102.576066,33.019799],[102.576176,33.019603],[102.576139,33.01934],[102.575929,33.018887],[102.575669,33.018787],[102.575653,33.018748],[102.57562,33.018684],[102.575537,33.018614],[102.57547,33.018581],[102.575384,33.01858],[102.575326,33.01858],[102.575282,33.018579],[102.575247,33.018595],[102.57523,33.018604],[102.575218,33.018598],[102.574703,33.018313],[102.574612,33.018262],[102.574533,33.01821],[102.574453,33.018156],[102.574333,33.018077],[102.573914,33.017799],[102.573531,33.017193],[102.573309,33.017151],[102.572818,33.017254],[102.572601,33.01717],[102.572587,33.017165],[102.57251,33.017135],[102.572514,33.017123],[102.572567,33.01698],[102.572569,33.016975],[102.572606,33.016875],[102.572706,33.016465],[102.572672,33.016248],[102.572758,33.016214],[102.572807,33.016178],[102.572857,33.016122],[102.572882,33.016083],[102.572882,33.016036],[102.572873,33.015994],[102.572855,33.015967],[102.572828,33.015924],[102.572802,33.015895],[102.572703,33.015863],[102.572602,33.015851],[102.57249,33.015853],[102.572479,33.015843],[102.57224,33.015632],[102.572005,33.015578],[102.571998,33.015576],[102.571989,33.015561],[102.571952,33.015495],[102.571897,33.015427],[102.571839,33.015361],[102.571792,33.015319],[102.571753,33.015256],[102.571701,33.015202],[102.571651,33.015183],[102.57163,33.015177],[102.57161,33.015172],[102.571586,33.01517],[102.571572,33.015169],[102.571574,33.015164],[102.571682,33.01491],[102.572006,33.014429],[102.571895,33.014331],[102.571705,33.014382],[102.571686,33.014315],[102.571679,33.014289],[102.571648,33.014213],[102.571586,33.014136],[102.57152,33.014066],[102.57148,33.014024],[102.571378,33.013999],[102.571312,33.013987],[102.571212,33.013973],[102.571149,33.013971],[102.571029,33.014015],[102.570984,33.014032],[102.570748,33.014119],[102.570725,33.014127],[102.57059,33.014177],[102.570199,33.014242],[102.569787,33.014311],[102.569426,33.014529],[102.569146,33.01501],[102.569089,33.015016],[102.569055,33.015019],[102.568917,33.015033],[102.568899,33.015046],[102.56884,33.015082],[102.568801,33.015106],[102.568759,33.015133],[102.568715,33.015156],[102.568662,33.01519],[102.568607,33.015225],[102.56859,33.015241],[102.568536,33.015276],[102.568466,33.015337],[102.568414,33.015368],[102.568408,33.015372],[102.56837,33.015403],[102.568316,33.015398],[102.568283,33.015382],[102.568249,33.015338],[102.568229,33.015291],[102.568267,33.015253],[102.568317,33.015215],[102.568353,33.015191],[102.568398,33.015176],[102.568456,33.015143],[102.568484,33.015122],[102.568512,33.015102],[102.568559,33.015057],[102.568596,33.015006],[102.568605,33.014951],[102.568597,33.014883],[102.568571,33.014829],[102.568425,33.014737],[102.568385,33.014721],[102.568333,33.01469],[102.568272,33.01468],[102.568234,33.01469],[102.568183,33.014718],[102.568178,33.014721],[102.568146,33.014746],[102.568115,33.014775],[102.568082,33.014828],[102.568073,33.01486],[102.56807,33.014907],[102.568057,33.01498],[102.568051,33.015022],[102.568033,33.015064],[102.568009,33.015103],[102.567987,33.015124],[102.567947,33.015145],[102.567889,33.015149],[102.567837,33.01514],[102.567799,33.015115],[102.567748,33.015072],[102.567728,33.015039],[102.567695,33.015012],[102.567668,33.014986],[102.567647,33.014967],[102.567637,33.014943],[102.567639,33.014903],[102.567675,33.014873],[102.567706,33.014862],[102.567713,33.014859],[102.567788,33.014833],[102.567853,33.014792],[102.567908,33.014749],[102.56796,33.014701],[102.567991,33.014652],[102.567994,33.014617],[102.567994,33.014572],[102.567966,33.014504],[102.567944,33.014481],[102.567914,33.014463],[102.56788,33.014448],[102.567845,33.01444],[102.567805,33.01443],[102.567768,33.014426],[102.567725,33.014424],[102.567646,33.014432],[102.567603,33.014452],[102.56754,33.014474],[102.567501,33.014482],[102.567442,33.014478],[102.567387,33.014464],[102.567332,33.014434],[102.567285,33.01437],[102.567256,33.014326],[102.567205,33.014274],[102.567113,33.014192],[102.567072,33.014156],[102.567028,33.014119],[102.566988,33.014081],[102.566961,33.014052],[102.56692,33.014019],[102.566886,33.014005],[102.566837,33.014003],[102.566794,33.014014],[102.566768,33.014035],[102.566746,33.014059],[102.56671,33.014092],[102.566694,33.014109],[102.566687,33.014128],[102.566684,33.014162],[102.566706,33.014202],[102.56672,33.014238],[102.566738,33.014279],[102.566753,33.014335],[102.566762,33.014384],[102.566762,33.014449],[102.566751,33.014475],[102.566742,33.014499],[102.56671,33.014548],[102.566684,33.014584],[102.566657,33.014613],[102.566625,33.014637],[102.566574,33.014662],[102.566533,33.01467],[102.566458,33.014667],[102.566427,33.014654],[102.566413,33.014636],[102.566419,33.014589],[102.566449,33.014539],[102.566472,33.014505],[102.566502,33.014452],[102.566525,33.01441],[102.566541,33.014371],[102.566558,33.014317],[102.566561,33.014264],[102.566559,33.014235],[102.56654,33.0142],[102.566501,33.01421],[102.566455,33.014276],[102.566406,33.014238],[102.566342,33.014224],[102.566269,33.01423],[102.566184,33.014236],[102.5661,33.014221],[102.566033,33.014201],[102.565929,33.014147],[102.565868,33.014113],[102.565832,33.014114],[102.565796,33.014128],[102.565756,33.014174],[102.565718,33.014212],[102.56566,33.01428],[102.565605,33.014317],[102.56553,33.014338],[102.565487,33.014334],[102.565421,33.01431],[102.56535,33.014261],[102.565273,33.014237],[102.56524,33.014238],[102.565187,33.014265],[102.56515,33.014316],[102.565127,33.014387],[102.565139,33.014437],[102.565159,33.014465],[102.565201,33.014488],[102.565257,33.014509],[102.56533,33.014531],[102.56541,33.014546],[102.565446,33.014556],[102.56554,33.014581],[102.565608,33.014616],[102.565623,33.014628],[102.565667,33.014665],[102.56569,33.014713],[102.565705,33.014794],[102.565709,33.014878],[102.56572,33.014955],[102.565722,33.014962],[102.56575,33.015037],[102.565774,33.015075],[102.565803,33.015099],[102.565848,33.015115],[102.565874,33.015116],[102.565927,33.015105],[102.565981,33.015083],[102.566059,33.015055],[102.56612,33.015038],[102.566174,33.015041],[102.566235,33.015069],[102.566316,33.015122],[102.566342,33.015157],[102.56634,33.015218],[102.566274,33.015213],[102.566298,33.01524],[102.566315,33.015268],[102.566314,33.015297],[102.566301,33.015328],[102.566269,33.015359],[102.566192,33.015377],[102.566053,33.015381],[102.566021,33.015384],[102.565952,33.015401],[102.565891,33.015428],[102.565852,33.015458],[102.565802,33.015493],[102.56577,33.01552],[102.565717,33.01555],[102.565684,33.01556],[102.565637,33.015558],[102.565605,33.01553],[102.565607,33.015517],[102.565642,33.015471],[102.565662,33.015432],[102.565667,33.01538],[102.565666,33.015309],[102.565658,33.015278],[102.565636,33.015245],[102.565608,33.015223],[102.565561,33.015211],[102.565508,33.015198],[102.565433,33.015195],[102.565393,33.015285],[102.565244,33.015624],[102.565203,33.015718],[102.565145,33.01585],[102.565032,33.016325],[102.564702,33.017414],[102.564503,33.019769],[102.564832,33.021152],[102.565268,33.022255],[102.565489,33.023014],[102.564996,33.024583],[102.564351,33.026233],[102.564152,33.027113],[102.563754,33.029327],[102.563595,33.030334],[102.563055,33.032418],[102.562602,33.033573],[102.561842,33.034839],[102.5616,33.035978],[102.561623,33.036826],[102.56179,33.037558],[102.561676,33.038325],[102.561634,33.038994],[102.561196,33.039597],[102.560478,33.040155],[102.559556,33.040511],[102.559062,33.04058],[102.557617,33.040375],[102.556985,33.040382],[102.556472,33.040293],[102.555916,33.040105],[102.554891,33.039927],[102.553888,33.039809],[102.553137,33.039853],[102.551708,33.039904],[102.550889,33.039908],[102.550049,33.039812],[102.549396,33.03972],[102.54839,33.039701],[102.54766,33.039864],[102.547299,33.040231],[102.54684,33.040735],[102.546175,33.041096],[102.545443,33.041338],[102.544879,33.041406],[102.544176,33.041431],[102.543737,33.041245],[102.543113,33.040937],[102.542123,33.040346],[102.540789,33.039719],[102.540183,33.039411],[102.539558,33.039192],[102.538575,33.038537],[102.537837,33.037931],[102.536001,33.036638],[102.535533,33.03631],[102.534951,33.035924],[102.534416,33.035636],[102.53399,33.035572],[102.533533,33.035438],[102.533093,33.035277],[102.532688,33.035034],[102.53248,33.034849],[102.532231,33.034928],[102.532038,33.03534],[102.531727,33.035888],[102.530795,33.036826],[102.530071,33.037407],[102.529272,33.037913],[102.528543,33.038227],[102.528049,33.038269],[102.527509,33.038449],[102.526871,33.038454],[102.526239,33.038286],[102.525561,33.038272],[102.524803,33.03817],[102.523696,33.038027],[102.522811,33.038062],[102.519916,33.037396],[102.519404,33.037342],[102.518386,33.036997],[102.517473,33.036568],[102.516349,33.036351],[102.515863,33.036276],[102.514969,33.036085],[102.513953,33.035654],[102.51329,33.035489],[102.512733,33.035197],[102.512043,33.035053],[102.511503,33.035064],[102.510549,33.035218],[102.509431,33.03545],[102.508559,33.035622],[102.507595,33.03563],[102.506864,33.035372],[102.506104,33.035005],[102.505439,33.034667],[102.504169,33.034128],[102.503601,33.033792],[102.503184,33.033756],[102.502766,33.033775],[102.502507,33.033851],[102.501858,33.034108],[102.501299,33.034557],[102.500546,33.035083],[102.500222,33.035185],[102.499675,33.035062],[102.499122,33.035051],[102.498087,33.035154],[102.497306,33.036691],[102.495965,33.038496],[102.495199,33.039536],[102.494835,33.040647],[102.494461,33.04216],[102.493072,33.043033],[102.492318,33.043639],[102.490944,33.043984],[102.490709,33.044015],[102.489316,33.044199],[102.487775,33.04392],[102.486396,33.043147],[102.485531,33.042477],[102.484898,33.041378],[102.484622,33.04072],[102.484244,33.03975],[102.483751,33.038964],[102.482808,33.038417],[102.481976,33.037842],[102.480949,33.037666],[102.480447,33.03719],[102.479841,33.036463],[102.478959,33.036352],[102.478923,33.036351],[102.478298,33.036277],[102.477346,33.03604],[102.476507,33.035744],[102.475637,33.03523],[102.475582,33.035207],[102.475615,33.034992],[102.475657,33.034723],[102.475698,33.034454],[102.47574,33.034185],[102.475781,33.033917],[102.475823,33.033648],[102.475864,33.033379],[102.475906,33.03311],[102.475947,33.032842],[102.475926,33.032605],[102.475905,33.032368],[102.475776,33.031939],[102.475736,33.03187],[102.475733,33.031859],[102.475587,33.031612],[102.475442,33.031366],[102.475314,33.031314],[102.474999,33.031184],[102.474684,33.031054],[102.474302,33.030978],[102.4741,33.03096],[102.47385,33.030906],[102.473606,33.030835],[102.473238,33.030609],[102.472936,33.030362],[102.472634,33.030115],[102.472332,33.029868],[102.47203,33.029621],[102.471843,33.029357],[102.471655,33.029092],[102.4715,33.028928],[102.471345,33.028765],[102.471316,33.028735],[102.471123,33.028536],[102.47093,33.028337],[102.470912,33.028314],[102.47076,33.028123],[102.470608,33.027932],[102.470368,33.027646],[102.470128,33.027361],[102.469889,33.027075],[102.469597,33.026796],[102.469317,33.026475],[102.469005,33.026189],[102.468693,33.025904],[102.468529,33.025713],[102.468366,33.025523],[102.468253,33.02535],[102.468098,33.025041],[102.467937,33.024886],[102.467806,33.024738],[102.467658,33.024541],[102.467533,33.024363],[102.467426,33.024107],[102.467319,33.023851],[102.46714,33.02359],[102.466955,33.023369],[102.466795,33.023179],[102.466572,33.022974],[102.466349,33.022769],[102.466072,33.022605],[102.465796,33.022442],[102.4655,33.022267],[102.465205,33.022093],[102.464909,33.021918],[102.464541,33.021739],[102.464172,33.021561],[102.463803,33.021383],[102.463494,33.021148],[102.463184,33.020913],[102.463059,33.020746],[102.462997,33.020574],[102.462872,33.02029],[102.462817,33.019904],[102.462762,33.019518],[102.462706,33.019132],[102.462638,33.018914],[102.462569,33.018695],[102.4625,33.018477],[102.462431,33.018259],[102.462363,33.018041],[102.462294,33.017822],[102.462189,33.017513],[102.462063,33.017084],[102.461956,33.016869],[102.461849,33.016655],[102.461728,33.016451],[102.461607,33.016247],[102.461416,33.016042],[102.461225,33.015837],[102.461075,33.015669],[102.460926,33.0155],[102.460767,33.015165],[102.460708,33.014786],[102.460648,33.014407],[102.460642,33.01399],[102.460635,33.013574],[102.460629,33.01322],[102.460644,33.01306],[102.460682,33.012626],[102.46072,33.012191],[102.460745,33.011906],[102.460751,33.011867],[102.460799,33.01156],[102.460847,33.011252],[102.4609,33.011068],[102.460974,33.010764],[102.461049,33.010461],[102.461111,33.010104],[102.461174,33.009747],[102.461287,33.009456],[102.461275,33.0092],[102.461215,33.008962],[102.46121,33.008949],[102.461061,33.008617],[102.46096,33.008457],[102.46096,33.008456],[102.46096,33.008456],[102.460876,33.008218],[102.460781,33.007903],[102.460742,33.007677],[102.460702,33.007451],[102.460644,33.007118],[102.460658,33.006945],[102.460662,33.006898],[102.460766,33.006689],[102.46087,33.006481],[102.460936,33.006249],[102.460942,33.006041],[102.460858,33.005904],[102.46071,33.005535],[102.460674,33.005274],[102.460668,33.005095],[102.460638,33.004958],[102.460538,33.004786],[102.460536,33.004552],[102.460534,33.004459],[102.460589,33.0042],[102.460644,33.003941],[102.46068,33.00362],[102.460716,33.003299],[102.460789,33.002962],[102.460862,33.002626],[102.460882,33.002531],[102.460992,33.002133],[102.461102,33.001734],[102.461174,33.001294],[102.461174,33.001294],[102.461174,33.001293],[102.461245,33.000961],[102.461346,33.000681],[102.461418,33.000485],[102.461572,33.000199],[102.461602,33.000009],[102.4617,32.999709],[102.461798,32.999408],[102.461905,32.999146],[102.461959,32.99895],[102.461941,32.998784],[102.461769,32.99851],[102.461614,32.998147],[102.46162,32.99782],[102.461644,32.997624],[102.461691,32.997493],[102.461786,32.997261],[102.461798,32.9971],[102.461721,32.996981],[102.461632,32.996934],[102.461471,32.996827],[102.461388,32.996696],[102.461293,32.996517],[102.461215,32.996166],[102.461138,32.996],[102.461114,32.995791],[102.461111,32.995754],[102.461096,32.995589],[102.460971,32.995405],[102.460751,32.995256],[102.460561,32.995039],[102.460371,32.994822],[102.46024,32.994631],[102.460174,32.994453],[102.460192,32.994298],[102.460281,32.994185],[102.460287,32.994084],[102.460275,32.994019],[102.460192,32.993953],[102.460061,32.993906],[102.459752,32.993721],[102.459609,32.993531],[102.45952,32.993376],[102.459502,32.993144],[102.459455,32.992984],[102.459234,32.992627],[102.459187,32.992496],[102.459187,32.992347],[102.459187,32.992291],[102.459187,32.992157],[102.459204,32.992057],[102.459275,32.991636],[102.45935,32.991397],[102.459425,32.991157],[102.459517,32.990935],[102.45956,32.990829],[102.459555,32.99068],[102.459553,32.990622],[102.45955,32.990342],[102.459548,32.990062],[102.459546,32.989915],[102.459575,32.989773],[102.459646,32.989594],[102.459775,32.989394],[102.459917,32.989194],[102.460017,32.98908],[102.460099,32.988898],[102.460233,32.9886],[102.460367,32.988302],[102.460538,32.987917],[102.460617,32.987638],[102.460645,32.987238],[102.460646,32.987233],[102.460672,32.986868],[102.460698,32.986504],[102.460724,32.986139],[102.460767,32.985725],[102.46081,32.985311],[102.460792,32.985001],[102.460774,32.98469],[102.46077,32.984527],[102.460767,32.984383],[102.460824,32.984026],[102.460896,32.983779],[102.460968,32.983533],[102.461032,32.983316],[102.461095,32.983098],[102.461131,32.982841],[102.461045,32.982684],[102.46096,32.982591],[102.460774,32.982402],[102.460588,32.982213],[102.460409,32.981955],[102.46036,32.981885],[102.460256,32.981649],[102.460153,32.981414],[102.460074,32.981271],[102.459953,32.981192],[102.459746,32.981092],[102.459461,32.981017],[102.459175,32.980942],[102.458743,32.980834],[102.458547,32.980785],[102.458326,32.980693],[102.458054,32.980407],[102.457783,32.980122],[102.45764,32.979772],[102.457599,32.979558],[102.457583,32.979472],[102.457583,32.979222],[102.457649,32.978846],[102.45769,32.978608],[102.457676,32.978365],[102.457683,32.978119],[102.45769,32.977873],[102.457685,32.977689],[102.457683,32.977595],[102.457633,32.97738],[102.457526,32.977202],[102.457405,32.976995],[102.457305,32.976766],[102.457233,32.976417],[102.457176,32.976088],[102.457133,32.975696],[102.457091,32.975303],[102.457073,32.975231],[102.456991,32.974889],[102.456919,32.974619],[102.456819,32.974247],[102.456714,32.973826],[102.456609,32.973406],[102.456569,32.973247],[102.456471,32.972903],[102.456373,32.972558],[102.456275,32.972214],[102.456177,32.97187],[102.456177,32.971498],[102.456234,32.971077],[102.456316,32.970842],[102.456398,32.970606],[102.456602,32.970346],[102.456805,32.970085],[102.456965,32.969889],[102.457091,32.969735],[102.457119,32.969496],[102.457148,32.969257],[102.457134,32.969133],[102.457196,32.968854],[102.457322,32.968539],[102.457403,32.968165],[102.45739,32.967829],[102.457352,32.967511],[102.457348,32.967358],[102.45734,32.967095],[102.457352,32.966699],[102.457387,32.966284],[102.457406,32.966047],[102.457424,32.96581],[102.457435,32.965414],[102.457466,32.965177],[102.457543,32.964941],[102.457556,32.96481],[102.457576,32.964624],[102.457688,32.964315],[102.4578,32.964006],[102.457899,32.963769],[102.457998,32.963533],[102.458097,32.963296],[102.458196,32.963059],[102.458295,32.962823],[102.458393,32.962586],[102.458492,32.96235],[102.458591,32.962113],[102.45869,32.961876],[102.458789,32.96164],[102.458888,32.961403],[102.458987,32.961167],[102.458967,32.960873],[102.458943,32.960652],[102.458862,32.96043],[102.45875,32.96028],[102.458537,32.960093],[102.458325,32.959906],[102.45814,32.959743],[102.457956,32.95958],[102.457701,32.959354],[102.457388,32.959127],[102.457015,32.958948],[102.456642,32.95877],[102.456414,32.958729],[102.456186,32.958689],[102.455958,32.958649],[102.45573,32.958609],[102.455502,32.958569],[102.455275,32.958528],[102.455137,32.958455],[102.454846,32.958299],[102.454603,32.958148],[102.45436,32.957996],[102.454162,32.957821],[102.453881,32.957472],[102.453657,32.957175],[102.453463,32.956852],[102.453325,32.956556],[102.453201,32.956346],[102.453076,32.956135],[102.45294,32.955814],[102.452689,32.955441],[102.452522,32.955218],[102.45224,32.954919],[102.451926,32.954692],[102.451639,32.95454],[102.451324,32.954386],[102.451064,32.954307],[102.450804,32.954229],[102.450546,32.954138],[102.450287,32.954047],[102.449898,32.953941],[102.449509,32.953835],[102.449261,32.953789],[102.449012,32.953742],[102.448763,32.953695],[102.448514,32.953649],[102.448266,32.953602],[102.448017,32.953555],[102.447768,32.953509],[102.447519,32.953462],[102.44727,32.953416],[102.447022,32.953369],[102.446775,32.953358],[102.446528,32.953346],[102.446281,32.953335],[102.446034,32.953324],[102.445657,32.953316],[102.445279,32.953308],[102.444902,32.953301],[102.444622,32.953204],[102.444343,32.953107],[102.444061,32.952832],[102.443892,32.952633],[102.443723,32.952434],[102.443559,32.952088],[102.443451,32.951768],[102.443381,32.951543],[102.443311,32.951318],[102.443242,32.951093],[102.443172,32.950869],[102.443102,32.950644],[102.443032,32.950419],[102.442962,32.950195],[102.442892,32.94997],[102.44286,32.94959],[102.442828,32.94921],[102.442722,32.948842],[102.442586,32.94852],[102.44245,32.948175],[102.442309,32.947955],[102.442168,32.947734],[102.441954,32.947596],[102.44174,32.947457],[102.441526,32.947318],[102.441312,32.947179],[102.441058,32.946929],[102.440804,32.946679],[102.440637,32.946406],[102.44047,32.946134],[102.440305,32.945837],[102.44014,32.94554],[102.440044,32.94533],[102.439948,32.94512],[102.439852,32.94491],[102.439756,32.944701],[102.439634,32.944417],[102.439511,32.944133],[102.439431,32.943862],[102.439352,32.943591],[102.43933,32.943359],[102.439307,32.943126],[102.439314,32.942881],[102.439322,32.942635],[102.439343,32.942245],[102.439363,32.941854],[102.439384,32.941463],[102.439386,32.941039],[102.439389,32.940615],[102.439391,32.940191],[102.439339,32.93997],[102.439287,32.939748],[102.439235,32.939527],[102.439183,32.939306],[102.439162,32.939036],[102.439141,32.938766],[102.43915,32.938449],[102.439216,32.938156],[102.43931,32.937939],[102.439335,32.937888]]]]},"properties":{"cp":[102.63776751384222,32.82512378846329],"code":"513233100","name":"邛溪镇","level":"street","center":[102.63776751384222,32.82512378846329],"fullCode":"513233100000","fullName":"四川省阿坝藏族羌族自治州红原县邛溪镇","acreageMu":1343909.49,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.515,32.7855]}},{"id":"513233101","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.662814,32.045234],[102.662707,32.045207],[102.662601,32.045181],[102.662557,32.04517],[102.662315,32.045091],[102.662072,32.045013],[102.661779,32.044999],[102.661578,32.045064],[102.661494,32.045091],[102.661194,32.045298],[102.661069,32.04533],[102.660994,32.045348],[102.660687,32.045334],[102.660559,32.04532],[102.660459,32.045341],[102.660418,32.045441],[102.66038,32.045534],[102.660302,32.045862],[102.660259,32.046041],[102.660223,32.046191],[102.660152,32.046355],[102.66004,32.046537],[102.660016,32.046576],[102.659766,32.046748],[102.659631,32.04689],[102.659509,32.047026],[102.659467,32.047269],[102.659467,32.04744],[102.65944,32.047502],[102.659381,32.04764],[102.659368,32.047662],[102.65926,32.047847],[102.659274,32.048011],[102.659317,32.048132],[102.659407,32.048364],[102.659496,32.048595],[102.659616,32.048903],[102.659681,32.049139],[102.659745,32.049374],[102.659798,32.049628],[102.659802,32.049646],[102.659802,32.049953],[102.659831,32.050153],[102.659859,32.050352],[102.659991,32.050747],[102.660122,32.051141],[102.660173,32.051295],[102.660262,32.051569],[102.660351,32.051844],[102.66043,32.052087],[102.660452,32.052216],[102.660455,32.052277],[102.660459,32.05233],[102.660437,32.052423],[102.66035,32.052517],[102.660137,32.052748],[102.659923,32.052979],[102.659862,32.053059],[102.659852,32.053072],[102.659852,32.053158],[102.659909,32.053272],[102.660088,32.053604],[102.660266,32.053936],[102.660462,32.054243],[102.660659,32.05455],[102.660677,32.054574],[102.66071,32.054618],[102.660948,32.054931],[102.660973,32.054964],[102.661058,32.055196],[102.661144,32.055428],[102.661315,32.055793],[102.661358,32.055885],[102.661537,32.056099],[102.661758,32.05637],[102.661779,32.056463],[102.661779,32.056563],[102.661715,32.056881],[102.661651,32.057198],[102.661645,32.057299],[102.661637,32.057466],[102.661622,32.057734],[102.661601,32.057933],[102.661442,32.058194],[102.661422,32.058226],[102.66124,32.058504],[102.661058,32.058783],[102.661032,32.05891],[102.661001,32.059054],[102.660966,32.059497],[102.660969,32.059843],[102.660973,32.060189],[102.66098,32.060218],[102.661008,32.060332],[102.661001,32.060518],[102.660958,32.06061],[102.660823,32.060717],[102.660743,32.060806],[102.66063,32.060932],[102.660473,32.061231],[102.660438,32.061359],[102.660387,32.061545],[102.660373,32.06181],[102.660363,32.061956],[102.660359,32.062017],[102.660302,32.062195],[102.660291,32.062217],[102.660282,32.062235],[102.660186,32.062431],[102.660132,32.062539],[102.66008,32.062645],[102.659879,32.063025],[102.659879,32.063025],[102.659879,32.063025],[102.659694,32.063374],[102.659576,32.063597],[102.659509,32.063723],[102.659395,32.063901],[102.659267,32.064101],[102.659145,32.064272],[102.659031,32.064451],[102.658938,32.064779],[102.658853,32.064993],[102.658681,32.065243],[102.658653,32.065281],[102.658553,32.065414],[102.658189,32.065557],[102.657932,32.065636],[102.657575,32.065736],[102.657218,32.065836],[102.657015,32.065928],[102.656811,32.066021],[102.656586,32.066143],[102.656361,32.066264],[102.656259,32.066373],[102.656147,32.066492],[102.655962,32.066778],[102.655847,32.067078],[102.65573,32.067351],[102.655614,32.067625],[102.655555,32.067763],[102.655511,32.06791],[102.655412,32.068248],[102.655262,32.068627],[102.655023,32.068984],[102.654784,32.069341],[102.654728,32.069441],[102.654655,32.069573],[102.654533,32.069793],[102.654527,32.069805],[102.65442,32.070197],[102.65439,32.070314],[102.654314,32.070611],[102.654287,32.070717],[102.654238,32.070908],[102.654196,32.071071],[102.654191,32.071089],[102.654084,32.071375],[102.653956,32.071603],[102.653784,32.071832],[102.653592,32.072082],[102.653292,32.072274],[102.652946,32.072424],[102.652599,32.072574],[102.652396,32.072671],[102.652193,32.072767],[102.6519,32.072974],[102.651679,32.073217],[102.651561,32.07351],[102.651536,32.073574],[102.651429,32.073752],[102.651265,32.073866],[102.651022,32.073973],[102.650808,32.074009],[102.650544,32.074038],[102.650479,32.074051],[102.650408,32.074066],[102.650369,32.074089],[102.650144,32.074223],[102.649831,32.074507],[102.649523,32.074786],[102.649216,32.075066],[102.648948,32.075351],[102.64868,32.075637],[102.648583,32.075734],[102.648465,32.075852],[102.64825,32.076067],[102.648124,32.076193],[102.647981,32.076372],[102.647838,32.07655],[102.647717,32.076836],[102.647674,32.077047],[102.647645,32.077193],[102.647549,32.07761],[102.647453,32.078028],[102.647447,32.078049],[102.647365,32.07834],[102.647277,32.078651],[102.647188,32.078963],[102.64718,32.078995],[102.647134,32.079157],[102.647095,32.079295],[102.647024,32.079546],[102.646953,32.079798],[102.646867,32.080039],[102.646822,32.080164],[102.646739,32.080398],[102.646677,32.080554],[102.646656,32.080607],[102.646632,32.080669],[102.646446,32.080969],[102.646346,32.08124],[102.646339,32.081483],[102.646341,32.081493],[102.646382,32.081654],[102.646387,32.081658],[102.64653,32.081746],[102.646589,32.081783],[102.646732,32.081876],[102.646782,32.081965],[102.646832,32.082054],[102.646889,32.082275],[102.647009,32.082514],[102.647129,32.082752],[102.64731,32.08311],[102.647381,32.083378],[102.647453,32.083646],[102.647531,32.083889],[102.647595,32.084181],[102.647595,32.084403],[102.647474,32.084688],[102.64731,32.084824],[102.647174,32.085016],[102.647124,32.085209],[102.647081,32.085445],[102.647075,32.085466],[102.646996,32.085745],[102.646874,32.085923],[102.646659,32.086014],[102.646653,32.086016],[102.646526,32.086055],[102.646146,32.086173],[102.64607,32.08622],[102.645882,32.086337],[102.645818,32.08643],[102.645725,32.086565],[102.645589,32.08693],[102.64544,32.087294],[102.645392,32.087478],[102.645347,32.087651],[102.64529,32.087943],[102.645271,32.088172],[102.645252,32.0884],[102.645225,32.088728],[102.645225,32.088729],[102.645224,32.08873],[102.645135,32.088896],[102.645134,32.088898],[102.645133,32.0889],[102.644883,32.089157],[102.64459,32.089378],[102.6445,32.089487],[102.644426,32.089578],[102.644219,32.089885],[102.644064,32.090142],[102.644054,32.090159],[102.64391,32.090399],[102.643755,32.090656],[102.643712,32.090725],[102.643555,32.090977],[102.643469,32.091348],[102.643412,32.091619],[102.643362,32.091746],[102.64336,32.091753],[102.643334,32.091819],[102.64322,32.092026],[102.642991,32.092255],[102.642722,32.092469],[102.642453,32.092683],[102.642184,32.092897],[102.642081,32.093179],[102.641977,32.093461],[102.641856,32.093875],[102.641699,32.094246],[102.64168,32.094334],[102.641649,32.094475],[102.641649,32.094721],[102.641649,32.094753],[102.641692,32.094953],[102.641778,32.095231],[102.641829,32.095399],[102.641863,32.09551],[102.641935,32.095842],[102.642006,32.096174],[102.64203,32.096328],[102.642042,32.096402],[102.642013,32.096731],[102.642012,32.096752],[102.641999,32.097073],[102.642006,32.097409],[102.642135,32.097787],[102.642227,32.097973],[102.642326,32.098093],[102.642377,32.098155],[102.642527,32.098337],[102.642606,32.098465],[102.642623,32.098534],[102.642641,32.098608],[102.642648,32.098736],[102.642645,32.098869],[102.642641,32.098993],[102.642634,32.099243],[102.642656,32.0995],[102.642677,32.099757],[102.642721,32.099967],[102.64277,32.1002],[102.642756,32.100507],[102.642751,32.100593],[102.642747,32.100664],[102.642741,32.100778],[102.642627,32.101056],[102.642599,32.101206],[102.642606,32.101378],[102.642638,32.101451],[102.642684,32.101556],[102.64269,32.101774],[102.642691,32.101806],[102.642657,32.101871],[102.642563,32.102049],[102.642425,32.10232],[102.642287,32.102591],[102.642149,32.102862],[102.64197,32.103119],[102.641792,32.103376],[102.641592,32.103765],[102.641392,32.104154],[102.641278,32.104347],[102.641071,32.104419],[102.640857,32.104447],[102.640671,32.104397],[102.640428,32.10434],[102.640179,32.104326],[102.640107,32.104356],[102.639834,32.104471],[102.639822,32.104476],[102.639479,32.104568],[102.639293,32.104583],[102.639022,32.104661],[102.638822,32.104768],[102.638677,32.104843],[102.638542,32.104913],[102.63838,32.104997],[102.638173,32.105082],[102.638082,32.105093],[102.637866,32.105118],[102.637602,32.105104],[102.637352,32.105111],[102.637232,32.105145],[102.637173,32.105161],[102.637104,32.105256],[102.637038,32.105347],[102.636933,32.105511],[102.636911,32.105537],[102.636702,32.105739],[102.636452,32.105903],[102.636164,32.106136],[102.635938,32.106317],[102.635724,32.106681],[102.635673,32.106835],[102.635662,32.106868],[102.635543,32.107224],[102.635424,32.107581],[102.635314,32.10787],[102.635203,32.108159],[102.635123,32.108305],[102.635046,32.108445],[102.634853,32.108716],[102.634659,32.10891],[102.634646,32.108923],[102.634475,32.109073],[102.634225,32.109144],[102.633954,32.109216],[102.633554,32.109365],[102.633329,32.109448],[102.633104,32.10953],[102.632871,32.10963],[102.632637,32.109731],[102.632426,32.109822],[102.632205,32.109933],[102.631984,32.110044],[102.631812,32.110122],[102.63158,32.110222],[102.631348,32.110322],[102.631077,32.110365],[102.631068,32.110367],[102.630806,32.110436],[102.630542,32.110529],[102.63037,32.110693],[102.630192,32.110964],[102.630128,32.111129],[102.630128,32.111279],[102.630185,32.111486],[102.63032,32.11175],[102.630588,32.112055],[102.63087,32.112378],[102.631006,32.112592],[102.631037,32.11272],[102.631038,32.112724],[102.631109,32.113029],[102.63118,32.113334],[102.631278,32.113759],[102.631291,32.113815],[102.631377,32.114184],[102.631484,32.114523],[102.631591,32.114862],[102.631677,32.115133],[102.631698,32.115319],[102.631691,32.115469],[102.63162,32.115669],[102.631594,32.115712],[102.631464,32.115937],[102.631334,32.116161],[102.63122,32.116368],[102.631248,32.116725],[102.63134,32.117046],[102.631463,32.117475],[102.631591,32.117689],[102.631591,32.117853],[102.631584,32.118103],[102.631516,32.11836],[102.631448,32.118617],[102.631452,32.118842],[102.631456,32.119067],[102.631534,32.119481],[102.631545,32.119511],[102.631605,32.119688],[102.631684,32.120066],[102.631634,32.120237],[102.631527,32.120466],[102.631384,32.120708],[102.63121,32.120884],[102.631036,32.12106],[102.63077,32.121329],[102.630692,32.121453],[102.630635,32.121544],[102.630563,32.121643],[102.630513,32.121686],[102.630446,32.121749],[102.630278,32.121905],[102.630042,32.122124],[102.629807,32.122343],[102.629703,32.122483],[102.629476,32.122788],[102.629293,32.123035],[102.629228,32.12315],[102.62905,32.123228],[102.628907,32.123264],[102.628722,32.123307],[102.6286,32.123292],[102.628599,32.123292],[102.628597,32.123291],[102.628486,32.123242],[102.628351,32.12321],[102.628336,32.123207],[102.628186,32.123193],[102.628136,32.123178],[102.628034,32.123205],[102.627915,32.123235],[102.627634,32.123345],[102.627353,32.123454],[102.627073,32.123564],[102.626773,32.123697],[102.626473,32.12383],[102.626173,32.123963],[102.625937,32.124067],[102.625681,32.124179],[102.625424,32.124292],[102.625032,32.124485],[102.624931,32.124535],[102.624621,32.12467],[102.624312,32.124805],[102.624002,32.12494],[102.623788,32.125113],[102.623574,32.125285],[102.623276,32.125598],[102.622979,32.12591],[102.62283,32.126011],[102.622803,32.126024],[102.622574,32.126136],[102.622271,32.126279],[102.622199,32.126326],[102.622217,32.126421],[102.622295,32.126656],[102.622372,32.126891],[102.622521,32.1271],[102.622601,32.127332],[102.622681,32.127564],[102.62275,32.127748],[102.622847,32.128004],[102.622943,32.12826],[102.623035,32.128622],[102.623127,32.128985],[102.623234,32.129092],[102.623347,32.129211],[102.623383,32.129318],[102.623469,32.129584],[102.623554,32.12985],[102.623597,32.129985],[102.623663,32.130169],[102.623758,32.13055],[102.623844,32.130838],[102.62393,32.131127],[102.623919,32.131412],[102.623898,32.13147],[102.623823,32.131674],[102.623663,32.132085],[102.623591,32.132281],[102.623595,32.132388],[102.623597,32.132441],[102.623645,32.132572],[102.623782,32.132977],[102.623859,32.133209],[102.623863,32.133232],[102.623919,32.133566],[102.623907,32.133893],[102.623895,32.13422],[102.623883,32.1345],[102.623901,32.134601],[102.623948,32.134708],[102.623966,32.134815],[102.623972,32.134928],[102.623936,32.13533],[102.623901,32.135731],[102.623878,32.13585],[102.623811,32.136189],[102.623798,32.136483],[102.623785,32.136778],[102.62377,32.137117],[102.623767,32.137516],[102.623764,32.137914],[102.623749,32.138086],[102.623748,32.138093],[102.623743,32.138155],[102.623722,32.138396],[102.623695,32.138652],[102.623669,32.138908],[102.623591,32.139044],[102.623383,32.139342],[102.623157,32.139503],[102.622818,32.139711],[102.622703,32.139768],[102.622486,32.139877],[102.622485,32.139877],[102.622188,32.139943],[102.62208,32.139943],[102.621846,32.13991],[102.621612,32.139877],[102.621402,32.139848],[102.621111,32.139851],[102.620819,32.139854],[102.620684,32.139877],[102.620546,32.139901],[102.620355,32.139907],[102.620177,32.139895],[102.620016,32.139889],[102.619737,32.140014],[102.619528,32.140121],[102.619421,32.140139],[102.619332,32.140127],[102.618893,32.140084],[102.618547,32.14005],[102.618312,32.14008],[102.618077,32.140109],[102.617977,32.140132],[102.617869,32.140157],[102.617678,32.140181],[102.617518,32.140139],[102.617167,32.139961],[102.616965,32.139901],[102.616536,32.139889],[102.616153,32.139901],[102.615769,32.139913],[102.615501,32.139949],[102.615234,32.139984],[102.614933,32.140006],[102.614823,32.140014],[102.614567,32.140106],[102.614311,32.140199],[102.614062,32.140347],[102.613789,32.140421],[102.613516,32.140494],[102.613419,32.14052],[102.613084,32.140563],[102.612749,32.140607],[102.612414,32.140651],[102.612119,32.140683],[102.611825,32.140716],[102.611605,32.14074],[102.611474,32.140728],[102.611472,32.140727],[102.611331,32.140686],[102.611165,32.140585],[102.610956,32.140585],[102.610948,32.140589],[102.61079,32.140657],[102.610454,32.140799],[102.610118,32.140942],[102.609933,32.140978],[102.609689,32.140996],[102.609529,32.141025],[102.609528,32.141026],[102.609463,32.141061],[102.60944,32.141109],[102.60941,32.141251],[102.609434,32.141614],[102.609469,32.141781],[102.609483,32.141829],[102.609529,32.141995],[102.609612,32.14237],[102.60961,32.142548],[102.609609,32.142605],[102.609606,32.14284],[102.609606,32.143069],[102.609606,32.143298],[102.609535,32.143595],[102.609525,32.143645],[102.609456,32.144013],[102.609386,32.14438],[102.609292,32.144707],[102.609213,32.144981],[102.609187,32.145039],[102.609112,32.145198],[102.609011,32.145415],[102.608952,32.145725],[102.608946,32.146046],[102.608999,32.146269],[102.609053,32.146492],[102.609195,32.146804],[102.609337,32.147115],[102.609362,32.14717],[102.60941,32.14739],[102.609422,32.147563],[102.609356,32.147735],[102.609277,32.147842],[102.609231,32.147902],[102.609128,32.147988],[102.608905,32.148172],[102.608779,32.148277],[102.608529,32.148426],[102.608434,32.148568],[102.608428,32.148753],[102.608434,32.148884],[102.608517,32.149074],[102.608648,32.149377],[102.608735,32.149594],[102.608821,32.149812],[102.608889,32.150032],[102.608958,32.150252],[102.608976,32.150448],[102.609077,32.150615],[102.609243,32.150763],[102.609359,32.150957],[102.609392,32.151013],[102.609499,32.151204],[102.609683,32.151382],[102.609951,32.151572],[102.610219,32.151763],[102.610287,32.151857],[102.610314,32.151894],[102.610385,32.152078],[102.610443,32.152262],[102.610516,32.152494],[102.610582,32.152786],[102.610659,32.152893],[102.610778,32.152964],[102.610836,32.153019],[102.610944,32.15312],[102.610974,32.153149],[102.611016,32.153292],[102.611028,32.153416],[102.611025,32.153735],[102.611022,32.154053],[102.611081,32.154249],[102.611081,32.154451],[102.611081,32.154654],[102.611129,32.154814],[102.611218,32.154999],[102.61129,32.155147],[102.611325,32.155296],[102.611319,32.155534],[102.61129,32.155825],[102.61129,32.155832],[102.611367,32.156242],[102.61142,32.156516],[102.611504,32.15667],[102.611635,32.156837],[102.611712,32.156986],[102.611849,32.157122],[102.61189,32.157194],[102.611926,32.157325],[102.611944,32.157586],[102.611947,32.157718],[102.611953,32.157958],[102.611957,32.158142],[102.611962,32.15833],[102.611974,32.15858],[102.612018,32.158741],[102.612033,32.158794],[102.612033,32.159014],[102.611962,32.159169],[102.61189,32.159306],[102.611837,32.159466],[102.611801,32.159591],[102.61173,32.159758],[102.611569,32.159939],[102.611409,32.160121],[102.611099,32.160269],[102.610968,32.160295],[102.610885,32.160311],[102.610683,32.160394],[102.610466,32.160582],[102.610303,32.160722],[102.610257,32.160762],[102.610249,32.160769],[102.610197,32.160851],[102.61013,32.160959],[102.61007,32.161156],[102.610034,32.161358],[102.610073,32.1617],[102.610112,32.162042],[102.610209,32.162357],[102.610237,32.162446],[102.610311,32.162667],[102.610385,32.162887],[102.610439,32.163101],[102.610439,32.163103],[102.610439,32.163104],[102.610463,32.163315],[102.610463,32.163517],[102.610445,32.163636],[102.610302,32.163803],[102.610211,32.164013],[102.610119,32.164224],[102.610066,32.164345],[102.610023,32.164445],[102.60993,32.164659],[102.609838,32.164874],[102.609761,32.165094],[102.609683,32.165314],[102.60957,32.165451],[102.609416,32.165564],[102.609332,32.165677],[102.609267,32.165831],[102.609202,32.166141],[102.609166,32.166449],[102.609148,32.166605],[102.609095,32.166771],[102.60897,32.166843],[102.608785,32.166878],[102.608625,32.166985],[102.608482,32.167169],[102.608482,32.16717],[102.608375,32.167402],[102.608324,32.167625],[102.608274,32.167848],[102.608265,32.168136],[102.608256,32.168425],[102.608253,32.16869],[102.60825,32.168954],[102.608208,32.169153],[102.60819,32.16924],[102.608119,32.169424],[102.607857,32.169638],[102.607655,32.169674],[102.607393,32.16974],[102.607256,32.169894],[102.607114,32.170156],[102.606894,32.170543],[102.606884,32.170554],[102.6067,32.170789],[102.6067,32.17083],[102.6067,32.170951],[102.606705,32.170968],[102.606766,32.171189],[102.606871,32.171426],[102.606861,32.171588],[102.606766,32.171712],[102.606595,32.171836],[102.606376,32.17195],[102.606157,32.172064],[102.605911,32.172261],[102.605729,32.172407],[102.605402,32.172705],[102.605075,32.173003],[102.604749,32.173301],[102.604574,32.173505],[102.604339,32.173777],[102.604116,32.174053],[102.603892,32.174329],[102.603511,32.174553],[102.60313,32.174777],[102.602812,32.174948],[102.602493,32.175119],[102.602312,32.175367],[102.602302,32.175408],[102.602255,32.175595],[102.602198,32.175824],[102.602192,32.175871],[102.60217,32.176075],[102.602122,32.176506],[102.602074,32.176937],[102.602046,32.177255],[102.602036,32.177375],[102.602164,32.177751],[102.602293,32.178127],[102.60235,32.178327],[102.60236,32.178565],[102.602379,32.178653],[102.602458,32.179011],[102.602537,32.179368],[102.602617,32.179726],[102.602688,32.180063],[102.60276,32.180399],[102.602769,32.180442],[102.60289,32.180806],[102.602962,32.180999],[102.602975,32.181063],[102.60299,32.181135],[102.60299,32.181313],[102.60296,32.181477],[102.602947,32.181549],[102.602962,32.181699],[102.603004,32.181802],[102.603001,32.181902],[102.602969,32.181988],[102.602969,32.182091],[102.602994,32.182138],[102.603151,32.182327],[102.603172,32.182405],[102.603204,32.182516],[102.60324,32.182652],[102.603271,32.18276],[102.603276,32.182777],[102.60334,32.18293],[102.603411,32.183044],[102.603518,32.183191],[102.603536,32.183251],[102.60353,32.183409],[102.603525,32.183537],[102.60355,32.183897],[102.603568,32.184172],[102.603568,32.184436],[102.60354,32.184831],[102.603511,32.185225],[102.603509,32.185533],[102.603508,32.185664],[102.603497,32.185867],[102.603483,32.186107],[102.603461,32.186224],[102.603401,32.186378],[102.60334,32.186528],[102.603323,32.186627],[102.603311,32.186695],[102.603315,32.187038],[102.603326,32.18722],[102.60329,32.187434],[102.603236,32.187656],[102.603183,32.187877],[102.603097,32.187991],[102.602994,32.188145],[102.602919,32.188287],[102.602808,32.188348],[102.602519,32.188434],[102.602148,32.188601],[102.6021,32.188621],[102.601759,32.188758],[102.601459,32.188851],[102.601245,32.188891],[102.601041,32.188919],[102.600956,32.188908],[102.600859,32.188873],[102.600524,32.188684],[102.60027,32.188591],[102.600053,32.18853],[102.600006,32.188523],[102.599646,32.188469],[102.599335,32.188434],[102.599207,32.188387],[102.598918,32.188266],[102.598746,32.188209],[102.598429,32.188195],[102.598182,32.188216],[102.598018,32.188237],[102.597818,32.188241],[102.597601,32.188198],[102.597599,32.188198],[102.597597,32.188197],[102.597483,32.188177],[102.597354,32.188159],[102.597265,32.188177],[102.59694,32.188373],[102.596719,32.188562],[102.596583,32.188758],[102.596412,32.188894],[102.596219,32.188948],[102.59608,32.188983],[102.595827,32.189076],[102.595455,32.189272],[102.595365,32.189319],[102.595234,32.189398],[102.595031,32.189636],[102.594851,32.189831],[102.59467,32.190026],[102.594554,32.1901],[102.59446,32.190161],[102.594278,32.190272],[102.593932,32.190436],[102.593721,32.190543],[102.59351,32.19065],[102.593196,32.190904],[102.592886,32.191125],[102.592745,32.191225],[102.592725,32.191239],[102.592699,32.191277],[102.592657,32.191339],[102.592532,32.191616],[102.592407,32.191892],[102.592311,32.192198],[102.592214,32.192504],[102.592118,32.19281],[102.592039,32.193146],[102.592025,32.193292],[102.592018,32.193367],[102.591946,32.193639],[102.591804,32.193818],[102.591754,32.193881],[102.591532,32.194034],[102.591525,32.194038],[102.59139,32.194238],[102.591268,32.194474],[102.591147,32.194709],[102.591035,32.195111],[102.590923,32.195514],[102.590811,32.195916],[102.590701,32.19619],[102.59059,32.196465],[102.590465,32.196676],[102.59034,32.196886],[102.590205,32.197158],[102.590133,32.197379],[102.590133,32.197508],[102.590183,32.19765],[102.590239,32.197822],[102.590269,32.197917],[102.590305,32.197952],[102.590392,32.198037],[102.590447,32.198091],[102.590736,32.198295],[102.591025,32.198498],[102.591265,32.198659],[102.591505,32.19882],[102.591622,32.198898],[102.591759,32.198962],[102.591918,32.199037],[102.592021,32.199102],[102.592118,32.199223],[102.592153,32.199355],[102.59231,32.199615],[102.592392,32.199708],[102.592428,32.199758],[102.592435,32.199851],[102.592426,32.199914],[102.592401,32.200081],[102.592367,32.200311],[102.592303,32.200736],[102.592306,32.200756],[102.592346,32.201],[102.592396,32.201239],[102.592496,32.201568],[102.592528,32.201732],[102.592564,32.201914],[102.592563,32.201921],[102.592539,32.202114],[102.592553,32.202217],[102.592567,32.202237],[102.592614,32.202303],[102.592714,32.202417],[102.593089,32.20264],[102.593224,32.202721],[102.593399,32.202863],[102.593552,32.20301],[102.593606,32.203085],[102.59366,32.203142],[102.593709,32.20317],[102.594045,32.203263],[102.594216,32.203313],[102.594616,32.203406],[102.594919,32.203474],[102.594939,32.203486],[102.595134,32.203609],[102.595234,32.203663],[102.595344,32.203677],[102.595548,32.203688],[102.595851,32.203706],[102.59599,32.203742],[102.596072,32.203763],[102.596394,32.203966],[102.596588,32.204091],[102.596783,32.204216],[102.596921,32.20433],[102.59704,32.204427],[102.597122,32.204466],[102.597207,32.204509],[102.597236,32.204523],[102.597293,32.204584],[102.59735,32.204698],[102.597375,32.204976],[102.597407,32.205133],[102.597475,32.205298],[102.597543,32.205369],[102.597568,32.205412],[102.597589,32.205444],[102.597614,32.20558],[102.597657,32.205719],[102.597728,32.205887],[102.597796,32.205994],[102.597964,32.206158],[102.598037,32.206254],[102.598114,32.206354],[102.598207,32.20644],[102.598232,32.206511],[102.598239,32.206625],[102.598276,32.206735],[102.598289,32.206772],[102.598298,32.206837],[102.598317,32.206986],[102.598321,32.207125],[102.598315,32.207172],[102.598303,32.207275],[102.598311,32.207525],[102.598317,32.207753],[102.598285,32.207857],[102.59831,32.208021],[102.598349,32.20821],[102.598399,32.208346],[102.59846,32.208517],[102.598503,32.208599],[102.598522,32.20865],[102.598589,32.208831],[102.598628,32.209234],[102.598637,32.209285],[102.59868,32.209508],[102.598702,32.209621],[102.598713,32.209661],[102.598734,32.209707],[102.598742,32.209723],[102.598921,32.210127],[102.599106,32.210534],[102.599216,32.210736],[102.599278,32.21085],[102.599335,32.210955],[102.599395,32.211105],[102.59942,32.211151],[102.599424,32.211215],[102.599388,32.211351],[102.599385,32.21136],[102.599331,32.211544],[102.599336,32.211586],[102.599342,32.211626],[102.599388,32.211708],[102.599536,32.212001],[102.599537,32.212002],[102.599538,32.212004],[102.599638,32.212343],[102.599756,32.212689],[102.599796,32.212844],[102.599856,32.213071],[102.599876,32.213141],[102.599959,32.213425],[102.599975,32.21346],[102.600059,32.21365],[102.600152,32.213832],[102.600205,32.213917],[102.600253,32.213971],[102.60043,32.214171],[102.600605,32.214478],[102.600662,32.214592],[102.600677,32.214685],[102.600677,32.214777],[102.600648,32.214902],[102.600641,32.214916],[102.600559,32.215077],[102.600387,32.215325],[102.600216,32.215573],[102.600045,32.215887],[102.599941,32.215991],[102.599784,32.216109],[102.599727,32.216184],[102.599656,32.216355],[102.599635,32.216448],[102.599552,32.216819],[102.599521,32.217025],[102.59952,32.217027],[102.59952,32.21703],[102.599524,32.217119],[102.599531,32.217204],[102.599531,32.217297],[102.599488,32.217408],[102.599385,32.217668],[102.599306,32.217975],[102.599256,32.218279],[102.59925,32.218305],[102.599237,32.218369],[102.599213,32.218479],[102.599192,32.218739],[102.59921,32.219121],[102.599215,32.219268],[102.599231,32.219692],[102.599256,32.21996],[102.599213,32.220149],[102.599156,32.220327],[102.599106,32.220411],[102.599031,32.220535],[102.598931,32.220659],[102.598651,32.22088],[102.598614,32.220909],[102.598353,32.221173],[102.598264,32.221288],[102.598175,32.221516],[102.598085,32.221627],[102.597939,32.22168],[102.597702,32.221821],[102.597693,32.221827],[102.597536,32.221959],[102.597391,32.222132],[102.597247,32.222305],[102.596965,32.22258],[102.5969,32.222751],[102.59685,32.222872],[102.596846,32.222894],[102.596825,32.223001],[102.596847,32.223111],[102.596897,32.223286],[102.596929,32.223399],[102.596954,32.223483],[102.597011,32.223636],[102.597043,32.223715],[102.597061,32.223779],[102.597063,32.223839],[102.597065,32.223868],[102.59709,32.223997],[102.597175,32.224204],[102.597188,32.224229],[102.597236,32.224321],[102.597293,32.224425],[102.597325,32.224528],[102.597343,32.224664],[102.597311,32.224917],[102.597223,32.225246],[102.597136,32.225574],[102.597047,32.225806],[102.597018,32.225992],[102.597009,32.226021],[102.596982,32.226106],[102.596925,32.226181],[102.59684,32.226267],[102.596679,32.226488],[102.596647,32.226627],[102.596568,32.226813],[102.596508,32.226948],[102.59649,32.227045],[102.596489,32.227115],[102.596483,32.227409],[102.596501,32.227655],[102.596497,32.227741],[102.596436,32.227873],[102.596419,32.227966],[102.596412,32.228018],[102.59641,32.228029],[102.596401,32.228105],[102.596372,32.228297],[102.596369,32.228394],[102.596415,32.228494],[102.596511,32.228672],[102.596536,32.228733],[102.596536,32.228804],[102.596511,32.228951],[102.596583,32.229286],[102.596654,32.229704],[102.596676,32.229833],[102.596693,32.229939],[102.596736,32.230178],[102.596779,32.230503],[102.596829,32.230689],[102.596918,32.230878],[102.597072,32.231046],[102.597225,32.231214],[102.597446,32.231343],[102.597571,32.231417],[102.597696,32.231528],[102.597708,32.231545],[102.597715,32.231657],[102.597732,32.231928],[102.597749,32.232198],[102.597774,32.232493],[102.597791,32.232557],[102.597797,32.232577],[102.597833,32.232713],[102.597839,32.232728],[102.597908,32.232907],[102.598015,32.233117],[102.598123,32.233327],[102.598231,32.233538],[102.598339,32.233748],[102.598446,32.233959],[102.598554,32.234169],[102.598662,32.234379],[102.598769,32.23459],[102.5989,32.234804],[102.59903,32.235018],[102.59917,32.235215],[102.59931,32.235413],[102.59945,32.23561],[102.59959,32.235808],[102.599797,32.236119],[102.600004,32.236431],[102.600211,32.236743],[102.600429,32.237019],[102.600681,32.237244],[102.600973,32.237447],[102.601266,32.23765],[102.601455,32.237781],[102.601645,32.237913],[102.601835,32.238044],[102.602025,32.238175],[102.602113,32.238236],[102.602151,32.238313],[102.60224,32.238438],[102.602311,32.23853],[102.602436,32.23868],[102.60259,32.238788],[102.60265,32.23883],[102.602825,32.238894],[102.602932,32.238923],[102.603089,32.238977],[102.603204,32.239062],[102.603412,32.239237],[102.603621,32.239412],[102.60385,32.239558],[102.604071,32.239715],[102.604214,32.239802],[102.604417,32.239926],[102.60467,32.240103],[102.604924,32.240279],[102.60519,32.240401],[102.605456,32.240522],[102.605652,32.240675],[102.605852,32.240918],[102.606102,32.241211],[102.606152,32.241332],[102.606187,32.241521],[102.606248,32.241739],[102.606316,32.24191],[102.606384,32.242032],[102.606592,32.242219],[102.606683,32.242301],[102.606737,32.242349],[102.606808,32.242453],[102.606894,32.242599],[102.606951,32.242688],[102.60708,32.242753],[102.607331,32.242837],[102.607429,32.242871],[102.607547,32.24291],[102.607604,32.242985],[102.607629,32.243081],[102.60766,32.243344],[102.607694,32.243631],[102.607747,32.243852],[102.607868,32.244186],[102.607947,32.244401],[102.60799,32.244519],[102.608065,32.244741],[102.608143,32.244962],[102.608226,32.2451],[102.608229,32.245105],[102.608318,32.245201],[102.608468,32.245255],[102.608732,32.245317],[102.608757,32.245323],[102.608956,32.245374],[102.608993,32.245383],[102.609111,32.24543],[102.609285,32.245701],[102.609428,32.245797],[102.609546,32.245865],[102.609592,32.245911],[102.609767,32.246276],[102.609894,32.246429],[102.609935,32.246479],[102.610142,32.24669],[102.61042,32.246889],[102.610699,32.247089],[102.611025,32.247286],[102.611352,32.247482],[102.611548,32.247609],[102.611745,32.247735],[102.612052,32.247978],[102.612114,32.248037],[102.612251,32.248167],[102.612387,32.248392],[102.612479,32.248493],[102.612501,32.248517],[102.612633,32.24866],[102.612783,32.248845],[102.612947,32.24912],[102.613037,32.249306],[102.613076,32.249388],[102.613229,32.249573],[102.613404,32.24973],[102.613479,32.249863],[102.613508,32.249927],[102.613536,32.249991],[102.613583,32.250067],[102.613704,32.250266],[102.613882,32.250465],[102.61394,32.25053],[102.613993,32.250637],[102.614003,32.25071],[102.614011,32.250773],[102.614015,32.250908],[102.613833,32.251251],[102.613779,32.251408],[102.613786,32.251536],[102.613811,32.251676],[102.613831,32.251713],[102.613972,32.251968],[102.614222,32.252257],[102.614525,32.252493],[102.614914,32.252696],[102.614996,32.252793],[102.615155,32.253076],[102.615171,32.253105],[102.615346,32.253417],[102.615485,32.253624],[102.615623,32.253752],[102.615678,32.253803],[102.61588,32.253975],[102.615896,32.253989],[102.615931,32.254039],[102.615935,32.254128],[102.615933,32.254143],[102.615892,32.254524],[102.615835,32.254727],[102.615778,32.255006],[102.615728,32.255138],[102.615631,32.255266],[102.615446,32.255388],[102.615178,32.255548],[102.615085,32.255602],[102.614993,32.255741],[102.614893,32.256005],[102.614814,32.256216],[102.614783,32.25642],[102.614775,32.256469],[102.614728,32.256773],[102.614757,32.256951],[102.614757,32.257058],[102.614748,32.257113],[102.614739,32.257172],[102.614664,32.257254],[102.614543,32.257351],[102.614304,32.257583],[102.614132,32.257811],[102.613968,32.258065],[102.613829,32.258273],[102.613696,32.258474],[102.61369,32.258482],[102.613618,32.258596],[102.613618,32.258661],[102.613665,32.258739],[102.613751,32.258853],[102.613979,32.25903],[102.614207,32.259207],[102.614439,32.259317],[102.614518,32.259367],[102.614582,32.259471],[102.614662,32.259587],[102.614907,32.259946],[102.615078,32.260213],[102.615114,32.260274],[102.615167,32.260324],[102.61526,32.26036],[102.615485,32.260381],[102.615592,32.260356],[102.615867,32.260277],[102.61617,32.260249],[102.616388,32.260252],[102.616656,32.260199],[102.616882,32.260124],[102.616916,32.260113],[102.617106,32.260099],[102.617512,32.260085],[102.617852,32.260074],[102.618269,32.26002],[102.61859,32.259988],[102.618883,32.260017],[102.619161,32.260104],[102.61944,32.260192],[102.61975,32.260256],[102.619985,32.260286],[102.620218,32.260317],[102.620486,32.26037],[102.620597,32.260354],[102.620632,32.260349],[102.620718,32.260338],[102.620785,32.260324],[102.620832,32.260317],[102.620885,32.260331],[102.620957,32.260374],[102.621174,32.260663],[102.621213,32.260742],[102.621335,32.260991],[102.621381,32.261063],[102.621489,32.261155],[102.621585,32.261198],[102.621853,32.261316],[102.62212,32.261434],[102.62237,32.26168],[102.622574,32.261832],[102.622777,32.261984],[102.622977,32.262135],[102.623177,32.262287],[102.623405,32.262474],[102.623634,32.262662],[102.623876,32.262847],[102.624101,32.262972],[102.624381,32.263056],[102.624662,32.26314],[102.624894,32.263204],[102.625018,32.263258],[102.625031,32.263263],[102.625031,32.263263],[102.625031,32.263263],[102.625179,32.263329],[102.625315,32.26344],[102.62559,32.263629],[102.625692,32.263728],[102.625693,32.263729],[102.625693,32.263729],[102.625781,32.263817],[102.625891,32.263927],[102.626089,32.264125],[102.626102,32.264141],[102.626103,32.264141],[102.626103,32.264142],[102.626381,32.264485],[102.62666,32.264828],[102.626829,32.264994],[102.626997,32.265161],[102.627196,32.265356],[102.627538,32.265578],[102.627724,32.26567],[102.627877,32.265749],[102.627981,32.265838],[102.628084,32.265949],[102.628249,32.26606],[102.628513,32.266245],[102.628685,32.266318],[102.62878,32.266359],[102.628905,32.266388],[102.629116,32.266342],[102.629234,32.266249],[102.629413,32.26605],[102.629425,32.266037],[102.629593,32.265852],[102.629658,32.265795],[102.629808,32.265667],[102.629965,32.265574],[102.630342,32.265368],[102.63064,32.26523],[102.630804,32.265165],[102.630879,32.265135],[102.6311,32.265092],[102.631393,32.265071],[102.631472,32.265068],[102.631818,32.265053],[102.632057,32.26501],[102.632203,32.264935],[102.63235,32.264846],[102.632514,32.264828],[102.632639,32.26486],[102.63276,32.264842],[102.632917,32.264807],[102.63306,32.264725],[102.633081,32.26469],[102.633149,32.264578],[102.633238,32.264351],[102.633253,32.264314],[102.633406,32.2641],[102.63356,32.264011],[102.633838,32.263943],[102.633981,32.263868],[102.634129,32.263795],[102.634316,32.263704],[102.634402,32.263608],[102.634429,32.263552],[102.634555,32.26329],[102.634641,32.26304],[102.634727,32.26279],[102.634809,32.262647],[102.63503,32.262455],[102.635255,32.262344],[102.635573,32.262255],[102.635733,32.262205],[102.635947,32.262105],[102.636094,32.262033],[102.636277,32.261892],[102.636426,32.261777],[102.636654,32.261655],[102.636786,32.261491],[102.636878,32.261342],[102.636972,32.261191],[102.637129,32.261009],[102.637286,32.260827],[102.637511,32.260635],[102.637775,32.26041],[102.638039,32.260185],[102.638307,32.259929],[102.638576,32.259673],[102.638844,32.259416],[102.639031,32.259267],[102.639217,32.259118],[102.639446,32.258935],[102.639674,32.258753],[102.639918,32.258532],[102.640152,32.258321],[102.640162,32.258312],[102.640394,32.258048],[102.640626,32.257783],[102.640662,32.257714],[102.640751,32.257545],[102.64078,32.257236],[102.640801,32.256822],[102.640822,32.256409],[102.640825,32.256352],[102.640828,32.25629],[102.640871,32.256208],[102.640882,32.256189],[102.641012,32.256094],[102.641334,32.256052],[102.64153,32.256034],[102.641595,32.255986],[102.641697,32.255927],[102.641804,32.255891],[102.64194,32.255903],[102.642214,32.255986],[102.642416,32.25601],[102.642648,32.255927],[102.642904,32.25579],[102.643172,32.255689],[102.643199,32.255687],[102.643326,32.255677],[102.643666,32.255778],[102.643892,32.255832],[102.644118,32.255885],[102.644439,32.256016],[102.644742,32.256129],[102.644903,32.256135],[102.645144,32.256055],[102.645385,32.255975],[102.645792,32.255841],[102.646199,32.255707],[102.646218,32.255701],[102.646517,32.255598],[102.646816,32.255495],[102.647116,32.255392],[102.647347,32.255408],[102.647578,32.255425],[102.647693,32.255433],[102.64799,32.255421],[102.648216,32.255427],[102.648323,32.255487],[102.648505,32.255704],[102.648686,32.255921],[102.648799,32.255992],[102.649085,32.256052],[102.649341,32.256171],[102.649561,32.256456],[102.649748,32.256667],[102.649935,32.256879],[102.649983,32.256932],[102.650141,32.257218],[102.650298,32.257503],[102.650403,32.257696],[102.650517,32.257906],[102.650631,32.258116],[102.650899,32.258437],[102.651081,32.258625],[102.651262,32.258812],[102.6515,32.25908],[102.65169,32.259169],[102.652062,32.259291],[102.652434,32.259413],[102.652815,32.259526],[102.653124,32.259615],[102.653439,32.259811],[102.65363,32.260002],[102.653802,32.260103],[102.653951,32.260139],[102.654343,32.26021],[102.654535,32.260299],[102.654688,32.260371],[102.654772,32.260478],[102.654813,32.260603],[102.654891,32.260722],[102.655045,32.260787],[102.65517,32.260818],[102.655212,32.260829],[102.655384,32.260882],[102.655474,32.260936],[102.655575,32.261037],[102.655706,32.261453],[102.655746,32.261509],[102.655914,32.261745],[102.656033,32.261944],[102.656152,32.262143],[102.656301,32.262447],[102.656408,32.262845],[102.656422,32.263098],[102.656437,32.263351],[102.656527,32.263675],[102.656616,32.263999],[102.656653,32.264159],[102.656729,32.264481],[102.656841,32.264647],[102.656889,32.264719],[102.657032,32.26485],[102.657252,32.264951],[102.657484,32.264981],[102.657895,32.265052],[102.658249,32.265135],[102.658589,32.265292],[102.65863,32.265312],[102.658773,32.26544],[102.658923,32.265638],[102.659073,32.265835],[102.659311,32.266078],[102.659432,32.266225],[102.659534,32.266349],[102.65977,32.266523],[102.660005,32.266696],[102.660239,32.266885],[102.660472,32.267074],[102.660705,32.267263],[102.660792,32.26732],[102.661129,32.267541],[102.661466,32.267762],[102.661814,32.267977],[102.662066,32.268186],[102.662171,32.268314],[102.66228,32.268372],[102.662661,32.268438],[102.662883,32.268478],[102.663061,32.26851],[102.663375,32.268614],[102.663736,32.268824],[102.664005,32.269033],[102.664274,32.269242],[102.664512,32.269442],[102.66475,32.269642],[102.665064,32.26988],[102.665273,32.270035],[102.665483,32.270189],[102.665601,32.27029],[102.66564,32.270323],[102.665749,32.270475],[102.665775,32.270542],[102.665806,32.270623],[102.665821,32.270822],[102.665845,32.27102],[102.665887,32.271365],[102.665897,32.271636],[102.665906,32.271907],[102.665913,32.272032],[102.665925,32.272274],[102.665892,32.272574],[102.665825,32.272912],[102.665816,32.273107],[102.665868,32.273302],[102.665987,32.273625],[102.666059,32.273821],[102.666106,32.273949],[102.666225,32.274273],[102.666332,32.274577],[102.666397,32.274762],[102.666439,32.274882],[102.666545,32.275186],[102.666554,32.27521],[102.666665,32.27555],[102.666708,32.275681],[102.666777,32.275891],[102.666872,32.276164],[102.666968,32.276438],[102.667006,32.276633],[102.667006,32.27679],[102.66693,32.276933],[102.666825,32.277093],[102.666587,32.277456],[102.666474,32.277707],[102.66636,32.277957],[102.666287,32.278118],[102.666176,32.278364],[102.665992,32.278771],[102.665808,32.279178],[102.665731,32.279349],[102.665624,32.279585],[102.66544,32.279991],[102.665295,32.280221],[102.665149,32.280451],[102.665113,32.280507],[102.664942,32.280777],[102.664735,32.281104],[102.66452,32.281444],[102.664305,32.281783],[102.664269,32.281876],[102.664241,32.282062],[102.664262,32.282159],[102.664284,32.282254],[102.664348,32.282376],[102.664512,32.282718],[102.664626,32.283104],[102.66458,32.283421],[102.664533,32.283739],[102.664434,32.283967],[102.664297,32.284174],[102.664241,32.28426],[102.664034,32.28451],[102.66377,32.2847],[102.663506,32.284891],[102.663241,32.285081],[102.663013,32.285267],[102.662906,32.285431],[102.662878,32.285595],[102.662856,32.285724],[102.662844,32.286144],[102.662835,32.286502],[102.662852,32.286917],[102.662863,32.287173],[102.662861,32.287192],[102.662842,32.287422],[102.66282,32.287672],[102.662831,32.287862],[102.662851,32.288206],[102.662856,32.288286],[102.662905,32.288665],[102.662913,32.288729],[102.662913,32.289057],[102.662956,32.289271],[102.663042,32.289528],[102.663127,32.289785],[102.66317,32.289905],[102.663182,32.289938],[102.66327,32.290179],[102.663369,32.290454],[102.663406,32.290556],[102.663543,32.290761],[102.66368,32.290965],[102.663784,32.29112],[102.663984,32.291336],[102.664146,32.291509],[102.664355,32.291734],[102.664442,32.291821],[102.664613,32.291992],[102.664783,32.292162],[102.665051,32.292369],[102.665222,32.292502],[102.665319,32.292576],[102.665536,32.292751],[102.665754,32.292926],[102.665829,32.293013],[102.665961,32.293166],[102.666168,32.293407],[102.666375,32.293647],[102.666532,32.294061],[102.666554,32.294275],[102.666518,32.294454],[102.666393,32.294643],[102.666268,32.294832],[102.666082,32.294998],[102.66579,32.29526],[102.66575,32.295291],[102.665534,32.295458],[102.665319,32.295624],[102.665047,32.295967],[102.664776,32.29631],[102.664569,32.296624],[102.664362,32.296938],[102.664155,32.297252],[102.664104,32.297352],[102.663959,32.297634],[102.663762,32.298016],[102.663725,32.298085],[102.663537,32.298433],[102.663349,32.298781],[102.663162,32.299128],[102.663042,32.299351],[102.662895,32.299666],[102.662748,32.299982],[102.662601,32.300298],[102.662463,32.300593],[102.662345,32.30087],[102.662235,32.301128],[102.662185,32.301399],[102.662178,32.301671],[102.662242,32.301885],[102.662336,32.302175],[102.662429,32.302466],[102.662513,32.302727],[102.662695,32.303014],[102.662877,32.3033],[102.663034,32.303548],[102.663202,32.303876],[102.66337,32.304205],[102.663569,32.30446],[102.663698,32.304626],[102.663827,32.30479],[102.66392,32.304926],[102.663998,32.305097],[102.664027,32.305261],[102.664041,32.305493],[102.664041,32.305495],[102.664041,32.305497],[102.66397,32.305832],[102.663845,32.306064],[102.66372,32.306296],[102.663648,32.306342],[102.663563,32.306396],[102.663327,32.306482],[102.663141,32.30661],[102.663056,32.306767],[102.663027,32.306917],[102.663006,32.307103],[102.663006,32.307331],[102.663134,32.307695],[102.663155,32.307839],[102.663191,32.308083],[102.663227,32.308328],[102.663241,32.308424],[102.663241,32.308659],[102.663206,32.308845],[102.663063,32.309052],[102.662972,32.309124],[102.66292,32.309166],[102.662904,32.309193],[102.662785,32.309402],[102.662742,32.309601],[102.662777,32.309758],[102.662842,32.309944],[102.662876,32.310054],[102.662992,32.310422],[102.66306,32.310708],[102.663128,32.310994],[102.663141,32.311051],[102.663141,32.311279],[102.663127,32.311515],[102.663027,32.311829],[102.662985,32.3119],[102.662835,32.312157],[102.662673,32.312419],[102.662512,32.312682],[102.66235,32.312944],[102.662191,32.313221],[102.662031,32.313498],[102.662004,32.313561],[102.661798,32.313898],[102.661652,32.314154],[102.661434,32.314349],[102.661215,32.314544],[102.661068,32.314599],[102.661035,32.314611],[102.660655,32.314696],[102.660275,32.314782],[102.66004,32.314841],[102.659805,32.314901],[102.659587,32.314974],[102.65948,32.314994],[102.659462,32.314995],[102.659338,32.315004],[102.659288,32.315008],[102.659086,32.314996],[102.658827,32.314907],[102.658568,32.314817],[102.658169,32.314615],[102.657813,32.314573],[102.65745,32.314556],[102.657271,32.314508],[102.65689,32.314319],[102.656508,32.31413],[102.656126,32.313941],[102.655998,32.313877],[102.655748,32.313717],[102.655499,32.313556],[102.655159,32.313396],[102.65488,32.313339],[102.6546,32.313283],[102.6543,32.313259],[102.653999,32.313235],[102.653595,32.313241],[102.653256,32.31333],[102.652889,32.313487],[102.652685,32.313574],[102.652453,32.313678],[102.652221,32.313782],[102.651906,32.313919],[102.65168,32.313931],[102.651346,32.313877],[102.651258,32.313869],[102.650995,32.313845],[102.650644,32.313812],[102.650606,32.31381],[102.650311,32.313794],[102.650038,32.313806],[102.64974,32.313919],[102.649608,32.313942],[102.649538,32.313955],[102.649258,32.313955],[102.648967,32.31383],[102.648675,32.313705],[102.648598,32.313641],[102.648574,32.313622],[102.648485,32.313622],[102.648384,32.313782],[102.648342,32.31405],[102.648348,32.314421],[102.648354,32.314792],[102.64836,32.315162],[102.648319,32.315484],[102.648176,32.315543],[102.648039,32.315638],[102.647914,32.315757],[102.647812,32.315903],[102.647789,32.315936],[102.647736,32.316156],[102.64775,32.316231],[102.647765,32.316305],[102.64784,32.316563],[102.647914,32.316822],[102.647872,32.316983],[102.6477,32.317096],[102.647459,32.317276],[102.647218,32.317456],[102.647135,32.317518],[102.646894,32.317792],[102.646653,32.318065],[102.646631,32.318113],[102.646532,32.318327],[102.646433,32.318541],[102.646427,32.318845],[102.646314,32.319071],[102.646202,32.319266],[102.646195,32.319279],[102.646171,32.319529],[102.646195,32.319719],[102.646367,32.32004],[102.646447,32.320287],[102.646459,32.320323],[102.646472,32.320365],[102.646578,32.320691],[102.646683,32.321016],[102.646745,32.321287],[102.646808,32.321557],[102.646814,32.321672],[102.646829,32.321936],[102.646847,32.322262],[102.646866,32.322587],[102.646823,32.322875],[102.646764,32.323263],[102.646706,32.323651],[102.64665,32.323897],[102.64663,32.323988],[102.646554,32.324325],[102.646478,32.324662],[102.646443,32.324901],[102.646426,32.325019],[102.646413,32.325112],[102.646375,32.325376],[102.646355,32.325753],[102.646335,32.326131],[102.646315,32.326508],[102.646295,32.326886],[102.646275,32.327263],[102.646262,32.327578],[102.646248,32.327892],[102.646234,32.328207],[102.646157,32.328502],[102.646079,32.328797],[102.64603,32.328984],[102.645972,32.329294],[102.645913,32.329604],[102.645879,32.329784],[102.645708,32.330108],[102.64565,32.330212],[102.645551,32.330389],[102.645394,32.330669],[102.645299,32.330812],[102.645289,32.33106],[102.645318,32.331193],[102.645543,32.33145],[102.645768,32.331707],[102.645993,32.331964],[102.646225,32.33218],[102.646457,32.332395],[102.646688,32.332611],[102.646688,32.332611],[102.646945,32.332797],[102.647202,32.332982],[102.647547,32.333161],[102.647683,32.333182],[102.64779,32.333218],[102.647854,32.333261],[102.64786,32.33331],[102.647861,32.333325],[102.647861,32.333368],[102.647776,32.333475],[102.647561,32.333632],[102.64724,32.333825],[102.646919,32.334017],[102.646576,32.33421],[102.646234,32.334403],[102.645891,32.334595],[102.645852,32.334617],[102.64559,32.334758],[102.6452,32.334968],[102.64481,32.335178],[102.644421,32.335388],[102.644039,32.335588],[102.643657,32.335787],[102.643275,32.335987],[102.642896,32.33619],[102.64267,32.336312],[102.642278,32.336485],[102.641886,32.336659],[102.641883,32.33666],[102.641882,32.336661],[102.641493,32.336833],[102.641207,32.33706],[102.640921,32.337287],[102.640761,32.337511],[102.640635,32.337884],[102.64051,32.338257],[102.640385,32.33863],[102.640297,32.339061],[102.640235,32.339366],[102.640172,32.339671],[102.640132,32.339912],[102.640059,32.34035],[102.639986,32.340788],[102.639913,32.341226],[102.639826,32.341643],[102.639739,32.34206],[102.639653,32.342477],[102.639622,32.342624],[102.639566,32.342893],[102.639482,32.343307],[102.639399,32.34372],[102.639315,32.344134],[102.639242,32.34443],[102.63917,32.344727],[102.639097,32.345023],[102.638994,32.345444],[102.638946,32.345838],[102.638898,32.346232],[102.638865,32.346502],[102.638834,32.346635],[102.638785,32.346847],[102.638704,32.347192],[102.638681,32.347294],[102.638624,32.347537],[102.638724,32.34793],[102.638731,32.348166],[102.638692,32.348406],[102.638688,32.34843],[102.638688,32.348708],[102.638738,32.348929],[102.638774,32.349201],[102.638874,32.349379],[102.639017,32.349579],[102.639131,32.349836],[102.639202,32.350221],[102.639268,32.350444],[102.639333,32.350666],[102.639409,32.350928],[102.639513,32.351135],[102.639616,32.351342],[102.639806,32.351645],[102.639986,32.351935],[102.639995,32.351949],[102.640252,32.352156],[102.640502,32.352299],[102.64073,32.352406],[102.64081,32.352447],[102.640941,32.352514],[102.640966,32.352527],[102.641215,32.352656],[102.641336,32.352753],[102.641433,32.35283],[102.641651,32.353005],[102.641795,32.353138],[102.642008,32.353334],[102.642158,32.353434],[102.642379,32.353555],[102.642507,32.353655],[102.642636,32.353769],[102.642736,32.353919],[102.642836,32.35399],[102.643021,32.354033],[102.643193,32.354055],[102.643314,32.35409],[102.643478,32.354176],[102.643628,32.354347],[102.643778,32.354519],[102.644071,32.354683],[102.644306,32.354769],[102.644513,32.354769],[102.644813,32.354754],[102.645177,32.354733],[102.645419,32.354729],[102.645661,32.354726],[102.6457,32.354731],[102.645991,32.354818],[102.646355,32.354961],[102.646583,32.354983],[102.646783,32.35499],[102.647083,32.354918],[102.647161,32.354899],[102.64754,32.354804],[102.647733,32.354761],[102.647918,32.354754],[102.64809,32.354797],[102.648261,32.354876],[102.648534,32.355041],[102.648807,32.355207],[102.649132,32.355404],[102.649465,32.355605],[102.649702,32.355747],[102.649939,32.355889],[102.64994,32.35589],[102.650113,32.356017],[102.650178,32.356065],[102.650417,32.356239],[102.650574,32.356582],[102.650699,32.35678],[102.650795,32.356931],[102.651081,32.357074],[102.651345,32.357146],[102.651752,32.357153],[102.652166,32.357089],[102.652473,32.35706],[102.652698,32.35706],[102.652865,32.35706],[102.653229,32.357131],[102.653593,32.357203],[102.653922,32.357298],[102.65425,32.357393],[102.654578,32.357488],[102.654627,32.357512],[102.654759,32.357547],[102.655141,32.357747],[102.655354,32.357876],[102.655566,32.358005],[102.655738,32.358153],[102.655911,32.358301],[102.656083,32.358448],[102.656255,32.358596],[102.656326,32.358677],[102.656476,32.358851],[102.656581,32.35916],[102.656618,32.359528],[102.656604,32.359785],[102.656592,32.360001],[102.65659,32.360041],[102.656579,32.360229],[102.656684,32.360593],[102.656684,32.3608],[102.656601,32.360956],[102.656533,32.361082],[102.656545,32.361484],[102.656558,32.361899],[102.656563,32.362078],[102.65657,32.362315],[102.656617,32.362653],[102.656664,32.362991],[102.656771,32.363301],[102.656856,32.363524],[102.656941,32.363748],[102.657072,32.363952],[102.657203,32.364157],[102.657407,32.364469],[102.657611,32.364781],[102.657815,32.365093],[102.657935,32.365288],[102.658056,32.365483],[102.658176,32.365678],[102.658296,32.365873],[102.658416,32.366068],[102.658536,32.366263],[102.658644,32.366486],[102.658753,32.366709],[102.658861,32.366932],[102.65897,32.367156],[102.659078,32.367379],[102.659187,32.367602],[102.659221,32.367671],[102.659296,32.367825],[102.659404,32.368048],[102.659508,32.368268],[102.659612,32.368489],[102.659716,32.368709],[102.659821,32.368929],[102.659925,32.36915],[102.660029,32.36937],[102.660144,32.369613],[102.660259,32.369856],[102.660374,32.370099],[102.660489,32.370342],[102.660604,32.370585],[102.660718,32.370828],[102.660879,32.371231],[102.661039,32.371634],[102.661116,32.371827],[102.661199,32.372036],[102.661359,32.372439],[102.661433,32.372674],[102.661507,32.372909],[102.661573,32.37312],[102.661581,32.373143],[102.661654,32.373378],[102.661728,32.373613],[102.661802,32.373848],[102.661881,32.374014],[102.661915,32.374086],[102.662029,32.374324],[102.662142,32.374562],[102.662157,32.374593],[102.662255,32.3748],[102.662304,32.374893],[102.662421,32.375113],[102.662531,32.37532],[102.66264,32.375528],[102.66266,32.375565],[102.66275,32.375735],[102.66286,32.375942],[102.66297,32.37615],[102.66308,32.376357],[102.663206,32.376564],[102.663332,32.37677],[102.663459,32.376977],[102.663508,32.377056],[102.663585,32.377183],[102.663618,32.377236],[102.663712,32.37739],[102.663838,32.377596],[102.663965,32.377803],[102.664091,32.378009],[102.664218,32.378216],[102.664344,32.378423],[102.664496,32.378639],[102.664627,32.378825],[102.664648,32.378855],[102.6648,32.379072],[102.664953,32.379288],[102.665105,32.379504],[102.665257,32.379721],[102.665409,32.379937],[102.665561,32.380153],[102.665713,32.38037],[102.665865,32.380586],[102.666085,32.38086],[102.666306,32.381135],[102.666471,32.38132],[102.666637,32.381506],[102.666916,32.381714],[102.667195,32.381922],[102.667565,32.382101],[102.667936,32.382281],[102.668353,32.382409],[102.66877,32.382537],[102.669188,32.382665],[102.669605,32.382793],[102.669953,32.382935],[102.670302,32.383077],[102.670549,32.383188],[102.670797,32.383298],[102.671108,32.383574],[102.671262,32.383779],[102.671416,32.383984],[102.67162,32.384315],[102.671823,32.384646],[102.672027,32.384978],[102.672229,32.385366],[102.672431,32.385754],[102.672633,32.386143],[102.672835,32.386531],[102.672907,32.386724],[102.672987,32.386938],[102.673067,32.387151],[102.673147,32.387365],[102.673227,32.387578],[102.673307,32.387791],[102.673388,32.388005],[102.673492,32.388206],[102.673597,32.388407],[102.673702,32.388608],[102.673807,32.388809],[102.673912,32.38901],[102.674017,32.389211],[102.674213,32.389523],[102.67441,32.389835],[102.674587,32.390012],[102.674765,32.390188],[102.675022,32.390338],[102.67528,32.390487],[102.675617,32.390647],[102.675954,32.390808],[102.676291,32.390968],[102.676559,32.391028],[102.676827,32.391088],[102.677095,32.391147],[102.677363,32.391207],[102.677713,32.391291],[102.678063,32.391374],[102.678198,32.391436],[102.67831,32.391514],[102.67833,32.39163],[102.678349,32.391765],[102.678321,32.391919],[102.678109,32.392262],[102.677956,32.392632],[102.677802,32.393001],[102.677648,32.393371],[102.677523,32.393605],[102.677397,32.393838],[102.677272,32.394072],[102.677147,32.394306],[102.677019,32.394515],[102.676891,32.394723],[102.676763,32.394932],[102.676635,32.395141],[102.676507,32.395349],[102.676379,32.395558],[102.676251,32.395766],[102.676123,32.395975],[102.675979,32.396187],[102.675836,32.396399],[102.675692,32.396611],[102.675549,32.396823],[102.675405,32.397035],[102.67529,32.397206],[102.675262,32.397247],[102.675118,32.397459],[102.674975,32.397671],[102.674831,32.397883],[102.674688,32.398095],[102.674544,32.398307],[102.674483,32.398399],[102.674401,32.39852],[102.674257,32.398732],[102.674114,32.398944],[102.67397,32.399177],[102.673826,32.39941],[102.673681,32.399642],[102.673537,32.399875],[102.673393,32.400108],[102.673249,32.400341],[102.673104,32.400574],[102.67296,32.400807],[102.672816,32.40104],[102.672672,32.401273],[102.672528,32.401506],[102.672383,32.401739],[102.672239,32.401972],[102.672095,32.402205],[102.671951,32.402438],[102.671806,32.402671],[102.671598,32.403048],[102.67139,32.403425],[102.671182,32.403802],[102.670974,32.404179],[102.670811,32.40454],[102.670649,32.404901],[102.670486,32.405262],[102.670479,32.405332],[102.670458,32.40555],[102.670539,32.40584],[102.67065,32.405997],[102.670851,32.406154],[102.67113,32.406352],[102.671409,32.406551],[102.671604,32.406694],[102.6718,32.406837],[102.671995,32.40698],[102.67219,32.407124],[102.672368,32.40729],[102.672546,32.407457],[102.672691,32.407678],[102.672837,32.407899],[102.672983,32.40812],[102.673129,32.408341],[102.673261,32.408541],[102.673365,32.408677],[102.673421,32.408783],[102.673631,32.40918],[102.673698,32.409306],[102.67382,32.409536],[102.674008,32.409891],[102.674215,32.410182],[102.674364,32.410392],[102.674513,32.410602],[102.674769,32.410807],[102.675025,32.411012],[102.675062,32.411025],[102.675479,32.41117],[102.675895,32.411314],[102.676222,32.411469],[102.676549,32.411623],[102.676876,32.411777],[102.677078,32.411893],[102.67728,32.412008],[102.677561,32.412203],[102.677807,32.41246],[102.677809,32.412461],[102.677812,32.412462],[102.677836,32.412491],[102.677928,32.412587],[102.678049,32.412737],[102.678114,32.412865],[102.678114,32.412866],[102.678114,32.412867],[102.678114,32.412868],[102.678128,32.413001],[102.678128,32.413144],[102.678099,32.413379],[102.678002,32.413628],[102.677968,32.413716],[102.677905,32.413876],[102.677892,32.413908],[102.677769,32.414159],[102.677728,32.414243],[102.677693,32.414457],[102.677711,32.414723],[102.67773,32.414988],[102.67775,32.415283],[102.677771,32.415578],[102.677764,32.415849],[102.677757,32.416121],[102.677785,32.416363],[102.677885,32.416649],[102.677985,32.416863],[102.678266,32.41705],[102.678328,32.417091],[102.678635,32.417245],[102.678942,32.417398],[102.679249,32.417552],[102.679556,32.417705],[102.679913,32.417873],[102.68027,32.418041],[102.680626,32.418209],[102.680983,32.418376],[102.68135,32.418567],[102.681716,32.418757],[102.682083,32.418947],[102.682259,32.419093],[102.682509,32.419298],[102.682758,32.419504],[102.682967,32.419772],[102.683175,32.42004],[102.683238,32.420119],[102.683455,32.42039],[102.683672,32.420661],[102.683774,32.420788],[102.683889,32.420932],[102.684031,32.421086],[102.684044,32.421089],[102.684281,32.421134],[102.684376,32.421134],[102.684797,32.421019],[102.685217,32.420904],[102.685638,32.420789],[102.686011,32.420668],[102.686385,32.420546],[102.686758,32.420425],[102.68685,32.420395],[102.687132,32.420304],[102.687505,32.420182],[102.687749,32.420135],[102.687993,32.420087],[102.68835,32.419992],[102.688493,32.419968],[102.688719,32.419968],[102.688814,32.419956],[102.688945,32.419992],[102.6891,32.420123],[102.689442,32.420346],[102.689784,32.420569],[102.690126,32.420792],[102.690468,32.421015],[102.690801,32.421217],[102.691134,32.42142],[102.691274,32.421497],[102.691484,32.421613],[102.691693,32.421729],[102.692098,32.421833],[102.692503,32.421937],[102.692621,32.421967],[102.692907,32.422106],[102.693192,32.422244],[102.693478,32.422383],[102.693728,32.422502],[102.693978,32.422621],[102.694186,32.422794],[102.694394,32.422966],[102.694602,32.423169],[102.69481,32.423371],[102.695032,32.423625],[102.695255,32.423878],[102.695477,32.424132],[102.695534,32.424226],[102.695687,32.424475],[102.695897,32.424818],[102.696107,32.425161],[102.696317,32.425504],[102.696528,32.425847],[102.696738,32.42619],[102.69691,32.426488],[102.697083,32.426785],[102.697255,32.427083],[102.697428,32.42738],[102.697614,32.427725],[102.69765,32.427791],[102.697801,32.42807],[102.697987,32.428415],[102.69803,32.428514],[102.698165,32.428826],[102.698344,32.429236],[102.698395,32.42936],[102.698451,32.429498],[102.698592,32.4296],[102.698665,32.429653],[102.698903,32.429772],[102.699045,32.429819],[102.699248,32.429888],[102.699333,32.429916],[102.699593,32.430004],[102.699938,32.43012],[102.700283,32.430236],[102.700622,32.430432],[102.700961,32.430628],[102.701239,32.430747],[102.701517,32.430866],[102.701794,32.430985],[102.702205,32.431122],[102.702615,32.431259],[102.70283,32.431348],[102.702972,32.431407],[102.703329,32.431556],[102.703597,32.431723],[102.703864,32.431889],[102.704114,32.432187],[102.704441,32.432395],[102.704768,32.432603],[102.705113,32.432799],[102.705458,32.432996],[102.70583,32.433128],[102.706078,32.433216],[102.706327,32.433305],[102.706583,32.433454],[102.706839,32.433602],[102.707005,32.43365],[102.707219,32.433626],[102.707517,32.433495],[102.707722,32.433447],[102.707921,32.4334],[102.708225,32.433376],[102.708528,32.433353],[102.708814,32.433394],[102.709099,32.433436],[102.709504,32.433567],[102.709849,32.433769],[102.709854,32.433775],[102.710027,32.433971],[102.710164,32.434257],[102.710301,32.434542],[102.710432,32.43478],[102.710562,32.435018],[102.710729,32.43522],[102.710979,32.43528],[102.711324,32.435399],[102.711669,32.435518],[102.711851,32.435626],[102.712131,32.43578],[102.712411,32.435934],[102.712545,32.43601],[102.712649,32.436172],[102.712802,32.436515],[102.712954,32.436858],[102.713055,32.437082],[102.713157,32.437307],[102.713268,32.437552],[102.713411,32.437943],[102.713468,32.438142],[102.713531,32.43825],[102.713601,32.438371],[102.713815,32.438656],[102.714029,32.438942],[102.714291,32.439204],[102.714553,32.439465],[102.71491,32.439689],[102.715031,32.439765],[102.715267,32.439913],[102.715476,32.440022],[102.715685,32.440132],[102.715847,32.440265],[102.715876,32.44037],[102.715919,32.440665],[102.715961,32.44096],[102.715985,32.441279],[102.716009,32.441597],[102.715985,32.441761],[102.715971,32.441854],[102.715941,32.442132],[102.715913,32.442383],[102.715885,32.442635],[102.715886,32.442638],[102.715923,32.442844],[102.715941,32.442876],[102.716038,32.443054],[102.716223,32.443249],[102.716409,32.443444],[102.716605,32.44371],[102.716802,32.443977],[102.716999,32.444243],[102.717132,32.444481],[102.717208,32.444843],[102.71724,32.445259],[102.717272,32.445674],[102.717303,32.44609],[102.717367,32.446509],[102.71743,32.446927],[102.717494,32.447346],[102.717583,32.44766],[102.717671,32.447974],[102.71776,32.448288],[102.717804,32.448405],[102.717855,32.448545],[102.717989,32.448717],[102.718112,32.448888],[102.718465,32.449107],[102.718574,32.449179],[102.718757,32.449301],[102.719048,32.449494],[102.71934,32.449688],[102.719349,32.449691],[102.719621,32.449784],[102.719892,32.449878],[102.720268,32.449987],[102.720644,32.450097],[102.721015,32.450282],[102.721127,32.450338],[102.721387,32.450468],[102.721526,32.450524],[102.721608,32.450567],[102.721796,32.450678],[102.721824,32.450706],[102.721862,32.450868],[102.721834,32.451011],[102.721672,32.451229],[102.721577,32.451448],[102.721558,32.451734],[102.721558,32.451953],[102.721434,32.452324],[102.721305,32.452689],[102.721175,32.453055],[102.72112,32.453209],[102.720992,32.453533],[102.720863,32.453856],[102.720787,32.454113],[102.720673,32.454313],[102.720494,32.454394],[102.720378,32.454447],[102.720159,32.454542],[102.719987,32.454713],[102.719792,32.454999],[102.71979,32.455001],[102.719642,32.455218],[102.719597,32.455284],[102.719437,32.455552],[102.719276,32.455819],[102.719116,32.456087],[102.719026,32.456236],[102.718879,32.456474],[102.718731,32.456712],[102.718598,32.45694],[102.718512,32.457131],[102.718512,32.457245],[102.718655,32.45733],[102.718971,32.457495],[102.718778,32.457557],[102.718069,32.457644],[102.717122,32.45786],[102.715839,32.458306],[102.7153,32.458493],[102.713919,32.458767],[102.712851,32.459081],[102.711503,32.459589],[102.709838,32.460224],[102.708442,32.461098],[102.70796,32.461391],[102.707743,32.461523],[102.707325,32.461777],[102.705837,32.462569],[102.705694,32.462646],[102.70442,32.463321],[102.703025,32.464161],[102.702303,32.464747],[102.701285,32.464629],[102.699758,32.464468],[102.698109,32.464471],[102.696979,32.464118],[102.696354,32.464006],[102.696304,32.464007],[102.694665,32.464042],[102.693445,32.464153],[102.691914,32.464125],[102.691043,32.464409],[102.689386,32.464744],[102.688008,32.464885],[102.686659,32.465427],[102.685268,32.4661],[102.683992,32.466842],[102.682959,32.467322],[102.681996,32.468137],[102.680831,32.469147],[102.680198,32.469335],[102.679673,32.468394],[102.679419,32.467557],[102.678424,32.466573],[102.677165,32.465119],[102.676399,32.464406],[102.675509,32.46389],[102.673834,32.46336],[102.672971,32.463344],[102.671747,32.463587],[102.671317,32.463546],[102.671691,32.462721],[102.671722,32.461523],[102.67209,32.459433],[102.672349,32.458506],[102.672094,32.457769],[102.671048,32.457217],[102.669418,32.456488],[102.667513,32.455754],[102.666433,32.455002],[102.665082,32.454111],[102.66374,32.452888],[102.662891,32.452306],[102.662136,32.452314],[102.661713,32.452318],[102.66137,32.452311],[102.660497,32.452295],[102.659429,32.452575],[102.658992,32.4528],[102.65831,32.453353],[102.657613,32.454505],[102.656853,32.455057],[102.655635,32.455067],[102.654573,32.455181],[102.652817,32.456279],[102.651823,32.45676],[102.648767,32.458034],[102.648555,32.458134],[102.646926,32.45709],[102.645651,32.456373],[102.644645,32.455777],[102.643154,32.455518],[102.642086,32.455336],[102.642062,32.454784],[102.641667,32.453802],[102.64168,32.453283],[102.641417,32.453083],[102.640118,32.452994],[102.639168,32.452684],[102.638217,32.452438],[102.637417,32.452261],[102.636745,32.451631],[102.635926,32.450707],[102.635334,32.449916],[102.634595,32.448896],[102.634037,32.448268],[102.633699,32.448002],[102.633019,32.447665],[102.632531,32.447266],[102.631846,32.447091],[102.630589,32.44684],[102.629403,32.446785],[102.628138,32.446858],[102.627704,32.447337],[102.627062,32.448116],[102.626764,32.448476],[102.626755,32.448488],[102.626744,32.448499],[102.626046,32.449222],[102.625449,32.450087],[102.625067,32.450048],[102.624124,32.44951],[102.623403,32.449237],[102.622301,32.448924],[102.62145,32.448637],[102.620972,32.448476],[102.619525,32.448157],[102.619196,32.448167],[102.618222,32.448197],[102.618083,32.448202],[102.61711,32.448241],[102.61585,32.44812],[102.61501,32.448087],[102.614386,32.448063],[102.614205,32.448056],[102.61394,32.447994],[102.61341,32.447871],[102.612682,32.447702],[102.61112,32.447413],[102.609444,32.447056],[102.607959,32.446736],[102.606124,32.446636],[102.604169,32.446696],[102.603164,32.447034],[102.601913,32.448017],[102.601593,32.44829],[102.601388,32.448466],[102.601208,32.44862],[102.600517,32.448672],[102.599369,32.448618],[102.599103,32.44862],[102.598918,32.448621],[102.598772,32.448623],[102.598182,32.448628],[102.596761,32.448763],[102.596137,32.449205],[102.595746,32.44949],[102.59475,32.449504],[102.59391,32.449423],[102.593035,32.449211],[102.592622,32.448911],[102.592072,32.447959],[102.591138,32.447097],[102.589935,32.446262],[102.588311,32.445386],[102.586495,32.444572],[102.584527,32.44369],[102.583009,32.443174],[102.581255,32.442913],[102.580868,32.44287],[102.579498,32.442717],[102.579065,32.44266],[102.577781,32.442489],[102.576027,32.442228],[102.574966,32.441786],[102.573031,32.441131],[102.571286,32.440513],[102.569919,32.440065],[102.567794,32.439374],[102.566501,32.439025],[102.565743,32.438718],[102.565107,32.438186],[102.564399,32.437458],[102.563736,32.436471],[102.562842,32.435544],[102.562561,32.434597],[102.562118,32.434004],[102.561318,32.433826],[102.560255,32.433513],[102.558222,32.432841],[102.556984,32.432157],[102.556042,32.431289],[102.553949,32.429358],[102.553757,32.429224],[102.55254,32.428367],[102.550491,32.426704],[102.548578,32.425304],[102.548572,32.4253],[102.548567,32.425296],[102.548552,32.425285],[102.548521,32.425262],[102.548496,32.425244],[102.548491,32.425241],[102.54848,32.425234],[102.548362,32.425162],[102.5482,32.425063],[102.546613,32.424091],[102.54649,32.42401],[102.546463,32.423992],[102.544321,32.422575],[102.543751,32.422217],[102.543321,32.421947],[102.540902,32.420733],[102.538959,32.419788],[102.538835,32.419728],[102.538407,32.419519],[102.536887,32.418777],[102.535523,32.418344],[102.534512,32.418121],[102.534201,32.418159],[102.533943,32.418191],[102.533156,32.418286],[102.532712,32.41834],[102.532553,32.418385],[102.531386,32.41872],[102.529342,32.419085],[102.528362,32.419155],[102.527846,32.419192],[102.527664,32.419205],[102.526508,32.419228],[102.52509,32.419256],[102.523884,32.419232],[102.523122,32.419217],[102.521922,32.419193],[102.520065,32.419258],[102.518846,32.419234],[102.518773,32.419233],[102.516419,32.419186],[102.513727,32.419184],[102.512634,32.419771],[102.511778,32.420464],[102.511402,32.421066],[102.511323,32.421215],[102.511263,32.421327],[102.511246,32.421359],[102.511236,32.421379],[102.511223,32.421402],[102.510749,32.422294],[102.510708,32.422371],[102.510669,32.423791],[102.511394,32.425733],[102.512401,32.428239],[102.513938,32.43111],[102.514308,32.432894],[102.514031,32.434258],[102.513027,32.435963],[102.511793,32.437308],[102.510628,32.438351],[102.509176,32.438931],[102.507601,32.43961],[102.506141,32.440494],[102.50465,32.442494],[102.502618,32.444584],[102.501934,32.445535],[102.501265,32.445927],[102.500299,32.446213],[102.499732,32.447445],[102.498921,32.448001],[102.496884,32.448531],[102.495789,32.44825],[102.494777,32.447191],[102.493962,32.445668],[102.493447,32.444359],[102.492802,32.443308],[102.492528,32.44216],[102.492023,32.440487],[102.491511,32.439075],[102.491415,32.438086],[102.491259,32.437096],[102.490313,32.435882],[102.488331,32.43444],[102.487322,32.433277],[102.48649,32.432378],[102.485528,32.431735],[102.484503,32.431143],[102.48343,32.430083],[102.482739,32.428511],[102.482403,32.427362],[102.481591,32.425735],[102.481169,32.423285],[102.480743,32.420991],[102.480725,32.419433],[102.480701,32.418082],[102.480625,32.416418],[102.480722,32.415121],[102.481419,32.412071],[102.481512,32.41093],[102.481502,32.409111],[102.481535,32.407917],[102.481934,32.406782],[102.481957,32.405952],[102.481929,32.404757],[102.482146,32.403566],[102.48292,32.402127],[102.483981,32.401421],[102.485717,32.400625],[102.487793,32.39864],[102.488665,32.398086],[102.48943,32.397011],[102.490508,32.395682],[102.490781,32.394648],[102.490756,32.393349],[102.490554,32.391787],[102.490778,32.390337],[102.491056,32.386914],[102.491462,32.385519],[102.491141,32.383851],[102.491049,32.382758],[102.490598,32.381346],[102.490509,32.38015],[102.490542,32.378956],[102.490394,32.377654],[102.488845,32.376117],[102.488027,32.374698],[102.487249,32.374059],[102.486154,32.37383],[102.486108,32.373257],[102.486269,32.371858],[102.486611,32.370566],[102.48628,32.369261],[102.485027,32.368093],[102.484561,32.367252],[102.483433,32.365983],[102.482675,32.364617],[102.482273,32.363674],[102.482135,32.362009],[102.482039,32.361072],[102.481338,32.359864],[102.480688,32.359019],[102.479785,32.358482],[102.478407,32.357402],[102.476598,32.356457],[102.475767,32.356051],[102.47458,32.354728],[102.473468,32.353472],[102.472326,32.353254],[102.471258,32.353168],[102.470661,32.353029],[102.470346,32.352955],[102.468904,32.352536],[102.467467,32.351923],[102.466106,32.351376],[102.464668,32.350827],[102.462705,32.349879],[102.460597,32.348667],[102.458786,32.347787],[102.458579,32.347678],[102.456977,32.346841],[102.455953,32.34682],[102.455753,32.346816],[102.454523,32.347051],[102.454496,32.347052],[102.454452,32.347055],[102.453604,32.347097],[102.451698,32.346864],[102.450859,32.346782],[102.450575,32.346601],[102.45045,32.346521],[102.450444,32.346518],[102.450239,32.346387],[102.449807,32.346111],[102.449363,32.346021],[102.449228,32.346117],[102.449219,32.346108],[102.449134,32.346058],[102.448742,32.345895],[102.447984,32.345262],[102.447546,32.344897],[102.44698,32.343262],[102.446265,32.341494],[102.445203,32.33947],[102.444765,32.338635],[102.444755,32.338616],[102.444737,32.338582],[102.444719,32.338546],[102.444639,32.338395],[102.444552,32.338229],[102.441805,32.337214],[102.441275,32.337018],[102.441245,32.337007],[102.441061,32.336939],[102.440769,32.336831],[102.43883,32.336226],[102.438076,32.335918],[102.437753,32.335786],[102.437611,32.335728],[102.437505,32.335685],[102.437468,32.33567],[102.437419,32.335626],[102.437413,32.33562],[102.437005,32.335257],[102.436948,32.335206],[102.436784,32.334713],[102.437072,32.333964],[102.437296,32.333477],[102.437515,32.332959],[102.437551,32.331684],[102.437254,32.330243],[102.437252,32.330237],[102.437211,32.330039],[102.437177,32.32987],[102.43713,32.329646],[102.437047,32.329495],[102.436936,32.329295],[102.43685,32.329139],[102.436744,32.328948],[102.436634,32.32875],[102.436548,32.328594],[102.436481,32.328474],[102.436415,32.328355],[102.436403,32.328213],[102.436392,32.328078],[102.436313,32.327135],[102.435728,32.326079],[102.435735,32.325853],[102.435736,32.325798],[102.435756,32.325081],[102.435761,32.324933],[102.435784,32.324108],[102.435787,32.324072],[102.435809,32.32385],[102.43588,32.323124],[102.435498,32.322131],[102.435123,32.320905],[102.434873,32.320088],[102.434672,32.319572],[102.434554,32.31927],[102.434412,32.318963],[102.434182,32.318469],[102.434105,32.318304],[102.433846,32.317747],[102.433206,32.316368],[102.433116,32.315485],[102.432948,32.314634],[102.432878,32.313389],[102.432877,32.313361],[102.432877,32.313359],[102.432875,32.313349],[102.432875,32.313348],[102.432874,32.313331],[102.432871,32.313262],[102.432873,32.31325],[102.432892,32.313138],[102.43301,32.312416],[102.433662,32.311092],[102.434185,32.310287],[102.434708,32.309417],[102.435152,32.308676],[102.435335,32.307636],[102.435919,32.305984],[102.436223,32.30475],[102.436339,32.30335],[102.436629,32.302605],[102.436964,32.301633],[102.436959,32.300459],[102.436929,32.298794],[102.437037,32.297687],[102.437007,32.297452],[102.436785,32.295692],[102.436772,32.295461],[102.436747,32.295033],[102.436708,32.294353],[102.436507,32.293305],[102.436316,32.291898],[102.436036,32.290947],[102.435917,32.289704],[102.436169,32.288678],[102.436182,32.288624],[102.436194,32.288578],[102.436202,32.288543],[102.436235,32.288407],[102.436307,32.288114],[102.436334,32.287824],[102.436342,32.287743],[102.436418,32.286909],[102.436614,32.285412],[102.43739,32.283764],[102.437437,32.283638],[102.437464,32.283566],[102.437639,32.283096],[102.437764,32.28276],[102.438077,32.281961],[102.438138,32.281807],[102.438715,32.280333],[102.4387,32.279674],[102.438698,32.279582],[102.438861,32.278874],[102.438884,32.278774],[102.438982,32.278347],[102.439004,32.278251],[102.439146,32.278018],[102.439512,32.277416],[102.439729,32.277058],[102.440042,32.276506],[102.440265,32.276111],[102.440295,32.276059],[102.441318,32.275166],[102.442267,32.274206],[102.442676,32.273379],[102.442715,32.273302],[102.442814,32.272488],[102.443153,32.271353],[102.443212,32.270637],[102.443232,32.269919],[102.443138,32.269167],[102.443246,32.268412],[102.443258,32.268332],[102.443329,32.267833],[102.44334,32.267658],[102.443397,32.266791],[102.443412,32.266237],[102.443079,32.265806],[102.442676,32.265112],[102.441852,32.264378],[102.441138,32.263809],[102.440476,32.262784],[102.439117,32.261941],[102.438684,32.260953],[102.438684,32.260652],[102.438684,32.260357],[102.438685,32.25955],[102.438666,32.259208],[102.438634,32.258636],[102.438868,32.258063],[102.438964,32.257827],[102.439515,32.257349],[102.439681,32.256895],[102.439581,32.256575],[102.439525,32.256395],[102.439364,32.255878],[102.438638,32.254395],[102.438405,32.253118],[102.438039,32.252164],[102.437815,32.251581],[102.437761,32.251441],[102.43736,32.250654],[102.437106,32.250155],[102.437021,32.249991],[102.43699,32.24993],[102.436342,32.248671],[102.436359,32.248052],[102.4364,32.247982],[102.436461,32.247878],[102.436559,32.247711],[102.436687,32.247494],[102.436843,32.247229],[102.437004,32.246956],[102.437136,32.246815],[102.43739,32.246546],[102.437637,32.246283],[102.437652,32.246254],[102.437776,32.246008],[102.437881,32.245799],[102.437759,32.245448],[102.437653,32.245144],[102.437561,32.244879],[102.437409,32.244509],[102.437305,32.244257],[102.43712,32.243808],[102.436897,32.243267],[102.436716,32.242829],[102.436598,32.242544],[102.436524,32.242362],[102.436425,32.242124],[102.436197,32.24157],[102.436012,32.241121],[102.435746,32.240476],[102.435513,32.239911],[102.43535,32.239616],[102.435111,32.239185],[102.434893,32.238843],[102.43467,32.238491],[102.434286,32.238198],[102.433961,32.237949],[102.433618,32.237687],[102.433231,32.237395],[102.432801,32.237072],[102.432415,32.236781],[102.431821,32.236423],[102.431154,32.23602],[102.430659,32.235721],[102.430175,32.235429],[102.429741,32.235167],[102.429395,32.234958],[102.428998,32.234783],[102.428598,32.234556],[102.428109,32.234279],[102.427614,32.234056],[102.427028,32.233792],[102.426517,32.233562],[102.426057,32.233454],[102.425297,32.233276],[102.424565,32.233198],[102.424149,32.233154],[102.42345,32.23314],[102.422776,32.233126],[102.422269,32.233116],[102.421705,32.233208],[102.421206,32.23329],[102.420495,32.233406],[102.419798,32.23362],[102.419399,32.233719],[102.419766,32.23299],[102.420302,32.231677],[102.420339,32.230355],[102.420318,32.230043],[102.420208,32.228394],[102.419875,32.226958],[102.419912,32.225636],[102.419688,32.224732],[102.419273,32.223626],[102.419167,32.223345],[102.419013,32.222177],[102.418602,32.221322],[102.417815,32.220512],[102.417531,32.219554],[102.417613,32.218867],[102.418141,32.21782],[102.418535,32.217087],[102.419814,32.215896],[102.419914,32.215689],[102.419942,32.215631],[102.420144,32.215214],[102.420069,32.215005],[102.420014,32.214855],[102.419855,32.214414],[102.419601,32.214079],[102.419035,32.213332],[102.418648,32.212336],[102.417692,32.211151],[102.417605,32.211043],[102.417051,32.210043],[102.416984,32.209705],[102.416927,32.209422],[102.416782,32.208527],[102.416637,32.207632],[102.416547,32.20681],[102.416104,32.206066],[102.415356,32.204808],[102.414411,32.204114],[102.413637,32.203423],[102.413632,32.203286],[102.413614,32.202796],[102.413605,32.202554],[102.413513,32.202148],[102.413353,32.20144],[102.41318,32.201208],[102.412911,32.200846],[102.41282,32.200724],[102.412705,32.200569],[102.412587,32.20041],[102.412478,32.200265],[102.412438,32.200171],[102.412379,32.200033],[102.412318,32.199855],[102.412229,32.199627],[102.412156,32.199442],[102.412074,32.199232],[102.412002,32.199049],[102.411959,32.19887],[102.411933,32.198756],[102.411898,32.198606],[102.411863,32.198457],[102.4118,32.198187],[102.411547,32.19711],[102.411356,32.196353],[102.411247,32.19592],[102.410986,32.194881],[102.410968,32.19354],[102.410968,32.19353],[102.410954,32.19333],[102.410847,32.191792],[102.410594,32.190966],[102.410432,32.190433],[102.410091,32.189611],[102.409848,32.189023],[102.40958,32.188638],[102.409432,32.188425],[102.409318,32.188261],[102.409303,32.18824],[102.408992,32.187221],[102.408253,32.185277],[102.407528,32.184828],[102.406406,32.184419],[102.40533,32.184349],[102.404833,32.183904],[102.404709,32.183709],[102.404692,32.183682],[102.404271,32.183019],[102.404182,32.182879],[102.403964,32.182536],[102.403043,32.181022],[102.402338,32.179899],[102.401627,32.178968],[102.40031,32.177446],[102.399263,32.176363],[102.398376,32.17567],[102.396988,32.174629],[102.395433,32.173487],[102.394544,32.172842],[102.393159,32.171705],[102.391037,32.170552],[102.388857,32.169446],[102.387477,32.168163],[102.387211,32.167531],[102.387169,32.167444],[102.387355,32.167478],[102.387528,32.167489],[102.387694,32.167454],[102.387903,32.167376],[102.388093,32.16724],[102.388224,32.167008],[102.388378,32.166609],[102.388468,32.16635],[102.388557,32.166092],[102.388557,32.165741],[102.388483,32.165467],[102.388408,32.165193],[102.388269,32.16492],[102.38813,32.164646],[102.388069,32.164527],[102.387938,32.164343],[102.387807,32.164158],[102.387665,32.163944],[102.387522,32.16373],[102.387385,32.163343],[102.387296,32.163086],[102.387208,32.162829],[102.387141,32.162635],[102.387037,32.16243],[102.386933,32.162225],[102.386927,32.161945],[102.386992,32.161577],[102.387023,32.16152],[102.387153,32.161285],[102.387266,32.161035],[102.387349,32.160782],[102.38745,32.16047],[102.387474,32.160232],[102.387456,32.159982],[102.387385,32.159792],[102.387364,32.159737],[102.387278,32.159506],[102.387278,32.159268],[102.387278,32.159031],[102.387278,32.158644],[102.38729,32.158394],[102.387302,32.158144],[102.38739,32.157894],[102.387478,32.157644],[102.387522,32.15752],[102.387599,32.157151],[102.387641,32.156871],[102.387635,32.156759],[102.387629,32.156657],[102.387605,32.156422],[102.387581,32.156187],[102.387599,32.156032],[102.387676,32.155902],[102.387885,32.155705],[102.388194,32.15539],[102.388372,32.15517],[102.388408,32.155039],[102.388551,32.154753],[102.388735,32.154504],[102.388902,32.154349],[102.388932,32.154312],[102.388958,32.154279],[102.389229,32.153944],[102.389515,32.153724],[102.389735,32.153451],[102.389961,32.153284],[102.390127,32.153058],[102.390252,32.152838],[102.390336,32.152707],[102.390371,32.152546],[102.390371,32.152404],[102.390318,32.152094],[102.390264,32.151785],[102.390264,32.151601],[102.390217,32.151398],[102.390062,32.151214],[102.38983,32.15103],[102.389598,32.150845],[102.389598,32.150845],[102.38936,32.150685],[102.389289,32.150625],[102.389267,32.15048],[102.389235,32.150268],[102.389283,32.149822],[102.389238,32.149557],[102.389193,32.149293],[102.389125,32.149019],[102.389057,32.148745],[102.389068,32.148608],[102.389098,32.148537],[102.38917,32.148489],[102.389515,32.148388],[102.389729,32.148308],[102.389943,32.148228],[102.390108,32.148185],[102.390377,32.148115],[102.390432,32.148112],[102.39074,32.148097],[102.391008,32.148133],[102.39121,32.148139],[102.391472,32.148097],[102.391766,32.148008],[102.392061,32.147918],[102.392459,32.14785],[102.392858,32.147782],[102.39323,32.147683],[102.393601,32.147585],[102.394024,32.147496],[102.394458,32.147383],[102.394862,32.147222],[102.395112,32.147008],[102.395231,32.146788],[102.395321,32.146479],[102.395333,32.146349],[102.395369,32.145991],[102.395404,32.145634],[102.395422,32.145361],[102.395535,32.145013],[102.395648,32.144665],[102.395802,32.144349],[102.395892,32.144117],[102.395892,32.143757],[102.395892,32.143397],[102.395945,32.143035],[102.396022,32.142862],[102.396124,32.142761],[102.396326,32.142654],[102.396458,32.142588],[102.39679,32.142422],[102.396998,32.142345],[102.397171,32.142339],[102.397309,32.142365],[102.397355,32.142374],[102.397522,32.142434],[102.39764,32.142446],[102.397861,32.142428],[102.398096,32.142356],[102.398331,32.142285],[102.398705,32.142166],[102.398961,32.142047],[102.399205,32.141988],[102.399479,32.141898],[102.399776,32.141768],[102.399961,32.141698],[102.400091,32.141649],[102.400401,32.141536],[102.40074,32.141488],[102.400978,32.141428],[102.401293,32.141256],[102.401513,32.141149],[102.401733,32.141042],[102.402138,32.140887],[102.402459,32.140798],[102.402634,32.140637],[102.40281,32.140477],[102.402991,32.140254],[102.403173,32.140031],[102.403446,32.139697],[102.403571,32.13937],[102.403666,32.138966],[102.403747,32.138524],[102.403828,32.138082],[102.403846,32.137999],[102.403903,32.137736],[102.403935,32.137371],[102.404,32.137172],[102.404022,32.137138],[102.404117,32.136993],[102.404264,32.136822],[102.40441,32.13665],[102.404567,32.136408],[102.404724,32.136165],[102.405028,32.135847],[102.405095,32.135756],[102.40516,32.135669],[102.405238,32.135483],[102.405252,32.135351],[102.405299,32.135259],[102.405374,32.135255],[102.405481,32.135269],[102.405566,32.135291],[102.405616,32.135312],[102.405789,32.135348],[102.405938,32.135383],[102.406051,32.135461],[102.406134,32.135496],[102.406223,32.13552],[102.406378,32.135538],[102.406574,32.13555],[102.406818,32.135598],[102.407074,32.135675],[102.407229,32.135705],[102.407417,32.135705],[102.407603,32.13568],[102.407845,32.135648],[102.408088,32.135616],[102.408348,32.135606],[102.408608,32.135595],[102.408869,32.135585],[102.409129,32.135574],[102.409514,32.13553],[102.409884,32.135487],[102.41013,32.13542],[102.410375,32.135354],[102.410488,32.135282],[102.410566,32.13514],[102.410619,32.135021],[102.410738,32.134967],[102.410946,32.134967],[102.411101,32.135021],[102.41122,32.13514],[102.411369,32.135235],[102.411506,32.135282],[102.411874,32.135342],[102.412243,32.135401],[102.412535,32.135434],[102.412666,32.135449],[102.412957,32.135491],[102.413314,32.135693],[102.413558,32.135865],[102.413654,32.136022],[102.413796,32.136252],[102.413927,32.136612],[102.414058,32.136972],[102.414257,32.137262],[102.414456,32.137552],[102.414462,32.137561],[102.414617,32.137715],[102.414736,32.137787],[102.414873,32.137864],[102.415057,32.137894],[102.415417,32.138001],[102.415777,32.138108],[102.416205,32.138173],[102.416336,32.138179],[102.416526,32.138167],[102.416806,32.138096],[102.417234,32.138066],[102.417549,32.138025],[102.417712,32.13802],[102.418136,32.138007],[102.418561,32.137995],[102.418858,32.138007],[102.419072,32.138072],[102.419179,32.13815],[102.41928,32.13834],[102.41934,32.138377],[102.41941,32.138421],[102.419674,32.138564],[102.420003,32.138635],[102.42022,32.138667],[102.420338,32.138685],[102.420406,32.138693],[102.420681,32.138728],[102.420981,32.138756],[102.421209,32.138735],[102.421437,32.138678],[102.421759,32.138728],[102.421923,32.138835],[102.42213,32.13902],[102.422401,32.139177],[102.42263,32.139335],[102.422972,32.139484],[102.423179,32.139542],[102.423415,32.139777],[102.423661,32.139955],[102.423938,32.140155],[102.424214,32.140355],[102.424443,32.140473],[102.424671,32.140591],[102.424892,32.140719],[102.425042,32.140762],[102.425406,32.140841],[102.42577,32.140798],[102.425899,32.140698],[102.42602,32.140441],[102.426183,32.140161],[102.426199,32.140134],[102.426497,32.13987],[102.426796,32.139606],[102.427094,32.139342],[102.427392,32.139078],[102.427691,32.138813],[102.427878,32.138647],[102.428066,32.138482],[102.428312,32.138264],[102.428554,32.137982],[102.428797,32.1377],[102.429,32.137336],[102.429111,32.137136],[102.429354,32.136879],[102.429697,32.136636],[102.430018,32.136472],[102.430308,32.136363],[102.430598,32.136253],[102.430889,32.136144],[102.431205,32.136025],[102.431522,32.135906],[102.431838,32.135787],[102.432107,32.135639],[102.432376,32.135492],[102.432645,32.135344],[102.432852,32.135116],[102.433059,32.134887],[102.433284,32.134627],[102.433508,32.134366],[102.433662,32.134145],[102.433815,32.133924],[102.434046,32.133729],[102.434277,32.133533],[102.434508,32.133338],[102.434851,32.133081],[102.43515,32.133081],[102.435429,32.133096],[102.435821,32.133074],[102.436082,32.133059],[102.436314,32.133046],[102.436571,32.133003],[102.436935,32.132953],[102.437231,32.132899],[102.437527,32.132846],[102.437824,32.132757],[102.43812,32.132667],[102.438434,32.132477],[102.438748,32.132287],[102.439062,32.132096],[102.439419,32.131868],[102.439776,32.131639],[102.439976,32.131486],[102.440176,32.131332],[102.440368,32.13099],[102.440383,32.130633],[102.440383,32.130269],[102.440354,32.129998],[102.440254,32.129783],[102.44039,32.129498],[102.44049,32.129319],[102.440504,32.129227],[102.440461,32.129062],[102.440297,32.128805],[102.44023,32.128738],[102.440097,32.128606],[102.439933,32.128527],[102.439862,32.128434],[102.439776,32.128199],[102.43969,32.12796],[102.439605,32.12772],[102.439565,32.127496],[102.439526,32.127271],[102.4395,32.127214],[102.439401,32.127035],[102.439281,32.126817],[102.438974,32.126494],[102.438667,32.12617],[102.438505,32.125999],[102.438343,32.125828],[102.438181,32.125657],[102.438018,32.125486],[102.437856,32.125315],[102.437694,32.125144],[102.437643,32.125111],[102.437358,32.124932],[102.437073,32.124753],[102.436834,32.124669],[102.436596,32.124585],[102.436377,32.124455],[102.436308,32.124264],[102.436407,32.124045],[102.436506,32.123826],[102.436685,32.123624],[102.436864,32.123422],[102.437043,32.123221],[102.437221,32.123019],[102.4374,32.122817],[102.437579,32.122615],[102.437725,32.122397],[102.43787,32.122179],[102.438035,32.121933],[102.438285,32.1217],[102.438536,32.121467],[102.438639,32.121389],[102.438736,32.121315],[102.438984,32.121086],[102.43906,32.120763],[102.439079,32.120511],[102.439098,32.120258],[102.43912,32.120108],[102.439167,32.119792],[102.439214,32.119476],[102.439203,32.119166],[102.43915,32.118934],[102.439143,32.118904],[102.43906,32.118571],[102.439131,32.118197],[102.439203,32.117822],[102.439274,32.117596],[102.439345,32.11737],[102.439512,32.117156],[102.439726,32.117048],[102.43994,32.116941],[102.440285,32.116822],[102.44046,32.116807],[102.44069,32.116787],[102.441005,32.116822],[102.44132,32.116858],[102.44153,32.116767],[102.441741,32.116676],[102.442095,32.116399],[102.442449,32.116122],[102.442716,32.115989],[102.442984,32.115855],[102.443103,32.115849],[102.443258,32.115885],[102.443371,32.115944],[102.443555,32.115986],[102.443799,32.116039],[102.443948,32.116057],[102.444186,32.116093],[102.444388,32.116099],[102.444389,32.116099],[102.44439,32.1161],[102.444548,32.116176],[102.444691,32.116277],[102.444858,32.116456],[102.444983,32.116634],[102.445274,32.116842],[102.445595,32.117068],[102.445881,32.117202],[102.446166,32.117336],[102.446378,32.117479],[102.446589,32.117622],[102.446922,32.117842],[102.447166,32.117883],[102.447493,32.117836],[102.447707,32.117806],[102.448058,32.117812],[102.448415,32.117859],[102.448576,32.117854],[102.448837,32.117804],[102.448921,32.117788],[102.449147,32.117776],[102.449373,32.117764],[102.449783,32.117782],[102.450194,32.117824],[102.45058,32.117919],[102.450884,32.11802],[102.451005,32.118055],[102.45111,32.118086],[102.451264,32.118086],[102.451455,32.118032],[102.451669,32.117984],[102.451923,32.117786],[102.452177,32.117588],[102.45243,32.11739],[102.452567,32.117265],[102.45257,32.117248],[102.452597,32.117098],[102.452591,32.116872],[102.452591,32.116711],[102.45265,32.116503],[102.452817,32.116283],[102.452984,32.116063],[102.453177,32.11587],[102.45337,32.115676],[102.453715,32.115522],[102.453938,32.115438],[102.454161,32.115355],[102.454322,32.115273],[102.454646,32.115106],[102.45497,32.114939],[102.455318,32.114745],[102.455666,32.114552],[102.45597,32.114362],[102.456136,32.1141],[102.456184,32.11388],[102.456184,32.113851],[102.456184,32.113648],[102.456184,32.113422],[102.456285,32.113148],[102.456422,32.112976],[102.45669,32.112809],[102.457076,32.112583],[102.457317,32.112321],[102.457558,32.11206],[102.45778,32.111802],[102.457927,32.111631],[102.458147,32.111334],[102.458367,32.111036],[102.458617,32.110665],[102.458867,32.110293],[102.459049,32.110132],[102.459232,32.109972],[102.459421,32.109805],[102.45961,32.109638],[102.459848,32.109496],[102.460134,32.109436],[102.460425,32.109436],[102.460654,32.109484],[102.460883,32.109531],[102.460894,32.109532],[102.461199,32.109561],[102.461395,32.109555],[102.461657,32.109525],[102.461924,32.109454],[102.462109,32.109448],[102.462299,32.109448],[102.462466,32.109424],[102.462698,32.109335],[102.462765,32.109305],[102.463138,32.109139],[102.463271,32.109087],[102.463489,32.109002],[102.46384,32.108865],[102.464084,32.108818],[102.46434,32.108823],[102.464578,32.108853],[102.464708,32.108859],[102.464804,32.108859],[102.464917,32.108835],[102.465053,32.108764],[102.465143,32.108764],[102.465262,32.108794],[102.465375,32.108794],[102.465523,32.108758],[102.465624,32.108722],[102.465708,32.108705],[102.465845,32.108746],[102.465922,32.10877],[102.465981,32.10877],[102.466124,32.108764],[102.466285,32.108716],[102.466428,32.108716],[102.466573,32.108793],[102.466642,32.108829],[102.466856,32.108942],[102.466999,32.10902],[102.467141,32.109044],[102.467344,32.10902],[102.467516,32.108966],[102.467748,32.108806],[102.468046,32.108609],[102.468343,32.108413],[102.468605,32.108285],[102.468866,32.108157],[102.469146,32.107973],[102.469426,32.107788],[102.469673,32.10755],[102.469919,32.107313],[102.470065,32.107109],[102.470211,32.106906],[102.470401,32.10664],[102.470657,32.106301],[102.470734,32.106057],[102.470758,32.105843],[102.4708,32.10557],[102.470949,32.105367],[102.471127,32.105183],[102.471157,32.105064],[102.471109,32.104975],[102.470972,32.104862],[102.470889,32.104695],[102.470835,32.104261],[102.470762,32.103861],[102.470711,32.103583],[102.470687,32.10325],[102.470722,32.103053],[102.470865,32.102798],[102.471076,32.102542],[102.471288,32.102286],[102.471298,32.102262],[102.471472,32.101864],[102.471484,32.101709],[102.471389,32.101483],[102.471308,32.101221],[102.471228,32.100959],[102.470978,32.100686],[102.470835,32.100555],[102.470776,32.100329],[102.470865,32.100049],[102.471127,32.099782],[102.471347,32.099544],[102.471407,32.099341],[102.471347,32.099121],[102.47124,32.098919],[102.471189,32.098544],[102.471139,32.098169],[102.471118,32.098068],[102.471032,32.097652],[102.470984,32.097283],[102.470895,32.097134],[102.470788,32.097039],[102.470454,32.096894],[102.470294,32.096825],[102.470104,32.096801],[102.469967,32.096658],[102.469878,32.096462],[102.469717,32.096313],[102.469551,32.09623],[102.469503,32.096177],[102.469557,32.095909],[102.469723,32.095582],[102.469907,32.095255],[102.469949,32.094969],[102.470044,32.094535],[102.470047,32.094237],[102.47005,32.09394],[102.470074,32.093559],[102.470145,32.093321],[102.470306,32.093125],[102.470592,32.092917],[102.470818,32.092679],[102.470978,32.092441],[102.471112,32.092248],[102.471246,32.092054],[102.471418,32.091923],[102.471627,32.091864],[102.471918,32.091804],[102.472275,32.091715],[102.472558,32.091632],[102.47284,32.091549],[102.473251,32.091507],[102.47357,32.091545],[102.473602,32.091549],[102.473923,32.091644],[102.474232,32.091679],[102.47444,32.091632],[102.474666,32.091549],[102.474892,32.091465],[102.475038,32.091423],[102.475297,32.091346],[102.475678,32.091264],[102.476059,32.091181],[102.47627,32.091146],[102.476527,32.091104],[102.476784,32.091062],[102.477042,32.09102],[102.477299,32.090978],[102.477556,32.090935],[102.477813,32.090893],[102.478068,32.090861],[102.478322,32.090829],[102.478576,32.090797],[102.478831,32.090765],[102.478955,32.090749],[102.479217,32.090722],[102.479342,32.0907],[102.479565,32.090666],[102.479787,32.090632],[102.480011,32.090597],[102.480235,32.090562],[102.48028,32.090548],[102.480692,32.09049],[102.480918,32.090377],[102.481079,32.090264],[102.481281,32.090103],[102.481286,32.090095],[102.481466,32.089818],[102.48162,32.08949],[102.481727,32.089086],[102.481727,32.088664],[102.48167,32.088362],[102.481612,32.088061],[102.481555,32.087759],[102.481534,32.087521],[102.481513,32.087283],[102.481427,32.086888],[102.481341,32.086492],[102.481258,32.086195],[102.481228,32.085868],[102.481311,32.08557],[102.481377,32.085291],[102.481347,32.085071],[102.481258,32.084761],[102.481269,32.084422],[102.481335,32.084143],[102.4814,32.083863],[102.48142,32.083796],[102.481466,32.083637],[102.481531,32.08353],[102.481799,32.083334],[102.482004,32.083078],[102.482209,32.082822],[102.482299,32.082513],[102.482275,32.082239],[102.482215,32.082049],[102.482074,32.081797],[102.481936,32.081549],[102.481846,32.081323],[102.481846,32.081198],[102.481874,32.081151],[102.481962,32.081005],[102.482078,32.080811],[102.4822,32.080558],[102.482322,32.080306],[102.482326,32.080293],[102.482375,32.080123],[102.482494,32.079708],[102.482614,32.079294],[102.482706,32.079071],[102.482798,32.078848],[102.482887,32.078598],[102.482852,32.078491],[102.482673,32.078322],[102.482495,32.078152],[102.482435,32.077974],[102.482423,32.077831],[102.482402,32.077813],[102.482334,32.07776],[102.482186,32.0777],[102.48209,32.077545],[102.482078,32.077266],[102.482144,32.07698],[102.482293,32.076719],[102.482385,32.076501],[102.482477,32.076284],[102.482534,32.076061],[102.48259,32.075838],[102.482653,32.075505],[102.482717,32.075172],[102.48278,32.074839],[102.482864,32.074482],[102.482965,32.074381],[102.482995,32.07438],[102.483185,32.074375],[102.48334,32.074375],[102.483589,32.074321],[102.483893,32.074259],[102.484196,32.074196],[102.484473,32.074134],[102.484749,32.074071],[102.485008,32.074083],[102.485267,32.074095],[102.485618,32.074149],[102.485903,32.074149],[102.486141,32.074122],[102.486379,32.074095],[102.486748,32.074006],[102.486992,32.074006],[102.487236,32.074006],[102.487253,32.074005],[102.487462,32.073988],[102.487587,32.073905],[102.487759,32.073804],[102.488063,32.07375],[102.488206,32.073679],[102.488366,32.073542],[102.488527,32.073441],[102.48886,32.07334],[102.48892,32.07332],[102.489163,32.073239],[102.489247,32.073209],[102.489258,32.07309],[102.489223,32.0729],[102.489092,32.072566],[102.488967,32.072364],[102.488759,32.072227],[102.488551,32.072091],[102.488313,32.071948],[102.488152,32.071805],[102.487938,32.071466],[102.48777,32.071215],[102.487602,32.070964],[102.487444,32.070728],[102.487349,32.070496],[102.487284,32.070223],[102.487278,32.069901],[102.487236,32.06964],[102.4872,32.069483],[102.487176,32.069378],[102.487218,32.069125],[102.48726,32.068872],[102.487397,32.068539],[102.487391,32.06839],[102.487343,32.068331],[102.487176,32.068254],[102.487016,32.068075],[102.486861,32.06779],[102.486706,32.067564],[102.486588,32.067355],[102.486528,32.06704],[102.486514,32.066731],[102.4865,32.066421],[102.486486,32.066112],[102.486466,32.065877],[102.486445,32.065642],[102.486428,32.065553],[102.486391,32.065357],[102.48634,32.065302],[102.486147,32.065095],[102.486108,32.065035],[102.485952,32.064794],[102.485796,32.064554],[102.485668,32.064325],[102.485541,32.064096],[102.485416,32.063786],[102.485332,32.063423],[102.485286,32.063325],[102.485231,32.063209],[102.485255,32.062953],[102.485368,32.062775],[102.485606,32.062555],[102.48571,32.062353],[102.485814,32.06215],[102.48584,32.062081],[102.485963,32.061752],[102.486096,32.061472],[102.486229,32.061193],[102.486361,32.060913],[102.486546,32.060702],[102.48673,32.060491],[102.486828,32.06028],[102.486927,32.060068],[102.487006,32.059775],[102.487085,32.059481],[102.487165,32.059188],[102.48722,32.058883],[102.487276,32.058577],[102.487331,32.058272],[102.487329,32.058243],[102.487301,32.057897],[102.48748,32.057582],[102.487692,32.057354],[102.487724,32.05732],[102.487843,32.056969],[102.487843,32.056808],[102.487799,32.056725],[102.487789,32.056707],[102.487694,32.056606],[102.487587,32.056523],[102.487456,32.056422],[102.487414,32.056124],[102.487527,32.055714],[102.487611,32.055303],[102.487543,32.05496],[102.487476,32.054617],[102.487408,32.054274],[102.487285,32.053935],[102.487266,32.053882],[102.487123,32.053507],[102.487004,32.053293],[102.486712,32.053001],[102.486546,32.052757],[102.486414,32.052368],[102.486281,32.05198],[102.486254,32.051901],[102.486131,32.05156],[102.486058,32.05136],[102.485933,32.051116],[102.48579,32.051014],[102.485592,32.050953],[102.485523,32.050931],[102.485112,32.050901],[102.484714,32.050842],[102.484428,32.050782],[102.484083,32.050658],[102.483821,32.050497],[102.483598,32.050274],[102.483375,32.050051],[102.483232,32.049777],[102.483195,32.049647],[102.483143,32.049468],[102.483066,32.04923],[102.482917,32.049123],[102.482483,32.049016],[102.482132,32.048921],[102.481727,32.048808],[102.481341,32.048766],[102.481088,32.048775],[102.480835,32.048784],[102.480556,32.048927],[102.480276,32.049069],[102.479901,32.049218],[102.479526,32.049367],[102.479114,32.049439],[102.478702,32.049511],[102.47861,32.049527],[102.478313,32.049581],[102.478016,32.049634],[102.477718,32.049688],[102.477337,32.049819],[102.476957,32.04995],[102.476788,32.050007],[102.476399,32.050139],[102.476011,32.050271],[102.475776,32.050292],[102.475541,32.050313],[102.475309,32.050271],[102.475184,32.050081],[102.475092,32.04981],[102.475,32.049539],[102.474863,32.049272],[102.474512,32.049031],[102.474161,32.04879],[102.473843,32.048587],[102.473524,32.048385],[102.47326,32.048347],[102.472995,32.048308],[102.472791,32.048354],[102.472578,32.048403],[102.472305,32.048427],[102.472108,32.04832],[102.471954,32.048135],[102.47165,32.048082],[102.471362,32.048028],[102.471073,32.047975],[102.470713,32.047877],[102.470352,32.04778],[102.470351,32.047779],[102.470348,32.047778],[102.470003,32.047731],[102.469741,32.047776],[102.469729,32.047778],[102.469336,32.047874],[102.469051,32.047862],[102.468876,32.04777],[102.468813,32.047737],[102.468521,32.047653],[102.468284,32.047662],[102.468046,32.047671],[102.46763,32.047689],[102.467423,32.047697],[102.467215,32.047706],[102.467046,32.047713],[102.466624,32.047814],[102.466201,32.047915],[102.465955,32.047966],[102.465708,32.048016],[102.465309,32.04801],[102.465095,32.047933],[102.465006,32.047683],[102.46492,32.047433],[102.464833,32.047184],[102.464732,32.046934],[102.464716,32.046821],[102.464696,32.046684],[102.464685,32.046297],[102.464631,32.04603],[102.464512,32.04575],[102.464429,32.045518],[102.464203,32.045357],[102.464084,32.045316],[102.463929,32.045203],[102.463893,32.04509],[102.463905,32.044822],[102.463923,32.044542],[102.463998,32.044218],[102.464072,32.043894],[102.464213,32.04361],[102.464354,32.043325],[102.464548,32.042936],[102.464619,32.04274],[102.464613,32.042555],[102.464566,32.042139],[102.464566,32.041895],[102.464662,32.041631],[102.464759,32.041367],[102.46481,32.041229],[102.464829,32.041092],[102.464866,32.040836],[102.464923,32.040444],[102.464923,32.040164],[102.464869,32.040015],[102.464661,32.039789],[102.464542,32.039581],[102.464471,32.039378],[102.464346,32.039016],[102.464232,32.038784],[102.464119,32.038552],[102.46392,32.038287],[102.463721,32.038023],[102.463435,32.037823],[102.46315,32.037624],[102.462918,32.037517],[102.462698,32.037481],[102.462293,32.03744],[102.462004,32.037359],[102.461714,32.037278],[102.461424,32.037197],[102.461335,32.037172],[102.461252,32.037101],[102.461205,32.036988],[102.461205,32.036756],[102.461222,32.036345],[102.46127,32.035911],[102.461336,32.035666],[102.461401,32.03542],[102.461461,32.035199],[102.46152,32.034977],[102.461588,32.034751],[102.461657,32.034525],[102.461829,32.03415],[102.461972,32.033817],[102.462049,32.033606],[102.462127,32.033395],[102.462174,32.033067],[102.462189,32.032728],[102.462204,32.032389],[102.46224,32.03213],[102.462275,32.031872],[102.462301,32.031707],[102.462341,32.031443],[102.462335,32.031057],[102.462263,32.030747],[102.462148,32.03036],[102.462145,32.030349],[102.462133,32.030269],[102.462109,32.030099],[102.462109,32.029754],[102.462159,32.029507],[102.46221,32.02926],[102.46229,32.028847],[102.462371,32.028433],[102.462375,32.028422],[102.46248,32.028163],[102.462585,32.027904],[102.462668,32.027636],[102.462751,32.027369],[102.462888,32.026958],[102.462906,32.026595],[102.462823,32.026185],[102.462722,32.025956],[102.46262,32.025727],[102.462583,32.025671],[102.462382,32.025376],[102.462281,32.025174],[102.462216,32.02484],[102.462134,32.024578],[102.462133,32.024573],[102.46199,32.024287],[102.46193,32.024085],[102.461883,32.023651],[102.461895,32.023288],[102.461907,32.022925],[102.461918,32.022562],[102.461901,32.022125],[102.461883,32.021688],[102.461901,32.021509],[102.462002,32.021206],[102.462186,32.020929],[102.462371,32.020653],[102.46254,32.020373],[102.46271,32.020093],[102.462775,32.019817],[102.46284,32.01954],[102.46284,32.019261],[102.46284,32.01907],[102.462811,32.01888],[102.462789,32.018757],[102.462757,32.018582],[102.462762,32.018448],[102.462769,32.018249],[102.462835,32.018017],[102.463061,32.017654],[102.463376,32.017351],[102.463554,32.01719],[102.463673,32.016982],[102.463792,32.016774],[102.463956,32.016373],[102.464119,32.015971],[102.46425,32.015549],[102.464346,32.015186],[102.464476,32.014912],[102.464661,32.014731],[102.464845,32.014549],[102.465056,32.014412],[102.465268,32.014276],[102.46556,32.014089],[102.465595,32.014067],[102.465865,32.013874],[102.466136,32.013681],[102.466359,32.013511],[102.466582,32.013342],[102.466787,32.013111],[102.466992,32.01288],[102.467046,32.012818],[102.467281,32.012628],[102.467516,32.012437],[102.467825,32.012295],[102.468075,32.012223],[102.468361,32.012188],[102.468593,32.012176],[102.468872,32.01217],[102.469086,32.012159],[102.469223,32.012152],[102.469551,32.012146],[102.469786,32.01214],[102.470021,32.012134],[102.470383,32.01211],[102.470675,32.012051],[102.470731,32.012023],[102.470894,32.012023],[102.47116,32.012023],[102.471425,32.012023],[102.471691,32.012023],[102.471957,32.012023],[102.472216,32.012044],[102.472475,32.012065],[102.472828,32.012093],[102.4729,32.012194],[102.473191,32.012408],[102.473495,32.01255],[102.473721,32.012616],[102.473911,32.012652],[102.474114,32.012679],[102.474345,32.012711],[102.474601,32.012705],[102.474857,32.012699],[102.475267,32.012738],[102.475678,32.012777],[102.475957,32.01283],[102.476267,32.012913],[102.476484,32.013023],[102.476701,32.013133],[102.477022,32.013336],[102.477343,32.013538],[102.477599,32.013693],[102.477813,32.013728],[102.478027,32.013728],[102.478146,32.013707],[102.47842,32.013657],[102.478652,32.013669],[102.478884,32.013681],[102.479315,32.013731],[102.479747,32.013782],[102.47991,32.013826],[102.480121,32.013883],[102.480389,32.013978],[102.480508,32.014067],[102.480835,32.014311],[102.481017,32.014484],[102.481198,32.014656],[102.481356,32.015031],[102.481513,32.015406],[102.481594,32.01562],[102.481674,32.015834],[102.481799,32.015947],[102.4819,32.015977],[102.482129,32.015992],[102.482358,32.016007],[102.482679,32.016102],[102.482923,32.016292],[102.483081,32.016497],[102.483238,32.016703],[102.483417,32.016887],[102.483631,32.016994],[102.483728,32.017044],[102.484107,32.017238],[102.484367,32.017418],[102.484626,32.017599],[102.484886,32.017779],[102.485005,32.017886],[102.485048,32.018017],[102.485094,32.01816],[102.48512,32.018351],[102.48513,32.018428],[102.485172,32.018612],[102.485332,32.01882],[102.485535,32.018969],[102.485701,32.019124],[102.48588,32.019272],[102.486106,32.019493],[102.486201,32.019733],[102.486296,32.019974],[102.486397,32.020212],[102.486516,32.020278],[102.48673,32.020272],[102.487031,32.020201],[102.487057,32.020195],[102.487474,32.020064],[102.487721,32.020001],[102.487968,32.019939],[102.488125,32.01991],[102.488265,32.019885],[102.488568,32.019873],[102.488997,32.019861],[102.48933,32.019784],[102.489606,32.019725],[102.489883,32.019665],[102.490157,32.019677],[102.490466,32.019713],[102.490769,32.01979],[102.49096,32.019963],[102.491156,32.020189],[102.491329,32.020313],[102.491518,32.020342],[102.491601,32.020309],[102.491864,32.020172],[102.492024,32.02009],[102.492298,32.01983],[102.492572,32.01957],[102.49278,32.019374],[102.492887,32.019207],[102.492935,32.01888],[102.492982,32.018612],[102.493101,32.01844],[102.493279,32.018228],[102.493457,32.018017],[102.493714,32.017798],[102.493952,32.017646],[102.494076,32.017403],[102.494116,32.017132],[102.494157,32.016861],[102.494177,32.016754],[102.494237,32.016439],[102.494297,32.016124],[102.494356,32.015809],[102.494395,32.015495],[102.494433,32.015181],[102.494514,32.014781],[102.494656,32.014546],[102.49468,32.014505],[102.494851,32.01421],[102.494951,32.013994],[102.495051,32.013777],[102.495106,32.013511],[102.495161,32.013244],[102.495227,32.013144],[102.495342,32.013073],[102.495508,32.013054],[102.495756,32.01303],[102.496151,32.013035],[102.49648,32.013058],[102.49681,32.013082],[102.49714,32.013105],[102.49715,32.013106],[102.49755,32.013144],[102.497802,32.013144],[102.498054,32.013144],[102.498368,32.01312],[102.498604,32.013063],[102.498839,32.013006],[102.499015,32.012973],[102.499187,32.012901],[102.499253,32.012873],[102.499501,32.012768],[102.499715,32.012659],[102.499972,32.012535],[102.50017,32.012468],[102.500252,32.012417],[102.500282,32.012416],[102.500405,32.012412],[102.50071,32.012401],[102.500916,32.012393],[102.501128,32.012416],[102.501304,32.012449],[102.501604,32.012459],[102.501833,32.012459],[102.50218,32.012445],[102.502399,32.012445],[102.502811,32.012411],[102.502923,32.012402],[102.502965,32.012397],[102.50321,32.012368],[102.503456,32.01234],[102.503853,32.012371],[102.50425,32.012402],[102.504488,32.012452],[102.504726,32.012502],[102.505031,32.012583],[102.505353,32.012752],[102.505383,32.012768],[102.505599,32.012866],[102.505816,32.012963],[102.50604,32.013049],[102.506411,32.013168],[102.506539,32.013168],[102.506701,32.013163],[102.506982,32.013173],[102.507139,32.013201],[102.507286,32.01322],[102.507439,32.013206],[102.507639,32.013182],[102.507877,32.013135],[102.508057,32.013063],[102.508262,32.012987],[102.508476,32.012954],[102.508733,32.012835],[102.508897,32.012652],[102.509062,32.012468],[102.509204,32.012188],[102.509209,32.012182],[102.509317,32.012058],[102.509364,32.012004],[102.509518,32.011826],[102.509699,32.011636],[102.509999,32.011469],[102.510242,32.011345],[102.510656,32.011226],[102.510965,32.011169],[102.511023,32.011159],[102.511246,32.011122],[102.511484,32.01106],[102.511727,32.01096],[102.511879,32.010798],[102.512045,32.01056],[102.512212,32.010322],[102.512421,32.009932],[102.512476,32.009607],[102.512548,32.009182],[102.512574,32.009032],[102.512672,32.008607],[102.51277,32.008182],[102.512869,32.007757],[102.512954,32.007459],[102.51304,32.00716],[102.513073,32.007043],[102.513133,32.006887],[102.513273,32.00652],[102.513392,32.006334],[102.513559,32.00613],[102.513825,32.005887],[102.514032,32.005765],[102.514239,32.005644],[102.514522,32.005542],[102.514806,32.005439],[102.515116,32.005365],[102.515427,32.00529],[102.515738,32.005216],[102.516143,32.005087],[102.516305,32.004992],[102.516419,32.00483],[102.516471,32.004669],[102.516562,32.004388],[102.51669,32.004126],[102.516776,32.003998],[102.516966,32.003874],[102.517214,32.003783],[102.517461,32.003693],[102.517725,32.003614],[102.517989,32.003536],[102.518372,32.003419],[102.518475,32.003388],[102.518755,32.003346],[102.518823,32.003337],[102.518984,32.003317],[102.519217,32.003288],[102.519531,32.003246],[102.519798,32.003165],[102.520107,32.003027],[102.520416,32.002889],[102.520591,32.002823],[102.520695,32.002825],[102.520852,32.002876],[102.521159,32.003103],[102.52152,32.003322],[102.521735,32.00355],[102.521949,32.003779],[102.522156,32.0041],[102.522363,32.004421],[102.52251,32.004531],[102.522682,32.004573],[102.522829,32.00455],[102.523072,32.004404],[102.523314,32.004259],[102.52369,32.004102],[102.523857,32.004026],[102.524123,32.003905],[102.52439,32.003783],[102.524623,32.003726],[102.524842,32.003726],[102.525042,32.00375],[102.525184,32.00375],[102.525204,32.00375],[102.525446,32.003702],[102.525632,32.003688],[102.525827,32.00365],[102.525999,32.003526],[102.526169,32.003336],[102.526203,32.003298],[102.526355,32.00307],[102.526562,32.002979],[102.526769,32.002889],[102.527105,32.002774],[102.52744,32.00266],[102.527702,32.002525],[102.527964,32.002389],[102.528259,32.002318],[102.528568,32.002327],[102.528835,32.002408],[102.528876,32.002424],[102.529025,32.002479],[102.529173,32.002465],[102.529252,32.002448],[102.52933,32.002432],[102.529744,32.00227],[102.53009,32.0022],[102.530435,32.00213],[102.530781,32.002061],[102.530981,32.00197],[102.531072,32.00191],[102.531134,32.001892],[102.531316,32.001732],[102.531497,32.001572],[102.531648,32.001341],[102.531798,32.001111],[102.531902,32.000852],[102.532006,32.000594],[102.532048,32.000199],[102.532066,32.000145],[102.532078,32.000111],[102.532206,31.999738],[102.5323,31.999466],[102.532468,31.999275],[102.532542,31.999191],[102.53269,31.998958],[102.532837,31.998725],[102.532924,31.998522],[102.533081,31.998203],[102.533237,31.997884],[102.533301,31.997792],[102.533508,31.997496],[102.533703,31.997131],[102.533898,31.996767],[102.533927,31.996712],[102.534115,31.996445],[102.534303,31.996179],[102.534561,31.995885],[102.53482,31.995592],[102.535079,31.995298],[102.535233,31.995103],[102.535388,31.994908],[102.535631,31.994727],[102.535907,31.994556],[102.53613,31.994423],[102.53624,31.994242],[102.536368,31.99408],[102.536613,31.993928],[102.536858,31.993775],[102.537089,31.99364],[102.53732,31.993504],[102.537482,31.993385],[102.537591,31.993242],[102.537739,31.992966],[102.537905,31.992778],[102.538072,31.99259],[102.538286,31.992352],[102.538538,31.992224],[102.538881,31.992134],[102.539205,31.992086],[102.539492,31.992119],[102.53958,31.992129],[102.539757,31.992076],[102.54,31.991885],[102.540236,31.991772],[102.540488,31.991652],[102.54079,31.991358],[102.540822,31.991286],[102.540972,31.991086],[102.541122,31.990887],[102.541259,31.990675],[102.541346,31.990539],[102.541422,31.990289],[102.541498,31.99004],[102.541475,31.989816],[102.541379,31.989488],[102.541275,31.989169],[102.54127,31.98901],[102.541265,31.988817],[102.541265,31.988436],[102.541229,31.9882],[102.541203,31.988036],[102.541084,31.987698],[102.541075,31.987384],[102.541102,31.987018],[102.541113,31.98687],[102.54116,31.986487],[102.541208,31.986104],[102.541346,31.985766],[102.541407,31.985669],[102.541603,31.985356],[102.541798,31.985043],[102.542027,31.984757],[102.542317,31.9845],[102.542612,31.984291],[102.542671,31.984264],[102.54305,31.984091],[102.54334,31.983905],[102.543445,31.983767],[102.543554,31.983496],[102.543641,31.983306],[102.543697,31.983182],[102.543949,31.982887],[102.544172,31.982561],[102.544396,31.982236],[102.544416,31.982206],[102.544525,31.981949],[102.544544,31.981745],[102.544525,31.981671],[102.544416,31.981255],[102.544392,31.981002],[102.544368,31.98075],[102.544344,31.980455],[102.544388,31.980269],[102.544463,31.979951],[102.544554,31.979646],[102.544638,31.979539],[102.544696,31.979465],[102.544925,31.979303],[102.545106,31.978999],[102.545286,31.978694],[102.545467,31.97839],[102.545645,31.978088],[102.545823,31.977787],[102.546,31.977486],[102.546272,31.977157],[102.546483,31.976998],[102.546695,31.976838],[102.546969,31.976608],[102.547242,31.976377],[102.547388,31.976174],[102.547533,31.975972],[102.547656,31.975696],[102.547837,31.975506],[102.54791,31.975445],[102.548004,31.975368],[102.548133,31.975294],[102.548204,31.975254],[102.548537,31.975063],[102.548727,31.97493],[102.548778,31.974838],[102.548924,31.974577],[102.54907,31.974316],[102.549148,31.9741],[102.549227,31.973883],[102.549255,31.973583],[102.54926,31.973379],[102.549312,31.973079],[102.549293,31.972879],[102.549232,31.972746],[102.549241,31.972679],[102.549251,31.97261],[102.54926,31.972551],[102.549379,31.972289],[102.549591,31.972058],[102.549803,31.971827],[102.549824,31.97181],[102.550058,31.97162],[102.550292,31.971431],[102.550526,31.971242],[102.550712,31.97108],[102.550921,31.971013],[102.551161,31.970992],[102.551402,31.970971],[102.551728,31.970928],[102.552054,31.970886],[102.552274,31.970902],[102.552522,31.970957],[102.55277,31.971012],[102.552974,31.971042],[102.553349,31.971067],[102.553473,31.971075],[102.553708,31.97108],[102.553906,31.971042],[102.553944,31.971034],[102.554239,31.97099],[102.55448,31.97077],[102.554647,31.97056],[102.554814,31.97035],[102.554865,31.970094],[102.554916,31.969839],[102.554967,31.969584],[102.555018,31.969329],[102.555087,31.96893],[102.555157,31.968532],[102.555177,31.968414],[102.555152,31.968396],[102.555152,31.968272],[102.55519,31.968063],[102.555342,31.967682],[102.55549,31.96748],[102.55568,31.967221],[102.555801,31.96698],[102.55585,31.966884],[102.555923,31.96674],[102.556094,31.966378],[102.556265,31.966017],[102.556465,31.965679],[102.556665,31.965341],[102.556941,31.965044],[102.557217,31.964748],[102.557493,31.964451],[102.557636,31.964156],[102.557677,31.96402],[102.557717,31.963889],[102.557707,31.963761],[102.557674,31.963666],[102.557674,31.963504],[102.557726,31.963318],[102.557883,31.963204],[102.557976,31.963092],[102.557977,31.963091],[102.557978,31.96309],[102.558088,31.962811],[102.558197,31.962533],[102.558388,31.962167],[102.558526,31.962024],[102.558707,31.961957],[102.558849,31.961924],[102.559173,31.961795],[102.559492,31.961505],[102.559677,31.961391],[102.559834,31.961315],[102.559944,31.961243],[102.560006,31.961058],[102.56022,31.960668],[102.560467,31.96048],[102.560715,31.960292],[102.560973,31.960092],[102.561232,31.959892],[102.561491,31.959692],[102.561769,31.959487],[102.562047,31.959283],[102.562404,31.959149],[102.562695,31.959059],[102.562789,31.959033],[102.56319,31.958921],[102.563494,31.958821],[102.563799,31.958721],[102.564127,31.958588],[102.564351,31.958478],[102.564631,31.958355],[102.564974,31.95824],[102.565191,31.958089],[102.565413,31.957934],[102.565636,31.957779],[102.56584,31.957565],[102.566045,31.957351],[102.566207,31.957279],[102.566478,31.957236],[102.566811,31.957184],[102.567054,31.957113],[102.56733,31.956908],[102.567615,31.95657],[102.567644,31.956513],[102.567801,31.956206],[102.567986,31.955842],[102.568245,31.955499],[102.568504,31.955157],[102.568762,31.954814],[102.568843,31.954586],[102.568924,31.954357],[102.569005,31.954067],[102.569042,31.953958],[102.569043,31.953956],[102.569044,31.953954],[102.569133,31.953691],[102.5694,31.953477],[102.569666,31.953263],[102.570004,31.952977],[102.570095,31.952806],[102.570102,31.952758],[102.570147,31.952482],[102.570143,31.952378],[102.570142,31.952328],[102.570138,31.952211],[102.570118,31.951949],[102.570044,31.951767],[102.569985,31.951626],[102.569961,31.951473],[102.56998,31.951078],[102.569957,31.950907],[102.569933,31.950764],[102.569831,31.950438],[102.569728,31.950112],[102.569676,31.94995],[102.569671,31.949822],[102.569764,31.949426],[102.569771,31.949398],[102.569807,31.949207],[102.569877,31.948836],[102.569947,31.948466],[102.569949,31.948447],[102.569984,31.948152],[102.570019,31.947857],[102.569966,31.947614],[102.569857,31.947364],[102.569747,31.947114],[102.569552,31.946767],[102.569357,31.946419],[102.569176,31.94601],[102.568951,31.945814],[102.568881,31.945753],[102.568641,31.945429],[102.568401,31.945106],[102.568348,31.945015],[102.568353,31.944873],[102.56844,31.94469],[102.568448,31.944673],[102.568619,31.944461],[102.568853,31.944116],[102.568967,31.943921],[102.569019,31.94374],[102.569019,31.943521],[102.569014,31.943326],[102.569008,31.943255],[102.569,31.943169],[102.568953,31.942988],[102.568748,31.94265],[102.56861,31.942469],[102.568472,31.942289],[102.568433,31.942222],[102.568324,31.942036],[102.568248,31.941894],[102.568239,31.941722],[102.568327,31.941491],[102.568415,31.941261],[102.568581,31.941061],[102.568748,31.940861],[102.568881,31.940661],[102.569088,31.940547],[102.569295,31.940433],[102.569533,31.940349],[102.569771,31.940266],[102.570045,31.940111],[102.570318,31.939957],[102.570635,31.939835],[102.570951,31.939714],[102.571364,31.939575],[102.571475,31.939538],[102.57151,31.939521],[102.57166,31.939448],[102.571822,31.939338],[102.572122,31.939219],[102.572408,31.939024],[102.572669,31.938743],[102.572812,31.9386],[102.572991,31.938434],[102.573169,31.938267],[102.573469,31.938063],[102.573564,31.937863],[102.573616,31.93772],[102.573792,31.937539],[102.573968,31.937358],[102.574264,31.937039],[102.574471,31.936923],[102.574678,31.936806],[102.574835,31.936697],[102.575101,31.936378],[102.575258,31.936097],[102.575415,31.935816],[102.575517,31.935571],[102.57562,31.935326],[102.575824,31.935117],[102.576029,31.934907],[102.576086,31.934855],[102.576224,31.934855],[102.576383,31.934901],[102.576438,31.934917],[102.576741,31.935012],[102.577043,31.935107],[102.5774,31.935184],[102.577718,31.935248],[102.578037,31.935312],[102.578375,31.935382],[102.578404,31.935388],[102.578749,31.935541],[102.578832,31.935578],[102.579155,31.935756],[102.579477,31.935934],[102.57987,31.93615],[102.580117,31.936307],[102.580226,31.936326],[102.580273,31.936332],[102.580522,31.936364],[102.580916,31.936554],[102.581083,31.936678],[102.581335,31.936854],[102.581464,31.936921],[102.581539,31.936965],[102.581616,31.937011],[102.581726,31.93712],[102.581992,31.937468],[102.58226,31.937698],[102.582464,31.937873],[102.582668,31.938048],[102.582801,31.938144],[102.582872,31.938191],[102.583006,31.938224],[102.583313,31.938255],[102.58362,31.938286],[102.58386,31.938292],[102.584257,31.938301],[102.584424,31.938305],[102.584866,31.938329],[102.5852,31.938415],[102.585418,31.938522],[102.58549,31.938558],[102.585723,31.93871],[102.585885,31.938891],[102.585978,31.939098],[102.58607,31.939305],[102.586156,31.939462],[102.586204,31.939557],[102.586461,31.939823],[102.58668,31.940066],[102.586898,31.940309],[102.587015,31.94042],[102.587094,31.940494],[102.587289,31.94068],[102.587357,31.940712],[102.587736,31.940889],[102.587836,31.941008],[102.587964,31.941323],[102.587991,31.941376],[102.588074,31.941537],[102.588088,31.941565],[102.588245,31.941922],[102.588383,31.942217],[102.588583,31.942389],[102.58875,31.94246],[102.588767,31.942472],[102.588814,31.942505],[102.588956,31.942604],[102.589145,31.942736],[102.58925,31.942782],[102.589354,31.942826],[102.589506,31.942941],[102.589835,31.943212],[102.5899,31.943249],[102.590268,31.943459],[102.590415,31.943688],[102.590658,31.943983],[102.590798,31.944187],[102.590939,31.944392],[102.591172,31.944613],[102.591405,31.944835],[102.59152,31.945066],[102.59173,31.945392],[102.591912,31.945564],[102.592095,31.945737],[102.592278,31.945909],[102.59246,31.946081],[102.592643,31.946253],[102.592826,31.946426],[102.592914,31.946509],[102.592914,31.946509],[102.593008,31.946598],[102.593191,31.94677],[102.593374,31.946942],[102.593556,31.947114],[102.593726,31.947282],[102.593895,31.94745],[102.594064,31.947618],[102.594234,31.947786],[102.594403,31.947954],[102.594572,31.948122],[102.594742,31.94829],[102.594911,31.948458],[102.59508,31.948626],[102.59525,31.948794],[102.595419,31.948962],[102.595589,31.94913],[102.595781,31.949312],[102.595973,31.949494],[102.596165,31.949676],[102.596357,31.949858],[102.596549,31.95004],[102.596741,31.950222],[102.596933,31.950404],[102.597125,31.950586],[102.597317,31.950768],[102.597509,31.95095],[102.597701,31.951132],[102.597874,31.951296],[102.597893,31.951314],[102.598091,31.95148],[102.598289,31.951646],[102.598487,31.951812],[102.598686,31.951979],[102.598884,31.952145],[102.599082,31.952311],[102.59928,31.952478],[102.599479,31.952644],[102.599677,31.95281],[102.599875,31.952976],[102.600183,31.953191],[102.600491,31.953405],[102.600798,31.953619],[102.601058,31.953732],[102.601161,31.953776],[102.601524,31.953933],[102.601933,31.954028],[102.602342,31.954123],[102.602737,31.954194],[102.603132,31.954264],[102.603468,31.954308],[102.603804,31.954352],[102.604233,31.954427],[102.604662,31.954502],[102.605091,31.954577],[102.605513,31.954727],[102.605935,31.954876],[102.606357,31.955026],[102.606463,31.955064],[102.606779,31.955176],[102.607201,31.955326],[102.607476,31.955369],[102.60775,31.955411],[102.608024,31.955454],[102.608298,31.955497],[102.608572,31.955539],[102.608846,31.955582],[102.60912,31.955624],[102.609394,31.955667],[102.609661,31.955682],[102.609928,31.955697],[102.610195,31.955712],[102.610462,31.955727],[102.610729,31.955742],[102.610996,31.955757],[102.611263,31.955772],[102.61153,31.955787],[102.611797,31.955802],[102.612064,31.955818],[102.612308,31.955817],[102.612551,31.955817],[102.612795,31.955816],[102.613039,31.955816],[102.613283,31.955815],[102.613526,31.955815],[102.61377,31.955814],[102.614014,31.955814],[102.614257,31.955813],[102.614501,31.955813],[102.614874,31.955828],[102.614921,31.95583],[102.615342,31.955846],[102.615762,31.955863],[102.61599,31.955864],[102.616217,31.955865],[102.616445,31.955866],[102.616672,31.955867],[102.6169,31.955868],[102.617128,31.955869],[102.617355,31.95587],[102.617518,31.955871],[102.617583,31.955871],[102.617812,31.955863],[102.618041,31.955855],[102.618271,31.955847],[102.6185,31.955839],[102.618729,31.955831],[102.618959,31.955823],[102.619354,31.955855],[102.61975,31.955888],[102.619976,31.955923],[102.620203,31.955958],[102.620429,31.955994],[102.620655,31.956029],[102.62105,31.9561],[102.621446,31.95617],[102.621815,31.956252],[102.622185,31.956334],[102.622397,31.956381],[102.622555,31.956416],[102.622963,31.956523],[102.623372,31.956631],[102.623733,31.956838],[102.624094,31.957045],[102.624281,31.957199],[102.624468,31.957352],[102.624655,31.957506],[102.624738,31.957574],[102.624843,31.957659],[102.625026,31.95779],[102.625209,31.957921],[102.625393,31.958051],[102.625576,31.958182],[102.625759,31.958313],[102.625943,31.958443],[102.626166,31.958603],[102.626285,31.958687],[102.626516,31.958817],[102.626748,31.958946],[102.626979,31.959075],[102.627211,31.959205],[102.627442,31.959334],[102.627674,31.959463],[102.62792,31.959587],[102.628054,31.959654],[102.628055,31.959654],[102.628167,31.95971],[102.628413,31.959834],[102.62866,31.959957],[102.628973,31.960066],[102.629038,31.960089],[102.629416,31.960221],[102.629826,31.960287],[102.630236,31.960353],[102.630645,31.960419],[102.630878,31.96045],[102.63111,31.960482],[102.631343,31.960514],[102.631575,31.960546],[102.631807,31.960577],[102.63204,31.960609],[102.632272,31.960641],[102.632505,31.960672],[102.632737,31.960704],[102.632969,31.960736],[102.633202,31.960767],[102.633356,31.960788],[102.633434,31.960799],[102.633694,31.960836],[102.633954,31.960873],[102.634214,31.960911],[102.634473,31.960948],[102.634733,31.960985],[102.634993,31.961022],[102.635309,31.961028],[102.635624,31.961034],[102.635773,31.961016],[102.635879,31.961002],[102.636133,31.96097],[102.636366,31.960921],[102.636508,31.960891],[102.636516,31.960889],[102.636549,31.960882],[102.6366,31.960872],[102.636644,31.960851],[102.636898,31.960734],[102.637132,31.960543],[102.637199,31.960489],[102.637373,31.960276],[102.637485,31.960096],[102.637508,31.960059],[102.637563,31.959971],[102.637653,31.959827],[102.637712,31.959732],[102.637753,31.959666],[102.637783,31.959617],[102.637814,31.959566],[102.637971,31.959373],[102.638072,31.95925],[102.638213,31.959079],[102.638293,31.958981],[102.63831,31.958961],[102.638331,31.958935],[102.638404,31.958845],[102.638579,31.958632],[102.63859,31.958619],[102.638606,31.958606],[102.638635,31.958582],[102.638805,31.958443],[102.639015,31.958272],[102.639226,31.9581],[102.639436,31.957928],[102.639647,31.957757],[102.63991,31.957601],[102.63995,31.957577],[102.64,31.957548],[102.640029,31.957531],[102.640172,31.957446],[102.640462,31.95713],[102.640659,31.956794],[102.640856,31.956457],[102.641015,31.956239],[102.641173,31.956022],[102.641189,31.955999],[102.641331,31.955805],[102.641489,31.955588],[102.641815,31.955348],[102.64214,31.955108],[102.642466,31.954868],[102.642623,31.9547],[102.642624,31.954699],[102.642626,31.954697],[102.64278,31.954533],[102.642937,31.954366],[102.643094,31.954199],[102.643323,31.953816],[102.643552,31.953433],[102.643782,31.95305],[102.643863,31.952803],[102.643945,31.952556],[102.644026,31.952309],[102.644108,31.952062],[102.64419,31.951815],[102.644271,31.951568],[102.64434,31.95136],[102.644353,31.951321],[102.644366,31.951281],[102.644435,31.951074],[102.644516,31.950827],[102.644574,31.950651],[102.644596,31.950585],[102.644597,31.950583],[102.644598,31.95058],[102.644656,31.950141],[102.644657,31.950109],[102.644657,31.950085],[102.644659,31.950031],[102.644662,31.949901],[102.644384,31.949696],[102.644109,31.94941],[102.643834,31.949125],[102.64356,31.948839],[102.643355,31.948574],[102.643151,31.94831],[102.643086,31.948078],[102.643021,31.947847],[102.642956,31.947615],[102.642892,31.947383],[102.64284,31.946942],[102.642789,31.9465],[102.642737,31.946058],[102.642709,31.945731],[102.642701,31.945644],[102.642689,31.945509],[102.642674,31.945334],[102.642665,31.945229],[102.642662,31.945195],[102.642662,31.945195],[102.642628,31.944814],[102.642671,31.944564],[102.642715,31.944314],[102.642758,31.944064],[102.642801,31.943813],[102.642844,31.943563],[102.642888,31.943313],[102.642928,31.943077],[102.642931,31.943062],[102.642974,31.942812],[102.643017,31.942562],[102.64306,31.942312],[102.643067,31.942178],[102.643077,31.941998],[102.643077,31.941989],[102.643083,31.941871],[102.643084,31.941869],[102.643084,31.941867],[102.643091,31.941725],[102.643107,31.941431],[102.643107,31.941431],[102.643107,31.941431],[102.643113,31.941304],[102.64313,31.940991],[102.643152,31.940562],[102.643153,31.940551],[102.643198,31.9404],[102.643203,31.940384],[102.643255,31.940212],[102.643282,31.940122],[102.643303,31.940055],[102.643307,31.94004],[102.643352,31.939892],[102.643357,31.939873],[102.643503,31.939696],[102.643649,31.939518],[102.643794,31.93934],[102.64394,31.939163],[102.644085,31.938985],[102.644231,31.938808],[102.644489,31.938505],[102.644748,31.938203],[102.645006,31.937901],[102.645269,31.937766],[102.645532,31.93763],[102.645633,31.937616],[102.645791,31.937595],[102.646051,31.937559],[102.646297,31.937579],[102.64639,31.937586],[102.646422,31.937589],[102.646502,31.937595],[102.646502,31.937595],[102.646502,31.937595],[102.646544,31.937598],[102.64679,31.937618],[102.647035,31.937637],[102.647035,31.937638],[102.647036,31.937638],[102.647202,31.937651],[102.647283,31.937657],[102.6473,31.937659],[102.647529,31.937677],[102.647761,31.937695],[102.647776,31.937696],[102.647876,31.937704],[102.648022,31.937716],[102.6482,31.937747],[102.648251,31.937756],[102.648481,31.937797],[102.648679,31.937831],[102.64871,31.937837],[102.648785,31.93785],[102.648842,31.93786],[102.648939,31.937877],[102.649024,31.937892],[102.649169,31.937918],[102.649398,31.937958],[102.649627,31.937998],[102.649857,31.938038],[102.650086,31.938079],[102.650315,31.938119],[102.65055,31.938163],[102.650784,31.938208],[102.651018,31.938252],[102.651252,31.938296],[102.651333,31.938306],[102.651608,31.938339],[102.65165,31.938344],[102.651663,31.938346],[102.651736,31.938354],[102.651918,31.938376],[102.652049,31.938392],[102.652378,31.938398],[102.652706,31.938404],[102.652789,31.938385],[102.653038,31.938331],[102.653163,31.938228],[102.653177,31.938217],[102.653224,31.938179],[102.65323,31.938174],[102.653257,31.938073],[102.653283,31.937973],[102.653195,31.937731],[102.653059,31.937509],[102.652924,31.937286],[102.652716,31.937132],[102.65257,31.937024],[102.652508,31.936978],[102.6523,31.936824],[102.652092,31.93667],[102.651893,31.93658],[102.65169,31.936489],[102.651288,31.936308],[102.650885,31.936127],[102.650667,31.936027],[102.650448,31.935926],[102.650229,31.935826],[102.650011,31.935726],[102.649792,31.935626],[102.649573,31.935525],[102.649355,31.935425],[102.649136,31.935325],[102.648917,31.935225],[102.648699,31.935124],[102.648325,31.935017],[102.647951,31.93491],[102.647769,31.934707],[102.647766,31.934695],[102.647751,31.934639],[102.647751,31.934637],[102.647727,31.934546],[102.647731,31.93439],[102.647732,31.934346],[102.647903,31.934183],[102.648075,31.93402],[102.648246,31.933857],[102.648418,31.933695],[102.648611,31.933518],[102.648803,31.933341],[102.648996,31.933164],[102.649189,31.932987],[102.64925,31.932888],[102.649256,31.93288],[102.649385,31.932671],[102.649581,31.932354],[102.649682,31.93219],[102.649777,31.932037],[102.649873,31.931882],[102.649948,31.93176],[102.65012,31.931483],[102.650199,31.931144],[102.650229,31.931016],[102.650279,31.930805],[102.650285,31.930534],[102.650292,31.930264],[102.650299,31.929994],[102.650306,31.929723],[102.650271,31.929282],[102.650232,31.928881],[102.650285,31.928661],[102.650338,31.928442],[102.650391,31.928222],[102.650444,31.928003],[102.65048,31.927753],[102.650515,31.927503],[102.650551,31.927254],[102.650587,31.927004],[102.650622,31.926754],[102.650658,31.926504],[102.650693,31.926255],[102.650729,31.926005],[102.650759,31.925605],[102.650788,31.925204],[102.650818,31.924804],[102.650852,31.924528],[102.650936,31.924391],[102.651128,31.924257],[102.651371,31.924239],[102.651642,31.924243],[102.651935,31.92441],[102.652228,31.924576],[102.652399,31.924737],[102.65257,31.924899],[102.652742,31.92506],[102.652913,31.925222],[102.653084,31.925383],[102.653255,31.925545],[102.653427,31.925706],[102.653598,31.925867],[102.653892,31.925989],[102.654042,31.926023],[102.654109,31.926038],[102.654158,31.926045],[102.654295,31.926064],[102.654486,31.926023],[102.654733,31.925842],[102.654874,31.925637],[102.655011,31.925439],[102.655015,31.925433],[102.655051,31.925363],[102.655086,31.925292],[102.655142,31.925182],[102.655269,31.924932],[102.655363,31.924496],[102.655316,31.924197],[102.655247,31.923956],[102.655246,31.923951],[102.655221,31.923862],[102.655179,31.923715],[102.65511,31.923475],[102.655042,31.923234],[102.654807,31.922855],[102.654699,31.92268],[102.654572,31.922475],[102.654464,31.922374],[102.65435,31.922266],[102.654127,31.922057],[102.654079,31.921902],[102.654028,31.921733],[102.654027,31.921726],[102.65401,31.921365],[102.654048,31.921294],[102.654083,31.92123],[102.654139,31.921125],[102.65416,31.921085],[102.654168,31.921071],[102.654181,31.921046],[102.654271,31.92091],[102.654405,31.920705],[102.654572,31.920547],[102.654789,31.920459],[102.655062,31.920395],[102.655318,31.920388],[102.655574,31.920382],[102.655822,31.920386],[102.655872,31.920387],[102.656144,31.920392],[102.656169,31.920392],[102.656505,31.920456],[102.656841,31.92052],[102.657163,31.920572],[102.657486,31.920624],[102.657863,31.920666],[102.65824,31.920707],[102.658523,31.920735],[102.658806,31.920763],[102.659144,31.92077],[102.659448,31.920776],[102.659481,31.920776],[102.659725,31.920734],[102.65981,31.920726],[102.660019,31.920704],[102.660312,31.920674],[102.66055,31.920502],[102.660787,31.92033],[102.66082,31.920282],[102.660829,31.920269],[102.660838,31.920255],[102.660922,31.920134],[102.661045,31.919955],[102.661057,31.919937],[102.661063,31.919903],[102.661082,31.919806],[102.661116,31.91963],[102.660812,31.919358],[102.660427,31.919197],[102.660043,31.919035],[102.659811,31.918942],[102.65958,31.918849],[102.659378,31.918668],[102.659175,31.918488],[102.659064,31.918243],[102.658954,31.917998],[102.658843,31.917753],[102.658732,31.917508],[102.658635,31.917142],[102.658554,31.916837],[102.658538,31.916777],[102.65853,31.916748],[102.65847,31.916521],[102.658402,31.916265],[102.658393,31.916167],[102.658393,31.916166],[102.658388,31.91611],[102.658385,31.916088],[102.658361,31.915823],[102.658063,31.915602],[102.658056,31.915596],[102.657746,31.915524],[102.657436,31.915452],[102.657178,31.915403],[102.656921,31.915354],[102.656663,31.915305],[102.656405,31.915256],[102.656097,31.915118],[102.65579,31.91498],[102.655546,31.914898],[102.655302,31.914817],[102.655058,31.914735],[102.654814,31.914653],[102.654584,31.914516],[102.654354,31.914379],[102.654287,31.914239],[102.654258,31.914177],[102.654248,31.914157],[102.654206,31.914067],[102.654109,31.9138],[102.654171,31.91336],[102.654237,31.913094],[102.654303,31.912827],[102.654487,31.912643],[102.654671,31.912458],[102.654855,31.912274],[102.655016,31.912113],[102.65504,31.912089],[102.655436,31.911926],[102.655832,31.911763],[102.656229,31.9116],[102.656625,31.911437],[102.656964,31.911266],[102.657304,31.911096],[102.657643,31.910925],[102.657871,31.910767],[102.658099,31.910609],[102.658247,31.910346],[102.658249,31.910232],[102.658254,31.909963],[102.658228,31.909668],[102.658113,31.909415],[102.657998,31.909162],[102.657744,31.908936],[102.657491,31.90871],[102.657173,31.908498],[102.656855,31.908286],[102.656538,31.908073],[102.656181,31.907816],[102.655873,31.907594],[102.655824,31.907558],[102.655742,31.907491],[102.655587,31.907363],[102.655349,31.907167],[102.655209,31.906939],[102.655184,31.906898],[102.655184,31.906887],[102.655192,31.906468],[102.655259,31.90624],[102.655325,31.906013],[102.655376,31.905838],[102.655392,31.905785],[102.655458,31.905557],[102.655577,31.905324],[102.655695,31.90509],[102.655813,31.904856],[102.655932,31.904622],[102.656093,31.904389],[102.656113,31.904361],[102.656255,31.904156],[102.656607,31.903928],[102.65686,31.903852],[102.657112,31.903775],[102.657365,31.903698],[102.657618,31.903622],[102.657857,31.903582],[102.658096,31.903542],[102.658335,31.903502],[102.658574,31.903462],[102.658813,31.903422],[102.659052,31.903382],[102.659291,31.903342],[102.659529,31.903302],[102.659946,31.903266],[102.660121,31.903251],[102.660293,31.903236],[102.660363,31.90323],[102.660675,31.903206],[102.66083,31.903195],[102.66087,31.903193],[102.66102,31.903183],[102.66116,31.903127],[102.661228,31.903072],[102.661267,31.90304],[102.661377,31.902806],[102.661383,31.902541],[102.661286,31.902302],[102.661099,31.902122],[102.660913,31.901942],[102.660807,31.90187],[102.660763,31.90184],[102.660699,31.901796],[102.660655,31.901767],[102.660626,31.901747],[102.660503,31.901663],[102.660484,31.901651],[102.66027,31.901505],[102.660056,31.90136],[102.659842,31.901215],[102.659627,31.901069],[102.659413,31.900924],[102.659199,31.900778],[102.658985,31.900633],[102.65877,31.900487],[102.658578,31.900331],[102.658386,31.900176],[102.658194,31.90002],[102.658002,31.899864],[102.65781,31.899708],[102.657618,31.899552],[102.657449,31.899372],[102.65728,31.899192],[102.657254,31.899078],[102.657221,31.89894],[102.657218,31.898925],[102.657156,31.898659],[102.657197,31.898394],[102.657239,31.898129],[102.657417,31.897911],[102.657595,31.897693],[102.657617,31.897685],[102.657784,31.897622],[102.657944,31.897562],[102.658294,31.897431],[102.658643,31.8973],[102.658896,31.897256],[102.659149,31.897213],[102.659403,31.897169],[102.659656,31.897125],[102.659909,31.897081],[102.66004,31.897058],[102.660162,31.897037],[102.660416,31.896993],[102.660669,31.89695],[102.660922,31.896906],[102.661175,31.896862],[102.661429,31.896818],[102.661682,31.896774],[102.661935,31.89673],[102.662164,31.896691],[102.662188,31.896687],[102.662561,31.896647],[102.662705,31.896632],[102.662868,31.896615],[102.662935,31.896608],[102.663308,31.896568],[102.663318,31.896565],[102.663656,31.896456],[102.664005,31.896344],[102.664165,31.896185],[102.664183,31.896166],[102.664238,31.896111],[102.664324,31.896025],[102.664329,31.895993],[102.664331,31.89598],[102.664334,31.895962],[102.664366,31.895761],[102.664358,31.89572],[102.664305,31.895436],[102.664101,31.895284],[102.663897,31.895133],[102.663687,31.895006],[102.663476,31.894879],[102.663266,31.894753],[102.663056,31.894626],[102.662845,31.894499],[102.662635,31.894372],[102.662425,31.894246],[102.662215,31.894119],[102.662004,31.893992],[102.661794,31.893866],[102.661584,31.893739],[102.661373,31.893612],[102.661161,31.893472],[102.660949,31.893332],[102.660737,31.893193],[102.660525,31.893053],[102.66022,31.892735],[102.66007,31.892526],[102.659919,31.892316],[102.659836,31.892166],[102.659821,31.892139],[102.659754,31.892019],[102.659749,31.891965],[102.659742,31.891889],[102.659727,31.891723],[102.659873,31.891431],[102.660242,31.891188],[102.660611,31.890944],[102.660874,31.890816],[102.661137,31.890689],[102.661331,31.890529],[102.661526,31.89037],[102.661774,31.890154],[102.662021,31.889937],[102.662165,31.889718],[102.662293,31.889523],[102.662309,31.889499],[102.66233,31.889458],[102.66234,31.889437],[102.662455,31.889207],[102.662601,31.888915],[102.662643,31.888842],[102.662697,31.888748],[102.662727,31.888696],[102.662813,31.888545],[102.662818,31.888536],[102.663067,31.888274],[102.663379,31.888222],[102.66363,31.888205],[102.663882,31.888187],[102.664133,31.88817],[102.664385,31.888152],[102.664614,31.88816],[102.664843,31.888168],[102.665072,31.888176],[102.665301,31.888184],[102.66553,31.888192],[102.665759,31.8882],[102.665988,31.888208],[102.666217,31.888216],[102.666587,31.888197],[102.666851,31.888184],[102.666958,31.888179],[102.667358,31.888098],[102.667708,31.888027],[102.667758,31.888017],[102.668177,31.887877],[102.668213,31.887848],[102.668495,31.887618],[102.668643,31.887238],[102.668645,31.887174],[102.668646,31.887125],[102.668648,31.887051],[102.668648,31.887043],[102.668653,31.886855],[102.668623,31.886794],[102.668488,31.886527],[102.668251,31.886346],[102.668013,31.886164],[102.667683,31.885991],[102.667352,31.885818],[102.667022,31.885645],[102.666762,31.885515],[102.666737,31.885503],[102.666714,31.885491],[102.666589,31.885358],[102.666546,31.885312],[102.666381,31.885013],[102.66627,31.884745],[102.666229,31.884646],[102.666076,31.88428],[102.665928,31.883922],[102.665924,31.883913],[102.66572,31.88364],[102.665672,31.883575],[102.665516,31.883368],[102.665331,31.883157],[102.665146,31.882947],[102.66501,31.882826],[102.664975,31.882636],[102.664963,31.882575],[102.664953,31.882519],[102.66495,31.882501],[102.664954,31.882344],[102.664958,31.882177],[102.665139,31.881885],[102.665357,31.881801],[102.665575,31.881716],[102.665793,31.881631],[102.666011,31.881547],[102.666197,31.881521],[102.666218,31.881518],[102.666382,31.881495],[102.666752,31.881443],[102.667122,31.881391],[102.667418,31.881323],[102.667471,31.88131],[102.667667,31.881265],[102.667714,31.881254],[102.66793,31.881179],[102.668145,31.881105],[102.66836,31.88103],[102.668575,31.880955],[102.668791,31.880881],[102.669006,31.880806],[102.669413,31.880666],[102.66982,31.880526],[102.670228,31.880387],[102.670526,31.8802],[102.670592,31.880159],[102.67066,31.880116],[102.670825,31.880013],[102.670849,31.879987],[102.671039,31.879782],[102.671277,31.879523],[102.671315,31.879246],[102.671323,31.878913],[102.671139,31.87852],[102.670832,31.878335],[102.670525,31.87815],[102.67014,31.877948],[102.669887,31.877816],[102.669755,31.877746],[102.669623,31.877678],[102.6695,31.877613],[102.66941,31.877566],[102.669369,31.877544],[102.669177,31.877444],[102.669123,31.877415],[102.668984,31.877342],[102.668776,31.877201],[102.668569,31.87706],[102.668375,31.876886],[102.66828,31.876772],[102.668236,31.876685],[102.668217,31.876648],[102.668186,31.876588],[102.668122,31.876462],[102.668157,31.876138],[102.668162,31.876094],[102.668421,31.875904],[102.668679,31.875714],[102.669027,31.875513],[102.669375,31.875311],[102.669723,31.87511],[102.670013,31.874942],[102.670311,31.874756],[102.67061,31.87457],[102.670823,31.874338],[102.671036,31.874106],[102.671163,31.873887],[102.67129,31.873668],[102.671357,31.873482],[102.671439,31.873258],[102.671446,31.872963],[102.671418,31.872698],[102.671346,31.872339],[102.671201,31.872166],[102.671118,31.872067],[102.670912,31.87182],[102.67089,31.871794],[102.670823,31.87176],[102.670751,31.871724],[102.670718,31.871707],[102.670669,31.871682],[102.670449,31.87157],[102.670228,31.871458],[102.670007,31.871345],[102.669786,31.871233],[102.669566,31.871121],[102.669345,31.871009],[102.669124,31.870896],[102.668741,31.870753],[102.668358,31.870611],[102.667974,31.870468],[102.66792,31.870441],[102.667919,31.870441],[102.667852,31.870408],[102.667837,31.870401],[102.667599,31.870284],[102.667395,31.870134],[102.667295,31.869954],[102.6673,31.869748],[102.667386,31.869525],[102.667471,31.869303],[102.667557,31.86908],[102.667642,31.868857],[102.667772,31.868642],[102.667901,31.868428],[102.66803,31.868213],[102.668159,31.867998],[102.668288,31.867784],[102.668417,31.867569],[102.668546,31.867354],[102.668675,31.86714],[102.668804,31.866925],[102.668933,31.86671],[102.669227,31.866384],[102.669521,31.866057],[102.669814,31.865731],[102.670108,31.865405],[102.67023,31.865212],[102.670352,31.86502],[102.670474,31.864827],[102.670596,31.864635],[102.670719,31.864442],[102.670841,31.86425],[102.670954,31.863883],[102.671031,31.863633],[102.671067,31.863517],[102.671125,31.863252],[102.671183,31.862988],[102.671156,31.862737],[102.671128,31.862486],[102.671091,31.862441],[102.670976,31.8623],[102.670914,31.862223],[102.670858,31.862155],[102.670605,31.8619],[102.670572,31.861867],[102.670473,31.861767],[102.670419,31.861713],[102.670418,31.861712],[102.670376,31.86167],[102.670371,31.861664],[102.670352,31.861645],[102.670184,31.861451],[102.670016,31.861256],[102.669935,31.861033],[102.669854,31.860811],[102.669878,31.860546],[102.669902,31.860281],[102.67005,31.85992],[102.670197,31.859559],[102.670345,31.859198],[102.670493,31.858807],[102.670641,31.858417],[102.670789,31.858026],[102.670868,31.857681],[102.670892,31.857421],[102.670904,31.857291],[102.670915,31.857166],[102.670915,31.857161],[102.670939,31.856901],[102.670963,31.856641],[102.670987,31.856381],[102.671011,31.856121],[102.67109,31.855699],[102.67117,31.855278],[102.67125,31.854856],[102.671364,31.854461],[102.671479,31.854065],[102.671577,31.853814],[102.671675,31.853563],[102.67178,31.853315],[102.671885,31.853067],[102.672123,31.852698],[102.672401,31.852482],[102.67249,31.852413],[102.67268,31.852265],[102.67276,31.852329],[102.672798,31.85236],[102.67292,31.852458],[102.67319,31.852728],[102.673436,31.853035],[102.673685,31.853353],[102.673933,31.853672],[102.674138,31.854025],[102.67431,31.854308],[102.674467,31.854632],[102.674623,31.8549],[102.674781,31.85514],[102.674831,31.855257],[102.674825,31.855671],[102.674821,31.855953],[102.674845,31.856319],[102.674869,31.856685],[102.674922,31.856852],[102.675111,31.857037],[102.675327,31.85725],[102.675341,31.857261],[102.675536,31.857404],[102.675731,31.857548],[102.675898,31.857768],[102.675963,31.858071],[102.675945,31.858321],[102.675871,31.858541],[102.675797,31.858761],[102.675797,31.859023],[102.675853,31.859259],[102.675856,31.859273],[102.675981,31.859475],[102.676058,31.859522],[102.676177,31.859594],[102.676505,31.859814],[102.676612,31.859915],[102.676689,31.860046],[102.676737,31.860189],[102.676784,31.86032],[102.676856,31.860433],[102.676939,31.860534],[102.677082,31.860671],[102.677314,31.860808],[102.677557,31.860909],[102.677843,31.861099],[102.678129,31.861289],[102.678295,31.861459],[102.678462,31.861628],[102.678503,31.861825],[102.678501,31.861893],[102.678497,31.862021],[102.678485,31.862289],[102.678474,31.862556],[102.67842,31.862818],[102.67839,31.863009],[102.678319,31.863305],[102.678248,31.863602],[102.678248,31.863603],[102.678248,31.863603],[102.678223,31.863687],[102.678223,31.863689],[102.67817,31.863871],[102.678027,31.864032],[102.677682,31.864222],[102.677593,31.864341],[102.677589,31.864459],[102.677587,31.86452],[102.677623,31.864769],[102.677659,31.864989],[102.677831,31.865299],[102.678004,31.86568],[102.678099,31.865804],[102.678277,31.86587],[102.678401,31.86591],[102.67844,31.865922],[102.678442,31.865923],[102.678444,31.865923],[102.678557,31.866025],[102.678569,31.866155],[102.678557,31.866286],[102.678527,31.866459],[102.678533,31.866631],[102.678652,31.86697],[102.678682,31.867119],[102.678682,31.867202],[102.67861,31.867315],[102.678521,31.867399],[102.678367,31.867494],[102.678057,31.86775],[102.677861,31.867916],[102.677737,31.86802],[102.677635,31.868107],[102.677436,31.868309],[102.677236,31.868511],[102.677088,31.86874],[102.677082,31.868749],[102.677082,31.868948],[102.677082,31.868975],[102.677093,31.869082],[102.677207,31.869433],[102.677409,31.869748],[102.677516,31.870141],[102.677555,31.870444],[102.677593,31.870748],[102.677617,31.870836],[102.677665,31.871014],[102.677742,31.871301],[102.67775,31.871323],[102.677871,31.871669],[102.677992,31.872015],[102.678033,31.87228],[102.678075,31.872544],[102.678111,31.872848],[102.678069,31.873264],[102.678013,31.873526],[102.677957,31.873788],[102.677891,31.874097],[102.677891,31.87421],[102.677891,31.874299],[102.677932,31.874382],[102.678051,31.87446],[102.678105,31.874502],[102.678349,31.874692],[102.678593,31.874882],[102.678771,31.875215],[102.678793,31.87529],[102.67886,31.875513],[102.678908,31.875816],[102.678979,31.876119],[102.679092,31.876328],[102.67919,31.876551],[102.679289,31.876774],[102.679402,31.876968],[102.679473,31.877089],[102.679526,31.877404],[102.679528,31.877433],[102.679544,31.877696],[102.679604,31.877934],[102.679741,31.878178],[102.679988,31.878499],[102.680056,31.878588],[102.680115,31.878721],[102.680199,31.878909],[102.680211,31.879177],[102.680208,31.879425],[102.680205,31.879861],[102.680175,31.880224],[102.680104,31.880593],[102.680032,31.880914],[102.679848,31.881116],[102.679613,31.881396],[102.679378,31.881675],[102.679146,31.882015],[102.678914,31.882354],[102.678696,31.882558],[102.678521,31.882722],[102.678515,31.882853],[102.678525,31.88289],[102.678539,31.882948],[102.678694,31.883056],[102.678725,31.883075],[102.678906,31.883189],[102.679117,31.883323],[102.679401,31.883664],[102.679685,31.884006],[102.679969,31.884348],[102.680253,31.884689],[102.680536,31.885031],[102.680348,31.885416],[102.680159,31.885801],[102.679971,31.886186],[102.679782,31.886571],[102.679594,31.886956],[102.679594,31.886957],[102.679593,31.886957],[102.679405,31.887341],[102.679217,31.887727],[102.679032,31.888008],[102.678847,31.88829],[102.67871,31.888506],[102.678573,31.888721],[102.678437,31.888936],[102.6783,31.889152],[102.678164,31.889367],[102.678027,31.889582],[102.677891,31.889798],[102.677754,31.890013],[102.677617,31.890229],[102.677481,31.890444],[102.677344,31.890659],[102.677208,31.890875],[102.677071,31.89109],[102.676934,31.891305],[102.676813,31.891521],[102.676691,31.891737],[102.67657,31.891953],[102.676448,31.892169],[102.676327,31.892385],[102.676205,31.892601],[102.676084,31.892817],[102.675962,31.893033],[102.67584,31.893249],[102.675719,31.893464],[102.675668,31.89359],[102.675629,31.893688],[102.675591,31.893782],[102.675547,31.893966],[102.675562,31.894151],[102.675596,31.894335],[102.675632,31.894453],[102.675739,31.894703],[102.675847,31.894952],[102.675954,31.895202],[102.676061,31.895451],[102.676273,31.89584],[102.676485,31.896228],[102.676698,31.896617],[102.67691,31.897006],[102.677023,31.897201],[102.677137,31.897396],[102.677251,31.897592],[102.677364,31.897787],[102.677478,31.897982],[102.677592,31.898177],[102.677704,31.898393],[102.677817,31.898609],[102.67793,31.898825],[102.678043,31.899041],[102.678155,31.899258],[102.678268,31.899474],[102.678381,31.89969],[102.678493,31.899906],[102.678605,31.900177],[102.678715,31.900547],[102.678757,31.900801],[102.6788,31.901054],[102.67885,31.901467],[102.678841,31.901787],[102.678796,31.902003],[102.678754,31.902138],[102.678712,31.902237],[102.678538,31.902404],[102.678364,31.902571],[102.67819,31.902738],[102.678016,31.902904],[102.677842,31.903071],[102.677668,31.903238],[102.677494,31.903405],[102.677319,31.903571],[102.677159,31.903751],[102.676998,31.90393],[102.676837,31.904109],[102.676676,31.904289],[102.676516,31.904468],[102.676355,31.904647],[102.676194,31.904826],[102.676034,31.905006],[102.675873,31.905185],[102.675712,31.905364],[102.675551,31.905544],[102.675391,31.905723],[102.67523,31.905902],[102.675069,31.906081],[102.674929,31.906261],[102.674788,31.906441],[102.674647,31.90662],[102.674507,31.9068],[102.674366,31.906979],[102.674225,31.907159],[102.674085,31.907338],[102.673944,31.907518],[102.673922,31.907651],[102.673923,31.907658],[102.673938,31.907769],[102.673947,31.90778],[102.674014,31.907855],[102.674111,31.907923],[102.674312,31.908025],[102.674513,31.908127],[102.674714,31.908229],[102.674915,31.90833],[102.675116,31.908432],[102.675318,31.908534],[102.675693,31.908742],[102.676069,31.908951],[102.676151,31.908996],[102.676445,31.909159],[102.676792,31.9094],[102.677042,31.90969],[102.677193,31.909928],[102.677286,31.910198],[102.677301,31.910383],[102.677297,31.910484],[102.677276,31.9106],[102.677273,31.910668],[102.677136,31.91089],[102.676999,31.911112],[102.676862,31.911334],[102.676725,31.911557],[102.676593,31.91179],[102.676461,31.912024],[102.676329,31.912257],[102.676197,31.912491],[102.676065,31.912724],[102.675933,31.912958],[102.675912,31.912996],[102.675801,31.913192],[102.675669,31.913425],[102.675555,31.9137],[102.67544,31.913974],[102.675345,31.914224],[102.67525,31.914474],[102.675214,31.914759],[102.675177,31.915044],[102.675164,31.915298],[102.675151,31.915553],[102.675138,31.915807],[102.675125,31.916061],[102.675111,31.916316],[102.675098,31.91657],[102.675111,31.916776],[102.675126,31.91704],[102.675163,31.917246],[102.675177,31.917319],[102.675229,31.917571],[102.675273,31.917684],[102.675378,31.91795],[102.675526,31.918329],[102.675608,31.918539],[102.675674,31.918708],[102.675794,31.919046],[102.675914,31.919383],[102.67598,31.9196],[102.676046,31.919818],[102.676112,31.920035],[102.676177,31.920252],[102.676243,31.92047],[102.676309,31.920687],[102.676375,31.920904],[102.676441,31.921122],[102.676484,31.921366],[102.676528,31.92161],[102.676523,31.921795],[102.676479,31.921928],[102.676378,31.922077],[102.676209,31.922267],[102.67604,31.922457],[102.675871,31.922647],[102.675702,31.922837],[102.675533,31.923027],[102.675364,31.923217],[102.675201,31.923417],[102.675038,31.923616],[102.674876,31.923816],[102.674713,31.924016],[102.674551,31.924216],[102.674388,31.924416],[102.674225,31.924615],[102.674063,31.924815],[102.6739,31.925015],[102.673737,31.925215],[102.67353,31.925598],[102.673445,31.925831],[102.673421,31.926049],[102.673416,31.92625],[102.673468,31.926469],[102.673523,31.926621],[102.673599,31.926774],[102.673886,31.927087],[102.674174,31.9274],[102.674462,31.927713],[102.674673,31.927952],[102.674786,31.928172],[102.674859,31.928391],[102.674876,31.928527],[102.67489,31.928729],[102.674876,31.928986],[102.674863,31.929243],[102.674849,31.929501],[102.674835,31.929758],[102.674821,31.930016],[102.674807,31.930273],[102.674793,31.93053],[102.674779,31.930788],[102.674777,31.931065],[102.674775,31.931342],[102.674773,31.931619],[102.674771,31.931896],[102.674703,31.932256],[102.674635,31.932615],[102.674569,31.932891],[102.674502,31.933167],[102.674476,31.933434],[102.674515,31.933616],[102.674565,31.933697],[102.67461,31.933768],[102.674898,31.934084],[102.674916,31.934103],[102.675186,31.934399],[102.675454,31.934701],[102.675721,31.935002],[102.675989,31.935303],[102.676136,31.935494],[102.676283,31.935685],[102.67643,31.935875],[102.676577,31.936066],[102.676724,31.936257],[102.676871,31.936448],[102.677018,31.936638],[102.677165,31.936829],[102.677312,31.93702],[102.677459,31.937211],[102.677647,31.937566],[102.67774,31.937828],[102.677832,31.938091],[102.677885,31.938391],[102.677937,31.938691],[102.677955,31.938955],[102.677973,31.93922],[102.677991,31.939484],[102.678009,31.939749],[102.678033,31.939993],[102.678056,31.940238],[102.67812,31.940457],[102.678183,31.940676],[102.678312,31.941039],[102.67844,31.941402],[102.678534,31.941622],[102.678627,31.941842],[102.678808,31.942114],[102.678988,31.942385],[102.679122,31.942622],[102.679256,31.942859],[102.679391,31.943096],[102.679525,31.943332],[102.679659,31.943569],[102.679793,31.943806],[102.679928,31.944043],[102.680062,31.94428],[102.680196,31.944517],[102.680331,31.944753],[102.680471,31.945077],[102.680508,31.945159],[102.680684,31.945565],[102.680861,31.945971],[102.681038,31.946377],[102.681158,31.946707],[102.681271,31.947015],[102.681278,31.947036],[102.681361,31.947298],[102.681444,31.94756],[102.681493,31.947924],[102.681495,31.948058],[102.681496,31.948167],[102.6815,31.94841],[102.681433,31.948728],[102.681366,31.949047],[102.681271,31.949305],[102.681176,31.949564],[102.681112,31.949747],[102.681108,31.949999],[102.681122,31.9501],[102.681159,31.950235],[102.681472,31.950538],[102.681785,31.950842],[102.682098,31.951145],[102.682411,31.951449],[102.682622,31.951676],[102.682833,31.951903],[102.682987,31.952107],[102.683042,31.952226],[102.683118,31.952361],[102.683126,31.952431],[102.68315,31.952631],[102.683124,31.952899],[102.683027,31.953216],[102.682931,31.953533],[102.682872,31.953884],[102.682814,31.954236],[102.682787,31.954536],[102.682782,31.954779],[102.682812,31.955132],[102.682872,31.95539],[102.682931,31.955649],[102.682991,31.955907],[102.68305,31.956166],[102.683109,31.956424],[102.683159,31.95664],[102.683159,31.95664],[102.683169,31.956683],[102.683223,31.956903],[102.683278,31.957123],[102.683332,31.957343],[102.683387,31.957563],[102.683441,31.957783],[102.683496,31.958003],[102.68355,31.958223],[102.683605,31.958443],[102.683662,31.958672],[102.683718,31.958901],[102.683775,31.959129],[102.683832,31.959358],[102.683911,31.959729],[102.683991,31.9601],[102.684118,31.960505],[102.684306,31.960878],[102.684444,31.961103],[102.684582,31.961328],[102.68472,31.961554],[102.684857,31.961779],[102.684995,31.962004],[102.685034,31.962068],[102.685035,31.96207],[102.685133,31.962229],[102.685304,31.96251],[102.685336,31.962585],[102.685341,31.962599],[102.685456,31.962924],[102.685509,31.963072],[102.685571,31.963248],[102.685631,31.963375],[102.685757,31.963641],[102.68584,31.963749],[102.685993,31.963948],[102.686157,31.964105],[102.686364,31.964248],[102.686635,31.964334],[102.686799,31.964369],[102.686937,31.964424],[102.686978,31.964441],[102.68717,31.964555],[102.687206,31.964612],[102.687272,31.964722],[102.687456,31.965026],[102.687479,31.965076],[102.687644,31.965432],[102.687809,31.965789],[102.688112,31.966075],[102.688148,31.96611],[102.688274,31.966228],[102.688339,31.966288],[102.688422,31.96636],[102.688487,31.966413],[102.688505,31.966455],[102.688517,31.966526],[102.68844,31.966633],[102.688279,31.966901],[102.688119,31.967169],[102.688005,31.967396],[102.687934,31.967537],[102.687774,31.967758],[102.687632,31.967903],[102.687565,31.967972],[102.687357,31.968132],[102.687149,31.968293],[102.686958,31.968461],[102.68686,31.968547],[102.68681,31.96859],[102.686679,31.968608],[102.686572,31.968608],[102.686453,31.968674],[102.686388,31.96881],[102.686411,31.969054],[102.686411,31.969447],[102.68639,31.969673],[102.68637,31.969899],[102.686313,31.970142],[102.686287,31.970248],[102.686255,31.970384],[102.686135,31.970637],[102.686049,31.970818],[102.685969,31.970986],[102.685803,31.971336],[102.685764,31.971396],[102.685709,31.971481],[102.68568,31.971527],[102.685609,31.971637],[102.685556,31.971718],[102.685433,31.971908],[102.68531,31.972099],[102.68515,31.972255],[102.685007,31.972395],[102.684787,31.972542],[102.684508,31.972655],[102.684168,31.972783],[102.684089,31.972805],[102.683913,31.972854],[102.683658,31.972924],[102.683403,31.972994],[102.683148,31.973064],[102.682893,31.973135],[102.682638,31.973205],[102.682383,31.973275],[102.682128,31.973345],[102.681873,31.973416],[102.681618,31.973486],[102.681369,31.973565],[102.68112,31.973645],[102.680872,31.973724],[102.680805,31.973745],[102.680623,31.973803],[102.68052,31.973844],[102.680236,31.973956],[102.680071,31.97402],[102.679859,31.974104],[102.679848,31.974108],[102.679622,31.974232],[102.679538,31.974278],[102.679486,31.974307],[102.679227,31.974449],[102.678946,31.974637],[102.678665,31.974826],[102.678599,31.974884],[102.678349,31.975105],[102.678034,31.975384],[102.677718,31.975664],[102.677564,31.975844],[102.67741,31.976025],[102.677256,31.976205],[102.677102,31.976385],[102.676948,31.976566],[102.676794,31.976746],[102.67664,31.976926],[102.676486,31.977107],[102.676333,31.977285],[102.676181,31.977464],[102.676181,31.977464],[102.676181,31.977464],[102.676025,31.977686],[102.675832,31.977998],[102.675638,31.97831],[102.675513,31.978507],[102.675478,31.978679],[102.675478,31.978894],[102.675478,31.979018],[102.675489,31.979188],[102.67549,31.979197],[102.675608,31.979406],[102.67562,31.979429],[102.675815,31.979757],[102.67601,31.980084],[102.676031,31.980119],[102.676233,31.980428],[102.676435,31.980738],[102.67656,31.981059],[102.676703,31.981338],[102.67675,31.981441],[102.676882,31.981725],[102.677015,31.98204],[102.677149,31.982356],[102.677156,31.982381],[102.677273,31.982806],[102.67739,31.983231],[102.677465,31.983504],[102.677601,31.983789],[102.677619,31.983932],[102.677625,31.984057],[102.677578,31.984158],[102.677384,31.984429],[102.677191,31.984699],[102.677062,31.984898],[102.676793,31.985163],[102.676525,31.985428],[102.676257,31.985693],[102.676061,31.985855],[102.675882,31.986002],[102.67561,31.986348],[102.675597,31.986365],[102.675365,31.986609],[102.67524,31.98674],[102.675139,31.986924],[102.675109,31.98718],[102.675109,31.98762],[102.675091,31.987953],[102.675186,31.988227],[102.675192,31.988393],[102.675079,31.988631],[102.675061,31.98906],[102.675064,31.989145],[102.675073,31.989381],[102.675133,31.989756],[102.675145,31.990119],[102.675145,31.990273],[102.675087,31.990423],[102.675055,31.990505],[102.674966,31.99066],[102.674913,31.99088],[102.674918,31.991005],[102.674948,31.991142],[102.675121,31.991308],[102.675127,31.991362],[102.675097,31.991469],[102.674936,31.991695],[102.674776,31.991921],[102.674615,31.992272],[102.674598,31.992368],[102.674531,31.992744],[102.674526,31.992772],[102.67449,31.99309],[102.674455,31.993408],[102.674397,31.993677],[102.67433,31.993991],[102.674312,31.994235],[102.674307,31.994332],[102.674306,31.994366],[102.674371,31.994467],[102.674532,31.994705],[102.674675,31.994913],[102.674752,31.995145],[102.674827,31.995447],[102.674903,31.995749],[102.674918,31.995811],[102.675061,31.996127],[102.675171,31.996356],[102.675281,31.996585],[102.675378,31.996729],[102.675538,31.996966],[102.675698,31.997203],[102.675927,31.997444],[102.676156,31.997685],[102.676251,31.997828],[102.676322,31.997971],[102.676394,31.998007],[102.676453,31.998036],[102.676483,31.998114],[102.676471,31.998256],[102.676424,31.998387],[102.67637,31.998488],[102.676282,31.998528],[102.676263,31.998536],[102.676049,31.998619],[102.675882,31.998744],[102.675751,31.998881],[102.675742,31.998895],[102.675715,31.998936],[102.675591,31.999125],[102.675466,31.999458],[102.675377,31.999583],[102.675153,31.999816],[102.674942,32.000035],[102.674698,32.000326],[102.674496,32.000487],[102.674228,32.000707],[102.673976,32.000862],[102.673723,32.001016],[102.673604,32.001129],[102.673544,32.001314],[102.673408,32.001736],[102.673312,32.002099],[102.673275,32.002198],[102.673247,32.002272],[102.673158,32.002403],[102.67308,32.00248],[102.672902,32.002557],[102.672718,32.002649],[102.672569,32.002724],[102.672397,32.002808],[102.672265,32.002872],[102.672031,32.002925],[102.671796,32.002977],[102.671784,32.00298],[102.671587,32.003009],[102.671308,32.003104],[102.671022,32.00336],[102.670975,32.003568],[102.670992,32.003729],[102.671053,32.003925],[102.671125,32.004159],[102.671171,32.004306],[102.671284,32.004621],[102.671308,32.004776],[102.671236,32.004907],[102.671141,32.005073],[102.671064,32.00524],[102.671033,32.005277],[102.670844,32.005508],[102.670683,32.005752],[102.670661,32.005808],[102.670591,32.00599],[102.670499,32.006227],[102.670415,32.006567],[102.670338,32.006784],[102.670261,32.007001],[102.670112,32.007254],[102.669963,32.007506],[102.669832,32.007703],[102.669672,32.007798],[102.66941,32.007932],[102.669148,32.008065],[102.669113,32.008083],[102.668976,32.008191],[102.668973,32.008215],[102.668958,32.008327],[102.668982,32.008434],[102.669035,32.008589],[102.669046,32.008637],[102.669071,32.008744],[102.669089,32.008892],[102.669136,32.009053],[102.669214,32.00919],[102.669386,32.009351],[102.669559,32.009511],[102.669752,32.009856],[102.669945,32.010201],[102.670094,32.010412],[102.670243,32.010624],[102.670326,32.010689],[102.670451,32.010743],[102.670473,32.010749],[102.670869,32.010859],[102.671028,32.010903],[102.671168,32.010983],[102.671236,32.011022],[102.671563,32.011302],[102.671754,32.011453],[102.671944,32.011605],[102.672063,32.011685],[102.672164,32.011754],[102.672462,32.011908],[102.672729,32.012164],[102.67278,32.012213],[102.672914,32.012343],[102.673057,32.012515],[102.673092,32.012646],[102.673106,32.012724],[102.673122,32.012813],[102.673211,32.012961],[102.673354,32.013167],[102.673425,32.013415],[102.673491,32.013552],[102.673516,32.013605],[102.67358,32.01369],[102.673673,32.013813],[102.673706,32.013857],[102.673816,32.01399],[102.674011,32.014109],[102.674073,32.014157],[102.674077,32.014228],[102.674073,32.014333],[102.674038,32.014456],[102.674025,32.0145],[102.673973,32.014609],[102.673968,32.014757],[102.673958,32.014918],[102.673916,32.015109],[102.673868,32.015209],[102.673836,32.015301],[102.673811,32.015375],[102.673868,32.015689],[102.673849,32.015861],[102.673839,32.016132],[102.673839,32.016312],[102.673839,32.016384],[102.673915,32.016695],[102.673944,32.016813],[102.673996,32.017046],[102.674009,32.017109],[102.674092,32.017536],[102.674151,32.017895],[102.674211,32.018254],[102.674234,32.018535],[102.674196,32.018764],[102.674125,32.018945],[102.674123,32.018958],[102.674101,32.019159],[102.67412,32.019306],[102.674215,32.019458],[102.674401,32.019749],[102.674501,32.019953],[102.674539,32.020063],[102.674582,32.020187],[102.674636,32.020406],[102.674644,32.020439],[102.674625,32.020696],[102.674587,32.020896],[102.674604,32.021106],[102.674606,32.021129],[102.674632,32.021353],[102.674634,32.021368],[102.674658,32.021576],[102.674701,32.021881],[102.67471,32.022085],[102.674691,32.02229],[102.674644,32.022576],[102.674644,32.02278],[102.674682,32.022999],[102.674698,32.023062],[102.674777,32.023361],[102.674796,32.023508],[102.674789,32.0237],[102.674786,32.023775],[102.674677,32.024108],[102.674644,32.024355],[102.674639,32.024589],[102.674601,32.024755],[102.674544,32.024874],[102.674265,32.02512],[102.673891,32.025317],[102.673792,32.025369],[102.673571,32.025446],[102.673351,32.025522],[102.67334,32.025526],[102.673021,32.025636],[102.672726,32.025816],[102.672359,32.025926],[102.671993,32.026035],[102.671631,32.026173],[102.671296,32.02643],[102.671265,32.026454],[102.671079,32.026545],[102.670851,32.026659],[102.670568,32.026813],[102.670284,32.026968],[102.670047,32.027106],[102.669882,32.02738],[102.669804,32.027511],[102.669667,32.027902],[102.669657,32.027948],[102.669589,32.028259],[102.669639,32.028495],[102.66976,32.028666],[102.669924,32.028841],[102.670088,32.029016],[102.67026,32.029159],[102.670481,32.029337],[102.670602,32.029701],[102.670738,32.029915],[102.670888,32.030115],[102.670995,32.030265],[102.671022,32.030333],[102.671109,32.030551],[102.671159,32.030693],[102.67138,32.030875],[102.671602,32.031057],[102.671877,32.031264],[102.672151,32.031471],[102.672176,32.031499],[102.672395,32.031741],[102.672428,32.031778],[102.67268,32.032057],[102.672837,32.032232],[102.672994,32.032407],[102.673029,32.03242],[102.673379,32.032556],[102.673686,32.032671],[102.673886,32.032799],[102.673906,32.032832],[102.674036,32.033042],[102.67405,32.033137],[102.674072,32.033277],[102.67405,32.03367],[102.673953,32.033997],[102.673907,32.034148],[102.67379,32.034496],[102.673722,32.034698],[102.673658,32.034905],[102.673693,32.035105],[102.673702,32.035114],[102.6738,32.035219],[102.673922,32.035298],[102.674022,32.035462],[102.67405,32.035655],[102.674036,32.035883],[102.67392,32.036165],[102.673805,32.036447],[102.673766,32.036542],[102.67371,32.036679],[102.673615,32.036911],[102.673527,32.037131],[102.673465,32.037289],[102.673212,32.037566],[102.673158,32.037625],[102.672894,32.037967],[102.672772,32.038189],[102.672694,32.038421],[102.672615,32.038653],[102.672423,32.038988],[102.672291,32.039181],[102.672159,32.039374],[102.67215,32.039387],[102.671976,32.039641],[102.671802,32.039895],[102.671752,32.04013],[102.671652,32.040344],[102.67153,32.04043],[102.67142,32.040487],[102.671266,32.040566],[102.671007,32.040717],[102.670924,32.040766],[102.670595,32.041008],[102.670481,32.041094],[102.670438,32.041201],[102.670424,32.041494],[102.67041,32.041786],[102.670353,32.042215],[102.670346,32.04224],[102.67034,32.042263],[102.670243,32.042646],[102.670146,32.043028],[102.670074,32.043207],[102.670003,32.043307],[102.669839,32.043343],[102.669739,32.043347],[102.669532,32.043357],[102.669367,32.043357],[102.669096,32.043303],[102.668825,32.04325],[102.668554,32.043207],[102.668282,32.043164],[102.667933,32.04315],[102.667669,32.043143],[102.667577,32.043164],[102.667483,32.043186],[102.667269,32.043278],[102.667019,32.043321],[102.666669,32.043271],[102.666369,32.04325],[102.666237,32.04325],[102.666091,32.04325],[102.666017,32.043296],[102.665698,32.043492],[102.665394,32.043779],[102.665191,32.043971],[102.664949,32.044106],[102.664763,32.044256],[102.664556,32.044328],[102.664378,32.04442],[102.664256,32.04452],[102.664064,32.04471],[102.663871,32.044899],[102.663849,32.04492],[102.663585,32.045091],[102.663278,32.045199],[102.663064,32.045234],[102.662814,32.045234]]]]},"properties":{"cp":[102.49877817263959,32.16081640345188],"code":"513233101","name":"刷经寺镇","level":"street","center":[102.49877817263959,32.16081640345188],"fullCode":"513233101000","fullName":"四川省阿坝藏族羌族自治州红原县刷经寺镇","acreageMu":1479646.49,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.661,31.9177]}},{"id":"513233103","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.190465,32.696137],[102.190648,32.695897],[102.1908,32.695656],[102.19099,32.695463],[102.19118,32.69527],[102.19137,32.695077],[102.19156,32.694884],[102.191781,32.694532],[102.191877,32.694281],[102.191973,32.694031],[102.192053,32.693751],[102.192132,32.69347],[102.192144,32.693222],[102.192157,32.692973],[102.192157,32.692964],[102.192169,32.692725],[102.192181,32.692476],[102.192193,32.692228],[102.192206,32.691979],[102.192218,32.691731],[102.19223,32.691482],[102.192191,32.691051],[102.192169,32.690812],[102.192152,32.690619],[102.192166,32.690348],[102.192167,32.690321],[102.192174,32.690188],[102.192196,32.689758],[102.192219,32.689328],[102.192241,32.688898],[102.192293,32.688642],[102.192345,32.688386],[102.192398,32.68813],[102.19245,32.687874],[102.192502,32.687618],[102.192555,32.687361],[102.192607,32.687105],[102.192611,32.687088],[102.192659,32.686849],[102.192712,32.686593],[102.192738,32.686466],[102.192764,32.686337],[102.192816,32.686081],[102.192854,32.685898],[102.192865,32.685841],[102.192869,32.685825],[102.192956,32.685578],[102.193042,32.685331],[102.193129,32.685084],[102.193216,32.684837],[102.193303,32.684591],[102.193325,32.684528],[102.19339,32.684344],[102.193425,32.684243],[102.193477,32.684097],[102.193564,32.68385],[102.193677,32.683607],[102.19379,32.683365],[102.193903,32.683122],[102.194017,32.68288],[102.19413,32.682637],[102.194243,32.682395],[102.194356,32.682152],[102.194379,32.682104],[102.194469,32.68191],[102.194548,32.681812],[102.19475,32.681561],[102.19503,32.681212],[102.195311,32.680863],[102.195591,32.680514],[102.195872,32.680165],[102.196009,32.680089],[102.196105,32.680037],[102.19628,32.67994],[102.196299,32.679929],[102.196337,32.679909],[102.196684,32.679795],[102.196763,32.679769],[102.197011,32.67973],[102.197093,32.679718],[102.197258,32.679692],[102.197259,32.679692],[102.197259,32.679692],[102.197279,32.679689],[102.197452,32.679664],[102.197612,32.679641],[102.197877,32.679609],[102.198142,32.679578],[102.198406,32.679547],[102.198664,32.679516],[102.198671,32.679515],[102.198685,32.679506],[102.198713,32.679487],[102.198745,32.679465],[102.198883,32.67937],[102.198924,32.679343],[102.199142,32.679109],[102.199221,32.678815],[102.199234,32.678399],[102.199224,32.678146],[102.199215,32.677893],[102.199152,32.677639],[102.19909,32.677386],[102.199091,32.677363],[102.199095,32.677215],[102.199098,32.677109],[102.199101,32.677035],[102.199101,32.677032],[102.199101,32.67703],[102.199215,32.676735],[102.199399,32.676502],[102.199687,32.6763],[102.19992,32.676142],[102.200154,32.675984],[102.200387,32.67584],[102.20062,32.675697],[102.200818,32.675553],[102.201016,32.675409],[102.201234,32.675206],[102.201398,32.675016],[102.201562,32.674826],[102.20182,32.674485],[102.202077,32.674145],[102.202335,32.673804],[102.202507,32.673576],[102.202515,32.673565],[102.202592,32.673463],[102.20266,32.673267],[102.202669,32.673238],[102.202747,32.673013],[102.202812,32.672825],[102.202824,32.672788],[102.202902,32.672563],[102.202979,32.672339],[102.203057,32.672114],[102.203134,32.671889],[102.20316,32.671815],[102.203161,32.67181],[102.203212,32.671664],[102.20335,32.67147],[102.203487,32.671277],[102.203625,32.671083],[102.203763,32.670889],[102.203901,32.670696],[102.204039,32.670502],[102.204111,32.6704],[102.204138,32.670363],[102.204177,32.670308],[102.204231,32.670233],[102.204315,32.670115],[102.204444,32.669924],[102.204486,32.669863],[102.204506,32.669832],[102.204573,32.669734],[102.204793,32.669471],[102.205023,32.669409],[102.205253,32.669348],[102.205483,32.669286],[102.205672,32.669235],[102.20569,32.669231],[102.205714,32.669224],[102.205744,32.669228],[102.20576,32.66923],[102.20603,32.669262],[102.206203,32.669354],[102.206408,32.669537],[102.206543,32.669733],[102.206678,32.66993],[102.20683,32.670141],[102.206982,32.670353],[102.207169,32.67055],[102.207357,32.670746],[102.207711,32.670927],[102.208064,32.671107],[102.208343,32.671202],[102.208621,32.671298],[102.208864,32.671407],[102.208992,32.671465],[102.20903,32.671481],[102.209107,32.671516],[102.209135,32.671534],[102.209452,32.671732],[102.209688,32.672064],[102.209853,32.672425],[102.209915,32.672708],[102.209976,32.672992],[102.210126,32.673263],[102.210276,32.673533],[102.210445,32.673745],[102.210615,32.673957],[102.210922,32.674231],[102.211266,32.674476],[102.211474,32.674585],[102.211682,32.674693],[102.212066,32.674791],[102.212451,32.674859],[102.212838,32.674853],[102.213225,32.674847],[102.213507,32.674823],[102.21372,32.674768],[102.213953,32.674677],[102.214006,32.674656],[102.214063,32.674633],[102.214156,32.674596],[102.214284,32.674546],[102.21429,32.674544],[102.214507,32.674371],[102.214653,32.674225],[102.214958,32.673909],[102.215263,32.673592],[102.215488,32.67336],[102.215569,32.673276],[102.215802,32.672945],[102.216035,32.672613],[102.216268,32.672281],[102.216467,32.672093],[102.216667,32.671904],[102.216899,32.67182],[102.216997,32.671784],[102.217086,32.671753],[102.217131,32.671736],[102.217178,32.671737],[102.217235,32.671739],[102.217301,32.671754],[102.217375,32.671771],[102.217514,32.671834],[102.217753,32.672047],[102.217906,32.672214],[102.218059,32.67238],[102.218212,32.672547],[102.218366,32.672714],[102.218536,32.672881],[102.218707,32.673048],[102.219019,32.673204],[102.219298,32.6733],[102.219578,32.673305],[102.219826,32.673266],[102.220074,32.673227],[102.220141,32.673191],[102.22016,32.673182],[102.220181,32.67317],[102.220367,32.673059],[102.220385,32.673048],[102.2204,32.673039],[102.220437,32.673017],[102.220468,32.672998],[102.220519,32.672952],[102.220638,32.672845],[102.220808,32.672691],[102.220978,32.672537],[102.221148,32.672383],[102.221318,32.67223],[102.221488,32.672076],[102.221658,32.671922],[102.22173,32.671857],[102.221811,32.671785],[102.221829,32.671769],[102.221914,32.671691],[102.221999,32.671615],[102.222169,32.671461],[102.222365,32.671276],[102.22256,32.67109],[102.222756,32.670904],[102.222924,32.670745],[102.222927,32.670742],[102.222952,32.670718],[102.223007,32.670666],[102.223012,32.670661],[102.223019,32.670655],[102.223148,32.670533],[102.223344,32.670347],[102.223539,32.670161],[102.223634,32.670072],[102.223638,32.670068],[102.223735,32.669975],[102.223931,32.66979],[102.223967,32.669756],[102.224127,32.669604],[102.224268,32.669406],[102.224409,32.669208],[102.22455,32.66901],[102.2246,32.668939],[102.22469,32.668811],[102.224787,32.668676],[102.224787,32.668676],[102.224831,32.668613],[102.224846,32.668592],[102.224847,32.668592],[102.224937,32.668465],[102.224972,32.668415],[102.225113,32.668217],[102.225254,32.668019],[102.225314,32.667935],[102.225385,32.667834],[102.225395,32.667821],[102.225455,32.667736],[102.225536,32.667623],[102.225677,32.667425],[102.225818,32.667226],[102.225959,32.667028],[102.226067,32.666876],[102.2261,32.66683],[102.226226,32.666786],[102.226476,32.666699],[102.226727,32.666611],[102.226977,32.666524],[102.227017,32.66651],[102.227019,32.666509],[102.227021,32.666508],[102.227131,32.66647],[102.227131,32.66647],[102.227227,32.666437],[102.227275,32.66642],[102.227478,32.666349],[102.227728,32.666262],[102.227959,32.66615],[102.228191,32.666038],[102.228422,32.665926],[102.228474,32.665901],[102.228622,32.665829],[102.228653,32.665814],[102.228885,32.665702],[102.229116,32.66559],[102.229347,32.665478],[102.229482,32.665413],[102.229578,32.665367],[102.22961,32.665345],[102.229931,32.665124],[102.230283,32.664881],[102.230636,32.664639],[102.230988,32.664396],[102.231336,32.664118],[102.231684,32.66384],[102.23187,32.66367],[102.232056,32.663501],[102.232307,32.663241],[102.232557,32.662981],[102.232708,32.662785],[102.232859,32.662589],[102.233011,32.662393],[102.233162,32.662197],[102.23326,32.661956],[102.233358,32.661715],[102.233456,32.661474],[102.233554,32.661233],[102.233652,32.660993],[102.23375,32.660752],[102.233827,32.660589],[102.233978,32.66041],[102.234128,32.660249],[102.234275,32.660191],[102.234689,32.660097],[102.234697,32.660097],[102.235077,32.660086],[102.235319,32.660101],[102.23556,32.660116],[102.235971,32.660146],[102.236211,32.660182],[102.236451,32.660218],[102.236738,32.660326],[102.237123,32.660437],[102.237431,32.660669],[102.237598,32.660795],[102.237738,32.6609],[102.237937,32.66112],[102.237992,32.661181],[102.238135,32.661339],[102.238299,32.661516],[102.238463,32.661693],[102.238518,32.661757],[102.238627,32.661881],[102.239059,32.661973],[102.239196,32.661976],[102.239375,32.661979],[102.239691,32.661935],[102.240007,32.661891],[102.240235,32.661548],[102.240375,32.661337],[102.240514,32.661126],[102.240653,32.660934],[102.240791,32.660743],[102.241041,32.660504],[102.241317,32.660223],[102.241564,32.660005],[102.24186,32.659846],[102.242227,32.659742],[102.242593,32.659638],[102.242907,32.659624],[102.243293,32.659674],[102.243703,32.659714],[102.244113,32.659754],[102.244367,32.659735],[102.244621,32.659716],[102.244875,32.659697],[102.245128,32.659678],[102.245382,32.659659],[102.245636,32.65964],[102.24589,32.659621],[102.246143,32.659603],[102.246397,32.659584],[102.246651,32.659565],[102.24691,32.659526],[102.247169,32.659487],[102.247294,32.659469],[102.247429,32.659449],[102.247688,32.65941],[102.247947,32.659371],[102.248207,32.659333],[102.248448,32.659348],[102.24869,32.659363],[102.248931,32.659389],[102.248993,32.659396],[102.249158,32.659414],[102.249171,32.659415],[102.249244,32.659443],[102.24927,32.659452],[102.249338,32.659478],[102.24944,32.659516],[102.249459,32.659523],[102.249744,32.659714],[102.249932,32.659882],[102.250121,32.660049],[102.250455,32.660219],[102.250887,32.660331],[102.251174,32.660321],[102.251226,32.660319],[102.251493,32.660263],[102.251551,32.660248],[102.251667,32.660218],[102.25175,32.660197],[102.252006,32.660131],[102.252282,32.659791],[102.252283,32.65979],[102.252283,32.65979],[102.252283,32.65979],[102.252303,32.659765],[102.252484,32.659539],[102.252559,32.659444],[102.252684,32.659288],[102.252692,32.659281],[102.252871,32.659129],[102.253058,32.658969],[102.253381,32.65869],[102.253626,32.658573],[102.253872,32.658456],[102.254117,32.658379],[102.254458,32.658345],[102.254771,32.658352],[102.255058,32.65846],[102.255273,32.658567],[102.255487,32.658674],[102.255846,32.658805],[102.256085,32.658892],[102.256317,32.658836],[102.256323,32.658834],[102.256374,32.658822],[102.256425,32.658809],[102.256549,32.658779],[102.256768,32.658723],[102.257032,32.658475],[102.257189,32.658328],[102.257296,32.658228],[102.257424,32.657985],[102.257503,32.657772],[102.257582,32.657559],[102.257618,32.657298],[102.257655,32.657036],[102.257691,32.656775],[102.257727,32.656513],[102.257764,32.656252],[102.2578,32.65599],[102.257849,32.655552],[102.257899,32.655113],[102.257979,32.654859],[102.25806,32.654606],[102.25814,32.654352],[102.258221,32.654099],[102.258374,32.653836],[102.258552,32.653554],[102.258801,32.653284],[102.25905,32.653013],[102.259234,32.652841],[102.259418,32.652669],[102.259601,32.652496],[102.259785,32.652324],[102.259969,32.652152],[102.260152,32.65198],[102.260353,32.651791],[102.260553,32.651601],[102.260739,32.651432],[102.260925,32.651262],[102.261238,32.650941],[102.261454,32.650719],[102.26155,32.65062],[102.261753,32.650319],[102.261801,32.650206],[102.261883,32.650015],[102.26194,32.64973],[102.261944,32.649587],[102.261947,32.649481],[102.261955,32.649232],[102.261962,32.648983],[102.26197,32.648734],[102.261978,32.648485],[102.261985,32.648236],[102.261993,32.647987],[102.262,32.647738],[102.262008,32.647489],[102.262015,32.64724],[102.262055,32.646812],[102.262095,32.646383],[102.262135,32.645954],[102.262174,32.645526],[102.262245,32.645271],[102.262315,32.645017],[102.262385,32.644762],[102.262455,32.644508],[102.262542,32.644276],[102.262629,32.644045],[102.262717,32.643813],[102.262804,32.643582],[102.263076,32.643257],[102.263347,32.642931],[102.263619,32.642606],[102.263926,32.642291],[102.264233,32.641976],[102.26447,32.641733],[102.26454,32.641661],[102.2647,32.641484],[102.264859,32.641307],[102.265019,32.64113],[102.265179,32.640952],[102.265338,32.640775],[102.265498,32.640598],[102.265542,32.640501],[102.265594,32.640386],[102.26569,32.640174],[102.265786,32.639962],[102.265881,32.63975],[102.265977,32.639538],[102.266073,32.639326],[102.266169,32.639114],[102.266265,32.638902],[102.266267,32.638842],[102.266302,32.638571],[102.266336,32.638301],[102.266371,32.638031],[102.266406,32.63776],[102.266485,32.637506],[102.266565,32.637251],[102.266788,32.636956],[102.266974,32.636689],[102.267087,32.63651],[102.267252,32.636348],[102.267417,32.636185],[102.267532,32.635948],[102.267683,32.635649],[102.267797,32.635441],[102.267879,32.635082],[102.267873,32.634841],[102.267867,32.634599],[102.267861,32.634358],[102.267855,32.634117],[102.267849,32.633876],[102.267846,32.633787],[102.267842,32.633635],[102.267836,32.633394],[102.26783,32.633153],[102.267787,32.632919],[102.267743,32.632685],[102.267699,32.632451],[102.267656,32.632217],[102.267612,32.631983],[102.267568,32.63175],[102.267525,32.631516],[102.267481,32.631282],[102.267437,32.631048],[102.267394,32.630814],[102.26735,32.63058],[102.267306,32.630346],[102.267236,32.630082],[102.267166,32.629819],[102.267095,32.629555],[102.267025,32.629292],[102.266955,32.629028],[102.266884,32.628764],[102.266814,32.628501],[102.266744,32.628237],[102.266673,32.627974],[102.266603,32.62771],[102.266504,32.627479],[102.266406,32.627248],[102.266307,32.627017],[102.266208,32.626786],[102.266109,32.626555],[102.266011,32.626324],[102.265912,32.626092],[102.265813,32.625861],[102.265715,32.62563],[102.265616,32.625399],[102.26548,32.625119],[102.26536,32.624869],[102.265239,32.62462],[102.265119,32.624371],[102.264998,32.624122],[102.264878,32.623873],[102.264757,32.623624],[102.264637,32.623375],[102.264516,32.623126],[102.264415,32.622702],[102.264411,32.6225],[102.264407,32.622298],[102.264416,32.622023],[102.264455,32.621787],[102.264495,32.62155],[102.264534,32.621314],[102.264574,32.621078],[102.264613,32.620841],[102.264653,32.620605],[102.264722,32.620354],[102.264792,32.620103],[102.264862,32.619851],[102.264932,32.6196],[102.265002,32.619349],[102.265072,32.619098],[102.265142,32.618847],[102.265212,32.618596],[102.265291,32.618346],[102.26537,32.618097],[102.265449,32.61785],[102.26545,32.617848],[102.265529,32.617599],[102.265599,32.617382],[102.265609,32.61735],[102.265688,32.617101],[102.265768,32.616852],[102.265847,32.616603],[102.265927,32.616353],[102.265969,32.616219],[102.266006,32.616104],[102.266065,32.61592],[102.266086,32.615855],[102.266165,32.615606],[102.266225,32.615369],[102.266285,32.615132],[102.266345,32.614895],[102.266405,32.614658],[102.266413,32.614375],[102.266422,32.614092],[102.266449,32.613882],[102.266515,32.613725],[102.26657,32.613593],[102.26671,32.61341],[102.266851,32.613227],[102.267085,32.612876],[102.267319,32.612525],[102.267553,32.612175],[102.267591,32.61211],[102.267694,32.611935],[102.267817,32.611663],[102.267844,32.611388],[102.267858,32.610968],[102.267849,32.610612],[102.267839,32.610256],[102.267782,32.610022],[102.267725,32.609788],[102.267668,32.609554],[102.267611,32.609321],[102.267554,32.609087],[102.267497,32.608853],[102.26744,32.608619],[102.267383,32.608385],[102.267347,32.608239],[102.267341,32.608213],[102.267326,32.608151],[102.267269,32.607917],[102.26721,32.607683],[102.267176,32.607548],[102.267151,32.607448],[102.267092,32.607214],[102.267078,32.607156],[102.267068,32.607116],[102.267051,32.607047],[102.267034,32.606979],[102.266876,32.60665],[102.266719,32.606321],[102.26651,32.605944],[102.266282,32.605558],[102.266053,32.605171],[102.265759,32.604878],[102.265747,32.604865],[102.26544,32.604559],[102.265134,32.604253],[102.264827,32.603947],[102.264652,32.603784],[102.264478,32.60362],[102.264303,32.603457],[102.264129,32.603294],[102.263954,32.603131],[102.263779,32.602968],[102.263605,32.602805],[102.26343,32.602642],[102.263256,32.602479],[102.263081,32.602316],[102.262907,32.602152],[102.262732,32.601989],[102.262557,32.601826],[102.262383,32.601663],[102.262203,32.601518],[102.262105,32.601439],[102.262024,32.601374],[102.261845,32.601229],[102.261665,32.601084],[102.261486,32.60094],[102.261447,32.600908],[102.261413,32.600881],[102.261306,32.600795],[102.261127,32.60065],[102.260948,32.600505],[102.260768,32.600361],[102.260589,32.600216],[102.260433,32.600037],[102.260277,32.599859],[102.260122,32.59968],[102.259966,32.599501],[102.25981,32.599323],[102.259654,32.599144],[102.259499,32.598965],[102.259343,32.598787],[102.259187,32.598608],[102.259031,32.598429],[102.259009,32.598404],[102.258875,32.598251],[102.258869,32.598243],[102.258838,32.598207],[102.25872,32.598072],[102.258552,32.597914],[102.258385,32.597757],[102.258266,32.597552],[102.258147,32.597347],[102.258065,32.596958],[102.258045,32.59669],[102.258027,32.596454],[102.258025,32.596424],[102.258025,32.596423],[102.258026,32.596418],[102.258047,32.596314],[102.25805,32.596301],[102.258054,32.596284],[102.258077,32.596171],[102.25813,32.595918],[102.258182,32.595666],[102.258235,32.595413],[102.258287,32.595161],[102.25834,32.594908],[102.258461,32.59448],[102.258582,32.594051],[102.258704,32.593623],[102.258808,32.593407],[102.258913,32.593191],[102.259017,32.592974],[102.259046,32.592916],[102.259122,32.592758],[102.259226,32.592542],[102.259331,32.592326],[102.259435,32.59211],[102.25954,32.591894],[102.259644,32.591678],[102.259749,32.591462],[102.259894,32.591109],[102.259904,32.59109],[102.260057,32.590806],[102.260157,32.590662],[102.260317,32.590424],[102.260466,32.590248],[102.260615,32.590073],[102.260775,32.589866],[102.260993,32.589596],[102.261173,32.589373],[102.261314,32.589134],[102.261458,32.588829],[102.261544,32.588507],[102.261591,32.5882],[102.261618,32.587934],[102.261646,32.587667],[102.261674,32.587401],[102.261702,32.587135],[102.261665,32.586895],[102.261629,32.586656],[102.261593,32.586417],[102.261557,32.586177],[102.261478,32.585957],[102.261398,32.585737],[102.261319,32.585517],[102.261239,32.585297],[102.261117,32.584922],[102.261069,32.584613],[102.261078,32.58429],[102.261106,32.583999],[102.261134,32.583773],[102.261137,32.583643],[102.261177,32.583451],[102.261181,32.583434],[102.261225,32.58329],[102.261305,32.58313],[102.261506,32.582827],[102.261648,32.582571],[102.261828,32.582316],[102.261969,32.582076],[102.262076,32.581739],[102.262165,32.581336],[102.262254,32.580934],[102.262343,32.580532],[102.26239,32.580089],[102.262438,32.579647],[102.262486,32.579205],[102.262534,32.578762],[102.262581,32.57832],[102.262596,32.578248],[102.262631,32.578083],[102.26268,32.577847],[102.26273,32.57761],[102.26278,32.577374],[102.262829,32.577137],[102.262879,32.5769],[102.262928,32.576664],[102.262978,32.576427],[102.263027,32.57619],[102.263077,32.575954],[102.263101,32.575825],[102.263176,32.575543],[102.263252,32.575262],[102.263436,32.574876],[102.263637,32.574565],[102.263838,32.574254],[102.264017,32.574016],[102.264361,32.57374],[102.264704,32.573464],[102.264939,32.573316],[102.265173,32.573167],[102.265407,32.573018],[102.265641,32.572869],[102.265875,32.572721],[102.26611,32.572572],[102.266339,32.572427],[102.266568,32.572283],[102.266797,32.572138],[102.267026,32.571993],[102.267255,32.571848],[102.267484,32.571703],[102.267693,32.571619],[102.267901,32.571534],[102.268109,32.57145],[102.268318,32.571365],[102.26865,32.571178],[102.26894,32.571039],[102.269163,32.570939],[102.269387,32.570838],[102.269621,32.57069],[102.269855,32.570541],[102.270089,32.570393],[102.270323,32.570245],[102.270501,32.570083],[102.270678,32.569921],[102.270855,32.569759],[102.271033,32.569597],[102.27121,32.569435],[102.271388,32.569273],[102.271565,32.569111],[102.271743,32.568948],[102.271928,32.568801],[102.272112,32.568653],[102.272297,32.568506],[102.272482,32.568358],[102.272666,32.56821],[102.272851,32.568063],[102.273036,32.567915],[102.273221,32.567768],[102.273431,32.567594],[102.273642,32.567421],[102.273853,32.567247],[102.274064,32.567074],[102.274226,32.566904],[102.274388,32.566735],[102.274551,32.566565],[102.274713,32.566395],[102.274875,32.566226],[102.275037,32.566056],[102.275199,32.565886],[102.275362,32.565716],[102.275524,32.565547],[102.275686,32.565377],[102.275851,32.565215],[102.276016,32.565052],[102.276181,32.56489],[102.276346,32.564728],[102.276511,32.564565],[102.276676,32.564403],[102.276842,32.564241],[102.277007,32.564078],[102.277216,32.563916],[102.277425,32.563753],[102.277634,32.56359],[102.277843,32.563427],[102.278052,32.563264],[102.278261,32.563102],[102.278454,32.562973],[102.278647,32.562845],[102.278839,32.562717],[102.279032,32.562589],[102.279225,32.562461],[102.279417,32.562333],[102.279681,32.562161],[102.279944,32.561989],[102.280204,32.561622],[102.280326,32.561398],[102.280469,32.561125],[102.280572,32.560853],[102.280638,32.560564],[102.280704,32.560306],[102.280732,32.559967],[102.280743,32.559626],[102.280735,32.559354],[102.280734,32.559302],[102.28066,32.559042],[102.280587,32.558782],[102.280513,32.558521],[102.28044,32.558261],[102.280329,32.558042],[102.280317,32.558018],[102.280218,32.557823],[102.280107,32.557604],[102.279996,32.557385],[102.279885,32.557166],[102.279774,32.556947],[102.279663,32.556729],[102.279553,32.55651],[102.279485,32.556233],[102.279419,32.555891],[102.279425,32.555666],[102.279491,32.555408],[102.279593,32.555151],[102.279795,32.554799],[102.279918,32.554559],[102.28004,32.554383],[102.280276,32.554146],[102.280501,32.554005],[102.280726,32.553863],[102.280951,32.553722],[102.281177,32.55358],[102.281402,32.553439],[102.281627,32.553297],[102.281853,32.553156],[102.282078,32.553014],[102.282303,32.552873],[102.282528,32.552731],[102.282754,32.55259],[102.282979,32.552448],[102.283204,32.552307],[102.283348,32.552217],[102.28343,32.552165],[102.283677,32.552057],[102.283839,32.551986],[102.283924,32.551949],[102.283953,32.551937],[102.284171,32.551841],[102.284418,32.551733],[102.284666,32.551625],[102.284913,32.551517],[102.28516,32.55141],[102.285407,32.551302],[102.285756,32.551163],[102.286105,32.551025],[102.286453,32.550887],[102.286742,32.550829],[102.28703,32.55077],[102.287376,32.550753],[102.287721,32.550736],[102.287962,32.550693],[102.288203,32.550649],[102.2884,32.550609],[102.288978,32.55096],[102.289086,32.551026],[102.289096,32.551032],[102.289111,32.551039],[102.289115,32.551044],[102.289186,32.551087],[102.290274,32.551748],[102.292411,32.552783],[102.292504,32.552828],[102.29276,32.552991],[102.293699,32.553591],[102.294988,32.554134],[102.296448,32.554755],[102.298365,32.554649],[102.300189,32.554762],[102.301324,32.554639],[102.302104,32.554729],[102.302954,32.555411],[102.304401,32.556473],[102.306281,32.557619],[102.307993,32.55854],[102.309784,32.559757],[102.310799,32.560737],[102.312079,32.561575],[102.314074,32.561765],[102.31669,32.5616],[102.318094,32.561187],[102.319668,32.560926],[102.321407,32.560963],[102.322418,32.560466],[102.322485,32.560433],[102.322555,32.560398],[102.322969,32.560219],[102.323031,32.560192],[102.323525,32.559977],[102.323552,32.559976],[102.323697,32.559917],[102.323706,32.559915],[102.32385,32.559884],[102.323856,32.559882],[102.324016,32.559867],[102.32406,32.559863],[102.324067,32.559862],[102.324288,32.559863],[102.324574,32.559872],[102.324613,32.559874],[102.324932,32.559491],[102.325323,32.558026],[102.326171,32.555833],[102.326524,32.555242],[102.32676,32.554848],[102.326793,32.554865],[102.326831,32.554874],[102.326996,32.554451],[102.327033,32.554427],[102.327067,32.554405],[102.328045,32.553776],[102.328214,32.553667],[102.32853,32.553583],[102.328755,32.553524],[102.328977,32.553487],[102.329052,32.553474],[102.329113,32.553464],[102.33093,32.553798],[102.331867,32.553762],[102.332677,32.55284],[102.333546,32.55214],[102.334344,32.551659],[102.336023,32.552248],[102.33634,32.552322],[102.336358,32.552326],[102.336378,32.552331],[102.336436,32.552345],[102.33656,32.552374],[102.336584,32.552379],[102.336695,32.552405],[102.336849,32.552441],[102.337578,32.552612],[102.337747,32.552734],[102.338165,32.553037],[102.338258,32.553062],[102.338364,32.553181],[102.338472,32.553259],[102.33851,32.553287],[102.3386,32.553352],[102.33868,32.553364],[102.340021,32.553555],[102.34042,32.553612],[102.340496,32.553624],[102.340656,32.553649],[102.340686,32.553653],[102.340766,32.553666],[102.341371,32.55376],[102.343833,32.554143],[102.344319,32.554218],[102.345357,32.55438],[102.345758,32.554485],[102.345826,32.554502],[102.345829,32.554503],[102.34583,32.554504],[102.345877,32.554516],[102.346591,32.554702],[102.346649,32.554718],[102.346683,32.554727],[102.346714,32.554735],[102.346736,32.55474],[102.346762,32.554785],[102.346801,32.554847],[102.34683,32.554943],[102.346816,32.55505],[102.349894,32.555709],[102.349823,32.555859],[102.349919,32.55586],[102.349923,32.55586],[102.349925,32.555861],[102.349986,32.555876],[102.349987,32.555876],[102.349991,32.555878],[102.349991,32.555878],[102.35,32.555883],[102.349989,32.555919],[102.349878,32.556201],[102.349798,32.556311],[102.349759,32.556404],[102.349703,32.55654],[102.349695,32.556553],[102.349512,32.556771],[102.349418,32.556897],[102.349318,32.557032],[102.349231,32.55715],[102.349142,32.557271],[102.349038,32.557411],[102.348932,32.557554],[102.348847,32.55767],[102.348749,32.557802],[102.348666,32.557914],[102.348583,32.558026],[102.348522,32.558109],[102.348425,32.558238],[102.348367,32.558314],[102.346041,32.561381],[102.346003,32.56141],[102.345821,32.561634],[102.345548,32.561984],[102.345343,32.562247],[102.345385,32.562283],[102.345399,32.562296],[102.345415,32.56231],[102.345486,32.562374],[102.34583,32.56268],[102.345982,32.56263],[102.34695,32.562316],[102.347883,32.561673],[102.348553,32.561079],[102.349333,32.561206],[102.349438,32.561272],[102.349447,32.561278],[102.349503,32.561313],[102.352248,32.563027],[102.354179,32.563897],[102.3566,32.564735],[102.358537,32.565397],[102.360432,32.565851],[102.361909,32.565818],[102.362341,32.565808],[102.363617,32.565669],[102.36504,32.565492],[102.366579,32.564737],[102.367625,32.564096],[102.369078,32.562925],[102.36994,32.561866],[102.370662,32.560597],[102.371375,32.559618],[102.371833,32.559007],[102.372095,32.558432],[102.371835,32.557267],[102.371419,32.55643],[102.37106,32.555345],[102.371336,32.554274],[102.371367,32.553198],[102.371143,32.552489],[102.371114,32.551825],[102.371133,32.551163],[102.370768,32.550244],[102.370621,32.548584],[102.370863,32.547015],[102.371485,32.545785],[102.371856,32.544799],[102.37271,32.54403],[102.373359,32.543588],[102.374689,32.543243],[102.37572,32.542705],[102.374962,32.542285],[102.373745,32.541235],[102.373035,32.540443],[102.372261,32.539308],[102.371856,32.538088],[102.371844,32.537249],[102.372117,32.536696],[102.372542,32.535959],[102.373334,32.535199],[102.37504,32.534551],[102.376016,32.533795],[102.376584,32.533185],[102.377136,32.531861],[102.377549,32.530254],[102.377631,32.528702],[102.377972,32.527063],[102.377871,32.525476],[102.377822,32.524668],[102.378211,32.523868],[102.379417,32.522775],[102.380539,32.522021],[102.381558,32.521017],[102.382207,32.52013],[102.382852,32.519367],[102.383332,32.51801],[102.383771,32.516776],[102.383657,32.515655],[102.383724,32.5146],[102.383698,32.512953],[102.383621,32.511833],[102.383438,32.510556],[102.383064,32.509554],[102.382738,32.508149],[102.382615,32.507307],[102.383365,32.506733],[102.385074,32.50596],[102.38572,32.505197],[102.387068,32.5042],[102.388941,32.502841],[102.390805,32.501761],[102.39145,32.500998],[102.392357,32.500053],[102.39345,32.49902],[102.394946,32.49672],[102.395597,32.495771],[102.396198,32.495255],[102.39755,32.494134],[102.398591,32.493627],[102.39955,32.493429],[102.401838,32.492886],[102.403426,32.492484],[102.404943,32.492018],[102.406641,32.491587],[102.408235,32.490968],[102.409793,32.490316],[102.410346,32.490203],[102.4104,32.490262],[102.411555,32.491533],[102.412076,32.492538],[102.412626,32.493823],[102.413291,32.494893],[102.414039,32.495654],[102.414671,32.49663],[102.415415,32.497547],[102.416129,32.498214],[102.41708,32.498295],[102.417991,32.498501],[102.418382,32.498912],[102.419134,32.499549],[102.419839,32.500527],[102.420953,32.501327],[102.421837,32.502463],[102.422733,32.503165],[102.423334,32.503954],[102.423749,32.504832],[102.424621,32.506404],[102.425108,32.507315],[102.425522,32.508224],[102.425981,32.508855],[102.426506,32.509704],[102.426945,32.509744],[102.427608,32.509634],[102.428243,32.509243],[102.429025,32.508824],[102.429867,32.508841],[102.430677,32.508733],[102.431598,32.508597],[102.432183,32.50864],[102.432931,32.509401],[102.43312,32.509575],[102.433824,32.510227],[102.433868,32.510285],[102.434672,32.511362],[102.435728,32.512906],[102.436284,32.514005],[102.436475,32.515003],[102.43655,32.516247],[102.436476,32.51755],[102.436642,32.518175],[102.437275,32.51912],[102.438334,32.520571],[102.438827,32.521264],[102.439554,32.522802],[102.440397,32.524124],[102.441493,32.525544],[102.44224,32.526367],[102.443353,32.528502],[102.443733,32.529318],[102.444486,32.529924],[102.445242,32.530436],[102.445887,32.530977],[102.446146,32.532194],[102.446018,32.534118],[102.445949,32.535266],[102.445777,32.536164],[102.445894,32.537191],[102.446332,32.538567],[102.446959,32.53973],[102.448003,32.541739],[102.448533,32.542433],[102.448991,32.543126],[102.449447,32.54385],[102.449856,32.544946],[102.450201,32.54573],[102.451184,32.547272],[102.451482,32.547123],[102.452302,32.546642],[102.453052,32.546067],[102.454127,32.545685],[102.455121,32.54555],[102.456446,32.54539],[102.457791,32.545821],[102.458958,32.546062],[102.459078,32.546094],[102.460086,32.546365],[102.463179,32.547266],[102.4643,32.547848],[102.46605,32.548225],[102.467287,32.548592],[102.468744,32.548963],[102.470299,32.54974],[102.471013,32.550438],[102.472159,32.551424],[102.473065,32.551846],[102.47367,32.55248],[102.474416,32.553365],[102.475829,32.553983],[102.476735,32.554374],[102.477734,32.554084],[102.478815,32.553484],[102.479813,32.553193],[102.480878,32.553153],[102.481977,32.553206],[102.483219,32.553417],[102.484481,32.554188],[102.485368,32.555262],[102.486081,32.555991],[102.487423,32.556546],[102.489647,32.557056],[102.491842,32.557256],[102.492686,32.557272],[102.494116,32.557301],[102.495354,32.557636],[102.496292,32.558183],[102.496792,32.55869],[102.497559,32.558799],[102.49861,32.559286],[102.499293,32.559765],[102.500186,32.560653],[102.500606,32.561157],[102.501691,32.561911],[102.502444,32.562496],[102.503587,32.562885],[102.504697,32.562744],[102.506481,32.562576],[102.507486,32.562718],[102.50877,32.563232],[102.510436,32.563876],[102.511419,32.564832],[102.512154,32.566068],[102.512405,32.566541],[102.512657,32.567015],[102.51295,32.567733],[102.513242,32.568451],[102.514165,32.571605],[102.514792,32.573286],[102.515348,32.57403],[102.515912,32.57453],[102.516473,32.574236],[102.517034,32.573942],[102.517669,32.573588],[102.518304,32.573234],[102.519256,32.572703],[102.520208,32.572172],[102.521015,32.571679],[102.521822,32.571186],[102.522416,32.570587],[102.523355,32.569669],[102.5254,32.568732],[102.526094,32.569723],[102.526843,32.570471],[102.527781,32.571344],[102.529045,32.572591],[102.530168,32.573712],[102.530854,32.574988],[102.531133,32.575374],[102.531688,32.576144],[102.532809,32.577347],[102.534077,32.578471],[102.535204,32.579471],[102.536107,32.579855],[102.537194,32.580568],[102.539476,32.581509],[102.540609,32.582305],[102.541491,32.583462],[102.541791,32.583844],[102.54218,32.584338],[102.542467,32.584703],[102.543554,32.585416],[102.544673,32.5867],[102.54536,32.587976],[102.545678,32.588996],[102.545921,32.590114],[102.545948,32.591135],[102.546462,32.592397],[102.54731,32.593434],[102.548332,32.59415],[102.549407,32.594913],[102.549878,32.595711],[102.550069,32.596782],[102.550293,32.598595],[102.550447,32.59897],[102.550905,32.600277],[102.551303,32.60177],[102.551884,32.60257],[102.552908,32.603193],[102.554367,32.603963],[102.555829,32.604595],[102.556955,32.605545],[102.557915,32.606495],[102.557927,32.607061],[102.557933,32.607364],[102.557939,32.607651],[102.559003,32.608832],[102.559016,32.609776],[102.559021,32.610177],[102.559138,32.611041],[102.559204,32.611526],[102.55848,32.612442],[102.558409,32.612531],[102.557392,32.613671],[102.556752,32.615004],[102.556441,32.61639],[102.555649,32.617302],[102.554907,32.618354],[102.554006,32.619265],[102.552711,32.620455],[102.552375,32.620764],[102.550863,32.62194],[102.550262,32.621882],[102.548618,32.62185],[102.546576,32.622367],[102.544679,32.623582],[102.543939,32.624588],[102.542642,32.625908],[102.540786,32.627635],[102.539552,32.628631],[102.537873,32.629897],[102.536416,32.631074],[102.535564,32.632125],[102.534097,32.633673],[102.53276,32.634435],[102.530926,32.635327],[102.529309,32.636316],[102.52798,32.6368],[102.527296,32.63776],[102.526438,32.639042],[102.525754,32.640003],[102.524899,32.641192],[102.523992,32.642241],[102.523307,32.643248],[102.521664,32.645164],[102.520916,32.646448],[102.520448,32.647506],[102.52031,32.648524],[102.520001,32.64977],[102.519915,32.650928],[102.519496,32.652172],[102.519503,32.653935],[102.519855,32.655056],[102.51988,32.65512],[102.520021,32.655484],[102.520043,32.65554],[102.52047,32.656645],[102.520796,32.658739],[102.521132,32.660462],[102.521262,32.661717],[102.521115,32.663059],[102.521091,32.66394],[102.521381,32.665338],[102.521565,32.66664],[102.522027,32.667118],[102.522782,32.668224],[102.523542,32.669141],[102.524245,32.670104],[102.52453,32.670541],[102.524742,32.670868],[102.525214,32.671594],[102.525301,32.672498],[102.525806,32.674549],[102.525959,32.675027],[102.526549,32.676878],[102.526578,32.676968],[102.526736,32.677462],[102.527029,32.678396],[102.5272,32.678942],[102.527282,32.679131],[102.527495,32.679618],[102.527779,32.68027],[102.527947,32.680656],[102.528097,32.681001],[102.52822,32.681302],[102.528275,32.681436],[102.528298,32.681492],[102.528939,32.683058],[102.529464,32.68435],[102.529523,32.684686],[102.529572,32.684969],[102.529755,32.686017],[102.52993,32.687429],[102.529948,32.68758],[102.529975,32.687791],[102.529975,32.687791],[102.529985,32.687872],[102.530726,32.689501],[102.530923,32.689729],[102.531977,32.690949],[102.533055,32.69229],[102.533356,32.692665],[102.533876,32.693312],[102.534739,32.69445],[102.535047,32.694857],[102.535447,32.695384],[102.535735,32.696639],[102.535783,32.696847],[102.535798,32.696909],[102.536601,32.698301],[102.535597,32.698092],[102.534147,32.697731],[102.531396,32.697772],[102.53041,32.697799],[102.529879,32.697813],[102.528949,32.697838],[102.527351,32.697882],[102.526799,32.697831],[102.526433,32.697797],[102.525392,32.697701],[102.523367,32.697851],[102.523164,32.697857],[102.523039,32.697861],[102.519425,32.697971],[102.518648,32.697995],[102.518122,32.698068],[102.517859,32.698104],[102.517796,32.698112],[102.517796,32.698113],[102.517795,32.698113],[102.517768,32.698116],[102.517738,32.698121],[102.517212,32.698193],[102.517204,32.698194],[102.517151,32.698202],[102.517149,32.698202],[102.51627,32.698323],[102.516141,32.698341],[102.515943,32.698368],[102.515786,32.698361],[102.515777,32.69836],[102.515754,32.698359],[102.515608,32.698352],[102.515484,32.698346],[102.515438,32.698344],[102.515414,32.698343],[102.514305,32.69829],[102.514262,32.698288],[102.513131,32.69821],[102.512285,32.698152],[102.511348,32.698088],[102.511166,32.698065],[102.509502,32.697861],[102.509215,32.697769],[102.507934,32.69736],[102.507444,32.697203],[102.506688,32.696966],[102.50583,32.696696],[102.505234,32.696437],[102.503889,32.695851],[102.500492,32.69406],[102.500386,32.693993],[102.500211,32.693882],[102.499525,32.693627],[102.499003,32.69334],[102.497618,32.693278],[102.497331,32.693371],[102.496712,32.693571],[102.496321,32.69363],[102.495114,32.693815],[102.493923,32.694136],[102.492317,32.694655],[102.491319,32.695325],[102.49061,32.695897],[102.490429,32.696549],[102.490532,32.698391],[102.49058,32.698415],[102.490842,32.699282],[102.490906,32.699904],[102.491016,32.701804],[102.491064,32.702137],[102.49109,32.702322],[102.491104,32.702415],[102.491175,32.702907],[102.491183,32.702962],[102.491255,32.703464],[102.491399,32.704139],[102.491543,32.704815],[102.491631,32.705317],[102.491719,32.705819],[102.492025,32.706549],[102.492331,32.707279],[102.492622,32.707803],[102.492914,32.708326],[102.493385,32.708991],[102.493856,32.709655],[102.494348,32.710286],[102.49484,32.710917],[102.495136,32.711285],[102.495432,32.711653],[102.495767,32.712073],[102.496102,32.712494],[102.496531,32.71321],[102.496959,32.713925],[102.49707,32.714359],[102.49718,32.714792],[102.497412,32.715245],[102.497644,32.715698],[102.497995,32.716291],[102.498345,32.716885],[102.498375,32.717282],[102.498405,32.717679],[102.498409,32.718248],[102.498414,32.718818],[102.498422,32.719266],[102.49843,32.719715],[102.498577,32.720269],[102.498725,32.720824],[102.498832,32.721361],[102.49894,32.721898],[102.499112,32.722315],[102.499284,32.722732],[102.499438,32.723063],[102.499592,32.723394],[102.499828,32.723692],[102.500065,32.72399],[102.500346,32.724151],[102.500627,32.724311],[102.50109,32.725033],[102.501553,32.725754],[102.501973,32.72643],[102.502393,32.727106],[102.502505,32.727813],[102.502617,32.728519],[102.502643,32.72915],[102.502669,32.729781],[102.502666,32.729885],[102.502664,32.729988],[102.502662,32.730055],[102.502637,32.730957],[102.502601,32.732227],[102.502609,32.732461],[102.502644,32.733493],[102.502649,32.733637],[102.5027,32.733757],[102.502777,32.733942],[102.503308,32.735207],[102.503789,32.737993],[102.503744,32.739619],[102.503859,32.740319],[102.50403,32.741365],[102.504039,32.741419],[102.504047,32.741937],[102.504051,32.742242],[102.504056,32.742587],[102.504698,32.744352],[102.505915,32.746712],[102.50593,32.746729],[102.507251,32.748257],[102.507493,32.748537],[102.507648,32.748691],[102.507986,32.749029],[102.508823,32.749863],[102.50903,32.750069],[102.510096,32.7508],[102.510977,32.751402],[102.513051,32.752819],[102.515087,32.754152],[102.516244,32.755135],[102.516861,32.756023],[102.517078,32.757112],[102.517079,32.758864],[102.516983,32.76053],[102.517102,32.761576],[102.517273,32.762538],[102.517578,32.764004],[102.516656,32.765196],[102.515981,32.766392],[102.515761,32.76718],[102.515443,32.767967],[102.514966,32.769167],[102.514105,32.771694],[102.513882,32.772608],[102.513609,32.773562],[102.513343,32.774527],[102.51306,32.775553],[102.512259,32.77764],[102.512186,32.777831],[102.512155,32.777913],[102.511574,32.779277],[102.510617,32.78036],[102.510271,32.780752],[102.510266,32.780757],[102.510201,32.78083],[102.510197,32.780835],[102.510189,32.780844],[102.510189,32.780845],[102.510189,32.780845],[102.510189,32.780845],[102.510178,32.780858],[102.510073,32.780984],[102.510024,32.781043],[102.510009,32.781062],[102.510009,32.781062],[102.510009,32.781062],[102.509912,32.781178],[102.50989,32.781205],[102.509817,32.781214],[102.509771,32.78122],[102.509279,32.781286],[102.5088,32.78135],[102.508286,32.781517],[102.508275,32.78152],[102.508199,32.781545],[102.508198,32.781545],[102.508188,32.781549],[102.507953,32.781625],[102.507932,32.781638],[102.507897,32.781662],[102.507803,32.781723],[102.507766,32.781748],[102.5074,32.781989],[102.507134,32.782651],[102.507301,32.783739],[102.508457,32.784805],[102.51011,32.785714],[102.510517,32.786236],[102.510549,32.786278],[102.510969,32.786816],[102.510992,32.787734],[102.510518,32.788809],[102.510266,32.789151],[102.509851,32.789713],[102.50972,32.789768],[102.509469,32.789874],[102.509383,32.789911],[102.509337,32.78993],[102.509164,32.790003],[102.509001,32.790072],[102.508743,32.79008],[102.50869,32.790082],[102.508606,32.790085],[102.508393,32.790092],[102.50821,32.790098],[102.508191,32.79008],[102.507873,32.789799],[102.507965,32.789429],[102.508047,32.789097],[102.508079,32.78897],[102.50812,32.788804],[102.508151,32.788678],[102.508389,32.788239],[102.508444,32.788136],[102.50862,32.787812],[102.508552,32.787428],[102.508526,32.787282],[102.508449,32.786849],[102.507623,32.786374],[102.506392,32.786224],[102.50592,32.786141],[102.505311,32.786035],[102.504282,32.785765],[102.504006,32.78575],[102.503785,32.785738],[102.503049,32.785698],[102.501936,32.786064],[102.501923,32.786069],[102.501884,32.786081],[102.501853,32.786092],[102.501849,32.786096],[102.501844,32.7861],[102.501785,32.786155],[102.501756,32.786183],[102.5015,32.786423],[102.50146,32.786461],[102.501361,32.786554],[102.501244,32.786663],[102.501171,32.786828],[102.500958,32.787305],[102.500876,32.78749],[102.500866,32.78783],[102.50085,32.788408],[102.500847,32.788526],[102.500834,32.788964],[102.500832,32.789058],[102.500825,32.789283],[102.500816,32.789612],[102.500808,32.789908],[102.500871,32.790208],[102.500526,32.790463],[102.499896,32.790929],[102.499671,32.79104],[102.499216,32.791264],[102.499195,32.791265],[102.498545,32.791294],[102.497803,32.791083],[102.497119,32.790656],[102.496484,32.790294],[102.496227,32.790781],[102.496206,32.790821],[102.496141,32.790943],[102.495977,32.791253],[102.495958,32.79129],[102.495957,32.791291],[102.495942,32.79132],[102.495743,32.791696],[102.495741,32.791699],[102.495701,32.791776],[102.495681,32.791814],[102.495664,32.791847],[102.495631,32.791908],[102.495601,32.791966],[102.495368,32.792407],[102.495357,32.79243],[102.495353,32.792439],[102.495339,32.792471],[102.495326,32.792499],[102.495311,32.792533],[102.495295,32.792567],[102.494921,32.793398],[102.494913,32.793415],[102.4949,32.793443],[102.494882,32.793483],[102.494849,32.793556],[102.494832,32.793593],[102.492391,32.799006],[102.492233,32.799358],[102.49192,32.800476],[102.491908,32.80052],[102.491803,32.800895],[102.491777,32.801788],[102.492419,32.802825],[102.493538,32.804306],[102.493553,32.80433],[102.494254,32.805432],[102.495026,32.80679],[102.495057,32.806843],[102.495058,32.806845],[102.495059,32.806847],[102.495091,32.806903],[102.495094,32.806909],[102.495557,32.807723],[102.496219,32.808956],[102.497089,32.810106],[102.497608,32.810922],[102.498223,32.81198],[102.498437,32.812638],[102.498573,32.813294],[102.498883,32.814215],[102.499278,32.814855],[102.49959,32.815689],[102.499831,32.816281],[102.500433,32.816903],[102.500655,32.817166],[102.501321,32.817952],[102.501299,32.818746],[102.501091,32.819456],[102.500798,32.819848],[102.500413,32.820158],[102.500339,32.820256],[102.500151,32.820513],[102.49959,32.821199],[102.498942,32.82221],[102.498588,32.8229],[102.498463,32.82366],[102.498227,32.824722],[102.498076,32.825525],[102.4977,32.82604],[102.497083,32.826899],[102.495954,32.829005],[102.495721,32.829684],[102.495588,32.830294],[102.495507,32.830836],[102.495287,32.832198],[102.495258,32.833215],[102.495307,32.834429],[102.495517,32.835172],[102.495487,32.835659],[102.49553,32.836469],[102.495488,32.836897],[102.495484,32.836942],[102.495393,32.837247],[102.495116,32.837687],[102.494919,32.838241],[102.49473,32.839101],[102.494596,32.839754],[102.494555,32.840302],[102.494771,32.840636],[102.495224,32.841623],[102.495537,32.842264],[102.495721,32.842674],[102.496027,32.843048],[102.496249,32.843674],[102.496327,32.84412],[102.496437,32.84449],[102.496502,32.84486],[102.496385,32.845276],[102.495856,32.8459],[102.494546,32.847029],[102.49356,32.847885],[102.492679,32.848706],[102.491861,32.849463],[102.490759,32.850338],[102.490281,32.850567],[102.489742,32.850826],[102.48862,32.851531],[102.487537,32.852254],[102.486855,32.85272],[102.486127,32.852953],[102.485238,32.853184],[102.484649,32.853194],[102.484003,32.853362],[102.483244,32.85373],[102.481971,32.854314],[102.481052,32.854679],[102.480214,32.854978],[102.479001,32.855337],[102.478111,32.85559],[102.477274,32.855889],[102.476142,32.856205],[102.475173,32.856433],[102.474545,32.856895],[102.474161,32.857282],[102.473931,32.857514],[102.473231,32.858282],[102.47278,32.859116],[102.472702,32.859232],[102.472222,32.859947],[102.471984,32.860785],[102.471528,32.861768],[102.470434,32.863912],[102.469976,32.864956],[102.469819,32.865465],[102.469365,32.866388],[102.469019,32.867284],[102.468038,32.869159],[102.467217,32.870467],[102.466829,32.871572],[102.466809,32.872264],[102.466789,32.872955],[102.466629,32.873584],[102.466434,32.874182],[102.465427,32.875726],[102.464908,32.876407],[102.464274,32.877387],[102.463539,32.878155],[102.463198,32.87887],[102.463072,32.879529],[102.463009,32.880491],[102.463611,32.881887],[102.463871,32.882795],[102.46356,32.883691],[102.463218,32.884437],[102.463022,32.885034],[102.462597,32.886199],[102.462401,32.886827],[102.462111,32.886972],[102.461397,32.887017],[102.460608,32.887152],[102.460165,32.887684],[102.459612,32.888305],[102.459053,32.889166],[102.458239,32.890203],[102.45739,32.891208],[102.45657,32.892425],[102.456305,32.892992],[102.456412,32.894227],[102.456252,32.89609],[102.456064,32.89765],[102.456207,32.898887],[102.456001,32.902145],[102.456122,32.903515],[102.456031,32.904303],[102.455844,32.905262],[102.455799,32.905636],[102.455754,32.906011],[102.45571,32.906751],[102.455666,32.907492],[102.455584,32.907943],[102.455503,32.908393],[102.455421,32.908864],[102.455339,32.909334],[102.45526,32.909717],[102.45518,32.910101],[102.45526,32.910487],[102.455341,32.910874],[102.455408,32.911299],[102.455476,32.911724],[102.455475,32.912157],[102.455474,32.912591],[102.455472,32.913062],[102.45547,32.913534],[102.45562,32.913855],[102.455771,32.914176],[102.455876,32.914515],[102.45598,32.914854],[102.456185,32.915263],[102.45639,32.915671],[102.45673,32.916159],[102.45707,32.916648],[102.457233,32.916949],[102.457395,32.917251],[102.457431,32.917608],[102.457466,32.917965],[102.45745,32.918523],[102.457434,32.919081],[102.457412,32.919221],[102.457389,32.919361],[102.457323,32.919772],[102.45741,32.921526],[102.457363,32.922373],[102.457186,32.922966],[102.456974,32.923193],[102.456693,32.923437],[102.455973,32.923866],[102.455301,32.924218],[102.454694,32.924668],[102.454021,32.925039],[102.453259,32.925351],[102.452633,32.925685],[102.452324,32.926121],[102.451945,32.926576],[102.451478,32.926932],[102.45119,32.927446],[102.450741,32.927976],[102.450068,32.928328],[102.449606,32.928531],[102.449481,32.928894],[102.449331,32.929353],[102.449001,32.929712],[102.448442,32.930105],[102.447794,32.930381],[102.446633,32.931069],[102.445596,32.931414],[102.444741,32.931762],[102.444338,32.932255],[102.444121,32.932655],[102.44351,32.933259],[102.442815,32.934419],[102.44229,32.935178],[102.441734,32.935456],[102.440916,32.935324],[102.440455,32.935375],[102.44039,32.935328],[102.440358,32.935305],[102.440217,32.935204],[102.440052,32.935086],[102.440038,32.935076],[102.439918,32.93499],[102.439561,32.934787],[102.439204,32.934584],[102.438942,32.934421],[102.43868,32.934259],[102.438465,32.934126],[102.438251,32.933994],[102.438037,32.933861],[102.437822,32.933728],[102.437599,32.933479],[102.437429,32.933329],[102.437258,32.933179],[102.437044,32.93304],[102.43683,32.932901],[102.436558,32.93276],[102.436286,32.93262],[102.435943,32.932442],[102.435726,32.932376],[102.43551,32.932311],[102.435077,32.932253],[102.434716,32.93216],[102.434355,32.932067],[102.434053,32.931963],[102.43375,32.931859],[102.433508,32.931707],[102.433265,32.931555],[102.433041,32.931306],[102.43283,32.931057],[102.432619,32.930808],[102.432462,32.930619],[102.432305,32.93043],[102.432149,32.930241],[102.431992,32.930052],[102.431835,32.929863],[102.431678,32.929675],[102.431521,32.929486],[102.431364,32.929297],[102.431207,32.929108],[102.431051,32.928919],[102.430894,32.92873],[102.430737,32.928541],[102.430619,32.928333],[102.430502,32.928124],[102.430384,32.927915],[102.430266,32.927706],[102.430149,32.927498],[102.430031,32.927289],[102.429913,32.92708],[102.429796,32.926872],[102.429678,32.926663],[102.42956,32.926454],[102.429437,32.926209],[102.429313,32.925965],[102.429189,32.92572],[102.429066,32.925475],[102.428942,32.92523],[102.428818,32.924985],[102.428694,32.92474],[102.428571,32.924496],[102.428447,32.924251],[102.428323,32.924006],[102.428071,32.923683],[102.427759,32.923407],[102.427502,32.923255],[102.427299,32.923251],[102.427067,32.923247],[102.426817,32.923339],[102.426567,32.923432],[102.426287,32.923573],[102.426006,32.923715],[102.425754,32.923893],[102.425502,32.924071],[102.425147,32.924284],[102.424792,32.924497],[102.424585,32.924639],[102.424377,32.924782],[102.42417,32.924924],[102.423962,32.925067],[102.42375,32.92518],[102.423537,32.925293],[102.423324,32.925406],[102.423112,32.925519],[102.422899,32.925632],[102.422687,32.925745],[102.422474,32.925858],[102.422262,32.925971],[102.422049,32.926084],[102.421837,32.926197],[102.421411,32.926335],[102.420986,32.926474],[102.420752,32.926505],[102.420519,32.926537],[102.420113,32.926504],[102.419929,32.926366],[102.419744,32.926227],[102.419559,32.926089],[102.419374,32.925951],[102.419204,32.9258],[102.419034,32.92565],[102.41885,32.925462],[102.418666,32.925274],[102.418415,32.924976],[102.418148,32.924653],[102.41788,32.924329],[102.417716,32.92413],[102.417551,32.923931],[102.417386,32.923731],[102.417221,32.923532],[102.417056,32.923333],[102.416891,32.923134],[102.416726,32.922935],[102.416561,32.922736],[102.416353,32.922576],[102.416145,32.922416],[102.415936,32.922256],[102.415728,32.922097],[102.415519,32.921937],[102.415311,32.921777],[102.415103,32.921617],[102.414894,32.921457],[102.414686,32.921298],[102.414478,32.921138],[102.414269,32.920978],[102.414061,32.920818],[102.413853,32.920659],[102.413644,32.920499],[102.413436,32.920339],[102.413228,32.920179],[102.413044,32.920012],[102.41286,32.919844],[102.412676,32.919676],[102.412491,32.919508],[102.412307,32.91934],[102.412123,32.919173],[102.411939,32.919005],[102.411755,32.918837],[102.411571,32.918669],[102.411387,32.918501],[102.411203,32.918333],[102.411019,32.918166],[102.410835,32.917998],[102.410651,32.91783],[102.410381,32.917617],[102.410111,32.917404],[102.409861,32.917031],[102.409778,32.916788],[102.409727,32.916637],[102.409736,32.916343],[102.409743,32.916099],[102.409777,32.915904],[102.409812,32.915734],[102.41001,32.915548],[102.410208,32.915362],[102.410405,32.915177],[102.410603,32.914991],[102.410801,32.914806],[102.410999,32.91462],[102.411197,32.914434],[102.411395,32.914249],[102.41154,32.914049],[102.411685,32.913849],[102.411831,32.913649],[102.411976,32.913449],[102.412121,32.913249],[102.412267,32.913049],[102.412412,32.912849],[102.412557,32.912649],[102.412703,32.912449],[102.412848,32.912249],[102.413033,32.912072],[102.413217,32.911895],[102.413402,32.911718],[102.413587,32.911541],[102.413772,32.911364],[102.413956,32.911187],[102.414141,32.91101],[102.414326,32.910834],[102.414511,32.910657],[102.414695,32.91048],[102.414918,32.910325],[102.41514,32.910171],[102.415363,32.910016],[102.415585,32.909862],[102.415706,32.909693],[102.415712,32.909547],[102.415688,32.909302],[102.415606,32.909128],[102.415489,32.909012],[102.415352,32.908878],[102.41521,32.908802],[102.414948,32.908772],[102.414612,32.908765],[102.4142,32.908673],[102.413788,32.908581],[102.413376,32.908489],[102.413011,32.908409],[102.412646,32.90833],[102.41228,32.908251],[102.411961,32.908164],[102.411641,32.908076],[102.411321,32.907988],[102.411004,32.907824],[102.410686,32.90766],[102.410463,32.907462],[102.41024,32.907265],[102.410041,32.90703],[102.409846,32.906799],[102.409669,32.906487],[102.409491,32.906176],[102.409163,32.905978],[102.408836,32.905781],[102.408508,32.905583],[102.408319,32.905456],[102.407983,32.905228],[102.407647,32.904999],[102.40731,32.904771],[102.407096,32.904621],[102.406882,32.904471],[102.406528,32.904272],[102.406356,32.90415],[102.40602,32.904051],[102.405783,32.903964],[102.405521,32.903895],[102.405259,32.903826],[102.404959,32.903772],[102.40466,32.903717],[102.404497,32.903718],[102.40416,32.90372],[102.403822,32.903722],[102.403405,32.903725],[102.403184,32.903727],[102.402802,32.90369],[102.40242,32.903654],[102.402037,32.903617],[102.401792,32.903555],[102.401547,32.903493],[102.401347,32.903384],[102.401129,32.903198],[102.400915,32.902969],[102.400734,32.902775],[102.400572,32.902527],[102.40041,32.90228],[102.400232,32.901934],[102.400055,32.901588],[102.399877,32.901242],[102.39981,32.900916],[102.399744,32.90059],[102.399601,32.900291],[102.399463,32.900086],[102.399358,32.899834],[102.399296,32.899534],[102.399234,32.899234],[102.399209,32.898915],[102.399184,32.898596],[102.399158,32.898278],[102.399149,32.898025],[102.39912,32.897806],[102.399122,32.89758],[102.399122,32.897514],[102.399124,32.897221],[102.399125,32.897126],[102.399096,32.896955],[102.399044,32.896798],[102.398858,32.896441],[102.39869,32.89611],[102.398521,32.895779],[102.398477,32.895674],[102.398356,32.895381],[102.398235,32.895089],[102.398168,32.894846],[102.398102,32.894604],[102.398035,32.894228],[102.397969,32.893852],[102.397923,32.893557],[102.397904,32.89344],[102.397877,32.893265],[102.39784,32.893028],[102.397808,32.89293],[102.39763,32.892784],[102.397452,32.892637],[102.397283,32.89245],[102.397115,32.892263],[102.396893,32.891941],[102.396848,32.891605],[102.396851,32.891506],[102.396883,32.891385],[102.397003,32.891241],[102.39712,32.891243],[102.397411,32.891249],[102.397583,32.891301],[102.397959,32.891359],[102.398222,32.891314],[102.398456,32.891246],[102.398601,32.891177],[102.398824,32.89107],[102.39909,32.890944],[102.399091,32.890943],[102.399092,32.890943],[102.399193,32.890895],[102.399549,32.890657],[102.39977,32.890527],[102.399991,32.890397],[102.400288,32.890183],[102.400555,32.89003],[102.400821,32.889876],[102.400967,32.889696],[102.401112,32.889515],[102.401257,32.889335],[102.401403,32.889155],[102.401548,32.888974],[102.401694,32.888794],[102.401847,32.888516],[102.401944,32.888342],[102.402061,32.888217],[102.402142,32.888084],[102.402323,32.887846],[102.402428,32.887646],[102.402418,32.887508],[102.402352,32.887422],[102.402285,32.887365],[102.402194,32.887161],[102.402152,32.88705],[102.402071,32.886837],[102.401999,32.886604],[102.402009,32.886466],[102.402061,32.886347],[102.402118,32.886176],[102.402149,32.886117],[102.402218,32.885985],[102.402214,32.885881],[102.402097,32.885754],[102.402004,32.885652],[102.401933,32.885581],[102.401923,32.885495],[102.401985,32.885333],[102.402019,32.885258],[102.402104,32.885067],[102.402099,32.884938],[102.402076,32.884848],[102.401971,32.88461],[102.401967,32.884602],[102.401899,32.884472],[102.401895,32.884329],[102.401933,32.883982],[102.401972,32.883634],[102.402011,32.883286],[102.402049,32.882939],[102.402054,32.882898],[102.40207,32.882577],[102.402104,32.882343],[102.402164,32.882126],[102.402225,32.881909],[102.402395,32.881664],[102.402481,32.881601],[102.402789,32.88137],[102.403097,32.881139],[102.403405,32.880909],[102.403643,32.880717],[102.403942,32.880429],[102.404126,32.880103],[102.40431,32.879777],[102.404413,32.879555],[102.404516,32.879333],[102.404619,32.879112],[102.404722,32.87889],[102.404826,32.878668],[102.404929,32.878447],[102.404968,32.878203],[102.405007,32.877959],[102.405046,32.877715],[102.405085,32.877471],[102.405124,32.877227],[102.405163,32.876983],[102.405202,32.87674],[102.405241,32.876496],[102.40528,32.876252],[102.405291,32.876186],[102.405319,32.876008],[102.405357,32.87574],[102.405394,32.875471],[102.405403,32.875154],[102.405404,32.875121],[102.405409,32.874909],[102.405391,32.874554],[102.405373,32.874199],[102.405321,32.873965],[102.405269,32.873731],[102.405203,32.87352],[102.405178,32.873312],[102.405088,32.873184],[102.405087,32.873183],[102.404783,32.872984],[102.404579,32.872855],[102.404517,32.872713],[102.404455,32.872584],[102.404493,32.872365],[102.404493,32.872284],[102.404393,32.872146],[102.404331,32.87197],[102.404283,32.871903],[102.404198,32.871785],[102.404103,32.871689],[102.403879,32.871452],[102.403772,32.871241],[102.403771,32.871239],[102.40377,32.871237],[102.403736,32.871099],[102.403774,32.871014],[102.403803,32.870895],[102.403741,32.87079],[102.403679,32.87069],[102.403655,32.870595],[102.403708,32.870495],[102.40377,32.870428],[102.403808,32.870324],[102.403805,32.8703],[102.403773,32.870204],[102.403746,32.870171],[102.403475,32.869991],[102.40337,32.869857],[102.403337,32.869743],[102.403327,32.869619],[102.403322,32.869519],[102.403256,32.869434],[102.40308,32.869291],[102.402898,32.868954],[102.402862,32.868794],[102.402856,32.868544],[102.402862,32.868336],[102.40291,32.868062],[102.402969,32.867913],[102.403011,32.86783],[102.40304,32.867771],[102.403034,32.867663],[102.403017,32.867556],[102.402957,32.867372],[102.402924,32.867295],[102.402922,32.867281],[102.402878,32.866916],[102.402939,32.866688],[102.402927,32.866533],[102.402898,32.866426],[102.402868,32.866271],[102.402808,32.866051],[102.402767,32.866001],[102.402624,32.865825],[102.40241,32.865647],[102.402368,32.86554],[102.402351,32.865307],[102.402334,32.865073],[102.402266,32.864738],[102.402198,32.864402],[102.402195,32.86435],[102.402184,32.864124],[102.402189,32.863736],[102.402193,32.863348],[102.402198,32.86296],[102.402219,32.862636],[102.402241,32.862311],[102.40217,32.861961],[102.402105,32.861725],[102.402041,32.86149],[102.402041,32.861247],[102.402062,32.860869],[102.402098,32.860662],[102.402105,32.860419],[102.402048,32.860262],[102.402027,32.860048],[102.40207,32.85982],[102.402048,32.859591],[102.401991,32.859427],[102.40177,32.859284],[102.401698,32.859063],[102.401684,32.858752],[102.401683,32.858751],[102.401682,32.85875],[102.401664,32.858723],[102.401529,32.858515],[102.401452,32.858299],[102.401374,32.858084],[102.401296,32.857868],[102.401218,32.857653],[102.40114,32.857438],[102.401062,32.857222],[102.400984,32.857007],[102.400906,32.856792],[102.400801,32.856422],[102.400663,32.856175],[102.400465,32.855975],[102.400267,32.855824],[102.400088,32.85567],[102.399908,32.855515],[102.399729,32.85536],[102.39955,32.855206],[102.39937,32.855051],[102.399191,32.854896],[102.399,32.854703],[102.39881,32.854509],[102.39862,32.854315],[102.398429,32.854122],[102.398348,32.85404],[102.398343,32.854034],[102.398239,32.853928],[102.398049,32.853735],[102.397858,32.853541],[102.397668,32.853347],[102.397499,32.853179],[102.397329,32.85301],[102.39716,32.852842],[102.396991,32.852673],[102.396821,32.852504],[102.396652,32.852336],[102.396483,32.852167],[102.396314,32.851998],[102.396124,32.85186],[102.395934,32.851722],[102.395744,32.851584],[102.395554,32.851446],[102.395364,32.851308],[102.395174,32.851171],[102.394985,32.851033],[102.394795,32.850895],[102.394605,32.850757],[102.394415,32.850619],[102.394225,32.850481],[102.394035,32.850343],[102.39383,32.850176],[102.393624,32.85001],[102.393418,32.849843],[102.393212,32.849677],[102.393007,32.84951],[102.392801,32.849344],[102.392595,32.849177],[102.39239,32.849011],[102.392261,32.848806],[102.392133,32.848602],[102.392005,32.848397],[102.391876,32.848193],[102.391748,32.847988],[102.39162,32.847784],[102.391492,32.847579],[102.391363,32.847375],[102.391318,32.846934],[102.391328,32.846591],[102.391394,32.846299],[102.391461,32.846006],[102.391586,32.84574],[102.39171,32.845461],[102.391834,32.845182],[102.3919,32.844891],[102.391903,32.844821],[102.391907,32.844686],[102.391908,32.844645],[102.391913,32.84445],[102.391892,32.84424],[102.391891,32.84423],[102.391692,32.843971],[102.391684,32.843961],[102.391642,32.843869],[102.391635,32.843863],[102.391563,32.843805],[102.391305,32.843595],[102.391046,32.843384],[102.390838,32.84323],[102.390631,32.843075],[102.390307,32.842868],[102.389982,32.842661],[102.389628,32.842401],[102.389274,32.84214],[102.38892,32.84188],[102.388873,32.841844],[102.388599,32.841629],[102.388325,32.841414],[102.388051,32.841199],[102.387777,32.840984],[102.38762,32.840885],[102.387218,32.840736],[102.386895,32.840616],[102.386572,32.840496],[102.386329,32.840428],[102.386087,32.84036],[102.38573,32.840303],[102.385409,32.840275],[102.385087,32.840246],[102.384798,32.840235],[102.384509,32.840225],[102.384202,32.8402],[102.383895,32.840175],[102.383598,32.840087],[102.3833,32.839999],[102.383003,32.839911],[102.38267,32.839801],[102.382337,32.839692],[102.382004,32.839582],[102.381797,32.839493],[102.38159,32.839404],[102.38133,32.839236],[102.38107,32.839068],[102.380734,32.83885],[102.380397,32.838633],[102.380041,32.838397],[102.379685,32.83816],[102.379328,32.837924],[102.379024,32.837723],[102.378721,32.837522],[102.378417,32.837321],[102.378113,32.837119],[102.377849,32.836991],[102.377585,32.836862],[102.377235,32.836763],[102.377021,32.836634],[102.37685,32.83652],[102.3766,32.836456],[102.376329,32.836395],[102.376057,32.836334],[102.375715,32.836256],[102.375483,32.836131],[102.375251,32.836006],[102.375008,32.835849],[102.374765,32.835692],[102.374544,32.835442],[102.374394,32.835074],[102.374244,32.834707],[102.374059,32.834475],[102.373873,32.834243],[102.373709,32.834061],[102.373545,32.833879],[102.37328,32.833722],[102.373016,32.833565],[102.372661,32.833422],[102.372307,32.83328],[102.371952,32.833137],[102.371931,32.833129],[102.371524,32.832965],[102.371189,32.832979],[102.371039,32.833022],[102.370825,32.833168],[102.370611,32.833315],[102.37033,32.833448],[102.370049,32.833581],[102.369768,32.833714],[102.369376,32.833839],[102.368983,32.833964],[102.368665,32.834026],[102.368314,32.834095],[102.367964,32.834163],[102.367848,32.834186],[102.367508,32.834202],[102.367168,32.834219],[102.366827,32.834236],[102.366501,32.8342],[102.366175,32.834164],[102.365849,32.834128],[102.365454,32.834083],[102.365059,32.834038],[102.364664,32.833993],[102.364407,32.833918],[102.36415,32.833843],[102.363808,32.833657],[102.363565,32.833424],[102.363322,32.833191],[102.36308,32.832958],[102.362891,32.832712],[102.362701,32.832465],[102.362484,32.832226],[102.362266,32.831987],[102.36206,32.831831],[102.361785,32.831624],[102.361509,32.831416],[102.361259,32.831221],[102.36101,32.831026],[102.36076,32.830831],[102.360446,32.830645],[102.360148,32.830531],[102.359851,32.830417],[102.359553,32.830302],[102.359211,32.830081],[102.358868,32.82986],[102.358791,32.82981],[102.358491,32.829617],[102.35819,32.829424],[102.35789,32.829232],[102.357705,32.829064],[102.357519,32.828896],[102.357383,32.828646],[102.357248,32.828396],[102.357119,32.828275],[102.356934,32.828196],[102.356634,32.828204],[102.356348,32.828214],[102.356063,32.828225],[102.355813,32.828225],[102.355563,32.828225],[102.355254,32.828144],[102.354944,32.828063],[102.354635,32.827982],[102.354325,32.827896],[102.354021,32.827811],[102.35365,32.827668],[102.353563,32.827643],[102.353257,32.827554],[102.3529,32.827511],[102.352472,32.827447],[102.352094,32.827354],[102.351803,32.827157],[102.351513,32.826959],[102.351223,32.826762],[102.351016,32.826448],[102.350809,32.826134],[102.350545,32.825805],[102.350281,32.825477],[102.350066,32.825098],[102.34997,32.824799],[102.349874,32.824499],[102.349817,32.824099],[102.349753,32.823761],[102.349688,32.823422],[102.349638,32.823157],[102.349517,32.822907],[102.34931,32.8226],[102.348959,32.822377],[102.348739,32.822236],[102.348467,32.821893],[102.348343,32.821668],[102.348218,32.821444],[102.348077,32.82117],[102.347937,32.820896],[102.347743,32.820639],[102.347548,32.820381],[102.347354,32.820123],[102.347199,32.819885],[102.347045,32.819647],[102.346955,32.819409],[102.346866,32.819171],[102.346818,32.818731],[102.346652,32.818493],[102.346366,32.818267],[102.345948,32.818227],[102.34553,32.818187],[102.345112,32.818147],[102.344731,32.818111],[102.344412,32.818116],[102.344094,32.81812],[102.34382,32.818125],[102.343547,32.818129],[102.343246,32.818051],[102.342946,32.817974],[102.342786,32.817906],[102.342536,32.8178],[102.342286,32.817694],[102.341911,32.81748],[102.341729,32.81729],[102.341548,32.8171],[102.341364,32.816847],[102.341181,32.816595],[102.341036,32.816398],[102.340894,32.816118],[102.340751,32.815838],[102.340608,32.815559],[102.340397,32.815247],[102.340186,32.814934],[102.340055,32.814696],[102.339924,32.814458],[102.339668,32.814274],[102.339668,32.814274],[102.339319,32.814213],[102.339135,32.814189],[102.33888,32.81422],[102.338625,32.81425],[102.338343,32.814351],[102.33806,32.814453],[102.337735,32.814553],[102.33741,32.814653],[102.337156,32.814648],[102.336902,32.814642],[102.336651,32.814598],[102.336399,32.814553],[102.336338,32.81453],[102.336011,32.81436],[102.335796,32.814215],[102.335581,32.814071],[102.335338,32.813965],[102.335096,32.81386],[102.334854,32.813832],[102.334612,32.813804],[102.334416,32.813755],[102.334069,32.813723],[102.333722,32.813691],[102.333606,32.81368],[102.333574,32.813677],[102.333389,32.81366],[102.333097,32.813632],[102.332869,32.813548],[102.33264,32.813465],[102.332405,32.813334],[102.332291,32.813234],[102.332161,32.81312],[102.332024,32.812924],[102.331905,32.812638],[102.33181,32.812409],[102.331715,32.81218],[102.331554,32.811936],[102.331382,32.811704],[102.331162,32.811609],[102.330852,32.811442],[102.33065,32.811163],[102.330448,32.810883],[102.330308,32.810702],[102.330168,32.81052],[102.329972,32.810348],[102.329776,32.810175],[102.329585,32.809917],[102.329395,32.809658],[102.329193,32.809289],[102.329153,32.809154],[102.329097,32.808962],[102.328907,32.808739],[102.328717,32.808516],[102.328447,32.808243],[102.328187,32.80798],[102.328026,32.807723],[102.327908,32.807534],[102.327833,32.807278],[102.327759,32.807023],[102.327682,32.806743],[102.327485,32.80635],[102.327307,32.805999],[102.327194,32.805803],[102.326962,32.805642],[102.32673,32.805482],[102.326641,32.80541],[102.326581,32.805196],[102.326534,32.80497],[102.326557,32.804607],[102.326665,32.804176],[102.326772,32.803751],[102.326795,32.803483],[102.326748,32.803257],[102.326611,32.803037],[102.32651,32.802912],[102.32645,32.802751],[102.326454,32.802713],[102.326468,32.802537],[102.326486,32.802395],[102.326534,32.802002],[102.326528,32.801701],[102.326522,32.801401],[102.326486,32.801122],[102.326415,32.801003],[102.326337,32.800931],[102.326218,32.800578],[102.326212,32.800562],[102.326141,32.800324],[102.325909,32.800188],[102.325748,32.800069],[102.325582,32.800057],[102.325557,32.800056],[102.325125,32.800038],[102.324693,32.800021],[102.324261,32.800003],[102.324038,32.799959],[102.323815,32.799914],[102.323589,32.799825],[102.323363,32.799735],[102.323012,32.799634],[102.322661,32.799533],[102.322286,32.799355],[102.322013,32.799236],[102.321834,32.799081],[102.321733,32.79891],[102.321626,32.79873],[102.321449,32.798579],[102.321424,32.798558],[102.321245,32.79848],[102.320983,32.79848],[102.320632,32.798714],[102.320486,32.798811],[102.320258,32.798962],[102.319984,32.799004],[102.319841,32.799016],[102.319544,32.798956],[102.319264,32.798932],[102.319116,32.798956],[102.318878,32.79898],[102.318455,32.798904],[102.31834,32.798799],[102.318217,32.798628],[102.318015,32.798408],[102.318007,32.798399],[102.317779,32.798238],[102.317462,32.798109],[102.317146,32.797981],[102.317046,32.797924],[102.316713,32.797714],[102.316565,32.79749],[102.316418,32.797267],[102.316293,32.796923],[102.316169,32.796578],[102.316206,32.796345],[102.316269,32.796027],[102.31632,32.795771],[102.316371,32.795516],[102.316423,32.795261],[102.316474,32.795005],[102.316525,32.79475],[102.316576,32.794494],[102.316539,32.794261],[102.316503,32.794028],[102.316339,32.793682],[102.316148,32.793311],[102.315953,32.793038],[102.315754,32.792874],[102.315555,32.792711],[102.315297,32.792403],[102.315038,32.792095],[102.314779,32.791787],[102.314504,32.791459],[102.314228,32.79113],[102.313952,32.790802],[102.313676,32.790474],[102.313483,32.790244],[102.313328,32.790078],[102.313173,32.789911],[102.313019,32.789744],[102.312864,32.789578],[102.312709,32.789411],[102.312554,32.789245],[102.312399,32.789078],[102.312244,32.788911],[102.31209,32.788745],[102.311935,32.788578],[102.311826,32.788331],[102.311717,32.788084],[102.311638,32.78782],[102.31156,32.787555],[102.311481,32.78729],[102.311402,32.787025],[102.311337,32.786767],[102.311272,32.786509],[102.311194,32.786213],[102.311115,32.785918],[102.311005,32.785494],[102.310894,32.785069],[102.310784,32.784645],[102.310674,32.784221],[102.310593,32.784011],[102.310512,32.783801],[102.310287,32.783552],[102.310059,32.7834],[102.309774,32.783246],[102.309398,32.783214],[102.309122,32.783208],[102.308847,32.783203],[102.308581,32.78321],[102.308315,32.783218],[102.308049,32.783226],[102.307783,32.783234],[102.307494,32.783191],[102.307204,32.783148],[102.30693,32.783105],[102.306656,32.783063],[102.306223,32.78298],[102.30579,32.782922],[102.305412,32.782913],[102.305005,32.782929],[102.304714,32.782984],[102.304422,32.783039],[102.304201,32.783144],[102.303981,32.78325],[102.3039,32.783265],[102.303587,32.783327],[102.303192,32.783404],[102.302959,32.783448],[102.302726,32.783492],[102.302389,32.783595],[102.302052,32.783698],[102.301717,32.783764],[102.301381,32.78383],[102.301175,32.783924],[102.300969,32.784017],[102.30066,32.784169],[102.300351,32.784321],[102.299982,32.784558],[102.299613,32.784795],[102.299427,32.784931],[102.299241,32.785068],[102.299055,32.785205],[102.298869,32.785341],[102.298688,32.785582],[102.298507,32.785823],[102.298328,32.78599],[102.298148,32.786158],[102.297969,32.786325],[102.29779,32.786493],[102.297788,32.786493],[102.297787,32.786494],[102.297481,32.786699],[102.297174,32.786904],[102.29689,32.787011],[102.296523,32.78715],[102.29623,32.787218],[102.295938,32.787285],[102.295692,32.78728],[102.295445,32.787274],[102.295377,32.787276],[102.295068,32.787218],[102.294755,32.787226],[102.294441,32.787233],[102.294157,32.787392],[102.293873,32.78755],[102.29353,32.787657],[102.293364,32.787705],[102.293112,32.787778],[102.29286,32.787852],[102.292625,32.78792],[102.292391,32.787988],[102.292355,32.787999],[102.292115,32.788036],[102.291874,32.788074],[102.291634,32.788112],[102.291394,32.78815],[102.291045,32.788142],[102.290697,32.788134],[102.290335,32.788102],[102.289974,32.78807],[102.289714,32.788015],[102.289455,32.78796],[102.289169,32.78782],[102.288883,32.787679],[102.288584,32.787489],[102.288285,32.787299],[102.288002,32.787073],[102.287719,32.786846],[102.287479,32.786632],[102.287239,32.786419],[102.287028,32.786207],[102.286817,32.785995],[102.28662,32.785783],[102.286422,32.78557],[102.286253,32.78542],[102.286084,32.785269],[102.285801,32.785043],[102.285514,32.784914],[102.285226,32.784883],[102.284907,32.784877],[102.284584,32.785016],[102.284418,32.785221],[102.284252,32.785426],[102.284065,32.785813],[102.283867,32.786115],[102.283669,32.786416],[102.283507,32.786617],[102.283345,32.786819],[102.283183,32.78702],[102.283021,32.787222],[102.282859,32.787423],[102.282697,32.787624],[102.282535,32.787826],[102.282373,32.788027],[102.282165,32.788194],[102.281956,32.788361],[102.281748,32.788527],[102.28154,32.788694],[102.281275,32.788835],[102.281009,32.788976],[102.280673,32.789067],[102.280337,32.789158],[102.280104,32.789189],[102.279871,32.789221],[102.279637,32.789253],[102.279404,32.789284],[102.279039,32.789374],[102.278675,32.789463],[102.278447,32.789551],[102.278218,32.789638],[102.27799,32.789725],[102.277761,32.789812],[102.277532,32.789899],[102.277304,32.789986],[102.277073,32.790091],[102.276843,32.790196],[102.276613,32.790301],[102.276382,32.790406],[102.276152,32.790511],[102.275921,32.790617],[102.275511,32.79073],[102.275101,32.790843],[102.274692,32.790944],[102.274283,32.791046],[102.27386,32.791122],[102.273437,32.791198],[102.273,32.791262],[102.272563,32.791326],[102.272258,32.791332],[102.271952,32.791338],[102.271705,32.791345],[102.271459,32.791352],[102.271212,32.791358],[102.270965,32.791365],[102.270673,32.79142],[102.270381,32.791474],[102.270074,32.791578],[102.269766,32.791681],[102.269675,32.791722],[102.269529,32.791787],[102.269309,32.791886],[102.269089,32.791984],[102.268764,32.792161],[102.268439,32.792337],[102.268087,32.792476],[102.267735,32.792615],[102.267516,32.792672],[102.267297,32.792728],[102.266861,32.792743],[102.266629,32.792726],[102.266398,32.792708],[102.266167,32.792673],[102.265936,32.792637],[102.265705,32.792602],[102.265474,32.792566],[102.265039,32.792532],[102.264808,32.79249],[102.264578,32.792449],[102.26429,32.792394],[102.26396,32.792264],[102.26363,32.792134],[102.2633,32.792005],[102.26297,32.791875],[102.262877,32.791788],[102.26265,32.791573],[102.262422,32.791359],[102.262238,32.79122],[102.262053,32.791081],[102.261893,32.79096],[102.261869,32.790942],[102.261685,32.790804],[102.2615,32.790665],[102.261316,32.790526],[102.261131,32.790387],[102.260947,32.790248],[102.260707,32.790148],[102.260467,32.790048],[102.260227,32.789949],[102.259988,32.789849],[102.259748,32.789749],[102.259508,32.789649],[102.259268,32.789549],[102.259028,32.789449],[102.258745,32.789329],[102.258588,32.789243],[102.258205,32.789027],[102.257822,32.788811],[102.257412,32.788652],[102.257002,32.788493],[102.256689,32.788391],[102.256376,32.788288],[102.256063,32.788186],[102.255717,32.78815],[102.255371,32.788114],[102.255059,32.78814],[102.254748,32.788167],[102.254436,32.788193],[102.254075,32.788265],[102.253713,32.788336],[102.253368,32.788391],[102.253022,32.788446],[102.252677,32.788501],[102.252662,32.788507],[102.25226,32.788685],[102.251858,32.788863],[102.25162,32.789005],[102.251487,32.789034],[102.251325,32.789053],[102.251102,32.789029],[102.250878,32.789005],[102.250764,32.789034],[102.250697,32.789129],[102.250526,32.789396],[102.250283,32.789621],[102.25004,32.789846],[102.249701,32.789965],[102.249609,32.789992],[102.249475,32.790031],[102.249142,32.78993],[102.248916,32.789948],[102.248725,32.790067],[102.248469,32.790102],[102.24845,32.790098],[102.248192,32.790041],[102.247934,32.789983],[102.247669,32.789855],[102.247405,32.789727],[102.247063,32.7896],[102.246721,32.789472],[102.246358,32.789228],[102.245995,32.788984],[102.245632,32.78874],[102.245266,32.788588],[102.2449,32.788437],[102.244872,32.788417],[102.244689,32.788287],[102.244395,32.78808],[102.244174,32.787925],[102.243984,32.787842],[102.243675,32.78786],[102.243383,32.788014],[102.24307,32.788179],[102.242757,32.788344],[102.242693,32.788377],[102.242342,32.788597],[102.241991,32.788817],[102.241852,32.789005],[102.241712,32.789192],[102.241406,32.789412],[102.241101,32.789632],[102.240796,32.789852],[102.240587,32.789954],[102.240379,32.790055],[102.239933,32.790084],[102.239749,32.790072],[102.239523,32.789942],[102.239308,32.789852],[102.238999,32.789775],[102.238681,32.789743],[102.238559,32.789731],[102.238345,32.78971],[102.23797,32.789656],[102.237595,32.789603],[102.237381,32.78962],[102.237102,32.789698],[102.236733,32.789716],[102.236594,32.789697],[102.236262,32.789595],[102.236113,32.789549],[102.236001,32.78946],[102.235787,32.78924],[102.235571,32.78903],[102.235412,32.788877],[102.235186,32.788496],[102.235014,32.788335],[102.234847,32.788228],[102.234651,32.788163],[102.234508,32.788157],[102.234353,32.788169],[102.234175,32.788151],[102.233943,32.788062],[102.233865,32.787985],[102.233723,32.787889],[102.233437,32.787758],[102.233294,32.787628],[102.233179,32.787434],[102.233054,32.787308],[102.232882,32.787089],[102.232711,32.786871],[102.232362,32.786663],[102.232067,32.786613],[102.231772,32.786564],[102.231576,32.786644],[102.231181,32.786804],[102.231103,32.786835],[102.230988,32.786923],[102.230624,32.787158],[102.230431,32.787283],[102.230239,32.787407],[102.229897,32.787693],[102.229554,32.787979],[102.229345,32.78817],[102.229136,32.788361],[102.228854,32.788551],[102.228573,32.78874],[102.228351,32.788863],[102.22813,32.788986],[102.227909,32.78911],[102.227687,32.789233],[102.227361,32.789459],[102.227035,32.789684],[102.226794,32.789973],[102.226553,32.790261],[102.226388,32.790441],[102.226223,32.790621],[102.226016,32.790726],[102.22581,32.790832],[102.22552,32.790827],[102.22526,32.790783],[102.225,32.79074],[102.224756,32.790637],[102.224513,32.790534],[102.2242,32.790343],[102.223887,32.790153],[102.223561,32.789914],[102.223234,32.789674],[102.223075,32.789502],[102.222915,32.78933],[102.222755,32.789157],[102.222595,32.788985],[102.222435,32.788813],[102.222275,32.788641],[102.222115,32.788469],[102.221956,32.788296],[102.221796,32.788124],[102.221636,32.787952],[102.221476,32.78778],[102.221316,32.787608],[102.221199,32.787388],[102.221081,32.787169],[102.220964,32.78695],[102.220846,32.78673],[102.220729,32.786511],[102.220611,32.786292],[102.220494,32.786072],[102.220376,32.785853],[102.220259,32.785634],[102.220141,32.785414],[102.220024,32.785195],[102.219906,32.784975],[102.219789,32.784756],[102.219671,32.784537],[102.219546,32.784289],[102.21942,32.784042],[102.219295,32.783795],[102.21917,32.783548],[102.219044,32.783301],[102.218919,32.783053],[102.218794,32.782806],[102.218668,32.782559],[102.218543,32.782312],[102.218418,32.782064],[102.218292,32.781817],[102.218167,32.78157],[102.218041,32.781323],[102.217916,32.781075],[102.217791,32.780828],[102.217665,32.780581],[102.217513,32.780363],[102.21736,32.780146],[102.217207,32.779928],[102.217054,32.779711],[102.216901,32.779493],[102.216749,32.779276],[102.216596,32.779058],[102.216443,32.778841],[102.216309,32.778495],[102.216176,32.77815],[102.216069,32.777829],[102.215963,32.777509],[102.215883,32.777262],[102.215804,32.777016],[102.215695,32.776793],[102.215585,32.77657],[102.215476,32.776348],[102.215367,32.776125],[102.215114,32.7759],[102.214856,32.775771],[102.21461,32.775742],[102.214365,32.775712],[102.214061,32.775705],[102.213756,32.775698],[102.21333,32.775729],[102.212903,32.775761],[102.212477,32.775792],[102.212112,32.775882],[102.211746,32.775971],[102.211424,32.776062],[102.211102,32.776153],[102.210677,32.776278],[102.210253,32.776403],[102.210029,32.776447],[102.209805,32.776491],[102.209582,32.776535],[102.209358,32.776579],[102.209134,32.776623],[102.208911,32.776667],[102.208511,32.776764],[102.208111,32.776861],[102.207712,32.776958],[102.207331,32.777072],[102.20695,32.777186],[102.206756,32.777312],[102.206563,32.777438],[102.206369,32.777564],[102.206176,32.77769],[102.205982,32.777816],[102.205789,32.777942],[102.205595,32.778068],[102.205401,32.778194],[102.205192,32.778434],[102.205055,32.778615],[102.204919,32.778796],[102.204795,32.77905],[102.204671,32.779303],[102.204617,32.779607],[102.204564,32.779911],[102.204526,32.780217],[102.204488,32.780523],[102.204333,32.780825],[102.204178,32.781127],[102.204006,32.781307],[102.203833,32.781486],[102.203661,32.781666],[102.203488,32.781845],[102.203301,32.782035],[102.203113,32.782225],[102.202926,32.782414],[102.202739,32.782604],[102.202551,32.782794],[102.202364,32.782983],[102.202039,32.783172],[102.201715,32.78336],[102.201419,32.783525],[102.201124,32.78369],[102.200755,32.783889],[102.200386,32.784089],[102.200263,32.784162],[102.200046,32.78429],[102.199706,32.78449],[102.199478,32.784803],[102.19925,32.785115],[102.199066,32.785454],[102.198882,32.785792],[102.198743,32.786035],[102.198605,32.786277],[102.198483,32.786469],[102.198361,32.786662],[102.198095,32.786827],[102.197748,32.786795],[102.197519,32.786704],[102.19729,32.786614],[102.197004,32.78646],[102.196718,32.786307],[102.196421,32.786068],[102.196124,32.785829],[102.195942,32.785629],[102.195759,32.785429],[102.195565,32.785156],[102.195547,32.78513],[102.195371,32.784883],[102.195135,32.784547],[102.194898,32.784211],[102.194706,32.783864],[102.194514,32.783517],[102.194322,32.783158],[102.19413,32.782799],[102.194073,32.782529],[102.194016,32.782258],[102.193958,32.781988],[102.193901,32.781718],[102.193916,32.78148],[102.193931,32.781242],[102.193945,32.781003],[102.19396,32.780765],[102.193975,32.780527],[102.193989,32.780289],[102.194004,32.780051],[102.194019,32.779812],[102.194015,32.77947],[102.194012,32.779127],[102.193946,32.778893],[102.193881,32.778659],[102.193714,32.778435],[102.193373,32.778208],[102.193173,32.778093],[102.192974,32.777978],[102.192688,32.77785],[102.192402,32.777721],[102.192136,32.777664],[102.19187,32.777607],[102.191604,32.777549],[102.191337,32.777492],[102.191071,32.777435],[102.190805,32.777378],[102.190538,32.77732],[102.190272,32.777263],[102.190006,32.777206],[102.189739,32.777149],[102.189473,32.777091],[102.189207,32.777034],[102.188941,32.776977],[102.188674,32.77692],[102.188265,32.776832],[102.187855,32.776744],[102.187445,32.776656],[102.187015,32.776548],[102.186786,32.776396],[102.186763,32.776225],[102.186801,32.775932],[102.186891,32.775714],[102.18698,32.775497],[102.187069,32.77528],[102.187159,32.775063],[102.187248,32.774846],[102.187337,32.774629],[102.187366,32.774562],[102.187433,32.774407],[102.187528,32.774185],[102.187624,32.773963],[102.187719,32.773741],[102.187815,32.773519],[102.18791,32.773297],[102.188006,32.773076],[102.188101,32.772854],[102.188197,32.772632],[102.188292,32.77241],[102.188388,32.772188],[102.188483,32.771966],[102.188579,32.771744],[102.188674,32.771523],[102.188714,32.77143],[102.188818,32.771173],[102.188922,32.770917],[102.189026,32.77066],[102.18913,32.770404],[102.189234,32.770147],[102.189338,32.769891],[102.189442,32.769634],[102.189546,32.769378],[102.18965,32.769121],[102.189754,32.768865],[102.189864,32.768623],[102.189973,32.768381],[102.190082,32.768138],[102.190191,32.767896],[102.190301,32.767654],[102.19041,32.767412],[102.190424,32.767345],[102.190467,32.767145],[102.190524,32.766878],[102.190581,32.766611],[102.190638,32.766344],[102.190696,32.766077],[102.190753,32.76581],[102.19081,32.765543],[102.190867,32.765275],[102.190924,32.765008],[102.190981,32.764741],[102.191038,32.764474],[102.191075,32.764301],[102.191096,32.764207],[102.191225,32.763794],[102.191319,32.763551],[102.191414,32.763309],[102.191599,32.762946],[102.191694,32.762704],[102.191875,32.762463],[102.192041,32.762271],[102.192206,32.762079],[102.192515,32.761793],[102.192824,32.761506],[102.193133,32.761219],[102.193327,32.761056],[102.19352,32.760894],[102.193714,32.760731],[102.193908,32.760568],[102.194101,32.760405],[102.194295,32.760242],[102.194595,32.75993],[102.194895,32.759619],[102.195148,32.759392],[102.195402,32.759165],[102.1956,32.759011],[102.195798,32.758856],[102.195996,32.758702],[102.196194,32.758547],[102.196392,32.758393],[102.196591,32.758238],[102.196919,32.757952],[102.197131,32.757663],[102.197255,32.757428],[102.197379,32.757193],[102.197503,32.756957],[102.197627,32.756722],[102.197709,32.756508],[102.197791,32.756295],[102.197873,32.756082],[102.197955,32.755868],[102.198037,32.755655],[102.198119,32.755442],[102.198202,32.755228],[102.198284,32.755015],[102.198366,32.754801],[102.198367,32.754799],[102.198367,32.754797],[102.198448,32.754588],[102.198604,32.754249],[102.198667,32.754055],[102.198675,32.753798],[102.198684,32.753541],[102.198694,32.753248],[102.198643,32.753002],[102.198568,32.752766],[102.198493,32.75253],[102.198418,32.752295],[102.198342,32.752059],[102.198267,32.751823],[102.198192,32.751587],[102.198117,32.751352],[102.198042,32.751116],[102.197967,32.75088],[102.197892,32.750645],[102.197817,32.750409],[102.197741,32.750173],[102.197718,32.750121],[102.197608,32.749874],[102.197497,32.749627],[102.197387,32.74938],[102.197277,32.749133],[102.197166,32.748886],[102.197056,32.748639],[102.196946,32.748392],[102.196835,32.748145],[102.196725,32.747898],[102.196615,32.747651],[102.196504,32.747405],[102.196394,32.747158],[102.196284,32.746911],[102.196173,32.746664],[102.196063,32.746417],[102.195953,32.74617],[102.195822,32.745943],[102.195692,32.745716],[102.195561,32.745489],[102.19543,32.745262],[102.1953,32.745035],[102.195169,32.744808],[102.195038,32.744581],[102.194908,32.744354],[102.194777,32.744127],[102.194646,32.7439],[102.194516,32.743673],[102.194385,32.743446],[102.19432,32.7432],[102.194255,32.742954],[102.19419,32.742708],[102.194126,32.742462],[102.194104,32.742217],[102.194083,32.741972],[102.194091,32.741703],[102.1941,32.741434],[102.194109,32.74114],[102.194178,32.740824],[102.194274,32.740508],[102.194397,32.740266],[102.194491,32.740073],[102.194644,32.739807],[102.194795,32.739608],[102.194946,32.73941],[102.195098,32.739212],[102.195249,32.739013],[102.1954,32.738815],[102.195551,32.738616],[102.195702,32.738418],[102.195854,32.73822],[102.196001,32.738015],[102.196148,32.737811],[102.196295,32.737606],[102.196442,32.737402],[102.196589,32.737198],[102.196736,32.736993],[102.196884,32.736789],[102.197031,32.736584],[102.197178,32.73638],[102.197325,32.736176],[102.197472,32.735971],[102.197619,32.735767],[102.197798,32.735599],[102.198124,32.735386],[102.198333,32.735195],[102.198484,32.735003],[102.198651,32.734774],[102.198818,32.734546],[102.198993,32.734207],[102.199168,32.733868],[102.199343,32.73353],[102.199438,32.733275],[102.199533,32.73302],[102.199628,32.732765],[102.199723,32.732511],[102.199817,32.732256],[102.199818,32.732255],[102.199818,32.732254],[102.199912,32.732001],[102.200017,32.731777],[102.200122,32.731553],[102.200171,32.731448],[102.200227,32.731329],[102.200332,32.731105],[102.200437,32.730881],[102.200542,32.730657],[102.200646,32.730433],[102.200751,32.730209],[102.200898,32.730023],[102.201044,32.729837],[102.201191,32.729651],[102.201337,32.729465],[102.201484,32.729279],[102.20163,32.729093],[102.201777,32.728907],[102.201924,32.728721],[102.20207,32.728534],[102.202217,32.728348],[102.202363,32.728162],[102.20251,32.727976],[102.202649,32.727763],[102.202788,32.727549],[102.202927,32.727335],[102.203066,32.727122],[102.203206,32.726908],[102.203345,32.726695],[102.203484,32.726481],[102.203623,32.726267],[102.203762,32.726054],[102.203902,32.72584],[102.204041,32.725627],[102.20418,32.725413],[102.204319,32.725199],[102.204458,32.724986],[102.204573,32.724759],[102.204688,32.724532],[102.204802,32.724305],[102.204917,32.724078],[102.205032,32.723851],[102.205147,32.723624],[102.205261,32.723397],[102.205376,32.72317],[102.205491,32.722943],[102.205566,32.722793],[102.205605,32.722716],[102.205613,32.722448],[102.205682,32.722132],[102.205805,32.72189],[102.206015,32.721674],[102.206194,32.721507],[102.206461,32.721317],[102.206699,32.721102],[102.20694,32.720838],[102.20712,32.720573],[102.207229,32.720363],[102.207337,32.720153],[102.207445,32.719944],[102.207553,32.719734],[102.207661,32.719524],[102.207769,32.719315],[102.207985,32.718928],[102.208108,32.718711],[102.20823,32.718493],[102.208427,32.718229],[102.208624,32.717964],[102.208791,32.717699],[102.208959,32.717433],[102.209244,32.717134],[102.209529,32.716834],[102.209798,32.716571],[102.210067,32.716308],[102.210311,32.715946],[102.210453,32.715734],[102.210595,32.715521],[102.210737,32.715309],[102.210879,32.715096],[102.211021,32.714884],[102.211163,32.714671],[102.211186,32.714427],[102.211208,32.714183],[102.211217,32.713865],[102.211229,32.713498],[102.211125,32.713129],[102.21102,32.71276],[102.210932,32.712521],[102.210844,32.712281],[102.210755,32.712042],[102.210667,32.711803],[102.210579,32.711563],[102.210491,32.711324],[102.210403,32.711085],[102.210314,32.710845],[102.210226,32.710606],[102.210138,32.710366],[102.210016,32.710095],[102.209893,32.709823],[102.20973,32.709526],[102.209564,32.709295],[102.209549,32.709275],[102.209479,32.709178],[102.209437,32.709135],[102.209392,32.709088],[102.209304,32.708997],[102.209129,32.708816],[102.208954,32.708635],[102.208779,32.708454],[102.2086,32.708269],[102.208422,32.708084],[102.208209,32.707933],[102.207996,32.707781],[102.207784,32.70763],[102.207571,32.707478],[102.207358,32.707326],[102.207146,32.707175],[102.206933,32.707023],[102.20672,32.706872],[102.206508,32.70672],[102.206295,32.706568],[102.206082,32.706417],[102.20587,32.706265],[102.205657,32.706114],[102.205444,32.705962],[102.205302,32.705906],[102.205264,32.705892],[102.205205,32.705868],[102.204983,32.705781],[102.204965,32.705774],[102.204725,32.70568],[102.20465,32.705651],[102.204485,32.705586],[102.204246,32.705492],[102.204006,32.705398],[102.203766,32.705304],[102.203526,32.705211],[102.203287,32.70512],[102.203049,32.705029],[102.20281,32.704938],[102.202571,32.704847],[102.202332,32.704756],[102.202094,32.704665],[102.201846,32.704576],[102.201599,32.704488],[102.201352,32.7044],[102.201104,32.704312],[102.200857,32.704224],[102.20061,32.704136],[102.200362,32.704048],[102.200115,32.70396],[102.199887,32.703844],[102.19966,32.703729],[102.199475,32.703591],[102.19929,32.703453],[102.199096,32.703202],[102.198873,32.702904],[102.198784,32.702658],[102.198695,32.702413],[102.198606,32.702167],[102.198517,32.701921],[102.198369,32.701563],[102.19822,32.701205],[102.198087,32.700834],[102.197921,32.700562],[102.197725,32.700337],[102.197613,32.700213],[102.197329,32.700035],[102.196985,32.699904],[102.196741,32.69985],[102.196496,32.699796],[102.196397,32.699773],[102.196151,32.699715],[102.195805,32.699634],[102.195518,32.699566],[102.19523,32.699499],[102.194913,32.69943],[102.194596,32.699362],[102.194266,32.699281],[102.193936,32.6992],[102.193633,32.69912],[102.193468,32.699076],[102.193331,32.69904],[102.193073,32.698948],[102.192815,32.698857],[102.192544,32.698729],[102.192273,32.698601],[102.191943,32.69834],[102.191613,32.69808],[102.191283,32.697819],[102.191071,32.697631],[102.19086,32.697443],[102.190677,32.697255],[102.190494,32.697068],[102.190388,32.696772],[102.190396,32.696528],[102.190432,32.696308],[102.190465,32.696137]]]]},"properties":{"cp":[102.35372199561037,32.712944518303445],"code":"513233103","name":"安曲镇","level":"street","center":[102.35372199561037,32.712944518303445],"fullCode":"513233103000","fullName":"四川省阿坝藏族羌族自治州红原县安曲镇","acreageMu":1327057.45,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.222,32.6709]}},{"id":"513233105","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.277244,32.524826],[102.277274,32.524758],[102.277761,32.523683],[102.278447,32.522401],[102.278934,32.521489],[102.279246,32.520805],[102.279632,32.520638],[102.280189,32.520398],[102.280201,32.520393],[102.280417,32.5203],[102.280661,32.520194],[102.281662,32.519821],[102.282892,32.519601],[102.283165,32.519536],[102.284592,32.519194],[102.286228,32.519032],[102.287337,32.518908],[102.287869,32.518673],[102.288122,32.517988],[102.288597,32.517196],[102.289346,32.515511],[102.29019,32.513605],[102.290391,32.512721],[102.29064,32.511691],[102.290603,32.510025],[102.290392,32.508318],[102.290556,32.507212],[102.290941,32.506036],[102.291382,32.504418],[102.29147,32.503999],[102.291505,32.503833],[102.291597,32.503393],[102.291601,32.503375],[102.291637,32.503202],[102.291887,32.502135],[102.291976,32.50062],[102.29189,32.499101],[102.291871,32.498286],[102.292101,32.497884],[102.292726,32.497454],[102.293911,32.49722],[102.295037,32.497541],[102.296037,32.497673],[102.297387,32.497776],[102.298297,32.498018],[102.299338,32.498225],[102.300303,32.498583],[102.300373,32.498609],[102.300504,32.498657],[102.301595,32.49868],[102.303308,32.49831],[102.304271,32.498257],[102.30559,32.497915],[102.307147,32.49745],[102.30744,32.497363],[102.308144,32.49723],[102.308319,32.497197],[102.308369,32.49715],[102.308633,32.496907],[102.308664,32.495872],[102.308679,32.495343],[102.30869,32.494985],[102.308318,32.494274],[102.308133,32.49316],[102.307815,32.492117],[102.307839,32.491304],[102.307999,32.490345],[102.308286,32.4895],[102.308793,32.488586],[102.309694,32.487643],[102.31063,32.486997],[102.31153,32.486092],[102.311816,32.485284],[102.311739,32.4847],[102.311673,32.484208],[102.311089,32.483307],[102.310916,32.481787],[102.311219,32.480334],[102.311323,32.479834],[102.312199,32.478262],[102.313131,32.476667],[102.313395,32.476216],[102.313725,32.475775],[102.314213,32.475123],[102.314795,32.474618],[102.316193,32.474574],[102.317894,32.47461],[102.318993,32.474375],[102.320272,32.473921],[102.321372,32.473611],[102.322209,32.47337],[102.323588,32.472475],[102.324006,32.471633],[102.324606,32.470535],[102.32456,32.469129],[102.324727,32.467911],[102.324895,32.466657],[102.325061,32.465477],[102.325074,32.463553],[102.325561,32.461861],[102.325773,32.460608],[102.32624,32.459545],[102.326497,32.458256],[102.326407,32.456885],[102.325506,32.454868],[102.323044,32.449599],[102.322678,32.448703],[102.321883,32.447539],[102.321341,32.446714],[102.32067,32.445774],[102.320434,32.444918],[102.320409,32.442809],[102.32037,32.44118],[102.320417,32.43959],[102.32067,32.438412],[102.32075,32.437193],[102.320707,32.435712],[102.320407,32.434041],[102.320451,32.432562],[102.320371,32.430858],[102.319935,32.429369],[102.319737,32.428699],[102.319588,32.427807],[102.319457,32.426362],[102.319034,32.422949],[102.318856,32.421613],[102.318847,32.420988],[102.318842,32.420614],[102.31871,32.419168],[102.319057,32.41777],[102.319248,32.417219],[102.320608,32.416952],[102.321596,32.417454],[102.322646,32.417365],[102.323692,32.417387],[102.324757,32.416781],[102.326135,32.415885],[102.327275,32.415687],[102.329636,32.416958],[102.330141,32.417065],[102.331197,32.417287],[102.332497,32.417574],[102.334328,32.417613],[102.334971,32.417589],[102.335594,32.417565],[102.336382,32.417471],[102.336462,32.417397],[102.336616,32.417255],[102.336623,32.417249],[102.336666,32.417209],[102.336699,32.417179],[102.336709,32.417169],[102.33675,32.417132],[102.337247,32.416674],[102.338886,32.415163],[102.342031,32.412263],[102.343993,32.410485],[102.344227,32.410274],[102.345215,32.409296],[102.345283,32.409199],[102.345289,32.40919],[102.3453,32.409175],[102.345373,32.409072],[102.345772,32.408509],[102.345785,32.408491],[102.34617,32.407947],[102.349568,32.402136],[102.351006,32.400686],[102.352698,32.399464],[102.35438,32.397131],[102.355089,32.395259],[102.355108,32.394594],[102.354352,32.393616],[102.354038,32.392425],[102.353635,32.39127],[102.353459,32.38986],[102.353236,32.389172],[102.352677,32.387444],[102.352579,32.387141],[102.352564,32.386142],[102.352552,32.385068],[102.351995,32.383244],[102.351449,32.381049],[102.350881,32.379595],[102.351855,32.37906],[102.352253,32.378883],[102.353004,32.378529],[102.353545,32.377949],[102.353752,32.376806],[102.354044,32.375776],[102.354239,32.375077],[102.354258,32.374412],[102.355159,32.373432],[102.356533,32.372647],[102.357558,32.371891],[102.358235,32.371091],[102.35931,32.370115],[102.35968,32.369383],[102.359798,32.368312],[102.359888,32.366723],[102.360052,32.36558],[102.360385,32.364625],[102.36063,32.363705],[102.361068,32.360643],[102.361199,32.359129],[102.36127,32.358168],[102.361379,32.357431],[102.361414,32.35621],[102.361683,32.354477],[102.362164,32.353634],[102.362371,32.353271],[102.362957,32.352617],[102.363549,32.351741],[102.364567,32.351208],[102.366066,32.35061],[102.367472,32.350232],[102.367972,32.34954],[102.368694,32.348667],[102.369292,32.347606],[102.369589,32.346355],[102.370191,32.345146],[102.371335,32.343283],[102.372027,32.341928],[102.372799,32.340872],[102.373813,32.338969],[102.375079,32.337367],[102.376028,32.336203],[102.376615,32.335512],[102.376631,32.334957],[102.376298,32.334395],[102.375032,32.33349],[102.375252,32.332881],[102.37576,32.332763],[102.376519,32.332736],[102.377477,32.332756],[102.378605,32.332179],[102.37984,32.33139],[102.380272,32.330413],[102.381055,32.329529],[102.381861,32.328876],[102.381887,32.328856],[102.382089,32.328693],[102.382162,32.328655],[102.382502,32.328481],[102.382698,32.328381],[102.382758,32.32835],[102.383216,32.328116],[102.384245,32.327451],[102.38475,32.32725],[102.384819,32.327222],[102.385082,32.327118],[102.385102,32.32711],[102.385369,32.327003],[102.386012,32.326709],[102.386085,32.326675],[102.386572,32.326499],[102.387208,32.326269],[102.387618,32.326291],[102.387649,32.326293],[102.387743,32.326298],[102.388139,32.326319],[102.388387,32.326332],[102.388519,32.326339],[102.389165,32.326696],[102.389704,32.327264],[102.389636,32.328009],[102.38963,32.328077],[102.389561,32.328778],[102.389525,32.329151],[102.389487,32.329532],[102.389464,32.330346],[102.389392,32.331457],[102.389373,32.331759],[102.389149,32.332155],[102.388894,32.332607],[102.388925,32.333294],[102.389072,32.333468],[102.389526,32.333597],[102.390993,32.334108],[102.391188,32.334133],[102.392014,32.33424],[102.393033,32.334372],[102.394551,32.334625],[102.395766,32.334799],[102.396598,32.334668],[102.397563,32.334466],[102.399008,32.335154],[102.399234,32.333035],[102.399466,32.33021],[102.399947,32.327518],[102.400234,32.326324],[102.400363,32.32534],[102.400456,32.324518],[102.400633,32.322953],[102.400807,32.322453],[102.401235,32.321224],[102.401741,32.320095],[102.401858,32.318758],[102.402707,32.316632],[102.403697,32.315111],[102.405008,32.313397],[102.405829,32.312275],[102.406189,32.310741],[102.406383,32.309472],[102.406479,32.308814],[102.406578,32.308137],[102.406573,32.306147],[102.406573,32.30611],[102.406573,32.306104],[102.406573,32.305983],[102.406572,32.305719],[102.406572,32.305591],[102.406571,32.305404],[102.406571,32.305289],[102.40657,32.305096],[102.406569,32.304863],[102.406569,32.304796],[102.406568,32.304556],[102.406567,32.304287],[102.406566,32.304193],[102.406566,32.304154],[102.406566,32.304044],[102.406565,32.303804],[102.406564,32.303568],[102.406563,32.303463],[102.406563,32.303396],[102.406562,32.303179],[102.406534,32.302981],[102.406507,32.302783],[102.406478,32.302577],[102.406446,32.302345],[102.40643,32.302229],[102.406403,32.30204],[102.406373,32.301825],[102.406345,32.301622],[102.406323,32.301464],[102.4063,32.301298],[102.406304,32.301146],[102.406309,32.300995],[102.406314,32.300817],[102.406319,32.300652],[102.406325,32.300416],[102.40633,32.300231],[102.406333,32.300126],[102.406337,32.299987],[102.406341,32.299853],[102.406342,32.299808],[102.406432,32.298755],[102.406286,32.297647],[102.406307,32.296894],[102.407203,32.296611],[102.408561,32.296689],[102.40948,32.296754],[102.409512,32.296756],[102.410499,32.296826],[102.410568,32.29683],[102.412026,32.29686],[102.412283,32.296866],[102.413298,32.296535],[102.413604,32.296585],[102.414055,32.29669],[102.414842,32.296875],[102.41684,32.296757],[102.418769,32.296758],[102.419457,32.296758],[102.419915,32.296739],[102.421203,32.296688],[102.422145,32.29657],[102.423392,32.296415],[102.424268,32.296274],[102.425403,32.295821],[102.425946,32.295245],[102.426431,32.29473],[102.427089,32.293474],[102.427678,32.29248],[102.428025,32.291217],[102.428394,32.289825],[102.428442,32.289646],[102.428583,32.289111],[102.429164,32.288382],[102.429922,32.287892],[102.430116,32.287767],[102.430546,32.28719],[102.43056,32.287172],[102.430585,32.287138],[102.430613,32.2871],[102.430642,32.287061],[102.430652,32.287048],[102.430739,32.286932],[102.430826,32.286815],[102.430842,32.286793],[102.430894,32.286724],[102.431242,32.285408],[102.431586,32.284251],[102.431994,32.28392],[102.43216,32.283786],[102.432327,32.283519],[102.432813,32.282741],[102.432974,32.281421],[102.432511,32.280194],[102.432303,32.278708],[102.432357,32.278597],[102.432394,32.27852],[102.432833,32.277608],[102.433249,32.276081],[102.433659,32.274819],[102.433592,32.272754],[102.433464,32.270687],[102.433526,32.268466],[102.433452,32.268119],[102.433317,32.267488],[102.433196,32.266924],[102.433139,32.266782],[102.433073,32.266629],[102.433007,32.266472],[102.432961,32.26634],[102.432896,32.266178],[102.432849,32.266061],[102.432788,32.26591],[102.432709,32.265757],[102.43262,32.265584],[102.432531,32.265416],[102.432429,32.265219],[102.432316,32.265001],[102.432211,32.264868],[102.432121,32.264754],[102.431988,32.264584],[102.431843,32.2644],[102.431713,32.264233],[102.431545,32.264019],[102.431401,32.263838],[102.431296,32.263705],[102.431173,32.263549],[102.431113,32.26361],[102.430917,32.263808],[102.430749,32.263871],[102.43055,32.263945],[102.430244,32.264061],[102.430032,32.26414],[102.429846,32.26421],[102.429622,32.264307],[102.429491,32.264364],[102.429196,32.264492],[102.428911,32.264616],[102.42863,32.26474],[102.428333,32.264867],[102.428111,32.264902],[102.427928,32.264931],[102.42776,32.264957],[102.427519,32.264995],[102.427291,32.265031],[102.427144,32.265054],[102.426934,32.265119],[102.426658,32.265204],[102.42637,32.265294],[102.426128,32.265369],[102.425892,32.265442],[102.425699,32.265501],[102.425453,32.265654],[102.425256,32.265777],[102.425064,32.265896],[102.424874,32.266014],[102.424673,32.26614],[102.424513,32.266241],[102.424304,32.266372],[102.424033,32.266405],[102.423829,32.26643],[102.423554,32.266463],[102.423305,32.26658],[102.423073,32.266688],[102.422796,32.266818],[102.422632,32.266984],[102.422484,32.267134],[102.422254,32.267366],[102.422059,32.267564],[102.421921,32.267703],[102.42177,32.267856],[102.420893,32.268049],[102.420724,32.267411],[102.420628,32.266403],[102.420277,32.265602],[102.420045,32.265385],[102.419549,32.264922],[102.419002,32.264412],[102.418229,32.263126],[102.417456,32.26206],[102.417453,32.262056],[102.41745,32.262051],[102.416786,32.261297],[102.416699,32.261108],[102.416492,32.260656],[102.416143,32.259802],[102.416096,32.259672],[102.416011,32.259436],[102.415904,32.259139],[102.415796,32.258842],[102.415811,32.258313],[102.415819,32.258033],[102.415832,32.257572],[102.415802,32.257217],[102.415758,32.256703],[102.415692,32.255929],[102.415631,32.255493],[102.415592,32.255207],[102.415537,32.254814],[102.415461,32.254511],[102.415391,32.254232],[102.415257,32.253697],[102.415242,32.253404],[102.415223,32.253017],[102.415206,32.252674],[102.415178,32.252108],[102.415166,32.251793],[102.415155,32.251458],[102.415141,32.251063],[102.415139,32.251002],[102.415135,32.2509],[102.415131,32.250786],[102.415126,32.250681],[102.415122,32.250547],[102.415117,32.250437],[102.415114,32.250319],[102.415112,32.250244],[102.415108,32.250148],[102.415105,32.250051],[102.415101,32.24994],[102.415097,32.249807],[102.415093,32.249679],[102.415087,32.249517],[102.415083,32.249368],[102.415078,32.249232],[102.415075,32.249142],[102.415024,32.249023],[102.414938,32.248818],[102.414838,32.248624],[102.414781,32.248501],[102.41477,32.2484],[102.414747,32.248199],[102.414739,32.248127],[102.414724,32.248002],[102.414703,32.247831],[102.414679,32.247592],[102.414652,32.247353],[102.414632,32.247174],[102.414657,32.246967],[102.414686,32.246721],[102.414722,32.246418],[102.414757,32.246127],[102.414796,32.245802],[102.414839,32.245634],[102.414889,32.245437],[102.414936,32.245253],[102.414985,32.24506],[102.415006,32.244978],[102.415018,32.244933],[102.415031,32.24488],[102.41505,32.244809],[102.415068,32.244738],[102.415088,32.244659],[102.415101,32.244609],[102.415114,32.244559],[102.415129,32.244497],[102.415142,32.244446],[102.415146,32.244433],[102.415148,32.244403],[102.415152,32.244359],[102.415158,32.24429],[102.415166,32.2442],[102.415175,32.244101],[102.415181,32.244025],[102.415187,32.243961],[102.415192,32.243905],[102.415198,32.243836],[102.415202,32.24379],[102.415209,32.243711],[102.415221,32.243576],[102.415229,32.243481],[102.415238,32.243376],[102.415243,32.243317],[102.41525,32.24324],[102.415259,32.243138],[102.415269,32.243022],[102.41528,32.242898],[102.415292,32.242763],[102.415303,32.242639],[102.415315,32.242508],[102.415325,32.242392],[102.415337,32.242266],[102.415347,32.242148],[102.415355,32.242057],[102.415364,32.241956],[102.415371,32.241877],[102.415376,32.241816],[102.415384,32.241737],[102.41539,32.241667],[102.415421,32.241316],[102.415506,32.240951],[102.415533,32.240835],[102.415551,32.240761],[102.415572,32.240669],[102.415577,32.240649],[102.415604,32.240533],[102.415608,32.240515],[102.41565,32.240335],[102.415676,32.240225],[102.415704,32.240104],[102.415726,32.240027],[102.415764,32.239893],[102.415806,32.239744],[102.415843,32.239614],[102.415883,32.239472],[102.41593,32.239304],[102.415968,32.239168],[102.416023,32.238974],[102.416052,32.238872],[102.416079,32.238774],[102.41612,32.238631],[102.416143,32.23856],[102.416174,32.238463],[102.416218,32.238329],[102.416279,32.238147],[102.416352,32.237915],[102.41642,32.237706],[102.41649,32.23749],[102.416555,32.237289],[102.416619,32.237092],[102.416665,32.236948],[102.416716,32.236876],[102.416804,32.236747],[102.416916,32.236586],[102.417037,32.236412],[102.417174,32.236213],[102.417309,32.236018],[102.417414,32.235866],[102.417541,32.235682],[102.417639,32.235539],[102.41775,32.235438],[102.417853,32.235344],[102.418007,32.235202],[102.418158,32.235063],[102.418325,32.23491],[102.418473,32.234774],[102.418598,32.234659],[102.418705,32.234556],[102.418831,32.234433],[102.418983,32.234286],[102.419122,32.234151],[102.419239,32.234037],[102.419323,32.23387],[102.419399,32.233719],[102.419798,32.23362],[102.420495,32.233406],[102.421206,32.23329],[102.421705,32.233208],[102.422269,32.233116],[102.422776,32.233126],[102.42345,32.23314],[102.424149,32.233154],[102.424565,32.233198],[102.425297,32.233276],[102.426057,32.233454],[102.426517,32.233562],[102.427028,32.233792],[102.427614,32.234056],[102.428109,32.234279],[102.428598,32.234556],[102.428998,32.234783],[102.429395,32.234958],[102.429741,32.235167],[102.430175,32.235429],[102.430659,32.235721],[102.431154,32.23602],[102.431821,32.236423],[102.432415,32.236781],[102.432801,32.237072],[102.433231,32.237395],[102.433618,32.237687],[102.433961,32.237949],[102.434286,32.238198],[102.43467,32.238491],[102.434893,32.238843],[102.435111,32.239185],[102.43535,32.239616],[102.435513,32.239911],[102.435746,32.240476],[102.436012,32.241121],[102.436197,32.24157],[102.436425,32.242124],[102.436524,32.242362],[102.436598,32.242544],[102.436716,32.242829],[102.436897,32.243267],[102.43712,32.243808],[102.437305,32.244257],[102.437409,32.244509],[102.437561,32.244879],[102.437653,32.245144],[102.437759,32.245448],[102.437881,32.245799],[102.437776,32.246008],[102.437652,32.246254],[102.437637,32.246283],[102.43739,32.246546],[102.437136,32.246815],[102.437004,32.246956],[102.436843,32.247229],[102.436687,32.247494],[102.436559,32.247711],[102.436461,32.247878],[102.4364,32.247982],[102.436359,32.248052],[102.436342,32.248671],[102.43699,32.24993],[102.437021,32.249991],[102.437106,32.250155],[102.43736,32.250654],[102.437761,32.251441],[102.437815,32.251581],[102.438039,32.252164],[102.438405,32.253118],[102.438638,32.254395],[102.439364,32.255878],[102.439525,32.256395],[102.439581,32.256575],[102.439681,32.256895],[102.439515,32.257349],[102.438964,32.257827],[102.438868,32.258063],[102.438634,32.258636],[102.438666,32.259208],[102.438685,32.25955],[102.438684,32.260357],[102.438684,32.260652],[102.438684,32.260953],[102.439117,32.261941],[102.440476,32.262784],[102.441138,32.263809],[102.441852,32.264378],[102.442676,32.265112],[102.443079,32.265806],[102.443412,32.266237],[102.443397,32.266791],[102.44334,32.267658],[102.443329,32.267833],[102.443258,32.268332],[102.443246,32.268412],[102.443138,32.269167],[102.443232,32.269919],[102.443212,32.270637],[102.443153,32.271353],[102.442814,32.272488],[102.442715,32.273302],[102.442676,32.273379],[102.442267,32.274206],[102.441318,32.275166],[102.440295,32.276059],[102.440265,32.276111],[102.440042,32.276506],[102.439729,32.277058],[102.439512,32.277416],[102.439146,32.278018],[102.439004,32.278251],[102.438982,32.278347],[102.438884,32.278774],[102.438861,32.278874],[102.438698,32.279582],[102.4387,32.279674],[102.438715,32.280333],[102.438138,32.281807],[102.438077,32.281961],[102.437764,32.28276],[102.437639,32.283096],[102.437464,32.283566],[102.437437,32.283638],[102.43739,32.283764],[102.436614,32.285412],[102.436418,32.286909],[102.436342,32.287743],[102.436334,32.287824],[102.436307,32.288114],[102.436235,32.288407],[102.436202,32.288543],[102.436194,32.288578],[102.436182,32.288624],[102.436169,32.288678],[102.435917,32.289704],[102.436036,32.290947],[102.436316,32.291898],[102.436507,32.293305],[102.436708,32.294353],[102.436747,32.295033],[102.436772,32.295461],[102.436785,32.295692],[102.437007,32.297452],[102.437037,32.297687],[102.436929,32.298794],[102.436959,32.300459],[102.436964,32.301633],[102.436629,32.302605],[102.436339,32.30335],[102.436223,32.30475],[102.435919,32.305984],[102.435335,32.307636],[102.435152,32.308676],[102.434708,32.309417],[102.434185,32.310287],[102.433662,32.311092],[102.43301,32.312416],[102.432892,32.313138],[102.432873,32.31325],[102.432871,32.313262],[102.432874,32.313331],[102.432875,32.313348],[102.432875,32.313349],[102.432877,32.313359],[102.432877,32.313361],[102.432878,32.313389],[102.432948,32.314634],[102.433116,32.315485],[102.433206,32.316368],[102.433846,32.317747],[102.434105,32.318304],[102.434182,32.318469],[102.434412,32.318963],[102.434554,32.31927],[102.434672,32.319572],[102.434873,32.320088],[102.435123,32.320905],[102.435498,32.322131],[102.43588,32.323124],[102.435809,32.32385],[102.435787,32.324072],[102.435784,32.324108],[102.435761,32.324933],[102.435756,32.325081],[102.435736,32.325798],[102.435735,32.325853],[102.435728,32.326079],[102.436313,32.327135],[102.436392,32.328078],[102.436403,32.328213],[102.436415,32.328355],[102.436481,32.328474],[102.436548,32.328594],[102.436634,32.32875],[102.436744,32.328948],[102.43685,32.329139],[102.436936,32.329295],[102.437047,32.329495],[102.43713,32.329646],[102.437177,32.32987],[102.437211,32.330039],[102.437252,32.330237],[102.437254,32.330243],[102.437551,32.331684],[102.437515,32.332959],[102.437296,32.333477],[102.437072,32.333964],[102.436784,32.334713],[102.436948,32.335206],[102.437005,32.335257],[102.437413,32.33562],[102.437419,32.335626],[102.437468,32.33567],[102.437505,32.335685],[102.437611,32.335728],[102.437753,32.335786],[102.438076,32.335918],[102.43883,32.336226],[102.440769,32.336831],[102.441061,32.336939],[102.441245,32.337007],[102.441275,32.337018],[102.441805,32.337214],[102.444552,32.338229],[102.444639,32.338395],[102.444719,32.338546],[102.444737,32.338582],[102.444755,32.338616],[102.444765,32.338635],[102.445203,32.33947],[102.446265,32.341494],[102.44698,32.343262],[102.447546,32.344897],[102.447984,32.345262],[102.448742,32.345895],[102.449134,32.346058],[102.449219,32.346108],[102.449228,32.346117],[102.449363,32.346021],[102.449807,32.346111],[102.450239,32.346387],[102.450444,32.346518],[102.45045,32.346521],[102.450575,32.346601],[102.450859,32.346782],[102.451698,32.346864],[102.453604,32.347097],[102.454452,32.347055],[102.454496,32.347052],[102.454523,32.347051],[102.455753,32.346816],[102.455953,32.34682],[102.456977,32.346841],[102.458579,32.347678],[102.458786,32.347787],[102.460597,32.348667],[102.462705,32.349879],[102.464668,32.350827],[102.466106,32.351376],[102.467467,32.351923],[102.468904,32.352536],[102.470346,32.352955],[102.470661,32.353029],[102.471258,32.353168],[102.472326,32.353254],[102.473468,32.353472],[102.47458,32.354728],[102.475767,32.356051],[102.476598,32.356457],[102.478407,32.357402],[102.479785,32.358482],[102.480688,32.359019],[102.481338,32.359864],[102.482039,32.361072],[102.482135,32.362009],[102.482273,32.363674],[102.482675,32.364617],[102.483433,32.365983],[102.484561,32.367252],[102.485027,32.368093],[102.48628,32.369261],[102.486611,32.370566],[102.486269,32.371858],[102.486108,32.373257],[102.486154,32.37383],[102.487249,32.374059],[102.488027,32.374698],[102.488845,32.376117],[102.490394,32.377654],[102.490542,32.378956],[102.490509,32.38015],[102.490598,32.381346],[102.491049,32.382758],[102.491141,32.383851],[102.491462,32.385519],[102.491056,32.386914],[102.490778,32.390337],[102.490554,32.391787],[102.490756,32.393349],[102.490781,32.394648],[102.490508,32.395682],[102.48943,32.397011],[102.488665,32.398086],[102.487793,32.39864],[102.485717,32.400625],[102.483981,32.401421],[102.48292,32.402127],[102.482146,32.403566],[102.481929,32.404757],[102.481957,32.405952],[102.481934,32.406782],[102.481535,32.407917],[102.481502,32.409111],[102.481512,32.41093],[102.481419,32.412071],[102.480722,32.415121],[102.480625,32.416418],[102.480701,32.418082],[102.480725,32.419433],[102.480743,32.420991],[102.481169,32.423285],[102.481591,32.425735],[102.482403,32.427362],[102.482739,32.428511],[102.48343,32.430083],[102.484503,32.431143],[102.485528,32.431735],[102.48649,32.432378],[102.487322,32.433277],[102.488331,32.43444],[102.490313,32.435882],[102.491259,32.437096],[102.491415,32.438086],[102.491511,32.439075],[102.492023,32.440487],[102.492528,32.44216],[102.492802,32.443308],[102.493447,32.444359],[102.493962,32.445668],[102.494777,32.447191],[102.495789,32.44825],[102.496884,32.448531],[102.498921,32.448001],[102.499732,32.447445],[102.500299,32.446213],[102.501265,32.445927],[102.501934,32.445535],[102.502618,32.444584],[102.50465,32.442494],[102.506141,32.440494],[102.507601,32.43961],[102.509176,32.438931],[102.510628,32.438351],[102.511793,32.437308],[102.513027,32.435963],[102.514031,32.434258],[102.514308,32.432894],[102.513938,32.43111],[102.512401,32.428239],[102.511394,32.425733],[102.510669,32.423791],[102.510708,32.422371],[102.510749,32.422294],[102.511223,32.421402],[102.511236,32.421379],[102.511246,32.421359],[102.511263,32.421327],[102.511323,32.421215],[102.511402,32.421066],[102.511778,32.420464],[102.512634,32.419771],[102.513727,32.419184],[102.516419,32.419186],[102.518773,32.419233],[102.518846,32.419234],[102.520065,32.419258],[102.521922,32.419193],[102.523122,32.419217],[102.523884,32.419232],[102.52509,32.419256],[102.526508,32.419228],[102.527664,32.419205],[102.527846,32.419192],[102.528362,32.419155],[102.529342,32.419085],[102.531386,32.41872],[102.532553,32.418385],[102.532712,32.41834],[102.533156,32.418286],[102.533943,32.418191],[102.534201,32.418159],[102.534512,32.418121],[102.535523,32.418344],[102.536887,32.418777],[102.538407,32.419519],[102.538835,32.419728],[102.538959,32.419788],[102.540902,32.420733],[102.543321,32.421947],[102.543751,32.422217],[102.544321,32.422575],[102.546463,32.423992],[102.54649,32.42401],[102.546613,32.424091],[102.5482,32.425063],[102.548362,32.425162],[102.54848,32.425234],[102.548491,32.425241],[102.548496,32.425244],[102.548521,32.425262],[102.548552,32.425285],[102.548567,32.425296],[102.548572,32.4253],[102.548578,32.425304],[102.550491,32.426704],[102.55254,32.428367],[102.553757,32.429224],[102.553949,32.429358],[102.556042,32.431289],[102.556984,32.432157],[102.558222,32.432841],[102.560255,32.433513],[102.561318,32.433826],[102.562118,32.434004],[102.562561,32.434597],[102.562842,32.435544],[102.563736,32.436471],[102.564399,32.437458],[102.565107,32.438186],[102.565743,32.438718],[102.566501,32.439025],[102.567794,32.439374],[102.569919,32.440065],[102.571286,32.440513],[102.573031,32.441131],[102.574966,32.441786],[102.576027,32.442228],[102.577781,32.442489],[102.579065,32.44266],[102.579498,32.442717],[102.580868,32.44287],[102.581255,32.442913],[102.583009,32.443174],[102.584527,32.44369],[102.586495,32.444572],[102.588311,32.445386],[102.589935,32.446262],[102.591138,32.447097],[102.592072,32.447959],[102.592622,32.448911],[102.593035,32.449211],[102.59391,32.449423],[102.59475,32.449504],[102.595746,32.44949],[102.596137,32.449205],[102.596761,32.448763],[102.598182,32.448628],[102.598772,32.448623],[102.598918,32.448621],[102.599103,32.44862],[102.599369,32.448618],[102.600517,32.448672],[102.601208,32.44862],[102.601388,32.448466],[102.601593,32.44829],[102.601913,32.448017],[102.603164,32.447034],[102.604169,32.446696],[102.606124,32.446636],[102.607959,32.446736],[102.609444,32.447056],[102.61112,32.447413],[102.612682,32.447702],[102.61341,32.447871],[102.61394,32.447994],[102.614205,32.448056],[102.614386,32.448063],[102.61501,32.448087],[102.61585,32.44812],[102.61711,32.448241],[102.618083,32.448202],[102.618222,32.448197],[102.619196,32.448167],[102.619525,32.448157],[102.620972,32.448476],[102.62145,32.448637],[102.622301,32.448924],[102.623403,32.449237],[102.624124,32.44951],[102.625067,32.450048],[102.625449,32.450087],[102.626046,32.449222],[102.626744,32.448499],[102.626755,32.448488],[102.626764,32.448476],[102.627062,32.448116],[102.627704,32.447337],[102.628138,32.446858],[102.629403,32.446785],[102.630589,32.44684],[102.631846,32.447091],[102.632531,32.447266],[102.633019,32.447665],[102.633699,32.448002],[102.634037,32.448268],[102.634595,32.448896],[102.635334,32.449916],[102.635926,32.450707],[102.636745,32.451631],[102.637417,32.452261],[102.638217,32.452438],[102.639168,32.452684],[102.640118,32.452994],[102.641417,32.453083],[102.64168,32.453283],[102.641667,32.453802],[102.642062,32.454784],[102.642086,32.455336],[102.643154,32.455518],[102.644645,32.455777],[102.645651,32.456373],[102.646926,32.45709],[102.648555,32.458134],[102.648767,32.458034],[102.651823,32.45676],[102.652817,32.456279],[102.654573,32.455181],[102.655635,32.455067],[102.656853,32.455057],[102.657613,32.454505],[102.65831,32.453353],[102.658992,32.4528],[102.659429,32.452575],[102.660497,32.452295],[102.66137,32.452311],[102.661713,32.452318],[102.662136,32.452314],[102.662891,32.452306],[102.66374,32.452888],[102.665082,32.454111],[102.666433,32.455002],[102.667513,32.455754],[102.669418,32.456488],[102.671048,32.457217],[102.672094,32.457769],[102.672349,32.458506],[102.67209,32.459433],[102.671722,32.461523],[102.671691,32.462721],[102.671317,32.463546],[102.671747,32.463587],[102.672971,32.463344],[102.673834,32.46336],[102.675509,32.46389],[102.676399,32.464406],[102.677165,32.465119],[102.678424,32.466573],[102.679419,32.467557],[102.679673,32.468394],[102.680198,32.469335],[102.680831,32.469147],[102.681996,32.468137],[102.682959,32.467322],[102.683992,32.466842],[102.685268,32.4661],[102.686659,32.465427],[102.688008,32.464885],[102.689386,32.464744],[102.691043,32.464409],[102.691914,32.464125],[102.693445,32.464153],[102.694665,32.464042],[102.696304,32.464007],[102.696354,32.464006],[102.696979,32.464118],[102.698109,32.464471],[102.699758,32.464468],[102.701285,32.464629],[102.702303,32.464747],[102.703025,32.464161],[102.70442,32.463321],[102.705694,32.462646],[102.705837,32.462569],[102.707325,32.461777],[102.707743,32.461523],[102.70796,32.461391],[102.708442,32.461098],[102.709838,32.460224],[102.711503,32.459589],[102.712851,32.459081],[102.713919,32.458767],[102.7153,32.458493],[102.715839,32.458306],[102.717122,32.45786],[102.718069,32.457644],[102.718778,32.457557],[102.718971,32.457495],[102.719038,32.45753],[102.719421,32.45773],[102.719804,32.45793],[102.720187,32.45813],[102.720484,32.458292],[102.72078,32.458455],[102.721076,32.458617],[102.721076,32.458617],[102.721076,32.458618],[102.72121,32.458703],[102.721395,32.458822],[102.721395,32.458822],[102.721396,32.458822],[102.721596,32.458976],[102.721796,32.459129],[102.722062,32.459472],[102.722308,32.459787],[102.722556,32.460105],[102.722805,32.460424],[102.723109,32.460712],[102.723414,32.461001],[102.723718,32.46129],[102.723912,32.46144],[102.724215,32.461674],[102.724518,32.461909],[102.724837,32.462175],[102.725156,32.462442],[102.725403,32.46257],[102.725651,32.462699],[102.726048,32.462863],[102.726445,32.463027],[102.726843,32.463191],[102.72724,32.463355],[102.727607,32.463443],[102.727975,32.46353],[102.728342,32.463618],[102.72871,32.463705],[102.729077,32.463793],[102.729464,32.463963],[102.729851,32.464133],[102.730127,32.464255],[102.730403,32.464376],[102.730657,32.464488],[102.731,32.464685],[102.731342,32.464883],[102.731685,32.46508],[102.732028,32.465278],[102.732315,32.465468],[102.732603,32.465659],[102.732891,32.465849],[102.733179,32.466039],[102.733517,32.466256],[102.733855,32.466472],[102.734193,32.466689],[102.734531,32.466905],[102.734654,32.466915],[102.734988,32.466867],[102.73518,32.466712],[102.735235,32.466667],[102.735514,32.466379],[102.735793,32.46609],[102.736073,32.465801],[102.736321,32.465624],[102.73657,32.465447],[102.736818,32.465269],[102.736837,32.465252],[102.737156,32.464969],[102.737474,32.464685],[102.737786,32.464479],[102.737832,32.464449],[102.737995,32.464297],[102.738357,32.46415],[102.738719,32.464002],[102.739147,32.463917],[102.739518,32.464002],[102.739651,32.464013],[102.739675,32.464012],[102.739993,32.464036],[102.740311,32.464061],[102.740352,32.464071],[102.740441,32.464079],[102.740548,32.464119],[102.740923,32.464261],[102.741298,32.464402],[102.741655,32.464535],[102.742012,32.464669],[102.742212,32.464726],[102.742335,32.464726],[102.742497,32.46464],[102.74265,32.464528],[102.742897,32.464346],[102.743145,32.464165],[102.743392,32.463983],[102.743763,32.463788],[102.744134,32.463593],[102.744553,32.463441],[102.744801,32.463384],[102.745134,32.463374],[102.745464,32.463412],[102.745794,32.46345],[102.746123,32.463488],[102.746287,32.463552],[102.746522,32.463644],[102.746823,32.463761],[102.747123,32.463879],[102.747432,32.463979],[102.747742,32.464079],[102.747973,32.464103],[102.748275,32.464136],[102.748627,32.464207],[102.748979,32.464278],[102.749179,32.464221],[102.749341,32.464155],[102.749565,32.463957],[102.749578,32.463945],[102.749807,32.463726],[102.750031,32.463655],[102.750254,32.463584],[102.750511,32.463536],[102.750768,32.463488],[102.75113,32.463469],[102.75135,32.463488],[102.751473,32.463498],[102.751787,32.463498],[102.752148,32.463403],[102.752407,32.463352],[102.752681,32.463298],[102.752986,32.463284],[102.75329,32.46327],[102.753592,32.4632],[102.753893,32.46313],[102.754272,32.463043],[102.754651,32.462955],[102.754694,32.462948],[102.755034,32.46289],[102.755375,32.462832],[102.755689,32.462784],[102.755993,32.462813],[102.756118,32.462857],[102.756498,32.462994],[102.756679,32.463003],[102.756907,32.462955],[102.757288,32.462917],[102.757592,32.462984],[102.757897,32.463051],[102.758259,32.463212],[102.758582,32.463251],[102.758968,32.46327],[102.759353,32.463289],[102.759715,32.463327],[102.760048,32.463554],[102.760077,32.463574],[102.760372,32.463815],[102.760667,32.464056],[102.760962,32.464297],[102.761238,32.464483],[102.761514,32.464669],[102.761536,32.464681],[102.761856,32.46485],[102.762132,32.464973],[102.762504,32.465059],[102.76278,32.465126],[102.763056,32.465192],[102.763408,32.465211],[102.76376,32.46523],[102.764112,32.465325],[102.764464,32.465449],[102.764693,32.465497],[102.764988,32.465516],[102.765205,32.46558],[102.765422,32.465645],[102.765422,32.465645],[102.765422,32.465645],[102.765547,32.465686],[102.765721,32.465744],[102.765721,32.465745],[102.765721,32.465745],[102.766039,32.465868],[102.766358,32.465992],[102.766625,32.466249],[102.766798,32.466407],[102.766971,32.466565],[102.767291,32.466858],[102.766968,32.467029],[102.764686,32.468174],[102.763549,32.468578],[102.762228,32.468925],[102.761659,32.469075],[102.760208,32.469527],[102.757623,32.470277],[102.755668,32.470826],[102.754269,32.471703],[102.752602,32.473318],[102.750992,32.475094],[102.750684,32.475398],[102.750094,32.47598],[102.748555,32.477438],[102.746753,32.479422],[102.745918,32.480256],[102.743611,32.482391],[102.742389,32.483696],[102.740655,32.485416],[102.740527,32.485544],[102.738793,32.487293],[102.736673,32.48943],[102.734052,32.491559],[102.733208,32.492503],[102.732184,32.493648],[102.731148,32.495009],[102.730612,32.495811],[102.729782,32.497054],[102.728646,32.498293],[102.728629,32.498311],[102.72856,32.498386],[102.728511,32.49844],[102.728492,32.49846],[102.728485,32.498468],[102.728471,32.498483],[102.728395,32.498566],[102.728367,32.498597],[102.728166,32.498816],[102.727914,32.49909],[102.726435,32.500656],[102.724504,32.502743],[102.724398,32.502835],[102.72393,32.50324],[102.723844,32.503314],[102.723843,32.503314],[102.723842,32.503315],[102.723817,32.503337],[102.723805,32.503348],[102.723691,32.503446],[102.723365,32.503728],[102.722519,32.504459],[102.722037,32.504752],[102.721877,32.504849],[102.721875,32.50485],[102.721873,32.504851],[102.721542,32.505053],[102.721438,32.505116],[102.721414,32.50513],[102.721334,32.505179],[102.72121,32.505255],[102.721208,32.505255],[102.721208,32.505256],[102.721117,32.505311],[102.721051,32.505351],[102.720993,32.505386],[102.720291,32.505904],[102.720151,32.505862],[102.720048,32.505831],[102.720017,32.505821],[102.720007,32.505818],[102.720007,32.505818],[102.720006,32.505818],[102.719977,32.505809],[102.719934,32.505796],[102.719359,32.505622],[102.71921,32.505691],[102.719204,32.505693],[102.71919,32.5057],[102.719185,32.505702],[102.718915,32.505826],[102.718782,32.506142],[102.718745,32.50632],[102.718639,32.50683],[102.718252,32.5073],[102.717491,32.507658],[102.716892,32.507487],[102.716857,32.507477],[102.7166,32.507404],[102.716496,32.507374],[102.71638,32.507319],[102.71622,32.507243],[102.716046,32.50716],[102.715942,32.507111],[102.715862,32.507073],[102.71583,32.507058],[102.715692,32.506992],[102.715631,32.506963],[102.715568,32.506933],[102.714991,32.507453],[102.714349,32.508078],[102.713785,32.508121],[102.713287,32.508006],[102.713075,32.507869],[102.713074,32.507869],[102.713073,32.507868],[102.713047,32.507852],[102.713025,32.507837],[102.712937,32.507781],[102.712847,32.507723],[102.712821,32.507706],[102.712609,32.507569],[102.712168,32.507667],[102.712118,32.507679],[102.711979,32.507714],[102.711945,32.507722],[102.711917,32.507729],[102.711916,32.507729],[102.711915,32.507729],[102.71116,32.507914],[102.710723,32.508037],[102.71031,32.508154],[102.710292,32.508174],[102.710504,32.50832],[102.71083,32.508545],[102.710882,32.50897],[102.710806,32.5095],[102.710493,32.509494],[102.710127,32.509116],[102.710063,32.509093],[102.710039,32.509084],[102.709979,32.509063],[102.709954,32.509053],[102.709887,32.509029],[102.709817,32.509004],[102.709529,32.509284],[102.709496,32.509317],[102.709494,32.50933],[102.70949,32.509363],[102.709487,32.509387],[102.709475,32.50948],[102.709417,32.509952],[102.709095,32.510318],[102.708462,32.510571],[102.708224,32.510567],[102.708024,32.510563],[102.70764,32.510325],[102.707622,32.510314],[102.707532,32.510258],[102.707499,32.510238],[102.707407,32.510181],[102.7071,32.509963],[102.70694,32.510034],[102.706669,32.510155],[102.706659,32.51016],[102.70656,32.510204],[102.706534,32.510216],[102.706532,32.510217],[102.706529,32.510218],[102.706572,32.511015],[102.706493,32.51165],[102.706044,32.512066],[102.705732,32.512007],[102.705623,32.511782],[102.705623,32.511782],[102.705622,32.511781],[102.705622,32.511781],[102.705612,32.51176],[102.70556,32.511652],[102.705536,32.511604],[102.705316,32.511151],[102.704959,32.510401],[102.704482,32.510437],[102.704444,32.51044],[102.704394,32.510444],[102.704368,32.510512],[102.704368,32.510512],[102.704368,32.510512],[102.704323,32.510627],[102.704126,32.511129],[102.703558,32.511331],[102.70256,32.511154],[102.702492,32.511159],[102.702484,32.51116],[102.702421,32.511165],[102.702386,32.511168],[102.702384,32.511168],[102.702383,32.511168],[102.701667,32.511226],[102.701654,32.511227],[102.70162,32.51123],[102.70153,32.511237],[102.701513,32.511239],[102.701493,32.51124],[102.70036,32.511485],[102.699908,32.512007],[102.700016,32.512699],[102.700255,32.513128],[102.700242,32.513658],[102.699918,32.514077],[102.698342,32.514473],[102.697181,32.514664],[102.697136,32.514672],[102.697061,32.514684],[102.696895,32.514711],[102.696545,32.514754],[102.696356,32.514778],[102.695765,32.51485],[102.695268,32.514682],[102.695342,32.514081],[102.695344,32.514065],[102.695347,32.514047],[102.695347,32.514047],[102.695347,32.514046],[102.695447,32.513931],[102.695492,32.513878],[102.695798,32.513524],[102.695699,32.513401],[102.695663,32.513356],[102.695617,32.513298],[102.695589,32.513264],[102.695589,32.513264],[102.695589,32.513264],[102.695495,32.513147],[102.694769,32.513134],[102.694744,32.513133],[102.69471,32.513123],[102.694688,32.513116],[102.694515,32.513064],[102.694498,32.513059],[102.694386,32.513025],[102.694049,32.512923],[102.694022,32.512914],[102.693998,32.512907],[102.693927,32.512948],[102.693926,32.512948],[102.693926,32.512948],[102.693915,32.512954],[102.693903,32.512961],[102.693362,32.513267],[102.692987,32.51326],[102.692613,32.5132],[102.692448,32.513257],[102.691931,32.513438],[102.691602,32.513553],[102.69077,32.514228],[102.690441,32.514858],[102.690046,32.514998],[102.689303,32.515262],[102.688716,32.51535],[102.688046,32.515451],[102.687724,32.515764],[102.687266,32.516551],[102.686701,32.516594],[102.686671,32.516504],[102.686655,32.516456],[102.686651,32.516445],[102.686625,32.516366],[102.686613,32.516331],[102.686606,32.51631],[102.686468,32.5159],[102.686179,32.515759],[102.686095,32.515718],[102.686083,32.515712],[102.68597,32.515657],[102.685954,32.515649],[102.685788,32.515569],[102.684905,32.515818],[102.684625,32.515951],[102.68351,32.516482],[102.68311,32.517089],[102.682923,32.517373],[102.682352,32.517681],[102.681919,32.517461],[102.681926,32.51717],[102.681929,32.517076],[102.681933,32.516899],[102.681933,32.516894],[102.681934,32.516877],[102.681434,32.516815],[102.681022,32.51715],[102.681017,32.517154],[102.680962,32.517198],[102.680957,32.517203],[102.680882,32.517263],[102.680855,32.517285],[102.680667,32.517438],[102.680585,32.518179],[102.680821,32.518767],[102.680557,32.519293],[102.680065,32.518912],[102.679507,32.51869],[102.679367,32.518942],[102.679245,32.519163],[102.679067,32.519549],[102.679013,32.519669],[102.678979,32.519741],[102.678266,32.520027],[102.678163,32.520069],[102.677981,32.520142],[102.677587,32.520299],[102.677006,32.520979],[102.676171,32.521759],[102.675023,32.522587],[102.67383,32.522671],[102.673602,32.522737],[102.67358,32.522743],[102.673464,32.522776],[102.673439,32.522784],[102.673136,32.52287],[102.673223,32.522998],[102.673237,32.523004],[102.673251,32.52301],[102.673382,32.523068],[102.673403,32.523078],[102.673758,32.523236],[102.673671,32.523595],[102.672697,32.523936],[102.67211,32.524252],[102.671554,32.524486],[102.671291,32.524597],[102.670986,32.524491],[102.670793,32.524424],[102.670553,32.524212],[102.670528,32.524189],[102.670513,32.524176],[102.670492,32.524157],[102.670432,32.524104],[102.670432,32.524104],[102.670431,32.524103],[102.670378,32.524057],[102.669892,32.523459],[102.669558,32.52293],[102.669515,32.522935],[102.669513,32.522936],[102.66951,32.522936],[102.669403,32.522951],[102.6694,32.522951],[102.669399,32.522951],[102.669367,32.522955],[102.669294,32.522965],[102.669132,32.522987],[102.668774,32.523406],[102.669075,32.523706],[102.66941,32.524202],[102.66932,32.524691],[102.669042,32.52498],[102.668617,32.525005],[102.668159,32.5248],[102.668065,32.524686],[102.668035,32.52465],[102.668012,32.524621],[102.667961,32.524559],[102.667961,32.524559],[102.667961,32.524558],[102.667951,32.524547],[102.66786,32.524435],[102.667492,32.524569],[102.667477,32.524574],[102.667431,32.524591],[102.6674,32.524619],[102.667395,32.524624],[102.66728,32.524732],[102.666917,32.525072],[102.666295,32.525224],[102.666055,32.525546],[102.665926,32.526067],[102.665566,32.526551],[102.664905,32.526735],[102.664518,32.52676],[102.664161,32.527146],[102.66307,32.527518],[102.661943,32.527824],[102.661704,32.528114],[102.66135,32.528369],[102.660922,32.528492],[102.660698,32.528418],[102.66068,32.528412],[102.660672,32.52841],[102.660566,32.528375],[102.660548,32.528369],[102.660501,32.528353],[102.66008,32.528215],[102.660071,32.528223],[102.660043,32.528249],[102.66003,32.528261],[102.659953,32.528333],[102.659942,32.528343],[102.659902,32.528379],[102.659803,32.528471],[102.659987,32.528834],[102.659938,32.529226],[102.659581,32.529579],[102.658259,32.529947],[102.657409,32.529996],[102.657263,32.52996],[102.657244,32.529955],[102.657237,32.529953],[102.65713,32.529926],[102.657123,32.529925],[102.656565,32.529784],[102.65641,32.529815],[102.656314,32.529834],[102.655669,32.529963],[102.655662,32.529965],[102.655534,32.52999],[102.655517,32.529994],[102.654879,32.53081],[102.654094,32.531286],[102.653944,32.531337],[102.653643,32.53144],[102.653072,32.531635],[102.651862,32.531816],[102.651536,32.531764],[102.650709,32.531631],[102.650693,32.531584],[102.65053,32.531097],[102.650534,32.531043],[102.650535,32.531031],[102.650536,32.531019],[102.650545,32.530898],[102.650546,32.530877],[102.650605,32.530077],[102.650322,32.529826],[102.650269,32.52985],[102.650259,32.529855],[102.650175,32.529894],[102.650146,32.529907],[102.649875,32.530032],[102.649638,32.53014],[102.649002,32.530496],[102.647929,32.530966],[102.646955,32.531316],[102.646118,32.531954],[102.645453,32.532333],[102.645388,32.532371],[102.645358,32.532387],[102.645329,32.532404],[102.645286,32.532429],[102.645275,32.532438],[102.645266,32.532445],[102.64499,32.532668],[102.645046,32.532714],[102.645294,32.532915],[102.645509,32.533089],[102.645557,32.533128],[102.64564,32.533307],[102.645627,32.533787],[102.645269,32.533806],[102.644856,32.533577],[102.644796,32.533544],[102.644769,32.533529],[102.644706,32.533494],[102.644682,32.533481],[102.644681,32.53348],[102.644681,32.53348],[102.64468,32.53348],[102.644393,32.533265],[102.644197,32.533295],[102.644196,32.533295],[102.644196,32.533295],[102.644091,32.533311],[102.64409,32.533311],[102.64408,32.533313],[102.643938,32.533334],[102.643625,32.533382],[102.643052,32.533827],[102.643167,32.534021],[102.643403,32.534187],[102.643595,32.534421],[102.643747,32.534606],[102.643747,32.534607],[102.643747,32.534607],[102.643783,32.534908],[102.643805,32.535024],[102.643814,32.535071],[102.643861,32.535323],[102.643453,32.535653],[102.643005,32.535605],[102.643002,32.535605],[102.643001,32.535604],[102.642943,32.535598],[102.642909,32.535594],[102.642891,32.535593],[102.642613,32.535562],[102.642035,32.535411],[102.641925,32.535382],[102.641818,32.535354],[102.641818,32.535354],[102.641735,32.535332],[102.641687,32.535319],[102.641299,32.535284],[102.641281,32.535282],[102.641211,32.535275],[102.641096,32.535265],[102.640967,32.535253],[102.640669,32.535225],[102.640672,32.535242],[102.640675,32.535254],[102.640694,32.535356],[102.640747,32.53564],[102.640563,32.5359],[102.640427,32.535948],[102.640397,32.535959],[102.640236,32.536015],[102.640215,32.536023],[102.64016,32.536042],[102.64012,32.536042],[102.639752,32.536035],[102.639724,32.536034],[102.63956,32.536031],[102.639527,32.536031],[102.639376,32.536028],[102.639317,32.536027],[102.638913,32.536207],[102.638812,32.536694],[102.638761,32.536728],[102.638676,32.536787],[102.638603,32.536836],[102.638587,32.536847],[102.638587,32.536848],[102.638586,32.536848],[102.638572,32.536858],[102.638505,32.536904],[102.638494,32.536911],[102.638493,32.536912],[102.638376,32.536992],[102.638376,32.536992],[102.638375,32.536993],[102.638283,32.537056],[102.638224,32.537096],[102.637999,32.537479],[102.637977,32.537517],[102.637927,32.537602],[102.637863,32.537711],[102.637853,32.537728],[102.637723,32.537886],[102.637682,32.537935],[102.637676,32.537942],[102.637616,32.538015],[102.637606,32.538026],[102.637599,32.538036],[102.637578,32.538061],[102.637513,32.538057],[102.637285,32.538045],[102.637269,32.538044],[102.637093,32.538035],[102.637073,32.538034],[102.636613,32.538009],[102.636583,32.538007],[102.636515,32.538003],[102.636483,32.538003],[102.636457,32.538002],[102.636312,32.538],[102.635849,32.537991],[102.635572,32.538437],[102.635523,32.538508],[102.635512,32.538524],[102.635443,32.538626],[102.635439,32.538632],[102.63535,32.538763],[102.635295,32.538845],[102.634716,32.538909],[102.634383,32.539042],[102.634369,32.539048],[102.63427,32.539088],[102.634269,32.539088],[102.634268,32.539088],[102.634267,32.539116],[102.634263,32.539258],[102.634261,32.539351],[102.63426,32.539366],[102.63426,32.539389],[102.634332,32.539479],[102.634336,32.539484],[102.634465,32.539644],[102.634475,32.539656],[102.634502,32.539652],[102.634853,32.539595],[102.635012,32.539569],[102.635099,32.539555],[102.635224,32.539591],[102.635234,32.539594],[102.635296,32.539612],[102.635763,32.539745],[102.635773,32.539748],[102.635803,32.539756],[102.635805,32.539763],[102.635849,32.539881],[102.635864,32.539923],[102.635927,32.540097],[102.635744,32.540319],[102.635162,32.540337],[102.635121,32.540338],[102.634989,32.540342],[102.634727,32.540324],[102.634704,32.540323],[102.634236,32.540291],[102.634144,32.540353],[102.633965,32.540473],[102.633956,32.5405],[102.633821,32.540884],[102.633902,32.541164],[102.633902,32.541164],[102.633902,32.541166],[102.633928,32.541255],[102.633928,32.541256],[102.633933,32.541275],[102.633966,32.541389],[102.633984,32.541451],[102.634002,32.541525],[102.634022,32.541607],[102.634025,32.541618],[102.634028,32.54163],[102.634043,32.541692],[102.634043,32.541694],[102.634044,32.541696],[102.634104,32.541942],[102.633512,32.542532],[102.632525,32.542927],[102.632235,32.542876],[102.632217,32.542873],[102.632135,32.542859],[102.632132,32.542858],[102.63213,32.542858],[102.632039,32.542842],[102.631989,32.54277],[102.631935,32.542694],[102.631934,32.542692],[102.631933,32.54269],[102.631826,32.542538],[102.631837,32.542473],[102.63184,32.542455],[102.631842,32.542444],[102.631869,32.542291],[102.631889,32.542171],[102.631892,32.542158],[102.63193,32.541938],[102.631845,32.541759],[102.631836,32.54174],[102.63176,32.541581],[102.631678,32.541408],[102.631678,32.541408],[102.631678,32.541407],[102.631635,32.541408],[102.630901,32.541419],[102.630886,32.541419],[102.630884,32.541419],[102.630883,32.541419],[102.630881,32.541419],[102.630813,32.54142],[102.630765,32.541421],[102.630765,32.541421],[102.630756,32.541421],[102.630568,32.541424],[102.629999,32.541316],[102.629969,32.541311],[102.62988,32.541294],[102.629861,32.54129],[102.629685,32.541257],[102.629664,32.541304],[102.629571,32.54151],[102.629563,32.541528],[102.629517,32.541628],[102.629508,32.54165],[102.62945,32.541779],[102.629441,32.541815],[102.629349,32.542228],[102.629265,32.542271],[102.62922,32.542295],[102.629207,32.542302],[102.629114,32.54235],[102.629104,32.542355],[102.629047,32.542384],[102.628719,32.542554],[102.628708,32.54261],[102.628705,32.542621],[102.628685,32.542719],[102.628655,32.54286],[102.628621,32.543023],[102.628618,32.543041],[102.628567,32.543054],[102.628128,32.543169],[102.627813,32.543251],[102.626966,32.542985],[102.626669,32.542891],[102.62662,32.542915],[102.626593,32.542927],[102.626426,32.543006],[102.626403,32.543016],[102.626329,32.543051],[102.62613,32.543144],[102.625855,32.543477],[102.62537,32.543724],[102.625351,32.543734],[102.62531,32.543755],[102.62528,32.54377],[102.625001,32.543912],[102.624776,32.544049],[102.624695,32.544097],[102.624693,32.544098],[102.624692,32.544099],[102.624691,32.5441],[102.624451,32.544246],[102.624279,32.54435],[102.622941,32.544625],[102.62239,32.545329],[102.621734,32.545806],[102.6217,32.545832],[102.621648,32.545869],[102.621587,32.545914],[102.621511,32.545969],[102.621485,32.545988],[102.62146,32.546013],[102.621385,32.546088],[102.621333,32.546139],[102.621213,32.546259],[102.621212,32.54626],[102.621211,32.546261],[102.621171,32.546301],[102.620892,32.546578],[102.620664,32.54663],[102.620648,32.546634],[102.620533,32.546661],[102.620532,32.546661],[102.62053,32.546661],[102.620412,32.546688],[102.620133,32.546752],[102.619927,32.546707],[102.619825,32.546684],[102.619653,32.546646],[102.619616,32.546638],[102.619578,32.54663],[102.619383,32.546587],[102.618569,32.547173],[102.61838,32.547621],[102.618233,32.548144],[102.618076,32.549043],[102.617824,32.550203],[102.617631,32.550764],[102.617712,32.551066],[102.618283,32.551302],[102.618628,32.551647],[102.61853,32.552021],[102.618168,32.552277],[102.617194,32.552183],[102.617168,32.552177],[102.616737,32.552072],[102.616357,32.55198],[102.616033,32.552462],[102.616057,32.553252],[102.615821,32.553774],[102.614949,32.554847],[102.614437,32.555777],[102.614384,32.55592],[102.614365,32.555971],[102.614348,32.556017],[102.614332,32.556062],[102.614149,32.556561],[102.614135,32.557124],[102.61425,32.557803],[102.614545,32.558372],[102.614831,32.559317],[102.615034,32.560035],[102.615287,32.560529],[102.615703,32.560952],[102.615734,32.560985],[102.615762,32.561012],[102.616151,32.561409],[102.616296,32.56148],[102.616302,32.561483],[102.616353,32.561508],[102.616994,32.561823],[102.617028,32.561839],[102.617147,32.56201],[102.617148,32.56201],[102.617228,32.562125],[102.617354,32.562305],[102.617369,32.562326],[102.61737,32.562328],[102.617371,32.562329],[102.617405,32.562378],[102.617435,32.562421],[102.617455,32.562449],[102.617449,32.562674],[102.617223,32.562857],[102.617187,32.562887],[102.617086,32.562968],[102.616705,32.563109],[102.616523,32.563175],[102.616504,32.563183],[102.616316,32.563555],[102.616205,32.564417],[102.616144,32.565017],[102.616011,32.565504],[102.615988,32.565587],[102.615899,32.565915],[102.6159,32.565956],[102.615901,32.566006],[102.61592,32.56678],[102.615962,32.566833],[102.616059,32.56696],[102.616069,32.566972],[102.616119,32.567038],[102.616138,32.567062],[102.616478,32.567504],[102.617125,32.568231],[102.617211,32.56852],[102.617235,32.568598],[102.617237,32.568605],[102.617303,32.568825],[102.617329,32.568911],[102.617329,32.568932],[102.61733,32.569001],[102.617331,32.56903],[102.617347,32.569889],[102.617188,32.570863],[102.617127,32.571108],[102.617046,32.571433],[102.617039,32.571461],[102.616982,32.571949],[102.617373,32.572257],[102.618068,32.572834],[102.618411,32.573291],[102.618447,32.573593],[102.618232,32.573802],[102.61822,32.573814],[102.618214,32.573818],[102.618213,32.573818],[102.618213,32.573818],[102.618204,32.573824],[102.618086,32.573899],[102.618041,32.573927],[102.617779,32.574093],[102.617618,32.574196],[102.617617,32.574197],[102.617617,32.574197],[102.617588,32.574215],[102.617564,32.574246],[102.617547,32.574268],[102.617547,32.574268],[102.617546,32.574269],[102.617128,32.574808],[102.617024,32.57537],[102.616962,32.576045],[102.616933,32.577135],[102.617007,32.57732],[102.617135,32.577638],[102.617158,32.577697],[102.617264,32.577963],[102.617266,32.577968],[102.617266,32.577979],[102.617244,32.578794],[102.617495,32.5794],[102.617835,32.579564],[102.6179,32.579595],[102.617943,32.579616],[102.618065,32.579674],[102.618076,32.579699],[102.618076,32.579699],[102.618076,32.579699],[102.618089,32.579725],[102.618191,32.57994],[102.618139,32.580202],[102.61809,32.580389],[102.617912,32.580468],[102.617675,32.580574],[102.617655,32.580583],[102.617559,32.580625],[102.617559,32.580625],[102.617559,32.580626],[102.617533,32.580637],[102.617281,32.580749],[102.617094,32.581122],[102.617205,32.581575],[102.61721,32.581597],[102.617214,32.581612],[102.617246,32.581645],[102.61735,32.581753],[102.617388,32.581793],[102.617473,32.581881],[102.617738,32.581961],[102.617747,32.582039],[102.61777,32.582225],[102.617774,32.582262],[102.61777,32.582433],[102.617768,32.582485],[102.617767,32.582521],[102.617765,32.5826],[102.617679,32.582635],[102.617522,32.582697],[102.617414,32.582741],[102.617406,32.582744],[102.617249,32.582799],[102.617226,32.582808],[102.6166,32.583029],[102.616367,32.583438],[102.616362,32.583475],[102.616362,32.583477],[102.616361,32.583478],[102.61636,32.583488],[102.616351,32.583557],[102.616346,32.583592],[102.616342,32.583623],[102.616311,32.58385],[102.616365,32.584163],[102.616381,32.584261],[102.616384,32.584277],[102.616389,32.584305],[102.616401,32.584379],[102.616404,32.584397],[102.616407,32.584412],[102.616427,32.584529],[102.616227,32.585352],[102.616278,32.585615],[102.61628,32.585623],[102.616338,32.585925],[102.616344,32.585956],[102.616352,32.585974],[102.616478,32.586297],[102.616519,32.586401],[102.616552,32.586486],[102.616534,32.586583],[102.616514,32.586694],[102.616449,32.587048],[102.616342,32.587288],[102.616305,32.58737],[102.616298,32.587384],[102.616253,32.587485],[102.616247,32.587499],[102.616242,32.587511],[102.616241,32.587512],[102.616241,32.587512],[102.616166,32.587681],[102.616333,32.58806],[102.616396,32.588181],[102.616442,32.58827],[102.616519,32.588418],[102.616522,32.588425],[102.616564,32.588505],[102.616629,32.58863],[102.616997,32.588719],[102.616998,32.588719],[102.616999,32.58872],[102.617029,32.588727],[102.617206,32.58877],[102.617207,32.58877],[102.617208,32.588771],[102.617467,32.588833],[102.617815,32.589103],[102.617765,32.589328],[102.617676,32.589356],[102.617661,32.589361],[102.617608,32.589378],[102.617561,32.589394],[102.617546,32.589399],[102.617158,32.589524],[102.617122,32.589536],[102.617074,32.589552],[102.616999,32.589576],[102.616972,32.589585],[102.616779,32.589647],[102.616592,32.59002],[102.6166,32.5901],[102.616607,32.59016],[102.616616,32.590252],[102.61662,32.590286],[102.616627,32.590359],[102.617152,32.590885],[102.617265,32.590998],[102.617276,32.59101],[102.617339,32.591066],[102.617358,32.591082],[102.617441,32.591156],[102.617462,32.591174],[102.61797,32.591624],[102.618629,32.5919],[102.618865,32.592067],[102.619065,32.592209],[102.619144,32.592549],[102.618648,32.592833],[102.61849,32.592893],[102.618389,32.592931],[102.618246,32.592986],[102.618143,32.593025],[102.617866,32.59313],[102.617563,32.593467],[102.617771,32.593939],[102.618056,32.594319],[102.618823,32.594552],[102.619408,32.59475],[102.619447,32.594821],[102.619482,32.594884],[102.619536,32.59498],[102.619583,32.595065],[102.619583,32.595065],[102.619583,32.595066],[102.619571,32.595143],[102.619564,32.595186],[102.619539,32.595345],[102.619523,32.595354],[102.619127,32.595587],[102.619023,32.595659],[102.618996,32.595678],[102.618947,32.595711],[102.618912,32.595736],[102.61891,32.595738],[102.618908,32.595739],[102.618602,32.595951],[102.618557,32.596287],[102.618556,32.596293],[102.618919,32.596421],[102.618953,32.596433],[102.619213,32.596524],[102.619244,32.596551],[102.619282,32.596584],[102.61935,32.596645],[102.619548,32.59682],[102.619609,32.596874],[102.619648,32.596927],[102.620002,32.597411],[102.620046,32.59747],[102.62011,32.597558],[102.620125,32.597578],[102.620143,32.597602],[102.620386,32.598168],[102.620451,32.598311],[102.620462,32.598333],[102.62052,32.598459],[102.620521,32.598461],[102.620521,32.598461],[102.620541,32.598504],[102.620541,32.598505],[102.620541,32.598506],[102.62056,32.598545],[102.620145,32.598912],[102.62012,32.598941],[102.620093,32.598973],[102.619988,32.599097],[102.619979,32.599108],[102.619941,32.599153],[102.619624,32.599528],[102.619614,32.59954],[102.619574,32.599587],[102.619776,32.599746],[102.619899,32.599843],[102.619891,32.599908],[102.619889,32.599925],[102.619879,32.600015],[102.619878,32.600022],[102.619875,32.600045],[102.619852,32.600247],[102.619406,32.600395],[102.619385,32.600493],[102.619374,32.600544],[102.619357,32.600628],[102.619352,32.60065],[102.61934,32.60071],[102.619337,32.600725],[102.61933,32.600758],[102.619321,32.600799],[102.619576,32.601376],[102.619599,32.601428],[102.619655,32.601528],[102.619753,32.601704],[102.619784,32.601759],[102.619805,32.601797],[102.61981,32.601806],[102.620164,32.602357],[102.620595,32.602738],[102.620996,32.603038],[102.620927,32.603277],[102.620717,32.603433],[102.620715,32.603434],[102.620713,32.603436],[102.620627,32.6035],[102.620613,32.60351],[102.620611,32.603512],[102.620609,32.603513],[102.620366,32.603694],[102.620353,32.603704],[102.620236,32.603791],[102.620229,32.603796],[102.620124,32.603874],[102.620124,32.603875],[102.620124,32.603876],[102.620081,32.604039],[102.620076,32.604059],[102.620063,32.604105],[102.620037,32.604206],[102.620019,32.604272],[102.619949,32.604537],[102.619936,32.604566],[102.619885,32.604681],[102.619715,32.605065],[102.619722,32.605083],[102.619725,32.605092],[102.619734,32.605116],[102.619765,32.605202],[102.619773,32.605222],[102.619777,32.605235],[102.619869,32.605487],[102.619891,32.605547],[102.619896,32.605554],[102.620058,32.605784],[102.620064,32.605791],[102.620064,32.605792],[102.620065,32.605793],[102.620241,32.606042],[102.620407,32.606276],[102.620674,32.606738],[102.620675,32.606739],[102.620675,32.606739],[102.620718,32.606814],[102.620722,32.60682],[102.620723,32.606821],[102.620723,32.606822],[102.620828,32.607003],[102.621488,32.607016],[102.621904,32.607142],[102.621934,32.607151],[102.622028,32.607179],[102.62203,32.60718],[102.622031,32.60718],[102.62205,32.607186],[102.62205,32.607187],[102.62205,32.607188],[102.622056,32.607288],[102.622056,32.607289],[102.622056,32.60729],[102.622058,32.60732],[102.622072,32.607559],[102.621903,32.607706],[102.621892,32.607716],[102.621809,32.607789],[102.621802,32.607795],[102.621774,32.607819],[102.621653,32.607924],[102.621549,32.608132],[102.62152,32.608188],[102.621798,32.608406],[102.622085,32.60853],[102.622103,32.608538],[102.62212,32.608545],[102.622575,32.608741],[102.623239,32.608937],[102.623824,32.609111],[102.624476,32.609443],[102.625058,32.609693],[102.625316,32.609805],[102.6257,32.610144],[102.626085,32.610485],[102.626103,32.610498],[102.626128,32.610517],[102.62614,32.610526],[102.626181,32.610556],[102.626207,32.610575],[102.626208,32.610576],[102.626208,32.610576],[102.626225,32.610588],[102.626455,32.610758],[102.626729,32.610703],[102.626824,32.610684],[102.62685,32.610678],[102.627056,32.610636],[102.627375,32.610483],[102.627402,32.61047],[102.627463,32.61044],[102.627524,32.610411],[102.627534,32.610406],[102.628151,32.610442],[102.628191,32.610445],[102.628193,32.610445],[102.628194,32.610445],[102.628207,32.610464],[102.628234,32.610503],[102.628258,32.610537],[102.628436,32.610796],[102.628396,32.611017],[102.628373,32.61114],[102.628373,32.611142],[102.628372,32.611145],[102.628363,32.611194],[102.628333,32.611245],[102.628327,32.611257],[102.628317,32.611274],[102.628165,32.611536],[102.627812,32.611823],[102.627149,32.611975],[102.627071,32.611993],[102.627054,32.611997],[102.627017,32.612006],[102.626968,32.612017],[102.626966,32.612017],[102.626965,32.612018],[102.626957,32.612019],[102.626769,32.612071],[102.626761,32.612073],[102.626749,32.612076],[102.626707,32.612088],[102.626667,32.612099],[102.626667,32.612099],[102.626667,32.612099],[102.62666,32.612101],[102.626415,32.612168],[102.626406,32.612171],[102.626355,32.612185],[102.626338,32.61219],[102.626323,32.612194],[102.626323,32.612194],[102.626323,32.612194],[102.626309,32.612255],[102.626302,32.612287],[102.626252,32.612512],[102.626312,32.612569],[102.625465,32.612859],[102.624053,32.613234],[102.623637,32.613392],[102.623002,32.613632],[102.621617,32.614163],[102.620392,32.614882],[102.619166,32.615647],[102.61789,32.616226],[102.617115,32.616743],[102.616607,32.617083],[102.615944,32.617552],[102.615944,32.617552],[102.615932,32.61756],[102.615859,32.617612],[102.615854,32.617616],[102.615852,32.617617],[102.615849,32.617619],[102.615713,32.617715],[102.614268,32.618476],[102.613601,32.618651],[102.61344,32.618693],[102.613437,32.618693],[102.613434,32.618693],[102.613217,32.618688],[102.613205,32.618688],[102.613203,32.618688],[102.613201,32.618688],[102.613188,32.618688],[102.612932,32.618683],[102.611947,32.618664],[102.611765,32.618661],[102.61174,32.61866],[102.611682,32.618659],[102.61147,32.618655],[102.611469,32.618655],[102.611467,32.618655],[102.61119,32.618646],[102.611136,32.618644],[102.611033,32.618641],[102.608017,32.618543],[102.606769,32.618055],[102.606245,32.617966],[102.606222,32.617962],[102.606214,32.617961],[102.606199,32.617958],[102.606198,32.617958],[102.605241,32.617794],[102.603269,32.617757],[102.602074,32.617363],[102.602038,32.617348],[102.601474,32.617115],[102.60143,32.617097],[102.601357,32.617067],[102.601329,32.617056],[102.600466,32.6167],[102.600068,32.616536],[102.597516,32.615606],[102.595497,32.615288],[102.595396,32.615221],[102.595355,32.615193],[102.582898,32.606836],[102.582228,32.607287],[102.581482,32.608525],[102.58152,32.609175],[102.581008,32.609861],[102.57961,32.610901],[102.578108,32.611707],[102.576709,32.612793],[102.575478,32.613697],[102.573846,32.615289],[102.573049,32.616387],[102.571868,32.617478],[102.571581,32.617982],[102.571601,32.618039],[102.57126,32.617698],[102.569487,32.616365],[102.568248,32.615552],[102.566533,32.614127],[102.564395,32.612091],[102.563974,32.611707],[102.563718,32.611475],[102.562416,32.61029],[102.562163,32.610092],[102.561452,32.609536],[102.561153,32.609302],[102.560591,32.608863],[102.558981,32.607625],[102.557963,32.606542],[102.557915,32.606495],[102.556955,32.605545],[102.555829,32.604595],[102.554367,32.603963],[102.552908,32.603193],[102.551884,32.60257],[102.551303,32.60177],[102.550905,32.600277],[102.550447,32.59897],[102.550293,32.598595],[102.550069,32.596782],[102.549878,32.595711],[102.549407,32.594913],[102.548332,32.59415],[102.54731,32.593434],[102.546462,32.592397],[102.545948,32.591135],[102.545921,32.590114],[102.545678,32.588996],[102.54536,32.587976],[102.544673,32.5867],[102.543554,32.585416],[102.542467,32.584703],[102.54218,32.584338],[102.541791,32.583844],[102.541491,32.583462],[102.540609,32.582305],[102.539476,32.581509],[102.537194,32.580568],[102.536107,32.579855],[102.535204,32.579471],[102.534077,32.578471],[102.532809,32.577347],[102.531688,32.576144],[102.531133,32.575374],[102.530854,32.574988],[102.530168,32.573712],[102.529045,32.572591],[102.527781,32.571344],[102.526843,32.570471],[102.526094,32.569723],[102.5254,32.568732],[102.523355,32.569669],[102.522416,32.570587],[102.521822,32.571186],[102.521015,32.571679],[102.520208,32.572172],[102.519256,32.572703],[102.518304,32.573234],[102.517669,32.573588],[102.517034,32.573942],[102.516473,32.574236],[102.515912,32.57453],[102.515348,32.57403],[102.514792,32.573286],[102.514165,32.571605],[102.513242,32.568451],[102.51295,32.567733],[102.512657,32.567015],[102.512405,32.566541],[102.512154,32.566068],[102.511419,32.564832],[102.510436,32.563876],[102.50877,32.563232],[102.507486,32.562718],[102.506481,32.562576],[102.504697,32.562744],[102.503587,32.562885],[102.502444,32.562496],[102.501691,32.561911],[102.500606,32.561157],[102.500186,32.560653],[102.499293,32.559765],[102.49861,32.559286],[102.497559,32.558799],[102.496792,32.55869],[102.496292,32.558183],[102.495354,32.557636],[102.494116,32.557301],[102.492686,32.557272],[102.491842,32.557256],[102.489647,32.557056],[102.487423,32.556546],[102.486081,32.555991],[102.485368,32.555262],[102.484481,32.554188],[102.483219,32.553417],[102.481977,32.553206],[102.480878,32.553153],[102.479813,32.553193],[102.478815,32.553484],[102.477734,32.554084],[102.476735,32.554374],[102.475829,32.553983],[102.474416,32.553365],[102.47367,32.55248],[102.473065,32.551846],[102.472159,32.551424],[102.471013,32.550438],[102.470299,32.54974],[102.468744,32.548963],[102.467287,32.548592],[102.46605,32.548225],[102.4643,32.547848],[102.463179,32.547266],[102.460086,32.546365],[102.459078,32.546094],[102.458958,32.546062],[102.457791,32.545821],[102.456446,32.54539],[102.455121,32.54555],[102.454127,32.545685],[102.453052,32.546067],[102.452302,32.546642],[102.451482,32.547123],[102.451184,32.547272],[102.450201,32.54573],[102.449856,32.544946],[102.449447,32.54385],[102.448991,32.543126],[102.448533,32.542433],[102.448003,32.541739],[102.446959,32.53973],[102.446332,32.538567],[102.445894,32.537191],[102.445777,32.536164],[102.445949,32.535266],[102.446018,32.534118],[102.446146,32.532194],[102.445887,32.530977],[102.445242,32.530436],[102.444486,32.529924],[102.443733,32.529318],[102.443353,32.528502],[102.44224,32.526367],[102.441493,32.525544],[102.440397,32.524124],[102.439554,32.522802],[102.438827,32.521264],[102.438334,32.520571],[102.437275,32.51912],[102.436642,32.518175],[102.436476,32.51755],[102.43655,32.516247],[102.436475,32.515003],[102.436284,32.514005],[102.435728,32.512906],[102.434672,32.511362],[102.433868,32.510285],[102.433824,32.510227],[102.43312,32.509575],[102.432931,32.509401],[102.432183,32.50864],[102.431598,32.508597],[102.430677,32.508733],[102.429867,32.508841],[102.429025,32.508824],[102.428243,32.509243],[102.427608,32.509634],[102.426945,32.509744],[102.426506,32.509704],[102.425981,32.508855],[102.425522,32.508224],[102.425108,32.507315],[102.424621,32.506404],[102.423749,32.504832],[102.423334,32.503954],[102.422733,32.503165],[102.421837,32.502463],[102.420953,32.501327],[102.419839,32.500527],[102.419134,32.499549],[102.418382,32.498912],[102.417991,32.498501],[102.41708,32.498295],[102.416129,32.498214],[102.415415,32.497547],[102.414671,32.49663],[102.414039,32.495654],[102.413291,32.494893],[102.412626,32.493823],[102.412076,32.492538],[102.411555,32.491533],[102.4104,32.490262],[102.410346,32.490203],[102.409793,32.490316],[102.408235,32.490968],[102.406641,32.491587],[102.404943,32.492018],[102.403426,32.492484],[102.401838,32.492886],[102.39955,32.493429],[102.398591,32.493627],[102.39755,32.494134],[102.396198,32.495255],[102.395597,32.495771],[102.394946,32.49672],[102.39345,32.49902],[102.392357,32.500053],[102.39145,32.500998],[102.390805,32.501761],[102.388941,32.502841],[102.387068,32.5042],[102.38572,32.505197],[102.385074,32.50596],[102.383365,32.506733],[102.382615,32.507307],[102.382738,32.508149],[102.383064,32.509554],[102.383438,32.510556],[102.383621,32.511833],[102.383698,32.512953],[102.383724,32.5146],[102.383657,32.515655],[102.383771,32.516776],[102.383332,32.51801],[102.382852,32.519367],[102.382207,32.52013],[102.381558,32.521017],[102.380539,32.522021],[102.379417,32.522775],[102.378211,32.523868],[102.377822,32.524668],[102.377871,32.525476],[102.377972,32.527063],[102.377631,32.528702],[102.377549,32.530254],[102.377136,32.531861],[102.376584,32.533185],[102.376016,32.533795],[102.37504,32.534551],[102.373334,32.535199],[102.372542,32.535959],[102.372117,32.536696],[102.371844,32.537249],[102.371856,32.538088],[102.372261,32.539308],[102.373035,32.540443],[102.373745,32.541235],[102.374962,32.542285],[102.37572,32.542705],[102.374689,32.543243],[102.373359,32.543588],[102.37271,32.54403],[102.371856,32.544799],[102.371485,32.545785],[102.370863,32.547015],[102.370621,32.548584],[102.370768,32.550244],[102.371133,32.551163],[102.371114,32.551825],[102.371143,32.552489],[102.371367,32.553198],[102.371336,32.554274],[102.37106,32.555345],[102.371419,32.55643],[102.371835,32.557267],[102.372095,32.558432],[102.371833,32.559007],[102.371375,32.559618],[102.370662,32.560597],[102.36994,32.561866],[102.369078,32.562925],[102.367625,32.564096],[102.366579,32.564737],[102.36504,32.565492],[102.363617,32.565669],[102.362341,32.565808],[102.361909,32.565818],[102.360432,32.565851],[102.358537,32.565397],[102.3566,32.564735],[102.354179,32.563897],[102.352248,32.563027],[102.349503,32.561313],[102.349447,32.561278],[102.349438,32.561272],[102.349333,32.561206],[102.348553,32.561079],[102.347883,32.561673],[102.34695,32.562316],[102.345982,32.56263],[102.34583,32.56268],[102.345486,32.562374],[102.345415,32.56231],[102.345399,32.562296],[102.345385,32.562283],[102.345343,32.562247],[102.345548,32.561984],[102.345821,32.561634],[102.346003,32.56141],[102.346041,32.561381],[102.348367,32.558314],[102.348425,32.558238],[102.348522,32.558109],[102.348583,32.558026],[102.348666,32.557914],[102.348749,32.557802],[102.348847,32.55767],[102.348932,32.557554],[102.349038,32.557411],[102.349142,32.557271],[102.349231,32.55715],[102.349318,32.557032],[102.349418,32.556897],[102.349512,32.556771],[102.349695,32.556553],[102.349703,32.55654],[102.349759,32.556404],[102.349798,32.556311],[102.349878,32.556201],[102.349989,32.555919],[102.35,32.555883],[102.349991,32.555878],[102.349991,32.555878],[102.349987,32.555876],[102.349986,32.555876],[102.349925,32.555861],[102.349923,32.55586],[102.349919,32.55586],[102.349823,32.555859],[102.349894,32.555709],[102.346816,32.55505],[102.34683,32.554943],[102.346801,32.554847],[102.346762,32.554785],[102.346736,32.55474],[102.346714,32.554735],[102.346683,32.554727],[102.346649,32.554718],[102.346591,32.554702],[102.345877,32.554516],[102.34583,32.554504],[102.345829,32.554503],[102.345826,32.554502],[102.345758,32.554485],[102.345357,32.55438],[102.344319,32.554218],[102.343833,32.554143],[102.341371,32.55376],[102.340766,32.553666],[102.340686,32.553653],[102.340656,32.553649],[102.340496,32.553624],[102.34042,32.553612],[102.340021,32.553555],[102.33868,32.553364],[102.3386,32.553352],[102.33851,32.553287],[102.338472,32.553259],[102.338364,32.553181],[102.338258,32.553062],[102.338165,32.553037],[102.337747,32.552734],[102.337578,32.552612],[102.336849,32.552441],[102.336695,32.552405],[102.336584,32.552379],[102.33656,32.552374],[102.336436,32.552345],[102.336378,32.552331],[102.336358,32.552326],[102.33634,32.552322],[102.336023,32.552248],[102.334344,32.551659],[102.333546,32.55214],[102.332677,32.55284],[102.331867,32.553762],[102.33093,32.553798],[102.329113,32.553464],[102.329052,32.553474],[102.328977,32.553487],[102.328755,32.553524],[102.32853,32.553583],[102.328214,32.553667],[102.328045,32.553776],[102.327067,32.554405],[102.327033,32.554427],[102.326996,32.554451],[102.326831,32.554874],[102.326793,32.554865],[102.32676,32.554848],[102.326524,32.555242],[102.326171,32.555833],[102.325323,32.558026],[102.324932,32.559491],[102.324613,32.559874],[102.324574,32.559872],[102.324288,32.559863],[102.324067,32.559862],[102.32406,32.559863],[102.324016,32.559867],[102.323856,32.559882],[102.32385,32.559884],[102.323706,32.559915],[102.323697,32.559917],[102.323552,32.559976],[102.323525,32.559977],[102.323031,32.560192],[102.322969,32.560219],[102.322555,32.560398],[102.322485,32.560433],[102.322418,32.560466],[102.321407,32.560963],[102.319668,32.560926],[102.318094,32.561187],[102.31669,32.5616],[102.314074,32.561765],[102.312079,32.561575],[102.310799,32.560737],[102.309784,32.559757],[102.307993,32.55854],[102.306281,32.557619],[102.304401,32.556473],[102.302954,32.555411],[102.302104,32.554729],[102.301324,32.554639],[102.300189,32.554762],[102.298365,32.554649],[102.296448,32.554755],[102.294988,32.554134],[102.293699,32.553591],[102.29276,32.552991],[102.292504,32.552828],[102.292411,32.552783],[102.290274,32.551748],[102.289186,32.551087],[102.289115,32.551044],[102.289111,32.551039],[102.289096,32.551032],[102.289086,32.551026],[102.288978,32.55096],[102.2884,32.550609],[102.288414,32.550606],[102.288469,32.550587],[102.28855,32.55056],[102.288645,32.550496],[102.288745,32.550402],[102.288845,32.550276],[102.288937,32.550067],[102.28903,32.549859],[102.289039,32.549804],[102.289077,32.549568],[102.289077,32.549557],[102.28908,32.54948],[102.289081,32.549434],[102.289085,32.54931],[102.289093,32.549052],[102.289101,32.548794],[102.289109,32.548536],[102.289133,32.54839],[102.28915,32.548296],[102.28916,32.548245],[102.289175,32.548166],[102.289178,32.548149],[102.289221,32.547987],[102.28928,32.54785],[102.289303,32.547796],[102.289345,32.547706],[102.289386,32.547619],[102.289411,32.547564],[102.289487,32.547397],[102.28953,32.54725],[102.289573,32.547074],[102.289619,32.546864],[102.289623,32.546706],[102.289624,32.546653],[102.289617,32.546281],[102.289617,32.546281],[102.289617,32.546281],[102.289607,32.545957],[102.289607,32.545957],[102.2896,32.545586],[102.2896,32.545586],[102.2896,32.545586],[102.289626,32.545359],[102.289635,32.545332],[102.289667,32.545241],[102.28971,32.545118],[102.289751,32.544979],[102.289758,32.544954],[102.289779,32.544881],[102.289848,32.544644],[102.289918,32.544406],[102.289987,32.544169],[102.290056,32.543938],[102.290058,32.543929],[102.290092,32.543816],[102.290124,32.543711],[102.290191,32.543486],[102.290198,32.543463],[102.290193,32.543306],[102.290188,32.543155],[102.290166,32.542956],[102.290157,32.542879],[102.290115,32.542721],[102.290088,32.54262],[102.29002,32.542495],[102.289962,32.54239],[102.289864,32.54229],[102.28972,32.542143],[102.289495,32.541959],[102.28935,32.541812],[102.289348,32.541811],[102.289333,32.541784],[102.289308,32.541738],[102.289275,32.541679],[102.28928,32.54155],[102.28928,32.541534],[102.289411,32.541302],[102.289542,32.54107],[102.289565,32.541044],[102.28976,32.540832],[102.289841,32.540751],[102.289997,32.540595],[102.29006,32.540515],[102.290166,32.54038],[102.290335,32.540165],[102.290613,32.539815],[102.290782,32.539617],[102.29087,32.539513],[102.291002,32.539234],[102.291014,32.539208],[102.291158,32.538904],[102.291228,32.538686],[102.291285,32.538512],[102.291411,32.53812],[102.291443,32.537688],[102.291444,32.537673],[102.291473,32.537281],[102.291475,32.537256],[102.291482,32.537162],[102.291498,32.536943],[102.291507,32.536823],[102.291539,32.536391],[102.291543,32.53619],[102.291544,32.536135],[102.291545,32.536106],[102.29155,32.53588],[102.291551,32.535845],[102.291552,32.535791],[102.291556,32.535646],[102.291556,32.535635],[102.291556,32.535624],[102.291557,32.535586],[102.291558,32.535548],[102.29156,32.535457],[102.291561,32.535431],[102.291561,32.535421],[102.291562,32.535369],[102.291568,32.535128],[102.291568,32.535113],[102.291571,32.534988],[102.291574,32.534858],[102.291576,32.534775],[102.291577,32.534741],[102.29158,32.534602],[102.291585,32.534369],[102.291586,32.534347],[102.291587,32.534278],[102.291591,32.534095],[102.291591,32.534091],[102.291593,32.534041],[102.291597,32.533836],[102.2916,32.533667],[102.291601,32.533607],[102.291603,32.533474],[102.291604,32.533377],[102.291607,32.533202],[102.291608,32.533148],[102.291608,32.533143],[102.291611,32.532919],[102.291615,32.53269],[102.291618,32.532461],[102.291606,32.532234],[102.291594,32.532007],[102.2916,32.5318],[102.291606,32.531603],[102.291693,32.531281],[102.291856,32.530929],[102.291958,32.530728],[102.29206,32.530528],[102.292179,32.530385],[102.292181,32.530384],[102.292182,32.530383],[102.292266,32.530315],[102.292316,32.530275],[102.292329,32.530268],[102.292334,32.530266],[102.292363,32.53025],[102.292381,32.530241],[102.292429,32.530215],[102.29255,32.530151],[102.292693,32.530093],[102.292867,32.530023],[102.292988,32.529974],[102.293019,32.529961],[102.293185,32.529894],[102.293198,32.529882],[102.293227,32.529854],[102.293283,32.529803],[102.293323,32.529766],[102.293335,32.529728],[102.29336,32.529658],[102.293427,32.529462],[102.293358,32.529217],[102.293284,32.528984],[102.29327,32.528941],[102.293276,32.528885],[102.293287,32.528783],[102.293297,32.528699],[102.293526,32.52838],[102.293617,32.528253],[102.293646,32.528213],[102.293756,32.52806],[102.293755,32.528047],[102.293754,32.528022],[102.293746,32.52777],[102.2936,32.527508],[102.293413,32.527382],[102.293225,32.527256],[102.292904,32.527136],[102.292579,32.527113],[102.292176,32.527136],[102.291888,32.527196],[102.291654,32.52732],[102.291325,32.527442],[102.291077,32.527428],[102.290834,32.527415],[102.290829,32.527414],[102.290694,32.527395],[102.29058,32.527378],[102.290573,32.527377],[102.290447,32.527359],[102.29019,32.527312],[102.289934,32.527266],[102.289834,32.527264],[102.289666,32.527261],[102.289398,32.527255],[102.289158,32.527298],[102.288918,32.527341],[102.288762,32.527395],[102.288754,32.527398],[102.288674,32.527425],[102.288608,32.527448],[102.288592,32.527453],[102.28853,32.527475],[102.28833,32.527544],[102.288299,32.527555],[102.288066,32.527687],[102.288017,32.527715],[102.287832,32.52782],[102.287531,32.527943],[102.287231,32.528066],[102.286942,32.528141],[102.28688,32.528137],[102.286713,32.528128],[102.286645,32.528124],[102.286485,32.528114],[102.286484,32.528114],[102.286484,32.528114],[102.286415,32.528068],[102.286346,32.528022],[102.286183,32.527914],[102.286152,32.527884],[102.285979,32.527715],[102.285893,32.527406],[102.285882,32.527132],[102.285884,32.527047],[102.285889,32.526855],[102.285856,32.526676],[102.285856,32.526675],[102.285855,32.526673],[102.285855,32.526673],[102.285847,32.526658],[102.285766,32.526496],[102.285504,32.52633],[102.285296,32.526214],[102.285087,32.526098],[102.284958,32.525966],[102.284809,32.525784],[102.284718,32.525619],[102.284717,32.525617],[102.28468,32.52555],[102.284665,32.525522],[102.284656,32.525453],[102.284639,32.525333],[102.284635,32.525304],[102.284633,32.525287],[102.284602,32.525053],[102.284611,32.524729],[102.284548,32.524322],[102.284436,32.524207],[102.284286,32.524139],[102.284056,32.524134],[102.283644,32.524115],[102.28349,32.524142],[102.283199,32.52425],[102.283117,32.524298],[102.282927,32.524406],[102.2829,32.52443],[102.282726,32.52458],[102.282672,32.524628],[102.282626,32.524697],[102.282432,32.524994],[102.28231,32.525243],[102.282187,32.525491],[102.281985,32.525843],[102.281807,32.526001],[102.281711,32.526047],[102.281622,32.526062],[102.281542,32.526075],[102.281268,32.526119],[102.281229,32.526115],[102.281124,32.526105],[102.28104,32.526098],[102.280778,32.526024],[102.280517,32.52595],[102.280255,32.525876],[102.279993,32.525803],[102.279731,32.525729],[102.279469,32.525655],[102.279207,32.525582],[102.278945,32.525508],[102.278684,32.525434],[102.278422,32.52536],[102.278187,32.525303],[102.278015,32.525261],[102.277989,32.525255],[102.277952,32.525246],[102.277718,32.525189],[102.277483,32.525132],[102.277248,32.525075],[102.277143,32.525049],[102.277244,32.524826]]]]},"properties":{"cp":[102.40058259505227,32.42604846213644],"code":"513233105","name":"龙日镇","level":"street","center":[102.40058259505227,32.42604846213644],"fullCode":"513233105000","fullName":"四川省阿坝藏族羌族自治州红原县龙日镇","acreageMu":967058.51,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.484,32.3605]}},{"id":"513233202","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.164139,32.32538],[102.164223,32.325168],[102.164246,32.325109],[102.164401,32.324716],[102.164763,32.323798],[102.165261,32.322312],[102.16556,32.321436],[102.165852,32.320752],[102.165879,32.319908],[102.165875,32.318564],[102.166,32.317454],[102.16583,32.315684],[102.165822,32.315506],[102.165819,32.31544],[102.165725,32.313225],[102.165894,32.312154],[102.166521,32.310901],[102.167013,32.309607],[102.167377,32.308079],[102.167576,32.307548],[102.168019,32.306366],[102.168943,32.304276],[102.169317,32.303862],[102.169594,32.303676],[102.169845,32.303446],[102.16988,32.303412],[102.169881,32.303412],[102.170149,32.303418],[102.170447,32.303456],[102.170666,32.303588],[102.170876,32.303971],[102.171014,32.304353],[102.171151,32.304735],[102.171234,32.304987],[102.171316,32.30524],[102.171399,32.305492],[102.171482,32.305744],[102.171565,32.305997],[102.171647,32.306249],[102.17173,32.306501],[102.171761,32.306596],[102.171761,32.306597],[102.171813,32.306754],[102.171896,32.307006],[102.171978,32.307258],[102.172061,32.307511],[102.172144,32.307763],[102.172227,32.308015],[102.17231,32.308268],[102.172392,32.30852],[102.172475,32.308772],[102.172542,32.309035],[102.172609,32.309297],[102.172676,32.309559],[102.172743,32.309821],[102.172809,32.310084],[102.172876,32.310346],[102.172943,32.310608],[102.17301,32.31087],[102.173077,32.311132],[102.173144,32.311395],[102.173147,32.31153],[102.173149,32.311626],[102.173154,32.311858],[102.173159,32.31209],[102.173162,32.312223],[102.173164,32.312322],[102.173169,32.312553],[102.173174,32.312785],[102.173174,32.312789],[102.173149,32.313195],[102.173135,32.313427],[102.173124,32.313604],[102.173099,32.314014],[102.173089,32.314313],[102.17308,32.314613],[102.173092,32.314845],[102.173103,32.315054],[102.173243,32.315374],[102.173448,32.315537],[102.173654,32.315699],[102.17386,32.315862],[102.174066,32.316024],[102.174272,32.316187],[102.174442,32.316321],[102.174477,32.316349],[102.174659,32.316489],[102.174841,32.316629],[102.175022,32.316768],[102.175204,32.316908],[102.175386,32.317048],[102.175567,32.317188],[102.175749,32.317328],[102.175931,32.317467],[102.176112,32.317607],[102.176294,32.317747],[102.176508,32.317907],[102.176722,32.318068],[102.176937,32.318228],[102.177151,32.318388],[102.177365,32.318549],[102.17758,32.318709],[102.177807,32.318848],[102.178035,32.318988],[102.178263,32.319127],[102.178491,32.319266],[102.178762,32.319381],[102.178804,32.319399],[102.179102,32.319526],[102.179117,32.319532],[102.179485,32.319666],[102.179852,32.319801],[102.18013,32.319854],[102.180408,32.319908],[102.180502,32.319915],[102.180705,32.319931],[102.180802,32.319938],[102.181002,32.319953],[102.181411,32.319931],[102.181646,32.319857],[102.181881,32.319783],[102.182116,32.319709],[102.182314,32.319647],[102.182351,32.319636],[102.18258,32.31957],[102.182766,32.319517],[102.18281,32.319504],[102.18304,32.319438],[102.18327,32.319373],[102.1835,32.319307],[102.183729,32.319241],[102.183959,32.319176],[102.184189,32.31911],[102.18446,32.31906],[102.184732,32.319011],[102.185003,32.318961],[102.185223,32.318921],[102.185275,32.318912],[102.18561,32.318888],[102.185791,32.318875],[102.185946,32.318864],[102.186261,32.318887],[102.186577,32.31891],[102.186809,32.318957],[102.186836,32.318963],[102.187094,32.319015],[102.187309,32.31913],[102.187388,32.319173],[102.187524,32.319246],[102.187739,32.319361],[102.187954,32.319476],[102.188311,32.319699],[102.188668,32.319923],[102.188859,32.320043],[102.189051,32.320163],[102.189272,32.320247],[102.189493,32.32033],[102.189806,32.320432],[102.190119,32.320534],[102.190509,32.320542],[102.190899,32.320551],[102.191218,32.320479],[102.191536,32.320407],[102.191744,32.320291],[102.191953,32.320174],[102.192161,32.320058],[102.192369,32.319941],[102.192577,32.319825],[102.192786,32.319708],[102.192987,32.319574],[102.193188,32.319439],[102.193335,32.319342],[102.19339,32.319305],[102.193591,32.319171],[102.193793,32.319036],[102.193994,32.318902],[102.194001,32.318897],[102.194195,32.318767],[102.194397,32.318633],[102.194598,32.318499],[102.194799,32.318364],[102.194991,32.318175],[102.195183,32.317986],[102.195375,32.317797],[102.195567,32.317608],[102.195759,32.317419],[102.195951,32.31723],[102.196143,32.317041],[102.196335,32.316852],[102.196538,32.316678],[102.196742,32.316504],[102.196945,32.31633],[102.197149,32.316155],[102.197352,32.315981],[102.197556,32.315807],[102.197925,32.315602],[102.198295,32.315397],[102.198664,32.315192],[102.199033,32.314987],[102.199385,32.314847],[102.199736,32.314707],[102.200087,32.314567],[102.200306,32.314499],[102.200526,32.31443],[102.200745,32.314361],[102.200964,32.314293],[102.201183,32.314224],[102.201403,32.314155],[102.201644,32.314107],[102.201884,32.314059],[102.202125,32.31401],[102.202366,32.313962],[102.202607,32.313914],[102.202848,32.313866],[102.203088,32.313818],[102.203329,32.31377],[102.203579,32.313723],[102.203828,32.313676],[102.204078,32.313629],[102.204327,32.313582],[102.204576,32.313535],[102.204826,32.313488],[102.205237,32.313444],[102.205648,32.3134],[102.20602,32.313361],[102.206058,32.313357],[102.206288,32.31333],[102.206518,32.313304],[102.206748,32.313277],[102.206978,32.313251],[102.207208,32.313225],[102.207438,32.313198],[102.207863,32.313113],[102.208288,32.313027],[102.208712,32.312942],[102.209126,32.312793],[102.20954,32.312644],[102.209953,32.312495],[102.210367,32.312347],[102.210758,32.312145],[102.211149,32.311944],[102.211539,32.311742],[102.21193,32.31153],[102.212321,32.311318],[102.212712,32.311105],[102.213038,32.310797],[102.213365,32.310489],[102.213616,32.310155],[102.213756,32.309971],[102.213868,32.309821],[102.21412,32.309487],[102.214371,32.309153],[102.214513,32.308931],[102.214654,32.308708],[102.214795,32.308485],[102.214936,32.308263],[102.215037,32.308036],[102.215137,32.307809],[102.215237,32.307583],[102.215337,32.307356],[102.215384,32.307025],[102.215432,32.306695],[102.215329,32.306393],[102.215227,32.306091],[102.215127,32.305694],[102.215027,32.305298],[102.215004,32.304887],[102.215051,32.304541],[102.215224,32.304356],[102.215397,32.30417],[102.215602,32.304009],[102.215807,32.303847],[102.216012,32.303686],[102.216217,32.303525],[102.216422,32.303363],[102.216627,32.303202],[102.216832,32.303041],[102.217037,32.302879],[102.21723,32.302764],[102.217423,32.302648],[102.217616,32.302532],[102.217809,32.302417],[102.218003,32.302301],[102.218196,32.302185],[102.218389,32.30207],[102.218582,32.301954],[102.218637,32.301921],[102.218775,32.301838],[102.218969,32.301723],[102.21927,32.301635],[102.219604,32.301642],[102.219939,32.30165],[102.220196,32.30175],[102.220235,32.301766],[102.220453,32.301851],[102.220471,32.301866],[102.220635,32.301997],[102.220763,32.3021],[102.220817,32.302143],[102.220973,32.302364],[102.221129,32.302584],[102.221285,32.302804],[102.221441,32.303025],[102.221597,32.303245],[102.221753,32.303465],[102.221797,32.303528],[102.221799,32.303531],[102.221909,32.303686],[102.222065,32.303906],[102.222204,32.304209],[102.222343,32.304511],[102.22248,32.304925],[102.222492,32.304998],[102.222543,32.305305],[102.222456,32.305682],[102.222299,32.305995],[102.222177,32.306307],[102.222073,32.306598],[102.222054,32.306652],[102.222007,32.306998],[102.222069,32.30741],[102.222191,32.307665],[102.222313,32.30792],[102.222602,32.308211],[102.222891,32.308502],[102.22318,32.308792],[102.223365,32.30897],[102.223371,32.308976],[102.223507,32.309106],[102.22355,32.309147],[102.223707,32.309298],[102.223736,32.309325],[102.223921,32.309503],[102.224106,32.30968],[102.224167,32.309738],[102.224292,32.309858],[102.224477,32.310035],[102.224662,32.310213],[102.224901,32.310561],[102.22514,32.310909],[102.225379,32.311257],[102.225455,32.311511],[102.225531,32.311765],[102.225608,32.31202],[102.225684,32.312274],[102.225709,32.312546],[102.225721,32.312675],[102.22575,32.312987],[102.225758,32.313075],[102.225761,32.313099],[102.225796,32.313476],[102.225813,32.31374],[102.225819,32.313846],[102.225829,32.314003],[102.225833,32.314065],[102.225846,32.314266],[102.225861,32.3145],[102.225863,32.31453],[102.225872,32.314667],[102.22588,32.314793],[102.225896,32.315057],[102.225911,32.315172],[102.225931,32.315331],[102.225966,32.315605],[102.226001,32.31588],[102.226036,32.316154],[102.226072,32.316429],[102.226096,32.316619],[102.226107,32.316703],[102.226141,32.316878],[102.226155,32.316946],[102.226203,32.317189],[102.226252,32.317432],[102.2263,32.317675],[102.226348,32.317918],[102.226375,32.318049],[102.226397,32.318162],[102.226432,32.318253],[102.226518,32.318474],[102.226539,32.318529],[102.226627,32.318667],[102.226682,32.318754],[102.226926,32.318907],[102.226977,32.31894],[102.22717,32.319061],[102.227247,32.319081],[102.227346,32.319105],[102.227707,32.319167],[102.227909,32.319201],[102.228069,32.319229],[102.22832,32.319253],[102.22857,32.319276],[102.228571,32.319276],[102.228573,32.319277],[102.228881,32.319343],[102.229189,32.31941],[102.229497,32.319476],[102.229725,32.319529],[102.229954,32.319581],[102.230315,32.319572],[102.230734,32.319505],[102.231077,32.319434],[102.231419,32.319362],[102.231848,32.319391],[102.2322,32.31941],[102.23259,32.319524],[102.232904,32.31961],[102.233247,32.319708],[102.233589,32.319806],[102.233932,32.319905],[102.234266,32.319999],[102.234599,32.320093],[102.23485,32.320164],[102.235101,32.320235],[102.235245,32.320276],[102.235655,32.320333],[102.235861,32.320326],[102.23595,32.320323],[102.236197,32.320285],[102.236483,32.320047],[102.236721,32.319695],[102.236935,32.319567],[102.237149,32.319438],[102.237544,32.319267],[102.237939,32.319096],[102.238269,32.31895],[102.238599,32.318804],[102.238929,32.318658],[102.238996,32.318618],[102.239298,32.318442],[102.2396,32.318265],[102.239966,32.318051],[102.240333,32.317836],[102.240699,32.317621],[102.241066,32.317407],[102.241432,32.317192],[102.241825,32.317054],[102.242217,32.316916],[102.24261,32.316778],[102.243002,32.31664],[102.243343,32.316533],[102.243683,32.316426],[102.244023,32.316319],[102.244364,32.316212],[102.244792,32.316131],[102.245207,32.316052],[102.24522,32.31605],[102.24542,32.315917],[102.245439,32.315869],[102.245553,32.315584],[102.245653,32.315327],[102.245753,32.31507],[102.245841,32.314868],[102.24587,32.314813],[102.24594,32.31466],[102.246035,32.314455],[102.2462,32.314096],[102.246365,32.313737],[102.246617,32.313396],[102.24687,32.313055],[102.246953,32.312756],[102.247037,32.312457],[102.247063,32.312205],[102.24709,32.311953],[102.247022,32.311715],[102.246955,32.311477],[102.24687,32.311215],[102.246784,32.310953],[102.246699,32.310691],[102.246614,32.310429],[102.246582,32.31032],[102.246528,32.31014],[102.246496,32.310032],[102.246419,32.309773],[102.246378,32.309634],[102.24633,32.309365],[102.246307,32.309234],[102.246282,32.309095],[102.246292,32.308796],[102.246301,32.308496],[102.246422,32.308214],[102.24654,32.308001],[102.246658,32.307788],[102.246776,32.307575],[102.246894,32.307362],[102.247012,32.307149],[102.24713,32.306937],[102.247284,32.306756],[102.247439,32.306575],[102.247593,32.306394],[102.247747,32.306213],[102.247901,32.306032],[102.248055,32.305851],[102.248209,32.30567],[102.248363,32.30549],[102.248491,32.305279],[102.248618,32.305069],[102.248746,32.304858],[102.248873,32.304648],[102.249016,32.304225],[102.249158,32.303803],[102.249226,32.303394],[102.249294,32.302985],[102.24933,32.302734],[102.249366,32.302482],[102.249401,32.30223],[102.249437,32.301979],[102.249417,32.301706],[102.249403,32.301508],[102.249397,32.301434],[102.249377,32.301162],[102.249358,32.300889],[102.24932,32.300489],[102.249283,32.300088],[102.249245,32.299688],[102.249252,32.299451],[102.24926,32.299215],[102.249267,32.298978],[102.249269,32.298897],[102.249274,32.298742],[102.24932,32.298471],[102.249365,32.298201],[102.249411,32.29793],[102.249456,32.29766],[102.249502,32.297389],[102.249547,32.297118],[102.249592,32.296848],[102.249638,32.296577],[102.249683,32.296307],[102.249729,32.296036],[102.249787,32.295813],[102.249844,32.295589],[102.249902,32.295365],[102.24996,32.295142],[102.250018,32.294918],[102.250076,32.294695],[102.250133,32.294471],[102.250191,32.294247],[102.250296,32.293871],[102.2504,32.293494],[102.25041,32.293162],[102.25042,32.292831],[102.250437,32.292571],[102.250454,32.292311],[102.25046,32.292224],[102.250471,32.292051],[102.250488,32.291791],[102.250489,32.29178],[102.250493,32.291689],[102.250511,32.291335],[102.250518,32.291193],[102.250534,32.290891],[102.250556,32.290446],[102.250579,32.290002],[102.250677,32.289636],[102.250775,32.28927],[102.250873,32.288904],[102.251021,32.288592],[102.251168,32.28828],[102.251279,32.288045],[102.25139,32.28781],[102.251518,32.287584],[102.251645,32.287358],[102.251773,32.287132],[102.251901,32.286906],[102.252068,32.286699],[102.252236,32.286493],[102.252403,32.286286],[102.252571,32.286079],[102.252738,32.285873],[102.252906,32.285666],[102.252966,32.285581],[102.253061,32.285448],[102.253216,32.285231],[102.253371,32.285013],[102.253526,32.284795],[102.253656,32.28461],[102.253663,32.284601],[102.253799,32.284407],[102.253935,32.284212],[102.254071,32.284018],[102.254092,32.283969],[102.254094,32.283964],[102.254171,32.283783],[102.254271,32.283548],[102.254292,32.283364],[102.254321,32.283108],[102.254239,32.282743],[102.254158,32.282378],[102.25409,32.282157],[102.254022,32.281936],[102.253955,32.281715],[102.253887,32.281493],[102.253819,32.281272],[102.253752,32.281051],[102.253764,32.28063],[102.253777,32.28021],[102.25379,32.279789],[102.253948,32.279509],[102.254228,32.279263],[102.254508,32.279016],[102.254788,32.278769],[102.254877,32.278676],[102.254967,32.278584],[102.255029,32.27852],[102.255032,32.278516],[102.255146,32.278398],[102.255325,32.278213],[102.255504,32.278027],[102.255669,32.277856],[102.255862,32.277656],[102.256071,32.277324],[102.256279,32.276992],[102.256488,32.27666],[102.256714,32.276318],[102.256759,32.276171],[102.25687,32.275881],[102.256981,32.275591],[102.257092,32.2753],[102.257194,32.275101],[102.257236,32.27502],[102.257381,32.274739],[102.257488,32.274477],[102.257595,32.274215],[102.257623,32.274142],[102.257745,32.273822],[102.257895,32.273429],[102.257957,32.273152],[102.25802,32.272876],[102.258052,32.272647],[102.258085,32.272418],[102.258115,32.271972],[102.258117,32.271752],[102.258121,32.271317],[102.258101,32.270958],[102.258081,32.270599],[102.258061,32.270241],[102.258017,32.269881],[102.257972,32.269521],[102.257929,32.269168],[102.257907,32.268985],[102.257835,32.268646],[102.257621,32.26842],[102.257389,32.268111],[102.257297,32.267769],[102.257205,32.267427],[102.256985,32.267103],[102.256765,32.266778],[102.256437,32.266517],[102.256176,32.266267],[102.256009,32.266172],[102.255979,32.266047],[102.256039,32.265898],[102.256164,32.265708],[102.256191,32.265684],[102.256384,32.265517],[102.256604,32.265327],[102.256931,32.265079],[102.257258,32.264831],[102.257585,32.264583],[102.257895,32.26431],[102.258204,32.264036],[102.258513,32.263762],[102.258537,32.263749],[102.258784,32.263613],[102.259031,32.263477],[102.259221,32.263328],[102.259282,32.263234],[102.25934,32.263144],[102.259376,32.26284],[102.259376,32.262487],[102.259376,32.262486],[102.259376,32.262484],[102.259346,32.262222],[102.259272,32.261909],[102.259197,32.261597],[102.259111,32.261285],[102.259025,32.260973],[102.258894,32.260681],[102.258704,32.260324],[102.258484,32.260021],[102.258264,32.259717],[102.258139,32.259533],[102.258103,32.259408],[102.258168,32.259212],[102.258264,32.259063],[102.258359,32.258891],[102.258302,32.258546],[102.258246,32.2582],[102.258252,32.257873],[102.258296,32.257621],[102.258341,32.257368],[102.258389,32.257127],[102.258437,32.256886],[102.25846,32.256773],[102.258418,32.256345],[102.258377,32.255916],[102.258264,32.255637],[102.258118,32.255428],[102.257972,32.25522],[102.257868,32.254991],[102.257764,32.254762],[102.257609,32.254423],[102.257556,32.254188],[102.257502,32.253953],[102.257466,32.253575],[102.257431,32.253198],[102.257389,32.252936],[102.257336,32.252728],[102.257246,32.252567],[102.257133,32.252442],[102.257104,32.252293],[102.257115,32.252079],[102.257234,32.251758],[102.257336,32.251502],[102.257337,32.251474],[102.257357,32.25106],[102.257377,32.250646],[102.257336,32.250378],[102.25727,32.250182],[102.257128,32.250035],[102.257092,32.249997],[102.256936,32.249788],[102.256919,32.249765],[102.256753,32.249355],[102.256634,32.249153],[102.256485,32.249028],[102.256408,32.248766],[102.25639,32.248516],[102.256402,32.248254],[102.256443,32.247923],[102.256485,32.247592],[102.256527,32.247261],[102.256515,32.246862],[102.256517,32.246441],[102.25652,32.246019],[102.256521,32.245976],[102.256592,32.245661],[102.256628,32.24542],[102.256663,32.245179],[102.25686,32.244822],[102.256989,32.244548],[102.257117,32.244275],[102.257246,32.244001],[102.257353,32.243739],[102.257496,32.243537],[102.257663,32.243478],[102.257919,32.243472],[102.258204,32.243478],[102.25843,32.243495],[102.258656,32.243513],[102.258914,32.2436],[102.259172,32.243686],[102.25936,32.243775],[102.259539,32.243859],[102.259749,32.243958],[102.25996,32.244057],[102.260175,32.244125],[102.26039,32.244193],[102.260604,32.24426],[102.260819,32.244328],[102.261034,32.244396],[102.261223,32.244456],[102.261249,32.244464],[102.261629,32.244609],[102.261892,32.244709],[102.262247,32.244895],[102.262602,32.245081],[102.262779,32.245185],[102.263064,32.245329],[102.263109,32.245351],[102.263439,32.245518],[102.263689,32.245589],[102.264081,32.245723],[102.264474,32.245857],[102.264516,32.245864],[102.264737,32.245959],[102.265141,32.246134],[102.265495,32.246382],[102.265848,32.24663],[102.266223,32.246842],[102.266598,32.247053],[102.266901,32.247326],[102.267026,32.247523],[102.267097,32.247707],[102.267197,32.247788],[102.267258,32.247838],[102.267523,32.24804],[102.267787,32.248242],[102.26794,32.248354],[102.268055,32.248439],[102.268364,32.248663],[102.268674,32.248887],[102.268983,32.249111],[102.269304,32.249283],[102.269544,32.249486],[102.269679,32.2496],[102.269843,32.249804],[102.270091,32.250113],[102.270242,32.250301],[102.270393,32.250489],[102.270544,32.250677],[102.270695,32.250865],[102.270846,32.251054],[102.270997,32.251242],[102.271173,32.251419],[102.271349,32.251597],[102.271525,32.251775],[102.271701,32.251952],[102.271876,32.25213],[102.272052,32.252308],[102.272228,32.252485],[102.272404,32.252663],[102.272629,32.25282],[102.272853,32.252977],[102.273078,32.253135],[102.273302,32.253292],[102.273527,32.253449],[102.273752,32.253607],[102.273971,32.253722],[102.274191,32.253837],[102.274411,32.253952],[102.27463,32.254067],[102.27485,32.254182],[102.27507,32.254297],[102.275439,32.2544],[102.275808,32.254503],[102.276102,32.254588],[102.276397,32.254673],[102.276749,32.254713],[102.277101,32.254752],[102.277548,32.25473],[102.27797,32.25471],[102.277996,32.254708],[102.278294,32.254667],[102.278476,32.254642],[102.278593,32.254626],[102.278628,32.254615],[102.278839,32.254549],[102.278874,32.254538],[102.279156,32.25445],[102.279421,32.25425],[102.279687,32.25405],[102.279842,32.253856],[102.279996,32.253662],[102.280151,32.253468],[102.280306,32.253274],[102.280484,32.252884],[102.280663,32.252493],[102.28071,32.252194],[102.280757,32.251895],[102.280875,32.251676],[102.281065,32.251538],[102.281255,32.251401],[102.2815,32.25128],[102.281744,32.251159],[102.28212,32.25102],[102.282496,32.250881],[102.282871,32.250741],[102.283094,32.250677],[102.283318,32.250613],[102.283541,32.250548],[102.283764,32.250484],[102.283987,32.25042],[102.28421,32.250355],[102.284418,32.25025],[102.284626,32.250144],[102.284662,32.250113],[102.284949,32.249866],[102.285211,32.24964],[102.285235,32.24962],[102.285354,32.249378],[102.285473,32.249136],[102.285592,32.248894],[102.285711,32.248652],[102.285797,32.248409],[102.285883,32.248166],[102.285969,32.247924],[102.286056,32.247681],[102.286142,32.247438],[102.286228,32.247195],[102.286314,32.246952],[102.286401,32.24671],[102.286512,32.246504],[102.286624,32.246299],[102.286735,32.246093],[102.286847,32.245888],[102.286958,32.245683],[102.287069,32.245477],[102.287181,32.245272],[102.287292,32.245066],[102.28738,32.244905],[102.28738,32.244905],[102.287404,32.244861],[102.287515,32.244656],[102.287627,32.24445],[102.287738,32.244245],[102.287954,32.243924],[102.288169,32.243603],[102.288436,32.24342],[102.288651,32.243277],[102.288866,32.243134],[102.28908,32.242992],[102.289295,32.242849],[102.28951,32.242706],[102.289725,32.242564],[102.289897,32.24241],[102.290069,32.242255],[102.29024,32.242101],[102.290412,32.241947],[102.290584,32.241793],[102.29071,32.24168],[102.290756,32.241639],[102.290931,32.241406],[102.291105,32.241173],[102.291226,32.240828],[102.291348,32.240484],[102.291383,32.240248],[102.291418,32.240012],[102.291453,32.239776],[102.291488,32.23954],[102.291497,32.23924],[102.291505,32.23894],[102.291426,32.238691],[102.291347,32.238442],[102.291267,32.238193],[102.291188,32.237944],[102.291109,32.237696],[102.291029,32.237447],[102.290958,32.237234],[102.290886,32.23702],[102.290814,32.236807],[102.290742,32.236594],[102.29067,32.236381],[102.290599,32.236168],[102.290527,32.235955],[102.290455,32.235742],[102.290383,32.235529],[102.290312,32.235316],[102.29025,32.234904],[102.290295,32.234653],[102.290431,32.234435],[102.290568,32.234217],[102.29083,32.233852],[102.290958,32.233672],[102.291091,32.233486],[102.291353,32.233121],[102.291615,32.232755],[102.291785,32.232554],[102.291955,32.232353],[102.292124,32.232153],[102.292294,32.231952],[102.292464,32.231751],[102.292634,32.23155],[102.292804,32.231349],[102.292974,32.231149],[102.293003,32.231101],[102.293106,32.230934],[102.293237,32.23072],[102.293369,32.230506],[102.293501,32.230292],[102.293632,32.230078],[102.293764,32.229864],[102.293896,32.22965],[102.294027,32.229435],[102.294121,32.229187],[102.29414,32.229135],[102.294214,32.228938],[102.294308,32.22869],[102.294401,32.228441],[102.294471,32.228254],[102.294472,32.228254],[102.294495,32.228193],[102.294588,32.227944],[102.294682,32.227696],[102.294775,32.227447],[102.294869,32.227198],[102.294962,32.22695],[102.295055,32.226701],[102.295149,32.226453],[102.295226,32.226248],[102.295226,32.226248],[102.295226,32.226248],[102.295395,32.225923],[102.295575,32.225674],[102.295811,32.225519],[102.296154,32.225385],[102.296496,32.225251],[102.296668,32.225251],[102.296924,32.225394],[102.297043,32.225602],[102.297105,32.225843],[102.297168,32.226084],[102.297418,32.226435],[102.297644,32.226607],[102.297935,32.226905],[102.298227,32.227202],[102.298476,32.227434],[102.29875,32.227618],[102.299022,32.227847],[102.299293,32.228075],[102.299565,32.228303],[102.299849,32.228545],[102.300133,32.228788],[102.300402,32.229018],[102.300672,32.229248],[102.300925,32.229498],[102.301179,32.229748],[102.301433,32.229998],[102.30165,32.230188],[102.301867,32.230379],[102.302111,32.230569],[102.302355,32.230759],[102.302599,32.23095],[102.302878,32.231137],[102.303158,32.231324],[102.303313,32.231503],[102.303377,32.231638],[102.30342,32.231729],[102.303485,32.231973],[102.303568,32.232092],[102.303872,32.232258],[102.304253,32.232389],[102.304485,32.23249],[102.304657,32.232657],[102.30483,32.232847],[102.305002,32.232999],[102.305175,32.233151],[102.305398,32.233258],[102.305621,32.233365],[102.305832,32.23352],[102.306043,32.233674],[102.306218,32.233868],[102.306329,32.233989],[102.306531,32.234239],[102.306662,32.234483],[102.306793,32.234727],[102.306828,32.234793],[102.307054,32.235149],[102.307164,32.235465],[102.307275,32.23578],[102.307435,32.236179],[102.307596,32.236577],[102.307611,32.236937],[102.307625,32.237297],[102.307679,32.237606],[102.307744,32.237767],[102.307991,32.237942],[102.308238,32.238118],[102.3085,32.238252],[102.308762,32.238386],[102.309196,32.238493],[102.309398,32.238558],[102.309559,32.238671],[102.309803,32.238826],[102.309969,32.239052],[102.310154,32.239314],[102.31035,32.239444],[102.310618,32.239504],[102.311037,32.239644],[102.311181,32.239692],[102.311456,32.239783],[102.311772,32.239849],[102.31198,32.239837],[102.312283,32.239789],[102.312432,32.239744],[102.312634,32.239682],[102.312908,32.239608],[102.313182,32.239534],[102.313455,32.23954],[102.313836,32.239605],[102.314183,32.239728],[102.314185,32.239729],[102.314187,32.23973],[102.314463,32.239798],[102.31474,32.239867],[102.31496,32.239926],[102.31518,32.239986],[102.315424,32.239989],[102.315668,32.239992],[102.315909,32.239992],[102.31615,32.239992],[102.316406,32.239965],[102.316661,32.239938],[102.317084,32.239861],[102.317456,32.239792],[102.317626,32.239761],[102.317827,32.239724],[102.318256,32.239659],[102.318684,32.239593],[102.318958,32.23954],[102.319362,32.239403],[102.3196,32.239391],[102.319838,32.239379],[102.320177,32.239409],[102.320516,32.239438],[102.320903,32.239482],[102.32129,32.239526],[102.321676,32.239569],[102.321811,32.239579],[102.322127,32.239602],[102.322443,32.239624],[102.322759,32.239647],[102.322946,32.239643],[102.323044,32.239641],[102.323425,32.239563],[102.323642,32.239465],[102.323859,32.239367],[102.3241,32.239254],[102.324341,32.239141],[102.324698,32.239016],[102.325055,32.238891],[102.325373,32.238817],[102.325692,32.238742],[102.325954,32.238667],[102.326177,32.238604],[102.326399,32.23854],[102.326774,32.238368],[102.327149,32.238195],[102.327506,32.238073],[102.327863,32.237951],[102.328142,32.237842],[102.328422,32.237733],[102.328484,32.237709],[102.328702,32.237624],[102.329017,32.237535],[102.329332,32.237446],[102.329346,32.237443],[102.329613,32.237394],[102.329879,32.237345],[102.330127,32.237337],[102.330419,32.237329],[102.330712,32.237321],[102.331087,32.237291],[102.331462,32.237261],[102.331575,32.237261],[102.331854,32.237309],[102.332074,32.237333],[102.332425,32.237327],[102.332705,32.237321],[102.332985,32.237309],[102.33301,32.237302],[102.333098,32.237279],[102.333407,32.237065],[102.333681,32.236809],[102.333898,32.236654],[102.334055,32.236541],[102.334305,32.236422],[102.334579,32.236405],[102.334633,32.236396],[102.334633,32.236396],[102.334633,32.236396],[102.334894,32.236356],[102.335156,32.236315],[102.335578,32.236202],[102.335888,32.236048],[102.336286,32.235869],[102.336471,32.235787],[102.336664,32.235701],[102.336768,32.235655],[102.337012,32.235578],[102.337256,32.2355],[102.337497,32.235453],[102.337738,32.235405],[102.337992,32.235362],[102.338247,32.235318],[102.338326,32.235304],[102.338675,32.235189],[102.339024,32.235074],[102.339373,32.234959],[102.339635,32.234849],[102.339897,32.234739],[102.340144,32.234626],[102.340391,32.234513],[102.340715,32.234332],[102.341039,32.23415],[102.341322,32.234022],[102.341604,32.233894],[102.341967,32.233644],[102.34233,32.233395],[102.342693,32.233145],[102.342976,32.232946],[102.34326,32.232748],[102.343543,32.23255],[102.343829,32.232241],[102.344091,32.23189],[102.344358,32.23161],[102.344648,32.231398],[102.344937,32.231186],[102.345227,32.230974],[102.345465,32.230843],[102.345703,32.230712],[102.345893,32.230556],[102.346083,32.230401],[102.346095,32.230391],[102.346434,32.230141],[102.346613,32.229977],[102.346791,32.229814],[102.347,32.229715],[102.347208,32.229617],[102.347567,32.229427],[102.347926,32.229237],[102.348285,32.229046],[102.348692,32.228871],[102.349099,32.228695],[102.349415,32.22857],[102.349748,32.228433],[102.350085,32.228287],[102.350422,32.22814],[102.350759,32.227993],[102.351125,32.227862],[102.351491,32.227731],[102.351817,32.227606],[102.35183,32.227601],[102.352228,32.227571],[102.352615,32.227601],[102.352953,32.227658],[102.353002,32.227666],[102.353269,32.22772],[102.353424,32.227726],[102.353609,32.227708],[102.3539,32.227648],[102.354156,32.227565],[102.354382,32.227497],[102.354608,32.227428],[102.354635,32.22742],[102.355037,32.227355],[102.355145,32.227337],[102.355233,32.227333],[102.355414,32.227293],[102.355474,32.22728],[102.355506,32.227273],[102.35572,32.227208],[102.355725,32.227198],[102.35581,32.227024],[102.35582,32.226992],[102.355899,32.226744],[102.355982,32.226533],[102.356065,32.226322],[102.356089,32.226096],[102.356113,32.22587],[102.356172,32.22556],[102.356214,32.225435],[102.356428,32.225281],[102.356684,32.225037],[102.356821,32.224936],[102.356892,32.224823],[102.356976,32.224626],[102.357118,32.224489],[102.357119,32.224489],[102.35712,32.224489],[102.357326,32.224365],[102.357493,32.22424],[102.357695,32.223901],[102.357862,32.223698],[102.358153,32.223478],[102.35835,32.223371],[102.358463,32.223288],[102.358522,32.223169],[102.358599,32.22302],[102.358891,32.222717],[102.359101,32.222425],[102.359153,32.222354],[102.359211,32.222263],[102.359301,32.222122],[102.359426,32.222021],[102.359569,32.221961],[102.359719,32.221781],[102.359868,32.2216],[102.360077,32.221348],[102.360218,32.221164],[102.360345,32.220965],[102.360473,32.220766],[102.36064,32.220403],[102.360821,32.220046],[102.361003,32.219689],[102.361107,32.219335],[102.361211,32.218981],[102.361407,32.218636],[102.361621,32.218345],[102.361717,32.218113],[102.361812,32.217881],[102.361919,32.217581],[102.362026,32.217282],[102.362133,32.216982],[102.362156,32.216877],[102.362237,32.216504],[102.362317,32.216132],[102.362414,32.215829],[102.362419,32.215816],[102.362573,32.215406],[102.362674,32.215067],[102.362722,32.214734],[102.362784,32.214392],[102.362847,32.21405],[102.362972,32.213627],[102.363007,32.213455],[102.363168,32.213264],[102.363345,32.213066],[102.363522,32.212868],[102.363561,32.212824],[102.36365,32.212592],[102.363715,32.212378],[102.363769,32.21214],[102.363787,32.211839],[102.363805,32.211537],[102.363822,32.211236],[102.363786,32.210824],[102.363749,32.210413],[102.363739,32.210296],[102.363717,32.21005],[102.363715,32.210028],[102.363793,32.209689],[102.3639,32.209314],[102.36405,32.209049],[102.364064,32.209024],[102.364102,32.208958],[102.364393,32.208642],[102.364646,32.208425],[102.364899,32.208208],[102.365185,32.208044],[102.36547,32.207881],[102.365613,32.207809],[102.365672,32.207746],[102.365684,32.207732],[102.365684,32.207643],[102.365625,32.207458],[102.365595,32.2072],[102.365565,32.206941],[102.365502,32.206706],[102.365452,32.206522],[102.365339,32.206102],[102.365316,32.205829],[102.365339,32.205507],[102.365423,32.205252],[102.365537,32.204975],[102.365652,32.204699],[102.365666,32.204663],[102.36572,32.204413],[102.365747,32.204151],[102.365774,32.203889],[102.365683,32.20361],[102.365637,32.203467],[102.365559,32.203294],[102.365464,32.203062],[102.365369,32.202926],[102.365185,32.202747],[102.365101,32.20264],[102.365113,32.202343],[102.365119,32.202075],[102.365125,32.201807],[102.365131,32.201563],[102.365238,32.20123],[102.365298,32.201111],[102.365452,32.200986],[102.365637,32.200873],[102.36575,32.200719],[102.365876,32.200404],[102.36594,32.200243],[102.366012,32.200011],[102.36616,32.199749],[102.366374,32.199452],[102.366398,32.199412],[102.366402,32.199402],[102.366478,32.199242],[102.366582,32.198942],[102.366598,32.198896],[102.366572,32.198549],[102.366545,32.198478],[102.36644,32.198417],[102.366142,32.19825],[102.365893,32.198024],[102.365637,32.197816],[102.365557,32.197774],[102.3655,32.197744],[102.365434,32.197709],[102.365357,32.197619],[102.365262,32.197364],[102.365119,32.196965],[102.365039,32.196694],[102.364959,32.196424],[102.364881,32.196067],[102.36478,32.19593],[102.364593,32.195671],[102.364405,32.195412],[102.364395,32.195397],[102.364162,32.195066],[102.363929,32.194734],[102.363834,32.194556],[102.363781,32.194383],[102.363739,32.194074],[102.363674,32.193896],[102.363543,32.193723],[102.363332,32.193423],[102.36312,32.193122],[102.362948,32.192908],[102.362938,32.19271],[102.362936,32.192682],[102.362859,32.192498],[102.362639,32.192117],[102.362439,32.191879],[102.36224,32.191641],[102.362044,32.191397],[102.361943,32.191225],[102.361904,32.19115],[102.361859,32.191064],[102.361782,32.190939],[102.361681,32.19088],[102.361496,32.190874],[102.361357,32.19087],[102.360997,32.190862],[102.360824,32.190838],[102.36067,32.190737],[102.360529,32.190663],[102.360455,32.190624],[102.360271,32.190594],[102.360104,32.190523],[102.359962,32.190392],[102.359831,32.190291],[102.359724,32.190243],[102.359456,32.190225],[102.359022,32.190237],[102.358977,32.190237],[102.358843,32.190237],[102.358707,32.190166],[102.35854,32.190059],[102.358415,32.190029],[102.358201,32.190011],[102.357892,32.190035],[102.357731,32.190017],[102.357614,32.189973],[102.357558,32.189952],[102.35738,32.189767],[102.357178,32.189488],[102.357023,32.189262],[102.356934,32.18894],[102.356868,32.188661],[102.356857,32.188523],[102.356857,32.18852],[102.356857,32.188518],[102.356773,32.188411],[102.356607,32.188215],[102.356494,32.187977],[102.356529,32.187768],[102.356636,32.187584],[102.35672,32.187394],[102.356708,32.187301],[102.356702,32.187251],[102.356517,32.186906],[102.356419,32.18676],[102.356369,32.186686],[102.356268,32.186585],[102.356024,32.186424],[102.355804,32.18624],[102.355628,32.186094],[102.355453,32.185948],[102.355298,32.18571],[102.355149,32.185383],[102.355131,32.185181],[102.355042,32.18502],[102.354882,32.184866],[102.354617,32.18472],[102.354352,32.184574],[102.353954,32.184407],[102.353626,32.184158],[102.35343,32.18392],[102.353258,32.183741],[102.353097,32.183581],[102.352924,32.183515],[102.352703,32.183441],[102.352481,32.183367],[102.352193,32.183271],[102.351958,32.183182],[102.351723,32.183093],[102.35139,32.183045],[102.351223,32.183015],[102.351134,32.182873],[102.351074,32.182676],[102.351059,32.182498],[102.351039,32.182272],[102.350973,32.181887],[102.350908,32.181503],[102.350842,32.181118],[102.350765,32.180927],[102.35061,32.180761],[102.350429,32.180588],[102.350248,32.180416],[102.350019,32.180279],[102.34979,32.180142],[102.349447,32.179997],[102.349105,32.179851],[102.348963,32.179791],[102.348927,32.17972],[102.348927,32.179607],[102.349004,32.179452],[102.349123,32.179292],[102.349399,32.179026],[102.349675,32.17876],[102.349896,32.178609],[102.350117,32.178458],[102.35052,32.17832],[102.350924,32.178182],[102.351328,32.178044],[102.351731,32.177905],[102.352105,32.177791],[102.352479,32.177676],[102.352853,32.177562],[102.353226,32.177447],[102.353576,32.177364],[102.353925,32.177281],[102.354275,32.177198],[102.354703,32.177097],[102.355078,32.177055],[102.35531,32.177046],[102.355542,32.177037],[102.355851,32.176942],[102.355869,32.176936],[102.355893,32.176928],[102.356014,32.176886],[102.356243,32.176809],[102.356472,32.176732],[102.356696,32.176633],[102.356919,32.176534],[102.357171,32.176423],[102.357367,32.176336],[102.35759,32.176237],[102.357814,32.176138],[102.358013,32.17605],[102.35829,32.175865],[102.358593,32.175692],[102.358895,32.175519],[102.359198,32.175347],[102.359331,32.17527],[102.35962,32.175128],[102.359908,32.174985],[102.360021,32.174878],[102.360099,32.174753],[102.36011,32.17461],[102.360116,32.174383],[102.360122,32.174146],[102.360146,32.173944],[102.360206,32.173837],[102.360348,32.173753],[102.360551,32.173623],[102.360676,32.173426],[102.360729,32.1732],[102.360705,32.172962],[102.360661,32.172605],[102.360616,32.172248],[102.360616,32.172022],[102.360646,32.171921],[102.360967,32.171659],[102.361211,32.171576],[102.361532,32.171499],[102.361764,32.17138],[102.361931,32.171291],[102.362145,32.171148],[102.362401,32.170987],[102.362656,32.170827],[102.36293,32.170708],[102.363261,32.170513],[102.363591,32.170318],[102.363656,32.170279],[102.3639,32.170154],[102.364072,32.170006],[102.364251,32.16975],[102.36434,32.169405],[102.36434,32.169149],[102.364304,32.168953],[102.364292,32.168925],[102.364191,32.168689],[102.36409,32.168453],[102.36398,32.168185],[102.36387,32.167918],[102.363779,32.167605],[102.363727,32.167424],[102.363668,32.16702],[102.363573,32.166799],[102.363424,32.16663],[102.363275,32.16646],[102.363014,32.166281],[102.362754,32.166103],[102.362493,32.165924],[102.36246,32.165901],[102.362335,32.165776],[102.36227,32.165628],[102.362234,32.16536],[102.362198,32.165092],[102.362198,32.164848],[102.362198,32.164604],[102.362202,32.164547],[102.362213,32.164366],[102.362235,32.163995],[102.362258,32.163623],[102.362258,32.163454],[102.362258,32.163325],[102.362234,32.163129],[102.362127,32.162796],[102.362103,32.162671],[102.362109,32.162534],[102.362192,32.162427],[102.362532,32.162201],[102.362766,32.161937],[102.363,32.161674],[102.363233,32.16141],[102.363495,32.161243],[102.363727,32.161124],[102.364025,32.161047],[102.364289,32.160991],[102.364554,32.160934],[102.364881,32.160934],[102.365155,32.160952],[102.365321,32.160964],[102.365546,32.160933],[102.365583,32.160928],[102.365653,32.1609],[102.365851,32.160821],[102.366184,32.16072],[102.366449,32.160663],[102.366713,32.160607],[102.366945,32.160577],[102.367183,32.160583],[102.367198,32.160583],[102.367264,32.16057],[102.367663,32.160494],[102.368061,32.160418],[102.368253,32.160397],[102.368468,32.160339],[102.368778,32.160155],[102.369045,32.160083],[102.369273,32.160032],[102.369501,32.159981],[102.369599,32.159958],[102.370018,32.159828],[102.370437,32.159697],[102.370622,32.159661],[102.370764,32.159673],[102.370943,32.159715],[102.370988,32.159727],[102.371098,32.159756],[102.37127,32.159804],[102.371496,32.159828],[102.371764,32.159881],[102.372032,32.159935],[102.372252,32.160033],[102.372472,32.160131],[102.372692,32.160214],[102.372882,32.160286],[102.373236,32.160342],[102.37359,32.160399],[102.373745,32.160494],[102.37381,32.160619],[102.37381,32.160768],[102.37378,32.160922],[102.373774,32.160952],[102.373774,32.161148],[102.373828,32.161368],[102.373965,32.161553],[102.37406,32.161618],[102.374328,32.161713],[102.374548,32.161826],[102.374839,32.16191],[102.375048,32.161975],[102.37528,32.162017],[102.375399,32.162037],[102.375601,32.16207],[102.375672,32.162171],[102.375697,32.162262],[102.375761,32.162493],[102.37588,32.162695],[102.376071,32.162933],[102.376243,32.163218],[102.376368,32.163427],[102.3766,32.163581],[102.376975,32.16376],[102.377266,32.163891],[102.377427,32.163938],[102.377724,32.164158],[102.377897,32.164301],[102.377939,32.164372],[102.37801,32.164557],[102.378069,32.164783],[102.378135,32.164884],[102.378266,32.164949],[102.378593,32.165039],[102.378884,32.165086],[102.379122,32.165086],[102.37936,32.165074],[102.379509,32.165134],[102.379586,32.165175],[102.379795,32.165288],[102.379884,32.165336],[102.380181,32.165348],[102.38036,32.165413],[102.380538,32.165491],[102.380693,32.165544],[102.38097,32.165549],[102.381062,32.16555],[102.381466,32.165651],[102.381752,32.165782],[102.382055,32.165943],[102.382192,32.166084],[102.382233,32.166127],[102.382394,32.166401],[102.382442,32.166457],[102.382662,32.166716],[102.382799,32.166829],[102.382947,32.166871],[102.38312,32.166901],[102.383304,32.166907],[102.383602,32.166889],[102.383754,32.166892],[102.383923,32.166895],[102.384185,32.166942],[102.384369,32.166972],[102.384708,32.16696],[102.38491,32.166936],[102.385255,32.16702],[102.385427,32.167057],[102.385666,32.167109],[102.385904,32.16718],[102.386186,32.167245],[102.386468,32.167309],[102.386606,32.167341],[102.386981,32.167409],[102.387169,32.167444],[102.387211,32.167531],[102.387477,32.168163],[102.388857,32.169446],[102.391037,32.170552],[102.393159,32.171705],[102.394544,32.172842],[102.395433,32.173487],[102.396988,32.174629],[102.398376,32.17567],[102.399263,32.176363],[102.40031,32.177446],[102.401627,32.178968],[102.402338,32.179899],[102.403043,32.181022],[102.403964,32.182536],[102.404182,32.182879],[102.404271,32.183019],[102.404692,32.183682],[102.404709,32.183709],[102.404833,32.183904],[102.40533,32.184349],[102.406406,32.184419],[102.407528,32.184828],[102.408253,32.185277],[102.408992,32.187221],[102.409303,32.18824],[102.409318,32.188261],[102.409432,32.188425],[102.40958,32.188638],[102.409848,32.189023],[102.410091,32.189611],[102.410432,32.190433],[102.410594,32.190966],[102.410847,32.191792],[102.410954,32.19333],[102.410968,32.19353],[102.410968,32.19354],[102.410986,32.194881],[102.411247,32.19592],[102.411356,32.196353],[102.411547,32.19711],[102.4118,32.198187],[102.411863,32.198457],[102.411898,32.198606],[102.411933,32.198756],[102.411959,32.19887],[102.412002,32.199049],[102.412074,32.199232],[102.412156,32.199442],[102.412229,32.199627],[102.412318,32.199855],[102.412379,32.200033],[102.412438,32.200171],[102.412478,32.200265],[102.412587,32.20041],[102.412705,32.200569],[102.41282,32.200724],[102.412911,32.200846],[102.41318,32.201208],[102.413353,32.20144],[102.413513,32.202148],[102.413605,32.202554],[102.413614,32.202796],[102.413632,32.203286],[102.413637,32.203423],[102.414411,32.204114],[102.415356,32.204808],[102.416104,32.206066],[102.416547,32.20681],[102.416637,32.207632],[102.416782,32.208527],[102.416927,32.209422],[102.416984,32.209705],[102.417051,32.210043],[102.417605,32.211043],[102.417692,32.211151],[102.418648,32.212336],[102.419035,32.213332],[102.419601,32.214079],[102.419855,32.214414],[102.420014,32.214855],[102.420069,32.215005],[102.420144,32.215214],[102.419942,32.215631],[102.419914,32.215689],[102.419814,32.215896],[102.418535,32.217087],[102.418141,32.21782],[102.417613,32.218867],[102.417531,32.219554],[102.417815,32.220512],[102.418602,32.221322],[102.419013,32.222177],[102.419167,32.223345],[102.419273,32.223626],[102.419688,32.224732],[102.419912,32.225636],[102.419875,32.226958],[102.420208,32.228394],[102.420318,32.230043],[102.420339,32.230355],[102.420302,32.231677],[102.419766,32.23299],[102.419399,32.233719],[102.419323,32.23387],[102.419239,32.234037],[102.419122,32.234151],[102.418983,32.234286],[102.418831,32.234433],[102.418705,32.234556],[102.418598,32.234659],[102.418473,32.234774],[102.418325,32.23491],[102.418158,32.235063],[102.418007,32.235202],[102.417853,32.235344],[102.41775,32.235438],[102.417639,32.235539],[102.417541,32.235682],[102.417414,32.235866],[102.417309,32.236018],[102.417174,32.236213],[102.417037,32.236412],[102.416916,32.236586],[102.416804,32.236747],[102.416716,32.236876],[102.416665,32.236948],[102.416619,32.237092],[102.416555,32.237289],[102.41649,32.23749],[102.41642,32.237706],[102.416352,32.237915],[102.416279,32.238147],[102.416218,32.238329],[102.416174,32.238463],[102.416143,32.23856],[102.41612,32.238631],[102.416079,32.238774],[102.416052,32.238872],[102.416023,32.238974],[102.415968,32.239168],[102.41593,32.239304],[102.415883,32.239472],[102.415843,32.239614],[102.415806,32.239744],[102.415764,32.239893],[102.415726,32.240027],[102.415704,32.240104],[102.415676,32.240225],[102.41565,32.240335],[102.415608,32.240515],[102.415604,32.240533],[102.415577,32.240649],[102.415572,32.240669],[102.415551,32.240761],[102.415533,32.240835],[102.415506,32.240951],[102.415421,32.241316],[102.41539,32.241667],[102.415384,32.241737],[102.415376,32.241816],[102.415371,32.241877],[102.415364,32.241956],[102.415355,32.242057],[102.415347,32.242148],[102.415337,32.242266],[102.415325,32.242392],[102.415315,32.242508],[102.415303,32.242639],[102.415292,32.242763],[102.41528,32.242898],[102.415269,32.243022],[102.415259,32.243138],[102.41525,32.24324],[102.415243,32.243317],[102.415238,32.243376],[102.415229,32.243481],[102.415221,32.243576],[102.415209,32.243711],[102.415202,32.24379],[102.415198,32.243836],[102.415192,32.243905],[102.415187,32.243961],[102.415181,32.244025],[102.415175,32.244101],[102.415166,32.2442],[102.415158,32.24429],[102.415152,32.244359],[102.415148,32.244403],[102.415146,32.244433],[102.415142,32.244446],[102.415129,32.244497],[102.415114,32.244559],[102.415101,32.244609],[102.415088,32.244659],[102.415068,32.244738],[102.41505,32.244809],[102.415031,32.24488],[102.415018,32.244933],[102.415006,32.244978],[102.414985,32.24506],[102.414936,32.245253],[102.414889,32.245437],[102.414839,32.245634],[102.414796,32.245802],[102.414757,32.246127],[102.414722,32.246418],[102.414686,32.246721],[102.414657,32.246967],[102.414632,32.247174],[102.414652,32.247353],[102.414679,32.247592],[102.414703,32.247831],[102.414724,32.248002],[102.414739,32.248127],[102.414747,32.248199],[102.41477,32.2484],[102.414781,32.248501],[102.414838,32.248624],[102.414938,32.248818],[102.415024,32.249023],[102.415075,32.249142],[102.415078,32.249232],[102.415083,32.249368],[102.415087,32.249517],[102.415093,32.249679],[102.415097,32.249807],[102.415101,32.24994],[102.415105,32.250051],[102.415108,32.250148],[102.415112,32.250244],[102.415114,32.250319],[102.415117,32.250437],[102.415122,32.250547],[102.415126,32.250681],[102.415131,32.250786],[102.415135,32.2509],[102.415139,32.251002],[102.415141,32.251063],[102.415155,32.251458],[102.415166,32.251793],[102.415178,32.252108],[102.415206,32.252674],[102.415223,32.253017],[102.415242,32.253404],[102.415257,32.253697],[102.415391,32.254232],[102.415461,32.254511],[102.415537,32.254814],[102.415592,32.255207],[102.415631,32.255493],[102.415692,32.255929],[102.415758,32.256703],[102.415802,32.257217],[102.415832,32.257572],[102.415819,32.258033],[102.415811,32.258313],[102.415796,32.258842],[102.415904,32.259139],[102.416011,32.259436],[102.416096,32.259672],[102.416143,32.259802],[102.416492,32.260656],[102.416699,32.261108],[102.416786,32.261297],[102.41745,32.262051],[102.417453,32.262056],[102.417456,32.26206],[102.418229,32.263126],[102.419002,32.264412],[102.419549,32.264922],[102.420045,32.265385],[102.420277,32.265602],[102.420628,32.266403],[102.420724,32.267411],[102.420893,32.268049],[102.42177,32.267856],[102.421921,32.267703],[102.422059,32.267564],[102.422254,32.267366],[102.422484,32.267134],[102.422632,32.266984],[102.422796,32.266818],[102.423073,32.266688],[102.423305,32.26658],[102.423554,32.266463],[102.423829,32.26643],[102.424033,32.266405],[102.424304,32.266372],[102.424513,32.266241],[102.424673,32.26614],[102.424874,32.266014],[102.425064,32.265896],[102.425256,32.265777],[102.425453,32.265654],[102.425699,32.265501],[102.425892,32.265442],[102.426128,32.265369],[102.42637,32.265294],[102.426658,32.265204],[102.426934,32.265119],[102.427144,32.265054],[102.427291,32.265031],[102.427519,32.264995],[102.42776,32.264957],[102.427928,32.264931],[102.428111,32.264902],[102.428333,32.264867],[102.42863,32.26474],[102.428911,32.264616],[102.429196,32.264492],[102.429491,32.264364],[102.429622,32.264307],[102.429846,32.26421],[102.430032,32.26414],[102.430244,32.264061],[102.43055,32.263945],[102.430749,32.263871],[102.430917,32.263808],[102.431113,32.26361],[102.431173,32.263549],[102.431296,32.263705],[102.431401,32.263838],[102.431545,32.264019],[102.431713,32.264233],[102.431843,32.2644],[102.431988,32.264584],[102.432121,32.264754],[102.432211,32.264868],[102.432316,32.265001],[102.432429,32.265219],[102.432531,32.265416],[102.43262,32.265584],[102.432709,32.265757],[102.432788,32.26591],[102.432849,32.266061],[102.432896,32.266178],[102.432961,32.26634],[102.433007,32.266472],[102.433073,32.266629],[102.433139,32.266782],[102.433196,32.266924],[102.433317,32.267488],[102.433452,32.268119],[102.433526,32.268466],[102.433464,32.270687],[102.433592,32.272754],[102.433659,32.274819],[102.433249,32.276081],[102.432833,32.277608],[102.432394,32.27852],[102.432357,32.278597],[102.432303,32.278708],[102.432511,32.280194],[102.432974,32.281421],[102.432813,32.282741],[102.432327,32.283519],[102.43216,32.283786],[102.431994,32.28392],[102.431586,32.284251],[102.431242,32.285408],[102.430894,32.286724],[102.430842,32.286793],[102.430826,32.286815],[102.430739,32.286932],[102.430652,32.287048],[102.430642,32.287061],[102.430613,32.2871],[102.430585,32.287138],[102.43056,32.287172],[102.430546,32.28719],[102.430116,32.287767],[102.429922,32.287892],[102.429164,32.288382],[102.428583,32.289111],[102.428442,32.289646],[102.428394,32.289825],[102.428025,32.291217],[102.427678,32.29248],[102.427089,32.293474],[102.426431,32.29473],[102.425946,32.295245],[102.425403,32.295821],[102.424268,32.296274],[102.423392,32.296415],[102.422145,32.29657],[102.421203,32.296688],[102.419915,32.296739],[102.419457,32.296758],[102.418769,32.296758],[102.41684,32.296757],[102.414842,32.296875],[102.414055,32.29669],[102.413604,32.296585],[102.413298,32.296535],[102.412283,32.296866],[102.412026,32.29686],[102.410568,32.29683],[102.410499,32.296826],[102.409512,32.296756],[102.40948,32.296754],[102.408561,32.296689],[102.407203,32.296611],[102.406307,32.296894],[102.406286,32.297647],[102.406432,32.298755],[102.406342,32.299808],[102.406341,32.299853],[102.406337,32.299987],[102.406333,32.300126],[102.40633,32.300231],[102.406325,32.300416],[102.406319,32.300652],[102.406314,32.300817],[102.406309,32.300995],[102.406304,32.301146],[102.4063,32.301298],[102.406323,32.301464],[102.406345,32.301622],[102.406373,32.301825],[102.406403,32.30204],[102.40643,32.302229],[102.406446,32.302345],[102.406478,32.302577],[102.406507,32.302783],[102.406534,32.302981],[102.406562,32.303179],[102.406563,32.303396],[102.406563,32.303463],[102.406564,32.303568],[102.406565,32.303804],[102.406566,32.304044],[102.406566,32.304154],[102.406566,32.304193],[102.406567,32.304287],[102.406568,32.304556],[102.406569,32.304796],[102.406569,32.304863],[102.40657,32.305096],[102.406571,32.305289],[102.406571,32.305404],[102.406572,32.305591],[102.406572,32.305719],[102.406573,32.305983],[102.406573,32.306104],[102.406573,32.30611],[102.406573,32.306147],[102.406578,32.308137],[102.406479,32.308814],[102.406383,32.309472],[102.406189,32.310741],[102.405829,32.312275],[102.405008,32.313397],[102.403697,32.315111],[102.402707,32.316632],[102.401858,32.318758],[102.401741,32.320095],[102.401235,32.321224],[102.400807,32.322453],[102.400633,32.322953],[102.400456,32.324518],[102.400363,32.32534],[102.400234,32.326324],[102.399947,32.327518],[102.399466,32.33021],[102.399234,32.333035],[102.399008,32.335154],[102.397563,32.334466],[102.396598,32.334668],[102.395766,32.334799],[102.394551,32.334625],[102.393033,32.334372],[102.392014,32.33424],[102.391188,32.334133],[102.390993,32.334108],[102.389526,32.333597],[102.389072,32.333468],[102.388925,32.333294],[102.388894,32.332607],[102.389149,32.332155],[102.389373,32.331759],[102.389392,32.331457],[102.389464,32.330346],[102.389487,32.329532],[102.389525,32.329151],[102.389561,32.328778],[102.38963,32.328077],[102.389636,32.328009],[102.389704,32.327264],[102.389165,32.326696],[102.388519,32.326339],[102.388387,32.326332],[102.388139,32.326319],[102.387743,32.326298],[102.387649,32.326293],[102.387618,32.326291],[102.387208,32.326269],[102.386572,32.326499],[102.386085,32.326675],[102.386012,32.326709],[102.385369,32.327003],[102.385102,32.32711],[102.385082,32.327118],[102.384819,32.327222],[102.38475,32.32725],[102.384245,32.327451],[102.383216,32.328116],[102.382758,32.32835],[102.382698,32.328381],[102.382502,32.328481],[102.382162,32.328655],[102.382089,32.328693],[102.381887,32.328856],[102.381861,32.328876],[102.381055,32.329529],[102.380272,32.330413],[102.37984,32.33139],[102.378605,32.332179],[102.377477,32.332756],[102.376519,32.332736],[102.37576,32.332763],[102.375252,32.332881],[102.375032,32.33349],[102.376298,32.334395],[102.376631,32.334957],[102.376615,32.335512],[102.376028,32.336203],[102.375079,32.337367],[102.373813,32.338969],[102.372799,32.340872],[102.372027,32.341928],[102.371335,32.343283],[102.370191,32.345146],[102.369589,32.346355],[102.369292,32.347606],[102.368694,32.348667],[102.367972,32.34954],[102.367472,32.350232],[102.366066,32.35061],[102.364567,32.351208],[102.363549,32.351741],[102.362957,32.352617],[102.362371,32.353271],[102.362164,32.353634],[102.361683,32.354477],[102.361414,32.35621],[102.361379,32.357431],[102.36127,32.358168],[102.361199,32.359129],[102.361068,32.360643],[102.36063,32.363705],[102.360385,32.364625],[102.360052,32.36558],[102.359888,32.366723],[102.359798,32.368312],[102.35968,32.369383],[102.35931,32.370115],[102.358235,32.371091],[102.357558,32.371891],[102.356533,32.372647],[102.355159,32.373432],[102.354258,32.374412],[102.354239,32.375077],[102.354044,32.375776],[102.353752,32.376806],[102.353545,32.377949],[102.353004,32.378529],[102.352253,32.378883],[102.351855,32.37906],[102.350881,32.379595],[102.351449,32.381049],[102.351995,32.383244],[102.352552,32.385068],[102.352564,32.386142],[102.352579,32.387141],[102.352677,32.387444],[102.353236,32.389172],[102.353459,32.38986],[102.353635,32.39127],[102.354038,32.392425],[102.354352,32.393616],[102.355108,32.394594],[102.355089,32.395259],[102.35438,32.397131],[102.352698,32.399464],[102.351006,32.400686],[102.349568,32.402136],[102.34617,32.407947],[102.345785,32.408491],[102.345772,32.408509],[102.345373,32.409072],[102.3453,32.409175],[102.345289,32.40919],[102.345283,32.409199],[102.345215,32.409296],[102.344227,32.410274],[102.343993,32.410485],[102.342031,32.412263],[102.338886,32.415163],[102.337247,32.416674],[102.33675,32.417132],[102.336709,32.417169],[102.336699,32.417179],[102.336666,32.417209],[102.336623,32.417249],[102.336616,32.417255],[102.336462,32.417397],[102.336382,32.417471],[102.335594,32.417565],[102.334971,32.417589],[102.334328,32.417613],[102.332497,32.417574],[102.331197,32.417287],[102.330141,32.417065],[102.329636,32.416958],[102.327275,32.415687],[102.326135,32.415885],[102.324757,32.416781],[102.323692,32.417387],[102.322646,32.417365],[102.321596,32.417454],[102.320608,32.416952],[102.319248,32.417219],[102.319057,32.41777],[102.31871,32.419168],[102.318842,32.420614],[102.318847,32.420988],[102.318856,32.421613],[102.319034,32.422949],[102.319457,32.426362],[102.319588,32.427807],[102.319737,32.428699],[102.319935,32.429369],[102.320371,32.430858],[102.320451,32.432562],[102.320407,32.434041],[102.320707,32.435712],[102.32075,32.437193],[102.32067,32.438412],[102.320417,32.43959],[102.32037,32.44118],[102.320409,32.442809],[102.320434,32.444918],[102.32067,32.445774],[102.321341,32.446714],[102.321883,32.447539],[102.322678,32.448703],[102.323044,32.449599],[102.325506,32.454868],[102.326407,32.456885],[102.326497,32.458256],[102.32624,32.459545],[102.325773,32.460608],[102.325561,32.461861],[102.325074,32.463553],[102.325061,32.465477],[102.324895,32.466657],[102.324727,32.467911],[102.32456,32.469129],[102.324606,32.470535],[102.324006,32.471633],[102.323588,32.472475],[102.322209,32.47337],[102.321372,32.473611],[102.320272,32.473921],[102.318993,32.474375],[102.317894,32.47461],[102.316193,32.474574],[102.314795,32.474618],[102.314213,32.475123],[102.313725,32.475775],[102.313395,32.476216],[102.313131,32.476667],[102.312199,32.478262],[102.311323,32.479834],[102.311219,32.480334],[102.310916,32.481787],[102.311089,32.483307],[102.311673,32.484208],[102.311739,32.4847],[102.311816,32.485284],[102.31153,32.486092],[102.31063,32.486997],[102.309694,32.487643],[102.308793,32.488586],[102.308286,32.4895],[102.307999,32.490345],[102.307839,32.491304],[102.307815,32.492117],[102.308133,32.49316],[102.308318,32.494274],[102.30869,32.494985],[102.308679,32.495343],[102.308664,32.495872],[102.308633,32.496907],[102.308369,32.49715],[102.308319,32.497197],[102.308144,32.49723],[102.30744,32.497363],[102.307147,32.49745],[102.30559,32.497915],[102.304271,32.498257],[102.303308,32.49831],[102.301595,32.49868],[102.300504,32.498657],[102.300373,32.498609],[102.300303,32.498583],[102.299338,32.498225],[102.298297,32.498018],[102.297387,32.497776],[102.296037,32.497673],[102.295037,32.497541],[102.293911,32.49722],[102.292726,32.497454],[102.292101,32.497884],[102.291871,32.498286],[102.29189,32.499101],[102.291976,32.50062],[102.291887,32.502135],[102.291637,32.503202],[102.291601,32.503375],[102.291597,32.503393],[102.291505,32.503833],[102.29147,32.503999],[102.291382,32.504418],[102.290941,32.506036],[102.290556,32.507212],[102.290392,32.508318],[102.290603,32.510025],[102.29064,32.511691],[102.290391,32.512721],[102.29019,32.513605],[102.289346,32.515511],[102.288597,32.517196],[102.288122,32.517988],[102.287869,32.518673],[102.287337,32.518908],[102.286228,32.519032],[102.284592,32.519194],[102.283165,32.519536],[102.282892,32.519601],[102.281662,32.519821],[102.280661,32.520194],[102.280417,32.5203],[102.280201,32.520393],[102.280189,32.520398],[102.279632,32.520638],[102.279246,32.520805],[102.278934,32.521489],[102.278447,32.522401],[102.277761,32.523683],[102.277274,32.524758],[102.277244,32.524826],[102.277143,32.525049],[102.277014,32.525018],[102.276779,32.524961],[102.276544,32.524904],[102.27631,32.524846],[102.276075,32.524789],[102.275857,32.52472],[102.275639,32.524651],[102.275299,32.52453],[102.275037,32.524347],[102.274816,32.524082],[102.274802,32.52406],[102.274785,32.524033],[102.27465,32.523819],[102.274563,32.523527],[102.274535,32.523284],[102.274531,32.523251],[102.274517,32.523138],[102.274515,32.523108],[102.274514,32.523097],[102.274505,32.522976],[102.274553,32.522872],[102.274604,32.522763],[102.274627,32.522713],[102.274749,32.522451],[102.27489,32.522227],[102.274992,32.522052],[102.274988,32.522033],[102.274974,32.52197],[102.27492,32.521911],[102.274887,32.521875],[102.274809,32.521789],[102.274619,32.521705],[102.274498,32.52168],[102.274354,32.52165],[102.274185,32.521646],[102.274086,32.521644],[102.273972,32.521641],[102.273945,32.52164],[102.273685,32.521627],[102.273398,32.521613],[102.273015,32.521516],[102.27298,32.521506],[102.272871,32.521439],[102.272714,32.521341],[102.272665,32.52131],[102.272604,32.521273],[102.272433,32.521087],[102.272345,32.520991],[102.272162,32.520727],[102.271881,32.520495],[102.2716,32.520327],[102.271536,32.5203],[102.271419,32.52025],[102.271333,32.520214],[102.271306,32.520202],[102.271279,32.520191],[102.271266,32.520188],[102.27088,32.520102],[102.270641,32.520104],[102.270403,32.520107],[102.270124,32.520142],[102.269985,32.520159],[102.269845,32.520177],[102.269719,32.520168],[102.26968,32.520165],[102.2695,32.520152],[102.269215,32.520099],[102.268971,32.519948],[102.268958,32.519931],[102.268931,32.519895],[102.268903,32.519857],[102.268713,32.519601],[102.268591,32.519445],[102.268569,32.519417],[102.268556,32.5194],[102.268475,32.519297],[102.268456,32.519273],[102.268363,32.519104],[102.268242,32.518884],[102.268083,32.518596],[102.268068,32.518568],[102.268027,32.518495],[102.267986,32.51842],[102.267813,32.518106],[102.267707,32.517914],[102.267599,32.517717],[102.267445,32.517468],[102.267417,32.517423],[102.267269,32.517226],[102.267177,32.517127],[102.267019,32.517056],[102.266987,32.517041],[102.26689,32.517035],[102.266644,32.517018],[102.266565,32.517012],[102.266367,32.516998],[102.266319,32.516995],[102.26613,32.51691],[102.265982,32.51676],[102.265873,32.516548],[102.265846,32.516223],[102.265853,32.515964],[102.26592,32.515658],[102.265986,32.515353],[102.266042,32.515195],[102.266049,32.515177],[102.266072,32.515048],[102.266122,32.514677],[102.266013,32.514495],[102.265967,32.514459],[102.265938,32.514437],[102.265863,32.514378],[102.265843,32.514363],[102.265829,32.514356],[102.265524,32.514209],[102.265145,32.514023],[102.264943,32.513842],[102.264759,32.513594],[102.26463,32.513381],[102.264601,32.513044],[102.264572,32.512706],[102.264564,32.512342],[102.264564,32.512341],[102.264562,32.512254],[102.264561,32.512191],[102.264558,32.512084],[102.264557,32.51201],[102.264556,32.511978],[102.264542,32.511781],[102.264535,32.511685],[102.264529,32.511604],[102.264423,32.511328],[102.264391,32.511291],[102.26438,32.511278],[102.264308,32.511196],[102.264219,32.511096],[102.264206,32.511081],[102.2642,32.511073],[102.264173,32.511041],[102.264145,32.511008],[102.264035,32.510876],[102.263985,32.510817],[102.263944,32.510767],[102.263917,32.510743],[102.263897,32.510726],[102.263744,32.51059],[102.263644,32.510502],[102.263581,32.510464],[102.263525,32.510431],[102.263363,32.510333],[102.263221,32.510303],[102.263191,32.510297],[102.263105,32.510295],[102.263045,32.510294],[102.26302,32.510294],[102.262713,32.510303],[102.262465,32.510395],[102.262424,32.51041],[102.262381,32.510443],[102.262272,32.510524],[102.262227,32.510558],[102.262141,32.510622],[102.26211,32.510645],[102.262074,32.510672],[102.261757,32.510913],[102.261519,32.511073],[102.26149,32.511092],[102.261406,32.511148],[102.261268,32.511221],[102.26123,32.511242],[102.261069,32.511285],[102.261006,32.511302],[102.260951,32.511316],[102.260909,32.511328],[102.26085,32.511343],[102.260794,32.511358],[102.260671,32.511391],[102.260385,32.511445],[102.26027,32.511466],[102.260128,32.511493],[102.259869,32.511541],[102.259798,32.511556],[102.259764,32.511563],[102.259715,32.511573],[102.259562,32.511606],[102.259429,32.511666],[102.25942,32.511671],[102.259378,32.51169],[102.259329,32.511712],[102.259096,32.511819],[102.258952,32.511885],[102.258914,32.511902],[102.258876,32.51192],[102.258863,32.511926],[102.258699,32.512001],[102.258629,32.512032],[102.258391,32.512086],[102.258301,32.512106],[102.258153,32.51214],[102.258097,32.512144],[102.257916,32.512158],[102.257678,32.512177],[102.257343,32.512216],[102.257006,32.512303],[102.256693,32.512556],[102.256596,32.512904],[102.256523,32.513161],[102.256498,32.513251],[102.256349,32.513602],[102.256259,32.513811],[102.256169,32.514021],[102.255982,32.514205],[102.255796,32.514389],[102.255623,32.514562],[102.255451,32.514735],[102.255306,32.514932],[102.255161,32.51513],[102.254807,32.51531],[102.254454,32.515491],[102.254177,32.515462],[102.25393,32.515339],[102.253742,32.515123],[102.25361,32.514861],[102.253524,32.514484],[102.253438,32.514108],[102.253385,32.513706],[102.253332,32.513305],[102.25328,32.512903],[102.25327,32.512677],[102.25326,32.512451],[102.25325,32.512225],[102.25324,32.511999],[102.25323,32.511772],[102.25322,32.511546],[102.253211,32.51132],[102.253201,32.511094],[102.253191,32.510867],[102.253181,32.510641],[102.25318,32.510373],[102.25318,32.510106],[102.253179,32.509838],[102.253178,32.50957],[102.253178,32.509303],[102.253177,32.509035],[102.253176,32.508767],[102.253175,32.5085],[102.253175,32.508232],[102.253174,32.507964],[102.253173,32.507696],[102.253173,32.507429],[102.253172,32.507161],[102.253171,32.506893],[102.253171,32.506626],[102.25317,32.506358],[102.253154,32.50612],[102.253138,32.505882],[102.253122,32.505645],[102.253106,32.505407],[102.25309,32.505169],[102.253074,32.504931],[102.253058,32.504694],[102.253042,32.504456],[102.253026,32.504218],[102.25301,32.503981],[102.252994,32.503743],[102.252978,32.503505],[102.25293,32.503249],[102.252882,32.502993],[102.252834,32.502737],[102.252786,32.50248],[102.252738,32.502224],[102.252691,32.501968],[102.252605,32.501755],[102.25252,32.501542],[102.252435,32.501328],[102.25235,32.501115],[102.252265,32.500902],[102.252179,32.500688],[102.252094,32.500475],[102.252009,32.500262],[102.25194,32.500117],[102.251924,32.500082],[102.251843,32.499911],[102.251745,32.499705],[102.251647,32.499499],[102.25155,32.499293],[102.251452,32.499088],[102.251355,32.498882],[102.251263,32.498536],[102.251172,32.49819],[102.25111,32.497955],[102.251048,32.49772],[102.250987,32.497485],[102.250925,32.497251],[102.250863,32.497016],[102.250801,32.496781],[102.250739,32.496547],[102.250677,32.496312],[102.250615,32.496077],[102.250554,32.495842],[102.250492,32.495608],[102.25043,32.495373],[102.250368,32.495138],[102.250306,32.494904],[102.250179,32.494548],[102.250121,32.494388],[102.250051,32.494192],[102.249838,32.493833],[102.249649,32.493642],[102.249348,32.493493],[102.24896,32.493415],[102.248703,32.493409],[102.248446,32.493403],[102.248189,32.493397],[102.247931,32.493392],[102.247666,32.493421],[102.247402,32.49345],[102.247136,32.49348],[102.246871,32.493509],[102.246501,32.49376],[102.246132,32.494011],[102.245762,32.494262],[102.245711,32.494302],[102.245563,32.494415],[102.245363,32.494568],[102.245164,32.49472],[102.244965,32.494873],[102.244765,32.495025],[102.244566,32.495178],[102.244366,32.49533],[102.244167,32.495483],[102.243968,32.495635],[102.243768,32.495788],[102.243569,32.495941],[102.24337,32.496093],[102.243205,32.496252],[102.24304,32.49641],[102.242875,32.496568],[102.24271,32.496727],[102.242545,32.496885],[102.24238,32.497043],[102.242215,32.497202],[102.24205,32.49736],[102.241891,32.497565],[102.241731,32.497771],[102.241572,32.497976],[102.241413,32.498182],[102.241253,32.498387],[102.241176,32.498487],[102.241094,32.498593],[102.240934,32.498798],[102.240775,32.499004],[102.24077,32.499014],[102.240604,32.499375],[102.240433,32.499746],[102.240262,32.500117],[102.240142,32.500378],[102.24003,32.500582],[102.239918,32.500787],[102.239806,32.500992],[102.239694,32.501197],[102.239582,32.501401],[102.23947,32.501606],[102.239358,32.501811],[102.239246,32.502016],[102.239134,32.50222],[102.239022,32.502425],[102.238908,32.502678],[102.238793,32.50293],[102.238679,32.503183],[102.238565,32.503435],[102.238451,32.503688],[102.238393,32.503815],[102.238336,32.50394],[102.238282,32.50419],[102.238228,32.50444],[102.238174,32.50469],[102.23812,32.504941],[102.238066,32.505191],[102.238011,32.505441],[102.237976,32.505699],[102.23794,32.505957],[102.237934,32.506192],[102.237927,32.506427],[102.237959,32.506687],[102.237992,32.506947],[102.238086,32.507165],[102.23818,32.507384],[102.238273,32.507603],[102.238367,32.507822],[102.238461,32.508041],[102.238555,32.50826],[102.238649,32.508479],[102.238742,32.508697],[102.238836,32.508916],[102.23893,32.509135],[102.238986,32.509354],[102.239042,32.509574],[102.239099,32.509793],[102.239155,32.510012],[102.239199,32.510366],[102.239162,32.510672],[102.239042,32.510975],[102.238808,32.5113],[102.238636,32.511473],[102.238464,32.511646],[102.238175,32.511968],[102.237945,32.512246],[102.237826,32.512491],[102.237707,32.512736],[102.237615,32.513016],[102.237608,32.513257],[102.237605,32.513345],[102.237595,32.513674],[102.237694,32.514077],[102.237727,32.514337],[102.237761,32.514597],[102.237753,32.514867],[102.237744,32.515138],[102.237706,32.515514],[102.237615,32.515723],[102.237493,32.516074],[102.237432,32.516293],[102.23737,32.516512],[102.237383,32.516655],[102.237401,32.516853],[102.237433,32.517195],[102.237437,32.517501],[102.237442,32.517807],[102.237442,32.51792],[102.237443,32.518059],[102.237445,32.51831],[102.237446,32.518561],[102.237448,32.518813],[102.237449,32.519064],[102.237451,32.519315],[102.237508,32.519717],[102.237566,32.520118],[102.237527,32.520447],[102.237489,32.520776],[102.237394,32.521174],[102.237246,32.521453],[102.237099,32.521733],[102.236927,32.522082],[102.236755,32.522431],[102.236583,32.52278],[102.236322,32.523136],[102.23606,32.523491],[102.235799,32.523847],[102.235644,32.52402],[102.23549,32.524193],[102.235335,32.524366],[102.23518,32.524539],[102.235025,32.524712],[102.23487,32.524885],[102.234715,32.525059],[102.234561,32.525232],[102.234394,32.525446],[102.234227,32.52566],[102.23406,32.525874],[102.233893,32.526089],[102.233761,32.526333],[102.233629,32.526577],[102.233452,32.526903],[102.2334,32.527196],[102.233349,32.52749],[102.233335,32.527741],[102.23332,32.527992],[102.233306,32.528244],[102.233292,32.528495],[102.233336,32.528861],[102.23338,32.529227],[102.233342,32.529544],[102.233305,32.529861],[102.233239,32.530201],[102.233174,32.530541],[102.233139,32.530776],[102.233104,32.53101],[102.233047,32.531244],[102.232991,32.531479],[102.23295,32.53165],[102.232935,32.531713],[102.232879,32.531947],[102.232781,32.532192],[102.232683,32.532437],[102.232585,32.532682],[102.232487,32.532927],[102.232425,32.533144],[102.232362,32.533361],[102.2323,32.533578],[102.232238,32.533794],[102.232239,32.534027],[102.23224,32.53426],[102.23224,32.534492],[102.232241,32.534725],[102.232242,32.534958],[102.232242,32.535108],[102.232243,32.53519],[102.232244,32.535423],[102.232244,32.535656],[102.232245,32.535888],[102.232246,32.536121],[102.232205,32.536387],[102.232165,32.536653],[102.232124,32.536919],[102.232083,32.537185],[102.232043,32.537451],[102.232002,32.537717],[102.231908,32.538068],[102.231814,32.538419],[102.231733,32.538601],[102.231679,32.538722],[102.231545,32.539025],[102.231382,32.539328],[102.231219,32.539631],[102.23107,32.539933],[102.23099,32.540097],[102.230922,32.540235],[102.230841,32.540611],[102.23076,32.540986],[102.230695,32.541279],[102.230631,32.541571],[102.230618,32.541704],[102.230609,32.541784],[102.23058,32.542065],[102.230551,32.542346],[102.230566,32.542731],[102.230582,32.543115],[102.230597,32.543499],[102.230716,32.543726],[102.230834,32.543954],[102.23088,32.544262],[102.230842,32.54459],[102.230691,32.544963],[102.230652,32.545011],[102.230431,32.545287],[102.230233,32.545424],[102.230035,32.545561],[102.229751,32.545696],[102.229468,32.545831],[102.229215,32.545919],[102.228962,32.546008],[102.228623,32.546095],[102.228373,32.546112],[102.228234,32.54611],[102.227848,32.545983],[102.227462,32.545857],[102.227227,32.545731],[102.226992,32.545606],[102.226757,32.54548],[102.226523,32.545355],[102.226288,32.545229],[102.226182,32.545173],[102.226053,32.545104],[102.225859,32.54497],[102.225666,32.544836],[102.225472,32.544702],[102.225279,32.544568],[102.225086,32.544435],[102.224892,32.544301],[102.224699,32.544167],[102.224505,32.544033],[102.224312,32.543899],[102.224118,32.543765],[102.223886,32.543629],[102.223653,32.543492],[102.223421,32.543356],[102.223189,32.543219],[102.222956,32.543083],[102.222724,32.542946],[102.222491,32.542809],[102.222259,32.542673],[102.222026,32.542536],[102.221794,32.5424],[102.221562,32.542263],[102.221329,32.542126],[102.221082,32.541955],[102.220835,32.541784],[102.220508,32.541558],[102.220182,32.541332],[102.219855,32.541106],[102.219655,32.540853],[102.219504,32.540664],[102.219489,32.540645],[102.219471,32.540623],[102.219454,32.540601],[102.219242,32.540244],[102.219058,32.539886],[102.218985,32.539579],[102.218913,32.53916],[102.218841,32.538742],[102.21877,32.538323],[102.218698,32.537904],[102.21866,32.537661],[102.218622,32.537419],[102.218585,32.537177],[102.218547,32.536934],[102.218509,32.536692],[102.218471,32.53645],[102.218434,32.536208],[102.218396,32.535965],[102.218379,32.535588],[102.218249,32.535326],[102.218005,32.535062],[102.217814,32.53494],[102.217623,32.534817],[102.217266,32.534717],[102.216987,32.53471],[102.216743,32.53471],[102.2165,32.534711],[102.21634,32.534711],[102.216256,32.534712],[102.216013,32.534712],[102.215614,32.534703],[102.215215,32.534694],[102.214816,32.534686],[102.214383,32.534711],[102.213951,32.534737],[102.213688,32.5348],[102.213425,32.534862],[102.213287,32.534895],[102.213239,32.534906],[102.213172,32.534922],[102.213163,32.534925],[102.213151,32.534927],[102.213123,32.534934],[102.2129,32.534987],[102.212727,32.535028],[102.212638,32.535049],[102.212375,32.535112],[102.212113,32.535174],[102.21185,32.535237],[102.211587,32.535299],[102.211325,32.535361],[102.211063,32.535416],[102.210802,32.535472],[102.21054,32.535527],[102.210279,32.535582],[102.210017,32.535637],[102.209755,32.535692],[102.209494,32.535747],[102.209232,32.535802],[102.209173,32.535814],[102.208971,32.535857],[102.208709,32.535912],[102.208448,32.535967],[102.208291,32.536],[102.208275,32.536004],[102.208186,32.536022],[102.207774,32.53613],[102.20765,32.536163],[102.207552,32.536189],[102.207363,32.536239],[102.206951,32.536347],[102.206559,32.536393],[102.206168,32.53644],[102.205777,32.536486],[102.205771,32.536486],[102.205443,32.536491],[102.205108,32.536495],[102.204873,32.536466],[102.204637,32.536437],[102.204276,32.536406],[102.203859,32.536326],[102.203532,32.536177],[102.203313,32.536054],[102.203126,32.535791],[102.203044,32.535537],[102.202962,32.535283],[102.202879,32.535029],[102.202797,32.534774],[102.202715,32.53452],[102.202633,32.534266],[102.202551,32.534011],[102.202469,32.533757],[102.202387,32.533503],[102.202305,32.533248],[102.202223,32.532994],[102.202141,32.53274],[102.202059,32.532486],[102.201977,32.532231],[102.201895,32.531977],[102.201813,32.531723],[102.201731,32.531468],[102.201648,32.531214],[102.201566,32.53096],[102.201484,32.530706],[102.201402,32.530451],[102.20132,32.530197],[102.201247,32.529978],[102.201173,32.529758],[102.2011,32.529539],[102.201027,32.529319],[102.200953,32.5291],[102.20088,32.52888],[102.200806,32.528661],[102.200733,32.528441],[102.200675,32.528178],[102.200617,32.527915],[102.200559,32.527652],[102.200502,32.527388],[102.200444,32.527125],[102.200386,32.526862],[102.200328,32.526599],[102.20027,32.526335],[102.200253,32.525984],[102.200264,32.525605],[102.200298,32.525419],[102.200359,32.525254],[102.20053,32.525105],[102.200681,32.524974],[102.200689,32.524968],[102.200701,32.524957],[102.200874,32.524808],[102.201046,32.524659],[102.201218,32.524511],[102.20139,32.524362],[102.201563,32.524213],[102.201643,32.524144],[102.201645,32.524143],[102.201735,32.524065],[102.201907,32.523916],[102.201961,32.52387],[102.202079,32.523767],[102.202245,32.523571],[102.202412,32.523374],[102.202578,32.523178],[102.202744,32.522982],[102.202949,32.52268],[102.203069,32.522425],[102.203174,32.522191],[102.203278,32.521957],[102.203345,32.521712],[102.203411,32.521466],[102.203478,32.52122],[102.203545,32.520975],[102.203612,32.520729],[102.203679,32.520483],[102.203745,32.520238],[102.203812,32.519992],[102.203867,32.519552],[102.203922,32.519112],[102.203977,32.518671],[102.204001,32.518481],[102.204001,32.518479],[102.204002,32.518477],[102.204033,32.518231],[102.204031,32.518193],[102.204011,32.517808],[102.203989,32.517385],[102.203967,32.516961],[102.203946,32.516538],[102.203898,32.516278],[102.20385,32.516018],[102.203803,32.515758],[102.203755,32.515498],[102.203666,32.515237],[102.203577,32.514976],[102.20342,32.514643],[102.203318,32.514359],[102.203191,32.513955],[102.203108,32.513694],[102.203025,32.513433],[102.202943,32.513172],[102.20286,32.512911],[102.202851,32.512676],[102.202842,32.512441],[102.202833,32.512206],[102.202824,32.511971],[102.202815,32.511735],[102.202806,32.5115],[102.202797,32.511265],[102.202788,32.51103],[102.202779,32.510795],[102.20277,32.510559],[102.202761,32.510324],[102.202757,32.510228],[102.202752,32.510089],[102.202713,32.509853],[102.202674,32.509616],[102.202634,32.50938],[102.202595,32.509144],[102.202556,32.508907],[102.202517,32.508671],[102.202478,32.508435],[102.202439,32.508198],[102.2024,32.507962],[102.202361,32.507726],[102.202322,32.507489],[102.202282,32.507253],[102.202255,32.506992],[102.202228,32.506731],[102.202201,32.50647],[102.202174,32.506209],[102.202147,32.505948],[102.20212,32.505686],[102.202093,32.505425],[102.202066,32.505164],[102.202039,32.504903],[102.202012,32.504642],[102.201985,32.504381],[102.201958,32.50412],[102.201931,32.503859],[102.201904,32.503598],[102.201877,32.503337],[102.20185,32.503076],[102.201797,32.502674],[102.201744,32.502272],[102.201692,32.50187],[102.201537,32.501514],[102.201376,32.501276],[102.201215,32.501084],[102.201,32.500867],[102.200702,32.500578],[102.200461,32.500219],[102.200418,32.500117],[102.200281,32.499791],[102.200176,32.499577],[102.200072,32.499362],[102.19997,32.499031],[102.199923,32.498765],[102.199876,32.498499],[102.199828,32.498233],[102.199781,32.497968],[102.199731,32.497724],[102.199682,32.49748],[102.199632,32.497237],[102.199582,32.496993],[102.199532,32.496749],[102.199482,32.496506],[102.199387,32.496284],[102.199292,32.496062],[102.199274,32.496021],[102.199197,32.49584],[102.199102,32.495618],[102.199006,32.495396],[102.198989,32.495356],[102.198911,32.495175],[102.198699,32.494863],[102.198535,32.494765],[102.198314,32.49469],[102.198009,32.494685],[102.197618,32.494699],[102.197395,32.494728],[102.197172,32.494758],[102.196907,32.494776],[102.196642,32.494794],[102.196196,32.494807],[102.195751,32.494798],[102.195306,32.494788],[102.195023,32.494782],[102.194862,32.494779],[102.19464,32.494738],[102.194419,32.494697],[102.194032,32.494606],[102.193645,32.494515],[102.193386,32.494419],[102.193127,32.494323],[102.192868,32.494227],[102.192609,32.494131],[102.19235,32.494035],[102.192091,32.493939],[102.191832,32.493843],[102.191572,32.493747],[102.191313,32.493651],[102.191054,32.493555],[102.190795,32.493458],[102.190536,32.493362],[102.190422,32.493317],[102.190407,32.493101],[102.190308,32.49166],[102.190146,32.489163],[102.190196,32.48754],[102.190116,32.484999],[102.190245,32.484007],[102.190247,32.483987],[102.190347,32.483219],[102.190356,32.483147],[102.190431,32.482569],[102.190829,32.48004],[102.191084,32.478285],[102.191362,32.477039],[102.191566,32.475622],[102.191625,32.475014],[102.190869,32.473643],[102.190209,32.473019],[102.190121,32.472689],[102.189816,32.471555],[102.189845,32.470611],[102.189847,32.470541],[102.189853,32.470371],[102.189859,32.468887],[102.189859,32.468882],[102.189841,32.468837],[102.189451,32.467891],[102.189325,32.466805],[102.189001,32.465647],[102.188354,32.464651],[102.187653,32.46406],[102.186502,32.463865],[102.185543,32.463877],[102.184357,32.463512],[102.182871,32.462497],[102.182061,32.461599],[102.181184,32.460259],[102.180516,32.458653],[102.179957,32.457355],[102.178293,32.455659],[102.177609,32.45456],[102.177051,32.453262],[102.177122,32.452248],[102.17725,32.450899],[102.177301,32.450356],[102.177262,32.449069],[102.176963,32.447133],[102.176604,32.445839],[102.176494,32.444245],[102.176729,32.4431],[102.178165,32.440593],[102.178953,32.439629],[102.179582,32.438662],[102.179974,32.437621],[102.180074,32.43698],[102.179828,32.435892],[102.179334,32.435102],[102.179353,32.434493],[102.17904,32.432997],[102.178558,32.431835],[102.177884,32.430398],[102.177654,32.428802],[102.177956,32.428098],[102.17782,32.427317],[102.178134,32.426207],[102.178769,32.42507],[102.179495,32.423529],[102.180289,32.422689],[102.180403,32.422568],[102.181511,32.421577],[102.182488,32.420956],[102.183544,32.420371],[102.184198,32.419877],[102.184373,32.419374],[102.184315,32.418695],[102.183905,32.417738],[102.183051,32.416975],[102.182793,32.416292],[102.182047,32.415903],[102.181391,32.415177],[102.180948,32.414017],[102.180106,32.412881],[102.178906,32.411703],[102.178143,32.41047],[102.177899,32.409269],[102.177831,32.407833],[102.177736,32.403623],[102.177688,32.401566],[102.177022,32.3994],[102.176786,32.397915],[102.176776,32.397853],[102.176769,32.397807],[102.176743,32.397648],[102.17674,32.397624],[102.176606,32.396474],[102.177087,32.395528],[102.177899,32.394769],[102.178099,32.394304],[102.178118,32.394259],[102.178127,32.394237],[102.178067,32.394221],[102.178007,32.394204],[102.177247,32.394002],[102.1769,32.39387],[102.176874,32.39386],[102.176767,32.393819],[102.176719,32.393801],[102.176618,32.393763],[102.176551,32.393737],[102.176434,32.393693],[102.176244,32.393621],[102.176065,32.393549],[102.176002,32.393524],[102.175933,32.393496],[102.175651,32.393383],[102.175632,32.393375],[102.175611,32.393369],[102.175201,32.393203],[102.174777,32.393229],[102.174767,32.393573],[102.174765,32.393624],[102.174763,32.393681],[102.174762,32.393731],[102.174325,32.394187],[102.173881,32.394177],[102.173814,32.394176],[102.173734,32.394174],[102.173727,32.394165],[102.173699,32.394124],[102.173289,32.393519],[102.173214,32.392941],[102.173208,32.39289],[102.173205,32.392866],[102.1732,32.392827],[102.173187,32.392727],[102.173166,32.392559],[102.17316,32.392508],[102.173113,32.392123],[102.173109,32.392091],[102.173102,32.392034],[102.173086,32.3919],[102.172956,32.391882],[102.172826,32.391863],[102.17277,32.391855],[102.172758,32.391853],[102.172497,32.391815],[102.17169,32.391941],[102.170849,32.391778],[102.170823,32.391733],[102.170806,32.391705],[102.170568,32.391306],[102.170609,32.391013],[102.170614,32.390974],[102.170637,32.390813],[102.170642,32.390776],[102.170666,32.3906],[102.170655,32.390583],[102.170641,32.390528],[102.170661,32.390492],[102.170679,32.390479],[102.170687,32.390204],[102.170688,32.390169],[102.1707,32.389803],[102.170631,32.389302],[102.170641,32.389284],[102.170649,32.389249],[102.170643,32.38922],[102.170616,32.389186],[102.170597,32.389047],[102.170133,32.388674],[102.17012,32.388663],[102.170104,32.38866],[102.170087,32.388637],[102.169996,32.388564],[102.169967,32.388471],[102.169955,32.388416],[102.169912,32.388356],[102.169845,32.388303],[102.169816,32.38829],[102.169784,32.388289],[102.169707,32.388312],[102.169688,32.388329],[102.169652,32.388339],[102.16964,32.38834],[102.169601,32.388324],[102.169541,32.388284],[102.169454,32.38823],[102.169358,32.38817],[102.169323,32.388123],[102.169322,32.388089],[102.169369,32.388026],[102.169373,32.388022],[102.169378,32.388018],[102.169383,32.388014],[102.169389,32.388012],[102.169422,32.388],[102.169427,32.387998],[102.169433,32.387997],[102.16944,32.387997],[102.169446,32.387997],[102.169491,32.388002],[102.169525,32.387997],[102.169538,32.387984],[102.169543,32.387957],[102.169489,32.38785],[102.169447,32.387798],[102.169418,32.387779],[102.169411,32.387776],[102.169376,32.387748],[102.169325,32.387735],[102.169262,32.387734],[102.169219,32.387728],[102.169185,32.387711],[102.169162,32.38768],[102.169194,32.387663],[102.169185,32.38761],[102.169195,32.38756],[102.169239,32.387476],[102.169242,32.387471],[102.169289,32.387423],[102.169345,32.387398],[102.169648,32.387353],[102.169878,32.387286],[102.169979,32.387248],[102.169989,32.387242],[102.170015,32.387232],[102.170167,32.387193],[102.170272,32.387137],[102.170298,32.387088],[102.170294,32.387056],[102.17029,32.387052],[102.17026,32.387022],[102.170225,32.387013],[102.170143,32.387018],[102.170072,32.386993],[102.170057,32.386982],[102.170029,32.386963],[102.169999,32.386921],[102.169933,32.386753],[102.169897,32.386712],[102.169867,32.386677],[102.169861,32.386637],[102.169882,32.386604],[102.169927,32.386579],[102.170049,32.386559],[102.170082,32.386548],[102.170127,32.386511],[102.170136,32.386465],[102.170126,32.386438],[102.170088,32.386394],[102.169938,32.386337],[102.169927,32.38633],[102.169856,32.386286],[102.169838,32.386258],[102.16983,32.386195],[102.169857,32.386111],[102.169867,32.386081],[102.169944,32.385946],[102.170015,32.385858],[102.170108,32.385784],[102.170167,32.385569],[102.170209,32.385536],[102.170203,32.3855],[102.170304,32.385444],[102.170333,32.385419],[102.17031,32.385366],[102.170183,32.385245],[102.170178,32.385199],[102.170207,32.385147],[102.170285,32.385077],[102.170356,32.385045],[102.170419,32.385047],[102.170445,32.385062],[102.170474,32.385098],[102.170513,32.385111],[102.170544,32.385112],[102.170576,32.385106],[102.170606,32.385091],[102.170657,32.385033],[102.170657,32.384891],[102.170646,32.384821],[102.170615,32.384752],[102.170517,32.384628],[102.170476,32.384524],[102.170451,32.384503],[102.170284,32.384454],[102.170138,32.384382],[102.170112,32.38436],[102.170101,32.38434],[102.170094,32.384291],[102.170114,32.384232],[102.170167,32.384179],[102.170241,32.384142],[102.170379,32.384108],[102.170453,32.38408],[102.170512,32.384046],[102.170542,32.383997],[102.17057,32.383861],[102.170566,32.383838],[102.17054,32.383806],[102.170477,32.38378],[102.170437,32.383764],[102.170391,32.383721],[102.170312,32.383597],[102.1703,32.383573],[102.170263,32.383499],[102.170254,32.383431],[102.170266,32.383394],[102.170276,32.383384],[102.170305,32.383353],[102.170387,32.383301],[102.17053,32.38324],[102.170601,32.383166],[102.170641,32.383081],[102.170679,32.383003],[102.170783,32.382744],[102.170786,32.38271],[102.17077,32.382669],[102.170709,32.382594],[102.170627,32.382546],[102.170605,32.38254],[102.170571,32.382549],[102.170517,32.382564],[102.170486,32.382573],[102.17044,32.38257],[102.170403,32.382554],[102.170357,32.3825],[102.1703,32.382457],[102.170276,32.382424],[102.170233,32.382311],[102.170224,32.382298],[102.170189,32.382245],[102.170168,32.38223],[102.170129,32.382233],[102.170089,32.382224],[102.170053,32.382187],[102.170029,32.382121],[102.169986,32.382001],[102.16989,32.381849],[102.16989,32.381807],[102.169916,32.381785],[102.169969,32.381775],[102.170082,32.381776],[102.17011,32.38176],[102.170137,32.381729],[102.170151,32.381649],[102.170115,32.381563],[102.170123,32.381548],[102.170155,32.381529],[102.170163,32.381436],[102.170198,32.381417],[102.170226,32.381416],[102.170233,32.381406],[102.170238,32.381368],[102.170219,32.38134],[102.170209,32.381299],[102.17021,32.381261],[102.170223,32.381212],[102.170248,32.381168],[102.170283,32.381133],[102.170324,32.381115],[102.17038,32.38109],[102.17041,32.381035],[102.170411,32.381012],[102.170402,32.380993],[102.170313,32.381027],[102.1703,32.381028],[102.170252,32.381034],[102.170184,32.381022],[102.170136,32.381006],[102.170116,32.380999],[102.170083,32.380965],[102.17008,32.380928],[102.170111,32.380859],[102.170162,32.380814],[102.170226,32.380755],[102.170237,32.380746],[102.170243,32.380706],[102.170228,32.380672],[102.170213,32.380664],[102.170201,32.380664],[102.17019,32.380664],[102.170129,32.380682],[102.170051,32.380736],[102.170031,32.38079],[102.170001,32.380819],[102.169953,32.380838],[102.1699,32.380833],[102.169856,32.380804],[102.169801,32.38073],[102.169573,32.380514],[102.169541,32.380485],[102.169495,32.38043],[102.169498,32.380404],[102.169519,32.380374],[102.169658,32.380312],[102.169811,32.380203],[102.16985,32.380187],[102.16995,32.380176],[102.170017,32.380158],[102.170052,32.380128],[102.170084,32.380069],[102.170071,32.38001],[102.170048,32.379984],[102.170022,32.37997],[102.169991,32.379968],[102.169867,32.380011],[102.169842,32.380008],[102.169812,32.379992],[102.16978,32.379947],[102.169766,32.379849],[102.16978,32.379776],[102.169803,32.379745],[102.169819,32.379736],[102.169856,32.37974],[102.169943,32.37978],[102.16996,32.379769],[102.169959,32.37974],[102.169927,32.379628],[102.169877,32.379541],[102.169876,32.37952],[102.169896,32.379486],[102.169936,32.379464],[102.169967,32.37946],[102.170063,32.379508],[102.170086,32.379494],[102.170108,32.379481],[102.170135,32.379444],[102.170131,32.379421],[102.17007,32.379335],[102.170021,32.379268],[102.170007,32.379205],[102.169968,32.37916],[102.169948,32.379087],[102.169959,32.379055],[102.170025,32.378995],[102.170032,32.378983],[102.170043,32.378964],[102.170037,32.378771],[102.17003,32.378737],[102.170006,32.378733],[102.169923,32.378717],[102.16983,32.378681],[102.169701,32.378599],[102.169569,32.37854],[102.169417,32.378418],[102.169397,32.378371],[102.169415,32.378299],[102.169406,32.378264],[102.169366,32.378216],[102.169267,32.378134],[102.169085,32.377896],[102.169081,32.377878],[102.169089,32.377852],[102.169125,32.377829],[102.169139,32.3778],[102.169133,32.377781],[102.169121,32.377747],[102.169062,32.377678],[102.168867,32.377543],[102.168839,32.377493],[102.16884,32.377462],[102.168878,32.377413],[102.168897,32.377405],[102.168961,32.377401],[102.169013,32.377412],[102.169022,32.377418],[102.169062,32.377442],[102.169078,32.377458],[102.169104,32.377517],[102.169122,32.37754],[102.169204,32.377521],[102.169256,32.377492],[102.16929,32.377458],[102.169309,32.37745],[102.169344,32.377461],[102.169367,32.377481],[102.169384,32.377547],[102.169398,32.377567],[102.169432,32.377562],[102.169476,32.377519],[102.169487,32.377396],[102.169517,32.377365],[102.169554,32.377361],[102.169584,32.377234],[102.169582,32.377135],[102.169595,32.377064],[102.169588,32.377048],[102.169542,32.377018],[102.169533,32.37699],[102.169552,32.376952],[102.16963,32.376884],[102.169643,32.376861],[102.169645,32.376827],[102.169628,32.376779],[102.169601,32.376733],[102.169564,32.37674],[102.169478,32.376734],[102.169433,32.376716],[102.169417,32.376701],[102.169411,32.376683],[102.169481,32.376592],[102.169469,32.376521],[102.169481,32.376482],[102.1695,32.376463],[102.169547,32.376445],[102.169608,32.37645],[102.169641,32.376463],[102.169674,32.376454],[102.169698,32.376419],[102.169706,32.376394],[102.169707,32.376378],[102.16968,32.376327],[102.169689,32.376298],[102.16972,32.376269],[102.169846,32.376197],[102.169828,32.376162],[102.169724,32.376146],[102.169696,32.37613],[102.169658,32.376089],[102.169655,32.376069],[102.169667,32.376042],[102.169731,32.375996],[102.169733,32.37598],[102.169721,32.375955],[102.169675,32.375951],[102.169586,32.375959],[102.169542,32.37595],[102.169503,32.375921],[102.169497,32.375895],[102.169503,32.375863],[102.169532,32.375813],[102.169565,32.375793],[102.169625,32.375792],[102.169772,32.375806],[102.169921,32.375785],[102.169955,32.375757],[102.169956,32.375702],[102.169854,32.375672],[102.1698,32.375635],[102.169758,32.375595],[102.169717,32.375606],[102.169652,32.375662],[102.16963,32.375669],[102.169584,32.375661],[102.169511,32.375609],[102.169506,32.375598],[102.169493,32.375565],[102.169497,32.375535],[102.169524,32.375495],[102.169599,32.375427],[102.169606,32.375396],[102.169599,32.375325],[102.169585,32.375302],[102.169565,32.375289],[102.169513,32.375344],[102.169452,32.375366],[102.169391,32.375347],[102.169348,32.375319],[102.169341,32.375289],[102.169355,32.375259],[102.169486,32.375188],[102.169482,32.375151],[102.169455,32.375089],[102.169419,32.375068],[102.169344,32.375096],[102.169297,32.375159],[102.169256,32.375182],[102.169205,32.375182],[102.169196,32.37518],[102.169121,32.375165],[102.169104,32.375203],[102.169075,32.375271],[102.169071,32.37531],[102.169059,32.37541],[102.169025,32.375441],[102.168996,32.375454],[102.168961,32.375463],[102.168871,32.375464],[102.168844,32.375471],[102.168844,32.375478],[102.16887,32.375496],[102.168879,32.375524],[102.16886,32.37557],[102.168846,32.375582],[102.168803,32.375581],[102.168723,32.375521],[102.168668,32.37546],[102.168653,32.375429],[102.168653,32.375412],[102.168673,32.375396],[102.168711,32.375392],[102.168753,32.375359],[102.168829,32.37521],[102.168866,32.375089],[102.168885,32.375061],[102.168914,32.375041],[102.168949,32.37503],[102.168965,32.375025],[102.168992,32.375016],[102.169014,32.374997],[102.169026,32.374964],[102.169009,32.374825],[102.168987,32.374825],[102.16895,32.374837],[102.168935,32.37485],[102.168904,32.374906],[102.168897,32.374911],[102.168884,32.374919],[102.168843,32.37493],[102.16881,32.374919],[102.168761,32.374876],[102.168681,32.374878],[102.168637,32.374857],[102.168615,32.374837],[102.168604,32.374778],[102.168621,32.37474],[102.168641,32.374718],[102.168654,32.374709],[102.168705,32.374678],[102.168812,32.374645],[102.168822,32.374641],[102.168832,32.374631],[102.168835,32.374604],[102.168821,32.374578],[102.168816,32.374569],[102.168783,32.374539],[102.168764,32.374531],[102.168663,32.374557],[102.168618,32.374552],[102.168539,32.374492],[102.168512,32.374461],[102.168458,32.374334],[102.16839,32.374252],[102.16838,32.374212],[102.168397,32.374181],[102.168432,32.374166],[102.168461,32.374166],[102.168516,32.374192],[102.168546,32.374193],[102.168555,32.374178],[102.168551,32.374145],[102.168525,32.374086],[102.168496,32.374076],[102.168456,32.37408],[102.168365,32.37413],[102.168253,32.374179],[102.168245,32.374181],[102.168218,32.374189],[102.168154,32.374188],[102.168037,32.374152],[102.167963,32.374101],[102.167917,32.374041],[102.167903,32.373986],[102.167914,32.373875],[102.167914,32.373867],[102.167943,32.373783],[102.168012,32.373713],[102.16814,32.373634],[102.168688,32.373499],[102.168792,32.373495],[102.168914,32.373512],[102.168927,32.373507],[102.168953,32.373479],[102.16897,32.373441],[102.168973,32.373364],[102.168894,32.37321],[102.16888,32.373168],[102.168886,32.373145],[102.168963,32.373085],[102.16928,32.372897],[102.1693,32.372875],[102.169316,32.372826],[102.169308,32.372778],[102.169163,32.372715],[102.169156,32.37271],[102.169134,32.372691],[102.169122,32.372671],[102.169106,32.372597],[102.169107,32.372562],[102.169111,32.37248],[102.169065,32.372477],[102.169044,32.372487],[102.169023,32.372497],[102.169001,32.372555],[102.168971,32.372595],[102.168924,32.37263],[102.16885,32.372657],[102.168799,32.372651],[102.168759,32.372618],[102.168746,32.372591],[102.168743,32.372533],[102.16876,32.372475],[102.168781,32.372437],[102.168815,32.372373],[102.168864,32.372323],[102.16898,32.372278],[102.169223,32.372225],[102.169236,32.372212],[102.169231,32.372176],[102.169167,32.372149],[102.169142,32.372129],[102.169121,32.372068],[102.169128,32.372053],[102.169145,32.372039],[102.169276,32.371999],[102.169273,32.371982],[102.16925,32.37195],[102.169142,32.371925],[102.169115,32.371908],[102.169077,32.371883],[102.16905,32.371847],[102.16904,32.371789],[102.169064,32.371659],[102.169127,32.371533],[102.169184,32.37148],[102.169268,32.371455],[102.169289,32.371398],[102.169288,32.371316],[102.169271,32.371268],[102.169229,32.371224],[102.169115,32.371142],[102.169099,32.371108],[102.169103,32.371085],[102.169126,32.371047],[102.1692,32.371021],[102.169204,32.370976],[102.169193,32.370869],[102.169209,32.370821],[102.169226,32.370803],[102.169248,32.370797],[102.169286,32.370803],[102.169328,32.370822],[102.16934,32.370827],[102.169383,32.370867],[102.16947,32.370981],[102.169495,32.370997],[102.169705,32.370998],[102.169759,32.37098],[102.169799,32.370951],[102.169801,32.370894],[102.169781,32.37086],[102.169626,32.370755],[102.169604,32.370733],[102.16956,32.37069],[102.169533,32.37063],[102.169517,32.370542],[102.169484,32.370471],[102.16948,32.370425],[102.169507,32.370358],[102.169547,32.370323],[102.169611,32.370292],[102.169715,32.37028],[102.16974,32.370263],[102.169752,32.370221],[102.169658,32.370152],[102.169651,32.370131],[102.169656,32.370114],[102.169709,32.370051],[102.1698,32.369988],[102.169856,32.369935],[102.169884,32.369886],[102.169914,32.369784],[102.169895,32.369735],[102.169858,32.369687],[102.169718,32.369591],[102.169694,32.369575],[102.169625,32.369514],[102.169594,32.369468],[102.169589,32.369443],[102.169595,32.369384],[102.169619,32.369298],[102.169664,32.36919],[102.169682,32.369114],[102.169684,32.36909],[102.169685,32.369077],[102.169687,32.369057],[102.16969,32.369029],[102.169684,32.368983],[102.169668,32.368941],[102.16961,32.368871],[102.1695,32.368737],[102.169472,32.368669],[102.169462,32.368612],[102.169462,32.368533],[102.169498,32.368414],[102.169514,32.368363],[102.169512,32.368345],[102.169507,32.368289],[102.169487,32.368279],[102.169469,32.368277],[102.169427,32.368274],[102.169356,32.368282],[102.169313,32.368295],[102.169185,32.368357],[102.169178,32.368363],[102.169155,32.368383],[102.169112,32.368441],[102.169072,32.368451],[102.169007,32.368433],[102.168944,32.368372],[102.168881,32.368338],[102.168831,32.368328],[102.168739,32.368364],[102.168687,32.36837],[102.168625,32.368368],[102.168577,32.368347],[102.168541,32.36829],[102.168529,32.368238],[102.168535,32.368194],[102.168552,32.36817],[102.168616,32.368117],[102.168635,32.368045],[102.168637,32.367966],[102.168597,32.36788],[102.168603,32.367816],[102.168652,32.367733],[102.168738,32.367663],[102.168828,32.367566],[102.168907,32.367455],[102.168976,32.367326],[102.169049,32.367237],[102.16907,32.367174],[102.169066,32.367124],[102.169052,32.367089],[102.169023,32.36706],[102.168976,32.367031],[102.168878,32.366994],[102.168829,32.366988],[102.168738,32.366995],[102.168663,32.367001],[102.168645,32.367002],[102.168628,32.366998],[102.168547,32.366978],[102.168504,32.366954],[102.168482,32.366907],[102.168486,32.366788],[102.168464,32.366718],[102.168429,32.3666],[102.168404,32.366558],[102.168381,32.366519],[102.168354,32.36649],[102.168316,32.366464],[102.16831,32.36646],[102.168223,32.366436],[102.168128,32.366436],[102.168047,32.366471],[102.167941,32.366518],[102.1678,32.366549],[102.167746,32.366553],[102.167653,32.36654],[102.167592,32.366519],[102.167567,32.3665],[102.167545,32.366463],[102.167533,32.366374],[102.167542,32.366341],[102.16758,32.366279],[102.167614,32.366242],[102.167694,32.366179],[102.167739,32.366152],[102.167853,32.36611],[102.167907,32.366011],[102.167918,32.365934],[102.167908,32.365912],[102.16788,32.365885],[102.16786,32.365875],[102.167841,32.365877],[102.167735,32.365924],[102.167681,32.365928],[102.167646,32.365909],[102.167593,32.365852],[102.167577,32.365817],[102.167573,32.365776],[102.167581,32.365729],[102.167606,32.36568],[102.167653,32.365625],[102.167709,32.365578],[102.167769,32.365546],[102.167908,32.365525],[102.16797,32.365495],[102.167994,32.365468],[102.168009,32.365413],[102.16801,32.36534],[102.167986,32.365265],[102.167947,32.365194],[102.167919,32.365161],[102.16787,32.365104],[102.167772,32.365021],[102.167707,32.364984],[102.167658,32.364969],[102.167472,32.364956],[102.16735,32.364963],[102.167209,32.364984],[102.167163,32.364995],[102.166876,32.36506],[102.166765,32.365072],[102.166667,32.365059],[102.166609,32.365039],[102.166578,32.365003],[102.166573,32.364939],[102.166597,32.364869],[102.166648,32.364813],[102.166681,32.364791],[102.166729,32.364779],[102.166822,32.36478],[102.166903,32.364768],[102.16695,32.364749],[102.166962,32.364724],[102.166964,32.364696],[102.166967,32.364621],[102.166957,32.364539],[102.166782,32.364058],[102.166783,32.364],[102.166802,32.363901],[102.166824,32.363859],[102.166873,32.36383],[102.167037,32.363758],[102.167562,32.363567],[102.167807,32.363446],[102.167923,32.363402],[102.168021,32.363383],[102.168041,32.363372],[102.168045,32.36336],[102.168038,32.363307],[102.168025,32.363283],[102.168007,32.363276],[102.167879,32.363274],[102.167844,32.363266],[102.167823,32.363252],[102.167804,32.363226],[102.167783,32.363167],[102.167797,32.363124],[102.167846,32.363088],[102.167901,32.363064],[102.168006,32.363051],[102.168024,32.363037],[102.168085,32.362884],[102.168087,32.362825],[102.168063,32.362756],[102.168041,32.362751],[102.167971,32.362762],[102.167942,32.36278],[102.167862,32.362862],[102.16785,32.362873],[102.167823,32.362885],[102.16779,32.362878],[102.16775,32.362837],[102.167732,32.3628],[102.16774,32.362479],[102.167729,32.362436],[102.167687,32.362384],[102.167632,32.362341],[102.167529,32.362277],[102.167496,32.362266],[102.167412,32.36227],[102.167294,32.362299],[102.167195,32.362308],[102.167155,32.362305],[102.167095,32.362286],[102.167039,32.362247],[102.167,32.362201],[102.166941,32.362036],[102.166929,32.361939],[102.166928,32.361931],[102.166935,32.361833],[102.166951,32.361774],[102.167044,32.361546],[102.16708,32.361486],[102.167123,32.361436],[102.167177,32.361399],[102.167272,32.361357],[102.167298,32.361326],[102.167317,32.361267],[102.167291,32.361079],[102.167297,32.361049],[102.167326,32.361023],[102.167403,32.360995],[102.167426,32.360977],[102.16747,32.360919],[102.167508,32.360841],[102.167496,32.360826],[102.167385,32.360805],[102.167338,32.360762],[102.16733,32.360748],[102.167287,32.360669],[102.167272,32.360624],[102.167267,32.360568],[102.167292,32.360491],[102.167299,32.360485],[102.167309,32.360476],[102.16735,32.360467],[102.167423,32.360475],[102.167517,32.360499],[102.167602,32.360483],[102.167647,32.360453],[102.167662,32.360366],[102.167691,32.360307],[102.167718,32.360282],[102.16777,32.360267],[102.16792,32.360263],[102.168093,32.360207],[102.168135,32.3602],[102.168202,32.360208],[102.168329,32.360274],[102.168493,32.360332],[102.16851,32.360305],[102.168508,32.360247],[102.168461,32.360113],[102.168474,32.360055],[102.168509,32.359999],[102.168642,32.359892],[102.168736,32.359758],[102.168799,32.359669],[102.168822,32.359649],[102.168864,32.359632],[102.168892,32.359632],[102.168936,32.359644],[102.168987,32.359679],[102.168999,32.359727],[102.16904,32.359892],[102.169061,32.359925],[102.169095,32.359944],[102.169189,32.359971],[102.169243,32.359977],[102.169269,32.359971],[102.169307,32.359889],[102.169367,32.359825],[102.169426,32.359793],[102.169503,32.359791],[102.169536,32.359783],[102.169587,32.359745],[102.169621,32.359695],[102.169622,32.359654],[102.169549,32.359438],[102.169538,32.359405],[102.169516,32.359272],[102.169517,32.359237],[102.169537,32.359174],[102.169568,32.359126],[102.169593,32.359109],[102.169642,32.359099],[102.169753,32.35911],[102.169807,32.359126],[102.169831,32.359143],[102.169857,32.359184],[102.169867,32.359225],[102.169851,32.359377],[102.169857,32.359439],[102.169873,32.359472],[102.169894,32.359489],[102.169942,32.359512],[102.169963,32.35951],[102.170001,32.359484],[102.170051,32.359416],[102.170156,32.359349],[102.170223,32.359327],[102.170374,32.359304],[102.170404,32.359294],[102.170457,32.359262],[102.170478,32.359236],[102.170481,32.359192],[102.170472,32.359122],[102.170438,32.359024],[102.170367,32.358887],[102.170252,32.358731],[102.17023,32.358661],[102.170225,32.358642],[102.170224,32.358563],[102.170244,32.358498],[102.170265,32.358475],[102.170355,32.358375],[102.170366,32.358344],[102.170345,32.358277],[102.170256,32.358148],[102.170244,32.358132],[102.170225,32.358092],[102.170216,32.357994],[102.170221,32.35798],[102.17024,32.35793],[102.170426,32.357646],[102.170476,32.357598],[102.170529,32.357569],[102.170606,32.35755],[102.170676,32.357546],[102.170732,32.357562],[102.170817,32.357611],[102.170892,32.357643],[102.170912,32.357645],[102.170934,32.357632],[102.170972,32.357586],[102.170984,32.357553],[102.170997,32.357263],[102.171007,32.357212],[102.171047,32.357128],[102.171077,32.357091],[102.171125,32.357076],[102.171192,32.357081],[102.171309,32.357146],[102.171434,32.35719],[102.171486,32.357186],[102.171547,32.357157],[102.171565,32.357122],[102.171563,32.357065],[102.171502,32.356999],[102.171426,32.356954],[102.171401,32.356928],[102.171391,32.356879],[102.171401,32.35683],[102.17142,32.356808],[102.171479,32.35678],[102.17181,32.356693],[102.171849,32.356651],[102.171866,32.356598],[102.171863,32.356548],[102.171841,32.356496],[102.1718,32.356454],[102.171766,32.35645],[102.171642,32.356474],[102.17158,32.35647],[102.171552,32.356468],[102.17146,32.356446],[102.17143,32.356428],[102.171407,32.356401],[102.171391,32.35637],[102.171368,32.356279],[102.171364,32.356163],[102.171326,32.355972],[102.171329,32.355919],[102.171379,32.355773],[102.171372,32.355711],[102.171346,32.355649],[102.171305,32.355599],[102.171261,32.355566],[102.171176,32.355528],[102.171165,32.355509],[102.171164,32.355483],[102.171176,32.355448],[102.171199,32.355432],[102.171342,32.355415],[102.171439,32.355373],[102.171464,32.355352],[102.171473,32.355317],[102.171463,32.355266],[102.171384,32.355181],[102.171353,32.355127],[102.17135,32.355109],[102.171365,32.355086],[102.171395,32.35507],[102.171457,32.355066],[102.17149,32.355063],[102.171511,32.35505],[102.171556,32.354979],[102.171577,32.354915],[102.171573,32.354877],[102.171554,32.354859],[102.171395,32.354777],[102.171339,32.354748],[102.171297,32.354708],[102.171285,32.354639],[102.171312,32.354543],[102.171345,32.354493],[102.171355,32.354479],[102.171411,32.354429],[102.171537,32.354369],[102.171707,32.35433],[102.171785,32.354281],[102.171808,32.354257],[102.171823,32.354223],[102.171821,32.354155],[102.171773,32.354048],[102.171752,32.353948],[102.171753,32.353903],[102.171789,32.353806],[102.171789,32.353776],[102.171707,32.353686],[102.171519,32.353383],[102.1715,32.353331],[102.171509,32.353286],[102.171547,32.353236],[102.171572,32.353229],[102.171601,32.353232],[102.171727,32.353282],[102.171848,32.353345],[102.17193,32.353368],[102.172115,32.353399],[102.172148,32.353398],[102.172199,32.353378],[102.17223,32.353346],[102.172255,32.35327],[102.172272,32.35276],[102.172239,32.352665],[102.172203,32.352624],[102.171834,32.352528],[102.171722,32.352481],[102.171665,32.352448],[102.171626,32.352404],[102.171615,32.352391],[102.171592,32.352337],[102.171589,32.352302],[102.171604,32.35227],[102.171625,32.352249],[102.171706,32.352203],[102.171744,32.352198],[102.171882,32.352205],[102.17191,32.352192],[102.171934,32.352105],[102.171937,32.351919],[102.171954,32.351843],[102.171988,32.351756],[102.172034,32.351672],[102.17206,32.351623],[102.17211,32.351561],[102.172188,32.351504],[102.17226,32.351464],[102.17229,32.351448],[102.172431,32.351391],[102.17254,32.351329],[102.172582,32.351279],[102.172616,32.35121],[102.172634,32.351145],[102.172636,32.351095],[102.172618,32.351045],[102.172566,32.350973],[102.172475,32.350905],[102.172248,32.350737],[102.172169,32.350662],[102.172068,32.350508],[102.171938,32.350361],[102.171902,32.350277],[102.17189,32.350183],[102.171896,32.35013],[102.171907,32.350106],[102.171938,32.350074],[102.172128,32.349964],[102.172167,32.349904],[102.172178,32.349843],[102.172164,32.349765],[102.172113,32.349665],[102.172055,32.349517],[102.171983,32.349425],[102.171968,32.349411],[102.171929,32.349373],[102.171838,32.349308],[102.171786,32.349255],[102.171718,32.349139],[102.171672,32.349019],[102.171662,32.348993],[102.171618,32.348796],[102.17164,32.348765],[102.17171,32.348738],[102.171724,32.348696],[102.171718,32.348673],[102.17165,32.348581],[102.17164,32.348554],[102.171652,32.348522],[102.171697,32.348471],[102.171746,32.348432],[102.171756,32.348413],[102.171764,32.348254],[102.171758,32.348217],[102.17174,32.348176],[102.171713,32.348155],[102.171633,32.348157],[102.171541,32.348193],[102.171371,32.34826],[102.171262,32.348319],[102.171203,32.348334],[102.171121,32.34832],[102.171066,32.348296],[102.171014,32.348252],[102.170998,32.348207],[102.170996,32.34811],[102.171015,32.34806],[102.17103,32.348018],[102.171363,32.34756],[102.171437,32.34743],[102.171526,32.347229],[102.171562,32.347183],[102.171661,32.347055],[102.171671,32.347008],[102.171646,32.346928],[102.171613,32.346894],[102.171548,32.346866],[102.171455,32.346848],[102.171363,32.346853],[102.171288,32.34688],[102.171222,32.346903],[102.171085,32.346999],[102.170982,32.347058],[102.170881,32.347086],[102.170826,32.347085],[102.170787,32.347067],[102.170749,32.347024],[102.170727,32.346989],[102.170699,32.346909],[102.170662,32.346868],[102.170633,32.34686],[102.170465,32.346855],[102.170423,32.346844],[102.170398,32.346828],[102.170357,32.346782],[102.170302,32.346678],[102.170283,32.346606],[102.170278,32.346537],[102.170292,32.346408],[102.170297,32.346357],[102.170314,32.346288],[102.170335,32.34625],[102.170419,32.346185],[102.170425,32.346144],[102.170417,32.346112],[102.170402,32.346079],[102.170368,32.346048],[102.170262,32.345999],[102.170219,32.345971],[102.170143,32.345896],[102.170133,32.345886],[102.170101,32.345842],[102.170068,32.345763],[102.170054,32.345677],[102.169977,32.345398],[102.169974,32.345376],[102.169952,32.345233],[102.169951,32.3451],[102.169938,32.345017],[102.169903,32.344971],[102.169821,32.344921],[102.169747,32.344857],[102.169729,32.344829],[102.169724,32.344802],[102.169742,32.344742],[102.169763,32.344716],[102.169782,32.344693],[102.169965,32.344557],[102.170078,32.344489],[102.170104,32.344464],[102.170152,32.344396],[102.17025,32.344219],[102.170274,32.344147],[102.170278,32.3441],[102.170252,32.34373],[102.170254,32.343703],[102.170259,32.343651],[102.170253,32.343622],[102.170216,32.343578],[102.170178,32.343584],[102.170085,32.343598],[102.170012,32.343584],[102.169974,32.343566],[102.16993,32.343501],[102.16991,32.343487],[102.169867,32.343473],[102.169801,32.34347],[102.169767,32.343456],[102.16974,32.343422],[102.169723,32.343359],[102.169762,32.343222],[102.169716,32.343183],[102.169693,32.34315],[102.169675,32.343113],[102.169662,32.343027],[102.169633,32.343007],[102.169526,32.342982],[102.169483,32.342965],[102.169382,32.342887],[102.16933,32.3428],[102.16923,32.342777],[102.169168,32.342739],[102.169148,32.342717],[102.16913,32.342682],[102.169147,32.342589],[102.169129,32.342545],[102.16912,32.342534],[102.16909,32.342501],[102.169071,32.34248],[102.168939,32.342378],[102.168918,32.342344],[102.168913,32.342304],[102.168926,32.342287],[102.168948,32.342282],[102.169023,32.342288],[102.169045,32.342282],[102.169111,32.342241],[102.169143,32.34219],[102.169152,32.342147],[102.169148,32.341922],[102.169157,32.341827],[102.169187,32.341653],[102.169249,32.341475],[102.169253,32.34139],[102.169245,32.34133],[102.16922,32.341248],[102.169198,32.341218],[102.169086,32.341122],[102.16905,32.341032],[102.169046,32.340959],[102.169058,32.340888],[102.169085,32.340813],[102.169122,32.340771],[102.169123,32.340734],[102.169081,32.340707],[102.168968,32.340699],[102.168851,32.34066],[102.168829,32.34064],[102.16881,32.340624],[102.168806,32.340588],[102.16882,32.340556],[102.168826,32.340541],[102.168871,32.340522],[102.169106,32.340527],[102.169201,32.340517],[102.169203,32.34049],[102.169128,32.340437],[102.169105,32.3404],[102.16909,32.340348],[102.169082,32.340246],[102.169101,32.340141],[102.169179,32.340024],[102.169182,32.340009],[102.169175,32.339999],[102.169129,32.339989],[102.169091,32.339965],[102.169067,32.339937],[102.169059,32.339899],[102.169073,32.339858],[102.169152,32.339809],[102.169191,32.33975],[102.169265,32.339678],[102.169292,32.339627],[102.169296,32.339581],[102.169289,32.339556],[102.169265,32.339532],[102.169148,32.339476],[102.169033,32.339436],[102.169,32.339417],[102.168975,32.339393],[102.168939,32.339325],[102.168927,32.339263],[102.168926,32.339189],[102.168917,32.33916],[102.168877,32.339098],[102.168871,32.339067],[102.16888,32.339004],[102.168917,32.338955],[102.168924,32.338927],[102.168911,32.338904],[102.168854,32.33887],[102.168845,32.338818],[102.16885,32.338779],[102.168877,32.338701],[102.168967,32.338549],[102.168919,32.338527],[102.168826,32.338501],[102.168681,32.33847],[102.168657,32.338453],[102.168625,32.338407],[102.168628,32.33835],[102.168652,32.338305],[102.16863,32.338193],[102.168636,32.338108],[102.168662,32.338085],[102.168706,32.338073],[102.168724,32.338064],[102.16871,32.338046],[102.168695,32.338026],[102.168656,32.337908],[102.168648,32.337886],[102.168599,32.337739],[102.168537,32.33769],[102.168557,32.337613],[102.168535,32.337548],[102.168539,32.337535],[102.168541,32.337528],[102.168541,32.337492],[102.168542,32.337441],[102.168524,32.33739],[102.168534,32.337302],[102.16851,32.337278],[102.16848,32.337268],[102.168447,32.337257],[102.168446,32.33725],[102.168437,32.33722],[102.168431,32.337185],[102.168319,32.336685],[102.167762,32.3361],[102.167753,32.336091],[102.167747,32.336085],[102.167743,32.336079],[102.167643,32.335987],[102.167638,32.335982],[102.167621,32.335966],[102.167556,32.335904],[102.167511,32.335862],[102.167202,32.335569],[102.16714,32.335508],[102.167098,32.335466],[102.167094,32.335462],[102.167046,32.335415],[102.167022,32.335392],[102.166812,32.335183],[102.166782,32.335155],[102.166736,32.335109],[102.166732,32.335105],[102.166719,32.335091],[102.166714,32.335083],[102.166574,32.334914],[102.166537,32.334869],[102.166422,32.334808],[102.166336,32.334723],[102.166258,32.334664],[102.166216,32.334649],[102.166071,32.334624],[102.166032,32.334606],[102.166016,32.334589],[102.165978,32.334479],[102.165947,32.334241],[102.16591,32.334055],[102.165879,32.333994],[102.165787,32.333925],[102.165776,32.333895],[102.165778,32.333851],[102.165755,32.333809],[102.165716,32.333792],[102.165603,32.333798],[102.165537,32.333789],[102.165478,32.333762],[102.165421,32.333701],[102.165355,32.333563],[102.165327,32.333515],[102.165265,32.333494],[102.165103,32.333333],[102.164966,32.333262],[102.164921,32.333151],[102.164927,32.33305],[102.165002,32.332933],[102.164698,32.332057],[102.164263,32.331119],[102.1638,32.330034],[102.163611,32.32884],[102.163562,32.327495],[102.163733,32.326386],[102.163901,32.325966],[102.163923,32.325912],[102.164095,32.325494],[102.164139,32.32538]]]]},"properties":{"cp":[102.26744142868846,32.352994695555495],"code":"513233202","name":"江茸乡","level":"street","center":[102.26744142868846,32.352994695555495],"fullCode":"513233202000","fullName":"四川省阿坝藏族羌族自治州红原县江茸乡","acreageMu":770863.29,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.412,32.3022]}},{"id":"513233203","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[101.851556,32.335369],[101.851603,32.335224],[101.851669,32.335022],[101.851663,32.334903],[101.851614,32.334563],[101.851521,32.334334],[101.851478,32.334227],[101.851405,32.333878],[101.851332,32.333528],[101.851259,32.333178],[101.851185,32.332829],[101.851144,32.33246],[101.851457,32.332486],[101.85148,32.332488],[101.85177,32.332511],[101.852084,32.332537],[101.852316,32.332555],[101.852548,32.332573],[101.852977,32.332573],[101.852993,32.332573],[101.853317,32.332573],[101.853356,32.332573],[101.853407,32.332573],[101.85378,32.332564],[101.854063,32.332557],[101.854153,32.332555],[101.854402,32.332533],[101.854651,32.33251],[101.854901,32.332488],[101.85515,32.332465],[101.855547,32.332423],[101.855795,32.332349],[101.856043,32.332276],[101.856262,32.332211],[101.856481,32.332146],[101.856744,32.332105],[101.857042,32.332009],[101.857208,32.331896],[101.857287,32.331765],[101.857315,32.331718],[101.857565,32.331498],[101.857836,32.331284],[101.858107,32.331069],[101.858386,32.330829],[101.858666,32.330588],[101.858936,32.330341],[101.859207,32.330094],[101.859549,32.329817],[101.859891,32.329541],[101.860097,32.329273],[101.860304,32.329005],[101.86051,32.328738],[101.860703,32.328393],[101.860896,32.328048],[101.861055,32.327724],[101.861214,32.327401],[101.861372,32.327078],[101.861485,32.326798],[101.861497,32.326477],[101.861462,32.326168],[101.861446,32.32603],[101.861427,32.325859],[101.861392,32.32555],[101.861383,32.325361],[101.861373,32.325173],[101.861355,32.324797],[101.861307,32.324438],[101.861258,32.324079],[101.861208,32.323706],[101.861166,32.323448],[101.861125,32.323191],[101.861091,32.32298],[101.861069,32.322844],[101.861069,32.322552],[101.861069,32.32226],[101.861069,32.322238],[101.861065,32.321903],[101.861061,32.321546],[101.861057,32.321189],[101.861035,32.321012],[101.861021,32.320906],[101.860986,32.320624],[101.860983,32.320614],[101.860902,32.320314],[101.860819,32.320088],[101.860575,32.319714],[101.860361,32.319345],[101.860266,32.319035],[101.860135,32.318637],[101.86007,32.318304],[101.860082,32.318054],[101.860195,32.31763],[101.86023,32.317501],[101.860244,32.317407],[101.86029,32.317102],[101.860284,32.316828],[101.860224,32.316537],[101.860135,32.316287],[101.860129,32.31628],[101.859915,32.316049],[101.859713,32.315859],[101.85951,32.315668],[101.859225,32.315484],[101.858939,32.3153],[101.858701,32.314993],[101.858463,32.314687],[101.858324,32.314452],[101.858184,32.314217],[101.857964,32.313842],[101.857809,32.313711],[101.857601,32.313574],[101.857339,32.313271],[101.857317,32.313226],[101.857119,32.312825],[101.856979,32.312498],[101.856839,32.312171],[101.856756,32.311974],[101.856494,32.311742],[101.856218,32.311484],[101.855941,32.311225],[101.855674,32.310993],[101.855561,32.310796],[101.855495,32.310517],[101.85542,32.31019],[101.855345,32.309862],[101.855233,32.309503],[101.855175,32.309208],[101.855117,32.308913],[101.855112,32.30887],[101.855072,32.308494],[101.855026,32.308075],[101.854981,32.307656],[101.854975,32.307599],[101.855007,32.30722],[101.855059,32.306797],[101.855111,32.306373],[101.855144,32.306097],[101.855186,32.305734],[101.855187,32.305722],[101.855227,32.305371],[101.855227,32.30508],[101.855323,32.304788],[101.855388,32.304503],[101.855394,32.304162],[101.8554,32.303821],[101.855406,32.30348],[101.855477,32.303182],[101.855566,32.303033],[101.855627,32.303011],[101.8559,32.302909],[101.85617,32.302888],[101.856441,32.302867],[101.856784,32.302861],[101.857127,32.302855],[101.85747,32.302849],[101.857823,32.302903],[101.858176,32.302956],[101.858529,32.30301],[101.858904,32.303041],[101.859278,32.303072],[101.859653,32.303103],[101.860028,32.303135],[101.860299,32.303152],[101.860569,32.30317],[101.860831,32.30317],[101.861128,32.303111],[101.861541,32.303012],[101.861953,32.302913],[101.862366,32.302813],[101.862586,32.302715],[101.862806,32.302617],[101.863171,32.302379],[101.863181,32.302373],[101.863567,32.302189],[101.863879,32.301945],[101.863936,32.3019],[101.86419,32.301701],[101.864501,32.301457],[101.864739,32.301222],[101.864977,32.300987],[101.865156,32.300821],[101.865215,32.30066],[101.865346,32.300505],[101.865501,32.30038],[101.865685,32.300226],[101.865865,32.300075],[101.86587,32.300071],[101.866045,32.299848],[101.866221,32.299625],[101.86626,32.299547],[101.866362,32.299345],[101.866464,32.299143],[101.866726,32.298863],[101.866905,32.298727],[101.866952,32.298691],[101.867211,32.29853],[101.86747,32.29837],[101.867689,32.298179],[101.867696,32.298173],[101.867868,32.297953],[101.868154,32.297858],[101.868456,32.29773],[101.868758,32.297601],[101.868868,32.297555],[101.869103,32.297498],[101.869338,32.297442],[101.869599,32.297454],[101.869879,32.297507],[101.870254,32.297644],[101.870426,32.297757],[101.870605,32.297888],[101.870878,32.298025],[101.871194,32.298221],[101.871509,32.298417],[101.871765,32.29862],[101.872014,32.298727],[101.872181,32.298858],[101.872294,32.299],[101.872341,32.299096],[101.872354,32.299123],[101.87252,32.299458],[101.872609,32.299643],[101.872764,32.299768],[101.872919,32.299845],[101.873145,32.299994],[101.873341,32.300363],[101.873466,32.300654],[101.873573,32.300785],[101.873674,32.300838],[101.874019,32.301011],[101.874227,32.301124],[101.87437,32.301279],[101.874447,32.301421],[101.874685,32.301552],[101.874914,32.301712],[101.875138,32.301868],[101.875328,32.302028],[101.875447,32.302159],[101.875548,32.30232],[101.875715,32.302534],[101.875881,32.302629],[101.876066,32.302712],[101.876244,32.302867],[101.876345,32.303004],[101.876524,32.303325],[101.876708,32.30345],[101.877047,32.303718],[101.877246,32.303881],[101.877446,32.304045],[101.877719,32.304176],[101.877957,32.304229],[101.878368,32.304271],[101.878689,32.304425],[101.878915,32.304574],[101.879073,32.304833],[101.87923,32.305092],[101.879395,32.305349],[101.879559,32.305607],[101.879724,32.305865],[101.879867,32.306064],[101.88001,32.306263],[101.880064,32.306574],[101.880119,32.306884],[101.880173,32.307194],[101.880364,32.307514],[101.880493,32.307588],[101.880593,32.307747],[101.880879,32.307927],[101.881165,32.308107],[101.881384,32.308246],[101.881604,32.308385],[101.881823,32.308525],[101.882043,32.308664],[101.882262,32.308803],[101.882482,32.308942],[101.882701,32.309081],[101.882921,32.309221],[101.883085,32.309299],[101.883225,32.309366],[101.883529,32.309512],[101.883913,32.309621],[101.884296,32.309731],[101.884638,32.309791],[101.884979,32.309851],[101.885379,32.309842],[101.885778,32.309833],[101.886178,32.309824],[101.886615,32.309735],[101.887052,32.309645],[101.887489,32.309556],[101.887845,32.309464],[101.888211,32.309441],[101.888577,32.309419],[101.889005,32.309352],[101.889374,32.309256],[101.889743,32.30916],[101.890111,32.309064],[101.89048,32.308968],[101.890861,32.30873],[101.891042,32.308663],[101.891185,32.308602],[101.891318,32.308525],[101.891508,32.308383],[101.891675,32.308283],[101.891875,32.308187],[101.892189,32.307997],[101.892431,32.307802],[101.892601,32.307547],[101.892641,32.307488],[101.892769,32.307298],[101.892898,32.307107],[101.893162,32.30681],[101.893426,32.306512],[101.893659,32.306174],[101.89384,32.305951],[101.894064,32.305639],[101.894287,32.305327],[101.894414,32.305132],[101.89454,32.304937],[101.894706,32.304782],[101.894873,32.304628],[101.895096,32.304518],[101.895254,32.30438],[101.895501,32.304119],[101.895748,32.303857],[101.895915,32.303747],[101.89604,32.303692],[101.896077,32.303676],[101.896235,32.303621],[101.89631,32.303595],[101.896472,32.303557],[101.896605,32.303481],[101.896753,32.303338],[101.896848,32.303176],[101.897019,32.302886],[101.897233,32.302624],[101.89724,32.302616],[101.897424,32.302408],[101.897607,32.302199],[101.897652,32.302148],[101.897859,32.301972],[101.898066,32.301796],[101.898223,32.301382],[101.898223,32.301342],[101.898223,32.301101],[101.898214,32.30084],[101.898128,32.300497],[101.898102,32.300327],[101.898071,32.300121],[101.898009,32.299786],[101.897947,32.29945],[101.897947,32.29916],[101.897947,32.299081],[101.897947,32.299012],[101.897999,32.298941],[101.898095,32.298912],[101.89829,32.298974],[101.898499,32.299103],[101.898786,32.299369],[101.899073,32.299636],[101.89936,32.299902],[101.899508,32.299945],[101.899751,32.299945],[101.900041,32.299938],[101.900331,32.299931],[101.900693,32.299893],[101.900883,32.299821],[101.901121,32.299688],[101.901395,32.299476],[101.901478,32.299412],[101.901759,32.299146],[101.902073,32.298931],[101.902335,32.298827],[101.902516,32.298717],[101.902739,32.298413],[101.902925,32.298256],[101.90313,32.297975],[101.903201,32.297813],[101.903268,32.297632],[101.903344,32.297551],[101.903501,32.29747],[101.903701,32.297351],[101.903858,32.29718],[101.903929,32.296956],[101.904062,32.296628],[101.904191,32.296414],[101.904338,32.296304],[101.904552,32.296205],[101.904857,32.296086],[101.905069,32.296005],[101.905281,32.295924],[101.905499,32.295819],[101.90578,32.295629],[101.905946,32.295543],[101.906185,32.295419],[101.90648,32.295317],[101.906775,32.295215],[101.907025,32.295106],[101.907072,32.295077],[101.90728,32.294946],[101.907487,32.294816],[101.907866,32.294579],[101.907979,32.294496],[101.908279,32.29423],[101.908483,32.294058],[101.908626,32.293806],[101.908645,32.29354],[101.908702,32.29334],[101.908821,32.29313],[101.908959,32.293045],[101.909283,32.29294],[101.909468,32.292835],[101.909568,32.292716],[101.909615,32.292525],[101.909615,32.292524],[101.909616,32.292521],[101.909616,32.29235],[101.909616,32.29215],[101.909616,32.292095],[101.909616,32.291998],[101.909702,32.291731],[101.909713,32.291496],[101.909725,32.29126],[101.909678,32.290998],[101.909652,32.29095],[101.909526,32.290708],[101.909506,32.290537],[101.909521,32.290475],[101.90964,32.290399],[101.909863,32.290313],[101.910049,32.290137],[101.910135,32.289866],[101.910163,32.289609],[101.910358,32.289385],[101.910525,32.289295],[101.910756,32.289271],[101.910987,32.289247],[101.911282,32.289289],[101.911577,32.289332],[101.911824,32.289457],[101.912071,32.289581],[101.912393,32.28967],[101.912716,32.289759],[101.913039,32.289848],[101.913326,32.289939],[101.913613,32.29003],[101.913983,32.290168],[101.914353,32.290307],[101.914723,32.290446],[101.915094,32.290585],[101.915464,32.290724],[101.915772,32.290794],[101.91603,32.290852],[101.916287,32.290911],[101.916542,32.29095],[101.916796,32.29099],[101.917051,32.291029],[101.917305,32.291068],[101.917559,32.291108],[101.917697,32.291129],[101.917814,32.291147],[101.918068,32.291186],[101.918323,32.291225],[101.918577,32.291265],[101.918832,32.291304],[101.919086,32.291343],[101.91934,32.291383],[101.919611,32.291419],[101.919883,32.291455],[101.920154,32.291491],[101.920425,32.291527],[101.920696,32.291563],[101.920967,32.2916],[101.921238,32.291636],[101.921509,32.291672],[101.921902,32.291709],[101.922296,32.291747],[101.922689,32.291784],[101.922953,32.291809],[101.923232,32.291802],[101.923511,32.291796],[101.923583,32.291784],[101.923989,32.291717],[101.924225,32.291575],[101.92446,32.291434],[101.924653,32.291226],[101.924685,32.291191],[101.924846,32.291017],[101.925006,32.290796],[101.925166,32.290574],[101.925326,32.290352],[101.925486,32.29013],[101.925578,32.290002],[101.925578,32.290002],[101.925646,32.289909],[101.925806,32.289687],[101.925966,32.289465],[101.926126,32.289243],[101.926267,32.289028],[101.926407,32.288812],[101.926547,32.288596],[101.926688,32.28838],[101.926828,32.288164],[101.926968,32.287948],[101.927253,32.287662],[101.927278,32.287636],[101.927555,32.287526],[101.927993,32.287518],[101.928276,32.287613],[101.928559,32.287708],[101.928751,32.287829],[101.928942,32.28795],[101.929072,32.288032],[101.929294,32.288119],[101.929672,32.288362],[101.930051,32.288605],[101.930261,32.288744],[101.930471,32.288884],[101.930531,32.288923],[101.93076,32.289047],[101.930988,32.289171],[101.931301,32.289368],[101.931342,32.289391],[101.931559,32.289508],[101.931775,32.289626],[101.931991,32.289744],[101.932208,32.289862],[101.932383,32.289958],[101.932744,32.290094],[101.933011,32.290204],[101.933244,32.290354],[101.933477,32.290505],[101.933689,32.290642],[101.933901,32.290779],[101.933912,32.290784],[101.934043,32.290832],[101.934172,32.29086],[101.934539,32.290932],[101.934906,32.291003],[101.935328,32.29115],[101.935696,32.291249],[101.936063,32.291349],[101.93643,32.291448],[101.936868,32.291459],[101.937305,32.29147],[101.937662,32.291385],[101.938018,32.291301],[101.938352,32.291141],[101.938686,32.290981],[101.93902,32.290821],[101.939354,32.290661],[101.939634,32.290515],[101.939914,32.290369],[101.940194,32.290223],[101.940407,32.290136],[101.940621,32.290048],[101.940834,32.28996],[101.941048,32.289872],[101.941343,32.28974],[101.941638,32.289607],[101.941934,32.289475],[101.94222,32.289304],[101.942554,32.289028],[101.942601,32.288977],[101.942667,32.288905],[101.942734,32.288803],[101.942837,32.288509],[101.942939,32.288215],[101.943,32.287839],[101.94306,32.287463],[101.943064,32.28738],[101.943068,32.287292],[101.943065,32.287271],[101.94305,32.287174],[101.94293,32.286813],[101.94281,32.286453],[101.94269,32.286092],[101.942601,32.285873],[101.942512,32.285653],[101.942511,32.285653],[101.942511,32.285652],[101.94244,32.28543],[101.942369,32.285208],[101.942317,32.284853],[101.942265,32.284498],[101.942264,32.284395],[101.942338,32.284224],[101.942457,32.284221],[101.942699,32.284283],[101.94293,32.284425],[101.943161,32.284567],[101.943444,32.28474],[101.943623,32.28485],[101.943855,32.284992],[101.944086,32.285133],[101.944196,32.285195],[101.944318,32.285259],[101.944726,32.285419],[101.945133,32.285579],[101.945442,32.285658],[101.945751,32.285737],[101.946084,32.285751],[101.946417,32.285765],[101.946802,32.285717],[101.947169,32.285628],[101.947552,32.285516],[101.947935,32.285404],[101.948259,32.285283],[101.948583,32.285162],[101.948843,32.285125],[101.949103,32.285089],[101.949365,32.285097],[101.949779,32.285148],[101.950198,32.285222],[101.950616,32.285297],[101.950951,32.285343],[101.951287,32.285389],[101.951622,32.285435],[101.951731,32.285456],[101.95204,32.285515],[101.952458,32.285596],[101.952875,32.285676],[101.95314,32.285742],[101.953405,32.285809],[101.95363,32.285897],[101.953647,32.285903],[101.953981,32.286034],[101.954343,32.286224],[101.954656,32.286423],[101.954969,32.286622],[101.955281,32.286821],[101.955594,32.287019],[101.955949,32.287263],[101.956038,32.287324],[101.956155,32.287396],[101.956337,32.287529],[101.956434,32.287596],[101.956624,32.287726],[101.956911,32.287924],[101.957166,32.288112],[101.957261,32.288182],[101.957421,32.288301],[101.957757,32.288595],[101.957906,32.288791],[101.957948,32.288868],[101.957961,32.28888],[101.958028,32.289011],[101.958166,32.289258],[101.958304,32.289505],[101.95837,32.289725],[101.9585,32.290082],[101.95853,32.290249],[101.958542,32.290392],[101.958546,32.290705],[101.95855,32.291018],[101.958554,32.291332],[101.95856,32.291362],[101.958637,32.291736],[101.958679,32.291885],[101.958774,32.292081],[101.958967,32.292435],[101.959161,32.292789],[101.959277,32.292988],[101.959298,32.293025],[101.959393,32.293187],[101.959404,32.293209],[101.959464,32.293318],[101.95947,32.29333],[101.959565,32.293521],[101.959649,32.293657],[101.959756,32.293782],[101.960029,32.294023],[101.960303,32.294264],[101.960596,32.294514],[101.960889,32.294765],[101.961084,32.294931],[101.961278,32.295097],[101.961433,32.295234],[101.961546,32.295412],[101.961623,32.29568],[101.961629,32.295936],[101.961552,32.296147],[101.961475,32.296358],[101.961449,32.296404],[101.961353,32.296575],[101.961231,32.296792],[101.960954,32.297123],[101.960678,32.297453],[101.960537,32.297593],[101.960277,32.297853],[101.960017,32.298113],[101.959875,32.298339],[101.959732,32.298565],[101.959633,32.298732],[101.959601,32.298785],[101.959619,32.299029],[101.959666,32.29919],[101.959738,32.299484],[101.959809,32.299779],[101.959884,32.300001],[101.959958,32.300223],[101.960032,32.300444],[101.960107,32.300665],[101.960261,32.301064],[101.960362,32.30129],[101.960562,32.301608],[101.960761,32.301926],[101.961026,32.302285],[101.961291,32.302644],[101.961527,32.302947],[101.96153,32.302952],[101.96153,32.302952],[101.96153,32.302952],[101.961566,32.303006],[101.961713,32.303232],[101.96186,32.303458],[101.962008,32.303683],[101.962155,32.303909],[101.962275,32.304117],[101.962395,32.304325],[101.962516,32.304533],[101.962636,32.304741],[101.962757,32.304949],[101.962877,32.305157],[101.962997,32.305365],[101.963063,32.305478],[101.963066,32.305484],[101.963118,32.305573],[101.963238,32.305781],[101.963358,32.30599],[101.963479,32.306198],[101.963564,32.306345],[101.963599,32.306406],[101.963706,32.306629],[101.963813,32.306853],[101.96392,32.307077],[101.964028,32.307301],[101.964063,32.307375],[101.964135,32.307525],[101.964205,32.307671],[101.964242,32.307749],[101.964324,32.308013],[101.964406,32.308276],[101.964488,32.30854],[101.96457,32.308804],[101.964652,32.309068],[101.964734,32.309332],[101.964838,32.309588],[101.964943,32.309843],[101.965047,32.310098],[101.965151,32.310354],[101.965255,32.310609],[101.96536,32.310865],[101.965464,32.31112],[101.965492,32.311188],[101.965568,32.311376],[101.965673,32.311631],[101.965777,32.311886],[101.965938,32.312275],[101.966099,32.312663],[101.966259,32.313049],[101.966259,32.31305],[101.966259,32.31305],[101.96626,32.313052],[101.966386,32.313252],[101.966512,32.313453],[101.966638,32.313653],[101.966764,32.313853],[101.966839,32.31393],[101.967068,32.314163],[101.967372,32.314472],[101.967676,32.314782],[101.967853,32.31494],[101.96803,32.315099],[101.968207,32.315258],[101.968384,32.315416],[101.968561,32.315575],[101.968738,32.315734],[101.968915,32.315892],[101.969092,32.316051],[101.969269,32.31621],[101.969446,32.316368],[101.969669,32.31653],[101.969891,32.316692],[101.970114,32.316854],[101.970336,32.317016],[101.970558,32.317178],[101.970781,32.31734],[101.971003,32.317502],[101.971226,32.317664],[101.971448,32.317826],[101.971671,32.317988],[101.971893,32.31815],[101.971945,32.318188],[101.972116,32.318312],[101.972338,32.318474],[101.97256,32.318636],[101.972754,32.318779],[101.972903,32.318891],[101.972904,32.318891],[101.972947,32.318923],[101.97314,32.319066],[101.973333,32.319209],[101.973527,32.319353],[101.973716,32.319493],[101.973718,32.319494],[101.97372,32.319496],[101.973913,32.319639],[101.974106,32.319782],[101.9743,32.319926],[101.974493,32.320069],[101.974686,32.320212],[101.974879,32.320356],[101.975073,32.320499],[101.975266,32.320642],[101.975431,32.320798],[101.975596,32.320953],[101.975761,32.321109],[101.975926,32.321264],[101.976091,32.32142],[101.976256,32.321575],[101.976421,32.321731],[101.976587,32.321886],[101.976752,32.322042],[101.976917,32.322197],[101.977109,32.322383],[101.977302,32.322569],[101.977495,32.322755],[101.977687,32.322941],[101.97788,32.323127],[101.978073,32.323313],[101.978265,32.323499],[101.978458,32.323685],[101.978651,32.323871],[101.978843,32.324057],[101.979036,32.324243],[101.979228,32.324429],[101.979421,32.324615],[101.979614,32.324801],[101.979771,32.324991],[101.979929,32.325181],[101.980087,32.325372],[101.980244,32.325562],[101.980402,32.325752],[101.980559,32.325942],[101.980717,32.326132],[101.980875,32.326322],[101.981032,32.326513],[101.98119,32.326703],[101.981347,32.326893],[101.981505,32.327083],[101.981663,32.327273],[101.98182,32.327463],[101.981986,32.327636],[101.982152,32.327809],[101.982317,32.327981],[101.982483,32.328154],[101.982649,32.328326],[101.982815,32.328499],[101.98298,32.328671],[101.983146,32.328844],[101.983312,32.329016],[101.983478,32.329189],[101.983831,32.329424],[101.984185,32.32966],[101.984344,32.329767],[101.984379,32.329791],[101.984573,32.329922],[101.984767,32.330053],[101.984857,32.330114],[101.984865,32.330119],[101.984921,32.330157],[101.984961,32.330185],[101.985037,32.330269],[101.985169,32.330416],[101.985215,32.330586],[101.985149,32.330738],[101.985065,32.330929],[101.984714,32.331191],[101.984563,32.331304],[101.98455,32.331314],[101.984363,32.331453],[101.984358,32.331456],[101.984329,32.331468],[101.984234,32.331507],[101.984179,32.33153],[101.984146,32.331543],[101.98393,32.331634],[101.98369,32.331656],[101.983451,32.331679],[101.983129,32.331653],[101.982808,32.331627],[101.982586,32.331655],[101.982559,32.331658],[101.982472,32.331669],[101.982311,32.331689],[101.982062,32.33172],[101.981813,32.331751],[101.981595,32.331824],[101.981378,32.331897],[101.98116,32.331971],[101.980943,32.332044],[101.980726,32.332139],[101.980509,32.332235],[101.980292,32.332331],[101.980075,32.332426],[101.979859,32.332522],[101.97983,32.332535],[101.979642,32.332618],[101.979289,32.33283],[101.978936,32.333042],[101.978583,32.333254],[101.978343,32.333353],[101.978249,32.333392],[101.978141,32.333436],[101.978102,32.333452],[101.9781,32.333452],[101.978099,32.333453],[101.978013,32.333488],[101.977738,32.333704],[101.977463,32.333921],[101.977269,32.334108],[101.977075,32.334295],[101.976864,32.334431],[101.976653,32.334566],[101.976389,32.334653],[101.976262,32.334695],[101.976228,32.334706],[101.975835,32.334911],[101.975536,32.335067],[101.975508,32.335082],[101.975442,32.335116],[101.975432,32.335121],[101.975238,32.335212],[101.975034,32.335308],[101.97483,32.335404],[101.974625,32.335499],[101.974351,32.335571],[101.974076,32.335643],[101.973848,32.335714],[101.973621,32.335784],[101.973486,32.335846],[101.973438,32.335868],[101.973062,32.336085],[101.972686,32.336302],[101.972293,32.336511],[101.9719,32.33672],[101.971506,32.336929],[101.971144,32.33712],[101.970782,32.337311],[101.970705,32.337351],[101.970554,32.337431],[101.97042,32.337502],[101.970009,32.337642],[101.969598,32.337782],[101.969481,32.33782],[101.969302,32.337876],[101.969275,32.337885],[101.969005,32.33797],[101.96873,32.338015],[101.968654,32.338028],[101.968489,32.338055],[101.968455,32.338061],[101.968226,32.338099],[101.967997,32.338137],[101.967767,32.338175],[101.967726,32.338182],[101.967685,32.338189],[101.967582,32.338206],[101.967538,32.338213],[101.967364,32.338251],[101.967277,32.33827],[101.967271,32.338271],[101.967164,32.338295],[101.967004,32.33833],[101.966807,32.338373],[101.966737,32.338388],[101.966624,32.338412],[101.96647,32.338446],[101.966076,32.338625],[101.965683,32.338804],[101.965426,32.338954],[101.965364,32.33899],[101.965267,32.339047],[101.965254,32.339054],[101.96517,32.339103],[101.965007,32.339296],[101.964844,32.339489],[101.964811,32.339528],[101.964811,32.339529],[101.964738,32.339615],[101.964738,32.339615],[101.964682,32.339681],[101.964519,32.339874],[101.96435,32.340043],[101.964182,32.340212],[101.964013,32.340381],[101.963844,32.34055],[101.963675,32.340719],[101.963507,32.340888],[101.963333,32.341135],[101.963306,32.341173],[101.963306,32.341173],[101.963306,32.341173],[101.963301,32.34118],[101.963275,32.341217],[101.963267,32.341229],[101.96325,32.341252],[101.963236,32.341272],[101.963187,32.341342],[101.963181,32.341351],[101.963096,32.341471],[101.962988,32.341669],[101.962879,32.341868],[101.96277,32.342066],[101.962675,32.342239],[101.962662,32.342264],[101.962425,32.342569],[101.962378,32.34263],[101.962378,32.34263],[101.962378,32.34263],[101.962314,32.342713],[101.962189,32.342875],[101.961938,32.343212],[101.961688,32.343549],[101.961542,32.343801],[101.961397,32.344052],[101.961304,32.344269],[101.961211,32.344486],[101.961118,32.344703],[101.961026,32.34492],[101.960972,32.345151],[101.960918,32.345382],[101.960864,32.345613],[101.96081,32.345843],[101.960756,32.346074],[101.960702,32.346305],[101.960648,32.346536],[101.960594,32.346766],[101.96054,32.346997],[101.960486,32.347228],[101.960436,32.347464],[101.960386,32.347699],[101.960336,32.347935],[101.96032,32.348009],[101.960286,32.348171],[101.960236,32.348406],[101.960186,32.348642],[101.960136,32.348878],[101.960124,32.348935],[101.960086,32.349113],[101.960004,32.349434],[101.959977,32.349542],[101.959868,32.34997],[101.959851,32.350037],[101.959759,32.350398],[101.959733,32.35045],[101.959564,32.350792],[101.959506,32.35091],[101.959369,32.351186],[101.959174,32.35158],[101.95898,32.351974],[101.958856,32.35219],[101.958732,32.352406],[101.958609,32.352622],[101.958485,32.352838],[101.958362,32.353054],[101.958238,32.35327],[101.958182,32.353367],[101.958114,32.353485],[101.957991,32.353701],[101.957867,32.353917],[101.957744,32.354133],[101.95762,32.354349],[101.957496,32.354565],[101.957404,32.354684],[101.957339,32.354769],[101.957231,32.35491],[101.956966,32.355254],[101.956856,32.355396],[101.956831,32.355428],[101.95683,32.355429],[101.956772,32.355504],[101.956759,32.355521],[101.956748,32.355618],[101.956723,32.355848],[101.956688,32.356174],[101.956701,32.356565],[101.956703,32.356577],[101.956741,32.356775],[101.956766,32.356905],[101.956775,32.356954],[101.956905,32.357146],[101.956989,32.357272],[101.957024,32.357323],[101.957034,32.357338],[101.957091,32.357375],[101.957127,32.357397],[101.957135,32.357402],[101.957199,32.357443],[101.9572,32.357443],[101.957203,32.357445],[101.957253,32.357477],[101.957473,32.357615],[101.957583,32.357643],[101.957606,32.357649],[101.957652,32.357661],[101.957708,32.357675],[101.957744,32.357684],[101.957752,32.357686],[101.957796,32.357694],[101.958123,32.357757],[101.958431,32.357763],[101.958511,32.357764],[101.958604,32.357766],[101.958606,32.357766],[101.958609,32.357766],[101.958739,32.357768],[101.959093,32.357786],[101.959447,32.357804],[101.959877,32.357794],[101.960307,32.357784],[101.960631,32.357828],[101.960955,32.357873],[101.961187,32.357919],[101.96142,32.357966],[101.961652,32.358012],[101.961884,32.358059],[101.962276,32.358145],[101.962668,32.358232],[101.96306,32.358319],[101.963066,32.358321],[101.963286,32.358411],[101.963512,32.358503],[101.963738,32.358596],[101.963752,32.358601],[101.963964,32.358688],[101.964168,32.358813],[101.964295,32.358892],[101.964372,32.358939],[101.964576,32.359065],[101.96478,32.35919],[101.964841,32.359228],[101.964983,32.359316],[101.965187,32.359441],[101.965384,32.359582],[101.965581,32.359723],[101.965777,32.359863],[101.965974,32.360004],[101.966086,32.360084],[101.966171,32.360145],[101.966367,32.360286],[101.966577,32.36042],[101.966786,32.360554],[101.966995,32.360687],[101.967205,32.360821],[101.967414,32.360955],[101.967623,32.361089],[101.967919,32.361226],[101.968216,32.361363],[101.968434,32.361436],[101.968651,32.361509],[101.969052,32.361552],[101.969221,32.361548],[101.96939,32.361544],[101.969696,32.36151],[101.970123,32.361396],[101.970383,32.361351],[101.970642,32.361306],[101.970919,32.361298],[101.971165,32.361294],[101.971339,32.36129],[101.971411,32.361289],[101.971719,32.36132],[101.972027,32.361352],[101.972367,32.361396],[101.972739,32.361491],[101.972973,32.361603],[101.973207,32.361715],[101.973613,32.361887],[101.97366,32.361908],[101.973799,32.361967],[101.974019,32.36206],[101.974265,32.362107],[101.974512,32.362153],[101.974835,32.362146],[101.975159,32.362138],[101.975541,32.36209],[101.975924,32.362042],[101.976332,32.361988],[101.97674,32.361935],[101.977148,32.361881],[101.977525,32.36182],[101.977902,32.361759],[101.978279,32.361699],[101.978523,32.361628],[101.978766,32.361557],[101.97901,32.361486],[101.979192,32.361433],[101.979192,32.361433],[101.979253,32.361416],[101.979497,32.361345],[101.97974,32.361274],[101.979985,32.361209],[101.980044,32.361194],[101.980229,32.361145],[101.980473,32.36108],[101.980717,32.361015],[101.98074,32.36101],[101.980938,32.360965],[101.981159,32.360914],[101.98138,32.360863],[101.981601,32.360813],[101.981968,32.360642],[101.982334,32.360472],[101.982602,32.360192],[101.98287,32.359912],[101.983017,32.359751],[101.983044,32.359594],[101.982963,32.359335],[101.98294,32.359259],[101.982779,32.359015],[101.982617,32.358771],[101.982583,32.358689],[101.982516,32.358526],[101.982503,32.358493],[101.982463,32.358396],[101.982415,32.358281],[101.982402,32.357838],[101.982437,32.357498],[101.982472,32.357159],[101.982555,32.356883],[101.982638,32.356607],[101.982937,32.356365],[101.983165,32.356281],[101.983392,32.356198],[101.983804,32.35611],[101.983976,32.356073],[101.984217,32.356022],[101.984521,32.35595],[101.984826,32.355878],[101.985079,32.355845],[101.985221,32.355827],[101.985332,32.355813],[101.985584,32.355781],[101.985837,32.355749],[101.986221,32.355643],[101.986605,32.355538],[101.986877,32.3554],[101.986893,32.355392],[101.987036,32.35532],[101.987149,32.355263],[101.987268,32.355221],[101.987468,32.355151],[101.987786,32.355039],[101.988185,32.354979],[101.98863,32.354968],[101.989075,32.354957],[101.989393,32.354964],[101.98971,32.35497],[101.98994,32.354964],[101.99017,32.354959],[101.9904,32.354953],[101.990619,32.354948],[101.99063,32.354947],[101.990875,32.354909],[101.99112,32.354871],[101.991365,32.354833],[101.99161,32.354794],[101.991762,32.354751],[101.992036,32.354673],[101.992463,32.354552],[101.992889,32.354431],[101.993315,32.35431],[101.993533,32.354231],[101.99375,32.354152],[101.993968,32.354073],[101.994186,32.353994],[101.994403,32.353916],[101.994621,32.353837],[101.994838,32.353703],[101.995056,32.353569],[101.995273,32.353436],[101.99549,32.353302],[101.995708,32.353168],[101.995925,32.353035],[101.996142,32.352901],[101.99636,32.352767],[101.996577,32.352634],[101.996794,32.3525],[101.997012,32.352367],[101.997229,32.352233],[101.997446,32.352099],[101.997664,32.351966],[101.997878,32.351832],[101.998092,32.351699],[101.998306,32.351566],[101.99852,32.351433],[101.998734,32.3513],[101.998949,32.351167],[101.999163,32.351033],[101.999254,32.350977],[101.999255,32.350976],[101.999377,32.3509],[101.999591,32.350767],[101.999805,32.350634],[102.000019,32.350501],[102.000233,32.350368],[102.000238,32.350363],[102.000548,32.350136],[102.000749,32.349989],[102.000749,32.349989],[102.000858,32.349909],[102.001168,32.349683],[102.001268,32.349609],[102.001444,32.349481],[102.00172,32.349279],[102.001932,32.349149],[102.002143,32.349019],[102.002355,32.348889],[102.002566,32.348759],[102.002777,32.348629],[102.002871,32.348571],[102.002989,32.348499],[102.0032,32.348369],[102.003412,32.34824],[102.00377,32.348063],[102.004129,32.347887],[102.004488,32.347711],[102.004741,32.347612],[102.004991,32.347552],[102.005242,32.347492],[102.005476,32.347471],[102.00571,32.34745],[102.005943,32.347469],[102.006176,32.347487],[102.006439,32.347533],[102.006702,32.347578],[102.006946,32.347703],[102.007191,32.347828],[102.007468,32.348171],[102.007745,32.348514],[102.008022,32.348858],[102.008299,32.349201],[102.008456,32.349396],[102.008613,32.349591],[102.00877,32.349786],[102.008927,32.349982],[102.009047,32.350117],[102.009263,32.350175],[102.009606,32.350155],[102.009935,32.350071],[102.010265,32.349987],[102.010531,32.349927],[102.010798,32.349868],[102.011065,32.349808],[102.011331,32.349749],[102.011642,32.349703],[102.011952,32.349657],[102.012335,32.349665],[102.012719,32.349674],[102.013102,32.349683],[102.013536,32.349737],[102.013695,32.349757],[102.013971,32.349791],[102.01426,32.349828],[102.014405,32.349846],[102.014669,32.349852],[102.014933,32.349857],[102.015291,32.349853],[102.01565,32.349848],[102.01593,32.349829],[102.01621,32.349809],[102.016505,32.349817],[102.016801,32.349824],[102.017225,32.349878],[102.017648,32.349931],[102.018072,32.349985],[102.018287,32.350065],[102.018503,32.350145],[102.018718,32.350225],[102.018934,32.350305],[102.01909,32.350363],[102.019111,32.35037],[102.019149,32.350385],[102.019365,32.350465],[102.019465,32.350531],[102.019654,32.350656],[102.019682,32.350674],[102.019944,32.350848],[102.020184,32.351118],[102.020424,32.351389],[102.020728,32.351633],[102.021031,32.351877],[102.021161,32.351955],[102.021305,32.352042],[102.021312,32.352044],[102.021676,32.352156],[102.021939,32.352189],[102.022203,32.352222],[102.022591,32.352231],[102.022868,32.352237],[102.022979,32.35224],[102.023213,32.352232],[102.023446,32.352224],[102.023628,32.352218],[102.02368,32.352216],[102.023913,32.352209],[102.024143,32.352188],[102.024372,32.352167],[102.024601,32.352146],[102.02483,32.352124],[102.02506,32.352103],[102.025289,32.352082],[102.025505,32.35203],[102.025687,32.351986],[102.026085,32.35189],[102.026483,32.351793],[102.026734,32.351714],[102.026876,32.351669],[102.026985,32.351634],[102.027237,32.351555],[102.027488,32.351475],[102.027701,32.351394],[102.027913,32.351313],[102.028126,32.351233],[102.028339,32.351152],[102.028569,32.351012],[102.02863,32.350975],[102.028686,32.350941],[102.0288,32.350872],[102.028994,32.350754],[102.02903,32.350732],[102.029044,32.350724],[102.029066,32.350711],[102.029261,32.350593],[102.029508,32.350317],[102.029756,32.350041],[102.030004,32.349765],[102.030034,32.349732],[102.030147,32.349604],[102.030156,32.349593],[102.030308,32.349422],[102.03046,32.34925],[102.030612,32.349078],[102.030764,32.348906],[102.030916,32.348734],[102.031068,32.348562],[102.03122,32.34839],[102.03136,32.348159],[102.031499,32.347928],[102.031639,32.347697],[102.031779,32.347466],[102.031919,32.347235],[102.032058,32.347004],[102.032198,32.346773],[102.032338,32.346542],[102.032424,32.346289],[102.03251,32.346036],[102.032596,32.345782],[102.032682,32.345529],[102.032769,32.345276],[102.032855,32.345023],[102.032904,32.344773],[102.032954,32.344524],[102.033004,32.344274],[102.033053,32.344024],[102.033103,32.343775],[102.033153,32.343525],[102.033244,32.343274],[102.033335,32.343022],[102.033426,32.342771],[102.033518,32.342519],[102.033609,32.342268],[102.0337,32.342016],[102.033799,32.341765],[102.033897,32.341514],[102.033996,32.341263],[102.034094,32.341012],[102.034193,32.340761],[102.034291,32.34051],[102.03439,32.340259],[102.034488,32.340008],[102.034586,32.339757],[102.034685,32.339505],[102.034811,32.339201],[102.034837,32.339139],[102.034988,32.338773],[102.035015,32.338721],[102.035176,32.338343],[102.03521,32.338295],[102.035324,32.338135],[102.03555,32.337968],[102.035788,32.337855],[102.036127,32.33773],[102.03649,32.337683],[102.036874,32.337704],[102.037258,32.337724],[102.037507,32.337724],[102.037698,32.337707],[102.037858,32.337665],[102.03809,32.337576],[102.038263,32.337617],[102.038376,32.337796],[102.038488,32.338104],[102.03855,32.338276],[102.0386,32.338412],[102.038614,32.33845],[102.038804,32.338849],[102.038923,32.339003],[102.039072,32.339075],[102.039209,32.33914],[102.039298,32.339176],[102.039578,32.339378],[102.03975,32.339456],[102.03981,32.339539],[102.039863,32.33967],[102.039929,32.339824],[102.04,32.339925],[102.040101,32.340009],[102.040375,32.340086],[102.040667,32.340349],[102.040743,32.340401],[102.040989,32.34057],[102.041167,32.340699],[102.041296,32.340849],[102.041353,32.341034],[102.041375,32.341164],[102.041445,32.341577],[102.041545,32.341777],[102.04171,32.34208],[102.041874,32.342383],[102.042006,32.342608],[102.042138,32.342833],[102.042359,32.343104],[102.042502,32.343269],[102.042745,32.343454],[102.042811,32.343479],[102.043016,32.343554],[102.043287,32.34369],[102.043551,32.343768],[102.043815,32.343847],[102.044072,32.343932],[102.044294,32.343961],[102.044615,32.343961],[102.044865,32.343915],[102.045115,32.343868],[102.045339,32.343886],[102.045564,32.343904],[102.0457,32.343975],[102.045828,32.344118],[102.045936,32.344268],[102.046071,32.344575],[102.046159,32.344762],[102.04625,32.344953],[102.046335,32.345216],[102.046335,32.345217],[102.046335,32.345217],[102.046428,32.345374],[102.046678,32.345589],[102.046792,32.345617],[102.047096,32.345716],[102.047239,32.345852],[102.047425,32.346028],[102.047611,32.346204],[102.047797,32.34638],[102.047983,32.346556],[102.048166,32.346692],[102.048348,32.346829],[102.04853,32.346965],[102.048712,32.347101],[102.048895,32.347238],[102.049077,32.347374],[102.049305,32.347531],[102.049534,32.347688],[102.049762,32.347846],[102.049991,32.348003],[102.050219,32.34816],[102.050448,32.348317],[102.050676,32.348474],[102.050905,32.348631],[102.051232,32.348891],[102.051559,32.349151],[102.051887,32.34941],[102.052133,32.349508],[102.052379,32.349606],[102.052749,32.349693],[102.053014,32.349686],[102.053279,32.349679],[102.053513,32.349658],[102.053747,32.349637],[102.053981,32.349617],[102.054216,32.349596],[102.054636,32.349579],[102.055057,32.349562],[102.055384,32.34957],[102.05571,32.349578],[102.05602,32.349612],[102.056331,32.349645],[102.056717,32.34972],[102.057103,32.349796],[102.057536,32.349911],[102.057968,32.350026],[102.058338,32.350128],[102.058631,32.350208],[102.058709,32.35023],[102.058987,32.350275],[102.059266,32.350321],[102.059638,32.350383],[102.060009,32.350444],[102.060197,32.350481],[102.060396,32.350519],[102.060782,32.350594],[102.061046,32.350626],[102.061309,32.350659],[102.061573,32.350691],[102.061836,32.350724],[102.062272,32.35076],[102.06255,32.350832],[102.062828,32.350905],[102.063058,32.351003],[102.063288,32.351101],[102.063478,32.351237],[102.063668,32.351373],[102.063745,32.351428],[102.063942,32.351565],[102.06414,32.351702],[102.064337,32.351839],[102.064535,32.351975],[102.064711,32.352138],[102.064888,32.352301],[102.065087,32.352411],[102.065286,32.35252],[102.06553,32.352631],[102.065717,32.352637],[102.066092,32.352592],[102.06644,32.352455],[102.066787,32.352319],[102.067156,32.352133],[102.067525,32.351948],[102.067894,32.351762],[102.068124,32.351629],[102.068354,32.351496],[102.068584,32.351362],[102.068814,32.351229],[102.069105,32.350919],[102.069395,32.350608],[102.069587,32.350448],[102.069779,32.350288],[102.069971,32.350128],[102.070162,32.349968],[102.070374,32.349794],[102.070586,32.349621],[102.070798,32.349448],[102.07101,32.349275],[102.071221,32.349101],[102.071433,32.348928],[102.071645,32.348755],[102.071857,32.348581],[102.072064,32.348448],[102.072271,32.348314],[102.072478,32.348181],[102.072685,32.348047],[102.072914,32.347933],[102.073143,32.34782],[102.073372,32.347706],[102.073452,32.347666],[102.0736,32.347592],[102.073789,32.34752],[102.073821,32.347508],[102.074042,32.347424],[102.074263,32.34734],[102.074483,32.347256],[102.074704,32.347172],[102.074925,32.347088],[102.075146,32.347004],[102.075366,32.34692],[102.075612,32.346841],[102.075857,32.346763],[102.07613,32.346675],[102.076519,32.34654],[102.076542,32.346532],[102.076908,32.346405],[102.07711,32.346335],[102.077297,32.34627],[102.077686,32.346135],[102.078075,32.346],[102.078465,32.345865],[102.078854,32.34573],[102.079243,32.345595],[102.079632,32.34546],[102.079876,32.345386],[102.080121,32.345312],[102.080462,32.345186],[102.080803,32.34506],[102.081145,32.344934],[102.081486,32.344808],[102.081827,32.344682],[102.082059,32.3446],[102.082291,32.344518],[102.082491,32.344404],[102.082712,32.344275],[102.082838,32.34422],[102.082955,32.344168],[102.08326,32.344042],[102.083564,32.343916],[102.083869,32.34379],[102.084233,32.343554],[102.084383,32.343461],[102.084547,32.343426],[102.084711,32.343383],[102.084904,32.343297],[102.085197,32.343126],[102.085211,32.343122],[102.085389,32.343076],[102.085596,32.343069],[102.085903,32.342997],[102.086125,32.342876],[102.08626,32.342698],[102.08641,32.342526],[102.086532,32.342441],[102.086917,32.342276],[102.087203,32.342148],[102.087438,32.342019],[102.087688,32.341927],[102.088038,32.341798],[102.08838,32.341691],[102.088659,32.341613],[102.088823,32.341548],[102.088916,32.341441],[102.089116,32.34127],[102.089315,32.341177],[102.089465,32.34107],[102.089587,32.340884],[102.08973,32.340635],[102.08987,32.340335],[102.09001,32.340035],[102.090151,32.339735],[102.090161,32.339439],[102.090172,32.339143],[102.090186,32.338893],[102.090201,32.338643],[102.090236,32.3383],[102.090244,32.338268],[102.090297,32.338049],[102.090351,32.337829],[102.09046,32.337425],[102.09057,32.337021],[102.0906,32.336908],[102.090679,32.336666],[102.090686,32.336451],[102.09067,32.336369],[102.090586,32.335952],[102.090565,32.335758],[102.090529,32.335416],[102.090436,32.335138],[102.090429,32.334917],[102.090472,32.33471],[102.090465,32.334531],[102.090379,32.334331],[102.090343,32.334103],[102.090408,32.333967],[102.090508,32.333882],[102.090757,32.333746],[102.090936,32.333525],[102.091057,32.333175],[102.091129,32.332847],[102.091137,32.332429],[102.091145,32.332011],[102.09119,32.331725],[102.09119,32.331722],[102.091191,32.331721],[102.091193,32.331707],[102.091269,32.331431],[102.091357,32.331313],[102.091383,32.331279],[102.091545,32.331079],[102.091707,32.330879],[102.091816,32.330674],[102.091926,32.330469],[102.092069,32.330232],[102.09224,32.329927],[102.092402,32.32966],[102.092563,32.329394],[102.092699,32.3292],[102.092787,32.329076],[102.093075,32.328841],[102.093295,32.32866],[102.093515,32.32848],[102.093715,32.328352],[102.093915,32.328223],[102.094181,32.328081],[102.094372,32.328033],[102.0946,32.327957],[102.094762,32.327728],[102.094924,32.3275],[102.095114,32.327291],[102.095305,32.327081],[102.09539,32.326862],[102.095457,32.326746],[102.095581,32.326529],[102.095571,32.326158],[102.095504,32.32583],[102.095438,32.325501],[102.095448,32.325322],[102.095457,32.325168],[102.095562,32.32493],[102.095666,32.324692],[102.095799,32.324527],[102.095942,32.32435],[102.096099,32.324093],[102.096256,32.323836],[102.096409,32.323563],[102.096561,32.32329],[102.096713,32.323017],[102.096846,32.322789],[102.097075,32.322551],[102.097208,32.322341],[102.097341,32.322132],[102.097379,32.321922],[102.097484,32.321665],[102.097646,32.321504],[102.097806,32.321201],[102.097965,32.320897],[102.09809,32.320739],[102.098342,32.320455],[102.098595,32.320171],[102.098848,32.319887],[102.099024,32.319768],[102.099029,32.319765],[102.099301,32.319603],[102.099574,32.319442],[102.099851,32.319321],[102.100084,32.319219],[102.100316,32.319117],[102.100549,32.319016],[102.100782,32.318914],[102.101014,32.318813],[102.101247,32.318711],[102.101479,32.318609],[102.101712,32.318508],[102.101945,32.318406],[102.102177,32.318304],[102.10241,32.318203],[102.102643,32.318101],[102.102875,32.317999],[102.103108,32.317898],[102.103341,32.317796],[102.103573,32.317694],[102.103784,32.317611],[102.103995,32.317527],[102.104206,32.317444],[102.104417,32.31736],[102.104628,32.317277],[102.104839,32.317193],[102.10505,32.31711],[102.105261,32.317026],[102.105472,32.316943],[102.105683,32.316859],[102.10608,32.316679],[102.106476,32.316499],[102.106873,32.316319],[102.107269,32.316139],[102.107477,32.316022],[102.107685,32.315906],[102.107894,32.31579],[102.108102,32.315674],[102.10831,32.315558],[102.108518,32.315441],[102.108872,32.315249],[102.109153,32.315096],[102.109153,32.315096],[102.109225,32.315057],[102.109578,32.314865],[102.109988,32.3147],[102.110397,32.314534],[102.110806,32.314369],[102.111195,32.314241],[102.111583,32.314113],[102.111972,32.313985],[102.112236,32.313881],[102.112499,32.313777],[102.112729,32.313592],[102.112922,32.313375],[102.112935,32.312995],[102.112907,32.31268],[102.112902,32.312621],[102.11288,32.312364],[102.11285,32.312139],[102.11282,32.311913],[102.11279,32.311687],[102.112759,32.311462],[102.112729,32.311236],[102.112699,32.31101],[102.112669,32.310785],[102.112639,32.310559],[102.112646,32.310323],[102.112654,32.310086],[102.112736,32.309852],[102.112818,32.309617],[102.1129,32.309382],[102.112982,32.309147],[102.113068,32.308786],[102.113153,32.308425],[102.113148,32.307998],[102.113143,32.307572],[102.113122,32.307339],[102.113102,32.307105],[102.113081,32.306872],[102.113061,32.306639],[102.11304,32.306406],[102.11302,32.306173],[102.112999,32.305939],[102.112979,32.305706],[102.112968,32.305474],[102.112956,32.305243],[102.112945,32.305011],[102.112934,32.304779],[102.112923,32.304547],[102.112911,32.304316],[102.112936,32.30409],[102.112962,32.303864],[102.112987,32.303639],[102.113012,32.303413],[102.113136,32.303006],[102.113261,32.302598],[102.113495,32.302288],[102.113523,32.302261],[102.113725,32.302072],[102.114149,32.301987],[102.114573,32.301902],[102.114926,32.301831],[102.114998,32.301817],[102.115437,32.301748],[102.115876,32.301679],[102.116315,32.301611],[102.11661,32.301564],[102.116755,32.301542],[102.117153,32.301509],[102.117551,32.301476],[102.117949,32.301443],[102.118265,32.301434],[102.118582,32.301425],[102.118952,32.301466],[102.119323,32.301506],[102.119768,32.301516],[102.120192,32.301636],[102.120507,32.301725],[102.120617,32.301757],[102.12065,32.30178],[102.120999,32.302025],[102.121035,32.302051],[102.121381,32.302294],[102.121572,32.302429],[102.121764,32.302563],[102.121955,32.302697],[102.122146,32.302832],[102.12251,32.303093],[102.122873,32.303354],[102.122873,32.303354],[102.122873,32.303354],[102.123203,32.303488],[102.123534,32.303622],[102.123923,32.303678],[102.124312,32.303734],[102.124696,32.303753],[102.12508,32.303773],[102.125463,32.303792],[102.125815,32.303793],[102.126167,32.303795],[102.126419,32.303796],[102.12667,32.303797],[102.127107,32.303799],[102.127174,32.303799],[102.127191,32.3038],[102.127456,32.303818],[102.127721,32.303835],[102.127994,32.303853],[102.128268,32.303871],[102.128541,32.303889],[102.128815,32.303907],[102.12917,32.30393],[102.129362,32.303943],[102.129602,32.30398],[102.129843,32.304017],[102.130084,32.304054],[102.130325,32.304092],[102.130749,32.304196],[102.131173,32.3043],[102.131467,32.304402],[102.131761,32.304503],[102.13202,32.304556],[102.132279,32.304609],[102.132614,32.304617],[102.132767,32.304495],[102.13278,32.304464],[102.132864,32.304278],[102.132864,32.304278],[102.132886,32.304229],[102.133006,32.303964],[102.133065,32.303704],[102.133101,32.303546],[102.133104,32.303534],[102.133104,32.303534],[102.133124,32.303445],[102.133184,32.303186],[102.133243,32.302927],[102.133257,32.302865],[102.133302,32.302667],[102.133362,32.302408],[102.133421,32.302149],[102.13348,32.30189],[102.133566,32.301545],[102.133587,32.301461],[102.133653,32.3012],[102.13381,32.30092],[102.133894,32.300769],[102.133967,32.300639],[102.134215,32.30044],[102.134462,32.30024],[102.134679,32.300097],[102.134785,32.300027],[102.134968,32.299906],[102.135108,32.299813],[102.135353,32.299701],[102.135598,32.29959],[102.135865,32.299406],[102.135942,32.299353],[102.136131,32.299223],[102.136325,32.298959],[102.13652,32.298695],[102.136643,32.298455],[102.136765,32.298215],[102.136888,32.297975],[102.137011,32.297734],[102.137134,32.297494],[102.137257,32.297254],[102.137379,32.297014],[102.137502,32.296774],[102.137625,32.296533],[102.137748,32.296293],[102.137851,32.296075],[102.137955,32.295856],[102.138059,32.295637],[102.138162,32.295419],[102.138266,32.2952],[102.138369,32.294982],[102.138473,32.294763],[102.138577,32.294544],[102.13868,32.294326],[102.138784,32.294107],[102.13888,32.293857],[102.138976,32.293606],[102.139073,32.293356],[102.139169,32.293105],[102.139265,32.292855],[102.139361,32.292604],[102.139457,32.292354],[102.139554,32.292103],[102.139727,32.291781],[102.139844,32.291564],[102.13996,32.291347],[102.140077,32.29113],[102.140194,32.290914],[102.14031,32.290697],[102.140427,32.29048],[102.140543,32.290263],[102.14066,32.290046],[102.140819,32.289853],[102.140979,32.289659],[102.141244,32.289507],[102.141509,32.289354],[102.141847,32.289267],[102.142083,32.289207],[102.142184,32.289181],[102.142484,32.289109],[102.142784,32.289036],[102.143193,32.289046],[102.143433,32.289083],[102.143674,32.28912],[102.144042,32.289255],[102.14441,32.289389],[102.14463,32.289481],[102.144851,32.289573],[102.145071,32.289665],[102.145292,32.289756],[102.145386,32.289796],[102.145418,32.289809],[102.145512,32.289848],[102.145732,32.28994],[102.145953,32.290032],[102.145967,32.290038],[102.146173,32.290124],[102.146411,32.290261],[102.146648,32.290397],[102.146885,32.290534],[102.147123,32.290671],[102.14736,32.290808],[102.147597,32.290945],[102.147925,32.291184],[102.148252,32.291423],[102.148579,32.291662],[102.148731,32.291776],[102.148737,32.291781],[102.149051,32.292019],[102.149212,32.292228],[102.149373,32.292437],[102.149459,32.29266],[102.149545,32.292883],[102.149541,32.29296],[102.14953,32.293151],[102.149515,32.293419],[102.149513,32.293471],[102.149548,32.293716],[102.149584,32.29396],[102.149588,32.294227],[102.149582,32.29457],[102.149575,32.294914],[102.149569,32.295257],[102.149562,32.2956],[102.149522,32.29595],[102.149481,32.2963],[102.149441,32.296649],[102.1494,32.296999],[102.149389,32.297378],[102.149377,32.297757],[102.149365,32.298136],[102.14941,32.298528],[102.149432,32.298718],[102.149456,32.298921],[102.1495,32.299116],[102.14957,32.299418],[102.149639,32.29972],[102.149709,32.300022],[102.149804,32.30025],[102.149899,32.300479],[102.150008,32.300698],[102.150018,32.300717],[102.150118,32.300917],[102.150321,32.301234],[102.150548,32.301588],[102.150776,32.301942],[102.150924,32.302173],[102.151003,32.302297],[102.151193,32.302544],[102.151384,32.302792],[102.151574,32.303039],[102.15175,32.303182],[102.151787,32.303212],[102.151926,32.303325],[102.152212,32.303567],[102.152378,32.303708],[102.152497,32.30381],[102.152635,32.304015],[102.152773,32.304219],[102.152897,32.304533],[102.152983,32.30479],[102.153013,32.305201],[102.153021,32.305304],[102.153173,32.305475],[102.153306,32.305623],[102.153592,32.305942],[102.15383,32.306123],[102.153935,32.306153],[102.15423,32.306237],[102.154591,32.306247],[102.154953,32.306256],[102.155272,32.306304],[102.155581,32.306351],[102.155962,32.306375],[102.156343,32.306399],[102.156714,32.306361],[102.157085,32.306323],[102.157404,32.306318],[102.157723,32.306313],[102.157989,32.306366],[102.158256,32.306418],[102.158503,32.306518],[102.158751,32.306618],[102.159021,32.306746],[102.159274,32.306865],[102.159617,32.307037],[102.159633,32.30704],[102.160035,32.307122],[102.160359,32.307094],[102.160673,32.307113],[102.160987,32.307132],[102.161315,32.307079],[102.161576,32.307085],[102.161814,32.30709],[102.162052,32.307096],[102.162393,32.307067],[102.162499,32.307059],[102.162947,32.307021],[102.163339,32.306968],[102.163731,32.306914],[102.164135,32.306839],[102.164539,32.306764],[102.164803,32.306628],[102.165067,32.306492],[102.165404,32.306197],[102.165741,32.305901],[102.166077,32.305606],[102.166414,32.305311],[102.166751,32.305015],[102.166949,32.304841],[102.167146,32.304666],[102.167344,32.304491],[102.167542,32.304317],[102.16774,32.304142],[102.167937,32.303968],[102.16822,32.303832],[102.168503,32.303696],[102.168748,32.303607],[102.168993,32.303518],[102.169237,32.30346],[102.16948,32.303403],[102.169815,32.30341],[102.16988,32.303412],[102.169845,32.303446],[102.169594,32.303676],[102.169317,32.303862],[102.168943,32.304276],[102.168019,32.306366],[102.167576,32.307548],[102.167377,32.308079],[102.167013,32.309607],[102.166521,32.310901],[102.165894,32.312154],[102.165725,32.313225],[102.165819,32.31544],[102.165822,32.315506],[102.16583,32.315684],[102.166,32.317454],[102.165875,32.318564],[102.165879,32.319908],[102.165852,32.320752],[102.16556,32.321436],[102.165261,32.322312],[102.164763,32.323798],[102.164401,32.324716],[102.164246,32.325109],[102.164223,32.325168],[102.164139,32.32538],[102.164095,32.325494],[102.163923,32.325912],[102.163901,32.325966],[102.163733,32.326386],[102.163562,32.327495],[102.163611,32.32884],[102.1638,32.330034],[102.164263,32.331119],[102.164698,32.332057],[102.165002,32.332933],[102.164927,32.33305],[102.164921,32.333151],[102.164966,32.333262],[102.165103,32.333333],[102.165265,32.333494],[102.165327,32.333515],[102.165355,32.333563],[102.165421,32.333701],[102.165478,32.333762],[102.165537,32.333789],[102.165603,32.333798],[102.165716,32.333792],[102.165755,32.333809],[102.165778,32.333851],[102.165776,32.333895],[102.165787,32.333925],[102.165879,32.333994],[102.16591,32.334055],[102.165947,32.334241],[102.165978,32.334479],[102.166016,32.334589],[102.166032,32.334606],[102.166071,32.334624],[102.166216,32.334649],[102.166258,32.334664],[102.166336,32.334723],[102.166422,32.334808],[102.166537,32.334869],[102.166574,32.334914],[102.166714,32.335083],[102.166719,32.335091],[102.166732,32.335105],[102.166736,32.335109],[102.166782,32.335155],[102.166812,32.335183],[102.167022,32.335392],[102.167046,32.335415],[102.167094,32.335462],[102.167098,32.335466],[102.16714,32.335508],[102.167202,32.335569],[102.167511,32.335862],[102.167556,32.335904],[102.167621,32.335966],[102.167638,32.335982],[102.167643,32.335987],[102.167743,32.336079],[102.167747,32.336085],[102.167753,32.336091],[102.167762,32.3361],[102.168319,32.336685],[102.168431,32.337185],[102.168437,32.33722],[102.168446,32.33725],[102.168447,32.337257],[102.16848,32.337268],[102.16851,32.337278],[102.168534,32.337302],[102.168524,32.33739],[102.168542,32.337441],[102.168541,32.337492],[102.168541,32.337528],[102.168539,32.337535],[102.168535,32.337548],[102.168557,32.337613],[102.168537,32.33769],[102.168599,32.337739],[102.168648,32.337886],[102.168656,32.337908],[102.168695,32.338026],[102.16871,32.338046],[102.168724,32.338064],[102.168706,32.338073],[102.168662,32.338085],[102.168636,32.338108],[102.16863,32.338193],[102.168652,32.338305],[102.168628,32.33835],[102.168625,32.338407],[102.168657,32.338453],[102.168681,32.33847],[102.168826,32.338501],[102.168919,32.338527],[102.168967,32.338549],[102.168877,32.338701],[102.16885,32.338779],[102.168845,32.338818],[102.168854,32.33887],[102.168911,32.338904],[102.168924,32.338927],[102.168917,32.338955],[102.16888,32.339004],[102.168871,32.339067],[102.168877,32.339098],[102.168917,32.33916],[102.168926,32.339189],[102.168927,32.339263],[102.168939,32.339325],[102.168975,32.339393],[102.169,32.339417],[102.169033,32.339436],[102.169148,32.339476],[102.169265,32.339532],[102.169289,32.339556],[102.169296,32.339581],[102.169292,32.339627],[102.169265,32.339678],[102.169191,32.33975],[102.169152,32.339809],[102.169073,32.339858],[102.169059,32.339899],[102.169067,32.339937],[102.169091,32.339965],[102.169129,32.339989],[102.169175,32.339999],[102.169182,32.340009],[102.169179,32.340024],[102.169101,32.340141],[102.169082,32.340246],[102.16909,32.340348],[102.169105,32.3404],[102.169128,32.340437],[102.169203,32.34049],[102.169201,32.340517],[102.169106,32.340527],[102.168871,32.340522],[102.168826,32.340541],[102.16882,32.340556],[102.168806,32.340588],[102.16881,32.340624],[102.168829,32.34064],[102.168851,32.34066],[102.168968,32.340699],[102.169081,32.340707],[102.169123,32.340734],[102.169122,32.340771],[102.169085,32.340813],[102.169058,32.340888],[102.169046,32.340959],[102.16905,32.341032],[102.169086,32.341122],[102.169198,32.341218],[102.16922,32.341248],[102.169245,32.34133],[102.169253,32.34139],[102.169249,32.341475],[102.169187,32.341653],[102.169157,32.341827],[102.169148,32.341922],[102.169152,32.342147],[102.169143,32.34219],[102.169111,32.342241],[102.169045,32.342282],[102.169023,32.342288],[102.168948,32.342282],[102.168926,32.342287],[102.168913,32.342304],[102.168918,32.342344],[102.168939,32.342378],[102.169071,32.34248],[102.16909,32.342501],[102.16912,32.342534],[102.169129,32.342545],[102.169147,32.342589],[102.16913,32.342682],[102.169148,32.342717],[102.169168,32.342739],[102.16923,32.342777],[102.16933,32.3428],[102.169382,32.342887],[102.169483,32.342965],[102.169526,32.342982],[102.169633,32.343007],[102.169662,32.343027],[102.169675,32.343113],[102.169693,32.34315],[102.169716,32.343183],[102.169762,32.343222],[102.169723,32.343359],[102.16974,32.343422],[102.169767,32.343456],[102.169801,32.34347],[102.169867,32.343473],[102.16991,32.343487],[102.16993,32.343501],[102.169974,32.343566],[102.170012,32.343584],[102.170085,32.343598],[102.170178,32.343584],[102.170216,32.343578],[102.170253,32.343622],[102.170259,32.343651],[102.170254,32.343703],[102.170252,32.34373],[102.170278,32.3441],[102.170274,32.344147],[102.17025,32.344219],[102.170152,32.344396],[102.170104,32.344464],[102.170078,32.344489],[102.169965,32.344557],[102.169782,32.344693],[102.169763,32.344716],[102.169742,32.344742],[102.169724,32.344802],[102.169729,32.344829],[102.169747,32.344857],[102.169821,32.344921],[102.169903,32.344971],[102.169938,32.345017],[102.169951,32.3451],[102.169952,32.345233],[102.169974,32.345376],[102.169977,32.345398],[102.170054,32.345677],[102.170068,32.345763],[102.170101,32.345842],[102.170133,32.345886],[102.170143,32.345896],[102.170219,32.345971],[102.170262,32.345999],[102.170368,32.346048],[102.170402,32.346079],[102.170417,32.346112],[102.170425,32.346144],[102.170419,32.346185],[102.170335,32.34625],[102.170314,32.346288],[102.170297,32.346357],[102.170292,32.346408],[102.170278,32.346537],[102.170283,32.346606],[102.170302,32.346678],[102.170357,32.346782],[102.170398,32.346828],[102.170423,32.346844],[102.170465,32.346855],[102.170633,32.34686],[102.170662,32.346868],[102.170699,32.346909],[102.170727,32.346989],[102.170749,32.347024],[102.170787,32.347067],[102.170826,32.347085],[102.170881,32.347086],[102.170982,32.347058],[102.171085,32.346999],[102.171222,32.346903],[102.171288,32.34688],[102.171363,32.346853],[102.171455,32.346848],[102.171548,32.346866],[102.171613,32.346894],[102.171646,32.346928],[102.171671,32.347008],[102.171661,32.347055],[102.171562,32.347183],[102.171526,32.347229],[102.171437,32.34743],[102.171363,32.34756],[102.17103,32.348018],[102.171015,32.34806],[102.170996,32.34811],[102.170998,32.348207],[102.171014,32.348252],[102.171066,32.348296],[102.171121,32.34832],[102.171203,32.348334],[102.171262,32.348319],[102.171371,32.34826],[102.171541,32.348193],[102.171633,32.348157],[102.171713,32.348155],[102.17174,32.348176],[102.171758,32.348217],[102.171764,32.348254],[102.171756,32.348413],[102.171746,32.348432],[102.171697,32.348471],[102.171652,32.348522],[102.17164,32.348554],[102.17165,32.348581],[102.171718,32.348673],[102.171724,32.348696],[102.17171,32.348738],[102.17164,32.348765],[102.171618,32.348796],[102.171662,32.348993],[102.171672,32.349019],[102.171718,32.349139],[102.171786,32.349255],[102.171838,32.349308],[102.171929,32.349373],[102.171968,32.349411],[102.171983,32.349425],[102.172055,32.349517],[102.172113,32.349665],[102.172164,32.349765],[102.172178,32.349843],[102.172167,32.349904],[102.172128,32.349964],[102.171938,32.350074],[102.171907,32.350106],[102.171896,32.35013],[102.17189,32.350183],[102.171902,32.350277],[102.171938,32.350361],[102.172068,32.350508],[102.172169,32.350662],[102.172248,32.350737],[102.172475,32.350905],[102.172566,32.350973],[102.172618,32.351045],[102.172636,32.351095],[102.172634,32.351145],[102.172616,32.35121],[102.172582,32.351279],[102.17254,32.351329],[102.172431,32.351391],[102.17229,32.351448],[102.17226,32.351464],[102.172188,32.351504],[102.17211,32.351561],[102.17206,32.351623],[102.172034,32.351672],[102.171988,32.351756],[102.171954,32.351843],[102.171937,32.351919],[102.171934,32.352105],[102.17191,32.352192],[102.171882,32.352205],[102.171744,32.352198],[102.171706,32.352203],[102.171625,32.352249],[102.171604,32.35227],[102.171589,32.352302],[102.171592,32.352337],[102.171615,32.352391],[102.171626,32.352404],[102.171665,32.352448],[102.171722,32.352481],[102.171834,32.352528],[102.172203,32.352624],[102.172239,32.352665],[102.172272,32.35276],[102.172255,32.35327],[102.17223,32.353346],[102.172199,32.353378],[102.172148,32.353398],[102.172115,32.353399],[102.17193,32.353368],[102.171848,32.353345],[102.171727,32.353282],[102.171601,32.353232],[102.171572,32.353229],[102.171547,32.353236],[102.171509,32.353286],[102.1715,32.353331],[102.171519,32.353383],[102.171707,32.353686],[102.171789,32.353776],[102.171789,32.353806],[102.171753,32.353903],[102.171752,32.353948],[102.171773,32.354048],[102.171821,32.354155],[102.171823,32.354223],[102.171808,32.354257],[102.171785,32.354281],[102.171707,32.35433],[102.171537,32.354369],[102.171411,32.354429],[102.171355,32.354479],[102.171345,32.354493],[102.171312,32.354543],[102.171285,32.354639],[102.171297,32.354708],[102.171339,32.354748],[102.171395,32.354777],[102.171554,32.354859],[102.171573,32.354877],[102.171577,32.354915],[102.171556,32.354979],[102.171511,32.35505],[102.17149,32.355063],[102.171457,32.355066],[102.171395,32.35507],[102.171365,32.355086],[102.17135,32.355109],[102.171353,32.355127],[102.171384,32.355181],[102.171463,32.355266],[102.171473,32.355317],[102.171464,32.355352],[102.171439,32.355373],[102.171342,32.355415],[102.171199,32.355432],[102.171176,32.355448],[102.171164,32.355483],[102.171165,32.355509],[102.171176,32.355528],[102.171261,32.355566],[102.171305,32.355599],[102.171346,32.355649],[102.171372,32.355711],[102.171379,32.355773],[102.171329,32.355919],[102.171326,32.355972],[102.171364,32.356163],[102.171368,32.356279],[102.171391,32.35637],[102.171407,32.356401],[102.17143,32.356428],[102.17146,32.356446],[102.171552,32.356468],[102.17158,32.35647],[102.171642,32.356474],[102.171766,32.35645],[102.1718,32.356454],[102.171841,32.356496],[102.171863,32.356548],[102.171866,32.356598],[102.171849,32.356651],[102.17181,32.356693],[102.171479,32.35678],[102.17142,32.356808],[102.171401,32.35683],[102.171391,32.356879],[102.171401,32.356928],[102.171426,32.356954],[102.171502,32.356999],[102.171563,32.357065],[102.171565,32.357122],[102.171547,32.357157],[102.171486,32.357186],[102.171434,32.35719],[102.171309,32.357146],[102.171192,32.357081],[102.171125,32.357076],[102.171077,32.357091],[102.171047,32.357128],[102.171007,32.357212],[102.170997,32.357263],[102.170984,32.357553],[102.170972,32.357586],[102.170934,32.357632],[102.170912,32.357645],[102.170892,32.357643],[102.170817,32.357611],[102.170732,32.357562],[102.170676,32.357546],[102.170606,32.35755],[102.170529,32.357569],[102.170476,32.357598],[102.170426,32.357646],[102.17024,32.35793],[102.170221,32.35798],[102.170216,32.357994],[102.170225,32.358092],[102.170244,32.358132],[102.170256,32.358148],[102.170345,32.358277],[102.170366,32.358344],[102.170355,32.358375],[102.170265,32.358475],[102.170244,32.358498],[102.170224,32.358563],[102.170225,32.358642],[102.17023,32.358661],[102.170252,32.358731],[102.170367,32.358887],[102.170438,32.359024],[102.170472,32.359122],[102.170481,32.359192],[102.170478,32.359236],[102.170457,32.359262],[102.170404,32.359294],[102.170374,32.359304],[102.170223,32.359327],[102.170156,32.359349],[102.170051,32.359416],[102.170001,32.359484],[102.169963,32.35951],[102.169942,32.359512],[102.169894,32.359489],[102.169873,32.359472],[102.169857,32.359439],[102.169851,32.359377],[102.169867,32.359225],[102.169857,32.359184],[102.169831,32.359143],[102.169807,32.359126],[102.169753,32.35911],[102.169642,32.359099],[102.169593,32.359109],[102.169568,32.359126],[102.169537,32.359174],[102.169517,32.359237],[102.169516,32.359272],[102.169538,32.359405],[102.169549,32.359438],[102.169622,32.359654],[102.169621,32.359695],[102.169587,32.359745],[102.169536,32.359783],[102.169503,32.359791],[102.169426,32.359793],[102.169367,32.359825],[102.169307,32.359889],[102.169269,32.359971],[102.169243,32.359977],[102.169189,32.359971],[102.169095,32.359944],[102.169061,32.359925],[102.16904,32.359892],[102.168999,32.359727],[102.168987,32.359679],[102.168936,32.359644],[102.168892,32.359632],[102.168864,32.359632],[102.168822,32.359649],[102.168799,32.359669],[102.168736,32.359758],[102.168642,32.359892],[102.168509,32.359999],[102.168474,32.360055],[102.168461,32.360113],[102.168508,32.360247],[102.16851,32.360305],[102.168493,32.360332],[102.168329,32.360274],[102.168202,32.360208],[102.168135,32.3602],[102.168093,32.360207],[102.16792,32.360263],[102.16777,32.360267],[102.167718,32.360282],[102.167691,32.360307],[102.167662,32.360366],[102.167647,32.360453],[102.167602,32.360483],[102.167517,32.360499],[102.167423,32.360475],[102.16735,32.360467],[102.167309,32.360476],[102.167299,32.360485],[102.167292,32.360491],[102.167267,32.360568],[102.167272,32.360624],[102.167287,32.360669],[102.16733,32.360748],[102.167338,32.360762],[102.167385,32.360805],[102.167496,32.360826],[102.167508,32.360841],[102.16747,32.360919],[102.167426,32.360977],[102.167403,32.360995],[102.167326,32.361023],[102.167297,32.361049],[102.167291,32.361079],[102.167317,32.361267],[102.167298,32.361326],[102.167272,32.361357],[102.167177,32.361399],[102.167123,32.361436],[102.16708,32.361486],[102.167044,32.361546],[102.166951,32.361774],[102.166935,32.361833],[102.166928,32.361931],[102.166929,32.361939],[102.166941,32.362036],[102.167,32.362201],[102.167039,32.362247],[102.167095,32.362286],[102.167155,32.362305],[102.167195,32.362308],[102.167294,32.362299],[102.167412,32.36227],[102.167496,32.362266],[102.167529,32.362277],[102.167632,32.362341],[102.167687,32.362384],[102.167729,32.362436],[102.16774,32.362479],[102.167732,32.3628],[102.16775,32.362837],[102.16779,32.362878],[102.167823,32.362885],[102.16785,32.362873],[102.167862,32.362862],[102.167942,32.36278],[102.167971,32.362762],[102.168041,32.362751],[102.168063,32.362756],[102.168087,32.362825],[102.168085,32.362884],[102.168024,32.363037],[102.168006,32.363051],[102.167901,32.363064],[102.167846,32.363088],[102.167797,32.363124],[102.167783,32.363167],[102.167804,32.363226],[102.167823,32.363252],[102.167844,32.363266],[102.167879,32.363274],[102.168007,32.363276],[102.168025,32.363283],[102.168038,32.363307],[102.168045,32.36336],[102.168041,32.363372],[102.168021,32.363383],[102.167923,32.363402],[102.167807,32.363446],[102.167562,32.363567],[102.167037,32.363758],[102.166873,32.36383],[102.166824,32.363859],[102.166802,32.363901],[102.166783,32.364],[102.166782,32.364058],[102.166957,32.364539],[102.166967,32.364621],[102.166964,32.364696],[102.166962,32.364724],[102.16695,32.364749],[102.166903,32.364768],[102.166822,32.36478],[102.166729,32.364779],[102.166681,32.364791],[102.166648,32.364813],[102.166597,32.364869],[102.166573,32.364939],[102.166578,32.365003],[102.166609,32.365039],[102.166667,32.365059],[102.166765,32.365072],[102.166876,32.36506],[102.167163,32.364995],[102.167209,32.364984],[102.16735,32.364963],[102.167472,32.364956],[102.167658,32.364969],[102.167707,32.364984],[102.167772,32.365021],[102.16787,32.365104],[102.167919,32.365161],[102.167947,32.365194],[102.167986,32.365265],[102.16801,32.36534],[102.168009,32.365413],[102.167994,32.365468],[102.16797,32.365495],[102.167908,32.365525],[102.167769,32.365546],[102.167709,32.365578],[102.167653,32.365625],[102.167606,32.36568],[102.167581,32.365729],[102.167573,32.365776],[102.167577,32.365817],[102.167593,32.365852],[102.167646,32.365909],[102.167681,32.365928],[102.167735,32.365924],[102.167841,32.365877],[102.16786,32.365875],[102.16788,32.365885],[102.167908,32.365912],[102.167918,32.365934],[102.167907,32.366011],[102.167853,32.36611],[102.167739,32.366152],[102.167694,32.366179],[102.167614,32.366242],[102.16758,32.366279],[102.167542,32.366341],[102.167533,32.366374],[102.167545,32.366463],[102.167567,32.3665],[102.167592,32.366519],[102.167653,32.36654],[102.167746,32.366553],[102.1678,32.366549],[102.167941,32.366518],[102.168047,32.366471],[102.168128,32.366436],[102.168223,32.366436],[102.16831,32.36646],[102.168316,32.366464],[102.168354,32.36649],[102.168381,32.366519],[102.168404,32.366558],[102.168429,32.3666],[102.168464,32.366718],[102.168486,32.366788],[102.168482,32.366907],[102.168504,32.366954],[102.168547,32.366978],[102.168628,32.366998],[102.168645,32.367002],[102.168663,32.367001],[102.168738,32.366995],[102.168829,32.366988],[102.168878,32.366994],[102.168976,32.367031],[102.169023,32.36706],[102.169052,32.367089],[102.169066,32.367124],[102.16907,32.367174],[102.169049,32.367237],[102.168976,32.367326],[102.168907,32.367455],[102.168828,32.367566],[102.168738,32.367663],[102.168652,32.367733],[102.168603,32.367816],[102.168597,32.36788],[102.168637,32.367966],[102.168635,32.368045],[102.168616,32.368117],[102.168552,32.36817],[102.168535,32.368194],[102.168529,32.368238],[102.168541,32.36829],[102.168577,32.368347],[102.168625,32.368368],[102.168687,32.36837],[102.168739,32.368364],[102.168831,32.368328],[102.168881,32.368338],[102.168944,32.368372],[102.169007,32.368433],[102.169072,32.368451],[102.169112,32.368441],[102.169155,32.368383],[102.169178,32.368363],[102.169185,32.368357],[102.169313,32.368295],[102.169356,32.368282],[102.169427,32.368274],[102.169469,32.368277],[102.169487,32.368279],[102.169507,32.368289],[102.169512,32.368345],[102.169514,32.368363],[102.169498,32.368414],[102.169462,32.368533],[102.169462,32.368612],[102.169472,32.368669],[102.1695,32.368737],[102.16961,32.368871],[102.169668,32.368941],[102.169684,32.368983],[102.16969,32.369029],[102.169687,32.369057],[102.169685,32.369077],[102.169684,32.36909],[102.169682,32.369114],[102.169664,32.36919],[102.169619,32.369298],[102.169595,32.369384],[102.169589,32.369443],[102.169594,32.369468],[102.169625,32.369514],[102.169694,32.369575],[102.169718,32.369591],[102.169858,32.369687],[102.169895,32.369735],[102.169914,32.369784],[102.169884,32.369886],[102.169856,32.369935],[102.1698,32.369988],[102.169709,32.370051],[102.169656,32.370114],[102.169651,32.370131],[102.169658,32.370152],[102.169752,32.370221],[102.16974,32.370263],[102.169715,32.37028],[102.169611,32.370292],[102.169547,32.370323],[102.169507,32.370358],[102.16948,32.370425],[102.169484,32.370471],[102.169517,32.370542],[102.169533,32.37063],[102.16956,32.37069],[102.169604,32.370733],[102.169626,32.370755],[102.169781,32.37086],[102.169801,32.370894],[102.169799,32.370951],[102.169759,32.37098],[102.169705,32.370998],[102.169495,32.370997],[102.16947,32.370981],[102.169383,32.370867],[102.16934,32.370827],[102.169328,32.370822],[102.169286,32.370803],[102.169248,32.370797],[102.169226,32.370803],[102.169209,32.370821],[102.169193,32.370869],[102.169204,32.370976],[102.1692,32.371021],[102.169126,32.371047],[102.169103,32.371085],[102.169099,32.371108],[102.169115,32.371142],[102.169229,32.371224],[102.169271,32.371268],[102.169288,32.371316],[102.169289,32.371398],[102.169268,32.371455],[102.169184,32.37148],[102.169127,32.371533],[102.169064,32.371659],[102.16904,32.371789],[102.16905,32.371847],[102.169077,32.371883],[102.169115,32.371908],[102.169142,32.371925],[102.16925,32.37195],[102.169273,32.371982],[102.169276,32.371999],[102.169145,32.372039],[102.169128,32.372053],[102.169121,32.372068],[102.169142,32.372129],[102.169167,32.372149],[102.169231,32.372176],[102.169236,32.372212],[102.169223,32.372225],[102.16898,32.372278],[102.168864,32.372323],[102.168815,32.372373],[102.168781,32.372437],[102.16876,32.372475],[102.168743,32.372533],[102.168746,32.372591],[102.168759,32.372618],[102.168799,32.372651],[102.16885,32.372657],[102.168924,32.37263],[102.168971,32.372595],[102.169001,32.372555],[102.169023,32.372497],[102.169044,32.372487],[102.169065,32.372477],[102.169111,32.37248],[102.169107,32.372562],[102.169106,32.372597],[102.169122,32.372671],[102.169134,32.372691],[102.169156,32.37271],[102.169163,32.372715],[102.169308,32.372778],[102.169316,32.372826],[102.1693,32.372875],[102.16928,32.372897],[102.168963,32.373085],[102.168886,32.373145],[102.16888,32.373168],[102.168894,32.37321],[102.168973,32.373364],[102.16897,32.373441],[102.168953,32.373479],[102.168927,32.373507],[102.168914,32.373512],[102.168792,32.373495],[102.168688,32.373499],[102.16814,32.373634],[102.168012,32.373713],[102.167943,32.373783],[102.167914,32.373867],[102.167914,32.373875],[102.167903,32.373986],[102.167917,32.374041],[102.167963,32.374101],[102.168037,32.374152],[102.168154,32.374188],[102.168218,32.374189],[102.168245,32.374181],[102.168253,32.374179],[102.168365,32.37413],[102.168456,32.37408],[102.168496,32.374076],[102.168525,32.374086],[102.168551,32.374145],[102.168555,32.374178],[102.168546,32.374193],[102.168516,32.374192],[102.168461,32.374166],[102.168432,32.374166],[102.168397,32.374181],[102.16838,32.374212],[102.16839,32.374252],[102.168458,32.374334],[102.168512,32.374461],[102.168539,32.374492],[102.168618,32.374552],[102.168663,32.374557],[102.168764,32.374531],[102.168783,32.374539],[102.168816,32.374569],[102.168821,32.374578],[102.168835,32.374604],[102.168832,32.374631],[102.168822,32.374641],[102.168812,32.374645],[102.168705,32.374678],[102.168654,32.374709],[102.168641,32.374718],[102.168621,32.37474],[102.168604,32.374778],[102.168615,32.374837],[102.168637,32.374857],[102.168681,32.374878],[102.168761,32.374876],[102.16881,32.374919],[102.168843,32.37493],[102.168884,32.374919],[102.168897,32.374911],[102.168904,32.374906],[102.168935,32.37485],[102.16895,32.374837],[102.168987,32.374825],[102.169009,32.374825],[102.169026,32.374964],[102.169014,32.374997],[102.168992,32.375016],[102.168965,32.375025],[102.168949,32.37503],[102.168914,32.375041],[102.168885,32.375061],[102.168866,32.375089],[102.168829,32.37521],[102.168753,32.375359],[102.168711,32.375392],[102.168673,32.375396],[102.168653,32.375412],[102.168653,32.375429],[102.168668,32.37546],[102.168723,32.375521],[102.168803,32.375581],[102.168846,32.375582],[102.16886,32.37557],[102.168879,32.375524],[102.16887,32.375496],[102.168844,32.375478],[102.168844,32.375471],[102.168871,32.375464],[102.168961,32.375463],[102.168996,32.375454],[102.169025,32.375441],[102.169059,32.37541],[102.169071,32.37531],[102.169075,32.375271],[102.169104,32.375203],[102.169121,32.375165],[102.169196,32.37518],[102.169205,32.375182],[102.169256,32.375182],[102.169297,32.375159],[102.169344,32.375096],[102.169419,32.375068],[102.169455,32.375089],[102.169482,32.375151],[102.169486,32.375188],[102.169355,32.375259],[102.169341,32.375289],[102.169348,32.375319],[102.169391,32.375347],[102.169452,32.375366],[102.169513,32.375344],[102.169565,32.375289],[102.169585,32.375302],[102.169599,32.375325],[102.169606,32.375396],[102.169599,32.375427],[102.169524,32.375495],[102.169497,32.375535],[102.169493,32.375565],[102.169506,32.375598],[102.169511,32.375609],[102.169584,32.375661],[102.16963,32.375669],[102.169652,32.375662],[102.169717,32.375606],[102.169758,32.375595],[102.1698,32.375635],[102.169854,32.375672],[102.169956,32.375702],[102.169955,32.375757],[102.169921,32.375785],[102.169772,32.375806],[102.169625,32.375792],[102.169565,32.375793],[102.169532,32.375813],[102.169503,32.375863],[102.169497,32.375895],[102.169503,32.375921],[102.169542,32.37595],[102.169586,32.375959],[102.169675,32.375951],[102.169721,32.375955],[102.169733,32.37598],[102.169731,32.375996],[102.169667,32.376042],[102.169655,32.376069],[102.169658,32.376089],[102.169696,32.37613],[102.169724,32.376146],[102.169828,32.376162],[102.169846,32.376197],[102.16972,32.376269],[102.169689,32.376298],[102.16968,32.376327],[102.169707,32.376378],[102.169706,32.376394],[102.169698,32.376419],[102.169674,32.376454],[102.169641,32.376463],[102.169608,32.37645],[102.169547,32.376445],[102.1695,32.376463],[102.169481,32.376482],[102.169469,32.376521],[102.169481,32.376592],[102.169411,32.376683],[102.169417,32.376701],[102.169433,32.376716],[102.169478,32.376734],[102.169564,32.37674],[102.169601,32.376733],[102.169628,32.376779],[102.169645,32.376827],[102.169643,32.376861],[102.16963,32.376884],[102.169552,32.376952],[102.169533,32.37699],[102.169542,32.377018],[102.169588,32.377048],[102.169595,32.377064],[102.169582,32.377135],[102.169584,32.377234],[102.169554,32.377361],[102.169517,32.377365],[102.169487,32.377396],[102.169476,32.377519],[102.169432,32.377562],[102.169398,32.377567],[102.169384,32.377547],[102.169367,32.377481],[102.169344,32.377461],[102.169309,32.37745],[102.16929,32.377458],[102.169256,32.377492],[102.169204,32.377521],[102.169122,32.37754],[102.169104,32.377517],[102.169078,32.377458],[102.169062,32.377442],[102.169022,32.377418],[102.169013,32.377412],[102.168961,32.377401],[102.168897,32.377405],[102.168878,32.377413],[102.16884,32.377462],[102.168839,32.377493],[102.168867,32.377543],[102.169062,32.377678],[102.169121,32.377747],[102.169133,32.377781],[102.169139,32.3778],[102.169125,32.377829],[102.169089,32.377852],[102.169081,32.377878],[102.169085,32.377896],[102.169267,32.378134],[102.169366,32.378216],[102.169406,32.378264],[102.169415,32.378299],[102.169397,32.378371],[102.169417,32.378418],[102.169569,32.37854],[102.169701,32.378599],[102.16983,32.378681],[102.169923,32.378717],[102.170006,32.378733],[102.17003,32.378737],[102.170037,32.378771],[102.170043,32.378964],[102.170032,32.378983],[102.170025,32.378995],[102.169959,32.379055],[102.169948,32.379087],[102.169968,32.37916],[102.170007,32.379205],[102.170021,32.379268],[102.17007,32.379335],[102.170131,32.379421],[102.170135,32.379444],[102.170108,32.379481],[102.170086,32.379494],[102.170063,32.379508],[102.169967,32.37946],[102.169936,32.379464],[102.169896,32.379486],[102.169876,32.37952],[102.169877,32.379541],[102.169927,32.379628],[102.169959,32.37974],[102.16996,32.379769],[102.169943,32.37978],[102.169856,32.37974],[102.169819,32.379736],[102.169803,32.379745],[102.16978,32.379776],[102.169766,32.379849],[102.16978,32.379947],[102.169812,32.379992],[102.169842,32.380008],[102.169867,32.380011],[102.169991,32.379968],[102.170022,32.37997],[102.170048,32.379984],[102.170071,32.38001],[102.170084,32.380069],[102.170052,32.380128],[102.170017,32.380158],[102.16995,32.380176],[102.16985,32.380187],[102.169811,32.380203],[102.169658,32.380312],[102.169519,32.380374],[102.169498,32.380404],[102.169495,32.38043],[102.169541,32.380485],[102.169573,32.380514],[102.169801,32.38073],[102.169856,32.380804],[102.1699,32.380833],[102.169953,32.380838],[102.170001,32.380819],[102.170031,32.38079],[102.170051,32.380736],[102.170129,32.380682],[102.17019,32.380664],[102.170201,32.380664],[102.170213,32.380664],[102.170228,32.380672],[102.170243,32.380706],[102.170237,32.380746],[102.170226,32.380755],[102.170162,32.380814],[102.170111,32.380859],[102.17008,32.380928],[102.170083,32.380965],[102.170116,32.380999],[102.170136,32.381006],[102.170184,32.381022],[102.170252,32.381034],[102.1703,32.381028],[102.170313,32.381027],[102.170402,32.380993],[102.170411,32.381012],[102.17041,32.381035],[102.17038,32.38109],[102.170324,32.381115],[102.170283,32.381133],[102.170248,32.381168],[102.170223,32.381212],[102.17021,32.381261],[102.170209,32.381299],[102.170219,32.38134],[102.170238,32.381368],[102.170233,32.381406],[102.170226,32.381416],[102.170198,32.381417],[102.170163,32.381436],[102.170155,32.381529],[102.170123,32.381548],[102.170115,32.381563],[102.170151,32.381649],[102.170137,32.381729],[102.17011,32.38176],[102.170082,32.381776],[102.169969,32.381775],[102.169916,32.381785],[102.16989,32.381807],[102.16989,32.381849],[102.169986,32.382001],[102.170029,32.382121],[102.170053,32.382187],[102.170089,32.382224],[102.170129,32.382233],[102.170168,32.38223],[102.170189,32.382245],[102.170224,32.382298],[102.170233,32.382311],[102.170276,32.382424],[102.1703,32.382457],[102.170357,32.3825],[102.170403,32.382554],[102.17044,32.38257],[102.170486,32.382573],[102.170517,32.382564],[102.170571,32.382549],[102.170605,32.38254],[102.170627,32.382546],[102.170709,32.382594],[102.17077,32.382669],[102.170786,32.38271],[102.170783,32.382744],[102.170679,32.383003],[102.170641,32.383081],[102.170601,32.383166],[102.17053,32.38324],[102.170387,32.383301],[102.170305,32.383353],[102.170276,32.383384],[102.170266,32.383394],[102.170254,32.383431],[102.170263,32.383499],[102.1703,32.383573],[102.170312,32.383597],[102.170391,32.383721],[102.170437,32.383764],[102.170477,32.38378],[102.17054,32.383806],[102.170566,32.383838],[102.17057,32.383861],[102.170542,32.383997],[102.170512,32.384046],[102.170453,32.38408],[102.170379,32.384108],[102.170241,32.384142],[102.170167,32.384179],[102.170114,32.384232],[102.170094,32.384291],[102.170101,32.38434],[102.170112,32.38436],[102.170138,32.384382],[102.170284,32.384454],[102.170451,32.384503],[102.170476,32.384524],[102.170517,32.384628],[102.170615,32.384752],[102.170646,32.384821],[102.170657,32.384891],[102.170657,32.385033],[102.170606,32.385091],[102.170576,32.385106],[102.170544,32.385112],[102.170513,32.385111],[102.170474,32.385098],[102.170445,32.385062],[102.170419,32.385047],[102.170356,32.385045],[102.170285,32.385077],[102.170207,32.385147],[102.170178,32.385199],[102.170183,32.385245],[102.17031,32.385366],[102.170333,32.385419],[102.170304,32.385444],[102.170203,32.3855],[102.170209,32.385536],[102.170167,32.385569],[102.170108,32.385784],[102.170015,32.385858],[102.169944,32.385946],[102.169867,32.386081],[102.169857,32.386111],[102.16983,32.386195],[102.169838,32.386258],[102.169856,32.386286],[102.169927,32.38633],[102.169938,32.386337],[102.170088,32.386394],[102.170126,32.386438],[102.170136,32.386465],[102.170127,32.386511],[102.170082,32.386548],[102.170049,32.386559],[102.169927,32.386579],[102.169882,32.386604],[102.169861,32.386637],[102.169867,32.386677],[102.169897,32.386712],[102.169933,32.386753],[102.169999,32.386921],[102.170029,32.386963],[102.170057,32.386982],[102.170072,32.386993],[102.170143,32.387018],[102.170225,32.387013],[102.17026,32.387022],[102.17029,32.387052],[102.170294,32.387056],[102.170298,32.387088],[102.170272,32.387137],[102.170167,32.387193],[102.170015,32.387232],[102.169989,32.387242],[102.169979,32.387248],[102.169878,32.387286],[102.169648,32.387353],[102.169345,32.387398],[102.169289,32.387423],[102.169242,32.387471],[102.169239,32.387476],[102.169195,32.38756],[102.169185,32.38761],[102.169194,32.387663],[102.169162,32.38768],[102.169185,32.387711],[102.169219,32.387728],[102.169262,32.387734],[102.169325,32.387735],[102.169376,32.387748],[102.169411,32.387776],[102.169418,32.387779],[102.169447,32.387798],[102.169489,32.38785],[102.169543,32.387957],[102.169538,32.387984],[102.169525,32.387997],[102.169491,32.388002],[102.169446,32.387997],[102.16944,32.387997],[102.169433,32.387997],[102.169427,32.387998],[102.169422,32.388],[102.169389,32.388012],[102.169383,32.388014],[102.169378,32.388018],[102.169373,32.388022],[102.169369,32.388026],[102.169322,32.388089],[102.169323,32.388123],[102.169358,32.38817],[102.169454,32.38823],[102.169541,32.388284],[102.169601,32.388324],[102.16964,32.38834],[102.169652,32.388339],[102.169688,32.388329],[102.169707,32.388312],[102.169784,32.388289],[102.169816,32.38829],[102.169845,32.388303],[102.169912,32.388356],[102.169955,32.388416],[102.169967,32.388471],[102.169996,32.388564],[102.170087,32.388637],[102.170104,32.38866],[102.17012,32.388663],[102.170133,32.388674],[102.170597,32.389047],[102.170616,32.389186],[102.170643,32.38922],[102.170649,32.389249],[102.170641,32.389284],[102.170631,32.389302],[102.1707,32.389803],[102.170688,32.390169],[102.170687,32.390204],[102.170679,32.390479],[102.170661,32.390492],[102.170641,32.390528],[102.170655,32.390583],[102.170666,32.3906],[102.170642,32.390776],[102.170637,32.390813],[102.170614,32.390974],[102.170609,32.391013],[102.170568,32.391306],[102.170806,32.391705],[102.170823,32.391733],[102.170849,32.391778],[102.17169,32.391941],[102.172497,32.391815],[102.172758,32.391853],[102.17277,32.391855],[102.172826,32.391863],[102.172956,32.391882],[102.173086,32.3919],[102.173102,32.392034],[102.173109,32.392091],[102.173113,32.392123],[102.17316,32.392508],[102.173166,32.392559],[102.173187,32.392727],[102.1732,32.392827],[102.173205,32.392866],[102.173208,32.39289],[102.173214,32.392941],[102.173289,32.393519],[102.173699,32.394124],[102.173727,32.394165],[102.173734,32.394174],[102.173814,32.394176],[102.173881,32.394177],[102.174325,32.394187],[102.174762,32.393731],[102.174763,32.393681],[102.174765,32.393624],[102.174767,32.393573],[102.174777,32.393229],[102.175201,32.393203],[102.175611,32.393369],[102.175632,32.393375],[102.175651,32.393383],[102.175933,32.393496],[102.176002,32.393524],[102.176065,32.393549],[102.176244,32.393621],[102.176434,32.393693],[102.176551,32.393737],[102.176618,32.393763],[102.176719,32.393801],[102.176767,32.393819],[102.176874,32.39386],[102.1769,32.39387],[102.177247,32.394002],[102.178007,32.394204],[102.178067,32.394221],[102.178127,32.394237],[102.178118,32.394259],[102.178099,32.394304],[102.177899,32.394769],[102.177087,32.395528],[102.176606,32.396474],[102.17674,32.397624],[102.176743,32.397648],[102.176769,32.397807],[102.176776,32.397853],[102.176786,32.397915],[102.177022,32.3994],[102.177688,32.401566],[102.177736,32.403623],[102.177831,32.407833],[102.177899,32.409269],[102.178143,32.41047],[102.178906,32.411703],[102.180106,32.412881],[102.180948,32.414017],[102.181391,32.415177],[102.182047,32.415903],[102.182793,32.416292],[102.183051,32.416975],[102.183905,32.417738],[102.184315,32.418695],[102.184373,32.419374],[102.184198,32.419877],[102.183544,32.420371],[102.182488,32.420956],[102.181511,32.421577],[102.180403,32.422568],[102.180289,32.422689],[102.179495,32.423529],[102.178769,32.42507],[102.178134,32.426207],[102.17782,32.427317],[102.177956,32.428098],[102.177654,32.428802],[102.177884,32.430398],[102.178558,32.431835],[102.17904,32.432997],[102.179353,32.434493],[102.179334,32.435102],[102.179828,32.435892],[102.180074,32.43698],[102.179974,32.437621],[102.179582,32.438662],[102.178953,32.439629],[102.178165,32.440593],[102.176729,32.4431],[102.176494,32.444245],[102.176604,32.445839],[102.176963,32.447133],[102.177262,32.449069],[102.177301,32.450356],[102.17725,32.450899],[102.177122,32.452248],[102.177051,32.453262],[102.177609,32.45456],[102.178293,32.455659],[102.179957,32.457355],[102.180516,32.458653],[102.181184,32.460259],[102.182061,32.461599],[102.182871,32.462497],[102.184357,32.463512],[102.185543,32.463877],[102.186502,32.463865],[102.187653,32.46406],[102.188354,32.464651],[102.189001,32.465647],[102.189325,32.466805],[102.189451,32.467891],[102.189841,32.468837],[102.189859,32.468882],[102.189859,32.468887],[102.189853,32.470371],[102.189847,32.470541],[102.189845,32.470611],[102.189816,32.471555],[102.190121,32.472689],[102.190209,32.473019],[102.190869,32.473643],[102.191625,32.475014],[102.191566,32.475622],[102.191362,32.477039],[102.191084,32.478285],[102.190829,32.48004],[102.190431,32.482569],[102.190356,32.483147],[102.190347,32.483219],[102.190247,32.483987],[102.190245,32.484007],[102.190116,32.484999],[102.190196,32.48754],[102.190146,32.489163],[102.190308,32.49166],[102.190407,32.493101],[102.190422,32.493317],[102.190289,32.493264],[102.190041,32.493187],[102.189735,32.49318],[102.18965,32.493201],[102.189537,32.49327],[102.189418,32.493503],[102.189328,32.493713],[102.189211,32.493923],[102.189121,32.494108],[102.188996,32.494439],[102.18897,32.494508],[102.18882,32.494909],[102.18867,32.495309],[102.188546,32.495638],[102.188422,32.495968],[102.188242,32.496378],[102.188062,32.496789],[102.187883,32.4972],[102.187703,32.49761],[102.187523,32.498021],[102.187445,32.498283],[102.187368,32.498545],[102.18729,32.498807],[102.187213,32.499069],[102.187135,32.499331],[102.187058,32.499593],[102.18698,32.499855],[102.186903,32.500116],[102.186895,32.500143],[102.186803,32.500435],[102.18671,32.500727],[102.186614,32.501126],[102.186482,32.501323],[102.186351,32.501519],[102.186282,32.501581],[102.186155,32.501696],[102.18596,32.501872],[102.185764,32.502048],[102.185568,32.502224],[102.185373,32.5024],[102.185177,32.502576],[102.184977,32.502736],[102.184777,32.502897],[102.184577,32.503057],[102.184378,32.503218],[102.184178,32.503378],[102.184055,32.503476],[102.183978,32.503538],[102.183769,32.503671],[102.183561,32.503804],[102.183353,32.503936],[102.183144,32.504069],[102.182936,32.504202],[102.182728,32.504334],[102.182566,32.504537],[102.182403,32.504739],[102.182241,32.504941],[102.182079,32.505143],[102.181916,32.505345],[102.181754,32.505547],[102.181592,32.505749],[102.181429,32.505951],[102.181267,32.506153],[102.181105,32.506355],[102.180942,32.506557],[102.18078,32.506759],[102.180611,32.506935],[102.180442,32.507111],[102.180273,32.507287],[102.180104,32.507462],[102.179935,32.507638],[102.179766,32.507814],[102.179597,32.50799],[102.179428,32.508165],[102.179254,32.50831],[102.179079,32.508454],[102.178905,32.508599],[102.178731,32.508743],[102.178556,32.508887],[102.178382,32.509032],[102.178208,32.509176],[102.178033,32.509321],[102.177859,32.509465],[102.177685,32.50961],[102.177468,32.509723],[102.177251,32.509835],[102.177035,32.509948],[102.176818,32.510061],[102.176601,32.510174],[102.176384,32.510287],[102.176147,32.510417],[102.17591,32.510547],[102.175673,32.510677],[102.175436,32.510807],[102.175198,32.510937],[102.174961,32.511067],[102.174724,32.511197],[102.174487,32.511327],[102.174155,32.511563],[102.173822,32.511799],[102.17349,32.512035],[102.173305,32.512184],[102.173119,32.512332],[102.172934,32.512481],[102.172748,32.512629],[102.172694,32.512692],[102.17258,32.512823],[102.172412,32.513017],[102.172244,32.513211],[102.172076,32.513404],[102.171907,32.513598],[102.171739,32.513792],[102.171571,32.513986],[102.171403,32.514179],[102.171235,32.514373],[102.171066,32.514567],[102.170878,32.514742],[102.17069,32.514918],[102.170501,32.515094],[102.170313,32.515269],[102.170124,32.515445],[102.169936,32.515621],[102.169748,32.515796],[102.169559,32.515972],[102.169371,32.516148],[102.169182,32.516323],[102.168994,32.516499],[102.168805,32.516675],[102.168617,32.51685],[102.168429,32.517026],[102.168222,32.517192],[102.168015,32.517358],[102.167808,32.517525],[102.167601,32.517691],[102.167394,32.517857],[102.167187,32.518023],[102.166981,32.518189],[102.166774,32.518356],[102.166567,32.518522],[102.16636,32.518688],[102.166153,32.518854],[102.165946,32.51902],[102.16574,32.519187],[102.165533,32.519353],[102.165351,32.519507],[102.165169,32.519661],[102.164987,32.519815],[102.164806,32.519969],[102.164624,32.520123],[102.164442,32.520277],[102.16426,32.520431],[102.164078,32.520585],[102.163897,32.520739],[102.163715,32.520894],[102.163533,32.521048],[102.163351,32.521202],[102.16317,32.521356],[102.163048,32.521459],[102.162988,32.52151],[102.16279,32.521653],[102.162593,32.521797],[102.162395,32.52194],[102.162198,32.522084],[102.162,32.522227],[102.161803,32.522371],[102.161605,32.522514],[102.161408,32.522658],[102.16121,32.522801],[102.161013,32.522945],[102.160816,32.523088],[102.160618,32.523232],[102.160421,32.523375],[102.160223,32.523519],[102.160165,32.523555],[102.160001,32.523658],[102.159779,32.523798],[102.159557,32.523938],[102.159336,32.524077],[102.159114,32.524217],[102.158892,32.524356],[102.15867,32.524496],[102.158448,32.524635],[102.158226,32.524775],[102.158004,32.524914],[102.157782,32.525054],[102.15756,32.525193],[102.157338,32.525333],[102.1572,32.52542],[102.157117,32.525473],[102.157002,32.525578],[102.156787,32.525777],[102.156457,32.526082],[102.156128,32.526386],[102.155798,32.526691],[102.155603,32.526858],[102.155409,32.527026],[102.155214,32.527193],[102.155019,32.52736],[102.154825,32.527528],[102.15463,32.527695],[102.154436,32.527863],[102.154241,32.52803],[102.154046,32.528198],[102.153852,32.528365],[102.153549,32.528688],[102.153246,32.529011],[102.153017,32.52923],[102.152787,32.529448],[102.152614,32.529667],[102.15244,32.529887],[102.15235,32.530097],[102.15226,32.530307],[102.152196,32.530576],[102.152132,32.530845],[102.15211,32.53108],[102.152089,32.531315],[102.152024,32.531573],[102.151893,32.53177],[102.151762,32.531968],[102.151691,32.53207],[102.151631,32.532157],[102.1515,32.532346],[102.151368,32.532535],[102.151237,32.532724],[102.151106,32.532913],[102.150975,32.533102],[102.150843,32.533291],[102.150712,32.53348],[102.150581,32.533669],[102.15045,32.533858],[102.150287,32.534054],[102.150123,32.534249],[102.14996,32.534444],[102.149797,32.53464],[102.149634,32.534835],[102.14947,32.53503],[102.149307,32.535226],[102.149144,32.535421],[102.149072,32.535662],[102.148999,32.535904],[102.148927,32.536146],[102.148854,32.536387],[102.148782,32.536629],[102.148709,32.536871],[102.148555,32.537267],[102.148463,32.537572],[102.148421,32.537994],[102.148427,32.538265],[102.148433,32.538536],[102.148516,32.538767],[102.148599,32.538998],[102.148682,32.53923],[102.148766,32.539461],[102.148849,32.539693],[102.148932,32.539924],[102.149015,32.540156],[102.149098,32.540387],[102.149217,32.540613],[102.149335,32.540838],[102.149395,32.541123],[102.149455,32.541407],[102.149462,32.541785],[102.149465,32.541969],[102.149408,32.54223],[102.149351,32.54249],[102.149294,32.542751],[102.149237,32.543011],[102.14918,32.543272],[102.149123,32.543533],[102.149065,32.543793],[102.149008,32.544054],[102.148965,32.544288],[102.148921,32.544523],[102.148878,32.544757],[102.148834,32.544992],[102.148791,32.545226],[102.148747,32.545461],[102.148703,32.545695],[102.14866,32.54593],[102.148616,32.546164],[102.148573,32.546399],[102.148563,32.546676],[102.148554,32.546954],[102.148544,32.547232],[102.148535,32.547509],[102.148525,32.547787],[102.148516,32.548064],[102.148485,32.548456],[102.148485,32.548457],[102.148485,32.548457],[102.148454,32.548848],[102.148423,32.54924],[102.148388,32.549451],[102.148277,32.549748],[102.148266,32.549777],[102.148095,32.549926],[102.147923,32.550075],[102.14758,32.55035],[102.147237,32.550625],[102.147037,32.550797],[102.146879,32.550933],[102.146836,32.550969],[102.146715,32.55107],[102.146657,32.551118],[102.146479,32.551267],[102.1463,32.551416],[102.146121,32.551565],[102.146048,32.551652],[102.14587,32.551866],[102.145619,32.552166],[102.145368,32.552466],[102.145221,32.55268],[102.145113,32.552837],[102.145074,32.552894],[102.144927,32.553107],[102.14478,32.553321],[102.144633,32.553535],[102.144486,32.553749],[102.144339,32.553963],[102.144192,32.554176],[102.144142,32.554246],[102.144052,32.554371],[102.143912,32.554565],[102.143772,32.55476],[102.143633,32.554955],[102.143493,32.555149],[102.143353,32.555344],[102.143214,32.555538],[102.143074,32.555733],[102.142934,32.555928],[102.142798,32.556117],[102.142795,32.556122],[102.142746,32.556158],[102.142595,32.556271],[102.142395,32.556419],[102.142204,32.556558],[102.14209,32.556641],[102.142081,32.556648],[102.141954,32.556715],[102.141742,32.556828],[102.141582,32.556863],[102.141348,32.556914],[102.140972,32.556929],[102.140596,32.556943],[102.140177,32.556981],[102.139758,32.557019],[102.139507,32.557014],[102.139257,32.557008],[102.138978,32.557025],[102.138699,32.557042],[102.13842,32.557047],[102.138142,32.557053],[102.137905,32.557083],[102.137667,32.557113],[102.1374,32.557189],[102.137133,32.557266],[102.136737,32.557445],[102.136506,32.557699],[102.136304,32.557929],[102.136102,32.558159],[102.135934,32.558364],[102.135765,32.558568],[102.135596,32.558773],[102.135428,32.558977],[102.135259,32.559182],[102.13509,32.559386],[102.134921,32.55959],[102.134753,32.559795],[102.134585,32.559948],[102.134418,32.560101],[102.134251,32.560254],[102.134083,32.560407],[102.133916,32.56056],[102.133749,32.560713],[102.133438,32.560859],[102.133126,32.561005],[102.132816,32.56114],[102.132506,32.561274],[102.132224,32.561385],[102.131942,32.561496],[102.131606,32.561559],[102.13127,32.561622],[102.131011,32.561669],[102.130752,32.561716],[102.130493,32.561763],[102.130233,32.56181],[102.129813,32.561895],[102.129553,32.561966],[102.129293,32.562036],[102.129034,32.562107],[102.128774,32.562177],[102.128521,32.562254],[102.128268,32.56233],[102.128014,32.562407],[102.127929,32.562433],[102.127761,32.562484],[102.127508,32.56256],[102.127255,32.562637],[102.127002,32.562713],[102.126749,32.56279],[102.126524,32.562855],[102.126299,32.562921],[102.126172,32.562948],[102.125795,32.563027],[102.125542,32.563022],[102.125197,32.562955],[102.124851,32.562888],[102.124607,32.562718],[102.124335,32.562499],[102.12416,32.562331],[102.123984,32.562162],[102.123856,32.561962],[102.123728,32.561761],[102.1236,32.56156],[102.123472,32.561359],[102.123268,32.561225],[102.123064,32.56109],[102.122761,32.560966],[102.122457,32.560889],[102.122384,32.56087],[102.122153,32.560812],[102.121919,32.560747],[102.121685,32.560682],[102.12145,32.560642],[102.121215,32.560601],[102.120937,32.560559],[102.12066,32.560517],[102.120405,32.560492],[102.120151,32.560467],[102.119896,32.560441],[102.119642,32.560416],[102.119387,32.560391],[102.119133,32.560365],[102.118701,32.560367],[102.118348,32.560368],[102.118269,32.560368],[102.117906,32.560395],[102.117543,32.560422],[102.11718,32.560449],[102.116817,32.560476],[102.116466,32.560563],[102.116116,32.56065],[102.115863,32.560761],[102.115611,32.560872],[102.115359,32.560983],[102.115107,32.561095],[102.114855,32.561206],[102.114603,32.561317],[102.114353,32.561423],[102.114102,32.561529],[102.113852,32.561636],[102.113601,32.561742],[102.113351,32.561848],[102.1131,32.561954],[102.11285,32.56206],[102.112599,32.562166],[102.112396,32.562265],[102.112192,32.562364],[102.111988,32.562463],[102.111785,32.562562],[102.111581,32.562661],[102.111377,32.562759],[102.111173,32.562858],[102.11097,32.562957],[102.110766,32.563056],[102.110562,32.563155],[102.110374,32.56328],[102.110186,32.563405],[102.109997,32.563531],[102.109809,32.563656],[102.109631,32.563774],[102.10962,32.563781],[102.109533,32.563839],[102.109432,32.563906],[102.109243,32.564031],[102.109055,32.564157],[102.108827,32.564304],[102.1086,32.564452],[102.108372,32.5646],[102.108144,32.564748],[102.108007,32.564837],[102.107991,32.564847],[102.107917,32.564895],[102.107839,32.564946],[102.107689,32.565043],[102.107462,32.565191],[102.107234,32.565338],[102.106839,32.565494],[102.106443,32.565649],[102.106119,32.565795],[102.105794,32.565941],[102.105532,32.566004],[102.10527,32.566066],[102.105008,32.566129],[102.104747,32.566191],[102.104485,32.566254],[102.104223,32.566317],[102.103961,32.566379],[102.103699,32.566442],[102.103467,32.566501],[102.103236,32.56656],[102.103004,32.56662],[102.102772,32.566679],[102.102541,32.566738],[102.102309,32.566798],[102.102077,32.566857],[102.101846,32.566917],[102.101602,32.566997],[102.101358,32.567078],[102.101114,32.567159],[102.10087,32.56724],[102.100626,32.56732],[102.100382,32.567401],[102.100072,32.567524],[102.099762,32.567646],[102.099515,32.567746],[102.099268,32.567846],[102.099021,32.567946],[102.098774,32.568046],[102.098406,32.568214],[102.098039,32.568382],[102.097773,32.568447],[102.097506,32.568512],[102.097213,32.568552],[102.096919,32.568592],[102.096655,32.568575],[102.096391,32.568557],[102.095947,32.568499],[102.095726,32.568435],[102.095505,32.568372],[102.095286,32.568272],[102.095067,32.568173],[102.094833,32.568038],[102.0946,32.567903],[102.094219,32.567683],[102.093986,32.567548],[102.093754,32.567413],[102.093521,32.567278],[102.093289,32.567143],[102.09311,32.567039],[102.093056,32.567008],[102.092851,32.566889],[102.092824,32.566873],[102.092629,32.566816],[102.092492,32.566775],[102.092419,32.566754],[102.092015,32.566634],[102.091611,32.566515],[102.091223,32.566436],[102.090835,32.566357],[102.090552,32.566334],[102.090419,32.566324],[102.090002,32.566291],[102.089683,32.566271],[102.089363,32.566251],[102.089319,32.56625],[102.089057,32.566244],[102.088751,32.566238],[102.088514,32.566256],[102.088276,32.566274],[102.088039,32.566292],[102.087801,32.56631],[102.08752,32.566397],[102.087239,32.566485],[102.086985,32.566597],[102.086591,32.566729],[102.086284,32.566722],[102.086012,32.566726],[102.085739,32.566731],[102.085409,32.566607],[102.08516,32.566543],[102.084911,32.566478],[102.08465,32.566378],[102.084388,32.566277],[102.084074,32.566117],[102.083759,32.565957],[102.083542,32.565864],[102.083326,32.56577],[102.08311,32.565677],[102.082894,32.565583],[102.082677,32.56549],[102.082618,32.565464],[102.082461,32.565397],[102.082353,32.56535],[102.082245,32.565303],[102.082179,32.565275],[102.082029,32.56521],[102.081819,32.565149],[102.081767,32.565133],[102.081505,32.565057],[102.081254,32.565039],[102.081004,32.565022],[102.080863,32.565018],[102.080804,32.565016],[102.080753,32.565015],[102.080643,32.565012],[102.080614,32.565011],[102.080302,32.565098],[102.080279,32.565105],[102.080222,32.565121],[102.080139,32.56517],[102.0801,32.565193],[102.07988,32.565325],[102.079666,32.565465],[102.079453,32.565606],[102.07924,32.565747],[102.079026,32.565888],[102.078813,32.566028],[102.0786,32.566169],[102.078386,32.56631],[102.078173,32.56645],[102.077959,32.566591],[102.077746,32.566732],[102.077533,32.566872],[102.077319,32.567013],[102.077106,32.567154],[102.076892,32.567294],[102.076679,32.567435],[102.076466,32.567576],[102.076257,32.567746],[102.076049,32.567916],[102.075841,32.568085],[102.075632,32.568255],[102.075404,32.568463],[102.075342,32.568626],[102.075338,32.568735],[102.075337,32.568767],[102.075385,32.569004],[102.075502,32.569278],[102.075619,32.569551],[102.075723,32.569751],[102.075828,32.56995],[102.075933,32.57015],[102.076038,32.570349],[102.076143,32.570549],[102.076247,32.570749],[102.076352,32.570948],[102.076457,32.571148],[102.076595,32.571339],[102.076732,32.571531],[102.07687,32.571722],[102.077008,32.571914],[102.077146,32.572105],[102.077283,32.572297],[102.077582,32.572563],[102.07788,32.572782],[102.078183,32.57293],[102.078457,32.573054],[102.078732,32.573131],[102.079007,32.573255],[102.079256,32.573355],[102.079501,32.573502],[102.07973,32.573628],[102.07996,32.573754],[102.080189,32.573879],[102.080419,32.574005],[102.080649,32.574131],[102.080878,32.574257],[102.081111,32.574396],[102.081343,32.574534],[102.081575,32.574673],[102.081807,32.574812],[102.08204,32.57495],[102.082272,32.575089],[102.082515,32.575307],[102.082676,32.575476],[102.082754,32.575689],[102.082801,32.575926],[102.082797,32.576066],[102.082796,32.576124],[102.082794,32.576208],[102.082754,32.576536],[102.082628,32.576958],[102.082601,32.577016],[102.082595,32.57703],[102.082591,32.577038],[102.082587,32.577047],[102.082586,32.577048],[102.082574,32.577074],[102.082524,32.577179],[102.082508,32.577214],[102.082466,32.577302],[102.082424,32.577391],[102.08242,32.5774],[102.082239,32.577796],[102.082061,32.578169],[102.082006,32.578586],[102.081979,32.578799],[102.081952,32.579004],[102.081922,32.579271],[102.081893,32.579538],[102.081878,32.579673],[102.081863,32.579805],[102.081834,32.580073],[102.081804,32.58034],[102.081774,32.580607],[102.081745,32.580874],[102.081715,32.581141],[102.081734,32.581448],[102.081835,32.581756],[102.081991,32.582066],[102.082204,32.582385],[102.082417,32.582704],[102.08263,32.583023],[102.08284,32.583405],[102.082862,32.583454],[102.082965,32.583677],[102.082971,32.58369],[102.083016,32.583974],[102.083007,32.584244],[102.082999,32.584515],[102.082876,32.584841],[102.08277,32.585145],[102.082663,32.585448],[102.082445,32.585795],[102.082228,32.586141],[102.082049,32.586426],[102.082011,32.586487],[102.081738,32.586741],[102.081465,32.586994],[102.081121,32.587267],[102.080893,32.587427],[102.080665,32.587587],[102.08027,32.587742],[102.079962,32.587829],[102.079653,32.587916],[102.079357,32.588027],[102.079061,32.588138],[102.078789,32.588332],[102.078518,32.588526],[102.078287,32.588768],[102.078056,32.589009],[102.077931,32.589204],[102.077807,32.589399],[102.077682,32.589593],[102.077557,32.589788],[102.077385,32.589974],[102.07724,32.590134],[102.077089,32.590484],[102.077134,32.590814],[102.077199,32.591049],[102.077264,32.591284],[102.077329,32.591518],[102.077394,32.591753],[102.077459,32.591987],[102.077524,32.592222],[102.077589,32.592457],[102.077654,32.592691],[102.077719,32.592926],[102.077784,32.59316],[102.077829,32.593468],[102.077805,32.593773],[102.07778,32.594078],[102.077731,32.594313],[102.077682,32.594547],[102.077576,32.594938],[102.077471,32.595328],[102.077365,32.595718],[102.077266,32.595974],[102.077167,32.59623],[102.077167,32.596231],[102.077068,32.596487],[102.076969,32.596744],[102.076908,32.597007],[102.076846,32.597271],[102.076785,32.597534],[102.076724,32.597798],[102.076663,32.598062],[102.076601,32.598325],[102.07654,32.598589],[102.076479,32.598853],[102.076418,32.599116],[102.076356,32.59938],[102.07629,32.59972],[102.076224,32.60006],[102.076045,32.600384],[102.07587,32.600664],[102.075592,32.600937],[102.075315,32.60121],[102.075219,32.601304],[102.075119,32.601402],[102.074922,32.601594],[102.074726,32.601785],[102.074529,32.601977],[102.074333,32.602169],[102.074137,32.60236],[102.074053,32.602461],[102.073967,32.602564],[102.073798,32.602768],[102.073629,32.602972],[102.07346,32.603176],[102.073291,32.60338],[102.073121,32.603584],[102.072952,32.603788],[102.072783,32.603992],[102.072614,32.604196],[102.072444,32.6044],[102.072275,32.604604],[102.072106,32.604808],[102.071957,32.605016],[102.071808,32.605224],[102.071757,32.605296],[102.071659,32.605432],[102.07151,32.60564],[102.071361,32.605849],[102.071212,32.606057],[102.071063,32.606265],[102.070913,32.606473],[102.070764,32.606681],[102.070615,32.606889],[102.070466,32.607097],[102.070317,32.607305],[102.070074,32.607645],[102.069831,32.607985],[102.069588,32.608325],[102.069445,32.60856],[102.069301,32.608795],[102.069158,32.609029],[102.069014,32.609264],[102.068882,32.609481],[102.068871,32.609499],[102.068727,32.609734],[102.068584,32.609969],[102.06844,32.610204],[102.068307,32.610448],[102.068173,32.610692],[102.068124,32.610915],[102.068075,32.611137],[102.06808,32.611431],[102.068084,32.611726],[102.068112,32.611953],[102.068139,32.612179],[102.068145,32.612228],[102.068167,32.612406],[102.068195,32.612633],[102.068237,32.612717],[102.068326,32.612895],[102.068457,32.613158],[102.068575,32.613373],[102.068693,32.613588],[102.068853,32.613803],[102.069014,32.614018],[102.069229,32.614258],[102.06928,32.61437],[102.069359,32.614543],[102.069366,32.614653],[102.069377,32.614827],[102.069314,32.615174],[102.069309,32.615202],[102.069191,32.615412],[102.068971,32.615759],[102.068937,32.615812],[102.068927,32.615828],[102.06875,32.616106],[102.068627,32.616486],[102.068504,32.616865],[102.06838,32.617244],[102.068359,32.617479],[102.068337,32.617714],[102.068315,32.617949],[102.068294,32.618184],[102.068272,32.618419],[102.06825,32.618654],[102.068229,32.618889],[102.068207,32.619124],[102.068186,32.619547],[102.068166,32.61997],[102.068145,32.620393],[102.068124,32.620816],[102.068039,32.621038],[102.067954,32.621259],[102.067869,32.62148],[102.067784,32.621702],[102.067699,32.621923],[102.067614,32.622144],[102.067529,32.622365],[102.067444,32.622587],[102.06738,32.622698],[102.067369,32.622719],[102.06734,32.622769],[102.06732,32.622804],[102.067197,32.62302],[102.067074,32.623237],[102.067017,32.623337],[102.067013,32.623344],[102.066993,32.623378],[102.066991,32.623383],[102.06695,32.623454],[102.066827,32.623671],[102.066704,32.623888],[102.066563,32.624093],[102.066422,32.624299],[102.066281,32.624504],[102.06614,32.62471],[102.065998,32.624916],[102.065857,32.625121],[102.065797,32.625209],[102.065621,32.625452],[102.065446,32.625694],[102.065296,32.626045],[102.065181,32.626135],[102.064959,32.626108],[102.064628,32.626006],[102.064463,32.625908],[102.064276,32.625692],[102.064069,32.625407],[102.063862,32.625121],[102.063672,32.624859],[102.063501,32.624622],[102.06333,32.624385],[102.063205,32.624153],[102.06308,32.62392],[102.062955,32.623687],[102.06283,32.623455],[102.062768,32.62323],[102.062705,32.623005],[102.062606,32.62265],[102.062507,32.622271],[102.062463,32.621916],[102.062416,32.621655],[102.06234,32.621466],[102.062204,32.621275],[102.062016,32.621105],[102.061797,32.620983],[102.061482,32.620834],[102.061166,32.620685],[102.060951,32.620593],[102.060735,32.620502],[102.06052,32.620411],[102.060305,32.620319],[102.060089,32.620228],[102.059874,32.620137],[102.059658,32.620045],[102.059443,32.619954],[102.059228,32.619863],[102.059012,32.619771],[102.058797,32.61968],[102.058582,32.619588],[102.058348,32.619501],[102.058114,32.619413],[102.057852,32.619324],[102.057589,32.619235],[102.057229,32.619204],[102.056949,32.619267],[102.056722,32.619404],[102.056462,32.619657],[102.056287,32.619865],[102.056169,32.620074],[102.056051,32.620283],[102.055876,32.620537],[102.055564,32.620719],[102.055226,32.620829],[102.05496,32.620846],[102.054694,32.620863],[102.054327,32.620807],[102.053959,32.620751],[102.053569,32.620718],[102.053161,32.620708],[102.052752,32.620698],[102.052344,32.620689],[102.051953,32.620719],[102.051562,32.620749],[102.051171,32.620778],[102.050735,32.620875],[102.0503,32.620971],[102.050071,32.621028],[102.049841,32.621086],[102.049612,32.621143],[102.049382,32.6212],[102.049153,32.621258],[102.048924,32.621315],[102.048666,32.621349],[102.048409,32.621383],[102.048151,32.621417],[102.047894,32.621451],[102.047637,32.621485],[102.047379,32.621519],[102.047122,32.621553],[102.046864,32.621587],[102.046607,32.621621],[102.046349,32.621655],[102.046073,32.62167],[102.045796,32.621685],[102.045519,32.6217],[102.045242,32.621715],[102.044965,32.62173],[102.044688,32.621745],[102.044411,32.62176],[102.044135,32.621775],[102.043858,32.62179],[102.043581,32.621805],[102.043304,32.62182],[102.043027,32.621835],[102.042679,32.621815],[102.042331,32.621795],[102.041887,32.621749],[102.041509,32.62171],[102.041443,32.621704],[102.041125,32.621637],[102.040806,32.621571],[102.040378,32.621479],[102.039949,32.621386],[102.039728,32.621318],[102.039565,32.621268],[102.039517,32.621253],[102.039507,32.62125],[102.039286,32.621182],[102.039066,32.621114],[102.038845,32.621046],[102.038624,32.620979],[102.038432,32.620862],[102.038239,32.620746],[102.037854,32.620513],[102.03747,32.62028],[102.037085,32.620048],[102.036893,32.619931],[102.0367,32.619815],[102.036501,32.619676],[102.036302,32.619537],[102.036104,32.619399],[102.035905,32.61926],[102.035706,32.619121],[102.035507,32.618982],[102.035308,32.618843],[102.035109,32.618705],[102.03491,32.618566],[102.034711,32.618427],[102.03454,32.618274],[102.034369,32.61812],[102.034197,32.617967],[102.034026,32.617814],[102.033854,32.617661],[102.033683,32.617507],[102.033443,32.617172],[102.033204,32.616837],[102.032964,32.616501],[102.032936,32.616436],[102.032917,32.616392],[102.032874,32.616292],[102.032783,32.616083],[102.032692,32.615873],[102.032602,32.615664],[102.032511,32.615455],[102.032421,32.615246],[102.03233,32.615036],[102.032239,32.614827],[102.032149,32.614618],[102.032058,32.614409],[102.031964,32.614199],[102.03187,32.61399],[102.031776,32.613781],[102.031682,32.613572],[102.031588,32.613363],[102.031494,32.613153],[102.0314,32.612944],[102.031307,32.612735],[102.031213,32.612526],[102.031119,32.612317],[102.031052,32.612088],[102.030985,32.611858],[102.030919,32.611629],[102.030852,32.6114],[102.030785,32.611171],[102.030719,32.610942],[102.030698,32.610718],[102.030678,32.610494],[102.030658,32.610269],[102.030637,32.610045],[102.030617,32.609821],[102.030597,32.609597],[102.030605,32.60936],[102.030613,32.609123],[102.03062,32.608886],[102.030628,32.608649],[102.030636,32.608412],[102.030644,32.608175],[102.030652,32.607938],[102.03066,32.607701],[102.030747,32.60726],[102.030834,32.60682],[102.03092,32.606379],[102.031007,32.605938],[102.031094,32.605498],[102.031075,32.605236],[102.031027,32.605002],[102.030868,32.604739],[102.030668,32.604475],[102.030468,32.604211],[102.030197,32.60397],[102.029927,32.603728],[102.029761,32.603576],[102.029595,32.603425],[102.029473,32.603313],[102.029437,32.60328],[102.029429,32.603273],[102.029263,32.603121],[102.029097,32.60297],[102.028931,32.602818],[102.028765,32.602666],[102.028599,32.602515],[102.028433,32.602363],[102.028267,32.602212],[102.02794,32.601968],[102.027928,32.601958],[102.027614,32.601724],[102.027356,32.601381],[102.027099,32.601037],[102.026841,32.600694],[102.026544,32.600381],[102.026398,32.600177],[102.026251,32.599972],[102.026181,32.599595],[102.026105,32.599346],[102.02603,32.599097],[102.025876,32.598693],[102.025716,32.598478],[102.025528,32.598285],[102.025338,32.598139],[102.025145,32.598064],[102.024922,32.598035],[102.024631,32.598028],[102.024339,32.598021],[102.024047,32.59799],[102.023756,32.59796],[102.023534,32.597908],[102.023312,32.597856],[102.023065,32.597756],[102.022817,32.597656],[102.022612,32.597557],[102.022406,32.597457],[102.022202,32.597323],[102.021998,32.597189],[102.021793,32.597055],[102.021589,32.596921],[102.021309,32.596645],[102.021029,32.596369],[102.020748,32.596094],[102.020471,32.595766],[102.020194,32.595437],[102.019917,32.595109],[102.019686,32.59476],[102.019455,32.594411],[102.019314,32.594199],[102.019224,32.594062],[102.019111,32.593671],[102.018999,32.59328],[102.018958,32.593049],[102.018916,32.592819],[102.018902,32.592738],[102.018875,32.592589],[102.018834,32.592358],[102.018744,32.592144],[102.018653,32.59193],[102.01844,32.591619],[102.018172,32.591353],[102.017954,32.59116],[102.017655,32.590964],[102.017336,32.590769],[102.017018,32.590573],[102.016699,32.590377],[102.016441,32.590292],[102.016183,32.590206],[102.016,32.590145],[102.015999,32.590145],[102.015997,32.590145],[102.015925,32.59012],[102.015667,32.590035],[102.015408,32.589949],[102.01515,32.589864],[102.014892,32.589778],[102.014634,32.589692],[102.014344,32.589615],[102.014053,32.589537],[102.01382,32.589438],[102.013587,32.589338],[102.013287,32.589119],[102.012988,32.588876],[102.012813,32.588696],[102.012639,32.588515],[102.012455,32.588129],[102.012271,32.587743],[102.012087,32.587358],[102.011902,32.586972],[102.011655,32.586597],[102.011407,32.586222],[102.01116,32.585848],[102.010845,32.585542],[102.01053,32.585236],[102.010473,32.585181],[102.010215,32.584931],[102.009949,32.584571],[102.009761,32.584366],[102.009573,32.584161],[102.009412,32.58397],[102.009251,32.583778],[102.009046,32.583455],[102.009039,32.583443],[102.008866,32.583078],[102.008692,32.582713],[102.008519,32.582348],[102.008446,32.582132],[102.008372,32.581916],[102.008299,32.5817],[102.008225,32.581484],[102.008152,32.581268],[102.008078,32.581052],[102.008005,32.580836],[102.007931,32.58062],[102.00786,32.580379],[102.007789,32.580139],[102.007719,32.579898],[102.007648,32.579657],[102.007577,32.579416],[102.007506,32.579175],[102.007418,32.578947],[102.007331,32.57872],[102.007243,32.578492],[102.007156,32.578264],[102.007068,32.578036],[102.00698,32.577809],[102.006893,32.577581],[102.006805,32.577353],[102.006717,32.577126],[102.00663,32.576898],[102.006542,32.57667],[102.006455,32.576443],[102.006355,32.576225],[102.006255,32.576007],[102.006155,32.575789],[102.006055,32.575572],[102.005956,32.575354],[102.005856,32.575136],[102.005756,32.574918],[102.005656,32.574701],[102.005556,32.574483],[102.005522,32.574409],[102.005457,32.574265],[102.005344,32.574051],[102.005231,32.573836],[102.005118,32.573622],[102.005005,32.573407],[102.004893,32.573193],[102.00478,32.572978],[102.004667,32.572764],[102.004554,32.57255],[102.004441,32.572335],[102.004329,32.572121],[102.004051,32.571792],[102.003773,32.571462],[102.003496,32.571133],[102.003218,32.570804],[102.003002,32.570568],[102.002786,32.570332],[102.002578,32.57006],[102.002371,32.569789],[102.002204,32.569486],[102.002037,32.569183],[102.001893,32.568796],[102.001748,32.56841],[102.001672,32.568153],[102.001595,32.567896],[102.001592,32.567888],[102.001574,32.567827],[102.001518,32.567639],[102.001492,32.567551],[102.001481,32.567513],[102.001442,32.567383],[102.001365,32.567126],[102.001352,32.567084],[102.001318,32.566968],[102.001288,32.566869],[102.001171,32.566511],[102.001155,32.566461],[102.001095,32.56628],[102.001035,32.566096],[102.001028,32.566073],[102.00102,32.56605],[102.000944,32.565819],[102.000868,32.565588],[102.000793,32.565357],[102.000717,32.565126],[102.000597,32.565004],[102.000597,32.565004],[102.000478,32.564882],[102.000247,32.564647],[102.000238,32.564638],[102.000138,32.564678],[102.000062,32.564708],[102.000009,32.564736],[102.000001,32.56474],[101.999995,32.564744],[101.999941,32.564772],[101.999928,32.564779],[101.999928,32.564779],[101.999916,32.564786],[101.999876,32.564807],[101.999844,32.564824],[101.999844,32.564824],[101.999839,32.564827],[101.999708,32.564896],[101.999627,32.564939],[101.999354,32.565084],[101.99922,32.565155],[101.99922,32.565155],[101.999,32.565273],[101.998824,32.565428],[101.998647,32.565584],[101.998471,32.565739],[101.998295,32.565895],[101.998119,32.56605],[101.997943,32.566206],[101.997766,32.566361],[101.99759,32.566517],[101.997414,32.566673],[101.997238,32.566828],[101.997097,32.567004],[101.996957,32.567181],[101.996816,32.567357],[101.996676,32.567534],[101.996536,32.56771],[101.996395,32.567886],[101.996255,32.568063],[101.996115,32.568239],[101.995974,32.568415],[101.995834,32.568592],[101.995645,32.568733],[101.995456,32.568874],[101.995267,32.569015],[101.995078,32.569157],[101.994889,32.569298],[101.9947,32.569439],[101.994511,32.56958],[101.994322,32.569722],[101.994133,32.569863],[101.993944,32.570004],[101.993752,32.570135],[101.99356,32.570265],[101.993369,32.570396],[101.993177,32.570527],[101.992985,32.570657],[101.992793,32.570788],[101.992602,32.570919],[101.99241,32.571049],[101.992218,32.57118],[101.992027,32.571311],[101.991835,32.571441],[101.991643,32.571572],[101.991439,32.571696],[101.991235,32.57182],[101.99103,32.571944],[101.990826,32.572068],[101.990621,32.572192],[101.990417,32.572316],[101.990213,32.57244],[101.990008,32.572564],[101.98981,32.572672],[101.989611,32.572781],[101.989413,32.57289],[101.989214,32.572998],[101.988912,32.57314],[101.988611,32.573281],[101.988244,32.573352],[101.987897,32.573195],[101.987792,32.573011],[101.987723,32.572774],[101.987654,32.572537],[101.987652,32.572472],[101.987643,32.572227],[101.987654,32.572152],[101.987679,32.571967],[101.987714,32.571707],[101.98775,32.571448],[101.987785,32.571188],[101.987821,32.570928],[101.987834,32.570834],[101.987856,32.570668],[101.987892,32.570408],[101.987927,32.570148],[101.987963,32.569888],[101.987998,32.569628],[101.988061,32.56936],[101.988123,32.569091],[101.988185,32.568822],[101.988192,32.568791],[101.988247,32.568553],[101.98831,32.568284],[101.988372,32.568015],[101.988435,32.567746],[101.988497,32.567477],[101.988559,32.567208],[101.988622,32.566939],[101.988684,32.566687],[101.988747,32.566435],[101.98881,32.566183],[101.988873,32.565931],[101.988935,32.565678],[101.988998,32.565426],[101.989061,32.565174],[101.989124,32.564922],[101.989186,32.56467],[101.989249,32.564417],[101.989278,32.564157],[101.989306,32.563897],[101.989335,32.563638],[101.989363,32.563378],[101.989324,32.562943],[101.989284,32.562509],[101.989245,32.562075],[101.989206,32.561641],[101.989192,32.561206],[101.989177,32.560772],[101.989163,32.560338],[101.989186,32.560112],[101.98921,32.559886],[101.989233,32.55966],[101.989256,32.559434],[101.989279,32.559208],[101.989302,32.558982],[101.989326,32.558757],[101.989339,32.558624],[101.989349,32.558531],[101.989386,32.558261],[101.989423,32.557992],[101.98946,32.557722],[101.989498,32.557453],[101.989517,32.557314],[101.989535,32.557183],[101.989572,32.556914],[101.989609,32.556645],[101.989646,32.556375],[101.989684,32.556106],[101.989721,32.555836],[101.989724,32.555583],[101.989728,32.555331],[101.989732,32.555078],[101.989733,32.555017],[101.989736,32.554825],[101.989739,32.554572],[101.989741,32.554473],[101.989743,32.554319],[101.989747,32.554066],[101.989751,32.553813],[101.989754,32.553561],[101.989758,32.553308],[101.989699,32.552978],[101.989594,32.552772],[101.989468,32.55265],[101.989292,32.55253],[101.989071,32.552494],[101.988859,32.552516],[101.988802,32.552521],[101.988567,32.552545],[101.988533,32.552548],[101.988119,32.55262],[101.98783,32.552794],[101.987542,32.552967],[101.987321,32.553084],[101.9871,32.553202],[101.986879,32.553319],[101.986658,32.553437],[101.986449,32.553548],[101.986438,32.553554],[101.986335,32.553609],[101.986217,32.553672],[101.986123,32.553722],[101.985996,32.553789],[101.985775,32.553907],[101.985555,32.554024],[101.985334,32.554142],[101.985113,32.554259],[101.984892,32.554377],[101.984811,32.554406],[101.98466,32.554461],[101.984461,32.554533],[101.984434,32.554543],[101.984429,32.554545],[101.984418,32.554548],[101.984197,32.554628],[101.983965,32.554712],[101.983829,32.554762],[101.983733,32.554796],[101.983501,32.55488],[101.983269,32.554964],[101.983038,32.555048],[101.982806,32.555132],[101.982574,32.555216],[101.982342,32.5553],[101.982127,32.555378],[101.98211,32.555384],[101.982047,32.555406],[101.981905,32.555458],[101.981878,32.555467],[101.981647,32.555551],[101.98125,32.555726],[101.980853,32.5559],[101.980568,32.556026],[101.980546,32.556035],[101.980457,32.556075],[101.980247,32.556167],[101.980213,32.556182],[101.980203,32.556186],[101.980129,32.556219],[101.980107,32.556228],[101.98006,32.556249],[101.979906,32.556392],[101.979739,32.556547],[101.979548,32.556724],[101.979485,32.556783],[101.979419,32.556845],[101.979098,32.557142],[101.978778,32.55744],[101.978736,32.557471],[101.978687,32.557508],[101.978613,32.557563],[101.978565,32.557598],[101.978353,32.557756],[101.97814,32.557914],[101.977928,32.558072],[101.977715,32.558229],[101.977503,32.558387],[101.977291,32.558545],[101.977128,32.558666],[101.977078,32.558703],[101.976893,32.558837],[101.976707,32.558971],[101.976603,32.559046],[101.976601,32.559048],[101.976599,32.559049],[101.976558,32.559079],[101.976552,32.559083],[101.976522,32.559105],[101.976337,32.559239],[101.975989,32.559454],[101.975716,32.559623],[101.97564,32.55967],[101.97535,32.559791],[101.975196,32.559855],[101.975059,32.559912],[101.97485,32.559963],[101.974779,32.55998],[101.9745,32.560049],[101.974277,32.560103],[101.974054,32.560156],[101.973831,32.56021],[101.973608,32.560263],[101.973385,32.560317],[101.973162,32.560371],[101.972898,32.560533],[101.972634,32.560695],[101.972622,32.560711],[101.972621,32.560712],[101.972551,32.560806],[101.972521,32.560847],[101.972476,32.560908],[101.972469,32.560916],[101.972305,32.561138],[101.97216,32.561319],[101.972014,32.561501],[101.971985,32.561538],[101.971869,32.561682],[101.971724,32.561864],[101.971694,32.561902],[101.971683,32.561915],[101.971578,32.562046],[101.971478,32.562171],[101.971477,32.562172],[101.971448,32.562209],[101.971433,32.562227],[101.971288,32.562409],[101.971143,32.56259],[101.970946,32.562761],[101.97075,32.562931],[101.970553,32.563101],[101.970492,32.563155],[101.970479,32.563166],[101.970432,32.563207],[101.970425,32.563213],[101.970357,32.563272],[101.97016,32.563442],[101.969964,32.563613],[101.969767,32.563783],[101.96957,32.563953],[101.969417,32.564173],[101.969375,32.564233],[101.969317,32.564317],[101.969264,32.564392],[101.96921,32.56447],[101.969156,32.564548],[101.969111,32.564611],[101.968958,32.56483],[101.968858,32.564974],[101.968842,32.564997],[101.968805,32.56505],[101.968775,32.565093],[101.968652,32.565269],[101.968441,32.565564],[101.968351,32.565691],[101.96835,32.565691],[101.96835,32.565692],[101.96823,32.565859],[101.968227,32.565862],[101.968204,32.565882],[101.967897,32.566158],[101.967563,32.566436],[101.967351,32.566506],[101.96733,32.566512],[101.967208,32.566552],[101.96717,32.566564],[101.967151,32.566571],[101.966859,32.566639],[101.966817,32.566649],[101.966795,32.566655],[101.966567,32.566708],[101.966311,32.566756],[101.966055,32.566803],[101.965641,32.566897],[101.965241,32.56701],[101.965214,32.567017],[101.965017,32.567072],[101.964891,32.567108],[101.96484,32.567122],[101.964617,32.567249],[101.964575,32.567273],[101.964451,32.56739],[101.964416,32.567424],[101.964373,32.567465],[101.964263,32.567569],[101.964235,32.567596],[101.964171,32.567656],[101.964008,32.567898],[101.963844,32.56814],[101.963638,32.568325],[101.963629,32.568332],[101.963476,32.568469],[101.963474,32.568471],[101.963423,32.568516],[101.963415,32.568524],[101.963125,32.568649],[101.963113,32.568655],[101.963101,32.56866],[101.963047,32.568684],[101.962957,32.568722],[101.96295,32.568725],[101.962811,32.568786],[101.962469,32.568836],[101.9622,32.568842],[101.961857,32.56885],[101.961635,32.568893],[101.961613,32.568897],[101.961516,32.568921],[101.961438,32.569151],[101.961417,32.569214],[101.961382,32.569315],[101.961375,32.569337],[101.96136,32.569381],[101.961306,32.56962],[101.961273,32.569769],[101.96127,32.569781],[101.961266,32.569801],[101.961252,32.569859],[101.961125,32.57007],[101.961079,32.570145],[101.960997,32.57028],[101.960662,32.570578],[101.960459,32.570738],[101.960348,32.570825],[101.960255,32.570899],[101.960035,32.571001],[101.959814,32.571102],[101.959594,32.571204],[101.959373,32.571306],[101.959136,32.571519],[101.959048,32.571598],[101.959036,32.571608],[101.958999,32.571641],[101.958999,32.571641],[101.958999,32.571641],[101.958939,32.571695],[101.958939,32.571695],[101.958723,32.571889],[101.958397,32.57218],[101.958348,32.572224],[101.95827,32.572295],[101.958266,32.572299],[101.958247,32.572315],[101.958148,32.572404],[101.957899,32.572628],[101.957624,32.572862],[101.957417,32.573039],[101.957397,32.573056],[101.95735,32.573096],[101.957338,32.573101],[101.957095,32.573196],[101.956841,32.573295],[101.956562,32.573395],[101.956284,32.573494],[101.956079,32.573603],[101.955874,32.573712],[101.955623,32.573924],[101.955373,32.574137],[101.955233,32.574348],[101.955093,32.574558],[101.954957,32.574798],[101.954955,32.574801],[101.954953,32.574803],[101.954914,32.574872],[101.954907,32.574885],[101.954902,32.574894],[101.954841,32.575001],[101.954839,32.575004],[101.954799,32.575075],[101.954722,32.575211],[101.954388,32.575508],[101.95412,32.575555],[101.954099,32.575552],[101.953848,32.575521],[101.95365,32.575442],[101.953399,32.575283],[101.953109,32.57501],[101.953068,32.574971],[101.953004,32.574911],[101.952819,32.574737],[101.952563,32.574432],[101.952394,32.574146],[101.952225,32.573859],[101.952125,32.573655],[101.952025,32.573451],[101.951924,32.573246],[101.951824,32.573042],[101.951724,32.572838],[101.951624,32.572633],[101.951524,32.572429],[101.951423,32.572225],[101.951323,32.572021],[101.951223,32.571816],[101.951103,32.571598],[101.950984,32.57138],[101.950864,32.571161],[101.950745,32.570943],[101.950625,32.570725],[101.950506,32.570506],[101.95044,32.570386],[101.95042,32.57035],[101.950386,32.570288],[101.950267,32.57007],[101.950147,32.569851],[101.950028,32.569633],[101.949908,32.569414],[101.949789,32.569196],[101.949762,32.569146],[101.949669,32.568968],[101.949549,32.56874],[101.949429,32.568511],[101.949309,32.568283],[101.9493,32.568266],[101.949189,32.568055],[101.949069,32.567827],[101.948949,32.567598],[101.948829,32.56737],[101.948709,32.567142],[101.948589,32.566913],[101.948469,32.566685],[101.948348,32.566457],[101.948271,32.566239],[101.948194,32.566021],[101.948116,32.565803],[101.948039,32.565584],[101.947961,32.565366],[101.947884,32.565148],[101.947806,32.56493],[101.947729,32.564712],[101.947634,32.564493],[101.947539,32.564274],[101.947444,32.564055],[101.947349,32.563836],[101.947254,32.563617],[101.947159,32.563399],[101.947064,32.56318],[101.946969,32.562961],[101.946874,32.562742],[101.946779,32.562523],[101.946684,32.562304],[101.946589,32.562085],[101.946483,32.561855],[101.946376,32.561624],[101.94627,32.561394],[101.946164,32.561163],[101.946058,32.560933],[101.945951,32.560702],[101.945845,32.560472],[101.945739,32.560241],[101.945622,32.560044],[101.945506,32.559847],[101.945389,32.559651],[101.945272,32.559454],[101.945155,32.559257],[101.945039,32.559061],[101.944922,32.558864],[101.944873,32.558781],[101.944805,32.558667],[101.944672,32.558459],[101.94465,32.558426],[101.944538,32.558252],[101.944405,32.558044],[101.944271,32.557837],[101.944138,32.557629],[101.944004,32.557421],[101.943827,32.557252],[101.94365,32.557083],[101.943473,32.556913],[101.943295,32.556744],[101.943118,32.556574],[101.942941,32.556405],[101.942764,32.556236],[101.942642,32.556119],[101.942623,32.556101],[101.942587,32.556066],[101.942428,32.55589],[101.942269,32.555714],[101.942111,32.555537],[101.941952,32.555361],[101.941793,32.555184],[101.941635,32.555008],[101.941476,32.554832],[101.941318,32.554655],[101.941159,32.554479],[101.941072,32.554382],[101.941,32.554303],[101.940974,32.554277],[101.940893,32.554199],[101.940817,32.554125],[101.94068,32.553992],[101.940591,32.553906],[101.940538,32.553854],[101.940408,32.553729],[101.940382,32.553704],[101.94036,32.553682],[101.940228,32.553554],[101.940039,32.553372],[101.939697,32.553117],[101.939484,32.552959],[101.939437,32.552924],[101.939354,32.552863],[101.939315,32.552834],[101.939269,32.552799],[101.939012,32.552608],[101.938669,32.552354],[101.938462,32.5522],[101.938255,32.552046],[101.937891,32.55179],[101.937527,32.551534],[101.937164,32.551279],[101.937117,32.551245],[101.9368,32.551023],[101.936623,32.550893],[101.936486,32.550792],[101.936172,32.550561],[101.936145,32.550526],[101.936131,32.550508],[101.936127,32.550504],[101.936121,32.550496],[101.936031,32.550381],[101.935989,32.550327],[101.935969,32.550301],[101.935891,32.550201],[101.93575,32.550022],[101.935609,32.549842],[101.935547,32.549763],[101.935468,32.549662],[101.935328,32.549483],[101.935261,32.549413],[101.935153,32.549301],[101.934978,32.549119],[101.934804,32.548937],[101.93472,32.548849],[101.934675,32.548803],[101.934629,32.548755],[101.934574,32.548697],[101.934454,32.548573],[101.93428,32.548391],[101.934268,32.548383],[101.933916,32.548135],[101.933553,32.547879],[101.933347,32.547734],[101.933345,32.547733],[101.933343,32.547731],[101.933189,32.547623],[101.932959,32.547461],[101.932826,32.547368],[101.932788,32.547334],[101.932759,32.547308],[101.932643,32.547204],[101.932601,32.547167],[101.932579,32.547147],[101.932562,32.547132],[101.932555,32.547126],[101.93246,32.547041],[101.932277,32.546878],[101.932094,32.546715],[101.931911,32.546551],[101.931728,32.546388],[101.931698,32.546361],[101.931578,32.546255],[101.931545,32.546225],[101.931361,32.546062],[101.931178,32.545898],[101.930995,32.545735],[101.930812,32.545572],[101.930629,32.545409],[101.930496,32.545262],[101.930465,32.545228],[101.930426,32.545184],[101.930301,32.545047],[101.930147,32.544877],[101.930138,32.544866],[101.929974,32.544685],[101.92981,32.544504],[101.929646,32.544323],[101.929482,32.544142],[101.92946,32.544118],[101.929319,32.543962],[101.929155,32.543781],[101.928991,32.5436],[101.928827,32.543419],[101.928663,32.543238],[101.928598,32.543165],[101.9285,32.543057],[101.928336,32.542876],[101.928134,32.542705],[101.927932,32.542533],[101.927732,32.542364],[101.92773,32.542362],[101.927698,32.542335],[101.927528,32.54219],[101.927339,32.542019],[101.92715,32.541848],[101.927087,32.541789],[101.926876,32.541591],[101.926846,32.541563],[101.92684,32.541557],[101.926592,32.541279],[101.926384,32.540916],[101.926177,32.540553],[101.925969,32.540191],[101.925873,32.540023],[101.925851,32.539986],[101.925761,32.539828],[101.925708,32.53971],[101.925692,32.539675],[101.925664,32.539611],[101.925658,32.539599],[101.925634,32.539545],[101.925567,32.539394],[101.925469,32.539178],[101.92539,32.539001],[101.925372,32.538961],[101.92532,32.538844],[101.925275,32.538744],[101.925178,32.538528],[101.925081,32.538311],[101.925052,32.538245],[101.925035,32.538208],[101.924984,32.538094],[101.924887,32.537877],[101.92479,32.537661],[101.924714,32.537492],[101.924692,32.537444],[101.924595,32.537227],[101.924528,32.537089],[101.924477,32.536983],[101.924359,32.536739],[101.924318,32.536654],[101.924294,32.536604],[101.924241,32.536495],[101.924122,32.53625],[101.924038,32.536076],[101.924021,32.536041],[101.924004,32.536006],[101.923886,32.535762],[101.923768,32.535518],[101.923649,32.535274],[101.923531,32.535029],[101.923413,32.534785],[101.923295,32.534541],[101.923177,32.534297],[101.923081,32.53407],[101.922986,32.533843],[101.922891,32.533616],[101.922877,32.533582],[101.922796,32.533389],[101.922701,32.533162],[101.922667,32.533082],[101.922606,32.532935],[101.922511,32.532708],[101.922415,32.532481],[101.92232,32.532254],[101.922225,32.532027],[101.92213,32.531801],[101.922035,32.531574],[101.92194,32.531347],[101.921844,32.53112],[101.921746,32.530891],[101.921648,32.530663],[101.921549,32.530434],[101.921451,32.530205],[101.921352,32.529977],[101.921254,32.529748],[101.92122,32.52967],[101.921201,32.529626],[101.921156,32.52952],[101.921057,32.529291],[101.921003,32.529164],[101.920959,32.529062],[101.92086,32.528834],[101.920825,32.528751],[101.920762,32.528605],[101.920664,32.528377],[101.920565,32.528148],[101.920524,32.528054],[101.920509,32.528019],[101.920467,32.52792],[101.920457,32.527899],[101.920361,32.527692],[101.920353,32.527676],[101.920255,32.527464],[101.920211,32.52737],[101.920149,32.527237],[101.920067,32.527061],[101.920043,32.527009],[101.91995,32.526808],[101.919938,32.526782],[101.919929,32.526763],[101.919832,32.526554],[101.919726,32.526326],[101.91962,32.526099],[101.919548,32.525943],[101.919545,32.525936],[101.919527,32.525899],[101.919514,32.525871],[101.919413,32.525653],[101.919409,32.525644],[101.919395,32.525619],[101.91939,32.52561],[101.919226,32.525302],[101.919217,32.525286],[101.919203,32.52526],[101.919043,32.524961],[101.918947,32.524781],[101.91886,32.52462],[101.918856,32.52461],[101.918703,32.524292],[101.918649,32.524086],[101.918617,32.523924],[101.918604,32.523859],[101.918567,32.523667],[101.91856,32.523632],[101.918543,32.523537],[101.918517,32.523397],[101.918515,32.523385],[101.91847,32.523137],[101.918426,32.52289],[101.918381,32.522642],[101.918322,32.522363],[101.918301,32.522262],[101.918263,32.522085],[101.918202,32.521651],[101.918195,32.521453],[101.918192,32.52134],[101.918196,32.521192],[101.918204,32.520967],[101.91822,32.520718],[101.918227,32.520685],[101.918234,32.520657],[101.918263,32.520531],[101.918354,32.520301],[101.91836,32.520286],[101.918366,32.520271],[101.918458,32.52004],[101.918555,32.519795],[101.918653,32.51955],[101.918738,32.519314],[101.918824,32.519078],[101.918909,32.518842],[101.918994,32.518606],[101.919055,32.518436],[101.919067,32.518405],[101.919079,32.518369],[101.919165,32.518133],[101.91925,32.517897],[101.919312,32.517725],[101.919325,32.517688],[101.919335,32.517661],[101.91942,32.517425],[101.919506,32.517189],[101.919536,32.517082],[101.91954,32.517066],[101.919574,32.516946],[101.919643,32.516704],[101.919712,32.516461],[101.91978,32.516219],[101.919832,32.516039],[101.919849,32.515976],[101.919903,32.515785],[101.919918,32.515734],[101.919987,32.515491],[101.920034,32.515325],[101.920055,32.515249],[101.920108,32.515016],[101.920141,32.514868],[101.920177,32.514708],[101.920184,32.514678],[101.920227,32.514487],[101.920313,32.514106],[101.920311,32.513853],[101.920309,32.513599],[101.920306,32.513345],[101.920304,32.513092],[101.920346,32.512863],[101.920348,32.512855],[101.920356,32.512822],[101.920418,32.51258],[101.920425,32.512553],[101.92044,32.512494],[101.92048,32.512337],[101.920488,32.512306],[101.920535,32.512126],[101.920629,32.511757],[101.920694,32.511487],[101.92071,32.511259],[101.920704,32.511051],[101.92068,32.510972],[101.920673,32.510946],[101.920649,32.510866],[101.920514,32.510497],[101.920379,32.510128],[101.920245,32.509767],[101.920197,32.509637],[101.920177,32.509581],[101.920123,32.509438],[101.920112,32.509406],[101.920067,32.509166],[101.920023,32.508926],[101.919979,32.508686],[101.919934,32.508445],[101.91989,32.508205],[101.919846,32.507965],[101.919843,32.507701],[101.919841,32.507437],[101.919839,32.507206],[101.919839,32.507172],[101.919836,32.506908],[101.919834,32.506857],[101.919834,32.50683],[101.919823,32.506515],[101.91986,32.506182],[101.919927,32.505974],[101.920045,32.505764],[101.920075,32.50569],[101.920085,32.505664],[101.920112,32.505596],[101.920091,32.505348],[101.920071,32.5051],[101.920051,32.505037],[101.919962,32.50475],[101.919852,32.5044],[101.919772,32.504174],[101.919691,32.503948],[101.919546,32.503641],[101.919528,32.503603],[101.919402,32.503333],[101.91939,32.503313],[101.919292,32.503158],[101.919273,32.503128],[101.919168,32.50296],[101.919134,32.502905],[101.918934,32.502588],[101.918899,32.502531],[101.918701,32.502215],[101.91861,32.501973],[101.91852,32.501732],[101.918463,32.50158],[101.918435,32.501506],[101.918429,32.50149],[101.918339,32.501249],[101.918248,32.501008],[101.918158,32.500766],[101.918067,32.500525],[101.917977,32.500283],[101.917936,32.500122],[101.917877,32.499887],[101.917818,32.499653],[101.917777,32.499492],[101.917759,32.499418],[101.917729,32.4993],[101.917722,32.499272],[101.9177,32.499184],[101.917641,32.49895],[101.917623,32.498879],[101.917616,32.498851],[101.917582,32.498715],[101.917553,32.498599],[101.917478,32.498292],[101.917458,32.498211],[101.917451,32.498185],[101.91744,32.498137],[101.917406,32.497999],[101.917406,32.497998],[101.917401,32.497979],[101.917374,32.497868],[101.917358,32.497804],[101.917342,32.497738],[101.917308,32.497601],[101.91727,32.497445],[101.917149,32.497247],[101.917029,32.497049],[101.916969,32.496952],[101.916908,32.496852],[101.916788,32.496654],[101.916667,32.496457],[101.916546,32.496259],[101.916402,32.495972],[101.916258,32.495685],[101.916098,32.495296],[101.915992,32.49505],[101.915958,32.494751],[101.915923,32.494451],[101.915928,32.494217],[101.915933,32.493984],[101.915938,32.493751],[101.915942,32.493549],[101.915942,32.493517],[101.915922,32.493269],[101.915901,32.493021],[101.915867,32.49269],[101.915762,32.492464],[101.915657,32.492239],[101.915608,32.492148],[101.915593,32.492121],[101.91554,32.492024],[101.915422,32.49181],[101.915304,32.491596],[101.915186,32.491382],[101.915063,32.49108],[101.915052,32.491054],[101.915035,32.491012],[101.914926,32.490744],[101.914884,32.490642],[101.914734,32.490272],[101.914652,32.490025],[101.914571,32.489779],[101.914489,32.489532],[101.914408,32.489285],[101.914349,32.488955],[101.91429,32.488666],[101.914253,32.488315],[101.914247,32.4881],[101.914246,32.488072],[101.914245,32.488045],[101.914239,32.487842],[101.914237,32.487776],[101.914241,32.487571],[101.914241,32.487534],[101.914246,32.487292],[101.91425,32.48705],[101.914255,32.486808],[101.914259,32.4866],[101.914259,32.486567],[101.91426,32.486554],[101.91426,32.486545],[101.914264,32.486338],[101.914264,32.486325],[101.91425,32.486222],[101.914238,32.486134],[101.914232,32.486088],[101.914202,32.485869],[101.914199,32.48585],[101.914196,32.485839],[101.914194,32.485832],[101.914137,32.485651],[101.914137,32.485651],[101.914124,32.48561],[101.914048,32.485369],[101.913973,32.485128],[101.913897,32.484887],[101.913833,32.484659],[101.913768,32.484431],[101.913704,32.484202],[101.913639,32.483974],[101.913575,32.483746],[101.91351,32.483517],[101.913446,32.483289],[101.913381,32.483061],[101.913317,32.482833],[101.913252,32.482604],[101.913188,32.482376],[101.913123,32.482148],[101.913034,32.481922],[101.912945,32.481696],[101.912855,32.481471],[101.912766,32.481245],[101.912677,32.481019],[101.912588,32.480794],[101.912498,32.480568],[101.912409,32.480342],[101.91232,32.480116],[101.912231,32.479891],[101.912142,32.479665],[101.912052,32.479439],[101.91195,32.479216],[101.911847,32.478992],[101.911744,32.478769],[101.911641,32.478545],[101.911538,32.478322],[101.911436,32.478098],[101.911339,32.477887],[101.911333,32.477874],[101.911322,32.477851],[101.911266,32.477728],[101.91123,32.477651],[101.911127,32.477427],[101.911025,32.477204],[101.910969,32.477064],[101.910939,32.47699],[101.910934,32.476976],[101.910854,32.476777],[101.910769,32.476563],[101.910683,32.476349],[101.910598,32.476136],[101.910513,32.475922],[101.910431,32.475717],[101.910427,32.475709],[101.910342,32.475495],[101.910296,32.47538],[101.910257,32.475281],[101.910171,32.475068],[101.910147,32.474912],[101.910141,32.474872],[101.910121,32.474749],[101.910102,32.474625],[101.910092,32.474564],[101.910032,32.474182],[101.909963,32.473739],[101.909893,32.473296],[101.90985,32.472849],[101.909806,32.472403],[101.909763,32.471956],[101.909719,32.471509],[101.909675,32.471063],[101.909676,32.47071],[101.909677,32.470407],[101.909677,32.470358],[101.909669,32.470089],[101.90966,32.469978],[101.909648,32.469841],[101.909628,32.469593],[101.909606,32.469282],[101.909596,32.469139],[101.909584,32.468972],[101.909527,32.468735],[101.90951,32.468665],[101.90947,32.468499],[101.909418,32.468282],[101.909413,32.468263],[101.909409,32.468244],[101.90936,32.468042],[101.909356,32.468027],[101.909264,32.467822],[101.909172,32.467617],[101.909079,32.467412],[101.908987,32.467207],[101.908895,32.467002],[101.908891,32.466995],[101.908882,32.466974],[101.90887,32.466947],[101.908849,32.4669],[101.908836,32.466871],[101.908809,32.466812],[101.908802,32.466797],[101.908734,32.466646],[101.908732,32.466641],[101.90871,32.466592],[101.908617,32.466387],[101.90856,32.466259],[101.908556,32.46625],[101.908537,32.466208],[101.908527,32.466186],[101.908526,32.466184],[101.908525,32.466182],[101.908498,32.466122],[101.908433,32.465977],[101.908356,32.465737],[101.908278,32.465497],[101.908201,32.465257],[101.908124,32.465017],[101.908047,32.464776],[101.907969,32.464536],[101.907915,32.464281],[101.90787,32.464069],[101.90786,32.464026],[101.907855,32.464003],[101.907845,32.463955],[101.907823,32.46385],[101.907806,32.463771],[101.907751,32.463516],[101.907697,32.463261],[101.907642,32.463006],[101.907621,32.462904],[101.907616,32.462881],[101.907607,32.462838],[101.907605,32.462828],[101.907588,32.46275],[101.907533,32.462495],[101.907494,32.462311],[101.907479,32.46224],[101.907476,32.462228],[101.907424,32.461985],[101.90738,32.461793],[101.907367,32.461738],[101.907357,32.461694],[101.907338,32.461613],[101.90731,32.461491],[101.907275,32.461159],[101.907252,32.460936],[101.907238,32.460808],[101.907228,32.460456],[101.907245,32.460207],[101.907282,32.459853],[101.907344,32.459521],[101.907346,32.459505],[101.907386,32.45925],[101.907372,32.458858],[101.907372,32.458858],[101.907372,32.458858],[101.907353,32.458718],[101.907316,32.458454],[101.907313,32.458427],[101.907313,32.458427],[101.907264,32.45807],[101.907256,32.458017],[101.907211,32.457686],[101.907168,32.457452],[101.907126,32.457217],[101.907107,32.457113],[101.907083,32.456983],[101.90706,32.456854],[101.907041,32.456748],[101.906998,32.456514],[101.906956,32.456279],[101.906913,32.456045],[101.906871,32.455811],[101.906829,32.455576],[101.906786,32.455342],[101.906786,32.455342],[101.906744,32.455107],[101.906743,32.455105],[101.906743,32.455103],[101.906701,32.454873],[101.906659,32.454639],[101.906616,32.454404],[101.906572,32.454162],[101.906527,32.45392],[101.906497,32.453758],[101.906497,32.453755],[101.906494,32.453738],[101.906483,32.453678],[101.906464,32.453578],[101.906464,32.453576],[101.906438,32.453435],[101.906438,32.453433],[101.906438,32.453432],[101.906425,32.453361],[101.906394,32.453193],[101.906349,32.452951],[101.906305,32.452709],[101.90626,32.452467],[101.906252,32.452424],[101.906247,32.452397],[101.906239,32.45235],[101.906229,32.452296],[101.906216,32.452225],[101.906171,32.451983],[101.906157,32.451905],[101.906144,32.451837],[101.906127,32.45174],[101.906107,32.451634],[101.906105,32.451621],[101.906101,32.451602],[101.9061,32.451594],[101.906082,32.451498],[101.906064,32.451245],[101.906045,32.450993],[101.906026,32.45074],[101.906008,32.450487],[101.905989,32.450234],[101.90597,32.449982],[101.905952,32.449729],[101.905933,32.449476],[101.905914,32.449223],[101.905896,32.448971],[101.905877,32.448718],[101.905868,32.448597],[101.905868,32.448595],[101.905868,32.448593],[101.905858,32.448465],[101.90584,32.448212],[101.905821,32.447959],[101.905832,32.447525],[101.905844,32.447091],[101.905855,32.446657],[101.905862,32.44638],[101.905866,32.446223],[101.905902,32.445984],[101.905937,32.445744],[101.905972,32.445505],[101.906007,32.445266],[101.906042,32.445027],[101.906078,32.444788],[101.906113,32.444549],[101.906148,32.444309],[101.906196,32.444078],[101.906243,32.443846],[101.906291,32.443615],[101.906338,32.443383],[101.906386,32.443151],[101.906433,32.44292],[101.906481,32.442688],[101.906529,32.442457],[101.90656,32.442192],[101.906591,32.441927],[101.906623,32.441663],[101.906654,32.441398],[101.906674,32.441229],[101.906686,32.441133],[101.906717,32.440869],[101.906748,32.440604],[101.90678,32.440339],[101.906784,32.440101],[101.906789,32.439862],[101.906793,32.439624],[101.906798,32.439385],[101.906803,32.439147],[101.906807,32.438908],[101.906812,32.43867],[101.906816,32.438431],[101.906821,32.438193],[101.906826,32.437954],[101.90683,32.437716],[101.906835,32.437477],[101.906799,32.437217],[101.906763,32.436957],[101.906727,32.436697],[101.906691,32.436437],[101.906655,32.436176],[101.906619,32.435916],[101.906583,32.435656],[101.906547,32.435396],[101.906502,32.435143],[101.906457,32.43489],[101.906412,32.434637],[101.906367,32.434384],[101.906322,32.434132],[101.906278,32.433879],[101.906233,32.433626],[101.906188,32.433373],[101.906155,32.43319],[101.906143,32.43312],[101.906098,32.432867],[101.906053,32.432615],[101.906008,32.432362],[101.905975,32.432087],[101.905942,32.431813],[101.905909,32.431538],[101.905876,32.431263],[101.905843,32.430989],[101.90581,32.430714],[101.905847,32.430361],[101.905884,32.430007],[101.906031,32.42959],[101.906178,32.429172],[101.906285,32.428949],[101.906392,32.428725],[101.906498,32.428501],[101.906605,32.428278],[101.906712,32.428055],[101.906712,32.428054],[101.906713,32.428052],[101.906716,32.428046],[101.906819,32.42783],[101.906945,32.427673],[101.906955,32.427661],[101.906986,32.427623],[101.90715,32.427418],[101.907315,32.427213],[101.907479,32.427009],[101.907643,32.426804],[101.907808,32.426599],[101.907972,32.426395],[101.908155,32.426209],[101.908337,32.426024],[101.90839,32.42597],[101.908403,32.425957],[101.90846,32.425899],[101.90847,32.425889],[101.90852,32.425838],[101.908702,32.425653],[101.908885,32.425467],[101.909067,32.425282],[101.90925,32.425097],[101.909432,32.424911],[101.909615,32.424726],[101.909797,32.42454],[101.90998,32.424355],[101.910162,32.42417],[101.910378,32.424023],[101.910593,32.423877],[101.910809,32.42373],[101.911024,32.423584],[101.91124,32.423437],[101.911455,32.42329],[101.911664,32.423182],[101.911873,32.423073],[101.912081,32.422965],[101.91229,32.422856],[101.912499,32.422748],[101.912707,32.422639],[101.912892,32.422532],[101.912935,32.422506],[101.912952,32.422496],[101.913026,32.422454],[101.913164,32.422373],[101.913173,32.422368],[101.913392,32.42224],[101.91362,32.422107],[101.913848,32.421974],[101.914018,32.421875],[101.914076,32.421841],[101.914385,32.421551],[101.914694,32.42126],[101.915003,32.420969],[101.915174,32.420753],[101.915344,32.420536],[101.915515,32.42032],[101.915685,32.420104],[101.91582,32.419708],[101.915824,32.419459],[101.915828,32.419209],[101.915793,32.418899],[101.915761,32.418672],[101.915619,32.418267],[101.915476,32.417861],[101.915394,32.417627],[101.915333,32.417456],[101.915191,32.417051],[101.915094,32.416787],[101.915009,32.416559],[101.914925,32.41633],[101.914841,32.416102],[101.914757,32.415873],[101.914673,32.415645],[101.914589,32.415416],[101.914505,32.415188],[101.914484,32.415132],[101.914459,32.415065],[101.914453,32.415048],[101.914421,32.41496],[101.914336,32.414731],[101.914252,32.414503],[101.914045,32.414145],[101.913838,32.413787],[101.91366,32.413574],[101.913482,32.41336],[101.913292,32.413177],[101.913102,32.412995],[101.912919,32.412649],[101.912736,32.412303],[101.912692,32.412071],[101.912648,32.411838],[101.912603,32.411606],[101.912559,32.411373],[101.912453,32.411066],[101.912346,32.410799],[101.912214,32.410532],[101.912024,32.41035],[101.911835,32.410168],[101.911637,32.41003],[101.911439,32.409891],[101.911242,32.409753],[101.911044,32.409614],[101.910846,32.409476],[101.910649,32.409337],[101.910451,32.409199],[101.910253,32.40906],[101.910056,32.408922],[101.909858,32.408783],[101.909636,32.408618],[101.909414,32.408453],[101.909192,32.408287],[101.908971,32.408122],[101.908749,32.407956],[101.908527,32.407791],[101.908305,32.407626],[101.908248,32.407583],[101.908083,32.40746],[101.907861,32.407295],[101.907691,32.407168],[101.907666,32.407149],[101.90764,32.407129],[101.907418,32.406964],[101.907196,32.406799],[101.907012,32.406649],[101.906827,32.4065],[101.906643,32.40635],[101.906459,32.406201],[101.906275,32.406051],[101.90609,32.405902],[101.905906,32.405752],[101.905722,32.405603],[101.905538,32.405453],[101.905353,32.405304],[101.905169,32.405155],[101.904985,32.405005],[101.904761,32.404896],[101.904537,32.404787],[101.904254,32.404731],[101.903971,32.404676],[101.903676,32.40463],[101.903522,32.404606],[101.903381,32.404585],[101.903252,32.404574],[101.903147,32.404565],[101.903098,32.40456],[101.902975,32.40455],[101.902816,32.404536],[101.902547,32.404553],[101.902279,32.40457],[101.902106,32.404607],[101.902013,32.404627],[101.901747,32.404685],[101.901584,32.40472],[101.901517,32.404734],[101.901481,32.404742],[101.901467,32.404745],[101.901215,32.404799],[101.901112,32.40484],[101.900913,32.40492],[101.900751,32.404985],[101.90061,32.405041],[101.900283,32.405132],[101.899955,32.405223],[101.899724,32.405259],[101.899493,32.405296],[101.899066,32.405336],[101.898639,32.405377],[101.898395,32.405393],[101.89815,32.405409],[101.897796,32.405438],[101.897442,32.405467],[101.897174,32.405504],[101.896906,32.405542],[101.896555,32.405622],[101.896204,32.405702],[101.89596,32.40576],[101.895717,32.405817],[101.895461,32.405875],[101.895206,32.405932],[101.894891,32.406002],[101.894475,32.406012],[101.894179,32.405956],[101.893907,32.40588],[101.893683,32.40575],[101.893459,32.405621],[101.893182,32.405379],[101.892964,32.405073],[101.892747,32.404767],[101.892565,32.404459],[101.89246,32.404208],[101.892354,32.403957],[101.892248,32.403705],[101.892142,32.403454],[101.892036,32.403202],[101.89193,32.402951],[101.891824,32.402699],[101.891719,32.402448],[101.891593,32.402233],[101.891467,32.402019],[101.891341,32.401804],[101.891215,32.40159],[101.89109,32.401376],[101.890964,32.401161],[101.890838,32.400947],[101.890712,32.400732],[101.890586,32.400518],[101.890461,32.400303],[101.890335,32.400089],[101.890209,32.399875],[101.890046,32.399655],[101.889883,32.399436],[101.88972,32.399217],[101.889557,32.398997],[101.889394,32.398778],[101.889231,32.398559],[101.889068,32.39834],[101.888905,32.39812],[101.888569,32.397831],[101.888233,32.397542],[101.887897,32.397253],[101.887703,32.397107],[101.887509,32.396961],[101.887314,32.396815],[101.88712,32.39667],[101.886908,32.39653],[101.886696,32.39639],[101.886435,32.396271],[101.886175,32.396152],[101.885903,32.396065],[101.885631,32.395978],[101.885368,32.395911],[101.885335,32.395902],[101.885244,32.395878],[101.885124,32.395848],[101.885086,32.395838],[101.885039,32.395826],[101.884791,32.395738],[101.884544,32.39565],[101.884221,32.395523],[101.883899,32.395396],[101.883588,32.395217],[101.883278,32.395038],[101.883141,32.394839],[101.883004,32.394641],[101.882867,32.394442],[101.88273,32.394243],[101.882614,32.394041],[101.882497,32.393839],[101.882381,32.393636],[101.882264,32.393434],[101.882148,32.393231],[101.882031,32.393029],[101.881914,32.392826],[101.881798,32.392624],[101.881681,32.392421],[101.881565,32.392219],[101.881439,32.392003],[101.881313,32.391787],[101.881188,32.391571],[101.881062,32.391355],[101.880936,32.391139],[101.880883,32.391048],[101.88081,32.390924],[101.880801,32.390908],[101.88074,32.390803],[101.880685,32.390708],[101.880559,32.390492],[101.880433,32.390276],[101.88035,32.390133],[101.880307,32.39006],[101.880182,32.389844],[101.880056,32.389628],[101.879877,32.389373],[101.879697,32.389119],[101.879517,32.38896],[101.879337,32.388802],[101.879156,32.388644],[101.878976,32.388485],[101.878796,32.388327],[101.878616,32.388169],[101.878316,32.38801],[101.87797,32.387893],[101.877674,32.387817],[101.877256,32.387745],[101.876819,32.387693],[101.876814,32.387693],[101.876771,32.387682],[101.876717,32.387668],[101.876703,32.387664],[101.876592,32.387635],[101.876371,32.387578],[101.876167,32.387479],[101.875798,32.387301],[101.875586,32.387171],[101.875375,32.387041],[101.87516,32.38687],[101.874946,32.386698],[101.874733,32.386516],[101.87452,32.386334],[101.874318,32.386142],[101.874116,32.385951],[101.873978,32.385827],[101.873919,32.385773],[101.87389,32.385748],[101.873848,32.38571],[101.873665,32.385545],[101.873337,32.385264],[101.873105,32.385161],[101.873026,32.385126],[101.873018,32.385123],[101.873018,32.385122],[101.872938,32.385087],[101.872831,32.385039],[101.872716,32.384988],[101.872456,32.38489],[101.872196,32.384793],[101.871854,32.384545],[101.871852,32.384543],[101.871849,32.384542],[101.871772,32.384486],[101.871772,32.384486],[101.871511,32.384297],[101.871169,32.384049],[101.871085,32.384],[101.870949,32.38392],[101.870897,32.38389],[101.870729,32.383791],[101.870621,32.383728],[101.870554,32.383688],[101.870509,32.383662],[101.870289,32.383533],[101.870069,32.383404],[101.869848,32.383275],[101.869628,32.383146],[101.869408,32.383017],[101.869188,32.382888],[101.868968,32.382759],[101.868748,32.38263],[101.868528,32.3825],[101.868308,32.382371],[101.868087,32.382242],[101.867867,32.382113],[101.867647,32.381984],[101.867597,32.381959],[101.867468,32.381894],[101.867443,32.381881],[101.867371,32.381846],[101.867264,32.381792],[101.867238,32.381779],[101.867033,32.381676],[101.866829,32.381573],[101.866624,32.38147],[101.866419,32.381368],[101.866215,32.381265],[101.86601,32.381162],[101.865805,32.381059],[101.865601,32.380957],[101.865367,32.3809],[101.865132,32.380843],[101.864895,32.380828],[101.864658,32.380813],[101.864422,32.380797],[101.864185,32.380782],[101.863948,32.380766],[101.863711,32.380751],[101.863416,32.380717],[101.863121,32.380661],[101.862895,32.380479],[101.862765,32.380243],[101.862635,32.380008],[101.862501,32.379638],[101.862444,32.379479],[101.862443,32.379474],[101.86242,32.379412],[101.862414,32.379393],[101.862389,32.379323],[101.86234,32.379186],[101.862336,32.379073],[101.862336,32.37907],[101.862332,32.378937],[101.862324,32.378689],[101.862316,32.37844],[101.862309,32.378192],[101.862301,32.377943],[101.862293,32.377695],[101.862285,32.377447],[101.862277,32.377198],[101.862294,32.376938],[101.862312,32.376679],[101.862329,32.376419],[101.862346,32.376159],[101.862363,32.375899],[101.862381,32.37564],[101.862398,32.37538],[101.862415,32.37512],[101.862427,32.374938],[101.862439,32.3747],[101.862451,32.374461],[101.862463,32.374223],[101.862475,32.373984],[101.862487,32.373745],[101.862493,32.373626],[101.862499,32.373507],[101.862503,32.373436],[101.862511,32.373268],[101.862524,32.37303],[101.862536,32.372791],[101.862548,32.372552],[101.862559,32.37212],[101.862565,32.371876],[101.86257,32.371687],[101.862579,32.37132],[101.862581,32.371255],[101.862592,32.370822],[101.862646,32.370603],[101.862701,32.370384],[101.862723,32.370326],[101.862783,32.370172],[101.862814,32.370091],[101.862879,32.36984],[101.862888,32.369811],[101.862937,32.36965],[101.862968,32.369548],[101.863084,32.369339],[101.863149,32.369094],[101.863215,32.368849],[101.86328,32.368603],[101.863333,32.368405],[101.863346,32.368358],[101.863373,32.368131],[101.863377,32.368101],[101.863409,32.367845],[101.863439,32.367599],[101.863497,32.367259],[101.863552,32.366935],[101.863553,32.366933],[101.863555,32.36692],[101.863613,32.36658],[101.86364,32.366294],[101.863666,32.366008],[101.863667,32.365995],[101.863623,32.365553],[101.863578,32.36511],[101.863534,32.364668],[101.863489,32.364226],[101.863466,32.364002],[101.863387,32.363576],[101.863307,32.363151],[101.863227,32.362725],[101.863148,32.3623],[101.863068,32.361874],[101.862977,32.361468],[101.862899,32.361123],[101.862827,32.360804],[101.862821,32.360779],[101.862757,32.360492],[101.862693,32.360206],[101.862693,32.35993],[101.862693,32.359654],[101.862697,32.359392],[101.862702,32.35913],[101.862702,32.358972],[101.862702,32.358683],[101.862636,32.358369],[101.862588,32.358102],[101.862626,32.357769],[101.862759,32.357455],[101.862869,32.357231],[101.862978,32.357008],[101.863035,32.356684],[101.863026,32.356427],[101.862908,32.355998],[101.862855,32.355805],[101.862848,32.355787],[101.862848,32.355786],[101.862848,32.355786],[101.862844,32.355774],[101.862771,32.355566],[101.86276,32.355533],[101.862687,32.355327],[101.862606,32.355138],[101.862606,32.355138],[101.862606,32.355138],[101.862444,32.354762],[101.862282,32.354387],[101.86222,32.354295],[101.862181,32.354238],[101.862043,32.354056],[101.861905,32.353875],[101.861866,32.353832],[101.861791,32.35375],[101.86152,32.35345],[101.861352,32.353286],[101.861184,32.353122],[101.861006,32.352969],[101.860827,32.352815],[101.860513,32.352615],[101.860335,32.352458],[101.86027,32.352244],[101.860263,32.352016],[101.860227,32.351701],[101.860162,32.351579],[101.860121,32.351503],[101.860042,32.351412],[101.859817,32.351167],[101.859593,32.350922],[101.859365,32.350659],[101.859192,32.35046],[101.859019,32.350261],[101.858847,32.350062],[101.858674,32.349863],[101.858448,32.349511],[101.858221,32.349159],[101.857995,32.348808],[101.857768,32.348456],[101.857588,32.348295],[101.857407,32.348133],[101.857226,32.347972],[101.857046,32.34781],[101.856865,32.347648],[101.856685,32.347487],[101.856367,32.347217],[101.856049,32.346948],[101.855731,32.346679],[101.8555,32.346345],[101.85527,32.346012],[101.855039,32.345679],[101.854922,32.345464],[101.854819,32.345274],[101.854805,32.345249],[101.854689,32.345034],[101.854572,32.344819],[101.854437,32.34457],[101.854326,32.344477],[101.854012,32.344242],[101.853892,32.344132],[101.853822,32.344069],[101.853777,32.344028],[101.853591,32.343746],[101.853406,32.343464],[101.853313,32.343232],[101.85322,32.343],[101.853077,32.342714],[101.852934,32.342429],[101.852791,32.342125],[101.852749,32.342036],[101.852656,32.341615],[101.852649,32.341237],[101.852642,32.340858],[101.852599,32.34068],[101.852549,32.340516],[101.852492,32.340409],[101.852406,32.340209],[101.852406,32.340002],[101.852392,32.339873],[101.852335,32.339709],[101.852381,32.339416],[101.852428,32.339124],[101.852499,32.338867],[101.852497,32.338843],[101.85247,32.338574],[101.852473,32.338228],[101.852475,32.337882],[101.852404,32.337654],[101.852379,32.337504],[101.852297,32.337083],[101.852254,32.336958],[101.852198,32.336881],[101.852198,32.33688],[101.852197,32.336879],[101.852111,32.336804],[101.851942,32.336622],[101.851785,32.336343],[101.851627,32.336063],[101.851514,32.335801],[101.851478,32.335605],[101.851556,32.335369]]]]},"properties":{"cp":[102.04239391087305,32.455224568167694],"code":"513233203","name":"查尔玛乡","level":"street","center":[102.04239391087305,32.455224568167694],"fullCode":"513233203000","fullName":"四川省阿坝藏族羌族自治州红原县查尔玛乡","acreageMu":1092920.26,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[101.921,32.5029]}},{"id":"513233204","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.485374,33.088931],[102.485341,33.088785],[102.485348,33.088537],[102.485356,33.088289],[102.485367,33.087863],[102.485377,33.087532],[102.485397,33.087205],[102.485417,33.086878],[102.485309,33.086675],[102.485202,33.086471],[102.48493,33.086183],[102.484751,33.086002],[102.484573,33.08582],[102.484395,33.085675],[102.484216,33.085529],[102.484007,33.085442],[102.483798,33.085355],[102.48338,33.085251],[102.483112,33.085246],[102.482844,33.085241],[102.482449,33.08528],[102.482155,33.085262],[102.48186,33.085245],[102.481496,33.085167],[102.481246,33.08502],[102.481032,33.08466],[102.480954,33.084446],[102.480876,33.084231],[102.480797,33.084005],[102.480719,33.083778],[102.480506,33.083457],[102.480449,33.083371],[102.480314,33.083155],[102.48018,33.08294],[102.480046,33.082712],[102.479912,33.082485],[102.479791,33.082293],[102.47967,33.082102],[102.479455,33.081718],[102.479351,33.081456],[102.479162,33.08113],[102.479138,33.080902],[102.479113,33.080675],[102.479089,33.080447],[102.479064,33.080219],[102.479039,33.079992],[102.479015,33.079764],[102.47899,33.079537],[102.478966,33.079309],[102.478941,33.079082],[102.478916,33.078854],[102.478894,33.078579],[102.478871,33.078305],[102.478849,33.07803],[102.478826,33.077756],[102.478803,33.077481],[102.478781,33.077207],[102.478758,33.076932],[102.478735,33.076658],[102.478713,33.076383],[102.47869,33.076109],[102.478667,33.075834],[102.478645,33.075559],[102.478596,33.075299],[102.478548,33.075038],[102.478502,33.074634],[102.478427,33.074325],[102.478354,33.074104],[102.478281,33.073883],[102.478208,33.073662],[102.478135,33.073441],[102.478062,33.07322],[102.477988,33.072999],[102.477907,33.07279],[102.477826,33.07258],[102.477745,33.07237],[102.477664,33.07216],[102.477582,33.071951],[102.477501,33.071741],[102.47742,33.071531],[102.477339,33.071321],[102.477257,33.071111],[102.477176,33.070902],[102.477092,33.070676],[102.477007,33.070449],[102.476923,33.070223],[102.476839,33.069997],[102.476755,33.069771],[102.47667,33.069545],[102.476586,33.069319],[102.476502,33.069093],[102.476417,33.068867],[102.476333,33.068641],[102.47625,33.068381],[102.476167,33.06812],[102.476084,33.06786],[102.476001,33.0676],[102.475918,33.06734],[102.475835,33.06708],[102.475752,33.066819],[102.475669,33.066559],[102.475586,33.066299],[102.475503,33.066039],[102.47542,33.065779],[102.475337,33.065518],[102.475254,33.065258],[102.475171,33.064998],[102.475042,33.064577],[102.474914,33.064157],[102.474785,33.063736],[102.474694,33.063427],[102.474604,33.063117],[102.474633,33.062859],[102.474662,33.0626],[102.474691,33.062341],[102.47472,33.062082],[102.474788,33.061843],[102.474856,33.061604],[102.474924,33.061364],[102.474992,33.061125],[102.47508,33.060812],[102.475292,33.060436],[102.475504,33.060061],[102.475702,33.059694],[102.475901,33.059327],[102.476099,33.05896],[102.476316,33.058571],[102.476533,33.058181],[102.476623,33.057788],[102.476713,33.057395],[102.476716,33.057121],[102.476719,33.056847],[102.476682,33.05653],[102.476644,33.056213],[102.476607,33.055896],[102.476555,33.055455],[102.476549,33.055064],[102.476543,33.054673],[102.476537,33.054282],[102.476531,33.05406],[102.476521,33.053734],[102.476511,33.053408],[102.476504,33.053084],[102.476496,33.052759],[102.476488,33.052435],[102.47642,33.052174],[102.476351,33.051913],[102.476291,33.051686],[102.476231,33.051459],[102.476115,33.051083],[102.475999,33.050706],[102.47598,33.050644],[102.475833,33.050356],[102.475686,33.050069],[102.47554,33.049781],[102.475349,33.049436],[102.475159,33.049091],[102.47512,33.048987],[102.474994,33.048655],[102.474868,33.048323],[102.474743,33.047991],[102.474637,33.047791],[102.474528,33.047586],[102.474291,33.047212],[102.474008,33.046911],[102.473725,33.046611],[102.473689,33.046536],[102.473642,33.046438],[102.473666,33.046212],[102.47366,33.045849],[102.473654,33.045486],[102.473688,33.045178],[102.473722,33.04487],[102.473749,33.044624],[102.473775,33.044255],[102.473801,33.043886],[102.473827,33.043517],[102.473828,33.043352],[102.47383,33.042991],[102.473833,33.042629],[102.473836,33.042267],[102.473838,33.041905],[102.473856,33.041537],[102.473904,33.041311],[102.474047,33.041067],[102.474172,33.040847],[102.474296,33.040626],[102.474499,33.040406],[102.474701,33.040186],[102.474826,33.039996],[102.474945,33.039764],[102.474998,33.039484],[102.475117,33.039223],[102.475177,33.039116],[102.475179,33.039109],[102.47519,33.03866],[102.475201,33.03829],[102.475211,33.03792],[102.475222,33.037549],[102.475261,33.037297],[102.475299,33.037044],[102.475338,33.036792],[102.475377,33.036539],[102.475416,33.036287],[102.475455,33.036034],[102.475493,33.035782],[102.475532,33.035529],[102.475574,33.035261],[102.475582,33.035207],[102.475637,33.03523],[102.476507,33.035744],[102.477346,33.03604],[102.478298,33.036277],[102.478923,33.036351],[102.478959,33.036352],[102.479841,33.036463],[102.480447,33.03719],[102.480949,33.037666],[102.481976,33.037842],[102.482808,33.038417],[102.483751,33.038964],[102.484244,33.03975],[102.484622,33.04072],[102.484898,33.041378],[102.485531,33.042477],[102.486396,33.043147],[102.487775,33.04392],[102.489316,33.044199],[102.490709,33.044015],[102.490944,33.043984],[102.492318,33.043639],[102.493072,33.043033],[102.494461,33.04216],[102.494835,33.040647],[102.495199,33.039536],[102.495965,33.038496],[102.497306,33.036691],[102.498087,33.035154],[102.499122,33.035051],[102.499675,33.035062],[102.500222,33.035185],[102.500546,33.035083],[102.501299,33.034557],[102.501858,33.034108],[102.502507,33.033851],[102.502766,33.033775],[102.503184,33.033756],[102.503601,33.033792],[102.504169,33.034128],[102.505439,33.034667],[102.506104,33.035005],[102.506864,33.035372],[102.507595,33.03563],[102.508559,33.035622],[102.509431,33.03545],[102.510549,33.035218],[102.511503,33.035064],[102.512043,33.035053],[102.512733,33.035197],[102.51329,33.035489],[102.513953,33.035654],[102.514969,33.036085],[102.515863,33.036276],[102.516349,33.036351],[102.517473,33.036568],[102.518386,33.036997],[102.519404,33.037342],[102.519916,33.037396],[102.522811,33.038062],[102.523696,33.038027],[102.524803,33.03817],[102.525561,33.038272],[102.526239,33.038286],[102.526871,33.038454],[102.527509,33.038449],[102.528049,33.038269],[102.528543,33.038227],[102.529272,33.037913],[102.530071,33.037407],[102.530795,33.036826],[102.531727,33.035888],[102.532038,33.03534],[102.532231,33.034928],[102.53248,33.034849],[102.532688,33.035034],[102.533093,33.035277],[102.533533,33.035438],[102.53399,33.035572],[102.534416,33.035636],[102.534951,33.035924],[102.535533,33.03631],[102.536001,33.036638],[102.537837,33.037931],[102.538575,33.038537],[102.539558,33.039192],[102.540183,33.039411],[102.540789,33.039719],[102.542123,33.040346],[102.543113,33.040937],[102.543737,33.041245],[102.544176,33.041431],[102.544879,33.041406],[102.545443,33.041338],[102.546175,33.041096],[102.54684,33.040735],[102.547299,33.040231],[102.54766,33.039864],[102.54839,33.039701],[102.549396,33.03972],[102.550049,33.039812],[102.550889,33.039908],[102.551708,33.039904],[102.553137,33.039853],[102.553888,33.039809],[102.554891,33.039927],[102.555916,33.040105],[102.556472,33.040293],[102.556985,33.040382],[102.557617,33.040375],[102.559062,33.04058],[102.559556,33.040511],[102.560478,33.040155],[102.561196,33.039597],[102.561634,33.038994],[102.561676,33.038325],[102.56179,33.037558],[102.561623,33.036826],[102.5616,33.035978],[102.561842,33.034839],[102.562602,33.033573],[102.563055,33.032418],[102.563595,33.030334],[102.563754,33.029327],[102.564152,33.027113],[102.564351,33.026233],[102.564996,33.024583],[102.565489,33.023014],[102.565268,33.022255],[102.564832,33.021152],[102.564503,33.019769],[102.564702,33.017414],[102.565032,33.016325],[102.565145,33.01585],[102.565203,33.015718],[102.565244,33.015624],[102.565393,33.015285],[102.565433,33.015195],[102.565508,33.015198],[102.565561,33.015211],[102.565608,33.015223],[102.565636,33.015245],[102.565658,33.015278],[102.565666,33.015309],[102.565667,33.01538],[102.565662,33.015432],[102.565642,33.015471],[102.565607,33.015517],[102.565605,33.01553],[102.565637,33.015558],[102.565684,33.01556],[102.565717,33.01555],[102.56577,33.01552],[102.565802,33.015493],[102.565852,33.015458],[102.565891,33.015428],[102.565952,33.015401],[102.566021,33.015384],[102.566053,33.015381],[102.566192,33.015377],[102.566269,33.015359],[102.566301,33.015328],[102.566314,33.015297],[102.566315,33.015268],[102.566298,33.01524],[102.566274,33.015213],[102.56634,33.015218],[102.566342,33.015157],[102.566316,33.015122],[102.566235,33.015069],[102.566174,33.015041],[102.56612,33.015038],[102.566059,33.015055],[102.565981,33.015083],[102.565927,33.015105],[102.565874,33.015116],[102.565848,33.015115],[102.565803,33.015099],[102.565774,33.015075],[102.56575,33.015037],[102.565722,33.014962],[102.56572,33.014955],[102.565709,33.014878],[102.565705,33.014794],[102.56569,33.014713],[102.565667,33.014665],[102.565623,33.014628],[102.565608,33.014616],[102.56554,33.014581],[102.565446,33.014556],[102.56541,33.014546],[102.56533,33.014531],[102.565257,33.014509],[102.565201,33.014488],[102.565159,33.014465],[102.565139,33.014437],[102.565127,33.014387],[102.56515,33.014316],[102.565187,33.014265],[102.56524,33.014238],[102.565273,33.014237],[102.56535,33.014261],[102.565421,33.01431],[102.565487,33.014334],[102.56553,33.014338],[102.565605,33.014317],[102.56566,33.01428],[102.565718,33.014212],[102.565756,33.014174],[102.565796,33.014128],[102.565832,33.014114],[102.565868,33.014113],[102.565929,33.014147],[102.566033,33.014201],[102.5661,33.014221],[102.566184,33.014236],[102.566269,33.01423],[102.566342,33.014224],[102.566406,33.014238],[102.566455,33.014276],[102.566501,33.01421],[102.56654,33.0142],[102.566559,33.014235],[102.566561,33.014264],[102.566558,33.014317],[102.566541,33.014371],[102.566525,33.01441],[102.566502,33.014452],[102.566472,33.014505],[102.566449,33.014539],[102.566419,33.014589],[102.566413,33.014636],[102.566427,33.014654],[102.566458,33.014667],[102.566533,33.01467],[102.566574,33.014662],[102.566625,33.014637],[102.566657,33.014613],[102.566684,33.014584],[102.56671,33.014548],[102.566742,33.014499],[102.566751,33.014475],[102.566762,33.014449],[102.566762,33.014384],[102.566753,33.014335],[102.566738,33.014279],[102.56672,33.014238],[102.566706,33.014202],[102.566684,33.014162],[102.566687,33.014128],[102.566694,33.014109],[102.56671,33.014092],[102.566746,33.014059],[102.566768,33.014035],[102.566794,33.014014],[102.566837,33.014003],[102.566886,33.014005],[102.56692,33.014019],[102.566961,33.014052],[102.566988,33.014081],[102.567028,33.014119],[102.567072,33.014156],[102.567113,33.014192],[102.567205,33.014274],[102.567256,33.014326],[102.567285,33.01437],[102.567332,33.014434],[102.567387,33.014464],[102.567442,33.014478],[102.567501,33.014482],[102.56754,33.014474],[102.567603,33.014452],[102.567646,33.014432],[102.567725,33.014424],[102.567768,33.014426],[102.567805,33.01443],[102.567845,33.01444],[102.56788,33.014448],[102.567914,33.014463],[102.567944,33.014481],[102.567966,33.014504],[102.567994,33.014572],[102.567994,33.014617],[102.567991,33.014652],[102.56796,33.014701],[102.567908,33.014749],[102.567853,33.014792],[102.567788,33.014833],[102.567713,33.014859],[102.567706,33.014862],[102.567675,33.014873],[102.567639,33.014903],[102.567637,33.014943],[102.567647,33.014967],[102.567668,33.014986],[102.567695,33.015012],[102.567728,33.015039],[102.567748,33.015072],[102.567799,33.015115],[102.567837,33.01514],[102.567889,33.015149],[102.567947,33.015145],[102.567987,33.015124],[102.568009,33.015103],[102.568033,33.015064],[102.568051,33.015022],[102.568057,33.01498],[102.56807,33.014907],[102.568073,33.01486],[102.568082,33.014828],[102.568115,33.014775],[102.568146,33.014746],[102.568178,33.014721],[102.568183,33.014718],[102.568234,33.01469],[102.568272,33.01468],[102.568333,33.01469],[102.568385,33.014721],[102.568425,33.014737],[102.568571,33.014829],[102.568597,33.014883],[102.568605,33.014951],[102.568596,33.015006],[102.568559,33.015057],[102.568512,33.015102],[102.568484,33.015122],[102.568456,33.015143],[102.568398,33.015176],[102.568353,33.015191],[102.568317,33.015215],[102.568267,33.015253],[102.568229,33.015291],[102.568249,33.015338],[102.568283,33.015382],[102.568316,33.015398],[102.56837,33.015403],[102.568408,33.015372],[102.568414,33.015368],[102.568466,33.015337],[102.568536,33.015276],[102.56859,33.015241],[102.568607,33.015225],[102.568662,33.01519],[102.568715,33.015156],[102.568759,33.015133],[102.568801,33.015106],[102.56884,33.015082],[102.568899,33.015046],[102.568917,33.015033],[102.569055,33.015019],[102.569089,33.015016],[102.569146,33.01501],[102.569426,33.014529],[102.569787,33.014311],[102.570199,33.014242],[102.57059,33.014177],[102.570725,33.014127],[102.570748,33.014119],[102.570984,33.014032],[102.571029,33.014015],[102.571149,33.013971],[102.571212,33.013973],[102.571312,33.013987],[102.571378,33.013999],[102.57148,33.014024],[102.57152,33.014066],[102.571586,33.014136],[102.571648,33.014213],[102.571679,33.014289],[102.571686,33.014315],[102.571705,33.014382],[102.571895,33.014331],[102.572006,33.014429],[102.571682,33.01491],[102.571574,33.015164],[102.571572,33.015169],[102.571586,33.01517],[102.57161,33.015172],[102.57163,33.015177],[102.571651,33.015183],[102.571701,33.015202],[102.571753,33.015256],[102.571792,33.015319],[102.571839,33.015361],[102.571897,33.015427],[102.571952,33.015495],[102.571989,33.015561],[102.571998,33.015576],[102.572005,33.015578],[102.57224,33.015632],[102.572479,33.015843],[102.57249,33.015853],[102.572602,33.015851],[102.572703,33.015863],[102.572802,33.015895],[102.572828,33.015924],[102.572855,33.015967],[102.572873,33.015994],[102.572882,33.016036],[102.572882,33.016083],[102.572857,33.016122],[102.572807,33.016178],[102.572758,33.016214],[102.572672,33.016248],[102.572706,33.016465],[102.572606,33.016875],[102.572569,33.016975],[102.572567,33.01698],[102.572514,33.017123],[102.57251,33.017135],[102.572587,33.017165],[102.572601,33.01717],[102.572818,33.017254],[102.573309,33.017151],[102.573531,33.017193],[102.573914,33.017799],[102.574333,33.018077],[102.574453,33.018156],[102.574533,33.01821],[102.574612,33.018262],[102.574703,33.018313],[102.575218,33.018598],[102.57523,33.018604],[102.575247,33.018595],[102.575282,33.018579],[102.575326,33.01858],[102.575384,33.01858],[102.57547,33.018581],[102.575537,33.018614],[102.57562,33.018684],[102.575653,33.018748],[102.575669,33.018787],[102.575929,33.018887],[102.576139,33.01934],[102.576176,33.019603],[102.576066,33.019799],[102.575989,33.019937],[102.57597,33.019953],[102.575993,33.019987],[102.57599,33.020037],[102.575967,33.020082],[102.575907,33.02015],[102.575843,33.020201],[102.575753,33.020236],[102.575708,33.020251],[102.57564,33.020246],[102.575625,33.020258],[102.575533,33.02034],[102.575489,33.020564],[102.575482,33.020602],[102.575479,33.020714],[102.575467,33.021125],[102.575115,33.021513],[102.575101,33.021529],[102.575107,33.021604],[102.575111,33.021674],[102.57511,33.021715],[102.575103,33.021787],[102.57509,33.021827],[102.575045,33.021888],[102.574983,33.021913],[102.574898,33.021918],[102.574812,33.021904],[102.574724,33.021856],[102.574624,33.021791],[102.574606,33.021779],[102.574594,33.021766],[102.57456,33.021781],[102.574404,33.021932],[102.574332,33.022001],[102.574501,33.022342],[102.574928,33.022949],[102.574919,33.023286],[102.574688,33.023618],[102.574313,33.024323],[102.574305,33.024612],[102.574305,33.024622],[102.574304,33.024659],[102.574358,33.024698],[102.574415,33.024738],[102.574522,33.024814],[102.574835,33.024745],[102.575447,33.024217],[102.575472,33.024195],[102.575488,33.024185],[102.575602,33.02411],[102.57565,33.024079],[102.57597,33.023868],[102.576169,33.023872],[102.576459,33.023878],[102.576574,33.024062],[102.576519,33.024115],[102.576576,33.024175],[102.576621,33.024138],[102.576672,33.024219],[102.576877,33.024822],[102.57682,33.025308],[102.577393,33.025468],[102.577466,33.025474],[102.577488,33.025476],[102.577502,33.025471],[102.577597,33.025435],[102.577719,33.025382],[102.577846,33.025382],[102.577993,33.025375],[102.578068,33.025354],[102.578151,33.0253],[102.578271,33.025223],[102.578381,33.025173],[102.578465,33.025182],[102.578554,33.02523],[102.578613,33.025312],[102.578625,33.025407],[102.578603,33.025482],[102.578573,33.025518],[102.578536,33.025544],[102.578459,33.025577],[102.578394,33.025597],[102.578412,33.025601],[102.578422,33.025619],[102.578624,33.025979],[102.578856,33.026539],[102.578865,33.026561],[102.578919,33.0266],[102.578967,33.026692],[102.578958,33.026736],[102.578945,33.026754],[102.578999,33.026885],[102.579209,33.027339],[102.579322,33.027438],[102.579386,33.027371],[102.579474,33.027289],[102.579553,33.027281],[102.579635,33.027288],[102.5797,33.027316],[102.579741,33.02735],[102.579766,33.027376],[102.579776,33.027395],[102.579781,33.027391],[102.579831,33.027351],[102.580229,33.027433],[102.580349,33.027715],[102.580365,33.027754],[102.580407,33.027851],[102.580409,33.027857],[102.580438,33.027924],[102.580833,33.028082],[102.58106,33.027936],[102.581295,33.027454],[102.5814,33.026857],[102.581564,33.02686],[102.581712,33.026863],[102.5818,33.026865],[102.581869,33.02692],[102.581881,33.026929],[102.581881,33.026973],[102.581879,33.027013],[102.581875,33.027071],[102.58188,33.027106],[102.581897,33.027129],[102.58193,33.027138],[102.582007,33.02714],[102.58206,33.027141],[102.582107,33.027138],[102.582137,33.027135],[102.582155,33.027137],[102.582207,33.027148],[102.582294,33.027218],[102.582492,33.027366],[102.58253,33.027407],[102.582562,33.027427],[102.582632,33.027511],[102.582682,33.027584],[102.582714,33.027629],[102.582759,33.027683],[102.582788,33.027724],[102.582816,33.027764],[102.582829,33.027774],[102.58285,33.027768],[102.582867,33.027746],[102.582872,33.027719],[102.582876,33.027658],[102.582875,33.027625],[102.582891,33.027635],[102.583036,33.0277],[102.583051,33.027706],[102.583154,33.027752],[102.583203,33.027803],[102.583413,33.028019],[102.583445,33.028507],[102.583558,33.028618],[102.58373,33.028787],[102.583777,33.028794],[102.583863,33.028828],[102.583938,33.028918],[102.584161,33.028982],[102.584225,33.029],[102.58454,33.02909],[102.58478,33.029044],[102.584898,33.029022],[102.585206,33.028996],[102.585243,33.028993],[102.585345,33.028985],[102.585759,33.028951],[102.585767,33.028951],[102.586011,33.028931],[102.586039,33.028928],[102.586204,33.028913],[102.586367,33.028897],[102.586502,33.028885],[102.586629,33.028873],[102.587086,33.02883],[102.587403,33.0288],[102.587423,33.028798],[102.58766,33.028776],[102.587814,33.028606],[102.588027,33.028371],[102.58808,33.028104],[102.588233,33.027326],[102.588196,33.027087],[102.588099,33.026455],[102.588082,33.02635],[102.587868,33.025627],[102.587867,33.025622],[102.587835,33.025516],[102.587821,33.025516],[102.587808,33.025504],[102.587795,33.025484],[102.587779,33.025436],[102.587752,33.025364],[102.587722,33.025307],[102.587693,33.025238],[102.587682,33.025154],[102.58767,33.025072],[102.587637,33.024948],[102.587601,33.024853],[102.587576,33.024778],[102.587537,33.024649],[102.587518,33.024537],[102.587511,33.024436],[102.587522,33.02426],[102.587533,33.02416],[102.587567,33.024012],[102.587602,33.023894],[102.58767,33.023781],[102.587689,33.023667],[102.587717,33.023529],[102.587717,33.023498],[102.587708,33.023479],[102.587684,33.023436],[102.587651,33.023372],[102.587611,33.0233],[102.587566,33.023207],[102.587534,33.023077],[102.587502,33.022953],[102.587477,33.022865],[102.587484,33.022815],[102.587525,33.022743],[102.587584,33.022693],[102.587663,33.022666],[102.587759,33.022624],[102.587813,33.022599],[102.587852,33.022603],[102.587872,33.022622],[102.587871,33.022651],[102.587857,33.022688],[102.587833,33.022713],[102.587836,33.022727],[102.587852,33.022736],[102.587876,33.022744],[102.587911,33.02274],[102.587944,33.02273],[102.587992,33.022703],[102.588098,33.022645],[102.588169,33.022586],[102.5882,33.022549],[102.5882,33.02253],[102.588183,33.02251],[102.588143,33.022492],[102.588106,33.022475],[102.588079,33.022449],[102.588085,33.022421],[102.5881,33.022403],[102.588144,33.022386],[102.588218,33.022382],[102.588312,33.022383],[102.588379,33.022393],[102.588426,33.022415],[102.588438,33.022402],[102.588579,33.022258],[102.58907,33.022159],[102.589152,33.022143],[102.589212,33.022163],[102.589334,33.022195],[102.589411,33.022213],[102.589576,33.022218],[102.589647,33.022218],[102.589704,33.022208],[102.589786,33.022188],[102.589907,33.022161],[102.590051,33.02212],[102.590142,33.022091],[102.590266,33.02204],[102.590511,33.021851],[102.591144,33.021708],[102.591161,33.021702],[102.591167,33.021699],[102.591902,33.021417],[102.592401,33.021225],[102.593002,33.020995],[102.59303,33.020981],[102.5936,33.020705],[102.593784,33.020616],[102.594183,33.020423],[102.594985,33.020034],[102.595286,33.019805],[102.595949,33.019299],[102.596136,33.019157],[102.596736,33.018017],[102.596761,33.017969],[102.596793,33.017892],[102.596987,33.017422],[102.597047,33.017276],[102.59709,33.01717],[102.597085,33.017167],[102.597084,33.017153],[102.597096,33.017099],[102.597126,33.01699],[102.597157,33.016801],[102.597174,33.016722],[102.597173,33.016653],[102.597178,33.016596],[102.597201,33.016546],[102.597226,33.016476],[102.597221,33.016398],[102.597217,33.016297],[102.597218,33.016187],[102.597169,33.015997],[102.597145,33.015832],[102.597124,33.015689],[102.597101,33.015493],[102.597057,33.015335],[102.597028,33.015083],[102.596998,33.014977],[102.596958,33.014857],[102.59689,33.014527],[102.596855,33.014254],[102.5968,33.013921],[102.596793,33.01388],[102.59678,33.013734],[102.596735,33.013516],[102.596723,33.013455],[102.596676,33.01334],[102.596637,33.01322],[102.596618,33.013132],[102.596619,33.012985],[102.5966,33.012861],[102.596583,33.012755],[102.596582,33.012722],[102.596587,33.01271],[102.596602,33.012707],[102.596501,33.012145],[102.596487,33.012067],[102.596486,33.012062],[102.596409,33.011956],[102.596377,33.011896],[102.596351,33.011828],[102.596329,33.011745],[102.596306,33.01165],[102.596279,33.011572],[102.596241,33.01145],[102.596222,33.011359],[102.596203,33.01129],[102.596194,33.0112],[102.596176,33.011106],[102.596159,33.011058],[102.596128,33.011012],[102.596117,33.010984],[102.596114,33.010931],[102.596111,33.010826],[102.596103,33.010737],[102.596067,33.010644],[102.596038,33.010551],[102.59602,33.010378],[102.596016,33.010342],[102.595964,33.009979],[102.595842,33.009421],[102.59581,33.00918],[102.595808,33.009091],[102.595796,33.008998],[102.595795,33.008862],[102.595803,33.00879],[102.595822,33.008722],[102.595851,33.008616],[102.595873,33.00855],[102.595979,33.008387],[102.596019,33.008347],[102.596058,33.00829],[102.596133,33.008224],[102.596165,33.008181],[102.59621,33.008151],[102.596247,33.008125],[102.596271,33.008089],[102.596302,33.00806],[102.596341,33.008054],[102.596361,33.008056],[102.596374,33.008063],[102.596502,33.007872],[102.597201,33.007266],[102.597291,33.007188],[102.597632,33.006829],[102.597681,33.006776],[102.597774,33.006678],[102.597988,33.006453],[102.598268,33.006157],[102.598568,33.005621],[102.598841,33.005135],[102.599175,33.004538],[102.599514,33.003933],[102.599699,33.003498],[102.599772,33.003328],[102.599868,33.003102],[102.600175,33.002382],[102.600288,33.002117],[102.600337,33.002],[102.600242,33.001836],[102.600198,33.001761],[102.599949,33.00133],[102.599487,33.000535],[102.599261,32.999641],[102.599114,32.999063],[102.599064,32.998867],[102.599032,32.998739],[102.599097,32.998698],[102.598982,32.998588],[102.598888,32.998445],[102.598769,32.998313],[102.597865,32.996847],[102.597802,32.996745],[102.597653,32.996432],[102.597535,32.996184],[102.59753,32.996173],[102.597496,32.996102],[102.597438,32.99598],[102.597539,32.995619],[102.597571,32.995504],[102.597736,32.995108],[102.597751,32.994957],[102.597837,32.994828],[102.597933,32.994676],[102.597978,32.994587],[102.59798,32.994457],[102.597985,32.994385],[102.597985,32.994376],[102.598043,32.994268],[102.598142,32.994094],[102.598145,32.994089],[102.598198,32.994014],[102.5982,32.99401],[102.598241,32.993894],[102.598252,32.99382],[102.598252,32.993758],[102.59824,32.993684],[102.598225,32.993622],[102.598197,32.993556],[102.598165,32.993482],[102.598135,32.993447],[102.598473,32.99306],[102.598643,32.992707],[102.598882,32.99221],[102.599116,32.991723],[102.599161,32.991631],[102.59971,32.991318],[102.599707,32.991307],[102.599715,32.991277],[102.599762,32.991106],[102.5998,32.991002],[102.599868,32.990857],[102.599935,32.990717],[102.600071,32.990565],[102.600144,32.990448],[102.600212,32.990406],[102.600289,32.990359],[102.600339,32.990322],[102.600399,32.990296],[102.600477,32.990284],[102.600506,32.990336],[102.600635,32.990232],[102.601333,32.989671],[102.60139,32.989583],[102.60146,32.989478],[102.601489,32.989433],[102.601541,32.989354],[102.601927,32.988769],[102.602002,32.988656],[102.602137,32.988388],[102.602371,32.987928],[102.602399,32.987871],[102.602545,32.987584],[102.602738,32.986789],[102.60284,32.986373],[102.602852,32.986324],[102.602978,32.985807],[102.60364,32.985062],[102.603682,32.98503],[102.603843,32.984905],[102.604081,32.984722],[102.604093,32.984712],[102.604134,32.984681],[102.604552,32.984358],[102.60496,32.984044],[102.605213,32.983848],[102.605268,32.983813],[102.606012,32.983334],[102.606602,32.982955],[102.607282,32.982517],[102.607396,32.982444],[102.6075,32.982377],[102.607528,32.982322],[102.607575,32.982231],[102.607727,32.981937],[102.607807,32.981784],[102.607811,32.981776],[102.607824,32.98175],[102.607817,32.981747],[102.607814,32.981738],[102.607814,32.981721],[102.607797,32.981674],[102.607784,32.981641],[102.607752,32.981596],[102.607727,32.981564],[102.607714,32.981534],[102.607699,32.981491],[102.607691,32.981449],[102.607691,32.981409],[102.607697,32.981342],[102.60771,32.981293],[102.607782,32.981204],[102.607824,32.98115],[102.60785,32.981107],[102.607863,32.981065],[102.607859,32.981006],[102.607853,32.980936],[102.607853,32.980869],[102.607853,32.980823],[102.607876,32.980759],[102.6079,32.980714],[102.607973,32.980628],[102.608028,32.980565],[102.608067,32.980495],[102.608097,32.980417],[102.608111,32.980371],[102.608148,32.980306],[102.608179,32.980261],[102.608216,32.980212],[102.608255,32.98014],[102.608276,32.980093],[102.608318,32.980065],[102.608326,32.980026],[102.60836,32.979838],[102.608452,32.979338],[102.608634,32.978352],[102.608636,32.978341],[102.608683,32.978282],[102.609001,32.977883],[102.609661,32.977056],[102.609699,32.977009],[102.610059,32.976693],[102.610081,32.976673],[102.610133,32.976627],[102.611094,32.975783],[102.611145,32.975738],[102.61265,32.974684],[102.612817,32.973998],[102.612939,32.9735],[102.612956,32.972851],[102.612603,32.972121],[102.612486,32.971878],[102.612348,32.971595],[102.612087,32.971478],[102.611207,32.971086],[102.611063,32.971029],[102.609539,32.970427],[102.609448,32.970391],[102.609047,32.970233],[102.609021,32.970216],[102.608589,32.969944],[102.608164,32.969675],[102.60807,32.969515],[102.608028,32.969443],[102.607989,32.969376],[102.60784,32.969122],[102.607427,32.968416],[102.607465,32.968105],[102.60747,32.968069],[102.607479,32.967994],[102.607494,32.967873],[102.607592,32.967067],[102.608788,32.965575],[102.609314,32.96527],[102.609357,32.965245],[102.609366,32.965239],[102.609626,32.965088],[102.609643,32.965079],[102.609676,32.96506],[102.609724,32.965032],[102.609961,32.964894],[102.610591,32.964906],[102.610987,32.964914],[102.611173,32.964917],[102.611051,32.964849],[102.611023,32.964837],[102.611,32.964814],[102.611003,32.96479],[102.611042,32.964775],[102.611113,32.964775],[102.611178,32.964775],[102.611226,32.964791],[102.611283,32.964827],[102.611354,32.964876],[102.611411,32.964929],[102.611433,32.964949],[102.611508,32.964992],[102.611579,32.965007],[102.611763,32.964986],[102.611856,32.964984],[102.611934,32.964987],[102.61198,32.964988],[102.612054,32.964968],[102.612068,32.964969],[102.612279,32.964982],[102.612445,32.964992],[102.612526,32.964997],[102.613554,32.964913],[102.614134,32.964866],[102.6142,32.964794],[102.614205,32.96479],[102.614255,32.964736],[102.614498,32.964475],[102.614554,32.964459],[102.61458,32.964406],[102.614576,32.96435],[102.614576,32.964278],[102.614606,32.964203],[102.614633,32.964126],[102.614661,32.964044],[102.614694,32.963962],[102.614731,32.963871],[102.614782,32.963811],[102.614795,32.96374],[102.614801,32.963688],[102.614816,32.963624],[102.614839,32.963528],[102.614901,32.963397],[102.614914,32.963326],[102.614924,32.963263],[102.61495,32.963164],[102.614992,32.963075],[102.614993,32.963056],[102.614996,32.963009],[102.615004,32.962926],[102.615008,32.96285],[102.615013,32.962764],[102.615004,32.962685],[102.61501,32.962636],[102.615045,32.962578],[102.615087,32.962527],[102.615101,32.96249],[102.615068,32.962424],[102.61506,32.962364],[102.615063,32.962228],[102.615074,32.962184],[102.61514,32.962163],[102.615175,32.962145],[102.615148,32.962077],[102.615143,32.962032],[102.615145,32.961999],[102.615167,32.961966],[102.615228,32.961926],[102.615258,32.961906],[102.615264,32.961873],[102.61569,32.962006],[102.615704,32.962011],[102.615916,32.962077],[102.615949,32.962087],[102.61794,32.962709],[102.618418,32.962804],[102.618494,32.962819],[102.619296,32.962979],[102.619415,32.963002],[102.619534,32.963026],[102.619545,32.963028],[102.619898,32.963098],[102.621186,32.963584],[102.621599,32.963739],[102.621695,32.963776],[102.621943,32.963869],[102.62215,32.963947],[102.622206,32.963968],[102.622228,32.963976],[102.622259,32.963988],[102.622854,32.964212],[102.624804,32.965004],[102.625129,32.96511],[102.62515,32.965116],[102.625202,32.965133],[102.625251,32.965149],[102.625517,32.965235],[102.625633,32.965272],[102.627837,32.965465],[102.628738,32.965587],[102.629563,32.965699],[102.631407,32.965986],[102.633611,32.965652],[102.635503,32.965123],[102.637224,32.964289],[102.638671,32.963675],[102.640033,32.962872],[102.641353,32.961992],[102.642505,32.960695],[102.643612,32.959435],[102.644205,32.958994],[102.644971,32.958744],[102.645697,32.958343],[102.646026,32.957747],[102.647238,32.957543],[102.649124,32.95724],[102.650025,32.956955],[102.651058,32.956786],[102.652834,32.957234],[102.653898,32.957593],[102.655903,32.95782],[102.657777,32.957968],[102.658295,32.958001],[102.65869,32.958026],[102.659473,32.958075],[102.661343,32.958374],[102.66317,32.958597],[102.664637,32.958888],[102.665795,32.95906],[102.66674,32.958814],[102.667381,32.958529],[102.668662,32.960426],[102.669856,32.962223],[102.670758,32.962785],[102.672389,32.964408],[102.673007,32.965511],[102.673966,32.965984],[102.676001,32.966568],[102.677882,32.966876],[102.678521,32.967068],[102.678685,32.967118],[102.680498,32.96797],[102.681946,32.968316],[102.68301,32.968881],[102.683574,32.970029],[102.683979,32.971037],[102.684403,32.973411],[102.685128,32.974561],[102.685795,32.975893],[102.686783,32.977321],[102.687721,32.978612],[102.688071,32.979665],[102.689113,32.981094],[102.690873,32.9819],[102.692481,32.982339],[102.693452,32.982357],[102.694762,32.98179],[102.695747,32.981262],[102.695866,32.981138],[102.695949,32.981122],[102.69608,32.981094],[102.696233,32.98102],[102.696396,32.98088],[102.696599,32.98065],[102.696966,32.980321],[102.697073,32.980172],[102.697083,32.98012],[102.697123,32.98001],[102.697098,32.979899],[102.697029,32.979737],[102.697309,32.97929],[102.697858,32.978936],[102.698725,32.978816],[102.699548,32.978648],[102.699627,32.978666],[102.699777,32.978697],[102.700037,32.978715],[102.700187,32.978722],[102.700314,32.978727],[102.700434,32.978724],[102.700581,32.978702],[102.70066,32.97867],[102.700754,32.978623],[102.700955,32.978536],[102.701082,32.978495],[102.701226,32.978445],[102.701421,32.978385],[102.701515,32.978352],[102.701665,32.978326],[102.701746,32.97832],[102.701882,32.978319],[102.701913,32.978323],[102.702012,32.978316],[102.703087,32.978242],[102.703451,32.978201],[102.703688,32.978167],[102.703748,32.978161],[102.704193,32.97812],[102.704448,32.978073],[102.704826,32.978018],[102.705015,32.978002],[102.705063,32.977983],[102.705176,32.977944],[102.705261,32.977908],[102.705345,32.977862],[102.705402,32.977816],[102.705455,32.977756],[102.705514,32.977692],[102.705592,32.977591],[102.705654,32.977498],[102.705701,32.977438],[102.705777,32.977349],[102.705929,32.977236],[102.706028,32.977181],[102.706146,32.977142],[102.706271,32.977108],[102.706395,32.977078],[102.706595,32.977039],[102.706776,32.976986],[102.706875,32.97694],[102.706993,32.976875],[102.7071,32.976786],[102.707246,32.976649],[102.707364,32.976534],[102.707446,32.976455],[102.707496,32.97638],[102.707563,32.976304],[102.707645,32.97626],[102.707797,32.976183],[102.707851,32.97613],[102.70789,32.976049],[102.70794,32.975956],[102.708021,32.975874],[102.708083,32.975847],[102.708153,32.975752],[102.708215,32.975644],[102.708262,32.97557],[102.708321,32.975493],[102.708383,32.975431],[102.708473,32.975335],[102.708599,32.975219],[102.708675,32.975162],[102.708742,32.975111],[102.708855,32.975044],[102.708968,32.975],[102.709075,32.974973],[102.7092,32.974968],[102.709358,32.974967],[102.709545,32.975005],[102.70956,32.975008],[102.709755,32.97507],[102.709911,32.975114],[102.710064,32.975178],[102.710224,32.975261],[102.710373,32.97535],[102.710505,32.975432],[102.710686,32.975545],[102.71072,32.975526],[102.7109,32.975471],[102.711006,32.975453],[102.711225,32.975434],[102.711476,32.975414],[102.711653,32.975396],[102.711836,32.975377],[102.71196,32.975352],[102.71213,32.975309],[102.712468,32.975191],[102.712683,32.975071],[102.712852,32.97495],[102.713024,32.97483],[102.713334,32.974629],[102.713465,32.974586],[102.713638,32.974546],[102.713804,32.974495],[102.714033,32.974407],[102.714198,32.974334],[102.714286,32.974262],[102.714346,32.974178],[102.714388,32.974089],[102.714387,32.974044],[102.714425,32.973969],[102.714527,32.973873],[102.714594,32.973861],[102.714697,32.973869],[102.714828,32.973904],[102.714963,32.973957],[102.715048,32.974001],[102.715319,32.974173],[102.715432,32.974247],[102.715685,32.974424],[102.715777,32.974477],[102.715951,32.974551],[102.716065,32.974607],[102.716239,32.974666],[102.716452,32.974739],[102.716675,32.974797],[102.716814,32.974844],[102.71697,32.974912],[102.717108,32.974968],[102.717218,32.975006],[102.717499,32.975141],[102.717655,32.975236],[102.717801,32.975354],[102.717933,32.975476],[102.718022,32.975586],[102.71819,32.975776],[102.71824,32.975859],[102.718309,32.975966],[102.718401,32.976016],[102.718468,32.976039],[102.718649,32.976068],[102.718776,32.976068],[102.718918,32.976058],[102.719013,32.976066],[102.719176,32.976113],[102.719279,32.97616],[102.719386,32.976219],[102.719532,32.976287],[102.719667,32.976334],[102.719759,32.976366],[102.719823,32.976401],[102.719858,32.976449],[102.719887,32.976517],[102.719902,32.976604],[102.719917,32.976684],[102.719931,32.976726],[102.719953,32.97675],[102.720045,32.976809],[102.72012,32.976841],[102.720233,32.976873],[102.720347,32.976896],[102.720489,32.976955],[102.720574,32.977035],[102.720646,32.977139],[102.72075,32.977303],[102.7208,32.977377],[102.720875,32.977466],[102.720936,32.977522],[102.721003,32.977576],[102.721106,32.977641],[102.721164,32.977697],[102.721189,32.97775],[102.721189,32.977813],[102.721188,32.977826],[102.721282,32.977901],[102.721369,32.977982],[102.721563,32.978086],[102.721599,32.978114],[102.721593,32.978136],[102.721591,32.978159],[102.721591,32.97819],[102.721607,32.978197],[102.721657,32.978226],[102.721664,32.97826],[102.72168,32.978298],[102.721687,32.978327],[102.721706,32.97834],[102.72176,32.97834],[102.721801,32.978332],[102.721843,32.978325],[102.721848,32.978324],[102.721873,32.978343],[102.721873,32.978358],[102.721871,32.978381],[102.721851,32.978402],[102.721845,32.978421],[102.721874,32.978432],[102.721924,32.978432],[102.721936,32.97843],[102.721995,32.978499],[102.722054,32.978557],[102.722056,32.97858],[102.722057,32.978607],[102.72205,32.978643],[102.722039,32.978682],[102.722023,32.978703],[102.722008,32.978724],[102.72199,32.978733],[102.72196,32.978739],[102.721949,32.978745],[102.721965,32.978768],[102.721986,32.978785],[102.722008,32.978806],[102.722027,32.978829],[102.722028,32.978843],[102.722032,32.978871],[102.722016,32.97888],[102.721986,32.97888],[102.721974,32.978862],[102.721961,32.978842],[102.721941,32.978816],[102.721918,32.978793],[102.72189,32.978782],[102.721823,32.97878],[102.721771,32.978788],[102.721721,32.978794],[102.721712,32.978813],[102.721737,32.978828],[102.72176,32.978861],[102.721773,32.97887],[102.721776,32.978873],[102.721713,32.978899],[102.721774,32.978931],[102.721718,32.978952],[102.7216,32.978993],[102.7216,32.978999],[102.721602,32.979054],[102.721838,32.980377],[102.721906,32.981925],[102.722161,32.982521],[102.723982,32.983055],[102.726878,32.98379],[102.72754,32.983958],[102.727843,32.984035],[102.729457,32.984246],[102.730261,32.984443],[102.730849,32.984681],[102.730877,32.98523],[102.73089,32.985484],[102.730894,32.985565],[102.730902,32.985731],[102.730921,32.986092],[102.73105,32.987368],[102.731337,32.988351],[102.731398,32.988557],[102.73255,32.989943],[102.73399,32.990606],[102.734674,32.991301],[102.735613,32.992591],[102.736182,32.993557],[102.737294,32.994396],[102.739037,32.995883],[102.740258,32.996724],[102.741226,32.996832],[102.741881,32.996571],[102.741919,32.995071],[102.742054,32.994027],[102.74248,32.993057],[102.742569,32.992854],[102.743522,32.991461],[102.743771,32.990192],[102.744401,32.988747],[102.744713,32.98707],[102.74496,32.985846],[102.74509,32.984984],[102.745489,32.984173],[102.745726,32.983313],[102.745721,32.981402],[102.74575,32.980266],[102.746421,32.979322],[102.747383,32.977566],[102.748527,32.976023],[102.748573,32.97596],[102.748677,32.97582],[102.748602,32.975817],[102.748514,32.975799],[102.748427,32.975771],[102.748302,32.97573],[102.74822,32.975692],[102.748206,32.975637],[102.748201,32.975555],[102.748229,32.975442],[102.748291,32.975306],[102.748423,32.975139],[102.748536,32.975063],[102.748577,32.975041],[102.74874,32.974867],[102.748886,32.974742],[102.749074,32.974619],[102.749236,32.974514],[102.749238,32.974513],[102.749338,32.974456],[102.749484,32.974377],[102.749566,32.974292],[102.74959,32.974253],[102.749638,32.974219],[102.74975,32.9742],[102.749773,32.974205],[102.749867,32.974226],[102.749954,32.974109],[102.752386,32.971833],[102.753006,32.97119],[102.753331,32.970853],[102.754014,32.970145],[102.754325,32.969821],[102.755924,32.968485],[102.756612,32.967712],[102.756631,32.967691],[102.75665,32.96767],[102.756662,32.967656],[102.756709,32.967604],[102.756723,32.967588],[102.756737,32.967572],[102.756973,32.967307],[102.756987,32.967291],[102.757178,32.967077],[102.757175,32.967062],[102.757137,32.966989],[102.7571,32.966894],[102.7571,32.966864],[102.757109,32.966842],[102.757133,32.966819],[102.757146,32.966812],[102.757174,32.966812],[102.757209,32.966816],[102.757316,32.96684],[102.757377,32.966849],[102.757429,32.966861],[102.757473,32.966848],[102.757499,32.966829],[102.757519,32.966804],[102.757526,32.966782],[102.757538,32.966744],[102.757537,32.966673],[102.757706,32.966483],[102.757757,32.966426],[102.758814,32.965171],[102.759517,32.964523],[102.759649,32.9644],[102.759974,32.9641],[102.760814,32.962887],[102.76097,32.962704],[102.76101,32.962656],[102.762149,32.961319],[102.764134,32.959673],[102.764298,32.959538],[102.76462,32.959262],[102.766063,32.958023],[102.767549,32.956867],[102.768272,32.955942],[102.768497,32.955655],[102.768538,32.955606],[102.768894,32.955187],[102.769094,32.954952],[102.769219,32.954804],[102.769561,32.954415],[102.769858,32.954077],[102.770164,32.953729],[102.770371,32.953438],[102.770611,32.9531],[102.77083,32.953415],[102.771028,32.953699],[102.77153,32.953991],[102.771908,32.95421],[102.772304,32.954447],[102.77269,32.954674],[102.773048,32.954872],[102.773346,32.955001],[102.773607,32.955113],[102.773923,32.955249],[102.774347,32.955432],[102.77481,32.955632],[102.775093,32.955812],[102.775548,32.956102],[102.775941,32.956354],[102.77635,32.956614],[102.776161,32.958036],[102.776151,32.958112],[102.776143,32.958432],[102.776118,32.959431],[102.776114,32.959593],[102.776077,32.961067],[102.776039,32.962568],[102.776066,32.96366],[102.776523,32.964805],[102.77741,32.966004],[102.77878,32.967302],[102.779723,32.968456],[102.781472,32.969715],[102.786111,32.971981],[102.787012,32.972634],[102.788022,32.973243],[102.789142,32.973764],[102.789884,32.974323],[102.791195,32.975847],[102.792179,32.977502],[102.792915,32.978288],[102.794242,32.979176],[102.795519,32.979927],[102.796524,32.980763],[102.798027,32.981063],[102.799009,32.98067],[102.80048,32.980105],[102.801797,32.979218],[102.801875,32.979166],[102.802073,32.979035],[102.803059,32.978376],[102.804862,32.977498],[102.805465,32.977145],[102.806382,32.977161],[102.807907,32.976597],[102.809487,32.975987],[102.810955,32.975558],[102.811809,32.975937],[102.813195,32.976644],[102.814265,32.977026],[102.815819,32.977463],[102.816384,32.977446],[102.817384,32.976424],[102.817708,32.976191],[102.818462,32.975606],[102.819401,32.974725],[102.820127,32.974064],[102.820311,32.973953],[102.820849,32.973626],[102.821336,32.973013],[102.821793,32.972472],[102.822168,32.971681],[102.822274,32.971483],[102.822335,32.971369],[102.822974,32.970174],[102.823218,32.969968],[102.823477,32.96975],[102.823699,32.969563],[102.824126,32.96954],[102.82438,32.969525],[102.826164,32.970354],[102.827426,32.97075],[102.828182,32.971287],[102.829415,32.971683],[102.830507,32.971776],[102.831339,32.971641],[102.832757,32.971716],[102.833971,32.971687],[102.835834,32.971694],[102.837553,32.971574],[102.839267,32.971268],[102.839335,32.971256],[102.84064,32.971129],[102.841619,32.971021],[102.84238,32.971334],[102.84263,32.97147],[102.842919,32.97144],[102.843118,32.971444],[102.843218,32.971431],[102.843486,32.971518],[102.843563,32.97156],[102.84357,32.971563],[102.843797,32.971686],[102.843972,32.971822],[102.844076,32.971876],[102.844129,32.971926],[102.84419,32.971994],[102.844191,32.972072],[102.844142,32.972126],[102.844075,32.972171],[102.843972,32.972247],[102.843996,32.972277],[102.844927,32.973424],[102.845412,32.975118],[102.84538,32.976404],[102.845782,32.977209],[102.845784,32.977216],[102.84612,32.978163],[102.846225,32.978459],[102.846324,32.978653],[102.846332,32.978669],[102.846525,32.979047],[102.846553,32.979101],[102.846727,32.979443],[102.846785,32.980114],[102.846813,32.980434],[102.846845,32.980817],[102.846856,32.980936],[102.846892,32.981354],[102.847113,32.983087],[102.847091,32.983208],[102.847085,32.983243],[102.847078,32.983278],[102.847073,32.983306],[102.847006,32.983679],[102.847003,32.983697],[102.846999,32.983722],[102.846965,32.983908],[102.84693,32.984104],[102.846533,32.985295],[102.846467,32.985599],[102.846456,32.985653],[102.846456,32.985653],[102.846356,32.986117],[102.846309,32.986335],[102.846295,32.9864],[102.846271,32.986698],[102.846121,32.988511],[102.846126,32.98858],[102.84622,32.988564],[102.846298,32.988564],[102.846337,32.988587],[102.84637,32.988697],[102.846336,32.988793],[102.84629,32.988838],[102.846149,32.988913],[102.846226,32.989992],[102.846212,32.990035],[102.846145,32.990243],[102.84577,32.991403],[102.845761,32.991448],[102.845653,32.991957],[102.845557,32.992407],[102.845532,32.992523],[102.84578,32.993888],[102.846594,32.995025],[102.848012,32.998625],[102.84811,32.998776],[102.848335,32.999122],[102.848353,32.99915],[102.848753,32.999765],[102.848992,33.000135],[102.849273,33.000567],[102.849408,33.000739],[102.84943,33.000767],[102.849431,33.000768],[102.849522,33.000883],[102.849565,33.000939],[102.849953,33.001413],[102.849954,33.001414],[102.84996,33.001421],[102.850149,33.001653],[102.850544,33.003383],[102.850866,33.003953],[102.850895,33.004014],[102.851009,33.004252],[102.851248,33.00475],[102.851266,33.004823],[102.851285,33.004902],[102.851583,33.006139],[102.851562,33.007013],[102.851312,33.00763],[102.850754,33.008552],[102.850632,33.008782],[102.850449,33.008855],[102.850304,33.008986],[102.850136,33.009268],[102.850107,33.009517],[102.850117,33.009651],[102.850162,33.009757],[102.84989,33.01102],[102.849655,33.012427],[102.849572,33.013075],[102.849761,33.013586],[102.851089,33.014291],[102.85133,33.014245],[102.852178,33.014483],[102.852586,33.014663],[102.853221,33.01522],[102.853395,33.015513],[102.85453,33.016079],[102.85455,33.016089],[102.854623,33.016126],[102.855511,33.016434],[102.855534,33.016442],[102.855541,33.016445],[102.855544,33.016446],[102.855579,33.016458],[102.855598,33.016465],[102.856308,33.016712],[102.856349,33.016726],[102.857779,33.017224],[102.858539,33.017689],[102.858594,33.018169],[102.858102,33.01912],[102.857836,33.019781],[102.857759,33.01997],[102.857639,33.02027],[102.85701,33.021331],[102.856625,33.022002],[102.856544,33.022593],[102.85659,33.023469],[102.857227,33.024806],[102.857501,33.025968],[102.857282,33.026698],[102.856808,33.02827],[102.856445,33.02945],[102.856091,33.030234],[102.855469,33.030985],[102.854791,33.03134],[102.854443,33.031842],[102.854085,33.032796],[102.853801,33.034173],[102.85374,33.034468],[102.853592,33.035186],[102.853084,33.036786],[102.852846,33.038278],[102.852891,33.039182],[102.852986,33.04082],[102.852059,33.044501],[102.851659,33.045792],[102.851163,33.046885],[102.85111,33.04701],[102.851068,33.04711],[102.850947,33.047394],[102.850701,33.047977],[102.850368,33.049242],[102.850289,33.049748],[102.849892,33.050927],[102.849238,33.051621],[102.848508,33.052709],[102.848225,33.053325],[102.847498,33.054272],[102.846876,33.055023],[102.846806,33.056518],[102.846591,33.057107],[102.846445,33.057584],[102.845688,33.058389],[102.845335,33.059145],[102.845546,33.060108],[102.84563,33.060759],[102.84601,33.061697],[102.846066,33.062149],[102.84569,33.062453],[102.845547,33.062818],[102.844961,33.063485],[102.843901,33.064313],[102.843883,33.065075],[102.844117,33.066462],[102.844119,33.066488],[102.844189,33.06762],[102.844198,33.067669],[102.844589,33.069865],[102.844711,33.07062],[102.844725,33.070707],[102.84485,33.071477],[102.845118,33.072038],[102.845204,33.072041],[102.845242,33.072058],[102.845263,33.072102],[102.845273,33.072178],[102.845272,33.072264],[102.845259,33.072336],[102.845459,33.073577],[102.845469,33.073643],[102.8455,33.073836],[102.845496,33.073923],[102.845548,33.073897],[102.845582,33.073888],[102.845607,33.073897],[102.845605,33.073935],[102.845592,33.073981],[102.845563,33.07405],[102.845532,33.074119],[102.845519,33.074188],[102.84552,33.074258],[102.845527,33.074306],[102.845541,33.074363],[102.845541,33.074403],[102.845535,33.074447],[102.845517,33.07448],[102.845469,33.074509],[102.845455,33.074811],[102.845218,33.075529],[102.845265,33.075541],[102.845276,33.075575],[102.84528,33.075629],[102.845258,33.075685],[102.845243,33.075728],[102.845203,33.075757],[102.845141,33.075762],[102.84501,33.076158],[102.845079,33.076199],[102.845103,33.076236],[102.845115,33.076287],[102.845117,33.076336],[102.845099,33.076369],[102.845065,33.076391],[102.845031,33.0764],[102.844994,33.076401],[102.844935,33.07639],[102.844671,33.077231],[102.84467,33.077303],[102.844669,33.077341],[102.844646,33.078265],[102.844645,33.078323],[102.844641,33.07835],[102.844578,33.07883],[102.844569,33.078895],[102.844506,33.079376],[102.84443,33.079385],[102.844382,33.079401],[102.844495,33.079459],[102.844487,33.079513],[102.844508,33.079591],[102.84451,33.079602],[102.844512,33.07961],[102.844514,33.079618],[102.844559,33.079789],[102.844655,33.080159],[102.84525,33.080499],[102.845257,33.080503],[102.845298,33.080522],[102.845361,33.080552],[102.845363,33.080553],[102.845381,33.080562],[102.845398,33.080569],[102.845445,33.080591],[102.846283,33.080984],[102.846558,33.081086],[102.847221,33.081334],[102.847443,33.08131],[102.847586,33.081323],[102.847683,33.081317],[102.847819,33.0813],[102.847929,33.081285],[102.848028,33.081272],[102.84815,33.081248],[102.848238,33.081223],[102.848321,33.081192],[102.84839,33.081165],[102.84849,33.081112],[102.848577,33.081023],[102.84862,33.080975],[102.848658,33.080933],[102.848697,33.080876],[102.848697,33.080876],[102.848701,33.08087],[102.848731,33.080818],[102.848758,33.080799],[102.848817,33.080776],[102.848885,33.080757],[102.848931,33.080737],[102.848963,33.080715],[102.848969,33.080701],[102.848998,33.080643],[102.849001,33.080629],[102.849112,33.080743],[102.849713,33.080503],[102.850058,33.08164],[102.850294,33.083945],[102.8503,33.084349],[102.850301,33.084383],[102.850301,33.0844],[102.850318,33.085526],[102.850086,33.086506],[102.850374,33.089233],[102.850422,33.09071],[102.850403,33.09149],[102.850402,33.091519],[102.850378,33.092483],[102.850522,33.092517],[102.851355,33.092713],[102.851419,33.092728],[102.851453,33.092736],[102.851526,33.092753],[102.851535,33.092755],[102.852391,33.092957],[102.852889,33.093255],[102.852894,33.093258],[102.854324,33.094114],[102.855045,33.094495],[102.856554,33.095223],[102.857046,33.095461],[102.858194,33.096306],[102.858509,33.09655],[102.85889,33.096845],[102.85994,33.097442],[102.861071,33.098129],[102.861065,33.098389],[102.861061,33.098533],[102.861061,33.098539],[102.86106,33.098556],[102.861044,33.098582],[102.861033,33.098598],[102.861023,33.098613],[102.86101,33.098642],[102.861004,33.098666],[102.860991,33.098698],[102.860981,33.098735],[102.860968,33.098759],[102.86095,33.098794],[102.86093,33.098823],[102.860904,33.098841],[102.860862,33.09888],[102.860836,33.098903],[102.860807,33.098916],[102.860786,33.098915],[102.860755,33.098913],[102.860741,33.098919],[102.860737,33.098931],[102.860733,33.098949],[102.860725,33.098969],[102.860716,33.099011],[102.860713,33.099037],[102.860705,33.099086],[102.86071,33.099107],[102.860719,33.099122],[102.860743,33.099141],[102.860767,33.099153],[102.860783,33.099167],[102.8608,33.099188],[102.860808,33.099205],[102.860823,33.099223],[102.86055,33.099531],[102.860332,33.099777],[102.86032,33.099766],[102.860306,33.099764],[102.860286,33.099765],[102.860274,33.09978],[102.860267,33.099809],[102.860262,33.099833],[102.860259,33.099867],[102.860109,33.100093],[102.859586,33.100879],[102.859505,33.101633],[102.85946,33.102616],[102.859614,33.104024],[102.85943,33.104706],[102.859011,33.105138],[102.859009,33.105141],[102.85894,33.105212],[102.858917,33.105196],[102.85889,33.105181],[102.858874,33.105183],[102.858854,33.105195],[102.858841,33.105217],[102.858842,33.10523],[102.858861,33.105255],[102.858881,33.105272],[102.858927,33.105335],[102.858942,33.105392],[102.858947,33.105411],[102.858932,33.105501],[102.85888,33.105546],[102.858816,33.10557],[102.858744,33.10554],[102.858651,33.105511],[102.858625,33.105504],[102.858593,33.1055],[102.858585,33.105513],[102.858585,33.105536],[102.858591,33.105555],[102.858601,33.105574],[102.858535,33.105655],[102.858533,33.105658],[102.858459,33.10575],[102.8581,33.106194],[102.858056,33.106573],[102.858054,33.106595],[102.858049,33.106638],[102.858048,33.10665],[102.858042,33.1067],[102.857995,33.107105],[102.85789,33.107543],[102.85791,33.107566],[102.857915,33.107591],[102.857909,33.107607],[102.857891,33.107625],[102.857869,33.107631],[102.857842,33.107648],[102.857822,33.10766],[102.857799,33.107671],[102.857769,33.10769],[102.857747,33.107706],[102.857732,33.107722],[102.857725,33.107741],[102.857732,33.107759],[102.857748,33.107772],[102.857774,33.107783],[102.857804,33.10779],[102.85783,33.107792],[102.85779,33.107866],[102.857773,33.107899],[102.857133,33.109093],[102.857054,33.109278],[102.857044,33.109303],[102.857035,33.109324],[102.856712,33.110087],[102.856575,33.110577],[102.856583,33.111086],[102.856485,33.111682],[102.855896,33.112743],[102.855313,33.113541],[102.85473,33.114357],[102.854244,33.115437],[102.854168,33.116016],[102.854051,33.11654],[102.854206,33.117035],[102.854426,33.117408],[102.854543,33.117761],[102.854455,33.117953],[102.854298,33.118248],[102.854264,33.11824],[102.854234,33.11824],[102.854211,33.118248],[102.854176,33.118258],[102.854148,33.11827],[102.854131,33.118289],[102.854114,33.118314],[102.854114,33.118362],[102.854129,33.118395],[102.854151,33.11842],[102.854175,33.118441],[102.854193,33.118461],[102.854211,33.118491],[102.854222,33.118521],[102.854223,33.118562],[102.854217,33.118592],[102.854213,33.118627],[102.854211,33.118663],[102.854225,33.118689],[102.854252,33.118707],[102.854291,33.11872],[102.854306,33.118726],[102.854362,33.118723],[102.854394,33.118731],[102.85441,33.118759],[102.854413,33.118787],[102.854399,33.118796],[102.854376,33.118803],[102.854335,33.118801],[102.854301,33.118794],[102.854286,33.118788],[102.854248,33.118772],[102.854212,33.118761],[102.854139,33.118735],[102.854094,33.118716],[102.854077,33.118712],[102.854031,33.118709],[102.853997,33.118714],[102.853972,33.118723],[102.853954,33.118751],[102.853947,33.118778],[102.853949,33.118823],[102.853966,33.118863],[102.854038,33.118965],[102.854095,33.119045],[102.854166,33.119131],[102.854181,33.11914],[102.854178,33.11916],[102.854174,33.119177],[102.85412,33.119686],[102.853982,33.12021],[102.853571,33.120801],[102.85348,33.121958],[102.853504,33.122696],[102.853509,33.123364],[102.853622,33.123875],[102.85372,33.124966],[102.853662,33.125633],[102.853441,33.126173],[102.852825,33.127445],[102.852286,33.128138],[102.851337,33.129387],[102.850987,33.130066],[102.85087,33.130573],[102.850819,33.130941],[102.850642,33.131377],[102.850197,33.132493],[102.8502,33.133214],[102.850457,33.133798],[102.851046,33.134493],[102.8511,33.134863],[102.851124,33.135206],[102.851131,33.135302],[102.851089,33.135465],[102.851015,33.135757],[102.851047,33.136144],[102.851189,33.136322],[102.851521,33.136416],[102.851627,33.136446],[102.851671,33.136459],[102.851688,33.136473],[102.851702,33.136484],[102.851723,33.136495],[102.851751,33.136504],[102.851779,33.136511],[102.851798,33.136513],[102.851827,33.136512],[102.851832,33.136504],[102.851847,33.13649],[102.851868,33.136476],[102.851891,33.136467],[102.851923,33.136459],[102.851946,33.136454],[102.851979,33.136456],[102.852017,33.136465],[102.852053,33.136475],[102.852095,33.136494],[102.852112,33.136522],[102.852121,33.136544],[102.852123,33.136568],[102.852104,33.136603],[102.85209,33.136639],[102.852091,33.136659],[102.852091,33.136678],[102.852095,33.136698],[102.852105,33.136728],[102.852118,33.136748],[102.852128,33.136758],[102.852173,33.136778],[102.852215,33.136781],[102.852248,33.136776],[102.852266,33.13679],[102.852469,33.136941],[102.852832,33.137457],[102.852861,33.138121],[102.852869,33.138295],[102.852872,33.138371],[102.852986,33.138727],[102.853008,33.138794],[102.853026,33.138802],[102.853035,33.138805],[102.853088,33.138824],[102.853089,33.138839],[102.853089,33.13888],[102.853092,33.138913],[102.853098,33.138939],[102.853107,33.138956],[102.853122,33.138961],[102.853139,33.138962],[102.85316,33.138958],[102.853177,33.13895],[102.853205,33.138929],[102.85322,33.138914],[102.853244,33.138881],[102.853256,33.138865],[102.853286,33.138848],[102.853316,33.138835],[102.853345,33.138832],[102.853376,33.138832],[102.853393,33.138841],[102.853413,33.13886],[102.853423,33.138881],[102.853436,33.13895],[102.853567,33.138998],[102.85381,33.139045],[102.853848,33.139052],[102.853854,33.139064],[102.853864,33.139078],[102.853873,33.139094],[102.853881,33.139114],[102.853877,33.139125],[102.853863,33.139138],[102.853841,33.139155],[102.853816,33.139177],[102.853795,33.139206],[102.853791,33.139229],[102.853786,33.139245],[102.853798,33.139281],[102.853832,33.139319],[102.853866,33.139336],[102.853909,33.139338],[102.853982,33.139336],[102.854048,33.139305],[102.854106,33.139261],[102.854139,33.139216],[102.854173,33.139158],[102.854186,33.139134],[102.854293,33.139168],[102.854451,33.13954],[102.854528,33.139805],[102.854537,33.139898],[102.854561,33.140174],[102.85473,33.140365],[102.854846,33.140495],[102.854948,33.140517],[102.854987,33.140525],[102.854982,33.140539],[102.854952,33.140618],[102.854951,33.140664],[102.854965,33.140707],[102.854985,33.140758],[102.855005,33.140816],[102.855021,33.140868],[102.855043,33.140907],[102.855063,33.140926],[102.855073,33.140935],[102.855143,33.140953],[102.855172,33.140954],[102.855249,33.140936],[102.855349,33.1409],[102.855441,33.140877],[102.855493,33.140839],[102.855528,33.140789],[102.855553,33.14073],[102.85556,33.140705],[102.855567,33.14069],[102.855716,33.140756],[102.855855,33.14104],[102.855825,33.141443],[102.855628,33.141791],[102.855242,33.142224],[102.854334,33.142629],[102.853763,33.142953],[102.853168,33.143365],[102.852716,33.143919],[102.852429,33.144564],[102.852192,33.144876],[102.852083,33.145032],[102.85227,33.145088],[102.852482,33.144951],[102.852932,33.144777],[102.852965,33.144764],[102.852951,33.144732],[102.852939,33.144708],[102.852936,33.144686],[102.852938,33.144657],[102.852957,33.144616],[102.852969,33.144585],[102.852982,33.144554],[102.852993,33.144536],[102.853022,33.144513],[102.853061,33.1445],[102.853092,33.144486],[102.853135,33.144481],[102.853134,33.144491],[102.853139,33.144507],[102.853148,33.144523],[102.853164,33.144545],[102.853181,33.144557],[102.853198,33.144572],[102.853213,33.144591],[102.853239,33.144635],[102.853263,33.144665],[102.85331,33.144793],[102.853336,33.144851],[102.853364,33.144872],[102.853389,33.144883],[102.85342,33.144891],[102.853441,33.144889],[102.853486,33.14488],[102.85354,33.144859],[102.85365,33.144798],[102.853749,33.144732],[102.853756,33.144743],[102.853817,33.144838],[102.853821,33.144845],[102.853837,33.14487],[102.853755,33.144926],[102.8537,33.145038],[102.853699,33.145148],[102.853781,33.145297],[102.853896,33.145411],[102.854034,33.145519],[102.854226,33.145579],[102.85439,33.145581],[102.85455,33.145567],[102.854776,33.145569],[102.854947,33.145547],[102.855225,33.145487],[102.855509,33.145482],[102.855613,33.145539],[102.855598,33.145652],[102.85554,33.145764],[102.855516,33.145842],[102.855599,33.145876],[102.855789,33.145868],[102.855974,33.145804],[102.856089,33.14567],[102.856094,33.145585],[102.856045,33.145471],[102.856066,33.145388],[102.85616,33.145378],[102.856239,33.145446],[102.856245,33.145579],[102.856248,33.145822],[102.856272,33.145942],[102.856332,33.146023],[102.856461,33.146098],[102.856477,33.146163],[102.856424,33.146239],[102.856377,33.146316],[102.856421,33.146351],[102.856472,33.146434],[102.856384,33.146497],[102.856284,33.146505],[102.856168,33.146517],[102.856006,33.146612],[102.855852,33.146782],[102.855717,33.14691],[102.855579,33.146957],[102.855498,33.146889],[102.855453,33.146737],[102.855495,33.146601],[102.855659,33.146507],[102.855919,33.14642],[102.855979,33.146311],[102.855956,33.146215],[102.855822,33.146085],[102.855653,33.146024],[102.855534,33.146069],[102.85545,33.146149],[102.855352,33.146178],[102.855179,33.146183],[102.85511,33.146201],[102.855055,33.146318],[102.855086,33.14641],[102.855192,33.146522],[102.855236,33.146616],[102.855235,33.146732],[102.855157,33.146821],[102.855105,33.146836],[102.854999,33.146813],[102.854734,33.146718],[102.854548,33.146725],[102.854436,33.146795],[102.854388,33.146909],[102.854392,33.147019],[102.854387,33.147135],[102.854312,33.147169],[102.854224,33.14718],[102.854104,33.147179],[102.854015,33.14711],[102.853843,33.146878],[102.853679,33.146759],[102.853561,33.146715],[102.853444,33.146772],[102.853351,33.146871],[102.853303,33.147027],[102.853313,33.147122],[102.8534,33.147209],[102.853387,33.147215],[102.853364,33.147242],[102.853354,33.147254],[102.853194,33.14744],[102.853204,33.147897],[102.8534,33.148427],[102.853415,33.148458],[102.854155,33.149986],[102.85451,33.150835],[102.854685,33.151383],[102.854651,33.151927],[102.854557,33.152364],[102.854841,33.152703],[102.855174,33.152744],[102.855307,33.152592],[102.855372,33.152518],[102.855379,33.15251],[102.855508,33.152364],[102.85544,33.152273],[102.85541,33.152176],[102.855457,33.152109],[102.855547,33.152032],[102.855608,33.152005],[102.855643,33.151981],[102.855684,33.151956],[102.855704,33.151944],[102.855746,33.151933],[102.855789,33.151913],[102.855806,33.151899],[102.855822,33.151871],[102.855829,33.151844],[102.85583,33.151806],[102.855824,33.151769],[102.855803,33.15173],[102.855774,33.151695],[102.855752,33.151676],[102.855729,33.151658],[102.85571,33.151645],[102.855697,33.151634],[102.855689,33.151627],[102.855693,33.151609],[102.855704,33.151558],[102.855902,33.15114],[102.856594,33.151029],[102.857314,33.150602],[102.857804,33.150347],[102.857815,33.150341],[102.857839,33.150329],[102.857872,33.150312],[102.857882,33.150306],[102.858096,33.150194],[102.858822,33.1504],[102.85898,33.150789],[102.85901,33.151264],[102.859011,33.151537],[102.859011,33.151654],[102.859011,33.15167],[102.859012,33.151914],[102.859012,33.152037],[102.859004,33.152152],[102.858998,33.152237],[102.858995,33.152278],[102.858981,33.152475],[102.859028,33.152578],[102.859159,33.152865],[102.859383,33.153097],[102.859653,33.153154],[102.859765,33.153089],[102.859773,33.153084],[102.859809,33.153063],[102.859868,33.153076],[102.859935,33.153071],[102.860054,33.153038],[102.860215,33.152977],[102.860474,33.152937],[102.860837,33.152894],[102.860979,33.15291],[102.861046,33.153017],[102.861085,33.15315],[102.861123,33.153199],[102.861209,33.153191],[102.861275,33.15311],[102.86129,33.152994],[102.861229,33.152841],[102.861199,33.152716],[102.861222,33.152602],[102.861298,33.152558],[102.861424,33.152514],[102.861549,33.152506],[102.861616,33.152473],[102.861647,33.152404],[102.861624,33.152334],[102.861546,33.152268],[102.861504,33.152214],[102.861509,33.152158],[102.861555,33.152114],[102.861664,33.152065],[102.861823,33.152065],[102.861971,33.15208],[102.862039,33.152125],[102.862069,33.152217],[102.862069,33.152279],[102.862075,33.152367],[102.862058,33.152421],[102.862004,33.152495],[102.861962,33.152606],[102.862011,33.152698],[102.862113,33.152775],[102.862352,33.15288],[102.862458,33.15295],[102.862465,33.153008],[102.862453,33.153064],[102.862355,33.153086],[102.862212,33.153072],[102.862068,33.153041],[102.861989,33.153035],[102.861933,33.15307],[102.861884,33.153142],[102.861932,33.153235],[102.862139,33.153353],[102.862346,33.153449],[102.862383,33.153511],[102.862355,33.153554],[102.862262,33.153572],[102.862172,33.153568],[102.862053,33.153518],[102.861934,33.15344],[102.861797,33.153295],[102.861669,33.153154],[102.861592,33.153088],[102.861501,33.153072],[102.861445,33.153084],[102.861412,33.153129],[102.861378,33.153225],[102.86138,33.153301],[102.861445,33.153399],[102.861568,33.153538],[102.861669,33.153586],[102.861786,33.153597],[102.861951,33.153617],[102.862159,33.153744],[102.862241,33.153789],[102.862326,33.153777],[102.862478,33.153719],[102.862541,33.153721],[102.862582,33.153802],[102.86254,33.153853],[102.86244,33.153904],[102.862327,33.153945],[102.86223,33.153974],[102.8622,33.154043],[102.862199,33.154105],[102.862288,33.154155],[102.862377,33.154192],[102.862501,33.154205],[102.862604,33.154185],[102.862698,33.154113],[102.862897,33.153876],[102.86303,33.153675],[102.863146,33.153478],[102.863233,33.153429],[102.863339,33.153423],[102.863418,33.153405],[102.863483,33.153358],[102.863523,33.153372],[102.863529,33.153375],[102.863801,33.153472],[102.863919,33.153772],[102.864053,33.154249],[102.864187,33.15476],[102.864531,33.155241],[102.864896,33.155651],[102.865472,33.156047],[102.86569,33.156508],[102.865764,33.156895],[102.865664,33.157596],[102.86563,33.158123],[102.865555,33.158631],[102.865422,33.158975],[102.865406,33.159015],[102.865324,33.159033],[102.865248,33.159128],[102.865281,33.159241],[102.865596,33.159537],[102.865897,33.159707],[102.865913,33.159812],[102.865844,33.159867],[102.865668,33.15994],[102.865293,33.159982],[102.865059,33.159868],[102.864926,33.159835],[102.8648,33.159867],[102.864647,33.159967],[102.864519,33.159978],[102.864448,33.159918],[102.864468,33.159805],[102.864648,33.159691],[102.864819,33.159546],[102.86477,33.159426],[102.864538,33.159352],[102.864366,33.159369],[102.864263,33.159523],[102.864195,33.159734],[102.864172,33.159927],[102.864097,33.15993],[102.864087,33.15993],[102.864074,33.159931],[102.863895,33.159937],[102.863574,33.160248],[102.863502,33.160633],[102.863574,33.161108],[102.863879,33.161447],[102.864355,33.161631],[102.864754,33.161533],[102.864783,33.161509],[102.864873,33.161516],[102.864999,33.161521],[102.86525,33.161519],[102.865401,33.161506],[102.865589,33.161469],[102.865705,33.161424],[102.865759,33.16138],[102.865898,33.161269],[102.865943,33.161156],[102.865944,33.161058],[102.866143,33.161082],[102.866454,33.161227],[102.866535,33.161265],[102.86663,33.16167],[102.866684,33.162022],[102.866571,33.16213],[102.866565,33.162137],[102.866534,33.162126],[102.866468,33.162123],[102.866373,33.162138],[102.866243,33.162176],[102.866144,33.162241],[102.866104,33.162299],[102.866091,33.162355],[102.86609,33.162408],[102.866102,33.162461],[102.866124,33.162507],[102.866115,33.162514],[102.865747,33.162779],[102.865361,33.163177],[102.865602,33.163567],[102.866019,33.163627],[102.866049,33.163623],[102.866067,33.16362],[102.866087,33.163638],[102.866129,33.163664],[102.866189,33.163679],[102.866274,33.163688],[102.866401,33.163689],[102.86647,33.163684],[102.866604,33.163657],[102.866747,33.163615],[102.866805,33.163586],[102.866848,33.163563],[102.867022,33.163591],[102.86706,33.16375],[102.866885,33.164063],[102.866586,33.164357],[102.865868,33.164661],[102.865665,33.164893],[102.865616,33.16495],[102.86546,33.165128],[102.865702,33.165501],[102.866131,33.165877],[102.866544,33.166939],[102.86676,33.167373],[102.866764,33.167381],[102.866766,33.167386],[102.866786,33.167427],[102.866659,33.167582],[102.866645,33.167692],[102.866774,33.167739],[102.867033,33.167719],[102.867305,33.167618],[102.867519,33.167525],[102.86762,33.167553],[102.86763,33.167738],[102.8675,33.167968],[102.867306,33.168085],[102.86713,33.168122],[102.866879,33.16811],[102.866426,33.167984],[102.866066,33.167791],[102.865703,33.16752],[102.865508,33.167464],[102.865339,33.167433],[102.864892,33.167447],[102.864819,33.167533],[102.864747,33.167748],[102.864756,33.167881],[102.864866,33.168042],[102.864779,33.168146],[102.864555,33.168273],[102.864278,33.168436],[102.864056,33.168472],[102.863676,33.168258],[102.863466,33.168173],[102.863342,33.168191],[102.86317,33.168344],[102.86302,33.168427],[102.862941,33.168382],[102.862874,33.168211],[102.862836,33.167979],[102.862764,33.167736],[102.86265,33.167623],[102.862477,33.167608],[102.862307,33.167643],[102.862227,33.167727],[102.862176,33.167832],[102.862188,33.167935],[102.862212,33.168096],[102.862176,33.168216],[102.862051,33.168323],[102.861926,33.168373],[102.861776,33.168376],[102.861677,33.168331],[102.861593,33.168154],[102.861512,33.168096],[102.861444,33.168095],[102.861402,33.168229],[102.861505,33.168555],[102.861583,33.168773],[102.861749,33.168787],[102.862067,33.168776],[102.862206,33.168813],[102.862234,33.168919],[102.862153,33.169042],[102.861936,33.169123],[102.861687,33.169168],[102.861351,33.169146],[102.861059,33.16906],[102.860881,33.168954],[102.860573,33.16873],[102.860453,33.168635],[102.860316,33.168625],[102.860218,33.168672],[102.860066,33.168801],[102.859907,33.168838],[102.859743,33.168882],[102.859713,33.168954],[102.859809,33.169103],[102.860098,33.169344],[102.860249,33.169469],[102.860213,33.169551],[102.860084,33.169589],[102.859929,33.169577],[102.859826,33.169508],[102.859616,33.169344],[102.859416,33.169167],[102.859409,33.169194],[102.859404,33.169211],[102.8594,33.169228],[102.859343,33.169437],[102.859239,33.169561],[102.859056,33.169544],[102.858712,33.169257],[102.858524,33.168762],[102.858248,33.16842],[102.857959,33.167952],[102.857931,33.167917],[102.857922,33.167907],[102.857972,33.167881],[102.858029,33.167835],[102.858095,33.167748],[102.858135,33.167654],[102.858139,33.16759],[102.85813,33.167542],[102.858114,33.167501],[102.858093,33.167467],[102.858071,33.167444],[102.858038,33.16743],[102.857942,33.167426],[102.857857,33.167432],[102.857825,33.16744],[102.857799,33.167465],[102.857777,33.16751],[102.857736,33.167605],[102.857718,33.167656],[102.857711,33.167647],[102.857643,33.167564],[102.857122,33.166926],[102.8571,33.166922],[102.857076,33.166912],[102.857051,33.166896],[102.857039,33.166879],[102.85703,33.166857],[102.857034,33.166819],[102.857039,33.166796],[102.85706,33.16675],[102.857104,33.166699],[102.857175,33.166641],[102.857276,33.166588],[102.857307,33.166574],[102.857309,33.166554],[102.857302,33.166535],[102.857291,33.166525],[102.857284,33.166519],[102.857252,33.166501],[102.857208,33.166477],[102.857132,33.16644],[102.85696,33.166411],[102.856906,33.166414],[102.856868,33.166425],[102.856835,33.166424],[102.85679,33.166425],[102.856746,33.166441],[102.856711,33.166475],[102.856688,33.166519],[102.856692,33.166568],[102.856691,33.166602],[102.856673,33.166599],[102.856625,33.166589],[102.8566,33.166584],[102.85634,33.166533],[102.855953,33.166653],[102.85588,33.166919],[102.855957,33.167187],[102.856167,33.167472],[102.856597,33.167662],[102.856908,33.167892],[102.856943,33.168003],[102.856966,33.168075],[102.856987,33.168142],[102.856926,33.16813],[102.856884,33.168128],[102.856872,33.168127],[102.856856,33.168134],[102.856843,33.168161],[102.85684,33.168189],[102.856841,33.168213],[102.85685,33.168257],[102.85686,33.168311],[102.856863,33.168345],[102.856859,33.168364],[102.856843,33.168379],[102.85681,33.168398],[102.85676,33.168403],[102.856693,33.168403],[102.856622,33.168396],[102.856574,33.168388],[102.856517,33.168351],[102.856489,33.168322],[102.856458,33.168259],[102.856444,33.168215],[102.856441,33.168165],[102.856449,33.168129],[102.856521,33.167951],[102.856551,33.167918],[102.856582,33.167874],[102.856595,33.167834],[102.856603,33.167797],[102.856603,33.167773],[102.856599,33.167758],[102.856592,33.167748],[102.856569,33.167743],[102.856545,33.167745],[102.8565,33.16775],[102.856354,33.167807],[102.856333,33.167814],[102.856278,33.167848],[102.856262,33.167865],[102.856256,33.167881],[102.856258,33.167899],[102.856292,33.167954],[102.856306,33.167983],[102.856312,33.168014],[102.856313,33.168053],[102.856313,33.168071],[102.856309,33.168124],[102.85632,33.16818],[102.856335,33.168224],[102.856349,33.168261],[102.856368,33.1683],[102.856373,33.16831],[102.856379,33.168347],[102.856378,33.16838],[102.856371,33.168405],[102.856354,33.168429],[102.856326,33.168455],[102.856297,33.168464],[102.856263,33.168472],[102.856219,33.168475],[102.85618,33.168471],[102.856149,33.168464],[102.856094,33.168422],[102.856034,33.168371],[102.856021,33.168364],[102.856004,33.168361],[102.855992,33.168367],[102.855983,33.168388],[102.855949,33.168487],[102.85587,33.168433],[102.855857,33.168446],[102.855838,33.168458],[102.855817,33.168462],[102.855788,33.168459],[102.855756,33.168447],[102.855734,33.168435],[102.85572,33.168431],[102.855609,33.168429],[102.855538,33.16843],[102.855463,33.168429],[102.855406,33.168438],[102.855371,33.168453],[102.855337,33.168482],[102.85532,33.16852],[102.855319,33.168555],[102.855329,33.168594],[102.855358,33.168637],[102.855403,33.168671],[102.855457,33.168681],[102.855518,33.168681],[102.855547,33.168681],[102.855583,33.168693],[102.855594,33.168696],[102.855595,33.168758],[102.855513,33.168811],[102.855466,33.168844],[102.855409,33.168881],[102.855308,33.16893],[102.855245,33.168964],[102.855212,33.168993],[102.855192,33.169022],[102.855186,33.169059],[102.855195,33.169088],[102.85521,33.169108],[102.855252,33.169131],[102.855296,33.169159],[102.855341,33.169185],[102.855382,33.169193],[102.855413,33.16919],[102.855477,33.169174],[102.855521,33.16917],[102.855528,33.169169],[102.855675,33.169172],[102.855712,33.169172],[102.855764,33.169166],[102.85581,33.169145],[102.855842,33.169141],[102.855865,33.169169],[102.855874,33.169204],[102.85589,33.169255],[102.855918,33.169305],[102.855948,33.16934],[102.85598,33.169407],[102.855999,33.169492],[102.856027,33.169536],[102.856061,33.169569],[102.856104,33.169579],[102.856156,33.169578],[102.856212,33.16957],[102.856246,33.16956],[102.856274,33.169541],[102.856326,33.169505],[102.856363,33.169483],[102.856448,33.169426],[102.856501,33.169407],[102.856552,33.169407],[102.856612,33.169411],[102.856653,33.16942],[102.856692,33.169455],[102.856706,33.169484],[102.856704,33.169532],[102.856683,33.169562],[102.856641,33.169596],[102.856597,33.169639],[102.856585,33.169674],[102.856589,33.169718],[102.856601,33.169763],[102.856625,33.169799],[102.856671,33.169839],[102.856709,33.169865],[102.856788,33.169907],[102.856839,33.16992],[102.856891,33.169935],[102.856928,33.169946],[102.856944,33.169959],[102.856947,33.169976],[102.856942,33.169997],[102.856916,33.170026],[102.856879,33.170054],[102.856835,33.170071],[102.856783,33.170071],[102.856735,33.170068],[102.856697,33.17006],[102.85666,33.170041],[102.856613,33.170009],[102.856572,33.169987],[102.85653,33.169983],[102.856442,33.169986],[102.856364,33.170004],[102.856315,33.170021],[102.85626,33.170055],[102.856233,33.170104],[102.856207,33.170157],[102.856186,33.17017],[102.856143,33.170184],[102.856097,33.170204],[102.856064,33.170227],[102.856049,33.170249],[102.85605,33.170283],[102.856063,33.170315],[102.85609,33.170345],[102.856108,33.17036],[102.856173,33.170398],[102.856287,33.17043],[102.856386,33.170435],[102.856585,33.170469],[102.856712,33.170487],[102.856807,33.170497],[102.856898,33.17051],[102.85694,33.170544],[102.856957,33.170575],[102.856962,33.170616],[102.856962,33.170674],[102.856957,33.170714],[102.856938,33.170765],[102.856924,33.170825],[102.856924,33.170884],[102.856935,33.170937],[102.856946,33.170997],[102.856957,33.17105],[102.85694,33.171077],[102.856903,33.171114],[102.856845,33.171171],[102.856805,33.171211],[102.856777,33.171246],[102.856779,33.171275],[102.856786,33.171303],[102.856801,33.171337],[102.856807,33.171369],[102.856807,33.171396],[102.85679,33.171408],[102.856761,33.171403],[102.856675,33.171325],[102.856601,33.171244],[102.856562,33.171184],[102.856514,33.17112],[102.856492,33.171103],[102.856459,33.171087],[102.85643,33.17108],[102.856393,33.17108],[102.856363,33.171088],[102.856339,33.171101],[102.856314,33.171125],[102.856312,33.171128],[102.856289,33.171179],[102.85628,33.171261],[102.856287,33.171378],[102.85631,33.171476],[102.85633,33.171511],[102.856336,33.171525],[102.856337,33.171558],[102.856331,33.171578],[102.856317,33.171582],[102.856267,33.171576],[102.85629,33.17162],[102.856245,33.171608],[102.85606,33.171533],[102.856043,33.171431],[102.856113,33.171284],[102.856257,33.170989],[102.856186,33.170805],[102.856081,33.170778],[102.855947,33.17082],[102.855806,33.170955],[102.855686,33.171148],[102.855636,33.171369],[102.855642,33.171499],[102.855575,33.171539],[102.855532,33.171497],[102.855523,33.171488],[102.855469,33.171435],[102.855461,33.171429],[102.855157,33.171219],[102.855041,33.171202],[102.855005,33.171286],[102.854901,33.171467],[102.854511,33.171713],[102.854437,33.171779],[102.854426,33.171789],[102.85433,33.171874],[102.854049,33.172126],[102.853644,33.17233],[102.852718,33.172623],[102.85213,33.172768],[102.852044,33.172905],[102.852058,33.172935],[102.852073,33.172976],[102.852082,33.173006],[102.852099,33.173051],[102.85214,33.173095],[102.852192,33.173125],[102.852237,33.173137],[102.852301,33.173148],[102.852331,33.173199],[102.852582,33.173393],[102.852959,33.173695],[102.853418,33.174068],[102.853463,33.174094],[102.85351,33.174122],[102.853906,33.173709],[102.854238,33.173342],[102.854302,33.173219],[102.854332,33.173127],[102.85435,33.172652],[102.854404,33.172652],[102.854494,33.172654],[102.854534,33.17279],[102.854684,33.172877],[102.855221,33.172888],[102.855663,33.172954],[102.856086,33.173109],[102.856217,33.17329],[102.856137,33.173504],[102.855868,33.173689],[102.855719,33.173823],[102.855707,33.17396],[102.855776,33.174117],[102.85594,33.174207],[102.856179,33.174188],[102.856328,33.173994],[102.856494,33.173635],[102.856714,33.173269],[102.857016,33.173076],[102.857299,33.173132],[102.857395,33.173369],[102.857242,33.173623],[102.856968,33.173815],[102.856708,33.174051],[102.856567,33.174424],[102.856441,33.174547],[102.856024,33.174698],[102.855619,33.174788],[102.855425,33.17492],[102.855369,33.175146],[102.855541,33.175322],[102.856057,33.175644],[102.856167,33.175862],[102.856038,33.176036],[102.855606,33.176157],[102.855556,33.176287],[102.855665,33.176531],[102.855851,33.176542],[102.856289,33.176468],[102.856598,33.176491],[102.856723,33.176825],[102.85676,33.177042],[102.856698,33.177297],[102.856483,33.177428],[102.856151,33.177578],[102.855763,33.177666],[102.855164,33.177819],[102.854894,33.177926],[102.854849,33.178117],[102.854903,33.178352],[102.855138,33.178474],[102.855364,33.178674],[102.855804,33.179088],[102.856238,33.17942],[102.856454,33.179801],[102.856415,33.179975],[102.85608,33.18014],[102.855702,33.180375],[102.855445,33.180412],[102.855288,33.180313],[102.855175,33.180115],[102.8552,33.179943],[102.855286,33.179729],[102.855208,33.179613],[102.855038,33.179555],[102.854861,33.17962],[102.854819,33.179859],[102.854888,33.180189],[102.854971,33.180526],[102.854965,33.180722],[102.85484,33.180846],[102.854603,33.180874],[102.854372,33.180787],[102.854121,33.18066],[102.854027,33.180679],[102.853948,33.180836],[102.853887,33.181026],[102.853915,33.181135],[102.854056,33.181274],[102.854435,33.181477],[102.854627,33.181643],[102.854615,33.181885],[102.854597,33.182196],[102.854584,33.182508],[102.854372,33.182789],[102.85431,33.183057],[102.854236,33.183283],[102.854177,33.183334],[102.854064,33.183327],[102.853893,33.183215],[102.853636,33.182961],[102.853336,33.182695],[102.853154,33.182295],[102.853024,33.181977],[102.852848,33.181963],[102.852663,33.182093],[102.852549,33.182296],[102.852552,33.182487],[102.852691,33.18277],[102.852761,33.183031],[102.852804,33.18326],[102.852919,33.183342],[102.85319,33.183439],[102.853239,33.183504],[102.853136,33.183586],[102.852772,33.18371],[102.852448,33.183722],[102.85214,33.183616],[102.852051,33.18333],[102.851944,33.182979],[102.851841,33.182918],[102.851651,33.183053],[102.851108,33.18347],[102.850898,33.183715],[102.850819,33.183976],[102.851029,33.184095],[102.851538,33.184096],[102.852272,33.184126],[102.85259,33.184497],[102.852927,33.185096],[102.853149,33.185151],[102.853271,33.185035],[102.853386,33.184747],[102.853548,33.184514],[102.853971,33.184332],[102.854266,33.184372],[102.854544,33.184654],[102.854868,33.18493],[102.855164,33.185104],[102.85541,33.185052],[102.855977,33.184947],[102.856161,33.185002],[102.856193,33.185223],[102.856055,33.18546],[102.855861,33.185676],[102.855846,33.185837],[102.856065,33.185865],[102.856291,33.185584],[102.856502,33.185369],[102.856712,33.185359],[102.856835,33.185578],[102.856954,33.186002],[102.85706,33.186716],[102.857127,33.186833],[102.857288,33.186878],[102.857428,33.186812],[102.857578,33.186476],[102.857712,33.186129],[102.857964,33.186082],[102.858294,33.186339],[102.858553,33.186566],[102.858638,33.186848],[102.858746,33.187039],[102.858977,33.18702],[102.859235,33.186823],[102.859393,33.18688],[102.859741,33.187323],[102.860062,33.187779],[102.860288,33.188138],[102.860301,33.188496],[102.860373,33.188691],[102.860739,33.18882],[102.861396,33.188919],[102.861854,33.189231],[102.862218,33.189396],[102.862522,33.189389],[102.862897,33.189376],[102.863164,33.189458],[102.863532,33.189559],[102.863676,33.189272],[102.863892,33.189149],[102.864033,33.189344],[102.863899,33.18961],[102.863689,33.189923],[102.863695,33.190473],[102.863618,33.190695],[102.863271,33.190752],[102.86302,33.190831],[102.862945,33.190957],[102.863189,33.191131],[102.863653,33.19119],[102.864031,33.191048],[102.864323,33.19085],[102.864723,33.19076],[102.86515,33.19083],[102.865354,33.191015],[102.865437,33.191342],[102.865572,33.191543],[102.865916,33.191681],[102.866537,33.191707],[102.866913,33.191579],[102.867118,33.191274],[102.867154,33.190942],[102.866997,33.19073],[102.866556,33.190579],[102.866222,33.190423],[102.865726,33.190372],[102.865304,33.19031],[102.865188,33.190118],[102.865233,33.189854],[102.865637,33.18949],[102.866046,33.189096],[102.866163,33.188845],[102.866085,33.188669],[102.865865,33.188487],[102.86585,33.188391],[102.866066,33.188317],[102.866306,33.188392],[102.8669,33.188803],[102.867363,33.189134],[102.867759,33.18938],[102.868,33.189369],[102.868087,33.189224],[102.868062,33.188988],[102.867732,33.188688],[102.867612,33.188564],[102.867667,33.188406],[102.867978,33.188293],[102.868247,33.188182],[102.868295,33.188021],[102.868124,33.187929],[102.86795,33.187698],[102.867821,33.187109],[102.867654,33.18676],[102.867559,33.186512],[102.867636,33.186342],[102.867811,33.186257],[102.868261,33.186406],[102.868873,33.186657],[102.868996,33.186802],[102.86901,33.186978],[102.869012,33.187142],[102.869186,33.187254],[102.869403,33.187321],[102.869645,33.187264],[102.869943,33.187205],[102.870056,33.187295],[102.870022,33.187494],[102.869847,33.187687],[102.869735,33.187858],[102.869765,33.188021],[102.869903,33.188075],[102.870106,33.187997],[102.87034,33.187774],[102.870545,33.187568],[102.870774,33.18752],[102.870958,33.187566],[102.871106,33.187748],[102.871219,33.187862],[102.871402,33.187851],[102.871574,33.187525],[102.871766,33.187247],[102.872046,33.187197],[102.872172,33.187269],[102.872207,33.187451],[102.872124,33.187605],[102.872107,33.187895],[102.872055,33.188207],[102.872009,33.188515],[102.872182,33.188655],[102.872397,33.188704],[102.872461,33.188719],[102.872783,33.188895],[102.87286,33.188897],[102.873122,33.188904],[102.873336,33.188737],[102.87347,33.188385],[102.873641,33.188082],[102.873879,33.188068],[102.874013,33.188298],[102.873936,33.188647],[102.873724,33.189367],[102.873707,33.189662],[102.873812,33.189904],[102.874092,33.189954],[102.874436,33.189882],[102.874778,33.189949],[102.874902,33.190154],[102.874874,33.190339],[102.874562,33.19054],[102.874168,33.190886],[102.873756,33.19115],[102.87376,33.191274],[102.873942,33.191373],[102.874351,33.191556],[102.874508,33.191868],[102.874645,33.19205],[102.875228,33.19206],[102.875511,33.192157],[102.875701,33.192389],[102.875536,33.192611],[102.875157,33.192781],[102.874901,33.192999],[102.874933,33.193129],[102.875286,33.1932],[102.875919,33.193122],[102.87614,33.192925],[102.876395,33.192531],[102.876719,33.192525],[102.876817,33.192882],[102.876812,33.193258],[102.877043,33.193372],[102.877263,33.1933],[102.877451,33.192989],[102.877415,33.19263],[102.877449,33.192332],[102.877707,33.192285],[102.877897,33.192712],[102.877772,33.193017],[102.877537,33.19345],[102.877164,33.193916],[102.876879,33.194242],[102.876882,33.194419],[102.877191,33.194468],[102.877701,33.194402],[102.878099,33.194368],[102.878267,33.19459],[102.878249,33.194794],[102.877983,33.19503],[102.877598,33.195196],[102.87714,33.195287],[102.876999,33.195394],[102.877035,33.195574],[102.877286,33.195692],[102.87745,33.1958],[102.877485,33.195929],[102.877387,33.196029],[102.877212,33.196114],[102.877071,33.196216],[102.877068,33.196344],[102.877256,33.196444],[102.877707,33.196482],[102.878042,33.196635],[102.878419,33.197029],[102.878504,33.197386],[102.878398,33.197604],[102.878233,33.197725],[102.877974,33.197868],[102.877907,33.198012],[102.878042,33.198175],[102.878364,33.198178],[102.879058,33.198093],[102.879687,33.198165],[102.879742,33.198317],[102.87966,33.198478],[102.879259,33.19879],[102.879215,33.19896],[102.879372,33.199172],[102.879953,33.199189],[102.880336,33.199244],[102.880946,33.19957],[102.881179,33.199804],[102.881181,33.19999],[102.881012,33.200122],[102.880801,33.20031],[102.88065,33.2005],[102.880722,33.200646],[102.880923,33.200765],[102.881327,33.200729],[102.881942,33.200578],[102.882119,33.200652],[102.882102,33.200846],[102.881928,33.20102],[102.881786,33.201224],[102.881844,33.201388],[102.882159,33.20152],[102.882604,33.201581],[102.882693,33.201699],[102.882907,33.201918],[102.883051,33.202162],[102.883038,33.202385],[102.882941,33.2026],[102.88274,33.202735],[102.882372,33.202846],[102.881961,33.2029],[102.881688,33.202817],[102.881583,33.202584],[102.881501,33.202238],[102.881393,33.202143],[102.881229,33.202132],[102.880979,33.202245],[102.880859,33.202455],[102.880912,33.202619],[102.881126,33.202932],[102.881335,33.203136],[102.881566,33.20326],[102.881841,33.2034],[102.881906,33.203546],[102.881774,33.203669],[102.881377,33.203707],[102.881129,33.20364],[102.88073,33.203266],[102.880498,33.20312],[102.880336,33.203098],[102.880178,33.203187],[102.88006,33.203396],[102.879948,33.20361],[102.879794,33.203701],[102.879562,33.203741],[102.879305,33.203841],[102.879244,33.204007],[102.879455,33.204408],[102.879752,33.204771],[102.880229,33.204905],[102.88027,33.205071],[102.880021,33.205196],[102.879562,33.205345],[102.879447,33.205494],[102.879475,33.205672],[102.880042,33.205948],[102.880437,33.206174],[102.880653,33.206459],[102.880786,33.206708],[102.88097,33.206753],[102.881599,33.20656],[102.881807,33.206692],[102.882021,33.207197],[102.882086,33.207533],[102.881954,33.207666],[102.88177,33.207706],[102.88148,33.207627],[102.880866,33.207459],[102.880327,33.207389],[102.879435,33.207332],[102.878863,33.207368],[102.878347,33.207519],[102.878146,33.207542],[102.878058,33.207389],[102.878141,33.207131],[102.87815,33.206971],[102.877948,33.206934],[102.877598,33.20697],[102.877276,33.207013],[102.876899,33.207062],[102.876816,33.207255],[102.876904,33.207495],[102.877028,33.207618],[102.877392,33.208067],[102.877455,33.208384],[102.877327,33.208604],[102.877053,33.208925],[102.876723,33.209343],[102.876555,33.20959],[102.876614,33.209746],[102.877007,33.209719],[102.877352,33.20954],[102.877606,33.20926],[102.87784,33.208646],[102.878047,33.208411],[102.87839,33.208345],[102.878707,33.208739],[102.878609,33.209555],[102.878665,33.210143],[102.878486,33.210202],[102.878036,33.210041],[102.877638,33.210067],[102.87749,33.210271],[102.877402,33.21071],[102.877371,33.211157],[102.877482,33.211476],[102.877831,33.211528],[102.87822,33.211259],[102.878891,33.210734],[102.879219,33.210952],[102.879335,33.211228],[102.879264,33.211475],[102.878795,33.211747],[102.878261,33.211904],[102.877611,33.211889],[102.876957,33.211928],[102.876879,33.212038],[102.876911,33.212229],[102.87745,33.212346],[102.878098,33.212251],[102.878578,33.212178],[102.878935,33.212246],[102.879453,33.212491],[102.879793,33.212787],[102.879963,33.213079],[102.879914,33.213325],[102.879743,33.213542],[102.879436,33.213658],[102.878894,33.213612],[102.878588,33.213428],[102.87789,33.21295],[102.87759,33.212991],[102.877485,33.213115],[102.87748,33.213354],[102.877595,33.213788],[102.877638,33.214136],[102.877576,33.214323],[102.877072,33.214298],[102.876716,33.214141],[102.876528,33.213858],[102.876565,33.213449],[102.876725,33.213034],[102.876722,33.212873],[102.876289,33.212859],[102.876145,33.213003],[102.876081,33.213211],[102.876195,33.213451],[102.876171,33.213722],[102.876054,33.214189],[102.875865,33.214363],[102.875557,33.214765],[102.875677,33.214959],[102.876039,33.214946],[102.876602,33.214694],[102.876906,33.21466],[102.877047,33.214934],[102.876838,33.215236],[102.876453,33.215431],[102.87584,33.215588],[102.87548,33.215566],[102.875188,33.215411],[102.874663,33.214707],[102.874311,33.214335],[102.874007,33.214233],[102.873825,33.214297],[102.873742,33.214479],[102.873798,33.214896],[102.874043,33.215262],[102.87456,33.215623],[102.875222,33.215942],[102.875718,33.215945],[102.876598,33.215851],[102.876764,33.21598],[102.876791,33.216186],[102.876742,33.21636],[102.876501,33.216491],[102.876018,33.216626],[102.875401,33.216764],[102.87527,33.216943],[102.87526,33.217109],[102.875468,33.217255],[102.875901,33.217478],[102.876438,33.217628],[102.876517,33.21763],[102.876919,33.217639],[102.877422,33.217525],[102.878134,33.217403],[102.878452,33.217475],[102.878655,33.217627],[102.878813,33.21783],[102.878788,33.218144],[102.878636,33.218257],[102.878276,33.218302],[102.877835,33.218388],[102.877646,33.218529],[102.877591,33.218741],[102.87769,33.218967],[102.878208,33.219444],[102.878635,33.219896],[102.878605,33.220041],[102.878397,33.220148],[102.878032,33.220276],[102.877952,33.220433],[102.878093,33.220621],[102.878608,33.220927],[102.879037,33.221043],[102.879335,33.220916],[102.879482,33.220651],[102.87951,33.220405],[102.879434,33.220021],[102.879404,33.219671],[102.879485,33.219508],[102.879722,33.219436],[102.880109,33.219437],[102.880335,33.219572],[102.880419,33.219811],[102.880538,33.220309],[102.880496,33.220597],[102.880425,33.22094],[102.880412,33.221079],[102.88056,33.221167],[102.880773,33.221087],[102.880946,33.220894],[102.881144,33.220709],[102.881418,33.220599],[102.881724,33.220602],[102.882309,33.220678],[102.882516,33.220616],[102.882813,33.22048],[102.883136,33.220489],[102.883571,33.220592],[102.883763,33.220655],[102.884003,33.220622],[102.884236,33.22061],[102.884372,33.220649],[102.884458,33.220786],[102.884507,33.220964],[102.884587,33.221201],[102.884615,33.221397],[102.884611,33.221624],[102.884594,33.222066],[102.88469,33.222463],[102.884879,33.222571],[102.885279,33.222559],[102.885777,33.222554],[102.885982,33.22267],[102.88598,33.222849],[102.88569,33.223094],[102.885317,33.223368],[102.885301,33.223496],[102.885456,33.223606],[102.885738,33.223582],[102.886025,33.223404],[102.886486,33.222829],[102.886929,33.222156],[102.887182,33.222059],[102.88735,33.222165],[102.887351,33.222323],[102.887083,33.223284],[102.886881,33.224173],[102.886656,33.224978],[102.886652,33.225178],[102.886773,33.225222],[102.887335,33.224988],[102.887719,33.22489],[102.88793,33.224916],[102.888442,33.225208],[102.888722,33.225427],[102.888766,33.225625],[102.88868,33.225783],[102.888423,33.226394],[102.888141,33.227232],[102.887977,33.227336],[102.887689,33.227256],[102.887502,33.227143],[102.886993,33.22674],[102.886835,33.226434],[102.886748,33.225892],[102.886656,33.225617],[102.88636,33.225543],[102.886035,33.225567],[102.885743,33.225722],[102.885578,33.225929],[102.885606,33.226216],[102.885872,33.226623],[102.886061,33.226983],[102.886162,33.227884],[102.886237,33.228639],[102.886503,33.228746],[102.886771,33.228909],[102.88681,33.229111],[102.88671,33.229269],[102.886361,33.229416],[102.885909,33.229402],[102.884948,33.229353],[102.884144,33.229267],[102.883596,33.229144],[102.883219,33.22881],[102.882999,33.228686],[102.882816,33.228726],[102.88273,33.229128],[102.882805,33.229593],[102.883041,33.230494],[102.883432,33.230886],[102.883645,33.230958],[102.8839,33.230826],[102.88417,33.230331],[102.884403,33.229662],[102.884605,33.229554],[102.884872,33.22964],[102.885304,33.229768],[102.885683,33.229834],[102.886169,33.229821],[102.886355,33.22985],[102.886318,33.23],[102.886141,33.230177],[102.885533,33.230879],[102.885255,33.231377],[102.88518,33.231593],[102.885261,33.231703],[102.885497,33.231744],[102.885966,33.23162],[102.886469,33.231435],[102.886753,33.231426],[102.88693,33.231496],[102.887065,33.231665],[102.887173,33.231934],[102.887334,33.232467],[102.887353,33.232666],[102.887254,33.232817],[102.887074,33.232833],[102.88683,33.232844],[102.886515,33.232891],[102.886205,33.232957],[102.886112,33.233058],[102.886143,33.233207],[102.886338,33.233358],[102.886677,33.233472],[102.88697,33.23345],[102.887288,33.233387],[102.887654,33.233339],[102.888415,33.233116],[102.889023,33.232847],[102.889106,33.232582],[102.889187,33.232291],[102.889355,33.232205],[102.889523,33.232236],[102.889832,33.232529],[102.890171,33.232977],[102.890233,33.233132],[102.89004,33.233276],[102.889766,33.233494],[102.889417,33.233794],[102.888742,33.234203],[102.888388,33.234381],[102.888307,33.234524],[102.888403,33.234632],[102.888722,33.234691],[102.889308,33.23478],[102.889447,33.234878],[102.889469,33.235083],[102.889301,33.235258],[102.888952,33.235426],[102.888621,33.235487],[102.888223,33.235521],[102.887839,33.235474],[102.887152,33.235156],[102.886755,33.234968],[102.886697,33.234862],[102.886779,33.234708],[102.886945,33.234411],[102.886993,33.234245],[102.886818,33.234178],[102.886645,33.234228],[102.886336,33.234504],[102.886005,33.234933],[102.885894,33.235239],[102.88575,33.235887],[102.885654,33.235997],[102.885538,33.236025],[102.885424,33.235934],[102.885224,33.235722],[102.885037,33.235579],[102.884805,33.235541],[102.884645,33.235591],[102.884464,33.235773],[102.884382,33.236088],[102.884376,33.236331],[102.884594,33.236461],[102.885068,33.236788],[102.885294,33.237065],[102.885354,33.237343],[102.885254,33.237528],[102.885069,33.23768],[102.884622,33.237852],[102.884345,33.23784],[102.883727,33.237662],[102.883055,33.237506],[102.882795,33.237591],[102.882744,33.237793],[102.88296,33.238079],[102.883384,33.238282],[102.884197,33.238521],[102.884537,33.238525],[102.884742,33.23831],[102.885012,33.238159],[102.88524,33.23813],[102.885324,33.238343],[102.885333,33.238752],[102.885351,33.239348],[102.88529,33.239803],[102.88507,33.239879],[102.884398,33.239742],[102.884024,33.239736],[102.883863,33.239882],[102.883846,33.240162],[102.884194,33.240336],[102.884848,33.240541],[102.885931,33.240851],[102.886625,33.241094],[102.886962,33.241286],[102.887068,33.241412],[102.887066,33.241559],[102.886971,33.241722],[102.886906,33.241905],[102.886872,33.242161],[102.886869,33.242297],[102.887023,33.242332],[102.88727,33.242238],[102.887805,33.24201],[102.888687,33.241701],[102.889379,33.241501],[102.889574,33.241516],[102.889703,33.241628],[102.889737,33.241851],[102.889561,33.242176],[102.88931,33.242391],[102.889041,33.242784],[102.889042,33.242905],[102.889181,33.243007],[102.889383,33.243044],[102.889892,33.24299],[102.890284,33.242971],[102.890503,33.243012],[102.890846,33.243211],[102.891113,33.243297],[102.891266,33.243225],[102.891251,33.243046],[102.89107,33.242802],[102.890757,33.242475],[102.890742,33.242299],[102.890848,33.242154],[102.891057,33.242077],[102.891472,33.242111],[102.892056,33.242296],[102.892356,33.242473],[102.892435,33.242723],[102.892283,33.243067],[102.891935,33.243422],[102.891163,33.24389],[102.890562,33.244241],[102.889853,33.244604],[102.889654,33.244733],[102.889557,33.244944],[102.889802,33.245114],[102.890317,33.2452],[102.890887,33.245127],[102.891293,33.244869],[102.891645,33.244558],[102.892258,33.244044],[102.892504,33.243968],[102.892716,33.243995],[102.893113,33.244172],[102.893426,33.244428],[102.893923,33.244959],[102.89429,33.245438],[102.894264,33.245594],[102.894022,33.245742],[102.893459,33.245776],[102.89241,33.245672],[102.892226,33.245703],[102.892149,33.245779],[102.892141,33.245979],[102.892439,33.24628],[102.892784,33.24648],[102.893311,33.246555],[102.893818,33.246548],[102.894883,33.246468],[102.895153,33.246499],[102.895398,33.24658],[102.89582,33.246931],[102.896192,33.247056],[102.896394,33.246997],[102.896449,33.246828],[102.896273,33.246549],[102.895895,33.246229],[102.895818,33.246078],[102.895906,33.245939],[102.896189,33.245865],[102.896799,33.245863],[102.897115,33.245915],[102.897341,33.246041],[102.897529,33.24623],[102.897822,33.246552],[102.898129,33.246865],[102.898144,33.24697],[102.897862,33.247193],[102.897746,33.24737],[102.89772,33.247506],[102.897828,33.247606],[102.89805,33.247686],[102.898386,33.247744],[102.899047,33.247929],[102.899276,33.248081],[102.899398,33.248322],[102.899431,33.248606],[102.899403,33.2491],[102.899288,33.249309],[102.898936,33.249619],[102.898817,33.249805],[102.898974,33.249935],[102.899372,33.250204],[102.899654,33.250625],[102.899824,33.251013],[102.899726,33.251142],[102.899016,33.251156],[102.898378,33.251233],[102.897627,33.251277],[102.897016,33.251388],[102.896725,33.251494],[102.896494,33.251712],[102.89637,33.251827],[102.896213,33.25182],[102.896089,33.25161],[102.895998,33.251345],[102.895913,33.250906],[102.895741,33.250662],[102.895498,33.250669],[102.895342,33.250815],[102.895287,33.251103],[102.895287,33.251499],[102.895229,33.251543],[102.895215,33.251553],[102.895108,33.251635],[102.895065,33.251667],[102.8946,33.252208],[102.894164,33.252633],[102.894157,33.252639],[102.894068,33.252726],[102.894085,33.252752],[102.894194,33.252928],[102.894255,33.253026],[102.895721,33.255386],[102.895736,33.255445],[102.895739,33.255484],[102.895741,33.255526],[102.895741,33.255564],[102.895732,33.255602],[102.895716,33.25565],[102.895714,33.25568],[102.895713,33.2557],[102.895726,33.255718],[102.895744,33.255718],[102.89575,33.255705],[102.895762,33.255691],[102.895771,33.255693],[102.895782,33.255703],[102.895788,33.25571],[102.895805,33.255748],[102.89583,33.255811],[102.895843,33.255845],[102.895863,33.255849],[102.895875,33.255844],[102.895879,33.255821],[102.895877,33.255776],[102.895862,33.25574],[102.895853,33.255707],[102.895852,33.25568],[102.895851,33.255654],[102.895862,33.255613],[102.896195,33.256149],[102.896639,33.256863],[102.896783,33.257095],[102.897857,33.258822],[102.918741,33.29242],[102.918913,33.292696],[102.918917,33.292834],[102.919007,33.292947],[102.919032,33.293128],[102.918998,33.293294],[102.918977,33.293403],[102.918996,33.293508],[102.919071,33.293562],[102.919194,33.293638],[102.91929,33.293746],[102.919345,33.29385],[102.919388,33.29395],[102.919384,33.294087],[102.919316,33.294215],[102.91927,33.294281],[102.919245,33.294396],[102.91929,33.294488],[102.919364,33.29455],[102.919532,33.29459],[102.919662,33.294607],[102.919821,33.294617],[102.919901,33.294644],[102.920008,33.294696],[102.920188,33.294747],[102.920341,33.29463],[102.920409,33.294639],[102.92046,33.294618],[102.920504,33.294597],[102.920524,33.294569],[102.920537,33.294543],[102.920567,33.294497],[102.920603,33.294483],[102.920786,33.294569],[102.921041,33.294573],[102.921283,33.294565],[102.921339,33.294614],[102.92125,33.294756],[102.920962,33.29493],[102.920874,33.295036],[102.920799,33.295032],[102.920757,33.295015],[102.920713,33.294983],[102.920685,33.294959],[102.920664,33.294929],[102.920652,33.294904],[102.920621,33.294895],[102.920584,33.294903],[102.920547,33.294919],[102.920524,33.294925],[102.920476,33.294921],[102.920443,33.294912],[102.92039,33.294918],[102.92035,33.294943],[102.920329,33.294973],[102.920226,33.295043],[102.920174,33.295158],[102.920147,33.295233],[102.9201,33.295312],[102.920066,33.295363],[102.920028,33.295426],[102.920021,33.295494],[102.920026,33.295557],[102.920055,33.295598],[102.920094,33.295609],[102.92021,33.295614],[102.920307,33.295606],[102.920416,33.29558],[102.920493,33.295573],[102.92057,33.295515],[102.92063,33.295457],[102.920666,33.295516],[102.92071,33.295589],[102.920946,33.295986],[102.921019,33.296109],[102.92084,33.296106],[102.920608,33.296102],[102.920377,33.296098],[102.920145,33.296095],[102.919913,33.296091],[102.919682,33.296087],[102.91945,33.296083],[102.919219,33.296079],[102.918987,33.296075],[102.918746,33.296088],[102.918506,33.2961],[102.918265,33.296112],[102.918024,33.296125],[102.917783,33.296137],[102.917542,33.296149],[102.917301,33.296161],[102.917061,33.296174],[102.91682,33.296186],[102.916666,33.296194],[102.916579,33.296198],[102.916338,33.296211],[102.916097,33.296223],[102.915841,33.296232],[102.915585,33.296242],[102.915329,33.296251],[102.915072,33.29626],[102.914816,33.29627],[102.91456,33.296279],[102.914303,33.296288],[102.914047,33.296297],[102.913791,33.296307],[102.913534,33.296316],[102.913278,33.296325],[102.913022,33.296335],[102.912766,33.296344],[102.912509,33.296353],[102.912253,33.296363],[102.911997,33.296372],[102.911729,33.296377],[102.911462,33.296381],[102.911195,33.296385],[102.910927,33.29639],[102.91066,33.296394],[102.910392,33.296399],[102.910125,33.296403],[102.909858,33.296408],[102.90959,33.296412],[102.909323,33.296417],[102.909065,33.296439],[102.908808,33.296462],[102.908486,33.296493],[102.908164,33.296524],[102.907886,33.296609],[102.907561,33.296751],[102.907552,33.296755],[102.907217,33.296902],[102.906998,33.297096],[102.906779,33.297289],[102.906645,33.297448],[102.906462,33.297587],[102.906278,33.297726],[102.906095,33.297866],[102.905912,33.298005],[102.905728,33.298144],[102.905545,33.298283],[102.905362,33.298422],[102.905178,33.298561],[102.904894,33.298843],[102.904609,33.299125],[102.904325,33.299407],[102.904115,33.299655],[102.903906,33.299902],[102.903742,33.30007],[102.903578,33.300238],[102.903381,33.300379],[102.903056,33.300553],[102.902731,33.300727],[102.902397,33.300855],[102.902063,33.300984],[102.901842,33.301061],[102.90162,33.301138],[102.901399,33.301215],[102.901178,33.301293],[102.900797,33.301404],[102.900416,33.301516],[102.900116,33.301566],[102.899838,33.301579],[102.899582,33.301539],[102.899347,33.301518],[102.898919,33.301493],[102.898585,33.301603],[102.898251,33.301713],[102.898056,33.30185],[102.89786,33.301988],[102.897664,33.302125],[102.897469,33.302263],[102.897273,33.3024],[102.897078,33.302538],[102.896903,33.302696],[102.896728,33.302854],[102.896553,33.303013],[102.896378,33.303171],[102.896203,33.30333],[102.896028,33.303488],[102.895853,33.303647],[102.895678,33.303805],[102.895483,33.303972],[102.895288,33.304138],[102.895093,33.304305],[102.894898,33.304471],[102.894703,33.304637],[102.894508,33.304804],[102.894212,33.305077],[102.893916,33.30535],[102.893763,33.305509],[102.893567,33.305684],[102.893349,33.305807],[102.893198,33.305857],[102.892907,33.305969],[102.892616,33.30608],[102.892337,33.306165],[102.892014,33.306215],[102.891725,33.306237],[102.891436,33.306258],[102.891007,33.306269],[102.890579,33.306279],[102.890354,33.306302],[102.89013,33.306326],[102.88984,33.306356],[102.88955,33.306387],[102.889388,33.306385],[102.889136,33.306343],[102.888883,33.3063],[102.888587,33.306231],[102.888291,33.306162],[102.88793,33.306061],[102.887568,33.30596],[102.887359,33.305848],[102.887149,33.305736],[102.886927,33.305643],[102.886705,33.30555],[102.886483,33.305456],[102.88626,33.305363],[102.886038,33.305269],[102.885816,33.305176],[102.885594,33.305082],[102.885371,33.304989],[102.885022,33.304839],[102.884829,33.304853],[102.88453,33.304884],[102.884206,33.304968],[102.884009,33.305163],[102.883766,33.305499],[102.883586,33.305882],[102.883405,33.306264],[102.883206,33.306584],[102.883006,33.30685],[102.882841,33.307053],[102.882676,33.307257],[102.882521,33.307443],[102.882367,33.307629],[102.882189,33.307904],[102.882011,33.308178],[102.881919,33.308462],[102.88185,33.308677],[102.88178,33.308892],[102.881676,33.309175],[102.881571,33.309458],[102.881455,33.309814],[102.881428,33.310066],[102.881442,33.310371],[102.881519,33.310696],[102.881566,33.310983],[102.881612,33.311271],[102.88165,33.311504],[102.881685,33.311847],[102.881719,33.312151],[102.881713,33.312402],[102.881707,33.312653],[102.881636,33.31294],[102.881566,33.31319],[102.881428,33.313598],[102.881326,33.313968],[102.881225,33.314337],[102.881123,33.314707],[102.881055,33.31495],[102.880988,33.315192],[102.88092,33.315435],[102.880853,33.315678],[102.880785,33.315921],[102.880718,33.316164],[102.88065,33.316406],[102.880583,33.316649],[102.880463,33.316898],[102.880343,33.317147],[102.880223,33.317396],[102.880103,33.317646],[102.879983,33.317895],[102.879863,33.318144],[102.879661,33.318517],[102.879419,33.318835],[102.879176,33.319154],[102.878903,33.319392],[102.878629,33.319629],[102.878304,33.319785],[102.878067,33.319871],[102.877679,33.319972],[102.877336,33.320012],[102.876993,33.320051],[102.876591,33.320052],[102.87619,33.320053],[102.876116,33.320053],[102.875867,33.320025],[102.875619,33.319996],[102.87537,33.319968],[102.875121,33.31994],[102.874872,33.319912],[102.874623,33.319884],[102.874353,33.319885],[102.874083,33.319886],[102.873813,33.319887],[102.873543,33.319888],[102.873147,33.31989],[102.872751,33.319892],[102.872386,33.319958],[102.872133,33.32003],[102.87188,33.320102],[102.871627,33.320174],[102.871374,33.320246],[102.871121,33.320317],[102.870868,33.320389],[102.870615,33.320461],[102.870362,33.320533],[102.870137,33.320602],[102.869913,33.320672],[102.869688,33.320741],[102.869464,33.320811],[102.869239,33.32088],[102.869015,33.32095],[102.868791,33.321019],[102.868566,33.321088],[102.868342,33.321158],[102.868117,33.321227],[102.867893,33.321297],[102.867668,33.321366],[102.867268,33.32142],[102.867031,33.321452],[102.866796,33.321448],[102.866561,33.321444],[102.866338,33.321378],[102.866115,33.321311],[102.865936,33.321164],[102.865757,33.321017],[102.865454,33.320725],[102.865151,33.320432],[102.864936,33.320272],[102.864721,33.320111],[102.864506,33.319951],[102.864291,33.31979],[102.864059,33.319643],[102.863828,33.319495],[102.863572,33.319455],[102.863316,33.319415],[102.863048,33.319354],[102.86278,33.319294],[102.862512,33.319234],[102.862244,33.319174],[102.861976,33.319114],[102.861708,33.319054],[102.86144,33.318993],[102.861172,33.318933],[102.860904,33.318873],[102.860636,33.318813],[102.860259,33.318641],[102.859882,33.318469],[102.859505,33.318297],[102.859092,33.318124],[102.858679,33.317951],[102.858266,33.317778],[102.857853,33.317605],[102.857639,33.317525],[102.857424,33.317445],[102.857209,33.317365],[102.856995,33.317285],[102.85678,33.317205],[102.856566,33.317125],[102.856351,33.317045],[102.856136,33.316965],[102.855892,33.316916],[102.855648,33.316866],[102.855351,33.316772],[102.855011,33.316641],[102.854652,33.316473],[102.854421,33.316272],[102.854171,33.316034],[102.854,33.315851],[102.85383,33.315669],[102.85366,33.315487],[102.85349,33.315304],[102.85332,33.315122],[102.853149,33.31494],[102.852878,33.314675],[102.852606,33.31441],[102.85233,33.314315],[102.851914,33.314281],[102.851498,33.314246],[102.851082,33.314212],[102.850683,33.314199],[102.850284,33.314186],[102.849885,33.314172],[102.849671,33.314222],[102.849498,33.314256],[102.849248,33.314404],[102.848998,33.314552],[102.848747,33.314763],[102.848496,33.314973],[102.848324,33.315025],[102.848217,33.31504],[102.847896,33.315035],[102.847661,33.315013],[102.847342,33.314935],[102.847096,33.314814],[102.846851,33.314694],[102.846605,33.314573],[102.84636,33.314452],[102.846114,33.314331],[102.845868,33.31421],[102.845623,33.314089],[102.845377,33.313969],[102.845153,33.313826],[102.84493,33.313683],[102.844706,33.31354],[102.844482,33.313397],[102.844258,33.313254],[102.844034,33.313112],[102.843811,33.312969],[102.843587,33.312826],[102.84337,33.312715],[102.843154,33.312603],[102.842938,33.312492],[102.842721,33.312381],[102.842478,33.312287],[102.842234,33.312192],[102.842011,33.31213],[102.841788,33.312068],[102.841565,33.312006],[102.841341,33.311944],[102.841065,33.311903],[102.840788,33.311863],[102.840516,33.311844],[102.840244,33.311826],[102.839972,33.311807],[102.839701,33.311789],[102.839429,33.31177],[102.839157,33.311752],[102.838886,33.311733],[102.838614,33.311714],[102.838386,33.311701],[102.838158,33.311688],[102.83793,33.311675],[102.837702,33.311662],[102.837474,33.311649],[102.837246,33.311636],[102.836842,33.311594],[102.836628,33.311573],[102.836393,33.311567],[102.836072,33.31158],[102.835672,33.31177],[102.835271,33.31196],[102.835096,33.312125],[102.834921,33.312289],[102.834746,33.312454],[102.834571,33.312619],[102.834396,33.312783],[102.834221,33.312948],[102.833979,33.313176],[102.833827,33.313244],[102.833612,33.313313],[102.833333,33.313345],[102.832991,33.313356],[102.832565,33.31326],[102.832237,33.313137],[102.831908,33.313015],[102.831741,33.312841],[102.831574,33.312668],[102.831408,33.312463],[102.831242,33.312258],[102.831076,33.312054],[102.83091,33.311849],[102.830744,33.311644],[102.830578,33.31144],[102.830412,33.311235],[102.830246,33.31103],[102.830037,33.310834],[102.829815,33.31067],[102.829593,33.310506],[102.829319,33.310369],[102.829046,33.310232],[102.828983,33.310219],[102.828625,33.310122],[102.828266,33.310025],[102.827908,33.309928],[102.827566,33.309922],[102.827225,33.309916],[102.82686,33.309964],[102.826579,33.310031],[102.826451,33.310083],[102.826255,33.310258],[102.826032,33.310612],[102.82596,33.310926],[102.825887,33.311239],[102.825839,33.311489],[102.82579,33.31174],[102.825632,33.312059],[102.825475,33.312289],[102.825301,33.312465],[102.824954,33.312621],[102.824707,33.31268],[102.824459,33.312739],[102.824237,33.312792],[102.824015,33.312844],[102.823792,33.312897],[102.82357,33.31295],[102.823348,33.313003],[102.823125,33.313056],[102.822899,33.313112],[102.822672,33.313168],[102.822445,33.313225],[102.822218,33.313281],[102.821991,33.313337],[102.821764,33.313393],[102.821537,33.313449],[102.82131,33.313506],[102.821083,33.313562],[102.820856,33.313618],[102.820641,33.313684],[102.820425,33.313749],[102.82021,33.313815],[102.819994,33.31388],[102.819779,33.313946],[102.819563,33.314011],[102.819348,33.314077],[102.819132,33.314142],[102.818743,33.314338],[102.818353,33.314533],[102.817964,33.314728],[102.817574,33.314924],[102.817247,33.315178],[102.816919,33.315433],[102.816688,33.315698],[102.816456,33.315962],[102.816149,33.316284],[102.815841,33.316607],[102.815534,33.316929],[102.815227,33.317251],[102.814895,33.317529],[102.814563,33.317808],[102.814301,33.318001],[102.813977,33.318138],[102.813689,33.318168],[102.813677,33.318169],[102.813292,33.318143],[102.812933,33.318029],[102.812592,33.317917],[102.812347,33.317867],[102.812103,33.317818],[102.811739,33.317789],[102.811665,33.317783],[102.811228,33.317748],[102.810958,33.317746],[102.810688,33.317743],[102.810418,33.317741],[102.810148,33.317739],[102.809878,33.317736],[102.809608,33.317734],[102.809517,33.317733],[102.809338,33.317731],[102.809211,33.31773],[102.809068,33.317729],[102.808798,33.317726],[102.808528,33.317724],[102.808456,33.317723],[102.808258,33.317721],[102.807988,33.317719],[102.807718,33.317716],[102.807448,33.317714],[102.807178,33.317711],[102.806908,33.317709],[102.806639,33.317717],[102.80637,33.317724],[102.8061,33.317732],[102.805831,33.31774],[102.805562,33.317748],[102.805292,33.317756],[102.805023,33.317763],[102.804754,33.317771],[102.804484,33.317779],[102.804215,33.317787],[102.803946,33.317795],[102.803676,33.317802],[102.803407,33.31781],[102.803138,33.317818],[102.802868,33.317826],[102.802599,33.317833],[102.80233,33.317841],[102.80206,33.317849],[102.801791,33.317857],[102.801522,33.317865],[102.801251,33.317896],[102.80098,33.317927],[102.800709,33.317958],[102.800439,33.317989],[102.800168,33.31802],[102.799897,33.318051],[102.799626,33.318082],[102.799355,33.318113],[102.799085,33.318144],[102.798814,33.318175],[102.798543,33.318206],[102.798272,33.318237],[102.798001,33.318268],[102.797731,33.318299],[102.79746,33.31833],[102.797189,33.318361],[102.796943,33.318396],[102.796698,33.318431],[102.796453,33.318466],[102.796207,33.3185],[102.795962,33.318535],[102.795716,33.31857],[102.795481,33.318584],[102.795245,33.318597],[102.79501,33.318611],[102.794774,33.318625],[102.794538,33.318638],[102.794303,33.318652],[102.7942,33.318647],[102.79387,33.318631],[102.793438,33.31861],[102.793005,33.318589],[102.792573,33.318567],[102.792196,33.318525],[102.791818,33.318482],[102.791441,33.318439],[102.791079,33.318406],[102.790717,33.318373],[102.790267,33.318365],[102.789818,33.318357],[102.789551,33.318339],[102.789284,33.318321],[102.789017,33.318302],[102.788751,33.318284],[102.788484,33.318266],[102.788217,33.318248],[102.78795,33.31823],[102.787683,33.318212],[102.787324,33.318122],[102.786964,33.318032],[102.786557,33.317924],[102.786196,33.317795],[102.785945,33.3177],[102.785693,33.317605],[102.785369,33.317518],[102.785045,33.31743],[102.784816,33.317366],[102.784586,33.317301],[102.784356,33.317236],[102.784127,33.317171],[102.783897,33.317106],[102.783667,33.317041],[102.783437,33.316976],[102.783208,33.316911],[102.782978,33.316846],[102.782748,33.316781],[102.782519,33.316716],[102.782289,33.316651],[102.782059,33.316586],[102.78183,33.316521],[102.781544,33.316374],[102.781329,33.316259],[102.781114,33.316144],[102.780846,33.315961],[102.780577,33.315778],[102.780309,33.315595],[102.779943,33.315336],[102.779577,33.315077],[102.77921,33.314818],[102.778844,33.314559],[102.778711,33.31433],[102.778644,33.314111],[102.77854,33.313688],[102.778435,33.313264],[102.778297,33.313031],[102.778159,33.312798],[102.778111,33.312725],[102.77793,33.312455],[102.777769,33.312303],[102.777768,33.312303],[102.77755,33.312227],[102.777232,33.312171],[102.777226,33.31217],[102.776969,33.312093],[102.776817,33.312017],[102.776731,33.311913],[102.776636,33.311741],[102.776494,33.311622],[102.776383,33.311554],[102.776174,33.311426],[102.775965,33.311298],[102.775756,33.311169],[102.775547,33.311041],[102.775337,33.310913],[102.775128,33.310785],[102.774919,33.310657],[102.77471,33.310529],[102.774353,33.31031],[102.774095,33.310276],[102.773705,33.310171],[102.77345,33.310067],[102.773333,33.310019],[102.773086,33.309838],[102.772867,33.309543],[102.772751,33.309225],[102.772635,33.308906],[102.772518,33.308588],[102.772505,33.308553],[102.772315,33.308381],[102.771925,33.308172],[102.771606,33.308025],[102.771287,33.307877],[102.771147,33.307815],[102.771049,33.307772],[102.770878,33.307687],[102.770659,33.307658],[102.770373,33.30763],[102.770069,33.307534],[102.76974,33.307434],[102.769412,33.307335],[102.769098,33.307135],[102.768869,33.306963],[102.768842,33.306882],[102.768727,33.306542],[102.768612,33.306202],[102.768543,33.306032],[102.768368,33.305901],[102.768181,33.305762],[102.767995,33.305623],[102.767643,33.30536],[102.767316,33.305187],[102.766988,33.305014],[102.766661,33.304841],[102.766376,33.304699],[102.76609,33.304558],[102.7657,33.304365],[102.765395,33.304089],[102.765215,33.303861],[102.765189,33.303824],[102.765053,33.303632],[102.764862,33.30347],[102.764615,33.303404],[102.764196,33.303356],[102.763904,33.303437],[102.763612,33.303517],[102.763473,33.303556],[102.763346,33.303581],[102.763178,33.303613],[102.762854,33.303584],[102.762473,33.303508],[102.762212,33.303423],[102.76195,33.303337],[102.761769,33.303223],[102.761636,33.303097],[102.761598,33.303061],[102.76148,33.302914],[102.761295,33.302844],[102.76114,33.302794],[102.760907,33.302813],[102.760675,33.302833],[102.760351,33.302804],[102.760027,33.30268],[102.759732,33.302595],[102.759437,33.302509],[102.759171,33.302394],[102.759085,33.302357],[102.758762,33.302252],[102.758438,33.302147],[102.758124,33.302109],[102.75781,33.302223],[102.757496,33.302484],[102.757182,33.302744],[102.756867,33.303004],[102.756866,33.303004],[102.756865,33.303005],[102.756605,33.303123],[102.756344,33.303242],[102.755906,33.303318],[102.75564,33.303328],[102.755373,33.303337],[102.755021,33.303251],[102.75481,33.303166],[102.7546,33.303081],[102.754574,33.303071],[102.754269,33.302918],[102.753917,33.302658],[102.753566,33.302398],[102.753214,33.302137],[102.75306,33.302024],[102.75281,33.301849],[102.752559,33.301675],[102.752308,33.3015],[102.752213,33.301433],[102.752118,33.301272],[102.752099,33.30092],[102.75208,33.300567],[102.752054,33.300482],[102.751948,33.300129],[102.751842,33.299777],[102.751731,33.299489],[102.75162,33.2992],[102.751536,33.298981],[102.751509,33.298911],[102.751515,33.298699],[102.751518,33.298578],[102.75154,33.298207],[102.751562,33.297836],[102.751583,33.297479],[102.751604,33.297122],[102.751585,33.296694],[102.751573,33.296427],[102.751561,33.29616],[102.751477,33.295949],[102.751443,33.295901],[102.751362,33.295786],[102.751219,33.295702],[102.751187,33.295684],[102.750976,33.295561],[102.750701,33.295465],[102.750425,33.295368],[102.750285,33.295321],[102.750227,33.295254],[102.750195,33.295218],[102.750005,33.294971],[102.749848,33.294766],[102.749691,33.294562],[102.749482,33.294409],[102.74922,33.294309],[102.748958,33.294209],[102.748673,33.294117],[102.748387,33.294025],[102.748102,33.293933],[102.747883,33.293819],[102.74773,33.293667],[102.747678,33.293573],[102.747645,33.293515],[102.747645,33.293463],[102.747645,33.293018],[102.747645,33.292572],[102.747616,33.292334],[102.747501,33.291937],[102.747387,33.29154],[102.747272,33.291142],[102.747226,33.290983],[102.747116,33.290655],[102.747007,33.290326],[102.746769,33.290079],[102.746498,33.290017],[102.746227,33.289955],[102.745836,33.289879],[102.745541,33.289755],[102.745227,33.289527],[102.744994,33.289256],[102.744761,33.288985],[102.74458,33.288775],[102.744294,33.288613],[102.744018,33.288565],[102.743601,33.288615],[102.743557,33.288603],[102.743279,33.288588],[102.743094,33.288578],[102.743001,33.288573],[102.742638,33.288565],[102.742325,33.288539],[102.742013,33.288473],[102.741701,33.288406],[102.741364,33.288339],[102.741102,33.288194],[102.740914,33.287987],[102.740753,33.28768],[102.740674,33.287446],[102.740595,33.287211],[102.740485,33.286864],[102.74037,33.286558],[102.740257,33.286292],[102.740021,33.286086],[102.739773,33.285868],[102.739525,33.285651],[102.739364,33.285475],[102.739202,33.2853],[102.73904,33.285125],[102.738879,33.28495],[102.738717,33.284775],[102.738555,33.284599],[102.738393,33.284424],[102.738232,33.284249],[102.738042,33.284099],[102.737853,33.283948],[102.737664,33.283798],[102.737474,33.283647],[102.737285,33.283497],[102.737095,33.283346],[102.736906,33.283196],[102.736717,33.283045],[102.736473,33.282943],[102.73623,33.282842],[102.735942,33.282746],[102.735655,33.282649],[102.735392,33.282553],[102.735128,33.282457],[102.734816,33.28236],[102.734504,33.282263],[102.734203,33.282237],[102.733902,33.282212],[102.733712,33.282244],[102.733417,33.282387],[102.733121,33.282531],[102.732825,33.282674],[102.732464,33.282798],[102.73215,33.282817],[102.731921,33.282798],[102.731636,33.282702],[102.731322,33.282502],[102.731007,33.282303],[102.73077,33.282248],[102.730567,33.282232],[102.730254,33.282226],[102.73004,33.282235],[102.729796,33.282293],[102.729551,33.28235],[102.729199,33.282388],[102.729018,33.28235],[102.728733,33.282245],[102.728585,33.282118],[102.72839,33.28195],[102.728228,33.281779],[102.728162,33.281532],[102.728151,33.281488],[102.728095,33.281256],[102.728019,33.280865],[102.727762,33.28077],[102.727376,33.280713],[102.726991,33.280656],[102.726779,33.280578],[102.726705,33.280551],[102.726477,33.280437],[102.72623,33.280342],[102.725925,33.28018],[102.725738,33.279968],[102.725448,33.279638],[102.72544,33.279628],[102.725225,33.279433],[102.725011,33.279238],[102.724791,33.279128],[102.724571,33.279018],[102.724554,33.279009],[102.724269,33.278902],[102.723983,33.278794],[102.723698,33.278686],[102.723422,33.278643],[102.723146,33.2786],[102.722781,33.278575],[102.722416,33.278549],[102.722051,33.278524],[102.721623,33.278476],[102.721261,33.278305],[102.721004,33.278115],[102.720814,33.277734],[102.720647,33.277496],[102.720481,33.277258],[102.72029,33.277001],[102.720162,33.276778],[102.720148,33.276754],[102.720014,33.276525],[102.719795,33.276316],[102.71951,33.27604],[102.719509,33.276039],[102.719509,33.276038],[102.719301,33.275678],[102.71911,33.27545],[102.718882,33.275126],[102.718644,33.274917],[102.718463,33.274745],[102.718257,33.274498],[102.718051,33.274251],[102.717892,33.27406],[102.717678,33.27376],[102.717464,33.273461],[102.717424,33.273264],[102.717375,33.273193],[102.717264,33.27303],[102.71713,33.272937],[102.716907,33.272785],[102.716683,33.272632],[102.71646,33.272326],[102.716237,33.272019],[102.71615,33.2719],[102.716084,33.2717],[102.716055,33.271424],[102.716029,33.271202],[102.716007,33.271014],[102.715961,33.270858],[102.71595,33.270824],[102.715865,33.270634],[102.715722,33.270443],[102.715579,33.270253],[102.715403,33.27011],[102.715227,33.269967],[102.715181,33.269933],[102.714968,33.26977],[102.71483,33.269592],[102.714692,33.269413],[102.714462,33.269201],[102.714231,33.26899],[102.714114,33.268771],[102.713998,33.268552],[102.713931,33.268457],[102.713803,33.268361],[102.713741,33.268261],[102.713739,33.268248],[102.713717,33.268076],[102.713684,33.267766],[102.713677,33.267674],[102.71366,33.26741],[102.713555,33.267005],[102.713455,33.266798],[102.713355,33.266591],[102.713222,33.266443],[102.713046,33.266334],[102.712807,33.266241],[102.712665,33.266187],[102.71228,33.265996],[102.711894,33.265806],[102.711642,33.265634],[102.711494,33.265515],[102.71128,33.265187],[102.711214,33.265092],[102.71119,33.264973],[102.711171,33.264849],[102.711028,33.264649],[102.710909,33.26444],[102.7107,33.264354],[102.710533,33.264259],[102.710428,33.264164],[102.710338,33.26405],[102.710262,33.263974],[102.710133,33.263897],[102.709857,33.26384],[102.70947,33.263733],[102.709082,33.263626],[102.708782,33.263498],[102.708425,33.263257],[102.708068,33.263017],[102.707721,33.262765],[102.707602,33.262608],[102.707421,33.26237],[102.707383,33.262284],[102.707359,33.262118],[102.707349,33.262078],[102.707311,33.261932],[102.707235,33.261832],[102.707069,33.261737],[102.706975,33.261688],[102.706686,33.261539],[102.706398,33.26139],[102.706298,33.261294],[102.706274,33.261223],[102.706272,33.261209],[102.70626,33.261123],[102.706198,33.261014],[102.706074,33.260952],[102.705908,33.260937],[102.7059,33.260938],[102.705636,33.260971],[102.705432,33.260937],[102.705294,33.260876],[102.70507,33.260709],[102.704846,33.260542],[102.704632,33.260447],[102.704342,33.260352],[102.704144,33.260237],[102.704013,33.260162],[102.703785,33.259986],[102.703633,33.259795],[102.703452,33.259434],[102.703361,33.259348],[102.703138,33.259267],[102.702947,33.259196],[102.702729,33.259096],[102.702581,33.258967],[102.702315,33.258748],[102.702048,33.258529],[102.701846,33.258284],[102.701644,33.258039],[102.701501,33.257768],[102.701372,33.25772],[102.701229,33.25773],[102.70112,33.257801],[102.700977,33.257901],[102.700735,33.257977],[102.70071,33.25798],[102.700421,33.258009],[102.700363,33.258015],[102.700225,33.258039],[102.70013,33.258073],[102.70004,33.258149],[102.699887,33.258353],[102.699714,33.258701],[102.69954,33.259048],[102.699335,33.259265],[102.699131,33.259481],[102.698926,33.259614],[102.698769,33.259729],[102.698541,33.259781],[102.698312,33.25981],[102.698208,33.259857],[102.698096,33.260183],[102.697984,33.260509],[102.697872,33.260835],[102.69776,33.261161],[102.697629,33.261572],[102.697497,33.261983],[102.697365,33.262394],[102.69734,33.262465],[102.697212,33.262828],[102.697108,33.263122],[102.69698,33.263369],[102.696885,33.263502],[102.696516,33.263729],[102.696147,33.263955],[102.696071,33.263974],[102.695866,33.26395],[102.695505,33.263888],[102.695152,33.263737],[102.6948,33.263587],[102.694448,33.263436],[102.694086,33.263291],[102.693725,33.263146],[102.693472,33.263086],[102.69322,33.263027],[102.692898,33.262995],[102.692576,33.262963],[102.692254,33.262931],[102.691914,33.262858],[102.691878,33.262851],[102.691721,33.262822],[102.691517,33.262865],[102.691226,33.263036],[102.690967,33.263329],[102.690707,33.263622],[102.690448,33.263915],[102.690188,33.264207],[102.689894,33.264346],[102.689568,33.26433],[102.689242,33.264314],[102.688954,33.264248],[102.688686,33.264124],[102.68846,33.264019],[102.688121,33.263729],[102.687782,33.263439],[102.687444,33.263148],[102.687261,33.262959],[102.687079,33.262771],[102.686897,33.262582],[102.686715,33.262393],[102.686533,33.262204],[102.68635,33.262015],[102.686168,33.261826],[102.685986,33.261637],[102.685804,33.261448],[102.685622,33.26126],[102.685439,33.261071],[102.685257,33.260882],[102.685075,33.260693],[102.684893,33.260504],[102.68471,33.260315],[102.684528,33.260126],[102.684415,33.260009],[102.684379,33.259972],[102.684346,33.259937],[102.684164,33.259748],[102.684042,33.259622],[102.683982,33.25956],[102.683911,33.259486],[102.683799,33.259371],[102.68353,33.259111],[102.683261,33.258852],[102.682992,33.258592],[102.68278,33.258366],[102.682569,33.258139],[102.682418,33.257913],[102.682267,33.257687],[102.682117,33.257431],[102.681967,33.257174],[102.681814,33.256979],[102.681662,33.256783],[102.681416,33.256525],[102.68117,33.256267],[102.680963,33.256096],[102.680756,33.255925],[102.680549,33.255754],[102.680342,33.255583],[102.68014,33.255455],[102.679938,33.255327],[102.679736,33.255199],[102.679535,33.255071],[102.679333,33.254943],[102.679131,33.254815],[102.678929,33.254687],[102.678727,33.254559],[102.678498,33.254435],[102.678305,33.254331],[102.67827,33.254312],[102.678269,33.254311],[102.678247,33.254299],[102.678179,33.254262],[102.678041,33.254188],[102.677812,33.254064],[102.677584,33.25394],[102.677355,33.253816],[102.677127,33.253693],[102.676969,33.253607],[102.676899,33.253569],[102.676899,33.253569],[102.676898,33.253569],[102.67667,33.253445],[102.676441,33.253321],[102.676242,33.253204],[102.676043,33.253086],[102.675844,33.252969],[102.675645,33.252851],[102.675418,33.252766],[102.675191,33.25268],[102.674759,33.252591],[102.674519,33.252525],[102.67428,33.25246],[102.673872,33.252351],[102.673621,33.252266],[102.67337,33.25218],[102.673119,33.252063],[102.672868,33.251946],[102.67256,33.251739],[102.672322,33.251593],[102.672238,33.251559],[102.672107,33.251507],[102.671939,33.25144],[102.671893,33.251421],[102.671652,33.251367],[102.671412,33.251312],[102.671123,33.251266],[102.670834,33.25122],[102.670497,33.251194],[102.670147,33.251187],[102.669797,33.25118],[102.669674,33.251259],[102.669623,33.251379],[102.669594,33.251562],[102.669601,33.251767],[102.669607,33.251927],[102.66964,33.251985],[102.669816,33.252294],[102.66998,33.252481],[102.670144,33.252667],[102.670304,33.252968],[102.670351,33.253055],[102.670351,33.253056],[102.670351,33.253056],[102.670319,33.253339],[102.670098,33.253497],[102.669829,33.253633],[102.669797,33.253661],[102.669705,33.253741],[102.669671,33.253771],[102.669557,33.25387],[102.669532,33.253892],[102.669502,33.254094],[102.669554,33.254439],[102.669564,33.254499],[102.669644,33.254669],[102.669747,33.254889],[102.669908,33.255195],[102.669962,33.25543],[102.670016,33.255664],[102.670033,33.255949],[102.670025,33.256242],[102.670017,33.256536],[102.669961,33.256819],[102.669877,33.257014],[102.669698,33.257229],[102.669684,33.257246],[102.669627,33.257314],[102.669553,33.257393],[102.669532,33.257407],[102.669481,33.257441],[102.669233,33.25761],[102.668915,33.257767],[102.668524,33.257942],[102.668255,33.258058],[102.668156,33.258158],[102.668129,33.258259],[102.668172,33.258442],[102.668334,33.258729],[102.668373,33.258803],[102.668402,33.258859],[102.668464,33.258977],[102.668477,33.259001],[102.668495,33.259036],[102.668497,33.259042],[102.668529,33.259172],[102.668581,33.259382],[102.668575,33.259686],[102.668525,33.259726],[102.668427,33.259764],[102.668395,33.259769],[102.668268,33.259789],[102.668245,33.259792],[102.668185,33.259801],[102.66799,33.259847],[102.667869,33.259875],[102.667567,33.25987],[102.667495,33.259868],[102.667423,33.259867],[102.667359,33.259866],[102.667224,33.259863],[102.666976,33.259859],[102.666529,33.259851],[102.666388,33.259848],[102.666319,33.259847],[102.666082,33.259842],[102.665719,33.259886],[102.665355,33.25993],[102.665303,33.259939],[102.665101,33.259976],[102.664846,33.260021],[102.66458,33.260046],[102.664313,33.260072],[102.664059,33.260067],[102.663805,33.260063],[102.663384,33.260005],[102.662963,33.259947],[102.66253,33.259867],[102.662098,33.259787],[102.661784,33.259781],[102.661351,33.259753],[102.660965,33.259746],[102.660531,33.259658],[102.660196,33.259549],[102.659861,33.259441],[102.659623,33.259317],[102.659384,33.259194],[102.659146,33.25907],[102.658908,33.258947],[102.65867,33.258823],[102.658431,33.258699],[102.658193,33.258576],[102.657955,33.258452],[102.657658,33.258237],[102.657352,33.257947],[102.657045,33.257657],[102.656809,33.25745],[102.65655,33.257203],[102.656336,33.257077],[102.656003,33.256868],[102.655693,33.25673],[102.655384,33.256592],[102.655169,33.256492],[102.654954,33.256392],[102.654739,33.256291],[102.654524,33.256191],[102.654225,33.256094],[102.653926,33.255997],[102.653661,33.255911],[102.653303,33.255783],[102.652993,33.255655],[102.652635,33.255466],[102.652495,33.255302],[102.652235,33.255113],[102.652045,33.254928],[102.651788,33.254659],[102.651482,33.254349],[102.651285,33.254051],[102.651088,33.253753],[102.650862,33.2534],[102.650636,33.253046],[102.65041,33.252692],[102.650184,33.252338],[102.649918,33.252038],[102.649716,33.251923],[102.649514,33.251808],[102.649154,33.251699],[102.648746,33.25163],[102.648337,33.251562],[102.64817,33.251519],[102.647881,33.251432],[102.647585,33.251244],[102.647288,33.251056],[102.647103,33.250907],[102.646918,33.250758],[102.646733,33.25061],[102.646548,33.250461],[102.646363,33.250312],[102.646178,33.250163],[102.646109,33.250122],[102.645797,33.249933],[102.645462,33.249805],[102.64521,33.249759],[102.644957,33.249714],[102.644729,33.249679],[102.6445,33.249645],[102.644117,33.249516],[102.64371,33.249387],[102.643499,33.249243],[102.643288,33.249099],[102.643077,33.248955],[102.642866,33.248811],[102.642642,33.248656],[102.642419,33.248501],[102.642195,33.248346],[102.641972,33.248192],[102.641748,33.248037],[102.641525,33.247882],[102.641301,33.247727],[102.641078,33.247572],[102.640854,33.247417],[102.640631,33.247263],[102.640407,33.247108],[102.640184,33.246953],[102.63996,33.246798],[102.639737,33.246643],[102.639545,33.246507],[102.639521,33.24649],[102.639304,33.246336],[102.639088,33.246182],[102.638872,33.246029],[102.638655,33.245875],[102.638439,33.245722],[102.638223,33.245568],[102.638007,33.245415],[102.637669,33.245265],[102.637641,33.245252],[102.637344,33.24512],[102.637305,33.245103],[102.637275,33.24509],[102.637194,33.245053],[102.637148,33.245033],[102.636988,33.244962],[102.63691,33.244927],[102.636563,33.244789],[102.636217,33.244651],[102.635792,33.244516],[102.635367,33.244381],[102.634942,33.244247],[102.634516,33.244112],[102.634115,33.243939],[102.633713,33.243767],[102.633311,33.243595],[102.633074,33.243428],[102.632863,33.243201],[102.632841,33.243162],[102.632755,33.24301],[102.632748,33.242996],[102.632734,33.242611],[102.632812,33.242389],[102.632891,33.242168],[102.633048,33.24187],[102.633081,33.241806],[102.633272,33.241445],[102.633376,33.241183],[102.633479,33.240922],[102.633537,33.240579],[102.633572,33.240194],[102.633583,33.240099],[102.633603,33.239931],[102.633634,33.239668],[102.633642,33.239371],[102.633644,33.239304],[102.633614,33.239081],[102.633584,33.238857],[102.633509,33.238637],[102.633469,33.238517],[102.633435,33.238416],[102.63336,33.238195],[102.633286,33.237975],[102.633211,33.237754],[102.633137,33.237533],[102.633027,33.237336],[102.632918,33.237139],[102.632808,33.236942],[102.632699,33.236745],[102.63259,33.236547],[102.63248,33.23635],[102.632371,33.236153],[102.632262,33.235956],[102.63209,33.235598],[102.631919,33.23524],[102.631794,33.234954],[102.631669,33.234669],[102.631578,33.234446],[102.631488,33.234224],[102.631397,33.234002],[102.631306,33.233779],[102.631216,33.233557],[102.631125,33.233335],[102.631034,33.233112],[102.630944,33.23289],[102.630843,33.232635],[102.630742,33.232381],[102.630632,33.231953],[102.630614,33.231694],[102.630638,33.231606],[102.630696,33.23139],[102.630809,33.23119],[102.630923,33.23099],[102.631111,33.23073],[102.631299,33.230469],[102.631454,33.230087],[102.631546,33.229816],[102.631639,33.229544],[102.631674,33.229119],[102.631638,33.228672],[102.631596,33.228418],[102.631555,33.228164],[102.631457,33.227787],[102.631359,33.22741],[102.631274,33.227149],[102.631189,33.226888],[102.631105,33.226627],[102.63102,33.226366],[102.630935,33.226105],[102.630851,33.225844],[102.630766,33.225583],[102.630681,33.225322],[102.630597,33.225061],[102.630512,33.224799],[102.630449,33.22458],[102.630386,33.22436],[102.630323,33.22414],[102.630261,33.22392],[102.630198,33.2237],[102.630135,33.223481],[102.630098,33.223074],[102.630044,33.22283],[102.629991,33.222585],[102.629902,33.2223],[102.629813,33.222015],[102.629591,33.221767],[102.629368,33.22152],[102.629146,33.221253],[102.628923,33.220985],[102.628779,33.220786],[102.628635,33.220586],[102.62849,33.220387],[102.628346,33.220187],[102.628202,33.219988],[102.628057,33.219789],[102.627913,33.219589],[102.627769,33.21939],[102.627625,33.21919],[102.62748,33.218991],[102.627288,33.218624],[102.627095,33.218258],[102.626903,33.217891],[102.626801,33.217666],[102.626698,33.217442],[102.626613,33.217054],[102.626571,33.216821],[102.62653,33.216587],[102.626439,33.216373],[102.626347,33.216159],[102.626185,33.215904],[102.626046,33.215686],[102.625812,33.215418],[102.625554,33.21515],[102.625244,33.214962],[102.625019,33.214836],[102.624793,33.21471],[102.624436,33.21446],[102.62413,33.214231],[102.623979,33.214045],[102.623827,33.21386],[102.623724,33.213634],[102.623621,33.213409],[102.623593,33.213145],[102.623564,33.212881],[102.623646,33.212526],[102.62375,33.212265],[102.623853,33.212003],[102.624077,33.211744],[102.624252,33.211524],[102.624427,33.211304],[102.624583,33.21111],[102.62474,33.210916],[102.624896,33.210721],[102.625052,33.210527],[102.625196,33.210332],[102.62534,33.210137],[102.625484,33.209942],[102.625628,33.209747],[102.625731,33.209545],[102.625821,33.209304],[102.625912,33.209063],[102.625965,33.20876],[102.626018,33.208457],[102.626054,33.208254],[102.626089,33.207871],[102.626097,33.207597],[102.626106,33.207324],[102.626053,33.206988],[102.626001,33.206652],[102.625885,33.20641],[102.625746,33.206163],[102.625631,33.205918],[102.625615,33.205634],[102.625716,33.205473],[102.625951,33.205129],[102.626186,33.204785],[102.626194,33.204773],[102.62646,33.204447],[102.626726,33.204122],[102.626992,33.203796],[102.627284,33.203497],[102.627576,33.203199],[102.627868,33.2029],[102.628159,33.202601],[102.628333,33.202363],[102.628489,33.201979],[102.62855,33.201758],[102.628611,33.201536],[102.628671,33.201314],[102.628732,33.201092],[102.628805,33.200827],[102.628879,33.200563],[102.628952,33.200298],[102.629026,33.200033],[102.629099,33.199769],[102.629173,33.199504],[102.629246,33.199239],[102.62932,33.198975],[102.629332,33.198573],[102.629289,33.19835],[102.629247,33.198127],[102.629162,33.19772],[102.629076,33.197312],[102.628917,33.196934],[102.628758,33.196556],[102.628631,33.196202],[102.628504,33.195848],[102.628377,33.195495],[102.628263,33.195249],[102.628149,33.195004],[102.628047,33.194759],[102.627945,33.194514],[102.627759,33.194185],[102.627573,33.193959],[102.627349,33.193793],[102.627124,33.193626],[102.626811,33.193424],[102.626498,33.193222],[102.626186,33.19302],[102.626057,33.192937],[102.625814,33.192758],[102.625648,33.192613],[102.625416,33.192305],[102.625301,33.19207],[102.625187,33.191835],[102.625121,33.1916],[102.625054,33.191366],[102.624968,33.190989],[102.624882,33.190613],[102.624749,33.190226],[102.624658,33.18999],[102.624567,33.189755],[102.624455,33.189449],[102.624342,33.189142],[102.624146,33.188824],[102.62395,33.188507],[102.623754,33.188148],[102.623558,33.18779],[102.623385,33.187496],[102.623211,33.187201],[102.623049,33.186934],[102.622861,33.186768],[102.622552,33.18656],[102.62222,33.186391],[102.621788,33.186292],[102.621355,33.186192],[102.621098,33.186152],[102.620842,33.186112],[102.620585,33.186071],[102.620328,33.186031],[102.620071,33.18599],[102.619815,33.18595],[102.619558,33.185909],[102.619301,33.185869],[102.619044,33.185829],[102.618788,33.185788],[102.618531,33.185748],[102.618274,33.185707],[102.618017,33.185667],[102.61776,33.185626],[102.617504,33.185586],[102.617247,33.185546],[102.616973,33.185514],[102.616698,33.185482],[102.616424,33.185451],[102.61615,33.185419],[102.615875,33.185388],[102.615601,33.185356],[102.615327,33.185325],[102.615053,33.185293],[102.614778,33.185262],[102.614504,33.18523],[102.61427,33.185192],[102.614195,33.185179],[102.614169,33.185175],[102.614036,33.185153],[102.613803,33.185115],[102.613569,33.185076],[102.613335,33.185038],[102.613101,33.185],[102.612868,33.184961],[102.612634,33.184923],[102.6124,33.184885],[102.612166,33.184846],[102.611933,33.184808],[102.611699,33.18477],[102.611435,33.184704],[102.611171,33.184638],[102.611034,33.184604],[102.610908,33.184572],[102.610644,33.184507],[102.61038,33.184441],[102.610117,33.184375],[102.609882,33.184338],[102.609786,33.184322],[102.6097,33.184308],[102.609648,33.1843],[102.609479,33.184273],[102.609414,33.184263],[102.609179,33.184225],[102.609081,33.184209],[102.609001,33.184196],[102.608945,33.184188],[102.608774,33.18416],[102.608711,33.18415],[102.608477,33.184113],[102.608242,33.184075],[102.608014,33.184054],[102.607968,33.184049],[102.607785,33.184032],[102.607557,33.184011],[102.607376,33.183994],[102.607328,33.183989],[102.6071,33.183968],[102.606871,33.183946],[102.606437,33.183939],[102.606098,33.183973],[102.605735,33.184047],[102.605371,33.184121],[102.605121,33.184197],[102.604872,33.184273],[102.604863,33.184276],[102.604622,33.184349],[102.604373,33.184426],[102.604123,33.184502],[102.604109,33.184506],[102.604085,33.184514],[102.603873,33.184578],[102.603624,33.184654],[102.603374,33.184731],[102.60313,33.184843],[102.602886,33.184954],[102.602641,33.185066],[102.602397,33.185178],[102.602152,33.18529],[102.601908,33.185402],[102.601842,33.185432],[102.601664,33.185514],[102.601419,33.185626],[102.60117,33.185713],[102.600922,33.185801],[102.600531,33.185915],[102.600313,33.185972],[102.600094,33.186029],[102.599744,33.186052],[102.599393,33.186076],[102.598966,33.186108],[102.598539,33.18614],[102.598112,33.186173],[102.597668,33.186168],[102.597224,33.186163],[102.59678,33.186158],[102.596655,33.186157],[102.596348,33.186154],[102.596301,33.186154],[102.595916,33.186151],[102.595688,33.186123],[102.595687,33.186123],[102.595687,33.186123],[102.59555,33.186107],[102.595459,33.186096],[102.595418,33.186091],[102.595231,33.186069],[102.595002,33.186042],[102.594774,33.186015],[102.594545,33.185987],[102.594316,33.18596],[102.594088,33.185933],[102.593835,33.185915],[102.593582,33.185896],[102.593329,33.185878],[102.593076,33.185859],[102.592824,33.185841],[102.592571,33.185822],[102.592341,33.18578],[102.592111,33.185738],[102.591881,33.185696],[102.591651,33.185653],[102.591421,33.185611],[102.591191,33.185569],[102.590961,33.185527],[102.590731,33.185485],[102.59047,33.185421],[102.590209,33.185357],[102.589948,33.185294],[102.589688,33.18523],[102.589427,33.185167],[102.589166,33.185103],[102.588906,33.185039],[102.588645,33.184976],[102.588384,33.184912],[102.588124,33.184848],[102.58801,33.184821],[102.587863,33.184785],[102.587662,33.184736],[102.587602,33.184721],[102.587452,33.184685],[102.587342,33.184658],[102.587081,33.184594],[102.587175,33.184202],[102.58727,33.18381],[102.587269,33.183796],[102.587251,33.1834],[102.587198,33.183066],[102.587115,33.182782],[102.58695,33.182623],[102.586923,33.182597],[102.586922,33.182595],[102.586785,33.182463],[102.58662,33.182303],[102.586456,33.182144],[102.586171,33.181972],[102.585887,33.1818],[102.585586,33.181679],[102.585284,33.181558],[102.584936,33.181449],[102.584588,33.18134],[102.584349,33.181284],[102.58411,33.181228],[102.584043,33.181212],[102.583989,33.1812],[102.583872,33.181172],[102.583633,33.181116],[102.583394,33.18106],[102.583156,33.181004],[102.582917,33.180949],[102.582678,33.180893],[102.582378,33.180747],[102.582373,33.180745],[102.582348,33.180733],[102.582017,33.180573],[102.581701,33.180387],[102.581386,33.180202],[102.581163,33.180005],[102.580939,33.179809],[102.580777,33.179601],[102.580615,33.179393],[102.580561,33.179157],[102.580506,33.178921],[102.580452,33.178684],[102.580398,33.178448],[102.580405,33.178141],[102.580444,33.177861],[102.580541,33.177631],[102.580638,33.17748],[102.58088,33.177242],[102.580919,33.177203],[102.581023,33.177009],[102.581123,33.176823],[102.581326,33.176443],[102.581469,33.176178],[102.581481,33.176155],[102.58153,33.176063],[102.581546,33.175853],[102.581554,33.175744],[102.58156,33.175671],[102.581572,33.175503],[102.581579,33.175424],[102.581583,33.175369],[102.581595,33.175242],[102.5816,33.175181],[102.581622,33.174939],[102.581753,33.174583],[102.581948,33.174227],[102.582134,33.174053],[102.582207,33.173939],[102.582238,33.173889],[102.582459,33.173746],[102.582572,33.17362],[102.582688,33.173403],[102.582664,33.173274],[102.58261,33.173017],[102.582583,33.172928],[102.582507,33.172677],[102.582242,33.172338],[102.582176,33.1722],[102.582069,33.171976],[102.581984,33.171758],[102.581898,33.171539],[102.581808,33.171437],[102.581692,33.171304],[102.581421,33.171171],[102.581086,33.171138],[102.580843,33.171082],[102.580658,33.171055],[102.580449,33.171024],[102.580087,33.170862],[102.579908,33.170705],[102.579733,33.170446],[102.579554,33.170059],[102.579376,33.169672],[102.579256,33.169431],[102.579135,33.169189],[102.579015,33.168948],[102.578894,33.168707],[102.578774,33.168466],[102.578653,33.168224],[102.578448,33.167965],[102.57818,33.167728],[102.577968,33.167648],[102.577756,33.167568],[102.577438,33.167497],[102.577121,33.167426],[102.576755,33.167336],[102.576726,33.167329],[102.576534,33.167282],[102.576332,33.167232],[102.576163,33.167177],[102.576,33.167123],[102.575667,33.167014],[102.575304,33.166905],[102.574941,33.166795],[102.574924,33.166791],[102.57454,33.166683],[102.574155,33.166575],[102.57373,33.166477],[102.573306,33.166378],[102.572897,33.166281],[102.572487,33.166184],[102.572064,33.166073],[102.57164,33.165962],[102.5714,33.165829],[102.57116,33.165697],[102.570921,33.1655],[102.570683,33.165303],[102.57052,33.165121],[102.570358,33.164939],[102.570182,33.164562],[102.570007,33.164185],[102.569832,33.163808],[102.569654,33.163599],[102.569491,33.163443],[102.569328,33.163287],[102.569091,33.163052],[102.568971,33.162985],[102.568957,33.162966],[102.568761,33.162752],[102.568642,33.16252],[102.568386,33.16236],[102.568095,33.162253],[102.567803,33.162276],[102.567473,33.162475],[102.56722,33.162627],[102.567095,33.162717],[102.566923,33.16274],[102.566739,33.162675],[102.566643,33.162449],[102.566582,33.162157],[102.56656,33.16205],[102.56653,33.161747],[102.566352,33.161467],[102.566123,33.161203],[102.565929,33.16098],[102.565784,33.160751],[102.565638,33.160522],[102.565538,33.160194],[102.565437,33.159867],[102.565412,33.159784],[102.565341,33.159683],[102.565263,33.159611],[102.565132,33.159582],[102.564919,33.159593],[102.564811,33.1596],[102.56446,33.159641],[102.564234,33.159611],[102.564074,33.159492],[102.563901,33.159356],[102.563776,33.15926],[102.563663,33.159254],[102.563366,33.159272],[102.56314,33.15935],[102.562908,33.159308],[102.562673,33.159189],[102.562438,33.15907],[102.562075,33.158969],[102.561712,33.158868],[102.561357,33.158746],[102.56114,33.15882],[102.560923,33.158895],[102.560521,33.159091],[102.560242,33.159253],[102.559963,33.159414],[102.559649,33.159715],[102.559463,33.159852],[102.559277,33.15999],[102.559242,33.160013],[102.559043,33.160151],[102.559011,33.160174],[102.558809,33.160313],[102.558532,33.160423],[102.558254,33.160533],[102.557827,33.160601],[102.557477,33.160568],[102.557127,33.160536],[102.556896,33.160504],[102.556679,33.160385],[102.55656,33.160319],[102.55634,33.16026],[102.556013,33.160319],[102.555922,33.160351],[102.555757,33.160408],[102.555531,33.160485],[102.555305,33.160563],[102.555011,33.160674],[102.554717,33.160785],[102.554423,33.160896],[102.554187,33.160986],[102.553848,33.161152],[102.553616,33.161164],[102.553431,33.161099],[102.553211,33.160956],[102.553033,33.160664],[102.552955,33.160441],[102.552878,33.160218],[102.552747,33.160099],[102.552609,33.160041],[102.55242,33.159962],[102.552345,33.159906],[102.552182,33.159784],[102.551926,33.159605],[102.551629,33.159397],[102.551492,33.159189],[102.55132,33.158817],[102.551147,33.158445],[102.550992,33.158083],[102.550927,33.157904],[102.550772,33.15772],[102.550736,33.157565],[102.550593,33.157486],[102.550201,33.15727],[102.549809,33.157053],[102.549613,33.156946],[102.549464,33.156964],[102.549291,33.156845],[102.548928,33.15675],[102.548637,33.156673],[102.548593,33.156656],[102.548256,33.15653],[102.548051,33.156408],[102.547846,33.156286],[102.547542,33.156012],[102.547358,33.155825],[102.547173,33.155638],[102.546878,33.155473],[102.546582,33.155308],[102.546477,33.155227],[102.546251,33.154864],[102.54621,33.154692],[102.546073,33.154507],[102.546002,33.154377],[102.545906,33.15418],[102.545847,33.153948],[102.545834,33.153855],[102.545787,33.153512],[102.54574,33.153169],[102.545752,33.152824],[102.545829,33.152527],[102.545829,33.152417],[102.545829,33.151993],[102.545829,33.151569],[102.545805,33.15142],[102.545696,33.151243],[102.54534,33.151018],[102.544948,33.150856],[102.544624,33.150778],[102.544374,33.150752],[102.544223,33.150736],[102.543946,33.150706],[102.54367,33.150677],[102.543414,33.150629],[102.543301,33.150558],[102.543174,33.150431],[102.543075,33.150332],[102.542849,33.150308],[102.542726,33.150324],[102.542533,33.150349],[102.542233,33.150445],[102.541933,33.15054],[102.541671,33.150546],[102.541377,33.15046],[102.541084,33.150375],[102.54079,33.15029],[102.540416,33.150236],[102.539987,33.150254],[102.539583,33.150314],[102.539268,33.150465],[102.538952,33.150617],[102.538875,33.150666],[102.538562,33.150864],[102.538248,33.151062],[102.537935,33.151259],[102.537656,33.151518],[102.537376,33.151777],[102.537351,33.151829],[102.537215,33.15211],[102.536971,33.152259],[102.536626,33.15239],[102.5365,33.15241],[102.536186,33.152461],[102.535832,33.152717],[102.535478,33.152973],[102.535303,33.153139],[102.535127,33.153306],[102.534954,33.153376],[102.534878,33.153407],[102.534741,33.153413],[102.534574,33.153365],[102.534342,33.153234],[102.534166,33.153212],[102.533994,33.153216],[102.533704,33.153223],[102.533606,33.153207],[102.533491,33.153211],[102.533242,33.153258],[102.532992,33.153306],[102.532778,33.153246],[102.53254,33.153145],[102.532236,33.153115],[102.532187,33.153119],[102.531964,33.153136],[102.531921,33.153139],[102.53186,33.153156],[102.531522,33.153246],[102.531195,33.153425],[102.530868,33.153603],[102.530621,33.153779],[102.530374,33.153955],[102.530136,33.154096],[102.529898,33.154236],[102.529897,33.154236],[102.529896,33.154237],[102.529638,33.154324],[102.529381,33.154412],[102.529149,33.154501],[102.528917,33.154589],[102.528662,33.154584],[102.528407,33.154579],[102.52811,33.154523],[102.527814,33.154467],[102.527551,33.154147],[102.527482,33.153881],[102.527413,33.153615],[102.527356,33.15322],[102.527299,33.152826],[102.527212,33.152588],[102.527125,33.15235],[102.526877,33.152031],[102.526764,33.151885],[102.526764,33.151885],[102.526763,33.151884],[102.526361,33.151698],[102.525958,33.151511],[102.525559,33.151403],[102.525159,33.151295],[102.52476,33.151187],[102.52445,33.15109],[102.524141,33.150993],[102.523832,33.150897],[102.523523,33.150786],[102.523215,33.150675],[102.522906,33.150563],[102.522716,33.150352],[102.522527,33.150141],[102.522457,33.149911],[102.522387,33.14968],[102.522402,33.149428],[102.522432,33.14909],[102.522462,33.148753],[102.522492,33.148416],[102.522546,33.148071],[102.522582,33.147785],[102.522617,33.1475],[102.52257,33.147238],[102.522522,33.146976],[102.522445,33.146759],[102.522368,33.146542],[102.522198,33.14626],[102.522028,33.145977],[102.521922,33.145791],[102.521755,33.1455],[102.521588,33.14521],[102.521474,33.144993],[102.521309,33.14468],[102.52113,33.144347],[102.520934,33.144062],[102.520708,33.143913],[102.520342,33.14372],[102.519976,33.143526],[102.519792,33.143306],[102.51972,33.143003],[102.519688,33.14278],[102.519655,33.142557],[102.519697,33.14211],[102.519738,33.141664],[102.51978,33.141218],[102.519756,33.140921],[102.519738,33.14065],[102.51972,33.140378],[102.519628,33.140072],[102.519616,33.140031],[102.519536,33.139765],[102.519278,33.139469],[102.51902,33.139173],[102.518762,33.138877],[102.518428,33.138656],[102.518161,33.138479],[102.517893,33.138301],[102.51748,33.138193],[102.517066,33.138085],[102.516768,33.138017],[102.516469,33.137949],[102.516171,33.137881],[102.516062,33.137847],[102.51606,33.137846],[102.516058,33.137846],[102.515742,33.137718],[102.515425,33.137589],[102.515211,33.137471],[102.514914,33.137195],[102.514616,33.136919],[102.514319,33.136644],[102.514105,33.136352],[102.514004,33.136025],[102.513962,33.135686],[102.513994,33.135377],[102.514026,33.135067],[102.514057,33.134758],[102.514016,33.134356],[102.513974,33.133955],[102.513967,33.133598],[102.51396,33.13324],[102.513956,33.133063],[102.513909,33.132694],[102.513825,33.132414],[102.513647,33.132081],[102.513638,33.132068],[102.513467,33.131822],[102.513296,33.131575],[102.513128,33.13137],[102.512961,33.131164],[102.512774,33.130934],[102.512517,33.130618],[102.512344,33.13035],[102.512172,33.130082],[102.511975,33.129847],[102.511779,33.129612],[102.511603,33.129458],[102.511428,33.129303],[102.511285,33.129],[102.511249,33.12875],[102.511291,33.128339],[102.511398,33.128066],[102.511505,33.127792],[102.511624,33.127572],[102.511725,33.127167],[102.511535,33.126906],[102.511336,33.1267],[102.511136,33.126495],[102.510904,33.126311],[102.510672,33.126126],[102.51039,33.125988],[102.510108,33.12585],[102.509766,33.125682],[102.509423,33.125514],[102.509106,33.125397],[102.508789,33.12528],[102.508471,33.125163],[102.508125,33.125022],[102.507778,33.124881],[102.507431,33.12474],[102.507129,33.124617],[102.506828,33.124494],[102.506526,33.124372],[102.506187,33.124215],[102.505848,33.124058],[102.505509,33.123902],[102.505268,33.123795],[102.505027,33.123687],[102.5047,33.123497],[102.504495,33.123334],[102.50429,33.12317],[102.504052,33.12298],[102.503703,33.122823],[102.503354,33.122666],[102.503005,33.12251],[102.502658,33.122361],[102.502311,33.122212],[102.501964,33.122064],[102.501658,33.121951],[102.501353,33.121838],[102.501252,33.121786],[102.500924,33.121574],[102.500596,33.121363],[102.500267,33.121151],[102.500176,33.121076],[102.499831,33.120791],[102.499486,33.120506],[102.499217,33.120271],[102.49892,33.120013],[102.498622,33.119754],[102.498325,33.119495],[102.498023,33.119332],[102.497722,33.119168],[102.49742,33.119005],[102.497119,33.118841],[102.496763,33.118629],[102.496408,33.118417],[102.496367,33.118384],[102.496163,33.118132],[102.495959,33.117879],[102.495715,33.117543],[102.495556,33.117185],[102.495507,33.116937],[102.495457,33.11669],[102.49546,33.116438],[102.495462,33.116185],[102.495465,33.115933],[102.495467,33.115681],[102.49547,33.115428],[102.495472,33.115176],[102.495511,33.114799],[102.495507,33.114697],[102.495495,33.114396],[102.495459,33.114135],[102.495424,33.113874],[102.495366,33.113448],[102.495308,33.113021],[102.49537,33.112809],[102.495404,33.112597],[102.495556,33.112221],[102.495763,33.11187],[102.495911,33.111613],[102.496002,33.111379],[102.496041,33.111001],[102.496019,33.110811],[102.495996,33.110679],[102.495994,33.110668],[102.495944,33.110455],[102.495767,33.110205],[102.49559,33.109955],[102.495497,33.109728],[102.495404,33.109501],[102.495304,33.109074],[102.495258,33.108695],[102.495271,33.108269],[102.49528,33.107914],[102.495289,33.107608],[102.495325,33.107324],[102.495449,33.106948],[102.495455,33.106711],[102.495376,33.106497],[102.495187,33.106233],[102.494911,33.106038],[102.494578,33.105889],[102.494342,33.105766],[102.494106,33.105644],[102.493787,33.105495],[102.493467,33.105347],[102.493204,33.105188],[102.492942,33.105029],[102.492763,33.104871],[102.492584,33.104714],[102.492338,33.104449],[102.492327,33.104204],[102.492315,33.103958],[102.4923,33.103509],[102.492211,33.103242],[102.492196,33.1032],[102.492093,33.10289],[102.491899,33.102744],[102.491851,33.102722],[102.491622,33.10262],[102.491491,33.102592],[102.491383,33.102569],[102.491259,33.102542],[102.491191,33.102499],[102.49112,33.102454],[102.491065,33.102419],[102.491054,33.102412],[102.490871,33.102297],[102.490655,33.101938],[102.490592,33.1017],[102.490528,33.101462],[102.49051,33.101411],[102.490484,33.10134],[102.490424,33.101177],[102.49018,33.100864],[102.489877,33.100621],[102.489517,33.100425],[102.489302,33.100357],[102.489196,33.100324],[102.489086,33.100289],[102.488875,33.100223],[102.488608,33.100194],[102.488341,33.100165],[102.488232,33.100168],[102.488185,33.10017],[102.488102,33.100172],[102.488087,33.100173],[102.487862,33.100179],[102.487814,33.100203],[102.487785,33.100218],[102.487591,33.100315],[102.487457,33.100383],[102.48732,33.100452],[102.487115,33.100731],[102.486944,33.100964],[102.486909,33.101011],[102.486705,33.101256],[102.486502,33.1015],[102.486273,33.101613],[102.486079,33.101539],[102.486032,33.101437],[102.485974,33.101313],[102.485945,33.101251],[102.485955,33.100897],[102.486053,33.100497],[102.486156,33.100286],[102.486157,33.100285],[102.486158,33.100284],[102.486241,33.100115],[102.48626,33.100075],[102.48632,33.099937],[102.486356,33.099852],[102.486451,33.09963],[102.486547,33.099407],[102.486642,33.099184],[102.486738,33.098961],[102.486834,33.098739],[102.486945,33.098511],[102.487057,33.098284],[102.487169,33.098057],[102.487281,33.09783],[102.487288,33.097592],[102.487212,33.097284],[102.487136,33.096998],[102.487059,33.096713],[102.486952,33.09651],[102.486846,33.096307],[102.486683,33.09609],[102.48652,33.095874],[102.486371,33.095694],[102.486221,33.095513],[102.486034,33.095155],[102.48599,33.094752],[102.485997,33.094492],[102.486004,33.094232],[102.486044,33.09383],[102.486112,33.093405],[102.486189,33.093171],[102.486266,33.092936],[102.486417,33.09256],[102.486569,33.092184],[102.486661,33.091925],[102.486674,33.091501],[102.486593,33.09131],[102.486406,33.090935],[102.486299,33.09072],[102.486193,33.090505],[102.486058,33.09029],[102.485924,33.090074],[102.485803,33.089882],[102.485682,33.08969],[102.485561,33.089464],[102.485518,33.089381],[102.485472,33.089294],[102.485441,33.089237],[102.485391,33.089011],[102.485382,33.08897],[102.485374,33.088931]]]]},"properties":{"cp":[102.6838973693402,33.13732598840634],"code":"513233204","name":"瓦切镇","level":"street","center":[102.6838973693402,33.13732598840634],"fullCode":"513233204000","fullName":"四川省阿坝藏族羌族自治州红原县瓦切镇","acreageMu":1486490.28,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.669,33.2578]}},{"id":"513233205","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.615039,32.961439],[102.615041,32.961423],[102.61506,32.961253],[102.615113,32.960767],[102.615237,32.959638],[102.615775,32.958729],[102.615969,32.958606],[102.616157,32.958487],[102.61641,32.958327],[102.616466,32.958292],[102.616657,32.958171],[102.616683,32.958155],[102.616813,32.958071],[102.616773,32.957989],[102.61714,32.957866],[102.617603,32.957574],[102.61982,32.956263],[102.620567,32.955685],[102.621524,32.954943],[102.622672,32.953755],[102.62291,32.953509],[102.623137,32.953362],[102.623227,32.953304],[102.62369,32.953007],[102.623828,32.952861],[102.623952,32.952768],[102.624102,32.95268],[102.624407,32.952583],[102.624521,32.952567],[102.624575,32.952549],[102.624634,32.95253],[102.624718,32.952503],[102.624784,32.952481],[102.624898,32.952443],[102.624993,32.952412],[102.625048,32.952413],[102.625092,32.952414],[102.625819,32.952428],[102.625966,32.95243],[102.626001,32.952431],[102.62601,32.952431],[102.626055,32.952432],[102.626411,32.952439],[102.626533,32.952441],[102.628126,32.95285],[102.629362,32.95283],[102.629667,32.952825],[102.629867,32.952653],[102.630014,32.952525],[102.630043,32.952501],[102.630072,32.952476],[102.630581,32.952036],[102.630586,32.952031],[102.631193,32.951022],[102.631212,32.950989],[102.631325,32.950801],[102.631305,32.95058],[102.631292,32.950435],[102.631289,32.950407],[102.631281,32.950321],[102.631268,32.950179],[102.631261,32.950096],[102.631253,32.950011],[102.631239,32.949864],[102.631226,32.949717],[102.631147,32.949632],[102.631026,32.949501],[102.630945,32.949414],[102.630797,32.949254],[102.630717,32.949168],[102.630664,32.949111],[102.630559,32.949094],[102.630223,32.94904],[102.630073,32.949016],[102.629896,32.948988],[102.629789,32.94897],[102.629708,32.948958],[102.629671,32.948952],[102.62965,32.948949],[102.629514,32.948927],[102.629305,32.949017],[102.629284,32.949026],[102.629275,32.949029],[102.629149,32.949084],[102.629124,32.949091],[102.629128,32.949072],[102.629128,32.949052],[102.629128,32.94903],[102.629132,32.94902],[102.62915,32.949005],[102.629183,32.948969],[102.629237,32.948921],[102.629284,32.948885],[102.62931,32.948845],[102.629287,32.948833],[102.629242,32.94884],[102.62918,32.948888],[102.629121,32.948941],[102.629036,32.948996],[102.628909,32.949071],[102.628805,32.949141],[102.628718,32.949208],[102.628679,32.949261],[102.628679,32.949286],[102.62867,32.94929],[102.627807,32.949785],[102.627695,32.949759],[102.627607,32.949758],[102.627511,32.949803],[102.627333,32.949871],[102.627195,32.949893],[102.627028,32.949901],[102.626858,32.949902],[102.626711,32.949872],[102.626617,32.949834],[102.626523,32.949756],[102.626241,32.949485],[102.62597,32.949274],[102.625912,32.949199],[102.625857,32.949129],[102.625849,32.949119],[102.625835,32.949102],[102.625803,32.949061],[102.625727,32.948963],[102.625684,32.948907],[102.625731,32.948804],[102.625736,32.948794],[102.625673,32.948727],[102.625545,32.948604],[102.625474,32.948537],[102.625371,32.948488],[102.625351,32.948476],[102.625221,32.948308],[102.624921,32.94792],[102.624661,32.947719],[102.624519,32.94761],[102.624337,32.947469],[102.62409,32.947278],[102.6239,32.947298],[102.623772,32.947322],[102.623654,32.947338],[102.623541,32.947333],[102.623575,32.947311],[102.623661,32.947282],[102.623752,32.947253],[102.623829,32.94723],[102.623969,32.947185],[102.62395,32.94717],[102.623915,32.947143],[102.623865,32.947114],[102.623832,32.947094],[102.623569,32.946939],[102.62325,32.946751],[102.622588,32.94636],[102.622215,32.94592],[102.622203,32.945672],[102.6222,32.945615],[102.622184,32.94527],[102.622188,32.945178],[102.622282,32.945131],[102.622399,32.94504],[102.622461,32.944995],[102.62253,32.944946],[102.622554,32.944902],[102.622627,32.944914],[102.624358,32.944947],[102.624897,32.944973],[102.624921,32.944974],[102.624962,32.944976],[102.625021,32.944979],[102.6252,32.944988],[102.625312,32.944994],[102.625517,32.945004],[102.625704,32.945013],[102.625829,32.945011],[102.625877,32.945011],[102.626547,32.945002],[102.626715,32.944999],[102.626771,32.944999],[102.626956,32.944996],[102.627475,32.944827],[102.627538,32.944807],[102.627781,32.944728],[102.627788,32.944485],[102.627799,32.944073],[102.6278,32.944038],[102.6278,32.94398],[102.627805,32.943247],[102.627806,32.943155],[102.627807,32.942856],[102.627808,32.94282],[102.627809,32.94268],[102.62781,32.942466],[102.62781,32.942438],[102.627811,32.942347],[102.627815,32.941644],[102.627778,32.941492],[102.627763,32.941406],[102.627746,32.941325],[102.627734,32.941265],[102.627706,32.941115],[102.627707,32.941113],[102.627744,32.94106],[102.627748,32.941041],[102.627755,32.941008],[102.627766,32.94096],[102.627786,32.940914],[102.627817,32.940889],[102.627836,32.940881],[102.627841,32.940702],[102.627853,32.940184],[102.627855,32.940176],[102.627857,32.940081],[102.627863,32.93986],[102.627846,32.939758],[102.627841,32.939733],[102.627815,32.93958],[102.627797,32.939471],[102.627788,32.939417],[102.627655,32.938638],[102.627586,32.938556],[102.627572,32.938538],[102.627485,32.938434],[102.62737,32.938296],[102.627091,32.937961],[102.627068,32.937934],[102.627002,32.937855],[102.626862,32.937789],[102.626004,32.937389],[102.625218,32.937134],[102.625103,32.937156],[102.62506,32.937158],[102.624961,32.937152],[102.624854,32.937123],[102.624805,32.937105],[102.624752,32.937074],[102.624729,32.936978],[102.623426,32.93661],[102.623307,32.936597],[102.622872,32.936552],[102.622375,32.936501],[102.62226,32.936489],[102.621987,32.936461],[102.621837,32.936446],[102.620499,32.936311],[102.620468,32.936312],[102.620401,32.936314],[102.620007,32.936327],[102.618958,32.936362],[102.618905,32.936357],[102.617919,32.936263],[102.617902,32.936261],[102.617001,32.935757],[102.616202,32.934903],[102.616183,32.934882],[102.616112,32.934807],[102.616086,32.933994],[102.616977,32.933038],[102.617518,32.933099],[102.617755,32.933125],[102.617769,32.933127],[102.617902,32.933142],[102.618273,32.933184],[102.618315,32.933188],[102.618538,32.933206],[102.618546,32.933207],[102.619521,32.933289],[102.619924,32.933347],[102.620041,32.933364],[102.620127,32.933377],[102.620815,32.933476],[102.621431,32.933512],[102.621677,32.933527],[102.621682,32.933559],[102.621699,32.933675],[102.621698,32.93368],[102.621696,32.93369],[102.621693,32.933708],[102.621769,32.93371],[102.621854,32.933686],[102.621881,32.933675],[102.621992,32.933632],[102.622146,32.933591],[102.622308,32.933513],[102.622452,32.933447],[102.622607,32.933378],[102.622749,32.933313],[102.622869,32.933262],[102.622959,32.933214],[102.623006,32.933178],[102.623085,32.933154],[102.623205,32.933127],[102.623314,32.933071],[102.623394,32.933046],[102.62347,32.932992],[102.623547,32.932913],[102.623691,32.932796],[102.623785,32.932719],[102.623863,32.932619],[102.623915,32.932574],[102.624021,32.932543],[102.624131,32.932516],[102.624212,32.932505],[102.62425,32.932496],[102.624268,32.932451],[102.624296,32.932367],[102.624322,32.932275],[102.62434,32.932118],[102.624352,32.932108],[102.624417,32.932049],[102.624694,32.931801],[102.62483,32.931679],[102.624812,32.931628],[102.624823,32.931597],[102.624853,32.931583],[102.624893,32.931572],[102.624945,32.931545],[102.62497,32.931512],[102.624988,32.931461],[102.624994,32.931421],[102.625017,32.931375],[102.625046,32.931365],[102.625083,32.931365],[102.625159,32.931349],[102.625181,32.931332],[102.625195,32.931307],[102.625206,32.931274],[102.625206,32.931252],[102.625197,32.931232],[102.625169,32.931228],[102.625177,32.931215],[102.625332,32.930966],[102.625345,32.930946],[102.625524,32.93066],[102.625606,32.930529],[102.625621,32.930505],[102.625668,32.93043],[102.625868,32.930111],[102.626012,32.929882],[102.626642,32.929153],[102.626655,32.929138],[102.626676,32.929114],[102.626806,32.928964],[102.627594,32.928481],[102.627833,32.928334],[102.628244,32.927368],[102.62809,32.926724],[102.628072,32.926649],[102.628035,32.926495],[102.627952,32.926149],[102.627941,32.926104],[102.627842,32.925932],[102.627826,32.925905],[102.627822,32.925898],[102.627717,32.925716],[102.627565,32.925452],[102.627544,32.925416],[102.627509,32.925355],[102.627443,32.925242],[102.62737,32.925116],[102.62724,32.924891],[102.627204,32.924827],[102.627159,32.92475],[102.627123,32.924718],[102.626866,32.924491],[102.626683,32.92433],[102.626609,32.924265],[102.626462,32.924135],[102.626306,32.923997],[102.626219,32.92392],[102.626133,32.923866],[102.625869,32.923702],[102.625858,32.923709],[102.625821,32.923754],[102.625802,32.923772],[102.625774,32.923775],[102.625746,32.923751],[102.625732,32.923722],[102.625703,32.92369],[102.625661,32.923676],[102.625633,32.923653],[102.625586,32.923629],[102.62553,32.923609],[102.625475,32.923596],[102.625424,32.923582],[102.625375,32.923548],[102.625368,32.923522],[102.625361,32.923485],[102.625316,32.923467],[102.625238,32.923459],[102.625196,32.923452],[102.625141,32.923431],[102.625101,32.923415],[102.625048,32.923421],[102.624994,32.923441],[102.624965,32.923437],[102.624953,32.923416],[102.624956,32.923393],[102.624992,32.923371],[102.625042,32.923351],[102.625088,32.923338],[102.625125,32.923322],[102.625135,32.923302],[102.625123,32.923279],[102.625064,32.923265],[102.624911,32.923211],[102.624853,32.923176],[102.62479,32.923129],[102.624716,32.923072],[102.624547,32.922905],[102.624522,32.922893],[102.62437,32.922788],[102.624427,32.922741],[102.624406,32.922721],[102.624385,32.922701],[102.62438,32.922696],[102.62423,32.922553],[102.62413,32.922457],[102.623484,32.921839],[102.622876,32.921123],[102.622695,32.920909],[102.6226,32.920797],[102.622552,32.92074],[102.622518,32.920701],[102.622504,32.920684],[102.622472,32.920638],[102.622378,32.920501],[102.622343,32.92045],[102.622252,32.920318],[102.622187,32.920224],[102.622164,32.92019],[102.622167,32.919965],[102.622119,32.919923],[102.62206,32.91986],[102.622022,32.919816],[102.622121,32.919364],[102.622252,32.918768],[102.622264,32.91871],[102.622268,32.918691],[102.622344,32.918642],[102.622456,32.91857],[102.622537,32.918518],[102.622575,32.918494],[102.622727,32.918396],[102.623325,32.91801],[102.624304,32.91738],[102.624471,32.917272],[102.624972,32.916551],[102.625006,32.916494],[102.625056,32.91641],[102.625147,32.916259],[102.625475,32.915709],[102.626131,32.914873],[102.62621,32.914864],[102.626231,32.91482],[102.626316,32.914762],[102.626331,32.914751],[102.626464,32.914602],[102.62657,32.914466],[102.626826,32.914228],[102.627014,32.914039],[102.627174,32.913921],[102.627188,32.913927],[102.627293,32.913989],[102.6273,32.913985],[102.62732,32.913971],[102.627406,32.913915],[102.627409,32.913899],[102.627408,32.913845],[102.627407,32.913819],[102.627407,32.913805],[102.627403,32.913797],[102.627386,32.913787],[102.627359,32.913775],[102.627343,32.913764],[102.627329,32.913749],[102.627312,32.913727],[102.627311,32.913725],[102.627301,32.913705],[102.627296,32.913693],[102.627294,32.913681],[102.627293,32.913665],[102.627293,32.913637],[102.627372,32.913652],[102.627486,32.913682],[102.627566,32.913712],[102.627622,32.913737],[102.627673,32.913766],[102.627717,32.913797],[102.627757,32.913764],[102.627804,32.913724],[102.627857,32.913679],[102.627826,32.913638],[102.627938,32.913564],[102.628346,32.913364],[102.628357,32.913358],[102.628468,32.913304],[102.628729,32.913174],[102.629248,32.912921],[102.629346,32.912872],[102.629352,32.912869],[102.629619,32.912738],[102.630083,32.91251],[102.630222,32.912471],[102.630646,32.912353],[102.63074,32.912327],[102.63089,32.912285],[102.63096,32.912265],[102.631066,32.912236],[102.631528,32.912107],[102.631709,32.912057],[102.632098,32.911948],[102.632122,32.911942],[102.632265,32.911902],[102.632352,32.911849],[102.632554,32.911727],[102.63295,32.911488],[102.633064,32.911482],[102.633099,32.911405],[102.633161,32.911223],[102.633158,32.911157],[102.633459,32.910423],[102.633451,32.909577],[102.633448,32.909315],[102.633446,32.909084],[102.633672,32.908455],[102.633697,32.908384],[102.633706,32.908358],[102.633669,32.908378],[102.633673,32.90837],[102.63376,32.908214],[102.633982,32.908013],[102.634106,32.907965],[102.634151,32.907921],[102.634259,32.907906],[102.634405,32.907885],[102.634408,32.907894],[102.634425,32.907924],[102.63444,32.907938],[102.63451,32.907935],[102.634578,32.90792],[102.634622,32.90792],[102.634669,32.907916],[102.634725,32.907908],[102.634773,32.907902],[102.63481,32.907899],[102.634866,32.90789],[102.634881,32.90788],[102.634845,32.907863],[102.634825,32.907857],[102.634803,32.907842],[102.6348,32.907831],[102.634893,32.907818],[102.634924,32.907813],[102.635186,32.907955],[102.635295,32.908014],[102.635437,32.90806],[102.635548,32.908071],[102.635648,32.908099],[102.635734,32.908135],[102.635777,32.908162],[102.635831,32.908216],[102.635759,32.908208],[102.635631,32.908196],[102.636014,32.908402],[102.636056,32.908415],[102.636157,32.908447],[102.636298,32.908491],[102.636569,32.908575],[102.636573,32.908576],[102.637189,32.908768],[102.637197,32.90877],[102.6372,32.908772],[102.637379,32.908827],[102.637467,32.908792],[102.637512,32.908781],[102.637542,32.908784],[102.637562,32.908815],[102.637562,32.90884],[102.637544,32.908877],[102.63776,32.908864],[102.637774,32.908863],[102.638553,32.908816],[102.638689,32.908634],[102.638712,32.908603],[102.638719,32.908595],[102.638775,32.908519],[102.63883,32.908446],[102.638818,32.908252],[102.638808,32.908094],[102.638816,32.907979],[102.638854,32.907902],[102.638858,32.907849],[102.638857,32.907807],[102.638875,32.907784],[102.638899,32.907758],[102.638926,32.907731],[102.638949,32.907703],[102.638974,32.907675],[102.638991,32.907659],[102.638979,32.90757],[102.638977,32.90756],[102.638906,32.907058],[102.638899,32.907013],[102.638848,32.906654],[102.638847,32.906642],[102.638846,32.906641],[102.63881,32.906386],[102.638776,32.906093],[102.638742,32.905803],[102.638736,32.905752],[102.638736,32.90575],[102.638653,32.905044],[102.638717,32.904836],[102.63872,32.904826],[102.638729,32.904799],[102.638725,32.904683],[102.638813,32.904022],[102.638917,32.903767],[102.639114,32.903378],[102.639166,32.903117],[102.639282,32.902909],[102.639399,32.90291],[102.639537,32.902585],[102.639571,32.902558],[102.639772,32.902395],[102.63978,32.902389],[102.640913,32.901475],[102.641605,32.901035],[102.64163,32.901019],[102.641649,32.901007],[102.641843,32.900884],[102.642057,32.900824],[102.642078,32.900818],[102.642113,32.900808],[102.6432,32.900504],[102.643417,32.900587],[102.643604,32.900659],[102.643616,32.900664],[102.643849,32.900753],[102.643867,32.90076],[102.644057,32.900946],[102.644144,32.901032],[102.644163,32.901051],[102.644176,32.901064],[102.644289,32.901174],[102.644939,32.902038],[102.645604,32.902375],[102.646228,32.902343],[102.646439,32.902333],[102.64648,32.90233],[102.64676,32.902316],[102.647604,32.901963],[102.64764,32.901948],[102.647781,32.901889],[102.647921,32.901721],[102.647949,32.901687],[102.647956,32.901679],[102.647988,32.90164],[102.648278,32.90129],[102.648493,32.900872],[102.64858,32.900704],[102.648589,32.900687],[102.648685,32.900502],[102.648717,32.900438],[102.648734,32.900406],[102.648746,32.900349],[102.64878,32.900186],[102.648955,32.899355],[102.648741,32.898383],[102.64874,32.898377],[102.648705,32.898318],[102.648697,32.898305],[102.648722,32.898283],[102.648726,32.898265],[102.648715,32.89824],[102.64869,32.898216],[102.648662,32.898199],[102.64862,32.898176],[102.648604,32.89815],[102.648575,32.8981],[102.648468,32.897922],[102.648421,32.897844],[102.648415,32.897833],[102.648333,32.897805],[102.648051,32.897713],[102.647969,32.897665],[102.64793,32.897624],[102.64786,32.897547],[102.647846,32.897512],[102.647823,32.897475],[102.647788,32.897445],[102.647752,32.897419],[102.647728,32.897394],[102.647717,32.897316],[102.647714,32.897294],[102.647879,32.896904],[102.647916,32.896819],[102.648151,32.89655],[102.648187,32.896508],[102.648212,32.89648],[102.64829,32.896338],[102.648418,32.896141],[102.648588,32.895963],[102.648795,32.895776],[102.649038,32.895568],[102.64909,32.895525],[102.649158,32.895495],[102.649227,32.895473],[102.649337,32.895435],[102.649552,32.895349],[102.649682,32.895287],[102.649687,32.895212],[102.649741,32.895177],[102.650277,32.894835],[102.650313,32.894808],[102.651363,32.894026],[102.651553,32.893885],[102.652916,32.893261],[102.65373,32.893353],[102.653779,32.893359],[102.654404,32.893727],[102.654774,32.893945],[102.654798,32.893966],[102.654896,32.894049],[102.654965,32.894054],[102.655054,32.894067],[102.655118,32.894094],[102.655163,32.894122],[102.655207,32.894169],[102.655241,32.89421],[102.655286,32.894246],[102.655358,32.894329],[102.655407,32.894417],[102.655436,32.894503],[102.655666,32.894697],[102.655688,32.894715],[102.655809,32.894817],[102.656172,32.895635],[102.65702,32.896301],[102.657266,32.89632],[102.657312,32.896324],[102.657283,32.896342],[102.657314,32.896348],[102.657345,32.896369],[102.657355,32.896381],[102.657375,32.896389],[102.657405,32.896396],[102.657512,32.896339],[102.657554,32.89631],[102.657595,32.896269],[102.657647,32.896223],[102.65768,32.896189],[102.657707,32.89615],[102.657719,32.896123],[102.657734,32.896075],[102.657742,32.896022],[102.657748,32.895951],[102.65776,32.895902],[102.657775,32.895842],[102.657791,32.89579],[102.657799,32.895756],[102.657788,32.895639],[102.657788,32.895596],[102.657781,32.895561],[102.657774,32.895521],[102.657763,32.89547],[102.657763,32.89542],[102.657769,32.895364],[102.657779,32.895304],[102.657807,32.895215],[102.657831,32.895167],[102.657837,32.895136],[102.657844,32.895084],[102.657853,32.895028],[102.657877,32.894944],[102.657896,32.894884],[102.657916,32.894839],[102.65794,32.894795],[102.657951,32.894777],[102.65794,32.894737],[102.657903,32.8946],[102.65772,32.893918],[102.657717,32.893906],[102.657666,32.893716],[102.657708,32.893378],[102.657727,32.89323],[102.658175,32.893014],[102.658214,32.892995],[102.659423,32.892734],[102.659453,32.892706],[102.660163,32.892018],[102.660845,32.891706],[102.661289,32.891693],[102.661711,32.891681],[102.662236,32.891849],[102.662522,32.89194],[102.662943,32.892394],[102.663252,32.89328],[102.663256,32.893293],[102.663256,32.893314],[102.663254,32.893365],[102.663282,32.893498],[102.663286,32.893564],[102.663283,32.89368],[102.663284,32.893795],[102.663309,32.893941],[102.663343,32.893988],[102.663323,32.89421],[102.66337,32.89451],[102.663371,32.89486],[102.663359,32.895057],[102.663396,32.895284],[102.663669,32.895898],[102.664223,32.89676],[102.664933,32.89722],[102.664967,32.897222],[102.664991,32.897223],[102.665116,32.897231],[102.665347,32.897244],[102.665707,32.897265],[102.665743,32.897268],[102.665941,32.897279],[102.666727,32.896685],[102.668332,32.895985],[102.668715,32.895839],[102.668775,32.895816],[102.668799,32.895807],[102.669116,32.895686],[102.669132,32.89568],[102.669277,32.895625],[102.66945,32.895559],[102.66958,32.895536],[102.66962,32.895528],[102.669704,32.895513],[102.670465,32.895375],[102.67052,32.895342],[102.670569,32.895312],[102.670716,32.895224],[102.671247,32.894903],[102.671862,32.894594],[102.671904,32.894503],[102.67193,32.894503],[102.671994,32.894497],[102.672181,32.894434],[102.672417,32.894316],[102.672699,32.894213],[102.673208,32.894028],[102.673582,32.893891],[102.673727,32.893784],[102.673732,32.89378],[102.673905,32.893652],[102.673934,32.893631],[102.67406,32.893538],[102.674171,32.893456],[102.674267,32.893385],[102.674244,32.893347],[102.674224,32.89325],[102.674259,32.893207],[102.674391,32.893184],[102.674546,32.89318],[102.67471,32.89306],[102.674932,32.893105],[102.674934,32.893105],[102.675121,32.893143],[102.675156,32.89315],[102.675214,32.893161],[102.67538,32.893194],[102.67542,32.893233],[102.675437,32.893248],[102.6766,32.894353],[102.67769,32.89476],[102.677699,32.894764],[102.677744,32.89478],[102.677992,32.89485],[102.678985,32.895128],[102.679132,32.895223],[102.67922,32.895247],[102.679411,32.895317],[102.679629,32.895423],[102.679745,32.895517],[102.679779,32.895555],[102.679814,32.895643],[102.67982,32.895665],[102.680026,32.895797],[102.680198,32.895948],[102.680475,32.896192],[102.68052,32.896233],[102.681483,32.897082],[102.682138,32.897476],[102.682161,32.89749],[102.682273,32.897558],[102.682409,32.89764],[102.682525,32.89771],[102.682605,32.89778],[102.682616,32.89779],[102.683137,32.898249],[102.683128,32.898592],[102.683182,32.898554],[102.683219,32.89852],[102.683253,32.898474],[102.683266,32.898424],[102.683302,32.898416],[102.683301,32.898442],[102.683301,32.89855],[102.683286,32.898632],[102.683259,32.898671],[102.683163,32.898703],[102.683124,32.898712],[102.683121,32.898865],[102.683117,32.898998],[102.683116,32.899033],[102.683115,32.89906],[102.683071,32.899073],[102.683051,32.899082],[102.683031,32.899093],[102.683013,32.899108],[102.682987,32.89914],[102.682675,32.899336],[102.682595,32.899352],[102.682578,32.899356],[102.682538,32.899364],[102.68195,32.899485],[102.681367,32.899717],[102.68106,32.9],[102.680776,32.900262],[102.680677,32.900354],[102.680458,32.900829],[102.680429,32.90089],[102.680419,32.900913],[102.680306,32.901158],[102.680333,32.90119],[102.680348,32.901209],[102.680387,32.901265],[102.680397,32.901294],[102.680399,32.901325],[102.680397,32.90136],[102.68039,32.9014],[102.680548,32.901609],[102.681053,32.901841],[102.681107,32.901866],[102.681351,32.901978],[102.681595,32.90209],[102.682116,32.902328],[102.683152,32.9032],[102.683054,32.903717],[102.683052,32.903728],[102.682995,32.904034],[102.682939,32.904074],[102.682898,32.904094],[102.68285,32.904113],[102.682817,32.904128],[102.682796,32.904149],[102.68277,32.904196],[102.682647,32.904257],[102.682643,32.904259],[102.681571,32.904794],[102.681325,32.905214],[102.681288,32.905277],[102.681218,32.905396],[102.681343,32.906169],[102.68191,32.906545],[102.682449,32.906578],[102.682606,32.906587],[102.682777,32.906597],[102.682784,32.906598],[102.682832,32.906601],[102.682871,32.906603],[102.683042,32.906606],[102.683315,32.906611],[102.683784,32.90662],[102.683806,32.906623],[102.684065,32.906654],[102.684176,32.906668],[102.684588,32.906717],[102.684669,32.906727],[102.685024,32.90677],[102.685174,32.906788],[102.685367,32.906812],[102.685487,32.906818],[102.68578,32.906834],[102.685877,32.906839],[102.686487,32.906872],[102.68652,32.906874],[102.686622,32.906833],[102.686633,32.906829],[102.686929,32.90671],[102.686953,32.906701],[102.687006,32.90668],[102.688349,32.906826],[102.688397,32.906859],[102.688524,32.906942],[102.689484,32.907578],[102.689666,32.907732],[102.689737,32.907793],[102.689756,32.907809],[102.690044,32.908054],[102.690057,32.908066],[102.690442,32.908393],[102.690785,32.908684],[102.690849,32.908739],[102.691092,32.908822],[102.691436,32.908938],[102.691508,32.908962],[102.691524,32.908967],[102.691541,32.908973],[102.691632,32.909004],[102.691648,32.909009],[102.692375,32.909255],[102.694242,32.909614],[102.695183,32.90955],[102.69524,32.909546],[102.696122,32.909486],[102.697161,32.909169],[102.697536,32.909054],[102.697544,32.909051],[102.697625,32.909027],[102.697734,32.908993],[102.69829,32.90882],[102.698352,32.908801],[102.698446,32.908772],[102.698983,32.908605],[102.700235,32.908392],[102.700258,32.908388],[102.700469,32.908352],[102.700916,32.908276],[102.701927,32.907981],[102.702094,32.907932],[102.702106,32.907929],[102.702224,32.907894],[102.702512,32.907857],[102.703616,32.907717],[102.703656,32.907712],[102.703674,32.90771],[102.703898,32.907681],[102.704457,32.90761],[102.704478,32.907608],[102.704734,32.907575],[102.704856,32.907609],[102.70505,32.907662],[102.705442,32.907771],[102.705574,32.907808],[102.705833,32.907879],[102.705886,32.907918],[102.705893,32.907924],[102.706339,32.908251],[102.706367,32.908272],[102.706412,32.908304],[102.706683,32.908504],[102.707575,32.908692],[102.707646,32.908707],[102.707735,32.908726],[102.708094,32.908687],[102.708159,32.90868],[102.708216,32.908674],[102.708361,32.908658],[102.7087,32.908622],[102.709571,32.908435],[102.710292,32.908524],[102.710722,32.908578],[102.710755,32.908581],[102.710802,32.908622],[102.710956,32.908706],[102.71108,32.908821],[102.711279,32.908959],[102.711516,32.909092],[102.711733,32.909211],[102.711933,32.909306],[102.712116,32.909376],[102.712227,32.909408],[102.712252,32.909414],[102.712418,32.909461],[102.712609,32.909589],[102.712665,32.909666],[102.712776,32.909808],[102.712907,32.910053],[102.713413,32.910575],[102.713932,32.910911],[102.714123,32.911034],[102.714274,32.911047],[102.714299,32.911049],[102.714365,32.911054],[102.714747,32.911086],[102.71487,32.911103],[102.714956,32.911162],[102.715039,32.911186],[102.715117,32.911207],[102.715182,32.911236],[102.715254,32.911274],[102.715321,32.911309],[102.715372,32.911327],[102.715443,32.911336],[102.715582,32.911339],[102.715599,32.911339],[102.716182,32.911853],[102.716183,32.911854],[102.716218,32.911884],[102.716229,32.911912],[102.71643,32.912388],[102.716465,32.91247],[102.71658,32.912743],[102.71758,32.913167],[102.718304,32.913058],[102.71978,32.912873],[102.719994,32.912846],[102.720509,32.912563],[102.720696,32.91246],[102.721067,32.912257],[102.722416,32.911998],[102.722522,32.911978],[102.722528,32.911977],[102.722541,32.911974],[102.722608,32.911961],[102.722614,32.91196],[102.722804,32.912009],[102.722942,32.912045],[102.72308,32.91208],[102.723202,32.912112],[102.723754,32.912254],[102.72387,32.912284],[102.724068,32.912336],[102.724086,32.91234],[102.724443,32.912432],[102.724455,32.912436],[102.724466,32.912438],[102.724754,32.912513],[102.724813,32.912528],[102.724963,32.912605],[102.72498,32.912613],[102.724997,32.912622],[102.726047,32.913159],[102.726388,32.913223],[102.726459,32.913236],[102.726484,32.913241],[102.726503,32.913245],[102.726707,32.913283],[102.726669,32.913316],[102.726672,32.913328],[102.726683,32.913328],[102.726769,32.913295],[102.727005,32.913339],[102.727323,32.913157],[102.727329,32.913152],[102.727385,32.913042],[102.727519,32.912918],[102.727617,32.912821],[102.727718,32.912715],[102.7278,32.912634],[102.72786,32.9126],[102.727891,32.912583],[102.728089,32.912489],[102.728131,32.912471],[102.728178,32.912451],[102.728273,32.91241],[102.728318,32.91239],[102.728723,32.912359],[102.728853,32.912364],[102.728923,32.912373],[102.728956,32.912386],[102.729003,32.912416],[102.729104,32.912447],[102.729271,32.91247],[102.729416,32.912485],[102.729546,32.912448],[102.729624,32.912485],[102.72991,32.912621],[102.730192,32.913232],[102.730268,32.913397],[102.730317,32.913503],[102.730318,32.913505],[102.730393,32.913668],[102.730416,32.913718],[102.730457,32.913807],[102.730451,32.914056],[102.73045,32.914098],[102.730431,32.914821],[102.730604,32.915148],[102.730611,32.915197],[102.730646,32.915269],[102.730666,32.915328],[102.730692,32.915396],[102.73071,32.915442],[102.730742,32.915484],[102.730774,32.915564],[102.730825,32.915564],[102.730844,32.9156],[102.7311,32.915744],[102.731291,32.915851],[102.732131,32.916324],[102.732409,32.916481],[102.732834,32.917172],[102.732956,32.917371],[102.733084,32.91758],[102.733241,32.917835],[102.733385,32.91797],[102.733601,32.918174],[102.733813,32.918373],[102.733821,32.918381],[102.733962,32.918514],[102.734196,32.918751],[102.734407,32.918941],[102.734604,32.919118],[102.734786,32.919267],[102.734929,32.919384],[102.735104,32.919528],[102.735408,32.919777],[102.735575,32.919913],[102.735707,32.920021],[102.735922,32.920198],[102.736177,32.920407],[102.736439,32.920621],[102.73663,32.920778],[102.736807,32.920895],[102.736945,32.920987],[102.737116,32.921101],[102.737241,32.921184],[102.737408,32.921296],[102.737582,32.921412],[102.737763,32.921532],[102.737933,32.921646],[102.738081,32.921744],[102.73822,32.921837],[102.738326,32.921907],[102.738424,32.921973],[102.738578,32.922075],[102.738677,32.922141],[102.738759,32.922196],[102.738913,32.922291],[102.739069,32.922388],[102.73921,32.922475],[102.739349,32.922569],[102.739501,32.92266],[102.739661,32.922755],[102.739811,32.922848],[102.739923,32.922917],[102.740037,32.922988],[102.740175,32.923074],[102.740282,32.92314],[102.740368,32.923194],[102.74047,32.923257],[102.740621,32.923268],[102.740795,32.923289],[102.740974,32.92334],[102.74112,32.923392],[102.741241,32.923447],[102.74136,32.923474],[102.742381,32.923703],[102.742473,32.923724],[102.742664,32.923748],[102.742859,32.923772],[102.742902,32.923777],[102.742914,32.923778],[102.742972,32.923786],[102.743241,32.923819],[102.74332,32.923671],[102.743392,32.923538],[102.743306,32.923128],[102.743254,32.923076],[102.743238,32.923032],[102.74322,32.922971],[102.743208,32.92291],[102.743198,32.922843],[102.743198,32.922799],[102.743221,32.922724],[102.743266,32.922591],[102.743284,32.92251],[102.743288,32.922482],[102.743265,32.922461],[102.743185,32.922477],[102.743209,32.92233],[102.743253,32.922069],[102.743256,32.922054],[102.74328,32.921913],[102.743304,32.921767],[102.743312,32.921719],[102.74334,32.921553],[102.743591,32.921428],[102.743748,32.92135],[102.74378,32.921278],[102.743816,32.921258],[102.743884,32.921212],[102.744126,32.921157],[102.744397,32.92113],[102.744411,32.921129],[102.744895,32.921081],[102.744916,32.92106],[102.744943,32.921059],[102.744962,32.921075],[102.745525,32.92102],[102.746005,32.921121],[102.746019,32.921124],[102.746121,32.921145],[102.746329,32.921189],[102.746567,32.921239],[102.746578,32.921241],[102.747119,32.921684],[102.747138,32.9217],[102.747181,32.921783],[102.747305,32.922024],[102.747367,32.922131],[102.747411,32.922251],[102.747439,32.922325],[102.747439,32.922335],[102.747441,32.92239],[102.748182,32.922896],[102.748981,32.923567],[102.749043,32.92362],[102.749067,32.92364],[102.749539,32.923916],[102.75014,32.924268],[102.750821,32.924666],[102.750897,32.92471],[102.752718,32.925775],[102.753762,32.926362],[102.754013,32.926339],[102.754486,32.926294],[102.755005,32.926005],[102.75512,32.92594],[102.755324,32.925675],[102.755343,32.92565],[102.755767,32.9251],[102.755851,32.925049],[102.75694,32.92439],[102.757962,32.923922],[102.759033,32.923413],[102.760483,32.923155],[102.76197,32.923076],[102.763326,32.923003],[102.763664,32.922917],[102.763759,32.922893],[102.763859,32.922868],[102.765263,32.922511],[102.768211,32.921995],[102.768917,32.921832],[102.769064,32.921799],[102.770498,32.921468],[102.770824,32.921393],[102.771647,32.921183],[102.772644,32.92093],[102.772761,32.9209],[102.774166,32.920519],[102.774659,32.920528],[102.775261,32.920538],[102.775272,32.920539],[102.775292,32.920549],[102.775406,32.92053],[102.775565,32.920533],[102.775685,32.920557],[102.775724,32.920578],[102.775837,32.920637],[102.775953,32.920716],[102.77599,32.920763],[102.776038,32.920889],[102.776038,32.920923],[102.776003,32.920942],[102.776782,32.921742],[102.777396,32.9222],[102.778451,32.92234],[102.779793,32.922567],[102.780707,32.922543],[102.780821,32.922521],[102.780877,32.92251],[102.781004,32.922486],[102.781198,32.922448],[102.781227,32.922443],[102.781286,32.922431],[102.781674,32.922357],[102.781909,32.922218],[102.781916,32.922214],[102.782113,32.922097],[102.782407,32.921923],[102.783091,32.921058],[102.783102,32.921043],[102.783114,32.921025],[102.783167,32.92094],[102.783366,32.92062],[102.783454,32.920564],[102.783543,32.920473],[102.783617,32.920393],[102.783675,32.920321],[102.78412,32.920115],[102.784185,32.920084],[102.78422,32.920068],[102.784388,32.919977],[102.784709,32.919681],[102.785332,32.919338],[102.785571,32.919205],[102.785616,32.919177],[102.785818,32.919049],[102.785914,32.918988],[102.786003,32.918932],[102.786149,32.918839],[102.786208,32.918801],[102.786525,32.918546],[102.786551,32.918524],[102.78661,32.918476],[102.786756,32.918358],[102.787174,32.918127],[102.78726,32.918079],[102.787287,32.918051],[102.787318,32.917956],[102.787394,32.917881],[102.787617,32.917841],[102.787644,32.917837],[102.787859,32.917819],[102.787935,32.917821],[102.788048,32.917806],[102.788186,32.917746],[102.788313,32.917692],[102.788329,32.917688],[102.788463,32.917656],[102.788542,32.91766],[102.788644,32.917719],[102.788656,32.91774],[102.78886,32.917735],[102.789098,32.91773],[102.789228,32.917726],[102.789246,32.917726],[102.789323,32.917724],[102.789727,32.917693],[102.790093,32.91736],[102.790161,32.917035],[102.790185,32.91692],[102.790195,32.916871],[102.790195,32.916856],[102.790184,32.916358],[102.790176,32.915935],[102.790175,32.915889],[102.790168,32.915826],[102.790066,32.914868],[102.790069,32.914745],[102.790084,32.91414],[102.79009,32.913887],[102.790291,32.913022],[102.790959,32.912533],[102.791086,32.91244],[102.791095,32.912434],[102.791248,32.912322],[102.791313,32.912243],[102.791388,32.912299],[102.791459,32.912257],[102.791503,32.91218],[102.791515,32.912118],[102.791531,32.912086],[102.791561,32.912038],[102.791593,32.911993],[102.79161,32.911953],[102.791637,32.911851],[102.791772,32.911688],[102.791795,32.91166],[102.792171,32.911206],[102.79235,32.910484],[102.792381,32.91036],[102.792427,32.910174],[102.79243,32.91016],[102.792448,32.91009],[102.792451,32.910076],[102.792469,32.910003],[102.792499,32.909857],[102.792674,32.908987],[102.792659,32.908868],[102.792589,32.908296],[102.792588,32.908293],[102.792562,32.908079],[102.79258,32.907362],[102.792598,32.906607],[102.792311,32.905583],[102.792201,32.904599],[102.792147,32.904164],[102.79194,32.902481],[102.791918,32.901574],[102.791897,32.90063],[102.792016,32.899424],[102.792136,32.898708],[102.792174,32.898483],[102.792529,32.897642],[102.792982,32.896572],[102.793136,32.895782],[102.793334,32.894993],[102.793577,32.894242],[102.794106,32.892741],[102.794852,32.891546],[102.795242,32.890232],[102.795807,32.887297],[102.796124,32.88534],[102.795936,32.884076],[102.795932,32.884053],[102.795721,32.883558],[102.794845,32.882788],[102.794064,32.88183],[102.792755,32.880486],[102.792195,32.879607],[102.792015,32.87783],[102.791732,32.876617],[102.791887,32.875789],[102.791954,32.874884],[102.791453,32.873441],[102.790717,32.872446],[102.790649,32.871614],[102.790525,32.871394],[102.789877,32.870242],[102.78952,32.869795],[102.789357,32.869591],[102.788486,32.868632],[102.787961,32.868131],[102.787511,32.86784],[102.787497,32.867831],[102.787411,32.867776],[102.787402,32.86777],[102.787301,32.867705],[102.786635,32.867461],[102.78658,32.867441],[102.786548,32.867429],[102.786326,32.867347],[102.785864,32.867321],[102.785395,32.867294],[102.785388,32.867293],[102.784325,32.866859],[102.784121,32.866063],[102.784091,32.865458],[102.78402,32.864739],[102.783364,32.862349],[102.782933,32.859888],[102.782824,32.858867],[102.782848,32.857923],[102.782782,32.856978],[102.78237,32.855536],[102.781341,32.853782],[102.780965,32.852718],[102.780298,32.850743],[102.77869,32.848865],[102.778394,32.84818],[102.778601,32.847051],[102.77866,32.844711],[102.778935,32.840828],[102.779019,32.839244],[102.778864,32.838297],[102.778723,32.836784],[102.777969,32.834732],[102.777469,32.833251],[102.777068,32.831432],[102.776906,32.830668],[102.776818,32.830249],[102.776788,32.830105],[102.776835,32.829659],[102.776963,32.828447],[102.777092,32.8281],[102.77749,32.827022],[102.777562,32.825929],[102.777201,32.824299],[102.776928,32.822671],[102.776819,32.82165],[102.77715,32.820938],[102.778082,32.819407],[102.778698,32.818021],[102.778842,32.815834],[102.778791,32.814285],[102.778952,32.813193],[102.778714,32.811981],[102.778086,32.810271],[102.778451,32.808201],[102.778828,32.807415],[102.779383,32.80667],[102.779207,32.806553],[102.777841,32.805774],[102.774801,32.803983],[102.772867,32.802665],[102.771281,32.801731],[102.77063,32.800927],[102.769432,32.798791],[102.7685,32.796736],[102.767758,32.794231],[102.767846,32.792496],[102.768283,32.791107],[102.768401,32.789977],[102.768603,32.789036],[102.768283,32.783934],[102.766972,32.782778],[102.764572,32.780432],[102.76358,32.779018],[102.762794,32.778286],[102.762059,32.777292],[102.760564,32.776321],[102.759334,32.775469],[102.757893,32.774121],[102.757023,32.7732],[102.756686,32.772363],[102.756347,32.77164],[102.755127,32.77041],[102.753668,32.76978],[102.751567,32.769817],[102.749698,32.769482],[102.749676,32.769478],[102.749675,32.769477],[102.74874,32.769307],[102.748725,32.769304],[102.748457,32.769256],[102.748441,32.769253],[102.74832,32.769231],[102.747987,32.769127],[102.747886,32.769096],[102.747007,32.768823],[102.746988,32.768817],[102.746903,32.768791],[102.746896,32.768786],[102.746884,32.768778],[102.745408,32.767744],[102.743606,32.766541],[102.74239,32.76516],[102.740571,32.764057],[102.739106,32.763074],[102.738288,32.762456],[102.736213,32.762066],[102.734195,32.761778],[102.733005,32.761706],[102.732346,32.761845],[102.731268,32.762077],[102.729958,32.762053],[102.728347,32.762125],[102.726982,32.761949],[102.725669,32.762026],[102.723295,32.761681],[102.722461,32.761665],[102.721722,32.761859],[102.721562,32.761901],[102.721528,32.761909],[102.721535,32.761574],[102.721403,32.760994],[102.721183,32.760042],[102.721268,32.758641],[102.721303,32.758239],[102.721475,32.756253],[102.72146,32.754933],[102.721534,32.753945],[102.720966,32.753233],[102.720301,32.75252],[102.719211,32.751263],[102.719018,32.751013],[102.718502,32.750343],[102.717787,32.749711],[102.717373,32.748714],[102.717,32.748006],[102.71673,32.745239],[102.716646,32.743862],[102.716626,32.743546],[102.716983,32.73914],[102.717228,32.737165],[102.717499,32.736098],[102.717708,32.735566],[102.716965,32.734109],[102.716123,32.732691],[102.715777,32.730953],[102.714921,32.728174],[102.71461,32.727312],[102.714009,32.725642],[102.713869,32.723495],[102.713414,32.722209],[102.713119,32.720389],[102.712902,32.719354],[102.712407,32.717695],[102.711905,32.716367],[102.711114,32.714868],[102.710765,32.713253],[102.709942,32.711094],[102.709183,32.710255],[102.709519,32.70857],[102.710358,32.706276],[102.710897,32.705149],[102.711045,32.704072],[102.710474,32.703337],[102.710017,32.702332],[102.709341,32.701549],[102.708339,32.700897],[102.707656,32.700386],[102.706591,32.70014],[102.705215,32.699435],[102.704211,32.698918],[102.703359,32.698676],[102.702284,32.698838],[102.70224,32.698831],[102.701003,32.698633],[102.699845,32.697841],[102.69933,32.697017],[102.698919,32.696329],[102.698738,32.695012],[102.698869,32.694109],[102.698802,32.692522],[102.698076,32.691602],[102.696438,32.690711],[102.695055,32.690323],[102.693941,32.690213],[102.693933,32.690212],[102.693482,32.690181],[102.693023,32.69015],[102.691877,32.691413],[102.68777,32.695936],[102.687705,32.696008],[102.683759,32.700354],[102.68316,32.700868],[102.682445,32.701482],[102.681951,32.701906],[102.680319,32.702827],[102.678915,32.703254],[102.678,32.703419],[102.676411,32.70271],[102.675476,32.70156],[102.675466,32.701628],[102.675395,32.701302],[102.675186,32.700339],[102.675227,32.698736],[102.674756,32.696418],[102.674282,32.694228],[102.673717,32.692614],[102.67323,32.690937],[102.672292,32.689059],[102.671802,32.687511],[102.671464,32.685901],[102.671496,32.684682],[102.67192,32.682958],[102.672356,32.681203],[102.672635,32.680083],[102.672656,32.679999],[102.672682,32.679893],[102.673309,32.679135],[102.674451,32.678964],[102.67544,32.678854],[102.676287,32.679232],[102.67635,32.67926],[102.676639,32.67939],[102.678383,32.679422],[102.680135,32.679134],[102.681366,32.678451],[102.681637,32.678265],[102.681667,32.678244],[102.681706,32.678218],[102.681757,32.678183],[102.681831,32.678132],[102.682246,32.677847],[102.682241,32.677779],[102.682238,32.677683],[102.682263,32.677557],[102.682279,32.677463],[102.68229,32.677449],[102.682321,32.677414],[102.682326,32.677409],[102.682385,32.677355],[102.682413,32.677294],[102.682416,32.677278],[102.682431,32.677204],[102.68247,32.677154],[102.682618,32.677107],[102.682743,32.677065],[102.682844,32.677026],[102.682918,32.677014],[102.682963,32.677006],[102.683032,32.677005],[102.683093,32.677005],[102.683215,32.676868],[102.683384,32.676676],[102.683689,32.675608],[102.683601,32.675309],[102.683561,32.675298],[102.683283,32.675222],[102.68256,32.675187],[102.682356,32.675177],[102.682117,32.675122],[102.681991,32.67516],[102.681835,32.675168],[102.681748,32.675149],[102.681649,32.6751],[102.681521,32.675014],[102.681482,32.674975],[102.681411,32.674893],[102.681323,32.674784],[102.681159,32.674621],[102.681082,32.674508],[102.681038,32.674407],[102.681001,32.674262],[102.681076,32.673936],[102.681534,32.673566],[102.682123,32.673486],[102.68224,32.67347],[102.682334,32.673489],[102.683125,32.673646],[102.683294,32.673679],[102.683994,32.673692],[102.684191,32.67371],[102.684761,32.673761],[102.685199,32.673653],[102.685276,32.673635],[102.685326,32.673616],[102.685475,32.673561],[102.685527,32.673541],[102.68576,32.673454],[102.685769,32.673103],[102.685713,32.672804],[102.685395,32.672717],[102.684462,32.672916],[102.684081,32.672828],[102.683798,32.672606],[102.683765,32.672199],[102.683765,32.672191],[102.68375,32.67201],[102.68374,32.671985],[102.683692,32.67186],[102.683682,32.671834],[102.683669,32.671799],[102.683542,32.67147],[102.68354,32.671465],[102.683467,32.671388],[102.683452,32.671372],[102.683415,32.671332],[102.683073,32.670969],[102.682674,32.670861],[102.682626,32.670848],[102.682328,32.670767],[102.682315,32.670764],[102.68225,32.670765],[102.682149,32.670761],[102.682008,32.670744],[102.681933,32.670728],[102.681834,32.670695],[102.681696,32.670622],[102.681564,32.670516],[102.681539,32.670496],[102.681376,32.670362],[102.681293,32.670263],[102.681219,32.670179],[102.681207,32.670113],[102.681199,32.670106],[102.680891,32.669823],[102.680857,32.669791],[102.68084,32.669776],[102.680831,32.669767],[102.680707,32.669653],[102.680427,32.669351],[102.679888,32.669178],[102.67976,32.669138],[102.679442,32.669037],[102.679356,32.66901],[102.679342,32.669005],[102.679253,32.668977],[102.67908,32.668782],[102.678911,32.668592],[102.678699,32.668128],[102.678713,32.667587],[102.67855,32.666735],[102.678393,32.666535],[102.678355,32.666486],[102.678324,32.666447],[102.678085,32.66614],[102.678058,32.666133],[102.677949,32.666105],[102.677937,32.666103],[102.677703,32.666043],[102.67728,32.665935],[102.677243,32.665925],[102.677131,32.665897],[102.677008,32.665897],[102.676871,32.665897],[102.675732,32.6659],[102.675723,32.6659],[102.675556,32.6659],[102.675492,32.6659],[102.675141,32.665901],[102.675118,32.665901],[102.674944,32.665901],[102.674897,32.665896],[102.674869,32.665893],[102.674833,32.665856],[102.674781,32.665836],[102.674713,32.665832],[102.674644,32.665833],[102.674558,32.665833],[102.674498,32.665851],[102.674354,32.665835],[102.674347,32.665834],[102.674246,32.665823],[102.674038,32.665799],[102.6739,32.665784],[102.673508,32.665739],[102.673251,32.665666],[102.673228,32.665659],[102.6732,32.665651],[102.672814,32.66554],[102.672603,32.665479],[102.672538,32.6654],[102.672506,32.665382],[102.672453,32.665356],[102.672368,32.665317],[102.672287,32.665292],[102.672161,32.665199],[102.671979,32.665064],[102.671966,32.665055],[102.671874,32.664987],[102.671203,32.664118],[102.670967,32.663856],[102.670925,32.663809],[102.670858,32.663736],[102.67085,32.663727],[102.670729,32.663593],[102.670713,32.663575],[102.670581,32.663429],[102.67017,32.662835],[102.669943,32.662767],[102.669939,32.662765],[102.669852,32.662739],[102.669561,32.662815],[102.669047,32.66295],[102.668465,32.663198],[102.668238,32.663295],[102.667752,32.663338],[102.667533,32.663334],[102.667305,32.663349],[102.6669,32.66324],[102.666766,32.663204],[102.666715,32.66319],[102.665581,32.662885],[102.664943,32.662681],[102.664908,32.66267],[102.664897,32.662666],[102.664682,32.662598],[102.664653,32.662576],[102.664645,32.662571],[102.66456,32.662507],[102.664054,32.662135],[102.664002,32.661992],[102.663999,32.661985],[102.663952,32.661856],[102.663873,32.661639],[102.663914,32.66163],[102.663935,32.661619],[102.664063,32.661558],[102.664012,32.661519],[102.663976,32.661466],[102.663946,32.661403],[102.66393,32.661365],[102.663909,32.661314],[102.663901,32.661238],[102.664145,32.660693],[102.664301,32.660276],[102.664308,32.660258],[102.664328,32.660206],[102.664431,32.659931],[102.664496,32.659481],[102.664352,32.659195],[102.664291,32.659076],[102.664166,32.658972],[102.663957,32.658847],[102.663842,32.65881],[102.663774,32.658798],[102.663745,32.658782],[102.663392,32.658874],[102.663113,32.659534],[102.663051,32.65968],[102.662612,32.660168],[102.662547,32.660146],[102.662537,32.660143],[102.662515,32.660135],[102.662432,32.660107],[102.662423,32.660104],[102.662194,32.660027],[102.662165,32.660017],[102.662145,32.66001],[102.661976,32.659953],[102.661766,32.659881],[102.661715,32.659887],[102.661588,32.659901],[102.661071,32.659959],[102.66048,32.660083],[102.660468,32.660086],[102.660331,32.660115],[102.660263,32.660129],[102.660221,32.660138],[102.660115,32.66016],[102.659891,32.660207],[102.659854,32.660197],[102.658885,32.659918],[102.658876,32.659914],[102.658804,32.659884],[102.658717,32.659846],[102.65828,32.65966],[102.658154,32.659607],[102.657777,32.659446],[102.657708,32.659398],[102.657242,32.659078],[102.657165,32.658991],[102.656969,32.658771],[102.656384,32.658111],[102.6562,32.657822],[102.655813,32.657212],[102.655451,32.656865],[102.655442,32.656856],[102.655278,32.656699],[102.655095,32.65655],[102.655075,32.656533],[102.655036,32.656501],[102.655026,32.656493],[102.654896,32.656387],[102.654696,32.656224],[102.654614,32.656204],[102.654515,32.656123],[102.654352,32.656076],[102.654241,32.656052],[102.654197,32.656099],[102.654116,32.656229],[102.653911,32.656557],[102.65393,32.657544],[102.65393,32.657563],[102.653927,32.657591],[102.65391,32.657751],[102.65394,32.657765],[102.654034,32.657839],[102.654096,32.657886],[102.654141,32.657929],[102.654177,32.65799],[102.654189,32.658071],[102.654178,32.658126],[102.654139,32.658164],[102.654065,32.658218],[102.653984,32.658258],[102.65393,32.658313],[102.653873,32.658375],[102.653794,32.658421],[102.65373,32.658464],[102.65366,32.658502],[102.653657,32.658504],[102.653635,32.658509],[102.653568,32.658526],[102.653463,32.658536],[102.653388,32.658525],[102.653297,32.658495],[102.653215,32.658451],[102.653212,32.658448],[102.653197,32.658435],[102.653175,32.658414],[102.653146,32.658386],[102.653084,32.658345],[102.653027,32.658352],[102.652912,32.658365],[102.652811,32.658376],[102.652703,32.658389],[102.652586,32.658402],[102.6524,32.658423],[102.65181,32.658258],[102.651782,32.658126],[102.651773,32.658083],[102.651744,32.657942],[102.651729,32.65787],[102.651863,32.65769],[102.651868,32.657683],[102.651958,32.657562],[102.652013,32.657488],[102.652065,32.657399],[102.652131,32.657286],[102.652137,32.657275],[102.652146,32.65726],[102.652178,32.657206],[102.652329,32.656947],[102.652348,32.656915],[102.652341,32.656723],[102.652334,32.65654],[102.652321,32.65618],[102.652298,32.65615],[102.652172,32.655985],[102.651953,32.6557],[102.651995,32.655655],[102.652012,32.655609],[102.652021,32.655556],[102.652023,32.655492],[102.652016,32.655442],[102.651995,32.655409],[102.651961,32.655391],[102.651932,32.65539],[102.65192,32.655396],[102.651906,32.655414],[102.651905,32.655441],[102.651905,32.655491],[102.651904,32.655534],[102.651904,32.655567],[102.651907,32.655641],[102.651844,32.655558],[102.651851,32.655516],[102.651856,32.655485],[102.651856,32.655457],[102.651846,32.655427],[102.651826,32.655408],[102.6518,32.655389],[102.651773,32.655371],[102.651747,32.655363],[102.651682,32.655348],[102.651658,32.655317],[102.651494,32.655286],[102.651474,32.655282],[102.650978,32.655188],[102.650023,32.654938],[102.649976,32.654918],[102.649797,32.654842],[102.6496,32.654759],[102.649299,32.654632],[102.649164,32.654574],[102.648968,32.654534],[102.64823,32.654383],[102.648138,32.654364],[102.647894,32.654314],[102.64771,32.654277],[102.647462,32.654346],[102.64723,32.654411],[102.647189,32.654423],[102.647065,32.654458],[102.64697,32.65444],[102.6469,32.654426],[102.646513,32.654353],[102.646156,32.654286],[102.646001,32.654009],[102.645981,32.653973],[102.645964,32.653355],[102.646166,32.652983],[102.646516,32.652746],[102.646582,32.652727],[102.646644,32.652708],[102.64667,32.6527],[102.646794,32.652663],[102.646825,32.652654],[102.646914,32.652627],[102.647089,32.652574],[102.647419,32.652475],[102.647597,32.652484],[102.647701,32.652483],[102.647775,32.652486],[102.647845,32.65248],[102.647933,32.652445],[102.647995,32.652416],[102.648144,32.652384],[102.648169,32.652376],[102.648164,32.652357],[102.648169,32.652348],[102.648201,32.652328],[102.648233,32.652318],[102.64829,32.652285],[102.648312,32.65226],[102.648334,32.652229],[102.648366,32.652188],[102.648393,32.652157],[102.648441,32.652112],[102.648468,32.652086],[102.648502,32.65205],[102.648537,32.652014],[102.64856,32.651958],[102.648568,32.651915],[102.648578,32.651865],[102.64858,32.651819],[102.648579,32.651759],[102.648575,32.651712],[102.64855,32.651674],[102.648505,32.651632],[102.64847,32.6516],[102.648426,32.65157],[102.648366,32.651541],[102.648281,32.651509],[102.648176,32.651471],[102.648223,32.651471],[102.648271,32.651475],[102.648312,32.651489],[102.648381,32.651514],[102.648417,32.651528],[102.648461,32.651549],[102.64852,32.651575],[102.648556,32.651602],[102.648582,32.651622],[102.648614,32.651649],[102.648631,32.651676],[102.64865,32.651705],[102.648686,32.651785],[102.648693,32.651852],[102.64869,32.651893],[102.648689,32.651941],[102.648679,32.651971],[102.648671,32.651991],[102.64865,32.652053],[102.648731,32.651947],[102.648825,32.651823],[102.64883,32.651649],[102.648832,32.651555],[102.648833,32.651528],[102.648838,32.651321],[102.648067,32.651187],[102.647838,32.651148],[102.646467,32.651122],[102.646263,32.651067],[102.646112,32.650997],[102.646097,32.651022],[102.646091,32.651021],[102.64607,32.651015],[102.646024,32.651003],[102.646015,32.651],[102.645972,32.651079],[102.64594,32.651134],[102.64584,32.651101],[102.645741,32.651096],[102.645628,32.651118],[102.645614,32.65112],[102.645556,32.651139],[102.645458,32.651296],[102.645486,32.651413],[102.645481,32.651488],[102.645476,32.651547],[102.645477,32.651662],[102.645463,32.651673],[102.645447,32.651715],[102.645425,32.651879],[102.645396,32.651912],[102.645371,32.651967],[102.645358,32.652007],[102.645341,32.652059],[102.645298,32.652125],[102.645292,32.652155],[102.64527,32.652195],[102.645229,32.652236],[102.645194,32.652271],[102.645171,32.652291],[102.645118,32.652329],[102.645079,32.652351],[102.645011,32.652382],[102.644947,32.652408],[102.644877,32.652428],[102.644819,32.652438],[102.64478,32.652438],[102.644741,32.652462],[102.644727,32.652471],[102.644661,32.65251],[102.64456,32.652469],[102.644537,32.652481],[102.644492,32.65248],[102.64442,32.652467],[102.644323,32.65244],[102.644241,32.652409],[102.644178,32.652405],[102.644126,32.652437],[102.644092,32.652477],[102.644052,32.652526],[102.64399,32.65255],[102.643908,32.652568],[102.643872,32.652504],[102.643885,32.652001],[102.643881,32.651991],[102.643868,32.651966],[102.643823,32.651874],[102.643845,32.651854],[102.643842,32.651837],[102.643825,32.651802],[102.643802,32.651766],[102.643774,32.65173],[102.643712,32.65165],[102.643629,32.651628],[102.643304,32.65154],[102.643265,32.65153],[102.643258,32.651528],[102.64294,32.651442],[102.642827,32.651464],[102.642411,32.651544],[102.642375,32.651551],[102.642338,32.651558],[102.642118,32.6516],[102.642042,32.651658],[102.642012,32.651676],[102.641971,32.651695],[102.641925,32.651696],[102.641851,32.651719],[102.641762,32.651737],[102.641696,32.651726],[102.641652,32.651713],[102.641614,32.651704],[102.641545,32.651695],[102.641479,32.651693],[102.641428,32.651698],[102.641348,32.651694],[102.64127,32.651691],[102.641198,32.65168],[102.641184,32.651674],[102.641069,32.65165],[102.640984,32.651616],[102.640909,32.651578],[102.640842,32.65154],[102.640778,32.651495],[102.640749,32.651456],[102.64075,32.651425],[102.640756,32.651378],[102.640767,32.651324],[102.640776,32.65128],[102.640792,32.651222],[102.640869,32.651121],[102.640918,32.65108],[102.640971,32.651057],[102.641024,32.651053],[102.641096,32.651054],[102.641233,32.650909],[102.641238,32.650903],[102.641464,32.650665],[102.641482,32.650646],[102.641594,32.650527],[102.6417,32.650316],[102.641725,32.650267],[102.641779,32.650159],[102.641854,32.65019],[102.641842,32.650144],[102.641847,32.650098],[102.641835,32.650049],[102.641836,32.650018],[102.641844,32.649988],[102.641878,32.64995],[102.641809,32.649892],[102.641788,32.649839],[102.641754,32.649773],[102.641713,32.649751],[102.641682,32.649738],[102.641637,32.64972],[102.641591,32.649711],[102.641516,32.649696],[102.641514,32.649688],[102.641502,32.649682],[102.641474,32.649688],[102.641448,32.649701],[102.641429,32.6497],[102.641406,32.649681],[102.641388,32.649639],[102.641373,32.649595],[102.641362,32.649555],[102.641355,32.649515],[102.641167,32.64936],[102.640851,32.649238],[102.640534,32.649116],[102.640256,32.649266],[102.640241,32.649274],[102.639978,32.649415],[102.639883,32.649521],[102.639815,32.649597],[102.63958,32.649859],[102.639559,32.649884],[102.639396,32.650066],[102.639383,32.65008],[102.639366,32.650099],[102.639039,32.650364],[102.638588,32.650123],[102.638462,32.649486],[102.638391,32.649507],[102.638388,32.649487],[102.638388,32.649476],[102.638381,32.649463],[102.638382,32.649447],[102.638393,32.649429],[102.638405,32.649414],[102.63844,32.649372],[102.638427,32.649308],[102.638406,32.649244],[102.638403,32.649235],[102.638398,32.649219],[102.638374,32.649146],[102.638258,32.648789],[102.638176,32.64872],[102.638128,32.64867],[102.638039,32.648598],[102.637989,32.648553],[102.637953,32.648494],[102.637928,32.648438],[102.637878,32.648376],[102.63779,32.648292],[102.637703,32.6482],[102.637607,32.648111],[102.637508,32.64809],[102.636909,32.647966],[102.636895,32.64797],[102.636676,32.648048],[102.636641,32.64806],[102.636494,32.648112],[102.636437,32.64868],[102.636436,32.648687],[102.636432,32.64873],[102.636395,32.648859],[102.636376,32.648927],[102.63628,32.649268],[102.636256,32.649282],[102.636118,32.649359],[102.636105,32.649366],[102.635796,32.649538],[102.63569,32.649598],[102.63568,32.649603],[102.635178,32.649768],[102.635153,32.649776],[102.635004,32.649825],[102.634991,32.649829],[102.634957,32.64984],[102.634894,32.64986],[102.634653,32.64992],[102.634284,32.650011],[102.63402,32.650076],[102.633705,32.649915],[102.633645,32.649691],[102.63359,32.64969],[102.633558,32.649691],[102.633564,32.6496],[102.633585,32.649578],[102.63359,32.64957],[102.633605,32.649544],[102.633615,32.649434],[102.633619,32.64936],[102.633595,32.649235],[102.633557,32.64912],[102.63354,32.649026],[102.633506,32.648948],[102.633469,32.648894],[102.633404,32.648827],[102.633373,32.648769],[102.633357,32.648718],[102.633338,32.648674],[102.633326,32.64866],[102.633296,32.648666],[102.633277,32.648675],[102.633258,32.648684],[102.63325,32.648698],[102.63322,32.648699],[102.633203,32.648688],[102.633183,32.648672],[102.633158,32.648647],[102.633136,32.648631],[102.633071,32.648598],[102.633005,32.648566],[102.632908,32.648529],[102.632804,32.648476],[102.632706,32.648412],[102.632522,32.648303],[102.632396,32.648214],[102.63231,32.648166],[102.632105,32.648184],[102.632104,32.648217],[102.632101,32.648348],[102.632096,32.648532],[102.632808,32.649241],[102.632558,32.649501],[102.632541,32.649519],[102.632512,32.649549],[102.63248,32.649583],[102.632467,32.649588],[102.631907,32.649842],[102.63174,32.649917],[102.631415,32.649935],[102.630687,32.649974],[102.630377,32.649879],[102.63037,32.649878],[102.629463,32.649603],[102.628923,32.649284],[102.628938,32.648743],[102.629165,32.648404],[102.62919,32.648367],[102.629271,32.648247],[102.629329,32.648163],[102.629346,32.648138],[102.62936,32.648141],[102.629374,32.648141],[102.629399,32.648129],[102.629418,32.648096],[102.629461,32.648035],[102.629481,32.647999],[102.629498,32.647951],[102.629543,32.647885],[102.629574,32.647841],[102.629597,32.647817],[102.629628,32.647802],[102.629659,32.647782],[102.629718,32.647744],[102.629771,32.647687],[102.629857,32.647492],[102.629887,32.647434],[102.629909,32.647389],[102.629915,32.647365],[102.629915,32.647354],[102.62991,32.647343],[102.629906,32.647337],[102.629891,32.647289],[102.629792,32.647173],[102.629766,32.647138],[102.629731,32.647103],[102.629681,32.647056],[102.629548,32.646963],[102.629532,32.646956],[102.629469,32.646928],[102.629217,32.646815],[102.628614,32.646829],[102.628551,32.646831],[102.628425,32.646834],[102.628404,32.646834],[102.628302,32.646837],[102.628276,32.646863],[102.627867,32.647264],[102.627784,32.647345],[102.627824,32.647393],[102.627842,32.64742],[102.627854,32.647442],[102.627855,32.647458],[102.627853,32.647466],[102.627844,32.647475],[102.627818,32.647486],[102.627799,32.647495],[102.627785,32.647505],[102.62777,32.647517],[102.62776,32.647528],[102.627754,32.647544],[102.62775,32.647559],[102.627746,32.647577],[102.627735,32.647597],[102.627723,32.647608],[102.6277,32.647623],[102.627673,32.647635],[102.627609,32.647639],[102.627595,32.647639],[102.627567,32.647637],[102.627493,32.647633],[102.627459,32.647624],[102.627409,32.647608],[102.627375,32.647589],[102.627176,32.647669],[102.627165,32.647674],[102.627145,32.647682],[102.627092,32.647703],[102.626417,32.64769],[102.626356,32.647689],[102.626224,32.647686],[102.626168,32.647672],[102.626156,32.647669],[102.626006,32.647629],[102.625589,32.64752],[102.625589,32.647488],[102.625602,32.64702],[102.625664,32.646948],[102.625811,32.646784],[102.625832,32.64676],[102.625842,32.64675],[102.625867,32.646721],[102.626103,32.646457],[102.626159,32.646395],[102.626178,32.646418],[102.626202,32.646444],[102.626213,32.64646],[102.626216,32.646457],[102.626223,32.646445],[102.626223,32.646432],[102.62622,32.646402],[102.62622,32.646374],[102.626216,32.646332],[102.626573,32.646042],[102.626583,32.646035],[102.626595,32.646025],[102.626614,32.64601],[102.626733,32.645913],[102.626742,32.645906],[102.626868,32.645804],[102.627083,32.645475],[102.627088,32.645468],[102.627124,32.645413],[102.627184,32.645323],[102.627197,32.645303],[102.6272,32.645298],[102.627344,32.645079],[102.627494,32.645015],[102.627505,32.64501],[102.627553,32.64499],[102.627697,32.644929],[102.627714,32.644922],[102.628129,32.644746],[102.628065,32.643701],[102.62774,32.643381],[102.627773,32.643365],[102.627792,32.643357],[102.627833,32.643358],[102.6278,32.643345],[102.627768,32.643337],[102.627736,32.64333],[102.627716,32.643315],[102.627683,32.643285],[102.627652,32.643251],[102.62762,32.643225],[102.627593,32.643198],[102.627548,32.643157],[102.627463,32.643137],[102.627452,32.643152],[102.627443,32.643145],[102.627155,32.642935],[102.627103,32.642935],[102.626987,32.642894],[102.626939,32.642875],[102.626893,32.642851],[102.626865,32.642816],[102.626845,32.642772],[102.626824,32.642728],[102.626794,32.642697],[102.626737,32.64267],[102.626647,32.642619],[102.626611,32.642578],[102.626596,32.642531],[102.626578,32.642495],[102.626576,32.642456],[102.626588,32.642396],[102.626415,32.642201],[102.626363,32.641808],[102.626358,32.64177],[102.626374,32.641763],[102.626391,32.641751],[102.626407,32.641713],[102.626462,32.641605],[102.626511,32.641553],[102.62656,32.641504],[102.626569,32.641496],[102.626634,32.641435],[102.626767,32.641306],[102.627,32.641052],[102.62712,32.640927],[102.627319,32.64076],[102.627601,32.640522],[102.62797,32.640143],[102.628064,32.640045],[102.628118,32.639991],[102.62806,32.639901],[102.628013,32.639828],[102.627959,32.639744],[102.627942,32.639717],[102.627741,32.639565],[102.627629,32.639479],[102.627123,32.639585],[102.626942,32.639769],[102.626928,32.639782],[102.626915,32.639796],[102.626824,32.639888],[102.626748,32.639965],[102.626732,32.639974],[102.626713,32.639973],[102.626673,32.639961],[102.626613,32.639958],[102.626546,32.639963],[102.62647,32.63998],[102.626389,32.64003],[102.62635,32.640055],[102.626332,32.640083],[102.626311,32.640101],[102.62629,32.640105],[102.626254,32.640108],[102.626168,32.64015],[102.626149,32.640171],[102.626143,32.640198],[102.626141,32.640219],[102.626136,32.640243],[102.626126,32.640256],[102.626099,32.640264],[102.626074,32.640276],[102.626022,32.640335],[102.626011,32.640364],[102.625999,32.640385],[102.625998,32.640401],[102.625997,32.640411],[102.62595,32.640439],[102.625866,32.640489],[102.625755,32.64051],[102.625683,32.640524],[102.625131,32.64063],[102.624709,32.640828],[102.624669,32.640847],[102.624653,32.640854],[102.62453,32.640866],[102.624426,32.640901],[102.624365,32.640937],[102.624306,32.640993],[102.624265,32.641052],[102.624211,32.641122],[102.624108,32.641187],[102.623956,32.641283],[102.623925,32.641303],[102.623331,32.64133],[102.622841,32.640819],[102.622849,32.640525],[102.62285,32.640505],[102.622852,32.640433],[102.622854,32.640355],[102.622942,32.640263],[102.622984,32.64022],[102.623183,32.640013],[102.623913,32.640027],[102.624517,32.639652],[102.624478,32.639223],[102.624446,32.638877],[102.624339,32.638636],[102.624188,32.638293],[102.623922,32.638299],[102.623867,32.6383],[102.623826,32.638301],[102.623522,32.638308],[102.623511,32.638309],[102.623273,32.638314],[102.622581,32.638572],[102.622298,32.638459],[102.622234,32.638433],[102.622226,32.638408],[102.622218,32.638381],[102.622209,32.638351],[102.622197,32.638314],[102.622178,32.63827],[102.622146,32.638221],[102.62212,32.638188],[102.622075,32.638137],[102.621974,32.637859],[102.621961,32.637825],[102.622061,32.637636],[102.622087,32.637586],[102.622202,32.637366],[102.622242,32.637317],[102.622579,32.636909],[102.622619,32.636891],[102.623227,32.636612],[102.623736,32.636598],[102.623709,32.636569],[102.623661,32.636536],[102.62384,32.636548],[102.623961,32.636569],[102.62406,32.636582],[102.624076,32.636571],[102.624422,32.636326],[102.624567,32.636049],[102.624609,32.635969],[102.624568,32.635921],[102.624521,32.635878],[102.624414,32.635802],[102.624326,32.635751],[102.624304,32.635733],[102.624297,32.635714],[102.624291,32.635699],[102.624273,32.635671],[102.624212,32.635638],[102.624154,32.635618],[102.624089,32.635615],[102.624033,32.635618],[102.623957,32.635651],[102.623899,32.63569],[102.623853,32.635693],[102.623799,32.635695],[102.623595,32.635824],[102.62358,32.63588],[102.623579,32.635904],[102.623549,32.635903],[102.623492,32.635916],[102.623472,32.635938],[102.623449,32.635967],[102.623423,32.635991],[102.623391,32.636009],[102.623358,32.636024],[102.623311,32.636038],[102.623236,32.636054],[102.623213,32.63605],[102.62319,32.636023],[102.623158,32.635977],[102.623155,32.635954],[102.623085,32.635952],[102.623025,32.635951],[102.623011,32.635951],[102.62297,32.63595],[102.622878,32.635882],[102.622872,32.635878],[102.622867,32.635874],[102.622701,32.635752],[102.622802,32.635406],[102.622929,32.635292],[102.622945,32.635277],[102.622952,32.635249],[102.622961,32.635228],[102.622988,32.635201],[102.623045,32.635153],[102.623142,32.635072],[102.623261,32.634973],[102.623259,32.634943],[102.623269,32.634927],[102.623291,32.634903],[102.623309,32.634889],[102.623364,32.634868],[102.623413,32.634838],[102.623455,32.634817],[102.623474,32.634804],[102.623512,32.634789],[102.623581,32.634765],[102.62364,32.63472],[102.623701,32.634688],[102.623756,32.634668],[102.623806,32.63465],[102.623857,32.634616],[102.623897,32.634583],[102.623929,32.634542],[102.623941,32.63451],[102.623969,32.634443],[102.624022,32.634379],[102.624045,32.634351],[102.624072,32.634278],[102.624101,32.634209],[102.624124,32.634171],[102.624132,32.634145],[102.624138,32.63412],[102.624144,32.634063],[102.624174,32.63402],[102.624231,32.633945],[102.624248,32.633897],[102.624256,32.633857],[102.624258,32.63382],[102.624254,32.633795],[102.624238,32.633779],[102.624231,32.633768],[102.624223,32.633759],[102.62421,32.633742],[102.624198,32.633719],[102.624192,32.633697],[102.624189,32.633673],[102.624188,32.633651],[102.624181,32.63361],[102.624173,32.633609],[102.62409,32.633596],[102.623628,32.633527],[102.623071,32.633865],[102.622798,32.634106],[102.622783,32.634119],[102.622692,32.634199],[102.622557,32.634319],[102.622451,32.634349],[102.622082,32.634455],[102.622065,32.634459],[102.62205,32.634464],[102.622031,32.63443],[102.621963,32.634307],[102.621964,32.634275],[102.621986,32.63425],[102.622042,32.63418],[102.622046,32.634175],[102.62207,32.634127],[102.62207,32.634117],[102.622076,32.634029],[102.622103,32.633843],[102.622148,32.633676],[102.622175,32.633609],[102.62218,32.633586],[102.622182,32.633571],[102.622179,32.633564],[102.622172,32.63356],[102.622267,32.633335],[102.62236,32.633117],[102.622331,32.632498],[102.622075,32.632303],[102.622017,32.63226],[102.621846,32.632138],[102.62184,32.632134],[102.621807,32.632111],[102.62168,32.632021],[102.621662,32.632008],[102.621344,32.631783],[102.621257,32.631659],[102.621237,32.63163],[102.621219,32.631604],[102.621124,32.63147],[102.621132,32.63116],[102.621273,32.631113],[102.621303,32.631102],[102.62132,32.631097],[102.621642,32.630987],[102.621737,32.630955],[102.621778,32.630941],[102.622201,32.630485],[102.62213,32.62971],[102.622103,32.629658],[102.622102,32.629657],[102.622088,32.62963],[102.622083,32.629619],[102.622036,32.629529],[102.622026,32.629509],[102.622001,32.629462],[102.621924,32.629313],[102.621826,32.629125],[102.622087,32.628956],[102.622102,32.628946],[102.622158,32.62891],[102.622224,32.628867],[102.622286,32.628878],[102.622343,32.628893],[102.622382,32.628908],[102.622437,32.628921],[102.622477,32.628922],[102.62256,32.628907],[102.622586,32.628892],[102.622627,32.628872],[102.622669,32.628869],[102.622691,32.62887],[102.622737,32.628865],[102.622773,32.628851],[102.622801,32.628841],[102.622837,32.628835],[102.622907,32.628829],[102.622941,32.628825],[102.623011,32.628821],[102.623081,32.628828],[102.62321,32.628868],[102.623298,32.628917],[102.623359,32.628922],[102.623886,32.62897],[102.624528,32.628867],[102.625035,32.628488],[102.625051,32.628476],[102.625078,32.628456],[102.625085,32.628451],[102.625134,32.628414],[102.625142,32.628097],[102.625147,32.627908],[102.625159,32.627448],[102.625101,32.626937],[102.625074,32.626704],[102.625048,32.62648],[102.624968,32.62631],[102.624943,32.626257],[102.624939,32.626249],[102.62493,32.626229],[102.624909,32.626185],[102.624597,32.625522],[102.624576,32.625477],[102.624561,32.625447],[102.624345,32.624987],[102.624313,32.624919],[102.624322,32.624879],[102.6244,32.624549],[102.624463,32.624281],[102.624486,32.624265],[102.624863,32.624273],[102.624876,32.624273],[102.624971,32.624253],[102.625082,32.624253],[102.625161,32.624285],[102.625295,32.624371],[102.625402,32.624458],[102.625533,32.624554],[102.625551,32.624586],[102.625921,32.625222],[102.625926,32.62523],[102.62593,32.625237],[102.625986,32.625333],[102.625994,32.625347],[102.626004,32.625364],[102.626079,32.625494],[102.626268,32.625571],[102.626576,32.625697],[102.626607,32.625687],[102.626673,32.625666],[102.626807,32.625624],[102.62684,32.625532],[102.626845,32.625518],[102.626961,32.625203],[102.626968,32.625182],[102.627102,32.624818],[102.627107,32.624623],[102.627108,32.624593],[102.62711,32.624529],[102.62711,32.624521],[102.627111,32.624469],[102.627112,32.624435],[102.62712,32.624122],[102.626967,32.623588],[102.626957,32.623553],[102.626953,32.623539],[102.626959,32.623484],[102.626971,32.623374],[102.626956,32.623352],[102.626953,32.62333],[102.626951,32.623303],[102.626954,32.623277],[102.626967,32.623244],[102.626988,32.623223],[102.627064,32.623118],[102.627155,32.623061],[102.627307,32.622987],[102.627439,32.622946],[102.627606,32.62301],[102.627689,32.62332],[102.627692,32.623327],[102.627731,32.623476],[102.627745,32.623485],[102.627846,32.623551],[102.627966,32.623628],[102.627983,32.623639],[102.628041,32.6237],[102.628085,32.623727],[102.628151,32.623761],[102.628334,32.623809],[102.628397,32.623817],[102.628444,32.623818],[102.628508,32.623811],[102.628561,32.623796],[102.628588,32.623785],[102.628717,32.623675],[102.628803,32.623708],[102.628935,32.623537],[102.629142,32.62327],[102.6292,32.623195],[102.629267,32.622988],[102.62935,32.622734],[102.629314,32.622685],[102.629246,32.622589],[102.629232,32.62257],[102.629041,32.622303],[102.628513,32.622107],[102.628496,32.622101],[102.628477,32.622093],[102.628362,32.622051],[102.628335,32.622086],[102.628316,32.62211],[102.628308,32.622136],[102.628293,32.62217],[102.628282,32.622188],[102.628255,32.622197],[102.628187,32.622181],[102.628165,32.622161],[102.628151,32.62213],[102.628127,32.622091],[102.628104,32.622059],[102.628054,32.622022],[102.628022,32.622004],[102.627994,32.621985],[102.627975,32.621956],[102.627964,32.621917],[102.627948,32.62186],[102.627935,32.621842],[102.627927,32.621828],[102.627905,32.621813],[102.627891,32.621803],[102.627875,32.62179],[102.627858,32.621771],[102.62785,32.621752],[102.627851,32.621739],[102.627858,32.621721],[102.627867,32.621707],[102.627882,32.621691],[102.627898,32.621668],[102.627901,32.621655],[102.627902,32.62163],[102.627898,32.621606],[102.627881,32.621591],[102.627879,32.621572],[102.627888,32.621522],[102.627909,32.621483],[102.62792,32.621467],[102.627935,32.621453],[102.627948,32.621443],[102.627959,32.621436],[102.627975,32.621437],[102.627984,32.621442],[102.627998,32.621386],[102.628,32.62138],[102.628003,32.621367],[102.628067,32.621125],[102.628506,32.620979],[102.62862,32.620942],[102.628627,32.620947],[102.628634,32.620953],[102.628766,32.621054],[102.628787,32.621071],[102.628932,32.621183],[102.628969,32.621235],[102.629037,32.6213],[102.629104,32.62135],[102.629144,32.621379],[102.629176,32.621402],[102.629193,32.62141],[102.629226,32.621418],[102.629255,32.621422],[102.629277,32.621429],[102.629291,32.621447],[102.629301,32.621469],[102.629337,32.621496],[102.629422,32.621507],[102.629432,32.621508],[102.629701,32.621542],[102.62987,32.62133],[102.629905,32.621285],[102.62992,32.621268],[102.630058,32.621094],[102.630126,32.621009],[102.630125,32.620995],[102.630123,32.620981],[102.630053,32.620312],[102.630051,32.620293],[102.62995,32.620178],[102.629837,32.6201],[102.629772,32.620038],[102.629754,32.619986],[102.629754,32.619921],[102.629819,32.619935],[102.629952,32.61994],[102.630005,32.619941],[102.630003,32.619926],[102.629994,32.619862],[102.629992,32.619847],[102.629977,32.61973],[102.629827,32.619381],[102.629822,32.61937],[102.629809,32.619339],[102.629793,32.619302],[102.629778,32.61931],[102.629764,32.619314],[102.629753,32.619317],[102.629744,32.61932],[102.629733,32.619318],[102.629723,32.619315],[102.629706,32.619314],[102.629696,32.619316],[102.629685,32.619322],[102.629676,32.619332],[102.629667,32.619343],[102.629637,32.619291],[102.62964,32.619268],[102.629706,32.619233],[102.629742,32.619184],[102.629676,32.619029],[102.629823,32.618645],[102.629966,32.618136],[102.629805,32.617975],[102.629496,32.617618],[102.629476,32.617571],[102.629432,32.617523],[102.629352,32.617438],[102.629347,32.617432],[102.628642,32.616651],[102.628652,32.616278],[102.628664,32.616229],[102.628667,32.616217],[102.628674,32.616187],[102.628701,32.616074],[102.628707,32.616047],[102.628718,32.615648],[102.62832,32.615214],[102.628268,32.615004],[102.628255,32.614951],[102.628235,32.614866],[102.62831,32.614415],[102.628316,32.614403],[102.62847,32.614105],[102.628542,32.613967],[102.628628,32.613684],[102.628679,32.613517],[102.628681,32.613503],[102.628698,32.613319],[102.628723,32.613065],[102.628543,32.612715],[102.62836,32.612499],[102.62808,32.612387],[102.627877,32.612463],[102.62785,32.612473],[102.627798,32.612493],[102.627674,32.612539],[102.627626,32.612589],[102.62759,32.612638],[102.62755,32.612693],[102.627505,32.612733],[102.627436,32.612777],[102.627426,32.612784],[102.627376,32.6128],[102.6273,32.612826],[102.62729,32.612828],[102.627266,32.612851],[102.627185,32.612929],[102.626827,32.612922],[102.626681,32.61292],[102.626531,32.612777],[102.626375,32.612629],[102.626329,32.612585],[102.626312,32.612569],[102.626252,32.612512],[102.626302,32.612287],[102.626309,32.612255],[102.626323,32.612194],[102.626323,32.612194],[102.626323,32.612194],[102.626338,32.61219],[102.626355,32.612185],[102.626406,32.612171],[102.626415,32.612168],[102.62666,32.612101],[102.626667,32.612099],[102.626667,32.612099],[102.626667,32.612099],[102.626707,32.612088],[102.626749,32.612076],[102.626761,32.612073],[102.626769,32.612071],[102.626957,32.612019],[102.626965,32.612018],[102.626966,32.612017],[102.626968,32.612017],[102.627017,32.612006],[102.627054,32.611997],[102.627071,32.611993],[102.627149,32.611975],[102.627812,32.611823],[102.628165,32.611536],[102.628317,32.611274],[102.628327,32.611257],[102.628333,32.611245],[102.628363,32.611194],[102.628372,32.611145],[102.628373,32.611142],[102.628373,32.61114],[102.628396,32.611017],[102.628436,32.610796],[102.628258,32.610537],[102.628234,32.610503],[102.628207,32.610464],[102.628194,32.610445],[102.628193,32.610445],[102.628191,32.610445],[102.628151,32.610442],[102.627534,32.610406],[102.627524,32.610411],[102.627463,32.61044],[102.627402,32.61047],[102.627375,32.610483],[102.627056,32.610636],[102.62685,32.610678],[102.626824,32.610684],[102.626729,32.610703],[102.626455,32.610758],[102.626225,32.610588],[102.626208,32.610576],[102.626208,32.610576],[102.626207,32.610575],[102.626181,32.610556],[102.62614,32.610526],[102.626128,32.610517],[102.626103,32.610498],[102.626085,32.610485],[102.6257,32.610144],[102.625316,32.609805],[102.625058,32.609693],[102.624476,32.609443],[102.623824,32.609111],[102.623239,32.608937],[102.622575,32.608741],[102.62212,32.608545],[102.622103,32.608538],[102.622085,32.60853],[102.621798,32.608406],[102.62152,32.608188],[102.621549,32.608132],[102.621653,32.607924],[102.621774,32.607819],[102.621802,32.607795],[102.621809,32.607789],[102.621892,32.607716],[102.621903,32.607706],[102.622072,32.607559],[102.622058,32.60732],[102.622056,32.60729],[102.622056,32.607289],[102.622056,32.607288],[102.62205,32.607188],[102.62205,32.607187],[102.62205,32.607186],[102.622031,32.60718],[102.62203,32.60718],[102.622028,32.607179],[102.621934,32.607151],[102.621904,32.607142],[102.621488,32.607016],[102.620828,32.607003],[102.620723,32.606822],[102.620723,32.606821],[102.620722,32.60682],[102.620718,32.606814],[102.620675,32.606739],[102.620675,32.606739],[102.620674,32.606738],[102.620407,32.606276],[102.620241,32.606042],[102.620065,32.605793],[102.620064,32.605792],[102.620064,32.605791],[102.620058,32.605784],[102.619896,32.605554],[102.619891,32.605547],[102.619869,32.605487],[102.619777,32.605235],[102.619773,32.605222],[102.619765,32.605202],[102.619734,32.605116],[102.619725,32.605092],[102.619722,32.605083],[102.619715,32.605065],[102.619885,32.604681],[102.619936,32.604566],[102.619949,32.604537],[102.620019,32.604272],[102.620037,32.604206],[102.620063,32.604105],[102.620076,32.604059],[102.620081,32.604039],[102.620124,32.603876],[102.620124,32.603875],[102.620124,32.603874],[102.620229,32.603796],[102.620236,32.603791],[102.620353,32.603704],[102.620366,32.603694],[102.620609,32.603513],[102.620611,32.603512],[102.620613,32.60351],[102.620627,32.6035],[102.620713,32.603436],[102.620715,32.603434],[102.620717,32.603433],[102.620927,32.603277],[102.620996,32.603038],[102.620595,32.602738],[102.620164,32.602357],[102.61981,32.601806],[102.619805,32.601797],[102.619784,32.601759],[102.619753,32.601704],[102.619655,32.601528],[102.619599,32.601428],[102.619576,32.601376],[102.619321,32.600799],[102.61933,32.600758],[102.619337,32.600725],[102.61934,32.60071],[102.619352,32.60065],[102.619357,32.600628],[102.619374,32.600544],[102.619385,32.600493],[102.619406,32.600395],[102.619852,32.600247],[102.619875,32.600045],[102.619878,32.600022],[102.619879,32.600015],[102.619889,32.599925],[102.619891,32.599908],[102.619899,32.599843],[102.619776,32.599746],[102.619574,32.599587],[102.619614,32.59954],[102.619624,32.599528],[102.619941,32.599153],[102.619979,32.599108],[102.619988,32.599097],[102.620093,32.598973],[102.62012,32.598941],[102.620145,32.598912],[102.62056,32.598545],[102.620541,32.598506],[102.620541,32.598505],[102.620541,32.598504],[102.620521,32.598461],[102.620521,32.598461],[102.62052,32.598459],[102.620462,32.598333],[102.620451,32.598311],[102.620386,32.598168],[102.620143,32.597602],[102.620125,32.597578],[102.62011,32.597558],[102.620046,32.59747],[102.620002,32.597411],[102.619648,32.596927],[102.619609,32.596874],[102.619548,32.59682],[102.61935,32.596645],[102.619282,32.596584],[102.619244,32.596551],[102.619213,32.596524],[102.618953,32.596433],[102.618919,32.596421],[102.618556,32.596293],[102.618557,32.596287],[102.618602,32.595951],[102.618908,32.595739],[102.61891,32.595738],[102.618912,32.595736],[102.618947,32.595711],[102.618996,32.595678],[102.619023,32.595659],[102.619127,32.595587],[102.619523,32.595354],[102.619539,32.595345],[102.619564,32.595186],[102.619571,32.595143],[102.619583,32.595066],[102.619583,32.595065],[102.619583,32.595065],[102.619536,32.59498],[102.619482,32.594884],[102.619447,32.594821],[102.619408,32.59475],[102.618823,32.594552],[102.618056,32.594319],[102.617771,32.593939],[102.617563,32.593467],[102.617866,32.59313],[102.618143,32.593025],[102.618246,32.592986],[102.618389,32.592931],[102.61849,32.592893],[102.618648,32.592833],[102.619144,32.592549],[102.619065,32.592209],[102.618865,32.592067],[102.618629,32.5919],[102.61797,32.591624],[102.617462,32.591174],[102.617441,32.591156],[102.617358,32.591082],[102.617339,32.591066],[102.617276,32.59101],[102.617265,32.590998],[102.617152,32.590885],[102.616627,32.590359],[102.61662,32.590286],[102.616616,32.590252],[102.616607,32.59016],[102.6166,32.5901],[102.616592,32.59002],[102.616779,32.589647],[102.616972,32.589585],[102.616999,32.589576],[102.617074,32.589552],[102.617122,32.589536],[102.617158,32.589524],[102.617546,32.589399],[102.617561,32.589394],[102.617608,32.589378],[102.617661,32.589361],[102.617676,32.589356],[102.617765,32.589328],[102.617815,32.589103],[102.617467,32.588833],[102.617208,32.588771],[102.617207,32.58877],[102.617206,32.58877],[102.617029,32.588727],[102.616999,32.58872],[102.616998,32.588719],[102.616997,32.588719],[102.616629,32.58863],[102.616564,32.588505],[102.616522,32.588425],[102.616519,32.588418],[102.616442,32.58827],[102.616396,32.588181],[102.616333,32.58806],[102.616166,32.587681],[102.616241,32.587512],[102.616241,32.587512],[102.616242,32.587511],[102.616247,32.587499],[102.616253,32.587485],[102.616298,32.587384],[102.616305,32.58737],[102.616342,32.587288],[102.616449,32.587048],[102.616514,32.586694],[102.616534,32.586583],[102.616552,32.586486],[102.616519,32.586401],[102.616478,32.586297],[102.616352,32.585974],[102.616344,32.585956],[102.616338,32.585925],[102.61628,32.585623],[102.616278,32.585615],[102.616227,32.585352],[102.616427,32.584529],[102.616407,32.584412],[102.616404,32.584397],[102.616401,32.584379],[102.616389,32.584305],[102.616384,32.584277],[102.616381,32.584261],[102.616365,32.584163],[102.616311,32.58385],[102.616342,32.583623],[102.616346,32.583592],[102.616351,32.583557],[102.61636,32.583488],[102.616361,32.583478],[102.616362,32.583477],[102.616362,32.583475],[102.616367,32.583438],[102.6166,32.583029],[102.617226,32.582808],[102.617249,32.582799],[102.617406,32.582744],[102.617414,32.582741],[102.617522,32.582697],[102.617679,32.582635],[102.617765,32.5826],[102.617767,32.582521],[102.617768,32.582485],[102.61777,32.582433],[102.617774,32.582262],[102.61777,32.582225],[102.617747,32.582039],[102.617738,32.581961],[102.617473,32.581881],[102.617388,32.581793],[102.61735,32.581753],[102.617246,32.581645],[102.617214,32.581612],[102.61721,32.581597],[102.617205,32.581575],[102.617094,32.581122],[102.617281,32.580749],[102.617533,32.580637],[102.617559,32.580626],[102.617559,32.580625],[102.617559,32.580625],[102.617655,32.580583],[102.617675,32.580574],[102.617912,32.580468],[102.61809,32.580389],[102.618139,32.580202],[102.618191,32.57994],[102.618089,32.579725],[102.618076,32.579699],[102.618076,32.579699],[102.618076,32.579699],[102.618065,32.579674],[102.617943,32.579616],[102.6179,32.579595],[102.617835,32.579564],[102.617495,32.5794],[102.617244,32.578794],[102.617266,32.577979],[102.617266,32.577968],[102.617264,32.577963],[102.617158,32.577697],[102.617135,32.577638],[102.617007,32.57732],[102.616933,32.577135],[102.616962,32.576045],[102.617024,32.57537],[102.617128,32.574808],[102.617546,32.574269],[102.617547,32.574268],[102.617547,32.574268],[102.617564,32.574246],[102.617588,32.574215],[102.617617,32.574197],[102.617617,32.574197],[102.617618,32.574196],[102.617779,32.574093],[102.618041,32.573927],[102.618086,32.573899],[102.618204,32.573824],[102.618213,32.573818],[102.618213,32.573818],[102.618214,32.573818],[102.61822,32.573814],[102.618232,32.573802],[102.618447,32.573593],[102.618411,32.573291],[102.618068,32.572834],[102.617373,32.572257],[102.616982,32.571949],[102.617039,32.571461],[102.617046,32.571433],[102.617127,32.571108],[102.617188,32.570863],[102.617347,32.569889],[102.617331,32.56903],[102.61733,32.569001],[102.617329,32.568932],[102.617329,32.568911],[102.617303,32.568825],[102.617237,32.568605],[102.617235,32.568598],[102.617211,32.56852],[102.617125,32.568231],[102.616478,32.567504],[102.616138,32.567062],[102.616119,32.567038],[102.616069,32.566972],[102.616059,32.56696],[102.615962,32.566833],[102.61592,32.56678],[102.615901,32.566006],[102.6159,32.565956],[102.615899,32.565915],[102.615988,32.565587],[102.616011,32.565504],[102.616144,32.565017],[102.616205,32.564417],[102.616316,32.563555],[102.616504,32.563183],[102.616523,32.563175],[102.616705,32.563109],[102.617086,32.562968],[102.617187,32.562887],[102.617223,32.562857],[102.617449,32.562674],[102.617455,32.562449],[102.617435,32.562421],[102.617405,32.562378],[102.617371,32.562329],[102.61737,32.562328],[102.617369,32.562326],[102.617354,32.562305],[102.617228,32.562125],[102.617148,32.56201],[102.617147,32.56201],[102.617028,32.561839],[102.616994,32.561823],[102.616353,32.561508],[102.616302,32.561483],[102.616296,32.56148],[102.616151,32.561409],[102.615762,32.561012],[102.615734,32.560985],[102.615703,32.560952],[102.615287,32.560529],[102.615034,32.560035],[102.614831,32.559317],[102.614545,32.558372],[102.61425,32.557803],[102.614135,32.557124],[102.614149,32.556561],[102.614332,32.556062],[102.614348,32.556017],[102.614365,32.555971],[102.614384,32.55592],[102.614437,32.555777],[102.614949,32.554847],[102.615821,32.553774],[102.616057,32.553252],[102.616033,32.552462],[102.616357,32.55198],[102.616737,32.552072],[102.617168,32.552177],[102.617194,32.552183],[102.618168,32.552277],[102.61853,32.552021],[102.618628,32.551647],[102.618283,32.551302],[102.617712,32.551066],[102.617631,32.550764],[102.617824,32.550203],[102.618076,32.549043],[102.618233,32.548144],[102.61838,32.547621],[102.618569,32.547173],[102.619383,32.546587],[102.619578,32.54663],[102.619616,32.546638],[102.619653,32.546646],[102.619825,32.546684],[102.619927,32.546707],[102.620133,32.546752],[102.620412,32.546688],[102.62053,32.546661],[102.620532,32.546661],[102.620533,32.546661],[102.620648,32.546634],[102.620664,32.54663],[102.620892,32.546578],[102.621171,32.546301],[102.621211,32.546261],[102.621212,32.54626],[102.621213,32.546259],[102.621333,32.546139],[102.621385,32.546088],[102.62146,32.546013],[102.621485,32.545988],[102.621511,32.545969],[102.621587,32.545914],[102.621648,32.545869],[102.6217,32.545832],[102.621734,32.545806],[102.62239,32.545329],[102.622941,32.544625],[102.624279,32.54435],[102.624451,32.544246],[102.624691,32.5441],[102.624692,32.544099],[102.624693,32.544098],[102.624695,32.544097],[102.624776,32.544049],[102.625001,32.543912],[102.62528,32.54377],[102.62531,32.543755],[102.625351,32.543734],[102.62537,32.543724],[102.625855,32.543477],[102.62613,32.543144],[102.626329,32.543051],[102.626403,32.543016],[102.626426,32.543006],[102.626593,32.542927],[102.62662,32.542915],[102.626669,32.542891],[102.626966,32.542985],[102.627813,32.543251],[102.628128,32.543169],[102.628567,32.543054],[102.628618,32.543041],[102.628621,32.543023],[102.628655,32.54286],[102.628685,32.542719],[102.628705,32.542621],[102.628708,32.54261],[102.628719,32.542554],[102.629047,32.542384],[102.629104,32.542355],[102.629114,32.54235],[102.629207,32.542302],[102.62922,32.542295],[102.629265,32.542271],[102.629349,32.542228],[102.629441,32.541815],[102.62945,32.541779],[102.629508,32.54165],[102.629517,32.541628],[102.629563,32.541528],[102.629571,32.54151],[102.629664,32.541304],[102.629685,32.541257],[102.629861,32.54129],[102.62988,32.541294],[102.629969,32.541311],[102.629999,32.541316],[102.630568,32.541424],[102.630756,32.541421],[102.630765,32.541421],[102.630765,32.541421],[102.630813,32.54142],[102.630881,32.541419],[102.630883,32.541419],[102.630884,32.541419],[102.630886,32.541419],[102.630901,32.541419],[102.631635,32.541408],[102.631678,32.541407],[102.631678,32.541408],[102.631678,32.541408],[102.63176,32.541581],[102.631836,32.54174],[102.631845,32.541759],[102.63193,32.541938],[102.631892,32.542158],[102.631889,32.542171],[102.631869,32.542291],[102.631842,32.542444],[102.63184,32.542455],[102.631837,32.542473],[102.631826,32.542538],[102.631933,32.54269],[102.631934,32.542692],[102.631935,32.542694],[102.631989,32.54277],[102.632039,32.542842],[102.63213,32.542858],[102.632132,32.542858],[102.632135,32.542859],[102.632217,32.542873],[102.632235,32.542876],[102.632525,32.542927],[102.633512,32.542532],[102.634104,32.541942],[102.634044,32.541696],[102.634043,32.541694],[102.634043,32.541692],[102.634028,32.54163],[102.634025,32.541618],[102.634022,32.541607],[102.634002,32.541525],[102.633984,32.541451],[102.633966,32.541389],[102.633933,32.541275],[102.633928,32.541256],[102.633928,32.541255],[102.633902,32.541166],[102.633902,32.541164],[102.633902,32.541164],[102.633821,32.540884],[102.633956,32.5405],[102.633965,32.540473],[102.634144,32.540353],[102.634236,32.540291],[102.634704,32.540323],[102.634727,32.540324],[102.634989,32.540342],[102.635121,32.540338],[102.635162,32.540337],[102.635744,32.540319],[102.635927,32.540097],[102.635864,32.539923],[102.635849,32.539881],[102.635805,32.539763],[102.635803,32.539756],[102.635773,32.539748],[102.635763,32.539745],[102.635296,32.539612],[102.635234,32.539594],[102.635224,32.539591],[102.635099,32.539555],[102.635012,32.539569],[102.634853,32.539595],[102.634502,32.539652],[102.634475,32.539656],[102.634465,32.539644],[102.634336,32.539484],[102.634332,32.539479],[102.63426,32.539389],[102.63426,32.539366],[102.634261,32.539351],[102.634263,32.539258],[102.634267,32.539116],[102.634268,32.539088],[102.634269,32.539088],[102.63427,32.539088],[102.634369,32.539048],[102.634383,32.539042],[102.634716,32.538909],[102.635295,32.538845],[102.63535,32.538763],[102.635439,32.538632],[102.635443,32.538626],[102.635512,32.538524],[102.635523,32.538508],[102.635572,32.538437],[102.635849,32.537991],[102.636312,32.538],[102.636457,32.538002],[102.636483,32.538003],[102.636515,32.538003],[102.636583,32.538007],[102.636613,32.538009],[102.637073,32.538034],[102.637093,32.538035],[102.637269,32.538044],[102.637285,32.538045],[102.637513,32.538057],[102.637578,32.538061],[102.637599,32.538036],[102.637606,32.538026],[102.637616,32.538015],[102.637676,32.537942],[102.637682,32.537935],[102.637723,32.537886],[102.637853,32.537728],[102.637863,32.537711],[102.637927,32.537602],[102.637977,32.537517],[102.637999,32.537479],[102.638224,32.537096],[102.638283,32.537056],[102.638375,32.536993],[102.638376,32.536992],[102.638376,32.536992],[102.638493,32.536912],[102.638494,32.536911],[102.638505,32.536904],[102.638572,32.536858],[102.638586,32.536848],[102.638587,32.536848],[102.638587,32.536847],[102.638603,32.536836],[102.638676,32.536787],[102.638761,32.536728],[102.638812,32.536694],[102.638913,32.536207],[102.639317,32.536027],[102.639376,32.536028],[102.639527,32.536031],[102.63956,32.536031],[102.639724,32.536034],[102.639752,32.536035],[102.64012,32.536042],[102.64016,32.536042],[102.640215,32.536023],[102.640236,32.536015],[102.640397,32.535959],[102.640427,32.535948],[102.640563,32.5359],[102.640747,32.53564],[102.640694,32.535356],[102.640675,32.535254],[102.640672,32.535242],[102.640669,32.535225],[102.640967,32.535253],[102.641096,32.535265],[102.641211,32.535275],[102.641281,32.535282],[102.641299,32.535284],[102.641687,32.535319],[102.641735,32.535332],[102.641818,32.535354],[102.641818,32.535354],[102.641925,32.535382],[102.642035,32.535411],[102.642613,32.535562],[102.642891,32.535593],[102.642909,32.535594],[102.642943,32.535598],[102.643001,32.535604],[102.643002,32.535605],[102.643005,32.535605],[102.643453,32.535653],[102.643861,32.535323],[102.643814,32.535071],[102.643805,32.535024],[102.643783,32.534908],[102.643747,32.534607],[102.643747,32.534607],[102.643747,32.534606],[102.643595,32.534421],[102.643403,32.534187],[102.643167,32.534021],[102.643052,32.533827],[102.643625,32.533382],[102.643938,32.533334],[102.64408,32.533313],[102.64409,32.533311],[102.644091,32.533311],[102.644196,32.533295],[102.644196,32.533295],[102.644197,32.533295],[102.644393,32.533265],[102.64468,32.53348],[102.644681,32.53348],[102.644681,32.53348],[102.644682,32.533481],[102.644706,32.533494],[102.644769,32.533529],[102.644796,32.533544],[102.644856,32.533577],[102.645269,32.533806],[102.645627,32.533787],[102.64564,32.533307],[102.645557,32.533128],[102.645509,32.533089],[102.645294,32.532915],[102.645046,32.532714],[102.64499,32.532668],[102.645266,32.532445],[102.645275,32.532438],[102.645286,32.532429],[102.645329,32.532404],[102.645358,32.532387],[102.645388,32.532371],[102.645453,32.532333],[102.646118,32.531954],[102.646955,32.531316],[102.647929,32.530966],[102.649002,32.530496],[102.649638,32.53014],[102.649875,32.530032],[102.650146,32.529907],[102.650175,32.529894],[102.650259,32.529855],[102.650269,32.52985],[102.650322,32.529826],[102.650605,32.530077],[102.650546,32.530877],[102.650545,32.530898],[102.650536,32.531019],[102.650535,32.531031],[102.650534,32.531043],[102.65053,32.531097],[102.650693,32.531584],[102.650709,32.531631],[102.651536,32.531764],[102.651862,32.531816],[102.653072,32.531635],[102.653643,32.53144],[102.653944,32.531337],[102.654094,32.531286],[102.654879,32.53081],[102.655517,32.529994],[102.655534,32.52999],[102.655662,32.529965],[102.655669,32.529963],[102.656314,32.529834],[102.65641,32.529815],[102.656565,32.529784],[102.657123,32.529925],[102.65713,32.529926],[102.657237,32.529953],[102.657244,32.529955],[102.657263,32.52996],[102.657409,32.529996],[102.658259,32.529947],[102.659581,32.529579],[102.659938,32.529226],[102.659987,32.528834],[102.659803,32.528471],[102.659902,32.528379],[102.659942,32.528343],[102.659953,32.528333],[102.66003,32.528261],[102.660043,32.528249],[102.660071,32.528223],[102.66008,32.528215],[102.660501,32.528353],[102.660548,32.528369],[102.660566,32.528375],[102.660672,32.52841],[102.66068,32.528412],[102.660698,32.528418],[102.660922,32.528492],[102.66135,32.528369],[102.661704,32.528114],[102.661943,32.527824],[102.66307,32.527518],[102.664161,32.527146],[102.664518,32.52676],[102.664905,32.526735],[102.665566,32.526551],[102.665926,32.526067],[102.666055,32.525546],[102.666295,32.525224],[102.666917,32.525072],[102.66728,32.524732],[102.667395,32.524624],[102.6674,32.524619],[102.667431,32.524591],[102.667477,32.524574],[102.667492,32.524569],[102.66786,32.524435],[102.667951,32.524547],[102.667961,32.524558],[102.667961,32.524559],[102.667961,32.524559],[102.668012,32.524621],[102.668035,32.52465],[102.668065,32.524686],[102.668159,32.5248],[102.668617,32.525005],[102.669042,32.52498],[102.66932,32.524691],[102.66941,32.524202],[102.669075,32.523706],[102.668774,32.523406],[102.669132,32.522987],[102.669294,32.522965],[102.669367,32.522955],[102.669399,32.522951],[102.6694,32.522951],[102.669403,32.522951],[102.66951,32.522936],[102.669513,32.522936],[102.669515,32.522935],[102.669558,32.52293],[102.669892,32.523459],[102.670378,32.524057],[102.670431,32.524103],[102.670432,32.524104],[102.670432,32.524104],[102.670492,32.524157],[102.670513,32.524176],[102.670528,32.524189],[102.670553,32.524212],[102.670793,32.524424],[102.670986,32.524491],[102.671291,32.524597],[102.671554,32.524486],[102.67211,32.524252],[102.672697,32.523936],[102.673671,32.523595],[102.673758,32.523236],[102.673403,32.523078],[102.673382,32.523068],[102.673251,32.52301],[102.673237,32.523004],[102.673223,32.522998],[102.673136,32.52287],[102.673439,32.522784],[102.673464,32.522776],[102.67358,32.522743],[102.673602,32.522737],[102.67383,32.522671],[102.675023,32.522587],[102.676171,32.521759],[102.677006,32.520979],[102.677587,32.520299],[102.677981,32.520142],[102.678163,32.520069],[102.678266,32.520027],[102.678979,32.519741],[102.679013,32.519669],[102.679067,32.519549],[102.679245,32.519163],[102.679367,32.518942],[102.679507,32.51869],[102.680065,32.518912],[102.680557,32.519293],[102.680821,32.518767],[102.680585,32.518179],[102.680667,32.517438],[102.680855,32.517285],[102.680882,32.517263],[102.680957,32.517203],[102.680962,32.517198],[102.681017,32.517154],[102.681022,32.51715],[102.681434,32.516815],[102.681934,32.516877],[102.681933,32.516894],[102.681933,32.516899],[102.681929,32.517076],[102.681926,32.51717],[102.681919,32.517461],[102.682352,32.517681],[102.682923,32.517373],[102.68311,32.517089],[102.68351,32.516482],[102.684625,32.515951],[102.684905,32.515818],[102.685788,32.515569],[102.685954,32.515649],[102.68597,32.515657],[102.686083,32.515712],[102.686095,32.515718],[102.686179,32.515759],[102.686468,32.5159],[102.686606,32.51631],[102.686613,32.516331],[102.686625,32.516366],[102.686651,32.516445],[102.686655,32.516456],[102.686671,32.516504],[102.686701,32.516594],[102.687266,32.516551],[102.687724,32.515764],[102.688046,32.515451],[102.688716,32.51535],[102.689303,32.515262],[102.690046,32.514998],[102.690441,32.514858],[102.69077,32.514228],[102.691602,32.513553],[102.691931,32.513438],[102.692448,32.513257],[102.692613,32.5132],[102.692987,32.51326],[102.693362,32.513267],[102.693903,32.512961],[102.693915,32.512954],[102.693926,32.512948],[102.693926,32.512948],[102.693927,32.512948],[102.693998,32.512907],[102.694022,32.512914],[102.694049,32.512923],[102.694386,32.513025],[102.694498,32.513059],[102.694515,32.513064],[102.694688,32.513116],[102.69471,32.513123],[102.694744,32.513133],[102.694769,32.513134],[102.695495,32.513147],[102.695589,32.513264],[102.695589,32.513264],[102.695589,32.513264],[102.695617,32.513298],[102.695663,32.513356],[102.695699,32.513401],[102.695798,32.513524],[102.695492,32.513878],[102.695447,32.513931],[102.695347,32.514046],[102.695347,32.514047],[102.695347,32.514047],[102.695344,32.514065],[102.695342,32.514081],[102.695268,32.514682],[102.695765,32.51485],[102.696356,32.514778],[102.696545,32.514754],[102.696895,32.514711],[102.697061,32.514684],[102.697136,32.514672],[102.697181,32.514664],[102.698342,32.514473],[102.699918,32.514077],[102.700242,32.513658],[102.700255,32.513128],[102.700016,32.512699],[102.699908,32.512007],[102.70036,32.511485],[102.701493,32.51124],[102.701513,32.511239],[102.70153,32.511237],[102.70162,32.51123],[102.701654,32.511227],[102.701667,32.511226],[102.702383,32.511168],[102.702384,32.511168],[102.702386,32.511168],[102.702421,32.511165],[102.702484,32.51116],[102.702492,32.511159],[102.70256,32.511154],[102.703558,32.511331],[102.704126,32.511129],[102.704323,32.510627],[102.704368,32.510512],[102.704368,32.510512],[102.704368,32.510512],[102.704394,32.510444],[102.704444,32.51044],[102.704482,32.510437],[102.704959,32.510401],[102.705316,32.511151],[102.705536,32.511604],[102.70556,32.511652],[102.705612,32.51176],[102.705622,32.511781],[102.705622,32.511781],[102.705623,32.511782],[102.705623,32.511782],[102.705732,32.512007],[102.706044,32.512066],[102.706493,32.51165],[102.706572,32.511015],[102.706529,32.510218],[102.706532,32.510217],[102.706534,32.510216],[102.70656,32.510204],[102.706659,32.51016],[102.706669,32.510155],[102.70694,32.510034],[102.7071,32.509963],[102.707407,32.510181],[102.707499,32.510238],[102.707532,32.510258],[102.707622,32.510314],[102.70764,32.510325],[102.708024,32.510563],[102.708224,32.510567],[102.708462,32.510571],[102.709095,32.510318],[102.709417,32.509952],[102.709475,32.50948],[102.709487,32.509387],[102.70949,32.509363],[102.709494,32.50933],[102.709496,32.509317],[102.709529,32.509284],[102.709817,32.509004],[102.709887,32.509029],[102.709954,32.509053],[102.709979,32.509063],[102.710039,32.509084],[102.710063,32.509093],[102.710127,32.509116],[102.710493,32.509494],[102.710806,32.5095],[102.710882,32.50897],[102.71083,32.508545],[102.710504,32.50832],[102.710292,32.508174],[102.71031,32.508154],[102.710723,32.508037],[102.71116,32.507914],[102.711915,32.507729],[102.711916,32.507729],[102.711917,32.507729],[102.711945,32.507722],[102.711979,32.507714],[102.712118,32.507679],[102.712168,32.507667],[102.712609,32.507569],[102.712821,32.507706],[102.712847,32.507723],[102.712937,32.507781],[102.713025,32.507837],[102.713047,32.507852],[102.713073,32.507868],[102.713074,32.507869],[102.713075,32.507869],[102.713287,32.508006],[102.713785,32.508121],[102.714349,32.508078],[102.714991,32.507453],[102.715568,32.506933],[102.715631,32.506963],[102.715692,32.506992],[102.71583,32.507058],[102.715862,32.507073],[102.715942,32.507111],[102.716046,32.50716],[102.71622,32.507243],[102.71638,32.507319],[102.716496,32.507374],[102.7166,32.507404],[102.716857,32.507477],[102.716892,32.507487],[102.717491,32.507658],[102.718252,32.5073],[102.718639,32.50683],[102.718745,32.50632],[102.718782,32.506142],[102.718915,32.505826],[102.719185,32.505702],[102.71919,32.5057],[102.719204,32.505693],[102.71921,32.505691],[102.719359,32.505622],[102.719934,32.505796],[102.719977,32.505809],[102.720006,32.505818],[102.720007,32.505818],[102.720007,32.505818],[102.720017,32.505821],[102.720048,32.505831],[102.720151,32.505862],[102.720291,32.505904],[102.720993,32.505386],[102.721051,32.505351],[102.721117,32.505311],[102.721208,32.505256],[102.721208,32.505255],[102.72121,32.505255],[102.721334,32.505179],[102.721414,32.50513],[102.721438,32.505116],[102.721542,32.505053],[102.721873,32.504851],[102.721875,32.50485],[102.721877,32.504849],[102.722037,32.504752],[102.722519,32.504459],[102.723365,32.503728],[102.723691,32.503446],[102.723805,32.503348],[102.723817,32.503337],[102.723842,32.503315],[102.723843,32.503314],[102.723844,32.503314],[102.72393,32.50324],[102.724398,32.502835],[102.724504,32.502743],[102.726435,32.500656],[102.727914,32.49909],[102.728166,32.498816],[102.728367,32.498597],[102.728395,32.498566],[102.728471,32.498483],[102.728485,32.498468],[102.728492,32.49846],[102.728511,32.49844],[102.72856,32.498386],[102.728629,32.498311],[102.728646,32.498293],[102.729782,32.497054],[102.730612,32.495811],[102.731148,32.495009],[102.732184,32.493648],[102.733208,32.492503],[102.734052,32.491559],[102.736673,32.48943],[102.738793,32.487293],[102.740527,32.485544],[102.740655,32.485416],[102.742389,32.483696],[102.743611,32.482391],[102.745918,32.480256],[102.746753,32.479422],[102.748555,32.477438],[102.750094,32.47598],[102.750684,32.475398],[102.750992,32.475094],[102.752602,32.473318],[102.754269,32.471703],[102.755668,32.470826],[102.757623,32.470277],[102.760208,32.469527],[102.761659,32.469075],[102.762228,32.468925],[102.763549,32.468578],[102.764686,32.468174],[102.766968,32.467029],[102.767291,32.466858],[102.767291,32.466858],[102.767291,32.466858],[102.767501,32.46702],[102.76771,32.467181],[102.768054,32.467329],[102.768399,32.467477],[102.768643,32.467581],[102.768995,32.467731],[102.769195,32.46781],[102.76928,32.467902],[102.769409,32.467974],[102.769609,32.468024],[102.769837,32.468124],[102.769894,32.468338],[102.769909,32.468588],[102.76998,32.468709],[102.770058,32.46883],[102.77008,32.468973],[102.770101,32.469405],[102.770123,32.469837],[102.770116,32.470037],[102.769923,32.470372],[102.769959,32.470629],[102.770044,32.471],[102.770098,32.471089],[102.770242,32.471326],[102.770387,32.471564],[102.77058,32.4718],[102.770672,32.472078],[102.770779,32.472278],[102.770979,32.472535],[102.771022,32.47261],[102.771186,32.472892],[102.771222,32.473071],[102.771251,32.473328],[102.771279,32.473585],[102.771251,32.47397],[102.771183,32.474402],[102.771115,32.474834],[102.771086,32.475159],[102.771058,32.475483],[102.770919,32.475847],[102.770779,32.476211],[102.770669,32.476579],[102.770558,32.476947],[102.770572,32.477089],[102.770658,32.477168],[102.770787,32.477254],[102.771097,32.477325],[102.771408,32.477396],[102.771734,32.477444],[102.77206,32.477492],[102.772236,32.477518],[102.772525,32.477625],[102.772814,32.477732],[102.773092,32.477832],[102.773371,32.477932],[102.773799,32.478053],[102.774049,32.478203],[102.774299,32.478353],[102.774391,32.478406],[102.774598,32.478524],[102.774798,32.478524],[102.775195,32.478453],[102.775591,32.478382],[102.775912,32.478336],[102.776233,32.478291],[102.776554,32.478246],[102.776933,32.478224],[102.777222,32.478142],[102.777511,32.47806],[102.777729,32.477946],[102.777946,32.477832],[102.778268,32.477632],[102.778632,32.477596],[102.77886,32.477582],[102.779146,32.47755],[102.779431,32.477518],[102.77971,32.477511],[102.779988,32.477504],[102.780213,32.477507],[102.780438,32.477511],[102.780677,32.477589],[102.780916,32.477668],[102.781166,32.477775],[102.781416,32.477882],[102.781698,32.47797],[102.781981,32.478059],[102.782008,32.478067],[102.782312,32.47811],[102.782615,32.478153],[102.782847,32.478192],[102.783079,32.478232],[102.783222,32.47821],[102.783621,32.478082],[102.783832,32.477971],[102.784043,32.47786],[102.784235,32.477714],[102.784428,32.477568],[102.784709,32.477406],[102.78499,32.477244],[102.78527,32.477082],[102.785531,32.477064],[102.785791,32.477047],[102.78617,32.477068],[102.786548,32.477089],[102.786934,32.477125],[102.787276,32.477318],[102.787612,32.477549],[102.787947,32.47778],[102.788283,32.47801],[102.788603,32.478216],[102.788922,32.478422],[102.789004,32.478474],[102.789289,32.478724],[102.789575,32.478974],[102.789867,32.479224],[102.790067,32.479395],[102.790126,32.479539],[102.790146,32.479588],[102.790274,32.479802],[102.790396,32.479959],[102.790681,32.480177],[102.790967,32.480395],[102.791202,32.480602],[102.791356,32.480826],[102.791509,32.481051],[102.791756,32.481397],[102.792002,32.481744],[102.79208,32.481886],[102.79208,32.482001],[102.791995,32.482101],[102.791659,32.482393],[102.791496,32.482604],[102.791388,32.482743],[102.791238,32.482957],[102.791152,32.483071],[102.790995,32.483107],[102.790767,32.483164],[102.790738,32.483171],[102.79036,32.483257],[102.790232,32.483321],[102.790053,32.483507],[102.789875,32.483757],[102.789718,32.483935],[102.789603,32.484042],[102.789518,32.484214],[102.789511,32.484328],[102.789546,32.484553],[102.789582,32.484778],[102.789482,32.484985],[102.78935,32.48517],[102.789218,32.485356],[102.789218,32.485356],[102.789217,32.485357],[102.789056,32.485639],[102.788989,32.485755],[102.788911,32.486051],[102.788832,32.486346],[102.788754,32.486641],[102.788691,32.486903],[102.788628,32.487166],[102.788568,32.487412],[102.788472,32.487811],[102.788376,32.488211],[102.788276,32.488514],[102.788176,32.488818],[102.788088,32.488952],[102.787957,32.489153],[102.787826,32.489353],[102.78764,32.489639],[102.787569,32.489856],[102.787498,32.490074],[102.787492,32.490101],[102.787405,32.490503],[102.787405,32.490838],[102.787405,32.491174],[102.787405,32.491438],[102.787365,32.491662],[102.787326,32.491887],[102.787324,32.491912],[102.787298,32.492151],[102.787291,32.492294],[102.787233,32.492551],[102.787169,32.492851],[102.787151,32.493276],[102.787133,32.4937],[102.787098,32.494122],[102.786976,32.494329],[102.786898,32.494557],[102.786877,32.494871],[102.786877,32.495128],[102.786905,32.495407],[102.786869,32.495564],[102.786812,32.495655],[102.786748,32.495756],[102.78647,32.495949],[102.786248,32.496045],[102.786027,32.496142],[102.785767,32.496164],[102.785692,32.49617],[102.78527,32.496206],[102.784963,32.496277],[102.784656,32.496349],[102.78435,32.49642],[102.78395,32.496531],[102.78355,32.496642],[102.783186,32.496763],[102.782912,32.496903],[102.782639,32.497044],[102.782365,32.497184],[102.782058,32.497373],[102.781751,32.497562],[102.781394,32.497805],[102.781037,32.498048],[102.780843,32.498153],[102.780558,32.498307],[102.780274,32.498462],[102.780071,32.498557],[102.779724,32.498719],[102.779453,32.498883],[102.779181,32.498919],[102.778953,32.498947],[102.778724,32.498976],[102.778697,32.498981],[102.778654,32.498989],[102.778408,32.499036],[102.778161,32.499083],[102.777889,32.499165],[102.777618,32.499247],[102.777261,32.49934],[102.776947,32.499554],[102.776769,32.499761],[102.776583,32.500161],[102.776441,32.50041],[102.776347,32.500575],[102.776069,32.500917],[102.775849,32.501231],[102.77563,32.501546],[102.77541,32.50186],[102.775191,32.502174],[102.774984,32.502395],[102.774777,32.502616],[102.774584,32.502859],[102.774391,32.503102],[102.774263,32.503237],[102.774042,32.503316],[102.773795,32.503395],[102.773548,32.503474],[102.77337,32.503531],[102.773085,32.503623],[102.772735,32.503773],[102.772386,32.503923],[102.772022,32.504105],[102.771657,32.504287],[102.7714,32.504447],[102.771144,32.504608],[102.770858,32.504851],[102.770826,32.504881],[102.770587,32.505108],[102.77043,32.505436],[102.770339,32.505684],[102.77022,32.506009],[102.770101,32.506335],[102.769994,32.506564],[102.769887,32.506792],[102.769616,32.507056],[102.769345,32.507321],[102.76906,32.507473],[102.768775,32.507626],[102.768545,32.507749],[102.768367,32.507892],[102.768317,32.507956],[102.768295,32.508042],[102.768324,32.508077],[102.768663,32.508231],[102.769002,32.508384],[102.769327,32.508498],[102.769652,32.508613],[102.77003,32.508727],[102.770255,32.508837],[102.77048,32.508948],[102.770815,32.509087],[102.771151,32.509226],[102.771536,32.509419],[102.771779,32.509562],[102.772067,32.509793],[102.772355,32.510024],[102.772643,32.510254],[102.772821,32.510472],[102.772999,32.51069],[102.773185,32.51109],[102.773264,32.511439],[102.773342,32.511789],[102.773406,32.512125],[102.773571,32.51246],[102.773689,32.512655],[102.773848,32.512914],[102.774006,32.513174],[102.774056,32.513506],[102.774106,32.513838],[102.77422,32.514148],[102.774334,32.514459],[102.774347,32.514488],[102.774448,32.514713],[102.774549,32.514937],[102.774602,32.515233],[102.774656,32.51553],[102.774756,32.515851],[102.774855,32.516079],[102.774955,32.516308],[102.775162,32.516636],[102.775344,32.5169],[102.775526,32.517164],[102.775634,32.517371],[102.775741,32.517578],[102.775791,32.517914],[102.775813,32.518135],[102.775841,32.518414],[102.775883,32.518671],[102.775926,32.518928],[102.776048,32.519263],[102.776172,32.519455],[102.776297,32.519647],[102.776326,32.519691],[102.776526,32.51992],[102.776597,32.520155],[102.776612,32.520498],[102.776597,32.520759],[102.776583,32.521019],[102.776644,32.521362],[102.776704,32.521704],[102.776751,32.521947],[102.776797,32.52219],[102.776859,32.522497],[102.776921,32.522804],[102.776983,32.523111],[102.777004,32.52341],[102.776963,32.523703],[102.776922,32.523997],[102.776881,32.524289],[102.77684,32.524581],[102.776729,32.524845],[102.776619,32.525109],[102.776612,32.525288],[102.776647,32.525473],[102.776738,32.525614],[102.776917,32.525891],[102.777096,32.526168],[102.777275,32.526444],[102.77749,32.526769],[102.777704,32.527094],[102.777875,32.527222],[102.777996,32.527279],[102.778325,32.527272],[102.778675,32.527229],[102.778903,32.527215],[102.779109,32.527215],[102.779153,32.527215],[102.77936,32.527258],[102.779667,32.527429],[102.779912,32.52761],[102.780168,32.527798],[102.780423,32.527986],[102.780766,32.528161],[102.781109,32.528336],[102.781401,32.528557],[102.781544,32.528757],[102.781798,32.528796],[102.782051,32.528836],[102.782322,32.528832],[102.782593,32.528828],[102.782915,32.528768],[102.783236,32.528707],[102.783644,32.528625],[102.783871,32.528579],[102.784292,32.528543],[102.784477,32.528554],[102.784792,32.528571],[102.785188,32.5285],[102.785584,32.528429],[102.785906,32.528354],[102.786227,32.528279],[102.786612,32.528207],[102.786948,32.528179],[102.787191,32.528172],[102.787483,32.5282],[102.787726,32.528272],[102.787922,32.528386],[102.788119,32.5285],[102.78849,32.5287],[102.788647,32.528821],[102.788847,32.529082],[102.789047,32.529342],[102.789314,32.529564],[102.789582,32.529785],[102.789921,32.530063],[102.79026,32.530342],[102.790588,32.530549],[102.790917,32.530756],[102.791139,32.530865],[102.791452,32.53102],[102.791458,32.531025],[102.791701,32.531233],[102.791945,32.531441],[102.792162,32.53162],[102.79238,32.531798],[102.792673,32.53198],[102.792966,32.532162],[102.793287,32.532401],[102.793608,32.53264],[102.793821,32.532942],[102.793915,32.533076],[102.794099,32.53344],[102.794243,32.533725],[102.794347,32.533975],[102.79445,32.534225],[102.794498,32.534335],[102.794485,32.534424],[102.794612,32.53465],[102.794622,32.534682],[102.79475,32.534775],[102.794776,32.534784],[102.794971,32.534853],[102.795014,32.534862],[102.795384,32.534921],[102.795522,32.534971],[102.795671,32.535003],[102.795819,32.535079],[102.795835,32.535084],[102.795841,32.535089],[102.796163,32.535253],[102.796485,32.535417],[102.796678,32.535589],[102.796929,32.535954],[102.797064,32.53615],[102.797199,32.536345],[102.797317,32.5366],[102.797418,32.536819],[102.79752,32.537038],[102.797547,32.537102],[102.79762,32.537273],[102.797741,32.537373],[102.798041,32.537602],[102.798255,32.537809],[102.798469,32.538016],[102.798612,32.538251],[102.798912,32.538351],[102.799304,32.538487],[102.799573,32.538581],[102.79959,32.538587],[102.799811,32.538665],[102.79999,32.538794],[102.800166,32.538946],[102.800342,32.539098],[102.800493,32.5392],[102.800702,32.539342],[102.800911,32.539483],[102.801021,32.539639],[102.801041,32.539794],[102.800921,32.540004],[102.80078,32.540208],[102.800638,32.540413],[102.800497,32.540618],[102.800355,32.540822],[102.800281,32.541013],[102.800276,32.541265],[102.80043,32.541478],[102.800727,32.541781],[102.800896,32.541953],[102.801066,32.542125],[102.801235,32.542297],[102.801404,32.542469],[102.801573,32.542641],[102.801742,32.542813],[102.801974,32.543067],[102.802207,32.543322],[102.802362,32.543497],[102.80247,32.54373],[102.802596,32.544162],[102.802722,32.544593],[102.802848,32.545025],[102.8029,32.545252],[102.802951,32.545479],[102.803003,32.545707],[102.803054,32.545934],[102.803048,32.546261],[102.802881,32.54649],[102.802608,32.546813],[102.802334,32.547136],[102.802061,32.547459],[102.801913,32.547673],[102.801766,32.547887],[102.801619,32.548101],[102.801471,32.548316],[102.801326,32.548673],[102.80118,32.54903],[102.801035,32.549387],[102.800926,32.549743],[102.800817,32.550099],[102.800708,32.550455],[102.800665,32.550781],[102.800626,32.551087],[102.800623,32.551107],[102.800637,32.551483],[102.800651,32.551859],[102.800733,32.552208],[102.800783,32.552418],[102.800816,32.552557],[102.800931,32.552734],[102.800953,32.552878],[102.801062,32.553169],[102.801203,32.553549],[102.801307,32.553759],[102.80141,32.55397],[102.801692,32.55432],[102.80176,32.554405],[102.802067,32.554648],[102.802374,32.554891],[102.802745,32.555142],[102.803116,32.555394],[102.803488,32.555646],[102.803859,32.555897],[102.804201,32.556115],[102.804544,32.556333],[102.804758,32.55649],[102.804944,32.556583],[102.805094,32.556697],[102.805158,32.556839],[102.805186,32.557002],[102.805188,32.55709],[102.805196,32.557363],[102.805118,32.55776],[102.805099,32.557855],[102.805062,32.558178],[102.805024,32.558501],[102.804987,32.558824],[102.804851,32.559238],[102.804818,32.559337],[102.804715,32.559638],[102.804595,32.559812],[102.804523,32.559916],[102.804316,32.560123],[102.804247,32.560195],[102.803992,32.560462],[102.803737,32.56073],[102.803537,32.560951],[102.803338,32.561172],[102.803211,32.561378],[102.803085,32.561583],[102.802938,32.561822],[102.802795,32.562093],[102.802652,32.562365],[102.802463,32.562682],[102.802274,32.563],[102.802103,32.563271],[102.801839,32.56361],[102.801574,32.563949],[102.80146,32.564149],[102.801377,32.564292],[102.801153,32.564677],[102.801004,32.564859],[102.800889,32.564999],[102.800889,32.565106],[102.800953,32.565249],[102.801253,32.565427],[102.80134,32.565504],[102.80151,32.565655],[102.801741,32.565879],[102.801972,32.566103],[102.802203,32.566326],[102.802213,32.566341],[102.802395,32.566605],[102.802542,32.56683],[102.802688,32.567055],[102.802834,32.567265],[102.802981,32.567476],[102.803273,32.56774],[102.803552,32.567958],[102.80383,32.568175],[102.804134,32.568325],[102.804437,32.568475],[102.804751,32.568539],[102.805151,32.568625],[102.805465,32.568561],[102.805779,32.568496],[102.806122,32.568447],[102.806432,32.568418],[102.806743,32.568389],[102.807088,32.568382],[102.807433,32.568375],[102.807778,32.568368],[102.80811,32.568404],[102.808442,32.568439],[102.808781,32.568504],[102.80912,32.568568],[102.809441,32.568621],[102.809762,32.568675],[102.810164,32.568851],[102.810402,32.568956],[102.81064,32.56906],[102.810658,32.569069],[102.811009,32.569247],[102.811359,32.569425],[102.81171,32.569603],[102.812061,32.569781],[102.812396,32.569956],[102.812732,32.570131],[102.813017,32.570414],[102.813303,32.570697],[102.813588,32.570981],[102.813831,32.571184],[102.814074,32.571388],[102.814381,32.571509],[102.814523,32.571559],[102.814895,32.571473],[102.815152,32.571259],[102.815409,32.571045],[102.815787,32.570809],[102.816165,32.570574],[102.816558,32.570502],[102.816951,32.570431],[102.817386,32.570364],[102.817821,32.570298],[102.818257,32.570231],[102.81857,32.5702],[102.818913,32.570165],[102.819256,32.570131],[102.819556,32.570174],[102.819857,32.570216],[102.820157,32.570259],[102.820363,32.570288],[102.820795,32.570388],[102.821226,32.570488],[102.821521,32.570559],[102.821817,32.570631],[102.822112,32.570702],[102.822461,32.570838],[102.822811,32.570973],[102.823128,32.571271],[102.823444,32.571568],[102.823761,32.571866],[102.824032,32.572206],[102.824303,32.572546],[102.824574,32.572887],[102.824769,32.573201],[102.824965,32.573515],[102.82516,32.573829],[102.825289,32.574103],[102.825418,32.574377],[102.825547,32.57465],[102.825567,32.574693],[102.825752,32.575092],[102.825913,32.575289],[102.826073,32.575485],[102.826395,32.575696],[102.826716,32.575906],[102.827111,32.576075],[102.827506,32.576244],[102.827901,32.576413],[102.828215,32.576538],[102.828529,32.576663],[102.828907,32.576877],[102.829286,32.577091],[102.8296,32.577227],[102.829914,32.577362],[102.830214,32.577562],[102.830242,32.577605],[102.830242,32.577606],[102.830242,32.577607],[102.830242,32.577684],[102.830157,32.577841],[102.829885,32.578055],[102.829718,32.578217],[102.8296,32.578333],[102.829478,32.57864],[102.829357,32.579068],[102.829236,32.579497],[102.829114,32.579925],[102.829014,32.580339],[102.828914,32.580753],[102.828879,32.581181],[102.828864,32.581446],[102.828972,32.581806],[102.829079,32.582166],[102.82916,32.582481],[102.82924,32.582795],[102.829321,32.583109],[102.829418,32.58338],[102.829514,32.583651],[102.829694,32.584014],[102.829875,32.584377],[102.830055,32.584739],[102.830206,32.585043],[102.830367,32.585432],[102.830528,32.585821],[102.830688,32.58621],[102.830849,32.586599],[102.831031,32.586994],[102.831106,32.587156],[102.831127,32.587313],[102.831085,32.587563],[102.830956,32.587749],[102.830737,32.588004],[102.830519,32.588259],[102.830485,32.588298],[102.830197,32.588627],[102.82991,32.588957],[102.829842,32.589034],[102.829734,32.589242],[102.829626,32.589451],[102.829564,32.589569],[102.829386,32.58994],[102.829207,32.590311],[102.829076,32.590663],[102.828946,32.591015],[102.828886,32.591175],[102.828907,32.591475],[102.828929,32.591775],[102.828872,32.592139],[102.828797,32.592481],[102.828722,32.592824],[102.828658,32.593115],[102.828595,32.593406],[102.828544,32.59364],[102.828493,32.593873],[102.828493,32.59428],[102.828496,32.59434],[102.828506,32.594577],[102.828516,32.594813],[102.828529,32.595143],[102.828543,32.595472],[102.828632,32.595772],[102.828722,32.596072],[102.828738,32.596151],[102.828822,32.596565],[102.828836,32.596789],[102.82885,32.597014],[102.828793,32.5974],[102.828679,32.59765],[102.828565,32.597899],[102.828364,32.598181],[102.82819,32.598426],[102.828015,32.59867],[102.82795,32.598777],[102.827614,32.599066],[102.827303,32.599387],[102.826992,32.599708],[102.826681,32.600028],[102.826371,32.600349],[102.826206,32.600549],[102.826041,32.600748],[102.825896,32.601112],[102.825843,32.601419],[102.825813,32.601766],[102.825806,32.601997],[102.8258,32.602228],[102.825761,32.602458],[102.825721,32.602688],[102.825659,32.602918],[102.825596,32.603149],[102.825522,32.603379],[102.825448,32.603609],[102.82534,32.603847],[102.825231,32.604086],[102.825181,32.604317],[102.82513,32.604547],[102.82506,32.604786],[102.824991,32.605024],[102.824922,32.605263],[102.824852,32.605501],[102.824731,32.605807],[102.824611,32.606113],[102.824509,32.606516],[102.8245,32.606921],[102.824582,32.607289],[102.824732,32.607657],[102.824928,32.608027],[102.825124,32.608396],[102.82532,32.608766],[102.825516,32.609135],[102.825579,32.609358],[102.825643,32.60958],[102.825749,32.60989],[102.825855,32.610201],[102.825938,32.610604],[102.826021,32.611007],[102.826059,32.611296],[102.825983,32.611602],[102.825817,32.611947],[102.825716,32.612186],[102.825615,32.612425],[102.825514,32.612664],[102.825414,32.612903],[102.825313,32.613142],[102.825233,32.613332],[102.825212,32.613381],[102.825113,32.613687],[102.824924,32.613954],[102.824715,32.614124],[102.824472,32.614255],[102.824229,32.614385],[102.823848,32.61459],[102.823667,32.614688],[102.823539,32.614725],[102.823232,32.614767],[102.822925,32.61481],[102.82254,32.614857],[102.822154,32.614903],[102.821826,32.614989],[102.821433,32.615117],[102.821085,32.615334],[102.820791,32.615517],[102.820505,32.615649],[102.82022,32.615781],[102.820179,32.615813],[102.819917,32.61602],[102.819613,32.616259],[102.819501,32.616394],[102.819328,32.616602],[102.819063,32.616909],[102.819006,32.617095],[102.819006,32.617344],[102.819091,32.617611],[102.819092,32.617616],[102.819263,32.617889],[102.819435,32.618163],[102.819606,32.618437],[102.819681,32.618686],[102.819756,32.618936],[102.819777,32.619074],[102.819799,32.619215],[102.819763,32.619572],[102.819699,32.619804],[102.819635,32.620036],[102.819583,32.62019],[102.81952,32.620378],[102.819456,32.620535],[102.819346,32.620669],[102.819292,32.620735],[102.819067,32.620906],[102.818842,32.621078],[102.818704,32.621131],[102.818348,32.621269],[102.817993,32.621406],[102.817707,32.621575],[102.817422,32.621744],[102.817136,32.621913],[102.816911,32.622064],[102.81671,32.622199],[102.816508,32.622334],[102.816322,32.622491],[102.816208,32.62262],[102.816237,32.622791],[102.816239,32.62287],[102.816244,32.623005],[102.81623,32.62321],[102.81623,32.623219],[102.81613,32.623533],[102.81593,32.623893],[102.81573,32.624252],[102.81553,32.624611],[102.81528,32.624915],[102.81503,32.625218],[102.814702,32.625518],[102.814374,32.625818],[102.814045,32.626118],[102.813753,32.626417],[102.813653,32.626482],[102.813467,32.626546],[102.81341,32.626565],[102.813296,32.626603],[102.813046,32.626717],[102.812832,32.626888],[102.812618,32.627045],[102.81251,32.627167],[102.812296,32.627324],[102.812196,32.627481],[102.812096,32.627738],[102.811954,32.627938],[102.811832,32.628045],[102.811718,32.628159],[102.81164,32.628316],[102.811618,32.628516],[102.811661,32.628896],[102.811668,32.628959],[102.811725,32.629401],[102.811781,32.629844],[102.811782,32.629851],[102.811782,32.630229],[102.811707,32.630618],[102.811632,32.631007],[102.811554,32.6314],[102.81144,32.631714],[102.811404,32.631892],[102.81144,32.632],[102.811604,32.632199],[102.811911,32.632464],[102.812218,32.632728],[102.812453,32.63302],[102.812689,32.633199],[102.812889,32.633263],[102.813131,32.633299],[102.813141,32.633302],[102.813223,32.633361],[102.813512,32.633655],[102.813682,32.633973],[102.813708,32.634024],[102.813906,32.634374],[102.81402,32.634574],[102.814135,32.634774],[102.81425,32.634973],[102.814365,32.635173],[102.814553,32.635388],[102.814741,32.635602],[102.814944,32.635731],[102.815111,32.635838],[102.815147,32.63586],[102.815392,32.636048],[102.815628,32.636228],[102.815638,32.636235],[102.815958,32.636504],[102.816279,32.636773],[102.816599,32.637042],[102.816824,32.63719],[102.817049,32.637338],[102.817377,32.637553],[102.817507,32.637682],[102.81751,32.637687],[102.81765,32.637932],[102.817832,32.638185],[102.818014,32.638438],[102.81825,32.63866],[102.818649,32.638831],[102.818985,32.639092],[102.81932,32.639352],[102.819556,32.639645],[102.819877,32.639887],[102.820141,32.64008],[102.820405,32.640273],[102.820712,32.640392],[102.821019,32.640511],[102.821326,32.64063],[102.821601,32.640786],[102.821875,32.640942],[102.822104,32.641072],[102.822291,32.641237],[102.822597,32.641508],[102.822861,32.641708],[102.823125,32.641908],[102.823389,32.642107],[102.823624,32.642257],[102.823859,32.642406],[102.824192,32.642617],[102.824524,32.642828],[102.82481,32.643071],[102.825095,32.643314],[102.825285,32.643507],[102.825474,32.643699],[102.825602,32.643956],[102.825816,32.644206],[102.826009,32.644285],[102.826384,32.644424],[102.826759,32.644563],[102.827073,32.644717],[102.827387,32.64487],[102.827662,32.645077],[102.827936,32.645284],[102.828163,32.645553],[102.828389,32.645822],[102.828615,32.646091],[102.828712,32.64618],[102.828872,32.646326],[102.829086,32.646433],[102.82945,32.646655],[102.829624,32.646755],[102.829735,32.646819],[102.82985,32.646954],[102.829892,32.647154],[102.829895,32.647186],[102.829921,32.647461],[102.829875,32.647861],[102.829828,32.648261],[102.829757,32.648614],[102.829685,32.648967],[102.829589,32.649207],[102.829493,32.649446],[102.829279,32.64981],[102.829209,32.649879],[102.829029,32.65006],[102.828857,32.650217],[102.828743,32.650452],[102.828686,32.650788],[102.828661,32.650906],[102.828593,32.65123],[102.828465,32.651559],[102.828336,32.651887],[102.828168,32.652187],[102.828001,32.652487],[102.827929,32.652658],[102.827737,32.652879],[102.827423,32.653116],[102.827109,32.653353],[102.827094,32.653365],[102.82683,32.6536],[102.826666,32.653836],[102.826644,32.654136],[102.826752,32.654336],[102.827019,32.65461],[102.827287,32.654885],[102.827555,32.65516],[102.827822,32.655435],[102.827978,32.655628],[102.828133,32.655821],[102.828236,32.655949],[102.828336,32.656142],[102.828429,32.656299],[102.828429,32.656491],[102.828386,32.656663],[102.828193,32.656955],[102.82812,32.657215],[102.828047,32.657474],[102.828018,32.657682],[102.827976,32.657981],[102.827953,32.658152],[102.827949,32.658176],[102.827938,32.658404],[102.827926,32.658633],[102.827922,32.658704],[102.827869,32.658943],[102.827815,32.659182],[102.827722,32.659418],[102.827672,32.659618],[102.82768,32.659854],[102.827887,32.66025],[102.828094,32.660646],[102.82826,32.660901],[102.828322,32.660996],[102.828436,32.661217],[102.828436,32.661345],[102.828543,32.661424],[102.828765,32.661538],[102.829139,32.661624],[102.829514,32.661709],[102.829889,32.661795],[102.830264,32.661881],[102.830606,32.662021],[102.830949,32.662162],[102.831292,32.662302],[102.83157,32.662454],[102.831848,32.662607],[102.832127,32.662759],[102.83234,32.662956],[102.832576,32.663175],[102.832812,32.663394],[102.832998,32.663682],[102.833183,32.66397],[102.833369,32.664258],[102.833643,32.664585],[102.83389,32.664879],[102.834068,32.665222],[102.834168,32.665386],[102.834325,32.665436],[102.834482,32.665393],[102.834732,32.665332],[102.834982,32.665272],[102.835239,32.665261],[102.835496,32.66525],[102.835808,32.665298],[102.836119,32.665346],[102.836162,32.665358],[102.836554,32.665558],[102.836946,32.665757],[102.837338,32.665957],[102.837663,32.666128],[102.837987,32.666299],[102.838348,32.666564],[102.838708,32.666828],[102.839008,32.667078],[102.839308,32.667327],[102.839672,32.66757],[102.839779,32.667749],[102.839929,32.667998],[102.840079,32.668248],[102.8401,32.668284],[102.840322,32.668512],[102.8405,32.668634],[102.84075,32.668748],[102.841064,32.668791],[102.841378,32.668834],[102.841685,32.668886],[102.841992,32.668938],[102.842299,32.668991],[102.842486,32.669046],[102.842784,32.669133],[102.843113,32.669355],[102.843434,32.669469],[102.843655,32.669569],[102.843827,32.669847],[102.844059,32.6702],[102.844225,32.670452],[102.84439,32.670704],[102.844559,32.670923],[102.844728,32.671142],[102.844945,32.671422],[102.845161,32.671703],[102.845347,32.67191],[102.845533,32.672117],[102.845694,32.672245],[102.845704,32.672253],[102.84574,32.67227],[102.845802,32.672302],[102.845825,32.672308],[102.845924,32.672334],[102.846118,32.672346],[102.846375,32.67231],[102.846561,32.672285],[102.847003,32.672224],[102.847267,32.672224],[102.84753,32.672224],[102.847596,32.672224],[102.847986,32.672286],[102.848244,32.672327],[102.848376,32.672348],[102.848766,32.67241],[102.849159,32.672481],[102.849552,32.672553],[102.849944,32.672624],[102.850183,32.672674],[102.850422,32.672724],[102.850601,32.672791],[102.851001,32.672939],[102.8514,32.673088],[102.8518,32.67325],[102.8522,32.673413],[102.8526,32.673575],[102.852999,32.673738],[102.853263,32.673905],[102.853528,32.674073],[102.853727,32.674252],[102.853927,32.674344],[102.854113,32.674355],[102.85417,32.674359],[102.85451,32.674249],[102.854851,32.67414],[102.855191,32.67403],[102.855278,32.67398],[102.855541,32.673827],[102.855805,32.673673],[102.856033,32.673449],[102.856262,32.673224],[102.856487,32.673073],[102.856519,32.673052],[102.856761,32.67296],[102.857068,32.672924],[102.857318,32.672938],[102.857568,32.672952],[102.857839,32.673013],[102.85811,32.673074],[102.858209,32.673122],[102.858452,32.673199],[102.858668,32.673285],[102.858885,32.673371],[102.859101,32.673457],[102.859317,32.673543],[102.859533,32.673629],[102.859749,32.673715],[102.859955,32.673849],[102.860161,32.673984],[102.860296,32.674072],[102.860581,32.674232],[102.860866,32.674392],[102.861151,32.674551],[102.861398,32.674753],[102.861645,32.674954],[102.861651,32.674958],[102.861777,32.675088],[102.861953,32.67527],[102.862129,32.675451],[102.862286,32.675644],[102.862579,32.675908],[102.862869,32.676067],[102.86316,32.676227],[102.86345,32.676386],[102.863714,32.67652],[102.863979,32.676653],[102.864278,32.676804],[102.864578,32.676956],[102.864878,32.677107],[102.865107,32.677208],[102.86519,32.677318],[102.865304,32.677458],[102.865312,32.677546],[102.865295,32.677613],[102.865074,32.677945],[102.864853,32.678277],[102.864781,32.678484],[102.864674,32.678798],[102.864696,32.679112],[102.864781,32.679384],[102.864938,32.679698],[102.865232,32.679999],[102.865488,32.680262],[102.865631,32.680476],[102.865773,32.68069],[102.865848,32.680943],[102.865923,32.681197],[102.865945,32.681425],[102.865816,32.681682],[102.865823,32.681868],[102.865909,32.682011],[102.865952,32.682196],[102.865995,32.68241],[102.865988,32.682646],[102.866016,32.682839],[102.866088,32.683046],[102.866173,32.683188],[102.866316,32.683281],[102.866687,32.683388],[102.866998,32.683428],[102.867308,32.683467],[102.867465,32.683545],[102.867697,32.683692],[102.867929,32.683838],[102.868136,32.683995],[102.868229,32.684145],[102.868251,32.684331],[102.868272,32.684538],[102.86835,32.684652],[102.868486,32.684752],[102.868832,32.684912],[102.869178,32.685073],[102.869236,32.685141],[102.8694,32.685337],[102.869568,32.685505],[102.869735,32.685673],[102.869887,32.685872],[102.870142,32.686208],[102.870385,32.686493],[102.870613,32.686743],[102.87091,32.686954],[102.871206,32.687164],[102.871225,32.68718],[102.871563,32.68745],[102.871834,32.687764],[102.871977,32.687989],[102.87212,32.688214],[102.872173,32.688612],[102.872198,32.688799],[102.872177,32.68911],[102.872155,32.68942],[102.872127,32.689583],[102.872062,32.689948],[102.871985,32.690345],[102.871907,32.690741],[102.871905,32.690748],[102.871913,32.690934],[102.872034,32.691162],[102.872079,32.691238],[102.872198,32.69144],[102.872323,32.691651],[102.872448,32.691862],[102.872499,32.691967],[102.872662,32.692304],[102.872719,32.692529],[102.872725,32.692553],[102.872776,32.692754],[102.872933,32.693054],[102.873078,32.693209],[102.873138,32.69329],[102.873315,32.693446],[102.873331,32.69346],[102.873637,32.693638],[102.873943,32.693816],[102.874084,32.693819],[102.874226,32.693797],[102.874496,32.693671],[102.874785,32.69354],[102.875074,32.693409],[102.875362,32.693278],[102.87564,32.69318],[102.875917,32.693082],[102.876263,32.693053],[102.87661,32.693023],[102.876667,32.693018],[102.877021,32.693008],[102.877376,32.692999],[102.87773,32.692989],[102.878059,32.692925],[102.878401,32.692775],[102.87866,32.692634],[102.878919,32.692493],[102.878951,32.692475],[102.879151,32.69234],[102.87954,32.692236],[102.879929,32.692133],[102.880286,32.692083],[102.880643,32.692033],[102.880886,32.691999],[102.88109,32.691948],[102.881454,32.691905],[102.881817,32.691862],[102.882169,32.691848],[102.882313,32.691891],[102.882335,32.69189],[102.882592,32.69194],[102.882849,32.69199],[102.88317,32.692126],[102.883484,32.692375],[102.883798,32.692625],[102.883962,32.692854],[102.884155,32.693196],[102.88425,32.693335],[102.884485,32.693493],[102.884719,32.69365],[102.884972,32.693763],[102.885225,32.693877],[102.885251,32.693885],[102.885481,32.693994],[102.885711,32.694103],[102.885979,32.694206],[102.886246,32.69431],[102.886599,32.694331],[102.886951,32.694353],[102.887303,32.694374],[102.887703,32.694474],[102.887981,32.694474],[102.888145,32.694353],[102.888171,32.694333],[102.888499,32.694072],[102.888828,32.693812],[102.888866,32.693782],[102.889188,32.693547],[102.889511,32.693312],[102.889523,32.693303],[102.88983,32.693089],[102.890227,32.693034],[102.890237,32.693032],[102.890451,32.693061],[102.890858,32.693096],[102.891161,32.693139],[102.891465,32.693182],[102.891842,32.693225],[102.892188,32.693264],[102.892535,32.693303],[102.892835,32.693313],[102.893135,32.693323],[102.893435,32.693332],[102.893627,32.693361],[102.893892,32.693432],[102.894093,32.693514],[102.894371,32.693626],[102.894648,32.693739],[102.894962,32.693867],[102.895276,32.693996],[102.895519,32.694067],[102.895748,32.694124],[102.895976,32.694182],[102.896267,32.694221],[102.896497,32.694253],[102.89674,32.694274],[102.896968,32.69436],[102.897197,32.694446],[102.897446,32.694681],[102.897604,32.694863],[102.897761,32.695045],[102.897937,32.695274],[102.898003,32.695359],[102.8982,32.695612],[102.898396,32.695866],[102.898549,32.696082],[102.898589,32.696137],[102.898731,32.696402],[102.898867,32.69663],[102.899088,32.696716],[102.899388,32.696762],[102.899688,32.696808],[102.900026,32.696844],[102.900364,32.69688],[102.900702,32.696916],[102.901087,32.697037],[102.901473,32.697158],[102.901687,32.697233],[102.901901,32.697308],[102.902229,32.697426],[102.902558,32.697544],[102.902797,32.697676],[102.903036,32.697808],[102.903375,32.698033],[102.903714,32.698258],[102.903925,32.698365],[102.904135,32.698472],[102.904378,32.698661],[102.904621,32.69885],[102.904856,32.698993],[102.905227,32.699128],[102.905366,32.699249],[102.90562,32.699471],[102.905756,32.699542],[102.905899,32.69957],[102.905972,32.699593],[102.906074,32.699581],[102.906177,32.699539],[102.90634,32.699435],[102.906635,32.699134],[102.906929,32.698833],[102.907224,32.698532],[102.907519,32.698231],[102.907787,32.698006],[102.908054,32.697782],[102.908277,32.697642],[102.908475,32.697531],[102.908672,32.69742],[102.908955,32.697318],[102.909237,32.697216],[102.909545,32.697148],[102.909853,32.69708],[102.910139,32.69713],[102.910306,32.697196],[102.910517,32.69728],[102.910827,32.697433],[102.911138,32.697587],[102.911452,32.697782],[102.911802,32.698001],[102.912134,32.69824],[102.912466,32.698479],[102.912644,32.698566],[102.913022,32.69875],[102.913262,32.698896],[102.913501,32.699043],[102.913822,32.69915],[102.913869,32.699175],[102.914143,32.699321],[102.914257,32.699421],[102.914285,32.69954],[102.914286,32.699541],[102.914286,32.699542],[102.914343,32.699735],[102.914436,32.699807],[102.9147,32.699821],[102.914814,32.699792],[102.915171,32.699814],[102.915457,32.699899],[102.915771,32.699878],[102.916024,32.699824],[102.916278,32.699771],[102.916645,32.699749],[102.917013,32.699728],[102.917248,32.699714],[102.917484,32.699699],[102.917789,32.699623],[102.918084,32.69955],[102.918394,32.699528],[102.918705,32.699507],[102.918972,32.699528],[102.91924,32.69955],[102.919612,32.699654],[102.919954,32.699749],[102.920351,32.699804],[102.920749,32.699859],[102.921146,32.699914],[102.921179,32.69992],[102.921484,32.699977],[102.921788,32.700035],[102.92221,32.700049],[102.92247,32.700021],[102.922731,32.699992],[102.923049,32.699895],[102.923368,32.699797],[102.923687,32.699699],[102.924078,32.699517],[102.924469,32.699334],[102.924805,32.699121],[102.924805,32.699121],[102.924806,32.69912],[102.925015,32.698987],[102.925224,32.698855],[102.925433,32.698722],[102.925642,32.698589],[102.925851,32.698456],[102.92606,32.698323],[102.926269,32.69819],[102.926478,32.698057],[102.926825,32.697921],[102.927173,32.697784],[102.927491,32.697691],[102.92781,32.697597],[102.928068,32.697552],[102.928326,32.697506],[102.928641,32.697531],[102.928957,32.697556],[102.929235,32.69765],[102.929513,32.697743],[102.92987,32.697996],[102.930227,32.698249],[102.930485,32.698543],[102.930678,32.698763],[102.930768,32.699014],[102.930938,32.699353],[102.930954,32.699385],[102.931118,32.699621],[102.931218,32.699792],[102.931368,32.700078],[102.931468,32.700378],[102.931639,32.700735],[102.931875,32.701113],[102.931996,32.701227],[102.932196,32.701377],[102.932481,32.701625],[102.932667,32.701787],[102.932753,32.701862],[102.932896,32.702005],[102.932981,32.702127],[102.933053,32.702266],[102.933081,32.702319],[102.93314,32.702599],[102.933198,32.702878],[102.933238,32.703265],[102.933278,32.703653],[102.933319,32.70404],[102.933339,32.704234],[102.933369,32.704521],[102.933399,32.704808],[102.933459,32.705029],[102.933519,32.705249],[102.933565,32.705421],[102.933706,32.705768],[102.933829,32.706082],[102.933952,32.706395],[102.934059,32.706624],[102.934166,32.706852],[102.934281,32.707038],[102.93453,32.707252],[102.934656,32.707324],[102.934903,32.707466],[102.935151,32.707609],[102.935432,32.707694],[102.935595,32.707743],[102.935623,32.707752],[102.935987,32.70798],[102.936269,32.708191],[102.936551,32.708401],[102.936746,32.708637],[102.936941,32.708872],[102.937136,32.709108],[102.937346,32.709479],[102.937557,32.70985],[102.937678,32.710134],[102.9377,32.710186],[102.937832,32.710497],[102.937964,32.710808],[102.938021,32.710942],[102.938085,32.711107],[102.938157,32.71121],[102.93831,32.711319],[102.93862,32.711454],[102.938929,32.711589],[102.939301,32.711725],[102.939673,32.711862],[102.940044,32.711999],[102.940416,32.712136],[102.940813,32.712337],[102.941205,32.712535],[102.941597,32.712734],[102.94199,32.712932],[102.942382,32.713131],[102.94239,32.713133],[102.942561,32.713181],[102.942826,32.713255],[102.943029,32.713312],[102.943089,32.713329],[102.943351,32.713402],[102.943614,32.713476],[102.943877,32.713549],[102.94414,32.713623],[102.944402,32.713696],[102.944665,32.71377],[102.944928,32.713843],[102.945315,32.713928],[102.945702,32.714013],[102.94609,32.714099],[102.946475,32.714174],[102.946859,32.71425],[102.947112,32.714267],[102.947366,32.714284],[102.947619,32.714302],[102.947872,32.714319],[102.948125,32.714336],[102.948378,32.714354],[102.948818,32.714374],[102.949259,32.714395],[102.949488,32.714406],[102.949699,32.714416],[102.949933,32.71442],[102.950142,32.714522],[102.950347,32.714723],[102.950471,32.714918],[102.950595,32.715112],[102.95065,32.715199],[102.950818,32.715361],[102.951057,32.715726],[102.951296,32.716092],[102.951457,32.71627],[102.951617,32.716449],[102.951831,32.716651],[102.952046,32.716853],[102.952176,32.717091],[102.95226,32.717376],[102.952323,32.717633],[102.952387,32.71789],[102.952415,32.718005],[102.952445,32.718127],[102.952522,32.718435],[102.952587,32.718697],[102.952652,32.718959],[102.952807,32.719209],[102.953069,32.719518],[102.95336,32.719831],[102.95339,32.719863],[102.953711,32.720049],[102.954032,32.720236],[102.954354,32.720422],[102.954556,32.720517],[102.95477,32.720636],[102.95483,32.720755],[102.954861,32.720923],[102.954865,32.720946],[102.954888,32.721244],[102.954889,32.721255],[102.954877,32.721636],[102.955032,32.721886],[102.95521,32.722052],[102.955282,32.72235],[102.955329,32.722695],[102.955591,32.72304],[102.955829,32.723295],[102.956067,32.723551],[102.956373,32.72369],[102.956567,32.723777],[102.956799,32.723849],[102.957031,32.72392],[102.957366,32.724001],[102.957667,32.724073],[102.957967,32.724145],[102.958268,32.724217],[102.958613,32.724467],[102.958684,32.724527],[102.958744,32.724753],[102.958732,32.724991],[102.95872,32.725229],[102.958714,32.72552],[102.958708,32.725812],[102.958803,32.726157],[102.959029,32.72643],[102.959351,32.72668],[102.959707,32.726859],[102.959815,32.726966],[102.959823,32.726983],[102.959922,32.72718],[102.959986,32.727502],[102.959993,32.727537],[102.959981,32.727838],[102.959969,32.72814],[102.959957,32.728441],[102.959962,32.728774],[102.959979,32.728813],[102.960143,32.729193],[102.960343,32.729412],[102.960619,32.729574],[102.961,32.729716],[102.961212,32.729778],[102.961428,32.72984],[102.961871,32.729894],[102.962294,32.729945],[102.96257,32.73005],[102.962722,32.730211],[102.962894,32.730392],[102.96291,32.730419],[102.963046,32.730639],[102.963183,32.73086],[102.963217,32.730916],[102.963465,32.73122],[102.963779,32.731392],[102.964093,32.731582],[102.964407,32.731772],[102.96455,32.731858],[102.964731,32.731991],[102.964864,32.732172],[102.964917,32.732264],[102.965007,32.732419],[102.965179,32.732592],[102.965197,32.73261],[102.965549,32.732857],[102.965755,32.732983],[102.965961,32.733108],[102.965987,32.733124],[102.966239,32.733343],[102.966491,32.733562],[102.966634,32.733761],[102.966758,32.733999],[102.966929,32.734171],[102.967072,32.734342],[102.967111,32.734414],[102.967186,32.734551],[102.967321,32.734969],[102.967367,32.735113],[102.967557,32.73547],[102.967629,32.735584],[102.96765,32.73577],[102.967586,32.73597],[102.967357,32.736277],[102.96715,32.736551],[102.966943,32.736826],[102.966747,32.737105],[102.966551,32.737383],[102.966551,32.737383],[102.966551,32.737383],[102.96636,32.737635],[102.966168,32.737886],[102.966144,32.737918],[102.965965,32.738254],[102.965659,32.738518],[102.96538,32.738789],[102.96508,32.739053],[102.964852,32.73925],[102.964773,32.739318],[102.964524,32.73956],[102.964523,32.739562],[102.964427,32.739781],[102.964424,32.739789],[102.964331,32.740133],[102.964295,32.740267],[102.964247,32.740533],[102.964198,32.740799],[102.964181,32.740895],[102.964167,32.74094],[102.964109,32.74112],[102.964038,32.741345],[102.963931,32.741559],[102.963738,32.741702],[102.963417,32.741745],[102.963146,32.741784],[102.962875,32.741823],[102.96276,32.741849],[102.962496,32.741909],[102.962132,32.741959],[102.961797,32.74198],[102.961497,32.741966],[102.961439,32.741961],[102.961254,32.741944],[102.96123,32.741944],[102.96099,32.741944],[102.960783,32.742041],[102.960576,32.742137],[102.960393,32.74239],[102.960254,32.742452],[102.96004,32.742547],[102.959825,32.742643],[102.95961,32.742738],[102.959395,32.742833],[102.959185,32.742926],[102.95918,32.742929],[102.958965,32.743024],[102.958751,32.743119],[102.958536,32.743215],[102.958165,32.743393],[102.957795,32.743571],[102.957424,32.74375],[102.957208,32.743911],[102.956991,32.744073],[102.956774,32.744235],[102.956557,32.744396],[102.956395,32.744576],[102.956233,32.744756],[102.956071,32.744936],[102.955909,32.745116],[102.955715,32.745449],[102.95552,32.745782],[102.955439,32.746013],[102.955357,32.746244],[102.955276,32.746474],[102.955194,32.746705],[102.955122,32.746953],[102.95505,32.747201],[102.954979,32.747449],[102.954907,32.747697],[102.954761,32.747942],[102.954614,32.748187],[102.954363,32.748449],[102.954112,32.748712],[102.953945,32.748867],[102.953777,32.749023],[102.95361,32.749178],[102.953442,32.749333],[102.953275,32.749489],[102.953107,32.749644],[102.953075,32.749672],[102.952832,32.74988],[102.952557,32.750116],[102.952533,32.750136],[102.952248,32.750381],[102.951904,32.750553],[102.951879,32.750566],[102.951561,32.750725],[102.951255,32.750818],[102.950948,32.750912],[102.950524,32.751014],[102.9501,32.751116],[102.949992,32.75113],[102.949684,32.751169],[102.949267,32.751221],[102.948851,32.751274],[102.948435,32.751326],[102.948189,32.751337],[102.947943,32.751348],[102.947697,32.751358],[102.947451,32.751369],[102.947207,32.75138],[102.947205,32.75138],[102.946959,32.751391],[102.946713,32.751401],[102.946467,32.751412],[102.946221,32.751423],[102.945975,32.751434],[102.945729,32.751444],[102.945483,32.751455],[102.945251,32.751473],[102.945019,32.751491],[102.944788,32.751509],[102.944556,32.751527],[102.94418,32.7516],[102.943803,32.751673],[102.943556,32.751748],[102.943309,32.751822],[102.943046,32.752035],[102.942829,32.752348],[102.942667,32.752528],[102.942504,32.752708],[102.942342,32.752888],[102.94218,32.753068],[102.942026,32.753285],[102.941983,32.753346],[102.941976,32.753355],[102.941872,32.753502],[102.941718,32.75372],[102.941563,32.753937],[102.941543,32.753966],[102.941485,32.754047],[102.941409,32.754154],[102.941395,32.754175],[102.941255,32.754372],[102.941101,32.754589],[102.940947,32.754806],[102.940816,32.755011],[102.940685,32.755215],[102.940555,32.755419],[102.940424,32.755623],[102.940293,32.755827],[102.940162,32.756031],[102.940047,32.756252],[102.939931,32.756472],[102.939815,32.756692],[102.939699,32.756912],[102.939527,32.757255],[102.939354,32.757598],[102.93926,32.757959],[102.939167,32.75832],[102.939073,32.758681],[102.939087,32.759089],[102.939101,32.759497],[102.939115,32.759906],[102.939144,32.760171],[102.939173,32.760437],[102.939202,32.760702],[102.939231,32.760968],[102.93926,32.761233],[102.939289,32.761498],[102.939246,32.761804],[102.939203,32.76211],[102.939032,32.762482],[102.93891,32.762707],[102.938788,32.762932],[102.938684,32.763024],[102.93846,32.763221],[102.938237,32.763418],[102.937973,32.763729],[102.937825,32.763904],[102.937709,32.76404],[102.937608,32.76435],[102.937553,32.764703],[102.937616,32.764972],[102.937643,32.765085],[102.93768,32.765241],[102.937769,32.765449],[102.937858,32.765658],[102.937947,32.765867],[102.938036,32.766076],[102.938147,32.766315],[102.938259,32.766554],[102.938323,32.766822],[102.938388,32.767089],[102.93841,32.767475],[102.938432,32.76786],[102.938454,32.768246],[102.938495,32.768493],[102.938536,32.768741],[102.938684,32.769157],[102.938712,32.769237],[102.938893,32.769517],[102.939052,32.769718],[102.939211,32.769918],[102.939324,32.770137],[102.939437,32.770355],[102.939476,32.770634],[102.939491,32.771029],[102.93946,32.771343],[102.939404,32.771719],[102.93942,32.772094],[102.939461,32.772247],[102.939528,32.772491],[102.939655,32.772707],[102.939782,32.772923],[102.939909,32.773139],[102.940036,32.773355],[102.940163,32.773571],[102.94029,32.773787],[102.940418,32.774003],[102.940545,32.774219],[102.940651,32.774443],[102.940757,32.774667],[102.940862,32.774891],[102.940968,32.775115],[102.941067,32.775413],[102.941166,32.775711],[102.941251,32.776068],[102.941336,32.776425],[102.941398,32.776791],[102.94146,32.777158],[102.941453,32.777444],[102.941446,32.77773],[102.941429,32.777987],[102.941411,32.778243],[102.94137,32.778509],[102.941337,32.778722],[102.941329,32.778775],[102.941265,32.779031],[102.941201,32.779287],[102.941107,32.779531],[102.941014,32.779775],[102.94092,32.78002],[102.940826,32.780264],[102.940608,32.780609],[102.940389,32.780954],[102.940171,32.781299],[102.939944,32.781664],[102.939717,32.782029],[102.93949,32.782394],[102.939221,32.782737],[102.938953,32.783081],[102.938684,32.783424],[102.938414,32.783769],[102.938143,32.784115],[102.937873,32.78446],[102.937766,32.784672],[102.93766,32.784883],[102.937553,32.785094],[102.937534,32.785132],[102.937486,32.785226],[102.937452,32.785294],[102.937446,32.785306],[102.93734,32.785517],[102.937233,32.785728],[102.937191,32.785833],[102.937139,32.785964],[102.937133,32.785979],[102.937122,32.786009],[102.937034,32.786229],[102.936934,32.786479],[102.936835,32.786729],[102.936724,32.787142],[102.936613,32.787555],[102.936524,32.787886],[102.936502,32.787968],[102.936457,32.788363],[102.936413,32.788758],[102.936404,32.789139],[102.936395,32.789521],[102.936387,32.789902],[102.936423,32.790326],[102.936459,32.79075],[102.936453,32.791027],[102.936447,32.791304],[102.936427,32.791544],[102.936406,32.791784],[102.936383,32.792054],[102.936327,32.792448],[102.936296,32.79267],[102.936271,32.792842],[102.936237,32.793024],[102.936193,32.793255],[102.936191,32.793268],[102.936111,32.793695],[102.936076,32.793879],[102.93603,32.794122],[102.93599,32.794375],[102.935968,32.79451],[102.935959,32.794566],[102.935949,32.794627],[102.935908,32.79488],[102.935867,32.795133],[102.935839,32.795311],[102.935829,32.79537],[102.935827,32.795386],[102.935786,32.795639],[102.93571,32.795874],[102.935645,32.796076],[102.935634,32.79611],[102.935602,32.796209],[102.935558,32.796346],[102.935482,32.796581],[102.935396,32.796818],[102.93531,32.797055],[102.935278,32.797143],[102.935224,32.797292],[102.935138,32.797529],[102.935053,32.797766],[102.934967,32.798003],[102.934881,32.79824],[102.934795,32.798477],[102.934709,32.798714],[102.934623,32.798952],[102.934537,32.799189],[102.934452,32.799426],[102.934395,32.799682],[102.934338,32.799938],[102.934281,32.800194],[102.934225,32.80045],[102.934168,32.800706],[102.934111,32.800962],[102.934074,32.801215],[102.934037,32.801468],[102.934,32.801721],[102.933963,32.801973],[102.933926,32.802226],[102.933889,32.802479],[102.93388,32.802884],[102.933871,32.803289],[102.9339,32.80371],[102.933929,32.80413],[102.933958,32.804551],[102.934029,32.804765],[102.9341,32.804978],[102.934172,32.805192],[102.934243,32.805406],[102.934399,32.805725],[102.934555,32.806043],[102.934797,32.806389],[102.935039,32.806736],[102.935281,32.807082],[102.935459,32.807248],[102.935637,32.807414],[102.935814,32.80758],[102.935992,32.807746],[102.936063,32.807793],[102.936013,32.80783],[102.934879,32.808317],[102.933789,32.808695],[102.933748,32.808709],[102.932941,32.809186],[102.932352,32.809534],[102.931927,32.809785],[102.931088,32.810276],[102.930562,32.810583],[102.929342,32.811574],[102.928809,32.811976],[102.927929,32.812814],[102.927908,32.812834],[102.92793,32.813059],[102.927881,32.813193],[102.927826,32.813299],[102.927769,32.813337],[102.927719,32.813338],[102.927605,32.813305],[102.927426,32.813288],[102.926973,32.813715],[102.92583,32.814612],[102.924806,32.815195],[102.923798,32.815581],[102.922549,32.81651],[102.921764,32.817317],[102.921287,32.818021],[102.920757,32.818833],[102.920502,32.819929],[102.920294,32.821177],[102.920074,32.821821],[102.919937,32.822229],[102.919542,32.823064],[102.919081,32.823862],[102.918583,32.824746],[102.917569,32.825852],[102.916515,32.827186],[102.916182,32.828332],[102.916115,32.829712],[102.916032,32.83184],[102.916081,32.832647],[102.916265,32.833514],[102.915939,32.83581],[102.915777,32.83693],[102.915502,32.837198],[102.915253,32.837439],[102.91442,32.838099],[102.913864,32.838538],[102.912854,32.839471],[102.912321,32.840383],[102.912231,32.841331],[102.912993,32.843704],[102.913418,32.844488],[102.913605,32.844679],[102.914017,32.845102],[102.914889,32.845721],[102.914945,32.84624],[102.914884,32.846419],[102.914653,32.847098],[102.914301,32.847809],[102.914116,32.848183],[102.913412,32.849121],[102.912774,32.850175],[102.912105,32.851084],[102.911271,32.851346],[102.910971,32.85144],[102.909854,32.851133],[102.909759,32.851113],[102.909691,32.851098],[102.909683,32.851097],[102.909637,32.851087],[102.90952,32.851062],[102.909397,32.851035],[102.909209,32.850995],[102.909152,32.850983],[102.909006,32.850952],[102.9089,32.850929],[102.908868,32.850922],[102.908844,32.850917],[102.908804,32.850908],[102.908682,32.850882],[102.908667,32.850879],[102.908656,32.850877],[102.908603,32.850866],[102.908585,32.850862],[102.908395,32.850821],[102.907379,32.850545],[102.906262,32.850181],[102.905111,32.849845],[102.904054,32.849827],[102.902658,32.849775],[102.901531,32.849871],[102.900031,32.849846],[102.899478,32.850182],[102.899453,32.851218],[102.899529,32.852341],[102.900031,32.854191],[102.900346,32.85529],[102.900999,32.85651],[102.901606,32.858247],[102.90189,32.85923],[102.901703,32.859946],[102.901726,32.860407],[102.901708,32.861155],[102.901659,32.861816],[102.901196,32.86552],[102.901096,32.866871],[102.900589,32.868129],[102.899904,32.871167],[102.899493,32.874124],[102.899108,32.875988],[102.899044,32.877282],[102.898907,32.878719],[102.898709,32.881334],[102.899057,32.882491],[102.899003,32.883325],[102.898817,32.883983],[102.89849,32.884389],[102.89829,32.884636],[102.8978,32.885175],[102.897787,32.885186],[102.897278,32.885626],[102.896146,32.887334],[102.895571,32.88859],[102.895698,32.888995],[102.895751,32.889629],[102.895731,32.890464],[102.895235,32.8927],[102.894937,32.893759],[102.894535,32.894904],[102.894308,32.895821],[102.894356,32.896685],[102.894163,32.897215],[102.894094,32.897403],[102.893845,32.898086],[102.893579,32.899262],[102.89373,32.90007],[102.893743,32.900962],[102.893818,32.902114],[102.893929,32.903181],[102.893877,32.903928],[102.893691,32.904587],[102.893298,32.905329],[102.893252,32.905846],[102.89303,32.906561],[102.892434,32.907242],[102.891588,32.908408],[102.891018,32.909434],[102.890012,32.910136],[102.887136,32.912016],[102.886416,32.912147],[102.885692,32.91248],[102.884545,32.913353],[102.883882,32.914004],[102.883036,32.91514],[102.882087,32.916275],[102.881664,32.916844],[102.880757,32.917692],[102.879803,32.917647],[102.879321,32.91756],[102.87904,32.917509],[102.877821,32.917289],[102.876403,32.917034],[102.8761,32.916979],[102.876038,32.917017],[102.871981,32.91947],[102.871968,32.919496],[102.870938,32.920345],[102.870533,32.921255],[102.870228,32.923298],[102.870064,32.924805],[102.869858,32.925394],[102.869007,32.926242],[102.868257,32.92817],[102.867081,32.929228],[102.865955,32.93088],[102.865398,32.932757],[102.86523,32.934426],[102.865707,32.935889],[102.866382,32.937033],[102.866716,32.937779],[102.866746,32.937848],[102.866625,32.938309],[102.866394,32.939189],[102.865904,32.94096],[102.864585,32.942662],[102.863643,32.944587],[102.862638,32.94651],[102.861969,32.947739],[102.861808,32.949137],[102.861775,32.950484],[102.861744,32.950788],[102.861691,32.951315],[102.86162,32.951313],[102.861651,32.951857],[102.86167,32.952186],[102.861624,32.953016],[102.861455,32.953297],[102.861363,32.953469],[102.861205,32.953713],[102.861087,32.953893],[102.860996,32.95408],[102.860905,32.954352],[102.860864,32.954539],[102.86083,32.954846],[102.860635,32.955175],[102.860484,32.955576],[102.860467,32.955601],[102.8603,32.955824],[102.860098,32.956054],[102.859863,32.956364],[102.859755,32.956557],[102.85963,32.956773],[102.859496,32.956982],[102.859387,32.957147],[102.859254,32.957377],[102.859153,32.957528],[102.85902,32.957772],[102.858932,32.957991],[102.858705,32.9583],[102.858044,32.95907],[102.854856,32.961091],[102.853988,32.961587],[102.853286,32.962597],[102.85298,32.963434],[102.851996,32.964319],[102.850872,32.965052],[102.84967,32.966084],[102.8473,32.968208],[102.845807,32.969445],[102.844901,32.970021],[102.843744,32.970467],[102.842155,32.970493],[102.840628,32.970574],[102.839288,32.970765],[102.839267,32.971268],[102.837553,32.971574],[102.835834,32.971694],[102.833971,32.971687],[102.832757,32.971716],[102.831339,32.971641],[102.830507,32.971776],[102.829415,32.971683],[102.828182,32.971287],[102.827426,32.97075],[102.826164,32.970354],[102.82438,32.969525],[102.824126,32.96954],[102.823699,32.969563],[102.823477,32.96975],[102.823218,32.969968],[102.822974,32.970174],[102.822335,32.971369],[102.822274,32.971483],[102.822168,32.971681],[102.821793,32.972472],[102.821336,32.973013],[102.820849,32.973626],[102.820311,32.973953],[102.820127,32.974064],[102.819401,32.974725],[102.818462,32.975606],[102.817708,32.976191],[102.817384,32.976424],[102.816384,32.977446],[102.815819,32.977463],[102.814265,32.977026],[102.813195,32.976644],[102.811809,32.975937],[102.810955,32.975558],[102.809487,32.975987],[102.807907,32.976597],[102.806382,32.977161],[102.805465,32.977145],[102.804862,32.977498],[102.803059,32.978376],[102.802073,32.979035],[102.801875,32.979166],[102.801797,32.979218],[102.80048,32.980105],[102.799009,32.98067],[102.798027,32.981063],[102.796524,32.980763],[102.795519,32.979927],[102.794242,32.979176],[102.792915,32.978288],[102.792179,32.977502],[102.791195,32.975847],[102.789884,32.974323],[102.789142,32.973764],[102.788022,32.973243],[102.787012,32.972634],[102.786111,32.971981],[102.781472,32.969715],[102.779723,32.968456],[102.77878,32.967302],[102.77741,32.966004],[102.776523,32.964805],[102.776066,32.96366],[102.776039,32.962568],[102.776077,32.961067],[102.776114,32.959593],[102.776118,32.959431],[102.776143,32.958432],[102.776151,32.958112],[102.776161,32.958036],[102.77635,32.956614],[102.775941,32.956354],[102.775548,32.956102],[102.775093,32.955812],[102.77481,32.955632],[102.774347,32.955432],[102.773923,32.955249],[102.773607,32.955113],[102.773346,32.955001],[102.773048,32.954872],[102.77269,32.954674],[102.772304,32.954447],[102.771908,32.95421],[102.77153,32.953991],[102.771028,32.953699],[102.77083,32.953415],[102.770611,32.9531],[102.770371,32.953438],[102.770164,32.953729],[102.769858,32.954077],[102.769561,32.954415],[102.769219,32.954804],[102.769094,32.954952],[102.768894,32.955187],[102.768538,32.955606],[102.768497,32.955655],[102.768272,32.955942],[102.767549,32.956867],[102.766063,32.958023],[102.76462,32.959262],[102.764298,32.959538],[102.764134,32.959673],[102.762149,32.961319],[102.76101,32.962656],[102.76097,32.962704],[102.760814,32.962887],[102.759974,32.9641],[102.759649,32.9644],[102.759517,32.964523],[102.758814,32.965171],[102.757757,32.966426],[102.757706,32.966483],[102.757537,32.966673],[102.757538,32.966744],[102.757526,32.966782],[102.757519,32.966804],[102.757499,32.966829],[102.757473,32.966848],[102.757429,32.966861],[102.757377,32.966849],[102.757316,32.96684],[102.757209,32.966816],[102.757174,32.966812],[102.757146,32.966812],[102.757133,32.966819],[102.757109,32.966842],[102.7571,32.966864],[102.7571,32.966894],[102.757137,32.966989],[102.757175,32.967062],[102.757178,32.967077],[102.756987,32.967291],[102.756973,32.967307],[102.756737,32.967572],[102.756723,32.967588],[102.756709,32.967604],[102.756662,32.967656],[102.75665,32.96767],[102.756631,32.967691],[102.756612,32.967712],[102.755924,32.968485],[102.754325,32.969821],[102.754014,32.970145],[102.753331,32.970853],[102.753006,32.97119],[102.752386,32.971833],[102.749954,32.974109],[102.749867,32.974226],[102.749773,32.974205],[102.74975,32.9742],[102.749638,32.974219],[102.74959,32.974253],[102.749566,32.974292],[102.749484,32.974377],[102.749338,32.974456],[102.749238,32.974513],[102.749236,32.974514],[102.749074,32.974619],[102.748886,32.974742],[102.74874,32.974867],[102.748577,32.975041],[102.748536,32.975063],[102.748423,32.975139],[102.748291,32.975306],[102.748229,32.975442],[102.748201,32.975555],[102.748206,32.975637],[102.74822,32.975692],[102.748302,32.97573],[102.748427,32.975771],[102.748514,32.975799],[102.748602,32.975817],[102.748677,32.97582],[102.748573,32.97596],[102.748527,32.976023],[102.747383,32.977566],[102.746421,32.979322],[102.74575,32.980266],[102.745721,32.981402],[102.745726,32.983313],[102.745489,32.984173],[102.74509,32.984984],[102.74496,32.985846],[102.744713,32.98707],[102.744401,32.988747],[102.743771,32.990192],[102.743522,32.991461],[102.742569,32.992854],[102.74248,32.993057],[102.742054,32.994027],[102.741919,32.995071],[102.741881,32.996571],[102.741226,32.996832],[102.740258,32.996724],[102.739037,32.995883],[102.737294,32.994396],[102.736182,32.993557],[102.735613,32.992591],[102.734674,32.991301],[102.73399,32.990606],[102.73255,32.989943],[102.731398,32.988557],[102.731337,32.988351],[102.73105,32.987368],[102.730921,32.986092],[102.730902,32.985731],[102.730894,32.985565],[102.73089,32.985484],[102.730877,32.98523],[102.730849,32.984681],[102.730261,32.984443],[102.729457,32.984246],[102.727843,32.984035],[102.72754,32.983958],[102.726878,32.98379],[102.723982,32.983055],[102.722161,32.982521],[102.721906,32.981925],[102.721838,32.980377],[102.721602,32.979054],[102.7216,32.978999],[102.7216,32.978993],[102.721718,32.978952],[102.721774,32.978931],[102.721713,32.978899],[102.721776,32.978873],[102.721773,32.97887],[102.72176,32.978861],[102.721737,32.978828],[102.721712,32.978813],[102.721721,32.978794],[102.721771,32.978788],[102.721823,32.97878],[102.72189,32.978782],[102.721918,32.978793],[102.721941,32.978816],[102.721961,32.978842],[102.721974,32.978862],[102.721986,32.97888],[102.722016,32.97888],[102.722032,32.978871],[102.722028,32.978843],[102.722027,32.978829],[102.722008,32.978806],[102.721986,32.978785],[102.721965,32.978768],[102.721949,32.978745],[102.72196,32.978739],[102.72199,32.978733],[102.722008,32.978724],[102.722023,32.978703],[102.722039,32.978682],[102.72205,32.978643],[102.722057,32.978607],[102.722056,32.97858],[102.722054,32.978557],[102.721995,32.978499],[102.721936,32.97843],[102.721924,32.978432],[102.721874,32.978432],[102.721845,32.978421],[102.721851,32.978402],[102.721871,32.978381],[102.721873,32.978358],[102.721873,32.978343],[102.721848,32.978324],[102.721843,32.978325],[102.721801,32.978332],[102.72176,32.97834],[102.721706,32.97834],[102.721687,32.978327],[102.72168,32.978298],[102.721664,32.97826],[102.721657,32.978226],[102.721607,32.978197],[102.721591,32.97819],[102.721591,32.978159],[102.721593,32.978136],[102.721599,32.978114],[102.721563,32.978086],[102.721369,32.977982],[102.721282,32.977901],[102.721188,32.977826],[102.721189,32.977813],[102.721189,32.97775],[102.721164,32.977697],[102.721106,32.977641],[102.721003,32.977576],[102.720936,32.977522],[102.720875,32.977466],[102.7208,32.977377],[102.72075,32.977303],[102.720646,32.977139],[102.720574,32.977035],[102.720489,32.976955],[102.720347,32.976896],[102.720233,32.976873],[102.72012,32.976841],[102.720045,32.976809],[102.719953,32.97675],[102.719931,32.976726],[102.719917,32.976684],[102.719902,32.976604],[102.719887,32.976517],[102.719858,32.976449],[102.719823,32.976401],[102.719759,32.976366],[102.719667,32.976334],[102.719532,32.976287],[102.719386,32.976219],[102.719279,32.97616],[102.719176,32.976113],[102.719013,32.976066],[102.718918,32.976058],[102.718776,32.976068],[102.718649,32.976068],[102.718468,32.976039],[102.718401,32.976016],[102.718309,32.975966],[102.71824,32.975859],[102.71819,32.975776],[102.718022,32.975586],[102.717933,32.975476],[102.717801,32.975354],[102.717655,32.975236],[102.717499,32.975141],[102.717218,32.975006],[102.717108,32.974968],[102.71697,32.974912],[102.716814,32.974844],[102.716675,32.974797],[102.716452,32.974739],[102.716239,32.974666],[102.716065,32.974607],[102.715951,32.974551],[102.715777,32.974477],[102.715685,32.974424],[102.715432,32.974247],[102.715319,32.974173],[102.715048,32.974001],[102.714963,32.973957],[102.714828,32.973904],[102.714697,32.973869],[102.714594,32.973861],[102.714527,32.973873],[102.714425,32.973969],[102.714387,32.974044],[102.714388,32.974089],[102.714346,32.974178],[102.714286,32.974262],[102.714198,32.974334],[102.714033,32.974407],[102.713804,32.974495],[102.713638,32.974546],[102.713465,32.974586],[102.713334,32.974629],[102.713024,32.97483],[102.712852,32.97495],[102.712683,32.975071],[102.712468,32.975191],[102.71213,32.975309],[102.71196,32.975352],[102.711836,32.975377],[102.711653,32.975396],[102.711476,32.975414],[102.711225,32.975434],[102.711006,32.975453],[102.7109,32.975471],[102.71072,32.975526],[102.710686,32.975545],[102.710505,32.975432],[102.710373,32.97535],[102.710224,32.975261],[102.710064,32.975178],[102.709911,32.975114],[102.709755,32.97507],[102.70956,32.975008],[102.709545,32.975005],[102.709358,32.974967],[102.7092,32.974968],[102.709075,32.974973],[102.708968,32.975],[102.708855,32.975044],[102.708742,32.975111],[102.708675,32.975162],[102.708599,32.975219],[102.708473,32.975335],[102.708383,32.975431],[102.708321,32.975493],[102.708262,32.97557],[102.708215,32.975644],[102.708153,32.975752],[102.708083,32.975847],[102.708021,32.975874],[102.70794,32.975956],[102.70789,32.976049],[102.707851,32.97613],[102.707797,32.976183],[102.707645,32.97626],[102.707563,32.976304],[102.707496,32.97638],[102.707446,32.976455],[102.707364,32.976534],[102.707246,32.976649],[102.7071,32.976786],[102.706993,32.976875],[102.706875,32.97694],[102.706776,32.976986],[102.706595,32.977039],[102.706395,32.977078],[102.706271,32.977108],[102.706146,32.977142],[102.706028,32.977181],[102.705929,32.977236],[102.705777,32.977349],[102.705701,32.977438],[102.705654,32.977498],[102.705592,32.977591],[102.705514,32.977692],[102.705455,32.977756],[102.705402,32.977816],[102.705345,32.977862],[102.705261,32.977908],[102.705176,32.977944],[102.705063,32.977983],[102.705015,32.978002],[102.704826,32.978018],[102.704448,32.978073],[102.704193,32.97812],[102.703748,32.978161],[102.703688,32.978167],[102.703451,32.978201],[102.703087,32.978242],[102.702012,32.978316],[102.701913,32.978323],[102.701882,32.978319],[102.701746,32.97832],[102.701665,32.978326],[102.701515,32.978352],[102.701421,32.978385],[102.701226,32.978445],[102.701082,32.978495],[102.700955,32.978536],[102.700754,32.978623],[102.70066,32.97867],[102.700581,32.978702],[102.700434,32.978724],[102.700314,32.978727],[102.700187,32.978722],[102.700037,32.978715],[102.699777,32.978697],[102.699627,32.978666],[102.699548,32.978648],[102.698725,32.978816],[102.697858,32.978936],[102.697309,32.97929],[102.697029,32.979737],[102.697098,32.979899],[102.697123,32.98001],[102.697083,32.98012],[102.697073,32.980172],[102.696966,32.980321],[102.696599,32.98065],[102.696396,32.98088],[102.696233,32.98102],[102.69608,32.981094],[102.695949,32.981122],[102.695866,32.981138],[102.695747,32.981262],[102.694762,32.98179],[102.693452,32.982357],[102.692481,32.982339],[102.690873,32.9819],[102.689113,32.981094],[102.688071,32.979665],[102.687721,32.978612],[102.686783,32.977321],[102.685795,32.975893],[102.685128,32.974561],[102.684403,32.973411],[102.683979,32.971037],[102.683574,32.970029],[102.68301,32.968881],[102.681946,32.968316],[102.680498,32.96797],[102.678685,32.967118],[102.678521,32.967068],[102.677882,32.966876],[102.676001,32.966568],[102.673966,32.965984],[102.673007,32.965511],[102.672389,32.964408],[102.670758,32.962785],[102.669856,32.962223],[102.668662,32.960426],[102.667381,32.958529],[102.66674,32.958814],[102.665795,32.95906],[102.664637,32.958888],[102.66317,32.958597],[102.661343,32.958374],[102.659473,32.958075],[102.65869,32.958026],[102.658295,32.958001],[102.657777,32.957968],[102.655903,32.95782],[102.653898,32.957593],[102.652834,32.957234],[102.651058,32.956786],[102.650025,32.956955],[102.649124,32.95724],[102.647238,32.957543],[102.646026,32.957747],[102.645697,32.958343],[102.644971,32.958744],[102.644205,32.958994],[102.643612,32.959435],[102.642505,32.960695],[102.641353,32.961992],[102.640033,32.962872],[102.638671,32.963675],[102.637224,32.964289],[102.635503,32.965123],[102.633611,32.965652],[102.631407,32.965986],[102.629563,32.965699],[102.628738,32.965587],[102.627837,32.965465],[102.625633,32.965272],[102.625517,32.965235],[102.625251,32.965149],[102.625202,32.965133],[102.62515,32.965116],[102.625129,32.96511],[102.624804,32.965004],[102.622854,32.964212],[102.622259,32.963988],[102.622228,32.963976],[102.622206,32.963968],[102.62215,32.963947],[102.621943,32.963869],[102.621695,32.963776],[102.621599,32.963739],[102.621186,32.963584],[102.619898,32.963098],[102.619545,32.963028],[102.619534,32.963026],[102.619415,32.963002],[102.619296,32.962979],[102.618494,32.962819],[102.618418,32.962804],[102.61794,32.962709],[102.615949,32.962087],[102.615916,32.962077],[102.615704,32.962011],[102.61569,32.962006],[102.615264,32.961873],[102.615128,32.961831],[102.615001,32.961791],[102.615024,32.961581],[102.615039,32.961439]]]]},"properties":{"cp":[102.84021326842111,32.73181473528267],"code":"513233205","name":"阿木乡","level":"street","center":[102.84021326842111,32.73181473528267],"fullCode":"513233205000","fullName":"四川省阿坝藏族羌族自治州红原县阿木乡","acreageMu":1338297.24,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.789,32.9154]}},{"id":"513233207","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.844495,33.079459],[102.844382,33.079401],[102.84443,33.079385],[102.844506,33.079376],[102.844569,33.078895],[102.844578,33.07883],[102.844641,33.07835],[102.844645,33.078323],[102.844646,33.078265],[102.844669,33.077341],[102.84467,33.077303],[102.844671,33.077231],[102.844935,33.07639],[102.844994,33.076401],[102.845031,33.0764],[102.845065,33.076391],[102.845099,33.076369],[102.845117,33.076336],[102.845115,33.076287],[102.845103,33.076236],[102.845079,33.076199],[102.84501,33.076158],[102.845141,33.075762],[102.845203,33.075757],[102.845243,33.075728],[102.845258,33.075685],[102.84528,33.075629],[102.845276,33.075575],[102.845265,33.075541],[102.845218,33.075529],[102.845455,33.074811],[102.845469,33.074509],[102.845517,33.07448],[102.845535,33.074447],[102.845541,33.074403],[102.845541,33.074363],[102.845527,33.074306],[102.84552,33.074258],[102.845519,33.074188],[102.845532,33.074119],[102.845563,33.07405],[102.845592,33.073981],[102.845605,33.073935],[102.845607,33.073897],[102.845582,33.073888],[102.845548,33.073897],[102.845496,33.073923],[102.8455,33.073836],[102.845469,33.073643],[102.845459,33.073577],[102.845259,33.072336],[102.845272,33.072264],[102.845273,33.072178],[102.845263,33.072102],[102.845242,33.072058],[102.845204,33.072041],[102.845118,33.072038],[102.84485,33.071477],[102.844725,33.070707],[102.844711,33.07062],[102.844589,33.069865],[102.844198,33.067669],[102.844189,33.06762],[102.844119,33.066488],[102.844117,33.066462],[102.843883,33.065075],[102.843901,33.064313],[102.844961,33.063485],[102.845547,33.062818],[102.84569,33.062453],[102.846066,33.062149],[102.84601,33.061697],[102.84563,33.060759],[102.845546,33.060108],[102.845335,33.059145],[102.845688,33.058389],[102.846445,33.057584],[102.846591,33.057107],[102.846806,33.056518],[102.846876,33.055023],[102.847498,33.054272],[102.848225,33.053325],[102.848508,33.052709],[102.849238,33.051621],[102.849892,33.050927],[102.850289,33.049748],[102.850368,33.049242],[102.850701,33.047977],[102.850947,33.047394],[102.851068,33.04711],[102.85111,33.04701],[102.851163,33.046885],[102.851659,33.045792],[102.852059,33.044501],[102.852986,33.04082],[102.852891,33.039182],[102.852846,33.038278],[102.853084,33.036786],[102.853592,33.035186],[102.85374,33.034468],[102.853801,33.034173],[102.854085,33.032796],[102.854443,33.031842],[102.854791,33.03134],[102.855469,33.030985],[102.856091,33.030234],[102.856445,33.02945],[102.856808,33.02827],[102.857282,33.026698],[102.857501,33.025968],[102.857227,33.024806],[102.85659,33.023469],[102.856544,33.022593],[102.856625,33.022002],[102.85701,33.021331],[102.857639,33.02027],[102.857759,33.01997],[102.857836,33.019781],[102.858102,33.01912],[102.858594,33.018169],[102.858539,33.017689],[102.857779,33.017224],[102.856349,33.016726],[102.856308,33.016712],[102.855598,33.016465],[102.855579,33.016458],[102.855544,33.016446],[102.855541,33.016445],[102.855534,33.016442],[102.855511,33.016434],[102.854623,33.016126],[102.85455,33.016089],[102.85453,33.016079],[102.853395,33.015513],[102.853221,33.01522],[102.852586,33.014663],[102.852178,33.014483],[102.85133,33.014245],[102.851089,33.014291],[102.849761,33.013586],[102.849572,33.013075],[102.849655,33.012427],[102.84989,33.01102],[102.850162,33.009757],[102.850117,33.009651],[102.850107,33.009517],[102.850136,33.009268],[102.850304,33.008986],[102.850449,33.008855],[102.850632,33.008782],[102.850754,33.008552],[102.851312,33.00763],[102.851562,33.007013],[102.851583,33.006139],[102.851285,33.004902],[102.851266,33.004823],[102.851248,33.00475],[102.851009,33.004252],[102.850895,33.004014],[102.850866,33.003953],[102.850544,33.003383],[102.850149,33.001653],[102.84996,33.001421],[102.849954,33.001414],[102.849953,33.001413],[102.849565,33.000939],[102.849522,33.000883],[102.849431,33.000768],[102.84943,33.000767],[102.849408,33.000739],[102.849273,33.000567],[102.848992,33.000135],[102.848753,32.999765],[102.848353,32.99915],[102.848335,32.999122],[102.84811,32.998776],[102.848012,32.998625],[102.846594,32.995025],[102.84578,32.993888],[102.845532,32.992523],[102.845557,32.992407],[102.845653,32.991957],[102.845761,32.991448],[102.84577,32.991403],[102.846145,32.990243],[102.846212,32.990035],[102.846226,32.989992],[102.846149,32.988913],[102.84629,32.988838],[102.846336,32.988793],[102.84637,32.988697],[102.846337,32.988587],[102.846298,32.988564],[102.84622,32.988564],[102.846126,32.98858],[102.846121,32.988511],[102.846271,32.986698],[102.846295,32.9864],[102.846309,32.986335],[102.846356,32.986117],[102.846456,32.985653],[102.846456,32.985653],[102.846467,32.985599],[102.846533,32.985295],[102.84693,32.984104],[102.846965,32.983908],[102.846999,32.983722],[102.847003,32.983697],[102.847006,32.983679],[102.847073,32.983306],[102.847078,32.983278],[102.847085,32.983243],[102.847091,32.983208],[102.847113,32.983087],[102.846892,32.981354],[102.846856,32.980936],[102.846845,32.980817],[102.846813,32.980434],[102.846785,32.980114],[102.846727,32.979443],[102.846553,32.979101],[102.846525,32.979047],[102.846332,32.978669],[102.846324,32.978653],[102.846225,32.978459],[102.84612,32.978163],[102.845784,32.977216],[102.845782,32.977209],[102.84538,32.976404],[102.845412,32.975118],[102.844927,32.973424],[102.843996,32.972277],[102.843972,32.972247],[102.844075,32.972171],[102.844142,32.972126],[102.844191,32.972072],[102.84419,32.971994],[102.844129,32.971926],[102.844076,32.971876],[102.843972,32.971822],[102.843797,32.971686],[102.84357,32.971563],[102.843563,32.97156],[102.843486,32.971518],[102.843218,32.971431],[102.843118,32.971444],[102.842919,32.97144],[102.84263,32.97147],[102.84238,32.971334],[102.841619,32.971021],[102.84064,32.971129],[102.839335,32.971256],[102.839267,32.971268],[102.839288,32.970765],[102.840628,32.970574],[102.842155,32.970493],[102.843744,32.970467],[102.844901,32.970021],[102.845807,32.969445],[102.8473,32.968208],[102.84967,32.966084],[102.850872,32.965052],[102.851996,32.964319],[102.85298,32.963434],[102.853286,32.962597],[102.853988,32.961587],[102.854856,32.961091],[102.858044,32.95907],[102.858705,32.9583],[102.858932,32.957991],[102.85902,32.957772],[102.859153,32.957528],[102.859254,32.957377],[102.859387,32.957147],[102.859496,32.956982],[102.85963,32.956773],[102.859755,32.956557],[102.859863,32.956364],[102.860098,32.956054],[102.8603,32.955824],[102.860467,32.955601],[102.860484,32.955576],[102.860635,32.955175],[102.86083,32.954846],[102.860864,32.954539],[102.860905,32.954352],[102.860996,32.95408],[102.861087,32.953893],[102.861205,32.953713],[102.861363,32.953469],[102.861455,32.953297],[102.861624,32.953016],[102.86167,32.952186],[102.861651,32.951857],[102.86162,32.951313],[102.861691,32.951315],[102.861744,32.950788],[102.861775,32.950484],[102.861808,32.949137],[102.861969,32.947739],[102.862638,32.94651],[102.863643,32.944587],[102.864585,32.942662],[102.865904,32.94096],[102.866394,32.939189],[102.866625,32.938309],[102.866746,32.937848],[102.866716,32.937779],[102.866382,32.937033],[102.865707,32.935889],[102.86523,32.934426],[102.865398,32.932757],[102.865955,32.93088],[102.867081,32.929228],[102.868257,32.92817],[102.869007,32.926242],[102.869858,32.925394],[102.870064,32.924805],[102.870228,32.923298],[102.870533,32.921255],[102.870938,32.920345],[102.871968,32.919496],[102.871693,32.92007],[102.871316,32.92156],[102.871284,32.922912],[102.871605,32.923752],[102.872158,32.924883],[102.87269,32.925439],[102.873804,32.925947],[102.874892,32.92611],[102.875972,32.926617],[102.876812,32.92715],[102.877686,32.927682],[102.878487,32.928444],[102.879622,32.929499],[102.880462,32.93006],[102.88147,32.930711],[102.882746,32.931567],[102.88366,32.931899],[102.884597,32.932663],[102.885266,32.933221],[102.886338,32.934045],[102.887179,32.934577],[102.888025,32.93485],[102.889218,32.934928],[102.89017,32.935088],[102.890806,32.935588],[102.891001,32.935994],[102.891224,32.93666],[102.891513,32.937442],[102.89211,32.938171],[102.892844,32.938845],[102.893542,32.939663],[102.893773,32.939983],[102.89386,32.940647],[102.893875,32.941453],[102.893751,32.942343],[102.893623,32.943434],[102.893464,32.944352],[102.8936,32.944383],[102.894722,32.944575],[102.89584,32.944939],[102.897195,32.945336],[102.898181,32.945496],[102.899676,32.945809],[102.900765,32.945914],[102.901924,32.945962],[102.902951,32.945864],[102.903707,32.945618],[102.904564,32.945489],[102.905414,32.945589],[102.906153,32.94612],[102.907391,32.947176],[102.907846,32.948134],[102.908545,32.948893],[102.909038,32.949679],[102.909909,32.950384],[102.911449,32.951647],[102.912465,32.951981],[102.912939,32.952161],[102.913242,32.952339],[102.912622,32.952587],[102.912574,32.952611],[102.912009,32.952887],[102.911482,32.953144],[102.910888,32.953738],[102.910227,32.954274],[102.909535,32.954665],[102.908971,32.955404],[102.908231,32.956428],[102.907793,32.957629],[102.907528,32.958718],[102.907099,32.959545],[102.907069,32.960811],[102.906946,32.961701],[102.906749,32.96423],[102.906522,32.965176],[102.906497,32.965334],[102.906495,32.965869],[102.906499,32.966255],[102.906439,32.966646],[102.90634,32.966847],[102.906244,32.967051],[102.906205,32.967212],[102.90613,32.967694],[102.906121,32.967749],[102.906063,32.968122],[102.906027,32.968355],[102.905999,32.968534],[102.906001,32.968584],[102.906008,32.968794],[102.906009,32.968813],[102.906011,32.968862],[102.906043,32.969763],[102.906044,32.969792],[102.906081,32.970837],[102.906163,32.971906],[102.906168,32.971965],[102.906193,32.972293],[102.906212,32.972537],[102.90621,32.972547],[102.906126,32.973054],[102.905943,32.97316],[102.905842,32.973237],[102.905686,32.973453],[102.905547,32.973693],[102.905436,32.973985],[102.905404,32.974157],[102.905462,32.974266],[102.905519,32.974347],[102.905554,32.974447],[102.905561,32.974561],[102.905513,32.974791],[102.90551,32.974799],[102.905355,32.975544],[102.90527,32.976262],[102.905155,32.976807],[102.904836,32.97732],[102.9047,32.978167],[102.904686,32.978259],[102.904675,32.978324],[102.904655,32.97847],[102.904633,32.978632],[102.904594,32.978913],[102.904561,32.979147],[102.904447,32.979969],[102.904366,32.980111],[102.904266,32.980259],[102.904233,32.980345],[102.904212,32.980503],[102.90423,32.980617],[102.904332,32.980799],[102.90433,32.98081],[102.904305,32.980994],[102.904256,32.981626],[102.904443,32.982349],[102.905163,32.983859],[102.905481,32.984526],[102.90555,32.98467],[102.906417,32.9869],[102.906576,32.987204],[102.906623,32.987326],[102.906681,32.987451],[102.906775,32.987602],[102.906836,32.987721],[102.90684,32.987808],[102.906877,32.987951],[102.906932,32.988087],[102.906997,32.988218],[102.907083,32.988337],[102.907148,32.988468],[102.907153,32.988593],[102.907112,32.988706],[102.907123,32.988829],[102.907153,32.98893],[102.907203,32.989031],[102.907229,32.989134],[102.907256,32.989241],[102.907257,32.989243],[102.907289,32.989367],[102.907377,32.989707],[102.907402,32.989805],[102.907673,32.989889],[102.907766,32.989945],[102.907883,32.990079],[102.907984,32.990283],[102.908002,32.990469],[102.907905,32.990584],[102.907786,32.990689],[102.907644,32.99074],[102.907704,32.990972],[102.907721,32.991037],[102.90796,32.99248],[102.908895,32.993387],[102.910068,32.994328],[102.910665,32.995057],[102.911393,32.996048],[102.911415,32.996074],[102.911493,32.996166],[102.91169,32.99629],[102.911844,32.996382],[102.911964,32.996527],[102.912034,32.996735],[102.912104,32.996916],[102.912156,32.996998],[102.912232,32.997048],[102.913258,32.998065],[102.913707,32.998406],[102.913747,32.998558],[102.913804,32.998675],[102.91386,32.998768],[102.91392,32.998843],[102.914031,32.998892],[102.914129,32.998931],[102.914209,32.998956],[102.914892,32.999732],[102.915434,32.999943],[102.916052,32.99978],[102.916126,32.999771],[102.916174,32.999764],[102.9162,32.999761],[102.917011,32.999653],[102.917514,32.999675],[102.918035,32.999698],[102.919982,32.999645],[102.920907,32.999516],[102.92169,32.999644],[102.922491,32.999642],[102.922543,32.999642],[102.923193,32.999641],[102.924316,32.999774],[102.925448,32.999592],[102.926467,32.99981],[102.926518,32.999816],[102.92683,32.999855],[102.927284,32.99991],[102.927557,32.999943],[102.928347,32.999726],[102.929353,32.999111],[102.929906,32.998774],[102.930204,32.998433],[102.930503,32.998093],[102.930961,32.997598],[102.930748,32.997514],[102.930684,32.997468],[102.930679,32.997396],[102.930704,32.997321],[102.930788,32.997263],[102.930902,32.997248],[102.931051,32.997236],[102.931208,32.997199],[102.93139,32.997147],[102.931714,32.997056],[102.932275,32.99677],[102.932608,32.996656],[102.932769,32.996601],[102.933285,32.996425],[102.933962,32.996193],[102.934749,32.996211],[102.935232,32.996222],[102.935324,32.99626],[102.935719,32.996425],[102.935852,32.996481],[102.936192,32.996622],[102.936612,32.996739],[102.936622,32.996741],[102.936887,32.996815],[102.936929,32.996827],[102.936943,32.997076],[102.93695,32.997206],[102.93694,32.997237],[102.936909,32.997338],[102.936905,32.997399],[102.936909,32.997525],[102.936929,32.997644],[102.936947,32.997751],[102.936954,32.99777],[102.936963,32.997787],[102.93698,32.997818],[102.937059,32.9979],[102.937139,32.997955],[102.937163,32.997974],[102.937142,32.998014],[102.937106,32.998043],[102.937052,32.998056],[102.936996,32.99804],[102.936958,32.998015],[102.936957,32.998075],[102.936956,32.998086],[102.936945,32.998557],[102.937224,32.99885],[102.93752,32.998759],[102.937586,32.998738],[102.937629,32.998709],[102.937689,32.99868],[102.937752,32.998662],[102.937807,32.99867],[102.938021,32.998604],[102.93804,32.998564],[102.93806,32.998523],[102.938081,32.998497],[102.938108,32.998472],[102.93813,32.998454],[102.938159,32.998434],[102.938193,32.998422],[102.938222,32.998415],[102.938256,32.998408],[102.938292,32.99841],[102.938331,32.998411],[102.938357,32.998413],[102.938389,32.998419],[102.938415,32.998425],[102.938434,32.998436],[102.938453,32.99845],[102.938469,32.998464],[102.938477,32.998497],[102.93883,32.998444],[102.93911,32.998689],[102.939105,32.998697],[102.9391,32.998709],[102.93907,32.998767],[102.939059,32.99879],[102.939043,32.998821],[102.938956,32.998995],[102.938944,32.999019],[102.938928,32.99905],[102.938898,32.999111],[102.938885,32.999137],[102.938751,32.999404],[102.938834,32.999835],[102.938853,32.999934],[102.938867,32.999974],[102.938875,32.999997],[102.938895,33.000053],[102.939019,33.000403],[102.939021,33.00041],[102.939024,33.000418],[102.939042,33.000467],[102.939069,33.000543],[102.939078,33.000571],[102.93931,33.001223],[102.939829,33.001618],[102.939572,33.002059],[102.940057,33.002453],[102.940541,33.002848],[102.940178,33.003287],[102.940114,33.003419],[102.939985,33.003684],[102.939919,33.003818],[102.939759,33.004002],[102.939731,33.004033],[102.93961,33.004071],[102.939537,33.004108],[102.939495,33.004134],[102.939403,33.004261],[102.939403,33.004286],[102.93889,33.004098],[102.938337,33.003766],[102.938229,33.003701],[102.938188,33.003968],[102.938272,33.004117],[102.938274,33.00412],[102.938383,33.004314],[102.938409,33.00436],[102.938425,33.004388],[102.938358,33.004432],[102.938342,33.004443],[102.938327,33.004453],[102.938262,33.004496],[102.938249,33.004505],[102.93823,33.004517],[102.937816,33.004794],[102.937788,33.004904],[102.937787,33.00491],[102.937786,33.004917],[102.93777,33.004977],[102.937741,33.005091],[102.937714,33.005202],[102.93766,33.005415],[102.93767,33.005428],[102.937918,33.005742],[102.937935,33.005764],[102.937969,33.005806],[102.93811,33.005948],[102.938167,33.006005],[102.93821,33.006048],[102.938205,33.006077],[102.938199,33.006109],[102.938197,33.006118],[102.938129,33.006492],[102.937805,33.006754],[102.937096,33.006951],[102.936373,33.007711],[102.936262,33.007878],[102.936249,33.007898],[102.936213,33.007952],[102.93608,33.008152],[102.935914,33.008704],[102.935908,33.008724],[102.935813,33.009039],[102.935438,33.009984],[102.934819,33.010806],[102.934762,33.010955],[102.934481,33.011691],[102.93449,33.011729],[102.934704,33.012705],[102.935033,33.013621],[102.935054,33.013682],[102.935069,33.013722],[102.935134,33.013858],[102.935164,33.013919],[102.935204,33.014003],[102.935674,33.01498],[102.93571,33.01506],[102.935717,33.015074],[102.935734,33.015114],[102.935742,33.01513],[102.935778,33.015212],[102.935942,33.015578],[102.936065,33.015696],[102.936191,33.015817],[102.936235,33.015859],[102.937046,33.016636],[102.93746,33.017342],[102.937508,33.017424],[102.937521,33.017447],[102.93782,33.017896],[102.938168,33.01842],[102.938174,33.01843],[102.938274,33.018581],[102.938279,33.018589],[102.938286,33.018599],[102.938339,33.018678],[102.938343,33.018702],[102.938345,33.018712],[102.93837,33.018701],[102.938446,33.018669],[102.938521,33.018625],[102.93852,33.018718],[102.938376,33.018899],[102.938525,33.019781],[102.938288,33.020847],[102.938445,33.021681],[102.938479,33.021746],[102.939121,33.02297],[102.939399,33.023421],[102.939937,33.024291],[102.940119,33.024354],[102.940279,33.024408],[102.940391,33.024447],[102.940623,33.024366],[102.940872,33.024278],[102.940879,33.024276],[102.941164,33.024176],[102.94128,33.024135],[102.942032,33.02392],[102.942559,33.02377],[102.943649,33.023907],[102.944453,33.024217],[102.945046,33.024524],[102.945566,33.024919],[102.945727,33.025575],[102.945435,33.026194],[102.945281,33.026518],[102.945072,33.026791],[102.944445,33.027604],[102.944594,33.027943],[102.944814,33.028442],[102.944982,33.028989],[102.945043,33.029189],[102.945058,33.030051],[102.944664,33.031827],[102.94418,33.032918],[102.943913,33.033805],[102.944072,33.034551],[102.944095,33.034921],[102.944123,33.035384],[102.944424,33.036102],[102.944406,33.036874],[102.944209,33.037241],[102.944185,33.037286],[102.943602,33.038079],[102.943658,33.038704],[102.943924,33.039421],[102.94475,33.040297],[102.945123,33.040957],[102.945112,33.041432],[102.944747,33.041931],[102.944704,33.042287],[102.944946,33.042499],[102.945685,33.04257],[102.946802,33.042783],[102.946879,33.042798],[102.947222,33.043098],[102.94723,33.043106],[102.947401,33.043255],[102.947433,33.043283],[102.947847,33.043646],[102.950089,33.046339],[102.950358,33.046662],[102.950379,33.046815],[102.950431,33.046911],[102.950535,33.047031],[102.950573,33.047075],[102.950715,33.047228],[102.950835,33.047306],[102.95104,33.047444],[102.951177,33.047521],[102.951336,33.04762],[102.951473,33.047748],[102.951564,33.047883],[102.951633,33.048022],[102.951643,33.048115],[102.951621,33.048179],[102.952035,33.048677],[102.952143,33.048753],[102.953077,33.049407],[102.954887,33.050447],[102.955224,33.051136],[102.954598,33.052421],[102.954577,33.052464],[102.954345,33.05294],[102.95424,33.053644],[102.954164,33.054391],[102.954105,33.054534],[102.954077,33.054667],[102.954007,33.054911],[102.953928,33.055083],[102.953828,33.055234],[102.953817,33.055363],[102.953789,33.055517],[102.953701,33.055665],[102.953639,33.05583],[102.95362,33.056019],[102.95363,33.056188],[102.953632,33.056324],[102.953616,33.056485],[102.953635,33.056631],[102.953696,33.056813],[102.953668,33.056932],[102.953601,33.057025],[102.953547,33.057108],[102.953527,33.057188],[102.953518,33.057226],[102.953515,33.057373],[102.953482,33.057455],[102.953438,33.057575],[102.953429,33.057599],[102.953401,33.057727],[102.953395,33.057754],[102.953401,33.058019],[102.953426,33.05914],[102.953439,33.059687],[102.953557,33.060173],[102.953721,33.060844],[102.954309,33.062117],[102.954944,33.063279],[102.955595,33.063773],[102.956519,33.063899],[102.957133,33.064058],[102.958356,33.064598],[102.959416,33.064541],[102.960792,33.064192],[102.962617,33.063516],[102.963865,33.06317],[102.96396,33.063143],[102.96426,33.06306],[102.965237,33.062816],[102.966028,33.06294],[102.966722,33.063472],[102.967116,33.06407],[102.967168,33.06407],[102.967212,33.06407],[102.967249,33.064082],[102.967288,33.064113],[102.9673,33.064167],[102.967297,33.064203],[102.96728,33.064215],[102.967228,33.064239],[102.967489,33.064636],[102.967934,33.065222],[102.968175,33.065539],[102.968292,33.06621],[102.968286,33.066451],[102.96828,33.06672],[102.968278,33.06679],[102.968298,33.066793],[102.968312,33.066798],[102.968323,33.066807],[102.96833,33.066818],[102.968346,33.066844],[102.968384,33.066858],[102.968404,33.066859],[102.968424,33.06686],[102.968462,33.066864],[102.96848,33.066872],[102.96849,33.066884],[102.968491,33.066904],[102.968473,33.066925],[102.968445,33.066929],[102.968403,33.066932],[102.96835,33.066937],[102.968321,33.066945],[102.968296,33.066961],[102.968281,33.066974],[102.96827,33.066993],[102.968269,33.067009],[102.968271,33.067024],[102.968278,33.067036],[102.96829,33.067047],[102.968302,33.067056],[102.968321,33.067071],[102.968356,33.067091],[102.968372,33.067101],[102.968392,33.067112],[102.968426,33.067137],[102.968447,33.067161],[102.968454,33.06718],[102.968445,33.067198],[102.968411,33.067212],[102.968398,33.067212],[102.968356,33.06722],[102.96835,33.067222],[102.968337,33.067232],[102.968324,33.06725],[102.968318,33.067277],[102.968322,33.0673],[102.968335,33.067312],[102.968363,33.067332],[102.968384,33.067336],[102.968404,33.067423],[102.968477,33.067736],[102.968553,33.067811],[102.969168,33.068416],[102.969685,33.068683],[102.969735,33.068709],[102.969749,33.068733],[102.969759,33.068742],[102.969795,33.068764],[102.969825,33.068783],[102.969864,33.068801],[102.969896,33.06882],[102.96992,33.068804],[102.969985,33.068838],[102.970433,33.069069],[102.971306,33.06967],[102.971649,33.069906],[102.971661,33.069933],[102.972195,33.071104],[102.972578,33.072109],[102.972614,33.072204],[102.972621,33.072223],[102.972648,33.072262],[102.972665,33.072291],[102.972677,33.072314],[102.972691,33.072337],[102.972705,33.072352],[102.972723,33.072365],[102.972746,33.07238],[102.972775,33.072413],[102.972803,33.072437],[102.972827,33.072459],[102.972831,33.072473],[102.972835,33.072484],[102.972837,33.072503],[102.972834,33.072516],[102.972809,33.072543],[102.972789,33.072563],[102.972789,33.072577],[102.972797,33.072602],[102.972803,33.072619],[102.972833,33.072668],[102.97286,33.072701],[102.972888,33.072742],[102.97291,33.072771],[102.972938,33.072801],[102.972978,33.072833],[102.972995,33.072855],[102.973046,33.072884],[102.973066,33.072893],[102.973059,33.072937],[102.973106,33.072967],[102.973176,33.073006],[102.973223,33.073032],[102.973267,33.073062],[102.973277,33.073082],[102.973282,33.073118],[102.973292,33.073146],[102.973322,33.073165],[102.97335,33.073177],[102.973391,33.07319],[102.973423,33.073214],[102.973442,33.07323],[102.973454,33.073252],[102.973466,33.073296],[102.973482,33.073314],[102.973529,33.073341],[102.973559,33.073361],[102.973583,33.073397],[102.973606,33.073428],[102.973636,33.073459],[102.97366,33.073485],[102.973776,33.073635],[102.973819,33.073704],[102.973849,33.07375],[102.973854,33.073756],[102.973904,33.07375],[102.97394,33.073796],[102.973967,33.07383],[102.973998,33.073857],[102.974025,33.073888],[102.974102,33.073961],[102.974151,33.074007],[102.974187,33.074036],[102.974217,33.074074],[102.974257,33.074135],[102.974299,33.074177],[102.974345,33.074214],[102.974391,33.074242],[102.974457,33.074265],[102.974485,33.07427],[102.974528,33.07428],[102.974546,33.074304],[102.974551,33.074329],[102.97453,33.074342],[102.9745,33.074373],[102.974482,33.074397],[102.974482,33.074409],[102.974503,33.074424],[102.974517,33.074424],[102.97453,33.074424],[102.974557,33.074417],[102.974592,33.074408],[102.974623,33.074427],[102.974632,33.074449],[102.97463,33.074478],[102.974618,33.0745],[102.974619,33.074523],[102.974631,33.074543],[102.974665,33.074558],[102.97468,33.074559],[102.974696,33.074559],[102.974716,33.074547],[102.974725,33.074528],[102.974725,33.0745],[102.974726,33.074486],[102.974729,33.074471],[102.974754,33.07446],[102.974774,33.074456],[102.974815,33.074466],[102.974832,33.074474],[102.974852,33.074486],[102.97486,33.074507],[102.974866,33.074527],[102.974873,33.074544],[102.974891,33.07456],[102.974915,33.074575],[102.974927,33.074586],[102.974935,33.074608],[102.974944,33.074623],[102.974963,33.074639],[102.974976,33.074656],[102.974975,33.074673],[102.974957,33.074692],[102.974947,33.074706],[102.974947,33.074717],[102.974953,33.074723],[102.974965,33.074727],[102.97498,33.074728],[102.974994,33.074725],[102.975017,33.074722],[102.975035,33.074711],[102.975037,33.074695],[102.97504,33.074675],[102.975047,33.074666],[102.975082,33.074672],[102.975101,33.074697],[102.97511,33.074721],[102.975128,33.074737],[102.975135,33.07474],[102.975155,33.07475],[102.975167,33.074772],[102.975148,33.074797],[102.975138,33.074808],[102.975132,33.074814],[102.975117,33.074839],[102.975114,33.07485],[102.975118,33.074861],[102.975127,33.074869],[102.975139,33.074872],[102.975161,33.074879],[102.975185,33.074894],[102.975209,33.074905],[102.97523,33.074922],[102.975258,33.074939],[102.975287,33.07496],[102.975302,33.074971],[102.975311,33.074994],[102.975308,33.075013],[102.975285,33.075026],[102.975268,33.075031],[102.975247,33.075035],[102.975233,33.07504],[102.975231,33.075048],[102.975234,33.07506],[102.975243,33.075066],[102.975253,33.075068],[102.975269,33.075069],[102.97529,33.075067],[102.975329,33.075072],[102.975356,33.075084],[102.975399,33.075081],[102.975412,33.075079],[102.975424,33.075074],[102.975457,33.075066],[102.975472,33.075075],[102.975479,33.075096],[102.975493,33.075107],[102.975505,33.075119],[102.975504,33.075149],[102.975497,33.075178],[102.975475,33.0752],[102.975454,33.075205],[102.975431,33.075194],[102.975432,33.075175],[102.975438,33.075152],[102.975437,33.075143],[102.975418,33.075143],[102.975409,33.075149],[102.975405,33.075162],[102.975405,33.07518],[102.975408,33.075202],[102.975409,33.075212],[102.975411,33.075229],[102.975412,33.075243],[102.97541,33.075255],[102.975403,33.075271],[102.975456,33.075352],[102.975708,33.075731],[102.975784,33.07606],[102.97587,33.076434],[102.9759,33.076565],[102.975931,33.076617],[102.975964,33.076668],[102.975994,33.076703],[102.976014,33.076721],[102.976044,33.076726],[102.976075,33.076731],[102.976139,33.076753],[102.976173,33.076777],[102.976197,33.076794],[102.976206,33.07682],[102.976207,33.076849],[102.976188,33.07689],[102.976152,33.076913],[102.976124,33.076942],[102.97611,33.076969],[102.976124,33.076997],[102.976134,33.077043],[102.976141,33.077065],[102.97615,33.077096],[102.976148,33.077127],[102.976137,33.077151],[102.976115,33.077176],[102.976067,33.077204],[102.976021,33.077226],[102.975987,33.077236],[102.975936,33.077246],[102.975916,33.077252],[102.975882,33.07774],[102.976311,33.078305],[102.977408,33.078583],[102.97755,33.078663],[102.978148,33.079003],[102.978661,33.079571],[102.978966,33.079908],[102.979567,33.080661],[102.980294,33.081676],[102.981612,33.081958],[102.982003,33.082224],[102.982649,33.082903],[102.983512,33.083772],[102.984031,33.084226],[102.984499,33.085014],[102.985049,33.086026],[102.985132,33.086162],[102.985363,33.086542],[102.985606,33.086943],[102.985688,33.087077],[102.985791,33.087132],[102.985844,33.087097],[102.985954,33.087109],[102.986004,33.08717],[102.986062,33.087192],[102.986151,33.087228],[102.986235,33.087244],[102.986326,33.087276],[102.986372,33.087311],[102.986403,33.08737],[102.986421,33.087408],[102.986387,33.087446],[102.98656,33.087537],[102.986654,33.087565],[102.987126,33.087706],[102.987181,33.087722],[102.987238,33.087739],[102.987875,33.08793],[102.988353,33.088182],[102.98871,33.08837],[102.988824,33.08843],[102.988965,33.088505],[102.988999,33.088951],[102.988992,33.089262],[102.988989,33.08941],[102.989081,33.089449],[102.989128,33.089493],[102.989139,33.089546],[102.989134,33.089602],[102.989111,33.089673],[102.989084,33.08971],[102.989027,33.089721],[102.988982,33.089715],[102.988919,33.08973],[102.988867,33.089752],[102.988813,33.08978],[102.988806,33.089824],[102.988826,33.089876],[102.98889,33.089939],[102.988927,33.089973],[102.988983,33.090017],[102.989034,33.090084],[102.989064,33.090145],[102.98911,33.090215],[102.989172,33.090273],[102.989269,33.090339],[102.989364,33.090465],[102.989491,33.090631],[102.990656,33.091231],[102.990756,33.091283],[102.990985,33.092048],[102.991003,33.092105],[102.991231,33.092496],[102.991257,33.092503],[102.991334,33.092519],[102.99138,33.092545],[102.99138,33.09259],[102.991339,33.092682],[102.99128,33.092725],[102.991255,33.092758],[102.991244,33.092806],[102.99125,33.092842],[102.991264,33.092873],[102.991287,33.092873],[102.99143,33.092838],[102.991706,33.093312],[102.991724,33.093342],[102.991725,33.093344],[102.991776,33.093355],[102.99183,33.093432],[102.991842,33.093494],[102.991864,33.093598],[102.991904,33.093685],[102.991958,33.093747],[102.992026,33.093815],[102.992094,33.093871],[102.992155,33.093915],[102.992219,33.093995],[102.992241,33.094058],[102.992209,33.094111],[102.992198,33.094183],[102.992208,33.094264],[102.992217,33.094338],[102.99226,33.094404],[102.992323,33.094442],[102.992435,33.094488],[102.992556,33.094709],[102.992569,33.094733],[102.992645,33.094872],[102.992657,33.094894],[102.992714,33.094999],[102.992724,33.095018],[102.992778,33.095116],[102.992791,33.09514],[102.992882,33.095307],[102.992893,33.095326],[102.992898,33.095336],[102.992957,33.095443],[102.992963,33.095448],[102.992987,33.095468],[102.993024,33.095499],[102.993059,33.095529],[102.993073,33.09554],[102.993191,33.09555],[102.993223,33.095552],[102.993248,33.09558],[102.993257,33.095624],[102.993266,33.095702],[102.993371,33.09579],[102.993453,33.095858],[102.993528,33.095921],[102.993551,33.09594],[102.993953,33.096277],[102.994552,33.097104],[102.995163,33.097344],[102.99534,33.097414],[102.995491,33.097303],[102.995513,33.097287],[102.995616,33.097212],[102.995789,33.097086],[102.995836,33.097096],[102.996039,33.097137],[102.996049,33.097139],[102.996102,33.09715],[102.99658,33.097248],[102.996695,33.097323],[102.996696,33.097265],[102.996695,33.097258],[102.996755,33.097256],[102.996838,33.097266],[102.996882,33.097285],[102.996913,33.097317],[102.996921,33.097354],[102.996911,33.097401],[102.996895,33.097455],[102.996909,33.097464],[102.997102,33.097591],[102.997232,33.097846],[102.99729,33.097841],[102.997343,33.097873],[102.997366,33.097918],[102.997368,33.097952],[102.99735,33.098004],[102.997308,33.098053],[102.997269,33.098059],[102.997233,33.09805],[102.997188,33.098032],[102.997137,33.098023],[102.997117,33.098035],[102.997103,33.098058],[102.997106,33.098094],[102.997135,33.098114],[102.997192,33.098145],[102.997242,33.098183],[102.997264,33.098226],[102.997264,33.098252],[102.997253,33.09827],[102.997227,33.098283],[102.997205,33.098296],[102.997209,33.098322],[102.997229,33.098339],[102.997277,33.09835],[102.997257,33.09855],[102.997256,33.098559],[102.997261,33.098615],[102.997271,33.098733],[102.997283,33.098875],[102.997206,33.098814],[102.997176,33.098787],[102.997123,33.098759],[102.99708,33.098754],[102.997051,33.098769],[102.997049,33.098811],[102.997095,33.098853],[102.997173,33.098898],[102.997243,33.098937],[102.997298,33.098966],[102.997385,33.099005],[102.997433,33.099035],[102.997437,33.099062],[102.997408,33.099089],[102.997359,33.099106],[102.997245,33.09913],[102.997172,33.099122],[102.99712,33.099096],[102.997095,33.099069],[102.997072,33.099044],[102.997038,33.099053],[102.997021,33.099073],[102.997039,33.099118],[102.997092,33.099162],[102.997137,33.099183],[102.997202,33.099217],[102.997226,33.099245],[102.997236,33.099284],[102.99724,33.099318],[102.997229,33.099362],[102.997202,33.099375],[102.997156,33.09938],[102.997122,33.099373],[102.9971,33.099379],[102.997073,33.099441],[102.997065,33.09949],[102.997027,33.099529],[102.996954,33.099554],[102.996924,33.099588],[102.996922,33.099634],[102.996923,33.099675],[102.996888,33.099719],[102.99685,33.09973],[102.996832,33.099749],[102.996854,33.099772],[102.99689,33.099779],[102.996915,33.099769],[102.996949,33.099732],[102.996991,33.099665],[102.997023,33.099625],[102.997057,33.099629],[102.997096,33.09965],[102.997132,33.099661],[102.997193,33.099649],[102.99725,33.099618],[102.997295,33.099615],[102.997341,33.099643],[102.997363,33.099695],[102.997361,33.099735],[102.997318,33.09976],[102.997232,33.099787],[102.997161,33.099794],[102.99711,33.09981],[102.997119,33.099837],[102.997156,33.099868],[102.997185,33.099874],[102.997206,33.099869],[102.997239,33.099837],[102.997281,33.099804],[102.997319,33.099782],[102.997366,33.099756],[102.997403,33.09975],[102.997437,33.099751],[102.997473,33.099767],[102.997485,33.099807],[102.99749,33.099873],[102.997499,33.099931],[102.997508,33.09996],[102.997532,33.100005],[102.99756,33.100042],[102.997607,33.100056],[102.997651,33.100049],[102.9978,33.099964],[102.997858,33.099933],[102.997886,33.099945],[102.997924,33.099988],[102.997929,33.100036],[102.997922,33.100064],[102.997913,33.10008],[102.997882,33.10011],[102.997876,33.100149],[102.997883,33.100164],[102.997911,33.100193],[102.997955,33.100218],[102.998054,33.100247],[102.99809,33.100244],[102.998117,33.100225],[102.998153,33.100255],[102.998188,33.100283],[102.998445,33.100478],[102.998839,33.100777],[102.999123,33.101199],[102.999213,33.101333],[102.999221,33.101345],[102.999211,33.101419],[102.999219,33.10149],[102.99924,33.101526],[102.999299,33.101548],[102.999332,33.101555],[102.999365,33.10156],[102.999383,33.101556],[102.999431,33.101555],[102.99948,33.101555],[102.99955,33.101557],[102.999567,33.101567],[102.99956,33.101582],[102.999525,33.101596],[102.999425,33.10163],[102.999457,33.101658],[102.99957,33.101757],[102.999784,33.101944],[103.000106,33.102294],[103.000462,33.10268],[103.000611,33.103062],[103.000655,33.103075],[103.000689,33.103106],[103.000712,33.103138],[103.000733,33.103183],[103.000763,33.103218],[103.000804,33.103233],[103.000831,33.103253],[103.000861,33.103282],[103.000853,33.103309],[103.000822,33.103328],[103.000788,33.10334],[103.00074,33.103394],[103.000745,33.103408],[103.000818,33.103578],[103.000854,33.103663],[103.001029,33.104074],[103.001466,33.104616],[103.00167,33.104724],[103.001836,33.104811],[103.002321,33.104818],[103.002523,33.104738],[103.002571,33.104718],[103.00256,33.104701],[103.002561,33.104674],[103.002573,33.104646],[103.002598,33.10461],[103.002622,33.104577],[103.002643,33.104541],[103.002658,33.104529],[103.002673,33.104527],[103.002698,33.104549],[103.002706,33.104574],[103.002712,33.104598],[103.002719,33.104615],[103.002728,33.104625],[103.002753,33.10463],[103.002788,33.104621],[103.002821,33.104602],[103.002833,33.104573],[103.002837,33.104544],[103.002842,33.104515],[103.002854,33.104493],[103.002885,33.104484],[103.002919,33.104494],[103.002962,33.104516],[103.002983,33.104539],[103.00299,33.104569],[103.003026,33.104565],[103.003063,33.104554],[103.003089,33.104541],[103.003113,33.104531],[103.003137,33.104528],[103.003157,33.104528],[103.003185,33.104535],[103.003215,33.104544],[103.003236,33.104542],[103.003675,33.104494],[103.003857,33.104717],[103.00381,33.105126],[103.003771,33.105182],[103.003661,33.105336],[103.003653,33.105348],[103.003608,33.105411],[103.003668,33.105385],[103.003688,33.105378],[103.003733,33.105374],[103.003761,33.105384],[103.003766,33.105404],[103.003751,33.105424],[103.003718,33.105444],[103.003664,33.105459],[103.003608,33.105478],[103.003584,33.105493],[103.003553,33.105529],[103.003535,33.105556],[103.003519,33.105584],[103.003495,33.105613],[103.003465,33.10564],[103.003447,33.105681],[103.003393,33.105798],[103.003386,33.105814],[103.003347,33.105898],[103.003344,33.105905],[103.003415,33.106097],[103.003428,33.106132],[103.003433,33.106145],[103.003433,33.106145],[103.003507,33.106343],[103.003516,33.106369],[103.003487,33.10638],[103.00347,33.106374],[103.003449,33.106364],[103.003438,33.106356],[103.003432,33.106401],[103.003435,33.106458],[103.003453,33.106491],[103.003558,33.10652],[103.003708,33.106527],[103.003742,33.106542],[103.003747,33.10657],[103.003729,33.106607],[103.003699,33.10671],[103.003699,33.106752],[103.003701,33.106825],[103.003722,33.106883],[103.003756,33.106942],[103.003803,33.106974],[103.003907,33.106978],[103.004004,33.106968],[103.004061,33.106946],[103.004131,33.106907],[103.004186,33.106848],[103.004233,33.106786],[103.004308,33.106712],[103.004325,33.106664],[103.004345,33.106648],[103.00437,33.106652],[103.004399,33.106657],[103.00444,33.10668],[103.004461,33.106699],[103.004482,33.106748],[103.004496,33.106799],[103.004506,33.106828],[103.004519,33.106844],[103.00455,33.106869],[103.004616,33.106874],[103.004659,33.106866],[103.004743,33.106819],[103.00483,33.106814],[103.004875,33.10685],[103.004908,33.10688],[103.004916,33.106908],[103.004904,33.106996],[103.004934,33.10703],[103.004985,33.107085],[103.005013,33.107163],[103.004992,33.107208],[103.004963,33.107274],[103.004968,33.107329],[103.004978,33.107358],[103.005021,33.107416],[103.005063,33.107478],[103.005115,33.10752],[103.005172,33.107558],[103.005246,33.107583],[103.005359,33.107587],[103.005458,33.107614],[103.005522,33.107672],[103.005559,33.107681],[103.005603,33.10769],[103.005652,33.107725],[103.005677,33.10776],[103.005706,33.107784],[103.005742,33.107806],[103.00579,33.107832],[103.005847,33.107851],[103.005915,33.107876],[103.005961,33.107893],[103.005998,33.107912],[103.006019,33.107956],[103.006044,33.107994],[103.006084,33.108065],[103.006087,33.108071],[103.006123,33.108138],[103.006175,33.108189],[103.006197,33.108208],[103.006188,33.108258],[103.006154,33.108294],[103.006129,33.108331],[103.006118,33.108386],[103.006117,33.108444],[103.006144,33.108498],[103.006168,33.108517],[103.00619,33.108526],[103.006234,33.108528],[103.006266,33.108524],[103.006357,33.108508],[103.00638,33.108531],[103.006379,33.10856],[103.006369,33.108576],[103.006348,33.108603],[103.006355,33.10864],[103.006369,33.10867],[103.006384,33.108684],[103.00641,33.108697],[103.006518,33.108739],[103.006557,33.108762],[103.006601,33.108786],[103.006632,33.108787],[103.006687,33.108786],[103.006695,33.10878],[103.006728,33.108793],[103.006768,33.10882],[103.006804,33.108836],[103.006842,33.108845],[103.006822,33.108886],[103.006861,33.108955],[103.006867,33.108965],[103.006869,33.108988],[103.006866,33.10903],[103.006872,33.109076],[103.006899,33.109105],[103.006951,33.109125],[103.00699,33.109143],[103.007032,33.109168],[103.007074,33.109199],[103.007127,33.109235],[103.00719,33.109263],[103.007251,33.109271],[103.007288,33.109267],[103.007331,33.109251],[103.007364,33.109229],[103.007389,33.109207],[103.007427,33.10919],[103.007481,33.109181],[103.007532,33.109172],[103.007569,33.109152],[103.0076,33.109133],[103.00762,33.109107],[103.007631,33.109081],[103.00765,33.109055],[103.007681,33.109035],[103.00774,33.109025],[103.007767,33.109031],[103.007805,33.109058],[103.007843,33.109091],[103.007875,33.109118],[103.007899,33.109136],[103.007941,33.109158],[103.007972,33.109163],[103.008006,33.109164],[103.008024,33.109151],[103.008034,33.10913],[103.008035,33.109108],[103.008104,33.109123],[103.008133,33.109129],[103.008298,33.10914],[103.00854,33.109156],[103.008569,33.109158],[103.008768,33.109171],[103.008904,33.10925],[103.008943,33.109273],[103.0091,33.109365],[103.009122,33.109384],[103.00918,33.109435],[103.009376,33.109607],[103.00943,33.109653],[103.009375,33.109836],[103.00936,33.109883],[103.009268,33.110186],[103.009288,33.110682],[103.009292,33.110784],[103.009659,33.111186],[103.009682,33.11121],[103.009723,33.111256],[103.00973,33.111263],[103.009893,33.111342],[103.009935,33.111325],[103.01,33.111311],[103.010083,33.111311],[103.010156,33.111314],[103.010265,33.11135],[103.010366,33.111375],[103.010445,33.111369],[103.010554,33.111331],[103.010665,33.111322],[103.010739,33.111335],[103.010801,33.111368],[103.010876,33.111395],[103.010967,33.111397],[103.011032,33.111365],[103.011101,33.111305],[103.011155,33.111273],[103.01121,33.111226],[103.011258,33.111167],[103.011289,33.111109],[103.011292,33.111046],[103.011297,33.110965],[103.011296,33.110948],[103.011294,33.110872],[103.011289,33.110846],[103.011283,33.110811],[103.011261,33.110768],[103.011244,33.110724],[103.011261,33.110682],[103.01129,33.110681],[103.011367,33.110686],[103.011415,33.110684],[103.011445,33.110668],[103.01145,33.110631],[103.01145,33.110589],[103.011445,33.110502],[103.011426,33.110441],[103.011399,33.110405],[103.011351,33.110362],[103.011326,33.110322],[103.011289,33.110261],[103.011244,33.110198],[103.011191,33.110137],[103.011166,33.110087],[103.011161,33.110039],[103.01121,33.110019],[103.011342,33.110021],[103.01139,33.11003],[103.011419,33.110059],[103.011431,33.110094],[103.011452,33.110135],[103.011465,33.110176],[103.011465,33.110202],[103.011477,33.110236],[103.011494,33.110262],[103.011517,33.110275],[103.011539,33.110286],[103.011574,33.110294],[103.011618,33.110295],[103.011663,33.110288],[103.011723,33.110264],[103.01176,33.110249],[103.011802,33.110238],[103.011854,33.110239],[103.011867,33.110243],[103.011884,33.11025],[103.011908,33.110262],[103.011949,33.110279],[103.011996,33.11031],[103.012034,33.110329],[103.012073,33.110335],[103.012119,33.110336],[103.01215,33.110323],[103.012179,33.110306],[103.012215,33.110292],[103.012249,33.110307],[103.012279,33.110326],[103.012294,33.110346],[103.012315,33.110363],[103.01233,33.110377],[103.012354,33.110384],[103.012387,33.110395],[103.012399,33.110411],[103.012417,33.110456],[103.012438,33.110483],[103.01246,33.110524],[103.012476,33.110539],[103.012514,33.110544],[103.012549,33.110541],[103.012582,33.110521],[103.012608,33.11049],[103.012624,33.110462],[103.012635,33.110433],[103.012645,33.110402],[103.012647,33.110383],[103.012651,33.110309],[103.012655,33.110247],[103.012664,33.110181],[103.012681,33.110114],[103.012711,33.110064],[103.012754,33.110042],[103.012834,33.110054],[103.012879,33.11008],[103.01294,33.110128],[103.012976,33.110158],[103.013011,33.110179],[103.013046,33.110188],[103.013076,33.11019],[103.013119,33.110184],[103.013163,33.110173],[103.013213,33.110147],[103.013263,33.110121],[103.013321,33.110092],[103.013499,33.110002],[103.013621,33.110004],[103.014019,33.11001],[103.014171,33.110012],[103.014503,33.110238],[103.01452,33.110348],[103.01456,33.110604],[103.014577,33.110714],[103.014617,33.110722],[103.01463,33.110731],[103.014637,33.110752],[103.014632,33.110773],[103.014622,33.110794],[103.014613,33.110827],[103.014606,33.110852],[103.014608,33.110882],[103.014616,33.110908],[103.014622,33.11093],[103.014623,33.11095],[103.014608,33.11097],[103.014606,33.110971],[103.01461,33.111045],[103.014627,33.111373],[103.014501,33.112],[103.014595,33.112058],[103.014631,33.112079],[103.014639,33.112084],[103.01468,33.112056],[103.014699,33.112052],[103.01473,33.112067],[103.01474,33.112083],[103.014753,33.112105],[103.01476,33.112128],[103.014799,33.112181],[103.014803,33.11219],[103.01483,33.112213],[103.014869,33.112235],[103.014891,33.112254],[103.0149,33.112265],[103.014899,33.112282],[103.014883,33.112291],[103.014869,33.112315],[103.01487,33.112339],[103.014885,33.112356],[103.014915,33.112368],[103.014983,33.11238],[103.015029,33.112371],[103.015072,33.112441],[103.015159,33.112584],[103.015171,33.112604],[103.015233,33.112705],[103.015147,33.113207],[103.015495,33.113537],[103.015586,33.113623],[103.015586,33.113623],[103.015607,33.113647],[103.015956,33.114065],[103.015987,33.114101],[103.016025,33.114142],[103.016091,33.114214],[103.016252,33.114387],[103.016462,33.114613],[103.016481,33.114728],[103.016576,33.115299],[103.016578,33.115309],[103.016582,33.115332],[103.016593,33.115402],[103.016594,33.115406],[103.016597,33.115423],[103.016625,33.115571],[103.016629,33.115591],[103.016629,33.115595],[103.016641,33.115655],[103.016642,33.11566],[103.016644,33.115674],[103.016688,33.11591],[103.016692,33.115932],[103.016736,33.116165],[103.01674,33.116186],[103.016794,33.116475],[103.017154,33.116731],[103.017179,33.116749],[103.017276,33.116817],[103.017298,33.116833],[103.017383,33.116893],[103.017663,33.116975],[103.017705,33.116953],[103.017729,33.116943],[103.017775,33.11694],[103.017807,33.116952],[103.01784,33.116968],[103.01788,33.116993],[103.017896,33.117014],[103.01791,33.117046],[103.018059,33.11709],[103.018113,33.117106],[103.018131,33.117111],[103.018339,33.117171],[103.018373,33.117162],[103.01848,33.11713],[103.018576,33.117134],[103.018644,33.117219],[103.018717,33.117248],[103.018781,33.117259],[103.01886,33.117251],[103.018922,33.117232],[103.018993,33.117217],[103.019029,33.117227],[103.019063,33.117257],[103.01909,33.117324],[103.019136,33.117383],[103.019171,33.117423],[103.019227,33.117455],[103.019271,33.117467],[103.01934,33.117468],[103.01941,33.117467],[103.019487,33.117487],[103.019513,33.1175],[103.019526,33.117542],[103.019522,33.117614],[103.019517,33.117658],[103.019664,33.117741],[103.019643,33.117793],[103.019632,33.117834],[103.019632,33.117883],[103.019655,33.117933],[103.019679,33.11796],[103.01971,33.117963],[103.019749,33.117945],[103.019803,33.117915],[103.01985,33.117903],[103.019911,33.117897],[103.019928,33.117944],[103.019958,33.118024],[103.019978,33.118007],[103.019996,33.11798],[103.020016,33.117962],[103.020043,33.117953],[103.020088,33.11795],[103.020128,33.117959],[103.020157,33.117976],[103.02019,33.117999],[103.020206,33.118021],[103.020221,33.118044],[103.020234,33.11808],[103.020226,33.118118],[103.020222,33.118142],[103.020238,33.118171],[103.02026,33.118182],[103.020298,33.118188],[103.020332,33.118208],[103.020321,33.118223],[103.020284,33.118238],[103.020264,33.11825],[103.020241,33.118255],[103.020212,33.118261],[103.020172,33.118265],[103.020138,33.11826],[103.020111,33.118242],[103.020092,33.118216],[103.020085,33.11819],[103.020078,33.118171],[103.020058,33.118124],[103.02004,33.118113],[103.020011,33.1181],[103.019985,33.118097],[103.020003,33.118145],[103.020047,33.118264],[103.020116,33.118448],[103.020461,33.118531],[103.020674,33.118582],[103.021023,33.118707],[103.021082,33.118727],[103.02123,33.11878],[103.021264,33.118818],[103.021668,33.119259],[103.021699,33.119563],[103.021709,33.119658],[103.021755,33.119696],[103.021771,33.119717],[103.0218,33.119749],[103.021803,33.119782],[103.021798,33.119809],[103.02179,33.119836],[103.021779,33.119871],[103.02177,33.119906],[103.021761,33.119946],[103.02174,33.119989],[103.021719,33.120008],[103.021712,33.120032],[103.021712,33.120054],[103.021732,33.120073],[103.021747,33.120079],[103.02175,33.120118],[103.02175,33.120128],[103.021751,33.120141],[103.021759,33.120236],[103.021818,33.120291],[103.021938,33.120401],[103.022415,33.120837],[103.022528,33.120941],[103.022644,33.121014],[103.022688,33.121041],[103.022719,33.12106],[103.022731,33.121077],[103.022764,33.121121],[103.022797,33.121165],[103.022819,33.121194],[103.022852,33.121206],[103.022891,33.121212],[103.023045,33.121264],[103.023128,33.121265],[103.023429,33.12127],[103.023567,33.121273],[103.023582,33.121267],[103.023599,33.121261],[103.023618,33.121256],[103.023699,33.121247],[103.023802,33.121254],[103.023859,33.121263],[103.024107,33.121217],[103.024118,33.121215],[103.024267,33.121187],[103.024305,33.121197],[103.024323,33.121202],[103.024347,33.121204],[103.024391,33.121216],[103.024421,33.121228],[103.024436,33.121242],[103.024437,33.121252],[103.024436,33.121282],[103.024428,33.121298],[103.024411,33.121327],[103.024412,33.121345],[103.024417,33.121366],[103.024447,33.12138],[103.024487,33.121386],[103.024533,33.121385],[103.024584,33.121375],[103.024615,33.121359],[103.024641,33.121332],[103.024656,33.121303],[103.024667,33.12127],[103.024676,33.121243],[103.02469,33.121208],[103.024697,33.121179],[103.024707,33.12115],[103.024712,33.121132],[103.024706,33.121106],[103.024694,33.121069],[103.024691,33.121055],[103.024673,33.121016],[103.024667,33.120986],[103.024668,33.120965],[103.024707,33.120954],[103.024752,33.120978],[103.024784,33.121002],[103.02483,33.121043],[103.024841,33.12108],[103.024842,33.1211],[103.024838,33.12112],[103.024832,33.121139],[103.024827,33.121157],[103.024818,33.121179],[103.02481,33.1212],[103.02481,33.12122],[103.024813,33.121242],[103.024828,33.121258],[103.024857,33.121269],[103.024913,33.12128],[103.024953,33.12128],[103.024998,33.121276],[103.025021,33.121267],[103.025046,33.121243],[103.025058,33.121226],[103.025074,33.121189],[103.025083,33.121166],[103.02508,33.121149],[103.025077,33.121132],[103.025074,33.121114],[103.02507,33.121097],[103.025068,33.12108],[103.025069,33.12106],[103.025233,33.121048],[103.025968,33.120996],[103.026047,33.121012],[103.027122,33.121234],[103.027291,33.121322],[103.027936,33.121656],[103.028157,33.122108],[103.028165,33.122123],[103.028195,33.122184],[103.028227,33.12225],[103.028294,33.122386],[103.028276,33.123172],[103.028262,33.123248],[103.02826,33.123263],[103.028233,33.123408],[103.028224,33.123457],[103.028215,33.123508],[103.028197,33.12361],[103.028191,33.123643],[103.02828,33.123744],[103.028341,33.123746],[103.028413,33.123757],[103.028481,33.123776],[103.028525,33.123794],[103.028573,33.123817],[103.028609,33.123843],[103.028641,33.123869],[103.028654,33.123896],[103.028675,33.123929],[103.028697,33.123947],[103.028743,33.123974],[103.028931,33.124001],[103.029399,33.123982],[103.029492,33.123979],[103.029903,33.124017],[103.030231,33.124303],[103.030184,33.124324],[103.030172,33.124341],[103.03015,33.12438],[103.03015,33.124395],[103.030169,33.124422],[103.030176,33.124426],[103.0302,33.124441],[103.030236,33.124452],[103.030261,33.124464],[103.030276,33.12446],[103.030311,33.124589],[103.030332,33.124666],[103.030344,33.124711],[103.030371,33.124811],[103.030514,33.125128],[103.030848,33.125228],[103.031089,33.125104],[103.031158,33.125069],[103.031265,33.125014],[103.031688,33.124485],[103.032065,33.124366],[103.032677,33.124505],[103.032726,33.124516],[103.032809,33.124535],[103.032961,33.124553],[103.033704,33.124643],[103.034095,33.12459],[103.034243,33.12457],[103.034517,33.124532],[103.034525,33.124553],[103.034536,33.124568],[103.034593,33.124613],[103.034631,33.124633],[103.034661,33.124638],[103.034692,33.124636],[103.034729,33.124615],[103.034762,33.124594],[103.034789,33.124577],[103.034813,33.124572],[103.034847,33.124581],[103.034875,33.124596],[103.034905,33.124603],[103.034955,33.1246],[103.034989,33.124583],[103.035013,33.124569],[103.035031,33.124554],[103.035045,33.124538],[103.035058,33.124523],[103.03507,33.124501],[103.03508,33.124475],[103.035076,33.124449],[103.035065,33.124432],[103.035036,33.124404],[103.035004,33.124382],[103.034983,33.124362],[103.034979,33.124341],[103.034987,33.12433],[103.035002,33.124321],[103.035036,33.124313],[103.03506,33.124312],[103.035083,33.124318],[103.035103,33.124328],[103.035114,33.124342],[103.035128,33.124365],[103.03514,33.124393],[103.035152,33.12442],[103.035161,33.124444],[103.035171,33.124467],[103.035184,33.124484],[103.035197,33.124492],[103.035224,33.124505],[103.035254,33.124513],[103.035282,33.124514],[103.035358,33.124509],[103.035388,33.124499],[103.035418,33.124485],[103.035435,33.12447],[103.035452,33.124452],[103.035468,33.124439],[103.03549,33.124428],[103.035528,33.124416],[103.035556,33.124417],[103.035585,33.124433],[103.035582,33.12446],[103.035569,33.124475],[103.035554,33.12448],[103.035521,33.124498],[103.035506,33.124507],[103.035488,33.124515],[103.035468,33.124537],[103.035457,33.124556],[103.03545,33.124578],[103.035469,33.124601],[103.035495,33.124618],[103.035524,33.124635],[103.0356,33.124646],[103.035688,33.124632],[103.035736,33.124615],[103.035986,33.124648],[103.036034,33.124659],[103.036544,33.124782],[103.037105,33.12476],[103.037527,33.124326],[103.037817,33.124189],[103.03798,33.124113],[103.038271,33.124135],[103.038306,33.124154],[103.038333,33.124163],[103.038373,33.124166],[103.038415,33.124173],[103.038444,33.124185],[103.038464,33.124202],[103.038484,33.124223],[103.038517,33.124245],[103.038539,33.124276],[103.038553,33.12431],[103.038555,33.124333],[103.038546,33.124362],[103.038518,33.124381],[103.038501,33.124398],[103.038481,33.124411],[103.038436,33.124434],[103.038411,33.124474],[103.038413,33.124513],[103.038425,33.124551],[103.038448,33.124571],[103.038513,33.124587],[103.038555,33.124586],[103.038605,33.124583],[103.038675,33.124583],[103.038688,33.124588],[103.0387,33.12462],[103.038692,33.124676],[103.03867,33.124712],[103.038656,33.124758],[103.038661,33.124809],[103.038684,33.124856],[103.038519,33.125097],[103.038596,33.125186],[103.038802,33.125427],[103.038847,33.12548],[103.038988,33.125489],[103.039482,33.125521],[103.039545,33.125507],[103.040122,33.125374],[103.040426,33.125425],[103.040679,33.125468],[103.040783,33.125486],[103.040853,33.125498],[103.040882,33.125522],[103.040899,33.125528],[103.040928,33.125534],[103.040956,33.125543],[103.040983,33.125552],[103.041059,33.125596],[103.041078,33.12561],[103.041119,33.125639],[103.041149,33.12566],[103.041236,33.125722],[103.041531,33.125931],[103.041659,33.126276],[103.041739,33.126492],[103.041742,33.126501],[103.041752,33.126598],[103.041773,33.126816],[103.042328,33.127077],[103.04289,33.127023],[103.043303,33.126866],[103.043569,33.126765],[103.043607,33.126751],[103.044159,33.126667],[103.044217,33.126658],[103.044232,33.126656],[103.044241,33.126667],[103.044264,33.126685],[103.044317,33.1267],[103.044374,33.12671],[103.04443,33.126712],[103.044487,33.126698],[103.044542,33.126679],[103.044581,33.126657],[103.044608,33.126639],[103.044652,33.126598],[103.044706,33.126591],[103.044869,33.12657],[103.045201,33.126527],[103.045221,33.126524],[103.045236,33.126522],[103.045671,33.126437],[103.046265,33.126666],[103.04653,33.126727],[103.047009,33.126836],[103.04773,33.126817],[103.047767,33.126806],[103.047826,33.12679],[103.047852,33.126782],[103.047872,33.126786],[103.048322,33.126667],[103.048922,33.126582],[103.048939,33.126581],[103.049416,33.126555],[103.049724,33.126539],[103.049737,33.126538],[103.049821,33.126533],[103.05046,33.126324],[103.051291,33.126053],[103.052377,33.125975],[103.053574,33.125963],[103.054513,33.12582],[103.055303,33.125741],[103.055351,33.125736],[103.0556,33.125711],[103.05683,33.12561],[103.057211,33.125579],[103.058862,33.125353],[103.06006,33.125308],[103.061785,33.125115],[103.062842,33.125031],[103.063434,33.124983],[103.064328,33.125155],[103.065495,33.128226],[103.065744,33.128796],[103.066639,33.128904],[103.067463,33.128854],[103.069706,33.128952],[103.070755,33.128874],[103.072174,33.12899],[103.073453,33.130363],[103.073888,33.131056],[103.073944,33.131144],[103.074176,33.131514],[103.074196,33.131545],[103.074197,33.131547],[103.074212,33.131571],[103.074849,33.133249],[103.074696,33.133199],[103.074522,33.1332],[103.074424,33.133219],[103.074404,33.133266],[103.074413,33.133348],[103.074453,33.133441],[103.074526,33.133497],[103.07465,33.13355],[103.07474,33.13361],[103.074899,33.133736],[103.074911,33.133848],[103.075345,33.134516],[103.075937,33.13484],[103.078205,33.135473],[103.080146,33.135692],[103.081307,33.135615],[103.082047,33.135973],[103.082068,33.135976],[103.082831,33.136079],[103.083459,33.136435],[103.083375,33.136533],[103.083405,33.136675],[103.083504,33.136861],[103.083655,33.137189],[103.083754,33.137388],[103.083836,33.137593],[103.083871,33.137692],[103.083958,33.137849],[103.084016,33.137963],[103.084086,33.138087],[103.084166,33.138143],[103.084226,33.138185],[103.084857,33.139622],[103.085072,33.140113],[103.085129,33.140151],[103.085224,33.140233],[103.085315,33.140379],[103.085354,33.14045],[103.085389,33.140536],[103.085421,33.140686],[103.085444,33.140803],[103.085465,33.141064],[103.085475,33.141297],[103.085472,33.141386],[103.085452,33.141455],[103.085415,33.141544],[103.085437,33.141634],[103.085523,33.141687],[103.085621,33.141764],[103.085691,33.14185],[103.085825,33.14194],[103.085881,33.142075],[103.08591,33.142201],[103.085918,33.142236],[103.08612,33.143117],[103.086857,33.144555],[103.086859,33.144561],[103.08696,33.144758],[103.087435,33.145684],[103.087456,33.145725],[103.08805,33.146885],[103.0884,33.146937],[103.088753,33.147005],[103.089233,33.147077],[103.089483,33.147159],[103.089447,33.147234],[103.089426,33.147278],[103.08918,33.147425],[103.089075,33.14754],[103.088967,33.147656],[103.088687,33.147881],[103.088571,33.147901],[103.088994,33.148728],[103.088996,33.148731],[103.089146,33.149024],[103.08933,33.149383],[103.089382,33.149484],[103.089539,33.14979],[103.089566,33.149843],[103.089882,33.150504],[103.090067,33.150889],[103.090161,33.15174],[103.090206,33.152182],[103.090263,33.152222],[103.090656,33.152496],[103.09081,33.152518],[103.090868,33.152624],[103.090998,33.152814],[103.091019,33.15284],[103.09107,33.152903],[103.091142,33.152998],[103.091137,33.153141],[103.091011,33.153279],[103.090636,33.153434],[103.090474,33.153492],[103.090573,33.153681],[103.090963,33.154428],[103.091088,33.154546],[103.09188,33.155292],[103.092615,33.155869],[103.093157,33.15679],[103.093466,33.157091],[103.093816,33.15743],[103.093868,33.157689],[103.093918,33.157935],[103.093917,33.157965],[103.093906,33.158476],[103.093905,33.158502],[103.093633,33.159001],[103.093483,33.159257],[103.09305,33.159999],[103.092612,33.160511],[103.09225,33.160935],[103.091754,33.161517],[103.09159,33.161708],[103.09157,33.162652],[103.091701,33.163844],[103.091756,33.164341],[103.091772,33.164486],[103.091883,33.165497],[103.091888,33.165537],[103.09182,33.1656],[103.091591,33.165584],[103.091443,33.165639],[103.091433,33.165645],[103.09152,33.165732],[103.091714,33.165909],[103.091808,33.166057],[103.091888,33.166253],[103.092005,33.166424],[103.092069,33.166813],[103.09211,33.167067],[103.092237,33.168139],[103.093096,33.169946],[103.093294,33.170724],[103.093337,33.170894],[103.09339,33.171894],[103.09339,33.171902],[103.093389,33.172164],[103.093385,33.172831],[103.093383,33.173386],[103.093379,33.174136],[103.093372,33.174438],[103.093362,33.174923],[103.093373,33.175038],[103.093422,33.175514],[103.093454,33.175837],[103.093441,33.175994],[103.093354,33.177032],[103.093047,33.17776],[103.092959,33.17797],[103.092198,33.178525],[103.091267,33.179046],[103.090721,33.179352],[103.090478,33.179431],[103.088874,33.179953],[103.087701,33.180367],[103.087594,33.180405],[103.087304,33.180507],[103.087252,33.180526],[103.086823,33.180677],[103.08563,33.181099],[103.085248,33.181439],[103.085214,33.181739],[103.085211,33.181768],[103.085202,33.181848],[103.085297,33.182636],[103.085289,33.182678],[103.085324,33.182877],[103.08527,33.183026],[103.085192,33.183183],[103.08519,33.183189],[103.08515,33.183397],[103.08506,33.183867],[103.085001,33.184174],[103.084871,33.18499],[103.084533,33.185342],[103.084335,33.185548],[103.083301,33.186533],[103.082806,33.187004],[103.082559,33.187315],[103.08246,33.187439],[103.082395,33.187642],[103.082383,33.187679],[103.082203,33.188242],[103.082092,33.188588],[103.082058,33.188692],[103.082014,33.188936],[103.081956,33.189255],[103.081952,33.189281],[103.081888,33.189634],[103.081577,33.190154],[103.081422,33.190414],[103.080772,33.191033],[103.080742,33.191309],[103.080725,33.191473],[103.080745,33.191523],[103.080751,33.191537],[103.080823,33.191713],[103.080836,33.191745],[103.08084,33.191756],[103.080867,33.191821],[103.081351,33.191955],[103.081721,33.191943],[103.081886,33.191938],[103.081899,33.191938],[103.081958,33.191902],[103.082066,33.19181],[103.082112,33.191757],[103.082329,33.19159],[103.082392,33.191547],[103.082398,33.191543],[103.082451,33.191505],[103.082488,33.191492],[103.082516,33.191495],[103.082555,33.191513],[103.082596,33.191542],[103.08263,33.191599],[103.082653,33.191658],[103.082677,33.191719],[103.082695,33.191768],[103.082716,33.191841],[103.082902,33.191816],[103.082976,33.191806],[103.083019,33.1918],[103.083076,33.191792],[103.083448,33.191924],[103.083553,33.19224],[103.082907,33.192671],[103.081883,33.19365],[103.081745,33.194453],[103.081953,33.194776],[103.08197,33.194802],[103.082122,33.195038],[103.082174,33.19506],[103.082217,33.195077],[103.082723,33.195284],[103.082857,33.195266],[103.082981,33.19525],[103.083076,33.195224],[103.083133,33.195194],[103.083142,33.195189],[103.083191,33.195164],[103.083254,33.195153],[103.08331,33.195161],[103.083358,33.195175],[103.083421,33.195206],[103.083501,33.195271],[103.083544,33.195327],[103.083584,33.19541],[103.083614,33.195485],[103.083626,33.195557],[103.083651,33.195652],[103.083755,33.195693],[103.083847,33.195835],[103.083875,33.195878],[103.083887,33.196067],[103.083859,33.196239],[103.083729,33.196406],[103.083663,33.196439],[103.083446,33.196549],[103.083383,33.196555],[103.083266,33.196556],[103.0831,33.196536],[103.082739,33.196522],[103.082591,33.196513],[103.082365,33.196522],[103.082357,33.196523],[103.08222,33.196539],[103.082137,33.196549],[103.081945,33.196573],[103.081785,33.196592],[103.081622,33.196605],[103.081491,33.196606],[103.081331,33.196609],[103.081241,33.1966],[103.081251,33.196628],[103.08127,33.196648],[103.081124,33.196732],[103.081085,33.196772],[103.080943,33.196909],[103.080742,33.197243],[103.080539,33.197582],[103.080587,33.198112],[103.080676,33.198268],[103.080688,33.19829],[103.080789,33.198467],[103.080895,33.198517],[103.081137,33.19863],[103.081144,33.198634],[103.081234,33.198676],[103.081715,33.198582],[103.081888,33.198513],[103.082099,33.198428],[103.08244,33.198291],[103.082489,33.198296],[103.082555,33.198217],[103.08262,33.198143],[103.082697,33.198082],[103.082699,33.198079],[103.082786,33.198074],[103.082865,33.19809],[103.082921,33.198124],[103.082945,33.19817],[103.082961,33.19822],[103.082971,33.198278],[103.082963,33.198341],[103.083068,33.198351],[103.083177,33.198456],[103.083157,33.198507],[103.08312,33.198664],[103.083084,33.198775],[103.083059,33.198872],[103.083042,33.198998],[103.083035,33.199121],[103.083008,33.199311],[103.083005,33.199443],[103.083003,33.199518],[103.082924,33.199781],[103.082907,33.199878],[103.082892,33.199956],[103.082862,33.199997],[103.082788,33.200041],[103.082741,33.20011],[103.082688,33.200272],[103.082583,33.200607],[103.082499,33.200811],[103.082465,33.200898],[103.082445,33.200929],[103.082419,33.200969],[103.082386,33.201009],[103.082332,33.201038],[103.08222,33.201098],[103.082175,33.20115],[103.082164,33.201173],[103.082127,33.201252],[103.082114,33.201326],[103.082113,33.201417],[103.082133,33.201491],[103.082138,33.201509],[103.082184,33.201616],[103.082276,33.20179],[103.082301,33.201884],[103.082302,33.201969],[103.082285,33.202088],[103.082246,33.202247],[103.0822,33.202403],[103.082153,33.202553],[103.082127,33.202666],[103.082116,33.202755],[103.082113,33.202857],[103.082111,33.202899],[103.082112,33.203],[103.082119,33.203097],[103.082164,33.203194],[103.082263,33.203352],[103.082379,33.203491],[103.082453,33.203514],[103.082527,33.203537],[103.082759,33.203546],[103.082942,33.20351],[103.083046,33.203846],[103.083152,33.204185],[103.083178,33.20427],[103.083508,33.204275],[103.084149,33.203898],[103.084175,33.203883],[103.084268,33.203856],[103.08441,33.203814],[103.084467,33.203797],[103.084665,33.203739],[103.084748,33.203715],[103.08492,33.204071],[103.084919,33.204119],[103.084809,33.204158],[103.084768,33.204206],[103.084741,33.204302],[103.08475,33.204377],[103.084751,33.204513],[103.084662,33.204581],[103.084546,33.204601],[103.084496,33.204653],[103.084471,33.20473],[103.084434,33.204851],[103.084458,33.204939],[103.084369,33.205068],[103.08418,33.20523],[103.083937,33.2055],[103.083681,33.205639],[103.083577,33.205667],[103.083534,33.205638],[103.083541,33.20545],[103.083512,33.205459],[103.083355,33.205349],[103.083251,33.205276],[103.083043,33.20513],[103.082716,33.2049],[103.082598,33.204817],[103.082133,33.204598],[103.082023,33.205058],[103.082209,33.20634],[103.082276,33.206795],[103.082283,33.20685],[103.082431,33.207171],[103.082703,33.207763],[103.083185,33.20825],[103.083445,33.208513],[103.083783,33.208807],[103.0838,33.208759],[103.083913,33.208796],[103.084071,33.208828],[103.084195,33.208844],[103.084357,33.20886],[103.084457,33.208862],[103.084523,33.208973],[103.084538,33.209077],[103.084512,33.209245],[103.084455,33.209414],[103.084403,33.209471],[103.084466,33.209557],[103.0845,33.209603],[103.084356,33.209695],[103.084287,33.209739],[103.084253,33.209761],[103.084202,33.209769],[103.084099,33.209766],[103.083986,33.209752],[103.083821,33.209821],[103.083671,33.209884],[103.083589,33.209832],[103.083535,33.209788],[103.08346,33.209738],[103.083403,33.209732],[103.083301,33.209763],[103.083195,33.209848],[103.083094,33.209968],[103.082996,33.210085],[103.082863,33.210232],[103.082793,33.210313],[103.082724,33.210421],[103.082694,33.210516],[103.082618,33.210733],[103.082548,33.211232],[103.082421,33.211445],[103.082177,33.21175],[103.082181,33.211758],[103.082168,33.211786],[103.082143,33.211857],[103.082129,33.211944],[103.082133,33.212066],[103.082149,33.212129],[103.082156,33.212156],[103.082211,33.21222],[103.082311,33.212262],[103.082484,33.212292],[103.082946,33.212355],[103.083309,33.212205],[103.08364,33.212147],[103.08384,33.212116],[103.084106,33.211842],[103.084296,33.211648],[103.084646,33.211327],[103.084655,33.211319],[103.084809,33.211178],[103.085233,33.21079],[103.085705,33.211133],[103.085768,33.21129],[103.085838,33.211467],[103.085894,33.211606],[103.085928,33.211682],[103.085923,33.211687],[103.085892,33.211741],[103.085868,33.211806],[103.085862,33.21189],[103.085868,33.211953],[103.085904,33.21204],[103.085956,33.212135],[103.086012,33.212196],[103.086132,33.212289],[103.08628,33.212369],[103.086416,33.212429],[103.086487,33.212438],[103.086579,33.212419],[103.086675,33.212388],[103.086749,33.21234],[103.086809,33.212274],[103.086863,33.212205],[103.086918,33.212132],[103.086974,33.212107],[103.087082,33.21206],[103.087138,33.212024],[103.087409,33.211845],[103.087483,33.211797],[103.088134,33.211368],[103.088166,33.211322],[103.088214,33.211253],[103.088284,33.211175],[103.088358,33.211118],[103.088428,33.211072],[103.088509,33.211018],[103.088594,33.210987],[103.088654,33.210987],[103.088718,33.211004],[103.0888,33.211058],[103.089103,33.21095],[103.08945,33.211051],[103.089505,33.211067],[103.089515,33.21107],[103.08963,33.211104],[103.089752,33.211139],[103.089768,33.211352],[103.089793,33.211677],[103.089357,33.212118],[103.089001,33.212424],[103.088595,33.212772],[103.088567,33.212796],[103.088552,33.212809],[103.088538,33.212821],[103.088515,33.212841],[103.088435,33.212909],[103.088319,33.213355],[103.088362,33.213803],[103.088473,33.213777],[103.088578,33.213753],[103.088595,33.213749],[103.088854,33.213688],[103.088898,33.213677],[103.089024,33.213628],[103.089207,33.213476],[103.089281,33.213397],[103.089287,33.213362],[103.08933,33.213327],[103.089548,33.21315],[103.089597,33.213132],[103.089609,33.213127],[103.089959,33.212995],[103.090418,33.212822],[103.090461,33.212806],[103.09061,33.21291],[103.090615,33.212914],[103.090723,33.212989],[103.090518,33.213398],[103.090501,33.213433],[103.090215,33.213892],[103.090059,33.214143],[103.090069,33.214208],[103.090071,33.214221],[103.090102,33.214434],[103.090105,33.214456],[103.090846,33.214692],[103.091044,33.214685],[103.091067,33.214685],[103.091566,33.214668],[103.091568,33.214682],[103.091641,33.215074],[103.091658,33.215388],[103.091622,33.215637],[103.091606,33.215711],[103.091756,33.215721],[103.091844,33.216224],[103.091862,33.216351],[103.091967,33.217109],[103.09238,33.217454],[103.092421,33.217488],[103.092437,33.217502],[103.092636,33.217668],[103.092713,33.217735],[103.092743,33.217743],[103.0928,33.21776],[103.092896,33.217811],[103.092979,33.217875],[103.093082,33.217944],[103.093176,33.218056],[103.093206,33.218121],[103.093223,33.218182],[103.093224,33.218229],[103.093224,33.218296],[103.093214,33.218354],[103.093201,33.218384],[103.093205,33.218526],[103.09321,33.218703],[103.092939,33.219019],[103.092929,33.219031],[103.092482,33.219551],[103.092484,33.219643],[103.092484,33.219656],[103.09249,33.219883],[103.092495,33.220173],[103.092511,33.220188],[103.09257,33.220251],[103.092636,33.220322],[103.092932,33.220641],[103.092978,33.220654],[103.093031,33.220665],[103.093087,33.220684],[103.093155,33.220711],[103.093251,33.220765],[103.093483,33.220904],[103.093548,33.220946],[103.093591,33.220984],[103.093632,33.22102],[103.093642,33.221031],[103.093765,33.221058],[103.094547,33.22123],[103.095763,33.221463],[103.096141,33.221538],[103.096285,33.221519],[103.096425,33.22151],[103.096561,33.221496],[103.09672,33.221477],[103.096929,33.221462],[103.096986,33.221467],[103.097043,33.221491],[103.097086,33.221531],[103.097135,33.221597],[103.09716,33.221682],[103.097175,33.221786],[103.097163,33.221866],[103.097342,33.221965],[103.097471,33.222561],[103.097457,33.222587],[103.0971,33.223158],[103.096815,33.223719],[103.096935,33.224042],[103.096969,33.22413],[103.09709,33.224442],[103.097097,33.224505],[103.097104,33.224577],[103.09712,33.224732],[103.096991,33.224807],[103.096842,33.224777],[103.096861,33.224728],[103.096861,33.224691],[103.096851,33.224655],[103.09679,33.224609],[103.096716,33.224561],[103.096663,33.224547],[103.096632,33.224553],[103.096611,33.224584],[103.096581,33.22463],[103.096538,33.22466],[103.096477,33.224672],[103.09609,33.224472],[103.096048,33.224451],[103.09594,33.224397],[103.095932,33.224394],[103.095875,33.224422],[103.095818,33.22444],[103.09572,33.224456],[103.095604,33.224454],[103.095539,33.224448],[103.095476,33.224429],[103.09542,33.224401],[103.095369,33.224345],[103.09537,33.224363],[103.095378,33.224614],[103.095442,33.225012],[103.095644,33.225207],[103.09578,33.225338],[103.095913,33.225464],[103.095934,33.225483],[103.096224,33.225756],[103.096264,33.225744],[103.096297,33.22573],[103.096315,33.225718],[103.096334,33.225706],[103.096384,33.22567],[103.096491,33.225626],[103.096537,33.225627],[103.0966,33.225634],[103.096638,33.225651],[103.096667,33.225676],[103.096691,33.225713],[103.096719,33.225773],[103.096734,33.225832],[103.096735,33.225903],[103.096725,33.225978],[103.096709,33.226027],[103.09669,33.226065],[103.096745,33.226101],[103.096919,33.226408],[103.09683,33.226647],[103.096784,33.226809],[103.096704,33.226972],[103.096666,33.227085],[103.096622,33.227148],[103.096586,33.227188],[103.096527,33.227243],[103.096425,33.2273],[103.096347,33.227339],[103.096229,33.227373],[103.096149,33.227384],[103.096029,33.227385],[103.095937,33.227377],[103.095831,33.227359],[103.095741,33.227323],[103.095695,33.2273],[103.095665,33.227304],[103.095555,33.22732],[103.095094,33.227619],[103.095262,33.22781],[103.095272,33.22782],[103.095649,33.228009],[103.095724,33.228028],[103.095804,33.228019],[103.095927,33.228014],[103.096073,33.228025],[103.096131,33.228036],[103.096223,33.228053],[103.096376,33.228103],[103.096436,33.228135],[103.096444,33.228134],[103.096628,33.228131],[103.096658,33.228128],[103.096794,33.228165],[103.097034,33.228201],[103.097134,33.2282],[103.097209,33.228193],[103.097287,33.228165],[103.097357,33.228118],[103.097421,33.228052],[103.097723,33.228063],[103.097757,33.228052],[103.097831,33.228048],[103.097926,33.228043],[103.098002,33.228044],[103.098058,33.228058],[103.098091,33.228076],[103.098138,33.228078],[103.098486,33.228197],[103.098532,33.228213],[103.098932,33.22835],[103.099295,33.228594],[103.099292,33.228707],[103.099287,33.228849],[103.099295,33.228928],[103.099287,33.229126],[103.099325,33.22928],[103.099552,33.229709],[103.099744,33.230109],[103.100051,33.230478],[103.100121,33.230493],[103.100202,33.23052],[103.100289,33.230561],[103.100326,33.230579],[103.100366,33.230599],[103.100409,33.230632],[103.100463,33.230692],[103.100528,33.230765],[103.100568,33.230821],[103.100579,33.230837],[103.100614,33.230895],[103.100655,33.230996],[103.100684,33.231063],[103.100689,33.231081],[103.100689,33.231104],[103.100688,33.231119],[103.100718,33.231151],[103.10072,33.231157],[103.100749,33.231288],[103.100771,33.231443],[103.100749,33.231626],[103.10069,33.231778],[103.100632,33.23193],[103.100545,33.232049],[103.100442,33.232165],[103.100277,33.232264],[103.100119,33.232345],[103.099925,33.232418],[103.099787,33.232437],[103.099344,33.232369],[103.099155,33.23234],[103.098956,33.232232],[103.098755,33.232122],[103.098728,33.232107],[103.098594,33.232107],[103.098442,33.232104],[103.09829,33.232067],[103.098153,33.232022],[103.098016,33.231963],[103.097934,33.231907],[103.0979,33.231872],[103.097881,33.231868],[103.097324,33.231742],[103.097318,33.23174],[103.097265,33.231699],[103.09715,33.231639],[103.096787,33.231478],[103.09662,33.231412],[103.096522,33.231383],[103.09642,33.231365],[103.096359,33.231365],[103.096214,33.231302],[103.095845,33.231263],[103.095799,33.231303],[103.095737,33.231346],[103.095626,33.23137],[103.09555,33.231379],[103.095468,33.231383],[103.095388,33.231375],[103.09527,33.231347],[103.095188,33.231414],[103.095121,33.231468],[103.095046,33.231529],[103.094911,33.231893],[103.094936,33.232413],[103.095287,33.232969],[103.095344,33.233096],[103.095505,33.233459],[103.095547,33.233553],[103.095446,33.233682],[103.095427,33.233831],[103.095392,33.233918],[103.095369,33.233996],[103.095327,33.234115],[103.095307,33.234211],[103.095288,33.234339],[103.095314,33.234396],[103.095291,33.234466],[103.095281,33.234628],[103.095263,33.234939],[103.095433,33.235172],[103.095446,33.235188],[103.095601,33.235402],[103.095648,33.235405],[103.095684,33.235412],[103.095766,33.235437],[103.095816,33.235462],[103.095876,33.235499],[103.095926,33.235521],[103.095945,33.235528],[103.095987,33.235544],[103.096051,33.235563],[103.096155,33.235592],[103.096252,33.235624],[103.096329,33.235652],[103.096461,33.235733],[103.09651,33.235776],[103.09656,33.235827],[103.09677,33.235863],[103.096823,33.235886],[103.097226,33.236057],[103.097256,33.236069],[103.097298,33.236126],[103.097415,33.236286],[103.097153,33.236633],[103.096642,33.23702],[103.09658,33.237067],[103.096548,33.237115],[103.096541,33.237126],[103.096373,33.237385],[103.09642,33.23759],[103.096439,33.237676],[103.096569,33.23777],[103.096656,33.23776],[103.096791,33.237769],[103.096885,33.237802],[103.096928,33.237856],[103.096977,33.237861],[103.097072,33.237869],[103.097192,33.237772],[103.09722,33.237749],[103.097479,33.237539],[103.09754,33.237492],[103.09764,33.237417],[103.098183,33.237006],[103.09831,33.23691],[103.098607,33.236733],[103.098702,33.236676],[103.09891,33.236552],[103.099157,33.236404],[103.099791,33.236551],[103.100005,33.236738],[103.100003,33.237054],[103.099892,33.237211],[103.099339,33.237771],[103.09873,33.238018],[103.098694,33.238166],[103.098626,33.238444],[103.098623,33.238457],[103.098599,33.238467],[103.098535,33.238496],[103.098348,33.238579],[103.098347,33.238579],[103.098255,33.23862],[103.098144,33.238772],[103.09788,33.239134],[103.097791,33.239548],[103.097771,33.239638],[103.097739,33.239789],[103.097794,33.240092],[103.097852,33.240417],[103.097885,33.240519],[103.097887,33.240527],[103.098125,33.241276],[103.097955,33.241564],[103.097685,33.241568],[103.097427,33.241571],[103.097363,33.241517],[103.097327,33.241487],[103.097325,33.241485],[103.097318,33.241479],[103.096892,33.24112],[103.096243,33.240104],[103.096112,33.239932],[103.096064,33.239941],[103.095986,33.239892],[103.095795,33.239738],[103.095763,33.239739],[103.095589,33.239747],[103.095525,33.239749],[103.095508,33.23975],[103.095431,33.239753],[103.094674,33.240119],[103.09465,33.240131],[103.094604,33.240153],[103.094458,33.240168],[103.093711,33.240246],[103.093265,33.240223],[103.093203,33.24022],[103.093182,33.240235],[103.093065,33.240286],[103.092893,33.240343],[103.092764,33.240367],[103.092608,33.240354],[103.092525,33.240332],[103.092486,33.240345],[103.092473,33.24035],[103.092267,33.240606],[103.092307,33.24074],[103.092327,33.240806],[103.092386,33.241005],[103.092683,33.241544],[103.093072,33.242039],[103.093301,33.242525],[103.093305,33.242533],[103.09342,33.242778],[103.093421,33.242783],[103.093453,33.242923],[103.093569,33.243437],[103.093523,33.24391],[103.093321,33.24409],[103.093037,33.244345],[103.092837,33.244526],[103.092437,33.244641],[103.092251,33.244694],[103.092233,33.2447],[103.091934,33.244669],[103.091544,33.244628],[103.090967,33.244466],[103.090912,33.244451],[103.0906,33.24443],[103.090583,33.244461],[103.090563,33.244491],[103.09053,33.244517],[103.090472,33.244538],[103.09038,33.244557],[103.090299,33.244561],[103.09025,33.244564],[103.090176,33.244558],[103.090102,33.244548],[103.090046,33.244537],[103.089991,33.244511],[103.089965,33.244502],[103.089934,33.244497],[103.089894,33.244499],[103.089852,33.2445],[103.089812,33.244501],[103.089776,33.244494],[103.089752,33.24448],[103.08974,33.244463],[103.08973,33.244436],[103.08942,33.244487],[103.089341,33.2445],[103.089328,33.244502],[103.08932,33.244508],[103.088878,33.244814],[103.088572,33.245025],[103.088561,33.245036],[103.088527,33.245073],[103.08848,33.245123],[103.088445,33.245086],[103.088406,33.245035],[103.088365,33.24502],[103.08834,33.245031],[103.088307,33.245079],[103.088296,33.24512],[103.088294,33.245131],[103.088296,33.245173],[103.088306,33.245224],[103.08834,33.245273],[103.08805,33.245582],[103.087851,33.245679],[103.087788,33.24571],[103.087607,33.245798],[103.087614,33.245824],[103.087593,33.24584],[103.087561,33.245853],[103.0875,33.245888],[103.087463,33.245911],[103.087416,33.245933],[103.087372,33.245959],[103.087356,33.245968],[103.087303,33.245946],[103.087076,33.246056],[103.087027,33.246056],[103.086943,33.246081],[103.086814,33.246122],[103.086683,33.246157],[103.086539,33.246182],[103.086428,33.246182],[103.0863,33.246182],[103.086194,33.24617],[103.086052,33.246147],[103.085975,33.246138],[103.085801,33.246174],[103.085379,33.246351],[103.084995,33.246483],[103.0845,33.246658],[103.084142,33.246792],[103.08395,33.246864],[103.083719,33.247186],[103.08376,33.247533],[103.083928,33.247652],[103.084217,33.247855],[103.084235,33.247868],[103.084261,33.247887],[103.085003,33.248306],[103.085645,33.248507],[103.085822,33.248563],[103.086052,33.248559],[103.086387,33.248554],[103.086477,33.248552],[103.086523,33.248548],[103.086823,33.24852],[103.087035,33.2485],[103.087184,33.248481],[103.087235,33.248413],[103.087267,33.248361],[103.087309,33.248372],[103.087344,33.248379],[103.087366,33.248406],[103.08738,33.248455],[103.087594,33.248427],[103.087619,33.248493],[103.087686,33.248673],[103.087685,33.248704],[103.087685,33.248725],[103.087673,33.249284],[103.087682,33.249314],[103.087619,33.249334],[103.087603,33.249357],[103.087608,33.24938],[103.087635,33.249395],[103.08767,33.249402],[103.087711,33.249408],[103.087783,33.249642],[103.087784,33.249646],[103.087786,33.249652],[103.088002,33.249757],[103.088269,33.249741],[103.088346,33.249678],[103.08859,33.249481],[103.088721,33.24935],[103.088728,33.249343],[103.088729,33.249343],[103.088816,33.249256],[103.088817,33.249256],[103.08883,33.249243],[103.089247,33.248829],[103.089358,33.248719],[103.089398,33.248706],[103.089704,33.248606],[103.089895,33.248544],[103.090329,33.248632],[103.090575,33.248813],[103.090608,33.248838],[103.090861,33.249024],[103.090882,33.24904],[103.090949,33.24909],[103.091106,33.249389],[103.091229,33.249624],[103.091336,33.25027],[103.091286,33.251084],[103.09112,33.251642],[103.091077,33.251787],[103.091058,33.252656],[103.091151,33.252795],[103.091204,33.252875],[103.091277,33.252985],[103.091881,33.253429],[103.092194,33.253895],[103.092359,33.254247],[103.092367,33.254264],[103.092421,33.254379],[103.092564,33.254652],[103.092666,33.254847],[103.092823,33.255148],[103.093182,33.255414],[103.093252,33.255466],[103.093575,33.255705],[103.093655,33.255764],[103.093717,33.255731],[103.093745,33.255719],[103.09378,33.255712],[103.093804,33.255707],[103.093842,33.255707],[103.093769,33.255827],[103.09397,33.255932],[103.094051,33.25584],[103.094098,33.255785],[103.094187,33.255693],[103.094362,33.255544],[103.09443,33.255476],[103.094524,33.255409],[103.0946,33.255361],[103.094616,33.255352],[103.09468,33.255315],[103.094766,33.255283],[103.094871,33.255247],[103.094972,33.255226],[103.095045,33.255226],[103.095123,33.255228],[103.095227,33.25524],[103.095352,33.255273],[103.095397,33.255293],[103.095583,33.255369],[103.095668,33.255422],[103.095859,33.255611],[103.095962,33.25579],[103.096067,33.256109],[103.096083,33.256266],[103.096084,33.256348],[103.096116,33.256321],[103.09613,33.256316],[103.09612,33.256447],[103.096106,33.256565],[103.096063,33.25668],[103.095973,33.25677],[103.095749,33.256918],[103.095601,33.257018],[103.095316,33.257127],[103.095308,33.257131],[103.095097,33.257227],[103.094745,33.25737],[103.094507,33.257493],[103.094269,33.257598],[103.093969,33.257731],[103.093603,33.257865],[103.093255,33.257948],[103.092908,33.258031],[103.092798,33.258069],[103.09266,33.258084],[103.092575,33.258079],[103.092446,33.258036],[103.092342,33.258003],[103.092166,33.257993],[103.092042,33.257998],[103.091923,33.258041],[103.091828,33.258122],[103.091771,33.258207],[103.091747,33.258283],[103.091747,33.258341],[103.091766,33.25845],[103.091818,33.25855],[103.091894,33.258645],[103.092037,33.258755],[103.092166,33.25884],[103.09242,33.258931],[103.092675,33.259021],[103.092922,33.259064],[103.09317,33.259107],[103.093376,33.259156],[103.093565,33.259202],[103.093674,33.25925],[103.093812,33.259383],[103.093826,33.259497],[103.093779,33.259654],[103.093712,33.259749],[103.093652,33.259806],[103.093617,33.25984],[103.09338,33.259992],[103.093143,33.260145],[103.092987,33.260256],[103.09273,33.260456],[103.092427,33.260606],[103.092123,33.260756],[103.091724,33.260863],[103.091395,33.260927],[103.091117,33.260963],[103.09071,33.260963],[103.090372,33.260906],[103.090034,33.260849],[103.089696,33.260792],[103.089368,33.260728],[103.089061,33.260728],[103.08879,33.260749],[103.088618,33.260813],[103.088404,33.260956],[103.088247,33.261134],[103.08814,33.261334],[103.088062,33.261513],[103.088056,33.261535],[103.087997,33.261763],[103.087933,33.261905],[103.087812,33.262034],[103.087633,33.26212],[103.087455,33.262198],[103.087284,33.262212],[103.087119,33.262184],[103.086955,33.262127],[103.086691,33.261948],[103.08657,33.261663],[103.086391,33.261256],[103.086353,33.261155],[103.086299,33.261013],[103.086227,33.26087],[103.08612,33.260713],[103.085992,33.260628],[103.085877,33.260628],[103.085706,33.260685],[103.085606,33.260792],[103.085492,33.26097],[103.085374,33.261234],[103.085256,33.261498],[103.085092,33.261841],[103.085006,33.262048],[103.084892,33.262277],[103.084749,33.262455],[103.084478,33.262683],[103.084307,33.262812],[103.084286,33.262825],[103.084086,33.262948],[103.083893,33.263147],[103.083857,33.263326],[103.0839,33.263483],[103.083979,33.263669],[103.084093,33.263861],[103.084378,33.264061],[103.084585,33.26414],[103.084807,33.264161],[103.084921,33.264154],[103.085006,33.264083],[103.085174,33.263865],[103.085342,33.263647],[103.085417,33.26354],[103.085485,33.263444],[103.085628,33.26324],[103.085742,33.263076],[103.08592,33.262876],[103.086199,33.262691],[103.086406,33.262612],[103.086527,33.262583],[103.08667,33.262576],[103.087019,33.262583],[103.087405,33.262683],[103.087562,33.262748],[103.087691,33.262833],[103.087862,33.263005],[103.087905,33.263083],[103.087927,33.263104],[103.088019,33.26319],[103.088147,33.263255],[103.088297,33.263276],[103.088454,33.263269],[103.088633,33.263219],[103.08879,33.263112],[103.088795,33.263107],[103.088897,33.263005],[103.088997,33.262762],[103.089061,33.262612],[103.089082,33.262491],[103.089111,33.262376],[103.089218,33.262277],[103.089397,33.262205],[103.089438,33.262195],[103.089539,33.262169],[103.089704,33.262169],[103.08982,33.262178],[103.090003,33.262191],[103.090253,33.262341],[103.090382,33.262519],[103.090467,33.262691],[103.090471,33.262696],[103.090537,33.262805],[103.090624,33.262948],[103.090717,33.263205],[103.090717,33.263387],[103.090717,33.263404],[103.090689,33.263547],[103.090574,33.263776],[103.090417,33.264054],[103.090324,33.264232],[103.09026,33.264354],[103.090068,33.264468],[103.089868,33.264568],[103.089642,33.264632],[103.089589,33.264646],[103.089254,33.264675],[103.088861,33.264704],[103.088497,33.264768],[103.088119,33.264961],[103.08793,33.2651],[103.08774,33.265239],[103.087405,33.265482],[103.087069,33.265724],[103.086827,33.265917],[103.086684,33.26611],[103.08667,33.266267],[103.086677,33.266374],[103.086741,33.266502],[103.086884,33.266688],[103.087066,33.266984],[103.087248,33.267281],[103.087298,33.267566],[103.087434,33.267894],[103.087619,33.268173],[103.087876,33.268423],[103.088112,33.268608],[103.088362,33.26874],[103.088611,33.268872],[103.088875,33.268922],[103.089268,33.268894],[103.089561,33.268822],[103.089961,33.268808],[103.090332,33.268808],[103.090374,33.26881],[103.090564,33.268819],[103.090796,33.26883],[103.091106,33.26888],[103.091417,33.26893],[103.091595,33.268979],[103.091874,33.269101],[103.091945,33.269186],[103.091995,33.269308],[103.091999,33.269389],[103.092002,33.269458],[103.091959,33.269743],[103.091902,33.270022],[103.091816,33.270222],[103.091652,33.270414],[103.091445,33.270564],[103.091231,33.2707],[103.090931,33.270857],[103.09066,33.270971],[103.090389,33.271085],[103.090091,33.271221],[103.089794,33.271357],[103.089497,33.271492],[103.089254,33.271671],[103.08904,33.271871],[103.089025,33.271999],[103.089054,33.272149],[103.089161,33.272299],[103.089361,33.272434],[103.089618,33.27257],[103.089946,33.272646],[103.090275,33.272722],[103.090603,33.272799],[103.090913,33.272913],[103.091224,33.273027],[103.091253,33.273038],[103.091502,33.273134],[103.091709,33.273355],[103.091781,33.273519],[103.091838,33.273698],[103.091824,33.273862],[103.091774,33.273983],[103.091717,33.274041],[103.09151,33.274126],[103.091388,33.274169],[103.09106,33.274226],[103.090817,33.274226],[103.09046,33.274191],[103.090075,33.274133],[103.089778,33.274108],[103.089482,33.274083],[103.089132,33.274033],[103.088783,33.273983],[103.088404,33.273983],[103.088382,33.273984],[103.088133,33.273991],[103.087898,33.274041],[103.087698,33.274141],[103.087491,33.274326],[103.087391,33.274483],[103.087312,33.274626],[103.087298,33.274797],[103.087298,33.274997],[103.087326,33.275176],[103.08744,33.275524],[103.087604,33.275835],[103.087631,33.276088],[103.087561,33.276411],[103.087496,33.276564],[103.08737,33.276716],[103.0873,33.276784],[103.087238,33.276844],[103.087197,33.276884],[103.087024,33.277052],[103.086852,33.27722],[103.086824,33.277248],[103.086679,33.277388],[103.086603,33.277462],[103.086506,33.277557],[103.086333,33.277725],[103.08616,33.277893],[103.085987,33.278061],[103.085842,33.278234],[103.085831,33.278248],[103.085674,33.278436],[103.085518,33.278623],[103.085455,33.278697],[103.085403,33.27876],[103.085361,33.27881],[103.085205,33.278997],[103.085048,33.279184],[103.084892,33.279371],[103.084736,33.279559],[103.084579,33.279746],[103.084423,33.279933],[103.084266,33.28012],[103.08411,33.280307],[103.083934,33.280496],[103.083759,33.280685],[103.083583,33.280874],[103.083408,33.281064],[103.083233,33.281253],[103.083057,33.281442],[103.082882,33.281631],[103.082706,33.28182],[103.082505,33.281957],[103.082304,33.282094],[103.081905,33.282241],[103.081492,33.282312],[103.081079,33.282383],[103.080833,33.282412],[103.080587,33.282441],[103.080341,33.282471],[103.080095,33.2825],[103.079849,33.282529],[103.079603,33.282558],[103.079357,33.282587],[103.079112,33.282616],[103.078859,33.282666],[103.078607,33.282715],[103.078354,33.282765],[103.078102,33.282814],[103.07785,33.282863],[103.077597,33.282913],[103.077345,33.282962],[103.077093,33.283011],[103.07684,33.283061],[103.076588,33.28311],[103.076336,33.28316],[103.076083,33.283209],[103.075847,33.28326],[103.075611,33.283311],[103.075375,33.283362],[103.075139,33.283413],[103.074902,33.283464],[103.074666,33.283516],[103.07443,33.283567],[103.074194,33.283618],[103.073958,33.283669],[103.073722,33.28372],[103.073486,33.283771],[103.07325,33.283822],[103.073013,33.283873],[103.072777,33.283924],[103.072616,33.283965],[103.07244,33.284009],[103.072103,33.284093],[103.071886,33.284268],[103.071822,33.28442],[103.07182,33.284427],[103.07181,33.284481],[103.071753,33.284778],[103.071647,33.284981],[103.071541,33.285184],[103.071435,33.285386],[103.071328,33.285589],[103.071222,33.285792],[103.071116,33.285994],[103.070927,33.286299],[103.070738,33.286603],[103.070458,33.286871],[103.070178,33.287139],[103.069898,33.287408],[103.069744,33.287614],[103.06959,33.287821],[103.069436,33.288028],[103.069282,33.288234],[103.069173,33.28838],[103.069128,33.288441],[103.06906,33.288531],[103.069056,33.288537],[103.068973,33.288648],[103.068819,33.288854],[103.068665,33.289061],[103.068521,33.289269],[103.068376,33.289476],[103.068231,33.289683],[103.068087,33.289891],[103.067942,33.290098],[103.067797,33.290306],[103.067653,33.290513],[103.067564,33.29064],[103.067508,33.290721],[103.067364,33.290928],[103.067275,33.291055],[103.06725,33.29109],[103.067219,33.291136],[103.066996,33.291463],[103.066986,33.291478],[103.066773,33.29179],[103.066644,33.29198],[103.066515,33.29217],[103.066386,33.29236],[103.066256,33.29255],[103.066127,33.29274],[103.065998,33.29293],[103.065868,33.29312],[103.065739,33.29331],[103.06559,33.29353],[103.065441,33.29375],[103.065292,33.293969],[103.065143,33.294189],[103.065045,33.294334],[103.064994,33.294408],[103.064977,33.294434],[103.064845,33.294628],[103.064696,33.294848],[103.064547,33.295067],[103.064398,33.295287],[103.064249,33.295507],[103.06411,33.295704],[103.064078,33.29575],[103.063971,33.295901],[103.063832,33.296099],[103.063731,33.296241],[103.063693,33.296296],[103.063539,33.296514],[103.063385,33.296732],[103.063231,33.296951],[103.063077,33.297169],[103.062923,33.297387],[103.062769,33.297606],[103.062568,33.297781],[103.062366,33.297956],[103.061968,33.298079],[103.061539,33.298166],[103.06111,33.298252],[103.060682,33.298339],[103.060652,33.298344],[103.060246,33.298416],[103.05981,33.298492],[103.059374,33.298568],[103.058938,33.298644],[103.058693,33.298705],[103.058448,33.298765],[103.058203,33.298825],[103.057958,33.298885],[103.057799,33.29892],[103.057717,33.298938],[103.057476,33.29899],[103.057236,33.299042],[103.056995,33.299094],[103.056754,33.299146],[103.056513,33.299198],[103.056273,33.299251],[103.056266,33.299252],[103.056032,33.299303],[103.055791,33.299355],[103.05555,33.299407],[103.05531,33.299459],[103.055069,33.299511],[103.054811,33.299579],[103.054554,33.299646],[103.054296,33.299714],[103.054039,33.299782],[103.053781,33.299849],[103.053524,33.299917],[103.053266,33.299984],[103.053009,33.300052],[103.052751,33.300119],[103.052494,33.300187],[103.052251,33.300221],[103.052007,33.300256],[103.051764,33.30029],[103.051521,33.300325],[103.051277,33.300359],[103.051034,33.300394],[103.050791,33.300428],[103.050547,33.300462],[103.050304,33.300497],[103.050061,33.300531],[103.049817,33.300566],[103.049574,33.3006],[103.049331,33.300635],[103.049088,33.300669],[103.048844,33.300704],[103.048601,33.300738],[103.048344,33.30076],[103.04833,33.300761],[103.04828,33.300765],[103.048087,33.300781],[103.04783,33.300803],[103.047573,33.300824],[103.047316,33.300846],[103.047059,33.300867],[103.046802,33.300889],[103.046545,33.30091],[103.046458,33.300918],[103.046404,33.300922],[103.046288,33.300932],[103.046031,33.300953],[103.045774,33.300975],[103.045517,33.300997],[103.045283,33.301014],[103.045049,33.301031],[103.044815,33.301049],[103.044581,33.301066],[103.044347,33.301084],[103.044113,33.301101],[103.043894,33.301141],[103.043874,33.301144],[103.043634,33.301188],[103.043395,33.301231],[103.043155,33.301274],[103.042944,33.301312],[103.042916,33.301317],[103.042676,33.30136],[103.042257,33.301385],[103.041837,33.301411],[103.041417,33.301436],[103.040997,33.301461],[103.040733,33.301457],[103.040469,33.301453],[103.040205,33.301449],[103.039941,33.301444],[103.039677,33.30144],[103.039413,33.301436],[103.039151,33.301435],[103.038889,33.301433],[103.038627,33.301432],[103.038365,33.30143],[103.038103,33.301429],[103.037841,33.301427],[103.037579,33.301426],[103.037317,33.301424],[103.037055,33.301423],[103.036793,33.301421],[103.036474,33.301409],[103.036388,33.301406],[103.035982,33.301391],[103.035576,33.301376],[103.035171,33.301338],[103.035149,33.301336],[103.034722,33.301296],[103.034295,33.301256],[103.033868,33.301216],[103.033442,33.301157],[103.033015,33.301097],[103.032588,33.301037],[103.032162,33.300977],[103.0318,33.300879],[103.031439,33.30078],[103.031213,33.300741],[103.030987,33.300702],[103.030733,33.300689],[103.030376,33.300683],[103.030366,33.300682],[103.03008,33.300661],[103.029818,33.300639],[103.029524,33.300599],[103.029209,33.300541],[103.028894,33.300483],[103.028662,33.300431],[103.028586,33.300413],[103.028483,33.30039],[103.028431,33.300378],[103.028166,33.300343],[103.0279,33.300307],[103.027635,33.300272],[103.02737,33.300237],[103.027097,33.300195],[103.026824,33.300154],[103.026793,33.300149],[103.026552,33.300112],[103.026279,33.30007],[103.026047,33.300053],[103.025816,33.300036],[103.025489,33.300031],[103.025162,33.300026],[103.024935,33.300036],[103.024708,33.300045],[103.02439,33.30008],[103.024073,33.300115],[103.02384,33.300154],[103.023607,33.300193],[103.023374,33.300232],[103.023142,33.300271],[103.022909,33.30031],[103.022676,33.300349],[103.02228,33.300404],[103.021884,33.300459],[103.021586,33.300521],[103.021289,33.300584],[103.020896,33.300692],[103.020751,33.300754],[103.02068,33.300785],[103.020463,33.300877],[103.020314,33.300963],[103.020121,33.301132],[103.019928,33.301302],[103.019731,33.301564],[103.019653,33.301757],[103.019567,33.302039],[103.019482,33.302321],[103.01938,33.302603],[103.01925,33.302761],[103.019154,33.302864],[103.019045,33.30296],[103.01895,33.303003],[103.018811,33.30308],[103.018673,33.303131],[103.018365,33.303188],[103.018111,33.3032],[103.017858,33.303211],[103.017605,33.303223],[103.017352,33.303234],[103.016904,33.303223],[103.016457,33.303213],[103.016009,33.303202],[103.015567,33.303144],[103.015124,33.303086],[103.014682,33.303029],[103.014239,33.302971],[103.013977,33.302925],[103.013715,33.302878],[103.013454,33.302831],[103.013192,33.302785],[103.01293,33.302738],[103.012668,33.302692],[103.012484,33.302659],[103.012406,33.302645],[103.012144,33.302599],[103.011882,33.302552],[103.011621,33.302506],[103.011359,33.302459],[103.011097,33.302413],[103.010835,33.302366],[103.010573,33.30232],[103.010311,33.302273],[103.010049,33.302227],[103.009787,33.30218],[103.009526,33.302134],[103.009264,33.302087],[103.009024,33.302044],[103.009002,33.302041],[103.0088,33.302005],[103.00874,33.301994],[103.008478,33.301948],[103.008216,33.301901],[103.007954,33.301854],[103.007693,33.301808],[103.007431,33.301761],[103.007169,33.301715],[103.006907,33.301668],[103.006653,33.301629],[103.006398,33.30159],[103.006144,33.301551],[103.005889,33.301511],[103.005635,33.301472],[103.005381,33.301433],[103.005126,33.301394],[103.004872,33.301355],[103.004618,33.301315],[103.004363,33.301276],[103.004109,33.301237],[103.003855,33.301198],[103.0036,33.301158],[103.003346,33.301119],[103.003076,33.301076],[103.002807,33.301032],[103.002538,33.300988],[103.002269,33.300945],[103.001999,33.300901],[103.00173,33.300857],[103.001461,33.300814],[103.001191,33.30077],[103.000961,33.300733],[103.000731,33.300696],[103.000501,33.300658],[103.000271,33.300621],[103.000029,33.300608],[102.999786,33.300594],[102.999544,33.300581],[102.999301,33.300567],[102.999059,33.300554],[102.998816,33.30054],[102.998574,33.300527],[102.998332,33.300513],[102.998089,33.3005],[102.997847,33.300486],[102.997604,33.300472],[102.997362,33.300459],[102.997124,33.300415],[102.996887,33.300372],[102.99665,33.300328],[102.996412,33.300285],[102.996406,33.300283],[102.996184,33.300243],[102.996175,33.300241],[102.995938,33.300198],[102.995815,33.300175],[102.995733,33.30016],[102.995701,33.300154],[102.995463,33.30011],[102.995226,33.300067],[102.994989,33.300023],[102.994751,33.29998],[102.994514,33.299936],[102.994277,33.299893],[102.994039,33.299849],[102.993613,33.299825],[102.99342,33.299822],[102.993205,33.29989],[102.99287,33.300178],[102.992535,33.300466],[102.992201,33.300754],[102.99194,33.300937],[102.99168,33.301121],[102.991431,33.301243],[102.991181,33.301364],[102.990771,33.301528],[102.990361,33.301692],[102.990352,33.301696],[102.990108,33.301776],[102.989855,33.301859],[102.989601,33.301942],[102.989348,33.302025],[102.989095,33.302108],[102.988841,33.302191],[102.988461,33.302281],[102.988081,33.30237],[102.987701,33.302459],[102.987455,33.302482],[102.987209,33.302505],[102.986824,33.302499],[102.986439,33.302494],[102.98611,33.302398],[102.985781,33.302302],[102.98558,33.302198],[102.985379,33.302094],[102.985178,33.30199],[102.984977,33.301886],[102.984776,33.301782],[102.984575,33.301677],[102.984374,33.301573],[102.984174,33.301469],[102.983947,33.301322],[102.983721,33.301175],[102.983494,33.301028],[102.983268,33.30088],[102.983041,33.300733],[102.982815,33.300586],[102.982588,33.300439],[102.982362,33.300292],[102.981996,33.300082],[102.98163,33.299873],[102.981264,33.299664],[102.98091,33.29952],[102.980556,33.299376],[102.980168,33.29919],[102.97978,33.299004],[102.979392,33.298818],[102.979095,33.298697],[102.978799,33.298576],[102.978671,33.298558],[102.978372,33.298515],[102.978138,33.298476],[102.977903,33.298436],[102.977669,33.298396],[102.977441,33.298357],[102.977435,33.298356],[102.977201,33.298317],[102.976967,33.298277],[102.976714,33.298264],[102.976461,33.298251],[102.976209,33.298238],[102.975956,33.298225],[102.975703,33.298212],[102.97545,33.298199],[102.975197,33.298185],[102.974944,33.298172],[102.974692,33.298159],[102.974439,33.298146],[102.974186,33.298133],[102.973933,33.29812],[102.973665,33.298117],[102.973396,33.298114],[102.973127,33.298111],[102.972859,33.298108],[102.97259,33.298105],[102.972321,33.298102],[102.972053,33.298098],[102.971784,33.298095],[102.971515,33.298092],[102.971247,33.298089],[102.970978,33.298086],[102.970709,33.298083],[102.970441,33.29808],[102.970172,33.298077],[102.969907,33.298083],[102.969642,33.29809],[102.969377,33.298097],[102.969113,33.298104],[102.968848,33.298111],[102.968583,33.298117],[102.968318,33.298124],[102.968053,33.298131],[102.967661,33.298149],[102.967268,33.298167],[102.966876,33.298184],[102.966515,33.298168],[102.966484,33.298166],[102.966093,33.298148],[102.965701,33.29813],[102.965472,33.298112],[102.965242,33.298095],[102.965013,33.298078],[102.964784,33.29806],[102.964554,33.298043],[102.964325,33.298026],[102.964096,33.298009],[102.963867,33.297991],[102.963609,33.29799],[102.963351,33.297988],[102.963093,33.297987],[102.962836,33.297985],[102.962578,33.297984],[102.96232,33.297982],[102.962062,33.29798],[102.961805,33.297979],[102.961547,33.297977],[102.961289,33.297976],[102.961031,33.297974],[102.960774,33.297973],[102.960516,33.297971],[102.960258,33.297969],[102.960001,33.297968],[102.959743,33.297966],[102.959485,33.297965],[102.959227,33.297963],[102.95897,33.297962],[102.958712,33.29796],[102.958453,33.297957],[102.958195,33.297954],[102.957936,33.297951],[102.957678,33.297949],[102.957419,33.297946],[102.957161,33.297943],[102.956902,33.29794],[102.956643,33.297937],[102.956385,33.297934],[102.956126,33.297931],[102.955868,33.297928],[102.955609,33.297925],[102.955351,33.297923],[102.955092,33.29792],[102.954834,33.297917],[102.954575,33.297914],[102.954317,33.297911],[102.954058,33.297908],[102.953799,33.297905],[102.953541,33.297902],[102.953282,33.2979],[102.953024,33.297897],[102.952765,33.297894],[102.952507,33.297891],[102.952248,33.297888],[102.95199,33.297885],[102.951731,33.297882],[102.951473,33.297879],[102.951214,33.297864],[102.950955,33.297848],[102.950697,33.297832],[102.950438,33.297816],[102.950179,33.2978],[102.94992,33.297784],[102.949662,33.297768],[102.94946,33.297756],[102.949403,33.297753],[102.949322,33.297748],[102.949144,33.297737],[102.948886,33.297721],[102.948627,33.297705],[102.948368,33.297689],[102.94811,33.297673],[102.947851,33.297657],[102.947598,33.297657],[102.947345,33.297656],[102.947092,33.297655],[102.946839,33.297654],[102.946586,33.297654],[102.946333,33.297653],[102.94608,33.297652],[102.945968,33.297652],[102.945827,33.297651],[102.945573,33.29765],[102.94532,33.29765],[102.944872,33.297678],[102.944636,33.297728],[102.944336,33.297759],[102.94393,33.297752],[102.943502,33.297741],[102.943075,33.297729],[102.942647,33.297718],[102.942564,33.297716],[102.942219,33.297707],[102.941985,33.2977],[102.941979,33.2977],[102.941739,33.297694],[102.941498,33.297688],[102.941258,33.297681],[102.941018,33.297675],[102.940778,33.297669],[102.940537,33.297662],[102.940297,33.297656],[102.940083,33.297653],[102.939977,33.297615],[102.939871,33.297505],[102.939834,33.297307],[102.939865,33.296913],[102.939876,33.296465],[102.939837,33.296349],[102.939815,33.296284],[102.93967,33.29612],[102.939544,33.296029],[102.939352,33.296007],[102.939158,33.296004],[102.938966,33.296055],[102.93879,33.296213],[102.93869,33.296416],[102.938538,33.296724],[102.938387,33.297032],[102.938358,33.29711],[102.938341,33.297157],[102.938296,33.297211],[102.938257,33.297253],[102.938231,33.297281],[102.938122,33.297316],[102.937972,33.29733],[102.937674,33.297289],[102.937399,33.29716],[102.937273,33.297062],[102.937232,33.29703],[102.937125,33.297011],[102.936976,33.29701],[102.936903,33.297018],[102.936718,33.29704],[102.936483,33.297054],[102.936248,33.297037],[102.936162,33.297031],[102.93602,33.297012],[102.936014,33.297011],[102.935908,33.296937],[102.935869,33.296793],[102.935853,33.296541],[102.935927,33.296112],[102.935934,33.296077],[102.935977,33.295827],[102.936002,33.295683],[102.935985,33.295521],[102.935945,33.295359],[102.935929,33.295336],[102.935884,33.295268],[102.935849,33.295257],[102.935649,33.295193],[102.935308,33.295169],[102.934988,33.29524],[102.934977,33.295243],[102.93491,33.295258],[102.934513,33.295346],[102.934115,33.295434],[102.933834,33.295483],[102.933428,33.295513],[102.933065,33.295506],[102.932787,33.295511],[102.932509,33.295515],[102.932245,33.295531],[102.93198,33.295548],[102.931716,33.295565],[102.931452,33.295581],[102.931188,33.295598],[102.930924,33.295614],[102.930658,33.29562],[102.930392,33.295626],[102.930126,33.295632],[102.92986,33.295637],[102.929595,33.295643],[102.929329,33.295649],[102.929063,33.295655],[102.928797,33.295661],[102.928531,33.295666],[102.928265,33.295672],[102.927999,33.295678],[102.927733,33.295684],[102.927467,33.295689],[102.927202,33.295695],[102.926962,33.295714],[102.926723,33.295733],[102.926483,33.295752],[102.926244,33.295771],[102.926004,33.29579],[102.925765,33.295809],[102.925526,33.295828],[102.925286,33.295847],[102.925047,33.295866],[102.924807,33.295885],[102.924572,33.295906],[102.924336,33.295928],[102.9241,33.295949],[102.923865,33.29597],[102.923629,33.295991],[102.923393,33.296013],[102.923158,33.296034],[102.922922,33.296055],[102.922686,33.296076],[102.922451,33.296097],[102.922066,33.29609],[102.921766,33.296122],[102.921535,33.296118],[102.921303,33.296114],[102.921071,33.29611],[102.921019,33.296109],[102.920946,33.295986],[102.92071,33.295589],[102.920666,33.295516],[102.92063,33.295457],[102.92057,33.295515],[102.920493,33.295573],[102.920416,33.29558],[102.920307,33.295606],[102.92021,33.295614],[102.920094,33.295609],[102.920055,33.295598],[102.920026,33.295557],[102.920021,33.295494],[102.920028,33.295426],[102.920066,33.295363],[102.9201,33.295312],[102.920147,33.295233],[102.920174,33.295158],[102.920226,33.295043],[102.920329,33.294973],[102.92035,33.294943],[102.92039,33.294918],[102.920443,33.294912],[102.920476,33.294921],[102.920524,33.294925],[102.920547,33.294919],[102.920584,33.294903],[102.920621,33.294895],[102.920652,33.294904],[102.920664,33.294929],[102.920685,33.294959],[102.920713,33.294983],[102.920757,33.295015],[102.920799,33.295032],[102.920874,33.295036],[102.920962,33.29493],[102.92125,33.294756],[102.921339,33.294614],[102.921283,33.294565],[102.921041,33.294573],[102.920786,33.294569],[102.920603,33.294483],[102.920567,33.294497],[102.920537,33.294543],[102.920524,33.294569],[102.920504,33.294597],[102.92046,33.294618],[102.920409,33.294639],[102.920341,33.29463],[102.920188,33.294747],[102.920008,33.294696],[102.919901,33.294644],[102.919821,33.294617],[102.919662,33.294607],[102.919532,33.29459],[102.919364,33.29455],[102.91929,33.294488],[102.919245,33.294396],[102.91927,33.294281],[102.919316,33.294215],[102.919384,33.294087],[102.919388,33.29395],[102.919345,33.29385],[102.91929,33.293746],[102.919194,33.293638],[102.919071,33.293562],[102.918996,33.293508],[102.918977,33.293403],[102.918998,33.293294],[102.919032,33.293128],[102.919007,33.292947],[102.918917,33.292834],[102.918913,33.292696],[102.918741,33.29242],[102.897857,33.258822],[102.896783,33.257095],[102.896639,33.256863],[102.896195,33.256149],[102.895862,33.255613],[102.895851,33.255654],[102.895852,33.25568],[102.895853,33.255707],[102.895862,33.25574],[102.895877,33.255776],[102.895879,33.255821],[102.895875,33.255844],[102.895863,33.255849],[102.895843,33.255845],[102.89583,33.255811],[102.895805,33.255748],[102.895788,33.25571],[102.895782,33.255703],[102.895771,33.255693],[102.895762,33.255691],[102.89575,33.255705],[102.895744,33.255718],[102.895726,33.255718],[102.895713,33.2557],[102.895714,33.25568],[102.895716,33.25565],[102.895732,33.255602],[102.895741,33.255564],[102.895741,33.255526],[102.895739,33.255484],[102.895736,33.255445],[102.895721,33.255386],[102.894255,33.253026],[102.894194,33.252928],[102.894085,33.252752],[102.894068,33.252726],[102.894157,33.252639],[102.894164,33.252633],[102.8946,33.252208],[102.895065,33.251667],[102.895108,33.251635],[102.895215,33.251553],[102.895229,33.251543],[102.895287,33.251499],[102.895287,33.251103],[102.895342,33.250815],[102.895498,33.250669],[102.895741,33.250662],[102.895913,33.250906],[102.895998,33.251345],[102.896089,33.25161],[102.896213,33.25182],[102.89637,33.251827],[102.896494,33.251712],[102.896725,33.251494],[102.897016,33.251388],[102.897627,33.251277],[102.898378,33.251233],[102.899016,33.251156],[102.899726,33.251142],[102.899824,33.251013],[102.899654,33.250625],[102.899372,33.250204],[102.898974,33.249935],[102.898817,33.249805],[102.898936,33.249619],[102.899288,33.249309],[102.899403,33.2491],[102.899431,33.248606],[102.899398,33.248322],[102.899276,33.248081],[102.899047,33.247929],[102.898386,33.247744],[102.89805,33.247686],[102.897828,33.247606],[102.89772,33.247506],[102.897746,33.24737],[102.897862,33.247193],[102.898144,33.24697],[102.898129,33.246865],[102.897822,33.246552],[102.897529,33.24623],[102.897341,33.246041],[102.897115,33.245915],[102.896799,33.245863],[102.896189,33.245865],[102.895906,33.245939],[102.895818,33.246078],[102.895895,33.246229],[102.896273,33.246549],[102.896449,33.246828],[102.896394,33.246997],[102.896192,33.247056],[102.89582,33.246931],[102.895398,33.24658],[102.895153,33.246499],[102.894883,33.246468],[102.893818,33.246548],[102.893311,33.246555],[102.892784,33.24648],[102.892439,33.24628],[102.892141,33.245979],[102.892149,33.245779],[102.892226,33.245703],[102.89241,33.245672],[102.893459,33.245776],[102.894022,33.245742],[102.894264,33.245594],[102.89429,33.245438],[102.893923,33.244959],[102.893426,33.244428],[102.893113,33.244172],[102.892716,33.243995],[102.892504,33.243968],[102.892258,33.244044],[102.891645,33.244558],[102.891293,33.244869],[102.890887,33.245127],[102.890317,33.2452],[102.889802,33.245114],[102.889557,33.244944],[102.889654,33.244733],[102.889853,33.244604],[102.890562,33.244241],[102.891163,33.24389],[102.891935,33.243422],[102.892283,33.243067],[102.892435,33.242723],[102.892356,33.242473],[102.892056,33.242296],[102.891472,33.242111],[102.891057,33.242077],[102.890848,33.242154],[102.890742,33.242299],[102.890757,33.242475],[102.89107,33.242802],[102.891251,33.243046],[102.891266,33.243225],[102.891113,33.243297],[102.890846,33.243211],[102.890503,33.243012],[102.890284,33.242971],[102.889892,33.24299],[102.889383,33.243044],[102.889181,33.243007],[102.889042,33.242905],[102.889041,33.242784],[102.88931,33.242391],[102.889561,33.242176],[102.889737,33.241851],[102.889703,33.241628],[102.889574,33.241516],[102.889379,33.241501],[102.888687,33.241701],[102.887805,33.24201],[102.88727,33.242238],[102.887023,33.242332],[102.886869,33.242297],[102.886872,33.242161],[102.886906,33.241905],[102.886971,33.241722],[102.887066,33.241559],[102.887068,33.241412],[102.886962,33.241286],[102.886625,33.241094],[102.885931,33.240851],[102.884848,33.240541],[102.884194,33.240336],[102.883846,33.240162],[102.883863,33.239882],[102.884024,33.239736],[102.884398,33.239742],[102.88507,33.239879],[102.88529,33.239803],[102.885351,33.239348],[102.885333,33.238752],[102.885324,33.238343],[102.88524,33.23813],[102.885012,33.238159],[102.884742,33.23831],[102.884537,33.238525],[102.884197,33.238521],[102.883384,33.238282],[102.88296,33.238079],[102.882744,33.237793],[102.882795,33.237591],[102.883055,33.237506],[102.883727,33.237662],[102.884345,33.23784],[102.884622,33.237852],[102.885069,33.23768],[102.885254,33.237528],[102.885354,33.237343],[102.885294,33.237065],[102.885068,33.236788],[102.884594,33.236461],[102.884376,33.236331],[102.884382,33.236088],[102.884464,33.235773],[102.884645,33.235591],[102.884805,33.235541],[102.885037,33.235579],[102.885224,33.235722],[102.885424,33.235934],[102.885538,33.236025],[102.885654,33.235997],[102.88575,33.235887],[102.885894,33.235239],[102.886005,33.234933],[102.886336,33.234504],[102.886645,33.234228],[102.886818,33.234178],[102.886993,33.234245],[102.886945,33.234411],[102.886779,33.234708],[102.886697,33.234862],[102.886755,33.234968],[102.887152,33.235156],[102.887839,33.235474],[102.888223,33.235521],[102.888621,33.235487],[102.888952,33.235426],[102.889301,33.235258],[102.889469,33.235083],[102.889447,33.234878],[102.889308,33.23478],[102.888722,33.234691],[102.888403,33.234632],[102.888307,33.234524],[102.888388,33.234381],[102.888742,33.234203],[102.889417,33.233794],[102.889766,33.233494],[102.89004,33.233276],[102.890233,33.233132],[102.890171,33.232977],[102.889832,33.232529],[102.889523,33.232236],[102.889355,33.232205],[102.889187,33.232291],[102.889106,33.232582],[102.889023,33.232847],[102.888415,33.233116],[102.887654,33.233339],[102.887288,33.233387],[102.88697,33.23345],[102.886677,33.233472],[102.886338,33.233358],[102.886143,33.233207],[102.886112,33.233058],[102.886205,33.232957],[102.886515,33.232891],[102.88683,33.232844],[102.887074,33.232833],[102.887254,33.232817],[102.887353,33.232666],[102.887334,33.232467],[102.887173,33.231934],[102.887065,33.231665],[102.88693,33.231496],[102.886753,33.231426],[102.886469,33.231435],[102.885966,33.23162],[102.885497,33.231744],[102.885261,33.231703],[102.88518,33.231593],[102.885255,33.231377],[102.885533,33.230879],[102.886141,33.230177],[102.886318,33.23],[102.886355,33.22985],[102.886169,33.229821],[102.885683,33.229834],[102.885304,33.229768],[102.884872,33.22964],[102.884605,33.229554],[102.884403,33.229662],[102.88417,33.230331],[102.8839,33.230826],[102.883645,33.230958],[102.883432,33.230886],[102.883041,33.230494],[102.882805,33.229593],[102.88273,33.229128],[102.882816,33.228726],[102.882999,33.228686],[102.883219,33.22881],[102.883596,33.229144],[102.884144,33.229267],[102.884948,33.229353],[102.885909,33.229402],[102.886361,33.229416],[102.88671,33.229269],[102.88681,33.229111],[102.886771,33.228909],[102.886503,33.228746],[102.886237,33.228639],[102.886162,33.227884],[102.886061,33.226983],[102.885872,33.226623],[102.885606,33.226216],[102.885578,33.225929],[102.885743,33.225722],[102.886035,33.225567],[102.88636,33.225543],[102.886656,33.225617],[102.886748,33.225892],[102.886835,33.226434],[102.886993,33.22674],[102.887502,33.227143],[102.887689,33.227256],[102.887977,33.227336],[102.888141,33.227232],[102.888423,33.226394],[102.88868,33.225783],[102.888766,33.225625],[102.888722,33.225427],[102.888442,33.225208],[102.88793,33.224916],[102.887719,33.22489],[102.887335,33.224988],[102.886773,33.225222],[102.886652,33.225178],[102.886656,33.224978],[102.886881,33.224173],[102.887083,33.223284],[102.887351,33.222323],[102.88735,33.222165],[102.887182,33.222059],[102.886929,33.222156],[102.886486,33.222829],[102.886025,33.223404],[102.885738,33.223582],[102.885456,33.223606],[102.885301,33.223496],[102.885317,33.223368],[102.88569,33.223094],[102.88598,33.222849],[102.885982,33.22267],[102.885777,33.222554],[102.885279,33.222559],[102.884879,33.222571],[102.88469,33.222463],[102.884594,33.222066],[102.884611,33.221624],[102.884615,33.221397],[102.884587,33.221201],[102.884507,33.220964],[102.884458,33.220786],[102.884372,33.220649],[102.884236,33.22061],[102.884003,33.220622],[102.883763,33.220655],[102.883571,33.220592],[102.883136,33.220489],[102.882813,33.22048],[102.882516,33.220616],[102.882309,33.220678],[102.881724,33.220602],[102.881418,33.220599],[102.881144,33.220709],[102.880946,33.220894],[102.880773,33.221087],[102.88056,33.221167],[102.880412,33.221079],[102.880425,33.22094],[102.880496,33.220597],[102.880538,33.220309],[102.880419,33.219811],[102.880335,33.219572],[102.880109,33.219437],[102.879722,33.219436],[102.879485,33.219508],[102.879404,33.219671],[102.879434,33.220021],[102.87951,33.220405],[102.879482,33.220651],[102.879335,33.220916],[102.879037,33.221043],[102.878608,33.220927],[102.878093,33.220621],[102.877952,33.220433],[102.878032,33.220276],[102.878397,33.220148],[102.878605,33.220041],[102.878635,33.219896],[102.878208,33.219444],[102.87769,33.218967],[102.877591,33.218741],[102.877646,33.218529],[102.877835,33.218388],[102.878276,33.218302],[102.878636,33.218257],[102.878788,33.218144],[102.878813,33.21783],[102.878655,33.217627],[102.878452,33.217475],[102.878134,33.217403],[102.877422,33.217525],[102.876919,33.217639],[102.876517,33.21763],[102.876438,33.217628],[102.875901,33.217478],[102.875468,33.217255],[102.87526,33.217109],[102.87527,33.216943],[102.875401,33.216764],[102.876018,33.216626],[102.876501,33.216491],[102.876742,33.21636],[102.876791,33.216186],[102.876764,33.21598],[102.876598,33.215851],[102.875718,33.215945],[102.875222,33.215942],[102.87456,33.215623],[102.874043,33.215262],[102.873798,33.214896],[102.873742,33.214479],[102.873825,33.214297],[102.874007,33.214233],[102.874311,33.214335],[102.874663,33.214707],[102.875188,33.215411],[102.87548,33.215566],[102.87584,33.215588],[102.876453,33.215431],[102.876838,33.215236],[102.877047,33.214934],[102.876906,33.21466],[102.876602,33.214694],[102.876039,33.214946],[102.875677,33.214959],[102.875557,33.214765],[102.875865,33.214363],[102.876054,33.214189],[102.876171,33.213722],[102.876195,33.213451],[102.876081,33.213211],[102.876145,33.213003],[102.876289,33.212859],[102.876722,33.212873],[102.876725,33.213034],[102.876565,33.213449],[102.876528,33.213858],[102.876716,33.214141],[102.877072,33.214298],[102.877576,33.214323],[102.877638,33.214136],[102.877595,33.213788],[102.87748,33.213354],[102.877485,33.213115],[102.87759,33.212991],[102.87789,33.21295],[102.878588,33.213428],[102.878894,33.213612],[102.879436,33.213658],[102.879743,33.213542],[102.879914,33.213325],[102.879963,33.213079],[102.879793,33.212787],[102.879453,33.212491],[102.878935,33.212246],[102.878578,33.212178],[102.878098,33.212251],[102.87745,33.212346],[102.876911,33.212229],[102.876879,33.212038],[102.876957,33.211928],[102.877611,33.211889],[102.878261,33.211904],[102.878795,33.211747],[102.879264,33.211475],[102.879335,33.211228],[102.879219,33.210952],[102.878891,33.210734],[102.87822,33.211259],[102.877831,33.211528],[102.877482,33.211476],[102.877371,33.211157],[102.877402,33.21071],[102.87749,33.210271],[102.877638,33.210067],[102.878036,33.210041],[102.878486,33.210202],[102.878665,33.210143],[102.878609,33.209555],[102.878707,33.208739],[102.87839,33.208345],[102.878047,33.208411],[102.87784,33.208646],[102.877606,33.20926],[102.877352,33.20954],[102.877007,33.209719],[102.876614,33.209746],[102.876555,33.20959],[102.876723,33.209343],[102.877053,33.208925],[102.877327,33.208604],[102.877455,33.208384],[102.877392,33.208067],[102.877028,33.207618],[102.876904,33.207495],[102.876816,33.207255],[102.876899,33.207062],[102.877276,33.207013],[102.877598,33.20697],[102.877948,33.206934],[102.87815,33.206971],[102.878141,33.207131],[102.878058,33.207389],[102.878146,33.207542],[102.878347,33.207519],[102.878863,33.207368],[102.879435,33.207332],[102.880327,33.207389],[102.880866,33.207459],[102.88148,33.207627],[102.88177,33.207706],[102.881954,33.207666],[102.882086,33.207533],[102.882021,33.207197],[102.881807,33.206692],[102.881599,33.20656],[102.88097,33.206753],[102.880786,33.206708],[102.880653,33.206459],[102.880437,33.206174],[102.880042,33.205948],[102.879475,33.205672],[102.879447,33.205494],[102.879562,33.205345],[102.880021,33.205196],[102.88027,33.205071],[102.880229,33.204905],[102.879752,33.204771],[102.879455,33.204408],[102.879244,33.204007],[102.879305,33.203841],[102.879562,33.203741],[102.879794,33.203701],[102.879948,33.20361],[102.88006,33.203396],[102.880178,33.203187],[102.880336,33.203098],[102.880498,33.20312],[102.88073,33.203266],[102.881129,33.20364],[102.881377,33.203707],[102.881774,33.203669],[102.881906,33.203546],[102.881841,33.2034],[102.881566,33.20326],[102.881335,33.203136],[102.881126,33.202932],[102.880912,33.202619],[102.880859,33.202455],[102.880979,33.202245],[102.881229,33.202132],[102.881393,33.202143],[102.881501,33.202238],[102.881583,33.202584],[102.881688,33.202817],[102.881961,33.2029],[102.882372,33.202846],[102.88274,33.202735],[102.882941,33.2026],[102.883038,33.202385],[102.883051,33.202162],[102.882907,33.201918],[102.882693,33.201699],[102.882604,33.201581],[102.882159,33.20152],[102.881844,33.201388],[102.881786,33.201224],[102.881928,33.20102],[102.882102,33.200846],[102.882119,33.200652],[102.881942,33.200578],[102.881327,33.200729],[102.880923,33.200765],[102.880722,33.200646],[102.88065,33.2005],[102.880801,33.20031],[102.881012,33.200122],[102.881181,33.19999],[102.881179,33.199804],[102.880946,33.19957],[102.880336,33.199244],[102.879953,33.199189],[102.879372,33.199172],[102.879215,33.19896],[102.879259,33.19879],[102.87966,33.198478],[102.879742,33.198317],[102.879687,33.198165],[102.879058,33.198093],[102.878364,33.198178],[102.878042,33.198175],[102.877907,33.198012],[102.877974,33.197868],[102.878233,33.197725],[102.878398,33.197604],[102.878504,33.197386],[102.878419,33.197029],[102.878042,33.196635],[102.877707,33.196482],[102.877256,33.196444],[102.877068,33.196344],[102.877071,33.196216],[102.877212,33.196114],[102.877387,33.196029],[102.877485,33.195929],[102.87745,33.1958],[102.877286,33.195692],[102.877035,33.195574],[102.876999,33.195394],[102.87714,33.195287],[102.877598,33.195196],[102.877983,33.19503],[102.878249,33.194794],[102.878267,33.19459],[102.878099,33.194368],[102.877701,33.194402],[102.877191,33.194468],[102.876882,33.194419],[102.876879,33.194242],[102.877164,33.193916],[102.877537,33.19345],[102.877772,33.193017],[102.877897,33.192712],[102.877707,33.192285],[102.877449,33.192332],[102.877415,33.19263],[102.877451,33.192989],[102.877263,33.1933],[102.877043,33.193372],[102.876812,33.193258],[102.876817,33.192882],[102.876719,33.192525],[102.876395,33.192531],[102.87614,33.192925],[102.875919,33.193122],[102.875286,33.1932],[102.874933,33.193129],[102.874901,33.192999],[102.875157,33.192781],[102.875536,33.192611],[102.875701,33.192389],[102.875511,33.192157],[102.875228,33.19206],[102.874645,33.19205],[102.874508,33.191868],[102.874351,33.191556],[102.873942,33.191373],[102.87376,33.191274],[102.873756,33.19115],[102.874168,33.190886],[102.874562,33.19054],[102.874874,33.190339],[102.874902,33.190154],[102.874778,33.189949],[102.874436,33.189882],[102.874092,33.189954],[102.873812,33.189904],[102.873707,33.189662],[102.873724,33.189367],[102.873936,33.188647],[102.874013,33.188298],[102.873879,33.188068],[102.873641,33.188082],[102.87347,33.188385],[102.873336,33.188737],[102.873122,33.188904],[102.87286,33.188897],[102.872783,33.188895],[102.872461,33.188719],[102.872397,33.188704],[102.872182,33.188655],[102.872009,33.188515],[102.872055,33.188207],[102.872107,33.187895],[102.872124,33.187605],[102.872207,33.187451],[102.872172,33.187269],[102.872046,33.187197],[102.871766,33.187247],[102.871574,33.187525],[102.871402,33.187851],[102.871219,33.187862],[102.871106,33.187748],[102.870958,33.187566],[102.870774,33.18752],[102.870545,33.187568],[102.87034,33.187774],[102.870106,33.187997],[102.869903,33.188075],[102.869765,33.188021],[102.869735,33.187858],[102.869847,33.187687],[102.870022,33.187494],[102.870056,33.187295],[102.869943,33.187205],[102.869645,33.187264],[102.869403,33.187321],[102.869186,33.187254],[102.869012,33.187142],[102.86901,33.186978],[102.868996,33.186802],[102.868873,33.186657],[102.868261,33.186406],[102.867811,33.186257],[102.867636,33.186342],[102.867559,33.186512],[102.867654,33.18676],[102.867821,33.187109],[102.86795,33.187698],[102.868124,33.187929],[102.868295,33.188021],[102.868247,33.188182],[102.867978,33.188293],[102.867667,33.188406],[102.867612,33.188564],[102.867732,33.188688],[102.868062,33.188988],[102.868087,33.189224],[102.868,33.189369],[102.867759,33.18938],[102.867363,33.189134],[102.8669,33.188803],[102.866306,33.188392],[102.866066,33.188317],[102.86585,33.188391],[102.865865,33.188487],[102.866085,33.188669],[102.866163,33.188845],[102.866046,33.189096],[102.865637,33.18949],[102.865233,33.189854],[102.865188,33.190118],[102.865304,33.19031],[102.865726,33.190372],[102.866222,33.190423],[102.866556,33.190579],[102.866997,33.19073],[102.867154,33.190942],[102.867118,33.191274],[102.866913,33.191579],[102.866537,33.191707],[102.865916,33.191681],[102.865572,33.191543],[102.865437,33.191342],[102.865354,33.191015],[102.86515,33.19083],[102.864723,33.19076],[102.864323,33.19085],[102.864031,33.191048],[102.863653,33.19119],[102.863189,33.191131],[102.862945,33.190957],[102.86302,33.190831],[102.863271,33.190752],[102.863618,33.190695],[102.863695,33.190473],[102.863689,33.189923],[102.863899,33.18961],[102.864033,33.189344],[102.863892,33.189149],[102.863676,33.189272],[102.863532,33.189559],[102.863164,33.189458],[102.862897,33.189376],[102.862522,33.189389],[102.862218,33.189396],[102.861854,33.189231],[102.861396,33.188919],[102.860739,33.18882],[102.860373,33.188691],[102.860301,33.188496],[102.860288,33.188138],[102.860062,33.187779],[102.859741,33.187323],[102.859393,33.18688],[102.859235,33.186823],[102.858977,33.18702],[102.858746,33.187039],[102.858638,33.186848],[102.858553,33.186566],[102.858294,33.186339],[102.857964,33.186082],[102.857712,33.186129],[102.857578,33.186476],[102.857428,33.186812],[102.857288,33.186878],[102.857127,33.186833],[102.85706,33.186716],[102.856954,33.186002],[102.856835,33.185578],[102.856712,33.185359],[102.856502,33.185369],[102.856291,33.185584],[102.856065,33.185865],[102.855846,33.185837],[102.855861,33.185676],[102.856055,33.18546],[102.856193,33.185223],[102.856161,33.185002],[102.855977,33.184947],[102.85541,33.185052],[102.855164,33.185104],[102.854868,33.18493],[102.854544,33.184654],[102.854266,33.184372],[102.853971,33.184332],[102.853548,33.184514],[102.853386,33.184747],[102.853271,33.185035],[102.853149,33.185151],[102.852927,33.185096],[102.85259,33.184497],[102.852272,33.184126],[102.851538,33.184096],[102.851029,33.184095],[102.850819,33.183976],[102.850898,33.183715],[102.851108,33.18347],[102.851651,33.183053],[102.851841,33.182918],[102.851944,33.182979],[102.852051,33.18333],[102.85214,33.183616],[102.852448,33.183722],[102.852772,33.18371],[102.853136,33.183586],[102.853239,33.183504],[102.85319,33.183439],[102.852919,33.183342],[102.852804,33.18326],[102.852761,33.183031],[102.852691,33.18277],[102.852552,33.182487],[102.852549,33.182296],[102.852663,33.182093],[102.852848,33.181963],[102.853024,33.181977],[102.853154,33.182295],[102.853336,33.182695],[102.853636,33.182961],[102.853893,33.183215],[102.854064,33.183327],[102.854177,33.183334],[102.854236,33.183283],[102.85431,33.183057],[102.854372,33.182789],[102.854584,33.182508],[102.854597,33.182196],[102.854615,33.181885],[102.854627,33.181643],[102.854435,33.181477],[102.854056,33.181274],[102.853915,33.181135],[102.853887,33.181026],[102.853948,33.180836],[102.854027,33.180679],[102.854121,33.18066],[102.854372,33.180787],[102.854603,33.180874],[102.85484,33.180846],[102.854965,33.180722],[102.854971,33.180526],[102.854888,33.180189],[102.854819,33.179859],[102.854861,33.17962],[102.855038,33.179555],[102.855208,33.179613],[102.855286,33.179729],[102.8552,33.179943],[102.855175,33.180115],[102.855288,33.180313],[102.855445,33.180412],[102.855702,33.180375],[102.85608,33.18014],[102.856415,33.179975],[102.856454,33.179801],[102.856238,33.17942],[102.855804,33.179088],[102.855364,33.178674],[102.855138,33.178474],[102.854903,33.178352],[102.854849,33.178117],[102.854894,33.177926],[102.855164,33.177819],[102.855763,33.177666],[102.856151,33.177578],[102.856483,33.177428],[102.856698,33.177297],[102.85676,33.177042],[102.856723,33.176825],[102.856598,33.176491],[102.856289,33.176468],[102.855851,33.176542],[102.855665,33.176531],[102.855556,33.176287],[102.855606,33.176157],[102.856038,33.176036],[102.856167,33.175862],[102.856057,33.175644],[102.855541,33.175322],[102.855369,33.175146],[102.855425,33.17492],[102.855619,33.174788],[102.856024,33.174698],[102.856441,33.174547],[102.856567,33.174424],[102.856708,33.174051],[102.856968,33.173815],[102.857242,33.173623],[102.857395,33.173369],[102.857299,33.173132],[102.857016,33.173076],[102.856714,33.173269],[102.856494,33.173635],[102.856328,33.173994],[102.856179,33.174188],[102.85594,33.174207],[102.855776,33.174117],[102.855707,33.17396],[102.855719,33.173823],[102.855868,33.173689],[102.856137,33.173504],[102.856217,33.17329],[102.856086,33.173109],[102.855663,33.172954],[102.855221,33.172888],[102.854684,33.172877],[102.854534,33.17279],[102.854494,33.172654],[102.854404,33.172652],[102.85435,33.172652],[102.854332,33.173127],[102.854302,33.173219],[102.854238,33.173342],[102.853906,33.173709],[102.85351,33.174122],[102.853463,33.174094],[102.853418,33.174068],[102.852959,33.173695],[102.852582,33.173393],[102.852331,33.173199],[102.852301,33.173148],[102.852237,33.173137],[102.852192,33.173125],[102.85214,33.173095],[102.852099,33.173051],[102.852082,33.173006],[102.852073,33.172976],[102.852058,33.172935],[102.852044,33.172905],[102.85213,33.172768],[102.852718,33.172623],[102.853644,33.17233],[102.854049,33.172126],[102.85433,33.171874],[102.854426,33.171789],[102.854437,33.171779],[102.854511,33.171713],[102.854901,33.171467],[102.855005,33.171286],[102.855041,33.171202],[102.855157,33.171219],[102.855461,33.171429],[102.855469,33.171435],[102.855523,33.171488],[102.855532,33.171497],[102.855575,33.171539],[102.855642,33.171499],[102.855636,33.171369],[102.855686,33.171148],[102.855806,33.170955],[102.855947,33.17082],[102.856081,33.170778],[102.856186,33.170805],[102.856257,33.170989],[102.856113,33.171284],[102.856043,33.171431],[102.85606,33.171533],[102.856245,33.171608],[102.85629,33.17162],[102.856267,33.171576],[102.856317,33.171582],[102.856331,33.171578],[102.856337,33.171558],[102.856336,33.171525],[102.85633,33.171511],[102.85631,33.171476],[102.856287,33.171378],[102.85628,33.171261],[102.856289,33.171179],[102.856312,33.171128],[102.856314,33.171125],[102.856339,33.171101],[102.856363,33.171088],[102.856393,33.17108],[102.85643,33.17108],[102.856459,33.171087],[102.856492,33.171103],[102.856514,33.17112],[102.856562,33.171184],[102.856601,33.171244],[102.856675,33.171325],[102.856761,33.171403],[102.85679,33.171408],[102.856807,33.171396],[102.856807,33.171369],[102.856801,33.171337],[102.856786,33.171303],[102.856779,33.171275],[102.856777,33.171246],[102.856805,33.171211],[102.856845,33.171171],[102.856903,33.171114],[102.85694,33.171077],[102.856957,33.17105],[102.856946,33.170997],[102.856935,33.170937],[102.856924,33.170884],[102.856924,33.170825],[102.856938,33.170765],[102.856957,33.170714],[102.856962,33.170674],[102.856962,33.170616],[102.856957,33.170575],[102.85694,33.170544],[102.856898,33.17051],[102.856807,33.170497],[102.856712,33.170487],[102.856585,33.170469],[102.856386,33.170435],[102.856287,33.17043],[102.856173,33.170398],[102.856108,33.17036],[102.85609,33.170345],[102.856063,33.170315],[102.85605,33.170283],[102.856049,33.170249],[102.856064,33.170227],[102.856097,33.170204],[102.856143,33.170184],[102.856186,33.17017],[102.856207,33.170157],[102.856233,33.170104],[102.85626,33.170055],[102.856315,33.170021],[102.856364,33.170004],[102.856442,33.169986],[102.85653,33.169983],[102.856572,33.169987],[102.856613,33.170009],[102.85666,33.170041],[102.856697,33.17006],[102.856735,33.170068],[102.856783,33.170071],[102.856835,33.170071],[102.856879,33.170054],[102.856916,33.170026],[102.856942,33.169997],[102.856947,33.169976],[102.856944,33.169959],[102.856928,33.169946],[102.856891,33.169935],[102.856839,33.16992],[102.856788,33.169907],[102.856709,33.169865],[102.856671,33.169839],[102.856625,33.169799],[102.856601,33.169763],[102.856589,33.169718],[102.856585,33.169674],[102.856597,33.169639],[102.856641,33.169596],[102.856683,33.169562],[102.856704,33.169532],[102.856706,33.169484],[102.856692,33.169455],[102.856653,33.16942],[102.856612,33.169411],[102.856552,33.169407],[102.856501,33.169407],[102.856448,33.169426],[102.856363,33.169483],[102.856326,33.169505],[102.856274,33.169541],[102.856246,33.16956],[102.856212,33.16957],[102.856156,33.169578],[102.856104,33.169579],[102.856061,33.169569],[102.856027,33.169536],[102.855999,33.169492],[102.85598,33.169407],[102.855948,33.16934],[102.855918,33.169305],[102.85589,33.169255],[102.855874,33.169204],[102.855865,33.169169],[102.855842,33.169141],[102.85581,33.169145],[102.855764,33.169166],[102.855712,33.169172],[102.855675,33.169172],[102.855528,33.169169],[102.855521,33.16917],[102.855477,33.169174],[102.855413,33.16919],[102.855382,33.169193],[102.855341,33.169185],[102.855296,33.169159],[102.855252,33.169131],[102.85521,33.169108],[102.855195,33.169088],[102.855186,33.169059],[102.855192,33.169022],[102.855212,33.168993],[102.855245,33.168964],[102.855308,33.16893],[102.855409,33.168881],[102.855466,33.168844],[102.855513,33.168811],[102.855595,33.168758],[102.855594,33.168696],[102.855583,33.168693],[102.855547,33.168681],[102.855518,33.168681],[102.855457,33.168681],[102.855403,33.168671],[102.855358,33.168637],[102.855329,33.168594],[102.855319,33.168555],[102.85532,33.16852],[102.855337,33.168482],[102.855371,33.168453],[102.855406,33.168438],[102.855463,33.168429],[102.855538,33.16843],[102.855609,33.168429],[102.85572,33.168431],[102.855734,33.168435],[102.855756,33.168447],[102.855788,33.168459],[102.855817,33.168462],[102.855838,33.168458],[102.855857,33.168446],[102.85587,33.168433],[102.855949,33.168487],[102.855983,33.168388],[102.855992,33.168367],[102.856004,33.168361],[102.856021,33.168364],[102.856034,33.168371],[102.856094,33.168422],[102.856149,33.168464],[102.85618,33.168471],[102.856219,33.168475],[102.856263,33.168472],[102.856297,33.168464],[102.856326,33.168455],[102.856354,33.168429],[102.856371,33.168405],[102.856378,33.16838],[102.856379,33.168347],[102.856373,33.16831],[102.856368,33.1683],[102.856349,33.168261],[102.856335,33.168224],[102.85632,33.16818],[102.856309,33.168124],[102.856313,33.168071],[102.856313,33.168053],[102.856312,33.168014],[102.856306,33.167983],[102.856292,33.167954],[102.856258,33.167899],[102.856256,33.167881],[102.856262,33.167865],[102.856278,33.167848],[102.856333,33.167814],[102.856354,33.167807],[102.8565,33.16775],[102.856545,33.167745],[102.856569,33.167743],[102.856592,33.167748],[102.856599,33.167758],[102.856603,33.167773],[102.856603,33.167797],[102.856595,33.167834],[102.856582,33.167874],[102.856551,33.167918],[102.856521,33.167951],[102.856449,33.168129],[102.856441,33.168165],[102.856444,33.168215],[102.856458,33.168259],[102.856489,33.168322],[102.856517,33.168351],[102.856574,33.168388],[102.856622,33.168396],[102.856693,33.168403],[102.85676,33.168403],[102.85681,33.168398],[102.856843,33.168379],[102.856859,33.168364],[102.856863,33.168345],[102.85686,33.168311],[102.85685,33.168257],[102.856841,33.168213],[102.85684,33.168189],[102.856843,33.168161],[102.856856,33.168134],[102.856872,33.168127],[102.856884,33.168128],[102.856926,33.16813],[102.856987,33.168142],[102.856966,33.168075],[102.856943,33.168003],[102.856908,33.167892],[102.856597,33.167662],[102.856167,33.167472],[102.855957,33.167187],[102.85588,33.166919],[102.855953,33.166653],[102.85634,33.166533],[102.8566,33.166584],[102.856625,33.166589],[102.856673,33.166599],[102.856691,33.166602],[102.856692,33.166568],[102.856688,33.166519],[102.856711,33.166475],[102.856746,33.166441],[102.85679,33.166425],[102.856835,33.166424],[102.856868,33.166425],[102.856906,33.166414],[102.85696,33.166411],[102.857132,33.16644],[102.857208,33.166477],[102.857252,33.166501],[102.857284,33.166519],[102.857291,33.166525],[102.857302,33.166535],[102.857309,33.166554],[102.857307,33.166574],[102.857276,33.166588],[102.857175,33.166641],[102.857104,33.166699],[102.85706,33.16675],[102.857039,33.166796],[102.857034,33.166819],[102.85703,33.166857],[102.857039,33.166879],[102.857051,33.166896],[102.857076,33.166912],[102.8571,33.166922],[102.857122,33.166926],[102.857643,33.167564],[102.857711,33.167647],[102.857718,33.167656],[102.857736,33.167605],[102.857777,33.16751],[102.857799,33.167465],[102.857825,33.16744],[102.857857,33.167432],[102.857942,33.167426],[102.858038,33.16743],[102.858071,33.167444],[102.858093,33.167467],[102.858114,33.167501],[102.85813,33.167542],[102.858139,33.16759],[102.858135,33.167654],[102.858095,33.167748],[102.858029,33.167835],[102.857972,33.167881],[102.857922,33.167907],[102.857931,33.167917],[102.857959,33.167952],[102.858248,33.16842],[102.858524,33.168762],[102.858712,33.169257],[102.859056,33.169544],[102.859239,33.169561],[102.859343,33.169437],[102.8594,33.169228],[102.859404,33.169211],[102.859409,33.169194],[102.859416,33.169167],[102.859616,33.169344],[102.859826,33.169508],[102.859929,33.169577],[102.860084,33.169589],[102.860213,33.169551],[102.860249,33.169469],[102.860098,33.169344],[102.859809,33.169103],[102.859713,33.168954],[102.859743,33.168882],[102.859907,33.168838],[102.860066,33.168801],[102.860218,33.168672],[102.860316,33.168625],[102.860453,33.168635],[102.860573,33.16873],[102.860881,33.168954],[102.861059,33.16906],[102.861351,33.169146],[102.861687,33.169168],[102.861936,33.169123],[102.862153,33.169042],[102.862234,33.168919],[102.862206,33.168813],[102.862067,33.168776],[102.861749,33.168787],[102.861583,33.168773],[102.861505,33.168555],[102.861402,33.168229],[102.861444,33.168095],[102.861512,33.168096],[102.861593,33.168154],[102.861677,33.168331],[102.861776,33.168376],[102.861926,33.168373],[102.862051,33.168323],[102.862176,33.168216],[102.862212,33.168096],[102.862188,33.167935],[102.862176,33.167832],[102.862227,33.167727],[102.862307,33.167643],[102.862477,33.167608],[102.86265,33.167623],[102.862764,33.167736],[102.862836,33.167979],[102.862874,33.168211],[102.862941,33.168382],[102.86302,33.168427],[102.86317,33.168344],[102.863342,33.168191],[102.863466,33.168173],[102.863676,33.168258],[102.864056,33.168472],[102.864278,33.168436],[102.864555,33.168273],[102.864779,33.168146],[102.864866,33.168042],[102.864756,33.167881],[102.864747,33.167748],[102.864819,33.167533],[102.864892,33.167447],[102.865339,33.167433],[102.865508,33.167464],[102.865703,33.16752],[102.866066,33.167791],[102.866426,33.167984],[102.866879,33.16811],[102.86713,33.168122],[102.867306,33.168085],[102.8675,33.167968],[102.86763,33.167738],[102.86762,33.167553],[102.867519,33.167525],[102.867305,33.167618],[102.867033,33.167719],[102.866774,33.167739],[102.866645,33.167692],[102.866659,33.167582],[102.866786,33.167427],[102.866766,33.167386],[102.866764,33.167381],[102.86676,33.167373],[102.866544,33.166939],[102.866131,33.165877],[102.865702,33.165501],[102.86546,33.165128],[102.865616,33.16495],[102.865665,33.164893],[102.865868,33.164661],[102.866586,33.164357],[102.866885,33.164063],[102.86706,33.16375],[102.867022,33.163591],[102.866848,33.163563],[102.866805,33.163586],[102.866747,33.163615],[102.866604,33.163657],[102.86647,33.163684],[102.866401,33.163689],[102.866274,33.163688],[102.866189,33.163679],[102.866129,33.163664],[102.866087,33.163638],[102.866067,33.16362],[102.866049,33.163623],[102.866019,33.163627],[102.865602,33.163567],[102.865361,33.163177],[102.865747,33.162779],[102.866115,33.162514],[102.866124,33.162507],[102.866102,33.162461],[102.86609,33.162408],[102.866091,33.162355],[102.866104,33.162299],[102.866144,33.162241],[102.866243,33.162176],[102.866373,33.162138],[102.866468,33.162123],[102.866534,33.162126],[102.866565,33.162137],[102.866571,33.16213],[102.866684,33.162022],[102.86663,33.16167],[102.866535,33.161265],[102.866454,33.161227],[102.866143,33.161082],[102.865944,33.161058],[102.865943,33.161156],[102.865898,33.161269],[102.865759,33.16138],[102.865705,33.161424],[102.865589,33.161469],[102.865401,33.161506],[102.86525,33.161519],[102.864999,33.161521],[102.864873,33.161516],[102.864783,33.161509],[102.864754,33.161533],[102.864355,33.161631],[102.863879,33.161447],[102.863574,33.161108],[102.863502,33.160633],[102.863574,33.160248],[102.863895,33.159937],[102.864074,33.159931],[102.864087,33.15993],[102.864097,33.15993],[102.864172,33.159927],[102.864195,33.159734],[102.864263,33.159523],[102.864366,33.159369],[102.864538,33.159352],[102.86477,33.159426],[102.864819,33.159546],[102.864648,33.159691],[102.864468,33.159805],[102.864448,33.159918],[102.864519,33.159978],[102.864647,33.159967],[102.8648,33.159867],[102.864926,33.159835],[102.865059,33.159868],[102.865293,33.159982],[102.865668,33.15994],[102.865844,33.159867],[102.865913,33.159812],[102.865897,33.159707],[102.865596,33.159537],[102.865281,33.159241],[102.865248,33.159128],[102.865324,33.159033],[102.865406,33.159015],[102.865422,33.158975],[102.865555,33.158631],[102.86563,33.158123],[102.865664,33.157596],[102.865764,33.156895],[102.86569,33.156508],[102.865472,33.156047],[102.864896,33.155651],[102.864531,33.155241],[102.864187,33.15476],[102.864053,33.154249],[102.863919,33.153772],[102.863801,33.153472],[102.863529,33.153375],[102.863523,33.153372],[102.863483,33.153358],[102.863418,33.153405],[102.863339,33.153423],[102.863233,33.153429],[102.863146,33.153478],[102.86303,33.153675],[102.862897,33.153876],[102.862698,33.154113],[102.862604,33.154185],[102.862501,33.154205],[102.862377,33.154192],[102.862288,33.154155],[102.862199,33.154105],[102.8622,33.154043],[102.86223,33.153974],[102.862327,33.153945],[102.86244,33.153904],[102.86254,33.153853],[102.862582,33.153802],[102.862541,33.153721],[102.862478,33.153719],[102.862326,33.153777],[102.862241,33.153789],[102.862159,33.153744],[102.861951,33.153617],[102.861786,33.153597],[102.861669,33.153586],[102.861568,33.153538],[102.861445,33.153399],[102.86138,33.153301],[102.861378,33.153225],[102.861412,33.153129],[102.861445,33.153084],[102.861501,33.153072],[102.861592,33.153088],[102.861669,33.153154],[102.861797,33.153295],[102.861934,33.15344],[102.862053,33.153518],[102.862172,33.153568],[102.862262,33.153572],[102.862355,33.153554],[102.862383,33.153511],[102.862346,33.153449],[102.862139,33.153353],[102.861932,33.153235],[102.861884,33.153142],[102.861933,33.15307],[102.861989,33.153035],[102.862068,33.153041],[102.862212,33.153072],[102.862355,33.153086],[102.862453,33.153064],[102.862465,33.153008],[102.862458,33.15295],[102.862352,33.15288],[102.862113,33.152775],[102.862011,33.152698],[102.861962,33.152606],[102.862004,33.152495],[102.862058,33.152421],[102.862075,33.152367],[102.862069,33.152279],[102.862069,33.152217],[102.862039,33.152125],[102.861971,33.15208],[102.861823,33.152065],[102.861664,33.152065],[102.861555,33.152114],[102.861509,33.152158],[102.861504,33.152214],[102.861546,33.152268],[102.861624,33.152334],[102.861647,33.152404],[102.861616,33.152473],[102.861549,33.152506],[102.861424,33.152514],[102.861298,33.152558],[102.861222,33.152602],[102.861199,33.152716],[102.861229,33.152841],[102.86129,33.152994],[102.861275,33.15311],[102.861209,33.153191],[102.861123,33.153199],[102.861085,33.15315],[102.861046,33.153017],[102.860979,33.15291],[102.860837,33.152894],[102.860474,33.152937],[102.860215,33.152977],[102.860054,33.153038],[102.859935,33.153071],[102.859868,33.153076],[102.859809,33.153063],[102.859773,33.153084],[102.859765,33.153089],[102.859653,33.153154],[102.859383,33.153097],[102.859159,33.152865],[102.859028,33.152578],[102.858981,33.152475],[102.858995,33.152278],[102.858998,33.152237],[102.859004,33.152152],[102.859012,33.152037],[102.859012,33.151914],[102.859011,33.15167],[102.859011,33.151654],[102.859011,33.151537],[102.85901,33.151264],[102.85898,33.150789],[102.858822,33.1504],[102.858096,33.150194],[102.857882,33.150306],[102.857872,33.150312],[102.857839,33.150329],[102.857815,33.150341],[102.857804,33.150347],[102.857314,33.150602],[102.856594,33.151029],[102.855902,33.15114],[102.855704,33.151558],[102.855693,33.151609],[102.855689,33.151627],[102.855697,33.151634],[102.85571,33.151645],[102.855729,33.151658],[102.855752,33.151676],[102.855774,33.151695],[102.855803,33.15173],[102.855824,33.151769],[102.85583,33.151806],[102.855829,33.151844],[102.855822,33.151871],[102.855806,33.151899],[102.855789,33.151913],[102.855746,33.151933],[102.855704,33.151944],[102.855684,33.151956],[102.855643,33.151981],[102.855608,33.152005],[102.855547,33.152032],[102.855457,33.152109],[102.85541,33.152176],[102.85544,33.152273],[102.855508,33.152364],[102.855379,33.15251],[102.855372,33.152518],[102.855307,33.152592],[102.855174,33.152744],[102.854841,33.152703],[102.854557,33.152364],[102.854651,33.151927],[102.854685,33.151383],[102.85451,33.150835],[102.854155,33.149986],[102.853415,33.148458],[102.8534,33.148427],[102.853204,33.147897],[102.853194,33.14744],[102.853354,33.147254],[102.853364,33.147242],[102.853387,33.147215],[102.8534,33.147209],[102.853313,33.147122],[102.853303,33.147027],[102.853351,33.146871],[102.853444,33.146772],[102.853561,33.146715],[102.853679,33.146759],[102.853843,33.146878],[102.854015,33.14711],[102.854104,33.147179],[102.854224,33.14718],[102.854312,33.147169],[102.854387,33.147135],[102.854392,33.147019],[102.854388,33.146909],[102.854436,33.146795],[102.854548,33.146725],[102.854734,33.146718],[102.854999,33.146813],[102.855105,33.146836],[102.855157,33.146821],[102.855235,33.146732],[102.855236,33.146616],[102.855192,33.146522],[102.855086,33.14641],[102.855055,33.146318],[102.85511,33.146201],[102.855179,33.146183],[102.855352,33.146178],[102.85545,33.146149],[102.855534,33.146069],[102.855653,33.146024],[102.855822,33.146085],[102.855956,33.146215],[102.855979,33.146311],[102.855919,33.14642],[102.855659,33.146507],[102.855495,33.146601],[102.855453,33.146737],[102.855498,33.146889],[102.855579,33.146957],[102.855717,33.14691],[102.855852,33.146782],[102.856006,33.146612],[102.856168,33.146517],[102.856284,33.146505],[102.856384,33.146497],[102.856472,33.146434],[102.856421,33.146351],[102.856377,33.146316],[102.856424,33.146239],[102.856477,33.146163],[102.856461,33.146098],[102.856332,33.146023],[102.856272,33.145942],[102.856248,33.145822],[102.856245,33.145579],[102.856239,33.145446],[102.85616,33.145378],[102.856066,33.145388],[102.856045,33.145471],[102.856094,33.145585],[102.856089,33.14567],[102.855974,33.145804],[102.855789,33.145868],[102.855599,33.145876],[102.855516,33.145842],[102.85554,33.145764],[102.855598,33.145652],[102.855613,33.145539],[102.855509,33.145482],[102.855225,33.145487],[102.854947,33.145547],[102.854776,33.145569],[102.85455,33.145567],[102.85439,33.145581],[102.854226,33.145579],[102.854034,33.145519],[102.853896,33.145411],[102.853781,33.145297],[102.853699,33.145148],[102.8537,33.145038],[102.853755,33.144926],[102.853837,33.14487],[102.853821,33.144845],[102.853817,33.144838],[102.853756,33.144743],[102.853749,33.144732],[102.85365,33.144798],[102.85354,33.144859],[102.853486,33.14488],[102.853441,33.144889],[102.85342,33.144891],[102.853389,33.144883],[102.853364,33.144872],[102.853336,33.144851],[102.85331,33.144793],[102.853263,33.144665],[102.853239,33.144635],[102.853213,33.144591],[102.853198,33.144572],[102.853181,33.144557],[102.853164,33.144545],[102.853148,33.144523],[102.853139,33.144507],[102.853134,33.144491],[102.853135,33.144481],[102.853092,33.144486],[102.853061,33.1445],[102.853022,33.144513],[102.852993,33.144536],[102.852982,33.144554],[102.852969,33.144585],[102.852957,33.144616],[102.852938,33.144657],[102.852936,33.144686],[102.852939,33.144708],[102.852951,33.144732],[102.852965,33.144764],[102.852932,33.144777],[102.852482,33.144951],[102.85227,33.145088],[102.852083,33.145032],[102.852192,33.144876],[102.852429,33.144564],[102.852716,33.143919],[102.853168,33.143365],[102.853763,33.142953],[102.854334,33.142629],[102.855242,33.142224],[102.855628,33.141791],[102.855825,33.141443],[102.855855,33.14104],[102.855716,33.140756],[102.855567,33.14069],[102.85556,33.140705],[102.855553,33.14073],[102.855528,33.140789],[102.855493,33.140839],[102.855441,33.140877],[102.855349,33.1409],[102.855249,33.140936],[102.855172,33.140954],[102.855143,33.140953],[102.855073,33.140935],[102.855063,33.140926],[102.855043,33.140907],[102.855021,33.140868],[102.855005,33.140816],[102.854985,33.140758],[102.854965,33.140707],[102.854951,33.140664],[102.854952,33.140618],[102.854982,33.140539],[102.854987,33.140525],[102.854948,33.140517],[102.854846,33.140495],[102.85473,33.140365],[102.854561,33.140174],[102.854537,33.139898],[102.854528,33.139805],[102.854451,33.13954],[102.854293,33.139168],[102.854186,33.139134],[102.854173,33.139158],[102.854139,33.139216],[102.854106,33.139261],[102.854048,33.139305],[102.853982,33.139336],[102.853909,33.139338],[102.853866,33.139336],[102.853832,33.139319],[102.853798,33.139281],[102.853786,33.139245],[102.853791,33.139229],[102.853795,33.139206],[102.853816,33.139177],[102.853841,33.139155],[102.853863,33.139138],[102.853877,33.139125],[102.853881,33.139114],[102.853873,33.139094],[102.853864,33.139078],[102.853854,33.139064],[102.853848,33.139052],[102.85381,33.139045],[102.853567,33.138998],[102.853436,33.13895],[102.853423,33.138881],[102.853413,33.13886],[102.853393,33.138841],[102.853376,33.138832],[102.853345,33.138832],[102.853316,33.138835],[102.853286,33.138848],[102.853256,33.138865],[102.853244,33.138881],[102.85322,33.138914],[102.853205,33.138929],[102.853177,33.13895],[102.85316,33.138958],[102.853139,33.138962],[102.853122,33.138961],[102.853107,33.138956],[102.853098,33.138939],[102.853092,33.138913],[102.853089,33.13888],[102.853089,33.138839],[102.853088,33.138824],[102.853035,33.138805],[102.853026,33.138802],[102.853008,33.138794],[102.852986,33.138727],[102.852872,33.138371],[102.852869,33.138295],[102.852861,33.138121],[102.852832,33.137457],[102.852469,33.136941],[102.852266,33.13679],[102.852248,33.136776],[102.852215,33.136781],[102.852173,33.136778],[102.852128,33.136758],[102.852118,33.136748],[102.852105,33.136728],[102.852095,33.136698],[102.852091,33.136678],[102.852091,33.136659],[102.85209,33.136639],[102.852104,33.136603],[102.852123,33.136568],[102.852121,33.136544],[102.852112,33.136522],[102.852095,33.136494],[102.852053,33.136475],[102.852017,33.136465],[102.851979,33.136456],[102.851946,33.136454],[102.851923,33.136459],[102.851891,33.136467],[102.851868,33.136476],[102.851847,33.13649],[102.851832,33.136504],[102.851827,33.136512],[102.851798,33.136513],[102.851779,33.136511],[102.851751,33.136504],[102.851723,33.136495],[102.851702,33.136484],[102.851688,33.136473],[102.851671,33.136459],[102.851627,33.136446],[102.851521,33.136416],[102.851189,33.136322],[102.851047,33.136144],[102.851015,33.135757],[102.851089,33.135465],[102.851131,33.135302],[102.851124,33.135206],[102.8511,33.134863],[102.851046,33.134493],[102.850457,33.133798],[102.8502,33.133214],[102.850197,33.132493],[102.850642,33.131377],[102.850819,33.130941],[102.85087,33.130573],[102.850987,33.130066],[102.851337,33.129387],[102.852286,33.128138],[102.852825,33.127445],[102.853441,33.126173],[102.853662,33.125633],[102.85372,33.124966],[102.853622,33.123875],[102.853509,33.123364],[102.853504,33.122696],[102.85348,33.121958],[102.853571,33.120801],[102.853982,33.12021],[102.85412,33.119686],[102.854174,33.119177],[102.854178,33.11916],[102.854181,33.11914],[102.854166,33.119131],[102.854095,33.119045],[102.854038,33.118965],[102.853966,33.118863],[102.853949,33.118823],[102.853947,33.118778],[102.853954,33.118751],[102.853972,33.118723],[102.853997,33.118714],[102.854031,33.118709],[102.854077,33.118712],[102.854094,33.118716],[102.854139,33.118735],[102.854212,33.118761],[102.854248,33.118772],[102.854286,33.118788],[102.854301,33.118794],[102.854335,33.118801],[102.854376,33.118803],[102.854399,33.118796],[102.854413,33.118787],[102.85441,33.118759],[102.854394,33.118731],[102.854362,33.118723],[102.854306,33.118726],[102.854291,33.11872],[102.854252,33.118707],[102.854225,33.118689],[102.854211,33.118663],[102.854213,33.118627],[102.854217,33.118592],[102.854223,33.118562],[102.854222,33.118521],[102.854211,33.118491],[102.854193,33.118461],[102.854175,33.118441],[102.854151,33.11842],[102.854129,33.118395],[102.854114,33.118362],[102.854114,33.118314],[102.854131,33.118289],[102.854148,33.11827],[102.854176,33.118258],[102.854211,33.118248],[102.854234,33.11824],[102.854264,33.11824],[102.854298,33.118248],[102.854455,33.117953],[102.854543,33.117761],[102.854426,33.117408],[102.854206,33.117035],[102.854051,33.11654],[102.854168,33.116016],[102.854244,33.115437],[102.85473,33.114357],[102.855313,33.113541],[102.855896,33.112743],[102.856485,33.111682],[102.856583,33.111086],[102.856575,33.110577],[102.856712,33.110087],[102.857035,33.109324],[102.857044,33.109303],[102.857054,33.109278],[102.857133,33.109093],[102.857773,33.107899],[102.85779,33.107866],[102.85783,33.107792],[102.857804,33.10779],[102.857774,33.107783],[102.857748,33.107772],[102.857732,33.107759],[102.857725,33.107741],[102.857732,33.107722],[102.857747,33.107706],[102.857769,33.10769],[102.857799,33.107671],[102.857822,33.10766],[102.857842,33.107648],[102.857869,33.107631],[102.857891,33.107625],[102.857909,33.107607],[102.857915,33.107591],[102.85791,33.107566],[102.85789,33.107543],[102.857995,33.107105],[102.858042,33.1067],[102.858048,33.10665],[102.858049,33.106638],[102.858054,33.106595],[102.858056,33.106573],[102.8581,33.106194],[102.858459,33.10575],[102.858533,33.105658],[102.858535,33.105655],[102.858601,33.105574],[102.858591,33.105555],[102.858585,33.105536],[102.858585,33.105513],[102.858593,33.1055],[102.858625,33.105504],[102.858651,33.105511],[102.858744,33.10554],[102.858816,33.10557],[102.85888,33.105546],[102.858932,33.105501],[102.858947,33.105411],[102.858942,33.105392],[102.858927,33.105335],[102.858881,33.105272],[102.858861,33.105255],[102.858842,33.10523],[102.858841,33.105217],[102.858854,33.105195],[102.858874,33.105183],[102.85889,33.105181],[102.858917,33.105196],[102.85894,33.105212],[102.859009,33.105141],[102.859011,33.105138],[102.85943,33.104706],[102.859614,33.104024],[102.85946,33.102616],[102.859505,33.101633],[102.859586,33.100879],[102.860109,33.100093],[102.860259,33.099867],[102.860262,33.099833],[102.860267,33.099809],[102.860274,33.09978],[102.860286,33.099765],[102.860306,33.099764],[102.86032,33.099766],[102.860332,33.099777],[102.86055,33.099531],[102.860823,33.099223],[102.860808,33.099205],[102.8608,33.099188],[102.860783,33.099167],[102.860767,33.099153],[102.860743,33.099141],[102.860719,33.099122],[102.86071,33.099107],[102.860705,33.099086],[102.860713,33.099037],[102.860716,33.099011],[102.860725,33.098969],[102.860733,33.098949],[102.860737,33.098931],[102.860741,33.098919],[102.860755,33.098913],[102.860786,33.098915],[102.860807,33.098916],[102.860836,33.098903],[102.860862,33.09888],[102.860904,33.098841],[102.86093,33.098823],[102.86095,33.098794],[102.860968,33.098759],[102.860981,33.098735],[102.860991,33.098698],[102.861004,33.098666],[102.86101,33.098642],[102.861023,33.098613],[102.861033,33.098598],[102.861044,33.098582],[102.86106,33.098556],[102.861061,33.098539],[102.861061,33.098533],[102.861065,33.098389],[102.861071,33.098129],[102.85994,33.097442],[102.85889,33.096845],[102.858509,33.09655],[102.858194,33.096306],[102.857046,33.095461],[102.856554,33.095223],[102.855045,33.094495],[102.854324,33.094114],[102.852894,33.093258],[102.852889,33.093255],[102.852391,33.092957],[102.851535,33.092755],[102.851526,33.092753],[102.851453,33.092736],[102.851419,33.092728],[102.851355,33.092713],[102.850522,33.092517],[102.850378,33.092483],[102.850402,33.091519],[102.850403,33.09149],[102.850422,33.09071],[102.850374,33.089233],[102.850086,33.086506],[102.850318,33.085526],[102.850301,33.0844],[102.850301,33.084383],[102.8503,33.084349],[102.850294,33.083945],[102.850058,33.08164],[102.849713,33.080503],[102.849112,33.080743],[102.849001,33.080629],[102.848998,33.080643],[102.848969,33.080701],[102.848963,33.080715],[102.848931,33.080737],[102.848885,33.080757],[102.848817,33.080776],[102.848758,33.080799],[102.848731,33.080818],[102.848701,33.08087],[102.848697,33.080876],[102.848697,33.080876],[102.848658,33.080933],[102.84862,33.080975],[102.848577,33.081023],[102.84849,33.081112],[102.84839,33.081165],[102.848321,33.081192],[102.848238,33.081223],[102.84815,33.081248],[102.848028,33.081272],[102.847929,33.081285],[102.847819,33.0813],[102.847683,33.081317],[102.847586,33.081323],[102.847443,33.08131],[102.847221,33.081334],[102.846558,33.081086],[102.846283,33.080984],[102.845445,33.080591],[102.845398,33.080569],[102.845381,33.080562],[102.845363,33.080553],[102.845361,33.080552],[102.845298,33.080522],[102.845257,33.080503],[102.84525,33.080499],[102.844655,33.080159],[102.844559,33.079789],[102.844514,33.079618],[102.844512,33.07961],[102.84451,33.079602],[102.844508,33.079591],[102.844487,33.079513],[102.844495,33.079459]]]]},"properties":{"cp":[102.93341761730755,33.11135771891013],"code":"513233207","name":"麦洼乡","level":"street","center":[102.93341761730755,33.11135771891013],"fullCode":"513233207000","fullName":"四川省阿坝藏族羌族自治州红原县麦洼乡","acreageMu":838703.39,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.918,32.9156]}},{"id":"513233208","type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[102.876403,32.917034],[102.877821,32.917289],[102.87904,32.917509],[102.879321,32.91756],[102.879803,32.917647],[102.880757,32.917692],[102.881664,32.916844],[102.882087,32.916275],[102.883036,32.91514],[102.883882,32.914004],[102.884545,32.913353],[102.885692,32.91248],[102.886416,32.912147],[102.887136,32.912016],[102.890012,32.910136],[102.891018,32.909434],[102.891588,32.908408],[102.892434,32.907242],[102.89303,32.906561],[102.893252,32.905846],[102.893298,32.905329],[102.893691,32.904587],[102.893877,32.903928],[102.893929,32.903181],[102.893818,32.902114],[102.893743,32.900962],[102.89373,32.90007],[102.893579,32.899262],[102.893845,32.898086],[102.894094,32.897403],[102.894163,32.897215],[102.894356,32.896685],[102.894308,32.895821],[102.894535,32.894904],[102.894937,32.893759],[102.895235,32.8927],[102.895731,32.890464],[102.895751,32.889629],[102.895698,32.888995],[102.895571,32.88859],[102.896146,32.887334],[102.897278,32.885626],[102.897787,32.885186],[102.8978,32.885175],[102.89829,32.884636],[102.89849,32.884389],[102.898817,32.883983],[102.899003,32.883325],[102.899057,32.882491],[102.898709,32.881334],[102.898907,32.878719],[102.899044,32.877282],[102.899108,32.875988],[102.899493,32.874124],[102.899904,32.871167],[102.900589,32.868129],[102.901096,32.866871],[102.901196,32.86552],[102.901659,32.861816],[102.901708,32.861155],[102.901726,32.860407],[102.901703,32.859946],[102.90189,32.85923],[102.901606,32.858247],[102.900999,32.85651],[102.900346,32.85529],[102.900031,32.854191],[102.899529,32.852341],[102.899453,32.851218],[102.899478,32.850182],[102.900031,32.849846],[102.901531,32.849871],[102.902658,32.849775],[102.904054,32.849827],[102.905111,32.849845],[102.906262,32.850181],[102.907379,32.850545],[102.908395,32.850821],[102.908585,32.850862],[102.908603,32.850866],[102.908656,32.850877],[102.908667,32.850879],[102.908682,32.850882],[102.908804,32.850908],[102.908844,32.850917],[102.908868,32.850922],[102.9089,32.850929],[102.909006,32.850952],[102.909152,32.850983],[102.909209,32.850995],[102.909397,32.851035],[102.90952,32.851062],[102.909637,32.851087],[102.909683,32.851097],[102.909691,32.851098],[102.909759,32.851113],[102.909854,32.851133],[102.910971,32.85144],[102.911271,32.851346],[102.912105,32.851084],[102.912774,32.850175],[102.913412,32.849121],[102.914116,32.848183],[102.914301,32.847809],[102.914653,32.847098],[102.914884,32.846419],[102.914945,32.84624],[102.914889,32.845721],[102.914017,32.845102],[102.913605,32.844679],[102.913418,32.844488],[102.912993,32.843704],[102.912231,32.841331],[102.912321,32.840383],[102.912854,32.839471],[102.913864,32.838538],[102.91442,32.838099],[102.915253,32.837439],[102.915502,32.837198],[102.915777,32.83693],[102.915939,32.83581],[102.916265,32.833514],[102.916081,32.832647],[102.916032,32.83184],[102.916115,32.829712],[102.916182,32.828332],[102.916515,32.827186],[102.917569,32.825852],[102.918583,32.824746],[102.919081,32.823862],[102.919542,32.823064],[102.919937,32.822229],[102.920074,32.821821],[102.920294,32.821177],[102.920502,32.819929],[102.920757,32.818833],[102.921287,32.818021],[102.921764,32.817317],[102.922549,32.81651],[102.923798,32.815581],[102.924806,32.815195],[102.92583,32.814612],[102.926973,32.813715],[102.927426,32.813288],[102.927605,32.813305],[102.927719,32.813338],[102.927769,32.813337],[102.927826,32.813299],[102.927881,32.813193],[102.92793,32.813059],[102.927908,32.812834],[102.927929,32.812814],[102.928809,32.811976],[102.929342,32.811574],[102.930562,32.810583],[102.931088,32.810276],[102.931927,32.809785],[102.932352,32.809534],[102.932941,32.809186],[102.933748,32.808709],[102.933789,32.808695],[102.934879,32.808317],[102.936013,32.80783],[102.936063,32.807793],[102.936182,32.807873],[102.936372,32.808],[102.936563,32.808126],[102.936753,32.808253],[102.937055,32.808366],[102.937357,32.80848],[102.937721,32.808585],[102.938085,32.808689],[102.93845,32.808794],[102.938684,32.808886],[102.938914,32.808975],[102.939144,32.809065],[102.939373,32.809155],[102.939603,32.809245],[102.939832,32.809335],[102.940062,32.809424],[102.940291,32.809514],[102.940521,32.809604],[102.940751,32.809694],[102.94098,32.809784],[102.941207,32.809896],[102.941434,32.810007],[102.941662,32.810119],[102.941889,32.810231],[102.942116,32.810343],[102.942343,32.810454],[102.942562,32.810599],[102.942781,32.810745],[102.943,32.81089],[102.94322,32.811035],[102.943439,32.81118],[102.943658,32.811325],[102.943877,32.81147],[102.944096,32.811616],[102.944315,32.811761],[102.944534,32.811906],[102.944753,32.812051],[102.944972,32.812196],[102.945342,32.812425],[102.945712,32.812653],[102.946081,32.812882],[102.946451,32.81311],[102.946787,32.813264],[102.947123,32.813417],[102.947425,32.813501],[102.947752,32.813556],[102.948078,32.81361],[102.94845,32.813735],[102.948798,32.813918],[102.949012,32.814078],[102.949226,32.814238],[102.94944,32.814397],[102.949654,32.814557],[102.949868,32.814716],[102.950083,32.814876],[102.950297,32.815036],[102.950511,32.815195],[102.950725,32.815355],[102.950939,32.815514],[102.951132,32.815656],[102.951325,32.815797],[102.951518,32.815939],[102.951711,32.81608],[102.951903,32.816222],[102.952096,32.816363],[102.952289,32.816505],[102.952482,32.816646],[102.952793,32.816951],[102.953105,32.817255],[102.953416,32.81756],[102.953727,32.817865],[102.954085,32.818098],[102.954444,32.818331],[102.954675,32.818433],[102.954907,32.818535],[102.955168,32.818615],[102.955428,32.818694],[102.955689,32.818773],[102.955949,32.818853],[102.95621,32.818932],[102.95647,32.819011],[102.956731,32.819091],[102.956991,32.81917],[102.957252,32.819249],[102.957512,32.819329],[102.957883,32.819499],[102.958254,32.81967],[102.958625,32.819841],[102.95889,32.820022],[102.959156,32.820204],[102.959454,32.820486],[102.959679,32.820846],[102.959756,32.821084],[102.959832,32.821323],[102.959909,32.821541],[102.959986,32.82176],[102.960082,32.822008],[102.960179,32.822256],[102.960275,32.822504],[102.960371,32.822752],[102.960467,32.823],[102.960563,32.823248],[102.96066,32.823497],[102.960756,32.823745],[102.960852,32.823993],[102.960948,32.824241],[102.96106,32.82448],[102.961171,32.824719],[102.961283,32.824958],[102.961394,32.825197],[102.961427,32.825243],[102.961621,32.825516],[102.961704,32.825577],[102.961899,32.825718],[102.96209,32.825839],[102.962282,32.825961],[102.962473,32.826083],[102.962665,32.826205],[102.962856,32.826326],[102.963048,32.826448],[102.963239,32.82657],[102.963431,32.826691],[102.963621,32.826812],[102.963622,32.826813],[102.963761,32.826901],[102.963814,32.826935],[102.964229,32.827093],[102.964644,32.827252],[102.965059,32.827411],[102.965475,32.82757],[102.96589,32.827728],[102.966084,32.827845],[102.966092,32.82785],[102.966178,32.827902],[102.966467,32.828075],[102.966742,32.828316],[102.96697,32.828636],[102.967049,32.828814],[102.967148,32.829035],[102.967178,32.829262],[102.967208,32.829489],[102.967257,32.829895],[102.967306,32.830301],[102.967318,32.830568],[102.967329,32.830834],[102.967341,32.831101],[102.967353,32.831368],[102.967336,32.831598],[102.967319,32.831829],[102.967302,32.832059],[102.967285,32.83229],[102.967262,32.832526],[102.967239,32.832762],[102.967216,32.832999],[102.967193,32.833235],[102.967174,32.833451],[102.967138,32.833853],[102.967103,32.834255],[102.967067,32.834656],[102.966978,32.834971],[102.966888,32.835285],[102.966755,32.835501],[102.966621,32.835717],[102.966476,32.835902],[102.966332,32.836087],[102.966176,32.836262],[102.966019,32.836437],[102.965863,32.836613],[102.965707,32.836788],[102.96555,32.836964],[102.965394,32.837139],[102.965099,32.837444],[102.964804,32.837749],[102.964508,32.838053],[102.964213,32.838358],[102.964213,32.838359],[102.964212,32.83836],[102.964139,32.838534],[102.964134,32.838691],[102.964223,32.838892],[102.964409,32.839183],[102.964455,32.839256],[102.964687,32.83962],[102.964919,32.839984],[102.965151,32.840348],[102.965275,32.840554],[102.965399,32.84076],[102.965524,32.840966],[102.965648,32.841173],[102.965772,32.841379],[102.965896,32.841585],[102.96602,32.841791],[102.966144,32.841997],[102.966269,32.842203],[102.966339,32.84232],[102.966393,32.842409],[102.966517,32.842615],[102.966641,32.842822],[102.966814,32.84298],[102.966987,32.843139],[102.967159,32.843298],[102.967258,32.843388],[102.967332,32.843456],[102.967505,32.843615],[102.967678,32.843774],[102.96785,32.843932],[102.968023,32.844091],[102.968196,32.84425],[102.968368,32.844409],[102.968493,32.844598],[102.968618,32.844788],[102.968721,32.844994],[102.968742,32.845037],[102.968865,32.845286],[102.968988,32.84569],[102.969112,32.846093],[102.969235,32.846497],[102.969253,32.846725],[102.969272,32.846953],[102.969287,32.847308],[102.969279,32.847664],[102.969214,32.847939],[102.969149,32.848215],[102.969008,32.848594],[102.968867,32.848974],[102.968726,32.849353],[102.968566,32.849716],[102.968406,32.850079],[102.968241,32.850253],[102.968076,32.850428],[102.967911,32.850602],[102.967746,32.850776],[102.967581,32.850951],[102.967416,32.851125],[102.967234,32.851409],[102.967051,32.851692],[102.966974,32.852007],[102.966991,32.852303],[102.967068,32.852542],[102.967144,32.85278],[102.967255,32.853058],[102.967366,32.853336],[102.967473,32.853773],[102.967488,32.854129],[102.967471,32.854386],[102.967453,32.854642],[102.967415,32.854866],[102.967377,32.85509],[102.967339,32.855314],[102.967301,32.855538],[102.967263,32.855762],[102.967225,32.855986],[102.967187,32.85621],[102.96715,32.856434],[102.967112,32.856657],[102.967074,32.856881],[102.967026,32.857276],[102.966978,32.857671],[102.966931,32.858065],[102.966936,32.858352],[102.966941,32.858639],[102.967005,32.858936],[102.967068,32.859234],[102.967168,32.859477],[102.967267,32.85972],[102.967367,32.859964],[102.967467,32.860207],[102.96757,32.860361],[102.967639,32.860462],[102.967811,32.860717],[102.968064,32.860937],[102.968435,32.861121],[102.968666,32.861254],[102.968898,32.861386],[102.969129,32.861518],[102.96936,32.861651],[102.969634,32.86195],[102.969816,32.86225],[102.969939,32.862499],[102.970063,32.862748],[102.970082,32.862793],[102.970151,32.862957],[102.970239,32.863166],[102.970326,32.863473],[102.970413,32.86378],[102.970511,32.864138],[102.970608,32.864496],[102.970876,32.864809],[102.971144,32.865121],[102.971412,32.865433],[102.97171,32.865754],[102.972007,32.866075],[102.972304,32.866396],[102.972602,32.866717],[102.972749,32.866936],[102.972896,32.867156],[102.973052,32.867494],[102.973116,32.867832],[102.973128,32.868266],[102.973118,32.868701],[102.973039,32.869085],[102.972961,32.869469],[102.972883,32.869784],[102.972806,32.870098],[102.972798,32.870493],[102.972815,32.87075],[102.972833,32.871008],[102.97285,32.871265],[102.972868,32.871522],[102.97291,32.871586],[102.973072,32.871828],[102.973396,32.871992],[102.973722,32.872076],[102.974168,32.872043],[102.974311,32.871967],[102.974696,32.871828],[102.975082,32.87169],[102.975468,32.871551],[102.975728,32.871471],[102.975988,32.871391],[102.976248,32.871312],[102.976508,32.871232],[102.976848,32.871178],[102.977188,32.871125],[102.977626,32.871118],[102.978064,32.871112],[102.978501,32.871105],[102.978774,32.87113],[102.979048,32.871154],[102.979321,32.871178],[102.979594,32.871203],[102.979867,32.871227],[102.98014,32.871251],[102.980384,32.871322],[102.980629,32.871392],[102.980873,32.871463],[102.981117,32.871533],[102.981362,32.871604],[102.981606,32.871675],[102.981851,32.871745],[102.982095,32.871816],[102.98232,32.871911],[102.982545,32.872006],[102.98277,32.872102],[102.982995,32.872197],[102.983219,32.872293],[102.983444,32.872388],[102.983669,32.872483],[102.983894,32.872579],[102.984134,32.872666],[102.984373,32.872753],[102.984447,32.872779],[102.984612,32.87284],[102.984852,32.872927],[102.985091,32.873013],[102.985331,32.8731],[102.98557,32.873187],[102.98581,32.873274],[102.986049,32.873361],[102.986289,32.873448],[102.986542,32.873649],[102.986887,32.873931],[102.986937,32.873947],[102.987283,32.874056],[102.98761,32.874101],[102.987882,32.874103],[102.988155,32.874105],[102.988427,32.874107],[102.988699,32.874108],[102.988972,32.87411],[102.989244,32.874112],[102.989516,32.874114],[102.989789,32.874116],[102.990043,32.874103],[102.990297,32.87409],[102.990321,32.874088],[102.99055,32.874077],[102.990804,32.874064],[102.991058,32.874051],[102.991312,32.874038],[102.991566,32.874025],[102.99182,32.874012],[102.992127,32.873973],[102.992231,32.873959],[102.992642,32.873906],[102.993066,32.873795],[102.99349,32.873683],[102.993711,32.873564],[102.993932,32.873445],[102.994153,32.873326],[102.994373,32.873207],[102.994594,32.873088],[102.994815,32.872969],[102.995035,32.87285],[102.995114,32.872808],[102.995256,32.872732],[102.995477,32.872613],[102.995697,32.872494],[102.995923,32.872372],[102.996068,32.872294],[102.996148,32.872251],[102.996374,32.872129],[102.996599,32.872008],[102.996825,32.871887],[102.997051,32.871765],[102.997408,32.871494],[102.997765,32.871223],[102.997893,32.870988],[102.998022,32.870753],[102.99815,32.870518],[102.998279,32.870283],[102.998492,32.869933],[102.998705,32.869583],[102.998917,32.869234],[102.99911,32.869],[102.999303,32.868765],[102.99959,32.868524],[102.999876,32.868282],[103.000272,32.868072],[103.000501,32.86791],[103.000729,32.867747],[103.000958,32.867582],[103.001187,32.867417],[103.001378,32.867279],[103.001568,32.867142],[103.001839,32.866968],[103.002172,32.866684],[103.002376,32.86655],[103.00258,32.866416],[103.002784,32.866282],[103.002988,32.866149],[103.003291,32.86587],[103.003594,32.865592],[103.003772,32.865337],[103.00395,32.865082],[103.004137,32.864759],[103.004325,32.864436],[103.004512,32.864113],[103.004619,32.863897],[103.004726,32.863681],[103.004833,32.863465],[103.00494,32.863248],[103.005047,32.863032],[103.005154,32.862816],[103.005304,32.862399],[103.005453,32.861982],[103.005603,32.861564],[103.005765,32.861214],[103.005926,32.860864],[103.006087,32.860514],[103.006192,32.860293],[103.006297,32.860073],[103.006402,32.859853],[103.006508,32.859632],[103.006667,32.859393],[103.006784,32.859314],[103.006879,32.859315],[103.006994,32.859333],[103.007068,32.859431],[103.007121,32.859593],[103.007114,32.859948],[103.007094,32.860392],[103.007075,32.860835],[103.00704,32.861099],[103.007005,32.861363],[103.006971,32.861628],[103.006936,32.861892],[103.006907,32.862328],[103.006911,32.862578],[103.006914,32.862828],[103.006981,32.863083],[103.007047,32.863339],[103.007114,32.863594],[103.00718,32.863849],[103.007242,32.864073],[103.007304,32.864297],[103.007366,32.864522],[103.007428,32.864746],[103.00749,32.86497],[103.007552,32.865194],[103.007709,32.865579],[103.007866,32.865963],[103.008023,32.866347],[103.008144,32.866606],[103.008206,32.86674],[103.008389,32.867133],[103.008573,32.867526],[103.008751,32.867907],[103.008756,32.867919],[103.008856,32.868149],[103.008956,32.868379],[103.009057,32.868608],[103.009157,32.868838],[103.009257,32.869068],[103.009357,32.869297],[103.009366,32.869317],[103.009398,32.869391],[103.009457,32.869527],[103.009557,32.869757],[103.009686,32.869992],[103.009815,32.870228],[103.009945,32.870464],[103.010074,32.870699],[103.010203,32.870935],[103.010332,32.87117],[103.010461,32.871406],[103.01059,32.871642],[103.0107,32.871885],[103.010809,32.872129],[103.010919,32.872373],[103.011028,32.872616],[103.011138,32.87286],[103.011247,32.873104],[103.011357,32.873348],[103.011466,32.873591],[103.011641,32.873973],[103.011815,32.874355],[103.01199,32.874736],[103.012164,32.875118],[103.012317,32.875452],[103.01247,32.875787],[103.012588,32.876002],[103.012705,32.876217],[103.012759,32.876315],[103.012823,32.876432],[103.012941,32.876647],[103.013017,32.876786],[103.013058,32.876862],[103.013176,32.877077],[103.013294,32.877293],[103.013412,32.877508],[103.01362,32.877893],[103.013828,32.878278],[103.014036,32.878663],[103.014156,32.879042],[103.014275,32.87942],[103.014395,32.879799],[103.014504,32.880023],[103.014614,32.880248],[103.014763,32.880482],[103.014841,32.880603],[103.015068,32.880957],[103.015294,32.881312],[103.015298,32.881318],[103.015521,32.881667],[103.015631,32.881911],[103.015758,32.882187],[103.01581,32.882462],[103.015843,32.882688],[103.015876,32.882915],[103.015885,32.883157],[103.015894,32.883399],[103.015903,32.883641],[103.015912,32.883884],[103.015921,32.884143],[103.01593,32.884403],[103.015939,32.884662],[103.015948,32.884922],[103.015958,32.885182],[103.015967,32.885441],[103.015976,32.885701],[103.015985,32.88596],[103.016026,32.886407],[103.016067,32.886854],[103.016108,32.887301],[103.01616,32.887552],[103.016211,32.887803],[103.016262,32.888135],[103.016313,32.888466],[103.016445,32.888816],[103.016577,32.889167],[103.016709,32.889517],[103.016917,32.889866],[103.016932,32.889892],[103.017099,32.890121],[103.017287,32.89027],[103.017514,32.890353],[103.017887,32.89051],[103.018261,32.890666],[103.018634,32.890822],[103.018889,32.890972],[103.019028,32.891053],[103.019144,32.891121],[103.019388,32.891352],[103.019594,32.891596],[103.019779,32.89189],[103.01989,32.892102],[103.02,32.892313],[103.020134,32.892727],[103.020268,32.893141],[103.020389,32.893528],[103.020509,32.893916],[103.02063,32.894304],[103.020731,32.894508],[103.020832,32.894711],[103.020979,32.894955],[103.021298,32.895267],[103.021582,32.895434],[103.021824,32.89553],[103.022066,32.895627],[103.022308,32.895723],[103.022549,32.89582],[103.02278,32.895911],[103.022825,32.895929],[103.023058,32.896022],[103.0231,32.896039],[103.02327,32.896185],[103.02338,32.896382],[103.023433,32.896591],[103.023428,32.896785],[103.023404,32.897043],[103.023358,32.897366],[103.02333,32.897736],[103.023324,32.898026],[103.023384,32.898201],[103.023571,32.898413],[103.023835,32.89858],[103.024138,32.898714],[103.024482,32.898768],[103.024703,32.898805],[103.024925,32.898843],[103.025147,32.898881],[103.025369,32.898919],[103.025591,32.898956],[103.025812,32.898994],[103.026034,32.899032],[103.026256,32.89907],[103.02657,32.899139],[103.026885,32.899209],[103.027069,32.89928],[103.027122,32.899301],[103.027359,32.899393],[103.027496,32.899464],[103.027681,32.89956],[103.028002,32.899727],[103.028267,32.8999],[103.028532,32.900073],[103.028737,32.900302],[103.028943,32.900532],[103.029087,32.900716],[103.029232,32.9009],[103.029376,32.901084],[103.029521,32.901268],[103.029737,32.901605],[103.029953,32.901942],[103.030168,32.902279],[103.030447,32.902539],[103.030725,32.902799],[103.031004,32.903059],[103.031279,32.903414],[103.031553,32.90377],[103.031828,32.904125],[103.032103,32.904481],[103.032388,32.904778],[103.032396,32.904786],[103.03252,32.904916],[103.032541,32.904938],[103.032689,32.905092],[103.032766,32.905172],[103.032918,32.905331],[103.032983,32.905398],[103.033003,32.905416],[103.033007,32.90542],[103.033183,32.905578],[103.033383,32.905759],[103.033583,32.90594],[103.033783,32.90612],[103.033984,32.906301],[103.034184,32.906482],[103.034276,32.90655],[103.034337,32.906596],[103.034492,32.906713],[103.034514,32.906729],[103.034845,32.906976],[103.035148,32.907236],[103.035286,32.907354],[103.035451,32.907496],[103.035641,32.907662],[103.035695,32.90771],[103.035721,32.907732],[103.035739,32.907748],[103.035761,32.907767],[103.03594,32.907923],[103.036167,32.908057],[103.036409,32.908088],[103.036434,32.908091],[103.036454,32.908094],[103.036787,32.908128],[103.036816,32.90813],[103.03683,32.908129],[103.03722,32.90808],[103.037623,32.90803],[103.038057,32.907916],[103.03849,32.907802],[103.038923,32.907688],[103.039357,32.907574],[103.039599,32.907465],[103.039841,32.907355],[103.039904,32.907216],[103.040001,32.907003],[103.040023,32.906809],[103.040032,32.906756],[103.040069,32.906536],[103.040094,32.9063],[103.040118,32.906064],[103.040143,32.905828],[103.040167,32.905593],[103.040211,32.905335],[103.040255,32.905078],[103.040376,32.904822],[103.040562,32.904491],[103.040749,32.90416],[103.040935,32.90383],[103.041054,32.903635],[103.041173,32.903441],[103.041273,32.903276],[103.041292,32.903246],[103.041298,32.903235],[103.041411,32.903052],[103.04153,32.902857],[103.041564,32.902801],[103.041595,32.902751],[103.041649,32.902662],[103.041792,32.902434],[103.041935,32.902206],[103.042079,32.901978],[103.042222,32.90175],[103.042366,32.901522],[103.042462,32.901368],[103.042509,32.901294],[103.042612,32.901169],[103.042661,32.901111],[103.042765,32.900985],[103.042812,32.900927],[103.042964,32.900744],[103.043115,32.900561],[103.043267,32.900378],[103.043303,32.900334],[103.043418,32.900195],[103.043543,32.900043],[103.04357,32.900011],[103.043721,32.899828],[103.043873,32.899645],[103.044024,32.899462],[103.044177,32.899296],[103.044329,32.899129],[103.044482,32.898963],[103.044634,32.898797],[103.044701,32.898725],[103.044787,32.898631],[103.044939,32.898465],[103.045092,32.898299],[103.045244,32.898132],[103.045406,32.89796],[103.045568,32.897788],[103.04573,32.897616],[103.045892,32.897444],[103.046054,32.897271],[103.046215,32.897099],[103.046377,32.896927],[103.046539,32.896755],[103.046701,32.896582],[103.046863,32.89641],[103.047025,32.896238],[103.047186,32.896066],[103.047373,32.895892],[103.047443,32.895826],[103.047559,32.895718],[103.047745,32.895544],[103.047932,32.89537],[103.047965,32.89534],[103.048118,32.895196],[103.048276,32.895049],[103.048304,32.895022],[103.048491,32.894849],[103.048677,32.894675],[103.048699,32.894653],[103.04884,32.894513],[103.048848,32.894504],[103.049002,32.89435],[103.049165,32.894188],[103.049327,32.894026],[103.04949,32.893864],[103.049559,32.893795],[103.049652,32.893702],[103.049815,32.89354],[103.049977,32.893378],[103.05014,32.893216],[103.050303,32.893053],[103.050574,32.892881],[103.050604,32.892874],[103.050844,32.892821],[103.05119,32.89281],[103.05155,32.892928],[103.051792,32.893033],[103.051879,32.89307],[103.052034,32.893137],[103.052275,32.893242],[103.052517,32.893346],[103.052763,32.893495],[103.053009,32.893644],[103.053309,32.893964],[103.053609,32.894283],[103.053898,32.894619],[103.054187,32.894955],[103.05446,32.8952],[103.054732,32.895446],[103.055009,32.895609],[103.055053,32.895635],[103.055054,32.895635],[103.055057,32.895636],[103.055287,32.895771],[103.055544,32.895896],[103.0558,32.896021],[103.056219,32.896109],[103.056545,32.896097],[103.056618,32.896074],[103.056833,32.896005],[103.056911,32.895966],[103.05722,32.89581],[103.0573,32.89577],[103.057513,32.895662],[103.057608,32.895614],[103.057995,32.895418],[103.058382,32.895222],[103.058627,32.895128],[103.058872,32.895034],[103.059118,32.89494],[103.059363,32.894846],[103.059608,32.894752],[103.059685,32.894723],[103.059853,32.894658],[103.060099,32.894564],[103.060344,32.89447],[103.060584,32.894397],[103.060825,32.894324],[103.061065,32.894251],[103.061305,32.894178],[103.061747,32.89417],[103.062186,32.894208],[103.062439,32.894245],[103.062692,32.894281],[103.062945,32.894317],[103.063198,32.894354],[103.063443,32.894418],[103.063688,32.894481],[103.0641,32.894589],[103.064511,32.894696],[103.064796,32.89483],[103.065081,32.894964],[103.065288,32.895144],[103.065494,32.895325],[103.065701,32.895506],[103.065907,32.895686],[103.065943,32.895717],[103.066114,32.895867],[103.066321,32.896048],[103.066505,32.896254],[103.06669,32.89646],[103.066875,32.896666],[103.06706,32.896873],[103.067257,32.897037],[103.067454,32.897202],[103.067651,32.897367],[103.067849,32.897531],[103.068037,32.897704],[103.068224,32.897876],[103.068412,32.898048],[103.0686,32.898221],[103.068788,32.898393],[103.068976,32.898566],[103.069249,32.89878],[103.069523,32.898994],[103.069594,32.899032],[103.069741,32.89911],[103.069958,32.899227],[103.070176,32.899343],[103.070394,32.89946],[103.070643,32.899546],[103.070892,32.899632],[103.071141,32.899718],[103.07139,32.899804],[103.071639,32.89989],[103.071888,32.899976],[103.072137,32.900062],[103.072386,32.900148],[103.072635,32.900234],[103.072884,32.90032],[103.07312,32.900391],[103.073355,32.900462],[103.073464,32.900495],[103.073591,32.900533],[103.073826,32.900604],[103.074062,32.900675],[103.074298,32.900746],[103.074533,32.900817],[103.074769,32.900888],[103.075005,32.900959],[103.07524,32.90103],[103.075476,32.901101],[103.075711,32.901172],[103.075947,32.901243],[103.076183,32.901314],[103.076429,32.901423],[103.076676,32.901531],[103.076923,32.90164],[103.07717,32.901749],[103.077483,32.901916],[103.077795,32.902083],[103.07798,32.902231],[103.078165,32.902379],[103.07835,32.902527],[103.078535,32.902675],[103.078721,32.902823],[103.078906,32.902971],[103.079083,32.903175],[103.079261,32.90338],[103.079568,32.90369],[103.079875,32.904],[103.080182,32.90431],[103.080489,32.90462],[103.080697,32.904744],[103.080905,32.904868],[103.081211,32.904954],[103.081535,32.904975],[103.081842,32.904914],[103.082132,32.90479],[103.082483,32.904521],[103.082493,32.904506],[103.082621,32.904314],[103.082704,32.90404],[103.082824,32.903783],[103.083004,32.903464],[103.083259,32.90321],[103.083531,32.902972],[103.083685,32.90291],[103.08384,32.902848],[103.084166,32.902853],[103.084479,32.902963],[103.084793,32.903072],[103.084926,32.90313],[103.085033,32.903176],[103.08506,32.903188],[103.085272,32.903281],[103.085335,32.903308],[103.085512,32.903385],[103.085752,32.90349],[103.085992,32.903594],[103.086231,32.903699],[103.086471,32.903803],[103.086711,32.903907],[103.086878,32.904104],[103.086967,32.904262],[103.087044,32.904398],[103.087179,32.904803],[103.087315,32.905209],[103.087377,32.905413],[103.087414,32.905533],[103.087513,32.905857],[103.087634,32.906083],[103.087755,32.906309],[103.087876,32.906536],[103.087998,32.906762],[103.088119,32.906988],[103.08824,32.907214],[103.088383,32.907426],[103.088525,32.907638],[103.088667,32.90785],[103.08881,32.908063],[103.088952,32.908275],[103.089095,32.908487],[103.089365,32.908809],[103.089636,32.909131],[103.089907,32.909454],[103.090177,32.909776],[103.090446,32.910076],[103.090714,32.910376],[103.090983,32.910677],[103.091161,32.910848],[103.09134,32.911019],[103.091519,32.911191],[103.091698,32.911362],[103.091981,32.911496],[103.092285,32.91163],[103.092542,32.911721],[103.092799,32.911812],[103.093055,32.911903],[103.093312,32.911994],[103.093568,32.912085],[103.093825,32.912176],[103.094082,32.912267],[103.094338,32.912358],[103.094429,32.91239],[103.094595,32.912449],[103.094851,32.91254],[103.09502,32.912597],[103.095086,32.912619],[103.09532,32.912698],[103.095555,32.912777],[103.09579,32.912856],[103.096024,32.912935],[103.096259,32.913014],[103.096602,32.913067],[103.096794,32.913038],[103.096882,32.912988],[103.096989,32.912928],[103.097145,32.912769],[103.097175,32.912726],[103.097276,32.912585],[103.097408,32.912402],[103.097539,32.912218],[103.097671,32.912034],[103.097803,32.911851],[103.097934,32.911667],[103.09809,32.911438],[103.098246,32.911209],[103.098403,32.91098],[103.098559,32.910751],[103.098679,32.910503],[103.0988,32.910255],[103.098876,32.909812],[103.098952,32.90937],[103.09903,32.909153],[103.099108,32.908937],[103.099186,32.90872],[103.099264,32.908503],[103.099342,32.908287],[103.09942,32.90807],[103.09964,32.907679],[103.09986,32.907288],[103.10008,32.906897],[103.1003,32.906506],[103.100435,32.906286],[103.100569,32.906065],[103.100704,32.905844],[103.100839,32.905624],[103.100974,32.905403],[103.101109,32.905182],[103.101244,32.904962],[103.101378,32.904741],[103.101513,32.90452],[103.101648,32.9043],[103.101867,32.903977],[103.102085,32.903653],[103.102304,32.90333],[103.102434,32.90309],[103.102563,32.90285],[103.102626,32.902601],[103.102688,32.902352],[103.102773,32.902006],[103.102857,32.90166],[103.102904,32.901241],[103.102952,32.900822],[103.103139,32.900435],[103.103326,32.900048],[103.103513,32.899661],[103.103723,32.899273],[103.103932,32.898885],[103.104142,32.898497],[103.104351,32.898109],[103.104508,32.897933],[103.104664,32.897758],[103.104821,32.897583],[103.104977,32.897407],[103.105281,32.897121],[103.105585,32.896836],[103.105815,32.896712],[103.105824,32.896707],[103.106063,32.896579],[103.106302,32.896451],[103.106448,32.896373],[103.106541,32.896323],[103.10685,32.896199],[103.107159,32.896075],[103.107419,32.896039],[103.107679,32.896003],[103.108083,32.895912],[103.108486,32.895821],[103.108686,32.895767],[103.108852,32.895721],[103.109218,32.895622],[103.109422,32.895512],[103.109626,32.895402],[103.109867,32.895192],[103.109908,32.895156],[103.11019,32.89491],[103.110364,32.894762],[103.110537,32.894613],[103.110711,32.894464],[103.110884,32.894316],[103.111057,32.894167],[103.111231,32.894019],[103.111404,32.89387],[103.111578,32.893721],[103.111769,32.893535],[103.11196,32.893349],[103.112152,32.893163],[103.112343,32.892977],[103.112535,32.892791],[103.112726,32.892606],[103.112917,32.89242],[103.113109,32.892234],[103.113313,32.89208],[103.113517,32.891927],[103.113722,32.891773],[103.113926,32.89162],[103.11413,32.891467],[103.114335,32.891313],[103.114539,32.89116],[103.114743,32.891006],[103.114948,32.890853],[103.115152,32.8907],[103.115325,32.890555],[103.115497,32.89041],[103.11567,32.890266],[103.115843,32.890121],[103.116016,32.889976],[103.116189,32.889832],[103.116361,32.889687],[103.116534,32.889542],[103.116755,32.88941],[103.116769,32.889402],[103.117003,32.889263],[103.117237,32.889123],[103.117472,32.888983],[103.11783,32.888779],[103.118189,32.888575],[103.11839,32.888452],[103.11859,32.888328],[103.118791,32.888205],[103.118991,32.888081],[103.119192,32.887958],[103.119393,32.887834],[103.119486,32.887731],[103.119637,32.887564],[103.119882,32.887293],[103.119947,32.887222],[103.120002,32.887195],[103.120189,32.887105],[103.120226,32.887086],[103.12043,32.886987],[103.12078,32.886775],[103.121129,32.886562],[103.121275,32.886424],[103.121431,32.886276],[103.121733,32.88599],[103.121962,32.885639],[103.12199,32.885595],[103.12219,32.885287],[103.1223,32.885063],[103.122306,32.885051],[103.12241,32.884838],[103.122546,32.884469],[103.122681,32.8841],[103.122817,32.883731],[103.122832,32.883478],[103.122847,32.883226],[103.122862,32.882973],[103.122877,32.882721],[103.122882,32.882472],[103.122885,32.882312],[103.122894,32.881904],[103.122897,32.881761],[103.122902,32.881495],[103.122883,32.881413],[103.122851,32.88127],[103.12284,32.881224],[103.122809,32.881085],[103.122715,32.880676],[103.122622,32.880266],[103.122555,32.880068],[103.122495,32.879892],[103.12245,32.879756],[103.122369,32.879519],[103.122317,32.879364],[103.122243,32.879145],[103.122121,32.878929],[103.121998,32.878713],[103.121803,32.87846],[103.121607,32.878207],[103.121483,32.877991],[103.121358,32.877775],[103.121234,32.877559],[103.121109,32.877344],[103.120981,32.877027],[103.120853,32.876709],[103.12083,32.876484],[103.120806,32.876259],[103.120819,32.876012],[103.120824,32.87592],[103.120834,32.87572],[103.120841,32.875582],[103.120883,32.87535],[103.120925,32.875117],[103.120965,32.874895],[103.121005,32.874673],[103.121045,32.87445],[103.121085,32.874228],[103.121125,32.874006],[103.121165,32.873784],[103.121316,32.873415],[103.121467,32.873047],[103.121685,32.87271],[103.121911,32.872415],[103.122137,32.87212],[103.12236,32.872035],[103.12242,32.872012],[103.122582,32.87195],[103.122843,32.87184],[103.123104,32.871731],[103.123382,32.871712],[103.12366,32.871692],[103.124081,32.871633],[103.124199,32.871555],[103.12424,32.871377],[103.124254,32.871349],[103.124402,32.871044],[103.124564,32.870711],[103.124698,32.870503],[103.124831,32.870295],[103.124965,32.870087],[103.125099,32.869879],[103.12531,32.869522],[103.125521,32.869165],[103.125733,32.868808],[103.125913,32.868614],[103.126094,32.86842],[103.126187,32.868366],[103.12641,32.868239],[103.126424,32.868231],[103.126655,32.868122],[103.126736,32.868102],[103.12704,32.868031],[103.127285,32.867982],[103.12753,32.867933],[103.127776,32.867884],[103.128021,32.867835],[103.128266,32.867786],[103.128511,32.867737],[103.128608,32.867718],[103.128757,32.867689],[103.129002,32.86764],[103.129234,32.867593],[103.129466,32.867547],[103.129699,32.867501],[103.129931,32.867455],[103.130163,32.867408],[103.130395,32.867362],[103.130628,32.867316],[103.13086,32.867269],[103.131092,32.867223],[103.131151,32.867211],[103.131182,32.867205],[103.131324,32.867177],[103.131556,32.867131],[103.131789,32.867084],[103.132057,32.867072],[103.132325,32.86706],[103.132594,32.867048],[103.132862,32.867036],[103.13313,32.867023],[103.133399,32.867011],[103.13357,32.86702],[103.133817,32.867033],[103.133862,32.867036],[103.134236,32.867055],[103.134655,32.867078],[103.135073,32.8671],[103.1353,32.867089],[103.135528,32.867078],[103.135755,32.867067],[103.135983,32.867057],[103.13621,32.867046],[103.136438,32.867035],[103.136665,32.867024],[103.136892,32.867014],[103.137122,32.867019],[103.137352,32.867025],[103.137581,32.86703],[103.137811,32.867036],[103.137887,32.867037],[103.138041,32.867041],[103.13827,32.867047],[103.1385,32.867052],[103.13873,32.867057],[103.139027,32.867038],[103.139324,32.867018],[103.139655,32.866971],[103.139737,32.866959],[103.140151,32.8669],[103.140377,32.866835],[103.140603,32.86677],[103.140829,32.866705],[103.141055,32.86664],[103.141293,32.866571],[103.14153,32.866502],[103.141767,32.866432],[103.142005,32.866363],[103.142242,32.866293],[103.142479,32.866224],[103.142717,32.866154],[103.142954,32.866085],[103.14318,32.866028],[103.143407,32.86597],[103.143633,32.865913],[103.143859,32.865856],[103.144225,32.865796],[103.14459,32.865737],[103.14483,32.865676],[103.145001,32.865633],[103.145001,32.865633],[103.14507,32.865615],[103.145311,32.865554],[103.145551,32.865493],[103.145722,32.865437],[103.145956,32.865359],[103.146361,32.865225],[103.146766,32.865092],[103.147004,32.864954],[103.147241,32.864816],[103.147478,32.864679],[103.147716,32.864541],[103.147953,32.864403],[103.148191,32.864266],[103.148428,32.864128],[103.148665,32.86399],[103.148982,32.863863],[103.148993,32.863858],[103.149321,32.863726],[103.149552,32.863713],[103.149934,32.863751],[103.1503,32.863893],[103.150666,32.864034],[103.150895,32.864069],[103.151105,32.864056],[103.151318,32.864018],[103.151355,32.864012],[103.15152,32.863972],[103.151701,32.863928],[103.152047,32.863844],[103.152298,32.863727],[103.15255,32.863609],[103.152801,32.863492],[103.153052,32.863375],[103.153304,32.863258],[103.153555,32.863141],[103.153806,32.863024],[103.154058,32.862906],[103.154309,32.862789],[103.15456,32.862672],[103.154925,32.862544],[103.154936,32.86254],[103.155312,32.862408],[103.155639,32.862332],[103.156063,32.86229],[103.156326,32.862286],[103.156589,32.862282],[103.156853,32.862278],[103.157116,32.862273],[103.157187,32.862274],[103.157342,32.862274],[103.157568,32.862275],[103.157794,32.862275],[103.157998,32.862276],[103.15802,32.862276],[103.158246,32.862277],[103.158472,32.862278],[103.158699,32.862278],[103.158925,32.862279],[103.159308,32.862244],[103.159691,32.86221],[103.159937,32.86217],[103.160184,32.862131],[103.16043,32.862092],[103.160677,32.862052],[103.160923,32.862013],[103.161169,32.861973],[103.161554,32.861906],[103.161939,32.861839],[103.1622,32.861722],[103.162461,32.861605],[103.162733,32.861362],[103.16274,32.861356],[103.162756,32.861341],[103.162837,32.861165],[103.162861,32.860939],[103.162862,32.860907],[103.162864,32.860783],[103.162867,32.860617],[103.162797,32.860309],[103.162652,32.859952],[103.162449,32.859553],[103.162247,32.859155],[103.162101,32.85883],[103.162012,32.85849],[103.16198,32.858215],[103.161948,32.85794],[103.161924,32.857714],[103.161899,32.857488],[103.161875,32.857262],[103.161851,32.857035],[103.161826,32.856809],[103.161802,32.856583],[103.161809,32.856182],[103.161815,32.855781],[103.161844,32.855552],[103.161873,32.855322],[103.161902,32.855093],[103.16193,32.854863],[103.161959,32.854634],[103.161988,32.854404],[103.162017,32.854175],[103.162045,32.853945],[103.162069,32.853519],[103.162092,32.853094],[103.162115,32.852668],[103.162139,32.852242],[103.162157,32.851823],[103.162175,32.851403],[103.162193,32.850984],[103.162212,32.850564],[103.162278,32.850126],[103.162345,32.849689],[103.162411,32.849251],[103.162466,32.849023],[103.162521,32.848796],[103.162576,32.848569],[103.162631,32.848342],[103.162686,32.848115],[103.162741,32.847888],[103.162791,32.84768],[103.162795,32.847661],[103.16285,32.847433],[103.162928,32.847037],[103.162932,32.84702],[103.163007,32.84664],[103.163085,32.846243],[103.163167,32.846032],[103.163249,32.845821],[103.16333,32.84561],[103.163412,32.845399],[103.163678,32.845072],[103.163943,32.844745],[103.164138,32.844575],[103.164333,32.844404],[103.164528,32.844233],[103.164722,32.844063],[103.164992,32.843891],[103.165033,32.843866],[103.165343,32.843668],[103.16559,32.843567],[103.165836,32.843465],[103.166083,32.843364],[103.166329,32.843263],[103.16656,32.84321],[103.16679,32.843157],[103.167021,32.843104],[103.167251,32.843051],[103.167482,32.842998],[103.167713,32.842944],[103.168098,32.842885],[103.168337,32.842897],[103.168576,32.842908],[103.168851,32.842969],[103.169054,32.843013],[103.169087,32.843021],[103.169127,32.843029],[103.169491,32.843068],[103.169758,32.843063],[103.17002,32.843059],[103.170026,32.843059],[103.170257,32.842959],[103.170303,32.84294],[103.170579,32.84282],[103.170794,32.842599],[103.170872,32.842518],[103.170992,32.842293],[103.171112,32.842069],[103.17131,32.841733],[103.171508,32.841397],[103.171657,32.841001],[103.171805,32.840605],[103.171954,32.840209],[103.172074,32.83997],[103.172195,32.839732],[103.172315,32.839493],[103.172436,32.839255],[103.172652,32.838951],[103.172963,32.838714],[103.173071,32.838648],[103.173195,32.838572],[103.173618,32.838465],[103.174021,32.838471],[103.174256,32.838517],[103.17449,32.838564],[103.174725,32.83861],[103.17496,32.838657],[103.175194,32.838703],[103.175429,32.83875],[103.175667,32.83884],[103.175904,32.83893],[103.176142,32.83902],[103.17638,32.839111],[103.176617,32.839201],[103.176855,32.839291],[103.177092,32.839381],[103.17733,32.839471],[103.177524,32.839587],[103.177718,32.839703],[103.177911,32.839819],[103.178105,32.839935],[103.178247,32.840042],[103.178287,32.840072],[103.178387,32.840148],[103.178669,32.840362],[103.17903,32.840545],[103.1793,32.840629],[103.179337,32.84064],[103.179439,32.840672],[103.179849,32.840798],[103.180189,32.840846],[103.18053,32.840894],[103.180931,32.8409],[103.181211,32.840799],[103.18149,32.840698],[103.181857,32.840494],[103.181977,32.840354],[103.182014,32.84031],[103.182172,32.840127],[103.182349,32.83988],[103.182527,32.839632],[103.182684,32.839457],[103.18284,32.839282],[103.182997,32.839107],[103.183153,32.838931],[103.183494,32.838729],[103.183512,32.838719],[103.18387,32.838506],[103.184112,32.838401],[103.184354,32.838295],[103.184596,32.83819],[103.184838,32.838084],[103.18508,32.837979],[103.185322,32.837873],[103.185564,32.837768],[103.185807,32.837662],[103.186049,32.837557],[103.186291,32.837451],[103.18653,32.837336],[103.18677,32.837222],[103.18701,32.837107],[103.18725,32.836993],[103.187489,32.836878],[103.187729,32.836764],[103.187969,32.836649],[103.188208,32.836535],[103.188448,32.83642],[103.188688,32.836306],[103.188917,32.836196],[103.189145,32.836087],[103.189374,32.835978],[103.189603,32.835868],[103.189831,32.835759],[103.19006,32.83565],[103.190446,32.835482],[103.190832,32.835314],[103.191218,32.835147],[103.191604,32.834979],[103.192008,32.834871],[103.192412,32.834764],[103.192817,32.834657],[103.193221,32.83455],[103.193463,32.834502],[103.193705,32.834454],[103.193947,32.834407],[103.194189,32.834359],[103.194536,32.834189],[103.194867,32.833927],[103.194878,32.833919],[103.195198,32.833666],[103.195295,32.833537],[103.195533,32.833313],[103.195771,32.833089],[103.196009,32.832865],[103.196178,32.832611],[103.196346,32.832358],[103.196526,32.832028],[103.196568,32.83195],[103.196706,32.831697],[103.196885,32.831367],[103.197065,32.831037],[103.197182,32.830782],[103.197287,32.830497],[103.197365,32.830282],[103.197391,32.830212],[103.197467,32.830005],[103.197496,32.829928],[103.197573,32.829607],[103.19765,32.829286],[103.197727,32.828965],[103.197749,32.828835],[103.197829,32.828571],[103.197894,32.828356],[103.19796,32.82814],[103.198043,32.827921],[103.198049,32.827908],[103.198096,32.827803],[103.198178,32.827657],[103.198416,32.827419],[103.198681,32.827316],[103.198945,32.827212],[103.199241,32.827116],[103.199537,32.827019],[103.199737,32.826998],[103.199994,32.827055],[103.200251,32.827112],[103.200529,32.827184],[103.200808,32.827255],[103.200921,32.827251],[103.201029,32.827248],[103.201429,32.827155],[103.201494,32.827135],[103.2019,32.827012],[103.202092,32.826991],[103.202127,32.826987],[103.202353,32.826961],[103.202771,32.826899],[103.202871,32.826884],[103.203162,32.82683],[103.203388,32.826699],[103.203638,32.826527],[103.203811,32.826339],[103.203983,32.826152],[103.20416,32.825835],[103.204337,32.825518],[103.204369,32.825468],[103.204475,32.8253],[103.204614,32.825081],[103.204762,32.824737],[103.20491,32.824394],[103.20513,32.824015],[103.205212,32.823969],[103.20534,32.823927],[103.205725,32.823883],[103.206164,32.823907],[103.206469,32.823958],[103.206707,32.82401],[103.206944,32.824063],[103.207147,32.824133],[103.207287,32.824181],[103.207629,32.824299],[103.207968,32.824513],[103.208289,32.824775],[103.208569,32.825118],[103.20869,32.825314],[103.20881,32.82551],[103.208864,32.825728],[103.208917,32.825947],[103.208946,32.826382],[103.208938,32.826762],[103.208931,32.827141],[103.208934,32.827566],[103.208937,32.827991],[103.208987,32.828346],[103.209096,32.828573],[103.20932,32.828852],[103.209613,32.829066],[103.209906,32.82928],[103.210091,32.829412],[103.210277,32.829543],[103.210462,32.829675],[103.210648,32.829807],[103.210833,32.829939],[103.211019,32.830071],[103.211243,32.830195],[103.211468,32.830319],[103.211693,32.830443],[103.211918,32.830567],[103.212142,32.830691],[103.212367,32.830815],[103.212592,32.83094],[103.212817,32.831064],[103.213161,32.831234],[103.213506,32.831403],[103.213851,32.831573],[103.21427,32.831692],[103.214391,32.831702],[103.214708,32.831731],[103.214957,32.831742],[103.215206,32.831754],[103.215474,32.831756],[103.215742,32.831757],[103.21601,32.831759],[103.216278,32.831761],[103.216546,32.831762],[103.216814,32.831764],[103.217082,32.831766],[103.21735,32.831767],[103.21779,32.831779],[103.21823,32.831791],[103.218502,32.831799],[103.218669,32.831803],[103.218898,32.831838],[103.219126,32.831874],[103.219506,32.832025],[103.219754,32.832189],[103.219932,32.832353],[103.22011,32.832518],[103.220412,32.832828],[103.220715,32.833139],[103.221017,32.833449],[103.221258,32.833696],[103.221499,32.833943],[103.221653,32.834107],[103.221808,32.834272],[103.221963,32.834436],[103.222117,32.8346],[103.222272,32.834765],[103.222426,32.834929],[103.222581,32.835093],[103.222736,32.835258],[103.22289,32.835422],[103.223045,32.835586],[103.223355,32.835888],[103.223664,32.83619],[103.223823,32.836419],[103.223981,32.836648],[103.224167,32.836933],[103.224352,32.837218],[103.224517,32.837422],[103.224682,32.837626],[103.224847,32.83783],[103.225012,32.838034],[103.225177,32.838238],[103.225342,32.838442],[103.225483,32.838664],[103.225625,32.838887],[103.225766,32.83911],[103.225908,32.839333],[103.226049,32.839555],[103.226191,32.839778],[103.226332,32.840001],[103.226474,32.840224],[103.226615,32.840447],[103.226757,32.840669],[103.22682,32.840888],[103.226882,32.841107],[103.226945,32.841325],[103.227008,32.841544],[103.227087,32.841884],[103.227166,32.842224],[103.227219,32.842467],[103.227272,32.84271],[103.227373,32.843103],[103.227474,32.843495],[103.227575,32.843888],[103.227702,32.844261],[103.227828,32.844634],[103.228032,32.844943],[103.228237,32.845221],[103.228415,32.845426],[103.228593,32.84563],[103.228853,32.84594],[103.229021,32.846217],[103.229189,32.846493],[103.229437,32.846868],[103.229684,32.847243],[103.229932,32.847618],[103.23006,32.847902],[103.230187,32.848186],[103.230302,32.8486],[103.230416,32.849015],[103.23053,32.849429],[103.230602,32.849689],[103.230673,32.849948],[103.230745,32.850207],[103.230816,32.850466],[103.230944,32.850775],[103.231169,32.850988],[103.231416,32.851119],[103.231757,32.851222],[103.232141,32.851243],[103.232428,32.851248],[103.232715,32.851253],[103.232945,32.851207],[103.233176,32.851161],[103.233579,32.851102],[103.233982,32.851044],[103.234211,32.851079],[103.23444,32.851115],[103.234697,32.851183],[103.234954,32.851251],[103.235239,32.851368],[103.235524,32.851485],[103.235921,32.851634],[103.236318,32.851782],[103.236715,32.851931],[103.237113,32.852079],[103.237532,32.852182],[103.23777,32.852234],[103.238009,32.852286],[103.238247,32.852338],[103.238485,32.85239],[103.238731,32.852404],[103.238976,32.852418],[103.239221,32.852432],[103.239467,32.852446],[103.239712,32.85246],[103.239957,32.852474],[103.240202,32.852482],[103.240447,32.852491],[103.240692,32.852499],[103.240937,32.852507],[103.241182,32.852515],[103.241426,32.852524],[103.241671,32.852532],[103.241916,32.85254],[103.242161,32.852549],[103.242406,32.852557],[103.242664,32.852581],[103.242922,32.852605],[103.243179,32.852628],[103.243437,32.852652],[103.243695,32.852676],[103.243953,32.8527],[103.244211,32.852724],[103.244469,32.852747],[103.244828,32.852827],[103.245187,32.852906],[103.24553,32.852992],[103.245873,32.853077],[103.245913,32.853095],[103.245991,32.853129],[103.246216,32.853228],[103.246574,32.853442],[103.24679,32.853542],[103.247006,32.853642],[103.247221,32.853742],[103.247437,32.853842],[103.247653,32.853942],[103.247869,32.854041],[103.248084,32.854141],[103.2483,32.854241],[103.248306,32.854244],[103.2487,32.854408],[103.249027,32.85445],[103.249119,32.854462],[103.249339,32.854465],[103.249371,32.854466],[103.249552,32.854468],[103.249623,32.854469],[103.249875,32.854473],[103.250127,32.854476],[103.250379,32.85448],[103.250631,32.854484],[103.25091,32.854454],[103.251188,32.854424],[103.251578,32.854382],[103.251968,32.85434],[103.252358,32.854298],[103.252799,32.854229],[103.253241,32.854159],[103.253683,32.85409],[103.253934,32.854041],[103.254184,32.853992],[103.254435,32.853943],[103.254686,32.853894],[103.254937,32.853845],[103.255188,32.853796],[103.255439,32.853747],[103.25569,32.853698],[103.255941,32.853649],[103.256191,32.8536],[103.256442,32.853551],[103.256693,32.853502],[103.256923,32.853489],[103.257153,32.853476],[103.257421,32.853512],[103.257649,32.853612],[103.257877,32.85376],[103.258075,32.853916],[103.258272,32.854073],[103.25847,32.854229],[103.258668,32.854385],[103.258827,32.854565],[103.258986,32.854744],[103.259145,32.854924],[103.259304,32.855104],[103.259464,32.855283],[103.259623,32.855463],[103.259782,32.855642],[103.259941,32.855822],[103.26013,32.85597],[103.260318,32.856119],[103.260698,32.856318],[103.260923,32.856411],[103.261149,32.856505],[103.261374,32.856599],[103.2616,32.856693],[103.261822,32.856786],[103.261825,32.856787],[103.26205,32.856881],[103.262276,32.856975],[103.262501,32.857068],[103.26279,32.857256],[103.263079,32.857444],[103.263419,32.857696],[103.263759,32.857948],[103.264099,32.8582],[103.264272,32.858348],[103.264444,32.858496],[103.264617,32.858643],[103.264789,32.858791],[103.264962,32.858939],[103.265134,32.859087],[103.265456,32.859268],[103.265664,32.859368],[103.265872,32.859469],[103.266101,32.85955],[103.266329,32.859631],[103.266557,32.859712],[103.266785,32.859793],[103.267013,32.859874],[103.267241,32.859955],[103.26746,32.860023],[103.267679,32.86009],[103.267898,32.860158],[103.268117,32.860225],[103.268336,32.860293],[103.268555,32.86036],[103.268774,32.860428],[103.268993,32.860495],[103.269212,32.860562],[103.269431,32.86063],[103.269696,32.860755],[103.269961,32.860881],[103.270284,32.861046],[103.270567,32.861243],[103.270774,32.861457],[103.270999,32.861701],[103.27114,32.861885],[103.271281,32.862069],[103.271423,32.862253],[103.271564,32.862437],[103.271705,32.862621],[103.271847,32.862804],[103.2721,32.863106],[103.272353,32.863408],[103.27255,32.863596],[103.272747,32.863784],[103.272939,32.863946],[103.27313,32.864107],[103.273321,32.864268],[103.273513,32.86443],[103.273704,32.864591],[103.273896,32.864753],[103.274122,32.864965],[103.274327,32.865307],[103.274437,32.865511],[103.274548,32.865714],[103.274689,32.865953],[103.274829,32.866191],[103.27497,32.866429],[103.27511,32.866667],[103.275256,32.866992],[103.275402,32.867318],[103.275493,32.867601],[103.275584,32.867885],[103.275757,32.868299],[103.275931,32.868713],[103.276089,32.868973],[103.276247,32.869233],[103.276445,32.869421],[103.276642,32.86961],[103.276865,32.869752],[103.277088,32.869894],[103.277311,32.870036],[103.277534,32.870178],[103.277748,32.870262],[103.277962,32.870345],[103.278176,32.870429],[103.278389,32.870512],[103.27879,32.870588],[103.279191,32.870664],[103.279591,32.87074],[103.279859,32.870774],[103.280126,32.870808],[103.280393,32.870841],[103.280661,32.870875],[103.280928,32.870909],[103.281195,32.870943],[103.281463,32.870977],[103.28173,32.871011],[103.282163,32.87107],[103.282596,32.87113],[103.28303,32.87119],[103.283267,32.871266],[103.283505,32.871342],[103.283743,32.871418],[103.283981,32.871494],[103.28423,32.871611],[103.284479,32.871729],[103.284728,32.871847],[103.284978,32.871965],[103.285215,32.872065],[103.285453,32.872165],[103.285688,32.872267],[103.285923,32.872369],[103.286158,32.872471],[103.286393,32.872573],[103.286628,32.872675],[103.286863,32.872777],[103.287098,32.872879],[103.287333,32.872981],[103.287546,32.873061],[103.287759,32.873142],[103.287972,32.873222],[103.288185,32.873303],[103.288398,32.873383],[103.288611,32.873464],[103.288824,32.873544],[103.289037,32.873625],[103.28925,32.873705],[103.289463,32.873786],[103.289709,32.873894],[103.289956,32.874002],[103.290203,32.87411],[103.29045,32.874218],[103.290696,32.874326],[103.290943,32.874434],[103.291205,32.874492],[103.291468,32.87455],[103.29173,32.874609],[103.291992,32.874667],[103.292254,32.874725],[103.292516,32.874783],[103.292779,32.874841],[103.293041,32.874899],[103.293464,32.87493],[103.293887,32.874961],[103.294311,32.874992],[103.294734,32.875022],[103.295096,32.875093],[103.29514,32.875115],[103.295514,32.875307],[103.295662,32.875519],[103.295848,32.875861],[103.295994,32.876202],[103.296141,32.876542],[103.296262,32.876897],[103.296383,32.877252],[103.296503,32.877607],[103.296515,32.877995],[103.296471,32.878316],[103.296254,32.878653],[103.296135,32.878853],[103.296016,32.879053],[103.295838,32.879349],[103.29566,32.879645],[103.295554,32.879855],[103.295447,32.880065],[103.295341,32.880275],[103.295234,32.880485],[103.295128,32.880694],[103.295021,32.880904],[103.294909,32.881282],[103.294796,32.88166],[103.294764,32.881886],[103.294731,32.882112],[103.294724,32.882442],[103.294717,32.882773],[103.294691,32.88312],[103.294665,32.883467],[103.294612,32.883736],[103.294559,32.884005],[103.294506,32.884275],[103.294453,32.884544],[103.294343,32.884796],[103.294232,32.885047],[103.294121,32.885298],[103.294011,32.88555],[103.293865,32.885741],[103.29372,32.885933],[103.293575,32.886125],[103.293429,32.886316],[103.293284,32.886508],[103.293139,32.8867],[103.292993,32.886891],[103.292848,32.887083],[103.292703,32.887275],[103.292557,32.887466],[103.292438,32.88774],[103.292449,32.888095],[103.292615,32.888436],[103.292745,32.888639],[103.292876,32.888842],[103.293178,32.889054],[103.293481,32.889265],[103.29385,32.889472],[103.294219,32.88968],[103.294432,32.88984],[103.294644,32.890001],[103.294857,32.890161],[103.29507,32.890322],[103.295263,32.890473],[103.295456,32.890625],[103.29565,32.890777],[103.295843,32.890929],[103.296036,32.89108],[103.29623,32.891232],[103.296423,32.891384],[103.296616,32.891535],[103.296795,32.891724],[103.296973,32.891912],[103.297151,32.8921],[103.29733,32.892288],[103.297418,32.892579],[103.29739,32.892745],[103.297375,32.892837],[103.297357,32.892895],[103.297357,32.892896],[103.297305,32.893068],[103.297236,32.893299],[103.297166,32.893531],[103.297097,32.893762],[103.297033,32.894035],[103.29697,32.894309],[103.296888,32.894678],[103.29686,32.895082],[103.296837,32.895308],[103.296814,32.895534],[103.296822,32.895887],[103.296824,32.895953],[103.296862,32.896193],[103.296892,32.89639],[103.296961,32.896777],[103.297,32.897003],[103.297039,32.897228],[103.297077,32.897453],[103.297083,32.897488],[103.297116,32.897678],[103.297244,32.898019],[103.297371,32.898359],[103.297528,32.898644],[103.297556,32.898695],[103.297686,32.898929],[103.297843,32.89923],[103.298,32.89953],[103.2981,32.899822],[103.2982,32.900114],[103.298318,32.900446],[103.298335,32.900494],[103.298436,32.900778],[103.298486,32.901183],[103.298491,32.90142],[103.298496,32.901657],[103.298501,32.901894],[103.298506,32.902131],[103.298499,32.902368],[103.298491,32.902604],[103.298483,32.902841],[103.298475,32.903078],[103.298468,32.903314],[103.29846,32.903551],[103.298453,32.903914],[103.298446,32.904277],[103.298459,32.904616],[103.298472,32.904955],[103.298504,32.905238],[103.298537,32.905521],[103.298542,32.905769],[103.298547,32.906017],[103.298552,32.906264],[103.298556,32.906512],[103.298561,32.90676],[103.298566,32.907008],[103.298571,32.907255],[103.298576,32.907503],[103.298552,32.907777],[103.298528,32.908051],[103.298503,32.908326],[103.298479,32.9086],[103.298474,32.908852],[103.298469,32.909103],[103.298464,32.909355],[103.298459,32.909607],[103.298455,32.909859],[103.29845,32.910111],[103.298445,32.910363],[103.29844,32.910615],[103.298452,32.910877],[103.298463,32.911139],[103.298475,32.9114],[103.298487,32.911662],[103.298499,32.911924],[103.29851,32.912186],[103.298522,32.912448],[103.298534,32.912709],[103.298582,32.913151],[103.298631,32.913593],[103.29868,32.914034],[103.298702,32.914438],[103.298723,32.914842],[103.298724,32.915277],[103.298726,32.915711],[103.298625,32.916016],[103.298408,32.91632],[103.298184,32.916518],[103.29796,32.916716],[103.297858,32.916782],[103.297494,32.917017],[103.297282,32.917103],[103.29707,32.917189],[103.296858,32.917275],[103.296645,32.917361],[103.2964,32.917455],[103.296154,32.91755],[103.295909,32.917645],[103.295663,32.917739],[103.295418,32.917834],[103.295173,32.917928],[103.294927,32.918023],[103.294682,32.918118],[103.294436,32.918212],[103.294191,32.918307],[103.293945,32.918402],[103.2937,32.918496],[103.293454,32.918591],[103.293209,32.918686],[103.292841,32.918882],[103.292474,32.919078],[103.29226,32.919253],[103.291987,32.919492],[103.291847,32.919781],[103.291792,32.920011],[103.291737,32.920241],[103.291729,32.920604],[103.291722,32.920967],[103.291708,32.921201],[103.291694,32.921434],[103.29168,32.921668],[103.291666,32.921902],[103.29166,32.922209],[103.291653,32.922515],[103.29161,32.922805],[103.291566,32.923094],[103.291444,32.92348],[103.291304,32.923786],[103.291137,32.924126],[103.29097,32.924465],[103.290803,32.924805],[103.290592,32.925163],[103.29038,32.925521],[103.290169,32.925878],[103.290026,32.926082],[103.289883,32.926286],[103.28974,32.92649],[103.289597,32.926694],[103.289476,32.926886],[103.289354,32.927078],[103.289232,32.92727],[103.28911,32.927462],[103.288989,32.927654],[103.288867,32.927846],[103.288706,32.928046],[103.288546,32.928247],[103.288385,32.928448],[103.288224,32.928648],[103.288064,32.928849],[103.287903,32.929049],[103.287742,32.92925],[103.287582,32.929451],[103.287421,32.929651],[103.28726,32.929852],[103.2871,32.930052],[103.286939,32.930253],[103.286627,32.930507],[103.286506,32.930605],[103.286315,32.930761],[103.286083,32.930895],[103.285851,32.931029],[103.285542,32.931113],[103.285233,32.931197],[103.284898,32.931217],[103.284563,32.931237],[103.284299,32.931231],[103.284036,32.931226],[103.283773,32.93122],[103.283509,32.931214],[103.283246,32.931209],[103.282982,32.931203],[103.282719,32.931197],[103.282456,32.931192],[103.282321,32.931255],[103.28228,32.931383],[103.282275,32.931625],[103.282384,32.931966],[103.282554,32.932162],[103.282761,32.932213],[103.283144,32.932291],[103.283526,32.932369],[103.283767,32.932425],[103.284007,32.932481],[103.284248,32.932536],[103.284489,32.932592],[103.284729,32.932648],[103.28497,32.932704],[103.285022,32.932716],[103.285211,32.93276],[103.285451,32.932815],[103.285857,32.932952],[103.286262,32.933089],[103.286667,32.933226],[103.287073,32.933363],[103.28711,32.933375],[103.28733,32.933447],[103.28744,32.933483],[103.287587,32.933531],[103.287844,32.933615],[103.288101,32.9337],[103.288463,32.933834],[103.288701,32.933912],[103.288748,32.933927],[103.289033,32.93402],[103.289397,32.934056],[103.289628,32.934045],[103.289646,32.934044],[103.289668,32.934035],[103.289955,32.93392],[103.290172,32.93378],[103.290389,32.933639],[103.290607,32.933498],[103.290735,32.933415],[103.290824,32.933357],[103.290998,32.933244],[103.291041,32.933217],[103.291155,32.933143],[103.291259,32.933076],[103.291476,32.932935],[103.291693,32.932794],[103.291911,32.932654],[103.292128,32.932513],[103.292325,32.932379],[103.292522,32.932245],[103.292718,32.932111],[103.292915,32.931977],[103.293112,32.931844],[103.293309,32.93171],[103.293506,32.931576],[103.293702,32.931442],[103.293899,32.931308],[103.294096,32.931174],[103.294277,32.931016],[103.294458,32.930857],[103.29464,32.930698],[103.294821,32.930539],[103.295002,32.93038],[103.295183,32.930221],[103.295365,32.930062],[103.295546,32.929904],[103.295727,32.929745],[103.295908,32.929586],[103.296092,32.929383],[103.296276,32.929179],[103.296459,32.928976],[103.296643,32.928773],[103.296826,32.928569],[103.29701,32.928366],[103.297194,32.928163],[103.297377,32.927959],[103.297531,32.92778],[103.297684,32.9276],[103.297838,32.92742],[103.297991,32.92724],[103.298145,32.927061],[103.298299,32.926881],[103.298452,32.926701],[103.298606,32.926521],[103.298759,32.926342],[103.298913,32.926162],[103.299103,32.925987],[103.299294,32.925812],[103.299484,32.925637],[103.299674,32.925462],[103.299964,32.925352],[103.300308,32.925309],[103.300559,32.92524],[103.30081,32.92517],[103.301032,32.925092],[103.301253,32.925014],[103.301548,32.924836],[103.301842,32.924658],[103.30201,32.924504],[103.302178,32.92435],[103.302346,32.924195],[103.302513,32.924041],[103.302681,32.923887],[103.302849,32.923732],[103.303016,32.923578],[103.303184,32.923424],[103.303352,32.923269],[103.30352,32.923115],[103.303723,32.922977],[103.303927,32.922838],[103.304131,32.9227],[103.304335,32.922561],[103.304538,32.922423],[103.304742,32.922284],[103.304946,32.922146],[103.30515,32.922007],[103.305526,32.921851],[103.305657,32.921797],[103.305902,32.921695],[103.305997,32.921687],[103.306209,32.921667],[103.306592,32.921672],[103.306801,32.921788],[103.306952,32.921919],[103.30707,32.922155],[103.307082,32.922179],[103.307116,32.922357],[103.307101,32.922457],[103.307073,32.922647],[103.307029,32.922937],[103.306966,32.923188],[103.306966,32.92319],[103.306965,32.923192],[103.306904,32.923439],[103.306841,32.923691],[103.306779,32.923942],[103.306716,32.924193],[103.306654,32.924445],[103.306592,32.924696],[103.306529,32.924947],[103.306572,32.925244],[103.306615,32.925541],[103.306696,32.925967],[103.306777,32.926393],[103.306858,32.926819],[103.306985,32.927176],[103.307112,32.927532],[103.307233,32.927756],[103.307354,32.927979],[103.307457,32.928171],[103.307469,32.928193],[103.307474,32.928203],[103.307474,32.928203],[103.307595,32.928426],[103.307694,32.928534],[103.307763,32.92861],[103.307857,32.928712],[103.30812,32.928999],[103.308298,32.929195],[103.308476,32.929391],[103.308655,32.929587],[103.308833,32.929784],[103.309151,32.930045],[103.309235,32.930115],[103.309468,32.930306],[103.309484,32.930319],[103.309785,32.930567],[103.309992,32.930763],[103.310103,32.931024],[103.310077,32.931346],[103.309977,32.931683],[103.309884,32.931964],[103.309792,32.932246],[103.309698,32.932504],[103.309603,32.932762],[103.309508,32.93302],[103.309414,32.933278],[103.309319,32.933536],[103.309224,32.933793],[103.309129,32.934051],[103.309035,32.934309],[103.308817,32.934699],[103.3086,32.935089],[103.308581,32.935123],[103.308531,32.935212],[103.308383,32.935478],[103.308101,32.935803],[103.308098,32.935807],[103.308056,32.935855],[103.307898,32.936037],[103.30782,32.936127],[103.307539,32.936452],[103.307133,32.936625],[103.307085,32.936636],[103.306863,32.93669],[103.306861,32.93669],[103.306859,32.936691],[103.306594,32.936754],[103.306325,32.936819],[103.306056,32.936884],[103.305681,32.936943],[103.305307,32.937002],[103.305046,32.937063],[103.304786,32.937125],[103.304526,32.937186],[103.304266,32.937247],[103.304042,32.93739],[103.303819,32.937532],[103.303661,32.937772],[103.303504,32.938012],[103.303436,32.938374],[103.303487,32.938731],[103.30354,32.938957],[103.303593,32.939184],[103.303689,32.939411],[103.303785,32.939638],[103.303882,32.939866],[103.303978,32.940093],[103.304109,32.94028],[103.304239,32.940468],[103.30437,32.940655],[103.3045,32.940843],[103.304792,32.941121],[103.305084,32.941399],[103.305233,32.941689],[103.305383,32.941979],[103.305578,32.942353],[103.305772,32.942727],[103.306025,32.943021],[103.306278,32.943315],[103.306398,32.943583],[103.306517,32.943851],[103.306647,32.944087],[103.306776,32.944322],[103.307,32.944672],[103.307223,32.945022],[103.307437,32.945348],[103.307651,32.945674],[103.307867,32.945919],[103.308082,32.946164],[103.308413,32.946445],[103.308744,32.946726],[103.309075,32.947007],[103.309406,32.947289],[103.309601,32.947481],[103.309796,32.947673],[103.309992,32.947866],[103.310187,32.948058],[103.310382,32.94825],[103.310578,32.948443],[103.310773,32.948635],[103.310968,32.948827],[103.311059,32.94907],[103.311035,32.949328],[103.310876,32.949617],[103.310695,32.9498],[103.310515,32.949983],[103.310334,32.950166],[103.310153,32.950349],[103.309955,32.950691],[103.309756,32.951034],[103.309635,32.951339],[103.309515,32.951644],[103.309444,32.951865],[103.309373,32.952086],[103.309302,32.952307],[103.309231,32.952528],[103.309089,32.952919],[103.308947,32.95331],[103.308805,32.953702],[103.30879,32.953992],[103.308775,32.954282],[103.308864,32.954622],[103.308953,32.954961],[103.309045,32.955181],[103.309137,32.9554],[103.30936,32.955767],[103.309583,32.956134],[103.309807,32.956501],[103.309918,32.956712],[103.310028,32.956923],[103.310139,32.957134],[103.31025,32.957345],[103.310369,32.957662],[103.310487,32.957978],[103.310594,32.958399],[103.310607,32.958449],[103.310681,32.958732],[103.310755,32.959015],[103.31077,32.959257],[103.310785,32.9595],[103.310867,32.959722],[103.310949,32.959945],[103.311031,32.960167],[103.311113,32.96039],[103.311219,32.960627],[103.311324,32.960865],[103.31143,32.961102],[103.311536,32.96134],[103.311641,32.961577],[103.311747,32.961815],[103.311853,32.962052],[103.311958,32.96229],[103.312073,32.962498],[103.312187,32.962707],[103.312301,32.962916],[103.312416,32.963124],[103.31253,32.963333],[103.312644,32.963542],[103.31286,32.963762],[103.313076,32.963983],[103.313186,32.964242],[103.313219,32.964533],[103.313158,32.96471],[103.313002,32.964837],[103.312656,32.964962],[103.312251,32.96502],[103.311885,32.965081],[103.311625,32.965198],[103.311514,32.965248],[103.311365,32.965315],[103.311184,32.965425],[103.31117,32.965433],[103.310976,32.965551],[103.310782,32.965669],[103.310588,32.965787],[103.310394,32.965906],[103.3102,32.966024],[103.310035,32.966234],[103.310089,32.966472],[103.310252,32.966844],[103.310396,32.96706],[103.31054,32.967277],[103.310777,32.967489],[103.310962,32.967654],[103.311013,32.967701],[103.311254,32.967946],[103.311495,32.968192],[103.311622,32.968323],[103.311735,32.968438],[103.312013,32.96871],[103.312291,32.968982],[103.31252,32.969224],[103.312748,32.969465],[103.313044,32.969782],[103.313291,32.970046],[103.313539,32.970311],[103.313746,32.970548],[103.313954,32.970786],[103.314133,32.970989],[103.314162,32.971023],[103.31454,32.971243],[103.314875,32.971474],[103.31521,32.971705],[103.315225,32.971717],[103.315468,32.971905],[103.315726,32.972106],[103.315969,32.972419],[103.316044,32.972515],[103.316181,32.972756],[103.316318,32.972996],[103.31642,32.973212],[103.316522,32.973428],[103.316588,32.97365],[103.316655,32.973871],[103.316702,32.974016],[103.316735,32.974117],[103.316815,32.974362],[103.316867,32.974631],[103.316902,32.974818],[103.316918,32.9749],[103.316977,32.975158],[103.317036,32.975415],[103.317065,32.975761],[103.317093,32.976107],[103.317002,32.97653],[103.316969,32.976678],[103.316837,32.976858],[103.316708,32.977032],[103.316446,32.977387],[103.316236,32.977664],[103.316026,32.977942],[103.315815,32.978201],[103.315605,32.978461],[103.315427,32.978603],[103.315261,32.978735],[103.314939,32.979009],[103.314739,32.97918],[103.314721,32.979199],[103.314572,32.979358],[103.314525,32.979573],[103.314535,32.979612],[103.314561,32.979713],[103.314596,32.979846],[103.314725,32.98013],[103.314854,32.980414],[103.314893,32.980501],[103.314941,32.980673],[103.314989,32.980846],[103.315036,32.981244],[103.315059,32.981432],[103.315084,32.981643],[103.315159,32.982055],[103.315234,32.982468],[103.31531,32.98288],[103.315402,32.983207],[103.315494,32.983534],[103.315586,32.983862],[103.315626,32.984001],[103.315679,32.984189],[103.315687,32.984434],[103.315696,32.984679],[103.315702,32.984855],[103.315691,32.985188],[103.315798,32.985474],[103.315952,32.985795],[103.316309,32.986021],[103.316635,32.986194],[103.31696,32.986368],[103.317304,32.98658],[103.317671,32.986805],[103.31788,32.986928],[103.31809,32.987052],[103.3183,32.987175],[103.31851,32.987298],[103.318719,32.987421],[103.318929,32.987545],[103.319155,32.987765],[103.319381,32.987986],[103.319559,32.988182],[103.319738,32.988378],[103.319917,32.988574],[103.320095,32.98877],[103.320249,32.98899],[103.320403,32.98921],[103.320558,32.98943],[103.320712,32.98965],[103.320823,32.989853],[103.320934,32.990056],[103.321045,32.99026],[103.321156,32.990463],[103.321267,32.990666],[103.321378,32.990869],[103.321489,32.991073],[103.3216,32.991276],[103.321788,32.991649],[103.321975,32.992021],[103.322144,32.992209],[103.322314,32.992397],[103.322615,32.992692],[103.322965,32.992915],[103.323315,32.993138],[103.323528,32.993232],[103.32374,32.993326],[103.323952,32.99342],[103.324165,32.993514],[103.324377,32.993609],[103.324589,32.993703],[103.324629,32.993718],[103.324853,32.993801],[103.325077,32.993885],[103.325423,32.994008],[103.325768,32.994131],[103.326113,32.994254],[103.326333,32.994409],[103.326553,32.994563],[103.326553,32.994564],[103.326554,32.994564],[103.326898,32.994843],[103.327243,32.995122],[103.327512,32.995388],[103.327782,32.995654],[103.328052,32.995919],[103.32826,32.996056],[103.328468,32.996193],[103.328568,32.996236],[103.328676,32.996283],[103.329075,32.996455],[103.329392,32.996681],[103.329709,32.996907],[103.330027,32.997133],[103.330356,32.997387],[103.330685,32.997641],[103.331014,32.997894],[103.33107,32.998009],[103.331173,32.99822],[103.331276,32.99843],[103.33147,32.998609],[103.331585,32.998715],[103.331865,32.998816],[103.332014,32.99887],[103.332138,32.998956],[103.332287,32.99906],[103.332442,32.999322],[103.33254,32.999627],[103.332638,32.999932],[103.332736,33.000236],[103.332763,33.000321],[103.332942,33.000619],[103.333153,33.000798],[103.333365,33.000977],[103.333552,33.001135],[103.33366,33.001227],[103.333955,33.001476],[103.33425,33.001725],[103.334464,33.001987],[103.334487,33.002208],[103.3345,33.002332],[103.334504,33.002366],[103.33452,33.0025],[103.334565,33.002895],[103.334589,33.003105],[103.334611,33.003291],[103.334657,33.003686],[103.334702,33.004081],[103.334792,33.004343],[103.334881,33.004605],[103.334994,33.004935],[103.335107,33.005265],[103.335112,33.005279],[103.33522,33.005595],[103.335333,33.005925],[103.335505,33.006306],[103.335678,33.006687],[103.335892,33.007055],[103.335999,33.0074],[103.33601,33.007439],[103.336071,33.007656],[103.336114,33.007811],[103.336142,33.007912],[103.336201,33.008178],[103.336209,33.008215],[103.336261,33.008447],[103.336404,33.008792],[103.336635,33.009159],[103.336749,33.00934],[103.336803,33.00941],[103.336875,33.009503],[103.33703,33.009704],[103.337257,33.009997],[103.33731,33.010052],[103.337492,33.010237],[103.337728,33.010476],[103.337963,33.010716],[103.338184,33.011],[103.338406,33.011285],[103.338627,33.011569],[103.338848,33.011854],[103.339069,33.012138],[103.339239,33.012395],[103.339409,33.012651],[103.339578,33.012908],[103.339629,33.013215],[103.33968,33.013522],[103.339731,33.013828],[103.339731,33.013829],[103.339731,33.013829],[103.339751,33.01391],[103.339781,33.014316],[103.339811,33.014721],[103.339827,33.014944],[103.339841,33.015127],[103.33981,33.015519],[103.33978,33.015912],[103.33975,33.016304],[103.339678,33.016587],[103.339605,33.016871],[103.339372,33.017229],[103.339176,33.017416],[103.338981,33.017603],[103.338691,33.017866],[103.3384,33.018128],[103.338109,33.01839],[103.337772,33.018604],[103.337434,33.018818],[103.337097,33.019032],[103.336877,33.019137],[103.336657,33.019241],[103.336437,33.019346],[103.336216,33.019451],[103.335996,33.019555],[103.335776,33.01966],[103.335489,33.019941],[103.335202,33.020221],[103.335046,33.020389],[103.33489,33.020556],[103.334734,33.020723],[103.334578,33.02089],[103.334421,33.021057],[103.334265,33.021224],[103.334255,33.021601],[103.334244,33.021978],[103.334234,33.022354],[103.334375,33.022591],[103.334515,33.022827],[103.334656,33.023064],[103.334797,33.0233],[103.334938,33.023537],[103.335078,33.023773],[103.335278,33.024142],[103.335456,33.024415],[103.335726,33.024669],[103.335906,33.024846],[103.336223,33.025081],[103.336438,33.025238],[103.336652,33.025395],[103.336867,33.025553],[103.337082,33.02571],[103.337307,33.025954],[103.337533,33.026198],[103.337664,33.026388],[103.337664,33.026388],[103.337665,33.026389],[103.337778,33.026554],[103.338024,33.026909],[103.338171,33.027122],[103.33827,33.027264],[103.338355,33.027477],[103.338401,33.027593],[103.338486,33.02798],[103.33848,33.028295],[103.338498,33.028382],[103.338535,33.028736],[103.338572,33.029089],[103.338608,33.029443],[103.338616,33.029514],[103.3386,33.029828],[103.338583,33.030143],[103.338567,33.030458],[103.338561,33.030586],[103.338559,33.030621],[103.338464,33.031021],[103.338455,33.031241],[103.338454,33.031278],[103.338492,33.031478],[103.338632,33.031766],[103.338771,33.032055],[103.338911,33.032344],[103.338988,33.032472],[103.339044,33.032563],[103.339082,33.032753],[103.339025,33.033125],[103.338882,33.033515],[103.338697,33.033862],[103.338511,33.03421],[103.338473,33.034514],[103.338435,33.034819],[103.338411,33.035247],[103.338387,33.035675],[103.338356,33.036082],[103.338324,33.036488],[103.338297,33.036831],[103.338292,33.036894],[103.338378,33.037227],[103.338502,33.037431],[103.338625,33.037636],[103.338638,33.0377],[103.338673,33.037874],[103.338595,33.038213],[103.338587,33.038245],[103.3386,33.038547],[103.338602,33.038574],[103.338616,33.038902],[103.33861,33.039207],[103.338603,33.039511],[103.338597,33.039816],[103.338644,33.040139],[103.338666,33.04037],[103.338688,33.0406],[103.338692,33.04062],[103.338753,33.040944],[103.33877,33.041035],[103.338868,33.041409],[103.338965,33.041782],[103.338987,33.041868],[103.339028,33.042026],[103.339092,33.04227],[103.339156,33.042514],[103.339219,33.042758],[103.339317,33.043078],[103.339414,33.043398],[103.339477,33.043659],[103.339541,33.043919],[103.339649,33.044288],[103.339849,33.044638],[103.339937,33.044849],[103.340025,33.04506],[103.340099,33.045369],[103.340174,33.045679],[103.340225,33.046017],[103.340277,33.046356],[103.340291,33.046771],[103.340306,33.047186],[103.340325,33.047437],[103.340343,33.047688],[103.340338,33.047942],[103.340333,33.048196],[103.340329,33.04845],[103.340324,33.048704],[103.340319,33.048958],[103.340314,33.049212],[103.340297,33.049501],[103.34028,33.049791],[103.34023,33.05005],[103.340179,33.05031],[103.340034,33.050683],[103.33989,33.051057],[103.339788,33.051296],[103.339686,33.051536],[103.339585,33.051775],[103.339483,33.052014],[103.339383,33.052444],[103.339284,33.052873],[103.339184,33.053303],[103.339177,33.053593],[103.339241,33.053901],[103.339372,33.054251],[103.339483,33.054464],[103.339653,33.054663],[103.339824,33.054862],[103.339994,33.055061],[103.340165,33.05526],[103.340335,33.055459],[103.340506,33.055658],[103.340676,33.055858],[103.340847,33.056057],[103.341017,33.056256],[103.341187,33.056455],[103.341361,33.056652],[103.341534,33.056849],[103.341708,33.057045],[103.341881,33.057242],[103.342055,33.057439],[103.342228,33.057636],[103.342401,33.057833],[103.342575,33.05803],[103.342748,33.058226],[103.342922,33.058423],[103.343144,33.058802],[103.343367,33.059181],[103.34346,33.059409],[103.343553,33.059637],[103.343646,33.059865],[103.343739,33.060093],[103.343793,33.060325],[103.343846,33.060557],[103.343852,33.060828],[103.343857,33.061098],[103.343829,33.061396],[103.343801,33.061695],[103.343784,33.062004],[103.343767,33.062313],[103.343759,33.062717],[103.343774,33.063142],[103.343812,33.063586],[103.343852,33.063866],[103.343893,33.064147],[103.344004,33.064359],[103.344116,33.064572],[103.344227,33.064785],[103.344339,33.064998],[103.344427,33.065172],[103.344421,33.065481],[103.344393,33.06577],[103.344388,33.066041],[103.344309,33.066281],[103.34423,33.066521],[103.344151,33.06676],[103.344072,33.067],[103.343965,33.067385],[103.343858,33.067769],[103.343752,33.068154],[103.343642,33.06849],[103.343533,33.068826],[103.343539,33.069087],[103.343546,33.069347],[103.343631,33.069734],[103.343696,33.069967],[103.34376,33.0702],[103.343936,33.070529],[103.344239,33.070861],[103.344542,33.071192],[103.344845,33.071523],[103.345148,33.071854],[103.345304,33.072088],[103.345414,33.07234],[103.345524,33.072591],[103.345588,33.072883],[103.34558,33.073288],[103.345518,33.073519],[103.345457,33.07375],[103.345429,33.07398],[103.345402,33.074211],[103.345489,33.074463],[103.345597,33.074819],[103.345705,33.075174],[103.345813,33.07553],[103.34591,33.075811],[103.346008,33.076092],[103.346073,33.076363],[103.346137,33.076634],[103.346134,33.076673],[103.346107,33.077018],[103.345962,33.077423],[103.345793,33.077825],[103.345626,33.07819],[103.345403,33.078559],[103.345181,33.078929],[103.345062,33.079127],[103.344959,33.079298],[103.344745,33.079668],[103.344532,33.080038],[103.344424,33.080226],[103.344319,33.080407],[103.344198,33.080734],[103.344033,33.080984],[103.34387,33.081146],[103.343706,33.081307],[103.343543,33.081469],[103.34346,33.08155],[103.343379,33.08163],[103.343223,33.081808],[103.343066,33.081986],[103.34291,33.082165],[103.342754,33.082343],[103.342597,33.082521],[103.342441,33.082699],[103.342253,33.082937],[103.342065,33.083175],[103.341934,33.083449],[103.341825,33.083674],[103.341752,33.083914],[103.341678,33.084155],[103.34164,33.084395],[103.341621,33.084511],[103.341601,33.084636],[103.341585,33.084863],[103.341571,33.085065],[103.34154,33.085494],[103.341507,33.08574],[103.341473,33.085986],[103.34144,33.086231],[103.341406,33.086477],[103.341309,33.086727],[103.341279,33.086804],[103.341212,33.086977],[103.341207,33.087247],[103.341207,33.087277],[103.341202,33.087517],[103.341222,33.087729],[103.341232,33.087772],[103.341257,33.087882],[103.341307,33.088097],[103.341309,33.088115],[103.341347,33.088425],[103.341386,33.088831],[103.341358,33.089043],[103.341263,33.089196],[103.34108,33.089333],[103.340897,33.089471],[103.340713,33.089608],[103.340651,33.089655],[103.34053,33.089746],[103.340347,33.089884],[103.340163,33.090021],[103.33998,33.090159],[103.339968,33.090168],[103.339894,33.090223],[103.339891,33.090225],[103.339797,33.090296],[103.339563,33.090414],[103.339556,33.090417],[103.339337,33.090527],[103.33932,33.090536],[103.339315,33.090539],[103.339194,33.090599],[103.339074,33.09066],[103.338999,33.090698],[103.338834,33.090781],[103.338671,33.090809],[103.338466,33.090844],[103.338098,33.090907],[103.337913,33.090917],[103.337811,33.090922],[103.337524,33.090937],[103.337457,33.090941],[103.337388,33.090945],[103.337248,33.090952],[103.336856,33.091044],[103.336598,33.091272],[103.33639,33.0915],[103.336288,33.091615],[103.336236,33.091672],[103.336083,33.091845],[103.335988,33.092075],[103.335911,33.092235],[103.335881,33.092298],[103.335868,33.092323],[103.335776,33.092514],[103.335748,33.092572],[103.335561,33.092801],[103.335333,33.093024],[103.335327,33.09303],[103.334991,33.093219],[103.334916,33.093261],[103.334655,33.093407],[103.334351,33.093711],[103.33433,33.093744],[103.334184,33.09398],[103.333973,33.094219],[103.333911,33.094288],[103.333762,33.094457],[103.33346,33.094684],[103.333229,33.094778],[103.332906,33.094851],[103.332469,33.094883],[103.332158,33.094927],[103.331848,33.094971],[103.331478,33.095159],[103.331303,33.095335],[103.331273,33.095365],[103.331149,33.09549],[103.331127,33.095512],[103.330993,33.095647],[103.330993,33.095647],[103.330952,33.095688],[103.330776,33.095864],[103.33042,33.096098],[103.330064,33.096331],[103.329707,33.096564],[103.329344,33.096705],[103.329047,33.09668],[103.328726,33.096618],[103.328409,33.09646],[103.328277,33.096402],[103.328044,33.0963],[103.327745,33.096334],[103.327535,33.096507],[103.327417,33.096716],[103.327346,33.096794],[103.327232,33.096819],[103.327024,33.096866],[103.326772,33.096862],[103.326472,33.096917],[103.326264,33.09699],[103.326239,33.097018],[103.326144,33.097123],[103.326143,33.097123],[103.326143,33.097123],[103.326125,33.097144],[103.326122,33.097157],[103.326115,33.097189],[103.3261,33.097259],[103.326097,33.097317],[103.32608,33.097644],[103.326065,33.097951],[103.326061,33.09803],[103.326059,33.098048],[103.326033,33.098281],[103.325914,33.09851],[103.325705,33.098661],[103.325382,33.098774],[103.325316,33.098768],[103.325263,33.098764],[103.325106,33.098751],[103.324742,33.098649],[103.324493,33.09859],[103.324325,33.098551],[103.324307,33.098546],[103.324015,33.09856],[103.323988,33.098561],[103.323756,33.098577],[103.323724,33.09862],[103.32365,33.098717],[103.323568,33.098826],[103.323474,33.099015],[103.323473,33.099018],[103.323329,33.099306],[103.32319,33.09938],[103.323098,33.099399],[103.32296,33.099359],[103.322688,33.099239],[103.322606,33.0992],[103.322549,33.099173],[103.322393,33.0991],[103.322364,33.099103],[103.322002,33.099153],[103.321746,33.099304],[103.321675,33.099417],[103.321462,33.099782],[103.32134,33.100147],[103.321313,33.10034],[103.321377,33.10063],[103.321392,33.10066],[103.321487,33.100844],[103.321692,33.100962],[103.321994,33.101019],[103.322126,33.101044],[103.322419,33.101319],[103.322488,33.101451],[103.322492,33.101551],[103.322502,33.101818],[103.322501,33.101877],[103.322496,33.102146],[103.322462,33.102293],[103.322461,33.102295],[103.322442,33.10238],[103.322388,33.102614],[103.322336,33.102837],[103.322335,33.102844],[103.322334,33.102846],[103.322334,33.102848],[103.32232,33.102908],[103.322309,33.102953],[103.32228,33.103082],[103.322255,33.103187],[103.322226,33.103316],[103.322172,33.10355],[103.322104,33.103805],[103.322036,33.10406],[103.321968,33.104315],[103.32192,33.104493],[103.3219,33.104569],[103.32178,33.104876],[103.321709,33.105056],[103.321659,33.105183],[103.321491,33.10544],[103.321471,33.10547],[103.321209,33.105814],[103.320907,33.106041],[103.320605,33.106269],[103.320604,33.106269],[103.320415,33.106412],[103.320351,33.10646],[103.320303,33.106497],[103.320082,33.106677],[103.319861,33.106858],[103.319641,33.106977],[103.319569,33.107015],[103.319514,33.107045],[103.319119,33.107176],[103.318806,33.107279],[103.318718,33.107278],[103.318555,33.107276],[103.318554,33.107276],[103.318553,33.107276],[103.318301,33.107272],[103.318048,33.107269],[103.317796,33.107265],[103.31736,33.10724],[103.317286,33.107225],[103.31718,33.107204],[103.317097,33.107179],[103.316777,33.107079],[103.316375,33.106954],[103.316072,33.106945],[103.315768,33.106936],[103.315613,33.106998],[103.315367,33.107097],[103.314952,33.107198],[103.314536,33.107298],[103.31435,33.107441],[103.314165,33.107583],[103.313975,33.107927],[103.313972,33.108061],[103.313968,33.108222],[103.313922,33.108478],[103.313876,33.108735],[103.313819,33.108885],[103.313782,33.108945],[103.313691,33.108966],[103.313655,33.108974],[103.313313,33.109031],[103.313276,33.109037],[103.312949,33.109033],[103.312862,33.109032],[103.312623,33.109029],[103.312414,33.109151],[103.312205,33.109274],[103.312128,33.109621],[103.312192,33.10993],[103.312246,33.11004],[103.312325,33.110201],[103.312504,33.110435],[103.312706,33.110651],[103.312708,33.110655],[103.312749,33.110747],[103.312763,33.110805],[103.312813,33.111018],[103.312743,33.111191],[103.312486,33.11138],[103.312337,33.111432],[103.31222,33.111473],[103.312217,33.111474],[103.312214,33.111475],[103.311954,33.111566],[103.311654,33.111639],[103.311355,33.111712],[103.310942,33.111746],[103.310621,33.111683],[103.310392,33.111584],[103.31028,33.111543],[103.310188,33.111524],[103.309955,33.111694],[103.309904,33.111924],[103.309784,33.112193],[103.309589,33.112391],[103.309395,33.112588],[103.309231,33.112759],[103.309067,33.11293],[103.308846,33.113034],[103.308628,33.113136],[103.308626,33.113137],[103.308282,33.11319],[103.308122,33.113148],[103.307939,33.11307],[103.307827,33.112932],[103.307741,33.11268],[103.307399,33.11258],[103.307075,33.112677],[103.307029,33.112691],[103.306658,33.112859],[103.30664,33.112867],[103.306427,33.112962],[103.306195,33.113064],[103.306037,33.113228],[103.305973,33.113293],[103.305751,33.113521],[103.305627,33.113717],[103.30551,33.113901],[103.305502,33.113913],[103.305415,33.114051],[103.305378,33.114109],[103.305278,33.114268],[103.305254,33.114306],[103.305052,33.11467],[103.304963,33.11483],[103.304851,33.115032],[103.304851,33.115032],[103.30485,33.115034],[103.304798,33.115303],[103.304843,33.115401],[103.304957,33.115402],[103.305058,33.115392],[103.30521,33.115377],[103.30537,33.11536],[103.305463,33.115351],[103.305783,33.115452],[103.305821,33.115493],[103.305875,33.115552],[103.305962,33.115647],[103.306027,33.115822],[103.306024,33.115976],[103.305895,33.116134],[103.305883,33.116148],[103.305723,33.116272],[103.305534,33.11642],[103.305185,33.116692],[103.304836,33.116963],[103.304642,33.117083],[103.304448,33.117203],[103.304255,33.117322],[103.304061,33.117442],[103.303868,33.117562],[103.303813,33.117595],[103.303684,33.117675],[103.303674,33.117681],[103.303374,33.117812],[103.303121,33.117847],[103.302987,33.117652],[103.302911,33.117419],[103.302834,33.117187],[103.302831,33.117155],[103.302805,33.116935],[103.302789,33.116796],[103.302776,33.116684],[103.302757,33.116452],[103.302739,33.116221],[103.302718,33.116066],[103.302605,33.115968],[103.302442,33.115949],[103.302423,33.115946],[103.302283,33.116002],[103.302136,33.11613],[103.302108,33.116154],[103.30201,33.116239],[103.301933,33.116306],[103.301766,33.116613],[103.301748,33.116706],[103.301721,33.116838],[103.301716,33.116863],[103.30164,33.117208],[103.301635,33.117479],[103.301579,33.117568],[103.301347,33.117719],[103.300954,33.117887],[103.30063,33.118037],[103.300521,33.118087],[103.300453,33.118119],[103.300381,33.118152],[103.300306,33.118187],[103.300119,33.118349],[103.299931,33.11851],[103.299821,33.118653],[103.299754,33.11874],[103.299681,33.118835],[103.29968,33.118835],[103.29968,33.118835],[103.299429,33.119159],[103.299178,33.119484],[103.299143,33.119524],[103.299087,33.119588],[103.298943,33.11975],[103.298689,33.119921],[103.298413,33.119936],[103.298314,33.119935],[103.298251,33.119934],[103.29793,33.11991],[103.297586,33.119925],[103.297574,33.119931],[103.297527,33.119953],[103.297425,33.12],[103.297283,33.120152],[103.297116,33.120497],[103.297027,33.120698],[103.297005,33.120746],[103.296997,33.120766],[103.296955,33.120874],[103.2969,33.121015],[103.296855,33.121087],[103.296824,33.121136],[103.296733,33.121284],[103.296617,33.121398],[103.296501,33.121453],[103.29634,33.121432],[103.296248,33.121372],[103.29616,33.121314],[103.29616,33.121314],[103.296159,33.121314],[103.29612,33.121291],[103.296063,33.121258],[103.296056,33.121254],[103.296009,33.121227],[103.295819,33.121116],[103.295523,33.120996],[103.295469,33.120982],[103.295295,33.120935],[103.295291,33.120936],[103.295041,33.12098],[103.294788,33.121025],[103.294618,33.121148],[103.294578,33.121176],[103.294507,33.121374],[103.294481,33.121445],[103.294484,33.121469],[103.294494,33.121589],[103.294501,33.121658],[103.294564,33.121909],[103.294743,33.122124],[103.295085,33.122284],[103.295186,33.122362],[103.295219,33.122388],[103.295312,33.122461],[103.295331,33.122634],[103.295213,33.122767],[103.294819,33.122935],[103.29452,33.123029],[103.29429,33.123093],[103.294093,33.123148],[103.29406,33.123157],[103.293985,33.123195],[103.293803,33.123289],[103.293732,33.123442],[103.293729,33.123596],[103.29373,33.123638],[103.293733,33.123734],[103.293734,33.123766],[103.293739,33.123921],[103.293775,33.124087],[103.293824,33.124308],[103.293829,33.124367],[103.293843,33.124502],[103.293838,33.124683],[103.293838,33.124695],[103.293812,33.124848],[103.293546,33.125118],[103.293532,33.125133],[103.293321,33.125363],[103.293087,33.125572],[103.292854,33.125723],[103.292506,33.12593],[103.292275,33.126024],[103.291999,33.126019],[103.291633,33.125995],[103.291313,33.125952],[103.291037,33.125929],[103.290764,33.12589],[103.29074,33.125886],[103.290488,33.125835],[103.290446,33.125826],[103.290237,33.125783],[103.290127,33.125753],[103.28994,33.125702],[103.289734,33.125605],[103.289644,33.125562],[103.289418,33.125406],[103.289406,33.125406],[103.289339,33.125405],[103.289323,33.125404],[103.289189,33.125402],[103.289096,33.12544],[103.288934,33.125496],[103.28882,33.125693],[103.288791,33.125744],[103.288774,33.125792],[103.288694,33.126013],[103.288672,33.126114],[103.288645,33.126243],[103.288501,33.126532],[103.288406,33.126685],[103.28813,33.126776],[103.287898,33.126813],[103.287624,33.126827],[103.287544,33.126826],[103.287301,33.126823],[103.286945,33.126866],[103.286589,33.126909],[103.286488,33.12695],[103.286311,33.127021],[103.286194,33.127156],[103.286121,33.127348],[103.286003,33.1275],[103.285793,33.127651],[103.285539,33.127783],[103.285193,33.127875],[103.28493,33.12792],[103.284668,33.127965],[103.284366,33.128134],[103.284135,33.128207],[103.284119,33.128205],[103.283884,33.128185],[103.283832,33.128167],[103.283655,33.128104],[103.283635,33.128055],[103.283569,33.127892],[103.283506,33.127542],[103.283441,33.127349],[103.283374,33.127252],[103.283306,33.127213],[103.283073,33.12729],[103.283029,33.127305],[103.282959,33.127361],[103.282915,33.127367],[103.28282,33.12738],[103.282727,33.127357],[103.282569,33.127317],[103.282388,33.127219],[103.282211,33.126908],[103.282144,33.126733],[103.282078,33.126617],[103.281873,33.126538],[103.28162,33.126532],[103.281413,33.126588],[103.281181,33.126682],[103.28103,33.126753],[103.280904,33.126813],[103.280672,33.126886],[103.280488,33.126923],[103.280167,33.126938],[103.279845,33.126953],[103.279731,33.126959],[103.279592,33.126967],[103.279314,33.126979],[103.279248,33.126982],[103.279201,33.126983],[103.278938,33.126988],[103.278795,33.126991],[103.278704,33.126993],[103.278628,33.126994],[103.278588,33.126978],[103.278423,33.126913],[103.278388,33.126909],[103.278215,33.126886],[103.278102,33.126871],[103.277734,33.126943],[103.277615,33.127114],[103.277568,33.127191],[103.277541,33.127384],[103.277607,33.127519],[103.277788,33.127677],[103.277886,33.127702],[103.277948,33.127718],[103.278008,33.127726],[103.278177,33.12775],[103.278406,33.127782],[103.278655,33.127939],[103.278741,33.128249],[103.278716,33.128364],[103.278461,33.128496],[103.278116,33.128569],[103.277961,33.12858],[103.277885,33.128585],[103.277866,33.128586],[103.277471,33.128618],[103.27742,33.128638],[103.27724,33.12871],[103.277154,33.12878],[103.277123,33.128805],[103.277076,33.12886],[103.276912,33.129054],[103.276772,33.129168],[103.276655,33.129262],[103.276516,33.129317],[103.276228,33.129314],[103.276172,33.129314],[103.276036,33.129319],[103.275805,33.129327],[103.275461,33.129323],[103.275181,33.129351],[103.275145,33.129354],[103.275116,33.129357],[103.275029,33.129375],[103.27477,33.129429],[103.274563,33.129426],[103.274381,33.129385],[103.274314,33.129249],[103.274316,33.129128],[103.27432,33.128941],[103.274328,33.128855],[103.274335,33.128775],[103.27435,33.128613],[103.274367,33.128521],[103.274386,33.128411],[103.274402,33.128324],[103.274453,33.128036],[103.274467,33.127978],[103.274503,33.127823],[103.2746,33.127574],[103.274601,33.127517],[103.274533,33.127477],[103.274403,33.127476],[103.274312,33.127474],[103.274265,33.127486],[103.274093,33.127529],[103.274039,33.127542],[103.273874,33.127584],[103.27369,33.127601],[103.273552,33.127599],[103.273484,33.127598],[103.273361,33.127557],[103.273301,33.127537],[103.273168,33.127343],[103.273196,33.127015],[103.273203,33.126686],[103.273136,33.126477],[103.273116,33.126416],[103.272863,33.126412],[103.272539,33.126582],[103.272409,33.12671],[103.272375,33.126743],[103.272212,33.126905],[103.272058,33.127105],[103.271904,33.127305],[103.271741,33.127506],[103.271623,33.127649],[103.271506,33.127702],[103.271415,33.127743],[103.271277,33.12776],[103.270842,33.127696],[103.270617,33.127442],[103.270544,33.127281],[103.270515,33.127216],[103.27044,33.127054],[103.270337,33.126775],[103.270332,33.126762],[103.270284,33.126731],[103.270151,33.126644],[103.269897,33.126738],[103.269618,33.126927],[103.26936,33.127136],[103.269358,33.127137],[103.269356,33.127139],[103.269271,33.127194],[103.269151,33.127273],[103.269129,33.127287],[103.268921,33.127303],[103.26876,33.127282],[103.268534,33.127323],[103.268485,33.127332],[103.268308,33.127365],[103.268117,33.127401],[103.268081,33.127407],[103.268034,33.127416],[103.267855,33.127449],[103.267628,33.127491],[103.267402,33.127533],[103.267145,33.127593],[103.267089,33.127607],[103.266887,33.127654],[103.266842,33.127665],[103.266688,33.127701],[103.26663,33.127715],[103.266372,33.127776],[103.266114,33.127836],[103.265967,33.127871],[103.265893,33.127889],[103.265857,33.127897],[103.265834,33.127907],[103.265674,33.127975],[103.265614,33.128],[103.265371,33.128103],[103.265266,33.128181],[103.265116,33.128292],[103.264996,33.128483],[103.264992,33.128711],[103.264991,33.128734],[103.265001,33.128794],[103.265032,33.128985],[103.265043,33.129033],[103.265052,33.129074],[103.265096,33.129276],[103.265143,33.129516],[103.265166,33.129631],[103.265176,33.129684],[103.26519,33.129755],[103.265232,33.129967],[103.265182,33.130179],[103.264951,33.13033],[103.264697,33.130346],[103.264587,33.130345],[103.264506,33.130343],[103.264468,33.130343],[103.264283,33.130417],[103.264281,33.130514],[103.264321,33.130823],[103.264318,33.130946],[103.264317,33.131017],[103.264316,33.131054],[103.264289,33.131305],[103.264146,33.131534],[103.264043,33.131666],[103.264004,33.131716],[103.263981,33.131744],[103.263953,33.132014],[103.264016,33.132294],[103.26408,33.132575],[103.264213,33.132809],[103.264141,33.133001],[103.264094,33.133019],[103.264025,33.133018],[103.26366,33.132936],[103.263407,33.132952],[103.263154,33.132967],[103.262969,33.133023],[103.26283,33.133117],[103.262782,33.133232],[103.262821,33.133503],[103.262977,33.133795],[103.262984,33.133809],[103.263121,33.134067],[103.263265,33.134339],[103.263383,33.134732],[103.263393,33.134765],[103.263402,33.134819],[103.263455,33.135152],[103.263358,33.135382],[103.263243,33.135477],[103.26299,33.135493],[103.262932,33.135497],[103.262737,33.135509],[103.262484,33.135525],[103.262231,33.13554],[103.261978,33.135556],[103.261871,33.135563],[103.261726,33.135572],[103.261473,33.135587],[103.26114,33.135583],[103.260806,33.135579],[103.260629,33.135589],[103.260531,33.135594],[103.260365,33.135603],[103.260256,33.135609],[103.259956,33.135661],[103.25975,33.135732],[103.259713,33.135745],[103.25947,33.135829],[103.259283,33.136058],[103.259188,33.136231],[103.259172,33.136359],[103.259159,33.136463],[103.259213,33.136759],[103.259215,33.136769],[103.259283,33.137029],[103.259289,33.13705],[103.259363,33.137331],[103.259337,33.137562],[103.259265,33.137676],[103.259173,33.137713],[103.258943,33.137711],[103.258799,33.137684],[103.258714,33.137668],[103.258678,33.137665],[103.25837,33.137644],[103.25812,33.137674],[103.258073,33.137679],[103.257864,33.137753],[103.25777,33.137868],[103.257769,33.137929],[103.257761,33.138293],[103.257744,33.138502],[103.25773,33.138678],[103.257729,33.138758],[103.257726,33.138909],[103.257722,33.13914],[103.257651,33.139431],[103.257647,33.139449],[103.257489,33.139608],[103.257459,33.139639],[103.257136,33.139749],[103.256896,33.139803],[103.256895,33.139804],[103.256894,33.139804],[103.256824,33.13982],[103.256665,33.139855],[103.256653,33.139858],[103.256272,33.139921],[103.255892,33.139984],[103.255872,33.13999],[103.255521,33.140093],[103.255255,33.140175],[103.255221,33.140185],[103.255058,33.14032],[103.255003,33.140408],[103.254986,33.140434],[103.254984,33.140587],[103.254997,33.140678],[103.255025,33.140878],[103.255025,33.140879],[103.255025,33.14088],[103.255109,33.141168],[103.255171,33.141536],[103.255162,33.141979],[103.255091,33.142152],[103.255086,33.142169],[103.254969,33.142537],[103.254926,33.142593],[103.254837,33.142709],[103.254779,33.142785],[103.254777,33.142895],[103.254898,33.143119],[103.254922,33.143163],[103.254926,33.14317],[103.25501,33.143324],[103.25502,33.143342],[103.255174,33.143633],[103.255306,33.143886],[103.255322,33.144252],[103.255312,33.144352],[103.255295,33.144523],[103.255167,33.144795],[103.25515,33.144829],[103.255067,33.145093],[103.255028,33.145214],[103.255004,33.145288],[103.254973,33.145385],[103.254905,33.145597],[103.254821,33.145818],[103.254737,33.146039],[103.254593,33.146268],[103.25443,33.146421],[103.254316,33.146439],[103.254132,33.146435],[103.253927,33.146317],[103.253704,33.146044],[103.25367,33.145997],[103.253569,33.145859],[103.253528,33.145802],[103.253435,33.145674],[103.253425,33.145661],[103.253418,33.145653],[103.253289,33.145489],[103.253276,33.145472],[103.253158,33.145322],[103.253143,33.145303],[103.252957,33.145131],[103.252772,33.14496],[103.252658,33.144856],[103.252586,33.144789],[103.252563,33.144768],[103.2524,33.144617],[103.252289,33.144527],[103.252224,33.144475],[103.252049,33.144333],[103.251874,33.14419],[103.251699,33.144048],[103.251495,33.143939],[103.251291,33.143829],[103.251191,33.143835],[103.250991,33.143845],[103.250877,33.143862],[103.250778,33.144228],[103.25077,33.144594],[103.250796,33.144841],[103.250809,33.144961],[103.250873,33.145194],[103.250937,33.145426],[103.251003,33.145682],[103.251023,33.145756],[103.251016,33.146103],[103.251009,33.14645],[103.250798,33.146679],[103.250428,33.146828],[103.25015,33.146901],[103.249898,33.146878],[103.249647,33.146836],[103.249269,33.146715],[103.24911,33.146616],[103.248859,33.146555],[103.248608,33.146494],[103.248216,33.146585],[103.247983,33.146716],[103.247862,33.146985],[103.24786,33.147074],[103.247857,33.147224],[103.247856,33.147264],[103.24785,33.147543],[103.247779,33.147736],[103.24764,33.147792],[103.247319,33.147789],[103.247127,33.14774],[103.246908,33.147684],[103.246851,33.147673],[103.246725,33.147646],[103.246614,33.147623],[103.246519,33.147603],[103.246175,33.147617],[103.245888,33.14774],[103.245882,33.147743],[103.245827,33.147767],[103.245572,33.147936],[103.245293,33.148087],[103.245131,33.148143],[103.244993,33.148102],[103.244974,33.147947],[103.24498,33.147869],[103.244995,33.147701],[103.245003,33.147602],[103.245009,33.14733],[103.244994,33.147033],[103.244994,33.147024],[103.244992,33.147002],[103.244927,33.146828],[103.244723,33.146728],[103.244458,33.14674],[103.244402,33.146743],[103.244245,33.14678],[103.244171,33.146798],[103.244086,33.146889],[103.244029,33.14695],[103.243698,33.147213],[103.24347,33.147346],[103.243429,33.14736],[103.243124,33.147458],[103.243044,33.147471],[103.242686,33.147529],[103.242343,33.147505],[103.242068,33.147462],[103.241793,33.14742],[103.241718,33.147411],[103.241564,33.147393],[103.241515,33.147387],[103.241345,33.147367],[103.241335,33.147366],[103.241106,33.147338],[103.240877,33.147311],[103.240602,33.147269],[103.240473,33.147249],[103.240327,33.147226],[103.240278,33.147231],[103.239938,33.147259],[103.239589,33.147447],[103.239333,33.147617],[103.239207,33.147696],[103.239123,33.147749],[103.239022,33.147804],[103.238845,33.147899],[103.238614,33.147935],[103.238566,33.147939],[103.238481,33.147946],[103.238304,33.14796],[103.237995,33.147984],[103.237761,33.148008],[103.237527,33.148032],[103.237293,33.148056],[103.237059,33.148079],[103.236833,33.148148],[103.236608,33.148217],[103.236382,33.148286],[103.236157,33.148355],[103.235787,33.148472],[103.235736,33.148489],[103.235418,33.148589],[103.235048,33.148706],[103.234701,33.148843],[103.234354,33.148979],[103.234007,33.149116],[103.233599,33.149303],[103.233191,33.14949],[103.232783,33.149677],[103.232375,33.149864],[103.231968,33.150051],[103.231723,33.150128],[103.231479,33.150205],[103.231234,33.150282],[103.23099,33.150359],[103.230745,33.150436],[103.230501,33.150513],[103.230256,33.15059],[103.230012,33.150667],[103.229767,33.150744],[103.229523,33.150821],[103.229279,33.150898],[103.229034,33.150975],[103.228792,33.151042],[103.228682,33.151073],[103.228549,33.15111],[103.228539,33.151113],[103.228307,33.151178],[103.228064,33.151246],[103.227822,33.151314],[103.227579,33.151382],[103.227495,33.151406],[103.227337,33.15145],[103.227094,33.151518],[103.226852,33.151586],[103.22661,33.151654],[103.226533,33.151681],[103.226389,33.151733],[103.226168,33.151811],[103.225947,33.15189],[103.225726,33.151969],[103.225505,33.152047],[103.225284,33.152126],[103.225063,33.152205],[103.224842,33.152284],[103.224621,33.152362],[103.2244,33.152441],[103.224207,33.152507],[103.224169,33.15252],[103.223937,33.152598],[103.223821,33.152638],[103.223706,33.152677],[103.223475,33.152756],[103.223244,33.152835],[103.223013,33.152913],[103.222782,33.152992],[103.222551,33.153071],[103.222319,33.153149],[103.222088,33.153228],[103.221857,33.153307],[103.221626,33.153385],[103.221434,33.153451],[103.221395,33.153464],[103.221164,33.153543],[103.220932,33.153621],[103.220701,33.1537],[103.220463,33.153788],[103.220226,33.153875],[103.219988,33.153963],[103.21975,33.15405],[103.219512,33.154138],[103.219274,33.154226],[103.219036,33.154313],[103.218798,33.154401],[103.21856,33.154488],[103.218323,33.154576],[103.218085,33.154664],[103.217847,33.154751],[103.217609,33.154839],[103.217371,33.154926],[103.217117,33.155013],[103.216863,33.1551],[103.216609,33.155187],[103.216355,33.155274],[103.216101,33.155361],[103.215847,33.155448],[103.215593,33.155535],[103.215339,33.155622],[103.215085,33.155709],[103.214831,33.155796],[103.21478,33.155813],[103.214577,33.155883],[103.214323,33.155969],[103.214069,33.156048],[103.213815,33.156126],[103.21356,33.156205],[103.213306,33.156283],[103.212906,33.1564],[103.212505,33.156516],[103.212105,33.156633],[103.211889,33.156733],[103.211672,33.156833],[103.211456,33.156932],[103.211239,33.157032],[103.211023,33.157132],[103.210807,33.157232],[103.210436,33.15738],[103.210066,33.157528],[103.209672,33.157717],[103.209369,33.157906],[103.209229,33.158039],[103.208971,33.158331],[103.208712,33.158622],[103.208453,33.158914],[103.208265,33.159153],[103.208076,33.159391],[103.207845,33.159504],[103.207639,33.159483],[103.207388,33.159382],[103.207024,33.159202],[103.206706,33.159006],[103.206498,33.158905],[103.20629,33.158804],[103.206081,33.158703],[103.205873,33.158602],[103.205664,33.158501],[103.205456,33.158399],[103.205247,33.158298],[103.205039,33.158197],[103.204831,33.158096],[103.204622,33.157995],[103.204414,33.157894],[103.204205,33.157793],[103.203976,33.15769],[103.203747,33.157588],[103.203518,33.157485],[103.203289,33.157383],[103.20306,33.15728],[103.202831,33.157178],[103.202602,33.157075],[103.202373,33.156973],[103.202066,33.156834],[103.201758,33.156695],[103.201552,33.156671],[103.201207,33.156686],[103.200919,33.156778],[103.20063,33.15687],[103.200236,33.157019],[103.199959,33.157132],[103.199749,33.157264],[103.199539,33.157396],[103.199236,33.157674],[103.198932,33.157952],[103.198628,33.15823],[103.198435,33.158416],[103.198241,33.158602],[103.198048,33.158788],[103.197854,33.158974],[103.197726,33.15916],[103.197597,33.159347],[103.197469,33.159534],[103.19734,33.15972],[103.197212,33.159907],[103.197083,33.160094],[103.196955,33.16028],[103.196826,33.160467],[103.196697,33.160654],[103.196569,33.160841],[103.196435,33.161036],[103.196301,33.161232],[103.196166,33.161428],[103.196032,33.161624],[103.195898,33.16182],[103.195764,33.162016],[103.19563,33.162212],[103.195495,33.162408],[103.195361,33.162603],[103.195227,33.162799],[103.195093,33.162995],[103.194959,33.163191],[103.194805,33.163391],[103.194652,33.163592],[103.194418,33.163743],[103.194176,33.163846],[103.193933,33.163948],[103.193679,33.164012],[103.193425,33.164076],[103.193171,33.16414],[103.192917,33.164203],[103.192537,33.164304],[103.192156,33.164405],[103.191774,33.164553],[103.191391,33.164702],[103.191129,33.164785],[103.190868,33.164868],[103.190606,33.164951],[103.190344,33.165034],[103.190082,33.165117],[103.18982,33.1652],[103.189444,33.165333],[103.189068,33.165466],[103.188692,33.165598],[103.188664,33.165608],[103.188247,33.165766],[103.18783,33.165924],[103.187447,33.166122],[103.187064,33.166319],[103.186706,33.166553],[103.186347,33.166788],[103.186144,33.16692],[103.185919,33.167],[103.185693,33.167081],[103.185468,33.167161],[103.185242,33.167241],[103.185017,33.167321],[103.184791,33.167402],[103.184566,33.167482],[103.18434,33.167562],[103.184115,33.167643],[103.18389,33.167723],[103.183664,33.167803],[103.183439,33.167883],[103.183136,33.168032],[103.182811,33.168242],[103.182718,33.168317],[103.18262,33.168566],[103.182612,33.168952],[103.182605,33.169338],[103.18262,33.169666],[103.182643,33.170058],[103.182652,33.170215],[103.182658,33.170328],[103.182666,33.170451],[103.182688,33.170844],[103.182684,33.171076],[103.182683,33.171119],[103.18268,33.171249],[103.182672,33.171654],[103.182664,33.172059],[103.18266,33.172089],[103.182636,33.172289],[103.182608,33.172519],[103.18258,33.172749],[103.182552,33.172979],[103.182527,33.173065],[103.182484,33.173219],[103.182416,33.173459],[103.182348,33.173699],[103.18228,33.17394],[103.182206,33.174168],[103.182132,33.174397],[103.182059,33.174625],[103.181985,33.174854],[103.181912,33.175082],[103.18184,33.175305],[103.181838,33.175311],[103.181765,33.175539],[103.181691,33.175768],[103.181617,33.175996],[103.181597,33.17606],[103.181562,33.176168],[103.181544,33.176225],[103.181493,33.176452],[103.181442,33.17668],[103.181392,33.176907],[103.181341,33.177134],[103.18129,33.177362],[103.181239,33.177589],[103.181143,33.1778],[103.181046,33.17801],[103.18095,33.178221],[103.180854,33.178432],[103.180757,33.178642],[103.180661,33.178853],[103.180564,33.179063],[103.180468,33.179274],[103.180371,33.179485],[103.180275,33.179695],[103.180179,33.179906],[103.180082,33.180117],[103.180034,33.180334],[103.180033,33.180336],[103.180033,33.180338],[103.179987,33.180544],[103.179892,33.180972],[103.179797,33.181399],[103.179702,33.181827],[103.179645,33.182053],[103.179615,33.182175],[103.179589,33.182279],[103.179532,33.182505],[103.179476,33.182731],[103.179398,33.183173],[103.179392,33.183511],[103.179385,33.183849],[103.17933,33.184292],[103.17929,33.184542],[103.179251,33.184792],[103.179242,33.185236],[103.179282,33.185488],[103.179389,33.185874],[103.179565,33.186239],[103.17974,33.186604],[103.179837,33.186914],[103.179934,33.187224],[103.179926,33.18761],[103.179803,33.188032],[103.179611,33.188436],[103.179515,33.188652],[103.179419,33.188867],[103.179322,33.189083],[103.179226,33.189298],[103.179129,33.189514],[103.179033,33.189729],[103.178936,33.189945],[103.17884,33.19016],[103.178659,33.190523],[103.178478,33.190886],[103.178385,33.191315],[103.178292,33.191744],[103.178199,33.192173],[103.178147,33.192443],[103.178096,33.192712],[103.178086,33.193155],[103.178084,33.193573],[103.178082,33.193991],[103.178081,33.194409],[103.178083,33.194655],[103.178086,33.194901],[103.178088,33.195146],[103.178091,33.195392],[103.178093,33.195637],[103.178096,33.195883],[103.178098,33.196128],[103.178101,33.196374],[103.178103,33.19662],[103.178106,33.196865],[103.178108,33.197111],[103.178111,33.197356],[103.178071,33.1976],[103.178032,33.197844],[103.177992,33.198088],[103.177952,33.198332],[103.177913,33.198576],[103.177873,33.19882],[103.177822,33.199089],[103.177771,33.199358],[103.177685,33.199598],[103.177599,33.199838],[103.177513,33.200097],[103.177481,33.200193],[103.177427,33.200357],[103.177272,33.200673],[103.177116,33.200989],[103.176979,33.201214],[103.176843,33.201438],[103.176706,33.201663],[103.176569,33.201887],[103.176433,33.202112],[103.176296,33.202337],[103.176159,33.202561],[103.176155,33.202567],[103.176023,33.202786],[103.175884,33.203005],[103.175745,33.203224],[103.175606,33.203444],[103.175467,33.203663],[103.175328,33.203882],[103.175189,33.204102],[103.174969,33.20448],[103.174748,33.204857],[103.174528,33.205235],[103.174308,33.205613],[103.174164,33.20591],[103.17402,33.206207],[103.173965,33.206631],[103.173959,33.20692],[103.174021,33.20721],[103.174062,33.207451],[103.174103,33.207693],[103.174095,33.208074],[103.174087,33.208455],[103.174081,33.20875],[103.174075,33.209044],[103.174058,33.209324],[103.174041,33.209603],[103.174009,33.210027],[103.173977,33.210451],[103.173949,33.210682],[103.173921,33.210913],[103.173894,33.211144],[103.173866,33.211375],[103.173827,33.211615],[103.173788,33.211855],[103.173665,33.212163],[103.173487,33.212479],[103.173309,33.212795],[103.173235,33.213015],[103.173161,33.213235],[103.173061,33.21362],[103.173008,33.213976],[103.172975,33.21419],[103.172954,33.214332],[103.172919,33.21457],[103.172883,33.214807],[103.172848,33.215044],[103.172812,33.215282],[103.172777,33.215519],[103.172741,33.215756],[103.17271,33.215997],[103.172678,33.216238],[103.172646,33.216479],[103.172614,33.21672],[103.172582,33.216961],[103.17255,33.217201],[103.172511,33.217427],[103.172472,33.217653],[103.172433,33.217879],[103.172394,33.218105],[103.172354,33.218331],[103.172315,33.218557],[103.172276,33.218783],[103.172237,33.219008],[103.172172,33.219335],[103.172108,33.219662],[103.172031,33.220008],[103.172005,33.220139],[103.171981,33.220259],[103.17201,33.22051],[103.172039,33.220761],[103.172076,33.22099],[103.172114,33.221219],[103.172151,33.221448],[103.172189,33.221677],[103.172226,33.221906],[103.172263,33.222135],[103.172292,33.222386],[103.172322,33.222636],[103.172315,33.223003],[103.172283,33.223312],[103.172187,33.223638],[103.172123,33.223937],[103.17206,33.224235],[103.17199,33.224626],[103.17192,33.225017],[103.17185,33.225409],[103.171786,33.225736],[103.171723,33.226063],[103.171585,33.226412],[103.171447,33.226762],[103.17131,33.227112],[103.171248,33.227328],[103.171186,33.227544],[103.171124,33.22776],[103.171063,33.227977],[103.171044,33.228216],[103.171025,33.228454],[103.171006,33.228693],[103.170987,33.228932],[103.170969,33.229171],[103.17095,33.22941],[103.170931,33.229649],[103.170912,33.229888],[103.170893,33.230127],[103.170874,33.230366],[103.170834,33.230674],[103.170793,33.230983],[103.170694,33.23127],[103.170457,33.231635],[103.170315,33.231844],[103.170083,33.231974],[103.169683,33.232169],[103.169283,33.232364],[103.169072,33.232473],[103.168861,33.232582],[103.168808,33.232609],[103.168649,33.232691],[103.168441,33.232798],[103.168438,33.2328],[103.168226,33.232908],[103.168015,33.233017],[103.167804,33.233126],[103.167592,33.233235],[103.167381,33.233344],[103.167169,33.233452],[103.166962,33.233604],[103.166755,33.233755],[103.166549,33.233905],[103.166548,33.233906],[103.16634,33.234057],[103.166133,33.234208],[103.165926,33.234359],[103.165719,33.234511],[103.165512,33.234662],[103.165184,33.234933],[103.164857,33.235205],[103.16453,33.235477],[103.164352,33.235744],[103.164173,33.236011],[103.164077,33.236271],[103.16398,33.23653],[103.163833,33.236953],[103.163817,33.237184],[103.1638,33.237415],[103.163818,33.237722],[103.163835,33.238029],[103.163867,33.238286],[103.163899,33.238542],[103.163931,33.238798],[103.163963,33.239054],[103.163995,33.23931],[103.164027,33.239566],[103.164059,33.239822],[103.164091,33.240078],[103.164124,33.240326],[103.164157,33.240575],[103.16419,33.240823],[103.164224,33.241071],[103.164257,33.241319],[103.16429,33.241567],[103.164359,33.241809],[103.164429,33.242051],[103.164498,33.242293],[103.164568,33.242535],[103.164745,33.242866],[103.164922,33.243196],[103.165031,33.243507],[103.165045,33.243913],[103.165004,33.244259],[103.164962,33.244605],[103.164876,33.245033],[103.16479,33.245461],[103.164704,33.245889],[103.164676,33.24612],[103.164648,33.246351],[103.164639,33.246789],[103.16463,33.247226],[103.164622,33.247663],[103.164661,33.247915],[103.164795,33.248187],[103.164833,33.248534],[103.164826,33.248901],[103.164819,33.249267],[103.164742,33.249695],[103.164665,33.250122],[103.164661,33.250143],[103.164595,33.250396],[103.164529,33.250648],[103.164464,33.2509],[103.164398,33.251152],[103.164332,33.251405],[103.164266,33.251657],[103.164201,33.251909],[103.164135,33.252161],[103.164066,33.25243],[103.163997,33.252699],[103.163928,33.252968],[103.163859,33.253237],[103.163791,33.253506],[103.163722,33.253775],[103.163653,33.254044],[103.163584,33.254313],[103.163439,33.254678],[103.163293,33.255043],[103.163144,33.255241],[103.162995,33.255438],[103.162846,33.255636],[103.162697,33.255834],[103.162532,33.256027],[103.162368,33.256219],[103.162281,33.256321],[103.162203,33.256412],[103.162038,33.256604],[103.161873,33.256796],[103.161708,33.256989],[103.161543,33.257181],[103.161378,33.257374],[103.161214,33.257566],[103.161049,33.257758],[103.160865,33.257949],[103.16068,33.258139],[103.160496,33.25833],[103.160366,33.258464],[103.160312,33.25852],[103.160128,33.258711],[103.159944,33.258901],[103.15978,33.259032],[103.159665,33.25907],[103.159436,33.259047],[103.159184,33.258947],[103.158972,33.258805],[103.158889,33.25875],[103.158685,33.258621],[103.158481,33.258493],[103.158093,33.258313],[103.157886,33.25824],[103.157866,33.258233],[103.157498,33.258169],[103.157064,33.258125],[103.156754,33.25812],[103.156444,33.258116],[103.156144,33.25813],[103.155845,33.258145],[103.15558,33.258189],[103.155314,33.258234],[103.15508,33.258299],[103.154845,33.258365],[103.154698,33.258406],[103.154611,33.25843],[103.154376,33.258496],[103.154125,33.258538],[103.153873,33.258581],[103.153622,33.258623],[103.15337,33.258666],[103.153357,33.258668],[103.153156,33.258702],[103.153119,33.258708],[103.152867,33.25875],[103.152793,33.258763],[103.152727,33.258774],[103.152616,33.258793],[103.152443,33.258822],[103.152364,33.258835],[103.152113,33.258878],[103.151861,33.25892],[103.151434,33.259001],[103.151008,33.259081],[103.150581,33.259162],[103.150154,33.259243],[103.149923,33.259292],[103.149692,33.259342],[103.149461,33.259392],[103.14923,33.259441],[103.148907,33.259514],[103.148665,33.259539],[103.148626,33.259543],[103.148423,33.259564],[103.148181,33.259589],[103.147938,33.259615],[103.147752,33.259619],[103.147678,33.259621],[103.147418,33.259627],[103.147157,33.259633],[103.146897,33.259639],[103.146636,33.259645],[103.146376,33.259651],[103.146116,33.259657],[103.145855,33.259663],[103.145598,33.259655],[103.145341,33.259648],[103.145084,33.25964],[103.144827,33.259633],[103.14457,33.259626],[103.144313,33.259618],[103.144056,33.259611],[103.143799,33.259603],[103.143542,33.259596],[103.143285,33.259588],[103.143028,33.259581],[103.142771,33.259573],[103.142514,33.259566],[103.142257,33.259559],[103.141999,33.259551],[103.141742,33.259544],[103.141497,33.259543],[103.141252,33.259543],[103.141007,33.259542],[103.140762,33.259542],[103.140517,33.259541],[103.140272,33.259541],[103.140027,33.259541],[103.139781,33.25954],[103.139536,33.25954],[103.139291,33.259539],[103.139046,33.259539],[103.138801,33.259538],[103.138551,33.259533],[103.138302,33.259529],[103.138053,33.259524],[103.137803,33.259519],[103.137554,33.259514],[103.137304,33.259509],[103.137061,33.259504],[103.137055,33.259504],[103.136805,33.2595],[103.136556,33.259495],[103.136433,33.259492],[103.136306,33.25949],[103.136052,33.259463],[103.135797,33.259437],[103.135542,33.25941],[103.135287,33.259383],[103.135032,33.259357],[103.134778,33.25933],[103.134523,33.259303],[103.134405,33.259291],[103.134268,33.259277],[103.134013,33.25925],[103.133759,33.259224],[103.13352,33.259218],[103.133282,33.259213],[103.133044,33.259207],[103.132806,33.259202],[103.132567,33.259196],[103.132329,33.259191],[103.132091,33.259185],[103.131853,33.25918],[103.131776,33.259178],[103.131615,33.259174],[103.131376,33.259169],[103.131138,33.259163],[103.1309,33.259158],[103.130662,33.259152],[103.130423,33.259147],[103.130275,33.259149],[103.130017,33.259154],[103.12961,33.25916],[103.129346,33.259176],[103.129148,33.259188],[103.129082,33.259192],[103.12899,33.25921],[103.128849,33.259236],[103.128617,33.259279],[103.128359,33.25935],[103.128224,33.259388],[103.127831,33.259496],[103.127475,33.259602],[103.127447,33.25961],[103.127362,33.259636],[103.127118,33.259708],[103.126926,33.259766],[103.126762,33.259815],[103.126477,33.259898],[103.126193,33.259982],[103.125954,33.260052],[103.125716,33.260122],[103.125477,33.260192],[103.125239,33.260262],[103.125,33.260332],[103.124762,33.260402],[103.124667,33.26043],[103.124523,33.260472],[103.124285,33.260542],[103.124046,33.260612],[103.123808,33.260682],[103.12357,33.260752],[103.123331,33.260822],[103.122898,33.260922],[103.122465,33.261023],[103.122032,33.261123],[103.121688,33.261203],[103.121599,33.261224],[103.121206,33.261285],[103.120814,33.261346],[103.120367,33.261353],[103.120314,33.261352],[103.120314,33.261352],[103.120136,33.261349],[103.119905,33.261346],[103.119846,33.261341],[103.119489,33.261313],[103.119124,33.261281],[103.11871,33.261207],[103.118297,33.261133],[103.118267,33.261128],[103.117899,33.26106],[103.117657,33.26098],[103.117415,33.260899],[103.117174,33.260819],[103.116932,33.260738],[103.116563,33.260576],[103.116463,33.260532],[103.116291,33.260457],[103.116194,33.260415],[103.115826,33.260253],[103.115508,33.260141],[103.115191,33.260029],[103.11492,33.259998],[103.114649,33.259967],[103.114285,33.259948],[103.114246,33.259955],[103.113981,33.260003],[103.113879,33.260022],[103.113676,33.260059],[103.113339,33.260134],[103.113044,33.260162],[103.112748,33.260191],[103.112349,33.260185],[103.111976,33.26018],[103.11195,33.26018],[103.111715,33.260166],[103.111479,33.260153],[103.111244,33.260139],[103.111009,33.260126],[103.110782,33.260079],[103.110556,33.260032],[103.110329,33.259984],[103.110103,33.259937],[103.109732,33.259874],[103.109361,33.25981],[103.10899,33.259746],[103.108748,33.259692],[103.108506,33.259638],[103.108263,33.259584],[103.108021,33.25953],[103.107792,33.259467],[103.107563,33.259404],[103.107333,33.25934],[103.107104,33.259277],[103.106874,33.259214],[103.106645,33.25915],[103.106416,33.259087],[103.106186,33.259024],[103.105946,33.258961],[103.105706,33.258899],[103.105466,33.258837],[103.105225,33.258774],[103.104985,33.258712],[103.104745,33.25865],[103.104505,33.258587],[103.104265,33.258525],[103.104047,33.258462],[103.103829,33.258398],[103.103611,33.258334],[103.103393,33.258271],[103.103172,33.258195],[103.103161,33.258191],[103.103086,33.258166],[103.103074,33.258161],[103.103045,33.258151],[103.102943,33.258117],[103.10288,33.258095],[103.102696,33.258032],[103.102418,33.257934],[103.102141,33.257836],[103.101726,33.257685],[103.101312,33.257535],[103.100898,33.257384],[103.100494,33.25722],[103.100091,33.257056],[103.099688,33.256892],[103.099284,33.256728],[103.098871,33.256628],[103.098459,33.256529],[103.098046,33.256429],[103.097633,33.256329],[103.09737,33.256289],[103.097106,33.25625],[103.096787,33.256219],[103.096488,33.256259],[103.096268,33.256288],[103.096188,33.256298],[103.09613,33.256316],[103.096116,33.256321],[103.096084,33.256348],[103.096083,33.256266],[103.096067,33.256109],[103.095962,33.25579],[103.095859,33.255611],[103.095668,33.255422],[103.095583,33.255369],[103.095397,33.255293],[103.095352,33.255273],[103.095227,33.25524],[103.095123,33.255228],[103.095045,33.255226],[103.094972,33.255226],[103.094871,33.255247],[103.094766,33.255283],[103.09468,33.255315],[103.094616,33.255352],[103.0946,33.255361],[103.094524,33.255409],[103.09443,33.255476],[103.094362,33.255544],[103.094187,33.255693],[103.094098,33.255785],[103.094051,33.25584],[103.09397,33.255932],[103.093769,33.255827],[103.093842,33.255707],[103.093804,33.255707],[103.09378,33.255712],[103.093745,33.255719],[103.093717,33.255731],[103.093655,33.255764],[103.093575,33.255705],[103.093252,33.255466],[103.093182,33.255414],[103.092823,33.255148],[103.092666,33.254847],[103.092564,33.254652],[103.092421,33.254379],[103.092367,33.254264],[103.092359,33.254247],[103.092194,33.253895],[103.091881,33.253429],[103.091277,33.252985],[103.091204,33.252875],[103.091151,33.252795],[103.091058,33.252656],[103.091077,33.251787],[103.09112,33.251642],[103.091286,33.251084],[103.091336,33.25027],[103.091229,33.249624],[103.091106,33.249389],[103.090949,33.24909],[103.090882,33.24904],[103.090861,33.249024],[103.090608,33.248838],[103.090575,33.248813],[103.090329,33.248632],[103.089895,33.248544],[103.089704,33.248606],[103.089398,33.248706],[103.089358,33.248719],[103.089247,33.248829],[103.08883,33.249243],[103.088817,33.249256],[103.088816,33.249256],[103.088729,33.249343],[103.088728,33.249343],[103.088721,33.24935],[103.08859,33.249481],[103.088346,33.249678],[103.088269,33.249741],[103.088002,33.249757],[103.087786,33.249652],[103.087784,33.249646],[103.087783,33.249642],[103.087711,33.249408],[103.08767,33.249402],[103.087635,33.249395],[103.087608,33.24938],[103.087603,33.249357],[103.087619,33.249334],[103.087682,33.249314],[103.087673,33.249284],[103.087685,33.248725],[103.087685,33.248704],[103.087686,33.248673],[103.087619,33.248493],[103.087594,33.248427],[103.08738,33.248455],[103.087366,33.248406],[103.087344,33.248379],[103.087309,33.248372],[103.087267,33.248361],[103.087235,33.248413],[103.087184,33.248481],[103.087035,33.2485],[103.086823,33.24852],[103.086523,33.248548],[103.086477,33.248552],[103.086387,33.248554],[103.086052,33.248559],[103.085822,33.248563],[103.085645,33.248507],[103.085003,33.248306],[103.084261,33.247887],[103.084235,33.247868],[103.084217,33.247855],[103.083928,33.247652],[103.08376,33.247533],[103.083719,33.247186],[103.08395,33.246864],[103.084142,33.246792],[103.0845,33.246658],[103.084995,33.246483],[103.085379,33.246351],[103.085801,33.246174],[103.085975,33.246138],[103.086052,33.246147],[103.086194,33.24617],[103.0863,33.246182],[103.086428,33.246182],[103.086539,33.246182],[103.086683,33.246157],[103.086814,33.246122],[103.086943,33.246081],[103.087027,33.246056],[103.087076,33.246056],[103.087303,33.245946],[103.087356,33.245968],[103.087372,33.245959],[103.087416,33.245933],[103.087463,33.245911],[103.0875,33.245888],[103.087561,33.245853],[103.087593,33.24584],[103.087614,33.245824],[103.087607,33.245798],[103.087788,33.24571],[103.087851,33.245679],[103.08805,33.245582],[103.08834,33.245273],[103.088306,33.245224],[103.088296,33.245173],[103.088294,33.245131],[103.088296,33.24512],[103.088307,33.245079],[103.08834,33.245031],[103.088365,33.24502],[103.088406,33.245035],[103.088445,33.245086],[103.08848,33.245123],[103.088527,33.245073],[103.088561,33.245036],[103.088572,33.245025],[103.088878,33.244814],[103.08932,33.244508],[103.089328,33.244502],[103.089341,33.2445],[103.08942,33.244487],[103.08973,33.244436],[103.08974,33.244463],[103.089752,33.24448],[103.089776,33.244494],[103.089812,33.244501],[103.089852,33.2445],[103.089894,33.244499],[103.089934,33.244497],[103.089965,33.244502],[103.089991,33.244511],[103.090046,33.244537],[103.090102,33.244548],[103.090176,33.244558],[103.09025,33.244564],[103.090299,33.244561],[103.09038,33.244557],[103.090472,33.244538],[103.09053,33.244517],[103.090563,33.244491],[103.090583,33.244461],[103.0906,33.24443],[103.090912,33.244451],[103.090967,33.244466],[103.091544,33.244628],[103.091934,33.244669],[103.092233,33.2447],[103.092251,33.244694],[103.092437,33.244641],[103.092837,33.244526],[103.093037,33.244345],[103.093321,33.24409],[103.093523,33.24391],[103.093569,33.243437],[103.093453,33.242923],[103.093421,33.242783],[103.09342,33.242778],[103.093305,33.242533],[103.093301,33.242525],[103.093072,33.242039],[103.092683,33.241544],[103.092386,33.241005],[103.092327,33.240806],[103.092307,33.24074],[103.092267,33.240606],[103.092473,33.24035],[103.092486,33.240345],[103.092525,33.240332],[103.092608,33.240354],[103.092764,33.240367],[103.092893,33.240343],[103.093065,33.240286],[103.093182,33.240235],[103.093203,33.24022],[103.093265,33.240223],[103.093711,33.240246],[103.094458,33.240168],[103.094604,33.240153],[103.09465,33.240131],[103.094674,33.240119],[103.095431,33.239753],[103.095508,33.23975],[103.095525,33.239749],[103.095589,33.239747],[103.095763,33.239739],[103.095795,33.239738],[103.095986,33.239892],[103.096064,33.239941],[103.096112,33.239932],[103.096243,33.240104],[103.096892,33.24112],[103.097318,33.241479],[103.097325,33.241485],[103.097327,33.241487],[103.097363,33.241517],[103.097427,33.241571],[103.097685,33.241568],[103.097955,33.241564],[103.098125,33.241276],[103.097887,33.240527],[103.097885,33.240519],[103.097852,33.240417],[103.097794,33.240092],[103.097739,33.239789],[103.097771,33.239638],[103.097791,33.239548],[103.09788,33.239134],[103.098144,33.238772],[103.098255,33.23862],[103.098347,33.238579],[103.098348,33.238579],[103.098535,33.238496],[103.098599,33.238467],[103.098623,33.238457],[103.098626,33.238444],[103.098694,33.238166],[103.09873,33.238018],[103.099339,33.237771],[103.099892,33.237211],[103.100003,33.237054],[103.100005,33.236738],[103.099791,33.236551],[103.099157,33.236404],[103.09891,33.236552],[103.098702,33.236676],[103.098607,33.236733],[103.09831,33.23691],[103.098183,33.237006],[103.09764,33.237417],[103.09754,33.237492],[103.097479,33.237539],[103.09722,33.237749],[103.097192,33.237772],[103.097072,33.237869],[103.096977,33.237861],[103.096928,33.237856],[103.096885,33.237802],[103.096791,33.237769],[103.096656,33.23776],[103.096569,33.23777],[103.096439,33.237676],[103.09642,33.23759],[103.096373,33.237385],[103.096541,33.237126],[103.096548,33.237115],[103.09658,33.237067],[103.096642,33.23702],[103.097153,33.236633],[103.097415,33.236286],[103.097298,33.236126],[103.097256,33.236069],[103.097226,33.236057],[103.096823,33.235886],[103.09677,33.235863],[103.09656,33.235827],[103.09651,33.235776],[103.096461,33.235733],[103.096329,33.235652],[103.096252,33.235624],[103.096155,33.235592],[103.096051,33.235563],[103.095987,33.235544],[103.095945,33.235528],[103.095926,33.235521],[103.095876,33.235499],[103.095816,33.235462],[103.095766,33.235437],[103.095684,33.235412],[103.095648,33.235405],[103.095601,33.235402],[103.095446,33.235188],[103.095433,33.235172],[103.095263,33.234939],[103.095281,33.234628],[103.095291,33.234466],[103.095314,33.234396],[103.095288,33.234339],[103.095307,33.234211],[103.095327,33.234115],[103.095369,33.233996],[103.095392,33.233918],[103.095427,33.233831],[103.095446,33.233682],[103.095547,33.233553],[103.095505,33.233459],[103.095344,33.233096],[103.095287,33.232969],[103.094936,33.232413],[103.094911,33.231893],[103.095046,33.231529],[103.095121,33.231468],[103.095188,33.231414],[103.09527,33.231347],[103.095388,33.231375],[103.095468,33.231383],[103.09555,33.231379],[103.095626,33.23137],[103.095737,33.231346],[103.095799,33.231303],[103.095845,33.231263],[103.096214,33.231302],[103.096359,33.231365],[103.09642,33.231365],[103.096522,33.231383],[103.09662,33.231412],[103.096787,33.231478],[103.09715,33.231639],[103.097265,33.231699],[103.097318,33.23174],[103.097324,33.231742],[103.097881,33.231868],[103.0979,33.231872],[103.097934,33.231907],[103.098016,33.231963],[103.098153,33.232022],[103.09829,33.232067],[103.098442,33.232104],[103.098594,33.232107],[103.098728,33.232107],[103.098755,33.232122],[103.098956,33.232232],[103.099155,33.23234],[103.099344,33.232369],[103.099787,33.232437],[103.099925,33.232418],[103.100119,33.232345],[103.100277,33.232264],[103.100442,33.232165],[103.100545,33.232049],[103.100632,33.23193],[103.10069,33.231778],[103.100749,33.231626],[103.100771,33.231443],[103.100749,33.231288],[103.10072,33.231157],[103.100718,33.231151],[103.100688,33.231119],[103.100689,33.231104],[103.100689,33.231081],[103.100684,33.231063],[103.100655,33.230996],[103.100614,33.230895],[103.100579,33.230837],[103.100568,33.230821],[103.100528,33.230765],[103.100463,33.230692],[103.100409,33.230632],[103.100366,33.230599],[103.100326,33.230579],[103.100289,33.230561],[103.100202,33.23052],[103.100121,33.230493],[103.100051,33.230478],[103.099744,33.230109],[103.099552,33.229709],[103.099325,33.22928],[103.099287,33.229126],[103.099295,33.228928],[103.099287,33.228849],[103.099292,33.228707],[103.099295,33.228594],[103.098932,33.22835],[103.098532,33.228213],[103.098486,33.228197],[103.098138,33.228078],[103.098091,33.228076],[103.098058,33.228058],[103.098002,33.228044],[103.097926,33.228043],[103.097831,33.228048],[103.097757,33.228052],[103.097723,33.228063],[103.097421,33.228052],[103.097357,33.228118],[103.097287,33.228165],[103.097209,33.228193],[103.097134,33.2282],[103.097034,33.228201],[103.096794,33.228165],[103.096658,33.228128],[103.096628,33.228131],[103.096444,33.228134],[103.096436,33.228135],[103.096376,33.228103],[103.096223,33.228053],[103.096131,33.228036],[103.096073,33.228025],[103.095927,33.228014],[103.095804,33.228019],[103.095724,33.228028],[103.095649,33.228009],[103.095272,33.22782],[103.095262,33.22781],[103.095094,33.227619],[103.095555,33.22732],[103.095665,33.227304],[103.095695,33.2273],[103.095741,33.227323],[103.095831,33.227359],[103.095937,33.227377],[103.096029,33.227385],[103.096149,33.227384],[103.096229,33.227373],[103.096347,33.227339],[103.096425,33.2273],[103.096527,33.227243],[103.096586,33.227188],[103.096622,33.227148],[103.096666,33.227085],[103.096704,33.226972],[103.096784,33.226809],[103.09683,33.226647],[103.096919,33.226408],[103.096745,33.226101],[103.09669,33.226065],[103.096709,33.226027],[103.096725,33.225978],[103.096735,33.225903],[103.096734,33.225832],[103.096719,33.225773],[103.096691,33.225713],[103.096667,33.225676],[103.096638,33.225651],[103.0966,33.225634],[103.096537,33.225627],[103.096491,33.225626],[103.096384,33.22567],[103.096334,33.225706],[103.096315,33.225718],[103.096297,33.22573],[103.096264,33.225744],[103.096224,33.225756],[103.095934,33.225483],[103.095913,33.225464],[103.09578,33.225338],[103.095644,33.225207],[103.095442,33.225012],[103.095378,33.224614],[103.09537,33.224363],[103.095369,33.224345],[103.09542,33.224401],[103.095476,33.224429],[103.095539,33.224448],[103.095604,33.224454],[103.09572,33.224456],[103.095818,33.22444],[103.095875,33.224422],[103.095932,33.224394],[103.09594,33.224397],[103.096048,33.224451],[103.09609,33.224472],[103.096477,33.224672],[103.096538,33.22466],[103.096581,33.22463],[103.096611,33.224584],[103.096632,33.224553],[103.096663,33.224547],[103.096716,33.224561],[103.09679,33.224609],[103.096851,33.224655],[103.096861,33.224691],[103.096861,33.224728],[103.096842,33.224777],[103.096991,33.224807],[103.09712,33.224732],[103.097104,33.224577],[103.097097,33.224505],[103.09709,33.224442],[103.096969,33.22413],[103.096935,33.224042],[103.096815,33.223719],[103.0971,33.223158],[103.097457,33.222587],[103.097471,33.222561],[103.097342,33.221965],[103.097163,33.221866],[103.097175,33.221786],[103.09716,33.221682],[103.097135,33.221597],[103.097086,33.221531],[103.097043,33.221491],[103.096986,33.221467],[103.096929,33.221462],[103.09672,33.221477],[103.096561,33.221496],[103.096425,33.22151],[103.096285,33.221519],[103.096141,33.221538],[103.095763,33.221463],[103.094547,33.22123],[103.093765,33.221058],[103.093642,33.221031],[103.093632,33.22102],[103.093591,33.220984],[103.093548,33.220946],[103.093483,33.220904],[103.093251,33.220765],[103.093155,33.220711],[103.093087,33.220684],[103.093031,33.220665],[103.092978,33.220654],[103.092932,33.220641],[103.092636,33.220322],[103.09257,33.220251],[103.092511,33.220188],[103.092495,33.220173],[103.09249,33.219883],[103.092484,33.219656],[103.092484,33.219643],[103.092482,33.219551],[103.092929,33.219031],[103.092939,33.219019],[103.09321,33.218703],[103.093205,33.218526],[103.093201,33.218384],[103.093214,33.218354],[103.093224,33.218296],[103.093224,33.218229],[103.093223,33.218182],[103.093206,33.218121],[103.093176,33.218056],[103.093082,33.217944],[103.092979,33.217875],[103.092896,33.217811],[103.0928,33.21776],[103.092743,33.217743],[103.092713,33.217735],[103.092636,33.217668],[103.092437,33.217502],[103.092421,33.217488],[103.09238,33.217454],[103.091967,33.217109],[103.091862,33.216351],[103.091844,33.216224],[103.091756,33.215721],[103.091606,33.215711],[103.091622,33.215637],[103.091658,33.215388],[103.091641,33.215074],[103.091568,33.214682],[103.091566,33.214668],[103.091067,33.214685],[103.091044,33.214685],[103.090846,33.214692],[103.090105,33.214456],[103.090102,33.214434],[103.090071,33.214221],[103.090069,33.214208],[103.090059,33.214143],[103.090215,33.213892],[103.090501,33.213433],[103.090518,33.213398],[103.090723,33.212989],[103.090615,33.212914],[103.09061,33.21291],[103.090461,33.212806],[103.090418,33.212822],[103.089959,33.212995],[103.089609,33.213127],[103.089597,33.213132],[103.089548,33.21315],[103.08933,33.213327],[103.089287,33.213362],[103.089281,33.213397],[103.089207,33.213476],[103.089024,33.213628],[103.088898,33.213677],[103.088854,33.213688],[103.088595,33.213749],[103.088578,33.213753],[103.088473,33.213777],[103.088362,33.213803],[103.088319,33.213355],[103.088435,33.212909],[103.088515,33.212841],[103.088538,33.212821],[103.088552,33.212809],[103.088567,33.212796],[103.088595,33.212772],[103.089001,33.212424],[103.089357,33.212118],[103.089793,33.211677],[103.089768,33.211352],[103.089752,33.211139],[103.08963,33.211104],[103.089515,33.21107],[103.089505,33.211067],[103.08945,33.211051],[103.089103,33.21095],[103.0888,33.211058],[103.088718,33.211004],[103.088654,33.210987],[103.088594,33.210987],[103.088509,33.211018],[103.088428,33.211072],[103.088358,33.211118],[103.088284,33.211175],[103.088214,33.211253],[103.088166,33.211322],[103.088134,33.211368],[103.087483,33.211797],[103.087409,33.211845],[103.087138,33.212024],[103.087082,33.21206],[103.086974,33.212107],[103.086918,33.212132],[103.086863,33.212205],[103.086809,33.212274],[103.086749,33.21234],[103.086675,33.212388],[103.086579,33.212419],[103.086487,33.212438],[103.086416,33.212429],[103.08628,33.212369],[103.086132,33.212289],[103.086012,33.212196],[103.085956,33.212135],[103.085904,33.21204],[103.085868,33.211953],[103.085862,33.21189],[103.085868,33.211806],[103.085892,33.211741],[103.085923,33.211687],[103.085928,33.211682],[103.085894,33.211606],[103.085838,33.211467],[103.085768,33.21129],[103.085705,33.211133],[103.085233,33.21079],[103.084809,33.211178],[103.084655,33.211319],[103.084646,33.211327],[103.084296,33.211648],[103.084106,33.211842],[103.08384,33.212116],[103.08364,33.212147],[103.083309,33.212205],[103.082946,33.212355],[103.082484,33.212292],[103.082311,33.212262],[103.082211,33.21222],[103.082156,33.212156],[103.082149,33.212129],[103.082133,33.212066],[103.082129,33.211944],[103.082143,33.211857],[103.082168,33.211786],[103.082181,33.211758],[103.082177,33.21175],[103.082421,33.211445],[103.082548,33.211232],[103.082618,33.210733],[103.082694,33.210516],[103.082724,33.210421],[103.082793,33.210313],[103.082863,33.210232],[103.082996,33.210085],[103.083094,33.209968],[103.083195,33.209848],[103.083301,33.209763],[103.083403,33.209732],[103.08346,33.209738],[103.083535,33.209788],[103.083589,33.209832],[103.083671,33.209884],[103.083821,33.209821],[103.083986,33.209752],[103.084099,33.209766],[103.084202,33.209769],[103.084253,33.209761],[103.084287,33.209739],[103.084356,33.209695],[103.0845,33.209603],[103.084466,33.209557],[103.084403,33.209471],[103.084455,33.209414],[103.084512,33.209245],[103.084538,33.209077],[103.084523,33.208973],[103.084457,33.208862],[103.084357,33.20886],[103.084195,33.208844],[103.084071,33.208828],[103.083913,33.208796],[103.0838,33.208759],[103.083783,33.208807],[103.083445,33.208513],[103.083185,33.20825],[103.082703,33.207763],[103.082431,33.207171],[103.082283,33.20685],[103.082276,33.206795],[103.082209,33.20634],[103.082023,33.205058],[103.082133,33.204598],[103.082598,33.204817],[103.082716,33.2049],[103.083043,33.20513],[103.083251,33.205276],[103.083355,33.205349],[103.083512,33.205459],[103.083541,33.20545],[103.083534,33.205638],[103.083577,33.205667],[103.083681,33.205639],[103.083937,33.2055],[103.08418,33.20523],[103.084369,33.205068],[103.084458,33.204939],[103.084434,33.204851],[103.084471,33.20473],[103.084496,33.204653],[103.084546,33.204601],[103.084662,33.204581],[103.084751,33.204513],[103.08475,33.204377],[103.084741,33.204302],[103.084768,33.204206],[103.084809,33.204158],[103.084919,33.204119],[103.08492,33.204071],[103.084748,33.203715],[103.084665,33.203739],[103.084467,33.203797],[103.08441,33.203814],[103.084268,33.203856],[103.084175,33.203883],[103.084149,33.203898],[103.083508,33.204275],[103.083178,33.20427],[103.083152,33.204185],[103.083046,33.203846],[103.082942,33.20351],[103.082759,33.203546],[103.082527,33.203537],[103.082453,33.203514],[103.082379,33.203491],[103.082263,33.203352],[103.082164,33.203194],[103.082119,33.203097],[103.082112,33.203],[103.082111,33.202899],[103.082113,33.202857],[103.082116,33.202755],[103.082127,33.202666],[103.082153,33.202553],[103.0822,33.202403],[103.082246,33.202247],[103.082285,33.202088],[103.082302,33.201969],[103.082301,33.201884],[103.082276,33.20179],[103.082184,33.201616],[103.082138,33.201509],[103.082133,33.201491],[103.082113,33.201417],[103.082114,33.201326],[103.082127,33.201252],[103.082164,33.201173],[103.082175,33.20115],[103.08222,33.201098],[103.082332,33.201038],[103.082386,33.201009],[103.082419,33.200969],[103.082445,33.200929],[103.082465,33.200898],[103.082499,33.200811],[103.082583,33.200607],[103.082688,33.200272],[103.082741,33.20011],[103.082788,33.200041],[103.082862,33.199997],[103.082892,33.199956],[103.082907,33.199878],[103.082924,33.199781],[103.083003,33.199518],[103.083005,33.199443],[103.083008,33.199311],[103.083035,33.199121],[103.083042,33.198998],[103.083059,33.198872],[103.083084,33.198775],[103.08312,33.198664],[103.083157,33.198507],[103.083177,33.198456],[103.083068,33.198351],[103.082963,33.198341],[103.082971,33.198278],[103.082961,33.19822],[103.082945,33.19817],[103.082921,33.198124],[103.082865,33.19809],[103.082786,33.198074],[103.082699,33.198079],[103.082697,33.198082],[103.08262,33.198143],[103.082555,33.198217],[103.082489,33.198296],[103.08244,33.198291],[103.082099,33.198428],[103.081888,33.198513],[103.081715,33.198582],[103.081234,33.198676],[103.081144,33.198634],[103.081137,33.19863],[103.080895,33.198517],[103.080789,33.198467],[103.080688,33.19829],[103.080676,33.198268],[103.080587,33.198112],[103.080539,33.197582],[103.080742,33.197243],[103.080943,33.196909],[103.081085,33.196772],[103.081124,33.196732],[103.08127,33.196648],[103.081251,33.196628],[103.081241,33.1966],[103.081331,33.196609],[103.081491,33.196606],[103.081622,33.196605],[103.081785,33.196592],[103.081945,33.196573],[103.082137,33.196549],[103.08222,33.196539],[103.082357,33.196523],[103.082365,33.196522],[103.082591,33.196513],[103.082739,33.196522],[103.0831,33.196536],[103.083266,33.196556],[103.083383,33.196555],[103.083446,33.196549],[103.083663,33.196439],[103.083729,33.196406],[103.083859,33.196239],[103.083887,33.196067],[103.083875,33.195878],[103.083847,33.195835],[103.083755,33.195693],[103.083651,33.195652],[103.083626,33.195557],[103.083614,33.195485],[103.083584,33.19541],[103.083544,33.195327],[103.083501,33.195271],[103.083421,33.195206],[103.083358,33.195175],[103.08331,33.195161],[103.083254,33.195153],[103.083191,33.195164],[103.083142,33.195189],[103.083133,33.195194],[103.083076,33.195224],[103.082981,33.19525],[103.082857,33.195266],[103.082723,33.195284],[103.082217,33.195077],[103.082174,33.19506],[103.082122,33.195038],[103.08197,33.194802],[103.081953,33.194776],[103.081745,33.194453],[103.081883,33.19365],[103.082907,33.192671],[103.083553,33.19224],[103.083448,33.191924],[103.083076,33.191792],[103.083019,33.1918],[103.082976,33.191806],[103.082902,33.191816],[103.082716,33.191841],[103.082695,33.191768],[103.082677,33.191719],[103.082653,33.191658],[103.08263,33.191599],[103.082596,33.191542],[103.082555,33.191513],[103.082516,33.191495],[103.082488,33.191492],[103.082451,33.191505],[103.082398,33.191543],[103.082392,33.191547],[103.082329,33.19159],[103.082112,33.191757],[103.082066,33.19181],[103.081958,33.191902],[103.081899,33.191938],[103.081886,33.191938],[103.081721,33.191943],[103.081351,33.191955],[103.080867,33.191821],[103.08084,33.191756],[103.080836,33.191745],[103.080823,33.191713],[103.080751,33.191537],[103.080745,33.191523],[103.080725,33.191473],[103.080742,33.191309],[103.080772,33.191033],[103.081422,33.190414],[103.081577,33.190154],[103.081888,33.189634],[103.081952,33.189281],[103.081956,33.189255],[103.082014,33.188936],[103.082058,33.188692],[103.082092,33.188588],[103.082203,33.188242],[103.082383,33.187679],[103.082395,33.187642],[103.08246,33.187439],[103.082559,33.187315],[103.082806,33.187004],[103.083301,33.186533],[103.084335,33.185548],[103.084533,33.185342],[103.084871,33.18499],[103.085001,33.184174],[103.08506,33.183867],[103.08515,33.183397],[103.08519,33.183189],[103.085192,33.183183],[103.08527,33.183026],[103.085324,33.182877],[103.085289,33.182678],[103.085297,33.182636],[103.085202,33.181848],[103.085211,33.181768],[103.085214,33.181739],[103.085248,33.181439],[103.08563,33.181099],[103.086823,33.180677],[103.087252,33.180526],[103.087304,33.180507],[103.087594,33.180405],[103.087701,33.180367],[103.088874,33.179953],[103.090478,33.179431],[103.090721,33.179352],[103.091267,33.179046],[103.092198,33.178525],[103.092959,33.17797],[103.093047,33.17776],[103.093354,33.177032],[103.093441,33.175994],[103.093454,33.175837],[103.093422,33.175514],[103.093373,33.175038],[103.093362,33.174923],[103.093372,33.174438],[103.093379,33.174136],[103.093383,33.173386],[103.093385,33.172831],[103.093389,33.172164],[103.09339,33.171902],[103.09339,33.171894],[103.093337,33.170894],[103.093294,33.170724],[103.093096,33.169946],[103.092237,33.168139],[103.09211,33.167067],[103.092069,33.166813],[103.092005,33.166424],[103.091888,33.166253],[103.091808,33.166057],[103.091714,33.165909],[103.09152,33.165732],[103.091433,33.165645],[103.091443,33.165639],[103.091591,33.165584],[103.09182,33.1656],[103.091888,33.165537],[103.091883,33.165497],[103.091772,33.164486],[103.091756,33.164341],[103.091701,33.163844],[103.09157,33.162652],[103.09159,33.161708],[103.091754,33.161517],[103.09225,33.160935],[103.092612,33.160511],[103.09305,33.159999],[103.093483,33.159257],[103.093633,33.159001],[103.093905,33.158502],[103.093906,33.158476],[103.093917,33.157965],[103.093918,33.157935],[103.093868,33.157689],[103.093816,33.15743],[103.093466,33.157091],[103.093157,33.15679],[103.092615,33.155869],[103.09188,33.155292],[103.091088,33.154546],[103.090963,33.154428],[103.090573,33.153681],[103.090474,33.153492],[103.090636,33.153434],[103.091011,33.153279],[103.091137,33.153141],[103.091142,33.152998],[103.09107,33.152903],[103.091019,33.15284],[103.090998,33.152814],[103.090868,33.152624],[103.09081,33.152518],[103.090656,33.152496],[103.090263,33.152222],[103.090206,33.152182],[103.090161,33.15174],[103.090067,33.150889],[103.089882,33.150504],[103.089566,33.149843],[103.089539,33.14979],[103.089382,33.149484],[103.08933,33.149383],[103.089146,33.149024],[103.088996,33.148731],[103.088994,33.148728],[103.088571,33.147901],[103.088687,33.147881],[103.088967,33.147656],[103.089075,33.14754],[103.08918,33.147425],[103.089426,33.147278],[103.089447,33.147234],[103.089483,33.147159],[103.089233,33.147077],[103.088753,33.147005],[103.0884,33.146937],[103.08805,33.146885],[103.087456,33.145725],[103.087435,33.145684],[103.08696,33.144758],[103.086859,33.144561],[103.086857,33.144555],[103.08612,33.143117],[103.085918,33.142236],[103.08591,33.142201],[103.085881,33.142075],[103.085825,33.14194],[103.085691,33.14185],[103.085621,33.141764],[103.085523,33.141687],[103.085437,33.141634],[103.085415,33.141544],[103.085452,33.141455],[103.085472,33.141386],[103.085475,33.141297],[103.085465,33.141064],[103.085444,33.140803],[103.085421,33.140686],[103.085389,33.140536],[103.085354,33.14045],[103.085315,33.140379],[103.085224,33.140233],[103.085129,33.140151],[103.085072,33.140113],[103.084857,33.139622],[103.084226,33.138185],[103.084166,33.138143],[103.084086,33.138087],[103.084016,33.137963],[103.083958,33.137849],[103.083871,33.137692],[103.083836,33.137593],[103.083754,33.137388],[103.083655,33.137189],[103.083504,33.136861],[103.083405,33.136675],[103.083375,33.136533],[103.083459,33.136435],[103.082831,33.136079],[103.082068,33.135976],[103.082047,33.135973],[103.081307,33.135615],[103.080146,33.135692],[103.078205,33.135473],[103.075937,33.13484],[103.075345,33.134516],[103.074911,33.133848],[103.074899,33.133736],[103.07474,33.13361],[103.07465,33.13355],[103.074526,33.133497],[103.074453,33.133441],[103.074413,33.133348],[103.074404,33.133266],[103.074424,33.133219],[103.074522,33.1332],[103.074696,33.133199],[103.074849,33.133249],[103.074212,33.131571],[103.074197,33.131547],[103.074196,33.131545],[103.074176,33.131514],[103.073944,33.131144],[103.073888,33.131056],[103.073453,33.130363],[103.072174,33.12899],[103.070755,33.128874],[103.069706,33.128952],[103.067463,33.128854],[103.066639,33.128904],[103.065744,33.128796],[103.065495,33.128226],[103.064328,33.125155],[103.063434,33.124983],[103.062842,33.125031],[103.061785,33.125115],[103.06006,33.125308],[103.058862,33.125353],[103.057211,33.125579],[103.05683,33.12561],[103.0556,33.125711],[103.055351,33.125736],[103.055303,33.125741],[103.054513,33.12582],[103.053574,33.125963],[103.052377,33.125975],[103.051291,33.126053],[103.05046,33.126324],[103.049821,33.126533],[103.049737,33.126538],[103.049724,33.126539],[103.049416,33.126555],[103.048939,33.126581],[103.048922,33.126582],[103.048322,33.126667],[103.047872,33.126786],[103.047852,33.126782],[103.047826,33.12679],[103.047767,33.126806],[103.04773,33.126817],[103.047009,33.126836],[103.04653,33.126727],[103.046265,33.126666],[103.045671,33.126437],[103.045236,33.126522],[103.045221,33.126524],[103.045201,33.126527],[103.044869,33.12657],[103.044706,33.126591],[103.044652,33.126598],[103.044608,33.126639],[103.044581,33.126657],[103.044542,33.126679],[103.044487,33.126698],[103.04443,33.126712],[103.044374,33.12671],[103.044317,33.1267],[103.044264,33.126685],[103.044241,33.126667],[103.044232,33.126656],[103.044217,33.126658],[103.044159,33.126667],[103.043607,33.126751],[103.043569,33.126765],[103.043303,33.126866],[103.04289,33.127023],[103.042328,33.127077],[103.041773,33.126816],[103.041752,33.126598],[103.041742,33.126501],[103.041739,33.126492],[103.041659,33.126276],[103.041531,33.125931],[103.041236,33.125722],[103.041149,33.12566],[103.041119,33.125639],[103.041078,33.12561],[103.041059,33.125596],[103.040983,33.125552],[103.040956,33.125543],[103.040928,33.125534],[103.040899,33.125528],[103.040882,33.125522],[103.040853,33.125498],[103.040783,33.125486],[103.040679,33.125468],[103.040426,33.125425],[103.040122,33.125374],[103.039545,33.125507],[103.039482,33.125521],[103.038988,33.125489],[103.038847,33.12548],[103.038802,33.125427],[103.038596,33.125186],[103.038519,33.125097],[103.038684,33.124856],[103.038661,33.124809],[103.038656,33.124758],[103.03867,33.124712],[103.038692,33.124676],[103.0387,33.12462],[103.038688,33.124588],[103.038675,33.124583],[103.038605,33.124583],[103.038555,33.124586],[103.038513,33.124587],[103.038448,33.124571],[103.038425,33.124551],[103.038413,33.124513],[103.038411,33.124474],[103.038436,33.124434],[103.038481,33.124411],[103.038501,33.124398],[103.038518,33.124381],[103.038546,33.124362],[103.038555,33.124333],[103.038553,33.12431],[103.038539,33.124276],[103.038517,33.124245],[103.038484,33.124223],[103.038464,33.124202],[103.038444,33.124185],[103.038415,33.124173],[103.038373,33.124166],[103.038333,33.124163],[103.038306,33.124154],[103.038271,33.124135],[103.03798,33.124113],[103.037817,33.124189],[103.037527,33.124326],[103.037105,33.12476],[103.036544,33.124782],[103.036034,33.124659],[103.035986,33.124648],[103.035736,33.124615],[103.035688,33.124632],[103.0356,33.124646],[103.035524,33.124635],[103.035495,33.124618],[103.035469,33.124601],[103.03545,33.124578],[103.035457,33.124556],[103.035468,33.124537],[103.035488,33.124515],[103.035506,33.124507],[103.035521,33.124498],[103.035554,33.12448],[103.035569,33.124475],[103.035582,33.12446],[103.035585,33.124433],[103.035556,33.124417],[103.035528,33.124416],[103.03549,33.124428],[103.035468,33.124439],[103.035452,33.124452],[103.035435,33.12447],[103.035418,33.124485],[103.035388,33.124499],[103.035358,33.124509],[103.035282,33.124514],[103.035254,33.124513],[103.035224,33.124505],[103.035197,33.124492],[103.035184,33.124484],[103.035171,33.124467],[103.035161,33.124444],[103.035152,33.12442],[103.03514,33.124393],[103.035128,33.124365],[103.035114,33.124342],[103.035103,33.124328],[103.035083,33.124318],[103.03506,33.124312],[103.035036,33.124313],[103.035002,33.124321],[103.034987,33.12433],[103.034979,33.124341],[103.034983,33.124362],[103.035004,33.124382],[103.035036,33.124404],[103.035065,33.124432],[103.035076,33.124449],[103.03508,33.124475],[103.03507,33.124501],[103.035058,33.124523],[103.035045,33.124538],[103.035031,33.124554],[103.035013,33.124569],[103.034989,33.124583],[103.034955,33.1246],[103.034905,33.124603],[103.034875,33.124596],[103.034847,33.124581],[103.034813,33.124572],[103.034789,33.124577],[103.034762,33.124594],[103.034729,33.124615],[103.034692,33.124636],[103.034661,33.124638],[103.034631,33.124633],[103.034593,33.124613],[103.034536,33.124568],[103.034525,33.124553],[103.034517,33.124532],[103.034243,33.12457],[103.034095,33.12459],[103.033704,33.124643],[103.032961,33.124553],[103.032809,33.124535],[103.032726,33.124516],[103.032677,33.124505],[103.032065,33.124366],[103.031688,33.124485],[103.031265,33.125014],[103.031158,33.125069],[103.031089,33.125104],[103.030848,33.125228],[103.030514,33.125128],[103.030371,33.124811],[103.030344,33.124711],[103.030332,33.124666],[103.030311,33.124589],[103.030276,33.12446],[103.030261,33.124464],[103.030236,33.124452],[103.0302,33.124441],[103.030176,33.124426],[103.030169,33.124422],[103.03015,33.124395],[103.03015,33.12438],[103.030172,33.124341],[103.030184,33.124324],[103.030231,33.124303],[103.029903,33.124017],[103.029492,33.123979],[103.029399,33.123982],[103.028931,33.124001],[103.028743,33.123974],[103.028697,33.123947],[103.028675,33.123929],[103.028654,33.123896],[103.028641,33.123869],[103.028609,33.123843],[103.028573,33.123817],[103.028525,33.123794],[103.028481,33.123776],[103.028413,33.123757],[103.028341,33.123746],[103.02828,33.123744],[103.028191,33.123643],[103.028197,33.12361],[103.028215,33.123508],[103.028224,33.123457],[103.028233,33.123408],[103.02826,33.123263],[103.028262,33.123248],[103.028276,33.123172],[103.028294,33.122386],[103.028227,33.12225],[103.028195,33.122184],[103.028165,33.122123],[103.028157,33.122108],[103.027936,33.121656],[103.027291,33.121322],[103.027122,33.121234],[103.026047,33.121012],[103.025968,33.120996],[103.025233,33.121048],[103.025069,33.12106],[103.025068,33.12108],[103.02507,33.121097],[103.025074,33.121114],[103.025077,33.121132],[103.02508,33.121149],[103.025083,33.121166],[103.025074,33.121189],[103.025058,33.121226],[103.025046,33.121243],[103.025021,33.121267],[103.024998,33.121276],[103.024953,33.12128],[103.024913,33.12128],[103.024857,33.121269],[103.024828,33.121258],[103.024813,33.121242],[103.02481,33.12122],[103.02481,33.1212],[103.024818,33.121179],[103.024827,33.121157],[103.024832,33.121139],[103.024838,33.12112],[103.024842,33.1211],[103.024841,33.12108],[103.02483,33.121043],[103.024784,33.121002],[103.024752,33.120978],[103.024707,33.120954],[103.024668,33.120965],[103.024667,33.120986],[103.024673,33.121016],[103.024691,33.121055],[103.024694,33.121069],[103.024706,33.121106],[103.024712,33.121132],[103.024707,33.12115],[103.024697,33.121179],[103.02469,33.121208],[103.024676,33.121243],[103.024667,33.12127],[103.024656,33.121303],[103.024641,33.121332],[103.024615,33.121359],[103.024584,33.121375],[103.024533,33.121385],[103.024487,33.121386],[103.024447,33.12138],[103.024417,33.121366],[103.024412,33.121345],[103.024411,33.121327],[103.024428,33.121298],[103.024436,33.121282],[103.024437,33.121252],[103.024436,33.121242],[103.024421,33.121228],[103.024391,33.121216],[103.024347,33.121204],[103.024323,33.121202],[103.024305,33.121197],[103.024267,33.121187],[103.024118,33.121215],[103.024107,33.121217],[103.023859,33.121263],[103.023802,33.121254],[103.023699,33.121247],[103.023618,33.121256],[103.023599,33.121261],[103.023582,33.121267],[103.023567,33.121273],[103.023429,33.12127],[103.023128,33.121265],[103.023045,33.121264],[103.022891,33.121212],[103.022852,33.121206],[103.022819,33.121194],[103.022797,33.121165],[103.022764,33.121121],[103.022731,33.121077],[103.022719,33.12106],[103.022688,33.121041],[103.022644,33.121014],[103.022528,33.120941],[103.022415,33.120837],[103.021938,33.120401],[103.021818,33.120291],[103.021759,33.120236],[103.021751,33.120141],[103.02175,33.120128],[103.02175,33.120118],[103.021747,33.120079],[103.021732,33.120073],[103.021712,33.120054],[103.021712,33.120032],[103.021719,33.120008],[103.02174,33.119989],[103.021761,33.119946],[103.02177,33.119906],[103.021779,33.119871],[103.02179,33.119836],[103.021798,33.119809],[103.021803,33.119782],[103.0218,33.119749],[103.021771,33.119717],[103.021755,33.119696],[103.021709,33.119658],[103.021699,33.119563],[103.021668,33.119259],[103.021264,33.118818],[103.02123,33.11878],[103.021082,33.118727],[103.021023,33.118707],[103.020674,33.118582],[103.020461,33.118531],[103.020116,33.118448],[103.020047,33.118264],[103.020003,33.118145],[103.019985,33.118097],[103.020011,33.1181],[103.02004,33.118113],[103.020058,33.118124],[103.020078,33.118171],[103.020085,33.11819],[103.020092,33.118216],[103.020111,33.118242],[103.020138,33.11826],[103.020172,33.118265],[103.020212,33.118261],[103.020241,33.118255],[103.020264,33.11825],[103.020284,33.118238],[103.020321,33.118223],[103.020332,33.118208],[103.020298,33.118188],[103.02026,33.118182],[103.020238,33.118171],[103.020222,33.118142],[103.020226,33.118118],[103.020234,33.11808],[103.020221,33.118044],[103.020206,33.118021],[103.02019,33.117999],[103.020157,33.117976],[103.020128,33.117959],[103.020088,33.11795],[103.020043,33.117953],[103.020016,33.117962],[103.019996,33.11798],[103.019978,33.118007],[103.019958,33.118024],[103.019928,33.117944],[103.019911,33.117897],[103.01985,33.117903],[103.019803,33.117915],[103.019749,33.117945],[103.01971,33.117963],[103.019679,33.11796],[103.019655,33.117933],[103.019632,33.117883],[103.019632,33.117834],[103.019643,33.117793],[103.019664,33.117741],[103.019517,33.117658],[103.019522,33.117614],[103.019526,33.117542],[103.019513,33.1175],[103.019487,33.117487],[103.01941,33.117467],[103.01934,33.117468],[103.019271,33.117467],[103.019227,33.117455],[103.019171,33.117423],[103.019136,33.117383],[103.01909,33.117324],[103.019063,33.117257],[103.019029,33.117227],[103.018993,33.117217],[103.018922,33.117232],[103.01886,33.117251],[103.018781,33.117259],[103.018717,33.117248],[103.018644,33.117219],[103.018576,33.117134],[103.01848,33.11713],[103.018373,33.117162],[103.018339,33.117171],[103.018131,33.117111],[103.018113,33.117106],[103.018059,33.11709],[103.01791,33.117046],[103.017896,33.117014],[103.01788,33.116993],[103.01784,33.116968],[103.017807,33.116952],[103.017775,33.11694],[103.017729,33.116943],[103.017705,33.116953],[103.017663,33.116975],[103.017383,33.116893],[103.017298,33.116833],[103.017276,33.116817],[103.017179,33.116749],[103.017154,33.116731],[103.016794,33.116475],[103.01674,33.116186],[103.016736,33.116165],[103.016692,33.115932],[103.016688,33.11591],[103.016644,33.115674],[103.016642,33.11566],[103.016641,33.115655],[103.016629,33.115595],[103.016629,33.115591],[103.016625,33.115571],[103.016597,33.115423],[103.016594,33.115406],[103.016593,33.115402],[103.016582,33.115332],[103.016578,33.115309],[103.016576,33.115299],[103.016481,33.114728],[103.016462,33.114613],[103.016252,33.114387],[103.016091,33.114214],[103.016025,33.114142],[103.015987,33.114101],[103.015956,33.114065],[103.015607,33.113647],[103.015586,33.113623],[103.015586,33.113623],[103.015495,33.113537],[103.015147,33.113207],[103.015233,33.112705],[103.015171,33.112604],[103.015159,33.112584],[103.015072,33.112441],[103.015029,33.112371],[103.014983,33.11238],[103.014915,33.112368],[103.014885,33.112356],[103.01487,33.112339],[103.014869,33.112315],[103.014883,33.112291],[103.014899,33.112282],[103.0149,33.112265],[103.014891,33.112254],[103.014869,33.112235],[103.01483,33.112213],[103.014803,33.11219],[103.014799,33.112181],[103.01476,33.112128],[103.014753,33.112105],[103.01474,33.112083],[103.01473,33.112067],[103.014699,33.112052],[103.01468,33.112056],[103.014639,33.112084],[103.014631,33.112079],[103.014595,33.112058],[103.014501,33.112],[103.014627,33.111373],[103.01461,33.111045],[103.014606,33.110971],[103.014608,33.11097],[103.014623,33.11095],[103.014622,33.11093],[103.014616,33.110908],[103.014608,33.110882],[103.014606,33.110852],[103.014613,33.110827],[103.014622,33.110794],[103.014632,33.110773],[103.014637,33.110752],[103.01463,33.110731],[103.014617,33.110722],[103.014577,33.110714],[103.01456,33.110604],[103.01452,33.110348],[103.014503,33.110238],[103.014171,33.110012],[103.014019,33.11001],[103.013621,33.110004],[103.013499,33.110002],[103.013321,33.110092],[103.013263,33.110121],[103.013213,33.110147],[103.013163,33.110173],[103.013119,33.110184],[103.013076,33.11019],[103.013046,33.110188],[103.013011,33.110179],[103.012976,33.110158],[103.01294,33.110128],[103.012879,33.11008],[103.012834,33.110054],[103.012754,33.110042],[103.012711,33.110064],[103.012681,33.110114],[103.012664,33.110181],[103.012655,33.110247],[103.012651,33.110309],[103.012647,33.110383],[103.012645,33.110402],[103.012635,33.110433],[103.012624,33.110462],[103.012608,33.11049],[103.012582,33.110521],[103.012549,33.110541],[103.012514,33.110544],[103.012476,33.110539],[103.01246,33.110524],[103.012438,33.110483],[103.012417,33.110456],[103.012399,33.110411],[103.012387,33.110395],[103.012354,33.110384],[103.01233,33.110377],[103.012315,33.110363],[103.012294,33.110346],[103.012279,33.110326],[103.012249,33.110307],[103.012215,33.110292],[103.012179,33.110306],[103.01215,33.110323],[103.012119,33.110336],[103.012073,33.110335],[103.012034,33.110329],[103.011996,33.11031],[103.011949,33.110279],[103.011908,33.110262],[103.011884,33.11025],[103.011867,33.110243],[103.011854,33.110239],[103.011802,33.110238],[103.01176,33.110249],[103.011723,33.110264],[103.011663,33.110288],[103.011618,33.110295],[103.011574,33.110294],[103.011539,33.110286],[103.011517,33.110275],[103.011494,33.110262],[103.011477,33.110236],[103.011465,33.110202],[103.011465,33.110176],[103.011452,33.110135],[103.011431,33.110094],[103.011419,33.110059],[103.01139,33.11003],[103.011342,33.110021],[103.01121,33.110019],[103.011161,33.110039],[103.011166,33.110087],[103.011191,33.110137],[103.011244,33.110198],[103.011289,33.110261],[103.011326,33.110322],[103.011351,33.110362],[103.011399,33.110405],[103.011426,33.110441],[103.011445,33.110502],[103.01145,33.110589],[103.01145,33.110631],[103.011445,33.110668],[103.011415,33.110684],[103.011367,33.110686],[103.01129,33.110681],[103.011261,33.110682],[103.011244,33.110724],[103.011261,33.110768],[103.011283,33.110811],[103.011289,33.110846],[103.011294,33.110872],[103.011296,33.110948],[103.011297,33.110965],[103.011292,33.111046],[103.011289,33.111109],[103.011258,33.111167],[103.01121,33.111226],[103.011155,33.111273],[103.011101,33.111305],[103.011032,33.111365],[103.010967,33.111397],[103.010876,33.111395],[103.010801,33.111368],[103.010739,33.111335],[103.010665,33.111322],[103.010554,33.111331],[103.010445,33.111369],[103.010366,33.111375],[103.010265,33.11135],[103.010156,33.111314],[103.010083,33.111311],[103.01,33.111311],[103.009935,33.111325],[103.009893,33.111342],[103.00973,33.111263],[103.009723,33.111256],[103.009682,33.11121],[103.009659,33.111186],[103.009292,33.110784],[103.009288,33.110682],[103.009268,33.110186],[103.00936,33.109883],[103.009375,33.109836],[103.00943,33.109653],[103.009376,33.109607],[103.00918,33.109435],[103.009122,33.109384],[103.0091,33.109365],[103.008943,33.109273],[103.008904,33.10925],[103.008768,33.109171],[103.008569,33.109158],[103.00854,33.109156],[103.008298,33.10914],[103.008133,33.109129],[103.008104,33.109123],[103.008035,33.109108],[103.008034,33.10913],[103.008024,33.109151],[103.008006,33.109164],[103.007972,33.109163],[103.007941,33.109158],[103.007899,33.109136],[103.007875,33.109118],[103.007843,33.109091],[103.007805,33.109058],[103.007767,33.109031],[103.00774,33.109025],[103.007681,33.109035],[103.00765,33.109055],[103.007631,33.109081],[103.00762,33.109107],[103.0076,33.109133],[103.007569,33.109152],[103.007532,33.109172],[103.007481,33.109181],[103.007427,33.10919],[103.007389,33.109207],[103.007364,33.109229],[103.007331,33.109251],[103.007288,33.109267],[103.007251,33.109271],[103.00719,33.109263],[103.007127,33.109235],[103.007074,33.109199],[103.007032,33.109168],[103.00699,33.109143],[103.006951,33.109125],[103.006899,33.109105],[103.006872,33.109076],[103.006866,33.10903],[103.006869,33.108988],[103.006867,33.108965],[103.006861,33.108955],[103.006822,33.108886],[103.006842,33.108845],[103.006804,33.108836],[103.006768,33.10882],[103.006728,33.108793],[103.006695,33.10878],[103.006687,33.108786],[103.006632,33.108787],[103.006601,33.108786],[103.006557,33.108762],[103.006518,33.108739],[103.00641,33.108697],[103.006384,33.108684],[103.006369,33.10867],[103.006355,33.10864],[103.006348,33.108603],[103.006369,33.108576],[103.006379,33.10856],[103.00638,33.108531],[103.006357,33.108508],[103.006266,33.108524],[103.006234,33.108528],[103.00619,33.108526],[103.006168,33.108517],[103.006144,33.108498],[103.006117,33.108444],[103.006118,33.108386],[103.006129,33.108331],[103.006154,33.108294],[103.006188,33.108258],[103.006197,33.108208],[103.006175,33.108189],[103.006123,33.108138],[103.006087,33.108071],[103.006084,33.108065],[103.006044,33.107994],[103.006019,33.107956],[103.005998,33.107912],[103.005961,33.107893],[103.005915,33.107876],[103.005847,33.107851],[103.00579,33.107832],[103.005742,33.107806],[103.005706,33.107784],[103.005677,33.10776],[103.005652,33.107725],[103.005603,33.10769],[103.005559,33.107681],[103.005522,33.107672],[103.005458,33.107614],[103.005359,33.107587],[103.005246,33.107583],[103.005172,33.107558],[103.005115,33.10752],[103.005063,33.107478],[103.005021,33.107416],[103.004978,33.107358],[103.004968,33.107329],[103.004963,33.107274],[103.004992,33.107208],[103.005013,33.107163],[103.004985,33.107085],[103.004934,33.10703],[103.004904,33.106996],[103.004916,33.106908],[103.004908,33.10688],[103.004875,33.10685],[103.00483,33.106814],[103.004743,33.106819],[103.004659,33.106866],[103.004616,33.106874],[103.00455,33.106869],[103.004519,33.106844],[103.004506,33.106828],[103.004496,33.106799],[103.004482,33.106748],[103.004461,33.106699],[103.00444,33.10668],[103.004399,33.106657],[103.00437,33.106652],[103.004345,33.106648],[103.004325,33.106664],[103.004308,33.106712],[103.004233,33.106786],[103.004186,33.106848],[103.004131,33.106907],[103.004061,33.106946],[103.004004,33.106968],[103.003907,33.106978],[103.003803,33.106974],[103.003756,33.106942],[103.003722,33.106883],[103.003701,33.106825],[103.003699,33.106752],[103.003699,33.10671],[103.003729,33.106607],[103.003747,33.10657],[103.003742,33.106542],[103.003708,33.106527],[103.003558,33.10652],[103.003453,33.106491],[103.003435,33.106458],[103.003432,33.106401],[103.003438,33.106356],[103.003449,33.106364],[103.00347,33.106374],[103.003487,33.10638],[103.003516,33.106369],[103.003507,33.106343],[103.003433,33.106145],[103.003433,33.106145],[103.003428,33.106132],[103.003415,33.106097],[103.003344,33.105905],[103.003347,33.105898],[103.003386,33.105814],[103.003393,33.105798],[103.003447,33.105681],[103.003465,33.10564],[103.003495,33.105613],[103.003519,33.105584],[103.003535,33.105556],[103.003553,33.105529],[103.003584,33.105493],[103.003608,33.105478],[103.003664,33.105459],[103.003718,33.105444],[103.003751,33.105424],[103.003766,33.105404],[103.003761,33.105384],[103.003733,33.105374],[103.003688,33.105378],[103.003668,33.105385],[103.003608,33.105411],[103.003653,33.105348],[103.003661,33.105336],[103.003771,33.105182],[103.00381,33.105126],[103.003857,33.104717],[103.003675,33.104494],[103.003236,33.104542],[103.003215,33.104544],[103.003185,33.104535],[103.003157,33.104528],[103.003137,33.104528],[103.003113,33.104531],[103.003089,33.104541],[103.003063,33.104554],[103.003026,33.104565],[103.00299,33.104569],[103.002983,33.104539],[103.002962,33.104516],[103.002919,33.104494],[103.002885,33.104484],[103.002854,33.104493],[103.002842,33.104515],[103.002837,33.104544],[103.002833,33.104573],[103.002821,33.104602],[103.002788,33.104621],[103.002753,33.10463],[103.002728,33.104625],[103.002719,33.104615],[103.002712,33.104598],[103.002706,33.104574],[103.002698,33.104549],[103.002673,33.104527],[103.002658,33.104529],[103.002643,33.104541],[103.002622,33.104577],[103.002598,33.10461],[103.002573,33.104646],[103.002561,33.104674],[103.00256,33.104701],[103.002571,33.104718],[103.002523,33.104738],[103.002321,33.104818],[103.001836,33.104811],[103.00167,33.104724],[103.001466,33.104616],[103.001029,33.104074],[103.000854,33.103663],[103.000818,33.103578],[103.000745,33.103408],[103.00074,33.103394],[103.000788,33.10334],[103.000822,33.103328],[103.000853,33.103309],[103.000861,33.103282],[103.000831,33.103253],[103.000804,33.103233],[103.000763,33.103218],[103.000733,33.103183],[103.000712,33.103138],[103.000689,33.103106],[103.000655,33.103075],[103.000611,33.103062],[103.000462,33.10268],[103.000106,33.102294],[102.999784,33.101944],[102.99957,33.101757],[102.999457,33.101658],[102.999425,33.10163],[102.999525,33.101596],[102.99956,33.101582],[102.999567,33.101567],[102.99955,33.101557],[102.99948,33.101555],[102.999431,33.101555],[102.999383,33.101556],[102.999365,33.10156],[102.999332,33.101555],[102.999299,33.101548],[102.99924,33.101526],[102.999219,33.10149],[102.999211,33.101419],[102.999221,33.101345],[102.999213,33.101333],[102.999123,33.101199],[102.998839,33.100777],[102.998445,33.100478],[102.998188,33.100283],[102.998153,33.100255],[102.998117,33.100225],[102.99809,33.100244],[102.998054,33.100247],[102.997955,33.100218],[102.997911,33.100193],[102.997883,33.100164],[102.997876,33.100149],[102.997882,33.10011],[102.997913,33.10008],[102.997922,33.100064],[102.997929,33.100036],[102.997924,33.099988],[102.997886,33.099945],[102.997858,33.099933],[102.9978,33.099964],[102.997651,33.100049],[102.997607,33.100056],[102.99756,33.100042],[102.997532,33.100005],[102.997508,33.09996],[102.997499,33.099931],[102.99749,33.099873],[102.997485,33.099807],[102.997473,33.099767],[102.997437,33.099751],[102.997403,33.09975],[102.997366,33.099756],[102.997319,33.099782],[102.997281,33.099804],[102.997239,33.099837],[102.997206,33.099869],[102.997185,33.099874],[102.997156,33.099868],[102.997119,33.099837],[102.99711,33.09981],[102.997161,33.099794],[102.997232,33.099787],[102.997318,33.09976],[102.997361,33.099735],[102.997363,33.099695],[102.997341,33.099643],[102.997295,33.099615],[102.99725,33.099618],[102.997193,33.099649],[102.997132,33.099661],[102.997096,33.09965],[102.997057,33.099629],[102.997023,33.099625],[102.996991,33.099665],[102.996949,33.099732],[102.996915,33.099769],[102.99689,33.099779],[102.996854,33.099772],[102.996832,33.099749],[102.99685,33.09973],[102.996888,33.099719],[102.996923,33.099675],[102.996922,33.099634],[102.996924,33.099588],[102.996954,33.099554],[102.997027,33.099529],[102.997065,33.09949],[102.997073,33.099441],[102.9971,33.099379],[102.997122,33.099373],[102.997156,33.09938],[102.997202,33.099375],[102.997229,33.099362],[102.99724,33.099318],[102.997236,33.099284],[102.997226,33.099245],[102.997202,33.099217],[102.997137,33.099183],[102.997092,33.099162],[102.997039,33.099118],[102.997021,33.099073],[102.997038,33.099053],[102.997072,33.099044],[102.997095,33.099069],[102.99712,33.099096],[102.997172,33.099122],[102.997245,33.09913],[102.997359,33.099106],[102.997408,33.099089],[102.997437,33.099062],[102.997433,33.099035],[102.997385,33.099005],[102.997298,33.098966],[102.997243,33.098937],[102.997173,33.098898],[102.997095,33.098853],[102.997049,33.098811],[102.997051,33.098769],[102.99708,33.098754],[102.997123,33.098759],[102.997176,33.098787],[102.997206,33.098814],[102.997283,33.098875],[102.997271,33.098733],[102.997261,33.098615],[102.997256,33.098559],[102.997257,33.09855],[102.997277,33.09835],[102.997229,33.098339],[102.997209,33.098322],[102.997205,33.098296],[102.997227,33.098283],[102.997253,33.09827],[102.997264,33.098252],[102.997264,33.098226],[102.997242,33.098183],[102.997192,33.098145],[102.997135,33.098114],[102.997106,33.098094],[102.997103,33.098058],[102.997117,33.098035],[102.997137,33.098023],[102.997188,33.098032],[102.997233,33.09805],[102.997269,33.098059],[102.997308,33.098053],[102.99735,33.098004],[102.997368,33.097952],[102.997366,33.097918],[102.997343,33.097873],[102.99729,33.097841],[102.997232,33.097846],[102.997102,33.097591],[102.996909,33.097464],[102.996895,33.097455],[102.996911,33.097401],[102.996921,33.097354],[102.996913,33.097317],[102.996882,33.097285],[102.996838,33.097266],[102.996755,33.097256],[102.996695,33.097258],[102.996696,33.097265],[102.996695,33.097323],[102.99658,33.097248],[102.996102,33.09715],[102.996049,33.097139],[102.996039,33.097137],[102.995836,33.097096],[102.995789,33.097086],[102.995616,33.097212],[102.995513,33.097287],[102.995491,33.097303],[102.99534,33.097414],[102.995163,33.097344],[102.994552,33.097104],[102.993953,33.096277],[102.993551,33.09594],[102.993528,33.095921],[102.993453,33.095858],[102.993371,33.09579],[102.993266,33.095702],[102.993257,33.095624],[102.993248,33.09558],[102.993223,33.095552],[102.993191,33.09555],[102.993073,33.09554],[102.993059,33.095529],[102.993024,33.095499],[102.992987,33.095468],[102.992963,33.095448],[102.992957,33.095443],[102.992898,33.095336],[102.992893,33.095326],[102.992882,33.095307],[102.992791,33.09514],[102.992778,33.095116],[102.992724,33.095018],[102.992714,33.094999],[102.992657,33.094894],[102.992645,33.094872],[102.992569,33.094733],[102.992556,33.094709],[102.992435,33.094488],[102.992323,33.094442],[102.99226,33.094404],[102.992217,33.094338],[102.992208,33.094264],[102.992198,33.094183],[102.992209,33.094111],[102.992241,33.094058],[102.992219,33.093995],[102.992155,33.093915],[102.992094,33.093871],[102.992026,33.093815],[102.991958,33.093747],[102.991904,33.093685],[102.991864,33.093598],[102.991842,33.093494],[102.99183,33.093432],[102.991776,33.093355],[102.991725,33.093344],[102.991724,33.093342],[102.991706,33.093312],[102.99143,33.092838],[102.991287,33.092873],[102.991264,33.092873],[102.99125,33.092842],[102.991244,33.092806],[102.991255,33.092758],[102.99128,33.092725],[102.991339,33.092682],[102.99138,33.09259],[102.99138,33.092545],[102.991334,33.092519],[102.991257,33.092503],[102.991231,33.092496],[102.991003,33.092105],[102.990985,33.092048],[102.990756,33.091283],[102.990656,33.091231],[102.989491,33.090631],[102.989364,33.090465],[102.989269,33.090339],[102.989172,33.090273],[102.98911,33.090215],[102.989064,33.090145],[102.989034,33.090084],[102.988983,33.090017],[102.988927,33.089973],[102.98889,33.089939],[102.988826,33.089876],[102.988806,33.089824],[102.988813,33.08978],[102.988867,33.089752],[102.988919,33.08973],[102.988982,33.089715],[102.989027,33.089721],[102.989084,33.08971],[102.989111,33.089673],[102.989134,33.089602],[102.989139,33.089546],[102.989128,33.089493],[102.989081,33.089449],[102.988989,33.08941],[102.988992,33.089262],[102.988999,33.088951],[102.988965,33.088505],[102.988824,33.08843],[102.98871,33.08837],[102.988353,33.088182],[102.987875,33.08793],[102.987238,33.087739],[102.987181,33.087722],[102.987126,33.087706],[102.986654,33.087565],[102.98656,33.087537],[102.986387,33.087446],[102.986421,33.087408],[102.986403,33.08737],[102.986372,33.087311],[102.986326,33.087276],[102.986235,33.087244],[102.986151,33.087228],[102.986062,33.087192],[102.986004,33.08717],[102.985954,33.087109],[102.985844,33.087097],[102.985791,33.087132],[102.985688,33.087077],[102.985606,33.086943],[102.985363,33.086542],[102.985132,33.086162],[102.985049,33.086026],[102.984499,33.085014],[102.984031,33.084226],[102.983512,33.083772],[102.982649,33.082903],[102.982003,33.082224],[102.981612,33.081958],[102.980294,33.081676],[102.979567,33.080661],[102.978966,33.079908],[102.978661,33.079571],[102.978148,33.079003],[102.97755,33.078663],[102.977408,33.078583],[102.976311,33.078305],[102.975882,33.07774],[102.975916,33.077252],[102.975936,33.077246],[102.975987,33.077236],[102.976021,33.077226],[102.976067,33.077204],[102.976115,33.077176],[102.976137,33.077151],[102.976148,33.077127],[102.97615,33.077096],[102.976141,33.077065],[102.976134,33.077043],[102.976124,33.076997],[102.97611,33.076969],[102.976124,33.076942],[102.976152,33.076913],[102.976188,33.07689],[102.976207,33.076849],[102.976206,33.07682],[102.976197,33.076794],[102.976173,33.076777],[102.976139,33.076753],[102.976075,33.076731],[102.976044,33.076726],[102.976014,33.076721],[102.975994,33.076703],[102.975964,33.076668],[102.975931,33.076617],[102.9759,33.076565],[102.97587,33.076434],[102.975784,33.07606],[102.975708,33.075731],[102.975456,33.075352],[102.975403,33.075271],[102.97541,33.075255],[102.975412,33.075243],[102.975411,33.075229],[102.975409,33.075212],[102.975408,33.075202],[102.975405,33.07518],[102.975405,33.075162],[102.975409,33.075149],[102.975418,33.075143],[102.975437,33.075143],[102.975438,33.075152],[102.975432,33.075175],[102.975431,33.075194],[102.975454,33.075205],[102.975475,33.0752],[102.975497,33.075178],[102.975504,33.075149],[102.975505,33.075119],[102.975493,33.075107],[102.975479,33.075096],[102.975472,33.075075],[102.975457,33.075066],[102.975424,33.075074],[102.975412,33.075079],[102.975399,33.075081],[102.975356,33.075084],[102.975329,33.075072],[102.97529,33.075067],[102.975269,33.075069],[102.975253,33.075068],[102.975243,33.075066],[102.975234,33.07506],[102.975231,33.075048],[102.975233,33.07504],[102.975247,33.075035],[102.975268,33.075031],[102.975285,33.075026],[102.975308,33.075013],[102.975311,33.074994],[102.975302,33.074971],[102.975287,33.07496],[102.975258,33.074939],[102.97523,33.074922],[102.975209,33.074905],[102.975185,33.074894],[102.975161,33.074879],[102.975139,33.074872],[102.975127,33.074869],[102.975118,33.074861],[102.975114,33.07485],[102.975117,33.074839],[102.975132,33.074814],[102.975138,33.074808],[102.975148,33.074797],[102.975167,33.074772],[102.975155,33.07475],[102.975135,33.07474],[102.975128,33.074737],[102.97511,33.074721],[102.975101,33.074697],[102.975082,33.074672],[102.975047,33.074666],[102.97504,33.074675],[102.975037,33.074695],[102.975035,33.074711],[102.975017,33.074722],[102.974994,33.074725],[102.97498,33.074728],[102.974965,33.074727],[102.974953,33.074723],[102.974947,33.074717],[102.974947,33.074706],[102.974957,33.074692],[102.974975,33.074673],[102.974976,33.074656],[102.974963,33.074639],[102.974944,33.074623],[102.974935,33.074608],[102.974927,33.074586],[102.974915,33.074575],[102.974891,33.07456],[102.974873,33.074544],[102.974866,33.074527],[102.97486,33.074507],[102.974852,33.074486],[102.974832,33.074474],[102.974815,33.074466],[102.974774,33.074456],[102.974754,33.07446],[102.974729,33.074471],[102.974726,33.074486],[102.974725,33.0745],[102.974725,33.074528],[102.974716,33.074547],[102.974696,33.074559],[102.97468,33.074559],[102.974665,33.074558],[102.974631,33.074543],[102.974619,33.074523],[102.974618,33.0745],[102.97463,33.074478],[102.974632,33.074449],[102.974623,33.074427],[102.974592,33.074408],[102.974557,33.074417],[102.97453,33.074424],[102.974517,33.074424],[102.974503,33.074424],[102.974482,33.074409],[102.974482,33.074397],[102.9745,33.074373],[102.97453,33.074342],[102.974551,33.074329],[102.974546,33.074304],[102.974528,33.07428],[102.974485,33.07427],[102.974457,33.074265],[102.974391,33.074242],[102.974345,33.074214],[102.974299,33.074177],[102.974257,33.074135],[102.974217,33.074074],[102.974187,33.074036],[102.974151,33.074007],[102.974102,33.073961],[102.974025,33.073888],[102.973998,33.073857],[102.973967,33.07383],[102.97394,33.073796],[102.973904,33.07375],[102.973854,33.073756],[102.973849,33.07375],[102.973819,33.073704],[102.973776,33.073635],[102.97366,33.073485],[102.973636,33.073459],[102.973606,33.073428],[102.973583,33.073397],[102.973559,33.073361],[102.973529,33.073341],[102.973482,33.073314],[102.973466,33.073296],[102.973454,33.073252],[102.973442,33.07323],[102.973423,33.073214],[102.973391,33.07319],[102.97335,33.073177],[102.973322,33.073165],[102.973292,33.073146],[102.973282,33.073118],[102.973277,33.073082],[102.973267,33.073062],[102.973223,33.073032],[102.973176,33.073006],[102.973106,33.072967],[102.973059,33.072937],[102.973066,33.072893],[102.973046,33.072884],[102.972995,33.072855],[102.972978,33.072833],[102.972938,33.072801],[102.97291,33.072771],[102.972888,33.072742],[102.97286,33.072701],[102.972833,33.072668],[102.972803,33.072619],[102.972797,33.072602],[102.972789,33.072577],[102.972789,33.072563],[102.972809,33.072543],[102.972834,33.072516],[102.972837,33.072503],[102.972835,33.072484],[102.972831,33.072473],[102.972827,33.072459],[102.972803,33.072437],[102.972775,33.072413],[102.972746,33.07238],[102.972723,33.072365],[102.972705,33.072352],[102.972691,33.072337],[102.972677,33.072314],[102.972665,33.072291],[102.972648,33.072262],[102.972621,33.072223],[102.972614,33.072204],[102.972578,33.072109],[102.972195,33.071104],[102.971661,33.069933],[102.971649,33.069906],[102.971306,33.06967],[102.970433,33.069069],[102.969985,33.068838],[102.96992,33.068804],[102.969896,33.06882],[102.969864,33.068801],[102.969825,33.068783],[102.969795,33.068764],[102.969759,33.068742],[102.969749,33.068733],[102.969735,33.068709],[102.969685,33.068683],[102.969168,33.068416],[102.968553,33.067811],[102.968477,33.067736],[102.968404,33.067423],[102.968384,33.067336],[102.968363,33.067332],[102.968335,33.067312],[102.968322,33.0673],[102.968318,33.067277],[102.968324,33.06725],[102.968337,33.067232],[102.96835,33.067222],[102.968356,33.06722],[102.968398,33.067212],[102.968411,33.067212],[102.968445,33.067198],[102.968454,33.06718],[102.968447,33.067161],[102.968426,33.067137],[102.968392,33.067112],[102.968372,33.067101],[102.968356,33.067091],[102.968321,33.067071],[102.968302,33.067056],[102.96829,33.067047],[102.968278,33.067036],[102.968271,33.067024],[102.968269,33.067009],[102.96827,33.066993],[102.968281,33.066974],[102.968296,33.066961],[102.968321,33.066945],[102.96835,33.066937],[102.968403,33.066932],[102.968445,33.066929],[102.968473,33.066925],[102.968491,33.066904],[102.96849,33.066884],[102.96848,33.066872],[102.968462,33.066864],[102.968424,33.06686],[102.968404,33.066859],[102.968384,33.066858],[102.968346,33.066844],[102.96833,33.066818],[102.968323,33.066807],[102.968312,33.066798],[102.968298,33.066793],[102.968278,33.06679],[102.96828,33.06672],[102.968286,33.066451],[102.968292,33.06621],[102.968175,33.065539],[102.967934,33.065222],[102.967489,33.064636],[102.967228,33.064239],[102.96728,33.064215],[102.967297,33.064203],[102.9673,33.064167],[102.967288,33.064113],[102.967249,33.064082],[102.967212,33.06407],[102.967168,33.06407],[102.967116,33.06407],[102.966722,33.063472],[102.966028,33.06294],[102.965237,33.062816],[102.96426,33.06306],[102.96396,33.063143],[102.963865,33.06317],[102.962617,33.063516],[102.960792,33.064192],[102.959416,33.064541],[102.958356,33.064598],[102.957133,33.064058],[102.956519,33.063899],[102.955595,33.063773],[102.954944,33.063279],[102.954309,33.062117],[102.953721,33.060844],[102.953557,33.060173],[102.953439,33.059687],[102.953426,33.05914],[102.953401,33.058019],[102.953395,33.057754],[102.953401,33.057727],[102.953429,33.057599],[102.953438,33.057575],[102.953482,33.057455],[102.953515,33.057373],[102.953518,33.057226],[102.953527,33.057188],[102.953547,33.057108],[102.953601,33.057025],[102.953668,33.056932],[102.953696,33.056813],[102.953635,33.056631],[102.953616,33.056485],[102.953632,33.056324],[102.95363,33.056188],[102.95362,33.056019],[102.953639,33.05583],[102.953701,33.055665],[102.953789,33.055517],[102.953817,33.055363],[102.953828,33.055234],[102.953928,33.055083],[102.954007,33.054911],[102.954077,33.054667],[102.954105,33.054534],[102.954164,33.054391],[102.95424,33.053644],[102.954345,33.05294],[102.954577,33.052464],[102.954598,33.052421],[102.955224,33.051136],[102.954887,33.050447],[102.953077,33.049407],[102.952143,33.048753],[102.952035,33.048677],[102.951621,33.048179],[102.951643,33.048115],[102.951633,33.048022],[102.951564,33.047883],[102.951473,33.047748],[102.951336,33.04762],[102.951177,33.047521],[102.95104,33.047444],[102.950835,33.047306],[102.950715,33.047228],[102.950573,33.047075],[102.950535,33.047031],[102.950431,33.046911],[102.950379,33.046815],[102.950358,33.046662],[102.950089,33.046339],[102.947847,33.043646],[102.947433,33.043283],[102.947401,33.043255],[102.94723,33.043106],[102.947222,33.043098],[102.946879,33.042798],[102.946802,33.042783],[102.945685,33.04257],[102.944946,33.042499],[102.944704,33.042287],[102.944747,33.041931],[102.945112,33.041432],[102.945123,33.040957],[102.94475,33.040297],[102.943924,33.039421],[102.943658,33.038704],[102.943602,33.038079],[102.944185,33.037286],[102.944209,33.037241],[102.944406,33.036874],[102.944424,33.036102],[102.944123,33.035384],[102.944095,33.034921],[102.944072,33.034551],[102.943913,33.033805],[102.94418,33.032918],[102.944664,33.031827],[102.945058,33.030051],[102.945043,33.029189],[102.944982,33.028989],[102.944814,33.028442],[102.944594,33.027943],[102.944445,33.027604],[102.945072,33.026791],[102.945281,33.026518],[102.945435,33.026194],[102.945727,33.025575],[102.945566,33.024919],[102.945046,33.024524],[102.944453,33.024217],[102.943649,33.023907],[102.942559,33.02377],[102.942032,33.02392],[102.94128,33.024135],[102.941164,33.024176],[102.940879,33.024276],[102.940872,33.024278],[102.940623,33.024366],[102.940391,33.024447],[102.940279,33.024408],[102.940119,33.024354],[102.939937,33.024291],[102.939399,33.023421],[102.939121,33.02297],[102.938479,33.021746],[102.938445,33.021681],[102.938288,33.020847],[102.938525,33.019781],[102.938376,33.018899],[102.93852,33.018718],[102.938521,33.018625],[102.938446,33.018669],[102.93837,33.018701],[102.938345,33.018712],[102.938343,33.018702],[102.938339,33.018678],[102.938286,33.018599],[102.938279,33.018589],[102.938274,33.018581],[102.938174,33.01843],[102.938168,33.01842],[102.93782,33.017896],[102.937521,33.017447],[102.937508,33.017424],[102.93746,33.017342],[102.937046,33.016636],[102.936235,33.015859],[102.936191,33.015817],[102.936065,33.015696],[102.935942,33.015578],[102.935778,33.015212],[102.935742,33.01513],[102.935734,33.015114],[102.935717,33.015074],[102.93571,33.01506],[102.935674,33.01498],[102.935204,33.014003],[102.935164,33.013919],[102.935134,33.013858],[102.935069,33.013722],[102.935054,33.013682],[102.935033,33.013621],[102.934704,33.012705],[102.93449,33.011729],[102.934481,33.011691],[102.934762,33.010955],[102.934819,33.010806],[102.935438,33.009984],[102.935813,33.009039],[102.935908,33.008724],[102.935914,33.008704],[102.93608,33.008152],[102.936213,33.007952],[102.936249,33.007898],[102.936262,33.007878],[102.936373,33.007711],[102.937096,33.006951],[102.937805,33.006754],[102.938129,33.006492],[102.938197,33.006118],[102.938199,33.006109],[102.938205,33.006077],[102.93821,33.006048],[102.938167,33.006005],[102.93811,33.005948],[102.937969,33.005806],[102.937935,33.005764],[102.937918,33.005742],[102.93767,33.005428],[102.93766,33.005415],[102.937714,33.005202],[102.937741,33.005091],[102.93777,33.004977],[102.937786,33.004917],[102.937787,33.00491],[102.937788,33.004904],[102.937816,33.004794],[102.93823,33.004517],[102.938249,33.004505],[102.938262,33.004496],[102.938327,33.004453],[102.938342,33.004443],[102.938358,33.004432],[102.938425,33.004388],[102.938409,33.00436],[102.938383,33.004314],[102.938274,33.00412],[102.938272,33.004117],[102.938188,33.003968],[102.938229,33.003701],[102.938337,33.003766],[102.93889,33.004098],[102.939403,33.004286],[102.939403,33.004261],[102.939495,33.004134],[102.939537,33.004108],[102.93961,33.004071],[102.939731,33.004033],[102.939759,33.004002],[102.939919,33.003818],[102.939985,33.003684],[102.940114,33.003419],[102.940178,33.003287],[102.940541,33.002848],[102.940057,33.002453],[102.939572,33.002059],[102.939829,33.001618],[102.93931,33.001223],[102.939078,33.000571],[102.939069,33.000543],[102.939042,33.000467],[102.939024,33.000418],[102.939021,33.00041],[102.939019,33.000403],[102.938895,33.000053],[102.938875,32.999997],[102.938867,32.999974],[102.938853,32.999934],[102.938834,32.999835],[102.938751,32.999404],[102.938885,32.999137],[102.938898,32.999111],[102.938928,32.99905],[102.938944,32.999019],[102.938956,32.998995],[102.939043,32.998821],[102.939059,32.99879],[102.93907,32.998767],[102.9391,32.998709],[102.939105,32.998697],[102.93911,32.998689],[102.93883,32.998444],[102.938477,32.998497],[102.938469,32.998464],[102.938453,32.99845],[102.938434,32.998436],[102.938415,32.998425],[102.938389,32.998419],[102.938357,32.998413],[102.938331,32.998411],[102.938292,32.99841],[102.938256,32.998408],[102.938222,32.998415],[102.938193,32.998422],[102.938159,32.998434],[102.93813,32.998454],[102.938108,32.998472],[102.938081,32.998497],[102.93806,32.998523],[102.93804,32.998564],[102.938021,32.998604],[102.937807,32.99867],[102.937752,32.998662],[102.937689,32.99868],[102.937629,32.998709],[102.937586,32.998738],[102.93752,32.998759],[102.937224,32.99885],[102.936945,32.998557],[102.936956,32.998086],[102.936957,32.998075],[102.936958,32.998015],[102.936996,32.99804],[102.937052,32.998056],[102.937106,32.998043],[102.937142,32.998014],[102.937163,32.997974],[102.937139,32.997955],[102.937059,32.9979],[102.93698,32.997818],[102.936963,32.997787],[102.936954,32.99777],[102.936947,32.997751],[102.936929,32.997644],[102.936909,32.997525],[102.936905,32.997399],[102.936909,32.997338],[102.93694,32.997237],[102.93695,32.997206],[102.936943,32.997076],[102.936929,32.996827],[102.936887,32.996815],[102.936622,32.996741],[102.936612,32.996739],[102.936192,32.996622],[102.935852,32.996481],[102.935719,32.996425],[102.935324,32.99626],[102.935232,32.996222],[102.934749,32.996211],[102.933962,32.996193],[102.933285,32.996425],[102.932769,32.996601],[102.932608,32.996656],[102.932275,32.99677],[102.931714,32.997056],[102.93139,32.997147],[102.931208,32.997199],[102.931051,32.997236],[102.930902,32.997248],[102.930788,32.997263],[102.930704,32.997321],[102.930679,32.997396],[102.930684,32.997468],[102.930748,32.997514],[102.930961,32.997598],[102.930503,32.998093],[102.930204,32.998433],[102.929906,32.998774],[102.929353,32.999111],[102.928347,32.999726],[102.927557,32.999943],[102.927284,32.99991],[102.92683,32.999855],[102.926518,32.999816],[102.926467,32.99981],[102.925448,32.999592],[102.924316,32.999774],[102.923193,32.999641],[102.922543,32.999642],[102.922491,32.999642],[102.92169,32.999644],[102.920907,32.999516],[102.919982,32.999645],[102.918035,32.999698],[102.917514,32.999675],[102.917011,32.999653],[102.9162,32.999761],[102.916174,32.999764],[102.916126,32.999771],[102.916052,32.99978],[102.915434,32.999943],[102.914892,32.999732],[102.914209,32.998956],[102.914129,32.998931],[102.914031,32.998892],[102.91392,32.998843],[102.91386,32.998768],[102.913804,32.998675],[102.913747,32.998558],[102.913707,32.998406],[102.913258,32.998065],[102.912232,32.997048],[102.912156,32.996998],[102.912104,32.996916],[102.912034,32.996735],[102.911964,32.996527],[102.911844,32.996382],[102.91169,32.99629],[102.911493,32.996166],[102.911415,32.996074],[102.911393,32.996048],[102.910665,32.995057],[102.910068,32.994328],[102.908895,32.993387],[102.90796,32.99248],[102.907721,32.991037],[102.907704,32.990972],[102.907644,32.99074],[102.907786,32.990689],[102.907905,32.990584],[102.908002,32.990469],[102.907984,32.990283],[102.907883,32.990079],[102.907766,32.989945],[102.907673,32.989889],[102.907402,32.989805],[102.907377,32.989707],[102.907289,32.989367],[102.907257,32.989243],[102.907256,32.989241],[102.907229,32.989134],[102.907203,32.989031],[102.907153,32.98893],[102.907123,32.988829],[102.907112,32.988706],[102.907153,32.988593],[102.907148,32.988468],[102.907083,32.988337],[102.906997,32.988218],[102.906932,32.988087],[102.906877,32.987951],[102.90684,32.987808],[102.906836,32.987721],[102.906775,32.987602],[102.906681,32.987451],[102.906623,32.987326],[102.906576,32.987204],[102.906417,32.9869],[102.90555,32.98467],[102.905481,32.984526],[102.905163,32.983859],[102.904443,32.982349],[102.904256,32.981626],[102.904305,32.980994],[102.90433,32.98081],[102.904332,32.980799],[102.90423,32.980617],[102.904212,32.980503],[102.904233,32.980345],[102.904266,32.980259],[102.904366,32.980111],[102.904447,32.979969],[102.904561,32.979147],[102.904594,32.978913],[102.904633,32.978632],[102.904655,32.97847],[102.904675,32.978324],[102.904686,32.978259],[102.9047,32.978167],[102.904836,32.97732],[102.905155,32.976807],[102.90527,32.976262],[102.905355,32.975544],[102.90551,32.974799],[102.905513,32.974791],[102.905561,32.974561],[102.905554,32.974447],[102.905519,32.974347],[102.905462,32.974266],[102.905404,32.974157],[102.905436,32.973985],[102.905547,32.973693],[102.905686,32.973453],[102.905842,32.973237],[102.905943,32.97316],[102.906126,32.973054],[102.90621,32.972547],[102.906212,32.972537],[102.906193,32.972293],[102.906168,32.971965],[102.906163,32.971906],[102.906081,32.970837],[102.906044,32.969792],[102.906043,32.969763],[102.906011,32.968862],[102.906009,32.968813],[102.906008,32.968794],[102.906001,32.968584],[102.905999,32.968534],[102.906027,32.968355],[102.906063,32.968122],[102.906121,32.967749],[102.90613,32.967694],[102.906205,32.967212],[102.906244,32.967051],[102.90634,32.966847],[102.906439,32.966646],[102.906499,32.966255],[102.906495,32.965869],[102.906497,32.965334],[102.906522,32.965176],[102.906749,32.96423],[102.906946,32.961701],[102.907069,32.960811],[102.907099,32.959545],[102.907528,32.958718],[102.907793,32.957629],[102.908231,32.956428],[102.908971,32.955404],[102.909535,32.954665],[102.910227,32.954274],[102.910888,32.953738],[102.911482,32.953144],[102.912009,32.952887],[102.912574,32.952611],[102.912622,32.952587],[102.913242,32.952339],[102.912939,32.952161],[102.912465,32.951981],[102.911449,32.951647],[102.909909,32.950384],[102.909038,32.949679],[102.908545,32.948893],[102.907846,32.948134],[102.907391,32.947176],[102.906153,32.94612],[102.905414,32.945589],[102.904564,32.945489],[102.903707,32.945618],[102.902951,32.945864],[102.901924,32.945962],[102.900765,32.945914],[102.899676,32.945809],[102.898181,32.945496],[102.897195,32.945336],[102.89584,32.944939],[102.894722,32.944575],[102.8936,32.944383],[102.893464,32.944352],[102.893623,32.943434],[102.893751,32.942343],[102.893875,32.941453],[102.89386,32.940647],[102.893773,32.939983],[102.893542,32.939663],[102.892844,32.938845],[102.89211,32.938171],[102.891513,32.937442],[102.891224,32.93666],[102.891001,32.935994],[102.890806,32.935588],[102.89017,32.935088],[102.889218,32.934928],[102.888025,32.93485],[102.887179,32.934577],[102.886338,32.934045],[102.885266,32.933221],[102.884597,32.932663],[102.88366,32.931899],[102.882746,32.931567],[102.88147,32.930711],[102.880462,32.93006],[102.879622,32.929499],[102.878487,32.928444],[102.877686,32.927682],[102.876812,32.92715],[102.875972,32.926617],[102.874892,32.92611],[102.873804,32.925947],[102.87269,32.925439],[102.872158,32.924883],[102.871605,32.923752],[102.871284,32.922912],[102.871316,32.92156],[102.871693,32.92007],[102.871968,32.919496],[102.871981,32.91947],[102.876038,32.917017],[102.8761,32.916979],[102.876403,32.917034]]]]},"properties":{"cp":[103.14126598596769,33.03468485062284],"code":"513233208","name":"色地镇","level":"street","center":[103.14126598596769,33.03468485062284],"fullCode":"513233208000","fullName":"四川省阿坝藏族羌族自治州红原县色地镇","acreageMu":1798581.17,"exportedAt":"2026-07-01","parentCode":"513233","sourceTable":"public.c_area","sourceCenter":[102.999,32.865]}}]} `,q9={邛溪镇:"qiongxi",刷经寺镇:"shuajingsi",安曲镇:"anqu",龙日镇:"longri",江茸乡:"jiangrong",查尔玛乡:"chaerma",瓦切镇:"waqie",阿木乡:"amu",麦洼乡:"maiwa",色地镇:"sedi"},j9={色地镇:1199,瓦切镇:991,刷经寺镇:986,邛溪镇:896,阿木乡:892,安曲镇:885,查尔玛乡:729,龙日镇:645,麦洼乡:559,江茸乡:514},$9={};function V9(h){try{return JSON.parse(h)}catch(n){return{type:"FeatureCollection",features:[]}}}function U9(h={}){const n=h.properties||{},r=n.cp||n.center||n.centroid||n.sourceCenter;return Array.isArray(r)&&Number.isFinite(Number(r[0]))&&Number.isFinite(Number(r[1]))?[Number(r[0]),Number(r[1])]:[0,0]}function m0(h={}){return h!=null&&h.coordinates?h.type==="Polygon"?[h.coordinates]:h.type==="MultiPolygon"?h.coordinates:[]:[]}function Y9(h=[]){return h.reduce((n,r,c)=>{const f=h[c===0?h.length-1:c-1];return n+(Number(f==null?void 0:f[0])*Number(r==null?void 0:r[1])-Number(r==null?void 0:r[0])*Number(f==null?void 0:f[1]))},0)/2}function K9(h=[]){let n=0,r=0,c=0;return h.forEach((f,u)=>{const m=h[u===0?h.length-1:u-1],g=Number(m==null?void 0:m[0])*Number(f==null?void 0:f[1])-Number(f==null?void 0:f[0])*Number(m==null?void 0:m[1]);n+=g,r+=(Number(m==null?void 0:m[0])+Number(f==null?void 0:f[0]))*g,c+=(Number(m==null?void 0:m[1])+Number(f==null?void 0:f[1]))*g}),Math.abs(n)<1e-10?null:[r/(3*n),c/(3*n)]}function Z9(h=[]){const n=h.map(r=>[Number(r==null?void 0:r[0]),Number(r==null?void 0:r[1])]).filter(([r,c])=>Number.isFinite(r)&&Number.isFinite(c));return n.length?n.reduce((r,[c,f])=>({west:Math.min(r.west,c),east:Math.max(r.east,c),south:Math.min(r.south,f),north:Math.max(r.north,f)}),{west:1/0,east:-1/0,south:1/0,north:-1/0}):null}function i0(h=[],n=[]){const r=Number(h[0]),c=Number(h[1]);if(!Number.isFinite(r)||!Number.isFinite(c))return!1;let f=!1;for(let u=0,m=n.length-1;uc!=w>c&&r<(s-F)*(c-T)/(w-T||1e-12)+F&&(f=!f)}return f}function H3(h=[],n=[]){return!n.length||!i0(h,n[0])?!1:!n.slice(1).some(r=>i0(h,r))}function J9(h=[],n={}){return m0(n).some(r=>H3(h,r))}function X9(h={}){var n;return((n=m0(h.geometry).map(r=>({polygon:r,area:Math.abs(Y9((r==null?void 0:r[0])||[]))})).filter(r=>r.area>0).sort((r,c)=>c.area-r.area)[0])==null?void 0:n.polygon)||null}function c3(h=[]){return h.map(n=>Number(Number(n).toFixed(6)))}function Q9(h={}){const n=U9(h);if(J9(n,h.geometry))return c3(n);const r=X9(h),c=(r==null?void 0:r[0])||[],f=K9(c);if(f&&H3(f,r))return c3(f);const u=Z9(c),m=u?[(u.west+u.east)/2,(u.south+u.north)/2]:null;return m&&H3(m,r)?c3(m):c3(f||m||n)}const C5=h0,f3=V9(h0),z3=f3.features||[],A3=z3.reduce((h,n)=>{const r=n.properties||{},c=d3(r.name);return[r.code,r.fullCode].forEach(f=>{const u=String(f||"").replace(/\D/g,"");u&&c&&(h[u]=c)}),h},{});z3.reduce((h,n)=>{const r=n.properties||{},c=d3(r.name),f=String(r.code||"").replace(/\D/g,"");return c&&f&&(h[c]=f),h},{});const q2=z3.map(h=>{const n=h.properties||{},r=d3(n.name),c=$9[r]||Q9(h);return{name:r,code:n.code,fullCode:n.fullCode,center:c,centroid:c,acreageMu:Number(n.acreageMu)||0}}),b5=q2.map(h=>o2(q({},h),{enName:q9[h.name]||"",value:j9[h.name]||0})).sort((h,n)=>n.value-h.value),w5=q2.map(h=>h.name);function d3(h){const n=String(h||"").trim();return!n||n==="--"?"":n}function F5(h){const n=String(h||"").replace(/\D/g,"");return n&&(A3[n]||A3[n.slice(0,12)]||A3[n.slice(0,9)])||""}function _5(h){const n=d3(h);return!!(n&&q2.some(r=>r.name===n))}const e5=21,t5=-18,n5=-50,o0=-18,s0=-58,l0=4.2,a0=3.2,r5=2200,i5=0,o5=2600,s5=0,l5={__name:"index",props:{active:{type:Boolean,default:!0},activeLayer:{type:Object,default:null},mapRanking:{type:Object,default:null},overlayLayer:{type:Object,default:null},overlayLayers:{type:Array,default:()=>[]},tileUrlTemplate:{type:String,default:"/external/satellite/{z}/{x}/{y}.png"},referenceTileUrlTemplate:{type:String,default:"/external/reference/{z}/{x}/{y}.png"},terrainUrl:{type:String,default:""},center:{type:Array,default:()=>[...k9]},initialZoom:{type:Number,default:x9},minimumZoomDistance:{type:Number,default:1},countyViewTargetOffset:{type:Object,default:null},autoApplyLayerMapView:{type:Boolean,default:!0},maxZoom:{type:Number,default:21},adminBoundaryLineScale:{type:Number,default:1},showNationalBackdrop:{type:Boolean,default:!0},enableImageryFeaturePick:{type:Boolean,default:!0},enableTownPolygonPick:{type:Boolean,default:!0},emitEmptyFeatureInfoOnMiss:{type:Boolean,default:!0},disableDoubleClickAction:{type:Boolean,default:!1},hideTownLabelStats:{type:Boolean,default:!1}},emits:["ready","scene-mounted","feature-loading","feature-info","layer-status","tile-status","map-click","draw-boundary","view-change"],setup(h,{expose:n,emit:r}){let c=[],f=null;const u=h,m=r,g=z1(null),C=z1(null),F=Q6(null),T=U6(()=>u.activeLayer?[u.activeLayer,...Array.isArray(u.activeLayer.overlayLayers)?u.activeLayer.overlayLayers:[]].filter(Boolean):u.overlayLayers.length?u.overlayLayers.filter(Boolean):u.overlayLayer?[u.overlayLayer]:[]);let s=null,w=null,_=null,x=null,k=null,I=!1,v=0,P=null,B=!1,L=[],A=null,R=[],U=[],G=[],Z=[],$=[],J=[],W=null,Y=[],a2=[];const _2=new Map;let S2=null,g2=[],d0=[];const g3=new Map,p3=new Map,q3=new Map;Y6(()=>{m("scene-mounted"),u.active&&$2()}),K6(()=>R2()),s3(T,()=>X3(),{deep:!0}),s3(()=>u.mapRanking,()=>w3(),{deep:!0}),s3(()=>u.hideTownLabelStats,()=>w3()),s3(()=>u.active,e=>m2(this,null,function*(){if(!e){R2();return}yield W1(),$2()}));function $2(){var b,y,N,S;if(s||!C.value)return!!s;const e=window.Cesium;if(!e)return m("layer-status",{type:"error",text:"Cesium 运行资源加载失败"}),!1;I=!1;const t=g0(e),i=$3(u.tileUrlTemplate),l=$3(u.referenceTileUrlTemplate),a=p0(i),o=l&&l!==i?j3(e,l,{maximumLevel:u.maxZoom}):null,d=i?j3(e,i,{maximumLevel:a?Math.min(u.maxZoom,e5):u.maxZoom,rectangle:a?y0(e):null}):null;if(s=new e.Viewer(C.value,{animation:!1,baseLayerPicker:!1,fullscreenButton:!1,geocoder:!1,homeButton:!1,infoBox:!1,navigationHelpButton:!1,sceneModePicker:!1,selectionIndicator:!1,timeline:!1,scene3DOnly:!0,imageryProvider:!1,terrainProvider:t,useBrowserRecommendedResolution:!1,requestRenderMode:!0,maximumRenderTimeChange:1/0,contextOptions:{webgl:{alpha:!0,antialias:!0}}}),Z3(!1),o){const E=s.imageryLayers.addImageryProvider(o);E.alpha=1,E.brightness=.68,E.contrast=1.08,E.saturation=.48,E.gamma=.9}d&&(A=s.imageryLayers.addImageryProvider(d),A.alpha=a?.88:1,A.brightness=a?.96:.9,A.contrast=a?1.12:1.1,A.saturation=a?1.08:1.05,A.gamma=a?.98:.96),s.scene.globe.terrainExaggeration=u.terrainUrl?1.5:1,s.scene.globe.depthTestAgainstTerrain=!1,s.scene.globe.baseColor=e.Color.fromCssColorString("#061821"),s.scene.backgroundColor=e.Color.fromCssColorString("#020b12"),s.scene.skyAtmosphere.show=!1,s.scene.skyBox&&(s.scene.skyBox.show=!1),s.scene.fog.enabled=!0,s.scene.fog.density=18e-5,s.resolutionScale=Math.min(Math.max(window.devicePixelRatio||1,1),1.5),s.scene.fxaa=!1,s.scene.postProcessStages.fxaa.enabled=!1,s.scene.screenSpaceCameraController.enableCollisionDetection=!0,s.scene.screenSpaceCameraController.minimumZoomDistance=Math.max(1,Number(u.minimumZoomDistance)||1),s.scene.screenSpaceCameraController.maximumZoomDistance=56e4,(b=s.cesiumWidget)!=null&&b.creditContainer&&(s.cesiumWidget.creditContainer.style.display="none"),(y=s._cesiumWidget)!=null&&y._creditContainer&&(s._cesiumWidget._creditContainer.style.display="none"),F0(t,e),V3().then(()=>{var E;!s||(E=s.isDestroyed)!=null&&E.call(s)||(i6(),C3())}).catch(E=>{console.warn("[cesium-map] county outline load failed",E),m("layer-status",{type:"error",text:"红原县边界加载失败"})}),e6(),u6(),I0(),L0(),M0(),C3(),X3(),w3();const p={viewer:s,clearSelectedFeature:i2,focusProject:b1,focusPasture:_1,focusTownByName:C1,focusYakIndustryPoint:w1,focusVectorFeature:F1,getVectorFeatureAnchorScreen:T3,getVectorFeaturesAnchorScreen:e3,getVectorFeatureScreen:L2,getYakIndustryPointScreen:E3,destroy:R2};return F.value=p,(S=(N=d==null?void 0:d.errorEvent)==null?void 0:N.addEventListener)==null||S.call(N,()=>{m("tile-status",{type:"warning",text:"牧场影像底图部分瓦片加载失败"})}),m("tile-status",{type:"success",text:"牧场影像底图已加载"}),window.setTimeout(()=>{var E;s&&!((E=s.isDestroyed)!=null&&E.call(s))&&m("ready")},0),W1(V2),!0}function g0(e){if(!u.terrainUrl)return new e.EllipsoidTerrainProvider;try{return new e.CesiumTerrainProvider({url:u.terrainUrl,requestVertexNormals:!0,requestWaterMask:!1})}catch(t){return I=!0,new e.EllipsoidTerrainProvider}}function j3(e,t,i={}){return t?new e.UrlTemplateImageryProvider({url:t,minimumLevel:i.minimumLevel||3,maximumLevel:i.maximumLevel||u.maxZoom,rectangle:i.rectangle||void 0,tilingScheme:new e.WebMercatorTilingScheme,credit:""}):null}function $3(e){return String(e||"").trim()}function p0(e){return/hy-result|qkl-map|external\/satellite/i.test(String(e||""))}function y0(e){return e.Rectangle.fromDegrees(j.west-.035,j.south-.035,j.east+.035,j.north+.035)}function C0(e,t="feature"){const i=[];if(((e==null?void 0:e.features)||[]).forEach(l=>{const a=D(l==null?void 0:l.geometry);a1(a).forEach(o=>{const d=b0(o);d&&i.push(d)})}),!i.length)return[];try{return l3.union(...i)}catch(l){return console.warn(`[cesium-map] ${t} union boundary failed`,l),i.map(a=>a)}}function V3(){return m2(this,null,function*(){return c.length?c:(f||(f=Y2(W9).then(e=>{const t=C0(e,"county outline");return c=t,t}).catch(e=>{throw f=null,e})),f)})}function b0(e){if(!Array.isArray(e))return null;const t=e.map(i=>w0((i||[]).map(K).filter(Boolean))).filter(i=>i.length>=4);return t.length?t:null}function w0(e=[]){if(!e.length)return[];const t=e[0],i=e[e.length-1];return c1(t,i)?e:[...e,t]}function F0(e,t){var l,a,o,d;const i=()=>{!s||I||(I=!0,s.terrainProvider=new t.EllipsoidTerrainProvider,s.scene.globe.terrainExaggeration=1,s.scene.requestRender(),m("layer-status",{type:"warning",text:"CXPT 地形服务暂不可用,已保留三维影像地图"}))};(a=(l=e==null?void 0:e.errorEvent)==null?void 0:l.addEventListener)==null||a.call(l,i),(d=(o=e==null?void 0:e.readyPromise)==null?void 0:o.catch)==null||d.call(o,i)}function _0(){return $2()}function S0(){var e;return!!(s&&!((e=s.isDestroyed)!=null&&e.call(s)))}function N0(){U3()}function U3(){if(!s){$2();return}s.useDefaultRenderLoop=!0,V2()}function T0(){R2()}function V2(){var e;!s||(e=s.isDestroyed)!=null&&e.call(s)||(s.resize(),s.scene.requestRender())}function Y3(){if(!(s!=null&&s.camera)||!window.Cesium)return null;const e=window.Cesium,t=s.camera;return{position:e.Cartesian3.clone(t.positionWC||t.position),direction:e.Cartesian3.clone(t.directionWC||t.direction),up:e.Cartesian3.clone(t.upWC||t.up)}}function U2(e){var i,l,a,o,d,p;if(!(s!=null&&s.camera)||!e||!window.Cesium)return;const t=window.Cesium;(l=(i=s.camera).cancelFlight)==null||l.call(i),(o=(a=s.camera).lookAtTransform)==null||o.call(a,t.Matrix4.IDENTITY),s.camera.setView({destination:t.Cartesian3.clone(e.position),orientation:{direction:t.Cartesian3.clone(e.direction),up:t.Cartesian3.clone(e.up)}}),(p=(d=s.scene)==null?void 0:d.requestRender)==null||p.call(d)}function K3(e){var t,i;!e||typeof window=="undefined"||((t=window.requestAnimationFrame)==null||t.call(window,()=>U2(e)),(i=window.setTimeout)==null||i.call(window,()=>U2(e),80))}function E0(){i2(),Z3(!0)}function k0(e=T.value.find(t=>(t==null?void 0:t.mapView)||(t==null?void 0:t.cameraPosition))){return!s||!e?!1:(E1(e),!0)}function Z3(e=!0){if(!s)return;const t=window.Cesium,i=v0(),l=J3(u.initialZoom),a=x0(),o=t.Cartesian3.fromDegrees(i[0]+a.lng,i[1]+a.lat,P0()),d=new t.HeadingPitchRange(t.Math.toRadians(t5),t.Math.toRadians(n5),l);e?s.camera.flyToBoundingSphere(new t.BoundingSphere(o,1),{offset:d,duration:.9}):(s.camera.lookAt(o,d),s.camera.lookAtTransform(t.Matrix4.IDENTITY)),s.scene.requestRender()}function x0(){var l,a;const e=u.countyViewTargetOffset,t=Number((l=e==null?void 0:e.lng)!=null?l:e==null?void 0:e[0]),i=Number((a=e==null?void 0:e.lat)!=null?a:e==null?void 0:e[1]);return{lng:Number.isFinite(t)?t:0,lat:Number.isFinite(i)?i:P9.lat}}function P0(){return u.terrainUrl?r5:i5}function y3(){return u.terrainUrl?o5:s5}function J3(e){const t=Number.isFinite(Number(e))?Number(e):9;return Math.max(9e3,Math.min(58e4,365e3/Math.pow(1.62,t-9)))}function v0(){const e=K(u.center);return e||[(j.west+j.east)/2,(j.south+j.north)/2]}function I0(){!g.value||!window.ResizeObserver||(_=new ResizeObserver(()=>V2()),_.observe(g.value))}function L0(){!s||x||(x=s.camera.moveEnd.addEventListener(C3))}function M0(){!s||k||(k=s.scene.postRender.addEventListener(()=>{m("view-change")}))}function C3(){var l,a;if(!s||(l=s.isDestroyed)!=null&&l.call(s))return;const e=Number((a=s.camera.positionCartographic)==null?void 0:a.height)||32e4,t=Math.max(0,Math.min(1,(36e4-e)/3e5)),i={township:1.1+t*.35,countyOutline:1.9+t*.35,countyHalo:4.2+t*.65};U.forEach(o=>{o!=null&&o.polyline&&o.__hyBoundaryRole==="township"&&(o.polyline.width=i.township)}),g2.forEach(o=>{o!=null&&o.polyline&&o.__hyBoundaryRole==="county-outline"&&(o.polyline.width=i.countyOutline),o!=null&&o.polyline&&o.__hyBoundaryRole==="county-halo"&&(o.polyline.width=i.countyHalo)}),s.scene.requestRender()}function X3(){return m2(this,null,function*(){var i,l;if(!s)return;const e=++v;D1();const t=T.value;if(!t.length){m("layer-status",{type:"idle",text:"未选择专题图层"}),s.scene.requestRender();return}m("layer-status",{type:"loading",text:"正在加载三维专题图层"});try{if(yield V3(),e!==v||!s)return;for(const a of t){if(e!==v)return;yield A0(a,e)}if(e!==v)return;u.autoApplyLayerMapView&&E1(t.find(a=>(a==null?void 0:a.mapView)||(a==null?void 0:a.cameraPosition))),m("layer-status",{type:"success",text:`${t.map(a=>a.name).filter(Boolean).join("、")}已加载`})}catch(a){if(e!==v)return;console.warn("[cesium-map] topic layer failed",a),m("layer-status",{type:"error",text:"三维专题图层加载失败"})}finally{(l=(i=s==null?void 0:s.scene)==null?void 0:i.requestRender)==null||l.call(i)}})}function A0(e,t){return m2(this,null,function*(){const i=String((e==null?void 0:e.sourceType)||"wms").toLowerCase();if(i!=="analysis"){if(["geojson","wkt-api","wfs"].includes(i)){const l=yield O0(e);if(t!==v||!l)return;q0(l,e,G);return}if(i==="wmts"){yield Q3(e,"wmts"),R0(e);return}yield Q3(e,"wms"),D0(e)}})}function Q3(e,t){return m2(this,null,function*(){const i=t==="wmts"?"/geoserver/gwc/service/wmts":"/geoserver/v3/wms",l=e.url||i,a=`${t}:${l}`;if((Number(q3.get(a))||0)>Date.now())return;const d=new URLSearchParams({service:t.toUpperCase(),request:"GetCapabilities"});t==="wmts"&&d.set("version","1.0.0");const p=l.includes("?")?"&":"?",b=new AbortController,y=window.setTimeout(()=>b.abort(),5e3);try{const N=yield fetch(`${l}${p}${d.toString()}`,{cache:"no-store",credentials:"same-origin",signal:b.signal}),S=yield N.text();if(!N.ok||!/Capabilities/i.test(S))throw new Error(`HTTP ${N.status}`);q3.set(a,Date.now()+3e4)}finally{window.clearTimeout(y)}})}function e1(e){var i,l;let t=!1;(l=(i=e==null?void 0:e.errorEvent)==null?void 0:i.addEventListener)==null||l.call(i,a=>{const o=Number(a==null?void 0:a.timesRetried)||0;a.retry=o<1,!t&&(t=!0,console.warn("[cesium-map] topic tile failed; keeping the imagery layer visible",a))})}function R0(e){const t=window.Cesium,i=e.tileMatrixSetID||e.tileMatrixSet||"EPSG:900913",l=Number.isFinite(Number(e.minimumLevel))?Number(e.minimumLevel):0,a=Number.isFinite(Number(e.maximumLevel))?Number(e.maximumLevel):21,o=Array.isArray(e.bounds)&&e.bounds.length>=4?e.bounds.map(Number):null,d=new t.WebMapTileServiceImageryProvider({url:e.url||"/geoserver/gwc/service/wmts",layer:e.layerName,style:e.style||e.styles||"",format:e.format||"image/png",tileMatrixSetID:i,tileMatrixLabels:e.tileMatrixLabels||B0(i,a),tilingScheme:/4326/i.test(i)?new t.GeographicTilingScheme:new t.WebMercatorTilingScheme,minimumLevel:l,maximumLevel:a,rectangle:o!=null&&o.every(Number.isFinite)?t.Rectangle.fromDegrees(o[0],o[1],o[2],o[3]):void 0,credit:e.credit||""}),p=s.imageryLayers.addImageryProvider(d),b=String(e.layerName||"").includes("yak_recognition");p.alpha=b?E2(e.opacity,.94):E2(e.opacity,.86),b&&t1(p,e),p.__hyLayer=e,R.push(p),e1(d)}function B0(e,t=21){return Array.from({length:t+1},(i,l)=>`${e}:${l}`)}function D0(e){const t=window.Cesium,i={service:"WMS",transparent:!0,format:"image/png",version:"1.1.1",styles:e.styles||""};e.cqlFilter&&(i.cql_filter=e.cqlFilter),e.sldBody&&(i.sld_body=e.sldBody);const l=new t.WebMapServiceImageryProvider({url:e.url||"/geoserver/v3/wms",layers:e.layerName,parameters:i,getFeatureInfoParameters:o2(q({},i),{info_format:"application/json",feature_count:10})}),a=s.imageryLayers.addImageryProvider(l),o=String(e.layerName||"").includes("yak_recognition");a.alpha=o?E2(e.opacity,.94):E2(e.opacity,.86),o&&t1(a,e),a.__hyLayer=e,R.push(a),e1(l)}function t1(e,t={}){e.brightness=Number.isFinite(Number(t.brightness))?Number(t.brightness):1.08,e.contrast=Number.isFinite(Number(t.contrast))?Number(t.contrast):1.18,e.saturation=Number.isFinite(Number(t.saturation))?Number(t.saturation):1.42,e.gamma=Number.isFinite(Number(t.gamma))?Number(t.gamma):.95}function O0(e){return m2(this,null,function*(){if(String((e==null?void 0:e.sourceType)||"").toLowerCase()==="geojson"&&e.geojsonData)return e.geojsonData;if(e.sourceType==="wkt-api")try{const t=yield fetch(e.apiUrl,{credentials:"same-origin"});if(!t.ok)throw new Error(`HTTP ${t.status}`);return W0(yield t.json())}catch(t){if(!e.fallbackPath)throw t;return Y2(e.fallbackPath)}if(e.sourceType==="wfs"){const t=G0(e);return Y2(t)}return Y2(e.dataPath||e.fallbackPath)})}function Y2(e){return m2(this,null,function*(){if(!e)return null;const t=/^(https?:)?\/\//.test(e)||e.startsWith("/")?e:z9(e),i=yield fetch(t,{credentials:"same-origin"});if(!i.ok)throw new Error(`HTTP ${i.status}`);return i.json()})}function G0(e){const t=new URLSearchParams({service:"WFS",version:"1.1.0",request:"GetFeature",typeName:e.layerName,outputFormat:"application/json",srsName:"EPSG:4326"});return e.cqlFilter&&t.set("cql_filter",e.cqlFilter),e.maxFeatures&&t.set("maxFeatures",String(e.maxFeatures)),Array.isArray(e.propertyName)&&e.propertyName.length?t.set("propertyName",e.propertyName.join(",")):e.propertyName&&t.set("propertyName",e.propertyName),`${e.url||"/geoserver/v3/wfs"}?${t.toString()}`}function H0(e,t={},i=null,l=null){var b,y,N;const a=((b=e==null?void 0:e.data)==null?void 0:b.type)==="Feature"?e.data:((N=(y=e==null?void 0:e.data)==null?void 0:y.features)==null?void 0:N[0])||(e==null?void 0:e.feature)||null,o=(a==null?void 0:a.properties)||t||{},d=D((a==null?void 0:a.geometry)||o.geometry||o.geom||o.the_geom||o.theGeom||o.wkt||o.shape),p=(a==null?void 0:a.id)||o.id||o.gid||o.objectid||o.OBJECTID||(e==null?void 0:e.name);return{type:"Feature",id:p,properties:o,feature:{type:"Feature",id:p,properties:o,geometry:d},geometry:d,layer:i,lngLat:l}}function W0(e){var l;const t=(l=e==null?void 0:e.data)!=null?l:e;return{type:"FeatureCollection",features:(Array.isArray(t)?t:(t==null?void 0:t.rows)||(t==null?void 0:t.list)||(t==null?void 0:t.records)||(t==null?void 0:t.data)||[]).map((a,o)=>{var d;return{type:"Feature",id:(d=a==null?void 0:a.id)!=null?d:o,properties:q({},a),geometry:D(a==null?void 0:a.geometry)||P3(n1(a))||z0(a)}}).filter(a=>a.geometry)}}function z0(e={}){const t=p2(e);return t?{type:"Point",coordinates:t}:null}function n1(e={}){return e.wkt||e.WKT||e.geom||e.the_geom||e.theGeom||e.shape||e.Shape}function q0(e,t,i){((e==null?void 0:e.type)==="FeatureCollection"?e.features:(e==null?void 0:e.type)==="Feature"?[e]:[]).filter(a=>a==null?void 0:a.geometry).filter(a=>Q0(a.properties||{},t)).map(a=>j0(a,t)).filter(Boolean).forEach(a=>N2(a,t,i))}function j0(e,t){const i=D(e==null?void 0:e.geometry),l=(t==null?void 0:t.clipToHongyuanBoundary)===!0,a=$0(t);if(!i||!["Polygon","MultiPolygon"].includes(i.type)||!l&&!a)return e;let o=i.type==="Polygon"?[i.coordinates]:i.coordinates;try{l&&c.length&&(o=l3.intersection(o,c)),a&&o.length&&(o=l3.intersection(o,[V0(a)]))}catch(d){return console.warn("[cesium-map] vector layer clipping failed",t==null?void 0:t.key,d),e}return o.length?o2(q({},e),{geometry:{type:"MultiPolygon",coordinates:o}}):null}function $0(e){if(!(e!=null&&e.clipBounds)||e.clipToLayerBounds===!1)return null;const t=e.clipBounds,i=Math.max(Number(t.west),j.west),l=Math.max(Number(t.south),j.south),a=Math.min(Number(t.east),j.east),o=Math.min(Number(t.north),j.north);return![i,l,a,o].every(Number.isFinite)||i>=a||l>=o?null:{west:i,south:l,east:a,north:o}}function V0(e){return[[[e.west,e.south],[e.east,e.south],[e.east,e.north],[e.west,e.north],[e.west,e.south]]]}function N2(e,t,i,l={}){const a=D(e.geometry);if(!a)return[];const o=Z0(t,e.properties||{},l),d=K2(a,e,t,o);return i.push(...d),d}function K2(e,t,i,l){const a=window.Cesium,o=[],d=p=>{const b=s.entities.add(p);return b.__hyFeature=t,b.__hyLayer=i,o.push(b),b};if(e.type==="Point"){const p=K(e.coordinates);if(!p||i.hidePointFeatures||i.hidePointMarkers)return o;const b=i1(i),y=b?K0(i):10,N=b?a.HeightReference.NONE:a.HeightReference.CLAMP_TO_GROUND;if(l.pointImage){const S={image:l.pointImage,width:l.pointWidth,height:l.pointHeight,scale:1,verticalOrigin:a.VerticalOrigin.BOTTOM,horizontalOrigin:a.HorizontalOrigin.CENTER,heightReference:N,disableDepthTestDistance:Number.POSITIVE_INFINITY,scaleByDistance:new a.NearFarScalar(15e3,.98,24e4,.72)};return i.showPointAtAllDistances||(S.distanceDisplayCondition=new a.DistanceDisplayCondition(0,36e4)),d({position:a.Cartesian3.fromDegrees(p[0],p[1],y),billboard:S,point:Y0(i),label:i.showPointLabels?o1(t):void 0}),o}return d({position:a.Cartesian3.fromDegrees(p[0],p[1],b?y:8),point:{pixelSize:l.pointSize,color:l.fill,outlineColor:l.stroke,outlineWidth:2,heightReference:N,disableDepthTestDistance:Number.POSITIVE_INFINITY},label:i.showPointLabels?o1(t):void 0}),o}if(e.type==="MultiPoint")return e.coordinates.forEach(p=>o.push(...K2({type:"Point",coordinates:p},t,i,l))),o;if(e.type==="LineString"){const p=h2(e.coordinates);return p.length<2||d({polyline:{positions:p,width:l.lineWidth,material:new a.PolylineGlowMaterialProperty({glowPower:.16,color:l.stroke}),clampToGround:!0}}),o}if(e.type==="MultiLineString")return e.coordinates.forEach(p=>o.push(...K2({type:"LineString",coordinates:p},t,i,l))),o;if(e.type==="Polygon"){const p=r1(i),b=p>0,y=(i==null?void 0:i.polygonClampToGround)!==!1&&!b,N=v2(e.coordinates,b?p:8);if(!N)return o;const S={hierarchy:N,height:b?p:0,heightReference:y?a.HeightReference.CLAMP_TO_GROUND:a.HeightReference.NONE,perPositionHeight:!1,material:l.fill,outline:!1};return(i==null?void 0:i.classificationType)!==!1&&(S.classificationType=a.ClassificationType.BOTH),d({polygon:S}),U0(e.coordinates,t,i,l,o),o}return e.type==="MultiPolygon"&&e.coordinates.forEach(p=>o.push(...K2({type:"Polygon",coordinates:p},t,i,l))),o}function U0(e,t,i,l,a){const o=r1(i),d=o>0&&(i==null?void 0:i.polygonClampToGround)===!1;e.forEach(p=>{const b=h2(p,d?o+2:8);if(b.length<2)return;const y=s.entities.add({polyline:{positions:b,width:l.lineWidth,material:l.stroke,depthFailMaterial:l.stroke,clampToGround:!d}});y.__hyFeature=t,y.__hyLayer=i,a.push(y)})}function r1(e){const t=Number(e==null?void 0:e.polygonHeight);return Number.isFinite(t)&&t>0?t:0}function v2(e=[],t=8){const i=window.Cesium,l=h2(e[0]||[],t);if(l.length<3)return null;const a=e.slice(1).map(o=>{const d=h2(o,t);return d.length>=3?new i.PolygonHierarchy(d):null}).filter(Boolean);return new i.PolygonHierarchy(l,a)}function Y0(e={}){const t=window.Cesium,i=Number(e.pointHitSize||(e.key==="yak-industry-points"?44:0));if(!(!Number.isFinite(i)||i<=0))return{pixelSize:i,color:t.Color.WHITE.withAlpha(.01),outlineColor:t.Color.WHITE.withAlpha(0),outlineWidth:0,heightReference:i1(e)?t.HeightReference.NONE:t.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY}}function i1(e={}){return e.floatPointMarkers===!0||e.key==="yak-industry-points"}function K0(e={}){const t=Number(e.pointHeightMeters);return Number.isFinite(t)&&t>0?t:6e3}function o1(e,t){const i=window.Cesium,l=e.properties||{},a=l.name||l.project_name||l.title||"";if(a)return{text:String(a),font:"600 14px PingFang SC, Microsoft YaHei, sans-serif",fillColor:i.Color.WHITE,outlineColor:i.Color.fromCssColorString("#03121e"),outlineWidth:3,style:i.LabelStyle.FILL_AND_OUTLINE,pixelOffset:new i.Cartesian2(0,-22),heightReference:i.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY,distanceDisplayCondition:new i.DistanceDisplayCondition(0,15e4)}}function Z0(e,t,i={}){var S,E,M,O,H,z,e2,X,c2;const l=window.Cesium,a=X0(e,t),o=E2(e.opacity,.84),d=i.fillColor||(a==null?void 0:a.fillColor)||e.fillColor||e.color||"#24F6C4",p=i.strokeColor||(a==null?void 0:a.strokeColor)||e.strokeColor||e.color||"#B7FFF2",b=(M=(E=(S=i.fillAlpha)!=null?S:a==null?void 0:a.fillAlpha)!=null?E:e.fillAlpha)!=null?M:Math.min(.34,o*.34),y=(z=(H=(O=i.strokeAlpha)!=null?O:a==null?void 0:a.strokeAlpha)!=null?H:e.strokeAlpha)!=null?z:Math.max(.72,o),N=(c2=(X=(e2=i.lineWidth)!=null?e2:a==null?void 0:a.lineWidth)!=null?X:e.lineWidth)!=null?c2:Math.max(1.6,1.8*Number(u.adminBoundaryLineScale||1));return{fill:b3(l,d,b),stroke:b3(l,p,y),lineWidth:N,pointSize:i.pointSize||12,pointImage:J0((a==null?void 0:a.iconType)||e.pointIconType||e.pointIcon,d,p),pointWidth:26,pointHeight:34}}function b3(e,t,i){try{return e.Color.fromCssColorString(String(t||"#24F6C4")).withAlpha(E2(i,1))}catch(l){return e.Color.CYAN.withAlpha(E2(i,1))}}function J0(e,t="#30DCFF",i="#C9FBFF"){const l=String(e||"").trim();if(!l||typeof document=="undefined")return null;const a=`${l}|${t}|${i}`;if(p3.has(a))return p3.get(a);const o=document.createElement("canvas"),d=Math.max(1,Math.min(window.devicePixelRatio||1,2)),p=32,b=42;o.width=p*d,o.height=b*d,o.style.width=`${p}px`,o.style.height=`${b}px`;const y=o.getContext("2d");if(!y)return null;y.scale(d,d),y.clearRect(0,0,p,b),y.save(),y.shadowColor=t,y.shadowBlur=12,y.fillStyle="rgba(3, 28, 40, 0.94)",y.beginPath(),y.arc(16,16,12,0,Math.PI*2),y.fill(),y.restore();const N=y.createLinearGradient(5,5,27,31);N.addColorStop(0,i),N.addColorStop(.52,t),N.addColorStop(1,"rgba(3, 30, 42, 0.82)"),y.save(),y.fillStyle=N,y.strokeStyle=i,y.lineWidth=1.5,y.beginPath(),y.arc(16,16,11,0,Math.PI*2),y.fill(),y.stroke(),y.beginPath(),y.moveTo(11,26),y.lineTo(16,38),y.lineTo(21,26),y.closePath(),y.fill(),y.stroke(),y.restore(),y.save(),y.translate(16,16),y.strokeStyle="#062130",y.fillStyle="#062130",y.lineWidth=2,y.lineCap="round",y.lineJoin="round",s1(y,l),y.restore(),y.save(),y.translate(16,16),y.strokeStyle="rgba(255, 255, 255, 0.92)",y.fillStyle="rgba(255, 255, 255, 0.92)",y.lineWidth=1.25,y.lineCap="round",y.lineJoin="round",s1(y,l),y.restore();const S=o.toDataURL("image/png");return p3.set(a,S),S}function s1(e,t){if(t==="grass"){e.beginPath(),e.moveTo(-6,5),e.quadraticCurveTo(-4,-4,0,-8),e.moveTo(0,6),e.quadraticCurveTo(0,-5,5,-10),e.moveTo(5,5),e.quadraticCurveTo(4,-2,8,-6),e.stroke();return}if(t==="storage"){e.strokeRect(-7,-4,14,10),e.beginPath(),e.moveTo(-8,-4),e.lineTo(0,-9),e.lineTo(8,-4),e.moveTo(-3,6),e.lineTo(-3,1),e.lineTo(3,1),e.lineTo(3,6),e.stroke();return}if(t==="milk"){e.beginPath(),e.moveTo(0,-10),e.bezierCurveTo(7,-3,8,2,4,6),e.bezierCurveTo(1,9,-5,8,-7,4),e.bezierCurveTo(-9,0,-5,-5,0,-10),e.fill();return}if(t==="factory"){e.beginPath(),e.rect(-8,-1,15,8),e.rect(4,-8,4,15),e.moveTo(-8,-1),e.lineTo(-4,-5),e.lineTo(0,-1),e.lineTo(4,-5),e.lineTo(7,-1),e.stroke();return}if(t==="trade"){e.beginPath(),e.moveTo(-8,-4),e.lineTo(5,-4),e.lineTo(2,-7),e.moveTo(5,-4),e.lineTo(2,-1),e.moveTo(8,4),e.lineTo(-5,4),e.lineTo(-2,1),e.moveTo(-5,4),e.lineTo(-2,7),e.stroke();return}if(t==="service"){e.beginPath(),e.arc(0,0,7,0,Math.PI*2),e.moveTo(0,-4),e.lineTo(0,4),e.moveTo(-4,0),e.lineTo(4,0),e.stroke();return}if(t==="gene"){e.beginPath(),e.moveTo(-5,-9),e.bezierCurveTo(6,-5,6,4,-5,8),e.moveTo(5,-9),e.bezierCurveTo(-6,-5,-6,4,5,8),e.moveTo(-3,-4),e.lineTo(3,-4),e.moveTo(-3,2),e.lineTo(3,2),e.stroke();return}if(t==="breeding"){e.beginPath(),e.moveTo(-7,-5),e.quadraticCurveTo(-5,-10,-1,-6),e.moveTo(7,-5),e.quadraticCurveTo(5,-10,1,-6),typeof e.roundRect=="function"?e.roundRect(-7,-5,14,11,4):e.rect(-7,-5,14,11),e.moveTo(-3,1),e.lineTo(3,1),e.stroke();return}e.beginPath(),e.moveTo(-8,5),e.lineTo(-8,-3),e.lineTo(0,-9),e.lineTo(8,-3),e.lineTo(8,5),e.closePath(),e.moveTo(-3,5),e.lineTo(-3,0),e.lineTo(3,0),e.lineTo(3,5),e.stroke()}function X0(e,t){var i;return e!=null&&e.activeLegend?e.activeLegend:Array.isArray(e==null?void 0:e.activeLegends)&&e.activeLegends.length?e.activeLegends.find(l=>Z2(t,l))||e.activeLegends[0]:((e==null?void 0:e.legends)||[]).find(l=>Z2(t,l))||((i=e==null?void 0:e.legends)==null?void 0:i[0])}function Q0(e,t){const i=Array.isArray(t==null?void 0:t.activeLegends)?t.activeLegends.filter(Boolean):[];if(i.length)return i.some(a=>Z2(e,a));const l=t==null?void 0:t.activeLegend;return l?Z2(e,l):!0}function Z2(e,t={}){return t.match?l1(e,t.match):Array.isArray(t.matches)?t.matches.some(i=>l1(e,i)):!0}function l1(e,t={}){var i,l;return String((i=e==null?void 0:e[t.field])!=null?i:"")===String((l=t.value)!=null?l:"")}function e6(){if(!s)return;V(U);const e=window.Cesium,t={stroke:e.Color.fromCssColorString("#B8FFF8").withAlpha(.82),fill:e.Color.TRANSPARENT,lineWidth:1.2,pointSize:0};t6(f3.features||[]).forEach(i=>{var o;const l=h2(i.points);if(l.length<2)return;const a=s.entities.add({polyline:{positions:l,width:t.lineWidth,material:t.stroke,depthFailMaterial:t.stroke,clampToGround:!0,zIndex:7}});a.__hyBoundaryRole="township",a.__hyTownName=((o=i.townNames)==null?void 0:o[0])||"",U.push(a)}),s.scene.requestRender()}function t6(e=[]){const t=new Map;e.forEach(l=>{var d;const a=String(((d=l==null?void 0:l.properties)==null?void 0:d.name)||"").trim(),o=D(l==null?void 0:l.geometry);a1(o).forEach(p=>{const b=((p==null?void 0:p[0])||[]).map(K).filter(Boolean);for(let y=0;yo2(q({},l),{townNames:Array.from(l.townNames)})).filter(l=>l.count>1&&l.townNames.length>1);return r6(i)}function a1(e){return e!=null&&e.coordinates?e.type==="Polygon"?[e.coordinates]:e.type==="MultiPolygon"?e.coordinates:[]:[]}function n6(e,t){const i=I2(e),l=I2(t);return i{a.points.forEach(d=>{const p=I2(d),b=t.get(p)||[];b.push(o),t.set(p,b)})});const i=new Set,l=[];return e.forEach((a,o)=>{if(i.has(o))return;i.add(o);const d=[a.points[0],a.points[1]];u1(d,t,e,i,!0),u1(d,t,e,i,!1),l.push({points:d,townNames:a.townNames})}),l}function u1(e,t,i,l,a){for(;e.length;){const o=a?e[0]:e[e.length-1],d=I2(o),p=(t.get(d)||[]).filter(M=>!l.has(M));if(p.length!==1)return;const b=p[0],y=i[b];l.add(b);const[N,S]=y.points,E=I2(N)===d?S:N;a?e.unshift(E):e.push(E)}}function i6(){if(!s||!c.length)return;V(g2);const e=window.Cesium;o6(e),c.forEach(t=>{const l=(Array.isArray(t==null?void 0:t[0])?t[0]:[]).map(K).filter(Boolean);if(l.length<3)return;const a=v2(t);if(a){const p=s.entities.add({polygon:{hierarchy:a,material:e.Color.fromCssColorString("#20EAF2").withAlpha(.026),outline:!1,perPositionHeight:!1,heightReference:e.HeightReference.CLAMP_TO_GROUND,classificationType:e.ClassificationType.BOTH}});g2.push(p)}const o=s.entities.add({polyline:{positions:h2(l),width:4.8,material:new e.PolylineGlowMaterialProperty({glowPower:.16,color:e.Color.fromCssColorString("#78FFF7").withAlpha(.48)}),depthFailMaterial:e.Color.fromCssColorString("#78FFF7").withAlpha(.32),clampToGround:!0,zIndex:8}});o.__hyBoundaryRole="county-halo";const d=s.entities.add({polyline:{positions:h2(l),width:1.9,material:e.Color.fromCssColorString("#F2FFFB").withAlpha(.98),depthFailMaterial:e.Color.fromCssColorString("#F2FFFB").withAlpha(.9),clampToGround:!0,zIndex:9}});d.__hyBoundaryRole="county-outline",g2.push(o,d)}),s.scene.requestRender()}function o6(e){const t=s6();let i=[];try{i=l3.difference([t],c)}catch(l){console.warn("[cesium-map] county outside mask failed",l),i=[t]}i.forEach(l=>{const a=v2(l);if(!a)return;const o=s.entities.add({polygon:{hierarchy:a,material:e.Color.fromCssColorString("#020A10").withAlpha(.52),outline:!1,perPositionHeight:!1,heightReference:e.HeightReference.CLAMP_TO_GROUND,classificationType:e.ClassificationType.BOTH,zIndex:1}});g2.push(o)})}function s6(){const e=j.west-l0,t=j.south-a0,i=j.east+l0,l=j.north+a0;return[[[e,t],[i,t],[i,l],[e,l],[e,t]]]}function l6(e,t=!1){const i=(Array.isArray(e)?e:[e]).map(O2=>String(O2||"").trim()).filter(Boolean).slice(0,2),l=`v15-centered-map-badge:${t?"h":"n"}:${i.join("|")}`;if(g3.has(l))return g3.get(l);const a=document.createElement("canvas"),o=a.getContext("2d");if(!o)return{image:"",width:1,height:1};const d=Math.min(4,Math.max(3,window.devicePixelRatio||2)),p="700 14px Microsoft YaHei, PingFang SC, sans-serif",b="700 9px Microsoft YaHei, PingFang SC, sans-serif",y="800 14px Microsoft YaHei, PingFang SC, sans-serif",N="600 9px Microsoft YaHei, PingFang SC, sans-serif",S=c6(i[1]);o.font=p;const E=Math.ceil(o.measureText(i[0]||"").width);let M=0;S&&(o.font=b,M+=Math.ceil(o.measureText(S.metric).width),o.font=y,M+=Math.ceil(o.measureText(S.value).width),o.font=N,M+=Math.ceil(o.measureText(S.unit).width),M+=S.metric?5:0,M+=S.unit?4:0);const O=Math.min(118,Math.max(S?96:62,E+20,M+20)),H=S?40:25,z=S?5:0,e2=6,X=O+e2*2,c2=H+z+e2*2;a.width=Math.ceil(X*d),a.height=Math.ceil(c2*d),a.style.width=`${X}px`,a.style.height=`${c2}px`,o.scale(d,d),o.clearRect(0,0,X,c2);const s2=e2,t2=e2,B2=t2+H,u2=o.createLinearGradient(s2,t2,s2,B2);u2.addColorStop(0,t?"rgba(8, 58, 70, 0.9)":"rgba(6, 45, 57, 0.78)"),u2.addColorStop(.55,t?"rgba(4, 34, 46, 0.88)":"rgba(3, 29, 41, 0.76)"),u2.addColorStop(1,t?"rgba(2, 22, 32, 0.88)":"rgba(2, 18, 29, 0.78)"),o.save(),o.shadowColor="rgba(48, 220, 255, 0.13)",o.shadowBlur=6,o.fillStyle=u2,f1(o,s2,t2,O,H),o.fill(),o.restore(),o.save(),o.globalCompositeOperation="lighter";const D2=o.createLinearGradient(s2,t2,s2+O,t2);D2.addColorStop(0,"rgba(42, 210, 255, 0)"),D2.addColorStop(.5,t?"rgba(98, 246, 255, 0.34)":"rgba(98, 246, 255, 0.26)"),D2.addColorStop(1,"rgba(42, 210, 255, 0)"),o.strokeStyle=D2,o.lineWidth=1,o.beginPath(),o.moveTo(s2+10,t2+2),o.lineTo(s2+O-10,t2+2),o.stroke(),o.restore(),o.save(),o.strokeStyle=t?"rgba(126, 251, 246, 0.58)":"rgba(126, 251, 246, 0.46)",o.lineWidth=.9,f1(o,s2+.5,t2+.5,O-1,H-1),o.stroke(),o.restore();const k2=s2+O/2;z>0&&(o.save(),o.shadowColor="rgba(48, 220, 255, 0.2)",o.shadowBlur=5,o.beginPath(),o.moveTo(k2-5,B2-1),o.lineTo(k2+5,B2-1),o.lineTo(k2,B2+z),o.closePath(),o.fillStyle=t?"rgba(4, 42, 52, 0.98)":"rgba(3, 31, 43, 0.96)",o.fill(),o.strokeStyle=t?"rgba(126, 251, 246, 0.48)":"rgba(126, 251, 246, 0.34)",o.lineWidth=.8,o.stroke(),o.restore()),o.save(),o.textAlign="center",o.textBaseline="alphabetic",o.fillStyle="rgba(255, 255, 255, 0.98)",o.strokeStyle="rgba(0, 8, 14, 0.98)",o.lineJoin="round",o.shadowColor="rgba(0, 8, 14, 0.72)",o.shadowBlur=0,o.font=p,o.lineWidth=1.6;const o3=t2+(S?12.5:H/2);if(J2(o,i[0]||"",k2,o3),S){const O2=t2+29.5;let G2=k2-M/2;o.textAlign="left",o.shadowBlur=0,o.font=b,o.lineWidth=1.2,o.fillStyle="rgba(126, 251, 246, 0.9)",S.metric&&(J2(o,S.metric,G2,O2,{stroke:!1}),o.font=b,G2+=Math.ceil(o.measureText(S.metric).width)+5),o.font=y,o.lineWidth=1.4,o.fillStyle="#FFFFFF",o.shadowColor="rgba(0, 8, 14, 0.72)",o.shadowBlur=0,J2(o,S.value,G2,O2),o.shadowBlur=0,G2+=Math.ceil(o.measureText(S.value).width)+(S.unit?4:0),S.unit&&(o.font=N,o.fillStyle="rgba(232, 252, 255, 0.76)",J2(o,S.unit,G2,O2+1,{stroke:!1}))}o.restore();const O1={image:a.toDataURL("image/png"),width:X,height:c2};return g3.set(l,O1),O1}function J2(e,t,i,l,a={}){const o=e.measureText(t),d=a6(e.font),p=Number(o.actualBoundingBoxAscent)||d*.74,b=Number(o.actualBoundingBoxDescent)||d*.18,y=l+(p-b)/2;a.stroke!==!1&&e.lineWidth>0&&e.strokeText(t,i,y),e.fillText(t,i,y)}function a6(e){const t=String(e||"").match(/(\d+(?:\.\d+)?)px/);return t?Number(t[1]):14}function c6(e){const t=String(e||"").trim();if(!t)return null;const i=t.match(/^(.+?)\s+([+-]?\d[\d,.]*)(.*)$/u);if(i)return{metric:i[1].trim(),value:i[2].trim(),unit:i[3].trim()};const l=t.match(/^(.*?)([+-]?\d[\d,.]*)([\u4e00-\u9fa5A-Za-z/%]+)?$/u);return l?{metric:l[1].trim(),value:l[2].trim(),unit:(l[3]||"").trim()}:{metric:"",value:t,unit:""}}function f1(e,t,i,l,a){const o=Math.min(7,l*.12,a*.34);e.beginPath(),e.moveTo(t+o,i),e.lineTo(t+l-o,i),e.lineTo(t+l,i+o),e.lineTo(t+l,i+a-o),e.lineTo(t+l-o,i+a),e.lineTo(t+o,i+a),e.lineTo(t,i+a-o),e.lineTo(t,i+o),e.closePath()}function w3(){var d;if(!s)return;V(Z);const e=window.Cesium,t=u.mapRanking||{},i=Array.isArray(t.rows)?t.rows:[],l=new Map(i.map(p=>[y2(p.name),p])),a=t.showTownNames!==!1&&t.hideTownNames!==!0,o=(d=t.hideTownLabelStats)!=null?d:u.hideTownLabelStats;a&&q2.forEach(p=>{const b=l.get(y2(p.name)),y=[p.name];if(!o&&b&&t.showMapLabels!==!1){const O=t.metricLabel?`${t.metricLabel} `:"";y.push(`${O}${H6(b.value)}${b.unit||t.unit||""}`)}const N=K(p.center);if(!N)return;const S=l6(y,!!b),E=!!(o||y.length===1),M=s.entities.add({position:e.Cartesian3.fromDegrees(N[0],N[1],18),billboard:{image:S.image,width:S.width,height:S.height,scale:1,verticalOrigin:E?e.VerticalOrigin.CENTER:e.VerticalOrigin.BOTTOM,horizontalOrigin:e.HorizontalOrigin.CENTER,pixelOffset:E?new e.Cartesian2(0,0):new e.Cartesian2(0,-4),heightReference:e.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY,scaleByDistance:new e.NearFarScalar(2e4,.94,36e4,.8),distanceDisplayCondition:new e.DistanceDisplayCondition(0,42e4)}});M.__hyTownName=p.name,M.__hyRankingRow=b||null,Z.push(M)}),i.filter(p=>p2(p)).forEach(p=>{const b=p2(p),y=s.entities.add({position:e.Cartesian3.fromDegrees(b[0],b[1],16),point:{pixelSize:9,color:e.Color.fromCssColorString("#35F3FF"),outlineColor:e.Color.WHITE,outlineWidth:2,heightReference:e.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY},label:t.showPointMarkers===!1?void 0:{text:String(p.name||""),font:"600 12px PingFang SC, Microsoft YaHei, sans-serif",fillColor:e.Color.WHITE,outlineColor:e.Color.fromCssColorString("#03121e"),outlineWidth:3,style:e.LabelStyle.FILL_AND_OUTLINE,pixelOffset:new e.Cartesian2(0,-18),heightReference:e.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY}});y.__hyTownName=p.name,y.__hyRankingRow=p,Z.push(y)}),s.scene.requestRender()}function u6(){var t,i;if(!s)return;const e=window.Cesium;if(u.disableDoubleClickAction){const l=((t=s.cesiumWidget)==null?void 0:t.screenSpaceEventHandler)||s.screenSpaceEventHandler;(i=l==null?void 0:l.removeInputAction)==null||i.call(l,e.ScreenSpaceEventType.LEFT_DOUBLE_CLICK)}w=new e.ScreenSpaceEventHandler(s.scene.canvas),w.setInputAction(l=>m2(this,null,function*(){var M,O,H;const a=f6(l.position),o=h1(a),d=s.scene.pick(a),p=d==null?void 0:d.id,b=p!=null&&p.__hyFeature?p:null;if(b!=null&&b.__hyFeature){const z=m6(b)||null;X2(b),m("feature-info",{feature:{id:b.__hyFeature.id,properties:b.__hyFeature.properties||{},feature:b.__hyFeature,geometry:b.__hyFeature.geometry||null,layer:b.__hyLayer,lngLat:z},screen:o});return}const y=h6(a);if(!y)return;const N=e.Cartographic.fromCartesian(y),S={lng:e.Math.toDegrees(N.longitude),lat:e.Math.toDegrees(N.latitude),height:N.height};if(B){w6(S);return}const E=v6(S,o);if(E!=null&&E.__hyFeature){X2(E),m("feature-info",{feature:{id:E.__hyFeature.id,properties:E.__hyFeature.properties||{},feature:E.__hyFeature,geometry:E.__hyFeature.geometry||null,layer:E.__hyLayer,lngLat:S},screen:o});return}if(!(u.enableTownPolygonPick&&(p!=null&&p.__hyTownName)&&N3(p.__hyTownName))){if(u.enableTownPolygonPick){const z=y6(S);if(z&&N3((M=z.properties)==null?void 0:M.name))return}if(m("map-click",{lngLat:S,screen:o,overlayLayer:T.value[0]||null}),u.enableImageryFeaturePick&&R.length){m("feature-loading",!0);try{const z=s.camera.getPickRay(a),e2=yield s.imageryLayers.pickImageryLayerFeatures(z,s.scene),X=e2==null?void 0:e2[0];if(X){const c2=R.find(k2=>{var o3;return k2.imageryProvider===((o3=X.imageryLayer)==null?void 0:o3.imageryProvider)})||R[R.length-1],s2=(c2==null?void 0:c2.__hyLayer)||T.value[0],t2=X.properties||((O=X.data)==null?void 0:O.properties)||X.data||{},u2=H0(X,t2,s2,S);_3(u2)||i2(),m("feature-info",{feature:{id:u2.id||t2.id||t2.fid||X.name,properties:u2.properties||t2,feature:u2.feature||X,geometry:u2.geometry||((H=u2.feature)==null?void 0:H.geometry)||null,layer:s2,lngLat:S},screen:o})}else i2(),m("feature-info",{feature:null,screen:o})}catch(z){i2(),m("feature-info",{feature:null,screen:o})}finally{m("feature-loading",!1)}return}i2(),u.emitEmptyFeatureInfoOnMiss&&m("feature-info",{feature:null,screen:o})}}),e.ScreenSpaceEventType.LEFT_CLICK)}function f6(e){var E,M,O,H;if(!e||!((E=s==null?void 0:s.scene)!=null&&E.canvas))return e;const t=window.Cesium,i=s.scene.canvas,l=(M=i.getBoundingClientRect)==null?void 0:M.call(i),a=Number(l==null?void 0:l.width)||0,o=Number(l==null?void 0:l.height)||0,d=Number(i.clientWidth||((O=g.value)==null?void 0:O.clientWidth))||a||1,p=Number(i.clientHeight||((H=g.value)==null?void 0:H.clientHeight))||o||1,b=Number(e.x),y=Number(e.y);if(!Number.isFinite(b)||!Number.isFinite(y)||!a||!o)return e;const N=d/a,S=p/o;return Math.abs(N-1)<.001&&Math.abs(S-1)<.001?e:new t.Cartesian2(b*N,y*S)}function h1(e){var y,N,S,E;if(!e||!((y=s==null?void 0:s.scene)!=null&&y.canvas))return null;const t=s.scene.canvas,i=(N=t.getBoundingClientRect)==null?void 0:N.call(t),l=Number(i==null?void 0:i.width)||0,a=Number(i==null?void 0:i.height)||0,o=Number(t.clientWidth||((S=g.value)==null?void 0:S.clientWidth))||l||1,d=Number(t.clientHeight||((E=g.value)==null?void 0:E.clientHeight))||a||1,p=Number(e.x),b=Number(e.y);return!Number.isFinite(p)||!Number.isFinite(b)||!i?null:{x:(Number(i.left)||0)+p*(l/o),y:(Number(i.top)||0)+b*(a/d)}}function h6(e){if(!s)return null;const t=s.camera.getPickRay(e);return t?s.scene.globe.pick(t,s.scene):null}function m6(e){var a,o,d;if(!s||!e)return null;const t=window.Cesium,i=(o=(a=e.position)==null?void 0:a.getValue)==null?void 0:o.call(a,t.JulianDate.now());if(i){const p=t.Cartographic.fromCartesian(i);return{lng:t.Math.toDegrees(p.longitude),lat:t.Math.toDegrees(p.latitude),height:p.height}}const l=B1(D((d=e.__hyFeature)==null?void 0:d.geometry));return l?{lng:l[0],lat:l[1],height:0}:null}function X2(e){var t,i,l,a,o;i2(),P=e,e.point&&(e.__hyOriginalPointSize=e.point.pixelSize,e.point.pixelSize=18),e.billboard&&(e.__hyOriginalBillboardScale=e.billboard.scale,e.billboard.scale=1.18),(t=e.__hyFeature)!=null&&t.geometry&&["Polygon","MultiPolygon","LineString","MultiLineString"].includes(e.__hyFeature.geometry.type)&&Q2(e.__hyFeature,{townName:e.__hyTownName||((l=(i=e.__hyFeature)==null?void 0:i.properties)==null?void 0:l.name),mode:"feature"}),(o=(a=s==null?void 0:s.scene)==null?void 0:a.requestRender)==null||o.call(a)}function i2(){var e,t;P!=null&&P.point&&P.__hyOriginalPointSize&&(P.point.pixelSize=P.__hyOriginalPointSize),P!=null&&P.billboard&&P.__hyOriginalBillboardScale&&(P.billboard.scale=P.__hyOriginalBillboardScale),P=null,V(J),m1(),(t=(e=s==null?void 0:s.scene)==null?void 0:e.requestRender)==null||t.call(e)}function Q2(e,t={}){var S,E,M,O;if(!s||!(e!=null&&e.geometry))return[];const i=d6({append:t.append===!0});if(!i)return[];const l=window.Cesium,a=t.mode==="town",o=t.highlightTone==="white"||t.mode==="white",d=t.highlightTone==="v21",p=a?"#30DCFF":o?"#FFFFFF":d?"#FFD166":"#FF2D2D",b=a?"#F2FFFF":o?"#FFFFFF":d?"#FFF1B8":"#FF2D2D",y={fill:l.Color.fromCssColorString(p).withAlpha((S=t.fillAlpha)!=null?S:a?.16:o?.035:d?.2:.16),stroke:l.Color.fromCssColorString(b).withAlpha((E=t.strokeAlpha)!=null?E:o?.9:.98),lineWidth:(M=t.lineWidth)!=null?M:a?4.2:o?3.8:d?4.4:5.2,pointSize:a?0:(O=t.pointSize)!=null?O:14},N=g1(e.geometry,e,i.entities,y);return N.forEach(H=>{var z;H.__hyFeature=null,H.__hyLayer=null,H.__hyTownName=t.townName||((z=e.properties)==null?void 0:z.name)||"",H.__hySelectedOverlay=!0}),J.push(...N),d1(i),N}function d6(e={}){return!s||!window.Cesium?null:(e.append&&W||(m1(),W=new window.Cesium.CustomDataSource("selected-feature-overlay"),s.dataSources.add(W),d1(W)),W)}function m1(){var t,i;if(!(s!=null&&s.dataSources)){W=null;return}Array.from(new Set([W,...((i=(t=s.dataSources).getByName)==null?void 0:i.call(t,"selected-feature-overlay"))||[]].filter(Boolean))).forEach(l=>{try{s.dataSources.remove(l,!0)}catch(a){console.warn("[cesium-map] remove selected overlay failed",a)}}),W=null,J=[]}function d1(e){var t,i;if(!(!(s!=null&&s.dataSources)||!e))try{if(s.dataSources.raiseToTop){s.dataSources.raiseToTop(e);return}for(;((i=(t=s.dataSources).indexOf)==null?void 0:i.call(t,e)){const b=i.add(p);return b.__hyFeature=t,o.push(b),b};if(e.type==="Point"){const p=K(e.coordinates);return!p||l.pointSize<=0||d({position:a.Cartesian3.fromDegrees(p[0],p[1]),point:{show:!0,color:l.fill,pixelSize:l.pointSize,outlineColor:l.stroke,outlineWidth:3,heightReference:a.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY}}),o}return e.type==="MultiPoint"?(e.coordinates.forEach(p=>{o.push(...g1({type:"Point",coordinates:p},t,i,l))}),o):e.type==="LineString"?(F3(e.coordinates,t,i,l,o),o):e.type==="MultiLineString"?(e.coordinates.forEach(p=>{F3(p,t,i,l,o)}),o):e.type==="Polygon"?(p1(e.coordinates,t,i,l,o),o):(e.type==="MultiPolygon"&&e.coordinates.forEach(p=>{p1(p,t,i,l,o)}),o)}function p1(e,t,i,l,a){const o=window.Cesium,d=v2(e);if(!d)return;const p=i.add({polygon:{hierarchy:d,height:0,heightReference:o.HeightReference.CLAMP_TO_GROUND,perPositionHeight:!1,clampToGround:!0,material:l.fill,outline:!1,classificationType:o.ClassificationType.BOTH,zIndex:999}});p.__hyFeature=t,a.push(p),e.forEach(b=>F3(b,t,i,l,a))}function F3(e,t,i,l,a){const o=window.Cesium,d=h2(e);if(d.length<2)return;const p=i.add({polyline:{positions:d,width:l.lineWidth,material:l.stroke,depthFailMaterial:l.stroke,heightReference:o.HeightReference.CLAMP_TO_GROUND,clampToGround:!0,classificationType:o.ClassificationType.BOTH,zIndex:1e3}});p.__hyFeature=t,a.push(p)}function _3(e,t={}){var o,d,p,b,y;if(!s||!e)return!1;const i=e.properties||((o=e.feature)==null?void 0:o.properties)||(typeof e=="object"?e:{}),l=D(e.geometry||((d=e.feature)==null?void 0:d.geometry)||i.geometry||i.geom||i.wkt||e);if(!l)return!1;i2();const a={type:"Feature",id:e.id||((p=e.feature)==null?void 0:p.id)||i.id,properties:i,geometry:l};return Q2(a,q({mode:"feature"},t)),(y=(b=s==null?void 0:s.scene)==null?void 0:b.requestRender)==null||y.call(b),J.length>0}function g6(e,t={}){var o;const i=D((e==null?void 0:e.geometry)||((o=e==null?void 0:e.feature)==null?void 0:o.geometry)||e);if(!i)return null;const l=_3(e,t),a=i3([o2(q({},e),{geometry:i})]);return a&&x2(a,Number(t.duration||.9)),{feature:e,highlighted:l,screen:T3(e)}}function p6(e){const t=y2(e);return t&&(f3.features||[]).find(i=>{var l;return y2((l=i==null?void 0:i.properties)==null?void 0:l.name)===t})||null}function S3(){var e,t;return((e=u.mapRanking)==null?void 0:e.scope)==="town"&&Array.isArray((t=u.mapRanking)==null?void 0:t.rows)&&u.mapRanking.rows.length>0}function y1(e){var i;if(!S3())return!1;const t=y2(e);return(((i=u.mapRanking)==null?void 0:i.rows)||[]).some(l=>y2(l.name)===t)}function y6(e){return S3()&&(f3.features||[]).find(t=>{var l;const i=(l=t==null?void 0:t.properties)==null?void 0:l.name;return y1(i)&&P1(e,D(t==null?void 0:t.geometry))})||null}function N3(e,t={}){var l,a,o,d;if(!S3()||!y1(e))return!1;const i=p6(e);return i?(i2(),Q2(i,{mode:"town",townName:((l=i.properties)==null?void 0:l.name)||e}),t.emitFeatureInfo!==!1&&m("feature-info",{feature:null}),t.emitStatus!==!1&&m("layer-status",{type:"success",text:`已选中${((a=i.properties)==null?void 0:a.name)||e}`}),(d=(o=s==null?void 0:s.scene)==null?void 0:o.requestRender)==null||d.call(o),!0):!1}function C1(e,t={}){const i=q2.find(a=>y2(a.name)===y2(e)),l=K(i==null?void 0:i.center);return l?(t.select&&N3(e,{emitFeatureInfo:!1,emitStatus:!1}),T1(l,42e3),{screen:T2(l)}):null}function b1(e={}){var d,p;const t=L6(e),i=P6(b=>M6(b,t));if(!i.length)return null;const l=A6(i),a=R6(l);i2(),P=i[0],P!=null&&P.point&&(P.__hyOriginalPointSize=P.point.pixelSize,P.point.pixelSize=18),P!=null&&P.billboard&&(P.__hyOriginalBillboardScale=P.billboard.scale,P.billboard.scale=1.18),a.forEach((b,y)=>{Q2(b,{mode:"feature",highlightTone:t.highlightTone,append:y>0})});const o=i3(l);return o?x2(o,.9):s.flyTo(i[0],{duration:.9,offset:M2(18e3)}),(p=(d=s==null?void 0:s.scene)==null?void 0:d.requestRender)==null||p.call(d),{entity:i[0],entities:i,feature:l[0]||i[0].__hyFeature,features:l,highlightFeatures:a,screen:e3(a.length?a:l)}}function w1(e={}){const t=p2(e);let i=x3(l=>t3(l,e));return i?(X2(i),s.flyTo(i,{duration:.9,offset:M2(16e3)})):t&&T1(t,16e3),{feature:(i==null?void 0:i.__hyFeature)||null,screen:E3(e)}}function F1(e={}){const t=x3(i=>t3(i,e));return t?(X2(t),s.flyTo(t,{duration:.9,offset:M2(18e3)}),{feature:t.__hyFeature,screen:L2(t.__hyFeature)}):null}function L2(e){var i;const t=B1(D((e==null?void 0:e.geometry)||((i=e==null?void 0:e.feature)==null?void 0:i.geometry)));return t?T2(t):null}function T3(e){return e3([e])||L2(e)}function e3(e=[]){const t=[];if((Array.isArray(e)?e:[e]).forEach(a=>{var b,y;const o=(a==null?void 0:a.properties)||((b=a==null?void 0:a.feature)==null?void 0:b.properties)||{},d=D((a==null?void 0:a.geometry)||((y=a==null?void 0:a.feature)==null?void 0:y.geometry)||o.geometry||o.geom||o.wkt||o.geo||o.the_geom||o.geometryWkt||o.geometry_wkt||o.shape);if(!d){const N=L2(a);N&&t.push(N);return}const p=[];A2(d.coordinates,p),t.push(...p.map(T2).filter(Boolean))}),!t.length)return null;const i=t.map(a=>Number(a.x)).filter(Number.isFinite),l=t.map(a=>Number(a.y)).filter(Number.isFinite);return!i.length||!l.length?null:{x:(Math.min(...i)+Math.max(...i))/2,y:Math.min(...l)}}function E3(e={}){var a,o;const t=p2(e);if(t)return T2(t);const i=x3(d=>t3(d,e)),l=(o=(a=i==null?void 0:i.position)==null?void 0:a.getValue)==null?void 0:o.call(a,window.Cesium.JulianDate.now());return l?toLogicalScreen(window.Cesium.SceneTransforms.wgs84ToWindowCoordinates(s.scene,l)):null}function _1(e={}){var d,p;S1();const t=B6(e.grasslands||e),i=e.highlightTone==="white",l=i?null:{fillColor:"#FF3B30",strokeColor:"#FF3B30",fillAlpha:.1,strokeAlpha:.68,lineWidth:12},a=i?{fillColor:"#F7FFFF",strokeColor:"#F7FFFF",fillAlpha:.025,strokeAlpha:.9,lineWidth:3.8}:{fillColor:"#FF2D2D",strokeColor:"#FFE1E1",fillAlpha:.3,strokeAlpha:1,lineWidth:6.2};e.locateOnly||(t.forEach(b=>{l&&N2(b,{key:"pasture-focus-glow",name:e.name||"牧场高亮"},$,l),N2(b,{key:"pasture-focus",name:e.name||"牧场高亮"},$,a)}),(Array.isArray(e.yakMarks)?e.yakMarks:[]).forEach((b,y)=>{const N=p2(b);N&&N2({type:"Feature",id:b.id||y,properties:q({},b),geometry:{type:"Point",coordinates:N}},{key:"pasture-focus-yak",name:"牦牛识别"},$,{fillColor:"#FFCB45",strokeColor:"#FFF4B8",pointSize:11})}));const o=i3(t);return o&&x2(o,.9),(p=(d=s==null?void 0:s.scene)==null?void 0:d.requestRender)==null||p.call(d),!!t.length}function S1(){var e,t;V($),(t=(e=s==null?void 0:s.scene)==null?void 0:e.requestRender)==null||t.call(e)}function C6(){i2()}function b6(e){B=!!e,B||(L=[]),k3(),m("draw-boundary",{status:B?"drawing":"clear",pointCount:L.length,points:L})}function w6(e){L.push([e.lng,e.lat]),k3(),m("draw-boundary",{status:"drawing",pointCount:L.length,points:L})}function F6(){L.pop(),k3(),m("draw-boundary",{status:"drawing",pointCount:L.length,points:L})}function _6(){if(L.length<3)return null;const e=Y3(),t=[...L,L[0]],i={type:"Feature",properties:{source:"drawn"},geometry:{type:"Polygon",coordinates:[t]}};return B=!1,L=[],V(Y),N2(i,{key:"analysis-boundary",name:"分析边界"},Y,{fillColor:"#24F6C4",strokeColor:"#B7FFF2",fillAlpha:.12,strokeAlpha:1,lineWidth:3}),m("draw-boundary",{status:"complete",pointCount:0,points:[],feature:i}),U2(e),K3(e),i}function S6(){var e,t;B=!1,L=[],V(Y),V(a2),m("draw-boundary",{status:"clear",pointCount:0,points:[]}),(t=(e=s==null?void 0:s.scene)==null?void 0:e.requestRender)==null||t.call(e)}function k3(){if(!s)return;const e=window.Cesium;V(Y),L.forEach(t=>{Y.push(s.entities.add({position:e.Cartesian3.fromDegrees(t[0],t[1],12),point:{pixelSize:10,color:e.Color.fromCssColorString("#24F6C4"),outlineColor:e.Color.WHITE,outlineWidth:2,heightReference:e.HeightReference.CLAMP_TO_GROUND,disableDepthTestDistance:Number.POSITIVE_INFINITY}}))}),L.length>1&&Y.push(s.entities.add({polyline:{positions:h2(L),width:3,material:e.Color.fromCssColorString("#24F6C4"),clampToGround:!0}})),s.scene.requestRender()}function N6(e={}){var a,o,d,p,b,y,N;const t=((a=e.boundary)==null?void 0:a.type)==="Feature"||(o=e.boundary)!=null&&o.geometry?e.boundary:null,i=e.preserveView===!0||((d=t==null?void 0:t.properties)==null?void 0:d.source)==="drawn",l=i?Y3():null;if(i&&((b=(p=s==null?void 0:s.camera)==null?void 0:p.cancelFlight)==null||b.call(p)),V(a2),t&&N2(t,{key:"analysis-result-boundary"},a2,{fillColor:"#24F6C4",strokeColor:"#B7FFF2",fillAlpha:.1,lineWidth:3}),(Array.isArray(e.matches)?e.matches:[]).forEach(S=>{const E=(S==null?void 0:S.type)==="Feature"?S:(S==null?void 0:S.feature)||null;E&&N2(E,{key:"analysis-result-feature"},a2,{fillColor:"#30DCFF",strokeColor:"#C9FBFF",fillAlpha:.1,lineWidth:2.6})}),i)U2(l),K3(l);else{const S=[t,...e.matches||[]].filter(Boolean),E=i3(S);E&&x2(E,.9)}(N=(y=s==null?void 0:s.scene)==null?void 0:y.requestRender)==null||N.call(y)}function T6(e={}){if(!s||!window.Cesium)return 0;const t=Array.isArray(e.features)?e.features:[];if(!t.length)return 0;const i=window.Cesium,l=String(e.key||"engineering-suitability"),a={key:`engineering-suitability-${l}`,name:e.name||"工程适宜实施区域",sourceType:"analysis"},o=b3(i,e.color||"#FFD43B",.52),d=[];if(x6(t),t.forEach(y=>{const N=D(y==null?void 0:y.geometry);((N==null?void 0:N.type)==="Polygon"?[N.coordinates]:(N==null?void 0:N.type)==="MultiPolygon"?N.coordinates:[]).forEach((E,M)=>{var H,z;const O=v2(E);if(O)try{const e2=o2(q({},y),{id:y.id||`${l}-${d.length}`,properties:o2(q({},y.properties||{}),{engineering_type:((H=y.properties)==null?void 0:H.engineering_type)||l,engineering_name:((z=y.properties)==null?void 0:z.engineering_name)||e.name})});d.push(new i.GeometryInstance({id:{__hyFeature:e2,__hyLayer:a,__hyEngineeringType:l,__hyPolygonIndex:M},geometry:new i.PolygonGeometry({polygonHierarchy:O,vertexFormat:i.PerInstanceColorAppearance.VERTEX_FORMAT}),attributes:{color:i.ColorGeometryInstanceAttribute.fromColor(o)}}))}catch(e2){console.warn("[cesium-map] engineering suitability geometry skipped",y==null?void 0:y.id,e2)}})}),!d.length)return 0;const p=s.scene.primitives.add(new i.GroundPrimitive({geometryInstances:d,appearance:new i.PerInstanceColorAppearance({translucent:!0,closed:!0,flat:!0}),classificationType:i.ClassificationType.TERRAIN,allowPicking:!0,asynchronous:!0,releaseGeometryInstances:!0}));p.__hyEngineeringType=l,p.show=!0;const b=_2.get(l)||[];return b.push(p),_2.set(l,b),s.scene.requestRender(),d.length}function E6(e,t){var l,a;(_2.get(String(e||""))||[]).forEach(o=>{o.show=t!==!1}),(a=(l=s==null?void 0:s.scene)==null?void 0:l.requestRender)==null||a.call(l)}function k6(){var e,t;S2&&x2(S2,.8),(t=(e=s==null?void 0:s.scene)==null?void 0:e.requestRender)==null||t.call(e)}function N1(){var e,t;i2(),_2.forEach(i=>{i.forEach(l=>{var a,o,d;return(d=(o=(a=s==null?void 0:s.scene)==null?void 0:a.primitives)==null?void 0:o.remove)==null?void 0:d.call(o,l)})}),_2.clear(),S2=null,(t=(e=s==null?void 0:s.scene)==null?void 0:e.requestRender)==null||t.call(e)}function x6(e=[]){const t=S2||{west:1/0,south:1/0,east:-1/0,north:-1/0};e.forEach(i=>{const l=D(i==null?void 0:i.geometry);if(!l)return;const a=[];A2(l.coordinates,a),a.forEach(o=>{t.west=Math.min(t.west,Number(o[0])),t.south=Math.min(t.south,Number(o[1])),t.east=Math.max(t.east,Number(o[0])),t.north=Math.max(t.north,Number(o[1]))})}),[t.west,t.south,t.east,t.north].every(Number.isFinite)&&(S2=t)}function T1(e,t=22e3,i=.9){if(!s||!e)return;const l=window.Cesium,a=l.Cartesian3.fromDegrees(e[0],e[1],y3());s.camera.flyToBoundingSphere(new l.BoundingSphere(a,1),{offset:M2(t),duration:i})}function x2(e,t=.9){if(!s||!e)return;const i=window.Cesium,l=[(Number(e.west)+Number(e.east))/2,(Number(e.south)+Number(e.north))/2];if(!l.every(Number.isFinite))return;const a=Math.max(Math.abs(Number(e.east)-Number(e.west)),Math.abs(Number(e.north)-Number(e.south))),o=Math.max(18e3,Math.min(16e4,a*135e3)),d=i.Cartesian3.fromDegrees(l[0],l[1],y3());s.camera.flyToBoundingSphere(new i.BoundingSphere(d,1),{offset:M2(o),duration:t})}function E1(e){if(!s||!e)return;const t=e.mapView||(e.cameraPosition?{cameraPosition:e.cameraPosition}:null);if(!t)return;const i=window.Cesium,l=Number.isFinite(Number(t.duration))?Number(t.duration):.9,a=K(t.targetLngLat);if(a){const o=J3(u.initialZoom),d=Number.isFinite(Number(t.distanceScale))?Number(t.distanceScale):1,p=Math.max(18e3,Math.min(56e4,o*d)),b=Number.isFinite(Number(t.targetHeight))?Number(t.targetHeight):y3(),y=Number.isFinite(Number(t.heading))?Number(t.heading):o0,N=Number.isFinite(Number(t.pitch))?Number(t.pitch):s0,S=i.Cartesian3.fromDegrees(a[0],a[1],b);s.camera.flyToBoundingSphere(new i.BoundingSphere(S,1),{offset:new i.HeadingPitchRange(i.Math.toRadians(y),i.Math.toRadians(N),p),duration:l});return}t.bounds&&x2(t.bounds,l)}function M2(e){const t=window.Cesium;return new t.HeadingPitchRange(t.Math.toRadians(o0),t.Math.toRadians(s0),e)}function T2(e){if(!s||!e)return null;const t=window.Cesium,i=t.Cartesian3.fromDegrees(e[0],e[1],16);return h1(t.SceneTransforms.wgs84ToWindowCoordinates(s.scene,i))}function x3(e){return[...G,...$].find(t=>t.__hyFeature&&e(t.__hyFeature))||null}function P6(e){return[...G,...$].filter(t=>t.__hyFeature&&e(t.__hyFeature))}function v6(e,t){if(!Number.isFinite(e==null?void 0:e.lng)||!Number.isFinite(e==null?void 0:e.lat))return null;const i=k1(G),l=i.map(o=>{var d;return{entity:o,geometry:D((d=o.__hyFeature)==null?void 0:d.geometry)}}).filter(o=>o.geometry&&P1(e,o.geometry)).sort((o,d)=>v1(o.geometry)-v1(d.geometry));if(l.length)return l[0].entity;const a=i.map(o=>{var d;return{entity:o,distance:D6(D((d=o.__hyFeature)==null?void 0:d.geometry),t),tolerance:I6(o)}}).filter(o=>Number.isFinite(o.distance)).sort((o,d)=>o.distance-d.distance)[0];return(a==null?void 0:a.distance)<=((a==null?void 0:a.tolerance)||18)?a.entity:null}function I6(e){var i,l,a;const t=(l=D((i=e==null?void 0:e.__hyFeature)==null?void 0:i.geometry))==null?void 0:l.type;return["Point","MultiPoint"].includes(t)?((a=e==null?void 0:e.__hyLayer)==null?void 0:a.key)==="yak-industry-points"?36:28:18}function t3(e,t={}){const i=(e==null?void 0:e.properties)||{},l=[t.id,t.key,t.featureId,t.projectId].filter(y=>y!=null&&y!=="").map(String),a=[e.id,i.id,i.key,i.feature_id,i.project_id].filter(y=>y!=null&&y!=="").map(String);if(l.some(y=>a.includes(y)))return!0;const o=[t.name,t.fullName,t.projectName].filter(Boolean).map(String),d=[i.name,i.fullName,i.project_name,i.projectName].filter(Boolean).map(String);if(o.some(y=>d.includes(y)))return!0;const p=p2(t),b=p2(o2(q({},i),{geometry:e.geometry}));return!!(p&&b&&Math.abs(p[0]-b[0])<2e-5&&Math.abs(p[1]-b[1])<2e-5)}function L6(e={}){return e&&typeof e=="object"?e:{name:e,projectName:e,project_name:e}}function M6(e,t={}){if(t3(e,t))return!0;const i=(e==null?void 0:e.properties)||{},l=n3([t.id,t.key,t.featureId,t.projectId,t.project_id]),a=n3([e==null?void 0:e.id,i.id,i.key,i.feature_id,i.project_id,i.gid]);if(l.some(p=>a.includes(p)))return!0;const o=n3([t.name,t.fullName,t.projectName,t.project_name,t.title]),d=n3([i.name,i.fullName,i.project_name,i.projectName,i.title]);return o.some(p=>d.includes(p))}function n3(e=[]){const t=[];return e.forEach(i=>{if(i==null||i==="")return;const l=String(i).trim();if(!l)return;t.push(l);const a=l.replace(/\s+/g,"");a&&a!==l&&t.push(a)}),Array.from(new Set(t))}function k1(e=[]){const t=new Set;return e.filter(i=>{const l=i==null?void 0:i.__hyFeature;return!l||t.has(l)?!1:(t.add(l),!0)})}function A6(e=[]){return k1(e).map(t=>t.__hyFeature).filter(Boolean)}function R6(e=[]){const t=e.filter(l=>{var o;const a=String(((o=D(l==null?void 0:l.geometry))==null?void 0:o.type)||"");return a.includes("Polygon")||a.includes("LineString")}),i=t.filter(l=>{var a;return((a=l==null?void 0:l.properties)==null?void 0:a.feature_role)==="工程范围"});return i.length?i:t}function B6(e){return(Array.isArray(e)?e:(e==null?void 0:e.grasslands)||(e==null?void 0:e.features)||(e==null?void 0:e.rows)||(e==null?void 0:e.list)||(e?[e]:[])).map((i,l)=>{var o,d;if((i==null?void 0:i.type)==="Feature")return i;const a=D(i==null?void 0:i.geometry)||P3(n1(i));return a?{type:"Feature",id:(d=(o=i==null?void 0:i.id)!=null?o:i==null?void 0:i.grasslandId)!=null?d:l,properties:q({},i),geometry:a}:null}).filter(Boolean)}function D(e){if(!e)return null;if(e.type==="Feature")return D(e.geometry);if(e.type&&Array.isArray(e.coordinates))return e;if(typeof e=="string"){const t=e.trim();if(!t)return null;if(t.startsWith("{")||t.startsWith("["))try{return D(JSON.parse(t))}catch(i){return null}return P3(t)}return null}function P3(e){const i=String(e||"").trim().replace(/^SRID=\d+;/i,"").match(/^([A-Z]+)(?:\s+[A-Z]+)?\s*(\(.+\))$/i);if(!i)return null;const l=i[1].toUpperCase(),a=i[2];return l==="POINT"?{type:"Point",coordinates:v3(a)}:l==="MULTIPOINT"?{type:"MultiPoint",coordinates:r3(a).map(v3).filter(Boolean)}:l==="LINESTRING"?{type:"LineString",coordinates:I3(a)}:l==="MULTILINESTRING"?{type:"MultiLineString",coordinates:r3(a).map(I3).filter(o=>o.length)}:l==="POLYGON"?{type:"Polygon",coordinates:x1(a)}:l==="MULTIPOLYGON"?{type:"MultiPolygon",coordinates:r3(a).map(x1).filter(o=>o.length)}:null}function v3(e){const t=String(e||"").replace(/^\(+|\)+$/g,"").trim().split(/\s+/).slice(0,2).map(Number);return t.length===2&&t.every(Number.isFinite)?t:null}function I3(e){return String(e||"").replace(/^\(+|\)+$/g,"").split(",").map(v3).filter(Boolean)}function x1(e){return r3(e).map(I3).filter(t=>t.length>=3)}function r3(e){const t=String(e||"").trim(),i=t.startsWith("(")&&t.endsWith(")")?t.slice(1,-1):t,l=[];let a=0,o=-1;return Array.from(i).forEach((d,p)=>{d==="("?(a===0&&(o=p),a+=1):d===")"&&(a-=1,a===0&&o>=0&&(l.push(i.slice(o,p+1)),o=-1))}),l.length?l:[i]}function h2(e=[],t=8){const i=window.Cesium;return e.map(K).filter(Boolean).map(l=>i.Cartesian3.fromDegrees(l[0],l[1],t))}function K(e){if(!Array.isArray(e)||e.length<2)return null;const t=Number(e[0]),i=Number(e[1]);return Number.isFinite(t)&&Number.isFinite(i)?[t,i]:null}function p2(e={}){const t=D(e.geometry);return(t==null?void 0:t.type)==="Point"?K(t.coordinates):[[e.longitude,e.latitude],[e.lng,e.lat],[e.lon,e.lat],[e.x,e.y],e.point,e.center,e.centroid,e.coordinates].map(K).find(Boolean)||null}function P1(e,t){return!e||!(t!=null&&t.coordinates)?!1:t.type==="Polygon"?A1(e,t.coordinates):t.type==="MultiPolygon"?t.coordinates.some(i=>A1(e,i)):!1}function v1(e){return e!=null&&e.coordinates?e.type==="Polygon"?I1(e.coordinates):e.type==="MultiPolygon"?e.coordinates.reduce((t,i)=>t+I1(i),0):Number.POSITIVE_INFINITY:Number.POSITIVE_INFINITY}function I1(e=[]){const t=e[0]||[];if(t.length<3)return Number.POSITIVE_INFINITY;let i=0;for(let l=0;lL1(i,t))):e.type==="LineString"?M1(e.coordinates,t):e.type==="MultiLineString"?Math.min(...e.coordinates.map(i=>M1(i,t))):Number.POSITIVE_INFINITY}function L1(e,t){const i=T2(K(e));return i?Math.hypot(Number(i.x)-Number(t.x),Number(i.y)-Number(t.y)):Number.POSITIVE_INFINITY}function M1(e=[],t){if(!Array.isArray(e)||e.length<2)return Number.POSITIVE_INFINITY;let i=Number.POSITIVE_INFINITY;for(let l=1;lR1(e,i))}function R1(e,t=[]){if(t.length<3)return!1;const i=Number(e.lng),l=Number(e.lat);if(!Number.isFinite(i)||!Number.isFinite(l))return!1;let a=!1;for(let o=0,d=t.length-1;ol!=E>l&&i<(S-y)*(l-N)/(E-N)+y&&(a=!a)}return a}function G6(e,t,i,l,a,o){const d=(e-i)*(o-l)-(t-l)*(a-i);return Math.abs(d)>1e-10?!1:(e-i)*(e-a)+(t-l)*(t-o)<=1e-10}function B1(e){if(!e)return null;if(e.type==="Point")return K(e.coordinates);const t=[];return A2(e.coordinates,t),t.length?[t.reduce((i,l)=>i+l[0],0)/t.length,t.reduce((i,l)=>i+l[1],0)/t.length]:null}function A2(e,t){const i=K(e);if(i&&!Array.isArray(e[0])){t.push(i);return}Array.isArray(e)&&e.forEach(l=>A2(l,t))}function i3(e=[]){const t=[];if(e.forEach(d=>{var b;const p=D((d==null?void 0:d.geometry)||((b=d==null?void 0:d.feature)==null?void 0:b.geometry)||d);p&&A2(p.coordinates,t)}),!t.length)return null;const i=t.map(d=>d[0]),l=t.map(d=>d[1]),a=Math.max(.006,(Math.max(...i)-Math.min(...i))*.18),o=Math.max(.006,(Math.max(...l)-Math.min(...l))*.18);return{west:Math.max(j.west,Math.min(...i)-a),south:Math.max(j.south,Math.min(...l)-o),east:Math.min(j.east,Math.max(...i)+a),north:Math.min(j.north,Math.max(...l)+o)}}function V(e){if(!s){e.length=0;return}e.splice(0).forEach(t=>s.entities.remove(t))}function D1(){R.splice(0).forEach(e=>{var t,i;return(i=(t=s==null?void 0:s.imageryLayers)==null?void 0:t.remove)==null?void 0:i.call(t,e,!0)}),V(G),i2()}function R2(){var e,t,i;v+=1,(e=_==null?void 0:_.disconnect)==null||e.call(_),_=null,x==null||x(),x=null,k==null||k(),k=null,(t=w==null?void 0:w.destroy)==null||t.call(w),w=null,D1(),V(d0),V(g2),V(U),V(Z),V($),V(Y),V(a2),N1(),s&&!((i=s.isDestroyed)!=null&&i.call(s))&&s.destroy(),s=null,A=null,F.value=null,C.value&&C.value.replaceChildren()}function E2(e,t=1){const i=Number(e);return Number.isFinite(i)?Math.max(0,Math.min(1,i)):t}function y2(e){return String(e||"").trim().replace(/(镇|乡)$/,"")}function H6(e){const t=Number(e);return Number.isFinite(t)?Number.isInteger(t)?String(t):String(Number(t.toFixed(2))):"--"}return n({loadMap:_0,hasMap:S0,play:N0,resume:U3,pause:T0,refreshView:V2,resetView:E0,focusLayerMapView:k0,destroyMap:R2,highlightFeature:_3,focusGeometry:g6,clearSelectedFeature:i2,clearFloatingOverlays:C6,focusProject:b1,focusPasture:_1,clearPastureFocus:S1,focusTown:C1,focusYakIndustryPoint:w1,focusVectorFeature:F1,getVectorFeatureAnchorScreen:T3,getVectorFeaturesAnchorScreen:e3,getVectorFeatureScreen:L2,getYakIndustryPointScreen:E3,setBoundaryDrawing:b6,finishBoundaryDrawing:_6,undoBoundaryPoint:F6,clearAnalysisBoundary:S6,showAnalysisResult:N6,addEngineeringSuitabilityBatch:T6,setEngineeringSuitabilityVisibility:E6,completeEngineeringSuitability:k6,clearEngineeringSuitability:N1,canvasMap:F}),(e,t)=>(Z6(),J6("div",{ref_key:"containerRef",ref:g,class:"cesium-map"},[X6("div",{ref_key:"viewerRef",ref:C,class:"cesium-map__viewer"},null,512)],512))}},S5=V6(l5,[["__scopeId","data-v-0ebe2e89"]]);export{y5 as C,p5 as H,S5 as M,m5 as S,h5 as W,b5 as a,W9 as b,g5 as c,H9 as d,d5 as e,f0 as f,z9 as g,q2 as h,w5 as i,M9 as j,j as k,R9 as l,B9 as m,k9 as n,P9 as o,_5 as p,F5 as q,C5 as r}; diff --git a/docs/assets/index-80d486d8-balabala-1786725044461.css b/docs/assets/index-80d486d8-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-80d486d8-balabala-1786725044461.css rename to docs/assets/index-80d486d8-balabala-1786807848259.css diff --git a/docs/assets/index-8d752fbe-balabala-1786725044461.css b/docs/assets/index-8d752fbe-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-8d752fbe-balabala-1786725044461.css rename to docs/assets/index-8d752fbe-balabala-1786807848259.css diff --git a/docs/assets/index-f4d712b0-balabala-1786725044461.css b/docs/assets/index-8e5212af-balabala-1786807848259.css similarity index 97% rename from docs/assets/index-f4d712b0-balabala-1786725044461.css rename to docs/assets/index-8e5212af-balabala-1786807848259.css index d98824c..c10481f 100644 --- a/docs/assets/index-f4d712b0-balabala-1786725044461.css +++ b/docs/assets/index-8e5212af-balabala-1786807848259.css @@ -1 +1 @@ -.login-screen[data-v-629c854a]{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(180deg,rgba(3,15,32,.18),rgba(1,7,18,.72)),url(./bg-3acb94e3-balabala-1786725044461.png) center/cover no-repeat,#030f21;color:#fff}.login-screen[data-v-629c854a]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 28% 47%,rgba(48,220,255,.17),transparent 28%),linear-gradient(90deg,rgba(0,4,13,.28),transparent 45%,rgba(0,4,13,.48))}.login-screen[data-v-629c854a]:after{content:"";position:absolute;right:0;bottom:0;left:0;height:1px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.64),transparent)}.login-shell[data-v-629c854a]{position:relative;z-index:1;width:min(1000px,100vw - 64px);min-height:530px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);overflow:hidden;border:1px solid rgba(91,224,244,.38);border-radius:4px;background:rgba(3,20,34,.66);box-shadow:0 28px 90px #00040e7a,inset 0 0 0 1px #7efbf60a;backdrop-filter:blur(14px);box-sizing:border-box}.login-shell[data-v-629c854a]:before,.login-shell[data-v-629c854a]:after{content:"";position:absolute;z-index:2;width:84px;height:2px;background:#30dcff;box-shadow:0 0 14px #30dcff8f}.login-shell[data-v-629c854a]:before{top:-1px;left:-1px}.login-shell[data-v-629c854a]:after{right:-1px;bottom:-1px}.login-brand[data-v-629c854a]{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;overflow:hidden;padding:66px 64px;border-right:1px solid rgba(91,224,244,.16);background:linear-gradient(130deg,rgba(48,220,255,.08),transparent 48%),rgba(3,25,41,.36);box-sizing:border-box}.login-brand h1[data-v-629c854a]{position:relative;z-index:1;margin:24px 0 0;color:#f4fdff;font-size:48px;font-weight:750;line-height:1.34;letter-spacing:2px;text-shadow:0 0 24px rgba(48,220,255,.28)}.login-brand-rule[data-v-629c854a]{position:relative;z-index:1;display:grid;grid-template-columns:5px minmax(0,150px) 5px;align-items:center;gap:7px}.login-brand-rule i[data-v-629c854a]{width:5px;height:5px;border:1px solid #7efbf6;transform:rotate(45deg)}.login-brand-rule span[data-v-629c854a]{height:1px;background:linear-gradient(90deg,#30dcff,rgba(48,220,255,.08))}.login-brand-glow[data-v-629c854a]{position:absolute;right:24px;bottom:34px;width:190px;height:190px;border:1px solid rgba(48,220,255,.13);border-radius:50%;box-shadow:inset 0 0 52px #30dcff0d,0 0 50px #30dcff0a}.login-brand-glow[data-v-629c854a]:before{content:"";position:absolute;top:28px;right:28px;bottom:28px;left:28px;border:1px solid rgba(126,251,246,.1);border-radius:50%}.login-panel[data-v-629c854a]{align-self:center;width:100%;padding:54px 54px 50px;box-sizing:border-box}.login-panel-head[data-v-629c854a]{margin-bottom:38px}.login-panel-title[data-v-629c854a]{color:#fff;font-size:28px;font-weight:750;line-height:38px;letter-spacing:1px}.login-panel-head>span[data-v-629c854a]{display:block;width:42px;height:2px;margin-top:10px;background:linear-gradient(90deg,#30dcff,rgba(48,220,255,.1));box-shadow:0 0 10px #30dcff59}.login-field[data-v-629c854a]{display:block;margin-bottom:24px}.login-password-control[data-v-629c854a]{position:relative;display:block;margin:0!important}.login-field span[data-v-629c854a]{display:block;margin-bottom:9px;color:#d8f9fdbd;font-size:13px;letter-spacing:.5px}.login-field input[data-v-629c854a]{width:100%;height:52px;padding:0 16px;border:1px solid rgba(91,224,244,.28);border-radius:2px;outline:none;background:rgba(0,11,23,.62);color:#fff;font-size:16px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;box-sizing:border-box}.login-field input[data-v-629c854a]::placeholder{color:#bce1e861}.login-password-field input[data-v-629c854a]{padding-right:64px}.login-field input[data-v-629c854a]:focus{border-color:#7efbf6c2;background:rgba(0,15,29,.78);box-shadow:0 0 0 2px #7efbf614,inset 3px 0 #30dcffb3}.login-field input[data-v-629c854a]:-webkit-autofill,.login-field input[data-v-629c854a]:-webkit-autofill:hover,.login-field input[data-v-629c854a]:-webkit-autofill:focus{-webkit-text-fill-color:#ffffff;caret-color:#fff;box-shadow:0 0 0 1000px #061c2b inset,0 0 0 2px #7efbf61f;transition:background-color 9999s ease-out}.login-password-toggle[data-v-629c854a]{position:absolute;right:7px;top:50%;width:54px;height:36px;padding:0;border:0;background:transparent;color:#7efbf6d1;cursor:pointer;font-size:12px;transform:translateY(-50%)}.login-password-toggle[data-v-629c854a]:focus-visible,.login-submit[data-v-629c854a]:focus-visible,.login-secondary[data-v-629c854a]:focus-visible{outline:2px solid #7efbf6;outline-offset:2px}.login-field-assist[data-v-629c854a]{margin:-12px 0 14px;color:#d3f1f794;font-size:12px;line-height:20px}.login-caps-lock[data-v-629c854a]{color:#ffd76c}.login-error[data-v-629c854a]{min-height:20px;margin:-8px 0 14px;color:#ffcf8a;font-size:13px;line-height:20px}.login-submit[data-v-629c854a]{width:100%;height:52px;border:1px solid rgba(126,251,246,.58);border-radius:2px;background:linear-gradient(100deg,rgba(20,126,161,.96),rgba(37,191,202,.96));color:#fff;cursor:pointer;font-size:16px;font-weight:700;letter-spacing:2px;box-shadow:0 8px 24px #1184a62e,inset 0 1px #ffffff21;transition:border-color .16s ease,filter .16s ease,transform .16s ease}.login-submit[data-v-629c854a]:hover:not(:disabled){border-color:#d3ffffe6;filter:brightness(1.08);transform:translateY(-1px)}.login-submit[data-v-629c854a]:disabled{cursor:not-allowed;opacity:.68}.login-secondary[data-v-629c854a]{width:100%;height:44px;margin-top:12px;border:1px solid rgba(126,251,246,.34);border-radius:2px;background:rgba(8,42,60,.52);color:#e0fbffe6;cursor:pointer}.login-secondary[data-v-629c854a]:hover{border-color:#7efbf6b8;background:rgba(12,61,82,.72)}@media (max-width: 900px){.login-shell[data-v-629c854a]{grid-template-columns:1fr;width:min(560px,100vw - 32px);min-height:0}.login-brand[data-v-629c854a]{min-height:150px;padding:30px 34px;border-right:0;border-bottom:1px solid rgba(91,224,244,.16)}.login-brand h1[data-v-629c854a]{margin-top:15px;font-size:28px;line-height:1.3}.login-panel[data-v-629c854a]{padding:34px}.login-panel-head[data-v-629c854a]{margin-bottom:28px}}@media (prefers-reduced-motion: reduce){.login-field input[data-v-629c854a],.login-submit[data-v-629c854a]{transition:none}} +.login-screen[data-v-629c854a]{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(180deg,rgba(3,15,32,.18),rgba(1,7,18,.72)),url(./bg-3acb94e3-balabala-1786807848259.png) center/cover no-repeat,#030f21;color:#fff}.login-screen[data-v-629c854a]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 28% 47%,rgba(48,220,255,.17),transparent 28%),linear-gradient(90deg,rgba(0,4,13,.28),transparent 45%,rgba(0,4,13,.48))}.login-screen[data-v-629c854a]:after{content:"";position:absolute;right:0;bottom:0;left:0;height:1px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.64),transparent)}.login-shell[data-v-629c854a]{position:relative;z-index:1;width:min(1000px,100vw - 64px);min-height:530px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);overflow:hidden;border:1px solid rgba(91,224,244,.38);border-radius:4px;background:rgba(3,20,34,.66);box-shadow:0 28px 90px #00040e7a,inset 0 0 0 1px #7efbf60a;backdrop-filter:blur(14px);box-sizing:border-box}.login-shell[data-v-629c854a]:before,.login-shell[data-v-629c854a]:after{content:"";position:absolute;z-index:2;width:84px;height:2px;background:#30dcff;box-shadow:0 0 14px #30dcff8f}.login-shell[data-v-629c854a]:before{top:-1px;left:-1px}.login-shell[data-v-629c854a]:after{right:-1px;bottom:-1px}.login-brand[data-v-629c854a]{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;overflow:hidden;padding:66px 64px;border-right:1px solid rgba(91,224,244,.16);background:linear-gradient(130deg,rgba(48,220,255,.08),transparent 48%),rgba(3,25,41,.36);box-sizing:border-box}.login-brand h1[data-v-629c854a]{position:relative;z-index:1;margin:24px 0 0;color:#f4fdff;font-size:48px;font-weight:750;line-height:1.34;letter-spacing:2px;text-shadow:0 0 24px rgba(48,220,255,.28)}.login-brand-rule[data-v-629c854a]{position:relative;z-index:1;display:grid;grid-template-columns:5px minmax(0,150px) 5px;align-items:center;gap:7px}.login-brand-rule i[data-v-629c854a]{width:5px;height:5px;border:1px solid #7efbf6;transform:rotate(45deg)}.login-brand-rule span[data-v-629c854a]{height:1px;background:linear-gradient(90deg,#30dcff,rgba(48,220,255,.08))}.login-brand-glow[data-v-629c854a]{position:absolute;right:24px;bottom:34px;width:190px;height:190px;border:1px solid rgba(48,220,255,.13);border-radius:50%;box-shadow:inset 0 0 52px #30dcff0d,0 0 50px #30dcff0a}.login-brand-glow[data-v-629c854a]:before{content:"";position:absolute;top:28px;right:28px;bottom:28px;left:28px;border:1px solid rgba(126,251,246,.1);border-radius:50%}.login-panel[data-v-629c854a]{align-self:center;width:100%;padding:54px 54px 50px;box-sizing:border-box}.login-panel-head[data-v-629c854a]{margin-bottom:38px}.login-panel-title[data-v-629c854a]{color:#fff;font-size:28px;font-weight:750;line-height:38px;letter-spacing:1px}.login-panel-head>span[data-v-629c854a]{display:block;width:42px;height:2px;margin-top:10px;background:linear-gradient(90deg,#30dcff,rgba(48,220,255,.1));box-shadow:0 0 10px #30dcff59}.login-field[data-v-629c854a]{display:block;margin-bottom:24px}.login-password-control[data-v-629c854a]{position:relative;display:block;margin:0!important}.login-field span[data-v-629c854a]{display:block;margin-bottom:9px;color:#d8f9fdbd;font-size:13px;letter-spacing:.5px}.login-field input[data-v-629c854a]{width:100%;height:52px;padding:0 16px;border:1px solid rgba(91,224,244,.28);border-radius:2px;outline:none;background:rgba(0,11,23,.62);color:#fff;font-size:16px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;box-sizing:border-box}.login-field input[data-v-629c854a]::placeholder{color:#bce1e861}.login-password-field input[data-v-629c854a]{padding-right:64px}.login-field input[data-v-629c854a]:focus{border-color:#7efbf6c2;background:rgba(0,15,29,.78);box-shadow:0 0 0 2px #7efbf614,inset 3px 0 #30dcffb3}.login-field input[data-v-629c854a]:-webkit-autofill,.login-field input[data-v-629c854a]:-webkit-autofill:hover,.login-field input[data-v-629c854a]:-webkit-autofill:focus{-webkit-text-fill-color:#ffffff;caret-color:#fff;box-shadow:0 0 0 1000px #061c2b inset,0 0 0 2px #7efbf61f;transition:background-color 9999s ease-out}.login-password-toggle[data-v-629c854a]{position:absolute;right:7px;top:50%;width:54px;height:36px;padding:0;border:0;background:transparent;color:#7efbf6d1;cursor:pointer;font-size:12px;transform:translateY(-50%)}.login-password-toggle[data-v-629c854a]:focus-visible,.login-submit[data-v-629c854a]:focus-visible,.login-secondary[data-v-629c854a]:focus-visible{outline:2px solid #7efbf6;outline-offset:2px}.login-field-assist[data-v-629c854a]{margin:-12px 0 14px;color:#d3f1f794;font-size:12px;line-height:20px}.login-caps-lock[data-v-629c854a]{color:#ffd76c}.login-error[data-v-629c854a]{min-height:20px;margin:-8px 0 14px;color:#ffcf8a;font-size:13px;line-height:20px}.login-submit[data-v-629c854a]{width:100%;height:52px;border:1px solid rgba(126,251,246,.58);border-radius:2px;background:linear-gradient(100deg,rgba(20,126,161,.96),rgba(37,191,202,.96));color:#fff;cursor:pointer;font-size:16px;font-weight:700;letter-spacing:2px;box-shadow:0 8px 24px #1184a62e,inset 0 1px #ffffff21;transition:border-color .16s ease,filter .16s ease,transform .16s ease}.login-submit[data-v-629c854a]:hover:not(:disabled){border-color:#d3ffffe6;filter:brightness(1.08);transform:translateY(-1px)}.login-submit[data-v-629c854a]:disabled{cursor:not-allowed;opacity:.68}.login-secondary[data-v-629c854a]{width:100%;height:44px;margin-top:12px;border:1px solid rgba(126,251,246,.34);border-radius:2px;background:rgba(8,42,60,.52);color:#e0fbffe6;cursor:pointer}.login-secondary[data-v-629c854a]:hover{border-color:#7efbf6b8;background:rgba(12,61,82,.72)}@media (max-width: 900px){.login-shell[data-v-629c854a]{grid-template-columns:1fr;width:min(560px,100vw - 32px);min-height:0}.login-brand[data-v-629c854a]{min-height:150px;padding:30px 34px;border-right:0;border-bottom:1px solid rgba(91,224,244,.16)}.login-brand h1[data-v-629c854a]{margin-top:15px;font-size:28px;line-height:1.3}.login-panel[data-v-629c854a]{padding:34px}.login-panel-head[data-v-629c854a]{margin-bottom:28px}}@media (prefers-reduced-motion: reduce){.login-field input[data-v-629c854a],.login-submit[data-v-629c854a]{transition:none}} diff --git a/docs/assets/index-a11fe06e-1786725044461.js b/docs/assets/index-a11fe06e-1786725044461.js deleted file mode 100644 index ff56691..0000000 --- a/docs/assets/index-a11fe06e-1786725044461.js +++ /dev/null @@ -1,16 +0,0 @@ -var jt=Object.defineProperty,Kt=Object.defineProperties;var Bt=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var Gt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable;var rt=(a,i,n)=>i in a?jt(a,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[i]=n,J=(a,i)=>{for(var n in i||(i={}))Gt.call(i,n)&&rt(a,n,i[n]);if(st)for(var n of st(i))Ut.call(i,n)&&rt(a,n,i[n]);return a},Ae=(a,i)=>Kt(a,Bt(i));var he=(a,i,n)=>new Promise((u,r)=>{var h=w=>{try{_(n.next(w))}catch(p){r(p)}},v=w=>{try{_(n.throw(w))}catch(p){r(p)}},_=w=>w.done?u(w.value):Promise.resolve(w.value).then(h,v);_((n=n.apply(a,i)).next())});import{o as d,c as m,a as s,t as $,r as ye,b as x,d as y,p as ut,w as Oe,i as ct,n as K,u as A,e as pe,f as dt,g as R,h as pt,j as k,k as Yt,l as Qt,m as Zt,q as Jt,s as P,v as q,x as Le,F as ve,y as De,z as Xt,A as Fe,B as ea,C as ta,D as N,E as aa,_ as z}from"./index-1786725044461.js";import{g as ee}from"./index-db918426-1786725044461.js";import{_ as gt}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const mt=""+new URL("bottom-menu-arrow-big-180b7071-balabala-1786725044461.svg",import.meta.url).href,ft=""+new URL("bottom-menu-arrow-small-19304179-balabala-1786725044461.svg",import.meta.url).href;/** - * @name: autofit.js - * @author: Larry Zhu - * @version: 3.2.8 - * @description: autofit.js 是迄今为止最易用的自适应工具 - * @license: MIT - */let Ee=null,ae="",Ne="",ze="",Ie=null,ht=null,S=1,X=!1;const ke={isAutofitRunning:!1,init(a={},i=!0){i&&console.log("autofit.js is running");const{dw:n=1920,dh:u=1080,el:r=typeof a=="string"?a:"body",resize:h=!0,ignore:v=[],transition:_="none",delay:w=0,limit:p=.1,cssMode:C="scale",allowScroll:M=!1}=a;Ee=r;const c=document.querySelector(r);if(!c){console.error(`autofit: '${r}' is not exist`);return}const g=document.createElement("style"),V=document.createElement("style");g.lang="text/css",V.lang="text/css",g.id="autofit-style",V.id="ignoreStyle",!M&&(g.innerHTML="body {overflow: hidden;}");const T=document.querySelector("body");T.appendChild(g),T.appendChild(V),c.style.height=`${u}px`,c.style.width=`${n}px`,c.style.transformOrigin="0 0",!M&&(c.style.overflow="hidden"),Pe(n,u,c,v,p,C),Ie=()=>{clearTimeout(ht),w!=0?ht=setTimeout(()=>{Pe(n,u,c,v,p,C),X&&He(ae,ze,Ne)},w):(Pe(n,u,c,v,p,C),X&&He(ae,ze,Ne))},h&&window.addEventListener("resize",Ie),this.isAutofitRunning=!0,setTimeout(()=>{c.style.transition=`${_}s`})},off(a="body"){try{window.removeEventListener("resize",Ie);const i=document.querySelector("#autofit-style");i&&i.remove();const n=document.querySelector("#ignoreStyle");n&&n.remove();const u=document.querySelector(Ee||a);u&&(u.style.cssText=""),X&&kt()}catch(i){console.error("autofit: Failed to remove normally",i)}this.isAutofitRunning=!1,console.log("autofit.js is off")},elRectification:null,scale:S};function He(a,i=!0,n=1){if(!ke.isAutofitRunning){console.error("autofit.js:(elRectification): autofit has not been initialized yet");return}kt(),!a&&console.error(`autofit.js:elRectification bad selector: ${a}`),ae=a,Ne=n,ze=i;const u=Array.from(document.querySelectorAll(a));if(u.length==0){console.error(`autofit.js:elRectification found no element by selector: "${a}"`);return}for(const r of u){const h=S==1?1:Number(S)*Number(n);X||(r.originalWidth=r.clientWidth,r.originalHeight=r.clientHeight),i?(r.style.width=`${r.originalWidth*h}px`,r.style.height=`${r.originalHeight*h}px`):(r.style.width=`${100*h}%`,r.style.height=`${100*h}%`),r.style.transform=`translateZ(0) scale(${1/Number(S)})`,r.style.transformOrigin="0 0"}X=!0}function kt(){if(ae){X=!1;for(const a of Array.from(document.querySelectorAll(ae)))a.style.width="",a.style.height="",a.style.transform=""}}function Pe(a,i,n,u,r,h="scale"){const v=document.documentElement.clientHeight,_=document.documentElement.clientWidth;S=_/v
    r?S:1,ke.scale=+S;const w=Math.round(v/Number(S)),p=Math.round(_/Number(S));n.style.height=`${w}px`,n.style.width=`${p}px`,h==="zoom"?n.style.zoom=`${S}`:n.style.transform=`translateZ(0) scale(${S})`;const C=document.querySelector("#ignoreStyle");C.innerHTML="";for(const M of u){const c=M;let g=c.el||c.dom;if(typeof c=="string"&&(g=c),!g||typeof g=="object"&&!Object.keys(g).length){console.error(`autofit: found invalid or empty selector/object: ${g}`);continue}const V=c.scale?c.scale:1/Number(S),T=V!=S&&c.fontSize,I=V!=S&&c.width,B=V!=S&&c.height;C.innerHTML+=` -${g} { - transform: scale(${V})!important; - transform-origin: 0 0; - ${I?`width: ${I}!important;`:""} - ${B?`height: ${B}!important;`:""} - }`,T&&(C.innerHTML+=` -${g} div ,${g} span,${g} a,${g} * { - font-size: ${T}px; - }`)}}ke.elRectification=He;const na={name:"SvglineAnimation",props:{width:{type:Number,default:135},height:{type:Number,default:150},path:{type:String,default:"M0 72.5H682L732 0.5H3082"},color:{type:String,default:"#0091FF"},duration:{type:Number,default:3},length:{type:Number,default:100},begin:{type:Number,default:0},dir:{type:Array,default:()=>[0,1]},strokeWidth:{type:Number,default:4}},data(){let a=1;return{maskId:"svgline-"+a,radialGradientId:"radialGradient-"+a}},mounted(){let a=this._.uid;this.maskId="svgline-"+a,this.radialGradientId="radialGradient-"+a}},ia={class:"svg-line-animation"},oa=["viewBox"],la=["id"],sa=["stop-opacity"],ra=["stop-opacity"],ua=["id"],ca=["r","fill"],da=["begin","dur","path","keyPoints"],ma=["d","stroke","stroke-width","mask"];function fa(a,i,n,u,r,h){return d(),m("div",ia,[(d(),m("svg",{width:"100%",height:"100%",viewBox:`0 0 ${n.width} ${n.height}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("defs",null,[s("radialGradient",{id:r.radialGradientId,cx:"50%",cy:"50%",fx:"100%",fy:"50%",r:"50%"},[s("stop",{offset:"0%","stop-color":"#fff","stop-opacity":n.dir[1]},null,8,sa),s("stop",{offset:"100%","stop-color":"#fff","stop-opacity":n.dir[0]},null,8,ra)],8,la),s("mask",{id:r.maskId},[s("circle",{r:n.length,cx:"0",cy:"0",fill:`url(#${r.radialGradientId})`},[s("animateMotion",{begin:`${n.begin}s`,dur:`${n.duration}s`,path:n.path,rotate:"auto",keyPoints:`${n.dir[0]};${n.dir[1]}`,keyTimes:"0;1",repeatCount:"indefinite"},null,8,da)],8,ca)],8,ua)]),s("path",{class:"path-line",d:n.path,stroke:n.color,"stroke-width":n.strokeWidth,mask:`url(#${r.maskId})`},null,8,ma)],8,oa))])}const ge=gt(na,[["render",fa]]);const ha={class:"m-header"},va={class:"m-header-wrap"},ya={class:"m-header-title"},pa={class:"m-header-subtext"},ga={class:"m-header-left",style:{color:"#fff"}},ka={class:"m-header-right"},wa={class:"m-header-line"},_a={__name:"index",props:{title:{type:String,default:"红原县数字畜牧业监管平台"},subText:{type:String,default:"Hongyuan Digital Animal Husbandry Supervision Platform"}},setup(a){return(i,n)=>(d(),m("div",ha,[s("div",va,[s("div",ya,$(a.title),1),s("div",pa,$(a.subText),1)]),s("div",ga,[ye(i.$slots,"left")]),s("div",ka,[ye(i.$slots,"right")]),s("div",wa,[x(ge,{class:"m-header-line-left",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"}),x(ge,{class:"m-header-line-right",width:961,height:79,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:100,path:"M1 1.52783L535 25.6808C552.73 26.5835 571.454 31.3851 588.834 39.2194C593.758 41.4385 598.692 43.7289 603.643 46.0273C633.567 59.9182 664.121 74.1016 696.754 74.6262C696.765 74.6264 696.775 74.6265 696.786 74.6267C821.602 76.5993 879.336 78 961 78"})])]))}};const ba={class:"m-menu"},Sa={__name:"index",props:{defaultActive:{type:[String,Number],default:""}},emits:["select"],setup(a,{emit:i}){const n=i,u=a,r=y(u.defaultActive);return ut("updateActive",v=>{v!==r.value&&(r.value=v,n("select",v))}),ut("activeIndex",r),Oe(()=>u.defaultActive,v=>{v!==r.value&&(r.value=v)}),(v,_)=>(d(),m("div",ba,[ye(v.$slots,"default")]))}},xa=["aria-current","onKeydown"],$a={__name:"index",props:{index:{type:[String,Number],required:!0}},setup(a){const i=a,n=ct("updateActive"),u=ct("activeIndex"),r=()=>{n(i.index)};return(h,v)=>(d(),m("div",{class:K(["m-menu-item",{"is-active":a.index===A(u)}]),role:"button",tabindex:"0","aria-current":a.index===A(u)?"page":void 0,onClick:r,onKeydown:[pe(dt(r,["prevent"]),["enter"]),pe(dt(r,["prevent"]),["space"])]},[ye(h.$slots,"default")],42,xa))}};let vt=0;const yt="webkit moz ms o".split(" ");let F,E;const Ma=typeof window=="undefined";if(Ma)F=function(){},E=function(){};else{F=window.requestAnimationFrame,E=window.cancelAnimationFrame;let a;for(let i=0;i{i(n+u)},u);return vt=n+u,r},E=function(i){window.clearTimeout(i)})}const Va={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(a,i,n,u){return n*(-Math.pow(2,-10*a/u)+1)*1024/1023+i}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=F(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){E(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,F(this.count)},reset(){this.startTime=null,E(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(a){this.startTime||(this.startTime=a),this.timestamp=a;const i=a-this.startTime;this.remaining=this.localDuration-i,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(i,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(i,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(i/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(i/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),i1?this.decimal+i[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(n);)n=n.replace(r,"$1"+this.separator+"$2");return this.prefix+n+u+this.suffix}},destroyed(){E(this.rAF)}};function Ta(a,i,n,u,r,h){return d(),m("span",null,$(r.displayValue),1)}const wt=gt(Va,[["render",Ta]]);typeof window!="undefined"&&window.Vue&&window.Vue.component("count-to",wt);const Ca={class:"count-card-left"},Ra={class:"count-card-title"},Aa={class:"title-zh"},La={key:0,class:"title-en"},Da={class:"count-card-right"},Fa={class:"unit"},Ea={__name:"index",props:{info:{type:Object,default:()=>({icon:"xiaoshoujine",zh:"2023年销售金额",en:"Sales amount in 2023",value:9500,unit:"万元",decimals:0})}},setup(a){const i=a,n=y(!0),u=y(!1),r=y(0);let h=null;const v=R(()=>i.info.duration||1800);Oe(()=>[i.info.value,i.info.zh],()=>{h&&window.clearTimeout(h),n.value=!0,u.value=!1,r.value+=1},{immediate:!0});function _(C){return C.toUpperCase()}function w(){n.value=!0,u.value=!1}function p(){n.value=!1,u.value=!0,h&&window.clearTimeout(h),h=window.setTimeout(()=>{u.value=!1},900)}return pt(()=>{h&&window.clearTimeout(h)}),(C,M)=>(d(),m("div",{class:K(["count-card",{"is-counting":n.value,"is-settled":u.value}])},[s("div",Ca,[s("div",{class:K(["count-card-icon","icon-"+a.info.icon])},null,2),s("div",Ra,[s("div",Aa,$(a.info.zh),1),a.info.en?(d(),m("div",La,$(_(a.info.en)),1)):k("",!0)])]),s("div",Da,[(d(),m("div",{class:"value",key:r.value},[x(A(wt),{startVal:0,endVal:a.info.value,decimals:a.info.decimals,duration:v.value,separator:"",autoplay:!0,onMountedCallback:w,onCallback:p},null,8,["endVal","decimals","duration"])])),s("div",Fa,$(a.info.unit),1)])],2))}},te=[{key:"home",label:"首页",bottomLabel:"核心指标",status:"ready"},{key:"forest-grass-wet",label:"林草湿资源",bottomLabel:"林草湿",status:"ready"},{key:"ecological-protection",label:"生态保护",bottomLabel:"生态保护",status:"ready"},{key:"yak-management",label:"牦牛管理",bottomLabel:"牦牛管理",status:"ready"},{key:"pasture-management",label:"牧场管理",bottomLabel:"牧场管理",status:"ready"},{key:"yak-industry-chain",label:"牦牛全产业链",bottomLabel:"牦牛全产业链",status:"ready"},{key:"smart-management",label:"智慧管理",bottomLabel:"智慧管理",status:"ready"},{key:"grass-livestock-balance",label:"草畜平衡",bottomLabel:"草畜平衡",status:"ready"}];function Ia(a){return te.find(i=>i.key===a)||te[1]}const qe=[{key:"ecological-redline",label:"生态保护红线",bottomLabel:"生态保护红线"},{key:"natural-protected-area",label:"自然保护地",bottomLabel:"自然保护地"},{key:"national-park",label:"若尔盖国家公园",bottomLabel:"若尔盖国家公园"},{key:"restoration",label:"生态修复工程",bottomLabel:"生态修复工程"},{key:"engineering-analysis",label:"生态工程分析",bottomLabel:"生态工程分析"}];function Pa(a){var v,_,w,p;const i=(_=(v=a==null?void 0:a.data)!=null?v:a==null?void 0:a.result)!=null?_:a,n=Array.isArray(i)?i[0]:Array.isArray(i==null?void 0:i.rows)?i.rows[0]:Array.isArray(i==null?void 0:i.list)?i.list[0]:i;if(!n||typeof n!="object")return null;const u=(...C)=>C.find(M=>M!=null&&M!==""),r=u(n.temp,n.temperature,n.temperature_float,n.tempDay,n.temperatureDay),h=u(n.humidity,n.humidity_float,n.pop,n.relativeHumidity);return{condition:n.conditionDay||n.condition||n.weather||n.weatherText||"",temperature:r==null||r===""?"--":r,humidity:h==null||h===""?"--":h,windDirection:n.windDir||n.windDirection||"",windLevel:n.windLevel||n.windScale||n.windPower||"",icon:(p=(w=n.icon)!=null?w:n.weatherIcon)!=null?p:null}}function qa(){return he(this,null,function*(){const a=yield Yt("/openApi/screen2/external/weather",{timeout:8e3}),i=Pa(a);if(!i)throw new Error((a==null?void 0:a.msg)||"天气服务暂无数据");return i})}const Na=["aria-hidden","inert"],za=["aria-hidden","inert"],Ha=["aria-hidden","inert"],Oa=["aria-hidden","inert"],Wa=["aria-hidden","inert"],ja=["aria-hidden","inert"],Ka=["aria-hidden","inert"],Ba=["aria-hidden","inert"],Ga={class:"large-screen-wrap"},Ua={class:"m-header-tools"},Ya=["src","alt"],Qa={key:1,class:"platform-weather__fallback-icon","aria-hidden":"true"},Za={class:"platform-weather__copy"},Ja={class:"platform-weather__primary"},Xa={key:0},en={key:0},tn={key:0},an={key:1,"aria-hidden":"true"},nn={key:2},on={class:"platform-datetime","aria-label":"当前日期和时间"},ln={class:"top-menu"},sn={key:0,class:"top-menu-mid-space"},rn={key:1,class:"platform-map-tools","aria-label":"地图工具"},un=["title","aria-label"],cn={key:2,class:"module-coming"},dn={class:"module-coming-title"},mn={key:3,class:"bottom-tray"},fn={class:"bottom-menu"},hn=["onClick"],vn={key:8,class:"loading platform-loading"},yn={class:"loading-progress"},pn={class:"value"},gn=2,kn=650,xn={__name:"index",setup(a){const i=N(()=>z(()=>import("./index-6a29b2f9-1786725044461.js"),["./index-6a29b2f9-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./live-scene-1-225090aa-1786725044461.js","./index.esm.min-90d27a39-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./index-151544a4-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./screen2Standard-3427eaf8-1786725044461.js","./index-db918426-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./three.interactive-b0c27e96-1786725044461.js","./TopicSwitcher-06eba150-1786725044461.js","./TopicSwitcher-b6474311-balabala-1786725044461.css","./FeatureInfoPanel-8c5860b5-1786725044461.js","./FeatureInfoPanel-ca5da623-balabala-1786725044461.css","./resourceDetailRows-3e3a25c8-1786725044461.js","./layers-a7158b54-1786725044461.js","./chartTheme-31546a07-1786725044461.js","./featurePanelLayout-f3191169-1786725044461.js","./index-0fc78849-balabala-1786725044461.css"],import.meta.url)),n=N(()=>z(()=>import("./index-bebac032-1786725044461.js"),["./index-bebac032-1786725044461.js","./index-db918426-1786725044461.js","./assets-cf9c305b-1786725044461.js","./screen2Standard-3427eaf8-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./screen2Standard-cdb21878-balabala-1786725044461.css","./TopicSwitcher-06eba150-1786725044461.js","./index-151544a4-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./TopicSwitcher-b6474311-balabala-1786725044461.css","./resourceDetailRows-3e3a25c8-1786725044461.js","./featurePanelLayout-f3191169-1786725044461.js","./LayerPanel-48d446bf-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./LayerPanel-60397a69-balabala-1786725044461.css","./FeatureInfoPanel-8c5860b5-1786725044461.js","./FeatureInfoPanel-ca5da623-balabala-1786725044461.css","./index-fea14f56-balabala-1786725044461.css","./layout-9e63e529-balabala-1786725044461.css"],import.meta.url)),u=N(()=>z(()=>import("./index-72fb7b78-1786725044461.js"),["./index-72fb7b78-1786725044461.js","./index-db918426-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index-148a2898-balabala-1786725044461.css","./index-151544a4-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./assets-cf9c305b-1786725044461.js","./screen2Standard-3427eaf8-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./TopicSwitcher-06eba150-1786725044461.js","./TopicSwitcher-b6474311-balabala-1786725044461.css","./featurePanelLayout-f3191169-1786725044461.js","./LayerPanel-48d446bf-1786725044461.js","./LayerPanel-60397a69-balabala-1786725044461.css","./FeatureInfoPanel-8c5860b5-1786725044461.js","./FeatureInfoPanel-ca5da623-balabala-1786725044461.css","./index-e1561386-balabala-1786725044461.css","./layout-9e63e529-balabala-1786725044461.css"],import.meta.url)),r=N(()=>z(()=>import("./index-c510e3bf-1786725044461.js"),["./index-c510e3bf-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-1a452d1c-balabala-1786725044461.css"],import.meta.url)),h=N(()=>z(()=>import("./index-f7860674-1786725044461.js"),["./index-f7860674-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index.esm.min-90d27a39-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./screen2Standard-3427eaf8-1786725044461.js","./index-db918426-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./three.interactive-b0c27e96-1786725044461.js","./TopicSwitcher-06eba150-1786725044461.js","./index-151544a4-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./TopicSwitcher-b6474311-balabala-1786725044461.css","./LayerPanel-48d446bf-1786725044461.js","./LayerPanel-60397a69-balabala-1786725044461.css","./assets-cf9c305b-1786725044461.js","./index-1683923b-balabala-1786725044461.css"],import.meta.url)),v=N(()=>z(()=>import("./index-d715768d-1786725044461.js"),["./index-d715768d-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./live-scene-1-225090aa-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./index-151544a4-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./LayerPanel-48d446bf-1786725044461.js","./LayerPanel-60397a69-balabala-1786725044461.css","./FeatureInfoPanel-8c5860b5-1786725044461.js","./screen2Standard-3427eaf8-1786725044461.js","./index-db918426-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./FeatureInfoPanel-ca5da623-balabala-1786725044461.css","./featurePanelLayout-f3191169-1786725044461.js","./index-c633956d-balabala-1786725044461.css"],import.meta.url)),_=N(()=>z(()=>import("./index-c5f7f0f7-1786725044461.js"),["./index-c5f7f0f7-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index.esm.min-90d27a39-1786725044461.js","./index-262a2c3c-1786725044461.js","./index-148a2898-balabala-1786725044461.css","./index-151544a4-1786725044461.js","./_plugin-vue_export-helper-c27b6911-1786725044461.js","./index-ee3df49c-balabala-1786725044461.css","./FeatureInfoPanel-8c5860b5-1786725044461.js","./screen2Standard-3427eaf8-1786725044461.js","./index-db918426-1786725044461.js","./screen2Standard-cdb21878-balabala-1786725044461.css","./FeatureInfoPanel-ca5da623-balabala-1786725044461.css","./LayerPanel-48d446bf-1786725044461.js","./LayerPanel-60397a69-balabala-1786725044461.css","./TopicSwitcher-06eba150-1786725044461.js","./TopicSwitcher-b6474311-balabala-1786725044461.css","./assets-cf9c305b-1786725044461.js","./layers-a7158b54-1786725044461.js","./chartTheme-31546a07-1786725044461.js","./index-80d486d8-balabala-1786725044461.css"],import.meta.url)),w=N(()=>z(()=>import("./index-38922c40-1786725044461.js"),["./index-38922c40-1786725044461.js","./index-1786725044461.js","./index-9afdaa7c-balabala-1786725044461.css","./index-0a7426a0-balabala-1786725044461.css"],import.meta.url)),p=Qt(),C=Zt(),M=se(p.query.module),c=y(M),g=y(M==="ecological-protection"?tt(p.query.view):"ecological-redline"),V=y(M==="yak-management"?Ce(p.query.view):"structure"),T=y({[M]:!0});let I=[M];const B=y({}),G=y(!0),U=y(0),we=y(null),_e=y(null),We=y(null),je=y(null),Ke=y(null),Be=y(null),Ge=y(null),Ue=y(!1),Ye=y(""),Qe=y(""),L=y({condition:"",temperature:"--",humidity:"--",windDirection:"",windLevel:"",icon:null}),Y=y(!1),be=y(!1);let Q=null,Se=null,xe=null,ne=!1,ie=null;const _t=Date.now(),H={progress:0},bt=new Set(["home","grass-livestock-balance","pasture-management","yak-industry-chain"]),O=["town","area","wetland","yield","rate","stack","leaf","risk","grass-basic","grass-general","forest","park","project","length","device","certificate"],St=new Set(O),l=R(()=>Ia(c.value)),xt=R(()=>`/images/weather/W${L.value.icon}.png`),$t=R(()=>Y.value&&L.value.icon!==null&&!be.value),$e=R(()=>!["","--",null,void 0].includes(L.value.humidity)),oe=R(()=>{const e=String(L.value.windDirection||"").trim(),t=String(L.value.windLevel||"").trim();return!e&&!t?"":`${e}${e&&t?" ":""}${t?`${t}级`:""}`}),Ze=R(()=>Ue.value?"退出":"全屏"),Mt=R(()=>!["smart-management","grass-livestock-balance"].includes(l.value.key)),Vt=R(()=>W.value.length===5&&(l.value.key==="home"||l.value.key==="ecological-protection"&&Me.value==="national-park")),Tt=R(()=>c.value==="ecological-protection"?qe:te),Me=R(()=>c.value==="ecological-protection"?g.value:c.value),W=R(()=>{const e=B.value[c.value];return Array.isArray(e)?e:[]});Jt(()=>{Je(),Xe(),Se=window.setInterval(Je,1e3),xe=window.setInterval(Xe,30*60*1e3),Q=ke.init({dh:1080,dw:1920,el:"#large-screen",resize:!0,cssMode:"zoom"}),Nt(),me(),Re(),Dt(c.value)?Ft(c.value):(ne=!0,U.value=100,G.value=!1)}),pt(()=>{var e;Se&&window.clearInterval(Se),xe&&window.clearInterval(xe),ce(),(e=Q==null?void 0:Q.off)==null||e.call(Q,"#large-screen"),zt(),ee.killTweensOf(H)});function Je(){const e=new Date,t=b=>String(b).padStart(2,"0"),o=["周日","周一","周二","周三","周四","周五","周六"];Ye.value=`${e.getFullYear()}.${t(e.getMonth()+1)}.${t(e.getDate())} ${o[e.getDay()]}`,Qe.value=`${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`}function Xe(){return he(this,null,function*(){try{L.value=yield qa(),Y.value=!0,be.value=!1}catch(e){Y.value=!1,console.warn("[platform] weather unavailable",e)}})}function Ct(){be.value=!0}function Ve(e,t={}){const o=se(e),b=o==="home"&&!t.fromRoute;if(o==="yak-management"&&!t.fromRoute&&(V.value="structure"),o===c.value){b&&de(),le(o);return}c.value=o,qt(o),le(o),b&&de(),Fe(Re)}function Te(e){se(e)==="home"&&c.value==="home"&&de()}function Rt(e){if(e!=null&&e.key){if(c.value==="ecological-protection"){et(e.key);return}Ve(e.key)}}function et(e){const t=qe.some(o=>o.key===e)?e:"ecological-redline";t===g.value&&c.value==="ecological-protection"||(g.value=t,c.value==="ecological-protection"&&le("ecological-protection"),Fe(Re))}function At(e){const t=Ce(e);t!==V.value&&(V.value=t,c.value==="yak-management"&&le("yak-management"))}Oe(()=>[p.query.module,p.query.view],([e,t])=>{const o=se(e);o==="ecological-protection"&&(g.value=tt(t)),o==="yak-management"&&(V.value=Ce(t)),o!==c.value&&Ve(o,{fromRoute:!0})});function le(e=c.value){const t=Ae(J({},p.query),{module:e});e==="yak-management"?t.view=V.value:e==="ecological-protection"?t.view=g.value:delete t.view;const o=p.query||{},b=String(o.module||"")===String(t.module||"")&&String(o.view||"")===String(t.view||"");p.path==="/platform"&&b||C.replace({path:"/platform",query:t}).catch(()=>{})}function se(e){const t=Array.isArray(e)?e[0]:e;return te.some(o=>o.key===t)?t:"home"}function Ce(e){const t=Array.isArray(e)?e[0]:e;return["structure","forecast","epidemic","trade"].includes(t)?t:"structure"}function tt(e){const t=Array.isArray(e)?e[0]:e;return qe.some(o=>o.key===t)?t:"ecological-redline"}function j(e){const t=e.moduleKey||(e.topicKey?"forest-grass-wet":c.value);B.value=Ae(J({},B.value),{[t]:Et(e.items||[])})}function re(e={}){const t=typeof e=="number"?e:e.progress;Lt(t)}function ue(){ce(),ee.killTweensOf(H),H.progress=100,U.value=100;const e=Date.now()-_t,t=Math.max(80,kn-e);window.setTimeout(at,t)}function Lt(e){if(!G.value)return;const t=Math.max(0,Math.min(100,Math.floor(Number(e)||0)));t{U.value=Math.floor(H.progress)}})}function at(){if(!G.value||ne)return;ce(),ne=!0;const e=ee.timeline({onComplete:()=>{G.value=!1}});e.to(".platform-loading .loading-text span",{y:"200%",opacity:0,ease:"power4.inOut",duration:.45,stagger:.035}),e.to(".platform-loading .loading-progress",{opacity:0,ease:"power4.inOut",duration:.3},"<"),e.to(".platform-loading",{opacity:0,ease:"power4.inOut",duration:.28},"-=0.12")}function Dt(e){return bt.has(e)}function Ft(e){ce();const t=e==="home"?12e3:8e3;ie=window.setTimeout(()=>{!G.value||ne||(ee.killTweensOf(H),H.progress=100,U.value=100,window.setTimeout(at,120))},t)}function ce(){ie&&(window.clearTimeout(ie),ie=null)}function Et(e=[]){const t=new Set;return e.slice(0,10).map((o,b)=>{var Z;const f=Number(o.value)||0,D={zh:o.zh||o.name||`指标${b+1}`,en:o.en||"",value:f,unit:o.unit||"",decimals:(Z=o.decimals)!=null?Z:Number.isInteger(f)?0:2},fe=It(J(J({},o),D),b,t);return t.add(fe),J({icon:fe},D)})}function It(e={},t=0,o=new Set){const f=Pt(e,t).find(D=>St.has(D)&&!o.has(D));return f||O.find(D=>!o.has(D))||O[t%O.length]}function Pt(e={},t=0){const o=`${e.zh||e.name||""}${e.unit||""}`,b=[],f=(...fe)=>{fe.forEach(Z=>{Z&&!b.includes(Z)&&b.push(Z)})};f(e.icon),/风险|预警|告警/.test(o)&&f("risk","rate"),/模型|修正|共识|预测|变化|净/.test(o)&&f("rate","stack"),/率|占比|比例|超载/.test(o)&&f("rate","project"),/生态牧场|家庭生态/.test(o)&&f("leaf","town"),/出证|证书|证/.test(o)&&f("certificate","project"),/交易|销售/.test(o)&&f("yield","certificate"),/流通|出栏|流出/.test(o)&&f("length","certificate","project"),/运输|车辆|无人机|识别|设备|监测/.test(o)&&f("device","length"),/工程长度|长度|公里/.test(o)&&f("length","project"),/修复项目|项目|工程|治理/.test(o)&&f("project","length"),/国家公园|保护范围|保护区|划定/.test(o)&&f("park","leaf"),/产量|库容|鲜草|饲草|收入|产值|繁殖|补充/.test(o)&&f("yield","leaf"),/湿地/.test(o)&&f("wetland","leaf"),/基本草原/.test(o)&&f("grass-basic","area"),/一般草原/.test(o)&&f("grass-general","area"),/林地|森林|公益林/.test(o)&&f("forest","leaf"),/面积|草地|草原|草场|万亩|亩/.test(o)&&f("area","grass-basic","grass-general"),/牦牛|存栏|头|结构/.test(o)&&f("stack","yield","leaf"),/乡镇|镇域|村|点位|主体|牧户|农户|联户|户|个|覆盖/.test(o)&&f("town","project"),/生态|林草/.test(o)&&f("leaf","wetland");const D=t%O.length;return f(...O.slice(D),...O.slice(0,D)),b}function qt(e){["home","forest-grass-wet","ecological-protection","grass-livestock-balance","yak-management","pasture-management","yak-industry-chain","smart-management"].includes(e)&&(I=I.filter(t=>t!==e),I.push(e),I=I.slice(-gn),T.value=Object.fromEntries(I.map(t=>[t,!0])))}function Re(){window.scrollTo(0,0),document.documentElement.scrollTop=0,document.body.scrollTop=0;const e=document.querySelector("#app");e&&(e.scrollTop=0)}function de(e=4){Fe(()=>{const t=_e.value;if(t!=null&&t.showDefaultThreeMap){t.showDefaultThreeMap();return}e>0&&window.setTimeout(()=>de(e-1),80)})}const nt=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];function it(){return typeof document=="undefined"?null:document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||null}function me(){var o;const e=it(),t=we.value;Ue.value=!!(t&&e&&(e===t||t.contains(e)||(o=e.contains)!=null&&o.call(e,t)))}function Nt(){typeof document!="undefined"&&nt.forEach(e=>document.addEventListener(e,me))}function zt(){typeof document!="undefined"&&nt.forEach(e=>document.removeEventListener(e,me))}function ot(){var e,t;(t=(e=lt())==null?void 0:e.refreshMapView)==null||t.call(e)}function Ht(){return he(this,null,function*(){if(typeof document=="undefined")return;const e=it();try{if(e){const t=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;yield t==null?void 0:t.call(document)}else{const t=we.value||document.documentElement,o=t.requestFullscreen||t.webkitRequestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen;yield o==null?void 0:o.call(t)}}catch(t){console.warn("[platform] fullscreen toggle failed",t)}finally{me(),window.setTimeout(ot,80),window.setTimeout(ot,280)}})}function Ot(){var e,t;(t=(e=lt())==null?void 0:e.resetMap)==null||t.call(e)}function lt(){return l.value.key==="home"?_e.value:l.value.key==="forest-grass-wet"?We.value:l.value.key==="ecological-protection"?je.value:l.value.key==="yak-management"?Ke.value:l.value.key==="pasture-management"?Be.value:l.value.key==="yak-industry-chain"?Ge.value:null}function Wt(){aa()}return(e,t)=>(d(),m("div",{ref_key:"platformScreenRef",ref:we,class:K(["large-screen platform-screen",{"is-home":l.value.key==="home","is-forest-grass-wet":l.value.key==="forest-grass-wet","is-ecological-protection":l.value.key==="ecological-protection","is-grass-livestock-balance":l.value.key==="grass-livestock-balance","is-yak-management":l.value.key==="yak-management","is-pasture-management":l.value.key==="pasture-management","is-yak-industry-chain":l.value.key==="yak-industry-chain","is-smart-management":l.value.key==="smart-management","is-ecology-national-park":l.value.key==="ecological-protection"&&Me.value==="national-park"}]),id:"large-screen"},[T.value.home?P((d(),m("div",{key:0,class:"platform-module-pane","aria-hidden":l.value.key!=="home",inert:l.value.key!=="home"},[x(A(i),{ref_key:"homeDashboardRef",ref:_e,active:l.value.key==="home",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Na)),[[q,l.value.key==="home"]]):k("",!0),T.value["forest-grass-wet"]?P((d(),m("div",{key:1,class:"platform-module-pane","aria-hidden":l.value.key!=="forest-grass-wet",inert:l.value.key!=="forest-grass-wet"},[x(A(n),{ref_key:"forestGrassWetRef",ref:We,active:l.value.key==="forest-grass-wet","show-loading":!1,onTopicStats:j},null,8,["active"])],8,za)),[[q,l.value.key==="forest-grass-wet"]]):k("",!0),T.value["ecological-protection"]?P((d(),m("div",{key:2,class:"platform-module-pane","aria-hidden":l.value.key!=="ecological-protection",inert:l.value.key!=="ecological-protection"},[x(A(u),{ref_key:"ecologicalProtectionRef",ref:je,active:l.value.key==="ecological-protection","active-view":g.value,"show-loading":!1,onModuleStats:j,onViewChange:et},null,8,["active","active-view"])],8,Ha)),[[q,l.value.key==="ecological-protection"]]):k("",!0),T.value["grass-livestock-balance"]?P((d(),m("div",{key:3,class:"platform-module-pane","aria-hidden":l.value.key!=="grass-livestock-balance",inert:l.value.key!=="grass-livestock-balance"},[x(A(r),{active:l.value.key==="grass-livestock-balance",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Oa)),[[q,l.value.key==="grass-livestock-balance"]]):k("",!0),T.value["yak-management"]?P((d(),m("div",{key:4,class:"platform-module-pane","aria-hidden":l.value.key!=="yak-management",inert:l.value.key!=="yak-management"},[x(A(h),{ref_key:"yakManagementRef",ref:Ke,active:l.value.key==="yak-management","view-key":V.value,onModuleStats:j,onViewChange:At},null,8,["active","view-key"])],8,Wa)),[[q,l.value.key==="yak-management"]]):k("",!0),T.value["pasture-management"]?P((d(),m("div",{key:5,class:"platform-module-pane","aria-hidden":l.value.key!=="pasture-management",inert:l.value.key!=="pasture-management"},[x(A(v),{ref_key:"pastureManagementRef",ref:Be,active:l.value.key==="pasture-management",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,ja)),[[q,l.value.key==="pasture-management"]]):k("",!0),T.value["yak-industry-chain"]?P((d(),m("div",{key:6,class:"platform-module-pane","aria-hidden":l.value.key!=="yak-industry-chain",inert:l.value.key!=="yak-industry-chain"},[x(A(_),{ref_key:"yakIndustryChainRef",ref:Ge,active:l.value.key==="yak-industry-chain",onLoadingProgress:re,onMapReady:ue,onModuleStats:j},null,8,["active"])],8,Ka)),[[q,l.value.key==="yak-industry-chain"]]):k("",!0),T.value["smart-management"]?P((d(),m("div",{key:7,class:"platform-module-pane","aria-hidden":l.value.key!=="smart-management",inert:l.value.key!=="smart-management"},[x(A(w),{active:l.value.key==="smart-management"},null,8,["active"])],8,Ba)),[[q,l.value.key==="smart-management"]]):k("",!0),s("div",Ga,[x(_a,{title:"红原县数字畜牧业监管平台","sub-text":"Hongyuan Digital Animal Husbandry Supervision Platform"},{right:Le(()=>[s("div",Ua,[s("div",{class:K(["platform-weather",{"is-unavailable":!Y.value}])},[$t.value?(d(),m("img",{key:0,class:"platform-weather__icon",src:xt.value,alt:L.value.condition||"天气",onError:Ct},null,40,Ya)):(d(),m("span",Qa)),s("div",Za,[s("div",Ja,[s("strong",null,$(Y.value?L.value.condition||"实时天气":"天气暂无数据"),1),Y.value?(d(),m("em",Xa,$(L.value.temperature)+"℃",1)):k("",!0)]),$e.value||oe.value?(d(),m("small",en,[$e.value?(d(),m("span",tn,"湿度 "+$(L.value.humidity)+"%",1)):k("",!0),$e.value&&oe.value?(d(),m("i",an)):k("",!0),oe.value?(d(),m("span",nn,$(oe.value),1)):k("",!0)])):k("",!0)])],2),s("div",on,[s("strong",null,$(Qe.value),1),s("span",null,$(Ye.value),1)]),s("button",{class:"logout-button","aria-label":"退出登录",title:"退出登录",type:"button",onClick:Wt},[...t[0]||(t[0]=[s("svg",{class:"logout-icon",viewBox:"0 0 24 24","aria-hidden":"true"},[s("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),s("path",{d:"M16 17l5-5-5-5"}),s("path",{d:"M21 12H9"})],-1)])])])]),_:1}),s("div",ln,[x(Sa,{"default-active":c.value,onSelect:Ve},{default:Le(()=>[(d(!0),m(ve,null,De(A(te),(o,b)=>(d(),m(ve,{key:o.key},[x($a,{index:o.key,onClick:f=>Te(o.key),onKeydown:[pe(f=>Te(o.key),["enter"]),pe(f=>Te(o.key),["space"])]},{default:Le(()=>[ea($(o.label),1)]),_:2},1032,["index","onClick","onKeydown"]),b===3?(d(),m("div",sn)):k("",!0)],64))),128))]),_:1},8,["default-active"])]),W.value.length&&!["smart-management","grass-livestock-balance"].includes(l.value.key)?(d(),m("div",{key:0,class:K(["top-count-card",{"is-four":W.value.length>3&&W.value.length<=4,"is-multi":W.value.length>4,"is-count-five":W.value.length===5,"is-home-five":Vt.value}])},[(d(!0),m(ve,null,De(W.value,o=>(d(),ta(Ea,{key:o.zh,info:o},null,8,["info"]))),128))],2)):k("",!0),Mt.value?(d(),m("div",rn,[s("button",{type:"button",title:Ze.value,"aria-label":Ze.value,onClick:Ht},[...t[1]||(t[1]=[s("span",{class:"platform-map-tool-icon is-fullscreen","aria-hidden":"true"},null,-1)])],8,un),s("button",{type:"button",title:"复位地图","aria-label":"复位地图",onClick:Ot},[...t[2]||(t[2]=[s("span",{class:"platform-map-tool-icon is-reset","aria-hidden":"true"},null,-1)])])])):k("",!0),l.value.status!=="ready"?(d(),m("div",cn,[s("div",dn,$(l.value.label),1),t[3]||(t[3]=s("div",{class:"module-coming-text"},"模块建设中,平台框架已预留入口",-1))])):k("",!0),["home","forest-grass-wet","ecological-protection","grass-livestock-balance","yak-management","pasture-management","yak-industry-chain","smart-management"].includes(l.value.key)?k("",!0):(d(),m("div",mn,[x(ge,{class:"bottom-svg-line-left",width:721,height:57,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:50,path:"M1 56.6105C1 31.5123 185.586 10.0503 451.904 1.35519C458.942 1.12543 465.781 4.00883 470.505 9.22964L484.991 25.2383C487.971 28.4775 492.938 30.4201 498.254 30.4201H720.142"}),x(ge,{class:"bottom-svg-line-left bottom-svg-line-right",width:721,height:57,color:"#30DCFF",strokeWidth:2,dir:[0,1],length:50,path:"M1 56.6105C1 31.5123 185.586 10.0503 451.904 1.35519C458.942 1.12543 465.781 4.00883 470.505 9.22964L484.991 25.2383C487.971 28.4775 492.938 30.4201 498.254 30.4201H720.142"}),t[4]||(t[4]=s("div",{class:"bottom-tray-arrow"},[s("img",{src:mt,alt:""}),s("img",{src:ft,alt:""})],-1)),s("div",fn,[(d(!0),m(ve,null,De(Tt.value,o=>(d(),m("div",{key:o.key,class:K(["bottom-menu-item",{"is-active":o.key===Me.value}]),onClick:b=>Rt(o)},[s("span",null,$(o.bottomLabel),1)],10,hn))),128))]),t[5]||(t[5]=s("div",{class:"bottom-tray-arrow is-reverse"},[s("img",{src:mt,alt:""}),s("img",{src:ft,alt:""})],-1))])),t[6]||(t[6]=s("div",{class:"large-screen-left-zsline"},null,-1)),t[7]||(t[7]=s("div",{class:"large-screen-right-zsline"},null,-1))]),G.value?(d(),m("div",vn,[t[9]||(t[9]=Xt('
    LOADING
    ',1)),s("div",yn,[s("span",pn,$(U.value),1),t[8]||(t[8]=s("span",{class:"unit"},"%",-1))])])):k("",!0)],2))}};export{xn as default}; diff --git a/docs/assets/index-72fb7b78-1786725044461.js b/docs/assets/index-a69833c7-1786807848259.js similarity index 79% rename from docs/assets/index-72fb7b78-1786725044461.js rename to docs/assets/index-a69833c7-1786807848259.js index 2f6764e..3fcee8e 100644 --- a/docs/assets/index-72fb7b78-1786725044461.js +++ b/docs/assets/index-a69833c7-1786807848259.js @@ -1 +1 @@ -var Pt=Object.defineProperty,Dt=Object.defineProperties;var Rt=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var Tt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var bt=(v,p,_)=>p in v?Pt(v,p,{enumerable:!0,configurable:!0,writable:!0,value:_}):v[p]=_,X=(v,p)=>{for(var _ in p||(p={}))Tt.call(p,_)&&bt(v,_,p[_]);if(ht)for(var _ of ht(p))Ot.call(p,_)&&bt(v,_,p[_]);return v},ce=(v,p)=>Dt(v,Rt(p));var x=(v,p,_)=>new Promise((C,V)=>{var c=R=>{try{L(_.next(R))}catch($){V($)}},q=R=>{try{L(_.throw(R))}catch($){V($)}},L=R=>R.done?C(R.value):Promise.resolve(R.value).then(c,q);L((_=_.apply(v,p)).next())});import{g as _t}from"./index-db918426-1786725044461.js";/* empty css */import{_ as wt}from"./index-262a2c3c-1786725044461.js";import{i as Vt,j as Ue,c as Bt,d as St,M as Yt}from"./index-151544a4-1786725044461.js";import{a3 as ye,k as he,g as d,w as De,q as Ct,h as jt,o as u,c as f,a as l,t as g,F as pe,y as me,n as ke,K as Re,s as gt,a6 as ft,u as ze,j as W,d as k,L as pt,A as Fe,b as Pe,C as nt,x as kt,z as It}from"./index-1786725044461.js";import{A as qt}from"./assets-cf9c305b-1786725044461.js";import{q as Ut,r as zt,s as Ht}from"./screen2Standard-3427eaf8-1786725044461.js";import{c as Wt,F as Gt}from"./featurePanelLayout-f3191169-1786725044461.js";import{_ as Jt}from"./LayerPanel-48d446bf-1786725044461.js";import{a as At,_ as Zt}from"./FeatureInfoPanel-8c5860b5-1786725044461.js";import{_ as Qt}from"./TopicSwitcher-06eba150-1786725044461.js";import{_ as xt}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const Ae="/openApi/screen2/ecology-protection";function Kt(){return x(this,null,function*(){return ye(yield he(`${Ae}/options`))||{}})}function Xt(v){return x(this,null,function*(){return ye(yield he(`${Ae}/profile`,{params:{view:v}}))||at(v)})}function en(v,p){return x(this,null,function*(){return ye(yield he(`${Ae}/detail`,{params:{view:v,wkt:p}}))||null})}function tn(v){return x(this,null,function*(){return ye(yield he(`${Ae}/restoration/project`,{params:{projectName:v}}))||null})}function nn(v){return x(this,null,function*(){return ye(yield he(`${Ae}/engineering/count`,{params:v}))||{featureCount:0,areaMu:0}})}function an(v){return x(this,null,function*(){return ye(yield he(`${Ae}/engineering/features`,{params:v}))||{type:"FeatureCollection",features:[]}})}function sn(v){return x(this,null,function*(){const p=ye(yield he(`${Ae}/engineering/excluded-projects`,{params:v}));return Array.isArray(p)?p:[]})}function at(v){return{status:"empty",hasData:!1,viewKey:v,top:[],leftPanels:[],rightPanels:[],mapRanking:null}}const ln={class:"engineering-analysis-panel"},rn={class:"analysis-card-head"},on={class:"analysis-type-list",role:"radiogroup","aria-label":"工程类型"},un=["disabled","aria-checked","onClick"],cn={class:"analysis-type-main"},dn={class:"analysis-filter-grid","aria-label":"动态筛选条件"},vn={class:"is-wide"},gn=["disabled"],fn=["value"],pn=["disabled"],mn=["disabled"],yn={class:"analysis-filter-note"},hn={key:0},bn={key:1},_n={key:2},wn={key:3},Sn=["disabled","aria-busy"],kn={key:0,class:"analysis-submit-spinner"},An={key:1},Cn={key:2},jn={key:0,class:"analysis-progress","aria-live":"polite"},xn=["aria-valuenow","aria-busy"],Ln={key:1,class:"analysis-step-list","aria-label":"空间分析步骤"},Mn={key:2,class:"analysis-error"},En={key:0,class:"analysis-card analysis-result-card"},$n={class:"analysis-card-head is-result"},Nn={key:0,class:"analysis-result-summary is-loading"},Fn={class:"is-final"},Pn={key:1,class:"analysis-result-summary"},Dn={class:"is-excluded"},Rn={class:"is-final"},Tn={class:"analysis-result-list"},On=["aria-pressed","onClick"],Vn={key:0},Bn={key:1},Yn={key:2},In={key:0},qn={key:1},Un={key:2,class:"analysis-excluded-projects"},zn={class:"analysis-excluded-project-list"},Hn=["title"],Wn=["disabled"],Gn={class:"analysis-result-foot"},Jn=750,Zn=18,Qn=420,Kn=18e3,mt="#FFD43B",Xn={__name:"EngineeringAnalysisPanel",emits:["analysis-reset","analysis-batch","analysis-complete","analysis-state","result-visibility"],setup(v,{emit:p}){const _=p,C=[{key:"prepare",label:"初始化分析环境",description:"正在准备空间索引与工程参数",minimumDuration:1400},{key:"validate",label:"校验业务条件",description:"正在校验乡镇、工程类型与时间范围",minimumDuration:1500},{key:"count",label:"计算基础候选区",description:"正在统计满足基础条件的候选图斑",minimumDuration:2e3},{key:"exclude",label:"排除历史项目",description:"正在比对既有工程与重复实施范围",minimumDuration:2200},{key:"overlay",label:"执行空间叠加",description:"正在叠加生态约束与工程适宜条件",minimumDuration:1400},{key:"generate",label:"生成适宜图斑",description:"正在分批生成并渲染适宜实施区域",minimumDuration:0},{key:"verify",label:"汇总校验结果",description:"正在汇总面积、数量与空间完整性",minimumDuration:2200}],V=[{key:"forest-conservation",name:"封山育林",color:mt},{key:"grassland-improvement",name:"草原改良",color:mt},{key:"artificial-grass",name:"人工种草",color:mt}],c=k([V[0].key]),q=k(""),L=k("same"),R=k(3),$=k(null),B=k("idle"),U=k(""),y=k(""),M=k(null),w=k("loading"),I=k(-1),G=pt({}),ee=pt({}),de=pt({});let j=null,ae=0,se=[];const Te=Vt,A=d(()=>B.value==="running"),P=d(()=>B.value==="done"),Ce=d(()=>c.value.length>0&&!A.value&&(L.value==="none"||w.value==="ready")),ve=d(()=>V),je=d(()=>{var n;return((n=V.find(s=>s.key===c.value[0]))==null?void 0:n.name)||"请选择工程"}),oe=d(()=>V.filter(n=>c.value.includes(n.key)).map(n=>G[n.key]||Ge(n))),N=d(()=>{const n=Number($.value);return Number.isFinite(n)?n-Number(R.value)+1:null}),te=d(()=>{const n=`${N.value}—${$.value} 年`,s=M.value?`项目库更新至 ${M.value} 年 · `:"",m=L.value==="all"?`排除 ${n} 内实施过任一工程的相交地块`:`排除 ${n} 内实施过同类工程的相交地块`;return`${s}${m}`}),ge=d(()=>C[I.value]||null),le=d(()=>C.map((n,s)=>ce(X({},n),{index:s,status:P.value||sA.value?`第 ${I.value+1}/${C.length} 步`:P.value?"分析完成":"等待分析"),be=d(()=>oe.value.reduce((n,s)=>n+Number(s.baseCount||0),0)),Le=d(()=>oe.value.reduce((n,s)=>n+Number(s.targetCount||0),0)),Q=d(()=>oe.value.reduce((n,s)=>n+Number(s.loadedCount||0),0)),Oe=d(()=>Math.max(0,be.value-Le.value)),ue=d(()=>oe.value.reduce((n,s)=>n+Number(s.loadedAreaMu||0),0)/1e4),Ve=d(()=>Math.max(0,...oe.value.map(n=>Number(n.loadedPage||0)))),Me=d(()=>Object.values(de).map(n=>ce(X({},n),{areaMu:Number(Number(n.areaMu||0).toFixed(2))})).sort((n,s)=>s.areaMu-n.areaMu)),st=d(()=>Me.value.reduce((n,s)=>n+Number(s.areaMu||0),0)/1e4),Ee=d(()=>{var b;if(P.value)return 100;if(!A.value)return 0;const n=100/C.length,s=Math.max(0,I.value)*n,r=((b=ge.value)==null?void 0:b.key)==="generate"&&Le.value?Math.min(.96,Q.value/Le.value):.42;return Math.min(99,Math.max(1,Math.round(s+r*n)))}),He=d(()=>{var n;return A.value&&((n=ge.value)==null?void 0:n.key)==="generate"?`正在分批渲染${je.value}图斑,已生成 ${K(Q.value)} 个`:A.value&&ge.value?ge.value.description:P.value?`分析完成,共形成 ${K(Q.value)} 个可实施候选图斑`:"正在准备空间分析"}),We=d(()=>{const n=q.value||"红原县全域";return L.value==="none"?`${n} · 未排除历史项目`:`${n} · ${N.value}—${$.value} 年未实施条件`});De([c,q,L,R,$],()=>{!P.value&&B.value!=="error"||(B.value="idle",I.value=-1,U.value="",y.value="",se=[],Object.keys(G).forEach(n=>delete G[n]),_("analysis-reset"))}),Ct(()=>Be()),jt(()=>$e());function Ge(n){return ce(X({},n),{status:"idle",baseCount:0,targetCount:0,loadedCount:0,loadedAreaMu:0,loadedPage:0,visible:!0})}function Je(n){A.value||c.value[0]!==n&&(c.value=[n])}function lt(){return x(this,null,function*(){var r,b,D,T;if(!Ce.value)return;$e();const n=++ae,s=((b=(r=window.performance)==null?void 0:r.now)==null?void 0:b.call(r))||Date.now();j=new AbortController,B.value="running",U.value="",y.value="";const m=dt();Object.keys(G).forEach(F=>delete G[F]),Object.keys(ee).forEach(F=>delete ee[F]),Object.keys(de).forEach(F=>delete de[F]),c.value.forEach(F=>{const O=V.find(z=>z.key===F);G[F]=Ge(O),G[F].status="counting"}),_("analysis-reset");try{yield re(0,n,j.signal),yield re(1,n,j.signal),yield re(2,n,j.signal,()=>x(this,null,function*(){yield Promise.all(c.value.map(O=>x(this,null,function*(){const z=G[O],[ie,ne]=yield Promise.all([Qe(O,!1,m,j.signal),Qe(O,!0,m,j.signal)]);H(n),z.baseCount=ie,z.targetCount=ne,z.status="queued"})))})),yield re(3,n,j.signal,()=>x(this,null,function*(){yield Promise.all(c.value.map(O=>Ke(O,m,n,j.signal)))})),yield re(4,n,j.signal),yield re(5,n,j.signal,()=>x(this,null,function*(){for(const O of c.value)H(n),yield Ze(G[O],m,n,j.signal)})),yield re(6,n,j.signal),H(n);const F=(((T=(D=window.performance)==null?void 0:D.now)==null?void 0:T.call(D))||Date.now())-s;yield Ne(Math.max(0,Kn-F),j.signal),H(n),B.value="done",I.value=C.length,_("analysis-state",{state:"done",stepNumber:C.length,stepTotal:C.length,progress:100}),y.value=rt(m),_("analysis-complete",{rows:oe.value,filters:m,statistics:ut(m)})}catch(F){if((F==null?void 0:F.name)==="AbortError"||n!==ae)return;B.value="error",I.value=-1,_("analysis-state",{state:"error"}),U.value="工程适宜区服务暂时无法连接,请稍后重试。",y.value="",_("analysis-reset")}finally{n===ae&&(j=null)}})}function Ze(n,s,m,r){return x(this,null,function*(){if(n.status="loading",!n.targetCount){n.status="done";return}let b=0;for(;b{var tt;return ie+Number(((tt=ne==null?void 0:ne.properties)==null?void 0:tt.source_area_mu)||0)},0),ot(z,s),_("analysis-batch",{key:n.key,name:n.name,color:n.color,features:z,loadedCount:n.loadedCount,targetCount:n.targetCount}),et(),yield Ie(r)}b+=T.length}n.status="done"})}function rt(n){const m=[`eng_type IN (${n.engineeringTypes.map(r=>`'${_e(r)}'`).join(",")})`];if(n.township&&m.push(`town_name='${_e(n.township)}'`),n.projectFilterMode!=="none"){const r=n.projectFilterMode==="all"?"last_year":"same_year";m.push(`(${r} IS NULL OR ${r}<${Number(n.startYear)})`)}return m.join(" AND ")}function Qe(n,s,m,r){return x(this,null,function*(){if(r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");const b=yield nn({engineeringType:n,township:m.township,projectFilterMode:m.projectFilterMode,startYear:m.startYear,applyProjectFilter:s});return Number(b.featureCount||0)})}function it(n,s,m,r){return x(this,null,function*(){if(r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");return an({engineeringType:n,township:s.township,projectFilterMode:s.projectFilterMode,startYear:s.startYear,offset:m,limit:Jn})})}function Ke(n,s,m,r){return x(this,null,function*(){if(s.projectFilterMode==="none")return;if(H(m),r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");const b=yield sn({engineeringType:n,township:s.township,projectFilterMode:s.projectFilterMode,startYear:s.startYear});H(m),b.forEach(D=>{const T=String(D.name||"未标注项目").trim()||"未标注项目";de[T]={name:T,latestYear:Number(D.latestYear)||null,featureCount:Number(D.featureCount||0),areaMu:Number(D.areaMu||0)}})})}function Be(){return x(this,null,function*(){w.value="loading";try{const n=yield Kt(),s=Number(n.latestProjectYear);if(!Number.isFinite(s))throw new Error("项目库缺少有效实施年份");M.value=s,B.value==="idle"&&($.value=s),w.value="ready"}catch(n){w.value="error",console.warn("[engineering-analysis] project data coverage unavailable",n)}})}function ot(n,s){const m=s.township?"location_unit_name":"township_name";n.forEach(r=>{const b=(r==null?void 0:r.properties)||{},D=String(b[m]||"未标注").trim()||"未标注",T=ee[D]||{name:D,featureCount:0,areaMu:0};T.featureCount+=1,T.areaMu+=Number(b.source_area_mu||0),ee[D]=T})}function ut(n){return{engineeringType:n.engineeringTypes[0],engineeringName:je.value,scopeName:n.township||"红原县全域",dimensionLabel:n.township?"村":"乡镇",baseCount:be.value,excludedCount:Oe.value,finalCount:Q.value,finalAreaMu:ue.value*1e4,projectDataLatestYear:M.value,filters:n,excludedProjects:Me.value.map(s=>X({},s)),distribution:Object.values(ee).map(s=>ce(X({},s),{areaMu:Number(s.areaMu.toFixed(2))})).sort((s,m)=>m.areaMu-s.areaMu)}}function ct(n){!n||n.status==="idle"||(n.visible=n.visible===!1,_("result-visibility",{key:n.key,visible:n.visible}))}function Ye(){if(!P.value||!y.value||!Q.value)return;const n=new Date,m=`ecological_engineering_suitability_${[n.getFullYear(),String(n.getMonth()+1).padStart(2,"0"),String(n.getDate()).padStart(2,"0")].join("")}.geojson`,r=new Blob([JSON.stringify({type:"FeatureCollection",features:se})],{type:"application/geo+json;charset=utf-8"}),b=document.createElement("a");b.href=URL.createObjectURL(r),b.download=m,document.body.appendChild(b),b.click(),b.remove(),URL.revokeObjectURL(b.href)}function Xe(n){return n.status==="counting"?"核对中":n.status==="queued"?"等待加载":n.status==="loading"?"加载中":n.status==="error"?"异常":n.visible===!1?"已隐藏":"地图显示"}function dt(){return{engineeringTypes:[...c.value],township:q.value,projectFilterMode:L.value,recentYears:R.value,startYear:N.value,endYear:$.value}}function re(n,s,m,r=null){return x(this,null,function*(){var O,z,ie,ne;H(s),I.value=n,et();const b=C[n],D=((z=(O=window.performance)==null?void 0:O.now)==null?void 0:z.call(O))||Date.now(),T=r?yield r():void 0;H(s);const F=(((ne=(ie=window.performance)==null?void 0:ie.now)==null?void 0:ne.call(ie))||Date.now())-D;return yield Ne(Math.max(0,Number((b==null?void 0:b.minimumDuration)||0)-F),m),H(s),T})}function et(){const n=ge.value;_("analysis-state",{state:"running",stepKey:(n==null?void 0:n.key)||"prepare",stepLabel:(n==null?void 0:n.label)||"准备空间分析",stepDescription:(n==null?void 0:n.description)||"正在准备空间分析",stepNumber:Math.max(1,I.value+1),stepTotal:C.length,progress:Ee.value})}function vt(n){return n==="done"?"完成":n==="active"?"进行中":"等待"}function $e(){j&&j.abort(),j=null}function H(n){if(n!==ae)throw new DOMException("Analysis superseded","AbortError")}function Ie(n){return Ne(Qn,n)}function Ne(n,s){return n?s!=null&&s.aborted?Promise.reject(new DOMException("Analysis aborted","AbortError")):new Promise((m,r)=>{const b=window.setTimeout(D,n);s==null||s.addEventListener("abort",T,{once:!0});function D(){s==null||s.removeEventListener("abort",T),m()}function T(){window.clearTimeout(b),r(new DOMException("Analysis aborted","AbortError"))}}):Promise.resolve()}function _e(n){return String(n!=null?n:"").replace(/'/g,"''")}function K(n){const s=Number(n);return Number.isFinite(s)?Math.round(s).toLocaleString("zh-CN"):"0"}function we(n){const s=Number(n);return Number.isFinite(s)?s>=100?s.toFixed(1):s>=10?s.toFixed(2):s.toFixed(3):"0"}return(n,s)=>{var m;return u(),f("div",ln,[l("section",{class:ke(["analysis-card analysis-workbench",{"is-running":A.value}])},[l("header",rn,[s[3]||(s[3]=l("div",null,[l("span",null,"生态工程实施分析"),l("small",null,"基础候选区 + 动态业务条件")],-1)),l("strong",null,g(xe.value),1)]),s[11]||(s[11]=l("div",{class:"analysis-section-title"},[l("span",null,"01"),l("strong",null,"工程类型"),l("em",null,"单选")],-1)),l("div",on,[(u(!0),f(pe,null,me(ve.value,r=>(u(),f("button",{key:r.key,type:"button",class:ke(["analysis-type-row",{"is-selected":c.value.includes(r.key)}]),disabled:A.value,role:"radio","aria-checked":c.value.includes(r.key),onClick:b=>Je(r.key)},[l("i",{class:"analysis-type-check",style:Re({"--type-color":r.color})},null,4),l("div",cn,[l("strong",null,g(r.name),1)])],10,un))),128))]),s[12]||(s[12]=l("div",{class:"analysis-section-title is-filter"},[l("span",null,"02"),l("strong",null,"动态筛选条件"),l("em",null,"3 项条件")],-1)),l("div",dn,[l("label",vn,[s[5]||(s[5]=l("span",null,"所属乡镇",-1)),gt(l("select",{"onUpdate:modelValue":s[0]||(s[0]=r=>q.value=r),"data-testid":"analysis-town",disabled:A.value},[s[4]||(s[4]=l("option",{value:""},"全县",-1)),(u(!0),f(pe,null,me(ze(Te),r=>(u(),f("option",{key:r,value:r},g(r),9,fn))),128))],8,gn),[[ft,q.value]])]),l("label",null,[s[7]||(s[7]=l("span",null,"已有项目",-1)),gt(l("select",{"onUpdate:modelValue":s[1]||(s[1]=r=>L.value=r),"data-testid":"analysis-project-filter",disabled:A.value},[...s[6]||(s[6]=[l("option",{value:"same"},"排除同类工程",-1),l("option",{value:"all"},"排除全部工程",-1),l("option",{value:"none"},"不排除",-1)])],8,pn),[[ft,L.value]])]),l("label",null,[s[9]||(s[9]=l("span",null,"未实施年限",-1)),gt(l("select",{"onUpdate:modelValue":s[2]||(s[2]=r=>R.value=r),"data-testid":"analysis-recent-years",disabled:A.value||L.value==="none"},[...s[8]||(s[8]=[l("option",{value:1},"最近 1 年",-1),l("option",{value:3},"最近 3 年",-1),l("option",{value:5},"最近 5 年",-1)])],8,mn),[[ft,R.value,void 0,{number:!0}]])])]),l("div",yn,[s[10]||(s[10]=l("i",null,null,-1)),L.value==="none"?(u(),f("span",hn,"保留与已有工程相交的候选地块")):w.value==="loading"?(u(),f("span",bn,"正在读取项目库最新实施年份…")):w.value==="error"?(u(),f("span",_n,"项目库年份读取失败,暂不能执行历史项目排除")):(u(),f("span",wn,g(te.value),1))]),l("button",{type:"button",class:"analysis-submit","data-testid":"analysis-submit",disabled:!Ce.value,"aria-busy":A.value,onClick:lt},[A.value?(u(),f("span",kn)):W("",!0),l("span",null,g(A.value?"空间分析进行中":P.value?"重新分析":"开始分析"),1),A.value?(u(),f("strong",An,g(((m=ge.value)==null?void 0:m.label)||"准备中"),1)):(u(),f("strong",Cn,g(je.value),1))],8,Sn),A.value||P.value?(u(),f("div",jn,[l("div",{role:"progressbar","aria-label":"分析进度","aria-valuenow":Ee.value,"aria-busy":A.value,"aria-valuemin":"0","aria-valuemax":"100"},[l("i",{style:Re({width:`${Ee.value}%`})},null,4)],8,xn),l("span",null,g(He.value),1)])):W("",!0),A.value||P.value?(u(),f("div",Ln,[(u(!0),f(pe,null,me(le.value,r=>(u(),f("div",{key:r.key,class:ke(["analysis-step-item",`is-${r.status}`])},[l("i",null,g(String(r.index+1).padStart(2,"0")),1),l("span",null,g(r.label),1),l("em",null,g(vt(r.status)),1)],2))),128))])):W("",!0),U.value?(u(),f("p",Mn,g(U.value),1)):W("",!0)],2),A.value||P.value?(u(),f("section",En,[l("header",$n,[l("div",null,[s[13]||(s[13]=l("span",null,"可实施区域",-1)),l("small",null,g(We.value),1)]),l("strong",null,g(K(Q.value))+" 个"+g(A.value?"已加载":""),1)]),A.value?(u(),f("div",Nn,[l("div",null,[s[14]||(s[14]=l("span",null,"已加载图斑",-1)),l("strong",null,g(K(Q.value)),1),s[15]||(s[15]=l("small",null,"个",-1))]),l("div",null,[s[16]||(s[16]=l("span",null,"已加载面积",-1)),l("strong",null,g(we(ue.value)),1),s[17]||(s[17]=l("small",null,"万亩",-1))]),l("div",Fn,[s[18]||(s[18]=l("span",null,"当前批次",-1)),l("strong",null,g(Ve.value||"—"),1),l("small",null,g(Ve.value?"页":"准备中"),1)])])):(u(),f("div",Pn,[l("div",null,[s[19]||(s[19]=l("span",null,"基础候选",-1)),l("strong",null,g(K(be.value)),1),s[20]||(s[20]=l("small",null,"个图斑",-1))]),l("div",Dn,[s[21]||(s[21]=l("span",null,"项目排除",-1)),l("strong",null,g(K(Oe.value)),1),s[22]||(s[22]=l("small",null,"个图斑",-1))]),l("div",Rn,[s[23]||(s[23]=l("span",null,"最终可实施",-1)),l("strong",null,g(we(ue.value)),1),s[24]||(s[24]=l("small",null,"万亩",-1))])])),l("div",Tn,[(u(!0),f(pe,null,me(oe.value,r=>(u(),f("button",{key:r.key,type:"button",class:ke(["analysis-result-row",[`is-${r.status}`,{"is-hidden":r.visible===!1}]]),"aria-pressed":r.visible!==!1,onClick:b=>ct(r)},[l("i",{style:Re({"--type-color":r.color})},null,4),l("div",null,[l("strong",null,g(r.name),1),r.status==="loading"?(u(),f("span",Vn,"正在读取第 "+g(r.loadedPage)+" 页",1)):r.status==="error"?(u(),f("span",Bn,"加载失败")):(u(),f("span",Yn,g(we(r.loadedAreaMu/1e4))+" 万亩",1))]),r.status==="loading"?(u(),f("b",In,"已加载 "+g(K(r.loadedCount))+" 个",1)):(u(),f("b",qn,g(K(r.loadedCount))+" 个图斑",1)),l("em",null,g(r.visible===!1?"已隐藏":Xe(r)),1)],10,On))),128))]),P.value&&Me.value.length?(u(),f("section",Un,[l("header",null,[s[25]||(s[25]=l("strong",null,"排除项目与候选面积",-1)),l("em",null,"合计 "+g(we(st.value))+" 万亩",1)]),l("div",zn,[(u(!0),f(pe,null,me(Me.value,(r,b)=>(u(),f("div",{key:r.name,class:"analysis-excluded-project-row"},[l("span",null,g(b+1),1),l("div",null,[l("strong",{title:r.name},g(r.name),9,Hn),l("small",null,g(r.latestYear?`${r.latestYear} 年 · `:"")+"排除 "+g(K(r.featureCount))+" 个相交图斑",1)]),l("b",null,g(we(r.areaMu/1e4))+" 万亩",1)]))),128))])])):W("",!0),P.value?(u(),f("button",{key:3,type:"button",class:"analysis-export","data-testid":"analysis-export-shp",disabled:!y.value||!Q.value,onClick:Ye},[...s[26]||(s[26]=[l("span",null,"导出本次分析结果",-1),l("strong",null,"GeoJSON",-1)])],8,Wn)):W("",!0),l("footer",Gn,g(A.value?"正在逐批叠加候选图斑,最终统计将在加载完成后生成。":"结果已排除初筛禁入范围;工程立项前仍需结合连片度、权属和现场踏勘复核。"),1)])):W("",!0)])}}},ea=xt(Xn,[["__scopeId","data-v-fffe958e"]]),ta={}.VITE_OPEN_API_BASE||"/openApi";function na(){return x(this,arguments,function*(v={}){const p=yield he(`${ta}/screen2/ecology-protection/engineering/advice`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({dataJson:JSON.stringify({engineeringName:v.engineeringName,scopeName:v.scopeName,dimensionLabel:v.dimensionLabel,baseCount:v.baseCount,excludedCount:v.excludedCount,finalCount:v.finalCount,finalAreaMu:v.finalAreaMu,projectDataLatestYear:v.projectDataLatestYear,filters:v.filters,distribution:(v.distribution||[]).slice(0,30),excludedProjects:(v.excludedProjects||[]).slice(0,30)})}),timeout:7e4});if((p==null?void 0:p.success)===!1||(p==null?void 0:p.code)!==void 0&&![0,200,"0","200"].includes(p.code))throw new Error((p==null?void 0:p.message)||(p==null?void 0:p.msg)||"DeepSeek分析建议生成失败");return ye(p)})}const aa={class:"engineering-statistics-panel","data-testid":"engineering-statistics-panel","aria-label":"生态工程分析统计","aria-live":"polite"},sa={class:"statistics-head"},la={class:"advice-section"},ra={key:0,class:"advice-loading","data-testid":"engineering-advice-status"},ia={key:1,class:"advice-list"},oa={key:2,class:"advice-error"},ua={__name:"EngineeringStatisticsPanel",props:{statistics:{type:Object,required:!0}},setup(v){const p=v,_=k(!1),C=k(""),V=k("");let c=0;const q=d(()=>{var y;return Array.isArray((y=p.statistics)==null?void 0:y.distribution)?p.statistics.distribution:[]}),L=d(()=>{var w;const y=[],M=q.value[0];return M&&y.push(`优先核查${M.name}等候选面积较集中的区域,进一步评价地块连片度和施工可达性。`),Number(((w=p.statistics)==null?void 0:w.excludedCount)||0)>0?y.push(`对已排除的 ${U(p.statistics.excludedCount)} 个历史项目相交图斑复核项目边界、实施年份和工程类型,避免重复建设。`):y.push("本次年份条件未排除历史项目相交图斑,建议结合项目库更新时间确认筛选时段是否完整。"),y.push("候选结果用于工程初筛,立项前仍需完成权属核验、现场踏勘和实施方案论证。"),y}),R=d(()=>{const y=String(C.value||"").split(/\n+/).map(M=>M.replace(/^\s*(?:[-•]|\d+[.、)])\s*/,"").trim()).filter(Boolean);return y.length?y.slice(0,5):L.value}),$=d(()=>_.value?"DeepSeek自动研判中":C.value?"DeepSeek研判":"系统初步建议");De(()=>p.statistics,y=>{const M=++c;C.value="",V.value="",_.value=!1,y&&B(M,y)},{immediate:!0});function B(y,M){return x(this,null,function*(){_.value=!0,V.value="";try{const w=yield na(M);if(y!==c)return;if(C.value=String((w==null?void 0:w.advice)||(w==null?void 0:w.content)||"").trim(),!C.value)throw new Error("DeepSeek未返回有效建议")}catch(w){if(y!==c)return;V.value=/404/.test(String((w==null?void 0:w.message)||""))?"DeepSeek建议接口尚未部署,已保留系统初步建议。":(w==null?void 0:w.message)||"DeepSeek暂时不可用,已保留系统初步建议。"}finally{y===c&&(_.value=!1)}})}function U(y){const M=Number(y);return Number.isFinite(M)?Math.round(M).toLocaleString("zh-CN"):"0"}return(y,M)=>(u(),f("aside",aa,[l("header",sa,[l("div",null,[M[0]||(M[0]=l("span",null,"分析建议",-1)),l("small",null,g(v.statistics.engineeringName)+" · "+g(v.statistics.scopeName),1)]),l("strong",null,g($.value),1)]),l("section",la,[_.value?(u(),f("div",ra,[...M[1]||(M[1]=[l("span",{class:"advice-spinner"},null,-1),l("span",null,"DeepSeek 正在自动生成分析建议…",-1)])])):(u(),f("ol",ia,[(u(!0),f(pe,null,me(R.value,(w,I)=>(u(),f("li",{key:`${I}-${w}`},g(w),1))),128))])),V.value?(u(),f("p",oa,g(V.value),1)):W("",!0)])]))}},ca=xt(ua,[["__scopeId","data-v-fb17a135"]]);const da={class:"forest-grass-wet ecological-protection"},va={class:"forest-grass-wet-ui ecological-protection-ui"},ga={key:0,class:"fgw-left"},fa={class:"fgw-side-stack is-left"},pa={key:1,class:"fgw-right"},ma={class:"fgw-side-stack is-right"},ya={key:3,class:"engineering-map-loading",role:"status","aria-live":"polite"},ha={class:"engineering-map-loading__description"},ba={class:"engineering-map-loading__progress","aria-hidden":"true"},_a={class:"fgw-bottom-topic ecological-bottom-topic"},wa={key:0,class:"loading"},Sa={class:"loading-progress"},ka={class:"value"},Ta={__name:"index",props:{activeView:{type:String,default:"ecological-redline"},showLoading:{type:Boolean,default:!0},active:{type:Boolean,default:!0}},emits:["module-stats","view-change"],setup(v,{expose:p,emit:_}){const C=v,V=_,c=k(null),q=k(""),L=k(""),R=k(at("ecological-redline")),$=k(null),B=k(!1),U=k(!1),y=k(null),M=k(0),w=k(C.showLoading),I=k(null),G=k({type:"idle",text:"等待生态保护图层加载"}),ee=k(null),de=k(!1),j=k({});let ae=null,se=!1,Te=!1,A=!1,P=null,Ce=0,ve=0;const je=new Map,oe=new Set(["code","msg","message","success","data","result","project","progress","dycolumn","geom","wkt","geometry","the_geom","raw_properties","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"]),N=d(()=>Ue.some(e=>e.key===C.activeView)?C.activeView:"ecological-redline"),te=d(()=>N.value==="engineering-analysis"),ge=d(()=>["restoration","engineering-analysis"].includes(N.value)),le=d(()=>q.value?Bt(N.value,q.value):null),xe=d(()=>{var e;return(((e=le.value)==null?void 0:e.legends)||[]).find(t=>t.key===L.value)||null}),be=d(()=>{var e;return((e=le.value)==null?void 0:e.legends)||[]}),Le=d(()=>St(N.value)),Q=d(()=>Le.value.length<=2&&be.value.length<=6),Oe=d(()=>{if(te.value)return 112;if(!Q.value)return 430;const e=Math.max(1,Le.value.length),t=Math.max(1,Math.ceil(be.value.length/2)),a=e*34+Math.max(0,e-1)*5,i=30+t*28;return Math.max(196,Math.min(340,72+a+i))}),ue=d(()=>{const e=le.value;return e?xe.value?ce(X({},e),{cqlFilter:xe.value.cqlFilter||e.cqlFilter,activeLegend:xe.value,name:xe.value.name||e.name}):e:null}),Ve=d(()=>({left:R.value.leftPanels||[],right:R.value.rightPanels||[]})),Me=d(()=>(Ve.value.left||[]).map(e=>["ecological-redline","natural-protected-area"].includes(N.value)&&(e==null?void 0:e.key)===`${N.value}-wetland-distribution`?ce(X({},e),{type:"bar",variant:"rankBar",color:"#43d9e8",categoricalColors:!1}):e)),st=d(()=>Ve.value.right||[]),Ee=k(typeof window=="undefined"?1080:window.innerHeight),He=Ut.sideCardWidth,We=d(()=>zt(Ee.value)),Ge=d(()=>Ht(We.value,2)),Je=d(()=>!!y.value),lt=Gt,Ze=d(()=>Wt({point:y.value?vt(y.value):null,rowCount:$.value?_e($.value):0,loading:U.value,empty:B.value||!$.value})),rt=d(()=>Ze.value.height),Qe=d(()=>Ze.value.style),it=d(()=>{var t;return{"ecological-redline":"生态保护红线详情","natural-protected-area":"自然保护地详情","national-park":"国家公园详情",restoration:"生态修复详情","engineering-analysis":"生态工程详情"}[N.value]||`${((t=le.value)==null?void 0:t.name)||"生态图斑"}详情`});Ct(()=>{$e(),window.addEventListener("resize",$e),document.addEventListener("pointerdown",yt,!0),ct(),Ke(N.value)}),jt(()=>{se=!0,P&&window.clearTimeout(P),window.removeEventListener("resize",$e),document.removeEventListener("pointerdown",yt,!0)}),De(N,e=>{Ke(e)}),De(q,()=>{L.value="",J()}),De(L,()=>{J()}),De(()=>C.active,e=>{var t,a,i,o;c.value&&(e?(Ye(),(a=(t=c.value).resume)==null||a.call(t)):(o=(i=c.value).pause)==null||o.call(i))});function Ke(e){var i,o,S,h,E,Y,Z;const t=Ue.find(fe=>fe.key===e)||Ue[0],a=St(e);ee.value=null,de.value=!1,j.value={},L.value="",q.value=t.defaultLayerKey||((i=a[0])==null?void 0:i.key)||"",I.value=null,(S=(o=c.value)==null?void 0:o.setBoundaryDrawing)==null||S.call(o,!1),(E=(h=c.value)==null?void 0:h.clearAnalysisBoundary)==null||E.call(h),e!=="engineering-analysis"&&((Z=(Y=c.value)==null?void 0:Y.clearEngineeringSuitability)==null||Z.call(Y)),J(),R.value=at(e),ut(e),V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:[]}),Be()}function Be(e=0){const t=ue.value||le.value;!(t!=null&&t.mapView)&&!(t!=null&&t.cameraPosition)||Fe(()=>{var i,o;!((o=(i=c.value)==null?void 0:i.focusLayerMapView)==null?void 0:o.call(i,t))&&e<12&&window.setTimeout(()=>Be(e+1),120)})}function ot(e){const t=Ue.some(a=>a.key===e)?e:"ecological-redline";t!==N.value&&V("view-change",t)}function ut(e){return x(this,null,function*(){const t=++Ce;try{const i=je.get(e)||(yield Xt(e));if(t!==Ce||N.value!==e)return;je.set(e,i),R.value=i,I.value=i.mapRanking||null,V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:Array.isArray(i.top)?i.top:[]})}catch(a){if(t!==Ce||N.value!==e)return;R.value=at(e),I.value=null,V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:[]}),G.value={type:"error",text:"生态保护数据加载失败"},console.warn("Failed to load ecology profile",a)}})}function ct(){var a;ae=new qt;const e={progress:0};ae.instance.on("onProgress",(i,o,S)=>{const h=Math.floor(o/S*100);_t.to(e,{progress:h,onUpdate:()=>{M.value=Math.floor(e.progress)}})});const t=()=>{se||Te||(Te=!0,Ye())};ae.instance.on("onLoad",t),(a=ae.ready)==null||a.then(t).catch(()=>{se||(G.value={type:"error",text:"地图资源加载失败"})})}function Ye(){se||!C.active||!Te||A||(A=!0,P&&window.clearTimeout(P),P=window.setTimeout(()=>{P=null,Xe()},600))}function Xe(e=0){return x(this,null,function*(){var a,i,o,S,h;if(se)return;if(!C.active){A=!1;return}if(yield Fe(),!C.active){A=!1;return}if(!!((i=(a=c.value)==null?void 0:a.loadMap)!=null&&i.call(a,ae)||(S=(o=c.value)==null?void 0:o.hasMap)!=null&&S.call(o))){yield Ft(),yield Fe(),(h=c.value)==null||h.play(),Be();return}if(e<24){window.setTimeout(()=>Xe(e+1),120);return}A=!1})}function dt(){P&&(window.clearTimeout(P),P=null)}function re(){var e,t,a,i;(t=(e=c.value)==null?void 0:e.resume)==null||t.call(e),(i=(a=c.value)==null?void 0:a.refreshView)==null||i.call(a)}function et(){var e,t,a,i,o,S;if(J(),(t=(e=c.value)==null?void 0:e.setBoundaryDrawing)==null||t.call(e,!1),(i=(a=c.value)==null?void 0:a.clearAnalysisBoundary)==null||i.call(a),(S=(o=c.value)==null?void 0:o.hasMap)!=null&&S.call(o)){re();return}dt(),A=!1,Fe(()=>{Ye()})}p({refreshMapView:re,resetMap:et});function vt(e){const t=document.querySelector(".ecological-protection"),a=t==null?void 0:t.getBoundingClientRect();return!(a!=null&&a.width)||!(a!=null&&a.height)?e:{x:(e.x-a.left)/a.width*1920,y:(e.y-a.top)/a.height*1080}}function $e(){Ee.value=typeof window=="undefined"?1080:window.innerHeight}function H(e,t){return`${N.value}-${t}-${(e==null?void 0:e.key)||(e==null?void 0:e.title)||"panel"}`}function Ie(e){return(e==null?void 0:e.span)===2}function Ne(e){return Ie(e)?Ge.value:We.value}function _e(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(a=>K(a,t[a])).length}function K(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!oe.has(String(e||"").toLowerCase())}function we(e={}){const t=n(e.lng),a=n(e.lat);return t===""||a===""?"":`POINT(${t} ${a})`}function n(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function s(){return x(this,arguments,function*(e={}){var S,h,E,Y,Z,fe;if(te.value)return;const t=Number((S=e==null?void 0:e.lngLat)==null?void 0:S.lng),a=Number((h=e==null?void 0:e.lngLat)==null?void 0:h.lat);if(!Number.isFinite(t)||!Number.isFinite(a)){J();return}const i=++ve,o=e.screen||{x:960,y:540};y.value=null,$.value=null,B.value=!1,U.value=!0;try{const Se=yield en(N.value,we({lng:t,lat:a}));if(i!==ve||se)return;const qe=m(Se,e);if(!qe||_e(qe)<=0){J();return}$.value=qe,y.value=((Y=(E=c.value)==null?void 0:E.getVectorFeatureAnchorScreen)==null?void 0:Y.call(E,qe))||o,B.value=!1,(fe=(Z=c.value)==null?void 0:Z.highlightFeature)==null||fe.call(Z,qe,{highlightTone:"v21"})}catch(Se){if(i!==ve)return;J()}finally{i===ve&&(U.value=!1)}})}function m(e,t={}){var S,h,E;const a=b((e==null?void 0:e.project)||((S=e==null?void 0:e.data)==null?void 0:S.project)||(e==null?void 0:e.data)||e);if(!D(a))return null;const i=F(a,e),o=a.geom||a.geometry||a.wkt||null;return{id:a.id||i.id||i.project_name||`project-${(h=t==null?void 0:t.lngLat)==null?void 0:h.lng}-${(E=t==null?void 0:t.lngLat)==null?void 0:E.lat}`,properties:i,feature:{type:"Feature",properties:i,geometry:o},geometry:o,layer:t.overlayLayer||ue.value||le.value,lngLat:t.lngLat}}function r(e,t={}){var Y,Z,fe;const a=e!=null&&e.feature&&e.feature.type==="Feature"?ce(X({},e.feature),{id:e.id||e.feature.id,layer:e.layer,lngLat:e.lngLat}):e,i=(a==null?void 0:a.type)==="Feature"?a:((Y=a==null?void 0:a.feature)==null?void 0:Y.type)==="Feature"?a.feature:null,o=(a==null?void 0:a.properties)||(i==null?void 0:i.properties)||{},S=(a==null?void 0:a.geometry)||(i==null?void 0:i.geometry)||o.geometry||o.geom||o.wkt||null,h=F(o,t),E=(a==null?void 0:a.id)||(i==null?void 0:i.id)||h.id||h.gid||h.project_id||h.project_name||`project-${((Z=t==null?void 0:t.lngLat)==null?void 0:Z.lng)||""}-${((fe=t==null?void 0:t.lngLat)==null?void 0:fe.lat)||""}`;return{id:E,properties:h,feature:{type:"Feature",id:E,properties:h,geometry:S},geometry:S,layer:(a==null?void 0:a.layer)||t.overlayLayer||ue.value||le.value,lngLat:(a==null?void 0:a.lngLat)||t.lngLat}}function b(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function D(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(T)?!0:Object.keys(e).some(t=>K(t,e[t]))}function T(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function F(e={},t={}){const a=X({},e);(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(E=>{const Y=E==null?void 0:E.value;if(Y==null||Y==="")return;const Z=String((E==null?void 0:E.field)||"").trim();[Z,O(Z)].filter(Boolean).forEach(Se=>{(a[Se]===void 0||a[Se]===null||a[Se]==="")&&(a[Se]=Y)})});const o=a.project_name||a.projectName||a.name,S=a.area_mu||a.areaMu||a.acreage,h=a.project_status||a.projectStatus;return ce(X({},a),{project_name:o,name:o||a.name,area_mu:S,project_status:h,progress_count:Array.isArray(t==null?void 0:t.progress)?t.progress.length:void 0})}function O(e){return String(e||"").replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`)}function z(e){var a,i,o,S;const t=(i=(a=e==null?void 0:e.feature)!=null?a:e)!=null?i:null;if(!t||_e(t)<=0){J();return}if(ge.value){ve+=1;const h=r(t,e);if(!h||_e(h)<=0){J();return}$.value=h,B.value=!1,U.value=!1,y.value=((S=(o=c.value)==null?void 0:o.getVectorFeatureAnchorScreen)==null?void 0:S.call(o,h))||(e==null?void 0:e.screen)||null;return}$.value=t,B.value=!1,e!=null&&e.screen&&(y.value=e.screen)}function ie(e){G.value=e}function ne(e,t){var o,S;if(N.value==="national-park"&&(t!=null&&t.name)){J(),(S=(o=c.value)==null?void 0:o.focusTown)==null||S.call(o,t.name,{distanceScale:.66,targetLocalZ:.84,cameraOffset:{x:0,y:1.05,z:0},select:!0});return}if(N.value!=="restoration"||(e==null?void 0:e.key)!=="restoration-projects"||!((t==null?void 0:t.projectName)||(t==null?void 0:t.name)))return;J();const i=()=>tt(t);if(L.value){L.value="",Fe(()=>window.setTimeout(i,80));return}i()}function tt(e){return x(this,null,function*(){var a,i,o,S;if(N.value!=="restoration")return;const t=(e==null?void 0:e.projectName)||(e==null?void 0:e.name);if(t)try{const h=yield tn(t);if(!(h!=null&&h.geometry))throw new Error("project geometry unavailable");const E=r({id:t,properties:h,geometry:h.geometry,feature:{type:"Feature",id:t,properties:h,geometry:h.geometry},layer:ue.value||le.value},{}),Y=(i=(a=c.value)==null?void 0:a.focusGeometry)==null?void 0:i.call(a,E,{highlightTone:"white"});$.value=E,B.value=!1,U.value=!1,yield Fe(),y.value=(Y==null?void 0:Y.screen)||((S=(o=c.value)==null?void 0:o.getVectorFeatureAnchorScreen)==null?void 0:S.call(o,E))||{x:960,y:540}}catch(h){G.value={type:"warning",text:"当前项目定位失败"}}})}function Lt(){var e,t;J(),ee.value=null,(t=(e=c.value)==null?void 0:e.clearEngineeringSuitability)==null||t.call(e)}function Mt(e={}){de.value=e.state==="running",j.value=e.state==="running"?X({},e):{}}function Et(e={}){var t,a;(a=(t=c.value)==null?void 0:t.addEngineeringSuitabilityBatch)==null||a.call(t,e)}function $t(e={}){var t,a;ee.value=e.statistics||null,(a=(t=c.value)==null?void 0:t.completeEngineeringSuitability)==null||a.call(t,e)}function Nt(e={}){var t,a;(a=(t=c.value)==null?void 0:t.setEngineeringSuitabilityVisibility)==null||a.call(t,e.key,e.visible)}function J(){var e,t;ve+=1,$.value=null,B.value=!1,U.value=!1,y.value=null,(t=(e=c.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function yt(e){if(!Je.value)return;const t=document.querySelector(".fgw-map-feature-info"),a=e.target;t&&a instanceof Node&&t.contains(a)||J()}function Ft(){return w.value?new Promise(e=>{_t.to(".ecological-protection .loading",{opacity:0,duration:.8,delay:.2,onComplete:()=>{w.value=!1,e()}})}):Promise.resolve()}return(e,t)=>(u(),f("div",da,[Pe(Yt,{ref_key:"mapSceneRef",ref:c,"active-layer":ue.value,"map-ranking":I.value,"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"enable-town-polygon-pick":!1,onFeatureLoading:t[0]||(t[0]=a=>U.value=a),onFeatureInfo:z,onMapClick:s,onLayerStatus:ie},null,8,["active-layer","map-ranking"]),l("div",va,[te.value?W("",!0):(u(),f("div",ga,[l("div",fa,[(u(!0),f(pe,null,me(Me.value,a=>(u(),nt(wt,{key:H(a,"left"),class:ke(["fgw-side-card left-card",[{"is-double":Ie(a)},`ecological-side-card--${a.key}`]]),title:a.title,width:ze(He),height:Ne(a)},{default:kt(()=>[Pe(At,{panel:a,compact:"","column-label-standard":"","visual-version":"v21",onRowSelect:i=>ne(a,i)},null,8,["panel","onRowSelect"])]),_:2},1032,["class","title","width","height"]))),128))])])),te.value?W("",!0):(u(),f("div",pa,[l("div",ma,[(u(!0),f(pe,null,me(st.value,a=>(u(),nt(wt,{key:H(a,"right"),class:ke(["fgw-side-card right-card",[{"is-double":Ie(a)},`ecological-side-card--${a.key}`]]),title:a.title,width:ze(He),height:Ne(a)},{default:kt(()=>[Pe(At,{panel:a,compact:"","column-label-standard":"","visual-version":"v21",onRowSelect:i=>ne(a,i)},null,8,["panel","onRowSelect"])]),_:2},1032,["class","title","width","height"]))),128))])])),te.value?(u(),nt(ea,{key:2,onAnalysisReset:Lt,onAnalysisBatch:Et,onAnalysisComplete:$t,onAnalysisState:Mt,onResultVisibility:Nt})):W("",!0),te.value&&de.value?(u(),f("div",ya,[t[3]||(t[3]=l("span",{class:"engineering-map-loading__radar","aria-hidden":"true"},null,-1)),t[4]||(t[4]=l("strong",null,"空间分析中",-1)),l("small",null,g(j.value.stepLabel||"初始化分析环境"),1),l("span",ha,g(j.value.stepDescription||"正在准备空间索引与工程参数"),1),l("div",ba,[l("i",{style:Re({width:`${j.value.progress||1}%`})},null,4),l("em",null,g(j.value.stepNumber||1)+"/"+g(j.value.stepTotal||7),1)])])):W("",!0),te.value&&ee.value?(u(),nt(ca,{key:4,statistics:ee.value},null,8,["statistics"])):W("",!0),l("div",{class:ke(["fgw-map-layer-tools",{"is-analysis":te.value,"is-compact":Q.value}]),style:Re({height:`${Oe.value}px`})},[Pe(Jt,{modelValue:q.value,"onUpdate:modelValue":t[1]||(t[1]=a=>q.value=a),"selected-legend-key":L.value,"onUpdate:selectedLegendKey":t[2]||(t[2]=a=>L.value=a),"topic-key":N.value,legends:be.value,width:248,height:Oe.value,compact:Q.value,"show-legend":!te.value},null,8,["modelValue","selected-legend-key","topic-key","legends","height","compact","show-legend"])],6),Je.value?(u(),f("div",{key:5,class:"fgw-map-feature-info",style:Re(Qe.value)},[Pe(Zt,{title:it.value,feature:$.value,empty:B.value,loading:U.value,width:ze(lt),height:rt.value,closable:"",onClose:J},null,8,["title","feature","empty","loading","width","height"])],4)):W("",!0),l("div",_a,[Pe(Qt,{"model-value":N.value,topics:ze(Ue),"onUpdate:modelValue":ot},null,8,["model-value","topics"])])]),w.value?(u(),f("div",wa,[t[6]||(t[6]=It('
    LOADING
    ',1)),l("div",Sa,[l("span",ka,g(M.value),1),t[5]||(t[5]=l("span",{class:"unit"},"%",-1))])])):W("",!0)]))}};export{Ta as default}; +var Pt=Object.defineProperty,Dt=Object.defineProperties;var Rt=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var Tt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var bt=(v,p,w)=>p in v?Pt(v,p,{enumerable:!0,configurable:!0,writable:!0,value:w}):v[p]=w,X=(v,p)=>{for(var w in p||(p={}))Tt.call(p,w)&&bt(v,w,p[w]);if(ht)for(var w of ht(p))Ot.call(p,w)&&bt(v,w,p[w]);return v},ce=(v,p)=>Dt(v,Rt(p));var x=(v,p,w)=>new Promise((C,V)=>{var c=R=>{try{L(w.next(R))}catch($){V($)}},q=R=>{try{L(w.throw(R))}catch($){V($)}},L=R=>R.done?C(R.value):Promise.resolve(R.value).then(c,q);L((w=w.apply(v,p)).next())});import{g as wt}from"./index-db918426-1786807848259.js";/* empty css */import{_ as _t}from"./index-0eddac6c-1786807848259.js";import{i as Vt,j as Ue,c as Bt,d as St,M as Yt}from"./index-80cb981f-1786807848259.js";import{a8 as ye,k as he,g as d,w as De,q as Ct,h as jt,o as u,c as f,a as l,t as g,F as pe,y as me,n as ke,K as Re,s as gt,ab as ft,u as ze,j as W,d as k,L as pt,A as Fe,b as Pe,C as nt,x as kt,z as It}from"./index-1786807848259.js";import{A as qt}from"./assets-8728b943-1786807848259.js";import{q as Ut,r as zt,s as Ht}from"./screen2Standard-03f7f908-1786807848259.js";import{c as Wt,F as Gt}from"./featurePanelLayout-f3191169-1786807848259.js";import{_ as Jt}from"./LayerPanel-e92912ff-1786807848259.js";import{a as At,_ as Zt}from"./FeatureInfoPanel-9b5cdecf-1786807848259.js";import{_ as Qt}from"./TopicSwitcher-c91bad20-1786807848259.js";import{_ as xt}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const Ae="/openApi/screen2/ecology-protection";function Kt(){return x(this,null,function*(){return ye(yield he(`${Ae}/options`))||{}})}function Xt(v){return x(this,null,function*(){return ye(yield he(`${Ae}/profile`,{params:{view:v}}))||at(v)})}function en(v,p){return x(this,null,function*(){return ye(yield he(`${Ae}/detail`,{params:{view:v,wkt:p}}))||null})}function tn(v){return x(this,null,function*(){return ye(yield he(`${Ae}/restoration/project`,{params:{projectName:v}}))||null})}function nn(v){return x(this,null,function*(){return ye(yield he(`${Ae}/engineering/count`,{params:v}))||{featureCount:0,areaMu:0}})}function an(v){return x(this,null,function*(){return ye(yield he(`${Ae}/engineering/features`,{params:v}))||{type:"FeatureCollection",features:[]}})}function sn(v){return x(this,null,function*(){const p=ye(yield he(`${Ae}/engineering/excluded-projects`,{params:v}));return Array.isArray(p)?p:[]})}function at(v){return{status:"empty",hasData:!1,viewKey:v,top:[],leftPanels:[],rightPanels:[],mapRanking:null}}const ln={class:"engineering-analysis-panel"},rn={class:"analysis-card-head"},on={class:"analysis-type-list",role:"radiogroup","aria-label":"工程类型"},un=["disabled","aria-checked","onClick"],cn={class:"analysis-type-main"},dn={class:"analysis-filter-grid","aria-label":"动态筛选条件"},vn={class:"is-wide"},gn=["disabled"],fn=["value"],pn=["disabled"],mn=["disabled"],yn={class:"analysis-filter-note"},hn={key:0},bn={key:1},wn={key:2},_n={key:3},Sn=["disabled","aria-busy"],kn={key:0,class:"analysis-submit-spinner"},An={key:1},Cn={key:2},jn={key:0,class:"analysis-progress","aria-live":"polite"},xn=["aria-valuenow","aria-busy"],Ln={key:1,class:"analysis-step-list","aria-label":"空间分析步骤"},Mn={key:2,class:"analysis-error"},En={key:0,class:"analysis-card analysis-result-card"},$n={class:"analysis-card-head is-result"},Nn={key:0,class:"analysis-result-summary is-loading"},Fn={class:"is-final"},Pn={key:1,class:"analysis-result-summary"},Dn={class:"is-excluded"},Rn={class:"is-final"},Tn={class:"analysis-result-list"},On=["aria-pressed","onClick"],Vn={key:0},Bn={key:1},Yn={key:2},In={key:0},qn={key:1},Un={key:2,class:"analysis-excluded-projects"},zn={class:"analysis-excluded-project-list"},Hn=["title"],Wn=["disabled"],Gn={class:"analysis-result-foot"},Jn=750,Zn=18,Qn=420,Kn=18e3,mt="#FFD43B",Xn={__name:"EngineeringAnalysisPanel",emits:["analysis-reset","analysis-batch","analysis-complete","analysis-state","result-visibility"],setup(v,{emit:p}){const w=p,C=[{key:"prepare",label:"初始化分析环境",description:"正在准备空间索引与工程参数",minimumDuration:1400},{key:"validate",label:"校验业务条件",description:"正在校验乡镇、工程类型与时间范围",minimumDuration:1500},{key:"count",label:"计算基础候选区",description:"正在统计满足基础条件的候选图斑",minimumDuration:2e3},{key:"exclude",label:"排除历史项目",description:"正在比对既有工程与重复实施范围",minimumDuration:2200},{key:"overlay",label:"执行空间叠加",description:"正在叠加生态约束与工程适宜条件",minimumDuration:1400},{key:"generate",label:"生成适宜图斑",description:"正在分批生成并渲染适宜实施区域",minimumDuration:0},{key:"verify",label:"汇总校验结果",description:"正在汇总面积、数量与空间完整性",minimumDuration:2200}],V=[{key:"forest-conservation",name:"封山育林",color:mt},{key:"grassland-improvement",name:"草原改良",color:mt},{key:"artificial-grass",name:"人工种草",color:mt}],c=k([V[0].key]),q=k(""),L=k("same"),R=k(3),$=k(null),B=k("idle"),U=k(""),y=k(""),M=k(null),_=k("loading"),I=k(-1),G=pt({}),ee=pt({}),de=pt({});let j=null,ae=0,se=[];const Te=Vt,A=d(()=>B.value==="running"),P=d(()=>B.value==="done"),Ce=d(()=>c.value.length>0&&!A.value&&(L.value==="none"||_.value==="ready")),ve=d(()=>V),je=d(()=>{var n;return((n=V.find(s=>s.key===c.value[0]))==null?void 0:n.name)||"请选择工程"}),oe=d(()=>V.filter(n=>c.value.includes(n.key)).map(n=>G[n.key]||Ge(n))),N=d(()=>{const n=Number($.value);return Number.isFinite(n)?n-Number(R.value)+1:null}),te=d(()=>{const n=`${N.value}—${$.value} 年`,s=M.value?`项目库更新至 ${M.value} 年 · `:"",m=L.value==="all"?`排除 ${n} 内实施过任一工程的相交地块`:`排除 ${n} 内实施过同类工程的相交地块`;return`${s}${m}`}),ge=d(()=>C[I.value]||null),le=d(()=>C.map((n,s)=>ce(X({},n),{index:s,status:P.value||sA.value?`第 ${I.value+1}/${C.length} 步`:P.value?"分析完成":"等待分析"),be=d(()=>oe.value.reduce((n,s)=>n+Number(s.baseCount||0),0)),Le=d(()=>oe.value.reduce((n,s)=>n+Number(s.targetCount||0),0)),Q=d(()=>oe.value.reduce((n,s)=>n+Number(s.loadedCount||0),0)),Oe=d(()=>Math.max(0,be.value-Le.value)),ue=d(()=>oe.value.reduce((n,s)=>n+Number(s.loadedAreaMu||0),0)/1e4),Ve=d(()=>Math.max(0,...oe.value.map(n=>Number(n.loadedPage||0)))),Me=d(()=>Object.values(de).map(n=>ce(X({},n),{areaMu:Number(Number(n.areaMu||0).toFixed(2))})).sort((n,s)=>s.areaMu-n.areaMu)),st=d(()=>Me.value.reduce((n,s)=>n+Number(s.areaMu||0),0)/1e4),Ee=d(()=>{var b;if(P.value)return 100;if(!A.value)return 0;const n=100/C.length,s=Math.max(0,I.value)*n,r=((b=ge.value)==null?void 0:b.key)==="generate"&&Le.value?Math.min(.96,Q.value/Le.value):.42;return Math.min(99,Math.max(1,Math.round(s+r*n)))}),He=d(()=>{var n;return A.value&&((n=ge.value)==null?void 0:n.key)==="generate"?`正在分批渲染${je.value}图斑,已生成 ${K(Q.value)} 个`:A.value&&ge.value?ge.value.description:P.value?`分析完成,共形成 ${K(Q.value)} 个可实施候选图斑`:"正在准备空间分析"}),We=d(()=>{const n=q.value||"红原县全域";return L.value==="none"?`${n} · 未排除历史项目`:`${n} · ${N.value}—${$.value} 年未实施条件`});De([c,q,L,R,$],()=>{!P.value&&B.value!=="error"||(B.value="idle",I.value=-1,U.value="",y.value="",se=[],Object.keys(G).forEach(n=>delete G[n]),w("analysis-reset"))}),Ct(()=>Be()),jt(()=>$e());function Ge(n){return ce(X({},n),{status:"idle",baseCount:0,targetCount:0,loadedCount:0,loadedAreaMu:0,loadedPage:0,visible:!0})}function Je(n){A.value||c.value[0]!==n&&(c.value=[n])}function lt(){return x(this,null,function*(){var r,b,D,T;if(!Ce.value)return;$e();const n=++ae,s=((b=(r=window.performance)==null?void 0:r.now)==null?void 0:b.call(r))||Date.now();j=new AbortController,B.value="running",U.value="",y.value="";const m=dt();Object.keys(G).forEach(F=>delete G[F]),Object.keys(ee).forEach(F=>delete ee[F]),Object.keys(de).forEach(F=>delete de[F]),c.value.forEach(F=>{const O=V.find(z=>z.key===F);G[F]=Ge(O),G[F].status="counting"}),w("analysis-reset");try{yield re(0,n,j.signal),yield re(1,n,j.signal),yield re(2,n,j.signal,()=>x(this,null,function*(){yield Promise.all(c.value.map(O=>x(this,null,function*(){const z=G[O],[ie,ne]=yield Promise.all([Qe(O,!1,m,j.signal),Qe(O,!0,m,j.signal)]);H(n),z.baseCount=ie,z.targetCount=ne,z.status="queued"})))})),yield re(3,n,j.signal,()=>x(this,null,function*(){yield Promise.all(c.value.map(O=>Ke(O,m,n,j.signal)))})),yield re(4,n,j.signal),yield re(5,n,j.signal,()=>x(this,null,function*(){for(const O of c.value)H(n),yield Ze(G[O],m,n,j.signal)})),yield re(6,n,j.signal),H(n);const F=(((T=(D=window.performance)==null?void 0:D.now)==null?void 0:T.call(D))||Date.now())-s;yield Ne(Math.max(0,Kn-F),j.signal),H(n),B.value="done",I.value=C.length,w("analysis-state",{state:"done",stepNumber:C.length,stepTotal:C.length,progress:100}),y.value=rt(m),w("analysis-complete",{rows:oe.value,filters:m,statistics:ut(m)})}catch(F){if((F==null?void 0:F.name)==="AbortError"||n!==ae)return;B.value="error",I.value=-1,w("analysis-state",{state:"error"}),U.value="工程适宜区服务暂时无法连接,请稍后重试。",y.value="",w("analysis-reset")}finally{n===ae&&(j=null)}})}function Ze(n,s,m,r){return x(this,null,function*(){if(n.status="loading",!n.targetCount){n.status="done";return}let b=0;for(;b{var tt;return ie+Number(((tt=ne==null?void 0:ne.properties)==null?void 0:tt.source_area_mu)||0)},0),ot(z,s),w("analysis-batch",{key:n.key,name:n.name,color:n.color,features:z,loadedCount:n.loadedCount,targetCount:n.targetCount}),et(),yield Ie(r)}b+=T.length}n.status="done"})}function rt(n){const m=[`eng_type IN (${n.engineeringTypes.map(r=>`'${we(r)}'`).join(",")})`];if(n.township&&m.push(`town_name='${we(n.township)}'`),n.projectFilterMode!=="none"){const r=n.projectFilterMode==="all"?"last_year":"same_year";m.push(`(${r} IS NULL OR ${r}<${Number(n.startYear)})`)}return m.join(" AND ")}function Qe(n,s,m,r){return x(this,null,function*(){if(r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");const b=yield nn({engineeringType:n,township:m.township,projectFilterMode:m.projectFilterMode,startYear:m.startYear,applyProjectFilter:s});return Number(b.featureCount||0)})}function it(n,s,m,r){return x(this,null,function*(){if(r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");return an({engineeringType:n,township:s.township,projectFilterMode:s.projectFilterMode,startYear:s.startYear,offset:m,limit:Jn})})}function Ke(n,s,m,r){return x(this,null,function*(){if(s.projectFilterMode==="none")return;if(H(m),r!=null&&r.aborted)throw new DOMException("Analysis aborted","AbortError");const b=yield sn({engineeringType:n,township:s.township,projectFilterMode:s.projectFilterMode,startYear:s.startYear});H(m),b.forEach(D=>{const T=String(D.name||"未标注项目").trim()||"未标注项目";de[T]={name:T,latestYear:Number(D.latestYear)||null,featureCount:Number(D.featureCount||0),areaMu:Number(D.areaMu||0)}})})}function Be(){return x(this,null,function*(){_.value="loading";try{const n=yield Kt(),s=Number(n.latestProjectYear);if(!Number.isFinite(s))throw new Error("项目库缺少有效实施年份");M.value=s,B.value==="idle"&&($.value=s),_.value="ready"}catch(n){_.value="error",console.warn("[engineering-analysis] project data coverage unavailable",n)}})}function ot(n,s){const m=s.township?"location_unit_name":"township_name";n.forEach(r=>{const b=(r==null?void 0:r.properties)||{},D=String(b[m]||"未标注").trim()||"未标注",T=ee[D]||{name:D,featureCount:0,areaMu:0};T.featureCount+=1,T.areaMu+=Number(b.source_area_mu||0),ee[D]=T})}function ut(n){return{engineeringType:n.engineeringTypes[0],engineeringName:je.value,scopeName:n.township||"红原县全域",dimensionLabel:n.township?"村":"乡镇",baseCount:be.value,excludedCount:Oe.value,finalCount:Q.value,finalAreaMu:ue.value*1e4,projectDataLatestYear:M.value,filters:n,excludedProjects:Me.value.map(s=>X({},s)),distribution:Object.values(ee).map(s=>ce(X({},s),{areaMu:Number(s.areaMu.toFixed(2))})).sort((s,m)=>m.areaMu-s.areaMu)}}function ct(n){!n||n.status==="idle"||(n.visible=n.visible===!1,w("result-visibility",{key:n.key,visible:n.visible}))}function Ye(){if(!P.value||!y.value||!Q.value)return;const n=new Date,m=`ecological_engineering_suitability_${[n.getFullYear(),String(n.getMonth()+1).padStart(2,"0"),String(n.getDate()).padStart(2,"0")].join("")}.geojson`,r=new Blob([JSON.stringify({type:"FeatureCollection",features:se})],{type:"application/geo+json;charset=utf-8"}),b=document.createElement("a");b.href=URL.createObjectURL(r),b.download=m,document.body.appendChild(b),b.click(),b.remove(),URL.revokeObjectURL(b.href)}function Xe(n){return n.status==="counting"?"核对中":n.status==="queued"?"等待加载":n.status==="loading"?"加载中":n.status==="error"?"异常":n.visible===!1?"已隐藏":"地图显示"}function dt(){return{engineeringTypes:[...c.value],township:q.value,projectFilterMode:L.value,recentYears:R.value,startYear:N.value,endYear:$.value}}function re(n,s,m,r=null){return x(this,null,function*(){var O,z,ie,ne;H(s),I.value=n,et();const b=C[n],D=((z=(O=window.performance)==null?void 0:O.now)==null?void 0:z.call(O))||Date.now(),T=r?yield r():void 0;H(s);const F=(((ne=(ie=window.performance)==null?void 0:ie.now)==null?void 0:ne.call(ie))||Date.now())-D;return yield Ne(Math.max(0,Number((b==null?void 0:b.minimumDuration)||0)-F),m),H(s),T})}function et(){const n=ge.value;w("analysis-state",{state:"running",stepKey:(n==null?void 0:n.key)||"prepare",stepLabel:(n==null?void 0:n.label)||"准备空间分析",stepDescription:(n==null?void 0:n.description)||"正在准备空间分析",stepNumber:Math.max(1,I.value+1),stepTotal:C.length,progress:Ee.value})}function vt(n){return n==="done"?"完成":n==="active"?"进行中":"等待"}function $e(){j&&j.abort(),j=null}function H(n){if(n!==ae)throw new DOMException("Analysis superseded","AbortError")}function Ie(n){return Ne(Qn,n)}function Ne(n,s){return n?s!=null&&s.aborted?Promise.reject(new DOMException("Analysis aborted","AbortError")):new Promise((m,r)=>{const b=window.setTimeout(D,n);s==null||s.addEventListener("abort",T,{once:!0});function D(){s==null||s.removeEventListener("abort",T),m()}function T(){window.clearTimeout(b),r(new DOMException("Analysis aborted","AbortError"))}}):Promise.resolve()}function we(n){return String(n!=null?n:"").replace(/'/g,"''")}function K(n){const s=Number(n);return Number.isFinite(s)?Math.round(s).toLocaleString("zh-CN"):"0"}function _e(n){const s=Number(n);return Number.isFinite(s)?s>=100?s.toFixed(1):s>=10?s.toFixed(2):s.toFixed(3):"0"}return(n,s)=>{var m;return u(),f("div",ln,[l("section",{class:ke(["analysis-card analysis-workbench",{"is-running":A.value}])},[l("header",rn,[s[3]||(s[3]=l("div",null,[l("span",null,"生态工程实施分析"),l("small",null,"基础候选区 + 动态业务条件")],-1)),l("strong",null,g(xe.value),1)]),s[11]||(s[11]=l("div",{class:"analysis-section-title"},[l("span",null,"01"),l("strong",null,"工程类型"),l("em",null,"单选")],-1)),l("div",on,[(u(!0),f(pe,null,me(ve.value,r=>(u(),f("button",{key:r.key,type:"button",class:ke(["analysis-type-row",{"is-selected":c.value.includes(r.key)}]),disabled:A.value,role:"radio","aria-checked":c.value.includes(r.key),onClick:b=>Je(r.key)},[l("i",{class:"analysis-type-check",style:Re({"--type-color":r.color})},null,4),l("div",cn,[l("strong",null,g(r.name),1)])],10,un))),128))]),s[12]||(s[12]=l("div",{class:"analysis-section-title is-filter"},[l("span",null,"02"),l("strong",null,"动态筛选条件"),l("em",null,"3 项条件")],-1)),l("div",dn,[l("label",vn,[s[5]||(s[5]=l("span",null,"所属乡镇",-1)),gt(l("select",{"onUpdate:modelValue":s[0]||(s[0]=r=>q.value=r),"data-testid":"analysis-town",disabled:A.value},[s[4]||(s[4]=l("option",{value:""},"全县",-1)),(u(!0),f(pe,null,me(ze(Te),r=>(u(),f("option",{key:r,value:r},g(r),9,fn))),128))],8,gn),[[ft,q.value]])]),l("label",null,[s[7]||(s[7]=l("span",null,"已有项目",-1)),gt(l("select",{"onUpdate:modelValue":s[1]||(s[1]=r=>L.value=r),"data-testid":"analysis-project-filter",disabled:A.value},[...s[6]||(s[6]=[l("option",{value:"same"},"排除同类工程",-1),l("option",{value:"all"},"排除全部工程",-1),l("option",{value:"none"},"不排除",-1)])],8,pn),[[ft,L.value]])]),l("label",null,[s[9]||(s[9]=l("span",null,"未实施年限",-1)),gt(l("select",{"onUpdate:modelValue":s[2]||(s[2]=r=>R.value=r),"data-testid":"analysis-recent-years",disabled:A.value||L.value==="none"},[...s[8]||(s[8]=[l("option",{value:1},"最近 1 年",-1),l("option",{value:3},"最近 3 年",-1),l("option",{value:5},"最近 5 年",-1)])],8,mn),[[ft,R.value,void 0,{number:!0}]])])]),l("div",yn,[s[10]||(s[10]=l("i",null,null,-1)),L.value==="none"?(u(),f("span",hn,"保留与已有工程相交的候选地块")):_.value==="loading"?(u(),f("span",bn,"正在读取项目库最新实施年份…")):_.value==="error"?(u(),f("span",wn,"项目库年份读取失败,暂不能执行历史项目排除")):(u(),f("span",_n,g(te.value),1))]),l("button",{type:"button",class:"analysis-submit","data-testid":"analysis-submit",disabled:!Ce.value,"aria-busy":A.value,onClick:lt},[A.value?(u(),f("span",kn)):W("",!0),l("span",null,g(A.value?"空间分析进行中":P.value?"重新分析":"开始分析"),1),A.value?(u(),f("strong",An,g(((m=ge.value)==null?void 0:m.label)||"准备中"),1)):(u(),f("strong",Cn,g(je.value),1))],8,Sn),A.value||P.value?(u(),f("div",jn,[l("div",{role:"progressbar","aria-label":"分析进度","aria-valuenow":Ee.value,"aria-busy":A.value,"aria-valuemin":"0","aria-valuemax":"100"},[l("i",{style:Re({width:`${Ee.value}%`})},null,4)],8,xn),l("span",null,g(He.value),1)])):W("",!0),A.value||P.value?(u(),f("div",Ln,[(u(!0),f(pe,null,me(le.value,r=>(u(),f("div",{key:r.key,class:ke(["analysis-step-item",`is-${r.status}`])},[l("i",null,g(String(r.index+1).padStart(2,"0")),1),l("span",null,g(r.label),1),l("em",null,g(vt(r.status)),1)],2))),128))])):W("",!0),U.value?(u(),f("p",Mn,g(U.value),1)):W("",!0)],2),A.value||P.value?(u(),f("section",En,[l("header",$n,[l("div",null,[s[13]||(s[13]=l("span",null,"可实施区域",-1)),l("small",null,g(We.value),1)]),l("strong",null,g(K(Q.value))+" 个"+g(A.value?"已加载":""),1)]),A.value?(u(),f("div",Nn,[l("div",null,[s[14]||(s[14]=l("span",null,"已加载图斑",-1)),l("strong",null,g(K(Q.value)),1),s[15]||(s[15]=l("small",null,"个",-1))]),l("div",null,[s[16]||(s[16]=l("span",null,"已加载面积",-1)),l("strong",null,g(_e(ue.value)),1),s[17]||(s[17]=l("small",null,"万亩",-1))]),l("div",Fn,[s[18]||(s[18]=l("span",null,"当前批次",-1)),l("strong",null,g(Ve.value||"—"),1),l("small",null,g(Ve.value?"页":"准备中"),1)])])):(u(),f("div",Pn,[l("div",null,[s[19]||(s[19]=l("span",null,"基础候选",-1)),l("strong",null,g(K(be.value)),1),s[20]||(s[20]=l("small",null,"个图斑",-1))]),l("div",Dn,[s[21]||(s[21]=l("span",null,"项目排除",-1)),l("strong",null,g(K(Oe.value)),1),s[22]||(s[22]=l("small",null,"个图斑",-1))]),l("div",Rn,[s[23]||(s[23]=l("span",null,"最终可实施",-1)),l("strong",null,g(_e(ue.value)),1),s[24]||(s[24]=l("small",null,"万亩",-1))])])),l("div",Tn,[(u(!0),f(pe,null,me(oe.value,r=>(u(),f("button",{key:r.key,type:"button",class:ke(["analysis-result-row",[`is-${r.status}`,{"is-hidden":r.visible===!1}]]),"aria-pressed":r.visible!==!1,onClick:b=>ct(r)},[l("i",{style:Re({"--type-color":r.color})},null,4),l("div",null,[l("strong",null,g(r.name),1),r.status==="loading"?(u(),f("span",Vn,"正在读取第 "+g(r.loadedPage)+" 页",1)):r.status==="error"?(u(),f("span",Bn,"加载失败")):(u(),f("span",Yn,g(_e(r.loadedAreaMu/1e4))+" 万亩",1))]),r.status==="loading"?(u(),f("b",In,"已加载 "+g(K(r.loadedCount))+" 个",1)):(u(),f("b",qn,g(K(r.loadedCount))+" 个图斑",1)),l("em",null,g(r.visible===!1?"已隐藏":Xe(r)),1)],10,On))),128))]),P.value&&Me.value.length?(u(),f("section",Un,[l("header",null,[s[25]||(s[25]=l("strong",null,"排除项目与候选面积",-1)),l("em",null,"合计 "+g(_e(st.value))+" 万亩",1)]),l("div",zn,[(u(!0),f(pe,null,me(Me.value,(r,b)=>(u(),f("div",{key:r.name,class:"analysis-excluded-project-row"},[l("span",null,g(b+1),1),l("div",null,[l("strong",{title:r.name},g(r.name),9,Hn),l("small",null,g(r.latestYear?`${r.latestYear} 年 · `:"")+"排除 "+g(K(r.featureCount))+" 个相交图斑",1)]),l("b",null,g(_e(r.areaMu/1e4))+" 万亩",1)]))),128))])])):W("",!0),P.value?(u(),f("button",{key:3,type:"button",class:"analysis-export","data-testid":"analysis-export-shp",disabled:!y.value||!Q.value,onClick:Ye},[...s[26]||(s[26]=[l("span",null,"导出本次分析结果",-1),l("strong",null,"GeoJSON",-1)])],8,Wn)):W("",!0),l("footer",Gn,g(A.value?"正在逐批叠加候选图斑,最终统计将在加载完成后生成。":"结果已排除初筛禁入范围;工程立项前仍需结合连片度、权属和现场踏勘复核。"),1)])):W("",!0)])}}},ea=xt(Xn,[["__scopeId","data-v-fffe958e"]]),ta={}.VITE_OPEN_API_BASE||"/openApi";function na(){return x(this,arguments,function*(v={}){const p=yield he(`${ta}/screen2/ecology-protection/engineering/advice`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({dataJson:JSON.stringify({engineeringName:v.engineeringName,scopeName:v.scopeName,dimensionLabel:v.dimensionLabel,baseCount:v.baseCount,excludedCount:v.excludedCount,finalCount:v.finalCount,finalAreaMu:v.finalAreaMu,projectDataLatestYear:v.projectDataLatestYear,filters:v.filters,distribution:(v.distribution||[]).slice(0,30),excludedProjects:(v.excludedProjects||[]).slice(0,30)})}),timeout:7e4});if((p==null?void 0:p.success)===!1||(p==null?void 0:p.code)!==void 0&&![0,200,"0","200"].includes(p.code))throw new Error((p==null?void 0:p.message)||(p==null?void 0:p.msg)||"DeepSeek分析建议生成失败");return ye(p)})}const aa={class:"engineering-statistics-panel","data-testid":"engineering-statistics-panel","aria-label":"生态工程分析统计","aria-live":"polite"},sa={class:"statistics-head"},la={class:"advice-section"},ra={key:0,class:"advice-loading","data-testid":"engineering-advice-status"},ia={key:1,class:"advice-list"},oa={key:2,class:"advice-error"},ua={__name:"EngineeringStatisticsPanel",props:{statistics:{type:Object,required:!0}},setup(v){const p=v,w=k(!1),C=k(""),V=k("");let c=0;const q=d(()=>{var y;return Array.isArray((y=p.statistics)==null?void 0:y.distribution)?p.statistics.distribution:[]}),L=d(()=>{var _;const y=[],M=q.value[0];return M&&y.push(`优先核查${M.name}等候选面积较集中的区域,进一步评价地块连片度和施工可达性。`),Number(((_=p.statistics)==null?void 0:_.excludedCount)||0)>0?y.push(`对已排除的 ${U(p.statistics.excludedCount)} 个历史项目相交图斑复核项目边界、实施年份和工程类型,避免重复建设。`):y.push("本次年份条件未排除历史项目相交图斑,建议结合项目库更新时间确认筛选时段是否完整。"),y.push("候选结果用于工程初筛,立项前仍需完成权属核验、现场踏勘和实施方案论证。"),y}),R=d(()=>{const y=String(C.value||"").split(/\n+/).map(M=>M.replace(/^\s*(?:[-•]|\d+[.、)])\s*/,"").trim()).filter(Boolean);return y.length?y.slice(0,5):L.value}),$=d(()=>w.value?"DeepSeek自动研判中":C.value?"DeepSeek研判":"系统初步建议");De(()=>p.statistics,y=>{const M=++c;C.value="",V.value="",w.value=!1,y&&B(M,y)},{immediate:!0});function B(y,M){return x(this,null,function*(){w.value=!0,V.value="";try{const _=yield na(M);if(y!==c)return;if(C.value=String((_==null?void 0:_.advice)||(_==null?void 0:_.content)||"").trim(),!C.value)throw new Error("DeepSeek未返回有效建议")}catch(_){if(y!==c)return;V.value=/404/.test(String((_==null?void 0:_.message)||""))?"DeepSeek建议接口尚未部署,已保留系统初步建议。":(_==null?void 0:_.message)||"DeepSeek暂时不可用,已保留系统初步建议。"}finally{y===c&&(w.value=!1)}})}function U(y){const M=Number(y);return Number.isFinite(M)?Math.round(M).toLocaleString("zh-CN"):"0"}return(y,M)=>(u(),f("aside",aa,[l("header",sa,[l("div",null,[M[0]||(M[0]=l("span",null,"分析建议",-1)),l("small",null,g(v.statistics.engineeringName)+" · "+g(v.statistics.scopeName),1)]),l("strong",null,g($.value),1)]),l("section",la,[w.value?(u(),f("div",ra,[...M[1]||(M[1]=[l("span",{class:"advice-spinner"},null,-1),l("span",null,"DeepSeek 正在自动生成分析建议…",-1)])])):(u(),f("ol",ia,[(u(!0),f(pe,null,me(R.value,(_,I)=>(u(),f("li",{key:`${I}-${_}`},g(_),1))),128))])),V.value?(u(),f("p",oa,g(V.value),1)):W("",!0)])]))}},ca=xt(ua,[["__scopeId","data-v-fb17a135"]]);const da={class:"forest-grass-wet ecological-protection"},va={class:"forest-grass-wet-ui ecological-protection-ui"},ga={key:0,class:"fgw-left"},fa={class:"fgw-side-stack is-left"},pa={key:1,class:"fgw-right"},ma={class:"fgw-side-stack is-right"},ya={key:3,class:"engineering-map-loading",role:"status","aria-live":"polite"},ha={class:"engineering-map-loading__description"},ba={class:"engineering-map-loading__progress","aria-hidden":"true"},wa={class:"fgw-bottom-topic ecological-bottom-topic"},_a={key:0,class:"loading"},Sa={class:"loading-progress"},ka={class:"value"},Ta={__name:"index",props:{activeView:{type:String,default:"ecological-redline"},showLoading:{type:Boolean,default:!0},active:{type:Boolean,default:!0}},emits:["module-stats","view-change"],setup(v,{expose:p,emit:w}){const C=v,V=w,c=k(null),q=k(""),L=k(""),R=k(at("ecological-redline")),$=k(null),B=k(!1),U=k(!1),y=k(null),M=k(0),_=k(C.showLoading),I=k(null),G=k({type:"idle",text:"等待生态保护图层加载"}),ee=k(null),de=k(!1),j=k({});let ae=null,se=!1,Te=!1,A=!1,P=null,Ce=0,ve=0;const je=new Map,oe=new Set(["code","msg","message","success","data","result","project","progress","dycolumn","geom","wkt","geometry","the_geom","raw_properties","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"]),N=d(()=>Ue.some(e=>e.key===C.activeView)?C.activeView:"ecological-redline"),te=d(()=>N.value==="engineering-analysis"),ge=d(()=>["restoration","engineering-analysis"].includes(N.value)),le=d(()=>q.value?Bt(N.value,q.value):null),xe=d(()=>{var e;return(((e=le.value)==null?void 0:e.legends)||[]).find(t=>t.key===L.value)||null}),be=d(()=>{var e;return((e=le.value)==null?void 0:e.legends)||[]}),Le=d(()=>St(N.value)),Q=d(()=>Le.value.length<=2&&be.value.length<=6),Oe=d(()=>{if(te.value)return 112;if(!Q.value)return 430;const e=Math.max(1,Le.value.length),t=Math.max(1,Math.ceil(be.value.length/2)),a=e*34+Math.max(0,e-1)*5,i=30+t*28;return Math.max(196,Math.min(340,72+a+i))}),ue=d(()=>{const e=le.value;return e?xe.value?ce(X({},e),{cqlFilter:xe.value.cqlFilter||e.cqlFilter,activeLegend:xe.value,name:xe.value.name||e.name}):e:null}),Ve=d(()=>({left:R.value.leftPanels||[],right:R.value.rightPanels||[]})),Me=d(()=>(Ve.value.left||[]).map(e=>["ecological-redline","natural-protected-area"].includes(N.value)&&(e==null?void 0:e.key)===`${N.value}-wetland-distribution`?ce(X({},e),{type:"bar",variant:"rankBar",color:"#43d9e8",categoricalColors:!1}):e)),st=d(()=>Ve.value.right||[]),Ee=k(typeof window=="undefined"?1080:window.innerHeight),He=Ut.sideCardWidth,We=d(()=>zt(Ee.value)),Ge=d(()=>Ht(We.value,2)),Je=d(()=>!!y.value),lt=Gt,Ze=d(()=>Wt({point:y.value?vt(y.value):null,rowCount:$.value?we($.value):0,loading:U.value,empty:B.value||!$.value})),rt=d(()=>Ze.value.height),Qe=d(()=>Ze.value.style),it=d(()=>{var t;return{"ecological-redline":"生态保护红线详情","natural-protected-area":"自然保护地详情","national-park":"国家公园详情",restoration:"生态修复详情","engineering-analysis":"生态工程详情"}[N.value]||`${((t=le.value)==null?void 0:t.name)||"生态图斑"}详情`});Ct(()=>{$e(),window.addEventListener("resize",$e),document.addEventListener("pointerdown",yt,!0),ct(),Ke(N.value)}),jt(()=>{se=!0,P&&window.clearTimeout(P),window.removeEventListener("resize",$e),document.removeEventListener("pointerdown",yt,!0)}),De(N,e=>{Ke(e)}),De(q,()=>{L.value="",J()}),De(L,()=>{J()}),De(()=>C.active,e=>{var t,a,i,o;c.value&&(e?(Ye(),(a=(t=c.value).resume)==null||a.call(t)):(o=(i=c.value).pause)==null||o.call(i))});function Ke(e){var i,o,S,h,E,Y,Z;const t=Ue.find(fe=>fe.key===e)||Ue[0],a=St(e);ee.value=null,de.value=!1,j.value={},L.value="",q.value=t.defaultLayerKey||((i=a[0])==null?void 0:i.key)||"",I.value=null,(S=(o=c.value)==null?void 0:o.setBoundaryDrawing)==null||S.call(o,!1),(E=(h=c.value)==null?void 0:h.clearAnalysisBoundary)==null||E.call(h),e!=="engineering-analysis"&&((Z=(Y=c.value)==null?void 0:Y.clearEngineeringSuitability)==null||Z.call(Y)),J(),R.value=at(e),ut(e),V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:[]}),Be()}function Be(e=0){const t=ue.value||le.value;!(t!=null&&t.mapView)&&!(t!=null&&t.cameraPosition)||Fe(()=>{var i,o;!((o=(i=c.value)==null?void 0:i.focusLayerMapView)==null?void 0:o.call(i,t))&&e<12&&window.setTimeout(()=>Be(e+1),120)})}function ot(e){const t=Ue.some(a=>a.key===e)?e:"ecological-redline";t!==N.value&&V("view-change",t)}function ut(e){return x(this,null,function*(){const t=++Ce;try{const i=je.get(e)||(yield Xt(e));if(t!==Ce||N.value!==e)return;je.set(e,i),R.value=i,I.value=i.mapRanking||null,V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:Array.isArray(i.top)?i.top:[]})}catch(a){if(t!==Ce||N.value!==e)return;R.value=at(e),I.value=null,V("module-stats",{moduleKey:"ecological-protection",viewKey:e,items:[]}),G.value={type:"error",text:"生态保护数据加载失败"},console.warn("Failed to load ecology profile",a)}})}function ct(){var a;ae=new qt;const e={progress:0};ae.instance.on("onProgress",(i,o,S)=>{const h=Math.floor(o/S*100);wt.to(e,{progress:h,onUpdate:()=>{M.value=Math.floor(e.progress)}})});const t=()=>{se||Te||(Te=!0,Ye())};ae.instance.on("onLoad",t),(a=ae.ready)==null||a.then(t).catch(()=>{se||(G.value={type:"error",text:"地图资源加载失败"})})}function Ye(){se||!C.active||!Te||A||(A=!0,P&&window.clearTimeout(P),P=window.setTimeout(()=>{P=null,Xe()},600))}function Xe(e=0){return x(this,null,function*(){var a,i,o,S,h;if(se)return;if(!C.active){A=!1;return}if(yield Fe(),!C.active){A=!1;return}if(!!((i=(a=c.value)==null?void 0:a.loadMap)!=null&&i.call(a,ae)||(S=(o=c.value)==null?void 0:o.hasMap)!=null&&S.call(o))){yield Ft(),yield Fe(),(h=c.value)==null||h.play(),Be();return}if(e<24){window.setTimeout(()=>Xe(e+1),120);return}A=!1})}function dt(){P&&(window.clearTimeout(P),P=null)}function re(){var e,t,a,i;(t=(e=c.value)==null?void 0:e.resume)==null||t.call(e),(i=(a=c.value)==null?void 0:a.refreshView)==null||i.call(a)}function et(){var e,t,a,i,o,S;if(J(),(t=(e=c.value)==null?void 0:e.setBoundaryDrawing)==null||t.call(e,!1),(i=(a=c.value)==null?void 0:a.clearAnalysisBoundary)==null||i.call(a),(S=(o=c.value)==null?void 0:o.hasMap)!=null&&S.call(o)){re();return}dt(),A=!1,Fe(()=>{Ye()})}p({refreshMapView:re,resetMap:et});function vt(e){const t=document.querySelector(".ecological-protection"),a=t==null?void 0:t.getBoundingClientRect();return!(a!=null&&a.width)||!(a!=null&&a.height)?e:{x:(e.x-a.left)/a.width*1920,y:(e.y-a.top)/a.height*1080}}function $e(){Ee.value=typeof window=="undefined"?1080:window.innerHeight}function H(e,t){return`${N.value}-${t}-${(e==null?void 0:e.key)||(e==null?void 0:e.title)||"panel"}`}function Ie(e){return(e==null?void 0:e.span)===2}function Ne(e){return Ie(e)?Ge.value:We.value}function we(e){const t=(e==null?void 0:e.properties)||{};return Object.keys(t).filter(a=>K(a,t[a])).length}function K(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!oe.has(String(e||"").toLowerCase())}function _e(e={}){const t=n(e.lng),a=n(e.lat);return t===""||a===""?"":`POINT(${t} ${a})`}function n(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function s(){return x(this,arguments,function*(e={}){var S,h,E,Y,Z,fe;if(te.value)return;const t=Number((S=e==null?void 0:e.lngLat)==null?void 0:S.lng),a=Number((h=e==null?void 0:e.lngLat)==null?void 0:h.lat);if(!Number.isFinite(t)||!Number.isFinite(a)){J();return}const i=++ve,o=e.screen||{x:960,y:540};y.value=null,$.value=null,B.value=!1,U.value=!0;try{const Se=yield en(N.value,_e({lng:t,lat:a}));if(i!==ve||se)return;const qe=m(Se,e);if(!qe||we(qe)<=0){J();return}$.value=qe,y.value=((Y=(E=c.value)==null?void 0:E.getVectorFeatureAnchorScreen)==null?void 0:Y.call(E,qe))||o,B.value=!1,(fe=(Z=c.value)==null?void 0:Z.highlightFeature)==null||fe.call(Z,qe,{highlightTone:"v21"})}catch(Se){if(i!==ve)return;J()}finally{i===ve&&(U.value=!1)}})}function m(e,t={}){var S,h,E;const a=b((e==null?void 0:e.project)||((S=e==null?void 0:e.data)==null?void 0:S.project)||(e==null?void 0:e.data)||e);if(!D(a))return null;const i=F(a,e),o=a.geom||a.geometry||a.wkt||null;return{id:a.id||i.id||i.project_name||`project-${(h=t==null?void 0:t.lngLat)==null?void 0:h.lng}-${(E=t==null?void 0:t.lngLat)==null?void 0:E.lat}`,properties:i,feature:{type:"Feature",properties:i,geometry:o},geometry:o,layer:t.overlayLayer||ue.value||le.value,lngLat:t.lngLat}}function r(e,t={}){var Y,Z,fe;const a=e!=null&&e.feature&&e.feature.type==="Feature"?ce(X({},e.feature),{id:e.id||e.feature.id,layer:e.layer,lngLat:e.lngLat}):e,i=(a==null?void 0:a.type)==="Feature"?a:((Y=a==null?void 0:a.feature)==null?void 0:Y.type)==="Feature"?a.feature:null,o=(a==null?void 0:a.properties)||(i==null?void 0:i.properties)||{},S=(a==null?void 0:a.geometry)||(i==null?void 0:i.geometry)||o.geometry||o.geom||o.wkt||null,h=F(o,t),E=(a==null?void 0:a.id)||(i==null?void 0:i.id)||h.id||h.gid||h.project_id||h.project_name||`project-${((Z=t==null?void 0:t.lngLat)==null?void 0:Z.lng)||""}-${((fe=t==null?void 0:t.lngLat)==null?void 0:fe.lat)||""}`;return{id:E,properties:h,feature:{type:"Feature",id:E,properties:h,geometry:S},geometry:S,layer:(a==null?void 0:a.layer)||t.overlayLayer||ue.value||le.value,lngLat:(a==null?void 0:a.lngLat)||t.lngLat}}function b(e){return Array.isArray(e)?e.find(t=>t&&typeof t=="object")||null:e&&typeof e=="object"?e:null}function D(e){return!e||typeof e!="object"?!1:Array.isArray(e.dyColumn)&&e.dyColumn.some(T)?!0:Object.keys(e).some(t=>K(t,e[t]))}function T(e={}){const t=e==null?void 0:e.value;return t==null||t===""?!1:!!String((e==null?void 0:e.field)||(e==null?void 0:e.title)||"").trim()}function F(e={},t={}){const a=X({},e);(Array.isArray(e.dyColumn)?e.dyColumn:[]).forEach(E=>{const Y=E==null?void 0:E.value;if(Y==null||Y==="")return;const Z=String((E==null?void 0:E.field)||"").trim();[Z,O(Z)].filter(Boolean).forEach(Se=>{(a[Se]===void 0||a[Se]===null||a[Se]==="")&&(a[Se]=Y)})});const o=a.project_name||a.projectName||a.name,S=a.area_mu||a.areaMu||a.acreage,h=a.project_status||a.projectStatus;return ce(X({},a),{project_name:o,name:o||a.name,area_mu:S,project_status:h,progress_count:Array.isArray(t==null?void 0:t.progress)?t.progress.length:void 0})}function O(e){return String(e||"").replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`)}function z(e){var a,i,o,S;const t=(i=(a=e==null?void 0:e.feature)!=null?a:e)!=null?i:null;if(!t||we(t)<=0){J();return}if(ge.value){ve+=1;const h=r(t,e);if(!h||we(h)<=0){J();return}$.value=h,B.value=!1,U.value=!1,y.value=((S=(o=c.value)==null?void 0:o.getVectorFeatureAnchorScreen)==null?void 0:S.call(o,h))||(e==null?void 0:e.screen)||null;return}$.value=t,B.value=!1,e!=null&&e.screen&&(y.value=e.screen)}function ie(e){G.value=e}function ne(e,t){var o,S;if(N.value==="national-park"&&(t!=null&&t.name)){J(),(S=(o=c.value)==null?void 0:o.focusTown)==null||S.call(o,t.name,{distanceScale:.66,targetLocalZ:.84,cameraOffset:{x:0,y:1.05,z:0},select:!0});return}if(N.value!=="restoration"||(e==null?void 0:e.key)!=="restoration-projects"||!((t==null?void 0:t.projectName)||(t==null?void 0:t.name)))return;J();const i=()=>tt(t);if(L.value){L.value="",Fe(()=>window.setTimeout(i,80));return}i()}function tt(e){return x(this,null,function*(){var a,i,o,S;if(N.value!=="restoration")return;const t=(e==null?void 0:e.projectName)||(e==null?void 0:e.name);if(t)try{const h=yield tn(t);if(!(h!=null&&h.geometry))throw new Error("project geometry unavailable");const E=r({id:t,properties:h,geometry:h.geometry,feature:{type:"Feature",id:t,properties:h,geometry:h.geometry},layer:ue.value||le.value},{}),Y=(i=(a=c.value)==null?void 0:a.focusGeometry)==null?void 0:i.call(a,E,{highlightTone:"white"});$.value=E,B.value=!1,U.value=!1,yield Fe(),y.value=(Y==null?void 0:Y.screen)||((S=(o=c.value)==null?void 0:o.getVectorFeatureAnchorScreen)==null?void 0:S.call(o,E))||{x:960,y:540}}catch(h){G.value={type:"warning",text:"当前项目定位失败"}}})}function Lt(){var e,t;J(),ee.value=null,(t=(e=c.value)==null?void 0:e.clearEngineeringSuitability)==null||t.call(e)}function Mt(e={}){de.value=e.state==="running",j.value=e.state==="running"?X({},e):{}}function Et(e={}){var t,a;(a=(t=c.value)==null?void 0:t.addEngineeringSuitabilityBatch)==null||a.call(t,e)}function $t(e={}){var t,a;ee.value=e.statistics||null,(a=(t=c.value)==null?void 0:t.completeEngineeringSuitability)==null||a.call(t,e)}function Nt(e={}){var t,a;(a=(t=c.value)==null?void 0:t.setEngineeringSuitabilityVisibility)==null||a.call(t,e.key,e.visible)}function J(){var e,t;ve+=1,$.value=null,B.value=!1,U.value=!1,y.value=null,(t=(e=c.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function yt(e){if(!Je.value)return;const t=document.querySelector(".fgw-map-feature-info"),a=e.target;t&&a instanceof Node&&t.contains(a)||J()}function Ft(){return _.value?new Promise(e=>{wt.to(".ecological-protection .loading",{opacity:0,duration:.8,delay:.2,onComplete:()=>{_.value=!1,e()}})}):Promise.resolve()}return(e,t)=>(u(),f("div",da,[Pe(Yt,{ref_key:"mapSceneRef",ref:c,"active-layer":ue.value,"map-ranking":I.value,"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"hide-town-label-stats":"","enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"enable-town-polygon-pick":!1,onFeatureLoading:t[0]||(t[0]=a=>U.value=a),onFeatureInfo:z,onMapClick:s,onLayerStatus:ie},null,8,["active-layer","map-ranking"]),l("div",va,[te.value?W("",!0):(u(),f("div",ga,[l("div",fa,[(u(!0),f(pe,null,me(Me.value,a=>(u(),nt(_t,{key:H(a,"left"),class:ke(["fgw-side-card left-card",[{"is-double":Ie(a)},`ecological-side-card--${a.key}`]]),title:a.title,width:ze(He),height:Ne(a)},{default:kt(()=>[Pe(At,{panel:a,compact:"","column-label-standard":"","visual-version":"v21",onRowSelect:i=>ne(a,i)},null,8,["panel","onRowSelect"])]),_:2},1032,["class","title","width","height"]))),128))])])),te.value?W("",!0):(u(),f("div",pa,[l("div",ma,[(u(!0),f(pe,null,me(st.value,a=>(u(),nt(_t,{key:H(a,"right"),class:ke(["fgw-side-card right-card",[{"is-double":Ie(a)},`ecological-side-card--${a.key}`]]),title:a.title,width:ze(He),height:Ne(a)},{default:kt(()=>[Pe(At,{panel:a,compact:"","column-label-standard":"","visual-version":"v21",onRowSelect:i=>ne(a,i)},null,8,["panel","onRowSelect"])]),_:2},1032,["class","title","width","height"]))),128))])])),te.value?(u(),nt(ea,{key:2,onAnalysisReset:Lt,onAnalysisBatch:Et,onAnalysisComplete:$t,onAnalysisState:Mt,onResultVisibility:Nt})):W("",!0),te.value&&de.value?(u(),f("div",ya,[t[3]||(t[3]=l("span",{class:"engineering-map-loading__radar","aria-hidden":"true"},null,-1)),t[4]||(t[4]=l("strong",null,"空间分析中",-1)),l("small",null,g(j.value.stepLabel||"初始化分析环境"),1),l("span",ha,g(j.value.stepDescription||"正在准备空间索引与工程参数"),1),l("div",ba,[l("i",{style:Re({width:`${j.value.progress||1}%`})},null,4),l("em",null,g(j.value.stepNumber||1)+"/"+g(j.value.stepTotal||7),1)])])):W("",!0),te.value&&ee.value?(u(),nt(ca,{key:4,statistics:ee.value},null,8,["statistics"])):W("",!0),l("div",{class:ke(["fgw-map-layer-tools",{"is-analysis":te.value,"is-compact":Q.value}]),style:Re({height:`${Oe.value}px`})},[Pe(Jt,{modelValue:q.value,"onUpdate:modelValue":t[1]||(t[1]=a=>q.value=a),"selected-legend-key":L.value,"onUpdate:selectedLegendKey":t[2]||(t[2]=a=>L.value=a),"topic-key":N.value,legends:be.value,width:248,height:Oe.value,compact:Q.value,"show-legend":!te.value},null,8,["modelValue","selected-legend-key","topic-key","legends","height","compact","show-legend"])],6),Je.value?(u(),f("div",{key:5,class:"fgw-map-feature-info",style:Re(Qe.value)},[Pe(Zt,{title:it.value,feature:$.value,empty:B.value,loading:U.value,width:ze(lt),height:rt.value,closable:"",onClose:J},null,8,["title","feature","empty","loading","width","height"])],4)):W("",!0),l("div",wa,[Pe(Qt,{"model-value":N.value,topics:ze(Ue),"onUpdate:modelValue":ot},null,8,["model-value","topics"])])]),_.value?(u(),f("div",_a,[t[6]||(t[6]=It('
    LOADING
    ',1)),l("div",Sa,[l("span",ka,g(M.value),1),t[5]||(t[5]=l("span",{class:"unit"},"%",-1))])])):W("",!0)]))}};export{Ta as default}; diff --git a/docs/assets/index-a70f7349-1786807848259.js b/docs/assets/index-a70f7349-1786807848259.js new file mode 100644 index 0000000..336ab88 --- /dev/null +++ b/docs/assets/index-a70f7349-1786807848259.js @@ -0,0 +1 @@ +var Xe=Object.defineProperty,Ze=Object.defineProperties;var ea=Object.getOwnPropertyDescriptors;var $e=Object.getOwnPropertySymbols;var aa=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable;var Ce=Math.pow,Re=(r,s,v)=>s in r?Xe(r,s,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[s]=v,X=(r,s)=>{for(var v in s||(s={}))aa.call(s,v)&&Re(r,v,s[v]);if($e)for(var v of $e(s))ta.call(s,v)&&Re(r,v,s[v]);return r},Z=(r,s)=>Ze(r,ea(s));var ce=(r,s,v)=>new Promise((F,x)=>{var D=k=>{try{V(v.next(k))}catch(N){x(N)}},ne=k=>{try{V(v.throw(k))}catch(N){x(N)}},V=k=>k.done?F(k.value):Promise.resolve(k.value).then(D,ne);V((v=v.apply(r,s)).next())});import{k as na,a8 as la,g as u,o as f,c as h,a as e,t as c,n as S,B as xe,K as ee,F as T,y as ie,q as sa,h as ra,w as Be,A as ia,b as Ne,x as De,j as oa,d as w}from"./index-1786807848259.js";import{_ as Ae}from"./index-0eddac6c-1786807848259.js";import{_ as ua}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const ca="/openApi/screen2/grass-livestock-balance";function da(r){if((r==null?void 0:r.success)===!1||(r==null?void 0:r.code)!==void 0&&![0,1,200,"0","1","200"].includes(r.code)){const v=new Error((r==null?void 0:r.msg)||(r==null?void 0:r.message)||"草畜平衡接口请求失败");throw v.code=r==null?void 0:r.code,v}return la(r)}function Me(r,s,v={}){return na(`${ca}${r}`,{params:s,timeout:v.timeout||16e3}).then(da)}function va(r={}){return Me("/areas",r)}function ga({year:r,scenarioVersion:s,areaCode:v}={}){return Me("/result",{year:r,scenarioVersion:s,areaCode:v})}function ma(r){if(r==null||r==="")return null;const s=typeof r=="string"?r.replace(/,/g,"").replace(/%/g,"").trim():r,v=Number(s);return Number.isFinite(v)?v:null}function ya(r,s={}){var F;const v=ma(r);return v===null?"--":v.toLocaleString("zh-CN",{maximumFractionDigits:(F=s.maximumFractionDigits)!=null?F:Number.isInteger(v)?0:2})}const pa={class:"analysis-toolbar"},ba={class:"analysis-title"},fa={class:"object-banner"},ha={class:"object-main"},ka={class:"analysis-steps"},Ba={class:"object-status"},Na={class:"analysis-chain"},Sa={class:"stage-heading"},_a={class:"resource-total-grid"},wa={class:"wetland-total"},Va={class:"type-section grass-types"},$a={class:"type-section wetland-types"},Ra=["title"],Ca={key:1,class:"detail-unavailable"},xa={key:1,class:"stage-loading"},Da={class:"stage-heading"},Aa={class:"primary-metric"},Ma={class:"secondary-metric"},Pa={key:1,class:"detail-unavailable productivity-empty"},La={key:2,class:"stage-loading"},Ta={class:"stage-heading"},Fa={key:0,class:"grass-production"},za={key:1,class:"grass-production is-empty"},Ea={class:"capacity-bars"},Ia={class:"livestock-bar"},Ha={class:"capacity-summary"},Oa={key:1,class:"stage-loading"},Wa={class:"stage-heading"},ja={key:1,class:"stage-loading"},qa={__name:"BalanceAnalysisWorkbench",props:{balance:{type:Object,default:null},analysisState:{type:String,default:"idle"},progress:{type:Number,default:0},scopeLabel:{type:String,default:"县"}},setup(r){const s=r,v=["数据汇入","资源汇总","生产力加权","承载力折算","总体结论"],F=["#58e4c2","#55aebe","#e8be4d","#7f8ee8"],x=u(()=>{var l;return((l=s.balance)==null?void 0:l.analysis)||{}}),D=u(()=>!!x.value.detailAvailable),ne=u(()=>{var l,t;return x.value.resourceSummary||{grassAreaMu:(l=s.balance)==null?void 0:l.areaRange,wetlandAreaMu:(t=s.balance)==null?void 0:t.wetlandArea}}),V=u(()=>x.value.productivity||{}),k=u(()=>{var l,t,g,m,$,R;return x.value.capacity||{bearingCapacity:(l=s.balance)==null?void 0:l.bearingCapacity,livestockCapacity:(t=s.balance)==null?void 0:t.livestockCapacity,overloadCount:(g=s.balance)==null?void 0:g.overloadCount,usageRate:(m=s.balance)==null?void 0:m.usageRate,overloadRate:($=s.balance)==null?void 0:$.overloadRate,level:(R=s.balance)==null?void 0:R.level}}),N=u(()=>(x.value.grassTypes||[]).map((l,t)=>Z(X({},l),{displayName:I(l.typeName),color:F[t%F.length]}))),q=u(()=>ue(x.value.wetlandVegetationTypes||[],5)),M=u(()=>{var l;return Number((l=N.value[0])==null?void 0:l.productionSharePct)||0}),U=u(()=>{var t;const l=String(k.value.level||((t=s.balance)==null?void 0:t.level)||"--");return l==="基本实现草畜平衡"?"基本平衡":l}),z=u(()=>{var l,t,g;return((t=(l=s.balance)==null?void 0:l.adviceRows)==null?void 0:t[0])||((g=s.balance)==null?void 0:g.advice)||"保持动态监测,结合牧草产量及时调整载畜规模。"}),G=u(()=>{var l;return((l=s.balance)==null?void 0:l.areaLevel)==="village"?"空间明细":"下级区域"}),ve=u(()=>{if(!s.balance)return"--";if(s.balance.areaLevel==="village")return s.analysisState==="idle"?"待分析":s.analysisState==="running"&&s.progress<40?"核验中":D.value?"图斑已归属":"待归属";const l=s.balance.areaLevel==="county"?"个乡镇":"个村";return`${Number(s.balance.childCount)||0}${l}`}),ae=u(()=>s.balance?s.analysisState==="idle"?"等待开始分析":s.analysisState==="done"?"总体结论已生成":s.progress<18?"正在读取区域数据":s.progress<40?"正在汇总资源结构":s.progress<62?"正在按草地类型计算生产力":s.progress<82?"正在核对产草量与承载力":"正在生成总体结论":"等待选择核算对象"),C=u(()=>{if(!N.value.length)return{background:"rgba(65, 158, 171, .16)"};let l=0;return{background:`conic-gradient(${N.value.map(g=>{const m=l;return l+=Number(g.productionSharePct)||0,`${g.color} ${m}% ${l}%`}).join(",")})`}}),E=u(()=>Math.max(Number(k.value.bearingCapacity)||0,Number(k.value.livestockCapacity)||0,1)),oe=u(()=>Math.max(8,Number(k.value.bearingCapacity||0)*100/E.value)),le=u(()=>Math.max(8,Number(k.value.livestockCapacity||0)*100/E.value));function ue(l,t){if(l.length<=t)return l;const g=l.slice(0,t-1),m=l.slice(t-1),$=m.reduce((W,p)=>W+Number(p.areaMu||0),0),R=m.reduce((W,p)=>W+Number(p.areaSharePct||0),0);return[...g,{typeName:"其他植被型",areaMu:$,areaSharePct:R}]}function I(l){const t=String(l||"未分类");return t==="未分类"||t.endsWith("类")?t:`${t}类`}function se(l){const t=[0,18,40,62,82,100];return s.analysisState==="idle"?"pending":s.progress>=t[l+1]?"done":s.progress>=t[l]?"active":"pending"}function K(l){const t={1:[18,40],2:[40,62],3:[62,82],4:[82,100]},[g,m]=t[l];return s.analysisState==="idle"||s.progress=m?"is-done":"is-active"}function H(l,t,g){const m={1:[18,40],2:[40,62],3:[62,82],4:[82,100]},[$,R]=m[l];return s.progress>=R?t:s.analysisState==="running"&&s.progress>=$?g:"待加载"}function O(l){return s.progress>={1:18,2:40,3:62,4:82}[l]}function _(l){return s.progress>=l}function P(l,t,g,m=0){const $=Number(l);if(!Number.isFinite($))return"--";const R=Math.max(0,Math.min(1,(s.progress-t)/Math.max(1,g-t))),W=s.analysisState==="done"?1:1-Ce(1-R,3);return($*W).toLocaleString("zh-CN",{minimumFractionDigits:m,maximumFractionDigits:m})}function ge(l){const t=Number(l)||0;return t>=1e4?`${(t/1e4).toFixed(2)}万亩`:`${t.toLocaleString("zh-CN",{maximumFractionDigits:1})}亩`}function re(l,t=1){const g=Number(l);return Number.isFinite(g)?g.toFixed(t):"--"}function fe(l){const t=Number(l);return Number.isFinite(t)?Math.round(t).toLocaleString("zh-CN"):"--"}function y(l){const t=Number(l);return Number.isFinite(t)?`${t>0?"+":""}${Math.round(t).toLocaleString("zh-CN")}`:"--"}function Se(l){const t=Number(l);return Number.isFinite(t)?`${t>0?"+":""}${t.toFixed(1)}%`:"--"}return(l,t)=>{var g,m,$,R,W;return f(),h("section",{class:S(["analysis-workbench",`is-${r.analysisState}`])},[e("header",pa,[e("div",ba,[t[0]||(t[0]=e("span",null,"草畜平衡 / 区域推导分析",-1)),e("strong",null,c(r.balance?`${r.balance.name}总体草畜平衡推导`:"请选择核算对象"),1)]),e("div",{class:S(["analysis-progress",`is-${r.analysisState}`])},[e("div",null,[e("span",null,[t[1]||(t[1]=e("i",null,null,-1)),xe(c(ae.value),1)]),e("strong",null,c(r.progress)+"%",1)]),e("p",null,[e("i",{style:ee({width:`${r.progress}%`})},null,4)])],2)]),e("section",fa,[e("div",ha,[e("span",null,c(r.scopeLabel)+"级核算对象",1),e("strong",null,c(((g=r.balance)==null?void 0:g.name)||"未选择"),1),e("small",null,c((m=r.balance)!=null&&m.areaCode?`行政区划 ${r.balance.areaCode}`:"等待选择区域"),1)]),e("div",ka,[(f(),h(T,null,ie(v,(p,A)=>e("div",{key:p,class:S(se(A))},[e("span",null,c(A+1),1),e("strong",null,c(p),1)],2)),64))]),e("div",Ba,[e("span",null,c(G.value),1),e("strong",null,c(ve.value),1)])]),e("section",Na,[e("article",{class:S(["stage-card resource-stage",K(1)])},[e("header",Sa,[t[2]||(t[2]=e("span",null,"01",-1)),t[3]||(t[3]=e("div",null,[e("h2",null,"资源结构汇总"),e("p",null,"资源总量与类型")],-1)),e("small",null,c(H(1,"已完成","汇总中")),1)]),O(1)?(f(),h(T,{key:0},[e("div",_a,[e("div",null,[t[4]||(t[4]=e("span",null,"草地总面积",-1)),e("strong",null,c(P(ne.value.grassAreaMu,18,34,1)),1),t[5]||(t[5]=e("small",null,"亩",-1))]),e("div",wa,[t[6]||(t[6]=e("span",null,"湿地总面积",-1)),e("strong",null,c(P(ne.value.wetlandAreaMu,18,34,1)),1),t[7]||(t[7]=e("small",null,"亩",-1))])]),D.value?(f(),h(T,{key:0},[e("section",Va,[t[8]||(t[8]=e("div",{class:"type-title"},[e("strong",null,"草地类型"),e("span",null,"面积 / 占比")],-1)),(f(!0),h(T,null,ie(N.value,(p,A)=>(f(),h("div",{key:p.typeName,class:"type-row"},[e("span",null,c(p.displayName),1),e("div",null,[e("i",{style:ee({width:_(22+A*2)?`${p.areaSharePct}%`:"0%",background:p.color})},null,4)]),e("strong",null,c(_(22+A*2)?ge(p.areaMu):"--"),1),e("em",null,c(_(22+A*2)?`${re(p.areaSharePct,1)}%`:"--"),1)]))),128))]),e("section",$a,[t[9]||(t[9]=e("div",{class:"type-title"},[e("strong",null,"湿地植被型"),e("span",null,"面积 / 占比")],-1)),(f(!0),h(T,null,ie(q.value,(p,A)=>(f(),h("div",{key:p.typeName,class:"type-row"},[e("span",{title:p.typeName},c(p.typeName),9,Ra),e("div",null,[e("i",{style:ee({width:_(29+A)?`${p.areaSharePct}%`:"0%"})},null,4)]),e("strong",null,c(_(29+A)?ge(p.areaMu):"--"),1),e("em",null,c(_(29+A)?`${re(p.areaSharePct,1)}%`:"--"),1)]))),128))])],64)):(f(),h("div",Ca,[...t[10]||(t[10]=[e("i",null,null,-1),e("strong",null,"村级类型数据待空间归属",-1)])]))],64)):(f(),h("div",xa,[...t[11]||(t[11]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:r.progress>=38}])},[...t[12]||(t[12]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card productivity-stage",K(2)])},[e("header",Da,[t[13]||(t[13]=e("span",null,"02",-1)),t[14]||(t[14]=e("div",null,[e("h2",null,"类型加权生产力"),e("p",null,"按草地图斑计算")],-1)),e("small",null,c(H(2,D.value?"已计算":"暂无明细",D.value?"计算中":"核验中")),1)]),O(2)&&D.value?(f(),h(T,{key:0},[e("div",Aa,[t[15]||(t[15]=e("span",null,"加权鲜草亩产",-1)),e("strong",null,c(P(V.value.weightedFreshYieldJinPerMu,40,57,0)),1),t[16]||(t[16]=e("small",null,"斤/亩",-1))]),e("div",Ma,[t[17]||(t[17]=e("span",null,"加权干草亩产",-1)),e("strong",null,c(P(V.value.weightedDryYieldJinPerMu,42,58,0)),1),t[18]||(t[18]=e("small",null,"斤/亩",-1))]),e("div",{class:S(["productivity-donut reveal-block",{"is-revealed":_(50)}]),style:ee(C.value)},[e("div",null,[e("strong",null,c(re(M.value,1))+"%",1),t[19]||(t[19]=e("span",null,"主要类型贡献",-1))])],6),e("div",{class:S(["contribution-legend reveal-block",{"is-revealed":_(53)}])},[(f(!0),h(T,null,ie(N.value,p=>(f(),h("div",{key:`yield-${p.typeName}`},[e("i",{style:ee({background:p.color})},null,4),e("span",null,[xe(c(p.displayName),1),e("small",null,c(fe(p.freshYieldJinPerMu))+"斤/亩",1)]),e("strong",null,c(re(p.productionSharePct,1))+"%",1)]))),128))],2)],64)):O(2)?(f(),h("div",Pa,[...t[20]||(t[20]=[e("i",null,null,-1),e("strong",null,"暂无村级生产力明细",-1)])])):(f(),h("div",La,[...t[21]||(t[21]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:r.progress>=60}])},[...t[22]||(t[22]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card capacity-stage",K(3)])},[e("header",Ta,[t[23]||(t[23]=e("span",null,"03",-1)),t[24]||(t[24]=e("div",null,[e("h2",null,"产草量与承载力"),e("p",null,"产量与载畜比较")],-1)),e("small",null,c(H(3,"已折算","折算中")),1)]),O(3)?(f(),h(T,{key:0},[D.value?(f(),h("div",Fa,[e("div",null,[t[25]||(t[25]=e("span",null,"年产鲜草",-1)),e("strong",null,c(P(V.value.annualFreshGrassWanTon,62,72,1)),1),t[26]||(t[26]=e("small",null,"万吨",-1))]),t[29]||(t[29]=e("i",null,null,-1)),e("div",null,[t[27]||(t[27]=e("span",null,"年产干草",-1)),e("strong",null,c(P(V.value.annualDryGrassWanTon,66,76,1)),1),t[28]||(t[28]=e("small",null,"万吨",-1))])])):(f(),h("div",za,[...t[30]||(t[30]=[e("div",null,[e("span",null,"年产鲜草"),e("strong",null,"--"),e("small",null,"万吨")],-1),e("i",null,null,-1),e("div",null,[e("span",null,"年产干草"),e("strong",null,"--"),e("small",null,"万吨")],-1)])])),e("div",Ea,[e("div",null,[t[31]||(t[31]=e("span",null,"理论承载力",-1)),e("p",null,[e("i",{style:ee({height:_(70)?`${oe.value}%`:"0%"})},null,4)]),e("strong",null,c(P(k.value.bearingCapacity,68,82,0)),1),t[32]||(t[32]=e("small",null,"头",-1))]),e("div",Ia,[t[33]||(t[33]=e("span",null,"实际载畜量",-1)),e("p",null,[e("i",{style:ee({height:_(70)?`${le.value}%`:"0%"})},null,4)]),e("strong",null,c(P(k.value.livestockCapacity,68,82,0)),1),t[34]||(t[34]=e("small",null,"头",-1))])]),e("div",Ha,[t[35]||(t[35]=e("span",null,"供需差额",-1)),e("strong",{class:S({surplus:Number(k.value.overloadCount)<0})},c(_(78)?y(k.value.overloadCount):"--"),3),t[36]||(t[36]=e("small",null,"头",-1))])],64)):(f(),h("div",Oa,[...t[37]||(t[37]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:r.progress>=80}])},[...t[38]||(t[38]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card verdict-stage",K(4)])},[e("header",Wa,[t[40]||(t[40]=e("span",null,"04",-1)),e("div",null,[t[39]||(t[39]=e("h2",null,"草畜平衡结论",-1)),e("p",null,c((($=r.balance)==null?void 0:$.name)||"当前区域"),1)]),e("small",null,c(H(4,"已生成","判定中")),1)]),O(4)?(f(),h(T,{key:0},[e("div",{class:S(["verdict-visual",`is-${((R=r.balance)==null?void 0:R.levelKey)||"watch"}`])},[t[41]||(t[41]=e("div",{class:"verdict-scale"},[e("i"),e("span")],-1)),e("div",null,[e("span",null,c((W=r.balance)==null?void 0:W.name),1),e("strong",null,c(r.progress>=90?U.value:"推导中"),1),e("small",null,"承载利用率 "+c(P(k.value.usageRate,82,96,1))+"%",1)])],2),e("div",{class:S(["verdict-evidence reveal-block",{"is-revealed":_(88)}])},[e("div",{class:S(["overload-rate-card",{"is-surplus":Number(k.value.overloadRate)<0}])},[t[42]||(t[42]=e("span",null,"草畜平衡超载率",-1)),e("strong",null,c(Se(k.value.overloadRate)),1)],2),e("div",null,[e("span",null,c(G.value),1),e("strong",null,c(ve.value),1)])],2),e("div",{class:S(["verdict-advice reveal-block",{"is-revealed":_(92)}])},[t[43]||(t[43]=e("span",null,"调控建议",-1)),e("p",null,c(z.value),1)],2)],64)):(f(),h("div",ja,[...t[44]||(t[44]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2)])],2)}}},Ga=ua(qa,[["__scopeId","data-v-97404235"]]);const Ka={class:"grass-livestock-balance"},Ja={class:"balance-selector"},Ya={class:"balance-scope-tabs"},Ua=["onClick"],Qa={class:"balance-target-list"},Xa=["title","onClick"],Za={class:"balance-action-box"},et={"aria-live":"polite"},at=["disabled"];const tt=326,nt=1310,lt=128,st=8,de=15e3,xt={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["loading-progress","map-ready"],setup(r,{emit:s}){const v=r,F=s,x=w(typeof window=="undefined"?1080:window.innerHeight),D=u(()=>{const a=Math.max(1080,Number(x.value)||1080);return Math.max(944,a-lt-st)}),ne=u(()=>D.value),V=w("county"),k=w(""),N=w("idle"),q=w(0),M=w(0),U=w(0),z=w(0),G=w(!1),ve=w(null),ae=w(de),C=w(""),E=w(!1),oe=w({}),le=w([]),ue=w([]);let I=!1,se=0,K=null,H=0,O=null;const _=u(()=>[...le.value,...ue.value].map(a=>oe.value[a.key]||a)),P=u(()=>_.value.filter(a=>a.type==="county")),ge=u(()=>_.value.filter(a=>a.type==="town")),re=u(()=>_.value.filter(a=>a.type==="village")),fe=u(()=>V.value==="town"?ge.value:V.value==="village"?re.value:P.value),y=u(()=>_.value.find(a=>a.key===k.value)||null),Se=u(()=>{var i,o;const a=((i=y.value)==null?void 0:i.year)||"当前年度",n=String(((o=y.value)==null?void 0:o.scenarioVersion)||"").trim();return n?n.endsWith("current-stock")?`${a} · 当前存栏口径`:`${a} · ${n}`:a}),l=u(()=>!!y.value),t=u(()=>!!C.value&&!E.value&&!le.value.length),g=u(()=>N.value==="running"),m=u(()=>l.value&&N.value==="done"),$=u(()=>{var n,i,o,d,b,B,J,j;const a=y.value||{};return{bearing:(n=a.bearingCapacity)!=null?n:null,livestock:(i=a.livestockCapacity)!=null?i:null,areaRange:(o=a.areaRange)!=null?o:null,overloadCount:(d=a.overloadCount)!=null?d:null,overloadRate:(b=a.overloadRate)!=null?b:null,usageRate:(B=a.usageRate)!=null?B:null,bearingPercent:(J=a.bearingPercent)!=null?J:0,livestockPercent:(j=a.livestockPercent)!=null?j:0,risk:{key:a.levelKey||"watch",label:a.level||"--",description:a.conclusion||"暂缺分析结论"}}}),R=u(()=>[{key:"county",name:"县"},{key:"town",name:"镇"},{key:"village",name:"村"}]),W=u(()=>{var a;return((a=R.value.find(n=>n.key===V.value))==null?void 0:a.name)||"县"}),p=u(()=>E.value?"正在加载核算对象":C.value?C.value:l.value?m.value?"分析已完成":g.value?"正在执行核算":"已选择,待开始分析":"请先选择具体对象"),A=u(()=>m.value?"草畜平衡分析舱":"草畜平衡分析"),rt=u(()=>E.value?"加载中":t.value?"可重试":l.value?g.value?"分析中":"待开始":"待选择"),it=u(()=>E.value?"正在加载核算对象":t.value?"核算对象暂未加载":l.value?g.value?`${y.value.name} 正在分析`:`${y.value.name} 待开始分析`:"先选择一个核算对象"),ot=u(()=>E.value?"正在读取县、镇、村核算对象,请稍候。":C.value?C.value:l.value?g.value?"正在读取草畜平衡结果,核对承载力、载畜量和超载率。":"点击左侧开始分析后,再展示结果、分析过程、结论和建议。":"选择县、镇或村后,系统才会进入草地承载力核算。"),ut=u(()=>{var a;return((a=y.value)==null?void 0:a.summary)||"分析结果存在缺失项,请以页面状态为准。"}),ct=u(()=>{var a;return((a=y.value)==null?void 0:a.verdictHint)||"依据承载利用率判定"}),dt=u(()=>{var a;return((a=y.value)==null?void 0:a.decisionHint)||"分析建议"}),vt=u(()=>{var a;return`${Number((a=y.value)==null?void 0:a.usageAngleDeg)||0}deg`});function me(a){const n=Number(a);return Number.isFinite(n)?`${n.toFixed(1)}%`:"--"}function Q(a){if(a==null||a==="")return null;const n=Number(a);return Number.isFinite(n)?n:null}function Pe(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")?"healthy":n.includes("基本")?"watch":n.includes("轻度")?"light":n.includes("中度")?"warning":"danger"}function Le(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")?"保持监测":n.includes("基本")?"基本平衡":n.includes("轻度")?"关注调控":n.includes("中度")?"主动调控":"重点管控"}function Te(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")||n.includes("基本")?"保持监测":n.includes("轻度")?"关注调控":"需要调控"}function Fe(a){return[...new Set(String(a||"").split(/[。;;\n]+/).map(n=>n.trim()).filter(Boolean))]}function ze(a){return[{key:"productivity",index:"01",name:"草地生产力核算",description:`核算草地 ${L(a.areaRange,"亩",1)}、湿地 ${L(a.wetlandArea,"亩",1)}。`},{key:"forage",index:"02",name:"可利用草量折算",description:`理论承载力 ${L(a.bearingCapacity,"头")}。`},{key:"livestock",index:"03",name:"载畜量折算",description:`当前载畜量 ${L(a.livestockCapacity,"头")}。`},{key:"balance",index:"04",name:"平衡判定",description:`超载率 ${me(a.overloadRate)},判定为“${a.level||"--"}”。`}]}function Ee(){return[{key:"productivity",index:"01",name:"草地生产力核算",description:"正在读取下属区域草地与湿地数据",pending:"等待草地生产力数据"},{key:"forage",index:"02",name:"可利用草量折算",description:"正在读取下属区域理论承载力",pending:"等待理论承载力数据"},{key:"livestock",index:"03",name:"载畜量折算",description:"正在读取下属区域当前畜群数量",pending:"等待当前畜群数据"},{key:"balance",index:"04",name:"平衡判定",description:"正在生成下属区域超载率排行",pending:"等待平衡判定结果"}]}function Ie(a){const n=[...a].sort((o,d)=>{const b=Q(o.overloadRate),B=Q(d.overloadRate);return b===null&&B===null?String(o.areaCode).localeCompare(String(d.areaCode)):b===null?1:B===null?-1:B-b||String(o.areaCode).localeCompare(String(d.areaCode))}),i=Math.max(0,...n.map(o=>{var d;return(d=Q(o.overloadRate))!=null?d:0}));return n.map((o,d)=>{const b=Q(o.overloadRate),B=b===null||i<=0?0:Math.max(0,b)*100/i;return Z(X({},o),{rank:d+1,progressPct:B>0?Math.min(100,Math.max(6,B)):0,statusClass:b===null?"is-empty":b>=2.5?"is-alert":b>=2?"is-warning":"is-stable",tooltip:`${o.areaName||o.name}:理论${L(o.bearingCapacity,"头")},实际${L(o.livestockCapacity,"头")},超载率${me(b)}`})})}function He(a){if(!(a!=null&&a.hasData)||!(a!=null&&a.result))return a;const n=a.result,i=Array.isArray(a.children)?a.children:[],o=Q(n.bearingCapacity),d=Q(n.livestockCapacity),b=Q(n.overloadCount),B=Q(n.usageRate),J=Math.max(o!=null?o:0,d!=null?d:0),j=String(n.level||""),Y=n.areaLevel||n.type,be=i.length?i:[n];return Z(X({},n),{hasData:!0,emptyState:null,analysis:a.analysis||null,bearingPercent:J>0&&o!==null?o*100/J:0,livestockPercent:J>0&&d!==null?d*100/J:0,usageAngleDeg:B===null?0:Math.round(Math.min(130,Math.max(0,B))*360/130),levelKey:Pe(j),verdictHint:Le(j),decisionHint:Te(j),summary:b===null||B===null?"分析结果存在缺失项,请以页面状态为准。":`${b>=0?"超载量":"承载余量"} ${ya(Math.abs(b))}头,承载利用率 ${me(B)}。`,adviceRows:Fe(n.advice),calculationStages:ze(n),progressStages:Ee(),hasChildAreas:i.length>0,childCount:i.length,childLevel:Y==="county"?"town":Y==="town"?"village":null,processScopeLabel:i.length?Y==="county"?"下属乡镇":"下属村":"当前村",processRows:be,childRankingTitle:Y==="county"?"乡镇超载率排行":Y==="town"?"村级超载率排行":null,childRanking:Y==="village"?[]:Ie(i)})}const Oe=u(()=>{var a;return(((a=y.value)==null?void 0:a.calculationStages)||[]).map(n=>Z(X({},n),{desc:n.description}))}),te=u(()=>{var n;return(((n=y.value)==null?void 0:n.progressStages)||[{key:"productivity",index:"01",name:"草地生产力核算",desc:"正在读取草地生产力核算结果",pending:"等待生产力核算结果"},{key:"forage",index:"02",name:"可利用草量折算",desc:"正在读取可利用草量折算结果",pending:"等待草量折算结果"},{key:"livestock",index:"03",name:"载畜量折算",desc:"正在读取载畜量折算结果",pending:"等待载畜量折算结果"},{key:"balance",index:"04",name:"平衡判定",desc:"正在生成结论与建议",pending:"等待平衡判定结果"}]).map(i=>Z(X({},i),{desc:i.description||i.desc}))}),gt=u(()=>te.value[Math.min(M.value,te.value.length-1)]||te.value[0]),he=u(()=>{var n;const a=(n=y.value)==null?void 0:n.processRows;return Array.isArray(a)&&a.length?a:y.value?[y.value]:[]}),_e=u(()=>te.value.flatMap((a,n)=>he.value.map((i,o)=>({key:`${a.key}-${i.areaCode||i.key||o}`,stage:a,stageIndex:n,row:i,rowIndex:o})))),We=u(()=>_e.value.slice(0,z.value)),mt=u(()=>[{key:"productivity",index:"01",name:"草地生产力核算",desc:m.value?"已完成":l.value?"等待核算":"等待选择",state:l.value?"done":"active"},{key:"forage",index:"02",name:"可利用草量折算",desc:m.value?"已完成":"分析后折算",state:g.value?"active":m.value?"done":l.value?"pending":"disabled"},{key:"livestock",index:"03",name:"载畜量折算",desc:m.value?"已完成":"等待折算",state:g.value?"active":m.value?"done":"disabled"},{key:"balance",index:"04",name:"平衡判定",desc:m.value?$.value.risk.label:"等待判定",state:m.value?"done":"disabled"}]),yt=u(()=>{var a;return m.value?((a=y.value)==null?void 0:a.adviceRows)||[]:[]}),je=u(()=>{var a;return m.value?((a=y.value)==null?void 0:a.childRanking)||[]:[]}),qe=u(()=>{var a;return je.value.length>0&&((a=y.value)==null?void 0:a.areaLevel)!=="village"}),pt=u(()=>{var a;return((a=y.value)==null?void 0:a.childRankingTitle)||"下级超载率排行"});function L(a,n,i=0){if(a==null||a==="")return`--${n}`;const o=Number(a);return Number.isFinite(o)?`${o.toLocaleString("zh-CN",{minimumFractionDigits:i,maximumFractionDigits:i})}${n}`:`--${n}`}function bt(a,n=M.value){return n===0?`草地 ${L(a.areaRange,"亩",1)}`:n===1?`承载力 ${L(a.bearingCapacity,"头")}`:n===2?`载畜量 ${L(a.livestockCapacity,"头")}`:`超载率 ${me(a.overloadRate)}`}function ft(a,n=M.value){return n===0?`湿地 ${L(a.wetlandArea,"亩",1)}`:n===1?"可利用草量折算结果":n===2?"当前存栏":`${a.level||"待判定"}|超载量 ${L(a.overloadCount,"头")}`}function ht(a){return Number(a==null?void 0:a.progressPct)||0}function kt(a){return(a==null?void 0:a.statusClass)||"is-empty"}function Bt(a){return(a==null?void 0:a.tooltip)||(a==null?void 0:a.name)||"乡镇"}function ye(){se+=1,O=null,pe(),N.value="idle",q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,ae.value=de,C.value=""}function ke(){x.value=typeof window=="undefined"?1080:window.innerHeight}sa(()=>{ke(),window.addEventListener("resize",ke),F("loading-progress",{progress:100}),F("map-ready"),Ue()}),ra(()=>{I=!0,window.removeEventListener("resize",ke),se+=1,H+=1,pe()}),Be(()=>{var a;return(a=y.value)==null?void 0:a.key},()=>{ye()}),Be(()=>v.active,a=>{a||!g.value||ye()}),Be(()=>We.value.length,a=>ce(this,null,function*(){if(!a)return;yield ia();const n=ve.value;n&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})}));function Ge(a){V.value=a,k.value="",ye()}function Ke(a){a&&(V.value=["county","town","village"].includes(a.type)?a.type:"county",k.value=a.key,ye())}function Je(){if(!v.active||!y.value||g.value)return;N.value="running",q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,ae.value=de,C.value="",pe();const a=Date.now();let n=null,i=!1;const o=Ye().catch(d=>(i=!0,console.warn("[grassLivestockBalance] balance result unavailable",d),C.value=we(d,"当前对象的核算结果暂不可用,请稍后重试。"),null));o.then(d=>{d&&(ae.value=de,n=Date.now(),G.value=!0,z.value=1)}),O=o,K=window.setInterval(()=>{if(I||!G.value||!n)return;const d=Date.now()-n,b=Math.max(1,te.value.length),B=Math.max(de,ae.value),J=Math.min(94,Math.floor(d/B*100));q.value=J;const j=Math.max(1,he.value.length),Y=Math.max(1,b*j),be=Math.min(Y,Math.floor(d/(B/Y))+1),Ve=Math.max(0,be-1);z.value=be,M.value=Math.min(b-1,Math.floor(Ve/j)),U.value=Ve%j},120),o.finally(()=>ce(this,null,function*(){const d=n||a,b=n?ae.value-(Date.now()-d):0;if(b>0&&(yield new Promise(B=>window.setTimeout(B,b))),!(I||N.value!=="running"||O!==o)){if(O=null,pe(),!y.value){q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,N.value="idle";return}if(i||!Qe(y.value)){q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,N.value="idle";return}q.value=100,M.value=te.value.length-1,U.value=Math.max(0,he.value.length-1),z.value=_e.value.length,yield new Promise(B=>window.setTimeout(B,900)),!(I||N.value!=="running")&&(N.value="done")}}))}function Ye(){return ce(this,null,function*(){const a=y.value;if(!a)throw new Error("请先选择具体核算对象");const n=++se,i=yield ga({year:a.year,scenarioVersion:a.scenarioVersion,areaCode:a.areaCode});if(I||n!==se)return null;if(!(i!=null&&i.hasData))throw new Error((i==null?void 0:i.emptyState)||"未查询到该对象的草畜平衡结果");const o=He(i);return oe.value=Z(X({},oe.value),{[a.key]:o}),o})}function Ue(){return ce(this,null,function*(){const a=++H;E.value=!0,C.value="";try{const n=yield va();if(I||a!==H)return;const i=Array.isArray(n==null?void 0:n.rows)?n.rows:[],o=i.map(d=>Z(X({},d),{childCount:d.areaLevel==="village"?0:i.filter(b=>b.parentAreaCode===d.areaCode).length}));le.value=o.filter(d=>["county","town"].includes(d.type)),ue.value=o.filter(d=>d.type==="village"),C.value=o.length?"":(n==null?void 0:n.emptyState)||"暂无核算对象"}catch(n){if(I||a!==H)return;console.warn("[grassLivestockBalance] area balance rows unavailable",n),le.value=[],ue.value=[],C.value=we(n,"核算对象加载失败,请稍后重试。")}finally{!I&&a===H&&(E.value=!1)}})}function we(a,n){const i=String((a==null?void 0:a.message)||"").trim();return/404|not found|暂无|未查询到/i.test(i)?"暂未查询到核算数据,请稍后重试。":/network|fetch|timeout|连接|服务|502|503|504/i.test(i)?"核算服务暂时无法连接,请稍后重试。":n}function Qe(a={}){return["overloadRate","overload_rate","bearingCapacity","bearing_capacity","livestockCapacity","livestock_capacity"].some(n=>(a==null?void 0:a[n])!==void 0&&(a==null?void 0:a[n])!==null&&(a==null?void 0:a[n])!=="")}function pe(){K&&(window.clearInterval(K),K=null)}function Nt(a){const n=te.value[a],i=Oe.value[a];return m.value&&(i!=null&&i.desc)?i.desc:(n==null?void 0:n.desc)||"正在读取分析结果"}return(a,n)=>(f(),h("div",Ka,[n[14]||(n[14]=e("div",{class:"balance-backdrop","aria-hidden":"true"},[e("div",{class:"balance-orbit is-left"}),e("div",{class:"balance-orbit is-right"}),e("div",{class:"balance-energy-band"})],-1)),e("div",{class:"balance-screen",style:ee({"--balance-card-height":`${D.value}px`})},[Ne(Ae,{class:"balance-card balance-target-card",title:"核算对象",width:tt,height:ne.value},{default:De(()=>{var i;return[e("div",Ja,[e("div",Ya,[(f(!0),h(T,null,ie(R.value,o=>(f(),h("button",{key:o.key,type:"button",class:S({active:V.value===o.key}),onClick:d=>Ge(o.key)},c(o.name),11,Ua))),128))]),e("div",Qa,[(f(!0),h(T,null,ie(fe.value,o=>{var d;return f(),h("button",{key:o.key,type:"button",class:S({active:o.key===((d=y.value)==null?void 0:d.key)}),title:o.name,onClick:b=>Ke(o)},[e("span",null,c(o.name),1)],10,Xa)}),128))]),e("div",Za,[n[0]||(n[0]=e("span",null,"当前对象",-1)),e("strong",null,c(((i=y.value)==null?void 0:i.name)||"未选择"),1),e("small",et,c(p.value),1),e("button",{type:"button",disabled:!l.value||g.value,onClick:Je},c(g.value?"分析中...":m.value?"重新分析":"开始分析"),9,at)])])]}),_:1},8,["height"]),Ne(Ae,{class:"balance-card balance-sheet-card",title:A.value,width:nt,height:D.value},{default:De(()=>[e("div",{class:S(["balance-sheet",{"is-ready":m.value,"is-running":g.value,"is-village-result":m.value&&!qe.value}])},[n[13]||(n[13]=e("div",{class:"balance-field-lines","aria-hidden":"true"},[e("i"),e("i"),e("i")],-1)),Ne(Ga,{balance:y.value,"analysis-state":N.value,progress:q.value,"scope-label":W.value},null,8,["balance","analysis-state","progress","scope-label"]),oa("",!0)],2)]),_:1},8,["title","height"])],4)]))}};export{xt as default}; diff --git a/docs/assets/index-c510e3bf-1786725044461.js b/docs/assets/index-c510e3bf-1786725044461.js deleted file mode 100644 index f0aa23b..0000000 --- a/docs/assets/index-c510e3bf-1786725044461.js +++ /dev/null @@ -1 +0,0 @@ -var Xe=Object.defineProperty,Ze=Object.defineProperties;var ea=Object.getOwnPropertyDescriptors;var $e=Object.getOwnPropertySymbols;var aa=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable;var Ce=Math.pow,Re=(i,s,v)=>s in i?Xe(i,s,{enumerable:!0,configurable:!0,writable:!0,value:v}):i[s]=v,X=(i,s)=>{for(var v in s||(s={}))aa.call(s,v)&&Re(i,v,s[v]);if($e)for(var v of $e(s))ta.call(s,v)&&Re(i,v,s[v]);return i},Z=(i,s)=>Ze(i,ea(s));var ce=(i,s,v)=>new Promise((F,x)=>{var D=k=>{try{V(v.next(k))}catch(N){x(N)}},ne=k=>{try{V(v.throw(k))}catch(N){x(N)}},V=k=>k.done?F(k.value):Promise.resolve(k.value).then(D,ne);V((v=v.apply(i,s)).next())});import{k as na,a3 as la,g as u,o as f,c as h,a as e,t as c,n as S,B as xe,K as ee,F as T,y as re,q as sa,h as ia,w as Be,A as ra,b as Ne,x as De,j as oa,d as w}from"./index-1786725044461.js";import{_ as Ae}from"./index-262a2c3c-1786725044461.js";import{_ as ua}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const ca="/openApi/screen2/grass-livestock-balance";function da(i){if((i==null?void 0:i.success)===!1||(i==null?void 0:i.code)!==void 0&&![0,1,200,"0","1","200"].includes(i.code)){const v=new Error((i==null?void 0:i.msg)||(i==null?void 0:i.message)||"草畜平衡接口请求失败");throw v.code=i==null?void 0:i.code,v}return la(i)}function Me(i,s,v={}){return na(`${ca}${i}`,{params:s,timeout:v.timeout||16e3}).then(da)}function va(i={}){return Me("/areas",i)}function ga({year:i,scenarioVersion:s,areaCode:v}={}){return Me("/result",{year:i,scenarioVersion:s,areaCode:v})}function ma(i){if(i==null||i==="")return null;const s=typeof i=="string"?i.replace(/,/g,"").replace(/%/g,"").trim():i,v=Number(s);return Number.isFinite(v)?v:null}function ya(i,s={}){var F;const v=ma(i);return v===null?"--":v.toLocaleString("zh-CN",{maximumFractionDigits:(F=s.maximumFractionDigits)!=null?F:Number.isInteger(v)?0:2})}const pa={class:"analysis-toolbar"},ba={class:"analysis-title"},fa={class:"object-banner"},ha={class:"object-main"},ka={class:"analysis-steps"},Ba={class:"object-status"},Na={class:"analysis-chain"},Sa={class:"stage-heading"},_a={class:"resource-total-grid"},wa={class:"wetland-total"},Va={class:"type-section grass-types"},$a={class:"type-section wetland-types"},Ra=["title"],Ca={key:1,class:"detail-unavailable"},xa={key:1,class:"stage-loading"},Da={class:"stage-heading"},Aa={class:"primary-metric"},Ma={class:"secondary-metric"},Pa={key:1,class:"detail-unavailable productivity-empty"},La={key:2,class:"stage-loading"},Ta={class:"stage-heading"},Fa={key:0,class:"grass-production"},za={key:1,class:"grass-production is-empty"},Ea={class:"capacity-bars"},Ia={class:"livestock-bar"},Ha={class:"capacity-summary"},Oa={key:1,class:"stage-loading"},Wa={class:"stage-heading"},ja={key:1,class:"stage-loading"},qa={__name:"BalanceAnalysisWorkbench",props:{balance:{type:Object,default:null},analysisState:{type:String,default:"idle"},progress:{type:Number,default:0},scopeLabel:{type:String,default:"县"}},setup(i){const s=i,v=["数据汇入","资源汇总","生产力加权","承载力折算","总体结论"],F=["#58e4c2","#55aebe","#e8be4d","#7f8ee8"],x=u(()=>{var l;return((l=s.balance)==null?void 0:l.analysis)||{}}),D=u(()=>!!x.value.detailAvailable),ne=u(()=>{var l,t;return x.value.resourceSummary||{grassAreaMu:(l=s.balance)==null?void 0:l.areaRange,wetlandAreaMu:(t=s.balance)==null?void 0:t.wetlandArea}}),V=u(()=>x.value.productivity||{}),k=u(()=>{var l,t,g,m,$,R;return x.value.capacity||{bearingCapacity:(l=s.balance)==null?void 0:l.bearingCapacity,livestockCapacity:(t=s.balance)==null?void 0:t.livestockCapacity,overloadCount:(g=s.balance)==null?void 0:g.overloadCount,usageRate:(m=s.balance)==null?void 0:m.usageRate,overloadRate:($=s.balance)==null?void 0:$.overloadRate,level:(R=s.balance)==null?void 0:R.level}}),N=u(()=>(x.value.grassTypes||[]).map((l,t)=>Z(X({},l),{displayName:I(l.typeName),color:F[t%F.length]}))),q=u(()=>ue(x.value.wetlandVegetationTypes||[],5)),M=u(()=>{var l;return Number((l=N.value[0])==null?void 0:l.productionSharePct)||0}),U=u(()=>{var t;const l=String(k.value.level||((t=s.balance)==null?void 0:t.level)||"--");return l==="基本实现草畜平衡"?"基本平衡":l}),z=u(()=>{var l,t,g;return((t=(l=s.balance)==null?void 0:l.adviceRows)==null?void 0:t[0])||((g=s.balance)==null?void 0:g.advice)||"保持动态监测,结合牧草产量及时调整载畜规模。"}),G=u(()=>{var l;return((l=s.balance)==null?void 0:l.areaLevel)==="village"?"空间明细":"下级区域"}),ve=u(()=>{if(!s.balance)return"--";if(s.balance.areaLevel==="village")return s.analysisState==="idle"?"待分析":s.analysisState==="running"&&s.progress<40?"核验中":D.value?"图斑已归属":"待归属";const l=s.balance.areaLevel==="county"?"个乡镇":"个村";return`${Number(s.balance.childCount)||0}${l}`}),ae=u(()=>s.balance?s.analysisState==="idle"?"等待开始分析":s.analysisState==="done"?"总体结论已生成":s.progress<18?"正在读取区域数据":s.progress<40?"正在汇总资源结构":s.progress<62?"正在按草地类型计算生产力":s.progress<82?"正在核对产草量与承载力":"正在生成总体结论":"等待选择核算对象"),C=u(()=>{if(!N.value.length)return{background:"rgba(65, 158, 171, .16)"};let l=0;return{background:`conic-gradient(${N.value.map(g=>{const m=l;return l+=Number(g.productionSharePct)||0,`${g.color} ${m}% ${l}%`}).join(",")})`}}),E=u(()=>Math.max(Number(k.value.bearingCapacity)||0,Number(k.value.livestockCapacity)||0,1)),oe=u(()=>Math.max(8,Number(k.value.bearingCapacity||0)*100/E.value)),le=u(()=>Math.max(8,Number(k.value.livestockCapacity||0)*100/E.value));function ue(l,t){if(l.length<=t)return l;const g=l.slice(0,t-1),m=l.slice(t-1),$=m.reduce((W,p)=>W+Number(p.areaMu||0),0),R=m.reduce((W,p)=>W+Number(p.areaSharePct||0),0);return[...g,{typeName:"其他植被型",areaMu:$,areaSharePct:R}]}function I(l){const t=String(l||"未分类");return t==="未分类"||t.endsWith("类")?t:`${t}类`}function se(l){const t=[0,18,40,62,82,100];return s.analysisState==="idle"?"pending":s.progress>=t[l+1]?"done":s.progress>=t[l]?"active":"pending"}function K(l){const t={1:[18,40],2:[40,62],3:[62,82],4:[82,100]},[g,m]=t[l];return s.analysisState==="idle"||s.progress=m?"is-done":"is-active"}function H(l,t,g){const m={1:[18,40],2:[40,62],3:[62,82],4:[82,100]},[$,R]=m[l];return s.progress>=R?t:s.analysisState==="running"&&s.progress>=$?g:"待加载"}function O(l){return s.progress>={1:18,2:40,3:62,4:82}[l]}function _(l){return s.progress>=l}function P(l,t,g,m=0){const $=Number(l);if(!Number.isFinite($))return"--";const R=Math.max(0,Math.min(1,(s.progress-t)/Math.max(1,g-t))),W=s.analysisState==="done"?1:1-Ce(1-R,3);return($*W).toLocaleString("zh-CN",{minimumFractionDigits:m,maximumFractionDigits:m})}function ge(l){const t=Number(l)||0;return t>=1e4?`${(t/1e4).toFixed(2)}万亩`:`${t.toLocaleString("zh-CN",{maximumFractionDigits:1})}亩`}function ie(l,t=1){const g=Number(l);return Number.isFinite(g)?g.toFixed(t):"--"}function fe(l){const t=Number(l);return Number.isFinite(t)?Math.round(t).toLocaleString("zh-CN"):"--"}function y(l){const t=Number(l);return Number.isFinite(t)?`${t>0?"+":""}${Math.round(t).toLocaleString("zh-CN")}`:"--"}function Se(l){const t=Number(l);return Number.isFinite(t)?`${t>0?"+":""}${t.toFixed(1)}%`:"--"}return(l,t)=>{var g,m,$,R,W;return f(),h("section",{class:S(["analysis-workbench",`is-${i.analysisState}`])},[e("header",pa,[e("div",ba,[t[0]||(t[0]=e("span",null,"草畜平衡 / 区域推导分析",-1)),e("strong",null,c(i.balance?`${i.balance.name}总体草畜平衡推导`:"请选择核算对象"),1)]),e("div",{class:S(["analysis-progress",`is-${i.analysisState}`])},[e("div",null,[e("span",null,[t[1]||(t[1]=e("i",null,null,-1)),xe(c(ae.value),1)]),e("strong",null,c(i.progress)+"%",1)]),e("p",null,[e("i",{style:ee({width:`${i.progress}%`})},null,4)])],2)]),e("section",fa,[e("div",ha,[e("span",null,c(i.scopeLabel)+"级核算对象",1),e("strong",null,c(((g=i.balance)==null?void 0:g.name)||"未选择"),1),e("small",null,c((m=i.balance)!=null&&m.areaCode?`行政区划 ${i.balance.areaCode}`:"等待选择区域"),1)]),e("div",ka,[(f(),h(T,null,re(v,(p,A)=>e("div",{key:p,class:S(se(A))},[e("span",null,c(A+1),1),e("strong",null,c(p),1)],2)),64))]),e("div",Ba,[e("span",null,c(G.value),1),e("strong",null,c(ve.value),1)])]),e("section",Na,[e("article",{class:S(["stage-card resource-stage",K(1)])},[e("header",Sa,[t[2]||(t[2]=e("span",null,"01",-1)),t[3]||(t[3]=e("div",null,[e("h2",null,"资源结构汇总"),e("p",null,"资源总量与类型")],-1)),e("small",null,c(H(1,"已完成","汇总中")),1)]),O(1)?(f(),h(T,{key:0},[e("div",_a,[e("div",null,[t[4]||(t[4]=e("span",null,"草地总面积",-1)),e("strong",null,c(P(ne.value.grassAreaMu,18,34,1)),1),t[5]||(t[5]=e("small",null,"亩",-1))]),e("div",wa,[t[6]||(t[6]=e("span",null,"湿地总面积",-1)),e("strong",null,c(P(ne.value.wetlandAreaMu,18,34,1)),1),t[7]||(t[7]=e("small",null,"亩",-1))])]),D.value?(f(),h(T,{key:0},[e("section",Va,[t[8]||(t[8]=e("div",{class:"type-title"},[e("strong",null,"草地类型"),e("span",null,"面积 / 占比")],-1)),(f(!0),h(T,null,re(N.value,(p,A)=>(f(),h("div",{key:p.typeName,class:"type-row"},[e("span",null,c(p.displayName),1),e("div",null,[e("i",{style:ee({width:_(22+A*2)?`${p.areaSharePct}%`:"0%",background:p.color})},null,4)]),e("strong",null,c(_(22+A*2)?ge(p.areaMu):"--"),1),e("em",null,c(_(22+A*2)?`${ie(p.areaSharePct,1)}%`:"--"),1)]))),128))]),e("section",$a,[t[9]||(t[9]=e("div",{class:"type-title"},[e("strong",null,"湿地植被型"),e("span",null,"面积 / 占比")],-1)),(f(!0),h(T,null,re(q.value,(p,A)=>(f(),h("div",{key:p.typeName,class:"type-row"},[e("span",{title:p.typeName},c(p.typeName),9,Ra),e("div",null,[e("i",{style:ee({width:_(29+A)?`${p.areaSharePct}%`:"0%"})},null,4)]),e("strong",null,c(_(29+A)?ge(p.areaMu):"--"),1),e("em",null,c(_(29+A)?`${ie(p.areaSharePct,1)}%`:"--"),1)]))),128))])],64)):(f(),h("div",Ca,[...t[10]||(t[10]=[e("i",null,null,-1),e("strong",null,"村级类型数据待空间归属",-1)])]))],64)):(f(),h("div",xa,[...t[11]||(t[11]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:i.progress>=38}])},[...t[12]||(t[12]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card productivity-stage",K(2)])},[e("header",Da,[t[13]||(t[13]=e("span",null,"02",-1)),t[14]||(t[14]=e("div",null,[e("h2",null,"类型加权生产力"),e("p",null,"按草地图斑计算")],-1)),e("small",null,c(H(2,D.value?"已计算":"暂无明细",D.value?"计算中":"核验中")),1)]),O(2)&&D.value?(f(),h(T,{key:0},[e("div",Aa,[t[15]||(t[15]=e("span",null,"加权鲜草亩产",-1)),e("strong",null,c(P(V.value.weightedFreshYieldJinPerMu,40,57,0)),1),t[16]||(t[16]=e("small",null,"斤/亩",-1))]),e("div",Ma,[t[17]||(t[17]=e("span",null,"加权干草亩产",-1)),e("strong",null,c(P(V.value.weightedDryYieldJinPerMu,42,58,0)),1),t[18]||(t[18]=e("small",null,"斤/亩",-1))]),e("div",{class:S(["productivity-donut reveal-block",{"is-revealed":_(50)}]),style:ee(C.value)},[e("div",null,[e("strong",null,c(ie(M.value,1))+"%",1),t[19]||(t[19]=e("span",null,"主要类型贡献",-1))])],6),e("div",{class:S(["contribution-legend reveal-block",{"is-revealed":_(53)}])},[(f(!0),h(T,null,re(N.value,p=>(f(),h("div",{key:`yield-${p.typeName}`},[e("i",{style:ee({background:p.color})},null,4),e("span",null,[xe(c(p.displayName),1),e("small",null,c(fe(p.freshYieldJinPerMu))+"斤/亩",1)]),e("strong",null,c(ie(p.productionSharePct,1))+"%",1)]))),128))],2)],64)):O(2)?(f(),h("div",Pa,[...t[20]||(t[20]=[e("i",null,null,-1),e("strong",null,"暂无村级生产力明细",-1)])])):(f(),h("div",La,[...t[21]||(t[21]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:i.progress>=60}])},[...t[22]||(t[22]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card capacity-stage",K(3)])},[e("header",Ta,[t[23]||(t[23]=e("span",null,"03",-1)),t[24]||(t[24]=e("div",null,[e("h2",null,"产草量与承载力"),e("p",null,"产量与载畜比较")],-1)),e("small",null,c(H(3,"已折算","折算中")),1)]),O(3)?(f(),h(T,{key:0},[D.value?(f(),h("div",Fa,[e("div",null,[t[25]||(t[25]=e("span",null,"年产鲜草",-1)),e("strong",null,c(P(V.value.annualFreshGrassWanTon,62,72,1)),1),t[26]||(t[26]=e("small",null,"万吨",-1))]),t[29]||(t[29]=e("i",null,null,-1)),e("div",null,[t[27]||(t[27]=e("span",null,"年产干草",-1)),e("strong",null,c(P(V.value.annualDryGrassWanTon,66,76,1)),1),t[28]||(t[28]=e("small",null,"万吨",-1))])])):(f(),h("div",za,[...t[30]||(t[30]=[e("div",null,[e("span",null,"年产鲜草"),e("strong",null,"--"),e("small",null,"万吨")],-1),e("i",null,null,-1),e("div",null,[e("span",null,"年产干草"),e("strong",null,"--"),e("small",null,"万吨")],-1)])])),e("div",Ea,[e("div",null,[t[31]||(t[31]=e("span",null,"理论承载力",-1)),e("p",null,[e("i",{style:ee({height:_(70)?`${oe.value}%`:"0%"})},null,4)]),e("strong",null,c(P(k.value.bearingCapacity,68,82,0)),1),t[32]||(t[32]=e("small",null,"头",-1))]),e("div",Ia,[t[33]||(t[33]=e("span",null,"实际载畜量",-1)),e("p",null,[e("i",{style:ee({height:_(70)?`${le.value}%`:"0%"})},null,4)]),e("strong",null,c(P(k.value.livestockCapacity,68,82,0)),1),t[34]||(t[34]=e("small",null,"头",-1))])]),e("div",Ha,[t[35]||(t[35]=e("span",null,"供需差额",-1)),e("strong",{class:S({surplus:Number(k.value.overloadCount)<0})},c(_(78)?y(k.value.overloadCount):"--"),3),t[36]||(t[36]=e("small",null,"头",-1))])],64)):(f(),h("div",Oa,[...t[37]||(t[37]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2),e("div",{class:S(["stage-connector",{active:i.progress>=80}])},[...t[38]||(t[38]=[e("i",null,null,-1),e("span",null,null,-1)])],2),e("article",{class:S(["stage-card verdict-stage",K(4)])},[e("header",Wa,[t[40]||(t[40]=e("span",null,"04",-1)),e("div",null,[t[39]||(t[39]=e("h2",null,"草畜平衡结论",-1)),e("p",null,c((($=i.balance)==null?void 0:$.name)||"当前区域"),1)]),e("small",null,c(H(4,"已生成","判定中")),1)]),O(4)?(f(),h(T,{key:0},[e("div",{class:S(["verdict-visual",`is-${((R=i.balance)==null?void 0:R.levelKey)||"watch"}`])},[t[41]||(t[41]=e("div",{class:"verdict-scale"},[e("i"),e("span")],-1)),e("div",null,[e("span",null,c((W=i.balance)==null?void 0:W.name),1),e("strong",null,c(i.progress>=90?U.value:"推导中"),1),e("small",null,"承载利用率 "+c(P(k.value.usageRate,82,96,1))+"%",1)])],2),e("div",{class:S(["verdict-evidence reveal-block",{"is-revealed":_(88)}])},[e("div",null,[t[42]||(t[42]=e("span",null,"超载率",-1)),e("strong",null,c(Se(k.value.overloadRate)),1)]),e("div",null,[e("span",null,c(G.value),1),e("strong",null,c(ve.value),1)])],2),e("div",{class:S(["verdict-advice reveal-block",{"is-revealed":_(92)}])},[t[43]||(t[43]=e("span",null,"调控建议",-1)),e("p",null,c(z.value),1)],2)],64)):(f(),h("div",ja,[...t[44]||(t[44]=[e("i",null,null,-1),e("strong",null,"待加载",-1)])]))],2)])],2)}}},Ga=ua(qa,[["__scopeId","data-v-a4924c57"]]);const Ka={class:"grass-livestock-balance"},Ja={class:"balance-selector"},Ya={class:"balance-scope-tabs"},Ua=["onClick"],Qa={class:"balance-target-list"},Xa=["title","onClick"],Za={class:"balance-action-box"},et={"aria-live":"polite"},at=["disabled"];const tt=326,nt=1310,lt=128,st=8,de=15e3,xt={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["loading-progress","map-ready"],setup(i,{emit:s}){const v=i,F=s,x=w(typeof window=="undefined"?1080:window.innerHeight),D=u(()=>{const a=Math.max(1080,Number(x.value)||1080);return Math.max(944,a-lt-st)}),ne=u(()=>D.value),V=w("county"),k=w(""),N=w("idle"),q=w(0),M=w(0),U=w(0),z=w(0),G=w(!1),ve=w(null),ae=w(de),C=w(""),E=w(!1),oe=w({}),le=w([]),ue=w([]);let I=!1,se=0,K=null,H=0,O=null;const _=u(()=>[...le.value,...ue.value].map(a=>oe.value[a.key]||a)),P=u(()=>_.value.filter(a=>a.type==="county")),ge=u(()=>_.value.filter(a=>a.type==="town")),ie=u(()=>_.value.filter(a=>a.type==="village")),fe=u(()=>V.value==="town"?ge.value:V.value==="village"?ie.value:P.value),y=u(()=>_.value.find(a=>a.key===k.value)||null),Se=u(()=>{var r,o;const a=((r=y.value)==null?void 0:r.year)||"当前年度",n=String(((o=y.value)==null?void 0:o.scenarioVersion)||"").trim();return n?n.endsWith("current-stock")?`${a} · 当前存栏口径`:`${a} · ${n}`:a}),l=u(()=>!!y.value),t=u(()=>!!C.value&&!E.value&&!le.value.length),g=u(()=>N.value==="running"),m=u(()=>l.value&&N.value==="done"),$=u(()=>{var n,r,o,d,b,B,J,j;const a=y.value||{};return{bearing:(n=a.bearingCapacity)!=null?n:null,livestock:(r=a.livestockCapacity)!=null?r:null,areaRange:(o=a.areaRange)!=null?o:null,overloadCount:(d=a.overloadCount)!=null?d:null,overloadRate:(b=a.overloadRate)!=null?b:null,usageRate:(B=a.usageRate)!=null?B:null,bearingPercent:(J=a.bearingPercent)!=null?J:0,livestockPercent:(j=a.livestockPercent)!=null?j:0,risk:{key:a.levelKey||"watch",label:a.level||"--",description:a.conclusion||"暂缺分析结论"}}}),R=u(()=>[{key:"county",name:"县"},{key:"town",name:"镇"},{key:"village",name:"村"}]),W=u(()=>{var a;return((a=R.value.find(n=>n.key===V.value))==null?void 0:a.name)||"县"}),p=u(()=>E.value?"正在加载核算对象":C.value?C.value:l.value?m.value?"分析已完成":g.value?"正在执行核算":"已选择,待开始分析":"请先选择具体对象"),A=u(()=>m.value?"草畜平衡分析舱":"草畜平衡分析"),it=u(()=>E.value?"加载中":t.value?"可重试":l.value?g.value?"分析中":"待开始":"待选择"),rt=u(()=>E.value?"正在加载核算对象":t.value?"核算对象暂未加载":l.value?g.value?`${y.value.name} 正在分析`:`${y.value.name} 待开始分析`:"先选择一个核算对象"),ot=u(()=>E.value?"正在读取县、镇、村核算对象,请稍候。":C.value?C.value:l.value?g.value?"正在读取草畜平衡结果,核对承载力、载畜量和超载率。":"点击左侧开始分析后,再展示结果、分析过程、结论和建议。":"选择县、镇或村后,系统才会进入草地承载力核算。"),ut=u(()=>{var a;return((a=y.value)==null?void 0:a.summary)||"分析结果存在缺失项,请以页面状态为准。"}),ct=u(()=>{var a;return((a=y.value)==null?void 0:a.verdictHint)||"依据承载利用率判定"}),dt=u(()=>{var a;return((a=y.value)==null?void 0:a.decisionHint)||"分析建议"}),vt=u(()=>{var a;return`${Number((a=y.value)==null?void 0:a.usageAngleDeg)||0}deg`});function me(a){const n=Number(a);return Number.isFinite(n)?`${n.toFixed(1)}%`:"--"}function Q(a){if(a==null||a==="")return null;const n=Number(a);return Number.isFinite(n)?n:null}function Pe(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")?"healthy":n.includes("基本")?"watch":n.includes("轻度")?"light":n.includes("中度")?"warning":"danger"}function Le(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")?"保持监测":n.includes("基本")?"基本平衡":n.includes("轻度")?"关注调控":n.includes("中度")?"主动调控":"重点管控"}function Te(a){const n=String(a||"");return n.includes("未超载")||n.includes("合理")||n.includes("基本")?"保持监测":n.includes("轻度")?"关注调控":"需要调控"}function Fe(a){return[...new Set(String(a||"").split(/[。;;\n]+/).map(n=>n.trim()).filter(Boolean))]}function ze(a){return[{key:"productivity",index:"01",name:"草地生产力核算",description:`核算草地 ${L(a.areaRange,"亩",1)}、湿地 ${L(a.wetlandArea,"亩",1)}。`},{key:"forage",index:"02",name:"可利用草量折算",description:`理论承载力 ${L(a.bearingCapacity,"头")}。`},{key:"livestock",index:"03",name:"载畜量折算",description:`当前载畜量 ${L(a.livestockCapacity,"头")}。`},{key:"balance",index:"04",name:"平衡判定",description:`超载率 ${me(a.overloadRate)},判定为“${a.level||"--"}”。`}]}function Ee(){return[{key:"productivity",index:"01",name:"草地生产力核算",description:"正在读取下属区域草地与湿地数据",pending:"等待草地生产力数据"},{key:"forage",index:"02",name:"可利用草量折算",description:"正在读取下属区域理论承载力",pending:"等待理论承载力数据"},{key:"livestock",index:"03",name:"载畜量折算",description:"正在读取下属区域当前畜群数量",pending:"等待当前畜群数据"},{key:"balance",index:"04",name:"平衡判定",description:"正在生成下属区域超载率排行",pending:"等待平衡判定结果"}]}function Ie(a){const n=[...a].sort((o,d)=>{const b=Q(o.overloadRate),B=Q(d.overloadRate);return b===null&&B===null?String(o.areaCode).localeCompare(String(d.areaCode)):b===null?1:B===null?-1:B-b||String(o.areaCode).localeCompare(String(d.areaCode))}),r=Math.max(0,...n.map(o=>{var d;return(d=Q(o.overloadRate))!=null?d:0}));return n.map((o,d)=>{const b=Q(o.overloadRate),B=b===null||r<=0?0:Math.max(0,b)*100/r;return Z(X({},o),{rank:d+1,progressPct:B>0?Math.min(100,Math.max(6,B)):0,statusClass:b===null?"is-empty":b>=2.5?"is-alert":b>=2?"is-warning":"is-stable",tooltip:`${o.areaName||o.name}:理论${L(o.bearingCapacity,"头")},实际${L(o.livestockCapacity,"头")},超载率${me(b)}`})})}function He(a){if(!(a!=null&&a.hasData)||!(a!=null&&a.result))return a;const n=a.result,r=Array.isArray(a.children)?a.children:[],o=Q(n.bearingCapacity),d=Q(n.livestockCapacity),b=Q(n.overloadCount),B=Q(n.usageRate),J=Math.max(o!=null?o:0,d!=null?d:0),j=String(n.level||""),Y=n.areaLevel||n.type,be=r.length?r:[n];return Z(X({},n),{hasData:!0,emptyState:null,analysis:a.analysis||null,bearingPercent:J>0&&o!==null?o*100/J:0,livestockPercent:J>0&&d!==null?d*100/J:0,usageAngleDeg:B===null?0:Math.round(Math.min(130,Math.max(0,B))*360/130),levelKey:Pe(j),verdictHint:Le(j),decisionHint:Te(j),summary:b===null||B===null?"分析结果存在缺失项,请以页面状态为准。":`${b>=0?"超载量":"承载余量"} ${ya(Math.abs(b))}头,承载利用率 ${me(B)}。`,adviceRows:Fe(n.advice),calculationStages:ze(n),progressStages:Ee(),hasChildAreas:r.length>0,childCount:r.length,childLevel:Y==="county"?"town":Y==="town"?"village":null,processScopeLabel:r.length?Y==="county"?"下属乡镇":"下属村":"当前村",processRows:be,childRankingTitle:Y==="county"?"乡镇超载率排行":Y==="town"?"村级超载率排行":null,childRanking:Y==="village"?[]:Ie(r)})}const Oe=u(()=>{var a;return(((a=y.value)==null?void 0:a.calculationStages)||[]).map(n=>Z(X({},n),{desc:n.description}))}),te=u(()=>{var n;return(((n=y.value)==null?void 0:n.progressStages)||[{key:"productivity",index:"01",name:"草地生产力核算",desc:"正在读取草地生产力核算结果",pending:"等待生产力核算结果"},{key:"forage",index:"02",name:"可利用草量折算",desc:"正在读取可利用草量折算结果",pending:"等待草量折算结果"},{key:"livestock",index:"03",name:"载畜量折算",desc:"正在读取载畜量折算结果",pending:"等待载畜量折算结果"},{key:"balance",index:"04",name:"平衡判定",desc:"正在生成结论与建议",pending:"等待平衡判定结果"}]).map(r=>Z(X({},r),{desc:r.description||r.desc}))}),gt=u(()=>te.value[Math.min(M.value,te.value.length-1)]||te.value[0]),he=u(()=>{var n;const a=(n=y.value)==null?void 0:n.processRows;return Array.isArray(a)&&a.length?a:y.value?[y.value]:[]}),_e=u(()=>te.value.flatMap((a,n)=>he.value.map((r,o)=>({key:`${a.key}-${r.areaCode||r.key||o}`,stage:a,stageIndex:n,row:r,rowIndex:o})))),We=u(()=>_e.value.slice(0,z.value)),mt=u(()=>[{key:"productivity",index:"01",name:"草地生产力核算",desc:m.value?"已完成":l.value?"等待核算":"等待选择",state:l.value?"done":"active"},{key:"forage",index:"02",name:"可利用草量折算",desc:m.value?"已完成":"分析后折算",state:g.value?"active":m.value?"done":l.value?"pending":"disabled"},{key:"livestock",index:"03",name:"载畜量折算",desc:m.value?"已完成":"等待折算",state:g.value?"active":m.value?"done":"disabled"},{key:"balance",index:"04",name:"平衡判定",desc:m.value?$.value.risk.label:"等待判定",state:m.value?"done":"disabled"}]),yt=u(()=>{var a;return m.value?((a=y.value)==null?void 0:a.adviceRows)||[]:[]}),je=u(()=>{var a;return m.value?((a=y.value)==null?void 0:a.childRanking)||[]:[]}),qe=u(()=>{var a;return je.value.length>0&&((a=y.value)==null?void 0:a.areaLevel)!=="village"}),pt=u(()=>{var a;return((a=y.value)==null?void 0:a.childRankingTitle)||"下级超载率排行"});function L(a,n,r=0){if(a==null||a==="")return`--${n}`;const o=Number(a);return Number.isFinite(o)?`${o.toLocaleString("zh-CN",{minimumFractionDigits:r,maximumFractionDigits:r})}${n}`:`--${n}`}function bt(a,n=M.value){return n===0?`草地 ${L(a.areaRange,"亩",1)}`:n===1?`承载力 ${L(a.bearingCapacity,"头")}`:n===2?`载畜量 ${L(a.livestockCapacity,"头")}`:`超载率 ${me(a.overloadRate)}`}function ft(a,n=M.value){return n===0?`湿地 ${L(a.wetlandArea,"亩",1)}`:n===1?"可利用草量折算结果":n===2?"当前存栏":`${a.level||"待判定"}|超载量 ${L(a.overloadCount,"头")}`}function ht(a){return Number(a==null?void 0:a.progressPct)||0}function kt(a){return(a==null?void 0:a.statusClass)||"is-empty"}function Bt(a){return(a==null?void 0:a.tooltip)||(a==null?void 0:a.name)||"乡镇"}function ye(){se+=1,O=null,pe(),N.value="idle",q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,ae.value=de,C.value=""}function ke(){x.value=typeof window=="undefined"?1080:window.innerHeight}sa(()=>{ke(),window.addEventListener("resize",ke),F("loading-progress",{progress:100}),F("map-ready"),Ue()}),ia(()=>{I=!0,window.removeEventListener("resize",ke),se+=1,H+=1,pe()}),Be(()=>{var a;return(a=y.value)==null?void 0:a.key},()=>{ye()}),Be(()=>v.active,a=>{a||!g.value||ye()}),Be(()=>We.value.length,a=>ce(this,null,function*(){if(!a)return;yield ra();const n=ve.value;n&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})}));function Ge(a){V.value=a,k.value="",ye()}function Ke(a){a&&(V.value=["county","town","village"].includes(a.type)?a.type:"county",k.value=a.key,ye())}function Je(){if(!v.active||!y.value||g.value)return;N.value="running",q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,ae.value=de,C.value="",pe();const a=Date.now();let n=null,r=!1;const o=Ye().catch(d=>(r=!0,console.warn("[grassLivestockBalance] balance result unavailable",d),C.value=we(d,"当前对象的核算结果暂不可用,请稍后重试。"),null));o.then(d=>{d&&(ae.value=de,n=Date.now(),G.value=!0,z.value=1)}),O=o,K=window.setInterval(()=>{if(I||!G.value||!n)return;const d=Date.now()-n,b=Math.max(1,te.value.length),B=Math.max(de,ae.value),J=Math.min(94,Math.floor(d/B*100));q.value=J;const j=Math.max(1,he.value.length),Y=Math.max(1,b*j),be=Math.min(Y,Math.floor(d/(B/Y))+1),Ve=Math.max(0,be-1);z.value=be,M.value=Math.min(b-1,Math.floor(Ve/j)),U.value=Ve%j},120),o.finally(()=>ce(this,null,function*(){const d=n||a,b=n?ae.value-(Date.now()-d):0;if(b>0&&(yield new Promise(B=>window.setTimeout(B,b))),!(I||N.value!=="running"||O!==o)){if(O=null,pe(),!y.value){q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,N.value="idle";return}if(r||!Qe(y.value)){q.value=0,M.value=0,U.value=0,z.value=0,G.value=!1,N.value="idle";return}q.value=100,M.value=te.value.length-1,U.value=Math.max(0,he.value.length-1),z.value=_e.value.length,yield new Promise(B=>window.setTimeout(B,900)),!(I||N.value!=="running")&&(N.value="done")}}))}function Ye(){return ce(this,null,function*(){const a=y.value;if(!a)throw new Error("请先选择具体核算对象");const n=++se,r=yield ga({year:a.year,scenarioVersion:a.scenarioVersion,areaCode:a.areaCode});if(I||n!==se)return null;if(!(r!=null&&r.hasData))throw new Error((r==null?void 0:r.emptyState)||"未查询到该对象的草畜平衡结果");const o=He(r);return oe.value=Z(X({},oe.value),{[a.key]:o}),o})}function Ue(){return ce(this,null,function*(){const a=++H;E.value=!0,C.value="";try{const n=yield va();if(I||a!==H)return;const r=Array.isArray(n==null?void 0:n.rows)?n.rows:[],o=r.map(d=>Z(X({},d),{childCount:d.areaLevel==="village"?0:r.filter(b=>b.parentAreaCode===d.areaCode).length}));le.value=o.filter(d=>["county","town"].includes(d.type)),ue.value=o.filter(d=>d.type==="village"),C.value=o.length?"":(n==null?void 0:n.emptyState)||"暂无核算对象"}catch(n){if(I||a!==H)return;console.warn("[grassLivestockBalance] area balance rows unavailable",n),le.value=[],ue.value=[],C.value=we(n,"核算对象加载失败,请稍后重试。")}finally{!I&&a===H&&(E.value=!1)}})}function we(a,n){const r=String((a==null?void 0:a.message)||"").trim();return/404|not found|暂无|未查询到/i.test(r)?"暂未查询到核算数据,请稍后重试。":/network|fetch|timeout|连接|服务|502|503|504/i.test(r)?"核算服务暂时无法连接,请稍后重试。":n}function Qe(a={}){return["overloadRate","overload_rate","bearingCapacity","bearing_capacity","livestockCapacity","livestock_capacity"].some(n=>(a==null?void 0:a[n])!==void 0&&(a==null?void 0:a[n])!==null&&(a==null?void 0:a[n])!=="")}function pe(){K&&(window.clearInterval(K),K=null)}function Nt(a){const n=te.value[a],r=Oe.value[a];return m.value&&(r!=null&&r.desc)?r.desc:(n==null?void 0:n.desc)||"正在读取分析结果"}return(a,n)=>(f(),h("div",Ka,[n[14]||(n[14]=e("div",{class:"balance-backdrop","aria-hidden":"true"},[e("div",{class:"balance-orbit is-left"}),e("div",{class:"balance-orbit is-right"}),e("div",{class:"balance-energy-band"})],-1)),e("div",{class:"balance-screen",style:ee({"--balance-card-height":`${D.value}px`})},[Ne(Ae,{class:"balance-card balance-target-card",title:"核算对象",width:tt,height:ne.value},{default:De(()=>{var r;return[e("div",Ja,[e("div",Ya,[(f(!0),h(T,null,re(R.value,o=>(f(),h("button",{key:o.key,type:"button",class:S({active:V.value===o.key}),onClick:d=>Ge(o.key)},c(o.name),11,Ua))),128))]),e("div",Qa,[(f(!0),h(T,null,re(fe.value,o=>{var d;return f(),h("button",{key:o.key,type:"button",class:S({active:o.key===((d=y.value)==null?void 0:d.key)}),title:o.name,onClick:b=>Ke(o)},[e("span",null,c(o.name),1)],10,Xa)}),128))]),e("div",Za,[n[0]||(n[0]=e("span",null,"当前对象",-1)),e("strong",null,c(((r=y.value)==null?void 0:r.name)||"未选择"),1),e("small",et,c(p.value),1),e("button",{type:"button",disabled:!l.value||g.value,onClick:Je},c(g.value?"分析中...":m.value?"重新分析":"开始分析"),9,at)])])]}),_:1},8,["height"]),Ne(Ae,{class:"balance-card balance-sheet-card",title:A.value,width:nt,height:D.value},{default:De(()=>[e("div",{class:S(["balance-sheet",{"is-ready":m.value,"is-running":g.value,"is-village-result":m.value&&!qe.value}])},[n[13]||(n[13]=e("div",{class:"balance-field-lines","aria-hidden":"true"},[e("i"),e("i"),e("i")],-1)),Ne(Ga,{balance:y.value,"analysis-state":N.value,progress:q.value,"scope-label":W.value},null,8,["balance","analysis-state","progress","scope-label"]),oa("",!0)],2)]),_:1},8,["title","height"])],4)]))}};export{xt as default}; diff --git a/docs/assets/index-c633956d-balabala-1786725044461.css b/docs/assets/index-c633956d-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-c633956d-balabala-1786725044461.css rename to docs/assets/index-c633956d-balabala-1786807848259.css diff --git a/docs/assets/index-d5f4c71b-1786807848259.js b/docs/assets/index-d5f4c71b-1786807848259.js new file mode 100644 index 0000000..89c3502 --- /dev/null +++ b/docs/assets/index-d5f4c71b-1786807848259.js @@ -0,0 +1,116 @@ +var Hu=Object.defineProperty,qu=Object.defineProperties;var Uu=Object.getOwnPropertyDescriptors;var Ls=Object.getOwnPropertySymbols;var Ku=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable;var $a=Math.pow,Ts=(m,e,t)=>e in m?Hu(m,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):m[e]=t,I=(m,e)=>{for(var t in e||(e={}))Ku.call(e,t)&&Ts(m,t,e[t]);if(Ls)for(var t of Ls(e))Zu.call(e,t)&&Ts(m,t,e[t]);return m},E=(m,e)=>qu(m,Uu(e));var oe=(m,e,t)=>new Promise((a,i)=>{var o=h=>{try{u(t.next(h))}catch(p){i(p)}},l=h=>{try{u(t.throw(h))}catch(p){i(p)}},u=h=>h.done?a(h.value):Promise.resolve(h.value).then(o,l);u((t=t.apply(m,e)).next())});import{k as ro,q as io,h as so,w as oa,o as P,c as N,a as d,d as _,a7 as Xu,A as ia,g as S,a9 as Ae,s as Ie,v as Qu,C as Yt,u as O,j as pe,n as Se,t as T,F as U,y as ee,K as nt,b as j,x as Q,B as Rt,e as ma,H as jt,f as Ea,ab as It}from"./index-1786807848259.js";import{H as ve}from"./index.esm.min-024ee703-1786807848259.js";import{_ as te}from"./index-0eddac6c-1786807848259.js";import{t as jr,S as Ta,u as zn,v as ja,w as Ju,V as le,F as ec,C as Tt,G as Ce,c as tc,d as ac,f as nc,g as $r,L as ga,D as Ee,a as ke,h as xn,R as ct,A as Ve,N as Ss,b as Qe,P as Ht,o as ya,n as va,x as rc,T as ic,B as sc,i as oc,j as lc,k as uc,l as cc,m as dc,y as hc,z as Va,E as ks,H as Ms,I as pc,J as Cs,q as Ps,r as fc,s as Er,K as Da,U as za,W as Ns,M as mc}from"./screen2Standard-03f7f908-1786807848259.js";import{g as sa,M as gc,h as yc,L as vc,B as Oa,a as ba,E as Fs,G as Rn,D as bc,b as wc,l as Lc,P as xs,c as Rs,e as Tc,f as Sc,i as kc,j as Mc,k as Is,m as _s,n as Gs,o as Cc,d as In,p as Pc,q as Vr,r as Nc,s as Fc,t as xc}from"./yakApi-0d53b9e4-1786807848259.js";import{g as wa}from"./index-db918426-1786807848259.js";import{h as Rc,a as oo,k as q,W as St,S as Ic,l as Dr,m as _c,n as zr,M as Gc,o as Ac}from"./index-80cb981f-1786807848259.js";import{_ as Bc}from"./TopicSwitcher-c91bad20-1786807848259.js";import{_ as $c}from"./LayerPanel-e92912ff-1786807848259.js";import{A as Ec}from"./assets-8728b943-1786807848259.js";import"./_plugin-vue_export-helper-c27b6911-1786807848259.js";const Vc=Rc.map(m=>I({},m)),As=oo.map(m=>I({},m)),Dc=oo.map(m=>{var e,t;return{name:m.name,value:m.value,lng:(e=m.center)==null?void 0:e[0],lat:(t=m.center)==null?void 0:t[1]}}),zc=[{name:"邛溪镇",level:"县城驻地",value:895.94,lng:102.60242339873115,lat:32.83022561372293},{name:"瓦切镇",level:"北部牧区",value:991,lng:102.71535664604494,lat:33.12869670968013},{name:"刷经寺镇",level:"南部通道",value:986.44,lng:102.55651980382184,lat:32.204097908180216},{name:"色地镇",level:"东部片区",value:1199.06,lng:103.12540730227074,lat:33.010462261362875}],ka=256,Hr="/external/satellite/{z}/{x}/{y}.png",Oc=900,Wc=10,la=new Map,Ma={west:101.852492,south:31.851389,east:103.347518,north:33.319796};function Or(m,e,t){const a=$a(2,t),i=Math.sin(e*Math.PI/180);return{x:(m+180)/360*a,y:(.5-Math.log((1+i)/(1-i))/(4*Math.PI))*a}}function Bs(m,e,t){const a=$a(2,t),i=m/a*360-180,o=Math.PI-2*Math.PI*e/a,l=180/Math.PI*Math.atan(.5*(Math.exp(o)-Math.exp(-o)));return[i,l]}function _n(m,e,t){return Math.max(e,Math.min(t,m))}function lo(m,e,{centerLngLat:t,maxCols:a,maxRows:i}={}){const o=Or(m.west,m.north,e),l=Or(m.east,m.south,e),u=Math.floor(o.x),h=Math.floor(l.x),p=Math.floor(o.y),y=Math.floor(l.y);let g=u,w=h,C=p,F=y,x=Math.floor((u+h)/2),G=Math.floor((p+y)/2);if(t&&Number.isFinite(a)&&Number.isFinite(i)){const H=_n(Number(t[0]),m.west,m.east),J=_n(Number(t[1]),m.south,m.north),ne=Or(H,J,e);x=Math.floor(ne.x),G=Math.floor(ne.y);const K=Math.max(1,Math.min(Math.floor(a),h-u+1)),V=Math.max(1,Math.min(Math.floor(i),y-p+1));g=_n(x-Math.floor(K/2),u,h-K+1),C=_n(G-Math.floor(V/2),p,y-V+1),w=g+K-1,F=C+V-1}return{zoom:e,minX:g,maxX:w,minY:C,maxY:F,centerX:x,centerY:G,cols:w-g+1,rows:F-C+1}}function Yc({zoom:m=11,centerLngLat:e,maxCols:t,maxRows:a,bounds:i=Ma}={}){return lo(i,m,{centerLngLat:e,maxCols:t,maxRows:a})}function jc(m,e){const[t,a]=Bs(m.minX,m.minY,m.zoom),[i,o]=Bs(m.maxX+1,m.maxY+1,m.zoom),[l]=e([t,Ma.south]),[u]=e([i,Ma.south]),[,h]=e([Ma.west,a]),[,p]=e([Ma.west,o]);return{left:l,right:u,bottom:-p,top:-h}}function Hc(m,e){const{width:t,height:a}=e;m.save(),m.globalCompositeOperation="multiply",m.fillStyle="rgba(5, 24, 34, 0.22)",m.fillRect(0,0,t,a),m.globalCompositeOperation="screen";const i=m.createRadialGradient(t*.5,a*.48,t*.1,t*.5,a*.5,t*.72);i.addColorStop(0,"rgba(80, 230, 255, 0.16)"),i.addColorStop(1,"rgba(0, 18, 36, 0.03)"),m.fillStyle=i,m.fillRect(0,0,t,a),m.restore()}function qc(m,e){const t=m.createLinearGradient(0,0,e.width,e.height);t.addColorStop(0,"#061927"),t.addColorStop(.5,"#0b2c3c"),t.addColorStop(1,"#07131f"),m.fillStyle=t,m.fillRect(0,0,e.width,e.height)}function Uc(m){const e=la.get(m);return e||new Promise(t=>{const a=new Image;a.crossOrigin="anonymous",a.onload=()=>t(a),a.onerror=()=>{la.delete(m),t(null)},a.src=m})}function Kc(m){const e=la.get(m);if(e)return e;const t=Uc(m);for(la.set(m,t);la.size>Oc;){const a=la.keys().next().value;if(!a)break;la.delete(a)}return t}function Zc(m,e,t,a=Hr){return String(a||Hr).replace(/\{x\}/g,m).replace(/\{y\}/g,e).replace(/\{z\}/g,t)}function Xc(u,h,p,y){return oe(this,arguments,function*(m,e,t,a,{tileUrlTemplate:i,onTileStatus:o,applyTone:l=!0}={}){const g=[],w=a.cols*a.rows;let C=0,F=0;o==null||o({type:"loading",text:`正在加载${a.zoom}级影像底图`,loaded:C,failed:F,total:w,zoom:a.zoom,tileRange:a,tileUrlTemplate:i}),m.save(),m.filter="brightness(0.92) contrast(1.22) saturate(1.06)";for(let K=a.minX;K<=a.maxX;K+=1)for(let V=a.minY;V<=a.maxY;V+=1)g.push({x:K,y:V});g.sort((K,V)=>Math.abs(K.x-a.centerX)+Math.abs(K.y-a.centerY)-(Math.abs(V.x-a.centerX)+Math.abs(V.y-a.centerY)));let x=0;function G(){return oe(this,null,function*(){for(;x0?C/w:0,J=C===0?"error":H>=.75?"success":"warning",ne=C===w?`${a.zoom}级影像底图已加载`:C>0?`${a.zoom}级影像底图已加载(${C}/${w}张有效瓦片)`:`${a.zoom}级影像底图加载失败`;o==null||o({type:J,text:ne,loaded:C,failed:F,total:w,zoom:a.zoom,tileRange:a,tileUrlTemplate:i})})}function $s({geoProjectionCenter:m,geoProjectionScale:e,zoom:t=11,tileUrlTemplate:a=Hr,onTileStatus:i,centerLngLat:o,maxCols:l,maxRows:u,transparentBackground:h=!1,applyTone:p=!0}={}){const y=lo(Ma,t,{centerLngLat:o,maxCols:l,maxRows:u}),g=document.createElement("canvas");g.width=y.cols*ka,g.height=y.rows*ka;const w=g.getContext("2d");h?w.clearRect(0,0,g.width,g.height):qc(w,g);const C=new jr(g);C.colorSpace=Ta,C.wrapS=zn,C.wrapT=zn,C.minFilter=ja,C.magFilter=ja,C.needsUpdate=!0;const F=sa().center(m).scale(e).translate([0,0]),x=jc(y,F);return Xc(w,g,C,y,{tileUrlTemplate:a,onTileStatus:i,applyTone:p}).catch(G=>{console.warn("load satellite tiles failed:",G),i==null||i({type:"error",text:`${y.zoom}级影像底图加载失败`,loaded:0,failed:y.cols*y.rows,total:y.cols*y.rows,zoom:y.zoom,tileRange:y,tileUrlTemplate:a})}),{texture:C,uvBounds:x,tileRange:y}}function Es(m,e){const t=e.right-e.left,a=e.top-e.bottom;m.mapGroup.traverse(i=>{var u,h;const o=(h=(u=i.geometry)==null?void 0:u.attributes)==null?void 0:h.position;if(!i.isMesh||!o)return;const l=new Float32Array(o.count*2);for(let p=0;p{i!=null&&i!==""&&t.append(a,i)}),`${m}${m.includes("?")?"&":"?"}${t.toString()}`}function ed(m,e={}){const t=e.bounds||q,a=e.size||St;return On(e.url||Kr,{service:"WMS",version:"1.1.1",request:"GetMap",layers:m.layerName,styles:m.styles||"",format:"image/png",transparent:!0,tiled:!0,srs:"EPSG:4326",bbox:[t.west,t.south,t.east,t.north].join(","),width:a.width,height:a.height,CQL_FILTER:e.cqlFilter||m.cqlFilter,SLD_BODY:e.sldBody||m.sldBody,_:Date.now()})}function td(m,e={}){var o,l,u,h,p;const t=m.tileMatrixSetID||m.tileMatrixSet||"EPSG:900913",a=Number((h=(u=(l=(o=e.z)!=null?o:e.zoom)!=null?l:m.wmtsZoom)!=null?u:m.homeWmtsZoom)!=null?h:0),i=e.tileMatrix||((p=m.tileMatrixLabels)==null?void 0:p[a])||`${t}:${a}`;return On(e.url||m.url||Jc,{service:"WMTS",version:"1.0.0",request:"GetTile",layer:m.layerName,style:m.style||m.styles||"",format:m.format||"image/png",tileMatrixSet:t,tileMatrix:i,tileRow:e.y,tileCol:e.x})}function ad(m,e,t={}){var o,l;const a=t.bounds||q,i=t.size||St;return On(t.url||Kr,{service:"WMS",version:"1.1.1",request:"GetFeatureInfo",layers:m.layerName,query_layers:m.layerName,styles:m.styles||"",info_format:"application/json",feature_count:5,srs:"EPSG:4326",bbox:[a.west,a.south,a.east,a.north].join(","),width:i.width,height:i.height,x:Math.round(e.x),y:Math.round(e.y),buffer:(l=(o=t.buffer)!=null?o:m.queryBuffer)!=null?l:8,CQL_FILTER:t.cqlFilter||m.cqlFilter,SLD_BODY:t.sldBody||m.sldBody})}function Vs(a,i){return oe(this,arguments,function*(m,e,t={}){const o=ad(m,e,t);return ro(o,{credentials:"include"})})}function nd(m,e={}){return On(e.url||Qc,{service:"WFS",version:e.version||"1.0.0",request:"GetFeature",typeName:m,outputFormat:"json",propertyName:Array.isArray(e.propertyName)?e.propertyName.join(","):e.propertyName,CQL_FILTER:e.cqlFilter,maxFeatures:e.maxFeatures||2e5})}function Ds(t){return oe(this,arguments,function*(m,e={}){const a=nd(m,e);return ro(a,{credentials:"include",timeout:e.timeout||2e4})})}const rd=new le(-.17427287762525134,13.678992786206543,20.688611202093714),id=new le(0,0,0),sd=new le(-13.767695123014105,12.990152163077308,39.28228164159694),Gn=21,od=9,ld=260,ud=12,cd=700,La=new Map,zs="#30DCFF",dd="#F2FFFF",hd="#8BF7FF",Os=3202303,pd=15925247,Ws=9172991,Ys={"family-pasture":"pasture","artificial-grassland":"grass","scale-breeding":"breeding","forage-storage":"storage","slaughter-processing":"processing","farm-equipment":"equipment","social-service":"service"};function js(m){return m.sort((e,t)=>t.value-e.value),m}function dt(m){return String(m||"").replace(/\s+/g,"").trim()}function de(m,e=0){const t=Number(m);return Number.isFinite(t)?t:e}function na(m,e,t){const a=Number(m);return Number.isFinite(a)?Math.max(e,Math.min(t,a)):e}function Pe(m){return String(m!=null?m:"").replace(/[&<>"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e])}function Hs(m){return(m==null?void 0:m.scope)==="village"||(m==null?void 0:m.labelMode)==="village"}function qs(m){return(m==null?void 0:m.scope)==="trade-flow"||(m==null?void 0:m.labelMode)==="trade-flow"}function fd(m){return(m==null?void 0:m.showFlowLines)!==!1}function Us(m){return!!(m!=null&&m.hideTownNames||(m==null?void 0:m.showTownNames)===!1)}function Wa(m){return!!(m!=null&&m.hideMapLabels||(m==null?void 0:m.showMapLabels)===!1)}function md(m){return(m==null?void 0:m.displayMode)==="callout"||(m==null?void 0:m.labelMode)==="callout"}function An(m){return["wkt-api","geojson","wfs"].includes(String((m==null?void 0:m.sourceType)||"").toLowerCase())}function gd(m){return(m==null?void 0:m.interactive)===!1||(m==null?void 0:m.key)==="yak-recognition-layer"}function Ks(m){return String((m==null?void 0:m.sourceType)||"").toLowerCase()==="wmts"}function Zs(m,e,t){const a=$a(2,t),i=Math.sin(e*Math.PI/180);return{x:(m+180)/360*a,y:(.5-Math.log((1+i)/(1-i))/(4*Math.PI))*a}}function Xs(m,e,t){const a=$a(2,t),i=m/a*360-180,o=Math.PI-2*Math.PI*e/a,l=180/Math.PI*Math.atan(.5*(Math.exp(o)-Math.exp(-o)));return[i,l]}function yd(m,e){const t=Zs(m.west,m.north,e),a=Zs(m.east,m.south,e);return{minX:Math.floor(t.x),maxX:Math.floor(a.x),minY:Math.floor(t.y),maxY:Math.floor(a.y)}}function vd(m,e,t,a){const[i,o]=Xs(m,e,t),[l,u]=Xs(m+1,e+1,t),h=q.east-q.west,p=q.north-q.south;return{x:(i-q.west)/h*a.width,y:(q.north-o)/p*a.height,width:(l-i)/h*a.width,height:(o-u)/p*a.height}}function bd(m){const e=La.get(m);if(e)return e;const t=new Promise(a=>{const i=new Image;i.crossOrigin="anonymous",i.onload=()=>a(i),i.onerror=()=>{La.delete(m),a(null)},i.src=m});for(La.set(m,t);La.size>cd;){const a=La.keys().next().value;if(!a)break;La.delete(a)}return t}function Qs(m){return m?/^https?:\/\//.test(m)||m.startsWith("/")?m:`./${m}`:""}function wd(m){if(!m)return null;if(typeof m=="string")try{return JSON.parse(m)}catch(e){return console.warn("地图 GeoJSON 解析失败",e),null}return m}function Ya(m){const e=wd(m);return e!=null&&e.features&&e.features.forEach(t=>{var a;((a=t.geometry)==null?void 0:a.type)==="Polygon"&&(t.geometry.coordinates=[t.geometry.coordinates])}),e}function Js(m){var e,t,a;return m!=null&&m.coordinates?m.type==="Polygon"?Array.isArray((a=(t=(e=m.coordinates)==null?void 0:e[0])==null?void 0:t[0])==null?void 0:a[0])?m.coordinates:[m.coordinates]:m.type==="MultiPolygon"?m.coordinates:[]:[]}class Ld extends gc{constructor(e,t,a={}){var u,h,p,y;super(e),this.geoProjectionCenter=[102.6305459723107,32.72169252326339],this.geoProjectionScale=650,this.tradeGeoProjectionCenter=[104,36],this.tradeGeoProjectionScale=11.4,this.tradeNationalDepth=.24,this.depth=.5,this.clicked=!1,this.scene.fog=new ec(466735,1,50),this.scene.background=new Tt(466735),this.camera.instance.position.copy(sd),this.camera.instance.near=1,this.camera.instance.far=1e4,this.camera.instance.updateProjectionMatrix(),this.defaultMapCameraPosition=rd.clone(),this.defaultMapTarget=id.clone(),this.camera.controls.target.copy(this.defaultMapTarget),this.camera.controls.update(),this.activeMapViewTweens=[],this.sceneTweens=[],this.sceneTimers=[],this.interactionManager=new yc(this.renderer.instance,this.camera.instance,this.canvas),this.assets=t,this.callbacks=a,this.useSatelliteBase=a.useSatelliteBase!==!1,this.showNationalBackdrop=a.showNationalBackdrop===!0,this.topicLayerPresentation=a.topicLayerPresentation||"default",this.hideTownLabelStatsByDefault=a.hideTownLabelStats===!0,this.tileUrlTemplate=a.tileUrlTemplate||"",this.usesCustomSatelliteTiles=this.useSatelliteBase&&!!this.tileUrlTemplate;const i=Math.round(Number(a.satelliteTextureZoom));this.satelliteTextureZoom=Number.isFinite(i)&&i>0?Math.min(Gn,i):Ic;const o=Math.round(Number(a.satelliteMaxZoom)),l=Number.isFinite(o)&&o>0?Math.min(Gn,Math.max(this.satelliteTextureZoom,o)):Gn;this.adminBoundaryLineScale=this.normalizeAdminBoundaryLineScale(a.adminBoundaryLineScale),this.mapBoundaryEmphasisMaterial=null,this.dynamicSatelliteMaxZoom=l,this.dynamicSatelliteTileWindow=od,this.dynamicSatelliteOverlay=null,this.dynamicSatelliteMaterial=null,this.dynamicSatelliteTexture=null,this.dynamicSatelliteCurrentKey="",this.dynamicSatelliteLoadingKey="",this.dynamicSatelliteRequestId=0,this.dynamicSatelliteLastCheck=0,this.topicLayerLoadId=0,this.visibleTopicLayers=[],this.mapAnimationComplete=!1,this.showTownRankingBars=!1,this.showTownRankingPointMarkers=!1,this.currentTownRanking=null,this.villageRankingGroup=null,this.villageRankingLabels=[],this.tradeFlowGroup=null,this.tradeFlowMeshGroup=null,this.tradeFlowLabelGroup=null,this.tradeFlowLabels=[],this.tradeFlowMaterials=[],this.tradeFlowPulseSprites=[],this.isTradeNationalMapActive=!1,this.selectedFeatureGroup=null,this.selectedVectorFeatures=[],this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.currentVectorFeatures=[],this.yakIndustryPointLabelGroup=null,this.yakIndustryPointLabels=[],this.yakIndustryPointMarkerGroup=null,this.yakIndustryPointMarkers=[],this.yakIndustryMarkerMaterialCache=new Map,this.hongyuanBoundaryPolygons=[],this.townMetaByName=new Map(As.map(g=>[dt(g.name),g])),this.staticMapData={china:Ya(this.assets.instance.getResource("china")),mapJson:Ya(this.assets.instance.getResource("mapJson")),mapStroke:Ya(this.assets.instance.getResource("mapStroke"))},this.handleCanvasBoundaryPointerDown=this.handleCanvasBoundaryPointerDown.bind(this),this.handleCanvasBoundaryDoubleClick=this.handleCanvasBoundaryDoubleClick.bind(this),(h=(u=this.canvas)==null?void 0:u.addEventListener)==null||h.call(u,"pointerdown",this.handleCanvasBoundaryPointerDown,!0),(y=(p=this.canvas)==null?void 0:p.addEventListener)==null||y.call(p,"dblclick",this.handleCanvasBoundaryDoubleClick,!0),this.initEnvironment(),this.init()}init(){this.labelGroup=new Ce,this.label3d=new vc(this),this.labelGroup.rotation.x=-Math.PI/2,this.scene.add(this.labelGroup),this.flyLineFocusGroup=new Ce,this.flyLineFocusGroup.visible=!1,this.flyLineFocusGroup.rotation.x=-Math.PI/2,this.scene.add(this.flyLineFocusGroup),this.eventElement=[],this.defaultMaterial=null,this.defaultLightMaterial=null,this.createBottomBg(),this.createChinaBlurLine(),this.createGrid(),this.createRotateBorder(),this.createLabel(),this.createMap(),this.createEvent(),this.createFlyLine(),this.createFocus(),this.createParticles(),this.createScatter(),this.createInfoPoint(),this.createStorke();let e=wa.timeline({onComplete:()=>{var a;if(this.mapAnimationComplete=!0,this.applyLayerMapView(this.currentTopicLayer,{force:!0}),this.setTradeNationalMapVisible(!!((a=this.currentTownRanking)!=null&&a.nationalFlow)),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Wa(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}});e.pause(),this.animateTl=e,e.addLabel("focusMap",1.5),e.addLabel("focusMapOpacity",2),e.addLabel("bar",3),e.to(this.camera.instance.position,{duration:2,x:this.defaultMapCameraPosition.x,y:this.defaultMapCameraPosition.y,z:this.defaultMapCameraPosition.z,ease:"circ.out",onStart:()=>{this.flyLineFocusGroup.visible=!1}}),e.to(this.focusMapGroup.position,{duration:1,x:0,y:0,z:0},"focusMap"),e.to(this.focusMapGroup.scale,{duration:1,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{if(this.flyLineGroup.visible=!0,this.scatterGroup.visible=!0,this.InfoPointGroup.visible=!Wa(this.currentTownRanking)&&this.showTownRankingPointMarkers&&this.hasTownRankingRows(),this.setTradeNationalMapVisible(!1),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Wa(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}},"focusMap"),e.to(this.focusMapTopMaterial,{duration:1,opacity:this.getFocusMapTopOpacity(),ease:"circ.out"},"focusMapOpacity"),e.to(this.focusMapSideMaterial,{duration:1,opacity:1,ease:"circ.out",onComplete:()=>{this.focusMapSideMaterial.transparent=!1}},"focusMapOpacity"),this.otherLabel.map((a,i)=>{let o=a.element.querySelector(".other-label");e.to(o,{duration:1,delay:.1*i,translateY:0,opacity:1,ease:"circ.out"},"focusMapOpacity")}),e.to(this.mapLineMaterial,{duration:.5,delay:.3,opacity:1},"focusMapOpacity"),this.mapBoundaryEmphasisMaterial&&e.to(this.mapBoundaryEmphasisMaterial,{duration:.5,delay:.3,opacity:this.getAdminBoundaryEmphasisOpacity()},"focusMapOpacity"),e.to(this.rotateBorder1.scale,{delay:.3,duration:1,x:1,y:1,z:1,ease:"circ.out"},"focusMapOpacity"),e.to(this.rotateBorder2.scale,{duration:1,delay:.5,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{var a,i;this.flyLineFocusGroup.visible=!0,(i=(a=this.callbacks).onPlayComplete)==null||i.call(a)}},"focusMapOpacity"),this.showTownRankingBars&&(this.allBar.map((a,i)=>{e.to(a.scale,{duration:1,delay:.1*i,x:1,y:1,z:1,ease:"circ.out"},"bar")}),this.allBarMaterial.map((a,i)=>{e.to(a,{duration:1,delay:.1*i,opacity:1,ease:"circ.out"},"bar")}));const t=this;this.allProvinceLabel.map((a,i)=>{let o=a.element.querySelector(".provinces-label-wrap"),l=a.element.querySelector(".number .value"),u={progress:0};e.to(o,{duration:1,delay:.2*i,translateY:0,opacity:1,ease:"circ.out"},"bar"),e.to(u,{duration:1,delay:.2*i,progress:1,onStart:()=>{u.progress=0},onUpdate:h},"bar");function h(){var y,g;const p=de((g=(y=a.userData)==null?void 0:y.targetValue)!=null?g:l.dataset.targetValue);l.innerText=t.formatMapRankingValue(p*u.progress)}}),this.showTownRankingBars&&this.allGuangquan.map((a,i)=>{e.to(a.children[0].scale,{duration:1,delay:.1*i,x:1,y:1,z:1,ease:"circ.out"},"bar"),e.to(a.children[1].scale,{duration:1,delay:.1*i,x:1,y:1,z:1,ease:"circ.out"},"bar")})}initEnvironment(){let e=new tc(13171711,4.2);this.scene.add(e);let t=new ac(14679295,5.8);t.position.set(-30,6,-8),t.castShadow=!0,t.shadow.radius=20,t.shadow.mapSize.width=1024,t.shadow.mapSize.height=1024,this.scene.add(t),this.createPointLight({color:"#1fd6df",intensity:680,distance:1e4,x:-9,y:3,z:-3}),this.createPointLight({color:"#2af0c6",intensity:260,distance:1e4,x:0,y:2,z:5})}createPointLight(e){const t=new nc(1924702,e.intensity,e.distance);t.position.set(e.x,e.y,e.z),this.scene.add(t)}createMap(){let e=new Ce,t=new Ce;this.mapGroup=e,this.focusMapGroup=t;let{china:a,chinaTopLine:i}=this.createChina(),{map:o,mapTop:l,mapLine:u,mapBoundaryEmphasis:h}=this.createProvince();this.createNationalBackdrop(),a.setParent(e),i.setParent(e),this.createDiffuse(),o.setParent(t),l.setParent(t),u.setParent(t),h==null||h.setParent(t),t.position.set(0,0,-.01),t.scale.set(1,1,0),e.add(t),this.createTopicLayer(),e.rotation.x=-Math.PI/2,e.position.set(0,.2,0),this.scene.add(e),this.createBar()}createChina(){let e={chinaBgMaterialColor:"#0d3349",lineColor:"#39c7ef"},t=this.staticMapData.china,a=new $r({color:new Tt(e.chinaBgMaterialColor),transparent:!0,opacity:.72}),i=new Oa(this,{data:t,geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,merge:!0,material:a,renderOrder:2}),o=new ga({color:e.lineColor,transparent:!0,opacity:.58}),l=new ba(this,{data:t,geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,material:o,renderOrder:3});return l.lineGroup.position.z+=.01,{china:i,chinaTopLine:l}}createNationalBackdrop(){var p;if(!this.showNationalBackdrop||this.nationalBackdropGroup)return!1;let e=null;try{e=Ya(this.assets.instance.getResource("chinaMap"))}catch(y){return console.warn("首页全国底图资源未加载",y),!1}if(!((p=e==null?void 0:e.features)!=null&&p.length))return!1;const t=this.geoProjectionCenter,a=120,i=new le(0,0,-.08),o=new $r({color:new Tt("#152c47"),transparent:!0,opacity:.72,depthWrite:!1,fog:!1,side:Ee}),l=new Oa(this,{data:e,geoProjectionCenter:t,geoProjectionScale:a,merge:!0,position:i,material:o,renderOrder:0});l.mapGroup.name="home-national-backdrop-fill",l.setParent(this.mapGroup);const u=new ga({color:new Tt("#3f82cd"),transparent:!0,opacity:.46,depthWrite:!1,fog:!1}),h=new ba(this,{data:e,geoProjectionCenter:t,geoProjectionScale:a,position:new le(i.x,i.y,i.z+.01),material:u,renderOrder:1});return h.lineGroup.name="home-national-backdrop-line",h.setParent(this.mapGroup),this.nationalBackdropGroup=l.mapGroup,this.nationalBackdropLineGroup=h.lineGroup,!0}createTradeNationalMap(){var g;if(this.tradeNationalMapGroup)return!0;let e=null;try{e=Ya(this.assets.instance.getResource("chinaMap"))}catch(w){return console.warn("牦牛交易全国地图资源未加载",w),!1}const t=e;if(!e||!((g=t==null?void 0:t.features)!=null&&g.length))return!1;const a=new Ce;a.name="trade-national-map",a.visible=!1,a.rotation.x=-Math.PI/2,a.position.set(0,.04,0);const i=new ke({color:403001,transparent:!0,opacity:.14,side:Ee,depthWrite:!1,fog:!1});new Oa(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,position:new le(.05,-.05,-.03),material:i,renderOrder:17}).setParent(a);const{topMaterial:l,sideMaterial:u}=this.createTradeNationalMaterials(),h=new Fs(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,position:new le(0,0,0),depth:this.tradeNationalDepth,topFaceMaterial:l,sideMaterial:u,renderOrder:20,bevelThickness:.024,bevelSegments:1});h.mapGroup.traverse(w=>{w.isMesh&&(w.renderOrder=20)}),h.setParent(a);const p=new ga({color:4777983,transparent:!0,opacity:.52,fog:!1,depthTest:!1}),y=new ba(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,material:p,renderOrder:21});return y.lineGroup.position.z+=this.tradeNationalDepth+.055,y.setParent(a),this.scene.add(a),this.tradeNationalMapGroup=a,this.createTradeNationalLabels(t),!0}createTradeNationalMaterials(){const e=new xn({color:16777215,transparent:!0,opacity:.54,roughness:.84,metalness:.08,side:Ee,fog:!1});new Rn(e,{uColor1:827317,uColor2:403515,size:6.8,dir:"x"});const t=this.assets.instance.getResource("side").clone();t.wrapS=ct,t.wrapT=ct,t.repeat.set(1,1.2),t.needsUpdate=!0;const a=new xn({color:1485501,map:t,transparent:!0,opacity:.58,roughness:.78,metalness:.04,side:Ee,fog:!1});return new Rn(a,{uColor1:1354174,uColor2:134940,size:Math.max(this.tradeNationalDepth,.1),dir:"y"}),this.time.on("tick",()=>{t.offset.y+=.004}),{topMaterial:e,sideMaterial:a}}createTradeNationalLabels(e){this.tradeNationalLabelGroup=new Ce,this.tradeNationalLabelGroup.name="trade-national-label",this.tradeNationalLabelGroup.rotation.x=-Math.PI/2,this.tradeNationalLabelGroup.visible=!1,this.scene.add(this.tradeNationalLabelGroup),this.tradeNationalLabels=[],this.tradeProvinceCenterByName=new Map;const t=new Set(["四川","青海","甘肃","陕西","重庆","云南","西藏","新疆"]);(e.features||[]).forEach(a=>{var h;const i=((h=a.properties)==null?void 0:h.name)||"",o=this.normalizeTradeProvinceName(i),l=this.getFeatureCenterLngLat(a);if(!l||(this.tradeProvinceCenterByName.set(o,l),!t.has(o)))return;const u=this.label3d.create("","trade-national-label",!0);u.init(`
    ${Pe(o)}
    `,this.getTradeLocalPoint(l.lng,l.lat,.82)),this.label3d.setLabelStyle(u,.012,"x"),u.setParent(this.tradeNationalLabelGroup),u.visible=!0,this.tradeNationalLabels.push(u)})}normalizeTradeProvinceName(e=""){return String(e).replace(/省|市|自治区|壮族|回族|维吾尔|特别行政区/g,"").replace(/区$/,"").trim()}getFeatureCenterLngLat(e){var o,l,u;const t=((o=e==null?void 0:e.properties)==null?void 0:o.cp)||((l=e==null?void 0:e.properties)==null?void 0:l.centroid)||((u=e==null?void 0:e.properties)==null?void 0:u.center);if(Array.isArray(t)&&Number.isFinite(Number(t[0]))&&Number.isFinite(Number(t[1])))return{lng:Number(t[0]),lat:Number(t[1])};const a=this.getGeometryCoordinateList(e==null?void 0:e.geometry);if(!a.length)return null;const i=a.reduce((h,p)=>({minLng:Math.min(h.minLng,Number(p[0])),maxLng:Math.max(h.maxLng,Number(p[0])),minLat:Math.min(h.minLat,Number(p[1])),maxLat:Math.max(h.maxLat,Number(p[1]))}),{minLng:1/0,maxLng:-1/0,minLat:1/0,maxLat:-1/0});return{lng:(i.minLng+i.maxLng)/2,lat:(i.minLat+i.maxLat)/2}}isHomeTopicPresentation(){return this.topicLayerPresentation==="home"}createProvince(){let e=this.staticMapData.mapJson;this.mapJsonData=e;const t=this.useSatelliteBase?$s({geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,zoom:this.satelliteTextureZoom,tileUrlTemplate:this.tileUrlTemplate,onTileStatus:g=>{var w,C;return(C=(w=this.callbacks).onTileStatus)==null?void 0:C.call(w,g)}}):null;t!=null&&t.texture&&this.enhanceTexture(t.texture);let[a,i]=this.createProvinceMaterial();this.focusMapTopMaterial=a,this.focusMapSideMaterial=i;let o=new Fs(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new le(0,0,.11),data:e,depth:this.depth,topFaceMaterial:a,sideMaterial:i,renderOrder:9}),l=new xn({color:this.useSatelliteBase?16777215:13172735,map:(t==null?void 0:t.texture)||null,transparent:!0,opacity:this.useSatelliteBase?this.usesCustomSatelliteTiles?1:.94:this.isHomeTopicPresentation()?.58:.88,roughness:this.useSatelliteBase?this.usesCustomSatelliteTiles?.7:.82:.66,metalness:this.useSatelliteBase?0:.08});this.usesCustomSatelliteTiles||new Rn(l,{uColor1:this.useSatelliteBase?1629410:this.isHomeTopicPresentation()?683906:1227744,uColor2:this.useSatelliteBase?757673:this.isHomeTopicPresentation()?406090:38069,size:this.useSatelliteBase?15:8.6}),this.defaultMaterial=l,this.defaultLightMaterial=this.defaultMaterial.clone(),this.defaultLightMaterial.color=new Tt("rgba(128,244,255,1)"),this.defaultLightMaterial.opacity=.9;let u=new Oa(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new le(0,0,this.depth+.22),data:e,material:l,renderOrder:this.usesCustomSatelliteTiles?14:8});this.satelliteMapTop=u,this.satelliteMaterial=l,t!=null&&t.uvBounds&&Es(u,t.uvBounds),u.mapGroup.children.map(g=>{g.children.map(w=>{w.type==="Mesh"&&this.eventElement.push(w)})}),this.mapLineMaterial=new ga({color:12254463,opacity:0,transparent:!0,linewidth:this.adminBoundaryLineScale,fog:!1});let h=new ba(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:e,material:this.mapLineMaterial,renderOrder:this.isHomeTopicPresentation()?34:26});h.lineGroup.position.z+=this.depth+(this.isHomeTopicPresentation()?.315:.285);let p=null;const y=this.getAdminBoundaryEmphasisRadius();return y>0&&(this.mapBoundaryEmphasisMaterial=new ke({color:9632767,transparent:!0,opacity:0,depthTest:!1,depthWrite:!1,fog:!1,blending:Ve}),p=new ba(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:e,material:this.mapBoundaryEmphasisMaterial,renderOrder:this.usesCustomSatelliteTiles?24:18,type:"Line3",tubeRadius:y}),p.lineGroup.position.z+=this.depth+.255),{map:o,mapTop:u,mapLine:h,mapBoundaryEmphasis:p}}normalizeAdminBoundaryLineScale(e){const t=Number(e);return Number.isFinite(t)?Math.min(4,Math.max(1,t)):1}getAdminBoundaryEmphasisRadius(){return this.adminBoundaryLineScale<=1?0:Math.min(.04,.011*this.adminBoundaryLineScale)}getAdminBoundaryEmphasisOpacity(){return this.adminBoundaryLineScale<=1?0:Math.min(.5,.2+this.adminBoundaryLineScale*.08)}createTopicLayer(){if(!this.mapJsonData)return;this.initHongyuanBoundaryPolygons();const e=document.createElement("canvas");e.width=St.width,e.height=St.height;const t=e.getContext("2d");t.clearRect(0,0,e.width,e.height);const a=new jr(e);a.colorSpace=Ta,a.wrapS=zn,a.wrapT=zn,a.minFilter=ja,a.magFilter=ja,this.enhanceTexture(a),a.needsUpdate=!0;const i=new ke({map:a,transparent:!0,opacity:0,depthWrite:!1,depthTest:!this.isHomeTopicPresentation(),side:Ee,fog:!1}),o=this.createLayerUvBounds(),l=new Oa(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new le(0,0,this.depth+(this.isHomeTopicPresentation()?.272:.255)),data:this.mapJsonData,material:i,renderOrder:this.isHomeTopicPresentation()?24:18});Es(l,o),l.setParent(this.focusMapGroup),this.topicLayerUvBounds=o,this.topicLayerCanvas=e,this.topicLayerContext=t,this.topicLayerTexture=a,this.topicLayerMaterial=i,this.topicLayerMap=l}initHongyuanBoundaryPolygons(){var t,a,i;if((t=this.hongyuanBoundaryPolygons)!=null&&t.length)return;const e=this.staticMapData.mapStroke;this.hongyuanBoundaryPolygons=Js((i=(a=e==null?void 0:e.features)==null?void 0:a[0])==null?void 0:i.geometry)}createSelectedFeatureGroup(){var e;this.selectedFeatureGroup||(this.selectedFeatureGroup=new Ce,this.selectedFeatureGroup.name="selected-feature-highlight",this.selectedFeatureGroup.position.z=this.depth+.31,(e=this.focusMapGroup)==null||e.add(this.selectedFeatureGroup))}createLayerUvBounds(){const e=sa().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),[t]=e([q.west,q.south]),[a]=e([q.east,q.south]),[,i]=e([q.west,q.north]),[,o]=e([q.west,q.south]);return{left:t,right:a,bottom:-o,top:-i}}setTopicLayer(e){var a,i;if(!e||!this.topicLayerContext||!this.topicLayerTexture)return;this.currentTopicLayer=e,this.visibleTopicLayers=[e],this.clearSelectedFeature(),this.applyLayerMapView(e);const t=++this.topicLayerLoadId;if(this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(i=(a=this.callbacks).onLayerStatus)==null||i.call(a,{type:"loading",text:`正在加载 ${e.name}`}),An(e)){this.loadVectorTopicLayer(e,t);return}this.loadTopicLayerImage(e).then(o=>{var l,u,h,p;if(t===this.topicLayerLoadId){if(!(o!=null&&o.image)){this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(u=(l=this.callbacks).onLayerStatus)==null||u.call(l,{type:"error",text:"GeoServer 图层加载失败"});return}this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.drawTopicRasterImage(o.image,o.layer||e),this.topicLayerTexture.needsUpdate=!0,this.updateTopicLayerTextureSampling(e),this.topicLayerMaterial.opacity=this.getTopicLayerMaterialOpacity(e,.84),(p=(h=this.callbacks).onLayerStatus)==null||p.call(h,{type:"success",text:"GeoServer 图层已加载"})}}).catch(()=>{var o,l;t===this.topicLayerLoadId&&(this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(l=(o=this.callbacks).onLayerStatus)==null||l.call(o,{type:"error",text:"GeoServer 图层加载失败"}))})}setTopicLayers(e=[],t=e[0]){var o,l,u,h;if(!this.topicLayerContext||!this.topicLayerTexture)return;const a=e.filter(Boolean);if(!a.length){this.topicLayerLoadId+=1,this.visibleTopicLayers=[],this.currentTopicLayer=null,this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.clearSelectedFeature(),this.applyLayerMapView(null),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(l=(o=this.callbacks).onLayerStatus)==null||l.call(o,{type:"success",text:"图层已关闭"});return}if(a.length===1){this.setTopicLayer(I(I({},a[0]),(t==null?void 0:t.key)===a[0].key?t:{}));return}this.currentTopicLayer=t||a[a.length-1],this.visibleTopicLayers=a,this.clearSelectedFeature(),this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.applyLayerMapView(this.currentTopicLayer);const i=++this.topicLayerLoadId;this.currentVectorFeatures=[],this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(h=(u=this.callbacks).onLayerStatus)==null||h.call(u,{type:"loading",text:`正在加载 ${a.length} 个地图图层`}),Promise.all(a.map(p=>this.loadCompositeTopicLayerItem(p))).then(p=>{var w,C,F;if(i!==this.topicLayerLoadId)return;const y=p.filter(Boolean),g=y.find(x=>{var G,H;return x.type==="vector"&&((G=x.layer)==null?void 0:G.key)===((H=this.currentTopicLayer)==null?void 0:H.key)});this.currentVectorFeatures=((w=g==null?void 0:g.geojson)==null?void 0:w.features)||[],this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),y.forEach((x,G)=>{var H,J;if(x.type==="image"){this.topicLayerContext.save();const ne=G===y.length-1?Math.max(.78,(H=x.layer.opacity)!=null?H:.9):Math.min(.52,(J=x.layer.opacity)!=null?J:.52);this.topicLayerContext.globalAlpha=Math.min(1,Math.max(.28,ne)),this.drawTopicRasterImage(x.image,x.layer),this.topicLayerContext.restore();return}this.drawVectorTopicLayer(x.layer,x.geojson.features||[],{clear:!1})}),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0,this.updateTopicLayerTextureSampling(this.currentTopicLayer),this.topicLayerMaterial.opacity=y.length?this.getTopicLayerMaterialOpacity(this.currentTopicLayer,1):0,(F=(C=this.callbacks).onLayerStatus)==null||F.call(C,{type:y.length?"success":"error",text:y.length?`已加载 ${y.length} 个地图图层`:"地图图层加载失败"})})}loadCompositeTopicLayerItem(e){return oe(this,null,function*(){if(An(e))try{const t=yield this.fetchVectorLayerGeojson(e);return{type:"vector",layer:e,geojson:t}}catch(t){return null}return this.loadTopicLayerImage(e).then(t=>t?I({type:"image"},t):null)})}loadTopicLayerImage(e){return Ks(e)?this.loadWmtsTopicLayerImage(e):new Promise(t=>{const a=new Image;a.crossOrigin="anonymous",a.onload=()=>t({image:a,layer:e}),a.onerror=()=>t(null),a.src=ed(e)})}loadWmtsTopicLayerImage(e){return oe(this,null,function*(){const t=document.createElement("canvas");t.width=St.width,t.height=St.height;const a=t.getContext("2d");if(!a)return null;a.clearRect(0,0,t.width,t.height);const i=this.getWmtsTopicZoom(e),o=Array.isArray(e==null?void 0:e.bounds)&&e.bounds.length>=4?e.bounds.map(Number):null,l=o!=null&&o.every(Number.isFinite)?{west:o[0],south:o[1],east:o[2],north:o[3]}:q,u=yd(l,i),h=[];for(let w=u.minX;w<=u.maxX;w+=1)for(let C=u.minY;C<=u.maxY;C+=1)h.push({x:w,y:C});let p=0,y=0;const g=()=>oe(this,null,function*(){for(;y0&&(a.save(),a.globalAlpha=.58,a.filter=`blur(${u}px)`,a.drawImage(i,0,0),a.restore()),l>0){const y=[[-l,0],[l,0],[0,-l],[0,l],[-l,-l],[l,-l],[-l,l],[l,l]];a.save(),a.globalAlpha=.72,y.forEach(([g,w])=>a.drawImage(i,g,w)),a.restore()}a.drawImage(i,0,0)}getWmtsTopicZoom(e={}){var l,u,h;const t=Math.round(Number(e.maximumLevel)),a=Number.isFinite(t)&&t>0?t:21,i=Number((h=(u=(l=e.homeWmtsZoom)!=null?l:e.wmtsZoom)!=null?u:e.tileZoom)!=null?h:this.satelliteTextureZoom),o=Number.isFinite(i)&&i>0?Math.round(i):11;return na(o,3,Math.min(a,Gn))}updateTopicLayerTextureSampling(e={}){if(!this.topicLayerTexture)return;const t=Ks(e)?Ss:ja;this.topicLayerTexture.minFilter=t,this.topicLayerTexture.magFilter=t,this.topicLayerTexture.needsUpdate=!0}drawTopicRasterImage(e,t={}){const a=this.topicLayerCanvas,i=this.topicLayerContext;if(!a||!i)return;if(!t.softMask){this.drawHomeTopicRasterGlow(e,t),i.drawImage(e,0,0,a.width,a.height);return}const o=Math.min(1,Math.max(.08,Number(t.softMaskScale)||.18)),l=document.createElement("canvas");l.width=Math.max(96,Math.round(a.width*o)),l.height=Math.max(96,Math.round(a.height*o));const u=l.getContext("2d");if(!u){i.drawImage(e,0,0,a.width,a.height);return}u.clearRect(0,0,l.width,l.height),u.imageSmoothingEnabled=!0,u.imageSmoothingQuality="high",u.drawImage(e,0,0,l.width,l.height),i.save(),i.imageSmoothingEnabled=!0,i.imageSmoothingQuality="high",i.drawImage(l,0,0,a.width,a.height),i.restore()}drawHomeTopicRasterGlow(e,t={}){var h,p;if(!this.isHomeTopicPresentation())return;const a=this.topicLayerCanvas,i=this.topicLayerContext;if(!a||!i)return;const o=na((h=t.homeGlowOpacity)!=null?h:0,0,.8),l=na((p=t.homeGlowBlur)!=null?p:0,0,32);if(!o||!l)return;const u=t.homeGlowColor||"#E5FCFF";i.save(),i.globalAlpha=o,i.filter=`drop-shadow(0 0 ${l}px ${u})`,i.drawImage(e,0,0,a.width,a.height),i.restore()}applyLayerMapView(e,t={}){var h,p;if(!((h=this.camera)!=null&&h.instance)||!((p=this.camera)!=null&&p.controls)||!this.mapAnimationComplete&&!t.force)return;const a=e?null:this.currentTownRanking,i=(e==null?void 0:e.mapView)||(e!=null&&e.cameraPosition?{cameraPosition:e.cameraPosition}:null)||(a==null?void 0:a.mapView)||(a!=null&&a.cameraPosition?{cameraPosition:a.cameraPosition}:null),o=i?this.getLayerMapViewTarget(i):this.defaultMapTarget.clone(),l=i?this.getLayerMapViewCameraPosition(i,o):this.defaultMapCameraPosition.clone(),u=i&&Number.isFinite(i.duration)?i.duration:.75;this.animateMapCamera(l,o,u)}getFocusMapTopOpacity(){return this.useSatelliteBase?this.usesCustomSatelliteTiles?.16:1:.78}getTopicLayerMaterialOpacity(e,t=.84){const a=Number(e==null?void 0:e.opacity),i=Number.isFinite(a)?a:t;if(!this.isHomeTopicPresentation())return i;const o=Number(e==null?void 0:e.homePresentationMaxOpacity),l=Number.isFinite(o)?o:.56;return na(i,0,l)}getDynamicSatelliteZoom(e){return this.usesCustomSatelliteTiles?e<=4.2?Math.min(this.dynamicSatelliteMaxZoom,21):e<=6.4?Math.min(this.dynamicSatelliteMaxZoom,19):e<=8.4?Math.min(this.dynamicSatelliteMaxZoom,17):e<=11?Math.min(this.dynamicSatelliteMaxZoom,15):e<=14.5?Math.min(this.dynamicSatelliteMaxZoom,13):e<=18?Math.min(this.dynamicSatelliteMaxZoom,11):this.satelliteTextureZoom:this.satelliteTextureZoom}getCameraTargetLngLat(){var o,l,u,h,p,y,g;const e=(h=(u=(l=(o=this.camera)==null?void 0:o.controls)==null?void 0:l.target)==null?void 0:u.clone)==null?void 0:h.call(u);if(!e)return[102.58,32.72];(y=(p=this.focusMapGroup)==null?void 0:p.updateWorldMatrix)==null||y.call(p,!0,!1);const t=this.focusMapGroup?this.focusMapGroup.worldToLocal(e):e,a=sa().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),i=((g=a.invert)==null?void 0:g.call(a,[t.x,-t.y]))||[102.58,32.72];return[Math.max(q.west,Math.min(q.east,Number(i[0])||102.58)),Math.max(q.south,Math.min(q.north,Number(i[1])||32.72))]}getDynamicSatelliteTileWindow(e){return e>=21?3:e>=19?5:e>=17?7:e>=15?this.dynamicSatelliteTileWindow:e>=13?Math.min(11,this.dynamicSatelliteTileWindow+2):Math.min(11,this.dynamicSatelliteTileWindow+2)}getDynamicSatelliteKey(e,t){return t?`${e}:${t.minX}-${t.maxX}:${t.minY}-${t.maxY}`:""}updateDynamicSatelliteTiles(e=!1){if(!this.usesCustomSatelliteTiles||!this.mapAnimationComplete)return;const t=Date.now();if(!e&&t-this.dynamicSatelliteLastCheck{var h,p,y,g,w;if((y=(p=this.callbacks).onTileStatus)==null||y.call(p,E(I({},u),{text:((h=u.text)==null?void 0:h.replace("影像底图","高清影像底图"))||u.text})),u.type!=="loading"){if(o!==this.dynamicSatelliteRequestId){(w=(g=l==null?void 0:l.texture)==null?void 0:g.dispose)==null||w.call(g);return}if(this.dynamicSatelliteLoadingKey="",Number(u.loaded||0)<=0){this.dynamicSatelliteCurrentKey===i&&this.hideDynamicSatelliteOverlay();return}this.applyDynamicSatelliteOverlay(l,i)}}}),this.applyDynamicSatelliteOverlay(l,i)}ensureDynamicSatelliteOverlay(){var a;if(this.dynamicSatelliteOverlay)return;const e=new ke({transparent:!0,opacity:0,depthWrite:!1,depthTest:!0,side:Ee,fog:!1}),t=new Qe(new Ht(1,1),e);t.name="dynamic-satellite-overlay",t.renderOrder=15,t.visible=!1,t.position.z=this.depth+.248,(a=this.focusMapGroup)==null||a.add(t),this.dynamicSatelliteOverlay=t,this.dynamicSatelliteMaterial=e}applyDynamicSatelliteOverlay(e,t){var l,u;if(!(e!=null&&e.texture)||!(e!=null&&e.uvBounds))return;this.ensureDynamicSatelliteOverlay();const a=e.uvBounds,i=Math.max(1e-4,a.right-a.left),o=Math.max(1e-4,a.top-a.bottom);this.dynamicSatelliteOverlay.position.set((a.left+a.right)/2,(a.bottom+a.top)/2,this.depth+.248),this.dynamicSatelliteOverlay.scale.set(i,o,1),this.dynamicSatelliteOverlay.visible=!0,this.dynamicSatelliteTexture&&this.dynamicSatelliteTexture!==e.texture&&((u=(l=this.dynamicSatelliteTexture).dispose)==null||u.call(l)),this.dynamicSatelliteTexture=e.texture,this.dynamicSatelliteMaterial.map=e.texture,this.dynamicSatelliteMaterial.opacity=1,this.dynamicSatelliteMaterial.needsUpdate=!0,this.dynamicSatelliteCurrentKey=t}hideDynamicSatelliteOverlay(){this.dynamicSatelliteOverlay&&(this.dynamicSatelliteOverlay.visible=!1),this.dynamicSatelliteLoadingKey&&(this.dynamicSatelliteRequestId+=1,this.dynamicSatelliteLoadingKey=""),this.dynamicSatelliteCurrentKey=""}ensureMapRevealed(){var e,t,a,i,o;if(!this.mapAnimationComplete){if((t=(e=this.animateTl)==null?void 0:e.progress)==null||t.call(e,1,!1),(i=(a=this.animateTl)==null?void 0:a.pause)==null||i.call(a),this.mapAnimationComplete=!0,this.focusMapGroup&&(this.focusMapGroup.position.set(0,0,0),this.focusMapGroup.scale.set(1,1,1)),this.focusMapTopMaterial&&(this.focusMapTopMaterial.opacity=this.getFocusMapTopOpacity()),this.focusMapSideMaterial&&(this.focusMapSideMaterial.opacity=1,this.focusMapSideMaterial.transparent=!1),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=!0),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!0),this.scatterGroup&&(this.scatterGroup.visible=!0),this.InfoPointGroup&&(this.InfoPointGroup.visible=this.showTownRankingPointMarkers&&this.hasTownRankingRows()),this.applyLayerMapView(this.currentTopicLayer,{force:!0}),this.updateDynamicSatelliteTiles(!0),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Wa(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.setTradeNationalMapVisible(!!((o=this.currentTownRanking)!=null&&o.nationalFlow)),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}}getLayerMapViewTarget(e){var t;return e!=null&&e.targetLngLat?this.lngLatToWorldPoint(e.targetLngLat,(t=e.targetLocalZ)!=null?t:.72):e!=null&&e.target?this.toVector3(e.target,this.defaultMapTarget):this.defaultMapTarget.clone()}getLayerMapViewCameraPosition(e,t){if(e!=null&&e.cameraPosition)return this.toVector3(e.cameraPosition,this.defaultMapCameraPosition);const a=Number.isFinite(e==null?void 0:e.distanceScale)?e.distanceScale:1,i=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(a),o=t.clone().add(i);return e!=null&&e.cameraOffset&&o.add(this.toVector3(e.cameraOffset,new le(0,0,0))),o}lngLatToWorldPoint(e,t=0){const a=Array.isArray(e)?e:[e==null?void 0:e.lng,e==null?void 0:e.lat],i=Number(a==null?void 0:a[0]),o=Number(a==null?void 0:a[1]);if(!Number.isFinite(i)||!Number.isFinite(o))return this.defaultMapTarget.clone();const[l,u]=this.geoProjection([i,o]),h=new le(l,-u,Number(t)||0);return this.focusMapGroup?this.focusMapGroup.localToWorld(h):h}toVector3(e,t){if(Array.isArray(e)){const[l,u,h]=e.map(Number);return[l,u,h].every(Number.isFinite)?new le(l,u,h):t.clone()}const a=Number(e==null?void 0:e.x),i=Number(e==null?void 0:e.y),o=Number(e==null?void 0:e.z);return[a,i,o].every(Number.isFinite)?new le(a,i,o):t.clone()}animateMapCamera(e,t,a=.75){this.activeMapViewTweens.forEach(l=>{var u;return(u=l==null?void 0:l.kill)==null?void 0:u.call(l)}),this.activeMapViewTweens=[];const i=this.camera.controls,o=()=>i.update();this.activeMapViewTweens.push(wa.to(this.camera.instance.position,{duration:a,x:e.x,y:e.y,z:e.z,ease:"power2.out",onUpdate:o}),wa.to(i.target,{duration:a,x:t.x,y:t.y,z:t.z,ease:"power2.out",onUpdate:o}))}addSceneTween(e){var t;return e&&(this.sceneTweens.push(e),this.scenePaused&&((t=e.pause)==null||t.call(e)),e)}addSceneTimer(e){return e&&this.sceneTimers.push(e),e}focusTownByName(e,t={}){var u,h,p;const a=this.townMetaByName.get(dt(e)),i=t.select?this.selectTownFeatureByName(e,t):!1;if(t.preserveCamera)return i||!!(a!=null&&a.center);if(!(a!=null&&a.center))return i;const o=this.lngLatToWorldPoint(a.center,(u=t.targetLocalZ)!=null?u:.82),l=this.getLayerMapViewCameraPosition({distanceScale:(h=t.distanceScale)!=null?h:.82,cameraOffset:t.cameraOffset||{x:0,y:1.2,z:0}},o);return this.animateMapCamera(l,o,(p=t.duration)!=null?p:.75),!0}isNationalParkTownSelectionActive(){var e;return((e=this.currentTopicLayer)==null?void 0:e.key)==="national-park-zoning"&&this.getTownRankingMeta().onlyRankedTownLabels}getTownNameFromMapEvent(e){var a,i,o,l,u,h,p,y,g,w;return[(o=(i=(a=e==null?void 0:e.target)==null?void 0:a.parent)==null?void 0:i.userData)==null?void 0:o.name,(u=(l=e==null?void 0:e.target)==null?void 0:l.userData)==null?void 0:u.name,(y=(p=(h=e==null?void 0:e.target)==null?void 0:h.parent)==null?void 0:p.userData)==null?void 0:y.townName,(w=(g=e==null?void 0:e.target)==null?void 0:g.userData)==null?void 0:w.townName].find(C=>String(C||"").trim())||""}findTownFeatureByName(e){var i,o,l,u;const t=dt(e);if(!t)return null;const a=(((i=this.mapJsonData)==null?void 0:i.features)||((l=(o=this.staticMapData)==null?void 0:o.mapJson)==null?void 0:l.features)||[]).find(h=>{const p=(h==null?void 0:h.properties)||{};return[p.name,p.fullName,p.full_name,p.townName].some(g=>dt(g)===t)});return a!=null&&a.geometry?{type:"Feature",properties:E(I({},a.properties||{}),{name:((u=a.properties)==null?void 0:u.name)||e,feature_role:"乡镇范围"}),geometry:a.geometry}:null}selectTownFeatureByName(e,t={}){var i,o,l,u,h;const a=this.findTownFeatureByName(e);return a?(this.showSelectedFeature(a,{mode:"town"}),t.silentStatus!==!0&&((h=(u=this.callbacks).onLayerStatus)==null||h.call(u,{type:"success",text:t.statusText||`已选中${((l=a.properties)==null?void 0:l.name)||e}`})),!0):(t.showMissingStatus!==!1&&((o=(i=this.callbacks).onLayerStatus)==null||o.call(i,{type:"warning",text:"未找到对应乡镇边界"})),!1)}handleTownRankingSelect(e,t={}){var u,h;if(!this.isNationalParkTownSelectionActive())return!1;const a=dt(e);if(!a||!this.getTownRankingRows(this.currentTownRanking,Number.POSITIVE_INFINITY,!1).some(p=>dt(p.name)===a))return!1;const l=this.focusTownByName(e,I({select:!0,preserveCamera:!0,statusText:`已选中${e}`},t));return l&&((h=(u=this.callbacks).onFeatureInfo)==null||h.call(u,{feature:null})),l}focusYakIndustryPoint(e={}){var o,l;const t=this.getYakIndustryPayloadCoordinate(e);if(!t)return(l=(o=this.callbacks).onLayerStatus)==null||l.call(o,{type:"warning",text:"当前主体暂无可定位坐标"}),{focused:!1,screen:null};const a=this.findYakIndustryPointFeature(e,t);return a?this.setSelectedVectorFeatures([a]):this.clearSelectedFeature(),{focused:this.flyToLngLat(t,{span:.035,duration:.72,statusText:"已定位产业主体"}),screen:this.getYakIndustryPointScreen(e),feature:a}}focusVectorFeature(e={}){var p,y;const t=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),a=String(e.id||e.key||""),i=String(e.fullName||e.name||"").trim(),o=t.find(g=>{const w=(g==null?void 0:g.properties)||{};return a&&String(w.id||"")===a||i&&String(w.name||w.plot_name||"").trim()===i});if(!o)return(y=(p=this.callbacks).onLayerStatus)==null||y.call(p,{type:"warning",text:"当前图斑尚未加载"}),{focused:!1,screen:null,feature:null};this.setSelectedVectorFeatures([o]);const l=this.getGeometryLngLatBounds(o.geometry);if(!l)return{focused:!1,screen:null,feature:o};const u=[(l.minLng+l.maxLng)/2,(l.minLat+l.maxLat)/2];return{focused:this.flyToLngLat(u,{span:Math.max(l.maxLng-l.minLng,l.maxLat-l.minLat),duration:.75,statusText:"已定位种草图斑"}),screen:this.getVectorFeatureScreen(o),feature:o}}getVectorFeatureScreen(e={}){let t=(e==null?void 0:e.feature)||e;if(!(t!=null&&t.geometry)){const o=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),l=String((e==null?void 0:e.id)||(e==null?void 0:e.key)||"");t=o.find(u=>{var h;return String(((h=u==null?void 0:u.properties)==null?void 0:h.id)||"")===l})||null}const a=this.getGeometryLngLatBounds(t==null?void 0:t.geometry);if(!a)return null;const i=[(a.minLng+a.maxLng)/2,(a.minLat+a.maxLat)/2];return this.lngLatToLayerScreenPoint(i,this.depth+.34)||this.lngLatToScreenPoint(i,this.depth+.32)}getYakIndustryPointScreen(e={}){const t=this.getYakIndustryPayloadCoordinate(e);return t?this.lngLatToLayerScreenPoint(t,this.depth+.36)||this.lngLatToScreenPoint(t,this.depth+.32):null}getYakIndustryPayloadCoordinate(e={}){var o,l,u,h,p;const t=((o=e.geometry)==null?void 0:o.coordinates)||e.coordinates,a=Number((u=(l=e.longitude)!=null?l:e.lng)!=null?u:t==null?void 0:t[0]),i=Number((p=(h=e.latitude)!=null?h:e.lat)!=null?p:t==null?void 0:t[1]);return!Number.isFinite(a)||!Number.isFinite(i)?null:[a,i]}findYakIndustryPointFeature(e={},t=this.getYakIndustryPayloadCoordinate(e)){const a=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),i=String(e.id||e.key||""),o=String(e.fullName||e.name||"").trim(),l=String(e.stageKey||""),u=t&&a.find(p=>{var g;if(((g=p==null?void 0:p.geometry)==null?void 0:g.type)!=="Point")return!1;const y=p.properties||{};return l&&String(y.stageKey||"")!==l?!1:this.getCoordinateDistance(p.geometry.coordinates,t)<=8e-4})||null;if(e.preferCoordinateMatch)return u;const h=a.find(p=>{const y=(p==null?void 0:p.properties)||{};return!!(i&&String(y.id||"")===i||o&&String(y.name||y.fullName||"").trim()===o)});return h||u}loadVectorTopicLayer(e,t){return oe(this,null,function*(){var a,i,o,l;try{const u=yield this.fetchVectorLayerGeojson(e);if(t!==this.topicLayerLoadId)return;this.currentVectorFeatures=u.features||[],this.drawVectorTopicLayer(e,this.currentVectorFeatures),this.updateYakIndustryPointMarkers(e,this.currentVectorFeatures),this.updateYakIndustryPointLabels(e,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=this.getTopicLayerMaterialOpacity(e,.9),(i=(a=this.callbacks).onLayerStatus)==null||i.call(a,{type:"success",text:"真实矢量图层已加载"})}catch(u){if(t!==this.topicLayerLoadId)return;this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(l=(o=this.callbacks).onLayerStatus)==null||l.call(o,{type:"error",text:"真实矢量图层加载失败"})}})}fetchVectorLayerGeojson(e){return oe(this,null,function*(){var o,l;if(e.sourceType==="geojson"){if(((o=e.geojsonData)==null?void 0:o.type)==="FeatureCollection")return e.geojsonData;const u=yield fetch(Qs(e.dataPath),{credentials:"include"});if(!u.ok)throw new Error(`HTTP ${u.status}`);return yield u.json()}if(e.sourceType==="wfs"){const u=yield Ds(e.layerName,{cqlFilter:e.cqlFilter,maxFeatures:e.maxFeatures||1200,timeout:e.timeout||18e3});return(u==null?void 0:u.type)==="FeatureCollection"?u:{type:"FeatureCollection",features:(u==null?void 0:u.features)||[]}}let t=[],a=null;try{const u=yield fetch(e.apiUrl,{credentials:"include"});if(!u.ok)throw new Error(`HTTP ${u.status}`);const h=yield u.json();t=Array.isArray(h==null?void 0:h.data)?h.data:Array.isArray((l=h==null?void 0:h.data)==null?void 0:l.rows)?h.data.rows:[]}catch(u){a=u}let i=this.buildWktLayerFeatures(t);if((!t.length||!i.length)&&e.fallbackPath){const u=yield fetch(Qs(e.fallbackPath),{credentials:"include"});if(!u.ok)throw a||new Error(`HTTP ${u.status}`);const h=yield u.json();t=Array.isArray(h==null?void 0:h.rows)?h.rows:[],i=this.buildWktLayerFeatures(t)}return{type:"FeatureCollection",features:i}})}buildWktLayerFeatures(e=[]){return(e||[]).map(t=>({type:"Feature",properties:{id:t.id,type:t.type,totalAcreage:t.totalAcreage,cdAcreage:t.cdAcreage,sdAcreage:t.sdAcreage,cdScl:t.cdScl,sdScl:t.sdScl},geometry:this.parseWktGeometry(this.pickWktValue(t))})).filter(t=>t.geometry)}pickWktValue(e={}){return e.wkt||e.WKT||e.geom||e.geometry||e.the_geom||e.theGeom||e.shape||e.Shape}drawVectorTopicLayer(e,t,a={}){const i=this.topicLayerContext;a.clear!==!1&&i.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),i.save(),i.lineJoin="round",i.lineCap="round",this.clipVectorLayerContext(i,e);const l=this.getVisibleVectorFeatures(e,t).filter(u=>{var h;return!(e!=null&&e.hidePointFeatures)||((h=u==null?void 0:u.geometry)==null?void 0:h.type)!=="Point"}).sort((u,h)=>{var g,w;const p=this.getGeometryDrawRank((g=u.geometry)==null?void 0:g.type),y=this.getGeometryDrawRank((w=h.geometry)==null?void 0:w.type);return p-y});l.forEach(u=>{const h=this.getVectorFeatureStyle(e,u);this.drawVectorFeature(i,u.geometry,h)}),this.drawNationalParkBoundaryOverlay(i,e,l),this.drawSelectedVectorOverlay(i),i.restore()}drawNationalParkBoundaryOverlay(e,t,a=[]){(t==null?void 0:t.key)!=="national-park-zoning"||!a.length||a.forEach(i=>{const o=this.getVectorFeatureStyle(t,i);this.drawVectorFeature(e,i.geometry,E(I({},o),{fill:"#071A20",stroke:"#071A20",polygonAlpha:0,lineAlpha:.34,lineWidth:7,glow:!0})),this.drawVectorFeature(e,i.geometry,E(I({},o),{fill:"#E7FFF6",stroke:"#E7FFF6",polygonAlpha:0,lineAlpha:.68,lineWidth:2.1,glow:!1})),this.drawVectorFeature(e,i.geometry,E(I({},o),{fill:o.stroke,stroke:o.stroke,polygonAlpha:0,lineAlpha:.86,lineWidth:1.2,glow:!1}))})}drawSelectedVectorOverlay(e){const t=this.selectedVectorFeatures||[],a=this.analysisMatchedFeatures||[],i=this.analysisBoundaryFeature,o=this.boundaryDrawPoints||[];if(!t.length&&!a.length&&!i&&!o.length)return;const l=this.isEcologicalProjectLayer(this.currentTopicLayer),u={fill:zs,stroke:hd,polygonAlpha:l?.2:.28,lineAlpha:l?.78:.98,lineWidth:l?6:12,pointRadius:11,glow:!l,halo:!l},h={fill:zs,stroke:dd,polygonAlpha:l?.34:.52,lineAlpha:l?.94:1,lineWidth:l?3.2:5,pointRadius:6.5,glow:!1,halo:!1};if(e.save(),t.forEach(p=>{var g;const y=(p==null?void 0:p.geometry)||((g=p==null?void 0:p.feature)==null?void 0:g.geometry);this.drawVectorFeature(e,y,u),this.drawVectorFeature(e,y,h)}),a.forEach(p=>{var g;const y=(p==null?void 0:p.geometry)||((g=p==null?void 0:p.feature)==null?void 0:g.geometry);this.drawVectorFeature(e,y,{fill:"#30DCFF",stroke:"#C9FBFF",polygonAlpha:l?.22:.28,lineAlpha:l?.88:.98,lineWidth:l?2.8:5,pointRadius:6,glow:!l})}),i!=null&&i.geometry&&this.drawVectorFeature(e,i.geometry,{fill:"#24F6C4",stroke:"#FFFFFF",polygonAlpha:l?.12:.18,lineAlpha:l?.92:1,lineWidth:l?3:4,pointRadius:6,glow:!l}),o.length){const p=o.map(g=>[g.lng,g.lat]),y={type:"LineString",coordinates:this.boundaryDrawingEnabled?p:[...p,p[0]].filter(Boolean)};this.drawVectorFeature(e,y,{fill:"#24F6C4",stroke:"#24F6C4",polygonAlpha:l?.08:.12,lineAlpha:1,lineWidth:l?3:4,pointRadius:6,glow:!l}),p.forEach(g=>{this.drawVectorFeature(e,{type:"Point",coordinates:g},{fill:"#FFFFFF",stroke:"#24F6C4",polygonAlpha:.2,lineAlpha:1,lineWidth:l?2.4:3,pointRadius:5.5,glow:!l})})}e.restore()}redrawVectorTopicLayer(){!this.topicLayerContext||!this.topicLayerTexture||!this.currentTopicLayer||!An(this.currentTopicLayer)||(this.drawVectorTopicLayer(this.currentTopicLayer,this.currentVectorFeatures||[]),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0)}featureMatchesLegend(e={},t={}){var o;const a=Array.isArray(t==null?void 0:t.matches)?t.matches.filter(l=>l==null?void 0:l.field):[];if(a.length)return a.some(l=>{var u;return String((u=e[l.field])!=null?u:"")===String(l.value)});const i=t==null?void 0:t.match;return i!=null&&i.field?String((o=e[i.field])!=null?o:"")===String(i.value):!0}getVisibleVectorFeatures(e,t){var u,h;const a=Array.isArray(e==null?void 0:e.activeLegends)?e.activeLegends.filter(p=>{var y,g;return((y=p==null?void 0:p.matches)==null?void 0:y.length)||((g=p==null?void 0:p.match)==null?void 0:g.field)}):[];if(a.length)return(t||[]).filter(p=>a.some(y=>this.featureMatchesLegend((p==null?void 0:p.properties)||{},y)));const i=e==null?void 0:e.activeLegend;if((u=i==null?void 0:i.matches)!=null&&u.length||(h=i==null?void 0:i.match)!=null&&h.field)return(t||[]).filter(p=>this.featureMatchesLegend((p==null?void 0:p.properties)||{},i));const l=String((e==null?void 0:e.cqlFilter)||"").trim().match(/^([a-zA-Z0-9_]+)\s*=\s*'((?:''|[^'])*)'$/);if(l){const[,p,y]=l,g=y.replace(/''/g,"'");return(t||[]).filter(w=>{var C,F;return String((F=(C=w==null?void 0:w.properties)==null?void 0:C[p])!=null?F:"")===g})}return[...t||[]]}updateYakIndustryPointLabels(e=this.currentTopicLayer,t=this.currentVectorFeatures){if(this.clearYakIndustryPointLabels(),(e==null?void 0:e.showPointLabels)===!1||e!=null&&e.hidePointFeatures||(e==null?void 0:e.key)!=="yak-industry-points"||!this.label3d)return;const a=this.getYakIndustryLabelFeatures(e,t);a.length&&(this.ensureYakIndustryPointLabelGroup(),a.forEach((i,o)=>{var u;let l=this.yakIndustryPointLabels[o];l||(l=this.label3d.create("","yak-industry-point-label",!0),this.label3d.setLabelStyle(l,.012,"x"),l.setParent(this.yakIndustryPointLabelGroup),this.yakIndustryPointLabels.push(l)),l.element.className="yak-industry-point-label",l.init(this.getYakIndustryPointLabelHtml(i),this.getYakIndustryPointLabelPosition(i,o)),l.visible=!0,(u=l.show)==null||u.call(l),l.userData={feature:i}}),this.yakIndustryPointLabels.slice(a.length).forEach(i=>{var o;i.visible=!1,(o=i.hide)==null||o.call(i),i.userData=null}),this.yakIndustryPointLabelGroup.visible=!!this.mapAnimationComplete)}updateYakIndustryPointMarkers(e=this.currentTopicLayer,t=this.currentVectorFeatures){if(this.clearYakIndustryPointMarkers(),(e==null?void 0:e.key)!=="yak-industry-points"||e!=null&&e.hidePointMarkers)return;const a=this.getVisibleVectorFeatures(e,t).filter(i=>{var o;return((o=i==null?void 0:i.geometry)==null?void 0:o.type)==="Point"});a.length&&(this.ensureYakIndustryPointMarkerGroup(),a.forEach((i,o)=>{let l=this.yakIndustryPointMarkers[o];const u=this.getVectorFeatureStyle(e,i),h=this.getYakIndustryMarkerMaterial(u,i),p=this.lngLatToLayerLocalPoint(i.geometry.coordinates,this.depth+.36),y=Number(e==null?void 0:e.pointSpriteScale)||.34,g=this.getYakIndustryMarkerType(i);l||(l=new ya(h),l.name="yak-industry-point-marker",l.renderOrder=42,this.bindYakIndustryPointMarkerEvents(l),this.interactionManager.add(l),this.yakIndustryPointMarkerGroup.add(l),this.yakIndustryPointMarkers.push(l)),l.material=h,l.center.set(.5,.5),l.position.copy(p),l.scale.set(y*.88,y*.88,1),l.visible=!0,l.userData={feature:i,layer:e,index:o,markerType:g}}),this.yakIndustryPointMarkers.slice(a.length).forEach(i=>{i.visible=!1,i.userData=null}),this.yakIndustryPointMarkerGroup.visible=!!this.mapAnimationComplete)}ensureYakIndustryPointMarkerGroup(){var e;this.yakIndustryPointMarkerGroup||(this.yakIndustryPointMarkerGroup=new Ce,this.yakIndustryPointMarkerGroup.name="yak-industry-point-markers",this.yakIndustryPointMarkerGroup.visible=!1,(e=this.focusMapGroup)==null||e.add(this.yakIndustryPointMarkerGroup))}clearYakIndustryPointMarkers(){var e;this.yakIndustryPointMarkerGroup&&(this.yakIndustryPointMarkerGroup.visible=!1),(e=this.yakIndustryPointMarkers)==null||e.forEach(t=>{t.visible=!1})}bindYakIndustryPointMarkerEvents(e){e.addEventListener("mousedown",t=>{var o,l,u,h,p,y,g,w,C;if(this.clicked||!((o=this.yakIndustryPointMarkerGroup)!=null&&o.visible))return!1;const a=(u=(l=t.target)==null?void 0:l.userData)==null?void 0:u.feature;if(!a)return!1;this.clicked=!0;const i=((h=a.geometry)==null?void 0:h.coordinates)||[];this.setSelectedVectorFeatures([a]),(C=(w=this.callbacks).onFeatureInfo)==null||C.call(w,{feature:{id:((p=a.properties)==null?void 0:p.id)||((y=a.properties)==null?void 0:y.feature_id)||((g=a.properties)==null?void 0:g.project_name),properties:a.properties||{},feature:a,layer:this.currentTopicLayer,lngLat:{lng:Number(i[0]),lat:Number(i[1])}},screen:this.getPointFeatureScreenPoint(a)})}),e.addEventListener("mouseup",()=>{this.clicked=!1}),e.addEventListener("mouseover",()=>{e.visible&&(document.body.style.cursor="pointer")}),e.addEventListener("mouseout",()=>{document.body.style.cursor="default"})}getYakIndustryMarkerMaterial(e,t){const a=e.markerType||this.getYakIndustryMarkerType(t),i=`${e.fill||"#24F6C4"}-${e.stroke||"#B7FFF2"}-${a}`,o=this.yakIndustryMarkerMaterialCache.get(i);if(o)return o;const l=this.createYakIndustryMarkerTexture(e.fill,e.stroke,a),u=new va({map:l,transparent:!0,depthTest:!1,depthWrite:!1,fog:!1});return this.yakIndustryMarkerMaterialCache.set(i,u),u}getYakIndustryMarkerType(e={}){var a;const t=String(((a=e==null?void 0:e.properties)==null?void 0:a.stageKey)||"");return Ys[t]||"point"}createYakIndustryMarkerTexture(e="#24F6C4",t="#B7FFF2",a="point"){const i=document.createElement("canvas");i.width=112,i.height=112;const o=i.getContext("2d"),l=56,u=56;o.clearRect(0,0,i.width,i.height),o.beginPath(),o.arc(l,u,42,0,Math.PI*2),o.fillStyle=this.hexToRgba(e,.18),o.shadowColor=e,o.shadowBlur=20,o.fill(),this.drawYakIndustryMarkerFrame(o,a,l,u,e,t||e),o.save(),o.shadowBlur=0,o.beginPath(),o.arc(l,u,19,0,Math.PI*2),o.fillStyle="rgba(3, 23, 34, 0.64)",o.fill(),o.strokeStyle=this.hexToRgba("#FFFFFF",.32),o.lineWidth=2,o.stroke(),o.restore(),this.drawYakIndustryMarkerGlyph(o,a,l,u,"#FFFFFF");const h=new jr(i);return h.colorSpace=Ta,h.needsUpdate=!0,h}drawYakIndustryMarkerFrame(e,t,a,i,o="#24F6C4",l="#B7FFF2"){if(e.save(),e.translate(a,i),e.fillStyle=this.hexToRgba(o,.92),e.strokeStyle=this.hexToRgba(l||o,.98),e.lineWidth=4,e.shadowColor=l||o,e.shadowBlur=14,t==="pasture")e.beginPath(),e.moveTo(-34,-9),e.lineTo(0,-38),e.lineTo(34,-9),e.lineTo(28,-9),e.lineTo(28,24),e.quadraticCurveTo(28,31,21,31),e.lineTo(-21,31),e.quadraticCurveTo(-28,31,-28,24),e.lineTo(-28,-9),e.closePath();else if(t==="grass")e.beginPath(),e.moveTo(0,-38),e.bezierCurveTo(31,-22,34,18,0,38),e.bezierCurveTo(-34,18,-31,-22,0,-38),e.closePath();else if(t==="breeding"){e.beginPath();for(let u=0;u<6;u+=1){const h=-Math.PI/2+Math.PI*2*u/6,p=Math.cos(h)*35,y=Math.sin(h)*35;u===0?e.moveTo(p,y):e.lineTo(p,y)}e.closePath()}else if(t==="storage")e.beginPath(),e.moveTo(-34,-25),e.lineTo(25,-25),e.lineTo(35,-13),e.lineTo(35,27),e.lineTo(-25,27),e.lineTo(-35,15),e.lineTo(-35,-25),e.closePath();else if(t==="processing"){e.beginPath();for(let u=0;u<10;u+=1){const h=-Math.PI/2+Math.PI*2*u/10,p=u%2===0?38:30,y=Math.cos(h)*p,g=Math.sin(h)*p;u===0?e.moveTo(y,g):e.lineTo(y,g)}e.closePath()}else if(t==="equipment"){e.beginPath();for(let u=0;u<16;u+=1){const h=-Math.PI/2+Math.PI*2*u/16,p=u%2===0?38:30,y=Math.cos(h)*p,g=Math.sin(h)*p;u===0?e.moveTo(y,g):e.lineTo(y,g)}e.closePath()}else t==="service"?(e.beginPath(),e.moveTo(0,-39),e.lineTo(31,-24),e.lineTo(25,14),e.quadraticCurveTo(0,39,-25,14),e.lineTo(-31,-24),e.closePath()):(e.beginPath(),e.arc(0,0,34,0,Math.PI*2));e.fill(),e.stroke(),e.restore()}drawYakIndustryMarkerGlyph(e,t,a,i,o="#24F6C4"){if(e.save(),e.translate(a,i),e.lineCap="round",e.lineJoin="round",e.shadowBlur=0,e.fillStyle=this.hexToRgba(o,.98),e.strokeStyle=this.hexToRgba(o,.98),e.lineWidth=3,t==="pasture")e.beginPath(),e.moveTo(-12,-2),e.lineTo(0,-11),e.lineTo(12,-2),e.stroke(),e.fillRect(-9,-2,18,12),e.clearRect(-3,2,6,8);else if(t==="grass")e.beginPath(),e.moveTo(0,10),e.quadraticCurveTo(-10,1,-7,-10),e.moveTo(0,10),e.quadraticCurveTo(10,1,7,-10),e.moveTo(0,10),e.quadraticCurveTo(0,0,1,-12),e.stroke();else if(t==="breeding")e.beginPath(),e.moveTo(-8,-5),e.quadraticCurveTo(-15,-12,-18,-4),e.moveTo(8,-5),e.quadraticCurveTo(15,-12,18,-4),e.stroke(),e.beginPath(),e.ellipse(0,1,11,12,0,0,Math.PI*2),e.fill(),e.fillStyle=this.hexToRgba("#08202D",.85),e.fillRect(-5,-2,3,3),e.fillRect(2,-2,3,3);else if(t==="storage")e.beginPath(),e.moveTo(-13,-3),e.lineTo(0,-11),e.lineTo(13,-3),e.lineTo(13,9),e.lineTo(-13,9),e.closePath(),e.fill(),e.strokeStyle=this.hexToRgba("#08202D",.72),e.lineWidth=2,e.beginPath(),e.moveTo(-8,0),e.lineTo(8,0),e.moveTo(-8,5),e.lineTo(8,5),e.stroke();else if(t==="processing")e.beginPath(),e.moveTo(-13,8),e.lineTo(-13,-1),e.lineTo(-5,-6),e.lineTo(-5,-1),e.lineTo(3,-6),e.lineTo(3,-1),e.lineTo(12,-6),e.lineTo(12,8),e.closePath(),e.fill(),e.fillRect(-13,-11,5,7),e.fillStyle=this.hexToRgba("#08202D",.72),e.fillRect(-8,2,4,3),e.fillRect(0,2,4,3),e.fillRect(7,2,4,3);else if(t==="equipment"){for(let l=0;l<8;l+=1)e.save(),e.rotate(Math.PI*2*l/8),e.fillRect(8,-2,5,4),e.restore();e.beginPath(),e.arc(0,0,9,0,Math.PI*2),e.fill(),e.fillStyle=this.hexToRgba("#FFFFFF",.98),e.beginPath(),e.arc(0,0,4,0,Math.PI*2),e.fill()}else t==="service"?(e.beginPath(),e.moveTo(0,-13),e.lineTo(12,-7),e.lineTo(9,6),e.quadraticCurveTo(0,14,-9,6),e.lineTo(-12,-7),e.closePath(),e.fill(),e.strokeStyle=this.hexToRgba("#FFFFFF",.94),e.lineWidth=2.4,e.beginPath(),e.moveTo(0,-7),e.lineTo(0,6),e.moveTo(-6,-1),e.lineTo(6,-1),e.stroke()):(e.beginPath(),e.arc(0,0,7,0,Math.PI*2),e.fill());e.restore()}ensureYakIndustryPointLabelGroup(){this.yakIndustryPointLabelGroup||(this.yakIndustryPointLabelGroup=new Ce,this.yakIndustryPointLabelGroup.name="yak-industry-point-labels",this.yakIndustryPointLabelGroup.rotation.x=-Math.PI/2,this.yakIndustryPointLabelGroup.visible=!1,this.scene.add(this.yakIndustryPointLabelGroup))}clearYakIndustryPointLabels(){var e;this.yakIndustryPointLabelGroup&&(this.yakIndustryPointLabelGroup.visible=!1),(e=this.yakIndustryPointLabels)==null||e.forEach(t=>{var a;t.visible=!1,(a=t.hide)==null||a.call(t)})}getYakIndustryLabelFeatures(e,t){const a=this.getVisibleVectorFeatures(e,t).filter(h=>{var p;return((p=h==null?void 0:h.geometry)==null?void 0:p.type)==="Point"}),i=Number(e==null?void 0:e.pointLabelLimit)||(a.length>36?12:Math.min(a.length,16)),o=a.map(h=>{var p;return{feature:h,score:this.getYakIndustryFeatureScore(h),town:dt((p=h.properties)==null?void 0:p.town)}}).sort((h,p)=>{var y,g;return p.score-h.score||String(((y=h.feature.properties)==null?void 0:y.name)||"").localeCompare(String(((g=p.feature.properties)==null?void 0:g.name)||""),"zh-CN")}),l=[],u=new Set;return o.forEach(h=>{l.length>=i||!h.town||u.has(h.town)||(l.push(h.feature),u.add(h.town))}),o.forEach(h=>{l.length>=i||l.includes(h.feature)||l.push(h.feature)}),l}getYakIndustryFeatureScore(e){const t=(e==null?void 0:e.properties)||{},a=[t.outputValue,t.capacity,t.value,t.count,t["年产值 (万元)"],t["年总产值 (万元)"],t["设计存栏量 (头)"],t["总库容 (吨)"]].map(i=>this.parseMapMetricNumber(i));return Math.max(...a,0)}parseMapMetricNumber(e){if(typeof e=="number")return Number.isFinite(e)?e:0;const t=String(e!=null?e:"").replace(/,/g,"").match(/-?\d+(?:\.\d+)?/);return t&&Number(t[0])||0}getYakIndustryPointLabelPosition(e,t=0){var i;const a=this.lngLatToLayerLocalPoint((i=e==null?void 0:e.geometry)==null?void 0:i.coordinates,this.depth+.42+Math.min(t,5)*.01);return a.x+=(t%3-1)*.08,a.y+=t%2===0?.07:-.06,a}getYakIndustryPointLabelHtml(e){const t=(e==null?void 0:e.properties)||{},a=this.compactYakIndustryLabelName(t.name||t.fullName||"产业主体"),i=this.formatYakIndustryLabelText(t.categoryName||t.stageName||"产业主体"),o=t.town||t.village||"红原县",l=this.getYakIndustryPointMetricText(t),u=this.getYakIndustryLabelColor(t);return`
    +
    ${Pe(i)}
    +
    ${Pe(a)}
    +
    + ${Pe(o)} + ${l?`${Pe(l)}`:""} +
    +
    `}compactYakIndustryLabelName(e=""){const t=String(e).replace(/^四川红原/,"").replace(/^红原县/,"").replace(/有限责任公司$/,"").replace(/农民专业合作社$/,"合作社").replace(/\s+/g," ").trim();return t.length>16?`${t.slice(0,15)}…`:t}formatYakIndustryLabelText(e=""){return String(e).replace(/\bcxpt[-_./\s]*/gi,"").replace(/^cxpt/i,"").replace(/\s+/g," ").trim()}getYakIndustryPointMetricText(e={}){return e.capacity!==void 0&&e.capacity!==null&&e.capacity!==""&&this.parseMapMetricNumber(e.capacity)>0?this.formatYakIndustryMetricText(e.capacity,e.capacityUnit):this.parseMapMetricNumber(e.outputValue)>0?`${this.formatMapRankingValue(e.outputValue)}万元`:this.isMeaningfulMapText(e.locationType)?e.locationType:this.isMeaningfulMapText(e.status)?e.status:""}isMeaningfulMapText(e){const t=String(e!=null?e:"").trim();return!!(t&&t!=="0"&&t!=="无"&&t!=="待完善")}formatYakIndustryMetricText(e,t=""){const a=String(e!=null?e:"").trim();return!a||a==="0"?"":typeof e=="string"&&/[^\d.,\s-]/.test(a)?a:`${this.formatMapRankingValue(e)}${t||""}`}getYakIndustryLabelColor(e={}){var i,o,l,u,h,p;const t=String(e.stageKey||""),a=(((i=this.currentTopicLayer)==null?void 0:i.legends)||[]).find(y=>{var g;return String(((g=y.match)==null?void 0:g.value)||"")===t})||(String(((u=(l=(o=this.currentTopicLayer)==null?void 0:o.activeLegend)==null?void 0:l.match)==null?void 0:u.value)||"")===t?this.currentTopicLayer.activeLegend:null);return(a==null?void 0:a.fillColor)||((p=(h=this.currentTopicLayer)==null?void 0:h.activeLegend)==null?void 0:p.fillColor)||"#24F6C4"}clipVectorLayerContext(e,t){if(this.shouldClipLayerToHongyuanBoundary(t)&&this.clipContextToHongyuanBoundary(e),!this.shouldClipLayerToLayerBounds(t))return;const a=this.getLayerClipBounds(t);if(!a)return;const i=this.lngLatToLayerCanvasPoint([a.west,a.north]),o=this.lngLatToLayerCanvasPoint([a.east,a.south]),l=Math.min(i.x,o.x),u=Math.min(i.y,o.y),h=Math.abs(o.x-i.x),p=Math.abs(o.y-i.y);!h||!p||(e.beginPath(),e.rect(l,u,h,p),e.clip())}clipContextToHongyuanBoundary(e){const t=this.hongyuanBoundaryPolygons||[];t.length&&(e.beginPath(),t.forEach(a=>{a.forEach(i=>{i.forEach((o,l)=>{const u=this.lngLatToLayerCanvasPoint(o);l===0?e.moveTo(u.x,u.y):e.lineTo(u.x,u.y)}),e.closePath()})}),e.clip("evenodd"))}shouldClipLayerToHongyuanBoundary(e=this.currentTopicLayer){if(!e||e.clipToHongyuanBoundary===!1)return!1;if(e.clipToHongyuanBoundary===!0)return!0;const t=String((e==null?void 0:e.key)||"");return!!(t==="national-park-zoning"||t.startsWith("yak-"))}shouldClipLayerToLayerBounds(e=this.currentTopicLayer){return!!(e!=null&&e.clipBounds&&(e==null?void 0:e.clipToLayerBounds)!==!1)}isLngLatInHongyuanBoundary(e){const t=this.hongyuanBoundaryPolygons||[];return t.length?t.some(a=>this.isLngLatInPolygon(e,a)):!0}isLngLatInLayerClipBounds(e,t=this.currentTopicLayer){const a=this.getLayerClipBounds(t);return a?e.lng>=a.west&&e.lng<=a.east&&e.lat>=a.south&&e.lat<=a.north:!0}getLayerClipBounds(e){const t=e==null?void 0:e.clipBounds;if(!t)return null;const a=Math.max(Number(t.west),q.west),i=Math.max(Number(t.south),q.south),o=Math.min(Number(t.east),q.east),l=Math.min(Number(t.north),q.north);return![a,i,o,l].every(Number.isFinite)||a>=o||i>=l?null:{west:a,south:i,east:o,north:l}}getGeometryDrawRank(e){return String(e).includes("Polygon")?1:String(e).includes("LineString")?2:3}isEcologicalProjectLayer(e=this.currentTopicLayer){return["restoration-projects","engineering-analysis-projects"].includes(e==null?void 0:e.key)}getVectorFeatureStyle(e,t){var h,p,y;const a=t.properties||{},o=(e.legends||[]).find(g=>{var w,C;return(((w=g==null?void 0:g.matches)==null?void 0:w.length)||((C=g==null?void 0:g.match)==null?void 0:C.field))&&this.featureMatchesLegend(a,g)})||e.activeLegend||((h=e.legends)==null?void 0:h[0])||{},l=String(((p=t.geometry)==null?void 0:p.type)||"").includes("LineString"),u=((y=t.geometry)==null?void 0:y.type)==="Point";if(this.isEcologicalProjectLayer(e)){const g=l||String(a.feature_role||"")==="线性设施";return{fill:g||u?o.strokeColor||o.fillColor||"#D2EA78":o.fillColor||"#75AD49",stroke:o.strokeColor||o.fillColor||"#D2EA78",polygonAlpha:g?.08:.22,lineAlpha:g?.9:.82,lineWidth:g?3:1.85,pointRadius:u?3.8:4,glow:!1}}return(e==null?void 0:e.key)==="yak-epidemic-village-boundary"?{fill:o.fillColor||"#24F6C4",stroke:o.strokeColor||"#C9FBFF",polygonAlpha:.16,lineAlpha:1,lineWidth:3.2,pointRadius:4.5,glow:!0}:(e==null?void 0:e.key)==="artificial-grassland-plots"?{fill:o.fillColor||"#24F6C4",stroke:o.strokeColor||"#A7F8FF",polygonAlpha:.2,lineAlpha:.94,lineWidth:1.6,pointRadius:4.5,glow:!0}:(e==null?void 0:e.key)==="yak-industry-points"?{fill:o.fillColor||"#24F6C4",stroke:o.strokeColor||o.fillColor||"#B7FFF2",polygonAlpha:.36,lineAlpha:.82,lineWidth:1.6,pointRadius:this.getVectorPointRadius(e,t),glow:!0,halo:!0,marker:!0,markerType:Ys[String(a.stageKey||"")]||"point"}:(e==null?void 0:e.key)==="national-park-zoning"?{fill:o.fillColor||"#30DCFF",stroke:o.strokeColor||"#F2FFFF",polygonAlpha:.38,lineAlpha:.96,lineWidth:2.7,pointRadius:4.5,glow:!1}:e!=null&&e.boundaryOnly?{fill:o.fillColor||"#24F6C4",stroke:o.strokeColor||o.fillColor||"#18F8FF",polygonAlpha:.04,lineAlpha:.96,lineWidth:10,pointRadius:4.5,glow:!0}:{fill:l||u?o.strokeColor||o.fillColor||"#30DCFF":o.fillColor||"#30DCFF",stroke:o.strokeColor||o.fillColor||"#30DCFF",polygonAlpha:.36,lineAlpha:l?.92:.9,lineWidth:l?5:2.4,pointRadius:u?this.getVectorPointRadius(e,t):4.5,glow:!0}}getVectorPointRadius(e,t){var i,o;const a=Number(((i=t==null?void 0:t.properties)==null?void 0:i.count)||((o=t==null?void 0:t.properties)==null?void 0:o.value)||0);return(e==null?void 0:e.key)==="yak-recognition-layer"?Math.max(3.8,Math.min(8.6,3.6+Math.sqrt(a)/68)):(e==null?void 0:e.key)==="yak-industry-points"?10.4:4.5}drawVectorFeature(e,t,a){if(t!=null&&t.coordinates){if(t.type==="Polygon"){this.drawPolygonPath(e,t.coordinates,a);return}if(t.type==="MultiPolygon"){t.coordinates.forEach(i=>this.drawPolygonPath(e,i,a));return}if(t.type==="LineString"){this.drawLinePath(e,t.coordinates,a);return}if(t.type==="MultiLineString"){t.coordinates.forEach(i=>this.drawLinePath(e,i,a));return}t.type==="Point"&&this.drawPointPath(e,t.coordinates,a)}}drawPolygonPath(e,t,a){Array.isArray(t==null?void 0:t[0])&&(e.save(),e.beginPath(),t.forEach(i=>{i.forEach((o,l)=>{const u=this.lngLatToLayerCanvasPoint(o);l===0?e.moveTo(u.x,u.y):e.lineTo(u.x,u.y)}),e.closePath()}),e.fillStyle=this.hexToRgba(a.fill,a.polygonAlpha),e.strokeStyle=this.hexToRgba(a.stroke,a.lineAlpha),e.lineWidth=a.lineWidth,a.glow&&(e.shadowColor=a.stroke,e.shadowBlur=14),e.fill("evenodd"),e.stroke(),e.restore())}drawLinePath(e,t,a){!Array.isArray(t)||t.length<2||(e.save(),e.beginPath(),t.forEach((i,o)=>{const l=this.lngLatToLayerCanvasPoint(i);o===0?e.moveTo(l.x,l.y):e.lineTo(l.x,l.y)}),e.strokeStyle=this.hexToRgba(a.stroke,a.lineAlpha),e.lineWidth=a.lineWidth,e.shadowColor=a.stroke,e.shadowBlur=12,e.stroke(),e.restore())}drawPointPath(e,t,a){var o;if(a.marker){this.drawMarkerPointPath(e,t,a);return}const i=this.lngLatToLayerCanvasPoint(t);e.save(),a.halo&&(e.beginPath(),e.arc(i.x,i.y,a.pointRadius*2.35,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.18),e.shadowColor=a.fill,e.shadowBlur=18,e.fill()),e.beginPath(),e.arc(i.x,i.y,a.pointRadius,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.96),e.shadowColor=a.stroke,e.shadowBlur=a.halo?8:12,e.fill(),a.lineWidth&&(e.lineWidth=a.lineWidth,e.strokeStyle=this.hexToRgba(a.stroke,(o=a.lineAlpha)!=null?o:.9),e.stroke()),e.restore()}drawMarkerPointPath(e,t,a){const i=this.lngLatToLayerCanvasPoint(t),o=a.pointRadius||6;e.save(),e.beginPath(),e.arc(i.x,i.y+o*.22,o*2.55,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.16),e.shadowColor=a.fill,e.shadowBlur=24,e.fill(),e.beginPath(),e.moveTo(i.x,i.y+o*2.05),e.bezierCurveTo(i.x+o*1.46,i.y+o*.62,i.x+o*1.34,i.y-o*1.34,i.x,i.y-o*1.62),e.bezierCurveTo(i.x-o*1.34,i.y-o*1.34,i.x-o*1.46,i.y+o*.62,i.x,i.y+o*2.05),e.closePath(),e.fillStyle=this.hexToRgba(a.fill,.94),e.strokeStyle=this.hexToRgba(a.stroke,.98),e.lineWidth=Math.max(2,a.lineWidth||2),e.shadowColor=a.stroke,e.shadowBlur=14,e.fill(),e.stroke(),e.beginPath(),e.arc(i.x,i.y-o*.34,o*.52,0,Math.PI*2),e.fillStyle=this.hexToRgba("#FFFFFF",.96),e.shadowBlur=0,e.fill(),e.beginPath(),e.arc(i.x,i.y-o*.34,o*.82,0,Math.PI*2),e.lineWidth=Math.max(1.2,o*.14),e.strokeStyle=this.hexToRgba("#FFFFFF",.42),e.stroke(),e.restore()}lngLatToLayerCanvasPoint(e){const t=Number(e==null?void 0:e[0]),a=Number(e==null?void 0:e[1]);return{x:(t-q.west)/(q.east-q.west)*this.topicLayerCanvas.width,y:(q.north-a)/(q.north-q.south)*this.topicLayerCanvas.height}}hexToRgba(e,t=1){const a=String(e||"#30DCFF").replace("#",""),i=a.length===3?a.split("").map(p=>p+p).join(""):a,o=Number.parseInt(i,16);if(!Number.isFinite(o))return`rgba(48, 220, 255, ${t})`;const l=o>>16&255,u=o>>8&255,h=o&255;return`rgba(${l}, ${u}, ${h}, ${t})`}parseWktGeometry(e){var l;const t=String(e||"").trim();if(!t)return null;const a=t.match(/^([A-Z]+)(?:\s+[A-Z]+)?\s*\(/i),i=(l=a==null?void 0:a[1])==null?void 0:l.toUpperCase();if(!i)return null;const o=t.slice(t.indexOf("("));return i==="POLYGON"?{type:"Polygon",coordinates:this.parseWktPolygonBody(o)}:i==="MULTIPOLYGON"?{type:"MultiPolygon",coordinates:this.parseWktMultiPolygonBody(o)}:i==="POINT"?{type:"Point",coordinates:this.parseWktPoint(o)}:i==="MULTIPOINT"?{type:"MultiPoint",coordinates:this.getWktChildGroups(o).map(u=>this.parseWktPoint(u)).filter(Boolean)}:i==="LINESTRING"?{type:"LineString",coordinates:this.parseWktRing(o)}:i==="MULTILINESTRING"?{type:"MultiLineString",coordinates:this.getWktChildGroups(o).map(u=>this.parseWktRing(u)).filter(u=>u.length)}:null}parseWktMultiPolygonBody(e){return this.getWktChildGroups(e).map(t=>this.parseWktPolygonBody(t)).filter(t=>t.length)}parseWktPolygonBody(e){return this.getWktChildGroups(e).map(t=>this.parseWktRing(t)).filter(t=>t.length>=3)}getWktChildGroups(e){const t=String(e||"").trim(),a=t.startsWith("(")&&t.endsWith(")")?t.slice(1,-1):t,i=[];let o=0,l=-1;for(let u=0;u=0&&(i.push(a.slice(l,u+1)),l=-1))}return i.length?i:[a]}parseWktRing(e){return String(e||"").replace(/^\(+|\)+$/g,"").split(",").map(a=>a.trim().split(/\s+/).slice(0,2).map(Number)).filter(([a,i])=>Number.isFinite(a)&&Number.isFinite(i))}parseWktPoint(e){const t=String(e||"").replace(/^\(+|\)+$/g,"").trim().split(/\s+/).slice(0,2).map(Number);return t.length>=2&&Number.isFinite(t[0])&&Number.isFinite(t[1])?[t[0],t[1]]:null}createProvinceMaterial(){const e=!this.useSatelliteBase;let t=new $r({color:16777215,transparent:!0,opacity:0,depthWrite:!this.usesCustomSatelliteTiles,fog:!1,side:Ee});t.onBeforeCompile=o=>{o.uniforms=E(I({},o.uniforms),{uColor1:{value:new Tt(e?2780818:2152676)},uColor2:{value:new Tt(e?1058614:475482)}}),o.vertexShader=o.vertexShader.replace("void main() {",` + attribute float alpha; + varying vec3 vPosition; + varying float vAlpha; + void main() { + vAlpha = alpha; + vPosition = position; + `),o.fragmentShader=o.fragmentShader.replace("void main() {",` + varying vec3 vPosition; + varying float vAlpha; + uniform vec3 uColor1; + uniform vec3 uColor2; + void main() { + `),o.fragmentShader=o.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + vec3 gradient = mix(uColor1, uColor2, vPosition.x/15.78); + ${e?`outgoingLight = outgoingLight * gradient; + float topAlpha = 0.56;`:`outgoingLight = mix(outgoingLight * vec3(1.18), outgoingLight * gradient, 0.32); + float topAlpha = 0.92;`} + if(vPosition.z>0.3){ + diffuseColor.a *= topAlpha; + } + gl_FragColor = vec4( outgoingLight, diffuseColor.a ); + `)};let a=this.assets.instance.getResource("side");a.wrapS=ct,a.wrapT=ct,a.repeat.set(1,1.8),a.offset.y+=.065;let i=new xn({color:2148829,map:a,fog:!1,opacity:0,side:Ee,roughness:.58,metalness:.08});return this.time.on("tick",()=>{a.offset.y+=.005}),i.onBeforeCompile=o=>{o.uniforms=E(I({},o.uniforms),{uColor1:{value:new Tt(1629410)},uColor2:{value:new Tt(205365)}}),o.vertexShader=o.vertexShader.replace("void main() {",` + attribute float alpha; + varying vec3 vPosition; + varying float vAlpha; + void main() { + vAlpha = alpha; + vPosition = position; + `),o.fragmentShader=o.fragmentShader.replace("void main() {",` + varying vec3 vPosition; + varying float vAlpha; + uniform vec3 uColor1; + uniform vec3 uColor2; + void main() { + `),o.fragmentShader=o.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + vec3 gradient = mix(uColor1, uColor2, vPosition.z/1.2); + outgoingLight = outgoingLight*gradient*vec3(1.12); + gl_FragColor = vec4( outgoingLight, diffuseColor.a ); + `)},[t,i]}getDefaultTownRanking(){return{title:"乡镇统计加载中",unit:"",rows:As.map(e=>({name:e.name,value:0,unit:""}))}}getTownRankingMeta(e=this.currentTownRanking){var i,o,l,u;const t=this.getDefaultTownRanking(),a=md(e);return{title:(e==null?void 0:e.title)||t.title,unit:(e==null?void 0:e.unit)||t.unit,metricLabel:(e==null?void 0:e.metricLabel)||(e==null?void 0:e.legendName)||"",note:(e==null?void 0:e.note)||"",hideTownNames:Us(e),hideMapLabels:Wa(e),hideTownLabelStats:(i=e==null?void 0:e.hideTownLabelStats)!=null?i:this.hideTownLabelStatsByDefault,calloutMode:a,showBars:(o=e==null?void 0:e.showBars)!=null?o:!1,showPointMarkers:(l=e==null?void 0:e.showPointMarkers)!=null?l:a,onlyRankedTownLabels:(u=e==null?void 0:e.onlyRankedTownLabels)!=null?u:!1,showMissingTownStats:(e==null?void 0:e.showMissingTownStats)===!0}}getTownRankingRows(e=this.currentTownRanking,t=7,a=!0){var h;const i=this.getDefaultTownRanking(),o=(h=e==null?void 0:e.rows)!=null&&h.length?e.rows:a?i.rows:[],l=this.getTownRankingMeta(e),u=o.map(p=>{const y=this.townMetaByName.get(dt(p.name));return y?E(I(I({},y),p),{name:y.name,enName:y.enName,center:y.center,centroid:y.centroid,value:de(p.value),unit:p.unit||l.unit,metricTitle:l.title}):null}).filter(Boolean).sort((p,y)=>y.value-p.value).map((p,y)=>E(I({},p),{rank:y+1}));return Number.isFinite(t)?u.slice(0,t):u}getVillageRankingRows(e=this.currentTownRanking){const t=this.getTownRankingMeta(e);return((e==null?void 0:e.rows)||[]).map((a,i)=>{var p,y,g,w,C,F,x,G;const o=de((p=a.lng)!=null?p:a.longitude,NaN),l=de((y=a.lat)!=null?y:a.latitude,NaN);if(!Number.isFinite(o)||!Number.isFinite(l))return null;const u=de((g=a.displayValue)!=null?g:a.value),h=de((F=(C=(w=a.rawValue)!=null?w:a.earTagCount)!=null?C:a.ear_tag_count)!=null?F:a.value);return E(I({},a),{key:a.key||`${a.town||""}-${a.village||a.name||i}`,name:a.name||a.village||`村${i+1}`,town:a.town||"",lng:o,lat:l,value:u,rawValue:h,recordCount:de((x=a.recordCount)!=null?x:a.record_count,0),imageRate:de((G=a.imageRate)!=null?G:a.image_rate,0),unit:a.displayUnit||a.unit||t.unit,metricTitle:t.title,metricLabel:a.metricLabel||t.metricLabel||""})}).filter(Boolean).sort((a,i)=>i.rawValue-a.rawValue).map((a,i)=>E(I({},a),{rank:i+1}))}getVillageRankingHtml(e,t){const a=t.hideTownNames?"":`${Pe(e.town||"红原县")}`;return e.displayMode==="park-village"||t.displayMode==="park-village"?`
    +
    + ${Pe(e.name)} + ${a} +
    +
    + ${Pe(e.metricLabel||t.metricLabel||"")} + ${this.formatMapRankingValue(e.value)} + ${Pe(e.unit||t.unit||"")} +
    +
    `:`
    +
    + ${Pe(e.name)} + ${a} +
    +
    + ${Pe(e.metricLabel||"防疫")} + ${this.formatMapRankingValue(e.value)} + ${Pe(e.unit||t.unit||"")} +
    +
    + 台账 ${this.formatMapCompactValue(e.recordCount)}条 + 耳标 ${this.formatMapCompactValue(e.rawValue)}头 +
    +
    `}ensureVillageRankingGroup(){this.villageRankingGroup||(this.villageRankingGroup=new Ce,this.villageRankingGroup.rotation.x=-Math.PI/2,this.villageRankingGroup.visible=!1,this.scene.add(this.villageRankingGroup),this.villageRankingLabels=[])}hideVillageRankingLabels(){var e;this.villageRankingGroup&&(this.villageRankingGroup.visible=!1),(e=this.villageRankingLabels)==null||e.forEach(t=>{t.visible=!1})}hideAllMapStatisticLabels(){var e,t,a,i;this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!1),this.hideVillageRankingLabels(),this.hideTradeFlowLayer(),this.clearInfoPointStats(),(e=this.allProvinceLabel)==null||e.forEach(o=>{o.visible=!1}),(t=this.allBar)==null||t.forEach(o=>{o.visible=!1,o.scale.set(1,1,0)}),(a=this.allBarMaterial)==null||a.forEach(o=>{o.opacity=0}),(i=this.allGuangquan)==null||i.forEach(o=>{o.visible=!1})}setTownNameLabelsVisible(e=!0){var t;(t=this.townNameLabels)==null||t.forEach(a=>{a.visible=e})}updateVillageRankingLabels(e=this.currentTownRanking){if(this.ensureVillageRankingGroup(),!Hs(e)){this.hideVillageRankingLabels();return}const t=this.getVillageRankingRows(e),a=this.getTownRankingMeta(e);if(!t.length){this.hideVillageRankingLabels();return}this.villageRankingGroup.visible=this.mapAnimationComplete,t.forEach((i,o)=>{let l=this.villageRankingLabels[o];l||(l=this.label3d.create("","epidemic-village-label",!0),this.label3d.setLabelStyle(l,.0135,"x"),l.setParent(this.villageRankingGroup),this.villageRankingLabels.push(l));const[u,h]=this.geoProjection([i.lng,i.lat]),p=(o%3-1)*.06,y=Math.floor(o/3)%2*.04;l.init(this.getVillageRankingHtml(i,a),new le(u+p,-h+y,this.depth+1.55+Math.min(o,6)*.015)),l.visible=!0,l.userData=I({},i)}),this.villageRankingLabels.slice(t.length).forEach(i=>{i.visible=!1})}ensureTradeFlowGroup(){this.tradeFlowGroup||(this.tradeFlowGroup=new Ce,this.tradeFlowGroup.name="yak-trade-flow",this.tradeFlowGroup.visible=!1,this.tradeFlowMeshGroup=new Ce,this.tradeFlowMeshGroup.name="yak-trade-flow-mesh",this.tradeFlowMeshGroup.rotation.x=-Math.PI/2,this.tradeFlowLabelGroup=new Ce,this.tradeFlowLabelGroup.name="yak-trade-flow-label",this.tradeFlowLabelGroup.rotation.x=-Math.PI/2,this.tradeFlowGroup.add(this.tradeFlowMeshGroup,this.tradeFlowLabelGroup),this.scene.add(this.tradeFlowGroup))}hideTradeFlowLayer(){var e,t;this.tradeFlowGroup&&(this.tradeFlowGroup.visible=!1),(e=this.tradeFlowLabels)==null||e.forEach(a=>{a.visible=!1}),(t=this.tradeFlowPulseSprites)==null||t.forEach(a=>{a.visible=!1})}clearTradeFlowLayer(){this.tradeFlowMeshGroup&&(this.tradeFlowMeshGroup.children.forEach(e=>{var t;(t=e.traverse)==null||t.call(e,a=>this.disposeObject3D(a))}),this.tradeFlowMeshGroup.clear(),this.tradeFlowMaterials=[],this.tradeFlowPulseSprites=[])}getTradeFlowSource(e=this.currentTownRanking){var o,l,u,h;const t=(e==null?void 0:e.source)||{},a=de((o=t.lng)!=null?o:t.longitude,NaN),i=de((l=t.lat)!=null?l:t.latitude,NaN);return!Number.isFinite(a)||!Number.isFinite(i)?null:{name:t.name||"红原牦牛交易市场",lng:a,lat:i,total:de((h=(u=t.total)!=null?u:t.headCount)!=null?h:t.value,NaN)}}getTradeFlowRows(e=this.currentTownRanking){const t=this.getTownRankingMeta(e),a=!!(e!=null&&e.nationalFlow);return((e==null?void 0:e.rows)||[]).map((i,o)=>{var x,G,H,J,ne,K,V;const l=de((x=i.lng)!=null?x:i.longitude,NaN),u=de((G=i.lat)!=null?G:i.latitude,NaN),h=de((ne=(J=(H=i.headCount)!=null?H:i.head_count)!=null?J:i.rawValue)!=null?ne:i.value),p=i.displayName||i.display_name||i.name,y=i.mapTownName||i.map_town_name||i.town||i.startTown||i.start_town||p,g=i.destinationProvince||i.destination_province||i.provinceName||i.province_name||p,w=a?null:this.townMetaByName.get(dt(y)),C=a?(K=this.tradeProvinceCenterByName)==null?void 0:K.get(this.normalizeTradeProvinceName(g)):null,F=Number.isFinite(l)&&Number.isFinite(u)?{lng:l,lat:u}:C?{lng:C.lng,lat:C.lat}:w!=null&&w.center?{lng:w.center[0],lat:w.center[1]}:null;return!F||!Number.isFinite(h)?null:E(I(I({},i),w),{key:i.key||`${(w==null?void 0:w.name)||p||y||"trade-source"}-${o}`,name:p||y||(w==null?void 0:w.name)||`来源${o+1}`,townName:(w==null?void 0:w.name)||y,provinceName:g,lng:F.lng,lat:F.lat,labelSide:i.labelSide||i.label_side||(a?this.getTradeNationalLabelSide(F,o):this.getTradeSourceLabelSide(w,o)),value:h,headCount:h,recordCount:de((V=i.recordCount)!=null?V:i.record_count,0),unit:i.unit||t.unit||"头"})}).filter(Boolean).sort((i,o)=>o.value-i.value).map((i,o)=>E(I({},i),{rank:o+1}))}getTradeMarketHtml(e,t){const a=Number.isFinite(e.total)?e.total:t.reduce((i,o)=>i+de(o.value),0);return`
    +
    ${Pe(e.name)}
    +
    ${this.formatMapIntegerValue(a)}头
    +
    `}getTradeFlowDisplayName(e=""){const t=String(e||"").replace(/^.*红原县/,"").replace(/\s+/g,"");return t.length>7?`${t.slice(0,7)}…`:t||"来源区域"}getTradeFlowLabelHtml(e){return`
    +
    ${String(e.rank).padStart(2,"0")}${Pe(this.getTradeFlowDisplayName(e.name))}
    +
    ${this.formatMapIntegerValue(e.value)}${Pe(e.unit||"头")}
    +
    `}getTradeFlowLabelOffset(e,t){return new le(0,0,0)}getTradeSourceLabelSide(e,t=0){var o,l;const a=Number((o=e==null?void 0:e.center)==null?void 0:o[0]),i=Number((l=e==null?void 0:e.center)==null?void 0:l[1]);return Number.isFinite(a)&&athis.geoProjectionCenter[0]+.2?"right":Number.isFinite(i)&&i>this.geoProjectionCenter[1]+.22?"top":Number.isFinite(i)&&ithis.tradeGeoProjectionCenter[0]+8?"right":Number(e==null?void 0:e.lat)>this.tradeGeoProjectionCenter[1]+6?"top":Number(e==null?void 0:e.lat)0&&(g.normalize().multiplyScalar((a%2===0?1:-1)*Math.min(.18,.05+y*.02)),p.add(g)),new rc([u,p,h])}tradeGeoProjection(e){return sa().center(this.tradeGeoProjectionCenter).scale(this.tradeGeoProjectionScale).translate([0,0])(e)}setTradeNationalMapVisible(e){const t=!!e;if(!(!t&&!this.isTradeNationalMapActive&&!this.tradeNationalMapGroup&&!this.tradeFlowGroup)){if(t&&!this.createTradeNationalMap()){this.isTradeNationalMapActive=!1;return}this.isTradeNationalMapActive=t,this.tradeNationalMapGroup&&(this.tradeNationalMapGroup.visible=t&&this.mapAnimationComplete),this.tradeNationalLabelGroup&&(this.tradeNationalLabelGroup.visible=t&&this.mapAnimationComplete),this.mapGroup&&(this.mapGroup.visible=!t),this.labelGroup&&(this.labelGroup.visible=!t),this.flyLineGroup&&(this.flyLineGroup.visible=!t&&this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!t&&this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=!t&&this.mapAnimationComplete),this.topicLayerMaterial&&t&&(this.topicLayerMaterial.opacity=0),t&&this.mapAnimationComplete?this.animateMapCamera(new le(0,11.4,16.2),new le(0,-.05,0),.65):!t&&this.mapAnimationComplete&&this.applyLayerMapView(this.currentTopicLayer,{force:!0})}}createTradeSourceMarker(e,t,a,i,o=!0){const l=new Tt(t%3===1?16766828:t%3===2?2617536:3202303),u=this.getTradeFlowPoint(e,.72);if(i&&o){const x=this.getLocalTradeFlowCurve(e,i,t),G=new ke({color:l,transparent:!0,opacity:.42,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve}),H=.012+Math.min(.012,de(e.value)/Math.max(a,1)*.01),J=new Qe(new ic(x,48,H,8,!1),G);J.renderOrder=31,this.tradeFlowMeshGroup.add(J),this.tradeFlowMaterials.push(G);const ne=new va({map:this.assets.instance.getResource("point"),color:l,transparent:!0,opacity:.92,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve}),K=new ya(ne),V=.12+Math.min(.08,de(e.value)/Math.max(a,1)*.06);K.renderOrder=36,K.scale.set(V,V,V),K.userData={curve:x,phase:t*.13%1,speed:.16+Math.min(.16,de(e.value)/Math.max(a,1)*.12)},K.position.copy(x.getPointAt(K.userData.phase)),this.tradeFlowPulseSprites.push(K),this.tradeFlowMeshGroup.add(K)}const h=new va({map:this.assets.instance.getResource("point"),color:l,transparent:!0,opacity:.95,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve}),p=new ya(h),y=.22+Math.min(.34,de(e.value)/Math.max(a,1)*.28);p.renderOrder=34,p.scale.set(y,y,y),p.position.copy(u),this.tradeFlowMeshGroup.add(p);const g=this.assets.instance.getResource("guangquan1"),w=new ke({map:g,alphaMap:g,color:l,transparent:!0,opacity:.52,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve,side:Ee}),C=.38+Math.min(.36,de(e.value)/Math.max(a,1)*.28),F=new Qe(new Ht(C,C),w);F.renderOrder=29,F.position.copy(this.getTradeFlowPoint(e,.5)),this.tradeFlowMeshGroup.add(F)}createTradeMarketMarker(e){const t=this.assets.instance.getResource("point"),a=this.assets.instance.getResource("guangquan1"),i=this.getTradeLocalPoint(e.lng,e.lat,.82),o=new va({map:t,color:16773997,transparent:!0,opacity:1,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve}),l=new ya(o);l.renderOrder=35,l.scale.set(.34,.34,.34),l.position.copy(i),this.tradeFlowMeshGroup.add(l);const u=new ke({map:a,alphaMap:a,color:16773997,transparent:!0,opacity:.72,depthWrite:!1,depthTest:!1,fog:!1,blending:Ve,side:Ee}),h=new Qe(new Ht(.58,.58),u);h.renderOrder=29,h.position.copy(this.getTradeLocalPoint(e.lng,e.lat,.58)),this.tradeFlowMeshGroup.add(h)}disposeObject3D(e){var t,a,i,o;(a=(t=e.geometry)==null?void 0:t.dispose)==null||a.call(t),Array.isArray(e.material)?e.material.forEach(l=>{var u;return(u=l==null?void 0:l.dispose)==null?void 0:u.call(l)}):(o=(i=e.material)==null?void 0:i.dispose)==null||o.call(i)}updateTradeFlowPulses(e=.016){var t,a;!((t=this.tradeFlowGroup)!=null&&t.visible)||!((a=this.tradeFlowPulseSprites)!=null&&a.length)||this.tradeFlowPulseSprites.forEach(i=>{var u;const o=(u=i.userData)==null?void 0:u.curve;if(!o)return;const l=(de(i.userData.phase)+de(i.userData.speed,.16)*e)%1;i.userData.phase=l,i.position.copy(o.getPointAt(l))})}updateTradeFlowLayer(e=this.currentTownRanking){if(!qs(e)){this.hideTradeFlowLayer();return}this.ensureTradeFlowGroup();const t=this.getTradeFlowSource(e),a=this.getTradeFlowRows(e);if(!t||!a.length){this.clearTradeFlowLayer(),this.hideTradeFlowLayer();return}this.clearTradeFlowLayer(),this.tradeFlowGroup.visible=this.mapAnimationComplete;const i=fd(e);this.createTradeMarketMarker(t);const o=Math.max(...a.map(h=>h.value),1);a.forEach((h,p)=>{this.createTradeSourceMarker(h,p,o,t,i)});const l=a.length+1;for(let h=this.tradeFlowLabels.length;h{const y=this.tradeFlowLabels[p+1];y.element.className="trade-flow-label",y.init(this.getTradeFlowLabelHtml(h),this.getTradeFlowPoint(h,.78).add(this.getTradeFlowLabelOffset(h,p))),y.visible=!0,y.userData=I({},h)}),this.tradeFlowLabels.slice(l).forEach(h=>{h.visible=!1})}hasTownRankingRows(e=this.currentTownRanking){return this.getTownRankingRows(e,Number.POSITIVE_INFINITY,!1).length>0}formatMapRankingValue(e){const t=de(e);return Math.abs(t)>=100?String(Math.round(t)):Math.abs(t)>=10?String(Number(t.toFixed(1))):String(Number(t.toFixed(2)))}formatMapCompactValue(e){const t=de(e);return Math.abs(t)>=1e4?`${Number((t/1e4).toFixed(Math.abs(t)>=1e5?1:2))}万`:Math.abs(t)>=1e3?`${Number((t/1e3).toFixed(1))}千`:this.formatMapRankingValue(t)}formatMapIntegerValue(e){const t=de(e);return Math.round(t).toLocaleString("zh-CN")}getBarHeight(e,t){return t?Math.max(2.8*.12,2.8*(de(e)/t)):2.8*.25}createBarGeometry(e){const a=new sc(.06999999999999999,.06999999999999999,e);return a.translate(0,0,e/2),a}getProvinceLabelHtml(e,t,a){return`
    +
    +
    +
    ${a.title}
    +
    ${this.formatMapRankingValue(e.value)}${e.unit||a.unit}
    +
    ${e.name}
    +
    +
    ${t+1}
    +
    +
    `}updateBarItem(e,t,a,i,o=!0){var p,y;const l=this.getBarHeight(t.value,i),[u,h]=this.geoProjection(t.centroid);return e.visible=!0,(y=(p=e.geometry)==null?void 0:p.dispose)==null||y.call(p),e.geometry=this.createBarGeometry(l),e.position.set(u,-h,this.depth+.45),e.userData=E(I({},t),{targetValue:t.value,geoHeight:l}),e.children.forEach(g=>{var w,C,F,x;(C=(w=g.geometry)==null?void 0:w.dispose)==null||C.call(w),Array.isArray(g.material)?g.material.forEach(G=>{var H;return(H=G==null?void 0:G.dispose)==null?void 0:H.call(G)}):(x=(F=g.material)==null?void 0:F.dispose)==null||x.call(F)}),e.clear(),e.add(...this.createHUIGUANG(l,a>3?16776948:7863285)),o?wa.to(e.scale,{duration:.45,x:1,y:1,z:1,ease:"power2.out"}):this.mapAnimationComplete&&e.scale.set(1,1,1),{x:u,y:h,geoHeight:l}}updateProvinceLabel(e,t,a,i,o,l=!0){var F;const u=de((F=e.userData)==null?void 0:F.targetValue,t.value);e.visible=!0,e.userData=E(I({},t),{targetValue:t.value}),e.position.copy(i);const h=e.element.querySelector(".label-title"),p=e.element.querySelector(".number .value"),y=e.element.querySelector(".number .unit"),g=e.element.querySelector(".name"),w=e.element.querySelector(".no");!h||!p||!y||!g||!w?e.element.innerHTML=this.getProvinceLabelHtml(t,a,o):(h.innerText=o.title,p.dataset.targetValue=String(t.value),p.innerText=this.formatMapRankingValue(t.value),y.innerText=t.unit||o.unit,g.innerText=t.name,w.innerText=a+1);const C=e.element.querySelector(".provinces-label-wrap");if(this.mapAnimationComplete&&(C.style.opacity="1",C.style.transform="translate3d(0, 0, 0)"),l&&this.mapAnimationComplete){const x=e.element.querySelector(".number .value"),H={value:u};wa.to(H,{value:t.value,duration:.45,ease:"power2.out",onUpdate:()=>{x.innerText=this.formatMapRankingValue(H.value)},onComplete:()=>{x.dataset.previousValue=String(t.value),x.innerText=this.formatMapRankingValue(t.value)}})}}clearTownNameLabelStat(e){const t=e.element.querySelector(".town-stat-label"),a=e.element.querySelector(".town-stat-value"),i=e.element.querySelector(".town-stat-unit"),o=e.element.querySelector(".town-rank"),l=e.element.querySelector(".town-stat-metric");t==null||t.classList.remove("has-stat"),e.element.style.pointerEvents="none",e.element.style.cursor="",a&&(a.innerText=""),i&&(i.innerText=""),o&&(o.innerText=""),l&&(l.innerText="")}updateTownNameLabelStats(e=this.currentTownRanking){var l;if(!((l=this.townNameLabels)!=null&&l.length))return;const t=this.getTownRankingRows(e,Number.POSITIVE_INFINITY,!1),a=this.getTownRankingMeta(e);if(a.hideTownLabelStats){this.townNameLabels.forEach(u=>{var y,g;const h=((y=u.userData)==null?void 0:y.townName)||((g=u.userData)==null?void 0:g.name),p=u.element.querySelector(".town-name");p&&(p.innerText=h||""),this.clearTownNameLabelStat(u),u.visible=!a.hideTownNames});return}const i=new Map(t.map(u=>[dt(u.name),u])),o=!!(a.showMissingTownStats&&e&&t.length&&(a.metricLabel||a.unit||a.title));this.townNameLabels.forEach(u=>{var J,ne;const h=((J=u.userData)==null?void 0:J.townName)||((ne=u.userData)==null?void 0:ne.name),p=i.get(dt(h));if(a.onlyRankedTownLabels&&!p){this.clearTownNameLabelStat(u),u.element.style.pointerEvents="none",u.element.style.cursor="",u.visible=!1;return}const y=p||(o?{name:h,value:0,unit:a.unit,metricLabel:a.metricLabel,rank:null}:null);if(!y){this.clearTownNameLabelStat(u),u.element.style.pointerEvents="none",u.element.style.cursor="";return}const g=u.element.querySelector(".town-stat-label"),w=u.element.querySelector(".town-name"),C=u.element.querySelector(".town-stat-value"),F=u.element.querySelector(".town-stat-unit"),x=u.element.querySelector(".town-rank"),G=u.element.querySelector(".town-stat-metric");g==null||g.classList.add("has-stat"),w&&(w.innerText=h),G&&(G.innerText=y.metricLabel||a.metricLabel||""),C&&(C.innerText=this.formatMapRankingValue(y.value)),F&&(F.innerText=y.unit||a.unit||""),x&&(x.innerText=y.rank?`第${y.rank}名`:"");const H=this.isNationalParkTownSelectionActive()&&!!p;u.element.style.pointerEvents=H?"auto":"none",u.element.style.cursor=H?"pointer":"",u.userData=E(I(I({},u.userData),y),{townName:h,targetValue:y.value})})}getInfoPointHtml(e,t=this.getTownRankingMeta()){const a=String(e.metricLabel||t.metricLabel||t.title||"统计指标").replace(/排行$/,""),i=Number(e.rank),o=Number.isFinite(i)?String(i).padStart(2,"0"):"--";return`
    +
    +
    + ${o} + ${Pe(e.name||"红原县")} +
    +
    ${Pe(a)}
    +
    + ${this.formatMapRankingValue(e.value)} + ${Pe(e.unit||t.unit||"")} +
    +
    +
    `}updateInfoPointStats(){var l,u;if(!((l=this.infoPointSprites)!=null&&l.length)||!((u=this.infoLabelElement)!=null&&u.length))return;if(!this.showTownRankingPointMarkers){this.clearInfoPointStats();return}const e=this.getTownRankingRows(this.currentTownRanking,Number.POSITIVE_INFINITY,!1);if(!e.length){this.clearInfoPointStats();return}const t=this.getTownRankingMeta(),a=e.slice(0,this.infoPointSprites.length),i=Math.max(...a.map(h=>h.value),1);this.infoPointSprites.forEach((h,p)=>{const y=a[p],g=this.infoLabelElement[p];if(!y){h.visible=!1,h.scale.set(0,0,0),g&&(g.visible=!1);return}const[w,C]=this.geoProjection(y.centroid||y.center),F=[w,-C,this.depth+.72];h.userData=E(I(I({},h.userData),y),{position:F,value:y.value,unit:y.unit||t.unit,rank:y.rank,metricTitle:t.title,index:p}),h.position.set(...F),h.visible=this.showTownRankingPointMarkers;const x=.78+y.value/i*.44;if(h.scale.set(x,x,x),g){const G=(p%2===0?.22:-.18)+(p===0?.12:0),H=p%3===0?.08:-.04;g.position.set(w+G,-C+H,this.depth+1.88+Math.min(p,4)*.03),g.userData=E(I({},y),{index:p}),g.element.innerHTML=this.getInfoPointHtml(y,t)}});const o=this.infoLabelElement[this.infoPointIndex];o&&this.showTownRankingPointMarkers&&this.mapAnimationComplete&&(o.visible=!0),this.showTownRankingPointMarkers&&this.mapAnimationComplete&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}clearInfoPointStats(){var e,t;clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null,this.infoPointIndex=0,this.InfoPointGroup&&(this.InfoPointGroup.visible=!1),(e=this.infoLabelElement)==null||e.forEach(a=>{a.visible=!1}),(t=this.infoPointSprites)==null||t.forEach(a=>{a.visible=!1,a.scale.set(0,0,0)})}createBar(){const e=this.getTownRankingRows();this.getTownRankingMeta();const t=new Ce;this.barGroup=t;const a=Math.max(...e.map(i=>i.value),1);this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[],e.map((i,o)=>{const l=this.getBarHeight(i.value,a),u=new ke({color:16777215,transparent:!0,opacity:0,depthTest:!1,fog:!1});new Rn(u,{uColor1:o>3?16506760:5291006,uColor2:o>3?16776948:7863285,size:l,dir:"y"});const h=new Qe(this.createBarGeometry(l),u);h.renderOrder=5;const[p,y]=this.geoProjection(i.centroid);h.position.set(p,-y,this.depth+.45),h.scale.set(1,1,0),h.userData=E(I({},i),{targetValue:i.value,geoHeight:l});const g=this.createQuan(new le(p,this.depth+.44,y),o);h.add(...this.createHUIGUANG(l,o>3?16776948:7863285)),t.add(h),t.rotation.x=-Math.PI/2,this.allBar.push(h),this.allBarMaterial.push(u),this.allGuangquan.push(g)}),this.scene.add(t),this.updateTownNameLabelStats(this.currentTownRanking)}setTownRanking(e){var o,l,u,h,p,y,g,w,C,F,x,G,H,J,ne,K;this.currentTownRanking=e;const t=this.getTownRankingMeta(e);if(this.showTownRankingBars=!!t.showBars,this.showTownRankingPointMarkers=!!t.showPointMarkers,t.hideMapLabels){this.hideAllMapStatisticLabels(),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=this.mapAnimationComplete);return}if(qs(e)){const V=!!(e!=null&&e.nationalFlow);this.setTradeNationalMapVisible(V),this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!1),this.hideVillageRankingLabels(),this.clearInfoPointStats(),this.mapGroup&&(this.mapGroup.visible=!V),this.labelGroup&&(this.labelGroup.visible=!1),this.flyLineGroup&&(this.flyLineGroup.visible=!1),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1),this.scatterGroup&&(this.scatterGroup.visible=!1),(o=this.allBar)!=null&&o.length&&(this.allBar.forEach(se=>{se.visible=!1,se.scale.set(1,1,0)}),(l=this.allBarMaterial)==null||l.forEach(se=>{se.opacity=0}),(u=this.allProvinceLabel)==null||u.forEach(se=>{se.visible=!1}),(h=this.allGuangquan)==null||h.forEach(se=>{se.visible=!1})),this.updateTradeFlowLayer(e),(e!=null&&e.mapView||e!=null&&e.cameraPosition)&&this.applyLayerMapView(null);return}if(this.setTradeNationalMapVisible(!1),this.hideTradeFlowLayer(),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=this.mapAnimationComplete),Hs(e)){this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!Us(e)),this.clearInfoPointStats(),this.updateVillageRankingLabels(e),(p=this.allBar)!=null&&p.length&&(this.allBar.forEach(V=>{V.visible=!1,V.scale.set(1,1,0)}),(y=this.allBarMaterial)==null||y.forEach(V=>{V.opacity=0}),(g=this.allProvinceLabel)==null||g.forEach(V=>{V.visible=!1}),(w=this.allGuangquan)==null||w.forEach(V=>{V.visible=!1}));return}if(this.setTownNameLabelsVisible(!t.calloutMode&&!t.hideTownNames),this.hideVillageRankingLabels(),t.calloutMode?this.updateTownNameLabelStats(null):this.updateTownNameLabelStats(e),!((C=this.allBar)!=null&&C.length))return;if(!this.showTownRankingBars){this.allBar.forEach(V=>{V.visible=!1,V.scale.set(1,1,0)}),(F=this.allBarMaterial)==null||F.forEach(V=>{V.opacity=0}),(x=this.allProvinceLabel)==null||x.forEach(V=>{V.visible=!1}),(G=this.allGuangquan)==null||G.forEach(V=>{V.visible=!1}),this.showTownRankingPointMarkers?(this.InfoPointGroup&&(this.InfoPointGroup.visible=this.mapAnimationComplete&&this.hasTownRankingRows(e)),this.updateInfoPointStats()):this.clearInfoPointStats();return}const a=this.getTownRankingRows(e,7,!1);if(!a.length){this.allBar.forEach(V=>{V.visible=!1,V.scale.set(1,1,0)}),(H=this.allProvinceLabel)==null||H.forEach(V=>{V.visible=!1}),(J=this.allGuangquan)==null||J.forEach(V=>{V.visible=!1}),this.clearInfoPointStats();return}this.InfoPointGroup&&(this.InfoPointGroup.visible=this.showTownRankingPointMarkers&&this.mapAnimationComplete),(ne=this.infoPointSprites)==null||ne.forEach(V=>{V.visible=this.showTownRankingPointMarkers});const i=Math.max(...a.map(V=>V.value),1);this.allBar.forEach((V,se)=>{const Ye=se{V.visible=!1}),this.allGuangquan.forEach((V,se)=>{V.visible=se{const Ye=this.allBar[se],rt=this.allGuangquan[se];if(!Ye)return;const{x:At,y:kt}=this.updateBarItem(Ye,V,se,i,this.mapAnimationComplete);rt&&(rt.visible=!0,rt.position.set(0,0,0),rt.children.forEach(z=>{z.position.set(At,this.depth+.44,kt),this.mapAnimationComplete&&z.scale.set(1,1,1)}))}),this.updateInfoPointStats()}createEvent(){let e=[];const t=i=>{i.traverse(o=>{o.isMesh&&(o.material=this.defaultMaterial)})},a=i=>{i.traverse(o=>{o.isMesh&&(o.material=this.defaultLightMaterial)})};this.eventElement.map(i=>{this.interactionManager.add(i),i.addEventListener("mousedown",o=>{this.handleMapClick(o)}),i.addEventListener("mouseover",o=>{e.includes(o.target.parent)||e.push(o.target.parent),document.body.style.cursor="pointer",a(o.target.parent)}),i.addEventListener("mouseout",o=>{e=e.filter(l=>l.userData.name!==o.target.parent.userData.name),e.length>0&&e[e.length-1],t(o.target.parent),document.body.style.cursor="default"})})}createHUIGUANG(e,t){let a=new Ht(.35,e);a.translate(0,e/2,0);const i=this.assets.instance.getResource("huiguang");i.colorSpace=Ta,i.wrapS=ct,i.wrapT=ct;let o=new ke({color:t,map:i,transparent:!0,opacity:.4,depthWrite:!1,side:Ee,blending:Ve}),l=new Qe(a,o);l.renderOrder=10,l.rotateX(Math.PI/2);let u=l.clone(),h=l.clone();return u.rotateY(Math.PI/180*60),h.rotateY(Math.PI/180*120),[l,u,h]}createQuan(e,t){const a=this.assets.instance.getResource("guangquan1"),i=this.assets.instance.getResource("guangquan2");let o=new Ht(.5,.5),l=new ke({color:16777215,map:a,alphaMap:a,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:Ve}),u=new ke({color:16777215,map:i,alphaMap:i,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:Ve}),h=new Qe(o,l),p=new Qe(o,u);return h.renderOrder=6,p.renderOrder=6,h.rotateX(-Math.PI/2),p.rotateX(-Math.PI/2),h.position.copy(e),p.position.copy(e),p.position.y-=.001,h.scale.set(0,0,0),p.scale.set(0,0,0),this.quanGroup=new Ce,this.quanGroup.add(h,p),this.scene.add(this.quanGroup),this.time.on("tick",()=>{h.rotation.z+=.05}),this.quanGroup}createDiffuse(){let e=new Ht(200,200),t=new ke({color:0,depthWrite:!1,transparent:!0,blending:oc});t.blendEquation=lc,t.blendSrc=uc,t.blendDst=cc,new bc({material:t,time:this.time,size:60,diffuseSpeed:8,diffuseColor:7442830,diffuseWidth:2,callback:i=>{const o=setTimeout(()=>{this.addSceneTween(wa.to(i.uniforms.uTime,{value:4,repeat:-1,duration:6,ease:"power1.easeIn"}))},3);this.addSceneTimer(o)}});let a=new Qe(e,t);a.renderOrder=3,a.rotation.x=-Math.PI/2,a.position.set(0,.21,0),this.scene.add(a)}createGrid(){new wc(this,{gridSize:54,gridDivision:24,gridColor:1990543,shapeSize:.55,shapeColor:3309487,pointSize:.085,pointColor:1993891,pointBlending:Ve})}createBottomBg(){let e=new Ht(24,24);const t=this.assets.instance.getResource("ocean");t.colorSpace=Ta,t.wrapS=ct,t.wrapT=ct,t.repeat.set(1,1);let a=new ke({map:t,opacity:.92,fog:!1}),i=new Qe(e,a);i.rotation.x=-Math.PI/2,i.position.set(0,-.7,0),this.scene.add(i)}createChinaBlurLine(){let e=new Ht(154,154);const t=this.assets.instance.getResource("chinaBlurLine");t.colorSpace=Ta,t.wrapS=ct,t.wrapT=ct,t.generateMipmaps=!1,t.minFilter=Ss,t.repeat.set(1,1);let a=new ke({color:4162253,alphaMap:t,transparent:!0,opacity:.62}),i=new Qe(e,a);i.rotateX(-Math.PI/2),i.position.set(-19.3,-.5,-19.7),this.scene.add(i)}createLabel(){let e=this,t=this.labelGroup,a=this.label3d,i=[],o=[];Vc.map(u=>{if(u.hide==!0)return!1;let h=l(u,a,t);i.push(h),o.push(h)}),this.otherLabel=i,this.townNameLabels=o;function l(u,h,p){let y=h.create("",`china-label ${u.blur?" blur":""}`,!0);const[g,w]=e.geoProjection(u.center);return y.init(`
    +
    ${u.name}
    +
    +
    `,new le(g,-w,e.depth+.85)),h.setLabelStyle(y,.018,"x"),y.setParent(p),y.userData=E(I({},u),{labelType:"town-label",baseScale:.018,townName:u.name}),y.element.addEventListener("pointerdown",C=>{e.handleTownRankingSelect(u.name,{preserveCamera:!0,statusText:`已选中${u.name}`})&&(C.preventDefault(),C.stopPropagation())}),y}}createRotateBorder(){let e=13.2,t=this.assets.instance.getResource("rotationBorder1"),a=this.assets.instance.getResource("rotationBorder2"),i=new xs(this,{width:e*1.178,needRotate:!0,rotateSpeed:.001,material:new ke({map:t,color:4763647,transparent:!0,opacity:.26,side:Ee,depthWrite:!1,blending:Ve}),position:new le(0,.31,0)});i.instance.rotation.x=-Math.PI/2,i.instance.renderOrder=6,i.instance.scale.set(0,0,0),i.setParent(this.scene);let o=new xs(this,{width:e*1.116,needRotate:!0,rotateSpeed:-.004,material:new ke({map:a,color:4763647,transparent:!0,opacity:.5,side:Ee,depthWrite:!1,blending:Ve}),position:new le(0,.33,0)});o.instance.rotation.x=-Math.PI/2,o.instance.renderOrder=6,o.instance.scale.set(0,0,0),o.setParent(this.scene),this.rotateBorder1=i.instance,this.rotateBorder2=o.instance}createFlyLine(){this.flyLineGroup=new Ce,this.flyLineGroup.visible=!1,this.scene.add(this.flyLineGroup)}createFocus(){this.flyLineFocusGroup.clear()}createParticles(){this.particles=new Rs(this,{num:10,range:30,dir:"up",speed:.05,material:new dc({map:Rs.createTexture(),size:1,color:61166,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,vertexColors:!0,blending:Ve,sizeAttenuation:!0})}),this.particleGroup=new Ce,this.scene.add(this.particleGroup),this.particleGroup.rotation.x=-Math.PI/2,this.particles.setParent(this.particleGroup),this.particles.enable=!0,this.particleGroup.visible=!0}createScatter(){this.scatterGroup=new Ce,this.scatterGroup.visible=!1,this.scatterGroup.rotation.x=-Math.PI/2,this.scene.add(this.scatterGroup);const e=this.assets.instance.getResource("arrow"),t=new va({map:e,color:16776948,fog:!1,transparent:!0,depthTest:!1});let a=js(Dc),i=a[0].value;a.map(o=>{const l=new ya(t);l.renderOrder=23;let u=.1+o.value/i*.2;l.scale.set(u,u,u);let[h,p]=this.geoProjection([o.lng,o.lat]);l.position.set(h,-p,this.depth+.45),l.userData.position=[h,-p,this.depth+.45],this.scatterGroup.add(l)})}createInfoPoint(){let e=this;this.InfoPointGroup=new Ce,this.scene.add(this.InfoPointGroup),this.InfoPointGroup.visible=!1,this.InfoPointGroup.rotation.x=-Math.PI/2,this.infoPointIndex=0,this.infoPointLabelTime=null,this.infoLabelElement=[],this.infoPointSprites=[];let t=this.label3d;const a=this.assets.instance.getResource("point");let i=[16776948,7863285],o=js(zc),l=o[0].value;o.map((h,p)=>{const y=new va({map:a,color:i[p%i.length],fog:!1,transparent:!0,depthTest:!1}),g=new ya(y);g.renderOrder=23;let w=.7+h.value/l*.4;g.scale.set(w,w,w);let[C,F]=this.geoProjection([h.lng,h.lat]),x=[C,-F,this.depth+.7];g.position.set(...x),g.userData.position=[...x],g.userData={position:[C,-F,this.depth+.7],name:h.name,value:h.value,level:h.level,index:p},this.InfoPointGroup.add(g);let G=u(h,t,this.InfoPointGroup,p);this.infoLabelElement.push(G),this.infoPointSprites.push(g),this.interactionManager.add(g),g.addEventListener("mousedown",H=>{var J,ne;if(this.clicked||!this.InfoPointGroup.visible)return!1;this.clicked=!0,this.infoPointIndex=H.target.userData.index,this.infoLabelElement.map(K=>{K.visible=!1}),G.visible=!0,this.handleTownRankingSelect(((J=H.target.userData)==null?void 0:J.name)||((ne=H.target.userData)==null?void 0:ne.townName)),this.createInfoPointLabelLoop()}),g.addEventListener("mouseup",H=>{this.clicked=!1}),g.addEventListener("mouseover",H=>{document.body.style.cursor="pointer"}),g.addEventListener("mouseout",H=>{document.body.style.cursor="default"})});function u(h,p,y,g){let w=p.create("","info-point",!0);const[C,F]=e.geoProjection([h.lng,h.lat]);return w.init(e.getInfoPointHtml(E(I({},h),{value:0,rank:g+1,unit:""}),e.getTownRankingMeta()),new le(C,-F,e.depth+1.9)),p.setLabelStyle(w,.015,"x"),w.setParent(y),w.visible=!1,w}}createInfoPointLabelLoop(){var e;this.scenePaused||!((e=this.infoLabelElement)!=null&&e.length)||(clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=setInterval(()=>{this.infoPointIndex++,this.infoPointIndex>=this.infoLabelElement.length&&(this.infoPointIndex=0),this.infoLabelElement.map((t,a)=>{this.infoPointIndex===a?t.visible=!0:t.visible=!1})},3e3))}createStorke(){const e=this.staticMapData.mapStroke,t=this.assets.instance.getResource("pathLine3");t.wrapS=t.wrapT=ct,t.repeat.set(2,1);let a=new ba(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new le(0,0,this.depth+.24),data:e,material:new ke({color:2868444,map:t,alphaMap:t,fog:!1,transparent:!0,opacity:1,blending:Ve}),type:"Line3",renderOrder:22,tubeRadius:.03});this.focusMapGroup.add(a.lineGroup),this.time.on("tick",()=>{t.offset.x+=.005})}handleMapClick(e){return oe(this,null,function*(){var o,l,u,h,p,y,g,w,C,F,x,G,H,J,ne,K,V,se,Ye,rt,At,kt,z,ht,Mt,Bt,pt,$t,ft,Ne,it,Me,qe,_e,Fe,Et,Ct,De,ze,Be,M;if(!this.currentTopicLayer)return;const t=this.getScreenPointFromEvent(e),a=this.getLngLatFromEvent(e);if(!a){this.clearSelectedFeature(),(l=(o=this.callbacks).onFeatureInfo)==null||l.call(o,{feature:null});return}if(this.boundaryDrawingEnabled){const L=((u=e==null?void 0:e.data)==null?void 0:u.originalEvent)||(e==null?void 0:e.originalEvent)||e;if(L!=null&&L.__analysisBoundaryHandled)return;this.addBoundaryDrawPoint(a);return}if(this.shouldClipLayerToHongyuanBoundary(this.currentTopicLayer)&&!this.isLngLatInHongyuanBoundary(a)){this.clearSelectedFeature(),(p=(h=this.callbacks).onFeatureInfo)==null||p.call(h,{feature:null}),(g=(y=this.callbacks).onLayerStatus)==null||g.call(y,{type:"success",text:"当前点击位置不在红原县边界内"});return}if(this.shouldClipLayerToLayerBounds(this.currentTopicLayer)&&!this.isLngLatInLayerClipBounds(a,this.currentTopicLayer)){this.clearSelectedFeature(),(C=(w=this.callbacks).onFeatureInfo)==null||C.call(w,{feature:null}),(x=(F=this.callbacks).onLayerStatus)==null||x.call(F,{type:"success",text:"当前点击位置不在图层显示范围内"});return}if(gd(this.currentTopicLayer)){this.clearSelectedFeature(),(H=(G=this.callbacks).onFeatureInfo)==null||H.call(G,{feature:null});return}if(An(this.currentTopicLayer)){const L=this.pickVectorFeatureAtPoint(a,t),A=(L==null?void 0:L.feature)||L;let D=(L==null?void 0:L.screen)||t;if(A)this.shouldClipLayerToHongyuanBoundary(this.currentTopicLayer)?(this.clearSelectedGeometryGroup(),this.setSelectedVectorFeatures([A])):this.showSelectedFeature(A),((J=this.currentTopicLayer)==null?void 0:J.key)==="yak-industry-points"&&(this.setSelectedVectorFeatures([A]),D=this.getPointFeatureScreenPoint(A)||D),(Ye=(se=this.callbacks).onFeatureInfo)==null||Ye.call(se,{feature:{id:((ne=A.properties)==null?void 0:ne.id)||((K=A.properties)==null?void 0:K.feature_id)||((V=A.properties)==null?void 0:V.project_name),properties:A.properties||{},feature:A,layer:this.currentTopicLayer,lngLat:a},screen:D}),(At=(rt=this.callbacks).onLayerStatus)==null||At.call(rt,{type:"success",text:"真实矢量要素已选中"});else{const Z=this.getTownNameFromMapEvent(e);if(this.handleTownRankingSelect(Z))return;this.clearSelectedFeature(),(z=(kt=this.callbacks).onFeatureInfo)==null||z.call(kt,{feature:null}),(Mt=(ht=this.callbacks).onLayerStatus)==null||Mt.call(ht,{type:"success",text:"当前点击位置无生态保护要素"})}return}const i=this.lngLatToWmsPixel(a);(pt=(Bt=this.callbacks).onFeatureInfo)==null||pt.call(Bt,{feature:null}),(ft=($t=this.callbacks).onFeatureLoading)==null||ft.call($t,!0);try{const L=yield Vs(this.currentTopicLayer,i,{size:St,buffer:10}),A=this.normalizeFeatureInfoAtPoint(L,a),D=A?null:yield this.queryFallbackFeatureInfo(a),Z=A||(D==null?void 0:D.feature);if(Z){const re=yield this.enrichFeatureInfo(Z,i,a);this.showSelectedFeature(re.feature||re),(it=(Ne=this.callbacks).onFeatureInfo)==null||it.call(Ne,{feature:E(I({},re),{layer:(D==null?void 0:D.layer)||this.currentTopicLayer,lngLat:a}),screen:t})}else this.clearSelectedFeature(),(qe=(Me=this.callbacks).onFeatureInfo)==null||qe.call(Me,{feature:null});Z||(Fe=(_e=this.callbacks).onLayerStatus)==null||Fe.call(_e,{type:"success",text:"当前点击位置无图斑"})}catch(L){this.clearSelectedFeature(),(Ct=(Et=this.callbacks).onFeatureInfo)==null||Ct.call(Et,{feature:null}),(ze=(De=this.callbacks).onLayerStatus)==null||ze.call(De,{type:"error",text:"图斑信息查询失败"})}finally{(M=(Be=this.callbacks).onFeatureLoading)==null||M.call(Be,!1)}})}handleCanvasBoundaryPointerDown(e){var a,i;if(!this.boundaryDrawingEnabled)return;const t=this.getLngLatFromCanvasEvent(e);t&&this.addBoundaryDrawPoint(t)&&(e.__analysisBoundaryHandled=!0),(a=e.preventDefault)==null||a.call(e),(i=e.stopPropagation)==null||i.call(e)}handleCanvasBoundaryDoubleClick(e){var a,i;if(!this.boundaryDrawingEnabled)return;const t=this.getLngLatFromCanvasEvent(e);(this.boundaryDrawPoints||[]).length<3&&t&&this.addBoundaryDrawPoint(t),(this.boundaryDrawPoints||[]).length>=3&&(this.finishBoundaryDrawing(),e.__analysisBoundaryHandled=!0),(a=e.preventDefault)==null||a.call(e),(i=e.stopPropagation)==null||i.call(e)}getLngLatFromCanvasEvent(e){var w,C,F;if(!((w=this.camera)!=null&&w.instance)||!this.focusMapGroup||!this.canvas)return null;const t=this.canvas.getBoundingClientRect();if(!t.width||!t.height)return null;const a=(C=this.interactionManager)==null?void 0:C.raycaster;if(!(a!=null&&a.setFromCamera))return null;const i={x:(e.clientX-t.left)/t.width*2-1,y:-((e.clientY-t.top)/t.height)*2+1};a.setFromCamera(i,this.camera.instance);const l=((F=a.intersectObjects(this.eventElement||[],!0)[0])==null?void 0:F.point)||this.getRayMapPlaneIntersection(a.ray);if(!l)return null;const u=this.focusMapGroup.worldToLocal(l.clone()),p=sa().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]).invert([u.x,-u.y]);if(!p)return null;const y=Number(p[0]),g=Number(p[1]);return!Number.isFinite(y)||!Number.isFinite(g)?null:yq.east+.03||gq.north+.03?this.getFallbackLngLatFromPointer(e,t):{lng:y,lat:g}}getFallbackLngLatFromPointer(e,t=(i=>(i=(a=>(a=this.canvas)==null?void 0:a.getBoundingClientRect)())==null?void 0:i.call(a))()){if(!(t!=null&&t.width)||!(t!=null&&t.height))return null;const o=Math.min(1,Math.max(0,(e.clientX-t.left)/t.width)),l=Math.min(1,Math.max(0,(e.clientY-t.top)/t.height)),u=q.west+(q.east-q.west)*o,h=q.north-(q.north-q.south)*l;return{lng:u,lat:h}}getRayMapPlaneIntersection(e){if(!(e!=null&&e.origin)||!(e!=null&&e.direction)||!this.focusMapGroup)return null;const t=this.focusMapGroup.worldToLocal(e.origin.clone()),i=this.focusMapGroup.worldToLocal(e.origin.clone().add(e.direction.clone())).sub(t),o=this.depth+.22;if(Math.abs(i.z)<1e-8)return null;const l=(o-t.z)/i.z;if(!Number.isFinite(l)||l<0)return null;const u=t.add(i.multiplyScalar(l));return this.focusMapGroup.localToWorld(u)}enrichFeatureInfo(e,t,a){return oe(this,null,function*(){const i=this.getLayerTopicKey(this.currentTopicLayer);if(!["grassland","wetland","woodland"].includes(i))return e;const l=(Dr[i]||[]).find(g=>g.key===`${i}-distribution`),u=(this.visibleTopicLayers||[]).filter(g=>this.getLayerTopicKey(g)===i).slice(0,5),h=[l,this.currentTopicLayer,...u].filter(g=>g==null?void 0:g.layerName).filter((g,w,C)=>C.findIndex(F=>this.getLayerQueryKey(F)===this.getLayerQueryKey(g))===w);if(!h.length)return e;const p=yield Promise.allSettled([...h.filter(g=>this.getLayerQueryKey(g)!==this.getLayerQueryKey(this.currentTopicLayer)).map(g=>oe(this,null,function*(){const w=yield Vs(g,t,{size:St,buffer:10}),C=this.normalizeFeatureInfoAtPoint(w,a);return C?{layer:g,feature:C,source:"wms"}:null})),...h.map(g=>oe(this,null,function*(){const w=yield this.queryLayerFeatureByPoint(g,a);return w?{layer:g,feature:w,source:"wfs"}:null}))]),y=I({},e.properties||{});return p.forEach(g=>{var w,C;g.status!=="fulfilled"||!((C=(w=g.value)==null?void 0:w.feature)!=null&&C.properties)||this.mergeBusinessProperties(y,g.value.feature.properties,g.value.layer)}),E(I({},e),{properties:y,relatedFeatures:p.filter(g=>{var w;return g.status==="fulfilled"&&((w=g.value)==null?void 0:w.feature)}).map(g=>g.value),feature:E(I({},e.feature||{}),{properties:y})})})}queryFallbackFeatureInfo(e){return oe(this,null,function*(){const t=this.getLayerTopicKey(this.currentTopicLayer);if(!["grassland","wetland","woodland"].includes(t))return null;const i=[(Dr[t]||[]).find(o=>o.key===`${t}-distribution`),this.currentTopicLayer,...(this.visibleTopicLayers||[]).filter(o=>this.getLayerTopicKey(o)===t)].filter((o,l,u)=>(o==null?void 0:o.layerName)&&u.findIndex(h=>this.getLayerQueryKey(h)===this.getLayerQueryKey(o))===l);for(const o of i){const l=yield this.queryLayerFeatureByPoint(o,e,{requireContainment:!0});if(l)return{layer:o,feature:l}}return null})}normalizeFeatureInfoAtPoint(e,t){const a=Array.isArray(e==null?void 0:e.features)?e.features:[];if(!a.length)return null;const i=this.pickFeatureAtPoint(a,t,{requireContainment:!0});if(!i)return null;const o=i.properties||{};return{id:i.id||o.gid||o.objectid||o.OBJECTID,properties:o,feature:i}}queryLayerFeatureByPoint(i,o){return oe(this,arguments,function*(e,t,a={}){var F,x,G;if(!(e!=null&&e.layerName)||!Number.isFinite(t==null?void 0:t.lng)||!Number.isFinite(t==null?void 0:t.lat))return null;const l=e.pointQueryTolerance||.0015,u=e.geometryField||"geom",h=t.lng-l,p=t.lat-l,y=t.lng+l,g=t.lat+l,w=yield Ds(e.layerName,{cqlFilter:`BBOX(${u},${h},${p},${y},${g})`,maxFeatures:8,timeout:12e3}),C=this.pickFeatureAtPoint((w==null?void 0:w.features)||[],t,a);return C?{id:C.id||((F=C.properties)==null?void 0:F.gid)||((x=C.properties)==null?void 0:x.objectid)||((G=C.properties)==null?void 0:G.OBJECTID),properties:C.properties||{},feature:C}:null})}pickFeatureAtPoint(e,t,a={}){var o;if(!Array.isArray(e)||!e.length)return null;const i=e.filter(l=>this.isLngLatInGeometry(t,l.geometry)).sort((l,u)=>this.getGeometryAreaScore(l.geometry)-this.getGeometryAreaScore(u.geometry));return i.length?i[0]:a.requireContainment?null:((o=e.map(l=>({feature:l,distance:this.getGeometryDistanceScore(l.geometry,t)})).sort((l,u)=>l.distance-u.distance)[0])==null?void 0:o.feature)||null}isLngLatInGeometry(e,t){return!e||!(t!=null&&t.coordinates)?!1:t.type==="Polygon"?this.isLngLatInPolygon(e,t.coordinates):t.type==="MultiPolygon"?t.coordinates.some(a=>this.isLngLatInPolygon(e,a)):!1}isLngLatInPolygon(e,t=[]){return!t.length||!this.isLngLatInRing(e,t[0])?!1:!t.slice(1).some(i=>this.isLngLatInRing(e,i))}isLngLatInRing(e,t=[]){if(t.length<3)return!1;let a=!1;const i=e.lng,o=e.lat;for(let l=0,u=t.length-1;lo!=C>o&&i<(w-y)*(o-g)/(C-g)+y&&(a=!a)}return a}isPointOnSegment(e,t,a,i,o,l){const u=(e-a)*(l-i)-(t-i)*(o-a);return Math.abs(u)>1e-10?!1:(e-a)*(e-o)+(t-i)*(t-l)<=1e-10}getGeometryAreaScore(e){return e!=null&&e.coordinates?e.type==="Polygon"?this.getLngLatPolygonAreaScore(e.coordinates):e.type==="MultiPolygon"?e.coordinates.reduce((t,a)=>t+this.getLngLatPolygonAreaScore(a),0):Number.POSITIVE_INFINITY:Number.POSITIVE_INFINITY}getLngLatPolygonAreaScore(e=[]){const t=e[0]||[];if(t.length<3)return Number.POSITIVE_INFINITY;let a=0;for(let i=0;i({minLng:Math.min(a.minLng,Number((i==null?void 0:i[0])||0)),minLat:Math.min(a.minLat,Number((i==null?void 0:i[1])||0)),maxLng:Math.max(a.maxLng,Number((i==null?void 0:i[0])||0)),maxLat:Math.max(a.maxLat,Number((i==null?void 0:i[1])||0))}),{minLng:Number.POSITIVE_INFINITY,minLat:Number.POSITIVE_INFINITY,maxLng:Number.NEGATIVE_INFINITY,maxLat:Number.NEGATIVE_INFINITY}):null}getGeometryCoordinateList(e){const t=[],a=i=>{if(Array.isArray(i)){if(typeof i[0]=="number"&&typeof i[1]=="number"){t.push(i);return}i.forEach(a)}};return a(e==null?void 0:e.coordinates),t}pickVectorFeatureAtPoint(e,t){var l;const a=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]);if(((l=this.currentTopicLayer)==null?void 0:l.key)==="yak-industry-points"){const u=this.pickPointFeatureAtScreenPoint(a,t);if(u)return u}const i=a.filter(u=>this.isLngLatInGeometry(e,u.geometry)).sort((u,h)=>this.getGeometryAreaScore(u.geometry)-this.getGeometryAreaScore(h.geometry));if(i.length)return i[0];const o=a.find(u=>this.isPointOrLineNearLngLat(u.geometry,e));return o||null}pickPointFeatureAtScreenPoint(e,t){var o;if(!t||!((o=this.camera)!=null&&o.instance)||!this.focusMapGroup||!this.canvas)return null;const i=(e||[]).filter(l=>{var u;return((u=l==null?void 0:l.geometry)==null?void 0:u.type)==="Point"}).map(l=>{const u=this.getPointFeatureScreenPoint(l);return u?{feature:l,screen:u,distance:Math.hypot(u.x-t.x,u.y-t.y)}:null}).filter(Boolean).sort((l,u)=>l.distance-u.distance)[0];return(i==null?void 0:i.distance)<=22?{feature:i.feature,screen:i.screen}:null}getPointFeatureScreenPoint(e){var a,i;const t=(e==null?void 0:e.geometry)||((a=e==null?void 0:e.feature)==null?void 0:a.geometry);return(t==null?void 0:t.type)!=="Point"?null:((i=this.currentTopicLayer)==null?void 0:i.key)==="yak-industry-points"?this.lngLatToLayerScreenPoint(t.coordinates,this.depth+.36):this.lngLatToScreenPoint(t.coordinates,this.depth+.32)}lngLatToLayerLocalPoint(e,t=0){const a=()=>{const p=Number(e==null?void 0:e[0]),y=Number(e==null?void 0:e[1]);if(!Number.isFinite(p)||!Number.isFinite(y))return new le(0,0,Number(t)||0);const[g,w]=this.geoProjection([p,y]);return new le(g,-w,Number(t)||0)},i=this.topicLayerUvBounds;if(!i)return a();const o=this.lngLatToLayerCanvasPoint(e),l=this.topicLayerCanvas;if(!(l!=null&&l.width)||!(l!=null&&l.height))return a();const u=i.left+o.x/l.width*(i.right-i.left),h=i.bottom+(l.height-o.y)/l.height*(i.top-i.bottom);return new le(u,h,Number(t)||0)}lngLatToLayerScreenPoint(e,t=0){return this.localMapPointToScreenPoint(this.lngLatToLayerLocalPoint(e,t))}lngLatToScreenPoint(e,t=0){const a=Number(e==null?void 0:e[0]),i=Number(e==null?void 0:e[1]);if(!Number.isFinite(a)||!Number.isFinite(i))return null;const o=this.lngLatToWorldPoint([a,i],t);return this.worldPointToScreenPoint(o)}localMapPointToScreenPoint(e){const t=this.focusMapGroup?this.focusMapGroup.localToWorld(e):e;return this.worldPointToScreenPoint(t)}worldPointToScreenPoint(e){var i;if(!((i=this.camera)!=null&&i.instance)||!this.canvas||!e)return null;const t=this.canvas.getBoundingClientRect();if(!t.width||!t.height)return null;const a=e.clone().project(this.camera.instance);return!Number.isFinite(a.x)||!Number.isFinite(a.y)?null:{x:t.left+(a.x+1)/2*t.width,y:t.top+(1-a.y)/2*t.height}}focusProject(e){var w,C,F,x;const t=String(e||"").trim();if(!t)return!1;const a=(this.currentVectorFeatures||[]).filter(G=>{var H;return String(((H=G==null?void 0:G.properties)==null?void 0:H.project_name)||"").trim()===t});if(!a.length)return(C=(w=this.callbacks).onLayerStatus)==null||C.call(w,{type:"success",text:"当前项目图斑尚未加载"}),!1;const i=this.getFeatureListLngLatBounds(a);if(!i)return!1;const o=this.getProjectHighlightFeatures(a);o.length?(this.showSelectedFeatures(o),this.setSelectedVectorFeatures(o)):this.clearSelectedFeature();const l=[(i.minLng+i.maxLng)/2,(i.minLat+i.maxLat)/2],u=Math.max(i.maxLng-i.minLng,i.maxLat-i.minLat),h=Math.max(.22,Math.min(.55,u*1.25)),p=this.lngLatToWorldPoint(l,.72),y=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(h),g=p.clone().add(y);return this.animateMapCamera(g,p,.75),(x=(F=this.callbacks).onLayerStatus)==null||x.call(F,{type:"success",text:"已定位项目"}),!0}setBoundaryDrawing(e){var t,a,i,o;this.boundaryDrawingEnabled=!!e,this.boundaryDrawingEnabled?(this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.clearSelectedFeature(),(a=(t=this.callbacks).onLayerStatus)==null||a.call(t,{type:"success",text:"请在地图上依次点击绘制分析边界"})):(o=(i=this.callbacks).onLayerStatus)==null||o.call(i,{type:"success",text:"已退出边界绘制"}),this.redrawVectorTopicLayer()}addBoundaryDrawPoint(e){var o,l,u,h;if(!Number.isFinite(e==null?void 0:e.lng)||!Number.isFinite(e==null?void 0:e.lat))return!1;const t=Date.now(),a=this.lastBoundaryDrawPoint;return a&&t-a.time<350&&Math.hypot(e.lng-a.lng,e.lat-a.lat)<8e-4?!1:(this.lastBoundaryDrawPoint={lng:e.lng,lat:e.lat,time:t},this.boundaryDrawPoints=[...this.boundaryDrawPoints||[],{lng:e.lng,lat:e.lat}],(l=(o=this.callbacks).onDrawBoundary)==null||l.call(o,{status:"drawing",points:this.boundaryDrawPoints,pointCount:this.boundaryDrawPoints.length}),(h=(u=this.callbacks).onLayerStatus)==null||h.call(u,{type:"success",text:`已添加边界点 ${this.boundaryDrawPoints.length} 个`}),this.redrawVectorTopicLayer(),!0)}undoBoundaryPoint(){var e,t,a;return(e=this.boundaryDrawPoints)!=null&&e.length?(this.boundaryDrawPoints=this.boundaryDrawPoints.slice(0,-1),(a=(t=this.callbacks).onDrawBoundary)==null||a.call(t,{status:"drawing",points:this.boundaryDrawPoints,pointCount:this.boundaryDrawPoints.length}),this.redrawVectorTopicLayer(),!0):!1}finishBoundaryDrawing(){var l,u,h,p,y,g;const e=this.boundaryDrawPoints||[];if(e.length<3)return(u=(l=this.callbacks).onLayerStatus)==null||u.call(l,{type:"error",text:"至少需要 3 个点才能形成分析边界"}),null;const t=e.map(w=>[w.lng,w.lat]),a=t[0],i=t[t.length-1];(a[0]!==i[0]||a[1]!==i[1])&&t.push([...a]);const o={type:"Feature",properties:{source:"draw",pointCount:e.length},geometry:{type:"Polygon",coordinates:[t]}};return this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=o,(p=(h=this.callbacks).onDrawBoundary)==null||p.call(h,{status:"complete",feature:o,points:e,pointCount:e.length}),(g=(y=this.callbacks).onLayerStatus)==null||g.call(y,{type:"success",text:"分析边界已生成"}),this.redrawVectorTopicLayer(),o}clearAnalysisBoundary(){var e,t;return this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.redrawVectorTopicLayer(),(t=(e=this.callbacks).onDrawBoundary)==null||t.call(e,{status:"clear",points:[],pointCount:0}),!0}showAnalysisResult(e={}){var o;const t=Object.prototype.hasOwnProperty.call(e,"boundary")||Object.prototype.hasOwnProperty.call(e,"boundaryFeature")||Object.prototype.hasOwnProperty.call(e,"feature"),a=e.boundary||e.boundaryFeature||e.feature||null,i=Array.isArray(e.matches)?e.matches:[];return t&&(this.analysisBoundaryFeature=(a==null?void 0:a.type)==="Feature"?a:a!=null&&a.geometry?{type:"Feature",properties:a.properties||{},geometry:a.geometry}:null),this.analysisMatchedFeatures=i.map(l=>(l==null?void 0:l.feature)||l).filter(l=>l==null?void 0:l.geometry),e.preserveView||(!t&&this.analysisMatchedFeatures.length?this.focusAnalysisFeatures(this.analysisMatchedFeatures):(o=this.analysisBoundaryFeature)!=null&&o.geometry&&this.focusAnalysisGeometry(this.analysisBoundaryFeature.geometry)),this.redrawVectorTopicLayer(),!0}focusAnalysisFeatures(e=[]){const t=this.getFeatureListLngLatBounds(e);if(!t)return!1;const a=[(t.minLng+t.maxLng)/2,(t.minLat+t.maxLat)/2];return this.flyToLngLat(a,{span:Math.max(t.maxLng-t.minLng,t.maxLat-t.minLat),statusText:"已定位命中项目"})}focusAnalysisGeometry(e){const t=this.getGeometryLngLatBounds(e);if(!t)return!1;const a=[(t.minLng+t.maxLng)/2,(t.minLat+t.maxLat)/2];return this.flyToLngLat(a,{span:Math.max(t.maxLng-t.minLng,t.maxLat-t.minLat),statusText:"已定位分析边界"})}focusPasture(e={}){var i,o;const a=[...this.normalizePastureGrasslandRows(e==null?void 0:e.grasslands),...this.normalizePastureGrasslandRows(e==null?void 0:e.wkt)].map((l,u)=>{const h=this.normalizePastureGrasslandGeometry(l);if(!h)return null;const p=this.normalizePastureGrasslandProperties(l);return{type:"Feature",properties:E(I({},p),{id:p.id||p.gid||`${(e==null?void 0:e.name)||"pasture"}-${u}`,pasture_name:(e==null?void 0:e.name)||p.pastureName||p.name}),geometry:h}}).filter(Boolean);if(a.length){const l=this.getFeatureListLngLatBounds(a);if(!l)return!1;this.showSelectedFeatures(a,{mode:"pasture"}),this.setSelectedVectorFeatures(a);const u=[(l.minLng+l.maxLng)/2,(l.minLat+l.maxLat)/2];return this.flyToLngLat(u,{span:Math.max(l.maxLng-l.minLng,l.maxLat-l.minLat),statusText:"已定位具体草场"}),!0}return(o=(i=this.callbacks).onLayerStatus)==null||o.call(i,{type:"warning",text:"当前牧户暂无可定位数据"}),!1}normalizePastureGrasslandRows(e){return e?typeof e=="string"?[e]:Array.isArray(e)?e:(e==null?void 0:e.type)==="FeatureCollection"&&Array.isArray(e.features)?e.features:(e==null?void 0:e.type)==="Feature"||this.isGeoJsonGeometry(e)?[e]:Array.isArray(e==null?void 0:e.rows)?e.rows:Array.isArray(e==null?void 0:e.data)?e.data:e!=null&&e.data?this.normalizePastureGrasslandRows(e.data):Array.isArray(e==null?void 0:e.list)?e.list:Array.isArray(e==null?void 0:e.features)?e.features:e!=null&&e.wkt||e!=null&&e.geo||e!=null&&e.geom||e!=null&&e.geometryWkt||e!=null&&e.geometry_wkt||e!=null&&e.shape||e!=null&&e.location||e!=null&&e.geometry?[e]:[]:[]}normalizePastureGrasslandGeometry(e){var t;return typeof e=="string"?this.parseGeometryText(e):(e==null?void 0:e.type)==="Feature"?this.normalizePastureGrasslandGeometry(e.geometry):this.isGeoJsonGeometry(e)?e:typeof(e==null?void 0:e.geometry)=="string"?this.parseGeometryText(e.geometry):((t=e==null?void 0:e.geometry)==null?void 0:t.type)==="Feature"?this.normalizePastureGrasslandGeometry(e.geometry.geometry):this.isGeoJsonGeometry(e==null?void 0:e.geometry)?e.geometry:this.parseGeometryText((e==null?void 0:e.wkt)||(e==null?void 0:e.geo)||(e==null?void 0:e.geom)||(e==null?void 0:e.geometryWkt)||(e==null?void 0:e.geometry_wkt)||(e==null?void 0:e.shape)||(e==null?void 0:e.location))}normalizePastureGrasslandProperties(e){return!e||typeof e!="object"||Array.isArray(e)?{wkt:e}:e.type==="Feature"?e.properties||{}:e}parseGeometryText(e){const t=String(e||"").trim();if(!t)return null;if(t.startsWith("{")||t.startsWith("["))try{const a=JSON.parse(t);if((a==null?void 0:a.type)==="Feature")return this.normalizePastureGrasslandGeometry(a);if(this.isGeoJsonGeometry(a))return a}catch(a){return null}return this.parseWktGeometry(t)}isGeoJsonGeometry(e){return!!(e&&["Polygon","MultiPolygon","LineString","MultiLineString","Point"].includes(e.type)&&e.coordinates)}flyToLngLat(e,t={}){var g,w;const a=Array.isArray(e)?e:[e==null?void 0:e.lng,e==null?void 0:e.lat],i=Number(a==null?void 0:a[0]),o=Number(a==null?void 0:a[1]);if(!Number.isFinite(i)||!Number.isFinite(o))return!1;const l=Number(t.span),u=Number.isFinite(l)?Math.max(.2,Math.min(.55,l*1.25)):.32,h=this.lngLatToWorldPoint([i,o],.72),p=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(u),y=h.clone().add(p);return this.animateMapCamera(y,h,t.duration||.75),(w=(g=this.callbacks).onLayerStatus)==null||w.call(g,{type:"success",text:t.statusText||"已定位"}),!0}getProjectHighlightFeatures(e){const t=e.filter(i=>{var l;const o=String(((l=i==null?void 0:i.geometry)==null?void 0:l.type)||"");return o.includes("Polygon")||o.includes("LineString")}),a=t.filter(i=>{var o;return((o=i==null?void 0:i.properties)==null?void 0:o.feature_role)==="工程范围"});return a.length?a:t}getFeatureListLngLatBounds(e){return e.reduce((t,a)=>{const i=this.getGeometryLngLatBounds(a.geometry);return i?t?{minLng:Math.min(t.minLng,i.minLng),minLat:Math.min(t.minLat,i.minLat),maxLng:Math.max(t.maxLng,i.maxLng),maxLat:Math.max(t.maxLat,i.maxLat)}:I({},i):t},null)}isPointOrLineNearLngLat(e,t){return e!=null&&e.coordinates?e.type==="Point"?this.getCoordinateDistance(e.coordinates,[t.lng,t.lat])<=.02:e.type==="LineString"?this.isCoordinateNearLine(e.coordinates,t,.004):e.type==="MultiLineString"?e.coordinates.some(a=>this.isCoordinateNearLine(a,t,.004)):!1:!1}isCoordinateNearLine(e,t,a){if(!Array.isArray(e)||e.length<2)return!1;const i=[t.lng,t.lat];for(let o=1;oo.some(l=>l.key===a||l.layerName===t));return(i==null?void 0:i[0])||""}getLayerQueryKey(e){return[(e==null?void 0:e.layerName)||"",(e==null?void 0:e.styles)||"",(e==null?void 0:e.cqlFilter)||"",(e==null?void 0:e.key)||""].join("|")}mergeBusinessProperties(e,t,a){const i=(a==null?void 0:a.key)||"";if(Object.entries(t||{}).forEach(([o,l])=>{l==null||l===""||(e[o]===void 0||e[o]===null||e[o]==="")&&(e[o]=l)}),i==="basic-grassland"){const o=(t==null?void 0:t.basic_type_name)||(t==null?void 0:t.grassland_category_name)||(t==null?void 0:t.land_class_name)||(t==null?void 0:t.land_use_name)||(t==null?void 0:t.base_grass);o!=null&&o!==""&&(e.basic_type_name=o)}if(i==="grassland-level"){const o=(t==null?void 0:t.grassland_level)||(t==null?void 0:t.level)||(t==null?void 0:t.grassland_level_name)||(t==null?void 0:t.level_name);o!=null&&o!==""&&(e.grassland_level=o)}if(i==="grassland-type"||i==="wetland-type"){const o=(t==null?void 0:t.grass_min_type)||(t==null?void 0:t.grass_type)||(t==null?void 0:t.grassland_type)||(t==null?void 0:t.type_name)||(t==null?void 0:t.type);o!=null&&o!==""&&(e.grass_min_type=o)}if(i==="grassland-yield"||i==="wetland-yield"){const o=(t==null?void 0:t.yield)||(t==null?void 0:t.xc_yield)||(t==null?void 0:t.xb_xc_yield)||(t==null?void 0:t.fresh_grass_yield)||(t==null?void 0:t.value),l=(t==null?void 0:t.mu_yield)||(t==null?void 0:t.xc_mu_yield)||(t==null?void 0:t.xb_xc_mu_yield)||(t==null?void 0:t.yield_per_mu);o!=null&&o!==""&&(e.fresh_grass_yield=o),l!=null&&l!==""&&(e.mu_yield=l)}if(i==="grassland-health"){const o=(t==null?void 0:t.health_level)||(t==null?void 0:t.health_level_name)||(t==null?void 0:t.ndvi_level)||(t==null?void 0:t.level)||(t==null?void 0:t.level_name),l=(t==null?void 0:t.ndvi)||(t==null?void 0:t.NDVI)||(t==null?void 0:t.value);o!=null&&o!==""&&(e.health_level=o),l!=null&&l!==""&&(e.ndvi=l);const u=(t==null?void 0:t.degradation_level)||(t==null?void 0:t.degradation_level_name)||(t==null?void 0:t.level)||(t==null?void 0:t.level_name);u!=null&&u!==""&&(e.degradation_level=u)}}getScreenPointFromEvent(e){var a;const t=((a=e==null?void 0:e.data)==null?void 0:a.originalEvent)||(e==null?void 0:e.originalEvent)||e;return(t==null?void 0:t.clientX)!==void 0&&(t==null?void 0:t.clientY)!==void 0?{x:t.clientX,y:t.clientY}:null}getLngLatFromEvent(e){var u,h,p;const a=(p=(((h=(u=this.interactionManager)==null?void 0:u.raycaster)==null?void 0:h.intersectObject(e.target,!1))||[])[0])==null?void 0:p.point;if(!a)return null;const i=this.focusMapGroup.worldToLocal(a.clone()),l=sa().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]).invert([i.x,-i.y]);return l?{lng:l[0],lat:l[1]}:null}lngLatToWmsPixel({lng:e,lat:t}){const a=(e-q.west)/(q.east-q.west)*St.width,i=(q.north-t)/(q.north-q.south)*St.height;return{x:a,y:i}}showSelectedFeature(e,t={}){var i;const a=(e==null?void 0:e.geometry)||((i=e==null?void 0:e.feature)==null?void 0:i.geometry);this.clearSelectedFeature(),this.createSelectedFeatureGroup(),this.addSelectedGeometry(a,t),this.selectedFeatureGroup.children.length||this.clearSelectedFeature()}showSelectedFeatures(e=[],t={}){this.clearSelectedFeature(),this.createSelectedFeatureGroup(),e.forEach(a=>{var o;const i=(a==null?void 0:a.geometry)||((o=a==null?void 0:a.feature)==null?void 0:o.geometry);this.addSelectedGeometry(i,t)}),this.selectedFeatureGroup.children.length||this.clearSelectedFeature()}setSelectedVectorFeatures(e=[]){this.selectedVectorFeatures=[...e],this.redrawVectorTopicLayer()}getSelectedFeatureStyle(e={}){const t=e.mode==="pasture",a=e.mode==="town";return{fillColor:Os,fillOpacity:t?.46:a?.24:.54,lineColor:pd,lineOpacity:.98,glowColor:Ws,glowOpacity:t?.92:.96,renderOrderBase:t?42:a?40:35,boundary:t||a,boundaryColor:Os,boundaryGlowColor:Ws,boundaryWidth:a?.012:.018,boundaryGlowWidth:a?.045:.06,boundaryOpacity:.95,boundaryGlowOpacity:a?.34:.42}}addSelectedGeometry(e,t={}){if(!(e!=null&&e.coordinates)||!this.selectedFeatureGroup)return;const a=this.getSelectedFeatureStyle(t),i=this.getDisplayFeaturePolygons(e),o=new ke({color:a.fillColor,transparent:!0,opacity:a.fillOpacity,side:Ee,depthWrite:!1,fog:!1}),l=new ga({color:a.lineColor,transparent:!0,opacity:a.lineOpacity,linewidth:2,depthTest:!1,depthWrite:!1,fog:!1}),u=new ga({color:a.glowColor,transparent:!0,opacity:a.glowOpacity,linewidth:3,depthTest:!1,depthWrite:!1,fog:!1}),h=a.boundary?new ke({color:a.boundaryColor,transparent:!0,opacity:a.boundaryOpacity,side:Ee,depthTest:!1,depthWrite:!1,fog:!1}):null,p=a.boundary?new ke({color:a.boundaryGlowColor,transparent:!0,opacity:a.boundaryGlowOpacity,side:Ee,depthTest:!1,depthWrite:!1,fog:!1,blending:Ve}):null;i.length&&i.forEach(g=>{const w=this.createProjectedShape(g);if(!w)return;const C=new hc(w),F=new Qe(C,o);F.renderOrder=a.renderOrderBase,this.selectedFeatureGroup.add(F),g.forEach(x=>{const G=this.createProjectedRingPoints(x);if(G.length<3)return;a.boundary&&(this.addSelectedBoundaryBand(G,p,a.boundaryGlowWidth,a.renderOrderBase+1,!0),this.addSelectedBoundaryBand(G,h,a.boundaryWidth,a.renderOrderBase+4,!0));const H=new Va().setFromPoints(G),J=new ks(H,l);J.renderOrder=a.renderOrderBase+5,this.selectedFeatureGroup.add(J);const ne=new Va().setFromPoints(G),K=new ks(ne,u);K.renderOrder=a.renderOrderBase+3,K.scale.set(1.004,1.004,1),this.selectedFeatureGroup.add(K)})});const y=this.normalizeFeatureLineStrings(e);y.length&&y.forEach(g=>{const w=this.createProjectedRingPoints(g);if(w.length<2)return;a.boundary&&(this.addSelectedBoundaryBand(w,p,a.boundaryGlowWidth,a.renderOrderBase+1,!1),this.addSelectedBoundaryBand(w,h,a.boundaryWidth,a.renderOrderBase+4,!1));const C=new Va().setFromPoints(w),F=new Ms(C,u);F.renderOrder=a.renderOrderBase+3,F.scale.set(1.004,1.004,1),this.selectedFeatureGroup.add(F);const x=new Va().setFromPoints(w),G=new Ms(x,l);G.renderOrder=a.renderOrderBase+5,this.selectedFeatureGroup.add(G)})}addSelectedBoundaryBand(e,t,a,i,o=!0){if(!t||!this.selectedFeatureGroup)return;const l=this.createPathBandGeometry(e,a,o);if(!l)return;const u=new Qe(l,t);u.renderOrder=i,this.selectedFeatureGroup.add(u)}createPathBandGeometry(e,t,a=!0){const i=this.normalizePathBandPoints(e,a);if(i.length<(a?3:2))return null;const o=Math.max(Number(t)||0,0)/2;if(!o)return null;const l=[],u=a?i.length:i.length-1;for(let p=0;pNumber.isFinite(i==null?void 0:i.x)&&Number.isFinite(i==null?void 0:i.y)).map(i=>i.clone());if(t&&a.length>2){const i=a[0],o=a[a.length-1];i.distanceToSquared(o)<1e-10&&a.pop()}return a}clearSelectedFeature(){var t;const e=!!((t=this.selectedVectorFeatures)!=null&&t.length);this.selectedVectorFeatures=[],e&&this.redrawVectorTopicLayer(),this.clearSelectedGeometryGroup()}clearSelectedGeometryGroup(){var t,a;if(!this.selectedFeatureGroup)return;const e=new Set;for(;this.selectedFeatureGroup.children.length;){const i=this.selectedFeatureGroup.children.pop();(a=(t=i.geometry)==null?void 0:t.dispose)==null||a.call(t),Array.isArray(i.material)?i.material.forEach(o=>e.add(o)):e.add(i.material)}e.forEach(i=>{var o;return(o=i==null?void 0:i.dispose)==null?void 0:o.call(i)})}normalizeFeaturePolygons(e){return Js(e)}normalizeFeatureLineStrings(e){return e!=null&&e.coordinates?e.type==="LineString"?[e.coordinates]:e.type==="MultiLineString"?e.coordinates:[]:[]}getDisplayFeaturePolygons(e){const t=this.normalizeFeaturePolygons(e),a=this.getLayerClipBounds(this.currentTopicLayer);return a?t.map(i=>{const o=this.clipRingToBounds(i==null?void 0:i[0],a);if(o.length<3)return null;const l=i.slice(1).map(u=>this.clipRingToBounds(u,a)).filter(u=>u.length>=3);return[o,...l]}).filter(Boolean):t}clipRingToBounds(e=[],t){let a=e.map(o=>[Number(o==null?void 0:o[0]),Number(o==null?void 0:o[1])]).filter(([o,l])=>Number.isFinite(o)&&Number.isFinite(l));return[{inside:([o])=>o>=t.west,intersect:(o,l)=>this.getLngLatLineIntersection(o,l,"lng",t.west)},{inside:([o])=>o<=t.east,intersect:(o,l)=>this.getLngLatLineIntersection(o,l,"lng",t.east)},{inside:([,o])=>o>=t.south,intersect:(o,l)=>this.getLngLatLineIntersection(o,l,"lat",t.south)},{inside:([,o])=>o<=t.north,intersect:(o,l)=>this.getLngLatLineIntersection(o,l,"lat",t.north)}].forEach(o=>{const l=a;a=[],l.length&&l.forEach((u,h)=>{const p=l[(h+l.length-1)%l.length],y=o.inside(u),g=o.inside(p);y?(g||a.push(o.intersect(p,u)),a.push(u)):g&&a.push(o.intersect(p,u))})}),a}getLngLatLineIntersection(e,t,a,i){const o=a==="lng"?0:1,l=a==="lng"?1:0,u=t[o]-e[o];if(!u)return[...e];const h=(i-e[o])/u,p=[...e];return p[o]=i,p[l]=e[l]+(t[l]-e[l])*h,p}createProjectedShape(e){const t=e==null?void 0:e[0];if(!Array.isArray(t)||t.length<3)return null;const a=new Cs;return this.createProjectedRingPoints(t).forEach((o,l)=>{l===0?a.moveTo(o.x,o.y):a.lineTo(o.x,o.y)}),e.slice(1).forEach(o=>{const l=this.createProjectedRingPoints(o);if(l.length<3)return;const u=new Cs;l.forEach((h,p)=>{p===0?u.moveTo(h.x,h.y):u.lineTo(h.x,h.y)}),a.holes.push(u)}),a}createProjectedRingPoints(e){if(!Array.isArray(e))return[];const t=[];return e.forEach(a=>{if(!Array.isArray(a)||a.length<2)return;const i=Number(a[0]),o=Number(a[1]);if(!Number.isFinite(i)||!Number.isFinite(o))return;const[l,u]=this.geoProjection([i,o]);t.push(new le(l,-u,0))}),t}enhanceTexture(e){var a,i,o;const t=(i=(a=this.renderer)==null?void 0:a.instance)==null?void 0:i.capabilities;e.anisotropy=((o=t==null?void 0:t.getMaxAnisotropy)==null?void 0:o.call(t))||1,e.needsUpdate=!0}geoProjection(e){return sa().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0])(e)}updateTownLabelScale(){var u,h,p;const e=this.townNameLabels||this.otherLabel||[],t=(u=this.camera)==null?void 0:u.instance,a=(p=(h=this.camera)==null?void 0:h.controls)==null?void 0:p.target;if(!e.length||!t||!a)return;const i=t.position.distanceTo(a),o=na(i*72e-5,.011,.026),l=i>45?"0.76":i<22?"0.94":"1";e.forEach(y=>{var w,C,F;if(((w=y==null?void 0:y.userData)==null?void 0:w.labelType)!=="town-label")return;y.scale.set(o,o,o);const g=(F=(C=y.element)==null?void 0:C.querySelector)==null?void 0:F.call(C,".other-label");g&&(g.style.opacity=l)})}update(e){super.update(e),this.updateDynamicSatelliteTiles(),this.updateTownLabelScale(),this.updateTradeFlowPulses(e),this.interactionManager&&this.interactionManager.update()}pauseScene(){var e,t;this.scenePaused=!0,(t=(e=this.time)==null?void 0:e.pause)==null||t.call(e),this.sceneTweens.forEach(a=>{var i;return(i=a==null?void 0:a.pause)==null?void 0:i.call(a)}),clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null}resumeScene(){var e,t;this.scenePaused=!1,(t=(e=this.time)==null?void 0:e.resume)==null||t.call(e),this.sceneTweens.forEach(a=>{var i;return(i=a==null?void 0:a.resume)==null?void 0:i.call(a)}),this.showTownRankingPointMarkers&&this.mapAnimationComplete&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}destroy(){var e,t,a,i;this.pauseScene(),this.sceneTimers.forEach(o=>clearTimeout(o)),this.sceneTimers=[],this.sceneTweens.forEach(o=>{var l;return(l=o==null?void 0:o.kill)==null?void 0:l.call(o)}),this.sceneTweens=[],this.callbacks={},(t=(e=this.canvas)==null?void 0:e.removeEventListener)==null||t.call(e,"pointerdown",this.handleCanvasBoundaryPointerDown,!0),(i=(a=this.canvas)==null?void 0:a.removeEventListener)==null||i.call(a,"dblclick",this.handleCanvasBoundaryDoubleClick,!0),this.clearTradeFlowLayer(),this.clearSelectedFeature(),super.destroy(),this.label3d&&this.label3d.destroy()}}const Td={class:"map"},Sd={__name:"map",props:{activeLayer:{type:Object,default:null},mapRanking:{type:Object,default:null},tileUrlTemplate:{type:String,default:""},satelliteTextureZoom:{type:Number,default:0},satelliteMaxZoom:{type:Number,default:21},adminBoundaryLineScale:{type:Number,default:1},useSatelliteBase:{type:Boolean,default:!0},showNationalBackdrop:{type:Boolean,default:!1},topicLayerPresentation:{type:String,default:"default"},hideTownLabelStats:{type:Boolean,default:!1}},emits:["feature-loading","feature-info","layer-status","tile-status","draw-boundary","scene-mounted"],setup(m,{expose:e,emit:t}){const a=m,i=t,o=_(null),l=Xu(null);let u=null,h=null,p=null,y=null,g=null,w="",C="",F=!1;io(()=>{i("scene-mounted")}),so(()=>{ft()});function x(M){return l.value?!0:o.value?(l.value=new Ld(o.value,M,{onFeatureLoading:L=>i("feature-loading",L),onFeatureInfo:L=>i("feature-info",L),onLayerStatus:L=>i("layer-status",L),onTileStatus:L=>i("tile-status",L),onDrawBoundary:L=>i("draw-boundary",L),tileUrlTemplate:a.tileUrlTemplate,satelliteTextureZoom:a.satelliteTextureZoom,satelliteMaxZoom:a.satelliteMaxZoom,adminBoundaryLineScale:a.adminBoundaryLineScale,useSatelliteBase:a.useSatelliteBase,showNationalBackdrop:a.showNationalBackdrop,topicLayerPresentation:a.topicLayerPresentation,hideTownLabelStats:a.hideTownLabelStats}),l.value.time.pause(),w=De(a.activeLayer),C=Be(a.mapRanking),l.value.setTopicLayers(ze(a.activeLayer),a.activeLayer),l.value.setTownRanking(a.mapRanking),qe(),Me(),!0):!1}function G(){return!!l.value}function H(){return oe(this,null,function*(){var M,L,A,D,Z,re;if(l.value&&(J(),!l.value.mapAnimationComplete)){if(F){(L=(M=l.value.animateTl)==null?void 0:M.play)==null||L.call(M),Ne();return}F=!0,(D=(A=l.value.animateTl)==null?void 0:A.timeScale)==null||D.call(A,1),(re=(Z=l.value.animateTl)==null?void 0:Z.play)==null||re.call(Z),Ne()}})}function J(){var M,L;l.value&&(qe(),Me(),window.requestAnimationFrame(()=>{var A,D,Z,re,fe,Le;(Z=(D=(A=l.value)==null?void 0:A.label3d)==null?void 0:D.resize)==null||Z.call(D),(Le=(fe=(re=l.value)==null?void 0:re.label3d)==null?void 0:fe.update)==null||Le.call(fe)}),(L=(M=l.value).resumeScene)==null||L.call(M),l.value.resumeScene||l.value.time.resume())}function ne(){var M,L,A,D,Z,re;l.value&&(it(),(L=(M=l.value.animateTl)==null?void 0:M.pause)==null||L.call(M),(D=(A=l.value).pauseScene)==null||D.call(A),l.value.pauseScene||(re=(Z=l.value.time)==null?void 0:Z.pause)==null||re.call(Z),Fe())}function K(){var M,L;(L=(M=l.value)==null?void 0:M.clearSelectedFeature)==null||L.call(M)}function V(M){var L,A;(A=(L=l.value)==null?void 0:L.focusProject)==null||A.call(L,M)}function se(M){var L,A;(A=(L=l.value)==null?void 0:L.focusPasture)==null||A.call(L,M)}function Ye(M,L){var A,D;return(D=(A=l.value)==null?void 0:A.focusTownByName)==null?void 0:D.call(A,M,L)}function rt(M){var L,A;return(A=(L=l.value)==null?void 0:L.focusYakIndustryPoint)==null?void 0:A.call(L,M)}function At(M){var L,A;return(A=(L=l.value)==null?void 0:L.focusVectorFeature)==null?void 0:A.call(L,M)}function kt(M){var L,A;return(A=(L=l.value)==null?void 0:L.getVectorFeatureScreen)==null?void 0:A.call(L,M)}function z(M){var L,A;return(A=(L=l.value)==null?void 0:L.getYakIndustryPointScreen)==null?void 0:A.call(L,M)}function ht(M){var L,A;(A=(L=l.value)==null?void 0:L.setBoundaryDrawing)==null||A.call(L,M)}function Mt(){var M,L;return(L=(M=l.value)==null?void 0:M.finishBoundaryDrawing)==null?void 0:L.call(M)}function Bt(){var M,L;(L=(M=l.value)==null?void 0:M.undoBoundaryPoint)==null||L.call(M)}function pt(){var M,L;(L=(M=l.value)==null?void 0:M.clearAnalysisBoundary)==null||L.call(M)}function $t(M){var L,A;(A=(L=l.value)==null?void 0:L.showAnalysisResult)==null||A.call(L,M)}function ft(){var M,L;it(),Fe(),(L=(M=l.value)==null?void 0:M.destroy)==null||L.call(M),l.value=null}function Ne(){it(),g=window.setTimeout(()=>{var M,L;g=null,(L=(M=l.value)==null?void 0:M.ensureMapRevealed)==null||L.call(M)},5200)}function it(){g&&(window.clearTimeout(g),g=null)}function Me(){h&&window.cancelAnimationFrame(h),h=window.requestAnimationFrame(()=>{var M,L,A,D,Z;h=null,(A=(L=(M=l.value)==null?void 0:M.sizes)==null?void 0:L.init)==null||A.call(L),(Z=(D=l.value)==null?void 0:D.resize)==null||Z.call(D)}),p&&window.clearTimeout(p),p=window.setTimeout(()=>{var M,L,A,D,Z;p=null,(A=(L=(M=l.value)==null?void 0:M.sizes)==null?void 0:L.init)==null||A.call(L),(Z=(D=l.value)==null?void 0:D.resize)==null||Z.call(D)},180)}function qe(){var L;Fe();const M=(L=o.value)==null?void 0:L.parentNode;M&&window.ResizeObserver&&(u=new ResizeObserver(()=>Me()),u.observe(M)),y=window.setInterval(_e,1e3),ia(Me)}function _e(){var fe;if(!l.value||!o.value)return;const M=o.value.parentNode,L=(M==null?void 0:M.offsetWidth)||window.innerWidth||1,A=(M==null?void 0:M.offsetHeight)||window.innerHeight||1,D=((fe=l.value.sizes)==null?void 0:fe.pixelRatio)||1,Z=Math.floor(L*D),re=Math.floor(A*D);(o.value.width!==Z||o.value.height!==re)&&Me()}function Fe(){u&&(u.disconnect(),u=null),h&&(window.cancelAnimationFrame(h),h=null),p&&(window.clearTimeout(p),p=null),y&&(window.clearInterval(y),y=null)}function Et(){if(!l.value)return;qe();const M=()=>{var L,A,D,Z,re,fe,Le,je,Je,Oe,Ge,Ue,He,st,me,ge,ie,mt,Vt,be,qt;l.value&&((A=(L=l.value)==null?void 0:L.resumeScene)==null||A.call(L),l.value.resumeScene||(Z=(D=l.value.time)==null?void 0:D.resume)==null||Z.call(D),(Le=(fe=(re=l.value)==null?void 0:re.sizes)==null?void 0:fe.init)==null||Le.call(fe),(Je=(je=l.value)==null?void 0:je.resize)==null||Je.call(je),(Ue=(Ge=(Oe=l.value)==null?void 0:Oe.label3d)==null?void 0:Ge.resize)==null||Ue.call(Ge),(me=(st=(He=l.value)==null?void 0:He.label3d)==null?void 0:st.update)==null||me.call(st),(ie=(ge=l.value)==null?void 0:ge.setTopicLayers)==null||ie.call(ge,ze(a.activeLayer),a.activeLayer),(Vt=(mt=l.value)==null?void 0:mt.setTownRanking)==null||Vt.call(mt,a.mapRanking),(qt=(be=l.value)==null?void 0:be.ensureMapRevealed)==null||qt.call(be))};Me(),window.requestAnimationFrame(M),window.setTimeout(()=>{M()},80),window.setTimeout(()=>{M()},220)}function Ct(){if(!l.value)return;qe();const M=()=>{var A,D,Z,re,fe,Le,je,Je,Oe,Ge,Ue,He,st,me,ge,ie;const L=l.value;L&&((A=L.resumeScene)==null||A.call(L),L.resumeScene||(Z=(D=L.time)==null?void 0:D.resume)==null||Z.call(D),(fe=(re=L.sizes)==null?void 0:re.init)==null||fe.call(re),(Le=L.resize)==null||Le.call(L),(je=L.ensureMapRevealed)==null||je.call(L),(Je=L.setTradeNationalMapVisible)==null||Je.call(L,!1),(Oe=L.setTopicLayers)==null||Oe.call(L,ze(a.activeLayer),a.activeLayer),(Ge=L.setTownRanking)==null||Ge.call(L,a.mapRanking),(Ue=L.applyLayerMapView)==null||Ue.call(L,L.currentTopicLayer||a.activeLayer||null,{force:!0}),(st=(He=L.label3d)==null?void 0:He.resize)==null||st.call(He),(ge=(me=L.label3d)==null?void 0:me.update)==null||ge.call(me),(ie=L.updateDynamicSatelliteTiles)==null||ie.call(L,!0))};Me(),window.requestAnimationFrame(M),window.setTimeout(M,100),window.setTimeout(M,260)}oa(()=>a.activeLayer,M=>{const L=De(M);L!==w&&(w=L,l.value&&l.value.setTopicLayers(ze(M),M))},{deep:!0}),oa(()=>a.mapRanking,M=>{const L=Be(M);L!==C&&(C=L,l.value&&l.value.setTownRanking(M))},{deep:!0}),e({loadMap:x,hasMap:G,play:H,resume:J,pause:ne,clearSelectedFeature:K,focusProject:V,focusPasture:se,focusTown:Ye,focusYakIndustryPoint:rt,focusVectorFeature:At,getVectorFeatureScreen:kt,getYakIndustryPointScreen:z,setBoundaryDrawing:ht,finishBoundaryDrawing:Mt,undoBoundaryPoint:Bt,clearAnalysisBoundary:pt,showAnalysisResult:$t,refreshView:Et,resetView:Ct,destroyMap:ft,canvasMap:l});function De(M){return M?ze(M).map(L=>{var A,D;return[L.key||"",L.layerName||"",L.styles||"",L.sldBody||"",L.cqlFilter||"",((A=L.activeLegend)==null?void 0:A.key)||"",Array.isArray(L.activeLegends)?L.activeLegends.map(Z=>(Z==null?void 0:Z.key)||"").join(","):"",L.timelineDate||"",((D=L.timelineItem)==null?void 0:D.key)||"",L.sourceType||"",L.dataPath||"",L.fallbackPath||""].join("|")}).join("||"):""}function ze(M){if(!M)return[];const L=Array.isArray(M.overlayLayers)?M.overlayLayers.filter(Boolean):[];return[M,...L]}function Be(M){var L,A,D,Z,re,fe,Le,je,Je,Oe,Ge;return M?[M.status||"",M.topicKey||"",M.layerKey||"",M.title||"",M.metricLabel||"",M.scope||"",M.displayMode||"",(L=M.showPointMarkers)!=null?L:"",(A=M.showBars)!=null?A:"",(D=M.showTownNames)!=null?D:"",(Z=M.showMapLabels)!=null?Z:"",(re=M.hideTownLabelStats)!=null?re:"",(fe=M.showFlowLines)!=null?fe:"",(Le=M.nationalFlow)!=null?Le:"",(je=M.onlyRankedTownLabels)!=null?je:"",(Je=M.showMissingTownStats)!=null?Je:"",((Oe=M.rows)==null?void 0:Oe.length)||0,((Ge=M.rows)==null?void 0:Ge.map(Ue=>{var He;return`${Ue.key||Ue.name||""}:${(He=Ue.value)!=null?He:""}`}).join(","))||""].join("|"):""}return(M,L)=>(P(),N("div",Td,[d("canvas",{ref_key:"canvasRef",ref:o},null,512)]))}};let uo=0,co=0,ho=0,_t=0;const po=[],Sa=[],qr=[],Vn=[],Gt=[],Ur=[],fo=[];function kd(m={}){const e=new Map((m.metrics||[]).map(t=>[t.key,Number(t.value||0)]));uo=e.get("recognition_count")||0,co=e.get("expert_correction")||0,ho=e.get("trade_deduction")||0,_t=e.get("estimated_stock")||0,ra(po,m.towns,t=>{var a,i;return{key:t.key,name:t.name,count:Number((i=(a=t.count)!=null?a:t.value)!=null?i:0),recognitionCount:Number(t.recognitionCount||0),devices:Number(t.devices||0)}}),ra(Sa,m.structure,t=>{var a,i;return{key:t.key,name:t.name,count:Number((i=(a=t.count)!=null?a:t.value)!=null?i:0),ratio:Number(t.ratio||0)}}),ra(Vn,m.genderAge,t=>({age:t.age,cow:Number(t.cow||0),bull:Number(t.bull||0)})),ra(Gt,m.forecastPeriods,t=>E(I({},t),{key:String(t.key),shortLabel:t.shortLabel||String(t.key),months:Number(t.months||0),stock:Number(t.stock||0),births:Number(t.births||0),outflow:Number(t.outflow||0),correction:Number(t.correction||0)})),ra(Ur,m.forecastFactors,t=>E(I({},t),{value:Number(t.value||0)})),ra(qr,m.tradeImpacts,(t,a)=>E(I({},t),{value:Number(t.value||0),yoy:Number(t.yoy||0),color:["#48cfff","#30dcff","#8bf7ff","#48cfff"][a%4]})),ra(fo,m.forecastMonths,t=>({month:t.month,count:Number(t.count||0),speed:Number(t.speed||0)}))}function ra(m,e,t){m.splice(0,m.length,...Array.isArray(e)?e.map(t):[])}function Dn(m){return String(m||"").trim()}function Md(m){return Gt.find(e=>e.key===m)||Gt[1]||Gt[0]||{key:String(m||""),label:"暂无预测",shortLabel:"--",months:1,stock:_t,births:0,outflow:0,correction:0,structure:{}}}function Cd(m){return(Array.isArray(m==null?void 0:m.structureRows)?m.structureRows:[]).map(e=>E(I({},e),{count:Number(e.count||0),ratio:Number(e.ratio||0)}))}function Pd(m){return(Array.isArray(m==null?void 0:m.townRows)?m.townRows:[]).map(e=>E(I({},e),{count:Number(e.count||0),forecast:Number(e.forecast||0),change:Number(e.change||0)}))}function Nd(m){var t;const e=((t=m==null?void 0:m.series)==null?void 0:t.month)||{};return{labels:Array.isArray(e.labels)?e.labels:[],stock:Array.isArray(e.stock)?e.stock.map(Number):[],births:Array.isArray(e.births)?e.births.map(Number):[],outflow:Array.isArray(e.outflow)?e.outflow.map(Number):[]}}function Fd(m){const e=new Map;return m.forEach(t=>{const a=Dn(t.name),i=e.get(a)||{name:a,count:0};i.count+=Number(t.count||0),e.set(a,i)}),[...e.values()].sort((t,a)=>a.count-t.count)}const xd={class:"yak-management"},Rd={key:0},Id={class:"yak-management-ui"},_d={key:0,class:"trade-year-switcher","aria-label":"交易年份切换"},Gd=["onClick"],Ad={key:1,class:"slaughter-year-switcher","aria-label":"出栏年份切换"},Bd=["aria-pressed","onClick"],$d={key:2,class:"epidemic-year-switcher","aria-label":"防疫年份切换"},Ed=["onClick"],Vd={key:3,class:"forecast-year-switcher","aria-label":"预测年份切换"},Dd=["onClick"],zd={class:"slaughter-realtime-status"},Od={class:"slaughter-realtime-viewport"},Wd={class:"yak-left"},Yd={class:"yak-side-stack is-left"},jd={class:"breeding-health-card"},Hd={class:"breeding-health-head"},qd={class:"breeding-health-grid"},Ud={class:"structure-chart-card"},Kd={class:"structure-ratio-card"},Zd={class:"structure-ratio-chart"},Xd={viewBox:"0 0 150 150",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true"},Qd={class:"structure-rose-segments"},Jd=["d","fill","stroke"],eh={class:"structure-ratio-list"},th={key:0,class:"yak-data-status"},ah={key:1,class:"yak-data-status is-warning"},nh={class:"forecast-waterfall-card"},rh={class:"forecast-waterfall-head"},ih={class:"forecast-waterfall-list"},sh={class:"forecast-trend-card"},oh={class:"forecast-density-switcher","aria-label":"预测粒度切换"},lh=["onClick"],uh={key:0,class:"epidemic-three-pie-card"},ch={class:"epidemic-three-pie-visual"},dh={class:"epidemic-three-pie-center"},hh={class:"epidemic-three-pie-legend"},ph={key:1,class:"epidemic-empty"},fh={class:"trade-risk-card"},mh={class:"trade-risk-head"},gh={class:"trade-risk-list"},yh={key:1,class:"epidemic-empty"},vh={key:1,class:"epidemic-empty"},bh={key:1,class:"epidemic-empty"},wh={key:0,class:"slaughter-direction-card"},Lh={class:"slaughter-direction-track","aria-label":"省内、省外流向占比"},Th={class:"slaughter-direction-total"},Sh={class:"slaughter-direction-list"},kh={key:1,class:"epidemic-empty"},Mh={class:"yak-right"},Ch={class:"yak-side-stack is-right"},Ph={class:"structure-chart-card"},Nh={class:"structure-summary-card"},Fh={key:0,class:"yak-data-status"},xh={key:1,class:"yak-data-status is-warning"},Rh={class:"forecast-heat-list"},Ih=["title"],_h={class:"epidemic-record-table is-full"},Gh={class:"epidemic-record-toolbar"},Ah={class:"epidemic-record-rows"},Bh=["onClick"],$h={key:0,class:"epidemic-empty"},Eh={class:"epidemic-record-pager"},Vh=["disabled"],Dh=["disabled"],zh={class:"trade-cert-card"},Oh={class:"trade-cert-main"},Wh={class:"trade-dest-list"},Yh={key:0,class:"epidemic-empty"},jh={class:"trade-ledger-table"},Hh={class:"trade-ledger-toolbar"},qh={class:"trade-ledger-rows"},Uh=["onClick"],Kh={key:0,class:"epidemic-empty"},Zh={class:"trade-ledger-pager"},Xh=["disabled"],Qh=["disabled"],Jh={key:1,class:"epidemic-empty"},ep={class:"slaughter-destination-list"},tp={key:0,class:"epidemic-empty"},ap={class:"slaughter-ledger-table"},np={class:"slaughter-ledger-toolbar"},rp={class:"slaughter-ledger-rows"},ip=["onClick"],sp={key:0,class:"epidemic-empty"},op={class:"slaughter-ledger-pager"},lp=["disabled"],up=["disabled"],cp={class:"yak-bottom-topic"},dp={key:5,class:"yak-map-layer-tools"},hp={class:"epidemic-ledger-dialog"},pp={class:"epidemic-ledger-dialog-head"},fp={class:"epidemic-ledger-filters"},mp=["value"],gp=["value"],yp={class:"epidemic-ledger-workspace"},vp={class:"epidemic-ledger-list"},bp=["onClick"],wp={key:0,class:"epidemic-empty"},Lp={class:"epidemic-ledger-detail trade-ledger-detail epidemic-ledger-record-detail"},Tp={class:"epidemic-detail-head trade-detail-head"},Sp={class:"epidemic-detail-grid is-modal trade-detail-grid epidemic-detail-flat-grid"},kp={key:0,class:"epidemic-detail-photos"},Mp={class:"epidemic-modal-photo-strip"},Cp=["onClick"],Pp=["src"],Np={class:"epidemic-ledger-pager"},Fp=["disabled"],xp=["disabled"],Rp={class:"epidemic-ledger-dialog trade-ledger-dialog"},Ip={class:"epidemic-ledger-dialog-head"},_p={class:"epidemic-ledger-filters trade-ledger-filters"},Gp=["value"],Ap=["value"],Bp=["value"],$p={class:"epidemic-ledger-workspace trade-ledger-workspace"},Ep={class:"epidemic-ledger-list trade-ledger-modal-list"},Vp=["onClick"],Dp={key:0,class:"epidemic-empty"},zp={class:"epidemic-ledger-detail trade-ledger-detail"},Op={class:"epidemic-detail-head trade-detail-head"},Wp={class:"epidemic-detail-grid is-modal trade-detail-grid"},Yp={class:"is-wide"},jp={class:"is-wide"},Hp={class:"is-wide"},qp={class:"is-wide"},Up=["disabled"],Kp={class:"epidemic-ledger-pager"},Zp=["disabled"],Xp=["disabled"],Qp={class:"epidemic-ledger-dialog trade-ledger-dialog slaughter-ledger-dialog"},Jp={class:"epidemic-ledger-dialog-head"},ef={class:"epidemic-ledger-filters slaughter-ledger-filters"},tf=["value"],af=["value"],nf=["value"],rf={class:"epidemic-ledger-workspace trade-ledger-workspace slaughter-ledger-workspace"},sf={class:"epidemic-ledger-list slaughter-ledger-modal-list"},of=["onClick"],lf={key:0,class:"epidemic-empty"},uf={class:"epidemic-ledger-detail trade-ledger-detail"},cf={class:"epidemic-detail-head trade-detail-head"},df={class:"epidemic-detail-grid is-modal trade-detail-grid"},hf={class:"is-wide"},pf={class:"is-wide"},ff={class:"is-wide"},mf={class:"epidemic-ledger-pager"},gf=["disabled"],yf=["disabled"],vf={class:"epidemic-image-preview-dialog"},bf={class:"epidemic-image-preview-head"},wf={class:"epidemic-image-preview-body"},Lf={class:"epidemic-image-preview-frame"},Tf=["src"],Sf="",kf="/external/satellite/{z}/{x}/{y}.png",Mf=9,Cf="oss-satellite-dynamic-zoom21-v5",Bn="#43d9e8",$n=8,eo=14,Wr=8,to=14,Yr=8,ao=14,En=6,Pf=4200,Nf=6e4,no="#FFE600",zf={__name:"index",props:{active:{type:Boolean,default:!0},viewKey:{type:String,default:"structure"}},emits:["module-stats","view-change"],setup(m,{expose:e,emit:t}){const a=m,i=t,o=Ps.sideCardWidth;Ps.sideCardGap;const l=_(typeof window=="undefined"?1080:window.innerHeight),u=S(()=>fc(l.value)),h=S(()=>Er(u.value,2)),p=S(()=>u.value),y=S(()=>Er(u.value,2)),g=S(()=>Er(u.value,2)),w=Da.textPrimary,C=Da.textStrong,F=Da.textSecondary,x=Da.textMuted,G=Da.chartGridLine,H=zr,J=H,ne=H,K=Ac,V={targetLngLat:[102.6,32.59],targetLocalZ:.72,distanceScale:1.05,duration:.75},se=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff"],Ye=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff"],rt=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff","#48cfff"],At={name:"红原牦牛交易市场",lng:102.562157,lat:32.820484},kt=[{key:"structure",name:"畜群结构",color:"#30dcff"},{key:"forecast",name:"畜群预测",color:"#8bf7ff"},{key:"epidemic",name:"牦牛防疫",color:"#8bf7ff"},{key:"trade",name:"牦牛交易",color:"#63d7ff"},{key:"slaughter",name:"牦牛出栏",color:"#ffd76c"}],z=_(Br(a.viewKey)),ht=_([]),Mt=_("2027"),Bt=_("month"),pt=_(0),$t=_([]),ft=_([]),Ne=_(0),it=_(!1),Me=_(""),qe=[2025,2026],_e=_(2026),Fe=_({metrics:{}}),Et=_({rows:[],year:null}),Ct=_({rows:[]}),De=_([]),ze=_(0),Be=_(1),M=_(""),L=_(""),A=_(!1),D=_(""),Z=_(!1),re=_([]),fe=_(0),Le=_(1),je=_(!1),Je=_(""),Oe=_(null),Ge=_(null),Ue=_(!1),He=_(!1),st=_(""),me=_(gn()),ge=_({years:[],latestYear:null}),ie=_({metrics:{},hasData:!1}),mt=_([]),Vt=_(0),be=_(null),qt=_(!1),ua=_(""),Pt=_(1),Ha=_(""),Wn=_(""),Yn=_(!1),Ut=_([]),qa=_(0),Kt=_(1),jn=_(!1),Hn=_(""),Ua=_(null),gt=_({keyword:"",startTown:"",usageType:"",certType:""}),xe=_({metrics:{},hasData:!1}),ca=_({towns:[],destinations:[],usages:[],certificateTypes:[]}),he=_(null),Ca=_([]),Ka=_([]),da=_(0),ot=_(1),Za=_(""),Xa=_(""),Nt=_(!1),lt=_(""),Qa=_(!1),Zt=_([]),Ja=_(0),Xt=_(1),qn=_(!1),Un=_(""),Pa=_(null),Ke=_(Mr()),$e=_(null),Na=_(null),ha=_(!1),Fa=_(!1),Ze=_(!1),Zr=_(0),Xr=_(0),en=_({type:"idle",text:""}),tn=_({type:"idle",text:""});let Kn=null,an=!1,Qr=!1,Dt=!1,Ft=null,pa=!1,nn=null,rn=null,Zn=0,Xn=0,sn=0,Jr=!1,ei=!1,ti=!1,ai=!1;const Qn=[{key:"day",label:"日",unit:"日",stepDays:1},{key:"week",label:"周",unit:"周",stepDays:7},{key:"month",label:"月",unit:"月",stepDays:30}],et=S(()=>(Ne.value,Md(Mt.value))),mo=new Set(["epidemic","trade","slaughter"]),Jn=S(()=>!mo.has(z.value)),ni=S(()=>Jn.value?kf:""),go=S(()=>Jn.value?"oss-satellite":"solid-3d"),yo=S(()=>`yak-management-map-${go.value}-${Cf}-${Zr.value}`),vo=S(()=>(Ne.value,co+ho)),er=S(()=>et.value.stock-_t),bo=S(()=>Yu(et.value)),on=S(()=>(Ne.value,Bu(ft.value,Sa))),wo=S(()=>on.value.reduce((r,n)=>r+Number(n.count||0),0));S(()=>{const r=wo.value||1;return on.value.map((n,s)=>{const c=Number(n.count||0),f=Number(n.ratio);return E(I({},n),{count:c,color:se[s%se.length],percent:Number.isFinite(f)?f:c/r*100})})});const Lo=S(()=>ys(on.value,Sa)),ln=S(()=>Lo.value),ri=S(()=>Vu(ln.value)),ii=S(()=>Du(on.value,Sa)),si=S(()=>Ou(ii.value)),To=S(()=>Math.max(...ri.value.map(r=>Number(r.count||0)),1)),tr=S(()=>ln.value.length?0:-1),So=S(()=>{const r=ln.value,n=r.length;if(!n)return[];const s=Math.max(...r.map(v=>Number(v.count||0)),1),c=360/n,f=Math.min(8,c*.16);return r.map((v,b)=>{const k=Number(v.count||0),R=b===tr.value,B=36+Math.sqrt(k/s)*31+(R?5:0),$=17,X=-90+b*c+f/2,ue=-90+(b+1)*c-f/2,ce=(X+ue)/2,we=ta(75,75,B+3,ce),We=ta(75,75,B+15,ce),Lt=ta(75,75,B+20,ce);return{key:v.key||v.name||b,index:b,item:v,color:v.color||se[b%se.length],path:Eu(75,75,$,B,X,ue),lineStart:we,lineEnd:We,label:Lt,anchor:Math.cos(ce*Math.PI/180)>=0?"start":"end"}})}),oi=S(()=>ms(["fertileCow","overageCow"])),li=S(()=>ms(["femaleCalf","maleCalf"])),zt=S(()=>(Ne.value,($t.value.length?$t.value:po).map(r=>E(I({},r),{name:Dn(r.name),count:Number(r.count||0)})).filter(r=>r.name&&Number.isFinite(r.count)&&r.count>=0))),ar=S(()=>(Ne.value,fo)),nr=S(()=>(Ne.value,Pd(et.value))),ko=S(()=>(Ne.value,Cd(et.value))),xa=S(()=>{var r;return((r=Fe.value)==null?void 0:r.metrics)||{}}),rr=S(()=>{var r;return xt((r=Fe.value)==null?void 0:r.dateTrend).sort(eu)}),un=S(()=>{var r;return xt((r=Fe.value)==null?void 0:r.medicineCounts)}),cn=S(()=>un.value.filter(r=>r.value>0).map((r,n)=>E(I({},r),{key:r.key||`${r.name}-${n}`,unit:"条"}))),Mo=S(()=>cn.value.map(r=>`${r.name}:${r.value}`).join("|")||"epidemic-medicine-empty"),Co=S(()=>{var r;return xt((r=Fe.value)==null?void 0:r.ownerRanks).slice(0,8)}),Ot=S(()=>ea(xa.value,["vaccineTypes"])||Ni(Fe.value)),Po=S(()=>{var r;return((r=un.value.find(n=>n.name&&n.name!=="未填写"))==null?void 0:r.name)||"-"}),yt=S(()=>ea(xa.value,["total","vaccine"]));S(()=>ea(xa.value,["owners"]));const No=S(()=>ea(xa.value,["villages"])),ir=S(()=>Qt.value.length),Fo=S(()=>{var r;return((r=Qt.value[0])==null?void 0:r.name)||"-"}),ui=S(()=>{const r=De.value.map(n=>n.operateTime).filter(Boolean).sort();return r.length?ut(r[r.length-1]):"-"}),sr=S(()=>{const r=ea(xa.value,["earTags"]);if(r>0)return r;const n=Math.max(...un.value.map(s=>Number(s.value||0)),0);return n>0?n:Math.round(yt.value/Ot.value)}),or=S(()=>{var n;const r=Kl((n=Et.value)==null?void 0:n.rows);return r.length?r:Qt.value.map(s=>({name:s.name,recordCount:Number(s.recordCount||0),earTagCount:Number(s.earTagCount||0),ratio:s.ratio,source:"ledger"}))}),ci=S(()=>{var n;const r=new Set;return Nr((n=Ct.value)==null?void 0:n.rows).filter(s=>Number.isFinite(s.lng)&&Number.isFinite(s.lat)).map((s,c)=>{const f=`${s.lng.toFixed(4)},${s.lat.toFixed(4)}`,v=r.has(f)?(c%3-1)*.012:0;return r.add(f),E(I({},s),{name:s.village,value:s.earTagCount,unit:"万头",lng:s.lng+v,lat:s.lat-v*.65,displayValue:Number((s.earTagCount/1e4).toFixed(2)),displayUnit:"万头",rankLabel:`第${c+1}名`})})}),Qt=S(()=>{var n;const r=new Map;return xt((n=Fe.value)==null?void 0:n.townCounts).forEach(s=>{var v,b;const c=at(s.name);if(!c)return;const f=r.get(c)||{recordCount:0,earTagCount:0};f.recordCount+=Number((b=(v=s.recordCount)!=null?v:s.value)!=null?b:0),f.earTagCount+=Number(s.earTagCount||0),r.set(c,f)}),[...r.entries()].map(([s,c])=>{const f=Number(c.recordCount||0),v=Number(c.earTagCount||0)||Math.round(f/Ot.value),b=yt.value?f/yt.value*100:0;return{name:s,recordCount:f,earTagCount:v,ratio:b}}).sort((s,c)=>Number(c.recordCount||0)-Number(s.recordCount||0))}),xo=S(()=>Math.max(zt.value.length,ir.value)),Ro=S(()=>new Set(Qt.value.map(r=>at(r.name)).filter(Boolean))),Wt=S(()=>{const r=Ro.value;return zt.value.map(n=>at(n.name)).filter(n=>n&&!r.has(n))}),Io=S(()=>{const r=xo.value||ir.value||1;return ir.value/r*100});S(()=>_t?sr.value/_t*100:0);const dn=S(()=>nu());S(()=>yt.value?Wt.value.length?Wt.value.length:dn.value.name&&dn.value.name!=="暂无"?1:0:0);const _o=S(()=>ru()),Go=S(()=>iu()),Ao=S(()=>su());S(()=>ou());const Bo=S(()=>lu());S(()=>Bo.value.slice(0,3)),S(()=>yt.value?Wt.value.length?"年度免疫进度需核查":dn.value.desc:"年度计划待核查");const lr=S(()=>Math.max(Math.ceil(ze.value/$n),1)),$o=S(()=>De.value.slice(0,$n)),di=S(()=>Math.max(Math.ceil(fe.value/eo),1)),Jt=S(()=>Ge.value||Oe.value||{}),hi=S(()=>Rr(Jt.value)),Eo=S(()=>{const r=Jt.value||{};return[Re("台账编号",r.epidemicId,{wide:!0}),Re("养殖户",r.owner,{wide:!0}),Re("联系电话",Bi(r.phone)),Re("证件类型",r.idType),Re("证件号码",hu(r.idNo)),Re("镇/乡",r.town),Re("村",r.village),Re("详细地址",r.location,{wide:!0}),Re("畜种",r.livestockType),Re("性别",r.sex),Re("畜龄",r.age),Re("体重",pu(r.weight)),Re("疫苗/药品",r.medicine),Re("防疫类型",r.preventionType),Re("免疫方式",r.method),Re("剂量",fu(r.dose)),Re("免疫时间",ut(r.operateTime)),Re("操作员",r.operator)].filter(Boolean)}),Vo=S(()=>{var r;return xt((r=Fe.value)==null?void 0:r.townCounts).map(n=>n.name)}),Do=S(()=>un.value.map(r=>r.name).filter(r=>r&&r!=="未填写")),pi=S(()=>{var r;return((r=ie.value)==null?void 0:r.metrics)||{}}),fi=S(()=>{var r,n,s,c,f,v,b,k;return Cr((r=ge.value)==null?void 0:r.years,(n=ie.value)==null?void 0:n.availableYears,(s=ie.value)==null?void 0:s.available_years,(c=ie.value)==null?void 0:c.yearSummary,(f=ie.value)==null?void 0:f.year_summary,(v=ie.value)==null?void 0:v.latestYear,(b=ie.value)==null?void 0:b.latest_year,(k=ie.value)==null?void 0:k.year)}),zo=S(()=>{var r,n;return bn(((r=ie.value)==null?void 0:r.monthTrend)||((n=ie.value)==null?void 0:n.month_trend),"name")});S(()=>{var r,n;return ql(((r=ie.value)==null?void 0:r.yearSummary)||((n=ie.value)==null?void 0:n.year_summary))});const hn=S(()=>{var r,n;return bn(((r=ie.value)==null?void 0:r.startTownCounts)||((n=ie.value)==null?void 0:n.start_town_counts),"name")}),mi=S(()=>{var r,n;return bn(((r=ie.value)==null?void 0:r.usageCounts)||((n=ie.value)==null?void 0:n.usage_counts),"name")});S(()=>{var r,n,s,c,f,v;return bn(((r=ie.value)==null?void 0:r.transportNumberCounts)||((n=ie.value)==null?void 0:n.transport_number_counts)||((s=ie.value)==null?void 0:s.vehicleCounts)||((c=ie.value)==null?void 0:c.vehicle_counts)||((f=ie.value)==null?void 0:f.transportCounts)||((v=ie.value)==null?void 0:v.transport_counts),"transportNumber")});const ur=S(()=>{const r=hn.value.map(s=>{const c=String(s.name||"").trim(),f=at(c),v=jl(f||c);return E(I({},s),{rawName:c,name:v,displayName:v,town:f,mapTownName:f})}).filter(s=>s.name&&s.name!=="未填写").slice(0,10),n=Math.max(...r.map(s=>s.headCount),1);return r.map((s,c)=>E(I({},s),{key:s.key||`${s.mapTownName||s.name}-${c}`,value:s.headCount,unit:"头",ratio:Math.max(8,Math.round(s.headCount/n*100))}))}),gi=S(()=>mt.value.slice(0,Wr)),cr=S(()=>Math.max(Math.ceil(Vt.value/Wr),1)),dr=S(()=>Math.max(Math.ceil(qa.value/to),1)),Te=S(()=>Ua.value||{}),Oo=S(()=>Te.value.certId||Te.value.factoryCode||""),Wo=S(()=>{var n,s;const r=fa(((n=ge.value)==null?void 0:n.startTowns)||((s=ge.value)==null?void 0:s.start_towns));return r.length?r:Pr(hn.value.map(c=>c.name))}),Yo=S(()=>{var n,s;const r=fa(((n=ge.value)==null?void 0:n.usageTypes)||((s=ge.value)==null?void 0:s.usage_types));return r.length?r:Pr(mi.value.map(c=>c.name))}),jo=S(()=>{var n,s,c,f;const r=Ul(((n=ge.value)==null?void 0:n.certTypeOptions)||((s=ge.value)==null?void 0:s.cert_type_options));return r.length?r:fa(((c=ge.value)==null?void 0:c.certTypes)||((f=ge.value)==null?void 0:f.cert_types)).map(v=>({value:v,label:v}))}),Ho=S(()=>ur.value.map((r,n)=>({key:r.key||`${r.name}-${n}`,name:r.displayName||r.name,displayName:r.displayName||r.name,rawName:r.rawName,town:r.mapTownName||r.town||at(r.name),mapTownName:r.mapTownName||r.town||at(r.name),value:r.headCount,headCount:r.headCount,recordCount:r.recordCount,ratio:r.ratio,unit:"头"}))),yi=S(()=>{var r;return uu((r=ie.value)==null?void 0:r.riskItems)}),qo=S(()=>{const r=yi.value.filter(n=>n.level==="high");return r.length>=2?`${r.length}项重点`:r.length===1?`重点:${r[0].name}`:"整体平稳"}),hr=S(()=>{var r,n,s,c;return Cr((r=xe.value)==null?void 0:r.availableYears,(n=xe.value)==null?void 0:n.available_years,(s=xe.value)==null?void 0:s.latestYear,(c=xe.value)==null?void 0:c.latest_year)}),vi=S(()=>[{key:"all",value:null,label:"全部"},...hr.value.map(r=>({key:String(r),value:r,label:String(r)}))]),Uo=S(()=>{var r,n;return Number(((r=xe.value)==null?void 0:r.latestYear)||((n=xe.value)==null?void 0:n.latest_year)||hr.value[hr.value.length-1]||0)}),pr=S(()=>he.value==null||Number(he.value)===Uo.value),Ko=S(()=>pr.value?"实时出栏":`${he.value}年动态`),fr=S(()=>Ka.value.slice(0,12)),Zo=S(()=>Math.max(28,fr.value.length*5.2)),pn=S(()=>{var r;return((r=xe.value)==null?void 0:r.metrics)||{}}),Xo=S(()=>{var R,B;const r=he.value,n=String(((R=pn.value)==null?void 0:R.referenceDate)||((B=pn.value)==null?void 0:B.reference_date)||""),s=n.match(/^\d{4}-(\d{2})-(\d{2})$/),c=new Date,f=`${c.getFullYear()}-${String(c.getMonth()+1).padStart(2,"0")}-${String(c.getDate()).padStart(2,"0")}`,v=n===f,b=r&&s&&!v?`${Number(s[1])}月${Number(s[2])}日出栏`:"今日出栏",k=r&&s&&!v?`${Number(s[1])}月出栏`:"本月出栏";return[{zh:b,value:Ia("todayHeadCount"),unit:"头"},{zh:k,value:Ia("monthHeadCount"),unit:"头"},{zh:r?`${r}年出栏`:"累计出栏",value:Ia("cumulativeHeadCount"),unit:"头"}]}),bi=S(()=>{var r;return Hl((r=xe.value)==null?void 0:r.townHistory)}),wi=S(()=>{var r;return yn((r=xe.value)==null?void 0:r.breedStructure)}),Li=S(()=>{var r;return yn((r=xe.value)==null?void 0:r.usageStructure)}),mr=S(()=>{var r;return yn((r=xe.value)==null?void 0:r.certificateRanking)}),gr=S(()=>{var s;const r=yn((s=xe.value)==null?void 0:s.directionStructure),n=r.reduce((c,f)=>c+f.headCount,0)||1;return r.map(c=>E(I({},c),{key:c.name==="省内"?"inside":c.name==="省外"?"outside":"unknown",percent:Number((c.headCount/n*100).toFixed(1))}))}),yr=S(()=>{var s;const r=(Array.isArray((s=xe.value)==null?void 0:s.destinationRanking)?xe.value.destinationRanking:[]).map((c,f)=>({key:c.provinceName||c.province_name||c.name||`destination-${f}`,name:c.provinceName||c.province_name||c.name||"未标注",provinceName:c.provinceName||c.province_name||c.name||"未标注",certificateCount:Number(c.certificateCount||c.certificate_count||0),headCount:Number(c.headCount||c.head_count||c.value||0)})).filter(c=>c.headCount>0).slice(0,8),n=Math.max(...r.map(c=>c.headCount),1);return r.map(c=>E(I({},c),{value:c.headCount,unit:"头",ratio:Math.max(6,Math.round(c.headCount/n*100))}))}),Qo=S(()=>yr.value.filter(r=>r.name!=="未标注").map(r=>E(I({},r),{displayName:r.name,destinationProvince:r.provinceName}))),Ti=S(()=>Ca.value.slice(0,Yr)),vr=S(()=>Math.max(Math.ceil(da.value/Yr),1)),br=S(()=>Math.max(Math.ceil(Ja.value/ao),1)),Xe=S(()=>Pa.value||{}),Jo=S(()=>{var r;return fa((r=ca.value)==null?void 0:r.towns)}),el=S(()=>{var r;return fa((r=ca.value)==null?void 0:r.destinations)}),tl=S(()=>{var r;return fa((r=ca.value)==null?void 0:r.usages)}),al=S(()=>zt.value.map(r=>E(I({},r),{breedingCowRatio:oi.value,calfRatio:li.value,breedingCow:Math.round(r.count*oi.value/100),calf:Math.round(r.count*li.value/100)}))),fn=S(()=>{const r=al.value,n=r.length,s=Math.max(Math.ceil(n/En),1),c=pt.value%s,f=c*En,v=Math.min(f+En,n);return{page:c,pageCount:s,start:f,end:v,total:n,rows:r.slice(f,v)}}),nl=S(()=>z.value==="forecast"?nr.value:zt.value),rl=S(()=>z.value==="forecast"?"forecast":"count"),il=S(()=>_u(nl.value,rl.value)),Ra=S(()=>({key:"yak-marks-layer",sourceType:"wmts",layerName:"v3:yak_recognition",style:"v3:yak_recognition",styles:"v3:yak_recognition",format:"image/png",tileMatrixSetID:"EPSG:900913",minimumLevel:7,maximumLevel:21,bounds:[101.88735023598684,32.187424325001956,103.32644952301061,33.27125655371905],url:"/geoserver/gwc/service/wmts",name:"牦牛识别",opacity:.92,queryBuffer:10,geometryField:"geom",fillColor:"rgba(255, 230, 0, 0)",strokeColor:no,glowColor:"rgba(255, 230, 0, 0.42)",lineWidth:1.4,mapView:{targetLngLat:H,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-marks",name:"牦牛",fillColor:no,strokeColor:"#FFF58A",selectable:!1}]})),sl=S(()=>[Ra.value]),ol=S(()=>{const r=Array.isArray(ht.value)?ht.value:[ht.value];return new Set(r.map(String).filter(Boolean))}),wr=S(()=>ol.value.has(Ra.value.key)),ll=S(()=>wr.value?Ra.value.legends||[]:[]),ul=S(()=>wr.value?202:172),cl=S(()=>{var s;const n=Nr((s=Ct.value)==null?void 0:s.rows).map(c=>Ql(c.town,c.village)).filter(Boolean);return{key:"yak-epidemic-village-boundary",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_epidemic_village",styles:"v3:yak_epidemic_village",name:"防疫村边界",opacity:.86,queryBuffer:8,cqlFilter:n.length?n.join(" OR "):"EXCLUDE",legends:[{key:"yak-epidemic-village-boundary",name:"防疫村边界",fillColor:"#30DCFF",strokeColor:"#C9FBFF",selectable:!1}]}}),dl=S(()=>({key:"yak-trade-town",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_trade_town",name:"交易乡镇",cqlFilter:`record_year=${Number(be.value||0)}`,fillColor:"rgba(48, 220, 255, 0.12)",strokeColor:"#30DCFF",opacity:.84,overlayLayers:[{key:"yak-trade-market",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_trade_market",name:"牦牛交易市场",fillColor:"#FFE600",strokeColor:"#FFF58A",opacity:.96}]})),Si=S(()=>z.value==="epidemic"?cl.value:z.value==="trade"?dl.value:z.value==="slaughter"?null:tt.value?wr.value?Ra.value:null:Ra.value),tt=S(()=>z.value==="structure"||z.value==="forecast"),hl=S(()=>z.value==="forecast"?ne:J),pl=S(()=>tt.value?null:Si.value),fl=S(()=>tt.value?null:ki.value),ml=S(()=>tt.value?!Fa.value:!ha.value),gl=S(()=>tt.value?"地图加载中":"3D 地图加载中"),ki=S(()=>z.value==="slaughter"?{scope:"trade-flow",nationalFlow:!0,title:he.value?`${he.value}年牦牛出栏销售流向`:"牦牛出栏销售流向",metricLabel:"目的地",unit:"头",source:{name:"红原县",lng:zr[0],lat:zr[1],total:Ia("cumulativeHeadCount")},rows:Qo.value,showFlowLines:!0}:z.value==="trade"?{scope:"trade-flow",title:`${be.value||""}出栏来源`,metricLabel:"来源",unit:"头",source:E(I({},At),{total:bt("headCount")}),rows:Ho.value,showFlowLines:!1,mapView:V}:{scope:z.value==="epidemic"?"village":"town",hideTownNames:z.value==="epidemic",hideTownLabelStats:z.value==="structure"||z.value==="forecast",title:z.value==="forecast"?`${et.value.shortLabel}预测存栏`:z.value==="epidemic"?`${_e.value}年村级防疫信息`:"乡镇估算存栏",metricLabel:z.value==="forecast"?"预测":z.value==="epidemic"?"防疫":"存栏",unit:"万头",rows:z.value==="epidemic"?ci.value:il.value.map(r=>({name:r.name,value:Number((r.value/1e4).toFixed(2)),unit:"万头"}))}),yl=S(()=>(Ne.value,{color:["#8bf7ff","#30dcff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(r){const n=r.map(s=>`${s.marker}${s.seriesName}:${Y(Math.abs(s.value))}头`);return`${r[0].name}
    ${n.join("
    ")}`}}),legend:{top:4,right:12,itemWidth:12,itemHeight:8,textStyle:{color:F,fontSize:11}},grid:{left:22,right:22,top:32,bottom:12,containLabel:!0},xAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:r=>ae(Math.abs(r))},splitLine:{lineStyle:{color:G,type:"dashed"}},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"category",data:Vn.map(r=>r.age),axisLabel:{color:w,fontSize:11,fontWeight:700},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"母牛",type:"bar",stack:"gender",barWidth:12,data:Vn.map(r=>-r.cow),itemStyle:{borderRadius:[7,0,0,7]}},{name:"公牛",type:"bar",stack:"gender",barWidth:12,data:Vn.map(r=>r.bull),itemStyle:{borderRadius:[0,7,7,0]}}]})),vl=S(()=>{const r=zt.value,n=r.map(s=>s.count);return{color:se,tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(s){const c=s.map(f=>`${f.marker}${f.seriesName}:${Y(f.value)}头`);return`${s[0].name}
    ${c.join("
    ")}
    估算存栏:${Y(n[s[0].dataIndex])}头
    结构依据:畜群结构比例表`}}),legend:{top:-2,right:0,itemWidth:8,itemHeight:6,itemGap:6,textStyle:{color:F,fontSize:10}},grid:{left:54,right:30,top:22,bottom:8},xAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"category",inverse:!0,data:r.map(s=>s.name),axisLabel:{color:w,fontSize:10,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:Sa.map(s=>({name:s.name,type:"bar",stack:"town",barWidth:r.length>8?6:11,data:r.map(c=>Math.round(c.count*s.ratio/100))}))}}),bl=S(()=>Pn(zt.value,"count","头",{style:"ladder",tooltipFormatter(r){const n=zt.value[r.dataIndex];return`${n.name}
    估算存栏:${Y(n.count)}头
    来源:无人机识别`}})),wl=S(()=>{const r=fn.value,n=r.rows,s=Math.max(...n.map(c=>c.breedingCow+c.calf),1);return{color:["#30dcff","#8bf7ff"],animationDurationUpdate:700,animationEasingUpdate:"cubicOut",tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(c){const f=n[c[0].dataIndex],v=c.filter(b=>["能繁母牛","犊牛合计"].includes(b.seriesName)).map(b=>`${b.marker}${b.seriesName}:${Y(b.value)}头`);return`${f.name}
    母犊合计:${Y(f.breedingCow+f.calf)}头
    ${v.join("
    ")}
    依据:无人机识别 + 畜群结构比例表`}}),legend:{data:["能繁母牛","犊牛合计"],top:2,left:2,itemWidth:10,itemHeight:7,itemGap:9,textStyle:{color:F,fontSize:10}},graphic:r.total>En?{type:"text",right:4,top:3,silent:!0,style:{text:`${r.start+1}-${r.end} / ${r.total}`,fill:x,fontSize:10,fontWeight:600}}:void 0,grid:{left:18,right:18,top:42,bottom:44,containLabel:!1},xAxis:{type:"category",data:n.map(c=>c.name),axisLabel:{color:x,fontSize:10,lineHeight:12,interval:0,margin:8,formatter:Jl},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"value",max:Math.ceil(s*1.28),axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:[{name:"基础群规模",type:"bar",barWidth:15,barGap:"-100%",data:n.map(c=>c.breedingCow+c.calf),tooltip:{show:!1},itemStyle:{borderRadius:[8,8,1,1],color:"rgba(48, 220, 255, 0.07)"},silent:!0},{name:"能繁母牛",type:"bar",stack:"foundation",barWidth:15,data:n.map(c=>c.breedingCow),itemStyle:{borderRadius:[1,1,0,0],color:new Ae(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.34)"},{offset:1,color:"#30dcff"}])}},{name:"犊牛合计",type:"bar",stack:"foundation",barWidth:15,data:n.map(c=>c.calf),itemStyle:{borderRadius:[8,8,1,1],color:new Ae(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:1,color:"rgba(139, 247, 255, 0.2)"}])},label:{show:!0,position:"top",formatter:({dataIndex:c})=>ae(n[c].breedingCow+n[c].calf),color:"#ffffff",fontSize:10,fontWeight:700}}]}}),Ll=S(()=>{Ne.value;const r=qr.slice().sort((c,f)=>f.value-c.value),n=qr.reduce((c,f)=>c+f.value,0),s=r.map(c=>c.yoy||0);return{color:[Bn,"#8bf7ff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(c){const f=r[c[0].dataIndex];return`${f.label}
    数量:${Y(f.value)}头
    占比:${wt(f.value/n*100)}
    同比:${f.yoy>0?"+":""}${f.yoy}%`}}),grid:{left:36,right:30,top:20,bottom:34},xAxis:{type:"category",data:r.map(c=>c.label),axisLabel:{color:w,fontSize:10,fontWeight:700,interval:0,margin:10},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},{type:"value",min:Math.min(-2,Math.floor(Math.min(...s)-1)),max:Math.max(8,Math.ceil(Math.max(...s)+1)),axisLabel:{color:F,fontSize:10,formatter:"{value}%"},splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:"数量",type:"bar",barWidth:16,data:r.map(c=>({value:c.value,itemStyle:{borderRadius:[2,2,1,1],color:new Ae(0,0,0,1,[{offset:0,color:Bn},{offset:.58,color:"rgba(67, 217, 232, 0.72)"},{offset:1,color:"rgba(67, 217, 232, 0.16)"}]),shadowBlur:2,shadowColor:"rgba(48, 220, 255, 0.16)"},label:{show:!0,position:"top",color:C,fontSize:10,fontFamily:za.number,fontWeight:700,formatter:({value:f})=>ae(f)}}))},{name:"同比",type:"line",yAxisIndex:1,smooth:!0,symbol:"circle",symbolSize:6,data:s,lineStyle:{width:2,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:2},label:{show:!0,position:"top",color:"#8bf7ff",fontSize:10,formatter:({value:c})=>`${c>0?"+":""}${c}%`}}]}}),Tl=S(()=>{const r=Nu(Bt.value),n=Fu(et.value,r.key),s=Iu(n),c=xu(s.length,r.key);return{color:["#30dcff","#8bf7ff","#48cfff"],tooltip:E(I({},ye()),{trigger:"axis",triggerOn:"mousemove|click",axisPointer:{type:"cross",crossStyle:{color:"rgba(126, 251, 246, 0.42)"},label:{color:"#eaffff",backgroundColor:"rgba(5, 31, 51, 0.96)"}},formatter(f){var B,$,X;const v=Array.isArray(f)?f:[f],b=v.find(ue=>ue.seriesType==="candlestick"),k=(b==null?void 0:b.data)||s[(X=($=b==null?void 0:b.dataIndex)!=null?$:(B=v[0])==null?void 0:B.dataIndex)!=null?X:0];if(!k)return"";const R=k.close-k.open;return[`${k.label}|${r.unit}度预测`,`预测存栏:${Y(k.close)}头`,`较上期:${Fn(R)}头`,`新生牛犊:${Y(k.birth)}头`,`出栏扣减:${Y(k.outflow)}头`].join("
    ")}}),legend:{top:4,right:8,data:["预测存栏","新生牛犊","出栏扣减"],itemWidth:12,itemHeight:8,textStyle:{color:F,fontSize:10}},grid:{left:44,right:40,top:34,bottom:28},xAxis:{type:"category",boundaryGap:!0,data:n.labels,axisLabel:{color:x,fontSize:10,interval:c},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisTick:{show:!1}},yAxis:[{type:"value",scale:!0,axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},{type:"value",axisLabel:{color:F,fontSize:10,formatter:ae},splitLine:{show:!1}}],series:[{name:"预测存栏",type:"candlestick",yAxisIndex:0,barWidth:Ru(s.length,r.key),data:s,itemStyle:{color:"rgba(48, 220, 255, 0.82)",color0:"rgba(72, 207, 255, 0.82)",borderColor:"#30dcff",borderColor0:"#48cfff",borderWidth:1.4}},{name:"预测存栏线",type:"line",yAxisIndex:0,smooth:!0,symbol:"circle",symbolSize:4,data:s.map(f=>f.close),lineStyle:{width:1.8,color:"rgba(48, 220, 255, 0.86)"},itemStyle:{color:"#30dcff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:1},tooltip:{show:!1}},ps("新生牛犊",n.births,"#8bf7ff",1),ps("出栏扣减",n.outflow,"#48cfff",1)]}}),Sl=S(()=>({color:["#30dcff","#8bf7ff"],tooltip:E(I({},ye()),{trigger:"axis"}),legend:{top:4,right:12,itemWidth:12,itemHeight:8,textStyle:{color:F,fontSize:10}},grid:{left:52,right:42,top:34,bottom:28},xAxis:{type:"category",data:ar.value.map(r=>r.month||r.name),axisLabel:{color:x,fontSize:10,interval:1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:x,fontSize:10,formatter:r=>{const n=Number(r);return Number.isFinite(n)?Math.abs(n)>=1e4?`${Number((n/1e4).toFixed(1))}万`:`${n}`:r}},splitLine:{lineStyle:{color:G,type:"dashed"}}},{type:"value",axisLabel:{color:F,fontSize:10},splitLine:{show:!1}}],series:[{name:"数量",type:"bar",barWidth:12,data:ar.value.map(r=>r.count||r.value),itemStyle:{borderRadius:[8,8,0,0],color:new Ae(0,0,0,1,[{offset:0,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}},{name:"增速",type:"line",yAxisIndex:1,smooth:!0,symbolSize:5,data:ar.value.map(r=>r.speed||r.growthRate||0),lineStyle:{width:2.4,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff"}}]})),kl=S(()=>(Ne.value,{tooltip:ye(),radar:{center:["50%","54%"],radius:"68%",splitNumber:4,indicator:Ur.map(r=>({name:r.name,max:100})),axisName:{color:"rgba(223, 250, 255, 0.76)",fontSize:11},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},splitArea:{areaStyle:{color:["rgba(48, 220, 255, 0.04)","rgba(139, 247, 255, 0.018)"]}},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.18)"}}},series:[{type:"radar",data:[{name:"预测因子",value:Ur.map(r=>r.value),areaStyle:{color:"rgba(48, 220, 255, 0.22)"},lineStyle:{color:"#30dcff",width:2},itemStyle:{color:"#8bf7ff"}}]}]})),Ml=S(()=>Pn(nr.value,"forecast","头")),Cl=S(()=>{const r=ko.value,n=r.reduce((s,c,f)=>{const v=c.color||se[f%se.length];return s[`name${f}`]={color:v,fontSize:10,fontWeight:800},s[`percent${f}`]={color:v,fontSize:10,fontFamily:"D-DIN, Arial, sans-serif",fontWeight:800},s},{});return{color:se,tooltip:ye(s=>{var f;const c=r.find(v=>v.name===s.name);return`${s.name}
    预测占比:${wt((f=c==null?void 0:c.ratio)!=null?f:s.percent)}
    预测数量:${Y((c==null?void 0:c.count)||0)}头`}),legend:{orient:"vertical",right:4,top:"middle",itemWidth:8,itemHeight:8,itemGap:6,formatter(s){const c=r.findIndex(v=>v.name===s),f=r[c];return f?`{name${c}|${s}} {percent${c}|${wt(f.ratio)}}`:s},textStyle:{color:F,fontSize:10,rich:n}},series:[{name:"期末结构预测",type:"pie",radius:["38%","66%"],center:["32%","54%"],startAngle:118,avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:r.map(s=>({name:s.name,value:s.count}))}]}}),Pl=S(()=>(Ne.value,{color:["#8bf7ff","#48cfff","#48cfff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:{top:4,right:8,itemWidth:12,itemHeight:8,textStyle:{color:F,fontSize:10}},grid:{left:44,right:26,top:34,bottom:28},xAxis:{type:"category",data:Gt.map(r=>r.shortLabel),axisLabel:{color:w,fontSize:11,fontWeight:700},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:r=>Nn(r,1)},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:[{name:"新生牛犊",type:"bar",barWidth:12,data:Gt.map(r=>r.births),itemStyle:{borderRadius:[7,7,0,0]}},{name:"出栏流出",type:"bar",barWidth:12,data:Gt.map(r=>-r.outflow),itemStyle:{borderRadius:[0,0,7,7]}},{name:"稳态校正",type:"line",smooth:!0,symbolSize:6,data:Gt.map(r=>r.correction),lineStyle:{width:2.4}}]})),Nl=S(()=>{const r=nr.value,n=Math.max(...r.map(s=>Math.abs(s.change)),1);return r.map(s=>E(I({},s),{width:Math.max(8,Math.round(Math.abs(s.change)/n*100))}))});function Fl(r){const n=Number((r==null?void 0:r.change)||0)>=0;return{"--heat-width":`${r.width}%`,"--heat-color":n?"#30dcff":"#8bf7ff","--heat-color-soft":n?"rgba(48, 220, 255, 0.24)":"rgba(139, 247, 255, 0.22)","--heat-color-dim":n?"rgba(48, 220, 255, 0.07)":"rgba(139, 247, 255, 0.07)"}}function xl(r){return`${r.name}:${Fn(r.change)}头`}const Rl=S(()=>{const r=rr.value,n=r.map(c=>c.value),s=Math.max(...n,1);return{color:["#30dcff","#8bf7ff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},formatter(c){const f=c[0];return`${f.name}
    防疫记录:${Y(f.value)}条`}}),grid:{left:42,right:24,top:20,bottom:28},xAxis:{type:"category",data:r.map(c=>c.name),axisLabel:{color:x,fontSize:10,interval:Math.max(Math.floor(r.length/7),0)},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:[{name:"防疫记录",type:"bar",barMaxWidth:12,data:n,itemStyle:{borderRadius:[7,7,0,0],color:new Ae(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:.45,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])},label:{show:!0,position:"top",color:"rgba(230, 255, 249, 0.92)",fontSize:10,formatter:({value:c})=>c>=s*.42?ae(c):""}},{name:"作业趋势",type:"line",smooth:!0,showSymbol:!1,data:n,lineStyle:{width:2.4,color:"#8bf7ff"}}]}});S(()=>{const r=rr.value.length?rr.value.slice(-6):[{name:"待开展",value:0}],n=r.map(b=>Number(b.value||0)),s=_o.value,c=s.map(b=>Number(b.value||0)),f=Math.max(...n,1),v=b=>String(b||"").replace(/(镇|乡|村)$/,"");return{color:["#30dcff","#8bf7ff"],title:[{text:"作业节奏",left:4,top:0,textStyle:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,fontWeight:800}},{text:"补免关注",left:"55%",top:0,textStyle:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,fontWeight:800}}],tooltip:E(I({},ye()),{trigger:"axis",formatter(b){const k=Array.isArray(b)?b[0]:b;if((k==null?void 0:k.axisIndex)===1){const B=s[k.dataIndex]||{};return`${B.name}
    补免关注:${B.label||k.value}`}const R=r[k.dataIndex]||{};return`${R.name}
    防疫记录:${Y(R.value)}条`}}),grid:[{left:6,right:"52%",top:26,bottom:15},{left:"56%",right:12,top:26,bottom:15}],xAxis:[{type:"category",gridIndex:0,data:r.map(b=>b.name),axisLabel:{color:"rgba(226, 252, 255, 0.56)",fontSize:9,interval:0,formatter:b=>String(b||"").replace(/^(\d{1,2})\D+(\d{1,2}).*$/,"$1/$2")},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisTick:{show:!1}},{type:"value",gridIndex:1,min:0,max:Math.max(...c,100),show:!1}],yAxis:[{type:"value",gridIndex:0,show:!1},{type:"category",gridIndex:1,inverse:!0,data:s.map(b=>b.name),axisLabel:{color:"rgba(226, 252, 255, 0.68)",fontSize:9,formatter:b=>v(b)},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:"防疫记录",type:"bar",xAxisIndex:0,yAxisIndex:0,barMaxWidth:9,data:n,itemStyle:{borderRadius:[6,6,0,0],color:new Ae(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:.45,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.1)"}])},label:{show:!0,position:"top",color:"rgba(230, 255, 249, 0.86)",fontSize:8,formatter:({value:b})=>b>=f*.55?ae(b):""}},{name:"节奏线",type:"line",xAxisIndex:0,yAxisIndex:0,smooth:!0,showSymbol:!1,data:n,lineStyle:{width:1.8,color:"#8bf7ff"},tooltip:{show:!1}},{name:"补免关注",type:"bar",xAxisIndex:1,yAxisIndex:1,barWidth:8,data:c,itemStyle:{borderRadius:[0,7,7,0],color:new Ae(0,0,1,0,[{offset:0,color:"rgba(139, 247, 255, 0.24)"},{offset:1,color:"#8bf7ff"}])},label:{show:!0,position:"right",color:"rgba(201, 251, 255, 0.9)",fontSize:8,formatter:({dataIndex:b})=>{var k;return((k=s[b])==null?void 0:k.label)||""}}}]}}),S(()=>{const r=Go.value,n=r.map(v=>Number(v.value||0)),s=Math.max(...n,1),c=n.filter(Boolean).reduce((v,b)=>v+b,0)/Math.max(n.filter(Boolean).length,1),f=Math.ceil(s*1.18);return{color:["#30dcff","#8bf7ff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(v){var k;const b=r[(k=v[0])==null?void 0:k.dataIndex]||{};return b.isMissing?`${b.name}
    年度防疫:待补强`:`${b.name}
    覆盖量:${Y(b.value)}头
    防疫记录:${Y(b.recordCount)}条`}}),grid:{left:56,right:46,top:16,bottom:12},xAxis:{type:"value",min:0,max:f,show:!1},yAxis:{type:"category",inverse:!0,data:r.map(v=>v.name),axisLabel:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,interval:0,formatter:v=>String(v||"").replace(/(镇|乡)$/,"")},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"均衡参照",type:"bar",barWidth:11,silent:!0,barGap:"-100%",data:r.map(()=>f),itemStyle:{borderRadius:[0,8,8,0],borderColor:"rgba(48, 220, 255, 0.12)",borderWidth:1,color:"rgba(48, 220, 255, 0.045)"}},{name:"覆盖量",type:"bar",barWidth:11,barGap:"-100%",z:3,data:r.map(v=>{const b=Number(v.value||0);return{value:b>0?b:Math.max(f*.035,1),rawValue:b,itemStyle:{borderRadius:[0,8,8,0],color:new Ae(0,0,1,0,[{offset:0,color:v.isMissing?"rgba(72, 207, 255, 0.2)":"rgba(48, 220, 255, 0.14)"},{offset:.72,color:v.isMissing?"#48cfff":"#30dcff"},{offset:1,color:v.isMissing?"#8bf7ff":"#9efcff"}]),shadowBlur:v.isMissing?4:5,shadowColor:v.isMissing?"rgba(72, 207, 255, 0.18)":"rgba(48, 220, 255, 0.16)"}}}),label:{show:!0,position:"right",color:"rgba(239, 255, 255, 0.92)",fontSize:11,fontWeight:800,formatter:({dataIndex:v})=>{const b=r[v]||{};return b.isMissing?"待补强":`${ae(b.value)}头`}},markLine:c>0?{symbol:"none",silent:!0,lineStyle:{color:"rgba(139, 247, 255, 0.46)",type:"dashed",width:1},label:{color:"rgba(201, 251, 255, 0.8)",fontSize:10,formatter:"均衡线"},data:[{xAxis:c}]}:void 0}]}}),S(()=>{const r=Ao.value,n=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff","#48cfff","#40b8ff","#8bf7ff"],s=r.length?r.map((c,f)=>({name:String(c.name||"").replace(/(村|社区|牧委会)$/,""),value:Math.max(Number(c.value||0),1),rawValue:Number(c.value||0),town:c.town||"",itemStyle:{color:new Ae(0,0,1,1,[{offset:0,color:n[f%n.length]},{offset:1,color:"rgba(17, 70, 92, 0.38)"}])}})):[{name:"待形成",value:1,rawValue:0,town:"",itemStyle:{color:"rgba(48, 220, 255, 0.14)"}}];return{tooltip:E(I({},ye()),{formatter(c){const f=c.data||{};return f.rawValue?`${f.town?`${f.town} `:""}${f.name}
    覆盖量:${Y(f.rawValue)}头`:`${f.name}
    暂无村级覆盖量`}}),series:[{type:"treemap",roam:!1,nodeClick:!1,breadcrumb:{show:!1},left:6,right:6,top:7,bottom:5,visibleMin:1,data:s,label:{show:!0,color:"rgba(235, 254, 255, 0.9)",fontSize:10,fontWeight:800,lineHeight:14,formatter(c){var v;const f=Number(((v=c.data)==null?void 0:v.rawValue)||0);return f?`${c.name} +${ae(f)}头`:c.name}},upperLabel:{show:!1},itemStyle:{borderColor:"rgba(4, 24, 36, 0.88)",borderWidth:2,gapWidth:2},emphasis:{label:{color:"#ffffff"},itemStyle:{shadowBlur:6,shadowColor:"rgba(48, 220, 255, 0.18)"}},levels:[{itemStyle:{borderColor:"rgba(14, 75, 98, 0.72)",borderWidth:1,gapWidth:2}}]}]}});const Il=S(()=>{const r=or.value,n=r.length>8?10:12,s=n+8,c=r.map(B=>Number(B.recordCount||0)),f=r.map(B=>Number(B.earTagCount||0)),v=Math.max(...c,1),b=r.map(()=>Math.ceil(v*1.08)),k=new Ae(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.18)"},{offset:.48,color:"rgba(48, 220, 255, 0.06)"},{offset:1,color:"rgba(48, 220, 255, 0.02)"}]),R=new Ae(0,0,0,1,[{offset:0,color:"#31f7ff"},{offset:.36,color:"#1cbcff"},{offset:1,color:"#266dff"}]);return{color:["#31f7ff","#8bf7ff"],title:{text:`台账总量:{value|${ae(yt.value)}条}`,right:0,top:0,textStyle:{color:"#fff",fontSize:12,fontWeight:500,rich:{value:{color:"#22f1ff",borderColor:"#14bdf4",borderWidth:1,borderRadius:2,padding:[2,6,3,6],fontSize:12,fontWeight:700}}}},tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(B){const $=r[B[0].dataIndex];return[`${$.name}`,`防疫记录:${Y($.recordCount)}条`,`耳标数量:${Y($.earTagCount)}头`,"数据来源:防疫台账"].join("
    ")}}),legend:[{data:["防疫记录"],top:0,left:0,itemWidth:10,itemHeight:10,icon:"circle",textStyle:{color:w,fontSize:11},selectedMode:!1},{data:["耳标数"],top:0,left:82,itemWidth:10,itemHeight:10,icon:"circle",textStyle:{color:w,fontSize:11},selectedMode:!1}],grid:{left:42,right:12,top:46,bottom:68},xAxis:{type:"category",data:r.map(B=>B.name),axisLabel:{color:w,fontSize:10,interval:0,lineHeight:11,margin:8,formatter:Fr},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",name:"数量/条",max:Math.ceil(v*1.2),nameTextStyle:{color:x,fontSize:10,align:"left"},axisLabel:{color:x,fontSize:10,formatter:ae},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:[{name:"统计底柱",type:"bar",barWidth:s,barGap:"-100%",data:b,tooltip:{show:!1},silent:!0,z:1,itemStyle:{borderRadius:[8,8,1,1],borderColor:"rgba(48, 220, 255, 0.22)",borderWidth:1,color:k}},{name:"防疫记录",type:"bar",barGap:"-100%",barWidth:n,barMinHeight:2,z:3,data:c.map(B=>({value:B,itemStyle:{borderRadius:[8,8,1,1],borderColor:"rgba(200, 252, 255, 0.22)",borderWidth:1,color:R,shadowBlur:10,shadowColor:"rgba(49, 247, 255, 0.28)"}}))},{name:"耳标数",type:"line",smooth:!0,showSymbol:!1,z:9,data:f,lineStyle:{width:1.6,color:"#8bf7ff",shadowBlur:0,shadowColor:"transparent"},itemStyle:{color:"#8bf7ff"}}]}}),_l=S(()=>{const r=Co.value;return{tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(n){const s=r[n[0].dataIndex];return`${s.name}
    防疫记录:${Y(s.value)}条`}}),grid:{left:74,right:42,top:12,bottom:8},xAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:G,type:"dashed"}}},yAxis:{type:"category",inverse:!0,data:r.map(n=>n.name),axisLabel:{color:w,fontSize:10,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"记录",type:"bar",barWidth:9,data:r.map(n=>({value:n.value,itemStyle:{borderRadius:[1,2,2,1],color:new Ae(0,0,1,0,[{offset:0,color:"rgba(67, 217, 232, 0.14)"},{offset:.58,color:"rgba(67, 217, 232, 0.7)"},{offset:1,color:Bn}])}})),label:{show:!0,position:"right",color:"#eaffff",fontSize:10,formatter:({value:n})=>ae(n)}}]}}),Gl=S(()=>{const r=zo.value;return{color:["#30dcff","#8bf7ff"],tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(n){const s=n.find(f=>f.seriesName==="流通头数"),c=n.find(f=>f.seriesName==="出证记录");return`${(s==null?void 0:s.axisValue)||""}
    流通头数:${Y((s==null?void 0:s.value)||0)}头
    出证记录:${Y((c==null?void 0:c.value)||0)}条`}}),legend:{top:4,right:10,itemWidth:12,itemHeight:8,textStyle:{color:F,fontSize:10}},grid:{left:42,right:38,top:34,bottom:28},xAxis:{type:"category",data:r.map(n=>n.name),axisLabel:{color:x,fontSize:10,interval:1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},{type:"value",axisLabel:{color:F,fontSize:10,formatter:ae},splitLine:{show:!1}}],series:[{name:"流通头数",type:"bar",barMaxWidth:13,data:r.map(n=>n.headCount),itemStyle:{borderRadius:[7,7,0,0],color:new Ae(0,0,0,1,[{offset:0,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}},{name:"出证记录",type:"line",yAxisIndex:1,smooth:!0,symbolSize:5,data:r.map(n=>n.recordCount),lineStyle:{width:2.2,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:2}}]}}),Al=S(()=>Pn(hn.value.slice(0,10),"headCount","头",{style:"ladder",axisTextColor:"rgba(255, 255, 255, 0.88)",dimAxisTextColor:"rgba(255, 255, 255, 0.74)",tooltipFormatter(r){const n=hn.value[r.dataIndex];return`${n.name}
    流通头数:${Y(n.headCount)}头
    出证记录:${Y(n.recordCount)}条`}})),Bl=S(()=>{const r=mi.value;return{color:rt,tooltip:ye(n=>{const s=r.find(c=>c.name===n.name);return`${n.name}
    占比:${n.percent}%
    流通头数:${Y(n.value)}头
    出证记录:${Y((s==null?void 0:s.recordCount)||0)}条`}),legend:{orient:"vertical",right:4,top:"middle",itemWidth:8,itemHeight:8,itemGap:6,textStyle:{color:F,fontSize:10},formatter(n){const s=r.find(c=>c.name===n);return s?`${n} ${ae(s.headCount)}头`:n}},series:[{name:"用途结构",type:"pie",radius:["38%","64%"],center:["32%","54%"],startAngle:110,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:r.map(n=>({name:n.name,value:n.headCount}))}]}}),$l=S(()=>{const r=[{name:"省外A证",value:bt("outProvinceHeads","aCertHeads")},{name:"省内B证",value:bt("inProvinceHeads","bCertHeads")}];return{color:["#8bf7ff","#30dcff"],tooltip:ye(n=>`${n.name}
    流通头数:${Y(n.value)}头
    占比:${n.percent}%`),series:[{type:"pie",radius:["48%","72%"],center:["50%","52%"],label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:r}]}}),El=S(()=>{const r=bi.value,n=[...new Set(r.map(f=>f.recordYear))].sort(),s=[...new Set(r.map(f=>f.townName))].map(f=>({name:f,total:r.filter(v=>v.townName===f).reduce((v,b)=>v+b.headCount,0)})).sort((f,v)=>v.total-f.total).slice(0,10).map(f=>f.name),c=["#30dcff","#ffd76c","#27f0c0","#8bf7ff"];return{color:c,tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},valueFormatter:f=>`${Y(f)}头`}),legend:{top:2,right:6,itemWidth:10,itemHeight:6,textStyle:{color:F,fontSize:10}},grid:{left:44,right:10,top:32,bottom:54},xAxis:{type:"category",data:s,axisLabel:{color:w,fontSize:9,interval:0,formatter:Fr},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:{type:"value",name:"头",nameTextStyle:{color:x,fontSize:10},axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:n.map((f,v)=>({name:`${f}年`,type:"bar",barMaxWidth:10,data:s.map(b=>{var k;return((k=r.find(R=>R.recordYear===f&&R.townName===b))==null?void 0:k.headCount)||0}),itemStyle:{borderRadius:[5,5,0,0],color:new Ae(0,0,0,1,[{offset:0,color:c[v%c.length]},{offset:1,color:"rgba(5, 29, 42, 0.12)"}])}}))}}),Vl=S(()=>{const r=wi.value;return{color:["#30dcff","#ffd76c","#27f0c0","#8bf7ff"],tooltip:ye(n=>`${n.name}
    出栏:${Y(n.value)}头
    占比:${n.percent}%`),legend:{orient:"vertical",right:4,top:"middle",itemWidth:8,itemHeight:8,itemGap:9,textStyle:{color:F,fontSize:10},formatter(n){const s=r.find(c=>c.name===n);return s?`${n} ${ae(s.headCount)}头`:n}},graphic:[{type:"text",left:"28%",top:"44%",style:{text:"检疫畜种",fill:F,font:`10px ${za.ui}`}},{type:"text",left:"28%",top:"54%",style:{text:`${r.length}类`,fill:C,font:`700 16px ${za.number}`}}],series:[{type:"pie",radius:["42%","68%"],center:["34%","52%"],startAngle:110,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:r.map(n=>({name:n.name,value:n.headCount}))}]}}),Dl=S(()=>{const r=Li.value.slice(0,7);return{tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(n){var c;const s=r[(c=n[0])==null?void 0:c.dataIndex];return`${(s==null?void 0:s.name)||""}
    出栏:${Y((s==null?void 0:s.headCount)||0)}头
    检疫票:${Y((s==null?void 0:s.certificateCount)||0)}张`}}),grid:{left:40,right:12,top:12,bottom:54},xAxis:{type:"category",data:r.map(n=>n.name),axisLabel:{color:w,fontSize:9,interval:0,formatter:Fr},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{color:x,fontSize:10,formatter:ae},splitLine:{lineStyle:{color:G,type:"dashed"}}},series:[{type:"bar",barMaxWidth:18,data:r.map((n,s)=>({value:n.headCount,itemStyle:{borderRadius:[9,9,0,0],color:new Ae(0,0,0,1,[{offset:0,color:s===0?"#ffd76c":"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}}))}]}}),zl=S(()=>Pn(mr.value.slice(0,10),"certificateCount","张",{style:"ladder",axisTextColor:"rgba(255, 255, 255, 0.9)",dimAxisTextColor:"rgba(255, 255, 255, 0.72)",tooltipFormatter(r){const n=mr.value[r.dataIndex];return`${n.name}
    检疫票:${Y(n.certificateCount)}张
    出栏:${Y(n.headCount)}头`}}));function Lr(){l.value=typeof window=="undefined"?1080:window.innerHeight}function Mi(){var r,n,s,c,f,v;if(tt.value){(n=(r=Na.value)==null?void 0:r.refreshView)==null||n.call(r);return}(c=(s=$e.value)==null?void 0:s.resume)==null||c.call(s),(v=(f=$e.value)==null?void 0:f.refreshView)==null||v.call(f)}function Ci(){Ft&&(window.clearTimeout(Ft),Ft=null)}function Pi(){var r,n,s,c,f,v;if(Ze.value=!1,en.value={type:"loading",text:"地图正在复位"},tn.value={type:"idle",text:""},tt.value){(n=(r=Na.value)==null?void 0:r.hasMap)!=null&&n.call(r)?(Fa.value=!0,(c=(s=Na.value)==null?void 0:s.resetView)==null||c.call(s)):(Fa.value=!1,Xr.value+=1,ia(()=>{window.setTimeout(()=>{var b,k;return(k=(b=Na.value)==null?void 0:b.refreshView)==null?void 0:k.call(b)},160)}));return}if((v=(f=$e.value)==null?void 0:f.hasMap)!=null&&v.call(f)){ha.value=!0,Mi();return}Ci(),ha.value=!1,Dt=!1,Zr.value+=1,ia(()=>{Cn()})}function Ol(){Ze.value=!1,Pi()}e({refreshMapView:Mi,resetMap:Pi,setActiveView(r){z.value=Br(r)}}),io(()=>{Lr(),window.addEventListener("resize",Lr),ls(),us(z.value),mn()}),so(()=>{var r,n;pa=!0,window.removeEventListener("resize",Lr),Ft&&window.clearTimeout(Ft),Tr(),Sn(),(n=(r=$e.value)==null?void 0:r.destroyMap)==null||n.call(r)}),oa([z,et,zt,sr,yt,_e,be,he,pi,pn],()=>{Cu()},{immediate:!0}),oa(z,(r,n)=>{i("view-change",r),us(r);const s=r==="structure"||r==="forecast",c=n==="structure"||n==="forecast",f=new Set(["trade","slaughter"]),v=!s&&!c&&(f.has(r)||f.has(n));s&&!c&&(Ze.value=!1,Fa.value=!1,en.value={type:"idle",text:""},tn.value={type:"idle",text:""}),!s&&c&&(ls(),Ci(),Ze.value=!1,ha.value=!1,Dt=!1,en.value={type:"idle",text:""},tn.value={type:"idle",text:""},ia(()=>{var b,k,R,B;Cn(),(k=(b=$e.value)==null?void 0:b.resume)==null||k.call(b),(B=(R=$e.value)==null?void 0:R.refreshView)==null||B.call(R),window.setTimeout(()=>{var $,X;return(X=($=$e.value)==null?void 0:$.refreshView)==null?void 0:X.call($)},180)})),v&&ia(()=>{var b,k,R,B;(k=(b=$e.value)==null?void 0:b.resume)==null||k.call(b),(B=(R=$e.value)==null?void 0:R.refreshView)==null||B.call(R)}),mn(),Ar()}),oa(()=>a.viewKey,r=>{const n=Br(r);n!==z.value&&(z.value=n)}),oa(()=>a.active,r=>{var n,s,c,f;r?(Cn(),(s=(n=$e.value)==null?void 0:n.resume)==null||s.call(n),mn(),Ar()):((f=(c=$e.value)==null?void 0:c.pause)==null||f.call(c),Tr(),Sn())}),oa(fn,r=>{pt.value>=r.pageCount&&(pt.value=0),mn()});function Wl(r){r!==Mt.value&&(Mt.value=r)}function mn(){Tr(),!(!a.active||z.value!=="structure"||pa||fn.value.pageCount<=1)&&(nn=window.setInterval(Yl,Pf))}function Yl(){const r=fn.value.pageCount;r<=1||(pt.value=(pt.value+1)%r)}function Tr(){nn&&(window.clearInterval(nn),nn=null)}function jl(r){return Dn(r||"")}function at(r){return String(r||"").trim()}function Sr(r){const n=Number(r);return Number.isFinite(n)&&qe.includes(n)?n:qe[qe.length-1]}function kr(r=_e.value){const n=Sr(r);return{startDate:`${n}-01-01`,endDate:`${n}-12-31`}}function gn(){return{keyword:"",town:"",medicine:"",startDate:"",endDate:""}}function Mr(){return{keyword:"",town:"",destination:"",usage:"",certType:"",direction:""}}function Hl(r=[]){return Array.isArray(r)?r.map((n,s)=>({key:`${n.recordYear||n.record_year}-${n.townName||n.town_name||s}`,recordYear:Number(n.recordYear||n.record_year),townName:String(n.townName||n.town_name||"未标注"),certificateCount:Number(n.certificateCount||n.certificate_count||0),headCount:Number(n.headCount||n.head_count||0)})).filter(n=>Number.isFinite(n.recordYear)&&n.townName&&Number.isFinite(n.headCount)):[]}function yn(r=[]){return Array.isArray(r)?r.map((n,s)=>({key:n.key||n.name||`${s}`,name:String(n.name||n.townName||n.town_name||"未标注"),certificateCount:Number(n.certificateCount||n.certificate_count||n.recordCount||n.record_count||0),headCount:Number(n.headCount||n.head_count||n.value||0)})).filter(n=>n.name&&Number.isFinite(n.headCount)):[]}function vn(r=[]){return Array.isArray(r)?r.map((n,s)=>{const c=n.destinationProvinceName||n.destination_province_name||"未标注",f=n.destinationCityName||n.destination_city_name||"未标注",v=[c,f].filter((b,k,R)=>b&&b!=="未标注"&&R.indexOf(b)===k);return{recordKey:n.recordKey||n.record_key||`slaughter-${s}`,certificateDisplay:n.certificateDisplay||n.certificate_display||"--",ownerDisplay:n.ownerDisplay||n.owner_display||"--",vehicleDisplay:n.vehicleDisplay||n.vehicle_display||"--",certificateType:n.certificateType||n.certificate_type||"--",issueTime:n.issueTime||n.issue_time||"",animalTypeName:n.animalTypeName||n.animal_type_name||"--",animalQuantity:Number(n.animalQuantity||n.animal_quantity||0),quantityUnit:n.quantityUnit||n.quantity_unit||"头",movementPurposeName:n.movementPurposeName||n.movement_purpose_name||"未标注",originTownName:n.originTownName||n.origin_town_name||"未标注",destinationProvinceName:c,destinationCityName:f,destinationName:v.join(" ")||"未标注",destinationDirection:n.destinationDirection||n.destination_direction||"未标注",recordStatusName:n.recordStatusName||n.record_status_name||"未标注"}}):[]}function xt(r=[]){return Array.isArray(r)?r.map((n,s)=>{var c,f,v,b,k,R,B,$,X;return{key:n.key||n.id||`${n.name||n.label||"item"}-${s}`,name:String(n.name||n.label||n.town||n.village||"未填写"),value:Number((v=(f=(c=n.value)!=null?c:n.count)!=null?f:n.total)!=null?v:0),recordCount:Number((B=(R=(k=(b=n.recordCount)!=null?b:n.record_count)!=null?k:n.value)!=null?R:n.count)!=null?B:0),earTagCount:Number((X=($=n.earTagCount)!=null?$:n.ear_tag_count)!=null?X:0)}}).filter(n=>n.name&&Number.isFinite(n.value)):[]}function Ni(r={}){const n=xt(r==null?void 0:r.medicineCounts);return Math.max(n.filter(s=>s.name!=="未填写").length,1)}function Cr(...r){const n=r.flatMap(s=>Array.isArray(s)?s:[s]).map(s=>{var c,f,v;return s&&typeof s=="object"?(v=(f=(c=s.year)!=null?c:s.value)!=null?f:s.latestYear)!=null?v:s.latest_year:s}).map(Number).filter(s=>Number.isFinite(s)&&s>0);return[...new Set(n)].sort((s,c)=>s-c)}function bn(r=[],n="name"){return Array.isArray(r)?r.map((s,c)=>{var f,v,b,k,R,B,$,X,ue,ce,we,We,Lt,aa,Ga,Aa,Ba;return{key:s.key||s.id||`${s[n]||s.name||s.label||"trade"}-${c}`,name:String(s[n]||s.name||s.label||s.town||"未填写"),recordCount:Number((b=(v=(f=s.recordCount)!=null?f:s.record_count)!=null?v:s.count)!=null?b:0),headCount:Number(($=(B=(R=(k=s.headCount)!=null?k:s.head_count)!=null?R:s.amount)!=null?B:s.value)!=null?$:0),lng:vt((We=(we=(ce=(ue=(X=s.lng)!=null?X:s.longitude)!=null?ue:s.destLng)!=null?ce:s.dest_lng)!=null?we:s.destLongitude)!=null?We:s.dest_longitude),lat:vt((Ba=(Aa=(Ga=(aa=(Lt=s.lat)!=null?Lt:s.latitude)!=null?aa:s.destLat)!=null?Ga:s.dest_lat)!=null?Aa:s.destLatitude)!=null?Ba:s.dest_latitude)}}).filter(s=>s.name&&Number.isFinite(s.headCount)):[]}function ql(r=[]){return Array.isArray(r)?r.map(n=>{var s,c,f,v,b,k;return{year:Number(n.year),recordCount:Number((c=(s=n.recordCount)!=null?s:n.record_count)!=null?c:0),headCount:Number((k=(b=(v=(f=n.headCount)!=null?f:n.head_count)!=null?v:n.amount)!=null?b:n.value)!=null?k:0)}}).filter(n=>Number.isFinite(n.year)&&Number.isFinite(n.headCount)):[]}function fa(r=[]){return Array.isArray(r)?Pr(r.map(n=>{var s,c,f;return n&&typeof n=="object"?(f=(c=(s=n.value)!=null?s:n.label)!=null?c:n.name)!=null?f:"":n})):[]}function Ul(r=[]){return Array.isArray(r)?r.map(n=>{var s,c,f,v,b,k;if(n&&typeof n=="object"){const R=(f=(c=(s=n.value)!=null?s:n.name)!=null?c:n.label)!=null?f:"",B=(k=(b=(v=n.label)!=null?v:n.name)!=null?b:n.value)!=null?k:R;return R?{value:String(R),label:String(B||R)}:null}return n?{value:String(n),label:String(n)}:null}).filter(Boolean):[]}function Pr(r=[]){return[...new Set(r.map(n=>String(n||"").trim()).filter(Boolean))]}function Kl(r=[]){if(!Array.isArray(r))return[];const n=new Map;r.forEach((c,f)=>{var B,$,X,ue,ce,we;const v=at(c.name||c.areaName||c.area_name||c.town||c.label||"");if(!v)return;const b=vt((X=($=(B=c.value)!=null?B:c.number)!=null?$:c.count)!=null?X:c.total);if(!Number.isFinite(b))return;const k=n.get(v)||{key:c.areaCode||c.area_code||`${v}-${f}`,name:v,recordCount:0,earTagCount:0,source:"stats"};k.recordCount+=b;const R=vt((we=(ce=(ue=c.earTagCount)!=null?ue:c.ear_tag_count)!=null?ce:c.headCount)!=null?we:c.head_count);k.earTagCount+=Number.isFinite(R)?R:0,n.set(v,k)});const s=[...n.values()].reduce((c,f)=>c+Number(f.recordCount||0),0);return[...n.values()].map(c=>E(I({},c),{earTagCount:c.earTagCount||Math.round(Number(c.recordCount||0)/Ot.value),ratio:s?Number(c.recordCount||0)/s*100:0})).sort((c,f)=>Number(f.recordCount||0)-Number(c.recordCount||0))}function Zl(r={}){var f,v;const n=Array.isArray(r)?{rows:r}:r||{},s=n.result||{};return{rows:n.rows||n.data||n.list||n.records||[],year:(v=(f=n.year)!=null?f:s.year)!=null?v:null}}function Nr(r=[]){return Array.isArray(r)?r.map((n,s)=>{var X,ue,ce,we,We,Lt,aa,Ga,Aa,Ba,bs,ws;const c=at(n.town||n.townName||n.town_name||""),f=String(n.village||n.villageName||n.village_name||n.name||"").trim(),v=vt((ce=(ue=(X=n.recordCount)!=null?X:n.record_count)!=null?ue:n.records)!=null?ce:n.total),b=vt((aa=(Lt=(We=(we=n.earTagCount)!=null?we:n.ear_tag_count)!=null?We:n.headCount)!=null?Lt:n.head_count)!=null?aa:n.value),k=vt((Aa=(Ga=n.imageCount)!=null?Ga:n.image_count)!=null?Aa:n.images),R=vt((Ba=n.imageRate)!=null?Ba:n.image_rate),B=vt((bs=n.lng)!=null?bs:n.longitude),$=vt((ws=n.lat)!=null?ws:n.latitude);return{key:n.key||n.id||`${c}-${f}-${s}`,town:c,village:f,recordCount:Number.isFinite(v)?v:0,earTagCount:Number.isFinite(b)?b:0,imageCount:Number.isFinite(k)?k:0,imageRate:Number.isFinite(R)?R:0,lng:B,lat:$}}).filter(n=>n.town&&n.village&&Number.isFinite(n.earTagCount)).sort((n,s)=>Number(s.earTagCount||0)-Number(n.earTagCount||0)):[]}function Xl(r={},n={}){const s=Array.isArray(n)?{rows:n}:n||{},c=s.result||{},f=Nr(s.rows||s.data||s.list||s.records||c.rows||[]),v=new Map;f.forEach($=>{Fi($.village).forEach(X=>{v.has(X)||v.set(X,$)})});const b=xt(r==null?void 0:r.townCounts),k=b.length===1?at(b[0].name):"",R=Ni(r),B=xt(r==null?void 0:r.villageCounts).map(($,X)=>{var We,Lt;const ue=String($.name||"").trim(),ce=Fi(ue).map(aa=>v.get(aa)).find(Boolean)||{},we=Number((Lt=(We=$.recordCount)!=null?We:$.value)!=null?Lt:0);return{key:ce.key||`${ce.town||k||"防疫"}-${ue}-${X}`,town:ce.town||k,village:ue,recordCount:we,earTagCount:Number($.earTagCount||0)||Math.round(we/R),imageCount:ce.imageCount||0,imageRate:ce.imageRate||0,lng:ce.lng,lat:ce.lat}}).filter($=>$.village&&$.recordCount>0);return E(I({},s),{rows:B})}function Fi(r){const n=String(r||"").trim(),s=n.replace(/(村|社区|牧委会)$/,"");return[...new Set([n,s].filter(Boolean))]}function vt(r){if(r==null||r==="")return NaN;const n=Number(String(r).replace(/,/g,"").replace(/%/g,""));return Number.isFinite(n)?n:NaN}function xi(r){return String(r||"").replace(/'/g,"''").replace(/%/g,"\\%").replace(/_/g,"\\_")}function Ql(r,n){const s=at(r),c=String(n||"").trim();if(!s||!c)return"";const f=xi(s),v=xi(c);return`(town_name = '${f}' AND village_name = '${v}')`}function Fr(r){const n=String(r||"").trim().replace(/\s+/g,"");return n?Array.from(n).join(` +`):""}function Jl(r){const n=String(r||"").trim();if(!n)return"";const s=n.match(/^(.+)(镇|乡|村)$/);return s?`${s[1]} +${s[2]}`:n}function eu(r,n){return Ri(r.name)-Ri(n.name)}function Ri(r){const n=String(r||"").match(/(\d{1,2})\D+(\d{1,2})/);return n?Number(n[1])*100+Number(n[2]):Number.MAX_SAFE_INTEGER}function xr(r=[]){return Array.isArray(r)?r.map(Ii).filter(Boolean):[]}function Ii(r){return r?{epidemicId:r.epidemicId||r.epidemic_id||r.id||"",earTag:r.earTag||r.ear_tag||"",owner:r.owner||"",idType:r.idType||r.id_type||"",idNo:r.idNo||r.id_no||"",phone:r.phone||"",town:r.town||"",village:r.village||"",location:r.location||"",livestockType:r.livestockType||r.livestock_type||"",age:r.age||"",sex:r.sex||"",weight:r.weight||r.weightKg||r.weight_kg||"",preventionType:r.preventionType||r.prevention_type||"",method:r.method||"",medicine:r.medicine||"",dose:r.dose||"",operator:r.operator||"",operateTime:r.operateTime||r.operate_time||"",imagePaths:r.imagePaths||r.image_paths||""}:null}function _i(r=[]){return Array.isArray(r)?r.map(tu).filter(Boolean):[]}function tu(r){var n,s,c,f;return r?{certId:r.certId||r.cert_id||r.id||"",certType:r.certType||r.cert_type||"",certScopeName:r.certScopeName||r.cert_scope_name||"",factoryCode:r.factoryCode||r.factory_code||"",ownerName:r.ownerName||r.owner_name||"",ownerPhone:r.ownerPhone||r.owner_phone||"",transportNumber:r.transportNumber||r.transport_number||"",amount:Number((f=(c=(s=(n=r.amount)!=null?n:r.headCount)!=null?s:r.head_count)!=null?c:r.value)!=null?f:0),unitName:r.unitName||r.unit_name||"头",animalTypeName:r.animalTypeName||r.animal_type_name||"",usageTypeName:r.usageTypeName||r.usage_type_name||"",startTown:r.startTown||r.start_town||"",startRegionFullName:r.startRegionFullName||r.start_region_full_name||"",destProvince:r.destProvince||r.dest_province||"",destRegionFullName:r.destRegionFullName||r.dest_region_full_name||"",quarantineOfficerName:r.quarantineOfficerName||r.quarantine_officer_name||"",issueTime:r.issueTime||r.issue_time||"",statusName:r.statusName||r.status_name||""}:null}function ea(r,n){for(const s of n){const c=Number(r==null?void 0:r[s]);if(Number.isFinite(c))return c}return 0}function bt(...r){return ea(pi.value,r)}function Ia(...r){return ea(pn.value,r)}function au(r){const n=String(r||"").trim();if(!n)return"--";const s=n.match(/^\d{4}-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}))?/);return s?`${s[1]}-${s[2]}${s[3]?` ${s[3]}:${s[4]}`:""}`:n}function Gi(r=[],n=2){const s=[...new Set(r.map(c=>String(c||"").trim()).filter(Boolean))];return s.length?s.length<=n?s.join("、"):`${s.slice(0,n).join("、")}等${s.length}个乡镇`:"暂无"}function nu(){const r=Wt.value;if(r.length)return{name:Gi(r,1),desc:"年度防疫覆盖需补强",level:"watch"};const n=Qt.value.filter(c=>Number(c.earTagCount||c.recordCount||0)>0).sort((c,f)=>Number(c.earTagCount||c.recordCount||0)-Number(f.earTagCount||f.recordCount||0)),s=n[0];return s?{name:s.name,desc:`${ae(s.earTagCount||s.recordCount)}头,建议补免回访`,level:n.length>=2?"watch":"normal"}:{name:"暂无",desc:"等待年度防疫记录形成",level:"normal"}}function ru(){const r=Wt.value;if(r.length)return r.slice(0,4).map((c,f)=>({key:`missing-${c}`,name:c,value:Math.max(25,100-f*12),label:"待补免",level:"watch"}));const n=Qt.value.filter(c=>Number(c.earTagCount||c.recordCount||0)>0);if(!n.length)return[{key:"empty",name:"暂无",value:0,label:"待开展",level:"watch"}];const s=n.reduce((c,f)=>c+Number(f.earTagCount||0),0)/n.length||1;return[...n].sort((c,f)=>Number(c.earTagCount||0)-Number(f.earTagCount||0)).slice(0,4).map(c=>{const f=Number(c.earTagCount||c.recordCount||0),v=Math.max(8,Math.round((s-f)/s*100));return{key:`weak-${c.name}`,name:c.name,value:Math.min(100,v),label:`${ae(f)}头`,level:v>=35?"watch":"normal"}})}function iu(){const n=(or.value.length?or.value:Qt.value).map((f,v)=>{const b=at(f.name),k=Number(f.earTagCount||0),R=Number(f.recordCount||f.value||0),B=k||Math.round(R/Ot.value);return{key:f.key||`${b}-${v}`,name:b,value:B,recordCount:R,isMissing:!1}}).filter(f=>f.name&&Number.isFinite(f.value)),c=[...Wt.value.map((f,v)=>({key:`missing-${f}-${v}`,name:f,value:0,recordCount:0,isMissing:!0})),...n];return c.length?c.sort((f,v)=>f.isMissing!==v.isMissing?f.isMissing?-1:1:Number(f.value||0)-Number(v.value||0)).slice(0,7):[{key:"empty",name:"待开展",value:0,recordCount:0,isMissing:!0}]}function su(){var n;const r=ci.value.map((s,c)=>({key:s.key||`${s.town}-${s.village}-${c}`,name:s.village||s.name,town:s.town,value:Number(s.earTagCount||s.value||0)})).filter(s=>s.name&&Number.isFinite(s.value)&&s.value>0);return r.length?r.sort((s,c)=>c.value-s.value).slice(0,9):xt((n=Fe.value)==null?void 0:n.villageCounts).map((s,c)=>({key:s.key||`${s.name}-${c}`,name:s.name,town:"",value:Math.round(Number(s.value||0)/Ot.value)})).filter(s=>s.name&&Number.isFinite(s.value)&&s.value>0).sort((s,c)=>c.value-s.value).slice(0,9)}function ou(){if(!yt.value)return{level:"watch",title:"年度待开展",desc:"年度免疫记录暂未形成",advice:"建议先核查年度免疫计划与乡镇推进节奏。"};const r=Io.value,n=dn.value;return Wt.value.length?{level:"watch",title:"补免待核查",desc:`乡镇覆盖${wt(r)},${n.name}需补强`,advice:`优先核查${Gi(Wt.value,1)}免疫进度。`}:r>=90&&Ot.value>=4?{level:"stable",title:"运行平稳",desc:`乡镇覆盖${wt(r)},疫苗谱较完整`,advice:"建议保持当前免疫节奏,持续跟踪补免回访。"}:{level:"normal",title:"均衡回访",desc:`${n.name}相对偏低,适合继续跟进`,advice:`关注${n.name}补免回访,保持覆盖均衡。`}}function lu(){return[{key:"latest",name:"最近免疫",value:ui.value,desc:"最后作业时间",level:ui.value==="-"?"watch":"stable",color:"#8bf7ff"},{key:"top-town",name:"高频乡镇",value:Fo.value,desc:"年度作业集中区",level:"normal",color:"#30dcff"},{key:"vaccine",name:"主用疫苗",value:Po.value,desc:`${Ot.value}类疫苗`,level:"normal",color:"#8bf7ff"}]}function uu(r=[]){if(!Array.isArray(r))return[];const n=["#63d7ff","#30dcff","#48cfff","#48cfff"];return r.map((s,c)=>{const f=s.level==="重点"?"high":s.level==="关注"?"watch":"normal";return{key:s.key||`risk-${c}`,name:s.name||"监管线索",value:s.detail||"暂无",desc:s.level==="重点"?"重点关注":s.level==="关注"?"持续关注":"运行平稳",level:f,badge:s.level||"平稳",color:n[c%n.length]}})}function Rr(r={}){return String(r.imagePaths||"").split(";").map(n=>n.trim()).filter(Boolean)}function Ai(r){const s=String(r||"").replace(/^images\//,"").split("/").map(encodeURIComponent).join("/");return`${Sf}/${s}`}function cu(r){st.value=Ai(r),He.value=!0}function Ir(){He.value=!1,st.value=""}function W(r){return r==null||r===""?"-":r}function du(r){const n=String(r!=null?r:"").trim();return!!(n&&n!=="-")}function Re(r,n,s={}){return du(n)?I({label:r,value:n},s):null}function ut(r){return r?String(r).slice(0,10):"-"}function Bi(r){const n=String(r||"").trim();return n?n.length<7?n:`${n.slice(0,3)}****${n.slice(-4)}`:"-"}function hu(r){const n=String(r||"").trim();return n?n.length<=4?n:`****${n.slice(-4)}`:"-"}function pu(r){const n=String(r!=null?r:"").trim();if(!n)return"-";if(/kg|公斤|千克/i.test(n))return n;const s=Number(n);return Number.isFinite(s)?`${Y(s)}kg`:n}function fu(r){return String(r!=null?r:"").trim()||"-"}function $i(r={}){return r.certScopeName||r.certType||"-"}function mu(){return oe(this,null,function*(){var c;it.value=!0,Me.value="";const[r,n,s]=yield Promise.allSettled([Tc(),Sc(),kc()]);r.status==="fulfilled"?(kd(r.value),Ne.value+=1):Me.value="牦牛管理基础数据接口异常",n.status==="fulfilled"&&((c=n.value)!=null&&c.length)&&($t.value=Fd(n.value.map(f=>({name:Dn(f.name),count:Number(f.value)})).filter(f=>f.name&&Number.isFinite(f.count)))),s.status==="fulfilled"?(ft.value=Au(s.value),ft.value.length||(Me.value="结构数据暂无数据")):(Me.value=$u(s.reason,"结构数据异常"),ft.value=[]),it.value=!1})}function Ei(){return oe(this,arguments,function*(r=be.value){var n,s,c,f,v,b;qt.value=!0,ua.value="";try{(s=(n=ge.value)==null?void 0:n.years)!=null&&s.length||(ge.value=yield Mc());const k=Cr((c=ge.value)==null?void 0:c.years),R=Number(((f=ge.value)==null?void 0:f.latestYear)||((v=ge.value)==null?void 0:v.latest_year)||k[k.length-1]),B=Number(r||be.value||R||k[k.length-1]);be.value=B;let $=yield Is({year:B});const X=(b=$==null?void 0:$.hasData)!=null?b:$==null?void 0:$.has_data,ue=Number(($==null?void 0:$.latestYear)||($==null?void 0:$.latest_year)||R);X===!1&&ue&&ue!==B&&(be.value=ue,$=yield Is({year:ue})),ie.value=$||{metrics:{},hasData:!1},yield _r(1)}catch(k){ua.value="交易数据接口异常",ie.value={metrics:{},hasData:!1},mt.value=[],Vt.value=0}finally{qt.value=!1}})}function _r(){return oe(this,arguments,function*(r=Pt.value){var s,c;if(!be.value)return;const n={year:be.value,page:r,pageSize:Wr,keyword:Wn.value};try{const f=yield _s(n);mt.value=_i(f.rows),Vt.value=Number(((s=f.page)==null?void 0:s.totalCount)||f.totalCount||mt.value.length||0),Pt.value=Number(((c=f.page)==null?void 0:c.page)||r||1)}catch(f){ua.value=ua.value||"交易台账接口异常",mt.value=[],Vt.value=0}})}function gu(r){const n=Number(r);!Number.isFinite(n)||n===Number(be.value)||(be.value=n,Pt.value=1,Ha.value="",Wn.value="",Ei(n))}function yu(r){const n=Sr(r);n!==Number(_e.value)&&(_e.value=n,Be.value=1,M.value="",L.value="",Le.value=1,me.value=gn(),Ji(n))}function Vi(){Wn.value=Ha.value.trim(),_r(1)}function Di(r){const n=Math.min(Math.max(Number(r)||1,1),cr.value);_r(n)}function zi(r=null){Yn.value=!0,r&&(Ua.value=r),wn(r?Pt.value:1,r)}function Oi(){Yn.value=!1}function Wi(){wn(1)}function vu(){gt.value={keyword:"",startTown:"",usageType:"",certType:""},wn(1)}function Yi(r){const n=Math.min(Math.max(Number(r)||1,1),dr.value);wn(n)}function wn(){return oe(this,arguments,function*(r=Kt.value,n=null){var f,v;if(!be.value)return;jn.value=!0,Hn.value="";const s=gt.value,c={year:be.value,page:r,pageSize:to,keyword:s.keyword.trim(),startTown:s.startTown,usageType:s.usageType,certType:s.certType};try{const b=yield _s(c);Ut.value=_i(b.rows),qa.value=Number(((f=b.page)==null?void 0:f.totalCount)||b.totalCount||Ut.value.length||0),Kt.value=Number(((v=b.page)==null?void 0:v.page)||r||1);const k=n?n.certId||n.factoryCode:"",R=k?Ut.value.find(B=>(B.certId||B.factoryCode)===k)||n:Ut.value[0]||null;ji(R)}catch(b){Hn.value="交易台账接口异常",Ut.value=[],qa.value=0,Ua.value=null}finally{jn.value=!1}})}function ji(r){Ua.value=r||null}function bu(r){r!=null&&r.startTown&&(z.value="trade",ia(()=>{var n,s,c,f,v,b;(s=(n=$e.value)==null?void 0:n.resume)==null||s.call(n),(f=(c=$e.value)==null?void 0:c.refreshView)==null||f.call(c),(b=(v=$e.value)==null?void 0:v.focusTown)==null||b.call(v,at(r.startTown),{distanceScale:.78,duration:.8})}))}function _a(r){if(r==null||r===""||r==="all")return null;const n=Number(r);return Number.isFinite(n)&&n>0?n:null}function Ln(r,n){return _a(r)===_a(n)}function Tn(r=he.value){const n=_a(r);return n==null?{}:{year:n}}function Hi(){return oe(this,arguments,function*(r=he.value){var k,R,B;const n=_a(r),s=++Zn;Sn(),Nt.value=!0,lt.value="";const c=Tn(n),[f,v,b]=yield Promise.allSettled([Gs(c),Cc(),In(E(I({},c),{page:1,pageSize:12}))]);s===Zn&&(he.value=n,f.status==="fulfilled"?xe.value=f.value||{metrics:{},hasData:!1}:(xe.value={metrics:{},hasData:!1},lt.value="出栏统计接口异常"),v.status==="fulfilled"?ca.value=v.value||{towns:[],destinations:[],usages:[]}:(R=(k=ca.value)==null?void 0:k.towns)!=null&&R.length||(ca.value={towns:[],destinations:[],usages:[]}),b.status==="fulfilled"?Ka.value=vn((B=b.value)==null?void 0:B.rows):Ka.value=[],yield Gr(1),s===Zn&&(Nt.value=!1,Ar()))})}function Gr(){return oe(this,arguments,function*(r=ot.value){var f,v;const n=++Xn,s=he.value,c=E(I({},Tn(s)),{page:r,pageSize:Yr,keyword:Xa.value});try{const b=yield In(c);if(n!==Xn||!Ln(s,he.value))return;Ca.value=vn(b.rows),da.value=Number(((f=b.page)==null?void 0:f.totalCount)||b.totalCount||Ca.value.length||0),ot.value=Number(((v=b.page)==null?void 0:v.page)||r||1)}catch(b){if(n!==Xn||!Ln(s,he.value))return;lt.value=lt.value||"出栏台账接口异常",Ca.value=[],da.value=0,ot.value=1}})}function wu(r){const n=_a(r);Ln(n,he.value)||(he.value=n,ot.value=1,Za.value="",Xa.value="",Qa.value=!1,Ke.value=Mr(),Hi(n))}function Lu(){return oe(this,null,function*(){var f,v,b,k;const r=he.value,n=Tn(r),[s,c]=yield Promise.allSettled([Gs(n),In(E(I({},n),{page:1,pageSize:12}))]);if(!(pa||z.value!=="slaughter"||!Ln(r,he.value))&&(s.status==="fulfilled"&&(xe.value=s.value||xe.value),c.status==="fulfilled")){const R=vn((f=c.value)==null?void 0:f.rows);Ka.value=R,ot.value===1&&!Xa.value&&(Ca.value=R,da.value=Number(((b=(v=c.value)==null?void 0:v.page)==null?void 0:b.totalCount)||((k=c.value)==null?void 0:k.totalCount)||da.value))}})}function Ar(){Sn(),!(!a.active||pa||z.value!=="slaughter"||!pr.value)&&(rn=window.setInterval(Lu,Nf))}function Sn(){rn&&(window.clearInterval(rn),rn=null)}function qi(){Xa.value=Za.value.trim(),Gr(1)}function Ui(r){const n=Math.min(Math.max(Number(r)||1,1),vr.value);Gr(n)}function Ki(r=null){Qa.value=!0,r&&(Pa.value=r),kn(r?ot.value:1,r)}function Zi(){Qa.value=!1}function Xi(){kn(1)}function Tu(){Ke.value=Mr(),kn(1)}function Qi(r){const n=Math.min(Math.max(Number(r)||1,1),br.value);kn(n)}function kn(){return oe(this,arguments,function*(r=Xt.value,n=null){var c,f;qn.value=!0,Un.value="";const s=Ke.value;try{const v=yield In(E(I({},Tn()),{page:r,pageSize:ao,keyword:s.keyword.trim(),town:s.town,destination:s.destination,usage:s.usage,certType:s.certType,direction:s.direction}));Zt.value=vn(v.rows),Ja.value=Number(((c=v.page)==null?void 0:c.totalCount)||v.totalCount||Zt.value.length||0),Xt.value=Number(((f=v.page)==null?void 0:f.page)||r||1);const b=n==null?void 0:n.recordKey;Pa.value=b?Zt.value.find(k=>k.recordKey===b)||n:Zt.value[0]||null}catch(v){Un.value="出栏台账接口异常",Zt.value=[],Ja.value=0,Pa.value=null}finally{qn.value=!1}})}function Su(r){Pa.value=r||null}function Ji(){return oe(this,arguments,function*(r=_e.value){var k;const n=Sr(r),s=kr(n);_e.value=n,A.value=!0,D.value="";const[c,f,v,b]=yield Promise.allSettled([Pc(s),Vr(I({page:Be.value,pageSize:$n,keyword:L.value},s)),Nc({year:n}),Fc({year:n})]);if(c.status==="fulfilled"?Fe.value=c.value||{metrics:{}}:(D.value="防疫统计接口异常",Fe.value={metrics:{}}),f.status==="fulfilled"){const R=f.value||{};De.value=xr(R.rows),ze.value=Number(((k=R.page)==null?void 0:k.totalCount)||R.totalCount||De.value.length||0)}else D.value=D.value||"防疫台账接口异常",De.value=[],ze.value=0;v.status==="fulfilled"?Et.value=Zl(v.value):Et.value={rows:[],year:null},b.status==="fulfilled"?Ct.value=Xl(Fe.value,b.value):Ct.value={rows:[]},A.value=!1})}function es(){return oe(this,arguments,function*(r=Be.value){var c,f;A.value=!0,D.value="";const n=Math.min(Math.max(Number(r)||1,1),lr.value),s=kr(_e.value);try{const v=yield Vr(I({page:n,pageSize:$n,keyword:L.value},s));De.value=xr(v.rows),ze.value=Number(((c=v.page)==null?void 0:c.totalCount)||v.totalCount||De.value.length||0),Be.value=Number(((f=v.page)==null?void 0:f.page)||n||1)}catch(v){D.value="防疫台账接口异常",De.value=[],ze.value=0,Be.value=1}finally{A.value=!1}})}function ts(){L.value=M.value.trim(),me.value=E(I({},gn()),{keyword:L.value}),es(1)}function as(r){es(r)}function ns(r=null){Z.value=!0,r&&(Oe.value=r,Ge.value=null),Mn(1,r)}function rs(){Z.value=!1,Ir()}function is(){Mn(1)}function ku(){me.value=gn(),Mn(1)}function ss(r){Mn(r)}function Mn(){return oe(this,arguments,function*(r=Le.value,n=null){var v,b;je.value=!0,Je.value="";const s=me.value,c=kr(_e.value),f={keyword:s.keyword.trim(),town:s.town,medicine:s.medicine,startDate:s.startDate||c.startDate,endDate:s.endDate||c.endDate,page:r,pageSize:eo};try{const k=yield Vr(f);re.value=xr(k.rows),fe.value=Number(((v=k.page)==null?void 0:v.totalCount)||k.totalCount||re.value.length||0),Le.value=Number(((b=k.page)==null?void 0:b.page)||r||1);const R=n||re.value[0]||null;R?os(R):(Oe.value=null,Ge.value=null)}catch(k){Je.value="台账接口异常",re.value=[],fe.value=0}finally{je.value=!1}})}function os(r){return oe(this,null,function*(){if(Oe.value=r,Ge.value=null,!(r!=null&&r.earTag)&&!(r!=null&&r.epidemicId))return;const n=++sn;Ue.value=!0;try{const s=yield xc(r.earTag||r.epidemicId);n===sn&&(Ge.value=Ii(s)||r)}catch(s){n===sn&&(Ge.value=r)}finally{n===sn&&(Ue.value=!1)}})}function ls(){var r;Qr||an||(Qr=!0,Kn=new Ec({includeChinaMap:!0}),an=!1,(r=Kn.ready)==null||r.then(()=>{an=!0,Ze.value=!1,Cn()}).catch(n=>{console.warn("[yakManagement] map assets unavailable",n),ha.value=!1,Ze.value=!0}))}function us(r){(r==="structure"||r==="forecast")&&!Jr&&(Jr=!0,mu()),r==="epidemic"&&!ei&&(ei=!0,Ji()),r==="trade"&&!ti&&(ti=!0,Ei()),r==="slaughter"&&!ai&&(ai=!0,Hi())}function Cn(){pa||!a.active||!an||Dt||(Ze.value=!1,Dt=!0,Ft&&window.clearTimeout(Ft),Ft=window.setTimeout(()=>{Ft=null,cs()},600))}function cs(r=0){return oe(this,null,function*(){var s,c;if(pa)return;if(!a.active){Dt=!1;return}if(yield ia(),!a.active){Dt=!1;return}const n=$e.value;if((s=n==null?void 0:n.loadMap)==null||s.call(n,Kn),n!=null&&n.canvasMap){Dt=!1,ha.value=!0,Ze.value=!1,(c=n.play)==null||c.call(n);return}if(r<24){window.setTimeout(()=>cs(r+1),120);return}Dt=!1,Ze.value=!0})}function ds(r={}){tn.value={type:r.type||"idle",text:r.text||""}}function Mu(){Fa.value=!0,Ze.value=!1}function hs(r={}){en.value={type:r.type||"idle",text:r.text||"",loaded:r.loaded,failed:r.failed,total:r.total,zoom:r.zoom,tileUrlTemplate:r.tileUrlTemplate}}function Cu(){if(z.value==="epidemic"){i("module-stats",{moduleKey:"yak-management",items:[{zh:"防疫记录",value:yt.value,unit:"条"},{zh:"防疫耳标",value:sr.value,unit:"头"},{zh:"疫苗类型",value:Ot.value,unit:"类"},{zh:"涉及村数",value:No.value,unit:"个"}]});return}if(z.value==="forecast"){const r=et.value.stock-_t;i("module-stats",{moduleKey:"yak-management",items:[{zh:"预测期末存栏",value:et.value.stock,unit:"头"},{zh:"新生牛犊",value:et.value.births,unit:"头"},{zh:"出栏流出",value:et.value.outflow,unit:"头"},{zh:"预测净变化",value:r,unit:"头"}]});return}if(z.value==="trade"){i("module-stats",{moduleKey:"yak-management",items:[{zh:"流通总量",value:bt("headCount"),unit:"头"},{zh:"出证记录",value:bt("recordCount"),unit:"条"},{zh:"运输车辆",value:bt("vehicleCount"),unit:"辆"}]});return}if(z.value==="slaughter"){i("module-stats",{moduleKey:"yak-management",items:Xo.value});return}i("module-stats",{moduleKey:"yak-management",items:[{zh:"图像识别总数",value:uo,unit:"头"},{zh:"模型修正总数",value:vo.value,unit:"头"},{zh:"当前存栏数量",value:_t,unit:"头"}]})}function Pn(r,n,s,c={}){const f=c.labelKey||"name",v=r.length>8,b=c.style==="ladder",k=v?b?7:6:r.length>6?11:13,R=c.axisTextColor||w,B=c.dimAxisTextColor||x;return{tooltip:E(I({},ye()),{trigger:"axis",axisPointer:{type:"shadow"},formatter($){if(c.tooltipFormatter)return c.tooltipFormatter($[0]);const X=r[$[0].dataIndex];return`${X[f]}
    数值:${Y(X[n])}${s}`}}),grid:{left:v?58:74,right:v?54:58,top:v?6:16,bottom:v?8:14},xAxis:{type:"value",axisLabel:{color:B,fontSize:10,formatter:s==="%"?"{value}%":ae},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:G,type:"dashed"}}},yAxis:{type:"category",inverse:!0,data:r.map($=>$[f]),axisLabel:{color:R,fontSize:v?10:11,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:[{type:"bar",barWidth:k,barGap:"-100%",data:r.map($=>({value:$[n],itemStyle:{borderRadius:[1,2,2,1],color:Pu(Bn),shadowBlur:2,shadowColor:"rgba(48, 220, 255, 0.12)"}})),showBackground:!0,backgroundStyle:{color:b?"rgba(48, 220, 255, 0.05)":"rgba(48, 220, 255, 0.07)",borderRadius:[1,2,2,1]},label:{show:!0,position:"right",color:C,fontFamily:za.number,fontSize:v?10:Ns.chartLabel,fontWeight:700,formatter:({value:$})=>`${s==="%"?wt($):ae($)}`}}]}}function Pu(r){return new Ae(0,0,1,0,[{offset:0,color:"rgba(67, 217, 232, 0.14)"},{offset:.58,color:"rgba(67, 217, 232, 0.7)"},{offset:1,color:r}])}function ps(r,n,s,c=0,f=!1){return{name:r,type:"line",yAxisIndex:c,smooth:!0,symbolSize:5,data:n,lineStyle:{width:2.5,color:s},itemStyle:{color:s},areaStyle:f?{color:new Ae(0,0,0,1,[{offset:0,color:`${s}44`},{offset:1,color:`${s}05`}])}:void 0}}function Nu(r){return Qn.find(n=>n.key===r)||Qn[2]}function Fu(r,n="month"){var c;if(n==="month")return Nd(r);const s=((c=r==null?void 0:r.series)==null?void 0:c[n])||{};return{labels:Array.isArray(s.labels)?s.labels:[],stock:Array.isArray(s.stock)?s.stock.map(Number):[],births:Array.isArray(s.births)?s.births.map(Number):[],outflow:Array.isArray(s.outflow)?s.outflow.map(Number):[]}}function xu(r,n){return n==="day"?Math.max(10,Math.ceil(r/6)):n==="week"?Math.max(2,Math.ceil(r/7)):r>24?4:r>14?2:1}function Ru(r,n){return n==="day"?r>700?2:r>360?3:4:n==="week"?r>110?4:6:r>24?7:10}function Iu(r){return(r.labels||[]).map((n,s)=>{var $,X,ue,ce,we,We;const c=Number((($=r.stock)==null?void 0:$[Math.max(s-1,0)])||0),f=Number(((X=r.stock)==null?void 0:X[s])||c),v=Math.max(0,Number(((ue=r.births)==null?void 0:ue[s])||0)-Number(((ce=r.births)==null?void 0:ce[Math.max(s-1,0)])||0)),b=Math.max(0,Number(((we=r.outflow)==null?void 0:we[s])||0)-Number(((We=r.outflow)==null?void 0:We[Math.max(s-1,0)])||0)),k=Math.max(120,Math.round((v+b)*.18)),R=Math.max(c,f)+Math.max(k,Math.round(v*.32)),B=Math.max(0,Math.min(c,f)-Math.max(k,Math.round(b*.32)));return{label:n,open:c,close:f,low:B,high:R,birth:v,outflow:b,value:[c,f,B,R]}})}function _u(r,n){const s=new Map;return r.forEach(c=>{const f=Gu(c.name);if(!f)return;const v=s.get(f)||{name:f,value:0};v.value+=Number(c[n]||0),s.set(f,v)}),[...s.values()].sort((c,f)=>f.value-c.value)}function Gu(r){return{色地镇:"色地镇",瓦切镇:"瓦切镇",安曲镇:"安曲镇",龙日镇:"龙日镇",邛溪镇:"邛溪镇",刷经寺镇:"刷经寺镇",阿木乡:"阿木乡",查尔玛乡:"查尔玛乡",江茸乡:"江茸乡",麦洼乡:"麦洼乡"}[r]||""}function ye(r){return{trigger:"item",backgroundColor:"rgba(5, 31, 51, 0.96)",borderColor:"rgba(0, 210, 255, 0.54)",borderWidth:1,padding:[7,10],textStyle:{color:w,fontFamily:za.ui,fontSize:Ns.tooltip,lineHeight:18},extraCssText:"box-shadow:0 0 10px rgba(0,210,255,.12);",formatter:r}}function Br(r){return kt.some(n=>n.key===r)?r:"structure"}function Au(r=[]){return r.map((n,s)=>{var v,b,k,R;const c=String(n.name||n.label||n.type||`结构${s+1}`).trim(),f=fs((b=(v=n.value)!=null?v:n.count)!=null?b:n.number);return{key:n.key||n.id||`${c}-${s}`,name:c,count:f,ratio:Number((R=(k=n.ratio)!=null?k:n.percent)!=null?R:0),source:n.source||"结构统计"}}).filter(n=>n.name&&n.count>0)}function Bu(r=[],n=[]){const s=r.some(f=>vs(f))?r:n;return ys(s,n).map((f,v)=>{var R,B;const b=String(f.name||f.label||`结构${v+1}`).trim(),k=fs((B=(R=f.count)!=null?R:f.value)!=null?B:f.number);return E(I({},f),{key:f.key||`${b}-${v}`,name:b,count:k})}).filter(f=>f.name&&f.count>0)}function fs(r){const n=Number(String(r!=null?r:"").replace(/,/g,"").replace(/%/g,""));return Number.isFinite(n)&&n>0?Math.round(n):0}function $u(r,n){const s=String((r==null?void 0:r.message)||r||"");return/未登录|401|HTTP_401/.test(s)?"结构数据未就绪":/超时|timeout/i.test(s)?"结构数据加载超时":n}function Y(r){const n=Number(r);return Number.isFinite(n)?n.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(n)?0:2}):"--"}function ae(r){const n=Number(r);return Number.isFinite(n)?Math.abs(n)>=1e4?`${(n/1e4).toFixed(Math.abs(n)>=1e5?0:1)}万`:Math.round(n).toLocaleString("zh-CN"):"--"}function Nn(r,n=2){const s=Number(r);return Number.isFinite(s)?`${(s/1e4).toFixed(n)}万`:"--"}function wt(r){const n=Number(r);return Number.isFinite(n)?`${Number.isInteger(n)?n:n.toFixed(1)}%`:"--"}function ta(r,n,s,c){const f=c*Math.PI/180;return{x:Number((r+s*Math.cos(f)).toFixed(2)),y:Number((n+s*Math.sin(f)).toFixed(2))}}function Eu(r,n,s,c,f,v){const b=ta(r,n,c,f),k=ta(r,n,c,v),R=ta(r,n,s,v),B=ta(r,n,s,f),$=v-f>180?1:0;return[`M ${b.x} ${b.y}`,`A ${c} ${c} 0 ${$} 1 ${k.x} ${k.y}`,`L ${R.x} ${R.y}`,`A ${s} ${s} 0 ${$} 0 ${B.x} ${B.y}`,"Z"].join(" ")}function ms(r=[]){return r.reduce((n,s)=>{const c=Sa.find(f=>f.key===s);return n+Number((c==null?void 0:c.ratio)||0)},0)}function gs(){return[{key:"fertileCow",name:"适龄能繁母牛",color:"#3ed9e7",matcher:(r,n)=>r==="fertileCow"||n.includes("适龄能繁母牛")},{key:"meatBull",name:"麦洼公牦牛",color:"#5b8ff9",matcher:(r,n)=>r==="meatBull"||n.includes("肉公牛")||n.includes("麦洼公牦牛")},{key:"breedingBull",name:"种公牛",color:"#f6bd16",matcher:(r,n)=>r==="breedingBull"||n.includes("种公牛")},{key:"femaleCalf",name:"母犊牛",color:"#5ad8a6",matcher:(r,n)=>r==="femaleCalf"||n.includes("母犊牛")},{key:"maleCalf",name:"公犊牛",color:"#9270ca",matcher:(r,n)=>r==="maleCalf"||n.includes("公犊牛")},{key:"overageCow",name:"过龄能繁母牛",color:"#e8684a",matcher:(r,n)=>r==="overageCow"||n.includes("过龄能繁母牛")}]}function Vu(r=[]){const n=r.reduce((c,f)=>c+Number(f.count||0),0)||1;return[{key:"female",group:"性别",name:"母牛合计",color:"#8bf7ff",matcher:(c,f)=>["fertileCow","femaleCalf","overageCow"].includes(c)||f.includes("母")},{key:"male",group:"性别",name:"公牛合计",color:"#30dcff",matcher:(c,f)=>["meatBull","breedingBull","maleCalf"].includes(c)||f.includes("公")||f.includes("肉牛")},{key:"calf",group:"阶段",name:"犊牛合计",color:"#8bf7ff",matcher:(c,f)=>["femaleCalf","maleCalf"].includes(c)||f.includes("犊牛")},{key:"breeding-cow",group:"阶段",name:"能繁母牛",color:"#48cfff",matcher:(c,f)=>["fertileCow","overageCow"].includes(c)||f.includes("能繁母牛")}].map(c=>{const f=r.filter(v=>c.matcher(String(v.key||""),String(v.name||""))).reduce((v,b)=>v+Number(b.count||0),0);return{key:c.key,group:c.group,name:c.name,color:c.color,count:f,percent:f/n*100}})}function ys(r=[],n=[]){const c=r.some(b=>vs(b))?r:n,f=c.reduce((b,k)=>b+Number(k.count||0),0)||_t||1;return gs().map(b=>{const k=c.filter($=>b.matcher(String($.key||""),String($.name||""))),R=k.reduce(($,X)=>$+Number(X.count||0),0),B=k.length===1?Number(k[0].ratio):Number.NaN;return{key:b.key,name:b.name,color:b.color,count:R,percent:Number.isFinite(B)&&B>0?B:R/f*100}}).filter(b=>b.count>0||b.percent>0)}function vs(r={}){const n=String(r.key||""),s=String(r.name||"");return gs().some(c=>c.matcher(n,s))}function Du(r=[],n=[]){const c=r.some(b=>zu(b))?r:n,f=c.reduce((b,k)=>b+Number(k.count||0),0)||1,v=(b,k,R,B,$)=>{const X=c.filter(we=>B(String(we.key||""),String(we.name||""))),ue=X.reduce((we,We)=>we+Number(We.count||0),0),ce=X.length===1?Number(X[0].ratio):Number.NaN;return{key:b,name:k,color:R,count:ue,percent:Number.isFinite(ce)&&ce>0?ce:ue/f*100,desc:$}};return[v("fertile-cow","适龄能繁母牛","#30dcff",(b,k)=>b==="fertileCow"||k.includes("适龄能繁母牛"),"繁殖基础"),v("calf","犊牛合计","#8bf7ff",(b,k)=>["femaleCalf","maleCalf"].includes(b)||k.includes("犊牛"),"新生补充"),v("overage-cow","过龄能繁母牛","#30dcff",(b,k)=>b==="overageCow"||k.includes("过龄能繁母牛"),"更新压力"),v("breeding-bull","种公牛配比","#48cfff",(b,k)=>b==="breedingBull"||k.includes("种公牛"),"配种支撑")]}function zu(r={}){const n=String(r.key||""),s=String(r.name||"");return["fertileCow","femaleCalf","maleCalf","overageCow","breedingBull"].includes(n)||s.includes("适龄能繁母牛")||s.includes("犊牛")||s.includes("过龄能繁母牛")||s.includes("种公牛")}function Ou(r=[]){const n=b=>{var k;return Number(((k=r.find(R=>R.key===b))==null?void 0:k.percent)||0)},s=n("fertile-cow"),c=n("calf"),f=n("overage-cow"),v=n("breeding-bull");return s>=40&&c>=25&&v>=2&&v<=5&&f<=10?{label:"结构健康",title:"繁殖基础稳定",summary:"适龄母牛足,犊牛补充稳",note:"保持适龄能繁母牛、犊牛补充与种公牛配置稳定。"}:c<25?{label:"结构健康",title:"犊牛补充需关注",summary:"繁殖基础稳定,补充端可优化",note:"关注犊牛成活和季节性补栏,保持生产连续性。"}:v<2?{label:"结构健康",title:"繁殖基础总体稳定",summary:"适龄母牛基础较稳",note:"结合实际配种需求,平稳优化公牛配置。"}:{label:"结构健康",title:"生产阶段较均衡",summary:"繁殖群和犊牛补充连续支撑",note:"延续结构管理,优先保障适龄母牛与犊牛质量。"}}function Wu(r){const n=Number((r==null?void 0:r.count)||0);return Math.max(8,Math.min(100,n/To.value*100))}function Yu(r={}){const n=_t,s=[{key:"births",name:"新生牛犊",delta:Number(r.births||0),color:"#30dcff"},{key:"outflow",name:"出栏流出",delta:-Number(r.outflow||0),color:"#48cfff"},{key:"correction",name:"修正损耗",delta:Number(r.correction||0),color:"#8bf7ff"}];let c=n;const f=[{key:"current",name:"当前存栏",type:"anchor",value:n,magnitude:n,from:n,to:n,color:"#30dcff",display:`${Nn(n,2)}头`}];s.forEach(k=>{const R=c,B=c+k.delta;c=B,f.push(E(I({},k),{name:`${k.delta>=0?"+":"-"}${k.name}`,type:"delta",from:R,to:B,value:k.delta,magnitude:Math.abs(k.delta),display:`${ju(k.delta)}头`}))});const v=Number(r.stock||c);f.push({key:"final",name:"=期末预测",type:"final",value:v,magnitude:v,from:v,to:v,color:"#48cfff",display:`${Nn(v,2)}头`});const b=Math.max(...f.map(k=>Number(k.magnitude)||0),1);return f.map(k=>{const R=(Number(k.magnitude)||0)/b*100;return E(I({},k),{left:0,width:Math.max(k.type==="delta"?5:10,Math.min(100,R))})})}function Fn(r){const n=Number(r);return Number.isFinite(n)?`${n>=0?"+":"-"}${Y(Math.abs(n))}`:"--"}function ju(r){const n=Number(r);return Number.isFinite(n)?`${n>=0?"+":"-"}${Nn(Math.abs(n))}`:"--"}return(r,n)=>(P(),N("div",xd,[Ie((P(),Yt(Sd,{key:yo.value,ref_key:"mapSceneRef",ref:$e,class:"yak-map-scene","active-layer":pl.value,"map-ranking":fl.value,"tile-url-template":ni.value,"use-satellite-base":Jn.value,"satellite-max-zoom":21,"admin-boundary-line-scale":1.35,onLayerStatus:ds,onTileStatus:hs},null,8,["active-layer","map-ranking","tile-url-template","use-satellite-base"])),[[Qu,!tt.value]]),tt.value?(P(),Yt(Gc,{key:Xr.value,ref_key:"yakOlMapRef",ref:Na,class:"yak-ol-map-layer",active:a.active&&tt.value,"tile-url-template":ni.value,center:hl.value,"initial-zoom":Mf,"minimum-zoom-distance":1,"county-view-target-offset":O(K),"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"map-ranking":ki.value,"overlay-layer":Si.value,onReady:Mu,onLayerStatus:ds,onTileStatus:hs},null,8,["active","tile-url-template","center","county-view-target-offset","map-ranking","overlay-layer"])):pe("",!0),d("div",{class:Se(["yak-map-scrim",{"is-ol-map":tt.value}])},null,2),ml.value?(P(),N("div",{key:1,class:Se(["yak-map-loading",{"is-timeout":Ze.value}]),role:"status","aria-live":"polite"},[d("strong",null,T(Ze.value?"地图暂未加载完成":gl.value),1),Ze.value?(P(),N(U,{key:1},[n[35]||(n[35]=d("span",null,"其余业务数据仍可查看,您可以重新加载地图。",-1)),d("button",{type:"button",onClick:Ol},"重新加载地图")],64)):(P(),N("span",Rd,"正在准备地图资源,请稍候"))],2)):pe("",!0),d("div",Id,[z.value==="trade"&&fi.value.length?(P(),N("div",_d,[n[36]||(n[36]=d("span",null,"交易年份",-1)),(P(!0),N(U,null,ee(fi.value,s=>(P(),N("button",{key:s,type:"button",class:Se({active:Number(s)===Number(be.value)}),onClick:c=>gu(s)},T(s),11,Gd))),128))])):pe("",!0),z.value==="slaughter"&&vi.value.length?(P(),N("div",Ad,[n[37]||(n[37]=d("span",null,"出栏年份",-1)),(P(!0),N(U,null,ee(vi.value,s=>(P(),N("button",{key:s.key,type:"button",class:Se({active:s.value===he.value}),"aria-pressed":s.value===he.value,onClick:c=>wu(s.value)},T(s.label),11,Bd))),128))])):pe("",!0),z.value==="epidemic"&&qe.length?(P(),N("div",$d,[n[38]||(n[38]=d("span",null,"防疫年份",-1)),(P(),N(U,null,ee(qe,s=>d("button",{key:s,type:"button",class:Se({active:Number(s)===Number(_e.value)}),onClick:c=>yu(s)},T(s),11,Ed)),64))])):pe("",!0),z.value==="forecast"?(P(),N("div",Vd,[n[39]||(n[39]=d("span",null,"预测年份",-1)),(P(!0),N(U,null,ee(O(Gt),s=>(P(),N("button",{key:s.key,type:"button",class:Se({active:s.key===Mt.value}),onClick:c=>Wl(s.key)},T(s.shortLabel),11,Dd))),128))])):pe("",!0),z.value==="slaughter"&&fr.value.length?(P(),N("div",{key:4,class:Se(["slaughter-realtime-ticker",{"is-live":pr.value}]),"aria-label":"最新牦牛出栏动态"},[d("div",zd,[n[40]||(n[40]=d("i",null,null,-1)),d("strong",null,T(Ko.value),1)]),d("div",Od,[d("div",{class:"slaughter-realtime-track",style:nt({"--ticker-duration":`${Zo.value}s`})},[(P(),N(U,null,ee(2,s=>d("div",{key:s,class:"slaughter-realtime-group"},[(P(!0),N(U,null,ee(fr.value,c=>(P(),N("span",{key:`${s}-${c.recordKey}`,class:"slaughter-realtime-item"},[d("b",null,T(au(c.issueTime)),1),d("em",null,T(W(c.originTownName)),1),d("strong",null,T(W(c.animalTypeName))+" "+T(Y(c.animalQuantity))+"头",1),n[41]||(n[41]=d("i",null,"→",-1)),d("span",null,T(W(c.destinationProvinceName)),1)]))),128))])),64))],4)])],2)):pe("",!0),d("div",Wd,[d("div",Yd,[z.value==="structure"?(P(),N(U,{key:0},[j(te,{class:"yak-side-card left-card",title:"繁殖基础评估",width:O(o),height:u.value},{default:Q(()=>[d("div",jd,[d("div",Hd,[d("strong",null,T(si.value.title)+","+T(si.value.summary),1)]),d("div",qd,[(P(!0),N(U,null,ee(ii.value,s=>(P(),N("div",{key:s.key,class:"breeding-health-item",style:nt({"--health-color":s.color,"--health-width":`${Math.max(5,Math.min(100,s.percent))}%`})},[d("span",null,T(s.name),1),d("strong",null,T(wt(s.percent)),1),n[42]||(n[42]=d("i",null,[d("b")],-1)),d("em",null,T(s.desc),1)],4))),128))])])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"畜群结构占比",width:O(o),height:u.value},{default:Q(()=>[d("div",Ud,[d("div",Kd,[d("div",Zd,[(P(),N("svg",Xd,[d("g",Qd,[(P(!0),N(U,null,ee(So.value,s=>(P(),N("path",{key:s.key,class:Se(["structure-rose-segment",{"is-active":s.index===tr.value}]),d:s.path,fill:s.color,stroke:s.color},null,10,Jd))),128))]),n[43]||(n[43]=d("circle",{class:"structure-rose-glow",cx:"75",cy:"75",r:"24"},null,-1)),n[44]||(n[44]=d("circle",{class:"structure-rose-hole",cx:"75",cy:"75",r:"16"},null,-1)),n[45]||(n[45]=d("text",{class:"structure-rose-center",x:"75",y:"72","text-anchor":"middle"},"结构",-1)),n[46]||(n[46]=d("text",{class:"structure-rose-center is-sub",x:"75",y:"83","text-anchor":"middle"},"占比",-1))]))]),d("div",eh,[(P(!0),N(U,null,ee(ln.value,(s,c)=>(P(),N("div",{key:s.key||s.name,class:Se(["structure-ratio-row",{"is-active":c===tr.value}]),style:nt({"--row-color":s.color,"--row-percent":`${Math.max(4,s.percent)}%`})},[d("i",{style:nt({background:s.color,color:s.color})},null,4),d("span",null,[Rt(T(s.name),1),d("small",null,T(wt(s.percent)),1)]),d("strong",null,T(ae(s.count)),1),n[47]||(n[47]=d("em",null,"头",-1))],6))),128))])]),it.value?(P(),N("div",th,"结构数据加载中")):Me.value?(P(),N("div",ah,T(Me.value),1)):pe("",!0)])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"母牛/公牛年龄结构",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:yl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"牦牛乡镇分布",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:vl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):z.value==="forecast"?(P(),N(U,{key:1},[j(te,{class:"yak-side-card left-card",title:"存栏变化拆解",width:O(o),height:u.value},{default:Q(()=>[d("div",nh,[d("div",rh,[d("span",null,T(et.value.label)+"变化路径",1),d("strong",{class:Se({positive:er.value>0,negative:er.value<0})},[Rt(" 净变化 "+T(Fn(er.value)),1),n[48]||(n[48]=d("em",null,"头",-1))],2)]),d("div",ih,[(P(!0),N(U,null,ee(bo.value,s=>(P(),N("div",{key:s.key,class:Se(["forecast-waterfall-row",[`is-${s.type}`,{positive:s.delta>0,negative:s.delta<0}]]),style:nt({"--waterfall-left":`${s.left}%`,"--waterfall-width":`${s.width}%`,"--waterfall-color":s.color})},[d("span",null,T(s.name),1),n[49]||(n[49]=d("i",null,[d("b")],-1)),d("strong",null,T(s.display),1)],6))),128))])])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"未来存栏趋势",width:O(o),height:u.value},{default:Q(()=>[d("div",sh,[d("div",oh,[(P(),N(U,null,ee(Qn,s=>d("button",{key:s.key,type:"button",class:Se({active:s.key===Bt.value}),onClick:c=>Bt.value=s.key},T(s.label),11,lh)),64))]),j(O(ve),{class:"yak-chart forecast-kline-chart",option:Tl.value,autoresize:!0},null,8,["option"])])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"月度数量预测",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Sl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"预测因子雷达",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:kl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):z.value==="epidemic"?(P(),N(U,{key:2},[j(te,{class:"yak-side-card left-card",title:"防疫统计",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Il.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"养殖户防疫排行",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:_l.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"防疫作业趋势",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Rl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"疫苗类型分布",width:O(o),height:u.value},{default:Q(()=>[cn.value.length?(P(),N("div",uh,[d("div",ch,[(P(),Yt(mc,{key:Mo.value,data:cn.value,delay:3e3,colors:Ye,opacity:.62,class:"epidemic-three-pie"},{default:Q(({data:s})=>[d("div",dh,[d("strong",null,T(ae((s==null?void 0:s.count)||yt.value)),1),d("span",null,T((s==null?void 0:s.name)||"疫苗类型"),1)])]),_:1},8,["data"]))]),d("div",hh,[(P(!0),N(U,null,ee(cn.value,(s,c)=>(P(),N("div",{key:s.key||s.name,class:"epidemic-three-pie-row"},[d("i",{style:nt({borderColor:Ye[c%Ye.length]})},null,4),d("span",null,T(s.name),1),d("strong",null,T(ae(s.value)),1),d("em",null,T(s.unit),1)]))),128))])])):(P(),N("div",ph,"暂无疫苗类型数据"))]),_:1},8,["width","height"])],64)):z.value==="trade"?(P(),N(U,{key:3},[j(te,{class:"yak-side-card left-card",title:"交易异常关注",width:O(o),height:u.value},{default:Q(()=>[d("div",fh,[d("div",mh,[d("span",null,T(be.value)+"年流通监管线索",1),d("strong",null,T(qo.value),1)]),d("div",gh,[(P(!0),N(U,null,ee(yi.value,s=>(P(),N("div",{key:s.key,class:Se(["trade-risk-row",`is-${s.level}`]),style:nt({"--risk-color":s.color})},[n[50]||(n[50]=d("i",null,null,-1)),d("span",null,[d("em",null,[d("b",null,T(s.badge),1),Rt(T(s.name),1)]),d("small",null,T(s.value)+"|"+T(s.desc),1)])],6))),128))])])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"交易流通趋势",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Gl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"来源乡镇分布",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Al.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"用途结构统计",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Bl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):z.value==="slaughter"?(P(),N(U,{key:4},[j(te,{class:"yak-side-card left-card",title:he.value?`${he.value}年各乡镇出栏`:"各乡镇历史出栏",width:O(o),height:u.value},{default:Q(()=>[bi.value.length?(P(),Yt(O(ve),{key:0,class:"yak-chart",option:El.value,autoresize:!0},null,8,["option"])):(P(),N("div",yh,T(Nt.value?"出栏历史读取中":lt.value||"暂无乡镇历史数据"),1))]),_:1},8,["title","width","height"]),j(te,{class:"yak-side-card left-card",title:"出栏品种占比",width:O(o),height:u.value},{default:Q(()=>[wi.value.length?(P(),Yt(O(ve),{key:0,class:"yak-chart",option:Vl.value,autoresize:!0},null,8,["option"])):(P(),N("div",vh,T(Nt.value?"品种数据读取中":lt.value||"暂无品种数据"),1))]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"销售用途分析",width:O(o),height:u.value},{default:Q(()=>[Li.value.length?(P(),Yt(O(ve),{key:0,class:"yak-chart",option:Dl.value,autoresize:!0},null,8,["option"])):(P(),N("div",bh,T(Nt.value?"用途数据读取中":lt.value||"暂无销售用途数据"),1))]),_:1},8,["width","height"]),j(te,{class:"yak-side-card left-card",title:"省内、省外流向占比",width:O(o),height:u.value},{default:Q(()=>[gr.value.length?(P(),N("div",wh,[d("div",Lh,[(P(!0),N(U,null,ee(gr.value,s=>(P(),N("span",{key:s.name,class:Se(`is-${s.key}`),style:nt({width:`${s.percent}%`})},null,6))),128))]),d("div",Th,[d("span",null,T(he.value?`${he.value}年流向`:"累计流向"),1),d("strong",null,[Rt(T(Y(Ia("cumulativeHeadCount"))),1),n[51]||(n[51]=d("em",null,"头",-1))])]),d("div",Sh,[(P(!0),N(U,null,ee(gr.value,s=>(P(),N("div",{key:s.name,class:Se(`is-${s.key}`)},[n[52]||(n[52]=d("i",null,null,-1)),d("span",null,[Rt(T(s.name),1),d("small",null,T(Y(s.certificateCount))+"张检疫票",1)]),d("strong",null,T(wt(s.percent)),1),d("em",null,T(ae(s.headCount))+"头",1)],2))),128))])])):(P(),N("div",kh,T(Nt.value?"流向占比读取中":lt.value||"暂无省内外流向数据"),1))]),_:1},8,["width","height"])],64)):pe("",!0)])]),d("div",Mh,[d("div",Ch,[z.value==="structure"?(P(),N(U,{key:0},[j(te,{class:"yak-side-card right-card",title:"乡镇存栏排行",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:bl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"能繁母牛与犊牛分布",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:wl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"出栏/交易影响",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Ll.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"性别与生产阶段汇总",width:O(o),height:u.value},{default:Q(()=>[d("div",Ph,[d("div",Nh,[(P(!0),N(U,null,ee(ri.value,s=>(P(),N("div",{key:s.key||s.name,class:"structure-summary-row",style:nt({"--structure-color":s.color,"--structure-width":`${Wu(s)}%`})},[d("span",null,[n[53]||(n[53]=d("i",null,null,-1)),Rt(T(s.name),1)]),n[55]||(n[55]=d("b",null,[d("em")],-1)),d("strong",null,[Rt(T(ae(s.count)),1),n[54]||(n[54]=d("em",null,"头",-1))]),d("small",null,T(wt(s.percent)),1)],4))),128))]),it.value?(P(),N("div",Fh,"结构数据加载中")):Me.value?(P(),N("div",xh,T(Me.value),1)):pe("",!0)])]),_:1},8,["width","height"])],64)):z.value==="forecast"?(P(),N(U,{key:1},[j(te,{class:"yak-side-card right-card",title:"乡镇预测排行",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Ml.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"期末结构预测",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Cl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"补充/流出对比",width:O(o),height:u.value},{default:Q(()=>[j(O(ve),{class:"yak-chart",option:Pl.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"预测变化热力",width:O(o),height:u.value},{default:Q(()=>[d("div",Rh,[(P(!0),N(U,null,ee(Nl.value,s=>(P(),N("div",{key:s.name,class:Se(["heat-row",{"is-negative":s.change<0}]),style:nt(Fl(s)),title:xl(s)},[d("span",null,T(s.name),1),n[56]||(n[56]=d("b",null,[d("i")],-1)),d("strong",null,T(Fn(s.change)),1)],14,Ih))),128))])]),_:1},8,["width","height"])],64)):z.value==="epidemic"?(P(),Yt(te,{key:2,class:"yak-side-card right-card epidemic-ledger-card",title:"防疫记录台账",width:O(o),height:h.value},{default:Q(()=>[d("div",_h,[d("div",Gh,[d("span",null,T(_e.value)+"年 共 "+T(Y(ze.value))+" 条",1),d("div",null,[Ie(d("input",{"onUpdate:modelValue":n[0]||(n[0]=s=>M.value=s),type:"search",placeholder:"耳标/养殖户/疫苗",onKeyup:ma(ts,["enter"])},null,544),[[jt,M.value]]),d("button",{type:"button",onClick:ts},"搜索"),d("button",{type:"button",class:"is-more",onClick:n[1]||(n[1]=s=>ns())},"查看更多")])]),n[57]||(n[57]=d("div",{class:"epidemic-record-header"},[d("span",null,"电子耳标"),d("span",null,"养殖户"),d("span",null,"镇/乡"),d("span",null,"疫苗"),d("span",null,"时间")],-1)),d("div",Ah,[(P(!0),N(U,null,ee($o.value,s=>(P(),N("button",{key:s.epidemicId||s.earTag,type:"button",onClick:c=>ns(s)},[d("span",null,T(W(s.earTag)),1),d("span",null,T(W(s.owner)),1),d("span",null,T(W(s.town)),1),d("strong",null,T(W(s.medicine)),1),d("span",null,T(ut(s.operateTime)),1)],8,Bh))),128)),De.value.length?pe("",!0):(P(),N("div",$h,T(A.value?"防疫台账读取中":D.value||"暂无防疫记录"),1))]),d("div",Eh,[d("span",null,"第 "+T(Be.value)+" / "+T(lr.value)+" 页",1),d("button",{type:"button",disabled:Be.value<=1,onClick:n[2]||(n[2]=s=>as(Be.value-1))},"上一页",8,Vh),d("button",{type:"button",disabled:Be.value>=lr.value,onClick:n[3]||(n[3]=s=>as(Be.value+1))},"下一页",8,Dh)])])]),_:1},8,["width","height"])):z.value==="trade"?(P(),N(U,{key:3},[j(te,{class:"yak-side-card right-card",title:"出证结构统计",width:O(o),height:u.value},{default:Q(()=>[d("div",zh,[d("div",Oh,[d("span",null,[n[59]||(n[59]=d("em",null,"省外流通 A证",-1)),d("strong",null,[Rt(T(Y(bt("outProvinceHeads","aCertHeads"))),1),n[58]||(n[58]=d("b",null,"头",-1))]),d("small",null,T(Y(bt("outProvinceCount","aCertCount")))+"条记录",1)]),d("span",null,[n[61]||(n[61]=d("em",null,"省内流通 B证",-1)),d("strong",null,[Rt(T(Y(bt("inProvinceHeads","bCertHeads"))),1),n[60]||(n[60]=d("b",null,"头",-1))]),d("small",null,T(Y(bt("inProvinceCount","bCertCount")))+"条记录",1)])]),j(O(ve),{class:"trade-cert-chart",option:$l.value,autoresize:!0},null,8,["option"])])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card trade-source-card",title:"出栏来源排行",width:O(o),height:p.value},{default:Q(()=>[d("div",Wh,[(P(!0),N(U,null,ee(ur.value,(s,c)=>(P(),N("div",{key:s.name,class:"trade-dest-row",style:nt({"--trade-ratio":`${s.ratio}%`})},[d("span",null,T(c+1),1),d("strong",null,T(s.name),1),d("em",null,T(ae(s.headCount))+"头",1)],4))),128)),ur.value.length?pe("",!0):(P(),N("div",Yh,T(qt.value?"交易数据读取中":ua.value||"暂无出栏来源数据"),1))])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card trade-ledger-card",title:"交易出证台账",width:O(o),height:y.value},{default:Q(()=>[d("div",jh,[d("div",Hh,[d("span",null,"共 "+T(Y(Vt.value))+" 条",1),d("div",null,[Ie(d("input",{"onUpdate:modelValue":n[4]||(n[4]=s=>Ha.value=s),type:"search",placeholder:"货主/车辆/检疫号/地区",onKeyup:ma(Vi,["enter"])},null,544),[[jt,Ha.value]]),d("button",{type:"button",onClick:Vi},"搜索"),d("button",{type:"button",class:"is-more",onClick:n[5]||(n[5]=s=>zi())},"查看更多")])]),n[62]||(n[62]=d("div",{class:"trade-ledger-header"},[d("span",null,"货主"),d("span",null,"车牌"),d("span",null,"数量"),d("span",null,"来源"),d("span",null,"用途"),d("span",null,"时间")],-1)),d("div",qh,[(P(!0),N(U,null,ee(gi.value,s=>(P(),N("button",{key:s.certId,type:"button",onClick:c=>zi(s)},[d("span",null,T(W(s.ownerName)),1),d("span",null,T(W(s.transportNumber)),1),d("strong",null,T(Y(s.amount))+"头",1),d("span",null,T(W(s.startTown)),1),d("span",null,T(W(s.usageTypeName)),1),d("span",null,T(ut(s.issueTime)),1)],8,Uh))),128)),gi.value.length?pe("",!0):(P(),N("div",Kh,T(qt.value?"交易台账读取中":ua.value||"暂无交易记录"),1))]),d("div",Zh,[d("span",null,"第 "+T(Pt.value)+" / "+T(cr.value)+" 页",1),d("button",{type:"button",disabled:Pt.value<=1,onClick:n[6]||(n[6]=s=>Di(Pt.value-1))},"上一页",8,Xh),d("button",{type:"button",disabled:Pt.value>=cr.value,onClick:n[7]||(n[7]=s=>Di(Pt.value+1))},"下一页",8,Qh)])])]),_:1},8,["width","height"])],64)):z.value==="slaughter"?(P(),N(U,{key:4},[j(te,{class:"yak-side-card right-card",title:"检疫票数量排行",width:O(o),height:u.value},{default:Q(()=>[mr.value.length?(P(),Yt(O(ve),{key:0,class:"yak-chart",option:zl.value,autoresize:!0},null,8,["option"])):(P(),N("div",Jh,T(Nt.value?"检疫票数据读取中":lt.value||"暂无检疫票排行"),1))]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card",title:"销售目的地排行",width:O(o),height:u.value},{default:Q(()=>[d("div",ep,[(P(!0),N(U,null,ee(yr.value,(s,c)=>(P(),N("div",{key:s.name,class:"slaughter-destination-row",style:nt({"--destination-width":`${s.ratio}%`})},[d("span",null,T(String(c+1).padStart(2,"0")),1),d("strong",null,T(s.name),1),n[63]||(n[63]=d("i",null,[d("b")],-1)),d("em",null,T(ae(s.headCount))+"头",1)],4))),128)),yr.value.length?pe("",!0):(P(),N("div",tp,T(Nt.value?"目的地数据读取中":lt.value||"暂无销售目的地数据"),1))])]),_:1},8,["width","height"]),j(te,{class:"yak-side-card right-card slaughter-ledger-card",title:"出栏数据台账",width:O(o),height:g.value},{default:Q(()=>[d("div",ap,[d("div",np,[d("span",null,"共 "+T(Y(da.value))+" 条",1),d("div",null,[Ie(d("input",{"onUpdate:modelValue":n[8]||(n[8]=s=>Za.value=s),type:"search",placeholder:"检疫证/货主/车辆/地区",onKeyup:ma(qi,["enter"])},null,544),[[jt,Za.value]]),d("button",{type:"button",onClick:qi},"搜索"),d("button",{type:"button",class:"is-more",onClick:n[9]||(n[9]=s=>Ki())},"查看更多")])]),n[64]||(n[64]=d("div",{class:"slaughter-ledger-header"},[d("span",null,"检疫证号"),d("span",null,"货主"),d("span",null,"数量"),d("span",null,"来源"),d("span",null,"目的地"),d("span",null,"时间")],-1)),d("div",rp,[(P(!0),N(U,null,ee(Ti.value,s=>(P(),N("button",{key:s.recordKey,type:"button",onClick:c=>Ki(s)},[d("span",null,T(W(s.certificateDisplay)),1),d("span",null,T(W(s.ownerDisplay)),1),d("strong",null,T(Y(s.animalQuantity))+"头",1),d("span",null,T(W(s.originTownName)),1),d("span",null,T(W(s.destinationName)),1),d("span",null,T(ut(s.issueTime)),1)],8,ip))),128)),Ti.value.length?pe("",!0):(P(),N("div",sp,T(Nt.value?"出栏台账读取中":lt.value||"暂无出栏记录"),1))]),d("div",op,[d("span",null,"第 "+T(ot.value)+" / "+T(vr.value)+" 页",1),d("button",{type:"button",disabled:ot.value<=1,onClick:n[10]||(n[10]=s=>Ui(ot.value-1))},"上一页",8,lp),d("button",{type:"button",disabled:ot.value>=vr.value,onClick:n[11]||(n[11]=s=>Ui(ot.value+1))},"下一页",8,up)])])]),_:1},8,["width","height"])],64)):pe("",!0)])]),d("div",cp,[j(Bc,{"model-value":z.value,topics:kt,"onUpdate:modelValue":n[12]||(n[12]=s=>z.value=s)},null,8,["model-value"])]),tt.value?(P(),N("div",dp,[j($c,{modelValue:ht.value,"onUpdate:modelValue":n[13]||(n[13]=s=>ht.value=s),"topic-key":"yak-management",layers:sl.value,legends:ll.value,multiple:"",compact:"",width:248,height:ul.value},null,8,["modelValue","layers","legends","height"])])):pe("",!0)]),Z.value?(P(),N("div",{key:2,class:"epidemic-ledger-modal",onClick:Ea(rs,["self"])},[d("div",hp,[d("div",pp,[d("div",null,[n[65]||(n[65]=d("span",null,"牦牛防疫台账",-1)),d("strong",null,T(_e.value)+"年 "+T(Y(fe.value))+" 条记录",1)]),d("button",{type:"button",onClick:rs},"关闭")]),d("div",fp,[Ie(d("input",{"onUpdate:modelValue":n[14]||(n[14]=s=>me.value.keyword=s),type:"search",placeholder:"耳标 / 养殖户 / 药品","aria-label":"耳标 / 养殖户 / 药品",onKeyup:ma(is,["enter"])},null,544),[[jt,me.value.keyword]]),Ie(d("select",{"onUpdate:modelValue":n[15]||(n[15]=s=>me.value.town=s)},[n[66]||(n[66]=d("option",{value:""},"全部镇/乡",-1)),(P(!0),N(U,null,ee(Vo.value,s=>(P(),N("option",{key:s,value:s},T(s),9,mp))),128))],512),[[It,me.value.town]]),Ie(d("select",{"onUpdate:modelValue":n[16]||(n[16]=s=>me.value.medicine=s)},[n[67]||(n[67]=d("option",{value:""},"全部疫苗",-1)),(P(!0),N(U,null,ee(Do.value,s=>(P(),N("option",{key:s,value:s},T(s),9,gp))),128))],512),[[It,me.value.medicine]]),Ie(d("input",{"onUpdate:modelValue":n[17]||(n[17]=s=>me.value.startDate=s),type:"date"},null,512),[[jt,me.value.startDate]]),Ie(d("input",{"onUpdate:modelValue":n[18]||(n[18]=s=>me.value.endDate=s),type:"date"},null,512),[[jt,me.value.endDate]]),d("button",{type:"button",onClick:is},"检索"),d("button",{type:"button",class:"is-ghost",onClick:ku},"重置")]),d("div",yp,[d("div",vp,[n[68]||(n[68]=d("div",{class:"epidemic-ledger-table-head"},[d("span",null,"电子耳标"),d("span",null,"养殖户"),d("span",null,"镇/乡"),d("span",null,"村"),d("span",null,"疫苗"),d("span",null,"免疫时间"),d("span",null,"图片")],-1)),(P(!0),N(U,null,ee(re.value,s=>{var c,f;return P(),N("button",{key:s.epidemicId||s.earTag,type:"button",class:Se({active:(((c=Oe.value)==null?void 0:c.epidemicId)||((f=Oe.value)==null?void 0:f.earTag))===(s.epidemicId||s.earTag)}),onClick:v=>os(s)},[d("span",null,T(W(s.earTag)),1),d("span",null,T(W(s.owner)),1),d("span",null,T(W(s.town)),1),d("span",null,T(W(s.village)),1),d("strong",null,T(W(s.medicine)),1),d("span",null,T(ut(s.operateTime)),1),d("span",null,T(Rr(s).length?`${Rr(s).length}张`:"无"),1)],10,bp)}),128)),re.value.length?pe("",!0):(P(),N("div",wp,T(je.value?"台账读取中":Je.value||"暂无匹配记录"),1))]),d("div",Lp,[d("div",Tp,[d("div",null,[d("span",null,T(W(Jt.value.earTag)),1),d("em",null,T(W(Jt.value.medicine||Jt.value.preventionType)),1)]),d("strong",null,T(Ue.value?"加载中":ut(Jt.value.operateTime)),1)]),d("div",Sp,[(P(!0),N(U,null,ee(Eo.value,s=>(P(),N("span",{key:s.label,class:Se({"is-wide":s.wide})},[d("em",null,T(s.label),1),d("strong",null,T(s.value),1)],2))),128))]),hi.value.length?(P(),N("div",kp,[n[69]||(n[69]=d("div",{class:"epidemic-detail-photo-title"},"现场照片",-1)),d("div",Mp,[(P(!0),N(U,null,ee(hi.value.slice(0,6),s=>(P(),N("button",{key:s,type:"button",class:"epidemic-modal-photo-thumb",onClick:Ea(c=>cu(s),["stop"])},[d("img",{src:Ai(s),alt:"防疫照片"},null,8,Pp)],8,Cp))),128))])])):pe("",!0)])]),d("div",Np,[d("span",null,"第 "+T(Le.value)+" / "+T(di.value)+" 页",1),d("button",{type:"button",disabled:Le.value<=1,onClick:n[19]||(n[19]=s=>ss(Le.value-1))},"上一页",8,Fp),d("button",{type:"button",disabled:Le.value>=di.value,onClick:n[20]||(n[20]=s=>ss(Le.value+1))},"下一页",8,xp)])])])):pe("",!0),Yn.value?(P(),N("div",{key:3,class:"epidemic-ledger-modal trade-ledger-modal",onClick:Ea(Oi,["self"])},[d("div",Rp,[d("div",Ip,[d("div",null,[n[70]||(n[70]=d("span",null,"牦牛交易出证台账",-1)),d("strong",null,T(be.value)+"年 "+T(Y(qa.value))+" 条记录",1)]),d("button",{type:"button",onClick:Oi},"关闭")]),d("div",_p,[Ie(d("input",{"onUpdate:modelValue":n[21]||(n[21]=s=>gt.value.keyword=s),type:"search",placeholder:"货主 / 车辆 / 检疫号 / 地区",onKeyup:ma(Wi,["enter"])},null,544),[[jt,gt.value.keyword]]),Ie(d("select",{"onUpdate:modelValue":n[22]||(n[22]=s=>gt.value.startTown=s)},[n[71]||(n[71]=d("option",{value:""},"全部来源乡镇",-1)),(P(!0),N(U,null,ee(Wo.value,s=>(P(),N("option",{key:s,value:s},T(s),9,Gp))),128))],512),[[It,gt.value.startTown]]),Ie(d("select",{"onUpdate:modelValue":n[23]||(n[23]=s=>gt.value.usageType=s)},[n[72]||(n[72]=d("option",{value:""},"全部用途",-1)),(P(!0),N(U,null,ee(Yo.value,s=>(P(),N("option",{key:s,value:s},T(s),9,Ap))),128))],512),[[It,gt.value.usageType]]),Ie(d("select",{"onUpdate:modelValue":n[24]||(n[24]=s=>gt.value.certType=s)},[n[73]||(n[73]=d("option",{value:""},"全部证书",-1)),(P(!0),N(U,null,ee(jo.value,s=>(P(),N("option",{key:s.value,value:s.value},T(s.label),9,Bp))),128))],512),[[It,gt.value.certType]]),d("button",{type:"button",onClick:Wi},"检索"),d("button",{type:"button",class:"is-ghost",onClick:vu},"重置")]),d("div",$p,[d("div",Ep,[n[74]||(n[74]=d("div",{class:"trade-ledger-modal-table-head"},[d("span",null,"货主"),d("span",null,"证书"),d("span",null,"车牌号"),d("span",null,"数量"),d("span",null,"来源"),d("span",null,"用途"),d("span",null,"出证时间"),d("span",null,"状态")],-1)),(P(!0),N(U,null,ee(Ut.value,s=>(P(),N("button",{key:s.certId||s.factoryCode,type:"button",class:Se({active:Oo.value===(s.certId||s.factoryCode)}),onClick:c=>ji(s)},[d("span",null,T(W(s.ownerName)),1),d("span",null,T(W(s.certType||s.certScopeName)),1),d("span",null,T(W(s.transportNumber)),1),d("strong",null,T(Y(s.amount))+"头",1),d("span",null,T(W(s.startTown)),1),d("span",null,T(W(s.usageTypeName)),1),d("span",null,T(ut(s.issueTime)),1),d("span",null,T(W(s.statusName)),1)],10,Vp))),128)),Ut.value.length?pe("",!0):(P(),N("div",Dp,T(jn.value?"交易台账读取中":Hn.value||"暂无匹配记录"),1))]),d("div",zp,[d("div",Op,[d("div",null,[d("span",null,T(W(Te.value.factoryCode||Te.value.certId)),1),d("em",null,T($i(Te.value)),1)]),d("strong",null,T(ut(Te.value.issueTime)),1)]),d("div",Wp,[d("span",Yp,[n[75]||(n[75]=d("em",null,"货主",-1)),d("strong",null,T(W(Te.value.ownerName)),1)]),d("span",null,[n[76]||(n[76]=d("em",null,"联系方式",-1)),d("strong",null,T(Bi(Te.value.ownerPhone)),1)]),d("span",null,[n[77]||(n[77]=d("em",null,"证书类型",-1)),d("strong",null,T($i(Te.value)),1)]),d("span",null,[n[78]||(n[78]=d("em",null,"车牌号",-1)),d("strong",null,T(W(Te.value.transportNumber)),1)]),d("span",null,[n[79]||(n[79]=d("em",null,"牦牛数量",-1)),d("strong",null,T(Y(Te.value.amount))+"头",1)]),d("span",null,[n[80]||(n[80]=d("em",null,"用途",-1)),d("strong",null,T(W(Te.value.usageTypeName)),1)]),d("span",null,[n[81]||(n[81]=d("em",null,"来源乡镇",-1)),d("strong",null,T(W(Te.value.startTown)),1)]),d("span",null,[n[82]||(n[82]=d("em",null,"目的省份",-1)),d("strong",null,T(W(Te.value.destProvince)),1)]),d("span",null,[n[83]||(n[83]=d("em",null,"检疫员",-1)),d("strong",null,T(W(Te.value.quarantineOfficerName)),1)]),d("span",jp,[n[84]||(n[84]=d("em",null,"状态",-1)),d("strong",null,T(W(Te.value.statusName)),1)]),d("span",Hp,[n[85]||(n[85]=d("em",null,"来源地区",-1)),d("strong",null,T(W(Te.value.startRegionFullName)),1)]),d("span",qp,[n[86]||(n[86]=d("em",null,"目的地",-1)),d("strong",null,T(W(Te.value.destRegionFullName)),1)])]),d("button",{type:"button",class:"trade-detail-locate",disabled:!Te.value.startTown,onClick:n[25]||(n[25]=s=>bu(Te.value))}," 查看乡镇位置 ",8,Up)])]),d("div",Kp,[d("span",null,"第 "+T(Kt.value)+" / "+T(dr.value)+" 页",1),d("button",{type:"button",disabled:Kt.value<=1,onClick:n[26]||(n[26]=s=>Yi(Kt.value-1))},"上一页",8,Zp),d("button",{type:"button",disabled:Kt.value>=dr.value,onClick:n[27]||(n[27]=s=>Yi(Kt.value+1))},"下一页",8,Xp)])])])):pe("",!0),Qa.value?(P(),N("div",{key:4,class:"epidemic-ledger-modal trade-ledger-modal",onClick:Ea(Zi,["self"])},[d("div",Qp,[d("div",Jp,[d("div",null,[n[87]||(n[87]=d("span",null,"牦牛出栏数据台账",-1)),d("strong",null,T(he.value?`${he.value}年 `:"")+T(Y(Ja.value))+" 条记录",1)]),d("button",{type:"button",onClick:Zi},"关闭")]),d("div",ef,[Ie(d("input",{"onUpdate:modelValue":n[28]||(n[28]=s=>Ke.value.keyword=s),type:"search",placeholder:"检疫证 / 货主 / 车辆 / 地区",onKeyup:ma(Xi,["enter"])},null,544),[[jt,Ke.value.keyword]]),Ie(d("select",{"onUpdate:modelValue":n[29]||(n[29]=s=>Ke.value.town=s)},[n[88]||(n[88]=d("option",{value:""},"全部来源乡镇",-1)),(P(!0),N(U,null,ee(Jo.value,s=>(P(),N("option",{key:s,value:s},T(s),9,tf))),128))],512),[[It,Ke.value.town]]),Ie(d("select",{"onUpdate:modelValue":n[30]||(n[30]=s=>Ke.value.destination=s)},[n[89]||(n[89]=d("option",{value:""},"全部目的省份",-1)),(P(!0),N(U,null,ee(el.value,s=>(P(),N("option",{key:s,value:s},T(s),9,af))),128))],512),[[It,Ke.value.destination]]),Ie(d("select",{"onUpdate:modelValue":n[31]||(n[31]=s=>Ke.value.usage=s)},[n[90]||(n[90]=d("option",{value:""},"全部用途",-1)),(P(!0),N(U,null,ee(tl.value,s=>(P(),N("option",{key:s,value:s},T(s),9,nf))),128))],512),[[It,Ke.value.usage]]),Ie(d("select",{"onUpdate:modelValue":n[32]||(n[32]=s=>Ke.value.direction=s)},[...n[91]||(n[91]=[d("option",{value:""},"全部流向",-1),d("option",{value:"省内"},"省内",-1),d("option",{value:"省外"},"省外",-1),d("option",{value:"未标注"},"未标注",-1)])],512),[[It,Ke.value.direction]]),d("button",{type:"button",onClick:Xi},"检索"),d("button",{type:"button",class:"is-ghost",onClick:Tu},"重置")]),d("div",rf,[d("div",sf,[n[92]||(n[92]=d("div",{class:"slaughter-ledger-modal-table-head"},[d("span",null,"检疫证号"),d("span",null,"货主"),d("span",null,"畜种"),d("span",null,"数量"),d("span",null,"来源"),d("span",null,"目的地"),d("span",null,"用途"),d("span",null,"出证时间")],-1)),(P(!0),N(U,null,ee(Zt.value,s=>(P(),N("button",{key:s.recordKey,type:"button",class:Se({active:Xe.value.recordKey===s.recordKey}),onClick:c=>Su(s)},[d("span",null,T(W(s.certificateDisplay)),1),d("span",null,T(W(s.ownerDisplay)),1),d("span",null,T(W(s.animalTypeName)),1),d("strong",null,T(Y(s.animalQuantity))+"头",1),d("span",null,T(W(s.originTownName)),1),d("span",null,T(W(s.destinationName)),1),d("span",null,T(W(s.movementPurposeName)),1),d("span",null,T(ut(s.issueTime)),1)],10,of))),128)),Zt.value.length?pe("",!0):(P(),N("div",lf,T(qn.value?"出栏台账读取中":Un.value||"暂无匹配记录"),1))]),d("div",uf,[d("div",cf,[d("div",null,[d("span",null,T(W(Xe.value.certificateDisplay)),1),d("em",null,T(W(Xe.value.certificateType)),1)]),d("strong",null,T(ut(Xe.value.issueTime)),1)]),d("div",df,[d("span",null,[n[93]||(n[93]=d("em",null,"货主",-1)),d("strong",null,T(W(Xe.value.ownerDisplay)),1)]),d("span",null,[n[94]||(n[94]=d("em",null,"运输车辆",-1)),d("strong",null,T(W(Xe.value.vehicleDisplay)),1)]),d("span",null,[n[95]||(n[95]=d("em",null,"出栏品种",-1)),d("strong",null,T(W(Xe.value.animalTypeName)),1)]),d("span",null,[n[96]||(n[96]=d("em",null,"出栏数量",-1)),d("strong",null,T(Y(Xe.value.animalQuantity))+"头",1)]),d("span",null,[n[97]||(n[97]=d("em",null,"来源乡镇",-1)),d("strong",null,T(W(Xe.value.originTownName)),1)]),d("span",null,[n[98]||(n[98]=d("em",null,"流向类型",-1)),d("strong",null,T(W(Xe.value.destinationDirection)),1)]),d("span",hf,[n[99]||(n[99]=d("em",null,"销售目的地",-1)),d("strong",null,T(W(Xe.value.destinationName)),1)]),d("span",pf,[n[100]||(n[100]=d("em",null,"销售用途",-1)),d("strong",null,T(W(Xe.value.movementPurposeName)),1)]),d("span",ff,[n[101]||(n[101]=d("em",null,"证书状态",-1)),d("strong",null,T(W(Xe.value.recordStatusName)),1)])])])]),d("div",mf,[d("span",null,"第 "+T(Xt.value)+" / "+T(br.value)+" 页",1),d("button",{type:"button",disabled:Xt.value<=1,onClick:n[33]||(n[33]=s=>Qi(Xt.value-1))},"上一页",8,gf),d("button",{type:"button",disabled:Xt.value>=br.value,onClick:n[34]||(n[34]=s=>Qi(Xt.value+1))},"下一页",8,yf)])])])):pe("",!0),He.value?(P(),N("div",{key:5,class:"epidemic-image-preview-modal",onClick:Ea(Ir,["self"])},[d("div",vf,[d("div",bf,[d("div",null,[n[102]||(n[102]=d("span",null,"防疫照片",-1)),d("strong",null,T(W(Jt.value.earTag)),1)]),d("button",{type:"button",onClick:Ir},"关闭")]),d("div",wf,[d("div",Lf,[d("img",{src:st.value,alt:"防疫照片预览"},null,8,Tf)])])])])):pe("",!0)]))}};export{zf as default}; diff --git a/docs/assets/index-d715768d-1786725044461.js b/docs/assets/index-d7f6acfe-1786807848259.js similarity index 98% rename from docs/assets/index-d715768d-1786725044461.js rename to docs/assets/index-d7f6acfe-1786807848259.js index b5be7cf..dae6a35 100644 --- a/docs/assets/index-d715768d-1786725044461.js +++ b/docs/assets/index-d7f6acfe-1786807848259.js @@ -1 +1 @@ -var ln=Object.defineProperty,cn=Object.defineProperties;var dn=Object.getOwnPropertyDescriptors;var Tt=Object.getOwnPropertySymbols;var fn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;var Bt=(u,p,y)=>p in u?ln(u,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):u[p]=y,k=(u,p)=>{for(var y in p||(p={}))fn.call(p,y)&&Bt(u,y,p[y]);if(Tt)for(var y of Tt(p))gn.call(p,y)&&Bt(u,y,p[y]);return u},C=(u,p)=>cn(u,dn(p));var w=(u,p,y)=>new Promise((re,K)=>{var M=T=>{try{S(y.next(T))}catch(m){K(m)}},pe=T=>{try{S(y.throw(T))}catch(m){K(m)}},S=T=>T.done?re(T.value):Promise.resolve(T.value).then(M,pe);S((y=y.apply(u,p)).next())});import{k as pn,a3 as yn,g,q as hn,h as mn,w as vn,o as L,c as G,C as kn,u as $,a as A,j as se,b,x as ee,n as Rt,F as bn,y as Pn,K as et,t as zt,f as _n,d as h,A as xe}from"./index-1786725044461.js";import{g as wn,l as Et,E as An}from"./live-scene-1-225090aa-1786725044461.js";import{_ as te}from"./index-262a2c3c-1786725044461.js";import{p as Nn,i as Cn,q as Sn,M as In,n as Fn,r as xn}from"./index-151544a4-1786725044461.js";import{_ as Ln}from"./LayerPanel-48d446bf-1786725044461.js";import{a as oe,_ as Mn}from"./FeatureInfoPanel-8c5860b5-1786725044461.js";import{q as Vt,r as Tn,s as Bn}from"./screen2Standard-3427eaf8-1786725044461.js";import{c as Rn,F as zn}from"./featurePanelLayout-f3191169-1786725044461.js";import"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import"./index-db918426-1786725044461.js";const En={}.VITE_OPEN_API_BASE||"/openApi";function Vn(u,p){return/^https?:\/\//.test(p)?p:`${u}${p.startsWith("/")?p:`/${p}`}`}function Gn(u){if((u==null?void 0:u.success)===!1||(u==null?void 0:u.code)!==void 0&&![0,200,"0","200"].includes(u.code)){const y=new Error((u==null?void 0:u.msg)||(u==null?void 0:u.message)||"接口请求失败");throw y.code=u==null?void 0:u.code,y}return yn(u)}function ge(u,p,y={}){return pn(Vn(En,u),{params:p,timeout:y.timeout||2e4}).then(Gn)}function Me(u){return Array.isArray(u)?u:Array.isArray(u==null?void 0:u.rows)?u.rows:Array.isArray(u==null?void 0:u.list)?u.list:Array.isArray(u==null?void 0:u.data)?u.data:u!=null&&u.data?Me(u.data):u!=null&&u.result?Me(u.result):[]}function $n(u){return u==null||u===""?Promise.resolve([]):ge(`/screen2/pasture-management/pastures/${encodeURIComponent(u)}/grasslands`).then(Me)}function On(u){return u?ge("/screen2/pasture-management/grassland/click",{wkt:u}).then(p=>p||null):Promise.resolve(null)}function Ot(u){return ge(`/screen2/pasture-management/pastures/${encodeURIComponent(u)}`).then(p=>p||{})}function jn(u){return Ot(u)}function Wn(){return ge("/screen2/pasture-management/pastures",{pageSize:300}).then(Me)}function Un(){return w(this,null,function*(){const[u,p]=yield Promise.all([ge("/screen2/pasture-management/dashboard",{year:2024}),Wn()]);return{core:(u==null?void 0:u.core)||[],distribution:(u==null?void 0:u.distribution)||[],age:(u==null?void 0:u.demographics)||[],online:(u==null?void 0:u.online)||[],grassland:(u==null?void 0:u.grassland)||[],list:p}})}const Dn={class:"pasture-management"},Kn={key:0,class:"pasture-map-loading"},Yn={class:"pasture-management-ui"},Hn={class:"pasture-left"},qn={class:"pasture-side-stack is-left"},Zn={class:"pasture-video-monitor"},Jn=["disabled"],Xn=["onClick"],Qn={key:1,class:"pasture-video-play"},ea={key:2,class:"pasture-video-loading"},ta={key:3,class:"pasture-video-error"},ra={class:"pasture-video-point-name"},na=["disabled"],aa={class:"pasture-right"},sa={class:"pasture-side-stack is-right"},oa=["aria-label"],Le="pasture-grassland-boundary",Gt="#46dce8",ua=12e3,la="/external/satellite/{z}/{x}/{y}.png",fe="#30DCFF",$t="草场详情",Pa={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(u,{expose:p,emit:y}){const re=u,K=y,M=Vt.sideCardWidth;Vt.sideCardGap;const pe=h(typeof window=="undefined"?1080:window.innerHeight),S=g(()=>Tn(pe.value)),T=g(()=>Bn(S.value,2)),m=h(null),ue=h(!1),tt=h(0);let ye=0;const O=h(null),le=h(!1),he=h(!1),ne=h(null),j=h({core:[],distribution:[],age:[],online:[],grassland:[]}),Y=h([]),H=h([]),Te=h(""),jt=["牧户数量","户均牦牛头数","户均草地面积","联户数量"],x=`pasture-video-player-${Math.random().toString(36).slice(2)}`,Wt=new Set(["code","msg","message","success","data","result","dycolumn","geom","wkt","geometry","the_geom","raw_properties","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"]),Be=Fn,Ut=Vr("v3:resource_grassland",fe),Re={key:"pasture-empty-video",title:"暂无在线可播放摄像头",town:"红原县",scene:"牧场监控",device:"",channel:"",cameraCount:0,status:"待接入",onlineRate:0,updateTime:"",operator:"等待在线摄像头",progress:0,image:Et,playUrl:"",hdPlayUrl:"",token:""},ze=h(null),B=h([]),me=h(0),q=h(!1),R=h(!1),I=h("");let W=!1,ae=0,z=null,N=null,Ee=!1,Z=0,ve=null,ke=0;const Dt={},Kt={},Yt=an(xn),Ve=g(()=>[{key:Le,sourceType:"wms",renderMode:"tile",url:"/geoserver/v3/wms",layerName:"v3:resource_grassland",name:"草场边界",styles:"",sldBody:Ut,color:fe,fillColor:"rgba(48, 220, 255, 0.035)",strokeColor:fe,glowColor:"rgba(48, 220, 255, 0.2)",zIndex:35,opacity:.72,queryBuffer:8,mapView:{targetLngLat:Be,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"pasture-grassland-boundary",name:"草场边界",fillColor:fe,strokeColor:fe,selectable:!1}]},{key:"pasture-yak-recognition",sourceType:"wmts",renderMode:"tile",url:"/geoserver/gwc/service/wmts",layerName:"v3:yak_recognition",name:"牦牛识别",style:"v3:yak_recognition",styles:"v3:yak_recognition",format:"image/png",tileMatrixSetID:"EPSG:900913",minimumLevel:7,maximumLevel:21,bounds:[101.88735023598684,32.187424325001956,103.32644952301061,33.27125655371905],color:"#FFE600",fillColor:"rgba(255, 230, 0, 0)",strokeColor:"#FFE600",glowColor:"rgba(255, 230, 0, 0.42)",zIndex:46,opacity:.92,brightness:1.08,contrast:1.18,saturation:1.42,gamma:.95,mapView:{targetLngLat:Be,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"pasture-yak-recognition",name:"牦牛识别(757,361)",fillColor:"#FFE600",strokeColor:"#FFF58A",selectable:!1}]}]),Ge=g(()=>Array.isArray(H.value)?H.value.map(String).filter(Boolean):H.value?[String(H.value)]:[]),be=g(()=>{const e=new Set(Ge.value);return Ve.value.filter(t=>e.has(t.key))}),rt=g(()=>be.value[0]||null),ie=g(()=>be.value.flatMap(e=>e.legends||[]).find(e=>e.key===Te.value)||null),nt=g(()=>be.value.flatMap(e=>e.legends||[])),at=g(()=>{const e=Math.max(1,Ve.value.length),t=Math.max(1,Math.ceil(nt.value.length/2)),r=e*34+Math.max(0,e-1)*5;return Math.max(196,Math.min(300,72+r+30+t*28))});function Ht(e){var r;return e?!(e.legends||[]).some(n=>{var s;return n.key===((s=ie.value)==null?void 0:s.key)})||!((r=ie.value)!=null&&r.cqlFilter)?e:C(k({},e),{cqlFilter:ie.value.cqlFilter,activeLegend:ie.value,name:ie.value.name||e.name}):null}const st=g(()=>be.value.map(Ht).filter(Boolean)),Pe=g(()=>st.value[0]||null),qt=g(()=>!!ne.value),Zt=zn,ot=g(()=>Rn({point:ne.value?xr(ne.value):null,rowCount:O.value?kt(O.value):0,loading:he.value,empty:le.value||!O.value})),Jt=g(()=>ot.value.height),Xt=g(()=>ot.value.style),Qt=g(()=>{var t;const e=((t=O.value)==null?void 0:t.properties)||{};return e.detailMode==="resource"?[{key:"recognizedYakCount",label:"牦牛数量",value:E(e.recognizedYakCount,"头",0)},{key:"acreage",label:"草地面积",value:E(e.acreage,"亩",2)},{key:"wetlandAreaMu",label:"湿地面积",value:Ae(e.wetlandAreaMu,e.wetlandAreaPercent)},{key:"otherAreaMu",label:"其他面积",value:Ae(e.otherAreaMu,e.otherAreaPercent)},{key:"resourceFreshMuYield",label:"综合鲜草亩产",value:E(e.resourceFreshMuYield,"斤/亩",2)},{key:"resourceDryMuYield",label:"综合干草亩产",value:E(e.resourceDryMuYield,"斤/亩",2)},{key:"grasslandVegetationCover",label:"草地植被盖度",value:E(e.grasslandVegetationCover,"%",2)}]:[{key:"pastureName",label:"所属牧场",value:e.pastureName},{key:"township",label:"所在乡镇",value:e.township||e.townName},{key:"acreage",label:"本地块面积",value:Ue(e.acreage,"亩",2)},{key:"wetlandAreaMu",label:"湿地面积",value:Ae(e.wetlandAreaMu,e.wetlandAreaPercent)},{key:"otherAreaMu",label:"其他面积",value:Ae(e.otherAreaMu,e.otherAreaPercent)},{key:"resourceFreshMuYield",label:"综合鲜草亩产",value:E(e.resourceFreshMuYield,"斤/亩",2)},{key:"resourceDryMuYield",label:"综合干草亩产",value:E(e.resourceDryMuYield,"斤/亩",2)},{key:"grasslandVegetationCover",label:"草地植被盖度",value:E(e.grasslandVegetationCover,"%",2)},{key:"recognizedYakCount",label:"草场牦牛数",value:Ue(e.recognizedYakCount,"头",0)},{key:"grasslandMuPerYak",label:"草场草畜比",value:Ue(e.grasslandMuPerYak,"亩/头",2)}]}),ut=g(()=>Wr(j.value.core)),$e=g(()=>Yr(j.value.distribution)),er=g(()=>Hr(j.value.online)),tr=g(()=>qr(j.value.age)),rr=g(()=>Zr(j.value.age)),lt=g(()=>ct(j.value.grassland));g(()=>({title:"牧户分布排行",metricLabel:"牧户",unit:"户",hideMapLabels:!1,hideTownNames:!1,showBars:!1,showPointMarkers:!1,showMissingTownStats:!1,rows:$e.value.map(e=>{const t=Number(e.value);return!e.name||!Number.isFinite(t)||t<=0?null:{name:e.name,value:t,unit:e.unit||"户"}}).filter(Boolean)})),g(()=>({key:"pasture-town",type:"bar",variant:"distribution",rows:$e.value})),g(()=>({key:"pasture-grassland-area",type:"heat",rows:lt.value}));const nr=g(()=>({key:"pasture-household-column",type:"column",variant:"plain",preserveColors:!0,scrollable:!1,rows:ct($e.value).slice(0,10).map(e=>C(k({},e),{unit:e.unit||"户",color:Gt}))})),ar=g(()=>({key:"pasture-grassland-column",type:"bar",variant:"raceBar",preserveColors:!0,rows:lt.value.map(e=>C(k({},e),{unit:e.unit||"万亩",color:Gt}))})),sr=g(()=>({key:"pasture-online",type:"line",rows:er.value})),or=g(()=>({key:"pasture-age",type:"structure",rows:tr.value})),ur=g(()=>({key:"pasture-gender",type:"donut",rows:rr.value})),lr=g(()=>({key:"pasture-herdsman-list",type:"projectTable",searchPlaceholder:"搜索牧户 / 乡镇",emptyText:"无匹配牧户",maxRows:300,searchKeys:["name","herdsmanName","herdsman_name","phone","phonenumber","idCard","id_card","township","id","grasslandArea","searchText"],columns:[{key:"name",label:"牧户名称",field:"name",width:"42%"},{key:"township",label:"区域",field:"township",width:"36%"},{key:"locate",label:"定位",field:"locateText",width:"22%",align:"center",fallback:"定位",icon:"locate",action:"locate"}],rows:Y.value})),_e=g(()=>{const e=B.value.length;return e?me.value%e:0}),ir=g(()=>B.value[_e.value]||Re),it=g(()=>fr(B.value,_e.value,Re));function ct(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{var n,s,a;return C(k({},t),{key:t.key||t.code||t.name||`${r}`,name:t.name||t.areaName||t.area_name||t.townName||"未标注",value:Number((a=(s=(n=t.value)!=null?n:t.number)!=null?s:t.count)!=null?a:t.num)||0,unit:t.unit||""})}).filter(t=>t.name&&Number.isFinite(t.value)&&t.value>=0)}function Oe(){pe.value=typeof window=="undefined"?1080:window.innerHeight}hn(()=>{Oe(),window.addEventListener("resize",Oe),wt(),Sr(),kr(),cr()}),mn(()=>{W=!0,window.removeEventListener("resize",Oe),J(),z&&window.clearTimeout(z),ae+=1}),vn(()=>re.active,e=>{var t,r;e||J({resetError:!0}),m.value&&(e?(X(),(r=(t=m.value).refreshView)==null||r.call(t)):(z&&window.clearTimeout(z),z=null,ae+=1))});function cr(){return w(this,null,function*(){try{const e=yield wn();if(W)return;B.value=e,me.value=0,I.value=e.length?"":"暂无在线可播放摄像头"}catch(e){if(W)return;B.value=[],I.value="监控接口暂不可用"}})}function dr(e,t){t!=null&&t.isActive&&(ze.value=e||null)}function fr(e=[],t=0,r=Re){const n=Array.isArray(e)?e:[];if(!n.length)return[{key:`empty-${r.key||"video"}`,index:0,live:r,isActive:!0}];const s=(t+n.length)%n.length,a=n[s]||r;return[{key:`${a.key||a.title||"video"}-${s}`,index:s,live:a,isActive:!0}]}function gr(e,t=!0){const r=(e==null?void 0:e.image)||Et;return q.value&&t?void 0:{backgroundImage:`url(${r})`}}function pr(){dt(-1)}function yr(){dt(1)}function dt(e){const t=B.value.length;t&&(J({resetError:!0}),me.value=(_e.value+e+t)%t)}function hr(e){const t=B.value.length;if(!t){ft();return}const r=((Number(e)||0)+t)%t;(r!==_e.value||N||R.value)&&J({resetError:!0}),me.value=r,xe(ft)}function ft(){return w(this,null,function*(){var n,s;const e=ir.value;if(!(e!=null&&e.hdPlayUrl)||!(e!=null&&e.token)){I.value="暂无在线可播放摄像头";return}if(q.value||R.value)return;N&&J({resetError:!0}),I.value="",R.value=!0,yield xe();const t=++Z;let r=null;mr(t);try{const a=(s=(n=ze.value)==null?void 0:n.getBoundingClientRect)==null?void 0:s.call(n),o=Math.max(300,Math.floor((a==null?void 0:a.width)||340)),l=Math.max(80,Math.floor((a==null?void 0:a.height)||120));if(r=new An.EZUIKitPlayer({id:x,accessToken:e.token,url:e.hdPlayUrl,audio:0,width:o,height:l,themeData:vr(),handleError(c){t===Z&&(ce(),console.warn("Pasture EZUIKit player error",c),I.value="视频加载失败",R.value=!1,q.value=!1,Z+=1,N=null,Ee=!1,je())},handleSuccess(){t===Z&&(ce(),I.value="",Ee=!0,R.value=!1,pt(),gt())},fullScreenChangeCallBack(){}}),t!==Z){yt(r),je();return}N=r,q.value=!0,xe(()=>{pt(),gt()})}catch(a){ce(),console.warn("Pasture EZUIKit init error",a),I.value="视频加载失败",J()}})}function gt(){if(typeof document=="undefined")return;const e=document.getElementById(`${x}-ez-iframe-footer-container`),t=document.getElementById(`${x}-audioControls`);e&&Object.assign(e.style,{position:"absolute",left:"0",right:"0",bottom:"0",zIndex:"20",width:"100%",marginTop:"0",pointerEvents:"auto",visibility:"visible",opacity:"1"}),t&&Object.assign(t.style,{opacity:"1",pointerEvents:"all",visibility:"visible"})}function pt(){var f,i;if(typeof document=="undefined")return;const e=ze.value,t=document.getElementById(`${x}-wrap`),r=document.getElementById(x),n=t||r;if(!e||!n)return;const s=(f=e.getBoundingClientRect)==null?void 0:f.call(e),a=Math.max(1,Math.floor((s==null?void 0:s.width)||e.clientWidth||1)),o=Math.max(1,Math.floor((s==null?void 0:s.height)||e.clientHeight||1));try{N&&typeof N.reSize=="function"?N.reSize(a,o):N&&typeof N.autoResize=="function"&&N.autoResize()}catch(v){console.warn("Pasture EZUIKit resize failed",v)}Object.assign(n.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",display:"block",width:`${a}px`,height:`${o}px`,verticalAlign:"top"}),t&&r&&Object.assign(r.style,{position:"relative",left:"auto",top:"auto",right:"auto",bottom:"auto",display:"block",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",overflow:"hidden",verticalAlign:"top"});const l=document.getElementById(`EZUIKitPlayer-${x}`);l&&(l.setAttribute("width",String(a)),l.setAttribute("height",String(o))),[...Array.from((r==null?void 0:r.children)||[]),...Array.from(((i=r==null?void 0:r.querySelectorAll)==null?void 0:i.call(r,".play-window, video, canvas, iframe"))||[]),l].filter(Boolean).forEach(v=>{Object.assign(v.style,{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none"})})}function J(e={}){const{clearElement:t=!0,resetError:r=!1}=e;ce();const n=N;N=null,Ee=!1,Z+=1,n&&yt(n),t&&je(),q.value=!1,R.value=!1,r&&(I.value="")}function mr(e){ce(),ve=window.setTimeout(()=>{e!==Z||!R.value||(I.value="视频加载超时",J({resetError:!1}))},ua)}function ce(){ve&&(window.clearTimeout(ve),ve=null)}function yt(e){if(!(!e||typeof e.stop!="function"))try{const t=e.stop();t&&typeof t.catch=="function"&&t.catch(()=>{})}catch(t){console.warn("Pasture EZUIKit stop error",t)}}function je(){if(typeof document=="undefined")return;const e=document.getElementById(`${x}-wrap`);if(e){const r=document.createElement("div");r.id=x,r.className="pasture-video-player",e.replaceWith(r);return}const t=document.getElementById(x);t&&t.replaceChildren()}function vr(){return{autoFocus:0,header:{color:"#30dcff",activeColor:"#ffffff",backgroundColor:"#000000",btnList:[{iconId:"deviceID",part:"left",defaultActive:0,memo:"顶部设备序列号",isrender:0},{iconId:"deviceName",part:"left",defaultActive:0,memo:"顶部设备名称",isrender:0},{iconId:"cloudRec",part:"right",defaultActive:0,memo:"云存储",isrender:0},{iconId:"rec",part:"right",defaultActive:0,memo:"SD卡回放",isrender:0}]},footer:{color:"#ffffff",activeColor:"#30dcff",backgroundColor:"#00000021",btnList:[{iconId:"play",part:"left",defaultActive:1,memo:"播放",isrender:1},{iconId:"capturePicture",part:"left",defaultActive:0,memo:"截屏按钮",isrender:0},{iconId:"sound",part:"left",defaultActive:0,memo:"声音按钮",isrender:1},{iconId:"pantile",part:"left",defaultActive:0,memo:"云台控制按钮",isrender:1},{iconId:"recordvideo",part:"left",defaultActive:0,memo:"录制按钮",isrender:0},{iconId:"zoom",part:"left",defaultActive:0,memo:"电子放大",isrender:1},{iconId:"hd",part:"right",defaultActive:0,memo:"清晰度切换按钮",isrender:1},{iconId:"expend",part:"right",defaultActive:0,memo:"全局全屏按钮",isrender:1}]}}}function kr(){return w(this,null,function*(){try{const e=yield Un();if(W)return;j.value=e,wt();const t=Jr(e.list);Y.value=t,br(Y.value)}catch(e){j.value={core:[],distribution:[],age:[],online:[],grassland:[]},Y.value=[]}})}function br(e=Y.value,t=600){W||!re.active||(z&&window.clearTimeout(z),z=window.setTimeout(()=>{z=null,!(W||!re.active)&&Pr(e)},t))}function Pr(){return w(this,arguments,function*(e=[]){const t=++ae,r=(Array.isArray(e)?e:[]).filter(_r).slice(0,60);if(!r.length)return;const n=yield mt(r,5,a=>w(this,null,function*(){const o=St(a),l=D(a);let c=l,f=null,i=Se(a,l)||Ie(a,a.name,o);try{(!i||!c.some(P))&&(c=yield vt(a))}catch(F){c=l}if(i=i||Se(a,c)||Ie(a,a.name,o),!i){try{f=o?yield jn(o):null}catch(Lt){f=null}const F=D(f);i=Ar(f)||Se(f,F),F.length&&!c.length&&(c=F)}i=i||Ie(a,a.name,o);const v=!!(o||Ce(a)||c.some(P)||P(a));if(!i&&!c.length&&v===a.canLocate)return null;const _={key:a.key,id:a.id,realPastureId:o,name:a.name,township:i||a.township,grasslands:c.length?c:a.grasslands,grasslandArea:c.length?At(c):Q(a),canLocate:v,locateText:v?"定位":"--"};return wr(_,t),_}));if(W||t!==ae)return;const s=new Map;n.filter(Boolean).forEach(a=>{[a.key,a.id,a.realPastureId,a.name].filter(Boolean).forEach(o=>{s.set(String(o),a)})}),s.size&&ht(s)})}function _r(e={}){const t=String((e==null?void 0:e.township)||"").trim();return!(P(e)||D(e).some(P))&&He(e).length?!0:t&&t!=="--"?!1:Q(e)>0||qe(e)}function wr(e,t=ae){if(!e||W||t!==ae)return;const r=new Map;[e.key,e.id,e.realPastureId,e.name].filter(Boolean).forEach(n=>{r.set(String(n),e)}),ht(r)}function ht(e){e!=null&&e.size&&(Y.value=Y.value.map(t=>{var a,o;const r=[t.key,t.id,t.realPastureId,t.name].filter(Boolean).map(l=>e.get(String(l))).find(Boolean);if(!r)return t;const n=r.township&&r.township!=="--"?r.township:t.township,s=Number(r.grasslandArea)>0?Number(r.grasslandArea):Q(t);return C(k({},t),{township:n,grasslands:r.grasslands,grasslandArea:s,acreage:s,value:s,grasslandCount:de(r,r.grasslands),hasGrasslandBoundary:((o=(a=r.grasslands)==null?void 0:a.some)==null?void 0:o.call(a,P))||t.hasGrasslandBoundary,canLocate:r.canLocate,locateText:r.locateText,searchText:[t.name,n,t.id].filter(Boolean).join(" ")})}))}function We(e=[]){const t=[],r=n=>{if(!n)return;if(Array.isArray(n)){n.forEach(r);return}if(typeof n!="object")return;const s=D(n);if(s.length)t.push(...s);else{let a=!1;["rows","list","data","result","grassland","pasture","features"].forEach(o=>{const l=n==null?void 0:n[o];l&&(Array.isArray(l)||typeof l=="object")&&(a=!0,r(l))}),a||t.push(n)}};return r(e),t}function Ar(e){const t=Array.isArray(e)?e:Array.isArray(e==null?void 0:e.rows)?e.rows:Array.isArray(e==null?void 0:e.list)?e.list:Array.isArray(e==null?void 0:e.data)?e.data:[e];for(const r of t.filter(Boolean)){const n=Array.isArray(r==null?void 0:r.fields)?r.fields:Array.isArray(r==null?void 0:r.children)?r.children:[],s=d(r,["township","townName","town_name","areaName","area_name","fullName","full_name","address","牧场所在区域"]);if(s)return V(we(s));for(const o of n){const l=String((o==null?void 0:o.name)||(o==null?void 0:o.label)||(o==null?void 0:o.title)||"").trim(),c=d(o,["value","text","content"]);if(c&&/区域|地址|乡镇/.test(l))return V(we(c))}const a=Object.entries(r||{}).filter(([o])=>/fullName|full_name|address|areaName|area_name|town/i.test(o)).map(([,o])=>o);for(const o of a)if(o)return V(we(o))}return""}function we(e){const t=String(e||"").trim();if(!t||t==="--")return"";const r=t.match(/([\u4e00-\u9fa5]{1,12}(?:镇|乡))/);return(r==null?void 0:r[1])||t}function mt(e,t,r){return w(this,null,function*(){const n=new Array(e.length);let s=0;const a=Array.from({length:Math.min(t,e.length)},()=>w(this,null,function*(){for(;sw(this,null,function*(){if(P(n))return n;const s=Nt(n);if(!s)return n;try{const a=yield Ot(s),l=We([a]).find(P);return l?en(n,l):n}catch(a){return n}}));return Ye(r)})}function Cr(e){return w(this,null,function*(){var a,o,l,c;const t=++ye;X(),(o=(a=m.value)==null?void 0:a.clearFloatingOverlays)==null||o.call(a);let r=[];try{r=yield vt(e)}catch(f){r=D(e)}if(t!==ye)return;const n=r.filter(P);if(!n.length){_t();return}if(Ge.value.includes(Le)||(H.value=[Le,...Ge.value]),t!==ye)return;((c=(l=m.value)==null?void 0:l.focusPasture)==null?void 0:c.call(l,{name:e==null?void 0:e.name,grasslands:n,highlightTone:"white"}))||_t()})}function Sr(){ue.value=!1,K("loading-progress",{progress:0})}function Ir(){ue.value=!0,K("loading-progress",{progress:100}),K("map-ready")}function Fr(e=Pe.value){const t=String((e==null?void 0:e.key)||"").toLowerCase(),r=String((e==null?void 0:e.layerName)||"").toLowerCase();return t===Le||r.includes("resource_grassland")}function xr(e={}){const t=document.querySelector(".pasture-management"),r=t==null?void 0:t.getBoundingClientRect();return r?{x:((Number(e.x)||r.left+r.width/2)-r.left)/Math.max(1,r.width)*1920,y:((Number(e.y)||r.top+r.height/2)-r.top)/Math.max(1,r.height)*1080}:{x:Number(e.x)||960,y:Number(e.y)||540}}function kt(e){const t=(e==null?void 0:e.properties)||{};return Math.min(10,Object.entries(t).filter(([r,n])=>Lr(r,n)).length)}function Lr(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!Wt.has(String(e||"").toLowerCase())}function Mr(e={}){const t=bt(e.lng),r=bt(e.lat);return t===""||r===""?"":`POINT(${t} ${r})`}function bt(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function Tr(e={},t={}){var s,a;const r=zr(e);if(!r||!Object.keys(r).length)return null;r.detailMode="resource";const n=Er(e,r);return{id:r.id||r.grasslandId||r.grassland_id||`${(s=t==null?void 0:t.lngLat)==null?void 0:s.lng}-${(a=t==null?void 0:t.lngLat)==null?void 0:a.lat}`,properties:r,feature:{type:"Feature",properties:r,geometry:n},geometry:n,layer:Pe.value||rt.value,lngLat:t.lngLat}}function Br(e={}){var c,f,i;const t=e==null?void 0:e.feature,r=String(((c=t==null?void 0:t.layer)==null?void 0:c.key)||"").toLowerCase();if(!t||!r.startsWith("pasture-focus"))return;const n=t.properties||((f=t.feature)==null?void 0:f.properties)||{},s=d(n,["recognizedYakCount","recognized_yak_count"]),a=d(n,["acreage","areaMu","area_mu","grasslandArea","grassland_area"]),o=(i=d(n,["grasslandMuPerYak","grassland_mu_per_yak"]))!=null?i:Rr(a,s),l=C(k({},n),{recognizedYakCount:s,grasslandMuPerYak:o,detailMode:"pasture"});Object.keys(l).length&&(O.value=C(k({},t),{properties:l,layer:rt.value||t.layer}),ne.value=e.screen||{x:960,y:540},le.value=!1,he.value=!1)}function Rr(e,t){const r=Number(e),n=Number(t);return!Number.isFinite(r)||!Number.isFinite(n)||n<=0?null:Number((r/n).toFixed(2))}function Ue(e,t,r){if(e==null||e==="")return"";const n=Number(e);return Number.isFinite(n)?`${n.toLocaleString("zh-CN",{minimumFractionDigits:r,maximumFractionDigits:r})} ${t}`:String(e)}function E(e,t,r){if(e==null||e==="")return"";const n=Number(e);return Number.isFinite(n)?`${n.toFixed(r)} ${t}`:String(e)}function Ae(e,t){const r=E(e,"亩",2);if(!r)return"";const n=Number(t);return Number.isFinite(n)?`${r} (${n.toFixed(2)}%)`:r}function zr(e={}){var l,c,f,i;const t=Pt(e),r=U((t==null?void 0:t.grassland)||((l=t==null?void 0:t.data)==null?void 0:l.grassland)),n=U((t==null?void 0:t.pasture)||((c=t==null?void 0:t.data)==null?void 0:c.pasture)),s=U((t==null?void 0:t.pasture_balance)||(t==null?void 0:t.pastureBalance)||((f=t==null?void 0:t.data)==null?void 0:f.pasture_balance)),a=r||U(t==null?void 0:t.data)||U(t==null?void 0:t.result)||U(t);if(!a&&!n&&!s)return null;const o=d(a||{},["recognizedYakCount","recognized_yak_count"]);return C(k(k(k(k(k({},a||{}),s||{}),De(a)),De(n)),De(s)),{pastureName:d(n||{},["name","pasturesName","pastures_name","pastureName","pasture_name"])||d(a||{},["pastureName","pasture_name"]),recognizedYakCount:o,yakCount:(i=o!=null?o:d(n||{},["yakCount","yak_count","yakNumber","yak_number"]))!=null?i:d(s||{},["yakCount","yak_count","yakNumber","yak_number"])})}function De(e={}){return(Array.isArray(e==null?void 0:e.dyColumn)?e.dyColumn:Array.isArray(e==null?void 0:e.fields)?e.fields:[]).reduce((r,n)=>{var o,l;const s=String((n==null?void 0:n.field)||(n==null?void 0:n.key)||(n==null?void 0:n.title)||(n==null?void 0:n.label)||"").trim(),a=(l=(o=n==null?void 0:n.value)!=null?o:n==null?void 0:n.text)!=null?l:n==null?void 0:n.content;return s&&a!==void 0&&a!==null&&a!==""&&(r[s]=a),r},{})}function Pt(e){return!e||typeof e!="object"?{}:Object.prototype.hasOwnProperty.call(e,"data")?e.data&&typeof e.data=="object"?e.data:{}:Object.prototype.hasOwnProperty.call(e,"result")?e.result&&typeof e.result=="object"?e.result:{}:e}function Er(e={},t={}){var a,o;const r=Pt(e),n=U((r==null?void 0:r.grassland)||((a=r==null?void 0:r.data)==null?void 0:a.grassland)),s=U((r==null?void 0:r.pasture)||((o=r==null?void 0:r.data)==null?void 0:o.pasture));return d(n||{},["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(s||{},["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(t,["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(r,["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||null}function U(e){const t=Array.isArray(e)?e.find(r=>r&&typeof r=="object")||null:e&&typeof e=="object"?e:null;return t&&Object.keys(t).length?t:null}function Ne(){O.value=null,ne.value=null,le.value=!1,he.value=!1}function X(){var e,t;ke+=1,Ne(),(t=(e=m.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function _t(){var e,t;ye+=1,(t=(e=m.value)==null?void 0:e.clearPastureFocus)==null||t.call(e)}function Vr(e,t){return`${e}${e}${t}0.018${t}0.550.68`}function Gr(){return w(this,arguments,function*(e={}){var a,o,l,c,f,i;if(!Fr(e.overlayLayer||Pe.value)){X();return}const t=Number((a=e==null?void 0:e.lngLat)==null?void 0:a.lng),r=Number((o=e==null?void 0:e.lngLat)==null?void 0:o.lat);if(!Number.isFinite(t)||!Number.isFinite(r)){X();return}const n=++ke,s=e.screen||{x:960,y:540};Ne(),(c=(l=m.value)==null?void 0:l.clearSelectedFeature)==null||c.call(l);try{const v=yield On(Mr({lng:t,lat:r}));if(n!==ke)return;const _=Tr(v,e);if(!_||kt(_)<=0){Ne();return}O.value=_,ne.value=s,le.value=!1,_.geometry&&((i=(f=m.value)==null?void 0:f.highlightFeature)==null||i.call(f,_,{highlightTone:"v21"}))}catch(v){if(n!==ke)return;Ne()}})}function $r(){var e,t;X(),(t=(e=m.value)==null?void 0:e.refreshView)==null||t.call(e)}function Or(){var e,t,r,n;if(X(),(t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)){ue.value=!0,(n=(r=m.value)==null?void 0:r.resetView)==null||n.call(r);return}ue.value=!1,tt.value+=1,xe(()=>{window.setTimeout(()=>{var s,a;(a=(s=m.value)==null?void 0:s.refreshView)==null||a.call(s)},160)})}p({refreshMapView:$r,resetMap:Or});function wt(){K("module-stats",{moduleKey:"pasture-management",items:jr().map(e=>({zh:e.name,name:e.name,value:e.value,unit:e.unit,decimals:Number.isInteger(Number(e.value))?0:2}))})}function jr(){const e=new Map;return(Array.isArray(ut.value)?ut.value:[]).forEach(t=>{!(t!=null&&t.name)||Kr(t.name)||e.set(t.name,t)}),jt.map(t=>e.get(t)).filter(Boolean).slice(0,4)}function Wr(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{const n=t.key||t.id||t.code||t.name||t.zh||`${r}`,s=t.name||t.title||t.label||t.zh,a=Ur(s,n),o=d(t,["value","num","count","dataValue"]);if(!a||o===void 0||o===null||o==="")return null;const l=Dr(a,o,t.unit||t.dw||"");return{key:n,name:l.name,value:l.value,unit:l.unit,icon:t.icon||["town","area","yield","rate"][r%4]}}).filter(Boolean)}function Ur(e,t){const r=String(e||t||""),n=String(t||"").toLowerCase();return/avg.*yak|yak.*avg|yak.*household|yak.*per|hjyak/.test(n)||/户均.*牦牛|牦牛.*户均/.test(r)?"户均牦牛头数":/avg.*grass|grass.*avg|grass.*household|grass.*per/.test(n)||/户均.*草地|草地.*户均/.test(r)?"户均草地面积":/income|revenue|人均收入/.test(n)||r.includes("人均收入")?"人均收入":/poverty|monitor|防反贫|监测户/.test(n)||r.includes("防反贫")||r.includes("监测户")?"防反贫监测户":/joint|union|link|联户/.test(n)||r.includes("联户")?"联户数量":/herdsman|muhu|pasture.*count|牧户数量/.test(n)||r.includes("牧户数量")?"牧户数量":/yak/.test(n)||r.includes("牦牛")?null:/grass/.test(n)||r.includes("草地面积")?"草地面积":/wet/.test(n)||r.includes("湿地")?"湿地面积":r.includes("牧户")||r.includes("牧场")?"牧户数量":/project/.test(n)||r.includes("工程")||r.includes("项目")?"工程数量":/base/.test(n)||r.includes("基地")?"基地数量":r}function Dr(e,t,r){const n=Number(t)||0;return e==="户均牦牛头数"?{name:e,value:n,unit:r||"头"}:e==="户均草地面积"?{name:e,value:n,unit:r||"亩"}:e==="人均收入"?{name:e,value:n,unit:r||"元/年"}:e==="联户数量"||e==="防反贫监测户"?{name:e,value:n,unit:r||"户"}:(e.includes("草地")||e.includes("湿地"))&&!String(r).includes("万")?{name:e,value:Math.round(n/1e4*100)/100,unit:"万亩"}:e.includes("牧户")?{name:e,value:n,unit:r||"户"}:e.includes("工程")||e.includes("项目")||e.includes("基地")?{name:e,value:n,unit:r||"个"}:{name:e,value:n,unit:r}}function Kr(e){return e==="草地面积"||e==="湿地面积"||e==="区域数量"||e==="牦牛数量"}function Yr(e=[]){return(Array.isArray(e)?e:[]).map(t=>{const r=d(t,["areaName","area_name","name","townName","zoneName"]),n=d(t,["number","value","count","num","pastureCount","muhuCount","muhu_count"]);return!r||n===void 0||n===null||n===""?null:{key:t.code||t.areaCode||t.area_code||r,name:r,value:Number(n)||0,unit:"户"}}).filter(Boolean).sort((t,r)=>r.value-t.value)}function Hr(e=[]){return(Array.isArray(e)?e:[]).map(t=>{const r=d(t,["areaName","area_name","name","townName","zoneName"]),n=Number(d(t,["registeredMuhuCount","registered_muhu_count","registeredCount"])),s=Number(d(t,["muhuCount","muhu_count","onlineCount"])),a=d(t,["onlinePercent","uplineRate","upline_rate","onlineRate","value","percent","rate"]),o=a!=null&&a!==""?a:n>0?s/n*100:void 0;return!r||o===void 0||o===null||o===""?null:{key:t.code||t.areaCode||t.area_code||r,name:r,value:Number(String(o).replace("%",""))||0,unit:"%",extra:Number.isFinite(s)&&Number.isFinite(n)&&n>0?`${s}/${n}户`:t.extra}}).filter(Boolean)}function qr(e=[]){const t=new Map;return(Array.isArray(e)?e:[]).forEach(r=>{const n=d(r,["ageRange","age_range","age","name","label"]),s=d(r,["number","value","count","num"]);!n||s===void 0||s===null||s===""||t.set(n,(t.get(n)||0)+(Number(s)||0))}),Array.from(t.entries()).map(([r,n])=>({key:r,name:r,value:n,unit:"人"}))}function Zr(e=[]){const t=new Map;return(Array.isArray(e)?e:[]).forEach(r=>{const n=d(r,["sex","gender","name"]),s=d(r,["number","value","count","num"]);if(!n||s===void 0||s===null||s==="")return;const a=String(n).includes("女")?"女":String(n).includes("男")?"男":n;t.set(a,(t.get(a)||0)+(Number(s)||0))}),Array.from(t.entries()).map(([r,n])=>({key:r,name:r,value:n,unit:"人"}))}function Jr(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{const n=d(t,["name","pasturesName","pastures_name","muhuName","muhu_name","pastureName","pasture_name","herdsmanName"]);if(!n)return null;const s=D(t),a=Q(t)||At(s),o=de(t,s),l=St(t),c=Se(t,s)||Ie(t,n,l),f=Ke(t),i=C(k({},t),{key:t.key||t.id||t.pasturesId||t.pastures_id||`${n}-${r}`,id:l||t.id||t.pastureId||t.pasturesId||t.pastures_id||t.muhuId||t.key,realPastureId:l,name:n,pastureSortOrder:f,township:c||"--",grasslandArea:a,acreage:a,grasslandCount:o,hasGrasslandBoundary:o>0,grasslands:s});return i.canLocate=!!(l||Ce(t)||s.some(P)||P(t)),i.locateText=i.canLocate?"定位":"--",i.value=i.grasslandArea,i.unit="亩",i.searchText=[i.name,i.herdsmanName,i.herdsman_name,i.phone,i.phonenumber,i.idCard,i.id_card,i.township,i.id].filter(Boolean).join(" "),i}).filter(Boolean).sort(Xr)}function Ke(e={}){const t=d(e,["pastureSortOrder","pasture_sort_order","pastureOrder","pasture_order","muhuSortOrder","muhu_sort_order","sortOrder","sort_order"]);if(t==null||t==="")return null;const r=Number(String(t).replace(/,/g,"").trim());return Number.isFinite(r)?r:null}function Xr(e,t){const r=Ke(e),n=Ke(t);if(r!==null||n!==null)return r===null?1:n===null?-1:r!==n?r-n:String((e==null?void 0:e.name)||"").localeCompare(String((t==null?void 0:t.name)||""),"zh-CN");const s=Ce(e)?1:0,a=Ce(t)?1:0;if(s!==a)return a-s;const o=de(e),l=de(t);if(o!==l)return l-o;const c=Q(e),f=Q(t),i=c>0?1:0,v=f>0?1:0;if(i!==v)return v-i;const _=qe(e)?1:0,F=qe(t)?1:0;return _!==F?F-_:c!==f?f-c:String((e==null?void 0:e.name)||"").localeCompare(String((t==null?void 0:t.name)||""),"zh-CN")}function Ce(e={}){const t=d(e,["hasGrasslandBoundary","has_grassland_boundary","hasBoundary","has_boundary"]);return t===!0||t===1||t==="1"||typeof t=="string"&&["true","yes","y"].includes(t.trim().toLowerCase())?!0:de(e)>0}function de(e={},t=e==null?void 0:e.grasslands){const r=["grasslandCount","grassland_count","grasslandsCount","grasslands_count","grasslandBoundaryCount","grassland_boundary_count","boundaryCount","boundary_count"];for(const n of r){const s=Number(e==null?void 0:e[n]);if(Number.isFinite(s)&&s>0)return s}return Array.isArray(t)?t.length:0}function Q(e={}){const r=["grasslandArea","grassland_area","grasslandAcreage","grassland_acreage","assignedGrasslandAcreage","assigned_grassland_acreage","area","areaRange","area_range","cdAcreage","cd_acreage","totalAcreage","total_acreage","pastureArea","pasture_area","acreage"].map(s=>Qr(e==null?void 0:e[s]));return r.find(s=>s>0)||r.find(s=>s===0)||0}function At(e=[]){return(Array.isArray(e)?e:[]).reduce((t,r)=>t+Q(r),0)}function Qr(e){if(typeof e=="number")return Number.isFinite(e)?e:0;const t=String(e!=null?e:"").trim();if(!t||t==="--")return 0;const r=t.replace(/,/g,"").match(/-?\d+(?:\.\d+)?/);if(!r)return 0;const n=Number(r[0]);return Number.isFinite(n)?t.includes("万")?n*1e4:n:0}function D(e={}){const t=[];["grasslands","grasslandList","grasslandRows","landList","plots","features"].forEach(s=>{const a=e==null?void 0:e[s];Array.isArray(a)?t.push(...a):Array.isArray(a==null?void 0:a.rows)?t.push(...a.rows):Array.isArray(a==null?void 0:a.list)?t.push(...a.list):Array.isArray(a==null?void 0:a.data)&&t.push(...a.data)});const n=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);return(n||e!=null&&e.geometry)&&t.push(C(k({},e),{id:(e==null?void 0:e.grasslandId)||(e==null?void 0:e.gid)||(e==null?void 0:e.id),pastureId:(e==null?void 0:e.pastureId)||(e==null?void 0:e.pasturesId)||(e==null?void 0:e.pastures_id)||(e==null?void 0:e.muhuId)||(e==null?void 0:e.id),name:(e==null?void 0:e.grasslandName)||(e==null?void 0:e.name),wkt:n,geometry:e==null?void 0:e.geometry})),t.filter(Boolean)}function P(e={}){var t,r;return typeof e=="string"?!!e.trim():(e==null?void 0:e.type)==="Feature"||e!=null&&e.type&&(e!=null&&e.coordinates)||(t=e==null?void 0:e.geometry)!=null&&t.type||(r=e==null?void 0:e.geometry)!=null&&r.coordinates||typeof(e==null?void 0:e.geometry)=="string"?!0:!!d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"])}function en(e={},t={}){var a,o,l,c,f;const r=C(k(k({},e),t),{id:(a=e==null?void 0:e.id)!=null?a:t==null?void 0:t.id,grasslandId:(f=(c=(l=(o=e==null?void 0:e.grasslandId)!=null?o:e==null?void 0:e.grassland_id)!=null?l:t==null?void 0:t.grasslandId)!=null?c:t==null?void 0:t.grassland_id)!=null?f:t==null?void 0:t.id}),n=d(t,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]),s=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);return(n||s)&&(r.wkt=n||s),r.geometry=(t==null?void 0:t.geometry)||(e==null?void 0:e.geometry),r}function Ye(e=[]){const t=new Set;return(Array.isArray(e)?e:[]).filter(r=>{if(!r)return!1;const n=tn(r);return n&&t.has(n)?!1:(n&&t.add(n),!0)})}function tn(e={}){const t=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);if(t)return`g:${String(t).slice(0,240)}`;if(e!=null&&e.geometry)try{return`j:${JSON.stringify(e.geometry).slice(0,240)}`}catch(n){return""}const r=Nt(e);return r?`id:${r}`:""}function Nt(e={}){return Ct(d(e,["id","grasslandId","grassland_id","landId","land_id","gid","objectid","object_id","fid"]))}function He(e={}){return[e==null?void 0:e.realPastureId,e==null?void 0:e.pastureId,e==null?void 0:e.pasturesId,e==null?void 0:e.pastures_id,e==null?void 0:e.muhuId,e==null?void 0:e.muhu_id,e==null?void 0:e.id].map(Ct).filter(Boolean).filter((t,r,n)=>n.indexOf(t)===r)}function Ct(e){const t=String(e!=null?e:"").trim();return t&&t!=="--"?t:""}function St(e={}){return He(e)[0]||null}function qe(e={}){return e!=null&&e.canLocate||P(e)?!0:D(e).some(P)}function d(e={},t=[]){for(const r of t){const n=e==null?void 0:e[r];if(n!=null&&n!=="")return n}}function Se(e={},t=[]){const r=d(e,["township","townName","town_name","areaName","area_name","zoneName","zone_name","fullName","full_name","address","牧场所在区域"]),n=V(r);if(n)return n;const s=Ze(d(e,["areaCode","area_code","townCode","town_code","code"]));if(s)return s;for(const o of t){const l=d(o,["township","townName","town_name","areaName","area_name","zoneName","zone_name","fullName","full_name","address","牧场所在区域"]),c=V(l);if(c)return c;const f=Ze(d(o,["areaCode","area_code","townCode","town_code","code"]));if(f)return f}const a=It(e);if(a)return a;for(const o of t){const l=It(o);if(l)return l}return""}function V(e){const t=String(e||"").trim();if(!t||t==="--")return"";const r=Ze(t);if(r)return r;if(Nn(t))return t;const n=Cn.find(a=>t.includes(a));if(n)return n;const s=we(t);return s&&s!==t?V(s):""}function Ie(e={},t="",r=""){const n=[r,e.realPastureId,e.pastureId,e.pasturesId,e.pastures_id,e.muhuId,e.id];for(const a of n){const o=Dt[String(a||"").trim()];if(o)return V(o)}const s=[t,e.name,e.pasturesName,e.pastures_name,e.muhuName,e.muhu_name,e.pastureName,e.pasture_name];for(const a of s){const o=Kt[rn(a)];if(o)return V(o)}return""}function rn(e){return String(e||"").replace(/[·•・..。`´’‘ʼʹ''"“”\s\-—_()()]/g,"").replace(/˙/g,"")}function Ze(e){const t=String(e||"").trim();if(!t)return"";const r=t.replace(/\D/g,"");return r?Sn(r):""}function It(e={}){const t=Je(e),r=sn(t);if(!r)return"";const n=Yt.find(s=>un(r,s.geometry));return n!=null&&n.name?V(n.name):""}function Je(e={}){var n,s;if((e==null?void 0:e.type)==="Feature")return Je(e.geometry);if(e!=null&&e.type&&(e!=null&&e.coordinates))return e;if((n=e==null?void 0:e.geometry)!=null&&n.type||(s=e==null?void 0:e.geometry)!=null&&s.coordinates)return e.geometry;const t=d(e,["geometry","location","wkt","geo","geom","geometryWkt","geometry_wkt","shape"]);if(!t||typeof t!="string")return null;const r=t.trim();if(!r)return null;if(r.startsWith("{")||r.startsWith("["))try{const a=JSON.parse(r);return Je(a)}catch(a){return null}return nn(r)}function nn(e){var a;const t=String(e||"").trim(),r=t.match(/^([A-Z]+)(?:\s+[A-Z]+)?\s*\(/i),n=(a=r==null?void 0:r[1])==null?void 0:a.toUpperCase();if(!n)return null;const s=t.slice(t.indexOf("("));return n==="POINT"?{type:"Point",coordinates:Xe(s)}:n==="MULTIPOINT"?{type:"MultiPoint",coordinates:Fe(s).map(Xe).filter(Boolean)}:n==="LINESTRING"?{type:"LineString",coordinates:Qe(s)}:n==="MULTILINESTRING"?{type:"MultiLineString",coordinates:Fe(s).map(Qe).filter(o=>o.length)}:n==="POLYGON"?{type:"Polygon",coordinates:Ft(s)}:n==="MULTIPOLYGON"?{type:"MultiPolygon",coordinates:Fe(s).map(Ft).filter(o=>o.length)}:null}function Xe(e){const t=String(e||"").replace(/^\(+|\)+$/g,"").trim().split(/\s+/).slice(0,2).map(Number);return t.length>=2&&Number.isFinite(t[0])&&Number.isFinite(t[1])?[t[0],t[1]]:null}function Qe(e){return String(e||"").replace(/^\(+|\)+$/g,"").split(",").map(Xe).filter(Boolean)}function Ft(e){return Fe(e).map(Qe).filter(t=>t.length>=3)}function Fe(e){const t=[];let r=0,n=-1;return Array.from(String(e||"")).forEach((s,a)=>{s==="("?(r===0&&(n=a+1),r+=1):s===")"&&(r-=1,r===0&&n>=0&&(t.push(e.slice(n,a)),n=-1))}),t.length?t:[String(e||"")]}function an(e){try{const t=typeof e=="string"?JSON.parse(e):e;return((t==null?void 0:t.features)||[]).map(r=>{var n,s,a,o;return{name:((n=r==null?void 0:r.properties)==null?void 0:n.name)||((s=r==null?void 0:r.properties)==null?void 0:s.areaName)||((a=r==null?void 0:r.properties)==null?void 0:a.townName),code:(o=r==null?void 0:r.properties)==null?void 0:o.code,geometry:r==null?void 0:r.geometry}}).filter(r=>{var n;return r.name&&((n=r.geometry)==null?void 0:n.coordinates)})}catch(t){return[]}}function sn(e){const t=on(e);if(!t.length)return null;const r=t.reduce((n,s)=>({lng:n.lng+s[0],lat:n.lat+s[1]}),{lng:0,lat:0});return[r.lng/t.length,r.lat/t.length]}function on(e){const t=[],r=n=>{if(Array.isArray(n)){if(n.length>=2&&Number.isFinite(Number(n[0]))&&Number.isFinite(Number(n[1]))){t.push([Number(n[0]),Number(n[1])]);return}n.forEach(r)}};return r(e==null?void 0:e.coordinates),t}function un(e,t){return!e||!(t!=null&&t.coordinates)?!1:t.type==="Polygon"?xt(e,t.coordinates):t.type==="MultiPolygon"?t.coordinates.some(r=>xt(e,r)):!1}function xt(e,t){var o,l,c,f;const r=t==null?void 0:t[0];if(!Array.isArray(r)||r.length<3)return!1;let n=!1;const s=e[0],a=e[1];for(let i=0,v=r.length-1;ia!=Mt>a&&s<(Lt-_)*(a-F)/(Mt-F||1e-12)+_&&(n=!n)}return n}return(e,t)=>(L(),G("div",Dn,[(L(),kn(In,{key:tt.value,ref_key:"mapSceneRef",ref:m,class:"pasture-ol-map-layer",active:re.active,"tile-url-template":la,center:$(Be),"initial-zoom":9,"minimum-zoom-distance":1,"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"overlay-layer":Pe.value,"overlay-layers":st.value,"enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"disable-double-click-action":"",onReady:Ir,onMapClick:Gr,onFeatureInfo:Br},null,8,["active","center","overlay-layer","overlay-layers"])),t[2]||(t[2]=A("div",{class:"pasture-map-scrim"},null,-1)),ue.value?se("",!0):(L(),G("div",Kn,"3D地图加载中")),A("div",Yn,[A("div",Hn,[A("div",qn,[b(te,{class:"pasture-side-card left-card",title:"牧户区域统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:nr.value,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card",title:"草场面积分布",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:ar.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card pasture-video-card",title:"牧场实时监控",width:$(M),height:S.value},{default:ee(()=>[A("div",Zn,[A("button",{class:"pasture-video-nav pasture-video-prev",type:"button",disabled:B.value.length<=1,"aria-label":"上一个监控点",onClick:pr}," ‹ ",8,Jn),A("div",{class:Rt(["pasture-video-grid",{"is-single":it.value.length<=1}])},[(L(!0),G(bn,null,Pn(it.value,r=>(L(),G("div",{key:r.key,ref_for:!0,ref:n=>dr(n,r),class:Rt(["pasture-video-screen",{"is-active":r.isActive,"is-playing":q.value&&r.isActive,"is-loading":R.value&&r.isActive}]),style:et(gr(r.live,r.isActive)),onClick:n=>hr(r.index)},[r.isActive?(L(),G("div",{key:0,id:x,class:"pasture-video-player"})):se("",!0),(!q.value||!r.isActive)&&r.live.hdPlayUrl?(L(),G("div",Qn)):se("",!0),R.value&&r.isActive?(L(),G("div",ea,"加载中")):se("",!0),I.value&&r.isActive?(L(),G("div",ta,zt(I.value),1)):se("",!0),A("div",ra,zt(r.live.title),1)],14,Xn))),128))],2),A("button",{class:"pasture-video-nav pasture-video-next",type:"button",disabled:B.value.length<=1,"aria-label":"下一个监控点",onClick:yr}," › ",8,na)])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card",title:"牧户上线率",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:sr.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"])])]),A("div",aa,[A("div",sa,[b(te,{class:"pasture-side-card right-card",title:"牧户年龄统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:or.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card right-card",title:"牧户性别统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:ur.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card right-card pasture-list-card",title:"牧户列表",width:$(M),height:T.value},{default:ee(()=>[b(oe,{panel:lr.value,compact:"","visual-version":"v21",onRowSelect:Cr},null,8,["panel"])]),_:1},8,["width","height"])])]),A("div",{class:"pasture-map-layer-tools",style:et({height:`${at.value}px`})},[b(Ln,{modelValue:H.value,"onUpdate:modelValue":t[0]||(t[0]=r=>H.value=r),"selected-legend-key":Te.value,"onUpdate:selectedLegendKey":t[1]||(t[1]=r=>Te.value=r),"topic-key":"grassland",layers:Ve.value,legends:nt.value,multiple:"",compact:"",width:248,height:at.value},null,8,["modelValue","selected-legend-key","layers","legends","height"])],4),qt.value?(L(),G("div",{key:0,class:"pasture-map-feature-info",style:et(Xt.value)},[A("button",{class:"pasture-map-feature-close",type:"button","aria-label":`关闭${$t}`,title:"关闭",onClick:_n(X,["stop"])}," × ",8,oa),b(Mn,{title:$t,feature:O.value,empty:le.value,loading:he.value,width:$(Zt),height:Jt.value,rows:Qt.value,"compact-grassland":""},null,8,["feature","empty","loading","width","height","rows"])],4)):se("",!0)])]))}};export{Pa as default}; +var ln=Object.defineProperty,cn=Object.defineProperties;var dn=Object.getOwnPropertyDescriptors;var Tt=Object.getOwnPropertySymbols;var fn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;var Bt=(u,p,y)=>p in u?ln(u,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):u[p]=y,k=(u,p)=>{for(var y in p||(p={}))fn.call(p,y)&&Bt(u,y,p[y]);if(Tt)for(var y of Tt(p))gn.call(p,y)&&Bt(u,y,p[y]);return u},C=(u,p)=>cn(u,dn(p));var w=(u,p,y)=>new Promise((re,K)=>{var M=T=>{try{S(y.next(T))}catch(m){K(m)}},pe=T=>{try{S(y.throw(T))}catch(m){K(m)}},S=T=>T.done?re(T.value):Promise.resolve(T.value).then(M,pe);S((y=y.apply(u,p)).next())});import{k as pn,a8 as yn,g,q as hn,h as mn,w as vn,o as L,c as G,C as kn,u as $,a as A,j as se,b,x as ee,n as Rt,F as bn,y as Pn,K as et,t as zt,f as _n,d as h,A as xe}from"./index-1786807848259.js";import{g as wn,l as Et,E as An}from"./live-scene-1-60a25a2c-1786807848259.js";import{_ as te}from"./index-0eddac6c-1786807848259.js";import{p as Nn,i as Cn,q as Sn,M as In,n as Fn,r as xn}from"./index-80cb981f-1786807848259.js";import{_ as Ln}from"./LayerPanel-e92912ff-1786807848259.js";import{a as oe,_ as Mn}from"./FeatureInfoPanel-9b5cdecf-1786807848259.js";import{q as Vt,r as Tn,s as Bn}from"./screen2Standard-03f7f908-1786807848259.js";import{c as Rn,F as zn}from"./featurePanelLayout-f3191169-1786807848259.js";import"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import"./index-db918426-1786807848259.js";const En={}.VITE_OPEN_API_BASE||"/openApi";function Vn(u,p){return/^https?:\/\//.test(p)?p:`${u}${p.startsWith("/")?p:`/${p}`}`}function Gn(u){if((u==null?void 0:u.success)===!1||(u==null?void 0:u.code)!==void 0&&![0,200,"0","200"].includes(u.code)){const y=new Error((u==null?void 0:u.msg)||(u==null?void 0:u.message)||"接口请求失败");throw y.code=u==null?void 0:u.code,y}return yn(u)}function ge(u,p,y={}){return pn(Vn(En,u),{params:p,timeout:y.timeout||2e4}).then(Gn)}function Me(u){return Array.isArray(u)?u:Array.isArray(u==null?void 0:u.rows)?u.rows:Array.isArray(u==null?void 0:u.list)?u.list:Array.isArray(u==null?void 0:u.data)?u.data:u!=null&&u.data?Me(u.data):u!=null&&u.result?Me(u.result):[]}function $n(u){return u==null||u===""?Promise.resolve([]):ge(`/screen2/pasture-management/pastures/${encodeURIComponent(u)}/grasslands`).then(Me)}function On(u){return u?ge("/screen2/pasture-management/grassland/click",{wkt:u}).then(p=>p||null):Promise.resolve(null)}function Ot(u){return ge(`/screen2/pasture-management/pastures/${encodeURIComponent(u)}`).then(p=>p||{})}function jn(u){return Ot(u)}function Wn(){return ge("/screen2/pasture-management/pastures",{pageSize:300}).then(Me)}function Un(){return w(this,null,function*(){const[u,p]=yield Promise.all([ge("/screen2/pasture-management/dashboard",{year:2024}),Wn()]);return{core:(u==null?void 0:u.core)||[],distribution:(u==null?void 0:u.distribution)||[],age:(u==null?void 0:u.demographics)||[],online:(u==null?void 0:u.online)||[],grassland:(u==null?void 0:u.grassland)||[],list:p}})}const Dn={class:"pasture-management"},Kn={key:0,class:"pasture-map-loading"},Yn={class:"pasture-management-ui"},Hn={class:"pasture-left"},qn={class:"pasture-side-stack is-left"},Zn={class:"pasture-video-monitor"},Jn=["disabled"],Xn=["onClick"],Qn={key:1,class:"pasture-video-play"},ea={key:2,class:"pasture-video-loading"},ta={key:3,class:"pasture-video-error"},ra={class:"pasture-video-point-name"},na=["disabled"],aa={class:"pasture-right"},sa={class:"pasture-side-stack is-right"},oa=["aria-label"],Le="pasture-grassland-boundary",Gt="#46dce8",ua=12e3,la="/external/satellite/{z}/{x}/{y}.png",fe="#30DCFF",$t="草场详情",Pa={__name:"index",props:{active:{type:Boolean,default:!0}},emits:["module-stats","loading-progress","map-ready"],setup(u,{expose:p,emit:y}){const re=u,K=y,M=Vt.sideCardWidth;Vt.sideCardGap;const pe=h(typeof window=="undefined"?1080:window.innerHeight),S=g(()=>Tn(pe.value)),T=g(()=>Bn(S.value,2)),m=h(null),ue=h(!1),tt=h(0);let ye=0;const O=h(null),le=h(!1),he=h(!1),ne=h(null),j=h({core:[],distribution:[],age:[],online:[],grassland:[]}),Y=h([]),H=h([]),Te=h(""),jt=["牧户数量","户均牦牛头数","户均草地面积","联户数量"],x=`pasture-video-player-${Math.random().toString(36).slice(2)}`,Wt=new Set(["code","msg","message","success","data","result","dycolumn","geom","wkt","geometry","the_geom","raw_properties","gid","id","objectid","object_id","fid","key_uid","bsm","ysdm"]),Be=Fn,Ut=Vr("v3:resource_grassland",fe),Re={key:"pasture-empty-video",title:"暂无在线可播放摄像头",town:"红原县",scene:"牧场监控",device:"",channel:"",cameraCount:0,status:"待接入",onlineRate:0,updateTime:"",operator:"等待在线摄像头",progress:0,image:Et,playUrl:"",hdPlayUrl:"",token:""},ze=h(null),B=h([]),me=h(0),q=h(!1),R=h(!1),I=h("");let W=!1,ae=0,z=null,N=null,Ee=!1,Z=0,ve=null,ke=0;const Dt={},Kt={},Yt=an(xn),Ve=g(()=>[{key:Le,sourceType:"wms",renderMode:"tile",url:"/geoserver/v3/wms",layerName:"v3:resource_grassland",name:"草场边界",styles:"",sldBody:Ut,color:fe,fillColor:"rgba(48, 220, 255, 0.035)",strokeColor:fe,glowColor:"rgba(48, 220, 255, 0.2)",zIndex:35,opacity:.72,queryBuffer:8,mapView:{targetLngLat:Be,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"pasture-grassland-boundary",name:"草场边界",fillColor:fe,strokeColor:fe,selectable:!1}]},{key:"pasture-yak-recognition",sourceType:"wmts",renderMode:"tile",url:"/geoserver/gwc/service/wmts",layerName:"v3:yak_recognition",name:"牦牛识别",style:"v3:yak_recognition",styles:"v3:yak_recognition",format:"image/png",tileMatrixSetID:"EPSG:900913",minimumLevel:7,maximumLevel:21,bounds:[101.88735023598684,32.187424325001956,103.32644952301061,33.27125655371905],color:"#FFE600",fillColor:"rgba(255, 230, 0, 0)",strokeColor:"#FFE600",glowColor:"rgba(255, 230, 0, 0.42)",zIndex:46,opacity:.92,brightness:1.08,contrast:1.18,saturation:1.42,gamma:.95,mapView:{targetLngLat:Be,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"pasture-yak-recognition",name:"牦牛识别(757,361)",fillColor:"#FFE600",strokeColor:"#FFF58A",selectable:!1}]}]),Ge=g(()=>Array.isArray(H.value)?H.value.map(String).filter(Boolean):H.value?[String(H.value)]:[]),be=g(()=>{const e=new Set(Ge.value);return Ve.value.filter(t=>e.has(t.key))}),rt=g(()=>be.value[0]||null),ie=g(()=>be.value.flatMap(e=>e.legends||[]).find(e=>e.key===Te.value)||null),nt=g(()=>be.value.flatMap(e=>e.legends||[])),at=g(()=>{const e=Math.max(1,Ve.value.length),t=Math.max(1,Math.ceil(nt.value.length/2)),r=e*34+Math.max(0,e-1)*5;return Math.max(196,Math.min(300,72+r+30+t*28))});function Ht(e){var r;return e?!(e.legends||[]).some(n=>{var s;return n.key===((s=ie.value)==null?void 0:s.key)})||!((r=ie.value)!=null&&r.cqlFilter)?e:C(k({},e),{cqlFilter:ie.value.cqlFilter,activeLegend:ie.value,name:ie.value.name||e.name}):null}const st=g(()=>be.value.map(Ht).filter(Boolean)),Pe=g(()=>st.value[0]||null),qt=g(()=>!!ne.value),Zt=zn,ot=g(()=>Rn({point:ne.value?xr(ne.value):null,rowCount:O.value?kt(O.value):0,loading:he.value,empty:le.value||!O.value})),Jt=g(()=>ot.value.height),Xt=g(()=>ot.value.style),Qt=g(()=>{var t;const e=((t=O.value)==null?void 0:t.properties)||{};return e.detailMode==="resource"?[{key:"recognizedYakCount",label:"牦牛数量",value:E(e.recognizedYakCount,"头",0)},{key:"acreage",label:"草地面积",value:E(e.acreage,"亩",2)},{key:"wetlandAreaMu",label:"湿地面积",value:Ae(e.wetlandAreaMu,e.wetlandAreaPercent)},{key:"otherAreaMu",label:"其他面积",value:Ae(e.otherAreaMu,e.otherAreaPercent)},{key:"resourceFreshMuYield",label:"综合鲜草亩产",value:E(e.resourceFreshMuYield,"斤/亩",2)},{key:"resourceDryMuYield",label:"综合干草亩产",value:E(e.resourceDryMuYield,"斤/亩",2)},{key:"grasslandVegetationCover",label:"草地植被盖度",value:E(e.grasslandVegetationCover,"%",2)}]:[{key:"pastureName",label:"所属牧场",value:e.pastureName},{key:"township",label:"所在乡镇",value:e.township||e.townName},{key:"acreage",label:"本地块面积",value:Ue(e.acreage,"亩",2)},{key:"wetlandAreaMu",label:"湿地面积",value:Ae(e.wetlandAreaMu,e.wetlandAreaPercent)},{key:"otherAreaMu",label:"其他面积",value:Ae(e.otherAreaMu,e.otherAreaPercent)},{key:"resourceFreshMuYield",label:"综合鲜草亩产",value:E(e.resourceFreshMuYield,"斤/亩",2)},{key:"resourceDryMuYield",label:"综合干草亩产",value:E(e.resourceDryMuYield,"斤/亩",2)},{key:"grasslandVegetationCover",label:"草地植被盖度",value:E(e.grasslandVegetationCover,"%",2)},{key:"recognizedYakCount",label:"草场牦牛数",value:Ue(e.recognizedYakCount,"头",0)},{key:"grasslandMuPerYak",label:"草场草畜比",value:Ue(e.grasslandMuPerYak,"亩/头",2)}]}),ut=g(()=>Wr(j.value.core)),$e=g(()=>Yr(j.value.distribution)),er=g(()=>Hr(j.value.online)),tr=g(()=>qr(j.value.age)),rr=g(()=>Zr(j.value.age)),lt=g(()=>ct(j.value.grassland));g(()=>({title:"牧户分布排行",metricLabel:"牧户",unit:"户",hideMapLabels:!1,hideTownNames:!1,showBars:!1,showPointMarkers:!1,showMissingTownStats:!1,rows:$e.value.map(e=>{const t=Number(e.value);return!e.name||!Number.isFinite(t)||t<=0?null:{name:e.name,value:t,unit:e.unit||"户"}}).filter(Boolean)})),g(()=>({key:"pasture-town",type:"bar",variant:"distribution",rows:$e.value})),g(()=>({key:"pasture-grassland-area",type:"heat",rows:lt.value}));const nr=g(()=>({key:"pasture-household-column",type:"column",variant:"plain",preserveColors:!0,scrollable:!1,rows:ct($e.value).slice(0,10).map(e=>C(k({},e),{unit:e.unit||"户",color:Gt}))})),ar=g(()=>({key:"pasture-grassland-column",type:"bar",variant:"raceBar",preserveColors:!0,rows:lt.value.map(e=>C(k({},e),{unit:e.unit||"万亩",color:Gt}))})),sr=g(()=>({key:"pasture-online",type:"line",rows:er.value})),or=g(()=>({key:"pasture-age",type:"structure",rows:tr.value})),ur=g(()=>({key:"pasture-gender",type:"donut",rows:rr.value})),lr=g(()=>({key:"pasture-herdsman-list",type:"projectTable",searchPlaceholder:"搜索牧户 / 乡镇",emptyText:"无匹配牧户",maxRows:300,searchKeys:["name","herdsmanName","herdsman_name","phone","phonenumber","idCard","id_card","township","id","grasslandArea","searchText"],columns:[{key:"name",label:"牧户名称",field:"name",width:"42%"},{key:"township",label:"区域",field:"township",width:"36%"},{key:"locate",label:"定位",field:"locateText",width:"22%",align:"center",fallback:"定位",icon:"locate",action:"locate"}],rows:Y.value})),_e=g(()=>{const e=B.value.length;return e?me.value%e:0}),ir=g(()=>B.value[_e.value]||Re),it=g(()=>fr(B.value,_e.value,Re));function ct(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{var n,s,a;return C(k({},t),{key:t.key||t.code||t.name||`${r}`,name:t.name||t.areaName||t.area_name||t.townName||"未标注",value:Number((a=(s=(n=t.value)!=null?n:t.number)!=null?s:t.count)!=null?a:t.num)||0,unit:t.unit||""})}).filter(t=>t.name&&Number.isFinite(t.value)&&t.value>=0)}function Oe(){pe.value=typeof window=="undefined"?1080:window.innerHeight}hn(()=>{Oe(),window.addEventListener("resize",Oe),wt(),Sr(),kr(),cr()}),mn(()=>{W=!0,window.removeEventListener("resize",Oe),J(),z&&window.clearTimeout(z),ae+=1}),vn(()=>re.active,e=>{var t,r;e||J({resetError:!0}),m.value&&(e?(X(),(r=(t=m.value).refreshView)==null||r.call(t)):(z&&window.clearTimeout(z),z=null,ae+=1))});function cr(){return w(this,null,function*(){try{const e=yield wn();if(W)return;B.value=e,me.value=0,I.value=e.length?"":"暂无在线可播放摄像头"}catch(e){if(W)return;B.value=[],I.value="监控接口暂不可用"}})}function dr(e,t){t!=null&&t.isActive&&(ze.value=e||null)}function fr(e=[],t=0,r=Re){const n=Array.isArray(e)?e:[];if(!n.length)return[{key:`empty-${r.key||"video"}`,index:0,live:r,isActive:!0}];const s=(t+n.length)%n.length,a=n[s]||r;return[{key:`${a.key||a.title||"video"}-${s}`,index:s,live:a,isActive:!0}]}function gr(e,t=!0){const r=(e==null?void 0:e.image)||Et;return q.value&&t?void 0:{backgroundImage:`url(${r})`}}function pr(){dt(-1)}function yr(){dt(1)}function dt(e){const t=B.value.length;t&&(J({resetError:!0}),me.value=(_e.value+e+t)%t)}function hr(e){const t=B.value.length;if(!t){ft();return}const r=((Number(e)||0)+t)%t;(r!==_e.value||N||R.value)&&J({resetError:!0}),me.value=r,xe(ft)}function ft(){return w(this,null,function*(){var n,s;const e=ir.value;if(!(e!=null&&e.hdPlayUrl)||!(e!=null&&e.token)){I.value="暂无在线可播放摄像头";return}if(q.value||R.value)return;N&&J({resetError:!0}),I.value="",R.value=!0,yield xe();const t=++Z;let r=null;mr(t);try{const a=(s=(n=ze.value)==null?void 0:n.getBoundingClientRect)==null?void 0:s.call(n),o=Math.max(300,Math.floor((a==null?void 0:a.width)||340)),l=Math.max(80,Math.floor((a==null?void 0:a.height)||120));if(r=new An.EZUIKitPlayer({id:x,accessToken:e.token,url:e.hdPlayUrl,audio:0,width:o,height:l,themeData:vr(),handleError(c){t===Z&&(ce(),console.warn("Pasture EZUIKit player error",c),I.value="视频加载失败",R.value=!1,q.value=!1,Z+=1,N=null,Ee=!1,je())},handleSuccess(){t===Z&&(ce(),I.value="",Ee=!0,R.value=!1,pt(),gt())},fullScreenChangeCallBack(){}}),t!==Z){yt(r),je();return}N=r,q.value=!0,xe(()=>{pt(),gt()})}catch(a){ce(),console.warn("Pasture EZUIKit init error",a),I.value="视频加载失败",J()}})}function gt(){if(typeof document=="undefined")return;const e=document.getElementById(`${x}-ez-iframe-footer-container`),t=document.getElementById(`${x}-audioControls`);e&&Object.assign(e.style,{position:"absolute",left:"0",right:"0",bottom:"0",zIndex:"20",width:"100%",marginTop:"0",pointerEvents:"auto",visibility:"visible",opacity:"1"}),t&&Object.assign(t.style,{opacity:"1",pointerEvents:"all",visibility:"visible"})}function pt(){var f,i;if(typeof document=="undefined")return;const e=ze.value,t=document.getElementById(`${x}-wrap`),r=document.getElementById(x),n=t||r;if(!e||!n)return;const s=(f=e.getBoundingClientRect)==null?void 0:f.call(e),a=Math.max(1,Math.floor((s==null?void 0:s.width)||e.clientWidth||1)),o=Math.max(1,Math.floor((s==null?void 0:s.height)||e.clientHeight||1));try{N&&typeof N.reSize=="function"?N.reSize(a,o):N&&typeof N.autoResize=="function"&&N.autoResize()}catch(v){console.warn("Pasture EZUIKit resize failed",v)}Object.assign(n.style,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",display:"block",width:`${a}px`,height:`${o}px`,verticalAlign:"top"}),t&&r&&Object.assign(r.style,{position:"relative",left:"auto",top:"auto",right:"auto",bottom:"auto",display:"block",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",overflow:"hidden",verticalAlign:"top"});const l=document.getElementById(`EZUIKitPlayer-${x}`);l&&(l.setAttribute("width",String(a)),l.setAttribute("height",String(o))),[...Array.from((r==null?void 0:r.children)||[]),...Array.from(((i=r==null?void 0:r.querySelectorAll)==null?void 0:i.call(r,".play-window, video, canvas, iframe"))||[]),l].filter(Boolean).forEach(v=>{Object.assign(v.style,{position:"absolute",left:"0",top:"0",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none"})})}function J(e={}){const{clearElement:t=!0,resetError:r=!1}=e;ce();const n=N;N=null,Ee=!1,Z+=1,n&&yt(n),t&&je(),q.value=!1,R.value=!1,r&&(I.value="")}function mr(e){ce(),ve=window.setTimeout(()=>{e!==Z||!R.value||(I.value="视频加载超时",J({resetError:!1}))},ua)}function ce(){ve&&(window.clearTimeout(ve),ve=null)}function yt(e){if(!(!e||typeof e.stop!="function"))try{const t=e.stop();t&&typeof t.catch=="function"&&t.catch(()=>{})}catch(t){console.warn("Pasture EZUIKit stop error",t)}}function je(){if(typeof document=="undefined")return;const e=document.getElementById(`${x}-wrap`);if(e){const r=document.createElement("div");r.id=x,r.className="pasture-video-player",e.replaceWith(r);return}const t=document.getElementById(x);t&&t.replaceChildren()}function vr(){return{autoFocus:0,header:{color:"#30dcff",activeColor:"#ffffff",backgroundColor:"#000000",btnList:[{iconId:"deviceID",part:"left",defaultActive:0,memo:"顶部设备序列号",isrender:0},{iconId:"deviceName",part:"left",defaultActive:0,memo:"顶部设备名称",isrender:0},{iconId:"cloudRec",part:"right",defaultActive:0,memo:"云存储",isrender:0},{iconId:"rec",part:"right",defaultActive:0,memo:"SD卡回放",isrender:0}]},footer:{color:"#ffffff",activeColor:"#30dcff",backgroundColor:"#00000021",btnList:[{iconId:"play",part:"left",defaultActive:1,memo:"播放",isrender:1},{iconId:"capturePicture",part:"left",defaultActive:0,memo:"截屏按钮",isrender:0},{iconId:"sound",part:"left",defaultActive:0,memo:"声音按钮",isrender:1},{iconId:"pantile",part:"left",defaultActive:0,memo:"云台控制按钮",isrender:1},{iconId:"recordvideo",part:"left",defaultActive:0,memo:"录制按钮",isrender:0},{iconId:"zoom",part:"left",defaultActive:0,memo:"电子放大",isrender:1},{iconId:"hd",part:"right",defaultActive:0,memo:"清晰度切换按钮",isrender:1},{iconId:"expend",part:"right",defaultActive:0,memo:"全局全屏按钮",isrender:1}]}}}function kr(){return w(this,null,function*(){try{const e=yield Un();if(W)return;j.value=e,wt();const t=Jr(e.list);Y.value=t,br(Y.value)}catch(e){j.value={core:[],distribution:[],age:[],online:[],grassland:[]},Y.value=[]}})}function br(e=Y.value,t=600){W||!re.active||(z&&window.clearTimeout(z),z=window.setTimeout(()=>{z=null,!(W||!re.active)&&Pr(e)},t))}function Pr(){return w(this,arguments,function*(e=[]){const t=++ae,r=(Array.isArray(e)?e:[]).filter(_r).slice(0,60);if(!r.length)return;const n=yield mt(r,5,a=>w(this,null,function*(){const o=St(a),l=D(a);let c=l,f=null,i=Se(a,l)||Ie(a,a.name,o);try{(!i||!c.some(P))&&(c=yield vt(a))}catch(F){c=l}if(i=i||Se(a,c)||Ie(a,a.name,o),!i){try{f=o?yield jn(o):null}catch(Lt){f=null}const F=D(f);i=Ar(f)||Se(f,F),F.length&&!c.length&&(c=F)}i=i||Ie(a,a.name,o);const v=!!(o||Ce(a)||c.some(P)||P(a));if(!i&&!c.length&&v===a.canLocate)return null;const _={key:a.key,id:a.id,realPastureId:o,name:a.name,township:i||a.township,grasslands:c.length?c:a.grasslands,grasslandArea:c.length?At(c):Q(a),canLocate:v,locateText:v?"定位":"--"};return wr(_,t),_}));if(W||t!==ae)return;const s=new Map;n.filter(Boolean).forEach(a=>{[a.key,a.id,a.realPastureId,a.name].filter(Boolean).forEach(o=>{s.set(String(o),a)})}),s.size&&ht(s)})}function _r(e={}){const t=String((e==null?void 0:e.township)||"").trim();return!(P(e)||D(e).some(P))&&He(e).length?!0:t&&t!=="--"?!1:Q(e)>0||qe(e)}function wr(e,t=ae){if(!e||W||t!==ae)return;const r=new Map;[e.key,e.id,e.realPastureId,e.name].filter(Boolean).forEach(n=>{r.set(String(n),e)}),ht(r)}function ht(e){e!=null&&e.size&&(Y.value=Y.value.map(t=>{var a,o;const r=[t.key,t.id,t.realPastureId,t.name].filter(Boolean).map(l=>e.get(String(l))).find(Boolean);if(!r)return t;const n=r.township&&r.township!=="--"?r.township:t.township,s=Number(r.grasslandArea)>0?Number(r.grasslandArea):Q(t);return C(k({},t),{township:n,grasslands:r.grasslands,grasslandArea:s,acreage:s,value:s,grasslandCount:de(r,r.grasslands),hasGrasslandBoundary:((o=(a=r.grasslands)==null?void 0:a.some)==null?void 0:o.call(a,P))||t.hasGrasslandBoundary,canLocate:r.canLocate,locateText:r.locateText,searchText:[t.name,n,t.id].filter(Boolean).join(" ")})}))}function We(e=[]){const t=[],r=n=>{if(!n)return;if(Array.isArray(n)){n.forEach(r);return}if(typeof n!="object")return;const s=D(n);if(s.length)t.push(...s);else{let a=!1;["rows","list","data","result","grassland","pasture","features"].forEach(o=>{const l=n==null?void 0:n[o];l&&(Array.isArray(l)||typeof l=="object")&&(a=!0,r(l))}),a||t.push(n)}};return r(e),t}function Ar(e){const t=Array.isArray(e)?e:Array.isArray(e==null?void 0:e.rows)?e.rows:Array.isArray(e==null?void 0:e.list)?e.list:Array.isArray(e==null?void 0:e.data)?e.data:[e];for(const r of t.filter(Boolean)){const n=Array.isArray(r==null?void 0:r.fields)?r.fields:Array.isArray(r==null?void 0:r.children)?r.children:[],s=d(r,["township","townName","town_name","areaName","area_name","fullName","full_name","address","牧场所在区域"]);if(s)return V(we(s));for(const o of n){const l=String((o==null?void 0:o.name)||(o==null?void 0:o.label)||(o==null?void 0:o.title)||"").trim(),c=d(o,["value","text","content"]);if(c&&/区域|地址|乡镇/.test(l))return V(we(c))}const a=Object.entries(r||{}).filter(([o])=>/fullName|full_name|address|areaName|area_name|town/i.test(o)).map(([,o])=>o);for(const o of a)if(o)return V(we(o))}return""}function we(e){const t=String(e||"").trim();if(!t||t==="--")return"";const r=t.match(/([\u4e00-\u9fa5]{1,12}(?:镇|乡))/);return(r==null?void 0:r[1])||t}function mt(e,t,r){return w(this,null,function*(){const n=new Array(e.length);let s=0;const a=Array.from({length:Math.min(t,e.length)},()=>w(this,null,function*(){for(;sw(this,null,function*(){if(P(n))return n;const s=Nt(n);if(!s)return n;try{const a=yield Ot(s),l=We([a]).find(P);return l?en(n,l):n}catch(a){return n}}));return Ye(r)})}function Cr(e){return w(this,null,function*(){var a,o,l,c;const t=++ye;X(),(o=(a=m.value)==null?void 0:a.clearFloatingOverlays)==null||o.call(a);let r=[];try{r=yield vt(e)}catch(f){r=D(e)}if(t!==ye)return;const n=r.filter(P);if(!n.length){_t();return}if(Ge.value.includes(Le)||(H.value=[Le,...Ge.value]),t!==ye)return;((c=(l=m.value)==null?void 0:l.focusPasture)==null?void 0:c.call(l,{name:e==null?void 0:e.name,grasslands:n,highlightTone:"white"}))||_t()})}function Sr(){ue.value=!1,K("loading-progress",{progress:0})}function Ir(){ue.value=!0,K("loading-progress",{progress:100}),K("map-ready")}function Fr(e=Pe.value){const t=String((e==null?void 0:e.key)||"").toLowerCase(),r=String((e==null?void 0:e.layerName)||"").toLowerCase();return t===Le||r.includes("resource_grassland")}function xr(e={}){const t=document.querySelector(".pasture-management"),r=t==null?void 0:t.getBoundingClientRect();return r?{x:((Number(e.x)||r.left+r.width/2)-r.left)/Math.max(1,r.width)*1920,y:((Number(e.y)||r.top+r.height/2)-r.top)/Math.max(1,r.height)*1080}:{x:Number(e.x)||960,y:Number(e.y)||540}}function kt(e){const t=(e==null?void 0:e.properties)||{};return Math.min(10,Object.entries(t).filter(([r,n])=>Lr(r,n)).length)}function Lr(e,t){return t==null||t===""||Array.isArray(t)||typeof t=="object"?!1:!Wt.has(String(e||"").toLowerCase())}function Mr(e={}){const t=bt(e.lng),r=bt(e.lat);return t===""||r===""?"":`POINT(${t} ${r})`}function bt(e){const t=Number(e);return Number.isFinite(t)?t.toFixed(8).replace(/\.?0+$/,""):""}function Tr(e={},t={}){var s,a;const r=zr(e);if(!r||!Object.keys(r).length)return null;r.detailMode="resource";const n=Er(e,r);return{id:r.id||r.grasslandId||r.grassland_id||`${(s=t==null?void 0:t.lngLat)==null?void 0:s.lng}-${(a=t==null?void 0:t.lngLat)==null?void 0:a.lat}`,properties:r,feature:{type:"Feature",properties:r,geometry:n},geometry:n,layer:Pe.value||rt.value,lngLat:t.lngLat}}function Br(e={}){var c,f,i;const t=e==null?void 0:e.feature,r=String(((c=t==null?void 0:t.layer)==null?void 0:c.key)||"").toLowerCase();if(!t||!r.startsWith("pasture-focus"))return;const n=t.properties||((f=t.feature)==null?void 0:f.properties)||{},s=d(n,["recognizedYakCount","recognized_yak_count"]),a=d(n,["acreage","areaMu","area_mu","grasslandArea","grassland_area"]),o=(i=d(n,["grasslandMuPerYak","grassland_mu_per_yak"]))!=null?i:Rr(a,s),l=C(k({},n),{recognizedYakCount:s,grasslandMuPerYak:o,detailMode:"pasture"});Object.keys(l).length&&(O.value=C(k({},t),{properties:l,layer:rt.value||t.layer}),ne.value=e.screen||{x:960,y:540},le.value=!1,he.value=!1)}function Rr(e,t){const r=Number(e),n=Number(t);return!Number.isFinite(r)||!Number.isFinite(n)||n<=0?null:Number((r/n).toFixed(2))}function Ue(e,t,r){if(e==null||e==="")return"";const n=Number(e);return Number.isFinite(n)?`${n.toLocaleString("zh-CN",{minimumFractionDigits:r,maximumFractionDigits:r})} ${t}`:String(e)}function E(e,t,r){if(e==null||e==="")return"";const n=Number(e);return Number.isFinite(n)?`${n.toFixed(r)} ${t}`:String(e)}function Ae(e,t){const r=E(e,"亩",2);if(!r)return"";const n=Number(t);return Number.isFinite(n)?`${r} (${n.toFixed(2)}%)`:r}function zr(e={}){var l,c,f,i;const t=Pt(e),r=U((t==null?void 0:t.grassland)||((l=t==null?void 0:t.data)==null?void 0:l.grassland)),n=U((t==null?void 0:t.pasture)||((c=t==null?void 0:t.data)==null?void 0:c.pasture)),s=U((t==null?void 0:t.pasture_balance)||(t==null?void 0:t.pastureBalance)||((f=t==null?void 0:t.data)==null?void 0:f.pasture_balance)),a=r||U(t==null?void 0:t.data)||U(t==null?void 0:t.result)||U(t);if(!a&&!n&&!s)return null;const o=d(a||{},["recognizedYakCount","recognized_yak_count"]);return C(k(k(k(k(k({},a||{}),s||{}),De(a)),De(n)),De(s)),{pastureName:d(n||{},["name","pasturesName","pastures_name","pastureName","pasture_name"])||d(a||{},["pastureName","pasture_name"]),recognizedYakCount:o,yakCount:(i=o!=null?o:d(n||{},["yakCount","yak_count","yakNumber","yak_number"]))!=null?i:d(s||{},["yakCount","yak_count","yakNumber","yak_number"])})}function De(e={}){return(Array.isArray(e==null?void 0:e.dyColumn)?e.dyColumn:Array.isArray(e==null?void 0:e.fields)?e.fields:[]).reduce((r,n)=>{var o,l;const s=String((n==null?void 0:n.field)||(n==null?void 0:n.key)||(n==null?void 0:n.title)||(n==null?void 0:n.label)||"").trim(),a=(l=(o=n==null?void 0:n.value)!=null?o:n==null?void 0:n.text)!=null?l:n==null?void 0:n.content;return s&&a!==void 0&&a!==null&&a!==""&&(r[s]=a),r},{})}function Pt(e){return!e||typeof e!="object"?{}:Object.prototype.hasOwnProperty.call(e,"data")?e.data&&typeof e.data=="object"?e.data:{}:Object.prototype.hasOwnProperty.call(e,"result")?e.result&&typeof e.result=="object"?e.result:{}:e}function Er(e={},t={}){var a,o;const r=Pt(e),n=U((r==null?void 0:r.grassland)||((a=r==null?void 0:r.data)==null?void 0:a.grassland)),s=U((r==null?void 0:r.pasture)||((o=r==null?void 0:r.data)==null?void 0:o.pasture));return d(n||{},["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(s||{},["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(t,["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||d(r,["geometry","geom","wkt","geo","the_geom","geometryWkt","geometry_wkt","shape"])||null}function U(e){const t=Array.isArray(e)?e.find(r=>r&&typeof r=="object")||null:e&&typeof e=="object"?e:null;return t&&Object.keys(t).length?t:null}function Ne(){O.value=null,ne.value=null,le.value=!1,he.value=!1}function X(){var e,t;ke+=1,Ne(),(t=(e=m.value)==null?void 0:e.clearSelectedFeature)==null||t.call(e)}function _t(){var e,t;ye+=1,(t=(e=m.value)==null?void 0:e.clearPastureFocus)==null||t.call(e)}function Vr(e,t){return`${e}${e}${t}0.018${t}0.550.68`}function Gr(){return w(this,arguments,function*(e={}){var a,o,l,c,f,i;if(!Fr(e.overlayLayer||Pe.value)){X();return}const t=Number((a=e==null?void 0:e.lngLat)==null?void 0:a.lng),r=Number((o=e==null?void 0:e.lngLat)==null?void 0:o.lat);if(!Number.isFinite(t)||!Number.isFinite(r)){X();return}const n=++ke,s=e.screen||{x:960,y:540};Ne(),(c=(l=m.value)==null?void 0:l.clearSelectedFeature)==null||c.call(l);try{const v=yield On(Mr({lng:t,lat:r}));if(n!==ke)return;const _=Tr(v,e);if(!_||kt(_)<=0){Ne();return}O.value=_,ne.value=s,le.value=!1,_.geometry&&((i=(f=m.value)==null?void 0:f.highlightFeature)==null||i.call(f,_,{highlightTone:"v21"}))}catch(v){if(n!==ke)return;Ne()}})}function $r(){var e,t;X(),(t=(e=m.value)==null?void 0:e.refreshView)==null||t.call(e)}function Or(){var e,t,r,n;if(X(),(t=(e=m.value)==null?void 0:e.hasMap)!=null&&t.call(e)){ue.value=!0,(n=(r=m.value)==null?void 0:r.resetView)==null||n.call(r);return}ue.value=!1,tt.value+=1,xe(()=>{window.setTimeout(()=>{var s,a;(a=(s=m.value)==null?void 0:s.refreshView)==null||a.call(s)},160)})}p({refreshMapView:$r,resetMap:Or});function wt(){K("module-stats",{moduleKey:"pasture-management",items:jr().map(e=>({zh:e.name,name:e.name,value:e.value,unit:e.unit,decimals:Number.isInteger(Number(e.value))?0:2}))})}function jr(){const e=new Map;return(Array.isArray(ut.value)?ut.value:[]).forEach(t=>{!(t!=null&&t.name)||Kr(t.name)||e.set(t.name,t)}),jt.map(t=>e.get(t)).filter(Boolean).slice(0,4)}function Wr(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{const n=t.key||t.id||t.code||t.name||t.zh||`${r}`,s=t.name||t.title||t.label||t.zh,a=Ur(s,n),o=d(t,["value","num","count","dataValue"]);if(!a||o===void 0||o===null||o==="")return null;const l=Dr(a,o,t.unit||t.dw||"");return{key:n,name:l.name,value:l.value,unit:l.unit,icon:t.icon||["town","area","yield","rate"][r%4]}}).filter(Boolean)}function Ur(e,t){const r=String(e||t||""),n=String(t||"").toLowerCase();return/avg.*yak|yak.*avg|yak.*household|yak.*per|hjyak/.test(n)||/户均.*牦牛|牦牛.*户均/.test(r)?"户均牦牛头数":/avg.*grass|grass.*avg|grass.*household|grass.*per/.test(n)||/户均.*草地|草地.*户均/.test(r)?"户均草地面积":/income|revenue|人均收入/.test(n)||r.includes("人均收入")?"人均收入":/poverty|monitor|防反贫|监测户/.test(n)||r.includes("防反贫")||r.includes("监测户")?"防反贫监测户":/joint|union|link|联户/.test(n)||r.includes("联户")?"联户数量":/herdsman|muhu|pasture.*count|牧户数量/.test(n)||r.includes("牧户数量")?"牧户数量":/yak/.test(n)||r.includes("牦牛")?null:/grass/.test(n)||r.includes("草地面积")?"草地面积":/wet/.test(n)||r.includes("湿地")?"湿地面积":r.includes("牧户")||r.includes("牧场")?"牧户数量":/project/.test(n)||r.includes("工程")||r.includes("项目")?"工程数量":/base/.test(n)||r.includes("基地")?"基地数量":r}function Dr(e,t,r){const n=Number(t)||0;return e==="户均牦牛头数"?{name:e,value:n,unit:r||"头"}:e==="户均草地面积"?{name:e,value:n,unit:r||"亩"}:e==="人均收入"?{name:e,value:n,unit:r||"元/年"}:e==="联户数量"||e==="防反贫监测户"?{name:e,value:n,unit:r||"户"}:(e.includes("草地")||e.includes("湿地"))&&!String(r).includes("万")?{name:e,value:Math.round(n/1e4*100)/100,unit:"万亩"}:e.includes("牧户")?{name:e,value:n,unit:r||"户"}:e.includes("工程")||e.includes("项目")||e.includes("基地")?{name:e,value:n,unit:r||"个"}:{name:e,value:n,unit:r}}function Kr(e){return e==="草地面积"||e==="湿地面积"||e==="区域数量"||e==="牦牛数量"}function Yr(e=[]){return(Array.isArray(e)?e:[]).map(t=>{const r=d(t,["areaName","area_name","name","townName","zoneName"]),n=d(t,["number","value","count","num","pastureCount","muhuCount","muhu_count"]);return!r||n===void 0||n===null||n===""?null:{key:t.code||t.areaCode||t.area_code||r,name:r,value:Number(n)||0,unit:"户"}}).filter(Boolean).sort((t,r)=>r.value-t.value)}function Hr(e=[]){return(Array.isArray(e)?e:[]).map(t=>{const r=d(t,["areaName","area_name","name","townName","zoneName"]),n=Number(d(t,["registeredMuhuCount","registered_muhu_count","registeredCount"])),s=Number(d(t,["muhuCount","muhu_count","onlineCount"])),a=d(t,["onlinePercent","uplineRate","upline_rate","onlineRate","value","percent","rate"]),o=a!=null&&a!==""?a:n>0?s/n*100:void 0;return!r||o===void 0||o===null||o===""?null:{key:t.code||t.areaCode||t.area_code||r,name:r,value:Number(String(o).replace("%",""))||0,unit:"%",extra:Number.isFinite(s)&&Number.isFinite(n)&&n>0?`${s}/${n}户`:t.extra}}).filter(Boolean)}function qr(e=[]){const t=new Map;return(Array.isArray(e)?e:[]).forEach(r=>{const n=d(r,["ageRange","age_range","age","name","label"]),s=d(r,["number","value","count","num"]);!n||s===void 0||s===null||s===""||t.set(n,(t.get(n)||0)+(Number(s)||0))}),Array.from(t.entries()).map(([r,n])=>({key:r,name:r,value:n,unit:"人"}))}function Zr(e=[]){const t=new Map;return(Array.isArray(e)?e:[]).forEach(r=>{const n=d(r,["sex","gender","name"]),s=d(r,["number","value","count","num"]);if(!n||s===void 0||s===null||s==="")return;const a=String(n).includes("女")?"女":String(n).includes("男")?"男":n;t.set(a,(t.get(a)||0)+(Number(s)||0))}),Array.from(t.entries()).map(([r,n])=>({key:r,name:r,value:n,unit:"人"}))}function Jr(e=[]){return(Array.isArray(e)?e:[]).map((t,r)=>{const n=d(t,["name","pasturesName","pastures_name","muhuName","muhu_name","pastureName","pasture_name","herdsmanName"]);if(!n)return null;const s=D(t),a=Q(t)||At(s),o=de(t,s),l=St(t),c=Se(t,s)||Ie(t,n,l),f=Ke(t),i=C(k({},t),{key:t.key||t.id||t.pasturesId||t.pastures_id||`${n}-${r}`,id:l||t.id||t.pastureId||t.pasturesId||t.pastures_id||t.muhuId||t.key,realPastureId:l,name:n,pastureSortOrder:f,township:c||"--",grasslandArea:a,acreage:a,grasslandCount:o,hasGrasslandBoundary:o>0,grasslands:s});return i.canLocate=!!(l||Ce(t)||s.some(P)||P(t)),i.locateText=i.canLocate?"定位":"--",i.value=i.grasslandArea,i.unit="亩",i.searchText=[i.name,i.herdsmanName,i.herdsman_name,i.phone,i.phonenumber,i.idCard,i.id_card,i.township,i.id].filter(Boolean).join(" "),i}).filter(Boolean).sort(Xr)}function Ke(e={}){const t=d(e,["pastureSortOrder","pasture_sort_order","pastureOrder","pasture_order","muhuSortOrder","muhu_sort_order","sortOrder","sort_order"]);if(t==null||t==="")return null;const r=Number(String(t).replace(/,/g,"").trim());return Number.isFinite(r)?r:null}function Xr(e,t){const r=Ke(e),n=Ke(t);if(r!==null||n!==null)return r===null?1:n===null?-1:r!==n?r-n:String((e==null?void 0:e.name)||"").localeCompare(String((t==null?void 0:t.name)||""),"zh-CN");const s=Ce(e)?1:0,a=Ce(t)?1:0;if(s!==a)return a-s;const o=de(e),l=de(t);if(o!==l)return l-o;const c=Q(e),f=Q(t),i=c>0?1:0,v=f>0?1:0;if(i!==v)return v-i;const _=qe(e)?1:0,F=qe(t)?1:0;return _!==F?F-_:c!==f?f-c:String((e==null?void 0:e.name)||"").localeCompare(String((t==null?void 0:t.name)||""),"zh-CN")}function Ce(e={}){const t=d(e,["hasGrasslandBoundary","has_grassland_boundary","hasBoundary","has_boundary"]);return t===!0||t===1||t==="1"||typeof t=="string"&&["true","yes","y"].includes(t.trim().toLowerCase())?!0:de(e)>0}function de(e={},t=e==null?void 0:e.grasslands){const r=["grasslandCount","grassland_count","grasslandsCount","grasslands_count","grasslandBoundaryCount","grassland_boundary_count","boundaryCount","boundary_count"];for(const n of r){const s=Number(e==null?void 0:e[n]);if(Number.isFinite(s)&&s>0)return s}return Array.isArray(t)?t.length:0}function Q(e={}){const r=["grasslandArea","grassland_area","grasslandAcreage","grassland_acreage","assignedGrasslandAcreage","assigned_grassland_acreage","area","areaRange","area_range","cdAcreage","cd_acreage","totalAcreage","total_acreage","pastureArea","pasture_area","acreage"].map(s=>Qr(e==null?void 0:e[s]));return r.find(s=>s>0)||r.find(s=>s===0)||0}function At(e=[]){return(Array.isArray(e)?e:[]).reduce((t,r)=>t+Q(r),0)}function Qr(e){if(typeof e=="number")return Number.isFinite(e)?e:0;const t=String(e!=null?e:"").trim();if(!t||t==="--")return 0;const r=t.replace(/,/g,"").match(/-?\d+(?:\.\d+)?/);if(!r)return 0;const n=Number(r[0]);return Number.isFinite(n)?t.includes("万")?n*1e4:n:0}function D(e={}){const t=[];["grasslands","grasslandList","grasslandRows","landList","plots","features"].forEach(s=>{const a=e==null?void 0:e[s];Array.isArray(a)?t.push(...a):Array.isArray(a==null?void 0:a.rows)?t.push(...a.rows):Array.isArray(a==null?void 0:a.list)?t.push(...a.list):Array.isArray(a==null?void 0:a.data)&&t.push(...a.data)});const n=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);return(n||e!=null&&e.geometry)&&t.push(C(k({},e),{id:(e==null?void 0:e.grasslandId)||(e==null?void 0:e.gid)||(e==null?void 0:e.id),pastureId:(e==null?void 0:e.pastureId)||(e==null?void 0:e.pasturesId)||(e==null?void 0:e.pastures_id)||(e==null?void 0:e.muhuId)||(e==null?void 0:e.id),name:(e==null?void 0:e.grasslandName)||(e==null?void 0:e.name),wkt:n,geometry:e==null?void 0:e.geometry})),t.filter(Boolean)}function P(e={}){var t,r;return typeof e=="string"?!!e.trim():(e==null?void 0:e.type)==="Feature"||e!=null&&e.type&&(e!=null&&e.coordinates)||(t=e==null?void 0:e.geometry)!=null&&t.type||(r=e==null?void 0:e.geometry)!=null&&r.coordinates||typeof(e==null?void 0:e.geometry)=="string"?!0:!!d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"])}function en(e={},t={}){var a,o,l,c,f;const r=C(k(k({},e),t),{id:(a=e==null?void 0:e.id)!=null?a:t==null?void 0:t.id,grasslandId:(f=(c=(l=(o=e==null?void 0:e.grasslandId)!=null?o:e==null?void 0:e.grassland_id)!=null?l:t==null?void 0:t.grasslandId)!=null?c:t==null?void 0:t.grassland_id)!=null?f:t==null?void 0:t.id}),n=d(t,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]),s=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);return(n||s)&&(r.wkt=n||s),r.geometry=(t==null?void 0:t.geometry)||(e==null?void 0:e.geometry),r}function Ye(e=[]){const t=new Set;return(Array.isArray(e)?e:[]).filter(r=>{if(!r)return!1;const n=tn(r);return n&&t.has(n)?!1:(n&&t.add(n),!0)})}function tn(e={}){const t=d(e,["wkt","geo","geom","geometryWkt","geometry_wkt","shape","location"]);if(t)return`g:${String(t).slice(0,240)}`;if(e!=null&&e.geometry)try{return`j:${JSON.stringify(e.geometry).slice(0,240)}`}catch(n){return""}const r=Nt(e);return r?`id:${r}`:""}function Nt(e={}){return Ct(d(e,["id","grasslandId","grassland_id","landId","land_id","gid","objectid","object_id","fid"]))}function He(e={}){return[e==null?void 0:e.realPastureId,e==null?void 0:e.pastureId,e==null?void 0:e.pasturesId,e==null?void 0:e.pastures_id,e==null?void 0:e.muhuId,e==null?void 0:e.muhu_id,e==null?void 0:e.id].map(Ct).filter(Boolean).filter((t,r,n)=>n.indexOf(t)===r)}function Ct(e){const t=String(e!=null?e:"").trim();return t&&t!=="--"?t:""}function St(e={}){return He(e)[0]||null}function qe(e={}){return e!=null&&e.canLocate||P(e)?!0:D(e).some(P)}function d(e={},t=[]){for(const r of t){const n=e==null?void 0:e[r];if(n!=null&&n!=="")return n}}function Se(e={},t=[]){const r=d(e,["township","townName","town_name","areaName","area_name","zoneName","zone_name","fullName","full_name","address","牧场所在区域"]),n=V(r);if(n)return n;const s=Ze(d(e,["areaCode","area_code","townCode","town_code","code"]));if(s)return s;for(const o of t){const l=d(o,["township","townName","town_name","areaName","area_name","zoneName","zone_name","fullName","full_name","address","牧场所在区域"]),c=V(l);if(c)return c;const f=Ze(d(o,["areaCode","area_code","townCode","town_code","code"]));if(f)return f}const a=It(e);if(a)return a;for(const o of t){const l=It(o);if(l)return l}return""}function V(e){const t=String(e||"").trim();if(!t||t==="--")return"";const r=Ze(t);if(r)return r;if(Nn(t))return t;const n=Cn.find(a=>t.includes(a));if(n)return n;const s=we(t);return s&&s!==t?V(s):""}function Ie(e={},t="",r=""){const n=[r,e.realPastureId,e.pastureId,e.pasturesId,e.pastures_id,e.muhuId,e.id];for(const a of n){const o=Dt[String(a||"").trim()];if(o)return V(o)}const s=[t,e.name,e.pasturesName,e.pastures_name,e.muhuName,e.muhu_name,e.pastureName,e.pasture_name];for(const a of s){const o=Kt[rn(a)];if(o)return V(o)}return""}function rn(e){return String(e||"").replace(/[·•・..。`´’‘ʼʹ''"“”\s\-—_()()]/g,"").replace(/˙/g,"")}function Ze(e){const t=String(e||"").trim();if(!t)return"";const r=t.replace(/\D/g,"");return r?Sn(r):""}function It(e={}){const t=Je(e),r=sn(t);if(!r)return"";const n=Yt.find(s=>un(r,s.geometry));return n!=null&&n.name?V(n.name):""}function Je(e={}){var n,s;if((e==null?void 0:e.type)==="Feature")return Je(e.geometry);if(e!=null&&e.type&&(e!=null&&e.coordinates))return e;if((n=e==null?void 0:e.geometry)!=null&&n.type||(s=e==null?void 0:e.geometry)!=null&&s.coordinates)return e.geometry;const t=d(e,["geometry","location","wkt","geo","geom","geometryWkt","geometry_wkt","shape"]);if(!t||typeof t!="string")return null;const r=t.trim();if(!r)return null;if(r.startsWith("{")||r.startsWith("["))try{const a=JSON.parse(r);return Je(a)}catch(a){return null}return nn(r)}function nn(e){var a;const t=String(e||"").trim(),r=t.match(/^([A-Z]+)(?:\s+[A-Z]+)?\s*\(/i),n=(a=r==null?void 0:r[1])==null?void 0:a.toUpperCase();if(!n)return null;const s=t.slice(t.indexOf("("));return n==="POINT"?{type:"Point",coordinates:Xe(s)}:n==="MULTIPOINT"?{type:"MultiPoint",coordinates:Fe(s).map(Xe).filter(Boolean)}:n==="LINESTRING"?{type:"LineString",coordinates:Qe(s)}:n==="MULTILINESTRING"?{type:"MultiLineString",coordinates:Fe(s).map(Qe).filter(o=>o.length)}:n==="POLYGON"?{type:"Polygon",coordinates:Ft(s)}:n==="MULTIPOLYGON"?{type:"MultiPolygon",coordinates:Fe(s).map(Ft).filter(o=>o.length)}:null}function Xe(e){const t=String(e||"").replace(/^\(+|\)+$/g,"").trim().split(/\s+/).slice(0,2).map(Number);return t.length>=2&&Number.isFinite(t[0])&&Number.isFinite(t[1])?[t[0],t[1]]:null}function Qe(e){return String(e||"").replace(/^\(+|\)+$/g,"").split(",").map(Xe).filter(Boolean)}function Ft(e){return Fe(e).map(Qe).filter(t=>t.length>=3)}function Fe(e){const t=[];let r=0,n=-1;return Array.from(String(e||"")).forEach((s,a)=>{s==="("?(r===0&&(n=a+1),r+=1):s===")"&&(r-=1,r===0&&n>=0&&(t.push(e.slice(n,a)),n=-1))}),t.length?t:[String(e||"")]}function an(e){try{const t=typeof e=="string"?JSON.parse(e):e;return((t==null?void 0:t.features)||[]).map(r=>{var n,s,a,o;return{name:((n=r==null?void 0:r.properties)==null?void 0:n.name)||((s=r==null?void 0:r.properties)==null?void 0:s.areaName)||((a=r==null?void 0:r.properties)==null?void 0:a.townName),code:(o=r==null?void 0:r.properties)==null?void 0:o.code,geometry:r==null?void 0:r.geometry}}).filter(r=>{var n;return r.name&&((n=r.geometry)==null?void 0:n.coordinates)})}catch(t){return[]}}function sn(e){const t=on(e);if(!t.length)return null;const r=t.reduce((n,s)=>({lng:n.lng+s[0],lat:n.lat+s[1]}),{lng:0,lat:0});return[r.lng/t.length,r.lat/t.length]}function on(e){const t=[],r=n=>{if(Array.isArray(n)){if(n.length>=2&&Number.isFinite(Number(n[0]))&&Number.isFinite(Number(n[1]))){t.push([Number(n[0]),Number(n[1])]);return}n.forEach(r)}};return r(e==null?void 0:e.coordinates),t}function un(e,t){return!e||!(t!=null&&t.coordinates)?!1:t.type==="Polygon"?xt(e,t.coordinates):t.type==="MultiPolygon"?t.coordinates.some(r=>xt(e,r)):!1}function xt(e,t){var o,l,c,f;const r=t==null?void 0:t[0];if(!Array.isArray(r)||r.length<3)return!1;let n=!1;const s=e[0],a=e[1];for(let i=0,v=r.length-1;ia!=Mt>a&&s<(Lt-_)*(a-F)/(Mt-F||1e-12)+_&&(n=!n)}return n}return(e,t)=>(L(),G("div",Dn,[(L(),kn(In,{key:tt.value,ref_key:"mapSceneRef",ref:m,class:"pasture-ol-map-layer",active:re.active,"tile-url-template":la,center:$(Be),"initial-zoom":9,"minimum-zoom-distance":1,"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"overlay-layer":Pe.value,"overlay-layers":st.value,"enable-imagery-feature-pick":!1,"emit-empty-feature-info-on-miss":!1,"disable-double-click-action":"",onReady:Ir,onMapClick:Gr,onFeatureInfo:Br},null,8,["active","center","overlay-layer","overlay-layers"])),t[2]||(t[2]=A("div",{class:"pasture-map-scrim"},null,-1)),ue.value?se("",!0):(L(),G("div",Kn,"3D地图加载中")),A("div",Yn,[A("div",Hn,[A("div",qn,[b(te,{class:"pasture-side-card left-card",title:"牧户区域统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:nr.value,compact:"","column-label-standard":"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card",title:"草场面积分布",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:ar.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card pasture-video-card",title:"牧场实时监控",width:$(M),height:S.value},{default:ee(()=>[A("div",Zn,[A("button",{class:"pasture-video-nav pasture-video-prev",type:"button",disabled:B.value.length<=1,"aria-label":"上一个监控点",onClick:pr}," ‹ ",8,Jn),A("div",{class:Rt(["pasture-video-grid",{"is-single":it.value.length<=1}])},[(L(!0),G(bn,null,Pn(it.value,r=>(L(),G("div",{key:r.key,ref_for:!0,ref:n=>dr(n,r),class:Rt(["pasture-video-screen",{"is-active":r.isActive,"is-playing":q.value&&r.isActive,"is-loading":R.value&&r.isActive}]),style:et(gr(r.live,r.isActive)),onClick:n=>hr(r.index)},[r.isActive?(L(),G("div",{key:0,id:x,class:"pasture-video-player"})):se("",!0),(!q.value||!r.isActive)&&r.live.hdPlayUrl?(L(),G("div",Qn)):se("",!0),R.value&&r.isActive?(L(),G("div",ea,"加载中")):se("",!0),I.value&&r.isActive?(L(),G("div",ta,zt(I.value),1)):se("",!0),A("div",ra,zt(r.live.title),1)],14,Xn))),128))],2),A("button",{class:"pasture-video-nav pasture-video-next",type:"button",disabled:B.value.length<=1,"aria-label":"下一个监控点",onClick:yr}," › ",8,na)])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card left-card",title:"牧户上线率",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:sr.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"])])]),A("div",aa,[A("div",sa,[b(te,{class:"pasture-side-card right-card",title:"牧户年龄统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:or.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card right-card",title:"牧户性别统计",width:$(M),height:S.value},{default:ee(()=>[b(oe,{panel:ur.value,compact:"","visual-version":"v21"},null,8,["panel"])]),_:1},8,["width","height"]),b(te,{class:"pasture-side-card right-card pasture-list-card",title:"牧户列表",width:$(M),height:T.value},{default:ee(()=>[b(oe,{panel:lr.value,compact:"","visual-version":"v21",onRowSelect:Cr},null,8,["panel"])]),_:1},8,["width","height"])])]),A("div",{class:"pasture-map-layer-tools",style:et({height:`${at.value}px`})},[b(Ln,{modelValue:H.value,"onUpdate:modelValue":t[0]||(t[0]=r=>H.value=r),"selected-legend-key":Te.value,"onUpdate:selectedLegendKey":t[1]||(t[1]=r=>Te.value=r),"topic-key":"grassland",layers:Ve.value,legends:nt.value,multiple:"",compact:"",width:248,height:at.value},null,8,["modelValue","selected-legend-key","layers","legends","height"])],4),qt.value?(L(),G("div",{key:0,class:"pasture-map-feature-info",style:et(Xt.value)},[A("button",{class:"pasture-map-feature-close",type:"button","aria-label":`关闭${$t}`,title:"关闭",onClick:_n(X,["stop"])}," × ",8,oa),b(Mn,{title:$t,feature:O.value,empty:le.value,loading:he.value,width:$(Zt),height:Jt.value,rows:Qt.value,"compact-grassland":""},null,8,["feature","empty","loading","width","height","rows"])],4)):se("",!0)])]))}};export{Pa as default}; diff --git a/docs/assets/index-daf8fb63-1786807848259.js b/docs/assets/index-daf8fb63-1786807848259.js new file mode 100644 index 0000000..f5ee297 --- /dev/null +++ b/docs/assets/index-daf8fb63-1786807848259.js @@ -0,0 +1,12 @@ +var xt=Object.defineProperty,St=Object.defineProperties;var $t=Object.getOwnPropertyDescriptors;var ot=Object.getOwnPropertySymbols;var Mt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var rt=(a,u,d)=>u in a?xt(a,u,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[u]=d,k=(a,u)=>{for(var d in u||(u={}))Mt.call(u,d)&&rt(a,d,u[d]);if(ot)for(var d of ot(u))Et.call(u,d)&&rt(a,d,u[d]);return a},x=(a,u)=>St(a,$t(u));var R=(a,u,d)=>new Promise((c,w)=>{var h=y=>{try{H(d.next(y))}catch($){w($)}},b=y=>{try{H(d.throw(y))}catch($){w($)}},H=y=>y.done?c(y.value):Promise.resolve(y.value).then(h,b);H((d=d.apply(a,u)).next())});import{k as At,a8 as Lt,g as W,q as Ct,h as Ht,w as Dt,o as n,c as l,z as ut,F as S,y as A,n as C,a as i,t as g,j as v,C as qt,u as Rt,B as dt,f as ct,s as Pt,H as Bt,e as Ot,D as Ft,_ as Nt,d as _,A as zt}from"./index-1786807848259.js";const It={}.VITE_OPEN_API_BASE||"/openApi";function Ut(a){return/^https?:\/\//.test(a)?a:`${It}${a.startsWith("/")?a:`/${a}`}`}function Vt(a){if((a==null?void 0:a.success)===!1||(a==null?void 0:a.code)!==void 0&&![0,200,"0","200"].includes(a.code)){const d=new Error((a==null?void 0:a.message)||(a==null?void 0:a.msg)||"HTML界面生成失败");throw d.code=a==null?void 0:a.code,d}return Lt(a)}function jt(){return R(this,arguments,function*({question:a,pagePath:u=window.location.hash||window.location.pathname,pageName:d="智慧管理"}={}){const c=yield At(Ut("/screen2/smart-management/artifact/html"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:a,pagePath:u,pageName:d}),timeout:11e4}).then(Vt),w=String((c==null?void 0:c.provider)||""),h=String((c==null?void 0:c.model)||"");if(w.toLowerCase()!=="deepseek"||!h.toLowerCase().startsWith("deepseek-"))throw new Error("HTML界面不是由DeepSeek模型生成,已拒绝展示");const b=Kt((c==null?void 0:c.html)||(c==null?void 0:c.content)||c);if(!b)throw new Error("代码模型没有返回完整HTML");if(Qt(b))throw new Error("专题页面仍为原始数据表,已拒绝展示,请重新生成");return x(k({},c),{html:b})})}function Kt(a){let u=String(a||"").trim();u.startsWith("```")&&(u=u.replace(/^```(?:html)?\s*/i,"").replace(/\s*```$/i,"").trim());const d=u.match(/");return d&&c>=d.index&&(u=u.slice(d.index,c+7)),/]+>/g," ").replace(/\s+/g," ").toLowerCase(),c=(u.match(/d.includes(b)).length;return c>=2&&h>=4||c>=1&&h>=6}function Wt(a){const u=String(a||"").trim();if(!u||typeof DOMParser=="undefined")return"";const d=new DOMParser().parseFromString(u,"text/html"),c=d.createElement("script");return c.textContent=` + (() => { + const notify = (type, message = "") => { + window.parent.postMessage({ source: "smart-artifact", type, message: String(message).slice(0, 240) }, "*"); + }; + window.addEventListener("error", (event) => notify("runtime-error", event.message || "界面运行异常")); + window.addEventListener("unhandledrejection", (event) => notify("runtime-error", event.reason?.message || event.reason || "界面运行异常")); + window.addEventListener("DOMContentLoaded", () => notify("ready")); + })(); + `,d.head.prepend(c),` +${d.documentElement.outerHTML}`}const Gt={class:"wisdom-management"},Jt={key:0,class:"wisdom-side wisdom-side-left"},Yt={key:0,class:"wisdom-side-header"},Xt={key:0},Zt={key:1,class:"wisdom-side-metrics"},te={key:0},ee=["innerHTML"],se={key:3,class:"wisdom-side-actions"},ie=["disabled","onClick"],ne={key:1,class:"wisdom-side wisdom-side-right"},ae={key:0,class:"wisdom-side-header"},le={key:0},oe={key:2,class:"wisdom-side-metrics"},re={key:0},ue=["innerHTML"],de={key:4,class:"wisdom-side-actions"},ce=["disabled","onClick"],me={key:2,class:"wisdom-artifact-workspace"},fe={class:"wisdom-artifact-header"},ve={class:"wisdom-artifact-heading"},ge={class:"wisdom-artifact-tools"},he=["disabled"],we={class:"wisdom-artifact-body"},ye={key:0,class:"wisdom-artifact-building"},pe={class:"wisdom-artifact-building__intro"},be=["srcdoc"],ke={key:2,class:"wisdom-artifact-error"},_e=["disabled"],Te={key:0,class:"wisdom-empty-state"},xe={key:0,class:"wisdom-message-mark"},Se={class:"wisdom-bubble"},$e={key:0,class:"wisdom-digesting"},Me=["innerHTML"],Ee={key:2,class:"wisdom-stream-caret"},Ae={key:3,class:"wisdom-suggestion-list"},Le=["disabled","onClick"],Ce={class:"wisdom-input-shell"},He=["disabled"],De=["disabled","title","aria-label"],qe=["disabled"],Re={key:0,class:"wisdom-button-loading"},Oe={__name:"index",props:{active:{type:Boolean,default:!0}},setup(a){const u=Ft({loader:()=>Nt(()=>import("./SmartChartRenderer-3587e73a-1786807848259.js"),["./SmartChartRenderer-3587e73a-1786807848259.js","./index-1786807848259.js","./index-57a3f5c2-balabala-1786807848259.css","./index.esm.min-024ee703-1786807848259.js","./SmartChartRenderer-7a3a96b9-balabala-1786807848259.css"],import.meta.url),loadingComponent:{template:'
    正在绘制统计图表
    '}}),d=a,c=_(""),w=_([]),h=_(!1),b=_(null),H=_(null),y=_([]),$=_([]),f=_(J()),F=W(()=>f.value.status!=="idle"),U=W(()=>["collecting","generating"].includes(f.value.status)),mt=W(()=>f.value.status==="collecting"?"读取上下文":f.value.status==="generating"?"生成页面":f.value.status==="ready"?"DeepSeek生成":f.value.status==="error"?"生成失败":f.value.status==="waiting"?"等待选择":"待生成"),N=_(!1),T=_(!1),P=_("");let D=null,p=null,L=0;const q=_(null);Ct(()=>{wt(),window.addEventListener("message",tt)}),Ht(()=>{j(),z(),L+=1,window.removeEventListener("message",tt)}),Dt(()=>d.active,e=>{e||(j(),z(),L+=1,h.value=!1,w.value=w.value.map(s=>s.streaming?x(k({},s),{streaming:!1,digesting:!1}):s))});function G(){return`${Date.now()}-${Math.random().toString(16).slice(2)}`}function J(){return{status:"idle",title:"动态分析",question:"",html:"",error:"",model:"",renderKey:0}}function ft(e){L+=1,q.value=null,f.value=x(k({},J()),{status:"collecting",title:Y(e),question:e})}function Y(e){const s=String(e||"动态分析").replace(/[??。!!]+$/g,"").trim();return s.length>28?`${s.slice(0,28)}...`:s||"动态分析"}function X(e){return R(this,null,function*(){const s={question:(e==null?void 0:e.question)||f.value.question,pagePath:window.location.hash||window.location.pathname,pageName:"智慧管理"};q.value=s;const t=++L;f.value=x(k({},f.value),{status:"generating",title:Y(s.question),question:s.question,html:"",error:"",model:""});try{const r=yield jt(s);if(t!==L)return{stale:!0};const m=Wt(r.html);if(!m)throw new Error("生成页面内容为空");return f.value=x(k({},f.value),{status:"ready",html:m,error:"",model:r.model||"DeepSeek",renderKey:Date.now()}),{ok:!0,result:r}}catch(r){if(t!==L)return{stale:!0};const m=st(r,"DeepSeek专题分析生成失败,请稍后重新生成。");return console.error("[智慧管理] DeepSeek HTML生成失败",r),f.value=x(k({},f.value),{status:"error",html:"",error:m,model:"",renderKey:Date.now()}),{ok:!1,message:m,error:r}}})}function Z(){!q.value||U.value||X(q.value)}function vt(e){L+=1,f.value=x(k({},f.value),{status:"error",html:"",error:e,renderKey:Date.now()})}function gt(){f.value.status!=="ready"&&(f.value=x(k({},f.value),{status:"ready"}))}function tt(e){var s,t;e.source!==((s=H.value)==null?void 0:s.contentWindow)||((t=e.data)==null?void 0:t.source)!=="smart-artifact"||e.data.type==="runtime-error"&&(f.value=x(k({},f.value),{status:"error",html:"",error:e.data.message||"生成界面运行异常",renderKey:Date.now()}))}function et(e){return String(e||"").replace(/耗牛/g,"牦牛").replace(/犛牛/g,"牦牛")}function ht(e){return et(e).trim()}function wt(){if(typeof window=="undefined")return;const e=window.SpeechRecognition||window.webkitSpeechRecognition;N.value=!!e,e&&(p=new e,p.lang="zh-CN",p.continuous=!1,p.interimResults=!0,p.maxAlternatives=1,p.onstart=()=>{T.value=!0,P.value=""},p.onresult=s=>{const r=Array.from(s.results||[]).map(m=>{var o;return((o=m==null?void 0:m[0])==null?void 0:o.transcript)||""}).join("").trim();r&&(c.value=r)},p.onerror=s=>{T.value=!1,P.value=(s==null?void 0:s.error)||"语音输入失败"},p.onend=()=>{T.value=!1})}function yt(){if(!(!p||h.value)){if(T.value){z();return}try{P.value="",p.start()}catch(e){P.value=(e==null?void 0:e.message)||"语音输入启动失败",T.value=!1}}}function z(){if(!(!p||!T.value))try{p.stop()}catch(e){P.value=(e==null?void 0:e.message)||"语音输入已结束"}finally{T.value=!1}}function B(){return R(this,arguments,function*(e=c.value){const s=ht(e);if(!s||h.value)return;z();const t={id:G(),role:"user",text:s},r={id:G(),role:"assistant",steps:[],digesting:!0,digestText:"生成中",visibleText:"",fullText:"",streaming:!1,charts:[],insights:[],suggestions:[]};w.value=[...w.value,t,r],c.value="",h.value=!0,ft(s),yield it(),yield pt(s,r.id)})}function pt(e,s){return R(this,null,function*(){O(s,{digestText:"生成中"});try{O(s,{digesting:!0,digestText:"生成中",insights:[],suggestions:[],allowFollowUp:!0}),kt({question:e,answer:"",charts:[],insights:[],suggestions:[]}),V(s,bt());const t=yield X({question:e});(t==null?void 0:t.ok)===!1&&V(s,t.message||"专题分析模型调用失败,请稍后重试。")}catch(t){const r=st(t,"上下文数据整理失败,请稍后重试。");y.value=[],$.value=[],vt(r),V(s,r)}})}function bt(){return["专题分析页面正在生成,完成后会自动显示在右侧。","你可以继续提出其他问题。"].join(` +`)}function kt({question:e,answer:s,charts:t=[],insights:r=[],suggestions:m=[],aiPanels:o}={}){const E=(o==null?void 0:o.leftPanels)||[],M=(o==null?void 0:o.rightPanels)||[];if(E.length||M.length){y.value=E,$.value=M;return}y.value=[],$.value=[]}function O(e,s,t=!0){w.value=w.value.map(r=>r.id===e?k(k({},r),s):r),t&&it()}function V(e,s){O(e,{digesting:!1}),_t(e,s)}function st(e,s){const t=String((e==null?void 0:e.message)||"");return(e==null?void 0:e.code)===401||(e==null?void 0:e.code)==="401"||(e==null?void 0:e.code)==="HTTP_401"||(e==null?void 0:e.status)===401||/未登录|登录(?:状态)?(?:已)?(?:失效|过期)|授权已过期|Unauthorized|HTTP 401/i.test(t)?"当前登录状态已失效,请重新登录后查询。":/DeepSeek.*未授权|外部数据传输.*未授权|生成服务已关闭/i.test(t)?"智慧分析生成服务尚未启用,请联系管理员完成配置。":(e==null?void 0:e.code)==="REQUEST_TIMEOUT"||/timeout|timed out|超时/i.test(t)?"服务响应时间较长,请稍后再试,或换一个更具体的问题。":(e==null?void 0:e.code)==="REQUEST_ABORTED"||/aborted|abort|signal/i.test(t)?"本次分析已中断,请重新提交。":(e==null?void 0:e.code)==="HTTP_404"||(e==null?void 0:e.status)===404||/HTTP 404/i.test(t)?"专题分析页面生成服务暂不可用,请稍后重试。":/Failed to fetch|NetworkError|Load failed|HTTP 50|HTTP 40/i.test(t)?s:/[\u4e00-\u9fff]/.test(t)?t:s}function _t(e,s){j();const t=et(s),r=t.length>1200?36:t.length>700?24:14;let m=0;O(e,{fullText:t,visibleText:"",streaming:!0,charts:[]});const o=()=>{if(m=Math.min(m+r,t.length),O(e,{visibleText:t.slice(0,m),streaming:m=t.length){D=null,h.value=!1;return}D=window.setTimeout(o,18)};D=window.setTimeout(o,0)}function j(){D&&(window.clearTimeout(D),D=null)}function K(e){const s=Tt(e).split(/\r?\n/),t=[];let r=[],m=!1;const o=()=>{r.length&&(t.push(`<${m?"ol":"ul"}>${r.map(E=>`
  • ${Q(E)}
  • `).join("")}`),r=[],m=!1)};return s.forEach(E=>{const M=E.trim();if(!M){o();return}const nt=M.match(/^#{1,4}\s+(.+)$/)||M.match(/^\*\*(.+)\*\*$/);if(nt){o(),t.push(`

    ${Q(nt[1])}

    `);return}const I=M.match(/^\d+[.)、]\s+(.+)$/),at=M.match(/^[-*]\s+(.+)$/);if(I||at){const lt=!!I;r.length&&m!==lt&&o(),m=lt,r.push(I?I[1]:at[1]);return}o(),t.push(`

    ${Q(M)}

    `)}),o(),t.join("")}function Q(e){return e.replace(/\*\*([^*]+)\*\*/g,"$1")}function Tt(e){return String(e||"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function it(){return R(this,null,function*(){yield zt(),window.requestAnimationFrame(()=>{b.value&&(b.value.scrollTop=b.value.scrollHeight)})})}return(e,s)=>(n(),l("div",Gt,[s[16]||(s[16]=ut('',1)),y.value.length&&!F.value?(n(),l("aside",Jt,[(n(!0),l(S,null,A(y.value,t=>{var r,m;return n(),l("section",{key:t.id,class:C(["wisdom-side-panel",`is-${t.type}`])},[t.chart?v("",!0):(n(),l("header",Yt,[i("div",null,[i("span",null,g(t.kicker),1),i("strong",null,g(t.title),1)]),t.badge?(n(),l("em",Xt,g(t.badge),1)):v("",!0)])),(r=t.items)!=null&&r.length?(n(),l("div",Zt,[(n(!0),l(S,null,A(t.items,o=>(n(),l("div",{key:`${t.id}-${o.label}`,class:"wisdom-side-metric"},[i("span",null,g(o.label),1),i("strong",null,g(o.value),1),o.note?(n(),l("em",te,g(o.note),1)):v("",!0)]))),128))])):v("",!0),t.text?(n(),l("div",{key:2,class:"wisdom-side-text",innerHTML:K(t.text)},null,8,ee)):v("",!0),(m=t.actions)!=null&&m.length?(n(),l("div",se,[(n(!0),l(S,null,A(t.actions,o=>(n(),l("button",{key:o.question,type:"button",disabled:h.value,onClick:E=>B(o.question)},g(o.label),9,ie))),128))])):v("",!0)],2)}),128))])):v("",!0),$.value.length&&!F.value?(n(),l("aside",ne,[(n(!0),l(S,null,A($.value,t=>{var r,m;return n(),l("section",{key:t.id,class:C(["wisdom-side-panel",`is-${t.type}`])},[t.chart?v("",!0):(n(),l("header",ae,[i("div",null,[i("span",null,g(t.kicker),1),i("strong",null,g(t.title),1)]),t.badge?(n(),l("em",le,g(t.badge),1)):v("",!0)])),t.chart?(n(),qt(Rt(u),{key:1,class:"wisdom-side-chart",chart:t.chart},null,8,["chart"])):v("",!0),(r=t.items)!=null&&r.length?(n(),l("div",oe,[(n(!0),l(S,null,A(t.items,o=>(n(),l("div",{key:`${t.id}-${o.label}`,class:"wisdom-side-metric"},[i("span",null,g(o.label),1),i("strong",null,g(o.value),1),o.note?(n(),l("em",re,g(o.note),1)):v("",!0)]))),128))])):v("",!0),t.text?(n(),l("div",{key:3,class:"wisdom-side-text",innerHTML:K(t.text)},null,8,ue)):v("",!0),(m=t.actions)!=null&&m.length?(n(),l("div",de,[(n(!0),l(S,null,A(t.actions,o=>(n(),l("button",{key:o.question,type:"button",disabled:h.value,onClick:E=>B(o.question)},g(o.label),9,ce))),128))])):v("",!0)],2)}),128))])):v("",!0),F.value?(n(),l("section",me,[i("header",fe,[i("div",ve,[s[4]||(s[4]=i("span",{class:"wisdom-artifact-mark","aria-hidden":"true"},null,-1)),i("div",null,[s[3]||(s[3]=i("small",null,"专题分析",-1)),i("strong",null,g(f.value.title),1)])]),i("div",ge,[i("span",{class:C(["wisdom-artifact-status",`is-${f.value.status}`])},[s[5]||(s[5]=i("i",null,null,-1)),dt(g(mt.value),1)],2),f.value.status==="ready"||f.value.status==="error"?(n(),l("button",{key:0,type:"button",disabled:U.value||!q.value,title:"重新生成当前界面",onClick:Z}," 重新生成 ",8,he)):v("",!0)])]),i("div",we,[U.value?(n(),l("div",ye,[i("div",pe,[s[6]||(s[6]=i("span",{class:"wisdom-artifact-building__spinner"},null,-1)),i("div",null,[i("strong",null,g(f.value.status==="collecting"?"正在读取业务上下文":"正在生成专题分析页面"),1)])]),s[7]||(s[7]=ut('
    ',3))])):f.value.html?(n(),l("iframe",{key:f.value.renderKey,ref_key:"artifactFrameRef",ref:H,class:"wisdom-artifact-frame",srcdoc:f.value.html,sandbox:"allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-downloads allow-modals",referrerpolicy:"no-referrer",title:"专题分析页面",onLoad:gt},null,40,be)):(n(),l("div",ke,[s[8]||(s[8]=i("strong",null,"专题分析页面暂未生成",-1)),i("p",null,g(f.value.error||"当前数据不足以形成专题分析页面。"),1),i("button",{type:"button",disabled:!q.value,onClick:Z},"重新生成",8,_e)]))])])):v("",!0),i("main",{class:C(["wisdom-chat",{"has-artifact":F.value}])},[i("div",{ref_key:"dialogueRef",ref:b,class:C(["wisdom-dialogue",{"is-empty":!w.value.length}]),"aria-live":"polite"},[w.value.length?v("",!0):(n(),l("section",Te,[...s[9]||(s[9]=[i("div",{class:"wisdom-empty-mark"},[i("span"),i("strong",null,"AI")],-1),i("h2",null,"智慧辅助分析",-1)])])),(n(!0),l(S,null,A(w.value,t=>{var r;return n(),l("article",{key:t.id,class:C(["wisdom-message",`is-${t.role}`])},[t.role==="assistant"?(n(),l("div",xe,[...s[10]||(s[10]=[i("span",null,"智",-1)])])):v("",!0),i("div",Se,[t.role==="user"?(n(),l(S,{key:0},[dt(g(t.text),1)],64)):(n(),l(S,{key:1},[t.digesting?(n(),l("div",$e,[s[11]||(s[11]=i("span",null,null,-1)),s[12]||(s[12]=i("span",null,null,-1)),s[13]||(s[13]=i("span",null,null,-1)),i("em",null,g(t.digestText||"正在汇总分析"),1)])):v("",!0),t.visibleText?(n(),l("div",{key:1,class:"wisdom-answer",innerHTML:K(t.visibleText)},null,8,Me)):v("",!0),t.streaming?(n(),l("span",Ee)):v("",!0),(r=t.suggestions)!=null&&r.length&&(t.allowFollowUp||!t.digesting&&!t.streaming)?(n(),l("div",Ae,[(n(!0),l(S,null,A(t.suggestions,m=>(n(),l("button",{key:m.question,type:"button",disabled:h.value,onClick:o=>B(m.question)},g(m.label),9,Le))),128))])):v("",!0)],64))])],2)}),128))],2),i("form",{class:"wisdom-input-bar","aria-label":"智慧辅助分析提问",onSubmit:s[2]||(s[2]=ct(t=>B(),["prevent"]))},[i("div",Ce,[s[15]||(s[15]=i("span",{class:"wisdom-input-icon"},null,-1)),Pt(i("input",{"onUpdate:modelValue":s[0]||(s[0]=t=>c.value=t),disabled:h.value,"aria-label":"业务分析问题",autocomplete:"off",placeholder:"请输入需要了解的业务事项",onKeydown:s[1]||(s[1]=Ot(ct(t=>B(),["prevent"]),["enter"]))},null,40,He),[[Bt,c.value]]),i("button",{type:"button",class:C(["wisdom-voice-button",{"is-listening":T.value}]),disabled:h.value||!N.value,title:N.value?T.value?"停止语音输入":"语音输入":"当前浏览器不支持语音输入","aria-label":N.value?T.value?"停止语音输入":"语音输入":"当前浏览器不支持语音输入",onClick:yt},[...s[14]||(s[14]=[i("span",null,null,-1)])],10,De),i("button",{class:"wisdom-submit-button",type:"submit",disabled:h.value||!c.value.trim()},[h.value?(n(),l("span",Re)):v("",!0),i("span",null,g(h.value?"分析中":"发送"),1)],8,qe)])],32)],2)]))}};export{Oe as default}; diff --git a/docs/assets/index-db918426-1786725044461.js b/docs/assets/index-db918426-1786807848259.js similarity index 100% rename from docs/assets/index-db918426-1786725044461.js rename to docs/assets/index-db918426-1786807848259.js diff --git a/docs/assets/index-e1561386-balabala-1786725044461.css b/docs/assets/index-e1561386-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-e1561386-balabala-1786725044461.css rename to docs/assets/index-e1561386-balabala-1786807848259.css diff --git a/docs/assets/index-e9538252-balabala-1786807848259.css b/docs/assets/index-e9538252-balabala-1786807848259.css new file mode 100644 index 0000000..86a5255 --- /dev/null +++ b/docs/assets/index-e9538252-balabala-1786807848259.css @@ -0,0 +1 @@ +@charset "UTF-8";.map{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background-color:#000}.map canvas{display:block;width:100%;height:100%}.map .yak-industry-point-label{width:172px;min-height:72px;margin-bottom:28px;color:#f2feff;font-size:12px;pointer-events:none;will-change:transform}.map .yak-industry-point-label-wrap{position:relative;width:172px;padding:8px 10px 9px;border:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 56%,transparent);border-radius:4px;background:linear-gradient(120deg,rgba(6,37,49,.88),rgba(3,16,27,.76)),linear-gradient(90deg,color-mix(in srgb,var(--yak-point-color, #24f6c4) 18%,transparent),transparent 72%);box-shadow:0 0 18px color-mix(in srgb,var(--yak-point-color, #24f6c4) 26%,transparent),inset 0 0 14px #30dcff14}.map .yak-industry-point-label-wrap:after{content:"";position:absolute;left:14px;bottom:-9px;width:14px;height:14px;border-right:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 52%,transparent);border-bottom:1px solid color-mix(in srgb,var(--yak-point-color, #24f6c4) 52%,transparent);background:rgba(3,16,27,.82);transform:rotate(45deg)}.map .yak-industry-point-label-head,.map .yak-industry-point-label-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.map .yak-industry-point-label-head{color:#daf9ffb3;font-size:10px}.map .yak-industry-point-label-head i{width:7px;height:7px;border-radius:50%;background:var(--yak-point-color, #24f6c4);box-shadow:0 0 10px var(--yak-point-color, #24f6c4)}.map .yak-industry-point-label-head span,.map .yak-industry-point-label-name,.map .yak-industry-point-label-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .yak-industry-point-label-name{margin-top:5px;color:#fff;font-size:13px;font-weight:800;line-height:1.35}.map .yak-industry-point-label-meta{margin-top:5px;color:#d3f1f6ad;font-size:10px}.map .yak-industry-point-label-meta strong{flex:0 0 auto;color:#c9fbff;font-size:11px;font-weight:800}.map .info-point{color:#eaffff;font-size:13px;width:178px;min-height:82px;margin-bottom:24px;will-change:transform}.map .info-point-wrap{position:relative;width:178px;padding:8px 10px 9px;border:1px solid rgba(104,236,255,.38);border-radius:5px;background:linear-gradient(120deg,rgba(6,36,48,.92),rgba(4,18,29,.78)),rgba(2,16,25,.82);box-shadow:0 0 18px #30dcff33,inset 0 0 18px #27f0c014;transform:translate(42%,-12%)}.map .info-point-wrap-inner{position:relative}.map .info-point-wrap-inner:after,.map .info-point-wrap-inner:before{position:absolute;left:-18px;content:""}.map .info-point-wrap-inner:before{top:42px;width:16px;height:1px;background:linear-gradient(90deg,rgba(104,236,255,0),rgba(104,236,255,.88))}.map .info-point-wrap-inner:after{top:38px;width:7px;height:7px;border-radius:50%;background:#c9fbff;box-shadow:0 0 8px #30dcff80}.map .info-point-wrap.is-prime{border-color:#30dcff80;background:linear-gradient(120deg,rgba(12,65,83,.7),rgba(4,24,34,.82)),rgba(2,16,25,.86)}.map .info-point-head{display:flex;align-items:center;gap:7px;min-width:0}.map .info-point-head .rank{flex:0 0 auto;color:#c9fbff;font-size:12px;line-height:14px;font-weight:900}.map .info-point-head strong{overflow:hidden;color:#fff;font-size:15px;line-height:18px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.map .info-point-metric{margin-top:4px;overflow:hidden;color:#a6f4ffc7;font-size:11px;line-height:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.map .info-point-value{display:flex;align-items:baseline;gap:4px;margin-top:2px}.map .info-point-value span{color:#fff;font-size:25px;line-height:28px;font-weight:900;text-shadow:0 0 12px rgba(126,251,246,.6)}.map .info-point-value em{color:#ebfcffc7;font-size:11px;line-height:13px;font-style:normal;font-weight:800}.map .provinces-label-wrap{transform:translate3d(0,200%,0);opacity:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;width:136px;min-height:58px;border:1px solid rgba(126,251,246,.22);border-radius:8px 8px 8px 0;background:rgba(1,19,30,.62);box-shadow:0 0 16px #30dcff29}.map .provinces-label .label-main{min-width:0}.map .provinces-label .label-title{max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7efbf6d1;font-size:10px;line-height:12px;font-weight:500}.map .provinces-label .number{color:#fff;font-size:21px;line-height:25px;font-weight:700}.map .provinces-label .number .unit{color:#fff;font-size:11px;font-weight:400;opacity:.64;padding-left:4px}.map .provinces-label .name{color:#fff;font-size:12px;line-height:14px;font-weight:700;max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map .provinces-label .name span{display:block}.map .provinces-label .name .en{color:#fff;font-size:10px;opacity:.5;font-weight:700}.map .provinces-label .no{color:#7efbf6;text-shadow:0 0 5px #7efbf6,0 0 10px #7efbf6;font-size:22px;font-weight:700;flex:0 0 auto}.map .provinces-label.yellow .no{color:#c9fbff!important;text-shadow:0 0 5px rgba(48,220,255,.42)!important}.map .epidemic-village-label{will-change:transform}.map .epidemic-village-label .epidemic-village-card{position:relative;width:142px;padding:7px 9px 6px;border:1px solid rgba(91,236,235,.42);border-radius:4px;color:#eaffff;background:linear-gradient(90deg,rgba(5,35,45,.92),rgba(2,18,29,.78)),rgba(1,17,27,.86);box-shadow:0 0 16px #2ddeff38,inset 0 0 16px #27f0c014;transform:translate(48%,-12%)}.map .epidemic-village-label .epidemic-village-card:before{position:absolute;left:-10px;top:50%;width:10px;height:1px;content:"";background:linear-gradient(90deg,rgba(91,236,235,0),rgba(91,236,235,.78))}.map .epidemic-village-label .epidemic-village-card:after{position:absolute;left:-14px;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;content:"";background:#c9fbff;box-shadow:0 0 8px #30dcff75}.map .epidemic-village-label .epidemic-village-card.is-small{transform:translate(42%,-8%) scale(.92)}.map .epidemic-village-label .village-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.map .epidemic-village-label .village-card-head strong{overflow:hidden;color:#fff;font-size:13px;line-height:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.map .epidemic-village-label .village-card-head span{flex:0 0 auto;padding:1px 5px 2px;border:1px solid rgba(39,240,192,.28);border-radius:2px;color:#79f8e5;font-size:10px;line-height:11px;background:rgba(39,240,192,.08)}.map .epidemic-village-label .village-card-body{display:flex;align-items:baseline;gap:3px;margin-top:4px;white-space:nowrap}.map .epidemic-village-label .village-card-body .metric{color:#c9fffbc2;font-size:10px;line-height:12px}.map .epidemic-village-label .village-card-body .number{color:#fff;font-size:20px;line-height:22px;font-weight:900;text-shadow:0 0 10px rgba(126,251,246,.7)}.map .epidemic-village-label .village-card-body .unit{color:#e8fcffcc;font-size:10px;line-height:12px;font-weight:700}.map .epidemic-village-label .village-card-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:3px;color:#e2faff9e;font-size:10px;line-height:11px;white-space:nowrap}.map .trade-market-label,.map .trade-flow-label,.map .trade-national-label{color:#fff;will-change:transform;pointer-events:none}.map .trade-national-name{padding:2px 6px;border:1px solid rgba(72,231,255,.24);border-radius:3px;background:rgba(3,23,35,.42);color:#ffffff9e;font-size:10px;line-height:12px;font-weight:800;text-shadow:0 0 6px rgba(48,220,255,.42);white-space:nowrap;transform:translate(-50%,-50%)}.map .trade-market-card{position:relative;width:128px;padding:6px 8px;border:1px solid rgba(139,247,255,.52);border-radius:4px;background:linear-gradient(110deg,rgba(12,68,78,.58),rgba(4,24,34,.58)),rgba(5,20,30,.58);box-shadow:0 0 10px #30dcff24,inset 0 0 10px #30dcff0f;transform:translate(60%)}.map .trade-market-card:before{position:absolute;left:-14px;top:calc(50% - 1px);width:14px;height:1px;content:"";background:linear-gradient(90deg,rgba(255,221,117,0),rgba(255,221,117,.92))}.map .trade-market-card:after{position:absolute;left:-18px;top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;content:"";background:#fff06a;box-shadow:0 0 12px #fff06ae6}.map .trade-market-card .market-title{overflow:hidden;color:#fff;font-size:11px;line-height:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.map .trade-market-card .market-total{display:flex;align-items:baseline;gap:4px;margin-top:3px}.map .trade-market-card .market-total span{color:#fff;font-size:15px;line-height:18px;font-weight:900;text-shadow:0 0 10px rgba(255,221,117,.6)}.map .trade-market-card .market-total em{color:#ffffffc2;font-size:10px;line-height:12px;font-style:normal}.map .trade-flow-card{position:relative;width:96px;padding:5px 7px;border:1px solid rgba(85,226,255,.32);border-radius:3px;background:linear-gradient(105deg,rgba(4,37,50,.58),rgba(3,17,27,.48)),rgba(1,17,27,.46);box-shadow:0 0 8px #30dcff1f,inset 0 0 8px #27f0c00d;transform:translate(60%)}.map .trade-flow-card.is-left{transform:translate(-66%)}.map .trade-flow-card.is-left:before{right:-10px;left:auto;background:linear-gradient(90deg,rgba(85,226,255,.84),rgba(85,226,255,0))}.map .trade-flow-card.is-left:after{right:-14px;left:auto}.map .trade-flow-card.is-top{transform:translateY(-108%)}.map .trade-flow-card.is-top:before{left:50%;top:auto;bottom:-10px;width:1px;height:10px;background:linear-gradient(180deg,rgba(85,226,255,.84),rgba(85,226,255,0))}.map .trade-flow-card.is-top:after{left:calc(50% - 3px);top:auto;bottom:-14px}.map .trade-flow-card.is-bottom{transform:translateY(82%)}.map .trade-flow-card.is-bottom:before{left:50%;top:-10px;width:1px;height:10px;background:linear-gradient(180deg,rgba(85,226,255,0),rgba(85,226,255,.84))}.map .trade-flow-card.is-bottom:after{left:calc(50% - 3px);top:-14px}.map .trade-flow-card:before{position:absolute;left:-10px;top:50%;width:10px;height:1px;content:"";background:linear-gradient(90deg,rgba(85,226,255,0),rgba(85,226,255,.84))}.map .trade-flow-card:after{position:absolute;left:-14px;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;content:"";background:#30dcff;box-shadow:0 0 10px #30dcffcc}.map .trade-flow-card .flow-head{display:flex;align-items:center;gap:6px;min-width:0}.map .trade-flow-card .flow-head span{flex:0 0 auto;color:#ffe076;font-size:10px;line-height:12px;font-weight:900}.map .trade-flow-card .flow-head strong{overflow:hidden;color:#fff;font-size:10px;line-height:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.map .trade-flow-card .flow-body{display:flex;align-items:baseline;gap:3px;margin-top:2px}.map .trade-flow-card .flow-body em{color:#fff;font-size:13px;line-height:15px;font-style:normal;font-weight:900;text-shadow:0 0 10px rgba(48,220,255,.55)}.map .trade-flow-card .flow-body b{color:#ffffffc2;font-size:10px;line-height:12px}.map .china-label{color:#fff;font-size:14px;font-weight:700;text-shadow:0 0 8px rgba(126,251,246,.8);will-change:transform;z-index:30}.map .china-label .other-label{display:flex;align-items:center;padding:6px 10px;border:1px solid rgba(126,251,246,.35);border-radius:3px;background:rgba(3,21,33,.78);box-shadow:0 0 14px #30dcff33;will-change:transform;white-space:nowrap}.map .china-label .town-stat-label{flex-direction:column;align-items:center;gap:4px;min-width:74px;padding:5px 8px 4px;border-color:#7efbf64d;background:linear-gradient(180deg,rgba(4,33,46,.66),rgba(3,20,32,.56));box-shadow:0 0 10px #30dcff1f;text-align:center;transform:translateZ(0)}.map .china-label .town-name-row{display:flex;align-items:center;justify-content:center;gap:6px;min-height:18px;line-height:18px}.map .china-label .town-name{color:#fff;font-size:13px;line-height:18px;font-weight:800}.map .china-label .town-rank{display:none;flex:0 0 auto;padding:1px 5px;border:1px solid rgba(126,251,246,.32);border-radius:2px;color:#7efbf6;font-size:10px;line-height:13px;font-weight:700;text-shadow:none;background:rgba(126,251,246,.1)}.map .china-label .town-stat-row{display:none;align-items:baseline;justify-content:center;gap:3px;min-height:18px;line-height:18px}.map .china-label .town-stat-metric{max-width:72px;overflow:hidden;color:#7efbf6e6;font-size:10px;line-height:12px;font-weight:700;text-overflow:ellipsis;text-shadow:none;white-space:nowrap}.map .china-label .town-stat-value{color:#fff;font-size:18px;line-height:18px;font-weight:800;text-shadow:0 0 10px rgba(126,251,246,.72)}.map .china-label .town-stat-unit{color:#e8fcffc2;font-size:10px;line-height:12px;font-weight:600}.map .china-label .town-stat-label.has-stat{min-width:108px}.map .china-label .town-stat-label.has-stat .town-rank,.map .china-label .town-stat-label.has-stat .town-stat-row{display:flex}.map .china-label.blur{filter:none;opacity:1}.map .china-label .label-icon{display:none;width:20px;height:20px;margin:0 10px 0 0}.map .map-label{padding:5px;color:#fff;will-change:transform;font-size:36px;font-weight:700;letter-spacing:4.5px;-webkit-box-reflect:below 0 -webkit-linear-gradient(transparent,transparent 20%,rgba(255,255,255,.3))}.map .map-label .other-label{display:flex;flex-direction:column}.map .map-label span{font-size:46px}.map .map-label span:last-child{font-size:12px;font-weight:400;letter-spacing:0px;color:#a7d5ef}.map .decoration-label .label-icon{display:block;width:40px;height:40px}.map .other-label{transform:translateY(200%);opacity:0;background:none;will-change:transform}.yak-management{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;color:#fff;background:#03121c;height:100%;overscroll-behavior:none}.yak-map-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;background:transparent!important}.yak-map-scene>canvas{display:block;width:100%!important;height:100%!important}.yak-map-scene>div{width:100%!important;height:100%!important}.yak-map-scene .china-label .town-stat-label{transform:translateY(-50%) scale(.92)}.yak-ol-map-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.yak-management-ui{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.yak-map-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 42%,rgba(1,9,15,.22) 74%,rgba(1,8,13,.58) 100%),linear-gradient(90deg,rgba(0,12,20,.36),transparent 24%,transparent 76%,rgba(0,12,20,.36)),linear-gradient(180deg,rgba(2,16,27,.02),rgba(2,13,22,.22))}.yak-map-scrim.is-ol-map{background:radial-gradient(circle at 50% 52%,transparent 0%,transparent 58%,rgba(1,9,15,.16) 82%,rgba(1,8,13,.42) 100%),linear-gradient(90deg,rgba(0,12,20,.24),transparent 22%,transparent 78%,rgba(0,12,20,.24)),linear-gradient(180deg,rgba(2,16,27,.01),rgba(2,13,22,.12))}.yak-left,.yak-right{position:absolute;top:128px;bottom:8px;z-index:6;width:398px;perspective-origin:50% 50%;pointer-events:all}.yak-left{left:32px;perspective:var(--screen-side-perspective-left, 500px)}.yak-right{right:32px;perspective:var(--screen-side-perspective-right, 800px)}.yak-side-stack{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;transform-style:preserve-3d}.yak-side-stack.is-left{transform:translateZ(0) rotateY(6deg);transform-origin:left center}.yak-side-stack.is-right{transform:translateZ(0) rotateY(-6deg);transform-origin:right center}.yak-side-card{flex:0 0 auto}.yak-side-card .m-card-bd-content{top:36px;bottom:0;color:#f3feff;overflow:hidden}.trade-source-card .m-card-bd-content{top:38px;bottom:8px}.yak-chart{width:100%;height:100%;box-sizing:border-box}.forecast-trend-card,.structure-chart-card{position:relative;width:100%;height:100%}.breeding-health-card{display:grid;grid-template-rows:34px minmax(0,1fr);gap:9px;height:100%;padding:10px 13px;overflow:hidden;box-sizing:border-box}.breeding-health-head{display:flex;align-items:center;min-width:0;padding:0 12px;border-left:3px solid rgba(48,220,255,.72);background:radial-gradient(circle at 18% 50%,rgba(48,220,255,.12),transparent 48%),linear-gradient(90deg,rgba(48,220,255,.12),rgba(48,220,255,.035));box-sizing:border-box}.breeding-health-head strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:16px;line-height:20px;font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.62)}.breeding-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px;min-height:0}.breeding-health-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:18px 14px 6px;align-content:center;gap:2px 6px;min-width:0;min-height:0;padding:7px 9px;overflow:hidden;border:1px solid rgba(48,220,255,.13);background:linear-gradient(90deg,color-mix(in srgb,var(--health-color) 16%,transparent),rgba(5,27,41,.32)),rgba(3,25,40,.18);box-sizing:border-box}.breeding-health-item span,.breeding-health-item strong,.breeding-health-item em{position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breeding-health-item span{color:#e5fdffd6;font-size:12px;line-height:15px;font-weight:800}.breeding-health-item strong{color:color-mix(in srgb,var(--health-color) 82%,#ffffff);font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;line-height:18px;font-weight:900;text-align:right}.breeding-health-item i{grid-column:1/3;position:relative;z-index:1;display:block;height:4px;overflow:hidden;background:rgba(48,220,255,.12)}.breeding-health-item i b{display:block;width:var(--health-width);height:100%;background:var(--health-color);box-shadow:0 0 5px color-mix(in srgb,var(--health-color) 34%,transparent)}.breeding-health-item em{grid-column:1/3;grid-row:2;color:color-mix(in srgb,var(--health-color) 74%,#ffffff);font-size:11px;line-height:13px;font-style:normal}.structure-ratio-card{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:center;gap:10px;height:100%;overflow:hidden;padding:2px 10px 6px 8px;box-sizing:border-box}.structure-ratio-chart{position:relative;width:142px;height:132px;min-width:0}.structure-ratio-chart svg{width:100%;height:100%;overflow:visible}.structure-ratio-list{display:flex;flex-direction:column;justify-content:center;min-width:0;height:100%;gap:5px;overflow:hidden}.structure-ratio-row{position:relative;display:grid;grid-template-columns:11px minmax(0,1fr) 50px 16px;align-items:center;gap:6px;min-width:0;min-height:22px;height:23px;padding:0 5px 0 3px;overflow:hidden;border:1px solid rgba(48,220,255,.12);background:rgba(48,220,255,.055);color:#e1f9ffc2;font-size:10px;line-height:13px;box-sizing:border-box;transition:background .35s ease,border-color .35s ease}.structure-ratio-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--row-percent);background:linear-gradient(90deg,var(--row-color),rgba(48,220,255,0));opacity:.18;pointer-events:none}.structure-ratio-row i{position:relative;z-index:1;width:9px;height:9px;border:1px solid #30dcff;border-radius:50%;box-sizing:border-box;box-shadow:none}.structure-ratio-row span{position:relative;z-index:1;display:flex;align-items:baseline;gap:4px;min-width:0;overflow:hidden;color:#ebfdffe6;font-size:13px;line-height:15px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.62);text-overflow:ellipsis;white-space:nowrap}.structure-ratio-row span small{flex:none;color:color-mix(in srgb,var(--row-color) 78%,rgba(255,255,255,.65));font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:10px;font-weight:800;line-height:12px}.structure-ratio-row strong{position:relative;z-index:1;color:#fffffff0;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;font-weight:800;line-height:20px;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.62);white-space:nowrap}.structure-ratio-row em{position:relative;z-index:1;color:#ffffff8a;font-size:10px;font-style:normal;white-space:nowrap}.structure-ratio-row.is-active{color:var(--row-color);border-color:#30dcff38;background:linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04))}.structure-rose-segment{opacity:.92;stroke-width:1.5;stroke-opacity:.5;transform-box:fill-box;transform-origin:center;transition:opacity .3s ease,filter .3s ease,transform .3s ease;filter:drop-shadow(0 2px 2px rgba(0,10,18,.34)) drop-shadow(0 0 3px rgba(48,220,255,.12))}.structure-rose-segment.is-active{opacity:1;transform:scale(1.035);filter:drop-shadow(0 3px 5px rgba(0,10,18,.42)) drop-shadow(0 0 5px rgba(48,220,255,.22))}.structure-rose-glow{fill:#30dcff12;stroke:#30dcff2e;stroke-width:1;filter:none}.structure-rose-hole{fill:#03121ef0;stroke:#e3fdff38;stroke-width:1.2}.structure-rose-center{fill:#e7feffdb;font-size:10px;font-weight:800;dominant-baseline:middle;pointer-events:none}.structure-rose-center.is-sub{fill:#e7feff8a;font-size:7px;font-weight:700}.structure-summary-card{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));align-content:center;gap:10px;height:100%;overflow:hidden;padding:15px 18px 14px;box-sizing:border-box}.structure-summary-row{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr) 58px;grid-template-rows:22px 14px;align-items:center;column-gap:10px;min-width:0;min-height:0;padding:2px 0;color:#e1f9ffb8}.structure-summary-row span{grid-row:1/3;display:inline-flex;min-width:0;align-items:center;gap:8px;overflow:hidden;color:#ebfdffe6;font-size:13px;line-height:17px;font-weight:800;text-shadow:0 1px 2px rgba(0,0,0,.62);text-overflow:ellipsis;white-space:nowrap}.structure-summary-row i{width:9px;height:9px;flex:0 0 auto;border-radius:2px;background:var(--structure-color);box-shadow:none}.structure-summary-row strong{grid-column:3;grid-row:1;color:#fffffff0;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;line-height:15px;font-weight:800;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.62);white-space:nowrap}.structure-summary-row strong em{margin-left:3px;color:#e2fcffad;font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);font-size:10px;font-style:normal;font-weight:700}.structure-summary-row b{position:relative;grid-column:2;grid-row:1/3;height:17px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px),rgba(48,220,255,.05)}.structure-summary-row b em{display:block;width:var(--structure-width);height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--structure-color) 20%,transparent),var(--structure-color));box-shadow:0 0 5px color-mix(in srgb,var(--structure-color) 28%,transparent)}.structure-summary-row small{grid-column:3;grid-row:2;color:color-mix(in srgb,var(--structure-color) 76%,rgba(255,255,255,.72));font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:10px;line-height:11px;font-weight:800;text-align:right;white-space:nowrap}.yak-data-status{position:absolute;left:12px;bottom:6px;z-index:2;max-width:calc(100% - 24px);padding:2px 8px;border:1px solid rgba(48,220,255,.24);border-radius:3px;color:#defaffbd;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.yak-data-status.is-warning{border-color:#8bf7ff47;color:#c9fbffdb;background:rgba(4,24,37,.62)}.forecast-kline-chart{padding-top:16px}.forecast-density-switcher{position:absolute;top:0;left:4px;z-index:3;display:inline-flex;gap:2px;padding:2px;border:1px solid rgba(48,220,255,.22);border-radius:3px;background:rgba(4,24,37,.72);box-shadow:inset 0 0 10px #30dcff14}.forecast-density-switcher button{min-width:24px;height:18px;padding:0 6px;border:0;border-radius:2px;color:#e2faffa8;font-size:10px;line-height:18px;font-weight:800;background:transparent;cursor:pointer}.forecast-density-switcher button.active{color:#041c2b;background:linear-gradient(180deg,#7efbf6,#30dcff);box-shadow:0 0 6px #30dcff2e}.yak-map-loading{position:absolute;left:50%;top:50%;z-index:8;display:grid;justify-items:center;gap:9px;min-width:290px;padding:18px 22px;border:1px solid rgba(91,224,244,.28);border-radius:3px;color:#dffaffb8;font-size:13px;background:rgba(2,20,32,.78);box-shadow:0 14px 34px #00070e57;transform:translate(-50%,-50%)}.yak-map-loading strong{color:#fff;font-size:17px;font-weight:650}.yak-map-loading span{line-height:20px}.yak-map-loading button{min-width:132px;height:36px;margin-top:4px;border:1px solid rgba(126,251,246,.66);border-radius:2px;color:#fff;background:linear-gradient(180deg,rgba(24,115,133,.94),rgba(4,46,63,.96));cursor:pointer;font-size:13px}.yak-map-loading.is-timeout{border-color:#ffd76c70;background:rgba(12,30,37,.9)}.yak-map-loading.is-timeout strong{color:#ffd76c}.yak-bottom-topic{position:absolute;left:50%;bottom:48px;z-index:8;transform:translate(-50%);pointer-events:all}.yak-map-layer-tools{position:absolute;right:458px;bottom:116px;z-index:8;width:248px;pointer-events:all}.yak-map-layer-tools .m-card{width:100%!important;background:rgba(3,18,30,.58);backdrop-filter:blur(2px)}.trade-year-switcher,.slaughter-year-switcher,.forecast-year-switcher,.epidemic-year-switcher{position:absolute;left:462px;top:218px;z-index:8;display:flex;width:78px;flex-direction:column;gap:8px;padding:10px 8px;border:1px solid rgba(139,247,255,.28);background:linear-gradient(180deg,rgba(9,42,55,.72),rgba(4,18,30,.82)),rgba(3,18,31,.62);box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d;pointer-events:all;transform:perspective(620px) rotateY(6deg);transform-origin:left center;box-sizing:border-box}.trade-year-switcher span,.slaughter-year-switcher span,.forecast-year-switcher span,.epidemic-year-switcher span{color:#ffffffdb;font-size:12px;font-weight:700;line-height:14px;text-align:center;white-space:nowrap}.trade-year-switcher button,.slaughter-year-switcher button,.forecast-year-switcher button,.epidemic-year-switcher button{width:100%;height:30px;border:1px solid rgba(255,255,255,.18);background:rgba(48,220,255,.08);color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;font-weight:900;cursor:pointer;box-sizing:border-box}.trade-year-switcher button.active,.trade-year-switcher button:hover,.slaughter-year-switcher button.active,.slaughter-year-switcher button:hover,.forecast-year-switcher button.active,.forecast-year-switcher button:hover,.epidemic-year-switcher button.active,.epidemic-year-switcher button:hover{border-color:#8bf7ffb3;background:rgba(139,247,255,.18);color:#8bf7ff;box-shadow:0 0 7px #30dcff1f}.slaughter-year-switcher{border-color:#ffd76c57;box-shadow:0 0 12px #ffd76c1a,inset 0 0 0 1px #ffffff0d}.slaughter-year-switcher button.active,.slaughter-year-switcher button:hover{border-color:#ffd76cc2;background:rgba(255,215,108,.18);color:#ffd76c;box-shadow:0 0 8px #ffd76c29}.slaughter-realtime-ticker{position:absolute;top:190px;left:50%;z-index:9;display:grid;grid-template-columns:112px minmax(0,1fr);width:760px;height:34px;overflow:hidden;border:1px solid rgba(48,220,255,.22);background:linear-gradient(90deg,rgba(3,23,37,.94),rgba(5,38,50,.78),rgba(3,23,37,.94)),rgba(3,18,31,.82);box-shadow:0 0 14px #30dcff1a,inset 0 0 0 1px #ffffff08;transform:translate(-50%);pointer-events:none;box-sizing:border-box}.slaughter-realtime-ticker:before,.slaughter-realtime-ticker:after{position:absolute;top:0;z-index:2;width:34px;height:100%;content:""}.slaughter-realtime-ticker:before{left:111px;background:linear-gradient(90deg,rgba(4,28,43,.94),transparent)}.slaughter-realtime-ticker:after{right:0;background:linear-gradient(270deg,rgba(4,28,43,.94),transparent)}.slaughter-realtime-status{position:relative;z-index:3;display:flex;align-items:center;gap:6px;padding:0 9px 0 10px;border-right:1px solid rgba(48,220,255,.2);background:rgba(4,30,44,.94);box-sizing:border-box}.slaughter-realtime-status>i{width:7px;height:7px;border-radius:50%;background:#ffd76c;box-shadow:0 0 8px #ffd76cb8}.slaughter-realtime-status strong{color:#fff;font-size:12px;line-height:16px;white-space:nowrap}.slaughter-realtime-ticker.is-live .slaughter-realtime-status>i{background:#30dcff;box-shadow:0 0 10px #30dcffe6;animation:slaughter-live-pulse 1.4s ease-in-out infinite}.slaughter-realtime-viewport{min-width:0;overflow:hidden}.slaughter-realtime-track{display:flex;width:max-content;height:100%;animation:slaughter-realtime-marquee var(--ticker-duration, 36s) linear infinite;will-change:transform}.slaughter-realtime-group{display:flex;flex:none;align-items:center;gap:34px;padding-right:34px}.slaughter-realtime-item{display:inline-flex;align-items:center;gap:6px;color:#fffc;font-size:10px;line-height:32px;white-space:nowrap}.slaughter-realtime-item b{color:#8bf7ffc7;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-weight:500}.slaughter-realtime-item em{color:#fff;font-style:normal}.slaughter-realtime-item strong{color:#ffd76c;font-weight:700}.slaughter-realtime-item>i{color:#30dcff;font-style:normal}.slaughter-realtime-item>span{color:#8bf7ff}@keyframes slaughter-realtime-marquee{0%{transform:translateZ(0)}to{transform:translate3d(-50%,0,0)}}@keyframes slaughter-live-pulse{0%,to{opacity:.55;transform:scale(.88)}50%{opacity:1;transform:scale(1.16)}}.forecast-year-switcher{border-color:#30dcff47;box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d}.forecast-year-switcher button.active,.forecast-year-switcher button:hover{border-color:#30dcffb3;background:rgba(48,220,255,.16);color:#30dcff;box-shadow:0 0 7px #30dcff1f}.epidemic-year-switcher{border-color:#30dcff42;box-shadow:0 0 10px #30dcff14,inset 0 0 0 1px #ffffff0d}.epidemic-year-switcher button.active,.epidemic-year-switcher button:hover{border-color:#30dcffad;background:rgba(48,220,255,.16);color:#8bf7ff;box-shadow:0 0 7px #30dcff1f}.forecast-waterfall-card{display:grid;grid-template-rows:32px minmax(0,1fr);gap:8px;height:100%;padding:9px 13px 10px;overflow:hidden;box-sizing:border-box}.forecast-waterfall-head{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:0 10px;border-left:3px solid rgba(48,220,255,.72);background:linear-gradient(90deg,rgba(48,220,255,.13),rgba(48,220,255,.025)),rgba(3,25,40,.18);box-sizing:border-box}.forecast-waterfall-head span,.forecast-waterfall-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-waterfall-head span{color:#e2fcffc7;font-size:12px;line-height:16px;font-weight:800}.forecast-waterfall-head strong{color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;line-height:18px;font-weight:900;text-align:right}.forecast-waterfall-head strong.negative{color:#48cfff}.forecast-waterfall-head strong em{margin-left:2px;color:#e2fcff99;font-family:var(--screen-font-ui, "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);font-size:10px;font-style:normal;font-weight:700}.forecast-waterfall-list{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:5px;min-height:0}.forecast-waterfall-row{display:grid;grid-template-columns:78px minmax(0,1fr) 76px;align-items:center;gap:8px;min-width:0;min-height:0}.forecast-waterfall-row span,.forecast-waterfall-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-waterfall-row span{color:#e2fcffc7;font-size:12px;line-height:14px;font-weight:800}.forecast-waterfall-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;line-height:15px;font-weight:900;text-align:right}.forecast-waterfall-row i{position:relative;display:block;height:18px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 18px),rgba(48,220,255,.045);box-sizing:border-box}.forecast-waterfall-row i:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(226,252,255,.12);transform:translateY(-50%)}.forecast-waterfall-row i b{position:absolute;left:var(--waterfall-left);top:3px;width:var(--waterfall-width);height:10px;background:linear-gradient(90deg,color-mix(in srgb,var(--waterfall-color) 22%,transparent),var(--waterfall-color));box-shadow:0 0 5px color-mix(in srgb,var(--waterfall-color) 34%,transparent)}.forecast-waterfall-row.is-anchor span,.forecast-waterfall-row.is-final span{color:#ffffffe6}.forecast-waterfall-row.is-anchor i b,.forecast-waterfall-row.is-final i b{top:3px;height:10px;border-radius:8px;background:var(--waterfall-color)}.forecast-waterfall-row.positive strong{color:#8bf7ff}.forecast-waterfall-row.negative strong{color:#48cfff}.forecast-waterfall-row.is-final strong{color:#fff}.estimate-summary-card,.forecast-summary-card{height:100%;padding:6px 14px 8px;box-sizing:border-box}.estimate-summary-card{display:grid;grid-template-rows:minmax(58px,.88fr) minmax(86px,1.12fr);row-gap:10px;padding:7px 14px 10px;overflow:hidden}.estimate-flow-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0}.estimate-flow-item{min-width:0;height:100%;padding:8px 10px 7px;border-left:2px solid rgba(48,220,255,.64);background:linear-gradient(90deg,rgba(48,220,255,.13),rgba(48,220,255,.025)),rgba(3,25,40,.18);box-sizing:border-box}.estimate-flow-item em,.estimate-flow-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.estimate-flow-item em{color:#dffaff99;font-style:normal;font-size:11px;line-height:14px}.estimate-flow-item strong{margin-top:5px;color:#30dcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:20px;font-weight:900;line-height:24px}.estimate-flow-item small{margin-left:3px;color:#dffaff94;font-size:10px;font-weight:600}.estimate-flow-item.is-adjustment{border-left-color:#8bf7ffa3;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.025)),rgba(3,25,40,.18)}.estimate-flow-item.is-adjustment strong{color:#8bf7ff}.estimate-flow-item.is-adjustment strong.negative{color:#48cfff}.estimate-result-band{position:relative;min-width:0;display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow:hidden;padding:10px 14px 9px;border:1px solid rgba(48,220,255,.18);border-left:3px solid rgba(48,220,255,.76);background:radial-gradient(circle at 18% 50%,rgba(48,220,255,.16),transparent 46%),linear-gradient(90deg,rgba(48,220,255,.18),rgba(48,220,255,.04)),rgba(3,25,40,.22);box-sizing:border-box}.estimate-result-band:after{content:"";position:absolute;right:-12px;bottom:-18px;width:118px;height:76px;pointer-events:none;background:radial-gradient(circle at center,rgba(48,220,255,.16),transparent 58%),linear-gradient(135deg,transparent 0 42%,rgba(48,220,255,.12) 43% 45%,transparent 46% 100%)}.estimate-result-band span,.estimate-result-band strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.estimate-result-band span{color:#dffaffb8;font-size:13px;line-height:16px}.estimate-result-band strong{position:relative;z-index:1;margin-top:0;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:38px;font-weight:900;line-height:42px}.estimate-result-band em{margin-left:5px;color:#dffaff9e;font-style:normal;font-size:12px}.forecast-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.forecast-simple-grid span{min-width:0;height:38px;padding:5px 7px;border-left:2px solid rgba(48,220,255,.58);background:linear-gradient(90deg,rgba(48,220,255,.1),rgba(48,220,255,.02));box-sizing:border-box}.forecast-simple-grid em,.forecast-simple-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-simple-grid em{color:#dffaff8f;font-style:normal;font-size:10px;line-height:11px}.forecast-simple-grid strong{margin-top:3px;color:#30dcff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;font-weight:900;line-height:15px}.forecast-simple-grid .positive{color:#8bf7ff}.forecast-simple-grid .negative{color:#48cfff}.forecast-summary-card{display:grid;grid-template-rows:minmax(84px,1fr) minmax(44px,.55fr);row-gap:9px;padding:8px 14px 10px;overflow:hidden}.forecast-result-row{display:grid;grid-template-columns:minmax(0,1fr) 98px;align-items:center;column-gap:8px;height:100%;min-height:0}.forecast-result-main{min-width:0;display:flex;height:100%;flex-direction:column;justify-content:space-between;padding:10px 12px;border-left:2px solid rgba(48,220,255,.7);background:radial-gradient(circle at 22% 50%,rgba(48,220,255,.16),transparent 48%),linear-gradient(90deg,rgba(48,220,255,.16),rgba(48,220,255,.035)),rgba(3,25,40,.18);box-sizing:border-box}.forecast-result-main span,.forecast-result-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forecast-result-main span{color:#dffaffa8;font-size:13px;line-height:16px}.forecast-result-main strong{margin-top:0;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:35px;font-weight:900;line-height:39px}.forecast-result-main strong em{margin-left:4px;color:#dffaff9e;font-style:normal;font-size:11px}.forecast-change-badge{min-width:0;height:66px;padding:11px 9px 8px;border:1px solid rgba(139,247,255,.28);background:rgba(139,247,255,.06);box-sizing:border-box}.forecast-change-badge span,.forecast-change-badge strong{display:block;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.forecast-change-badge span{color:#dffaff8c;font-size:10px;line-height:11px}.forecast-change-badge strong{margin-top:2px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:14px;font-weight:900;line-height:16px}.forecast-change-badge strong em{margin-left:2px;color:#dffaff94;font-style:normal;font-size:10px}.forecast-change-badge.negative{border-color:#48cfff47;background:rgba(72,207,255,.06)}.forecast-change-badge.negative strong{color:#48cfff}.forecast-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:0}.forecast-simple-grid span{height:100%;min-height:42px;padding:6px 8px}.forecast-simple-grid strong{margin-top:3px;font-size:15px;line-height:17px}.forecast-heat-list{display:flex;height:100%;flex-direction:column;gap:4px;padding:8px 13px 9px;box-sizing:border-box}.heat-row{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr) 60px;align-items:center;gap:8px;min-height:0;flex:1 1 0;padding:0 8px;overflow:visible;border:1px solid rgba(48,220,255,.14);background:linear-gradient(90deg,rgba(48,220,255,.08),transparent 34%,rgba(36,246,196,.04)),rgba(2,18,30,.58);box-shadow:inset 0 0 0 1px #ffffff05,inset 0 0 12px #30dcff0a}.heat-row:before{content:"";position:absolute;left:78px;right:68px;top:50%;height:1px;background:linear-gradient(90deg,transparent,rgba(48,220,255,.24),transparent);transform:translateY(-50%)}.heat-row:after{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;background:rgba(48,220,255,.82);box-shadow:none;opacity:.78}.heat-row span,.heat-row strong,.heat-row b{position:relative;z-index:1;white-space:nowrap}.heat-row span{color:#ecfdffe6;font-size:12px;line-height:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.66)}.heat-row b{display:block;height:11px;padding:2px;border:1px solid rgba(48,220,255,.22);background:linear-gradient(90deg,rgba(48,220,255,.08),rgba(48,220,255,.025)),rgba(0,14,24,.66);box-shadow:inset 0 0 10px #00000057,0 0 10px #30dcff14}.heat-row b i{position:relative;display:block;width:var(--heat-width);height:100%;min-width:8px;background:linear-gradient(90deg,rgba(255,255,255,.86),var(--heat-color) 16%,rgba(48,220,255,.72) 78%,rgba(255,255,255,.9)),linear-gradient(90deg,var(--heat-color-soft),transparent);box-shadow:0 0 5px #30dcff24;overflow:visible}.heat-row b i:after{content:"";position:absolute;right:-4px;top:50%;width:7px;height:7px;border-radius:50%;background:#ffffff;box-shadow:0 0 5px #ffffff52;transform:translateY(-50%)}.heat-row b i:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);opacity:.72}.heat-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;line-height:17px;font-weight:900;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.66)}.heat-row.is-negative{border-color:#48cfff2e}.epidemic-overview-chart-card{height:100%;padding:7px 9px 5px;box-sizing:border-box}.epidemic-overview-chart{width:100%;height:100%}.epidemic-chain-chart-card{height:100%;padding:7px 8px 5px;box-sizing:border-box}.epidemic-chain-chart{width:100%;height:100%}.epidemic-chain-card{height:100%;padding:9px 13px;box-sizing:border-box}.epidemic-chain-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;column-gap:8px}.epidemic-chain-row span{min-width:0;height:48px;padding:6px;border:1px solid rgba(48,220,255,.16);background:rgba(48,220,255,.05);box-sizing:border-box}.epidemic-chain-row em,.epidemic-chain-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-chain-row em{color:#dffaff8f;font-style:normal;font-size:10px}.epidemic-chain-row strong{margin-top:5px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;font-weight:900}.epidemic-chain-row i{color:#8bf7ffcc;font-style:normal;text-align:center}.epidemic-chain-note{margin:8px 0;padding:7px 9px;border-left:2px solid rgba(139,247,255,.76);background:rgba(139,247,255,.06)}.epidemic-chain-note span{display:block;color:#eafcffd6;font-size:11px;line-height:17px}.epidemic-chain-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.epidemic-chain-metrics span{min-width:0;display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 8px;border:1px solid rgba(48,220,255,.14);background:rgba(48,220,255,.04)}.epidemic-chain-metrics em{color:#dffaff94;font-style:normal;font-size:10px}.epidemic-chain-metrics strong{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-card{display:grid;grid-template-columns:142px minmax(0,1fr);align-items:center;gap:8px;height:100%;padding:8px 12px 8px 10px;box-sizing:border-box}.epidemic-three-pie-visual{position:relative;width:136px;height:136px;min-width:0}.epidemic-three-pie{width:100%;height:100%}.epidemic-three-pie-center{position:absolute;left:0;top:0;display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;text-shadow:0 0 10px rgba(0,0,0,.96);pointer-events:none}.epidemic-three-pie-center strong{overflow:hidden;max-width:84px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:21px;line-height:22px;font-weight:900;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-2px)}.epidemic-three-pie-center span{overflow:hidden;max-width:86px;color:#fffffff5;font-size:10px;line-height:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-legend{display:flex;min-width:0;height:100%;flex-direction:column;justify-content:center;gap:6px}.epidemic-three-pie-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;column-gap:5px;min-height:17px}.epidemic-three-pie-row i{width:8px;height:8px;border:2px solid #30dcff;border-radius:2px;box-sizing:border-box;background:rgba(3,20,31,.84)}.epidemic-three-pie-row span{overflow:hidden;color:#e2faffd1;font-size:10px;line-height:13px;text-overflow:ellipsis;white-space:nowrap}.epidemic-three-pie-row strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;line-height:13px;font-weight:800;white-space:nowrap}.epidemic-three-pie-row em{color:#dffaff8a;font-style:normal;font-size:10px;line-height:12px;white-space:nowrap}.epidemic-record-table{display:flex;height:100%;flex-direction:column;gap:5px;padding:7px 9px 8px;box-sizing:border-box}.epidemic-record-table.is-double{gap:5px}.epidemic-record-table.is-full{gap:6px;padding:9px 10px 10px}.epidemic-record-toolbar{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;column-gap:7px;height:29px}.epidemic-record-toolbar>span{overflow:hidden;color:#ffffffe6;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-record-toolbar>div{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 44px 62px;gap:5px}.epidemic-record-toolbar input,.epidemic-record-toolbar button{height:25px;min-width:0;border:1px solid rgba(48,220,255,.16);background:rgba(3,25,40,.62);color:#fff;font-size:10px;box-sizing:border-box}.epidemic-record-toolbar input{padding:0 7px}.epidemic-record-toolbar input::placeholder{color:#ffffff94}.epidemic-record-toolbar button{border-color:#8bf7ff6b;background:rgba(139,247,255,.12);color:#fff;cursor:pointer}.epidemic-record-toolbar button.is-more{border-color:#30dcff57;background:rgba(48,220,255,.12)}.epidemic-record-header,.epidemic-record-rows button{display:grid;grid-template-columns:112px 56px 42px 54px 64px;column-gap:4px;align-items:center}.epidemic-record-header{height:24px;padding:0 6px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.06);box-sizing:border-box}.epidemic-record-header span{color:#ffffffc7;font-size:10px}.epidemic-record-rows{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;overflow:hidden}.epidemic-record-rows button{min-height:0;flex:1 1 0;padding:0 6px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);color:#ffffffe0;cursor:pointer;text-align:left}.epidemic-record-rows button:hover,.epidemic-record-rows button.active{border-color:#8bf7ff5c;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.04));color:#fff}.epidemic-record-rows span,.epidemic-record-rows strong{color:#fff;overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}.epidemic-record-rows strong{color:#8bf7ff;font-weight:700}.epidemic-record-table.is-full .epidemic-record-rows{gap:4px}.epidemic-record-pager{display:flex;align-items:center;justify-content:flex-end;gap:7px;height:24px}.epidemic-record-pager span{margin-right:auto;color:#ffffffd6;font-size:10px}.epidemic-record-pager button{height:22px;padding:0 8px;border:1px solid rgba(48,220,255,.18);background:rgba(48,220,255,.07);color:#fff;font-size:10px;cursor:pointer}.epidemic-record-pager button:disabled{opacity:.36;cursor:not-allowed}.epidemic-empty{display:flex;height:100%;align-items:center;justify-content:center;color:#dffaff8f;font-size:12px}.epidemic-detail-head{display:flex;align-items:center;justify-content:space-between;height:28px;border-bottom:1px solid rgba(48,220,255,.14)}.epidemic-detail-head span{overflow:hidden;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:15px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.epidemic-detail-head strong{color:#dffaffb8;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;white-space:nowrap}.epidemic-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.epidemic-detail-grid span{min-width:0;height:34px;padding:4px 7px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.035);box-sizing:border-box}.epidemic-detail-grid em,.epidemic-detail-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-detail-grid em{color:#dffaff85;font-style:normal;font-size:10px;line-height:10px}.epidemic-detail-grid strong{margin-top:4px;color:#fff;font-size:11px;line-height:12px}.epidemic-detail-grid.is-modal{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}.epidemic-detail-grid.is-modal span{height:39px;padding:5px 8px}.epidemic-detail-grid.is-modal .is-wide{grid-column:1/-1}.epidemic-ledger-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;background:rgba(0,8,14,.68);pointer-events:all}.epidemic-ledger-dialog{width:1260px;height:724px;padding:18px;border:1px solid rgba(139,247,255,.36);background:linear-gradient(180deg,rgba(12,38,48,.97),rgba(4,17,28,.99)),rgba(3,18,31,.98);box-shadow:0 0 34px #8bf7ff29,inset 0 0 0 1px #ffffff0f;box-sizing:border-box}.epidemic-ledger-dialog-head{display:flex;align-items:center;justify-content:space-between;height:42px;border-bottom:1px solid rgba(48,220,255,.18)}.epidemic-ledger-dialog-head span{display:block;color:#fff;font-size:19px;font-weight:800}.epidemic-ledger-dialog-head strong{display:block;margin-top:3px;color:#ffffffdb;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px}.epidemic-ledger-dialog-head button{width:68px;height:28px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.epidemic-ledger-filters{display:grid;grid-template-columns:220px 130px 130px 132px 132px 66px 66px;gap:10px;align-items:center;margin:16px 0 14px}.epidemic-ledger-filters input,.epidemic-ledger-filters select,.epidemic-ledger-filters button{height:32px;min-width:0;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.045);color:#fff;font-size:12px;box-sizing:border-box}.epidemic-ledger-filters input::placeholder{color:#ffffff9e}.epidemic-ledger-filters select option{color:#dffcff;background:#061926}.epidemic-ledger-filters input,.epidemic-ledger-filters select{padding:0 9px}.epidemic-ledger-filters button{cursor:pointer;background:rgba(139,247,255,.13);border-color:#8bf7ff5c;color:#fff;font-weight:700}.epidemic-ledger-filters button.is-ghost{background:rgba(255,255,255,.06);border-color:#ffffff2e}.epidemic-ledger-workspace{display:grid;grid-template-columns:minmax(0,1fr) 376px;gap:14px;height:548px}.epidemic-ledger-list{display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px;overflow:hidden;border:1px solid rgba(139,247,255,.16);background:rgba(255,255,255,.035);box-shadow:inset 0 0 24px #8bf7ff08;box-sizing:border-box}.epidemic-ledger-table-head,.epidemic-ledger-list button{display:grid;grid-template-columns:minmax(126px,1.5fr) minmax(76px,.9fr) 72px minmax(96px,1fr) 72px 82px 42px;align-items:center;column-gap:8px}.epidemic-ledger-table-head{height:34px;padding:0 12px;border:0;border-bottom:1px solid rgba(139,247,255,.14);border-radius:0;background:rgba(255,255,255,.07)}.epidemic-ledger-table-head span{overflow:hidden;color:#ffffffd1;font-size:11px;font-weight:700;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.epidemic-ledger-list button{position:relative;width:100%;height:30px;padding:0 10px 0 12px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:3px;background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(48,220,255,.018)),rgba(255,255,255,.025);color:#ffffffe6;cursor:pointer;text-align:left;transition:border-color .18s ease,background .18s ease,color .18s ease}.epidemic-ledger-list button:before{position:absolute;left:0;top:6px;width:2px;height:18px;content:"";opacity:0;background:var(--screen-icon-primary, #30dcff);box-shadow:0 0 8px var(--screen-icon-glow, rgba(48, 220, 255, .22))}.epidemic-ledger-list button.active,.epidemic-ledger-list button:hover{border-color:#30dcff5c;background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.05)),rgba(255,255,255,.045);color:#fff}.epidemic-ledger-list button.active:before,.epidemic-ledger-list button:hover:before{opacity:1}.epidemic-ledger-list button span,.epidemic-ledger-list button strong{overflow:hidden;font-size:10px;line-height:12px;color:#fff;text-overflow:ellipsis;white-space:nowrap}.epidemic-ledger-list button strong{color:#c9fbff;font-weight:800}.epidemic-ledger-detail{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px;border:1px solid rgba(48,220,255,.15);background:rgba(48,220,255,.04);box-sizing:border-box}.epidemic-detail-scroll{flex:1 1 0;min-height:0;margin-top:10px;padding-right:4px;overflow-y:auto}.epidemic-detail-section+.epidemic-detail-section{margin-top:10px}.epidemic-detail-section-title{display:flex;align-items:center;height:18px;color:#8bf7ff;font-size:12px;font-weight:700;line-height:18px}.epidemic-modal-photo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px;overflow:hidden}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb{position:relative;width:100%;height:96px;padding:0;overflow:hidden;border:1px solid rgba(48,220,255,.24);background:rgba(48,220,255,.04);cursor:zoom-in;box-sizing:border-box}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:hover{border-color:#8bf7ff94;box-shadow:0 0 7px #8bf7ff1f}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:after{position:absolute;right:0;bottom:0;left:0;height:18px;content:"";background:linear-gradient(180deg,rgba(0,12,20,0),rgba(0,12,20,.92) 52%,rgba(0,12,20,.98));pointer-events:none}.epidemic-modal-photo-strip img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.epidemic-modal-photo-strip .epidemic-modal-photo-thumb:hover img{transform:scale(1.03)}.epidemic-modal-photo-strip span{grid-column:1/-1;display:flex;height:96px;align-items:center;justify-content:center;border:1px solid rgba(48,220,255,.12);color:#dffaff8a;font-size:11px}.epidemic-image-preview-modal{position:absolute;top:0;right:0;bottom:0;left:0;z-index:48;display:flex;align-items:center;justify-content:center;padding:46px;background:rgba(0,8,14,.78);pointer-events:all;box-sizing:border-box}.epidemic-image-preview-dialog{display:flex;width:min(920px,78vw);max-height:78vh;flex-direction:column;border:1px solid rgba(139,247,255,.34);background:linear-gradient(180deg,rgba(9,38,50,.97),rgba(2,15,26,.99)),rgba(2,17,28,.98);box-shadow:0 0 34px #8bf7ff24,inset 0 0 0 1px #ffffff0e}.epidemic-image-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;height:52px;padding:0 16px 0 18px;border-bottom:1px solid rgba(48,220,255,.16);box-sizing:border-box}.epidemic-image-preview-head div{min-width:0}.epidemic-image-preview-head span,.epidemic-image-preview-head strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epidemic-image-preview-head span{color:#fff;font-size:16px;font-weight:800}.epidemic-image-preview-head strong{margin-top:3px;color:#8bf7ffd1;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px}.epidemic-image-preview-head button{width:68px;height:28px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.epidemic-image-preview-body{display:flex;min-height:0;flex:1;align-items:center;justify-content:center;padding:16px;background:rgba(0,10,17,.42)}.epidemic-image-preview-frame{position:relative;display:flex;max-width:100%;max-height:calc(78vh - 84px);align-items:center;justify-content:center;overflow:hidden}.epidemic-image-preview-frame img{display:block;max-width:100%;max-height:calc(78vh - 84px);object-fit:contain}.epidemic-image-preview-frame:after{position:absolute;right:0;bottom:0;left:0;height:38px;content:"";background:linear-gradient(180deg,rgba(0,10,17,0),rgba(0,10,17,.96) 58%,rgba(0,10,17,.99));pointer-events:none}.epidemic-ledger-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;height:42px}.epidemic-ledger-pager span{color:#ffffffb8;font-size:12px}.epidemic-ledger-pager button{height:26px;padding:0 12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.055);color:#fff;cursor:pointer}.epidemic-ledger-pager button:disabled{opacity:.38;cursor:not-allowed}.trade-ledger-dialog{width:1260px;height:724px;border-color:#8bf7ff5c;background:linear-gradient(180deg,rgba(12,38,48,.97),rgba(4,17,28,.99)),rgba(3,18,31,.98);box-shadow:0 0 34px #8bf7ff29,inset 0 0 0 1px #ffffff0f}.trade-ledger-dialog .epidemic-ledger-dialog-head strong{color:#ffffffdb}.trade-ledger-dialog .epidemic-ledger-dialog-head button{border-color:#ffffff47;background:rgba(255,255,255,.08);color:#fff}.trade-ledger-filters{grid-template-columns:260px 150px 142px 142px 70px 70px}.trade-ledger-filters input,.trade-ledger-filters select,.trade-ledger-filters button{color:#fff}.trade-ledger-filters button{color:#fff;font-weight:700}.trade-ledger-workspace{grid-template-columns:minmax(0,1fr) 376px}.trade-ledger-modal-table-head,.trade-ledger-modal-list button{display:grid;grid-template-columns:128px 84px 92px 58px 88px 90px 102px 68px;align-items:center;column-gap:10px}.trade-ledger-modal-table-head{height:34px;padding:0 12px;border-bottom:1px solid rgba(139,247,255,.14);background:rgba(255,255,255,.07)}.trade-ledger-modal-table-head span{overflow:hidden;color:#ffffffd1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-modal-list{border-color:#30dcff29;background:rgba(255,255,255,.035)}.trade-ledger-modal-list button{height:34px;color:#ffffffe6}.trade-ledger-modal-list button.active,.trade-ledger-modal-list button:hover{background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.05));color:#fff}.trade-ledger-modal-list button span,.trade-ledger-modal-list button strong{color:#fff}.trade-ledger-modal-list button strong{color:#c9fbff}.trade-ledger-detail{display:flex;flex-direction:column;padding:0;overflow:hidden;border-color:#30dcff3d;background:linear-gradient(180deg,rgba(8,42,54,.84),rgba(3,19,30,.92)),radial-gradient(circle at 10% 0,rgba(48,220,255,.12),transparent 38%),rgba(3,25,40,.48);box-shadow:inset 0 0 22px #30dcff0e,inset 0 0 0 1px #ffffff09}.trade-ledger-detail .trade-detail-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:76px;padding:15px 16px 13px;border-bottom:1px solid rgba(48,220,255,.18);background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(48,220,255,.035)),rgba(3,26,38,.62);box-sizing:border-box}.trade-ledger-detail .trade-detail-head:before{position:absolute;left:0;top:16px;width:3px;height:44px;content:"";background:var(--screen-icon-primary, #30dcff);box-shadow:0 0 8px var(--screen-icon-glow, rgba(48, 220, 255, .22))}.trade-ledger-detail .trade-detail-head div{min-width:0}.trade-ledger-detail .trade-detail-head span,.trade-ledger-detail .trade-detail-head em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-detail .trade-detail-head span{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:21px;font-weight:800;line-height:24px}.trade-ledger-detail .trade-detail-head em{margin-top:6px;color:#c9fbff;font-size:12px;font-style:normal;font-weight:800;line-height:16px}.trade-ledger-detail .trade-detail-head strong{padding:5px 9px;border:1px solid rgba(48,220,255,.18);background:rgba(5,27,38,.58);color:#edfdffd1;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;font-weight:800;white-space:nowrap}.epidemic-ledger-record-detail .trade-detail-head em{color:#8bf7ff}.epidemic-ledger-record-detail .epidemic-detail-flat-grid{padding-bottom:0}.epidemic-detail-grid.is-modal.trade-detail-grid{flex:0 0 auto;align-content:start;grid-template-columns:66px minmax(0,1fr) 66px minmax(0,1fr);gap:0;margin:0;padding:14px 16px 0;overflow:hidden;border:1px solid rgba(48,220,255,.1);border-bottom:0}.epidemic-detail-grid.is-modal.trade-detail-grid span{min-width:0;height:auto;padding:0;border:0;background:transparent;box-shadow:none}.epidemic-detail-grid.is-modal.trade-detail-grid:before{display:none}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide){display:contents}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide) em,.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide) strong,.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide em,.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide strong{display:flex;min-width:0;height:30px;align-items:center;padding:0 8px;border-bottom:1px solid rgba(48,220,255,.1);box-sizing:border-box}.epidemic-detail-grid.is-modal.trade-detail-grid em{justify-content:flex-end;color:#cdeff6a3;font-size:10px;font-style:normal;line-height:14px;text-align:right;background:rgba(139,247,255,.055);border-right:1px solid rgba(48,220,255,.085)}.epidemic-detail-grid.is-modal.trade-detail-grid em:after{content:":"}.epidemic-detail-grid.is-modal.trade-detail-grid strong{min-width:0;margin-top:0;overflow:hidden;color:#fff;font-size:13px;line-height:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;background:rgba(255,255,255,.03)}.epidemic-detail-grid.is-modal.trade-detail-grid span:not(.is-wide):nth-child(odd) strong{border-right:1px solid rgba(48,220,255,.065)}.epidemic-detail-grid.is-modal.trade-detail-grid .is-wide{display:grid;grid-column:1/-1;grid-template-columns:66px minmax(0,1fr)}.epidemic-detail-photos{min-height:0;margin:12px 16px 16px;padding-top:10px;border-top:1px solid rgba(48,220,255,.12)}.epidemic-detail-photo-title{height:18px;color:#8bf7ff;font-size:12px;font-weight:800;line-height:18px}.epidemic-ledger-record-detail .epidemic-modal-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.epidemic-ledger-record-detail .epidemic-modal-photo-strip .epidemic-modal-photo-thumb{height:76px;border-color:#30dcff38;border-radius:2px;background:rgba(4,28,41,.62)}.trade-detail-locate{width:calc(100% - 32px);height:36px;margin:auto 16px 16px;border:1px solid rgba(48,220,255,.34);background:linear-gradient(90deg,rgba(48,220,255,.14),rgba(139,247,255,.08)),rgba(4,28,41,.74);color:#fff;font-size:13px;font-weight:800;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.trade-detail-locate:hover:not(:disabled){border-color:#8bf7ff85;background:linear-gradient(90deg,rgba(139,247,255,.16),rgba(48,220,255,.11)),rgba(8,36,48,.84);box-shadow:0 0 7px #8bf7ff1a}.trade-detail-locate:disabled{opacity:.38;cursor:not-allowed}.trade-overview-card{display:grid;grid-template-rows:minmax(0,1fr) 46px;row-gap:10px;height:100%;padding:14px 13px 10px;box-sizing:border-box}.trade-main-metric{display:flex;min-width:0;flex-direction:column;justify-content:center}.trade-main-metric span,.trade-main-metric strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-main-metric span{color:#ffffffd6;font-size:12px;line-height:14px}.trade-main-metric strong{margin-top:3px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:27px;font-weight:900;line-height:29px}.trade-main-metric strong em{margin-left:5px;color:#ffffffd1;font-style:normal;font-size:12px}.trade-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.trade-metric-grid span{min-width:0;padding:5px 7px;border-left:2px solid rgba(139,247,255,.62);background:linear-gradient(90deg,rgba(139,247,255,.11),rgba(48,220,255,.03));box-sizing:border-box}.trade-metric-grid em,.trade-metric-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-metric-grid em{color:#ffffffc7;font-style:normal;font-size:10px;line-height:11px}.trade-metric-grid strong{margin-top:4px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:13px;line-height:15px;font-weight:900}.trade-risk-card{display:grid;grid-template-rows:30px minmax(0,1fr);gap:5px;height:100%;padding:9px 12px 10px;overflow:hidden;box-sizing:border-box}.trade-risk-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:0 9px;border-left:3px solid rgba(139,247,255,.78);background:linear-gradient(90deg,rgba(139,247,255,.14),rgba(48,220,255,.025)),rgba(3,25,40,.2);box-sizing:border-box}.trade-risk-head span,.trade-risk-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-risk-head span{color:#e2fcffc7;font-size:12px;line-height:16px;font-weight:800}.trade-risk-head strong{flex:0 0 auto;color:#8bf7ff;font-size:12px;line-height:16px;font-weight:900;text-align:right}.trade-risk-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:4px;min-height:0}.trade-risk-row{position:relative;display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:0;padding:3px 8px 3px 10px;overflow:hidden;border:1px solid rgba(48,220,255,.11);background:linear-gradient(90deg,color-mix(in srgb,var(--risk-color) 12%,transparent),rgba(48,220,255,.02)),rgba(4,24,37,.2);box-sizing:border-box}.trade-risk-row:before{content:"";position:absolute;left:0;top:50%;width:2px;height:22px;background:rgba(48,220,255,.78);box-shadow:none;transform:translateY(-50%)}.trade-risk-row i{position:relative;z-index:1;width:8px;height:8px;border-radius:50%;background:var(--risk-color);box-shadow:none}.trade-risk-row span{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;min-width:0;gap:8px}.trade-risk-row em,.trade-risk-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-risk-row em{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-width:0;color:#ffffffe6;font-size:11px;line-height:14px;font-style:normal;font-weight:900}.trade-risk-row em b{flex:0 0 auto;min-width:28px;height:15px;padding:0 5px;border:1px solid color-mix(in srgb,var(--risk-color) 52%,transparent);border-radius:1px;color:var(--risk-color);font-size:10px;line-height:13px;font-weight:900;text-align:center;background:color-mix(in srgb,var(--risk-color) 13%,rgba(3,25,40,.62));box-sizing:border-box}.trade-risk-row small{flex:1 1 auto;min-width:0;color:#e2fcffc2;font-size:10px;line-height:12px;text-align:right}.trade-risk-row.is-high{border-color:#48cfff3d}.trade-risk-row.is-high small{color:#c9fbffe0}.trade-risk-row.is-watch small{color:#8bf7ffd1}.trade-cert-card{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;height:100%;padding:9px 12px;box-sizing:border-box}.trade-cert-main{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px}.trade-cert-main span{min-width:0;padding:7px 8px;border:1px solid rgba(48,220,255,.12);background:rgba(48,220,255,.045)}.trade-cert-main em,.trade-cert-main strong,.trade-cert-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-cert-main em{color:#ffffffc7;font-style:normal;font-size:10px}.trade-cert-main strong{margin-top:4px;color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:18px;line-height:20px;font-weight:900}.trade-cert-main strong b{margin-left:3px;color:#ffffffd1;font-size:10px;font-weight:500}.trade-cert-main small{margin-top:3px;color:#ffffffd1;font-size:10px}.trade-cert-chart{width:108px;height:100%}.trade-dest-list{display:flex;height:100%;flex-direction:column;gap:3px;padding:7px 10px 8px;box-sizing:border-box}.trade-dest-row{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 66px;align-items:center;min-height:0;flex:1 1 0;column-gap:6px;overflow:hidden;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035)}.trade-dest-row:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--trade-ratio);background:linear-gradient(90deg,rgba(139,247,255,.22),rgba(48,220,255,.08))}.trade-dest-row span,.trade-dest-row strong,.trade-dest-row em{position:relative;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-dest-row span{padding-left:7px;color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;font-weight:900}.trade-dest-row strong{color:#fff;font-size:11px;line-height:13px}.trade-dest-row em{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-style:normal;font-size:11px;line-height:13px;text-align:right}.trade-ledger-table,.slaughter-ledger-table{display:flex;height:100%;flex-direction:column;gap:5px;padding:7px 9px 8px;box-sizing:border-box}.trade-ledger-toolbar,.slaughter-ledger-toolbar{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;column-gap:7px;height:29px}.trade-ledger-toolbar>span,.slaughter-ledger-toolbar>span{overflow:hidden;color:#ffffffe6;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-toolbar>div,.slaughter-ledger-toolbar>div{display:grid;grid-template-columns:minmax(0,1fr) 44px 62px;gap:5px}.trade-ledger-toolbar input,.slaughter-ledger-toolbar input,.trade-ledger-toolbar button,.slaughter-ledger-toolbar button{height:25px;min-width:0;border:1px solid rgba(48,220,255,.16);background:rgba(3,25,40,.62);color:#fff;font-size:10px;box-sizing:border-box}.trade-ledger-toolbar input,.slaughter-ledger-toolbar input{padding:0 7px}.trade-ledger-toolbar input::placeholder,.slaughter-ledger-toolbar input::placeholder{color:#ffffff94}.trade-ledger-toolbar button,.slaughter-ledger-toolbar button{border-color:#8bf7ff6b;background:rgba(139,247,255,.12);color:#fff;cursor:pointer}.trade-ledger-toolbar button.is-more,.slaughter-ledger-toolbar button.is-more{border-color:#30dcff57;background:rgba(48,220,255,.12)}.trade-ledger-header,.trade-ledger-rows button{display:grid;grid-template-columns:98px 56px 39px 38px 34px 64px;column-gap:4px;align-items:center}.trade-ledger-header{height:24px;padding:0 6px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.06);box-sizing:border-box}.trade-ledger-header span{color:#ffffffc7;font-size:10px}.trade-ledger-rows{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;overflow:hidden}.trade-ledger-rows button{min-height:0;flex:1 1 0;padding:0 6px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);color:#ffffffe0;cursor:pointer;text-align:left}.trade-ledger-rows button:hover{border-color:#8bf7ff5c;background:linear-gradient(90deg,rgba(139,247,255,.12),rgba(48,220,255,.04));color:#fff}.trade-ledger-rows span,.trade-ledger-rows strong{color:#fff;overflow:hidden;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}.trade-ledger-rows span:first-child{line-height:12px;white-space:normal;word-break:break-all;text-overflow:clip}.trade-ledger-rows strong{color:#8bf7ff;font-weight:700}.trade-ledger-pager,.slaughter-ledger-pager{display:flex;align-items:center;justify-content:flex-end;gap:7px;height:24px}.trade-ledger-pager span,.slaughter-ledger-pager span{margin-right:auto;color:#ffffffd6;font-size:10px}.trade-ledger-pager button,.slaughter-ledger-pager button{height:22px;padding:0 8px;border:1px solid rgba(48,220,255,.18);background:rgba(48,220,255,.07);color:#fff;font-size:10px;cursor:pointer}.trade-ledger-pager button:disabled,.slaughter-ledger-pager button:disabled{opacity:.36;cursor:not-allowed}.slaughter-direction-card{display:flex;height:100%;flex-direction:column;padding:18px 18px 12px;box-sizing:border-box}.slaughter-direction-track{display:flex;width:100%;height:12px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(4,24,36,.72)}.slaughter-direction-track span{min-width:2px;transition:width .4s ease}.slaughter-direction-track .is-inside{background:linear-gradient(90deg,#30dcff,#8bf7ff)}.slaughter-direction-track .is-outside{background:linear-gradient(90deg,#ffd76c,#ff9f43)}.slaughter-direction-track .is-unknown{background:rgba(255,255,255,.28)}.slaughter-direction-total{display:flex;align-items:flex-end;justify-content:space-between;padding:15px 2px 10px;border-bottom:1px solid rgba(48,220,255,.12)}.slaughter-direction-total span{color:#ffffffb8;font-size:11px}.slaughter-direction-total strong{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:24px}.slaughter-direction-total strong em{margin-left:4px;color:#ffffffb3;font-family:var(--screen-font-ui, "Alibaba PuHuiTi", sans-serif);font-size:10px;font-style:normal}.slaughter-direction-list{display:flex;min-height:0;flex:1;flex-direction:column;justify-content:center;gap:7px}.slaughter-direction-list>div{display:grid;grid-template-columns:8px minmax(0,1fr) 54px 58px;align-items:center;gap:7px}.slaughter-direction-list>div i{width:7px;height:7px;border-radius:50%;background:#30dcff;box-shadow:0 0 8px currentColor}.slaughter-direction-list>div span{color:#fff;font-size:12px}.slaughter-direction-list>div span small{display:block;margin-top:2px;color:#ffffff94;font-size:9px}.slaughter-direction-list>div strong,.slaughter-direction-list>div em{color:#fff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:12px;font-style:normal;text-align:right}.slaughter-direction-list>div em{color:#ffffffb3;font-size:10px}.slaughter-direction-list>div.is-outside i{color:#ffd76c;background:#ffd76c}.slaughter-direction-list>div.is-unknown i{color:#ffffff7a;background:rgba(255,255,255,.48)}.slaughter-destination-list{display:flex;height:100%;flex-direction:column;justify-content:center;gap:6px;padding:10px 14px;box-sizing:border-box}.slaughter-destination-row{display:grid;grid-template-columns:22px 72px minmax(0,1fr) 54px;align-items:center;gap:7px}.slaughter-destination-row>span{color:#ffd76c;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);font-size:11px}.slaughter-destination-row>strong,.slaughter-destination-row>em{overflow:hidden;color:#fff;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.slaughter-destination-row>i{height:5px;overflow:hidden;border-radius:3px;background:rgba(48,220,255,.08)}.slaughter-destination-row>i b{display:block;width:var(--destination-width);height:100%;border-radius:inherit;background:linear-gradient(90deg,rgba(48,220,255,.2),#30dcff);box-shadow:0 0 8px #30dcff61}.slaughter-destination-row>em{color:#8bf7ff;font-family:var(--screen-font-number, D-DIN, Arial, sans-serif);text-align:right}.slaughter-ledger-header,.slaughter-ledger-rows button{display:grid;grid-template-columns:89px 42px 42px 36px 66px 60px;align-items:center;column-gap:4px}.slaughter-ledger-header{height:24px;padding:0 6px;border:1px solid rgba(48,220,255,.1);background:rgba(48,220,255,.06);box-sizing:border-box}.slaughter-ledger-header span{color:#ffffffc7;font-size:10px}.slaughter-ledger-rows{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;overflow:hidden}.slaughter-ledger-rows button{min-height:0;flex:1 1 0;padding:0 6px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.035);color:#ffffffe0;cursor:pointer;text-align:left}.slaughter-ledger-rows button:hover{border-color:#ffd76c66;background:rgba(255,215,108,.08)}.slaughter-ledger-rows span,.slaughter-ledger-rows strong{overflow:hidden;color:#fff;font-size:10px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}.slaughter-ledger-rows strong{color:#ffd76c;font-weight:700}.slaughter-ledger-filters{grid-template-columns:minmax(210px,1fr) 150px 150px 145px 110px 76px 76px}.slaughter-ledger-workspace{grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr)}.slaughter-ledger-modal-table-head,.slaughter-ledger-modal-list>button{display:grid;grid-template-columns:116px 54px 54px 58px 70px 110px 88px 106px;align-items:center;column-gap:7px}.slaughter-ledger-modal-table-head{min-height:36px;padding:0 10px;border:1px solid rgba(48,220,255,.12);background:rgba(48,220,255,.08)}.slaughter-ledger-modal-table-head span{color:#ffffffb8;font-size:10px}.slaughter-ledger-modal-list>button{min-height:34px;padding:0 10px;border:1px solid rgba(48,220,255,.08);background:rgba(48,220,255,.025);color:#fff;cursor:pointer;text-align:left}.slaughter-ledger-modal-list>button:hover,.slaughter-ledger-modal-list>button.active{border-color:#ffd76c75;background:rgba(255,215,108,.08)}.slaughter-ledger-modal-list>button span,.slaughter-ledger-modal-list>button strong{overflow:hidden;color:#fff;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.slaughter-ledger-modal-list>button strong{color:#ffd76c} diff --git a/docs/assets/index-ee3df49c-balabala-1786725044461.css b/docs/assets/index-ee3df49c-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-ee3df49c-balabala-1786725044461.css rename to docs/assets/index-ee3df49c-balabala-1786807848259.css diff --git a/docs/assets/index-f7860674-1786725044461.js b/docs/assets/index-f7860674-1786725044461.js deleted file mode 100644 index 9b379a7..0000000 --- a/docs/assets/index-f7860674-1786725044461.js +++ /dev/null @@ -1,116 +0,0 @@ -var kl=Object.defineProperty,Pl=Object.defineProperties;var Cl=Object.getOwnPropertyDescriptors;var yr=Object.getOwnPropertySymbols;var Fl=Object.prototype.hasOwnProperty,Nl=Object.prototype.propertyIsEnumerable;var va=Math.pow,br=(h,e,t)=>e in h?kl(h,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):h[e]=t,F=(h,e)=>{for(var t in e||(e={}))Fl.call(e,t)&&br(h,t,e[t]);if(yr)for(var t of yr(e))Nl.call(e,t)&&br(h,t,e[t]);return h},$=(h,e)=>Pl(h,Cl(e));var oe=(h,e,t)=>new Promise((a,n)=>{var r=c=>{try{u(t.next(c))}catch(p){n(p)}},o=c=>{try{u(t.throw(c))}catch(p){n(p)}},u=c=>c.done?a(c.value):Promise.resolve(c.value).then(r,o);u((t=t.apply(h,e)).next())});import{k as ai,q as Qr,h as es,w as Zt,o as x,c as _,a as f,d as V,a2 as xl,A as Ut,a3 as Rl,g as S,a4 as Ve,s as Je,v as Il,C as Xa,u as W,j as Le,n as De,t as P,F as Q,y as de,b as Y,x as ne,K as Ft,B as jt,e as Ja,H as ta,f as Qa,a6 as wa}from"./index-1786725044461.js";import{H as Pe}from"./index.esm.min-90d27a39-1786725044461.js";import{_ as le}from"./index-262a2c3c-1786725044461.js";import{t as Jn,S as la,u as dn,v as Pa,w as _l,V as te,F as Gl,C as gt,G as Te,c as Al,d as Bl,f as El,g as Hn,L as aa,D as Re,a as ye,h as en,R as at,A as Ie,N as vr,b as je,P as $t,o as na,n as ia,x as $l,T as Vl,B as Dl,i as zl,j as Ol,k as Wl,l as Yl,m as jl,y as Hl,z as La,E as wr,H as Lr,I as ql,J as Tr,q as Sr,r as Ul,s as Mr,K as Ta,U as qn,W as kr,M as Kl}from"./screen2Standard-3427eaf8-1786725044461.js";import{g as Kt,M as Zl,h as Xl,L as Jl,B as Sa,a as ra,E as Pr,G as tn,D as Ql,b as eu,l as tu,P as Cr,c as Fr}from"./three.interactive-b0c27e96-1786725044461.js";import{g as sa}from"./index-db918426-1786725044461.js";import{h as au,a as ts,k as j,W as yt,S as nu,l as Un,m as iu,M as ru,n as su,o as ou}from"./index-151544a4-1786725044461.js";import{_ as lu}from"./TopicSwitcher-06eba150-1786725044461.js";import{_ as uu}from"./LayerPanel-48d446bf-1786725044461.js";import{A as cu}from"./assets-cf9c305b-1786725044461.js";import"./_plugin-vue_export-helper-c27b6911-1786725044461.js";const du=au.map(h=>F({},h)),Nr=ts.map(h=>F({},h)),hu=ts.map(h=>{var e,t;return{name:h.name,value:h.value,lng:(e=h.center)==null?void 0:e[0],lat:(t=h.center)==null?void 0:t[1]}}),pu=[{name:"邛溪镇",level:"县城驻地",value:895.94,lng:102.60242339873115,lat:32.83022561372293},{name:"瓦切镇",level:"北部牧区",value:991,lng:102.71535664604494,lat:33.12869670968013},{name:"刷经寺镇",level:"南部通道",value:986.44,lng:102.55651980382184,lat:32.204097908180216},{name:"色地镇",level:"东部片区",value:1199.06,lng:103.12540730227074,lat:33.010462261362875}],ca=256,Qn="/external/satellite/{z}/{x}/{y}.png",fu=900,mu=10,Xt=new Map,da={west:101.852492,south:31.851389,east:103.347518,north:33.319796};function Kn(h,e,t){const a=va(2,t),n=Math.sin(e*Math.PI/180);return{x:(h+180)/360*a,y:(.5-Math.log((1+n)/(1-n))/(4*Math.PI))*a}}function xr(h,e,t){const a=va(2,t),n=h/a*360-180,r=Math.PI-2*Math.PI*e/a,o=180/Math.PI*Math.atan(.5*(Math.exp(r)-Math.exp(-r)));return[n,o]}function an(h,e,t){return Math.max(e,Math.min(t,h))}function as(h,e,{centerLngLat:t,maxCols:a,maxRows:n}={}){const r=Kn(h.west,h.north,e),o=Kn(h.east,h.south,e),u=Math.floor(r.x),c=Math.floor(o.x),p=Math.floor(r.y),y=Math.floor(o.y);let g=u,L=c,T=p,C=y,N=Math.floor((u+c)/2),B=Math.floor((p+y)/2);if(t&&Number.isFinite(a)&&Number.isFinite(n)){const z=an(Number(t[0]),h.west,h.east),X=an(Number(t[1]),h.south,h.north),ae=Kn(z,X,e);N=Math.floor(ae.x),B=Math.floor(ae.y);const q=Math.max(1,Math.min(Math.floor(a),c-u+1)),I=Math.max(1,Math.min(Math.floor(n),y-p+1));g=an(N-Math.floor(q/2),u,c-q+1),T=an(B-Math.floor(I/2),p,y-I+1),L=g+q-1,C=T+I-1}return{zoom:e,minX:g,maxX:L,minY:T,maxY:C,centerX:N,centerY:B,cols:L-g+1,rows:C-T+1}}function gu({zoom:h=11,centerLngLat:e,maxCols:t,maxRows:a,bounds:n=da}={}){return as(n,h,{centerLngLat:e,maxCols:t,maxRows:a})}function yu(h,e){const[t,a]=xr(h.minX,h.minY,h.zoom),[n,r]=xr(h.maxX+1,h.maxY+1,h.zoom),[o]=e([t,da.south]),[u]=e([n,da.south]),[,c]=e([da.west,a]),[,p]=e([da.west,r]);return{left:o,right:u,bottom:-p,top:-c}}function bu(h,e){const{width:t,height:a}=e;h.save(),h.globalCompositeOperation="multiply",h.fillStyle="rgba(5, 24, 34, 0.22)",h.fillRect(0,0,t,a),h.globalCompositeOperation="screen";const n=h.createRadialGradient(t*.5,a*.48,t*.1,t*.5,a*.5,t*.72);n.addColorStop(0,"rgba(80, 230, 255, 0.16)"),n.addColorStop(1,"rgba(0, 18, 36, 0.03)"),h.fillStyle=n,h.fillRect(0,0,t,a),h.restore()}function vu(h,e){const t=h.createLinearGradient(0,0,e.width,e.height);t.addColorStop(0,"#061927"),t.addColorStop(.5,"#0b2c3c"),t.addColorStop(1,"#07131f"),h.fillStyle=t,h.fillRect(0,0,e.width,e.height)}function wu(h){const e=Xt.get(h);return e||new Promise(t=>{const a=new Image;a.crossOrigin="anonymous",a.onload=()=>t(a),a.onerror=()=>{Xt.delete(h),t(null)},a.src=h})}function Lu(h){const e=Xt.get(h);if(e)return e;const t=wu(h);for(Xt.set(h,t);Xt.size>fu;){const a=Xt.keys().next().value;if(!a)break;Xt.delete(a)}return t}function Tu(h,e,t,a=Qn){return String(a||Qn).replace(/\{x\}/g,h).replace(/\{y\}/g,e).replace(/\{z\}/g,t)}function Su(u,c,p,y){return oe(this,arguments,function*(h,e,t,a,{tileUrlTemplate:n,onTileStatus:r,applyTone:o=!0}={}){const g=[],L=a.cols*a.rows;let T=0,C=0;r==null||r({type:"loading",text:`正在加载${a.zoom}级影像底图`,loaded:T,failed:C,total:L,zoom:a.zoom,tileRange:a,tileUrlTemplate:n}),h.save(),h.filter="brightness(0.92) contrast(1.22) saturate(1.06)";for(let q=a.minX;q<=a.maxX;q+=1)for(let I=a.minY;I<=a.maxY;I+=1)g.push({x:q,y:I});g.sort((q,I)=>Math.abs(q.x-a.centerX)+Math.abs(q.y-a.centerY)-(Math.abs(I.x-a.centerX)+Math.abs(I.y-a.centerY)));let N=0;function B(){return oe(this,null,function*(){for(;N0?T/L:0,X=T===0?"error":z>=.75?"success":"warning",ae=T===L?`${a.zoom}级影像底图已加载`:T>0?`${a.zoom}级影像底图已加载(${T}/${L}张有效瓦片)`:`${a.zoom}级影像底图加载失败`;r==null||r({type:X,text:ae,loaded:T,failed:C,total:L,zoom:a.zoom,tileRange:a,tileUrlTemplate:n})})}function Rr({geoProjectionCenter:h,geoProjectionScale:e,zoom:t=11,tileUrlTemplate:a=Qn,onTileStatus:n,centerLngLat:r,maxCols:o,maxRows:u,transparentBackground:c=!1,applyTone:p=!0}={}){const y=as(da,t,{centerLngLat:r,maxCols:o,maxRows:u}),g=document.createElement("canvas");g.width=y.cols*ca,g.height=y.rows*ca;const L=g.getContext("2d");c?L.clearRect(0,0,g.width,g.height):vu(L,g);const T=new Jn(g);T.colorSpace=la,T.wrapS=dn,T.wrapT=dn,T.minFilter=Pa,T.magFilter=Pa,T.needsUpdate=!0;const C=Kt().center(h).scale(e).translate([0,0]),N=yu(y,C);return Su(L,g,T,y,{tileUrlTemplate:a,onTileStatus:n,applyTone:p}).catch(B=>{console.warn("load satellite tiles failed:",B),n==null||n({type:"error",text:`${y.zoom}级影像底图加载失败`,loaded:0,failed:y.cols*y.rows,total:y.cols*y.rows,zoom:y.zoom,tileRange:y,tileUrlTemplate:a})}),{texture:T,uvBounds:N,tileRange:y}}function Ir(h,e){const t=e.right-e.left,a=e.top-e.bottom;h.mapGroup.traverse(n=>{var u,c;const r=(c=(u=n.geometry)==null?void 0:u.attributes)==null?void 0:c.position;if(!n.isMesh||!r)return;const o=new Float32Array(r.count*2);for(let p=0;p{n!=null&&n!==""&&t.append(a,n)}),`${h}${h.includes("?")?"&":"?"}${t.toString()}`}function Pu(h,e={}){const t=e.bounds||j,a=e.size||yt;return hn(e.url||ni,{service:"WMS",version:"1.1.1",request:"GetMap",layers:h.layerName,styles:h.styles||"",format:"image/png",transparent:!0,tiled:!0,srs:"EPSG:4326",bbox:[t.west,t.south,t.east,t.north].join(","),width:a.width,height:a.height,CQL_FILTER:e.cqlFilter||h.cqlFilter,SLD_BODY:e.sldBody||h.sldBody,_:Date.now()})}function Cu(h,e={}){var r,o,u,c,p;const t=h.tileMatrixSetID||h.tileMatrixSet||"EPSG:900913",a=Number((c=(u=(o=(r=e.z)!=null?r:e.zoom)!=null?o:h.wmtsZoom)!=null?u:h.homeWmtsZoom)!=null?c:0),n=e.tileMatrix||((p=h.tileMatrixLabels)==null?void 0:p[a])||`${t}:${a}`;return hn(e.url||h.url||ku,{service:"WMTS",version:"1.0.0",request:"GetTile",layer:h.layerName,style:h.style||h.styles||"",format:h.format||"image/png",tileMatrixSet:t,tileMatrix:n,tileRow:e.y,tileCol:e.x})}function Fu(h,e,t={}){var r,o;const a=t.bounds||j,n=t.size||yt;return hn(t.url||ni,{service:"WMS",version:"1.1.1",request:"GetFeatureInfo",layers:h.layerName,query_layers:h.layerName,styles:h.styles||"",info_format:"application/json",feature_count:5,srs:"EPSG:4326",bbox:[a.west,a.south,a.east,a.north].join(","),width:n.width,height:n.height,x:Math.round(e.x),y:Math.round(e.y),buffer:(o=(r=t.buffer)!=null?r:h.queryBuffer)!=null?o:8,CQL_FILTER:t.cqlFilter||h.cqlFilter,SLD_BODY:t.sldBody||h.sldBody})}function _r(a,n){return oe(this,arguments,function*(h,e,t={}){const r=Fu(h,e,t);return ai(r,{credentials:"include"})})}function Nu(h,e={}){return hn(e.url||Mu,{service:"WFS",version:e.version||"1.0.0",request:"GetFeature",typeName:h,outputFormat:"json",propertyName:Array.isArray(e.propertyName)?e.propertyName.join(","):e.propertyName,CQL_FILTER:e.cqlFilter,maxFeatures:e.maxFeatures||2e5})}function Gr(t){return oe(this,arguments,function*(h,e={}){const a=Nu(h,e);return ai(a,{credentials:"include",timeout:e.timeout||2e4})})}const xu=new te(-.17427287762525134,13.678992786206543,20.688611202093714),Ru=new te(0,0,0),Iu=new te(-13.767695123014105,12.990152163077308,39.28228164159694),nn=21,_u=9,Gu=260,Au=12,Bu=700,oa=new Map,Ar="#30DCFF",Eu="#F2FFFF",$u="#8BF7FF",Br=3202303,Vu=15925247,Er=9172991,$r={"family-pasture":"pasture","artificial-grassland":"grass","scale-breeding":"breeding","forage-storage":"storage","slaughter-processing":"processing","farm-equipment":"equipment","social-service":"service"};function Vr(h){return h.sort((e,t)=>t.value-e.value),h}function nt(h){return String(h||"").replace(/\s+/g,"").trim()}function ue(h,e=0){const t=Number(h);return Number.isFinite(t)?t:e}function Ht(h,e,t){const a=Number(h);return Number.isFinite(a)?Math.max(e,Math.min(t,a)):e}function Se(h){return String(h!=null?h:"").replace(/[&<>"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e])}function Dr(h){return(h==null?void 0:h.scope)==="village"||(h==null?void 0:h.labelMode)==="village"}function zr(h){return(h==null?void 0:h.scope)==="trade-flow"||(h==null?void 0:h.labelMode)==="trade-flow"}function Du(h){return(h==null?void 0:h.showFlowLines)!==!1}function Or(h){return!!(h!=null&&h.hideTownNames||(h==null?void 0:h.showTownNames)===!1)}function Ma(h){return!!(h!=null&&h.hideMapLabels||(h==null?void 0:h.showMapLabels)===!1)}function zu(h){return(h==null?void 0:h.displayMode)==="callout"||(h==null?void 0:h.labelMode)==="callout"}function rn(h){return["wkt-api","geojson","wfs"].includes(String((h==null?void 0:h.sourceType)||"").toLowerCase())}function Ou(h){return(h==null?void 0:h.interactive)===!1||(h==null?void 0:h.key)==="yak-recognition-layer"}function Wr(h){return String((h==null?void 0:h.sourceType)||"").toLowerCase()==="wmts"}function Yr(h,e,t){const a=va(2,t),n=Math.sin(e*Math.PI/180);return{x:(h+180)/360*a,y:(.5-Math.log((1+n)/(1-n))/(4*Math.PI))*a}}function jr(h,e,t){const a=va(2,t),n=h/a*360-180,r=Math.PI-2*Math.PI*e/a,o=180/Math.PI*Math.atan(.5*(Math.exp(r)-Math.exp(-r)));return[n,o]}function Wu(h,e){const t=Yr(h.west,h.north,e),a=Yr(h.east,h.south,e);return{minX:Math.floor(t.x),maxX:Math.floor(a.x),minY:Math.floor(t.y),maxY:Math.floor(a.y)}}function Yu(h,e,t,a){const[n,r]=jr(h,e,t),[o,u]=jr(h+1,e+1,t),c=j.east-j.west,p=j.north-j.south;return{x:(n-j.west)/c*a.width,y:(j.north-r)/p*a.height,width:(o-n)/c*a.width,height:(r-u)/p*a.height}}function ju(h){const e=oa.get(h);if(e)return e;const t=new Promise(a=>{const n=new Image;n.crossOrigin="anonymous",n.onload=()=>a(n),n.onerror=()=>{oa.delete(h),a(null)},n.src=h});for(oa.set(h,t);oa.size>Bu;){const a=oa.keys().next().value;if(!a)break;oa.delete(a)}return t}function Hr(h){return h?/^https?:\/\//.test(h)||h.startsWith("/")?h:`./${h}`:""}function Hu(h){if(!h)return null;if(typeof h=="string")try{return JSON.parse(h)}catch(e){return console.warn("地图 GeoJSON 解析失败",e),null}return h}function ka(h){const e=Hu(h);return e!=null&&e.features&&e.features.forEach(t=>{var a;((a=t.geometry)==null?void 0:a.type)==="Polygon"&&(t.geometry.coordinates=[t.geometry.coordinates])}),e}function qr(h){var e,t,a;return h!=null&&h.coordinates?h.type==="Polygon"?Array.isArray((a=(t=(e=h.coordinates)==null?void 0:e[0])==null?void 0:t[0])==null?void 0:a[0])?h.coordinates:[h.coordinates]:h.type==="MultiPolygon"?h.coordinates:[]:[]}class qu extends Zl{constructor(e,t,a={}){var u,c,p,y;super(e),this.geoProjectionCenter=[102.6305459723107,32.72169252326339],this.geoProjectionScale=650,this.tradeGeoProjectionCenter=[104,36],this.tradeGeoProjectionScale=11.4,this.tradeNationalDepth=.24,this.depth=.5,this.clicked=!1,this.scene.fog=new Gl(466735,1,50),this.scene.background=new gt(466735),this.camera.instance.position.copy(Iu),this.camera.instance.near=1,this.camera.instance.far=1e4,this.camera.instance.updateProjectionMatrix(),this.defaultMapCameraPosition=xu.clone(),this.defaultMapTarget=Ru.clone(),this.camera.controls.target.copy(this.defaultMapTarget),this.camera.controls.update(),this.activeMapViewTweens=[],this.sceneTweens=[],this.sceneTimers=[],this.interactionManager=new Xl(this.renderer.instance,this.camera.instance,this.canvas),this.assets=t,this.callbacks=a,this.useSatelliteBase=a.useSatelliteBase!==!1,this.showNationalBackdrop=a.showNationalBackdrop===!0,this.topicLayerPresentation=a.topicLayerPresentation||"default",this.hideTownLabelStatsByDefault=a.hideTownLabelStats===!0,this.tileUrlTemplate=a.tileUrlTemplate||"",this.usesCustomSatelliteTiles=this.useSatelliteBase&&!!this.tileUrlTemplate;const n=Math.round(Number(a.satelliteTextureZoom));this.satelliteTextureZoom=Number.isFinite(n)&&n>0?Math.min(nn,n):nu;const r=Math.round(Number(a.satelliteMaxZoom)),o=Number.isFinite(r)&&r>0?Math.min(nn,Math.max(this.satelliteTextureZoom,r)):nn;this.adminBoundaryLineScale=this.normalizeAdminBoundaryLineScale(a.adminBoundaryLineScale),this.mapBoundaryEmphasisMaterial=null,this.dynamicSatelliteMaxZoom=o,this.dynamicSatelliteTileWindow=_u,this.dynamicSatelliteOverlay=null,this.dynamicSatelliteMaterial=null,this.dynamicSatelliteTexture=null,this.dynamicSatelliteCurrentKey="",this.dynamicSatelliteLoadingKey="",this.dynamicSatelliteRequestId=0,this.dynamicSatelliteLastCheck=0,this.topicLayerLoadId=0,this.visibleTopicLayers=[],this.mapAnimationComplete=!1,this.showTownRankingBars=!1,this.showTownRankingPointMarkers=!1,this.currentTownRanking=null,this.villageRankingGroup=null,this.villageRankingLabels=[],this.tradeFlowGroup=null,this.tradeFlowMeshGroup=null,this.tradeFlowLabelGroup=null,this.tradeFlowLabels=[],this.tradeFlowMaterials=[],this.tradeFlowPulseSprites=[],this.isTradeNationalMapActive=!1,this.selectedFeatureGroup=null,this.selectedVectorFeatures=[],this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.currentVectorFeatures=[],this.yakIndustryPointLabelGroup=null,this.yakIndustryPointLabels=[],this.yakIndustryPointMarkerGroup=null,this.yakIndustryPointMarkers=[],this.yakIndustryMarkerMaterialCache=new Map,this.hongyuanBoundaryPolygons=[],this.townMetaByName=new Map(Nr.map(g=>[nt(g.name),g])),this.staticMapData={china:ka(this.assets.instance.getResource("china")),mapJson:ka(this.assets.instance.getResource("mapJson")),mapStroke:ka(this.assets.instance.getResource("mapStroke"))},this.handleCanvasBoundaryPointerDown=this.handleCanvasBoundaryPointerDown.bind(this),this.handleCanvasBoundaryDoubleClick=this.handleCanvasBoundaryDoubleClick.bind(this),(c=(u=this.canvas)==null?void 0:u.addEventListener)==null||c.call(u,"pointerdown",this.handleCanvasBoundaryPointerDown,!0),(y=(p=this.canvas)==null?void 0:p.addEventListener)==null||y.call(p,"dblclick",this.handleCanvasBoundaryDoubleClick,!0),this.initEnvironment(),this.init()}init(){this.labelGroup=new Te,this.label3d=new Jl(this),this.labelGroup.rotation.x=-Math.PI/2,this.scene.add(this.labelGroup),this.flyLineFocusGroup=new Te,this.flyLineFocusGroup.visible=!1,this.flyLineFocusGroup.rotation.x=-Math.PI/2,this.scene.add(this.flyLineFocusGroup),this.eventElement=[],this.defaultMaterial=null,this.defaultLightMaterial=null,this.createBottomBg(),this.createChinaBlurLine(),this.createGrid(),this.createRotateBorder(),this.createLabel(),this.createMap(),this.createEvent(),this.createFlyLine(),this.createFocus(),this.createParticles(),this.createScatter(),this.createInfoPoint(),this.createStorke();let e=sa.timeline({onComplete:()=>{if(this.mapAnimationComplete=!0,this.applyLayerMapView(this.currentTopicLayer,{force:!0}),this.setTradeNationalMapVisible(!1),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Ma(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}});e.pause(),this.animateTl=e,e.addLabel("focusMap",1.5),e.addLabel("focusMapOpacity",2),e.addLabel("bar",3),e.to(this.camera.instance.position,{duration:2,x:this.defaultMapCameraPosition.x,y:this.defaultMapCameraPosition.y,z:this.defaultMapCameraPosition.z,ease:"circ.out",onStart:()=>{this.flyLineFocusGroup.visible=!1}}),e.to(this.focusMapGroup.position,{duration:1,x:0,y:0,z:0},"focusMap"),e.to(this.focusMapGroup.scale,{duration:1,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{if(this.flyLineGroup.visible=!0,this.scatterGroup.visible=!0,this.InfoPointGroup.visible=!Ma(this.currentTownRanking)&&this.showTownRankingPointMarkers&&this.hasTownRankingRows(),this.setTradeNationalMapVisible(!1),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Ma(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}},"focusMap"),e.to(this.focusMapTopMaterial,{duration:1,opacity:this.getFocusMapTopOpacity(),ease:"circ.out"},"focusMapOpacity"),e.to(this.focusMapSideMaterial,{duration:1,opacity:1,ease:"circ.out",onComplete:()=>{this.focusMapSideMaterial.transparent=!1}},"focusMapOpacity"),this.otherLabel.map((a,n)=>{let r=a.element.querySelector(".other-label");e.to(r,{duration:1,delay:.1*n,translateY:0,opacity:1,ease:"circ.out"},"focusMapOpacity")}),e.to(this.mapLineMaterial,{duration:.5,delay:.3,opacity:1},"focusMapOpacity"),this.mapBoundaryEmphasisMaterial&&e.to(this.mapBoundaryEmphasisMaterial,{duration:.5,delay:.3,opacity:this.getAdminBoundaryEmphasisOpacity()},"focusMapOpacity"),e.to(this.rotateBorder1.scale,{delay:.3,duration:1,x:1,y:1,z:1,ease:"circ.out"},"focusMapOpacity"),e.to(this.rotateBorder2.scale,{duration:1,delay:.5,x:1,y:1,z:1,ease:"circ.out",onComplete:()=>{var a,n;this.flyLineFocusGroup.visible=!0,(n=(a=this.callbacks).onPlayComplete)==null||n.call(a)}},"focusMapOpacity"),this.showTownRankingBars&&(this.allBar.map((a,n)=>{e.to(a.scale,{duration:1,delay:.1*n,x:1,y:1,z:1,ease:"circ.out"},"bar")}),this.allBarMaterial.map((a,n)=>{e.to(a,{duration:1,delay:.1*n,opacity:1,ease:"circ.out"},"bar")}));const t=this;this.allProvinceLabel.map((a,n)=>{let r=a.element.querySelector(".provinces-label-wrap"),o=a.element.querySelector(".number .value"),u={progress:0};e.to(r,{duration:1,delay:.2*n,translateY:0,opacity:1,ease:"circ.out"},"bar"),e.to(u,{duration:1,delay:.2*n,progress:1,onStart:()=>{u.progress=0},onUpdate:c},"bar");function c(){var y,g;const p=ue((g=(y=a.userData)==null?void 0:y.targetValue)!=null?g:o.dataset.targetValue);o.innerText=t.formatMapRankingValue(p*u.progress)}}),this.showTownRankingBars&&this.allGuangquan.map((a,n)=>{e.to(a.children[0].scale,{duration:1,delay:.1*n,x:1,y:1,z:1,ease:"circ.out"},"bar"),e.to(a.children[1].scale,{duration:1,delay:.1*n,x:1,y:1,z:1,ease:"circ.out"},"bar")})}initEnvironment(){let e=new Al(13171711,4.2);this.scene.add(e);let t=new Bl(14679295,5.8);t.position.set(-30,6,-8),t.castShadow=!0,t.shadow.radius=20,t.shadow.mapSize.width=1024,t.shadow.mapSize.height=1024,this.scene.add(t),this.createPointLight({color:"#1fd6df",intensity:680,distance:1e4,x:-9,y:3,z:-3}),this.createPointLight({color:"#2af0c6",intensity:260,distance:1e4,x:0,y:2,z:5})}createPointLight(e){const t=new El(1924702,e.intensity,e.distance);t.position.set(e.x,e.y,e.z),this.scene.add(t)}createMap(){let e=new Te,t=new Te;this.mapGroup=e,this.focusMapGroup=t;let{china:a,chinaTopLine:n}=this.createChina(),{map:r,mapTop:o,mapLine:u,mapBoundaryEmphasis:c}=this.createProvince();this.createNationalBackdrop(),a.setParent(e),n.setParent(e),this.createDiffuse(),r.setParent(t),o.setParent(t),u.setParent(t),c==null||c.setParent(t),t.position.set(0,0,-.01),t.scale.set(1,1,0),e.add(t),this.createTopicLayer(),e.rotation.x=-Math.PI/2,e.position.set(0,.2,0),this.scene.add(e),this.createBar()}createChina(){let e={chinaBgMaterialColor:"#0d3349",lineColor:"#39c7ef"},t=this.staticMapData.china,a=new Hn({color:new gt(e.chinaBgMaterialColor),transparent:!0,opacity:.72}),n=new Sa(this,{data:t,geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,merge:!0,material:a,renderOrder:2}),r=new aa({color:e.lineColor,transparent:!0,opacity:.58}),o=new ra(this,{data:t,geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,material:r,renderOrder:3});return o.lineGroup.position.z+=.01,{china:n,chinaTopLine:o}}createNationalBackdrop(){var p;if(!this.showNationalBackdrop||this.nationalBackdropGroup)return!1;let e=null;try{e=ka(this.assets.instance.getResource("chinaMap"))}catch(y){return console.warn("首页全国底图资源未加载",y),!1}if(!((p=e==null?void 0:e.features)!=null&&p.length))return!1;const t=this.geoProjectionCenter,a=120,n=new te(0,0,-.08),r=new Hn({color:new gt("#152c47"),transparent:!0,opacity:.72,depthWrite:!1,fog:!1,side:Re}),o=new Sa(this,{data:e,geoProjectionCenter:t,geoProjectionScale:a,merge:!0,position:n,material:r,renderOrder:0});o.mapGroup.name="home-national-backdrop-fill",o.setParent(this.mapGroup);const u=new aa({color:new gt("#3f82cd"),transparent:!0,opacity:.46,depthWrite:!1,fog:!1}),c=new ra(this,{data:e,geoProjectionCenter:t,geoProjectionScale:a,position:new te(n.x,n.y,n.z+.01),material:u,renderOrder:1});return c.lineGroup.name="home-national-backdrop-line",c.setParent(this.mapGroup),this.nationalBackdropGroup=o.mapGroup,this.nationalBackdropLineGroup=c.lineGroup,!0}createTradeNationalMap(){var g;if(this.tradeNationalMapGroup)return!0;let e=null;try{e=ka(this.assets.instance.getResource("chinaMap"))}catch(L){return console.warn("牦牛交易全国地图资源未加载",L),!1}const t=e;if(!e||!((g=t==null?void 0:t.features)!=null&&g.length))return!1;const a=new Te;a.name="trade-national-map",a.visible=!1,a.rotation.x=-Math.PI/2,a.position.set(0,.04,0);const n=new ye({color:403001,transparent:!0,opacity:.14,side:Re,depthWrite:!1,fog:!1});new Sa(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,position:new te(.05,-.05,-.03),material:n,renderOrder:17}).setParent(a);const{topMaterial:o,sideMaterial:u}=this.createTradeNationalMaterials(),c=new Pr(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,position:new te(0,0,0),depth:this.tradeNationalDepth,topFaceMaterial:o,sideMaterial:u,renderOrder:20,bevelThickness:.024,bevelSegments:1});c.mapGroup.traverse(L=>{L.isMesh&&(L.renderOrder=20)}),c.setParent(a);const p=new aa({color:4777983,transparent:!0,opacity:.52,fog:!1,depthTest:!1}),y=new ra(this,{data:e,geoProjectionCenter:this.tradeGeoProjectionCenter,geoProjectionScale:this.tradeGeoProjectionScale,material:p,renderOrder:21});return y.lineGroup.position.z+=this.tradeNationalDepth+.055,y.setParent(a),this.scene.add(a),this.tradeNationalMapGroup=a,this.createTradeNationalLabels(t),!0}createTradeNationalMaterials(){const e=new en({color:16777215,transparent:!0,opacity:.54,roughness:.84,metalness:.08,side:Re,fog:!1});new tn(e,{uColor1:827317,uColor2:403515,size:6.8,dir:"x"});const t=this.assets.instance.getResource("side").clone();t.wrapS=at,t.wrapT=at,t.repeat.set(1,1.2),t.needsUpdate=!0;const a=new en({color:1485501,map:t,transparent:!0,opacity:.58,roughness:.78,metalness:.04,side:Re,fog:!1});return new tn(a,{uColor1:1354174,uColor2:134940,size:Math.max(this.tradeNationalDepth,.1),dir:"y"}),this.time.on("tick",()=>{t.offset.y+=.004}),{topMaterial:e,sideMaterial:a}}createTradeNationalLabels(e){this.tradeNationalLabelGroup=new Te,this.tradeNationalLabelGroup.name="trade-national-label",this.tradeNationalLabelGroup.rotation.x=-Math.PI/2,this.tradeNationalLabelGroup.visible=!1,this.scene.add(this.tradeNationalLabelGroup),this.tradeNationalLabels=[];const t=new Set(["四川","青海","甘肃","陕西","重庆","云南","西藏","新疆"]);(e.features||[]).forEach(a=>{var c;const n=((c=a.properties)==null?void 0:c.name)||"",r=this.normalizeTradeProvinceName(n);if(!t.has(r))return;const o=this.getFeatureCenterLngLat(a);if(!o)return;const u=this.label3d.create("","trade-national-label",!0);u.init(`
    ${Se(r)}
    `,this.getTradeLocalPoint(o.lng,o.lat,.82)),this.label3d.setLabelStyle(u,.012,"x"),u.setParent(this.tradeNationalLabelGroup),u.visible=!0,this.tradeNationalLabels.push(u)})}normalizeTradeProvinceName(e=""){return String(e).replace(/省|市|自治区|壮族|回族|维吾尔|特别行政区/g,"").trim()}getFeatureCenterLngLat(e){var r,o,u;const t=((r=e==null?void 0:e.properties)==null?void 0:r.cp)||((o=e==null?void 0:e.properties)==null?void 0:o.centroid)||((u=e==null?void 0:e.properties)==null?void 0:u.center);if(Array.isArray(t)&&Number.isFinite(Number(t[0]))&&Number.isFinite(Number(t[1])))return{lng:Number(t[0]),lat:Number(t[1])};const a=this.getGeometryCoordinateList(e==null?void 0:e.geometry);if(!a.length)return null;const n=a.reduce((c,p)=>({minLng:Math.min(c.minLng,Number(p[0])),maxLng:Math.max(c.maxLng,Number(p[0])),minLat:Math.min(c.minLat,Number(p[1])),maxLat:Math.max(c.maxLat,Number(p[1]))}),{minLng:1/0,maxLng:-1/0,minLat:1/0,maxLat:-1/0});return{lng:(n.minLng+n.maxLng)/2,lat:(n.minLat+n.maxLat)/2}}isHomeTopicPresentation(){return this.topicLayerPresentation==="home"}createProvince(){let e=this.staticMapData.mapJson;this.mapJsonData=e;const t=this.useSatelliteBase?Rr({geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,zoom:this.satelliteTextureZoom,tileUrlTemplate:this.tileUrlTemplate,onTileStatus:g=>{var L,T;return(T=(L=this.callbacks).onTileStatus)==null?void 0:T.call(L,g)}}):null;t!=null&&t.texture&&this.enhanceTexture(t.texture);let[a,n]=this.createProvinceMaterial();this.focusMapTopMaterial=a,this.focusMapSideMaterial=n;let r=new Pr(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new te(0,0,.11),data:e,depth:this.depth,topFaceMaterial:a,sideMaterial:n,renderOrder:9}),o=new en({color:this.useSatelliteBase?16777215:13172735,map:(t==null?void 0:t.texture)||null,transparent:!0,opacity:this.useSatelliteBase?this.usesCustomSatelliteTiles?1:.94:this.isHomeTopicPresentation()?.58:.88,roughness:this.useSatelliteBase?this.usesCustomSatelliteTiles?.7:.82:.66,metalness:this.useSatelliteBase?0:.08});this.usesCustomSatelliteTiles||new tn(o,{uColor1:this.useSatelliteBase?1629410:this.isHomeTopicPresentation()?683906:1227744,uColor2:this.useSatelliteBase?757673:this.isHomeTopicPresentation()?406090:38069,size:this.useSatelliteBase?15:8.6}),this.defaultMaterial=o,this.defaultLightMaterial=this.defaultMaterial.clone(),this.defaultLightMaterial.color=new gt("rgba(128,244,255,1)"),this.defaultLightMaterial.opacity=.9;let u=new Sa(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new te(0,0,this.depth+.22),data:e,material:o,renderOrder:this.usesCustomSatelliteTiles?14:8});this.satelliteMapTop=u,this.satelliteMaterial=o,t!=null&&t.uvBounds&&Ir(u,t.uvBounds),u.mapGroup.children.map(g=>{g.children.map(L=>{L.type==="Mesh"&&this.eventElement.push(L)})}),this.mapLineMaterial=new aa({color:12254463,opacity:0,transparent:!0,linewidth:this.adminBoundaryLineScale,fog:!1});let c=new ra(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:e,material:this.mapLineMaterial,renderOrder:this.isHomeTopicPresentation()?34:26});c.lineGroup.position.z+=this.depth+(this.isHomeTopicPresentation()?.315:.285);let p=null;const y=this.getAdminBoundaryEmphasisRadius();return y>0&&(this.mapBoundaryEmphasisMaterial=new ye({color:9632767,transparent:!0,opacity:0,depthTest:!1,depthWrite:!1,fog:!1,blending:Ie}),p=new ra(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,data:e,material:this.mapBoundaryEmphasisMaterial,renderOrder:this.usesCustomSatelliteTiles?24:18,type:"Line3",tubeRadius:y}),p.lineGroup.position.z+=this.depth+.255),{map:r,mapTop:u,mapLine:c,mapBoundaryEmphasis:p}}normalizeAdminBoundaryLineScale(e){const t=Number(e);return Number.isFinite(t)?Math.min(4,Math.max(1,t)):1}getAdminBoundaryEmphasisRadius(){return this.adminBoundaryLineScale<=1?0:Math.min(.04,.011*this.adminBoundaryLineScale)}getAdminBoundaryEmphasisOpacity(){return this.adminBoundaryLineScale<=1?0:Math.min(.5,.2+this.adminBoundaryLineScale*.08)}createTopicLayer(){if(!this.mapJsonData)return;this.initHongyuanBoundaryPolygons();const e=document.createElement("canvas");e.width=yt.width,e.height=yt.height;const t=e.getContext("2d");t.clearRect(0,0,e.width,e.height);const a=new Jn(e);a.colorSpace=la,a.wrapS=dn,a.wrapT=dn,a.minFilter=Pa,a.magFilter=Pa,this.enhanceTexture(a),a.needsUpdate=!0;const n=new ye({map:a,transparent:!0,opacity:0,depthWrite:!1,depthTest:!this.isHomeTopicPresentation(),side:Re,fog:!1}),r=this.createLayerUvBounds(),o=new Sa(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new te(0,0,this.depth+(this.isHomeTopicPresentation()?.272:.255)),data:this.mapJsonData,material:n,renderOrder:this.isHomeTopicPresentation()?24:18});Ir(o,r),o.setParent(this.focusMapGroup),this.topicLayerUvBounds=r,this.topicLayerCanvas=e,this.topicLayerContext=t,this.topicLayerTexture=a,this.topicLayerMaterial=n,this.topicLayerMap=o}initHongyuanBoundaryPolygons(){var t,a,n;if((t=this.hongyuanBoundaryPolygons)!=null&&t.length)return;const e=this.staticMapData.mapStroke;this.hongyuanBoundaryPolygons=qr((n=(a=e==null?void 0:e.features)==null?void 0:a[0])==null?void 0:n.geometry)}createSelectedFeatureGroup(){var e;this.selectedFeatureGroup||(this.selectedFeatureGroup=new Te,this.selectedFeatureGroup.name="selected-feature-highlight",this.selectedFeatureGroup.position.z=this.depth+.31,(e=this.focusMapGroup)==null||e.add(this.selectedFeatureGroup))}createLayerUvBounds(){const e=Kt().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),[t]=e([j.west,j.south]),[a]=e([j.east,j.south]),[,n]=e([j.west,j.north]),[,r]=e([j.west,j.south]);return{left:t,right:a,bottom:-r,top:-n}}setTopicLayer(e){var a,n;if(!e||!this.topicLayerContext||!this.topicLayerTexture)return;this.currentTopicLayer=e,this.visibleTopicLayers=[e],this.clearSelectedFeature(),this.applyLayerMapView(e);const t=++this.topicLayerLoadId;if(this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(n=(a=this.callbacks).onLayerStatus)==null||n.call(a,{type:"loading",text:`正在加载 ${e.name}`}),rn(e)){this.loadVectorTopicLayer(e,t);return}this.loadTopicLayerImage(e).then(r=>{var o,u,c,p;if(t===this.topicLayerLoadId){if(!(r!=null&&r.image)){this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(u=(o=this.callbacks).onLayerStatus)==null||u.call(o,{type:"error",text:"GeoServer 图层加载失败"});return}this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.drawTopicRasterImage(r.image,r.layer||e),this.topicLayerTexture.needsUpdate=!0,this.updateTopicLayerTextureSampling(e),this.topicLayerMaterial.opacity=this.getTopicLayerMaterialOpacity(e,.84),(p=(c=this.callbacks).onLayerStatus)==null||p.call(c,{type:"success",text:"GeoServer 图层已加载"})}}).catch(()=>{var r,o;t===this.topicLayerLoadId&&(this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(o=(r=this.callbacks).onLayerStatus)==null||o.call(r,{type:"error",text:"GeoServer 图层加载失败"}))})}setTopicLayers(e=[],t=e[0]){var r,o,u,c;if(!this.topicLayerContext||!this.topicLayerTexture)return;const a=e.filter(Boolean);if(!a.length){this.topicLayerLoadId+=1,this.visibleTopicLayers=[],this.currentTopicLayer=null,this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.clearSelectedFeature(),this.applyLayerMapView(null),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(o=(r=this.callbacks).onLayerStatus)==null||o.call(r,{type:"success",text:"图层已关闭"});return}if(a.length===1){this.setTopicLayer(F(F({},a[0]),(t==null?void 0:t.key)===a[0].key?t:{}));return}this.currentTopicLayer=t||a[a.length-1],this.visibleTopicLayers=a,this.clearSelectedFeature(),this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.applyLayerMapView(this.currentTopicLayer);const n=++this.topicLayerLoadId;this.currentVectorFeatures=[],this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(c=(u=this.callbacks).onLayerStatus)==null||c.call(u,{type:"loading",text:`正在加载 ${a.length} 个地图图层`}),Promise.all(a.map(p=>this.loadCompositeTopicLayerItem(p))).then(p=>{var L,T,C;if(n!==this.topicLayerLoadId)return;const y=p.filter(Boolean),g=y.find(N=>{var B,z;return N.type==="vector"&&((B=N.layer)==null?void 0:B.key)===((z=this.currentTopicLayer)==null?void 0:z.key)});this.currentVectorFeatures=((L=g==null?void 0:g.geojson)==null?void 0:L.features)||[],this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),y.forEach((N,B)=>{var z,X;if(N.type==="image"){this.topicLayerContext.save();const ae=B===y.length-1?Math.max(.78,(z=N.layer.opacity)!=null?z:.9):Math.min(.52,(X=N.layer.opacity)!=null?X:.52);this.topicLayerContext.globalAlpha=Math.min(1,Math.max(.28,ae)),this.drawTopicRasterImage(N.image,N.layer),this.topicLayerContext.restore();return}this.drawVectorTopicLayer(N.layer,N.geojson.features||[],{clear:!1})}),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0,this.updateTopicLayerTextureSampling(this.currentTopicLayer),this.topicLayerMaterial.opacity=y.length?this.getTopicLayerMaterialOpacity(this.currentTopicLayer,1):0,(C=(T=this.callbacks).onLayerStatus)==null||C.call(T,{type:y.length?"success":"error",text:y.length?`已加载 ${y.length} 个地图图层`:"地图图层加载失败"})})}loadCompositeTopicLayerItem(e){return oe(this,null,function*(){if(rn(e))try{const t=yield this.fetchVectorLayerGeojson(e);return{type:"vector",layer:e,geojson:t}}catch(t){return null}return this.loadTopicLayerImage(e).then(t=>t?F({type:"image"},t):null)})}loadTopicLayerImage(e){return Wr(e)?this.loadWmtsTopicLayerImage(e):new Promise(t=>{const a=new Image;a.crossOrigin="anonymous",a.onload=()=>t({image:a,layer:e}),a.onerror=()=>t(null),a.src=Pu(e)})}loadWmtsTopicLayerImage(e){return oe(this,null,function*(){const t=document.createElement("canvas");t.width=yt.width,t.height=yt.height;const a=t.getContext("2d");if(!a)return null;a.clearRect(0,0,t.width,t.height);const n=this.getWmtsTopicZoom(e),r=Array.isArray(e==null?void 0:e.bounds)&&e.bounds.length>=4?e.bounds.map(Number):null,o=r!=null&&r.every(Number.isFinite)?{west:r[0],south:r[1],east:r[2],north:r[3]}:j,u=Wu(o,n),c=[];for(let L=u.minX;L<=u.maxX;L+=1)for(let T=u.minY;T<=u.maxY;T+=1)c.push({x:L,y:T});let p=0,y=0;const g=()=>oe(this,null,function*(){for(;y0&&(a.save(),a.globalAlpha=.58,a.filter=`blur(${u}px)`,a.drawImage(n,0,0),a.restore()),o>0){const y=[[-o,0],[o,0],[0,-o],[0,o],[-o,-o],[o,-o],[-o,o],[o,o]];a.save(),a.globalAlpha=.72,y.forEach(([g,L])=>a.drawImage(n,g,L)),a.restore()}a.drawImage(n,0,0)}getWmtsTopicZoom(e={}){var o,u,c;const t=Math.round(Number(e.maximumLevel)),a=Number.isFinite(t)&&t>0?t:21,n=Number((c=(u=(o=e.homeWmtsZoom)!=null?o:e.wmtsZoom)!=null?u:e.tileZoom)!=null?c:this.satelliteTextureZoom),r=Number.isFinite(n)&&n>0?Math.round(n):11;return Ht(r,3,Math.min(a,nn))}updateTopicLayerTextureSampling(e={}){if(!this.topicLayerTexture)return;const t=Wr(e)?vr:Pa;this.topicLayerTexture.minFilter=t,this.topicLayerTexture.magFilter=t,this.topicLayerTexture.needsUpdate=!0}drawTopicRasterImage(e,t={}){const a=this.topicLayerCanvas,n=this.topicLayerContext;if(!a||!n)return;if(!t.softMask){this.drawHomeTopicRasterGlow(e,t),n.drawImage(e,0,0,a.width,a.height);return}const r=Math.min(1,Math.max(.08,Number(t.softMaskScale)||.18)),o=document.createElement("canvas");o.width=Math.max(96,Math.round(a.width*r)),o.height=Math.max(96,Math.round(a.height*r));const u=o.getContext("2d");if(!u){n.drawImage(e,0,0,a.width,a.height);return}u.clearRect(0,0,o.width,o.height),u.imageSmoothingEnabled=!0,u.imageSmoothingQuality="high",u.drawImage(e,0,0,o.width,o.height),n.save(),n.imageSmoothingEnabled=!0,n.imageSmoothingQuality="high",n.drawImage(o,0,0,a.width,a.height),n.restore()}drawHomeTopicRasterGlow(e,t={}){var c,p;if(!this.isHomeTopicPresentation())return;const a=this.topicLayerCanvas,n=this.topicLayerContext;if(!a||!n)return;const r=Ht((c=t.homeGlowOpacity)!=null?c:0,0,.8),o=Ht((p=t.homeGlowBlur)!=null?p:0,0,32);if(!r||!o)return;const u=t.homeGlowColor||"#E5FCFF";n.save(),n.globalAlpha=r,n.filter=`drop-shadow(0 0 ${o}px ${u})`,n.drawImage(e,0,0,a.width,a.height),n.restore()}applyLayerMapView(e,t={}){var c,p;if(!((c=this.camera)!=null&&c.instance)||!((p=this.camera)!=null&&p.controls)||!this.mapAnimationComplete&&!t.force)return;const a=e?null:this.currentTownRanking,n=(e==null?void 0:e.mapView)||(e!=null&&e.cameraPosition?{cameraPosition:e.cameraPosition}:null)||(a==null?void 0:a.mapView)||(a!=null&&a.cameraPosition?{cameraPosition:a.cameraPosition}:null),r=n?this.getLayerMapViewTarget(n):this.defaultMapTarget.clone(),o=n?this.getLayerMapViewCameraPosition(n,r):this.defaultMapCameraPosition.clone(),u=n&&Number.isFinite(n.duration)?n.duration:.75;this.animateMapCamera(o,r,u)}getFocusMapTopOpacity(){return this.useSatelliteBase?this.usesCustomSatelliteTiles?.16:1:.78}getTopicLayerMaterialOpacity(e,t=.84){const a=Number(e==null?void 0:e.opacity),n=Number.isFinite(a)?a:t;if(!this.isHomeTopicPresentation())return n;const r=Number(e==null?void 0:e.homePresentationMaxOpacity),o=Number.isFinite(r)?r:.56;return Ht(n,0,o)}getDynamicSatelliteZoom(e){return this.usesCustomSatelliteTiles?e<=4.2?Math.min(this.dynamicSatelliteMaxZoom,21):e<=6.4?Math.min(this.dynamicSatelliteMaxZoom,19):e<=8.4?Math.min(this.dynamicSatelliteMaxZoom,17):e<=11?Math.min(this.dynamicSatelliteMaxZoom,15):e<=14.5?Math.min(this.dynamicSatelliteMaxZoom,13):e<=18?Math.min(this.dynamicSatelliteMaxZoom,11):this.satelliteTextureZoom:this.satelliteTextureZoom}getCameraTargetLngLat(){var r,o,u,c,p,y,g;const e=(c=(u=(o=(r=this.camera)==null?void 0:r.controls)==null?void 0:o.target)==null?void 0:u.clone)==null?void 0:c.call(u);if(!e)return[102.58,32.72];(y=(p=this.focusMapGroup)==null?void 0:p.updateWorldMatrix)==null||y.call(p,!0,!1);const t=this.focusMapGroup?this.focusMapGroup.worldToLocal(e):e,a=Kt().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]),n=((g=a.invert)==null?void 0:g.call(a,[t.x,-t.y]))||[102.58,32.72];return[Math.max(j.west,Math.min(j.east,Number(n[0])||102.58)),Math.max(j.south,Math.min(j.north,Number(n[1])||32.72))]}getDynamicSatelliteTileWindow(e){return e>=21?3:e>=19?5:e>=17?7:e>=15?this.dynamicSatelliteTileWindow:e>=13?Math.min(11,this.dynamicSatelliteTileWindow+2):Math.min(11,this.dynamicSatelliteTileWindow+2)}getDynamicSatelliteKey(e,t){return t?`${e}:${t.minX}-${t.maxX}:${t.minY}-${t.maxY}`:""}updateDynamicSatelliteTiles(e=!1){if(!this.usesCustomSatelliteTiles||!this.mapAnimationComplete)return;const t=Date.now();if(!e&&t-this.dynamicSatelliteLastCheck{var c,p,y,g,L;if((y=(p=this.callbacks).onTileStatus)==null||y.call(p,$(F({},u),{text:((c=u.text)==null?void 0:c.replace("影像底图","高清影像底图"))||u.text})),u.type!=="loading"){if(r!==this.dynamicSatelliteRequestId){(L=(g=o==null?void 0:o.texture)==null?void 0:g.dispose)==null||L.call(g);return}if(this.dynamicSatelliteLoadingKey="",Number(u.loaded||0)<=0){this.dynamicSatelliteCurrentKey===n&&this.hideDynamicSatelliteOverlay();return}this.applyDynamicSatelliteOverlay(o,n)}}}),this.applyDynamicSatelliteOverlay(o,n)}ensureDynamicSatelliteOverlay(){var a;if(this.dynamicSatelliteOverlay)return;const e=new ye({transparent:!0,opacity:0,depthWrite:!1,depthTest:!0,side:Re,fog:!1}),t=new je(new $t(1,1),e);t.name="dynamic-satellite-overlay",t.renderOrder=15,t.visible=!1,t.position.z=this.depth+.248,(a=this.focusMapGroup)==null||a.add(t),this.dynamicSatelliteOverlay=t,this.dynamicSatelliteMaterial=e}applyDynamicSatelliteOverlay(e,t){var o,u;if(!(e!=null&&e.texture)||!(e!=null&&e.uvBounds))return;this.ensureDynamicSatelliteOverlay();const a=e.uvBounds,n=Math.max(1e-4,a.right-a.left),r=Math.max(1e-4,a.top-a.bottom);this.dynamicSatelliteOverlay.position.set((a.left+a.right)/2,(a.bottom+a.top)/2,this.depth+.248),this.dynamicSatelliteOverlay.scale.set(n,r,1),this.dynamicSatelliteOverlay.visible=!0,this.dynamicSatelliteTexture&&this.dynamicSatelliteTexture!==e.texture&&((u=(o=this.dynamicSatelliteTexture).dispose)==null||u.call(o)),this.dynamicSatelliteTexture=e.texture,this.dynamicSatelliteMaterial.map=e.texture,this.dynamicSatelliteMaterial.opacity=1,this.dynamicSatelliteMaterial.needsUpdate=!0,this.dynamicSatelliteCurrentKey=t}hideDynamicSatelliteOverlay(){this.dynamicSatelliteOverlay&&(this.dynamicSatelliteOverlay.visible=!1),this.dynamicSatelliteLoadingKey&&(this.dynamicSatelliteRequestId+=1,this.dynamicSatelliteLoadingKey=""),this.dynamicSatelliteCurrentKey=""}ensureMapRevealed(){var e,t,a,n;if(!this.mapAnimationComplete){if((t=(e=this.animateTl)==null?void 0:e.progress)==null||t.call(e,1,!1),(n=(a=this.animateTl)==null?void 0:a.pause)==null||n.call(a),this.mapAnimationComplete=!0,this.focusMapGroup&&(this.focusMapGroup.position.set(0,0,0),this.focusMapGroup.scale.set(1,1,1)),this.focusMapTopMaterial&&(this.focusMapTopMaterial.opacity=this.getFocusMapTopOpacity()),this.focusMapSideMaterial&&(this.focusMapSideMaterial.opacity=1,this.focusMapSideMaterial.transparent=!1),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=!0),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!0),this.scatterGroup&&(this.scatterGroup.visible=!0),this.InfoPointGroup&&(this.InfoPointGroup.visible=this.showTownRankingPointMarkers&&this.hasTownRankingRows()),this.applyLayerMapView(this.currentTopicLayer,{force:!0}),this.updateDynamicSatelliteTiles(!0),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.updateYakIndustryPointLabels(this.currentTopicLayer,this.currentVectorFeatures),Ma(this.currentTownRanking)){this.hideAllMapStatisticLabels();return}this.updateVillageRankingLabels(this.currentTownRanking),this.updateTradeFlowLayer(this.currentTownRanking),this.updateInfoPointStats()}}getLayerMapViewTarget(e){var t;return e!=null&&e.targetLngLat?this.lngLatToWorldPoint(e.targetLngLat,(t=e.targetLocalZ)!=null?t:.72):e!=null&&e.target?this.toVector3(e.target,this.defaultMapTarget):this.defaultMapTarget.clone()}getLayerMapViewCameraPosition(e,t){if(e!=null&&e.cameraPosition)return this.toVector3(e.cameraPosition,this.defaultMapCameraPosition);const a=Number.isFinite(e==null?void 0:e.distanceScale)?e.distanceScale:1,n=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(a),r=t.clone().add(n);return e!=null&&e.cameraOffset&&r.add(this.toVector3(e.cameraOffset,new te(0,0,0))),r}lngLatToWorldPoint(e,t=0){const a=Array.isArray(e)?e:[e==null?void 0:e.lng,e==null?void 0:e.lat],n=Number(a==null?void 0:a[0]),r=Number(a==null?void 0:a[1]);if(!Number.isFinite(n)||!Number.isFinite(r))return this.defaultMapTarget.clone();const[o,u]=this.geoProjection([n,r]),c=new te(o,-u,Number(t)||0);return this.focusMapGroup?this.focusMapGroup.localToWorld(c):c}toVector3(e,t){if(Array.isArray(e)){const[o,u,c]=e.map(Number);return[o,u,c].every(Number.isFinite)?new te(o,u,c):t.clone()}const a=Number(e==null?void 0:e.x),n=Number(e==null?void 0:e.y),r=Number(e==null?void 0:e.z);return[a,n,r].every(Number.isFinite)?new te(a,n,r):t.clone()}animateMapCamera(e,t,a=.75){this.activeMapViewTweens.forEach(o=>{var u;return(u=o==null?void 0:o.kill)==null?void 0:u.call(o)}),this.activeMapViewTweens=[];const n=this.camera.controls,r=()=>n.update();this.activeMapViewTweens.push(sa.to(this.camera.instance.position,{duration:a,x:e.x,y:e.y,z:e.z,ease:"power2.out",onUpdate:r}),sa.to(n.target,{duration:a,x:t.x,y:t.y,z:t.z,ease:"power2.out",onUpdate:r}))}addSceneTween(e){var t;return e&&(this.sceneTweens.push(e),this.scenePaused&&((t=e.pause)==null||t.call(e)),e)}addSceneTimer(e){return e&&this.sceneTimers.push(e),e}focusTownByName(e,t={}){var u,c,p;const a=this.townMetaByName.get(nt(e)),n=t.select?this.selectTownFeatureByName(e,t):!1;if(t.preserveCamera)return n||!!(a!=null&&a.center);if(!(a!=null&&a.center))return n;const r=this.lngLatToWorldPoint(a.center,(u=t.targetLocalZ)!=null?u:.82),o=this.getLayerMapViewCameraPosition({distanceScale:(c=t.distanceScale)!=null?c:.82,cameraOffset:t.cameraOffset||{x:0,y:1.2,z:0}},r);return this.animateMapCamera(o,r,(p=t.duration)!=null?p:.75),!0}isNationalParkTownSelectionActive(){var e;return((e=this.currentTopicLayer)==null?void 0:e.key)==="national-park-zoning"&&this.getTownRankingMeta().onlyRankedTownLabels}getTownNameFromMapEvent(e){var a,n,r,o,u,c,p,y,g,L;return[(r=(n=(a=e==null?void 0:e.target)==null?void 0:a.parent)==null?void 0:n.userData)==null?void 0:r.name,(u=(o=e==null?void 0:e.target)==null?void 0:o.userData)==null?void 0:u.name,(y=(p=(c=e==null?void 0:e.target)==null?void 0:c.parent)==null?void 0:p.userData)==null?void 0:y.townName,(L=(g=e==null?void 0:e.target)==null?void 0:g.userData)==null?void 0:L.townName].find(T=>String(T||"").trim())||""}findTownFeatureByName(e){var n,r,o,u;const t=nt(e);if(!t)return null;const a=(((n=this.mapJsonData)==null?void 0:n.features)||((o=(r=this.staticMapData)==null?void 0:r.mapJson)==null?void 0:o.features)||[]).find(c=>{const p=(c==null?void 0:c.properties)||{};return[p.name,p.fullName,p.full_name,p.townName].some(g=>nt(g)===t)});return a!=null&&a.geometry?{type:"Feature",properties:$(F({},a.properties||{}),{name:((u=a.properties)==null?void 0:u.name)||e,feature_role:"乡镇范围"}),geometry:a.geometry}:null}selectTownFeatureByName(e,t={}){var n,r,o,u,c;const a=this.findTownFeatureByName(e);return a?(this.showSelectedFeature(a,{mode:"town"}),t.silentStatus!==!0&&((c=(u=this.callbacks).onLayerStatus)==null||c.call(u,{type:"success",text:t.statusText||`已选中${((o=a.properties)==null?void 0:o.name)||e}`})),!0):(t.showMissingStatus!==!1&&((r=(n=this.callbacks).onLayerStatus)==null||r.call(n,{type:"warning",text:"未找到对应乡镇边界"})),!1)}handleTownRankingSelect(e,t={}){var u,c;if(!this.isNationalParkTownSelectionActive())return!1;const a=nt(e);if(!a||!this.getTownRankingRows(this.currentTownRanking,Number.POSITIVE_INFINITY,!1).some(p=>nt(p.name)===a))return!1;const o=this.focusTownByName(e,F({select:!0,preserveCamera:!0,statusText:`已选中${e}`},t));return o&&((c=(u=this.callbacks).onFeatureInfo)==null||c.call(u,{feature:null})),o}focusYakIndustryPoint(e={}){var r,o;const t=this.getYakIndustryPayloadCoordinate(e);if(!t)return(o=(r=this.callbacks).onLayerStatus)==null||o.call(r,{type:"warning",text:"当前主体暂无可定位坐标"}),{focused:!1,screen:null};const a=this.findYakIndustryPointFeature(e,t);return a?this.setSelectedVectorFeatures([a]):this.clearSelectedFeature(),{focused:this.flyToLngLat(t,{span:.035,duration:.72,statusText:"已定位产业主体"}),screen:this.getYakIndustryPointScreen(e),feature:a}}focusVectorFeature(e={}){var p,y;const t=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),a=String(e.id||e.key||""),n=String(e.fullName||e.name||"").trim(),r=t.find(g=>{const L=(g==null?void 0:g.properties)||{};return a&&String(L.id||"")===a||n&&String(L.name||L.plot_name||"").trim()===n});if(!r)return(y=(p=this.callbacks).onLayerStatus)==null||y.call(p,{type:"warning",text:"当前图斑尚未加载"}),{focused:!1,screen:null,feature:null};this.setSelectedVectorFeatures([r]);const o=this.getGeometryLngLatBounds(r.geometry);if(!o)return{focused:!1,screen:null,feature:r};const u=[(o.minLng+o.maxLng)/2,(o.minLat+o.maxLat)/2];return{focused:this.flyToLngLat(u,{span:Math.max(o.maxLng-o.minLng,o.maxLat-o.minLat),duration:.75,statusText:"已定位种草图斑"}),screen:this.getVectorFeatureScreen(r),feature:r}}getVectorFeatureScreen(e={}){let t=(e==null?void 0:e.feature)||e;if(!(t!=null&&t.geometry)){const r=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),o=String((e==null?void 0:e.id)||(e==null?void 0:e.key)||"");t=r.find(u=>{var c;return String(((c=u==null?void 0:u.properties)==null?void 0:c.id)||"")===o})||null}const a=this.getGeometryLngLatBounds(t==null?void 0:t.geometry);if(!a)return null;const n=[(a.minLng+a.maxLng)/2,(a.minLat+a.maxLat)/2];return this.lngLatToLayerScreenPoint(n,this.depth+.34)||this.lngLatToScreenPoint(n,this.depth+.32)}getYakIndustryPointScreen(e={}){const t=this.getYakIndustryPayloadCoordinate(e);return t?this.lngLatToLayerScreenPoint(t,this.depth+.36)||this.lngLatToScreenPoint(t,this.depth+.32):null}getYakIndustryPayloadCoordinate(e={}){var r,o,u,c,p;const t=((r=e.geometry)==null?void 0:r.coordinates)||e.coordinates,a=Number((u=(o=e.longitude)!=null?o:e.lng)!=null?u:t==null?void 0:t[0]),n=Number((p=(c=e.latitude)!=null?c:e.lat)!=null?p:t==null?void 0:t[1]);return!Number.isFinite(a)||!Number.isFinite(n)?null:[a,n]}findYakIndustryPointFeature(e={},t=this.getYakIndustryPayloadCoordinate(e)){const a=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]),n=String(e.id||e.key||""),r=String(e.fullName||e.name||"").trim(),o=String(e.stageKey||""),u=t&&a.find(p=>{var g;if(((g=p==null?void 0:p.geometry)==null?void 0:g.type)!=="Point")return!1;const y=p.properties||{};return o&&String(y.stageKey||"")!==o?!1:this.getCoordinateDistance(p.geometry.coordinates,t)<=8e-4})||null;if(e.preferCoordinateMatch)return u;const c=a.find(p=>{const y=(p==null?void 0:p.properties)||{};return!!(n&&String(y.id||"")===n||r&&String(y.name||y.fullName||"").trim()===r)});return c||u}loadVectorTopicLayer(e,t){return oe(this,null,function*(){var a,n,r,o;try{const u=yield this.fetchVectorLayerGeojson(e);if(t!==this.topicLayerLoadId)return;this.currentVectorFeatures=u.features||[],this.drawVectorTopicLayer(e,this.currentVectorFeatures),this.updateYakIndustryPointMarkers(e,this.currentVectorFeatures),this.updateYakIndustryPointLabels(e,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=this.getTopicLayerMaterialOpacity(e,.9),(n=(a=this.callbacks).onLayerStatus)==null||n.call(a,{type:"success",text:"真实矢量图层已加载"})}catch(u){if(t!==this.topicLayerLoadId)return;this.currentVectorFeatures=[],this.clearYakIndustryPointMarkers(),this.clearYakIndustryPointLabels(),this.topicLayerContext.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),this.topicLayerTexture.needsUpdate=!0,this.topicLayerMaterial.opacity=0,(o=(r=this.callbacks).onLayerStatus)==null||o.call(r,{type:"error",text:"真实矢量图层加载失败"})}})}fetchVectorLayerGeojson(e){return oe(this,null,function*(){var r,o;if(e.sourceType==="geojson"){if(((r=e.geojsonData)==null?void 0:r.type)==="FeatureCollection")return e.geojsonData;const u=yield fetch(Hr(e.dataPath),{credentials:"include"});if(!u.ok)throw new Error(`HTTP ${u.status}`);return yield u.json()}if(e.sourceType==="wfs"){const u=yield Gr(e.layerName,{cqlFilter:e.cqlFilter,maxFeatures:e.maxFeatures||1200,timeout:e.timeout||18e3});return(u==null?void 0:u.type)==="FeatureCollection"?u:{type:"FeatureCollection",features:(u==null?void 0:u.features)||[]}}let t=[],a=null;try{const u=yield fetch(e.apiUrl,{credentials:"include"});if(!u.ok)throw new Error(`HTTP ${u.status}`);const c=yield u.json();t=Array.isArray(c==null?void 0:c.data)?c.data:Array.isArray((o=c==null?void 0:c.data)==null?void 0:o.rows)?c.data.rows:[]}catch(u){a=u}let n=this.buildWktLayerFeatures(t);if((!t.length||!n.length)&&e.fallbackPath){const u=yield fetch(Hr(e.fallbackPath),{credentials:"include"});if(!u.ok)throw a||new Error(`HTTP ${u.status}`);const c=yield u.json();t=Array.isArray(c==null?void 0:c.rows)?c.rows:[],n=this.buildWktLayerFeatures(t)}return{type:"FeatureCollection",features:n}})}buildWktLayerFeatures(e=[]){return(e||[]).map(t=>({type:"Feature",properties:{id:t.id,type:t.type,totalAcreage:t.totalAcreage,cdAcreage:t.cdAcreage,sdAcreage:t.sdAcreage,cdScl:t.cdScl,sdScl:t.sdScl},geometry:this.parseWktGeometry(this.pickWktValue(t))})).filter(t=>t.geometry)}pickWktValue(e={}){return e.wkt||e.WKT||e.geom||e.geometry||e.the_geom||e.theGeom||e.shape||e.Shape}drawVectorTopicLayer(e,t,a={}){const n=this.topicLayerContext;a.clear!==!1&&n.clearRect(0,0,this.topicLayerCanvas.width,this.topicLayerCanvas.height),n.save(),n.lineJoin="round",n.lineCap="round",this.clipVectorLayerContext(n,e);const o=this.getVisibleVectorFeatures(e,t).filter(u=>{var c;return!(e!=null&&e.hidePointFeatures)||((c=u==null?void 0:u.geometry)==null?void 0:c.type)!=="Point"}).sort((u,c)=>{var g,L;const p=this.getGeometryDrawRank((g=u.geometry)==null?void 0:g.type),y=this.getGeometryDrawRank((L=c.geometry)==null?void 0:L.type);return p-y});o.forEach(u=>{const c=this.getVectorFeatureStyle(e,u);this.drawVectorFeature(n,u.geometry,c)}),this.drawNationalParkBoundaryOverlay(n,e,o),this.drawSelectedVectorOverlay(n),n.restore()}drawNationalParkBoundaryOverlay(e,t,a=[]){(t==null?void 0:t.key)!=="national-park-zoning"||!a.length||a.forEach(n=>{const r=this.getVectorFeatureStyle(t,n);this.drawVectorFeature(e,n.geometry,$(F({},r),{fill:"#071A20",stroke:"#071A20",polygonAlpha:0,lineAlpha:.34,lineWidth:7,glow:!0})),this.drawVectorFeature(e,n.geometry,$(F({},r),{fill:"#E7FFF6",stroke:"#E7FFF6",polygonAlpha:0,lineAlpha:.68,lineWidth:2.1,glow:!1})),this.drawVectorFeature(e,n.geometry,$(F({},r),{fill:r.stroke,stroke:r.stroke,polygonAlpha:0,lineAlpha:.86,lineWidth:1.2,glow:!1}))})}drawSelectedVectorOverlay(e){const t=this.selectedVectorFeatures||[],a=this.analysisMatchedFeatures||[],n=this.analysisBoundaryFeature,r=this.boundaryDrawPoints||[];if(!t.length&&!a.length&&!n&&!r.length)return;const o=this.isEcologicalProjectLayer(this.currentTopicLayer),u={fill:Ar,stroke:$u,polygonAlpha:o?.2:.28,lineAlpha:o?.78:.98,lineWidth:o?6:12,pointRadius:11,glow:!o,halo:!o},c={fill:Ar,stroke:Eu,polygonAlpha:o?.34:.52,lineAlpha:o?.94:1,lineWidth:o?3.2:5,pointRadius:6.5,glow:!1,halo:!1};if(e.save(),t.forEach(p=>{var g;const y=(p==null?void 0:p.geometry)||((g=p==null?void 0:p.feature)==null?void 0:g.geometry);this.drawVectorFeature(e,y,u),this.drawVectorFeature(e,y,c)}),a.forEach(p=>{var g;const y=(p==null?void 0:p.geometry)||((g=p==null?void 0:p.feature)==null?void 0:g.geometry);this.drawVectorFeature(e,y,{fill:"#30DCFF",stroke:"#C9FBFF",polygonAlpha:o?.22:.28,lineAlpha:o?.88:.98,lineWidth:o?2.8:5,pointRadius:6,glow:!o})}),n!=null&&n.geometry&&this.drawVectorFeature(e,n.geometry,{fill:"#24F6C4",stroke:"#FFFFFF",polygonAlpha:o?.12:.18,lineAlpha:o?.92:1,lineWidth:o?3:4,pointRadius:6,glow:!o}),r.length){const p=r.map(g=>[g.lng,g.lat]),y={type:"LineString",coordinates:this.boundaryDrawingEnabled?p:[...p,p[0]].filter(Boolean)};this.drawVectorFeature(e,y,{fill:"#24F6C4",stroke:"#24F6C4",polygonAlpha:o?.08:.12,lineAlpha:1,lineWidth:o?3:4,pointRadius:6,glow:!o}),p.forEach(g=>{this.drawVectorFeature(e,{type:"Point",coordinates:g},{fill:"#FFFFFF",stroke:"#24F6C4",polygonAlpha:.2,lineAlpha:1,lineWidth:o?2.4:3,pointRadius:5.5,glow:!o})})}e.restore()}redrawVectorTopicLayer(){!this.topicLayerContext||!this.topicLayerTexture||!this.currentTopicLayer||!rn(this.currentTopicLayer)||(this.drawVectorTopicLayer(this.currentTopicLayer,this.currentVectorFeatures||[]),this.updateYakIndustryPointMarkers(this.currentTopicLayer,this.currentVectorFeatures),this.topicLayerTexture.needsUpdate=!0)}featureMatchesLegend(e={},t={}){var r;const a=Array.isArray(t==null?void 0:t.matches)?t.matches.filter(o=>o==null?void 0:o.field):[];if(a.length)return a.some(o=>{var u;return String((u=e[o.field])!=null?u:"")===String(o.value)});const n=t==null?void 0:t.match;return n!=null&&n.field?String((r=e[n.field])!=null?r:"")===String(n.value):!0}getVisibleVectorFeatures(e,t){var u,c;const a=Array.isArray(e==null?void 0:e.activeLegends)?e.activeLegends.filter(p=>{var y,g;return((y=p==null?void 0:p.matches)==null?void 0:y.length)||((g=p==null?void 0:p.match)==null?void 0:g.field)}):[];if(a.length)return(t||[]).filter(p=>a.some(y=>this.featureMatchesLegend((p==null?void 0:p.properties)||{},y)));const n=e==null?void 0:e.activeLegend;if((u=n==null?void 0:n.matches)!=null&&u.length||(c=n==null?void 0:n.match)!=null&&c.field)return(t||[]).filter(p=>this.featureMatchesLegend((p==null?void 0:p.properties)||{},n));const o=String((e==null?void 0:e.cqlFilter)||"").trim().match(/^([a-zA-Z0-9_]+)\s*=\s*'((?:''|[^'])*)'$/);if(o){const[,p,y]=o,g=y.replace(/''/g,"'");return(t||[]).filter(L=>{var T,C;return String((C=(T=L==null?void 0:L.properties)==null?void 0:T[p])!=null?C:"")===g})}return[...t||[]]}updateYakIndustryPointLabels(e=this.currentTopicLayer,t=this.currentVectorFeatures){if(this.clearYakIndustryPointLabels(),(e==null?void 0:e.showPointLabels)===!1||e!=null&&e.hidePointFeatures||(e==null?void 0:e.key)!=="yak-industry-points"||!this.label3d)return;const a=this.getYakIndustryLabelFeatures(e,t);a.length&&(this.ensureYakIndustryPointLabelGroup(),a.forEach((n,r)=>{var u;let o=this.yakIndustryPointLabels[r];o||(o=this.label3d.create("","yak-industry-point-label",!0),this.label3d.setLabelStyle(o,.012,"x"),o.setParent(this.yakIndustryPointLabelGroup),this.yakIndustryPointLabels.push(o)),o.element.className="yak-industry-point-label",o.init(this.getYakIndustryPointLabelHtml(n),this.getYakIndustryPointLabelPosition(n,r)),o.visible=!0,(u=o.show)==null||u.call(o),o.userData={feature:n}}),this.yakIndustryPointLabels.slice(a.length).forEach(n=>{var r;n.visible=!1,(r=n.hide)==null||r.call(n),n.userData=null}),this.yakIndustryPointLabelGroup.visible=!!this.mapAnimationComplete)}updateYakIndustryPointMarkers(e=this.currentTopicLayer,t=this.currentVectorFeatures){if(this.clearYakIndustryPointMarkers(),(e==null?void 0:e.key)!=="yak-industry-points"||e!=null&&e.hidePointMarkers)return;const a=this.getVisibleVectorFeatures(e,t).filter(n=>{var r;return((r=n==null?void 0:n.geometry)==null?void 0:r.type)==="Point"});a.length&&(this.ensureYakIndustryPointMarkerGroup(),a.forEach((n,r)=>{let o=this.yakIndustryPointMarkers[r];const u=this.getVectorFeatureStyle(e,n),c=this.getYakIndustryMarkerMaterial(u,n),p=this.lngLatToLayerLocalPoint(n.geometry.coordinates,this.depth+.36),y=Number(e==null?void 0:e.pointSpriteScale)||.34,g=this.getYakIndustryMarkerType(n);o||(o=new na(c),o.name="yak-industry-point-marker",o.renderOrder=42,this.bindYakIndustryPointMarkerEvents(o),this.interactionManager.add(o),this.yakIndustryPointMarkerGroup.add(o),this.yakIndustryPointMarkers.push(o)),o.material=c,o.center.set(.5,.5),o.position.copy(p),o.scale.set(y*.88,y*.88,1),o.visible=!0,o.userData={feature:n,layer:e,index:r,markerType:g}}),this.yakIndustryPointMarkers.slice(a.length).forEach(n=>{n.visible=!1,n.userData=null}),this.yakIndustryPointMarkerGroup.visible=!!this.mapAnimationComplete)}ensureYakIndustryPointMarkerGroup(){var e;this.yakIndustryPointMarkerGroup||(this.yakIndustryPointMarkerGroup=new Te,this.yakIndustryPointMarkerGroup.name="yak-industry-point-markers",this.yakIndustryPointMarkerGroup.visible=!1,(e=this.focusMapGroup)==null||e.add(this.yakIndustryPointMarkerGroup))}clearYakIndustryPointMarkers(){var e;this.yakIndustryPointMarkerGroup&&(this.yakIndustryPointMarkerGroup.visible=!1),(e=this.yakIndustryPointMarkers)==null||e.forEach(t=>{t.visible=!1})}bindYakIndustryPointMarkerEvents(e){e.addEventListener("mousedown",t=>{var r,o,u,c,p,y,g,L,T;if(this.clicked||!((r=this.yakIndustryPointMarkerGroup)!=null&&r.visible))return!1;const a=(u=(o=t.target)==null?void 0:o.userData)==null?void 0:u.feature;if(!a)return!1;this.clicked=!0;const n=((c=a.geometry)==null?void 0:c.coordinates)||[];this.setSelectedVectorFeatures([a]),(T=(L=this.callbacks).onFeatureInfo)==null||T.call(L,{feature:{id:((p=a.properties)==null?void 0:p.id)||((y=a.properties)==null?void 0:y.feature_id)||((g=a.properties)==null?void 0:g.project_name),properties:a.properties||{},feature:a,layer:this.currentTopicLayer,lngLat:{lng:Number(n[0]),lat:Number(n[1])}},screen:this.getPointFeatureScreenPoint(a)})}),e.addEventListener("mouseup",()=>{this.clicked=!1}),e.addEventListener("mouseover",()=>{e.visible&&(document.body.style.cursor="pointer")}),e.addEventListener("mouseout",()=>{document.body.style.cursor="default"})}getYakIndustryMarkerMaterial(e,t){const a=e.markerType||this.getYakIndustryMarkerType(t),n=`${e.fill||"#24F6C4"}-${e.stroke||"#B7FFF2"}-${a}`,r=this.yakIndustryMarkerMaterialCache.get(n);if(r)return r;const o=this.createYakIndustryMarkerTexture(e.fill,e.stroke,a),u=new ia({map:o,transparent:!0,depthTest:!1,depthWrite:!1,fog:!1});return this.yakIndustryMarkerMaterialCache.set(n,u),u}getYakIndustryMarkerType(e={}){var a;const t=String(((a=e==null?void 0:e.properties)==null?void 0:a.stageKey)||"");return $r[t]||"point"}createYakIndustryMarkerTexture(e="#24F6C4",t="#B7FFF2",a="point"){const n=document.createElement("canvas");n.width=112,n.height=112;const r=n.getContext("2d"),o=56,u=56;r.clearRect(0,0,n.width,n.height),r.beginPath(),r.arc(o,u,42,0,Math.PI*2),r.fillStyle=this.hexToRgba(e,.18),r.shadowColor=e,r.shadowBlur=20,r.fill(),this.drawYakIndustryMarkerFrame(r,a,o,u,e,t||e),r.save(),r.shadowBlur=0,r.beginPath(),r.arc(o,u,19,0,Math.PI*2),r.fillStyle="rgba(3, 23, 34, 0.64)",r.fill(),r.strokeStyle=this.hexToRgba("#FFFFFF",.32),r.lineWidth=2,r.stroke(),r.restore(),this.drawYakIndustryMarkerGlyph(r,a,o,u,"#FFFFFF");const c=new Jn(n);return c.colorSpace=la,c.needsUpdate=!0,c}drawYakIndustryMarkerFrame(e,t,a,n,r="#24F6C4",o="#B7FFF2"){if(e.save(),e.translate(a,n),e.fillStyle=this.hexToRgba(r,.92),e.strokeStyle=this.hexToRgba(o||r,.98),e.lineWidth=4,e.shadowColor=o||r,e.shadowBlur=14,t==="pasture")e.beginPath(),e.moveTo(-34,-9),e.lineTo(0,-38),e.lineTo(34,-9),e.lineTo(28,-9),e.lineTo(28,24),e.quadraticCurveTo(28,31,21,31),e.lineTo(-21,31),e.quadraticCurveTo(-28,31,-28,24),e.lineTo(-28,-9),e.closePath();else if(t==="grass")e.beginPath(),e.moveTo(0,-38),e.bezierCurveTo(31,-22,34,18,0,38),e.bezierCurveTo(-34,18,-31,-22,0,-38),e.closePath();else if(t==="breeding"){e.beginPath();for(let u=0;u<6;u+=1){const c=-Math.PI/2+Math.PI*2*u/6,p=Math.cos(c)*35,y=Math.sin(c)*35;u===0?e.moveTo(p,y):e.lineTo(p,y)}e.closePath()}else if(t==="storage")e.beginPath(),e.moveTo(-34,-25),e.lineTo(25,-25),e.lineTo(35,-13),e.lineTo(35,27),e.lineTo(-25,27),e.lineTo(-35,15),e.lineTo(-35,-25),e.closePath();else if(t==="processing"){e.beginPath();for(let u=0;u<10;u+=1){const c=-Math.PI/2+Math.PI*2*u/10,p=u%2===0?38:30,y=Math.cos(c)*p,g=Math.sin(c)*p;u===0?e.moveTo(y,g):e.lineTo(y,g)}e.closePath()}else if(t==="equipment"){e.beginPath();for(let u=0;u<16;u+=1){const c=-Math.PI/2+Math.PI*2*u/16,p=u%2===0?38:30,y=Math.cos(c)*p,g=Math.sin(c)*p;u===0?e.moveTo(y,g):e.lineTo(y,g)}e.closePath()}else t==="service"?(e.beginPath(),e.moveTo(0,-39),e.lineTo(31,-24),e.lineTo(25,14),e.quadraticCurveTo(0,39,-25,14),e.lineTo(-31,-24),e.closePath()):(e.beginPath(),e.arc(0,0,34,0,Math.PI*2));e.fill(),e.stroke(),e.restore()}drawYakIndustryMarkerGlyph(e,t,a,n,r="#24F6C4"){if(e.save(),e.translate(a,n),e.lineCap="round",e.lineJoin="round",e.shadowBlur=0,e.fillStyle=this.hexToRgba(r,.98),e.strokeStyle=this.hexToRgba(r,.98),e.lineWidth=3,t==="pasture")e.beginPath(),e.moveTo(-12,-2),e.lineTo(0,-11),e.lineTo(12,-2),e.stroke(),e.fillRect(-9,-2,18,12),e.clearRect(-3,2,6,8);else if(t==="grass")e.beginPath(),e.moveTo(0,10),e.quadraticCurveTo(-10,1,-7,-10),e.moveTo(0,10),e.quadraticCurveTo(10,1,7,-10),e.moveTo(0,10),e.quadraticCurveTo(0,0,1,-12),e.stroke();else if(t==="breeding")e.beginPath(),e.moveTo(-8,-5),e.quadraticCurveTo(-15,-12,-18,-4),e.moveTo(8,-5),e.quadraticCurveTo(15,-12,18,-4),e.stroke(),e.beginPath(),e.ellipse(0,1,11,12,0,0,Math.PI*2),e.fill(),e.fillStyle=this.hexToRgba("#08202D",.85),e.fillRect(-5,-2,3,3),e.fillRect(2,-2,3,3);else if(t==="storage")e.beginPath(),e.moveTo(-13,-3),e.lineTo(0,-11),e.lineTo(13,-3),e.lineTo(13,9),e.lineTo(-13,9),e.closePath(),e.fill(),e.strokeStyle=this.hexToRgba("#08202D",.72),e.lineWidth=2,e.beginPath(),e.moveTo(-8,0),e.lineTo(8,0),e.moveTo(-8,5),e.lineTo(8,5),e.stroke();else if(t==="processing")e.beginPath(),e.moveTo(-13,8),e.lineTo(-13,-1),e.lineTo(-5,-6),e.lineTo(-5,-1),e.lineTo(3,-6),e.lineTo(3,-1),e.lineTo(12,-6),e.lineTo(12,8),e.closePath(),e.fill(),e.fillRect(-13,-11,5,7),e.fillStyle=this.hexToRgba("#08202D",.72),e.fillRect(-8,2,4,3),e.fillRect(0,2,4,3),e.fillRect(7,2,4,3);else if(t==="equipment"){for(let o=0;o<8;o+=1)e.save(),e.rotate(Math.PI*2*o/8),e.fillRect(8,-2,5,4),e.restore();e.beginPath(),e.arc(0,0,9,0,Math.PI*2),e.fill(),e.fillStyle=this.hexToRgba("#FFFFFF",.98),e.beginPath(),e.arc(0,0,4,0,Math.PI*2),e.fill()}else t==="service"?(e.beginPath(),e.moveTo(0,-13),e.lineTo(12,-7),e.lineTo(9,6),e.quadraticCurveTo(0,14,-9,6),e.lineTo(-12,-7),e.closePath(),e.fill(),e.strokeStyle=this.hexToRgba("#FFFFFF",.94),e.lineWidth=2.4,e.beginPath(),e.moveTo(0,-7),e.lineTo(0,6),e.moveTo(-6,-1),e.lineTo(6,-1),e.stroke()):(e.beginPath(),e.arc(0,0,7,0,Math.PI*2),e.fill());e.restore()}ensureYakIndustryPointLabelGroup(){this.yakIndustryPointLabelGroup||(this.yakIndustryPointLabelGroup=new Te,this.yakIndustryPointLabelGroup.name="yak-industry-point-labels",this.yakIndustryPointLabelGroup.rotation.x=-Math.PI/2,this.yakIndustryPointLabelGroup.visible=!1,this.scene.add(this.yakIndustryPointLabelGroup))}clearYakIndustryPointLabels(){var e;this.yakIndustryPointLabelGroup&&(this.yakIndustryPointLabelGroup.visible=!1),(e=this.yakIndustryPointLabels)==null||e.forEach(t=>{var a;t.visible=!1,(a=t.hide)==null||a.call(t)})}getYakIndustryLabelFeatures(e,t){const a=this.getVisibleVectorFeatures(e,t).filter(c=>{var p;return((p=c==null?void 0:c.geometry)==null?void 0:p.type)==="Point"}),n=Number(e==null?void 0:e.pointLabelLimit)||(a.length>36?12:Math.min(a.length,16)),r=a.map(c=>{var p;return{feature:c,score:this.getYakIndustryFeatureScore(c),town:nt((p=c.properties)==null?void 0:p.town)}}).sort((c,p)=>{var y,g;return p.score-c.score||String(((y=c.feature.properties)==null?void 0:y.name)||"").localeCompare(String(((g=p.feature.properties)==null?void 0:g.name)||""),"zh-CN")}),o=[],u=new Set;return r.forEach(c=>{o.length>=n||!c.town||u.has(c.town)||(o.push(c.feature),u.add(c.town))}),r.forEach(c=>{o.length>=n||o.includes(c.feature)||o.push(c.feature)}),o}getYakIndustryFeatureScore(e){const t=(e==null?void 0:e.properties)||{},a=[t.outputValue,t.capacity,t.value,t.count,t["年产值 (万元)"],t["年总产值 (万元)"],t["设计存栏量 (头)"],t["总库容 (吨)"]].map(n=>this.parseMapMetricNumber(n));return Math.max(...a,0)}parseMapMetricNumber(e){if(typeof e=="number")return Number.isFinite(e)?e:0;const t=String(e!=null?e:"").replace(/,/g,"").match(/-?\d+(?:\.\d+)?/);return t&&Number(t[0])||0}getYakIndustryPointLabelPosition(e,t=0){var n;const a=this.lngLatToLayerLocalPoint((n=e==null?void 0:e.geometry)==null?void 0:n.coordinates,this.depth+.42+Math.min(t,5)*.01);return a.x+=(t%3-1)*.08,a.y+=t%2===0?.07:-.06,a}getYakIndustryPointLabelHtml(e){const t=(e==null?void 0:e.properties)||{},a=this.compactYakIndustryLabelName(t.name||t.fullName||"产业主体"),n=this.formatYakIndustryLabelText(t.categoryName||t.stageName||"产业主体"),r=t.town||t.village||"红原县",o=this.getYakIndustryPointMetricText(t),u=this.getYakIndustryLabelColor(t);return`
    -
    ${Se(n)}
    -
    ${Se(a)}
    -
    - ${Se(r)} - ${o?`${Se(o)}`:""} -
    -
    `}compactYakIndustryLabelName(e=""){const t=String(e).replace(/^四川红原/,"").replace(/^红原县/,"").replace(/有限责任公司$/,"").replace(/农民专业合作社$/,"合作社").replace(/\s+/g," ").trim();return t.length>16?`${t.slice(0,15)}…`:t}formatYakIndustryLabelText(e=""){return String(e).replace(/\bcxpt[-_./\s]*/gi,"").replace(/^cxpt/i,"").replace(/\s+/g," ").trim()}getYakIndustryPointMetricText(e={}){return e.capacity!==void 0&&e.capacity!==null&&e.capacity!==""&&this.parseMapMetricNumber(e.capacity)>0?this.formatYakIndustryMetricText(e.capacity,e.capacityUnit):this.parseMapMetricNumber(e.outputValue)>0?`${this.formatMapRankingValue(e.outputValue)}万元`:this.isMeaningfulMapText(e.locationType)?e.locationType:this.isMeaningfulMapText(e.status)?e.status:""}isMeaningfulMapText(e){const t=String(e!=null?e:"").trim();return!!(t&&t!=="0"&&t!=="无"&&t!=="待完善")}formatYakIndustryMetricText(e,t=""){const a=String(e!=null?e:"").trim();return!a||a==="0"?"":typeof e=="string"&&/[^\d.,\s-]/.test(a)?a:`${this.formatMapRankingValue(e)}${t||""}`}getYakIndustryLabelColor(e={}){var n,r,o,u,c,p;const t=String(e.stageKey||""),a=(((n=this.currentTopicLayer)==null?void 0:n.legends)||[]).find(y=>{var g;return String(((g=y.match)==null?void 0:g.value)||"")===t})||(String(((u=(o=(r=this.currentTopicLayer)==null?void 0:r.activeLegend)==null?void 0:o.match)==null?void 0:u.value)||"")===t?this.currentTopicLayer.activeLegend:null);return(a==null?void 0:a.fillColor)||((p=(c=this.currentTopicLayer)==null?void 0:c.activeLegend)==null?void 0:p.fillColor)||"#24F6C4"}clipVectorLayerContext(e,t){if(this.shouldClipLayerToHongyuanBoundary(t)&&this.clipContextToHongyuanBoundary(e),!this.shouldClipLayerToLayerBounds(t))return;const a=this.getLayerClipBounds(t);if(!a)return;const n=this.lngLatToLayerCanvasPoint([a.west,a.north]),r=this.lngLatToLayerCanvasPoint([a.east,a.south]),o=Math.min(n.x,r.x),u=Math.min(n.y,r.y),c=Math.abs(r.x-n.x),p=Math.abs(r.y-n.y);!c||!p||(e.beginPath(),e.rect(o,u,c,p),e.clip())}clipContextToHongyuanBoundary(e){const t=this.hongyuanBoundaryPolygons||[];t.length&&(e.beginPath(),t.forEach(a=>{a.forEach(n=>{n.forEach((r,o)=>{const u=this.lngLatToLayerCanvasPoint(r);o===0?e.moveTo(u.x,u.y):e.lineTo(u.x,u.y)}),e.closePath()})}),e.clip("evenodd"))}shouldClipLayerToHongyuanBoundary(e=this.currentTopicLayer){if(!e||e.clipToHongyuanBoundary===!1)return!1;if(e.clipToHongyuanBoundary===!0)return!0;const t=String((e==null?void 0:e.key)||"");return!!(t==="national-park-zoning"||t.startsWith("yak-"))}shouldClipLayerToLayerBounds(e=this.currentTopicLayer){return!!(e!=null&&e.clipBounds&&(e==null?void 0:e.clipToLayerBounds)!==!1)}isLngLatInHongyuanBoundary(e){const t=this.hongyuanBoundaryPolygons||[];return t.length?t.some(a=>this.isLngLatInPolygon(e,a)):!0}isLngLatInLayerClipBounds(e,t=this.currentTopicLayer){const a=this.getLayerClipBounds(t);return a?e.lng>=a.west&&e.lng<=a.east&&e.lat>=a.south&&e.lat<=a.north:!0}getLayerClipBounds(e){const t=e==null?void 0:e.clipBounds;if(!t)return null;const a=Math.max(Number(t.west),j.west),n=Math.max(Number(t.south),j.south),r=Math.min(Number(t.east),j.east),o=Math.min(Number(t.north),j.north);return![a,n,r,o].every(Number.isFinite)||a>=r||n>=o?null:{west:a,south:n,east:r,north:o}}getGeometryDrawRank(e){return String(e).includes("Polygon")?1:String(e).includes("LineString")?2:3}isEcologicalProjectLayer(e=this.currentTopicLayer){return["restoration-projects","engineering-analysis-projects"].includes(e==null?void 0:e.key)}getVectorFeatureStyle(e,t){var c,p,y;const a=t.properties||{},r=(e.legends||[]).find(g=>{var L,T;return(((L=g==null?void 0:g.matches)==null?void 0:L.length)||((T=g==null?void 0:g.match)==null?void 0:T.field))&&this.featureMatchesLegend(a,g)})||e.activeLegend||((c=e.legends)==null?void 0:c[0])||{},o=String(((p=t.geometry)==null?void 0:p.type)||"").includes("LineString"),u=((y=t.geometry)==null?void 0:y.type)==="Point";if(this.isEcologicalProjectLayer(e)){const g=o||String(a.feature_role||"")==="线性设施";return{fill:g||u?r.strokeColor||r.fillColor||"#D2EA78":r.fillColor||"#75AD49",stroke:r.strokeColor||r.fillColor||"#D2EA78",polygonAlpha:g?.08:.22,lineAlpha:g?.9:.82,lineWidth:g?3:1.85,pointRadius:u?3.8:4,glow:!1}}return(e==null?void 0:e.key)==="yak-epidemic-village-boundary"?{fill:r.fillColor||"#24F6C4",stroke:r.strokeColor||"#C9FBFF",polygonAlpha:.16,lineAlpha:1,lineWidth:3.2,pointRadius:4.5,glow:!0}:(e==null?void 0:e.key)==="artificial-grassland-plots"?{fill:r.fillColor||"#24F6C4",stroke:r.strokeColor||"#A7F8FF",polygonAlpha:.2,lineAlpha:.94,lineWidth:1.6,pointRadius:4.5,glow:!0}:(e==null?void 0:e.key)==="yak-industry-points"?{fill:r.fillColor||"#24F6C4",stroke:r.strokeColor||r.fillColor||"#B7FFF2",polygonAlpha:.36,lineAlpha:.82,lineWidth:1.6,pointRadius:this.getVectorPointRadius(e,t),glow:!0,halo:!0,marker:!0,markerType:$r[String(a.stageKey||"")]||"point"}:(e==null?void 0:e.key)==="national-park-zoning"?{fill:r.fillColor||"#30DCFF",stroke:r.strokeColor||"#F2FFFF",polygonAlpha:.38,lineAlpha:.96,lineWidth:2.7,pointRadius:4.5,glow:!1}:e!=null&&e.boundaryOnly?{fill:r.fillColor||"#24F6C4",stroke:r.strokeColor||r.fillColor||"#18F8FF",polygonAlpha:.04,lineAlpha:.96,lineWidth:10,pointRadius:4.5,glow:!0}:{fill:o||u?r.strokeColor||r.fillColor||"#30DCFF":r.fillColor||"#30DCFF",stroke:r.strokeColor||r.fillColor||"#30DCFF",polygonAlpha:.36,lineAlpha:o?.92:.9,lineWidth:o?5:2.4,pointRadius:u?this.getVectorPointRadius(e,t):4.5,glow:!0}}getVectorPointRadius(e,t){var n,r;const a=Number(((n=t==null?void 0:t.properties)==null?void 0:n.count)||((r=t==null?void 0:t.properties)==null?void 0:r.value)||0);return(e==null?void 0:e.key)==="yak-recognition-layer"?Math.max(3.8,Math.min(8.6,3.6+Math.sqrt(a)/68)):(e==null?void 0:e.key)==="yak-industry-points"?10.4:4.5}drawVectorFeature(e,t,a){if(t!=null&&t.coordinates){if(t.type==="Polygon"){this.drawPolygonPath(e,t.coordinates,a);return}if(t.type==="MultiPolygon"){t.coordinates.forEach(n=>this.drawPolygonPath(e,n,a));return}if(t.type==="LineString"){this.drawLinePath(e,t.coordinates,a);return}if(t.type==="MultiLineString"){t.coordinates.forEach(n=>this.drawLinePath(e,n,a));return}t.type==="Point"&&this.drawPointPath(e,t.coordinates,a)}}drawPolygonPath(e,t,a){Array.isArray(t==null?void 0:t[0])&&(e.save(),e.beginPath(),t.forEach(n=>{n.forEach((r,o)=>{const u=this.lngLatToLayerCanvasPoint(r);o===0?e.moveTo(u.x,u.y):e.lineTo(u.x,u.y)}),e.closePath()}),e.fillStyle=this.hexToRgba(a.fill,a.polygonAlpha),e.strokeStyle=this.hexToRgba(a.stroke,a.lineAlpha),e.lineWidth=a.lineWidth,a.glow&&(e.shadowColor=a.stroke,e.shadowBlur=14),e.fill("evenodd"),e.stroke(),e.restore())}drawLinePath(e,t,a){!Array.isArray(t)||t.length<2||(e.save(),e.beginPath(),t.forEach((n,r)=>{const o=this.lngLatToLayerCanvasPoint(n);r===0?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y)}),e.strokeStyle=this.hexToRgba(a.stroke,a.lineAlpha),e.lineWidth=a.lineWidth,e.shadowColor=a.stroke,e.shadowBlur=12,e.stroke(),e.restore())}drawPointPath(e,t,a){var r;if(a.marker){this.drawMarkerPointPath(e,t,a);return}const n=this.lngLatToLayerCanvasPoint(t);e.save(),a.halo&&(e.beginPath(),e.arc(n.x,n.y,a.pointRadius*2.35,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.18),e.shadowColor=a.fill,e.shadowBlur=18,e.fill()),e.beginPath(),e.arc(n.x,n.y,a.pointRadius,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.96),e.shadowColor=a.stroke,e.shadowBlur=a.halo?8:12,e.fill(),a.lineWidth&&(e.lineWidth=a.lineWidth,e.strokeStyle=this.hexToRgba(a.stroke,(r=a.lineAlpha)!=null?r:.9),e.stroke()),e.restore()}drawMarkerPointPath(e,t,a){const n=this.lngLatToLayerCanvasPoint(t),r=a.pointRadius||6;e.save(),e.beginPath(),e.arc(n.x,n.y+r*.22,r*2.55,0,Math.PI*2),e.fillStyle=this.hexToRgba(a.fill,.16),e.shadowColor=a.fill,e.shadowBlur=24,e.fill(),e.beginPath(),e.moveTo(n.x,n.y+r*2.05),e.bezierCurveTo(n.x+r*1.46,n.y+r*.62,n.x+r*1.34,n.y-r*1.34,n.x,n.y-r*1.62),e.bezierCurveTo(n.x-r*1.34,n.y-r*1.34,n.x-r*1.46,n.y+r*.62,n.x,n.y+r*2.05),e.closePath(),e.fillStyle=this.hexToRgba(a.fill,.94),e.strokeStyle=this.hexToRgba(a.stroke,.98),e.lineWidth=Math.max(2,a.lineWidth||2),e.shadowColor=a.stroke,e.shadowBlur=14,e.fill(),e.stroke(),e.beginPath(),e.arc(n.x,n.y-r*.34,r*.52,0,Math.PI*2),e.fillStyle=this.hexToRgba("#FFFFFF",.96),e.shadowBlur=0,e.fill(),e.beginPath(),e.arc(n.x,n.y-r*.34,r*.82,0,Math.PI*2),e.lineWidth=Math.max(1.2,r*.14),e.strokeStyle=this.hexToRgba("#FFFFFF",.42),e.stroke(),e.restore()}lngLatToLayerCanvasPoint(e){const t=Number(e==null?void 0:e[0]),a=Number(e==null?void 0:e[1]);return{x:(t-j.west)/(j.east-j.west)*this.topicLayerCanvas.width,y:(j.north-a)/(j.north-j.south)*this.topicLayerCanvas.height}}hexToRgba(e,t=1){const a=String(e||"#30DCFF").replace("#",""),n=a.length===3?a.split("").map(p=>p+p).join(""):a,r=Number.parseInt(n,16);if(!Number.isFinite(r))return`rgba(48, 220, 255, ${t})`;const o=r>>16&255,u=r>>8&255,c=r&255;return`rgba(${o}, ${u}, ${c}, ${t})`}parseWktGeometry(e){var o;const t=String(e||"").trim();if(!t)return null;const a=t.match(/^([A-Z]+)(?:\s+[A-Z]+)?\s*\(/i),n=(o=a==null?void 0:a[1])==null?void 0:o.toUpperCase();if(!n)return null;const r=t.slice(t.indexOf("("));return n==="POLYGON"?{type:"Polygon",coordinates:this.parseWktPolygonBody(r)}:n==="MULTIPOLYGON"?{type:"MultiPolygon",coordinates:this.parseWktMultiPolygonBody(r)}:n==="POINT"?{type:"Point",coordinates:this.parseWktPoint(r)}:n==="MULTIPOINT"?{type:"MultiPoint",coordinates:this.getWktChildGroups(r).map(u=>this.parseWktPoint(u)).filter(Boolean)}:n==="LINESTRING"?{type:"LineString",coordinates:this.parseWktRing(r)}:n==="MULTILINESTRING"?{type:"MultiLineString",coordinates:this.getWktChildGroups(r).map(u=>this.parseWktRing(u)).filter(u=>u.length)}:null}parseWktMultiPolygonBody(e){return this.getWktChildGroups(e).map(t=>this.parseWktPolygonBody(t)).filter(t=>t.length)}parseWktPolygonBody(e){return this.getWktChildGroups(e).map(t=>this.parseWktRing(t)).filter(t=>t.length>=3)}getWktChildGroups(e){const t=String(e||"").trim(),a=t.startsWith("(")&&t.endsWith(")")?t.slice(1,-1):t,n=[];let r=0,o=-1;for(let u=0;u=0&&(n.push(a.slice(o,u+1)),o=-1))}return n.length?n:[a]}parseWktRing(e){return String(e||"").replace(/^\(+|\)+$/g,"").split(",").map(a=>a.trim().split(/\s+/).slice(0,2).map(Number)).filter(([a,n])=>Number.isFinite(a)&&Number.isFinite(n))}parseWktPoint(e){const t=String(e||"").replace(/^\(+|\)+$/g,"").trim().split(/\s+/).slice(0,2).map(Number);return t.length>=2&&Number.isFinite(t[0])&&Number.isFinite(t[1])?[t[0],t[1]]:null}createProvinceMaterial(){const e=!this.useSatelliteBase;let t=new Hn({color:16777215,transparent:!0,opacity:0,depthWrite:!this.usesCustomSatelliteTiles,fog:!1,side:Re});t.onBeforeCompile=r=>{r.uniforms=$(F({},r.uniforms),{uColor1:{value:new gt(e?2780818:2152676)},uColor2:{value:new gt(e?1058614:475482)}}),r.vertexShader=r.vertexShader.replace("void main() {",` - attribute float alpha; - varying vec3 vPosition; - varying float vAlpha; - void main() { - vAlpha = alpha; - vPosition = position; - `),r.fragmentShader=r.fragmentShader.replace("void main() {",` - varying vec3 vPosition; - varying float vAlpha; - uniform vec3 uColor1; - uniform vec3 uColor2; - void main() { - `),r.fragmentShader=r.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - vec3 gradient = mix(uColor1, uColor2, vPosition.x/15.78); - ${e?`outgoingLight = outgoingLight * gradient; - float topAlpha = 0.56;`:`outgoingLight = mix(outgoingLight * vec3(1.18), outgoingLight * gradient, 0.32); - float topAlpha = 0.92;`} - if(vPosition.z>0.3){ - diffuseColor.a *= topAlpha; - } - gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - `)};let a=this.assets.instance.getResource("side");a.wrapS=at,a.wrapT=at,a.repeat.set(1,1.8),a.offset.y+=.065;let n=new en({color:2148829,map:a,fog:!1,opacity:0,side:Re,roughness:.58,metalness:.08});return this.time.on("tick",()=>{a.offset.y+=.005}),n.onBeforeCompile=r=>{r.uniforms=$(F({},r.uniforms),{uColor1:{value:new gt(1629410)},uColor2:{value:new gt(205365)}}),r.vertexShader=r.vertexShader.replace("void main() {",` - attribute float alpha; - varying vec3 vPosition; - varying float vAlpha; - void main() { - vAlpha = alpha; - vPosition = position; - `),r.fragmentShader=r.fragmentShader.replace("void main() {",` - varying vec3 vPosition; - varying float vAlpha; - uniform vec3 uColor1; - uniform vec3 uColor2; - void main() { - `),r.fragmentShader=r.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - vec3 gradient = mix(uColor1, uColor2, vPosition.z/1.2); - outgoingLight = outgoingLight*gradient*vec3(1.12); - gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - `)},[t,n]}getDefaultTownRanking(){return{title:"乡镇统计加载中",unit:"",rows:Nr.map(e=>({name:e.name,value:0,unit:""}))}}getTownRankingMeta(e=this.currentTownRanking){var n,r,o,u;const t=this.getDefaultTownRanking(),a=zu(e);return{title:(e==null?void 0:e.title)||t.title,unit:(e==null?void 0:e.unit)||t.unit,metricLabel:(e==null?void 0:e.metricLabel)||(e==null?void 0:e.legendName)||"",note:(e==null?void 0:e.note)||"",hideTownNames:Or(e),hideMapLabels:Ma(e),hideTownLabelStats:(n=e==null?void 0:e.hideTownLabelStats)!=null?n:this.hideTownLabelStatsByDefault,calloutMode:a,showBars:(r=e==null?void 0:e.showBars)!=null?r:!1,showPointMarkers:(o=e==null?void 0:e.showPointMarkers)!=null?o:a,onlyRankedTownLabels:(u=e==null?void 0:e.onlyRankedTownLabels)!=null?u:!1,showMissingTownStats:(e==null?void 0:e.showMissingTownStats)===!0}}getTownRankingRows(e=this.currentTownRanking,t=7,a=!0){var c;const n=this.getDefaultTownRanking(),r=(c=e==null?void 0:e.rows)!=null&&c.length?e.rows:a?n.rows:[],o=this.getTownRankingMeta(e),u=r.map(p=>{const y=this.townMetaByName.get(nt(p.name));return y?$(F(F({},y),p),{name:y.name,enName:y.enName,center:y.center,centroid:y.centroid,value:ue(p.value),unit:p.unit||o.unit,metricTitle:o.title}):null}).filter(Boolean).sort((p,y)=>y.value-p.value).map((p,y)=>$(F({},p),{rank:y+1}));return Number.isFinite(t)?u.slice(0,t):u}getVillageRankingRows(e=this.currentTownRanking){const t=this.getTownRankingMeta(e);return((e==null?void 0:e.rows)||[]).map((a,n)=>{var p,y,g,L,T,C,N,B;const r=ue((p=a.lng)!=null?p:a.longitude,NaN),o=ue((y=a.lat)!=null?y:a.latitude,NaN);if(!Number.isFinite(r)||!Number.isFinite(o))return null;const u=ue((g=a.displayValue)!=null?g:a.value),c=ue((C=(T=(L=a.rawValue)!=null?L:a.earTagCount)!=null?T:a.ear_tag_count)!=null?C:a.value);return $(F({},a),{key:a.key||`${a.town||""}-${a.village||a.name||n}`,name:a.name||a.village||`村${n+1}`,town:a.town||"",lng:r,lat:o,value:u,rawValue:c,recordCount:ue((N=a.recordCount)!=null?N:a.record_count,0),imageRate:ue((B=a.imageRate)!=null?B:a.image_rate,0),unit:a.displayUnit||a.unit||t.unit,metricTitle:t.title,metricLabel:a.metricLabel||t.metricLabel||""})}).filter(Boolean).sort((a,n)=>n.rawValue-a.rawValue).map((a,n)=>$(F({},a),{rank:n+1}))}getVillageRankingHtml(e,t){const a=t.hideTownNames?"":`${Se(e.town||"红原县")}`;return e.displayMode==="park-village"||t.displayMode==="park-village"?`
    -
    - ${Se(e.name)} - ${a} -
    -
    - ${Se(e.metricLabel||t.metricLabel||"")} - ${this.formatMapRankingValue(e.value)} - ${Se(e.unit||t.unit||"")} -
    -
    `:`
    -
    - ${Se(e.name)} - ${a} -
    -
    - ${Se(e.metricLabel||"防疫")} - ${this.formatMapRankingValue(e.value)} - ${Se(e.unit||t.unit||"")} -
    -
    - 台账 ${this.formatMapCompactValue(e.recordCount)}条 - 耳标 ${this.formatMapCompactValue(e.rawValue)}头 -
    -
    `}ensureVillageRankingGroup(){this.villageRankingGroup||(this.villageRankingGroup=new Te,this.villageRankingGroup.rotation.x=-Math.PI/2,this.villageRankingGroup.visible=!1,this.scene.add(this.villageRankingGroup),this.villageRankingLabels=[])}hideVillageRankingLabels(){var e;this.villageRankingGroup&&(this.villageRankingGroup.visible=!1),(e=this.villageRankingLabels)==null||e.forEach(t=>{t.visible=!1})}hideAllMapStatisticLabels(){var e,t,a,n;this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!1),this.hideVillageRankingLabels(),this.hideTradeFlowLayer(),this.clearInfoPointStats(),(e=this.allProvinceLabel)==null||e.forEach(r=>{r.visible=!1}),(t=this.allBar)==null||t.forEach(r=>{r.visible=!1,r.scale.set(1,1,0)}),(a=this.allBarMaterial)==null||a.forEach(r=>{r.opacity=0}),(n=this.allGuangquan)==null||n.forEach(r=>{r.visible=!1})}setTownNameLabelsVisible(e=!0){var t;(t=this.townNameLabels)==null||t.forEach(a=>{a.visible=e})}updateVillageRankingLabels(e=this.currentTownRanking){if(this.ensureVillageRankingGroup(),!Dr(e)){this.hideVillageRankingLabels();return}const t=this.getVillageRankingRows(e),a=this.getTownRankingMeta(e);if(!t.length){this.hideVillageRankingLabels();return}this.villageRankingGroup.visible=this.mapAnimationComplete,t.forEach((n,r)=>{let o=this.villageRankingLabels[r];o||(o=this.label3d.create("","epidemic-village-label",!0),this.label3d.setLabelStyle(o,.0135,"x"),o.setParent(this.villageRankingGroup),this.villageRankingLabels.push(o));const[u,c]=this.geoProjection([n.lng,n.lat]),p=(r%3-1)*.06,y=Math.floor(r/3)%2*.04;o.init(this.getVillageRankingHtml(n,a),new te(u+p,-c+y,this.depth+1.55+Math.min(r,6)*.015)),o.visible=!0,o.userData=F({},n)}),this.villageRankingLabels.slice(t.length).forEach(n=>{n.visible=!1})}ensureTradeFlowGroup(){this.tradeFlowGroup||(this.tradeFlowGroup=new Te,this.tradeFlowGroup.name="yak-trade-flow",this.tradeFlowGroup.visible=!1,this.tradeFlowMeshGroup=new Te,this.tradeFlowMeshGroup.name="yak-trade-flow-mesh",this.tradeFlowMeshGroup.rotation.x=-Math.PI/2,this.tradeFlowLabelGroup=new Te,this.tradeFlowLabelGroup.name="yak-trade-flow-label",this.tradeFlowLabelGroup.rotation.x=-Math.PI/2,this.tradeFlowGroup.add(this.tradeFlowMeshGroup,this.tradeFlowLabelGroup),this.scene.add(this.tradeFlowGroup))}hideTradeFlowLayer(){var e,t;this.tradeFlowGroup&&(this.tradeFlowGroup.visible=!1),(e=this.tradeFlowLabels)==null||e.forEach(a=>{a.visible=!1}),(t=this.tradeFlowPulseSprites)==null||t.forEach(a=>{a.visible=!1})}clearTradeFlowLayer(){this.tradeFlowMeshGroup&&(this.tradeFlowMeshGroup.children.forEach(e=>{var t;(t=e.traverse)==null||t.call(e,a=>this.disposeObject3D(a))}),this.tradeFlowMeshGroup.clear(),this.tradeFlowMaterials=[],this.tradeFlowPulseSprites=[])}getTradeFlowSource(e=this.currentTownRanking){var r,o,u,c;const t=(e==null?void 0:e.source)||{},a=ue((r=t.lng)!=null?r:t.longitude,NaN),n=ue((o=t.lat)!=null?o:t.latitude,NaN);return!Number.isFinite(a)||!Number.isFinite(n)?null:{name:t.name||"红原牦牛交易市场",lng:a,lat:n,total:ue((c=(u=t.total)!=null?u:t.headCount)!=null?c:t.value,NaN)}}getTradeFlowRows(e=this.currentTownRanking){const t=this.getTownRankingMeta(e);return((e==null?void 0:e.rows)||[]).map((a,n)=>{var L,T,C,N,B,z;const r=ue((L=a.lng)!=null?L:a.longitude,NaN),o=ue((T=a.lat)!=null?T:a.latitude,NaN),u=ue((B=(N=(C=a.headCount)!=null?C:a.head_count)!=null?N:a.rawValue)!=null?B:a.value),c=a.displayName||a.display_name||a.name,p=a.mapTownName||a.map_town_name||a.town||a.startTown||a.start_town||c,y=this.townMetaByName.get(nt(p)),g=Number.isFinite(r)&&Number.isFinite(o)?{lng:r,lat:o}:y!=null&&y.center?{lng:y.center[0],lat:y.center[1]}:null;return!g||!Number.isFinite(u)?null:$(F(F({},a),y),{key:a.key||`${(y==null?void 0:y.name)||c||p||"trade-source"}-${n}`,name:c||p||(y==null?void 0:y.name)||`来源${n+1}`,townName:(y==null?void 0:y.name)||p,lng:g.lng,lat:g.lat,labelSide:a.labelSide||a.label_side||this.getTradeSourceLabelSide(y,n),value:u,headCount:u,recordCount:ue((z=a.recordCount)!=null?z:a.record_count,0),unit:a.unit||t.unit||"头"})}).filter(Boolean).sort((a,n)=>n.value-a.value).map((a,n)=>$(F({},a),{rank:n+1}))}getTradeMarketHtml(e,t){const a=Number.isFinite(e.total)?e.total:t.reduce((n,r)=>n+ue(r.value),0);return`
    -
    ${Se(e.name)}
    -
    ${this.formatMapIntegerValue(a)}头
    -
    `}getTradeFlowDisplayName(e=""){const t=String(e||"").replace(/^.*红原县/,"").replace(/\s+/g,"");return t.length>7?`${t.slice(0,7)}…`:t||"来源区域"}getTradeFlowLabelHtml(e){return`
    -
    ${String(e.rank).padStart(2,"0")}${Se(this.getTradeFlowDisplayName(e.name))}
    -
    ${this.formatMapIntegerValue(e.value)}${Se(e.unit||"头")}
    -
    `}getTradeFlowLabelOffset(e,t){return new te(0,0,0)}getTradeSourceLabelSide(e,t=0){var r,o;const a=Number((r=e==null?void 0:e.center)==null?void 0:r[0]),n=Number((o=e==null?void 0:e.center)==null?void 0:o[1]);return Number.isFinite(a)&&athis.geoProjectionCenter[0]+.2?"right":Number.isFinite(n)&&n>this.geoProjectionCenter[1]+.22?"top":Number.isFinite(n)&&n0&&(c.normalize().multiplyScalar((a%2===0?1:-1)*Math.min(.18,.05+u*.02)),o.add(c)),new $l([n,o,r])}tradeGeoProjection(e){return Kt().center(this.tradeGeoProjectionCenter).scale(this.tradeGeoProjectionScale).translate([0,0])(e)}setTradeNationalMapVisible(e){const t=!!e;if(!(!t&&!this.isTradeNationalMapActive&&!this.tradeNationalMapGroup&&!this.tradeFlowGroup)){if(t&&!this.createTradeNationalMap()){this.isTradeNationalMapActive=!1;return}this.isTradeNationalMapActive=t,this.tradeNationalMapGroup&&(this.tradeNationalMapGroup.visible=t&&this.mapAnimationComplete),this.tradeNationalLabelGroup&&(this.tradeNationalLabelGroup.visible=t&&this.mapAnimationComplete),this.mapGroup&&(this.mapGroup.visible=!t),this.labelGroup&&(this.labelGroup.visible=!t),this.flyLineGroup&&(this.flyLineGroup.visible=!t&&this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!t&&this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=!t&&this.mapAnimationComplete),this.topicLayerMaterial&&t&&(this.topicLayerMaterial.opacity=0),t&&this.mapAnimationComplete?this.animateMapCamera(new te(0,11.4,16.2),new te(0,-.05,0),.65):!t&&this.mapAnimationComplete&&this.applyLayerMapView(this.currentTopicLayer,{force:!0})}}createTradeSourceMarker(e,t,a,n,r=!0){const o=new gt(t%3===1?16766828:t%3===2?2617536:3202303),u=this.getTradeFlowPoint(e,.72);if(n&&r){const N=this.getLocalTradeFlowCurve(e,n,t),B=new ye({color:o,transparent:!0,opacity:.42,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie}),z=.012+Math.min(.012,ue(e.value)/Math.max(a,1)*.01),X=new je(new Vl(N,48,z,8,!1),B);X.renderOrder=31,this.tradeFlowMeshGroup.add(X),this.tradeFlowMaterials.push(B);const ae=new ia({map:this.assets.instance.getResource("point"),color:o,transparent:!0,opacity:.92,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie}),q=new na(ae),I=.12+Math.min(.08,ue(e.value)/Math.max(a,1)*.06);q.renderOrder=36,q.scale.set(I,I,I),q.userData={curve:N,phase:t*.13%1,speed:.16+Math.min(.16,ue(e.value)/Math.max(a,1)*.12)},q.position.copy(N.getPointAt(q.userData.phase)),this.tradeFlowPulseSprites.push(q),this.tradeFlowMeshGroup.add(q)}const c=new ia({map:this.assets.instance.getResource("point"),color:o,transparent:!0,opacity:.95,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie}),p=new na(c),y=.22+Math.min(.34,ue(e.value)/Math.max(a,1)*.28);p.renderOrder=34,p.scale.set(y,y,y),p.position.copy(u),this.tradeFlowMeshGroup.add(p);const g=this.assets.instance.getResource("guangquan1"),L=new ye({map:g,alphaMap:g,color:o,transparent:!0,opacity:.52,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie,side:Re}),T=.38+Math.min(.36,ue(e.value)/Math.max(a,1)*.28),C=new je(new $t(T,T),L);C.renderOrder=29,C.position.copy(this.getTradeFlowPoint(e,.5)),this.tradeFlowMeshGroup.add(C)}createTradeMarketMarker(e){const t=this.assets.instance.getResource("point"),a=this.assets.instance.getResource("guangquan1"),n=this.getTradeLocalPoint(e.lng,e.lat,.82),r=new ia({map:t,color:16773997,transparent:!0,opacity:1,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie}),o=new na(r);o.renderOrder=35,o.scale.set(.34,.34,.34),o.position.copy(n),this.tradeFlowMeshGroup.add(o);const u=new ye({map:a,alphaMap:a,color:16773997,transparent:!0,opacity:.72,depthWrite:!1,depthTest:!1,fog:!1,blending:Ie,side:Re}),c=new je(new $t(.58,.58),u);c.renderOrder=29,c.position.copy(this.getTradeLocalPoint(e.lng,e.lat,.58)),this.tradeFlowMeshGroup.add(c)}disposeObject3D(e){var t,a,n,r;(a=(t=e.geometry)==null?void 0:t.dispose)==null||a.call(t),Array.isArray(e.material)?e.material.forEach(o=>{var u;return(u=o==null?void 0:o.dispose)==null?void 0:u.call(o)}):(r=(n=e.material)==null?void 0:n.dispose)==null||r.call(n)}updateTradeFlowPulses(e=.016){var t,a;!((t=this.tradeFlowGroup)!=null&&t.visible)||!((a=this.tradeFlowPulseSprites)!=null&&a.length)||this.tradeFlowPulseSprites.forEach(n=>{var u;const r=(u=n.userData)==null?void 0:u.curve;if(!r)return;const o=(ue(n.userData.phase)+ue(n.userData.speed,.16)*e)%1;n.userData.phase=o,n.position.copy(r.getPointAt(o))})}updateTradeFlowLayer(e=this.currentTownRanking){if(!zr(e)){this.hideTradeFlowLayer();return}this.ensureTradeFlowGroup();const t=this.getTradeFlowSource(e),a=this.getTradeFlowRows(e);if(!t||!a.length){this.clearTradeFlowLayer(),this.hideTradeFlowLayer();return}this.clearTradeFlowLayer(),this.tradeFlowGroup.visible=this.mapAnimationComplete;const n=Du(e);this.createTradeMarketMarker(t);const r=Math.max(...a.map(c=>c.value),1);a.forEach((c,p)=>{this.createTradeSourceMarker(c,p,r,t,n)});const o=a.length+1;for(let c=this.tradeFlowLabels.length;c{const y=this.tradeFlowLabels[p+1];y.element.className="trade-flow-label",y.init(this.getTradeFlowLabelHtml(c),this.getTradeFlowPoint(c,.78).add(this.getTradeFlowLabelOffset(c,p))),y.visible=!0,y.userData=F({},c)}),this.tradeFlowLabels.slice(o).forEach(c=>{c.visible=!1})}hasTownRankingRows(e=this.currentTownRanking){return this.getTownRankingRows(e,Number.POSITIVE_INFINITY,!1).length>0}formatMapRankingValue(e){const t=ue(e);return Math.abs(t)>=100?String(Math.round(t)):Math.abs(t)>=10?String(Number(t.toFixed(1))):String(Number(t.toFixed(2)))}formatMapCompactValue(e){const t=ue(e);return Math.abs(t)>=1e4?`${Number((t/1e4).toFixed(Math.abs(t)>=1e5?1:2))}万`:Math.abs(t)>=1e3?`${Number((t/1e3).toFixed(1))}千`:this.formatMapRankingValue(t)}formatMapIntegerValue(e){const t=ue(e);return Math.round(t).toLocaleString("zh-CN")}getBarHeight(e,t){return t?Math.max(2.8*.12,2.8*(ue(e)/t)):2.8*.25}createBarGeometry(e){const a=new Dl(.06999999999999999,.06999999999999999,e);return a.translate(0,0,e/2),a}getProvinceLabelHtml(e,t,a){return`
    -
    -
    -
    ${a.title}
    -
    ${this.formatMapRankingValue(e.value)}${e.unit||a.unit}
    -
    ${e.name}
    -
    -
    ${t+1}
    -
    -
    `}updateBarItem(e,t,a,n,r=!0){var p,y;const o=this.getBarHeight(t.value,n),[u,c]=this.geoProjection(t.centroid);return e.visible=!0,(y=(p=e.geometry)==null?void 0:p.dispose)==null||y.call(p),e.geometry=this.createBarGeometry(o),e.position.set(u,-c,this.depth+.45),e.userData=$(F({},t),{targetValue:t.value,geoHeight:o}),e.children.forEach(g=>{var L,T,C,N;(T=(L=g.geometry)==null?void 0:L.dispose)==null||T.call(L),Array.isArray(g.material)?g.material.forEach(B=>{var z;return(z=B==null?void 0:B.dispose)==null?void 0:z.call(B)}):(N=(C=g.material)==null?void 0:C.dispose)==null||N.call(C)}),e.clear(),e.add(...this.createHUIGUANG(o,a>3?16776948:7863285)),r?sa.to(e.scale,{duration:.45,x:1,y:1,z:1,ease:"power2.out"}):this.mapAnimationComplete&&e.scale.set(1,1,1),{x:u,y:c,geoHeight:o}}updateProvinceLabel(e,t,a,n,r,o=!0){var C;const u=ue((C=e.userData)==null?void 0:C.targetValue,t.value);e.visible=!0,e.userData=$(F({},t),{targetValue:t.value}),e.position.copy(n);const c=e.element.querySelector(".label-title"),p=e.element.querySelector(".number .value"),y=e.element.querySelector(".number .unit"),g=e.element.querySelector(".name"),L=e.element.querySelector(".no");!c||!p||!y||!g||!L?e.element.innerHTML=this.getProvinceLabelHtml(t,a,r):(c.innerText=r.title,p.dataset.targetValue=String(t.value),p.innerText=this.formatMapRankingValue(t.value),y.innerText=t.unit||r.unit,g.innerText=t.name,L.innerText=a+1);const T=e.element.querySelector(".provinces-label-wrap");if(this.mapAnimationComplete&&(T.style.opacity="1",T.style.transform="translate3d(0, 0, 0)"),o&&this.mapAnimationComplete){const N=e.element.querySelector(".number .value"),z={value:u};sa.to(z,{value:t.value,duration:.45,ease:"power2.out",onUpdate:()=>{N.innerText=this.formatMapRankingValue(z.value)},onComplete:()=>{N.dataset.previousValue=String(t.value),N.innerText=this.formatMapRankingValue(t.value)}})}}clearTownNameLabelStat(e){const t=e.element.querySelector(".town-stat-label"),a=e.element.querySelector(".town-stat-value"),n=e.element.querySelector(".town-stat-unit"),r=e.element.querySelector(".town-rank"),o=e.element.querySelector(".town-stat-metric");t==null||t.classList.remove("has-stat"),e.element.style.pointerEvents="none",e.element.style.cursor="",a&&(a.innerText=""),n&&(n.innerText=""),r&&(r.innerText=""),o&&(o.innerText="")}updateTownNameLabelStats(e=this.currentTownRanking){var o;if(!((o=this.townNameLabels)!=null&&o.length))return;const t=this.getTownRankingRows(e,Number.POSITIVE_INFINITY,!1),a=this.getTownRankingMeta(e);if(a.hideTownLabelStats){this.townNameLabels.forEach(u=>{var y,g;const c=((y=u.userData)==null?void 0:y.townName)||((g=u.userData)==null?void 0:g.name),p=u.element.querySelector(".town-name");p&&(p.innerText=c||""),this.clearTownNameLabelStat(u),u.visible=!a.hideTownNames});return}const n=new Map(t.map(u=>[nt(u.name),u])),r=!!(a.showMissingTownStats&&e&&t.length&&(a.metricLabel||a.unit||a.title));this.townNameLabels.forEach(u=>{var X,ae;const c=((X=u.userData)==null?void 0:X.townName)||((ae=u.userData)==null?void 0:ae.name),p=n.get(nt(c));if(a.onlyRankedTownLabels&&!p){this.clearTownNameLabelStat(u),u.element.style.pointerEvents="none",u.element.style.cursor="",u.visible=!1;return}const y=p||(r?{name:c,value:0,unit:a.unit,metricLabel:a.metricLabel,rank:null}:null);if(!y){this.clearTownNameLabelStat(u),u.element.style.pointerEvents="none",u.element.style.cursor="";return}const g=u.element.querySelector(".town-stat-label"),L=u.element.querySelector(".town-name"),T=u.element.querySelector(".town-stat-value"),C=u.element.querySelector(".town-stat-unit"),N=u.element.querySelector(".town-rank"),B=u.element.querySelector(".town-stat-metric");g==null||g.classList.add("has-stat"),L&&(L.innerText=c),B&&(B.innerText=y.metricLabel||a.metricLabel||""),T&&(T.innerText=this.formatMapRankingValue(y.value)),C&&(C.innerText=y.unit||a.unit||""),N&&(N.innerText=y.rank?`第${y.rank}名`:"");const z=this.isNationalParkTownSelectionActive()&&!!p;u.element.style.pointerEvents=z?"auto":"none",u.element.style.cursor=z?"pointer":"",u.userData=$(F(F({},u.userData),y),{townName:c,targetValue:y.value})})}getInfoPointHtml(e,t=this.getTownRankingMeta()){const a=String(e.metricLabel||t.metricLabel||t.title||"统计指标").replace(/排行$/,""),n=Number(e.rank),r=Number.isFinite(n)?String(n).padStart(2,"0"):"--";return`
    -
    -
    - ${r} - ${Se(e.name||"红原县")} -
    -
    ${Se(a)}
    -
    - ${this.formatMapRankingValue(e.value)} - ${Se(e.unit||t.unit||"")} -
    -
    -
    `}updateInfoPointStats(){var o,u;if(!((o=this.infoPointSprites)!=null&&o.length)||!((u=this.infoLabelElement)!=null&&u.length))return;if(!this.showTownRankingPointMarkers){this.clearInfoPointStats();return}const e=this.getTownRankingRows(this.currentTownRanking,Number.POSITIVE_INFINITY,!1);if(!e.length){this.clearInfoPointStats();return}const t=this.getTownRankingMeta(),a=e.slice(0,this.infoPointSprites.length),n=Math.max(...a.map(c=>c.value),1);this.infoPointSprites.forEach((c,p)=>{const y=a[p],g=this.infoLabelElement[p];if(!y){c.visible=!1,c.scale.set(0,0,0),g&&(g.visible=!1);return}const[L,T]=this.geoProjection(y.centroid||y.center),C=[L,-T,this.depth+.72];c.userData=$(F(F({},c.userData),y),{position:C,value:y.value,unit:y.unit||t.unit,rank:y.rank,metricTitle:t.title,index:p}),c.position.set(...C),c.visible=this.showTownRankingPointMarkers;const N=.78+y.value/n*.44;if(c.scale.set(N,N,N),g){const B=(p%2===0?.22:-.18)+(p===0?.12:0),z=p%3===0?.08:-.04;g.position.set(L+B,-T+z,this.depth+1.88+Math.min(p,4)*.03),g.userData=$(F({},y),{index:p}),g.element.innerHTML=this.getInfoPointHtml(y,t)}});const r=this.infoLabelElement[this.infoPointIndex];r&&this.showTownRankingPointMarkers&&this.mapAnimationComplete&&(r.visible=!0),this.showTownRankingPointMarkers&&this.mapAnimationComplete&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}clearInfoPointStats(){var e,t;clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null,this.infoPointIndex=0,this.InfoPointGroup&&(this.InfoPointGroup.visible=!1),(e=this.infoLabelElement)==null||e.forEach(a=>{a.visible=!1}),(t=this.infoPointSprites)==null||t.forEach(a=>{a.visible=!1,a.scale.set(0,0,0)})}createBar(){const e=this.getTownRankingRows();this.getTownRankingMeta();const t=new Te;this.barGroup=t;const a=Math.max(...e.map(n=>n.value),1);this.allBar=[],this.allBarMaterial=[],this.allGuangquan=[],this.allProvinceLabel=[],e.map((n,r)=>{const o=this.getBarHeight(n.value,a),u=new ye({color:16777215,transparent:!0,opacity:0,depthTest:!1,fog:!1});new tn(u,{uColor1:r>3?16506760:5291006,uColor2:r>3?16776948:7863285,size:o,dir:"y"});const c=new je(this.createBarGeometry(o),u);c.renderOrder=5;const[p,y]=this.geoProjection(n.centroid);c.position.set(p,-y,this.depth+.45),c.scale.set(1,1,0),c.userData=$(F({},n),{targetValue:n.value,geoHeight:o});const g=this.createQuan(new te(p,this.depth+.44,y),r);c.add(...this.createHUIGUANG(o,r>3?16776948:7863285)),t.add(c),t.rotation.x=-Math.PI/2,this.allBar.push(c),this.allBarMaterial.push(u),this.allGuangquan.push(g)}),this.scene.add(t),this.updateTownNameLabelStats(this.currentTownRanking)}setTownRanking(e){var r,o,u,c,p,y,g,L,T,C,N,B,z,X,ae,q;this.currentTownRanking=e;const t=this.getTownRankingMeta(e);if(this.showTownRankingBars=!!t.showBars,this.showTownRankingPointMarkers=!!t.showPointMarkers,t.hideMapLabels){this.hideAllMapStatisticLabels(),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=this.mapAnimationComplete);return}if(zr(e)){this.setTradeNationalMapVisible(!1),this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!1),this.hideVillageRankingLabels(),this.clearInfoPointStats(),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!1),this.flyLineGroup&&(this.flyLineGroup.visible=!1),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=!1),this.scatterGroup&&(this.scatterGroup.visible=!1),(r=this.allBar)!=null&&r.length&&(this.allBar.forEach(I=>{I.visible=!1,I.scale.set(1,1,0)}),(o=this.allBarMaterial)==null||o.forEach(I=>{I.opacity=0}),(u=this.allProvinceLabel)==null||u.forEach(I=>{I.visible=!1}),(c=this.allGuangquan)==null||c.forEach(I=>{I.visible=!1})),this.updateTradeFlowLayer(e),(e!=null&&e.mapView||e!=null&&e.cameraPosition)&&this.applyLayerMapView(null);return}if(this.setTradeNationalMapVisible(!1),this.hideTradeFlowLayer(),this.mapGroup&&(this.mapGroup.visible=!0),this.labelGroup&&(this.labelGroup.visible=!0),this.flyLineGroup&&(this.flyLineGroup.visible=this.mapAnimationComplete),this.flyLineFocusGroup&&(this.flyLineFocusGroup.visible=this.mapAnimationComplete),this.scatterGroup&&(this.scatterGroup.visible=this.mapAnimationComplete),Dr(e)){this.updateTownNameLabelStats(null),this.setTownNameLabelsVisible(!Or(e)),this.clearInfoPointStats(),this.updateVillageRankingLabels(e),(p=this.allBar)!=null&&p.length&&(this.allBar.forEach(I=>{I.visible=!1,I.scale.set(1,1,0)}),(y=this.allBarMaterial)==null||y.forEach(I=>{I.opacity=0}),(g=this.allProvinceLabel)==null||g.forEach(I=>{I.visible=!1}),(L=this.allGuangquan)==null||L.forEach(I=>{I.visible=!1}));return}if(this.setTownNameLabelsVisible(!t.calloutMode&&!t.hideTownNames),this.hideVillageRankingLabels(),t.calloutMode?this.updateTownNameLabelStats(null):this.updateTownNameLabelStats(e),!((T=this.allBar)!=null&&T.length))return;if(!this.showTownRankingBars){this.allBar.forEach(I=>{I.visible=!1,I.scale.set(1,1,0)}),(C=this.allBarMaterial)==null||C.forEach(I=>{I.opacity=0}),(N=this.allProvinceLabel)==null||N.forEach(I=>{I.visible=!1}),(B=this.allGuangquan)==null||B.forEach(I=>{I.visible=!1}),this.showTownRankingPointMarkers?(this.InfoPointGroup&&(this.InfoPointGroup.visible=this.mapAnimationComplete&&this.hasTownRankingRows(e)),this.updateInfoPointStats()):this.clearInfoPointStats();return}const a=this.getTownRankingRows(e,7,!1);if(!a.length){this.allBar.forEach(I=>{I.visible=!1,I.scale.set(1,1,0)}),(z=this.allProvinceLabel)==null||z.forEach(I=>{I.visible=!1}),(X=this.allGuangquan)==null||X.forEach(I=>{I.visible=!1}),this.clearInfoPointStats();return}this.InfoPointGroup&&(this.InfoPointGroup.visible=this.showTownRankingPointMarkers&&this.mapAnimationComplete),(ae=this.infoPointSprites)==null||ae.forEach(I=>{I.visible=this.showTownRankingPointMarkers});const n=Math.max(...a.map(I=>I.value),1);this.allBar.forEach((I,Ce)=>{const He=Ce{I.visible=!1}),this.allGuangquan.forEach((I,Ce)=>{I.visible=Ce{const He=this.allBar[Ce],Qe=this.allGuangquan[Ce];if(!He)return;const{x:bt,y:O}=this.updateBarItem(He,I,Ce,n,this.mapAnimationComplete);Qe&&(Qe.visible=!0,Qe.position.set(0,0,0),Qe.children.forEach(We=>{We.position.set(bt,this.depth+.44,O),this.mapAnimationComplete&&We.scale.set(1,1,1)}))}),this.updateInfoPointStats()}createEvent(){let e=[];const t=n=>{n.traverse(r=>{r.isMesh&&(r.material=this.defaultMaterial)})},a=n=>{n.traverse(r=>{r.isMesh&&(r.material=this.defaultLightMaterial)})};this.eventElement.map(n=>{this.interactionManager.add(n),n.addEventListener("mousedown",r=>{this.handleMapClick(r)}),n.addEventListener("mouseover",r=>{e.includes(r.target.parent)||e.push(r.target.parent),document.body.style.cursor="pointer",a(r.target.parent)}),n.addEventListener("mouseout",r=>{e=e.filter(o=>o.userData.name!==r.target.parent.userData.name),e.length>0&&e[e.length-1],t(r.target.parent),document.body.style.cursor="default"})})}createHUIGUANG(e,t){let a=new $t(.35,e);a.translate(0,e/2,0);const n=this.assets.instance.getResource("huiguang");n.colorSpace=la,n.wrapS=at,n.wrapT=at;let r=new ye({color:t,map:n,transparent:!0,opacity:.4,depthWrite:!1,side:Re,blending:Ie}),o=new je(a,r);o.renderOrder=10,o.rotateX(Math.PI/2);let u=o.clone(),c=o.clone();return u.rotateY(Math.PI/180*60),c.rotateY(Math.PI/180*120),[o,u,c]}createQuan(e,t){const a=this.assets.instance.getResource("guangquan1"),n=this.assets.instance.getResource("guangquan2");let r=new $t(.5,.5),o=new ye({color:16777215,map:a,alphaMap:a,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:Ie}),u=new ye({color:16777215,map:n,alphaMap:n,opacity:1,transparent:!0,depthTest:!1,fog:!1,blending:Ie}),c=new je(r,o),p=new je(r,u);return c.renderOrder=6,p.renderOrder=6,c.rotateX(-Math.PI/2),p.rotateX(-Math.PI/2),c.position.copy(e),p.position.copy(e),p.position.y-=.001,c.scale.set(0,0,0),p.scale.set(0,0,0),this.quanGroup=new Te,this.quanGroup.add(c,p),this.scene.add(this.quanGroup),this.time.on("tick",()=>{c.rotation.z+=.05}),this.quanGroup}createDiffuse(){let e=new $t(200,200),t=new ye({color:0,depthWrite:!1,transparent:!0,blending:zl});t.blendEquation=Ol,t.blendSrc=Wl,t.blendDst=Yl,new Ql({material:t,time:this.time,size:60,diffuseSpeed:8,diffuseColor:7442830,diffuseWidth:2,callback:n=>{const r=setTimeout(()=>{this.addSceneTween(sa.to(n.uniforms.uTime,{value:4,repeat:-1,duration:6,ease:"power1.easeIn"}))},3);this.addSceneTimer(r)}});let a=new je(e,t);a.renderOrder=3,a.rotation.x=-Math.PI/2,a.position.set(0,.21,0),this.scene.add(a)}createGrid(){new eu(this,{gridSize:54,gridDivision:24,gridColor:1990543,shapeSize:.55,shapeColor:3309487,pointSize:.085,pointColor:1993891,pointBlending:Ie})}createBottomBg(){let e=new $t(24,24);const t=this.assets.instance.getResource("ocean");t.colorSpace=la,t.wrapS=at,t.wrapT=at,t.repeat.set(1,1);let a=new ye({map:t,opacity:.92,fog:!1}),n=new je(e,a);n.rotation.x=-Math.PI/2,n.position.set(0,-.7,0),this.scene.add(n)}createChinaBlurLine(){let e=new $t(154,154);const t=this.assets.instance.getResource("chinaBlurLine");t.colorSpace=la,t.wrapS=at,t.wrapT=at,t.generateMipmaps=!1,t.minFilter=vr,t.repeat.set(1,1);let a=new ye({color:4162253,alphaMap:t,transparent:!0,opacity:.62}),n=new je(e,a);n.rotateX(-Math.PI/2),n.position.set(-19.3,-.5,-19.7),this.scene.add(n)}createLabel(){let e=this,t=this.labelGroup,a=this.label3d,n=[],r=[];du.map(u=>{if(u.hide==!0)return!1;let c=o(u,a,t);n.push(c),r.push(c)}),this.otherLabel=n,this.townNameLabels=r;function o(u,c,p){let y=c.create("",`china-label ${u.blur?" blur":""}`,!0);const[g,L]=e.geoProjection(u.center);return y.init(`
    -
    ${u.name}
    -
    -
    `,new te(g,-L,e.depth+.85)),c.setLabelStyle(y,.018,"x"),y.setParent(p),y.userData=$(F({},u),{labelType:"town-label",baseScale:.018,townName:u.name}),y.element.addEventListener("pointerdown",T=>{e.handleTownRankingSelect(u.name,{preserveCamera:!0,statusText:`已选中${u.name}`})&&(T.preventDefault(),T.stopPropagation())}),y}}createRotateBorder(){let e=13.2,t=this.assets.instance.getResource("rotationBorder1"),a=this.assets.instance.getResource("rotationBorder2"),n=new Cr(this,{width:e*1.178,needRotate:!0,rotateSpeed:.001,material:new ye({map:t,color:4763647,transparent:!0,opacity:.26,side:Re,depthWrite:!1,blending:Ie}),position:new te(0,.31,0)});n.instance.rotation.x=-Math.PI/2,n.instance.renderOrder=6,n.instance.scale.set(0,0,0),n.setParent(this.scene);let r=new Cr(this,{width:e*1.116,needRotate:!0,rotateSpeed:-.004,material:new ye({map:a,color:4763647,transparent:!0,opacity:.5,side:Re,depthWrite:!1,blending:Ie}),position:new te(0,.33,0)});r.instance.rotation.x=-Math.PI/2,r.instance.renderOrder=6,r.instance.scale.set(0,0,0),r.setParent(this.scene),this.rotateBorder1=n.instance,this.rotateBorder2=r.instance}createFlyLine(){this.flyLineGroup=new Te,this.flyLineGroup.visible=!1,this.scene.add(this.flyLineGroup)}createFocus(){this.flyLineFocusGroup.clear()}createParticles(){this.particles=new Fr(this,{num:10,range:30,dir:"up",speed:.05,material:new jl({map:Fr.createTexture(),size:1,color:61166,transparent:!0,opacity:1,depthTest:!1,depthWrite:!1,vertexColors:!0,blending:Ie,sizeAttenuation:!0})}),this.particleGroup=new Te,this.scene.add(this.particleGroup),this.particleGroup.rotation.x=-Math.PI/2,this.particles.setParent(this.particleGroup),this.particles.enable=!0,this.particleGroup.visible=!0}createScatter(){this.scatterGroup=new Te,this.scatterGroup.visible=!1,this.scatterGroup.rotation.x=-Math.PI/2,this.scene.add(this.scatterGroup);const e=this.assets.instance.getResource("arrow"),t=new ia({map:e,color:16776948,fog:!1,transparent:!0,depthTest:!1});let a=Vr(hu),n=a[0].value;a.map(r=>{const o=new na(t);o.renderOrder=23;let u=.1+r.value/n*.2;o.scale.set(u,u,u);let[c,p]=this.geoProjection([r.lng,r.lat]);o.position.set(c,-p,this.depth+.45),o.userData.position=[c,-p,this.depth+.45],this.scatterGroup.add(o)})}createInfoPoint(){let e=this;this.InfoPointGroup=new Te,this.scene.add(this.InfoPointGroup),this.InfoPointGroup.visible=!1,this.InfoPointGroup.rotation.x=-Math.PI/2,this.infoPointIndex=0,this.infoPointLabelTime=null,this.infoLabelElement=[],this.infoPointSprites=[];let t=this.label3d;const a=this.assets.instance.getResource("point");let n=[16776948,7863285],r=Vr(pu),o=r[0].value;r.map((c,p)=>{const y=new ia({map:a,color:n[p%n.length],fog:!1,transparent:!0,depthTest:!1}),g=new na(y);g.renderOrder=23;let L=.7+c.value/o*.4;g.scale.set(L,L,L);let[T,C]=this.geoProjection([c.lng,c.lat]),N=[T,-C,this.depth+.7];g.position.set(...N),g.userData.position=[...N],g.userData={position:[T,-C,this.depth+.7],name:c.name,value:c.value,level:c.level,index:p},this.InfoPointGroup.add(g);let B=u(c,t,this.InfoPointGroup,p);this.infoLabelElement.push(B),this.infoPointSprites.push(g),this.interactionManager.add(g),g.addEventListener("mousedown",z=>{var X,ae;if(this.clicked||!this.InfoPointGroup.visible)return!1;this.clicked=!0,this.infoPointIndex=z.target.userData.index,this.infoLabelElement.map(q=>{q.visible=!1}),B.visible=!0,this.handleTownRankingSelect(((X=z.target.userData)==null?void 0:X.name)||((ae=z.target.userData)==null?void 0:ae.townName)),this.createInfoPointLabelLoop()}),g.addEventListener("mouseup",z=>{this.clicked=!1}),g.addEventListener("mouseover",z=>{document.body.style.cursor="pointer"}),g.addEventListener("mouseout",z=>{document.body.style.cursor="default"})});function u(c,p,y,g){let L=p.create("","info-point",!0);const[T,C]=e.geoProjection([c.lng,c.lat]);return L.init(e.getInfoPointHtml($(F({},c),{value:0,rank:g+1,unit:""}),e.getTownRankingMeta()),new te(T,-C,e.depth+1.9)),p.setLabelStyle(L,.015,"x"),L.setParent(y),L.visible=!1,L}}createInfoPointLabelLoop(){var e;this.scenePaused||!((e=this.infoLabelElement)!=null&&e.length)||(clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=setInterval(()=>{this.infoPointIndex++,this.infoPointIndex>=this.infoLabelElement.length&&(this.infoPointIndex=0),this.infoLabelElement.map((t,a)=>{this.infoPointIndex===a?t.visible=!0:t.visible=!1})},3e3))}createStorke(){const e=this.staticMapData.mapStroke,t=this.assets.instance.getResource("pathLine3");t.wrapS=t.wrapT=at,t.repeat.set(2,1);let a=new ra(this,{geoProjectionCenter:this.geoProjectionCenter,geoProjectionScale:this.geoProjectionScale,position:new te(0,0,this.depth+.24),data:e,material:new ye({color:2868444,map:t,alphaMap:t,fog:!1,transparent:!0,opacity:1,blending:Ie}),type:"Line3",renderOrder:22,tubeRadius:.03});this.focusMapGroup.add(a.lineGroup),this.time.on("tick",()=>{t.offset.x+=.005})}handleMapClick(e){return oe(this,null,function*(){var r,o,u,c,p,y,g,L,T,C,N,B,z,X,ae,q,I,Ce,He,Qe,bt,O,We,vt,Rt,st,It,wt,Me,ot,_e,Fe,me,Ne,lt,Lt,ze,qe,be,ut,M;if(!this.currentTopicLayer)return;const t=this.getScreenPointFromEvent(e),a=this.getLngLatFromEvent(e);if(!a){this.clearSelectedFeature(),(o=(r=this.callbacks).onFeatureInfo)==null||o.call(r,{feature:null});return}if(this.boundaryDrawingEnabled){const v=((u=e==null?void 0:e.data)==null?void 0:u.originalEvent)||(e==null?void 0:e.originalEvent)||e;if(v!=null&&v.__analysisBoundaryHandled)return;this.addBoundaryDrawPoint(a);return}if(this.shouldClipLayerToHongyuanBoundary(this.currentTopicLayer)&&!this.isLngLatInHongyuanBoundary(a)){this.clearSelectedFeature(),(p=(c=this.callbacks).onFeatureInfo)==null||p.call(c,{feature:null}),(g=(y=this.callbacks).onLayerStatus)==null||g.call(y,{type:"success",text:"当前点击位置不在红原县边界内"});return}if(this.shouldClipLayerToLayerBounds(this.currentTopicLayer)&&!this.isLngLatInLayerClipBounds(a,this.currentTopicLayer)){this.clearSelectedFeature(),(T=(L=this.callbacks).onFeatureInfo)==null||T.call(L,{feature:null}),(N=(C=this.callbacks).onLayerStatus)==null||N.call(C,{type:"success",text:"当前点击位置不在图层显示范围内"});return}if(Ou(this.currentTopicLayer)){this.clearSelectedFeature(),(z=(B=this.callbacks).onFeatureInfo)==null||z.call(B,{feature:null});return}if(rn(this.currentTopicLayer)){const v=this.pickVectorFeatureAtPoint(a,t),R=(v==null?void 0:v.feature)||v;let D=(v==null?void 0:v.screen)||t;if(R)this.shouldClipLayerToHongyuanBoundary(this.currentTopicLayer)?(this.clearSelectedGeometryGroup(),this.setSelectedVectorFeatures([R])):this.showSelectedFeature(R),((X=this.currentTopicLayer)==null?void 0:X.key)==="yak-industry-points"&&(this.setSelectedVectorFeatures([R]),D=this.getPointFeatureScreenPoint(R)||D),(He=(Ce=this.callbacks).onFeatureInfo)==null||He.call(Ce,{feature:{id:((ae=R.properties)==null?void 0:ae.id)||((q=R.properties)==null?void 0:q.feature_id)||((I=R.properties)==null?void 0:I.project_name),properties:R.properties||{},feature:R,layer:this.currentTopicLayer,lngLat:a},screen:D}),(bt=(Qe=this.callbacks).onLayerStatus)==null||bt.call(Qe,{type:"success",text:"真实矢量要素已选中"});else{const H=this.getTownNameFromMapEvent(e);if(this.handleTownRankingSelect(H))return;this.clearSelectedFeature(),(We=(O=this.callbacks).onFeatureInfo)==null||We.call(O,{feature:null}),(Rt=(vt=this.callbacks).onLayerStatus)==null||Rt.call(vt,{type:"success",text:"当前点击位置无生态保护要素"})}return}const n=this.lngLatToWmsPixel(a);(It=(st=this.callbacks).onFeatureInfo)==null||It.call(st,{feature:null}),(Me=(wt=this.callbacks).onFeatureLoading)==null||Me.call(wt,!0);try{const v=yield _r(this.currentTopicLayer,n,{size:yt,buffer:10}),R=this.normalizeFeatureInfoAtPoint(v,a),D=R?null:yield this.queryFallbackFeatureInfo(a),H=R||(D==null?void 0:D.feature);if(H){const ee=yield this.enrichFeatureInfo(H,n,a);this.showSelectedFeature(ee.feature||ee),(_e=(ot=this.callbacks).onFeatureInfo)==null||_e.call(ot,{feature:$(F({},ee),{layer:(D==null?void 0:D.layer)||this.currentTopicLayer,lngLat:a}),screen:t})}else this.clearSelectedFeature(),(me=(Fe=this.callbacks).onFeatureInfo)==null||me.call(Fe,{feature:null});H||(lt=(Ne=this.callbacks).onLayerStatus)==null||lt.call(Ne,{type:"success",text:"当前点击位置无图斑"})}catch(v){this.clearSelectedFeature(),(ze=(Lt=this.callbacks).onFeatureInfo)==null||ze.call(Lt,{feature:null}),(be=(qe=this.callbacks).onLayerStatus)==null||be.call(qe,{type:"error",text:"图斑信息查询失败"})}finally{(M=(ut=this.callbacks).onFeatureLoading)==null||M.call(ut,!1)}})}handleCanvasBoundaryPointerDown(e){var a,n;if(!this.boundaryDrawingEnabled)return;const t=this.getLngLatFromCanvasEvent(e);t&&this.addBoundaryDrawPoint(t)&&(e.__analysisBoundaryHandled=!0),(a=e.preventDefault)==null||a.call(e),(n=e.stopPropagation)==null||n.call(e)}handleCanvasBoundaryDoubleClick(e){var a,n;if(!this.boundaryDrawingEnabled)return;const t=this.getLngLatFromCanvasEvent(e);(this.boundaryDrawPoints||[]).length<3&&t&&this.addBoundaryDrawPoint(t),(this.boundaryDrawPoints||[]).length>=3&&(this.finishBoundaryDrawing(),e.__analysisBoundaryHandled=!0),(a=e.preventDefault)==null||a.call(e),(n=e.stopPropagation)==null||n.call(e)}getLngLatFromCanvasEvent(e){var L,T,C;if(!((L=this.camera)!=null&&L.instance)||!this.focusMapGroup||!this.canvas)return null;const t=this.canvas.getBoundingClientRect();if(!t.width||!t.height)return null;const a=(T=this.interactionManager)==null?void 0:T.raycaster;if(!(a!=null&&a.setFromCamera))return null;const n={x:(e.clientX-t.left)/t.width*2-1,y:-((e.clientY-t.top)/t.height)*2+1};a.setFromCamera(n,this.camera.instance);const o=((C=a.intersectObjects(this.eventElement||[],!0)[0])==null?void 0:C.point)||this.getRayMapPlaneIntersection(a.ray);if(!o)return null;const u=this.focusMapGroup.worldToLocal(o.clone()),p=Kt().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]).invert([u.x,-u.y]);if(!p)return null;const y=Number(p[0]),g=Number(p[1]);return!Number.isFinite(y)||!Number.isFinite(g)?null:yj.east+.03||gj.north+.03?this.getFallbackLngLatFromPointer(e,t):{lng:y,lat:g}}getFallbackLngLatFromPointer(e,t=(n=>(n=(a=>(a=this.canvas)==null?void 0:a.getBoundingClientRect)())==null?void 0:n.call(a))()){if(!(t!=null&&t.width)||!(t!=null&&t.height))return null;const r=Math.min(1,Math.max(0,(e.clientX-t.left)/t.width)),o=Math.min(1,Math.max(0,(e.clientY-t.top)/t.height)),u=j.west+(j.east-j.west)*r,c=j.north-(j.north-j.south)*o;return{lng:u,lat:c}}getRayMapPlaneIntersection(e){if(!(e!=null&&e.origin)||!(e!=null&&e.direction)||!this.focusMapGroup)return null;const t=this.focusMapGroup.worldToLocal(e.origin.clone()),n=this.focusMapGroup.worldToLocal(e.origin.clone().add(e.direction.clone())).sub(t),r=this.depth+.22;if(Math.abs(n.z)<1e-8)return null;const o=(r-t.z)/n.z;if(!Number.isFinite(o)||o<0)return null;const u=t.add(n.multiplyScalar(o));return this.focusMapGroup.localToWorld(u)}enrichFeatureInfo(e,t,a){return oe(this,null,function*(){const n=this.getLayerTopicKey(this.currentTopicLayer);if(!["grassland","wetland","woodland"].includes(n))return e;const o=(Un[n]||[]).find(g=>g.key===`${n}-distribution`),u=(this.visibleTopicLayers||[]).filter(g=>this.getLayerTopicKey(g)===n).slice(0,5),c=[o,this.currentTopicLayer,...u].filter(g=>g==null?void 0:g.layerName).filter((g,L,T)=>T.findIndex(C=>this.getLayerQueryKey(C)===this.getLayerQueryKey(g))===L);if(!c.length)return e;const p=yield Promise.allSettled([...c.filter(g=>this.getLayerQueryKey(g)!==this.getLayerQueryKey(this.currentTopicLayer)).map(g=>oe(this,null,function*(){const L=yield _r(g,t,{size:yt,buffer:10}),T=this.normalizeFeatureInfoAtPoint(L,a);return T?{layer:g,feature:T,source:"wms"}:null})),...c.map(g=>oe(this,null,function*(){const L=yield this.queryLayerFeatureByPoint(g,a);return L?{layer:g,feature:L,source:"wfs"}:null}))]),y=F({},e.properties||{});return p.forEach(g=>{var L,T;g.status!=="fulfilled"||!((T=(L=g.value)==null?void 0:L.feature)!=null&&T.properties)||this.mergeBusinessProperties(y,g.value.feature.properties,g.value.layer)}),$(F({},e),{properties:y,relatedFeatures:p.filter(g=>{var L;return g.status==="fulfilled"&&((L=g.value)==null?void 0:L.feature)}).map(g=>g.value),feature:$(F({},e.feature||{}),{properties:y})})})}queryFallbackFeatureInfo(e){return oe(this,null,function*(){const t=this.getLayerTopicKey(this.currentTopicLayer);if(!["grassland","wetland","woodland"].includes(t))return null;const n=[(Un[t]||[]).find(r=>r.key===`${t}-distribution`),this.currentTopicLayer,...(this.visibleTopicLayers||[]).filter(r=>this.getLayerTopicKey(r)===t)].filter((r,o,u)=>(r==null?void 0:r.layerName)&&u.findIndex(c=>this.getLayerQueryKey(c)===this.getLayerQueryKey(r))===o);for(const r of n){const o=yield this.queryLayerFeatureByPoint(r,e,{requireContainment:!0});if(o)return{layer:r,feature:o}}return null})}normalizeFeatureInfoAtPoint(e,t){const a=Array.isArray(e==null?void 0:e.features)?e.features:[];if(!a.length)return null;const n=this.pickFeatureAtPoint(a,t,{requireContainment:!0});if(!n)return null;const r=n.properties||{};return{id:n.id||r.gid||r.objectid||r.OBJECTID,properties:r,feature:n}}queryLayerFeatureByPoint(n,r){return oe(this,arguments,function*(e,t,a={}){var C,N,B;if(!(e!=null&&e.layerName)||!Number.isFinite(t==null?void 0:t.lng)||!Number.isFinite(t==null?void 0:t.lat))return null;const o=e.pointQueryTolerance||.0015,u=e.geometryField||"geom",c=t.lng-o,p=t.lat-o,y=t.lng+o,g=t.lat+o,L=yield Gr(e.layerName,{cqlFilter:`BBOX(${u},${c},${p},${y},${g})`,maxFeatures:8,timeout:12e3}),T=this.pickFeatureAtPoint((L==null?void 0:L.features)||[],t,a);return T?{id:T.id||((C=T.properties)==null?void 0:C.gid)||((N=T.properties)==null?void 0:N.objectid)||((B=T.properties)==null?void 0:B.OBJECTID),properties:T.properties||{},feature:T}:null})}pickFeatureAtPoint(e,t,a={}){var r;if(!Array.isArray(e)||!e.length)return null;const n=e.filter(o=>this.isLngLatInGeometry(t,o.geometry)).sort((o,u)=>this.getGeometryAreaScore(o.geometry)-this.getGeometryAreaScore(u.geometry));return n.length?n[0]:a.requireContainment?null:((r=e.map(o=>({feature:o,distance:this.getGeometryDistanceScore(o.geometry,t)})).sort((o,u)=>o.distance-u.distance)[0])==null?void 0:r.feature)||null}isLngLatInGeometry(e,t){return!e||!(t!=null&&t.coordinates)?!1:t.type==="Polygon"?this.isLngLatInPolygon(e,t.coordinates):t.type==="MultiPolygon"?t.coordinates.some(a=>this.isLngLatInPolygon(e,a)):!1}isLngLatInPolygon(e,t=[]){return!t.length||!this.isLngLatInRing(e,t[0])?!1:!t.slice(1).some(n=>this.isLngLatInRing(e,n))}isLngLatInRing(e,t=[]){if(t.length<3)return!1;let a=!1;const n=e.lng,r=e.lat;for(let o=0,u=t.length-1;or!=T>r&&n<(L-y)*(r-g)/(T-g)+y&&(a=!a)}return a}isPointOnSegment(e,t,a,n,r,o){const u=(e-a)*(o-n)-(t-n)*(r-a);return Math.abs(u)>1e-10?!1:(e-a)*(e-r)+(t-n)*(t-o)<=1e-10}getGeometryAreaScore(e){return e!=null&&e.coordinates?e.type==="Polygon"?this.getLngLatPolygonAreaScore(e.coordinates):e.type==="MultiPolygon"?e.coordinates.reduce((t,a)=>t+this.getLngLatPolygonAreaScore(a),0):Number.POSITIVE_INFINITY:Number.POSITIVE_INFINITY}getLngLatPolygonAreaScore(e=[]){const t=e[0]||[];if(t.length<3)return Number.POSITIVE_INFINITY;let a=0;for(let n=0;n({minLng:Math.min(a.minLng,Number((n==null?void 0:n[0])||0)),minLat:Math.min(a.minLat,Number((n==null?void 0:n[1])||0)),maxLng:Math.max(a.maxLng,Number((n==null?void 0:n[0])||0)),maxLat:Math.max(a.maxLat,Number((n==null?void 0:n[1])||0))}),{minLng:Number.POSITIVE_INFINITY,minLat:Number.POSITIVE_INFINITY,maxLng:Number.NEGATIVE_INFINITY,maxLat:Number.NEGATIVE_INFINITY}):null}getGeometryCoordinateList(e){const t=[],a=n=>{if(Array.isArray(n)){if(typeof n[0]=="number"&&typeof n[1]=="number"){t.push(n);return}n.forEach(a)}};return a(e==null?void 0:e.coordinates),t}pickVectorFeatureAtPoint(e,t){var o;const a=this.getVisibleVectorFeatures(this.currentTopicLayer,this.currentVectorFeatures||[]);if(((o=this.currentTopicLayer)==null?void 0:o.key)==="yak-industry-points"){const u=this.pickPointFeatureAtScreenPoint(a,t);if(u)return u}const n=a.filter(u=>this.isLngLatInGeometry(e,u.geometry)).sort((u,c)=>this.getGeometryAreaScore(u.geometry)-this.getGeometryAreaScore(c.geometry));if(n.length)return n[0];const r=a.find(u=>this.isPointOrLineNearLngLat(u.geometry,e));return r||null}pickPointFeatureAtScreenPoint(e,t){var r;if(!t||!((r=this.camera)!=null&&r.instance)||!this.focusMapGroup||!this.canvas)return null;const n=(e||[]).filter(o=>{var u;return((u=o==null?void 0:o.geometry)==null?void 0:u.type)==="Point"}).map(o=>{const u=this.getPointFeatureScreenPoint(o);return u?{feature:o,screen:u,distance:Math.hypot(u.x-t.x,u.y-t.y)}:null}).filter(Boolean).sort((o,u)=>o.distance-u.distance)[0];return(n==null?void 0:n.distance)<=22?{feature:n.feature,screen:n.screen}:null}getPointFeatureScreenPoint(e){var a,n;const t=(e==null?void 0:e.geometry)||((a=e==null?void 0:e.feature)==null?void 0:a.geometry);return(t==null?void 0:t.type)!=="Point"?null:((n=this.currentTopicLayer)==null?void 0:n.key)==="yak-industry-points"?this.lngLatToLayerScreenPoint(t.coordinates,this.depth+.36):this.lngLatToScreenPoint(t.coordinates,this.depth+.32)}lngLatToLayerLocalPoint(e,t=0){const a=()=>{const p=Number(e==null?void 0:e[0]),y=Number(e==null?void 0:e[1]);if(!Number.isFinite(p)||!Number.isFinite(y))return new te(0,0,Number(t)||0);const[g,L]=this.geoProjection([p,y]);return new te(g,-L,Number(t)||0)},n=this.topicLayerUvBounds;if(!n)return a();const r=this.lngLatToLayerCanvasPoint(e),o=this.topicLayerCanvas;if(!(o!=null&&o.width)||!(o!=null&&o.height))return a();const u=n.left+r.x/o.width*(n.right-n.left),c=n.bottom+(o.height-r.y)/o.height*(n.top-n.bottom);return new te(u,c,Number(t)||0)}lngLatToLayerScreenPoint(e,t=0){return this.localMapPointToScreenPoint(this.lngLatToLayerLocalPoint(e,t))}lngLatToScreenPoint(e,t=0){const a=Number(e==null?void 0:e[0]),n=Number(e==null?void 0:e[1]);if(!Number.isFinite(a)||!Number.isFinite(n))return null;const r=this.lngLatToWorldPoint([a,n],t);return this.worldPointToScreenPoint(r)}localMapPointToScreenPoint(e){const t=this.focusMapGroup?this.focusMapGroup.localToWorld(e):e;return this.worldPointToScreenPoint(t)}worldPointToScreenPoint(e){var n;if(!((n=this.camera)!=null&&n.instance)||!this.canvas||!e)return null;const t=this.canvas.getBoundingClientRect();if(!t.width||!t.height)return null;const a=e.clone().project(this.camera.instance);return!Number.isFinite(a.x)||!Number.isFinite(a.y)?null:{x:t.left+(a.x+1)/2*t.width,y:t.top+(1-a.y)/2*t.height}}focusProject(e){var L,T,C,N;const t=String(e||"").trim();if(!t)return!1;const a=(this.currentVectorFeatures||[]).filter(B=>{var z;return String(((z=B==null?void 0:B.properties)==null?void 0:z.project_name)||"").trim()===t});if(!a.length)return(T=(L=this.callbacks).onLayerStatus)==null||T.call(L,{type:"success",text:"当前项目图斑尚未加载"}),!1;const n=this.getFeatureListLngLatBounds(a);if(!n)return!1;const r=this.getProjectHighlightFeatures(a);r.length?(this.showSelectedFeatures(r),this.setSelectedVectorFeatures(r)):this.clearSelectedFeature();const o=[(n.minLng+n.maxLng)/2,(n.minLat+n.maxLat)/2],u=Math.max(n.maxLng-n.minLng,n.maxLat-n.minLat),c=Math.max(.22,Math.min(.55,u*1.25)),p=this.lngLatToWorldPoint(o,.72),y=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(c),g=p.clone().add(y);return this.animateMapCamera(g,p,.75),(N=(C=this.callbacks).onLayerStatus)==null||N.call(C,{type:"success",text:"已定位项目"}),!0}setBoundaryDrawing(e){var t,a,n,r;this.boundaryDrawingEnabled=!!e,this.boundaryDrawingEnabled?(this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.clearSelectedFeature(),(a=(t=this.callbacks).onLayerStatus)==null||a.call(t,{type:"success",text:"请在地图上依次点击绘制分析边界"})):(r=(n=this.callbacks).onLayerStatus)==null||r.call(n,{type:"success",text:"已退出边界绘制"}),this.redrawVectorTopicLayer()}addBoundaryDrawPoint(e){var r,o,u,c;if(!Number.isFinite(e==null?void 0:e.lng)||!Number.isFinite(e==null?void 0:e.lat))return!1;const t=Date.now(),a=this.lastBoundaryDrawPoint;return a&&t-a.time<350&&Math.hypot(e.lng-a.lng,e.lat-a.lat)<8e-4?!1:(this.lastBoundaryDrawPoint={lng:e.lng,lat:e.lat,time:t},this.boundaryDrawPoints=[...this.boundaryDrawPoints||[],{lng:e.lng,lat:e.lat}],(o=(r=this.callbacks).onDrawBoundary)==null||o.call(r,{status:"drawing",points:this.boundaryDrawPoints,pointCount:this.boundaryDrawPoints.length}),(c=(u=this.callbacks).onLayerStatus)==null||c.call(u,{type:"success",text:`已添加边界点 ${this.boundaryDrawPoints.length} 个`}),this.redrawVectorTopicLayer(),!0)}undoBoundaryPoint(){var e,t,a;return(e=this.boundaryDrawPoints)!=null&&e.length?(this.boundaryDrawPoints=this.boundaryDrawPoints.slice(0,-1),(a=(t=this.callbacks).onDrawBoundary)==null||a.call(t,{status:"drawing",points:this.boundaryDrawPoints,pointCount:this.boundaryDrawPoints.length}),this.redrawVectorTopicLayer(),!0):!1}finishBoundaryDrawing(){var o,u,c,p,y,g;const e=this.boundaryDrawPoints||[];if(e.length<3)return(u=(o=this.callbacks).onLayerStatus)==null||u.call(o,{type:"error",text:"至少需要 3 个点才能形成分析边界"}),null;const t=e.map(L=>[L.lng,L.lat]),a=t[0],n=t[t.length-1];(a[0]!==n[0]||a[1]!==n[1])&&t.push([...a]);const r={type:"Feature",properties:{source:"draw",pointCount:e.length},geometry:{type:"Polygon",coordinates:[t]}};return this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=r,(p=(c=this.callbacks).onDrawBoundary)==null||p.call(c,{status:"complete",feature:r,points:e,pointCount:e.length}),(g=(y=this.callbacks).onLayerStatus)==null||g.call(y,{type:"success",text:"分析边界已生成"}),this.redrawVectorTopicLayer(),r}clearAnalysisBoundary(){var e,t;return this.boundaryDrawingEnabled=!1,this.boundaryDrawPoints=[],this.lastBoundaryDrawPoint=null,this.analysisBoundaryFeature=null,this.analysisMatchedFeatures=[],this.redrawVectorTopicLayer(),(t=(e=this.callbacks).onDrawBoundary)==null||t.call(e,{status:"clear",points:[],pointCount:0}),!0}showAnalysisResult(e={}){var r;const t=Object.prototype.hasOwnProperty.call(e,"boundary")||Object.prototype.hasOwnProperty.call(e,"boundaryFeature")||Object.prototype.hasOwnProperty.call(e,"feature"),a=e.boundary||e.boundaryFeature||e.feature||null,n=Array.isArray(e.matches)?e.matches:[];return t&&(this.analysisBoundaryFeature=(a==null?void 0:a.type)==="Feature"?a:a!=null&&a.geometry?{type:"Feature",properties:a.properties||{},geometry:a.geometry}:null),this.analysisMatchedFeatures=n.map(o=>(o==null?void 0:o.feature)||o).filter(o=>o==null?void 0:o.geometry),e.preserveView||(!t&&this.analysisMatchedFeatures.length?this.focusAnalysisFeatures(this.analysisMatchedFeatures):(r=this.analysisBoundaryFeature)!=null&&r.geometry&&this.focusAnalysisGeometry(this.analysisBoundaryFeature.geometry)),this.redrawVectorTopicLayer(),!0}focusAnalysisFeatures(e=[]){const t=this.getFeatureListLngLatBounds(e);if(!t)return!1;const a=[(t.minLng+t.maxLng)/2,(t.minLat+t.maxLat)/2];return this.flyToLngLat(a,{span:Math.max(t.maxLng-t.minLng,t.maxLat-t.minLat),statusText:"已定位命中项目"})}focusAnalysisGeometry(e){const t=this.getGeometryLngLatBounds(e);if(!t)return!1;const a=[(t.minLng+t.maxLng)/2,(t.minLat+t.maxLat)/2];return this.flyToLngLat(a,{span:Math.max(t.maxLng-t.minLng,t.maxLat-t.minLat),statusText:"已定位分析边界"})}focusPasture(e={}){var n,r;const a=[...this.normalizePastureGrasslandRows(e==null?void 0:e.grasslands),...this.normalizePastureGrasslandRows(e==null?void 0:e.wkt)].map((o,u)=>{const c=this.normalizePastureGrasslandGeometry(o);if(!c)return null;const p=this.normalizePastureGrasslandProperties(o);return{type:"Feature",properties:$(F({},p),{id:p.id||p.gid||`${(e==null?void 0:e.name)||"pasture"}-${u}`,pasture_name:(e==null?void 0:e.name)||p.pastureName||p.name}),geometry:c}}).filter(Boolean);if(a.length){const o=this.getFeatureListLngLatBounds(a);if(!o)return!1;this.showSelectedFeatures(a,{mode:"pasture"}),this.setSelectedVectorFeatures(a);const u=[(o.minLng+o.maxLng)/2,(o.minLat+o.maxLat)/2];return this.flyToLngLat(u,{span:Math.max(o.maxLng-o.minLng,o.maxLat-o.minLat),statusText:"已定位具体草场"}),!0}return(r=(n=this.callbacks).onLayerStatus)==null||r.call(n,{type:"warning",text:"当前牧户暂无可定位数据"}),!1}normalizePastureGrasslandRows(e){return e?typeof e=="string"?[e]:Array.isArray(e)?e:(e==null?void 0:e.type)==="FeatureCollection"&&Array.isArray(e.features)?e.features:(e==null?void 0:e.type)==="Feature"||this.isGeoJsonGeometry(e)?[e]:Array.isArray(e==null?void 0:e.rows)?e.rows:Array.isArray(e==null?void 0:e.data)?e.data:e!=null&&e.data?this.normalizePastureGrasslandRows(e.data):Array.isArray(e==null?void 0:e.list)?e.list:Array.isArray(e==null?void 0:e.features)?e.features:e!=null&&e.wkt||e!=null&&e.geo||e!=null&&e.geom||e!=null&&e.geometryWkt||e!=null&&e.geometry_wkt||e!=null&&e.shape||e!=null&&e.location||e!=null&&e.geometry?[e]:[]:[]}normalizePastureGrasslandGeometry(e){var t;return typeof e=="string"?this.parseGeometryText(e):(e==null?void 0:e.type)==="Feature"?this.normalizePastureGrasslandGeometry(e.geometry):this.isGeoJsonGeometry(e)?e:typeof(e==null?void 0:e.geometry)=="string"?this.parseGeometryText(e.geometry):((t=e==null?void 0:e.geometry)==null?void 0:t.type)==="Feature"?this.normalizePastureGrasslandGeometry(e.geometry.geometry):this.isGeoJsonGeometry(e==null?void 0:e.geometry)?e.geometry:this.parseGeometryText((e==null?void 0:e.wkt)||(e==null?void 0:e.geo)||(e==null?void 0:e.geom)||(e==null?void 0:e.geometryWkt)||(e==null?void 0:e.geometry_wkt)||(e==null?void 0:e.shape)||(e==null?void 0:e.location))}normalizePastureGrasslandProperties(e){return!e||typeof e!="object"||Array.isArray(e)?{wkt:e}:e.type==="Feature"?e.properties||{}:e}parseGeometryText(e){const t=String(e||"").trim();if(!t)return null;if(t.startsWith("{")||t.startsWith("["))try{const a=JSON.parse(t);if((a==null?void 0:a.type)==="Feature")return this.normalizePastureGrasslandGeometry(a);if(this.isGeoJsonGeometry(a))return a}catch(a){return null}return this.parseWktGeometry(t)}isGeoJsonGeometry(e){return!!(e&&["Polygon","MultiPolygon","LineString","MultiLineString","Point"].includes(e.type)&&e.coordinates)}flyToLngLat(e,t={}){var g,L;const a=Array.isArray(e)?e:[e==null?void 0:e.lng,e==null?void 0:e.lat],n=Number(a==null?void 0:a[0]),r=Number(a==null?void 0:a[1]);if(!Number.isFinite(n)||!Number.isFinite(r))return!1;const o=Number(t.span),u=Number.isFinite(o)?Math.max(.2,Math.min(.55,o*1.25)):.32,c=this.lngLatToWorldPoint([n,r],.72),p=this.defaultMapCameraPosition.clone().sub(this.defaultMapTarget).multiplyScalar(u),y=c.clone().add(p);return this.animateMapCamera(y,c,t.duration||.75),(L=(g=this.callbacks).onLayerStatus)==null||L.call(g,{type:"success",text:t.statusText||"已定位"}),!0}getProjectHighlightFeatures(e){const t=e.filter(n=>{var o;const r=String(((o=n==null?void 0:n.geometry)==null?void 0:o.type)||"");return r.includes("Polygon")||r.includes("LineString")}),a=t.filter(n=>{var r;return((r=n==null?void 0:n.properties)==null?void 0:r.feature_role)==="工程范围"});return a.length?a:t}getFeatureListLngLatBounds(e){return e.reduce((t,a)=>{const n=this.getGeometryLngLatBounds(a.geometry);return n?t?{minLng:Math.min(t.minLng,n.minLng),minLat:Math.min(t.minLat,n.minLat),maxLng:Math.max(t.maxLng,n.maxLng),maxLat:Math.max(t.maxLat,n.maxLat)}:F({},n):t},null)}isPointOrLineNearLngLat(e,t){return e!=null&&e.coordinates?e.type==="Point"?this.getCoordinateDistance(e.coordinates,[t.lng,t.lat])<=.02:e.type==="LineString"?this.isCoordinateNearLine(e.coordinates,t,.004):e.type==="MultiLineString"?e.coordinates.some(a=>this.isCoordinateNearLine(a,t,.004)):!1:!1}isCoordinateNearLine(e,t,a){if(!Array.isArray(e)||e.length<2)return!1;const n=[t.lng,t.lat];for(let r=1;rr.some(o=>o.key===a||o.layerName===t));return(n==null?void 0:n[0])||""}getLayerQueryKey(e){return[(e==null?void 0:e.layerName)||"",(e==null?void 0:e.styles)||"",(e==null?void 0:e.cqlFilter)||"",(e==null?void 0:e.key)||""].join("|")}mergeBusinessProperties(e,t,a){const n=(a==null?void 0:a.key)||"";if(Object.entries(t||{}).forEach(([r,o])=>{o==null||o===""||(e[r]===void 0||e[r]===null||e[r]==="")&&(e[r]=o)}),n==="basic-grassland"){const r=(t==null?void 0:t.basic_type_name)||(t==null?void 0:t.grassland_category_name)||(t==null?void 0:t.land_class_name)||(t==null?void 0:t.land_use_name)||(t==null?void 0:t.base_grass);r!=null&&r!==""&&(e.basic_type_name=r)}if(n==="grassland-level"){const r=(t==null?void 0:t.grassland_level)||(t==null?void 0:t.level)||(t==null?void 0:t.grassland_level_name)||(t==null?void 0:t.level_name);r!=null&&r!==""&&(e.grassland_level=r)}if(n==="grassland-type"||n==="wetland-type"){const r=(t==null?void 0:t.grass_min_type)||(t==null?void 0:t.grass_type)||(t==null?void 0:t.grassland_type)||(t==null?void 0:t.type_name)||(t==null?void 0:t.type);r!=null&&r!==""&&(e.grass_min_type=r)}if(n==="grassland-yield"||n==="wetland-yield"){const r=(t==null?void 0:t.yield)||(t==null?void 0:t.xc_yield)||(t==null?void 0:t.xb_xc_yield)||(t==null?void 0:t.fresh_grass_yield)||(t==null?void 0:t.value),o=(t==null?void 0:t.mu_yield)||(t==null?void 0:t.xc_mu_yield)||(t==null?void 0:t.xb_xc_mu_yield)||(t==null?void 0:t.yield_per_mu);r!=null&&r!==""&&(e.fresh_grass_yield=r),o!=null&&o!==""&&(e.mu_yield=o)}if(n==="grassland-health"){const r=(t==null?void 0:t.health_level)||(t==null?void 0:t.health_level_name)||(t==null?void 0:t.ndvi_level)||(t==null?void 0:t.level)||(t==null?void 0:t.level_name),o=(t==null?void 0:t.ndvi)||(t==null?void 0:t.NDVI)||(t==null?void 0:t.value);r!=null&&r!==""&&(e.health_level=r),o!=null&&o!==""&&(e.ndvi=o);const u=(t==null?void 0:t.degradation_level)||(t==null?void 0:t.degradation_level_name)||(t==null?void 0:t.level)||(t==null?void 0:t.level_name);u!=null&&u!==""&&(e.degradation_level=u)}}getScreenPointFromEvent(e){var a;const t=((a=e==null?void 0:e.data)==null?void 0:a.originalEvent)||(e==null?void 0:e.originalEvent)||e;return(t==null?void 0:t.clientX)!==void 0&&(t==null?void 0:t.clientY)!==void 0?{x:t.clientX,y:t.clientY}:null}getLngLatFromEvent(e){var u,c,p;const a=(p=(((c=(u=this.interactionManager)==null?void 0:u.raycaster)==null?void 0:c.intersectObject(e.target,!1))||[])[0])==null?void 0:p.point;if(!a)return null;const n=this.focusMapGroup.worldToLocal(a.clone()),o=Kt().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0]).invert([n.x,-n.y]);return o?{lng:o[0],lat:o[1]}:null}lngLatToWmsPixel({lng:e,lat:t}){const a=(e-j.west)/(j.east-j.west)*yt.width,n=(j.north-t)/(j.north-j.south)*yt.height;return{x:a,y:n}}showSelectedFeature(e,t={}){var n;const a=(e==null?void 0:e.geometry)||((n=e==null?void 0:e.feature)==null?void 0:n.geometry);this.clearSelectedFeature(),this.createSelectedFeatureGroup(),this.addSelectedGeometry(a,t),this.selectedFeatureGroup.children.length||this.clearSelectedFeature()}showSelectedFeatures(e=[],t={}){this.clearSelectedFeature(),this.createSelectedFeatureGroup(),e.forEach(a=>{var r;const n=(a==null?void 0:a.geometry)||((r=a==null?void 0:a.feature)==null?void 0:r.geometry);this.addSelectedGeometry(n,t)}),this.selectedFeatureGroup.children.length||this.clearSelectedFeature()}setSelectedVectorFeatures(e=[]){this.selectedVectorFeatures=[...e],this.redrawVectorTopicLayer()}getSelectedFeatureStyle(e={}){const t=e.mode==="pasture",a=e.mode==="town";return{fillColor:Br,fillOpacity:t?.46:a?.24:.54,lineColor:Vu,lineOpacity:.98,glowColor:Er,glowOpacity:t?.92:.96,renderOrderBase:t?42:a?40:35,boundary:t||a,boundaryColor:Br,boundaryGlowColor:Er,boundaryWidth:a?.012:.018,boundaryGlowWidth:a?.045:.06,boundaryOpacity:.95,boundaryGlowOpacity:a?.34:.42}}addSelectedGeometry(e,t={}){if(!(e!=null&&e.coordinates)||!this.selectedFeatureGroup)return;const a=this.getSelectedFeatureStyle(t),n=this.getDisplayFeaturePolygons(e),r=new ye({color:a.fillColor,transparent:!0,opacity:a.fillOpacity,side:Re,depthWrite:!1,fog:!1}),o=new aa({color:a.lineColor,transparent:!0,opacity:a.lineOpacity,linewidth:2,depthTest:!1,depthWrite:!1,fog:!1}),u=new aa({color:a.glowColor,transparent:!0,opacity:a.glowOpacity,linewidth:3,depthTest:!1,depthWrite:!1,fog:!1}),c=a.boundary?new ye({color:a.boundaryColor,transparent:!0,opacity:a.boundaryOpacity,side:Re,depthTest:!1,depthWrite:!1,fog:!1}):null,p=a.boundary?new ye({color:a.boundaryGlowColor,transparent:!0,opacity:a.boundaryGlowOpacity,side:Re,depthTest:!1,depthWrite:!1,fog:!1,blending:Ie}):null;n.length&&n.forEach(g=>{const L=this.createProjectedShape(g);if(!L)return;const T=new Hl(L),C=new je(T,r);C.renderOrder=a.renderOrderBase,this.selectedFeatureGroup.add(C),g.forEach(N=>{const B=this.createProjectedRingPoints(N);if(B.length<3)return;a.boundary&&(this.addSelectedBoundaryBand(B,p,a.boundaryGlowWidth,a.renderOrderBase+1,!0),this.addSelectedBoundaryBand(B,c,a.boundaryWidth,a.renderOrderBase+4,!0));const z=new La().setFromPoints(B),X=new wr(z,o);X.renderOrder=a.renderOrderBase+5,this.selectedFeatureGroup.add(X);const ae=new La().setFromPoints(B),q=new wr(ae,u);q.renderOrder=a.renderOrderBase+3,q.scale.set(1.004,1.004,1),this.selectedFeatureGroup.add(q)})});const y=this.normalizeFeatureLineStrings(e);y.length&&y.forEach(g=>{const L=this.createProjectedRingPoints(g);if(L.length<2)return;a.boundary&&(this.addSelectedBoundaryBand(L,p,a.boundaryGlowWidth,a.renderOrderBase+1,!1),this.addSelectedBoundaryBand(L,c,a.boundaryWidth,a.renderOrderBase+4,!1));const T=new La().setFromPoints(L),C=new Lr(T,u);C.renderOrder=a.renderOrderBase+3,C.scale.set(1.004,1.004,1),this.selectedFeatureGroup.add(C);const N=new La().setFromPoints(L),B=new Lr(N,o);B.renderOrder=a.renderOrderBase+5,this.selectedFeatureGroup.add(B)})}addSelectedBoundaryBand(e,t,a,n,r=!0){if(!t||!this.selectedFeatureGroup)return;const o=this.createPathBandGeometry(e,a,r);if(!o)return;const u=new je(o,t);u.renderOrder=n,this.selectedFeatureGroup.add(u)}createPathBandGeometry(e,t,a=!0){const n=this.normalizePathBandPoints(e,a);if(n.length<(a?3:2))return null;const r=Math.max(Number(t)||0,0)/2;if(!r)return null;const o=[],u=a?n.length:n.length-1;for(let p=0;pNumber.isFinite(n==null?void 0:n.x)&&Number.isFinite(n==null?void 0:n.y)).map(n=>n.clone());if(t&&a.length>2){const n=a[0],r=a[a.length-1];n.distanceToSquared(r)<1e-10&&a.pop()}return a}clearSelectedFeature(){var t;const e=!!((t=this.selectedVectorFeatures)!=null&&t.length);this.selectedVectorFeatures=[],e&&this.redrawVectorTopicLayer(),this.clearSelectedGeometryGroup()}clearSelectedGeometryGroup(){var t,a;if(!this.selectedFeatureGroup)return;const e=new Set;for(;this.selectedFeatureGroup.children.length;){const n=this.selectedFeatureGroup.children.pop();(a=(t=n.geometry)==null?void 0:t.dispose)==null||a.call(t),Array.isArray(n.material)?n.material.forEach(r=>e.add(r)):e.add(n.material)}e.forEach(n=>{var r;return(r=n==null?void 0:n.dispose)==null?void 0:r.call(n)})}normalizeFeaturePolygons(e){return qr(e)}normalizeFeatureLineStrings(e){return e!=null&&e.coordinates?e.type==="LineString"?[e.coordinates]:e.type==="MultiLineString"?e.coordinates:[]:[]}getDisplayFeaturePolygons(e){const t=this.normalizeFeaturePolygons(e),a=this.getLayerClipBounds(this.currentTopicLayer);return a?t.map(n=>{const r=this.clipRingToBounds(n==null?void 0:n[0],a);if(r.length<3)return null;const o=n.slice(1).map(u=>this.clipRingToBounds(u,a)).filter(u=>u.length>=3);return[r,...o]}).filter(Boolean):t}clipRingToBounds(e=[],t){let a=e.map(r=>[Number(r==null?void 0:r[0]),Number(r==null?void 0:r[1])]).filter(([r,o])=>Number.isFinite(r)&&Number.isFinite(o));return[{inside:([r])=>r>=t.west,intersect:(r,o)=>this.getLngLatLineIntersection(r,o,"lng",t.west)},{inside:([r])=>r<=t.east,intersect:(r,o)=>this.getLngLatLineIntersection(r,o,"lng",t.east)},{inside:([,r])=>r>=t.south,intersect:(r,o)=>this.getLngLatLineIntersection(r,o,"lat",t.south)},{inside:([,r])=>r<=t.north,intersect:(r,o)=>this.getLngLatLineIntersection(r,o,"lat",t.north)}].forEach(r=>{const o=a;a=[],o.length&&o.forEach((u,c)=>{const p=o[(c+o.length-1)%o.length],y=r.inside(u),g=r.inside(p);y?(g||a.push(r.intersect(p,u)),a.push(u)):g&&a.push(r.intersect(p,u))})}),a}getLngLatLineIntersection(e,t,a,n){const r=a==="lng"?0:1,o=a==="lng"?1:0,u=t[r]-e[r];if(!u)return[...e];const c=(n-e[r])/u,p=[...e];return p[r]=n,p[o]=e[o]+(t[o]-e[o])*c,p}createProjectedShape(e){const t=e==null?void 0:e[0];if(!Array.isArray(t)||t.length<3)return null;const a=new Tr;return this.createProjectedRingPoints(t).forEach((r,o)=>{o===0?a.moveTo(r.x,r.y):a.lineTo(r.x,r.y)}),e.slice(1).forEach(r=>{const o=this.createProjectedRingPoints(r);if(o.length<3)return;const u=new Tr;o.forEach((c,p)=>{p===0?u.moveTo(c.x,c.y):u.lineTo(c.x,c.y)}),a.holes.push(u)}),a}createProjectedRingPoints(e){if(!Array.isArray(e))return[];const t=[];return e.forEach(a=>{if(!Array.isArray(a)||a.length<2)return;const n=Number(a[0]),r=Number(a[1]);if(!Number.isFinite(n)||!Number.isFinite(r))return;const[o,u]=this.geoProjection([n,r]);t.push(new te(o,-u,0))}),t}enhanceTexture(e){var a,n,r;const t=(n=(a=this.renderer)==null?void 0:a.instance)==null?void 0:n.capabilities;e.anisotropy=((r=t==null?void 0:t.getMaxAnisotropy)==null?void 0:r.call(t))||1,e.needsUpdate=!0}geoProjection(e){return Kt().center(this.geoProjectionCenter).scale(this.geoProjectionScale).translate([0,0])(e)}updateTownLabelScale(){var u,c,p;const e=this.townNameLabels||this.otherLabel||[],t=(u=this.camera)==null?void 0:u.instance,a=(p=(c=this.camera)==null?void 0:c.controls)==null?void 0:p.target;if(!e.length||!t||!a)return;const n=t.position.distanceTo(a),r=Ht(n*72e-5,.011,.026),o=n>45?"0.76":n<22?"0.94":"1";e.forEach(y=>{var L,T,C;if(((L=y==null?void 0:y.userData)==null?void 0:L.labelType)!=="town-label")return;y.scale.set(r,r,r);const g=(C=(T=y.element)==null?void 0:T.querySelector)==null?void 0:C.call(T,".other-label");g&&(g.style.opacity=o)})}update(e){super.update(e),this.updateDynamicSatelliteTiles(),this.updateTownLabelScale(),this.updateTradeFlowPulses(e),this.interactionManager&&this.interactionManager.update()}pauseScene(){var e,t;this.scenePaused=!0,(t=(e=this.time)==null?void 0:e.pause)==null||t.call(e),this.sceneTweens.forEach(a=>{var n;return(n=a==null?void 0:a.pause)==null?void 0:n.call(a)}),clearInterval(this.infoPointLabelTime),this.infoPointLabelTime=null}resumeScene(){var e,t;this.scenePaused=!1,(t=(e=this.time)==null?void 0:e.resume)==null||t.call(e),this.sceneTweens.forEach(a=>{var n;return(n=a==null?void 0:a.resume)==null?void 0:n.call(a)}),this.showTownRankingPointMarkers&&this.mapAnimationComplete&&!this.infoPointLabelTime&&this.createInfoPointLabelLoop()}destroy(){var e,t,a,n;this.pauseScene(),this.sceneTimers.forEach(r=>clearTimeout(r)),this.sceneTimers=[],this.sceneTweens.forEach(r=>{var o;return(o=r==null?void 0:r.kill)==null?void 0:o.call(r)}),this.sceneTweens=[],this.callbacks={},(t=(e=this.canvas)==null?void 0:e.removeEventListener)==null||t.call(e,"pointerdown",this.handleCanvasBoundaryPointerDown,!0),(n=(a=this.canvas)==null?void 0:a.removeEventListener)==null||n.call(a,"dblclick",this.handleCanvasBoundaryDoubleClick,!0),this.clearTradeFlowLayer(),this.clearSelectedFeature(),super.destroy(),this.label3d&&this.label3d.destroy()}}const Uu={class:"map"},Ku={__name:"map",props:{activeLayer:{type:Object,default:null},mapRanking:{type:Object,default:null},tileUrlTemplate:{type:String,default:""},satelliteTextureZoom:{type:Number,default:0},satelliteMaxZoom:{type:Number,default:21},adminBoundaryLineScale:{type:Number,default:1},useSatelliteBase:{type:Boolean,default:!0},showNationalBackdrop:{type:Boolean,default:!1},topicLayerPresentation:{type:String,default:"default"},hideTownLabelStats:{type:Boolean,default:!1}},emits:["feature-loading","feature-info","layer-status","tile-status","draw-boundary","scene-mounted"],setup(h,{expose:e,emit:t}){const a=h,n=t,r=V(null),o=xl(null);let u=null,c=null,p=null,y=null,g=null,L="",T="",C=!1;Qr(()=>{n("scene-mounted")}),es(()=>{Me()});function N(M){return o.value?!0:r.value?(o.value=new qu(r.value,M,{onFeatureLoading:v=>n("feature-loading",v),onFeatureInfo:v=>n("feature-info",v),onLayerStatus:v=>n("layer-status",v),onTileStatus:v=>n("tile-status",v),onDrawBoundary:v=>n("draw-boundary",v),tileUrlTemplate:a.tileUrlTemplate,satelliteTextureZoom:a.satelliteTextureZoom,satelliteMaxZoom:a.satelliteMaxZoom,adminBoundaryLineScale:a.adminBoundaryLineScale,useSatelliteBase:a.useSatelliteBase,showNationalBackdrop:a.showNationalBackdrop,topicLayerPresentation:a.topicLayerPresentation,hideTownLabelStats:a.hideTownLabelStats}),o.value.time.pause(),L=qe(a.activeLayer),T=ut(a.mapRanking),o.value.setTopicLayers(be(a.activeLayer),a.activeLayer),o.value.setTownRanking(a.mapRanking),me(),Fe(),!0):!1}function B(){return!!o.value}function z(){return oe(this,null,function*(){var M,v,R,D,H,ee;if(o.value&&(X(),!o.value.mapAnimationComplete)){if(C){(v=(M=o.value.animateTl)==null?void 0:M.play)==null||v.call(M),ot();return}C=!0,(D=(R=o.value.animateTl)==null?void 0:R.timeScale)==null||D.call(R,1),(ee=(H=o.value.animateTl)==null?void 0:H.play)==null||ee.call(H),ot()}})}function X(){var M,v;o.value&&(me(),Fe(),window.requestAnimationFrame(()=>{var R,D,H,ee,ce,Ge;(H=(D=(R=o.value)==null?void 0:R.label3d)==null?void 0:D.resize)==null||H.call(D),(Ge=(ce=(ee=o.value)==null?void 0:ee.label3d)==null?void 0:ce.update)==null||Ge.call(ce)}),(v=(M=o.value).resumeScene)==null||v.call(M),o.value.resumeScene||o.value.time.resume())}function ae(){var M,v,R,D,H,ee;o.value&&(_e(),(v=(M=o.value.animateTl)==null?void 0:M.pause)==null||v.call(M),(D=(R=o.value).pauseScene)==null||D.call(R),o.value.pauseScene||(ee=(H=o.value.time)==null?void 0:H.pause)==null||ee.call(H),lt())}function q(){var M,v;(v=(M=o.value)==null?void 0:M.clearSelectedFeature)==null||v.call(M)}function I(M){var v,R;(R=(v=o.value)==null?void 0:v.focusProject)==null||R.call(v,M)}function Ce(M){var v,R;(R=(v=o.value)==null?void 0:v.focusPasture)==null||R.call(v,M)}function He(M,v){var R,D;return(D=(R=o.value)==null?void 0:R.focusTownByName)==null?void 0:D.call(R,M,v)}function Qe(M){var v,R;return(R=(v=o.value)==null?void 0:v.focusYakIndustryPoint)==null?void 0:R.call(v,M)}function bt(M){var v,R;return(R=(v=o.value)==null?void 0:v.focusVectorFeature)==null?void 0:R.call(v,M)}function O(M){var v,R;return(R=(v=o.value)==null?void 0:v.getVectorFeatureScreen)==null?void 0:R.call(v,M)}function We(M){var v,R;return(R=(v=o.value)==null?void 0:v.getYakIndustryPointScreen)==null?void 0:R.call(v,M)}function vt(M){var v,R;(R=(v=o.value)==null?void 0:v.setBoundaryDrawing)==null||R.call(v,M)}function Rt(){var M,v;return(v=(M=o.value)==null?void 0:M.finishBoundaryDrawing)==null?void 0:v.call(M)}function st(){var M,v;(v=(M=o.value)==null?void 0:M.undoBoundaryPoint)==null||v.call(M)}function It(){var M,v;(v=(M=o.value)==null?void 0:M.clearAnalysisBoundary)==null||v.call(M)}function wt(M){var v,R;(R=(v=o.value)==null?void 0:v.showAnalysisResult)==null||R.call(v,M)}function Me(){var M,v;_e(),lt(),(v=(M=o.value)==null?void 0:M.destroy)==null||v.call(M),o.value=null}function ot(){_e(),g=window.setTimeout(()=>{var M,v;g=null,(v=(M=o.value)==null?void 0:M.ensureMapRevealed)==null||v.call(M)},5200)}function _e(){g&&(window.clearTimeout(g),g=null)}function Fe(){c&&window.cancelAnimationFrame(c),c=window.requestAnimationFrame(()=>{var M,v,R,D,H;c=null,(R=(v=(M=o.value)==null?void 0:M.sizes)==null?void 0:v.init)==null||R.call(v),(H=(D=o.value)==null?void 0:D.resize)==null||H.call(D)}),p&&window.clearTimeout(p),p=window.setTimeout(()=>{var M,v,R,D,H;p=null,(R=(v=(M=o.value)==null?void 0:M.sizes)==null?void 0:v.init)==null||R.call(v),(H=(D=o.value)==null?void 0:D.resize)==null||H.call(D)},180)}function me(){var v;lt();const M=(v=r.value)==null?void 0:v.parentNode;M&&window.ResizeObserver&&(u=new ResizeObserver(()=>Fe()),u.observe(M)),y=window.setInterval(Ne,1e3),Ut(Fe)}function Ne(){var ce;if(!o.value||!r.value)return;const M=r.value.parentNode,v=(M==null?void 0:M.offsetWidth)||window.innerWidth||1,R=(M==null?void 0:M.offsetHeight)||window.innerHeight||1,D=((ce=o.value.sizes)==null?void 0:ce.pixelRatio)||1,H=Math.floor(v*D),ee=Math.floor(R*D);(r.value.width!==H||r.value.height!==ee)&&Fe()}function lt(){u&&(u.disconnect(),u=null),c&&(window.cancelAnimationFrame(c),c=null),p&&(window.clearTimeout(p),p=null),y&&(window.clearInterval(y),y=null)}function Lt(){if(!o.value)return;me();const M=()=>{var v,R,D,H,ee,ce,Ge,Oe,Ae,Be,Ee,Ue,et,he,pe,Z,tt,ct,ve,Tt,St;o.value&&((R=(v=o.value)==null?void 0:v.resumeScene)==null||R.call(v),o.value.resumeScene||(H=(D=o.value.time)==null?void 0:D.resume)==null||H.call(D),(Ge=(ce=(ee=o.value)==null?void 0:ee.sizes)==null?void 0:ce.init)==null||Ge.call(ce),(Ae=(Oe=o.value)==null?void 0:Oe.resize)==null||Ae.call(Oe),(Ue=(Ee=(Be=o.value)==null?void 0:Be.label3d)==null?void 0:Ee.resize)==null||Ue.call(Ee),(pe=(he=(et=o.value)==null?void 0:et.label3d)==null?void 0:he.update)==null||pe.call(he),(tt=(Z=o.value)==null?void 0:Z.setTopicLayers)==null||tt.call(Z,be(a.activeLayer),a.activeLayer),(ve=(ct=o.value)==null?void 0:ct.setTownRanking)==null||ve.call(ct,a.mapRanking),(St=(Tt=o.value)==null?void 0:Tt.ensureMapRevealed)==null||St.call(Tt))};Fe(),window.requestAnimationFrame(M),window.setTimeout(()=>{M()},80),window.setTimeout(()=>{M()},220)}function ze(){if(!o.value)return;me();const M=()=>{var R,D,H,ee,ce,Ge,Oe,Ae,Be,Ee,Ue,et,he,pe,Z,tt;const v=o.value;v&&((R=v.resumeScene)==null||R.call(v),v.resumeScene||(H=(D=v.time)==null?void 0:D.resume)==null||H.call(D),(ce=(ee=v.sizes)==null?void 0:ee.init)==null||ce.call(ee),(Ge=v.resize)==null||Ge.call(v),(Oe=v.ensureMapRevealed)==null||Oe.call(v),(Ae=v.setTradeNationalMapVisible)==null||Ae.call(v,!1),(Be=v.setTopicLayers)==null||Be.call(v,be(a.activeLayer),a.activeLayer),(Ee=v.setTownRanking)==null||Ee.call(v,a.mapRanking),(Ue=v.applyLayerMapView)==null||Ue.call(v,v.currentTopicLayer||a.activeLayer||null,{force:!0}),(he=(et=v.label3d)==null?void 0:et.resize)==null||he.call(et),(Z=(pe=v.label3d)==null?void 0:pe.update)==null||Z.call(pe),(tt=v.updateDynamicSatelliteTiles)==null||tt.call(v,!0))};Fe(),window.requestAnimationFrame(M),window.setTimeout(M,100),window.setTimeout(M,260)}Zt(()=>a.activeLayer,M=>{const v=qe(M);v!==L&&(L=v,o.value&&o.value.setTopicLayers(be(M),M))},{deep:!0}),Zt(()=>a.mapRanking,M=>{const v=ut(M);v!==T&&(T=v,o.value&&o.value.setTownRanking(M))},{deep:!0}),e({loadMap:N,hasMap:B,play:z,resume:X,pause:ae,clearSelectedFeature:q,focusProject:I,focusPasture:Ce,focusTown:He,focusYakIndustryPoint:Qe,focusVectorFeature:bt,getVectorFeatureScreen:O,getYakIndustryPointScreen:We,setBoundaryDrawing:vt,finishBoundaryDrawing:Rt,undoBoundaryPoint:st,clearAnalysisBoundary:It,showAnalysisResult:wt,refreshView:Lt,resetView:ze,destroyMap:Me,canvasMap:o});function qe(M){return M?be(M).map(v=>{var R,D;return[v.key||"",v.layerName||"",v.styles||"",v.sldBody||"",v.cqlFilter||"",((R=v.activeLegend)==null?void 0:R.key)||"",Array.isArray(v.activeLegends)?v.activeLegends.map(H=>(H==null?void 0:H.key)||"").join(","):"",v.timelineDate||"",((D=v.timelineItem)==null?void 0:D.key)||"",v.sourceType||"",v.dataPath||"",v.fallbackPath||""].join("|")}).join("||"):""}function be(M){if(!M)return[];const v=Array.isArray(M.overlayLayers)?M.overlayLayers.filter(Boolean):[];return[M,...v]}function ut(M){var v,R,D,H,ee,ce,Ge,Oe,Ae,Be;return M?[M.status||"",M.topicKey||"",M.layerKey||"",M.title||"",M.metricLabel||"",M.scope||"",M.displayMode||"",(v=M.showPointMarkers)!=null?v:"",(R=M.showBars)!=null?R:"",(D=M.showTownNames)!=null?D:"",(H=M.showMapLabels)!=null?H:"",(ee=M.hideTownLabelStats)!=null?ee:"",(ce=M.showFlowLines)!=null?ce:"",(Ge=M.onlyRankedTownLabels)!=null?Ge:"",(Oe=M.showMissingTownStats)!=null?Oe:"",((Ae=M.rows)==null?void 0:Ae.length)||0,((Be=M.rows)==null?void 0:Be.map(Ee=>{var Ue;return`${Ee.key||Ee.name||""}:${(Ue=Ee.value)!=null?Ue:""}`}).join(","))||""].join("|"):""}return(M,v)=>(x(),_("div",Uu,[f("canvas",{ref_key:"canvasRef",ref:r},null,512)]))}},it={}.VITE_OPEN_API_BASE||"/openApi",Zu=new Date().getFullYear();function Xu(h,e){return/^https?:\/\//.test(e)?e:`${h}${e.startsWith("/")?e:`/${e}`}`}function Ju(h){if((h==null?void 0:h.success)===!1&&(h==null?void 0:h.code)!==void 0&&![0,200,"0","200"].includes(h.code))throw new Error((h==null?void 0:h.msg)||(h==null?void 0:h.message)||"接口请求失败");return Rl(h)}function rt(h,e,t,a={}){return ai(Xu(h,e),{params:t,timeout:a.timeout||18e3}).then(Ju)}function Qu(){return rt(it,"/screen2/yak-management/distribution").then(h=>ns(h))}function ec(){return rt(it,"/screen2/yak-management/structure").then(h=>ns(h))}function tc(){return rt(it,"/screen2/yak-management/profile").then(h=>h||{})}function Ur(h=Zu){return rt(it,"/screen2/yak-trade/dashboard",typeof h=="object"?h:{year:h}).then(nc)}function ac(){return rt(it,"/screen2/yak-trade/options").then(h=>h||{})}function Kr(h={}){return rt(it,"/screen2/yak-trade/ledger",h).then(ic)}function nc(h={}){var r,o;const e=Array.isArray(h.metrics)?h.metrics:[],t=u=>{var c;return Number(((c=e.find(p=>p.key===u))==null?void 0:c.value)||0)},a=Array.isArray(h.certificateStructure)?h.certificateStructure:[],n=(u,c)=>{var p;return Number(((p=a.find(y=>y.key===u))==null?void 0:p[c])||0)};return $(F({},h),{hasData:(o=(r=h.requestedHasData)!=null?r:h.hasData)!=null?o:!1,year:h.displayYear,metrics:{headCount:t("headCount"),totalHeads:t("headCount"),recordCount:t("recordCount"),totalRecords:t("recordCount"),vehicleCount:t("vehicleCount"),outProvinceHeads:n("A证","value"),outProvinceCount:n("A证","recordCount"),aCertHeads:n("A证","value"),aCertCount:n("A证","recordCount"),inProvinceHeads:n("B证","value"),inProvinceCount:n("B证","recordCount"),bCertHeads:n("B证","value"),bCertCount:n("B证","recordCount")},startTownCounts:h.townRanking||[],usageCounts:h.usageStructure||[],transportNumberCounts:h.vehicleRanking||[],destinationCounts:h.destinationRanking||[]})}function ic(h={}){const e=Array.isArray(h.rows)?h.rows.map(t=>({certId:t.recordKey,factoryCode:t.recordKey,certType:t.certType,certScopeName:t.certType,ownerName:t.ownerDisplay,ownerPhone:"",transportNumber:t.vehicleDisplay,amount:t.amount,unitName:t.unit||"头",animalTypeName:"",usageTypeName:t.usageType,startTown:t.startTown,startRegionFullName:t.startTown,destProvince:t.destProvince,destRegionFullName:t.destProvince,quarantineOfficerName:"",issueTime:t.issueDate,statusName:t.status})):[];return $(F({},h),{rows:e})}function rc(h={}){return rt(it,"/screen2/yak-management/epidemic/analysis",h).then(e=>e||{})}function Zn(h={}){return rt(it,"/screen2/yak-management/epidemic/records",h).then(e=>e||{})}function sc(h={}){return rt(it,"/screen2/yak-management/epidemic/stats",h).then(e=>e||{})}function oc(h={}){return rt(it,"/screen2/yak-management/epidemic/village-stats",h).then(e=>e||{})}function lc(h){return rt(it,"/screen2/yak-management/epidemic/detail",{earTag:h}).then(e=>e||null)}function uc(){return oe(this,null,function*(){return(yield Qu()).map((e,t)=>({key:Jt(e,["areaCode","area_code","code","id"],`yak-town-${t}`),name:Jt(e,["areaName","area_name","zoneName","townName","name"],`区域${t+1}`),value:is(Jt(e,["number","yakCount","yak_count","count","value"])),unit:"头"})).filter(e=>e.name&&Number.isFinite(e.value)).sort((e,t)=>t.value-e.value)})}function cc(){return oe(this,null,function*(){const e=(yield ec()).map((t,a)=>{const n=Jt(t,["sex","gender"],""),r=hc(n),o=Jt(t,["ageRange","age_range","age","name","type"],""),u=[r,o].filter(Boolean).join(" ")||`结构${a+1}`;return{key:Jt(t,["id","key"],`${u}-${a}`),name:u,value:is(Jt(t,["number","count","value"])),unit:"头"}}).filter(t=>t.name&&Number.isFinite(t.value));return dc(e)})}function ns(h){return Array.isArray(h)?h:Array.isArray(h==null?void 0:h.rows)?h.rows:Array.isArray(h==null?void 0:h.list)?h.list:Array.isArray(h==null?void 0:h.records)?h.records:Array.isArray(h==null?void 0:h.data)?h.data:[]}function dc(h=[]){const e=new Map;return h.forEach(t=>{const a=e.get(t.name)||$(F({},t),{value:0});a.value+=t.value,e.set(t.name,a)}),[...e.values()].sort((t,a)=>a.value-t.value)}function Jt(h,e,t=""){for(const a of e){const n=h==null?void 0:h[a];if(n!=null&&n!=="")return n}return t}function hc(h){return["boy","male","公","公牛"].includes(h)?"公牛":["girl","female","母","母牛"].includes(h)?"母牛":h||""}function is(h){if(h==null||h==="")return NaN;const e=Number(String(h).replace(/,/g,"").replace(/%/g,""));return Number.isFinite(e)?e:NaN}let rs=0,ss=0,os=0,Nt=0;const ls=[],ua=[],ei=[],un=[],xt=[],ti=[],us=[];function pc(h={}){const e=new Map((h.metrics||[]).map(t=>[t.key,Number(t.value||0)]));rs=e.get("recognition_count")||0,ss=e.get("expert_correction")||0,os=e.get("trade_deduction")||0,Nt=e.get("estimated_stock")||0,qt(ls,h.towns,t=>{var a,n;return{key:t.key,name:t.name,count:Number((n=(a=t.count)!=null?a:t.value)!=null?n:0),recognitionCount:Number(t.recognitionCount||0),devices:Number(t.devices||0)}}),qt(ua,h.structure,t=>{var a,n;return{key:t.key,name:t.name,count:Number((n=(a=t.count)!=null?a:t.value)!=null?n:0),ratio:Number(t.ratio||0)}}),qt(un,h.genderAge,t=>({age:t.age,cow:Number(t.cow||0),bull:Number(t.bull||0)})),qt(xt,h.forecastPeriods,t=>$(F({},t),{key:String(t.key),shortLabel:t.shortLabel||String(t.key),months:Number(t.months||0),stock:Number(t.stock||0),births:Number(t.births||0),outflow:Number(t.outflow||0),correction:Number(t.correction||0)})),qt(ti,h.forecastFactors,t=>$(F({},t),{value:Number(t.value||0)})),qt(ei,h.tradeImpacts,(t,a)=>$(F({},t),{value:Number(t.value||0),yoy:Number(t.yoy||0),color:["#48cfff","#30dcff","#8bf7ff","#48cfff"][a%4]})),qt(us,h.forecastMonths,t=>({month:t.month,count:Number(t.count||0),speed:Number(t.speed||0)}))}function qt(h,e,t){h.splice(0,h.length,...Array.isArray(e)?e.map(t):[])}function cn(h){return String(h||"").trim()}function fc(h){return xt.find(e=>e.key===h)||xt[1]||xt[0]||{key:String(h||""),label:"暂无预测",shortLabel:"--",months:1,stock:Nt,births:0,outflow:0,correction:0,structure:{}}}function mc(h){return(Array.isArray(h==null?void 0:h.structureRows)?h.structureRows:[]).map(e=>$(F({},e),{count:Number(e.count||0),ratio:Number(e.ratio||0)}))}function gc(h){return(Array.isArray(h==null?void 0:h.townRows)?h.townRows:[]).map(e=>$(F({},e),{count:Number(e.count||0),forecast:Number(e.forecast||0),change:Number(e.change||0)}))}function yc(h){var t;const e=((t=h==null?void 0:h.series)==null?void 0:t.month)||{};return{labels:Array.isArray(e.labels)?e.labels:[],stock:Array.isArray(e.stock)?e.stock.map(Number):[],births:Array.isArray(e.births)?e.births.map(Number):[],outflow:Array.isArray(e.outflow)?e.outflow.map(Number):[]}}function bc(h){const e=new Map;return h.forEach(t=>{const a=cn(t.name),n=e.get(a)||{name:a,count:0};n.count+=Number(t.count||0),e.set(a,n)}),[...e.values()].sort((t,a)=>a.count-t.count)}const vc={class:"yak-management"},wc={key:0},Lc={class:"yak-management-ui"},Tc={key:0,class:"trade-year-switcher","aria-label":"交易年份切换"},Sc=["onClick"],Mc={key:1,class:"epidemic-year-switcher","aria-label":"防疫年份切换"},kc=["onClick"],Pc={key:2,class:"forecast-year-switcher","aria-label":"预测年份切换"},Cc=["onClick"],Fc={class:"yak-left"},Nc={class:"yak-side-stack is-left"},xc={class:"breeding-health-card"},Rc={class:"breeding-health-head"},Ic={class:"breeding-health-grid"},_c={class:"structure-chart-card"},Gc={class:"structure-ratio-card"},Ac={class:"structure-ratio-chart"},Bc={viewBox:"0 0 150 150",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true"},Ec={class:"structure-rose-segments"},$c=["d","fill","stroke"],Vc={class:"structure-ratio-list"},Dc={key:0,class:"yak-data-status"},zc={key:1,class:"yak-data-status is-warning"},Oc={class:"forecast-waterfall-card"},Wc={class:"forecast-waterfall-head"},Yc={class:"forecast-waterfall-list"},jc={class:"forecast-trend-card"},Hc={class:"forecast-density-switcher","aria-label":"预测粒度切换"},qc=["onClick"],Uc={key:0,class:"epidemic-three-pie-card"},Kc={class:"epidemic-three-pie-visual"},Zc={class:"epidemic-three-pie-center"},Xc={class:"epidemic-three-pie-legend"},Jc={key:1,class:"epidemic-empty"},Qc={class:"trade-risk-card"},ed={class:"trade-risk-head"},td={class:"trade-risk-list"},ad={class:"yak-right"},nd={class:"yak-side-stack is-right"},id={class:"structure-chart-card"},rd={class:"structure-summary-card"},sd={key:0,class:"yak-data-status"},od={key:1,class:"yak-data-status is-warning"},ld={class:"forecast-heat-list"},ud=["title"],cd={class:"epidemic-record-table is-full"},dd={class:"epidemic-record-toolbar"},hd={class:"epidemic-record-rows"},pd=["onClick"],fd={key:0,class:"epidemic-empty"},md={class:"epidemic-record-pager"},gd=["disabled"],yd=["disabled"],bd={class:"trade-cert-card"},vd={class:"trade-cert-main"},wd={class:"trade-dest-list"},Ld={key:0,class:"epidemic-empty"},Td={class:"trade-ledger-table"},Sd={class:"trade-ledger-toolbar"},Md={class:"trade-ledger-rows"},kd=["onClick"],Pd={key:0,class:"epidemic-empty"},Cd={class:"trade-ledger-pager"},Fd=["disabled"],Nd=["disabled"],xd={class:"yak-bottom-topic"},Rd={key:3,class:"yak-map-layer-tools"},Id={class:"epidemic-ledger-dialog"},_d={class:"epidemic-ledger-dialog-head"},Gd={class:"epidemic-ledger-filters"},Ad=["value"],Bd=["value"],Ed={class:"epidemic-ledger-workspace"},$d={class:"epidemic-ledger-list"},Vd=["onClick"],Dd={key:0,class:"epidemic-empty"},zd={class:"epidemic-ledger-detail trade-ledger-detail epidemic-ledger-record-detail"},Od={class:"epidemic-detail-head trade-detail-head"},Wd={class:"epidemic-detail-grid is-modal trade-detail-grid epidemic-detail-flat-grid"},Yd={key:0,class:"epidemic-detail-photos"},jd={class:"epidemic-modal-photo-strip"},Hd=["onClick"],qd=["src"],Ud={class:"epidemic-ledger-pager"},Kd=["disabled"],Zd=["disabled"],Xd={class:"epidemic-ledger-dialog trade-ledger-dialog"},Jd={class:"epidemic-ledger-dialog-head"},Qd={class:"epidemic-ledger-filters trade-ledger-filters"},eh=["value"],th=["value"],ah=["value"],nh={class:"epidemic-ledger-workspace trade-ledger-workspace"},ih={class:"epidemic-ledger-list trade-ledger-modal-list"},rh=["onClick"],sh={key:0,class:"epidemic-empty"},oh={class:"epidemic-ledger-detail trade-ledger-detail"},lh={class:"epidemic-detail-head trade-detail-head"},uh={class:"epidemic-detail-grid is-modal trade-detail-grid"},ch={class:"is-wide"},dh={class:"is-wide"},hh={class:"is-wide"},ph={class:"is-wide"},fh=["disabled"],mh={class:"epidemic-ledger-pager"},gh=["disabled"],yh=["disabled"],bh={class:"epidemic-image-preview-dialog"},vh={class:"epidemic-image-preview-head"},wh={class:"epidemic-image-preview-body"},Lh={class:"epidemic-image-preview-frame"},Th=["src"],Sh="",Mh="/external/satellite/{z}/{x}/{y}.png",kh=9,Ph="oss-satellite-dynamic-zoom21-v5",sn="#43d9e8",on=8,Zr=14,Xn=8,Xr=14,ln=6,Ch=4200,Jr="#FFE600",Dh={__name:"index",props:{active:{type:Boolean,default:!0},viewKey:{type:String,default:"structure"}},emits:["module-stats","view-change"],setup(h,{expose:e,emit:t}){const a=h,n=t,r=Sr.sideCardWidth;Sr.sideCardGap;const o=V(typeof window=="undefined"?1080:window.innerHeight),u=S(()=>Ul(o.value)),c=S(()=>Mr(u.value,2)),p=S(()=>u.value),y=S(()=>Mr(u.value,2)),g=Ta.textPrimary,L=Ta.textStrong,T=Ta.textSecondary,C=Ta.textMuted,N=Ta.chartGridLine,B=su,z=B,X=B,ae=ou,q={targetLngLat:[102.6,32.59],targetLocalZ:.72,distanceScale:1.05,duration:.75},I=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff"],Ce=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff"],He=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff","#48cfff"],Qe={name:"红原牦牛交易市场",lng:102.562157,lat:32.820484},bt=[{key:"structure",name:"畜群结构",color:"#30dcff"},{key:"forecast",name:"畜群预测",color:"#8bf7ff"},{key:"epidemic",name:"牦牛防疫",color:"#8bf7ff"},{key:"trade",name:"牦牛交易",color:"#63d7ff"}],O=V(jn(a.viewKey)),We=V([]),vt=V("2027"),Rt=V("month"),st=V(0),It=V([]),wt=V([]),Me=V(0),ot=V(!1),_e=V(""),Fe=[2025,2026],me=V(2026),Ne=V({metrics:{}}),lt=V({rows:[],year:null}),Lt=V({rows:[]}),ze=V([]),qe=V(0),be=V(1),ut=V(""),M=V(""),v=V(!1),R=V(""),D=V(!1),H=V([]),ee=V(0),ce=V(1),Ge=V(!1),Oe=V(""),Ae=V(null),Be=V(null),Ee=V(!1),Ue=V(!1),et=V(""),he=V(Ya()),pe=V({years:[],latestYear:null}),Z=V({metrics:{},hasData:!1}),tt=V([]),ct=V(0),ve=V(null),Tt=V(!1),St=V(""),Mt=V(1),Ca=V(""),pn=V(""),fn=V(!1),Vt=V([]),Fa=V(0),Dt=V(1),mn=V(!1),gn=V(""),Na=V(null),dt=V({keyword:"",startTown:"",usageType:"",certType:""}),xe=V(null),ha=V(null),Qt=V(!1),pa=V(!1),Ye=V(!1),ii=V(0),ri=V(0),xa=V({type:"idle",text:""}),Ra=V({type:"idle",text:""});let yn=null,Ia=!1,si=!1,_t=!1,kt=null,_a=!1,Ga=null,Aa=0,oi=!1,li=!1,ui=!1;const bn=[{key:"day",label:"日",unit:"日",stepDays:1},{key:"week",label:"周",unit:"周",stepDays:7},{key:"month",label:"月",unit:"月",stepDays:30}],Ke=S(()=>(Me.value,fc(vt.value))),cs=new Set(["epidemic","trade"]),vn=S(()=>!cs.has(O.value)),ci=S(()=>vn.value?Mh:""),ds=S(()=>vn.value?"oss-satellite":"solid-3d"),hs=S(()=>`yak-management-map-${ds.value}-${Ph}-${ii.value}`),ps=S(()=>(Me.value,ss+os)),wn=S(()=>Ke.value.stock-Nt),fs=S(()=>Sl(Ke.value)),Ba=S(()=>(Me.value,ml(wt.value,ua))),ms=S(()=>Ba.value.reduce((i,s)=>i+Number(s.count||0),0));S(()=>{const i=ms.value||1;return Ba.value.map((s,l)=>{const d=Number(s.count||0),m=Number(s.ratio);return $(F({},s),{count:d,color:I[l%I.length],percent:Number.isFinite(m)?m:d/i*100})})});const gs=S(()=>pr(Ba.value,ua)),Ea=S(()=>gs.value),di=S(()=>bl(Ea.value)),hi=S(()=>vl(Ba.value,ua)),pi=S(()=>Ll(hi.value)),ys=S(()=>Math.max(...di.value.map(i=>Number(i.count||0)),1)),Ln=S(()=>Ea.value.length?0:-1),bs=S(()=>{const i=Ea.value,s=i.length;if(!s)return[];const l=Math.max(...i.map(b=>Number(b.count||0)),1),d=360/s,m=Math.min(8,d*.16);return i.map((b,w)=>{const k=Number(b.count||0),G=w===Ln.value,E=36+Math.sqrt(k/l)*31+(G?5:0),A=17,K=-90+w*d+m/2,re=-90+(w+1)*d-m/2,se=(K+re)/2,fe=Wt(75,75,E+3,se),$e=Wt(75,75,E+15,se),mt=Wt(75,75,E+20,se);return{key:b.key||b.name||w,index:w,item:b,color:b.color||I[w%I.length],path:yl(75,75,A,E,K,re),lineStart:fe,lineEnd:$e,label:mt,anchor:Math.cos(se*Math.PI/180)>=0?"start":"end"}})}),fi=S(()=>dr(["fertileCow","overageCow"])),mi=S(()=>dr(["femaleCalf","maleCalf"])),Gt=S(()=>(Me.value,(It.value.length?It.value:ls).map(i=>$(F({},i),{name:cn(i.name),count:Number(i.count||0)})).filter(i=>i.name&&Number.isFinite(i.count)&&i.count>=0))),Tn=S(()=>(Me.value,us)),Sn=S(()=>(Me.value,gc(Ke.value))),vs=S(()=>(Me.value,mc(Ke.value))),fa=S(()=>{var i;return((i=Ne.value)==null?void 0:i.metrics)||{}}),Mn=S(()=>{var i;return Pt((i=Ne.value)==null?void 0:i.dateTrend).sort($o)}),$a=S(()=>{var i;return Pt((i=Ne.value)==null?void 0:i.medicineCounts)}),Va=S(()=>$a.value.filter(i=>i.value>0).map((i,s)=>$(F({},i),{key:i.key||`${i.name}-${s}`,unit:"条"}))),ws=S(()=>Va.value.map(i=>`${i.name}:${i.value}`).join("|")||"epidemic-medicine-empty"),Ls=S(()=>{var i;return Pt((i=Ne.value)==null?void 0:i.ownerRanks).slice(0,8)}),At=S(()=>ea(fa.value,["vaccineTypes"])||xi(Ne.value)),Ts=S(()=>{var i;return((i=$a.value.find(s=>s.name&&s.name!=="未填写"))==null?void 0:i.name)||"-"}),ht=S(()=>ea(fa.value,["total","vaccine"]));S(()=>ea(fa.value,["owners"]));const Ss=S(()=>ea(fa.value,["villages"])),kn=S(()=>zt.value.length),Ms=S(()=>{var i;return((i=zt.value[0])==null?void 0:i.name)||"-"}),gi=S(()=>{const i=ze.value.map(s=>s.operateTime).filter(Boolean).sort();return i.length?Et(i[i.length-1]):"-"}),Pn=S(()=>{const i=ea(fa.value,["earTags"]);if(i>0)return i;const s=Math.max(...$a.value.map(l=>Number(l.value||0)),0);return s>0?s:Math.round(ht.value/At.value)}),Cn=S(()=>{var s;const i=Io((s=lt.value)==null?void 0:s.rows);return i.length?i:zt.value.map(l=>({name:l.name,recordCount:Number(l.recordCount||0),earTagCount:Number(l.earTagCount||0),ratio:l.ratio,source:"ledger"}))}),yi=S(()=>{var s;const i=new Set;return Vn((s=Lt.value)==null?void 0:s.rows).filter(l=>Number.isFinite(l.lng)&&Number.isFinite(l.lat)).map((l,d)=>{const m=`${l.lng.toFixed(4)},${l.lat.toFixed(4)}`,b=i.has(m)?(d%3-1)*.012:0;return i.add(m),$(F({},l),{name:l.village,value:l.earTagCount,unit:"万头",lng:l.lng+b,lat:l.lat-b*.65,displayValue:Number((l.earTagCount/1e4).toFixed(2)),displayUnit:"万头",rankLabel:`第${d+1}名`})})}),zt=S(()=>{var s;const i=new Map;return Pt((s=Ne.value)==null?void 0:s.townCounts).forEach(l=>{var b,w;const d=Xe(l.name);if(!d)return;const m=i.get(d)||{recordCount:0,earTagCount:0};m.recordCount+=Number((w=(b=l.recordCount)!=null?b:l.value)!=null?w:0),m.earTagCount+=Number(l.earTagCount||0),i.set(d,m)}),[...i.entries()].map(([l,d])=>{const m=Number(d.recordCount||0),b=Number(d.earTagCount||0)||Math.round(m/At.value),w=ht.value?m/ht.value*100:0;return{name:l,recordCount:m,earTagCount:b,ratio:w}}).sort((l,d)=>Number(d.recordCount||0)-Number(l.recordCount||0))}),ks=S(()=>Math.max(Gt.value.length,kn.value)),Ps=S(()=>new Set(zt.value.map(i=>Xe(i.name)).filter(Boolean))),Bt=S(()=>{const i=Ps.value;return Gt.value.map(s=>Xe(s.name)).filter(s=>s&&!i.has(s))}),Cs=S(()=>{const i=ks.value||kn.value||1;return kn.value/i*100});S(()=>Nt?Pn.value/Nt*100:0);const Da=S(()=>Do());S(()=>ht.value?Bt.value.length?Bt.value.length:Da.value.name&&Da.value.name!=="暂无"?1:0:0);const Fs=S(()=>zo()),Ns=S(()=>Oo()),xs=S(()=>Wo());S(()=>Yo());const Rs=S(()=>jo());S(()=>Rs.value.slice(0,3)),S(()=>ht.value?Bt.value.length?"年度免疫进度需核查":Da.value.desc:"年度计划待核查");const Fn=S(()=>Math.max(Math.ceil(qe.value/on),1)),Is=S(()=>ze.value.slice(0,on)),bi=S(()=>Math.max(Math.ceil(ee.value/Zr),1)),Ot=S(()=>Be.value||Ae.value||{}),vi=S(()=>zn(Ot.value)),_s=S(()=>{const i=Ot.value||{};return[ke("台账编号",i.epidemicId,{wide:!0}),ke("养殖户",i.owner,{wide:!0}),ke("联系电话",Vi(i.phone)),ke("证件类型",i.idType),ke("证件号码",Ko(i.idNo)),ke("镇/乡",i.town),ke("村",i.village),ke("详细地址",i.location,{wide:!0}),ke("畜种",i.livestockType),ke("性别",i.sex),ke("畜龄",i.age),ke("体重",Zo(i.weight)),ke("疫苗/药品",i.medicine),ke("防疫类型",i.preventionType),ke("免疫方式",i.method),ke("剂量",Xo(i.dose)),ke("免疫时间",Et(i.operateTime)),ke("操作员",i.operator)].filter(Boolean)}),Gs=S(()=>{var i;return Pt((i=Ne.value)==null?void 0:i.townCounts).map(s=>s.name)}),As=S(()=>$a.value.map(i=>i.name).filter(i=>i&&i!=="未填写")),wi=S(()=>{var i;return((i=Z.value)==null?void 0:i.metrics)||{}}),Li=S(()=>{var i,s,l,d,m,b,w,k;return Ri((i=pe.value)==null?void 0:i.years,(s=Z.value)==null?void 0:s.availableYears,(l=Z.value)==null?void 0:l.available_years,(d=Z.value)==null?void 0:d.yearSummary,(m=Z.value)==null?void 0:m.year_summary,(b=Z.value)==null?void 0:b.latestYear,(w=Z.value)==null?void 0:w.latest_year,(k=Z.value)==null?void 0:k.year)}),Bs=S(()=>{var i,s;return ja(((i=Z.value)==null?void 0:i.monthTrend)||((s=Z.value)==null?void 0:s.month_trend),"name")});S(()=>{var i,s;return xo(((i=Z.value)==null?void 0:i.yearSummary)||((s=Z.value)==null?void 0:s.year_summary))});const za=S(()=>{var i,s;return ja(((i=Z.value)==null?void 0:i.startTownCounts)||((s=Z.value)==null?void 0:s.start_town_counts),"name")}),Ti=S(()=>{var i,s;return ja(((i=Z.value)==null?void 0:i.usageCounts)||((s=Z.value)==null?void 0:s.usage_counts),"name")});S(()=>{var i,s,l,d,m,b;return ja(((i=Z.value)==null?void 0:i.transportNumberCounts)||((s=Z.value)==null?void 0:s.transport_number_counts)||((l=Z.value)==null?void 0:l.vehicleCounts)||((d=Z.value)==null?void 0:d.vehicle_counts)||((m=Z.value)==null?void 0:m.transportCounts)||((b=Z.value)==null?void 0:b.transport_counts),"transportNumber")});const Nn=S(()=>{const i=za.value.map(l=>{const d=String(l.name||"").trim(),m=Xe(d),b=No(m||d);return $(F({},l),{rawName:d,name:b,displayName:b,town:m,mapTownName:m})}).filter(l=>l.name&&l.name!=="未填写").slice(0,10),s=Math.max(...i.map(l=>l.headCount),1);return i.map((l,d)=>$(F({},l),{key:l.key||`${l.mapTownName||l.name}-${d}`,value:l.headCount,unit:"头",ratio:Math.max(8,Math.round(l.headCount/s*100))}))}),Si=S(()=>tt.value.slice(0,Xn)),xn=S(()=>Math.max(Math.ceil(ct.value/Xn),1)),Rn=S(()=>Math.max(Math.ceil(Fa.value/Xr),1)),ge=S(()=>Na.value||{}),Es=S(()=>ge.value.certId||ge.value.factoryCode||""),$s=S(()=>{var s,l;const i=En(((s=pe.value)==null?void 0:s.startTowns)||((l=pe.value)==null?void 0:l.start_towns));return i.length?i:$n(za.value.map(d=>d.name))}),Vs=S(()=>{var s,l;const i=En(((s=pe.value)==null?void 0:s.usageTypes)||((l=pe.value)==null?void 0:l.usage_types));return i.length?i:$n(Ti.value.map(d=>d.name))}),Ds=S(()=>{var s,l,d,m;const i=Ro(((s=pe.value)==null?void 0:s.certTypeOptions)||((l=pe.value)==null?void 0:l.cert_type_options));return i.length?i:En(((d=pe.value)==null?void 0:d.certTypes)||((m=pe.value)==null?void 0:m.cert_types)).map(b=>({value:b,label:b}))}),zs=S(()=>Nn.value.map((i,s)=>({key:i.key||`${i.name}-${s}`,name:i.displayName||i.name,displayName:i.displayName||i.name,rawName:i.rawName,town:i.mapTownName||i.town||Xe(i.name),mapTownName:i.mapTownName||i.town||Xe(i.name),value:i.headCount,headCount:i.headCount,recordCount:i.recordCount,ratio:i.ratio,unit:"头"}))),Mi=S(()=>{var i;return Ho((i=Z.value)==null?void 0:i.riskItems)}),Os=S(()=>{const i=Mi.value.filter(s=>s.level==="high");return i.length>=2?`${i.length}项重点`:i.length===1?`重点:${i[0].name}`:"整体平稳"}),Ws=S(()=>Gt.value.map(i=>$(F({},i),{breedingCowRatio:fi.value,calfRatio:mi.value,breedingCow:Math.round(i.count*fi.value/100),calf:Math.round(i.count*mi.value/100)}))),Oa=S(()=>{const i=Ws.value,s=i.length,l=Math.max(Math.ceil(s/ln),1),d=st.value%l,m=d*ln,b=Math.min(m+ln,s);return{page:d,pageCount:l,start:m,end:b,total:s,rows:i.slice(m,b)}}),Ys=S(()=>O.value==="forecast"?Sn.value:Gt.value),js=S(()=>O.value==="forecast"?"forecast":"count"),Hs=S(()=>hl(Ys.value,js.value)),ma=S(()=>({key:"yak-marks-layer",sourceType:"wmts",layerName:"v3:yak_recognition",style:"v3:yak_recognition",styles:"v3:yak_recognition",format:"image/png",tileMatrixSetID:"EPSG:900913",minimumLevel:7,maximumLevel:21,bounds:[101.88735023598684,32.187424325001956,103.32644952301061,33.27125655371905],url:"/geoserver/gwc/service/wmts",name:"牦牛识别",opacity:.92,queryBuffer:10,geometryField:"geom",fillColor:"rgba(255, 230, 0, 0)",strokeColor:Jr,glowColor:"rgba(255, 230, 0, 0.42)",lineWidth:1.4,mapView:{targetLngLat:B,distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-marks",name:"牦牛",fillColor:Jr,strokeColor:"#FFF58A",selectable:!1}]})),qs=S(()=>[ma.value]),Us=S(()=>{const i=Array.isArray(We.value)?We.value:[We.value];return new Set(i.map(String).filter(Boolean))}),In=S(()=>Us.value.has(ma.value.key)),Ks=S(()=>In.value?ma.value.legends||[]:[]),Zs=S(()=>In.value?202:172),Xs=S(()=>{var l;const s=Vn((l=Lt.value)==null?void 0:l.rows).map(d=>Ao(d.town,d.village)).filter(Boolean);return{key:"yak-epidemic-village-boundary",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_epidemic_village",styles:"v3:yak_epidemic_village",name:"防疫村边界",opacity:.86,queryBuffer:8,cqlFilter:s.length?s.join(" OR "):"EXCLUDE",legends:[{key:"yak-epidemic-village-boundary",name:"防疫村边界",fillColor:"#30DCFF",strokeColor:"#C9FBFF",selectable:!1}]}}),Js=S(()=>({key:"yak-trade-town",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_trade_town",name:"交易乡镇",cqlFilter:`record_year=${Number(ve.value||0)}`,fillColor:"rgba(48, 220, 255, 0.12)",strokeColor:"#30DCFF",opacity:.84,overlayLayers:[{key:"yak-trade-market",sourceType:"wms",url:"/geoserver/v3/wms",layerName:"v3:yak_trade_market",name:"牦牛交易市场",fillColor:"#FFE600",strokeColor:"#FFF58A",opacity:.96}]})),ki=S(()=>O.value==="epidemic"?Xs.value:O.value==="trade"?Js.value:Ze.value?In.value?ma.value:null:ma.value),Ze=S(()=>O.value==="structure"||O.value==="forecast"),Qs=S(()=>O.value==="forecast"?X:z),eo=S(()=>Ze.value?null:ki.value),to=S(()=>Ze.value?null:Pi.value),ao=S(()=>Ze.value?!pa.value:!Qt.value),no=S(()=>Ze.value?"地图加载中":"3D 地图加载中"),Pi=S(()=>O.value==="trade"?{scope:"trade-flow",title:`${ve.value||""}出栏来源`,metricLabel:"来源",unit:"头",source:$(F({},Qe),{total:ft("headCount")}),rows:zs.value,showFlowLines:!1,mapView:q}:{scope:O.value==="epidemic"?"village":"town",hideTownNames:O.value==="epidemic",hideTownLabelStats:O.value==="structure"||O.value==="forecast",title:O.value==="forecast"?`${Ke.value.shortLabel}预测存栏`:O.value==="epidemic"?`${me.value}年村级防疫信息`:"乡镇估算存栏",metricLabel:O.value==="forecast"?"预测":O.value==="epidemic"?"防疫":"存栏",unit:"万头",rows:O.value==="epidemic"?yi.value:Hs.value.map(i=>({name:i.name,value:Number((i.value/1e4).toFixed(2)),unit:"万头"}))}),io=S(()=>(Me.value,{color:["#8bf7ff","#30dcff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(i){const s=i.map(l=>`${l.marker}${l.seriesName}:${U(Math.abs(l.value))}头`);return`${i[0].name}
    ${s.join("
    ")}`}}),legend:{top:4,right:12,itemWidth:12,itemHeight:8,textStyle:{color:T,fontSize:11}},grid:{left:22,right:22,top:32,bottom:12,containLabel:!0},xAxis:{type:"value",axisLabel:{color:C,fontSize:10,formatter:i=>ie(Math.abs(i))},splitLine:{lineStyle:{color:N,type:"dashed"}},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"category",data:un.map(i=>i.age),axisLabel:{color:g,fontSize:11,fontWeight:700},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"母牛",type:"bar",stack:"gender",barWidth:12,data:un.map(i=>-i.cow),itemStyle:{borderRadius:[7,0,0,7]}},{name:"公牛",type:"bar",stack:"gender",barWidth:12,data:un.map(i=>i.bull),itemStyle:{borderRadius:[0,7,7,0]}}]})),ro=S(()=>{const i=Gt.value,s=i.map(l=>l.count);return{color:I,tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(l){const d=l.map(m=>`${m.marker}${m.seriesName}:${U(m.value)}头`);return`${l[0].name}
    ${d.join("
    ")}
    估算存栏:${U(s[l[0].dataIndex])}头
    结构依据:畜群结构比例表`}}),legend:{top:-2,right:0,itemWidth:8,itemHeight:6,itemGap:6,textStyle:{color:T,fontSize:10}},grid:{left:54,right:30,top:22,bottom:8},xAxis:{type:"value",axisLabel:{color:C,fontSize:10,formatter:ie},splitLine:{lineStyle:{color:N,type:"dashed"}},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"category",inverse:!0,data:i.map(l=>l.name),axisLabel:{color:g,fontSize:10,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:ua.map(l=>({name:l.name,type:"bar",stack:"town",barWidth:i.length>8?6:11,data:i.map(d=>Math.round(d.count*l.ratio/100))}))}}),so=S(()=>Yn(Gt.value,"count","头",{style:"ladder",tooltipFormatter(i){const s=Gt.value[i.dataIndex];return`${s.name}
    估算存栏:${U(s.count)}头
    来源:无人机识别`}})),oo=S(()=>{const i=Oa.value,s=i.rows,l=Math.max(...s.map(d=>d.breedingCow+d.calf),1);return{color:["#30dcff","#8bf7ff"],animationDurationUpdate:700,animationEasingUpdate:"cubicOut",tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(d){const m=s[d[0].dataIndex],b=d.filter(w=>["能繁母牛","犊牛合计"].includes(w.seriesName)).map(w=>`${w.marker}${w.seriesName}:${U(w.value)}头`);return`${m.name}
    母犊合计:${U(m.breedingCow+m.calf)}头
    ${b.join("
    ")}
    依据:无人机识别 + 畜群结构比例表`}}),legend:{data:["能繁母牛","犊牛合计"],top:2,left:2,itemWidth:10,itemHeight:7,itemGap:9,textStyle:{color:T,fontSize:10}},graphic:i.total>ln?{type:"text",right:4,top:3,silent:!0,style:{text:`${i.start+1}-${i.end} / ${i.total}`,fill:C,fontSize:10,fontWeight:600}}:void 0,grid:{left:18,right:18,top:42,bottom:44,containLabel:!1},xAxis:{type:"category",data:s.map(d=>d.name),axisLabel:{color:C,fontSize:10,lineHeight:12,interval:0,margin:8,formatter:Eo},axisLine:{show:!1},axisTick:{show:!1}},yAxis:{type:"value",max:Math.ceil(l*1.28),axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:N,type:"dashed"}}},series:[{name:"基础群规模",type:"bar",barWidth:15,barGap:"-100%",data:s.map(d=>d.breedingCow+d.calf),tooltip:{show:!1},itemStyle:{borderRadius:[8,8,1,1],color:"rgba(48, 220, 255, 0.07)"},silent:!0},{name:"能繁母牛",type:"bar",stack:"foundation",barWidth:15,data:s.map(d=>d.breedingCow),itemStyle:{borderRadius:[1,1,0,0],color:new Ve(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.34)"},{offset:1,color:"#30dcff"}])}},{name:"犊牛合计",type:"bar",stack:"foundation",barWidth:15,data:s.map(d=>d.calf),itemStyle:{borderRadius:[8,8,1,1],color:new Ve(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:1,color:"rgba(139, 247, 255, 0.2)"}])},label:{show:!0,position:"top",formatter:({dataIndex:d})=>ie(s[d].breedingCow+s[d].calf),color:"#ffffff",fontSize:10,fontWeight:700}}]}}),lo=S(()=>{Me.value;const i=ei.slice().sort((d,m)=>m.value-d.value),s=ei.reduce((d,m)=>d+m.value,0),l=i.map(d=>d.yoy||0);return{color:[sn,"#8bf7ff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(d){const m=i[d[0].dataIndex];return`${m.label}
    数量:${U(m.value)}头
    占比:${Ct(m.value/s*100)}
    同比:${m.yoy>0?"+":""}${m.yoy}%`}}),grid:{left:36,right:30,top:20,bottom:34},xAxis:{type:"category",data:i.map(d=>d.label),axisLabel:{color:g,fontSize:10,fontWeight:700,interval:0,margin:10},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:C,fontSize:10,formatter:ie},splitLine:{lineStyle:{color:N,type:"dashed"}}},{type:"value",min:Math.min(-2,Math.floor(Math.min(...l)-1)),max:Math.max(8,Math.ceil(Math.max(...l)+1)),axisLabel:{color:T,fontSize:10,formatter:"{value}%"},splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:"数量",type:"bar",barWidth:16,data:i.map(d=>({value:d.value,itemStyle:{borderRadius:[2,2,1,1],color:new Ve(0,0,0,1,[{offset:0,color:sn},{offset:.58,color:"rgba(67, 217, 232, 0.72)"},{offset:1,color:"rgba(67, 217, 232, 0.16)"}]),shadowBlur:2,shadowColor:"rgba(48, 220, 255, 0.16)"},label:{show:!0,position:"top",color:L,fontSize:10,fontFamily:qn.number,fontWeight:700,formatter:({value:m})=>ie(m)}}))},{name:"同比",type:"line",yAxisIndex:1,smooth:!0,symbol:"circle",symbolSize:6,data:l,lineStyle:{width:2,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:2},label:{show:!0,position:"top",color:"#8bf7ff",fontSize:10,formatter:({value:d})=>`${d>0?"+":""}${d}%`}}]}}),uo=S(()=>{const i=ol(Rt.value),s=ll(Ke.value,i.key),l=dl(s),d=ul(l.length,i.key);return{color:["#30dcff","#8bf7ff","#48cfff"],tooltip:$(F({},we()),{trigger:"axis",triggerOn:"mousemove|click",axisPointer:{type:"cross",crossStyle:{color:"rgba(126, 251, 246, 0.42)"},label:{color:"#eaffff",backgroundColor:"rgba(5, 31, 51, 0.96)"}},formatter(m){var E,A,K;const b=Array.isArray(m)?m:[m],w=b.find(re=>re.seriesType==="candlestick"),k=(w==null?void 0:w.data)||l[(K=(A=w==null?void 0:w.dataIndex)!=null?A:(E=b[0])==null?void 0:E.dataIndex)!=null?K:0];if(!k)return"";const G=k.close-k.open;return[`${k.label}|${i.unit}度预测`,`预测存栏:${U(k.close)}头`,`较上期:${Za(G)}头`,`新生牛犊:${U(k.birth)}头`,`出栏扣减:${U(k.outflow)}头`].join("
    ")}}),legend:{top:4,right:8,data:["预测存栏","新生牛犊","出栏扣减"],itemWidth:12,itemHeight:8,textStyle:{color:T,fontSize:10}},grid:{left:44,right:40,top:34,bottom:28},xAxis:{type:"category",boundaryGap:!0,data:s.labels,axisLabel:{color:C,fontSize:10,interval:d},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},axisTick:{show:!1}},yAxis:[{type:"value",scale:!0,axisLabel:{color:C,fontSize:10,formatter:ie},splitLine:{lineStyle:{color:N,type:"dashed"}}},{type:"value",axisLabel:{color:T,fontSize:10,formatter:ie},splitLine:{show:!1}}],series:[{name:"预测存栏",type:"candlestick",yAxisIndex:0,barWidth:cl(l.length,i.key),data:l,itemStyle:{color:"rgba(48, 220, 255, 0.82)",color0:"rgba(72, 207, 255, 0.82)",borderColor:"#30dcff",borderColor0:"#48cfff",borderWidth:1.4}},{name:"预测存栏线",type:"line",yAxisIndex:0,smooth:!0,symbol:"circle",symbolSize:4,data:l.map(m=>m.close),lineStyle:{width:1.8,color:"rgba(48, 220, 255, 0.86)"},itemStyle:{color:"#30dcff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:1},tooltip:{show:!1}},ur("新生牛犊",s.births,"#8bf7ff",1),ur("出栏扣减",s.outflow,"#48cfff",1)]}}),co=S(()=>({color:["#30dcff","#8bf7ff"],tooltip:$(F({},we()),{trigger:"axis"}),legend:{top:4,right:12,itemWidth:12,itemHeight:8,textStyle:{color:T,fontSize:10}},grid:{left:52,right:42,top:34,bottom:28},xAxis:{type:"category",data:Tn.value.map(i=>i.month||i.name),axisLabel:{color:C,fontSize:10,interval:1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:C,fontSize:10,formatter:i=>{const s=Number(i);return Number.isFinite(s)?Math.abs(s)>=1e4?`${Number((s/1e4).toFixed(1))}万`:`${s}`:i}},splitLine:{lineStyle:{color:N,type:"dashed"}}},{type:"value",axisLabel:{color:T,fontSize:10},splitLine:{show:!1}}],series:[{name:"数量",type:"bar",barWidth:12,data:Tn.value.map(i=>i.count||i.value),itemStyle:{borderRadius:[8,8,0,0],color:new Ve(0,0,0,1,[{offset:0,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}},{name:"增速",type:"line",yAxisIndex:1,smooth:!0,symbolSize:5,data:Tn.value.map(i=>i.speed||i.growthRate||0),lineStyle:{width:2.4,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff"}}]})),ho=S(()=>(Me.value,{tooltip:we(),radar:{center:["50%","54%"],radius:"68%",splitNumber:4,indicator:ti.map(i=>({name:i.name,max:100})),axisName:{color:"rgba(223, 250, 255, 0.76)",fontSize:11},splitLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},splitArea:{areaStyle:{color:["rgba(48, 220, 255, 0.04)","rgba(139, 247, 255, 0.018)"]}},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.18)"}}},series:[{type:"radar",data:[{name:"预测因子",value:ti.map(i=>i.value),areaStyle:{color:"rgba(48, 220, 255, 0.22)"},lineStyle:{color:"#30dcff",width:2},itemStyle:{color:"#8bf7ff"}}]}]})),po=S(()=>Yn(Sn.value,"forecast","头")),fo=S(()=>{const i=vs.value,s=i.reduce((l,d,m)=>{const b=d.color||I[m%I.length];return l[`name${m}`]={color:b,fontSize:10,fontWeight:800},l[`percent${m}`]={color:b,fontSize:10,fontFamily:"D-DIN, Arial, sans-serif",fontWeight:800},l},{});return{color:I,tooltip:we(l=>{var m;const d=i.find(b=>b.name===l.name);return`${l.name}
    预测占比:${Ct((m=d==null?void 0:d.ratio)!=null?m:l.percent)}
    预测数量:${U((d==null?void 0:d.count)||0)}头`}),legend:{orient:"vertical",right:4,top:"middle",itemWidth:8,itemHeight:8,itemGap:6,formatter(l){const d=i.findIndex(b=>b.name===l),m=i[d];return m?`{name${d}|${l}} {percent${d}|${Ct(m.ratio)}}`:l},textStyle:{color:T,fontSize:10,rich:s}},series:[{name:"期末结构预测",type:"pie",radius:["38%","66%"],center:["32%","54%"],startAngle:118,avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:i.map(l=>({name:l.name,value:l.count}))}]}}),mo=S(()=>(Me.value,{color:["#8bf7ff","#48cfff","#48cfff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"}}),legend:{top:4,right:8,itemWidth:12,itemHeight:8,textStyle:{color:T,fontSize:10}},grid:{left:44,right:26,top:34,bottom:28},xAxis:{type:"category",data:xt.map(i=>i.shortLabel),axisLabel:{color:g,fontSize:11,fontWeight:700},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.26)"}},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{color:C,fontSize:10,formatter:i=>Ka(i,1)},splitLine:{lineStyle:{color:N,type:"dashed"}}},series:[{name:"新生牛犊",type:"bar",barWidth:12,data:xt.map(i=>i.births),itemStyle:{borderRadius:[7,7,0,0]}},{name:"出栏流出",type:"bar",barWidth:12,data:xt.map(i=>-i.outflow),itemStyle:{borderRadius:[0,0,7,7]}},{name:"稳态校正",type:"line",smooth:!0,symbolSize:6,data:xt.map(i=>i.correction),lineStyle:{width:2.4}}]})),go=S(()=>{const i=Sn.value,s=Math.max(...i.map(l=>Math.abs(l.change)),1);return i.map(l=>$(F({},l),{width:Math.max(8,Math.round(Math.abs(l.change)/s*100))}))});function yo(i){const s=Number((i==null?void 0:i.change)||0)>=0;return{"--heat-width":`${i.width}%`,"--heat-color":s?"#30dcff":"#8bf7ff","--heat-color-soft":s?"rgba(48, 220, 255, 0.24)":"rgba(139, 247, 255, 0.22)","--heat-color-dim":s?"rgba(48, 220, 255, 0.07)":"rgba(139, 247, 255, 0.07)"}}function bo(i){return`${i.name}:${Za(i.change)}头`}const vo=S(()=>{const i=Mn.value,s=i.map(d=>d.value),l=Math.max(...s,1);return{color:["#30dcff","#8bf7ff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(48, 220, 255, 0.28)"}},formatter(d){const m=d[0];return`${m.name}
    防疫记录:${U(m.value)}条`}}),grid:{left:42,right:24,top:20,bottom:28},xAxis:{type:"category",data:i.map(d=>d.name),axisLabel:{color:C,fontSize:10,interval:Math.max(Math.floor(i.length/7),0)},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisTick:{show:!1}},yAxis:{type:"value",axisLabel:{color:C,fontSize:10,formatter:ie},splitLine:{lineStyle:{color:N,type:"dashed"}}},series:[{name:"防疫记录",type:"bar",barMaxWidth:12,data:s,itemStyle:{borderRadius:[7,7,0,0],color:new Ve(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:.45,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])},label:{show:!0,position:"top",color:"rgba(230, 255, 249, 0.92)",fontSize:10,formatter:({value:d})=>d>=l*.42?ie(d):""}},{name:"作业趋势",type:"line",smooth:!0,showSymbol:!1,data:s,lineStyle:{width:2.4,color:"#8bf7ff"}}]}});S(()=>{const i=Mn.value.length?Mn.value.slice(-6):[{name:"待开展",value:0}],s=i.map(w=>Number(w.value||0)),l=Fs.value,d=l.map(w=>Number(w.value||0)),m=Math.max(...s,1),b=w=>String(w||"").replace(/(镇|乡|村)$/,"");return{color:["#30dcff","#8bf7ff"],title:[{text:"作业节奏",left:4,top:0,textStyle:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,fontWeight:800}},{text:"补免关注",left:"55%",top:0,textStyle:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,fontWeight:800}}],tooltip:$(F({},we()),{trigger:"axis",formatter(w){const k=Array.isArray(w)?w[0]:w;if((k==null?void 0:k.axisIndex)===1){const E=l[k.dataIndex]||{};return`${E.name}
    补免关注:${E.label||k.value}`}const G=i[k.dataIndex]||{};return`${G.name}
    防疫记录:${U(G.value)}条`}}),grid:[{left:6,right:"52%",top:26,bottom:15},{left:"56%",right:12,top:26,bottom:15}],xAxis:[{type:"category",gridIndex:0,data:i.map(w=>w.name),axisLabel:{color:"rgba(226, 252, 255, 0.56)",fontSize:9,interval:0,formatter:w=>String(w||"").replace(/^(\d{1,2})\D+(\d{1,2}).*$/,"$1/$2")},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.22)"}},axisTick:{show:!1}},{type:"value",gridIndex:1,min:0,max:Math.max(...d,100),show:!1}],yAxis:[{type:"value",gridIndex:0,show:!1},{type:"category",gridIndex:1,inverse:!0,data:l.map(w=>w.name),axisLabel:{color:"rgba(226, 252, 255, 0.68)",fontSize:9,formatter:w=>b(w)},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:"防疫记录",type:"bar",xAxisIndex:0,yAxisIndex:0,barMaxWidth:9,data:s,itemStyle:{borderRadius:[6,6,0,0],color:new Ve(0,0,0,1,[{offset:0,color:"#8bf7ff"},{offset:.45,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.1)"}])},label:{show:!0,position:"top",color:"rgba(230, 255, 249, 0.86)",fontSize:8,formatter:({value:w})=>w>=m*.55?ie(w):""}},{name:"节奏线",type:"line",xAxisIndex:0,yAxisIndex:0,smooth:!0,showSymbol:!1,data:s,lineStyle:{width:1.8,color:"#8bf7ff"},tooltip:{show:!1}},{name:"补免关注",type:"bar",xAxisIndex:1,yAxisIndex:1,barWidth:8,data:d,itemStyle:{borderRadius:[0,7,7,0],color:new Ve(0,0,1,0,[{offset:0,color:"rgba(139, 247, 255, 0.24)"},{offset:1,color:"#8bf7ff"}])},label:{show:!0,position:"right",color:"rgba(201, 251, 255, 0.9)",fontSize:8,formatter:({dataIndex:w})=>{var k;return((k=l[w])==null?void 0:k.label)||""}}}]}}),S(()=>{const i=Ns.value,s=i.map(b=>Number(b.value||0)),l=Math.max(...s,1),d=s.filter(Boolean).reduce((b,w)=>b+w,0)/Math.max(s.filter(Boolean).length,1),m=Math.ceil(l*1.18);return{color:["#30dcff","#8bf7ff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(b){var k;const w=i[(k=b[0])==null?void 0:k.dataIndex]||{};return w.isMissing?`${w.name}
    年度防疫:待补强`:`${w.name}
    覆盖量:${U(w.value)}头
    防疫记录:${U(w.recordCount)}条`}}),grid:{left:56,right:46,top:16,bottom:12},xAxis:{type:"value",min:0,max:m,show:!1},yAxis:{type:"category",inverse:!0,data:i.map(b=>b.name),axisLabel:{color:"rgba(226, 252, 255, 0.82)",fontSize:11,interval:0,formatter:b=>String(b||"").replace(/(镇|乡)$/,"")},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"均衡参照",type:"bar",barWidth:11,silent:!0,barGap:"-100%",data:i.map(()=>m),itemStyle:{borderRadius:[0,8,8,0],borderColor:"rgba(48, 220, 255, 0.12)",borderWidth:1,color:"rgba(48, 220, 255, 0.045)"}},{name:"覆盖量",type:"bar",barWidth:11,barGap:"-100%",z:3,data:i.map(b=>{const w=Number(b.value||0);return{value:w>0?w:Math.max(m*.035,1),rawValue:w,itemStyle:{borderRadius:[0,8,8,0],color:new Ve(0,0,1,0,[{offset:0,color:b.isMissing?"rgba(72, 207, 255, 0.2)":"rgba(48, 220, 255, 0.14)"},{offset:.72,color:b.isMissing?"#48cfff":"#30dcff"},{offset:1,color:b.isMissing?"#8bf7ff":"#9efcff"}]),shadowBlur:b.isMissing?4:5,shadowColor:b.isMissing?"rgba(72, 207, 255, 0.18)":"rgba(48, 220, 255, 0.16)"}}}),label:{show:!0,position:"right",color:"rgba(239, 255, 255, 0.92)",fontSize:11,fontWeight:800,formatter:({dataIndex:b})=>{const w=i[b]||{};return w.isMissing?"待补强":`${ie(w.value)}头`}},markLine:d>0?{symbol:"none",silent:!0,lineStyle:{color:"rgba(139, 247, 255, 0.46)",type:"dashed",width:1},label:{color:"rgba(201, 251, 255, 0.8)",fontSize:10,formatter:"均衡线"},data:[{xAxis:d}]}:void 0}]}}),S(()=>{const i=xs.value,s=["#30dcff","#8bf7ff","#58d9ff","#28e8d6","#7bdfff","#9efcff","#48cfff","#40b8ff","#8bf7ff"],l=i.length?i.map((d,m)=>({name:String(d.name||"").replace(/(村|社区|牧委会)$/,""),value:Math.max(Number(d.value||0),1),rawValue:Number(d.value||0),town:d.town||"",itemStyle:{color:new Ve(0,0,1,1,[{offset:0,color:s[m%s.length]},{offset:1,color:"rgba(17, 70, 92, 0.38)"}])}})):[{name:"待形成",value:1,rawValue:0,town:"",itemStyle:{color:"rgba(48, 220, 255, 0.14)"}}];return{tooltip:$(F({},we()),{formatter(d){const m=d.data||{};return m.rawValue?`${m.town?`${m.town} `:""}${m.name}
    覆盖量:${U(m.rawValue)}头`:`${m.name}
    暂无村级覆盖量`}}),series:[{type:"treemap",roam:!1,nodeClick:!1,breadcrumb:{show:!1},left:6,right:6,top:7,bottom:5,visibleMin:1,data:l,label:{show:!0,color:"rgba(235, 254, 255, 0.9)",fontSize:10,fontWeight:800,lineHeight:14,formatter(d){var b;const m=Number(((b=d.data)==null?void 0:b.rawValue)||0);return m?`${d.name} -${ie(m)}头`:d.name}},upperLabel:{show:!1},itemStyle:{borderColor:"rgba(4, 24, 36, 0.88)",borderWidth:2,gapWidth:2},emphasis:{label:{color:"#ffffff"},itemStyle:{shadowBlur:6,shadowColor:"rgba(48, 220, 255, 0.18)"}},levels:[{itemStyle:{borderColor:"rgba(14, 75, 98, 0.72)",borderWidth:1,gapWidth:2}}]}]}});const wo=S(()=>{const i=Cn.value,s=i.length>8?10:12,l=s+8,d=i.map(E=>Number(E.recordCount||0)),m=i.map(E=>Number(E.earTagCount||0)),b=Math.max(...d,1),w=i.map(()=>Math.ceil(b*1.08)),k=new Ve(0,0,0,1,[{offset:0,color:"rgba(48, 220, 255, 0.18)"},{offset:.48,color:"rgba(48, 220, 255, 0.06)"},{offset:1,color:"rgba(48, 220, 255, 0.02)"}]),G=new Ve(0,0,0,1,[{offset:0,color:"#31f7ff"},{offset:.36,color:"#1cbcff"},{offset:1,color:"#266dff"}]);return{color:["#31f7ff","#8bf7ff"],title:{text:`台账总量:{value|${ie(ht.value)}条}`,right:0,top:0,textStyle:{color:"#fff",fontSize:12,fontWeight:500,rich:{value:{color:"#22f1ff",borderColor:"#14bdf4",borderWidth:1,borderRadius:2,padding:[2,6,3,6],fontSize:12,fontWeight:700}}}},tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(E){const A=i[E[0].dataIndex];return[`${A.name}`,`防疫记录:${U(A.recordCount)}条`,`耳标数量:${U(A.earTagCount)}头`,"数据来源:防疫台账"].join("
    ")}}),legend:[{data:["防疫记录"],top:0,left:0,itemWidth:10,itemHeight:10,icon:"circle",textStyle:{color:g,fontSize:11},selectedMode:!1},{data:["耳标数"],top:0,left:82,itemWidth:10,itemHeight:10,icon:"circle",textStyle:{color:g,fontSize:11},selectedMode:!1}],grid:{left:42,right:12,top:46,bottom:68},xAxis:{type:"category",data:i.map(E=>E.name),axisLabel:{color:g,fontSize:10,interval:0,lineHeight:11,margin:8,formatter:Bo},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",name:"数量/条",max:Math.ceil(b*1.2),nameTextStyle:{color:C,fontSize:10,align:"left"},axisLabel:{color:C,fontSize:10,formatter:ie},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:N,type:"dashed"}}},series:[{name:"统计底柱",type:"bar",barWidth:l,barGap:"-100%",data:w,tooltip:{show:!1},silent:!0,z:1,itemStyle:{borderRadius:[8,8,1,1],borderColor:"rgba(48, 220, 255, 0.22)",borderWidth:1,color:k}},{name:"防疫记录",type:"bar",barGap:"-100%",barWidth:s,barMinHeight:2,z:3,data:d.map(E=>({value:E,itemStyle:{borderRadius:[8,8,1,1],borderColor:"rgba(200, 252, 255, 0.22)",borderWidth:1,color:G,shadowBlur:10,shadowColor:"rgba(49, 247, 255, 0.28)"}}))},{name:"耳标数",type:"line",smooth:!0,showSymbol:!1,z:9,data:m,lineStyle:{width:1.6,color:"#8bf7ff",shadowBlur:0,shadowColor:"transparent"},itemStyle:{color:"#8bf7ff"}}]}}),Lo=S(()=>{const i=Ls.value;return{tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(s){const l=i[s[0].dataIndex];return`${l.name}
    防疫记录:${U(l.value)}条`}}),grid:{left:74,right:42,top:12,bottom:8},xAxis:{type:"value",axisLabel:{color:C,fontSize:10,formatter:ie},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:N,type:"dashed"}}},yAxis:{type:"category",inverse:!0,data:i.map(s=>s.name),axisLabel:{color:g,fontSize:10,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:[{name:"记录",type:"bar",barWidth:9,data:i.map(s=>({value:s.value,itemStyle:{borderRadius:[1,2,2,1],color:new Ve(0,0,1,0,[{offset:0,color:"rgba(67, 217, 232, 0.14)"},{offset:.58,color:"rgba(67, 217, 232, 0.7)"},{offset:1,color:sn}])}})),label:{show:!0,position:"right",color:"#eaffff",fontSize:10,formatter:({value:s})=>ie(s)}}]}}),To=S(()=>{const i=Bs.value;return{color:["#30dcff","#8bf7ff"],tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(s){const l=s.find(m=>m.seriesName==="流通头数"),d=s.find(m=>m.seriesName==="出证记录");return`${(l==null?void 0:l.axisValue)||""}
    流通头数:${U((l==null?void 0:l.value)||0)}头
    出证记录:${U((d==null?void 0:d.value)||0)}条`}}),legend:{top:4,right:10,itemWidth:12,itemHeight:8,textStyle:{color:T,fontSize:10}},grid:{left:42,right:38,top:34,bottom:28},xAxis:{type:"category",data:i.map(s=>s.name),axisLabel:{color:C,fontSize:10,interval:1},axisLine:{lineStyle:{color:"rgba(48, 220, 255, 0.24)"}},axisTick:{show:!1}},yAxis:[{type:"value",axisLabel:{color:C,fontSize:10,formatter:ie},splitLine:{lineStyle:{color:N,type:"dashed"}}},{type:"value",axisLabel:{color:T,fontSize:10,formatter:ie},splitLine:{show:!1}}],series:[{name:"流通头数",type:"bar",barMaxWidth:13,data:i.map(s=>s.headCount),itemStyle:{borderRadius:[7,7,0,0],color:new Ve(0,0,0,1,[{offset:0,color:"#30dcff"},{offset:1,color:"rgba(48, 220, 255, 0.08)"}])}},{name:"出证记录",type:"line",yAxisIndex:1,smooth:!0,symbolSize:5,data:i.map(s=>s.recordCount),lineStyle:{width:2.2,color:"#8bf7ff"},itemStyle:{color:"#8bf7ff",borderColor:"rgba(3, 18, 28, 0.9)",borderWidth:2}}]}}),So=S(()=>Yn(za.value.slice(0,10),"headCount","头",{style:"ladder",axisTextColor:"rgba(255, 255, 255, 0.88)",dimAxisTextColor:"rgba(255, 255, 255, 0.74)",tooltipFormatter(i){const s=za.value[i.dataIndex];return`${s.name}
    流通头数:${U(s.headCount)}头
    出证记录:${U(s.recordCount)}条`}})),Mo=S(()=>{const i=Ti.value;return{color:He,tooltip:we(s=>{const l=i.find(d=>d.name===s.name);return`${s.name}
    占比:${s.percent}%
    流通头数:${U(s.value)}头
    出证记录:${U((l==null?void 0:l.recordCount)||0)}条`}),legend:{orient:"vertical",right:4,top:"middle",itemWidth:8,itemHeight:8,itemGap:6,textStyle:{color:T,fontSize:10},formatter(s){const l=i.find(d=>d.name===s);return l?`${s} ${ie(l.headCount)}头`:s}},series:[{name:"用途结构",type:"pie",radius:["38%","64%"],center:["32%","54%"],startAngle:110,label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:i.map(s=>({name:s.name,value:s.headCount}))}]}}),ko=S(()=>{const i=[{name:"省外A证",value:ft("outProvinceHeads","aCertHeads")},{name:"省内B证",value:ft("inProvinceHeads","bCertHeads")}];return{color:["#8bf7ff","#30dcff"],tooltip:we(s=>`${s.name}
    流通头数:${U(s.value)}头
    占比:${s.percent}%`),series:[{type:"pie",radius:["48%","72%"],center:["50%","52%"],label:{show:!1},labelLine:{show:!1},itemStyle:{borderColor:"rgba(3, 18, 31, 0.92)",borderWidth:3},data:i}]}});function _n(){o.value=typeof window=="undefined"?1080:window.innerHeight}function Ci(){var i,s,l,d,m,b;if(Ze.value){(s=(i=ha.value)==null?void 0:i.refreshView)==null||s.call(i);return}(d=(l=xe.value)==null?void 0:l.resume)==null||d.call(l),(b=(m=xe.value)==null?void 0:m.refreshView)==null||b.call(m)}function Fi(){kt&&(window.clearTimeout(kt),kt=null)}function Ni(){var i,s,l,d,m,b;if(Ye.value=!1,xa.value={type:"loading",text:"地图正在复位"},Ra.value={type:"idle",text:""},Ze.value){(s=(i=ha.value)==null?void 0:i.hasMap)!=null&&s.call(i)?(pa.value=!0,(d=(l=ha.value)==null?void 0:l.resetView)==null||d.call(l)):(pa.value=!1,ri.value+=1,Ut(()=>{window.setTimeout(()=>{var w,k;return(k=(w=ha.value)==null?void 0:w.refreshView)==null?void 0:k.call(w)},160)}));return}if((b=(m=xe.value)==null?void 0:m.hasMap)!=null&&b.call(m)){Qt.value=!0,Ci();return}Fi(),Qt.value=!1,_t=!1,ii.value+=1,Ut(()=>{Ua()})}function Po(){Ye.value=!1,Ni()}e({refreshMapView:Ci,resetMap:Ni,setActiveView(i){O.value=jn(i)}}),Qr(()=>{_n(),window.addEventListener("resize",_n),ir(),rr(O.value),Wa()}),es(()=>{var i,s;_a=!0,window.removeEventListener("resize",_n),kt&&window.clearTimeout(kt),Gn(),(s=(i=xe.value)==null?void 0:i.destroyMap)==null||s.call(i)}),Zt([O,Ke,Gt,Pn,ht,me,ve,wi],()=>{rl()},{immediate:!0}),Zt(O,(i,s)=>{n("view-change",i),rr(i);const l=i==="structure"||i==="forecast",d=s==="structure"||s==="forecast",m=!l&&!d&&(i==="trade"||s==="trade");l&&!d&&(Ye.value=!1,pa.value=!1,xa.value={type:"idle",text:""},Ra.value={type:"idle",text:""}),!l&&d&&(ir(),Fi(),Ye.value=!1,Qt.value=!1,_t=!1,xa.value={type:"idle",text:""},Ra.value={type:"idle",text:""},Ut(()=>{var b,w,k,G;Ua(),(w=(b=xe.value)==null?void 0:b.resume)==null||w.call(b),(G=(k=xe.value)==null?void 0:k.refreshView)==null||G.call(k),window.setTimeout(()=>{var E,A;return(A=(E=xe.value)==null?void 0:E.refreshView)==null?void 0:A.call(E)},180)})),m&&Ut(()=>{var b,w,k,G;(w=(b=xe.value)==null?void 0:b.resume)==null||w.call(b),(G=(k=xe.value)==null?void 0:k.refreshView)==null||G.call(k)}),Wa()}),Zt(()=>a.viewKey,i=>{const s=jn(i);s!==O.value&&(O.value=s)}),Zt(()=>a.active,i=>{var s,l,d,m;i?(Ua(),(l=(s=xe.value)==null?void 0:s.resume)==null||l.call(s),Wa()):((m=(d=xe.value)==null?void 0:d.pause)==null||m.call(d),Gn())}),Zt(Oa,i=>{st.value>=i.pageCount&&(st.value=0),Wa()});function Co(i){i!==vt.value&&(vt.value=i)}function Wa(){Gn(),!(!a.active||O.value!=="structure"||_a||Oa.value.pageCount<=1)&&(Ga=window.setInterval(Fo,Ch))}function Fo(){const i=Oa.value.pageCount;i<=1||(st.value=(st.value+1)%i)}function Gn(){Ga&&(window.clearInterval(Ga),Ga=null)}function No(i){return cn(i||"")}function Xe(i){return String(i||"").trim()}function An(i){const s=Number(i);return Number.isFinite(s)&&Fe.includes(s)?s:Fe[Fe.length-1]}function Bn(i=me.value){const s=An(i);return{startDate:`${s}-01-01`,endDate:`${s}-12-31`}}function Ya(){return{keyword:"",town:"",medicine:"",startDate:"",endDate:""}}function Pt(i=[]){return Array.isArray(i)?i.map((s,l)=>{var d,m,b,w,k,G,E,A,K;return{key:s.key||s.id||`${s.name||s.label||"item"}-${l}`,name:String(s.name||s.label||s.town||s.village||"未填写"),value:Number((b=(m=(d=s.value)!=null?d:s.count)!=null?m:s.total)!=null?b:0),recordCount:Number((E=(G=(k=(w=s.recordCount)!=null?w:s.record_count)!=null?k:s.value)!=null?G:s.count)!=null?E:0),earTagCount:Number((K=(A=s.earTagCount)!=null?A:s.ear_tag_count)!=null?K:0)}}).filter(s=>s.name&&Number.isFinite(s.value)):[]}function xi(i={}){const s=Pt(i==null?void 0:i.medicineCounts);return Math.max(s.filter(l=>l.name!=="未填写").length,1)}function Ri(...i){const s=i.flatMap(l=>Array.isArray(l)?l:[l]).map(l=>{var d,m,b;return l&&typeof l=="object"?(b=(m=(d=l.year)!=null?d:l.value)!=null?m:l.latestYear)!=null?b:l.latest_year:l}).map(Number).filter(l=>Number.isFinite(l)&&l>0);return[...new Set(s)].sort((l,d)=>l-d)}function ja(i=[],s="name"){return Array.isArray(i)?i.map((l,d)=>{var m,b,w,k,G,E,A,K,re,se,fe,$e,mt,Yt,ga,ya,ba;return{key:l.key||l.id||`${l[s]||l.name||l.label||"trade"}-${d}`,name:String(l[s]||l.name||l.label||l.town||"未填写"),recordCount:Number((w=(b=(m=l.recordCount)!=null?m:l.record_count)!=null?b:l.count)!=null?w:0),headCount:Number((A=(E=(G=(k=l.headCount)!=null?k:l.head_count)!=null?G:l.amount)!=null?E:l.value)!=null?A:0),lng:pt(($e=(fe=(se=(re=(K=l.lng)!=null?K:l.longitude)!=null?re:l.destLng)!=null?se:l.dest_lng)!=null?fe:l.destLongitude)!=null?$e:l.dest_longitude),lat:pt((ba=(ya=(ga=(Yt=(mt=l.lat)!=null?mt:l.latitude)!=null?Yt:l.destLat)!=null?ga:l.dest_lat)!=null?ya:l.destLatitude)!=null?ba:l.dest_latitude)}}).filter(l=>l.name&&Number.isFinite(l.headCount)):[]}function xo(i=[]){return Array.isArray(i)?i.map(s=>{var l,d,m,b,w,k;return{year:Number(s.year),recordCount:Number((d=(l=s.recordCount)!=null?l:s.record_count)!=null?d:0),headCount:Number((k=(w=(b=(m=s.headCount)!=null?m:s.head_count)!=null?b:s.amount)!=null?w:s.value)!=null?k:0)}}).filter(s=>Number.isFinite(s.year)&&Number.isFinite(s.headCount)):[]}function En(i=[]){return Array.isArray(i)?$n(i.map(s=>{var l,d,m;return s&&typeof s=="object"?(m=(d=(l=s.value)!=null?l:s.label)!=null?d:s.name)!=null?m:"":s})):[]}function Ro(i=[]){return Array.isArray(i)?i.map(s=>{var l,d,m,b,w,k;if(s&&typeof s=="object"){const G=(m=(d=(l=s.value)!=null?l:s.name)!=null?d:s.label)!=null?m:"",E=(k=(w=(b=s.label)!=null?b:s.name)!=null?w:s.value)!=null?k:G;return G?{value:String(G),label:String(E||G)}:null}return s?{value:String(s),label:String(s)}:null}).filter(Boolean):[]}function $n(i=[]){return[...new Set(i.map(s=>String(s||"").trim()).filter(Boolean))]}function Io(i=[]){if(!Array.isArray(i))return[];const s=new Map;i.forEach((d,m)=>{var E,A,K,re,se,fe;const b=Xe(d.name||d.areaName||d.area_name||d.town||d.label||"");if(!b)return;const w=pt((K=(A=(E=d.value)!=null?E:d.number)!=null?A:d.count)!=null?K:d.total);if(!Number.isFinite(w))return;const k=s.get(b)||{key:d.areaCode||d.area_code||`${b}-${m}`,name:b,recordCount:0,earTagCount:0,source:"stats"};k.recordCount+=w;const G=pt((fe=(se=(re=d.earTagCount)!=null?re:d.ear_tag_count)!=null?se:d.headCount)!=null?fe:d.head_count);k.earTagCount+=Number.isFinite(G)?G:0,s.set(b,k)});const l=[...s.values()].reduce((d,m)=>d+Number(m.recordCount||0),0);return[...s.values()].map(d=>$(F({},d),{earTagCount:d.earTagCount||Math.round(Number(d.recordCount||0)/At.value),ratio:l?Number(d.recordCount||0)/l*100:0})).sort((d,m)=>Number(m.recordCount||0)-Number(d.recordCount||0))}function _o(i={}){var m,b;const s=Array.isArray(i)?{rows:i}:i||{},l=s.result||{};return{rows:s.rows||s.data||s.list||s.records||[],year:(b=(m=s.year)!=null?m:l.year)!=null?b:null}}function Vn(i=[]){return Array.isArray(i)?i.map((s,l)=>{var K,re,se,fe,$e,mt,Yt,ga,ya,ba,mr,gr;const d=Xe(s.town||s.townName||s.town_name||""),m=String(s.village||s.villageName||s.village_name||s.name||"").trim(),b=pt((se=(re=(K=s.recordCount)!=null?K:s.record_count)!=null?re:s.records)!=null?se:s.total),w=pt((Yt=(mt=($e=(fe=s.earTagCount)!=null?fe:s.ear_tag_count)!=null?$e:s.headCount)!=null?mt:s.head_count)!=null?Yt:s.value),k=pt((ya=(ga=s.imageCount)!=null?ga:s.image_count)!=null?ya:s.images),G=pt((ba=s.imageRate)!=null?ba:s.image_rate),E=pt((mr=s.lng)!=null?mr:s.longitude),A=pt((gr=s.lat)!=null?gr:s.latitude);return{key:s.key||s.id||`${d}-${m}-${l}`,town:d,village:m,recordCount:Number.isFinite(b)?b:0,earTagCount:Number.isFinite(w)?w:0,imageCount:Number.isFinite(k)?k:0,imageRate:Number.isFinite(G)?G:0,lng:E,lat:A}}).filter(s=>s.town&&s.village&&Number.isFinite(s.earTagCount)).sort((s,l)=>Number(l.earTagCount||0)-Number(s.earTagCount||0)):[]}function Go(i={},s={}){const l=Array.isArray(s)?{rows:s}:s||{},d=l.result||{},m=Vn(l.rows||l.data||l.list||l.records||d.rows||[]),b=new Map;m.forEach(A=>{Ii(A.village).forEach(K=>{b.has(K)||b.set(K,A)})});const w=Pt(i==null?void 0:i.townCounts),k=w.length===1?Xe(w[0].name):"",G=xi(i),E=Pt(i==null?void 0:i.villageCounts).map((A,K)=>{var $e,mt;const re=String(A.name||"").trim(),se=Ii(re).map(Yt=>b.get(Yt)).find(Boolean)||{},fe=Number((mt=($e=A.recordCount)!=null?$e:A.value)!=null?mt:0);return{key:se.key||`${se.town||k||"防疫"}-${re}-${K}`,town:se.town||k,village:re,recordCount:fe,earTagCount:Number(A.earTagCount||0)||Math.round(fe/G),imageCount:se.imageCount||0,imageRate:se.imageRate||0,lng:se.lng,lat:se.lat}}).filter(A=>A.village&&A.recordCount>0);return $(F({},l),{rows:E})}function Ii(i){const s=String(i||"").trim(),l=s.replace(/(村|社区|牧委会)$/,"");return[...new Set([s,l].filter(Boolean))]}function pt(i){if(i==null||i==="")return NaN;const s=Number(String(i).replace(/,/g,"").replace(/%/g,""));return Number.isFinite(s)?s:NaN}function _i(i){return String(i||"").replace(/'/g,"''").replace(/%/g,"\\%").replace(/_/g,"\\_")}function Ao(i,s){const l=Xe(i),d=String(s||"").trim();if(!l||!d)return"";const m=_i(l),b=_i(d);return`(town_name = '${m}' AND village_name = '${b}')`}function Bo(i){const s=String(i||"").trim().replace(/\s+/g,"");return s?Array.from(s).join(` -`):""}function Eo(i){const s=String(i||"").trim();if(!s)return"";const l=s.match(/^(.+)(镇|乡|村)$/);return l?`${l[1]} -${l[2]}`:s}function $o(i,s){return Gi(i.name)-Gi(s.name)}function Gi(i){const s=String(i||"").match(/(\d{1,2})\D+(\d{1,2})/);return s?Number(s[1])*100+Number(s[2]):Number.MAX_SAFE_INTEGER}function Dn(i=[]){return Array.isArray(i)?i.map(Ai).filter(Boolean):[]}function Ai(i){return i?{epidemicId:i.epidemicId||i.epidemic_id||i.id||"",earTag:i.earTag||i.ear_tag||"",owner:i.owner||"",idType:i.idType||i.id_type||"",idNo:i.idNo||i.id_no||"",phone:i.phone||"",town:i.town||"",village:i.village||"",location:i.location||"",livestockType:i.livestockType||i.livestock_type||"",age:i.age||"",sex:i.sex||"",weight:i.weight||i.weightKg||i.weight_kg||"",preventionType:i.preventionType||i.prevention_type||"",method:i.method||"",medicine:i.medicine||"",dose:i.dose||"",operator:i.operator||"",operateTime:i.operateTime||i.operate_time||"",imagePaths:i.imagePaths||i.image_paths||""}:null}function Bi(i=[]){return Array.isArray(i)?i.map(Vo).filter(Boolean):[]}function Vo(i){var s,l,d,m;return i?{certId:i.certId||i.cert_id||i.id||"",certType:i.certType||i.cert_type||"",certScopeName:i.certScopeName||i.cert_scope_name||"",factoryCode:i.factoryCode||i.factory_code||"",ownerName:i.ownerName||i.owner_name||"",ownerPhone:i.ownerPhone||i.owner_phone||"",transportNumber:i.transportNumber||i.transport_number||"",amount:Number((m=(d=(l=(s=i.amount)!=null?s:i.headCount)!=null?l:i.head_count)!=null?d:i.value)!=null?m:0),unitName:i.unitName||i.unit_name||"头",animalTypeName:i.animalTypeName||i.animal_type_name||"",usageTypeName:i.usageTypeName||i.usage_type_name||"",startTown:i.startTown||i.start_town||"",startRegionFullName:i.startRegionFullName||i.start_region_full_name||"",destProvince:i.destProvince||i.dest_province||"",destRegionFullName:i.destRegionFullName||i.dest_region_full_name||"",quarantineOfficerName:i.quarantineOfficerName||i.quarantine_officer_name||"",issueTime:i.issueTime||i.issue_time||"",statusName:i.statusName||i.status_name||""}:null}function ea(i,s){for(const l of s){const d=Number(i==null?void 0:i[l]);if(Number.isFinite(d))return d}return 0}function ft(...i){return ea(wi.value,i)}function Ei(i=[],s=2){const l=[...new Set(i.map(d=>String(d||"").trim()).filter(Boolean))];return l.length?l.length<=s?l.join("、"):`${l.slice(0,s).join("、")}等${l.length}个乡镇`:"暂无"}function Do(){const i=Bt.value;if(i.length)return{name:Ei(i,1),desc:"年度防疫覆盖需补强",level:"watch"};const s=zt.value.filter(d=>Number(d.earTagCount||d.recordCount||0)>0).sort((d,m)=>Number(d.earTagCount||d.recordCount||0)-Number(m.earTagCount||m.recordCount||0)),l=s[0];return l?{name:l.name,desc:`${ie(l.earTagCount||l.recordCount)}头,建议补免回访`,level:s.length>=2?"watch":"normal"}:{name:"暂无",desc:"等待年度防疫记录形成",level:"normal"}}function zo(){const i=Bt.value;if(i.length)return i.slice(0,4).map((d,m)=>({key:`missing-${d}`,name:d,value:Math.max(25,100-m*12),label:"待补免",level:"watch"}));const s=zt.value.filter(d=>Number(d.earTagCount||d.recordCount||0)>0);if(!s.length)return[{key:"empty",name:"暂无",value:0,label:"待开展",level:"watch"}];const l=s.reduce((d,m)=>d+Number(m.earTagCount||0),0)/s.length||1;return[...s].sort((d,m)=>Number(d.earTagCount||0)-Number(m.earTagCount||0)).slice(0,4).map(d=>{const m=Number(d.earTagCount||d.recordCount||0),b=Math.max(8,Math.round((l-m)/l*100));return{key:`weak-${d.name}`,name:d.name,value:Math.min(100,b),label:`${ie(m)}头`,level:b>=35?"watch":"normal"}})}function Oo(){const s=(Cn.value.length?Cn.value:zt.value).map((m,b)=>{const w=Xe(m.name),k=Number(m.earTagCount||0),G=Number(m.recordCount||m.value||0),E=k||Math.round(G/At.value);return{key:m.key||`${w}-${b}`,name:w,value:E,recordCount:G,isMissing:!1}}).filter(m=>m.name&&Number.isFinite(m.value)),d=[...Bt.value.map((m,b)=>({key:`missing-${m}-${b}`,name:m,value:0,recordCount:0,isMissing:!0})),...s];return d.length?d.sort((m,b)=>m.isMissing!==b.isMissing?m.isMissing?-1:1:Number(m.value||0)-Number(b.value||0)).slice(0,7):[{key:"empty",name:"待开展",value:0,recordCount:0,isMissing:!0}]}function Wo(){var s;const i=yi.value.map((l,d)=>({key:l.key||`${l.town}-${l.village}-${d}`,name:l.village||l.name,town:l.town,value:Number(l.earTagCount||l.value||0)})).filter(l=>l.name&&Number.isFinite(l.value)&&l.value>0);return i.length?i.sort((l,d)=>d.value-l.value).slice(0,9):Pt((s=Ne.value)==null?void 0:s.villageCounts).map((l,d)=>({key:l.key||`${l.name}-${d}`,name:l.name,town:"",value:Math.round(Number(l.value||0)/At.value)})).filter(l=>l.name&&Number.isFinite(l.value)&&l.value>0).sort((l,d)=>d.value-l.value).slice(0,9)}function Yo(){if(!ht.value)return{level:"watch",title:"年度待开展",desc:"年度免疫记录暂未形成",advice:"建议先核查年度免疫计划与乡镇推进节奏。"};const i=Cs.value,s=Da.value;return Bt.value.length?{level:"watch",title:"补免待核查",desc:`乡镇覆盖${Ct(i)},${s.name}需补强`,advice:`优先核查${Ei(Bt.value,1)}免疫进度。`}:i>=90&&At.value>=4?{level:"stable",title:"运行平稳",desc:`乡镇覆盖${Ct(i)},疫苗谱较完整`,advice:"建议保持当前免疫节奏,持续跟踪补免回访。"}:{level:"normal",title:"均衡回访",desc:`${s.name}相对偏低,适合继续跟进`,advice:`关注${s.name}补免回访,保持覆盖均衡。`}}function jo(){return[{key:"latest",name:"最近免疫",value:gi.value,desc:"最后作业时间",level:gi.value==="-"?"watch":"stable",color:"#8bf7ff"},{key:"top-town",name:"高频乡镇",value:Ms.value,desc:"年度作业集中区",level:"normal",color:"#30dcff"},{key:"vaccine",name:"主用疫苗",value:Ts.value,desc:`${At.value}类疫苗`,level:"normal",color:"#8bf7ff"}]}function Ho(i=[]){if(!Array.isArray(i))return[];const s=["#63d7ff","#30dcff","#48cfff","#48cfff"];return i.map((l,d)=>{const m=l.level==="重点"?"high":l.level==="关注"?"watch":"normal";return{key:l.key||`risk-${d}`,name:l.name||"监管线索",value:l.detail||"暂无",desc:l.level==="重点"?"重点关注":l.level==="关注"?"持续关注":"运行平稳",level:m,badge:l.level||"平稳",color:s[d%s.length]}})}function zn(i={}){return String(i.imagePaths||"").split(";").map(s=>s.trim()).filter(Boolean)}function $i(i){const l=String(i||"").replace(/^images\//,"").split("/").map(encodeURIComponent).join("/");return`${Sh}/${l}`}function qo(i){et.value=$i(i),Ue.value=!0}function On(){Ue.value=!1,et.value=""}function J(i){return i==null||i===""?"-":i}function Uo(i){const s=String(i!=null?i:"").trim();return!!(s&&s!=="-")}function ke(i,s,l={}){return Uo(s)?F({label:i,value:s},l):null}function Et(i){return i?String(i).slice(0,10):"-"}function Vi(i){const s=String(i||"").trim();return s?s.length<7?s:`${s.slice(0,3)}****${s.slice(-4)}`:"-"}function Ko(i){const s=String(i||"").trim();return s?s.length<=4?s:`****${s.slice(-4)}`:"-"}function Zo(i){const s=String(i!=null?i:"").trim();if(!s)return"-";if(/kg|公斤|千克/i.test(s))return s;const l=Number(s);return Number.isFinite(l)?`${U(l)}kg`:s}function Xo(i){return String(i!=null?i:"").trim()||"-"}function Di(i={}){return i.certScopeName||i.certType||"-"}function Jo(){return oe(this,null,function*(){var d;ot.value=!0,_e.value="";const[i,s,l]=yield Promise.allSettled([tc(),uc(),cc()]);i.status==="fulfilled"?(pc(i.value),Me.value+=1):_e.value="牦牛管理基础数据接口异常",s.status==="fulfilled"&&((d=s.value)!=null&&d.length)&&(It.value=bc(s.value.map(m=>({name:cn(m.name),count:Number(m.value)})).filter(m=>m.name&&Number.isFinite(m.count)))),l.status==="fulfilled"?(wt.value=fl(l.value),wt.value.length||(_e.value="结构数据暂无数据")):(_e.value=gl(l.reason,"结构数据异常"),wt.value=[]),ot.value=!1})}function zi(){return oe(this,arguments,function*(i=ve.value){var s,l,d,m,b,w;Tt.value=!0,St.value="";try{(l=(s=pe.value)==null?void 0:s.years)!=null&&l.length||(pe.value=yield ac());const k=Ri((d=pe.value)==null?void 0:d.years),G=Number(((m=pe.value)==null?void 0:m.latestYear)||((b=pe.value)==null?void 0:b.latest_year)||k[k.length-1]),E=Number(i||ve.value||G||k[k.length-1]);ve.value=E;let A=yield Ur({year:E});const K=(w=A==null?void 0:A.hasData)!=null?w:A==null?void 0:A.has_data,re=Number((A==null?void 0:A.latestYear)||(A==null?void 0:A.latest_year)||G);K===!1&&re&&re!==E&&(ve.value=re,A=yield Ur({year:re})),Z.value=A||{metrics:{},hasData:!1},yield Wn(1)}catch(k){St.value="交易数据接口异常",Z.value={metrics:{},hasData:!1},tt.value=[],ct.value=0}finally{Tt.value=!1}})}function Wn(){return oe(this,arguments,function*(i=Mt.value){var l,d;if(!ve.value)return;const s={year:ve.value,page:i,pageSize:Xn,keyword:pn.value};try{const m=yield Kr(s);tt.value=Bi(m.rows),ct.value=Number(((l=m.page)==null?void 0:l.totalCount)||m.totalCount||tt.value.length||0),Mt.value=Number(((d=m.page)==null?void 0:d.page)||i||1)}catch(m){St.value=St.value||"交易台账接口异常",tt.value=[],ct.value=0}})}function Qo(i){const s=Number(i);!Number.isFinite(s)||s===Number(ve.value)||(ve.value=s,Mt.value=1,Ca.value="",pn.value="",zi(s))}function el(i){const s=An(i);s!==Number(me.value)&&(me.value=s,be.value=1,ut.value="",M.value="",ce.value=1,he.value=Ya(),Ki(s))}function Oi(){pn.value=Ca.value.trim(),Wn(1)}function Wi(i){const s=Math.min(Math.max(Number(i)||1,1),xn.value);Wn(s)}function Yi(i=null){fn.value=!0,i&&(Na.value=i),Ha(i?Mt.value:1,i)}function ji(){fn.value=!1}function Hi(){Ha(1)}function tl(){dt.value={keyword:"",startTown:"",usageType:"",certType:""},Ha(1)}function qi(i){const s=Math.min(Math.max(Number(i)||1,1),Rn.value);Ha(s)}function Ha(){return oe(this,arguments,function*(i=Dt.value,s=null){var m,b;if(!ve.value)return;mn.value=!0,gn.value="";const l=dt.value,d={year:ve.value,page:i,pageSize:Xr,keyword:l.keyword.trim(),startTown:l.startTown,usageType:l.usageType,certType:l.certType};try{const w=yield Kr(d);Vt.value=Bi(w.rows),Fa.value=Number(((m=w.page)==null?void 0:m.totalCount)||w.totalCount||Vt.value.length||0),Dt.value=Number(((b=w.page)==null?void 0:b.page)||i||1);const k=s?s.certId||s.factoryCode:"",G=k?Vt.value.find(E=>(E.certId||E.factoryCode)===k)||s:Vt.value[0]||null;Ui(G)}catch(w){gn.value="交易台账接口异常",Vt.value=[],Fa.value=0,Na.value=null}finally{mn.value=!1}})}function Ui(i){Na.value=i||null}function al(i){i!=null&&i.startTown&&(O.value="trade",Ut(()=>{var s,l,d,m,b,w;(l=(s=xe.value)==null?void 0:s.resume)==null||l.call(s),(m=(d=xe.value)==null?void 0:d.refreshView)==null||m.call(d),(w=(b=xe.value)==null?void 0:b.focusTown)==null||w.call(b,Xe(i.startTown),{distanceScale:.78,duration:.8})}))}function Ki(){return oe(this,arguments,function*(i=me.value){var k;const s=An(i),l=Bn(s);me.value=s,v.value=!0,R.value="";const[d,m,b,w]=yield Promise.allSettled([rc(l),Zn(F({page:be.value,pageSize:on,keyword:M.value},l)),sc({year:s}),oc({year:s})]);if(d.status==="fulfilled"?Ne.value=d.value||{metrics:{}}:(R.value="防疫统计接口异常",Ne.value={metrics:{}}),m.status==="fulfilled"){const G=m.value||{};ze.value=Dn(G.rows),qe.value=Number(((k=G.page)==null?void 0:k.totalCount)||G.totalCount||ze.value.length||0)}else R.value=R.value||"防疫台账接口异常",ze.value=[],qe.value=0;b.status==="fulfilled"?lt.value=_o(b.value):lt.value={rows:[],year:null},w.status==="fulfilled"?Lt.value=Go(Ne.value,w.value):Lt.value={rows:[]},v.value=!1})}function Zi(){return oe(this,arguments,function*(i=be.value){var d,m;v.value=!0,R.value="";const s=Math.min(Math.max(Number(i)||1,1),Fn.value),l=Bn(me.value);try{const b=yield Zn(F({page:s,pageSize:on,keyword:M.value},l));ze.value=Dn(b.rows),qe.value=Number(((d=b.page)==null?void 0:d.totalCount)||b.totalCount||ze.value.length||0),be.value=Number(((m=b.page)==null?void 0:m.page)||s||1)}catch(b){R.value="防疫台账接口异常",ze.value=[],qe.value=0,be.value=1}finally{v.value=!1}})}function Xi(){M.value=ut.value.trim(),he.value=$(F({},Ya()),{keyword:M.value}),Zi(1)}function Ji(i){Zi(i)}function Qi(i=null){D.value=!0,i&&(Ae.value=i,Be.value=null),qa(1,i)}function er(){D.value=!1,On()}function tr(){qa(1)}function nl(){he.value=Ya(),qa(1)}function ar(i){qa(i)}function qa(){return oe(this,arguments,function*(i=ce.value,s=null){var b,w;Ge.value=!0,Oe.value="";const l=he.value,d=Bn(me.value),m={keyword:l.keyword.trim(),town:l.town,medicine:l.medicine,startDate:l.startDate||d.startDate,endDate:l.endDate||d.endDate,page:i,pageSize:Zr};try{const k=yield Zn(m);H.value=Dn(k.rows),ee.value=Number(((b=k.page)==null?void 0:b.totalCount)||k.totalCount||H.value.length||0),ce.value=Number(((w=k.page)==null?void 0:w.page)||i||1);const G=s||H.value[0]||null;G?nr(G):(Ae.value=null,Be.value=null)}catch(k){Oe.value="台账接口异常",H.value=[],ee.value=0}finally{Ge.value=!1}})}function nr(i){return oe(this,null,function*(){if(Ae.value=i,Be.value=null,!(i!=null&&i.earTag)&&!(i!=null&&i.epidemicId))return;const s=++Aa;Ee.value=!0;try{const l=yield lc(i.earTag||i.epidemicId);s===Aa&&(Be.value=Ai(l)||i)}catch(l){s===Aa&&(Be.value=i)}finally{s===Aa&&(Ee.value=!1)}})}function ir(){var i;si||Ia||(si=!0,yn=new cu,Ia=!1,(i=yn.ready)==null||i.then(()=>{Ia=!0,Ye.value=!1,Ua()}).catch(s=>{console.warn("[yakManagement] map assets unavailable",s),Qt.value=!1,Ye.value=!0}))}function rr(i){(i==="structure"||i==="forecast")&&!oi&&(oi=!0,Jo()),i==="epidemic"&&!li&&(li=!0,Ki()),i==="trade"&&!ui&&(ui=!0,zi())}function Ua(){_a||!a.active||!Ia||_t||(Ye.value=!1,_t=!0,kt&&window.clearTimeout(kt),kt=window.setTimeout(()=>{kt=null,sr()},600))}function sr(i=0){return oe(this,null,function*(){var l,d;if(_a)return;if(!a.active){_t=!1;return}if(yield Ut(),!a.active){_t=!1;return}const s=xe.value;if((l=s==null?void 0:s.loadMap)==null||l.call(s,yn),s!=null&&s.canvasMap){_t=!1,Qt.value=!0,Ye.value=!1,(d=s.play)==null||d.call(s);return}if(i<24){window.setTimeout(()=>sr(i+1),120);return}_t=!1,Ye.value=!0})}function or(i={}){Ra.value={type:i.type||"idle",text:i.text||""}}function il(){pa.value=!0,Ye.value=!1}function lr(i={}){xa.value={type:i.type||"idle",text:i.text||"",loaded:i.loaded,failed:i.failed,total:i.total,zoom:i.zoom,tileUrlTemplate:i.tileUrlTemplate}}function rl(){if(O.value==="epidemic"){n("module-stats",{moduleKey:"yak-management",items:[{zh:"防疫记录",value:ht.value,unit:"条"},{zh:"防疫耳标",value:Pn.value,unit:"头"},{zh:"疫苗类型",value:At.value,unit:"类"},{zh:"涉及村数",value:Ss.value,unit:"个"}]});return}if(O.value==="forecast"){const i=Ke.value.stock-Nt;n("module-stats",{moduleKey:"yak-management",items:[{zh:"预测期末存栏",value:Ke.value.stock,unit:"头"},{zh:"新生牛犊",value:Ke.value.births,unit:"头"},{zh:"出栏流出",value:Ke.value.outflow,unit:"头"},{zh:"预测净变化",value:i,unit:"头"}]});return}if(O.value==="trade"){n("module-stats",{moduleKey:"yak-management",items:[{zh:"流通总量",value:ft("headCount"),unit:"头"},{zh:"出证记录",value:ft("recordCount"),unit:"条"},{zh:"运输车辆",value:ft("vehicleCount"),unit:"辆"}]});return}n("module-stats",{moduleKey:"yak-management",items:[{zh:"图像识别总数",value:rs,unit:"头"},{zh:"模型修正总数",value:ps.value,unit:"头"},{zh:"当前存栏数量",value:Nt,unit:"头"}]})}function Yn(i,s,l,d={}){const m=d.labelKey||"name",b=i.length>8,w=d.style==="ladder",k=b?w?7:6:i.length>6?11:13,G=d.axisTextColor||g,E=d.dimAxisTextColor||C;return{tooltip:$(F({},we()),{trigger:"axis",axisPointer:{type:"shadow"},formatter(A){if(d.tooltipFormatter)return d.tooltipFormatter(A[0]);const K=i[A[0].dataIndex];return`${K[m]}
    数值:${U(K[s])}${l}`}}),grid:{left:b?58:74,right:b?54:58,top:b?6:16,bottom:b?8:14},xAxis:{type:"value",axisLabel:{color:E,fontSize:10,formatter:l==="%"?"{value}%":ie},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:N,type:"dashed"}}},yAxis:{type:"category",inverse:!0,data:i.map(A=>A[m]),axisLabel:{color:G,fontSize:b?10:11,fontWeight:700,interval:0},axisLine:{show:!1},axisTick:{show:!1}},series:[{type:"bar",barWidth:k,barGap:"-100%",data:i.map(A=>({value:A[s],itemStyle:{borderRadius:[1,2,2,1],color:sl(sn),shadowBlur:2,shadowColor:"rgba(48, 220, 255, 0.12)"}})),showBackground:!0,backgroundStyle:{color:w?"rgba(48, 220, 255, 0.05)":"rgba(48, 220, 255, 0.07)",borderRadius:[1,2,2,1]},label:{show:!0,position:"right",color:L,fontFamily:qn.number,fontSize:b?10:kr.chartLabel,fontWeight:700,formatter:({value:A})=>`${l==="%"?Ct(A):ie(A)}`}}]}}function sl(i){return new Ve(0,0,1,0,[{offset:0,color:"rgba(67, 217, 232, 0.14)"},{offset:.58,color:"rgba(67, 217, 232, 0.7)"},{offset:1,color:i}])}function ur(i,s,l,d=0,m=!1){return{name:i,type:"line",yAxisIndex:d,smooth:!0,symbolSize:5,data:s,lineStyle:{width:2.5,color:l},itemStyle:{color:l},areaStyle:m?{color:new Ve(0,0,0,1,[{offset:0,color:`${l}44`},{offset:1,color:`${l}05`}])}:void 0}}function ol(i){return bn.find(s=>s.key===i)||bn[2]}function ll(i,s="month"){var d;if(s==="month")return yc(i);const l=((d=i==null?void 0:i.series)==null?void 0:d[s])||{};return{labels:Array.isArray(l.labels)?l.labels:[],stock:Array.isArray(l.stock)?l.stock.map(Number):[],births:Array.isArray(l.births)?l.births.map(Number):[],outflow:Array.isArray(l.outflow)?l.outflow.map(Number):[]}}function ul(i,s){return s==="day"?Math.max(10,Math.ceil(i/6)):s==="week"?Math.max(2,Math.ceil(i/7)):i>24?4:i>14?2:1}function cl(i,s){return s==="day"?i>700?2:i>360?3:4:s==="week"?i>110?4:6:i>24?7:10}function dl(i){return(i.labels||[]).map((s,l)=>{var A,K,re,se,fe,$e;const d=Number(((A=i.stock)==null?void 0:A[Math.max(l-1,0)])||0),m=Number(((K=i.stock)==null?void 0:K[l])||d),b=Math.max(0,Number(((re=i.births)==null?void 0:re[l])||0)-Number(((se=i.births)==null?void 0:se[Math.max(l-1,0)])||0)),w=Math.max(0,Number(((fe=i.outflow)==null?void 0:fe[l])||0)-Number((($e=i.outflow)==null?void 0:$e[Math.max(l-1,0)])||0)),k=Math.max(120,Math.round((b+w)*.18)),G=Math.max(d,m)+Math.max(k,Math.round(b*.32)),E=Math.max(0,Math.min(d,m)-Math.max(k,Math.round(w*.32)));return{label:s,open:d,close:m,low:E,high:G,birth:b,outflow:w,value:[d,m,E,G]}})}function hl(i,s){const l=new Map;return i.forEach(d=>{const m=pl(d.name);if(!m)return;const b=l.get(m)||{name:m,value:0};b.value+=Number(d[s]||0),l.set(m,b)}),[...l.values()].sort((d,m)=>m.value-d.value)}function pl(i){return{色地镇:"色地镇",瓦切镇:"瓦切镇",安曲镇:"安曲镇",龙日镇:"龙日镇",邛溪镇:"邛溪镇",刷经寺镇:"刷经寺镇",阿木乡:"阿木乡",查尔玛乡:"查尔玛乡",江茸乡:"江茸乡",麦洼乡:"麦洼乡"}[i]||""}function we(i){return{trigger:"item",backgroundColor:"rgba(5, 31, 51, 0.96)",borderColor:"rgba(0, 210, 255, 0.54)",borderWidth:1,padding:[7,10],textStyle:{color:g,fontFamily:qn.ui,fontSize:kr.tooltip,lineHeight:18},extraCssText:"box-shadow:0 0 10px rgba(0,210,255,.12);",formatter:i}}function jn(i){return bt.some(s=>s.key===i)?i:"structure"}function fl(i=[]){return i.map((s,l)=>{var b,w,k,G;const d=String(s.name||s.label||s.type||`结构${l+1}`).trim(),m=cr((w=(b=s.value)!=null?b:s.count)!=null?w:s.number);return{key:s.key||s.id||`${d}-${l}`,name:d,count:m,ratio:Number((G=(k=s.ratio)!=null?k:s.percent)!=null?G:0),source:s.source||"结构统计"}}).filter(s=>s.name&&s.count>0)}function ml(i=[],s=[]){const l=i.some(m=>fr(m))?i:s;return pr(l,s).map((m,b)=>{var G,E;const w=String(m.name||m.label||`结构${b+1}`).trim(),k=cr((E=(G=m.count)!=null?G:m.value)!=null?E:m.number);return $(F({},m),{key:m.key||`${w}-${b}`,name:w,count:k})}).filter(m=>m.name&&m.count>0)}function cr(i){const s=Number(String(i!=null?i:"").replace(/,/g,"").replace(/%/g,""));return Number.isFinite(s)&&s>0?Math.round(s):0}function gl(i,s){const l=String((i==null?void 0:i.message)||i||"");return/未登录|401|HTTP_401/.test(l)?"结构数据未就绪":/超时|timeout/i.test(l)?"结构数据加载超时":s}function U(i){const s=Number(i);return Number.isFinite(s)?s.toLocaleString("zh-CN",{maximumFractionDigits:Number.isInteger(s)?0:2}):"--"}function ie(i){const s=Number(i);return Number.isFinite(s)?Math.abs(s)>=1e4?`${(s/1e4).toFixed(Math.abs(s)>=1e5?0:1)}万`:Math.round(s).toLocaleString("zh-CN"):"--"}function Ka(i,s=2){const l=Number(i);return Number.isFinite(l)?`${(l/1e4).toFixed(s)}万`:"--"}function Ct(i){const s=Number(i);return Number.isFinite(s)?`${Number.isInteger(s)?s:s.toFixed(1)}%`:"--"}function Wt(i,s,l,d){const m=d*Math.PI/180;return{x:Number((i+l*Math.cos(m)).toFixed(2)),y:Number((s+l*Math.sin(m)).toFixed(2))}}function yl(i,s,l,d,m,b){const w=Wt(i,s,d,m),k=Wt(i,s,d,b),G=Wt(i,s,l,b),E=Wt(i,s,l,m),A=b-m>180?1:0;return[`M ${w.x} ${w.y}`,`A ${d} ${d} 0 ${A} 1 ${k.x} ${k.y}`,`L ${G.x} ${G.y}`,`A ${l} ${l} 0 ${A} 0 ${E.x} ${E.y}`,"Z"].join(" ")}function dr(i=[]){return i.reduce((s,l)=>{const d=ua.find(m=>m.key===l);return s+Number((d==null?void 0:d.ratio)||0)},0)}function hr(){return[{key:"fertileCow",name:"适龄能繁母牛",color:"#3ed9e7",matcher:(i,s)=>i==="fertileCow"||s.includes("适龄能繁母牛")},{key:"meatBull",name:"麦洼公牦牛",color:"#5b8ff9",matcher:(i,s)=>i==="meatBull"||s.includes("肉公牛")||s.includes("麦洼公牦牛")},{key:"breedingBull",name:"种公牛",color:"#f6bd16",matcher:(i,s)=>i==="breedingBull"||s.includes("种公牛")},{key:"femaleCalf",name:"母犊牛",color:"#5ad8a6",matcher:(i,s)=>i==="femaleCalf"||s.includes("母犊牛")},{key:"maleCalf",name:"公犊牛",color:"#9270ca",matcher:(i,s)=>i==="maleCalf"||s.includes("公犊牛")},{key:"overageCow",name:"过龄能繁母牛",color:"#e8684a",matcher:(i,s)=>i==="overageCow"||s.includes("过龄能繁母牛")}]}function bl(i=[]){const s=i.reduce((d,m)=>d+Number(m.count||0),0)||1;return[{key:"female",group:"性别",name:"母牛合计",color:"#8bf7ff",matcher:(d,m)=>["fertileCow","femaleCalf","overageCow"].includes(d)||m.includes("母")},{key:"male",group:"性别",name:"公牛合计",color:"#30dcff",matcher:(d,m)=>["meatBull","breedingBull","maleCalf"].includes(d)||m.includes("公")||m.includes("肉牛")},{key:"calf",group:"阶段",name:"犊牛合计",color:"#8bf7ff",matcher:(d,m)=>["femaleCalf","maleCalf"].includes(d)||m.includes("犊牛")},{key:"breeding-cow",group:"阶段",name:"能繁母牛",color:"#48cfff",matcher:(d,m)=>["fertileCow","overageCow"].includes(d)||m.includes("能繁母牛")}].map(d=>{const m=i.filter(b=>d.matcher(String(b.key||""),String(b.name||""))).reduce((b,w)=>b+Number(w.count||0),0);return{key:d.key,group:d.group,name:d.name,color:d.color,count:m,percent:m/s*100}})}function pr(i=[],s=[]){const d=i.some(w=>fr(w))?i:s,m=d.reduce((w,k)=>w+Number(k.count||0),0)||Nt||1;return hr().map(w=>{const k=d.filter(A=>w.matcher(String(A.key||""),String(A.name||""))),G=k.reduce((A,K)=>A+Number(K.count||0),0),E=k.length===1?Number(k[0].ratio):Number.NaN;return{key:w.key,name:w.name,color:w.color,count:G,percent:Number.isFinite(E)&&E>0?E:G/m*100}}).filter(w=>w.count>0||w.percent>0)}function fr(i={}){const s=String(i.key||""),l=String(i.name||"");return hr().some(d=>d.matcher(s,l))}function vl(i=[],s=[]){const d=i.some(w=>wl(w))?i:s,m=d.reduce((w,k)=>w+Number(k.count||0),0)||1,b=(w,k,G,E,A)=>{const K=d.filter(fe=>E(String(fe.key||""),String(fe.name||""))),re=K.reduce((fe,$e)=>fe+Number($e.count||0),0),se=K.length===1?Number(K[0].ratio):Number.NaN;return{key:w,name:k,color:G,count:re,percent:Number.isFinite(se)&&se>0?se:re/m*100,desc:A}};return[b("fertile-cow","适龄能繁母牛","#30dcff",(w,k)=>w==="fertileCow"||k.includes("适龄能繁母牛"),"繁殖基础"),b("calf","犊牛合计","#8bf7ff",(w,k)=>["femaleCalf","maleCalf"].includes(w)||k.includes("犊牛"),"新生补充"),b("overage-cow","过龄能繁母牛","#30dcff",(w,k)=>w==="overageCow"||k.includes("过龄能繁母牛"),"更新压力"),b("breeding-bull","种公牛配比","#48cfff",(w,k)=>w==="breedingBull"||k.includes("种公牛"),"配种支撑")]}function wl(i={}){const s=String(i.key||""),l=String(i.name||"");return["fertileCow","femaleCalf","maleCalf","overageCow","breedingBull"].includes(s)||l.includes("适龄能繁母牛")||l.includes("犊牛")||l.includes("过龄能繁母牛")||l.includes("种公牛")}function Ll(i=[]){const s=w=>{var k;return Number(((k=i.find(G=>G.key===w))==null?void 0:k.percent)||0)},l=s("fertile-cow"),d=s("calf"),m=s("overage-cow"),b=s("breeding-bull");return l>=40&&d>=25&&b>=2&&b<=5&&m<=10?{label:"结构健康",title:"繁殖基础稳定",summary:"适龄母牛足,犊牛补充稳",note:"保持适龄能繁母牛、犊牛补充与种公牛配置稳定。"}:d<25?{label:"结构健康",title:"犊牛补充需关注",summary:"繁殖基础稳定,补充端可优化",note:"关注犊牛成活和季节性补栏,保持生产连续性。"}:b<2?{label:"结构健康",title:"繁殖基础总体稳定",summary:"适龄母牛基础较稳",note:"结合实际配种需求,平稳优化公牛配置。"}:{label:"结构健康",title:"生产阶段较均衡",summary:"繁殖群和犊牛补充连续支撑",note:"延续结构管理,优先保障适龄母牛与犊牛质量。"}}function Tl(i){const s=Number((i==null?void 0:i.count)||0);return Math.max(8,Math.min(100,s/ys.value*100))}function Sl(i={}){const s=Nt,l=[{key:"births",name:"新生牛犊",delta:Number(i.births||0),color:"#30dcff"},{key:"outflow",name:"出栏流出",delta:-Number(i.outflow||0),color:"#48cfff"},{key:"correction",name:"修正损耗",delta:Number(i.correction||0),color:"#8bf7ff"}];let d=s;const m=[{key:"current",name:"当前存栏",type:"anchor",value:s,magnitude:s,from:s,to:s,color:"#30dcff",display:`${Ka(s,2)}头`}];l.forEach(k=>{const G=d,E=d+k.delta;d=E,m.push($(F({},k),{name:`${k.delta>=0?"+":"-"}${k.name}`,type:"delta",from:G,to:E,value:k.delta,magnitude:Math.abs(k.delta),display:`${Ml(k.delta)}头`}))});const b=Number(i.stock||d);m.push({key:"final",name:"=期末预测",type:"final",value:b,magnitude:b,from:b,to:b,color:"#48cfff",display:`${Ka(b,2)}头`});const w=Math.max(...m.map(k=>Number(k.magnitude)||0),1);return m.map(k=>{const G=(Number(k.magnitude)||0)/w*100;return $(F({},k),{left:0,width:Math.max(k.type==="delta"?5:10,Math.min(100,G))})})}function Za(i){const s=Number(i);return Number.isFinite(s)?`${s>=0?"+":"-"}${U(Math.abs(s))}`:"--"}function Ml(i){const s=Number(i);return Number.isFinite(s)?`${s>=0?"+":"-"}${Ka(Math.abs(s))}`:"--"}return(i,s)=>(x(),_("div",vc,[Je((x(),Xa(Ku,{key:hs.value,ref_key:"mapSceneRef",ref:xe,class:"yak-map-scene","active-layer":eo.value,"map-ranking":to.value,"tile-url-template":ci.value,"use-satellite-base":vn.value,"satellite-max-zoom":21,"admin-boundary-line-scale":1.35,onLayerStatus:or,onTileStatus:lr},null,8,["active-layer","map-ranking","tile-url-template","use-satellite-base"])),[[Il,!Ze.value]]),Ze.value?(x(),Xa(ru,{key:ri.value,ref_key:"yakOlMapRef",ref:ha,class:"yak-ol-map-layer",active:a.active&&Ze.value,"tile-url-template":ci.value,center:Qs.value,"initial-zoom":kh,"minimum-zoom-distance":1,"county-view-target-offset":W(ae),"admin-boundary-line-scale":1.65,"auto-apply-layer-map-view":!1,"max-zoom":21,"map-ranking":Pi.value,"overlay-layer":ki.value,onReady:il,onLayerStatus:or,onTileStatus:lr},null,8,["active","tile-url-template","center","county-view-target-offset","map-ranking","overlay-layer"])):Le("",!0),f("div",{class:De(["yak-map-scrim",{"is-ol-map":Ze.value}])},null,2),ao.value?(x(),_("div",{key:1,class:De(["yak-map-loading",{"is-timeout":Ye.value}]),role:"status","aria-live":"polite"},[f("strong",null,P(Ye.value?"地图暂未加载完成":no.value),1),Ye.value?(x(),_(Q,{key:1},[s[24]||(s[24]=f("span",null,"其余业务数据仍可查看,您可以重新加载地图。",-1)),f("button",{type:"button",onClick:Po},"重新加载地图")],64)):(x(),_("span",wc,"正在准备地图资源,请稍候"))],2)):Le("",!0),f("div",Lc,[O.value==="trade"&&Li.value.length?(x(),_("div",Tc,[s[25]||(s[25]=f("span",null,"交易年份",-1)),(x(!0),_(Q,null,de(Li.value,l=>(x(),_("button",{key:l,type:"button",class:De({active:Number(l)===Number(ve.value)}),onClick:d=>Qo(l)},P(l),11,Sc))),128))])):Le("",!0),O.value==="epidemic"&&Fe.length?(x(),_("div",Mc,[s[26]||(s[26]=f("span",null,"防疫年份",-1)),(x(),_(Q,null,de(Fe,l=>f("button",{key:l,type:"button",class:De({active:Number(l)===Number(me.value)}),onClick:d=>el(l)},P(l),11,kc)),64))])):Le("",!0),O.value==="forecast"?(x(),_("div",Pc,[s[27]||(s[27]=f("span",null,"预测年份",-1)),(x(!0),_(Q,null,de(W(xt),l=>(x(),_("button",{key:l.key,type:"button",class:De({active:l.key===vt.value}),onClick:d=>Co(l.key)},P(l.shortLabel),11,Cc))),128))])):Le("",!0),f("div",Fc,[f("div",Nc,[O.value==="structure"?(x(),_(Q,{key:0},[Y(le,{class:"yak-side-card left-card",title:"繁殖基础评估",width:W(r),height:u.value},{default:ne(()=>[f("div",xc,[f("div",Rc,[f("strong",null,P(pi.value.title)+","+P(pi.value.summary),1)]),f("div",Ic,[(x(!0),_(Q,null,de(hi.value,l=>(x(),_("div",{key:l.key,class:"breeding-health-item",style:Ft({"--health-color":l.color,"--health-width":`${Math.max(5,Math.min(100,l.percent))}%`})},[f("span",null,P(l.name),1),f("strong",null,P(Ct(l.percent)),1),s[28]||(s[28]=f("i",null,[f("b")],-1)),f("em",null,P(l.desc),1)],4))),128))])])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"畜群结构占比",width:W(r),height:u.value},{default:ne(()=>[f("div",_c,[f("div",Gc,[f("div",Ac,[(x(),_("svg",Bc,[f("g",Ec,[(x(!0),_(Q,null,de(bs.value,l=>(x(),_("path",{key:l.key,class:De(["structure-rose-segment",{"is-active":l.index===Ln.value}]),d:l.path,fill:l.color,stroke:l.color},null,10,$c))),128))]),s[29]||(s[29]=f("circle",{class:"structure-rose-glow",cx:"75",cy:"75",r:"24"},null,-1)),s[30]||(s[30]=f("circle",{class:"structure-rose-hole",cx:"75",cy:"75",r:"16"},null,-1)),s[31]||(s[31]=f("text",{class:"structure-rose-center",x:"75",y:"72","text-anchor":"middle"},"结构",-1)),s[32]||(s[32]=f("text",{class:"structure-rose-center is-sub",x:"75",y:"83","text-anchor":"middle"},"占比",-1))]))]),f("div",Vc,[(x(!0),_(Q,null,de(Ea.value,(l,d)=>(x(),_("div",{key:l.key||l.name,class:De(["structure-ratio-row",{"is-active":d===Ln.value}]),style:Ft({"--row-color":l.color,"--row-percent":`${Math.max(4,l.percent)}%`})},[f("i",{style:Ft({background:l.color,color:l.color})},null,4),f("span",null,[jt(P(l.name),1),f("small",null,P(Ct(l.percent)),1)]),f("strong",null,P(ie(l.count)),1),s[33]||(s[33]=f("em",null,"头",-1))],6))),128))])]),ot.value?(x(),_("div",Dc,"结构数据加载中")):_e.value?(x(),_("div",zc,P(_e.value),1)):Le("",!0)])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"母牛/公牛年龄结构",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:io.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"牦牛乡镇分布",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:ro.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):O.value==="forecast"?(x(),_(Q,{key:1},[Y(le,{class:"yak-side-card left-card",title:"存栏变化拆解",width:W(r),height:u.value},{default:ne(()=>[f("div",Oc,[f("div",Wc,[f("span",null,P(Ke.value.label)+"变化路径",1),f("strong",{class:De({positive:wn.value>0,negative:wn.value<0})},[jt(" 净变化 "+P(Za(wn.value)),1),s[34]||(s[34]=f("em",null,"头",-1))],2)]),f("div",Yc,[(x(!0),_(Q,null,de(fs.value,l=>(x(),_("div",{key:l.key,class:De(["forecast-waterfall-row",[`is-${l.type}`,{positive:l.delta>0,negative:l.delta<0}]]),style:Ft({"--waterfall-left":`${l.left}%`,"--waterfall-width":`${l.width}%`,"--waterfall-color":l.color})},[f("span",null,P(l.name),1),s[35]||(s[35]=f("i",null,[f("b")],-1)),f("strong",null,P(l.display),1)],6))),128))])])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"未来存栏趋势",width:W(r),height:u.value},{default:ne(()=>[f("div",jc,[f("div",Hc,[(x(),_(Q,null,de(bn,l=>f("button",{key:l.key,type:"button",class:De({active:l.key===Rt.value}),onClick:d=>Rt.value=l.key},P(l.label),11,qc)),64))]),Y(W(Pe),{class:"yak-chart forecast-kline-chart",option:uo.value,autoresize:!0},null,8,["option"])])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"月度数量预测",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:co.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"预测因子雷达",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:ho.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):O.value==="epidemic"?(x(),_(Q,{key:2},[Y(le,{class:"yak-side-card left-card",title:"防疫统计",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:wo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"养殖户防疫排行",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:Lo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"防疫作业趋势",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:vo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"疫苗类型分布",width:W(r),height:u.value},{default:ne(()=>[Va.value.length?(x(),_("div",Uc,[f("div",Kc,[(x(),Xa(Kl,{key:ws.value,data:Va.value,delay:3e3,colors:Ce,opacity:.62,class:"epidemic-three-pie"},{default:ne(({data:l})=>[f("div",Zc,[f("strong",null,P(ie((l==null?void 0:l.count)||ht.value)),1),f("span",null,P((l==null?void 0:l.name)||"疫苗类型"),1)])]),_:1},8,["data"]))]),f("div",Xc,[(x(!0),_(Q,null,de(Va.value,(l,d)=>(x(),_("div",{key:l.key||l.name,class:"epidemic-three-pie-row"},[f("i",{style:Ft({borderColor:Ce[d%Ce.length]})},null,4),f("span",null,P(l.name),1),f("strong",null,P(ie(l.value)),1),f("em",null,P(l.unit),1)]))),128))])])):(x(),_("div",Jc,"暂无疫苗类型数据"))]),_:1},8,["width","height"])],64)):O.value==="trade"?(x(),_(Q,{key:3},[Y(le,{class:"yak-side-card left-card",title:"交易异常关注",width:W(r),height:u.value},{default:ne(()=>[f("div",Qc,[f("div",ed,[f("span",null,P(ve.value)+"年流通监管线索",1),f("strong",null,P(Os.value),1)]),f("div",td,[(x(!0),_(Q,null,de(Mi.value,l=>(x(),_("div",{key:l.key,class:De(["trade-risk-row",`is-${l.level}`]),style:Ft({"--risk-color":l.color})},[s[36]||(s[36]=f("i",null,null,-1)),f("span",null,[f("em",null,[f("b",null,P(l.badge),1),jt(P(l.name),1)]),f("small",null,P(l.value)+"|"+P(l.desc),1)])],6))),128))])])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"交易流通趋势",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:To.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"来源乡镇分布",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:So.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card left-card",title:"用途结构统计",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:Mo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"])],64)):Le("",!0)])]),f("div",ad,[f("div",nd,[O.value==="structure"?(x(),_(Q,{key:0},[Y(le,{class:"yak-side-card right-card",title:"乡镇存栏排行",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:so.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"能繁母牛与犊牛分布",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:oo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"出栏/交易影响",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:lo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"性别与生产阶段汇总",width:W(r),height:u.value},{default:ne(()=>[f("div",id,[f("div",rd,[(x(!0),_(Q,null,de(di.value,l=>(x(),_("div",{key:l.key||l.name,class:"structure-summary-row",style:Ft({"--structure-color":l.color,"--structure-width":`${Tl(l)}%`})},[f("span",null,[s[37]||(s[37]=f("i",null,null,-1)),jt(P(l.name),1)]),s[39]||(s[39]=f("b",null,[f("em")],-1)),f("strong",null,[jt(P(ie(l.count)),1),s[38]||(s[38]=f("em",null,"头",-1))]),f("small",null,P(Ct(l.percent)),1)],4))),128))]),ot.value?(x(),_("div",sd,"结构数据加载中")):_e.value?(x(),_("div",od,P(_e.value),1)):Le("",!0)])]),_:1},8,["width","height"])],64)):O.value==="forecast"?(x(),_(Q,{key:1},[Y(le,{class:"yak-side-card right-card",title:"乡镇预测排行",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:po.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"期末结构预测",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:fo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"补充/流出对比",width:W(r),height:u.value},{default:ne(()=>[Y(W(Pe),{class:"yak-chart",option:mo.value,autoresize:!0},null,8,["option"])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card",title:"预测变化热力",width:W(r),height:u.value},{default:ne(()=>[f("div",ld,[(x(!0),_(Q,null,de(go.value,l=>(x(),_("div",{key:l.name,class:De(["heat-row",{"is-negative":l.change<0}]),style:Ft(yo(l)),title:bo(l)},[f("span",null,P(l.name),1),s[40]||(s[40]=f("b",null,[f("i")],-1)),f("strong",null,P(Za(l.change)),1)],14,ud))),128))])]),_:1},8,["width","height"])],64)):O.value==="epidemic"?(x(),Xa(le,{key:2,class:"yak-side-card right-card epidemic-ledger-card",title:"防疫记录台账",width:W(r),height:c.value},{default:ne(()=>[f("div",cd,[f("div",dd,[f("span",null,P(me.value)+"年 共 "+P(U(qe.value))+" 条",1),f("div",null,[Je(f("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>ut.value=l),type:"search",placeholder:"耳标/养殖户/疫苗",onKeyup:Ja(Xi,["enter"])},null,544),[[ta,ut.value]]),f("button",{type:"button",onClick:Xi},"搜索"),f("button",{type:"button",class:"is-more",onClick:s[1]||(s[1]=l=>Qi())},"查看更多")])]),s[41]||(s[41]=f("div",{class:"epidemic-record-header"},[f("span",null,"电子耳标"),f("span",null,"养殖户"),f("span",null,"镇/乡"),f("span",null,"疫苗"),f("span",null,"时间")],-1)),f("div",hd,[(x(!0),_(Q,null,de(Is.value,l=>(x(),_("button",{key:l.epidemicId||l.earTag,type:"button",onClick:d=>Qi(l)},[f("span",null,P(J(l.earTag)),1),f("span",null,P(J(l.owner)),1),f("span",null,P(J(l.town)),1),f("strong",null,P(J(l.medicine)),1),f("span",null,P(Et(l.operateTime)),1)],8,pd))),128)),ze.value.length?Le("",!0):(x(),_("div",fd,P(v.value?"防疫台账读取中":R.value||"暂无防疫记录"),1))]),f("div",md,[f("span",null,"第 "+P(be.value)+" / "+P(Fn.value)+" 页",1),f("button",{type:"button",disabled:be.value<=1,onClick:s[2]||(s[2]=l=>Ji(be.value-1))},"上一页",8,gd),f("button",{type:"button",disabled:be.value>=Fn.value,onClick:s[3]||(s[3]=l=>Ji(be.value+1))},"下一页",8,yd)])])]),_:1},8,["width","height"])):O.value==="trade"?(x(),_(Q,{key:3},[Y(le,{class:"yak-side-card right-card",title:"出证结构统计",width:W(r),height:u.value},{default:ne(()=>[f("div",bd,[f("div",vd,[f("span",null,[s[43]||(s[43]=f("em",null,"省外流通 A证",-1)),f("strong",null,[jt(P(U(ft("outProvinceHeads","aCertHeads"))),1),s[42]||(s[42]=f("b",null,"头",-1))]),f("small",null,P(U(ft("outProvinceCount","aCertCount")))+"条记录",1)]),f("span",null,[s[45]||(s[45]=f("em",null,"省内流通 B证",-1)),f("strong",null,[jt(P(U(ft("inProvinceHeads","bCertHeads"))),1),s[44]||(s[44]=f("b",null,"头",-1))]),f("small",null,P(U(ft("inProvinceCount","bCertCount")))+"条记录",1)])]),Y(W(Pe),{class:"trade-cert-chart",option:ko.value,autoresize:!0},null,8,["option"])])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card trade-source-card",title:"出栏来源排行",width:W(r),height:p.value},{default:ne(()=>[f("div",wd,[(x(!0),_(Q,null,de(Nn.value,(l,d)=>(x(),_("div",{key:l.name,class:"trade-dest-row",style:Ft({"--trade-ratio":`${l.ratio}%`})},[f("span",null,P(d+1),1),f("strong",null,P(l.name),1),f("em",null,P(ie(l.headCount))+"头",1)],4))),128)),Nn.value.length?Le("",!0):(x(),_("div",Ld,P(Tt.value?"交易数据读取中":St.value||"暂无出栏来源数据"),1))])]),_:1},8,["width","height"]),Y(le,{class:"yak-side-card right-card trade-ledger-card",title:"交易出证台账",width:W(r),height:y.value},{default:ne(()=>[f("div",Td,[f("div",Sd,[f("span",null,"共 "+P(U(ct.value))+" 条",1),f("div",null,[Je(f("input",{"onUpdate:modelValue":s[4]||(s[4]=l=>Ca.value=l),type:"search",placeholder:"货主/车辆/检疫号/地区",onKeyup:Ja(Oi,["enter"])},null,544),[[ta,Ca.value]]),f("button",{type:"button",onClick:Oi},"搜索"),f("button",{type:"button",class:"is-more",onClick:s[5]||(s[5]=l=>Yi())},"查看更多")])]),s[46]||(s[46]=f("div",{class:"trade-ledger-header"},[f("span",null,"货主"),f("span",null,"车牌"),f("span",null,"数量"),f("span",null,"来源"),f("span",null,"用途"),f("span",null,"时间")],-1)),f("div",Md,[(x(!0),_(Q,null,de(Si.value,l=>(x(),_("button",{key:l.certId,type:"button",onClick:d=>Yi(l)},[f("span",null,P(J(l.ownerName)),1),f("span",null,P(J(l.transportNumber)),1),f("strong",null,P(U(l.amount))+"头",1),f("span",null,P(J(l.startTown)),1),f("span",null,P(J(l.usageTypeName)),1),f("span",null,P(Et(l.issueTime)),1)],8,kd))),128)),Si.value.length?Le("",!0):(x(),_("div",Pd,P(Tt.value?"交易台账读取中":St.value||"暂无交易记录"),1))]),f("div",Cd,[f("span",null,"第 "+P(Mt.value)+" / "+P(xn.value)+" 页",1),f("button",{type:"button",disabled:Mt.value<=1,onClick:s[6]||(s[6]=l=>Wi(Mt.value-1))},"上一页",8,Fd),f("button",{type:"button",disabled:Mt.value>=xn.value,onClick:s[7]||(s[7]=l=>Wi(Mt.value+1))},"下一页",8,Nd)])])]),_:1},8,["width","height"])],64)):Le("",!0)])]),f("div",xd,[Y(lu,{"model-value":O.value,topics:bt,"onUpdate:modelValue":s[8]||(s[8]=l=>O.value=l)},null,8,["model-value"])]),Ze.value?(x(),_("div",Rd,[Y(uu,{modelValue:We.value,"onUpdate:modelValue":s[9]||(s[9]=l=>We.value=l),"topic-key":"yak-management",layers:qs.value,legends:Ks.value,multiple:"",compact:"",width:248,height:Zs.value},null,8,["modelValue","layers","legends","height"])])):Le("",!0)]),D.value?(x(),_("div",{key:2,class:"epidemic-ledger-modal",onClick:Qa(er,["self"])},[f("div",Id,[f("div",_d,[f("div",null,[s[47]||(s[47]=f("span",null,"牦牛防疫台账",-1)),f("strong",null,P(me.value)+"年 "+P(U(ee.value))+" 条记录",1)]),f("button",{type:"button",onClick:er},"关闭")]),f("div",Gd,[Je(f("input",{"onUpdate:modelValue":s[10]||(s[10]=l=>he.value.keyword=l),type:"search",placeholder:"耳标 / 养殖户 / 药品","aria-label":"耳标 / 养殖户 / 药品",onKeyup:Ja(tr,["enter"])},null,544),[[ta,he.value.keyword]]),Je(f("select",{"onUpdate:modelValue":s[11]||(s[11]=l=>he.value.town=l)},[s[48]||(s[48]=f("option",{value:""},"全部镇/乡",-1)),(x(!0),_(Q,null,de(Gs.value,l=>(x(),_("option",{key:l,value:l},P(l),9,Ad))),128))],512),[[wa,he.value.town]]),Je(f("select",{"onUpdate:modelValue":s[12]||(s[12]=l=>he.value.medicine=l)},[s[49]||(s[49]=f("option",{value:""},"全部疫苗",-1)),(x(!0),_(Q,null,de(As.value,l=>(x(),_("option",{key:l,value:l},P(l),9,Bd))),128))],512),[[wa,he.value.medicine]]),Je(f("input",{"onUpdate:modelValue":s[13]||(s[13]=l=>he.value.startDate=l),type:"date"},null,512),[[ta,he.value.startDate]]),Je(f("input",{"onUpdate:modelValue":s[14]||(s[14]=l=>he.value.endDate=l),type:"date"},null,512),[[ta,he.value.endDate]]),f("button",{type:"button",onClick:tr},"检索"),f("button",{type:"button",class:"is-ghost",onClick:nl},"重置")]),f("div",Ed,[f("div",$d,[s[50]||(s[50]=f("div",{class:"epidemic-ledger-table-head"},[f("span",null,"电子耳标"),f("span",null,"养殖户"),f("span",null,"镇/乡"),f("span",null,"村"),f("span",null,"疫苗"),f("span",null,"免疫时间"),f("span",null,"图片")],-1)),(x(!0),_(Q,null,de(H.value,l=>{var d,m;return x(),_("button",{key:l.epidemicId||l.earTag,type:"button",class:De({active:(((d=Ae.value)==null?void 0:d.epidemicId)||((m=Ae.value)==null?void 0:m.earTag))===(l.epidemicId||l.earTag)}),onClick:b=>nr(l)},[f("span",null,P(J(l.earTag)),1),f("span",null,P(J(l.owner)),1),f("span",null,P(J(l.town)),1),f("span",null,P(J(l.village)),1),f("strong",null,P(J(l.medicine)),1),f("span",null,P(Et(l.operateTime)),1),f("span",null,P(zn(l).length?`${zn(l).length}张`:"无"),1)],10,Vd)}),128)),H.value.length?Le("",!0):(x(),_("div",Dd,P(Ge.value?"台账读取中":Oe.value||"暂无匹配记录"),1))]),f("div",zd,[f("div",Od,[f("div",null,[f("span",null,P(J(Ot.value.earTag)),1),f("em",null,P(J(Ot.value.medicine||Ot.value.preventionType)),1)]),f("strong",null,P(Ee.value?"加载中":Et(Ot.value.operateTime)),1)]),f("div",Wd,[(x(!0),_(Q,null,de(_s.value,l=>(x(),_("span",{key:l.label,class:De({"is-wide":l.wide})},[f("em",null,P(l.label),1),f("strong",null,P(l.value),1)],2))),128))]),vi.value.length?(x(),_("div",Yd,[s[51]||(s[51]=f("div",{class:"epidemic-detail-photo-title"},"现场照片",-1)),f("div",jd,[(x(!0),_(Q,null,de(vi.value.slice(0,6),l=>(x(),_("button",{key:l,type:"button",class:"epidemic-modal-photo-thumb",onClick:Qa(d=>qo(l),["stop"])},[f("img",{src:$i(l),alt:"防疫照片"},null,8,qd)],8,Hd))),128))])])):Le("",!0)])]),f("div",Ud,[f("span",null,"第 "+P(ce.value)+" / "+P(bi.value)+" 页",1),f("button",{type:"button",disabled:ce.value<=1,onClick:s[15]||(s[15]=l=>ar(ce.value-1))},"上一页",8,Kd),f("button",{type:"button",disabled:ce.value>=bi.value,onClick:s[16]||(s[16]=l=>ar(ce.value+1))},"下一页",8,Zd)])])])):Le("",!0),fn.value?(x(),_("div",{key:3,class:"epidemic-ledger-modal trade-ledger-modal",onClick:Qa(ji,["self"])},[f("div",Xd,[f("div",Jd,[f("div",null,[s[52]||(s[52]=f("span",null,"牦牛交易出证台账",-1)),f("strong",null,P(ve.value)+"年 "+P(U(Fa.value))+" 条记录",1)]),f("button",{type:"button",onClick:ji},"关闭")]),f("div",Qd,[Je(f("input",{"onUpdate:modelValue":s[17]||(s[17]=l=>dt.value.keyword=l),type:"search",placeholder:"货主 / 车辆 / 检疫号 / 地区",onKeyup:Ja(Hi,["enter"])},null,544),[[ta,dt.value.keyword]]),Je(f("select",{"onUpdate:modelValue":s[18]||(s[18]=l=>dt.value.startTown=l)},[s[53]||(s[53]=f("option",{value:""},"全部来源乡镇",-1)),(x(!0),_(Q,null,de($s.value,l=>(x(),_("option",{key:l,value:l},P(l),9,eh))),128))],512),[[wa,dt.value.startTown]]),Je(f("select",{"onUpdate:modelValue":s[19]||(s[19]=l=>dt.value.usageType=l)},[s[54]||(s[54]=f("option",{value:""},"全部用途",-1)),(x(!0),_(Q,null,de(Vs.value,l=>(x(),_("option",{key:l,value:l},P(l),9,th))),128))],512),[[wa,dt.value.usageType]]),Je(f("select",{"onUpdate:modelValue":s[20]||(s[20]=l=>dt.value.certType=l)},[s[55]||(s[55]=f("option",{value:""},"全部证书",-1)),(x(!0),_(Q,null,de(Ds.value,l=>(x(),_("option",{key:l.value,value:l.value},P(l.label),9,ah))),128))],512),[[wa,dt.value.certType]]),f("button",{type:"button",onClick:Hi},"检索"),f("button",{type:"button",class:"is-ghost",onClick:tl},"重置")]),f("div",nh,[f("div",ih,[s[56]||(s[56]=f("div",{class:"trade-ledger-modal-table-head"},[f("span",null,"货主"),f("span",null,"证书"),f("span",null,"车牌号"),f("span",null,"数量"),f("span",null,"来源"),f("span",null,"用途"),f("span",null,"出证时间"),f("span",null,"状态")],-1)),(x(!0),_(Q,null,de(Vt.value,l=>(x(),_("button",{key:l.certId||l.factoryCode,type:"button",class:De({active:Es.value===(l.certId||l.factoryCode)}),onClick:d=>Ui(l)},[f("span",null,P(J(l.ownerName)),1),f("span",null,P(J(l.certType||l.certScopeName)),1),f("span",null,P(J(l.transportNumber)),1),f("strong",null,P(U(l.amount))+"头",1),f("span",null,P(J(l.startTown)),1),f("span",null,P(J(l.usageTypeName)),1),f("span",null,P(Et(l.issueTime)),1),f("span",null,P(J(l.statusName)),1)],10,rh))),128)),Vt.value.length?Le("",!0):(x(),_("div",sh,P(mn.value?"交易台账读取中":gn.value||"暂无匹配记录"),1))]),f("div",oh,[f("div",lh,[f("div",null,[f("span",null,P(J(ge.value.factoryCode||ge.value.certId)),1),f("em",null,P(Di(ge.value)),1)]),f("strong",null,P(Et(ge.value.issueTime)),1)]),f("div",uh,[f("span",ch,[s[57]||(s[57]=f("em",null,"货主",-1)),f("strong",null,P(J(ge.value.ownerName)),1)]),f("span",null,[s[58]||(s[58]=f("em",null,"联系方式",-1)),f("strong",null,P(Vi(ge.value.ownerPhone)),1)]),f("span",null,[s[59]||(s[59]=f("em",null,"证书类型",-1)),f("strong",null,P(Di(ge.value)),1)]),f("span",null,[s[60]||(s[60]=f("em",null,"车牌号",-1)),f("strong",null,P(J(ge.value.transportNumber)),1)]),f("span",null,[s[61]||(s[61]=f("em",null,"牦牛数量",-1)),f("strong",null,P(U(ge.value.amount))+"头",1)]),f("span",null,[s[62]||(s[62]=f("em",null,"用途",-1)),f("strong",null,P(J(ge.value.usageTypeName)),1)]),f("span",null,[s[63]||(s[63]=f("em",null,"来源乡镇",-1)),f("strong",null,P(J(ge.value.startTown)),1)]),f("span",null,[s[64]||(s[64]=f("em",null,"目的省份",-1)),f("strong",null,P(J(ge.value.destProvince)),1)]),f("span",null,[s[65]||(s[65]=f("em",null,"检疫员",-1)),f("strong",null,P(J(ge.value.quarantineOfficerName)),1)]),f("span",dh,[s[66]||(s[66]=f("em",null,"状态",-1)),f("strong",null,P(J(ge.value.statusName)),1)]),f("span",hh,[s[67]||(s[67]=f("em",null,"来源地区",-1)),f("strong",null,P(J(ge.value.startRegionFullName)),1)]),f("span",ph,[s[68]||(s[68]=f("em",null,"目的地",-1)),f("strong",null,P(J(ge.value.destRegionFullName)),1)])]),f("button",{type:"button",class:"trade-detail-locate",disabled:!ge.value.startTown,onClick:s[21]||(s[21]=l=>al(ge.value))}," 查看乡镇位置 ",8,fh)])]),f("div",mh,[f("span",null,"第 "+P(Dt.value)+" / "+P(Rn.value)+" 页",1),f("button",{type:"button",disabled:Dt.value<=1,onClick:s[22]||(s[22]=l=>qi(Dt.value-1))},"上一页",8,gh),f("button",{type:"button",disabled:Dt.value>=Rn.value,onClick:s[23]||(s[23]=l=>qi(Dt.value+1))},"下一页",8,yh)])])])):Le("",!0),Ue.value?(x(),_("div",{key:4,class:"epidemic-image-preview-modal",onClick:Qa(On,["self"])},[f("div",bh,[f("div",vh,[f("div",null,[s[69]||(s[69]=f("span",null,"防疫照片",-1)),f("strong",null,P(J(Ot.value.earTag)),1)]),f("button",{type:"button",onClick:On},"关闭")]),f("div",wh,[f("div",Lh,[f("img",{src:et.value,alt:"防疫照片预览"},null,8,Th)])])])])):Le("",!0)]))}};export{Dh as default}; diff --git a/docs/assets/index-fea14f56-balabala-1786725044461.css b/docs/assets/index-fea14f56-balabala-1786807848259.css similarity index 100% rename from docs/assets/index-fea14f56-balabala-1786725044461.css rename to docs/assets/index-fea14f56-balabala-1786807848259.css diff --git a/docs/assets/index.esm.min-90d27a39-1786725044461.js b/docs/assets/index.esm.min-024ee703-1786807848259.js similarity index 85% rename from docs/assets/index.esm.min-90d27a39-1786725044461.js rename to docs/assets/index.esm.min-024ee703-1786807848259.js index cd69fe4..8279a9d 100644 --- a/docs/assets/index.esm.min-90d27a39-1786725044461.js +++ b/docs/assets/index.esm.min-024ee703-1786807848259.js @@ -1,6 +1,6 @@ -import{ab as fe,i as j,g as w,aa as le,w as T,ac as Y,q as ve,h as he,ad as ee,a2 as H,ae as ge,af as pe,A as ze,ag as be,u as we,ah as ye}from"./index-1786725044461.js";var k=null;function me(e){return k||(k=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),k(e)}var N=null;function Ee(e){N||(N=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),N(e)}function Oe(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function R(e,t){t===void 0&&(t={});var r=document.createElement(e);return Object.keys(t).forEach(function(a){r[a]=t[a]}),r}function ie(e,t,r){var a=window.getComputedStyle(e,r||null)||{display:"none"};return a[t]}function q(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var t=e;t!==document;){if(ie(t,"display")==="none")return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var xe='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',B=0,F=null;function Ce(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=Se.bind(e));var r=e.__resize_listeners__;if(!r){if(e.__resize_listeners__=[],window.ResizeObserver){var a=e.offsetWidth,o=e.offsetHeight,n=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===a&&e.offsetHeight===o)||D(e)}),u=q(e),p=u.detached,v=u.rendered;e.__resize_observer_triggered__=p===!1&&v===!1,e.__resize_observer__=n,n.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){D(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(B||(F=Oe(xe)),je(e),e.__resize_rendered__=q(e).rendered,window.MutationObserver){var h=new MutationObserver(e.__resize_mutation_handler__);h.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=h}}e.__resize_listeners__.push(t),B++}function Le(e,t){var r=e.__resize_listeners__;if(r){if(t&&r.splice(r.indexOf(t),1),!r.length||!t){if(e.detachEvent&&e.removeEventListener){e.detachEvent("onresize",e.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);return}e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",P),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--B&&F&&F.parentNode.removeChild(F)}}function Ae(e){var t=e.__resize_last__,r=t.width,a=t.height,o=e.offsetWidth,n=e.offsetHeight;return o!==r||n!==a?{width:o,height:n}:null}function Se(){var e=q(this),t=e.rendered,r=e.detached;t!==this.__resize_rendered__&&(!r&&this.__resize_triggers__&&($(this),this.addEventListener("scroll",P,!0)),this.__resize_rendered__=t,D(this))}function P(){var e=this;$(this),this.__resize_raf__&&Ee(this.__resize_raf__),this.__resize_raf__=me(function(){var t=Ae(e);t&&(e.__resize_last__=t,D(e))})}function D(e){!e||!e.__resize_listeners__||e.__resize_listeners__.forEach(function(t){t.call(e,e)})}function je(e){var t=ie(e,"position");(!t||t==="static")&&(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var r=R("div",{className:"resize-triggers"}),a=R("div",{className:"resize-expand-trigger"}),o=R("div"),n=R("div",{className:"resize-contract-trigger"});a.appendChild(o),r.appendChild(a),r.appendChild(n),e.appendChild(r),e.__resize_triggers__={triggers:r,expand:a,expandChild:o,contract:n},$(e),e.addEventListener("scroll",P,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function $(e){var t=e.__resize_triggers__,r=t.expand,a=t.expandChild,o=t.contract,n=o.scrollWidth,u=o.scrollHeight,p=r.offsetWidth,v=r.offsetHeight,h=r.scrollWidth,f=r.scrollHeight;o.scrollLeft=n,o.scrollTop=u,a.style.width=p+1+"px",a.style.height=v+1+"px",r.scrollLeft=h,r.scrollTop=f}var g=function(){return g=Object.assign||function(e){for(var t,r=1,a=arguments.length;rnew Promise((i,r)=>{var g=n=>{try{o(s.next(n))}catch(l){r(l)}},F=n=>{try{o(s.throw(n))}catch(l){r(l)}},o=n=>n.done?i(n.value):Promise.resolve(n.value).then(g,F);o((s=s.apply(e,t)).next())});import{a3 as d,k as y}from"./index-1786725044461.js";const m="/openApi/screen2/yak-industry-chain";function a(e,t){return u(this,null,function*(){return d(yield y(`${m}${e}`,{params:t,timeout:18e3}))})}function C(){return a("/options")}function v(){return a("/overview")}function w(e,t={}){return a(`/stages/${encodeURIComponent(e)}`,t)}function B(e){return a(`/points/${encodeURIComponent(e)}`)}function D(){return a("/map-points")}function I(e){return a(`/artificial-grasslands/${encodeURIComponent(e)}`)}function b(){return a("/credit/summary")}function A(e={}){return a("/credit/households",e)}const c=[101.852492,31.851389,103.347518,33.319796],p=[["family-pasture","家庭生态牧场","#30DCFF","#C9FBFF","pasture"],["artificial-grassland","人工种草基地点","#22F6B8","#B7FFF2","grass"],["scale-breeding","规模化养殖基地","#FFD166","#FFF1B8","breeding"],["breeding-selection","选育/扩繁基地","#A78BFA","#E5D8FF","gene"],["forage-storage","防灾减灾","#FF8C78","#FFE1D8","storage"],["milk-source-station","奶源站","#6BA7FF","#D8E8FF","milk"],["slaughter-processing","屠宰与加工","#43D9FF","#B8F7FF","factory"],["farm-equipment","农机装备","#30DCFF","#C9FBFF","equipment"],["forage-trade","牧草交易","#46E6AD","#B7FFF2","trade"],["social-service","社会化服务","#F0C35A","#FFF1B8","service"]].map(([e,t,s,i,r])=>({key:`yak-industry-${e}`,name:t,fillColor:s,strokeColor:i,iconType:r,match:{field:"stage_key",value:e},cqlFilter:`stage_key='${e}'`})),f={"yak-recognition-layer":{key:"yak-recognition-layer",name:"牦牛识别",sourceType:"wmts",layerName:"v3:yak_recognition",style:"",styles:"",format:"image/png",tileMatrixSetID:"EPSG:900913",bounds:c,maximumLevel:21,url:"/geoserver/gwc/service/wmts",opacity:.96,mapView:{targetLngLat:[102.58,32.72],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-recognition-all",name:"牦牛识别",fillColor:"#FFE600",strokeColor:"#FFF58A",selectable:!1}]},"yak-industry-points":{key:"yak-industry-points",name:"牦牛产业点位",sourceType:"geojson",bounds:c,opacity:.96,pointLabelLimit:12,showPointLabels:!1,showPointAtAllDistances:!0,mapView:{targetLngLat:[102.48,32.69],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:p},"artificial-grassland-plots":{key:"artificial-grassland-plots",name:"人工种草图斑",sourceType:"wms",layerName:"v3:yak_industry_artificial_grassland",styles:"yak_industry_artificial_grassland",url:"/geoserver/v3/wms",bounds:c,opacity:.94,mapView:{targetLngLat:[102.51,32.79],distanceScale:.62,targetLocalZ:.76,duration:.9},legends:[{key:"artificial-grassland-pending",name:"待核定种草图斑",fillColor:"#20D8FF",strokeColor:"#E7FFFF",selectable:!1}]}};function _(e){return f[e]||null}export{B as a,A as b,C as c,v as d,b as e,D as f,_ as g,w as h,I as i}; +var u=(e,t,s)=>new Promise((i,r)=>{var g=n=>{try{o(s.next(n))}catch(l){r(l)}},F=n=>{try{o(s.throw(n))}catch(l){r(l)}},o=n=>n.done?i(n.value):Promise.resolve(n.value).then(g,F);o((s=s.apply(e,t)).next())});import{a8 as d,k as y}from"./index-1786807848259.js";const m="/openApi/screen2/yak-industry-chain";function a(e,t){return u(this,null,function*(){return d(yield y(`${m}${e}`,{params:t,timeout:18e3}))})}function C(){return a("/options")}function v(){return a("/overview")}function w(e,t={}){return a(`/stages/${encodeURIComponent(e)}`,t)}function B(e){return a(`/points/${encodeURIComponent(e)}`)}function D(){return a("/map-points")}function I(e){return a(`/artificial-grasslands/${encodeURIComponent(e)}`)}function b(){return a("/credit/summary")}function A(e={}){return a("/credit/households",e)}const c=[101.852492,31.851389,103.347518,33.319796],p=[["family-pasture","家庭生态牧场","#30DCFF","#C9FBFF","pasture"],["artificial-grassland","人工种草基地点","#22F6B8","#B7FFF2","grass"],["scale-breeding","规模化养殖基地","#FFD166","#FFF1B8","breeding"],["breeding-selection","选育/扩繁基地","#A78BFA","#E5D8FF","gene"],["forage-storage","防灾减灾","#FF8C78","#FFE1D8","storage"],["milk-source-station","奶源站","#6BA7FF","#D8E8FF","milk"],["slaughter-processing","屠宰与加工","#43D9FF","#B8F7FF","factory"],["farm-equipment","农机装备","#30DCFF","#C9FBFF","equipment"],["forage-trade","牧草交易","#46E6AD","#B7FFF2","trade"],["social-service","社会化服务","#F0C35A","#FFF1B8","service"]].map(([e,t,s,i,r])=>({key:`yak-industry-${e}`,name:t,fillColor:s,strokeColor:i,iconType:r,match:{field:"stage_key",value:e},cqlFilter:`stage_key='${e}'`})),f={"yak-recognition-layer":{key:"yak-recognition-layer",name:"牦牛识别",sourceType:"wmts",layerName:"v3:yak_recognition",style:"",styles:"",format:"image/png",tileMatrixSetID:"EPSG:900913",bounds:c,maximumLevel:21,url:"/geoserver/gwc/service/wmts",opacity:.96,mapView:{targetLngLat:[102.58,32.72],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:[{key:"yak-recognition-all",name:"牦牛识别",fillColor:"#FFE600",strokeColor:"#FFF58A",selectable:!1}]},"yak-industry-points":{key:"yak-industry-points",name:"牦牛产业点位",sourceType:"geojson",bounds:c,opacity:.96,pointLabelLimit:12,showPointLabels:!1,showPointAtAllDistances:!0,mapView:{targetLngLat:[102.48,32.69],distanceScale:.82,targetLocalZ:.76,duration:.85},legends:p},"artificial-grassland-plots":{key:"artificial-grassland-plots",name:"人工种草图斑",sourceType:"wms",layerName:"v3:yak_industry_artificial_grassland",styles:"yak_industry_artificial_grassland",url:"/geoserver/v3/wms",bounds:c,opacity:.94,mapView:{targetLngLat:[102.51,32.79],distanceScale:.62,targetLocalZ:.76,duration:.9},legends:[{key:"artificial-grassland-pending",name:"待核定种草图斑",fillColor:"#20D8FF",strokeColor:"#E7FFFF",selectable:!1}]}};function _(e){return f[e]||null}export{B as a,A as b,C as c,v as d,b as e,D as f,_ as g,w as h,I as i}; diff --git a/docs/assets/layout-9e63e529-balabala-1786725044461.css b/docs/assets/layout-9e63e529-balabala-1786807848259.css similarity index 100% rename from docs/assets/layout-9e63e529-balabala-1786725044461.css rename to docs/assets/layout-9e63e529-balabala-1786807848259.css diff --git a/docs/assets/leaf-7be9efef-balabala-1786725044461.png b/docs/assets/leaf-7be9efef-balabala-1786807848259.png similarity index 100% rename from docs/assets/leaf-7be9efef-balabala-1786725044461.png rename to docs/assets/leaf-7be9efef-balabala-1786807848259.png diff --git a/docs/assets/left-kuang-5d6bd1ae-balabala-1786725044461.svg b/docs/assets/left-kuang-5d6bd1ae-balabala-1786807848259.svg similarity index 100% rename from docs/assets/left-kuang-5d6bd1ae-balabala-1786725044461.svg rename to docs/assets/left-kuang-5d6bd1ae-balabala-1786807848259.svg diff --git a/docs/assets/live-scene-1-225090aa-1786725044461.js b/docs/assets/live-scene-1-60a25a2c-1786807848259.js similarity index 99% rename from docs/assets/live-scene-1-225090aa-1786725044461.js rename to docs/assets/live-scene-1-60a25a2c-1786807848259.js index 4dcb6c2..2c5e264 100644 --- a/docs/assets/live-scene-1-225090aa-1786725044461.js +++ b/docs/assets/live-scene-1-60a25a2c-1786807848259.js @@ -1,4 +1,4 @@ -var Hl=(ce,Ye,ue)=>new Promise((be,bt)=>{var at=Pt=>{try{dn(ue.next(Pt))}catch(ln){bt(ln)}},Fe=Pt=>{try{dn(ue.throw(Pt))}catch(ln){bt(ln)}},dn=Pt=>Pt.done?be(Pt.value):Promise.resolve(Pt.value).then(at,Fe);dn((ue=ue.apply(ce,Ye)).next())});import{a8 as Ar,a9 as ch,k as uh,a3 as mh}from"./index-1786725044461.js";function Dr(ce){throw new Error('Could not dynamically require "'+ce+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};Mr.exports;(function(ce,Ye){function ue(f){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},ue(f)}function be(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function bt(f,u){for(var n=0;n>>1,se=[["ary",A],["bind",w],["bindKey",z],["curry",d],["curryRight",m],["flip",H],["partial",g],["partialRight",k],["rearg",O]],fe="[object Arguments]",Re="[object Array]",we="[object AsyncFunction]",ke="[object Boolean]",We="[object Date]",yn="[object DOMException]",$t="[object Error]",It="[object Function]",Ut="[object GeneratorFunction]",Ge="[object Map]",Tt="[object Number]",kt="[object Null]",Oe="[object Object]",rt="[object Promise]",Ae="[object Proxy]",ve="[object RegExp]",De="[object Set]",Xe="[object String]",P="[object Symbol]",M="[object Undefined]",F="[object WeakMap]",j="[object WeakSet]",I="[object ArrayBuffer]",V="[object DataView]",L="[object Float32Array]",K="[object Float64Array]",q="[object Int8Array]",ae="[object Int16Array]",ee="[object Int32Array]",le="[object Uint8Array]",Qe="[object Uint8ClampedArray]",ut="[object Uint16Array]",Ie="[object Uint32Array]",ft=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yt=/&(?:amp|lt|gt|quot|#39);/g,Ht=/[&<>"']/g,Ue=RegExp(Yt.source),st=RegExp(Ht.source),Nn=/<%-([\s\S]+?)%>/g,Ti=/<%([\s\S]+?)%>/g,Si=/<%=([\s\S]+?)%>/g,ji=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Li=/^\w*$/,vt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Vt=RegExp(mt.source),un=/^\s+/,Tn=/\s/,ni=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Oi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ui=/,? & /,Hi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ii=/[()=,{}\[\]\/\s]/,mn=/\\(\\)?/g,Js=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ga=/\w*$/,qs=/^[-+]0x[0-9a-f]+$/i,$s=/^0b[01]+$/i,Ys=/^\[object .+?Constructor\]$/,Xs=/^0o[0-7]+$/i,Qs=/^(?:0|[1-9]\d*)$/,e0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vi=/($^)/,t0=/['\n\r\u2028\u2029\\]/g,Wi="\\ud800-\\udfff",n0="\\u0300-\\u036f",i0="\\ufe20-\\ufe2f",r0="\\u20d0-\\u20ff",va=n0+i0+r0,ya="\\u2700-\\u27bf",Ta="a-z\\xdf-\\xf6\\xf8-\\xff",o0="\\xac\\xb1\\xd7\\xf7",a0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",d0="\\u2000-\\u206f",l0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sa="A-Z\\xc0-\\xd6\\xd8-\\xde",Ca="\\ufe0e\\ufe0f",ba=o0+a0+d0+l0,jr="['’]",s0="["+Wi+"]",Pa="["+ba+"]",Gi="["+va+"]",wa="\\d+",c0="["+ya+"]",Ea="["+Ta+"]",Ia="[^"+Wi+ba+wa+ya+Ta+Sa+"]",Lr="\\ud83c[\\udffb-\\udfff]",u0="(?:"+Gi+"|"+Lr+")",xa="[^"+Wi+"]",Or="(?:\\ud83c[\\udde6-\\uddff]){2}",Ur="[\\ud800-\\udbff][\\udc00-\\udfff]",ri="["+Sa+"]",_a="\\u200d",Ra="(?:"+Ea+"|"+Ia+")",m0="(?:"+ri+"|"+Ia+")",ka="(?:"+jr+"(?:d|ll|m|re|s|t|ve))?",Aa="(?:"+jr+"(?:D|LL|M|RE|S|T|VE))?",Da=u0+"?",Ma="["+Ca+"]?",p0="(?:"+_a+"(?:"+[xa,Or,Ur].join("|")+")"+Ma+Da+")*",f0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",h0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Na=Ma+Da+p0,g0="(?:"+[c0,Or,Ur].join("|")+")"+Na,v0="(?:"+[xa+Gi+"?",Gi,Or,Ur,s0].join("|")+")",y0=RegExp(jr,"g"),T0=RegExp(Gi,"g"),Hr=RegExp(Lr+"(?="+Lr+")|"+v0+Na,"g"),S0=RegExp([ri+"?"+Ea+"+"+ka+"(?="+[Pa,ri,"$"].join("|")+")",m0+"+"+Aa+"(?="+[Pa,ri+Ra,"$"].join("|")+")",ri+"?"+Ra+"+"+ka,ri+"+"+Aa,h0,f0,wa,g0].join("|"),"g"),C0=RegExp("["+_a+Wi+va+Ca+"]"),b0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,P0=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],w0=-1,pt={};pt[L]=pt[K]=pt[q]=pt[ae]=pt[ee]=pt[le]=pt[Qe]=pt[ut]=pt[Ie]=!0,pt[fe]=pt[Re]=pt[I]=pt[ke]=pt[V]=pt[We]=pt[$t]=pt[It]=pt[Ge]=pt[Tt]=pt[Oe]=pt[ve]=pt[De]=pt[Xe]=pt[F]=!1;var ct={};ct[fe]=ct[Re]=ct[I]=ct[V]=ct[ke]=ct[We]=ct[L]=ct[K]=ct[q]=ct[ae]=ct[ee]=ct[Ge]=ct[Tt]=ct[Oe]=ct[ve]=ct[De]=ct[Xe]=ct[P]=ct[le]=ct[Qe]=ct[ut]=ct[Ie]=!0,ct[$t]=ct[It]=ct[F]=!1;var E0={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},I0={"&":"&","<":"<",">":">",'"':""","'":"'"},x0={"&":"&","<":"<",">":">",""":'"',"'":"'"},_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},R0=parseFloat,k0=parseInt,Fa=typeof Zn=="object"&&Zn&&Zn.Object===Object&&Zn,A0=typeof self=="object"&&self&&self.Object===Object&&self,_t=Fa||A0||Function("return this")(),Vr=u&&!u.nodeType&&u,Kn=Vr&&!0&&f&&!f.nodeType&&f,Ba=Kn&&Kn.exports===Vr,Wr=Ba&&Fa.process,Xt=function(){try{var W=Kn&&Kn.require&&Kn.require("util").types;return W||Wr&&Wr.binding&&Wr.binding("util")}catch(ie){}}(),za=Xt&&Xt.isArrayBuffer,ja=Xt&&Xt.isDate,La=Xt&&Xt.isMap,Oa=Xt&&Xt.isRegExp,Ua=Xt&&Xt.isSet,Ha=Xt&&Xt.isTypedArray;function Wt(W,ie,Q){switch(Q.length){case 0:return W.call(ie);case 1:return W.call(ie,Q[0]);case 2:return W.call(ie,Q[0],Q[1]);case 3:return W.call(ie,Q[0],Q[1],Q[2])}return W.apply(ie,Q)}function D0(W,ie,Q,ye){for(var Ne=-1,nt=W==null?0:W.length;++Ne-1}function Gr(W,ie,Q){for(var ye=-1,Ne=W==null?0:W.length;++ye-1;);return Q}function $a(W,ie){for(var Q=W.length;Q--&&oi(ie,W[Q],0)>-1;);return Q}function U0(W,ie){for(var Q=W.length,ye=0;Q--;)W[Q]===ie&&++ye;return ye}var H0=qr(E0),V0=qr(I0);function W0(W){return"\\"+_0[W]}function G0(W,ie){return W==null?n:W[ie]}function ai(W){return C0.test(W)}function Z0(W){return b0.test(W)}function K0(W){for(var ie,Q=[];!(ie=W.next()).done;)Q.push(ie.value);return Q}function Qr(W){var ie=-1,Q=Array(W.size);return W.forEach(function(ye,Ne){Q[++ie]=[Ne,ye]}),Q}function Ya(W,ie){return function(Q){return W(ie(Q))}}function zn(W,ie){for(var Q=-1,ye=W.length,Ne=0,nt=[];++Q-1}function Nc(e,t){var o=this.__data__,c=sr(o,e);return c<0?(++this.size,o.push([e,t])):o[c][1]=t,this}En.prototype.clear=kc,En.prototype.delete=Ac,En.prototype.get=Dc,En.prototype.has=Mc,En.prototype.set=Nc;function In(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t=t?e:t)),e}function nn(e,t,o,c,v,R){var B,U=t&y,G=t&h,re=t&D;if(o&&(B=v?o(e,c,v,R):o(e)),B!==n)return B;if(!gt(e))return e;var oe=Be(e);if(oe){if(B=ju(e),!U)return Bt(e,B)}else{var de=Dt(e),pe=de==It||de==Ut;if(Vn(e))return Md(e,U);if(de==Oe||de==fe||pe&&!v){if(B=G||pe?{}:Xd(e),!U)return G?xu(e,$c(B,e)):Iu(e,sd(B,e))}else{if(!ct[de])return v?e:{};B=Lu(e,de,U)}}R||(R=new fn);var Te=R.get(e);if(Te)return Te;R.set(e,B),xl(e)?e.forEach(function(_e){B.add(nn(_e,t,o,_e,e,R))}):El(e)&&e.forEach(function(_e,Ve){B.set(Ve,nn(_e,t,o,Ve,e,R))});var xe=re?G?Io:Eo:G?jt:xt,Le=oe?n:xe(e);return Qt(Le||e,function(_e,Ve){Le&&(Ve=_e,_e=e[Ve]),xi(B,Ve,nn(_e,t,o,Ve,e,R))}),B}function Yc(e){var t=xt(e);return function(o){return cd(o,e,t)}}function cd(e,t,o){var c=o.length;if(e==null)return!c;for(e=dt(e);c--;){var v=o[c],R=t[v],B=e[v];if(B===n&&!(v in e)||!R(B))return!1}return!0}function ud(e,t,o){if(typeof e!="function")throw new en(l);return Ni(function(){e.apply(n,o)},t)}function _i(e,t,o,c){var v=-1,R=Zi,B=!0,U=e.length,G=[],re=t.length;if(!U)return G;o&&(t=ht(t,Gt(o))),c?(R=Gr,B=!1):t.length>=r&&(R=Ci,B=!1,t=new $n(t));e:for(;++vv?0:v+o),c=c===n||c>v?v:je(c),c<0&&(c+=v),c=o>c?0:Rl(c);o0&&o(U)?t>1?Rt(U,t-1,o,c,v):Bn(v,U):c||(v[v.length]=U)}return v}var ao=Ld(),fd=Ld(!0);function Sn(e,t){return e&&ao(e,t,xt)}function lo(e,t){return e&&fd(e,t,xt)}function ur(e,t){return Fn(t,function(o){return An(e[o])})}function Xn(e,t){t=Un(t,e);for(var o=0,c=t.length;e!=null&&ot}function eu(e,t){return e!=null&&ot.call(e,t)}function tu(e,t){return e!=null&&t in dt(e)}function nu(e,t,o){return e>=At(t,o)&&e=120&&oe.length>=120)?new $n(B&&oe):n}oe=e[0];var de=-1,pe=U[0];e:for(;++de-1;)U!==e&&nr.call(U,G,1),nr.call(e,G,1);return e}function Ed(e,t){for(var o=e?t.length:0,c=o-1;o--;){var v=t[o];if(o==c||v!==R){var R=v;kn(v)?nr.call(e,v,1):yo(e,v)}}return e}function ho(e,t){return e+or(od()*(t-e+1))}function hu(e,t,o,c){for(var v=-1,R=Et(rr((t-e)/(o||1)),0),B=Q(R);R--;)B[c?R:++v]=e,e+=o;return B}function go(e,t){var o="";if(!e||t<1||t>Ce)return o;do t%2&&(o+=e),t=or(t/2),t&&(e+=e);while(t);return o}function He(e,t){return Mo(tl(e,t,Lt),e+"")}function gu(e){return ld(vi(e))}function vu(e,t){var o=vi(e);return br(o,Yn(t,0,o.length))}function Ai(e,t,o,c){if(!gt(e))return e;t=Un(t,e);for(var v=-1,R=t.length,B=R-1,U=e;U!=null&&++vv?0:v+t),o=o>v?v:o,o<0&&(o+=v),v=t>o?0:o-t>>>0,t>>>=0;for(var R=Q(v);++c>>1,B=e[R];B!==null&&!Kt(B)&&(o?B<=t:B=r){var re=t?null:Au(e);if(re)return Ji(re);B=!1,v=Ci,G=new $n}else G=t?[]:U;e:for(;++c=c?e:rn(e,t,o)}var Dd=lc||function(e){return _t.clearTimeout(e)};function Md(e,t){if(t)return e.slice();var o=e.length,c=ed?ed(o):new e.constructor(o);return e.copy(c),c}function bo(e){var t=new e.constructor(e.byteLength);return new er(t).set(new er(e)),t}function bu(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function Pu(e){var t=new e.constructor(e.source,ga.exec(e));return t.lastIndex=e.lastIndex,t}function wu(e){return Ii?dt(Ii.call(e)):{}}function Nd(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Fd(e,t){if(e!==t){var o=e!==n,c=e===null,v=e===e,R=Kt(e),B=t!==n,U=t===null,G=t===t,re=Kt(t);if(!U&&!re&&!R&&e>t||R&&B&&G&&!U&&!re||c&&B&&G||!o&&G||!v)return 1;if(!c&&!R&&!re&&e=U)return G;var re=o[c];return G*(re=="desc"?-1:1)}}return e.index-t.index}function Bd(e,t,o,c){for(var v=-1,R=e.length,B=o.length,U=-1,G=t.length,re=Et(R-B,0),oe=Q(G+re),de=!c;++U1?o[v-1]:n,B=v>2?o[2]:n;for(R=e.length>3&&typeof R=="function"?(v--,R):n,B&&Nt(o[0],o[1],B)&&(R=v<3?n:R,v=1),t=dt(t);++c-1?v[R?t[B]:B]:n}}function Hd(e){return Rn(function(t){var o=t.length,c=o,v=tn.prototype.thru;for(e&&t.reverse();c--;){var R=t[c];if(typeof R!="function")throw new en(l);if(v&&!B&&Sr(R)=="wrapper")var B=new tn([],!0)}for(c=B?c:o;++c1&&qe.reverse(),oe&&GU))return!1;var re=R.get(e),oe=R.get(t);if(re&&oe)return re==t&&oe==e;var de=-1,pe=!0,Te=o&E?new $n:n;for(R.set(e,t),R.set(t,e);++de1?"& ":"")+t[c],t=t.join(o>2?", ":" "),e.replace(ni,`{ +var Hl=(ce,Ye,ue)=>new Promise((be,bt)=>{var at=Pt=>{try{dn(ue.next(Pt))}catch(ln){bt(ln)}},Fe=Pt=>{try{dn(ue.throw(Pt))}catch(ln){bt(ln)}},dn=Pt=>Pt.done?be(Pt.value):Promise.resolve(Pt.value).then(at,Fe);dn((ue=ue.apply(ce,Ye)).next())});import{ad as Ar,ae as ch,k as uh,a8 as mh}from"./index-1786807848259.js";function Dr(ce){throw new Error('Could not dynamically require "'+ce+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};Mr.exports;(function(ce,Ye){function ue(f){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},ue(f)}function be(f,u){if(!(f instanceof u))throw new TypeError("Cannot call a class as a function")}function bt(f,u){for(var n=0;n>>1,se=[["ary",A],["bind",w],["bindKey",z],["curry",d],["curryRight",m],["flip",H],["partial",g],["partialRight",k],["rearg",O]],fe="[object Arguments]",Re="[object Array]",we="[object AsyncFunction]",ke="[object Boolean]",We="[object Date]",yn="[object DOMException]",$t="[object Error]",It="[object Function]",Ut="[object GeneratorFunction]",Ge="[object Map]",Tt="[object Number]",kt="[object Null]",Oe="[object Object]",rt="[object Promise]",Ae="[object Proxy]",ve="[object RegExp]",De="[object Set]",Xe="[object String]",P="[object Symbol]",M="[object Undefined]",F="[object WeakMap]",j="[object WeakSet]",I="[object ArrayBuffer]",V="[object DataView]",L="[object Float32Array]",K="[object Float64Array]",q="[object Int8Array]",ae="[object Int16Array]",ee="[object Int32Array]",le="[object Uint8Array]",Qe="[object Uint8ClampedArray]",ut="[object Uint16Array]",Ie="[object Uint32Array]",ft=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yt=/&(?:amp|lt|gt|quot|#39);/g,Ht=/[&<>"']/g,Ue=RegExp(Yt.source),st=RegExp(Ht.source),Nn=/<%-([\s\S]+?)%>/g,Ti=/<%([\s\S]+?)%>/g,Si=/<%=([\s\S]+?)%>/g,ji=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Li=/^\w*$/,vt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Vt=RegExp(mt.source),un=/^\s+/,Tn=/\s/,ni=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Oi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ui=/,? & /,Hi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ii=/[()=,{}\[\]\/\s]/,mn=/\\(\\)?/g,Js=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ga=/\w*$/,qs=/^[-+]0x[0-9a-f]+$/i,$s=/^0b[01]+$/i,Ys=/^\[object .+?Constructor\]$/,Xs=/^0o[0-7]+$/i,Qs=/^(?:0|[1-9]\d*)$/,e0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vi=/($^)/,t0=/['\n\r\u2028\u2029\\]/g,Wi="\\ud800-\\udfff",n0="\\u0300-\\u036f",i0="\\ufe20-\\ufe2f",r0="\\u20d0-\\u20ff",va=n0+i0+r0,ya="\\u2700-\\u27bf",Ta="a-z\\xdf-\\xf6\\xf8-\\xff",o0="\\xac\\xb1\\xd7\\xf7",a0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",d0="\\u2000-\\u206f",l0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sa="A-Z\\xc0-\\xd6\\xd8-\\xde",Ca="\\ufe0e\\ufe0f",ba=o0+a0+d0+l0,jr="['’]",s0="["+Wi+"]",Pa="["+ba+"]",Gi="["+va+"]",wa="\\d+",c0="["+ya+"]",Ea="["+Ta+"]",Ia="[^"+Wi+ba+wa+ya+Ta+Sa+"]",Lr="\\ud83c[\\udffb-\\udfff]",u0="(?:"+Gi+"|"+Lr+")",xa="[^"+Wi+"]",Or="(?:\\ud83c[\\udde6-\\uddff]){2}",Ur="[\\ud800-\\udbff][\\udc00-\\udfff]",ri="["+Sa+"]",_a="\\u200d",Ra="(?:"+Ea+"|"+Ia+")",m0="(?:"+ri+"|"+Ia+")",ka="(?:"+jr+"(?:d|ll|m|re|s|t|ve))?",Aa="(?:"+jr+"(?:D|LL|M|RE|S|T|VE))?",Da=u0+"?",Ma="["+Ca+"]?",p0="(?:"+_a+"(?:"+[xa,Or,Ur].join("|")+")"+Ma+Da+")*",f0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",h0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Na=Ma+Da+p0,g0="(?:"+[c0,Or,Ur].join("|")+")"+Na,v0="(?:"+[xa+Gi+"?",Gi,Or,Ur,s0].join("|")+")",y0=RegExp(jr,"g"),T0=RegExp(Gi,"g"),Hr=RegExp(Lr+"(?="+Lr+")|"+v0+Na,"g"),S0=RegExp([ri+"?"+Ea+"+"+ka+"(?="+[Pa,ri,"$"].join("|")+")",m0+"+"+Aa+"(?="+[Pa,ri+Ra,"$"].join("|")+")",ri+"?"+Ra+"+"+ka,ri+"+"+Aa,h0,f0,wa,g0].join("|"),"g"),C0=RegExp("["+_a+Wi+va+Ca+"]"),b0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,P0=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],w0=-1,pt={};pt[L]=pt[K]=pt[q]=pt[ae]=pt[ee]=pt[le]=pt[Qe]=pt[ut]=pt[Ie]=!0,pt[fe]=pt[Re]=pt[I]=pt[ke]=pt[V]=pt[We]=pt[$t]=pt[It]=pt[Ge]=pt[Tt]=pt[Oe]=pt[ve]=pt[De]=pt[Xe]=pt[F]=!1;var ct={};ct[fe]=ct[Re]=ct[I]=ct[V]=ct[ke]=ct[We]=ct[L]=ct[K]=ct[q]=ct[ae]=ct[ee]=ct[Ge]=ct[Tt]=ct[Oe]=ct[ve]=ct[De]=ct[Xe]=ct[P]=ct[le]=ct[Qe]=ct[ut]=ct[Ie]=!0,ct[$t]=ct[It]=ct[F]=!1;var E0={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},I0={"&":"&","<":"<",">":">",'"':""","'":"'"},x0={"&":"&","<":"<",">":">",""":'"',"'":"'"},_0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},R0=parseFloat,k0=parseInt,Fa=typeof Zn=="object"&&Zn&&Zn.Object===Object&&Zn,A0=typeof self=="object"&&self&&self.Object===Object&&self,_t=Fa||A0||Function("return this")(),Vr=u&&!u.nodeType&&u,Kn=Vr&&!0&&f&&!f.nodeType&&f,Ba=Kn&&Kn.exports===Vr,Wr=Ba&&Fa.process,Xt=function(){try{var W=Kn&&Kn.require&&Kn.require("util").types;return W||Wr&&Wr.binding&&Wr.binding("util")}catch(ie){}}(),za=Xt&&Xt.isArrayBuffer,ja=Xt&&Xt.isDate,La=Xt&&Xt.isMap,Oa=Xt&&Xt.isRegExp,Ua=Xt&&Xt.isSet,Ha=Xt&&Xt.isTypedArray;function Wt(W,ie,Q){switch(Q.length){case 0:return W.call(ie);case 1:return W.call(ie,Q[0]);case 2:return W.call(ie,Q[0],Q[1]);case 3:return W.call(ie,Q[0],Q[1],Q[2])}return W.apply(ie,Q)}function D0(W,ie,Q,ye){for(var Ne=-1,nt=W==null?0:W.length;++Ne-1}function Gr(W,ie,Q){for(var ye=-1,Ne=W==null?0:W.length;++ye-1;);return Q}function $a(W,ie){for(var Q=W.length;Q--&&oi(ie,W[Q],0)>-1;);return Q}function U0(W,ie){for(var Q=W.length,ye=0;Q--;)W[Q]===ie&&++ye;return ye}var H0=qr(E0),V0=qr(I0);function W0(W){return"\\"+_0[W]}function G0(W,ie){return W==null?n:W[ie]}function ai(W){return C0.test(W)}function Z0(W){return b0.test(W)}function K0(W){for(var ie,Q=[];!(ie=W.next()).done;)Q.push(ie.value);return Q}function Qr(W){var ie=-1,Q=Array(W.size);return W.forEach(function(ye,Ne){Q[++ie]=[Ne,ye]}),Q}function Ya(W,ie){return function(Q){return W(ie(Q))}}function zn(W,ie){for(var Q=-1,ye=W.length,Ne=0,nt=[];++Q-1}function Nc(e,t){var o=this.__data__,c=sr(o,e);return c<0?(++this.size,o.push([e,t])):o[c][1]=t,this}En.prototype.clear=kc,En.prototype.delete=Ac,En.prototype.get=Dc,En.prototype.has=Mc,En.prototype.set=Nc;function In(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t=t?e:t)),e}function nn(e,t,o,c,v,R){var B,U=t&y,G=t&h,re=t&D;if(o&&(B=v?o(e,c,v,R):o(e)),B!==n)return B;if(!gt(e))return e;var oe=Be(e);if(oe){if(B=ju(e),!U)return Bt(e,B)}else{var de=Dt(e),pe=de==It||de==Ut;if(Vn(e))return Md(e,U);if(de==Oe||de==fe||pe&&!v){if(B=G||pe?{}:Xd(e),!U)return G?xu(e,$c(B,e)):Iu(e,sd(B,e))}else{if(!ct[de])return v?e:{};B=Lu(e,de,U)}}R||(R=new fn);var Te=R.get(e);if(Te)return Te;R.set(e,B),xl(e)?e.forEach(function(_e){B.add(nn(_e,t,o,_e,e,R))}):El(e)&&e.forEach(function(_e,Ve){B.set(Ve,nn(_e,t,o,Ve,e,R))});var xe=re?G?Io:Eo:G?jt:xt,Le=oe?n:xe(e);return Qt(Le||e,function(_e,Ve){Le&&(Ve=_e,_e=e[Ve]),xi(B,Ve,nn(_e,t,o,Ve,e,R))}),B}function Yc(e){var t=xt(e);return function(o){return cd(o,e,t)}}function cd(e,t,o){var c=o.length;if(e==null)return!c;for(e=dt(e);c--;){var v=o[c],R=t[v],B=e[v];if(B===n&&!(v in e)||!R(B))return!1}return!0}function ud(e,t,o){if(typeof e!="function")throw new en(l);return Ni(function(){e.apply(n,o)},t)}function _i(e,t,o,c){var v=-1,R=Zi,B=!0,U=e.length,G=[],re=t.length;if(!U)return G;o&&(t=ht(t,Gt(o))),c?(R=Gr,B=!1):t.length>=r&&(R=Ci,B=!1,t=new $n(t));e:for(;++vv?0:v+o),c=c===n||c>v?v:je(c),c<0&&(c+=v),c=o>c?0:Rl(c);o0&&o(U)?t>1?Rt(U,t-1,o,c,v):Bn(v,U):c||(v[v.length]=U)}return v}var ao=Ld(),fd=Ld(!0);function Sn(e,t){return e&&ao(e,t,xt)}function lo(e,t){return e&&fd(e,t,xt)}function ur(e,t){return Fn(t,function(o){return An(e[o])})}function Xn(e,t){t=Un(t,e);for(var o=0,c=t.length;e!=null&&ot}function eu(e,t){return e!=null&&ot.call(e,t)}function tu(e,t){return e!=null&&t in dt(e)}function nu(e,t,o){return e>=At(t,o)&&e=120&&oe.length>=120)?new $n(B&&oe):n}oe=e[0];var de=-1,pe=U[0];e:for(;++de-1;)U!==e&&nr.call(U,G,1),nr.call(e,G,1);return e}function Ed(e,t){for(var o=e?t.length:0,c=o-1;o--;){var v=t[o];if(o==c||v!==R){var R=v;kn(v)?nr.call(e,v,1):yo(e,v)}}return e}function ho(e,t){return e+or(od()*(t-e+1))}function hu(e,t,o,c){for(var v=-1,R=Et(rr((t-e)/(o||1)),0),B=Q(R);R--;)B[c?R:++v]=e,e+=o;return B}function go(e,t){var o="";if(!e||t<1||t>Ce)return o;do t%2&&(o+=e),t=or(t/2),t&&(e+=e);while(t);return o}function He(e,t){return Mo(tl(e,t,Lt),e+"")}function gu(e){return ld(vi(e))}function vu(e,t){var o=vi(e);return br(o,Yn(t,0,o.length))}function Ai(e,t,o,c){if(!gt(e))return e;t=Un(t,e);for(var v=-1,R=t.length,B=R-1,U=e;U!=null&&++vv?0:v+t),o=o>v?v:o,o<0&&(o+=v),v=t>o?0:o-t>>>0,t>>>=0;for(var R=Q(v);++c>>1,B=e[R];B!==null&&!Kt(B)&&(o?B<=t:B=r){var re=t?null:Au(e);if(re)return Ji(re);B=!1,v=Ci,G=new $n}else G=t?[]:U;e:for(;++c=c?e:rn(e,t,o)}var Dd=lc||function(e){return _t.clearTimeout(e)};function Md(e,t){if(t)return e.slice();var o=e.length,c=ed?ed(o):new e.constructor(o);return e.copy(c),c}function bo(e){var t=new e.constructor(e.byteLength);return new er(t).set(new er(e)),t}function bu(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function Pu(e){var t=new e.constructor(e.source,ga.exec(e));return t.lastIndex=e.lastIndex,t}function wu(e){return Ii?dt(Ii.call(e)):{}}function Nd(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Fd(e,t){if(e!==t){var o=e!==n,c=e===null,v=e===e,R=Kt(e),B=t!==n,U=t===null,G=t===t,re=Kt(t);if(!U&&!re&&!R&&e>t||R&&B&&G&&!U&&!re||c&&B&&G||!o&&G||!v)return 1;if(!c&&!R&&!re&&e=U)return G;var re=o[c];return G*(re=="desc"?-1:1)}}return e.index-t.index}function Bd(e,t,o,c){for(var v=-1,R=e.length,B=o.length,U=-1,G=t.length,re=Et(R-B,0),oe=Q(G+re),de=!c;++U1?o[v-1]:n,B=v>2?o[2]:n;for(R=e.length>3&&typeof R=="function"?(v--,R):n,B&&Nt(o[0],o[1],B)&&(R=v<3?n:R,v=1),t=dt(t);++c-1?v[R?t[B]:B]:n}}function Hd(e){return Rn(function(t){var o=t.length,c=o,v=tn.prototype.thru;for(e&&t.reverse();c--;){var R=t[c];if(typeof R!="function")throw new en(l);if(v&&!B&&Sr(R)=="wrapper")var B=new tn([],!0)}for(c=B?c:o;++c1&&qe.reverse(),oe&&GU))return!1;var re=R.get(e),oe=R.get(t);if(re&&oe)return re==t&&oe==e;var de=-1,pe=!0,Te=o&E?new $n:n;for(R.set(e,t),R.set(t,e);++de1?"& ":"")+t[c],t=t.join(o>2?", ":" "),e.replace(ni,`{ /* [wrapped with `+t+`] */ `)}function Uu(e){return Be(e)||ti(e)||!!(id&&e&&e[id])}function kn(e,t){var o=typeof e;return t=t==null?Ce:t,!!t&&(o=="number"||o!="symbol"&&Qs.test(e))&&e>-1&&e%1==0&&e0){if(++t>=ne)return arguments[0]}else t=0;return e.apply(n,arguments)}}function br(e,t){var o=-1,c=e.length,v=c-1;for(t=t===n?c:t;++o1?e[t-1]:n;return o=typeof o=="function"?(e.pop(),o):n,pl(e,o)});function fl(e){var t=x(e);return t.__chain__=!0,t}function Xm(e,t){return t(e),e}function Pr(e,t){return t(e)}var Qm=Rn(function(e){var t=e.length,o=t?e[0]:0,c=this.__wrapped__,v=function(R){return oo(R,e)};return t>1||this.__actions__.length||!(c instanceof Ze)||!kn(o)?this.thru(v):(c=c.slice(o,+o+(t?1:0)),c.__actions__.push({func:Pr,args:[v],thisArg:n}),new tn(c,this.__chain__).thru(function(R){return t&&!R.length&&R.push(n),R}))});function ep(){return fl(this)}function tp(){return new tn(this.value(),this.__chain__)}function np(){this.__values__===n&&(this.__values__=_l(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function ip(){return this}function rp(e){for(var t,o=this;o instanceof lr;){var c=dl(o);c.__index__=0,c.__values__=n,t?v.__wrapped__=c:t=c;var v=c;o=o.__wrapped__}return v.__wrapped__=e,t}function op(){var e=this.__wrapped__;if(e instanceof Ze){var t=e;return this.__actions__.length&&(t=new Ze(this)),t=t.reverse(),t.__actions__.push({func:Pr,args:[No],thisArg:n}),new tn(t,this.__chain__)}return this.thru(No)}function ap(){return kd(this.__wrapped__,this.__actions__)}var dp=hr(function(e,t,o){ot.call(e,o)?++e[o]:xn(e,o,1)});function lp(e,t,o){var c=Be(e)?Va:Xc;return o&&Nt(e,t,o)&&(t=n),c(e,Ee(t,3))}function sp(e,t){var o=Be(e)?Fn:pd;return o(e,Ee(t,3))}var cp=Ud(ll),up=Ud(sl);function mp(e,t){return Rt(wr(e,t),1)}function pp(e,t){return Rt(wr(e,t),Se)}function fp(e,t,o){return o=o===n?1:je(o),Rt(wr(e,t),o)}function hl(e,t){var o=Be(e)?Qt:Ln;return o(e,Ee(t,3))}function gl(e,t){var o=Be(e)?M0:md;return o(e,Ee(t,3))}var hp=hr(function(e,t,o){ot.call(e,o)?e[o].push(t):xn(e,o,[t])});function gp(e,t,o,c){e=zt(e)?e:vi(e),o=o&&!c?je(o):0;var v=e.length;return o<0&&(o=Et(v+o,0)),Rr(e)?o<=v&&e.indexOf(t,o)>-1:!!v&&oi(e,t,o)>-1}var vp=He(function(e,t,o){var c=-1,v=typeof t=="function",R=zt(e)?Q(e.length):[];return Ln(e,function(B){R[++c]=v?Wt(t,B,o):Ri(B,t,o)}),R}),yp=hr(function(e,t,o){xn(e,o,t)});function wr(e,t){var o=Be(e)?ht:Td;return o(e,Ee(t,3))}function Tp(e,t,o,c){return e==null?[]:(Be(t)||(t=t==null?[]:[t]),o=c?n:o,Be(o)||(o=o==null?[]:[o]),Pd(e,t,o))}var Sp=hr(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function Cp(e,t,o){var c=Be(e)?Zr:Ka,v=arguments.length<3;return c(e,Ee(t,4),o,v,Ln)}function bp(e,t,o){var c=Be(e)?N0:Ka,v=arguments.length<3;return c(e,Ee(t,4),o,v,md)}function Pp(e,t){var o=Be(e)?Fn:pd;return o(e,xr(Ee(t,3)))}function wp(e){var t=Be(e)?ld:gu;return t(e)}function Ep(e,t,o){(o?Nt(e,t,o):t===n)?t=1:t=je(t);var c=Be(e)?Kc:vu;return c(e,t)}function Ip(e){var t=Be(e)?Jc:Tu;return t(e)}function xp(e){if(e==null)return 0;if(zt(e))return Rr(e)?di(e):e.length;var t=Dt(e);return t==Ge||t==De?e.size:mo(e).length}function _p(e,t,o){var c=Be(e)?Kr:Su;return o&&Nt(e,t,o)&&(t=n),c(e,Ee(t,3))}var Rp=He(function(e,t){if(e==null)return[];var o=t.length;return o>1&&Nt(e,t[0],t[1])?t=[]:o>2&&Nt(t[0],t[1],t[2])&&(t=[t[0]]),Pd(e,Rt(t,1),[])}),Er=sc||function(){return _t.Date.now()};function kp(e,t){if(typeof t!="function")throw new en(l);return e=je(e),function(){if(--e<1)return t.apply(this,arguments)}}function vl(e,t,o){return t=o?n:t,t=e&&t==null?e.length:t,_n(e,A,n,n,n,n,t)}function yl(e,t){var o;if(typeof t!="function")throw new en(l);return e=je(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Bo=He(function(e,t,o){var c=w;if(o.length){var v=zn(o,hi(Bo));c|=g}return _n(e,c,t,o,v)}),Tl=He(function(e,t,o){var c=w|z;if(o.length){var v=zn(o,hi(Tl));c|=g}return _n(t,c,e,o,v)});function Sl(e,t,o){t=o?n:t;var c=_n(e,d,n,n,n,n,n,t);return c.placeholder=Sl.placeholder,c}function Cl(e,t,o){t=o?n:t;var c=_n(e,m,n,n,n,n,n,t);return c.placeholder=Cl.placeholder,c}function bl(e,t,o){var c,v,R,B,U,G,re=0,oe=!1,de=!1,pe=!0;if(typeof e!="function")throw new en(l);t=an(t)||0,gt(o)&&(oe=!!o.leading,de="maxWait"in o,R=de?Et(an(o.maxWait)||0,t):R,pe="trailing"in o?!!o.trailing:pe);function Te(Ct){var gn=c,Mn=v;return c=v=n,re=Ct,B=e.apply(Mn,gn),B}function xe(Ct){return re=Ct,U=Ni(Ve,t),oe?Te(Ct):B}function Le(Ct){var gn=Ct-G,Mn=Ct-re,Ul=t-gn;return de?At(Ul,R-Mn):Ul}function _e(Ct){var gn=Ct-G,Mn=Ct-re;return G===n||gn>=t||gn<0||de&&Mn>=R}function Ve(){var Ct=Er();if(_e(Ct))return qe(Ct);U=Ni(Ve,Le(Ct))}function qe(Ct){return U=n,pe&&c?Te(Ct):(c=v=n,B)}function Jt(){U!==n&&Dd(U),re=0,c=G=v=U=n}function Ft(){return U===n?B:qe(Er())}function qt(){var Ct=Er(),gn=_e(Ct);if(c=arguments,v=this,G=Ct,gn){if(U===n)return xe(G);if(de)return Dd(U),U=Ni(Ve,t),Te(G)}return U===n&&(U=Ni(Ve,t)),B}return qt.cancel=Jt,qt.flush=Ft,qt}var Ap=He(function(e,t){return ud(e,1,t)}),Dp=He(function(e,t,o){return ud(e,an(t)||0,o)});function Mp(e){return _n(e,H)}function Ir(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new en(l);var o=function(){var c=arguments,v=t?t.apply(this,c):c[0],R=o.cache;if(R.has(v))return R.get(v);var B=e.apply(this,c);return o.cache=R.set(v,B)||R,B};return o.cache=new(Ir.Cache||In),o}Ir.Cache=In;function xr(e){if(typeof e!="function")throw new en(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Np(e){return yl(2,e)}var Fp=Cu(function(e,t){t=t.length==1&&Be(t[0])?ht(t[0],Gt(Ee())):ht(Rt(t,1),Gt(Ee()));var o=t.length;return He(function(c){for(var v=-1,R=At(c.length,o);++v=t}),ti=gd(function(){return arguments}())?gd:function(e){return yt(e)&&ot.call(e,"callee")&&!nd.call(e,"callee")},Be=Q.isArray,$p=za?Gt(za):ru;function zt(e){return e!=null&&_r(e.length)&&!An(e)}function St(e){return yt(e)&&zt(e)}function Yp(e){return e===!0||e===!1||yt(e)&&Mt(e)==ke}var Vn=uc||Jo,Xp=ja?Gt(ja):ou;function Qp(e){return yt(e)&&e.nodeType===1&&!Fi(e)}function ef(e){if(e==null)return!0;if(zt(e)&&(Be(e)||typeof e=="string"||typeof e.splice=="function"||Vn(e)||gi(e)||ti(e)))return!e.length;var t=Dt(e);if(t==Ge||t==De)return!e.size;if(Mi(e))return!mo(e).length;for(var o in e)if(ot.call(e,o))return!1;return!0}function tf(e,t){return ki(e,t)}function nf(e,t,o){o=typeof o=="function"?o:n;var c=o?o(e,t):n;return c===n?ki(e,t,n,o):!!c}function jo(e){if(!yt(e))return!1;var t=Mt(e);return t==$t||t==yn||typeof e.message=="string"&&typeof e.name=="string"&&!Fi(e)}function rf(e){return typeof e=="number"&&rd(e)}function An(e){if(!gt(e))return!1;var t=Mt(e);return t==It||t==Ut||t==we||t==Ae}function wl(e){return typeof e=="number"&&e==je(e)}function _r(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ce}function gt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function yt(e){return e!=null&&typeof e=="object"}var El=La?Gt(La):du;function of(e,t){return e===t||uo(e,t,_o(t))}function af(e,t,o){return o=typeof o=="function"?o:n,uo(e,t,_o(t),o)}function df(e){return Il(e)&&e!=+e}function lf(e){if(Wu(e))throw new Ne(a);return vd(e)}function sf(e){return e===null}function cf(e){return e==null}function Il(e){return typeof e=="number"||yt(e)&&Mt(e)==Tt}function Fi(e){if(!yt(e)||Mt(e)!=Oe)return!1;var t=tr(e);if(t===null)return!0;var o=ot.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Yi.call(o)==oc}var Lo=Oa?Gt(Oa):lu;function uf(e){return wl(e)&&e>=-Ce&&e<=Ce}var xl=Ua?Gt(Ua):su;function Rr(e){return typeof e=="string"||!Be(e)&&yt(e)&&Mt(e)==Xe}function Kt(e){return typeof e=="symbol"||yt(e)&&Mt(e)==P}var gi=Ha?Gt(Ha):cu;function mf(e){return e===n}function pf(e){return yt(e)&&Dt(e)==F}function ff(e){return yt(e)&&Mt(e)==j}var hf=Tr(po),gf=Tr(function(e,t){return e<=t});function _l(e){if(!e)return[];if(zt(e))return Rr(e)?pn(e):Bt(e);if(bi&&e[bi])return K0(e[bi]());var t=Dt(e),o=t==Ge?Qr:t==De?Ji:vi;return o(e)}function Dn(e){if(!e)return e===0?e:0;if(e=an(e),e===Se||e===-Se){var t=e<0?-1:1;return t*Pe}return e===e?e:0}function je(e){var t=Dn(e),o=t%1;return t===t?o?t-o:t:0}function Rl(e){return e?Yn(je(e),0,N):0}function an(e){if(typeof e=="number")return e;if(Kt(e))return $e;if(gt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=gt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ja(e);var o=$s.test(e);return o||Xs.test(e)?k0(e.slice(2),o?2:8):qs.test(e)?$e:+e}function kl(e){return Cn(e,jt(e))}function vf(e){return e?Yn(je(e),-Ce,Ce):e===0?e:0}function it(e){return e==null?"":Zt(e)}var yf=pi(function(e,t){if(Mi(t)||zt(t)){Cn(t,xt(t),e);return}for(var o in t)ot.call(t,o)&&xi(e,o,t[o])}),Al=pi(function(e,t){Cn(t,jt(t),e)}),kr=pi(function(e,t,o,c){Cn(t,jt(t),e,c)}),Tf=pi(function(e,t,o,c){Cn(t,xt(t),e,c)}),Sf=Rn(oo);function Cf(e,t){var o=mi(e);return t==null?o:sd(o,t)}var bf=He(function(e,t){e=dt(e);var o=-1,c=t.length,v=c>2?t[2]:n;for(v&&Nt(t[0],t[1],v)&&(c=1);++o1),R}),Cn(e,Io(e),o),c&&(o=nn(o,y|h|D,Du));for(var v=t.length;v--;)yo(o,t[v]);return o});function Of(e,t){return Ml(e,xr(Ee(t)))}var Uf=Rn(function(e,t){return e==null?{}:pu(e,t)});function Ml(e,t){if(e==null)return{};var o=ht(Io(e),function(c){return[c]});return t=Ee(t),wd(e,o,function(c,v){return t(c,v[0])})}function Hf(e,t,o){t=Un(t,e);var c=-1,v=t.length;for(v||(v=1,e=n);++ct){var c=e;e=t,t=c}if(o||e%1||t%1){var v=od();return At(e+v*(t-e+R0("1e-"+((v+"").length-1))),t)}return ho(e,t)}var Qf=fi(function(e,t,o){return t=t.toLowerCase(),e+(o?Bl(t):t)});function Bl(e){return Ho(it(e).toLowerCase())}function zl(e){return e=it(e),e&&e.replace(e0,H0).replace(T0,"")}function e1(e,t,o){e=it(e),t=Zt(t);var c=e.length;o=o===n?c:Yn(je(o),0,c);var v=o;return o-=t.length,o>=0&&e.slice(o,v)==t}function t1(e){return e=it(e),e&&st.test(e)?e.replace(Ht,V0):e}function n1(e){return e=it(e),e&&Vt.test(e)?e.replace(mt,"\\$&"):e}var i1=fi(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),r1=fi(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),o1=Od("toLowerCase");function a1(e,t,o){e=it(e),t=je(t);var c=t?di(e):0;if(!t||c>=t)return e;var v=(t-c)/2;return yr(or(v),o)+e+yr(rr(v),o)}function d1(e,t,o){e=it(e),t=je(t);var c=t?di(e):0;return t&&c>>0,o?(e=it(e),e&&(typeof t=="string"||t!=null&&!Lo(t))&&(t=Zt(t),!t&&ai(e))?Hn(pn(e),0,o):e.split(t,o)):[]}var f1=fi(function(e,t,o){return e+(o?" ":"")+Ho(t)});function h1(e,t,o){return e=it(e),o=o==null?0:Yn(je(o),0,e.length),t=Zt(t),e.slice(o,o+t.length)==t}function g1(e,t,o){var c=x.templateSettings;o&&Nt(e,t,o)&&(t=n),e=it(e),t=kr({},t,c,Kd);var v=kr({},t.imports,c.imports,Kd),R=xt(v),B=Xr(v,R),U,G,re=0,oe=t.interpolate||Vi,de="__p += '",pe=eo((t.escape||Vi).source+"|"+oe.source+"|"+(oe===Si?Js:Vi).source+"|"+(t.evaluate||Vi).source+"|$","g"),Te="//# sourceURL="+(ot.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++w0+"]")+` `;e.replace(pe,function(_e,Ve,qe,Jt,Ft,qt){return qe||(qe=Jt),de+=e.slice(re,qt).replace(t0,W0),Ve&&(U=!0,de+=`' + @@ -868,4 +868,4 @@ Content-Type: `+(se.type||"application/octet-stream")+`\r `),zs=["precision highp float;","varying highp vec2 textureCoord;","uniform sampler2D ySampler;","uniform sampler2D uSampler;","uniform sampler2D vSampler;","const mat4 YUV2RGB = mat4","(","1.1643828125, 0, 1.59602734375, -.87078515625,","1.1643828125, -.39176171875, -.81296875, .52959375,","1.1643828125, 2.017234375, 0, -1.081390625,","0, 0, 0, 1",");","void main(void) {","highp float y = texture2D(ySampler, textureCoord).r;","highp float u = texture2D(uSampler, textureCoord).r;","highp float v = texture2D(vSampler, textureCoord).r;","gl_FragColor = vec4(y, u, v, 1) * YUV2RGB;","}"].join(` `);(function(f,u){window.SuperRender=u()})(void 0,function(){function f(u){this.canvasElement=document.getElementById(u),this.initContextGL(),this.contextGL&&(this.YUVProgram=this.initProgram(Bs,zs),this.initBuffers(),this.initTextures())}return f.prototype.initContextGL=function(){var u=this.canvasElement,n=null;try{n=u.getContext("webgl")||u.getContext("experimental-webgl")}catch(i){n=null}(!n||typeof n.getParameter!="function")&&(n=null),this.contextGL=n,console.log("WebGL1.0")},f.prototype.initProgram=function(u,n){var i=this.contextGL,r=i.createShader(i.VERTEX_SHADER);i.shaderSource(r,u),i.compileShader(r),i.getShaderParameter(r,i.COMPILE_STATUS)||console.log("Vertex shader failed to compile: "+i.getShaderInfoLog(r));var a=i.createShader(i.FRAGMENT_SHADER);i.shaderSource(a,n),i.compileShader(a),i.getShaderParameter(a,i.COMPILE_STATUS)||console.log("Fragment shader failed to compile: "+i.getShaderInfoLog(a));var l=i.createProgram();return i.attachShader(l,r),i.attachShader(l,a),i.linkProgram(l),i.getProgramParameter(l,i.LINK_STATUS)||console.log("Program failed to compile: "+i.getProgramInfoLog(l)),i.deleteShader(r),i.deleteShader(a),l},f.prototype.initBuffers=function(){var u=this.contextGL,n=u.createBuffer();u.bindBuffer(u.ARRAY_BUFFER,n),u.bufferData(u.ARRAY_BUFFER,new Float32Array([1,1,-1,1,1,-1,-1,-1]),u.STATIC_DRAW),u.bindBuffer(u.ARRAY_BUFFER,null);var i=u.createBuffer();u.bindBuffer(u.ARRAY_BUFFER,i),u.bufferData(u.ARRAY_BUFFER,new Float32Array([1,0,0,0,1,1,0,1]),u.DYNAMIC_DRAW),u.bindBuffer(u.ARRAY_BUFFER,null),this.vertexPosBuffer=n,this.texturePosBuffer=i},f.prototype.initTexture=function(){var u=this.contextGL,n=u.createTexture();return u.bindTexture(u.TEXTURE_2D,n),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MAG_FILTER,u.LINEAR),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MIN_FILTER,u.LINEAR),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.CLAMP_TO_EDGE),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_T,u.CLAMP_TO_EDGE),u.bindTexture(u.TEXTURE_2D,null),n},f.prototype.initTextures=function(){var u=this.contextGL,n=this.YUVProgram;u.useProgram(n);var i=this.initTexture(),r=u.getUniformLocation(n,"ySampler");u.uniform1i(r,0),this.yTextureRef=i;var a=this.initTexture(),l=u.getUniformLocation(n,"uSampler");u.uniform1i(l,1),this.uTextureRef=a;var s=this.initTexture(),b=u.getUniformLocation(n,"vSampler");u.uniform1i(b,2),this.vTextureRef=s,u.useProgram(null)},f.prototype.SR_DisplayFrameData=function(u,n,i,r,a){if(!(u<=0||n<=0)){var l=this.contextGL;if(i==null){l.clearColor(0,0,0,0),l.clear(l.COLOR_BUFFER_BIT|l.DEPTH_BUFFER_BIT);return}var s=this.canvasElement;this.nWindowWidth=s.width,this.nWindowHeight=s.height;var b=this.nWindowWidth,T=this.nWindowHeight;l.clearColor(.8,.8,1,1),l.clear(l.COLOR_BUFFER_BIT|l.DEPTH_BUFFER_BIT),l.viewport(0,0,b,T),this.updateFrameData(u,n,i,r,a);var C=this.YUVProgram;l.useProgram(C);var y=this.vertexPosBuffer;l.bindBuffer(l.ARRAY_BUFFER,y);var h=l.getAttribLocation(C,"vertexPos");l.enableVertexAttribArray(h),l.vertexAttribPointer(h,2,l.FLOAT,!1,0,0),l.bindBuffer(l.ARRAY_BUFFER,null);var D=this.texturePosBuffer;l.bindBuffer(l.ARRAY_BUFFER,D);var _=l.getAttribLocation(C,"texturePos");l.enableVertexAttribArray(_),l.vertexAttribPointer(_,2,l.FLOAT,!1,0,0),l.bindBuffer(l.ARRAY_BUFFER,null),l.drawArrays(l.TRIANGLE_STRIP,0,4),l.disableVertexAttribArray(h),l.disableVertexAttribArray(_),l.useProgram(null)}},f.prototype.updateFrameData=function(u,n,i,r,a){var l=this.contextGL,s=this.yTextureRef,b=this.uTextureRef,T=this.vTextureRef,C=i;if(u==r&&n==a){var y=u*n,h=C.subarray(0,y);l.activeTexture(l.TEXTURE0),l.bindTexture(l.TEXTURE_2D,s),l.texImage2D(l.TEXTURE_2D,0,l.LUMINANCE,u,n,0,l.LUMINANCE,l.UNSIGNED_BYTE,h);var D=u/2*n/2,_=C.subarray(u*n,u*n+D);l.activeTexture(l.TEXTURE2),l.bindTexture(l.TEXTURE_2D,T),l.texImage2D(l.TEXTURE_2D,0,l.LUMINANCE,u/2,n/2,0,l.LUMINANCE,l.UNSIGNED_BYTE,_);var E=D,w=C.subarray(u*n+u*n/4,u*n+u*n/4+E);l.activeTexture(l.TEXTURE1),l.bindTexture(l.TEXTURE_2D,b),l.texImage2D(l.TEXTURE_2D,0,l.LUMINANCE,u/2,n/2,0,l.LUMINANCE,l.UNSIGNED_BYTE,w)}else{for(var y=r*a,h=new Uint8Array(y),z=0;z0&&r>0){var l=u.left/i,s=u.top/r,b=u.right/i,T=u.bottom/r;a=new Float32Array([b,s,l,s,b,T,l,T])}else a=new Float32Array([1,0,0,0,1,1,0,1]);var C=this.texturePosBuffer;n.bindBuffer(n.ARRAY_BUFFER,C),n.bufferSubData(n.ARRAY_BUFFER,0,a),n.bindBuffer(n.ARRAY_BUFFER,null)},f.prototype.SR_Destroy=function(){var u=this.contextGL,n=this.YUVProgram;u.deleteProgram(n);var i=this.vertexPosBuffer,r=this.texturePosBuffer;u.deleteBuffer(i),u.deleteBuffer(r);var a=this.yTextureRef,l=this.uTextureRef,s=this.vTextureRef;u.deleteTexture(a),u.deleteTexture(l),u.deleteTexture(s)},f});var fa="https://open.ys7.com",js="".concat(fa,"/console/ezuikit_static/v66/v2"),Ls="".concat(fa,"/console/ezuikit_static/v66/v1"),ha=function(u,n){var i=["theme","standard"],r=["pcLive","pcRec","mobileLive","mobileRec","noData","security","voice","simple"];if(typeof u=="undefined")return n.themeData?{templateType:"themeData",templateId:"themeData"}:{templateType:"local",templateId:""};if(typeof u=="string"){if(u.length===32)return{templateType:"remote",templateId:u};if(i.indexOf(u)!==-1)return u==="simple"&&typeof n.header=="undefined"&&typeof n.footer=="undefined"?{templateType:"local",templateId:""}:{templateType:"iframe",templateId:u};if(r.indexOf(u)!==-1)return{templateType:"local",templateId:u}}},lt=function(){var u=window.navigator.userAgent.toLowerCase(),n={sa:/version.*safari/.test(u),ch:/chrome/.test(u),ff:/gecko/.test(u)&&!/webkit/.test(u)},i=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);if(i)return!1;if(n.ch){var r=function(){for(var l=window.navigator.userAgent.split(" "),s="",b=0;b91&&!!window.SharedArrayBuffer}return!1},Os=function(){function f(u){var n=this;be(this,f),this.isStoping=!1;var i=u.autoplay,r=i===void 0?!0:i;if((u.template||u.themeData)&&(r=!1),this.params=u,this.autoplay=r,window.EZUIKit[u.id]={state:{EZUIKitPlayer:{init:window.EZUIKit[u.id]&&window.EZUIKit[u.id].state&&window.EZUIKit[u.id].state.EZUIKitPlayer.init||!1,themeInit:window.EZUIKit[u.id]&&window.EZUIKit[u.id].state&&window.EZUIKit[u.id].state.EZUIKitPlayer.themeInit||!1,talkInit:window.EZUIKit[u.id]&&window.EZUIKit[u.id].state&&window.EZUIKit[u.id].state.EZUIKitPlayer.talkInit||!1}}},ha(this.params.template,u).templateType!=="iframe"){this.Monitor=new ks({env:typeof u.disableMonitor!="undefined"&&u.disableMonitor?"test12":"online"},this),this.id=u.id,this.width=u.width,this.height=u.height,this.url=u.url,this.accessToken=u.accessToken,this.themeId=ha(u.template,u).templateId,this.id=u.id,this.audio=!0,this.poster=u.poster,this.speed=1,this.disabledTimeLine=!1,this.disabledPTZ=!1,this.enableSharedArrayBufferGuide=!1,this.capacity={},this.playTimer=null,this.env={domain:"https://open.ys7.com"};var a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);this.isMobile=a,document.getElementById("".concat(this.id,"-wrap"))&&(document.getElementById("".concat(this.id,"-wrap")).innerHTML="",document.getElementById("".concat(this.id,"-wrap")).id=this.id),this.staticPath=lt()?js:Ls,typeof u.staticPath=="string"&&(u.staticPath.startsWith("http")?this.staticPath=u.staticPath:this.staticPath=window.location.protocol+"//"+window.location.host+u.staticPath,lt()?this.staticPath+="/v2":this.staticPath+="/v1"),typeof u.audio!="undefined"&&(this.audio=u.audio),typeof u.env!="undefined"&&(this.env=Object.assign(this.env,u.env)),typeof u.isMobile!="undefined"&&(this.isMobile=u.isMobile),typeof u.disabledTimeLine!="undefined"&&(this.disabledTimeLine=u.disabledTimeLine),typeof u.disabledPTZ!="undefined"&&(this.disabledPTZ=u.disabledPTZ),typeof u.enableSharedArrayBufferGuide!="undefined"&&(this.enableSharedArrayBufferGuide=u.enableSharedArrayBufferGuide);var l="".concat(this.staticPath,"/js/jsPluginV1-1.0.0.min.js"),s=function(){if(window.addPluginUrlIng=!0,lt())console.log("启用多线程解析视频"),l="".concat(n.staticPath,"/js/jsPluginV2-2.0.1.min.js");else{var C=function(){for(var w=navigator.userAgent.split(" "),z="",S=0;S0&&(l=T.width),!n.height&&T.height>0&&(b=T.height)}if(!document.getElementById("".concat(r,"-wrap"))){var C=document.createElement("div");C.id="".concat(r,"-wrap"),C.style="display:inline-block;width:".concat(l,"px;position:relative;vertical-align: bottom;"),document.getElementById(r).parentNode.insertBefore(C,document.getElementById(r)),document.getElementById(r).parentNode.removeChild(document.getElementById(r)),C.innerHTML="
    "),document.getElementById(r).style="display:inline-block;width:".concat(l,"px;height:").concat(b,"px;"),document.getElementById(r).style.verticalAlign="top"}this.themeId&&(this.Theme=new Rs(this,n.id),window.EZUIKit[n.id].state.EZUIKitPlayer.themeInit=!0,this.Monitor.dclog({url:this.url,action:2,text:this.themeId}),typeof this.params.handleThemeChange=="function"&&(this.handleThemeChange=this.params.handleThemeChange));var y=new Ql(this,r);this.Message=y;var h=function(E,w){var z;if(lt()){z=new window.JSPluginV2({szId:r,iType:2,iWidth:l,iHeight:b,iMaxSplit:1,iCurrentSplit:1,szBasePath:"",staticPath:i.staticPath,oStyle:{border:"none",background:"#000000"}}),i.pluginStatus.loadingStart(r),i.pluginStatus.loadingSetText({text:"初始化播放器完成"}),z.EventCallback={pluginErrorHandler:function(m,g,k){if(console.log(m,g,k),g===1003)console.log("断流"),i.Theme.setDecoderState({play:!1}),i.pluginStatus.setPlayStatus({play:!1}),z.bPlay||(i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:"连接断开,请重试",color:"red"})),typeof i.params.handleError=="function"&&i.params.handleError({msg:"连接断开,请重试",retcode:1003,id:i.params.id,type:"handleError"});else if(k.errorCode!=1){var A=i.errorHander.matchErrorInfo(k.errorCode),O="连接断开,请重试";A&&A.msg?O=A.msg:A&&A.description&&(O=A.description),i.Theme.setDecoderState({play:!1}),i.pluginStatus.setPlayStatus({play:!1}),i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:O,color:"red"})}else i.pluginStatus.loadingClear(),i.Theme&&i.Theme.setDisabled(!1)},openStreamCallback:function(){console.log("开启取流"),i.openStreamTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:224,d:i.openStreamTime-i.gotWsUrlTime,text:"openStream",isVersion2Available:lt()?1:0})},getStreamHeaderCallback:function(){console.log("完成取流返回流头"),i.getStreamHeaderTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:225,d:i.getStreamHeaderTime-i.openStreamTime,text:"getStreamHeader",isVersion2Available:lt()?1:0})},getVideoStreamCallback:function(){console.log("返回视频流(首次)"),i.getVideoStreamTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:226,d:i.getVideoStreamTime-i.getStreamHeaderTime,text:"getVideoStream",isVersion2Available:lt()?1:0})},appearFirstFrameCallback:function(){console.log("出现首帧画面(播放成功)"),i.appearFirstFrameTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:227,d:i.appearFirstFrameTime-i.getStreamHeaderTime,text:"appearFirstFrame",isVersion2Available:lt()?1:0})},averageStreamSuccessCallback:function(){console.log("平均成功取流的出流耗时"),i.averageStreamSuccessTime=i.initSuccessTime-i.initTime+(i.gotWsUrlTime-i.startGetWsUrlTime)+(i.appearFirstFrameTime-i.openStreamTime),i.Monitor.dclog({url:i.url,action:228,d:i.averageStreamSuccessTime,text:"averageStreamSuccess",isVersion2Available:lt()?1:0})}},i.env={domain:"https://open.ys7.com"},typeof n.env!="undefined"&&(i.env=Object.assign(i.env,n.env)),typeof n.handleTalkSuccess!="undefined"&&(i.handleTalkSuccess=n.handleTalkSuccess),typeof n.handleTalkError!="undefined"&&(i.handleTalkError=n.handleTalkError),i.errorHander=new Xo,i.jSPlugin=z;var S=setInterval(function(){window.JSPlayerModuleLoaded&&(clearInterval(S),typeof i.params.handleInitSuccess=="function"&&i.params.handleInitSuccess({retcode:0,id:i.params.id,type:"handleInitSuccess"}),E({meta:{retcode:200,msg:"初始化成功"}}),n.url.indexOf("rec")!=-1&&i.Theme.changeTheme(i.isMobile?"mobileRec":"pcRec"))},50)}else z=new window.JSPluginV1({szId:r,iType:2,iWidth:l,iHeight:b,iMaxSplit:1,iCurrentSplit:1,szBasePath:"",staticPath:i.staticPath,oStyle:{border:"none",background:"#000000"}}),i.pluginStatus.loadingStart(r),i.pluginStatus.loadingSetText({text:"初始化播放器完成"}),z.EventCallback={openStreamCallback:function(){console.log("开启取流---v1"),i.openStreamTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:224,d:i.openStreamTime-i.gotWsUrlTime,text:"openStream",isVersion2Available:lt()?1:0})},getStreamHeaderCallback:function(){console.log("完成取流返回流头"),i.getStreamHeaderTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:225,d:i.getStreamHeaderTime-i.openStreamTime,text:"getStreamHeader",isVersion2Available:lt()?1:0})},getVideoStreamCallback:function(){console.log("返回视频流(首次)"),i.getVideoStreamTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:226,d:i.getVideoStreamTime-i.getStreamHeaderTime,text:"getVideoStream",isVersion2Available:lt()?1:0})},appearFirstFrameCallback:function(){console.log("出现首帧画面(播放成功)"),i.appearFirstFrameTime=new Date().getTime(),i.Monitor.dclog({url:i.url,action:227,d:i.appearFirstFrameTime-i.getStreamHeaderTime,text:"appearFirstFrame",isVersion2Available:lt()?1:0})},averageStreamSuccessCallback:function(){console.log("平均成功取流的出流耗时"),i.averageStreamSuccessTime=i.initSuccessTime-i.initTime+(i.gotWsUrlTime-i.startGetWsUrlTime)+(i.appearFirstFrameTime-i.openStreamTime),i.Monitor.dclog({url:i.url,action:228,d:i.averageStreamSuccessTime,text:"averageStreamSuccess",isVersion2Available:lt()?1:0})},loadEventHandler:function(){},zoomEventResponse:function(){},windowEventSelect:function(m){},pluginErrorHandler:function(m,g,k){if(console.log(m,g,k),g===1003)console.log("断流"),i.Theme.setDecoderState({play:!1}),i.pluginStatus.setPlayStatus({play:!1}),z.bPlay||(i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:"连接断开,请重试",color:"red"})),typeof i.params.handleError=="function"&&i.params.handleError({msg:"连接断开,请重试",retcode:1003,id:i.params.id,type:"handleError"});else if(k.errorCode!=1){var A=i.errorHander.matchErrorInfo(k.errorCode),O="连接断开,请重试";A&&A.msg?O=A.msg:A&&A.description&&(O=A.description),i.Theme.setDecoderState({play:!1}),i.pluginStatus.setPlayStatus({play:!1}),i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:O,color:"red"})}else i.pluginStatus.loadingClear(),i.Theme&&i.Theme.setDisabled(!1)},windowEventOver:function(m){},windowEventOut:function(m){},windowEventUp:function(m){},windowFullCcreenChange:function(m){},firstFrameDisplay:function(m,g,k){console.log(g,k),z.JS_SetCanFullScreen(!1)},performanceLack:function(){},mouseEvent:function(m,g,k){}},i.env={domain:"https://open.ys7.com"},typeof n.env!="undefined"&&(i.env=Object.assign(i.env,n.env)),typeof n.handleTalkSuccess!="undefined"&&(i.handleTalkSuccess=n.handleTalkSuccess),typeof n.handleTalkError!="undefined"&&(i.handleTalkError=n.handleTalkError),i.errorHander=new Xo,i.jSPlugin=z,typeof i.params.handleInitSuccess=="function"&&i.params.handleInitSuccess({retcode:0,id:i.params.id,type:"handleInitSuccess"}),E({meta:{retcode:200,msg:"初始化成功"}}),n.url.indexOf("rec")!=-1&&i.Theme.changeTheme(i.isMobile?"mobileRec":"pcRec")},D=new Promise(h);return D}},{key:"_getRealUrlPromise",value:function(n,i){var r=this;console.log("获取播放地址 url => ".concat(i," ").concat(this.accessToken)),console.log("开始获取wsurl"),this.startGetWsUrlTime=new Date().getTime(),this.Monitor.dclog({url:this.url,action:222,text:"startGetWsUrl",isVersion2Available:lt()?1:0});var a=this.env.domain;this.env&&(a=this.env.domain);var l=function(C,y){var h="",D=a+"/api/lapp/live/url/ezopen",_=new FormData;_.append("ezopen",i),_.append("isFlv",!1),_.append("userAgent",window.navigator.userAgent),_.append("isHttp",!1),_.append("accessToken",n),fetch(D,{method:"POST",body:_}).then(function(E){return E.json()}).then(function(E){if(E.code==200||E.retcode==0){var w="",z="";E.ext&&E.ext.token?(h+=E.data,z=E.ext.token,w=E.data):E.data&&E.data.token&&(h+=E.data.url,z=E.data.token,w=E.data.url);var S=i.indexOf("live")!==-1?"live":"playback";S==="live"?h=h+"&ssn="+z+"&auth=1&biz=4&cln=100":h=h+"&ssn="+z+"&auth=1&cln=100",console.log(h);var d=et("checkCode",h);if(d&&(typeof r.jSPlugin.decoderVersion!="undefined"&&r.jSPlugin.decoderVersion==="2.0"?r.validateCode=d:(console.log("设置密钥",d),r.jSPlugin.JS_SetSecretKey(0,d))),h.indexOf("playback")!==-1){var m=et("begin",w)||et("begin",i),g=et("end",w)||et("end",i);if(m)h=h.replace("&begin="+et("begin",w),"&begin="+s(m,"000000")),et("begin",h)||(h+="&begin="+s(m,"000000"));else{var k=new Date;h=h+"&begin="+k.Format("yyyyMMdd")+"T000000Z"}if(g?(h=h.replace("&end="+et("end",w),"&end="+s(g,"235959")),et("end",h)||(h+="&end="+s(g,"235959"))):h=h+"&end="+s(et("begin",h).substr(0,8),"235959"),et("stream",w)||(h=h.replace("stream","&stream")),i.indexOf(".cloud")!==-1){var A=function(Se){if(Se.code==200){var Ce=[];if(Se.data&&Se.data.files&&Se.data.files.length>0){var Pe=Se.data.files,$e=new Date().getTime(),N=Se.data.isAll;if(N){Ce=se(Pe);var J=JSON.stringify(Ce).replace("\\","");h+="&recSlice="+J.replace("\\","")+"&r="+Math.random(),C(h)}else{var te=function fe(){function Re(we){if(we.data&&we.data.files&&we.data.files.length>0)if(we.data.isAll==!1)we.data.files&&(Pe=Pe.concat(we.data.files)),$e=we.data.nextFileTime>0?we.data.nextFileTime:new Date().getTime(),fe();else{Ce=se(Pe);var ke=JSON.stringify(Ce).replace("\\","");h+="&recSlice="+ke.replace("\\","")+"&r="+Math.random(),C(h)}else{Ce=se(Pe);var ke=JSON.stringify(Ce).replace("\\","");h+="&recSlice="+ke.replace("\\","")+"&r="+Math.random(),C(h)}}Y.startTime=$e,Gn(ne,"POST",Y,"",Re)};te()}}else y({retcode:-1,msg:"未找到录像片段"})}else y({retcode:-1,msg:"未找到录像片段"});function se(fe){var Re=[];return fe.forEach(function(we,ke){Re.length==0||we.downloadPath!==Re[Re.length-1].downloadPath?Re.push({downloadPath:we.downloadPath,ownerId:we.ownerId,iStorageVersion:we.iStorageVersion,videoType:we.videoType,iPlaySpeed:0,startTime:we.startTime,endTime:we.endTime}):Re[Re.length-1].endTime=we.endTime}),Re}},O=b(et("begin",h)),H=b(et("end",h)),Z=et("serial",h),X=et("chn",h),ne=a+"/api/lapp/video/by/time",Y={accessToken:r.accessToken,recType:1,deviceSerial:Z,channelNo:X,startTime:O,endTime:H,version:"2.0"};Gn(ne,"POST",Y,"",A)}else if(i.indexOf("alarmId")!==-1){var me=function(te){if(te.code==200){var se=[];if(te.data){se=Re([te.data]);var fe=JSON.stringify(se).replace("\\","");h+="&recSlice="+fe.replace("\\",""),console.log("realUrl",h,te.data.recType),te.data.recType==1?h=h.replace("/playback","/cloudplayback"):h=h.replace("/cloudplayback","/playback"),C(h)}}function Re(we){var ke=[];return we.forEach(function(We,yn){ke.length==0||We.downloadPath!==ke[ke.length-1].downloadPath?ke.push({downloadPath:We.downloadPath,ownerId:We.ownerId,iStorageVersion:We.iStorageVersion,videoType:We.videoType,iPlaySpeed:0,startTime:We.startTime,endTime:We.endTime}):ke[ke.length-1].endTime=We.endTime}),console.log("downloadPathArr",ke),ke}};console.log("进入alarmId回放");var he=et("alarmId",h),O=b(et("begin",h)),H=b(et("end",h)),Z=et("serial",h),X=et("chn",h),ne=a+"/api/lapp/video/by/id",Y={accessToken:r.accessToken,deviceSerial:Z,channelNo:X,alarmId:he};Gn(ne,"POST",Y,"",me)}else C(h)}else C(h)}else r.Theme&&r.Theme.setDisabled(!0),r.pluginStatus.loadingClear(),r.pluginStatus.loadingSetText({text:E.msg,color:"red"}),typeof r.params.handleError=="function"&&r.params.handleError({retcode:E.code,msg:E.msg,id:r.params.id,type:"handleError"}),y(E)})};return new Promise(function(T,C){return l(T,C)});function s(T,C){var y=/^[0-9]{8}T[0-9]{6}Z$/;if(y.test(T))return T;if(/[0-9]{8,14}/.test(T)){var h=6-(14-T.length),D=C.length,_=T+C.substring(h,D);return _.slice(0,8)+"T"+_.slice(8)+"Z"}throw new Error("回放时间格式有误,请确认")}function b(T){var C=T.slice(0,4),y=T.slice(4,6),h=T.slice(6,8),D=T.slice(9,11),_=T.slice(11,13),E=T.slice(13,15),w=C+"-"+y+"-"+h+" "+D+":"+_+":"+E;return new Date(w.replace(/-/g,"/")).getTime()}}},{key:"_pluginPlay",value:function(n,i,r){var a=this;if(console.log("执行播放 _pluginPlay",n),!n)return!1;function l(C){var y=C.split("?")[0].replace("/live","").replace("/playback",""),h=(C.indexOf("/live")===-1?C.indexOf("cloudplayback")!==-1?"/cloudplayback?":"/playback?":"/live?")+C.split("?")[1];return h.indexOf("/playback")!==-1&&(h=h.replace("stream=2","stream=1")),{websocketConnectUrl:y,websocketStreamingParam:h}}var s=l(n).websocketConnectUrl;this.env&&this.env.wsUrl&&(s=this.env.wsUrl),this.gotWsUrlTime=new Date().getTime(),this.Monitor.dclog({url:this.url,action:223,d:this.gotWsUrlTime-this.startGetWsUrlTime,text:"getWsUrlSuccess",isVersion2Available:lt()?1:0});var b={playURL:l(n).websocketStreamingParam};console.log("播放前 stop 阶段 结束"),this.isStoping=!1;var T=Date.now();console.log("执行播放 ... this.jSPlugin.JS_Play at ",T),this.jSPlugin.JS_Play(s,b,0).then(function(){if(console.log("执行播放 ... this.jSPlugin.JS_Play 播放成功",s,b),console.log("执行播放耗时 ",Date.now()-T),a.isStoping){console.log("现在在播放前 stop 阶段,此次应为无效播放成功触发。不执行后续回调, 此次耗时无效");return}if(a.validateCode&&typeof a.jSPlugin.decoderVersion!="undefined"&&a.jSPlugin.decoderVersion==="2.0"&&a.jSPlugin.JS_SetSecretKey(0,a.validateCode),a.pluginStatus.loadingClear(),a.pluginStatus.setPlayStatus({play:!0,loading:!1}),a.Theme){a.Theme.setDecoderState({play:!0});var C=Ot.findIndex(a.Theme.themeData.footer.btnList,function(y){return y.iconId==="sound"&&y.isrender===1&&y.defaultActive===1})>-1;a.audio=C}a.audio&&setTimeout(function(){a.openSound()},500),typeof a.params.handleSuccess=="function"&&a.params.handleSuccess({retcode:0,id:a.params.id,type:"handleSuccess"}),i(b),a.Monitor.dclog({url:a.url,action:211,d:new Date().getTime()-a.playStartTime,text:"startPlaySuccess"}),a.Monitor.playLog({Enc:a.url.indexOf("@")===-1?0:1,PlTp:a.url.indexOf("back")===-1?1:2,Via:2,ErrCd:0,Cost:new Date().getTime()-a.playStartTime,Serial:Ke(a.url).deviceSerial,Channel:Ke(a.url).channelNo,Ver:lt()?"v7.0.0":"v6.0.0"})},function(C){console.log("err",C);var y="播放失败,请检查设备及客户端网络",h=-1;if(a.jSPlugin.bPlay)return!1;if(C&&C.errorCode){var D=a.errorHander.matchErrorInfo(C.errorCode);a.Theme&&a.Theme.setDisabled(!0),D&&D.msg?y=D.msg:D&&D.description?y=D.description:y="播放失败,请检查设备及客户端网络",h=C.errorCode}a.pluginStatus.loadingClear(),a.pluginStatus.loadingSetText({text:y,color:"red"}),typeof a.params.handleError=="function"&&a.params.handleError({retcode:h,msg:y,id:a.params.id,type:"handleError"}),r(),a.Monitor.dclog({url:a.url,action:411,d:new Date().getTime()-a.playStartTime,text:"startPlayError"}),a.Monitor.playLog({Enc:a.url.indexOf("@")===-1?0:1,PlTp:a.url.indexOf("back")===-1?1:2,Via:2,ErrCd:h,Cost:-1,Serial:Ke(a.url).deviceSerial,Channel:Ke(a.url).channelNo,Ver:lt()?"v7.0.0":"v6.0.0"})})}},{key:"_play",value:function(n){var i=this;console.log("执行播放 play options.url =>",n),this.pluginStatus.setPlayStatus({play:!1,loading:!0}),this.playStartTime=new Date().getTime(),this.Monitor.dclog({url:this.url,action:1,d:new Date().getTime()-this.initTime,text:"startPlay"}),n&&(typeof n=="string"&&(this.url=n),typeof n.url=="string"&&(this.url=n.url),typeof n.accessToken=="string"&&(this.accessToken=n.accessToken),this.Theme&&(typeof n.url=="string"||typeof n.accessToken=="string")&&this.Theme.getDeviceInfo());var r=new Promise(function(a,l){console.log("执行 播放前 stop"),i.isStoping=!0,i.jSPlugin.JS_Stop(0).then(function(){console.log("播放前 stop 执行成功 this.url => ".concat(i.url," ").concat(i.accessToken)),i._getRealUrlPromise(i.accessToken,i.url).then(function(s){i._pluginPlay(s,function(b){a(!0)},function(){return l(!1)})}).catch(function(s){var b=s.msg?s.msg:"播放失败,请检查设备及客户端网络";i.Theme&&i.Theme.setDisabled(!0),i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:b,color:"red"}),typeof i.params.handleError=="function"&&i.params.handleError({retcode:s.oError?s.oError.errorCode:-1,msg:b,id:i.params.id,type:"handleError"}),l({retcode:s.oError?s.oError.errorCode:-1,msg:b,id:i.params.id,type:"handleError"})})})});return r}},{key:"stop",value:function(){var n=this;return this.pluginStatus.setPlayStatus({loading:!0}),this.reSetTheme(),this.jSPlugin.JS_Stop(0).then(function(){console.log("停止成功"),n.pluginStatus.setPlayStatus({play:!1,loading:!1}),n.Theme&&n.Theme.setDecoderState({play:!1})})}},{key:"changeVideoLevel",value:function(n){var i=this,r=this.url,a=n?r.replace(".live",".hd.live"):r.replace(".hd.live",".live");this.jSPlugin.playURL=n?this.jSPlugin.playURL.replace("stream=2","stream=1"):this.jSPlugin.playURL.replace("stream=1","stream=2"),console.log("changeVideoLevel",a,this.jSPlugin.playURL),this.url=a;var l=new Promise(function(s,b){i.pause().then(function(){console.log("暂停成功"),i.resume().then(function(T){console.log("恢复成功")})}).catch(function(){console.log("暂停失败"),i.resume().then(function(T){console.log("恢复成功")})})});return l}},{key:"reSetTheme",value:function(){this.Theme&&this.Theme.Ptz&&(this.Theme.setDecoderState({pantile:!1}),this.Theme.Ptz.hide()),this.Theme&&this.Theme.decoderState.state.recordvideo&&this.Theme.setDecoderState({recordvideo:!1}),this.Theme&&this.Theme.decoderState.state.zoom&&(this.Zoom.stopZoom(),this.Theme.setDecoderState({zoom:!1})),this.Theme&&this.Theme.decoderState.state.talk&&(this.stopTalk(),this.Theme.setDecoderState({talk:!1})),this.Theme&&this.Theme.Rec&&!this.Theme.isMobile&&this.Theme.Rec.datepickerHide(),this.Theme&&this.Theme.Rec&&(this.Theme.changeRecSpeed(1),this.Theme.nextRate=1,this.speed=1,this.Theme.setDecoderState({speed:!1}))}},{key:"_changePlayUrl",value:function(n){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};console.log("_changePlayUrl"),console.log(n),this.reSetTheme(),this.getDeviceCapacity({accessToken:n.accessToken,deviceSerial:n.deviceSerial});var a=this.url,l=b(a,n);n.accessToken&&(this.accessToken=n.accessToken),this.url=l,r(),this.pluginStatus.loadingStart(this.id),this.pluginStatus.loadingSetText({text:"加载中,请稍后"});var s=new Promise(function(T,C){var y={url:l};return n.accessToken&&(y.accessToken=n.accessToken),console.log("切换播放地址 参数 ",y),i.play(y).then(function(){console.log("切换播放地址 play 执行成功 ",i.url,i.accessToken),i.Theme&&i.Theme.decoderState.state.webExpend&&i.Theme.webExpend(),i.Theme&&i.Theme.decoderState.state.expend&&i.Theme.expend(),n.type?n.type=="rec"||n.type=="cloud.rec"?i.Theme.changeTheme(i.isMobile?"mobileRec":"pcRec"):i.Theme.changeTheme(i.isMobile?"mobileLive":"pcLive"):i.url.indexOf(".rec")>-1?i.Theme.changeTheme(i.isMobile?"mobileRec":"pcRec"):i.Theme.changeTheme(i.isMobile?"mobileLive":"pcLive"),n&&n.begin&&n.deviceSerial&&i.Theme.Rec.setDatepickerDate(n.begin),i.Theme.setDisabled(!1),T(l)}).catch(function(h){C(l),h&&h.msg&&(i.Theme&&i.Theme.setDisabled(!0),i.pluginStatus.loadingClear(),i.pluginStatus.loadingSetText({text:h.msg,color:"red"}))})});function b(T,C){if(C.url)return C.url;console.log("--------------matchInitUrl",T);var y=T.split("/")[4].split(".")[T.split("/")[4].split(".").length-1].split("?")[0];y==="rec"&&T.indexOf(".cloud.rec")!==-1&&(y="cloud.rec"),C.type&&(y=C.type);var h=T.split("/")[3];C.deviceSerial&&(h=C.deviceSerial);var D=T.split("/")[4].split(".")[0];C.channelNo&&(D=C.channelNo);var _=T.split("/")[2].split("@").length===2?T.split("/")[2].split("@")[0]:"";typeof C.validCode!="undefined"&&(_=C.validCode);var E=typeof C.hd=="undefined"?T.indexOf(".hd")!==-1:C.hd,w="ezopen://".concat(_?"".concat(_,"@"):"","open.ys7.com/").concat(h,"/").concat(D).concat(E?".hd":"",".").concat(y);return y==="live"||(w="ezopen://".concat(_?"".concat(_,"@"):"","open.ys7.com/").concat(h,"/").concat(D,".").concat(y),C.begin&&C.end?w+="?begin=".concat(C.begin,"&end=").concat(C.end):C.begin?w+="?begin=".concat(C.begin):et("begin",T)&&(w+="?begin=".concat(et("begin",T)))),w}return s}},{key:"getOSDTime",value:function(){var n=this,i=new Promise(function(r,a){n.jSPlugin.JS_GetOSDTime(0).then(function(l){r({code:0,retcode:0,data:l}),typeof n.params.getOSDTimeCallBack=="function"&&n.params.getOSDTimeCallBack({id:n.id,type:"getOSDTime",code:0,data:l})}).catch(function(l){a({code:-1,retcode:-1,data:l}),typeof n.params.getOSDTimeCallBack=="function"&&n.params.getOSDTimeCallBack({id:n.id,type:"getOSDTime",code:-1,data:-1})})});return i}},{key:"capturePicture",value:function(n){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.jSPlugin.JS_CapturePicture(0,n,"JPEG",r,!!r);return sn(a)?(typeof this.params.capturePictureCallBack=="function"&&a.then(function(){i.params.capturePictureCallBack({id:i.id,type:"capturePicture",code:0})}).catch(function(){i.params.capturePictureCallBack({id:i.id,type:"capturePicture",code:-1})}),a):new Promise(function(l){l(a)})}},{key:"startSave",value:function(n){var i=this,r=this.jSPlugin.JS_StartSave(0,n);return sn(r)?(typeof this.params.startSaveCallBack=="function"&&r.then(function(){i.params.startSaveCallBack({id:i.id,type:"startSave",code:0})}).catch(function(){i.params.startSaveCallBack({id:i.id,type:"startSave",code:-1})}),r):(this.Theme&&this.Theme.setDecoderState({recordvideo:!0}),new Promise(function(a){a(r)}))}},{key:"stopSave",value:function(){var n=this,i=this.jSPlugin.JS_StopSave(0);return sn(i)?(typeof this.params.startSaveCallBack=="function"&&i.then(function(){n.params.stopSaveCallBack({id:n.id,type:"stopSave",code:0})}).catch(function(){n.params.stopSaveCallBack({id:n.id,type:"stopSave",code:-1})}),i):(this.Theme&&this.Theme.setDecoderState({recordvideo:!1}),new Promise(function(r){r(i)}))}},{key:"openSound",value:function(){var n=this.jSPlugin.JS_OpenSound(0);return console.log("打开声音",n),sn(n)?n:(this.Theme&&this.Theme.setDecoderState({sound:!0}),typeof this.params.openSoundCallBack=="function"&&this.params.openSoundCallBack({id:this.id,type:"openSound",code:n}),new Promise(function(i){i(n)}))}},{key:"closeSound",value:function(){var n=this.jSPlugin.JS_CloseSound(0);return sn(n)?n:(this.Theme&&this.Theme.setDecoderState({sound:!1}),typeof this.params.closeSoundCallBack=="function"&&this.params.closeSoundCallBack({id:this.id,type:"closeSound",code:n}),new Promise(function(i){i(n)}))}},{key:"enableZoom",value:function(){var n=this.jSPlugin.JS_EnableZoom(0);return sn(n)?n:new Promise(function(i){i(n)})}},{key:"closeZoom",value:function(){var n=this.jSPlugin.JS_DisableZoom(0);return sn(n)?n:new Promise(function(i){i(n)})}},{key:"setPoster",value:function(n){lt()?document.getElementById("".concat(this.id))&&(document.getElementById("".concat(this.id)).style.backgroundImage="url(".concat(n,")"),document.getElementById("".concat(this.id)).style.backgroundSize="100% 100%"):document.getElementById("".concat(this.id,"canvas0"))&&(document.getElementById("".concat(this.id,"canvas0")).style.backgroundImage="url(".concat(n,")"),document.getElementById("".concat(this.id,"canvas0")).style.backgroundSize="cover")}},{key:"reSize",value:function(n,i){var r=0,a=0;if(this.params.height=i,this.params.width=n,this.Theme&&this.Theme.isNeedRenderHeader&&document.getElementById("".concat(this.id,"-headControl"))&&(r=parseInt(document.getElementById("".concat(this.id,"-headControl")).style.height,10)),this.Theme&&this.Theme.isNeedRenderTimeLine&&!this.isMobile&&(a=48),i=i-r-a,this.width=n,this.height=i,document.getElementById("".concat(this.id,"-wrap")).style="width:".concat(n,"px;position:relative;display:inline-block;vertical-align: bottom;"),document.getElementById("".concat(this.id)).style.width=n+"px",document.getElementById("".concat(this.id)).style.height=i+"px",this.jSPlugin&&this.jSPlugin.bPlay)this.jSPlugin&&(this.jSPlugin.iHeight=i,this.jSPlugin.iWidth=n),this.jSPlugin.JS_Resize(n,i);else{document.getElementById("".concat(this.id,"-player"))&&(document.getElementById("".concat(this.id,"-player")).width=n,document.getElementById("".concat(this.id,"-player")).height=i,document.getElementById("".concat(this.id,"-player")).style.width=n+"px",document.getElementById("".concat(this.id,"-player")).style.height=i+"px");var l=1;if(document.getElementById("".concat(this.id,"canvas0"))){var s=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);s&&(l=2),document.getElementById("".concat(this.id,"canvas0")).style.width=n*l+"px",document.getElementById("".concat(this.id,"canvas0")).style.height=i*l+"px",document.getElementById("".concat(this.id,"canvas0")).width=n*l,document.getElementById("".concat(this.id,"canvas0")).height=i*l,document.getElementById("".concat(this.id,"canvas0")).parentNode.style.width=n*l+"px",document.getElementById("".concat(this.id,"canvas0")).parentNode.style.height=i*l+"px",document.getElementById("".concat(this.id,"canvas_draw0")).height=i*l}this.jSPlugin&&(this.jSPlugin.iHeight=i*l,this.jSPlugin.iWidth=n*l)}}},{key:"fast",value:function(n){var i=this,r=this.speed;if(n)var a=this.jSPlugin.JS_Fast(0,n);else{if(r===1)r=2;else if(r===2)r=4;else return typeof this.params.handleError=="function"&&this.params.handleError({msg:"播放速度最大为4倍速度",retcode:1003,id:this.id,type:"handleError"}),new Promise(function(s,b){i.speed=r,b({code:-1,data:{speed:r,result:"播放速度最大为4倍速度"}})});var a=this.jSPlugin.JS_Fast(0)}return new Promise(function(l){i.speed=r,l({code:0,data:{speed:r,result:a}})})}},{key:"slow",value:function(){var n=this,i=this.speed;if(i===4)i=2;else if(i===2)i=1;else return typeof this.params.handleError=="function"&&this.params.handleError({msg:"播放速度最小为1倍速度",retcode:1003,id:this.id,type:"handleError"}),new Promise(function(a,l){n.speed=i,l({code:-1,data:{speed:i,result:"播放速度最小为1倍速度"}})});var r=this.jSPlugin.JS_Slow(0);return new Promise(function(a){n.speed=i,a({code:0,data:{speed:i,result:r}})})}},{key:"seek",value:function(n,i){var r=this.url,a=(et("begin",r)||new Date().Format("yyyyMMdd")).substr(0,8);if(i=l(a,"235959"),n.length===6)n=l(a,n);else if(n.length===16){if(n.substr(0,8)!==a)return typeof this.params.handleError=="function"&&this.params.handleError({msg:"seek时间不能跨日期",retcode:-1,id:this.id,type:"handleError"}),!1}else return typeof this.params.handleError=="function"&&this.params.handleError({msg:"seek时间格式错误",retcode:-1,id:this.id,type:"handleError"}),!1;function l(b,T){var C=/^[0-9]{8}T[0-9]{6}Z$/;if(C.test(b))return b;if(/[0-9]{8,14}/.test(b)){var y=6-(14-b.length),h=T.length,D=b+T.substring(y,h);return D.slice(0,8)+"T"+D.slice(8)+"Z"}throw new Error("回放时间格式有误,请确认")}var s=this.jSPlugin.JS_Seek(0,n,i);return console.log("seekRT",s),sn(s)?s:new Promise(function(b){b(s)})}},{key:"fullScreen",value:function(){var n=this,i=yi(document.getElementById("".concat(this.id)));i.then(function(a){console.log("全屏promise",window.screen.availWidth),n.jSPlugin.JS_Resize(window.screen.availWidth,window.screen.availHeight),typeof n.params.fullScreenCallBack=="function"&&n.params.fullScreenCallBack({id:n.id,type:"fullScreen",code:0})});var r=function(){var l=document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen;l||n.jSPlugin.JS_Resize(n.width,n.height),typeof n.params.fullScreenChangeCallBack=="function"&&n.params.fullScreenChangeCallBack({id:n.id,type:"fullScreen",code:l})};["fullscreenchange","webkitfullscreenchange","mozfullscreenchange"].forEach(function(a){window.addEventListener(a,function(l){return r()})})}},{key:"cancelFullScreen",value:function(){var n=this,i=Nr();i.then(function(r){console.log("取消全屏",r,n.jSPlugin),n.jSPlugin.JS_Resize(n.width,n.height)})}},{key:"startTalk",value:function(){this.Talk.startTalk()}},{key:"stopTalk",value:function(){this.Talk.stopTalk()}},{key:"destroy",value:function(){var n=this.jSPlugin.JS_DestroyWorker(0);return this.Theme&&(this.Theme=null,window.EZUIKit[this.params.id].state.EZUIKitPlayer.themeInit=!1),sn(n)?n:new Promise(function(i){i(n)})}},{key:"getDeviceCapacity",value:function(n){var i=this,r=this.env.domain;this.env&&(r=this.env.domain);var a=r+"/api/lapp/device/capacity",l=function(T){T.code==200&&T.data&&(i.capacity=T.data)},s=n||{accessToken:this.accessToken,deviceSerial:Ke(this.url).deviceSerial};Gn(a,"POST",s,"",l)}},{key:"pause",value:function(){var n=this;return new Promise(function(i,r){n.jSPlugin.JS_CloseSound(0),n.jSPlugin.JS_Pause(0,function(a){n.setPoster(a.base64)}).then(function(a){n.Theme&&n.Theme.setDecoderState({play:!1}),i()}).catch(function(a){console.log(a),r(a)})})}},{key:"_resume",value:function(n){var i=this;return new Promise(function(r,a){i.pluginStatus.setPlayStatus({play:!1,loading:!0}),i.jSPlugin.JS_Resume(n).then(function(l){if(setTimeout(function(){i.url.indexOf(".rec")!==-1&&i.speed!=1&&i.jSPlugin.JS_Speed(i.speed)},500),i.Theme){i.Theme.setDecoderState({play:!0,speed:i.speed});var s=i.Theme.decoderState.state.sound;s&&setTimeout(function(){i.openSound()},500)}r(l)}).catch(function(l){console.log("resume err",l),a(l)})})}}]),f}(),Je=null;function Us(f,u,n,i){return new WebControl({szPluginContainer:f,iServicePortStart:14510,iServicePortEnd:14519,cbConnectSuccess:u,cbConnectError:n,cbConnectClose:i})}function Hs(){Je!=null&&(Je.JS_DestroyWnd().then(function(){console.log("JS_DestroyWnd")},function(){}),Je.JS_StopService("window").then(function(){Je.JS_Disconnect().then(function(){console.log("JS_Disconnect")},function(){})}))}function Vs(f){f.responseMsg.eventName,console.log(f.responseMsg)}function Ws(){Je.JS_SetWindowControlCallback({cbIntegrationCallBack:Vs}),Je.JS_StartService("window",{dllPath:"./chain/cloudTransform.dll"}).then(function(){Je.JS_CreateWnd("playWnd",900,500).then(function(){console.log("JS_CreateWnd success")})})}function Gs(){console.log("cbConnectError"),Je=null,console.error("确认本地进程是否已安装并开启成功!")}function Zs(f){console.log("cbConnectClose"),Je=null}window.onscroll=function(){Je!=null&&Je.JS_Resize(900,500)},window.onresize=function(){Je!=null&&Je.JS_Resize(900,500)},window.onunload=function(){try{Je.JS_HideWnd(),Hs()}catch(f){console.error(f)}},window.onpagehide=function(){try{Je.JS_HideWnd()}catch(f){console.error(f)}};var Ks=function(){function f(u){var n=this;be(this,f),Fe(this,"changeModel",function(i,r){var a=n;n.switchVideo=parseInt(i),Je&&Je.JS_RequestInterface({funcName:"ChangeModel",arguments:encodeURI(JSON.stringify({model:i}))}).then(function(l){i==0?a.play({deviceSerial:r.deviceSerial,channelNo:r.channelNo,validateCode:r.validateCode}):a.play({deviceSerial:r.deviceSerial,channelNo:r.channelNo,validateCode:r.validateCode,startTime:r.startTime,endTime:r.endTime})})}),Fe(this,"init",function(i){var r,a=n;if(!i.appKey||!i.accessToken){a.showTips(!1,"请输入appkey和token");return}typeof i.appKey!="undefined"&&(n.appKey=i.appKey),typeof i.accessToken!="undefined"&&(n.accessToken=i.accessToken),typeof i.platformId!="undefined"&&(n.platformId=i.platformId);var l=(r={layout:+a.layout,userName:"",waterMark:""},Fe(r,"waterMark","1"),Fe(r,"iWndType",0),Fe(r,"intelligenceEnable",1),Fe(r,"isRecord",1),Fe(r,"isSetPos",1),Fe(r,"motionDetectEnable",0),Fe(r,"playBackAlarmOverlyingEnable",0),Fe(r,"response",{code:0,message:null,data:{appKey:i.appKey,ezvizToken:i.accessToken,videoLevel:0,logLevel:3,showMainTool:1,showSubTool:1,waterMark:"1",userName:"openteam",platformId:i.platformId}}),r);console.log("初始化入参",l),Je.JS_RequestInterface({funcName:"Init",arguments:encodeURI(JSON.stringify(l))}).then(function(s){console.log(s.responseMsg),a.showTips(!0,"视频初始化成功!")})}),Fe(this,"play",function(i){var r=n;if(!(!i.deviceSerial||!i.channelNo)){typeof i.deviceSerial!="undefined"&&(n.deviceSerial=i.deviceSerial),typeof i.channelNo!="undefined"&&(n.channelNo=i.channelNo),typeof i.startTime!="undefined"&&i.startTime&&(n.startTime=i.startTime+" 00:00:00"),typeof i.endTime!="undefined"&&i.endTime&&(n.endTime=i.endTime+" 23:59:59"),typeof i.validateCode!="undefined"&&i.validateCode&&(n.validateCode=i.validateCode);var a={response:{code:0,message:null,data:{deviceSerial:i.deviceSerial,channelCode:i.channelNo,channelNo:+i.channelNo,codeIsEncrypt:0,validateCode:i.validateCode,deviceClass:r.deviceClass,deviceType:"10222",channelId:"2222222222",channelName:"channelNameTest",storeName:"storeName",storeId:"storeid",startTime:n.startTime,endTime:n.endTime}}};r.deviceClass==="1"?(a.response.data.channelCode=r.channelNo,a.response.data.platformId=r.platformId):a.response.data.channelNo=+r.channelNo,n.switchVideo===1&&(n.startTime&&(a.response.data.startTime=n.startTime),n.endTime&&(a.response.data.endTime=n.endTime)),console.log("预览/回放入参",a),Je.JS_RequestInterface({funcName:n.switchVideo===0?"StartPreview":"StartPlayback",arguments:encodeURI(JSON.stringify(a))}).then(function(l){console.log(l.responseMsg),r.showTips(!0,"预览/回放成功!")}).catch(function(l){console.log("开始播放:",l)})}}),Fe(this,"showCBInfo",function(i){n.callbackMessage=n.callbackMessage+JSON.stringify(i)+` -`,console.log(n.callbackMessage)}),Fe(this,"showTips",function(i,r){}),Fe(this,"hideVideo",function(){Je.JS_HideWnd()}),Fe(this,"showVideo",function(){Je.JS_ShowWnd()}),Fe(this,"GetLayout",function(){var i=null;Je.JS_RequestInterface({funcName:"GetLayout",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:i}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"capturePicture",function(i){var r=null;Je.JS_RequestInterface({funcName:"CaptureJPGEx",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:r}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"stop",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;Je.JS_RequestInterface({funcName:"StopPlay",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"setLayout",function(i){var r=parseInt(i);if(isNaN(r)||r==0||r>=13){console.log("不支持实际布局大于16的窗口数");return}n.layout=r,Je.JS_RequestInterface({funcName:"SetLayout",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{layout:r}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"setSoundVolumn",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=arguments.length>1?arguments[1]:void 0;Je.JS_RequestInterface({funcName:"SoundVolumn",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i),volumn:parseInt(r)}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"testMute",function(){var i=parseInt(prompt("请输入窗口ID"));Je.JS_RequestInterface({funcName:"MuteOnOff",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:i}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"testSelectWnd",function(){var i=parseInt(prompt("请输入窗口ID"));Je.JS_RequestInterface({funcName:"SelectPlayWnd",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:i}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"setVideoLevel",function(i,r){Je.JS_RequestInterface({funcName:"SetVideoLevel",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:n.switchVideo==1?0:parseInt(i),level:parseInt(r,10)}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"startTalk",function(i){Je.JS_RequestInterface({funcName:"StartTalk",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"stopTalk",function(i){Je.JS_RequestInterface({funcName:"StopTalk",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"startSave",function(i){Je.JS_RequestInterface({funcName:"StartRecord",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"stopSave",function(i){Je.JS_RequestInterface({funcName:"StopRecord",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),this.appKey="b9a3ad6e8026410095d8252169fa430a",this.accessToken="at.2vtum8873rrcwbrv431qb6pn94dkbv23-8dw2twn355-1u3x014-wrthellzk",this.deviceSerial="C33368372",this.channelNo="1",this.validateCode="",this.deviceClass="0",this.platformId="",this.startTime="",this.endTime="",this.layout=2,this.switchVideo=0,this.tips="调用成功",this.successTip=!1,this.tipsShow=!1,Je=Us("playWnd",Ws,Gs,Zs)}return at(f,[{key:"alarmMsg",value:function(){var n={request:{body:{alarmTypes:[10800,0,0,0,0],channelId:"066dde0465dd4abaab6afe355baf9d0b",endTime:"1621007999000",startTime:"1620921600000"},callBack:"GetAlarmMsgOrders",majorKey:"",method:"POST",storeId:"",url:"/videoplugin/message/getMessageByTypes"},response:{code:0,message:null,data:[{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620921217e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620920678e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620920586e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919513e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919483e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919333e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918913e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918616e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918305e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917858e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917658e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917244e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917064e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916994e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916668e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916529e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916343e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916081e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915825e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915676e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915531e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915394e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915197e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914971e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914644e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914533e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914457e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914376e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914284e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620913973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620913431e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912771e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912354e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912275e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912093e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912024e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091189e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911839e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911807e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091176e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911682e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091127e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911184e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910982e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910851e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910781e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910727e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910677e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910647e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910588e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910544e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910484e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091041e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091035e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910278e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910217e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910124e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909976e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909939e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909847e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909817e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909736e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909664e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909605e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909575e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909346e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909247e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909149e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090912e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909028e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908999e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908969e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908909e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090888e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908835e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090875e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090872e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908652e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908612e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908582e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908552e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908456e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908426e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908299e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908268e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090805e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907918e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907758e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907625e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907386e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907292e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907127e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906864e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906828e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906797e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906747e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906717e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906632e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906368e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906329e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906142e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906013e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905946e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905823e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905697e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905622e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905541e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905511e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905481e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905442e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905382e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905352e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905322e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905262e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905196e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090515e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904994e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904813e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090473e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16209047e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904618e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904286e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904173e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904143e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904053e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904023e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903854e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903789e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903723e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903643e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903612e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903573e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903505e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903383e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903329e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903299e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903268e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16209032e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903149e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090312e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902977e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090286e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090277e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902639e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902609e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902517e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902373e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090232e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902253e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902198e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902132e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090194e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090185e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901789e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901746e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901685e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901638e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090152e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901489e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901424e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901271e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901233e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901157e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900915e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900774e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900744e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090065e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090044e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900409e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900175e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900134e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900069e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900016e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899976e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899908e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899879e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899826e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899756e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899599e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899559e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899467e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899406e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899265e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899211e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089914e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089911e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089905e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898991e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898926e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898785e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898746e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898697e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898666e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898507e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898293e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898248e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898218e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898157e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898088e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089802e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089796e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089785e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897807e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897771e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897719e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089769e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089763e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16208976e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089757e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089754e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897475e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897369e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897339e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897279e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897237e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897207e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897172e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897142e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897024e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896985e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896874e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896843e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896814e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896783e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896736e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896621e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896478e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896447e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896358e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896307e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896277e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896247e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896214e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089604e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895953e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895921e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895868e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089577e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895704e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089559e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895559e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089548e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895442e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895377e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895347e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895293e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895171e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895136e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895017e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894926e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894896e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894864e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894738e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894599e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894539e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894426e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894359e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894297e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894213e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894183e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894051e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893964e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893934e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893843e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893754e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893676e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893606e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089353e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893452e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893423e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893357e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893288e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893143e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893051e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893006e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892904e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892824e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892764e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892541e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892479e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892311e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892281e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892209e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892063e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891991e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089187e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089181e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891708e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891655e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891585e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891531e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891401e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891297e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891257e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891178e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891128e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891033e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089094e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890879e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890794e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890714e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890616e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890586e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890469e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890414e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890346e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890288e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890179e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890108e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890041e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890011e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889937e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889719e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889635e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889481e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889451e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889317e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889227e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889139e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889034e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888902e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888837e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888767e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888737e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888706e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888633e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888413e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888353e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888323e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888249e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888162e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888e6},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887859e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887776e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887734e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887692e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887619e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887355e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088732e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887289e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887126e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887066e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887034e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088697e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886884e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886804e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886728e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886609e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886538e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886478e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886396e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886334e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886246e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886111e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886011e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885956e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885894e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885696e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885514e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885484e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885414e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885383e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885341e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885306e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885276e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885186e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885114e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885037e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885006e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884975e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884945e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884911e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884851e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088478e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884696e3}],success:!0}};console.log(n),Je.JS_RequestInterface({funcName:"TransFunctionResult",arguments:encodeURI(JSON.stringify(n))})}}]),f}();(function(f,u){ue(ce)==="object"&&ue(ce.exports)==="object"?ce.exports=f.document?u(f,!0):function(n){if(!n.document)throw new Error("EZUIPlayer requires a window with a document");return u(n)}:u(f)})(typeof window!="undefined"?window:void 0,function(f,u){var n={Core:dn,HLS:ql,FLV:$l,EZUIKitPlayer:Os,EZUIKitHD:Ks};return f.EZUIKit=n,n})})(Mr,Mr.exports);var ph=Mr.exports;const Ah=ch(ph),fh="/openApi/screen2/pasture-management/cameras",hh=["邛溪镇","刷经寺镇","安曲镇","龙日镇","江茸乡","查尔玛乡","瓦切镇","阿木乡","麦洼乡","色地镇"];function gh(ce){if((ce==null?void 0:ce.success)===!1||(ce==null?void 0:ce.code)!==void 0&&![0,200,"0","200"].includes(ce.code)){const ue=new Error((ce==null?void 0:ce.msg)||(ce==null?void 0:ce.message)||"视频监控接口请求失败");throw ue.code=ce==null?void 0:ce.code,ue}return mh(ce)}function Pn(ce,Ye,ue=""){for(const be of Ye)if((ce==null?void 0:ce[be])!==void 0&&(ce==null?void 0:ce[be])!==null&&(ce==null?void 0:ce[be])!=="")return ce[be];return ue}function vh(ce,Ye){for(const ue of Ye)if((ce==null?void 0:ce[ue])!==void 0&&(ce==null?void 0:ce[ue])!==null&&(ce==null?void 0:ce[ue])!=="")return{key:ue,value:ce[ue]};return null}function Vl(ce){return Pn(ce,["token","accessToken","access_token"])}function yh(ce){return Pn(ce,["hdPlayUrl","hd_play_url","playUrl","play_url","url"])}function qo(ce){return!!(Vl(ce)&&yh(ce))}function Th(ce){return vh(ce,["isOnline","is_online","online","onlineStatus","online_status","statusName","status_name","deviceStatus","device_status","cameraStatus","camera_status","rawStatus","raw_status","status","state","deviceState","device_state"])}function Wl(ce){const Ye=qo(ce),ue=Th(ce);if(!ue)return{online:Ye,raw:"",reason:Ye?"后台未返回设备状态":"缺少播放地址或令牌"};const be=ue.value;if(typeof be=="boolean")return{online:be,raw:be?"在线":"离线",reason:`后台状态:${be?"在线":"离线"}`};const bt=String(be!=null?be:"").trim().toLowerCase();return bt?typeof be=="number"||/^-?\d+(\.\d+)?$/.test(bt)?{online:Number(be)!==0,raw:String(be),reason:`后台状态:${be}`}:["true","online","on","open","running","active","enabled"].includes(bt)?{online:!0,raw:String(be),reason:`后台状态:${be}`}:["false","offline","off","closed","disabled","stop","stopped"].includes(bt)?{online:!1,raw:String(be),reason:`后台状态:${be}`}:/(离线|不在线|未在线|断线|断开|异常|故障|停用|不可用|offline|disabled|closed|stop)/i.test(bt)?{online:!1,raw:String(be),reason:`后台状态:${be}`}:/(在线|直播中|正常|启用|可用|online|enabled|open|running|active)/i.test(bt)?{online:!0,raw:String(be),reason:`后台状态:${be}`}:{online:Ye,raw:String(be),reason:`后台状态:${be}`}:{online:Ye,raw:"",reason:Ye?"后台状态为空":"缺少播放地址或令牌"}}function Sh(ce){return Wl(ce).online}function Ch(ce){return Pn(ce,["previewImgUrl","preview_img_url","latestCaptureUrl","latest_capture_url","img","image","cover","snapshot"])}function bh(ce){return Pn(ce,["lastCaptureTime","last_capture_time","captureTime","capture_time","latestCaptureTime","latest_capture_time"])}function Ph(ce){return!!(qo(ce)&&Sh(ce))}function wh(ce=""){const Ye=String(ce);return hh.find(be=>Ye.includes(be.replace(/[镇乡]$/,"")))||"红原县"}function Eh(ce=""){const Ye=String(ce);return Ye.includes("养殖")?"养殖基地":Ye.includes("饲草")?"饲草基地":Ye.includes("种草")||Ye.includes("牧草")?"牧草基地":Ye.includes("虫情")?"虫情监测":Ye.includes("机场")?"机场周边":"重点点位"}function Ih(ce,Ye){const ue=Pn(ce,["hdPlayUrl","playUrl","url"]),be=String(ue).match(/\/(\d+)(?:\.hd)?\.live/i);return be?be[1].padStart(2,"0"):String(Ye+1).padStart(2,"0")}function xh(){return new Date().toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",hour12:!1})}function _h(ce,Ye,ue,be){const bt=Pn(ce,["name","title","deviceName"],`视频监控${Ye+1}`),at=Pn(ce,["hdPlayUrl","hd_play_url","url"]),Fe=Pn(ce,["playUrl","play_url"],at),dn=Vl(ce),Pt=Wl(ce),ln=!!(qo(ce)&&Pt.online),sn=ue?Math.round(be/ue*100):0;return{key:Pn(ce,["id","number","deviceSerial"],`${bt}-${Ye}`),title:bt,town:wh(bt),scene:Eh(bt),device:Pn(ce,["number","deviceSerial","serialNumber"],`CAM-${String(Ye+1).padStart(3,"0")}`),channel:Ih(ce,Ye),cameraCount:ue,status:ln?"直播中":"离线",rawStatus:Pt.raw,statusReason:Pt.reason,onlineRate:sn,updateTime:xh(),operator:ln?"萤石云 · 在线预览":Pt.reason,progress:ln?100:0,image:Ch(ce),lastCaptureTime:bh(ce),playUrl:Fe,hdPlayUrl:at,token:dn,source:ce}}function Dh(){return Hl(this,arguments,function*(ce={}){const{includeOffline:Ye=!1}=ce,ue=yield uh(fh,{params:{includeOffline:Ye},timeout:18e3}).then(gh),be=Array.isArray(ue)?ue:(ue==null?void 0:ue.rows)||(ue==null?void 0:ue.list)||[],bt=be.filter(Ph),at=be.map((Fe,dn)=>_h(Fe,dn,be.length,bt.length));return Ye?at.sort((Fe,dn)=>+(dn.status==="直播中")-+(Fe.status==="直播中")):at.filter(Fe=>Fe.status==="直播中")})}const Mh=""+new URL("live-scene-1-786cdd0a-balabala-1786725044461.png",import.meta.url).href;export{Ah as E,Dh as g,Mh as l}; +`,console.log(n.callbackMessage)}),Fe(this,"showTips",function(i,r){}),Fe(this,"hideVideo",function(){Je.JS_HideWnd()}),Fe(this,"showVideo",function(){Je.JS_ShowWnd()}),Fe(this,"GetLayout",function(){var i=null;Je.JS_RequestInterface({funcName:"GetLayout",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:i}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"capturePicture",function(i){var r=null;Je.JS_RequestInterface({funcName:"CaptureJPGEx",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:r}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"stop",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;Je.JS_RequestInterface({funcName:"StopPlay",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"setLayout",function(i){var r=parseInt(i);if(isNaN(r)||r==0||r>=13){console.log("不支持实际布局大于16的窗口数");return}n.layout=r,Je.JS_RequestInterface({funcName:"SetLayout",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{layout:r}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"setSoundVolumn",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=arguments.length>1?arguments[1]:void 0;Je.JS_RequestInterface({funcName:"SoundVolumn",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i),volumn:parseInt(r)}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"testMute",function(){var i=parseInt(prompt("请输入窗口ID"));Je.JS_RequestInterface({funcName:"MuteOnOff",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:i}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"testSelectWnd",function(){var i=parseInt(prompt("请输入窗口ID"));Je.JS_RequestInterface({funcName:"SelectPlayWnd",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:i}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"setVideoLevel",function(i,r){Je.JS_RequestInterface({funcName:"SetVideoLevel",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:n.switchVideo==1?0:parseInt(i),level:parseInt(r,10)}}}))}).then(function(a){console.log(JSON.stringify(a.responseMsg)),console.log(a.responseMsg)})}),Fe(this,"startTalk",function(i){Je.JS_RequestInterface({funcName:"StartTalk",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"stopTalk",function(i){Je.JS_RequestInterface({funcName:"StopTalk",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"startSave",function(i){Je.JS_RequestInterface({funcName:"StartRecord",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),Fe(this,"stopSave",function(i){Je.JS_RequestInterface({funcName:"StopRecord",arguments:encodeURI(JSON.stringify({response:{code:0,message:null,data:{wndId:parseInt(i)}}}))}).then(function(r){console.log(JSON.stringify(r.responseMsg)),console.log(r.responseMsg)})}),this.appKey="b9a3ad6e8026410095d8252169fa430a",this.accessToken="at.2vtum8873rrcwbrv431qb6pn94dkbv23-8dw2twn355-1u3x014-wrthellzk",this.deviceSerial="C33368372",this.channelNo="1",this.validateCode="",this.deviceClass="0",this.platformId="",this.startTime="",this.endTime="",this.layout=2,this.switchVideo=0,this.tips="调用成功",this.successTip=!1,this.tipsShow=!1,Je=Us("playWnd",Ws,Gs,Zs)}return at(f,[{key:"alarmMsg",value:function(){var n={request:{body:{alarmTypes:[10800,0,0,0,0],channelId:"066dde0465dd4abaab6afe355baf9d0b",endTime:"1621007999000",startTime:"1620921600000"},callBack:"GetAlarmMsgOrders",majorKey:"",method:"POST",storeId:"",url:"/videoplugin/message/getMessageByTypes"},response:{code:0,message:null,data:[{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620921217e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620920678e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620920586e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919513e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919483e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620919333e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918913e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918616e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620918305e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917858e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917658e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917244e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620917064e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916994e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916668e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916529e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916343e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620916081e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915825e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915676e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915531e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915394e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620915197e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914971e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914644e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914533e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914457e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914376e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620914284e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620913973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620913431e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912771e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912354e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912275e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912093e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620912024e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091189e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911839e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911807e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091176e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911682e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091127e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620911184e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910982e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910851e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910781e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910727e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910677e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910647e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910588e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910544e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910484e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091041e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162091035e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910278e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910217e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620910124e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909976e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909939e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909847e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909817e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909736e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909664e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909605e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909575e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909346e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909247e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909149e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090912e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620909028e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908999e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908969e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908909e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090888e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908835e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090875e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090872e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908652e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908612e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908582e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908552e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908456e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908426e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908299e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620908268e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090805e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907918e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907758e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907625e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907386e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907292e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620907127e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906864e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906828e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906797e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906747e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906717e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906632e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906368e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906329e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906142e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620906013e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905946e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905823e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905697e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905622e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905541e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905511e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905481e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905442e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905382e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905352e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905322e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905262e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620905196e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090515e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904994e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904813e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090473e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16209047e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904618e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904286e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904173e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904143e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904053e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620904023e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903854e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903789e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903723e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903643e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903612e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903573e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903505e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903383e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903329e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903299e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903268e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16209032e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620903149e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090312e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902977e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090286e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090277e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902639e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902609e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902517e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902373e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090232e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902253e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902198e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620902132e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090194e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090185e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901789e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901746e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901685e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901638e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090152e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901489e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901424e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901271e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901233e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620901157e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900915e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900774e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900744e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090065e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162090044e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900409e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900175e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900134e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900069e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620900016e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899976e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899908e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899879e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899826e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899756e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899599e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899559e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899467e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899406e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899265e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620899211e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089914e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089911e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089905e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898991e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898926e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898785e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898746e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898697e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898666e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898507e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898293e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898248e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898218e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898157e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620898088e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089802e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089796e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089785e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897807e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897771e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897719e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089769e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089763e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:16208976e5},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089757e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089754e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897475e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897369e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897339e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897279e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897237e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897207e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897172e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897142e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897112e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620897024e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896985e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896874e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896843e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896814e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896783e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896736e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896621e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896478e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896447e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896358e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896307e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896277e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896247e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620896214e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089604e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895953e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895921e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895868e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089577e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895704e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089559e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895559e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089548e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895442e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895377e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895347e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895293e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895171e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895136e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620895017e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894926e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894896e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894864e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894834e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894738e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894599e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894539e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894426e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894359e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894297e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894213e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894183e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620894051e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893964e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893934e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893843e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893754e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893676e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893606e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089353e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893452e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893423e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893357e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893288e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893143e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893051e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620893006e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892904e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892824e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892764e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892541e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892479e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892412e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892311e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892281e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892209e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620892063e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891991e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891931e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089187e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089181e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891708e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891655e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891585e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891531e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891401e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891297e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891257e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891178e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891128e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620891033e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162089094e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890879e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890794e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890714e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890616e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890586e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890469e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890414e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890346e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890288e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890179e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890108e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890041e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620890011e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889937e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889719e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889635e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889481e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889451e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889317e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889227e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889139e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620889034e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888973e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888902e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888837e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888767e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888737e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888706e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888633e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888571e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888413e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888353e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888323e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888249e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888162e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620888e6},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887859e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887776e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887734e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887692e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887619e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887501e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887355e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088732e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887289e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887126e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887066e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620887034e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088697e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886884e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886804e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886728e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886609e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886538e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886478e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886396e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886334e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886246e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886111e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620886011e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885956e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885894e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885696e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885514e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885484e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885414e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885383e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885341e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885306e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885276e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885216e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885186e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885114e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885037e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620885006e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884975e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884945e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884911e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884851e3},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:162088478e4},{alarmType:10800,alarmName:"移动侦测报警",alarmTime:1620884696e3}],success:!0}};console.log(n),Je.JS_RequestInterface({funcName:"TransFunctionResult",arguments:encodeURI(JSON.stringify(n))})}}]),f}();(function(f,u){ue(ce)==="object"&&ue(ce.exports)==="object"?ce.exports=f.document?u(f,!0):function(n){if(!n.document)throw new Error("EZUIPlayer requires a window with a document");return u(n)}:u(f)})(typeof window!="undefined"?window:void 0,function(f,u){var n={Core:dn,HLS:ql,FLV:$l,EZUIKitPlayer:Os,EZUIKitHD:Ks};return f.EZUIKit=n,n})})(Mr,Mr.exports);var ph=Mr.exports;const Ah=ch(ph),fh="/openApi/screen2/pasture-management/cameras",hh=["邛溪镇","刷经寺镇","安曲镇","龙日镇","江茸乡","查尔玛乡","瓦切镇","阿木乡","麦洼乡","色地镇"];function gh(ce){if((ce==null?void 0:ce.success)===!1||(ce==null?void 0:ce.code)!==void 0&&![0,200,"0","200"].includes(ce.code)){const ue=new Error((ce==null?void 0:ce.msg)||(ce==null?void 0:ce.message)||"视频监控接口请求失败");throw ue.code=ce==null?void 0:ce.code,ue}return mh(ce)}function Pn(ce,Ye,ue=""){for(const be of Ye)if((ce==null?void 0:ce[be])!==void 0&&(ce==null?void 0:ce[be])!==null&&(ce==null?void 0:ce[be])!=="")return ce[be];return ue}function vh(ce,Ye){for(const ue of Ye)if((ce==null?void 0:ce[ue])!==void 0&&(ce==null?void 0:ce[ue])!==null&&(ce==null?void 0:ce[ue])!=="")return{key:ue,value:ce[ue]};return null}function Vl(ce){return Pn(ce,["token","accessToken","access_token"])}function yh(ce){return Pn(ce,["hdPlayUrl","hd_play_url","playUrl","play_url","url"])}function qo(ce){return!!(Vl(ce)&&yh(ce))}function Th(ce){return vh(ce,["isOnline","is_online","online","onlineStatus","online_status","statusName","status_name","deviceStatus","device_status","cameraStatus","camera_status","rawStatus","raw_status","status","state","deviceState","device_state"])}function Wl(ce){const Ye=qo(ce),ue=Th(ce);if(!ue)return{online:Ye,raw:"",reason:Ye?"后台未返回设备状态":"缺少播放地址或令牌"};const be=ue.value;if(typeof be=="boolean")return{online:be,raw:be?"在线":"离线",reason:`后台状态:${be?"在线":"离线"}`};const bt=String(be!=null?be:"").trim().toLowerCase();return bt?typeof be=="number"||/^-?\d+(\.\d+)?$/.test(bt)?{online:Number(be)!==0,raw:String(be),reason:`后台状态:${be}`}:["true","online","on","open","running","active","enabled"].includes(bt)?{online:!0,raw:String(be),reason:`后台状态:${be}`}:["false","offline","off","closed","disabled","stop","stopped"].includes(bt)?{online:!1,raw:String(be),reason:`后台状态:${be}`}:/(离线|不在线|未在线|断线|断开|异常|故障|停用|不可用|offline|disabled|closed|stop)/i.test(bt)?{online:!1,raw:String(be),reason:`后台状态:${be}`}:/(在线|直播中|正常|启用|可用|online|enabled|open|running|active)/i.test(bt)?{online:!0,raw:String(be),reason:`后台状态:${be}`}:{online:Ye,raw:String(be),reason:`后台状态:${be}`}:{online:Ye,raw:"",reason:Ye?"后台状态为空":"缺少播放地址或令牌"}}function Sh(ce){return Wl(ce).online}function Ch(ce){return Pn(ce,["previewImgUrl","preview_img_url","latestCaptureUrl","latest_capture_url","img","image","cover","snapshot"])}function bh(ce){return Pn(ce,["lastCaptureTime","last_capture_time","captureTime","capture_time","latestCaptureTime","latest_capture_time"])}function Ph(ce){return!!(qo(ce)&&Sh(ce))}function wh(ce=""){const Ye=String(ce);return hh.find(be=>Ye.includes(be.replace(/[镇乡]$/,"")))||"红原县"}function Eh(ce=""){const Ye=String(ce);return Ye.includes("养殖")?"养殖基地":Ye.includes("饲草")?"饲草基地":Ye.includes("种草")||Ye.includes("牧草")?"牧草基地":Ye.includes("虫情")?"虫情监测":Ye.includes("机场")?"机场周边":"重点点位"}function Ih(ce,Ye){const ue=Pn(ce,["hdPlayUrl","playUrl","url"]),be=String(ue).match(/\/(\d+)(?:\.hd)?\.live/i);return be?be[1].padStart(2,"0"):String(Ye+1).padStart(2,"0")}function xh(){return new Date().toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",hour12:!1})}function _h(ce,Ye,ue,be){const bt=Pn(ce,["name","title","deviceName"],`视频监控${Ye+1}`),at=Pn(ce,["hdPlayUrl","hd_play_url","url"]),Fe=Pn(ce,["playUrl","play_url"],at),dn=Vl(ce),Pt=Wl(ce),ln=!!(qo(ce)&&Pt.online),sn=ue?Math.round(be/ue*100):0;return{key:Pn(ce,["id","number","deviceSerial"],`${bt}-${Ye}`),title:bt,town:wh(bt),scene:Eh(bt),device:Pn(ce,["number","deviceSerial","serialNumber"],`CAM-${String(Ye+1).padStart(3,"0")}`),channel:Ih(ce,Ye),cameraCount:ue,status:ln?"直播中":"离线",rawStatus:Pt.raw,statusReason:Pt.reason,onlineRate:sn,updateTime:xh(),operator:ln?"萤石云 · 在线预览":Pt.reason,progress:ln?100:0,image:Ch(ce),lastCaptureTime:bh(ce),playUrl:Fe,hdPlayUrl:at,token:dn,source:ce}}function Dh(){return Hl(this,arguments,function*(ce={}){const{includeOffline:Ye=!1}=ce,ue=yield uh(fh,{params:{includeOffline:Ye},timeout:18e3}).then(gh),be=Array.isArray(ue)?ue:(ue==null?void 0:ue.rows)||(ue==null?void 0:ue.list)||[],bt=be.filter(Ph),at=be.map((Fe,dn)=>_h(Fe,dn,be.length,bt.length));return Ye?at.sort((Fe,dn)=>+(dn.status==="直播中")-+(Fe.status==="直播中")):at.filter(Fe=>Fe.status==="直播中")})}const Mh=""+new URL("live-scene-1-786cdd0a-balabala-1786807848259.png",import.meta.url).href;export{Ah as E,Dh as g,Mh as l}; diff --git a/docs/assets/live-scene-1-786cdd0a-balabala-1786725044461.png b/docs/assets/live-scene-1-786cdd0a-balabala-1786807848259.png similarity index 100% rename from docs/assets/live-scene-1-786cdd0a-balabala-1786725044461.png rename to docs/assets/live-scene-1-786cdd0a-balabala-1786807848259.png diff --git a/docs/assets/menu-btn-91a961cf-balabala-1786725044461.png b/docs/assets/menu-btn-91a961cf-balabala-1786807848259.png similarity index 100% rename from docs/assets/menu-btn-91a961cf-balabala-1786725044461.png rename to docs/assets/menu-btn-91a961cf-balabala-1786807848259.png diff --git a/docs/assets/menu-btn-hover-62eba0bb-balabala-1786725044461.png b/docs/assets/menu-btn-hover-62eba0bb-balabala-1786807848259.png similarity index 100% rename from docs/assets/menu-btn-hover-62eba0bb-balabala-1786725044461.png rename to docs/assets/menu-btn-hover-62eba0bb-balabala-1786807848259.png diff --git a/docs/assets/ocean-bg-8c848b8f-balabala-1786725044461.png b/docs/assets/ocean-bg-8c848b8f-balabala-1786807848259.png similarity index 100% rename from docs/assets/ocean-bg-8c848b8f-balabala-1786725044461.png rename to docs/assets/ocean-bg-8c848b8f-balabala-1786807848259.png diff --git a/docs/assets/park-ee0533e0-balabala-1786725044461.png b/docs/assets/park-ee0533e0-balabala-1786807848259.png similarity index 100% rename from docs/assets/park-ee0533e0-balabala-1786725044461.png rename to docs/assets/park-ee0533e0-balabala-1786807848259.png diff --git a/docs/assets/pathLine2-d4134d4b-balabala-1786725044461.png b/docs/assets/pathLine2-d4134d4b-balabala-1786807848259.png similarity index 100% rename from docs/assets/pathLine2-d4134d4b-balabala-1786725044461.png rename to docs/assets/pathLine2-d4134d4b-balabala-1786807848259.png diff --git a/docs/assets/resourceDetailRows-3e3a25c8-1786725044461.js b/docs/assets/resourceDetailRows-4a1c39d1-1786807848259.js similarity index 98% rename from docs/assets/resourceDetailRows-3e3a25c8-1786725044461.js rename to docs/assets/resourceDetailRows-4a1c39d1-1786807848259.js index afcc094..fa0614a 100644 --- a/docs/assets/resourceDetailRows-3e3a25c8-1786725044461.js +++ b/docs/assets/resourceDetailRows-4a1c39d1-1786807848259.js @@ -1 +1 @@ -var m=(a,e,s)=>new Promise((n,c)=>{var i=_=>{try{r(s.next(_))}catch(u){c(u)}},h=_=>{try{r(s.throw(_))}catch(u){c(u)}},r=_=>_.done?n(_.value):Promise.resolve(_.value).then(i,h);r((s=s.apply(a,e)).next())});import{a3 as f,k as b}from"./index-1786725044461.js";const N="/openApi/screen2/resource-management";function $(a,e=2023){return m(this,null,function*(){return f(yield b(`${N}/dashboard`,{params:{topic:a,year:e}}))||x(a)})}function D(a,e){return m(this,null,function*(){return f(yield b(`${N}/ranking`,{params:{topic:a,layer:e}}))||S(a,e)})}function k(a,e){return m(this,null,function*(){return f(yield b(`${N}/detail`,{params:{resourceType:a,wkt:e}}))||null})}function x(a){return{status:"empty",hasData:!1,topicKey:a,top:[],core:[],leftPanels:[],rightPanels:[]}}function S(a,e){return{status:"empty",topicKey:a,layerKey:e,title:"",unit:"",rows:[]}}const o=a=>a!=null&&String(a).trim()!==""&&String(a).trim()!=="null"&&String(a).trim()!=="undefined",t=(a={},e=[])=>{for(const s of e)if(o(a==null?void 0:a[s]))return a[s];return""},w=a=>{const e=Number(a);return Number.isFinite(e)?Number.isInteger(e)?String(e):String(Number(e.toFixed(2))):String(a||"").trim()},d=a=>e=>{const s=w(e);return s.endsWith(a)?s:`${s}${a}`},y=(a,e)=>s=>{const n=Number(s);return Number.isFinite(n)?`${w(n/e)}${a}`:d(a)(s)},v=a=>{const e=String(a||"").trim();return/级$/.test(e)?e:`${e}级`},L=a=>String(a||"").trim().replace(/草原/g,"湿地"),R=a=>{const e=String(a||"").trim();return e==="0"?"未划定":e==="1"?"国家一级公益林":e==="2"?"国家二级公益林":e},j=a=>{const e=String(a||"").trim();return e==="10"?"集体林地":e==="20"?"国有或其他":e};function l(a,e,s,n=c=>String(c).trim()){if(!o(s))return;const c=n(s);o(c)&&a.push({key:`${e}-${a.length}`,label:e,value:c})}function C(a,e={}){const s=String(a||e.resourceType||e.resource_type||"").toLowerCase(),n=[];return s==="wetland"?(l(n,"湿地类型",t(e,["wetlandMinType","wetland_min_type","grassMinType","grass_min_type","wetlandTypeName","wetland_type_name"])),l(n,"所在区域",t(e,["regionName","region_name","fullName","full_name","townName","town_name"])),l(n,"湿地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"地类名称",t(e,["landUseName","land_use_name","landClassName","land_class_name"])),l(n,"湿地级别",t(e,["wetlandLevel","wetland_level","grasslandLevel","grassland_level"]),L),l(n,"鲜草产量",t(e,["freshYieldJin","fresh_yield_jin","xcYield","xc_yield"]),d("斤")),l(n,"干草产量",t(e,["dryYieldJin","dry_yield_jin","gcYield","gc_yield"]),y("吨",2e3)),l(n,"小班干草产量",t(e,["subparcelDryYieldJin","subparcel_dry_yield_jin","xbGcYield","xb_gc_yield"]),y("吨",2e3)),l(n,"小班鲜草产量",t(e,["subparcelFreshYieldJin","subparcel_fresh_yield_jin","xbXcYield","xb_xc_yield"]),y("吨",2e3)),n):(l(n,"图斑编号",t(e,["patchNo","patch_no","landNumber","land_number"])),l(n,"所在乡镇",t(e,["townName","town_name","xiangName","xiang_name"])),s==="basicgrassland"||s==="basic-grassland"?(l(n,"草原分类",t(e,["grasslandCategoryName","grassland_category_name"])),l(n,"地类名称",t(e,["landClassName","land_class_name","landUseName","land_use_name"])),l(n,"图斑面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩"))):s==="grassland"?(l(n,"草地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"地类名称",t(e,["landUseName","land_use_name","land_class_name"])),l(n,"草原类",t(e,["grassTypeName","grass_type_name","grassland_type_name"])),l(n,"草原型",t(e,["grassMinType","grass_min_type"])),l(n,"草原级别",t(e,["grasslandLevel","grassland_level"])),l(n,"退化等级",t(e,["degradationLevel","degradation_level"])),l(n,"植被盖度",t(e,["vegetationCoverPercent","vegetation_cover_percent","vegetationCover","vegetation_cover"]),d("%")),l(n,"鲜草亩产",t(e,["freshMuYieldJin","fresh_mu_yield_jin","xcMuYield","xc_mu_yield"]),d("斤/亩")),l(n,"干草亩产",t(e,["dryMuYieldJin","dry_mu_yield_jin","gcMuYield","gc_mu_yield"]),d("斤/亩")),l(n,"草地生产力",t(e,["grassProductivityKgHa","grass_productivity_kg_ha"]),d("kg/公顷"))):s==="woodland"&&(l(n,"林地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"林地类型",t(e,["woodlandTypeName","woodland_type_name","dlmc"])),l(n,"公益林等级",t(e,["publicForestLevel","public_forest_level","gjgyl_bhdj"]),R),l(n,"保护等级",t(e,["protectionLevel","protection_level","bh_dj"])),l(n,"质量等级",t(e,["qualityLevel","quality_level","zl_dj"]),v),l(n,"优势树种",t(e,["dominantTreeSpecies","dominant_tree_species","you_shi_sz"])),l(n,"起源",t(e,["originName","origin_name","qi_yuan"])),l(n,"龄组",t(e,["ageGroup","age_group","ling_zu"])),l(n,"郁闭度",t(e,["canopyDensity","canopy_density","yu_bi_du"]),w),l(n,"林地权属",t(e,["woodlandOwnershipCode","woodland_ownership_code","ld_qs"]),j),l(n,"生态区位",t(e,["ecologicalLocationName","ecological_location_name","stqwmc"])),l(n,"坡度等级",t(e,["slopeClass","slope_class"]),v)),n)}const T={管理用房:"生产管理用房"};function F(a={}){const e=[],s=a.metrics||{},n=a.attributes||{},c=new Set,i=(r,_,u)=>{const g=T[r]||r;c.has(g)||!o(_)||(l(e,g,_,u),c.add(g))};return i("名称",t(a,["name","fullName","full_name"])),i("所在乡镇",t(a,["town","areaName","townName","town_name"])),i("所在村",t(a,["village","address","villageName","village_name"])),i("户主",t(a,["owner"])||n.户主),i("建设年份",t(a,["constructionYear","construction_year"]),d("年")),i("建设状态",t(a,["status","operationStatus","operation_status"])),(Array.isArray(a.detailRows)?a.detailRows:[]).forEach(r=>i((r==null?void 0:r.label)||(r==null?void 0:r.name),r==null?void 0:r.value)),i("标准化暖棚",s["标准化暖棚 (㎡)"],d("㎡")),i("生产管理用房",s["管理用房 (㎡)"],d("㎡")),i("饲草料库",s["饲草料库 (㎡)"],d("㎡")),i("活动场地及通道",s["活动场地及通道 (㎡)"],d("㎡")),i("配套草料地",s["配套草料地 (亩)"],d("亩")),i("草料配套",a.grassSupportText||n.草料配套),i("设施配置",a.facilityDetail||n.设施配置),e}export{C as a,F as b,$ as c,x as d,D as e,S as f,k as g}; +var m=(a,e,s)=>new Promise((n,c)=>{var i=_=>{try{r(s.next(_))}catch(u){c(u)}},h=_=>{try{r(s.throw(_))}catch(u){c(u)}},r=_=>_.done?n(_.value):Promise.resolve(_.value).then(i,h);r((s=s.apply(a,e)).next())});import{a8 as f,k as b}from"./index-1786807848259.js";const N="/openApi/screen2/resource-management";function $(a,e=2023){return m(this,null,function*(){return f(yield b(`${N}/dashboard`,{params:{topic:a,year:e}}))||x(a)})}function D(a,e){return m(this,null,function*(){return f(yield b(`${N}/ranking`,{params:{topic:a,layer:e}}))||S(a,e)})}function k(a,e){return m(this,null,function*(){return f(yield b(`${N}/detail`,{params:{resourceType:a,wkt:e}}))||null})}function x(a){return{status:"empty",hasData:!1,topicKey:a,top:[],core:[],leftPanels:[],rightPanels:[]}}function S(a,e){return{status:"empty",topicKey:a,layerKey:e,title:"",unit:"",rows:[]}}const o=a=>a!=null&&String(a).trim()!==""&&String(a).trim()!=="null"&&String(a).trim()!=="undefined",t=(a={},e=[])=>{for(const s of e)if(o(a==null?void 0:a[s]))return a[s];return""},w=a=>{const e=Number(a);return Number.isFinite(e)?Number.isInteger(e)?String(e):String(Number(e.toFixed(2))):String(a||"").trim()},d=a=>e=>{const s=w(e);return s.endsWith(a)?s:`${s}${a}`},y=(a,e)=>s=>{const n=Number(s);return Number.isFinite(n)?`${w(n/e)}${a}`:d(a)(s)},v=a=>{const e=String(a||"").trim();return/级$/.test(e)?e:`${e}级`},L=a=>String(a||"").trim().replace(/草原/g,"湿地"),R=a=>{const e=String(a||"").trim();return e==="0"?"未划定":e==="1"?"国家一级公益林":e==="2"?"国家二级公益林":e},j=a=>{const e=String(a||"").trim();return e==="10"?"集体林地":e==="20"?"国有或其他":e};function l(a,e,s,n=c=>String(c).trim()){if(!o(s))return;const c=n(s);o(c)&&a.push({key:`${e}-${a.length}`,label:e,value:c})}function C(a,e={}){const s=String(a||e.resourceType||e.resource_type||"").toLowerCase(),n=[];return s==="wetland"?(l(n,"湿地类型",t(e,["wetlandMinType","wetland_min_type","grassMinType","grass_min_type","wetlandTypeName","wetland_type_name"])),l(n,"所在区域",t(e,["regionName","region_name","fullName","full_name","townName","town_name"])),l(n,"湿地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"地类名称",t(e,["landUseName","land_use_name","landClassName","land_class_name"])),l(n,"湿地级别",t(e,["wetlandLevel","wetland_level","grasslandLevel","grassland_level"]),L),l(n,"鲜草产量",t(e,["freshYieldJin","fresh_yield_jin","xcYield","xc_yield"]),d("斤")),l(n,"干草产量",t(e,["dryYieldJin","dry_yield_jin","gcYield","gc_yield"]),y("吨",2e3)),l(n,"小班干草产量",t(e,["subparcelDryYieldJin","subparcel_dry_yield_jin","xbGcYield","xb_gc_yield"]),y("吨",2e3)),l(n,"小班鲜草产量",t(e,["subparcelFreshYieldJin","subparcel_fresh_yield_jin","xbXcYield","xb_xc_yield"]),y("吨",2e3)),n):(l(n,"图斑编号",t(e,["patchNo","patch_no","landNumber","land_number"])),l(n,"所在乡镇",t(e,["townName","town_name","xiangName","xiang_name"])),s==="basicgrassland"||s==="basic-grassland"?(l(n,"草原分类",t(e,["grasslandCategoryName","grassland_category_name"])),l(n,"地类名称",t(e,["landClassName","land_class_name","landUseName","land_use_name"])),l(n,"图斑面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩"))):s==="grassland"?(l(n,"草地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"地类名称",t(e,["landUseName","land_use_name","land_class_name"])),l(n,"草原类",t(e,["grassTypeName","grass_type_name","grassland_type_name"])),l(n,"草原型",t(e,["grassMinType","grass_min_type"])),l(n,"草原级别",t(e,["grasslandLevel","grassland_level"])),l(n,"退化等级",t(e,["degradationLevel","degradation_level"])),l(n,"植被盖度",t(e,["vegetationCoverPercent","vegetation_cover_percent","vegetationCover","vegetation_cover"]),d("%")),l(n,"鲜草亩产",t(e,["freshMuYieldJin","fresh_mu_yield_jin","xcMuYield","xc_mu_yield"]),d("斤/亩")),l(n,"干草亩产",t(e,["dryMuYieldJin","dry_mu_yield_jin","gcMuYield","gc_mu_yield"]),d("斤/亩")),l(n,"草地生产力",t(e,["grassProductivityKgHa","grass_productivity_kg_ha"]),d("kg/公顷"))):s==="woodland"&&(l(n,"林地面积",t(e,["areaMu","area_mu","acreage","mj"]),d("亩")),l(n,"林地类型",t(e,["woodlandTypeName","woodland_type_name","dlmc"])),l(n,"公益林等级",t(e,["publicForestLevel","public_forest_level","gjgyl_bhdj"]),R),l(n,"保护等级",t(e,["protectionLevel","protection_level","bh_dj"])),l(n,"质量等级",t(e,["qualityLevel","quality_level","zl_dj"]),v),l(n,"优势树种",t(e,["dominantTreeSpecies","dominant_tree_species","you_shi_sz"])),l(n,"起源",t(e,["originName","origin_name","qi_yuan"])),l(n,"龄组",t(e,["ageGroup","age_group","ling_zu"])),l(n,"郁闭度",t(e,["canopyDensity","canopy_density","yu_bi_du"]),w),l(n,"林地权属",t(e,["woodlandOwnershipCode","woodland_ownership_code","ld_qs"]),j),l(n,"生态区位",t(e,["ecologicalLocationName","ecological_location_name","stqwmc"])),l(n,"坡度等级",t(e,["slopeClass","slope_class"]),v)),n)}const T={管理用房:"生产管理用房"};function F(a={}){const e=[],s=a.metrics||{},n=a.attributes||{},c=new Set,i=(r,_,u)=>{const g=T[r]||r;c.has(g)||!o(_)||(l(e,g,_,u),c.add(g))};return i("名称",t(a,["name","fullName","full_name"])),i("所在乡镇",t(a,["town","areaName","townName","town_name"])),i("所在村",t(a,["village","address","villageName","village_name"])),i("户主",t(a,["owner"])||n.户主),i("建设年份",t(a,["constructionYear","construction_year"]),d("年")),i("建设状态",t(a,["status","operationStatus","operation_status"])),(Array.isArray(a.detailRows)?a.detailRows:[]).forEach(r=>i((r==null?void 0:r.label)||(r==null?void 0:r.name),r==null?void 0:r.value)),i("标准化暖棚",s["标准化暖棚 (㎡)"],d("㎡")),i("生产管理用房",s["管理用房 (㎡)"],d("㎡")),i("饲草料库",s["饲草料库 (㎡)"],d("㎡")),i("活动场地及通道",s["活动场地及通道 (㎡)"],d("㎡")),i("配套草料地",s["配套草料地 (亩)"],d("亩")),i("草料配套",a.grassSupportText||n.草料配套),i("设施配置",a.facilityDetail||n.设施配置),e}export{C as a,F as b,$ as c,x as d,D as e,S as f,k as g}; diff --git a/docs/assets/right-kuang-b1937caf-balabala-1786725044461.svg b/docs/assets/right-kuang-b1937caf-balabala-1786807848259.svg similarity index 100% rename from docs/assets/right-kuang-b1937caf-balabala-1786725044461.svg rename to docs/assets/right-kuang-b1937caf-balabala-1786807848259.svg diff --git a/docs/assets/ring2-a1b91808-balabala-1786725044461.png b/docs/assets/ring2-a1b91808-balabala-1786807848259.png similarity index 100% rename from docs/assets/ring2-a1b91808-balabala-1786725044461.png rename to docs/assets/ring2-a1b91808-balabala-1786807848259.png diff --git a/docs/assets/ring3-fe0f60d7-balabala-1786725044461.png b/docs/assets/ring3-fe0f60d7-balabala-1786807848259.png similarity index 100% rename from docs/assets/ring3-fe0f60d7-balabala-1786725044461.png rename to docs/assets/ring3-fe0f60d7-balabala-1786807848259.png diff --git a/docs/assets/ring4-f2e324d6-balabala-1786725044461.png b/docs/assets/ring4-f2e324d6-balabala-1786807848259.png similarity index 100% rename from docs/assets/ring4-f2e324d6-balabala-1786725044461.png rename to docs/assets/ring4-f2e324d6-balabala-1786807848259.png diff --git a/docs/assets/rotationBorder1-2ce8e0ef-balabala-1786725044461.png b/docs/assets/rotationBorder1-2ce8e0ef-balabala-1786807848259.png similarity index 100% rename from docs/assets/rotationBorder1-2ce8e0ef-balabala-1786725044461.png rename to docs/assets/rotationBorder1-2ce8e0ef-balabala-1786807848259.png diff --git a/docs/assets/rotationBorder2-7496b968-balabala-1786725044461.png b/docs/assets/rotationBorder2-7496b968-balabala-1786807848259.png similarity index 100% rename from docs/assets/rotationBorder2-7496b968-balabala-1786725044461.png rename to docs/assets/rotationBorder2-7496b968-balabala-1786807848259.png diff --git a/docs/assets/saoguang-ccf84a88-balabala-1786725044461.svg b/docs/assets/saoguang-ccf84a88-balabala-1786807848259.svg similarity index 100% rename from docs/assets/saoguang-ccf84a88-balabala-1786725044461.svg rename to docs/assets/saoguang-ccf84a88-balabala-1786807848259.svg diff --git a/docs/assets/screen2Standard-3427eaf8-1786725044461.js b/docs/assets/screen2Standard-03f7f908-1786807848259.js similarity index 99% rename from docs/assets/screen2Standard-3427eaf8-1786725044461.js rename to docs/assets/screen2Standard-03f7f908-1786807848259.js index a725b7d..835765d 100644 --- a/docs/assets/screen2Standard-3427eaf8-1786725044461.js +++ b/docs/assets/screen2Standard-03f7f908-1786807848259.js @@ -1,4 +1,4 @@ -var Jc=Object.defineProperty,$c=Object.defineProperties;var Qc=Object.getOwnPropertyDescriptors;var Na=Object.getOwnPropertySymbols;var th=Object.prototype.hasOwnProperty,eh=Object.prototype.propertyIsEnumerable;var hs=Math.pow,Ua=(i,t,e)=>t in i?Jc(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Oa=(i,t)=>{for(var e in t||(t={}))th.call(t,e)&&Ua(i,e,t[e]);if(Na)for(var e of Na(t))eh.call(t,e)&&Ua(i,e,t[e]);return i},Fa=(i,t)=>$c(i,Qc(t));var Ba=(i,t,e)=>new Promise((n,r)=>{var s=l=>{try{a(e.next(l))}catch(c){r(c)}},o=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((e=e.apply(i,t)).next())});import{g as Pn}from"./index-db918426-1786725044461.js";import{_ as nh}from"./_plugin-vue_export-helper-c27b6911-1786725044461.js";import{o as ih,c as rh,a as za,r as sh}from"./index-1786725044461.js";/** +var Jc=Object.defineProperty,$c=Object.defineProperties;var Qc=Object.getOwnPropertyDescriptors;var Na=Object.getOwnPropertySymbols;var th=Object.prototype.hasOwnProperty,eh=Object.prototype.propertyIsEnumerable;var hs=Math.pow,Ua=(i,t,e)=>t in i?Jc(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Oa=(i,t)=>{for(var e in t||(t={}))th.call(t,e)&&Ua(i,e,t[e]);if(Na)for(var e of Na(t))eh.call(t,e)&&Ua(i,e,t[e]);return i},Fa=(i,t)=>$c(i,Qc(t));var Ba=(i,t,e)=>new Promise((n,r)=>{var s=l=>{try{a(e.next(l))}catch(c){r(c)}},o=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,o);a((e=e.apply(i,t)).next())});import{g as Pn}from"./index-db918426-1786807848259.js";import{_ as nh}from"./_plugin-vue_export-helper-c27b6911-1786807848259.js";import{o as ih,c as rh,a as za,r as sh}from"./index-1786807848259.js";/** * @license * Copyright 2010-2023 Three.js Authors * SPDX-License-Identifier: MIT @@ -3761,4 +3761,4 @@ void main() { } -}`;class Ag{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(t,e,n){if(this.texture===null){const r=new xe,s=t.properties.get(r);s.__webglTexture=e.texture,(e.depthNear!=n.depthNear||e.depthFar!=n.depthFar)&&(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=r}}render(t,e){if(this.texture!==null){if(this.mesh===null){const n=e.cameras[0].viewport,r=new An({extensions:{fragDepth:!0},vertexShader:bg,fragmentShader:Tg,uniforms:{depthColor:{value:this.texture},depthWidth:{value:n.z},depthHeight:{value:n.w}}});this.mesh=new Ce(new Qi(20,20),r)}t.render(this.mesh,e)}}reset(){this.texture=null,this.mesh=null}}class wg extends Xn{constructor(t,e){super();const n=this;let r=null,s=1,o=null,a="local-floor",l=1,c=null,h=null,u=null,d=null,m=null,g=null;const x=new Ag,f=e.getContextAttributes();let p=null,E=null;const _=[],b=[],I=new tt;let L=null;const P=new Re;P.layers.enable(1),P.viewport=new ee;const V=new Re;V.layers.enable(2),V.viewport=new ee;const lt=[P,V],y=new Sg;y.layers.enable(1),y.layers.enable(2);let A=null,Z=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getTargetRaySpace()},this.getControllerGrip=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getGripSpace()},this.getHand=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getHandSpace()};function rt(G){const nt=b.indexOf(G.inputSource);if(nt===-1)return;const gt=_[nt];gt!==void 0&&(gt.update(G.inputSource,G.frame,c||o),gt.dispatchEvent({type:G.type,data:G.inputSource}))}function D(){r.removeEventListener("select",rt),r.removeEventListener("selectstart",rt),r.removeEventListener("selectend",rt),r.removeEventListener("squeeze",rt),r.removeEventListener("squeezestart",rt),r.removeEventListener("squeezeend",rt),r.removeEventListener("end",D),r.removeEventListener("inputsourceschange",z);for(let G=0;G<_.length;G++){const nt=b[G];nt!==null&&(b[G]=null,_[G].disconnect(nt))}A=null,Z=null,x.reset(),t.setRenderTarget(p),m=null,d=null,u=null,r=null,E=null,Lt.stop(),n.isPresenting=!1,t.setPixelRatio(L),t.setSize(I.width,I.height,!1),n.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(G){s=G,n.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(G){a=G,n.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return c||o},this.setReferenceSpace=function(G){c=G},this.getBaseLayer=function(){return d!==null?d:m},this.getBinding=function(){return u},this.getFrame=function(){return g},this.getSession=function(){return r},this.setSession=function(G){return Ba(this,null,function*(){if(r=G,r!==null){if(p=t.getRenderTarget(),r.addEventListener("select",rt),r.addEventListener("selectstart",rt),r.addEventListener("selectend",rt),r.addEventListener("squeeze",rt),r.addEventListener("squeezestart",rt),r.addEventListener("squeezeend",rt),r.addEventListener("end",D),r.addEventListener("inputsourceschange",z),f.xrCompatible!==!0&&(yield e.makeXRCompatible()),L=t.getPixelRatio(),t.getSize(I),r.renderState.layers===void 0||t.capabilities.isWebGL2===!1){const nt={antialias:r.renderState.layers===void 0?f.antialias:!0,alpha:!0,depth:f.depth,stencil:f.stencil,framebufferScaleFactor:s};m=new XRWebGLLayer(r,e,nt),r.updateRenderState({baseLayer:m}),t.setPixelRatio(1),t.setSize(m.framebufferWidth,m.framebufferHeight,!1),E=new kn(m.framebufferWidth,m.framebufferHeight,{format:Oe,type:Sn,colorSpace:t.outputColorSpace,stencilBuffer:f.stencil})}else{let nt=null,gt=null,Mt=null;f.depth&&(Mt=f.stencil?e.DEPTH24_STENCIL8:e.DEPTH_COMPONENT24,nt=f.stencil?Si:Hn,gt=f.stencil?zn:vn);const bt={colorFormat:e.RGBA8,depthFormat:Mt,scaleFactor:s};u=new XRWebGLBinding(r,e),d=u.createProjectionLayer(bt),r.updateRenderState({layers:[d]}),t.setPixelRatio(1),t.setSize(d.textureWidth,d.textureHeight,!1),E=new kn(d.textureWidth,d.textureHeight,{format:Oe,type:Sn,depthTexture:new _c(d.textureWidth,d.textureHeight,gt,void 0,void 0,void 0,void 0,void 0,void 0,nt),stencilBuffer:f.stencil,colorSpace:t.outputColorSpace,samples:f.antialias?4:0});const xt=t.properties.get(E);xt.__ignoreDepthValues=d.ignoreDepthValues}E.isXRRenderTarget=!0,this.setFoveation(l),c=null,o=yield r.requestReferenceSpace(a),Lt.setContext(r),Lt.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}})},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode};function z(G){for(let nt=0;nt=0&&(b[Mt]=null,_[Mt].disconnect(gt))}for(let nt=0;nt=b.length){b.push(gt),Mt=xt;break}else if(b[xt]===null){b[xt]=gt,Mt=xt;break}if(Mt===-1)break}const bt=_[Mt];bt&&bt.connect(gt)}}const O=new C,Y=new C;function X(G,nt,gt){O.setFromMatrixPosition(nt.matrixWorld),Y.setFromMatrixPosition(gt.matrixWorld);const Mt=O.distanceTo(Y),bt=nt.projectionMatrix.elements,xt=gt.projectionMatrix.elements,Ot=bt[14]/(bt[10]-1),At=bt[14]/(bt[10]+1),R=(bt[9]+1)/bt[5],ct=(bt[9]-1)/bt[5],W=(bt[8]-1)/bt[0],at=(xt[8]+1)/xt[0],q=Ot*W,Et=Ot*at,ft=Mt/(-W+at),M=ft*-W;nt.matrixWorld.decompose(G.position,G.quaternion,G.scale),G.translateX(M),G.translateZ(ft),G.matrixWorld.compose(G.position,G.quaternion,G.scale),G.matrixWorldInverse.copy(G.matrixWorld).invert();const v=Ot+ft,N=At+ft,et=q-M,J=Et+(Mt-M),j=R*At/N*v,yt=ct*At/N*v;G.projectionMatrix.makePerspective(et,J,j,yt,v,N),G.projectionMatrixInverse.copy(G.projectionMatrix).invert()}function k(G,nt){nt===null?G.matrixWorld.copy(G.matrix):G.matrixWorld.multiplyMatrices(nt.matrixWorld,G.matrix),G.matrixWorldInverse.copy(G.matrixWorld).invert()}this.updateCamera=function(G){if(r===null)return;x.texture!==null&&(G.near=x.depthNear,G.far=x.depthFar),y.near=V.near=P.near=G.near,y.far=V.far=P.far=G.far,(A!==y.near||Z!==y.far)&&(r.updateRenderState({depthNear:y.near,depthFar:y.far}),A=y.near,Z=y.far,P.near=A,P.far=Z,V.near=A,V.far=Z,P.updateProjectionMatrix(),V.updateProjectionMatrix(),G.updateProjectionMatrix());const nt=G.parent,gt=y.cameras;k(y,nt);for(let Mt=0;Mt0&&(f.alphaTest.value=p.alphaTest);const E=t.get(p).envMap;if(E&&(f.envMap.value=E,f.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,f.reflectivity.value=p.reflectivity,f.ior.value=p.ior,f.refractionRatio.value=p.refractionRatio),p.lightMap){f.lightMap.value=p.lightMap;const _=i._useLegacyLights===!0?Math.PI:1;f.lightMapIntensity.value=p.lightMapIntensity*_,e(p.lightMap,f.lightMapTransform)}p.aoMap&&(f.aoMap.value=p.aoMap,f.aoMapIntensity.value=p.aoMapIntensity,e(p.aoMap,f.aoMapTransform))}function o(f,p){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,p.map&&(f.map.value=p.map,e(p.map,f.mapTransform))}function a(f,p){f.dashSize.value=p.dashSize,f.totalSize.value=p.dashSize+p.gapSize,f.scale.value=p.scale}function l(f,p,E,_){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,f.size.value=p.size*E,f.scale.value=_*.5,p.map&&(f.map.value=p.map,e(p.map,f.uvTransform)),p.alphaMap&&(f.alphaMap.value=p.alphaMap,e(p.alphaMap,f.alphaMapTransform)),p.alphaTest>0&&(f.alphaTest.value=p.alphaTest)}function c(f,p){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,f.rotation.value=p.rotation,p.map&&(f.map.value=p.map,e(p.map,f.mapTransform)),p.alphaMap&&(f.alphaMap.value=p.alphaMap,e(p.alphaMap,f.alphaMapTransform)),p.alphaTest>0&&(f.alphaTest.value=p.alphaTest)}function h(f,p){f.specular.value.copy(p.specular),f.shininess.value=Math.max(p.shininess,1e-4)}function u(f,p){p.gradientMap&&(f.gradientMap.value=p.gradientMap)}function d(f,p){f.metalness.value=p.metalness,p.metalnessMap&&(f.metalnessMap.value=p.metalnessMap,e(p.metalnessMap,f.metalnessMapTransform)),f.roughness.value=p.roughness,p.roughnessMap&&(f.roughnessMap.value=p.roughnessMap,e(p.roughnessMap,f.roughnessMapTransform)),t.get(p).envMap&&(f.envMapIntensity.value=p.envMapIntensity)}function m(f,p,E){f.ior.value=p.ior,p.sheen>0&&(f.sheenColor.value.copy(p.sheenColor).multiplyScalar(p.sheen),f.sheenRoughness.value=p.sheenRoughness,p.sheenColorMap&&(f.sheenColorMap.value=p.sheenColorMap,e(p.sheenColorMap,f.sheenColorMapTransform)),p.sheenRoughnessMap&&(f.sheenRoughnessMap.value=p.sheenRoughnessMap,e(p.sheenRoughnessMap,f.sheenRoughnessMapTransform))),p.clearcoat>0&&(f.clearcoat.value=p.clearcoat,f.clearcoatRoughness.value=p.clearcoatRoughness,p.clearcoatMap&&(f.clearcoatMap.value=p.clearcoatMap,e(p.clearcoatMap,f.clearcoatMapTransform)),p.clearcoatRoughnessMap&&(f.clearcoatRoughnessMap.value=p.clearcoatRoughnessMap,e(p.clearcoatRoughnessMap,f.clearcoatRoughnessMapTransform)),p.clearcoatNormalMap&&(f.clearcoatNormalMap.value=p.clearcoatNormalMap,e(p.clearcoatNormalMap,f.clearcoatNormalMapTransform),f.clearcoatNormalScale.value.copy(p.clearcoatNormalScale),p.side===Pe&&f.clearcoatNormalScale.value.negate())),p.iridescence>0&&(f.iridescence.value=p.iridescence,f.iridescenceIOR.value=p.iridescenceIOR,f.iridescenceThicknessMinimum.value=p.iridescenceThicknessRange[0],f.iridescenceThicknessMaximum.value=p.iridescenceThicknessRange[1],p.iridescenceMap&&(f.iridescenceMap.value=p.iridescenceMap,e(p.iridescenceMap,f.iridescenceMapTransform)),p.iridescenceThicknessMap&&(f.iridescenceThicknessMap.value=p.iridescenceThicknessMap,e(p.iridescenceThicknessMap,f.iridescenceThicknessMapTransform))),p.transmission>0&&(f.transmission.value=p.transmission,f.transmissionSamplerMap.value=E.texture,f.transmissionSamplerSize.value.set(E.width,E.height),p.transmissionMap&&(f.transmissionMap.value=p.transmissionMap,e(p.transmissionMap,f.transmissionMapTransform)),f.thickness.value=p.thickness,p.thicknessMap&&(f.thicknessMap.value=p.thicknessMap,e(p.thicknessMap,f.thicknessMapTransform)),f.attenuationDistance.value=p.attenuationDistance,f.attenuationColor.value.copy(p.attenuationColor)),p.anisotropy>0&&(f.anisotropyVector.value.set(p.anisotropy*Math.cos(p.anisotropyRotation),p.anisotropy*Math.sin(p.anisotropyRotation)),p.anisotropyMap&&(f.anisotropyMap.value=p.anisotropyMap,e(p.anisotropyMap,f.anisotropyMapTransform))),f.specularIntensity.value=p.specularIntensity,f.specularColor.value.copy(p.specularColor),p.specularColorMap&&(f.specularColorMap.value=p.specularColorMap,e(p.specularColorMap,f.specularColorMapTransform)),p.specularIntensityMap&&(f.specularIntensityMap.value=p.specularIntensityMap,e(p.specularIntensityMap,f.specularIntensityMapTransform))}function g(f,p){p.matcap&&(f.matcap.value=p.matcap)}function x(f,p){const E=t.get(p).light;f.referencePosition.value.setFromMatrixPosition(E.matrixWorld),f.nearDistance.value=E.shadow.camera.near,f.farDistance.value=E.shadow.camera.far}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function Cg(i,t,e,n){let r={},s={},o=[];const a=e.isWebGL2?i.getParameter(i.MAX_UNIFORM_BUFFER_BINDINGS):0;function l(E,_){const b=_.program;n.uniformBlockBinding(E,b)}function c(E,_){let b=r[E.id];b===void 0&&(g(E),b=h(E),r[E.id]=b,E.addEventListener("dispose",f));const I=_.program;n.updateUBOMapping(E,I);const L=t.render.frame;s[E.id]!==L&&(d(E),s[E.id]=L)}function h(E){const _=u();E.__bindingPointIndex=_;const b=i.createBuffer(),I=E.__size,L=E.usage;return i.bindBuffer(i.UNIFORM_BUFFER,b),i.bufferData(i.UNIFORM_BUFFER,I,L),i.bindBuffer(i.UNIFORM_BUFFER,null),i.bindBufferBase(i.UNIFORM_BUFFER,_,b),b}function u(){for(let E=0;E0&&(b+=I-L),E.__size=b,E.__cache={},this}function x(E){const _={boundary:0,storage:0};return typeof E=="number"||typeof E=="boolean"?(_.boundary=4,_.storage=4):E.isVector2?(_.boundary=8,_.storage=8):E.isVector3||E.isColor?(_.boundary=16,_.storage=12):E.isVector4?(_.boundary=16,_.storage=16):E.isMatrix3?(_.boundary=48,_.storage=48):E.isMatrix4?(_.boundary=64,_.storage=64):E.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",E),_}function f(E){const _=E.target;_.removeEventListener("dispose",f);const b=o.indexOf(_.__bindingPointIndex);o.splice(b,1),i.deleteBuffer(r[_.id]),delete r[_.id],delete s[_.id]}function p(){for(const E in r)i.deleteBuffer(r[E]);o=[],r={},s={}}return{bind:l,update:c,dispose:p}}class Ec{constructor(t={}){const{canvas:e=Mu(),context:n=null,depth:r=!0,stencil:s=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:h="default",failIfMajorPerformanceCaveat:u=!1}=t;this.isWebGLRenderer=!0;let d;n!==null?d=n.getContextAttributes().alpha:d=o;const m=new Uint32Array(4),g=new Int32Array(4);let x=null,f=null;const p=[],E=[];this.domElement=e,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=ve,this._useLegacyLights=!1,this.toneMapping=Mn,this.toneMappingExposure=1;const _=this;let b=!1,I=0,L=0,P=null,V=-1,lt=null;const y=new ee,A=new ee;let Z=null;const rt=new Ut(0);let D=0,z=e.width,O=e.height,Y=1,X=null,k=null;const $=new ee(0,0,z,O),K=new ee(0,0,z,O);let mt=!1;const Lt=new va;let G=!1,nt=!1,gt=null;const Mt=new Yt,bt=new tt,xt=new C,Ot={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function At(){return P===null?Y:1}let R=n;function ct(S,U){for(let B=0;B{function vt(){if(H.forEach(function(Tt){ft.get(Tt).currentProgram.isReady()&&H.delete(Tt)}),H.size===0){F(S);return}setTimeout(vt,10)}W.get("KHR_parallel_shader_compile")!==null?vt():setTimeout(vt,10)})};let qt=null;function te(S){qt&&qt(S)}function ge(){le.stop()}function Kt(){le.start()}const le=new mc;le.setAnimationLoop(te),typeof self!="undefined"&&le.setContext(self),this.setAnimationLoop=function(S){qt=S,dt.setAnimationLoop(S),S===null?le.stop():le.start()},dt.addEventListener("sessionstart",ge),dt.addEventListener("sessionend",Kt),this.render=function(S,U){if(U!==void 0&&U.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(b===!0)return;S.matrixWorldAutoUpdate===!0&&S.updateMatrixWorld(),U.parent===null&&U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),dt.enabled===!0&&dt.isPresenting===!0&&(dt.cameraAutoUpdate===!0&&dt.updateCamera(U),U=dt.getCamera()),S.isScene===!0&&S.onBeforeRender(_,S,U,P),f=Ct.get(S,E.length),f.init(),E.push(f),Mt.multiplyMatrices(U.projectionMatrix,U.matrixWorldInverse),Lt.setFromProjectionMatrix(Mt),nt=this.localClippingEnabled,G=Ft.init(this.clippingPlanes,nt),x=_t.get(S,p.length),x.init(),p.push(x),be(S,U,0,_.sortObjects),x.finish(),_.sortObjects===!0&&x.sort(X,k),this.info.render.frame++,G===!0&&Ft.beginShadows();const B=f.state.shadowsArray;if(Q.render(B,S,U),G===!0&&Ft.endShadows(),this.info.autoReset===!0&&this.info.reset(),(dt.enabled===!1||dt.isPresenting===!1||dt.hasDepthSensing()===!1)&&jt.render(x,S),f.setupLights(_._useLegacyLights),U.isArrayCamera){const H=U.cameras;for(let F=0,vt=H.length;F0?f=E[E.length-1]:f=null,p.pop(),p.length>0?x=p[p.length-1]:x=null};function be(S,U,B,H){if(S.visible===!1)return;if(S.layers.test(U.layers)){if(S.isGroup)B=S.renderOrder;else if(S.isLOD)S.autoUpdate===!0&&S.update(U);else if(S.isLight)f.pushLight(S),S.castShadow&&f.pushShadow(S);else if(S.isSprite){if(!S.frustumCulled||Lt.intersectsSprite(S)){H&&xt.setFromMatrixPosition(S.matrixWorld).applyMatrix4(Mt);const Tt=j.update(S),Dt=S.material;Dt.visible&&x.push(S,Tt,Dt,B,xt.z,null)}}else if((S.isMesh||S.isLine||S.isPoints)&&(!S.frustumCulled||Lt.intersectsObject(S))){const Tt=j.update(S),Dt=S.material;if(H&&(S.boundingSphere!==void 0?(S.boundingSphere===null&&S.computeBoundingSphere(),xt.copy(S.boundingSphere.center)):(Tt.boundingSphere===null&&Tt.computeBoundingSphere(),xt.copy(Tt.boundingSphere.center)),xt.applyMatrix4(S.matrixWorld).applyMatrix4(Mt)),Array.isArray(Dt)){const Nt=Tt.groups;for(let kt=0,Bt=Nt.length;kt0&&qc(F,vt,U,B),H&&q.viewport(y.copy(H)),F.length>0&&nr(F,U,B),vt.length>0&&nr(vt,U,B),Tt.length>0&&nr(Tt,U,B),q.buffers.depth.setTest(!0),q.buffers.depth.setMask(!0),q.buffers.color.setMask(!0),q.setPolygonOffset(!1)}function qc(S,U,B,H){if((B.isScene===!0?B.overrideMaterial:null)!==null)return;const vt=at.isWebGL2;gt===null&&(gt=new kn(1,1,{generateMipmaps:!0,type:W.has("EXT_color_buffer_half_float")?Yi:Sn,minFilter:Bn,samples:vt?4:0})),_.getDrawingBufferSize(bt),vt?gt.setSize(bt.x,bt.y):gt.setSize(jr(bt.x),jr(bt.y));const Tt=_.getRenderTarget();_.setRenderTarget(gt),_.getClearColor(rt),D=_.getClearAlpha(),D<1&&_.setClearColor(16777215,.5),_.clear();const Dt=_.toneMapping;_.toneMapping=Mn,nr(S,B,H),M.updateMultisampleRenderTarget(gt),M.updateRenderTargetMipmap(gt);let Nt=!1;for(let kt=0,Bt=U.length;kt0),Ht=!!B.morphAttributes.position,ce=!!B.morphAttributes.normal,Le=!!B.morphAttributes.color;let pe=Mn;H.toneMapped&&(P===null||P.isXRRenderTarget===!0)&&(pe=_.toneMapping);const Je=B.morphAttributes.position||B.morphAttributes.normal||B.morphAttributes.color,ie=Je!==void 0?Je.length:0,Wt=ft.get(H),as=f.state.lights;if(G===!0&&(nt===!0||S!==lt)){const Ne=S===lt&&H.id===V;Ft.setState(H,S,Ne)}let se=!1;H.version===Wt.__version?(Wt.needsLights&&Wt.lightsStateVersion!==as.state.version||Wt.outputColorSpace!==Dt||F.isBatchedMesh&&Wt.batching===!1||!F.isBatchedMesh&&Wt.batching===!0||F.isInstancedMesh&&Wt.instancing===!1||!F.isInstancedMesh&&Wt.instancing===!0||F.isSkinnedMesh&&Wt.skinning===!1||!F.isSkinnedMesh&&Wt.skinning===!0||F.isInstancedMesh&&Wt.instancingColor===!0&&F.instanceColor===null||F.isInstancedMesh&&Wt.instancingColor===!1&&F.instanceColor!==null||Wt.envMap!==Nt||H.fog===!0&&Wt.fog!==vt||Wt.numClippingPlanes!==void 0&&(Wt.numClippingPlanes!==Ft.numPlanes||Wt.numIntersection!==Ft.numIntersection)||Wt.vertexAlphas!==kt||Wt.vertexTangents!==Bt||Wt.morphTargets!==Ht||Wt.morphNormals!==ce||Wt.morphColors!==Le||Wt.toneMapping!==pe||at.isWebGL2===!0&&Wt.morphTargetsCount!==ie)&&(se=!0):(se=!0,Wt.__version=H.version);let Rn=Wt.currentProgram;se===!0&&(Rn=ir(H,U,F));let Da=!1,Ci=!1,os=!1;const Me=Rn.getUniforms(),Cn=Wt.uniforms;if(q.useProgram(Rn.program)&&(Da=!0,Ci=!0,os=!0),H.id!==V&&(V=H.id,Ci=!0),Da||lt!==S){Me.setValue(R,"projectionMatrix",S.projectionMatrix),Me.setValue(R,"viewMatrix",S.matrixWorldInverse);const Ne=Me.map.cameraPosition;Ne!==void 0&&Ne.setValue(R,xt.setFromMatrixPosition(S.matrixWorld)),at.logarithmicDepthBuffer&&Me.setValue(R,"logDepthBufFC",2/(Math.log(S.far+1)/Math.LN2)),(H.isMeshPhongMaterial||H.isMeshToonMaterial||H.isMeshLambertMaterial||H.isMeshBasicMaterial||H.isMeshStandardMaterial||H.isShaderMaterial)&&Me.setValue(R,"isOrthographic",S.isOrthographicCamera===!0),lt!==S&&(lt=S,Ci=!0,os=!0)}if(F.isSkinnedMesh){Me.setOptional(R,F,"bindMatrix"),Me.setOptional(R,F,"bindMatrixInverse");const Ne=F.skeleton;Ne&&(at.floatVertexTextures?(Ne.boneTexture===null&&Ne.computeBoneTexture(),Me.setValue(R,"boneTexture",Ne.boneTexture,M)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}F.isBatchedMesh&&(Me.setOptional(R,F,"batchingTexture"),Me.setValue(R,"batchingTexture",F._matricesTexture,M));const ls=B.morphAttributes;if((ls.position!==void 0||ls.normal!==void 0||ls.color!==void 0&&at.isWebGL2===!0)&&Gt.update(F,B,Rn),(Ci||Wt.receiveShadow!==F.receiveShadow)&&(Wt.receiveShadow=F.receiveShadow,Me.setValue(R,"receiveShadow",F.receiveShadow)),H.isMeshGouraudMaterial&&H.envMap!==null&&(Cn.envMap.value=Nt,Cn.flipEnvMap.value=Nt.isCubeTexture&&Nt.isRenderTargetTexture===!1?-1:1),Ci&&(Me.setValue(R,"toneMappingExposure",_.toneMappingExposure),Wt.needsLights&&jc(Cn,os),vt&&H.fog===!0&&ut.refreshFogUniforms(Cn,vt),ut.refreshMaterialUniforms(Cn,H,Y,O,gt),zr.upload(R,Pa(Wt),Cn,M)),H.isShaderMaterial&&H.uniformsNeedUpdate===!0&&(zr.upload(R,Pa(Wt),Cn,M),H.uniformsNeedUpdate=!1),H.isSpriteMaterial&&Me.setValue(R,"center",F.center),Me.setValue(R,"modelViewMatrix",F.modelViewMatrix),Me.setValue(R,"normalMatrix",F.normalMatrix),Me.setValue(R,"modelMatrix",F.matrixWorld),H.isShaderMaterial||H.isRawShaderMaterial){const Ne=H.uniformsGroups;for(let cs=0,Kc=Ne.length;cs0&&M.useMultisampledRTT(S)===!1?F=ft.get(S).__webglMultisampledFramebuffer:Array.isArray(Bt)?F=Bt[B]:F=Bt,y.copy(S.viewport),A.copy(S.scissor),Z=S.scissorTest}else y.copy($).multiplyScalar(Y).floor(),A.copy(K).multiplyScalar(Y).floor(),Z=mt;if(q.bindFramebuffer(R.FRAMEBUFFER,F)&&at.drawBuffers&&H&&q.drawBuffers(S,F),q.viewport(y),q.scissor(A),q.setScissorTest(Z),vt){const Nt=ft.get(S.texture);R.framebufferTexture2D(R.FRAMEBUFFER,R.COLOR_ATTACHMENT0,R.TEXTURE_CUBE_MAP_POSITIVE_X+U,Nt.__webglTexture,B)}else if(Tt){const Nt=ft.get(S.texture),kt=U||0;R.framebufferTextureLayer(R.FRAMEBUFFER,R.COLOR_ATTACHMENT0,Nt.__webglTexture,B||0,kt)}V=-1},this.readRenderTargetPixels=function(S,U,B,H,F,vt,Tt){if(!(S&&S.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let Dt=ft.get(S).__webglFramebuffer;if(S.isWebGLCubeRenderTarget&&Tt!==void 0&&(Dt=Dt[Tt]),Dt){q.bindFramebuffer(R.FRAMEBUFFER,Dt);try{const Nt=S.texture,kt=Nt.format,Bt=Nt.type;if(kt!==Oe&&pt.convert(kt)!==R.getParameter(R.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const Ht=Bt===Yi&&(W.has("EXT_color_buffer_half_float")||at.isWebGL2&&W.has("EXT_color_buffer_float"));if(Bt!==Sn&&pt.convert(Bt)!==R.getParameter(R.IMPLEMENTATION_COLOR_READ_TYPE)&&!(Bt===je&&(at.isWebGL2||W.has("OES_texture_float")||W.has("WEBGL_color_buffer_float")))&&!Ht){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}U>=0&&U<=S.width-H&&B>=0&&B<=S.height-F&&R.readPixels(U,B,H,F,pt.convert(kt),pt.convert(Bt),vt)}finally{const Nt=P!==null?ft.get(P).__webglFramebuffer:null;q.bindFramebuffer(R.FRAMEBUFFER,Nt)}}},this.copyFramebufferToTexture=function(S,U,B=0){const H=Math.pow(2,-B),F=Math.floor(U.image.width*H),vt=Math.floor(U.image.height*H);M.setTexture2D(U,0),R.copyTexSubImage2D(R.TEXTURE_2D,B,0,0,S.x,S.y,F,vt),q.unbindTexture()},this.copyTextureToTexture=function(S,U,B,H=0){const F=U.image.width,vt=U.image.height,Tt=pt.convert(B.format),Dt=pt.convert(B.type);M.setTexture2D(B,0),R.pixelStorei(R.UNPACK_FLIP_Y_WEBGL,B.flipY),R.pixelStorei(R.UNPACK_PREMULTIPLY_ALPHA_WEBGL,B.premultiplyAlpha),R.pixelStorei(R.UNPACK_ALIGNMENT,B.unpackAlignment),U.isDataTexture?R.texSubImage2D(R.TEXTURE_2D,H,S.x,S.y,F,vt,Tt,Dt,U.image.data):U.isCompressedTexture?R.compressedTexSubImage2D(R.TEXTURE_2D,H,S.x,S.y,U.mipmaps[0].width,U.mipmaps[0].height,Tt,U.mipmaps[0].data):R.texSubImage2D(R.TEXTURE_2D,H,S.x,S.y,Tt,Dt,U.image),H===0&&B.generateMipmaps&&R.generateMipmap(R.TEXTURE_2D),q.unbindTexture()},this.copyTextureToTexture3D=function(S,U,B,H,F=0){if(_.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const vt=S.max.x-S.min.x+1,Tt=S.max.y-S.min.y+1,Dt=S.max.z-S.min.z+1,Nt=pt.convert(H.format),kt=pt.convert(H.type);let Bt;if(H.isData3DTexture)M.setTexture3D(H,0),Bt=R.TEXTURE_3D;else if(H.isDataArrayTexture||H.isCompressedArrayTexture)M.setTexture2DArray(H,0),Bt=R.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}R.pixelStorei(R.UNPACK_FLIP_Y_WEBGL,H.flipY),R.pixelStorei(R.UNPACK_PREMULTIPLY_ALPHA_WEBGL,H.premultiplyAlpha),R.pixelStorei(R.UNPACK_ALIGNMENT,H.unpackAlignment);const Ht=R.getParameter(R.UNPACK_ROW_LENGTH),ce=R.getParameter(R.UNPACK_IMAGE_HEIGHT),Le=R.getParameter(R.UNPACK_SKIP_PIXELS),pe=R.getParameter(R.UNPACK_SKIP_ROWS),Je=R.getParameter(R.UNPACK_SKIP_IMAGES),ie=B.isCompressedTexture?B.mipmaps[F]:B.image;R.pixelStorei(R.UNPACK_ROW_LENGTH,ie.width),R.pixelStorei(R.UNPACK_IMAGE_HEIGHT,ie.height),R.pixelStorei(R.UNPACK_SKIP_PIXELS,S.min.x),R.pixelStorei(R.UNPACK_SKIP_ROWS,S.min.y),R.pixelStorei(R.UNPACK_SKIP_IMAGES,S.min.z),B.isDataTexture||B.isData3DTexture?R.texSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,kt,ie.data):B.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),R.compressedTexSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,ie.data)):R.texSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,kt,ie),R.pixelStorei(R.UNPACK_ROW_LENGTH,Ht),R.pixelStorei(R.UNPACK_IMAGE_HEIGHT,ce),R.pixelStorei(R.UNPACK_SKIP_PIXELS,Le),R.pixelStorei(R.UNPACK_SKIP_ROWS,pe),R.pixelStorei(R.UNPACK_SKIP_IMAGES,Je),F===0&&H.generateMipmaps&&R.generateMipmap(Bt),q.unbindTexture()},this.initTexture=function(S){S.isCubeTexture?M.setTextureCube(S,0):S.isData3DTexture?M.setTexture3D(S,0):S.isDataArrayTexture||S.isCompressedArrayTexture?M.setTexture2DArray(S,0):M.setTexture2D(S,0),q.unbindTexture()},this.resetState=function(){I=0,L=0,P=null,q.reset(),zt.reset()},typeof __THREE_DEVTOOLS__!="undefined"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return an}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(t){this._outputColorSpace=t;const e=this.getContext();e.drawingBufferColorSpace=t===pa?"display-p3":"srgb",e.unpackColorSpace=Qt.workingColorSpace===ts?"display-p3":"srgb"}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===ve?Vn:ic}set outputEncoding(t){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=t===Vn?ve:on}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(t){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=t}}class Pg extends Ec{}Pg.prototype.isWebGL1Renderer=!0;class bc{constructor(t,e=1,n=1e3){this.isFog=!0,this.name="",this.color=new Ut(t),this.near=e,this.far=n}clone(){return new bc(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class Lg extends ae{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__!="undefined"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),t.background!==null&&(this.background=t.background.clone()),t.environment!==null&&(this.environment=t.environment.clone()),t.fog!==null&&(this.fog=t.fog.clone()),this.backgroundBlurriness=t.backgroundBlurriness,this.backgroundIntensity=t.backgroundIntensity,t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return this.fog!==null&&(e.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(e.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(e.object.backgroundIntensity=this.backgroundIntensity),e}}class Tc{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=t!==void 0?t.length/e:0,this.usage=na,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=Be()}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}get updateRange(){return Gn("THREE.InterleavedBuffer: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead."),this._updateRange}setUsage(t){return this.usage=t,this}addUpdateRange(t,e){this.updateRanges.push({start:t,count:e})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let r=0,s=this.stride;rt.far||e.push({distance:l,point:Ui.clone(),uv:qe.getInterpolation(Ui,Tr,Fi,Ar,dl,Vs,fl,new tt),face:null,object:this})}copy(t,e){return super.copy(t,e),t.center!==void 0&&this.center.copy(t.center),this.material=t.material,this}}function wr(i,t,e,n,r,s){fi.subVectors(i,e).addScalar(.5).multiply(n),r!==void 0?(Oi.x=s*fi.x-r*fi.y,Oi.y=r*fi.x+s*fi.y):Oi.copy(fi),i.copy(t),i.x+=Oi.x,i.y+=Oi.y,i.applyMatrix4(Ac)}const pl=new C,ml=new ee,gl=new ee,Ig=new C,_l=new Yt,Rr=new C,Gs=new ln,vl=new Yt,ks=new Ti;class f0 extends Ce{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=qa,this.bindMatrix=new Yt,this.bindMatrixInverse=new Yt,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const t=this.geometry;this.boundingBox===null&&(this.boundingBox=new wn),this.boundingBox.makeEmpty();const e=t.getAttribute("position");for(let n=0;nl)continue;d.applyMatrix4(this.matrixWorld);const V=t.ray.origin.distanceTo(d);Vt.far||e.push({distance:V,point:u.clone().applyMatrix4(this.matrixWorld),index:_,face:null,faceIndex:null,object:this})}}else{const p=Math.max(0,o.start),E=Math.min(f.count,o.start+o.count);for(let _=p,b=E-1;_l)continue;d.applyMatrix4(this.matrixWorld);const L=t.ray.origin.distanceTo(d);Lt.far||e.push({distance:L,point:u.clone().applyMatrix4(this.matrixWorld),index:_,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const e=this.geometry.morphAttributes,n=Object.keys(e);if(n.length>0){const r=e[n[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s0){const r=e[n[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;sr.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:t,face:null,object:o})}}class _0 extends xe{constructor(t,e,n,r,s,o,a,l,c){super(t,e,n,r,s,o,a,l,c),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Ze{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,r=this.getPoint(0),s=0;e.push(0);for(let o=1;o<=t;o++)n=this.getPoint(o/t),s+=n.distanceTo(r),e.push(s),r=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let r=0;const s=n.length;let o;e?o=e:o=t*n[s-1];let a=0,l=s-1,c;for(;a<=l;)if(r=Math.floor(a+(l-a)/2),c=n[r]-o,c<0)a=r+1;else if(c>0)l=r-1;else{l=r;break}if(r=l,n[r]===o)return r/(s-1);const h=n[r],d=n[r+1]-h,m=(o-h)/d;return(r+m)/(s-1)}getTangent(t,e){let r=t-1e-4,s=t+1e-4;r<0&&(r=0),s>1&&(s=1);const o=this.getPoint(r),a=this.getPoint(s),l=e||(o.isVector2?new tt:new C);return l.copy(a).sub(o).normalize(),l}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new C,r=[],s=[],o=[],a=new C,l=new Yt;for(let m=0;m<=t;m++){const g=m/t;r[m]=this.getTangentAt(g,new C)}s[0]=new C,o[0]=new C;let c=Number.MAX_VALUE;const h=Math.abs(r[0].x),u=Math.abs(r[0].y),d=Math.abs(r[0].z);h<=c&&(c=h,n.set(1,0,0)),u<=c&&(c=u,n.set(0,1,0)),d<=c&&n.set(0,0,1),a.crossVectors(r[0],n).normalize(),s[0].crossVectors(r[0],a),o[0].crossVectors(r[0],s[0]);for(let m=1;m<=t;m++){if(s[m]=s[m-1].clone(),o[m]=o[m-1].clone(),a.crossVectors(r[m-1],r[m]),a.length()>Number.EPSILON){a.normalize();const g=Math.acos(ue(r[m-1].dot(r[m]),-1,1));s[m].applyMatrix4(l.makeRotationAxis(a,g))}o[m].crossVectors(r[m],s[m])}if(e===!0){let m=Math.acos(ue(s[0].dot(s[t]),-1,1));m/=t,r[0].dot(a.crossVectors(s[0],s[t]))>0&&(m=-m);for(let g=1;g<=t;g++)s[g].applyMatrix4(l.makeRotationAxis(r[g],m*g)),o[g].crossVectors(r[g],s[g])}return{tangents:r,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class Ma extends Ze{constructor(t=0,e=0,n=1,r=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=r,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(t,e){const n=e||new tt,r=Math.PI*2;let s=this.aEndAngle-this.aStartAngle;const o=Math.abs(s)r;)s-=r;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,h;this.closed||a>0?c=r[(a-1)%s]:(Ir.subVectors(r[0],r[1]).add(r[0]),c=Ir);const u=r[a%s],d=r[(a+1)%s];if(this.closed||a+2r.length-2?r.length-1:o+1],u=r[o>r.length-3?r.length-1:o+2];return n.set(Pl(a,l.x,c.x,h.x,u.x),Pl(a,l.y,c.y,h.y,u.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e=n){const o=r[s]-n,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,e)}s++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,r=this.curves.length;n1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e0){const u=c.getPoint(0);u.equals(this.currentPoint)||this.lineTo(u.x,u.y)}this.curves.push(c);const h=c.getPoint(1);return this.currentPoint.copy(h),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class qi extends Ll{constructor(t){super(t),this.uuid=Be(),this.type="Shape",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,r=this.holes.length;n80*e){a=c=i[0],l=h=i[1];for(let g=e;gc&&(c=u),d>h&&(h=d);m=Math.max(c-a,h-l),m=m!==0?32767/m:0}return Zi(s,o,e,a,l,m,0),o}};function Uc(i,t,e,n,r){let s,o;if(r===f_(i,t,e,n)>0)for(s=t;s=t;s-=n)o=Dl(s,i[s],i[s+1],o);return o&&is(o,o.next)&&(Ji(o),o=o.next),o}function Wn(i,t){if(!i)return i;t||(t=i);let e=i,n;do if(n=!1,!e.steiner&&(is(e,e.next)||re(e.prev,e,e.next)===0)){if(Ji(e),e=t=e.prev,e===e.next)break;n=!0}else e=e.next;while(n||e!==t);return t}function Zi(i,t,e,n,r,s,o){if(!i)return;!o&&s&&o_(i,n,r,s);let a=i,l,c;for(;i.prev!==i.next;){if(l=i.prev,c=i.next,s?Qg(i,n,r,s):$g(i)){t.push(l.i/e|0),t.push(i.i/e|0),t.push(c.i/e|0),Ji(i),i=c.next,a=c.next;continue}if(i=c,i===a){o?o===1?(i=t_(Wn(i),t,e),Zi(i,t,e,n,r,s,2)):o===2&&e_(i,t,e,n,r,s):Zi(Wn(i),t,e,n,r,s,1);break}}}function $g(i){const t=i.prev,e=i,n=i.next;if(re(t,e,n)>=0)return!1;const r=t.x,s=e.x,o=n.x,a=t.y,l=e.y,c=n.y,h=rs?r>o?r:o:s>o?s:o,m=a>l?a>c?a:c:l>c?l:c;let g=n.next;for(;g!==t;){if(g.x>=h&&g.x<=d&&g.y>=u&&g.y<=m&&_i(r,a,s,l,o,c,g.x,g.y)&&re(g.prev,g,g.next)>=0)return!1;g=g.next}return!0}function Qg(i,t,e,n){const r=i.prev,s=i,o=i.next;if(re(r,s,o)>=0)return!1;const a=r.x,l=s.x,c=o.x,h=r.y,u=s.y,d=o.y,m=al?a>c?a:c:l>c?l:c,f=h>u?h>d?h:d:u>d?u:d,p=oa(m,g,t,e,n),E=oa(x,f,t,e,n);let _=i.prevZ,b=i.nextZ;for(;_&&_.z>=p&&b&&b.z<=E;){if(_.x>=m&&_.x<=x&&_.y>=g&&_.y<=f&&_!==r&&_!==o&&_i(a,h,l,u,c,d,_.x,_.y)&&re(_.prev,_,_.next)>=0||(_=_.prevZ,b.x>=m&&b.x<=x&&b.y>=g&&b.y<=f&&b!==r&&b!==o&&_i(a,h,l,u,c,d,b.x,b.y)&&re(b.prev,b,b.next)>=0))return!1;b=b.nextZ}for(;_&&_.z>=p;){if(_.x>=m&&_.x<=x&&_.y>=g&&_.y<=f&&_!==r&&_!==o&&_i(a,h,l,u,c,d,_.x,_.y)&&re(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;b&&b.z<=E;){if(b.x>=m&&b.x<=x&&b.y>=g&&b.y<=f&&b!==r&&b!==o&&_i(a,h,l,u,c,d,b.x,b.y)&&re(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function t_(i,t,e){let n=i;do{const r=n.prev,s=n.next.next;!is(r,s)&&Oc(r,n,n.next,s)&&Ki(r,s)&&Ki(s,r)&&(t.push(r.i/e|0),t.push(n.i/e|0),t.push(s.i/e|0),Ji(n),Ji(n.next),n=i=s),n=n.next}while(n!==i);return Wn(n)}function e_(i,t,e,n,r,s){let o=i;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&h_(o,a)){let l=Fc(o,a);o=Wn(o,o.next),l=Wn(l,l.next),Zi(o,t,e,n,r,s,0),Zi(l,t,e,n,r,s,0);return}a=a.next}o=o.next}while(o!==i)}function n_(i,t,e,n){const r=[];let s,o,a,l,c;for(s=0,o=t.length;s=e.next.y&&e.next.y!==e.y){const d=e.x+(o-e.y)*(e.next.x-e.x)/(e.next.y-e.y);if(d<=s&&d>n&&(n=d,r=e.x=e.x&&e.x>=l&&s!==e.x&&_i(or.x||e.x===r.x&&a_(r,e)))&&(r=e,h=u)),e=e.next;while(e!==a);return r}function a_(i,t){return re(i.prev,i,t.prev)<0&&re(t.next,i,i.next)<0}function o_(i,t,e,n){let r=i;do r.z===0&&(r.z=oa(r.x,r.y,t,e,n)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==i);r.prevZ.nextZ=null,r.prevZ=null,l_(r)}function l_(i){let t,e,n,r,s,o,a,l,c=1;do{for(e=i,i=null,s=null,o=0;e;){for(o++,n=e,a=0,t=0;t0||l>0&&n;)a!==0&&(l===0||!n||e.z<=n.z)?(r=e,e=e.nextZ,a--):(r=n,n=n.nextZ,l--),s?s.nextZ=r:i=r,r.prevZ=s,s=r;e=n}s.nextZ=null,c*=2}while(o>1);return i}function oa(i,t,e,n,r){return i=(i-e)*r|0,t=(t-n)*r|0,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,i|t<<1}function c_(i){let t=i,e=i;do(t.x=(i-o)*(s-a)&&(i-o)*(n-a)>=(e-o)*(t-a)&&(e-o)*(s-a)>=(r-o)*(n-a)}function h_(i,t){return i.next.i!==t.i&&i.prev.i!==t.i&&!u_(i,t)&&(Ki(i,t)&&Ki(t,i)&&d_(i,t)&&(re(i.prev,i,t.prev)||re(i,t.prev,t))||is(i,t)&&re(i.prev,i,i.next)>0&&re(t.prev,t,t.next)>0)}function re(i,t,e){return(t.y-i.y)*(e.x-t.x)-(t.x-i.x)*(e.y-t.y)}function is(i,t){return i.x===t.x&&i.y===t.y}function Oc(i,t,e,n){const r=Ur(re(i,t,e)),s=Ur(re(i,t,n)),o=Ur(re(e,n,i)),a=Ur(re(e,n,t));return!!(r!==s&&o!==a||r===0&&Nr(i,e,t)||s===0&&Nr(i,n,t)||o===0&&Nr(e,i,n)||a===0&&Nr(e,t,n))}function Nr(i,t,e){return t.x<=Math.max(i.x,e.x)&&t.x>=Math.min(i.x,e.x)&&t.y<=Math.max(i.y,e.y)&&t.y>=Math.min(i.y,e.y)}function Ur(i){return i>0?1:i<0?-1:0}function u_(i,t){let e=i;do{if(e.i!==i.i&&e.next.i!==i.i&&e.i!==t.i&&e.next.i!==t.i&&Oc(e,e.next,i,t))return!0;e=e.next}while(e!==i);return!1}function Ki(i,t){return re(i.prev,i,i.next)<0?re(i,t,i.next)>=0&&re(i,i.prev,t)>=0:re(i,t,i.prev)<0||re(i,i.next,t)<0}function d_(i,t){let e=i,n=!1;const r=(i.x+t.x)/2,s=(i.y+t.y)/2;do e.y>s!=e.next.y>s&&e.next.y!==e.y&&r<(e.next.x-e.x)*(s-e.y)/(e.next.y-e.y)+e.x&&(n=!n),e=e.next;while(e!==i);return n}function Fc(i,t){const e=new la(i.i,i.x,i.y),n=new la(t.i,t.x,t.y),r=i.next,s=t.prev;return i.next=t,t.prev=i,e.next=r,r.prev=e,n.next=e,e.prev=n,s.next=n,n.prev=s,n}function Dl(i,t,e,n){const r=new la(i,t,e);return n?(r.next=n.next,r.prev=n,n.next.prev=r,n.next=r):(r.prev=r,r.next=r),r}function Ji(i){i.next.prev=i.prev,i.prev.next=i.next,i.prevZ&&(i.prevZ.nextZ=i.nextZ),i.nextZ&&(i.nextZ.prevZ=i.prevZ)}function la(i,t,e){this.i=i,this.x=t,this.y=e,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function f_(i,t,e,n){let r=0;for(let s=t,o=e-n;s2&&i[t-1].equals(i[0])&&i.pop()}function Nl(i,t){for(let e=0;eNumber.EPSILON){const j=Math.sqrt(et),yt=Math.sqrt(v*v+N*N),ut=ct.x-M/j,_t=ct.y+ft/j,Ct=W.x-N/yt,Ft=W.y+v/yt,Q=((Ct-ut)*N-(Ft-_t)*v)/(ft*N-M*v);at=ut+ft*Q-R.x,q=_t+M*Q-R.y;const jt=at*at+q*q;if(jt<=2)return new tt(at,q);Et=Math.sqrt(jt/2)}else{let j=!1;ft>Number.EPSILON?v>Number.EPSILON&&(j=!0):ft<-Number.EPSILON?v<-Number.EPSILON&&(j=!0):Math.sign(M)===Math.sign(N)&&(j=!0),j?(at=-M,q=ft,Et=Math.sqrt(et)):(at=ft,q=M,Et=Math.sqrt(et/2))}return new tt(at/Et,q/Et)}const k=[];for(let R=0,ct=D.length,W=ct-1,at=R+1;R=0;R--){const ct=R/f,W=m*Math.cos(ct*Math.PI/2),at=g*Math.sin(ct*Math.PI/2)+x;for(let q=0,Et=D.length;q=0;){const at=W;let q=W-1;q<0&&(q=R.length-1);for(let Et=0,ft=h+f*2;Et0!=t>0&&this.version++,this._anisotropy=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=t.anisotropy,this.anisotropyRotation=t.anisotropyRotation,this.anisotropyMap=t.anisotropyMap,this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class v_ extends cn{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Ut(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ut(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fa,this.normalScale=new tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=ua,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}function Or(i,t,e){return!i||!e&&i.constructor===t?i:typeof t.BYTES_PER_ELEMENT=="number"?new t(i):Array.prototype.slice.call(i)}function x_(i){return ArrayBuffer.isView(i)&&!(i instanceof DataView)}function y_(i){function t(r,s){return i[r]-i[s]}const e=i.length,n=new Array(e);for(let r=0;r!==e;++r)n[r]=r;return n.sort(t),n}function Ol(i,t,e){const n=i.length,r=new i.constructor(n);for(let s=0,o=0;o!==n;++s){const a=e[s]*t;for(let l=0;l!==t;++l)r[o++]=i[a+l]}return r}function Hc(i,t,e,n){let r=1,s=i[0];for(;s!==void 0&&s[n]===void 0;)s=i[r++];if(s===void 0)return;let o=s[n];if(o!==void 0)if(Array.isArray(o))do o=s[n],o!==void 0&&(t.push(s.time),e.push.apply(e,o)),s=i[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[n],o!==void 0&&(t.push(s.time),o.toArray(e,e.length)),s=i[r++];while(s!==void 0);else do o=s[n],o!==void 0&&(t.push(s.time),e.push(o)),s=i[r++];while(s!==void 0)}class rs{constructor(t,e,n,r){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=r!==void 0?r:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,r=e[n],s=e[n-1];n:{t:{let o;e:{i:if(!(t=s)){const a=e[1];t=s)break t}o=n,n=0;break e}break n}for(;n>>1;te;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=n.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),t=!1);const n=this.times,r=this.values,s=n.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),t=!1);let o=null;for(let a=0;a!==s;a++){const l=n[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),t=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),t=!1;break}o=l}if(r!==void 0&&x_(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),t=!1;break}}return t}optimize(){const t=this.times.slice(),e=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===_s,s=t.length-1;let o=1;for(let a=1;a0){t[o]=t[s];for(let a=s*n,l=o*n,c=0;c!==n;++c)e[l+c]=e[a+c];++o}return o!==t.length?(this.times=t.slice(0,o),this.values=e.slice(0,o*n)):(this.times=t,this.values=e),this}clone(){const t=this.times.slice(),e=this.values.slice(),n=this.constructor,r=new n(this.name,t,e);return r.createInterpolant=this.createInterpolant,r}}Ke.prototype.TimeBufferType=Float32Array;Ke.prototype.ValueBufferType=Float32Array;Ke.prototype.DefaultInterpolation=kr;class wi extends Ke{}wi.prototype.ValueTypeName="bool";wi.prototype.ValueBufferType=Array;wi.prototype.DefaultInterpolation=Gr;wi.prototype.InterpolantFactoryMethodLinear=void 0;wi.prototype.InterpolantFactoryMethodSmooth=void 0;class Vc extends Ke{}Vc.prototype.ValueTypeName="color";class Jr extends Ke{}Jr.prototype.ValueTypeName="number";class b_ extends rs{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(n-e)/(r-e);let c=t*a;for(let h=c+a;c!==h;c+=4)Tn.slerpFlat(s,0,o,c-a,o,c,l);return s}}class tr extends Ke{InterpolantFactoryMethodLinear(t){return new b_(this.times,this.values,this.getValueSize(),t)}}tr.prototype.ValueTypeName="quaternion";tr.prototype.DefaultInterpolation=kr;tr.prototype.InterpolantFactoryMethodSmooth=void 0;class Ri extends Ke{}Ri.prototype.ValueTypeName="string";Ri.prototype.ValueBufferType=Array;Ri.prototype.DefaultInterpolation=Gr;Ri.prototype.InterpolantFactoryMethodLinear=void 0;Ri.prototype.InterpolantFactoryMethodSmooth=void 0;class $r extends Ke{}$r.prototype.ValueTypeName="vector";class y0{constructor(t,e=-1,n,r=Zh){this.name=t,this.tracks=n,this.duration=e,this.blendMode=r,this.uuid=Be(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,r=1/(t.fps||1);for(let o=0,a=n.length;o!==a;++o)e.push(A_(n[o]).scale(r));const s=new this(t.name,t.duration,e,t.blendMode);return s.uuid=t.uuid,s}static toJSON(t){const e=[],n=t.tracks,r={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let s=0,o=n.length;s!==o;++s)e.push(Ke.toJSON(n[s]));return r}static CreateFromMorphTargetSequence(t,e,n,r){const s=e.length,o=[];for(let a=0;a1){const u=h[1];let d=r[u];d||(r[u]=d=[]),d.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],e,n));return o}static parseAnimation(t,e){if(!t)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(u,d,m,g,x){if(m.length!==0){const f=[],p=[];Hc(m,f,p,g),f.length!==0&&x.push(new u(d,f,p))}},r=[],s=t.name||"default",o=t.fps||30,a=t.blendMode;let l=t.length||-1;const c=t.hierarchy||[];for(let u=0;u{e&&e(s),this.manager.itemEnd(t)},0),s;if(rn[t]!==void 0){rn[t].push({onLoad:e,onProgress:n,onError:r});return}rn[t]=[],rn[t].push({onLoad:e,onProgress:n,onError:r});const o=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream=="undefined"||c.body===void 0||c.body.getReader===void 0)return c;const h=rn[t],u=c.body.getReader(),d=c.headers.get("Content-Length")||c.headers.get("X-File-Size"),m=d?parseInt(d):0,g=m!==0;let x=0;const f=new ReadableStream({start(p){E();function E(){u.read().then(({done:_,value:b})=>{if(_)p.close();else{x+=b.byteLength;const I=new ProgressEvent("progress",{lengthComputable:g,loaded:x,total:m});for(let L=0,P=h.length;L{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(h=>new DOMParser().parseFromString(h,a));case"json":return c.json();default:if(a===void 0)return c.text();{const u=/charset="?([^;"\s]*)"?/i.exec(a),d=u&&u[1]?u[1].toLowerCase():void 0,m=new TextDecoder(d);return c.arrayBuffer().then(g=>m.decode(g))}}}).then(c=>{xn.add(t,c);const h=rn[t];delete rn[t];for(let u=0,d=h.length;u{const h=rn[t];if(h===void 0)throw this.manager.itemError(t),c;delete rn[t];for(let u=0,d=h.length;u{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class P_ extends er{constructor(t){super(t)}load(t,e,n,r){this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);const s=this,o=xn.get(t);if(o!==void 0)return s.manager.itemStart(t),setTimeout(function(){e&&e(o),s.manager.itemEnd(t)},0),o;const a=ji("img");function l(){h(),xn.add(t,this),e&&e(this),s.manager.itemEnd(t)}function c(u){h(),r&&r(u),s.manager.itemError(t),s.manager.itemEnd(t)}function h(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),t.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(t),a.src=t,a}}class L_ extends er{constructor(t){super(t)}load(t,e,n,r){const s=new xe,o=new P_(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(t,function(a){s.image=a,s.needsUpdate=!0,e!==void 0&&e(s)},n,r),s}}class ss extends ae{constructor(t,e=1){super(),this.isLight=!0,this.type="Light",this.color=new Ut(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,this.groundColor!==void 0&&(e.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(e.object.distance=this.distance),this.angle!==void 0&&(e.object.angle=this.angle),this.decay!==void 0&&(e.object.decay=this.decay),this.penumbra!==void 0&&(e.object.penumbra=this.penumbra),this.shadow!==void 0&&(e.object.shadow=this.shadow.toJSON()),e}}const js=new Yt,Fl=new C,Bl=new C;class ba{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new tt(512,512),this.map=null,this.mapPass=null,this.matrix=new Yt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new va,this._frameExtents=new tt(1,1),this._viewportCount=1,this._viewports=[new ee(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;Fl.setFromMatrixPosition(t.matrixWorld),e.position.copy(Fl),Bl.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(Bl),e.updateMatrixWorld(),js.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(js),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(js)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const t={};return this.bias!==0&&(t.bias=this.bias),this.normalBias!==0&&(t.normalBias=this.normalBias),this.radius!==1&&(t.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class D_ extends ba{constructor(){super(new Re(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=Ei*2*t.angle*this.focus,r=this.mapSize.width/this.mapSize.height,s=t.distance||e.far;(n!==e.fov||r!==e.aspect||s!==e.far)&&(e.fov=n,e.aspect=r,e.far=s,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class S0 extends ss{constructor(t,e,n=0,r=Math.PI/3,s=0,o=2){super(t,e),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(ae.DEFAULT_UP),this.updateMatrix(),this.target=new ae,this.distance=n,this.angle=r,this.penumbra=s,this.decay=o,this.map=null,this.shadow=new D_}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}const zl=new Yt,Hi=new C,Zs=new C;class I_ extends ba{constructor(){super(new Re(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new tt(4,2),this._viewportCount=6,this._viewports=[new ee(2,1,1,1),new ee(0,1,1,1),new ee(3,1,1,1),new ee(1,1,1,1),new ee(3,0,1,1),new ee(1,0,1,1)],this._cubeDirections=[new C(1,0,0),new C(-1,0,0),new C(0,0,1),new C(0,0,-1),new C(0,1,0),new C(0,-1,0)],this._cubeUps=[new C(0,1,0),new C(0,1,0),new C(0,1,0),new C(0,1,0),new C(0,0,1),new C(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,r=this.matrix,s=t.distance||n.far;s!==n.far&&(n.far=s,n.updateProjectionMatrix()),Hi.setFromMatrixPosition(t.matrixWorld),n.position.copy(Hi),Zs.copy(n.position),Zs.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(Zs),n.updateMatrixWorld(),r.makeTranslation(-Hi.x,-Hi.y,-Hi.z),zl.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(zl)}}class E0 extends ss{constructor(t,e,n=0,r=2){super(t,e),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=r,this.shadow=new I_}get power(){return this.intensity*4*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class N_ extends ba{constructor(){super(new gc(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class Hl extends ss{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(ae.DEFAULT_UP),this.updateMatrix(),this.target=new ae,this.shadow=new N_}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class U_ extends ss{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type="AmbientLight"}}class b0{static decodeText(t){if(typeof TextDecoder!="undefined")return new TextDecoder().decode(t);let e="";for(let n=0,r=t.length;n{e&&e(c),s.manager.itemEnd(t)}).catch(c=>{r&&r(c)});return}return setTimeout(function(){e&&e(o),s.manager.itemEnd(t)},0),o}const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader;const l=fetch(t,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(c){return xn.add(t,c),e&&e(c),s.manager.itemEnd(t),c}).catch(function(c){r&&r(c),xn.remove(t),s.manager.itemError(t),s.manager.itemEnd(t)});xn.add(t,l),s.manager.itemStart(t)}}class w0{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=Vl(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=Vl();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function Vl(){return(typeof performance=="undefined"?Date:performance).now()}const Ta="\\[\\]\\.:\\/",O_=new RegExp("["+Ta+"]","g"),Aa="[^"+Ta+"]",F_="[^"+Ta.replace("\\.","")+"]",B_=/((?:WC+[\/:])*)/.source.replace("WC",Aa),z_=/(WCOD+)?/.source.replace("WCOD",F_),H_=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Aa),V_=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Aa),G_=new RegExp("^"+B_+z_+H_+V_+"$"),k_=["material","materials","bones","map"];class W_{constructor(t,e,n){const r=n||$t.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,r)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];r!==void 0&&r.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=n.length;r!==s;++r)n[r].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}}class $t{constructor(t,e,n){this.path=e,this.parsedPath=n||$t.parseTrackName(e),this.node=$t.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new $t.Composite(t,e,n):new $t(t,e,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(O_,"")}static parseTrackName(t){const e=G_.exec(t);if(e===null)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=n.nodeName.substring(r+1);k_.indexOf(s)!==-1&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=s)}if(n.propertyName===null||n.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,e){if(e===void 0||e===""||e==="."||e===-1||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(n!==void 0)return n}if(t.children){const n=function(s){for(let o=0;oMath.PI&&(qt-=it),te<-Math.PI?te+=it:te>Math.PI&&(te-=it),qt<=te?a.theta=Math.max(qt,Math.min(te,a.theta)):a.theta=a.theta>(qt+te)/2?Math.max(qt,a.theta):Math.min(te,a.theta)),a.phi=Math.max(n.minPolarAngle,Math.min(n.maxPolarAngle,a.phi)),a.makeSafe(),n.enableDamping===!0?n.target.addScaledVector(h,n.dampingFactor):n.target.add(h),n.target.sub(n.cursor),n.target.clampLength(n.minTargetRadius,n.maxTargetRadius),n.target.add(n.cursor),n.zoomToCursor&&L||n.object.isOrthographicCamera?a.radius=$(a.radius):a.radius=$(a.radius*c),w.setFromSpherical(a),w.applyQuaternion(dt),Zt.copy(n.target).add(w),n.object.lookAt(n.target),n.enableDamping===!0?(l.theta*=1-n.dampingFactor,l.phi*=1-n.dampingFactor,h.multiplyScalar(1-n.dampingFactor)):(l.set(0,0,0),h.set(0,0,0));let ge=!1;if(n.zoomToCursor&&L){let Kt=null;if(n.object.isPerspectiveCamera){const le=w.length();Kt=$(le*c);const be=le-Kt;n.object.position.addScaledVector(b,be),n.object.updateMatrixWorld()}else if(n.object.isOrthographicCamera){const le=new C(I.x,I.y,0);le.unproject(n.object),n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/c)),n.object.updateProjectionMatrix(),ge=!0;const be=new C(I.x,I.y,0);be.unproject(n.object),n.object.position.sub(be).add(le),n.object.updateMatrixWorld(),Kt=w.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),n.zoomToCursor=!1;Kt!==null&&(this.screenSpacePanning?n.target.set(0,0,-1).transformDirection(n.object.matrix).multiplyScalar(Kt).add(n.object.position):(Br.origin.copy(n.object.position),Br.direction.set(0,0,-1).transformDirection(n.object.matrix),Math.abs(n.object.up.dot(Br.direction))o||8*(1-T.dot(n.object.quaternion))>o||st.distanceToSquared(n.target)>0?(n.dispatchEvent(Xl),Rt.copy(n.object.position),T.copy(n.object.quaternion),st.copy(n.target),!0):!1}}(),this.dispose=function(){n.domElement.removeEventListener("contextmenu",jt),n.domElement.removeEventListener("pointerdown",M),n.domElement.removeEventListener("pointercancel",N),n.domElement.removeEventListener("wheel",j),n.domElement.removeEventListener("pointermove",v),n.domElement.removeEventListener("pointerup",N),n._domElementKeyEvents!==null&&(n._domElementKeyEvents.removeEventListener("keydown",Ct),n._domElementKeyEvents=null)};const n=this,r={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let s=r.NONE;const o=1e-6,a=new kl,l=new kl;let c=1;const h=new C,u=new tt,d=new tt,m=new tt,g=new tt,x=new tt,f=new tt,p=new tt,E=new tt,_=new tt,b=new C,I=new tt;let L=!1;const P=[],V={};let lt=!1;function y(w){return w!==null?2*Math.PI/60*n.autoRotateSpeed*w:2*Math.PI/60/60*n.autoRotateSpeed}function A(w){const ot=Math.abs(w*.01);return Math.pow(.95,n.zoomSpeed*ot)}function Z(w){l.theta-=w}function rt(w){l.phi-=w}const D=function(){const w=new C;return function(dt,Rt){w.setFromMatrixColumn(Rt,0),w.multiplyScalar(-dt),h.add(w)}}(),z=function(){const w=new C;return function(dt,Rt){n.screenSpacePanning===!0?w.setFromMatrixColumn(Rt,1):(w.setFromMatrixColumn(Rt,0),w.crossVectors(n.object.up,w)),w.multiplyScalar(dt),h.add(w)}}(),O=function(){const w=new C;return function(dt,Rt){const T=n.domElement;if(n.object.isPerspectiveCamera){const st=n.object.position;w.copy(st).sub(n.target);let it=w.length();it*=Math.tan(n.object.fov/2*Math.PI/180),D(2*dt*it/T.clientHeight,n.object.matrix),z(2*Rt*it/T.clientHeight,n.object.matrix)}else n.object.isOrthographicCamera?(D(dt*(n.object.right-n.object.left)/n.object.zoom/T.clientWidth,n.object.matrix),z(Rt*(n.object.top-n.object.bottom)/n.object.zoom/T.clientHeight,n.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),n.enablePan=!1)}}();function Y(w){n.object.isPerspectiveCamera||n.object.isOrthographicCamera?c/=w:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function X(w){n.object.isPerspectiveCamera||n.object.isOrthographicCamera?c*=w:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function k(w,ot){if(!n.zoomToCursor)return;L=!0;const dt=n.domElement.getBoundingClientRect(),Rt=w-dt.left,T=ot-dt.top,st=dt.width,it=dt.height;I.x=Rt/st*2-1,I.y=-(T/it)*2+1,b.set(I.x,I.y,1).unproject(n.object).sub(n.object.position).normalize()}function $(w){return Math.max(n.minDistance,Math.min(n.maxDistance,w))}function K(w){u.set(w.clientX,w.clientY)}function mt(w){k(w.clientX,w.clientX),p.set(w.clientX,w.clientY)}function Lt(w){g.set(w.clientX,w.clientY)}function G(w){d.set(w.clientX,w.clientY),m.subVectors(d,u).multiplyScalar(n.rotateSpeed);const ot=n.domElement;Z(2*Math.PI*m.x/ot.clientHeight),rt(2*Math.PI*m.y/ot.clientHeight),u.copy(d),n.update()}function nt(w){E.set(w.clientX,w.clientY),_.subVectors(E,p),_.y>0?Y(A(_.y)):_.y<0&&X(A(_.y)),p.copy(E),n.update()}function gt(w){x.set(w.clientX,w.clientY),f.subVectors(x,g).multiplyScalar(n.panSpeed),O(f.x,f.y),g.copy(x),n.update()}function Mt(w){k(w.clientX,w.clientY),w.deltaY<0?X(A(w.deltaY)):w.deltaY>0&&Y(A(w.deltaY)),n.update()}function bt(w){let ot=!1;switch(w.code){case n.keys.UP:w.ctrlKey||w.metaKey||w.shiftKey?rt(2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(0,n.keyPanSpeed),ot=!0;break;case n.keys.BOTTOM:w.ctrlKey||w.metaKey||w.shiftKey?rt(-2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(0,-n.keyPanSpeed),ot=!0;break;case n.keys.LEFT:w.ctrlKey||w.metaKey||w.shiftKey?Z(2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(n.keyPanSpeed,0),ot=!0;break;case n.keys.RIGHT:w.ctrlKey||w.metaKey||w.shiftKey?Z(-2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(-n.keyPanSpeed,0),ot=!0;break}ot&&(w.preventDefault(),n.update())}function xt(w){if(P.length===1)u.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);u.set(dt,Rt)}}function Ot(w){if(P.length===1)g.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);g.set(dt,Rt)}}function At(w){const ot=pt(w),dt=w.pageX-ot.x,Rt=w.pageY-ot.y,T=Math.sqrt(dt*dt+Rt*Rt);p.set(0,T)}function R(w){n.enableZoom&&At(w),n.enablePan&&Ot(w)}function ct(w){n.enableZoom&&At(w),n.enableRotate&&xt(w)}function W(w){if(P.length==1)d.set(w.pageX,w.pageY);else{const dt=pt(w),Rt=.5*(w.pageX+dt.x),T=.5*(w.pageY+dt.y);d.set(Rt,T)}m.subVectors(d,u).multiplyScalar(n.rotateSpeed);const ot=n.domElement;Z(2*Math.PI*m.x/ot.clientHeight),rt(2*Math.PI*m.y/ot.clientHeight),u.copy(d)}function at(w){if(P.length===1)x.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);x.set(dt,Rt)}f.subVectors(x,g).multiplyScalar(n.panSpeed),O(f.x,f.y),g.copy(x)}function q(w){const ot=pt(w),dt=w.pageX-ot.x,Rt=w.pageY-ot.y,T=Math.sqrt(dt*dt+Rt*Rt);E.set(0,T),_.set(0,Math.pow(E.y/p.y,n.zoomSpeed)),Y(_.y),p.copy(E);const st=(w.pageX+ot.x)*.5,it=(w.pageY+ot.y)*.5;k(st,it)}function Et(w){n.enableZoom&&q(w),n.enablePan&&at(w)}function ft(w){n.enableZoom&&q(w),n.enableRotate&&W(w)}function M(w){n.enabled!==!1&&(P.length===0&&(n.domElement.setPointerCapture(w.pointerId),n.domElement.addEventListener("pointermove",v),n.domElement.addEventListener("pointerup",N)),Gt(w),w.pointerType==="touch"?Ft(w):et(w))}function v(w){n.enabled!==!1&&(w.pointerType==="touch"?Q(w):J(w))}function N(w){switch(It(w),P.length){case 0:n.domElement.releasePointerCapture(w.pointerId),n.domElement.removeEventListener("pointermove",v),n.domElement.removeEventListener("pointerup",N),n.dispatchEvent(ql),s=r.NONE;break;case 1:const ot=P[0],dt=V[ot];Ft({pointerId:ot,pageX:dt.x,pageY:dt.y});break}}function et(w){let ot;switch(w.button){case 0:ot=n.mouseButtons.LEFT;break;case 1:ot=n.mouseButtons.MIDDLE;break;case 2:ot=n.mouseButtons.RIGHT;break;default:ot=-1}switch(ot){case qn.DOLLY:if(n.enableZoom===!1)return;mt(w),s=r.DOLLY;break;case qn.ROTATE:if(w.ctrlKey||w.metaKey||w.shiftKey){if(n.enablePan===!1)return;Lt(w),s=r.PAN}else{if(n.enableRotate===!1)return;K(w),s=r.ROTATE}break;case qn.PAN:if(w.ctrlKey||w.metaKey||w.shiftKey){if(n.enableRotate===!1)return;K(w),s=r.ROTATE}else{if(n.enablePan===!1)return;Lt(w),s=r.PAN}break;default:s=r.NONE}s!==r.NONE&&n.dispatchEvent(Ks)}function J(w){switch(s){case r.ROTATE:if(n.enableRotate===!1)return;G(w);break;case r.DOLLY:if(n.enableZoom===!1)return;nt(w);break;case r.PAN:if(n.enablePan===!1)return;gt(w);break}}function j(w){n.enabled===!1||n.enableZoom===!1||s!==r.NONE||(w.preventDefault(),n.dispatchEvent(Ks),Mt(yt(w)),n.dispatchEvent(ql))}function yt(w){const ot=w.deltaMode,dt={clientX:w.clientX,clientY:w.clientY,deltaY:w.deltaY};switch(ot){case 1:dt.deltaY*=16;break;case 2:dt.deltaY*=100;break}return w.ctrlKey&&!lt&&(dt.deltaY*=10),dt}function ut(w){w.key==="Control"&&(lt=!0,n.domElement.getRootNode().addEventListener("keyup",_t,{passive:!0,capture:!0}))}function _t(w){w.key==="Control"&&(lt=!1,n.domElement.getRootNode().removeEventListener("keyup",_t,{passive:!0,capture:!0}))}function Ct(w){n.enabled===!1||n.enablePan===!1||bt(w)}function Ft(w){switch(wt(w),P.length){case 1:switch(n.touches.ONE){case Yn.ROTATE:if(n.enableRotate===!1)return;xt(w),s=r.TOUCH_ROTATE;break;case Yn.PAN:if(n.enablePan===!1)return;Ot(w),s=r.TOUCH_PAN;break;default:s=r.NONE}break;case 2:switch(n.touches.TWO){case Yn.DOLLY_PAN:if(n.enableZoom===!1&&n.enablePan===!1)return;R(w),s=r.TOUCH_DOLLY_PAN;break;case Yn.DOLLY_ROTATE:if(n.enableZoom===!1&&n.enableRotate===!1)return;ct(w),s=r.TOUCH_DOLLY_ROTATE;break;default:s=r.NONE}break;default:s=r.NONE}s!==r.NONE&&n.dispatchEvent(Ks)}function Q(w){switch(wt(w),s){case r.TOUCH_ROTATE:if(n.enableRotate===!1)return;W(w),n.update();break;case r.TOUCH_PAN:if(n.enablePan===!1)return;at(w),n.update();break;case r.TOUCH_DOLLY_PAN:if(n.enableZoom===!1&&n.enablePan===!1)return;Et(w),n.update();break;case r.TOUCH_DOLLY_ROTATE:if(n.enableZoom===!1&&n.enableRotate===!1)return;ft(w),n.update();break;default:s=r.NONE}}function jt(w){n.enabled!==!1&&w.preventDefault()}function Gt(w){P.push(w.pointerId)}function It(w){delete V[w.pointerId];for(let ot=0;ot{i instanceof Array?i.forEach(Gc):(i.map&&i.map.dispose(),i.dispose())},kc=i=>{i.geometry&&i.geometry.dispose(),i.material&&Gc(i.material),i.texture&&i.texture.dispose(),i.children&&i.children.forEach(kc)},j_=i=>{if(i&&i.children)for(;i.children.length;){const t=i.children[0];i.remove(t),kc(t)}};var wa={exports:{}},Z_=function(t,e,n,r){var s=t[0],o=t[1],a=!1;n===void 0&&(n=0),r===void 0&&(r=e.length);for(var l=(r-n)/2,c=0,h=l-1;co!=g>o&&s<(m-u)*(o-d)/(g-d)+u;x&&(a=!a)}return a},K_=function(t,e,n,r){var s=t[0],o=t[1],a=!1;n===void 0&&(n=0),r===void 0&&(r=e.length);for(var l=r-n,c=0,h=l-1;co!=g>o&&s<(m-u)*(o-d)/(g-d)+u;x&&(a=!a)}return a},Wc=Z_,Xc=K_;wa.exports=function(t,e,n,r){return e.length>0&&Array.isArray(e[0])?Xc(t,e,n,r):Wc(t,e,n,r)};wa.exports.nested=Xc;wa.exports.flat=Wc;const J_=""+new URL("ring2-a1b91808-balabala-1786725044461.png",import.meta.url).href,$_=""+new URL("ring3-fe0f60d7-balabala-1786725044461.png",import.meta.url).href,Q_=""+new URL("ring4-f2e324d6-balabala-1786725044461.png",import.meta.url).href;const t0={name:"ThreePie",props:{data:{type:Array,default:()=>[]},colors:{type:Array,default:()=>[2161326,15380744,3122407,65535,16536624]},opacity:{type:Number,default:.5},delay:{type:Number,default:5e3},autoPlay:{type:Boolean,default:!0},loopComplete:{type:Function,default:()=>{}}},computed:{currentData(){return Fa(Oa({},this.data[this.activeIndex]),{count:this.count})}},data(){return this.scene=null,this.camera=null,this.renderer=null,this.controls=null,this.axes=null,this.pieGroup=new Vi,this.planeTweens=[],this.resizeHandler=null,this.visibilityObserver=null,this.isVisible=!0,this.isDestroyed=!1,this.isLooping=!1,{width:300,height:200,activeIndex:0,count:0,timer:null}},mounted(){this.isVisible=this.isElementVisible(this.$el),this.updateSize(),this.count=this.data.map(i=>Number(i.value)||0).reduce((i,t)=>i+t,0),this.init(),this.setupVisibilityObserver(),this.resizeHandler=()=>this.resize(),window.addEventListener("resize",this.resizeHandler)},beforeUnmount(){this.destroy()},methods:{init(){this.scene=new Lg,this.initCamera(),this.initRenderer(),this.initLight(),this.initAxes(),this.initControls(),this.createPlane({url:J_,width:5,position:new C(0,0,-.01),color:"#00ffff"}),this.createPlane({url:$_,width:6.5,position:new C(0,0,-.02),color:"#00ffff"}),this.createPlane({url:Q_,width:5.5,position:new C(0,0,-.03),animate:!0,color:"#00ffff"}),this.createPie(),this.isVisible&&this.start()},createPlane(i){let t={url:"texture/ring1.png",width:5.5,z:0,position:new C(0,0,0),animate:!1,color:null},e=Object.assign(t,i);const n=new Qi(e.width,e.width),r=new _a({map:this.getTexture(e.url),transparent:!0,side:ke,depthTest:!1});e.color&&(r.color=new Ut(e.color));const s=new Ce(n,r);if(s.position.copy(e.position),s.rotation.x=-1*Math.PI/2,e.animate){const o=Pn.to(s.rotation,{z:2*Math.PI,repeat:-1,ease:"none",duration:3});this.planeTweens.push(o)}this.scene.add(s)},getTexture(i){const t=new L_().load(i);return t.wrapS=t.wrapT=Vr,t},createPie(){if(!this.data.length||this.count<=0)return;let i=0,t=0;for(var e=0;e=this.data.length&&(i=0,this.loopComplete&&this.loopComplete()),this.chooseRing(i)},chooseRing(i=0,t=!1){if(!this.pieGroup.children.length)return;let e=i-1<0?this.data.length-1:i-1,n=this.pieGroup.children[e];this.prevMesh=n,this.activeIndex=i;let r=this.pieGroup.children[i];r&&(t||n&&(Pn.to(n.scale,{z:1}),Pn.to(n.material,{opacity:this.opacity})),Pn.to(r.scale,{z:2}),Pn.to(r.material,{opacity:.8}))},addRing(i={}){let t={innerRadius:1.5,outerRadius:2,thickness:.5,startAngle:0,endAngle:Math.PI/2,color:65535,segments:120},e=Object.assign(t,i),n=new qi;n.arc(0,0,e.outerRadius,e.startAngle,e.endAngle);let r=n.getPoints(e.segments),s=new qi;s.arc(0,0,e.innerRadius,e.endAngle,e.startAngle,!0);let o=s.getPoints(e.segments),a=new qi(r.concat(o));const l={steps:1,depth:e.thickness,bevelEnabled:!0,bevelThickness:0,bevelSize:0,bevelOffset:0,bevelSegments:0},c=new Ea(a,l);let h=new v_({color:e.color,transparent:!0,opacity:this.opacity,side:ke});const u=new Ce(c,h.clone());return u.renderOrder=10,u.rotation.x=-1*Math.PI/2,u},initCamera(){var i=this.width/this.height;this.camera=new Re(30,i,.1,1500),this.camera.position.set(6.023813305272227,4.838542633695233,6.111272698256137),this.camera.lookAt(0,0,0)},initRenderer(){this.renderer=new Ec({antialias:!0,alpha:!0}),this.renderer.setPixelRatio(this.getPixelRatio()),this.renderer.setSize(this.width,this.height),this.$refs.pieDom.appendChild(this.renderer.domElement)},initLight(){let i=new Hl(16777215,2);i.position.set(200,300,200);let t=new Hl(16777215,2);t.position.set(-200,-300,-200);let e=new U_(16777215,2);this.scene.add(i),this.scene.add(t),this.scene.add(e)},initAxes(){this.axes=new X_(0),this.scene.add(this.axes)},initControls(){this.controls=new Y_(this.camera,this.renderer.domElement),this.controls.maxPolarAngle=Math.PI,this.controls.autoRotate=!1,this.controls.enableDamping=!0,this.controls.enabled=!1},loop(){!this.renderer||this.isLooping||(this.isLooping=!0,this.renderer.setAnimationLoop(()=>{this.renderer.render(this.scene,this.camera),this.controls&&this.controls.update()}))},start(){this.isDestroyed||!this.renderer||!this.data.length||(this.isVisible=!0,this.loop(),this.planeTweens.forEach(i=>{var t;return(t=i==null?void 0:i.resume)==null?void 0:t.call(i)}),this.controls&&(this.controls.enabled=!0),this.startTimer())},startTimer(){this.stopTimer(),this.autoPlay&&(this.data.length<2||(this.timer=window.setInterval(()=>{this.loopChange()},this.delay)))},stop(){this.stopTimer(),this.controls&&(this.controls.enabled=!1),this.renderer&&this.renderer.setAnimationLoop(null),this.planeTweens.forEach(i=>{var t;return(t=i==null?void 0:i.pause)==null?void 0:t.call(i)}),this.isLooping=!1},stopTimer(){this.timer&&(window.clearInterval(this.timer),this.timer=null)},setupVisibilityObserver(){const i=this.$el;!i||typeof window.IntersectionObserver!="function"||(this.visibilityObserver=new IntersectionObserver(t=>{const e=t[0],n=!!(e!=null&&e.isIntersecting)&&this.isElementVisible(i);n!==this.isVisible&&(this.isVisible=n,n?(this.resize(),this.start()):this.stop())}),this.visibilityObserver.observe(i),this.isVisible=this.isElementVisible(i),this.isVisible||this.stop())},isElementVisible(i){if(!i||typeof window.getComputedStyle!="function")return!0;let t=i;for(;t&&t!==document.body;){const n=window.getComputedStyle(t);if(n.display==="none"||n.visibility==="hidden"||Number(n.opacity)===0)return!1;t=t.parentElement}const e=i.getBoundingClientRect();return e.width>0&&e.height>0},getPixelRatio(){return Math.min(window.devicePixelRatio||1,1.5)},updateSize(){var t,e;const i=this.$refs.pieDom;this.width=(i==null?void 0:i.offsetWidth)||((t=this.$el)==null?void 0:t.offsetWidth)||300,this.height=(i==null?void 0:i.offsetHeight)||((e=this.$el)==null?void 0:e.offsetHeight)||200},getScene(){return this.scene},getRender(){return this.renderer},resize(){if(!this.camera||!this.renderer)return;this.updateSize();let i=this.width/this.height;this.camera.aspect=i,this.camera.updateProjectionMatrix(),this.renderer.setSize(this.width,this.height),this.renderer.setPixelRatio(this.getPixelRatio())},destroy(){var i,t,e,n;this.isDestroyed=!0,this.prevMesh&&(Pn.set(this.prevMesh.scale,{z:1}),Pn.set(this.prevMesh.material,{opacity:this.opacity})),this.stop(),(t=(i=this.visibilityObserver)==null?void 0:i.disconnect)==null||t.call(i),this.visibilityObserver=null,this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.renderer&&(this.planeTweens.forEach(r=>{var s;return(s=r==null?void 0:r.kill)==null?void 0:s.call(r)}),this.planeTweens=[],j_(this.pieGroup),this.renderer.dispose(),this.renderer.forceContextLoss(),(n=(e=this.controls)==null?void 0:e.dispose)==null||n.call(e),this.$refs.pieDom&&(this.$refs.pieDom.innerHTML=""),this.scene=null,this.camera=null,this.renderer=null,this.controls=null,this.axes=null)}}},e0={class:"three-pie-wrap"},n0={class:"three-pie",ref:"pieDom"},i0={class:"three-pie-slot"};function r0(i,t,e,n,r,s){return ih(),rh("div",e0,[za("div",n0,null,512),za("div",i0,[sh(i.$slots,"default",{data:s.currentData})])])}const D0=nh(t0,[["render",r0]]),gn=Object.freeze({canvasWidth:1920,canvasHeight:1080,sideCardWidth:398,sidePanelTop:128,sidePanelBottom:8,sideCardGap:12,sideCardMinHeight:227,cardTitleHeight:36}),I0=Object.freeze({ui:'"Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif',title:'"Alimama ShuHeiTi", "阿里妈妈数黑体 Bold", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif',number:'"D-DIN", "D-DIN-Bold", Arial, sans-serif'}),N0=Object.freeze({pageTitle:48,menu:14,cardTitle:16,kpiLabel:14,kpiValue:31,kpiUnit:11,chartUnit:10,chartAxis:10,chartLabel:11,tableBody:11,tableValue:12,popupTitle:20,popupBody:14,tooltip:12}),U0=Object.freeze({textPrimary:"#ffffff",textStrong:"#ffffff",textSecondary:"rgba(246, 253, 255, 0.92)",textMuted:"rgba(242, 253, 255, 0.9)",textWeak:"rgba(229, 248, 255, 0.74)",accentCyan:"#30dcff",accentMint:"#19ffc6",accentWater:"#31dcff",accentGrass:"#24f6c4",accentGold:"#8bf7ff",accentOrange:"#48cfff",cardBorder:"rgba(62, 226, 255, 0.5)",cardBg:"rgba(10, 52, 72, 0.7)",cardHeaderBg:"rgba(40, 124, 158, 0.62)",chartGridLine:"rgba(218, 250, 255, 0.28)",tooltipBg:"rgba(3, 13, 18, 0.92)",iconPrimary:"#30dcff",iconSecondary:"#19ffc6",iconBg:"rgba(48, 220, 255, 0.1)",iconBorder:"rgba(48, 220, 255, 0.42)",iconGlow:"rgba(48, 220, 255, 0.22)"});function O0(i=gn.canvasHeight){const t=Math.max(gn.canvasHeight,Number(i)||gn.canvasHeight),e=Math.floor((t-gn.sidePanelTop-gn.sidePanelBottom-gn.sideCardGap*3)/4);return Math.max(gn.sideCardMinHeight,e)}function F0(i,t=1){const e=Math.max(1,Number(t)||1);return i*e+gn.sideCardGap*(e-1)}export{Y_ as $,Va as A,$i as B,Ut as C,ke as D,m0 as E,bc as F,Vi as G,Rc as H,oe as I,qi as J,U0 as K,ya as L,D0 as M,_e as N,ae as O,Qi as P,Ic as Q,Vr as R,ve as S,zc as T,I0 as U,C as V,N0 as W,w0 as X,Ec as Y,gc as Z,Re as _,_a as a,qn as a0,Lg as a1,X_ as a2,vi as a3,L0 as a4,g0 as a5,tt as a6,Yt as a7,Tn as a8,Ea as a9,Tc as aA,Bn as aB,cn as aC,$t as aD,f0 as aE,Cc as aF,wc as aG,y0 as aH,Ng as aI,kr as aJ,Qt as aK,Ya as aL,us as aM,Pi as aN,ea as aO,Gr as aP,bn as aQ,xe as aR,$r as aS,Jr as aT,tr as aU,rs as aV,w_ as aW,wn as aa,T0 as ab,R0 as ac,Zr as ad,v0 as ae,ln as af,ht as ag,Ye as ah,zu as ai,An as aj,ee as ak,P0 as al,yu as am,C0 as an,c0 as ao,u0 as ap,h0 as aq,er as ar,b0 as as,on as at,S0 as au,x0 as av,p0 as aw,yl as ax,L_ as ay,A0 as az,Ce as b,U_ as c,Hl as d,j_ as e,E0 as f,v_ as g,__ as h,ch as i,On as j,vh as k,fh as l,Bg as m,Dg as n,d0 as o,M0 as p,gn as q,O0 as r,F0 as s,_0 as t,We as u,we as v,ze as w,Hg as x,Bc as y,ye as z}; +}`;class Ag{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(t,e,n){if(this.texture===null){const r=new xe,s=t.properties.get(r);s.__webglTexture=e.texture,(e.depthNear!=n.depthNear||e.depthFar!=n.depthFar)&&(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=r}}render(t,e){if(this.texture!==null){if(this.mesh===null){const n=e.cameras[0].viewport,r=new An({extensions:{fragDepth:!0},vertexShader:bg,fragmentShader:Tg,uniforms:{depthColor:{value:this.texture},depthWidth:{value:n.z},depthHeight:{value:n.w}}});this.mesh=new Ce(new Qi(20,20),r)}t.render(this.mesh,e)}}reset(){this.texture=null,this.mesh=null}}class wg extends Xn{constructor(t,e){super();const n=this;let r=null,s=1,o=null,a="local-floor",l=1,c=null,h=null,u=null,d=null,m=null,g=null;const x=new Ag,f=e.getContextAttributes();let p=null,E=null;const _=[],b=[],I=new tt;let L=null;const P=new Re;P.layers.enable(1),P.viewport=new ee;const V=new Re;V.layers.enable(2),V.viewport=new ee;const lt=[P,V],y=new Sg;y.layers.enable(1),y.layers.enable(2);let A=null,Z=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getTargetRaySpace()},this.getControllerGrip=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getGripSpace()},this.getHand=function(G){let nt=_[G];return nt===void 0&&(nt=new Hs,_[G]=nt),nt.getHandSpace()};function rt(G){const nt=b.indexOf(G.inputSource);if(nt===-1)return;const gt=_[nt];gt!==void 0&&(gt.update(G.inputSource,G.frame,c||o),gt.dispatchEvent({type:G.type,data:G.inputSource}))}function D(){r.removeEventListener("select",rt),r.removeEventListener("selectstart",rt),r.removeEventListener("selectend",rt),r.removeEventListener("squeeze",rt),r.removeEventListener("squeezestart",rt),r.removeEventListener("squeezeend",rt),r.removeEventListener("end",D),r.removeEventListener("inputsourceschange",z);for(let G=0;G<_.length;G++){const nt=b[G];nt!==null&&(b[G]=null,_[G].disconnect(nt))}A=null,Z=null,x.reset(),t.setRenderTarget(p),m=null,d=null,u=null,r=null,E=null,Lt.stop(),n.isPresenting=!1,t.setPixelRatio(L),t.setSize(I.width,I.height,!1),n.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(G){s=G,n.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(G){a=G,n.isPresenting===!0&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return c||o},this.setReferenceSpace=function(G){c=G},this.getBaseLayer=function(){return d!==null?d:m},this.getBinding=function(){return u},this.getFrame=function(){return g},this.getSession=function(){return r},this.setSession=function(G){return Ba(this,null,function*(){if(r=G,r!==null){if(p=t.getRenderTarget(),r.addEventListener("select",rt),r.addEventListener("selectstart",rt),r.addEventListener("selectend",rt),r.addEventListener("squeeze",rt),r.addEventListener("squeezestart",rt),r.addEventListener("squeezeend",rt),r.addEventListener("end",D),r.addEventListener("inputsourceschange",z),f.xrCompatible!==!0&&(yield e.makeXRCompatible()),L=t.getPixelRatio(),t.getSize(I),r.renderState.layers===void 0||t.capabilities.isWebGL2===!1){const nt={antialias:r.renderState.layers===void 0?f.antialias:!0,alpha:!0,depth:f.depth,stencil:f.stencil,framebufferScaleFactor:s};m=new XRWebGLLayer(r,e,nt),r.updateRenderState({baseLayer:m}),t.setPixelRatio(1),t.setSize(m.framebufferWidth,m.framebufferHeight,!1),E=new kn(m.framebufferWidth,m.framebufferHeight,{format:Oe,type:Sn,colorSpace:t.outputColorSpace,stencilBuffer:f.stencil})}else{let nt=null,gt=null,Mt=null;f.depth&&(Mt=f.stencil?e.DEPTH24_STENCIL8:e.DEPTH_COMPONENT24,nt=f.stencil?Si:Hn,gt=f.stencil?zn:vn);const bt={colorFormat:e.RGBA8,depthFormat:Mt,scaleFactor:s};u=new XRWebGLBinding(r,e),d=u.createProjectionLayer(bt),r.updateRenderState({layers:[d]}),t.setPixelRatio(1),t.setSize(d.textureWidth,d.textureHeight,!1),E=new kn(d.textureWidth,d.textureHeight,{format:Oe,type:Sn,depthTexture:new _c(d.textureWidth,d.textureHeight,gt,void 0,void 0,void 0,void 0,void 0,void 0,nt),stencilBuffer:f.stencil,colorSpace:t.outputColorSpace,samples:f.antialias?4:0});const xt=t.properties.get(E);xt.__ignoreDepthValues=d.ignoreDepthValues}E.isXRRenderTarget=!0,this.setFoveation(l),c=null,o=yield r.requestReferenceSpace(a),Lt.setContext(r),Lt.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}})},this.getEnvironmentBlendMode=function(){if(r!==null)return r.environmentBlendMode};function z(G){for(let nt=0;nt=0&&(b[Mt]=null,_[Mt].disconnect(gt))}for(let nt=0;nt=b.length){b.push(gt),Mt=xt;break}else if(b[xt]===null){b[xt]=gt,Mt=xt;break}if(Mt===-1)break}const bt=_[Mt];bt&&bt.connect(gt)}}const O=new C,Y=new C;function X(G,nt,gt){O.setFromMatrixPosition(nt.matrixWorld),Y.setFromMatrixPosition(gt.matrixWorld);const Mt=O.distanceTo(Y),bt=nt.projectionMatrix.elements,xt=gt.projectionMatrix.elements,Ot=bt[14]/(bt[10]-1),At=bt[14]/(bt[10]+1),R=(bt[9]+1)/bt[5],ct=(bt[9]-1)/bt[5],W=(bt[8]-1)/bt[0],at=(xt[8]+1)/xt[0],q=Ot*W,Et=Ot*at,ft=Mt/(-W+at),M=ft*-W;nt.matrixWorld.decompose(G.position,G.quaternion,G.scale),G.translateX(M),G.translateZ(ft),G.matrixWorld.compose(G.position,G.quaternion,G.scale),G.matrixWorldInverse.copy(G.matrixWorld).invert();const v=Ot+ft,N=At+ft,et=q-M,J=Et+(Mt-M),j=R*At/N*v,yt=ct*At/N*v;G.projectionMatrix.makePerspective(et,J,j,yt,v,N),G.projectionMatrixInverse.copy(G.projectionMatrix).invert()}function k(G,nt){nt===null?G.matrixWorld.copy(G.matrix):G.matrixWorld.multiplyMatrices(nt.matrixWorld,G.matrix),G.matrixWorldInverse.copy(G.matrixWorld).invert()}this.updateCamera=function(G){if(r===null)return;x.texture!==null&&(G.near=x.depthNear,G.far=x.depthFar),y.near=V.near=P.near=G.near,y.far=V.far=P.far=G.far,(A!==y.near||Z!==y.far)&&(r.updateRenderState({depthNear:y.near,depthFar:y.far}),A=y.near,Z=y.far,P.near=A,P.far=Z,V.near=A,V.far=Z,P.updateProjectionMatrix(),V.updateProjectionMatrix(),G.updateProjectionMatrix());const nt=G.parent,gt=y.cameras;k(y,nt);for(let Mt=0;Mt0&&(f.alphaTest.value=p.alphaTest);const E=t.get(p).envMap;if(E&&(f.envMap.value=E,f.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,f.reflectivity.value=p.reflectivity,f.ior.value=p.ior,f.refractionRatio.value=p.refractionRatio),p.lightMap){f.lightMap.value=p.lightMap;const _=i._useLegacyLights===!0?Math.PI:1;f.lightMapIntensity.value=p.lightMapIntensity*_,e(p.lightMap,f.lightMapTransform)}p.aoMap&&(f.aoMap.value=p.aoMap,f.aoMapIntensity.value=p.aoMapIntensity,e(p.aoMap,f.aoMapTransform))}function o(f,p){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,p.map&&(f.map.value=p.map,e(p.map,f.mapTransform))}function a(f,p){f.dashSize.value=p.dashSize,f.totalSize.value=p.dashSize+p.gapSize,f.scale.value=p.scale}function l(f,p,E,_){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,f.size.value=p.size*E,f.scale.value=_*.5,p.map&&(f.map.value=p.map,e(p.map,f.uvTransform)),p.alphaMap&&(f.alphaMap.value=p.alphaMap,e(p.alphaMap,f.alphaMapTransform)),p.alphaTest>0&&(f.alphaTest.value=p.alphaTest)}function c(f,p){f.diffuse.value.copy(p.color),f.opacity.value=p.opacity,f.rotation.value=p.rotation,p.map&&(f.map.value=p.map,e(p.map,f.mapTransform)),p.alphaMap&&(f.alphaMap.value=p.alphaMap,e(p.alphaMap,f.alphaMapTransform)),p.alphaTest>0&&(f.alphaTest.value=p.alphaTest)}function h(f,p){f.specular.value.copy(p.specular),f.shininess.value=Math.max(p.shininess,1e-4)}function u(f,p){p.gradientMap&&(f.gradientMap.value=p.gradientMap)}function d(f,p){f.metalness.value=p.metalness,p.metalnessMap&&(f.metalnessMap.value=p.metalnessMap,e(p.metalnessMap,f.metalnessMapTransform)),f.roughness.value=p.roughness,p.roughnessMap&&(f.roughnessMap.value=p.roughnessMap,e(p.roughnessMap,f.roughnessMapTransform)),t.get(p).envMap&&(f.envMapIntensity.value=p.envMapIntensity)}function m(f,p,E){f.ior.value=p.ior,p.sheen>0&&(f.sheenColor.value.copy(p.sheenColor).multiplyScalar(p.sheen),f.sheenRoughness.value=p.sheenRoughness,p.sheenColorMap&&(f.sheenColorMap.value=p.sheenColorMap,e(p.sheenColorMap,f.sheenColorMapTransform)),p.sheenRoughnessMap&&(f.sheenRoughnessMap.value=p.sheenRoughnessMap,e(p.sheenRoughnessMap,f.sheenRoughnessMapTransform))),p.clearcoat>0&&(f.clearcoat.value=p.clearcoat,f.clearcoatRoughness.value=p.clearcoatRoughness,p.clearcoatMap&&(f.clearcoatMap.value=p.clearcoatMap,e(p.clearcoatMap,f.clearcoatMapTransform)),p.clearcoatRoughnessMap&&(f.clearcoatRoughnessMap.value=p.clearcoatRoughnessMap,e(p.clearcoatRoughnessMap,f.clearcoatRoughnessMapTransform)),p.clearcoatNormalMap&&(f.clearcoatNormalMap.value=p.clearcoatNormalMap,e(p.clearcoatNormalMap,f.clearcoatNormalMapTransform),f.clearcoatNormalScale.value.copy(p.clearcoatNormalScale),p.side===Pe&&f.clearcoatNormalScale.value.negate())),p.iridescence>0&&(f.iridescence.value=p.iridescence,f.iridescenceIOR.value=p.iridescenceIOR,f.iridescenceThicknessMinimum.value=p.iridescenceThicknessRange[0],f.iridescenceThicknessMaximum.value=p.iridescenceThicknessRange[1],p.iridescenceMap&&(f.iridescenceMap.value=p.iridescenceMap,e(p.iridescenceMap,f.iridescenceMapTransform)),p.iridescenceThicknessMap&&(f.iridescenceThicknessMap.value=p.iridescenceThicknessMap,e(p.iridescenceThicknessMap,f.iridescenceThicknessMapTransform))),p.transmission>0&&(f.transmission.value=p.transmission,f.transmissionSamplerMap.value=E.texture,f.transmissionSamplerSize.value.set(E.width,E.height),p.transmissionMap&&(f.transmissionMap.value=p.transmissionMap,e(p.transmissionMap,f.transmissionMapTransform)),f.thickness.value=p.thickness,p.thicknessMap&&(f.thicknessMap.value=p.thicknessMap,e(p.thicknessMap,f.thicknessMapTransform)),f.attenuationDistance.value=p.attenuationDistance,f.attenuationColor.value.copy(p.attenuationColor)),p.anisotropy>0&&(f.anisotropyVector.value.set(p.anisotropy*Math.cos(p.anisotropyRotation),p.anisotropy*Math.sin(p.anisotropyRotation)),p.anisotropyMap&&(f.anisotropyMap.value=p.anisotropyMap,e(p.anisotropyMap,f.anisotropyMapTransform))),f.specularIntensity.value=p.specularIntensity,f.specularColor.value.copy(p.specularColor),p.specularColorMap&&(f.specularColorMap.value=p.specularColorMap,e(p.specularColorMap,f.specularColorMapTransform)),p.specularIntensityMap&&(f.specularIntensityMap.value=p.specularIntensityMap,e(p.specularIntensityMap,f.specularIntensityMapTransform))}function g(f,p){p.matcap&&(f.matcap.value=p.matcap)}function x(f,p){const E=t.get(p).light;f.referencePosition.value.setFromMatrixPosition(E.matrixWorld),f.nearDistance.value=E.shadow.camera.near,f.farDistance.value=E.shadow.camera.far}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function Cg(i,t,e,n){let r={},s={},o=[];const a=e.isWebGL2?i.getParameter(i.MAX_UNIFORM_BUFFER_BINDINGS):0;function l(E,_){const b=_.program;n.uniformBlockBinding(E,b)}function c(E,_){let b=r[E.id];b===void 0&&(g(E),b=h(E),r[E.id]=b,E.addEventListener("dispose",f));const I=_.program;n.updateUBOMapping(E,I);const L=t.render.frame;s[E.id]!==L&&(d(E),s[E.id]=L)}function h(E){const _=u();E.__bindingPointIndex=_;const b=i.createBuffer(),I=E.__size,L=E.usage;return i.bindBuffer(i.UNIFORM_BUFFER,b),i.bufferData(i.UNIFORM_BUFFER,I,L),i.bindBuffer(i.UNIFORM_BUFFER,null),i.bindBufferBase(i.UNIFORM_BUFFER,_,b),b}function u(){for(let E=0;E0&&(b+=I-L),E.__size=b,E.__cache={},this}function x(E){const _={boundary:0,storage:0};return typeof E=="number"||typeof E=="boolean"?(_.boundary=4,_.storage=4):E.isVector2?(_.boundary=8,_.storage=8):E.isVector3||E.isColor?(_.boundary=16,_.storage=12):E.isVector4?(_.boundary=16,_.storage=16):E.isMatrix3?(_.boundary=48,_.storage=48):E.isMatrix4?(_.boundary=64,_.storage=64):E.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",E),_}function f(E){const _=E.target;_.removeEventListener("dispose",f);const b=o.indexOf(_.__bindingPointIndex);o.splice(b,1),i.deleteBuffer(r[_.id]),delete r[_.id],delete s[_.id]}function p(){for(const E in r)i.deleteBuffer(r[E]);o=[],r={},s={}}return{bind:l,update:c,dispose:p}}class Ec{constructor(t={}){const{canvas:e=Mu(),context:n=null,depth:r=!0,stencil:s=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:h="default",failIfMajorPerformanceCaveat:u=!1}=t;this.isWebGLRenderer=!0;let d;n!==null?d=n.getContextAttributes().alpha:d=o;const m=new Uint32Array(4),g=new Int32Array(4);let x=null,f=null;const p=[],E=[];this.domElement=e,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=ve,this._useLegacyLights=!1,this.toneMapping=Mn,this.toneMappingExposure=1;const _=this;let b=!1,I=0,L=0,P=null,V=-1,lt=null;const y=new ee,A=new ee;let Z=null;const rt=new Ut(0);let D=0,z=e.width,O=e.height,Y=1,X=null,k=null;const $=new ee(0,0,z,O),K=new ee(0,0,z,O);let mt=!1;const Lt=new va;let G=!1,nt=!1,gt=null;const Mt=new Yt,bt=new tt,xt=new C,Ot={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function At(){return P===null?Y:1}let R=n;function ct(S,U){for(let B=0;B{function vt(){if(H.forEach(function(Tt){ft.get(Tt).currentProgram.isReady()&&H.delete(Tt)}),H.size===0){F(S);return}setTimeout(vt,10)}W.get("KHR_parallel_shader_compile")!==null?vt():setTimeout(vt,10)})};let qt=null;function te(S){qt&&qt(S)}function ge(){le.stop()}function Kt(){le.start()}const le=new mc;le.setAnimationLoop(te),typeof self!="undefined"&&le.setContext(self),this.setAnimationLoop=function(S){qt=S,dt.setAnimationLoop(S),S===null?le.stop():le.start()},dt.addEventListener("sessionstart",ge),dt.addEventListener("sessionend",Kt),this.render=function(S,U){if(U!==void 0&&U.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(b===!0)return;S.matrixWorldAutoUpdate===!0&&S.updateMatrixWorld(),U.parent===null&&U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),dt.enabled===!0&&dt.isPresenting===!0&&(dt.cameraAutoUpdate===!0&&dt.updateCamera(U),U=dt.getCamera()),S.isScene===!0&&S.onBeforeRender(_,S,U,P),f=Ct.get(S,E.length),f.init(),E.push(f),Mt.multiplyMatrices(U.projectionMatrix,U.matrixWorldInverse),Lt.setFromProjectionMatrix(Mt),nt=this.localClippingEnabled,G=Ft.init(this.clippingPlanes,nt),x=_t.get(S,p.length),x.init(),p.push(x),be(S,U,0,_.sortObjects),x.finish(),_.sortObjects===!0&&x.sort(X,k),this.info.render.frame++,G===!0&&Ft.beginShadows();const B=f.state.shadowsArray;if(Q.render(B,S,U),G===!0&&Ft.endShadows(),this.info.autoReset===!0&&this.info.reset(),(dt.enabled===!1||dt.isPresenting===!1||dt.hasDepthSensing()===!1)&&jt.render(x,S),f.setupLights(_._useLegacyLights),U.isArrayCamera){const H=U.cameras;for(let F=0,vt=H.length;F0?f=E[E.length-1]:f=null,p.pop(),p.length>0?x=p[p.length-1]:x=null};function be(S,U,B,H){if(S.visible===!1)return;if(S.layers.test(U.layers)){if(S.isGroup)B=S.renderOrder;else if(S.isLOD)S.autoUpdate===!0&&S.update(U);else if(S.isLight)f.pushLight(S),S.castShadow&&f.pushShadow(S);else if(S.isSprite){if(!S.frustumCulled||Lt.intersectsSprite(S)){H&&xt.setFromMatrixPosition(S.matrixWorld).applyMatrix4(Mt);const Tt=j.update(S),Dt=S.material;Dt.visible&&x.push(S,Tt,Dt,B,xt.z,null)}}else if((S.isMesh||S.isLine||S.isPoints)&&(!S.frustumCulled||Lt.intersectsObject(S))){const Tt=j.update(S),Dt=S.material;if(H&&(S.boundingSphere!==void 0?(S.boundingSphere===null&&S.computeBoundingSphere(),xt.copy(S.boundingSphere.center)):(Tt.boundingSphere===null&&Tt.computeBoundingSphere(),xt.copy(Tt.boundingSphere.center)),xt.applyMatrix4(S.matrixWorld).applyMatrix4(Mt)),Array.isArray(Dt)){const Nt=Tt.groups;for(let kt=0,Bt=Nt.length;kt0&&qc(F,vt,U,B),H&&q.viewport(y.copy(H)),F.length>0&&nr(F,U,B),vt.length>0&&nr(vt,U,B),Tt.length>0&&nr(Tt,U,B),q.buffers.depth.setTest(!0),q.buffers.depth.setMask(!0),q.buffers.color.setMask(!0),q.setPolygonOffset(!1)}function qc(S,U,B,H){if((B.isScene===!0?B.overrideMaterial:null)!==null)return;const vt=at.isWebGL2;gt===null&&(gt=new kn(1,1,{generateMipmaps:!0,type:W.has("EXT_color_buffer_half_float")?Yi:Sn,minFilter:Bn,samples:vt?4:0})),_.getDrawingBufferSize(bt),vt?gt.setSize(bt.x,bt.y):gt.setSize(jr(bt.x),jr(bt.y));const Tt=_.getRenderTarget();_.setRenderTarget(gt),_.getClearColor(rt),D=_.getClearAlpha(),D<1&&_.setClearColor(16777215,.5),_.clear();const Dt=_.toneMapping;_.toneMapping=Mn,nr(S,B,H),M.updateMultisampleRenderTarget(gt),M.updateRenderTargetMipmap(gt);let Nt=!1;for(let kt=0,Bt=U.length;kt0),Ht=!!B.morphAttributes.position,ce=!!B.morphAttributes.normal,Le=!!B.morphAttributes.color;let pe=Mn;H.toneMapped&&(P===null||P.isXRRenderTarget===!0)&&(pe=_.toneMapping);const Je=B.morphAttributes.position||B.morphAttributes.normal||B.morphAttributes.color,ie=Je!==void 0?Je.length:0,Wt=ft.get(H),as=f.state.lights;if(G===!0&&(nt===!0||S!==lt)){const Ne=S===lt&&H.id===V;Ft.setState(H,S,Ne)}let se=!1;H.version===Wt.__version?(Wt.needsLights&&Wt.lightsStateVersion!==as.state.version||Wt.outputColorSpace!==Dt||F.isBatchedMesh&&Wt.batching===!1||!F.isBatchedMesh&&Wt.batching===!0||F.isInstancedMesh&&Wt.instancing===!1||!F.isInstancedMesh&&Wt.instancing===!0||F.isSkinnedMesh&&Wt.skinning===!1||!F.isSkinnedMesh&&Wt.skinning===!0||F.isInstancedMesh&&Wt.instancingColor===!0&&F.instanceColor===null||F.isInstancedMesh&&Wt.instancingColor===!1&&F.instanceColor!==null||Wt.envMap!==Nt||H.fog===!0&&Wt.fog!==vt||Wt.numClippingPlanes!==void 0&&(Wt.numClippingPlanes!==Ft.numPlanes||Wt.numIntersection!==Ft.numIntersection)||Wt.vertexAlphas!==kt||Wt.vertexTangents!==Bt||Wt.morphTargets!==Ht||Wt.morphNormals!==ce||Wt.morphColors!==Le||Wt.toneMapping!==pe||at.isWebGL2===!0&&Wt.morphTargetsCount!==ie)&&(se=!0):(se=!0,Wt.__version=H.version);let Rn=Wt.currentProgram;se===!0&&(Rn=ir(H,U,F));let Da=!1,Ci=!1,os=!1;const Me=Rn.getUniforms(),Cn=Wt.uniforms;if(q.useProgram(Rn.program)&&(Da=!0,Ci=!0,os=!0),H.id!==V&&(V=H.id,Ci=!0),Da||lt!==S){Me.setValue(R,"projectionMatrix",S.projectionMatrix),Me.setValue(R,"viewMatrix",S.matrixWorldInverse);const Ne=Me.map.cameraPosition;Ne!==void 0&&Ne.setValue(R,xt.setFromMatrixPosition(S.matrixWorld)),at.logarithmicDepthBuffer&&Me.setValue(R,"logDepthBufFC",2/(Math.log(S.far+1)/Math.LN2)),(H.isMeshPhongMaterial||H.isMeshToonMaterial||H.isMeshLambertMaterial||H.isMeshBasicMaterial||H.isMeshStandardMaterial||H.isShaderMaterial)&&Me.setValue(R,"isOrthographic",S.isOrthographicCamera===!0),lt!==S&&(lt=S,Ci=!0,os=!0)}if(F.isSkinnedMesh){Me.setOptional(R,F,"bindMatrix"),Me.setOptional(R,F,"bindMatrixInverse");const Ne=F.skeleton;Ne&&(at.floatVertexTextures?(Ne.boneTexture===null&&Ne.computeBoneTexture(),Me.setValue(R,"boneTexture",Ne.boneTexture,M)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}F.isBatchedMesh&&(Me.setOptional(R,F,"batchingTexture"),Me.setValue(R,"batchingTexture",F._matricesTexture,M));const ls=B.morphAttributes;if((ls.position!==void 0||ls.normal!==void 0||ls.color!==void 0&&at.isWebGL2===!0)&&Gt.update(F,B,Rn),(Ci||Wt.receiveShadow!==F.receiveShadow)&&(Wt.receiveShadow=F.receiveShadow,Me.setValue(R,"receiveShadow",F.receiveShadow)),H.isMeshGouraudMaterial&&H.envMap!==null&&(Cn.envMap.value=Nt,Cn.flipEnvMap.value=Nt.isCubeTexture&&Nt.isRenderTargetTexture===!1?-1:1),Ci&&(Me.setValue(R,"toneMappingExposure",_.toneMappingExposure),Wt.needsLights&&jc(Cn,os),vt&&H.fog===!0&&ut.refreshFogUniforms(Cn,vt),ut.refreshMaterialUniforms(Cn,H,Y,O,gt),zr.upload(R,Pa(Wt),Cn,M)),H.isShaderMaterial&&H.uniformsNeedUpdate===!0&&(zr.upload(R,Pa(Wt),Cn,M),H.uniformsNeedUpdate=!1),H.isSpriteMaterial&&Me.setValue(R,"center",F.center),Me.setValue(R,"modelViewMatrix",F.modelViewMatrix),Me.setValue(R,"normalMatrix",F.normalMatrix),Me.setValue(R,"modelMatrix",F.matrixWorld),H.isShaderMaterial||H.isRawShaderMaterial){const Ne=H.uniformsGroups;for(let cs=0,Kc=Ne.length;cs0&&M.useMultisampledRTT(S)===!1?F=ft.get(S).__webglMultisampledFramebuffer:Array.isArray(Bt)?F=Bt[B]:F=Bt,y.copy(S.viewport),A.copy(S.scissor),Z=S.scissorTest}else y.copy($).multiplyScalar(Y).floor(),A.copy(K).multiplyScalar(Y).floor(),Z=mt;if(q.bindFramebuffer(R.FRAMEBUFFER,F)&&at.drawBuffers&&H&&q.drawBuffers(S,F),q.viewport(y),q.scissor(A),q.setScissorTest(Z),vt){const Nt=ft.get(S.texture);R.framebufferTexture2D(R.FRAMEBUFFER,R.COLOR_ATTACHMENT0,R.TEXTURE_CUBE_MAP_POSITIVE_X+U,Nt.__webglTexture,B)}else if(Tt){const Nt=ft.get(S.texture),kt=U||0;R.framebufferTextureLayer(R.FRAMEBUFFER,R.COLOR_ATTACHMENT0,Nt.__webglTexture,B||0,kt)}V=-1},this.readRenderTargetPixels=function(S,U,B,H,F,vt,Tt){if(!(S&&S.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let Dt=ft.get(S).__webglFramebuffer;if(S.isWebGLCubeRenderTarget&&Tt!==void 0&&(Dt=Dt[Tt]),Dt){q.bindFramebuffer(R.FRAMEBUFFER,Dt);try{const Nt=S.texture,kt=Nt.format,Bt=Nt.type;if(kt!==Oe&&pt.convert(kt)!==R.getParameter(R.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const Ht=Bt===Yi&&(W.has("EXT_color_buffer_half_float")||at.isWebGL2&&W.has("EXT_color_buffer_float"));if(Bt!==Sn&&pt.convert(Bt)!==R.getParameter(R.IMPLEMENTATION_COLOR_READ_TYPE)&&!(Bt===je&&(at.isWebGL2||W.has("OES_texture_float")||W.has("WEBGL_color_buffer_float")))&&!Ht){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}U>=0&&U<=S.width-H&&B>=0&&B<=S.height-F&&R.readPixels(U,B,H,F,pt.convert(kt),pt.convert(Bt),vt)}finally{const Nt=P!==null?ft.get(P).__webglFramebuffer:null;q.bindFramebuffer(R.FRAMEBUFFER,Nt)}}},this.copyFramebufferToTexture=function(S,U,B=0){const H=Math.pow(2,-B),F=Math.floor(U.image.width*H),vt=Math.floor(U.image.height*H);M.setTexture2D(U,0),R.copyTexSubImage2D(R.TEXTURE_2D,B,0,0,S.x,S.y,F,vt),q.unbindTexture()},this.copyTextureToTexture=function(S,U,B,H=0){const F=U.image.width,vt=U.image.height,Tt=pt.convert(B.format),Dt=pt.convert(B.type);M.setTexture2D(B,0),R.pixelStorei(R.UNPACK_FLIP_Y_WEBGL,B.flipY),R.pixelStorei(R.UNPACK_PREMULTIPLY_ALPHA_WEBGL,B.premultiplyAlpha),R.pixelStorei(R.UNPACK_ALIGNMENT,B.unpackAlignment),U.isDataTexture?R.texSubImage2D(R.TEXTURE_2D,H,S.x,S.y,F,vt,Tt,Dt,U.image.data):U.isCompressedTexture?R.compressedTexSubImage2D(R.TEXTURE_2D,H,S.x,S.y,U.mipmaps[0].width,U.mipmaps[0].height,Tt,U.mipmaps[0].data):R.texSubImage2D(R.TEXTURE_2D,H,S.x,S.y,Tt,Dt,U.image),H===0&&B.generateMipmaps&&R.generateMipmap(R.TEXTURE_2D),q.unbindTexture()},this.copyTextureToTexture3D=function(S,U,B,H,F=0){if(_.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const vt=S.max.x-S.min.x+1,Tt=S.max.y-S.min.y+1,Dt=S.max.z-S.min.z+1,Nt=pt.convert(H.format),kt=pt.convert(H.type);let Bt;if(H.isData3DTexture)M.setTexture3D(H,0),Bt=R.TEXTURE_3D;else if(H.isDataArrayTexture||H.isCompressedArrayTexture)M.setTexture2DArray(H,0),Bt=R.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}R.pixelStorei(R.UNPACK_FLIP_Y_WEBGL,H.flipY),R.pixelStorei(R.UNPACK_PREMULTIPLY_ALPHA_WEBGL,H.premultiplyAlpha),R.pixelStorei(R.UNPACK_ALIGNMENT,H.unpackAlignment);const Ht=R.getParameter(R.UNPACK_ROW_LENGTH),ce=R.getParameter(R.UNPACK_IMAGE_HEIGHT),Le=R.getParameter(R.UNPACK_SKIP_PIXELS),pe=R.getParameter(R.UNPACK_SKIP_ROWS),Je=R.getParameter(R.UNPACK_SKIP_IMAGES),ie=B.isCompressedTexture?B.mipmaps[F]:B.image;R.pixelStorei(R.UNPACK_ROW_LENGTH,ie.width),R.pixelStorei(R.UNPACK_IMAGE_HEIGHT,ie.height),R.pixelStorei(R.UNPACK_SKIP_PIXELS,S.min.x),R.pixelStorei(R.UNPACK_SKIP_ROWS,S.min.y),R.pixelStorei(R.UNPACK_SKIP_IMAGES,S.min.z),B.isDataTexture||B.isData3DTexture?R.texSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,kt,ie.data):B.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),R.compressedTexSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,ie.data)):R.texSubImage3D(Bt,F,U.x,U.y,U.z,vt,Tt,Dt,Nt,kt,ie),R.pixelStorei(R.UNPACK_ROW_LENGTH,Ht),R.pixelStorei(R.UNPACK_IMAGE_HEIGHT,ce),R.pixelStorei(R.UNPACK_SKIP_PIXELS,Le),R.pixelStorei(R.UNPACK_SKIP_ROWS,pe),R.pixelStorei(R.UNPACK_SKIP_IMAGES,Je),F===0&&H.generateMipmaps&&R.generateMipmap(Bt),q.unbindTexture()},this.initTexture=function(S){S.isCubeTexture?M.setTextureCube(S,0):S.isData3DTexture?M.setTexture3D(S,0):S.isDataArrayTexture||S.isCompressedArrayTexture?M.setTexture2DArray(S,0):M.setTexture2D(S,0),q.unbindTexture()},this.resetState=function(){I=0,L=0,P=null,q.reset(),zt.reset()},typeof __THREE_DEVTOOLS__!="undefined"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return an}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(t){this._outputColorSpace=t;const e=this.getContext();e.drawingBufferColorSpace=t===pa?"display-p3":"srgb",e.unpackColorSpace=Qt.workingColorSpace===ts?"display-p3":"srgb"}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===ve?Vn:ic}set outputEncoding(t){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=t===Vn?ve:on}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(t){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=t}}class Pg extends Ec{}Pg.prototype.isWebGL1Renderer=!0;class bc{constructor(t,e=1,n=1e3){this.isFog=!0,this.name="",this.color=new Ut(t),this.near=e,this.far=n}clone(){return new bc(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class Lg extends ae{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__!="undefined"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,e){return super.copy(t,e),t.background!==null&&(this.background=t.background.clone()),t.environment!==null&&(this.environment=t.environment.clone()),t.fog!==null&&(this.fog=t.fog.clone()),this.backgroundBlurriness=t.backgroundBlurriness,this.backgroundIntensity=t.backgroundIntensity,t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const e=super.toJSON(t);return this.fog!==null&&(e.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(e.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(e.object.backgroundIntensity=this.backgroundIntensity),e}}class Tc{constructor(t,e){this.isInterleavedBuffer=!0,this.array=t,this.stride=e,this.count=t!==void 0?t.length/e:0,this.usage=na,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=Be()}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}get updateRange(){return Gn("THREE.InterleavedBuffer: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead."),this._updateRange}setUsage(t){return this.usage=t,this}addUpdateRange(t,e){this.updateRanges.push({start:t,count:e})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,e,n){t*=this.stride,n*=e.stride;for(let r=0,s=this.stride;rt.far||e.push({distance:l,point:Ui.clone(),uv:qe.getInterpolation(Ui,Tr,Fi,Ar,dl,Vs,fl,new tt),face:null,object:this})}copy(t,e){return super.copy(t,e),t.center!==void 0&&this.center.copy(t.center),this.material=t.material,this}}function wr(i,t,e,n,r,s){fi.subVectors(i,e).addScalar(.5).multiply(n),r!==void 0?(Oi.x=s*fi.x-r*fi.y,Oi.y=r*fi.x+s*fi.y):Oi.copy(fi),i.copy(t),i.x+=Oi.x,i.y+=Oi.y,i.applyMatrix4(Ac)}const pl=new C,ml=new ee,gl=new ee,Ig=new C,_l=new Yt,Rr=new C,Gs=new ln,vl=new Yt,ks=new Ti;class f0 extends Ce{constructor(t,e){super(t,e),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=qa,this.bindMatrix=new Yt,this.bindMatrixInverse=new Yt,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const t=this.geometry;this.boundingBox===null&&(this.boundingBox=new wn),this.boundingBox.makeEmpty();const e=t.getAttribute("position");for(let n=0;nl)continue;d.applyMatrix4(this.matrixWorld);const V=t.ray.origin.distanceTo(d);Vt.far||e.push({distance:V,point:u.clone().applyMatrix4(this.matrixWorld),index:_,face:null,faceIndex:null,object:this})}}else{const p=Math.max(0,o.start),E=Math.min(f.count,o.start+o.count);for(let _=p,b=E-1;_l)continue;d.applyMatrix4(this.matrixWorld);const L=t.ray.origin.distanceTo(d);Lt.far||e.push({distance:L,point:u.clone().applyMatrix4(this.matrixWorld),index:_,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const e=this.geometry.morphAttributes,n=Object.keys(e);if(n.length>0){const r=e[n[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s0){const r=e[n[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;sr.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:t,face:null,object:o})}}class _0 extends xe{constructor(t,e,n,r,s,o,a,l,c){super(t,e,n,r,s,o,a,l,c),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Ze{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(t,e){const n=this.getUtoTmapping(t);return this.getPoint(n,e)}getPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPoint(n/t));return e}getSpacedPoints(t=5){const e=[];for(let n=0;n<=t;n++)e.push(this.getPointAt(n/t));return e}getLength(){const t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const e=[];let n,r=this.getPoint(0),s=0;e.push(0);for(let o=1;o<=t;o++)n=this.getPoint(o/t),s+=n.distanceTo(r),e.push(s),r=n;return this.cacheArcLengths=e,e}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,e){const n=this.getLengths();let r=0;const s=n.length;let o;e?o=e:o=t*n[s-1];let a=0,l=s-1,c;for(;a<=l;)if(r=Math.floor(a+(l-a)/2),c=n[r]-o,c<0)a=r+1;else if(c>0)l=r-1;else{l=r;break}if(r=l,n[r]===o)return r/(s-1);const h=n[r],d=n[r+1]-h,m=(o-h)/d;return(r+m)/(s-1)}getTangent(t,e){let r=t-1e-4,s=t+1e-4;r<0&&(r=0),s>1&&(s=1);const o=this.getPoint(r),a=this.getPoint(s),l=e||(o.isVector2?new tt:new C);return l.copy(a).sub(o).normalize(),l}getTangentAt(t,e){const n=this.getUtoTmapping(t);return this.getTangent(n,e)}computeFrenetFrames(t,e){const n=new C,r=[],s=[],o=[],a=new C,l=new Yt;for(let m=0;m<=t;m++){const g=m/t;r[m]=this.getTangentAt(g,new C)}s[0]=new C,o[0]=new C;let c=Number.MAX_VALUE;const h=Math.abs(r[0].x),u=Math.abs(r[0].y),d=Math.abs(r[0].z);h<=c&&(c=h,n.set(1,0,0)),u<=c&&(c=u,n.set(0,1,0)),d<=c&&n.set(0,0,1),a.crossVectors(r[0],n).normalize(),s[0].crossVectors(r[0],a),o[0].crossVectors(r[0],s[0]);for(let m=1;m<=t;m++){if(s[m]=s[m-1].clone(),o[m]=o[m-1].clone(),a.crossVectors(r[m-1],r[m]),a.length()>Number.EPSILON){a.normalize();const g=Math.acos(ue(r[m-1].dot(r[m]),-1,1));s[m].applyMatrix4(l.makeRotationAxis(a,g))}o[m].crossVectors(r[m],s[m])}if(e===!0){let m=Math.acos(ue(s[0].dot(s[t]),-1,1));m/=t,r[0].dot(a.crossVectors(s[0],s[t]))>0&&(m=-m);for(let g=1;g<=t;g++)s[g].applyMatrix4(l.makeRotationAxis(r[g],m*g)),o[g].crossVectors(r[g],s[g])}return{tangents:r,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){const t={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}}class Ma extends Ze{constructor(t=0,e=0,n=1,r=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=e,this.xRadius=n,this.yRadius=r,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(t,e){const n=e||new tt,r=Math.PI*2;let s=this.aEndAngle-this.aStartAngle;const o=Math.abs(s)r;)s-=r;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,h;this.closed||a>0?c=r[(a-1)%s]:(Ir.subVectors(r[0],r[1]).add(r[0]),c=Ir);const u=r[a%s],d=r[(a+1)%s];if(this.closed||a+2r.length-2?r.length-1:o+1],u=r[o>r.length-3?r.length-1:o+2];return n.set(Pl(a,l.x,c.x,h.x,u.x),Pl(a,l.y,c.y,h.y,u.y)),n}copy(t){super.copy(t),this.points=[];for(let e=0,n=t.points.length;e=n){const o=r[s]-n,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,e)}s++}return null}getLength(){const t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const t=[];let e=0;for(let n=0,r=this.curves.length;n1&&!e[e.length-1].equals(e[0])&&e.push(e[0]),e}copy(t){super.copy(t),this.curves=[];for(let e=0,n=t.curves.length;e0){const u=c.getPoint(0);u.equals(this.currentPoint)||this.lineTo(u.x,u.y)}this.curves.push(c);const h=c.getPoint(1);return this.currentPoint.copy(h),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){const t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}}class qi extends Ll{constructor(t){super(t),this.uuid=Be(),this.type="Shape",this.holes=[]}getPointsHoles(t){const e=[];for(let n=0,r=this.holes.length;n80*e){a=c=i[0],l=h=i[1];for(let g=e;gc&&(c=u),d>h&&(h=d);m=Math.max(c-a,h-l),m=m!==0?32767/m:0}return Zi(s,o,e,a,l,m,0),o}};function Uc(i,t,e,n,r){let s,o;if(r===f_(i,t,e,n)>0)for(s=t;s=t;s-=n)o=Dl(s,i[s],i[s+1],o);return o&&is(o,o.next)&&(Ji(o),o=o.next),o}function Wn(i,t){if(!i)return i;t||(t=i);let e=i,n;do if(n=!1,!e.steiner&&(is(e,e.next)||re(e.prev,e,e.next)===0)){if(Ji(e),e=t=e.prev,e===e.next)break;n=!0}else e=e.next;while(n||e!==t);return t}function Zi(i,t,e,n,r,s,o){if(!i)return;!o&&s&&o_(i,n,r,s);let a=i,l,c;for(;i.prev!==i.next;){if(l=i.prev,c=i.next,s?Qg(i,n,r,s):$g(i)){t.push(l.i/e|0),t.push(i.i/e|0),t.push(c.i/e|0),Ji(i),i=c.next,a=c.next;continue}if(i=c,i===a){o?o===1?(i=t_(Wn(i),t,e),Zi(i,t,e,n,r,s,2)):o===2&&e_(i,t,e,n,r,s):Zi(Wn(i),t,e,n,r,s,1);break}}}function $g(i){const t=i.prev,e=i,n=i.next;if(re(t,e,n)>=0)return!1;const r=t.x,s=e.x,o=n.x,a=t.y,l=e.y,c=n.y,h=rs?r>o?r:o:s>o?s:o,m=a>l?a>c?a:c:l>c?l:c;let g=n.next;for(;g!==t;){if(g.x>=h&&g.x<=d&&g.y>=u&&g.y<=m&&_i(r,a,s,l,o,c,g.x,g.y)&&re(g.prev,g,g.next)>=0)return!1;g=g.next}return!0}function Qg(i,t,e,n){const r=i.prev,s=i,o=i.next;if(re(r,s,o)>=0)return!1;const a=r.x,l=s.x,c=o.x,h=r.y,u=s.y,d=o.y,m=al?a>c?a:c:l>c?l:c,f=h>u?h>d?h:d:u>d?u:d,p=oa(m,g,t,e,n),E=oa(x,f,t,e,n);let _=i.prevZ,b=i.nextZ;for(;_&&_.z>=p&&b&&b.z<=E;){if(_.x>=m&&_.x<=x&&_.y>=g&&_.y<=f&&_!==r&&_!==o&&_i(a,h,l,u,c,d,_.x,_.y)&&re(_.prev,_,_.next)>=0||(_=_.prevZ,b.x>=m&&b.x<=x&&b.y>=g&&b.y<=f&&b!==r&&b!==o&&_i(a,h,l,u,c,d,b.x,b.y)&&re(b.prev,b,b.next)>=0))return!1;b=b.nextZ}for(;_&&_.z>=p;){if(_.x>=m&&_.x<=x&&_.y>=g&&_.y<=f&&_!==r&&_!==o&&_i(a,h,l,u,c,d,_.x,_.y)&&re(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;b&&b.z<=E;){if(b.x>=m&&b.x<=x&&b.y>=g&&b.y<=f&&b!==r&&b!==o&&_i(a,h,l,u,c,d,b.x,b.y)&&re(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function t_(i,t,e){let n=i;do{const r=n.prev,s=n.next.next;!is(r,s)&&Oc(r,n,n.next,s)&&Ki(r,s)&&Ki(s,r)&&(t.push(r.i/e|0),t.push(n.i/e|0),t.push(s.i/e|0),Ji(n),Ji(n.next),n=i=s),n=n.next}while(n!==i);return Wn(n)}function e_(i,t,e,n,r,s){let o=i;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&h_(o,a)){let l=Fc(o,a);o=Wn(o,o.next),l=Wn(l,l.next),Zi(o,t,e,n,r,s,0),Zi(l,t,e,n,r,s,0);return}a=a.next}o=o.next}while(o!==i)}function n_(i,t,e,n){const r=[];let s,o,a,l,c;for(s=0,o=t.length;s=e.next.y&&e.next.y!==e.y){const d=e.x+(o-e.y)*(e.next.x-e.x)/(e.next.y-e.y);if(d<=s&&d>n&&(n=d,r=e.x=e.x&&e.x>=l&&s!==e.x&&_i(or.x||e.x===r.x&&a_(r,e)))&&(r=e,h=u)),e=e.next;while(e!==a);return r}function a_(i,t){return re(i.prev,i,t.prev)<0&&re(t.next,i,i.next)<0}function o_(i,t,e,n){let r=i;do r.z===0&&(r.z=oa(r.x,r.y,t,e,n)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==i);r.prevZ.nextZ=null,r.prevZ=null,l_(r)}function l_(i){let t,e,n,r,s,o,a,l,c=1;do{for(e=i,i=null,s=null,o=0;e;){for(o++,n=e,a=0,t=0;t0||l>0&&n;)a!==0&&(l===0||!n||e.z<=n.z)?(r=e,e=e.nextZ,a--):(r=n,n=n.nextZ,l--),s?s.nextZ=r:i=r,r.prevZ=s,s=r;e=n}s.nextZ=null,c*=2}while(o>1);return i}function oa(i,t,e,n,r){return i=(i-e)*r|0,t=(t-n)*r|0,i=(i|i<<8)&16711935,i=(i|i<<4)&252645135,i=(i|i<<2)&858993459,i=(i|i<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,i|t<<1}function c_(i){let t=i,e=i;do(t.x=(i-o)*(s-a)&&(i-o)*(n-a)>=(e-o)*(t-a)&&(e-o)*(s-a)>=(r-o)*(n-a)}function h_(i,t){return i.next.i!==t.i&&i.prev.i!==t.i&&!u_(i,t)&&(Ki(i,t)&&Ki(t,i)&&d_(i,t)&&(re(i.prev,i,t.prev)||re(i,t.prev,t))||is(i,t)&&re(i.prev,i,i.next)>0&&re(t.prev,t,t.next)>0)}function re(i,t,e){return(t.y-i.y)*(e.x-t.x)-(t.x-i.x)*(e.y-t.y)}function is(i,t){return i.x===t.x&&i.y===t.y}function Oc(i,t,e,n){const r=Ur(re(i,t,e)),s=Ur(re(i,t,n)),o=Ur(re(e,n,i)),a=Ur(re(e,n,t));return!!(r!==s&&o!==a||r===0&&Nr(i,e,t)||s===0&&Nr(i,n,t)||o===0&&Nr(e,i,n)||a===0&&Nr(e,t,n))}function Nr(i,t,e){return t.x<=Math.max(i.x,e.x)&&t.x>=Math.min(i.x,e.x)&&t.y<=Math.max(i.y,e.y)&&t.y>=Math.min(i.y,e.y)}function Ur(i){return i>0?1:i<0?-1:0}function u_(i,t){let e=i;do{if(e.i!==i.i&&e.next.i!==i.i&&e.i!==t.i&&e.next.i!==t.i&&Oc(e,e.next,i,t))return!0;e=e.next}while(e!==i);return!1}function Ki(i,t){return re(i.prev,i,i.next)<0?re(i,t,i.next)>=0&&re(i,i.prev,t)>=0:re(i,t,i.prev)<0||re(i,i.next,t)<0}function d_(i,t){let e=i,n=!1;const r=(i.x+t.x)/2,s=(i.y+t.y)/2;do e.y>s!=e.next.y>s&&e.next.y!==e.y&&r<(e.next.x-e.x)*(s-e.y)/(e.next.y-e.y)+e.x&&(n=!n),e=e.next;while(e!==i);return n}function Fc(i,t){const e=new la(i.i,i.x,i.y),n=new la(t.i,t.x,t.y),r=i.next,s=t.prev;return i.next=t,t.prev=i,e.next=r,r.prev=e,n.next=e,e.prev=n,s.next=n,n.prev=s,n}function Dl(i,t,e,n){const r=new la(i,t,e);return n?(r.next=n.next,r.prev=n,n.next.prev=r,n.next=r):(r.prev=r,r.next=r),r}function Ji(i){i.next.prev=i.prev,i.prev.next=i.next,i.prevZ&&(i.prevZ.nextZ=i.nextZ),i.nextZ&&(i.nextZ.prevZ=i.prevZ)}function la(i,t,e){this.i=i,this.x=t,this.y=e,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function f_(i,t,e,n){let r=0;for(let s=t,o=e-n;s2&&i[t-1].equals(i[0])&&i.pop()}function Nl(i,t){for(let e=0;eNumber.EPSILON){const j=Math.sqrt(et),yt=Math.sqrt(v*v+N*N),ut=ct.x-M/j,_t=ct.y+ft/j,Ct=W.x-N/yt,Ft=W.y+v/yt,Q=((Ct-ut)*N-(Ft-_t)*v)/(ft*N-M*v);at=ut+ft*Q-R.x,q=_t+M*Q-R.y;const jt=at*at+q*q;if(jt<=2)return new tt(at,q);Et=Math.sqrt(jt/2)}else{let j=!1;ft>Number.EPSILON?v>Number.EPSILON&&(j=!0):ft<-Number.EPSILON?v<-Number.EPSILON&&(j=!0):Math.sign(M)===Math.sign(N)&&(j=!0),j?(at=-M,q=ft,Et=Math.sqrt(et)):(at=ft,q=M,Et=Math.sqrt(et/2))}return new tt(at/Et,q/Et)}const k=[];for(let R=0,ct=D.length,W=ct-1,at=R+1;R=0;R--){const ct=R/f,W=m*Math.cos(ct*Math.PI/2),at=g*Math.sin(ct*Math.PI/2)+x;for(let q=0,Et=D.length;q=0;){const at=W;let q=W-1;q<0&&(q=R.length-1);for(let Et=0,ft=h+f*2;Et0!=t>0&&this.version++,this._anisotropy=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=t.anisotropy,this.anisotropyRotation=t.anisotropyRotation,this.anisotropyMap=t.anisotropyMap,this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}}class v_ extends cn{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Ut(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ut(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fa,this.normalScale=new tt(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=ua,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}}function Or(i,t,e){return!i||!e&&i.constructor===t?i:typeof t.BYTES_PER_ELEMENT=="number"?new t(i):Array.prototype.slice.call(i)}function x_(i){return ArrayBuffer.isView(i)&&!(i instanceof DataView)}function y_(i){function t(r,s){return i[r]-i[s]}const e=i.length,n=new Array(e);for(let r=0;r!==e;++r)n[r]=r;return n.sort(t),n}function Ol(i,t,e){const n=i.length,r=new i.constructor(n);for(let s=0,o=0;o!==n;++s){const a=e[s]*t;for(let l=0;l!==t;++l)r[o++]=i[a+l]}return r}function Hc(i,t,e,n){let r=1,s=i[0];for(;s!==void 0&&s[n]===void 0;)s=i[r++];if(s===void 0)return;let o=s[n];if(o!==void 0)if(Array.isArray(o))do o=s[n],o!==void 0&&(t.push(s.time),e.push.apply(e,o)),s=i[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[n],o!==void 0&&(t.push(s.time),o.toArray(e,e.length)),s=i[r++];while(s!==void 0);else do o=s[n],o!==void 0&&(t.push(s.time),e.push(o)),s=i[r++];while(s!==void 0)}class rs{constructor(t,e,n,r){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=r!==void 0?r:new e.constructor(n),this.sampleValues=e,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){const e=this.parameterPositions;let n=this._cachedIndex,r=e[n],s=e[n-1];n:{t:{let o;e:{i:if(!(t=s)){const a=e[1];t=s)break t}o=n,n=0;break e}break n}for(;n>>1;te;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=n.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let t=!0;const e=this.getValueSize();e-Math.floor(e)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),t=!1);const n=this.times,r=this.values,s=n.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),t=!1);let o=null;for(let a=0;a!==s;a++){const l=n[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),t=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),t=!1;break}o=l}if(r!==void 0&&x_(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),t=!1;break}}return t}optimize(){const t=this.times.slice(),e=this.values.slice(),n=this.getValueSize(),r=this.getInterpolation()===_s,s=t.length-1;let o=1;for(let a=1;a0){t[o]=t[s];for(let a=s*n,l=o*n,c=0;c!==n;++c)e[l+c]=e[a+c];++o}return o!==t.length?(this.times=t.slice(0,o),this.values=e.slice(0,o*n)):(this.times=t,this.values=e),this}clone(){const t=this.times.slice(),e=this.values.slice(),n=this.constructor,r=new n(this.name,t,e);return r.createInterpolant=this.createInterpolant,r}}Ke.prototype.TimeBufferType=Float32Array;Ke.prototype.ValueBufferType=Float32Array;Ke.prototype.DefaultInterpolation=kr;class wi extends Ke{}wi.prototype.ValueTypeName="bool";wi.prototype.ValueBufferType=Array;wi.prototype.DefaultInterpolation=Gr;wi.prototype.InterpolantFactoryMethodLinear=void 0;wi.prototype.InterpolantFactoryMethodSmooth=void 0;class Vc extends Ke{}Vc.prototype.ValueTypeName="color";class Jr extends Ke{}Jr.prototype.ValueTypeName="number";class b_ extends rs{constructor(t,e,n,r){super(t,e,n,r)}interpolate_(t,e,n,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(n-e)/(r-e);let c=t*a;for(let h=c+a;c!==h;c+=4)Tn.slerpFlat(s,0,o,c-a,o,c,l);return s}}class tr extends Ke{InterpolantFactoryMethodLinear(t){return new b_(this.times,this.values,this.getValueSize(),t)}}tr.prototype.ValueTypeName="quaternion";tr.prototype.DefaultInterpolation=kr;tr.prototype.InterpolantFactoryMethodSmooth=void 0;class Ri extends Ke{}Ri.prototype.ValueTypeName="string";Ri.prototype.ValueBufferType=Array;Ri.prototype.DefaultInterpolation=Gr;Ri.prototype.InterpolantFactoryMethodLinear=void 0;Ri.prototype.InterpolantFactoryMethodSmooth=void 0;class $r extends Ke{}$r.prototype.ValueTypeName="vector";class y0{constructor(t,e=-1,n,r=Zh){this.name=t,this.tracks=n,this.duration=e,this.blendMode=r,this.uuid=Be(),this.duration<0&&this.resetDuration()}static parse(t){const e=[],n=t.tracks,r=1/(t.fps||1);for(let o=0,a=n.length;o!==a;++o)e.push(A_(n[o]).scale(r));const s=new this(t.name,t.duration,e,t.blendMode);return s.uuid=t.uuid,s}static toJSON(t){const e=[],n=t.tracks,r={name:t.name,duration:t.duration,tracks:e,uuid:t.uuid,blendMode:t.blendMode};for(let s=0,o=n.length;s!==o;++s)e.push(Ke.toJSON(n[s]));return r}static CreateFromMorphTargetSequence(t,e,n,r){const s=e.length,o=[];for(let a=0;a1){const u=h[1];let d=r[u];d||(r[u]=d=[]),d.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],e,n));return o}static parseAnimation(t,e){if(!t)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(u,d,m,g,x){if(m.length!==0){const f=[],p=[];Hc(m,f,p,g),f.length!==0&&x.push(new u(d,f,p))}},r=[],s=t.name||"default",o=t.fps||30,a=t.blendMode;let l=t.length||-1;const c=t.hierarchy||[];for(let u=0;u{e&&e(s),this.manager.itemEnd(t)},0),s;if(rn[t]!==void 0){rn[t].push({onLoad:e,onProgress:n,onError:r});return}rn[t]=[],rn[t].push({onLoad:e,onProgress:n,onError:r});const o=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream=="undefined"||c.body===void 0||c.body.getReader===void 0)return c;const h=rn[t],u=c.body.getReader(),d=c.headers.get("Content-Length")||c.headers.get("X-File-Size"),m=d?parseInt(d):0,g=m!==0;let x=0;const f=new ReadableStream({start(p){E();function E(){u.read().then(({done:_,value:b})=>{if(_)p.close();else{x+=b.byteLength;const I=new ProgressEvent("progress",{lengthComputable:g,loaded:x,total:m});for(let L=0,P=h.length;L{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(h=>new DOMParser().parseFromString(h,a));case"json":return c.json();default:if(a===void 0)return c.text();{const u=/charset="?([^;"\s]*)"?/i.exec(a),d=u&&u[1]?u[1].toLowerCase():void 0,m=new TextDecoder(d);return c.arrayBuffer().then(g=>m.decode(g))}}}).then(c=>{xn.add(t,c);const h=rn[t];delete rn[t];for(let u=0,d=h.length;u{const h=rn[t];if(h===void 0)throw this.manager.itemError(t),c;delete rn[t];for(let u=0,d=h.length;u{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}}class P_ extends er{constructor(t){super(t)}load(t,e,n,r){this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);const s=this,o=xn.get(t);if(o!==void 0)return s.manager.itemStart(t),setTimeout(function(){e&&e(o),s.manager.itemEnd(t)},0),o;const a=ji("img");function l(){h(),xn.add(t,this),e&&e(this),s.manager.itemEnd(t)}function c(u){h(),r&&r(u),s.manager.itemError(t),s.manager.itemEnd(t)}function h(){a.removeEventListener("load",l,!1),a.removeEventListener("error",c,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",c,!1),t.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),s.manager.itemStart(t),a.src=t,a}}class L_ extends er{constructor(t){super(t)}load(t,e,n,r){const s=new xe,o=new P_(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(t,function(a){s.image=a,s.needsUpdate=!0,e!==void 0&&e(s)},n,r),s}}class ss extends ae{constructor(t,e=1){super(),this.isLight=!0,this.type="Light",this.color=new Ut(t),this.intensity=e}dispose(){}copy(t,e){return super.copy(t,e),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){const e=super.toJSON(t);return e.object.color=this.color.getHex(),e.object.intensity=this.intensity,this.groundColor!==void 0&&(e.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(e.object.distance=this.distance),this.angle!==void 0&&(e.object.angle=this.angle),this.decay!==void 0&&(e.object.decay=this.decay),this.penumbra!==void 0&&(e.object.penumbra=this.penumbra),this.shadow!==void 0&&(e.object.shadow=this.shadow.toJSON()),e}}const js=new Yt,Fl=new C,Bl=new C;class ba{constructor(t){this.camera=t,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new tt(512,512),this.map=null,this.mapPass=null,this.matrix=new Yt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new va,this._frameExtents=new tt(1,1),this._viewportCount=1,this._viewports=[new ee(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){const e=this.camera,n=this.matrix;Fl.setFromMatrixPosition(t.matrixWorld),e.position.copy(Fl),Bl.setFromMatrixPosition(t.target.matrixWorld),e.lookAt(Bl),e.updateMatrixWorld(),js.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._frustum.setFromProjectionMatrix(js),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(js)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.bias=t.bias,this.radius=t.radius,this.mapSize.copy(t.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const t={};return this.bias!==0&&(t.bias=this.bias),this.normalBias!==0&&(t.normalBias=this.normalBias),this.radius!==1&&(t.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}}class D_ extends ba{constructor(){super(new Re(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(t){const e=this.camera,n=Ei*2*t.angle*this.focus,r=this.mapSize.width/this.mapSize.height,s=t.distance||e.far;(n!==e.fov||r!==e.aspect||s!==e.far)&&(e.fov=n,e.aspect=r,e.far=s,e.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}}class S0 extends ss{constructor(t,e,n=0,r=Math.PI/3,s=0,o=2){super(t,e),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(ae.DEFAULT_UP),this.updateMatrix(),this.target=new ae,this.distance=n,this.angle=r,this.penumbra=s,this.decay=o,this.map=null,this.shadow=new D_}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}const zl=new Yt,Hi=new C,Zs=new C;class I_ extends ba{constructor(){super(new Re(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new tt(4,2),this._viewportCount=6,this._viewports=[new ee(2,1,1,1),new ee(0,1,1,1),new ee(3,1,1,1),new ee(1,1,1,1),new ee(3,0,1,1),new ee(1,0,1,1)],this._cubeDirections=[new C(1,0,0),new C(-1,0,0),new C(0,0,1),new C(0,0,-1),new C(0,1,0),new C(0,-1,0)],this._cubeUps=[new C(0,1,0),new C(0,1,0),new C(0,1,0),new C(0,1,0),new C(0,0,1),new C(0,0,-1)]}updateMatrices(t,e=0){const n=this.camera,r=this.matrix,s=t.distance||n.far;s!==n.far&&(n.far=s,n.updateProjectionMatrix()),Hi.setFromMatrixPosition(t.matrixWorld),n.position.copy(Hi),Zs.copy(n.position),Zs.add(this._cubeDirections[e]),n.up.copy(this._cubeUps[e]),n.lookAt(Zs),n.updateMatrixWorld(),r.makeTranslation(-Hi.x,-Hi.y,-Hi.z),zl.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(zl)}}class E0 extends ss{constructor(t,e,n=0,r=2){super(t,e),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=r,this.shadow=new I_}get power(){return this.intensity*4*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(t,e){return super.copy(t,e),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}}class N_ extends ba{constructor(){super(new gc(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class Hl extends ss{constructor(t,e){super(t,e),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(ae.DEFAULT_UP),this.updateMatrix(),this.target=new ae,this.shadow=new N_}dispose(){this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}}class U_ extends ss{constructor(t,e){super(t,e),this.isAmbientLight=!0,this.type="AmbientLight"}}class b0{static decodeText(t){if(typeof TextDecoder!="undefined")return new TextDecoder().decode(t);let e="";for(let n=0,r=t.length;n{e&&e(c),s.manager.itemEnd(t)}).catch(c=>{r&&r(c)});return}return setTimeout(function(){e&&e(o),s.manager.itemEnd(t)},0),o}const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader;const l=fetch(t,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(c){return xn.add(t,c),e&&e(c),s.manager.itemEnd(t),c}).catch(function(c){r&&r(c),xn.remove(t),s.manager.itemError(t),s.manager.itemEnd(t)});xn.add(t,l),s.manager.itemStart(t)}}class w0{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=Vl(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const e=Vl();t=(e-this.oldTime)/1e3,this.oldTime=e,this.elapsedTime+=t}return t}}function Vl(){return(typeof performance=="undefined"?Date:performance).now()}const Ta="\\[\\]\\.:\\/",O_=new RegExp("["+Ta+"]","g"),Aa="[^"+Ta+"]",F_="[^"+Ta.replace("\\.","")+"]",B_=/((?:WC+[\/:])*)/.source.replace("WC",Aa),z_=/(WCOD+)?/.source.replace("WCOD",F_),H_=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Aa),V_=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Aa),G_=new RegExp("^"+B_+z_+H_+V_+"$"),k_=["material","materials","bones","map"];class W_{constructor(t,e,n){const r=n||$t.parseTrackName(e);this._targetGroup=t,this._bindings=t.subscribe_(e,r)}getValue(t,e){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];r!==void 0&&r.getValue(t,e)}setValue(t,e){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=n.length;r!==s;++r)n[r].setValue(t,e)}bind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].bind()}unbind(){const t=this._bindings;for(let e=this._targetGroup.nCachedObjects_,n=t.length;e!==n;++e)t[e].unbind()}}class $t{constructor(t,e,n){this.path=e,this.parsedPath=n||$t.parseTrackName(e),this.node=$t.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,e,n){return t&&t.isAnimationObjectGroup?new $t.Composite(t,e,n):new $t(t,e,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(O_,"")}static parseTrackName(t){const e=G_.exec(t);if(e===null)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const n={nodeName:e[2],objectName:e[3],objectIndex:e[4],propertyName:e[5],propertyIndex:e[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=n.nodeName.substring(r+1);k_.indexOf(s)!==-1&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=s)}if(n.propertyName===null||n.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,e){if(e===void 0||e===""||e==="."||e===-1||e===t.name||e===t.uuid)return t;if(t.skeleton){const n=t.skeleton.getBoneByName(e);if(n!==void 0)return n}if(t.children){const n=function(s){for(let o=0;oMath.PI&&(qt-=it),te<-Math.PI?te+=it:te>Math.PI&&(te-=it),qt<=te?a.theta=Math.max(qt,Math.min(te,a.theta)):a.theta=a.theta>(qt+te)/2?Math.max(qt,a.theta):Math.min(te,a.theta)),a.phi=Math.max(n.minPolarAngle,Math.min(n.maxPolarAngle,a.phi)),a.makeSafe(),n.enableDamping===!0?n.target.addScaledVector(h,n.dampingFactor):n.target.add(h),n.target.sub(n.cursor),n.target.clampLength(n.minTargetRadius,n.maxTargetRadius),n.target.add(n.cursor),n.zoomToCursor&&L||n.object.isOrthographicCamera?a.radius=$(a.radius):a.radius=$(a.radius*c),w.setFromSpherical(a),w.applyQuaternion(dt),Zt.copy(n.target).add(w),n.object.lookAt(n.target),n.enableDamping===!0?(l.theta*=1-n.dampingFactor,l.phi*=1-n.dampingFactor,h.multiplyScalar(1-n.dampingFactor)):(l.set(0,0,0),h.set(0,0,0));let ge=!1;if(n.zoomToCursor&&L){let Kt=null;if(n.object.isPerspectiveCamera){const le=w.length();Kt=$(le*c);const be=le-Kt;n.object.position.addScaledVector(b,be),n.object.updateMatrixWorld()}else if(n.object.isOrthographicCamera){const le=new C(I.x,I.y,0);le.unproject(n.object),n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/c)),n.object.updateProjectionMatrix(),ge=!0;const be=new C(I.x,I.y,0);be.unproject(n.object),n.object.position.sub(be).add(le),n.object.updateMatrixWorld(),Kt=w.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),n.zoomToCursor=!1;Kt!==null&&(this.screenSpacePanning?n.target.set(0,0,-1).transformDirection(n.object.matrix).multiplyScalar(Kt).add(n.object.position):(Br.origin.copy(n.object.position),Br.direction.set(0,0,-1).transformDirection(n.object.matrix),Math.abs(n.object.up.dot(Br.direction))o||8*(1-T.dot(n.object.quaternion))>o||st.distanceToSquared(n.target)>0?(n.dispatchEvent(Xl),Rt.copy(n.object.position),T.copy(n.object.quaternion),st.copy(n.target),!0):!1}}(),this.dispose=function(){n.domElement.removeEventListener("contextmenu",jt),n.domElement.removeEventListener("pointerdown",M),n.domElement.removeEventListener("pointercancel",N),n.domElement.removeEventListener("wheel",j),n.domElement.removeEventListener("pointermove",v),n.domElement.removeEventListener("pointerup",N),n._domElementKeyEvents!==null&&(n._domElementKeyEvents.removeEventListener("keydown",Ct),n._domElementKeyEvents=null)};const n=this,r={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let s=r.NONE;const o=1e-6,a=new kl,l=new kl;let c=1;const h=new C,u=new tt,d=new tt,m=new tt,g=new tt,x=new tt,f=new tt,p=new tt,E=new tt,_=new tt,b=new C,I=new tt;let L=!1;const P=[],V={};let lt=!1;function y(w){return w!==null?2*Math.PI/60*n.autoRotateSpeed*w:2*Math.PI/60/60*n.autoRotateSpeed}function A(w){const ot=Math.abs(w*.01);return Math.pow(.95,n.zoomSpeed*ot)}function Z(w){l.theta-=w}function rt(w){l.phi-=w}const D=function(){const w=new C;return function(dt,Rt){w.setFromMatrixColumn(Rt,0),w.multiplyScalar(-dt),h.add(w)}}(),z=function(){const w=new C;return function(dt,Rt){n.screenSpacePanning===!0?w.setFromMatrixColumn(Rt,1):(w.setFromMatrixColumn(Rt,0),w.crossVectors(n.object.up,w)),w.multiplyScalar(dt),h.add(w)}}(),O=function(){const w=new C;return function(dt,Rt){const T=n.domElement;if(n.object.isPerspectiveCamera){const st=n.object.position;w.copy(st).sub(n.target);let it=w.length();it*=Math.tan(n.object.fov/2*Math.PI/180),D(2*dt*it/T.clientHeight,n.object.matrix),z(2*Rt*it/T.clientHeight,n.object.matrix)}else n.object.isOrthographicCamera?(D(dt*(n.object.right-n.object.left)/n.object.zoom/T.clientWidth,n.object.matrix),z(Rt*(n.object.top-n.object.bottom)/n.object.zoom/T.clientHeight,n.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),n.enablePan=!1)}}();function Y(w){n.object.isPerspectiveCamera||n.object.isOrthographicCamera?c/=w:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function X(w){n.object.isPerspectiveCamera||n.object.isOrthographicCamera?c*=w:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function k(w,ot){if(!n.zoomToCursor)return;L=!0;const dt=n.domElement.getBoundingClientRect(),Rt=w-dt.left,T=ot-dt.top,st=dt.width,it=dt.height;I.x=Rt/st*2-1,I.y=-(T/it)*2+1,b.set(I.x,I.y,1).unproject(n.object).sub(n.object.position).normalize()}function $(w){return Math.max(n.minDistance,Math.min(n.maxDistance,w))}function K(w){u.set(w.clientX,w.clientY)}function mt(w){k(w.clientX,w.clientX),p.set(w.clientX,w.clientY)}function Lt(w){g.set(w.clientX,w.clientY)}function G(w){d.set(w.clientX,w.clientY),m.subVectors(d,u).multiplyScalar(n.rotateSpeed);const ot=n.domElement;Z(2*Math.PI*m.x/ot.clientHeight),rt(2*Math.PI*m.y/ot.clientHeight),u.copy(d),n.update()}function nt(w){E.set(w.clientX,w.clientY),_.subVectors(E,p),_.y>0?Y(A(_.y)):_.y<0&&X(A(_.y)),p.copy(E),n.update()}function gt(w){x.set(w.clientX,w.clientY),f.subVectors(x,g).multiplyScalar(n.panSpeed),O(f.x,f.y),g.copy(x),n.update()}function Mt(w){k(w.clientX,w.clientY),w.deltaY<0?X(A(w.deltaY)):w.deltaY>0&&Y(A(w.deltaY)),n.update()}function bt(w){let ot=!1;switch(w.code){case n.keys.UP:w.ctrlKey||w.metaKey||w.shiftKey?rt(2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(0,n.keyPanSpeed),ot=!0;break;case n.keys.BOTTOM:w.ctrlKey||w.metaKey||w.shiftKey?rt(-2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(0,-n.keyPanSpeed),ot=!0;break;case n.keys.LEFT:w.ctrlKey||w.metaKey||w.shiftKey?Z(2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(n.keyPanSpeed,0),ot=!0;break;case n.keys.RIGHT:w.ctrlKey||w.metaKey||w.shiftKey?Z(-2*Math.PI*n.rotateSpeed/n.domElement.clientHeight):O(-n.keyPanSpeed,0),ot=!0;break}ot&&(w.preventDefault(),n.update())}function xt(w){if(P.length===1)u.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);u.set(dt,Rt)}}function Ot(w){if(P.length===1)g.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);g.set(dt,Rt)}}function At(w){const ot=pt(w),dt=w.pageX-ot.x,Rt=w.pageY-ot.y,T=Math.sqrt(dt*dt+Rt*Rt);p.set(0,T)}function R(w){n.enableZoom&&At(w),n.enablePan&&Ot(w)}function ct(w){n.enableZoom&&At(w),n.enableRotate&&xt(w)}function W(w){if(P.length==1)d.set(w.pageX,w.pageY);else{const dt=pt(w),Rt=.5*(w.pageX+dt.x),T=.5*(w.pageY+dt.y);d.set(Rt,T)}m.subVectors(d,u).multiplyScalar(n.rotateSpeed);const ot=n.domElement;Z(2*Math.PI*m.x/ot.clientHeight),rt(2*Math.PI*m.y/ot.clientHeight),u.copy(d)}function at(w){if(P.length===1)x.set(w.pageX,w.pageY);else{const ot=pt(w),dt=.5*(w.pageX+ot.x),Rt=.5*(w.pageY+ot.y);x.set(dt,Rt)}f.subVectors(x,g).multiplyScalar(n.panSpeed),O(f.x,f.y),g.copy(x)}function q(w){const ot=pt(w),dt=w.pageX-ot.x,Rt=w.pageY-ot.y,T=Math.sqrt(dt*dt+Rt*Rt);E.set(0,T),_.set(0,Math.pow(E.y/p.y,n.zoomSpeed)),Y(_.y),p.copy(E);const st=(w.pageX+ot.x)*.5,it=(w.pageY+ot.y)*.5;k(st,it)}function Et(w){n.enableZoom&&q(w),n.enablePan&&at(w)}function ft(w){n.enableZoom&&q(w),n.enableRotate&&W(w)}function M(w){n.enabled!==!1&&(P.length===0&&(n.domElement.setPointerCapture(w.pointerId),n.domElement.addEventListener("pointermove",v),n.domElement.addEventListener("pointerup",N)),Gt(w),w.pointerType==="touch"?Ft(w):et(w))}function v(w){n.enabled!==!1&&(w.pointerType==="touch"?Q(w):J(w))}function N(w){switch(It(w),P.length){case 0:n.domElement.releasePointerCapture(w.pointerId),n.domElement.removeEventListener("pointermove",v),n.domElement.removeEventListener("pointerup",N),n.dispatchEvent(ql),s=r.NONE;break;case 1:const ot=P[0],dt=V[ot];Ft({pointerId:ot,pageX:dt.x,pageY:dt.y});break}}function et(w){let ot;switch(w.button){case 0:ot=n.mouseButtons.LEFT;break;case 1:ot=n.mouseButtons.MIDDLE;break;case 2:ot=n.mouseButtons.RIGHT;break;default:ot=-1}switch(ot){case qn.DOLLY:if(n.enableZoom===!1)return;mt(w),s=r.DOLLY;break;case qn.ROTATE:if(w.ctrlKey||w.metaKey||w.shiftKey){if(n.enablePan===!1)return;Lt(w),s=r.PAN}else{if(n.enableRotate===!1)return;K(w),s=r.ROTATE}break;case qn.PAN:if(w.ctrlKey||w.metaKey||w.shiftKey){if(n.enableRotate===!1)return;K(w),s=r.ROTATE}else{if(n.enablePan===!1)return;Lt(w),s=r.PAN}break;default:s=r.NONE}s!==r.NONE&&n.dispatchEvent(Ks)}function J(w){switch(s){case r.ROTATE:if(n.enableRotate===!1)return;G(w);break;case r.DOLLY:if(n.enableZoom===!1)return;nt(w);break;case r.PAN:if(n.enablePan===!1)return;gt(w);break}}function j(w){n.enabled===!1||n.enableZoom===!1||s!==r.NONE||(w.preventDefault(),n.dispatchEvent(Ks),Mt(yt(w)),n.dispatchEvent(ql))}function yt(w){const ot=w.deltaMode,dt={clientX:w.clientX,clientY:w.clientY,deltaY:w.deltaY};switch(ot){case 1:dt.deltaY*=16;break;case 2:dt.deltaY*=100;break}return w.ctrlKey&&!lt&&(dt.deltaY*=10),dt}function ut(w){w.key==="Control"&&(lt=!0,n.domElement.getRootNode().addEventListener("keyup",_t,{passive:!0,capture:!0}))}function _t(w){w.key==="Control"&&(lt=!1,n.domElement.getRootNode().removeEventListener("keyup",_t,{passive:!0,capture:!0}))}function Ct(w){n.enabled===!1||n.enablePan===!1||bt(w)}function Ft(w){switch(wt(w),P.length){case 1:switch(n.touches.ONE){case Yn.ROTATE:if(n.enableRotate===!1)return;xt(w),s=r.TOUCH_ROTATE;break;case Yn.PAN:if(n.enablePan===!1)return;Ot(w),s=r.TOUCH_PAN;break;default:s=r.NONE}break;case 2:switch(n.touches.TWO){case Yn.DOLLY_PAN:if(n.enableZoom===!1&&n.enablePan===!1)return;R(w),s=r.TOUCH_DOLLY_PAN;break;case Yn.DOLLY_ROTATE:if(n.enableZoom===!1&&n.enableRotate===!1)return;ct(w),s=r.TOUCH_DOLLY_ROTATE;break;default:s=r.NONE}break;default:s=r.NONE}s!==r.NONE&&n.dispatchEvent(Ks)}function Q(w){switch(wt(w),s){case r.TOUCH_ROTATE:if(n.enableRotate===!1)return;W(w),n.update();break;case r.TOUCH_PAN:if(n.enablePan===!1)return;at(w),n.update();break;case r.TOUCH_DOLLY_PAN:if(n.enableZoom===!1&&n.enablePan===!1)return;Et(w),n.update();break;case r.TOUCH_DOLLY_ROTATE:if(n.enableZoom===!1&&n.enableRotate===!1)return;ft(w),n.update();break;default:s=r.NONE}}function jt(w){n.enabled!==!1&&w.preventDefault()}function Gt(w){P.push(w.pointerId)}function It(w){delete V[w.pointerId];for(let ot=0;ot{i instanceof Array?i.forEach(Gc):(i.map&&i.map.dispose(),i.dispose())},kc=i=>{i.geometry&&i.geometry.dispose(),i.material&&Gc(i.material),i.texture&&i.texture.dispose(),i.children&&i.children.forEach(kc)},j_=i=>{if(i&&i.children)for(;i.children.length;){const t=i.children[0];i.remove(t),kc(t)}};var wa={exports:{}},Z_=function(t,e,n,r){var s=t[0],o=t[1],a=!1;n===void 0&&(n=0),r===void 0&&(r=e.length);for(var l=(r-n)/2,c=0,h=l-1;co!=g>o&&s<(m-u)*(o-d)/(g-d)+u;x&&(a=!a)}return a},K_=function(t,e,n,r){var s=t[0],o=t[1],a=!1;n===void 0&&(n=0),r===void 0&&(r=e.length);for(var l=r-n,c=0,h=l-1;co!=g>o&&s<(m-u)*(o-d)/(g-d)+u;x&&(a=!a)}return a},Wc=Z_,Xc=K_;wa.exports=function(t,e,n,r){return e.length>0&&Array.isArray(e[0])?Xc(t,e,n,r):Wc(t,e,n,r)};wa.exports.nested=Xc;wa.exports.flat=Wc;const J_=""+new URL("ring2-a1b91808-balabala-1786807848259.png",import.meta.url).href,$_=""+new URL("ring3-fe0f60d7-balabala-1786807848259.png",import.meta.url).href,Q_=""+new URL("ring4-f2e324d6-balabala-1786807848259.png",import.meta.url).href;const t0={name:"ThreePie",props:{data:{type:Array,default:()=>[]},colors:{type:Array,default:()=>[2161326,15380744,3122407,65535,16536624]},opacity:{type:Number,default:.5},delay:{type:Number,default:5e3},autoPlay:{type:Boolean,default:!0},loopComplete:{type:Function,default:()=>{}}},computed:{currentData(){return Fa(Oa({},this.data[this.activeIndex]),{count:this.count})}},data(){return this.scene=null,this.camera=null,this.renderer=null,this.controls=null,this.axes=null,this.pieGroup=new Vi,this.planeTweens=[],this.resizeHandler=null,this.visibilityObserver=null,this.isVisible=!0,this.isDestroyed=!1,this.isLooping=!1,{width:300,height:200,activeIndex:0,count:0,timer:null}},mounted(){this.isVisible=this.isElementVisible(this.$el),this.updateSize(),this.count=this.data.map(i=>Number(i.value)||0).reduce((i,t)=>i+t,0),this.init(),this.setupVisibilityObserver(),this.resizeHandler=()=>this.resize(),window.addEventListener("resize",this.resizeHandler)},beforeUnmount(){this.destroy()},methods:{init(){this.scene=new Lg,this.initCamera(),this.initRenderer(),this.initLight(),this.initAxes(),this.initControls(),this.createPlane({url:J_,width:5,position:new C(0,0,-.01),color:"#00ffff"}),this.createPlane({url:$_,width:6.5,position:new C(0,0,-.02),color:"#00ffff"}),this.createPlane({url:Q_,width:5.5,position:new C(0,0,-.03),animate:!0,color:"#00ffff"}),this.createPie(),this.isVisible&&this.start()},createPlane(i){let t={url:"texture/ring1.png",width:5.5,z:0,position:new C(0,0,0),animate:!1,color:null},e=Object.assign(t,i);const n=new Qi(e.width,e.width),r=new _a({map:this.getTexture(e.url),transparent:!0,side:ke,depthTest:!1});e.color&&(r.color=new Ut(e.color));const s=new Ce(n,r);if(s.position.copy(e.position),s.rotation.x=-1*Math.PI/2,e.animate){const o=Pn.to(s.rotation,{z:2*Math.PI,repeat:-1,ease:"none",duration:3});this.planeTweens.push(o)}this.scene.add(s)},getTexture(i){const t=new L_().load(i);return t.wrapS=t.wrapT=Vr,t},createPie(){if(!this.data.length||this.count<=0)return;let i=0,t=0;for(var e=0;e=this.data.length&&(i=0,this.loopComplete&&this.loopComplete()),this.chooseRing(i)},chooseRing(i=0,t=!1){if(!this.pieGroup.children.length)return;let e=i-1<0?this.data.length-1:i-1,n=this.pieGroup.children[e];this.prevMesh=n,this.activeIndex=i;let r=this.pieGroup.children[i];r&&(t||n&&(Pn.to(n.scale,{z:1}),Pn.to(n.material,{opacity:this.opacity})),Pn.to(r.scale,{z:2}),Pn.to(r.material,{opacity:.8}))},addRing(i={}){let t={innerRadius:1.5,outerRadius:2,thickness:.5,startAngle:0,endAngle:Math.PI/2,color:65535,segments:120},e=Object.assign(t,i),n=new qi;n.arc(0,0,e.outerRadius,e.startAngle,e.endAngle);let r=n.getPoints(e.segments),s=new qi;s.arc(0,0,e.innerRadius,e.endAngle,e.startAngle,!0);let o=s.getPoints(e.segments),a=new qi(r.concat(o));const l={steps:1,depth:e.thickness,bevelEnabled:!0,bevelThickness:0,bevelSize:0,bevelOffset:0,bevelSegments:0},c=new Ea(a,l);let h=new v_({color:e.color,transparent:!0,opacity:this.opacity,side:ke});const u=new Ce(c,h.clone());return u.renderOrder=10,u.rotation.x=-1*Math.PI/2,u},initCamera(){var i=this.width/this.height;this.camera=new Re(30,i,.1,1500),this.camera.position.set(6.023813305272227,4.838542633695233,6.111272698256137),this.camera.lookAt(0,0,0)},initRenderer(){this.renderer=new Ec({antialias:!0,alpha:!0}),this.renderer.setPixelRatio(this.getPixelRatio()),this.renderer.setSize(this.width,this.height),this.$refs.pieDom.appendChild(this.renderer.domElement)},initLight(){let i=new Hl(16777215,2);i.position.set(200,300,200);let t=new Hl(16777215,2);t.position.set(-200,-300,-200);let e=new U_(16777215,2);this.scene.add(i),this.scene.add(t),this.scene.add(e)},initAxes(){this.axes=new X_(0),this.scene.add(this.axes)},initControls(){this.controls=new Y_(this.camera,this.renderer.domElement),this.controls.maxPolarAngle=Math.PI,this.controls.autoRotate=!1,this.controls.enableDamping=!0,this.controls.enabled=!1},loop(){!this.renderer||this.isLooping||(this.isLooping=!0,this.renderer.setAnimationLoop(()=>{this.renderer.render(this.scene,this.camera),this.controls&&this.controls.update()}))},start(){this.isDestroyed||!this.renderer||!this.data.length||(this.isVisible=!0,this.loop(),this.planeTweens.forEach(i=>{var t;return(t=i==null?void 0:i.resume)==null?void 0:t.call(i)}),this.controls&&(this.controls.enabled=!0),this.startTimer())},startTimer(){this.stopTimer(),this.autoPlay&&(this.data.length<2||(this.timer=window.setInterval(()=>{this.loopChange()},this.delay)))},stop(){this.stopTimer(),this.controls&&(this.controls.enabled=!1),this.renderer&&this.renderer.setAnimationLoop(null),this.planeTweens.forEach(i=>{var t;return(t=i==null?void 0:i.pause)==null?void 0:t.call(i)}),this.isLooping=!1},stopTimer(){this.timer&&(window.clearInterval(this.timer),this.timer=null)},setupVisibilityObserver(){const i=this.$el;!i||typeof window.IntersectionObserver!="function"||(this.visibilityObserver=new IntersectionObserver(t=>{const e=t[0],n=!!(e!=null&&e.isIntersecting)&&this.isElementVisible(i);n!==this.isVisible&&(this.isVisible=n,n?(this.resize(),this.start()):this.stop())}),this.visibilityObserver.observe(i),this.isVisible=this.isElementVisible(i),this.isVisible||this.stop())},isElementVisible(i){if(!i||typeof window.getComputedStyle!="function")return!0;let t=i;for(;t&&t!==document.body;){const n=window.getComputedStyle(t);if(n.display==="none"||n.visibility==="hidden"||Number(n.opacity)===0)return!1;t=t.parentElement}const e=i.getBoundingClientRect();return e.width>0&&e.height>0},getPixelRatio(){return Math.min(window.devicePixelRatio||1,1.5)},updateSize(){var t,e;const i=this.$refs.pieDom;this.width=(i==null?void 0:i.offsetWidth)||((t=this.$el)==null?void 0:t.offsetWidth)||300,this.height=(i==null?void 0:i.offsetHeight)||((e=this.$el)==null?void 0:e.offsetHeight)||200},getScene(){return this.scene},getRender(){return this.renderer},resize(){if(!this.camera||!this.renderer)return;this.updateSize();let i=this.width/this.height;this.camera.aspect=i,this.camera.updateProjectionMatrix(),this.renderer.setSize(this.width,this.height),this.renderer.setPixelRatio(this.getPixelRatio())},destroy(){var i,t,e,n;this.isDestroyed=!0,this.prevMesh&&(Pn.set(this.prevMesh.scale,{z:1}),Pn.set(this.prevMesh.material,{opacity:this.opacity})),this.stop(),(t=(i=this.visibilityObserver)==null?void 0:i.disconnect)==null||t.call(i),this.visibilityObserver=null,this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.renderer&&(this.planeTweens.forEach(r=>{var s;return(s=r==null?void 0:r.kill)==null?void 0:s.call(r)}),this.planeTweens=[],j_(this.pieGroup),this.renderer.dispose(),this.renderer.forceContextLoss(),(n=(e=this.controls)==null?void 0:e.dispose)==null||n.call(e),this.$refs.pieDom&&(this.$refs.pieDom.innerHTML=""),this.scene=null,this.camera=null,this.renderer=null,this.controls=null,this.axes=null)}}},e0={class:"three-pie-wrap"},n0={class:"three-pie",ref:"pieDom"},i0={class:"three-pie-slot"};function r0(i,t,e,n,r,s){return ih(),rh("div",e0,[za("div",n0,null,512),za("div",i0,[sh(i.$slots,"default",{data:s.currentData})])])}const D0=nh(t0,[["render",r0]]),gn=Object.freeze({canvasWidth:1920,canvasHeight:1080,sideCardWidth:398,sidePanelTop:128,sidePanelBottom:8,sideCardGap:12,sideCardMinHeight:227,cardTitleHeight:36}),I0=Object.freeze({ui:'"Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", Arial, sans-serif',title:'"Alimama ShuHeiTi", "阿里妈妈数黑体 Bold", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif',number:'"D-DIN", "D-DIN-Bold", Arial, sans-serif'}),N0=Object.freeze({pageTitle:48,menu:14,cardTitle:16,kpiLabel:14,kpiValue:31,kpiUnit:11,chartUnit:10,chartAxis:10,chartLabel:11,tableBody:11,tableValue:12,popupTitle:20,popupBody:14,tooltip:12}),U0=Object.freeze({textPrimary:"#ffffff",textStrong:"#ffffff",textSecondary:"rgba(246, 253, 255, 0.92)",textMuted:"rgba(242, 253, 255, 0.9)",textWeak:"rgba(229, 248, 255, 0.74)",accentCyan:"#30dcff",accentMint:"#19ffc6",accentWater:"#31dcff",accentGrass:"#24f6c4",accentGold:"#8bf7ff",accentOrange:"#48cfff",cardBorder:"rgba(62, 226, 255, 0.5)",cardBg:"rgba(10, 52, 72, 0.7)",cardHeaderBg:"rgba(40, 124, 158, 0.62)",chartGridLine:"rgba(218, 250, 255, 0.28)",tooltipBg:"rgba(3, 13, 18, 0.92)",iconPrimary:"#30dcff",iconSecondary:"#19ffc6",iconBg:"rgba(48, 220, 255, 0.1)",iconBorder:"rgba(48, 220, 255, 0.42)",iconGlow:"rgba(48, 220, 255, 0.22)"});function O0(i=gn.canvasHeight){const t=Math.max(gn.canvasHeight,Number(i)||gn.canvasHeight),e=Math.floor((t-gn.sidePanelTop-gn.sidePanelBottom-gn.sideCardGap*3)/4);return Math.max(gn.sideCardMinHeight,e)}function F0(i,t=1){const e=Math.max(1,Number(t)||1);return i*e+gn.sideCardGap*(e-1)}export{Y_ as $,Va as A,$i as B,Ut as C,ke as D,m0 as E,bc as F,Vi as G,Rc as H,oe as I,qi as J,U0 as K,ya as L,D0 as M,_e as N,ae as O,Qi as P,Ic as Q,Vr as R,ve as S,zc as T,I0 as U,C as V,N0 as W,w0 as X,Ec as Y,gc as Z,Re as _,_a as a,qn as a0,Lg as a1,X_ as a2,vi as a3,L0 as a4,g0 as a5,tt as a6,Yt as a7,Tn as a8,Ea as a9,Tc as aA,Bn as aB,cn as aC,$t as aD,f0 as aE,Cc as aF,wc as aG,y0 as aH,Ng as aI,kr as aJ,Qt as aK,Ya as aL,us as aM,Pi as aN,ea as aO,Gr as aP,bn as aQ,xe as aR,$r as aS,Jr as aT,tr as aU,rs as aV,w_ as aW,wn as aa,T0 as ab,R0 as ac,Zr as ad,v0 as ae,ln as af,ht as ag,Ye as ah,zu as ai,An as aj,ee as ak,P0 as al,yu as am,C0 as an,c0 as ao,u0 as ap,h0 as aq,er as ar,b0 as as,on as at,S0 as au,x0 as av,p0 as aw,yl as ax,L_ as ay,A0 as az,Ce as b,U_ as c,Hl as d,j_ as e,E0 as f,v_ as g,__ as h,ch as i,On as j,vh as k,fh as l,Bg as m,Dg as n,d0 as o,M0 as p,gn as q,O0 as r,F0 as s,_0 as t,We as u,we as v,ze as w,Hg as x,Bc as y,ye as z}; diff --git a/docs/assets/screen2Standard-cdb21878-balabala-1786725044461.css b/docs/assets/screen2Standard-cdb21878-balabala-1786807848259.css similarity index 100% rename from docs/assets/screen2Standard-cdb21878-balabala-1786725044461.css rename to docs/assets/screen2Standard-cdb21878-balabala-1786807848259.css diff --git a/docs/assets/stack-7a426057-balabala-1786725044461.png b/docs/assets/stack-7a426057-balabala-1786807848259.png similarity index 100% rename from docs/assets/stack-7a426057-balabala-1786725044461.png rename to docs/assets/stack-7a426057-balabala-1786807848259.png diff --git a/docs/assets/three.interactive-b0c27e96-1786725044461.js b/docs/assets/three.interactive-b0c27e96-1786725044461.js deleted file mode 100644 index 028a9fe..0000000 --- a/docs/assets/three.interactive-b0c27e96-1786725044461.js +++ /dev/null @@ -1,458 +0,0 @@ -var tn=Object.defineProperty,nn=Object.defineProperties;var sn=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var on=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable;var Re=(n,e)=>{if(e=Symbol[n])return e;throw Error("Symbol."+n+" is not defined")};var Ge=(n,e,t)=>e in n?tn(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,je=(n,e)=>{for(var t in e||(e={}))on.call(e,t)&&Ge(n,t,e[t]);if(ht)for(var t of ht(e))rn.call(e,t)&&Ge(n,t,e[t]);return n},Ne=(n,e)=>nn(n,sn(e));var A=(n,e,t)=>(Ge(n,typeof e!="symbol"?e+"":e,t),t);var an=function(n,e){this[0]=n,this[1]=e};var dt=n=>{var e=n[Re("asyncIterator")],t=!1,i,s={};return e==null?(e=n[Re("iterator")](),i=o=>s[o]=c=>e[o](c)):(e=e.call(n),i=o=>s[o]=c=>{if(t){if(t=!1,o==="throw")throw c;return c}return t=!0,{done:!1,value:new an(new Promise(a=>{var d=e[o](c);if(!(d instanceof Object))throw TypeError("Object expected");a(d)}),1)}}),s[Re("iterator")]=()=>s,i("next"),"throw"in e?i("throw"):s.throw=o=>{throw o},"return"in e&&i("return"),s};import{X as ln,Y as cn,S as un,Z as hn,_ as dn,$ as fn,a0 as We,a1 as pn,a2 as mn,b as se,C as Je,V as W,a3 as vn,G as pe,a as me,D as gn,a4 as wn,z as et,w as be,m as Rt,a5 as Gt,a6 as N,J as tt,y as jt,O as nt,a7 as it,a8 as yn,P as Sn,A as En,t as xn,a9 as An,aa as st,ab as Mn,I as ft,ac as ke,ad as le,ae as Pn,af as Nt,ag as Le,ah as Oe,ai as Wt,aj as Cn,ak as Ie,al as bn,am as Ln,L as On,x as zn,T as Dn,E as Bn,an as Un}from"./screen2Standard-3427eaf8-1786725044461.js";import{E as ot,q as Ft}from"./TopicSwitcher-06eba150-1786725044461.js";function Tn(n){let e=null,t=!1,i=!1;function s(){!t||i||(n(),e=requestAnimationFrame(s))}function o(){t||(t=!0,s())}function c(){t&&(t=!1,i=!0,cancelAnimationFrame(e))}function a(){!t&&i&&(t=!0,i=!1,s())}return{start:o,pause:c,resume:a,isActive:()=>t}}class In extends ot{constructor({canvas:e,config:t={}}){super(),this.canvas=e,this.config=t||{},this.maxPixelRatio=Number(this.config.maxPixelRatio)||2,this.handleResize=()=>{this.init(),this.emit("resize")},this.init(),window.addEventListener("resize",this.handleResize)}init(){var i;const e=((i=this.canvas)==null?void 0:i.parentNode)||this.canvas||document.documentElement;this.width=e.offsetWidth||window.innerWidth||1,this.height=e.offsetHeight||window.innerHeight||1;const t=Number(this.config.maxPixelRatio)||this.maxPixelRatio||2;this.maxPixelRatio=t,this.pixelRatio=Math.min(window.devicePixelRatio||1,t)}destroy(){window.removeEventListener("resize",this.handleResize),this.off("resize")}}class _n extends ot{constructor(){super(),this.start=Date.now(),this.current=this.start,this.elapsed=0,this.delta=16,this.clock=new ln,this.raf=Tn(()=>this.tick()),this.raf.start()}tick(){const e=Date.now();this.delta=e-this.current,this.current=e,this.elapsed=this.current-this.start;const t=this.clock.getDelta(),i=this.clock.getElapsedTime();this.emit("tick",t,i)}destroy(){this.pause(),this.off("tick")}pause(){this.raf.pause()}resume(){this.raf.resume()}isActive(){this.raf.isActive()}}function Rn(n=10,e=62){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[],s;if(e=e||t.length,n)for(s=0;sGn(typeof n=="string"?JSON.parse(n):n);function Gn(n){var t,i,s,o;let e=(n==null?void 0:n.features)||[];for(let c=0;c{this.canvas.style.cursor="grabbing"},this.handlePointerUp=()=>{this.canvas.style.cursor="grab"},this.canvas.style.cursor="grab",this.canvas.style.touchAction="none",this.canvas.addEventListener("pointerdown",this.handlePointerDown),window.addEventListener("pointerup",this.handlePointerUp),this.canvas.addEventListener("pointerleave",this.handlePointerUp))}resize(){let e=this.sizes.width/this.sizes.height;if(this.options.isOrthographic){let t=120;this.instance.left=-t*e,this.instance.right=t*e,this.instance.top=t,this.instance.bottom=-t}else this.instance.aspect=e;this.instance.updateProjectionMatrix()}update(){this.controls.update()}destroy(){var e,t,i,s;(t=(e=this.canvas)==null?void 0:e.removeEventListener)==null||t.call(e,"pointerdown",this.handlePointerDown),(s=(i=this.canvas)==null?void 0:i.removeEventListener)==null||s.call(i,"pointerleave",this.handlePointerUp),window.removeEventListener("pointerup",this.handlePointerUp),this.controls.dispose()}}class Wn{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let i=0;for(let s=0;s0){for(c=e[--t];t>0&&(i=c,s=e[--t],c=i+s,o=s-(c-i),!o););t>0&&(o<0&&e[t-1]<0||o>0&&e[t-1]>0)&&(s=o*2,i=c+s,s==i-c&&(c=i))}return c}}function*Fn(n){for(const e of n)yield*dt(e)}function Ht(n){return Array.from(Fn(n))}var B=1e-6,Hn=1e-12,b=Math.PI,X=b/2,pt=b/4,K=b*2,q=180/b,G=b/180,T=Math.abs,Yt=Math.atan,ve=Math.atan2,_=Math.cos,Yn=Math.exp,Vn=Math.log,R=Math.sin,Jn=Math.sign||function(n){return n>0?1:n<0?-1:0},_e=Math.sqrt,kn=Math.tan;function Xn(n){return n>1?0:n<-1?b:Math.acos(n)}function ge(n){return n>1?X:n<-1?-X:Math.asin(n)}function de(){}function De(n,e){n&&vt.hasOwnProperty(n.type)&&vt[n.type](n,e)}var mt={Feature:function(n,e){De(n.geometry,e)},FeatureCollection:function(n,e){for(var t=n.features,i=-1,s=t.length;++ib&&(n-=Math.round(n/K)*K),[n,e]}Ze.invert=Ze;function Vt(n,e,t){return(n%=K)?e||t?Ke(yt(n),St(e,t)):yt(n):e||t?St(e,t):Ze}function wt(n){return function(e,t){return e+=n,T(e)>b&&(e-=Math.round(e/K)*K),[e,t]}}function yt(n){var e=wt(n);return e.invert=wt(-n),e}function St(n,e){var t=_(n),i=R(n),s=_(e),o=R(e);function c(a,d){var p=_(d),r=_(a)*p,l=R(a)*p,u=R(d),f=u*t+r*i;return[ve(l*s-f*o,r*t-u*i),ge(f*s+l*o)]}return c.invert=function(a,d){var p=_(d),r=_(a)*p,l=R(a)*p,u=R(d),f=u*s-l*o;return[ve(l*s+u*o,r*t+f*i),ge(f*t-r*i)]},c}function Qn(n){n=Vt(n[0]*G,n[1]*G,n.length>2?n[2]*G:0);function e(t){return t=n(t[0]*G,t[1]*G),t[0]*=q,t[1]*=q,t}return e.invert=function(t){return t=n.invert(t[0]*G,t[1]*G),t[0]*=q,t[1]*=q,t},e}function Kn(n,e,t,i,s,o){if(t){var c=_(e),a=R(e),d=i*t;s==null?(s=e+i*K,o=e-d/2):(s=Et(c,s),o=Et(c,o),(i>0?so)&&(s+=i*K));for(var p,r=s;i>0?r>o:r1&&n.push(n.pop().concat(n.shift()))},result:function(){var t=n;return n=[],e=null,t}}}function ze(n,e){return T(n[0]-e[0])=0;--a)s.point((l=r[a])[0],l[1]);else i(u.x,u.p.x,-1,s);u=u.p}u=u.o,r=u.z,f=!f}while(!u.v);s.lineEnd()}}}function xt(n){if(e=n.length){for(var e,t=0,i=n[0],s;++t=0?1:-1,U=z*O,M=U>b,V=h*P;if(d.add(ve(V*z*R(U),E*L+V*_(U))),c+=M?O+z*K:O,M^m>=t^w>=t){var I=Be(ce(f),ce(y));Qe(I);var D=Be(o,I);Qe(D);var v=(M^O>=0?-1:1)*ge(D[2]);(i>v||i===v&&(I[0]||I[1]))&&(a+=M^O>=0?1:-1)}}return(c<-B||c0){for(d||(s.polygonStart(),d=!0),s.lineStart(),P=0;P1&&w&2&&x.push(x.pop().concat(x.shift())),r.push(x.filter($n))}}return u}}function $n(n){return n.length>1}function ei(n,e){return((n=n.x)[0]<0?n[1]-X-B:X-n[1])-((e=e.x)[0]<0?e[1]-X-B:X-e[1])}const At=Xt(function(){return!0},ti,ii,[-b,-X]);function ti(n){var e=NaN,t=NaN,i=NaN,s;return{lineStart:function(){n.lineStart(),s=1},point:function(o,c){var a=o>0?b:-b,d=T(o-e);T(d-b)0?X:-X),n.point(i,t),n.lineEnd(),n.lineStart(),n.point(a,t),n.point(o,t),s=0):i!==a&&d>=b&&(T(e-i)B?Yt((R(e)*(o=_(i))*R(t)-R(i)*(s=_(e))*R(n))/(s*o*c)):(e+i)/2}function ii(n,e,t,i){var s;if(n==null)s=t*X,i.point(-b,s),i.point(0,s),i.point(b,s),i.point(b,0),i.point(b,-s),i.point(0,-s),i.point(-b,-s),i.point(-b,0),i.point(-b,s);else if(T(n[0]-e[0])>B){var o=n[0]0,s=T(e)>B;function o(r,l,u,f){Kn(f,n,t,u,r,l)}function c(r,l){return _(r)*_(l)>e}function a(r){var l,u,f,m,g;return{lineStart:function(){m=f=!1,g=1},point:function(h,E){var S=[h,E],y,w=c(h,E),x=i?w?0:p(h,E):w?p(h+(h<0?b:-b),E):0;if(!l&&(m=f=w)&&r.lineStart(),w!==f&&(y=d(l,S),(!y||ze(l,y)||ze(S,y))&&(S[2]=1)),w!==f)g=0,w?(r.lineStart(),y=d(S,l),r.point(y[0],y[1])):(y=d(l,S),r.point(y[0],y[1],2),r.lineEnd()),l=y;else if(s&&l&&i^w){var P;!(x&u)&&(P=d(S,l,!0))&&(g=0,i?(r.lineStart(),r.point(P[0][0],P[0][1]),r.point(P[1][0],P[1][1]),r.lineEnd()):(r.point(P[1][0],P[1][1]),r.lineEnd(),r.lineStart(),r.point(P[0][0],P[0][1],3)))}w&&(!l||!ze(l,S))&&r.point(S[0],S[1]),l=S,f=w,u=x},lineEnd:function(){f&&r.lineEnd(),l=null},clean:function(){return g|(m&&f)<<1}}}function d(r,l,u){var f=ce(r),m=ce(l),g=[1,0,0],h=Be(f,m),E=Se(h,h),S=h[0],y=E-S*S;if(!y)return!u&&r;var w=e*E/y,x=-e*S/y,P=Be(g,h),L=Ee(g,w),O=Ee(h,x);Fe(L,O);var z=P,U=Se(L,z),M=Se(z,z),V=U*U-M*(Se(L,L)-1);if(!(V<0)){var I=_e(V),D=Ee(z,(-U-I)/M);if(Fe(D,L),D=qe(D),!u)return D;var v=r[0],C=l[0],j=r[1],J=l[1],Q;C0^D[1]<(T(D[0]-v)b^(v<=D[0]&&D[0]<=C)){var ie=Ee(z,(-U+I)/M);return Fe(ie,L),[D,qe(ie)]}}}function p(r,l){var u=i?n:b-n,f=0;return r<-u?f|=1:r>u&&(f|=2),l<-u?f|=4:l>u&&(f|=8),f}return Xt(c,a,o,i?[0,-n]:[-b,n-b])}function oi(n,e,t,i,s,o){var c=n[0],a=n[1],d=e[0],p=e[1],r=0,l=1,u=d-c,f=p-a,m;if(m=t-c,!(!u&&m>0)){if(m/=u,u<0){if(m0){if(m>l)return;m>r&&(r=m)}if(m=s-c,!(!u&&m<0)){if(m/=u,u<0){if(m>l)return;m>r&&(r=m)}else if(u>0){if(m0)){if(m/=f,f<0){if(m0){if(m>l)return;m>r&&(r=m)}if(m=o-a,!(!f&&m<0)){if(m/=f,f<0){if(m>l)return;m>r&&(r=m)}else if(f>0){if(m0&&(n[0]=c+r*u,n[1]=a+r*f),l<1&&(e[0]=c+l*u,e[1]=a+l*f),!0}}}}}var fe=1e9,Ae=-fe;function ri(n,e,t,i){function s(p,r){return n<=p&&p<=t&&e<=r&&r<=i}function o(p,r,l,u){var f=0,m=0;if(p==null||(f=c(p,l))!==(m=c(r,l))||d(p,r)<0^l>0)do u.point(f===0||f===3?n:t,f>1?i:e);while((f=(f+l+4)%4)!==m);else u.point(r[0],r[1])}function c(p,r){return T(p[0]-n)0?0:3:T(p[0]-t)0?2:1:T(p[1]-e)0?1:0:r>0?3:2}function a(p,r){return d(p.x,r.x)}function d(p,r){var l=c(p,1),u=c(r,1);return l!==u?l-u:l===0?r[1]-p[1]:l===1?p[0]-r[0]:l===2?p[1]-r[1]:r[0]-p[0]}return function(p){var r=p,l=Jt(),u,f,m,g,h,E,S,y,w,x,P,L={point:O,lineStart:V,lineEnd:I,polygonStart:U,polygonEnd:M};function O(v,C){s(v,C)&&r.point(v,C)}function z(){for(var v=0,C=0,j=f.length;Ci&&(ye-oe)*(i-ie)>(ae-ie)*(n-oe)&&++v:ae<=i&&(ye-oe)*(i-ie)<(ae-ie)*(n-oe)&&--v;return v}function U(){r=l,u=[],f=[],P=!0}function M(){var v=z(),C=P&&v,j=(u=Ht(u)).length;(C||j)&&(p.polygonStart(),C&&(p.lineStart(),o(null,null,1,p),p.lineEnd()),j&&kt(u,a,v,o,p),p.polygonEnd()),r=p,u=f=m=null}function V(){L.point=D,f&&f.push(m=[]),x=!0,w=!1,S=y=NaN}function I(){u&&(D(g,h),E&&w&&l.rejoin(),u.push(l.result())),L.point=O,w&&r.lineEnd()}function D(v,C){var j=s(v,C);if(f&&m.push([v,C]),x)g=v,h=C,E=j,x=!1,j&&(r.lineStart(),r.point(v,C));else if(j&&w)r.point(v,C);else{var J=[S=Math.max(Ae,Math.min(fe,S)),y=Math.max(Ae,Math.min(fe,y))],Q=[v=Math.max(Ae,Math.min(fe,v)),C=Math.max(Ae,Math.min(fe,C))];oi(J,Q,n,e,t,i)?(w||(r.lineStart(),r.point(J[0],J[1])),r.point(Q[0],Q[1]),j||r.lineEnd(),P=!1):j&&(r.lineStart(),r.point(v,C),P=!1)}S=v,y=C,w=j}return L}}const Mt=n=>n;var ue=1/0,Ue=ue,we=-ue,Te=we,ai={point:li,lineStart:de,lineEnd:de,polygonStart:de,polygonEnd:de,result:function(){var n=[[ue,Ue],[we,Te]];return we=Te=-(Ue=ue=1/0),n}};function li(n,e){nwe&&(we=n),eTe&&(Te=e)}const Pt=ai;function at(n){return function(e){var t=new $e;for(var i in n)t[i]=n[i];return t.stream=e,t}}function $e(){}$e.prototype={constructor:$e,point:function(n,e){this.stream.point(n,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function lt(n,e,t){var i=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),i!=null&&n.clipExtent(null),qn(t,n.stream(Pt)),e(Pt.result()),i!=null&&n.clipExtent(i),n}function qt(n,e,t){return lt(n,function(i){var s=e[1][0]-e[0][0],o=e[1][1]-e[0][1],c=Math.min(s/(i[1][0]-i[0][0]),o/(i[1][1]-i[0][1])),a=+e[0][0]+(s-c*(i[1][0]+i[0][0]))/2,d=+e[0][1]+(o-c*(i[1][1]+i[0][1]))/2;n.scale(150*c).translate([a,d])},t)}function ci(n,e,t){return qt(n,[[0,0],e],t)}function ui(n,e,t){return lt(n,function(i){var s=+e,o=s/(i[1][0]-i[0][0]),c=(s-o*(i[1][0]+i[0][0]))/2,a=-o*i[0][1];n.scale(150*o).translate([c,a])},t)}function hi(n,e,t){return lt(n,function(i){var s=+e,o=s/(i[1][1]-i[0][1]),c=-o*i[0][0],a=(s-o*(i[1][1]+i[0][1]))/2;n.scale(150*o).translate([c,a])},t)}var Ct=16,di=_(30*G);function bt(n,e){return+e?pi(n,e):fi(n)}function fi(n){return at({point:function(e,t){e=n(e,t),this.stream.point(e[0],e[1])}})}function pi(n,e){function t(i,s,o,c,a,d,p,r,l,u,f,m,g,h){var E=p-i,S=r-s,y=E*E+S*S;if(y>4*e&&g--){var w=c+u,x=a+f,P=d+m,L=_e(w*w+x*x+P*P),O=ge(P/=L),z=T(T(P)-1)e||T((E*I+S*D)/y-.5)>.3||c*u+a*f+d*m2?v[2]%360*G:0,I()):[a*q,d*q,p*q]},M.angle=function(v){return arguments.length?(l=v%360*G,I()):l*q},M.reflectX=function(v){return arguments.length?(u=v?-1:1,I()):u<0},M.reflectY=function(v){return arguments.length?(f=v?-1:1,I()):f<0},M.precision=function(v){return arguments.length?(P=bt(L,x=v*v),D()):_e(x)},M.fitExtent=function(v,C){return qt(M,v,C)},M.fitSize=function(v,C){return ci(M,v,C)},M.fitWidth=function(v,C){return ui(M,v,C)},M.fitHeight=function(v,C){return hi(M,v,C)};function I(){var v=Lt(t,0,0,u,f,l).apply(null,e(o,c)),C=Lt(t,i-v[0],s-v[1],u,f,l);return r=Vt(a,d,p),L=Ke(e,C),O=Ke(r,L),P=bt(L,x),D()}function D(){return z=U=null,M}return function(){return e=n.apply(this,arguments),M.invert=e.invert&&V,I()}}function ct(n,e){return[n,Vn(kn((X+e)/2))]}ct.invert=function(n,e){return[n,2*Yt(Yn(e))-X]};function ut(){return Si(ct).scale(961/K)}function Si(n){var e=wi(n),t=e.center,i=e.scale,s=e.translate,o=e.clipExtent,c=null,a,d,p;e.scale=function(l){return arguments.length?(i(l),r()):i()},e.translate=function(l){return arguments.length?(s(l),r()):s()},e.center=function(l){return arguments.length?(t(l),r()):t()},e.clipExtent=function(l){return arguments.length?(l==null?c=a=d=p=null:(c=+l[0][0],a=+l[0][1],d=+l[1][0],p=+l[1][1]),r()):c==null?null:[[c,a],[d,p]]};function r(){var l=b*i(),u=e(Qn(e.rotate()).invert([0,0]));return o(c==null?[[u[0]-l,u[1]-l],[u[0]+l,u[1]+l]]:n===ct?[[Math.max(u[0]-l,c),a],[Math.min(u[0]+l,d),p]]:[[c,Math.max(u[1]-l,a)],[d,Math.min(u[1]+l,p)]])}return r()}class Bi extends ot{constructor(e,t={}){var s,o;super();let i={isOrthographic:!1};this.config=Object.assign({},i,t),this.canvas=e,this.scene=new pn,this.sizes=new In(this),this.time=new _n(this),this.camera=new Nn(this,{isOrthographic:this.config.isOrthographic}),this.renderer=new jn(this),this.handleControlsChange=()=>{var c,a,d;this.renderer.update(),(a=(c=this.label3d)==null?void 0:c.update)==null||a.call(c),(d=this.updateTownLabelScale)==null||d.call(this)},(o=(s=this.camera.controls)==null?void 0:s.addEventListener)==null||o.call(s,"change",this.handleControlsChange),this.sizes.on("resize",()=>{this.resize()}),this.time.on("tick",c=>{this.update(c)})}setAxesHelper(e=250){if(!e)return!1;let t=new mn(e);this.scene.add(t)}resize(){this.camera.resize(),this.renderer.resize()}update(e){this.camera.update(e),this.renderer.update(e)}destroy(){var e,t,i,s;(t=(e=this.camera.controls)==null?void 0:e.removeEventListener)==null||t.call(e,"change",this.handleControlsChange),this.sizes.destroy(),this.time.destroy(),this.camera.destroy(),this.renderer.destroy(),this.scene.traverse(o=>{if(o instanceof se){o.geometry.dispose();for(const c in o.material){const a=o.material[c];a&&typeof a.dispose=="function"&&a.dispose()}}}),(s=(i=this.canvas)==null?void 0:i.parentNode)==null||s.removeChild(this.canvas)}}class Ui{constructor({material:e,time:t,size:i,diffuseColor:s,diffuseSpeed:o,diffuseWidth:c,callback:a=()=>{}}){this.time=t,this.pointShader=null,this.callback=a;let d={size:100,diffuseSpeed:15,diffuseColor:9345950,diffuseWidth:10};this.options=Object.assign({},d,{material:e,size:i,diffuseColor:s,diffuseSpeed:o,diffuseWidth:c}),this.init()}init(){let{material:e,size:t,diffuseColor:i,diffuseSpeed:s,diffuseWidth:o}=this.options,c=t/s;e.onBeforeCompile=a=>{this.pointShader=a,this.callback(a,c),a.uniforms=Ne(je({},a.uniforms),{uTime:{value:0},uSpeed:{value:s},uWidth:{value:o},uColor:{value:new Je(i)}}),a.vertexShader=a.vertexShader.replace("void main() {",` - varying vec3 vPosition; - void main(){ - vPosition = position; - `),a.fragmentShader=a.fragmentShader.replace("void main() {",` - uniform float uTime; - uniform float uSpeed; - uniform float uWidth; - uniform vec3 uColor; - varying vec3 vPosition; - void main(){ - `),a.fragmentShader=a.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - - #ifdef USE_TRANSMISSION - diffuseColor.a *= material.transmissionAlpha; - #endif - - float r = uTime * uSpeed; - - float w = uWidth; - // if(w>uWidth){ - // w = uWidth; - // }else{ - // w = uTime * 1.5; - // } - - vec2 center = vec2(0.0, 0.0); - - float rDistance = distance(vPosition.xy, center); - - if(rDistance > r && rDistance < r + 2.0 * w) { - float per = 0.0; - if(rDistance < r + w) { - float p = smoothstep(0.0,1.0,(rDistance - r) / w); - p*=p; - outgoingLight = mix(outgoingLight, uColor, p); - } else { - - float p = smoothstep(0.0,1.0,(rDistance - r - w) / w); - - outgoingLight = mix(uColor, outgoingLight, p); - } - gl_FragColor = vec4(outgoingLight, diffuseColor.a); - } else { - gl_FragColor = vec4(outgoingLight, 0.0); - } - `)}}}class Ti{constructor({scene:e,time:t},i){this.scene=e,this.time=t,this.instance=null;let s={position:new W(0,0,0),gridSize:100,gridDivision:20,gridColor:2635578,shapeSize:1,shapeColor:9345950,pointSize:.2,pointColor:2635578,pointLayout:{row:200,col:200},pointBlending:vn};this.options=Object.assign({},s,i),this.init()}init(){let e=new pe;e.name="Grid";let t=this.createGridHelp(),i=this.createShapes(),s=this.createPoint();e.add(t,i,s),e.position.copy(this.options.position),this.instance=e,this.scene.add(e)}createShapes(){let{gridSize:e,gridDivision:t,shapeSize:i,shapeColor:s}=this.options,o=e/t,c=e/2,a=new me({color:s,side:gn}),d=[];for(let l=0;l{this.update()}),this.sizes.on("resize",()=>{this.resize()})}create(e="",t="",i=!1){let s=document.createElement("div");s.innerHTML=e,s.className=t,s.style.visibility="hidden",s.style.position="absolute",t||(s.style.padding="10px",s.style.color="#fff",s.style.fontSize="12px",s.style.textAlign="center",s.style.background="rgba(0,0,0,0.6)",s.style.borderRadius="4px");let o=null;return i?o=new xi(s):o=new Qt(s),o.init=(c,a)=>{o.element.innerHTML=c,o.element.style.visibility="visible",o.position.copy(a)},o.hide=()=>{o.element.style.visibility="hidden"},o.scaleHide=()=>{o.element.classList.add("scale-hidden")},o.show=()=>{o.element.style.visibility="visible",o.element.classList.remove("scale-hidden")},o.setParent=c=>{this.parent=c,c.add(o)},o.remove=()=>{this.parent.remove(o)},o}setLabelStyle(e,t=.1,i="x",s=Math.PI/2,o="none"){e.element.style.pointerEvents=o,e.scale.set(t,t,t),e.rotation[i]=s}setRenderLevel(e){this.css3dRender.domElement.style.zIndex=e}update(){this.css3dRender.render(this.scene,this.camera.instance)}destroy(){if(this.css3dRender){let e=this.css3dRender.domElement;e.parentNode.removeChild(e)}}resize(){let{width:e,height:t}=this.sizes;this.css3dRender.setSize(e,t)}}class _i{constructor({time:e},t){this.time=e,this.options=Object.assign({},{width:10,scale:1,position:new W(0,0,0),needRotate:!1,rotateSpeed:.001,material:new me({transparent:!0,opacity:1,depthTest:!0})},t);let i=new Sn(this.options.width,this.options.width),s=new se(i,this.options.material);s.position.copy(this.options.position),s.scale.set(this.options.scale,this.options.scale,this.options.scale),this.instance=s}setParent(e){e.add(this.instance),this.time.on("tick",()=>{this.update()})}update(){this.options.needRotate&&(this.instance.rotation.z+=this.options.rotateSpeed)}}class Kt{constructor({time:e},t={}){this.instance=null,this.time=e,this.enable=!0,this.config=Object.assign({num:100,range:500,speed:.01,renderOrder:99,dir:"up",material:new Rt({map:Kt.createTexture(),size:20,color:16777215,transparent:!0,opacity:1,depthTest:!1,vertexColors:!0,blending:En,sizeAttenuation:!0})},t),this.create()}create(){const{range:e,speed:t,dir:i,material:s,num:o,renderOrder:c}=this.config,a=[],d=[],p=[];for(let l=0;li/2&&c===1&&(u=-i/2),u<-i/2&&c==-1&&(u=i/2),a.setX(r,l),a.setZ(r,u),d.setX(r,f),d.setY(r,m)}a.needsUpdate=!0,d.needsUpdate=!0}setParent(e){e.add(this.instance),this.time.on("tick",(t,i)=>{this.enable&&this.update(t,i)})}}class Ri{constructor({},e={}){this.mapGroup=new pe,this.coordinates=[],this.config=Object.assign({position:new W(0,0,0),geoProjectionCenter:new N(0,0),geoProjectionScale:120,data:"",renderOrder:1,merge:!1,material:new me({color:1582651,transparent:!0,opacity:1})},e),this.mapGroup.position.copy(this.config.position);let t=rt(this.config.data);this.create(t)}geoProjection(e){return ut().center(this.config.geoProjectionCenter).scale(this.config.geoProjectionScale).translate([0,0])(e)}create(e){let{merge:t}=this.config,i=[];if(e.features.forEach(s=>{const o=new nt;let{name:c,center:a=[],centroid:d=[]}=s.properties;this.coordinates.push({name:c,center:a,centroid:d}),o.userData.name=c,s.geometry.coordinates.forEach(p=>{p.forEach(r=>{const l=new tt;for(let f=0;f{var p,r,l;const i=new nt;let{name:s,center:o=[],centroid:c=[]}=t.properties;this.coordinates.push({name:s,center:o,centroid:c});const a={depth:this.config.depth,bevelEnabled:(p=this.config.bevelEnabled)!=null?p:!0,bevelSegments:(r=this.config.bevelSegments)!=null?r:1,bevelThickness:(l=this.config.bevelThickness)!=null?l:.1};let d=[this.config.topFaceMaterial,this.config.sideMaterial];t.geometry.coordinates.forEach(u=>{u.forEach((f,m)=>{const g=new tt;for(let S=0;S - #include - #include - #include - #include - - uniform float linewidth; - uniform vec2 resolution; - - attribute vec3 instanceStart; - attribute vec3 instanceEnd; - - attribute vec3 instanceColorStart; - attribute vec3 instanceColorEnd; - - #ifdef WORLD_UNITS - - varying vec4 worldPos; - varying vec3 worldStart; - varying vec3 worldEnd; - - #ifdef USE_DASH - - varying vec2 vUv; - - #endif - - #else - - varying vec2 vUv; - - #endif - - #ifdef USE_DASH - - uniform float dashScale; - attribute float instanceDistanceStart; - attribute float instanceDistanceEnd; - varying float vLineDistance; - - #endif - - void trimSegment( const in vec4 start, inout vec4 end ) { - - // trim end segment so it terminates between the camera plane and the near plane - - // conservative estimate of the near plane - float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column - float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column - float nearEstimate = - 0.5 * b / a; - - float alpha = ( nearEstimate - start.z ) / ( end.z - start.z ); - - end.xyz = mix( start.xyz, end.xyz, alpha ); - - } - - void main() { - - #ifdef USE_COLOR - - vColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd; - - #endif - - #ifdef USE_DASH - - vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd; - vUv = uv; - - #endif - - float aspect = resolution.x / resolution.y; - - // camera space - vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 ); - vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 ); - - #ifdef WORLD_UNITS - - worldStart = start.xyz; - worldEnd = end.xyz; - - #else - - vUv = uv; - - #endif - - // special case for perspective projection, and segments that terminate either in, or behind, the camera plane - // clearly the gpu firmware has a way of addressing this issue when projecting into ndc space - // but we need to perform ndc-space calculations in the shader, so we must address this issue directly - // perhaps there is a more elegant solution -- WestLangley - - bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column - - if ( perspective ) { - - if ( start.z < 0.0 && end.z >= 0.0 ) { - - trimSegment( start, end ); - - } else if ( end.z < 0.0 && start.z >= 0.0 ) { - - trimSegment( end, start ); - - } - - } - - // clip space - vec4 clipStart = projectionMatrix * start; - vec4 clipEnd = projectionMatrix * end; - - // ndc space - vec3 ndcStart = clipStart.xyz / clipStart.w; - vec3 ndcEnd = clipEnd.xyz / clipEnd.w; - - // direction - vec2 dir = ndcEnd.xy - ndcStart.xy; - - // account for clip-space aspect ratio - dir.x *= aspect; - dir = normalize( dir ); - - #ifdef WORLD_UNITS - - vec3 worldDir = normalize( end.xyz - start.xyz ); - vec3 tmpFwd = normalize( mix( start.xyz, end.xyz, 0.5 ) ); - vec3 worldUp = normalize( cross( worldDir, tmpFwd ) ); - vec3 worldFwd = cross( worldDir, worldUp ); - worldPos = position.y < 0.5 ? start: end; - - // height offset - float hw = linewidth * 0.5; - worldPos.xyz += position.x < 0.0 ? hw * worldUp : - hw * worldUp; - - // don't extend the line if we're rendering dashes because we - // won't be rendering the endcaps - #ifndef USE_DASH - - // cap extension - worldPos.xyz += position.y < 0.5 ? - hw * worldDir : hw * worldDir; - - // add width to the box - worldPos.xyz += worldFwd * hw; - - // endcaps - if ( position.y > 1.0 || position.y < 0.0 ) { - - worldPos.xyz -= worldFwd * 2.0 * hw; - - } - - #endif - - // project the worldpos - vec4 clip = projectionMatrix * worldPos; - - // shift the depth of the projected points so the line - // segments overlap neatly - vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd; - clip.z = clipPose.z * clip.w; - - #else - - vec2 offset = vec2( dir.y, - dir.x ); - // undo aspect ratio adjustment - dir.x /= aspect; - offset.x /= aspect; - - // sign flip - if ( position.x < 0.0 ) offset *= - 1.0; - - // endcaps - if ( position.y < 0.0 ) { - - offset += - dir; - - } else if ( position.y > 1.0 ) { - - offset += dir; - - } - - // adjust for linewidth - offset *= linewidth; - - // adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ... - offset /= resolution.y; - - // select end - vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd; - - // back to clip space - offset *= clip.w; - - clip.xy += offset; - - #endif - - gl_Position = clip; - - vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation - - #include - #include - #include - - } - `,fragmentShader:` - uniform vec3 diffuse; - uniform float opacity; - uniform float linewidth; - - #ifdef USE_DASH - - uniform float dashOffset; - uniform float dashSize; - uniform float gapSize; - - #endif - - varying float vLineDistance; - - #ifdef WORLD_UNITS - - varying vec4 worldPos; - varying vec3 worldStart; - varying vec3 worldEnd; - - #ifdef USE_DASH - - varying vec2 vUv; - - #endif - - #else - - varying vec2 vUv; - - #endif - - #include - #include - #include - #include - #include - - vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) { - - float mua; - float mub; - - vec3 p13 = p1 - p3; - vec3 p43 = p4 - p3; - - vec3 p21 = p2 - p1; - - float d1343 = dot( p13, p43 ); - float d4321 = dot( p43, p21 ); - float d1321 = dot( p13, p21 ); - float d4343 = dot( p43, p43 ); - float d2121 = dot( p21, p21 ); - - float denom = d2121 * d4343 - d4321 * d4321; - - float numer = d1343 * d4321 - d1321 * d4343; - - mua = numer / denom; - mua = clamp( mua, 0.0, 1.0 ); - mub = ( d1343 + d4321 * ( mua ) ) / d4343; - mub = clamp( mub, 0.0, 1.0 ); - - return vec2( mua, mub ); - - } - - void main() { - - #include - - #ifdef USE_DASH - - if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps - - if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX - - #endif - - float alpha = opacity; - - #ifdef WORLD_UNITS - - // Find the closest points on the view ray and the line segment - vec3 rayEnd = normalize( worldPos.xyz ) * 1e5; - vec3 lineDir = worldEnd - worldStart; - vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd ); - - vec3 p1 = worldStart + lineDir * params.x; - vec3 p2 = rayEnd * params.y; - vec3 delta = p1 - p2; - float len = length( delta ); - float norm = len / linewidth; - - #ifndef USE_DASH - - #ifdef USE_ALPHA_TO_COVERAGE - - float dnorm = fwidth( norm ); - alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm ); - - #else - - if ( norm > 0.5 ) { - - discard; - - } - - #endif - - #endif - - #else - - #ifdef USE_ALPHA_TO_COVERAGE - - // artifacts appear on some hardware if a derivative is taken within a conditional - float a = vUv.x; - float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; - float len2 = a * a + b * b; - float dlen = fwidth( len2 ); - - if ( abs( vUv.y ) > 1.0 ) { - - alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 ); - - } - - #else - - if ( abs( vUv.y ) > 1.0 ) { - - float a = vUv.x; - float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; - float len2 = a * a + b * b; - - if ( len2 > 1.0 ) discard; - - } - - #endif - - #endif - - vec4 diffuseColor = vec4( diffuse, alpha ); - - #include - #include - - gl_FragColor = vec4( diffuseColor.rgb, alpha ); - - #include - #include - #include - #include - - } - `};class $t extends Cn{constructor(e){super({type:"LineMaterial",uniforms:Wt.clone(Oe.line.uniforms),vertexShader:Oe.line.vertexShader,fragmentShader:Oe.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(e)}get color(){return this.uniforms.diffuse.value}set color(e){this.uniforms.diffuse.value=e}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(e){e===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(e){this.uniforms.linewidth&&(this.uniforms.linewidth.value=e)}get dashed(){return"USE_DASH"in this.defines}set dashed(e){e===!0!==this.dashed&&(this.needsUpdate=!0),e===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(e){this.uniforms.dashScale.value=e}get dashSize(){return this.uniforms.dashSize.value}set dashSize(e){this.uniforms.dashSize.value=e}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(e){this.uniforms.dashOffset.value=e}get gapSize(){return this.uniforms.gapSize.value}set gapSize(e){this.uniforms.gapSize.value=e}get opacity(){return this.uniforms.opacity.value}set opacity(e){this.uniforms&&(this.uniforms.opacity.value=e)}get resolution(){return this.uniforms.resolution.value}set resolution(e){this.uniforms.resolution.value.copy(e)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(e){this.defines&&(e===!0!==this.alphaToCoverage&&(this.needsUpdate=!0),e===!0?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1))}}const Bt=new W,Ut=new W,F=new Ie,H=new Ie,$=new Ie,Ye=new W,Ve=new it,Y=new bn,Tt=new W,Pe=new st,Ce=new Nt,ee=new Ie;let te,re;function It(n,e,t){return ee.set(0,0,-e,1).applyMatrix4(n.projectionMatrix),ee.multiplyScalar(1/ee.w),ee.x=re/t.width,ee.y=re/t.height,ee.applyMatrix4(n.projectionMatrixInverse),ee.multiplyScalar(1/ee.w),Math.abs(Math.max(ee.x,ee.y))}function Pi(n,e){const t=n.matrixWorld,i=n.geometry,s=i.attributes.instanceStart,o=i.attributes.instanceEnd,c=Math.min(i.instanceCount,s.count);for(let a=0,d=c;al&&H.z>l)continue;if(F.z>l){const y=F.z-H.z,w=(F.z-l)/y;F.lerp(H,w)}else if(H.z>l){const y=H.z-F.z,w=(H.z-l)/y;H.lerp(F,w)}F.applyMatrix4(i),H.applyMatrix4(i),F.multiplyScalar(1/F.w),H.multiplyScalar(1/H.w),F.x*=o.x/2,F.y*=o.y/2,H.x*=o.x/2,H.y*=o.y/2,Y.start.copy(F),Y.start.z=0,Y.end.copy(H),Y.end.z=0;const g=Y.closestPointToPointParameter(Ye,!0);Y.at(g,Tt);const h=Ln.lerp(F.z,H.z,g),E=h>=-1&&h<=1,S=Ye.distanceTo(Tt){const r=[];let l=null;t==="Line2"?(p[0].forEach(u=>{const[f,m]=this.geoProjection(u);r.push(f,-m,0)}),l=this.createLine2(r)):t==="Line3"?(p[0].forEach(u=>{const[f,m]=this.geoProjection(u);r.push(new W(f,-m,0))}),l=this.createLine3(r)):p[0].forEach(u=>{const[f,m]=this.geoProjection(u);r.push(new W(f,-m,0)),l=this.createLine(r)}),d.add(l)}),o.add(d))}return o}createLine3(e){const t=this.config.tubeRadius,i=256*10,s=4,o=!1,{material:c,renderOrder:a}=this.config,d=new zn(e),p=new Dn(d,i,t,s,o),r=new se(p,c);return r.name="mapLine3",r.renderOrder=a,r}createLine2(e){const{material:t,renderOrder:i}=this.config,s=new en;s.setPositions(e);let o=new Li(s,t);return o.name="mapLine2",o.renderOrder=i,o.computeLineDistances(),o}createLine(e){const{material:t,renderOrder:i,type:s}=this.config,o=new et;o.setFromPoints(e);let c=new Bn(o,t);return c.renderOrder=i,c.name="mapLine",c}setParent(e){e.add(this.lineGroup)}}class Ni{constructor(e,t){this.shader=null,this.config=Object.assign({uColor1:2781042,uColor2:860197,size:15,dir:"x"},t),this.init(e)}init(e){let{uColor1:t,uColor2:i,dir:s,size:o}=this.config,c={x:1,y:2,z:3};e.onBeforeCompile=a=>{this.shader=a,a.uniforms=Ne(je({},a.uniforms),{uColor1:{value:new Je(t)},uColor2:{value:new Je(i)},uDir:{value:c[s]},uSize:{value:o}}),a.vertexShader=a.vertexShader.replace("void main() {",` - attribute float alpha; - varying vec3 vPosition; - varying float vAlpha; - void main() { - vAlpha = alpha; - vPosition = position; - `),a.fragmentShader=a.fragmentShader.replace("void main() {",` - varying vec3 vPosition; - varying float vAlpha; - uniform vec3 uColor1; - uniform vec3 uColor2; - uniform float uDir; - uniform float uSize; - - void main() { - `),a.fragmentShader=a.fragmentShader.replace("#include ",` - #ifdef OPAQUE - diffuseColor.a = 1.0; - #endif - - // https://github.com/mrdoob/three.js/pull/22425 - #ifdef USE_TRANSMISSION - diffuseColor.a *= transmissionAlpha + 0.1; - #endif - // vec3 gradient = mix(uColor1, uColor2, vPosition.x / 15.0); - vec3 gradient = vec3(0.0,0.0,0.0); - if(uDir==1.0){ - gradient = mix(uColor1, uColor2, vPosition.x/ uSize); - }else if(uDir==2.0){ - gradient = mix(uColor1, uColor2, vPosition.z/ uSize); - }else if(uDir==3.0){ - gradient = mix(uColor1, uColor2, vPosition.y/ uSize); - } - outgoingLight = outgoingLight * gradient; - - - gl_FragColor = vec4( outgoingLight, diffuseColor.a ); - `)}}}const Wi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK+SURBVHgB7dzNbdswGIdxSugCRtGBuklWSO17nXs/J0hHywA11AEMu3wDsLFT5WCJ5PtI/D8nQ5cA/FmxJJLqtofhHBSmPihUAoElEFgCgfVu7ODX95suqOKNXVDpDIElEFgCgSUQWAKBJRBYAoE1G2Q3DJ/j9fRjUGE7DI+f4niEGc0CMYzzKezjx7vWUQwjnMJdF8djDsq8M+QYLu/om0VJGP8OXI/LTc0C+fJhs4/fiIeLQ82hvMaI/zEevsVxCROb/RvSMkpuDCvLVVaLKCUwrGyXvS2hlMKwst6HtIBSEsPKfmO4ZpTSGFaRO/U1otTAsIo9OlkTSi0Mq+izrDWg1MSwij9cXDJKbQyrytPeJaJ4YFjVHr8vCcULw6o6H7IEFE8Mq/oEFRnFG8NymTEkohAwLLcpXBIKBcNynVMnoJAwLPdFDp4oNAwLserEA4WIYXVjK7C9Vr+fY8Gh7e8/Lhha/f5GhDMjJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJZDwvIIQs2kIA/K81tYvzKYhBMh/75vyCYHiDgLBSLmjuIK8xrBV6J1HoO11biCk/Rmk7XUuIMTNMhSU6iDUnUsWAaUqCBkj5Y1SDWQJGClPlCogS8JIeaEUB1kiRsoDpSjIkjFStVGKgawBI1UTpQjImjBStVCyg6wRI1UDJSvImjFSpVGygbSAkSqJkgWkJYxUKZTZIC1ipEqgzAJpGSOVG2UyiDBeyokyCWR3OOyFcd0Yyu4wfA83Ngnk2Pe/ziE82WdhvHSJYuNz7MPPcGOTQH5sNk+nPnyMf/xeGNcZSvyS3tv42DiFG0O94q+19Iq/BSQQWAKBJRBYAoElEFgCgSUQWKM3hsovnSGwBAJLILAEAusvLK6Na4P/Au0AAAAASUVORK5CYII=";var _t=class{constructor(n,e){A(this,"target");A(this,"name");A(this,"intersected");A(this,"wasIntersected",!1);A(this,"wasIntersectedOnMouseDown",!1);A(this,"distance");this.target=n,this.name=e,this.intersected=!1,this.distance=0}},k=class{constructor(n,e=null){A(this,"type");A(this,"cancelBubble");A(this,"originalEvent");A(this,"coords",new N(0,0));A(this,"distance",0);A(this,"intersected",!1);A(this,"wasIntersected",!1);A(this,"wasIntersectedOnMouseDown",!1);this.cancelBubble=!1,this.type=n,this.originalEvent=e}stopPropagation(){this.cancelBubble=!0}},Fi=class{constructor(n,e,t,i){A(this,"renderer");A(this,"camera");A(this,"domElement");A(this,"bindEventsOnBodyElement");A(this,"autoAdd");A(this,"scene");A(this,"mouse");A(this,"supportsPointerEvents");A(this,"interactiveObjects");A(this,"closestObject");A(this,"raycaster");A(this,"treatTouchEventsAsMouseEvents");A(this,"dispose",()=>{this.domElement.removeEventListener("click",this.onMouseClick),this.supportsPointerEvents&&(this.bindEventsOnBodyElement?this.domElement.ownerDocument.removeEventListener("pointermove",this.onDocumentPointerMove):this.domElement.removeEventListener("pointermove",this.onDocumentPointerMove),this.domElement.removeEventListener("pointerdown",this.onPointerDown),this.domElement.removeEventListener("pointerup",this.onPointerUp)),this.bindEventsOnBodyElement?this.domElement.ownerDocument.removeEventListener("mousemove",this.onDocumentMouseMove):this.domElement.removeEventListener("mousemove",this.onDocumentMouseMove),this.domElement.removeEventListener("mousedown",this.onMouseDown),this.domElement.removeEventListener("mouseup",this.onMouseUp),this.domElement.removeEventListener("touchstart",this.onTouchStart),this.domElement.removeEventListener("touchmove",this.onTouchMove),this.domElement.removeEventListener("touchend",this.onTouchEnd)});A(this,"add",(n,e=[])=>{if(n&&!this.interactiveObjects.find(t=>t.target===n))if(e.length>0)e.forEach(t=>{let i=n.getObjectByName(t);if(i){let s=new _t(i,t);this.interactiveObjects.push(s)}});else{let t=new _t(n,n.name);this.interactiveObjects.push(t)}});A(this,"remove",(n,e=[])=>{!n||(e.length>0?e.forEach(t=>{let i=n.getObjectByName(t);i&&(this.interactiveObjects=this.interactiveObjects.filter(s=>s.target!==i))}):this.interactiveObjects=this.interactiveObjects.filter(t=>t.target!==n))});A(this,"update",()=>{var i;this.raycaster.setFromCamera(this.mouse,this.camera),this.interactiveObjects.forEach(s=>{s.target&&this.checkIntersection(s)}),this.interactiveObjects.sort(function(s,o){return s.distance-o.distance});let n=(i=this.interactiveObjects.find(s=>s.intersected))!=null?i:null;if(n!=this.closestObject){if(this.closestObject){let s=new k("mouseout");this.dispatch(this.closestObject,s)}if(n){let s=new k("mouseover");this.dispatch(n,s)}this.closestObject=n}let e;this.interactiveObjects.forEach(s=>{!s.intersected&&s.wasIntersected&&(e||(e=new k("mouseleave")),this.dispatch(s,e))});let t;this.interactiveObjects.forEach(s=>{s.intersected&&!s.wasIntersected&&(t||(t=new k("mouseenter")),this.dispatch(s,t))})});A(this,"checkIntersection",n=>{let e=this.raycaster.intersectObjects([n.target],!0);if(n.wasIntersected=n.intersected,e.length>0){let t=e[0].distance;e.forEach(i=>{i.distance{this.mapPositionToPoint(this.mouse,n.clientX,n.clientY);let e=new k("mousemove",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"onDocumentPointerMove",n=>{this.mapPositionToPoint(this.mouse,n.clientX,n.clientY);let e=new k("pointermove",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"onTouchMove",n=>{n.touches.length>0&&this.mapPositionToPoint(this.mouse,n.touches[0].clientX,n.touches[0].clientY);let e=new k(this.treatTouchEventsAsMouseEvents?"mousemove":"touchmove",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"onMouseClick",n=>{this.update();let e=new k("click",n);this.interactiveObjects.forEach(t=>{t.intersected&&this.dispatch(t,e)})});A(this,"onMouseDown",n=>{this.mapPositionToPoint(this.mouse,n.clientX,n.clientY),this.update();let e=new k("mousedown",n);this.interactiveObjects.forEach(t=>{t.intersected?(t.wasIntersectedOnMouseDown=!0,this.dispatch(t,e)):t.wasIntersectedOnMouseDown=!1})});A(this,"onPointerDown",n=>{this.mapPositionToPoint(this.mouse,n.clientX,n.clientY),this.update();let e=new k("pointerdown",n);this.interactiveObjects.forEach(t=>{t.intersected&&this.dispatch(t,e)})});A(this,"onTouchStart",n=>{n.touches.length>0&&this.mapPositionToPoint(this.mouse,n.touches[0].clientX,n.touches[0].clientY),this.update();let e=new k(this.treatTouchEventsAsMouseEvents?"mousedown":"touchstart",n);this.interactiveObjects.forEach(t=>{t.intersected&&this.dispatch(t,e)})});A(this,"onMouseUp",n=>{let e=new k("mouseup",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"onPointerUp",n=>{let e=new k("pointerup",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"onTouchEnd",n=>{n.touches.length>0&&this.mapPositionToPoint(this.mouse,n.touches[0].clientX,n.touches[0].clientY),this.update();let e=new k(this.treatTouchEventsAsMouseEvents?"mouseup":"touchend",n);this.interactiveObjects.forEach(t=>{this.dispatch(t,e)})});A(this,"dispatch",(n,e)=>{n.target&&!e.cancelBubble&&(e.coords=this.mouse,e.distance=n.distance,e.intersected=n.intersected,e.wasIntersected=n.wasIntersected,e.wasIntersectedOnMouseDown=n.wasIntersectedOnMouseDown,n.target.dispatchEvent(e))});A(this,"mapPositionToPoint",(n,e,t)=>{let i=this.renderer.domElement.getBoundingClientRect();n.x=(e-i.left)/i.width*2-1,n.y=-((t-i.top)/i.height)*2+1});this.renderer=n,this.camera=e,this.domElement=t,this.bindEventsOnBodyElement=i&&typeof i.bindEventsOnBodyElement<"u"?i.bindEventsOnBodyElement:!0,this.scene=i&&typeof i.scene<"u"?i.scene:null,this.scene&&(this.scene.onBeforeRender=()=>{this.autoAdd&&this.scene!==null&&this.scene.traverse(s=>{this.add(s),s.addEventListener("removed",o=>{this.remove(o.target)})}),this.update()}),this.autoAdd=i&&typeof i.autoAdd<"u"?i.autoAdd:!1,this.autoAdd&&this.scene===null&&console.error("Attention: Options.scene needs to be set when using options.autoAdd"),this.mouse=new N(-1,1),this.supportsPointerEvents=!!window.PointerEvent,this.interactiveObjects=[],this.closestObject=null,this.raycaster=new Un,t.addEventListener("click",this.onMouseClick),this.supportsPointerEvents&&(this.bindEventsOnBodyElement?t.ownerDocument.addEventListener("pointermove",this.onDocumentPointerMove):t.addEventListener("pointermove",this.onDocumentPointerMove),t.addEventListener("pointerdown",this.onPointerDown),t.addEventListener("pointerup",this.onPointerUp)),this.bindEventsOnBodyElement?t.ownerDocument.addEventListener("mousemove",this.onDocumentMouseMove):t.addEventListener("mousemove",this.onDocumentMouseMove),t.addEventListener("mousedown",this.onMouseDown),t.addEventListener("mouseup",this.onMouseUp),t.addEventListener("touchstart",this.onTouchStart,{passive:!0}),t.addEventListener("touchmove",this.onTouchMove,{passive:!0}),t.addEventListener("touchend",this.onTouchEnd,{passive:!0}),this.treatTouchEventsAsMouseEvents=!0}};export{Ri as B,Ui as D,Gi as E,Ni as G,Ii as L,Bi as M,_i as P,ji as a,Ti as b,Kt as c,ut as g,Fi as h,Wi as l}; diff --git a/docs/assets/title-zs1-c15a5ee8-balabala-1786725044461.svg b/docs/assets/title-zs1-c15a5ee8-balabala-1786807848259.svg similarity index 100% rename from docs/assets/title-zs1-c15a5ee8-balabala-1786725044461.svg rename to docs/assets/title-zs1-c15a5ee8-balabala-1786807848259.svg diff --git a/docs/assets/town-f8c0c9cc-balabala-1786725044461.png b/docs/assets/town-f8c0c9cc-balabala-1786807848259.png similarity index 100% rename from docs/assets/town-f8c0c9cc-balabala-1786725044461.png rename to docs/assets/town-f8c0c9cc-balabala-1786807848259.png diff --git a/docs/assets/yakApi-0d53b9e4-1786807848259.js b/docs/assets/yakApi-0d53b9e4-1786807848259.js new file mode 100644 index 0000000..50328fe --- /dev/null +++ b/docs/assets/yakApi-0d53b9e4-1786807848259.js @@ -0,0 +1,458 @@ +var ln=Object.defineProperty,cn=Object.defineProperties;var un=Object.getOwnPropertyDescriptors;var mt=Object.getOwnPropertySymbols;var hn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable;var We=(t,e)=>{if(e=Symbol[t])return e;throw Error("Symbol."+t+" is not defined")};var Fe=(t,e,n)=>e in t?ln(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,he=(t,e)=>{for(var n in e||(e={}))hn.call(e,n)&&Fe(t,n,e[n]);if(mt)for(var n of mt(e))fn.call(e,n)&&Fe(t,n,e[n]);return t},fe=(t,e)=>cn(t,un(e));var A=(t,e,n)=>(Fe(t,typeof e!="symbol"?e+"":e,n),n);var He=(t,e,n)=>new Promise((i,s)=>{var r=h=>{try{o(n.next(h))}catch(d){s(d)}},c=h=>{try{o(n.throw(h))}catch(d){s(d)}},o=h=>h.done?i(h.value):Promise.resolve(h.value).then(r,c);o((n=n.apply(t,e)).next())}),dn=function(t,e){this[0]=t,this[1]=e};var vt=t=>{var e=t[We("asyncIterator")],n=!1,i,s={};return e==null?(e=t[We("iterator")](),i=r=>s[r]=c=>e[r](c)):(e=e.call(t),i=r=>s[r]=c=>{if(n){if(n=!1,r==="throw")throw c;return c}return n=!0,{done:!1,value:new dn(new Promise(o=>{var h=e[r](c);if(!(h instanceof Object))throw TypeError("Object expected");o(h)}),1)}}),s[We("iterator")]=()=>s,i("next"),"throw"in e?i("throw"):s.throw=r=>{throw r},"return"in e&&i("return"),s};import{X as pn,Y as mn,S as vn,Z as gn,_ as wn,$ as yn,a0 as Ye,a1 as Sn,a2 as En,b as oe,C as Ke,V as k,a3 as xn,G as ye,a as Se,D as An,a4 as Mn,z as st,w as Be,m as kt,a5 as Wt,a6 as G,J as rt,y as Ft,O as ot,a7 as at,a8 as Pn,P as Cn,A as bn,t as Ln,a9 as On,aa as lt,ab as zn,I as gt,ac as Qe,ad as de,ae as Dn,af as Ht,ag as Te,ah as Re,ai as Yt,aj as Bn,ak as Ge,al as Tn,am as Rn,L as _n,x as Un,T as In,E as Nn,an as jn}from"./screen2Standard-03f7f908-1786807848259.js";import{E as ct,q as Vt}from"./TopicSwitcher-c91bad20-1786807848259.js";import{k as Gn,a8 as kn}from"./index-1786807848259.js";function Wn(t){let e=null,n=!1,i=!1;function s(){!n||i||(t(),e=requestAnimationFrame(s))}function r(){n||(n=!0,s())}function c(){n&&(n=!1,i=!0,cancelAnimationFrame(e))}function o(){!n&&i&&(n=!0,i=!1,s())}return{start:r,pause:c,resume:o,isActive:()=>n}}class Fn extends ct{constructor({canvas:e,config:n={}}){super(),this.canvas=e,this.config=n||{},this.maxPixelRatio=Number(this.config.maxPixelRatio)||2,this.handleResize=()=>{this.init(),this.emit("resize")},this.init(),window.addEventListener("resize",this.handleResize)}init(){var i;const e=((i=this.canvas)==null?void 0:i.parentNode)||this.canvas||document.documentElement;this.width=e.offsetWidth||window.innerWidth||1,this.height=e.offsetHeight||window.innerHeight||1;const n=Number(this.config.maxPixelRatio)||this.maxPixelRatio||2;this.maxPixelRatio=n,this.pixelRatio=Math.min(window.devicePixelRatio||1,n)}destroy(){window.removeEventListener("resize",this.handleResize),this.off("resize")}}class Hn extends ct{constructor(){super(),this.start=Date.now(),this.current=this.start,this.elapsed=0,this.delta=16,this.clock=new pn,this.raf=Wn(()=>this.tick()),this.raf.start()}tick(){const e=Date.now();this.delta=e-this.current,this.current=e,this.elapsed=this.current-this.start;const n=this.clock.getDelta(),i=this.clock.getElapsedTime();this.emit("tick",n,i)}destroy(){this.pause(),this.off("tick")}pause(){this.raf.pause()}resume(){this.raf.resume()}isActive(){this.raf.isActive()}}function Yn(t=10,e=62){var n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[],s;if(e=e||n.length,t)for(s=0;sVn(typeof t=="string"?JSON.parse(t):t);function Vn(t){var n,i,s,r;let e=(t==null?void 0:t.features)||[];for(let c=0;c{this.canvas.style.cursor="grabbing"},this.handlePointerUp=()=>{this.canvas.style.cursor="grab"},this.canvas.style.cursor="grab",this.canvas.style.touchAction="none",this.canvas.addEventListener("pointerdown",this.handlePointerDown),window.addEventListener("pointerup",this.handlePointerUp),this.canvas.addEventListener("pointerleave",this.handlePointerUp))}resize(){let e=this.sizes.width/this.sizes.height;if(this.options.isOrthographic){let n=120;this.instance.left=-n*e,this.instance.right=n*e,this.instance.top=n,this.instance.bottom=-n}else this.instance.aspect=e;this.instance.updateProjectionMatrix()}update(){this.controls.update()}destroy(){var e,n,i,s;(n=(e=this.canvas)==null?void 0:e.removeEventListener)==null||n.call(e,"pointerdown",this.handlePointerDown),(s=(i=this.canvas)==null?void 0:i.removeEventListener)==null||s.call(i,"pointerleave",this.handlePointerUp),window.removeEventListener("pointerup",this.handlePointerUp),this.controls.dispose()}}class Xn{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const n=this._partials;let i=0;for(let s=0;s0){for(c=e[--n];n>0&&(i=c,s=e[--n],c=i+s,r=s-(c-i),!r););n>0&&(r<0&&e[n-1]<0||r>0&&e[n-1]>0)&&(s=r*2,i=c+s,s==i-c&&(c=i))}return c}}function*Kn(t){for(const e of t)yield*vt(e)}function Jt(t){return Array.from(Kn(t))}var B=1e-6,Qn=1e-12,b=Math.PI,q=b/2,wt=b/4,Z=b*2,Q=180/b,N=b/180,R=Math.abs,qt=Math.atan,Ee=Math.atan2,U=Math.cos,$n=Math.exp,Zn=Math.log,I=Math.sin,ei=Math.sign||function(t){return t>0?1:t<0?-1:0},ke=Math.sqrt,ti=Math.tan;function ni(t){return t>1?0:t<-1?b:Math.acos(t)}function xe(t){return t>1?q:t<-1?-q:Math.asin(t)}function ge(){}function Ue(t,e){t&&St.hasOwnProperty(t.type)&&St[t.type](t,e)}var yt={Feature:function(t,e){Ue(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,s=n.length;++ib&&(t-=Math.round(t/Z)*Z),[t,e]}nt.invert=nt;function Xt(t,e,n){return(t%=Z)?e||n?tt(At(t),Mt(e,n)):At(t):e||n?Mt(e,n):nt}function xt(t){return function(e,n){return e+=t,R(e)>b&&(e-=Math.round(e/Z)*Z),[e,n]}}function At(t){var e=xt(t);return e.invert=xt(-t),e}function Mt(t,e){var n=U(t),i=I(t),s=U(e),r=I(e);function c(o,h){var d=U(h),a=U(o)*d,l=I(o)*d,u=I(h),p=u*n+a*i;return[Ee(l*s-p*r,a*n-u*i),xe(p*s+l*r)]}return c.invert=function(o,h){var d=U(h),a=U(o)*d,l=I(o)*d,u=I(h),p=u*s-l*r;return[Ee(l*s+u*r,a*n+p*i),xe(p*n-a*i)]},c}function si(t){t=Xt(t[0]*N,t[1]*N,t.length>2?t[2]*N:0);function e(n){return n=t(n[0]*N,n[1]*N),n[0]*=Q,n[1]*=Q,n}return e.invert=function(n){return n=t.invert(n[0]*N,n[1]*N),n[0]*=Q,n[1]*=Q,n},e}function ri(t,e,n,i,s,r){if(n){var c=U(e),o=I(e),h=i*n;s==null?(s=e+i*Z,r=e-h/2):(s=Pt(c,s),r=Pt(c,r),(i>0?sr)&&(s+=i*Z));for(var d,a=s;i>0?a>r:a1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function _e(t,e){return R(t[0]-e[0])=0;--o)s.point((l=a[o])[0],l[1]);else i(u.x,u.p.x,-1,s);u=u.p}u=u.o,a=u.z,p=!p}while(!u.v);s.lineEnd()}}}function Ct(t){if(e=t.length){for(var e,n=0,i=t[0],s;++n=0?1:-1,T=z*O,M=T>b,Y=f*P;if(h.add(Ee(Y*z*I(T),E*L+Y*U(T))),c+=M?O+z*Z:O,M^m>=n^w>=n){var _=Ie(pe(p),pe(y));et(_);var D=Ie(r,_);et(D);var v=(M^O>=0?-1:1)*xe(D[2]);(i>v||i===v&&(_[0]||_[1]))&&(o+=M^O>=0?1:-1)}}return(c<-B||c0){for(h||(s.polygonStart(),h=!0),s.lineStart(),P=0;P1&&w&2&&x.push(x.pop().concat(x.shift())),a.push(x.filter(ai))}}return u}}function ai(t){return t.length>1}function li(t,e){return((t=t.x)[0]<0?t[1]-q-B:q-t[1])-((e=e.x)[0]<0?e[1]-q-B:q-e[1])}const bt=$t(function(){return!0},ci,hi,[-b,-q]);function ci(t){var e=NaN,n=NaN,i=NaN,s;return{lineStart:function(){t.lineStart(),s=1},point:function(r,c){var o=r>0?b:-b,h=R(r-e);R(h-b)0?q:-q),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(o,n),t.point(r,n),s=0):i!==o&&h>=b&&(R(e-i)B?qt((I(e)*(r=U(i))*I(n)-I(i)*(s=U(e))*I(t))/(s*r*c)):(e+i)/2}function hi(t,e,n,i){var s;if(t==null)s=n*q,i.point(-b,s),i.point(0,s),i.point(b,s),i.point(b,0),i.point(b,-s),i.point(0,-s),i.point(-b,-s),i.point(-b,0),i.point(-b,s);else if(R(t[0]-e[0])>B){var r=t[0]0,s=R(e)>B;function r(a,l,u,p){ri(p,t,n,u,a,l)}function c(a,l){return U(a)*U(l)>e}function o(a){var l,u,p,m,g;return{lineStart:function(){m=p=!1,g=1},point:function(f,E){var S=[f,E],y,w=c(f,E),x=i?w?0:d(f,E):w?d(f+(f<0?b:-b),E):0;if(!l&&(m=p=w)&&a.lineStart(),w!==p&&(y=h(l,S),(!y||_e(l,y)||_e(S,y))&&(S[2]=1)),w!==p)g=0,w?(a.lineStart(),y=h(S,l),a.point(y[0],y[1])):(y=h(l,S),a.point(y[0],y[1],2),a.lineEnd()),l=y;else if(s&&l&&i^w){var P;!(x&u)&&(P=h(S,l,!0))&&(g=0,i?(a.lineStart(),a.point(P[0][0],P[0][1]),a.point(P[1][0],P[1][1]),a.lineEnd()):(a.point(P[1][0],P[1][1]),a.lineEnd(),a.lineStart(),a.point(P[0][0],P[0][1],3)))}w&&(!l||!_e(l,S))&&a.point(S[0],S[1]),l=S,p=w,u=x},lineEnd:function(){p&&a.lineEnd(),l=null},clean:function(){return g|(m&&p)<<1}}}function h(a,l,u){var p=pe(a),m=pe(l),g=[1,0,0],f=Ie(p,m),E=Pe(f,f),S=f[0],y=E-S*S;if(!y)return!u&&a;var w=e*E/y,x=-e*S/y,P=Ie(g,f),L=Ce(g,w),O=Ce(f,x);Ve(L,O);var z=P,T=Pe(L,z),M=Pe(z,z),Y=T*T-M*(Pe(L,L)-1);if(!(Y<0)){var _=ke(Y),D=Ce(z,(-T-_)/M);if(Ve(D,L),D=Ze(D),!u)return D;var v=a[0],C=l[0],j=a[1],V=l[1],$;C0^D[1]<(R(D[0]-v)b^(v<=D[0]&&D[0]<=C)){var re=Ce(z,(-T+_)/M);return Ve(re,L),[D,Ze(re)]}}}function d(a,l){var u=i?t:b-t,p=0;return a<-u?p|=1:a>u&&(p|=2),l<-u?p|=4:l>u&&(p|=8),p}return $t(c,o,r,i?[0,-t]:[-b,t-b])}function di(t,e,n,i,s,r){var c=t[0],o=t[1],h=e[0],d=e[1],a=0,l=1,u=h-c,p=d-o,m;if(m=n-c,!(!u&&m>0)){if(m/=u,u<0){if(m0){if(m>l)return;m>a&&(a=m)}if(m=s-c,!(!u&&m<0)){if(m/=u,u<0){if(m>l)return;m>a&&(a=m)}else if(u>0){if(m0)){if(m/=p,p<0){if(m0){if(m>l)return;m>a&&(a=m)}if(m=r-o,!(!p&&m<0)){if(m/=p,p<0){if(m>l)return;m>a&&(a=m)}else if(p>0){if(m0&&(t[0]=c+a*u,t[1]=o+a*p),l<1&&(e[0]=c+l*u,e[1]=o+l*p),!0}}}}}var we=1e9,Le=-we;function pi(t,e,n,i){function s(d,a){return t<=d&&d<=n&&e<=a&&a<=i}function r(d,a,l,u){var p=0,m=0;if(d==null||(p=c(d,l))!==(m=c(a,l))||h(d,a)<0^l>0)do u.point(p===0||p===3?t:n,p>1?i:e);while((p=(p+l+4)%4)!==m);else u.point(a[0],a[1])}function c(d,a){return R(d[0]-t)0?0:3:R(d[0]-n)0?2:1:R(d[1]-e)0?1:0:a>0?3:2}function o(d,a){return h(d.x,a.x)}function h(d,a){var l=c(d,1),u=c(a,1);return l!==u?l-u:l===0?a[1]-d[1]:l===1?d[0]-a[0]:l===2?d[1]-a[1]:a[0]-d[0]}return function(d){var a=d,l=Kt(),u,p,m,g,f,E,S,y,w,x,P,L={point:O,lineStart:Y,lineEnd:_,polygonStart:T,polygonEnd:M};function O(v,C){s(v,C)&&a.point(v,C)}function z(){for(var v=0,C=0,j=p.length;Ci&&(Me-ae)*(i-re)>(ue-re)*(t-ae)&&++v:ue<=i&&(Me-ae)*(i-re)<(ue-re)*(t-ae)&&--v;return v}function T(){a=l,u=[],p=[],P=!0}function M(){var v=z(),C=P&&v,j=(u=Jt(u)).length;(C||j)&&(d.polygonStart(),C&&(d.lineStart(),r(null,null,1,d),d.lineEnd()),j&&Qt(u,o,v,r,d),d.polygonEnd()),a=d,u=p=m=null}function Y(){L.point=D,p&&p.push(m=[]),x=!0,w=!1,S=y=NaN}function _(){u&&(D(g,f),E&&w&&l.rejoin(),u.push(l.result())),L.point=O,w&&a.lineEnd()}function D(v,C){var j=s(v,C);if(p&&m.push([v,C]),x)g=v,f=C,E=j,x=!1,j&&(a.lineStart(),a.point(v,C));else if(j&&w)a.point(v,C);else{var V=[S=Math.max(Le,Math.min(we,S)),y=Math.max(Le,Math.min(we,y))],$=[v=Math.max(Le,Math.min(we,v)),C=Math.max(Le,Math.min(we,C))];di(V,$,t,e,n,i)?(w||(a.lineStart(),a.point(V[0],V[1])),a.point($[0],$[1]),j||a.lineEnd(),P=!1):j&&(a.lineStart(),a.point(v,C),P=!1)}S=v,y=C,w=j}return L}}const Lt=t=>t;var me=1/0,Ne=me,Ae=-me,je=Ae,mi={point:vi,lineStart:ge,lineEnd:ge,polygonStart:ge,polygonEnd:ge,result:function(){var t=[[me,Ne],[Ae,je]];return Ae=je=-(Ne=me=1/0),t}};function vi(t,e){tAe&&(Ae=t),eje&&(je=e)}const Ot=mi;function ht(t){return function(e){var n=new it;for(var i in t)n[i]=t[i];return n.stream=e,n}}function it(){}it.prototype={constructor:it,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function ft(t,e,n){var i=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),i!=null&&t.clipExtent(null),ii(n,t.stream(Ot)),e(Ot.result()),i!=null&&t.clipExtent(i),t}function Zt(t,e,n){return ft(t,function(i){var s=e[1][0]-e[0][0],r=e[1][1]-e[0][1],c=Math.min(s/(i[1][0]-i[0][0]),r/(i[1][1]-i[0][1])),o=+e[0][0]+(s-c*(i[1][0]+i[0][0]))/2,h=+e[0][1]+(r-c*(i[1][1]+i[0][1]))/2;t.scale(150*c).translate([o,h])},n)}function gi(t,e,n){return Zt(t,[[0,0],e],n)}function wi(t,e,n){return ft(t,function(i){var s=+e,r=s/(i[1][0]-i[0][0]),c=(s-r*(i[1][0]+i[0][0]))/2,o=-r*i[0][1];t.scale(150*r).translate([c,o])},n)}function yi(t,e,n){return ft(t,function(i){var s=+e,r=s/(i[1][1]-i[0][1]),c=-r*i[0][0],o=(s-r*(i[1][1]+i[0][1]))/2;t.scale(150*r).translate([c,o])},n)}var zt=16,Si=U(30*N);function Dt(t,e){return+e?xi(t,e):Ei(t)}function Ei(t){return ht({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function xi(t,e){function n(i,s,r,c,o,h,d,a,l,u,p,m,g,f){var E=d-i,S=a-s,y=E*E+S*S;if(y>4*e&&g--){var w=c+u,x=o+p,P=h+m,L=ke(w*w+x*x+P*P),O=xe(P/=L),z=R(R(P)-1)e||R((E*_+S*D)/y-.5)>.3||c*u+o*p+h*m2?v[2]%360*N:0,_()):[o*Q,h*Q,d*Q]},M.angle=function(v){return arguments.length?(l=v%360*N,_()):l*Q},M.reflectX=function(v){return arguments.length?(u=v?-1:1,_()):u<0},M.reflectY=function(v){return arguments.length?(p=v?-1:1,_()):p<0},M.precision=function(v){return arguments.length?(P=Dt(L,x=v*v),D()):ke(x)},M.fitExtent=function(v,C){return Zt(M,v,C)},M.fitSize=function(v,C){return gi(M,v,C)},M.fitWidth=function(v,C){return wi(M,v,C)},M.fitHeight=function(v,C){return yi(M,v,C)};function _(){var v=Bt(n,0,0,u,p,l).apply(null,e(r,c)),C=Bt(n,i-v[0],s-v[1],u,p,l);return a=Xt(o,h,d),L=tt(e,C),O=tt(a,L),P=Dt(L,x),D()}function D(){return z=T=null,M}return function(){return e=t.apply(this,arguments),M.invert=e.invert&&Y,_()}}function dt(t,e){return[t,Zn(ti((q+e)/2))]}dt.invert=function(t,e){return[t,2*qt($n(e))-q]};function pt(){return Li(dt).scale(961/Z)}function Li(t){var e=Ci(t),n=e.center,i=e.scale,s=e.translate,r=e.clipExtent,c=null,o,h,d;e.scale=function(l){return arguments.length?(i(l),a()):i()},e.translate=function(l){return arguments.length?(s(l),a()):s()},e.center=function(l){return arguments.length?(n(l),a()):n()},e.clipExtent=function(l){return arguments.length?(l==null?c=o=h=d=null:(c=+l[0][0],o=+l[0][1],h=+l[1][0],d=+l[1][1]),a()):c==null?null:[[c,o],[h,d]]};function a(){var l=b*i(),u=e(si(e.rotate()).invert([0,0]));return r(c==null?[[u[0]-l,u[1]-l],[u[0]+l,u[1]+l]]:t===dt?[[Math.max(u[0]-l,c),o],[Math.min(u[0]+l,h),d]]:[[c,Math.max(u[1]-l,o)],[h,Math.min(u[1]+l,d)]])}return a()}class Ki extends ct{constructor(e,n={}){var s,r;super();let i={isOrthographic:!1};this.config=Object.assign({},i,n),this.canvas=e,this.scene=new Sn,this.sizes=new Fn(this),this.time=new Hn(this),this.camera=new qn(this,{isOrthographic:this.config.isOrthographic}),this.renderer=new Jn(this),this.handleControlsChange=()=>{var c,o,h;this.renderer.update(),(o=(c=this.label3d)==null?void 0:c.update)==null||o.call(c),(h=this.updateTownLabelScale)==null||h.call(this)},(r=(s=this.camera.controls)==null?void 0:s.addEventListener)==null||r.call(s,"change",this.handleControlsChange),this.sizes.on("resize",()=>{this.resize()}),this.time.on("tick",c=>{this.update(c)})}setAxesHelper(e=250){if(!e)return!1;let n=new En(e);this.scene.add(n)}resize(){this.camera.resize(),this.renderer.resize()}update(e){this.camera.update(e),this.renderer.update(e)}destroy(){var e,n,i,s;(n=(e=this.camera.controls)==null?void 0:e.removeEventListener)==null||n.call(e,"change",this.handleControlsChange),this.sizes.destroy(),this.time.destroy(),this.camera.destroy(),this.renderer.destroy(),this.scene.traverse(r=>{if(r instanceof oe){r.geometry.dispose();for(const c in r.material){const o=r.material[c];o&&typeof o.dispose=="function"&&o.dispose()}}}),(s=(i=this.canvas)==null?void 0:i.parentNode)==null||s.removeChild(this.canvas)}}class Qi{constructor({material:e,time:n,size:i,diffuseColor:s,diffuseSpeed:r,diffuseWidth:c,callback:o=()=>{}}){this.time=n,this.pointShader=null,this.callback=o;let h={size:100,diffuseSpeed:15,diffuseColor:9345950,diffuseWidth:10};this.options=Object.assign({},h,{material:e,size:i,diffuseColor:s,diffuseSpeed:r,diffuseWidth:c}),this.init()}init(){let{material:e,size:n,diffuseColor:i,diffuseSpeed:s,diffuseWidth:r}=this.options,c=n/s;e.onBeforeCompile=o=>{this.pointShader=o,this.callback(o,c),o.uniforms=fe(he({},o.uniforms),{uTime:{value:0},uSpeed:{value:s},uWidth:{value:r},uColor:{value:new Ke(i)}}),o.vertexShader=o.vertexShader.replace("void main() {",` + varying vec3 vPosition; + void main(){ + vPosition = position; + `),o.fragmentShader=o.fragmentShader.replace("void main() {",` + uniform float uTime; + uniform float uSpeed; + uniform float uWidth; + uniform vec3 uColor; + varying vec3 vPosition; + void main(){ + `),o.fragmentShader=o.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + + #ifdef USE_TRANSMISSION + diffuseColor.a *= material.transmissionAlpha; + #endif + + float r = uTime * uSpeed; + + float w = uWidth; + // if(w>uWidth){ + // w = uWidth; + // }else{ + // w = uTime * 1.5; + // } + + vec2 center = vec2(0.0, 0.0); + + float rDistance = distance(vPosition.xy, center); + + if(rDistance > r && rDistance < r + 2.0 * w) { + float per = 0.0; + if(rDistance < r + w) { + float p = smoothstep(0.0,1.0,(rDistance - r) / w); + p*=p; + outgoingLight = mix(outgoingLight, uColor, p); + } else { + + float p = smoothstep(0.0,1.0,(rDistance - r - w) / w); + + outgoingLight = mix(uColor, outgoingLight, p); + } + gl_FragColor = vec4(outgoingLight, diffuseColor.a); + } else { + gl_FragColor = vec4(outgoingLight, 0.0); + } + `)}}}class $i{constructor({scene:e,time:n},i){this.scene=e,this.time=n,this.instance=null;let s={position:new k(0,0,0),gridSize:100,gridDivision:20,gridColor:2635578,shapeSize:1,shapeColor:9345950,pointSize:.2,pointColor:2635578,pointLayout:{row:200,col:200},pointBlending:xn};this.options=Object.assign({},s,i),this.init()}init(){let e=new ye;e.name="Grid";let n=this.createGridHelp(),i=this.createShapes(),s=this.createPoint();e.add(n,i,s),e.position.copy(this.options.position),this.instance=e,this.scene.add(e)}createShapes(){let{gridSize:e,gridDivision:n,shapeSize:i,shapeColor:s}=this.options,r=e/n,c=e/2,o=new Se({color:s,side:An}),h=[];for(let l=0;l{this.update()}),this.sizes.on("resize",()=>{this.resize()})}create(e="",n="",i=!1){let s=document.createElement("div");s.innerHTML=e,s.className=n,s.style.visibility="hidden",s.style.position="absolute",n||(s.style.padding="10px",s.style.color="#fff",s.style.fontSize="12px",s.style.textAlign="center",s.style.background="rgba(0,0,0,0.6)",s.style.borderRadius="4px");let r=null;return i?r=new zi(s):r=new en(s),r.init=(c,o)=>{r.element.innerHTML=c,r.element.style.visibility="visible",r.position.copy(o)},r.hide=()=>{r.element.style.visibility="hidden"},r.scaleHide=()=>{r.element.classList.add("scale-hidden")},r.show=()=>{r.element.style.visibility="visible",r.element.classList.remove("scale-hidden")},r.setParent=c=>{this.parent=c,c.add(r)},r.remove=()=>{this.parent.remove(r)},r}setLabelStyle(e,n=.1,i="x",s=Math.PI/2,r="none"){e.element.style.pointerEvents=r,e.scale.set(n,n,n),e.rotation[i]=s}setRenderLevel(e){this.css3dRender.domElement.style.zIndex=e}update(){this.css3dRender.render(this.scene,this.camera.instance)}destroy(){if(this.css3dRender){let e=this.css3dRender.domElement;e.parentNode.removeChild(e)}}resize(){let{width:e,height:n}=this.sizes;this.css3dRender.setSize(e,n)}}class es{constructor({time:e},n){this.time=e,this.options=Object.assign({},{width:10,scale:1,position:new k(0,0,0),needRotate:!1,rotateSpeed:.001,material:new Se({transparent:!0,opacity:1,depthTest:!0})},n);let i=new Cn(this.options.width,this.options.width),s=new oe(i,this.options.material);s.position.copy(this.options.position),s.scale.set(this.options.scale,this.options.scale,this.options.scale),this.instance=s}setParent(e){e.add(this.instance),this.time.on("tick",()=>{this.update()})}update(){this.options.needRotate&&(this.instance.rotation.z+=this.options.rotateSpeed)}}class tn{constructor({time:e},n={}){this.instance=null,this.time=e,this.enable=!0,this.config=Object.assign({num:100,range:500,speed:.01,renderOrder:99,dir:"up",material:new kt({map:tn.createTexture(),size:20,color:16777215,transparent:!0,opacity:1,depthTest:!1,vertexColors:!0,blending:bn,sizeAttenuation:!0})},n),this.create()}create(){const{range:e,speed:n,dir:i,material:s,num:r,renderOrder:c}=this.config,o=[],h=[],d=[];for(let l=0;li/2&&c===1&&(u=-i/2),u<-i/2&&c==-1&&(u=i/2),o.setX(a,l),o.setZ(a,u),h.setX(a,p),h.setY(a,m)}o.needsUpdate=!0,h.needsUpdate=!0}setParent(e){e.add(this.instance),this.time.on("tick",(n,i)=>{this.enable&&this.update(n,i)})}}class ts{constructor({},e={}){this.mapGroup=new ye,this.coordinates=[],this.config=Object.assign({position:new k(0,0,0),geoProjectionCenter:new G(0,0),geoProjectionScale:120,data:"",renderOrder:1,merge:!1,material:new Se({color:1582651,transparent:!0,opacity:1})},e),this.mapGroup.position.copy(this.config.position);let n=ut(this.config.data);this.create(n)}geoProjection(e){return pt().center(this.config.geoProjectionCenter).scale(this.config.geoProjectionScale).translate([0,0])(e)}create(e){let{merge:n}=this.config,i=[];if(e.features.forEach(s=>{const r=new ot;let{name:c,center:o=[],centroid:h=[]}=s.properties;this.coordinates.push({name:c,center:o,centroid:h}),r.userData.name=c,s.geometry.coordinates.forEach(d=>{d.forEach(a=>{const l=new rt;for(let p=0;p{var d,a,l;const i=new ot;let{name:s,center:r=[],centroid:c=[]}=n.properties;this.coordinates.push({name:s,center:r,centroid:c});const o={depth:this.config.depth,bevelEnabled:(d=this.config.bevelEnabled)!=null?d:!0,bevelSegments:(a=this.config.bevelSegments)!=null?a:1,bevelThickness:(l=this.config.bevelThickness)!=null?l:.1};let h=[this.config.topFaceMaterial,this.config.sideMaterial];n.geometry.coordinates.forEach(u=>{u.forEach((p,m)=>{const g=new rt;for(let S=0;S + #include + #include + #include + #include + + uniform float linewidth; + uniform vec2 resolution; + + attribute vec3 instanceStart; + attribute vec3 instanceEnd; + + attribute vec3 instanceColorStart; + attribute vec3 instanceColorEnd; + + #ifdef WORLD_UNITS + + varying vec4 worldPos; + varying vec3 worldStart; + varying vec3 worldEnd; + + #ifdef USE_DASH + + varying vec2 vUv; + + #endif + + #else + + varying vec2 vUv; + + #endif + + #ifdef USE_DASH + + uniform float dashScale; + attribute float instanceDistanceStart; + attribute float instanceDistanceEnd; + varying float vLineDistance; + + #endif + + void trimSegment( const in vec4 start, inout vec4 end ) { + + // trim end segment so it terminates between the camera plane and the near plane + + // conservative estimate of the near plane + float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column + float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column + float nearEstimate = - 0.5 * b / a; + + float alpha = ( nearEstimate - start.z ) / ( end.z - start.z ); + + end.xyz = mix( start.xyz, end.xyz, alpha ); + + } + + void main() { + + #ifdef USE_COLOR + + vColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd; + + #endif + + #ifdef USE_DASH + + vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd; + vUv = uv; + + #endif + + float aspect = resolution.x / resolution.y; + + // camera space + vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 ); + vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 ); + + #ifdef WORLD_UNITS + + worldStart = start.xyz; + worldEnd = end.xyz; + + #else + + vUv = uv; + + #endif + + // special case for perspective projection, and segments that terminate either in, or behind, the camera plane + // clearly the gpu firmware has a way of addressing this issue when projecting into ndc space + // but we need to perform ndc-space calculations in the shader, so we must address this issue directly + // perhaps there is a more elegant solution -- WestLangley + + bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column + + if ( perspective ) { + + if ( start.z < 0.0 && end.z >= 0.0 ) { + + trimSegment( start, end ); + + } else if ( end.z < 0.0 && start.z >= 0.0 ) { + + trimSegment( end, start ); + + } + + } + + // clip space + vec4 clipStart = projectionMatrix * start; + vec4 clipEnd = projectionMatrix * end; + + // ndc space + vec3 ndcStart = clipStart.xyz / clipStart.w; + vec3 ndcEnd = clipEnd.xyz / clipEnd.w; + + // direction + vec2 dir = ndcEnd.xy - ndcStart.xy; + + // account for clip-space aspect ratio + dir.x *= aspect; + dir = normalize( dir ); + + #ifdef WORLD_UNITS + + vec3 worldDir = normalize( end.xyz - start.xyz ); + vec3 tmpFwd = normalize( mix( start.xyz, end.xyz, 0.5 ) ); + vec3 worldUp = normalize( cross( worldDir, tmpFwd ) ); + vec3 worldFwd = cross( worldDir, worldUp ); + worldPos = position.y < 0.5 ? start: end; + + // height offset + float hw = linewidth * 0.5; + worldPos.xyz += position.x < 0.0 ? hw * worldUp : - hw * worldUp; + + // don't extend the line if we're rendering dashes because we + // won't be rendering the endcaps + #ifndef USE_DASH + + // cap extension + worldPos.xyz += position.y < 0.5 ? - hw * worldDir : hw * worldDir; + + // add width to the box + worldPos.xyz += worldFwd * hw; + + // endcaps + if ( position.y > 1.0 || position.y < 0.0 ) { + + worldPos.xyz -= worldFwd * 2.0 * hw; + + } + + #endif + + // project the worldpos + vec4 clip = projectionMatrix * worldPos; + + // shift the depth of the projected points so the line + // segments overlap neatly + vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd; + clip.z = clipPose.z * clip.w; + + #else + + vec2 offset = vec2( dir.y, - dir.x ); + // undo aspect ratio adjustment + dir.x /= aspect; + offset.x /= aspect; + + // sign flip + if ( position.x < 0.0 ) offset *= - 1.0; + + // endcaps + if ( position.y < 0.0 ) { + + offset += - dir; + + } else if ( position.y > 1.0 ) { + + offset += dir; + + } + + // adjust for linewidth + offset *= linewidth; + + // adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ... + offset /= resolution.y; + + // select end + vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd; + + // back to clip space + offset *= clip.w; + + clip.xy += offset; + + #endif + + gl_Position = clip; + + vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation + + #include + #include + #include + + } + `,fragmentShader:` + uniform vec3 diffuse; + uniform float opacity; + uniform float linewidth; + + #ifdef USE_DASH + + uniform float dashOffset; + uniform float dashSize; + uniform float gapSize; + + #endif + + varying float vLineDistance; + + #ifdef WORLD_UNITS + + varying vec4 worldPos; + varying vec3 worldStart; + varying vec3 worldEnd; + + #ifdef USE_DASH + + varying vec2 vUv; + + #endif + + #else + + varying vec2 vUv; + + #endif + + #include + #include + #include + #include + #include + + vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) { + + float mua; + float mub; + + vec3 p13 = p1 - p3; + vec3 p43 = p4 - p3; + + vec3 p21 = p2 - p1; + + float d1343 = dot( p13, p43 ); + float d4321 = dot( p43, p21 ); + float d1321 = dot( p13, p21 ); + float d4343 = dot( p43, p43 ); + float d2121 = dot( p21, p21 ); + + float denom = d2121 * d4343 - d4321 * d4321; + + float numer = d1343 * d4321 - d1321 * d4343; + + mua = numer / denom; + mua = clamp( mua, 0.0, 1.0 ); + mub = ( d1343 + d4321 * ( mua ) ) / d4343; + mub = clamp( mub, 0.0, 1.0 ); + + return vec2( mua, mub ); + + } + + void main() { + + #include + + #ifdef USE_DASH + + if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps + + if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX + + #endif + + float alpha = opacity; + + #ifdef WORLD_UNITS + + // Find the closest points on the view ray and the line segment + vec3 rayEnd = normalize( worldPos.xyz ) * 1e5; + vec3 lineDir = worldEnd - worldStart; + vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd ); + + vec3 p1 = worldStart + lineDir * params.x; + vec3 p2 = rayEnd * params.y; + vec3 delta = p1 - p2; + float len = length( delta ); + float norm = len / linewidth; + + #ifndef USE_DASH + + #ifdef USE_ALPHA_TO_COVERAGE + + float dnorm = fwidth( norm ); + alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm ); + + #else + + if ( norm > 0.5 ) { + + discard; + + } + + #endif + + #endif + + #else + + #ifdef USE_ALPHA_TO_COVERAGE + + // artifacts appear on some hardware if a derivative is taken within a conditional + float a = vUv.x; + float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; + float len2 = a * a + b * b; + float dlen = fwidth( len2 ); + + if ( abs( vUv.y ) > 1.0 ) { + + alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 ); + + } + + #else + + if ( abs( vUv.y ) > 1.0 ) { + + float a = vUv.x; + float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; + float len2 = a * a + b * b; + + if ( len2 > 1.0 ) discard; + + } + + #endif + + #endif + + vec4 diffuseColor = vec4( diffuse, alpha ); + + #include + #include + + gl_FragColor = vec4( diffuseColor.rgb, alpha ); + + #include + #include + #include + #include + + } + `};class sn extends Bn{constructor(e){super({type:"LineMaterial",uniforms:Yt.clone(Re.line.uniforms),vertexShader:Re.line.vertexShader,fragmentShader:Re.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(e)}get color(){return this.uniforms.diffuse.value}set color(e){this.uniforms.diffuse.value=e}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(e){e===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(e){this.uniforms.linewidth&&(this.uniforms.linewidth.value=e)}get dashed(){return"USE_DASH"in this.defines}set dashed(e){e===!0!==this.dashed&&(this.needsUpdate=!0),e===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(e){this.uniforms.dashScale.value=e}get dashSize(){return this.uniforms.dashSize.value}set dashSize(e){this.uniforms.dashSize.value=e}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(e){this.uniforms.dashOffset.value=e}get gapSize(){return this.uniforms.gapSize.value}set gapSize(e){this.uniforms.gapSize.value=e}get opacity(){return this.uniforms.opacity.value}set opacity(e){this.uniforms&&(this.uniforms.opacity.value=e)}get resolution(){return this.uniforms.resolution.value}set resolution(e){this.uniforms.resolution.value.copy(e)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(e){this.defines&&(e===!0!==this.alphaToCoverage&&(this.needsUpdate=!0),e===!0?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1))}}const Ut=new k,It=new k,W=new Ge,F=new Ge,te=new Ge,qe=new k,Xe=new at,H=new Tn,Nt=new k,ze=new lt,De=new Ht,ne=new Ge;let ie,ce;function jt(t,e,n){return ne.set(0,0,-e,1).applyMatrix4(t.projectionMatrix),ne.multiplyScalar(1/ne.w),ne.x=ce/n.width,ne.y=ce/n.height,ne.applyMatrix4(t.projectionMatrixInverse),ne.multiplyScalar(1/ne.w),Math.abs(Math.max(ne.x,ne.y))}function Ti(t,e){const n=t.matrixWorld,i=t.geometry,s=i.attributes.instanceStart,r=i.attributes.instanceEnd,c=Math.min(i.instanceCount,s.count);for(let o=0,h=c;ol&&F.z>l)continue;if(W.z>l){const y=W.z-F.z,w=(W.z-l)/y;W.lerp(F,w)}else if(F.z>l){const y=F.z-W.z,w=(F.z-l)/y;F.lerp(W,w)}W.applyMatrix4(i),F.applyMatrix4(i),W.multiplyScalar(1/W.w),F.multiplyScalar(1/F.w),W.x*=r.x/2,W.y*=r.y/2,F.x*=r.x/2,F.y*=r.y/2,H.start.copy(W),H.start.z=0,H.end.copy(F),H.end.z=0;const g=H.closestPointToPointParameter(qe,!0);H.at(g,Nt);const f=Rn.lerp(W.z,F.z,g),E=f>=-1&&f<=1,S=qe.distanceTo(Nt){const a=[];let l=null;n==="Line2"?(d[0].forEach(u=>{const[p,m]=this.geoProjection(u);a.push(p,-m,0)}),l=this.createLine2(a)):n==="Line3"?(d[0].forEach(u=>{const[p,m]=this.geoProjection(u);a.push(new k(p,-m,0))}),l=this.createLine3(a)):d[0].forEach(u=>{const[p,m]=this.geoProjection(u);a.push(new k(p,-m,0)),l=this.createLine(a)}),h.add(l)}),r.add(h))}return r}createLine3(e){const n=this.config.tubeRadius,i=256*10,s=4,r=!1,{material:c,renderOrder:o}=this.config,h=new Un(e),d=new In(h,i,n,s,r),a=new oe(d,c);return a.name="mapLine3",a.renderOrder=o,a}createLine2(e){const{material:n,renderOrder:i}=this.config,s=new rn;s.setPositions(e);let r=new Ui(s,n);return r.name="mapLine2",r.renderOrder=i,r.computeLineDistances(),r}createLine(e){const{material:n,renderOrder:i,type:s}=this.config,r=new st;r.setFromPoints(e);let c=new Nn(r,n);return c.renderOrder=i,c.name="mapLine",c}setParent(e){e.add(this.lineGroup)}}class ss{constructor(e,n){this.shader=null,this.config=Object.assign({uColor1:2781042,uColor2:860197,size:15,dir:"x"},n),this.init(e)}init(e){let{uColor1:n,uColor2:i,dir:s,size:r}=this.config,c={x:1,y:2,z:3};e.onBeforeCompile=o=>{this.shader=o,o.uniforms=fe(he({},o.uniforms),{uColor1:{value:new Ke(n)},uColor2:{value:new Ke(i)},uDir:{value:c[s]},uSize:{value:r}}),o.vertexShader=o.vertexShader.replace("void main() {",` + attribute float alpha; + varying vec3 vPosition; + varying float vAlpha; + void main() { + vAlpha = alpha; + vPosition = position; + `),o.fragmentShader=o.fragmentShader.replace("void main() {",` + varying vec3 vPosition; + varying float vAlpha; + uniform vec3 uColor1; + uniform vec3 uColor2; + uniform float uDir; + uniform float uSize; + + void main() { + `),o.fragmentShader=o.fragmentShader.replace("#include ",` + #ifdef OPAQUE + diffuseColor.a = 1.0; + #endif + + // https://github.com/mrdoob/three.js/pull/22425 + #ifdef USE_TRANSMISSION + diffuseColor.a *= transmissionAlpha + 0.1; + #endif + // vec3 gradient = mix(uColor1, uColor2, vPosition.x / 15.0); + vec3 gradient = vec3(0.0,0.0,0.0); + if(uDir==1.0){ + gradient = mix(uColor1, uColor2, vPosition.x/ uSize); + }else if(uDir==2.0){ + gradient = mix(uColor1, uColor2, vPosition.z/ uSize); + }else if(uDir==3.0){ + gradient = mix(uColor1, uColor2, vPosition.y/ uSize); + } + outgoingLight = outgoingLight * gradient; + + + gl_FragColor = vec4( outgoingLight, diffuseColor.a ); + `)}}}const rs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAK+SURBVHgB7dzNbdswGIdxSugCRtGBuklWSO17nXs/J0hHywA11AEMu3wDsLFT5WCJ5PtI/D8nQ5cA/FmxJJLqtofhHBSmPihUAoElEFgCgfVu7ODX95suqOKNXVDpDIElEFgCgSUQWAKBJRBYAoE1G2Q3DJ/j9fRjUGE7DI+f4niEGc0CMYzzKezjx7vWUQwjnMJdF8djDsq8M+QYLu/om0VJGP8OXI/LTc0C+fJhs4/fiIeLQ82hvMaI/zEevsVxCROb/RvSMkpuDCvLVVaLKCUwrGyXvS2hlMKwst6HtIBSEsPKfmO4ZpTSGFaRO/U1otTAsIo9OlkTSi0Mq+izrDWg1MSwij9cXDJKbQyrytPeJaJ4YFjVHr8vCcULw6o6H7IEFE8Mq/oEFRnFG8NymTEkohAwLLcpXBIKBcNynVMnoJAwLPdFDp4oNAwLserEA4WIYXVjK7C9Vr+fY8Gh7e8/Lhha/f5GhDMjJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJRBYAoElEFgCgSUQWAKBJZDwvIIQs2kIA/K81tYvzKYhBMh/75vyCYHiDgLBSLmjuIK8xrBV6J1HoO11biCk/Rmk7XUuIMTNMhSU6iDUnUsWAaUqCBkj5Y1SDWQJGClPlCogS8JIeaEUB1kiRsoDpSjIkjFStVGKgawBI1UTpQjImjBStVCyg6wRI1UDJSvImjFSpVGygbSAkSqJkgWkJYxUKZTZIC1ipEqgzAJpGSOVG2UyiDBeyokyCWR3OOyFcd0Yyu4wfA83Ngnk2Pe/ziE82WdhvHSJYuNz7MPPcGOTQH5sNk+nPnyMf/xeGNcZSvyS3tv42DiFG0O94q+19Iq/BSQQWAKBJRBYAoElEFgCgSUQWKM3hsovnSGwBAJLILAEAusvLK6Na4P/Au0AAAAASUVORK5CYII=";var Gt=class{constructor(t,e){A(this,"target");A(this,"name");A(this,"intersected");A(this,"wasIntersected",!1);A(this,"wasIntersectedOnMouseDown",!1);A(this,"distance");this.target=t,this.name=e,this.intersected=!1,this.distance=0}},J=class{constructor(t,e=null){A(this,"type");A(this,"cancelBubble");A(this,"originalEvent");A(this,"coords",new G(0,0));A(this,"distance",0);A(this,"intersected",!1);A(this,"wasIntersected",!1);A(this,"wasIntersectedOnMouseDown",!1);this.cancelBubble=!1,this.type=t,this.originalEvent=e}stopPropagation(){this.cancelBubble=!0}},os=class{constructor(t,e,n,i){A(this,"renderer");A(this,"camera");A(this,"domElement");A(this,"bindEventsOnBodyElement");A(this,"autoAdd");A(this,"scene");A(this,"mouse");A(this,"supportsPointerEvents");A(this,"interactiveObjects");A(this,"closestObject");A(this,"raycaster");A(this,"treatTouchEventsAsMouseEvents");A(this,"dispose",()=>{this.domElement.removeEventListener("click",this.onMouseClick),this.supportsPointerEvents&&(this.bindEventsOnBodyElement?this.domElement.ownerDocument.removeEventListener("pointermove",this.onDocumentPointerMove):this.domElement.removeEventListener("pointermove",this.onDocumentPointerMove),this.domElement.removeEventListener("pointerdown",this.onPointerDown),this.domElement.removeEventListener("pointerup",this.onPointerUp)),this.bindEventsOnBodyElement?this.domElement.ownerDocument.removeEventListener("mousemove",this.onDocumentMouseMove):this.domElement.removeEventListener("mousemove",this.onDocumentMouseMove),this.domElement.removeEventListener("mousedown",this.onMouseDown),this.domElement.removeEventListener("mouseup",this.onMouseUp),this.domElement.removeEventListener("touchstart",this.onTouchStart),this.domElement.removeEventListener("touchmove",this.onTouchMove),this.domElement.removeEventListener("touchend",this.onTouchEnd)});A(this,"add",(t,e=[])=>{if(t&&!this.interactiveObjects.find(n=>n.target===t))if(e.length>0)e.forEach(n=>{let i=t.getObjectByName(n);if(i){let s=new Gt(i,n);this.interactiveObjects.push(s)}});else{let n=new Gt(t,t.name);this.interactiveObjects.push(n)}});A(this,"remove",(t,e=[])=>{!t||(e.length>0?e.forEach(n=>{let i=t.getObjectByName(n);i&&(this.interactiveObjects=this.interactiveObjects.filter(s=>s.target!==i))}):this.interactiveObjects=this.interactiveObjects.filter(n=>n.target!==t))});A(this,"update",()=>{var i;this.raycaster.setFromCamera(this.mouse,this.camera),this.interactiveObjects.forEach(s=>{s.target&&this.checkIntersection(s)}),this.interactiveObjects.sort(function(s,r){return s.distance-r.distance});let t=(i=this.interactiveObjects.find(s=>s.intersected))!=null?i:null;if(t!=this.closestObject){if(this.closestObject){let s=new J("mouseout");this.dispatch(this.closestObject,s)}if(t){let s=new J("mouseover");this.dispatch(t,s)}this.closestObject=t}let e;this.interactiveObjects.forEach(s=>{!s.intersected&&s.wasIntersected&&(e||(e=new J("mouseleave")),this.dispatch(s,e))});let n;this.interactiveObjects.forEach(s=>{s.intersected&&!s.wasIntersected&&(n||(n=new J("mouseenter")),this.dispatch(s,n))})});A(this,"checkIntersection",t=>{let e=this.raycaster.intersectObjects([t.target],!0);if(t.wasIntersected=t.intersected,e.length>0){let n=e[0].distance;e.forEach(i=>{i.distance{this.mapPositionToPoint(this.mouse,t.clientX,t.clientY);let e=new J("mousemove",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"onDocumentPointerMove",t=>{this.mapPositionToPoint(this.mouse,t.clientX,t.clientY);let e=new J("pointermove",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"onTouchMove",t=>{t.touches.length>0&&this.mapPositionToPoint(this.mouse,t.touches[0].clientX,t.touches[0].clientY);let e=new J(this.treatTouchEventsAsMouseEvents?"mousemove":"touchmove",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"onMouseClick",t=>{this.update();let e=new J("click",t);this.interactiveObjects.forEach(n=>{n.intersected&&this.dispatch(n,e)})});A(this,"onMouseDown",t=>{this.mapPositionToPoint(this.mouse,t.clientX,t.clientY),this.update();let e=new J("mousedown",t);this.interactiveObjects.forEach(n=>{n.intersected?(n.wasIntersectedOnMouseDown=!0,this.dispatch(n,e)):n.wasIntersectedOnMouseDown=!1})});A(this,"onPointerDown",t=>{this.mapPositionToPoint(this.mouse,t.clientX,t.clientY),this.update();let e=new J("pointerdown",t);this.interactiveObjects.forEach(n=>{n.intersected&&this.dispatch(n,e)})});A(this,"onTouchStart",t=>{t.touches.length>0&&this.mapPositionToPoint(this.mouse,t.touches[0].clientX,t.touches[0].clientY),this.update();let e=new J(this.treatTouchEventsAsMouseEvents?"mousedown":"touchstart",t);this.interactiveObjects.forEach(n=>{n.intersected&&this.dispatch(n,e)})});A(this,"onMouseUp",t=>{let e=new J("mouseup",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"onPointerUp",t=>{let e=new J("pointerup",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"onTouchEnd",t=>{t.touches.length>0&&this.mapPositionToPoint(this.mouse,t.touches[0].clientX,t.touches[0].clientY),this.update();let e=new J(this.treatTouchEventsAsMouseEvents?"mouseup":"touchend",t);this.interactiveObjects.forEach(n=>{this.dispatch(n,e)})});A(this,"dispatch",(t,e)=>{t.target&&!e.cancelBubble&&(e.coords=this.mouse,e.distance=t.distance,e.intersected=t.intersected,e.wasIntersected=t.wasIntersected,e.wasIntersectedOnMouseDown=t.wasIntersectedOnMouseDown,t.target.dispatchEvent(e))});A(this,"mapPositionToPoint",(t,e,n)=>{let i=this.renderer.domElement.getBoundingClientRect();t.x=(e-i.left)/i.width*2-1,t.y=-((n-i.top)/i.height)*2+1});this.renderer=t,this.camera=e,this.domElement=n,this.bindEventsOnBodyElement=i&&typeof i.bindEventsOnBodyElement<"u"?i.bindEventsOnBodyElement:!0,this.scene=i&&typeof i.scene<"u"?i.scene:null,this.scene&&(this.scene.onBeforeRender=()=>{this.autoAdd&&this.scene!==null&&this.scene.traverse(s=>{this.add(s),s.addEventListener("removed",r=>{this.remove(r.target)})}),this.update()}),this.autoAdd=i&&typeof i.autoAdd<"u"?i.autoAdd:!1,this.autoAdd&&this.scene===null&&console.error("Attention: Options.scene needs to be set when using options.autoAdd"),this.mouse=new G(-1,1),this.supportsPointerEvents=!!window.PointerEvent,this.interactiveObjects=[],this.closestObject=null,this.raycaster=new jn,n.addEventListener("click",this.onMouseClick),this.supportsPointerEvents&&(this.bindEventsOnBodyElement?n.ownerDocument.addEventListener("pointermove",this.onDocumentPointerMove):n.addEventListener("pointermove",this.onDocumentPointerMove),n.addEventListener("pointerdown",this.onPointerDown),n.addEventListener("pointerup",this.onPointerUp)),this.bindEventsOnBodyElement?n.ownerDocument.addEventListener("mousemove",this.onDocumentMouseMove):n.addEventListener("mousemove",this.onDocumentMouseMove),n.addEventListener("mousedown",this.onMouseDown),n.addEventListener("mouseup",this.onMouseUp),n.addEventListener("touchstart",this.onTouchStart,{passive:!0}),n.addEventListener("touchmove",this.onTouchMove,{passive:!0}),n.addEventListener("touchend",this.onTouchEnd,{passive:!0}),this.treatTouchEventsAsMouseEvents=!0}};const X={}.VITE_OPEN_API_BASE||"/openApi",Ii=new Date().getFullYear();function Ni(t,e){return/^https?:\/\//.test(e)?e:`${t}${e.startsWith("/")?e:`/${e}`}`}function ji(t){if((t==null?void 0:t.success)===!1&&(t==null?void 0:t.code)!==void 0&&![0,200,"0","200"].includes(t.code))throw new Error((t==null?void 0:t.msg)||(t==null?void 0:t.message)||"接口请求失败");return kn(t)}function K(t,e,n,i={}){return Gn(Ni(t,e),{params:n,timeout:i.timeout||18e3}).then(ji)}function Gi(){return K(X,"/screen2/yak-management/distribution").then(t=>on(t))}function ki(){return K(X,"/screen2/yak-management/structure").then(t=>on(t))}function as(){return K(X,"/screen2/yak-management/profile").then(t=>t||{})}function ls(t=Ii){return K(X,"/screen2/yak-trade/dashboard",typeof t=="object"?t:{year:t}).then(Wi)}function cs(){return K(X,"/screen2/yak-trade/options").then(t=>t||{})}function us(t={}){return K(X,"/screen2/yak-trade/ledger",t).then(Fi)}function hs(t={}){return K(X,"/screen2/yak-slaughter/dashboard",t).then(e=>e||{})}function fs(){return K(X,"/screen2/yak-slaughter/options").then(t=>t||{})}function ds(t={}){return K(X,"/screen2/yak-slaughter/ledger",t).then(e=>e||{})}function Wi(t={}){var r,c;const e=Array.isArray(t.metrics)?t.metrics:[],n=o=>{var h;return Number(((h=e.find(d=>d.key===o))==null?void 0:h.value)||0)},i=Array.isArray(t.certificateStructure)?t.certificateStructure:[],s=(o,h)=>{var d;return Number(((d=i.find(a=>a.key===o))==null?void 0:d[h])||0)};return fe(he({},t),{hasData:(c=(r=t.requestedHasData)!=null?r:t.hasData)!=null?c:!1,year:t.displayYear,metrics:{headCount:n("headCount"),totalHeads:n("headCount"),recordCount:n("recordCount"),totalRecords:n("recordCount"),vehicleCount:n("vehicleCount"),outProvinceHeads:s("A证","value"),outProvinceCount:s("A证","recordCount"),aCertHeads:s("A证","value"),aCertCount:s("A证","recordCount"),inProvinceHeads:s("B证","value"),inProvinceCount:s("B证","recordCount"),bCertHeads:s("B证","value"),bCertCount:s("B证","recordCount")},startTownCounts:t.townRanking||[],usageCounts:t.usageStructure||[],transportNumberCounts:t.vehicleRanking||[],destinationCounts:t.destinationRanking||[]})}function Fi(t={}){const e=Array.isArray(t.rows)?t.rows.map(n=>({certId:n.recordKey,factoryCode:n.recordKey,certType:n.certType,certScopeName:n.certType,ownerName:n.ownerDisplay,ownerPhone:"",transportNumber:n.vehicleDisplay,amount:n.amount,unitName:n.unit||"头",animalTypeName:"",usageTypeName:n.usageType,startTown:n.startTown,startRegionFullName:n.startTown,destProvince:n.destProvince,destRegionFullName:n.destProvince,quarantineOfficerName:"",issueTime:n.issueDate,statusName:n.status})):[];return fe(he({},t),{rows:e})}function ps(t={}){return K(X,"/screen2/yak-management/epidemic/analysis",t).then(e=>e||{})}function ms(t={}){return K(X,"/screen2/yak-management/epidemic/records",t).then(e=>e||{})}function vs(t={}){return K(X,"/screen2/yak-management/epidemic/stats",t).then(e=>e||{})}function gs(t={}){return K(X,"/screen2/yak-management/epidemic/village-stats",t).then(e=>e||{})}function ws(t){return K(X,"/screen2/yak-management/epidemic/detail",{earTag:t}).then(e=>e||null)}function ys(){return He(this,null,function*(){return(yield Gi()).map((e,n)=>({key:le(e,["areaCode","area_code","code","id"],`yak-town-${n}`),name:le(e,["areaName","area_name","zoneName","townName","name"],`区域${n+1}`),value:an(le(e,["number","yakCount","yak_count","count","value"])),unit:"头"})).filter(e=>e.name&&Number.isFinite(e.value)).sort((e,n)=>n.value-e.value)})}function Ss(){return He(this,null,function*(){const e=(yield ki()).map((n,i)=>{const s=le(n,["sex","gender"],""),r=Yi(s),c=le(n,["ageRange","age_range","age","name","type"],""),o=[r,c].filter(Boolean).join(" ")||`结构${i+1}`;return{key:le(n,["id","key"],`${o}-${i}`),name:o,value:an(le(n,["number","count","value"])),unit:"头"}}).filter(n=>n.name&&Number.isFinite(n.value));return Hi(e)})}function on(t){return Array.isArray(t)?t:Array.isArray(t==null?void 0:t.rows)?t.rows:Array.isArray(t==null?void 0:t.list)?t.list:Array.isArray(t==null?void 0:t.records)?t.records:Array.isArray(t==null?void 0:t.data)?t.data:[]}function Hi(t=[]){const e=new Map;return t.forEach(n=>{const i=e.get(n.name)||fe(he({},n),{value:0});i.value+=n.value,e.set(n.name,i)}),[...e.values()].sort((n,i)=>i.value-n.value)}function le(t,e,n=""){for(const i of e){const s=t==null?void 0:t[i];if(s!=null&&s!=="")return s}return n}function Yi(t){return["boy","male","公","公牛"].includes(t)?"公牛":["girl","female","母","母牛"].includes(t)?"母牛":t||""}function an(t){if(t==null||t==="")return NaN;const e=Number(String(t).replace(/,/g,"").replace(/%/g,""));return Number.isFinite(e)?e:NaN}export{ts as B,Qi as D,ns as E,ss as G,Zi as L,Ki as M,es as P,is as a,$i as b,tn as c,ds as d,as as e,ys as f,pt as g,os as h,Ss as i,cs as j,ls as k,rs as l,us as m,hs as n,fs as o,ps as p,ms as q,vs as r,gs as s,ws as t}; diff --git a/docs/assets/yield-66e9af79-balabala-1786725044461.png b/docs/assets/yield-66e9af79-balabala-1786807848259.png similarity index 100% rename from docs/assets/yield-66e9af79-balabala-1786725044461.png rename to docs/assets/yield-66e9af79-balabala-1786807848259.png diff --git a/docs/index.html b/docs/index.html index 2fea56a..056f435 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,8 +11,8 @@ window.CESIUM_BASE_URL = "./cdn/Cesium/"; - - + + diff --git a/src/layouts/AdminLayout.vue b/src/layouts/AdminLayout.vue index 6464da3..34d28e4 100644 --- a/src/layouts/AdminLayout.vue +++ b/src/layouts/AdminLayout.vue @@ -13,6 +13,10 @@ 用户管理 + + + 智慧管理配置 + @@ -76,6 +80,7 @@ import { LogoutOutlined, MenuFoldOutlined, MenuUnfoldOutlined, + RobotOutlined, TeamOutlined, } from "@ant-design/icons-vue" import { fetchAdminCurrent } from "@/services/admin" diff --git a/src/router/index.js b/src/router/index.js index d5c0970..706c307 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,6 +11,7 @@ const adminLayout = () => import("@/layouts/AdminLayout.vue") const adminUsers = () => import("@/views/admin/UserManagement.vue") const adminOperationLogs = () => import("@/views/admin/OperationLogs.vue") const adminLoginLogs = () => import("@/views/admin/LoginLogs.vue") +const adminSmartManagement = () => import("@/views/admin/SmartManagementSettings.vue") const adminForbidden = () => import("@/views/admin/AdminForbidden.vue") const router = createRouter({ history: createWebHashHistory(), @@ -69,6 +70,12 @@ const router = createRouter({ component: adminLoginLogs, meta: { title: "登录日志" }, }, + { + path: "smart-management", + name: "admin-smart-management", + component: adminSmartManagement, + meta: { title: "智慧管理配置" }, + }, ], }, diff --git a/src/services/admin.js b/src/services/admin.js index e6a37bb..cc42208 100644 --- a/src/services/admin.js +++ b/src/services/admin.js @@ -62,3 +62,26 @@ export function fetchOperationLogs(params) { export function fetchLoginLogs(params) { return adminRequest("/login-logs", { params }) } + +export function fetchSmartModelConfig() { + return adminRequest("/smart-management/model-config") +} + +export function updateSmartModelConfig(data) { + return adminRequest("/smart-management/model-config", jsonOptions("PUT", data)) +} + +export function testSmartModelConfig(data) { + return adminRequest("/smart-management/model-config/test", jsonOptions("POST", data)) +} + +export function fetchSmartContext() { + return adminRequest("/smart-management/context", { timeout: 30000 }) +} + +export function refreshSmartContext() { + return adminRequest("/smart-management/context/refresh", { + method: "POST", + timeout: 120000, + }) +} diff --git a/src/services/smartArtifactApi.js b/src/services/smartArtifactApi.js index cd51f7b..25b485d 100644 --- a/src/services/smartArtifactApi.js +++ b/src/services/smartArtifactApi.js @@ -1,11 +1,6 @@ import { normalizeResponseData, requestJson } from "./request" const OPEN_API_BASE = import.meta.env.VITE_OPEN_API_BASE || "/openApi" -const MAX_DATA_CHARS = 120000 -const MAX_ANSWER_CHARS = 8000 -const MAX_DATASETS = 12 -const MAX_DATASET_ROWS = 500 -const SENSITIVE_KEY = /(phone|mobile|tel|idcard|identity|certificate.?number|token|secret|password|credential|device.?key|access.?key|身份证|证件号|电话|手机号|密钥|口令)/i function joinBase(path) { if (/^https?:\/\//.test(path)) return path @@ -28,14 +23,9 @@ function unwrapResponse(response) { export async function generateSmartArtifact({ question, - answer = "", - charts = [], - datasets = [], - context = null, pagePath = window.location.hash || window.location.pathname, pageName = "智慧管理", } = {}) { - const dataJson = buildArtifactDataJson({ question, answer, charts, datasets, context }) const response = await requestJson(joinBase("/screen2/smart-management/artifact/html"), { method: "POST", headers: { @@ -45,7 +35,6 @@ export async function generateSmartArtifact({ question, pagePath, pageName, - dataJson, }), timeout: 110000, }).then(unwrapResponse) @@ -70,101 +59,6 @@ export async function generateSmartArtifact({ } } -function buildArtifactDataJson({ question, answer, charts, datasets, context }) { - const payload = { - question: String(question || "").trim(), - generatedAt: new Date().toISOString(), - presentation: { - format: "business-report", - requirements: [ - "输出应为业务报告页面,而不是原始数据表或字段清单。", - "不要直接展示 key、rawValue、areaCode、areaRange 等技术字段名。", - "页面需包含结论、关键指标、图表化对比、重点对象和工作建议。", - ], - }, - answer: String(answer || "").slice(0, MAX_ANSWER_CHARS), - context: sanitizeContext(context), - datasets: [ - ...normalizeChartDatasets(charts), - ...normalizeDatasets(datasets), - ], - } - const serialized = JSON.stringify(payload) - if (serialized.length > MAX_DATA_CHARS) { - const error = new Error("汇总数据超过120000字符,请先缩小查询范围") - error.code = "ARTIFACT_DATA_TOO_LARGE" - throw error - } - return serialized -} - -function sanitizeContext(context) { - if (!context || typeof context !== "object") return null - const { - question, - pageName, - pagePath, - scope, - intents, - notes, - warnings, - insights, - } = context - return sanitizeSerializableValue({ - question, - pageName, - pagePath, - scope, - intents, - notes, - warnings, - insights, - }) -} - -function normalizeChartDatasets(charts = []) { - return (Array.isArray(charts) ? charts : []).slice(0, 6).map((chart, index) => ({ - id: chart?.id || `chart-${index + 1}`, - title: chart?.title || `统计数据${index + 1}`, - suggestedView: chart?.type || "bar", - unit: chart?.unit || "", - subtitle: chart?.subtitle || "", - source: chart?.source || {}, - rows: normalizeRows(chart?.rows), - })) -} - -function normalizeDatasets(datasets = []) { - return (Array.isArray(datasets) ? datasets : []).slice(0, MAX_DATASETS).map((dataset, index) => ({ - id: dataset?.id || `dataset-${index + 1}`, - title: dataset?.title || dataset?.name || `汇总数据${index + 1}`, - suggestedView: dataset?.suggestedView || dataset?.type || "auto", - unit: dataset?.unit || "", - source: dataset?.source || {}, - rows: normalizeRows(dataset?.rows || dataset?.data || dataset), - })) -} - -function normalizeRows(rows) { - return (Array.isArray(rows) ? rows : []) - .slice(0, MAX_DATASET_ROWS) - .map((row) => sanitizeSerializableValue(row)) -} - -function sanitizeSerializableValue(value, depth = 0) { - if (depth > 4 || value === undefined || typeof value === "function") return null - if (value === null || ["string", "number", "boolean"].includes(typeof value)) return value - if (Array.isArray(value)) return value.slice(0, 50).map((item) => sanitizeSerializableValue(item, depth + 1)) - if (typeof value === "object") { - return Object.entries(value).reduce((result, [key, item]) => { - if (SENSITIVE_KEY.test(String(key))) return result - result[key] = sanitizeSerializableValue(item, depth + 1) - return result - }, {}) - } - return String(value) -} - function extractHtml(content) { let html = String(content || "").trim() if (html.startsWith("```")) { diff --git a/src/services/yakApi.js b/src/services/yakApi.js index 03cead5..6055552 100644 --- a/src/services/yakApi.js +++ b/src/services/yakApi.js @@ -57,6 +57,18 @@ export function getYakTradeRecords(params = {}) { return get(OPEN_API_BASE, "/screen2/yak-trade/ledger", params).then(adaptYakTradeLedger) } +export function getYakSlaughterDashboard(params = {}) { + return get(OPEN_API_BASE, "/screen2/yak-slaughter/dashboard", params).then((data) => data || {}) +} + +export function getYakSlaughterOptions() { + return get(OPEN_API_BASE, "/screen2/yak-slaughter/options").then((data) => data || {}) +} + +export function getYakSlaughterLedger(params = {}) { + return get(OPEN_API_BASE, "/screen2/yak-slaughter/ledger", params).then((data) => data || {}) +} + function adaptYakTradeDashboard(data = {}) { const metricRows = Array.isArray(data.metrics) ? data.metrics : [] const metricValue = (key) => Number(metricRows.find((item) => item.key === key)?.value || 0) diff --git a/src/views/admin/SmartManagementSettings.vue b/src/views/admin/SmartManagementSettings.vue new file mode 100644 index 0000000..efa184f --- /dev/null +++ b/src/views/admin/SmartManagementSettings.vue @@ -0,0 +1,357 @@ + + + + + diff --git a/src/views/ecologicalProtection/index.vue b/src/views/ecologicalProtection/index.vue index ac723d2..5cc05aa 100644 --- a/src/views/ecologicalProtection/index.vue +++ b/src/views/ecologicalProtection/index.vue @@ -7,6 +7,7 @@ :admin-boundary-line-scale="1.65" :auto-apply-layer-map-view="false" :max-zoom="21" + hide-town-label-stats :enable-imagery-feature-pick="false" :emit-empty-feature-info-on-miss="false" :enable-town-polygon-pick="false" diff --git a/src/views/forestGrassWet/map.js b/src/views/forestGrassWet/map.js index 50bf49e..77580a5 100644 --- a/src/views/forestGrassWet/map.js +++ b/src/views/forestGrassWet/map.js @@ -390,7 +390,7 @@ export class World extends Mini3d { onComplete: () => { this.mapAnimationComplete = true this.applyLayerMapView(this.currentTopicLayer, { force: true }) - this.setTradeNationalMapVisible(false) + this.setTradeNationalMapVisible(Boolean(this.currentTownRanking?.nationalFlow)) this.updateYakIndustryPointMarkers(this.currentTopicLayer, this.currentVectorFeatures) this.updateYakIndustryPointLabels(this.currentTopicLayer, this.currentVectorFeatures) if (shouldHideMapLabels(this.currentTownRanking)) { @@ -908,13 +908,15 @@ export class World extends Mini3d { this.tradeNationalLabelGroup.visible = false this.scene.add(this.tradeNationalLabelGroup) this.tradeNationalLabels = [] + this.tradeProvinceCenterByName = new Map() const visibleNames = new Set(["四川", "青海", "甘肃", "陕西", "重庆", "云南", "西藏", "新疆"]) ;(chinaMapData.features || []).forEach((feature) => { const name = feature.properties?.name || "" const displayName = this.normalizeTradeProvinceName(name) - if (!visibleNames.has(displayName)) return const center = this.getFeatureCenterLngLat(feature) if (!center) return + this.tradeProvinceCenterByName.set(displayName, center) + if (!visibleNames.has(displayName)) return const label = this.label3d.create("", "trade-national-label", true) label.init(`
    ${escapeHtml(displayName)}
    `, this.getTradeLocalPoint(center.lng, center.lat, 0.82)) this.label3d.setLabelStyle(label, 0.012, "x") @@ -926,6 +928,7 @@ export class World extends Mini3d { normalizeTradeProvinceName(name = "") { return String(name) .replace(/省|市|自治区|壮族|回族|维吾尔|特别行政区/g, "") + .replace(/区$/, "") .trim() } getFeatureCenterLngLat(feature) { @@ -1642,6 +1645,7 @@ export class World extends Mini3d { return } this.updateVillageRankingLabels(this.currentTownRanking) + this.setTradeNationalMapVisible(Boolean(this.currentTownRanking?.nationalFlow)) this.updateTradeFlowLayer(this.currentTownRanking) this.updateInfoPointStats() } @@ -3403,6 +3407,7 @@ export class World extends Mini3d { } getTradeFlowRows(ranking = this.currentTownRanking) { const meta = this.getTownRankingMeta(ranking) + const nationalFlow = Boolean(ranking?.nationalFlow) return (ranking?.rows || []) .map((row, index) => { const lng = toFiniteNumber(row.lng ?? row.longitude, NaN) @@ -3410,9 +3415,15 @@ export class World extends Mini3d { const value = toFiniteNumber(row.headCount ?? row.head_count ?? row.rawValue ?? row.value) const displayName = row.displayName || row.display_name || row.name const townName = row.mapTownName || row.map_town_name || row.town || row.startTown || row.start_town || displayName - const townMeta = this.townMetaByName.get(normalizeTownName(townName)) + const provinceName = row.destinationProvince || row.destination_province || row.provinceName || row.province_name || displayName + const townMeta = nationalFlow ? null : this.townMetaByName.get(normalizeTownName(townName)) + const provinceCenter = nationalFlow + ? this.tradeProvinceCenterByName?.get(this.normalizeTradeProvinceName(provinceName)) + : null const point = Number.isFinite(lng) && Number.isFinite(lat) ? { lng, lat } + : provinceCenter + ? { lng: provinceCenter.lng, lat: provinceCenter.lat } : townMeta?.center ? { lng: townMeta.center[0], lat: townMeta.center[1] } : null @@ -3423,9 +3434,12 @@ export class World extends Mini3d { key: row.key || `${townMeta?.name || displayName || townName || "trade-source"}-${index}`, name: displayName || townName || townMeta?.name || `来源${index + 1}`, townName: townMeta?.name || townName, + provinceName, lng: point.lng, lat: point.lat, - labelSide: row.labelSide || row.label_side || this.getTradeSourceLabelSide(townMeta, index), + labelSide: row.labelSide || row.label_side || (nationalFlow + ? this.getTradeNationalLabelSide(point, index) + : this.getTradeSourceLabelSide(townMeta, index)), value, headCount: value, recordCount: toFiniteNumber(row.recordCount ?? row.record_count, 0), @@ -3473,16 +3487,28 @@ export class World extends Mini3d { if (Number.isFinite(lat) && lat < this.geoProjectionCenter[1] - 0.26) return "bottom" return ["right", "left", "top", "bottom"][index % 4] } + getTradeNationalLabelSide(point, index = 0) { + if (Number(point?.lng) < this.tradeGeoProjectionCenter[0] - 8) return "left" + if (Number(point?.lng) > this.tradeGeoProjectionCenter[0] + 8) return "right" + if (Number(point?.lat) > this.tradeGeoProjectionCenter[1] + 6) return "top" + if (Number(point?.lat) < this.tradeGeoProjectionCenter[1] - 6) return "bottom" + return ["right", "left", "top", "bottom"][index % 4] + } getTradeLocalPoint(lng, lat, localZ = 0) { - const [x, y] = this.geoProjection([lng, lat]) - return new Vector3(x, -y, this.depth + localZ) + const nationalFlow = Boolean(this.currentTownRanking?.nationalFlow) + const [x, y] = nationalFlow ? this.tradeGeoProjection([lng, lat]) : this.geoProjection([lng, lat]) + const baseDepth = nationalFlow ? this.tradeNationalDepth : this.depth + return new Vector3(x, -y, baseDepth + localZ) } getTradeFlowPoint(row, localZ = 0) { return this.getTradeLocalPoint(row.lng, row.lat, localZ) } getLocalTradeFlowCurve(row, source, index) { - const start = this.getTradeFlowPoint(row, 0.76) - const end = this.getTradeLocalPoint(source.lng, source.lat, 0.86) + const nationalFlow = Boolean(this.currentTownRanking?.nationalFlow) + const sourcePoint = this.getTradeLocalPoint(source.lng, source.lat, 0.86) + const destinationPoint = this.getTradeFlowPoint(row, 0.76) + const start = nationalFlow ? sourcePoint : destinationPoint + const end = nationalFlow ? destinationPoint : sourcePoint const middle = start.clone().lerp(end, 0.5) const distance = start.distanceTo(end) middle.z += Math.max(0.32, Math.min(0.82, distance * 0.22 + index * 0.012)) @@ -4046,12 +4072,13 @@ export class World extends Mini3d { return } if (isTradeFlowRanking(ranking)) { - this.setTradeNationalMapVisible(false) + const nationalFlow = Boolean(ranking?.nationalFlow) + this.setTradeNationalMapVisible(nationalFlow) this.updateTownNameLabelStats(null) this.setTownNameLabelsVisible(false) this.hideVillageRankingLabels() this.clearInfoPointStats() - if (this.mapGroup) this.mapGroup.visible = true + if (this.mapGroup) this.mapGroup.visible = !nationalFlow if (this.labelGroup) this.labelGroup.visible = false if (this.flyLineGroup) this.flyLineGroup.visible = false if (this.flyLineFocusGroup) this.flyLineFocusGroup.visible = false diff --git a/src/views/forestGrassWet/map.vue b/src/views/forestGrassWet/map.vue index 7493247..23e6b36 100644 --- a/src/views/forestGrassWet/map.vue +++ b/src/views/forestGrassWet/map.vue @@ -378,6 +378,7 @@ function getMapRankingSignature(ranking) { ranking.showMapLabels ?? "", ranking.hideTownLabelStats ?? "", ranking.showFlowLines ?? "", + ranking.nationalFlow ?? "", ranking.onlyRankedTownLabels ?? "", ranking.showMissingTownStats ?? "", ranking.rows?.length || 0, diff --git a/src/views/grassLivestockBalance/BalanceAnalysisWorkbench.vue b/src/views/grassLivestockBalance/BalanceAnalysisWorkbench.vue index 48d4611..c884fb6 100644 --- a/src/views/grassLivestockBalance/BalanceAnalysisWorkbench.vue +++ b/src/views/grassLivestockBalance/BalanceAnalysisWorkbench.vue @@ -186,7 +186,10 @@
    -
    超载率{{ signedPercent(capacity.overloadRate) }}
    +
    + 草畜平衡超载率 + {{ signedPercent(capacity.overloadRate) }} +
    {{ childStatusLabel }}{{ childStatusValue }}
    @@ -1160,7 +1163,7 @@ function signedPercent(value) { .verdict-evidence { display: grid; - grid-template-columns: 1fr 1fr; + grid-template-columns: 1.35fr .65fr; gap: 8px; padding: 0 12px; } @@ -1189,6 +1192,56 @@ function signedPercent(value) { font-size: 14px; } +.verdict-evidence .overload-rate-card { + position: relative; + overflow: hidden; + padding: 15px 8px 13px; + border-color: rgba(229, 190, 73, .5); + background: linear-gradient(135deg, rgba(110, 76, 8, .28), rgba(38, 41, 25, .2)); + box-shadow: inset 0 0 20px rgba(225, 184, 62, .08), 0 0 16px rgba(225, 184, 62, .08); +} + +.verdict-evidence .overload-rate-card::before { + content: ""; + position: absolute; + top: 0; + left: 18%; + right: 18%; + height: 2px; + background: linear-gradient(90deg, transparent, #e5c456, transparent); + box-shadow: 0 0 10px rgba(229, 196, 86, .5); +} + +.verdict-evidence .overload-rate-card span { + color: rgba(240, 217, 143, .72); + font-size: 10px; + letter-spacing: 1px; +} + +.verdict-evidence .overload-rate-card strong { + margin-top: 7px; + color: #f3cf5b; + font-size: 30px; + font-weight: 700; + line-height: 1; + text-shadow: 0 0 14px rgba(238, 196, 70, .34); +} + +.verdict-evidence .overload-rate-card.is-surplus { + border-color: rgba(92, 218, 194, .42); + background: linear-gradient(135deg, rgba(18, 99, 87, .24), rgba(15, 48, 47, .18)); +} + +.verdict-evidence .overload-rate-card.is-surplus::before { + background: linear-gradient(90deg, transparent, #6ee0ca, transparent); + box-shadow: 0 0 10px rgba(110, 224, 202, .45); +} + +.verdict-evidence .overload-rate-card.is-surplus strong { + color: #71e2ce; + text-shadow: 0 0 14px rgba(99, 222, 200, .3); +} + .verdict-advice { margin: 16px 12px 0; padding: 14px; diff --git a/src/views/home/index.vue b/src/views/home/index.vue index d4f9898..7bd3ac0 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -34,6 +34,34 @@ />
    +
    +
    + + 实时出栏 +
    +
    +
    +
    + + {{ formatHomeSlaughterTickerTime(row.issueTime) }} + {{ row.originTownName }} + {{ row.animalTypeName }} {{ formatNumber(row.animalQuantity) }}头 + → + {{ row.destinationProvinceName }} + +
    +
    +
    +
    +
    { })) }) const homeHeaderStats = computed(() => homeHeaderStatsRows) +const homeSlaughterTickerRows = computed(() => homeSlaughterRealtimeRecords.value.slice(0, 12)) +const homeSlaughterTickerDuration = computed(() => Math.max(28, homeSlaughterTickerRows.value.length * 5.2)) const homePastureProductivityPanel = computed(() => { const rows = buildHomePastureProductivityRows() if (!rows.length) return null @@ -860,6 +895,7 @@ onMounted(() => { document.addEventListener("click", handleHomeVideoDocumentClickCapture, true) emitHomeTopStats() void loadHomeBusinessData() + startHomeSlaughterRealtime() initHomeMap() }) @@ -874,6 +910,7 @@ onBeforeUnmount(() => { clearHomeVideoFitFrames() stopVideoPlayer() clearHomeMonitoringReload() + stopHomeSlaughterRealtime() cancelHomeIdleWork() stopChartMotion() homeChartRefs.clear() @@ -915,6 +952,7 @@ watch( restoreHomeMapOnActivate() startChartMotion() void loadHomeBusinessData() + startHomeSlaughterRealtime() if (!homeIdleWorkLoaded) scheduleHomeIdleWork() else scheduleHomeMonitoringReload(0) } else { @@ -923,6 +961,7 @@ watch( pauseThreeHomeMap() cancelHomeIdleWork() stopChartMotion() + stopHomeSlaughterRealtime() stopVideoPlayer({ resetError: true }) closeHomeVideoModal() closeHomeBalanceModal() @@ -1201,6 +1240,49 @@ function emitHomeTopStats() { }) } +function normalizeHomeSlaughterRealtimeRows(rows = []) { + if (!Array.isArray(rows)) return [] + return rows.map((item, index) => ({ + recordKey: item.recordKey || item.record_key || `home-slaughter-${index}`, + issueTime: item.issueTime || item.issue_time || "", + originTownName: item.originTownName || item.origin_town_name || "未标注", + animalTypeName: item.animalTypeName || item.animal_type_name || "未标注", + animalQuantity: Number(item.animalQuantity ?? item.animal_quantity ?? 0), + destinationProvinceName: item.destinationProvinceName || item.destination_province_name || "未标注", + })) +} + +async function loadHomeSlaughterRealtime() { + if (homeSlaughterRealtimeLoading || destroyed || !props.active) return + homeSlaughterRealtimeLoading = true + try { + const data = await getYakSlaughterLedger({ page: 1, pageSize: 12 }) + if (destroyed || !props.active) return + homeSlaughterRealtimeRecords.value = normalizeHomeSlaughterRealtimeRows(data?.rows) + } catch (error) { + if (!destroyed && props.active && !homeSlaughterRealtimeRecords.value.length) { + homeSlaughterRealtimeRecords.value = [] + } + } finally { + homeSlaughterRealtimeLoading = false + } +} + +function startHomeSlaughterRealtime() { + stopHomeSlaughterRealtime() + if (destroyed || !props.active) return + void loadHomeSlaughterRealtime() + homeSlaughterRealtimeTimer = window.setInterval(() => { + void loadHomeSlaughterRealtime() + }, HOME_SLAUGHTER_REFRESH_INTERVAL_MS) +} + +function stopHomeSlaughterRealtime() { + if (!homeSlaughterRealtimeTimer) return + window.clearInterval(homeSlaughterRealtimeTimer) + homeSlaughterRealtimeTimer = null +} + function scheduleHomeMonitoringReload(delay = HOME_MONITORING_REFRESH_INTERVAL_MS) { clearHomeMonitoringReload() if (destroyed || !props.active) return @@ -2711,6 +2793,14 @@ function formatNumber(value) { }) } +function formatHomeSlaughterTickerTime(value) { + const text = String(value || "").trim() + if (!text) return "--" + const match = text.match(/^\d{4}-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}))?/) + if (!match) return text + return `${match[1]}-${match[2]}${match[3] ? ` ${match[3]}:${match[4]}` : ""}` +} + function formatCompact(value) { const number = Number(value) if (!Number.isFinite(number)) return "--" @@ -3137,6 +3227,143 @@ function handleOutsideFeaturePointerDown(event) { } } +.home-slaughter-ticker { + position: absolute; + top: 190px; + left: 50%; + z-index: 9; + display: grid; + grid-template-columns: 112px minmax(0, 1fr); + width: 760px; + height: 34px; + overflow: hidden; + border: 1px solid rgba(48, 220, 255, 0.22); + background: + linear-gradient(90deg, rgba(3, 23, 37, 0.94), rgba(5, 38, 50, 0.78), rgba(3, 23, 37, 0.94)), + rgba(3, 18, 31, 0.82); + box-shadow: + 0 0 14px rgba(48, 220, 255, 0.1), + inset 0 0 0 1px rgba(255, 255, 255, 0.03); + transform: translateX(-50%); + pointer-events: none; + box-sizing: border-box; + + &::before, + &::after { + position: absolute; + top: 0; + z-index: 2; + width: 34px; + height: 100%; + content: ""; + } + + &::before { + left: 111px; + background: linear-gradient(90deg, rgba(4, 28, 43, 0.94), transparent); + } + + &::after { + right: 0; + background: linear-gradient(270deg, rgba(4, 28, 43, 0.94), transparent); + } +} + +.home-slaughter-ticker-status { + position: relative; + z-index: 3; + display: flex; + align-items: center; + gap: 6px; + padding: 0 9px 0 10px; + border-right: 1px solid rgba(48, 220, 255, 0.2); + background: rgba(4, 30, 44, 0.94); + box-sizing: border-box; + + > i { + width: 7px; + height: 7px; + border-radius: 50%; + background: #30dcff; + box-shadow: 0 0 10px rgba(48, 220, 255, 0.9); + animation: home-slaughter-live-pulse 1.4s ease-in-out infinite; + } + + strong { + color: #ffffff; + font-size: 12px; + font-weight: 700; + line-height: 16px; + white-space: nowrap; + } +} + +.home-slaughter-ticker-viewport { + min-width: 0; + overflow: hidden; +} + +.home-slaughter-ticker-track { + display: flex; + width: max-content; + height: 100%; + animation: home-slaughter-marquee var(--ticker-duration, 36s) linear infinite; + will-change: transform; +} + +.home-slaughter-ticker-group { + display: flex; + flex: none; + align-items: center; + gap: 34px; + padding-right: 34px; +} + +.home-slaughter-ticker-item { + display: inline-flex; + align-items: center; + gap: 6px; + color: rgba(255, 255, 255, 0.8); + font-size: 10px; + line-height: 32px; + white-space: nowrap; + + b { + color: rgba(139, 247, 255, 0.78); + font-family: var(--screen-font-number, D-DIN, Arial, sans-serif); + font-weight: 500; + } + + em { + color: #ffffff; + font-style: normal; + } + + strong { + color: #ffd76c; + font-weight: 700; + } + + > i { + color: #30dcff; + font-style: normal; + } + + > span { + color: #8bf7ff; + } +} + +@keyframes home-slaughter-marquee { + from { transform: translate3d(0, 0, 0); } + to { transform: translate3d(-50%, 0, 0); } +} + +@keyframes home-slaughter-live-pulse { + 0%, 100% { opacity: 0.55; transform: scale(0.88); } + 50% { opacity: 1; transform: scale(1.16); } +} + .home-bottom-switcher { position: absolute; left: 50%; diff --git a/src/views/platform/index.vue b/src/views/platform/index.vue index f76154f..46022ba 100644 --- a/src/views/platform/index.vue +++ b/src/views/platform/index.vue @@ -554,7 +554,7 @@ function resolvePlatformModuleKey(key) { function resolveYakViewKey(key) { const value = Array.isArray(key) ? key[0] : key - return ["structure", "forecast", "epidemic", "trade"].includes(value) ? value : "structure" + return ["structure", "forecast", "epidemic", "trade", "slaughter"].includes(value) ? value : "structure" } function resolveEcologyViewKey(key) { diff --git a/src/views/wisdomManagement/index.vue b/src/views/wisdomManagement/index.vue index 6cc8ce9..e987339 100644 --- a/src/views/wisdomManagement/index.vue +++ b/src/views/wisdomManagement/index.vue @@ -104,7 +104,7 @@
    - {{ artifact.status === "collecting" ? "正在汇总业务数据" : "正在生成专题分析页面" }} + {{ artifact.status === "collecting" ? "正在读取业务上下文" : "正在生成专题分析页面" }}
    @@ -216,7 +216,6 @@